@andorra-labs/code 0.0.0-stage → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +38 -0
- package/README.md +231 -3
- package/THIRD_PARTY_NOTICES.md +56 -0
- package/dist/src/account-presentation.d.ts +53 -0
- package/dist/src/account-presentation.js +99 -0
- package/dist/src/activity.d.ts +41 -0
- package/dist/src/activity.js +79 -0
- package/dist/src/agent-definitions.d.ts +61 -0
- package/dist/src/agent-definitions.js +303 -0
- package/dist/src/agent-execution.d.ts +4 -0
- package/dist/src/agent-execution.js +1198 -0
- package/dist/src/agent-mcp.d.ts +105 -0
- package/dist/src/agent-mcp.js +859 -0
- package/dist/src/agent-modifiers.d.ts +8 -0
- package/dist/src/agent-modifiers.js +333 -0
- package/dist/src/analytics.d.ts +81 -0
- package/dist/src/analytics.js +81 -0
- package/dist/src/anthropic-console-auth.d.ts +68 -0
- package/dist/src/anthropic-console-auth.js +318 -0
- package/dist/src/anthropic-credentials.d.ts +41 -0
- package/dist/src/anthropic-credentials.js +107 -0
- package/dist/src/app-server/protocol.d.ts +500 -0
- package/dist/src/app-server/protocol.js +106 -0
- package/dist/src/app-server/reasoning.d.ts +43 -0
- package/dist/src/app-server/reasoning.js +173 -0
- package/dist/src/app-server/terminal.d.ts +77 -0
- package/dist/src/app-server/terminal.js +177 -0
- package/dist/src/app-server/workspace.d.ts +247 -0
- package/dist/src/app-server/workspace.js +1098 -0
- package/dist/src/app-server.d.ts +1039 -0
- package/dist/src/app-server.js +6594 -0
- package/dist/src/artifacts.d.ts +27 -0
- package/dist/src/artifacts.js +103 -0
- package/dist/src/attachments.d.ts +158 -0
- package/dist/src/attachments.js +466 -0
- package/dist/src/auth/AuthManager.d.ts +110 -0
- package/dist/src/auth/AuthManager.js +435 -0
- package/dist/src/auth/callback.d.ts +10 -0
- package/dist/src/auth/callback.js +96 -0
- package/dist/src/auth/deployment.d.ts +18 -0
- package/dist/src/auth/deployment.js +18 -0
- package/dist/src/auth/index.d.ts +31 -0
- package/dist/src/auth/index.js +27 -0
- package/dist/src/auth/lock.d.ts +2 -0
- package/dist/src/auth/lock.js +29 -0
- package/dist/src/auth/store.d.ts +20 -0
- package/dist/src/auth/store.js +93 -0
- package/dist/src/auth/types.d.ts +24 -0
- package/dist/src/auth/types.js +8 -0
- package/dist/src/auth-commands.d.ts +5 -0
- package/dist/src/auth-commands.js +28 -0
- package/dist/src/automation-runner.d.ts +7 -0
- package/dist/src/automation-runner.js +113 -0
- package/dist/src/automation-service.d.ts +28 -0
- package/dist/src/automation-service.js +299 -0
- package/dist/src/automation-tool.d.ts +2 -0
- package/dist/src/automation-tool.js +49 -0
- package/dist/src/automation-worker-shutdown.d.ts +3 -0
- package/dist/src/automation-worker-shutdown.js +13 -0
- package/dist/src/automations.d.ts +63 -0
- package/dist/src/automations.js +265 -0
- package/dist/src/boot-trace.d.ts +15 -0
- package/dist/src/boot-trace.js +25 -0
- package/dist/src/browser-activity.d.ts +4 -0
- package/dist/src/browser-activity.js +18 -0
- package/dist/src/browser-bridge.d.ts +56 -0
- package/dist/src/browser-bridge.js +372 -0
- package/dist/src/browser-observation.d.ts +24 -0
- package/dist/src/browser-observation.js +104 -0
- package/dist/src/browser-panel-tool.d.ts +39 -0
- package/dist/src/browser-panel-tool.js +227 -0
- package/dist/src/browser-runner.d.ts +16 -0
- package/dist/src/browser-runner.js +302 -0
- package/dist/src/browser-server.d.ts +31 -0
- package/dist/src/browser-server.js +1189 -0
- package/dist/src/browser-session.d.ts +19 -0
- package/dist/src/browser-session.js +649 -0
- package/dist/src/browser-ui/andorra-logo.png +0 -0
- package/dist/src/browser-ui/app.js +419 -0
- package/dist/src/browser-ui/index.html +13 -0
- package/dist/src/browser-ui/style.css +243 -0
- package/dist/src/browser-view.d.ts +348 -0
- package/dist/src/browser-view.js +1487 -0
- package/dist/src/capabilities.d.ts +9 -0
- package/dist/src/capabilities.js +135 -0
- package/dist/src/clarification-ui.d.ts +23 -0
- package/dist/src/clarification-ui.js +59 -0
- package/dist/src/claude-executable.d.ts +6 -0
- package/dist/src/claude-executable.js +56 -0
- package/dist/src/claude-provider.d.ts +35 -0
- package/dist/src/claude-provider.js +391 -0
- package/dist/src/cli.d.ts +85 -0
- package/dist/src/cli.js +2564 -0
- package/dist/src/code-intelligence/CodeIntelligenceManager.d.ts +108 -0
- package/dist/src/code-intelligence/CodeIntelligenceManager.js +616 -0
- package/dist/src/code-intelligence/ContextLedger.d.ts +32 -0
- package/dist/src/code-intelligence/ContextLedger.js +77 -0
- package/dist/src/code-intelligence/ContextRouter.d.ts +8 -0
- package/dist/src/code-intelligence/ContextRouter.js +18 -0
- package/dist/src/code-intelligence/codegraph/CodeGraphProjectSession.d.ts +82 -0
- package/dist/src/code-intelligence/codegraph/CodeGraphProjectSession.js +444 -0
- package/dist/src/code-intelligence/codegraph/CodeGraphProvider.d.ts +40 -0
- package/dist/src/code-intelligence/codegraph/CodeGraphProvider.js +84 -0
- package/dist/src/code-intelligence/codegraph/CodeGraphSyncBarrier.d.ts +22 -0
- package/dist/src/code-intelligence/codegraph/CodeGraphSyncBarrier.js +71 -0
- package/dist/src/code-intelligence/codegraph/repoExploreTool.d.ts +9 -0
- package/dist/src/code-intelligence/codegraph/repoExploreTool.js +26 -0
- package/dist/src/code-intelligence/repository.d.ts +13 -0
- package/dist/src/code-intelligence/repository.js +48 -0
- package/dist/src/code-intelligence/types.d.ts +78 -0
- package/dist/src/code-intelligence/types.js +3 -0
- package/dist/src/codex-auth.d.ts +83 -0
- package/dist/src/codex-auth.js +168 -0
- package/dist/src/codex-browser-auth.d.ts +74 -0
- package/dist/src/codex-browser-auth.js +429 -0
- package/dist/src/codex-errors.d.ts +3 -0
- package/dist/src/codex-errors.js +50 -0
- package/dist/src/codex-executable.d.ts +12 -0
- package/dist/src/codex-executable.js +154 -0
- package/dist/src/codex-provider.d.ts +25 -0
- package/dist/src/codex-provider.js +211 -0
- package/dist/src/codex-rpc.d.ts +43 -0
- package/dist/src/codex-rpc.js +136 -0
- package/dist/src/coding-tools.d.ts +19 -0
- package/dist/src/coding-tools.js +875 -0
- package/dist/src/command-metrics.d.ts +17 -0
- package/dist/src/command-metrics.js +34 -0
- package/dist/src/command-screens.d.ts +44 -0
- package/dist/src/command-screens.js +601 -0
- package/dist/src/commands.d.ts +111 -0
- package/dist/src/commands.js +550 -0
- package/dist/src/completion.d.ts +45 -0
- package/dist/src/completion.js +195 -0
- package/dist/src/config.d.ts +163 -0
- package/dist/src/config.js +663 -0
- package/dist/src/context-budget.d.ts +32 -0
- package/dist/src/context-budget.js +151 -0
- package/dist/src/context-compaction.d.ts +43 -0
- package/dist/src/context-compaction.js +269 -0
- package/dist/src/context-selection.d.ts +65 -0
- package/dist/src/context-selection.js +130 -0
- package/dist/src/dashboard-view.d.ts +37 -0
- package/dist/src/dashboard-view.js +254 -0
- package/dist/src/dashboard.d.ts +41 -0
- package/dist/src/dashboard.js +160 -0
- package/dist/src/deadline.d.ts +55 -0
- package/dist/src/deadline.js +164 -0
- package/dist/src/decision/ContinuationAdapter.d.ts +6 -0
- package/dist/src/decision/ContinuationAdapter.js +11 -0
- package/dist/src/decision/DecisionEngine.d.ts +23 -0
- package/dist/src/decision/DecisionEngine.js +1 -0
- package/dist/src/decision/DecisionManager.d.ts +47 -0
- package/dist/src/decision/DecisionManager.js +280 -0
- package/dist/src/decision/DecisionPolicy.d.ts +8 -0
- package/dist/src/decision/DecisionPolicy.js +54 -0
- package/dist/src/decision/FactContinuations.d.ts +147 -0
- package/dist/src/decision/FactContinuations.js +472 -0
- package/dist/src/decision/FactServiceGate.d.ts +12 -0
- package/dist/src/decision/FactServiceGate.js +37 -0
- package/dist/src/decision/PreparedSteps.d.ts +51 -0
- package/dist/src/decision/PreparedSteps.js +147 -0
- package/dist/src/decision/applyToolMenu.d.ts +3 -0
- package/dist/src/decision/applyToolMenu.js +61 -0
- package/dist/src/decision/checks.d.ts +13 -0
- package/dist/src/decision/checks.js +104 -0
- package/dist/src/decision/facts.d.ts +64 -0
- package/dist/src/decision/facts.js +90 -0
- package/dist/src/decision/guidancePolicy.d.ts +3 -0
- package/dist/src/decision/guidancePolicy.js +10 -0
- package/dist/src/decision/hostedPolicy.d.ts +14 -0
- package/dist/src/decision/hostedPolicy.js +21 -0
- package/dist/src/decision/index.d.ts +6 -0
- package/dist/src/decision/index.js +6 -0
- package/dist/src/decision/optimizationPolicy.d.ts +26 -0
- package/dist/src/decision/optimizationPolicy.js +38 -0
- package/dist/src/decision/providers/AndorraDecisionProvider.d.ts +17 -0
- package/dist/src/decision/providers/AndorraDecisionProvider.js +251 -0
- package/dist/src/decision/providers/HttpDecisionProvider.d.ts +16 -0
- package/dist/src/decision/providers/HttpDecisionProvider.js +105 -0
- package/dist/src/decision/providers/NoOpDecisionProvider.d.ts +4 -0
- package/dist/src/decision/providers/NoOpDecisionProvider.js +3 -0
- package/dist/src/decision/providers/index.d.ts +3 -0
- package/dist/src/decision/providers/index.js +13 -0
- package/dist/src/decision/providers/questions.d.ts +3 -0
- package/dist/src/decision/providers/questions.js +31 -0
- package/dist/src/decision/routeTools.d.ts +59 -0
- package/dist/src/decision/routeTools.js +131 -0
- package/dist/src/decision/toolFamilies.d.ts +7 -0
- package/dist/src/decision/toolFamilies.js +55 -0
- package/dist/src/decision/toolMenu.d.ts +35 -0
- package/dist/src/decision/toolMenu.js +73 -0
- package/dist/src/decision/types.d.ts +99 -0
- package/dist/src/decision/types.js +1 -0
- package/dist/src/diff-preview.d.ts +6 -0
- package/dist/src/diff-preview.js +120 -0
- package/dist/src/duration.d.ts +44 -0
- package/dist/src/duration.js +72 -0
- package/dist/src/efficiency.d.ts +101 -0
- package/dist/src/efficiency.js +104 -0
- package/dist/src/engine/protocol.d.ts +11 -0
- package/dist/src/engine/protocol.js +51 -0
- package/dist/src/extensions.d.ts +46 -0
- package/dist/src/extensions.js +846 -0
- package/dist/src/favicons.d.ts +37 -0
- package/dist/src/favicons.js +216 -0
- package/dist/src/file-read-state.d.ts +8 -0
- package/dist/src/file-read-state.js +31 -0
- package/dist/src/git-summary.d.ts +67 -0
- package/dist/src/git-summary.js +461 -0
- package/dist/src/goal-completion-verification.d.ts +18 -0
- package/dist/src/goal-completion-verification.js +43 -0
- package/dist/src/graph-account.d.ts +31 -0
- package/dist/src/graph-account.js +57 -0
- package/dist/src/graph-editor-session.d.ts +15 -0
- package/dist/src/graph-editor-session.js +70 -0
- package/dist/src/graph-health.d.ts +88 -0
- package/dist/src/graph-health.js +243 -0
- package/dist/src/graph-provider-portability.d.ts +30 -0
- package/dist/src/graph-provider-portability.js +197 -0
- package/dist/src/graph-quota.d.ts +55 -0
- package/dist/src/graph-quota.js +131 -0
- package/dist/src/graph-runner.d.ts +4 -0
- package/dist/src/graph-runner.js +1356 -0
- package/dist/src/graph-selection.d.ts +17 -0
- package/dist/src/graph-selection.js +31 -0
- package/dist/src/graph-server.d.ts +13 -0
- package/dist/src/graph-server.js +483 -0
- package/dist/src/graph-studio-features.d.ts +61 -0
- package/dist/src/graph-studio-features.js +348 -0
- package/dist/src/graph-sync.d.ts +76 -0
- package/dist/src/graph-sync.js +619 -0
- package/dist/src/graph-ui/andorra-logo.png +0 -0
- package/dist/src/graph-ui/app.js +1803 -0
- package/dist/src/graph-ui/compat.js +43 -0
- package/dist/src/graph-ui/controls.css +190 -0
- package/dist/src/graph-ui/controls.js +567 -0
- package/dist/src/graph-ui/edge-router.js +117 -0
- package/dist/src/graph-ui/embed.js +324 -0
- package/dist/src/graph-ui/fonts/geist-mono-latin-400-normal.woff2 +0 -0
- package/dist/src/graph-ui/fonts/geist-sans-latin-400-normal.woff2 +0 -0
- package/dist/src/graph-ui/fonts/geist-sans-latin-500-normal.woff2 +0 -0
- package/dist/src/graph-ui/icons.js +117 -0
- package/dist/src/graph-ui/index.html +7 -0
- package/dist/src/graph-ui/library.css +26 -0
- package/dist/src/graph-ui/sidebar.js +61 -0
- package/dist/src/graph-ui/studio-canvas.js +454 -0
- package/dist/src/graph-ui/studio.css +110 -0
- package/dist/src/graph-ui/studio.js +720 -0
- package/dist/src/graph-ui/style.css +477 -0
- package/dist/src/graph-ui/theme.js +92 -0
- package/dist/src/graph-ui/tokens.css +187 -0
- package/dist/src/graphs.d.ts +270 -0
- package/dist/src/graphs.js +1102 -0
- package/dist/src/grep-regex-worker.d.ts +1 -0
- package/dist/src/grep-regex-worker.js +20 -0
- package/dist/src/grep-regex.d.ts +11 -0
- package/dist/src/grep-regex.js +64 -0
- package/dist/src/handoffs.d.ts +34 -0
- package/dist/src/handoffs.js +229 -0
- package/dist/src/hardened-runtime.d.ts +14 -0
- package/dist/src/hardened-runtime.js +264 -0
- package/dist/src/limits.d.ts +77 -0
- package/dist/src/limits.js +88 -0
- package/dist/src/markdown.d.ts +31 -0
- package/dist/src/markdown.js +553 -0
- package/dist/src/mcp.d.ts +11 -0
- package/dist/src/mcp.js +175 -0
- package/dist/src/membership-errors.d.ts +4 -0
- package/dist/src/membership-errors.js +4 -0
- package/dist/src/membership.d.ts +81 -0
- package/dist/src/membership.js +247 -0
- package/dist/src/memory/LocalToolMemory.d.ts +20 -0
- package/dist/src/memory/LocalToolMemory.js +114 -0
- package/dist/src/memory/MemoryDistiller.d.ts +35 -0
- package/dist/src/memory/MemoryDistiller.js +216 -0
- package/dist/src/memory/MemoryManager.d.ts +76 -0
- package/dist/src/memory/MemoryManager.js +386 -0
- package/dist/src/memory/MemoryPolicy.d.ts +30 -0
- package/dist/src/memory/MemoryPolicy.js +96 -0
- package/dist/src/memory/MemoryProvider.d.ts +18 -0
- package/dist/src/memory/MemoryProvider.js +1 -0
- package/dist/src/memory/MemoryRetriever.d.ts +27 -0
- package/dist/src/memory/MemoryRetriever.js +149 -0
- package/dist/src/memory/PermissionMemoryProvider.d.ts +22 -0
- package/dist/src/memory/PermissionMemoryProvider.js +50 -0
- package/dist/src/memory/ToolFailureLessons.d.ts +39 -0
- package/dist/src/memory/ToolFailureLessons.js +167 -0
- package/dist/src/memory/index.d.ts +12 -0
- package/dist/src/memory/index.js +11 -0
- package/dist/src/memory/providers/NoOpMemoryProvider.d.ts +13 -0
- package/dist/src/memory/providers/NoOpMemoryProvider.js +15 -0
- package/dist/src/memory/providers/graphiti/GraphitiClient.d.ts +27 -0
- package/dist/src/memory/providers/graphiti/GraphitiClient.js +76 -0
- package/dist/src/memory/providers/graphiti/GraphitiMapper.d.ts +6 -0
- package/dist/src/memory/providers/graphiti/GraphitiMapper.js +116 -0
- package/dist/src/memory/providers/graphiti/GraphitiMemoryProvider.d.ts +27 -0
- package/dist/src/memory/providers/graphiti/GraphitiMemoryProvider.js +137 -0
- package/dist/src/memory/providers/graphiti/GraphitiTypes.d.ts +57 -0
- package/dist/src/memory/providers/graphiti/GraphitiTypes.js +2 -0
- package/dist/src/memory/redaction.d.ts +11 -0
- package/dist/src/memory/redaction.js +58 -0
- package/dist/src/memory/repository.d.ts +11 -0
- package/dist/src/memory/repository.js +74 -0
- package/dist/src/memory/tools/memorySearchTool.d.ts +4 -0
- package/dist/src/memory/tools/memorySearchTool.js +77 -0
- package/dist/src/memory/types.d.ts +112 -0
- package/dist/src/memory/types.js +7 -0
- package/dist/src/model-metadata.d.ts +28 -0
- package/dist/src/model-metadata.js +274 -0
- package/dist/src/model-override.d.ts +60 -0
- package/dist/src/model-override.js +146 -0
- package/dist/src/model-tiers.d.ts +61 -0
- package/dist/src/model-tiers.js +109 -0
- package/dist/src/opencode-catalog.d.ts +16 -0
- package/dist/src/opencode-catalog.js +135 -0
- package/dist/src/opencode-provider.d.ts +10 -0
- package/dist/src/opencode-provider.js +525 -0
- package/dist/src/paged-transcript.d.ts +58 -0
- package/dist/src/paged-transcript.js +205 -0
- package/dist/src/palette.d.ts +61 -0
- package/dist/src/palette.js +63 -0
- package/dist/src/permissions.d.ts +36 -0
- package/dist/src/permissions.js +93 -0
- package/dist/src/powershell-pool.d.ts +26 -0
- package/dist/src/powershell-pool.js +235 -0
- package/dist/src/profile.d.ts +80 -0
- package/dist/src/profile.js +200 -0
- package/dist/src/provider-connection.d.ts +36 -0
- package/dist/src/provider-connection.js +222 -0
- package/dist/src/provider-engine.d.ts +37 -0
- package/dist/src/provider-engine.js +401 -0
- package/dist/src/provider-import.d.ts +68 -0
- package/dist/src/provider-import.js +355 -0
- package/dist/src/provider-settings.d.ts +8 -0
- package/dist/src/provider-settings.js +451 -0
- package/dist/src/providers.d.ts +219 -0
- package/dist/src/providers.js +1230 -0
- package/dist/src/pull-requests.d.ts +195 -0
- package/dist/src/pull-requests.js +514 -0
- package/dist/src/qa/api/http-runner.d.ts +3 -0
- package/dist/src/qa/api/http-runner.js +47 -0
- package/dist/src/qa/browser/PlaywrightRunner.d.ts +21 -0
- package/dist/src/qa/browser/PlaywrightRunner.js +190 -0
- package/dist/src/qa/command-policy.d.ts +28 -0
- package/dist/src/qa/command-policy.js +122 -0
- package/dist/src/qa/git/ChangeDetector.d.ts +26 -0
- package/dist/src/qa/git/ChangeDetector.js +177 -0
- package/dist/src/qa/git/DiffReviewer.d.ts +28 -0
- package/dist/src/qa/git/DiffReviewer.js +115 -0
- package/dist/src/qa/index.d.ts +11 -0
- package/dist/src/qa/index.js +19 -0
- package/dist/src/qa/orchestrator/ChangeClassifier.d.ts +14 -0
- package/dist/src/qa/orchestrator/ChangeClassifier.js +28 -0
- package/dist/src/qa/orchestrator/MergeGate.d.ts +14 -0
- package/dist/src/qa/orchestrator/MergeGate.js +40 -0
- package/dist/src/qa/orchestrator/QaOrchestrator.d.ts +79 -0
- package/dist/src/qa/orchestrator/QaOrchestrator.js +373 -0
- package/dist/src/qa/profile/ProjectInspector.d.ts +9 -0
- package/dist/src/qa/profile/ProjectInspector.js +295 -0
- package/dist/src/qa/profile/QaConfigLoader.d.ts +43 -0
- package/dist/src/qa/profile/QaConfigLoader.js +261 -0
- package/dist/src/qa/profile/QaProfile.d.ts +17 -0
- package/dist/src/qa/profile/QaProfile.js +15 -0
- package/dist/src/qa/profile/yaml.d.ts +12 -0
- package/dist/src/qa/profile/yaml.js +203 -0
- package/dist/src/qa/qa-authorize.d.ts +25 -0
- package/dist/src/qa/qa-authorize.js +82 -0
- package/dist/src/qa/runners/CommandRunner.d.ts +22 -0
- package/dist/src/qa/runners/CommandRunner.js +96 -0
- package/dist/src/qa/runners/TestRunner.d.ts +21 -0
- package/dist/src/qa/runners/TestRunner.js +66 -0
- package/dist/src/qa/runtime/ProcessManager.d.ts +53 -0
- package/dist/src/qa/runtime/ProcessManager.js +225 -0
- package/dist/src/qa/runtime/PtyManager.d.ts +57 -0
- package/dist/src/qa/runtime/PtyManager.js +338 -0
- package/dist/src/qa/runtime/RuntimeSmoke.d.ts +11 -0
- package/dist/src/qa/runtime/RuntimeSmoke.js +78 -0
- package/dist/src/qa/runtime-detect.d.ts +10 -0
- package/dist/src/qa/runtime-detect.js +72 -0
- package/dist/src/qa/security/DependencyScanner.d.ts +19 -0
- package/dist/src/qa/security/DependencyScanner.js +167 -0
- package/dist/src/qa/security/SecretScanner.d.ts +3 -0
- package/dist/src/qa/security/SecretScanner.js +55 -0
- package/dist/src/qa/tools.d.ts +3 -0
- package/dist/src/qa/tools.js +301 -0
- package/dist/src/qa/types.d.ts +134 -0
- package/dist/src/qa/types.js +3 -0
- package/dist/src/react-runtime.d.ts +53 -0
- package/dist/src/react-runtime.js +1753 -0
- package/dist/src/remote/cert.d.ts +29 -0
- package/dist/src/remote/cert.js +136 -0
- package/dist/src/remote/client.d.ts +189 -0
- package/dist/src/remote/client.js +659 -0
- package/dist/src/remote/command.d.ts +4 -0
- package/dist/src/remote/command.js +211 -0
- package/dist/src/remote/engine-pool.d.ts +230 -0
- package/dist/src/remote/engine-pool.js +1160 -0
- package/dist/src/remote/errors.d.ts +26 -0
- package/dist/src/remote/errors.js +21 -0
- package/dist/src/remote/network.d.ts +48 -0
- package/dist/src/remote/network.js +135 -0
- package/dist/src/remote/pairing.d.ts +98 -0
- package/dist/src/remote/pairing.js +306 -0
- package/dist/src/remote/roots.d.ts +29 -0
- package/dist/src/remote/roots.js +44 -0
- package/dist/src/remote/serve.d.ts +115 -0
- package/dist/src/remote/serve.js +274 -0
- package/dist/src/remote/server.d.ts +35 -0
- package/dist/src/remote/server.js +484 -0
- package/dist/src/remote/types.d.ts +86 -0
- package/dist/src/remote/types.js +11 -0
- package/dist/src/run-control.d.ts +17 -0
- package/dist/src/run-control.js +52 -0
- package/dist/src/run-progress.d.ts +226 -0
- package/dist/src/run-progress.js +724 -0
- package/dist/src/run-records.d.ts +500 -0
- package/dist/src/run-records.js +1678 -0
- package/dist/src/runtime.d.ts +418 -0
- package/dist/src/runtime.js +247 -0
- package/dist/src/sandbox-child.d.ts +1 -0
- package/dist/src/sandbox-child.js +14 -0
- package/dist/src/save-lock.d.ts +9 -0
- package/dist/src/save-lock.js +186 -0
- package/dist/src/session-monitor.d.ts +98 -0
- package/dist/src/session-monitor.js +323 -0
- package/dist/src/session-reaper.d.ts +23 -0
- package/dist/src/session-reaper.js +33 -0
- package/dist/src/session-summary.d.ts +27 -0
- package/dist/src/session-summary.js +66 -0
- package/dist/src/session-title.d.ts +18 -0
- package/dist/src/session-title.js +54 -0
- package/dist/src/sessions.d.ts +211 -0
- package/dist/src/sessions.js +620 -0
- package/dist/src/shell.d.ts +40 -0
- package/dist/src/shell.js +504 -0
- package/dist/src/side-panel.d.ts +144 -0
- package/dist/src/side-panel.js +366 -0
- package/dist/src/skill-commands.d.ts +1 -0
- package/dist/src/skill-commands.js +11 -0
- package/dist/src/skills/bundled/ai-elements/SKILL.md +155 -0
- package/dist/src/skills/bundled/ai-elements/references/agent.md +138 -0
- package/dist/src/skills/bundled/ai-elements/references/artifact.md +91 -0
- package/dist/src/skills/bundled/ai-elements/references/attachments.md +197 -0
- package/dist/src/skills/bundled/ai-elements/references/audio-player.md +141 -0
- package/dist/src/skills/bundled/ai-elements/references/canvas.md +39 -0
- package/dist/src/skills/bundled/ai-elements/references/chain-of-thought.md +88 -0
- package/dist/src/skills/bundled/ai-elements/references/checkpoint.md +171 -0
- package/dist/src/skills/bundled/ai-elements/references/code-block.md +177 -0
- package/dist/src/skills/bundled/ai-elements/references/commit.md +184 -0
- package/dist/src/skills/bundled/ai-elements/references/confirmation.md +268 -0
- package/dist/src/skills/bundled/ai-elements/references/connection.md +39 -0
- package/dist/src/skills/bundled/ai-elements/references/context.md +133 -0
- package/dist/src/skills/bundled/ai-elements/references/controls.md +37 -0
- package/dist/src/skills/bundled/ai-elements/references/conversation.md +224 -0
- package/dist/src/skills/bundled/ai-elements/references/edge.md +57 -0
- package/dist/src/skills/bundled/ai-elements/references/environment-variables.md +109 -0
- package/dist/src/skills/bundled/ai-elements/references/file-tree.md +79 -0
- package/dist/src/skills/bundled/ai-elements/references/image.md +150 -0
- package/dist/src/skills/bundled/ai-elements/references/inline-citation.md +300 -0
- package/dist/src/skills/bundled/ai-elements/references/jsx-preview.md +108 -0
- package/dist/src/skills/bundled/ai-elements/references/message.md +231 -0
- package/dist/src/skills/bundled/ai-elements/references/mic-selector.md +193 -0
- package/dist/src/skills/bundled/ai-elements/references/model-selector.md +119 -0
- package/dist/src/skills/bundled/ai-elements/references/node.md +78 -0
- package/dist/src/skills/bundled/ai-elements/references/open-in-chat.md +74 -0
- package/dist/src/skills/bundled/ai-elements/references/package-info.md +102 -0
- package/dist/src/skills/bundled/ai-elements/references/panel.md +38 -0
- package/dist/src/skills/bundled/ai-elements/references/persona.md +173 -0
- package/dist/src/skills/bundled/ai-elements/references/plan.md +86 -0
- package/dist/src/skills/bundled/ai-elements/references/prompt-input.md +572 -0
- package/dist/src/skills/bundled/ai-elements/references/queue.md +179 -0
- package/dist/src/skills/bundled/ai-elements/references/reasoning.md +226 -0
- package/dist/src/skills/bundled/ai-elements/references/sandbox.md +133 -0
- package/dist/src/skills/bundled/ai-elements/references/schema-display.md +109 -0
- package/dist/src/skills/bundled/ai-elements/references/shimmer.md +55 -0
- package/dist/src/skills/bundled/ai-elements/references/snippet.md +71 -0
- package/dist/src/skills/bundled/ai-elements/references/sources.md +200 -0
- package/dist/src/skills/bundled/ai-elements/references/speech-input.md +167 -0
- package/dist/src/skills/bundled/ai-elements/references/stack-trace.md +225 -0
- package/dist/src/skills/bundled/ai-elements/references/suggestion.md +128 -0
- package/dist/src/skills/bundled/ai-elements/references/task.md +222 -0
- package/dist/src/skills/bundled/ai-elements/references/terminal.md +110 -0
- package/dist/src/skills/bundled/ai-elements/references/test-results.md +164 -0
- package/dist/src/skills/bundled/ai-elements/references/tool.md +282 -0
- package/dist/src/skills/bundled/ai-elements/references/toolbar.md +37 -0
- package/dist/src/skills/bundled/ai-elements/references/transcription.md +127 -0
- package/dist/src/skills/bundled/ai-elements/references/voice-selector.md +248 -0
- package/dist/src/skills/bundled/ai-elements/references/web-preview.md +204 -0
- package/dist/src/skills/bundled/ai-elements/scripts/agent.tsx +67 -0
- package/dist/src/skills/bundled/ai-elements/scripts/artifact.tsx +117 -0
- package/dist/src/skills/bundled/ai-elements/scripts/attachments-inline.tsx +123 -0
- package/dist/src/skills/bundled/ai-elements/scripts/attachments-list.tsx +94 -0
- package/dist/src/skills/bundled/ai-elements/scripts/attachments.tsx +84 -0
- package/dist/src/skills/bundled/ai-elements/scripts/audio-player-remote.tsx +35 -0
- package/dist/src/skills/bundled/ai-elements/scripts/audio-player.tsx +74 -0
- package/dist/src/skills/bundled/ai-elements/scripts/chain-of-thought.tsx +80 -0
- package/dist/src/skills/bundled/ai-elements/scripts/checkpoint.tsx +96 -0
- package/dist/src/skills/bundled/ai-elements/scripts/code-block-dark.tsx +46 -0
- package/dist/src/skills/bundled/ai-elements/scripts/code-block.tsx +120 -0
- package/dist/src/skills/bundled/ai-elements/scripts/commit.tsx +94 -0
- package/dist/src/skills/bundled/ai-elements/scripts/confirmation-accepted.tsx +41 -0
- package/dist/src/skills/bundled/ai-elements/scripts/confirmation-rejected.tsx +41 -0
- package/dist/src/skills/bundled/ai-elements/scripts/confirmation-request.tsx +54 -0
- package/dist/src/skills/bundled/ai-elements/scripts/confirmation.tsx +59 -0
- package/dist/src/skills/bundled/ai-elements/scripts/context.tsx +45 -0
- package/dist/src/skills/bundled/ai-elements/scripts/conversation.tsx +182 -0
- package/dist/src/skills/bundled/ai-elements/scripts/environment-variables.tsx +61 -0
- package/dist/src/skills/bundled/ai-elements/scripts/file-tree-basic.tsx +20 -0
- package/dist/src/skills/bundled/ai-elements/scripts/file-tree-expanded.tsx +23 -0
- package/dist/src/skills/bundled/ai-elements/scripts/file-tree-selection.tsx +26 -0
- package/dist/src/skills/bundled/ai-elements/scripts/file-tree.tsx +44 -0
- package/dist/src/skills/bundled/ai-elements/scripts/image.tsx +20 -0
- package/dist/src/skills/bundled/ai-elements/scripts/inline-citation.tsx +101 -0
- package/dist/src/skills/bundled/ai-elements/scripts/jsx-preview.tsx +105 -0
- package/dist/src/skills/bundled/ai-elements/scripts/message.tsx +330 -0
- package/dist/src/skills/bundled/ai-elements/scripts/mic-selector.tsx +52 -0
- package/dist/src/skills/bundled/ai-elements/scripts/model-selector.tsx +368 -0
- package/dist/src/skills/bundled/ai-elements/scripts/open-in-chat.tsx +33 -0
- package/dist/src/skills/bundled/ai-elements/scripts/package-info.tsx +52 -0
- package/dist/src/skills/bundled/ai-elements/scripts/persona-command.tsx +101 -0
- package/dist/src/skills/bundled/ai-elements/scripts/persona-glint.tsx +101 -0
- package/dist/src/skills/bundled/ai-elements/scripts/persona-halo.tsx +101 -0
- package/dist/src/skills/bundled/ai-elements/scripts/persona-mana.tsx +101 -0
- package/dist/src/skills/bundled/ai-elements/scripts/persona-obsidian.tsx +101 -0
- package/dist/src/skills/bundled/ai-elements/scripts/persona-opal.tsx +101 -0
- package/dist/src/skills/bundled/ai-elements/scripts/plan.tsx +69 -0
- package/dist/src/skills/bundled/ai-elements/scripts/prompt-input-cursor.tsx +462 -0
- package/dist/src/skills/bundled/ai-elements/scripts/prompt-input-tooltip.tsx +46 -0
- package/dist/src/skills/bundled/ai-elements/scripts/prompt-input.tsx +254 -0
- package/dist/src/skills/bundled/ai-elements/scripts/queue-prompt-input.tsx +372 -0
- package/dist/src/skills/bundled/ai-elements/scripts/queue.tsx +281 -0
- package/dist/src/skills/bundled/ai-elements/scripts/reasoning.tsx +73 -0
- package/dist/src/skills/bundled/ai-elements/scripts/sandbox.tsx +171 -0
- package/dist/src/skills/bundled/ai-elements/scripts/schema-display-basic.tsx +13 -0
- package/dist/src/skills/bundled/ai-elements/scripts/schema-display-body.tsx +20 -0
- package/dist/src/skills/bundled/ai-elements/scripts/schema-display-nested.tsx +23 -0
- package/dist/src/skills/bundled/ai-elements/scripts/schema-display-params.tsx +16 -0
- package/dist/src/skills/bundled/ai-elements/scripts/schema-display.tsx +110 -0
- package/dist/src/skills/bundled/ai-elements/scripts/shimmer-duration.tsx +35 -0
- package/dist/src/skills/bundled/ai-elements/scripts/shimmer-elements.tsx +45 -0
- package/dist/src/skills/bundled/ai-elements/scripts/shimmer.tsx +17 -0
- package/dist/src/skills/bundled/ai-elements/scripts/snippet-plain.tsx +19 -0
- package/dist/src/skills/bundled/ai-elements/scripts/snippet.tsx +25 -0
- package/dist/src/skills/bundled/ai-elements/scripts/sources-custom.tsx +40 -0
- package/dist/src/skills/bundled/ai-elements/scripts/sources.tsx +33 -0
- package/dist/src/skills/bundled/ai-elements/scripts/speech-input.tsx +85 -0
- package/dist/src/skills/bundled/ai-elements/scripts/stack-trace-collapsed.tsx +39 -0
- package/dist/src/skills/bundled/ai-elements/scripts/stack-trace-no-internal.tsx +41 -0
- package/dist/src/skills/bundled/ai-elements/scripts/stack-trace.tsx +60 -0
- package/dist/src/skills/bundled/ai-elements/scripts/suggestion-input.tsx +142 -0
- package/dist/src/skills/bundled/ai-elements/scripts/suggestion.tsx +34 -0
- package/dist/src/skills/bundled/ai-elements/scripts/task.tsx +59 -0
- package/dist/src/skills/bundled/ai-elements/scripts/terminal-basic.tsx +7 -0
- package/dist/src/skills/bundled/ai-elements/scripts/terminal-clear.tsx +19 -0
- package/dist/src/skills/bundled/ai-elements/scripts/terminal-streaming.tsx +38 -0
- package/dist/src/skills/bundled/ai-elements/scripts/terminal.tsx +83 -0
- package/dist/src/skills/bundled/ai-elements/scripts/test-results-basic.tsx +27 -0
- package/dist/src/skills/bundled/ai-elements/scripts/test-results-errors.tsx +51 -0
- package/dist/src/skills/bundled/ai-elements/scripts/test-results-suites.tsx +40 -0
- package/dist/src/skills/bundled/ai-elements/scripts/test-results.tsx +84 -0
- package/dist/src/skills/bundled/ai-elements/scripts/tool-input-available.tsx +31 -0
- package/dist/src/skills/bundled/ai-elements/scripts/tool-input-streaming.tsx +30 -0
- package/dist/src/skills/bundled/ai-elements/scripts/tool-output-available.tsx +81 -0
- package/dist/src/skills/bundled/ai-elements/scripts/tool-output-error.tsx +50 -0
- package/dist/src/skills/bundled/ai-elements/scripts/tool.tsx +210 -0
- package/dist/src/skills/bundled/ai-elements/scripts/transcription.tsx +289 -0
- package/dist/src/skills/bundled/ai-elements/scripts/voice-selector.tsx +233 -0
- package/dist/src/skills/bundled/ai-elements/scripts/web-preview.tsx +105 -0
- package/dist/src/skills/bundled/control-browser/SKILL.md +21 -0
- package/dist/src/skills/bundled/dynamic-workflows/SKILL.md +1520 -0
- package/dist/src/skills/bundled/dynamic-workflows/examples.md +801 -0
- package/dist/src/skills/bundled/dynamic-workflows/patterns.md +460 -0
- package/dist/src/skills/bundled/provenance.json +684 -0
- package/dist/src/skills/bundled/web-gui-tester/SKILL.md +159 -0
- package/dist/src/skills/project-skills.d.ts +11 -0
- package/dist/src/skills/project-skills.js +132 -0
- package/dist/src/skills/runtime-skills.d.ts +10 -0
- package/dist/src/skills/runtime-skills.js +237 -0
- package/dist/src/subagent-run.d.ts +278 -0
- package/dist/src/subagent-run.js +930 -0
- package/dist/src/telemetry/aggregate.d.ts +80 -0
- package/dist/src/telemetry/aggregate.js +217 -0
- package/dist/src/telemetry/capture-core.d.ts +190 -0
- package/dist/src/telemetry/capture-core.js +374 -0
- package/dist/src/telemetry/capture.d.ts +5 -0
- package/dist/src/telemetry/capture.js +16 -0
- package/dist/src/telemetry/classify.d.ts +102 -0
- package/dist/src/telemetry/classify.js +252 -0
- package/dist/src/telemetry/decision-capture.d.ts +13 -0
- package/dist/src/telemetry/decision-capture.js +40 -0
- package/dist/src/telemetry/emitter.d.ts +77 -0
- package/dist/src/telemetry/emitter.js +279 -0
- package/dist/src/telemetry/gate.d.ts +48 -0
- package/dist/src/telemetry/gate.js +55 -0
- package/dist/src/telemetry/identity.d.ts +19 -0
- package/dist/src/telemetry/identity.js +109 -0
- package/dist/src/telemetry/outbox.d.ts +91 -0
- package/dist/src/telemetry/outbox.js +356 -0
- package/dist/src/telemetry/schema.d.ts +184 -0
- package/dist/src/telemetry/schema.js +492 -0
- package/dist/src/telemetry/state.d.ts +90 -0
- package/dist/src/telemetry/state.js +195 -0
- package/dist/src/telemetry/surface.d.ts +76 -0
- package/dist/src/telemetry/surface.js +116 -0
- package/dist/src/telemetry/uploader.d.ts +29 -0
- package/dist/src/telemetry/uploader.js +151 -0
- package/dist/src/telemetry/uploads.d.ts +13 -0
- package/dist/src/telemetry/uploads.js +19 -0
- package/dist/src/telemetry/version.d.ts +5 -0
- package/dist/src/telemetry/version.js +25 -0
- package/dist/src/telemetry/workspace.d.ts +14 -0
- package/dist/src/telemetry/workspace.js +93 -0
- package/dist/src/terminal-ui.d.ts +744 -0
- package/dist/src/terminal-ui.js +3012 -0
- package/dist/src/text.d.ts +2 -0
- package/dist/src/text.js +8 -0
- package/dist/src/timers.d.ts +189 -0
- package/dist/src/timers.js +244 -0
- package/dist/src/todos.d.ts +12 -0
- package/dist/src/todos.js +33 -0
- package/dist/src/token-rate.d.ts +119 -0
- package/dist/src/token-rate.js +287 -0
- package/dist/src/tool-activity.d.ts +20 -0
- package/dist/src/tool-activity.js +76 -0
- package/dist/src/tool-call-clock.d.ts +32 -0
- package/dist/src/tool-call-clock.js +157 -0
- package/dist/src/tool-catalog.d.ts +40 -0
- package/dist/src/tool-catalog.js +100 -0
- package/dist/src/tool-dependencies.d.ts +23 -0
- package/dist/src/tool-dependencies.js +36 -0
- package/dist/src/tool-diff-stats.d.ts +24 -0
- package/dist/src/tool-diff-stats.js +122 -0
- package/dist/src/tool-errors.d.ts +12 -0
- package/dist/src/tool-errors.js +13 -0
- package/dist/src/tool-failure-tracker.d.ts +17 -0
- package/dist/src/tool-failure-tracker.js +71 -0
- package/dist/src/tool-names.d.ts +16 -0
- package/dist/src/tool-names.js +75 -0
- package/dist/src/tool-result-filter.d.ts +65 -0
- package/dist/src/tool-result-filter.js +447 -0
- package/dist/src/tool-schema-compatibility.d.ts +2 -0
- package/dist/src/tool-schema-compatibility.js +42 -0
- package/dist/src/tools.d.ts +3 -0
- package/dist/src/tools.js +663 -0
- package/dist/src/trajectory.d.ts +34 -0
- package/dist/src/trajectory.js +426 -0
- package/dist/src/transcript.d.ts +45 -0
- package/dist/src/transcript.js +228 -0
- package/dist/src/types.d.ts +248 -0
- package/dist/src/types.js +1 -0
- package/dist/src/update.d.ts +58 -0
- package/dist/src/update.js +571 -0
- package/dist/src/usage-analytics.d.ts +48 -0
- package/dist/src/usage-analytics.js +663 -0
- package/dist/src/widgets.d.ts +45 -0
- package/dist/src/widgets.js +71 -0
- package/dist/src/workspace-facts.d.ts +35 -0
- package/dist/src/workspace-facts.js +85 -0
- package/dist/src/workspace-git-metadata.d.ts +6 -0
- package/dist/src/workspace-git-metadata.js +114 -0
- package/dist/src/workspace-instructions.d.ts +7 -0
- package/dist/src/workspace-instructions.js +46 -0
- package/dist/vendor/engine/LICENSE.upstream +21 -0
- package/dist/vendor/engine/provenance.json +17923 -0
- package/dist/vendor/engine/runtime/agent/agent-loop.d.ts +23 -0
- package/dist/vendor/engine/runtime/agent/agent-loop.js +601 -0
- package/dist/vendor/engine/runtime/agent/agent.d.ts +130 -0
- package/dist/vendor/engine/runtime/agent/agent.js +430 -0
- package/dist/vendor/engine/runtime/agent/harness/agent-harness.d.ts +715 -0
- package/dist/vendor/engine/runtime/agent/harness/agent-harness.js +5 -0
- package/dist/vendor/engine/runtime/agent/harness/compaction/branch-summarization.d.ts +67 -0
- package/dist/vendor/engine/runtime/agent/harness/compaction/branch-summarization.js +175 -0
- package/dist/vendor/engine/runtime/agent/harness/compaction/compaction.d.ts +125 -0
- package/dist/vendor/engine/runtime/agent/harness/compaction/compaction.js +559 -0
- package/dist/vendor/engine/runtime/agent/harness/compaction/utils.d.ts +24 -0
- package/dist/vendor/engine/runtime/agent/harness/compaction/utils.js +119 -0
- package/dist/vendor/engine/runtime/agent/harness/config.d.ts +8 -0
- package/dist/vendor/engine/runtime/agent/harness/config.js +34 -0
- package/dist/vendor/engine/runtime/agent/harness/context.d.ts +8 -0
- package/dist/vendor/engine/runtime/agent/harness/context.js +12 -0
- package/dist/vendor/engine/runtime/agent/harness/events.d.ts +24 -0
- package/dist/vendor/engine/runtime/agent/harness/events.js +249 -0
- package/dist/vendor/engine/runtime/agent/harness/execution/assistant.d.ts +41 -0
- package/dist/vendor/engine/runtime/agent/harness/execution/assistant.js +81 -0
- package/dist/vendor/engine/runtime/agent/harness/execution/effect-gate.d.ts +21 -0
- package/dist/vendor/engine/runtime/agent/harness/execution/effect-gate.js +48 -0
- package/dist/vendor/engine/runtime/agent/harness/execution/tools.d.ts +66 -0
- package/dist/vendor/engine/runtime/agent/harness/execution/tools.js +118 -0
- package/dist/vendor/engine/runtime/agent/harness/hooks.d.ts +37 -0
- package/dist/vendor/engine/runtime/agent/harness/hooks.js +405 -0
- package/dist/vendor/engine/runtime/agent/harness/messages.d.ts +50 -0
- package/dist/vendor/engine/runtime/agent/harness/messages.js +102 -0
- package/dist/vendor/engine/runtime/agent/harness/prompt-templates.d.ts +48 -0
- package/dist/vendor/engine/runtime/agent/harness/prompt-templates.js +224 -0
- package/dist/vendor/engine/runtime/agent/harness/result.d.ts +132 -0
- package/dist/vendor/engine/runtime/agent/harness/result.js +80 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/boundary.d.ts +27 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/boundary.js +172 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/checkpoint.d.ts +7 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/checkpoint.js +132 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/deferred.d.ts +14 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/deferred.js +178 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/generation.d.ts +7 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/generation.js +204 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/reconcile.d.ts +4 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/reconcile.js +139 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/recovery.d.ts +7 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/recovery.js +84 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/response.d.ts +22 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/response.js +393 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/retry.d.ts +3 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/retry.js +33 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/structural.d.ts +31 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/structural.js +928 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/terminal.d.ts +6 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/terminal.js +48 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/tool-placement.d.ts +13 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/tool-placement.js +218 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/tools.d.ts +5 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive/tools.js +448 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive.d.ts +5 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/drive.js +92 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/harness.d.ts +58 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/harness.js +310 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/lane.d.ts +117 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/lane.js +1574 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/progress.d.ts +14 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/progress.js +65 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/reducer.d.ts +4 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/reducer.js +239 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/restore.d.ts +23 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/restore.js +116 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/transcript.d.ts +20 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/transcript.js +71 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/types.d.ts +104 -0
- package/dist/vendor/engine/runtime/agent/harness/runtime/types.js +60 -0
- package/dist/vendor/engine/runtime/agent/harness/session/commit.d.ts +52 -0
- package/dist/vendor/engine/runtime/agent/harness/session/commit.js +56 -0
- package/dist/vendor/engine/runtime/agent/harness/session/context.d.ts +9 -0
- package/dist/vendor/engine/runtime/agent/harness/session/context.js +48 -0
- package/dist/vendor/engine/runtime/agent/harness/session/fork-policy.d.ts +20 -0
- package/dist/vendor/engine/runtime/agent/harness/session/fork-policy.js +54 -0
- package/dist/vendor/engine/runtime/agent/harness/session/fork.d.ts +15 -0
- package/dist/vendor/engine/runtime/agent/harness/session/fork.js +78 -0
- package/dist/vendor/engine/runtime/agent/harness/session/in-memory-storage-state.d.ts +38 -0
- package/dist/vendor/engine/runtime/agent/harness/session/in-memory-storage-state.js +275 -0
- package/dist/vendor/engine/runtime/agent/harness/session/index.d.ts +10 -0
- package/dist/vendor/engine/runtime/agent/harness/session/index.js +8 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/codec.d.ts +20 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/codec.js +44 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/fork.d.ts +37 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/fork.js +263 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/index.d.ts +3 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/index.js +3 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/io.d.ts +13 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/io.js +85 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/legacy-v3.d.ts +43 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/legacy-v3.js +461 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/repo.d.ts +34 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/repo.js +300 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/storage.d.ts +40 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/storage.js +199 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/types.d.ts +38 -0
- package/dist/vendor/engine/runtime/agent/harness/session/jsonl/types.js +2 -0
- package/dist/vendor/engine/runtime/agent/harness/session/memory.d.ts +47 -0
- package/dist/vendor/engine/runtime/agent/harness/session/memory.js +368 -0
- package/dist/vendor/engine/runtime/agent/harness/session/mutation-line.d.ts +7 -0
- package/dist/vendor/engine/runtime/agent/harness/session/mutation-line.js +20 -0
- package/dist/vendor/engine/runtime/agent/harness/session/session.d.ts +81 -0
- package/dist/vendor/engine/runtime/agent/harness/session/session.js +360 -0
- package/dist/vendor/engine/runtime/agent/harness/session/types.d.ts +511 -0
- package/dist/vendor/engine/runtime/agent/harness/session/types.js +8 -0
- package/dist/vendor/engine/runtime/agent/harness/session/values.d.ts +94 -0
- package/dist/vendor/engine/runtime/agent/harness/session/values.js +80 -0
- package/dist/vendor/engine/runtime/agent/harness/skills.d.ts +45 -0
- package/dist/vendor/engine/runtime/agent/harness/skills.js +325 -0
- package/dist/vendor/engine/runtime/agent/harness/system-prompt.d.ts +2 -0
- package/dist/vendor/engine/runtime/agent/harness/system-prompt.js +29 -0
- package/dist/vendor/engine/runtime/agent/harness/telemetry.d.ts +1241 -0
- package/dist/vendor/engine/runtime/agent/harness/telemetry.js +526 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/bash.d.ts +26 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/bash.js +104 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/edit-diff.d.ts +88 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/edit-diff.js +385 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/edit.d.ts +18 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/edit.js +107 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/file-mutation-queue.d.ts +4 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/file-mutation-queue.js +45 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/image.d.ts +2 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/image.js +105 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/index.d.ts +5 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/index.js +4 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/path-utils.d.ts +4 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/path-utils.js +25 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/read.d.ts +34 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/read.js +107 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/tool-context.d.ts +5 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/tool-context.js +1 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/write.d.ts +10 -0
- package/dist/vendor/engine/runtime/agent/harness/tools/write.js +30 -0
- package/dist/vendor/engine/runtime/agent/harness/types.d.ts +304 -0
- package/dist/vendor/engine/runtime/agent/harness/types.js +74 -0
- package/dist/vendor/engine/runtime/agent/harness/utils/adaptive-publisher.d.ts +23 -0
- package/dist/vendor/engine/runtime/agent/harness/utils/adaptive-publisher.js +78 -0
- package/dist/vendor/engine/runtime/agent/harness/utils/output-capture.d.ts +30 -0
- package/dist/vendor/engine/runtime/agent/harness/utils/output-capture.js +216 -0
- package/dist/vendor/engine/runtime/agent/harness/utils/shell-output.d.ts +28 -0
- package/dist/vendor/engine/runtime/agent/harness/utils/shell-output.js +70 -0
- package/dist/vendor/engine/runtime/agent/harness/utils/truncate.d.ts +70 -0
- package/dist/vendor/engine/runtime/agent/harness/utils/truncate.js +295 -0
- package/dist/vendor/engine/runtime/agent/harness/utils/usage.d.ts +3 -0
- package/dist/vendor/engine/runtime/agent/harness/utils/usage.js +32 -0
- package/dist/vendor/engine/runtime/agent/index.d.ts +27 -0
- package/dist/vendor/engine/runtime/agent/index.js +25 -0
- package/dist/vendor/engine/runtime/agent/proxy.d.ts +71 -0
- package/dist/vendor/engine/runtime/agent/proxy.js +309 -0
- package/dist/vendor/engine/runtime/agent/search/index.d.ts +28 -0
- package/dist/vendor/engine/runtime/agent/search/index.js +1 -0
- package/dist/vendor/engine/runtime/agent/stream-fn.d.ts +9 -0
- package/dist/vendor/engine/runtime/agent/stream-fn.js +16 -0
- package/dist/vendor/engine/runtime/agent/types.d.ts +431 -0
- package/dist/vendor/engine/runtime/agent/types.js +1 -0
- package/dist/vendor/engine/runtime/ai/api/anthropic-messages.d.ts +70 -0
- package/dist/vendor/engine/runtime/ai/api/anthropic-messages.js +1204 -0
- package/dist/vendor/engine/runtime/ai/api/anthropic-messages.lazy.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/api/anthropic-messages.lazy.js +2 -0
- package/dist/vendor/engine/runtime/ai/api/azure-openai-responses.d.ts +16 -0
- package/dist/vendor/engine/runtime/ai/api/azure-openai-responses.js +260 -0
- package/dist/vendor/engine/runtime/ai/api/azure-openai-responses.lazy.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/api/azure-openai-responses.lazy.js +2 -0
- package/dist/vendor/engine/runtime/ai/api/bedrock-converse-stream.d.ts +37 -0
- package/dist/vendor/engine/runtime/ai/api/bedrock-converse-stream.js +1091 -0
- package/dist/vendor/engine/runtime/ai/api/bedrock-converse-stream.lazy.d.ts +9 -0
- package/dist/vendor/engine/runtime/ai/api/bedrock-converse-stream.lazy.js +21 -0
- package/dist/vendor/engine/runtime/ai/api/constrained-sampling.d.ts +19 -0
- package/dist/vendor/engine/runtime/ai/api/constrained-sampling.js +221 -0
- package/dist/vendor/engine/runtime/ai/api/github-copilot-headers.d.ts +7 -0
- package/dist/vendor/engine/runtime/ai/api/github-copilot-headers.js +28 -0
- package/dist/vendor/engine/runtime/ai/api/google-generative-ai.d.ts +12 -0
- package/dist/vendor/engine/runtime/ai/api/google-generative-ai.js +368 -0
- package/dist/vendor/engine/runtime/ai/api/google-generative-ai.lazy.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/api/google-generative-ai.lazy.js +2 -0
- package/dist/vendor/engine/runtime/ai/api/google-shared.d.ts +92 -0
- package/dist/vendor/engine/runtime/ai/api/google-shared.js +450 -0
- package/dist/vendor/engine/runtime/ai/api/google-vertex.d.ts +14 -0
- package/dist/vendor/engine/runtime/ai/api/google-vertex.js +429 -0
- package/dist/vendor/engine/runtime/ai/api/google-vertex.lazy.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/api/google-vertex.lazy.js +2 -0
- package/dist/vendor/engine/runtime/ai/api/lazy.d.ts +24 -0
- package/dist/vendor/engine/runtime/ai/api/lazy.js +69 -0
- package/dist/vendor/engine/runtime/ai/api/mistral-conversations.d.ts +24 -0
- package/dist/vendor/engine/runtime/ai/api/mistral-conversations.js +747 -0
- package/dist/vendor/engine/runtime/ai/api/mistral-conversations.lazy.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/api/mistral-conversations.lazy.js +2 -0
- package/dist/vendor/engine/runtime/ai/api/openai-codex-responses.d.ts +30 -0
- package/dist/vendor/engine/runtime/ai/api/openai-codex-responses.js +1302 -0
- package/dist/vendor/engine/runtime/ai/api/openai-codex-responses.lazy.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/api/openai-codex-responses.lazy.js +2 -0
- package/dist/vendor/engine/runtime/ai/api/openai-completions.d.ts +25 -0
- package/dist/vendor/engine/runtime/ai/api/openai-completions.js +1339 -0
- package/dist/vendor/engine/runtime/ai/api/openai-completions.lazy.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/api/openai-completions.lazy.js +2 -0
- package/dist/vendor/engine/runtime/ai/api/openai-prompt-cache.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/api/openai-prompt-cache.js +9 -0
- package/dist/vendor/engine/runtime/ai/api/openai-responses-shared.d.ts +27 -0
- package/dist/vendor/engine/runtime/ai/api/openai-responses-shared.js +688 -0
- package/dist/vendor/engine/runtime/ai/api/openai-responses.d.ts +13 -0
- package/dist/vendor/engine/runtime/ai/api/openai-responses.js +292 -0
- package/dist/vendor/engine/runtime/ai/api/openai-responses.lazy.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/api/openai-responses.lazy.js +2 -0
- package/dist/vendor/engine/runtime/ai/api/openrouter-images.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/api/openrouter-images.js +131 -0
- package/dist/vendor/engine/runtime/ai/api/openrouter-images.lazy.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/api/openrouter-images.lazy.js +3 -0
- package/dist/vendor/engine/runtime/ai/api/pi-messages.d.ts +98 -0
- package/dist/vendor/engine/runtime/ai/api/pi-messages.js +312 -0
- package/dist/vendor/engine/runtime/ai/api/pi-messages.lazy.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/api/pi-messages.lazy.js +2 -0
- package/dist/vendor/engine/runtime/ai/api/simple-options.d.ts +14 -0
- package/dist/vendor/engine/runtime/ai/api/simple-options.js +65 -0
- package/dist/vendor/engine/runtime/ai/api/transform-messages.d.ts +7 -0
- package/dist/vendor/engine/runtime/ai/api/transform-messages.js +200 -0
- package/dist/vendor/engine/runtime/ai/auth/context.d.ts +6 -0
- package/dist/vendor/engine/runtime/ai/auth/context.js +33 -0
- package/dist/vendor/engine/runtime/ai/auth/credential-store.d.ts +16 -0
- package/dist/vendor/engine/runtime/ai/auth/credential-store.js +50 -0
- package/dist/vendor/engine/runtime/ai/auth/helpers.d.ts +21 -0
- package/dist/vendor/engine/runtime/ai/auth/helpers.js +52 -0
- package/dist/vendor/engine/runtime/ai/auth/oauth/load.d.ts +28 -0
- package/dist/vendor/engine/runtime/ai/auth/oauth/load.js +55 -0
- package/dist/vendor/engine/runtime/ai/auth/resolve.d.ts +26 -0
- package/dist/vendor/engine/runtime/ai/auth/resolve.js +131 -0
- package/dist/vendor/engine/runtime/ai/auth/types.d.ts +230 -0
- package/dist/vendor/engine/runtime/ai/auth/types.js +1 -0
- package/dist/vendor/engine/runtime/ai/compat/extension-oauth-types.d.ts +38 -0
- package/dist/vendor/engine/runtime/ai/compat/extension-oauth-types.js +1 -0
- package/dist/vendor/engine/runtime/ai/compat.d.ts +66 -0
- package/dist/vendor/engine/runtime/ai/compat.js +201 -0
- package/dist/vendor/engine/runtime/ai/env-api-keys.d.ts +20 -0
- package/dist/vendor/engine/runtime/ai/env-api-keys.js +148 -0
- package/dist/vendor/engine/runtime/ai/image-models.d.ts +9 -0
- package/dist/vendor/engine/runtime/ai/image-models.generated.d.ts +814 -0
- package/dist/vendor/engine/runtime/ai/image-models.generated.js +816 -0
- package/dist/vendor/engine/runtime/ai/image-models.js +22 -0
- package/dist/vendor/engine/runtime/ai/images-api-registry.d.ts +13 -0
- package/dist/vendor/engine/runtime/ai/images-api-registry.js +21 -0
- package/dist/vendor/engine/runtime/ai/images-models.d.ts +94 -0
- package/dist/vendor/engine/runtime/ai/images-models.js +142 -0
- package/dist/vendor/engine/runtime/ai/images.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/images.js +13 -0
- package/dist/vendor/engine/runtime/ai/index.d.ts +36 -0
- package/dist/vendor/engine/runtime/ai/index.js +23 -0
- package/dist/vendor/engine/runtime/ai/legacy-api-aliases.d.ts +41 -0
- package/dist/vendor/engine/runtime/ai/legacy-api-aliases.js +48 -0
- package/dist/vendor/engine/runtime/ai/model-catalog.d.ts +16 -0
- package/dist/vendor/engine/runtime/ai/model-catalog.js +3 -0
- package/dist/vendor/engine/runtime/ai/models-store.d.ts +28 -0
- package/dist/vendor/engine/runtime/ai/models-store.js +16 -0
- package/dist/vendor/engine/runtime/ai/models.d.ts +201 -0
- package/dist/vendor/engine/runtime/ai/models.generated.d.ts +84 -0
- package/dist/vendor/engine/runtime/ai/models.generated.js +86 -0
- package/dist/vendor/engine/runtime/ai/models.js +593 -0
- package/dist/vendor/engine/runtime/ai/oauth.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/oauth.js +1 -0
- package/dist/vendor/engine/runtime/ai/providers/all.d.ts +27 -0
- package/dist/vendor/engine/runtime/ai/providers/all.js +132 -0
- package/dist/vendor/engine/runtime/ai/providers/amazon-bedrock.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/amazon-bedrock.js +92 -0
- package/dist/vendor/engine/runtime/ai/providers/amazon-bedrock.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/amazon-bedrock.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/ant-ling.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/ant-ling.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/ant-ling.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/ant-ling.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/anthropic.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/anthropic.js +55 -0
- package/dist/vendor/engine/runtime/ai/providers/anthropic.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/anthropic.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/azure-openai-responses.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/azure-openai-responses.js +13 -0
- package/dist/vendor/engine/runtime/ai/providers/azure-openai-responses.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/azure-openai-responses.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/baseten.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/baseten.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/baseten.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/baseten.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/cerebras.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/cerebras.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/cerebras.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/cerebras.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/cloudflare-ai-gateway.d.ts +4 -0
- package/dist/vendor/engine/runtime/ai/providers/cloudflare-ai-gateway.js +24 -0
- package/dist/vendor/engine/runtime/ai/providers/cloudflare-ai-gateway.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/cloudflare-ai-gateway.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/cloudflare-auth.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/cloudflare-auth.js +85 -0
- package/dist/vendor/engine/runtime/ai/providers/cloudflare-stream.d.ts +7 -0
- package/dist/vendor/engine/runtime/ai/providers/cloudflare-stream.js +20 -0
- package/dist/vendor/engine/runtime/ai/providers/cloudflare-workers-ai.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/cloudflare-workers-ai.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/cloudflare-workers-ai.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/cloudflare-workers-ai.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/data/.manifest.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/amazon-bedrock.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/ant-ling.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/anthropic.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/azure-openai-responses.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/baseten.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/cerebras.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/cloudflare-ai-gateway.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/cloudflare-workers-ai.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/deepseek.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/fireworks.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/github-copilot.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/google-vertex.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/google.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/groq.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/huggingface.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/kimi-coding.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/meta.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/minimax-cn.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/minimax.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/mistral.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/moonshotai-cn.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/moonshotai.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/nvidia.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/openai-codex.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/openai.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/opencode-go.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/opencode.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/openrouter.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/qwen-token-plan-cn.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/qwen-token-plan-individual.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/qwen-token-plan.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/radius.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/together.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/vercel-ai-gateway.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/xai.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/xiaomi-token-plan-ams.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/xiaomi-token-plan-cn.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/xiaomi-token-plan-sgp.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/xiaomi.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/zai-coding-cn.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/data/zai.json +1 -0
- package/dist/vendor/engine/runtime/ai/providers/deepseek.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/deepseek.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/deepseek.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/deepseek.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/faux.d.ts +102 -0
- package/dist/vendor/engine/runtime/ai/providers/faux.js +488 -0
- package/dist/vendor/engine/runtime/ai/providers/fireworks.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/fireworks.js +18 -0
- package/dist/vendor/engine/runtime/ai/providers/fireworks.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/fireworks.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/github-copilot.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/github-copilot.js +34 -0
- package/dist/vendor/engine/runtime/ai/providers/github-copilot.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/github-copilot.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/google-vertex.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/google-vertex.js +93 -0
- package/dist/vendor/engine/runtime/ai/providers/google-vertex.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/google-vertex.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/google.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/google.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/google.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/google.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/groq.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/groq.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/groq.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/groq.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/huggingface.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/huggingface.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/huggingface.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/huggingface.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/images/register-builtins.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/images/register-builtins.js +33 -0
- package/dist/vendor/engine/runtime/ai/providers/kimi-coding.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/kimi-coding.js +23 -0
- package/dist/vendor/engine/runtime/ai/providers/kimi-coding.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/kimi-coding.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/meta.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/meta.js +23 -0
- package/dist/vendor/engine/runtime/ai/providers/meta.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/meta.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/minimax-cn.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/minimax-cn.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/minimax-cn.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/minimax-cn.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/minimax.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/minimax.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/minimax.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/minimax.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/mistral.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/mistral.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/mistral.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/mistral.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/moonshotai-cn.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/moonshotai-cn.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/moonshotai-cn.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/moonshotai-cn.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/moonshotai.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/moonshotai.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/moonshotai.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/moonshotai.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/nvidia.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/nvidia.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/nvidia.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/nvidia.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/openai-codex.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/openai-codex.js +21 -0
- package/dist/vendor/engine/runtime/ai/providers/openai-codex.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/openai-codex.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/openai.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/openai.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/openai.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/openai.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/opencode-go.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/opencode-go.js +20 -0
- package/dist/vendor/engine/runtime/ai/providers/opencode-go.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/opencode-go.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/opencode-headers.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/opencode-headers.js +21 -0
- package/dist/vendor/engine/runtime/ai/providers/opencode.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/opencode.js +22 -0
- package/dist/vendor/engine/runtime/ai/providers/opencode.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/opencode.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/openrouter-images.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/openrouter-images.js +21 -0
- package/dist/vendor/engine/runtime/ai/providers/openrouter.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/openrouter.js +26 -0
- package/dist/vendor/engine/runtime/ai/providers/openrouter.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/openrouter.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/qwen-token-plan-cn.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/qwen-token-plan-cn.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/qwen-token-plan-cn.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/qwen-token-plan-cn.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/qwen-token-plan-individual.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/qwen-token-plan-individual.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/qwen-token-plan-individual.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/qwen-token-plan-individual.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/qwen-token-plan.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/qwen-token-plan.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/qwen-token-plan.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/qwen-token-plan.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/radius-config.d.ts +25 -0
- package/dist/vendor/engine/runtime/ai/providers/radius-config.js +62 -0
- package/dist/vendor/engine/runtime/ai/providers/radius.d.ts +8 -0
- package/dist/vendor/engine/runtime/ai/providers/radius.js +77 -0
- package/dist/vendor/engine/runtime/ai/providers/radius.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/radius.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/together.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/together.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/together.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/together.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/vercel-ai-gateway.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/vercel-ai-gateway.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/vercel-ai-gateway.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/vercel-ai-gateway.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/xai.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/xai.js +23 -0
- package/dist/vendor/engine/runtime/ai/providers/xai.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/xai.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi-token-plan-ams.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi-token-plan-ams.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi-token-plan-ams.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi-token-plan-ams.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi-token-plan-cn.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi-token-plan-cn.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi-token-plan-cn.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi-token-plan-cn.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi-token-plan-sgp.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi-token-plan-sgp.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi-token-plan-sgp.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi-token-plan-sgp.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/xiaomi.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/zai-coding-cn.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/zai-coding-cn.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/zai-coding-cn.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/zai-coding-cn.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/providers/zai.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/providers/zai.js +14 -0
- package/dist/vendor/engine/runtime/ai/providers/zai.models.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/providers/zai.models.js +5 -0
- package/dist/vendor/engine/runtime/ai/session-resources.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/session-resources.js +21 -0
- package/dist/vendor/engine/runtime/ai/types.d.ts +835 -0
- package/dist/vendor/engine/runtime/ai/types.js +1 -0
- package/dist/vendor/engine/runtime/ai/utils/abort-signals.d.ts +5 -0
- package/dist/vendor/engine/runtime/ai/utils/abort-signals.js +33 -0
- package/dist/vendor/engine/runtime/ai/utils/abort.d.ts +7 -0
- package/dist/vendor/engine/runtime/ai/utils/abort.js +48 -0
- package/dist/vendor/engine/runtime/ai/utils/assistant-message-frame.d.ts +76 -0
- package/dist/vendor/engine/runtime/ai/utils/assistant-message-frame.js +424 -0
- package/dist/vendor/engine/runtime/ai/utils/diagnostics.d.ts +19 -0
- package/dist/vendor/engine/runtime/ai/utils/diagnostics.js +24 -0
- package/dist/vendor/engine/runtime/ai/utils/error-body.d.ts +24 -0
- package/dist/vendor/engine/runtime/ai/utils/error-body.js +132 -0
- package/dist/vendor/engine/runtime/ai/utils/estimate.d.ts +16 -0
- package/dist/vendor/engine/runtime/ai/utils/estimate.js +94 -0
- package/dist/vendor/engine/runtime/ai/utils/event-stream.d.ts +20 -0
- package/dist/vendor/engine/runtime/ai/utils/event-stream.js +98 -0
- package/dist/vendor/engine/runtime/ai/utils/hash.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/utils/hash.js +13 -0
- package/dist/vendor/engine/runtime/ai/utils/headers.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/utils/headers.js +17 -0
- package/dist/vendor/engine/runtime/ai/utils/json-parse.d.ts +15 -0
- package/dist/vendor/engine/runtime/ai/utils/json-parse.js +112 -0
- package/dist/vendor/engine/runtime/ai/utils/node-http-proxy.d.ts +3 -0
- package/dist/vendor/engine/runtime/ai/utils/node-http-proxy.js +132 -0
- package/dist/vendor/engine/runtime/ai/utils/overflow.d.ts +68 -0
- package/dist/vendor/engine/runtime/ai/utils/overflow.js +177 -0
- package/dist/vendor/engine/runtime/ai/utils/pi-user-agent.d.ts +1 -0
- package/dist/vendor/engine/runtime/ai/utils/pi-user-agent.js +11 -0
- package/dist/vendor/engine/runtime/ai/utils/provider-env.d.ts +6 -0
- package/dist/vendor/engine/runtime/ai/utils/provider-env.js +43 -0
- package/dist/vendor/engine/runtime/ai/utils/provider-retry.d.ts +15 -0
- package/dist/vendor/engine/runtime/ai/utils/provider-retry.js +93 -0
- package/dist/vendor/engine/runtime/ai/utils/retry.d.ts +57 -0
- package/dist/vendor/engine/runtime/ai/utils/retry.js +182 -0
- package/dist/vendor/engine/runtime/ai/utils/sanitize-unicode.d.ts +21 -0
- package/dist/vendor/engine/runtime/ai/utils/sanitize-unicode.js +25 -0
- package/dist/vendor/engine/runtime/ai/utils/text.d.ts +13 -0
- package/dist/vendor/engine/runtime/ai/utils/text.js +35 -0
- package/dist/vendor/engine/runtime/ai/utils/transcript.d.ts +83 -0
- package/dist/vendor/engine/runtime/ai/utils/transcript.js +203 -0
- package/dist/vendor/engine/runtime/ai/utils/typebox-helpers.d.ts +16 -0
- package/dist/vendor/engine/runtime/ai/utils/typebox-helpers.js +20 -0
- package/dist/vendor/engine/runtime/ai/utils/uuid.d.ts +2 -0
- package/dist/vendor/engine/runtime/ai/utils/uuid.js +41 -0
- package/dist/vendor/engine/runtime/ai/utils/validation.d.ts +17 -0
- package/dist/vendor/engine/runtime/ai/utils/validation.js +308 -0
- package/dist/vendor/engine/runtime/chord/api.d.ts +14 -0
- package/dist/vendor/engine/runtime/chord/api.js +71 -0
- package/dist/vendor/engine/runtime/chord/context/index.d.ts +23 -0
- package/dist/vendor/engine/runtime/chord/context/index.js +96 -0
- package/dist/vendor/engine/runtime/chord/delta/index.d.ts +118 -0
- package/dist/vendor/engine/runtime/chord/delta/index.js +1903 -0
- package/dist/vendor/engine/runtime/chord/facets/host.d.ts +11 -0
- package/dist/vendor/engine/runtime/chord/facets/host.js +762 -0
- package/dist/vendor/engine/runtime/chord/facets/loader.d.ts +2 -0
- package/dist/vendor/engine/runtime/chord/facets/loader.js +4 -0
- package/dist/vendor/engine/runtime/chord/index.d.ts +10 -0
- package/dist/vendor/engine/runtime/chord/index.js +9 -0
- package/dist/vendor/engine/runtime/chord/json.d.ts +3 -0
- package/dist/vendor/engine/runtime/chord/json.js +56 -0
- package/dist/vendor/engine/runtime/chord/services/consumer.d.ts +10 -0
- package/dist/vendor/engine/runtime/chord/services/consumer.js +536 -0
- package/dist/vendor/engine/runtime/chord/services/errors.d.ts +7 -0
- package/dist/vendor/engine/runtime/chord/services/errors.js +21 -0
- package/dist/vendor/engine/runtime/chord/services/handle.d.ts +14 -0
- package/dist/vendor/engine/runtime/chord/services/handle.js +100 -0
- package/dist/vendor/engine/runtime/chord/services/instances.d.ts +24 -0
- package/dist/vendor/engine/runtime/chord/services/instances.js +136 -0
- package/dist/vendor/engine/runtime/chord/services/loopback.d.ts +4 -0
- package/dist/vendor/engine/runtime/chord/services/loopback.js +14 -0
- package/dist/vendor/engine/runtime/chord/services/provider.d.ts +36 -0
- package/dist/vendor/engine/runtime/chord/services/provider.js +471 -0
- package/dist/vendor/engine/runtime/chord/services/state-codec.d.ts +14 -0
- package/dist/vendor/engine/runtime/chord/services/state-codec.js +114 -0
- package/dist/vendor/engine/runtime/chord/services/state-internals.d.ts +10 -0
- package/dist/vendor/engine/runtime/chord/services/state-internals.js +9 -0
- package/dist/vendor/engine/runtime/chord/services/state.d.ts +22 -0
- package/dist/vendor/engine/runtime/chord/services/state.js +123 -0
- package/dist/vendor/engine/runtime/chord/services/wire.d.ts +59 -0
- package/dist/vendor/engine/runtime/chord/services/wire.js +172 -0
- package/dist/vendor/engine/runtime/chord/types.d.ts +202 -0
- package/dist/vendor/engine/runtime/chord/types.js +1 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/args.d.ts +60 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/args.js +439 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/auth-check.d.ts +18 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/auth-check.js +49 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/auth-command.d.ts +23 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/auth-command.js +102 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/config-selector.d.ts +15 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/config-selector.js +31 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/credential-print.d.ts +12 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/credential-print.js +75 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/file-processor.d.ts +14 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/file-processor.js +70 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/initial-message.d.ts +17 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/initial-message.js +21 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/list-models.d.ts +8 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/list-models.js +97 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/project-trust.d.ts +9 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/project-trust.js +47 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/session-picker.d.ts +9 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/session-picker.js +35 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/startup-ui.d.ts +19 -0
- package/dist/vendor/engine/runtime/coding-agent/cli/startup-ui.js +184 -0
- package/dist/vendor/engine/runtime/coding-agent/config.d.ts +97 -0
- package/dist/vendor/engine/runtime/coding-agent/config.js +463 -0
- package/dist/vendor/engine/runtime/coding-agent/core/agent-session-runtime.d.ts +118 -0
- package/dist/vendor/engine/runtime/coding-agent/core/agent-session-runtime.js +316 -0
- package/dist/vendor/engine/runtime/coding-agent/core/agent-session-services.d.ts +85 -0
- package/dist/vendor/engine/runtime/coding-agent/core/agent-session-services.js +133 -0
- package/dist/vendor/engine/runtime/coding-agent/core/agent-session.d.ts +771 -0
- package/dist/vendor/engine/runtime/coding-agent/core/agent-session.js +2990 -0
- package/dist/vendor/engine/runtime/coding-agent/core/auth-guidance.d.ts +4 -0
- package/dist/vendor/engine/runtime/coding-agent/core/auth-guidance.js +20 -0
- package/dist/vendor/engine/runtime/coding-agent/core/auth-storage.d.ts +71 -0
- package/dist/vendor/engine/runtime/coding-agent/core/auth-storage.js +425 -0
- package/dist/vendor/engine/runtime/coding-agent/core/bash-executor.d.ts +31 -0
- package/dist/vendor/engine/runtime/coding-agent/core/bash-executor.js +110 -0
- package/dist/vendor/engine/runtime/coding-agent/core/bug-report-upload.d.ts +11 -0
- package/dist/vendor/engine/runtime/coding-agent/core/bug-report-upload.js +21 -0
- package/dist/vendor/engine/runtime/coding-agent/core/bug-report.d.ts +175 -0
- package/dist/vendor/engine/runtime/coding-agent/core/bug-report.js +291 -0
- package/dist/vendor/engine/runtime/coding-agent/core/cache-stats.d.ts +48 -0
- package/dist/vendor/engine/runtime/coding-agent/core/cache-stats.js +111 -0
- package/dist/vendor/engine/runtime/coding-agent/core/cache-warmer.d.ts +102 -0
- package/dist/vendor/engine/runtime/coding-agent/core/cache-warmer.js +355 -0
- package/dist/vendor/engine/runtime/coding-agent/core/compaction/branch-summarization.d.ts +97 -0
- package/dist/vendor/engine/runtime/coding-agent/core/compaction/branch-summarization.js +250 -0
- package/dist/vendor/engine/runtime/coding-agent/core/compaction/compaction.d.ts +142 -0
- package/dist/vendor/engine/runtime/coding-agent/core/compaction/compaction.js +666 -0
- package/dist/vendor/engine/runtime/coding-agent/core/compaction/index.d.ts +6 -0
- package/dist/vendor/engine/runtime/coding-agent/core/compaction/index.js +6 -0
- package/dist/vendor/engine/runtime/coding-agent/core/compaction/utils.d.ts +37 -0
- package/dist/vendor/engine/runtime/coding-agent/core/compaction/utils.js +141 -0
- package/dist/vendor/engine/runtime/coding-agent/core/crash-log.d.ts +26 -0
- package/dist/vendor/engine/runtime/coding-agent/core/crash-log.js +138 -0
- package/dist/vendor/engine/runtime/coding-agent/core/defaults.d.ts +3 -0
- package/dist/vendor/engine/runtime/coding-agent/core/defaults.js +10 -0
- package/dist/vendor/engine/runtime/coding-agent/core/diagnostics.d.ts +14 -0
- package/dist/vendor/engine/runtime/coding-agent/core/diagnostics.js +1 -0
- package/dist/vendor/engine/runtime/coding-agent/core/event-bus.d.ts +8 -0
- package/dist/vendor/engine/runtime/coding-agent/core/event-bus.js +24 -0
- package/dist/vendor/engine/runtime/coding-agent/core/exec.d.ts +28 -0
- package/dist/vendor/engine/runtime/coding-agent/core/exec.js +74 -0
- package/dist/vendor/engine/runtime/coding-agent/core/experimental.d.ts +1 -0
- package/dist/vendor/engine/runtime/coding-agent/core/experimental.js +3 -0
- package/dist/vendor/engine/runtime/coding-agent/core/export-html/ansi-to-html.d.ts +21 -0
- package/dist/vendor/engine/runtime/coding-agent/core/export-html/ansi-to-html.js +248 -0
- package/dist/vendor/engine/runtime/coding-agent/core/export-html/index.d.ts +36 -0
- package/dist/vendor/engine/runtime/coding-agent/core/export-html/index.js +225 -0
- package/dist/vendor/engine/runtime/coding-agent/core/export-html/template.css +1066 -0
- package/dist/vendor/engine/runtime/coding-agent/core/export-html/template.html +55 -0
- package/dist/vendor/engine/runtime/coding-agent/core/export-html/template.js +1864 -0
- package/dist/vendor/engine/runtime/coding-agent/core/export-html/tool-renderer.d.ts +33 -0
- package/dist/vendor/engine/runtime/coding-agent/core/export-html/tool-renderer.js +107 -0
- package/dist/vendor/engine/runtime/coding-agent/core/export-html/vendor/highlight.min.js +1213 -0
- package/dist/vendor/engine/runtime/coding-agent/core/export-html/vendor/marked.min.js +78 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/index.d.ts +11 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/index.js +8 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/jiti-loader.d.ts +1 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/jiti-loader.js +3 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/jiti-static-loader.d.ts +1 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/jiti-static-loader.js +3 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/loader.d.ts +22 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/loader.js +633 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/runner.d.ts +180 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/runner.js +1028 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/types.d.ts +1362 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/types.js +47 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/virtual-modules.d.ts +2 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/virtual-modules.js +37 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/wrapper.d.ts +19 -0
- package/dist/vendor/engine/runtime/coding-agent/core/extensions/wrapper.js +21 -0
- package/dist/vendor/engine/runtime/coding-agent/core/footer-data-provider.d.ts +63 -0
- package/dist/vendor/engine/runtime/coding-agent/core/footer-data-provider.js +337 -0
- package/dist/vendor/engine/runtime/coding-agent/core/http-dispatcher.d.ts +21 -0
- package/dist/vendor/engine/runtime/coding-agent/core/http-dispatcher.js +97 -0
- package/dist/vendor/engine/runtime/coding-agent/core/keybindings.d.ts +427 -0
- package/dist/vendor/engine/runtime/coding-agent/core/keybindings.js +320 -0
- package/dist/vendor/engine/runtime/coding-agent/core/messages.d.ts +76 -0
- package/dist/vendor/engine/runtime/coding-agent/core/messages.js +123 -0
- package/dist/vendor/engine/runtime/coding-agent/core/model-config.d.ts +723 -0
- package/dist/vendor/engine/runtime/coding-agent/core/model-config.js +281 -0
- package/dist/vendor/engine/runtime/coding-agent/core/model-registry.d.ts +48 -0
- package/dist/vendor/engine/runtime/coding-agent/core/model-registry.js +114 -0
- package/dist/vendor/engine/runtime/coding-agent/core/model-resolver.d.ts +123 -0
- package/dist/vendor/engine/runtime/coding-agent/core/model-resolver.js +589 -0
- package/dist/vendor/engine/runtime/coding-agent/core/model-runtime.d.ts +100 -0
- package/dist/vendor/engine/runtime/coding-agent/core/model-runtime.js +603 -0
- package/dist/vendor/engine/runtime/coding-agent/core/models-store.d.ts +21 -0
- package/dist/vendor/engine/runtime/coding-agent/core/models-store.js +114 -0
- package/dist/vendor/engine/runtime/coding-agent/core/output-guard.d.ts +6 -0
- package/dist/vendor/engine/runtime/coding-agent/core/output-guard.js +88 -0
- package/dist/vendor/engine/runtime/coding-agent/core/package-manager.d.ts +212 -0
- package/dist/vendor/engine/runtime/coding-agent/core/package-manager.js +2176 -0
- package/dist/vendor/engine/runtime/coding-agent/core/pi-manifest.d.ts +7 -0
- package/dist/vendor/engine/runtime/coding-agent/core/pi-manifest.js +25 -0
- package/dist/vendor/engine/runtime/coding-agent/core/project-trust.d.ts +14 -0
- package/dist/vendor/engine/runtime/coding-agent/core/project-trust.js +58 -0
- package/dist/vendor/engine/runtime/coding-agent/core/prompt-templates.d.ts +53 -0
- package/dist/vendor/engine/runtime/coding-agent/core/prompt-templates.js +235 -0
- package/dist/vendor/engine/runtime/coding-agent/core/provider-attribution.d.ts +3 -0
- package/dist/vendor/engine/runtime/coding-agent/core/provider-attribution.js +71 -0
- package/dist/vendor/engine/runtime/coding-agent/core/provider-composer.d.ts +59 -0
- package/dist/vendor/engine/runtime/coding-agent/core/provider-composer.js +422 -0
- package/dist/vendor/engine/runtime/coding-agent/core/radius.d.ts +4 -0
- package/dist/vendor/engine/runtime/coding-agent/core/radius.js +7 -0
- package/dist/vendor/engine/runtime/coding-agent/core/remote-catalog-provider.d.ts +4 -0
- package/dist/vendor/engine/runtime/coding-agent/core/remote-catalog-provider.js +121 -0
- package/dist/vendor/engine/runtime/coding-agent/core/resolve-config-value.d.ts +29 -0
- package/dist/vendor/engine/runtime/coding-agent/core/resolve-config-value.js +246 -0
- package/dist/vendor/engine/runtime/coding-agent/core/resource-loader.d.ts +220 -0
- package/dist/vendor/engine/runtime/coding-agent/core/resource-loader.js +874 -0
- package/dist/vendor/engine/runtime/coding-agent/core/runtime-credentials.d.ts +14 -0
- package/dist/vendor/engine/runtime/coding-agent/core/runtime-credentials.js +38 -0
- package/dist/vendor/engine/runtime/coding-agent/core/sdk.d.ts +107 -0
- package/dist/vendor/engine/runtime/coding-agent/core/sdk.js +296 -0
- package/dist/vendor/engine/runtime/coding-agent/core/session-cwd.d.ts +18 -0
- package/dist/vendor/engine/runtime/coding-agent/core/session-cwd.js +37 -0
- package/dist/vendor/engine/runtime/coding-agent/core/session-export.d.ts +7 -0
- package/dist/vendor/engine/runtime/coding-agent/core/session-export.js +32 -0
- package/dist/vendor/engine/runtime/coding-agent/core/session-manager.d.ts +379 -0
- package/dist/vendor/engine/runtime/coding-agent/core/session-manager.js +1432 -0
- package/dist/vendor/engine/runtime/coding-agent/core/settings-diagnostics.d.ts +8 -0
- package/dist/vendor/engine/runtime/coding-agent/core/settings-diagnostics.js +20 -0
- package/dist/vendor/engine/runtime/coding-agent/core/settings-manager.d.ts +346 -0
- package/dist/vendor/engine/runtime/coding-agent/core/settings-manager.js +1032 -0
- package/dist/vendor/engine/runtime/coding-agent/core/skills.d.ts +59 -0
- package/dist/vendor/engine/runtime/coding-agent/core/skills.js +406 -0
- package/dist/vendor/engine/runtime/coding-agent/core/slash-commands.d.ts +14 -0
- package/dist/vendor/engine/runtime/coding-agent/core/slash-commands.js +27 -0
- package/dist/vendor/engine/runtime/coding-agent/core/source-info.d.ts +17 -0
- package/dist/vendor/engine/runtime/coding-agent/core/source-info.js +18 -0
- package/dist/vendor/engine/runtime/coding-agent/core/system-prompt.d.ts +70 -0
- package/dist/vendor/engine/runtime/coding-agent/core/system-prompt.js +146 -0
- package/dist/vendor/engine/runtime/coding-agent/core/telemetry.d.ts +2 -0
- package/dist/vendor/engine/runtime/coding-agent/core/telemetry.js +8 -0
- package/dist/vendor/engine/runtime/coding-agent/core/timings.d.ts +9 -0
- package/dist/vendor/engine/runtime/coding-agent/core/timings.js +40 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/bash.d.ts +89 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/bash.js +303 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/edit-diff.d.ts +100 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/edit-diff.js +420 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/edit.d.ts +43 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/edit.js +146 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/file-mutation-queue.d.ts +5 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/file-mutation-queue.js +51 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/find.d.ts +41 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/find.js +250 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/grep.d.ts +40 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/grep.js +251 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/index.d.ts +42 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/index.js +128 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/ls.d.ts +40 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/ls.js +125 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/output-accumulator.d.ts +54 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/output-accumulator.js +189 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/path-utils.d.ts +9 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/path-utils.js +98 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/powershell.d.ts +15 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/powershell.js +38 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/read.d.ts +41 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/read.js +168 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/render-utils.d.ts +23 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/render-utils.js +64 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/bash.d.ts +11 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/bash.js +137 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/edit.d.ts +22 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/edit.js +166 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/find.d.ts +9 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/find.js +63 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/grep.d.ts +9 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/grep.js +68 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/index.d.ts +27 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/index.js +46 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/ls.d.ts +9 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/ls.js +57 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/read.d.ts +10 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/read.js +128 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/write.d.ts +9 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/renderers/write.js +152 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/tool-definition-wrapper.d.ts +13 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/tool-definition-wrapper.js +35 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/truncate.d.ts +69 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/truncate.js +214 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/write.d.ts +29 -0
- package/dist/vendor/engine/runtime/coding-agent/core/tools/write.js +60 -0
- package/dist/vendor/engine/runtime/coding-agent/core/trust-manager.d.ts +35 -0
- package/dist/vendor/engine/runtime/coding-agent/core/trust-manager.js +202 -0
- package/dist/vendor/engine/runtime/coding-agent/core/usage-totals.d.ts +18 -0
- package/dist/vendor/engine/runtime/coding-agent/core/usage-totals.js +55 -0
- package/dist/vendor/engine/runtime/coding-agent/extensions/index.d.ts +2 -0
- package/dist/vendor/engine/runtime/coding-agent/extensions/index.js +2 -0
- package/dist/vendor/engine/runtime/coding-agent/extensions/llama/client.d.ts +68 -0
- package/dist/vendor/engine/runtime/coding-agent/extensions/llama/client.js +312 -0
- package/dist/vendor/engine/runtime/coding-agent/extensions/llama/huggingface.d.ts +22 -0
- package/dist/vendor/engine/runtime/coding-agent/extensions/llama/huggingface.js +140 -0
- package/dist/vendor/engine/runtime/coding-agent/extensions/llama/index.d.ts +2 -0
- package/dist/vendor/engine/runtime/coding-agent/extensions/llama/index.js +218 -0
- package/dist/vendor/engine/runtime/coding-agent/extensions/llama/provider.d.ts +11 -0
- package/dist/vendor/engine/runtime/coding-agent/extensions/llama/provider.js +160 -0
- package/dist/vendor/engine/runtime/coding-agent/extensions/llama/ui.d.ts +41 -0
- package/dist/vendor/engine/runtime/coding-agent/extensions/llama/ui.js +415 -0
- package/dist/vendor/engine/runtime/coding-agent/index.d.ts +36 -0
- package/dist/vendor/engine/runtime/coding-agent/index.js +47 -0
- package/dist/vendor/engine/runtime/coding-agent/main.d.ts +15 -0
- package/dist/vendor/engine/runtime/coding-agent/main.js +808 -0
- package/dist/vendor/engine/runtime/coding-agent/migrations.d.ts +32 -0
- package/dist/vendor/engine/runtime/coding-agent/migrations.js +281 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/index.d.ts +9 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/index.js +7 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/bug-report.d.ts +15 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/bug-report.js +209 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/chat-viewport.d.ts +19 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/chat-viewport.js +27 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/armin.d.ts +33 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/armin.js +332 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/assistant-message.d.ts +25 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/assistant-message.js +157 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/bash-execution.d.ts +33 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/bash-execution.js +174 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/bordered-loader.d.ts +15 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/bordered-loader.js +53 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/branch-summary-message.d.ts +15 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/branch-summary-message.js +50 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/compaction-summary-message.d.ts +15 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/compaction-summary-message.js +51 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/config-selector.d.ts +101 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/config-selector.js +760 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/countdown-timer.d.ts +13 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/countdown-timer.js +32 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/custom-editor.d.ts +29 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/custom-editor.js +114 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/custom-entry.d.ts +18 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/custom-entry.js +51 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/custom-message.d.ts +21 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/custom-message.js +86 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/daxnuts.d.ts +22 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/daxnuts.js +139 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/diff.d.ts +11 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/diff.js +132 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/dynamic-border.d.ts +14 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/dynamic-border.js +20 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/earendil-announcement.d.ts +4 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/earendil-announcement.js +39 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/extension-editor.d.ts +23 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/extension-editor.js +102 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/extension-input.d.ts +24 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/extension-input.js +66 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/extension-selector.d.ts +26 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/extension-selector.js +86 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/first-time-setup.d.ts +24 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/first-time-setup.js +102 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/footer.d.ts +31 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/footer.js +224 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/index.d.ts +33 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/index.js +34 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/keybinding-hints.d.ts +12 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/keybinding-hints.js +35 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/login-dialog.d.ts +51 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/login-dialog.js +187 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/markdown-transform.d.ts +2 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/markdown-transform.js +18 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/mermaid.d.ts +10 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/mermaid.js +74 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/model-selector.d.ts +59 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/model-selector.js +360 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/oauth-selector.d.ts +32 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/oauth-selector.js +162 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/scoped-models-selector.d.ts +45 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/scoped-models-selector.js +325 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/session-selector-search.d.ts +22 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/session-selector-search.js +154 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/session-selector.d.ts +94 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/session-selector.js +892 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/settings-selector.d.ts +93 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/settings-selector.js +719 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/settings-submenu.d.ts +71 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/settings-submenu.js +164 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/show-images-selector.d.ts +9 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/show-images-selector.js +38 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/skill-invocation-message.d.ts +16 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/skill-invocation-message.js +53 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/status-indicator.d.ts +29 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/status-indicator.js +66 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/theme-selector.d.ts +10 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/theme-selector.js +49 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/thinking-selector.d.ts +22 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/thinking-selector.js +108 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/tool-execution.d.ts +79 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/tool-execution.js +336 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/tree-selector.d.ts +93 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/tree-selector.js +1246 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/trust-selector.d.ts +22 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/trust-selector.js +90 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/user-message-selector.d.ts +29 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/user-message-selector.js +113 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/user-message.d.ts +15 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/user-message.js +48 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/visual-truncate.d.ts +23 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/components/visual-truncate.js +32 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/external-editor.d.ts +11 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/external-editor.js +37 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/interactive-mode.d.ts +467 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/interactive-mode.js +5720 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/model-catalog-refresh.d.ts +6 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/model-catalog-refresh.js +33 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/model-search.d.ts +11 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/model-search.js +14 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/session-share.d.ts +17 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/session-share.js +187 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/theme/dark.json +91 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/theme/light.json +90 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/theme/theme-controller.d.ts +40 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/theme/theme-controller.js +129 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/theme/theme-json.d.ts +83 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/theme/theme-json.js +129 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/theme/theme-schema.json +356 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/theme/theme.d.ts +130 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/theme/theme.js +990 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/tui-renderer.d.ts +20 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/interactive/tui-renderer.js +65 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/json-event.d.ts +33 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/json-event.js +28 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/print-mode.d.ts +27 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/print-mode.js +141 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/rpc/jsonl.d.ts +16 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/rpc/jsonl.js +48 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/rpc/rpc-client.d.ts +253 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/rpc/rpc-client.js +494 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/rpc/rpc-mode.d.ts +19 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/rpc/rpc-mode.js +656 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/rpc/rpc-types.d.ts +468 -0
- package/dist/vendor/engine/runtime/coding-agent/modes/rpc/rpc-types.js +7 -0
- package/dist/vendor/engine/runtime/coding-agent/package-manager-cli.d.ts +8 -0
- package/dist/vendor/engine/runtime/coding-agent/package-manager-cli.js +960 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/abort.d.ts +4 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/abort.js +47 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/ansi.d.ts +1 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/ansi.js +51 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/changelog.d.ts +21 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/changelog.js +164 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/child-process.d.ts +17 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/child-process.js +105 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/clipboard-command.d.ts +6 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/clipboard-command.js +44 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/clipboard-image.d.ts +10 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/clipboard-image.js +216 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/clipboard.d.ts +3 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/clipboard.js +150 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/exif-orientation.d.ts +4 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/exif-orientation.js +156 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/frontmatter.d.ts +7 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/frontmatter.js +26 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/fs-watch.d.ts +4 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/fs-watch.js +24 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/git.d.ts +25 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/git.js +194 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/html.d.ts +6 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/html.js +39 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/image-convert.d.ts +9 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/image-convert.js +44 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/image-process.d.ts +17 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/image-process.js +82 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/image-resize-core.d.ts +29 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/image-resize-core.js +123 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/image-resize-worker.d.ts +1 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/image-resize-worker.js +30 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/image-resize.d.ts +15 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/image-resize.js +96 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/json.d.ts +2 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/json.js +6 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/management-http.d.ts +24 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/management-http.js +53 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/mime.d.ts +2 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/mime.js +109 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/open-browser.d.ts +8 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/open-browser.js +21 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/paths.d.ts +33 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/paths.js +113 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/photon.d.ts +20 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/photon.js +120 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/pi-user-agent.d.ts +1 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/pi-user-agent.js +4 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/shell.d.ts +33 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/shell.js +215 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/sleep.d.ts +4 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/sleep.js +16 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/syntax-highlight.d.ts +12 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/syntax-highlight.js +176 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/text.d.ts +7 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/text.js +8 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/tool-result-images.d.ts +20 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/tool-result-images.js +47 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/tools-manager.d.ts +12 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/tools-manager.js +308 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/version-check.d.ts +18 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/version-check.js +78 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/windows-self-update.d.ts +2 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/windows-self-update.js +76 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/wsl.d.ts +2 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/wsl.js +14 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/zip.d.ts +6 -0
- package/dist/vendor/engine/runtime/coding-agent/utils/zip.js +59 -0
- package/dist/vendor/engine/runtime/package.json +9 -0
- package/dist/vendor/engine/runtime/telemetry/index.d.ts +193 -0
- package/dist/vendor/engine/runtime/telemetry/index.js +17 -0
- package/dist/vendor/engine/runtime/telemetry/memory.d.ts +25 -0
- package/dist/vendor/engine/runtime/telemetry/memory.js +153 -0
- package/dist/vendor/engine/runtime/telemetry/noop.d.ts +3 -0
- package/dist/vendor/engine/runtime/telemetry/noop.js +17 -0
- package/dist/vendor/engine/runtime/tui/alt-screen-search.d.ts +45 -0
- package/dist/vendor/engine/runtime/tui/alt-screen-search.js +281 -0
- package/dist/vendor/engine/runtime/tui/autocomplete.d.ts +56 -0
- package/dist/vendor/engine/runtime/tui/autocomplete.js +671 -0
- package/dist/vendor/engine/runtime/tui/components/alt-screen-flash.d.ts +12 -0
- package/dist/vendor/engine/runtime/tui/components/alt-screen-flash.js +36 -0
- package/dist/vendor/engine/runtime/tui/components/box.d.ts +23 -0
- package/dist/vendor/engine/runtime/tui/components/box.js +132 -0
- package/dist/vendor/engine/runtime/tui/components/cancellable-loader.d.ts +21 -0
- package/dist/vendor/engine/runtime/tui/components/cancellable-loader.js +34 -0
- package/dist/vendor/engine/runtime/tui/components/editor.d.ts +259 -0
- package/dist/vendor/engine/runtime/tui/components/editor.js +2041 -0
- package/dist/vendor/engine/runtime/tui/components/h-stack.d.ts +6 -0
- package/dist/vendor/engine/runtime/tui/components/h-stack.js +42 -0
- package/dist/vendor/engine/runtime/tui/components/image.d.ts +27 -0
- package/dist/vendor/engine/runtime/tui/components/image.js +89 -0
- package/dist/vendor/engine/runtime/tui/components/input.d.ts +47 -0
- package/dist/vendor/engine/runtime/tui/components/input.js +416 -0
- package/dist/vendor/engine/runtime/tui/components/loader.d.ts +32 -0
- package/dist/vendor/engine/runtime/tui/components/loader.js +75 -0
- package/dist/vendor/engine/runtime/tui/components/markdown.d.ts +102 -0
- package/dist/vendor/engine/runtime/tui/components/markdown.js +810 -0
- package/dist/vendor/engine/runtime/tui/components/mouse-region.d.ts +11 -0
- package/dist/vendor/engine/runtime/tui/components/mouse-region.js +20 -0
- package/dist/vendor/engine/runtime/tui/components/scroll-view.d.ts +58 -0
- package/dist/vendor/engine/runtime/tui/components/scroll-view.js +194 -0
- package/dist/vendor/engine/runtime/tui/components/select-list.d.ts +52 -0
- package/dist/vendor/engine/runtime/tui/components/select-list.js +205 -0
- package/dist/vendor/engine/runtime/tui/components/settings-list.d.ts +59 -0
- package/dist/vendor/engine/runtime/tui/components/settings-list.js +251 -0
- package/dist/vendor/engine/runtime/tui/components/spacer.d.ts +11 -0
- package/dist/vendor/engine/runtime/tui/components/spacer.js +22 -0
- package/dist/vendor/engine/runtime/tui/components/stack.d.ts +31 -0
- package/dist/vendor/engine/runtime/tui/components/stack.js +110 -0
- package/dist/vendor/engine/runtime/tui/components/text.d.ts +18 -0
- package/dist/vendor/engine/runtime/tui/components/text.js +89 -0
- package/dist/vendor/engine/runtime/tui/components/truncated-text.d.ts +12 -0
- package/dist/vendor/engine/runtime/tui/components/truncated-text.js +50 -0
- package/dist/vendor/engine/runtime/tui/components/v-stack.d.ts +7 -0
- package/dist/vendor/engine/runtime/tui/components/v-stack.js +25 -0
- package/dist/vendor/engine/runtime/tui/editor-component.d.ts +38 -0
- package/dist/vendor/engine/runtime/tui/editor-component.js +1 -0
- package/dist/vendor/engine/runtime/tui/fuzzy.d.ts +15 -0
- package/dist/vendor/engine/runtime/tui/fuzzy.js +110 -0
- package/dist/vendor/engine/runtime/tui/index.d.ts +32 -0
- package/dist/vendor/engine/runtime/tui/index.js +44 -0
- package/dist/vendor/engine/runtime/tui/keybindings.d.ts +272 -0
- package/dist/vendor/engine/runtime/tui/keybindings.js +232 -0
- package/dist/vendor/engine/runtime/tui/keys.d.ts +183 -0
- package/dist/vendor/engine/runtime/tui/keys.js +1173 -0
- package/dist/vendor/engine/runtime/tui/kill-ring.d.ts +27 -0
- package/dist/vendor/engine/runtime/tui/kill-ring.js +43 -0
- package/dist/vendor/engine/runtime/tui/latex.d.ts +9 -0
- package/dist/vendor/engine/runtime/tui/latex.js +1377 -0
- package/dist/vendor/engine/runtime/tui/layout-node.d.ts +39 -0
- package/dist/vendor/engine/runtime/tui/layout-node.js +5 -0
- package/dist/vendor/engine/runtime/tui/layout.d.ts +41 -0
- package/dist/vendor/engine/runtime/tui/layout.js +343 -0
- package/dist/vendor/engine/runtime/tui/native-modifiers.d.ts +3 -0
- package/dist/vendor/engine/runtime/tui/native-modifiers.js +12 -0
- package/dist/vendor/engine/runtime/tui/native-module-path.d.ts +6 -0
- package/dist/vendor/engine/runtime/tui/native-module-path.js +18 -0
- package/dist/vendor/engine/runtime/tui/native-platform.d.ts +17 -0
- package/dist/vendor/engine/runtime/tui/native-platform.js +41 -0
- package/dist/vendor/engine/runtime/tui/stdin-buffer.d.ts +55 -0
- package/dist/vendor/engine/runtime/tui/stdin-buffer.js +365 -0
- package/dist/vendor/engine/runtime/tui/terminal-colors.d.ts +9 -0
- package/dist/vendor/engine/runtime/tui/terminal-colors.js +58 -0
- package/dist/vendor/engine/runtime/tui/terminal-image.d.ts +117 -0
- package/dist/vendor/engine/runtime/tui/terminal-image.js +549 -0
- package/dist/vendor/engine/runtime/tui/terminal.d.ts +122 -0
- package/dist/vendor/engine/runtime/tui/terminal.js +441 -0
- package/dist/vendor/engine/runtime/tui/tui-alt-screen.d.ts +159 -0
- package/dist/vendor/engine/runtime/tui/tui-alt-screen.js +1507 -0
- package/dist/vendor/engine/runtime/tui/tui-main-screen.d.ts +38 -0
- package/dist/vendor/engine/runtime/tui/tui-main-screen.js +593 -0
- package/dist/vendor/engine/runtime/tui/tui.d.ts +385 -0
- package/dist/vendor/engine/runtime/tui/tui.js +1054 -0
- package/dist/vendor/engine/runtime/tui/undo-stack.d.ts +16 -0
- package/dist/vendor/engine/runtime/tui/undo-stack.js +24 -0
- package/dist/vendor/engine/runtime/tui/utils.d.ts +100 -0
- package/dist/vendor/engine/runtime/tui/utils.js +1203 -0
- package/dist/vendor/engine/runtime/tui/word-navigation.d.ts +24 -0
- package/dist/vendor/engine/runtime/tui/word-navigation.js +95 -0
- package/dist/vendor/zcode/LICENSE.upstream +202 -0
- package/dist/vendor/zcode/provenance.json +141 -0
- package/dist/vendor/zcode/source/agent/turn-machine.d.ts +56 -0
- package/dist/vendor/zcode/source/agent/turn-machine.js +214 -0
- package/dist/vendor/zcode/source/agent/turn-state.d.ts +118 -0
- package/dist/vendor/zcode/source/agent/turn-state.js +93 -0
- package/dist/vendor/zcode/source/compact/manual.d.ts +11 -0
- package/dist/vendor/zcode/source/compact/manual.js +38 -0
- package/dist/vendor/zcode/source/compact/microcompact.d.ts +47 -0
- package/dist/vendor/zcode/source/compact/microcompact.js +194 -0
- package/dist/vendor/zcode/source/compact/policy.d.ts +59 -0
- package/dist/vendor/zcode/source/compact/policy.js +89 -0
- package/dist/vendor/zcode/source/compact/selection.d.ts +6 -0
- package/dist/vendor/zcode/source/compact/selection.js +12 -0
- package/dist/vendor/zcode/source/contracts.d.ts +52 -0
- package/dist/vendor/zcode/source/contracts.js +9 -0
- package/dist/vendor/zcode/source/runtime/goal-completion-verification.d.ts +17 -0
- package/dist/vendor/zcode/source/runtime/goal-completion-verification.js +138 -0
- package/dist/vendor/zcode/source/runtime/turn-loop.d.ts +3 -0
- package/dist/vendor/zcode/source/runtime/turn-loop.js +21 -0
- package/dist/vendor/zcode/source/runtime/turn-model-step.d.ts +54 -0
- package/dist/vendor/zcode/source/runtime/turn-model-step.js +97 -0
- package/dist/vendor/zcode/source/runtime/turn-output-token-continuation.d.ts +8 -0
- package/dist/vendor/zcode/source/runtime/turn-output-token-continuation.js +15 -0
- package/dist/vendor/zcode/source/runtime/turn-stop.d.ts +6 -0
- package/dist/vendor/zcode/source/runtime/turn-stop.js +18 -0
- package/dist/vendor/zcode/source/tool/executor/validation.d.ts +6 -0
- package/dist/vendor/zcode/source/tool/executor/validation.js +76 -0
- package/dist/vendor/zcode/source/tool/input-normalization.d.ts +16 -0
- package/dist/vendor/zcode/source/tool/input-normalization.js +62 -0
- package/dist/vendor/zcode/source/tool/input-validation-model-content.d.ts +4 -0
- package/dist/vendor/zcode/source/tool/input-validation-model-content.js +263 -0
- package/dist/vendor/zcode/source/tool/json-schema.d.ts +9 -0
- package/dist/vendor/zcode/source/tool/json-schema.js +230 -0
- package/dist/vendor/zcode/source/tool/scheduler.d.ts +43 -0
- package/dist/vendor/zcode/source/tool/scheduler.js +167 -0
- package/dist/vendor/zcode/source/tool/tool-input-validation-issues.d.ts +76 -0
- package/dist/vendor/zcode/source/tool/tool-input-validation-issues.js +148 -0
- package/dist/vendor/zcode/source/tool/validation-contracts.d.ts +27 -0
- package/dist/vendor/zcode/source/tool/validation-contracts.js +8 -0
- package/docs/README.md +36 -0
- package/docs/agents/README.md +62 -0
- package/docs/agents/install-for-agents.md +55 -0
- package/docs/agents/mcp-server.md +187 -0
- package/docs/agents/subagent-mode.md +146 -0
- package/docs/concepts/README.md +47 -0
- package/docs/concepts/jev-actionable-routing.md +113 -0
- package/docs/concepts/jev-decision-thresholds.md +412 -0
- package/docs/concepts/jev-efficiency.md +216 -0
- package/docs/concepts/jev-eval-2026-11-01.md +78 -0
- package/docs/concepts/limits.md +43 -0
- package/docs/concepts/memory.md +30 -0
- package/docs/concepts/security.md +40 -0
- package/docs/concepts/workspace-instructions.md +28 -0
- package/docs/getting-started/README.md +82 -0
- package/docs/getting-started/accounts.md +67 -0
- package/docs/getting-started/configure-providers.md +103 -0
- package/docs/guides/README.md +12 -0
- package/docs/guides/browser.md +15 -0
- package/docs/guides/desktop-app.md +354 -0
- package/docs/guides/extensions.md +100 -0
- package/docs/guides/graph-builder.md +93 -0
- package/docs/guides/headless.md +45 -0
- package/docs/guides/tui.md +75 -0
- package/docs/guides/update.md +68 -0
- package/docs/guides/windows-code-signing.md +316 -0
- package/docs/llms.txt +45 -0
- package/docs/reference/README.md +7 -0
- package/docs/reference/cli.md +70 -0
- package/docs/reference/config.md +85 -0
- package/docs/reference/slash-commands.md +54 -0
- package/docs/superpowers/plans/2026-11-01-claude-console-sign-in.md +111 -0
- package/docs/superpowers/plans/2026-11-01-jev-node-opt-in.md +910 -0
- package/docs/superpowers/plans/2026-11-02-workflow-pane.md +398 -0
- package/docs/superpowers/specs/2026-10-31-work-line-summary-design.md +50 -0
- package/docs/superpowers/specs/2026-11-01-claude-console-sign-in-design.md +176 -0
- package/docs/superpowers/specs/2026-11-01-jev-node-opt-in-design.md +164 -0
- package/docs/superpowers/specs/2026-11-01-pr-section-design.md +104 -0
- package/docs/superpowers/specs/2026-11-02-workflow-pane-design.md +130 -0
- package/licenses/GEIST-OFL-1.1.txt +92 -0
- package/licenses/ZCODE-APACHE-2.0.txt +202 -0
- package/package.json +118 -6
- package/scripts/jev-efficiency-eval.mjs +187 -0
- package/scripts/jev-efficiency-live.mjs +193 -0
- package/scripts/zcode-engine-replay.mjs +223 -0
- package/tests/agent-centric-mcp-test-plan.md +208 -0
- package/tests/analytics-settings-test-plan.md +165 -0
- package/tests/browser-cli-smoke.mjs +276 -0
- package/tests/browser-test-plan.md +280 -0
- package/tests/chat-side-panel-test-plan.md +309 -0
- package/tests/decision-engine-test-plan.md +163 -0
- package/tests/default-active-jev-test-plan.md +85 -0
- package/tests/graphiti-test-plan.md +359 -0
- package/tests/harness-extensions-test-plan.md +110 -0
- package/tests/jev-all-decisions-test-plan.md +156 -0
- package/tests/jev-efficiency/criteria.json +158 -0
- package/tests/jev-efficiency/workloads.mjs +242 -0
- package/tests/jev-efficiency-test-plan.md +198 -0
- package/tests/mock-graphiti.mjs +106 -0
- package/tests/permissions-sandbox-probe.mjs +74 -0
- package/tests/permissions-test-plan.md +190 -0
- package/tests/product-telemetry-test-plan.md +536 -0
- package/tests/thinking-stream-preview-test-plan.md +136 -0
- package/tests/zcode-react-engine-test-plan.md +396 -0
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
# Chat side panel — QA test plan
|
|
2
|
+
|
|
3
|
+
## Scope and prerequisites
|
|
4
|
+
|
|
5
|
+
**Purpose.** The interactive terminal draws a status panel to the right of the conversation. The
|
|
6
|
+
panel is a second column of the same frame: the chat keeps its own layout at the reduced width and
|
|
7
|
+
the panel is composed beside it. It reports, top to bottom:
|
|
8
|
+
|
|
9
|
+
- **Git tools** — the working tree's `+insertions −deletions`, the current branch, and how many
|
|
10
|
+
tracked files are changed plus how many paths are new (untracked).
|
|
11
|
+
- **Node** — the graph node the run is on (the node the token-speed readout follows), with its
|
|
12
|
+
loop/copy detail and the provider/model that node actually resolved; when idle it shows the
|
|
13
|
+
selected graph's entry node.
|
|
14
|
+
- **Progress** — a completion bar and `done · active · waiting` counts for the run's plan.
|
|
15
|
+
- **Plan** — the items in progress, the completed count, and the waiting items. The list fills
|
|
16
|
+
every row the other sections leave; only a plan longer than that is cut, with a closing line
|
|
17
|
+
counting what was left out. When there is no room at all, the whole section stands down.
|
|
18
|
+
- **Terminals** — the background terminal sessions the agent opened through `qa.terminal`, with
|
|
19
|
+
how long each running one has been alive.
|
|
20
|
+
- **Graph** — a zoomed neighbourhood of the current node: what feeds it, the node itself, and what
|
|
21
|
+
it hands off to, with each node marked visited (`✓`), current (`●`) or not yet reached (`○`), and
|
|
22
|
+
each hand-off labelled with its edge outcome. This section only exists for a **custom** graph;
|
|
23
|
+
the built-in Software Engineer harness has nothing to zoom.
|
|
24
|
+
|
|
25
|
+
While the panel is drawn, the composer's own todo block is not: the plan is reported once, in the
|
|
26
|
+
panel.
|
|
27
|
+
|
|
28
|
+
**Affected workflows.** Interactive TUI sessions (`andorra` with no `--prompt`) on a terminal that
|
|
29
|
+
is at least 110 columns wide and 14 rows tall. Headless (`--prompt`, `--json`), the graph studio,
|
|
30
|
+
and the desktop client are not affected.
|
|
31
|
+
|
|
32
|
+
**Not affected.** All keyboard and mouse behavior: Ctrl+C, Ctrl+D, Ctrl+T, Ctrl+O, Ctrl+Y, Ctrl+B
|
|
33
|
+
(dashboard), Esc, Alt+Enter, the wheel (SGR reports), and drag-select at rest work exactly as
|
|
34
|
+
before. The panel takes no input; it is display only.
|
|
35
|
+
|
|
36
|
+
**Setup.**
|
|
37
|
+
|
|
38
|
+
1. Build from this branch: `npm ci && npm run build`.
|
|
39
|
+
2. Run the CLI in a real terminal: `node dist/src/cli.js` (or the linked `andorra`). A terminal at
|
|
40
|
+
least 110 columns wide is required to see the panel; 150–200 columns is comfortable.
|
|
41
|
+
3. For a custom-graph run, open `/graph` → **Create new graph** (web builder), save it, then
|
|
42
|
+
reopen `/graph` and select it. Any saved custom graph works; a three-or-more node graph makes
|
|
43
|
+
the zoom section meaningful.
|
|
44
|
+
4. For the Terminals section, the run must spawn a background terminal through `qa.terminal`
|
|
45
|
+
(a QA-capable graph, e.g. one with the QA tool family enabled and shell permission). A manual
|
|
46
|
+
smoke alternative: in a scratch checkout, run the QA terminal tool through a graph run.
|
|
47
|
+
5. For Git tools, run in a Git working tree with at least one modified file (`git status` shows
|
|
48
|
+
a change) — e.g. edit a file in a feature worktree.
|
|
49
|
+
|
|
50
|
+
**Reset/cleanup.** No persistent state is added. Two panel values deliberately outlive a single
|
|
51
|
+
task and have to be cleared per case:
|
|
52
|
+
|
|
53
|
+
- **The graph trail** clears itself when the next run starts (`graph.started`) or when the
|
|
54
|
+
selected graph changes. `/clear` does **not** reset it, and neither does switching sessions.
|
|
55
|
+
To reset the trail between cases without starting a run, select a different graph and switch
|
|
56
|
+
back (`/graph`), or restart the CLI.
|
|
57
|
+
- **Terminals** persist until they exit or are stopped; the QA PTY manager keeps a naturally
|
|
58
|
+
exited session in its list until it is explicitly killed. Stop sessions between cases with the
|
|
59
|
+
`qa.terminal` tool's `kill` action (or restart the CLI, which stops them at teardown).
|
|
60
|
+
|
|
61
|
+
`/clear` clears the conversation and the plan, which is what its own documentation promises. The
|
|
62
|
+
panel's Git reading follows the working tree: restore tracked edits with `git checkout -- .` and
|
|
63
|
+
remove the fixture files TC-4 creates explicitly (`rm brand-new.ts`, or `git clean -f -- <path>`
|
|
64
|
+
for the exact path) — `git checkout` leaves untracked files in place, so a later clean-tree case
|
|
65
|
+
would keep reporting an untracked entry.
|
|
66
|
+
|
|
67
|
+
## How to use the feature
|
|
68
|
+
|
|
69
|
+
1. Open the CLI in a terminal ≥ 110 columns wide. The panel is already there: `Git tools`, `Node`,
|
|
70
|
+
`Progress` (and `Plan` once the agent publishes one) on the left of the divider, with
|
|
71
|
+
`Terminals`/`Graph` at the bottom when they apply.
|
|
72
|
+
2. Submit a task. During the run:
|
|
73
|
+
- `Node` names the node that is working, with `loop i/n` and `copy i/n` when the graph runs
|
|
74
|
+
copies, and the provider/model that node resolved (not the session's own selection).
|
|
75
|
+
- `Plan`/`Progress` follow the todo list the agent publishes (`Ctrl+T` state is irrelevant while
|
|
76
|
+
the panel is drawn; the panel is the copy on screen).
|
|
77
|
+
- `Git tools` refreshes at run start, at run end, and after each tool completion (throttled to
|
|
78
|
+
one `git` read every two seconds).
|
|
79
|
+
- `Terminals` appears when the run opens a `qa.terminal` session and ages each running session.
|
|
80
|
+
- `Graph` zooms on the node the run is on; `✓` spreads as nodes complete.
|
|
81
|
+
3. When the run ends, the zoom keeps the trail so the reader can see where the run went. Starting
|
|
82
|
+
the next run resets the trail.
|
|
83
|
+
4. Narrow the terminal below 110 columns (or below 14 rows) and the panel disappears, giving the
|
|
84
|
+
full width back to the chat and returning the composer's todo block.
|
|
85
|
+
5. Ctrl+B (dashboard) and any modal screen (a selection list, the setup flow, `/providers`) take
|
|
86
|
+
the whole frame; the panel returns when the transcript does.
|
|
87
|
+
|
|
88
|
+
## Test cases and expected results
|
|
89
|
+
|
|
90
|
+
| # | Case | Steps | Expected |
|
|
91
|
+
|---|------|-------|----------|
|
|
92
|
+
| TC-1 | Panel appears on a wide terminal | Run `andorra` in a 150-column terminal | Panel is drawn right of the chat: `Git tools` heading with `Changes`, a `⎇ <branch>` row and a file count, `Node`, `Progress`. Divider column is unbroken from row 1 to the last row. No row exceeds the terminal width and no row wraps |
|
|
93
|
+
| TC-2 | Panel hides on a narrow terminal | Resize the terminal to 100 columns, then to 109, then back to 150 | At < 110 columns the panel and the divider disappear, the chat and composer expand to the full width, and the composer's `Todo … ctrl+t to expand` block returns. At 150 it returns |
|
|
94
|
+
| TC-3 | Panel hides for other surfaces | Press Ctrl+B (dashboard), then Esc back; open `/providers` (a modal screen), then Esc | Neither the dashboard nor the modal shows the panel or the divider; the dashboard's own cards and the modal use the full width |
|
|
95
|
+
| TC-4 | Git tools reports the tree | In a clean tree, edit a few lines of one tracked file, then create a new file and leave it **untracked** (do not `git add` it); start a run or wait for a tool completion. Clean up by deleting the new file explicitly and `git checkout -- .` | `Changes` shows the tracked file's `+N −M` coloured added/deleted; the branch row matches `git branch --show-current`; the third row reads `1 file · 1 untracked`. A clean tree reads `Changes clean`; a non-repository workspace reads `Not a Git repository`. A *staged* new file is counted under changed files instead (`2 files`), not under `untracked` |
|
|
96
|
+
| TC-5 | Git tools refreshes during a run | Ask for a task that edits a file (e.g. "add a comment to README.md") | Within a few seconds of the tool completing, `Changes` moves without a manual refresh. The count is bounded: repeated edits do not produce a `git` process per edit (one read per two seconds at most) |
|
|
97
|
+
| TC-6 | Node follows the run | Run a custom graph and watch the Node section across node transitions | The section names the current node, updates as nodes change, shows `loop i/n` for a loop node and `copy i/n` for parallel copies, and shows the resolved provider/model of that node (a node-level override appears here, not the session's model) |
|
|
98
|
+
| TC-7 | Node when idle | Let the run finish; then select the default graph and look again | Idle shows `Idle` plus `entry: <entry node name>` of the selected graph |
|
|
99
|
+
| TC-8 | Plan and Progress track the todos | Run a task that publishes a plan | `Progress` shows a bar, a `N%`, and `done · active · waiting`; `Plan` shows `done/total` in its heading, the in-progress item first, the completed count, then the waiting items; `… N waiting` appears only when the plan has more items than rows |
|
|
100
|
+
| TC-9 | One plan, one place | With the panel visible, compare the composer area and the panel | The composer's todo block is absent; the plan text appears exactly once on screen, inside the panel |
|
|
101
|
+
| TC-10 | Terminals section | Let a run open a `qa.terminal` session (or leave one running from a QA smoke) | A `Terminals` section lists each session as `● <id> · <command> · <age>` while running, `○ <id> · <command>` once exited, and `+N more` beyond three. The age advances about once per second while the panel is on screen |
|
|
102
|
+
| TC-11 | Graph zoom for a custom graph | Run a custom graph with ≥ 3 nodes | A `Graph` section sits at the bottom of the panel, headed `Graph n/m`; it shows the current node as `●`, incoming nodes above as `▲ <mark> <name>`, outgoing nodes below as `├─▶`/`└─▶ <mark> <name> · <outcome>`. Marks move from `○` to `✓` as nodes complete |
|
|
103
|
+
| TC-12 | No zoom for the built-in harness | Select the default graph and run | No `Graph` section (the footer's `Graph: Default` row is not part of the panel); `Git tools`, `Node`, `Plan`/`Progress` remain |
|
|
104
|
+
| TC-13 | Trail after the run | Finish a custom-graph run and keep looking at the panel | The zoom still shows the last node as `●` with the visited nodes `✓` and the visited count; starting the next run clears the trail |
|
|
105
|
+
| TC-14 | Panel content never overflows | Resize a live session through 200×60, 160×40, 120×30, 110×24, 109×24, 100×20, 80×24 | Every frame fits its terminal: no row is wider than the terminal and no frame has more rows than the terminal has; the panel appears only at ≥ 110 columns and ≥ 14 rows |
|
|
106
|
+
| TC-15 | Short-terminal ordering | With a plan, a background terminal and a custom graph, shrink the terminal height to 14 rows | The zoom is dropped first, then the terminal list; `Git tools`, `Node` and `Progress` stay. No partially drawn section (no heading without its rows, no rule at the last row) |
|
|
107
|
+
| TC-16 | Interaction regression | With the panel visible: type a draft, press Ctrl+C, Ctrl+O, Ctrl+Y, Page Up/Down, wheel, Ctrl+B, and submit a task | Every key behaves as documented in the existing plans (`tui-text-selection-at-rest-test-plan.md`, `tui-wheel-scrolls-panel-test-plan.md`, `ctrl-c-clear-input-test-plan.md`, `transcript-markdown-test-plan.md`); the panel never intercepts input and the caret stays in the composer |
|
|
108
|
+
| TC-17 | Frame rewrites stay local | During a run, watch a `git diff`-heavy transcript while the panel ages a terminal | Only the changed rows are repainted (the same behavior the frame-diff tests cover); a drag selection over transcript rows is not broken by the panel's per-second age update |
|
|
109
|
+
|
|
110
|
+
## Edge cases and potential bugs
|
|
111
|
+
|
|
112
|
+
- **Exactly at the boundary.** 109 columns → no panel; 110 columns → panel with a 76-column chat
|
|
113
|
+
column (110 minus the panel's 33 columns minus the one-column gutter). 13 rows → no panel; 14 rows → panel. Short terminals must never draw a partial panel.
|
|
114
|
+
- **No Git / no HEAD.** A non-repository workspace shows `Not a Git repository`; a repository with
|
|
115
|
+
no commits yet counts files but reports `+0 −0` because there is no `HEAD` to diff against. The
|
|
116
|
+
untracked count is in git's own entries, so a brand-new directory holding ten files is one
|
|
117
|
+
`1 untracked` entry; untracked content is never read, which is why it contributes no line
|
|
118
|
+
counts - a `+0` line total for a new file is expected, not a bug.
|
|
119
|
+
- **Existing panels' data races.** The git summary refresh is fire-and-forget and throttled: a
|
|
120
|
+
request inside the two-second window is scheduled for the rest of it, and one that lands while a
|
|
121
|
+
read is in flight is queued and starts (or is scheduled) when that read settles. A reading can
|
|
122
|
+
therefore be up to two seconds old, and the last event before a quiet stretch is still reflected
|
|
123
|
+
rather than dropped. That is the documented bound.
|
|
124
|
+
- **The read must not lock the workspace.** The summary selects the repository with `git -C` and
|
|
125
|
+
never makes the workspace the git child's working directory: on Windows a directory that a live
|
|
126
|
+
process has as its cwd cannot be removed, and a display-only read that outlived a run would make
|
|
127
|
+
an embedder (a test fixture, an editor session) fail to delete the workspace with `EBUSY`. The
|
|
128
|
+
interactive CLI suites (`cli-graph-health`, `cli-preflight-cancellation`) drive `main()` against
|
|
129
|
+
temporary workspaces and are the regression coverage for this.
|
|
130
|
+
- **The read never runs a workspace-controlled program.** Display-only Git resolves `git` to an
|
|
131
|
+
absolute path from a PATH with every entry inside the workspace **and inside the repository that
|
|
132
|
+
contains it** removed (`trustedGitEnv`), because a launcher that prepends the repository's
|
|
133
|
+
`node_modules/.bin` would otherwise turn a file named `git` into code that runs on a panel
|
|
134
|
+
refresh, with no tool call and no approval - and a workspace nested inside a repository is
|
|
135
|
+
counted through `git -C`, so that repository's `bin` directories are controlled by the same
|
|
136
|
+
author. Both sides of the containment check are canonicalized (symlinks and junctions resolved
|
|
137
|
+
through the longest existing prefix), so a PATH entry or a `git` file that reaches the workspace
|
|
138
|
+
through a link is excluded too. `gitBranch` reaches the same guarantee by reading Git metadata
|
|
139
|
+
directly. A workspace that genuinely hosts the user's Git loses the summary rather than running
|
|
140
|
+
it.
|
|
141
|
+
- **A read that cannot finish keeps the last reading.** Git missing, the timeout, the abort signal,
|
|
142
|
+
and output past the cap all fail the read (the CLI's `panelReads` controller is aborted at
|
|
143
|
+
teardown, so closing the terminal is never held up by one); only a directory that genuinely has
|
|
144
|
+
no repository publishes `isGit: false`. A failure leaves the previous panel reading in place.
|
|
145
|
+
- **Terminals that exit on their own are noticed.** While a displayed session is running the CLI
|
|
146
|
+
re-lists the QA manager every second, so an exited session stops showing as running and stops
|
|
147
|
+
its age. The watch stops as soon as no displayed session is running, and also when the panel
|
|
148
|
+
stops being drawn (a narrowed terminal, the dashboard, a modal) - the `panel` event re-arms it
|
|
149
|
+
when the panel comes back.
|
|
150
|
+
- **Every refresh is either read now or scheduled.** A tool boundary inside the two-second window
|
|
151
|
+
queues the read (`scheduleChanges` arms the remainder of the window) and a boundary that lands
|
|
152
|
+
while a read is in flight re-runs it as soon as that read settles, so the last tool completion
|
|
153
|
+
of a quiet task still reaches the panel and the run finalizer cannot leave a stale reading.
|
|
154
|
+
- **The panel's git read is invisible to the user's own Git.** It runs with
|
|
155
|
+
`--no-optional-locks` and `GIT_OPTIONAL_LOCKS=0`, so a status read cannot take the index lock a
|
|
156
|
+
concurrent `git add` or `git commit` needs - the read starts exactly when a tool is about to
|
|
157
|
+
write. The executable is resolved to an absolute path from a PATH that excludes the workspace,
|
|
158
|
+
so neither the filtered PATH nor the child's working directory can reach a repository-supplied
|
|
159
|
+
`git`.
|
|
160
|
+
- **The panel's rows are anchored.** Git tools, Node, Progress and the plan read from the top; the
|
|
161
|
+
terminal list and the graph zoom are held against the bottom of the frame with the unclaimed
|
|
162
|
+
rows left blank between them, so the zoom is at the bottom on a tall terminal instead of
|
|
163
|
+
sitting under the plan.
|
|
164
|
+
- **The panel is display only for the mouse too.** A left click outside the chat column is
|
|
165
|
+
ignored, so clicking the panel on a row shared with the reasoning preview does not toggle it.
|
|
166
|
+
- **Panel values are flattened before they are painted.** Node names, terminal commands, plan
|
|
167
|
+
items and branch names are stripped of control characters and newlines first, so a value cannot
|
|
168
|
+
escape its row or drive the terminal.
|
|
169
|
+
- **A repository that configures a Git filter driver gets no counts.** `git status` and
|
|
170
|
+
`git diff` compare the working tree through the filter a `.gitattributes` entry selects, and
|
|
171
|
+
that filter's `clean` command is a program from the repository's own configuration: refreshing
|
|
172
|
+
the panel would run it with no tool call and no approval, and no flag turns the conversion off.
|
|
173
|
+
Git LFS and git-crypt are the legitimate users of that mechanism, so the read stands down
|
|
174
|
+
(the branch still comes from refs) and the section says `Changes no counts` with
|
|
175
|
+
`Skipped: a Git filter applies to tracked files` - never `clean`, which is what a zero-count
|
|
176
|
+
reading would otherwise look like. Both halves of the mechanism have to be in place - a
|
|
177
|
+
configured `filter.<driver>` entry (any scope, including `include`/`includeIf`) **and** a
|
|
178
|
+
`.gitattributes` entry selecting it for a tracked path - so a machine that merely has a driver
|
|
179
|
+
installed (a global `filter.lfs.*`) keeps its counts. Every driver the probe saw is then disarmed
|
|
180
|
+
in the status and diff commands themselves (`-c filter.<driver>.clean=` and its smudge and
|
|
181
|
+
process siblings), so an attribute written between the probe and those commands has no command
|
|
182
|
+
left to select, and a driver whose name contains dots is disarmed under its full name
|
|
183
|
+
(`filter.foo.bar.clean` belongs to `foo.bar`, not `foo`). The probe runs again on every read,
|
|
184
|
+
because a tool can add or change that attribute mid-run and a remembered "nothing is filtered"
|
|
185
|
+
would be the one stale answer that lets the command run; only a refusal is remembered (removing
|
|
186
|
+
a filter can only make the refusal unnecessary). A probe that cannot be completed (a corrupt
|
|
187
|
+
index, more tracked paths than the scan limit) refuses the read the same way any other failed
|
|
188
|
+
read does, and a failure with no earlier success to fall back on renders
|
|
189
|
+
`Changes no counts` with `Unavailable: the working tree could not be read` instead of leaving the
|
|
190
|
+
A submodule is the same hazard in a second shape and is handled by not looking inside it: an
|
|
191
|
+
initialized submodule configures drivers of its own, selected by its own `.gitattributes`, and the
|
|
192
|
+
probe reads the superproject only. Both comparisons therefore run with `--ignore-submodules=dirty`.
|
|
193
|
+
The trade is deliberate: a submodule whose recorded commit changed is still reported, while
|
|
194
|
+
uncommitted content inside a submodule is not counted, because counting it is the inspection that
|
|
195
|
+
would run that submodule's driver. (Reproduction was attempted on Git 2.55 with `submoduleSummary`
|
|
196
|
+
and `diff.submodule` amplifiers and executed no driver there, so this is a defensive bound rather
|
|
197
|
+
than a reproduced fix.)
|
|
198
|
+
- **A PATH entry whose `git` cannot be executed is skipped.** The shell's own lookup skips a file it
|
|
199
|
+
cannot execute and keeps searching, so the candidate is checked for that before it is accepted: a
|
|
200
|
+
plain file named `git` earlier in PATH would otherwise fail the spawn and make every refresh report
|
|
201
|
+
an unreadable tree while the user's own git worked. The check is POSIX's execute bit; on Windows a
|
|
202
|
+
`.exe` is executable by name, which is what the check reports there too.
|
|
203
|
+
- **A stopped run keeps its position.** `graph.stopped` names the node execution stopped on;
|
|
204
|
+
that node becomes the zoom's focus (amber `●`) without joining the visited count, because it
|
|
205
|
+
never completed.
|
|
206
|
+
- **Node with several active nodes.** A parallel run names the followed node and lists the others
|
|
207
|
+
on one line (`+N more running: …`). The Node section's height is fixed, so the panel cannot grow
|
|
208
|
+
past the terminal because of it.
|
|
209
|
+
- **A hub node in the zoom.** Predecessors are capped at two and hand-offs at three, with
|
|
210
|
+
`+N more upstream` and `+N more` for the remainders; a node with many edges must not push the
|
|
211
|
+
other sections away. Hand-offs are counted by route, not by target, so a node that reaches one
|
|
212
|
+
End through `pass` and `fail` shows both, and a self-targeting retry edge is drawn with a loop
|
|
213
|
+
marker (`├─↻` / `└─↻`) rather than dropped.
|
|
214
|
+
- **Very long names.** Node names, branches, commands, plan items and outcomes are clipped to the
|
|
215
|
+
panel width; nothing wraps onto an unaligned row.
|
|
216
|
+
- **Terminal closed mid-run.** Sessions are tied to the run's signal; a run cancelled with Ctrl+C
|
|
217
|
+
ends its background terminals, and the section disappears (possibly after one frame showing them
|
|
218
|
+
as exited).
|
|
219
|
+
- **Suspected (not reproduced).** On a very slow filesystem the throttled `git` read could overlap a
|
|
220
|
+
run's own `git` commands; both are read-only, and the summary read carries its own timeout.
|
|
221
|
+
- **Not verified on macOS/Linux by automation.** The layout is pure string arithmetic and the tests
|
|
222
|
+
cover it, but manual QA on a real terminal of each platform is still pending (see Gaps).
|
|
223
|
+
|
|
224
|
+
- **Nothing is read while the panel cannot be seen.** On a terminal narrower than 110 columns,
|
|
225
|
+
shorter than 14 rows, or showing the dashboard or a modal screen, the CLI skips the terminal
|
|
226
|
+
list, the branch read and the git summary entirely - including the filter probe's path scan -
|
|
227
|
+
and reads them again when a resize or a closed screen makes the panel visible (the terminal
|
|
228
|
+
announces that transition).
|
|
229
|
+
|
|
230
|
+
## Gaps and limitations
|
|
231
|
+
|
|
232
|
+
- Headless runs (`--prompt`, `--json`) and the desktop client never draw the panel; `--json` output
|
|
233
|
+
is unchanged.
|
|
234
|
+
- The Terminals section lists only `qa.terminal` PTY sessions. A long-running shell command executed
|
|
235
|
+
through the ordinary Bash/PowerShell tool is not a managed session and does not appear.
|
|
236
|
+
- The Git section is a summary: no per-file list, no staged/unstaged split, no commit or push
|
|
237
|
+
action. It never opens file contents (unlike the QA change detector).
|
|
238
|
+
- No known defects at the time of writing.
|
|
239
|
+
|
|
240
|
+
## Validation evidence
|
|
241
|
+
|
|
242
|
+
Automated (this branch, Windows 11, Node v24.13.1):
|
|
243
|
+
|
|
244
|
+
- `npm run build` — clean; `npx tsc --noEmit` — clean.
|
|
245
|
+
- `node --test dist/test/side-panel.test.js` — 25/25 pass (section content, colors, packing,
|
|
246
|
+
duration formatting, running-first terminal ordering, the reserved age, the idle-entry marker,
|
|
247
|
+
bottom anchoring, values flattened against control characters, and the width bound at six panel
|
|
248
|
+
widths).
|
|
249
|
+
- `node --test dist/test/git-summary.test.js` — 18/18 pass against real temporary repositories
|
|
250
|
+
(clean tree, tracked edits, untracked counting, staged+unstaged, rename, non-repository, nested
|
|
251
|
+
workspace, detached HEAD, unborn HEAD, failed reads rejecting, an unreadable repository
|
|
252
|
+
rejecting, a workspace-only PATH refused, and the trusted environment).
|
|
253
|
+
- `node --test dist/test/cli-graph-health.test.js` — 11/11 pass;
|
|
254
|
+
`dist/test/cli-preflight-cancellation.test.js` — 4/4 pass. Both failed 5/11 and 0/4 before the
|
|
255
|
+
`git -C` fix, with `EBUSY: resource busy or locked, rmdir '…\workspace'` in their teardown; the
|
|
256
|
+
read is what held the lock. These are the regression coverage for that constraint.
|
|
257
|
+
- `node --test dist/test/terminal-ui.test.js` — 176/176 pass (panel live state, hiding on a narrow
|
|
258
|
+
terminal/dashboard/modal, the zoom's custom-graph-only rule and trail retention, a frame-bounds
|
|
259
|
+
sweep, caret navigation and echoed-prompt framing at the chat width, the trail reset on a graph
|
|
260
|
+
change, a stopped run's node kept as the focus, and a panel click that must not toggle the
|
|
261
|
+
reasoning preview).
|
|
262
|
+
- End-to-end smoke of the real CLI: a scratch Git repository (one modified file, one untracked
|
|
263
|
+
file, branch `feature/e2e-panel`) was rendered in a 160x40 terminal-shaped stdout, the composed
|
|
264
|
+
screen captured, and the CLI driven to exit. The panel painted
|
|
265
|
+
`Changes +2 -1`, `⎇ feature/e2e-panel`, `1 file · 2 untracked`, `Node Idle / entry: Software Engineer`
|
|
266
|
+
and `Progress / No plan published`, with no zoom section for the default graph — the numbers
|
|
267
|
+
match `git diff HEAD --numstat` for that repository.
|
|
268
|
+
- Full suite swept per file through a throwaway `ANDORRACODE_HOME` (the suite-wide run hangs on
|
|
269
|
+
this machine, so each file runs in its own process): see the PR's Validation section for the
|
|
270
|
+
final tally. Five files fail identically on the pristine main checkout (`~/andorra-install`,
|
|
271
|
+
5f6d392) on this machine — `activity-ui`, `anthropic-stream-boundary`, `cli-browser-review`,
|
|
272
|
+
`cli-context-persistence` and `cli-live-control` — and are unrelated to this branch; none of
|
|
273
|
+
them imports the panel, the git summary or the terminal manager.
|
|
274
|
+
|
|
275
|
+
Manual (proposed for QA):
|
|
276
|
+
|
|
277
|
+
- TC-1 to TC-17 on Windows Terminal (150×40), plus a macOS Terminal.app pass for the box-drawing
|
|
278
|
+
glyphs (`● ○ ✓ ▲ ├ └ ▶ ─ │ █ ░`) and one Linux (GNOME Terminal) pass.
|
|
279
|
+
- A real custom-graph run with parallel copies to exercise TC-6 and TC-11 together.
|
|
280
|
+
|
|
281
|
+
## Cases added by the review round on the panel's own details
|
|
282
|
+
|
|
283
|
+
| ID | Preconditions | Steps | Expected result |
|
|
284
|
+
| --- | --- | --- | --- |
|
|
285
|
+
| TC-18 | Parallel copies of one node resolving different profiles (one falls back to another effort or model) | Watch the footer's model row and the token rate while the readout follows the copy that stayed on the primary | The row names the followed copy's provider and model *and* that copy's own reasoning effort and context window; the rate stays visible, because it was measured under that copy's resolution — a sibling's effort must not be compared against it. Switch focus to the sibling and the row follows it instead |
|
|
286
|
+
| TC-19 | A terminal wide enough for the side panel | Submit a task from the Ctrl+B dashboard, then press Ctrl+B back to the transcript | The echoed prompt box is framed for the transcript column, not the full width the dashboard was using: its border is intact (a complete `╭───╮` row) and exactly as wide as a prompt echoed with the transcript on screen |
|
|
287
|
+
| TC-20 | A plan with three items `in_progress` and three `pending`, in a terminal short enough that the Plan section has three body rows (about 21 rows with a custom graph) | Look at the Plan section with the panel visible | Two active items are listed and the closing line names what the budget left out, active ones included (`… 1 more active · 3 waiting`), so the count the Progress row reports is never contradicted by silence. Grow the terminal and all six items are listed with no closing line |
|
|
288
|
+
| TC-21 | A large plan with a small completed share (1 of 100) | Look at the Progress bar | A nonzero share fills at least one cell: the bar is never empty beside a percentage that says otherwise |
|
|
289
|
+
| TC-22 | A plan of one `in_progress` and six `pending` items; terminal 140x40 with the default graph | Look at the Plan section with the panel visible, then shrink the terminal to 19 rows | At 40 rows all seven items are listed and there is no `… N waiting` line (the list used to stop at two waiting items and print `… 4 waiting` above empty rows). At 19 rows the list fills the rows it has and closes with the count of the rest (`● Inspect…`, three `○` items, `… 3 waiting`) |
|
|
290
|
+
| TC-23 | A plan of one `completed` and four `in_progress` items, in a terminal short enough that the Plan section has four body rows (about 22 rows with a custom graph) | Look at the Plan section, then shrink by two rows | At four body rows: `● First`, `● Second`, `✓ 1 completed`, `… 2 more active` — the completed count never takes the cut line's row. At two body rows: `● First`, `… 3 more active`; the completed row gives way, since the heading still reads `1/5` |
|
|
291
|
+
|
|
292
|
+
Validation for these four (run on Windows 11, Node v24.13.1):
|
|
293
|
+
|
|
294
|
+
- `node --test dist/test/terminal-ui.test.js` — 178/178, including the two added cases (the
|
|
295
|
+
per-copy footer identity with its own effort, and the dashboard echo's frame).
|
|
296
|
+
- `node --test dist/test/side-panel.test.js` — 27/27, including the nonzero-share bar and the
|
|
297
|
+
omitted-active line (which is clipped like every other row and keeps the width sweep green).
|
|
298
|
+
|
|
299
|
+
Validation for TC-20 and TC-22 after the plan list stopped capping at two waiting items (Windows 11,
|
|
300
|
+
Node v24.13.1):
|
|
301
|
+
|
|
302
|
+
- `node scripts/run-tests.mjs dist/test/side-panel.test.js` — 29/29, including the new
|
|
303
|
+
whole-plan case, the reworked budget cases, and TC-23's completed-count case.
|
|
304
|
+
- `node scripts/run-tests.mjs dist/test/terminal-ui.test.js` — 203/203.
|
|
305
|
+
- Run check: the built CLI (`node dist/src/cli.js`) in a 140-column node-pty session with a
|
|
306
|
+
throwaway `ANDORRACODE_HOME` and a local fake OpenAI-compatible server on an OS-assigned port
|
|
307
|
+
that answers the first agent turn with an `update_todos` call of seven items. At 40 rows the
|
|
308
|
+
panel listed all seven items with no closing line; at 19 rows it listed four and closed with
|
|
309
|
+
`… 3 waiting`.
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# Hosted Jev and embedded decision-provider QA plan
|
|
2
|
+
|
|
3
|
+
The CLI selects hosted Jev (`provider: andorra`, `mode: active`) by default for currently verified signed-in members when no explicit `decisions` configuration is stored. Runtime settings also select Local / self-hosted or Off; follow the [local decision settings QA plan](local-decision-settings-test-plan.md) for URL, model, authentication and popup cases. Both free and paid users can toggle the global enable with `/jev`, `/jev on`, `/jev off`, and `/jev status`; `jevEnabled` persists and defaults to true. Global off disables hosted and local providers; global on resumes the stored provider/mode. Paid custom graphs can additionally set an Agent's `jevEnabled: false`. Global on respects that node setting. Signed-out or unavailable membership retains baseline routing for the hosted selection, while explicitly configured local services do not require hosted sign-in. Follow [the accounts QA plan](accounts-test-plan.md) for account persistence, server quotas and hosted secret configuration. Custom graphs require paid membership; Default remains a single Software Engineer.
|
|
4
|
+
|
|
5
|
+
## Scope and prerequisites
|
|
6
|
+
|
|
7
|
+
Verify account-managed CLI defaults, explicit local configuration, global/per-node controls, the embedded decision-provider boundary, batched Agent preflight, safe fallback, cancellation, isolated invocation state and telemetry privacy. Laya active may affect only automatic CodeGraph/Graphiti retrieval; coding-LLM work, security checks, tool exposure and completion requirements remain authoritative. Shadow predictions must never change routing or prompts. The CLI honors explicit global `decisions` selections unless global `jevEnabled: false` disables them; library managers retain explicit config and off/none defaults.
|
|
8
|
+
|
|
9
|
+
Use Node.js 22 or newer and npm on a supported Andorra host. Windows PowerShell is the implementation environment; macOS/Linux verification remains pending unless recorded below. Automated Node tests use injected providers and need no Android device, ARTEMIS session, Jev account or credentials. Live hosted CLI checks require a coding-model provider, an Andorra account and an administrator-configured hosted secret. Local checks require a structured Laya/Jev decision endpoint and its model ID; an ordinary OpenAI-compatible chat endpoint is insufficient. Never use production credentials as fixture data or include them in reports.
|
|
10
|
+
|
|
11
|
+
CLI fixtures that are not explicitly testing hosted Jev set `jevEnabled: false` to prevent accidental real decision requests. Embedded decision tests inject their provider/config directly.
|
|
12
|
+
|
|
13
|
+
Work from the dedicated feature worktree, keep the installed CLI checkout on `main`, and verify the branch before building:
|
|
14
|
+
|
|
15
|
+
```powershell
|
|
16
|
+
git branch --show-current
|
|
17
|
+
npm ci
|
|
18
|
+
npm run check
|
|
19
|
+
npm run build
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Use the current hosted-Jev feature branch in its dedicated worktree. Building produces ignored `dist/` output. Do not switch or rebuild the user's installed checkout on the feature branch. Branch names in historical evidence below describe earlier releases.
|
|
23
|
+
|
|
24
|
+
## How to use the feature
|
|
25
|
+
|
|
26
|
+
1. Read [decision providers](../design/decision-engine.md) and the [local settings QA plan](local-decision-settings-test-plan.md). The CLI uses account-managed active hosted Jev by default when no explicit decision configuration is stored; an embedded library manager with no configuration still defaults to off/none.
|
|
27
|
+
2. Run the targeted automated checks described below. Their injected decision and coding-model providers make the checks repeatable without network credentials.
|
|
28
|
+
3. For optional CLI verification, use a disposable directory and set `ANDORRACODE_HOME` to it, remembering the previous environment value. Configure a coding-model provider through Settings > Providers or `/providers` if needed. Use environment references for credentials.
|
|
29
|
+
4. Start the feature CLI in a disposable repository, sign in with `/login`, and inspect `/jev status`. For the hosted-default case, omit `decisions` and leave global Jev enabled, then submit `Explain this repository without modifying files.` Look for public `[Jev]` request/completion or safe fallback activity. Verify `decision.applied` and actual retrieval events before claiming a routing change. Default does not require an Orchestrator intake.
|
|
30
|
+
5. Enter `/jev off` and run another task: no hosted or local decision request should occur. Restart the CLI and confirm the preference persists. `/jev on` lifts this global disable and resumes the stored provider/mode, so explicit off/none still stays off. A paid Agent with **Jev decisions** unchecked remains opted out. Configure local Laya active or Jev shadow through Runtime settings using the same disposable home; verify its configured URL/model is used without hosted sign-in. An explicit local selection must not silently route to hosted Jev. Direct Jev active remains unsupported and safely falls back.
|
|
31
|
+
6. Exit with `/exit` or Ctrl+C. Restore the previous `ANDORRACODE_HOME` value, or remove the environment override if originally absent. Delete only the disposable directory created for this test after verifying its absolute path. Keep credentials out of reports and committed artifacts.
|
|
32
|
+
|
|
33
|
+
## Test cases and expected results
|
|
34
|
+
|
|
35
|
+
Each case below is a QA requirement. Execution status is recorded separately under Validation evidence; this table alone does not claim a pass.
|
|
36
|
+
|
|
37
|
+
### Current hosted CLI cases
|
|
38
|
+
|
|
39
|
+
| ID | Preconditions and steps | Observable expected result |
|
|
40
|
+
| --- | --- | --- |
|
|
41
|
+
| HJ-01 | For signed-in free and paid accounts, omit both `decisions` and global `jevEnabled`; run Default. | Current membership selects hosted active mode with a 15000ms decision deadline. One batch contains CodeGraph/memory questions only; the coding model still runs. |
|
|
42
|
+
| HJ-02 | While signed out, or with membership unavailable, run Default with no explicit local selection, then repeat with local Laya active or Jev shadow. | Hosted selection makes no request and retains ordinary routing. An explicit local selection can evaluate without hosted sign-in, using its configured API/mode. No stale claim grants hosted service access. |
|
|
43
|
+
| HJ-03 | Test `/jev`, `/jev off`, `/jev on`, and `/jev status` for both tiers with hosted, local and explicit off/none configuration; restart after changing the setting. | Global preference persists; off prevents all decision requests, on resumes the stored selection rather than replacing it. Explicit off/none remains off. Footer's enable indicator reports the global preference; status does not invoke a decision service. |
|
|
44
|
+
| HJ-04 | Paid user disables one Agent's **Jev decisions**; compare enabled/disabled nodes with global on, then off. | Disabled node uses baseline; enabled node can evaluate only with global on. Free users cannot apply paid node overrides. |
|
|
45
|
+
| HJ-05 | Store valid global `decisions` entries for off/none, local Jev shadow, Laya shadow and Laya active; configure local fixtures with distinct URL/model identifiers. Repeat with global `jevEnabled: false`. | CLI honors each stored selection: off/none makes no request, shadow evaluates without applying routes, and Laya active can apply eligible confident CodeGraph/memory decisions. Local requests use the configured URL/model without hosted sign-in and do not call hosted Jev. Global false suppresses every provider/mode. Explicit embedded managers remain independently configurable. |
|
|
46
|
+
| HJ-06 | Return confident yes/no and intermediate answers with eligible CodeGraph/Graphiti fixtures. | Only confident automatic retrieval routes change. Tool permissions, graph edges, verification and coding-LLM execution are unchanged. |
|
|
47
|
+
| HJ-07 | Return 401, a daily quota 429, generic throttling/service error, invalid answers, or stall beyond the hosted deadline; cancel separately. | Fixed public fallback labels distinguish supported causes; baseline remains available, late results are ignored, and secrets/raw responses are absent. No successful inference or savings is inferred from fallback. |
|
|
48
|
+
| HJ-08 | Compare requested/completed/applied events with actual retrieval and the coding-model request. | Public activity is visible, application is attributed per invocation, and actual context matches the applied route. No measured token-saving claim without a separate benchmark. |
|
|
49
|
+
|
|
50
|
+
### Embedded library and shadow cases
|
|
51
|
+
|
|
52
|
+
DE/DP cases below exercise explicit library managers, including legacy shadow/direct-provider behavior. Their off/none expectations do not describe the signed-in CLI default.
|
|
53
|
+
|
|
54
|
+
| ID | Preconditions and steps | Observable expected result |
|
|
55
|
+
| --- | --- | --- |
|
|
56
|
+
| DE-01 | Load a valid model config without `decisions`, then with explicit `off` / `none`. Inject a provider factory that records calls. Execute an Agent. | The factory and evaluator have zero calls; no `decision.*` events; normal Agent completion remains available. |
|
|
57
|
+
| DE-02 | Configure `off` / `jev` with a sentinel environment-variable name. Execute the same fixture. | No decision provider initialization or network request; no credential-dependent behavior or decision telemetry. |
|
|
58
|
+
| DE-03 | In shadow mode inject a recording provider. Enable the supported preflight features; execute one Agent invocation. | Questions sharing its state arrive in one batch, with unique IDs. No request per individual question. |
|
|
59
|
+
| DE-04 | With working mock CodeGraph and memory managers, compare an off run against a shadow run predicting the opposite of the existing baseline. | The same routing/retrieval calls, exposed tools, and prompt context are used. Comparison events report disagreement without applying the prediction. |
|
|
60
|
+
| DE-05 | Run shadow mode with no registered decision backend. | Existing Agent behavior continues; bounded fallback metadata identifies the unavailable provider. No HTTP transport is attempted. |
|
|
61
|
+
| DE-06 | Inject a provider that never settles, using a short finite request timeout. | Execution continues after the decision deadline; timeout fallback is emitted; the supplied provider signal is aborted. A late result cannot alter routing. |
|
|
62
|
+
| DE-07 | Inject providers that throw synchronously and reject asynchronously with a message containing `SENTINEL_SECRET`. | The coding task retains its existing path; provider-error/fallback metadata does not contain the exception message or sentinel. |
|
|
63
|
+
| DE-08 | Return missing/extra record keys, wrong result types, invalid choice labels, invalid choice distributions, NaN, Infinity, and probabilities outside `[0,1]`. | Invalid predictions are rejected rather than trusted; the existing path remains usable. |
|
|
64
|
+
| DE-09 | Return low-confidence and threshold-boundary answers. | Low-confidence answers fall back; accepted answers still affect only comparisons in shadow mode. |
|
|
65
|
+
| DE-10 | Abort before evaluation and while an uncooperative provider is pending. | No delayed coding-task continuation after cancellation; provider signal is canceled; the manager does not wait for the configured timeout to handle parent cancellation. |
|
|
66
|
+
| DE-11 | Run two Agent invocations concurrently with distinct node/task sentinels and reversed provider completion order. | Each batch and comparison stays paired with its own invocation. Neither state nor baseline leaks between invocations. |
|
|
67
|
+
| DE-12 | Execute deterministic Action, Condition, Join, Loop, Approval, and End nodes without Agent invocation. | No semantic decision-provider calls originate from these nodes. |
|
|
68
|
+
| DE-13 | Predict permission-sensitive actions and reduced verification from a shadow provider while graph/tool policy disallows those actions. | Capability policy, user approval, graph completion contracts, and run/tool budgets remain authoritative. |
|
|
69
|
+
| DE-14 | Put distinct sentinels in task, node instruction, provider exception, and credentials; collect decision events. | Events contain only approved metadata and bounded prediction/comparison fields; no raw task, instruction, credentials, or exception text. |
|
|
70
|
+
| DE-15 | Supply invalid modes/providers, non-boolean feature flags, and invalid timeout values. | Configuration validation rejects invalid inputs before execution with actionable errors. |
|
|
71
|
+
| DE-16 | Configure `provider: "jev"`, `mode: "active"` with an injected provider, then run Jev shadow configuration. Separately run Laya active per DP-05. | Jev active emits `decision.fallback` with `active_unsupported` without calling the provider; Jev shadow evaluates without changing routing. Laya active evaluates and can emit `decision.applied` for eligible confident CodeGraph/memory decisions. |
|
|
72
|
+
| DE-17 | Disable optional preflight feature flags and execute an Agent. | Disabled questions are omitted, and an empty batch does not call the provider. Existing harness features are not disabled by decision feature flags. |
|
|
73
|
+
| DE-18 | Describe a permitted tool list containing only the built-in `edit_file`. | The decision capability snapshot includes `filesystem-write`. |
|
|
74
|
+
| DE-19 | Use a disposable config home with shadow/jev and an explicitly missing synthetic `apiKeyEnv` configured. Run an Agent with injected memory and no decision manager, then with an injected off decision manager. Restore the environment afterward. | Both runs succeed. The first emits requested, provider_error and shadow fallback with fixed `provider_error` reason without HTTP; the second emits no decision events, preserving the injected manager. |
|
|
75
|
+
| DE-20 | Run a graph Agent with a two-iteration modifier loop and injected memory returning `LOOP_MEMORY_SENTINEL`. First model output sets `ready: false`; second sets `ready: true`. Record decision snapshots and model prompts. | Snapshots carry `run.iteration` 1 and 2 with the original memory-free task. Both model prompts retain memory; only the second includes the previous result. The graph succeeds after two calls. |
|
|
76
|
+
| DE-21 | Repeat DE-20 with a memory provider whose search throws. Record snapshots, memory comparison events, and `memory.activeFor(result.id)`. | Retrieval trips run memory, but both snapshots retain availability from the pre-retrieval baseline; memory comparisons report `current: true`. Agent execution still succeeds, and no memory payload enters its prompts. |
|
|
77
|
+
|
|
78
|
+
## Edge cases and potential bugs
|
|
79
|
+
|
|
80
|
+
- Cancellation and timeout can race with provider resolution. Check that only one terminal result is reported and late rejections do not become unhandled promise rejections.
|
|
81
|
+
- A provider can mutate input objects or return values that it later mutates. Verify invocation isolation rather than relying on fixture politeness.
|
|
82
|
+
- An event observer can throw. Decision telemetry must not make the Agent fail or permit routing changes.
|
|
83
|
+
- Unavailable CodeGraph or memory is a normal baseline, not evidence that a prediction disabled it. Compare against the existing eligibility rules.
|
|
84
|
+
- A low probability of a yes/no answer can be a confident negative prediction; inspect the policy's confidence definition when testing thresholds.
|
|
85
|
+
- No retry or credential persistence behavior should be assumed. HTTP failures and rate limits fall back without retry; no decision circuit breaker is implemented.
|
|
86
|
+
- Cross-platform timer scheduling can vary; use bounded waits in tests and avoid exact millisecond assertions. These risks are test targets, not reproduced defects.
|
|
87
|
+
|
|
88
|
+
## Gaps and limitations
|
|
89
|
+
|
|
90
|
+
- Live hosted Jev checks need the configured account service and server secret; record their results separately from local fixtures. Remote cancellation, rate limits and prediction quality are not established by mocked tests.
|
|
91
|
+
- Hosted `andorra` and Laya CodeGraph/memory preflight support active routing. Direct `jev` active, tool filtering, delegation changes, verification reduction and post-tool routing remain unsupported. Shadow comparisons cannot demonstrate savings.
|
|
92
|
+
- Interactive CLI and non-Windows host checks are pending unless explicitly recorded below.
|
|
93
|
+
- No known reproduced defect is asserted by this plan; pending cases and risks are not pass claims.
|
|
94
|
+
|
|
95
|
+
## Current hosted validation evidence
|
|
96
|
+
|
|
97
|
+
- Documentation was checked against the hosted policy, graph Agent override, decision manager, provider and graph-builder implementations. `git diff --check` passed for these documentation changes.
|
|
98
|
+
- The integration owner reported live run `70c15b4b-5509-461c-89bc-51e5845d63e4` after `/jev off`: the coding run succeeded with zero decision events. `/jev on` subsequently restored `[Enabled]`. This verifies the global switch separately from active prediction quality.
|
|
99
|
+
- The [active hosted Jev QA plan](default-active-jev-test-plan.md) records its live enabled-run evidence and automated checks. HJ cases above remain requirements rather than blanket pass claims; no benchmark establishes token savings.
|
|
100
|
+
|
|
101
|
+
## Historical validation evidence
|
|
102
|
+
|
|
103
|
+
Validated on Windows with Node.js 24.16.0 and npm 11.11.0, from `feat/decision-shadow`:
|
|
104
|
+
|
|
105
|
+
- `npm run check`: passed.
|
|
106
|
+
- `npm run build`: passed.
|
|
107
|
+
- `node --test dist/test/decision-engine.test.js`: all 12 tests passed. Covers off/none/active fallback, one preflight batch, confidence boundaries, timeout/cancellation and late results, malformed output, provider/sink failures, configuration validation, flags, provider mutation, nonblocking completion, parallel-copy identity, and real CodeGraph/memory manager integration with injected backends.
|
|
108
|
+
- The integration test compares off against opposite shadow predictions: model messages and permitted tools are identical; CodeGraph and memory retrieval still occur; decision state excludes injected memory; Action and End nodes make no semantic requests.
|
|
109
|
+
- Final `npm test`: 956 tests, 917 passed, 34 failed, 5 skipped. Comparison against unchanged `main` at `9fe7f5ddea223c7add3ff8b57eaa52994b0f01cd` reproduced all 34 failures with identical test names. The baseline has 944 tests, 905 passes, 34 failures and 5 skips. Existing failures span interactive CLI, CodeGraph, memory, command screens and runtime tests; this is not a green full-suite claim.
|
|
110
|
+
- `npm pack --dry-run --ignore-scripts --json`: confirmed the framework, usage guide, original plan and QA plan are in the npm package.
|
|
111
|
+
|
|
112
|
+
CLI smoke check: `node dist/src/cli.js --help` exited successfully and displayed the normal command list. Interactive model-backed checks were not run.
|
|
113
|
+
|
|
114
|
+
Remaining proposed QA includes distinct-node reversed completion order (parallel copies are covered), explicit pre-aborted requests, exhaustive numeric/schema variants, all deterministic node types beyond Action/End, and detailed approval/completion/budget regressions with shadow enabled. Existing runtime checks are included in the full suite, but its failures prevent a blanket pass claim. This paragraph records the original shadow-release evidence; current adapter and active-routing validation is recorded below.
|
|
115
|
+
|
|
116
|
+
### PR #34 review follow-up
|
|
117
|
+
|
|
118
|
+
- `npm run check` and `npm run build`: passed in the dedicated feature worktree.
|
|
119
|
+
- `node --test dist/test/decision-engine.test.js dist/test/graph-runner.test.js dist/test/graph-policy-validation.test.js dist/test/graph-preflight-attribution.test.js`: 68 passed, zero failures, including 16 decision tests and the DE-18 through DE-21 regressions. The latest follow-up verifies modifier iteration metadata, memory-free decision tasks, unchanged model loop context, and consistent availability/baseline snapshots across a real retrieval circuit trip.
|
|
120
|
+
- No full-suite rerun for these narrow fixes; the previously established 34 baseline failures above remain outside this follow-up's scope. No installation-checkout operations or live provider calls were required.
|
|
121
|
+
|
|
122
|
+
## Embedded dual-provider and active Laya cases
|
|
123
|
+
|
|
124
|
+
These cases extend the embedded shadow checks. Use explicit `DecisionManager` config objects in a dedicated feature worktree. CLI, desktop and browser runs also honor stored local provider selections, subject to global `jevEnabled`; verify that boundary with HJ-05 and the [local settings QA plan](local-decision-settings-test-plan.md). Automated HTTP fixtures bind ephemeral loopback ports and need no credentials or deployed models. Run `npm ci --ignore-scripts`, `npm run check`, `npm run build`, then `node --test dist/test/decision-http.test.js dist/test/decision-active.test.js dist/test/decision-engine.test.js`. Run `npm test` for broader regression coverage when appropriate.
|
|
125
|
+
|
|
126
|
+
| ID | Preconditions and steps | Observable expected result |
|
|
127
|
+
| --- | --- | --- |
|
|
128
|
+
| DP-01 | Run HTTP tests with both Jev and Laya fixtures. Inspect request body/path and test bearer header. | One batched request reaches /v1/systemone or /v1/chat/completions, carries configured alias and typed instructions/criteria, and maps noul/choice/ordinal score to validated internal values. No chat-model substitution. |
|
|
129
|
+
| DP-02 | Return Laya answers in top-level laya, then message.laya; return only generated message.content JSON. | Both structured contracts succeed; text-only response rejects. Missing/extra/type-mismatched/invalid probability or score answers reject the whole batch. |
|
|
130
|
+
| DP-03 | Return 401, 307, malformed JSON and >1MiB response. Abort a pending response. | Evaluation rejects; manager preserves baseline. Redirect is not followed, bearer key is not forwarded, response/error text never enters decision telemetry. No retries. |
|
|
131
|
+
| DP-04 | Use off/none, Laya without endpoint, configured missing credential, Jev active. With the same HTTP provider instance, add, rotate, remove and blank its synthetic environment credential. | Off/missing endpoint/missing credential/Jev active make no HTTP request. Off produces no decision events; missing endpoint reports provider_unavailable; missing credential reports provider_error; Jev active reports active_unsupported. Adding and rotating the credential enables the next request with its current value; removing or blanking it blocks subsequent HTTP. Restore the environment afterward. |
|
|
132
|
+
| DP-05 | Active Laya with high/low/mid probabilities for CodeGraph and memory; repeat with feature flags false. | Only confident enabled decisions change eligible automatic retrieval; intermediate/omitted decisions retain baseline. Only two binary questions are sent. |
|
|
133
|
+
| DP-06 | Repeat active checks with unavailable/disallowed CodeGraph, disabled memory and exact-file/literal native tasks. | Existing configuration, capabilities, native routing rules and budgets remain authoritative; no permission or tool exposure changes. |
|
|
134
|
+
| DP-07 | Run concurrent node copies and a modifier loop with differing decisions; timeout or cancel decision requests. | Each invocation uses its own task/result and bounded deadline; memory retrieval follows each attempt's decision; late results do not mutate completed routes. |
|
|
135
|
+
| DP-08 | Send active Laya compact state <=316 UTF-8 bytes then >316, including multibyte text and complete long node instruction. | Small state is sent as a string; oversized state makes no request and preserves baseline. No silent truncation or summarization. Shadow remains observational and may be truncated by server. |
|
|
136
|
+
| DP-09 | In an explicitly embedded manager, select Laya active with the served endpoint/model; later update endpoint to a router alias. | Deployed model yields decision.completed/applied; missing model 404 preserves ordinary Agent behavior. Verify actual retrieval events and model context, not just server reachability. |
|
|
137
|
+
| DP-10 | Configure Jev shadow with TYPESAFE_API_KEY set locally. | Structured answers produce shadow comparisons only; normal retrieval remains identical. Removing key yields provider_error fallback without key/error disclosure or HTTP. |
|
|
138
|
+
| DP-11 | Use a 150ms node limit and two modifier iterations with a mock memory retrieval lasting 250ms. Compare off against active Laya with missing endpoint, throwing/timed-out provider, uncertain answers and memory routing disabled. | Both model calls complete with baseline memory; fallback retrieval suspends only node/modifier clocks. Repeat with a 100ms graph deadline and then caller cancellation: model calls remain zero and the result is exhausted/cancelled. Confident active evaluation and retrieval remain charged to node deadlines. |
|
|
139
|
+
| DP-12 | Recommend CodeGraph and memory confidently. Give a node 20000 context characters; compare empty memory against a 12000-character memory block. Configure only the DecisionManager constructor telemetry sink. | The graph route is initially eligible. Empty memory permits one graph query and applied:true; large memory prevents the query and records applied:false. Exactly one CodeGraph application event is emitted after retrieval; constructor telemetry still receives requested/completed events. |
|
|
140
|
+
|
|
141
|
+
### Provider limitations and pending manual work
|
|
142
|
+
|
|
143
|
+
Historical Laya discovery reached http://100.97.4.16:7878/v1 but returned 404 for convaiinnovations/laya; current deployment availability requires a fresh check. DP-09/DP-10 live direct-provider checks, non-Windows validation, server-side cancellation and prediction quality/cost/latency benchmarks remain pending unless separately recorded. The 316-byte active state limit applies specifically to Laya, not hosted Jev. The coding LLM continues to run; no turn-skipping or savings percentage is claimed.
|
|
144
|
+
|
|
145
|
+
### Historical dual-provider validation evidence
|
|
146
|
+
|
|
147
|
+
Validated on Windows, Node.js 24.16.0 and npm 11.11.0, from the dedicated `feat/dual-decision-providers` worktree:
|
|
148
|
+
|
|
149
|
+
- `npm run check` and `npm run build`: passed.
|
|
150
|
+
- Focused decision HTTP, active-routing and original shadow tests: **32 passed, zero failures**. Nine HTTP fixtures cover both contracts, auth, malformed/oversized/redirect/error responses, abort and active context limits. Seven active tests cover actual retrieval/model input, gates, per-loop decisions, concurrent isolation and node deadlines. Sixteen original decision tests still pass.
|
|
151
|
+
- `npm test`: **979 tests, 940 passed, 34 failed, 5 skipped**. Unchanged `origin/main` at `c220e3cdc388dbac599a7a41d272708694429a92` produced 963 tests, 924 passed, the same 34 failures and 5 skips. Exact failure-name sets match; no new failure was observed. This is not a green full-suite claim.
|
|
152
|
+
- `git diff --check`: passed.
|
|
153
|
+
- Live service discovery: endpoint responds, but model request returned 404. Laya deployment is deferred by the user; no successful live inference claimed. No installation config or deployed service was changed.
|
|
154
|
+
|
|
155
|
+
The historical PR34 evidence above remains historical and must not be read as current provider validation.
|
|
156
|
+
|
|
157
|
+
### PR35 review follow-up validation (September 19, 2026)
|
|
158
|
+
|
|
159
|
+
- `npm run check` and `npm run build`: passed in `feat/dual-decision-providers`.
|
|
160
|
+
- `node --test dist/test/decision-active.test.js dist/test/decision-http.test.js dist/test/decision-engine.test.js dist/test/agent-modifiers.test.js dist/test/deadline.test.js dist/test/graph-runner.test.js dist/test/graph-policy-validation.test.js dist/test/graph-preflight-attribution.test.js`: **142 passed, zero failures**. Includes 10 active, 11 HTTP and 16 original decision tests, plus modifier, deadline and graph contract regressions.
|
|
161
|
+
- New fixtures verify request-time credential recovery/rotation/removal, fallback memory across two modifier iterations, preserved graph deadlines/cancellation, post-memory CodeGraph application telemetry, and a constructor-only telemetry sink. All inference is mocked; no live Jev/Laya inference was attempted.
|
|
162
|
+
- The earlier full-suite comparison against unchanged main `c220e3c` remains the evidence for the 34 unrelated baseline failures. The full suite was not rerun for this narrow follow-up.
|
|
163
|
+
- README and DE-16 now distinguish unsupported Jev active mode from supported opt-in Laya active routing. DP-04 and DE-19 record the request-time credential fallback behavior; DP-11/DP-12 describe the new runtime regressions.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Default active Jev and per-agent settings QA
|
|
2
|
+
|
|
3
|
+
Superseded in part by [jev-node-opt-in-test-plan.md](jev-node-opt-in-test-plan.md): Jev is now opt-in per Agent node, requires a signed-in account for hosted and local services, and is honored per node on free accounts too. The cases below are updated to match.
|
|
4
|
+
|
|
5
|
+
## Scope and prerequisites
|
|
6
|
+
|
|
7
|
+
Signed-in free and paid users receive hosted Jev decision assistance by default when no explicit `decisions` configuration is stored. Runtime settings can instead select a local Laya/Jev decision service or Off; see the [local decision settings QA plan](local-decision-settings-test-plan.md) for setup and UI cases. Paid users can configure individual agent nodes in custom graphs. Jev assists routing; the coding model still reads, implements, and verifies tasks. Existing permissions, hosted authentication and server quota remain authoritative.
|
|
8
|
+
|
|
9
|
+
Use Node 22+, `npm ci`, `npm run check`, and `npm run build` in the feature worktree. For manual checks run `node dist/src/cli.js --cwd <test-repository>`. A free Cognito test account and a paid account in both base and paid groups are needed to compare entitlement behavior. Hosted verification needs the configured AWS proxy and an administrator-provisioned Jev secret; never put credentials in graphs or QA logs.
|
|
10
|
+
|
|
11
|
+
## How to use the per-agent setting
|
|
12
|
+
|
|
13
|
+
1. Sign in with `/login` using a paid test account.
|
|
14
|
+
2. Open `/graph` and select the graph builder. Create or duplicate a graph.
|
|
15
|
+
3. Select an Agent node on the canvas. In its general settings, locate **Jev decisions** below Prompt.
|
|
16
|
+
4. Observe that a new node or an older imported node without a `jevEnabled` property has the checkbox cleared.
|
|
17
|
+
5. Tick the checkbox, save the graph, reopen it, and confirm the checkbox remains selected. Graph JSON contains `jevEnabled: true` for that agent.
|
|
18
|
+
6. Clear the checkbox, save again, and reopen; it remains cleared and the saved JSON has no `jevEnabled` key for that agent.
|
|
19
|
+
7. Exit the builder and restore the original graph selection after testing. Remove only the test graph through the supported graph UI if cleanup is needed.
|
|
20
|
+
|
|
21
|
+
## Test cases and expected results
|
|
22
|
+
|
|
23
|
+
- AJ-01: With no explicit `decisions` configuration and global `jevEnabled` omitted or true, a signed-in free user runs the single Software Engineer default graph. Observe configured active hosted Jev decisions and server quota usage; there is no Orchestrator or custom graph access.
|
|
24
|
+
- AJ-02: A paid user sees the same enabled default and can access the graph editor.
|
|
25
|
+
- AJ-03: New Agent and imported legacy Agent definitions with omitted `jevEnabled` display unchecked; the bundled Software Engineer and Andorra presets carry `jevEnabled: true` on their Agents. Explicit true survives validation, saving, immutable revision loading, duplication and JSON import/export; unticking removes the key, and an imported explicit false displays unchecked.
|
|
26
|
+
- AJ-04: Tick one Agent in a graph containing multiple Agents and leave the others unticked. Only the ticked Agent makes decision preflight requests; the others run with ordinary routing. The coding model still executes every agent's task. Free and paid accounts behave the same.
|
|
27
|
+
- AJ-05: Control nodes such as End have no Jev checkbox. Imported `jevEnabled` on a non-Agent node is rejected by server validation, including false.
|
|
28
|
+
- AJ-06: Import `jevEnabled: "false"`, null, zero, array, or object on an Agent. Server validation rejects these values; the editor blocks malformed state before issuing save requests.
|
|
29
|
+
- AJ-07: Sign out or revoke paid membership while the editor is open. Subsequent protected API requests must fail membership validation; a previously open browser does not retain paid access.
|
|
30
|
+
- AJ-08: Exhaust quota or make the hosted service unavailable. Observe safe fallback without elevating tool permissions or stopping otherwise valid coding work. The quota footer reflects authenticated server usage rather than guessed counters.
|
|
31
|
+
- AJ-09: Use `/jev off` as either a free or paid member, run a task, then restart the CLI. The preference remains disabled, the footer shows `[Disabled]`, no hosted or local decision request occurs on any node, and the coding task can finish. `/jev on` lifts the global disable and resumes the stored provider/mode for Agents that turn Jev on; it restores hosted active routing only when no explicit `decisions` override is stored.
|
|
32
|
+
- AJ-10: `/jev` toggles, `/jev status` only reports, and `/jev invalid` reports usage without changing or saving state. Autocompletion after `/jev ` offers only `on`, `off`, `status`.
|
|
33
|
+
- AJ-11: Signed out, `/jev on` can save the preference, but no run makes any decision request, hosted or local: a configured local Laya/Jev service also needs a signed-in account. No fabricated hosted quota usage is reported.
|
|
34
|
+
- AJ-12: With no `decisions` block and no global `jevEnabled` property, signed-in free and paid users get active hosted Jev on the bundled presets and on custom-graph Agents that tick **Jev decisions**; unticked Agents get none. Repeat with explicit `decisions` settings: off/none prevents requests; local Laya active uses its configured endpoint/model for eligible CodeGraph/memory routing on opted-in Agents of a signed-in account; local shadow evaluates without applying routing.
|
|
35
|
+
- AJ-13: Observe a hosted request from any graph node. Public transcript identifies it as `[Jev]`, with safe completion/fallback text, rather than `[Orchestrator]` or `[Software Engineer]`.
|
|
36
|
+
- AJ-14: Inject uncertain decisions, malformed responses, auth/quota errors, timeout or cancellation, and late responses. Preserve baseline retrieval, capability restrictions, abort behavior, and sanitized event fields.
|
|
37
|
+
- AJ-15: Read the root README before signing in or submitting a task. It must disclose the default hosted processing, task/instruction transmission, `/jev off`, both membership tiers, paid node controls and the separate embedded-runtime defaults. Live evidence must not imply measured prediction quality or savings.
|
|
38
|
+
- AJ-16: Run the default workspace-instructions CLI fixture with its disposable config and loopback coding model. Its explicit `jevEnabled: false` must bypass the run's hosted membership/decision path even if the OS keyring has an existing login. Both preferred ANDORRA.md and fallback agents.md tasks must succeed locally.
|
|
39
|
+
- AJ-17: Inject the hosted provider's auth and fetch dependencies. Supply task/instruction text well beyond the former 16,384/8,192-byte limits and a 6000-NUL task whose JSON escaping would previously exceed 32,768 bytes. Expect the hosted request to proceed with a question-scoped snapshot: task <= 4,096 UTF-8 bytes, instruction <= 1,536 bytes, beginning/end preserved for ordinary long prose, irrelevant capability metadata removed, and serialized body <= 32,768 bytes. Only a snapshot that still cannot fit after the tighter second projection may use `decision_input_too_large` fallback.
|
|
40
|
+
- AJ-18: Run a hosted-active graph Agent that invokes `spawn_subagent`, using injected coding and decision providers. The eligible parent can request decisions; the internal child has no routed retrieval capability and makes no hosted request. Repeat with both parent retrieval capabilities unavailable or their decision features disabled: no hosted request, ordinary execution remains available.
|
|
41
|
+
- AJ-19: Inject disabled CodeGraph with eligible memory. The hosted snapshot reports CodeGraph unavailable and omits its question; no graph retrieval or successful graph application is recorded. Enable CodeGraph but return empty context: the retrieval attempt must not produce `decision.applied` with `applied: true`. A nonempty context block retains successful application telemetry.
|
|
42
|
+
|
|
43
|
+
## Edge cases and potential bugs
|
|
44
|
+
|
|
45
|
+
Omitted means enabled, so existing saved graphs gain the default without a destructive migration. Explicit false must never be lost through truthiness checks. Agent definition replacement can intentionally replace the node's stored settings; verify the imported definition's value rather than retaining a stale checkbox. Disabling Jev does not disable the coding model. Membership gates are server checked, not granted by graph JSON.
|
|
46
|
+
|
|
47
|
+
## Validation evidence
|
|
48
|
+
|
|
49
|
+
Automated schema/editor checks: `npm run build` and `node --test dist/test/graphs.test.js dist/test/graph-ui-client-validation.test.js` passed (38 tests) on Windows. Added tests exercise omitted/true/false persistence, invalid types, non-Agent rejection, checked-default behavior, toggling and editor save blocking.
|
|
50
|
+
|
|
51
|
+
## Gaps and limitations
|
|
52
|
+
|
|
53
|
+
Live entitlement revocation, multiple concurrent real graph nodes, browser import/export and definition reset remain proposed QA. Automated editor tests execute the shipped JavaScript with a minimal DOM; they are not browser visual evidence. No production calibration or measured token-savings claim is made. Active Jev selects CodeGraph and automatic Graphiti retrieval only; it does not choose tool permissions, replace the coding LLM, or control graph edges. Local command lessons remain independent of optional Graphiti retrieval.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
Runtime policy: when no explicit `decisions` block is configured, the CLI selects hosted Jev active for an authenticated free or paid account with a 15-second upper deadline (normal run/node cancellation still applies). An explicit `andorra` selection still requires hosted authentication and honors its stored mode/deadline. Explicit local Laya/Jev selections use their stored endpoint, model, mode and authentication environment-variable reference without requiring hosted sign-in; Laya supports active CodeGraph/memory routing, while direct Jev supports shadow only. Global `/jev off` overrides every selection; `/jev on` resumes the stored configuration rather than replacing it with hosted defaults. Only paid membership permits per-agent overrides. A missing global enable setting means enabled, not that explicit off/none is ignored. Missing hosted authentication or a failed selected service preserves baseline routing. The hosted API key stays in AWS; local service credentials come from the engine's environment.
|
|
57
|
+
|
|
58
|
+
Live default CLI evidence: run `4f2b0455-6981-4188-ba50-7e7f137a2d32` succeeded with `JEV_DEFAULT_OK`, public `[Jev] Evaluating context needs` and `Decisions received in 1.3s`. JSONL recorded `decision.requested/completed/applied` in active mode, with CodeGraph and memory both not selected for this trivial task. Authenticated quota increased from 0 to 1 of 1000. This proves a real hosted request and applied response, not just a mock.
|
|
59
|
+
|
|
60
|
+
Live command/terminal evidence: `/jev off` showed `Jev [Disabled]` next to quota. Run `70c15b4b-5509-461c-89bc-51e5845d63e4` then succeeded with zero decision events and zero tool calls. `/jev on` restored `[Enabled]` and saved the enabled machine preference; the CLI exited normally. Free-tier access and failed-save rollback are covered by command/policy fixtures rather than a second real account.
|
|
61
|
+
|
|
62
|
+
The first broader CLI regression pass used the user's existing keyring login through old fixture configs and consumed additional hosted requests. Those fixtures now explicitly disable Jev; mocked decision tests cover active policy without contacting AWS. Daily quota snapshots may therefore include test requests as well as the live demonstration.
|
|
63
|
+
|
|
64
|
+
Final automated validation: typecheck/build passed. The focused decision/schema/editor/transcript/terminal suite passed 188 tests; the CLI/commands/config/agent/graph regression group passed 104 tests after isolating CLI fixtures from hosted Jev. These groups have overlapping tests and are not an aggregate unique-test count.
|
|
65
|
+
|
|
66
|
+
### PR #49 review follow-up (September 19, 2026)
|
|
67
|
+
|
|
68
|
+
Validated in `feat/default-active-jev` on Windows, Node.js 24.16.0 and npm 11.11.0. The installed CLI was not touched. All new provider checks use injected local fixtures; no live inference, quota consumption, deployment or credential changes were needed.
|
|
69
|
+
|
|
70
|
+
- `npm run check`, `npm run build` and `git diff --check`: passed.
|
|
71
|
+
- `node --test dist/test/decision-active.test.js dist/test/hosted-decision-policy.test.js`: 21 passed, zero failures. Hosted skip behavior, internal children, paid node overrides and disabled/empty/failed/successful CodeGraph retrieval are covered.
|
|
72
|
+
- The first consolidated run passed 169/175: five override fixtures needed an eligible mocked retrieval route after the new no-capability skip, and the empty-context fixture incorrectly retained structured source content. These fixture issues were corrected without relaxing the assertions.
|
|
73
|
+
- Final consolidated command: `node --test dist/test/decision-active.test.js dist/test/andorra-decision-provider.test.js dist/test/decision-http.test.js dist/test/decision-engine.test.js dist/test/hosted-decision-policy.test.js dist/test/transcript.test.js dist/test/default-workspace-instructions.test.js dist/test/agent-modifiers.test.js dist/test/deadline.test.js dist/test/graph-runner.test.js dist/test/graph-policy-validation.test.js dist/test/graph-preflight-attribution.test.js`: **175 passed, zero failures**. This includes the 21 tests above, UTF-8/request-size boundaries, fallback redaction, CLI guidance fixture, deadlines, cancellation and graph regression checks.
|
|
74
|
+
- AJ-15 was checked against README, hosted policy and account documentation. AJ-16 explicitly sets `jevEnabled: false`; AJ-17 through AJ-19 have injected-provider regression coverage. Broader manual/live cases above remain pending unless previously recorded.
|
|
75
|
+
- The full suite was not rerun. The 34 unrelated baseline failures and unchanged-main comparison in [decision engine QA](decision-engine-test-plan.md) remain historical evidence, not a claim that the full suite passes now.
|
|
76
|
+
|
|
77
|
+
### Memory application review follow-up
|
|
78
|
+
|
|
79
|
+
AJ-20: Make hosted Jev recommend memory retrieval, then return a nonempty memory result, an empty result, a provider error, and cancellation. Verify `decision.applied` for `needs_memory` is emitted after retrieval and before model execution, and is true only when the memory block was added to the model task. Empty/error results report false; cancellation must not report successful application or invoke the model. The regression uses the real MemoryManager with injected local Graphiti responses.
|
|
80
|
+
|
|
81
|
+
Validation on Windows: typecheck/build and `node --test dist/test/decision-active.test.js dist/test/agent-execution.test.js dist/test/hosted-decision-policy.test.js dist/test/agent-modifiers.test.js dist/test/deadline.test.js` passed all 91 tests. A broader run including memory-manager passed 53/60; the same seven memory-manager failures reproduced on installed main `d8019bb` (15/22 passed). These concern existing distillation/supersession and explicit memory-search evidence behavior, not this telemetry fix. No live Jev/Graphiti service was called and no quota was consumed.
|
|
82
|
+
|
|
83
|
+
### Packaged QA evidence
|
|
84
|
+
|
|
85
|
+
AJ-21: From the repository root run `npm pack --dry-run --json` and inspect the package file manifest. It must contain `tests/default-active-jev-test-plan.md`, the target of the README QA link. Validation: npm prepack build and postpack cleanup succeeded on Windows, and the generated manifest included this file. No package was published.
|