rookery-agent 0.1.0 → 0.3.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/README.md +467 -367
- package/docs/migration.md +88 -88
- package/docs/updates.md +112 -0
- package/package.json +13 -3
- package/packages/cli/dist/commands/config.js +2 -2
- package/packages/cli/dist/commands/doctor.d.ts.map +1 -1
- package/packages/cli/dist/commands/doctor.js +13 -9
- package/packages/cli/dist/commands/doctor.js.map +1 -1
- package/packages/cli/dist/commands/memory.js +1 -1
- package/packages/cli/dist/commands/org.d.ts +2 -2
- package/packages/cli/dist/commands/org.d.ts.map +1 -1
- package/packages/cli/dist/commands/org.js +19 -17
- package/packages/cli/dist/commands/org.js.map +1 -1
- package/packages/cli/dist/commands/serve.js +1 -1
- package/packages/cli/dist/commands/serve.js.map +1 -1
- package/packages/cli/dist/commands/shared.d.ts.map +1 -1
- package/packages/cli/dist/commands/shared.js +2 -1
- package/packages/cli/dist/commands/shared.js.map +1 -1
- package/packages/cli/dist/commands/tasks.d.ts.map +1 -1
- package/packages/cli/dist/commands/tasks.js +25 -11
- package/packages/cli/dist/commands/tasks.js.map +1 -1
- package/packages/cli/dist/commands/tools.js +1 -1
- package/packages/cli/dist/commands/tools.js.map +1 -1
- package/packages/cli/dist/index.js +13 -13
- package/packages/cli/dist/index.js.map +1 -1
- package/packages/cli/dist/repl.d.ts +12 -0
- package/packages/cli/dist/repl.d.ts.map +1 -1
- package/packages/cli/dist/repl.js +170 -16
- package/packages/cli/dist/repl.js.map +1 -1
- package/packages/cli/dist/tui/App.d.ts +7 -3
- package/packages/cli/dist/tui/App.d.ts.map +1 -1
- package/packages/cli/dist/tui/App.js +182 -16
- package/packages/cli/dist/tui/App.js.map +1 -1
- package/packages/cli/dist/tui/commands.d.ts +7 -0
- package/packages/cli/dist/tui/commands.d.ts.map +1 -1
- package/packages/cli/dist/tui/commands.js +70 -8
- package/packages/cli/dist/tui/commands.js.map +1 -1
- package/packages/cli/dist/tui/components/AssignmentsView.js +4 -4
- package/packages/cli/dist/tui/components/AssignmentsView.js.map +1 -1
- package/packages/cli/dist/tui/components/Banner.d.ts +11 -2
- package/packages/cli/dist/tui/components/Banner.d.ts.map +1 -1
- package/packages/cli/dist/tui/components/Banner.js +7 -10
- package/packages/cli/dist/tui/components/Banner.js.map +1 -1
- package/packages/cli/dist/tui/components/CodeBlock.js +2 -2
- package/packages/cli/dist/tui/components/CodeBlock.js.map +1 -1
- package/packages/cli/dist/tui/components/InputBox.d.ts.map +1 -1
- package/packages/cli/dist/tui/components/InputBox.js +4 -4
- package/packages/cli/dist/tui/components/InputBox.js.map +1 -1
- package/packages/cli/dist/tui/components/Logo.d.ts +56 -0
- package/packages/cli/dist/tui/components/Logo.d.ts.map +1 -0
- package/packages/cli/dist/tui/components/Logo.js +50 -0
- package/packages/cli/dist/tui/components/Logo.js.map +1 -0
- package/packages/cli/dist/tui/components/Markdown.js +8 -8
- package/packages/cli/dist/tui/components/Markdown.js.map +1 -1
- package/packages/cli/dist/tui/components/Message.d.ts +1 -1
- package/packages/cli/dist/tui/components/Message.d.ts.map +1 -1
- package/packages/cli/dist/tui/components/Message.js +5 -4
- package/packages/cli/dist/tui/components/Message.js.map +1 -1
- package/packages/cli/dist/tui/components/QuestionView.d.ts +29 -0
- package/packages/cli/dist/tui/components/QuestionView.d.ts.map +1 -0
- package/packages/cli/dist/tui/components/QuestionView.js +53 -0
- package/packages/cli/dist/tui/components/QuestionView.js.map +1 -0
- package/packages/cli/dist/tui/components/SlashPalette.d.ts +5 -2
- package/packages/cli/dist/tui/components/SlashPalette.d.ts.map +1 -1
- package/packages/cli/dist/tui/components/SlashPalette.js +2 -2
- package/packages/cli/dist/tui/components/SlashPalette.js.map +1 -1
- package/packages/cli/dist/tui/components/StatusLine.d.ts +0 -2
- package/packages/cli/dist/tui/components/StatusLine.d.ts.map +1 -1
- package/packages/cli/dist/tui/components/StatusLine.js +8 -5
- package/packages/cli/dist/tui/components/StatusLine.js.map +1 -1
- package/packages/cli/dist/tui/components/ToolGroup.js +2 -2
- package/packages/cli/dist/tui/components/ToolGroup.js.map +1 -1
- package/packages/cli/dist/tui/components/WatchView.d.ts +21 -0
- package/packages/cli/dist/tui/components/WatchView.d.ts.map +1 -0
- package/packages/cli/dist/tui/components/WatchView.js +36 -0
- package/packages/cli/dist/tui/components/WatchView.js.map +1 -0
- package/packages/cli/dist/tui/history.d.ts +20 -0
- package/packages/cli/dist/tui/history.d.ts.map +1 -0
- package/packages/cli/dist/tui/history.js +105 -0
- package/packages/cli/dist/tui/history.js.map +1 -0
- package/packages/cli/dist/tui/hooks/useSlash.d.ts.map +1 -1
- package/packages/cli/dist/tui/hooks/useSlash.js +3 -2
- package/packages/cli/dist/tui/hooks/useSlash.js.map +1 -1
- package/packages/cli/dist/tui/hooks/useTurn.d.ts +58 -1
- package/packages/cli/dist/tui/hooks/useTurn.d.ts.map +1 -1
- package/packages/cli/dist/tui/hooks/useTurn.js +214 -36
- package/packages/cli/dist/tui/hooks/useTurn.js.map +1 -1
- package/packages/cli/dist/tui/hooks/useWatch.d.ts +52 -0
- package/packages/cli/dist/tui/hooks/useWatch.d.ts.map +1 -0
- package/packages/cli/dist/tui/hooks/useWatch.js +145 -0
- package/packages/cli/dist/tui/hooks/useWatch.js.map +1 -0
- package/packages/cli/dist/tui/inkTheme.d.ts +19 -0
- package/packages/cli/dist/tui/inkTheme.d.ts.map +1 -0
- package/packages/cli/dist/tui/inkTheme.js +81 -0
- package/packages/cli/dist/tui/inkTheme.js.map +1 -0
- package/packages/cli/dist/tui/theme.d.ts +39 -29
- package/packages/cli/dist/tui/theme.d.ts.map +1 -1
- package/packages/cli/dist/tui/theme.js +35 -25
- package/packages/cli/dist/tui/theme.js.map +1 -1
- package/packages/cli/dist/tui/types.d.ts +56 -3
- package/packages/cli/dist/tui/types.d.ts.map +1 -1
- package/packages/cli/dist/tui/types.js +85 -0
- package/packages/cli/dist/tui/types.js.map +1 -1
- package/packages/cli/dist/ui/modelNames.d.ts +51 -0
- package/packages/cli/dist/ui/modelNames.d.ts.map +1 -0
- package/packages/cli/dist/ui/modelNames.js +134 -0
- package/packages/cli/dist/ui/modelNames.js.map +1 -0
- package/packages/cli/dist/ui/render.d.ts.map +1 -1
- package/packages/cli/dist/ui/render.js +17 -8
- package/packages/cli/dist/ui/render.js.map +1 -1
- package/packages/cli/dist/ui/speech.js +5 -0
- package/packages/cli/dist/ui/speech.js.map +1 -1
- package/packages/cli/dist/ui/theme.d.ts +33 -9
- package/packages/cli/dist/ui/theme.d.ts.map +1 -1
- package/packages/cli/dist/ui/theme.js +33 -9
- package/packages/cli/dist/ui/theme.js.map +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/core/dist/agents/persona.d.ts.map +1 -1
- package/packages/core/dist/agents/persona.js +5 -2
- package/packages/core/dist/agents/persona.js.map +1 -1
- package/packages/core/dist/computer/accessibility.d.ts +78 -0
- package/packages/core/dist/computer/accessibility.d.ts.map +1 -0
- package/packages/core/dist/computer/accessibility.js +270 -0
- package/packages/core/dist/computer/accessibility.js.map +1 -0
- package/packages/core/dist/computer/assemblies.d.ts +17 -0
- package/packages/core/dist/computer/assemblies.d.ts.map +1 -0
- package/packages/core/dist/computer/assemblies.js +55 -0
- package/packages/core/dist/computer/assemblies.js.map +1 -0
- package/packages/core/dist/computer/browser-init.d.ts +9 -0
- package/packages/core/dist/computer/browser-init.d.ts.map +1 -0
- package/packages/core/dist/computer/browser-init.js +133 -0
- package/packages/core/dist/computer/browser-init.js.map +1 -0
- package/packages/core/dist/computer/cursor.d.ts +30 -0
- package/packages/core/dist/computer/cursor.d.ts.map +1 -0
- package/packages/core/dist/computer/cursor.js +30 -0
- package/packages/core/dist/computer/cursor.js.map +1 -0
- package/packages/core/dist/computer/mcp-server.js +524 -82
- package/packages/core/dist/computer/mcp-server.js.map +1 -1
- package/packages/core/dist/computer/powershell.d.ts +4 -0
- package/packages/core/dist/computer/powershell.d.ts.map +1 -1
- package/packages/core/dist/computer/powershell.js +471 -81
- package/packages/core/dist/computer/powershell.js.map +1 -1
- package/packages/core/dist/computer/screen-text.d.ts +82 -0
- package/packages/core/dist/computer/screen-text.d.ts.map +1 -0
- package/packages/core/dist/computer/screen-text.js +243 -0
- package/packages/core/dist/computer/screen-text.js.map +1 -0
- package/packages/core/dist/computer/sketch.d.ts +66 -0
- package/packages/core/dist/computer/sketch.d.ts.map +1 -0
- package/packages/core/dist/computer/sketch.js +540 -0
- package/packages/core/dist/computer/sketch.js.map +1 -0
- package/packages/core/dist/computer/tools.d.ts +8 -8
- package/packages/core/dist/computer/tools.d.ts.map +1 -1
- package/packages/core/dist/computer/tools.js +186 -31
- package/packages/core/dist/computer/tools.js.map +1 -1
- package/packages/core/dist/computer/validation.d.ts +555 -0
- package/packages/core/dist/computer/validation.d.ts.map +1 -0
- package/packages/core/dist/computer/validation.js +111 -0
- package/packages/core/dist/computer/validation.js.map +1 -0
- package/packages/core/dist/computer/windows-cursor.d.ts +14 -0
- package/packages/core/dist/computer/windows-cursor.d.ts.map +1 -0
- package/packages/core/dist/computer/windows-cursor.js +713 -0
- package/packages/core/dist/computer/windows-cursor.js.map +1 -0
- package/packages/core/dist/config.d.ts +34 -1
- package/packages/core/dist/config.d.ts.map +1 -1
- package/packages/core/dist/config.js +362 -11
- package/packages/core/dist/config.js.map +1 -1
- package/packages/core/dist/cron/scheduler.d.ts +59 -6
- package/packages/core/dist/cron/scheduler.d.ts.map +1 -1
- package/packages/core/dist/cron/scheduler.js +295 -27
- package/packages/core/dist/cron/scheduler.js.map +1 -1
- package/packages/core/dist/cron/store.d.ts +19 -1
- package/packages/core/dist/cron/store.d.ts.map +1 -1
- package/packages/core/dist/cron/store.js +36 -8
- package/packages/core/dist/cron/store.js.map +1 -1
- package/packages/core/dist/external/claude-code.d.ts +4 -0
- package/packages/core/dist/external/claude-code.d.ts.map +1 -0
- package/packages/core/dist/external/claude-code.js +111 -0
- package/packages/core/dist/external/claude-code.js.map +1 -0
- package/packages/core/dist/external/discovery.d.ts +33 -0
- package/packages/core/dist/external/discovery.d.ts.map +1 -0
- package/packages/core/dist/external/discovery.js +144 -0
- package/packages/core/dist/external/discovery.js.map +1 -0
- package/packages/core/dist/external/homes.d.ts +26 -0
- package/packages/core/dist/external/homes.d.ts.map +1 -0
- package/packages/core/dist/external/homes.js +49 -0
- package/packages/core/dist/external/homes.js.map +1 -0
- package/packages/core/dist/external/shared.d.ts +201 -0
- package/packages/core/dist/external/shared.d.ts.map +1 -0
- package/packages/core/dist/external/shared.js +308 -0
- package/packages/core/dist/external/shared.js.map +1 -0
- package/packages/core/dist/gateway/policy.d.ts +117 -2
- package/packages/core/dist/gateway/policy.d.ts.map +1 -1
- package/packages/core/dist/gateway/policy.js +286 -6
- package/packages/core/dist/gateway/policy.js.map +1 -1
- package/packages/core/dist/index.d.ts +38 -12
- package/packages/core/dist/index.d.ts.map +1 -1
- package/packages/core/dist/index.js +66 -12
- package/packages/core/dist/index.js.map +1 -1
- package/packages/core/dist/memory/db.d.ts +1 -1
- package/packages/core/dist/memory/db.d.ts.map +1 -1
- package/packages/core/dist/memory/db.js +878 -1
- package/packages/core/dist/memory/db.js.map +1 -1
- package/packages/core/dist/memory/dream/admission.d.ts +124 -0
- package/packages/core/dist/memory/dream/admission.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/admission.js +116 -0
- package/packages/core/dist/memory/dream/admission.js.map +1 -0
- package/packages/core/dist/memory/dream/candidate.d.ts +152 -0
- package/packages/core/dist/memory/dream/candidate.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/candidate.js +547 -0
- package/packages/core/dist/memory/dream/candidate.js.map +1 -0
- package/packages/core/dist/memory/dream/evaluate.d.ts +394 -0
- package/packages/core/dist/memory/dream/evaluate.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/evaluate.js +1032 -0
- package/packages/core/dist/memory/dream/evaluate.js.map +1 -0
- package/packages/core/dist/memory/dream/frame.d.ts +61 -0
- package/packages/core/dist/memory/dream/frame.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/frame.js +292 -0
- package/packages/core/dist/memory/dream/frame.js.map +1 -0
- package/packages/core/dist/memory/dream/label.d.ts +370 -0
- package/packages/core/dist/memory/dream/label.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/label.js +439 -0
- package/packages/core/dist/memory/dream/label.js.map +1 -0
- package/packages/core/dist/memory/dream/measure.d.ts +114 -0
- package/packages/core/dist/memory/dream/measure.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/measure.js +205 -0
- package/packages/core/dist/memory/dream/measure.js.map +1 -0
- package/packages/core/dist/memory/dream/policy.d.ts +21 -0
- package/packages/core/dist/memory/dream/policy.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/policy.js +157 -0
- package/packages/core/dist/memory/dream/policy.js.map +1 -0
- package/packages/core/dist/memory/dream/probe.d.ts +202 -0
- package/packages/core/dist/memory/dream/probe.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/probe.js +671 -0
- package/packages/core/dist/memory/dream/probe.js.map +1 -0
- package/packages/core/dist/memory/dream/promote.d.ts +312 -0
- package/packages/core/dist/memory/dream/promote.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/promote.js +528 -0
- package/packages/core/dist/memory/dream/promote.js.map +1 -0
- package/packages/core/dist/memory/dream/score.d.ts +103 -0
- package/packages/core/dist/memory/dream/score.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/score.js +334 -0
- package/packages/core/dist/memory/dream/score.js.map +1 -0
- package/packages/core/dist/memory/dream/slots.d.ts +193 -0
- package/packages/core/dist/memory/dream/slots.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/slots.js +0 -0
- package/packages/core/dist/memory/dream/slots.js.map +1 -0
- package/packages/core/dist/memory/dream/trajectory.d.ts +262 -0
- package/packages/core/dist/memory/dream/trajectory.d.ts.map +1 -0
- package/packages/core/dist/memory/dream/trajectory.js +366 -0
- package/packages/core/dist/memory/dream/trajectory.js.map +1 -0
- package/packages/core/dist/memory/extractor.d.ts +7 -0
- package/packages/core/dist/memory/extractor.d.ts.map +1 -1
- package/packages/core/dist/memory/extractor.js +35 -12
- package/packages/core/dist/memory/extractor.js.map +1 -1
- package/packages/core/dist/memory/gate.d.ts +43 -7
- package/packages/core/dist/memory/gate.d.ts.map +1 -1
- package/packages/core/dist/memory/gate.js +91 -4
- package/packages/core/dist/memory/gate.js.map +1 -1
- package/packages/core/dist/memory/recall.d.ts +57 -0
- package/packages/core/dist/memory/recall.d.ts.map +1 -1
- package/packages/core/dist/memory/recall.js +60 -123
- package/packages/core/dist/memory/recall.js.map +1 -1
- package/packages/core/dist/memory/sleep.d.ts +131 -4
- package/packages/core/dist/memory/sleep.d.ts.map +1 -1
- package/packages/core/dist/memory/sleep.js +2384 -65
- package/packages/core/dist/memory/sleep.js.map +1 -1
- package/packages/core/dist/memory/store.d.ts +564 -10
- package/packages/core/dist/memory/store.d.ts.map +1 -1
- package/packages/core/dist/memory/store.js +1673 -102
- package/packages/core/dist/memory/store.js.map +1 -1
- package/packages/core/dist/org/controller.d.ts +268 -4
- package/packages/core/dist/org/controller.d.ts.map +1 -1
- package/packages/core/dist/org/controller.js +2298 -248
- package/packages/core/dist/org/controller.js.map +1 -1
- package/packages/core/dist/org/ponytail.d.ts +1 -1
- package/packages/core/dist/org/ponytail.js +1 -1
- package/packages/core/dist/org/project-mcp.d.ts +3 -3
- package/packages/core/dist/org/prompts.d.ts +44 -30
- package/packages/core/dist/org/prompts.d.ts.map +1 -1
- package/packages/core/dist/org/prompts.js +209 -92
- package/packages/core/dist/org/prompts.js.map +1 -1
- package/packages/core/dist/org/questions.d.ts +104 -0
- package/packages/core/dist/org/questions.d.ts.map +1 -0
- package/packages/core/dist/org/questions.js +136 -0
- package/packages/core/dist/org/questions.js.map +1 -0
- package/packages/core/dist/org/review.d.ts +100 -0
- package/packages/core/dist/org/review.d.ts.map +1 -0
- package/packages/core/dist/org/review.js +256 -0
- package/packages/core/dist/org/review.js.map +1 -0
- package/packages/core/dist/org/store.d.ts +311 -2
- package/packages/core/dist/org/store.d.ts.map +1 -1
- package/packages/core/dist/org/store.js +981 -13
- package/packages/core/dist/org/store.js.map +1 -1
- package/packages/core/dist/org/tools.d.ts +33 -3
- package/packages/core/dist/org/tools.d.ts.map +1 -1
- package/packages/core/dist/org/tools.js +380 -67
- package/packages/core/dist/org/tools.js.map +1 -1
- package/packages/core/dist/providers/catalogue.d.ts +1 -1
- package/packages/core/dist/providers/catalogue.d.ts.map +1 -1
- package/packages/core/dist/providers/catalogue.js +2 -2
- package/packages/core/dist/providers/catalogue.js.map +1 -1
- package/packages/core/dist/providers/claude-code.d.ts +19 -3
- package/packages/core/dist/providers/claude-code.d.ts.map +1 -1
- package/packages/core/dist/providers/claude-code.js +501 -40
- package/packages/core/dist/providers/claude-code.js.map +1 -1
- package/packages/core/dist/providers/claude-tui.d.ts +288 -0
- package/packages/core/dist/providers/claude-tui.d.ts.map +1 -0
- package/packages/core/dist/providers/claude-tui.js +1118 -0
- package/packages/core/dist/providers/claude-tui.js.map +1 -0
- package/packages/core/dist/providers/codex-auth.d.ts +15 -0
- package/packages/core/dist/providers/codex-auth.d.ts.map +1 -0
- package/packages/core/dist/providers/codex-auth.js +127 -0
- package/packages/core/dist/providers/codex-auth.js.map +1 -0
- package/packages/core/dist/providers/codex-bridge.d.ts +58 -0
- package/packages/core/dist/providers/codex-bridge.d.ts.map +1 -0
- package/packages/core/dist/providers/codex-bridge.js +375 -0
- package/packages/core/dist/providers/codex-bridge.js.map +1 -0
- package/packages/core/dist/providers/codex-translate.d.ts +75 -0
- package/packages/core/dist/providers/codex-translate.d.ts.map +1 -0
- package/packages/core/dist/providers/codex-translate.js +383 -0
- package/packages/core/dist/providers/codex-translate.js.map +1 -0
- package/packages/core/dist/providers/model-gateway.d.ts +56 -0
- package/packages/core/dist/providers/model-gateway.d.ts.map +1 -0
- package/packages/core/dist/providers/model-gateway.js +119 -0
- package/packages/core/dist/providers/model-gateway.js.map +1 -0
- package/packages/core/dist/providers/process.d.ts +3 -1
- package/packages/core/dist/providers/process.d.ts.map +1 -1
- package/packages/core/dist/providers/process.js +3 -3
- package/packages/core/dist/providers/process.js.map +1 -1
- package/packages/core/dist/providers/profiles.d.ts +11 -0
- package/packages/core/dist/providers/profiles.d.ts.map +1 -0
- package/packages/core/dist/providers/profiles.js +28 -0
- package/packages/core/dist/providers/profiles.js.map +1 -0
- package/packages/core/dist/providers/provider-catalog.d.ts +72 -0
- package/packages/core/dist/providers/provider-catalog.d.ts.map +1 -0
- package/packages/core/dist/providers/provider-catalog.js +144 -0
- package/packages/core/dist/providers/provider-catalog.js.map +1 -0
- package/packages/core/dist/providers/quota.d.ts +40 -1
- package/packages/core/dist/providers/quota.d.ts.map +1 -1
- package/packages/core/dist/providers/quota.js +288 -25
- package/packages/core/dist/providers/quota.js.map +1 -1
- package/packages/core/dist/providers/registry.d.ts +46 -3
- package/packages/core/dist/providers/registry.d.ts.map +1 -1
- package/packages/core/dist/providers/registry.js +148 -13
- package/packages/core/dist/providers/registry.js.map +1 -1
- package/packages/core/dist/providers/router.d.ts +28 -0
- package/packages/core/dist/providers/router.d.ts.map +1 -0
- package/packages/core/dist/providers/router.js +88 -0
- package/packages/core/dist/providers/router.js.map +1 -0
- package/packages/core/dist/providers/user-settings-guard.d.ts +12 -0
- package/packages/core/dist/providers/user-settings-guard.d.ts.map +1 -0
- package/packages/core/dist/providers/user-settings-guard.js +130 -0
- package/packages/core/dist/providers/user-settings-guard.js.map +1 -0
- package/packages/core/dist/runtime.d.ts +193 -7
- package/packages/core/dist/runtime.d.ts.map +1 -1
- package/packages/core/dist/runtime.js +1676 -219
- package/packages/core/dist/runtime.js.map +1 -1
- package/packages/core/dist/skills/builtin.d.ts +34 -0
- package/packages/core/dist/skills/builtin.d.ts.map +1 -0
- package/packages/core/dist/skills/builtin.js +305 -0
- package/packages/core/dist/skills/builtin.js.map +1 -0
- package/packages/core/dist/skills/shelf.d.ts +30 -0
- package/packages/core/dist/skills/shelf.d.ts.map +1 -0
- package/packages/core/dist/skills/shelf.js +159 -0
- package/packages/core/dist/skills/shelf.js.map +1 -0
- package/packages/core/dist/skills/store.d.ts +66 -4
- package/packages/core/dist/skills/store.d.ts.map +1 -1
- package/packages/core/dist/skills/store.js +105 -18
- package/packages/core/dist/skills/store.js.map +1 -1
- package/packages/core/dist/skills/suggest.d.ts +21 -0
- package/packages/core/dist/skills/suggest.d.ts.map +1 -0
- package/packages/core/dist/skills/suggest.js +150 -0
- package/packages/core/dist/skills/suggest.js.map +1 -0
- package/packages/core/dist/tools/catalog.d.ts +1 -3
- package/packages/core/dist/tools/catalog.d.ts.map +1 -1
- package/packages/core/dist/tools/catalog.js +38 -26
- package/packages/core/dist/tools/catalog.js.map +1 -1
- package/packages/core/dist/tools/hub.d.ts +136 -10
- package/packages/core/dist/tools/hub.d.ts.map +1 -1
- package/packages/core/dist/tools/hub.js +418 -24
- package/packages/core/dist/tools/hub.js.map +1 -1
- package/packages/core/dist/turns/journal.d.ts +78 -0
- package/packages/core/dist/turns/journal.d.ts.map +1 -0
- package/packages/core/dist/turns/journal.js +104 -0
- package/packages/core/dist/turns/journal.js.map +1 -0
- package/packages/core/dist/types.d.ts +1776 -12
- package/packages/core/dist/types.d.ts.map +1 -1
- package/packages/core/dist/types.js.map +1 -1
- package/packages/core/dist/util/blocks.d.ts +41 -0
- package/packages/core/dist/util/blocks.d.ts.map +1 -0
- package/packages/core/dist/util/blocks.js +175 -0
- package/packages/core/dist/util/blocks.js.map +1 -0
- package/packages/core/dist/util/queue.d.ts +12 -0
- package/packages/core/dist/util/queue.d.ts.map +1 -1
- package/packages/core/dist/util/queue.js +16 -0
- package/packages/core/dist/util/queue.js.map +1 -1
- package/packages/core/dist/util/time.d.ts +39 -0
- package/packages/core/dist/util/time.d.ts.map +1 -0
- package/packages/core/dist/util/time.js +71 -0
- package/packages/core/dist/util/time.js.map +1 -0
- package/packages/core/package.json +1 -1
- package/packages/server/dist/auth.d.ts +14 -1
- package/packages/server/dist/auth.d.ts.map +1 -1
- package/packages/server/dist/auth.js +19 -0
- package/packages/server/dist/auth.js.map +1 -1
- package/packages/server/dist/context.d.ts +35 -1
- package/packages/server/dist/context.d.ts.map +1 -1
- package/packages/server/dist/context.js +39 -10
- package/packages/server/dist/context.js.map +1 -1
- package/packages/server/dist/gateways/attachments.d.ts +32 -0
- package/packages/server/dist/gateways/attachments.d.ts.map +1 -0
- package/packages/server/dist/gateways/attachments.js +167 -0
- package/packages/server/dist/gateways/attachments.js.map +1 -0
- package/packages/server/dist/gateways/markdown.d.ts +9 -0
- package/packages/server/dist/gateways/markdown.d.ts.map +1 -0
- package/packages/server/dist/gateways/markdown.js +170 -0
- package/packages/server/dist/gateways/markdown.js.map +1 -0
- package/packages/server/dist/gateways/push.d.ts +1 -1
- package/packages/server/dist/gateways/push.d.ts.map +1 -1
- package/packages/server/dist/gateways/push.js +420 -13
- package/packages/server/dist/gateways/push.js.map +1 -1
- package/packages/server/dist/gateways/telegram-api.d.ts +70 -1
- package/packages/server/dist/gateways/telegram-api.d.ts.map +1 -1
- package/packages/server/dist/gateways/telegram-api.js +140 -1
- package/packages/server/dist/gateways/telegram-api.js.map +1 -1
- package/packages/server/dist/gateways/telegram.d.ts +181 -1
- package/packages/server/dist/gateways/telegram.d.ts.map +1 -1
- package/packages/server/dist/gateways/telegram.js +1572 -78
- package/packages/server/dist/gateways/telegram.js.map +1 -1
- package/packages/server/dist/gateways/threads.d.ts +84 -0
- package/packages/server/dist/gateways/threads.d.ts.map +1 -0
- package/packages/server/dist/gateways/threads.js +289 -0
- package/packages/server/dist/gateways/threads.js.map +1 -0
- package/packages/server/dist/index.d.ts +2 -1
- package/packages/server/dist/index.d.ts.map +1 -1
- package/packages/server/dist/index.js +2 -1
- package/packages/server/dist/index.js.map +1 -1
- package/packages/server/dist/listeners/imap.d.ts +13 -0
- package/packages/server/dist/listeners/imap.d.ts.map +1 -0
- package/packages/server/dist/listeners/imap.js +0 -0
- package/packages/server/dist/listeners/imap.js.map +1 -0
- package/packages/server/dist/listeners/registry.d.ts +18 -0
- package/packages/server/dist/listeners/registry.d.ts.map +1 -0
- package/packages/server/dist/listeners/registry.js +88 -0
- package/packages/server/dist/listeners/registry.js.map +1 -0
- package/packages/server/dist/listeners/types.d.ts +55 -0
- package/packages/server/dist/listeners/types.d.ts.map +1 -0
- package/packages/server/dist/listeners/types.js +2 -0
- package/packages/server/dist/listeners/types.js.map +1 -0
- package/packages/server/dist/main.js +15 -1
- package/packages/server/dist/main.js.map +1 -1
- package/packages/server/dist/routes/chat.d.ts +7 -3
- package/packages/server/dist/routes/chat.d.ts.map +1 -1
- package/packages/server/dist/routes/chat.js +8 -17
- package/packages/server/dist/routes/chat.js.map +1 -1
- package/packages/server/dist/routes/config.d.ts.map +1 -1
- package/packages/server/dist/routes/config.js +66 -7
- package/packages/server/dist/routes/config.js.map +1 -1
- package/packages/server/dist/routes/cron.d.ts.map +1 -1
- package/packages/server/dist/routes/cron.js +65 -8
- package/packages/server/dist/routes/cron.js.map +1 -1
- package/packages/server/dist/routes/dream.d.ts +22 -0
- package/packages/server/dist/routes/dream.d.ts.map +1 -0
- package/packages/server/dist/routes/dream.js +152 -0
- package/packages/server/dist/routes/dream.js.map +1 -0
- package/packages/server/dist/routes/hooks.d.ts +18 -0
- package/packages/server/dist/routes/hooks.d.ts.map +1 -0
- package/packages/server/dist/routes/hooks.js +62 -0
- package/packages/server/dist/routes/hooks.js.map +1 -0
- package/packages/server/dist/routes/listeners.d.ts +10 -0
- package/packages/server/dist/routes/listeners.d.ts.map +1 -0
- package/packages/server/dist/routes/listeners.js +12 -0
- package/packages/server/dist/routes/listeners.js.map +1 -0
- package/packages/server/dist/routes/memories.d.ts.map +1 -1
- package/packages/server/dist/routes/memories.js +55 -3
- package/packages/server/dist/routes/memories.js.map +1 -1
- package/packages/server/dist/routes/org.d.ts.map +1 -1
- package/packages/server/dist/routes/org.js +289 -49
- package/packages/server/dist/routes/org.js.map +1 -1
- package/packages/server/dist/routes/profile.d.ts.map +1 -1
- package/packages/server/dist/routes/profile.js +6 -3
- package/packages/server/dist/routes/profile.js.map +1 -1
- package/packages/server/dist/routes/providers.d.ts.map +1 -1
- package/packages/server/dist/routes/providers.js +66 -7
- package/packages/server/dist/routes/providers.js.map +1 -1
- package/packages/server/dist/routes/questions.d.ts +45 -0
- package/packages/server/dist/routes/questions.d.ts.map +1 -0
- package/packages/server/dist/routes/questions.js +73 -0
- package/packages/server/dist/routes/questions.js.map +1 -0
- package/packages/server/dist/routes/sessions.d.ts.map +1 -1
- package/packages/server/dist/routes/sessions.js +26 -6
- package/packages/server/dist/routes/sessions.js.map +1 -1
- package/packages/server/dist/routes/sleep.d.ts.map +1 -1
- package/packages/server/dist/routes/sleep.js +71 -2
- package/packages/server/dist/routes/sleep.js.map +1 -1
- package/packages/server/dist/routes/terminals.d.ts +25 -0
- package/packages/server/dist/routes/terminals.d.ts.map +1 -0
- package/packages/server/dist/routes/terminals.js +35 -0
- package/packages/server/dist/routes/terminals.js.map +1 -0
- package/packages/server/dist/routes/tools.d.ts.map +1 -1
- package/packages/server/dist/routes/tools.js +140 -6
- package/packages/server/dist/routes/tools.js.map +1 -1
- package/packages/server/dist/routes/updates.d.ts +10 -0
- package/packages/server/dist/routes/updates.d.ts.map +1 -0
- package/packages/server/dist/routes/updates.js +22 -0
- package/packages/server/dist/routes/updates.js.map +1 -0
- package/packages/server/dist/routes/ws.d.ts +11 -5
- package/packages/server/dist/routes/ws.d.ts.map +1 -1
- package/packages/server/dist/routes/ws.js +168 -28
- package/packages/server/dist/routes/ws.js.map +1 -1
- package/packages/server/dist/schemas.d.ts +1177 -215
- package/packages/server/dist/schemas.d.ts.map +1 -1
- package/packages/server/dist/schemas.js +317 -12
- package/packages/server/dist/schemas.js.map +1 -1
- package/packages/server/dist/server.d.ts +7 -1
- package/packages/server/dist/server.d.ts.map +1 -1
- package/packages/server/dist/server.js +210 -3
- package/packages/server/dist/server.js.map +1 -1
- package/packages/server/dist/services/stream.d.ts +94 -5
- package/packages/server/dist/services/stream.d.ts.map +1 -1
- package/packages/server/dist/services/stream.js +9 -20
- package/packages/server/dist/services/stream.js.map +1 -1
- package/packages/server/dist/services/stt.d.ts +65 -0
- package/packages/server/dist/services/stt.d.ts.map +1 -0
- package/packages/server/dist/services/stt.js +306 -0
- package/packages/server/dist/services/stt.js.map +1 -0
- package/packages/server/dist/services/turns.d.ts +54 -0
- package/packages/server/dist/services/turns.d.ts.map +1 -0
- package/packages/server/dist/services/turns.js +186 -0
- package/packages/server/dist/services/turns.js.map +1 -0
- package/packages/server/dist/services/updates.d.ts +99 -0
- package/packages/server/dist/services/updates.d.ts.map +1 -0
- package/packages/server/dist/services/updates.js +316 -0
- package/packages/server/dist/services/updates.js.map +1 -0
- package/packages/server/package.json +1 -1
- package/packages/web/dist/app-icon.svg +2 -0
- package/packages/web/dist/apple-touch-icon.png +0 -0
- package/packages/web/dist/assets/abnfDiagram-O67JEVCF-D7YyFndQ.js +1 -0
- package/packages/web/dist/assets/arc-C_Zgk2dJ.js +1 -0
- package/packages/web/dist/assets/architectureDiagram-NJMV4G6O-eI0adu1B.js +36 -0
- package/packages/web/dist/assets/blockDiagram-BEXU5L5S-WAoOFUA9.js +140 -0
- package/packages/web/dist/assets/c4Diagram-YGBWAQC7-DE8Zyhng.js +38 -0
- package/packages/web/dist/assets/channel-egZxcyUK.js +1 -0
- package/packages/web/dist/assets/chunk-2Q5K7J3B-bnqLP2XD.js +1 -0
- package/packages/web/dist/assets/chunk-3FUC2YCW-Ck1_SVe0.js +2 -0
- package/packages/web/dist/assets/chunk-5VM5RSS4-hDmC41gD.js +15 -0
- package/packages/web/dist/assets/chunk-GTNCS2PH-PoWvfCrT.js +88 -0
- package/packages/web/dist/assets/chunk-GWA4HPMP-D3V0IG43.js +1 -0
- package/packages/web/dist/assets/chunk-JWPE2WC7-BryfpHM5.js +1 -0
- package/packages/web/dist/assets/chunk-NETBCI7D-8ic1iEdT.js +1 -0
- package/packages/web/dist/assets/chunk-WEXAMYUT-nM8tmQT2.js +1 -0
- package/packages/web/dist/assets/chunk-XXDRQBXY-Do28F482.js +1 -0
- package/packages/web/dist/assets/classDiagram-v2-NBCMYWYE-Bop9oNNO.js +217 -0
- package/packages/web/dist/assets/cose-bilkent-JH36ORCC-a7f_bpnt.js +1 -0
- package/packages/web/dist/assets/cynefin-OW5HDTMX-DnArcis_.js +178 -0
- package/packages/web/dist/assets/cynefinDiagram-VND7K2PF-vEuTb1GD.js +62 -0
- package/packages/web/dist/assets/cytoscape.esm-Ix0LnXOy.js +331 -0
- package/packages/web/dist/assets/dagre-6A5THRUB-BgG4MynJ.js +4 -0
- package/packages/web/dist/assets/diagram-22UHCM2B-DRCQpafv.js +200 -0
- package/packages/web/dist/assets/diagram-3UASUU5V-BKgmAXde.js +24 -0
- package/packages/web/dist/assets/diagram-ATOU4E4O-B6Hsy36X.js +3 -0
- package/packages/web/dist/assets/diagram-CDSNMT55-JflyfyoB.js +30 -0
- package/packages/web/dist/assets/diagram-MLGK6HIB-Dd2QPJjT.js +24 -0
- package/packages/web/dist/assets/diagram-MPIPVDR6-DE5QU60x.js +41 -0
- package/packages/web/dist/assets/draco_decoder-C32yEggz.wasm +0 -0
- package/packages/web/dist/assets/draco_decoder-Z1_iN-Ht.wasm +0 -0
- package/packages/web/dist/assets/draco_decoder-fzg4nYZr.js +34 -0
- package/packages/web/dist/assets/draco_wasm_wrapper-DxJM36Ib.js +117 -0
- package/packages/web/dist/assets/draco_wasm_wrapper-fZCQGLGb.js +116 -0
- package/packages/web/dist/assets/ebnfDiagram-ZINNZB2B-D7AQ741b.js +1 -0
- package/packages/web/dist/assets/elk-276RUBZZ-CeewBVLF.js +27 -0
- package/packages/web/dist/assets/erDiagram-OPXOYQCR-mLLYkZ5c.js +99 -0
- package/packages/web/dist/assets/flowDiagram-KWPJA3E3-DtpSpsQN.js +213 -0
- package/packages/web/dist/assets/ganttDiagram-FUAMR5RP-1_lh-3ky.js +292 -0
- package/packages/web/dist/assets/gitGraphDiagram-X574FWY7-DoPXZuT5.js +106 -0
- package/packages/web/dist/assets/graph-Bn3Yngep.js +1 -0
- package/packages/web/dist/assets/index-Cw2Opmx7.js +648 -0
- package/packages/web/dist/assets/index-j0zBRCgT.css +32 -0
- package/packages/web/dist/assets/infoDiagram-VRGFBTTK-DQpRGGiD.js +2 -0
- package/packages/web/dist/assets/ishikawaDiagram-OU5B5YK6-gH5C9Q2e.js +70 -0
- package/packages/web/dist/assets/journeyDiagram-ZHPQQLJL-Bg-oeFjb.js +139 -0
- package/packages/web/dist/assets/kanban-definition-PNTS6WVX-BnpI4VH8.js +89 -0
- package/packages/web/dist/assets/katex-C5jXJg4s.js +257 -0
- package/packages/web/dist/assets/mermaid.core-BwBKxlRA.js +313 -0
- package/packages/web/dist/assets/mindmap-definition-NLK3R4M7-NBnnxEoO.js +96 -0
- package/packages/web/dist/assets/pegDiagram-GJSIUBJH-RrXXbIvO.js +1 -0
- package/packages/web/dist/assets/pieDiagram-5QR66LMP-B27q6Gso.js +39 -0
- package/packages/web/dist/assets/quadrantDiagram-O4NWA36T-DGDsdur2.js +7 -0
- package/packages/web/dist/assets/railroadDiagram-XR7U4H2S-GdjkE3mI.js +1 -0
- package/packages/web/dist/assets/requirementDiagram-PLB6GJNP-DjK0GfgO.js +84 -0
- package/packages/web/dist/assets/sankeyDiagram-IPEJSGJF-BG_AIkwF.js +40 -0
- package/packages/web/dist/assets/scene-D4LPicHk.js +4620 -0
- package/packages/web/dist/assets/sequenceDiagram-PO4LG4MO-CIQwUb4y.js +169 -0
- package/packages/web/dist/assets/sizeCapture-INFHLROL-bpIoPxdJ.js +1 -0
- package/packages/web/dist/assets/stateDiagram-v2-GCMORJYK-8hYXvPPv.js +291 -0
- package/packages/web/dist/assets/swimlanes-2SLR337P-gfflUMF9.js +1 -0
- package/packages/web/dist/assets/swimlanesDiagram-TC7HE7FX-9wdzGXU-.js +8 -0
- package/packages/web/dist/assets/timeline-definition-EJHVYXUP-PHMNoGTZ.js +120 -0
- package/packages/web/dist/assets/usecaseDiagram-POWQR4AR-B2j5iteO.js +370 -0
- package/packages/web/dist/assets/vennDiagram-UO4OBE2U-BzxtZ-_2.js +34 -0
- package/packages/web/dist/assets/wardleyDiagram-VNRHLVJA-DL7YbMpY.js +78 -0
- package/packages/web/dist/assets/xychartDiagram-PMCCYNJV-CisgP1cT.js +7 -0
- package/packages/web/dist/draco/draco_decoder.js +33 -0
- package/packages/web/dist/draco/draco_decoder.wasm +0 -0
- package/packages/web/dist/draco/draco_wasm_wrapper.js +116 -0
- package/packages/web/dist/favicon-16.png +0 -0
- package/packages/web/dist/favicon-32.png +0 -0
- package/packages/web/dist/favicon-48.png +0 -0
- package/packages/web/dist/favicon.ico +0 -0
- package/packages/web/dist/favicon.svg +1 -1
- package/packages/web/dist/icon-192.png +0 -0
- package/packages/web/dist/icon-512.png +0 -0
- package/packages/web/dist/index.html +12 -4
- package/packages/web/dist/logo-light.svg +1 -1
- package/packages/web/dist/logo-mono.svg +2 -0
- package/packages/web/dist/logo-stacked-light.svg +2 -0
- package/packages/web/dist/logo-stacked.svg +2 -0
- package/packages/web/dist/logo-white.svg +2 -0
- package/packages/web/dist/logo.svg +1 -1
- package/packages/web/dist/mark-light.svg +1 -1
- package/packages/web/dist/mark-mono.svg +2 -0
- package/packages/web/dist/mark-small-light.svg +2 -0
- package/packages/web/dist/mark-small.svg +2 -0
- package/packages/web/dist/mark-white.svg +2 -0
- package/packages/web/dist/mark.svg +1 -1
- package/packages/web/dist/models/LICENSE.txt +5 -0
- package/packages/web/dist/models/brain.glb +0 -0
- package/packages/web/dist/site.webmanifest +23 -0
- package/packages/web/dist/wordmark-light.svg +2 -0
- package/packages/web/dist/wordmark.svg +2 -0
- package/packages/web/package.json +1 -1
- package/scripts/rookery.mjs +204 -122
- package/scripts/updater.mjs +227 -0
- package/packages/cli/dist/tui/components/Wordmark.d.ts +0 -35
- package/packages/cli/dist/tui/components/Wordmark.d.ts.map +0 -1
- package/packages/cli/dist/tui/components/Wordmark.js +0 -81
- package/packages/cli/dist/tui/components/Wordmark.js.map +0 -1
- package/packages/core/dist/agents/orchestrator.d.ts +0 -24
- package/packages/core/dist/agents/orchestrator.d.ts.map +0 -1
- package/packages/core/dist/agents/orchestrator.js +0 -88
- package/packages/core/dist/agents/orchestrator.js.map +0 -1
- package/packages/core/dist/agents/roles.d.ts +0 -21
- package/packages/core/dist/agents/roles.d.ts.map +0 -1
- package/packages/core/dist/agents/roles.js +0 -81
- package/packages/core/dist/agents/roles.js.map +0 -1
- package/packages/core/dist/agents/team.d.ts +0 -105
- package/packages/core/dist/agents/team.d.ts.map +0 -1
- package/packages/core/dist/agents/team.js +0 -623
- package/packages/core/dist/agents/team.js.map +0 -1
- package/packages/core/dist/providers/codex.d.ts +0 -10
- package/packages/core/dist/providers/codex.d.ts.map +0 -1
- package/packages/core/dist/providers/codex.js +0 -375
- package/packages/core/dist/providers/codex.js.map +0 -1
- package/packages/core/dist/tools/browser.d.ts +0 -20
- package/packages/core/dist/tools/browser.d.ts.map +0 -1
- package/packages/core/dist/tools/browser.js +0 -72
- package/packages/core/dist/tools/browser.js.map +0 -1
- package/packages/server/dist/routes/agents.d.ts +0 -5
- package/packages/server/dist/routes/agents.d.ts.map +0 -1
- package/packages/server/dist/routes/agents.js +0 -6
- package/packages/server/dist/routes/agents.js.map +0 -1
- package/packages/server/dist/routes/team.d.ts +0 -11
- package/packages/server/dist/routes/team.d.ts.map +0 -1
- package/packages/server/dist/routes/team.js +0 -36
- package/packages/server/dist/routes/team.js.map +0 -1
- package/packages/web/dist/assets/3d-force-graph-BPZmoydi.js +0 -1163
- package/packages/web/dist/assets/index-IBSTzK7-.js +0 -1255
- package/packages/web/dist/assets/index-qUXUui7W.css +0 -1
- package/packages/web/dist/assets/three-spritetext-B9ZIW7c-.js +0 -4
- package/packages/web/dist/assets/three.module-cmFfBtHS.js +0 -4228
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
import type { DreamLabel, DreamLabelScope, Role } from '../../types.js';
|
|
2
|
+
import type { DeltaPosition, GainFunction } from './measure.js';
|
|
3
|
+
/**
|
|
4
|
+
* From the source to the label (dream stage 2, AP4; concept 4).
|
|
5
|
+
*
|
|
6
|
+
* Without this module `dream_labels.relevance` has no writer, and the whole
|
|
7
|
+
* apparatus measures nothing. A label is a tuple
|
|
8
|
+
* `(turnId, target, relevance in {0,1}, source, evidence)` and it claims
|
|
9
|
+
* something about ONE turn: "this memory should have been in this prompt" (1)
|
|
10
|
+
* or "this memory was in this prompt and had no business being there" (0). A
|
|
11
|
+
* label that only says "this memory is generally good" is not a retrieval
|
|
12
|
+
* label - an nDCG over it measures whether recall fetched the globally
|
|
13
|
+
* popular rows, and `coreProfile` delivers exactly those in every turn
|
|
14
|
+
* anyway, without any help from a retrieval policy (concept 4.1).
|
|
15
|
+
*
|
|
16
|
+
* Everything here is pure: no store, no clock, no I/O. `now` is a parameter,
|
|
17
|
+
* the reachable set is a parameter, the threshold is a parameter. The night
|
|
18
|
+
* (AP12) and the HTTP path (AP13) hold the state; this file holds the rules,
|
|
19
|
+
* and that is what makes them testable one trap at a time.
|
|
20
|
+
*
|
|
21
|
+
* The four traps the concept names, and where each is closed:
|
|
22
|
+
*
|
|
23
|
+
* - An ambiguous quote is never guessed at: `locateTurn` answers `null` and
|
|
24
|
+
* the label goes out session-wide, where `gainFrom` refuses it (S3).
|
|
25
|
+
* - A memory that did not yet exist at the turn gets no label at all - an
|
|
26
|
+
* anachronism is not evidence, and `#replay` writes memories in the same
|
|
27
|
+
* night it writes corrections (S4).
|
|
28
|
+
* - `merge` produces negative labels only, over at most one `supersedes`
|
|
29
|
+
* hop, or the label wanders weeks away from what it observed (S7).
|
|
30
|
+
* - `review` writes the sentinel target `'*'`, and it is `gainFrom` that
|
|
31
|
+
* keeps it out of DCG, not the discipline of its callers (S8).
|
|
32
|
+
*
|
|
33
|
+
* The one thing this module cannot fix is the missing-label bias: a memory
|
|
34
|
+
* gets a label only through channels that presuppose the incumbent surfaced
|
|
35
|
+
* it - with the single exception of `correctionLabels`' relevance-1 case,
|
|
36
|
+
* which is the most valuable case in the whole concept. Hence the reporting
|
|
37
|
+
* arithmetic at the bottom: every evaluation states its `labelCoverage` and
|
|
38
|
+
* its `costOnlyShare`, and a delta drawn predominantly from unlabelled
|
|
39
|
+
* positions is not a delta (concept 4.4, S10).
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* A transcript message as the quote locator needs it - the plain shape
|
|
43
|
+
* `getMessages` returns, narrowed to the fields that decide a turn reference.
|
|
44
|
+
* `turnId` is absent on every row written before Schema 24, and a message
|
|
45
|
+
* without one can never anchor a label.
|
|
46
|
+
*/
|
|
47
|
+
export interface LabelMessage {
|
|
48
|
+
id: string;
|
|
49
|
+
role: Role;
|
|
50
|
+
content: string;
|
|
51
|
+
createdAt: number;
|
|
52
|
+
/** The journal's turn id, carried onto the message by AP14. */
|
|
53
|
+
turnId?: string;
|
|
54
|
+
}
|
|
55
|
+
/** The turn a label is anchored at: its id, and when it began. */
|
|
56
|
+
export interface LabelTurn {
|
|
57
|
+
id: string;
|
|
58
|
+
/** Anchors the anachronism lock - a target older than this, or nothing. */
|
|
59
|
+
startedAt: number;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* One row of the frame's reachable set R, as the plain snapshot the frame
|
|
63
|
+
* already holds. `MemoryRecordSnapshot` satisfies this structurally, so a
|
|
64
|
+
* caller passes `Object.values(frame.records)` straight in.
|
|
65
|
+
*/
|
|
66
|
+
export interface LabelTarget {
|
|
67
|
+
id: string;
|
|
68
|
+
content: string;
|
|
69
|
+
createdAt: number;
|
|
70
|
+
}
|
|
71
|
+
/** Where a quote landed in the transcript (concept 4.2a). */
|
|
72
|
+
export interface TurnLocation {
|
|
73
|
+
/** The located turn, or `null` when the quote was not unambiguous. */
|
|
74
|
+
turnId: string | null;
|
|
75
|
+
/** `'turn'` exactly when `turnId` is set; `'session'` otherwise. */
|
|
76
|
+
scope: DreamLabelScope;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Locate a correction's quote in the session transcript (concept 4.2a,
|
|
80
|
+
* step 1).
|
|
81
|
+
*
|
|
82
|
+
* Corrections are born session-wide: `#replay` proves the quote against the
|
|
83
|
+
* glued user text of the whole session and `addCorrection` stores a
|
|
84
|
+
* `session_id`. A label needs a turn, and the only honest way from one to the
|
|
85
|
+
* other is to find the quote again in exactly one user message.
|
|
86
|
+
*
|
|
87
|
+
* Exactly one user message carries it: that message's `turnId`. None, several,
|
|
88
|
+
* or one without a turn id: `null` and `scope: 'session'`. Not a guess - a
|
|
89
|
+
* session-wide label still counts for the label agreement check and for
|
|
90
|
+
* calibration, but never for a `gain` (S3), and a wrong turn reference would
|
|
91
|
+
* pollute both.
|
|
92
|
+
*
|
|
93
|
+
* The containment test is `confirmedBy`, the same standard the night used to
|
|
94
|
+
* admit the quote in the first place: normalised words, every
|
|
95
|
+
* ellipsis-separated fragment an unbroken run, at least two words of
|
|
96
|
+
* substance. Two occurrences INSIDE one message are not ambiguity - they
|
|
97
|
+
* still name one turn - so the count that matters is the count of messages.
|
|
98
|
+
*/
|
|
99
|
+
export declare function locateTurn(messages: readonly LabelMessage[], quote: string): TurnLocation;
|
|
100
|
+
/** What `correctionLabels` needs to turn one correction into labels. */
|
|
101
|
+
export interface CorrectionLabelInput {
|
|
102
|
+
/** The correction sentence `#replay` produced - never its quote. */
|
|
103
|
+
text: string;
|
|
104
|
+
owner: string;
|
|
105
|
+
sessionId: string;
|
|
106
|
+
/** `locateTurn`'s answer, resolved to a turn. `null`: session-wide (S3). */
|
|
107
|
+
turn: LabelTurn | null;
|
|
108
|
+
/**
|
|
109
|
+
* When the session began. It is the anachronism anchor for an ambiguous
|
|
110
|
+
* quote: the session starts no later than any of its turns, so comparing
|
|
111
|
+
* against it is the conservative bound, never the optimistic one.
|
|
112
|
+
*/
|
|
113
|
+
sessionStartedAt: number;
|
|
114
|
+
/** The frame's reachable set R of the anchored turn. */
|
|
115
|
+
reachable: readonly LabelTarget[];
|
|
116
|
+
/** The ids that actually stood in the prompt, in prompt order. */
|
|
117
|
+
prompted: readonly string[];
|
|
118
|
+
/** `gate.duplicateThreshold` - passed in, because this module reads no config. */
|
|
119
|
+
duplicateThreshold: number;
|
|
120
|
+
/** The correction's id. */
|
|
121
|
+
evidence?: string;
|
|
122
|
+
now: number;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* `correction` - the only source that can label a memory that was never
|
|
126
|
+
* delivered (concept 4.2a, step 2).
|
|
127
|
+
*
|
|
128
|
+
* The correction names no memory id, so the arithmetic the gate already owns
|
|
129
|
+
* does the naming: Dice similarity over normalised tokens against the
|
|
130
|
+
* reachable set R of the turn. A hit at or above `duplicateThreshold` on a
|
|
131
|
+
* row that STOOD in the prompt is `relevance = 0` - it was there and it was
|
|
132
|
+
* wrong. A hit on a row that existed at the time of the turn and did NOT
|
|
133
|
+
* stand in the prompt is `relevance = 1`, and that second case is the whole
|
|
134
|
+
* reason this source exists: it labels a target the incumbent failed to
|
|
135
|
+
* deliver, which is the one place the missing-label bias does not reach.
|
|
136
|
+
*
|
|
137
|
+
* The anachronism lock (S4) is not optional. `#replay` writes memories in the
|
|
138
|
+
* same night it writes corrections, and a label on a row that did not exist
|
|
139
|
+
* during the turn is not weak evidence, it is no evidence.
|
|
140
|
+
*
|
|
141
|
+
* The rule is applied per row, exactly as the concept states it: a correction
|
|
142
|
+
* that matches three near-duplicates of the same fact labels all three, and
|
|
143
|
+
* at a threshold of 0.82 that means they really are the same sentence.
|
|
144
|
+
*
|
|
145
|
+
* Zero model calls; one Dice computation per row of R.
|
|
146
|
+
*/
|
|
147
|
+
export declare function correctionLabels(input: CorrectionLabelInput): DreamLabel[];
|
|
148
|
+
/** One prompted row with the condensation `#condense` has just written on it. */
|
|
149
|
+
export interface MergeTarget {
|
|
150
|
+
id: string;
|
|
151
|
+
/** The condensed row that took this one's place. One hop; never followed. */
|
|
152
|
+
supersededBy?: string;
|
|
153
|
+
}
|
|
154
|
+
/** What `mergeLabels` needs for one turn. */
|
|
155
|
+
export interface MergeLabelInput {
|
|
156
|
+
owner: string;
|
|
157
|
+
sessionId?: string;
|
|
158
|
+
/** The turn whose prompt these rows stood in. */
|
|
159
|
+
turnId: string;
|
|
160
|
+
/** The ids that stood in that prompt, in prompt order. */
|
|
161
|
+
prompted: readonly string[];
|
|
162
|
+
/** `superseded_by` per row, as `#condense` left it. */
|
|
163
|
+
targets: readonly MergeTarget[];
|
|
164
|
+
now: number;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* `merge` - cheap, plentiful, and valid in one direction only (concept 4.2c,
|
|
168
|
+
* S7).
|
|
169
|
+
*
|
|
170
|
+
* `#condense` writes a condensed row and sets `superseded_by` on its sources.
|
|
171
|
+
* That says "redundant", not "relevant to this question", which leaves
|
|
172
|
+
* exactly one rule: if two rows stood in ONE prompt and later fell into the
|
|
173
|
+
* same condensation cluster, the worse-placed of the two is proven redundant
|
|
174
|
+
* and gets `relevance = 0`. No positive label can be drawn from this source,
|
|
175
|
+
* and none is written here.
|
|
176
|
+
*
|
|
177
|
+
* At most one `supersedes` hop. The cluster key is a row's own
|
|
178
|
+
* `superseded_by`, never the chain behind it: two rows condensed into
|
|
179
|
+
* different successors that were later condensed into each other are NOT one
|
|
180
|
+
* cluster here, because a label that walks that far has stopped describing
|
|
181
|
+
* the prompt it observed. For the same reason a row that is itself the
|
|
182
|
+
* successor forms no cluster of its own - the claim needs two members that
|
|
183
|
+
* both stood in the prompt.
|
|
184
|
+
*
|
|
185
|
+
* The evidence is the condensed row's id: it is the artefact that proves the
|
|
186
|
+
* redundancy, and it stays resolvable long after the night that wrote it.
|
|
187
|
+
*
|
|
188
|
+
* Zero model calls; one `superseded_by` lookup per frame.
|
|
189
|
+
*/
|
|
190
|
+
export declare function mergeLabels(input: MergeLabelInput): DreamLabel[];
|
|
191
|
+
/** The sentinel target of a `review` label: the trace, not a memory. */
|
|
192
|
+
export declare const REVIEW_TARGET = "*";
|
|
193
|
+
/** What `reviewLabel` needs from `upsertReview` (AP14). */
|
|
194
|
+
export interface ReviewLabelInput {
|
|
195
|
+
owner: string;
|
|
196
|
+
/** The assignment the review scored. It keys the label, in place of a turn. */
|
|
197
|
+
assignmentId: string;
|
|
198
|
+
sessionId?: string;
|
|
199
|
+
/** `overall`, 1 to 5 as `upsertReview` stores it. */
|
|
200
|
+
overall: number;
|
|
201
|
+
/** The review's id and source. */
|
|
202
|
+
evidence?: string;
|
|
203
|
+
now: number;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* `review` - a trace weight, not a `gain` (concept 4.2d, S8).
|
|
207
|
+
*
|
|
208
|
+
* `upsertReview` is the one funnel every review source runs through, but it
|
|
209
|
+
* scores an ASSIGNMENT from 1 to 5, not a memory. There is no observable path
|
|
210
|
+
* from "the assignment went well" to "this memory belonged in the prompt", so
|
|
211
|
+
* this label carries the sentinel target `'*'`, `relevance = (overall - 1)/4`
|
|
212
|
+
* and `scope: 'session'`. It serves the label agreement check as a control
|
|
213
|
+
* quantity and stage 2 as a reward. It is `gainFrom` that keeps it out of
|
|
214
|
+
* DCG - a rule the callers cannot forget.
|
|
215
|
+
*
|
|
216
|
+
* Two warnings that belong to this source and not to this function:
|
|
217
|
+
* `upsertReview` REPLACES the row for the same `(assignmentId, source)` and
|
|
218
|
+
* resets `created_at`, so a reward once attached can later be silently
|
|
219
|
+
* revoked; and an agent never receives a correction through `#replay`, which
|
|
220
|
+
* makes this one blurry source nearly its whole label supply.
|
|
221
|
+
*/
|
|
222
|
+
export declare function reviewLabel(input: ReviewLabelInput): DreamLabel;
|
|
223
|
+
/** What `userLabel` needs from the HTTP path (AP13). */
|
|
224
|
+
export interface UserLabelInput {
|
|
225
|
+
owner: string;
|
|
226
|
+
/** The memory the user acted on. */
|
|
227
|
+
target: string;
|
|
228
|
+
/** 0 for forget/delete/unpin, 1 for pin or an explicit "was the point". */
|
|
229
|
+
relevance: number;
|
|
230
|
+
/**
|
|
231
|
+
* The turn the chat highlight named (S6). Absent for a plain edit on the
|
|
232
|
+
* memory page, which carries no turn at all and lands session-wide.
|
|
233
|
+
*/
|
|
234
|
+
turnId?: string;
|
|
235
|
+
/** The session the edit is attributed to; the key when there is no turn. */
|
|
236
|
+
sessionId: string;
|
|
237
|
+
/** Route name plus actor, as concept 8.3 prescribes for this source. */
|
|
238
|
+
evidence?: string;
|
|
239
|
+
now: number;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* `user` - the only source the retrieval policy has no causal path to
|
|
243
|
+
* (concept 4.2b).
|
|
244
|
+
*
|
|
245
|
+
* The VALUE of this label is independent of recall: the user pinned, unpinned,
|
|
246
|
+
* edited or forgot a row, and none of that is a function of what the policy
|
|
247
|
+
* surfaced. Its ATTRIBUTION is not independent, which is why an edit without
|
|
248
|
+
* a turn is attributed to the session window and never to "the turns that
|
|
249
|
+
* surfaced this memory" - that rule would be a function of the policy, and
|
|
250
|
+
* scoring a policy against its own output measures nothing.
|
|
251
|
+
*
|
|
252
|
+
* The chat highlight is the exception and the reason S6 exists: it already
|
|
253
|
+
* knows which memories this turn surfaced, so a click on it writes a label
|
|
254
|
+
* with a real turn reference. Precision 1 by construction, as long as the
|
|
255
|
+
* user clicks; the open quantity is the volume, and Phase 2 measures it.
|
|
256
|
+
*/
|
|
257
|
+
export declare function userLabel(input: UserLabelInput): DreamLabel;
|
|
258
|
+
/**
|
|
259
|
+
* The sessions a `user` edit at `at` is attributed over: `[at - window, at]`
|
|
260
|
+
* (concept 4.2b, `dream.userLabelWindow`).
|
|
261
|
+
*
|
|
262
|
+
* The window is a parameter like everything else here, and the caller's own
|
|
263
|
+
* clock decides `at` - the night attributes with the correction's timestamp,
|
|
264
|
+
* the HTTP path with the moment of the edit.
|
|
265
|
+
*/
|
|
266
|
+
export declare function sessionsInUserLabelWindow(sessions: readonly {
|
|
267
|
+
id: string;
|
|
268
|
+
at: number;
|
|
269
|
+
}[], at: number, window: number): string[];
|
|
270
|
+
/** `gain(m)` for one turn, plus the contradictions it had to resolve. */
|
|
271
|
+
export interface GainResult {
|
|
272
|
+
gain: GainFunction;
|
|
273
|
+
/**
|
|
274
|
+
* How often two sources claimed different values for the same target. The
|
|
275
|
+
* ranking decides the value, but the disagreement is COUNTED and goes into
|
|
276
|
+
* the label agreement check (concept 5.5b) - never silently overwritten.
|
|
277
|
+
*/
|
|
278
|
+
conflicts: number;
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* Fold the labels of ONE turn into the gain function `measure` consumes
|
|
282
|
+
* (concept 4.1, S2/S3/S8).
|
|
283
|
+
*
|
|
284
|
+
* Three refusals are built in here rather than left to the callers:
|
|
285
|
+
*
|
|
286
|
+
* - `scope: 'session'` never yields a gain. An unlocatable quote claims
|
|
287
|
+
* something about a session, and a session is not a ranked list (S3).
|
|
288
|
+
* - `review` never yields a gain, neither by source nor through its
|
|
289
|
+
* sentinel target. That is the enforcement point named in S8.
|
|
290
|
+
* - A contradiction is resolved by rank and counted, and on equal rank the
|
|
291
|
+
* first label stands. No source silently overwrites another (S2).
|
|
292
|
+
*
|
|
293
|
+
* A label whose target has since died keeps its gain. The row is gone from
|
|
294
|
+
* the frame's deliverable set either way, so dropping it here would only make
|
|
295
|
+
* `reachableRate` look better than the bank is - and the whole point of
|
|
296
|
+
* `dead_at` over deletion is that a removal stays visible (concept 8.3).
|
|
297
|
+
*
|
|
298
|
+
* Precondition: every label belongs to the same turn. The caller holds the
|
|
299
|
+
* turn; this function keys on the target alone, so labels of two turns folded
|
|
300
|
+
* together would count contradictions that never met.
|
|
301
|
+
*/
|
|
302
|
+
export declare function gainFrom(labels: readonly DreamLabel[]): GainResult;
|
|
303
|
+
/**
|
|
304
|
+
* `label_coverage` - the share of the compared positions for which a label
|
|
305
|
+
* could exist at all (concept 4.4, S10).
|
|
306
|
+
*
|
|
307
|
+
* `positions` is the union of the top-k of every compared arm; the universe
|
|
308
|
+
* is the set of targets the session window knows a label for. Below
|
|
309
|
+
* `dream.coverageFloor` an evaluation cannot tell a real delta from missing
|
|
310
|
+
* labels, and AP8 declares it invalid rather than reporting it.
|
|
311
|
+
*
|
|
312
|
+
* An empty position list covers nothing and returns 0, the same answer
|
|
313
|
+
* `measure` gives for an empty block - a rate over no positions is not a
|
|
314
|
+
* rate, and returning 1 would let a vacuous evaluation clear the floor.
|
|
315
|
+
*/
|
|
316
|
+
export declare function labelCoverage(positions: readonly string[], labelledUniverse: ReadonlySet<string>): number;
|
|
317
|
+
/**
|
|
318
|
+
* `cost_only_share` - the share of traces whose delta came from the cost term
|
|
319
|
+
* alone (concept 4.4, S10).
|
|
320
|
+
*
|
|
321
|
+
* One entry per paired trace: the positions where the two arms differ, each
|
|
322
|
+
* carrying whether a label could exist for it. A trace on which no labelled
|
|
323
|
+
* position moved is `no-labelled-move` - the arms agreed on everything that
|
|
324
|
+
* could be judged, and whatever is left is block length. Above
|
|
325
|
+
* `dream.costOnlyCeiling` the delta is not a delta.
|
|
326
|
+
*/
|
|
327
|
+
export declare function costOnlyShare(deltaPositions: readonly (readonly DeltaPosition[])[]): number;
|
|
328
|
+
/** Two sources' values for one target they both labelled. */
|
|
329
|
+
export interface RatingPair {
|
|
330
|
+
/** `turnId` and `target`, the key both sources had to agree on to pair. */
|
|
331
|
+
turnId: string;
|
|
332
|
+
target: string;
|
|
333
|
+
a: number;
|
|
334
|
+
b: number;
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* Pair two label sources on the targets they both judged (concept 5.5b).
|
|
338
|
+
*
|
|
339
|
+
* Session-wide labels take part: they carry the session id in `turnId`, so
|
|
340
|
+
* they pair with each other and never with a turn label - which is exactly
|
|
341
|
+
* the intent, since they count for the agreement check and never for a score.
|
|
342
|
+
* Duplicates within one source keep their first value; the store's primary
|
|
343
|
+
* key `(turn_id, target, source)` makes that case impossible in practice.
|
|
344
|
+
*/
|
|
345
|
+
export declare function pairedRatings(a: readonly DreamLabel[], b: readonly DreamLabel[]): RatingPair[];
|
|
346
|
+
/**
|
|
347
|
+
* Plain pairwise agreement between two label sources: the share of common
|
|
348
|
+
* targets they gave the same value.
|
|
349
|
+
*
|
|
350
|
+
* `null` when the two share no target - that is undetermined, not
|
|
351
|
+
* disagreement, and the same distinction `DreamEval.signAgree` draws. Thin
|
|
352
|
+
* `user` labels are a finding in their own right, not a zero (concept 5.5b).
|
|
353
|
+
*/
|
|
354
|
+
export declare function pairwiseAgreement(a: readonly DreamLabel[], b: readonly DreamLabel[]): number | null;
|
|
355
|
+
/**
|
|
356
|
+
* Cohen's kappa between two label sources over their common targets
|
|
357
|
+
* (concept 5.5b): observed agreement corrected for the agreement two raters
|
|
358
|
+
* would reach by chance alone, given how often each of them used each value.
|
|
359
|
+
*
|
|
360
|
+
* `null` when it is undefined: no common target, or chance agreement of
|
|
361
|
+
* exactly 1 because both sources used a single value throughout. That second
|
|
362
|
+
* case is the one worth naming - `merge` writes nothing but zeroes, so a
|
|
363
|
+
* comparison against it is degenerate by construction and the caller falls
|
|
364
|
+
* back to `pairwiseAgreement` instead of reading a fabricated number.
|
|
365
|
+
*
|
|
366
|
+
* Values are compared as they stand; with `relevance in {0,1}` from every
|
|
367
|
+
* source but `review`, the categories are the two the concept assumes.
|
|
368
|
+
*/
|
|
369
|
+
export declare function cohensKappa(a: readonly DreamLabel[], b: readonly DreamLabel[]): number | null;
|
|
370
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/memory/dream/label.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,eAAe,EAIf,IAAI,EACL,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAIH;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,IAAI,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