1
0
Fork 0
Commit Graph

333 Commits

Author SHA1 Message Date
Pabloader 6b3c0c77a1 Namespace variables by component 2026-04-30 13:08:00 +00:00
Pabloader 43da1388e4 Factions 2026-04-30 11:24:45 +00:00
Pabloader cc8f4a562f Aray - record for inventory & equipment 2026-04-30 10:55:24 +00:00
Pabloader 561ffb1d7e Add stacking rules to effect 2026-04-29 18:12:40 +00:00
Pabloader d7a3830740 Remove async actions 2026-04-29 17:54:59 +00:00
Pabloader 6d5cd0b2cc Tests 2026-04-29 16:01:52 +00:00
Pabloader 693b078144 Subscribe quests 2026-04-29 13:27:39 +00:00
Pabloader 30531bcd52 XP 2026-04-29 12:24:29 +00:00
Pabloader cb2d1a099f Effects 2026-04-29 12:24:20 +00:00
Pabloader f766aee071 Equipment 2026-04-29 12:24:11 +00:00
Pabloader 26e1fb2675 Cooldown 2026-04-29 12:24:00 +00:00
Pabloader c2e9a597fa Infinite inventory 2026-04-29 12:23:49 +00:00
Pabloader 8b93a732a7 Add linter 2026-04-29 09:28:17 +00:00
Pabloader b866e0a5de RPG engine improvements: caching, cloning, versioning, query overloads
- Condition parse cache: each unique string parsed once (Map<string, ParsedCondition>)
- executeAction: throw on missing type/malformed action/missing action; warn-only on
  destroyed entity (legitimate mid-flight case)
- World.query() overloads for 2 and 3 component types: query(A, B) → [Entity, A, B]
- World.once()/off() consistency: #onceWrappers map lets off(event, original) correctly
  remove handlers registered via once()
- World.cloneEntity(source, newId?): deep-clones all components via structuredClone,
  onAdd() fires normally on the new entity
- isEntityContext() type guard alongside isEvalContext()
- Inventory.getVariables() cache: invalidated on add()/remove()
- QuestLog.getVariables() cache: invalidated on any status transition or _advance()
- QuestLog.entries() explicit Generator return type
- Variables JSDoc: clarifies when to use Variables vs typed Component<TState>
- @component({ name?, version? }) object overload in registry
- registerMigration(name, from, to, fn): chained migrations run automatically on
  deserialize when saved version < current version
- Serialization wire format: ComponentData carries version, WorldData carries
  schemaVersion; mismatched schemaVersion throws a descriptive error

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 09:28:05 +00:00
Pabloader 066271205a QoL Improvements for actions and context 2026-04-29 08:16:18 +00:00
Pabloader 9bec7701e0 Serialization 2026-04-29 07:28:16 +00:00
Pabloader ad1da396e6 Add warning to variables 2026-04-28 21:47:40 +00:00
Pabloader 5dec0901ac Pass context to all actions 2026-04-28 21:46:28 +00:00
Pabloader f6b3b5b66e Refactor the inventory 2026-04-28 21:06:01 +00:00
Pabloader b7bba137a1 Reworked inventory 2026-04-28 20:24:12 +00:00
Pabloader 9a44605469 DRY questLog 2026-04-28 19:58:43 +00:00
Pabloader b75dc078f9 Fixes and improvements 2026-04-28 19:15:47 +00:00
Pabloader 89651f6674 ECS rewrite 2026-04-28 18:52:02 +00:00
Pabloader 0ad5c60cdd Fix bugs 2026-04-28 14:46:23 +00:00
Pabloader 2d4a59f2b3 Rewrite types using typebox 2026-04-28 12:28:54 +00:00
Pabloader 87837754f6 Proper typechecking for decorators 2026-04-28 12:08:08 +00:00
Pabloader ab68a5ffc6 Decorators and components 2026-04-28 11:58:25 +00:00
Pabloader 6b6fd8970d Inventory slot ids can be either strings or numbers. 2026-04-27 13:55:18 +00:00
Pabloader 8c7969771d Inventory system 2026-04-27 13:33:10 +00:00
Pabloader 00fc43a564 QuestManager 2026-04-27 12:31:21 +00:00
Pabloader 89dbf9f8ff RPG Quest system 2026-04-27 12:25:09 +00:00
Pabloader ad327b17d7 Dialog coverage test 2026-04-26 14:08:32 +00:00
Pabloader 8fd0d317cf Dialogs engine 2026-04-24 16:53:18 +00:00
Pabloader 9c50b5d3e9 Limit images size, substitute variables in titles 2026-04-20 14:58:33 +00:00
Pabloader 3088675a39 Limit images size, substitute variables in titles 2026-04-20 14:57:31 +00:00
Pabloader f09fce3140 Async cleanup 2026-04-20 10:27:39 +00:00
Pabloader acf2527d7e Reload after importing 2026-04-16 15:44:24 +00:00
Pabloader d2d3ad42d8 Integrate backend into storywriter 2026-04-16 15:36:29 +00:00
Pabloader 6a7cfc0dc9 Get game name from VAR 2026-04-16 13:51:03 +00:00
Pabloader 1fea3e49d2 Hide title in menu 2026-04-16 12:44:10 +00:00
Pabloader 710e866de9 Convert dataurl to blob 2026-04-16 12:42:49 +00:00
Pabloader cc8f99084b Fix crash in settings, optimize models loading 2026-04-16 07:33:22 +00:00
Pabloader f4a8595dac Add sampler to image generation settings. 2026-04-15 08:14:47 +00:00
Pabloader a2684eda63 Chat tools 2026-04-14 20:43:46 +00:00
Pabloader 81959ad601 Image generator 2026-04-14 17:17:17 +00:00
Pabloader 5f83ca7cc2 Image model selection 2026-04-14 16:14:54 +00:00
Pabloader c2ad2cfae4 Check for models modality 2026-04-14 14:42:34 +00:00
Pabloader 93a40db640 Gen/uptame split 2026-04-14 12:14:47 +00:00
Pabloader 01888131b5 Import/export story 2026-04-14 06:45:17 +00:00
Pabloader 662b903bb4 Fix workers editing 2026-04-13 15:34:13 +00:00
Pabloader ecacc126f4 Sampling settings 2026-04-13 10:18:36 +00:00
Pabloader 0413c6a10a Maybe fixed contenteditable 2026-04-13 06:39:17 +00:00
Pabloader f81d8674c0 Refactor inputs 2026-04-12 18:11:07 +00:00
Pabloader 7f18a66a8b Refactored contenteditable to handle newlines correctly. 2026-04-12 17:56:41 +00:00
Pabloader 20485ba551 Fix content editable onKeyDown 2026-04-12 12:32:33 +00:00
Pabloader 2a711a6dea Add errors handling 2026-04-12 10:51:35 +00:00
Pabloader 52060c1170 Trim reasoning content 2026-04-12 08:54:44 +00:00
Pabloader 9d50b7694b Worker cards design 2026-04-11 14:36:53 +00:00
Pabloader ea55a8fdf4 Format number function 2026-04-11 14:36:32 +00:00
Pabloader c939ab13c5 UI fixes 2026-04-10 16:56:48 +00:00
Pabloader eaa79c6c49 Continue mode for chat 2026-04-10 16:01:21 +00:00
Pabloader 7148254b35 Fix time formatting 2026-04-10 14:50:00 +00:00
Pabloader 87f582590b Redesign index 2026-04-10 14:30:43 +00:00
Pabloader e85ecd2bcf Add styles based on app flag 2026-04-10 13:48:40 +00:00
Pabloader a307d4d3eb Improve local builds 2026-04-10 13:34:45 +00:00
Pabloader 2b7a73e818 Styling & mobile fixes 2026-04-10 13:03:40 +00:00
Pabloader 1b366f8fc5 Add css hot reload 2026-04-10 12:43:48 +00:00
Pabloader b93424fece Fix workers management modal 2026-04-10 11:19:37 +00:00
Pabloader 7f2987041e horde -> hordeseer 2026-04-10 09:38:23 +00:00
Pabloader 663f102cd1 UI refactor 2026-04-10 09:31:22 +00:00
Pabloader 3f675966a6 Extract modal to ui kit 2026-04-10 09:05:11 +00:00
Pabloader 810035547c ui kit 2026-04-10 08:43:14 +00:00
Pabloader 23bc808cca Styling 2026-04-09 19:49:44 +00:00
Pabloader 6be67d71f8 Horde ported 2026-04-09 19:12:49 +00:00
Pabloader cd1177f1d0 Fix edges not clickable 2026-04-09 14:30:32 +00:00
Pabloader f7dd0176c7 Send icons 2026-04-09 14:26:23 +00:00
Pabloader 3074d6dd8d Swipe Navigation 2026-04-09 14:12:44 +00:00
Pabloader 3d94a298b8 Full tab chat on mobile 2026-04-09 14:03:41 +00:00
Pabloader ffaa137d08 Redesign chat input area 2026-04-09 13:46:30 +00:00
Pabloader 5b067b8a2c Fix styling on mobile 2026-04-09 13:34:48 +00:00
Pabloader 74fbb5bee2 Scroll chat on visibility change 2026-04-09 11:03:13 +00:00
Pabloader ddc1d00bc3 Config.yml 2026-04-09 11:01:02 +00:00
Pabloader 37d48a4e8b Remove clear chat button 2026-04-08 16:01:21 +00:00
Pabloader 602abb1175 Refactor the api to be compatible with openrouter 2026-04-08 15:17:11 +00:00
Pabloader 36099bc078 Add scratchpad to chat context 2026-04-08 14:04:49 +00:00
Pabloader 67f70f236d Keep all required editors mounted 2026-04-08 13:54:01 +00:00
Pabloader e28835846b Mobile menu 2026-04-08 10:51:38 +00:00
Pabloader 7eb8e5b870 Models filter 2026-04-08 10:00:48 +00:00
Pabloader ae0d232331 Show usernames in chat 2026-04-08 09:47:59 +00:00
Pabloader ed83c9a0b8 Continue prompt in the settings 2026-04-08 09:22:19 +00:00
Pabloader 715368c6ec Chat prompt insettings 2026-04-08 09:17:13 +00:00
Pabloader 371f84571a User config 2026-04-08 08:37:26 +00:00
Pabloader 6f100cac97 Refactor settings 2026-04-08 08:05:31 +00:00
Pabloader d9dac5c97f Settings refactor 2026-04-08 07:59:40 +00:00
Pabloader 446cda6502 Regen 2026-04-08 07:39:57 +00:00
Pabloader f685118da0 Add usernames to chat messages 2026-04-07 19:41:22 +00:00
Pabloader 0f326ac6ea Fix messages regen 2026-04-07 18:35:29 +00:00
Pabloader 12214dd2df Increase chat font size 2026-04-07 15:15:06 +00:00
Pabloader 24165f0abd Duplicate first message 2026-04-07 11:40:02 +00:00
Pabloader 21ad47a67b Chat management 2026-04-07 11:32:41 +00:00