cotutor 0.2.0 → 0.4.0
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/LICENSE +249 -21
- package/NOTICE +42 -0
- package/README.md +115 -20
- package/avatars/chinese.webp +0 -0
- package/avatars/english.webp +0 -0
- package/avatars/math.webp +0 -0
- package/bin/cotutor.js +15 -5
- package/cards/canvas/card.css +8 -0
- package/cards/canvas/card.md +68 -0
- package/cards/choice/card.css +18 -0
- package/cards/choice/card.md +55 -0
- package/cards/code/card.css +5 -0
- package/cards/code/card.md +46 -0
- package/cards/dictation/card.css +10 -0
- package/cards/dictation/card.md +97 -0
- package/cards/image/card.css +10 -0
- package/cards/image/card.md +52 -0
- package/cards/lecture/card.css +9 -0
- package/cards/lecture/card.md +69 -0
- package/cards/paint/card.css +20 -0
- package/cards/paint/card.md +77 -0
- package/cards/photo/card.css +22 -0
- package/cards/photo/card.md +61 -0
- package/cards/read/card.css +6 -0
- package/cards/read/card.md +51 -0
- package/cards/text/card.css +3 -0
- package/cards/text/card.md +69 -0
- package/cards/tianzige/card.css +17 -0
- package/cards/tianzige/card.md +78 -0
- package/cards/tutor/card.css +79 -0
- package/cards/tutor/card.md +149 -0
- package/cards/word/card.css +24 -0
- package/cards/word/card.md +91 -0
- package/cards//346/235/277/344/271/246/346/200/216/344/271/210/345/206/231.md +159 -0
- package/dist/app/activity-eval-rules.d.ts +62 -0
- package/dist/app/activity-eval-rules.js +276 -0
- package/dist/app/activity-eval.d.ts +65 -0
- package/dist/app/activity-eval.js +159 -0
- package/dist/app/build.d.ts +11 -0
- package/dist/app/build.js +45 -0
- package/dist/app/cli/activities.d.ts +70 -0
- package/dist/app/cli/activities.js +196 -0
- package/dist/app/cli/cert.d.ts +12 -0
- package/dist/app/cli/cert.js +49 -0
- package/dist/app/cli/chalk/bake.d.ts +10 -0
- package/dist/app/cli/chalk/bake.js +58 -0
- package/dist/app/cli/chalk/browser.d.ts +16 -0
- package/dist/app/cli/chalk/browser.js +157 -0
- package/dist/app/cli/chalk/build.d.ts +14 -0
- package/dist/app/cli/chalk/build.js +100 -0
- package/dist/app/cli/chalk/dub.d.ts +51 -0
- package/dist/app/cli/chalk/dub.js +106 -0
- package/dist/app/cli/chalk/load-scene.d.ts +34 -0
- package/dist/app/cli/chalk/load-scene.js +117 -0
- package/dist/app/cli/chalk/main.d.ts +7 -0
- package/dist/app/cli/chalk/main.js +199 -0
- package/dist/app/cli/chalk/serve.d.ts +4 -0
- package/dist/app/cli/chalk/serve.js +28 -0
- package/dist/app/cli/chalk/snap.d.ts +65 -0
- package/dist/app/cli/chalk/snap.js +103 -0
- package/dist/app/cli/chalk/typecheck.d.ts +7 -0
- package/dist/app/cli/chalk/typecheck.js +51 -0
- package/dist/app/cli/doctor.d.ts +24 -0
- package/dist/app/cli/doctor.js +553 -0
- package/dist/app/cli/firewall.d.ts +24 -0
- package/dist/app/cli/firewall.js +79 -0
- package/dist/app/cli/grades.d.ts +14 -0
- package/dist/app/cli/grades.js +44 -0
- package/dist/{cli → app/cli}/init.d.ts +3 -1
- package/dist/app/cli/init.js +158 -0
- package/dist/app/cli/main.js +1038 -0
- package/dist/app/cli/migrate.d.ts +49 -0
- package/dist/app/cli/migrate.js +195 -0
- package/dist/app/cli/port-holder.d.ts +16 -0
- package/dist/app/cli/port-holder.js +34 -0
- package/dist/app/cli/port.d.ts +37 -0
- package/dist/app/cli/port.js +116 -0
- package/dist/app/cli/sandbox.d.ts +25 -0
- package/dist/app/cli/sandbox.js +166 -0
- package/dist/app/cli/serve-log.d.ts +13 -0
- package/dist/app/cli/serve-log.js +90 -0
- package/dist/app/cli/serve.d.ts +51 -0
- package/dist/app/cli/serve.js +168 -0
- package/dist/app/cli/service-windows.d.ts +50 -0
- package/dist/app/cli/service-windows.js +117 -0
- package/dist/app/cli/service.d.ts +138 -0
- package/dist/app/cli/service.js +429 -0
- package/dist/app/cli/shipped.d.ts +30 -0
- package/dist/app/cli/shipped.js +47 -0
- package/dist/app/cli/skeleton.d.ts +38 -0
- package/dist/app/cli/skeleton.js +161 -0
- package/dist/app/cli/skills.d.ts +59 -0
- package/dist/app/cli/skills.js +199 -0
- package/dist/app/cli/themes.d.ts +52 -0
- package/dist/app/cli/themes.js +148 -0
- package/dist/app/cli/tray-icons.d.ts +11 -0
- package/dist/app/cli/tray-icons.js +87 -0
- package/dist/app/cli/tray-ids.d.ts +6 -0
- package/dist/app/cli/tray-ids.js +6 -0
- package/dist/app/cli/tray-mac.d.ts +8 -0
- package/dist/app/cli/tray-mac.js +140 -0
- package/dist/app/cli/tray-run.d.ts +1 -0
- package/dist/app/cli/tray-run.js +33 -0
- package/dist/app/cli/tray-windows.d.ts +5 -0
- package/dist/app/cli/tray-windows.js +166 -0
- package/dist/app/cli/tray.d.ts +205 -0
- package/dist/app/cli/tray.js +618 -0
- package/dist/{cli → app/cli}/tutors.d.ts +15 -26
- package/dist/{cli → app/cli}/tutors.js +86 -110
- package/dist/app/cli/usage.d.ts +2 -0
- package/dist/app/cli/usage.js +35 -0
- package/dist/app/dictation/recognize.d.ts +18 -0
- package/dist/app/dictation/recognize.js +6 -0
- package/dist/app/dictation/route.d.ts +52 -0
- package/dist/app/dictation/route.js +511 -0
- package/dist/app/diff.d.ts +11 -0
- package/dist/app/diff.js +71 -0
- package/dist/app/http/access.d.ts +62 -0
- package/dist/app/http/access.js +180 -0
- package/dist/app/http/app.d.ts +241 -0
- package/dist/app/http/app.js +1159 -0
- package/dist/app/http/avatars.d.ts +17 -0
- package/dist/app/http/avatars.js +35 -0
- package/dist/app/http/dev-activities.d.ts +115 -0
- package/dist/app/http/dev-activities.js +193 -0
- package/dist/app/http/dev-overview.d.ts +108 -0
- package/dist/app/http/dev-overview.js +209 -0
- package/dist/app/http/dev-tutor-files.d.ts +80 -0
- package/dist/app/http/dev-tutor-files.js +151 -0
- package/dist/app/http/parent-home.d.ts +51 -0
- package/dist/app/http/parent-home.js +266 -0
- package/dist/app/http/parent-look.d.ts +2 -0
- package/dist/app/http/parent-look.js +151 -0
- package/dist/app/http/range.d.ts +9 -0
- package/dist/app/http/range.js +19 -0
- package/dist/app/http/raw-view.d.ts +117 -0
- package/dist/app/http/raw-view.js +149 -0
- package/dist/app/http/send-file.d.ts +7 -0
- package/dist/app/http/send-file.js +29 -0
- package/dist/{server → app/http}/stage.d.ts +9 -0
- package/dist/{server → app/http}/stage.js +34 -6
- package/dist/app/http/theme.d.ts +13 -0
- package/dist/app/http/theme.js +41 -0
- package/dist/app/http/voice-preview.d.ts +4 -0
- package/dist/app/http/voice-preview.js +34 -0
- package/dist/app/machine/bailian.d.ts +26 -0
- package/dist/app/machine/bailian.js +87 -0
- package/dist/app/mock/mock-live.d.ts +16 -0
- package/dist/app/mock/mock-live.js +140 -0
- package/dist/{server → app/mock}/mock.d.ts +38 -5
- package/dist/app/mock/mock.js +1125 -0
- package/dist/app/replay.d.ts +94 -0
- package/dist/app/replay.js +170 -0
- package/dist/app/skills/analyze-doc.d.ts +3 -0
- package/dist/app/skills/analyze-doc.js +47 -0
- package/dist/app/skills/home-doc.d.ts +5 -0
- package/dist/app/skills/home-doc.js +112 -0
- package/dist/app/skills/tune-doc.d.ts +3 -0
- package/dist/app/skills/tune-doc.js +80 -0
- package/dist/app/talk/list.d.ts +11 -0
- package/dist/app/talk/list.js +9 -0
- package/dist/app/talk/route.d.ts +16 -0
- package/dist/app/talk/route.js +142 -0
- package/dist/app/workspace.d.ts +63 -0
- package/dist/{cli → app}/workspace.js +100 -52
- package/dist/app/ws/route.d.ts +31 -0
- package/dist/app/ws/route.js +33 -0
- package/dist/app/ws/ws.d.ts +31 -0
- package/dist/app/ws/ws.js +169 -0
- package/dist/board/canvas-chat.d.ts +97 -0
- package/dist/board/canvas-chat.js +175 -0
- package/dist/board/card-guards.d.ts +15 -0
- package/dist/board/card-guards.js +38 -0
- package/dist/board/cards/canvas.d.ts +41 -0
- package/dist/board/cards/canvas.js +83 -0
- package/dist/{cards → board/cards}/choice.js +0 -12
- package/dist/{cards → board/cards}/code.js +0 -3
- package/dist/board/cards/dictation.d.ts +42 -0
- package/dist/board/cards/dictation.js +105 -0
- package/dist/board/cards/docs.d.ts +47 -0
- package/dist/board/cards/docs.js +152 -0
- package/dist/{cards → board/cards}/image.js +1 -10
- package/dist/board/cards/index.d.ts +62 -0
- package/dist/board/cards/index.js +144 -0
- package/dist/{cards → board/cards}/kind.d.ts +10 -4
- package/dist/board/cards/kind.js +9 -0
- package/dist/board/cards/lecture.d.ts +26 -0
- package/dist/board/cards/lecture.js +62 -0
- package/dist/board/cards/paint.d.ts +38 -0
- package/dist/board/cards/paint.js +85 -0
- package/dist/board/cards/photo.d.ts +15 -0
- package/dist/board/cards/photo.js +29 -0
- package/dist/{cards → board/cards}/read.js +1 -10
- package/dist/board/cards/text.d.ts +20 -0
- package/dist/board/cards/text.js +59 -0
- package/dist/board/cards/tianzige.d.ts +16 -0
- package/dist/board/cards/tianzige.js +64 -0
- package/dist/board/cards/tutor.d.ts +72 -0
- package/dist/board/cards/tutor.js +134 -0
- package/dist/board/cards/word.d.ts +20 -0
- package/dist/board/cards/word.js +76 -0
- package/dist/board/lecture.d.ts +100 -0
- package/dist/board/lecture.js +204 -0
- package/dist/board/paper.d.ts +20 -0
- package/dist/board/paper.js +76 -0
- package/dist/board/parse.d.ts +118 -0
- package/dist/board/parse.js +324 -0
- package/dist/board/presentation.d.ts +289 -0
- package/dist/board/presentation.js +613 -0
- package/dist/board/sections.d.ts +16 -0
- package/dist/board/sections.js +130 -0
- package/dist/brain/api-tools.d.ts +8 -0
- package/dist/brain/api-tools.js +191 -0
- package/dist/brain/api.d.ts +57 -0
- package/dist/brain/api.js +394 -0
- package/dist/brain/index.d.ts +97 -0
- package/dist/brain/index.js +11 -0
- package/dist/brain/log.d.ts +5 -0
- package/dist/brain/log.js +22 -0
- package/dist/brain/runtime.d.ts +30 -0
- package/dist/brain/runtime.js +23 -0
- package/dist/brain/stream-json.d.ts +16 -0
- package/dist/brain/stream-json.js +82 -0
- package/dist/brain/stream.d.ts +20 -0
- package/dist/brain/stream.js +70 -0
- package/dist/brain/transcript.d.ts +45 -0
- package/dist/brain/transcript.js +132 -0
- package/dist/brain/types.d.ts +99 -0
- package/dist/brain/types.js +14 -0
- package/dist/chalk/actions.d.ts +37 -0
- package/dist/chalk/actions.js +69 -0
- package/dist/chalk/bundle.d.ts +26 -0
- package/dist/chalk/bundle.js +69 -0
- package/dist/chalk/check.d.ts +28 -0
- package/dist/chalk/check.js +291 -0
- package/dist/chalk/circle.d.ts +64 -0
- package/dist/chalk/circle.js +193 -0
- package/dist/chalk/clock.d.ts +84 -0
- package/dist/chalk/clock.js +84 -0
- package/dist/chalk/geometry.d.ts +44 -0
- package/dist/chalk/geometry.js +139 -0
- package/dist/chalk/glyphs/capitals.d.ts +12 -0
- package/dist/chalk/glyphs/capitals.js +264 -0
- package/dist/chalk/glyphs/index.d.ts +21 -0
- package/dist/chalk/glyphs/index.js +18 -0
- package/dist/chalk/glyphs/letters.d.ts +13 -0
- package/dist/chalk/glyphs/letters.js +280 -0
- package/dist/chalk/glyphs/metrics.d.ts +33 -0
- package/dist/chalk/glyphs/metrics.js +28 -0
- package/dist/chalk/glyphs/registry.d.ts +7 -0
- package/dist/chalk/glyphs/registry.js +8 -0
- package/dist/chalk/glyphs/sample.d.ts +32 -0
- package/dist/chalk/glyphs/sample.js +102 -0
- package/dist/chalk/glyphs/skeleton.d.ts +64 -0
- package/dist/chalk/glyphs/skeleton.js +126 -0
- package/dist/chalk/glyphs/types.d.ts +58 -0
- package/dist/chalk/glyphs/types.js +17 -0
- package/dist/chalk/index.d.ts +23 -0
- package/dist/chalk/index.js +15 -0
- package/dist/chalk/manifest.d.ts +41 -0
- package/dist/chalk/manifest.js +6 -0
- package/dist/chalk/paint.d.ts +180 -0
- package/dist/chalk/paint.js +210 -0
- package/dist/chalk/pointer.d.ts +8 -0
- package/dist/chalk/pointer.js +21 -0
- package/dist/chalk/prepare.d.ts +11 -0
- package/dist/chalk/prepare.js +15 -0
- package/dist/chalk/scene-schema.d.ts +199 -0
- package/dist/chalk/scene-schema.js +91 -0
- package/dist/chalk/seed.d.ts +3 -0
- package/dist/chalk/seed.js +10 -0
- package/dist/chalk/text-metrics.d.ts +8 -0
- package/dist/chalk/text-metrics.js +156 -0
- package/dist/chalk/timeline.d.ts +47 -0
- package/dist/chalk/timeline.js +84 -0
- package/dist/chalk/types.d.ts +150 -0
- package/dist/chalk/types.js +8 -0
- package/dist/lib/index.d.ts +14 -12
- package/dist/lib/index.js +14 -12
- package/dist/media/draw.d.ts +23 -0
- package/dist/media/draw.js +44 -0
- package/dist/media/mp3.d.ts +6 -0
- package/dist/media/mp3.js +58 -0
- package/dist/media/mp4.d.ts +1 -0
- package/dist/media/mp4.js +58 -0
- package/dist/media/tts-voices.d.ts +18 -0
- package/dist/media/tts-voices.js +606 -0
- package/dist/media/tts.d.ts +56 -0
- package/dist/media/tts.js +174 -0
- package/dist/media/vision.d.ts +25 -0
- package/dist/media/vision.js +71 -0
- package/dist/memory/commit.d.ts +67 -0
- package/dist/memory/commit.js +130 -0
- package/dist/memory/context.d.ts +86 -0
- package/dist/memory/context.js +97 -0
- package/dist/memory/diary.d.ts +84 -0
- package/dist/memory/diary.js +183 -0
- package/dist/memory/grade.d.ts +2 -0
- package/dist/memory/grade.js +7 -0
- package/dist/{lib → memory}/plan.d.ts +1 -1
- package/dist/{lib → memory}/plan.js +1 -1
- package/dist/memory/proposals.d.ts +11 -0
- package/dist/memory/proposals.js +43 -0
- package/dist/memory/retrieval.d.ts +44 -0
- package/dist/memory/retrieval.js +157 -0
- package/dist/{lib → memory}/timetable.d.ts +0 -3
- package/dist/{lib → memory}/timetable.js +0 -11
- package/dist/memory/vault-notes.d.ts +165 -0
- package/dist/memory/vault-notes.js +359 -0
- package/dist/memory/vault.d.ts +70 -0
- package/dist/memory/vault.js +169 -0
- package/dist/realtime/bailian.d.ts +120 -0
- package/dist/realtime/bailian.js +289 -0
- package/dist/realtime/cues.d.ts +51 -0
- package/dist/realtime/cues.js +94 -0
- package/dist/realtime/listen.d.ts +32 -0
- package/dist/realtime/listen.js +53 -0
- package/dist/realtime/preview.d.ts +23 -0
- package/dist/realtime/preview.js +38 -0
- package/dist/realtime/prompt.d.ts +8 -0
- package/dist/realtime/prompt.js +13 -0
- package/dist/realtime/voices.d.ts +21 -0
- package/dist/realtime/voices.js +71 -0
- package/dist/runtime/activities.d.ts +29 -0
- package/dist/runtime/activities.js +72 -0
- package/dist/runtime/activity-state.d.ts +22 -0
- package/dist/runtime/activity-state.js +83 -0
- package/dist/runtime/activity.d.ts +63 -0
- package/dist/runtime/activity.js +428 -0
- package/dist/runtime/agent-file.d.ts +24 -0
- package/dist/runtime/agent-file.js +59 -0
- package/dist/runtime/auto-bookkeep.d.ts +30 -0
- package/dist/runtime/auto-bookkeep.js +84 -0
- package/dist/{lib → runtime/context}/context-pack.d.ts +3 -3
- package/dist/runtime/context/context-pack.js +182 -0
- package/dist/runtime/context/thread-digest.d.ts +4 -0
- package/dist/runtime/context/thread-digest.js +35 -0
- package/dist/runtime/context/tutor-rules.d.ts +25 -0
- package/dist/runtime/context/tutor-rules.js +47 -0
- package/dist/runtime/delivery/delivery.d.ts +94 -0
- package/dist/runtime/delivery/delivery.js +145 -0
- package/dist/runtime/delivery/playback.d.ts +25 -0
- package/dist/runtime/delivery/playback.js +29 -0
- package/dist/runtime/delivery/player.d.ts +145 -0
- package/dist/runtime/delivery/player.js +221 -0
- package/dist/runtime/delivery/queue.d.ts +89 -0
- package/dist/runtime/delivery/queue.js +59 -0
- package/dist/runtime/home/edit.d.ts +39 -0
- package/dist/runtime/home/edit.js +132 -0
- package/dist/runtime/home/home.d.ts +191 -0
- package/dist/runtime/home/home.js +318 -0
- package/dist/runtime/home/store.d.ts +142 -0
- package/dist/runtime/home/store.js +455 -0
- package/dist/runtime/journal/conversation.d.ts +46 -0
- package/dist/runtime/journal/conversation.js +89 -0
- package/dist/runtime/journal/events.d.ts +27 -0
- package/dist/runtime/journal/events.js +136 -0
- package/dist/runtime/journal/kid-log.d.ts +105 -0
- package/dist/runtime/journal/kid-log.js +133 -0
- package/dist/runtime/journal/ledger.d.ts +17 -0
- package/dist/{lib → runtime/journal}/ledger.js +7 -40
- package/dist/runtime/journal/mix.d.ts +42 -0
- package/dist/runtime/journal/mix.js +129 -0
- package/dist/runtime/journal/mouth-index.d.ts +26 -0
- package/dist/runtime/journal/mouth-index.js +34 -0
- package/dist/runtime/journal/mouth.d.ts +54 -0
- package/dist/runtime/journal/mouth.js +102 -0
- package/dist/runtime/journal/recorder.d.ts +91 -0
- package/dist/runtime/journal/recorder.js +148 -0
- package/dist/runtime/journal/store.d.ts +123 -0
- package/dist/runtime/journal/store.js +316 -0
- package/dist/runtime/kid-input.d.ts +16 -0
- package/dist/runtime/kid-input.js +194 -0
- package/dist/runtime/kid-view.d.ts +124 -0
- package/dist/runtime/kid-view.js +157 -0
- package/dist/runtime/lecture.d.ts +86 -0
- package/dist/runtime/lecture.js +237 -0
- package/dist/runtime/live/call.d.ts +231 -0
- package/dist/runtime/live/call.js +1244 -0
- package/dist/runtime/live/turns.d.ts +48 -0
- package/dist/runtime/live/turns.js +102 -0
- package/dist/runtime/runner.d.ts +243 -0
- package/dist/runtime/runner.js +777 -0
- package/dist/runtime/talk-run.d.ts +21 -0
- package/dist/runtime/talk-run.js +34 -0
- package/dist/scenes/dictation/match.d.ts +57 -0
- package/dist/scenes/dictation/match.js +255 -0
- package/dist/scenes/dictation/recognize.d.ts +86 -0
- package/dist/scenes/dictation/recognize.js +163 -0
- package/dist/scenes/dictation/store.d.ts +112 -0
- package/dist/scenes/dictation/store.js +99 -0
- package/dist/scenes/look.d.ts +26 -0
- package/dist/scenes/look.js +1 -0
- package/dist/scenes/paint/painter.d.ts +84 -0
- package/dist/scenes/paint/painter.js +171 -0
- package/dist/scenes/paint/prompt.d.ts +23 -0
- package/dist/scenes/paint/prompt.js +36 -0
- package/dist/scenes/talk/en-words.d.ts +8 -0
- package/dist/scenes/talk/en-words.js +44 -0
- package/dist/scenes/talk/list.d.ts +44 -0
- package/dist/scenes/talk/list.js +88 -0
- package/dist/scenes/talk/store.d.ts +27 -0
- package/dist/scenes/talk/store.js +61 -0
- package/dist/scenes/talk/warmup.d.ts +16 -0
- package/dist/scenes/talk/warmup.js +39 -0
- package/dist/schema/activity.d.ts +149 -0
- package/dist/schema/activity.js +113 -0
- package/dist/schema/board.d.ts +143 -2
- package/dist/schema/board.js +15 -3
- package/dist/schema/config.d.ts +339 -103
- package/dist/schema/config.js +269 -84
- package/dist/schema/context-pack.d.ts +76 -14
- package/dist/schema/context-pack.js +91 -10
- package/dist/{lib/conversation.d.ts → schema/conversation-files.d.ts} +11 -33
- package/dist/schema/conversation-files.js +26 -0
- package/dist/schema/conversation.d.ts +391 -49
- package/dist/schema/conversation.js +135 -19
- package/dist/schema/events.d.ts +138 -0
- package/dist/schema/events.js +1 -0
- package/dist/schema/home.d.ts +56 -0
- package/dist/schema/home.js +35 -0
- package/dist/schema/index.d.ts +14 -3
- package/dist/schema/index.js +14 -3
- package/dist/schema/kid-device.d.ts +20 -0
- package/dist/schema/kid-device.js +32 -0
- package/dist/schema/ledger.d.ts +8 -63
- package/dist/schema/ledger.js +7 -31
- package/dist/schema/memory.d.ts +73 -0
- package/dist/schema/memory.js +47 -0
- package/dist/schema/plan.d.ts +2 -2
- package/dist/schema/plan.js +2 -2
- package/dist/schema/sections.d.ts +32 -25
- package/dist/schema/sections.js +21 -22
- package/dist/schema/theme.d.ts +25 -0
- package/dist/schema/theme.js +26 -0
- package/dist/schema/timetable.d.ts +2 -2
- package/dist/schema/timetable.js +2 -2
- package/dist/schema/workspace.d.ts +68 -0
- package/dist/schema/workspace.js +37 -0
- package/dist/shared/default-port.d.ts +2 -0
- package/dist/shared/default-port.js +2 -0
- package/dist/shared/errors.d.ts +8 -0
- package/dist/shared/errors.js +13 -0
- package/dist/shared/home.d.ts +2 -0
- package/dist/shared/home.js +16 -0
- package/dist/shared/human-notes.d.ts +5 -0
- package/dist/shared/human-notes.js +7 -0
- package/dist/shared/qianwen.d.ts +54 -0
- package/dist/shared/qianwen.js +113 -0
- package/dist/shared/site-url.d.ts +2 -0
- package/dist/shared/site-url.js +5 -0
- package/dist/shared/time.d.ts +9 -0
- package/dist/shared/time.js +22 -0
- package/dist/shared/tokens.d.ts +18 -0
- package/dist/shared/tokens.js +11 -0
- package/dist/shared/wav.d.ts +10 -0
- package/dist/shared/wav.js +50 -0
- package/dist/stage/chunk-226TNLQA.js +129 -0
- package/dist/stage/chunk-24LGQEKE.js +1 -0
- package/dist/stage/chunk-25XV6UY3.js +10 -0
- package/dist/stage/chunk-2AZI3NHJ.js +1 -0
- package/dist/stage/chunk-2BQZTTBE.js +1 -0
- package/dist/stage/chunk-2M7CGY3Y.js +11 -0
- package/dist/stage/chunk-2VR4WFQ7.js +10 -0
- package/dist/stage/chunk-2ZYXBUWG.js +9 -0
- package/dist/stage/chunk-32LAWMGY.js +1 -0
- package/dist/stage/chunk-3LEMTSOO.js +11 -0
- package/dist/stage/chunk-3QCKGZYE.js +32 -0
- package/dist/stage/chunk-44P66WFA.js +1 -0
- package/dist/stage/chunk-4AM6FRR6.js +7 -0
- package/dist/stage/chunk-4QDE4SUK.js +1 -0
- package/dist/stage/chunk-4QESHV3U.js +1 -0
- package/dist/stage/chunk-4SG5QPHB.js +2 -0
- package/dist/stage/chunk-4T4UVCOC.js +1 -0
- package/dist/stage/chunk-4WUEPPG3.js +34 -0
- package/dist/stage/chunk-4YCN6UZ5.js +99 -0
- package/dist/stage/chunk-5V7ZY2AP.js +1 -0
- package/dist/stage/chunk-5VS5Y2VJ.js +6 -0
- package/dist/stage/chunk-5W4NO2ZD.js +62 -0
- package/dist/stage/chunk-65CRNICM.js +1 -0
- package/dist/stage/chunk-66MULO7F.js +5 -0
- package/dist/stage/chunk-6COFQTBS.js +162 -0
- package/dist/stage/chunk-6VZG3M3I.js +8 -0
- package/dist/stage/chunk-7HVDH43T.js +1 -0
- package/dist/stage/chunk-7JLJN4EZ.js +8 -0
- package/dist/stage/chunk-7QDSP4LN.js +1 -0
- package/dist/stage/chunk-7R6OQAO3.js +1 -0
- package/dist/stage/chunk-7VTTHZKW.js +7 -0
- package/dist/stage/chunk-ATHR5KEN.js +10 -0
- package/dist/stage/chunk-B6R5LTP2.js +36 -0
- package/dist/stage/chunk-BD4WE264.js +1 -0
- package/dist/stage/chunk-BONANU47.js +206 -0
- package/dist/stage/chunk-BTVW7OFK.js +89 -0
- package/dist/stage/chunk-BUTJIDHG.js +8 -0
- package/dist/stage/chunk-C2IPYMML.js +84 -0
- package/dist/stage/chunk-C54FTPPV.js +9 -0
- package/dist/stage/chunk-C6LOUF2Z.js +90 -0
- package/dist/stage/chunk-CFF3PILO.js +339 -0
- package/dist/stage/chunk-CI2FQ2JY.js +9 -0
- package/dist/stage/chunk-CW5O4RV7.js +12 -0
- package/dist/stage/chunk-CYABNQYD.js +1 -0
- package/dist/stage/chunk-D7FFA4NS.js +15 -0
- package/dist/stage/chunk-DUNNXU6Z.js +8 -0
- package/dist/stage/chunk-E3E4Q6JF.js +6 -0
- package/dist/stage/chunk-EB3U3LH7.js +9 -0
- package/dist/stage/chunk-EGSZ736B.js +8 -0
- package/dist/stage/chunk-EOBXW5VQ.js +2 -0
- package/dist/stage/chunk-ERZC3B7Y.js +11 -0
- package/dist/stage/chunk-ESDOOBIH.js +11 -0
- package/dist/stage/chunk-EVU4QAL4.js +178 -0
- package/dist/stage/chunk-EVVZI2NY.js +39 -0
- package/dist/stage/chunk-FBKAZUKD.js +39 -0
- package/dist/stage/chunk-FDVKYQJN.js +1 -0
- package/dist/stage/chunk-FGPVYHVR.js +5 -0
- package/dist/stage/chunk-FHUD4AZC.js +1 -0
- package/dist/stage/chunk-FKUJ2DMY.js +96 -0
- package/dist/stage/chunk-FNZGVIJV.js +1 -0
- package/dist/stage/chunk-GBYSEGYM.js +78 -0
- package/dist/stage/chunk-GCO4TDHX.js +1 -0
- package/dist/stage/chunk-GKTML2LG.js +10 -0
- package/dist/stage/chunk-GMDIHHXQ.js +11 -0
- package/dist/stage/chunk-GOUNACI3.js +10 -0
- package/dist/stage/chunk-GXAYATPF.js +3 -0
- package/dist/stage/chunk-H2K2DDXV.js +8 -0
- package/dist/stage/chunk-H3UJI6ZY.js +13 -0
- package/dist/stage/chunk-H6PUGCME.js +7 -0
- package/dist/stage/chunk-HNBUIMIG.js +1 -0
- package/dist/stage/chunk-HRZY2BJQ.js +10 -0
- package/dist/stage/chunk-HSPJGALW.js +30 -0
- package/dist/stage/chunk-IBYORHIP.js +25 -0
- package/dist/stage/chunk-IHF4EWTY.js +1 -0
- package/dist/stage/chunk-ISBRPNKI.js +1 -0
- package/dist/stage/chunk-IZ3OI3C2.js +2 -0
- package/dist/stage/chunk-JEFZAC2R.js +1 -0
- package/dist/stage/chunk-JFIGRDPO.js +1 -0
- package/dist/stage/chunk-JFVYBOOC.js +9 -0
- package/dist/stage/chunk-JGD4TUTQ.js +1 -0
- package/dist/stage/chunk-JO4BEHDH.js +4 -0
- package/dist/stage/chunk-JOWBS42C.js +1 -0
- package/dist/stage/chunk-JP3TM2TG.js +1 -0
- package/dist/stage/chunk-JVK2C52O.js +1 -0
- package/dist/stage/chunk-K4I76XBX.js +14 -0
- package/dist/stage/chunk-KA6CZZ4M.js +1 -0
- package/dist/stage/chunk-KESSJ36M.js +1 -0
- package/dist/stage/chunk-LKATEVRU.js +1 -0
- package/dist/stage/chunk-LS4EJ2EI.js +1 -0
- package/dist/stage/chunk-LUKJQC2X.js +70 -0
- package/dist/stage/chunk-LWULR3SM.js +1 -0
- package/dist/stage/chunk-LWVRFMKX.js +2 -0
- package/dist/stage/chunk-LXC4ZBPZ.js +1 -0
- package/dist/stage/chunk-M2UP255H.js +1 -0
- package/dist/stage/chunk-MAPPXUZQ.js +231 -0
- package/dist/stage/chunk-MBMPW7Z5.js +1 -0
- package/dist/stage/chunk-MD3HMMTK.js +1 -0
- package/dist/stage/chunk-MLPCUIKR.js +17 -0
- package/dist/stage/chunk-MNQIRPDQ.js +8 -0
- package/dist/stage/chunk-MRG7MJVS.js +1 -0
- package/dist/stage/chunk-MU6EXW72.js +10 -0
- package/dist/stage/chunk-MVU2X6LU.js +4 -0
- package/dist/stage/chunk-N6UA5CZV.js +36 -0
- package/dist/stage/chunk-NLZIT2TJ.js +7 -0
- package/dist/stage/chunk-NOJR3J7M.js +1 -0
- package/dist/stage/chunk-NT7ARDOL.js +1 -0
- package/dist/stage/chunk-NWOGMPZH.js +1 -0
- package/dist/stage/chunk-NXE4KMG3.js +40 -0
- package/dist/stage/chunk-O4YCZXD2.js +257 -0
- package/dist/stage/chunk-OAJZ7HLK.js +1 -0
- package/dist/stage/chunk-OCFCFASO.js +1 -0
- package/dist/stage/chunk-ODGPG5RY.js +7 -0
- package/dist/stage/chunk-ODUEA52Q.js +3 -0
- package/dist/stage/chunk-OGDJ3FCI.js +1 -0
- package/dist/stage/chunk-OLDJ55TT.js +1 -0
- package/dist/stage/chunk-OOCL4ATI.js +2 -0
- package/dist/stage/chunk-OQEFDUDV.js +1 -0
- package/dist/stage/chunk-OQWVEWG7.js +4 -0
- package/dist/stage/chunk-OUIX6BGK.js +1 -0
- package/dist/stage/chunk-OV7OZYUO.js +7 -0
- package/dist/stage/chunk-PFGDY33O.js +1 -0
- package/dist/stage/chunk-PFJDUJB3.js +139 -0
- package/dist/stage/chunk-PGEW76ER.js +1 -0
- package/dist/stage/chunk-PP76TAQX.js +32 -0
- package/dist/stage/chunk-PTBOP4OT.js +2 -0
- package/dist/stage/chunk-PX2RVHCK.js +1 -0
- package/dist/stage/chunk-Q7K3PNAD.js +1 -0
- package/dist/stage/chunk-QDDPLZDB.js +1 -0
- package/dist/stage/chunk-QLGLZ77F.js +1 -0
- package/dist/stage/chunk-QOPFDFHI.js +1 -0
- package/dist/stage/chunk-QXT4KAEJ.js +1 -0
- package/dist/stage/chunk-R4YVZCIT.js +1 -0
- package/dist/stage/chunk-R6P6EHWA.js +62 -0
- package/dist/stage/chunk-RCH3OXBI.js +9 -0
- package/dist/stage/chunk-RHPE44I2.js +1 -0
- package/dist/stage/chunk-RJ2R4FVC.js +1 -0
- package/dist/stage/chunk-RJH2YVTD.js +1 -0
- package/dist/stage/chunk-RLWWW5OB.js +6 -0
- package/dist/stage/chunk-S3WO35Z7.js +120 -0
- package/dist/stage/chunk-S7ZGX6MW.js +1 -0
- package/dist/stage/chunk-SIAWX27B.js +1 -0
- package/dist/stage/chunk-SLG4X622.js +1 -0
- package/dist/stage/chunk-SLJRBC77.js +168 -0
- package/dist/stage/chunk-SRORWQJZ.js +1 -0
- package/dist/stage/chunk-STZTUIIF.js +2 -0
- package/dist/stage/chunk-SVQ6MWNV.js +9 -0
- package/dist/stage/chunk-TL3HLL2S.js +132 -0
- package/dist/stage/chunk-U3DOE6SF.js +24 -0
- package/dist/stage/chunk-UABQIZKW.js +6 -0
- package/dist/stage/chunk-UDK3R764.js +1 -0
- package/dist/stage/chunk-UFF4E54B.js +41 -0
- package/dist/stage/chunk-UFP5Q4AY.js +1 -0
- package/dist/stage/chunk-UMH2TSW2.js +72 -0
- package/dist/stage/chunk-UTASVNF5.js +10 -0
- package/dist/stage/chunk-UW7ML5ML.js +88 -0
- package/dist/stage/chunk-V3J7F6OP.js +1 -0
- package/dist/stage/chunk-VEHP5B5Q.js +5 -0
- package/dist/stage/chunk-VRXWB733.js +9 -0
- package/dist/stage/chunk-VVDHBBS5.js +5 -0
- package/dist/stage/chunk-VYFOH6FU.js +106 -0
- package/dist/stage/chunk-W3VZTLQS.js +3 -0
- package/dist/stage/chunk-W7WNRWTZ.js +8 -0
- package/dist/stage/chunk-WHUCV53C.js +1 -0
- package/dist/stage/chunk-WULMYHIF.js +1 -0
- package/dist/stage/chunk-X54EX7AW.js +9 -0
- package/dist/stage/chunk-X565ISZM.js +1 -0
- package/dist/stage/chunk-XGZMDECB.js +1 -0
- package/dist/stage/chunk-XHONC4RF.js +172 -0
- package/dist/stage/chunk-XIK4XQ6E.js +24 -0
- package/dist/stage/chunk-XJQQWFTE.js +1 -0
- package/dist/stage/chunk-XM4WOU3I.js +13 -0
- package/dist/stage/chunk-XM7Y5HP5.js +38 -0
- package/dist/stage/chunk-XNYYRGD5.js +292 -0
- package/dist/stage/chunk-XOYVR3SV.js +1 -0
- package/dist/stage/chunk-XQIW5HCE.js +1 -0
- package/dist/stage/chunk-YEWL7FUW.js +8 -0
- package/dist/stage/chunk-YI55PY3V.js +1 -0
- package/dist/stage/chunk-YM63HI6W.js +1 -0
- package/dist/stage/chunk-YNLGLU4P.js +9 -0
- package/dist/stage/chunk-YTNMNOWP.js +1 -0
- package/dist/stage/chunk-YV62XKTC.js +1 -0
- package/dist/stage/chunk-YVBA3QW6.js +1 -0
- package/dist/stage/chunk-Z2SY2HOC.js +1 -0
- package/dist/stage/chunk-ZBTCQEBK.js +10 -0
- package/dist/stage/chunk-ZCUFN74D.js +1 -0
- package/dist/stage/chunk-ZHOULXEJ.js +11 -0
- package/dist/stage/chunk-ZTRZIET2.js +1 -0
- package/dist/stage/index.html +1 -0
- package/dist/stage/stage.css +1 -1
- package/dist/stage/stage.js +1 -4383
- package/dist/ui/dev/dev-page.d.ts +1 -0
- package/dist/ui/dev/dev-page.js +2021 -0
- package/dist/ui/dev/dev-theme.d.ts +6 -0
- package/dist/ui/dev/dev-theme.js +67 -0
- package/dist/ui/dev/voice-gallery-page.d.ts +1 -0
- package/dist/ui/dev/voice-gallery-page.js +121 -0
- package/dist/ui/dev/voice-scenes.d.ts +21 -0
- package/dist/ui/dev/voice-scenes.js +30 -0
- package/dist/ui/dictation/en-box.d.ts +2 -0
- package/dist/ui/dictation/en-box.js +86 -0
- package/dist/ui/dictation/en-page.d.ts +1 -0
- package/dist/ui/dictation/en-page.js +484 -0
- package/dist/ui/dictation/page.d.ts +1 -0
- package/dist/ui/dictation/page.js +1084 -0
- package/dist/ui/dictation/parent-page.d.ts +1 -0
- package/dist/ui/dictation/parent-page.js +234 -0
- package/dist/ui/dictation/reel-mode.d.ts +1 -0
- package/dist/ui/dictation/reel-mode.js +87 -0
- package/dist/ui/dictation/reel-page.d.ts +1 -0
- package/dist/ui/dictation/reel-page.js +62 -0
- package/dist/ui/dictation/reel.d.ts +163 -0
- package/dist/ui/dictation/reel.js +436 -0
- package/dist/ui/dictation/ui.d.ts +44 -0
- package/dist/ui/dictation/ui.js +80 -0
- package/dist/ui/dictation/unlock.d.ts +7 -0
- package/dist/ui/dictation/unlock.js +16 -0
- package/dist/ui/kid/audio-client.d.ts +11 -0
- package/dist/ui/kid/audio-client.js +74 -0
- package/dist/ui/kid/board-mark-art.d.ts +37 -0
- package/dist/ui/kid/board-mark-art.js +5 -0
- package/dist/ui/kid/board-mark.d.ts +24 -0
- package/dist/ui/kid/board-mark.js +58 -0
- package/dist/ui/kid/home-tiles.d.ts +14 -0
- package/dist/ui/kid/home-tiles.js +44 -0
- package/dist/ui/kid/kid-log.d.ts +15 -0
- package/dist/ui/kid/kid-log.js +87 -0
- package/dist/ui/kid/kid-nav.d.ts +11 -0
- package/dist/ui/kid/kid-nav.js +22 -0
- package/dist/ui/kid/kid-page.d.ts +9 -0
- package/dist/ui/kid/kid-page.js +3684 -0
- package/dist/ui/kid/letters.d.ts +26 -0
- package/dist/ui/kid/letters.js +51 -0
- package/dist/ui/kid/photo-edit.d.ts +83 -0
- package/dist/ui/kid/photo-edit.js +106 -0
- package/dist/ui/kid/photo-ui.d.ts +23 -0
- package/dist/ui/kid/photo-ui.js +60 -0
- package/dist/ui/kid/reel.d.ts +419 -0
- package/dist/ui/kid/reel.js +648 -0
- package/dist/ui/kid/tianzige.d.ts +8 -0
- package/dist/ui/kid/tianzige.js +45 -0
- package/dist/ui/kid/tutor-face.d.ts +35 -0
- package/dist/ui/kid/tutor-face.js +84 -0
- package/dist/ui/kid/voice-ui.d.ts +70 -0
- package/dist/ui/kid/voice-ui.js +316 -0
- package/dist/ui/kid/voice-view.d.ts +71 -0
- package/dist/ui/kid/voice-view.js +75 -0
- package/dist/ui/kid/word-draw.d.ts +2 -0
- package/dist/ui/kid/word-draw.js +107 -0
- package/dist/ui/kid/word-emoji.d.ts +10 -0
- package/dist/ui/kid/word-emoji.js +68 -0
- package/dist/ui/kid/word-layout.d.ts +25 -0
- package/dist/ui/kid/word-layout.js +29 -0
- package/dist/ui/parent/parent-home-page.d.ts +1 -0
- package/dist/ui/parent/parent-home-page.js +722 -0
- package/dist/ui/parent/parent-page.d.ts +2 -0
- package/dist/ui/parent/parent-page.js +511 -0
- package/dist/ui/parent/parent-settings-page.d.ts +1 -0
- package/dist/ui/parent/parent-settings-page.js +133 -0
- package/dist/ui/parent/qr-page.d.ts +8 -0
- package/dist/ui/parent/qr-page.js +66 -0
- package/dist/ui/shared/brand.d.ts +38 -0
- package/dist/ui/shared/brand.js +53 -0
- package/dist/ui/shared/favicon.d.ts +12 -0
- package/dist/ui/shared/favicon.js +96 -0
- package/dist/ui/shared/icon.d.ts +9 -0
- package/dist/ui/shared/icon.js +35 -0
- package/dist/ui/shared/inline-lib.d.ts +1 -0
- package/dist/ui/shared/inline-lib.js +28 -0
- package/dist/ui/shared/logo.d.ts +31 -0
- package/dist/ui/shared/logo.js +43 -0
- package/dist/ui/shared/page-dom.d.ts +12 -0
- package/dist/ui/shared/page-dom.js +36 -0
- package/dist/ui/shared/png.d.ts +1 -0
- package/dist/ui/shared/png.js +45 -0
- package/dist/ui/shared/qr-svg.d.ts +3 -0
- package/dist/ui/shared/qr-svg.js +32 -0
- package/dist/ui/shared/qr.d.ts +14 -0
- package/dist/ui/shared/qr.js +281 -0
- package/dist/ui/shared/reel-dock.d.ts +22 -0
- package/dist/ui/shared/reel-dock.js +365 -0
- package/dist/ui/shared/tutor-color.d.ts +15 -0
- package/dist/ui/shared/tutor-color.js +47 -0
- package/dist/ui/talk/page.d.ts +6 -0
- package/dist/ui/talk/page.js +294 -0
- package/grades/grade-2/README.md +11 -0
- package/grades/grade-2/VALIDATION.md +41 -0
- package/grades/grade-2/agents/chinese-tutor/activities//344/275/240/350/257/264/346/210/221/347/224/273.md +157 -0
- package/grades/grade-2/agents/chinese-tutor/activities//344/275/240/350/257/264/346/210/221/347/224/273./344/276/213/345/255/220.md +78 -0
- package/grades/grade-2/agents/chinese-tutor/activities//344/276/213/345/255/220/345/233/276//345/200/237/344/274/236.jpg +0 -0
- package/grades/grade-2/agents/chinese-tutor/activities//344/276/213/345/255/220/345/233/276//345/260/217/347/214/264/346/221/230/346/241/203.jpg +0 -0
- package/grades/grade-2/agents/chinese-tutor/activities//345/206/231/350/257/235.md +64 -0
- package/grades/grade-2/agents/chinese-tutor/activities//345/206/231/350/257/235./344/276/213/345/255/220.md +31 -0
- package/grades/grade-2/agents/chinese-tutor/activities//345/220/254/345/206/231.md +48 -0
- package/grades/grade-2/agents/chinese-tutor/activities//345/244/215/344/271/240.md +79 -0
- package/grades/grade-2/agents/chinese-tutor/activities//345/244/215/344/271/240./344/276/213/345/255/220.md +35 -0
- package/grades/grade-2/agents/chinese-tutor/activities//345/260/217/350/257/276/345/240/202.md +53 -0
- package/grades/grade-2/agents/chinese-tutor/activities//346/243/200/346/237/245/344/275/234/344/270/232.md +81 -0
- package/grades/grade-2/agents/chinese-tutor/activities//346/243/200/346/237/245/344/275/234/344/270/232./344/276/213/345/255/220.md +35 -0
- package/grades/grade-2/agents/chinese-tutor/activities//347/234/213/345/233/276/350/257/264/350/257/235.md +94 -0
- package/grades/grade-2/agents/chinese-tutor/activities//347/234/213/345/233/276/350/257/264/350/257/235./344/276/213/345/255/220.md +63 -0
- package/grades/grade-2/agents/chinese-tutor/activities//351/242/204/344/271/240.md +82 -0
- package/grades/grade-2/agents/chinese-tutor/activities//351/242/204/344/271/240./344/276/213/345/255/220.md +35 -0
- package/grades/grade-2/agents/chinese-tutor.md +59 -0
- package/grades/grade-2/agents/english-tutor/activities//345/217/243/350/257/255/350/257/276.md +149 -0
- package/grades/grade-2/agents/english-tutor/activities//345/217/243/350/257/255/350/257/276./344/276/213/345/255/220.md +13 -0
- package/grades/grade-2/agents/english-tutor/activities//345/220/254/345/206/231.md +47 -0
- package/grades/grade-2/agents/english-tutor/activities//345/244/215/344/271/240.md +78 -0
- package/grades/grade-2/agents/english-tutor/activities//345/244/215/344/271/240./344/276/213/345/255/220.md +35 -0
- package/grades/grade-2/agents/english-tutor/activities//345/260/217/350/257/276/345/240/202.md +53 -0
- package/grades/grade-2/agents/english-tutor/activities//346/243/200/346/237/245/344/275/234/344/270/232.md +80 -0
- package/grades/grade-2/agents/english-tutor/activities//346/243/200/346/237/245/344/275/234/344/270/232./344/276/213/345/255/220.md +35 -0
- package/grades/grade-2/agents/english-tutor/activities//351/242/204/344/271/240.md +86 -0
- package/grades/grade-2/agents/english-tutor/activities//351/242/204/344/271/240./344/276/213/345/255/220.md +35 -0
- package/grades/grade-2/agents/english-tutor.md +57 -0
- package/grades/grade-2/agents/math-tutor/activities//345/244/215/344/271/240.md +78 -0
- package/grades/grade-2/agents/math-tutor/activities//345/244/215/344/271/240./344/276/213/345/255/220.md +35 -0
- package/grades/grade-2/agents/math-tutor/activities//345/260/217/350/257/276/345/240/202.md +56 -0
- package/grades/grade-2/agents/math-tutor/activities//345/260/217/350/257/276/345/240/202./344/276/213/345/255/220.md +52 -0
- package/grades/grade-2/agents/math-tutor/activities//346/243/200/346/237/245/344/275/234/344/270/232.md +80 -0
- package/grades/grade-2/agents/math-tutor/activities//346/243/200/346/237/245/344/275/234/344/270/232./344/276/213/345/255/220.md +35 -0
- package/grades/grade-2/agents/math-tutor/activities//351/242/204/344/271/240.md +81 -0
- package/grades/grade-2/agents/math-tutor/activities//351/242/204/344/271/240./344/276/213/345/255/220.md +35 -0
- package/grades/grade-2/agents/math-tutor.md +51 -0
- package/grades/grade-2/examples/2026-10-27-pingjunfen/audio/index.json +44 -0
- package/grades/grade-2/examples/2026-10-27-pingjunfen/audio/step-1.mp3 +0 -0
- package/grades/grade-2/examples/2026-10-27-pingjunfen/audio/step-2.mp3 +0 -0
- package/grades/grade-2/examples/2026-10-27-pingjunfen/audio/step-3.mp3 +0 -0
- package/grades/grade-2/examples/2026-10-27-pingjunfen/audio/step-4.mp3 +0 -0
- package/grades/grade-2/examples/2026-10-27-pingjunfen/audio/step-5.mp3 +0 -0
- package/grades/grade-2/examples/2026-10-27-pingjunfen/bake.json +1 -0
- package/grades/grade-2/examples/2026-10-27-pingjunfen/manifest.json +63 -0
- package/grades/grade-2/examples/2026-10-27-pingjunfen/scene.json +247 -0
- package/grades/grade-2/examples/2026-10-27-pingjunfen.md +40 -0
- package/grades/grade-2/examples/2026-10-27-pingjunfen.ts +26 -0
- package/grades/grade-2/examples//345/271/263/345/235/207/345/210/206./344/276/213/345/255/220.md +24 -0
- package/grades/grade-2/examples//346/225/260/345/255/246/345/271/263/345/235/207/345/210/206.md +42 -0
- package/grades/grade-2/validation/2026-10-27.json +4410 -0
- package/package.json +27 -15
- package/skills/chalk-cli/SKILL.md +62 -0
- package/skills/chalk-scene/SKILL.md +91 -0
- package/skills/chalk-teaching/SKILL.md +82 -0
- package/skills/chalk-teaching/models//344/272/244/351/224/231/346/225/260/345/210/227/345/210/206/350/241/214.md +8 -0
- package/skills/chalk-teaching/models//345/207/221/345/215/201.md +7 -0
- package/skills/chalk-teaching/models//345/221/250/346/234/237/350/247/204/345/276/213.md +6 -0
- package/skills/chalk-teaching/models//345/256/236/347/211/251/345/233/276-/345/242/236/345/207/217.md +6 -0
- package/skills/chalk-teaching/models//345/256/236/347/211/251/345/233/276-/346/257/224/345/244/232/345/260/221-/346/261/202/345/244/247/346/225/260/346/261/202/345/260/217/346/225/260.md +7 -0
- package/skills/chalk-teaching/models//345/256/236/347/211/251/345/233/276-/346/257/224/345/244/232/345/260/221-/346/261/202/345/267/256.md +6 -0
- package/skills/chalk-teaching/models//345/260/217/346/243/222/350/277/233/344/275/215/345/212/240.md +7 -0
- package/skills/chalk-teaching/models//345/260/217/346/243/222/351/200/200/344/275/215/345/207/217.md +6 -0
- package/skills/chalk-teaching/models//346/216/222/351/230/237/347/202/271/351/230/265.md +7 -0
- package/skills/chalk-teaching/models//346/227/266/351/227/264/346/225/260/350/275/264.md +6 -0
- package/skills/chalk-teaching/models//346/245/274/345/261/202/351/227/264/351/232/224/345/233/276.md +7 -0
- package/skills/chalk-teaching/models//347/240/264/345/215/201.md +7 -0
- package/skills/chalk-teaching/models//347/253/226/345/274/217/351/200/200/344/275/215.md +6 -0
- package/skills/chalk-teaching/models//347/272/277/346/256/265/345/233/276.md +7 -0
- package/skills/chalk-teaching/models-index.md +24 -0
- package/skills/chalk-teaching/references//350/256/262/350/247/243/346/250/241/346/235/277/344/270/211/346/241/243.md +32 -0
- package/skills/chalk-teaching/references//350/257/264/346/230/216/346/226/207/344/273/266.md +102 -0
- package/skills/chalk-verify/SKILL.md +57 -0
- package/skills/chalk-verify/references//350/257/204/345/210/244/346/240/207/345/207/206.md +69 -0
- package/skills/cotutor-analyze/SKILL.md +106 -0
- package/skills/cotutor-analyze/references//345/221/275/344/273/244/344/270/216/346/226/207/344/273/266.md +31 -0
- package/skills/cotutor-board/SKILL.md +373 -0
- package/skills/cotutor-board/references/README.md +38 -0
- package/skills/cotutor-board/references/canvas.md +68 -0
- package/skills/cotutor-board/references/choice.md +55 -0
- package/skills/cotutor-board/references/code.md +46 -0
- package/skills/cotutor-board/references/image.md +52 -0
- package/skills/cotutor-board/references/lecture.md +69 -0
- package/skills/cotutor-board/references/paint.md +77 -0
- package/skills/cotutor-board/references/photo.md +61 -0
- package/skills/cotutor-board/references/read.md +51 -0
- package/skills/cotutor-board/references/text.md +69 -0
- package/skills/cotutor-board/references/tianzige.md +78 -0
- package/skills/cotutor-board/references/word.md +91 -0
- package/skills/cotutor-home/SKILL.md +170 -0
- package/skills/cotutor-home/references/dictation.md +97 -0
- package/skills/cotutor-home/references/tutor.md +149 -0
- package/skills/cotutor-home/references//345/221/275/344/273/244.md +21 -0
- package/skills/cotutor-home/references//351/246/226/351/241/265/350/257/255/346/263/225.md +143 -0
- package/skills/cotutor-tune/SKILL.md +147 -0
- package/skills/cotutor-tune/references//345/255/227/346/256/265.md +53 -0
- package/skills/cotutor-tutor/SKILL.md +253 -0
- package/skills/cotutor-tutor/references//344/270/212/344/270/213/346/226/207/345/214/205.md +78 -0
- package/themes/default/kid.css +86 -0
- package/themes/default/theme.json +26 -0
- package/agents/chinese-tutor.md +0 -67
- package/agents/homework-tutor.md +0 -17
- package/agents/math-tutor.md +0 -68
- package/agents/planner.md +0 -18
- package/agents/reading-tutor.md +0 -65
- package/agents/scene-maker.md +0 -41
- package/dist/cards/canvas.d.ts +0 -22
- package/dist/cards/canvas.js +0 -65
- package/dist/cards/fill.d.ts +0 -14
- package/dist/cards/fill.js +0 -64
- package/dist/cards/index.d.ts +0 -48
- package/dist/cards/index.js +0 -115
- package/dist/cards/kind.js +0 -7
- package/dist/cards/scene.d.ts +0 -24
- package/dist/cards/scene.js +0 -67
- package/dist/cards/text.d.ts +0 -18
- package/dist/cards/text.js +0 -41
- package/dist/cli/cert.d.ts +0 -7
- package/dist/cli/cert.js +0 -36
- package/dist/cli/doctor.d.ts +0 -22
- package/dist/cli/doctor.js +0 -355
- package/dist/cli/init.js +0 -116
- package/dist/cli/main.js +0 -243
- package/dist/cli/serve.d.ts +0 -30
- package/dist/cli/serve.js +0 -56
- package/dist/cli/skeleton.d.ts +0 -39
- package/dist/cli/skeleton.js +0 -184
- package/dist/cli/skills.d.ts +0 -40
- package/dist/cli/skills.js +0 -170
- package/dist/cli/workspace.d.ts +0 -69
- package/dist/lib/agent-file.d.ts +0 -10
- package/dist/lib/agent-file.js +0 -16
- package/dist/lib/board.d.ts +0 -15
- package/dist/lib/board.js +0 -107
- package/dist/lib/context-pack.js +0 -55
- package/dist/lib/conversation.js +0 -88
- package/dist/lib/kid-board.d.ts +0 -148
- package/dist/lib/kid-board.js +0 -294
- package/dist/lib/kid-view.d.ts +0 -63
- package/dist/lib/kid-view.js +0 -93
- package/dist/lib/ledger.d.ts +0 -29
- package/dist/lib/run-plan.d.ts +0 -30
- package/dist/lib/run-plan.js +0 -32
- package/dist/lib/sections.d.ts +0 -12
- package/dist/lib/sections.js +0 -151
- package/dist/lib/stream.d.ts +0 -15
- package/dist/lib/stream.js +0 -69
- package/dist/lib/transcript.d.ts +0 -36
- package/dist/lib/transcript.js +0 -95
- package/dist/server/app.d.ts +0 -74
- package/dist/server/app.js +0 -406
- package/dist/server/kid-page.d.ts +0 -1
- package/dist/server/kid-page.js +0 -768
- package/dist/server/mock.js +0 -403
- package/dist/server/parent-page.d.ts +0 -8
- package/dist/server/parent-page.js +0 -393
- package/dist/server/runner.d.ts +0 -64
- package/dist/server/runner.js +0 -277
- package/dist/server/scene-props.d.ts +0 -16
- package/dist/server/scene-props.js +0 -39
- package/dist/server/store.d.ts +0 -43
- package/dist/server/store.js +0 -210
- package/dist/server/tts.d.ts +0 -51
- package/dist/server/tts.js +0 -99
- /package/dist/{cli → app/cli}/main.d.ts +0 -0
- /package/dist/{cards → board/cards}/choice.d.ts +0 -0
- /package/dist/{cards → board/cards}/code.d.ts +0 -0
- /package/dist/{cards → board/cards}/image.d.ts +0 -0
- /package/dist/{cards → board/cards}/read.d.ts +0 -0
|
@@ -1,54 +1,60 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* 索引里的 kidText / artifacts
|
|
2
|
+
* 对话索引:一老师一天一份。每条消息 = 一次 -p 运行 = 一份 NDJSON 转录;
|
|
3
|
+
* 索引里的 kidText / artifacts 是孩子视图的物化结果,孩子端不解析日志。跨天自动新开。
|
|
4
4
|
*/
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
export declare const DATE_RE: RegExp;
|
|
7
|
+
/** 孩子端设备的编号:服务端种的 cookie,随机 12 位十六进制 */
|
|
8
|
+
export declare const DEVICE_ID_RE: RegExp;
|
|
9
|
+
export declare const TimingSchema: z.ZodObject<{
|
|
10
|
+
startedAt: z.ZodString;
|
|
11
|
+
warm: z.ZodOptional<z.ZodLiteral<true>>;
|
|
12
|
+
firstCardMs: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
firstReadyMs: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
doneMs: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
beats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16
|
+
card: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
closedMs: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
readyMs: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
}, z.core.$strip>>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
export type Timing = z.infer<typeof TimingSchema>;
|
|
22
|
+
export declare const SessionSchema: z.ZodObject<{
|
|
23
|
+
id: z.ZodString;
|
|
24
|
+
runtime: z.ZodString;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export type Session = z.infer<typeof SessionSchema>;
|
|
7
27
|
export declare const ConversationMessageSchema: z.ZodObject<{
|
|
8
28
|
job: z.ZodString;
|
|
29
|
+
thread: z.ZodOptional<z.ZodString>;
|
|
9
30
|
at: z.ZodString;
|
|
10
31
|
from: z.ZodEnum<{
|
|
11
32
|
kid: "kid";
|
|
12
|
-
parent: "parent";
|
|
13
33
|
system: "system";
|
|
14
34
|
}>;
|
|
15
35
|
text: z.ZodString;
|
|
16
36
|
focus: z.ZodOptional<z.ZodObject<{
|
|
17
|
-
artifact: z.ZodOptional<z.ZodString>;
|
|
18
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
19
|
-
circled: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20
37
|
card: z.ZodOptional<z.ZodString>;
|
|
21
38
|
}, z.core.$strip>>;
|
|
22
39
|
action: z.ZodOptional<z.ZodEnum<{
|
|
23
|
-
continue: "continue";
|
|
24
40
|
submit: "submit";
|
|
25
41
|
}>>;
|
|
42
|
+
photos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
43
|
result: z.ZodDefault<z.ZodEnum<{
|
|
27
44
|
error: "error";
|
|
28
45
|
running: "running";
|
|
29
46
|
ok: "ok";
|
|
30
47
|
}>>;
|
|
48
|
+
tokens: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
in: z.ZodNumber;
|
|
50
|
+
out: z.ZodNumber;
|
|
51
|
+
cached: z.ZodOptional<z.ZodNumber>;
|
|
52
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
53
|
+
}, z.core.$strip>>;
|
|
31
54
|
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
32
55
|
kidText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
56
|
artifacts: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
34
57
|
runtime: z.ZodOptional<z.ZodString>;
|
|
35
|
-
holdup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
|
-
question: z.ZodString;
|
|
37
|
-
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
38
|
-
label: z.ZodString;
|
|
39
|
-
note: z.ZodOptional<z.ZodString>;
|
|
40
|
-
recommended: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
-
}, z.core.$strip>>>;
|
|
42
|
-
}, z.core.$strip>>>;
|
|
43
|
-
handoff: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
|
-
to: z.ZodString;
|
|
45
|
-
why: z.ZodOptional<z.ZodString>;
|
|
46
|
-
refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
47
|
-
}, z.core.$strip>>>;
|
|
48
|
-
handoffJob: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
49
|
-
tutor: z.ZodString;
|
|
50
|
-
job: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>>;
|
|
52
58
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
59
|
section: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
54
60
|
cards: z.ZodArray<z.ZodObject<{
|
|
@@ -56,6 +62,11 @@ export declare const ConversationMessageSchema: z.ZodObject<{
|
|
|
56
62
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
57
63
|
state: z.ZodOptional<z.ZodUnknown>;
|
|
58
64
|
assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
65
|
+
look: z.ZodOptional<z.ZodObject<{
|
|
66
|
+
tint: z.ZodOptional<z.ZodString>;
|
|
67
|
+
look: z.ZodOptional<z.ZodString>;
|
|
68
|
+
emoji: z.ZodOptional<z.ZodString>;
|
|
69
|
+
}, z.core.$strip>>;
|
|
59
70
|
}, z.core.$strip>>;
|
|
60
71
|
lines: z.ZodArray<z.ZodObject<{
|
|
61
72
|
text: z.ZodString;
|
|
@@ -63,6 +74,14 @@ export declare const ConversationMessageSchema: z.ZodObject<{
|
|
|
63
74
|
marks: z.ZodArray<z.ZodObject<{
|
|
64
75
|
card: z.ZodNumber;
|
|
65
76
|
phrase: z.ZodString;
|
|
77
|
+
pen: z.ZodOptional<z.ZodEnum<{
|
|
78
|
+
marker: "marker";
|
|
79
|
+
tint: "tint";
|
|
80
|
+
underline: "underline";
|
|
81
|
+
box: "box";
|
|
82
|
+
circle: "circle";
|
|
83
|
+
}>>;
|
|
84
|
+
said: z.ZodOptional<z.ZodString>;
|
|
66
85
|
}, z.core.$strip>>;
|
|
67
86
|
ask: z.ZodBoolean;
|
|
68
87
|
anchor: z.ZodNullable<z.ZodNumber>;
|
|
@@ -71,16 +90,173 @@ export declare const ConversationMessageSchema: z.ZodObject<{
|
|
|
71
90
|
name: z.ZodString;
|
|
72
91
|
arg: z.ZodOptional<z.ZodString>;
|
|
73
92
|
}, z.core.$strip>>;
|
|
93
|
+
echo: z.ZodOptional<z.ZodObject<{
|
|
94
|
+
word: z.ZodString;
|
|
95
|
+
say: z.ZodOptional<z.ZodLiteral<true>>;
|
|
96
|
+
}, z.core.$strip>>;
|
|
97
|
+
call: z.ZodOptional<z.ZodLiteral<true>>;
|
|
74
98
|
}, z.core.$strip>>;
|
|
75
99
|
partial: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
ready: z.ZodOptional<z.ZodNumber>;
|
|
101
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
102
|
+
for: z.ZodEnum<{
|
|
103
|
+
phone: "phone";
|
|
104
|
+
"tablet-portrait": "tablet-portrait";
|
|
105
|
+
"tablet-landscape": "tablet-landscape";
|
|
106
|
+
}>;
|
|
107
|
+
rows: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
108
|
+
}, z.core.$strip>>;
|
|
76
109
|
}, z.core.$strip>>>;
|
|
77
110
|
parentText: z.ZodOptional<z.ZodString>;
|
|
78
111
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
112
|
+
remembered: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
113
|
+
memoryLines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
114
|
+
before: z.ZodNullable<z.ZodString>;
|
|
115
|
+
after: z.ZodNullable<z.ZodString>;
|
|
116
|
+
}, z.core.$strip>>>;
|
|
117
|
+
childLines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
118
|
+
before: z.ZodNullable<z.ZodString>;
|
|
119
|
+
after: z.ZodNullable<z.ZodString>;
|
|
120
|
+
}, z.core.$strip>>>;
|
|
121
|
+
diaryBlock: z.ZodOptional<z.ZodString>;
|
|
122
|
+
memoryProposals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
123
|
+
item: z.ZodString;
|
|
124
|
+
target: z.ZodEnum<{
|
|
125
|
+
tutor: "tutor";
|
|
126
|
+
child: "child";
|
|
127
|
+
}>;
|
|
128
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
129
|
+
check: z.ZodEnum<{
|
|
130
|
+
verified: "verified";
|
|
131
|
+
unverified: "unverified";
|
|
132
|
+
rejected: "rejected";
|
|
133
|
+
}>;
|
|
134
|
+
}, z.core.$strip>>>;
|
|
135
|
+
pending: z.ZodOptional<z.ZodObject<{
|
|
136
|
+
memory: z.ZodOptional<z.ZodObject<{
|
|
137
|
+
file: z.ZodString;
|
|
138
|
+
base: z.ZodNullable<z.ZodString>;
|
|
139
|
+
hash: z.ZodString;
|
|
140
|
+
changes: z.ZodArray<z.ZodString>;
|
|
141
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
142
|
+
before: z.ZodNullable<z.ZodString>;
|
|
143
|
+
after: z.ZodNullable<z.ZodString>;
|
|
144
|
+
}, z.core.$strip>>;
|
|
145
|
+
}, z.core.$strip>>;
|
|
146
|
+
child: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
file: z.ZodString;
|
|
148
|
+
base: z.ZodNullable<z.ZodString>;
|
|
149
|
+
hash: z.ZodString;
|
|
150
|
+
changes: z.ZodArray<z.ZodString>;
|
|
151
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
152
|
+
before: z.ZodNullable<z.ZodString>;
|
|
153
|
+
after: z.ZodNullable<z.ZodString>;
|
|
154
|
+
}, z.core.$strip>>;
|
|
155
|
+
}, z.core.$strip>>;
|
|
156
|
+
diary: z.ZodOptional<z.ZodObject<{
|
|
157
|
+
file: z.ZodString;
|
|
158
|
+
block: z.ZodString;
|
|
159
|
+
thread: z.ZodString;
|
|
160
|
+
}, z.core.$strip>>;
|
|
161
|
+
}, z.core.$strip>>;
|
|
162
|
+
notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
79
163
|
cards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
80
164
|
card: z.ZodString;
|
|
81
165
|
text: z.ZodString;
|
|
82
166
|
}, z.core.$strip>>>;
|
|
83
|
-
|
|
167
|
+
timing: z.ZodOptional<z.ZodObject<{
|
|
168
|
+
startedAt: z.ZodString;
|
|
169
|
+
warm: z.ZodOptional<z.ZodLiteral<true>>;
|
|
170
|
+
firstCardMs: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
firstReadyMs: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
doneMs: z.ZodOptional<z.ZodNumber>;
|
|
173
|
+
beats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
174
|
+
card: z.ZodNullable<z.ZodNumber>;
|
|
175
|
+
closedMs: z.ZodOptional<z.ZodNumber>;
|
|
176
|
+
readyMs: z.ZodOptional<z.ZodNumber>;
|
|
177
|
+
}, z.core.$strip>>>;
|
|
178
|
+
}, z.core.$strip>>;
|
|
179
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
180
|
+
phone: "phone";
|
|
181
|
+
"tablet-portrait": "tablet-portrait";
|
|
182
|
+
"tablet-landscape": "tablet-landscape";
|
|
183
|
+
}>>;
|
|
184
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
185
|
+
bookkeep: z.ZodOptional<z.ZodObject<{
|
|
186
|
+
thread: z.ZodString;
|
|
187
|
+
}, z.core.$strip>>;
|
|
188
|
+
tidy: z.ZodOptional<z.ZodLiteral<true>>;
|
|
189
|
+
compacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
190
|
+
bookkeeping: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
191
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
192
|
+
thread: z.ZodString;
|
|
193
|
+
name: z.ZodString;
|
|
194
|
+
textbook: z.ZodOptional<z.ZodString>;
|
|
195
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
196
|
+
steps: z.ZodOptional<z.ZodString>;
|
|
197
|
+
observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
198
|
+
asked: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
199
|
+
}, z.core.$strip>>;
|
|
200
|
+
}, z.core.$strip>>>;
|
|
201
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
202
|
+
name: z.ZodString;
|
|
203
|
+
arg: z.ZodString;
|
|
204
|
+
ok: z.ZodNullable<z.ZodBoolean>;
|
|
205
|
+
chars: z.ZodNumber;
|
|
206
|
+
sub: z.ZodOptional<z.ZodBoolean>;
|
|
207
|
+
}, z.core.$strip>>>;
|
|
208
|
+
replayOf: z.ZodOptional<z.ZodString>;
|
|
209
|
+
eval: z.ZodOptional<z.ZodLiteral<true>>;
|
|
210
|
+
live: z.ZodOptional<z.ZodLiteral<true>>;
|
|
211
|
+
lecture: z.ZodOptional<z.ZodObject<{
|
|
212
|
+
bundle: z.ZodString;
|
|
213
|
+
title: z.ZodString;
|
|
214
|
+
watchedMs: z.ZodNumber;
|
|
215
|
+
finished: z.ZodBoolean;
|
|
216
|
+
pauses: z.ZodNumber;
|
|
217
|
+
again: z.ZodOptional<z.ZodLiteral<true>>;
|
|
218
|
+
video: z.ZodOptional<z.ZodLiteral<true>>;
|
|
219
|
+
marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
220
|
+
atMs: z.ZodNumber;
|
|
221
|
+
svgMs: z.ZodNumber;
|
|
222
|
+
strokes: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
223
|
+
text: z.ZodOptional<z.ZodString>;
|
|
224
|
+
image: z.ZodOptional<z.ZodString>;
|
|
225
|
+
t: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
}, z.core.$strip>>>;
|
|
227
|
+
log: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
228
|
+
t: z.ZodNumber;
|
|
229
|
+
pos: z.ZodNumber;
|
|
230
|
+
play: z.ZodBoolean;
|
|
231
|
+
}, z.core.$strip>>>;
|
|
232
|
+
}, z.core.$strip>>;
|
|
233
|
+
drawing: z.ZodOptional<z.ZodObject<{
|
|
234
|
+
image: z.ZodString;
|
|
235
|
+
strokes: z.ZodNumber;
|
|
236
|
+
colors: z.ZodOptional<z.ZodString>;
|
|
237
|
+
ms: z.ZodOptional<z.ZodNumber>;
|
|
238
|
+
cleared: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
239
|
+
}, z.core.$strip>>;
|
|
240
|
+
via: z.ZodOptional<z.ZodObject<{
|
|
241
|
+
home: z.ZodNullable<z.ZodString>;
|
|
242
|
+
button: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
|
|
243
|
+
check: "check";
|
|
244
|
+
recent: "recent";
|
|
245
|
+
preview: "preview";
|
|
246
|
+
review: "review";
|
|
247
|
+
new: "new";
|
|
248
|
+
}>]>;
|
|
249
|
+
label: z.ZodString;
|
|
250
|
+
}, z.core.$strip>>;
|
|
251
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
252
|
+
name: z.ZodString;
|
|
253
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
|
|
254
|
+
}, z.core.$strip>>;
|
|
255
|
+
talk: z.ZodOptional<z.ZodString>;
|
|
256
|
+
continues: z.ZodOptional<z.ZodObject<{
|
|
257
|
+
date: z.ZodString;
|
|
258
|
+
thread: z.ZodString;
|
|
259
|
+
}, z.core.$strip>>;
|
|
84
260
|
}, z.core.$strip>;
|
|
85
261
|
export type ConversationMessage = z.infer<typeof ConversationMessageSchema>;
|
|
86
262
|
export declare const ConversationIndexSchema: z.ZodObject<{
|
|
@@ -90,51 +266,41 @@ export declare const ConversationIndexSchema: z.ZodObject<{
|
|
|
90
266
|
id: z.ZodString;
|
|
91
267
|
runtime: z.ZodString;
|
|
92
268
|
}, z.core.$strip>>>;
|
|
269
|
+
sessions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
270
|
+
id: z.ZodString;
|
|
271
|
+
runtime: z.ZodString;
|
|
272
|
+
}, z.core.$strip>>>;
|
|
93
273
|
messages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
94
274
|
job: z.ZodString;
|
|
275
|
+
thread: z.ZodOptional<z.ZodString>;
|
|
95
276
|
at: z.ZodString;
|
|
96
277
|
from: z.ZodEnum<{
|
|
97
278
|
kid: "kid";
|
|
98
|
-
parent: "parent";
|
|
99
279
|
system: "system";
|
|
100
280
|
}>;
|
|
101
281
|
text: z.ZodString;
|
|
102
282
|
focus: z.ZodOptional<z.ZodObject<{
|
|
103
|
-
artifact: z.ZodOptional<z.ZodString>;
|
|
104
|
-
step: z.ZodOptional<z.ZodNumber>;
|
|
105
|
-
circled: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
106
283
|
card: z.ZodOptional<z.ZodString>;
|
|
107
284
|
}, z.core.$strip>>;
|
|
108
285
|
action: z.ZodOptional<z.ZodEnum<{
|
|
109
|
-
continue: "continue";
|
|
110
286
|
submit: "submit";
|
|
111
287
|
}>>;
|
|
288
|
+
photos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
112
289
|
result: z.ZodDefault<z.ZodEnum<{
|
|
113
290
|
error: "error";
|
|
114
291
|
running: "running";
|
|
115
292
|
ok: "ok";
|
|
116
293
|
}>>;
|
|
294
|
+
tokens: z.ZodOptional<z.ZodObject<{
|
|
295
|
+
in: z.ZodNumber;
|
|
296
|
+
out: z.ZodNumber;
|
|
297
|
+
cached: z.ZodOptional<z.ZodNumber>;
|
|
298
|
+
context: z.ZodOptional<z.ZodNumber>;
|
|
299
|
+
}, z.core.$strip>>;
|
|
117
300
|
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
118
301
|
kidText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
302
|
artifacts: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
120
303
|
runtime: z.ZodOptional<z.ZodString>;
|
|
121
|
-
holdup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
122
|
-
question: z.ZodString;
|
|
123
|
-
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
124
|
-
label: z.ZodString;
|
|
125
|
-
note: z.ZodOptional<z.ZodString>;
|
|
126
|
-
recommended: z.ZodOptional<z.ZodBoolean>;
|
|
127
|
-
}, z.core.$strip>>>;
|
|
128
|
-
}, z.core.$strip>>>;
|
|
129
|
-
handoff: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
130
|
-
to: z.ZodString;
|
|
131
|
-
why: z.ZodOptional<z.ZodString>;
|
|
132
|
-
refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
133
|
-
}, z.core.$strip>>>;
|
|
134
|
-
handoffJob: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
135
|
-
tutor: z.ZodString;
|
|
136
|
-
job: z.ZodString;
|
|
137
|
-
}, z.core.$strip>>>;
|
|
138
304
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
139
305
|
section: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
140
306
|
cards: z.ZodArray<z.ZodObject<{
|
|
@@ -142,6 +308,11 @@ export declare const ConversationIndexSchema: z.ZodObject<{
|
|
|
142
308
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
143
309
|
state: z.ZodOptional<z.ZodUnknown>;
|
|
144
310
|
assets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
311
|
+
look: z.ZodOptional<z.ZodObject<{
|
|
312
|
+
tint: z.ZodOptional<z.ZodString>;
|
|
313
|
+
look: z.ZodOptional<z.ZodString>;
|
|
314
|
+
emoji: z.ZodOptional<z.ZodString>;
|
|
315
|
+
}, z.core.$strip>>;
|
|
145
316
|
}, z.core.$strip>>;
|
|
146
317
|
lines: z.ZodArray<z.ZodObject<{
|
|
147
318
|
text: z.ZodString;
|
|
@@ -149,6 +320,14 @@ export declare const ConversationIndexSchema: z.ZodObject<{
|
|
|
149
320
|
marks: z.ZodArray<z.ZodObject<{
|
|
150
321
|
card: z.ZodNumber;
|
|
151
322
|
phrase: z.ZodString;
|
|
323
|
+
pen: z.ZodOptional<z.ZodEnum<{
|
|
324
|
+
marker: "marker";
|
|
325
|
+
tint: "tint";
|
|
326
|
+
underline: "underline";
|
|
327
|
+
box: "box";
|
|
328
|
+
circle: "circle";
|
|
329
|
+
}>>;
|
|
330
|
+
said: z.ZodOptional<z.ZodString>;
|
|
152
331
|
}, z.core.$strip>>;
|
|
153
332
|
ask: z.ZodBoolean;
|
|
154
333
|
anchor: z.ZodNullable<z.ZodNumber>;
|
|
@@ -157,17 +336,180 @@ export declare const ConversationIndexSchema: z.ZodObject<{
|
|
|
157
336
|
name: z.ZodString;
|
|
158
337
|
arg: z.ZodOptional<z.ZodString>;
|
|
159
338
|
}, z.core.$strip>>;
|
|
339
|
+
echo: z.ZodOptional<z.ZodObject<{
|
|
340
|
+
word: z.ZodString;
|
|
341
|
+
say: z.ZodOptional<z.ZodLiteral<true>>;
|
|
342
|
+
}, z.core.$strip>>;
|
|
343
|
+
call: z.ZodOptional<z.ZodLiteral<true>>;
|
|
160
344
|
}, z.core.$strip>>;
|
|
161
345
|
partial: z.ZodOptional<z.ZodBoolean>;
|
|
346
|
+
ready: z.ZodOptional<z.ZodNumber>;
|
|
347
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
348
|
+
for: z.ZodEnum<{
|
|
349
|
+
phone: "phone";
|
|
350
|
+
"tablet-portrait": "tablet-portrait";
|
|
351
|
+
"tablet-landscape": "tablet-landscape";
|
|
352
|
+
}>;
|
|
353
|
+
rows: z.ZodArray<z.ZodArray<z.ZodNumber>>;
|
|
354
|
+
}, z.core.$strip>>;
|
|
162
355
|
}, z.core.$strip>>>;
|
|
163
356
|
parentText: z.ZodOptional<z.ZodString>;
|
|
164
357
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
358
|
+
remembered: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
359
|
+
memoryLines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
360
|
+
before: z.ZodNullable<z.ZodString>;
|
|
361
|
+
after: z.ZodNullable<z.ZodString>;
|
|
362
|
+
}, z.core.$strip>>>;
|
|
363
|
+
childLines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
364
|
+
before: z.ZodNullable<z.ZodString>;
|
|
365
|
+
after: z.ZodNullable<z.ZodString>;
|
|
366
|
+
}, z.core.$strip>>>;
|
|
367
|
+
diaryBlock: z.ZodOptional<z.ZodString>;
|
|
368
|
+
memoryProposals: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
369
|
+
item: z.ZodString;
|
|
370
|
+
target: z.ZodEnum<{
|
|
371
|
+
tutor: "tutor";
|
|
372
|
+
child: "child";
|
|
373
|
+
}>;
|
|
374
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
375
|
+
check: z.ZodEnum<{
|
|
376
|
+
verified: "verified";
|
|
377
|
+
unverified: "unverified";
|
|
378
|
+
rejected: "rejected";
|
|
379
|
+
}>;
|
|
380
|
+
}, z.core.$strip>>>;
|
|
381
|
+
pending: z.ZodOptional<z.ZodObject<{
|
|
382
|
+
memory: z.ZodOptional<z.ZodObject<{
|
|
383
|
+
file: z.ZodString;
|
|
384
|
+
base: z.ZodNullable<z.ZodString>;
|
|
385
|
+
hash: z.ZodString;
|
|
386
|
+
changes: z.ZodArray<z.ZodString>;
|
|
387
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
388
|
+
before: z.ZodNullable<z.ZodString>;
|
|
389
|
+
after: z.ZodNullable<z.ZodString>;
|
|
390
|
+
}, z.core.$strip>>;
|
|
391
|
+
}, z.core.$strip>>;
|
|
392
|
+
child: z.ZodOptional<z.ZodObject<{
|
|
393
|
+
file: z.ZodString;
|
|
394
|
+
base: z.ZodNullable<z.ZodString>;
|
|
395
|
+
hash: z.ZodString;
|
|
396
|
+
changes: z.ZodArray<z.ZodString>;
|
|
397
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
398
|
+
before: z.ZodNullable<z.ZodString>;
|
|
399
|
+
after: z.ZodNullable<z.ZodString>;
|
|
400
|
+
}, z.core.$strip>>;
|
|
401
|
+
}, z.core.$strip>>;
|
|
402
|
+
diary: z.ZodOptional<z.ZodObject<{
|
|
403
|
+
file: z.ZodString;
|
|
404
|
+
block: z.ZodString;
|
|
405
|
+
thread: z.ZodString;
|
|
406
|
+
}, z.core.$strip>>;
|
|
407
|
+
}, z.core.$strip>>;
|
|
408
|
+
notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
165
409
|
cards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
166
410
|
card: z.ZodString;
|
|
167
411
|
text: z.ZodString;
|
|
168
412
|
}, z.core.$strip>>>;
|
|
169
|
-
|
|
413
|
+
timing: z.ZodOptional<z.ZodObject<{
|
|
414
|
+
startedAt: z.ZodString;
|
|
415
|
+
warm: z.ZodOptional<z.ZodLiteral<true>>;
|
|
416
|
+
firstCardMs: z.ZodOptional<z.ZodNumber>;
|
|
417
|
+
firstReadyMs: z.ZodOptional<z.ZodNumber>;
|
|
418
|
+
doneMs: z.ZodOptional<z.ZodNumber>;
|
|
419
|
+
beats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
420
|
+
card: z.ZodNullable<z.ZodNumber>;
|
|
421
|
+
closedMs: z.ZodOptional<z.ZodNumber>;
|
|
422
|
+
readyMs: z.ZodOptional<z.ZodNumber>;
|
|
423
|
+
}, z.core.$strip>>>;
|
|
424
|
+
}, z.core.$strip>>;
|
|
425
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
426
|
+
phone: "phone";
|
|
427
|
+
"tablet-portrait": "tablet-portrait";
|
|
428
|
+
"tablet-landscape": "tablet-landscape";
|
|
429
|
+
}>>;
|
|
430
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
431
|
+
bookkeep: z.ZodOptional<z.ZodObject<{
|
|
432
|
+
thread: z.ZodString;
|
|
433
|
+
}, z.core.$strip>>;
|
|
434
|
+
tidy: z.ZodOptional<z.ZodLiteral<true>>;
|
|
435
|
+
compacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
436
|
+
bookkeeping: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
437
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
438
|
+
thread: z.ZodString;
|
|
439
|
+
name: z.ZodString;
|
|
440
|
+
textbook: z.ZodOptional<z.ZodString>;
|
|
441
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
442
|
+
steps: z.ZodOptional<z.ZodString>;
|
|
443
|
+
observations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
444
|
+
asked: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
445
|
+
}, z.core.$strip>>;
|
|
446
|
+
}, z.core.$strip>>>;
|
|
447
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
448
|
+
name: z.ZodString;
|
|
449
|
+
arg: z.ZodString;
|
|
450
|
+
ok: z.ZodNullable<z.ZodBoolean>;
|
|
451
|
+
chars: z.ZodNumber;
|
|
452
|
+
sub: z.ZodOptional<z.ZodBoolean>;
|
|
453
|
+
}, z.core.$strip>>>;
|
|
454
|
+
replayOf: z.ZodOptional<z.ZodString>;
|
|
455
|
+
eval: z.ZodOptional<z.ZodLiteral<true>>;
|
|
456
|
+
live: z.ZodOptional<z.ZodLiteral<true>>;
|
|
457
|
+
lecture: z.ZodOptional<z.ZodObject<{
|
|
458
|
+
bundle: z.ZodString;
|
|
459
|
+
title: z.ZodString;
|
|
460
|
+
watchedMs: z.ZodNumber;
|
|
461
|
+
finished: z.ZodBoolean;
|
|
462
|
+
pauses: z.ZodNumber;
|
|
463
|
+
again: z.ZodOptional<z.ZodLiteral<true>>;
|
|
464
|
+
video: z.ZodOptional<z.ZodLiteral<true>>;
|
|
465
|
+
marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
466
|
+
atMs: z.ZodNumber;
|
|
467
|
+
svgMs: z.ZodNumber;
|
|
468
|
+
strokes: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
469
|
+
text: z.ZodOptional<z.ZodString>;
|
|
470
|
+
image: z.ZodOptional<z.ZodString>;
|
|
471
|
+
t: z.ZodOptional<z.ZodNumber>;
|
|
472
|
+
}, z.core.$strip>>>;
|
|
473
|
+
log: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
474
|
+
t: z.ZodNumber;
|
|
475
|
+
pos: z.ZodNumber;
|
|
476
|
+
play: z.ZodBoolean;
|
|
477
|
+
}, z.core.$strip>>>;
|
|
478
|
+
}, z.core.$strip>>;
|
|
479
|
+
drawing: z.ZodOptional<z.ZodObject<{
|
|
480
|
+
image: z.ZodString;
|
|
481
|
+
strokes: z.ZodNumber;
|
|
482
|
+
colors: z.ZodOptional<z.ZodString>;
|
|
483
|
+
ms: z.ZodOptional<z.ZodNumber>;
|
|
484
|
+
cleared: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
485
|
+
}, z.core.$strip>>;
|
|
486
|
+
via: z.ZodOptional<z.ZodObject<{
|
|
487
|
+
home: z.ZodNullable<z.ZodString>;
|
|
488
|
+
button: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
|
|
489
|
+
check: "check";
|
|
490
|
+
recent: "recent";
|
|
491
|
+
preview: "preview";
|
|
492
|
+
review: "review";
|
|
493
|
+
new: "new";
|
|
494
|
+
}>]>;
|
|
495
|
+
label: z.ZodString;
|
|
496
|
+
}, z.core.$strip>>;
|
|
497
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
498
|
+
name: z.ZodString;
|
|
499
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>]>>;
|
|
500
|
+
}, z.core.$strip>>;
|
|
501
|
+
talk: z.ZodOptional<z.ZodString>;
|
|
502
|
+
continues: z.ZodOptional<z.ZodObject<{
|
|
503
|
+
date: z.ZodString;
|
|
504
|
+
thread: z.ZodString;
|
|
505
|
+
}, z.core.$strip>>;
|
|
170
506
|
}, z.core.$strip>>>;
|
|
171
|
-
|
|
507
|
+
ratings: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
508
|
+
booked: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
172
509
|
}, z.core.$strip>;
|
|
173
510
|
export type ConversationIndex = z.infer<typeof ConversationIndexSchema>;
|
|
511
|
+
/**
|
|
512
|
+
* 每条消息的话题 id(与 messages 对齐)。有 thread 字段照它;没有(旧索引)按规则现算:第一条 = 自己的 job,
|
|
513
|
+
* from: system 的(记账、整理记忆这类)永远开新话题,其余跟前一条。写新消息时 runner 已经填了 thread,这里只是兜底。
|
|
514
|
+
*/
|
|
515
|
+
export declare function threads(messages: readonly Pick<ConversationMessage, 'job' | 'from' | 'thread'>[]): string[];
|