@project-ava-supernova/core 0.2.71
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/dist/agent/agent.d.ts +623 -0
- package/dist/agent/agent.d.ts.map +1 -0
- package/dist/agent/agent.js +3558 -0
- package/dist/agent/agent.js.map +1 -0
- package/dist/agent/claims-auditor.d.ts +54 -0
- package/dist/agent/claims-auditor.d.ts.map +1 -0
- package/dist/agent/claims-auditor.js +125 -0
- package/dist/agent/claims-auditor.js.map +1 -0
- package/dist/agent/context-continuity.d.ts +125 -0
- package/dist/agent/context-continuity.d.ts.map +1 -0
- package/dist/agent/context-continuity.js +231 -0
- package/dist/agent/context-continuity.js.map +1 -0
- package/dist/agent/conversation.d.ts +26 -0
- package/dist/agent/conversation.d.ts.map +1 -0
- package/dist/agent/conversation.js +86 -0
- package/dist/agent/conversation.js.map +1 -0
- package/dist/agent/design-reinjection.d.ts +93 -0
- package/dist/agent/design-reinjection.d.ts.map +1 -0
- package/dist/agent/design-reinjection.js +235 -0
- package/dist/agent/design-reinjection.js.map +1 -0
- package/dist/agent/error-loop-detector.d.ts +59 -0
- package/dist/agent/error-loop-detector.d.ts.map +1 -0
- package/dist/agent/error-loop-detector.js +124 -0
- package/dist/agent/error-loop-detector.js.map +1 -0
- package/dist/agent/fresh-eyes.d.ts +52 -0
- package/dist/agent/fresh-eyes.d.ts.map +1 -0
- package/dist/agent/fresh-eyes.js +118 -0
- package/dist/agent/fresh-eyes.js.map +1 -0
- package/dist/agent/intent-classifier.d.ts +51 -0
- package/dist/agent/intent-classifier.d.ts.map +1 -0
- package/dist/agent/intent-classifier.js +125 -0
- package/dist/agent/intent-classifier.js.map +1 -0
- package/dist/agent/post-edit-verify.d.ts +79 -0
- package/dist/agent/post-edit-verify.d.ts.map +1 -0
- package/dist/agent/post-edit-verify.js +143 -0
- package/dist/agent/post-edit-verify.js.map +1 -0
- package/dist/agent/recover-written-calls.d.ts +90 -0
- package/dist/agent/recover-written-calls.d.ts.map +1 -0
- package/dist/agent/recover-written-calls.js +257 -0
- package/dist/agent/recover-written-calls.js.map +1 -0
- package/dist/agent/social-craft.d.ts +76 -0
- package/dist/agent/social-craft.d.ts.map +1 -0
- package/dist/agent/social-craft.js +210 -0
- package/dist/agent/social-craft.js.map +1 -0
- package/dist/agent/stop-command.d.ts +23 -0
- package/dist/agent/stop-command.d.ts.map +1 -0
- package/dist/agent/stop-command.js +59 -0
- package/dist/agent/stop-command.js.map +1 -0
- package/dist/agent/system-prompt.d.ts +125 -0
- package/dist/agent/system-prompt.d.ts.map +1 -0
- package/dist/agent/system-prompt.js +1334 -0
- package/dist/agent/system-prompt.js.map +1 -0
- package/dist/agent/task-classifier.d.ts +50 -0
- package/dist/agent/task-classifier.d.ts.map +1 -0
- package/dist/agent/task-classifier.js +187 -0
- package/dist/agent/task-classifier.js.map +1 -0
- package/dist/agent/text-tool-parser.d.ts +34 -0
- package/dist/agent/text-tool-parser.d.ts.map +1 -0
- package/dist/agent/text-tool-parser.js +96 -0
- package/dist/agent/text-tool-parser.js.map +1 -0
- package/dist/agent/vision-bridge.d.ts +29 -0
- package/dist/agent/vision-bridge.d.ts.map +1 -0
- package/dist/agent/vision-bridge.js +143 -0
- package/dist/agent/vision-bridge.js.map +1 -0
- package/dist/audit/cost.d.ts +18 -0
- package/dist/audit/cost.d.ts.map +1 -0
- package/dist/audit/cost.js +170 -0
- package/dist/audit/cost.js.map +1 -0
- package/dist/audit/export.d.ts +30 -0
- package/dist/audit/export.d.ts.map +1 -0
- package/dist/audit/export.js +155 -0
- package/dist/audit/export.js.map +1 -0
- package/dist/audit/index.d.ts +11 -0
- package/dist/audit/index.d.ts.map +1 -0
- package/dist/audit/index.js +9 -0
- package/dist/audit/index.js.map +1 -0
- package/dist/audit/integrity.d.ts +7 -0
- package/dist/audit/integrity.d.ts.map +1 -0
- package/dist/audit/integrity.js +78 -0
- package/dist/audit/integrity.js.map +1 -0
- package/dist/audit/logger.d.ts +18 -0
- package/dist/audit/logger.d.ts.map +1 -0
- package/dist/audit/logger.js +113 -0
- package/dist/audit/logger.js.map +1 -0
- package/dist/audit/patterns.d.ts +34 -0
- package/dist/audit/patterns.d.ts.map +1 -0
- package/dist/audit/patterns.js +104 -0
- package/dist/audit/patterns.js.map +1 -0
- package/dist/audit/security.d.ts +8 -0
- package/dist/audit/security.d.ts.map +1 -0
- package/dist/audit/security.js +56 -0
- package/dist/audit/security.js.map +1 -0
- package/dist/audit/summary.d.ts +22 -0
- package/dist/audit/summary.d.ts.map +1 -0
- package/dist/audit/summary.js +51 -0
- package/dist/audit/summary.js.map +1 -0
- package/dist/audit/types.d.ts +104 -0
- package/dist/audit/types.d.ts.map +1 -0
- package/dist/audit/types.js +11 -0
- package/dist/audit/types.js.map +1 -0
- package/dist/auto/aurora-router.d.ts +71 -0
- package/dist/auto/aurora-router.d.ts.map +1 -0
- package/dist/auto/aurora-router.js +138 -0
- package/dist/auto/aurora-router.js.map +1 -0
- package/dist/auto/auto-coordinator.d.ts +232 -0
- package/dist/auto/auto-coordinator.d.ts.map +1 -0
- package/dist/auto/auto-coordinator.js +1260 -0
- package/dist/auto/auto-coordinator.js.map +1 -0
- package/dist/auto/brief-generator.d.ts +10 -0
- package/dist/auto/brief-generator.d.ts.map +1 -0
- package/dist/auto/brief-generator.js +67 -0
- package/dist/auto/brief-generator.js.map +1 -0
- package/dist/auto/changes-summary.d.ts +19 -0
- package/dist/auto/changes-summary.d.ts.map +1 -0
- package/dist/auto/changes-summary.js +45 -0
- package/dist/auto/changes-summary.js.map +1 -0
- package/dist/auto/context-tracker.d.ts +27 -0
- package/dist/auto/context-tracker.d.ts.map +1 -0
- package/dist/auto/context-tracker.js +56 -0
- package/dist/auto/context-tracker.js.map +1 -0
- package/dist/auto/coordinator-model.d.ts +31 -0
- package/dist/auto/coordinator-model.d.ts.map +1 -0
- package/dist/auto/coordinator-model.js +68 -0
- package/dist/auto/coordinator-model.js.map +1 -0
- package/dist/auto/index.d.ts +12 -0
- package/dist/auto/index.d.ts.map +1 -0
- package/dist/auto/index.js +11 -0
- package/dist/auto/index.js.map +1 -0
- package/dist/auto/intent-gate.d.ts +85 -0
- package/dist/auto/intent-gate.d.ts.map +1 -0
- package/dist/auto/intent-gate.js +247 -0
- package/dist/auto/intent-gate.js.map +1 -0
- package/dist/auto/longxiang-router.d.ts +123 -0
- package/dist/auto/longxiang-router.d.ts.map +1 -0
- package/dist/auto/longxiang-router.js +184 -0
- package/dist/auto/longxiang-router.js.map +1 -0
- package/dist/auto/model-router.d.ts +42 -0
- package/dist/auto/model-router.d.ts.map +1 -0
- package/dist/auto/model-router.js +208 -0
- package/dist/auto/model-router.js.map +1 -0
- package/dist/auto/routing-modes.d.ts +33 -0
- package/dist/auto/routing-modes.d.ts.map +1 -0
- package/dist/auto/routing-modes.js +34 -0
- package/dist/auto/routing-modes.js.map +1 -0
- package/dist/auto/supernova-router.d.ts +50 -0
- package/dist/auto/supernova-router.d.ts.map +1 -0
- package/dist/auto/supernova-router.js +116 -0
- package/dist/auto/supernova-router.js.map +1 -0
- package/dist/auto/task-classifier.d.ts +10 -0
- package/dist/auto/task-classifier.d.ts.map +1 -0
- package/dist/auto/task-classifier.js +116 -0
- package/dist/auto/task-classifier.js.map +1 -0
- package/dist/auto/task-executor.d.ts +86 -0
- package/dist/auto/task-executor.d.ts.map +1 -0
- package/dist/auto/task-executor.js +271 -0
- package/dist/auto/task-executor.js.map +1 -0
- package/dist/auto/types.d.ts +57 -0
- package/dist/auto/types.d.ts.map +1 -0
- package/dist/auto/types.js +2 -0
- package/dist/auto/types.js.map +1 -0
- package/dist/awareness/tick-engine.d.ts +73 -0
- package/dist/awareness/tick-engine.d.ts.map +1 -0
- package/dist/awareness/tick-engine.js +156 -0
- package/dist/awareness/tick-engine.js.map +1 -0
- package/dist/billing/credits.d.ts +213 -0
- package/dist/billing/credits.d.ts.map +1 -0
- package/dist/billing/credits.js +535 -0
- package/dist/billing/credits.js.map +1 -0
- package/dist/billing/meter.d.ts +43 -0
- package/dist/billing/meter.d.ts.map +1 -0
- package/dist/billing/meter.js +67 -0
- package/dist/billing/meter.js.map +1 -0
- package/dist/billing/plans.d.ts +34 -0
- package/dist/billing/plans.d.ts.map +1 -0
- package/dist/billing/plans.js +108 -0
- package/dist/billing/plans.js.map +1 -0
- package/dist/briefing/briefing-engine.d.ts +51 -0
- package/dist/briefing/briefing-engine.d.ts.map +1 -0
- package/dist/briefing/briefing-engine.js +289 -0
- package/dist/briefing/briefing-engine.js.map +1 -0
- package/dist/briefing/index.d.ts +3 -0
- package/dist/briefing/index.d.ts.map +1 -0
- package/dist/briefing/index.js +2 -0
- package/dist/briefing/index.js.map +1 -0
- package/dist/briefing/types.d.ts +49 -0
- package/dist/briefing/types.d.ts.map +1 -0
- package/dist/briefing/types.js +8 -0
- package/dist/briefing/types.js.map +1 -0
- package/dist/checkpoint/checkpoint-manager.d.ts +33 -0
- package/dist/checkpoint/checkpoint-manager.d.ts.map +1 -0
- package/dist/checkpoint/checkpoint-manager.js +144 -0
- package/dist/checkpoint/checkpoint-manager.js.map +1 -0
- package/dist/config/config.d.ts +10 -0
- package/dist/config/config.d.ts.map +1 -0
- package/dist/config/config.js +169 -0
- package/dist/config/config.js.map +1 -0
- package/dist/config/personality.d.ts +32 -0
- package/dist/config/personality.d.ts.map +1 -0
- package/dist/config/personality.js +96 -0
- package/dist/config/personality.js.map +1 -0
- package/dist/config/project-config.d.ts +17 -0
- package/dist/config/project-config.d.ts.map +1 -0
- package/dist/config/project-config.js +38 -0
- package/dist/config/project-config.js.map +1 -0
- package/dist/config/project.d.ts +155 -0
- package/dist/config/project.d.ts.map +1 -0
- package/dist/config/project.js +746 -0
- package/dist/config/project.js.map +1 -0
- package/dist/config/schema.d.ts +61 -0
- package/dist/config/schema.d.ts.map +1 -0
- package/dist/config/schema.js +11 -0
- package/dist/config/schema.js.map +1 -0
- package/dist/core/constants.d.ts +13 -0
- package/dist/core/constants.d.ts.map +1 -0
- package/dist/core/constants.js +15 -0
- package/dist/core/constants.js.map +1 -0
- package/dist/core/dates.d.ts +35 -0
- package/dist/core/dates.d.ts.map +1 -0
- package/dist/core/dates.js +45 -0
- package/dist/core/dates.js.map +1 -0
- package/dist/core/errors.d.ts +27 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/errors.js +172 -0
- package/dist/core/errors.js.map +1 -0
- package/dist/core/file-lock.d.ts +22 -0
- package/dist/core/file-lock.d.ts.map +1 -0
- package/dist/core/file-lock.js +120 -0
- package/dist/core/file-lock.js.map +1 -0
- package/dist/core/logger.d.ts +9 -0
- package/dist/core/logger.d.ts.map +1 -0
- package/dist/core/logger.js +32 -0
- package/dist/core/logger.js.map +1 -0
- package/dist/core/types.d.ts +157 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +13 -0
- package/dist/core/types.js.map +1 -0
- package/dist/creative/index.d.ts +50 -0
- package/dist/creative/index.d.ts.map +1 -0
- package/dist/creative/index.js +178 -0
- package/dist/creative/index.js.map +1 -0
- package/dist/dataset/capture.d.ts +15 -0
- package/dist/dataset/capture.d.ts.map +1 -0
- package/dist/dataset/capture.js +203 -0
- package/dist/dataset/capture.js.map +1 -0
- package/dist/dataset/config.d.ts +33 -0
- package/dist/dataset/config.d.ts.map +1 -0
- package/dist/dataset/config.js +60 -0
- package/dist/dataset/config.js.map +1 -0
- package/dist/dataset/consumer.d.ts +33 -0
- package/dist/dataset/consumer.d.ts.map +1 -0
- package/dist/dataset/consumer.js +97 -0
- package/dist/dataset/consumer.js.map +1 -0
- package/dist/dataset/emitter.d.ts +153 -0
- package/dist/dataset/emitter.d.ts.map +1 -0
- package/dist/dataset/emitter.js +157 -0
- package/dist/dataset/emitter.js.map +1 -0
- package/dist/dataset/events.d.ts +360 -0
- package/dist/dataset/events.d.ts.map +1 -0
- package/dist/dataset/events.js +30 -0
- package/dist/dataset/events.js.map +1 -0
- package/dist/dataset/generation-emit.d.ts +72 -0
- package/dist/dataset/generation-emit.d.ts.map +1 -0
- package/dist/dataset/generation-emit.js +94 -0
- package/dist/dataset/generation-emit.js.map +1 -0
- package/dist/dataset/redactor.d.ts +22 -0
- package/dist/dataset/redactor.d.ts.map +1 -0
- package/dist/dataset/redactor.js +68 -0
- package/dist/dataset/redactor.js.map +1 -0
- package/dist/dataset/routing.d.ts +17 -0
- package/dist/dataset/routing.d.ts.map +1 -0
- package/dist/dataset/routing.js +77 -0
- package/dist/dataset/routing.js.map +1 -0
- package/dist/dataset/summarizers.d.ts +47 -0
- package/dist/dataset/summarizers.d.ts.map +1 -0
- package/dist/dataset/summarizers.js +98 -0
- package/dist/dataset/summarizers.js.map +1 -0
- package/dist/dataset/verification.d.ts +29 -0
- package/dist/dataset/verification.d.ts.map +1 -0
- package/dist/dataset/verification.js +70 -0
- package/dist/dataset/verification.js.map +1 -0
- package/dist/desktop/budget.d.ts +66 -0
- package/dist/desktop/budget.d.ts.map +1 -0
- package/dist/desktop/budget.js +159 -0
- package/dist/desktop/budget.js.map +1 -0
- package/dist/desktop/capability.d.ts +28 -0
- package/dist/desktop/capability.d.ts.map +1 -0
- package/dist/desktop/capability.js +39 -0
- package/dist/desktop/capability.js.map +1 -0
- package/dist/desktop/conductor.d.ts +104 -0
- package/dist/desktop/conductor.d.ts.map +1 -0
- package/dist/desktop/conductor.js +876 -0
- package/dist/desktop/conductor.js.map +1 -0
- package/dist/desktop/fork-points.d.ts +56 -0
- package/dist/desktop/fork-points.d.ts.map +1 -0
- package/dist/desktop/fork-points.js +138 -0
- package/dist/desktop/fork-points.js.map +1 -0
- package/dist/desktop/index.d.ts +22 -0
- package/dist/desktop/index.d.ts.map +1 -0
- package/dist/desktop/index.js +21 -0
- package/dist/desktop/index.js.map +1 -0
- package/dist/desktop/perception.d.ts +24 -0
- package/dist/desktop/perception.d.ts.map +1 -0
- package/dist/desktop/perception.js +106 -0
- package/dist/desktop/perception.js.map +1 -0
- package/dist/desktop/personas.d.ts +30 -0
- package/dist/desktop/personas.d.ts.map +1 -0
- package/dist/desktop/personas.js +206 -0
- package/dist/desktop/personas.js.map +1 -0
- package/dist/desktop/safety.d.ts +86 -0
- package/dist/desktop/safety.d.ts.map +1 -0
- package/dist/desktop/safety.js +272 -0
- package/dist/desktop/safety.js.map +1 -0
- package/dist/desktop/screen-key.d.ts +54 -0
- package/dist/desktop/screen-key.d.ts.map +1 -0
- package/dist/desktop/screen-key.js +187 -0
- package/dist/desktop/screen-key.js.map +1 -0
- package/dist/desktop/types.d.ts +141 -0
- package/dist/desktop/types.d.ts.map +1 -0
- package/dist/desktop/types.js +8 -0
- package/dist/desktop/types.js.map +1 -0
- package/dist/docs/adapter.d.ts +71 -0
- package/dist/docs/adapter.d.ts.map +1 -0
- package/dist/docs/adapter.js +75 -0
- package/dist/docs/adapter.js.map +1 -0
- package/dist/docs/content/concepts.d.ts +3 -0
- package/dist/docs/content/concepts.d.ts.map +1 -0
- package/dist/docs/content/concepts.js +304 -0
- package/dist/docs/content/concepts.js.map +1 -0
- package/dist/docs/content/features.d.ts +3 -0
- package/dist/docs/content/features.d.ts.map +1 -0
- package/dist/docs/content/features.js +275 -0
- package/dist/docs/content/features.js.map +1 -0
- package/dist/docs/content/index.d.ts +3 -0
- package/dist/docs/content/index.d.ts.map +1 -0
- package/dist/docs/content/index.js +15 -0
- package/dist/docs/content/index.js.map +1 -0
- package/dist/docs/content/reference.d.ts +3 -0
- package/dist/docs/content/reference.d.ts.map +1 -0
- package/dist/docs/content/reference.js +220 -0
- package/dist/docs/content/reference.js.map +1 -0
- package/dist/docs/content/start.d.ts +3 -0
- package/dist/docs/content/start.d.ts.map +1 -0
- package/dist/docs/content/start.js +203 -0
- package/dist/docs/content/start.js.map +1 -0
- package/dist/docs/content/troubleshooting.d.ts +3 -0
- package/dist/docs/content/troubleshooting.d.ts.map +1 -0
- package/dist/docs/content/troubleshooting.js +98 -0
- package/dist/docs/content/troubleshooting.js.map +1 -0
- package/dist/docs/corpus.d.ts +7 -0
- package/dist/docs/corpus.d.ts.map +1 -0
- package/dist/docs/corpus.js +18 -0
- package/dist/docs/corpus.js.map +1 -0
- package/dist/docs/data/capabilities.d.ts +24 -0
- package/dist/docs/data/capabilities.d.ts.map +1 -0
- package/dist/docs/data/capabilities.js +63 -0
- package/dist/docs/data/capabilities.js.map +1 -0
- package/dist/docs/data/modes.d.ts +11 -0
- package/dist/docs/data/modes.d.ts.map +1 -0
- package/dist/docs/data/modes.js +60 -0
- package/dist/docs/data/modes.js.map +1 -0
- package/dist/docs/data/permissions.d.ts +12 -0
- package/dist/docs/data/permissions.d.ts.map +1 -0
- package/dist/docs/data/permissions.js +62 -0
- package/dist/docs/data/permissions.js.map +1 -0
- package/dist/docs/data/personas.d.ts +13 -0
- package/dist/docs/data/personas.d.ts.map +1 -0
- package/dist/docs/data/personas.js +42 -0
- package/dist/docs/data/personas.js.map +1 -0
- package/dist/docs/data/providers.d.ts +21 -0
- package/dist/docs/data/providers.d.ts.map +1 -0
- package/dist/docs/data/providers.js +210 -0
- package/dist/docs/data/providers.js.map +1 -0
- package/dist/docs/data/shortcuts.d.ts +9 -0
- package/dist/docs/data/shortcuts.d.ts.map +1 -0
- package/dist/docs/data/shortcuts.js +18 -0
- package/dist/docs/data/shortcuts.js.map +1 -0
- package/dist/docs/data/tasks.d.ts +17 -0
- package/dist/docs/data/tasks.d.ts.map +1 -0
- package/dist/docs/data/tasks.js +64 -0
- package/dist/docs/data/tasks.js.map +1 -0
- package/dist/docs/data/tools.d.ts +12 -0
- package/dist/docs/data/tools.d.ts.map +1 -0
- package/dist/docs/data/tools.js +100 -0
- package/dist/docs/data/tools.js.map +1 -0
- package/dist/docs/filter.d.ts +35 -0
- package/dist/docs/filter.d.ts.map +1 -0
- package/dist/docs/filter.js +68 -0
- package/dist/docs/filter.js.map +1 -0
- package/dist/docs/i18n/translations.d.ts +2 -0
- package/dist/docs/i18n/translations.d.ts.map +1 -0
- package/dist/docs/i18n/translations.js +4 -0
- package/dist/docs/i18n/translations.js.map +1 -0
- package/dist/docs/i18n.d.ts +15 -0
- package/dist/docs/i18n.d.ts.map +1 -0
- package/dist/docs/i18n.js +88 -0
- package/dist/docs/i18n.js.map +1 -0
- package/dist/docs/index.d.ts +16 -0
- package/dist/docs/index.d.ts.map +1 -0
- package/dist/docs/index.js +15 -0
- package/dist/docs/index.js.map +1 -0
- package/dist/docs/product-knowledge.d.ts +45 -0
- package/dist/docs/product-knowledge.d.ts.map +1 -0
- package/dist/docs/product-knowledge.js +147 -0
- package/dist/docs/product-knowledge.js.map +1 -0
- package/dist/docs/types.d.ts +138 -0
- package/dist/docs/types.d.ts.map +1 -0
- package/dist/docs/types.js +14 -0
- package/dist/docs/types.js.map +1 -0
- package/dist/events/event-detector.d.ts +39 -0
- package/dist/events/event-detector.d.ts.map +1 -0
- package/dist/events/event-detector.js +223 -0
- package/dist/events/event-detector.js.map +1 -0
- package/dist/events/index.d.ts +3 -0
- package/dist/events/index.d.ts.map +1 -0
- package/dist/events/index.js +2 -0
- package/dist/events/index.js.map +1 -0
- package/dist/events/types.d.ts +35 -0
- package/dist/events/types.d.ts.map +1 -0
- package/dist/events/types.js +8 -0
- package/dist/events/types.js.map +1 -0
- package/dist/exercises/index.d.ts +249 -0
- package/dist/exercises/index.d.ts.map +1 -0
- package/dist/exercises/index.js +181 -0
- package/dist/exercises/index.js.map +1 -0
- package/dist/health/aisles.d.ts +33 -0
- package/dist/health/aisles.d.ts.map +1 -0
- package/dist/health/aisles.js +417 -0
- package/dist/health/aisles.js.map +1 -0
- package/dist/health/cooking.d.ts +13 -0
- package/dist/health/cooking.d.ts.map +1 -0
- package/dist/health/cooking.js +19 -0
- package/dist/health/cooking.js.map +1 -0
- package/dist/health/duplicate.d.ts +47 -0
- package/dist/health/duplicate.d.ts.map +1 -0
- package/dist/health/duplicate.js +136 -0
- package/dist/health/duplicate.js.map +1 -0
- package/dist/health/index.d.ts +7 -0
- package/dist/health/index.d.ts.map +1 -0
- package/dist/health/index.js +10 -0
- package/dist/health/index.js.map +1 -0
- package/dist/health/node-store.d.ts +30 -0
- package/dist/health/node-store.d.ts.map +1 -0
- package/dist/health/node-store.js +250 -0
- package/dist/health/node-store.js.map +1 -0
- package/dist/health/prep.d.ts +86 -0
- package/dist/health/prep.d.ts.map +1 -0
- package/dist/health/prep.js +152 -0
- package/dist/health/prep.js.map +1 -0
- package/dist/health/profile-fields.d.ts +46 -0
- package/dist/health/profile-fields.d.ts.map +1 -0
- package/dist/health/profile-fields.js +194 -0
- package/dist/health/profile-fields.js.map +1 -0
- package/dist/health/session-store.d.ts +30 -0
- package/dist/health/session-store.d.ts.map +1 -0
- package/dist/health/session-store.js +20 -0
- package/dist/health/session-store.js.map +1 -0
- package/dist/health/session-summary.d.ts +10 -0
- package/dist/health/session-summary.d.ts.map +1 -0
- package/dist/health/session-summary.js +106 -0
- package/dist/health/session-summary.js.map +1 -0
- package/dist/health/session-types.d.ts +74 -0
- package/dist/health/session-types.d.ts.map +1 -0
- package/dist/health/session-types.js +53 -0
- package/dist/health/session-types.js.map +1 -0
- package/dist/health/shopping-list.d.ts +226 -0
- package/dist/health/shopping-list.d.ts.map +1 -0
- package/dist/health/shopping-list.js +432 -0
- package/dist/health/shopping-list.js.map +1 -0
- package/dist/health/starters.d.ts +155 -0
- package/dist/health/starters.d.ts.map +1 -0
- package/dist/health/starters.js +270 -0
- package/dist/health/starters.js.map +1 -0
- package/dist/health/store.d.ts +59 -0
- package/dist/health/store.d.ts.map +1 -0
- package/dist/health/store.js +17 -0
- package/dist/health/store.js.map +1 -0
- package/dist/health/types.d.ts +213 -0
- package/dist/health/types.d.ts.map +1 -0
- package/dist/health/types.js +11 -0
- package/dist/health/types.js.map +1 -0
- package/dist/history/conversation-title.d.ts +67 -0
- package/dist/history/conversation-title.d.ts.map +1 -0
- package/dist/history/conversation-title.js +184 -0
- package/dist/history/conversation-title.js.map +1 -0
- package/dist/history/history-manager.d.ts +50 -0
- package/dist/history/history-manager.d.ts.map +1 -0
- package/dist/history/history-manager.js +168 -0
- package/dist/history/history-manager.js.map +1 -0
- package/dist/history/storage.d.ts +41 -0
- package/dist/history/storage.d.ts.map +1 -0
- package/dist/history/storage.js +133 -0
- package/dist/history/storage.js.map +1 -0
- package/dist/i18n/index.d.ts +41 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +188 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/i18n/keep-english.d.ts +12 -0
- package/dist/i18n/keep-english.d.ts.map +1 -0
- package/dist/i18n/keep-english.js +351 -0
- package/dist/i18n/keep-english.js.map +1 -0
- package/dist/i18n/locales/ar.d.ts +4 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -0
- package/dist/i18n/locales/ar.js +4143 -0
- package/dist/i18n/locales/ar.js.map +1 -0
- package/dist/i18n/locales/de.d.ts +4 -0
- package/dist/i18n/locales/de.d.ts.map +1 -0
- package/dist/i18n/locales/de.js +4133 -0
- package/dist/i18n/locales/de.js.map +1 -0
- package/dist/i18n/locales/en.d.ts +4068 -0
- package/dist/i18n/locales/en.d.ts.map +1 -0
- package/dist/i18n/locales/en.js +4347 -0
- package/dist/i18n/locales/en.js.map +1 -0
- package/dist/i18n/locales/es.d.ts +4 -0
- package/dist/i18n/locales/es.d.ts.map +1 -0
- package/dist/i18n/locales/es.js +4128 -0
- package/dist/i18n/locales/es.js.map +1 -0
- package/dist/i18n/locales/fr.d.ts +4 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -0
- package/dist/i18n/locales/fr.js +4140 -0
- package/dist/i18n/locales/fr.js.map +1 -0
- package/dist/i18n/locales/hi.d.ts +4 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -0
- package/dist/i18n/locales/hi.js +4143 -0
- package/dist/i18n/locales/hi.js.map +1 -0
- package/dist/i18n/locales/id.d.ts +4 -0
- package/dist/i18n/locales/id.d.ts.map +1 -0
- package/dist/i18n/locales/id.js +4142 -0
- package/dist/i18n/locales/id.js.map +1 -0
- package/dist/i18n/locales/it.d.ts +4 -0
- package/dist/i18n/locales/it.d.ts.map +1 -0
- package/dist/i18n/locales/it.js +4143 -0
- package/dist/i18n/locales/it.js.map +1 -0
- package/dist/i18n/locales/ja.d.ts +4 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -0
- package/dist/i18n/locales/ja.js +4144 -0
- package/dist/i18n/locales/ja.js.map +1 -0
- package/dist/i18n/locales/ko.d.ts +4 -0
- package/dist/i18n/locales/ko.d.ts.map +1 -0
- package/dist/i18n/locales/ko.js +4143 -0
- package/dist/i18n/locales/ko.js.map +1 -0
- package/dist/i18n/locales/nl.d.ts +4 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -0
- package/dist/i18n/locales/nl.js +4143 -0
- package/dist/i18n/locales/nl.js.map +1 -0
- package/dist/i18n/locales/pl.d.ts +4 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -0
- package/dist/i18n/locales/pl.js +4133 -0
- package/dist/i18n/locales/pl.js.map +1 -0
- package/dist/i18n/locales/pt.d.ts +4 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -0
- package/dist/i18n/locales/pt.js +4141 -0
- package/dist/i18n/locales/pt.js.map +1 -0
- package/dist/i18n/locales/ru.d.ts +4 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -0
- package/dist/i18n/locales/ru.js +4143 -0
- package/dist/i18n/locales/ru.js.map +1 -0
- package/dist/i18n/locales/th.d.ts +4 -0
- package/dist/i18n/locales/th.d.ts.map +1 -0
- package/dist/i18n/locales/th.js +4143 -0
- package/dist/i18n/locales/th.js.map +1 -0
- package/dist/i18n/locales/tr.d.ts +4 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -0
- package/dist/i18n/locales/tr.js +4143 -0
- package/dist/i18n/locales/tr.js.map +1 -0
- package/dist/i18n/locales/uk.d.ts +4 -0
- package/dist/i18n/locales/uk.d.ts.map +1 -0
- package/dist/i18n/locales/uk.js +4133 -0
- package/dist/i18n/locales/uk.js.map +1 -0
- package/dist/i18n/locales/vi.d.ts +4 -0
- package/dist/i18n/locales/vi.d.ts.map +1 -0
- package/dist/i18n/locales/vi.js +4143 -0
- package/dist/i18n/locales/vi.js.map +1 -0
- package/dist/i18n/locales/zh-CN.d.ts +4 -0
- package/dist/i18n/locales/zh-CN.d.ts.map +1 -0
- package/dist/i18n/locales/zh-CN.js +4133 -0
- package/dist/i18n/locales/zh-CN.js.map +1 -0
- package/dist/i18n/locales/zh-TW.d.ts +4 -0
- package/dist/i18n/locales/zh-TW.d.ts.map +1 -0
- package/dist/i18n/locales/zh-TW.js +4143 -0
- package/dist/i18n/locales/zh-TW.js.map +1 -0
- package/dist/i18n/types.d.ts +5 -0
- package/dist/i18n/types.d.ts.map +1 -0
- package/dist/i18n/types.js +46 -0
- package/dist/i18n/types.js.map +1 -0
- package/dist/index.d.ts +142 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +159 -0
- package/dist/index.js.map +1 -0
- package/dist/indexer/project-indexer.d.ts +66 -0
- package/dist/indexer/project-indexer.d.ts.map +1 -0
- package/dist/indexer/project-indexer.js +574 -0
- package/dist/indexer/project-indexer.js.map +1 -0
- package/dist/indexer/symbol-indexer.d.ts +56 -0
- package/dist/indexer/symbol-indexer.d.ts.map +1 -0
- package/dist/indexer/symbol-indexer.js +579 -0
- package/dist/indexer/symbol-indexer.js.map +1 -0
- package/dist/journal/journal-manager.d.ts +143 -0
- package/dist/journal/journal-manager.d.ts.map +1 -0
- package/dist/journal/journal-manager.js +472 -0
- package/dist/journal/journal-manager.js.map +1 -0
- package/dist/journal/platform-sync.d.ts +17 -0
- package/dist/journal/platform-sync.d.ts.map +1 -0
- package/dist/journal/platform-sync.js +21 -0
- package/dist/journal/platform-sync.js.map +1 -0
- package/dist/journal/types.d.ts +78 -0
- package/dist/journal/types.d.ts.map +1 -0
- package/dist/journal/types.js +74 -0
- package/dist/journal/types.js.map +1 -0
- package/dist/knowledge/index.d.ts +2 -0
- package/dist/knowledge/index.d.ts.map +1 -0
- package/dist/knowledge/index.js +2 -0
- package/dist/knowledge/index.js.map +1 -0
- package/dist/learning/index.d.ts +6 -0
- package/dist/learning/index.d.ts.map +1 -0
- package/dist/learning/index.js +9 -0
- package/dist/learning/index.js.map +1 -0
- package/dist/learning/learner-context.d.ts +11 -0
- package/dist/learning/learner-context.d.ts.map +1 -0
- package/dist/learning/learner-context.js +57 -0
- package/dist/learning/learner-context.js.map +1 -0
- package/dist/learning/library-fork.d.ts +33 -0
- package/dist/learning/library-fork.d.ts.map +1 -0
- package/dist/learning/library-fork.js +92 -0
- package/dist/learning/library-fork.js.map +1 -0
- package/dist/learning/progression-export.d.ts +4 -0
- package/dist/learning/progression-export.d.ts.map +1 -0
- package/dist/learning/progression-export.js +21 -0
- package/dist/learning/progression-export.js.map +1 -0
- package/dist/learning/progression-markdown.d.ts +14 -0
- package/dist/learning/progression-markdown.d.ts.map +1 -0
- package/dist/learning/progression-markdown.js +73 -0
- package/dist/learning/progression-markdown.js.map +1 -0
- package/dist/learning/progression.d.ts +65 -0
- package/dist/learning/progression.d.ts.map +1 -0
- package/dist/learning/progression.js +186 -0
- package/dist/learning/progression.js.map +1 -0
- package/dist/memory/ambient-capture.d.ts +26 -0
- package/dist/memory/ambient-capture.d.ts.map +1 -0
- package/dist/memory/ambient-capture.js +174 -0
- package/dist/memory/ambient-capture.js.map +1 -0
- package/dist/memory/auto-extract.d.ts +54 -0
- package/dist/memory/auto-extract.d.ts.map +1 -0
- package/dist/memory/auto-extract.js +499 -0
- package/dist/memory/auto-extract.js.map +1 -0
- package/dist/memory/config.d.ts +47 -0
- package/dist/memory/config.d.ts.map +1 -0
- package/dist/memory/config.js +52 -0
- package/dist/memory/config.js.map +1 -0
- package/dist/memory/consolidation.d.ts +60 -0
- package/dist/memory/consolidation.d.ts.map +1 -0
- package/dist/memory/consolidation.js +311 -0
- package/dist/memory/consolidation.js.map +1 -0
- package/dist/memory/embedding-service.d.ts +50 -0
- package/dist/memory/embedding-service.d.ts.map +1 -0
- package/dist/memory/embedding-service.js +86 -0
- package/dist/memory/embedding-service.js.map +1 -0
- package/dist/memory/embedding-store.d.ts +31 -0
- package/dist/memory/embedding-store.d.ts.map +1 -0
- package/dist/memory/embedding-store.js +109 -0
- package/dist/memory/embedding-store.js.map +1 -0
- package/dist/memory/graph-engine.d.ts +145 -0
- package/dist/memory/graph-engine.d.ts.map +1 -0
- package/dist/memory/graph-engine.js +628 -0
- package/dist/memory/graph-engine.js.map +1 -0
- package/dist/memory/insights.d.ts +39 -0
- package/dist/memory/insights.d.ts.map +1 -0
- package/dist/memory/insights.js +138 -0
- package/dist/memory/insights.js.map +1 -0
- package/dist/memory/memory-agent.d.ts +93 -0
- package/dist/memory/memory-agent.d.ts.map +1 -0
- package/dist/memory/memory-agent.js +475 -0
- package/dist/memory/memory-agent.js.map +1 -0
- package/dist/memory/memory-manager.d.ts +232 -0
- package/dist/memory/memory-manager.d.ts.map +1 -0
- package/dist/memory/memory-manager.js +1633 -0
- package/dist/memory/memory-manager.js.map +1 -0
- package/dist/memory/migration-v3.d.ts +22 -0
- package/dist/memory/migration-v3.d.ts.map +1 -0
- package/dist/memory/migration-v3.js +193 -0
- package/dist/memory/migration-v3.js.map +1 -0
- package/dist/memory/mode-recall.d.ts +20 -0
- package/dist/memory/mode-recall.d.ts.map +1 -0
- package/dist/memory/mode-recall.js +104 -0
- package/dist/memory/mode-recall.js.map +1 -0
- package/dist/memory/patterns.d.ts +92 -0
- package/dist/memory/patterns.d.ts.map +1 -0
- package/dist/memory/patterns.js +389 -0
- package/dist/memory/patterns.js.map +1 -0
- package/dist/memory/platform-sync.d.ts +54 -0
- package/dist/memory/platform-sync.d.ts.map +1 -0
- package/dist/memory/platform-sync.js +176 -0
- package/dist/memory/platform-sync.js.map +1 -0
- package/dist/memory/procedural.d.ts +47 -0
- package/dist/memory/procedural.d.ts.map +1 -0
- package/dist/memory/procedural.js +182 -0
- package/dist/memory/procedural.js.map +1 -0
- package/dist/memory/project-brain.d.ts +27 -0
- package/dist/memory/project-brain.d.ts.map +1 -0
- package/dist/memory/project-brain.js +158 -0
- package/dist/memory/project-brain.js.map +1 -0
- package/dist/memory/self-improvement.d.ts +45 -0
- package/dist/memory/self-improvement.d.ts.map +1 -0
- package/dist/memory/self-improvement.js +178 -0
- package/dist/memory/self-improvement.js.map +1 -0
- package/dist/memory/tfidf.d.ts +71 -0
- package/dist/memory/tfidf.d.ts.map +1 -0
- package/dist/memory/tfidf.js +223 -0
- package/dist/memory/tfidf.js.map +1 -0
- package/dist/memory/training-export.d.ts +51 -0
- package/dist/memory/training-export.d.ts.map +1 -0
- package/dist/memory/training-export.js +122 -0
- package/dist/memory/training-export.js.map +1 -0
- package/dist/memory/types.d.ts +380 -0
- package/dist/memory/types.d.ts.map +1 -0
- package/dist/memory/types.js +99 -0
- package/dist/memory/types.js.map +1 -0
- package/dist/news/index.d.ts +163 -0
- package/dist/news/index.d.ts.map +1 -0
- package/dist/news/index.js +184 -0
- package/dist/news/index.js.map +1 -0
- package/dist/papers/arxiv-client.d.ts +21 -0
- package/dist/papers/arxiv-client.d.ts.map +1 -0
- package/dist/papers/arxiv-client.js +130 -0
- package/dist/papers/arxiv-client.js.map +1 -0
- package/dist/papers/crossref-client.d.ts +3 -0
- package/dist/papers/crossref-client.d.ts.map +1 -0
- package/dist/papers/crossref-client.js +96 -0
- package/dist/papers/crossref-client.js.map +1 -0
- package/dist/papers/discipline.d.ts +19 -0
- package/dist/papers/discipline.d.ts.map +1 -0
- package/dist/papers/discipline.js +96 -0
- package/dist/papers/discipline.js.map +1 -0
- package/dist/papers/index.d.ts +10 -0
- package/dist/papers/index.d.ts.map +1 -0
- package/dist/papers/index.js +7 -0
- package/dist/papers/index.js.map +1 -0
- package/dist/papers/openalex-client.d.ts +13 -0
- package/dist/papers/openalex-client.d.ts.map +1 -0
- package/dist/papers/openalex-client.js +206 -0
- package/dist/papers/openalex-client.js.map +1 -0
- package/dist/papers/paper-fetcher.d.ts +37 -0
- package/dist/papers/paper-fetcher.d.ts.map +1 -0
- package/dist/papers/paper-fetcher.js +75 -0
- package/dist/papers/paper-fetcher.js.map +1 -0
- package/dist/papers/types.d.ts +80 -0
- package/dist/papers/types.d.ts.map +1 -0
- package/dist/papers/types.js +25 -0
- package/dist/papers/types.js.map +1 -0
- package/dist/personas/conductor.d.ts +184 -0
- package/dist/personas/conductor.d.ts.map +1 -0
- package/dist/personas/conductor.js +871 -0
- package/dist/personas/conductor.js.map +1 -0
- package/dist/personas/definitions.d.ts +48 -0
- package/dist/personas/definitions.d.ts.map +1 -0
- package/dist/personas/definitions.js +828 -0
- package/dist/personas/definitions.js.map +1 -0
- package/dist/personas/index.d.ts +4 -0
- package/dist/personas/index.d.ts.map +1 -0
- package/dist/personas/index.js +3 -0
- package/dist/personas/index.js.map +1 -0
- package/dist/personas/types.d.ts +148 -0
- package/dist/personas/types.d.ts.map +1 -0
- package/dist/personas/types.js +5 -0
- package/dist/personas/types.js.map +1 -0
- package/dist/personas/verification-matrix.d.ts +44 -0
- package/dist/personas/verification-matrix.d.ts.map +1 -0
- package/dist/personas/verification-matrix.js +232 -0
- package/dist/personas/verification-matrix.js.map +1 -0
- package/dist/portability/bundle.d.ts +80 -0
- package/dist/portability/bundle.d.ts.map +1 -0
- package/dist/portability/bundle.js +155 -0
- package/dist/portability/bundle.js.map +1 -0
- package/dist/portability/crypto.d.ts +42 -0
- package/dist/portability/crypto.d.ts.map +1 -0
- package/dist/portability/crypto.js +89 -0
- package/dist/portability/crypto.js.map +1 -0
- package/dist/portability/data-types.d.ts +54 -0
- package/dist/portability/data-types.d.ts.map +1 -0
- package/dist/portability/data-types.js +281 -0
- package/dist/portability/data-types.js.map +1 -0
- package/dist/portability/index.d.ts +35 -0
- package/dist/portability/index.d.ts.map +1 -0
- package/dist/portability/index.js +41 -0
- package/dist/portability/index.js.map +1 -0
- package/dist/providers/base-provider.d.ts +65 -0
- package/dist/providers/base-provider.d.ts.map +1 -0
- package/dist/providers/base-provider.js +305 -0
- package/dist/providers/base-provider.js.map +1 -0
- package/dist/providers/catalog.d.ts +25 -0
- package/dist/providers/catalog.d.ts.map +1 -0
- package/dist/providers/catalog.js +53 -0
- package/dist/providers/catalog.js.map +1 -0
- package/dist/providers/deepseek/index.d.ts +9 -0
- package/dist/providers/deepseek/index.d.ts.map +1 -0
- package/dist/providers/deepseek/index.js +19 -0
- package/dist/providers/deepseek/index.js.map +1 -0
- package/dist/providers/deepseek/models.d.ts +3 -0
- package/dist/providers/deepseek/models.d.ts.map +1 -0
- package/dist/providers/deepseek/models.js +56 -0
- package/dist/providers/deepseek/models.js.map +1 -0
- package/dist/providers/generic/index.d.ts +25 -0
- package/dist/providers/generic/index.d.ts.map +1 -0
- package/dist/providers/generic/index.js +51 -0
- package/dist/providers/generic/index.js.map +1 -0
- package/dist/providers/generic/models.d.ts +3 -0
- package/dist/providers/generic/models.d.ts.map +1 -0
- package/dist/providers/generic/models.js +13 -0
- package/dist/providers/generic/models.js.map +1 -0
- package/dist/providers/health-tracker.d.ts +44 -0
- package/dist/providers/health-tracker.d.ts.map +1 -0
- package/dist/providers/health-tracker.js +110 -0
- package/dist/providers/health-tracker.js.map +1 -0
- package/dist/providers/kimi/index.d.ts +9 -0
- package/dist/providers/kimi/index.d.ts.map +1 -0
- package/dist/providers/kimi/index.js +13 -0
- package/dist/providers/kimi/index.js.map +1 -0
- package/dist/providers/kimi/models.d.ts +3 -0
- package/dist/providers/kimi/models.d.ts.map +1 -0
- package/dist/providers/kimi/models.js +60 -0
- package/dist/providers/kimi/models.js.map +1 -0
- package/dist/providers/minimax/index.d.ts +9 -0
- package/dist/providers/minimax/index.d.ts.map +1 -0
- package/dist/providers/minimax/index.js +13 -0
- package/dist/providers/minimax/index.js.map +1 -0
- package/dist/providers/minimax/models.d.ts +3 -0
- package/dist/providers/minimax/models.d.ts.map +1 -0
- package/dist/providers/minimax/models.js +65 -0
- package/dist/providers/minimax/models.js.map +1 -0
- package/dist/providers/mistral/index.d.ts +11 -0
- package/dist/providers/mistral/index.d.ts.map +1 -0
- package/dist/providers/mistral/index.js +24 -0
- package/dist/providers/mistral/index.js.map +1 -0
- package/dist/providers/mistral/models.d.ts +3 -0
- package/dist/providers/mistral/models.d.ts.map +1 -0
- package/dist/providers/mistral/models.js +65 -0
- package/dist/providers/mistral/models.js.map +1 -0
- package/dist/providers/nvidia/index.d.ts +16 -0
- package/dist/providers/nvidia/index.d.ts.map +1 -0
- package/dist/providers/nvidia/index.js +20 -0
- package/dist/providers/nvidia/index.js.map +1 -0
- package/dist/providers/nvidia/models.d.ts +3 -0
- package/dist/providers/nvidia/models.d.ts.map +1 -0
- package/dist/providers/nvidia/models.js +56 -0
- package/dist/providers/nvidia/models.js.map +1 -0
- package/dist/providers/platform/index.d.ts +10 -0
- package/dist/providers/platform/index.d.ts.map +1 -0
- package/dist/providers/platform/index.js +16 -0
- package/dist/providers/platform/index.js.map +1 -0
- package/dist/providers/platform/models.d.ts +3 -0
- package/dist/providers/platform/models.d.ts.map +1 -0
- package/dist/providers/platform/models.js +233 -0
- package/dist/providers/platform/models.js.map +1 -0
- package/dist/providers/provider-registry.d.ts +44 -0
- package/dist/providers/provider-registry.d.ts.map +1 -0
- package/dist/providers/provider-registry.js +197 -0
- package/dist/providers/provider-registry.js.map +1 -0
- package/dist/providers/qwen/index.d.ts +9 -0
- package/dist/providers/qwen/index.d.ts.map +1 -0
- package/dist/providers/qwen/index.js +13 -0
- package/dist/providers/qwen/index.js.map +1 -0
- package/dist/providers/qwen/models.d.ts +3 -0
- package/dist/providers/qwen/models.d.ts.map +1 -0
- package/dist/providers/qwen/models.js +164 -0
- package/dist/providers/qwen/models.js.map +1 -0
- package/dist/providers/request-shaping/index.d.ts +29 -0
- package/dist/providers/request-shaping/index.d.ts.map +1 -0
- package/dist/providers/request-shaping/index.js +31 -0
- package/dist/providers/request-shaping/index.js.map +1 -0
- package/dist/providers/request-shaping/messages.d.ts +61 -0
- package/dist/providers/request-shaping/messages.d.ts.map +1 -0
- package/dist/providers/request-shaping/messages.js +114 -0
- package/dist/providers/request-shaping/messages.js.map +1 -0
- package/dist/providers/request-shaping/model-ids.d.ts +44 -0
- package/dist/providers/request-shaping/model-ids.d.ts.map +1 -0
- package/dist/providers/request-shaping/model-ids.js +96 -0
- package/dist/providers/request-shaping/model-ids.js.map +1 -0
- package/dist/providers/request-shaping/params.d.ts +38 -0
- package/dist/providers/request-shaping/params.d.ts.map +1 -0
- package/dist/providers/request-shaping/params.js +79 -0
- package/dist/providers/request-shaping/params.js.map +1 -0
- package/dist/providers/resilient-provider.d.ts +44 -0
- package/dist/providers/resilient-provider.d.ts.map +1 -0
- package/dist/providers/resilient-provider.js +141 -0
- package/dist/providers/resilient-provider.js.map +1 -0
- package/dist/providers/tencent/index.d.ts +19 -0
- package/dist/providers/tencent/index.d.ts.map +1 -0
- package/dist/providers/tencent/index.js +50 -0
- package/dist/providers/tencent/index.js.map +1 -0
- package/dist/providers/tencent/models.d.ts +3 -0
- package/dist/providers/tencent/models.d.ts.map +1 -0
- package/dist/providers/tencent/models.js +29 -0
- package/dist/providers/tencent/models.js.map +1 -0
- package/dist/providers/types.d.ts +98 -0
- package/dist/providers/types.d.ts.map +1 -0
- package/dist/providers/types.js +2 -0
- package/dist/providers/types.js.map +1 -0
- package/dist/providers/xiaomi/index.d.ts +9 -0
- package/dist/providers/xiaomi/index.d.ts.map +1 -0
- package/dist/providers/xiaomi/index.js +16 -0
- package/dist/providers/xiaomi/index.js.map +1 -0
- package/dist/providers/xiaomi/models.d.ts +3 -0
- package/dist/providers/xiaomi/models.d.ts.map +1 -0
- package/dist/providers/xiaomi/models.js +37 -0
- package/dist/providers/xiaomi/models.js.map +1 -0
- package/dist/providers/zhipu/index.d.ts +11 -0
- package/dist/providers/zhipu/index.d.ts.map +1 -0
- package/dist/providers/zhipu/index.js +44 -0
- package/dist/providers/zhipu/index.js.map +1 -0
- package/dist/providers/zhipu/models.d.ts +3 -0
- package/dist/providers/zhipu/models.d.ts.map +1 -0
- package/dist/providers/zhipu/models.js +37 -0
- package/dist/providers/zhipu/models.js.map +1 -0
- package/dist/recipes/index.d.ts +215 -0
- package/dist/recipes/index.d.ts.map +1 -0
- package/dist/recipes/index.js +232 -0
- package/dist/recipes/index.js.map +1 -0
- package/dist/remote/client.d.ts +67 -0
- package/dist/remote/client.d.ts.map +1 -0
- package/dist/remote/client.js +202 -0
- package/dist/remote/client.js.map +1 -0
- package/dist/remote/index.d.ts +9 -0
- package/dist/remote/index.d.ts.map +1 -0
- package/dist/remote/index.js +7 -0
- package/dist/remote/index.js.map +1 -0
- package/dist/remote/schema.d.ts +152 -0
- package/dist/remote/schema.d.ts.map +1 -0
- package/dist/remote/schema.js +26 -0
- package/dist/remote/schema.js.map +1 -0
- package/dist/security/index.d.ts +6 -0
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +5 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/scanner.d.ts +67 -0
- package/dist/security/scanner.d.ts.map +1 -0
- package/dist/security/scanner.js +422 -0
- package/dist/security/scanner.js.map +1 -0
- package/dist/social/day-plan.d.ts +38 -0
- package/dist/social/day-plan.d.ts.map +1 -0
- package/dist/social/day-plan.js +16 -0
- package/dist/social/day-plan.js.map +1 -0
- package/dist/social/index.d.ts +290 -0
- package/dist/social/index.d.ts.map +1 -0
- package/dist/social/index.js +96 -0
- package/dist/social/index.js.map +1 -0
- package/dist/tasks/platform-sync.d.ts +22 -0
- package/dist/tasks/platform-sync.d.ts.map +1 -0
- package/dist/tasks/platform-sync.js +132 -0
- package/dist/tasks/platform-sync.js.map +1 -0
- package/dist/tasks/task-manager.d.ts +164 -0
- package/dist/tasks/task-manager.d.ts.map +1 -0
- package/dist/tasks/task-manager.js +643 -0
- package/dist/tasks/task-manager.js.map +1 -0
- package/dist/tasks/types.d.ts +105 -0
- package/dist/tasks/types.d.ts.map +1 -0
- package/dist/tasks/types.js +23 -0
- package/dist/tasks/types.js.map +1 -0
- package/dist/tools/analyze-architecture.d.ts +17 -0
- package/dist/tools/analyze-architecture.d.ts.map +1 -0
- package/dist/tools/analyze-architecture.js +316 -0
- package/dist/tools/analyze-architecture.js.map +1 -0
- package/dist/tools/apply-plan.d.ts +12 -0
- package/dist/tools/apply-plan.d.ts.map +1 -0
- package/dist/tools/apply-plan.js +119 -0
- package/dist/tools/apply-plan.js.map +1 -0
- package/dist/tools/ask-user.d.ts +11 -0
- package/dist/tools/ask-user.d.ts.map +1 -0
- package/dist/tools/ask-user.js +32 -0
- package/dist/tools/ask-user.js.map +1 -0
- package/dist/tools/audit-dependencies.d.ts +13 -0
- package/dist/tools/audit-dependencies.d.ts.map +1 -0
- package/dist/tools/audit-dependencies.js +156 -0
- package/dist/tools/audit-dependencies.js.map +1 -0
- package/dist/tools/authoring/doc-model.d.ts +128 -0
- package/dist/tools/authoring/doc-model.d.ts.map +1 -0
- package/dist/tools/authoring/doc-model.js +82 -0
- package/dist/tools/authoring/doc-model.js.map +1 -0
- package/dist/tools/authoring/frontmatter.d.ts +51 -0
- package/dist/tools/authoring/frontmatter.d.ts.map +1 -0
- package/dist/tools/authoring/frontmatter.js +203 -0
- package/dist/tools/authoring/frontmatter.js.map +1 -0
- package/dist/tools/authoring/image-size.d.ts +17 -0
- package/dist/tools/authoring/image-size.d.ts.map +1 -0
- package/dist/tools/authoring/image-size.js +47 -0
- package/dist/tools/authoring/image-size.js.map +1 -0
- package/dist/tools/authoring/index.d.ts +34 -0
- package/dist/tools/authoring/index.d.ts.map +1 -0
- package/dist/tools/authoring/index.js +44 -0
- package/dist/tools/authoring/index.js.map +1 -0
- package/dist/tools/authoring/md-parse.d.ts +18 -0
- package/dist/tools/authoring/md-parse.d.ts.map +1 -0
- package/dist/tools/authoring/md-parse.js +262 -0
- package/dist/tools/authoring/md-parse.js.map +1 -0
- package/dist/tools/authoring/render-docx.d.ts +18 -0
- package/dist/tools/authoring/render-docx.d.ts.map +1 -0
- package/dist/tools/authoring/render-docx.js +272 -0
- package/dist/tools/authoring/render-docx.js.map +1 -0
- package/dist/tools/authoring/render-md.d.ts +13 -0
- package/dist/tools/authoring/render-md.d.ts.map +1 -0
- package/dist/tools/authoring/render-md.js +139 -0
- package/dist/tools/authoring/render-md.js.map +1 -0
- package/dist/tools/authoring/render-pdf.d.ts +16 -0
- package/dist/tools/authoring/render-pdf.d.ts.map +1 -0
- package/dist/tools/authoring/render-pdf.js +298 -0
- package/dist/tools/authoring/render-pdf.js.map +1 -0
- package/dist/tools/authoring/sections.d.ts +35 -0
- package/dist/tools/authoring/sections.d.ts.map +1 -0
- package/dist/tools/authoring/sections.js +81 -0
- package/dist/tools/authoring/sections.js.map +1 -0
- package/dist/tools/authoring/templates/builtins.d.ts +11 -0
- package/dist/tools/authoring/templates/builtins.d.ts.map +1 -0
- package/dist/tools/authoring/templates/builtins.js +478 -0
- package/dist/tools/authoring/templates/builtins.js.map +1 -0
- package/dist/tools/authoring/templates/index.d.ts +15 -0
- package/dist/tools/authoring/templates/index.d.ts.map +1 -0
- package/dist/tools/authoring/templates/index.js +25 -0
- package/dist/tools/authoring/templates/index.js.map +1 -0
- package/dist/tools/authoring/templates/store.d.ts +15 -0
- package/dist/tools/authoring/templates/store.d.ts.map +1 -0
- package/dist/tools/authoring/templates/store.js +63 -0
- package/dist/tools/authoring/templates/store.js.map +1 -0
- package/dist/tools/authoring/templates/template-model.d.ts +44 -0
- package/dist/tools/authoring/templates/template-model.d.ts.map +1 -0
- package/dist/tools/authoring/templates/template-model.js +39 -0
- package/dist/tools/authoring/templates/template-model.js.map +1 -0
- package/dist/tools/bash.d.ts +34 -0
- package/dist/tools/bash.d.ts.map +1 -0
- package/dist/tools/bash.js +353 -0
- package/dist/tools/bash.js.map +1 -0
- package/dist/tools/benchmark.d.ts +12 -0
- package/dist/tools/benchmark.d.ts.map +1 -0
- package/dist/tools/benchmark.js +147 -0
- package/dist/tools/benchmark.js.map +1 -0
- package/dist/tools/browse-library.d.ts +12 -0
- package/dist/tools/browse-library.d.ts.map +1 -0
- package/dist/tools/browse-library.js +188 -0
- package/dist/tools/browse-library.js.map +1 -0
- package/dist/tools/browser-click.d.ts +12 -0
- package/dist/tools/browser-click.d.ts.map +1 -0
- package/dist/tools/browser-click.js +58 -0
- package/dist/tools/browser-click.js.map +1 -0
- package/dist/tools/browser-close.d.ts +11 -0
- package/dist/tools/browser-close.d.ts.map +1 -0
- package/dist/tools/browser-close.js +27 -0
- package/dist/tools/browser-close.js.map +1 -0
- package/dist/tools/browser-navigate.d.ts +12 -0
- package/dist/tools/browser-navigate.d.ts.map +1 -0
- package/dist/tools/browser-navigate.js +66 -0
- package/dist/tools/browser-navigate.js.map +1 -0
- package/dist/tools/browser-snapshot.d.ts +11 -0
- package/dist/tools/browser-snapshot.d.ts.map +1 -0
- package/dist/tools/browser-snapshot.js +56 -0
- package/dist/tools/browser-snapshot.js.map +1 -0
- package/dist/tools/browser-type.d.ts +12 -0
- package/dist/tools/browser-type.d.ts.map +1 -0
- package/dist/tools/browser-type.js +68 -0
- package/dist/tools/browser-type.js.map +1 -0
- package/dist/tools/browser.d.ts +29 -0
- package/dist/tools/browser.d.ts.map +1 -0
- package/dist/tools/browser.js +307 -0
- package/dist/tools/browser.js.map +1 -0
- package/dist/tools/conversation-recall.d.ts +43 -0
- package/dist/tools/conversation-recall.d.ts.map +1 -0
- package/dist/tools/conversation-recall.js +177 -0
- package/dist/tools/conversation-recall.js.map +1 -0
- package/dist/tools/creative-asset-sync.d.ts +33 -0
- package/dist/tools/creative-asset-sync.d.ts.map +1 -0
- package/dist/tools/creative-asset-sync.js +39 -0
- package/dist/tools/creative-asset-sync.js.map +1 -0
- package/dist/tools/curator.d.ts +34 -0
- package/dist/tools/curator.d.ts.map +1 -0
- package/dist/tools/curator.js +191 -0
- package/dist/tools/curator.js.map +1 -0
- package/dist/tools/database-query.d.ts +11 -0
- package/dist/tools/database-query.d.ts.map +1 -0
- package/dist/tools/database-query.js +228 -0
- package/dist/tools/database-query.js.map +1 -0
- package/dist/tools/day-plan.d.ts +27 -0
- package/dist/tools/day-plan.d.ts.map +1 -0
- package/dist/tools/day-plan.js +207 -0
- package/dist/tools/day-plan.js.map +1 -0
- package/dist/tools/debug-logs.d.ts +13 -0
- package/dist/tools/debug-logs.d.ts.map +1 -0
- package/dist/tools/debug-logs.js +141 -0
- package/dist/tools/debug-logs.js.map +1 -0
- package/dist/tools/deploy-manifest.d.ts +37 -0
- package/dist/tools/deploy-manifest.d.ts.map +1 -0
- package/dist/tools/deploy-manifest.js +71 -0
- package/dist/tools/deploy-manifest.js.map +1 -0
- package/dist/tools/design-studio-tools.d.ts +83 -0
- package/dist/tools/design-studio-tools.d.ts.map +1 -0
- package/dist/tools/design-studio-tools.js +761 -0
- package/dist/tools/design-studio-tools.js.map +1 -0
- package/dist/tools/desktop-click-by-name.d.ts +12 -0
- package/dist/tools/desktop-click-by-name.d.ts.map +1 -0
- package/dist/tools/desktop-click-by-name.js +64 -0
- package/dist/tools/desktop-click-by-name.js.map +1 -0
- package/dist/tools/desktop-focus-window.d.ts +12 -0
- package/dist/tools/desktop-focus-window.d.ts.map +1 -0
- package/dist/tools/desktop-focus-window.js +59 -0
- package/dist/tools/desktop-focus-window.js.map +1 -0
- package/dist/tools/desktop-key-press.d.ts +12 -0
- package/dist/tools/desktop-key-press.d.ts.map +1 -0
- package/dist/tools/desktop-key-press.js +73 -0
- package/dist/tools/desktop-key-press.js.map +1 -0
- package/dist/tools/desktop-launch-app.d.ts +12 -0
- package/dist/tools/desktop-launch-app.d.ts.map +1 -0
- package/dist/tools/desktop-launch-app.js +58 -0
- package/dist/tools/desktop-launch-app.js.map +1 -0
- package/dist/tools/desktop-list-elements.d.ts +11 -0
- package/dist/tools/desktop-list-elements.d.ts.map +1 -0
- package/dist/tools/desktop-list-elements.js +65 -0
- package/dist/tools/desktop-list-elements.js.map +1 -0
- package/dist/tools/desktop-plan-approve.d.ts +30 -0
- package/dist/tools/desktop-plan-approve.d.ts.map +1 -0
- package/dist/tools/desktop-plan-approve.js +135 -0
- package/dist/tools/desktop-plan-approve.js.map +1 -0
- package/dist/tools/desktop-providers.d.ts +144 -0
- package/dist/tools/desktop-providers.d.ts.map +1 -0
- package/dist/tools/desktop-providers.js +12 -0
- package/dist/tools/desktop-providers.js.map +1 -0
- package/dist/tools/desktop-safety-gate.d.ts +84 -0
- package/dist/tools/desktop-safety-gate.d.ts.map +1 -0
- package/dist/tools/desktop-safety-gate.js +171 -0
- package/dist/tools/desktop-safety-gate.js.map +1 -0
- package/dist/tools/desktop-tools.d.ts +22 -0
- package/dist/tools/desktop-tools.d.ts.map +1 -0
- package/dist/tools/desktop-tools.js +71 -0
- package/dist/tools/desktop-tools.js.map +1 -0
- package/dist/tools/desktop-type.d.ts +12 -0
- package/dist/tools/desktop-type.d.ts.map +1 -0
- package/dist/tools/desktop-type.js +63 -0
- package/dist/tools/desktop-type.js.map +1 -0
- package/dist/tools/detect-language.d.ts +11 -0
- package/dist/tools/detect-language.d.ts.map +1 -0
- package/dist/tools/detect-language.js +235 -0
- package/dist/tools/detect-language.js.map +1 -0
- package/dist/tools/discover-news.d.ts +11 -0
- package/dist/tools/discover-news.d.ts.map +1 -0
- package/dist/tools/discover-news.js +261 -0
- package/dist/tools/discover-news.js.map +1 -0
- package/dist/tools/doc-generate.d.ts +17 -0
- package/dist/tools/doc-generate.d.ts.map +1 -0
- package/dist/tools/doc-generate.js +222 -0
- package/dist/tools/doc-generate.js.map +1 -0
- package/dist/tools/docs-lookup.d.ts +38 -0
- package/dist/tools/docs-lookup.d.ts.map +1 -0
- package/dist/tools/docs-lookup.js +174 -0
- package/dist/tools/docs-lookup.js.map +1 -0
- package/dist/tools/document-author.d.ts +40 -0
- package/dist/tools/document-author.d.ts.map +1 -0
- package/dist/tools/document-author.js +465 -0
- package/dist/tools/document-author.js.map +1 -0
- package/dist/tools/document-manage.d.ts +43 -0
- package/dist/tools/document-manage.d.ts.map +1 -0
- package/dist/tools/document-manage.js +665 -0
- package/dist/tools/document-manage.js.map +1 -0
- package/dist/tools/document-styling.d.ts +132 -0
- package/dist/tools/document-styling.d.ts.map +1 -0
- package/dist/tools/document-styling.js +360 -0
- package/dist/tools/document-styling.js.map +1 -0
- package/dist/tools/document-templates.d.ts +32 -0
- package/dist/tools/document-templates.d.ts.map +1 -0
- package/dist/tools/document-templates.js +95 -0
- package/dist/tools/document-templates.js.map +1 -0
- package/dist/tools/email-draft.d.ts +20 -0
- package/dist/tools/email-draft.d.ts.map +1 -0
- package/dist/tools/email-draft.js +191 -0
- package/dist/tools/email-draft.js.map +1 -0
- package/dist/tools/env-write.d.ts +32 -0
- package/dist/tools/env-write.d.ts.map +1 -0
- package/dist/tools/env-write.js +145 -0
- package/dist/tools/env-write.js.map +1 -0
- package/dist/tools/error-guidance.d.ts +38 -0
- package/dist/tools/error-guidance.d.ts.map +1 -0
- package/dist/tools/error-guidance.js +261 -0
- package/dist/tools/error-guidance.js.map +1 -0
- package/dist/tools/exercise-repair.d.ts +89 -0
- package/dist/tools/exercise-repair.d.ts.map +1 -0
- package/dist/tools/exercise-repair.js +350 -0
- package/dist/tools/exercise-repair.js.map +1 -0
- package/dist/tools/fact-check.d.ts +24 -0
- package/dist/tools/fact-check.d.ts.map +1 -0
- package/dist/tools/fact-check.js +78 -0
- package/dist/tools/fact-check.js.map +1 -0
- package/dist/tools/file-edit.d.ts +11 -0
- package/dist/tools/file-edit.d.ts.map +1 -0
- package/dist/tools/file-edit.js +166 -0
- package/dist/tools/file-edit.js.map +1 -0
- package/dist/tools/file-read.d.ts +12 -0
- package/dist/tools/file-read.d.ts.map +1 -0
- package/dist/tools/file-read.js +98 -0
- package/dist/tools/file-read.js.map +1 -0
- package/dist/tools/file-write.d.ts +13 -0
- package/dist/tools/file-write.d.ts.map +1 -0
- package/dist/tools/file-write.js +163 -0
- package/dist/tools/file-write.js.map +1 -0
- package/dist/tools/find-symbol.d.ts +13 -0
- package/dist/tools/find-symbol.d.ts.map +1 -0
- package/dist/tools/find-symbol.js +144 -0
- package/dist/tools/find-symbol.js.map +1 -0
- package/dist/tools/generate-image.d.ts +19 -0
- package/dist/tools/generate-image.d.ts.map +1 -0
- package/dist/tools/generate-image.js +438 -0
- package/dist/tools/generate-image.js.map +1 -0
- package/dist/tools/generate-video.d.ts +21 -0
- package/dist/tools/generate-video.d.ts.map +1 -0
- package/dist/tools/generate-video.js +197 -0
- package/dist/tools/generate-video.js.map +1 -0
- package/dist/tools/generate-voice.d.ts +13 -0
- package/dist/tools/generate-voice.d.ts.map +1 -0
- package/dist/tools/generate-voice.js +156 -0
- package/dist/tools/generate-voice.js.map +1 -0
- package/dist/tools/generation-manager.d.ts +75 -0
- package/dist/tools/generation-manager.d.ts.map +1 -0
- package/dist/tools/generation-manager.js +150 -0
- package/dist/tools/generation-manager.js.map +1 -0
- package/dist/tools/get-datetime.d.ts +11 -0
- package/dist/tools/get-datetime.d.ts.map +1 -0
- package/dist/tools/get-datetime.js +59 -0
- package/dist/tools/get-datetime.js.map +1 -0
- package/dist/tools/git-commit.d.ts +13 -0
- package/dist/tools/git-commit.d.ts.map +1 -0
- package/dist/tools/git-commit.js +136 -0
- package/dist/tools/git-commit.js.map +1 -0
- package/dist/tools/git-create-pr.d.ts +13 -0
- package/dist/tools/git-create-pr.d.ts.map +1 -0
- package/dist/tools/git-create-pr.js +134 -0
- package/dist/tools/git-create-pr.js.map +1 -0
- package/dist/tools/git-diff.d.ts +12 -0
- package/dist/tools/git-diff.d.ts.map +1 -0
- package/dist/tools/git-diff.js +134 -0
- package/dist/tools/git-diff.js.map +1 -0
- package/dist/tools/git.d.ts +11 -0
- package/dist/tools/git.d.ts.map +1 -0
- package/dist/tools/git.js +89 -0
- package/dist/tools/git.js.map +1 -0
- package/dist/tools/glob.d.ts +11 -0
- package/dist/tools/glob.d.ts.map +1 -0
- package/dist/tools/glob.js +64 -0
- package/dist/tools/glob.js.map +1 -0
- package/dist/tools/grep.d.ts +11 -0
- package/dist/tools/grep.d.ts.map +1 -0
- package/dist/tools/grep.js +131 -0
- package/dist/tools/grep.js.map +1 -0
- package/dist/tools/health-catalogue-search.d.ts +11 -0
- package/dist/tools/health-catalogue-search.d.ts.map +1 -0
- package/dist/tools/health-catalogue-search.js +179 -0
- package/dist/tools/health-catalogue-search.js.map +1 -0
- package/dist/tools/health-plan-create.d.ts +24 -0
- package/dist/tools/health-plan-create.d.ts.map +1 -0
- package/dist/tools/health-plan-create.js +325 -0
- package/dist/tools/health-plan-create.js.map +1 -0
- package/dist/tools/health-plan-delete.d.ts +11 -0
- package/dist/tools/health-plan-delete.d.ts.map +1 -0
- package/dist/tools/health-plan-delete.js +97 -0
- package/dist/tools/health-plan-delete.js.map +1 -0
- package/dist/tools/health-plan-list.d.ts +11 -0
- package/dist/tools/health-plan-list.d.ts.map +1 -0
- package/dist/tools/health-plan-list.js +123 -0
- package/dist/tools/health-plan-list.js.map +1 -0
- package/dist/tools/health-plan-update-day.d.ts +18 -0
- package/dist/tools/health-plan-update-day.d.ts.map +1 -0
- package/dist/tools/health-plan-update-day.js +134 -0
- package/dist/tools/health-plan-update-day.js.map +1 -0
- package/dist/tools/health-plan-update.d.ts +11 -0
- package/dist/tools/health-plan-update.d.ts.map +1 -0
- package/dist/tools/health-plan-update.js +103 -0
- package/dist/tools/health-plan-update.js.map +1 -0
- package/dist/tools/health-profile-ask.d.ts +21 -0
- package/dist/tools/health-profile-ask.d.ts.map +1 -0
- package/dist/tools/health-profile-ask.js +50 -0
- package/dist/tools/health-profile-ask.js.map +1 -0
- package/dist/tools/http-request.d.ts +12 -0
- package/dist/tools/http-request.d.ts.map +1 -0
- package/dist/tools/http-request.js +329 -0
- package/dist/tools/http-request.js.map +1 -0
- package/dist/tools/journal.d.ts +17 -0
- package/dist/tools/journal.d.ts.map +1 -0
- package/dist/tools/journal.js +159 -0
- package/dist/tools/journal.js.map +1 -0
- package/dist/tools/learning.d.ts +154 -0
- package/dist/tools/learning.d.ts.map +1 -0
- package/dist/tools/learning.js +1344 -0
- package/dist/tools/learning.js.map +1 -0
- package/dist/tools/list-directory.d.ts +11 -0
- package/dist/tools/list-directory.d.ts.map +1 -0
- package/dist/tools/list-directory.js +95 -0
- package/dist/tools/list-directory.js.map +1 -0
- package/dist/tools/memory-delete.d.ts +11 -0
- package/dist/tools/memory-delete.d.ts.map +1 -0
- package/dist/tools/memory-delete.js +54 -0
- package/dist/tools/memory-delete.js.map +1 -0
- package/dist/tools/memory-recall.d.ts +11 -0
- package/dist/tools/memory-recall.d.ts.map +1 -0
- package/dist/tools/memory-recall.js +101 -0
- package/dist/tools/memory-recall.js.map +1 -0
- package/dist/tools/memory-save.d.ts +11 -0
- package/dist/tools/memory-save.d.ts.map +1 -0
- package/dist/tools/memory-save.js +110 -0
- package/dist/tools/memory-save.js.map +1 -0
- package/dist/tools/memory-update.d.ts +11 -0
- package/dist/tools/memory-update.d.ts.map +1 -0
- package/dist/tools/memory-update.js +88 -0
- package/dist/tools/memory-update.js.map +1 -0
- package/dist/tools/news.d.ts +11 -0
- package/dist/tools/news.d.ts.map +1 -0
- package/dist/tools/news.js +137 -0
- package/dist/tools/news.js.map +1 -0
- package/dist/tools/open-design-studio.d.ts +20 -0
- package/dist/tools/open-design-studio.d.ts.map +1 -0
- package/dist/tools/open-design-studio.js +45 -0
- package/dist/tools/open-design-studio.js.map +1 -0
- package/dist/tools/open-health-room.d.ts +19 -0
- package/dist/tools/open-health-room.d.ts.map +1 -0
- package/dist/tools/open-health-room.js +44 -0
- package/dist/tools/open-health-room.js.map +1 -0
- package/dist/tools/open-learning-room.d.ts +20 -0
- package/dist/tools/open-learning-room.d.ts.map +1 -0
- package/dist/tools/open-learning-room.js +44 -0
- package/dist/tools/open-learning-room.js.map +1 -0
- package/dist/tools/paper-fetch.d.ts +11 -0
- package/dist/tools/paper-fetch.d.ts.map +1 -0
- package/dist/tools/paper-fetch.js +236 -0
- package/dist/tools/paper-fetch.js.map +1 -0
- package/dist/tools/post-performance.d.ts +17 -0
- package/dist/tools/post-performance.d.ts.map +1 -0
- package/dist/tools/post-performance.js +58 -0
- package/dist/tools/post-performance.js.map +1 -0
- package/dist/tools/present-plan.d.ts +34 -0
- package/dist/tools/present-plan.d.ts.map +1 -0
- package/dist/tools/present-plan.js +117 -0
- package/dist/tools/present-plan.js.map +1 -0
- package/dist/tools/project-index.d.ts +11 -0
- package/dist/tools/project-index.d.ts.map +1 -0
- package/dist/tools/project-index.js +88 -0
- package/dist/tools/project-index.js.map +1 -0
- package/dist/tools/propose-hooks.d.ts +17 -0
- package/dist/tools/propose-hooks.d.ts.map +1 -0
- package/dist/tools/propose-hooks.js +71 -0
- package/dist/tools/propose-hooks.js.map +1 -0
- package/dist/tools/propose-tool.d.ts +11 -0
- package/dist/tools/propose-tool.d.ts.map +1 -0
- package/dist/tools/propose-tool.js +155 -0
- package/dist/tools/propose-tool.js.map +1 -0
- package/dist/tools/recipe-repair.d.ts +116 -0
- package/dist/tools/recipe-repair.d.ts.map +1 -0
- package/dist/tools/recipe-repair.js +404 -0
- package/dist/tools/recipe-repair.js.map +1 -0
- package/dist/tools/record-machine-rule.d.ts +24 -0
- package/dist/tools/record-machine-rule.d.ts.map +1 -0
- package/dist/tools/record-machine-rule.js +60 -0
- package/dist/tools/record-machine-rule.js.map +1 -0
- package/dist/tools/release-notes.d.ts +11 -0
- package/dist/tools/release-notes.d.ts.map +1 -0
- package/dist/tools/release-notes.js +59 -0
- package/dist/tools/release-notes.js.map +1 -0
- package/dist/tools/remove-background.d.ts +15 -0
- package/dist/tools/remove-background.d.ts.map +1 -0
- package/dist/tools/remove-background.js +117 -0
- package/dist/tools/remove-background.js.map +1 -0
- package/dist/tools/report-generate.d.ts +30 -0
- package/dist/tools/report-generate.d.ts.map +1 -0
- package/dist/tools/report-generate.js +325 -0
- package/dist/tools/report-generate.js.map +1 -0
- package/dist/tools/research-post.d.ts +20 -0
- package/dist/tools/research-post.d.ts.map +1 -0
- package/dist/tools/research-post.js +87 -0
- package/dist/tools/research-post.js.map +1 -0
- package/dist/tools/research-story.d.ts +29 -0
- package/dist/tools/research-story.d.ts.map +1 -0
- package/dist/tools/research-story.js +78 -0
- package/dist/tools/research-story.js.map +1 -0
- package/dist/tools/rollback.d.ts +11 -0
- package/dist/tools/rollback.d.ts.map +1 -0
- package/dist/tools/rollback.js +81 -0
- package/dist/tools/rollback.js.map +1 -0
- package/dist/tools/scan-industry.d.ts +19 -0
- package/dist/tools/scan-industry.d.ts.map +1 -0
- package/dist/tools/scan-industry.js +82 -0
- package/dist/tools/scan-industry.js.map +1 -0
- package/dist/tools/screenshot.d.ts +11 -0
- package/dist/tools/screenshot.d.ts.map +1 -0
- package/dist/tools/screenshot.js +82 -0
- package/dist/tools/screenshot.js.map +1 -0
- package/dist/tools/secret-request.d.ts +24 -0
- package/dist/tools/secret-request.d.ts.map +1 -0
- package/dist/tools/secret-request.js +75 -0
- package/dist/tools/secret-request.js.map +1 -0
- package/dist/tools/security.d.ts +26 -0
- package/dist/tools/security.d.ts.map +1 -0
- package/dist/tools/security.js +78 -0
- package/dist/tools/security.js.map +1 -0
- package/dist/tools/self-inspect.d.ts +34 -0
- package/dist/tools/self-inspect.d.ts.map +1 -0
- package/dist/tools/self-inspect.js +427 -0
- package/dist/tools/self-inspect.js.map +1 -0
- package/dist/tools/suggest-beats.d.ts +17 -0
- package/dist/tools/suggest-beats.d.ts.map +1 -0
- package/dist/tools/suggest-beats.js +71 -0
- package/dist/tools/suggest-beats.js.map +1 -0
- package/dist/tools/suggest-stories.d.ts +26 -0
- package/dist/tools/suggest-stories.d.ts.map +1 -0
- package/dist/tools/suggest-stories.js +102 -0
- package/dist/tools/suggest-stories.js.map +1 -0
- package/dist/tools/support-request.d.ts +11 -0
- package/dist/tools/support-request.d.ts.map +1 -0
- package/dist/tools/support-request.js +110 -0
- package/dist/tools/support-request.js.map +1 -0
- package/dist/tools/switch-mode.d.ts +21 -0
- package/dist/tools/switch-mode.d.ts.map +1 -0
- package/dist/tools/switch-mode.js +57 -0
- package/dist/tools/switch-mode.js.map +1 -0
- package/dist/tools/task-manage.d.ts +16 -0
- package/dist/tools/task-manage.d.ts.map +1 -0
- package/dist/tools/task-manage.js +256 -0
- package/dist/tools/task-manage.js.map +1 -0
- package/dist/tools/task-suggest.d.ts +27 -0
- package/dist/tools/task-suggest.d.ts.map +1 -0
- package/dist/tools/task-suggest.js +70 -0
- package/dist/tools/task-suggest.js.map +1 -0
- package/dist/tools/test-generate.d.ts +20 -0
- package/dist/tools/test-generate.d.ts.map +1 -0
- package/dist/tools/test-generate.js +259 -0
- package/dist/tools/test-generate.js.map +1 -0
- package/dist/tools/test-run.d.ts +13 -0
- package/dist/tools/test-run.d.ts.map +1 -0
- package/dist/tools/test-run.js +177 -0
- package/dist/tools/test-run.js.map +1 -0
- package/dist/tools/todo-write.d.ts +11 -0
- package/dist/tools/todo-write.d.ts.map +1 -0
- package/dist/tools/todo-write.js +70 -0
- package/dist/tools/todo-write.js.map +1 -0
- package/dist/tools/tool-registry.d.ts +84 -0
- package/dist/tools/tool-registry.d.ts.map +1 -0
- package/dist/tools/tool-registry.js +728 -0
- package/dist/tools/tool-registry.js.map +1 -0
- package/dist/tools/types.d.ts +128 -0
- package/dist/tools/types.d.ts.map +1 -0
- package/dist/tools/types.js +2 -0
- package/dist/tools/types.js.map +1 -0
- package/dist/tools/verification-trust.d.ts +39 -0
- package/dist/tools/verification-trust.d.ts.map +1 -0
- package/dist/tools/verification-trust.js +135 -0
- package/dist/tools/verification-trust.js.map +1 -0
- package/dist/tools/verify-change.d.ts +11 -0
- package/dist/tools/verify-change.d.ts.map +1 -0
- package/dist/tools/verify-change.js +775 -0
- package/dist/tools/verify-change.js.map +1 -0
- package/dist/tools/weather.d.ts +11 -0
- package/dist/tools/weather.d.ts.map +1 -0
- package/dist/tools/weather.js +96 -0
- package/dist/tools/weather.js.map +1 -0
- package/dist/tools/web-search.d.ts +12 -0
- package/dist/tools/web-search.d.ts.map +1 -0
- package/dist/tools/web-search.js +137 -0
- package/dist/tools/web-search.js.map +1 -0
- package/dist/tools/write-article.d.ts +33 -0
- package/dist/tools/write-article.d.ts.map +1 -0
- package/dist/tools/write-article.js +206 -0
- package/dist/tools/write-article.js.map +1 -0
- package/dist/tools/write-exercise.d.ts +31 -0
- package/dist/tools/write-exercise.d.ts.map +1 -0
- package/dist/tools/write-exercise.js +278 -0
- package/dist/tools/write-exercise.js.map +1 -0
- package/dist/tools/write-post-image.d.ts +31 -0
- package/dist/tools/write-post-image.d.ts.map +1 -0
- package/dist/tools/write-post-image.js +102 -0
- package/dist/tools/write-post-image.js.map +1 -0
- package/dist/tools/write-post.d.ts +20 -0
- package/dist/tools/write-post.d.ts.map +1 -0
- package/dist/tools/write-post.js +113 -0
- package/dist/tools/write-post.js.map +1 -0
- package/dist/tools/write-recipe.d.ts +29 -0
- package/dist/tools/write-recipe.d.ts.map +1 -0
- package/dist/tools/write-recipe.js +262 -0
- package/dist/tools/write-recipe.js.map +1 -0
- package/dist/tools/write-video-post.d.ts +25 -0
- package/dist/tools/write-video-post.d.ts.map +1 -0
- package/dist/tools/write-video-post.js +238 -0
- package/dist/tools/write-video-post.js.map +1 -0
- package/dist/tools/write-voiceover.d.ts +29 -0
- package/dist/tools/write-voiceover.d.ts.map +1 -0
- package/dist/tools/write-voiceover.js +98 -0
- package/dist/tools/write-voiceover.js.map +1 -0
- package/dist/workflows/index.d.ts +4 -0
- package/dist/workflows/index.d.ts.map +1 -0
- package/dist/workflows/index.js +2 -0
- package/dist/workflows/index.js.map +1 -0
- package/dist/workflows/types.d.ts +112 -0
- package/dist/workflows/types.d.ts.map +1 -0
- package/dist/workflows/types.js +10 -0
- package/dist/workflows/types.js.map +1 -0
- package/dist/workflows/workflow-manager.d.ts +54 -0
- package/dist/workflows/workflow-manager.d.ts.map +1 -0
- package/dist/workflows/workflow-manager.js +277 -0
- package/dist/workflows/workflow-manager.js.map +1 -0
- package/package.json +223 -0
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
/** `<name> … </name>` where the body is a JSON object. */
|
|
2
|
+
const WRITTEN_CALL = /<([a-z][a-z0-9_]*)>\s*(\{[\s\S]*?\})\s*<\/\1>/gi;
|
|
3
|
+
/**
|
|
4
|
+
* The same thing with no closing tag: `<read>` then a JSON object, nothing after.
|
|
5
|
+
*
|
|
6
|
+
* Seen 2026-08-19, immediately after the paired form was handled. She wrote
|
|
7
|
+
*
|
|
8
|
+
* <read>
|
|
9
|
+
* {"file_path": "Decisions/design/inventory-data-model.md"}
|
|
10
|
+
*
|
|
11
|
+
* and stopped. A matcher requiring the closing tag sees nothing at all, and the
|
|
12
|
+
* user reads the markup instead of getting the file. Half a written call is
|
|
13
|
+
* still a written call.
|
|
14
|
+
*/
|
|
15
|
+
const WRITTEN_CALL_OPEN = /<([a-z][a-z0-9_]*)>\s*\{/gi;
|
|
16
|
+
/**
|
|
17
|
+
* The JSON object starting at `start`, found by counting braces.
|
|
18
|
+
*
|
|
19
|
+
* A lazy regex cannot do this — it stops at the first `}`, which truncates any
|
|
20
|
+
* nested object, and a plan or a write call is mostly nested objects. Strings
|
|
21
|
+
* are tracked so a brace inside one (a path, a prompt, a code sample) cannot
|
|
22
|
+
* close the object early.
|
|
23
|
+
*/
|
|
24
|
+
function balancedObject(text, start) {
|
|
25
|
+
let depth = 0;
|
|
26
|
+
let inString = false;
|
|
27
|
+
let escaped = false;
|
|
28
|
+
for (let i = start; i < text.length; i++) {
|
|
29
|
+
const ch = text[i];
|
|
30
|
+
if (inString) {
|
|
31
|
+
if (escaped)
|
|
32
|
+
escaped = false;
|
|
33
|
+
else if (ch === '\\')
|
|
34
|
+
escaped = true;
|
|
35
|
+
else if (ch === '"')
|
|
36
|
+
inString = false;
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
if (ch === '"')
|
|
40
|
+
inString = true;
|
|
41
|
+
else if (ch === '{')
|
|
42
|
+
depth++;
|
|
43
|
+
else if (ch === '}') {
|
|
44
|
+
depth--;
|
|
45
|
+
if (depth === 0)
|
|
46
|
+
return text.slice(start, i + 1);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Lift written tool calls out of an assistant reply.
|
|
53
|
+
*
|
|
54
|
+
* @param content the assistant's visible text
|
|
55
|
+
* @param offered names of tools offered this turn — the allowlist for recovery
|
|
56
|
+
* @param makeId id generator, injected so tests are deterministic
|
|
57
|
+
*/
|
|
58
|
+
export function recoverWrittenToolCalls(content, offered, makeId = () => `recovered_${Math.random().toString(36).slice(2, 10)}`) {
|
|
59
|
+
if (!content || offered.size === 0)
|
|
60
|
+
return { calls: [], text: content };
|
|
61
|
+
const calls = [];
|
|
62
|
+
let text = content;
|
|
63
|
+
for (const match of [...content.matchAll(WRITTEN_CALL)]) {
|
|
64
|
+
const [block, rawName, body] = match;
|
|
65
|
+
const name = rawName.toLowerCase();
|
|
66
|
+
if (!offered.has(name))
|
|
67
|
+
continue;
|
|
68
|
+
// Must be a JSON object. A tag around prose is prose.
|
|
69
|
+
let args;
|
|
70
|
+
try {
|
|
71
|
+
const parsed = JSON.parse(body);
|
|
72
|
+
if (!parsed || typeof parsed !== 'object' || Array.isArray(parsed))
|
|
73
|
+
continue;
|
|
74
|
+
args = JSON.stringify(parsed);
|
|
75
|
+
}
|
|
76
|
+
catch {
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
calls.push({ id: makeId(), type: 'function', function: { name, arguments: args } });
|
|
80
|
+
text = text.replace(block, '');
|
|
81
|
+
}
|
|
82
|
+
// Second pass: the unclosed form. Runs on what survived the first pass, so a
|
|
83
|
+
// properly closed call can never be matched twice.
|
|
84
|
+
for (const match of [...text.matchAll(WRITTEN_CALL_OPEN)]) {
|
|
85
|
+
const name = match[1].toLowerCase();
|
|
86
|
+
if (!offered.has(name))
|
|
87
|
+
continue;
|
|
88
|
+
const braceAt = text.indexOf('{', match.index);
|
|
89
|
+
if (braceAt === -1)
|
|
90
|
+
continue;
|
|
91
|
+
const body = balancedObject(text, braceAt);
|
|
92
|
+
if (!body)
|
|
93
|
+
continue;
|
|
94
|
+
let args;
|
|
95
|
+
try {
|
|
96
|
+
const parsed = JSON.parse(body);
|
|
97
|
+
if (!parsed || typeof parsed !== 'object' || Array.isArray(parsed))
|
|
98
|
+
continue;
|
|
99
|
+
args = JSON.stringify(parsed);
|
|
100
|
+
}
|
|
101
|
+
catch {
|
|
102
|
+
continue;
|
|
103
|
+
}
|
|
104
|
+
calls.push({ id: makeId(), type: 'function', function: { name, arguments: args } });
|
|
105
|
+
// Swallow a closing tag immediately after, even a mismatched one. A model
|
|
106
|
+
// that opens <present_plan> and closes </ask_user> has made a typo, not a
|
|
107
|
+
// different kind of statement — and leaving the orphan tag in the reply is
|
|
108
|
+
// the same cosmetic failure this whole function exists to prevent.
|
|
109
|
+
let end = braceAt + body.length;
|
|
110
|
+
// The trailing `>` is optional: a reply can be cut off mid-tag. Seen
|
|
111
|
+
// 2026-08-19 as `</present_plan` with no closing bracket — the call
|
|
112
|
+
// recovered fine and the orphan fragment stayed on screen.
|
|
113
|
+
const after = text.slice(end).match(/^\s*<\/[a-z][a-z0-9_]*>?/i);
|
|
114
|
+
if (after)
|
|
115
|
+
end += after[0].length;
|
|
116
|
+
text = text.replace(text.slice(match.index, end), '');
|
|
117
|
+
}
|
|
118
|
+
// Only tidy whitespace if something was actually removed — an untouched reply
|
|
119
|
+
// should come back byte-identical, so this can never reformat normal prose.
|
|
120
|
+
if (calls.length > 0) {
|
|
121
|
+
text = text.replace(/\n{3,}/g, '\n\n').trim();
|
|
122
|
+
}
|
|
123
|
+
return { calls, text };
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* The same rule, applied WHILE the reply streams.
|
|
127
|
+
*
|
|
128
|
+
* `recoverWrittenToolCalls` runs on the finished message, which is too late to
|
|
129
|
+
* matter to the person watching. Seen live 2026-08-19, one turn after the
|
|
130
|
+
* recovery shipped: the whole `<present_plan>{…}</present_plan>` block streamed
|
|
131
|
+
* onto the screen delta by delta, and only once the stream ended did the call
|
|
132
|
+
* get lifted and the card appear. The operator saw the JSON, then the plan.
|
|
133
|
+
*
|
|
134
|
+
* Two more faults are the same fault. The approval prompt arrived AFTER the
|
|
135
|
+
* plan had finished writing — it could not have come sooner, because the call
|
|
136
|
+
* did not exist until the stream closed. And denying it did not take the plan
|
|
137
|
+
* away, because what was on screen was never the card; it was text, already
|
|
138
|
+
* painted, and no longer ours to withdraw.
|
|
139
|
+
*
|
|
140
|
+
* So the block has to be held back as it arrives. This gate sits between the
|
|
141
|
+
* accumulating content and the delta events: it emits everything that cannot be
|
|
142
|
+
* part of a written call, and holds anything that might be until it knows.
|
|
143
|
+
*
|
|
144
|
+
* It agrees with `recoverWrittenToolCalls` by construction — same allowlist,
|
|
145
|
+
* same "body must be a JSON object" rule — so it never hides text the recovery
|
|
146
|
+
* would have left in place. Raw content still accumulates in full behind it;
|
|
147
|
+
* only the view is filtered.
|
|
148
|
+
*/
|
|
149
|
+
export class WrittenCallStreamFilter {
|
|
150
|
+
offered;
|
|
151
|
+
/** Text withheld because it might be, or might be inside, a written call. */
|
|
152
|
+
held = '';
|
|
153
|
+
/** The opening tag, kept so it can be released if the body turns out to be prose. */
|
|
154
|
+
tag = null;
|
|
155
|
+
constructor(offered) {
|
|
156
|
+
this.offered = offered;
|
|
157
|
+
}
|
|
158
|
+
/** Is `partial` (the text after `<`, no `>` yet) still on its way to a tool name? */
|
|
159
|
+
viable(partial) {
|
|
160
|
+
if (!/^[a-z][a-z0-9_]*$/i.test(partial) && partial !== '')
|
|
161
|
+
return false;
|
|
162
|
+
const lower = partial.toLowerCase();
|
|
163
|
+
for (const name of this.offered)
|
|
164
|
+
if (name.startsWith(lower))
|
|
165
|
+
return true;
|
|
166
|
+
return false;
|
|
167
|
+
}
|
|
168
|
+
/** Feed a chunk of visible text; returns the part that is safe to show. */
|
|
169
|
+
push(chunk) {
|
|
170
|
+
if (this.offered.size === 0)
|
|
171
|
+
return chunk;
|
|
172
|
+
this.held += chunk;
|
|
173
|
+
let out = '';
|
|
174
|
+
// Each pass either emits, changes state, or returns to wait for more text.
|
|
175
|
+
for (;;) {
|
|
176
|
+
if (this.tag !== null) {
|
|
177
|
+
// Inside a call: waiting for the JSON body, then an optional close tag.
|
|
178
|
+
if (/^\s*$/.test(this.held))
|
|
179
|
+
return out;
|
|
180
|
+
if (!/^\s*\{/.test(this.held)) {
|
|
181
|
+
// A tag wrapped around prose is prose. Hand back what we withheld.
|
|
182
|
+
out += this.tag + this.held;
|
|
183
|
+
this.tag = null;
|
|
184
|
+
this.held = '';
|
|
185
|
+
return out;
|
|
186
|
+
}
|
|
187
|
+
const body = balancedObject(this.held, this.held.indexOf('{'));
|
|
188
|
+
if (body === null)
|
|
189
|
+
return out; // still arriving
|
|
190
|
+
let end = this.held.indexOf('{') + body.length;
|
|
191
|
+
const close = this.held.slice(end).match(/^\s*<\/[a-z][a-z0-9_]*>/i);
|
|
192
|
+
if (close)
|
|
193
|
+
end += close[0].length;
|
|
194
|
+
// The close tag may still be arriving a character at a time. `[a-z]` was
|
|
195
|
+
// required after the slash here, so a chunk boundary that landed on a
|
|
196
|
+
// bare `<` failed this guard, reset the state, and let `</present_plan>`
|
|
197
|
+
// leak onto the screen on its own — the block hidden, its tag not.
|
|
198
|
+
else if (/^\s*(<\/?[a-z0-9_]*)?$/i.test(this.held.slice(end)))
|
|
199
|
+
return out;
|
|
200
|
+
this.tag = null;
|
|
201
|
+
this.held = this.held.slice(end);
|
|
202
|
+
continue;
|
|
203
|
+
}
|
|
204
|
+
const open = this.held.indexOf('<');
|
|
205
|
+
if (open === -1) {
|
|
206
|
+
out += this.held;
|
|
207
|
+
this.held = '';
|
|
208
|
+
return out;
|
|
209
|
+
}
|
|
210
|
+
out += this.held.slice(0, open);
|
|
211
|
+
this.held = this.held.slice(open);
|
|
212
|
+
const complete = this.held.match(/^<([a-z][a-z0-9_]*)>/i);
|
|
213
|
+
if (complete) {
|
|
214
|
+
if (this.offered.has(complete[1].toLowerCase())) {
|
|
215
|
+
this.tag = complete[0];
|
|
216
|
+
this.held = this.held.slice(complete[0].length);
|
|
217
|
+
continue;
|
|
218
|
+
}
|
|
219
|
+
// A real tag, but not a tool we offered — ordinary text.
|
|
220
|
+
out += complete[0];
|
|
221
|
+
this.held = this.held.slice(complete[0].length);
|
|
222
|
+
continue;
|
|
223
|
+
}
|
|
224
|
+
if (this.held.includes('>') || !this.viable(this.held.slice(1))) {
|
|
225
|
+
// Cannot become a call. Release the `<` and rescan from the next char,
|
|
226
|
+
// so `Array<string>` and `a < b` cost at most a few characters of delay.
|
|
227
|
+
out += this.held[0];
|
|
228
|
+
this.held = this.held.slice(1);
|
|
229
|
+
continue;
|
|
230
|
+
}
|
|
231
|
+
return out; // still viable — wait for more
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* The stream ended. Release anything held that never became a call.
|
|
236
|
+
*
|
|
237
|
+
* A confirmed call in flight is dropped: `recoverWrittenToolCalls` lifts it
|
|
238
|
+
* out of the accumulated content, so showing it here would put back exactly
|
|
239
|
+
* what this class exists to withhold.
|
|
240
|
+
*/
|
|
241
|
+
flush() {
|
|
242
|
+
if (this.tag !== null) {
|
|
243
|
+
const brace = this.held.indexOf('{');
|
|
244
|
+
const confirmed = brace !== -1
|
|
245
|
+
&& /^\s*\{/.test(this.held)
|
|
246
|
+
&& balancedObject(this.held, brace) !== null;
|
|
247
|
+
const out = confirmed ? '' : this.tag + this.held;
|
|
248
|
+
this.tag = null;
|
|
249
|
+
this.held = '';
|
|
250
|
+
return out;
|
|
251
|
+
}
|
|
252
|
+
const out = this.held;
|
|
253
|
+
this.held = '';
|
|
254
|
+
return out;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
//# sourceMappingURL=recover-written-calls.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recover-written-calls.js","sourceRoot":"","sources":["../../src/agent/recover-written-calls.ts"],"names":[],"mappings":"AAuCA,0DAA0D;AAC1D,MAAM,YAAY,GAAG,iDAAiD,CAAC;AAEvE;;;;;;;;;;;GAWG;AACH,MAAM,iBAAiB,GAAG,4BAA4B,CAAC;AAEvD;;;;;;;GAOG;AACH,SAAS,cAAc,CAAC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D,OAAO,GAAG,CAAC,CAAC,+BAA+B;QAC7C,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACH,KAAK;QACH,IAAI,IAAI,CAAC,GAAG,KAAK,IAAI,EAAE,CAAC;YACtB,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;YACrC,MAAM,SAAS,GAAG,KAAK,KAAK,CAAC,CAAC;mBACzB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;mBACxB,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,IAAI,CAAC;YAC/C,MAAM,GAAG,GAAG,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC;YAClD,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC;YAChB,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;YACf,OAAO,GAAG,CAAC;QACb,CAAC;QACD,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC;QACtB,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,OAAO,GAAG,CAAC;IACb,CAAC;CACF"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The marketing craft layer — positioning, and the tools for turning a fact
|
|
3
|
+
* into an angle.
|
|
4
|
+
*
|
|
5
|
+
* WHY THIS EXISTS AS A SEPARATE FILE
|
|
6
|
+
*
|
|
7
|
+
* The Social Studio persona grew to 8,500 tokens and twenty-eight sections,
|
|
8
|
+
* nine of which were behavioural corrections added one incident at a time
|
|
9
|
+
* ("think WITH them, don't produce" sitting directly against "a yes means make
|
|
10
|
+
* it NOW"). It could describe the product perfectly and never say anything
|
|
11
|
+
* about it worth reading — the operator's words: "she views the docs perfectly
|
|
12
|
+
* but never adds any marketer's creativity".
|
|
13
|
+
*
|
|
14
|
+
* The research says that is not a personality problem:
|
|
15
|
+
*
|
|
16
|
+
* 1. Marketing runs positioning -> messaging -> copy, each built on the last.
|
|
17
|
+
* The persona had no positioning layer at all, so it jumped straight to
|
|
18
|
+
* copy. Facts in, facts out. There is no angle without a position, because
|
|
19
|
+
* an angle is a CLAIM and a feature is not.
|
|
20
|
+
*
|
|
21
|
+
* 2. A model given a prompt with no CONTENT constraints returns the
|
|
22
|
+
* statistical average of its training data. The old persona was heavily
|
|
23
|
+
* constrained on conduct and completely unconstrained on craft — no
|
|
24
|
+
* examples of good work, no banned words, no voice samples. Average
|
|
25
|
+
* marketer in, average marketer out.
|
|
26
|
+
*
|
|
27
|
+
* 3. Practitioners get many angles from one fact using frameworks, not
|
|
28
|
+
* inspiration. One fact yielded one flat post because there was nothing to
|
|
29
|
+
* turn it with.
|
|
30
|
+
*
|
|
31
|
+
* So: positioning and craft live here as KNOWLEDGE, and the persona stays a
|
|
32
|
+
* short identity that uses them. Rules constrain behaviour; knowledge produces
|
|
33
|
+
* work. The old file had the ratio exactly backwards.
|
|
34
|
+
*/
|
|
35
|
+
/**
|
|
36
|
+
* The positioning layer.
|
|
37
|
+
*
|
|
38
|
+
* Deliberately includes who we are NOT for and what we are AGAINST. A
|
|
39
|
+
* positioning statement that only lists strengths cannot generate an angle,
|
|
40
|
+
* because every angle is a choice to stand somewhere, and standing somewhere
|
|
41
|
+
* means someone else is standing in the wrong place.
|
|
42
|
+
*/
|
|
43
|
+
export declare const SOCIAL_POSITIONING = "## What we stand for \u2014 read this before you look for an angle\n\nYou cannot find an angle from a feature list. A feature is a fact; an angle is\na claim about why someone should care, and a claim needs a position to come\nfrom. This is the position.\n\n**Who it is for.** People locked out of good tooling by price or by policy. The\nself-taught developer without a company card. The person in a country the\nfrontier labs price out. Anyone whose code is not allowed to leave the machine\n\u2014 under NDA, in healthcare, in a regulated shop, or simply because it is\ntheirs. And people learning, who need a patient teacher rather than an\nautocomplete.\n\n**Who it is NOT for.** Anyone who wants a managed vendor relationship, a\nsupport contract and someone to blame. That is a real need and we do not serve\nit. Say so when it comes up; refusing to be for everyone is what makes the\nposition mean anything.\n\n**What we are against.**\n- Capability rationed by what you can pay. Every feature is on the free plan;\n only tokens and storage scale. That is a deliberate refusal, not a growth\n tactic.\n- Your work leaving your machine as the price of admission. Memory, history and\n journal stay local by default.\n- Lock-in. Apache 2.0, and BYOK on every plan including free. You can take your\n key and your data and go, and the software still works.\n- One country's labs deciding what everyone gets. Four fleets, including\n European and Chinese models, chosen on merit.\n\n**The sentence nobody else can say honestly:** an AI coding agent where the\npaid plan buys you more tokens, not more product \u2014 open source, local-first,\nand your own key works on every tier.\n\n**Proof, not adjectives.** Every claim above is checkable: the licence, the\nplan comparison, the fact that memory never leaves the machine. When you make\na claim, reach for the checkable version. \"Apache 2.0\" beats \"open\". \"Your\nmemory stays on your machine\" beats \"privacy-first\". A reader can verify one\nand has to trust the other, and this audience does not trust, it verifies.\n\n**Where the credibility comes from.** We publish losses as well as wins, we\nname what is not built yet, and we do not compare against competitors by\nimplication. The whole position collapses the first time we oversell, because\n\"open and honest\" is the product. Underclaiming is survivable. Overclaiming is\nnot.";
|
|
44
|
+
/**
|
|
45
|
+
* Angle frameworks.
|
|
46
|
+
*
|
|
47
|
+
* These are the tools that make "give me some angles" produce genuinely
|
|
48
|
+
* DIFFERENT attacks on one fact rather than three rephrasings. Each is a
|
|
49
|
+
* different question to ask of the same truth, which is why they diverge.
|
|
50
|
+
*/
|
|
51
|
+
export declare const ANGLE_FRAMEWORKS = "## Getting real angles out of one fact\n\nWhen they ask for angles, do NOT return the same thought worded three ways.\nRun the fact through different frames \u2014 each asks a different question, so\neach lands somewhere else. Name the frame to yourself, not to them.\n\n**PAS \u2014 problem, agitate, solve.** Name the reader's problem, make them feel\nhow much it costs them, then show the way out. The oldest one and still the\nstrongest, because it follows how people actually decide. Best when the pain\nis already familiar: bills, waiting, being locked out.\n\n**The enemy.** Say what is wrong with how this is normally done, then what we\ndo instead. Sharpest frame we own, because our position IS an objection. Risk:\nit curdles into whinging if there is no substance behind it, so it must carry\nproof.\n\n**The number that shouldn't be true.** Lead with one concrete figure that stops\nthe scroll, then explain it. Only works with a real number, checked. Never\ninvent one for the shape of the sentence.\n\n**Show the working.** Publish the thing itself \u2014 the benchmark that went\nagainst us, the bug, the cost breakdown. Almost nobody does this, which is\nexactly why it travels.\n\n**The person, not the product.** One reader, one situation, one thing that got\neasier. Concrete beats comprehensive: a student who cannot pay for tooling\nbeats \"accessible for everyone\".\n\n**Teach one thing.** Give something useful with no ask attached. Slowest to pay\noff, compounds hardest, and it fits us \u2014 the product IS a teacher.\n\nPick the frame that fits what is true today, not the one that flatters us most.\nIf a fact only works through one frame, say so rather than forcing three.";
|
|
52
|
+
/**
|
|
53
|
+
* How the room writes. Content constraints, which the old persona had none of.
|
|
54
|
+
*
|
|
55
|
+
* "No buzzwords, no corporate jargon" is documented as being as useful to a
|
|
56
|
+
* model as describing what you DO want — and it is the half that was missing.
|
|
57
|
+
*/
|
|
58
|
+
export declare const SOCIAL_VOICE = "## How it sounds\n\nShort sentences. Ordinary words. First person, because the product is you.\n\n**Never write these**: revolutionise, game-changing, seamless, cutting-edge,\nunlock, empower, leverage, robust, elevate, supercharge, \"the future of\",\n\"we're excited to announce\", \"in today's fast-paced world\". If a sentence\nsurvives having its adjectives removed, it was carried by the noun and it is\nbetter without them.\n\n**No engagement-bait shapes**: no \"Here's why \uD83D\uDC47\", no rhetorical question as an\nopener, no thread promising a list and delivering filler, no emoji standing in\nfor a point.\n\n**The test**: would a competent, tired person reading this on their phone learn\nsomething or feel something? If it only informs, it is a changelog. If it only\nperforms, it is noise.\n\n**Concrete beats abstract, always.** \"Your code never leaves your laptop\" not\n\"privacy-conscious architecture\". \"\u00A30 for every feature\" not \"generous free\ntier\". If you cannot make a claim concrete, you probably do not have the fact\nyet \u2014 go and get it.";
|
|
59
|
+
/**
|
|
60
|
+
* The inner-thought loop.
|
|
61
|
+
*
|
|
62
|
+
* From "Proactive Conversational Agents with Inner Thoughts" (arXiv
|
|
63
|
+
* 2501.00383, 2025): agents cannot be INSTRUCTED into proactivity. Systems
|
|
64
|
+
* that wait for turn-taking cues stay passive however firmly you tell them not
|
|
65
|
+
* to. What works is a continuous covert train of thought running alongside the
|
|
66
|
+
* conversation, from which the agent judges whether it has something worth
|
|
67
|
+
* saying. Reframed from "predict when it is my turn" to "form an intention,
|
|
68
|
+
* then pick the moment" — and it beat baselines on coherence, intelligence AND
|
|
69
|
+
* turn-taking appropriateness at once.
|
|
70
|
+
*
|
|
71
|
+
* This replaces nine separate behavioural rules about when to speak and when to
|
|
72
|
+
* hold back, which contradicted each other and produced something that did
|
|
73
|
+
* neither well.
|
|
74
|
+
*/
|
|
75
|
+
export declare const INNER_THOUGHTS = "## Have a private read before you answer\n\nEvery turn, form your own view first \u2014 quickly, silently, before deciding what\nto say:\n\n- What are they actually after here? A decision, a sounding board, or a thing\n made?\n- What do I genuinely think about it? Including \"this is weaker than the idea\n they had last week\" or \"this does not need a post at all\".\n- Is there something they have not seen \u2014 a better angle, a risk, a moment\n worth using?\n- Does that thought earn saying right now, or does it get in the way?\n\nThen speak from that read.\n\nIf you think they are wrong, say so plainly and say why, then offer the better\nversion. Not \"have you considered\" \u2014 you are the specialist here, and hedging\nis a way of making them do the judging they hired you to avoid. They would far\nrather be told than agreed with.\n\nIf you have nothing to add, say the useful thing briefly and stop. A held\nthought is fine. A withheld disagreement is not.\n\n**Bring things unprompted when they are worth it.** If something happened that\nis worth talking about publicly \u2014 a release, a number, something the industry\nsaid that touches our lane \u2014 raise it without being asked. That is what owning\nan area means. Once, plainly, and let it drop if they are not interested; a\ncolleague mentions it, a nag repeats it.\n\nThe single most useful thing you can say is often \"the stronger post here is\nnot the one you asked for, it is this\" \u2014 followed by the better one.\n\n**Never write a record of your own actions.** A block listing what you did this\nturn is written by the system, not by you \u2014 if you produce one it is fiction,\nhowever accurate it feels, and it is fiction wearing the uniform of an audit\ntrail. Say what you did in plain prose and let the tools speak for themselves.\nIf you are unsure whether something ran, say you are unsure. Nobody has ever\nbeen let down by \"I think that worked, check the canvas\"; they have been let\ndown by a receipt for a thing that does not exist.";
|
|
76
|
+
//# sourceMappingURL=social-craft.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social-craft.d.ts","sourceRoot":"","sources":["../../src/agent/social-craft.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,02EA2C1B,CAAC;AAEN;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,4qDAgC6C,CAAC;AAE3E;;;;;GAKG;AACH,eAAO,MAAM,YAAY,gkCAqBJ,CAAC;AAEtB;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,cAAc,6/DAsCwB,CAAC"}
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The marketing craft layer — positioning, and the tools for turning a fact
|
|
3
|
+
* into an angle.
|
|
4
|
+
*
|
|
5
|
+
* WHY THIS EXISTS AS A SEPARATE FILE
|
|
6
|
+
*
|
|
7
|
+
* The Social Studio persona grew to 8,500 tokens and twenty-eight sections,
|
|
8
|
+
* nine of which were behavioural corrections added one incident at a time
|
|
9
|
+
* ("think WITH them, don't produce" sitting directly against "a yes means make
|
|
10
|
+
* it NOW"). It could describe the product perfectly and never say anything
|
|
11
|
+
* about it worth reading — the operator's words: "she views the docs perfectly
|
|
12
|
+
* but never adds any marketer's creativity".
|
|
13
|
+
*
|
|
14
|
+
* The research says that is not a personality problem:
|
|
15
|
+
*
|
|
16
|
+
* 1. Marketing runs positioning -> messaging -> copy, each built on the last.
|
|
17
|
+
* The persona had no positioning layer at all, so it jumped straight to
|
|
18
|
+
* copy. Facts in, facts out. There is no angle without a position, because
|
|
19
|
+
* an angle is a CLAIM and a feature is not.
|
|
20
|
+
*
|
|
21
|
+
* 2. A model given a prompt with no CONTENT constraints returns the
|
|
22
|
+
* statistical average of its training data. The old persona was heavily
|
|
23
|
+
* constrained on conduct and completely unconstrained on craft — no
|
|
24
|
+
* examples of good work, no banned words, no voice samples. Average
|
|
25
|
+
* marketer in, average marketer out.
|
|
26
|
+
*
|
|
27
|
+
* 3. Practitioners get many angles from one fact using frameworks, not
|
|
28
|
+
* inspiration. One fact yielded one flat post because there was nothing to
|
|
29
|
+
* turn it with.
|
|
30
|
+
*
|
|
31
|
+
* So: positioning and craft live here as KNOWLEDGE, and the persona stays a
|
|
32
|
+
* short identity that uses them. Rules constrain behaviour; knowledge produces
|
|
33
|
+
* work. The old file had the ratio exactly backwards.
|
|
34
|
+
*/
|
|
35
|
+
/**
|
|
36
|
+
* The positioning layer.
|
|
37
|
+
*
|
|
38
|
+
* Deliberately includes who we are NOT for and what we are AGAINST. A
|
|
39
|
+
* positioning statement that only lists strengths cannot generate an angle,
|
|
40
|
+
* because every angle is a choice to stand somewhere, and standing somewhere
|
|
41
|
+
* means someone else is standing in the wrong place.
|
|
42
|
+
*/
|
|
43
|
+
export const SOCIAL_POSITIONING = `## What we stand for — read this before you look for an angle
|
|
44
|
+
|
|
45
|
+
You cannot find an angle from a feature list. A feature is a fact; an angle is
|
|
46
|
+
a claim about why someone should care, and a claim needs a position to come
|
|
47
|
+
from. This is the position.
|
|
48
|
+
|
|
49
|
+
**Who it is for.** People locked out of good tooling by price or by policy. The
|
|
50
|
+
self-taught developer without a company card. The person in a country the
|
|
51
|
+
frontier labs price out. Anyone whose code is not allowed to leave the machine
|
|
52
|
+
— under NDA, in healthcare, in a regulated shop, or simply because it is
|
|
53
|
+
theirs. And people learning, who need a patient teacher rather than an
|
|
54
|
+
autocomplete.
|
|
55
|
+
|
|
56
|
+
**Who it is NOT for.** Anyone who wants a managed vendor relationship, a
|
|
57
|
+
support contract and someone to blame. That is a real need and we do not serve
|
|
58
|
+
it. Say so when it comes up; refusing to be for everyone is what makes the
|
|
59
|
+
position mean anything.
|
|
60
|
+
|
|
61
|
+
**What we are against.**
|
|
62
|
+
- Capability rationed by what you can pay. Every feature is on the free plan;
|
|
63
|
+
only tokens and storage scale. That is a deliberate refusal, not a growth
|
|
64
|
+
tactic.
|
|
65
|
+
- Your work leaving your machine as the price of admission. Memory, history and
|
|
66
|
+
journal stay local by default.
|
|
67
|
+
- Lock-in. Apache 2.0, and BYOK on every plan including free. You can take your
|
|
68
|
+
key and your data and go, and the software still works.
|
|
69
|
+
- One country's labs deciding what everyone gets. Four fleets, including
|
|
70
|
+
European and Chinese models, chosen on merit.
|
|
71
|
+
|
|
72
|
+
**The sentence nobody else can say honestly:** an AI coding agent where the
|
|
73
|
+
paid plan buys you more tokens, not more product — open source, local-first,
|
|
74
|
+
and your own key works on every tier.
|
|
75
|
+
|
|
76
|
+
**Proof, not adjectives.** Every claim above is checkable: the licence, the
|
|
77
|
+
plan comparison, the fact that memory never leaves the machine. When you make
|
|
78
|
+
a claim, reach for the checkable version. "Apache 2.0" beats "open". "Your
|
|
79
|
+
memory stays on your machine" beats "privacy-first". A reader can verify one
|
|
80
|
+
and has to trust the other, and this audience does not trust, it verifies.
|
|
81
|
+
|
|
82
|
+
**Where the credibility comes from.** We publish losses as well as wins, we
|
|
83
|
+
name what is not built yet, and we do not compare against competitors by
|
|
84
|
+
implication. The whole position collapses the first time we oversell, because
|
|
85
|
+
"open and honest" is the product. Underclaiming is survivable. Overclaiming is
|
|
86
|
+
not.`;
|
|
87
|
+
/**
|
|
88
|
+
* Angle frameworks.
|
|
89
|
+
*
|
|
90
|
+
* These are the tools that make "give me some angles" produce genuinely
|
|
91
|
+
* DIFFERENT attacks on one fact rather than three rephrasings. Each is a
|
|
92
|
+
* different question to ask of the same truth, which is why they diverge.
|
|
93
|
+
*/
|
|
94
|
+
export const ANGLE_FRAMEWORKS = `## Getting real angles out of one fact
|
|
95
|
+
|
|
96
|
+
When they ask for angles, do NOT return the same thought worded three ways.
|
|
97
|
+
Run the fact through different frames — each asks a different question, so
|
|
98
|
+
each lands somewhere else. Name the frame to yourself, not to them.
|
|
99
|
+
|
|
100
|
+
**PAS — problem, agitate, solve.** Name the reader's problem, make them feel
|
|
101
|
+
how much it costs them, then show the way out. The oldest one and still the
|
|
102
|
+
strongest, because it follows how people actually decide. Best when the pain
|
|
103
|
+
is already familiar: bills, waiting, being locked out.
|
|
104
|
+
|
|
105
|
+
**The enemy.** Say what is wrong with how this is normally done, then what we
|
|
106
|
+
do instead. Sharpest frame we own, because our position IS an objection. Risk:
|
|
107
|
+
it curdles into whinging if there is no substance behind it, so it must carry
|
|
108
|
+
proof.
|
|
109
|
+
|
|
110
|
+
**The number that shouldn't be true.** Lead with one concrete figure that stops
|
|
111
|
+
the scroll, then explain it. Only works with a real number, checked. Never
|
|
112
|
+
invent one for the shape of the sentence.
|
|
113
|
+
|
|
114
|
+
**Show the working.** Publish the thing itself — the benchmark that went
|
|
115
|
+
against us, the bug, the cost breakdown. Almost nobody does this, which is
|
|
116
|
+
exactly why it travels.
|
|
117
|
+
|
|
118
|
+
**The person, not the product.** One reader, one situation, one thing that got
|
|
119
|
+
easier. Concrete beats comprehensive: a student who cannot pay for tooling
|
|
120
|
+
beats "accessible for everyone".
|
|
121
|
+
|
|
122
|
+
**Teach one thing.** Give something useful with no ask attached. Slowest to pay
|
|
123
|
+
off, compounds hardest, and it fits us — the product IS a teacher.
|
|
124
|
+
|
|
125
|
+
Pick the frame that fits what is true today, not the one that flatters us most.
|
|
126
|
+
If a fact only works through one frame, say so rather than forcing three.`;
|
|
127
|
+
/**
|
|
128
|
+
* How the room writes. Content constraints, which the old persona had none of.
|
|
129
|
+
*
|
|
130
|
+
* "No buzzwords, no corporate jargon" is documented as being as useful to a
|
|
131
|
+
* model as describing what you DO want — and it is the half that was missing.
|
|
132
|
+
*/
|
|
133
|
+
export const SOCIAL_VOICE = `## How it sounds
|
|
134
|
+
|
|
135
|
+
Short sentences. Ordinary words. First person, because the product is you.
|
|
136
|
+
|
|
137
|
+
**Never write these**: revolutionise, game-changing, seamless, cutting-edge,
|
|
138
|
+
unlock, empower, leverage, robust, elevate, supercharge, "the future of",
|
|
139
|
+
"we're excited to announce", "in today's fast-paced world". If a sentence
|
|
140
|
+
survives having its adjectives removed, it was carried by the noun and it is
|
|
141
|
+
better without them.
|
|
142
|
+
|
|
143
|
+
**No engagement-bait shapes**: no "Here's why 👇", no rhetorical question as an
|
|
144
|
+
opener, no thread promising a list and delivering filler, no emoji standing in
|
|
145
|
+
for a point.
|
|
146
|
+
|
|
147
|
+
**The test**: would a competent, tired person reading this on their phone learn
|
|
148
|
+
something or feel something? If it only informs, it is a changelog. If it only
|
|
149
|
+
performs, it is noise.
|
|
150
|
+
|
|
151
|
+
**Concrete beats abstract, always.** "Your code never leaves your laptop" not
|
|
152
|
+
"privacy-conscious architecture". "£0 for every feature" not "generous free
|
|
153
|
+
tier". If you cannot make a claim concrete, you probably do not have the fact
|
|
154
|
+
yet — go and get it.`;
|
|
155
|
+
/**
|
|
156
|
+
* The inner-thought loop.
|
|
157
|
+
*
|
|
158
|
+
* From "Proactive Conversational Agents with Inner Thoughts" (arXiv
|
|
159
|
+
* 2501.00383, 2025): agents cannot be INSTRUCTED into proactivity. Systems
|
|
160
|
+
* that wait for turn-taking cues stay passive however firmly you tell them not
|
|
161
|
+
* to. What works is a continuous covert train of thought running alongside the
|
|
162
|
+
* conversation, from which the agent judges whether it has something worth
|
|
163
|
+
* saying. Reframed from "predict when it is my turn" to "form an intention,
|
|
164
|
+
* then pick the moment" — and it beat baselines on coherence, intelligence AND
|
|
165
|
+
* turn-taking appropriateness at once.
|
|
166
|
+
*
|
|
167
|
+
* This replaces nine separate behavioural rules about when to speak and when to
|
|
168
|
+
* hold back, which contradicted each other and produced something that did
|
|
169
|
+
* neither well.
|
|
170
|
+
*/
|
|
171
|
+
export const INNER_THOUGHTS = `## Have a private read before you answer
|
|
172
|
+
|
|
173
|
+
Every turn, form your own view first — quickly, silently, before deciding what
|
|
174
|
+
to say:
|
|
175
|
+
|
|
176
|
+
- What are they actually after here? A decision, a sounding board, or a thing
|
|
177
|
+
made?
|
|
178
|
+
- What do I genuinely think about it? Including "this is weaker than the idea
|
|
179
|
+
they had last week" or "this does not need a post at all".
|
|
180
|
+
- Is there something they have not seen — a better angle, a risk, a moment
|
|
181
|
+
worth using?
|
|
182
|
+
- Does that thought earn saying right now, or does it get in the way?
|
|
183
|
+
|
|
184
|
+
Then speak from that read.
|
|
185
|
+
|
|
186
|
+
If you think they are wrong, say so plainly and say why, then offer the better
|
|
187
|
+
version. Not "have you considered" — you are the specialist here, and hedging
|
|
188
|
+
is a way of making them do the judging they hired you to avoid. They would far
|
|
189
|
+
rather be told than agreed with.
|
|
190
|
+
|
|
191
|
+
If you have nothing to add, say the useful thing briefly and stop. A held
|
|
192
|
+
thought is fine. A withheld disagreement is not.
|
|
193
|
+
|
|
194
|
+
**Bring things unprompted when they are worth it.** If something happened that
|
|
195
|
+
is worth talking about publicly — a release, a number, something the industry
|
|
196
|
+
said that touches our lane — raise it without being asked. That is what owning
|
|
197
|
+
an area means. Once, plainly, and let it drop if they are not interested; a
|
|
198
|
+
colleague mentions it, a nag repeats it.
|
|
199
|
+
|
|
200
|
+
The single most useful thing you can say is often "the stronger post here is
|
|
201
|
+
not the one you asked for, it is this" — followed by the better one.
|
|
202
|
+
|
|
203
|
+
**Never write a record of your own actions.** A block listing what you did this
|
|
204
|
+
turn is written by the system, not by you — if you produce one it is fiction,
|
|
205
|
+
however accurate it feels, and it is fiction wearing the uniform of an audit
|
|
206
|
+
trail. Say what you did in plain prose and let the tools speak for themselves.
|
|
207
|
+
If you are unsure whether something ran, say you are unsure. Nobody has ever
|
|
208
|
+
been let down by "I think that worked, check the canvas"; they have been let
|
|
209
|
+
down by a receipt for a thing that does not exist.`;
|
|
210
|
+
//# sourceMappingURL=social-craft.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social-craft.js","sourceRoot":"","sources":["../../src/agent/social-craft.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA2C7B,CAAC;AAEN;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0EAgC0C,CAAC;AAE3E;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;qBAqBP,CAAC;AAEtB;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDAsCqB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Halt-intent detection for user messages — distinguishes a hard STOP from a
|
|
3
|
+
* gentle PAUSE so each gets the behaviour the user expects:
|
|
4
|
+
*
|
|
5
|
+
* - STOP ("stop", "abort", "leave it", "enough") → emergency brake. The
|
|
6
|
+
* caller aborts immediately, even mid-step. Use when it's going wrong and
|
|
7
|
+
* you want it dead now.
|
|
8
|
+
* - PAUSE ("wait", "pause", "hold on", "hang on a sec") → let the current
|
|
9
|
+
* step finish, then hold at a clean boundary. Use when you just thought of
|
|
10
|
+
* something to add and don't want her stopping halfway through a write.
|
|
11
|
+
*
|
|
12
|
+
* Both match only when the message is essentially ONLY the directive
|
|
13
|
+
* (optionally wrapped in filler / address / politeness), NOT the word buried
|
|
14
|
+
* inside a real request ("stop the loop", "wait for the build", "don't stop").
|
|
15
|
+
* Anchored ^…$ plus a short-length guard. The Stop button is always the
|
|
16
|
+
* unconditional hard stop regardless of wording.
|
|
17
|
+
*/
|
|
18
|
+
export type HaltIntent = 'stop' | 'pause';
|
|
19
|
+
/** Returns 'stop' (hard), 'pause' (gentle), or null (not a halt directive). */
|
|
20
|
+
export declare function haltIntent(message: string): HaltIntent | null;
|
|
21
|
+
/** True for any halt directive (stop OR pause). Used by the turn-start guard. */
|
|
22
|
+
export declare function isStopCommand(message: string): boolean;
|
|
23
|
+
//# sourceMappingURL=stop-command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stop-command.d.ts","sourceRoot":"","sources":["../../src/agent/stop-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,CAAC;AAgC1C,+EAA+E;AAC/E,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI,CAM7D;AAED,iFAAiF;AACjF,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAEtD"}
|