@polycode-projects/the-mechanical-code-talker 5.0.22 → 5.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/tmct.mjs +20 -5
- package/package.json +1 -1
- package/src/domain/cli-verbs.mjs +1 -0
- package/src/domain/router/drive.mjs +45 -4
- package/src/domain/router/recognize.mjs +0 -0
- package/src/domain/scene-compose.mjs +54 -16
- package/src/domain/scene-random.mjs +104 -0
- package/src/domain/sprite-animation.mjs +102 -0
- package/src/services/adventure-autoplay.mjs +40 -2
- package/src/services/adventure.mjs +120 -5
- package/src/services/chat-session.mjs +5 -1
- package/src/services/chat.mjs +76 -0
- package/src/services/sprite-catalog-viz.mjs +408 -184
- package/src/surfaces/web/adventure-browser-entry.mjs +11 -0
- package/src/surfaces/web/memory-ask-browser.bundle.js +119 -119
- package/src/surfaces/web/sprites-browser-entry.mjs +17 -2
|
@@ -29,7 +29,12 @@
|
|
|
29
29
|
// published `ask` route both call it first, mirroring spider-fly's exact
|
|
30
30
|
// wiring points.
|
|
31
31
|
import { createInMemoryStore, appendFacts, normFactTerm, loadMemory, readFactRows } from "../../adapters/memory/core.mjs";
|
|
32
|
-
import { extractSceneItems } from "../../domain/scene-compose.mjs";
|
|
32
|
+
import { extractSceneItems, splitSceneBackdrop } from "../../domain/scene-compose.mjs";
|
|
33
|
+
import { randomSceneSentence, sceneVocabulary } from "../../domain/scene-random.mjs";
|
|
34
|
+
import {
|
|
35
|
+
isMovingSwatchLabel, movingCounterpartLabel, nextFocusMode, frameAtTick,
|
|
36
|
+
focusModeFrames, oscillateWalkStep, walkFrameLabelCandidates,
|
|
37
|
+
} from "../../domain/sprite-animation.mjs";
|
|
33
38
|
import { parseEntities } from "../../domain/codegraph.mjs";
|
|
34
39
|
import { loadLexicon } from "../../domain/grammar/lexicon.mjs";
|
|
35
40
|
import { SPRITE_FACTS_PROVENANCE, spriteFactGraphPayload } from "../../domain/sprite-facts.mjs";
|
|
@@ -91,5 +96,15 @@ publishTmctSurface({
|
|
|
91
96
|
return graphAsk(request, options, session);
|
|
92
97
|
},
|
|
93
98
|
plan: enginePlan,
|
|
94
|
-
page: {
|
|
99
|
+
page: {
|
|
100
|
+
registerWinkModel, normFactTerm, extractSceneItems, splitSceneBackdrop,
|
|
101
|
+
randomSceneSentence, sceneVocabulary,
|
|
102
|
+
// The shared animation state machine (sprite-animation.mjs) — the same
|
|
103
|
+
// functions the page splices as text, published here for any caller that
|
|
104
|
+
// reaches the machinery through the bundle instead.
|
|
105
|
+
spriteAnimation: {
|
|
106
|
+
isMovingSwatchLabel, movingCounterpartLabel, nextFocusMode, frameAtTick,
|
|
107
|
+
focusModeFrames, oscillateWalkStep, walkFrameLabelCandidates,
|
|
108
|
+
},
|
|
109
|
+
},
|
|
95
110
|
});
|