@polycode-projects/the-mechanical-code-talker 5.0.22 → 5.0.24
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 -3
- 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
|
@@ -49,6 +49,10 @@ import { runAdventureAutoplayTick, exposedFacts } from "../../services/adventure
|
|
|
49
49
|
import { parseWorldEditorText, planWorldEditorSync } from "../../services/adventure-editor.mjs";
|
|
50
50
|
import { resolveSpriteForClass, SPRITE_REGISTRY, classAncestorChain } from "../../domain/sprite-map.mjs";
|
|
51
51
|
import { resolveSpriteAsset } from "../../domain/sprite-templates.mjs";
|
|
52
|
+
import {
|
|
53
|
+
isMovingSwatchLabel, movingCounterpartLabel, nextFocusMode, frameAtTick,
|
|
54
|
+
focusModeFrames, oscillateWalkStep, walkFrameLabelCandidates,
|
|
55
|
+
} from "../../domain/sprite-animation.mjs";
|
|
52
56
|
import { relatedForTerm } from "../../domain/skos-view.mjs";
|
|
53
57
|
import { directedGridLayout, roomGraphSvg } from "../../services/viz-room-graph.mjs";
|
|
54
58
|
import { openPersistedStore } from "./idb-persist.mjs";
|
|
@@ -257,5 +261,12 @@ publishTmctSurface({
|
|
|
257
261
|
worldDigestRows, roomAffordances, foldWorldState, exposedFacts,
|
|
258
262
|
relatedForTerm, classAncestorChain, openPersistedStore,
|
|
259
263
|
directedGridLayout, roomGraphSvg,
|
|
264
|
+
// The sprite pages' shared animation state machine
|
|
265
|
+
// (sprite-animation.mjs), published so this page can drive the same
|
|
266
|
+
// hover flip / turning / walk behaviour over the sprites it resolves.
|
|
267
|
+
spriteAnimation: {
|
|
268
|
+
isMovingSwatchLabel, movingCounterpartLabel, nextFocusMode, frameAtTick,
|
|
269
|
+
focusModeFrames, oscillateWalkStep, walkFrameLabelCandidates,
|
|
270
|
+
},
|
|
260
271
|
},
|
|
261
272
|
});
|