@evalops/maestro 0.10.50 → 0.10.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/dist/agent/agent-outcome.d.ts +54 -0
- package/dist/agent/agent-outcome.d.ts.map +1 -0
- package/dist/agent/agent-outcome.js +142 -0
- package/dist/agent/agent-outcome.js.map +1 -0
- package/dist/agent/agent-resume.d.ts.map +1 -1
- package/dist/agent/agent-resume.js +3 -3
- package/dist/agent/agent-resume.js.map +1 -1
- package/dist/agent/agent-run-summary.d.ts +37 -0
- package/dist/agent/agent-run-summary.d.ts.map +1 -0
- package/dist/agent/agent-run-summary.js +15 -0
- package/dist/agent/agent-run-summary.js.map +1 -0
- package/dist/agent/agent-work-board.d.ts +82 -0
- package/dist/agent/agent-work-board.d.ts.map +1 -0
- package/dist/agent/agent-work-board.js +312 -0
- package/dist/agent/agent-work-board.js.map +1 -0
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/agent.js.map +1 -1
- package/dist/agent/auto-compaction.d.ts +7 -2
- package/dist/agent/auto-compaction.d.ts.map +1 -1
- package/dist/agent/auto-compaction.js +23 -10
- package/dist/agent/auto-compaction.js.map +1 -1
- package/dist/agent/compaction.d.ts.map +1 -1
- package/dist/agent/compaction.js +1 -1
- package/dist/agent/compaction.js.map +1 -1
- package/dist/agent/context-handoff.d.ts.map +1 -1
- package/dist/agent/context-handoff.js +2 -1
- package/dist/agent/context-handoff.js.map +1 -1
- package/dist/agent/index.d.ts +8 -1
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/agent/index.js +8 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/agent/mission-artifacts.d.ts +62 -0
- package/dist/agent/mission-artifacts.d.ts.map +1 -0
- package/dist/agent/mission-artifacts.js +438 -0
- package/dist/agent/mission-artifacts.js.map +1 -0
- package/dist/agent/mission-manifest.d.ts +139 -3
- package/dist/agent/mission-manifest.d.ts.map +1 -1
- package/dist/agent/mission-manifest.js +549 -3
- package/dist/agent/mission-manifest.js.map +1 -1
- package/dist/agent/mission-store.d.ts +80 -0
- package/dist/agent/mission-store.d.ts.map +1 -0
- package/dist/agent/mission-store.js +603 -0
- package/dist/agent/mission-store.js.map +1 -0
- package/dist/agent/modes.d.ts +3 -3
- package/dist/agent/modes.d.ts.map +1 -1
- package/dist/agent/modes.js +66 -3
- package/dist/agent/modes.js.map +1 -1
- package/dist/agent/oracle-consultation-policy.d.ts +22 -0
- package/dist/agent/oracle-consultation-policy.d.ts.map +1 -0
- package/dist/agent/oracle-consultation-policy.js +72 -0
- package/dist/agent/oracle-consultation-policy.js.map +1 -0
- package/dist/agent/oracle-policy-experiment.d.ts +27 -0
- package/dist/agent/oracle-policy-experiment.d.ts.map +1 -0
- package/dist/agent/oracle-policy-experiment.js +59 -0
- package/dist/agent/oracle-policy-experiment.js.map +1 -0
- package/dist/agent/oracle-policy-rollout.d.ts +42 -0
- package/dist/agent/oracle-policy-rollout.d.ts.map +1 -0
- package/dist/agent/oracle-policy-rollout.js +80 -0
- package/dist/agent/oracle-policy-rollout.js.map +1 -0
- package/dist/agent/plugin-agent-api.d.ts +13 -0
- package/dist/agent/plugin-agent-api.d.ts.map +1 -0
- package/dist/agent/plugin-agent-api.js +11 -0
- package/dist/agent/plugin-agent-api.js.map +1 -0
- package/dist/agent/plugin-agent-loader.d.ts +17 -0
- package/dist/agent/plugin-agent-loader.d.ts.map +1 -0
- package/dist/agent/plugin-agent-loader.js +81 -0
- package/dist/agent/plugin-agent-loader.js.map +1 -0
- package/dist/agent/plugin-agent-registry.d.ts +62 -0
- package/dist/agent/plugin-agent-registry.d.ts.map +1 -0
- package/dist/agent/plugin-agent-registry.js +109 -0
- package/dist/agent/plugin-agent-registry.js.map +1 -0
- package/dist/agent/profile-loader.d.ts +7 -0
- package/dist/agent/profile-loader.d.ts.map +1 -0
- package/dist/agent/profile-loader.js +115 -0
- package/dist/agent/profile-loader.js.map +1 -0
- package/dist/agent/profiles.d.ts +30 -0
- package/dist/agent/profiles.d.ts.map +1 -0
- package/dist/agent/profiles.js +146 -0
- package/dist/agent/profiles.js.map +1 -0
- package/dist/agent/prompt-cache.d.ts +0 -4
- package/dist/agent/prompt-cache.d.ts.map +1 -1
- package/dist/agent/prompt-cache.js +1 -7
- package/dist/agent/prompt-cache.js.map +1 -1
- package/dist/agent/providers/codex-app-server.d.ts.map +1 -1
- package/dist/agent/providers/codex-app-server.js +1 -3
- package/dist/agent/providers/codex-app-server.js.map +1 -1
- package/dist/agent/providers/google-gemini-cli.js +204 -107
- package/dist/agent/providers/google.js +101 -41
- package/dist/agent/providers/scripted.d.ts.map +1 -1
- package/dist/agent/providers/scripted.js +1 -3
- package/dist/agent/providers/scripted.js.map +1 -1
- package/dist/agent/providers/validation.d.ts.map +1 -1
- package/dist/agent/providers/validation.js +1 -3
- package/dist/agent/providers/validation.js.map +1 -1
- package/dist/agent/providers/vertex.js +204 -107
- package/dist/agent/routing-receipt.d.ts +34 -0
- package/dist/agent/routing-receipt.d.ts.map +1 -0
- package/dist/agent/routing-receipt.js +55 -0
- package/dist/agent/routing-receipt.js.map +1 -0
- package/dist/agent/skill-artifact-metadata.d.ts +14 -0
- package/dist/agent/skill-artifact-metadata.d.ts.map +1 -0
- package/dist/agent/skill-artifact-metadata.js +49 -0
- package/dist/agent/skill-artifact-metadata.js.map +1 -0
- package/dist/agent/snapshot-store.d.ts +32 -0
- package/dist/agent/snapshot-store.d.ts.map +1 -0
- package/dist/agent/snapshot-store.js +195 -0
- package/dist/agent/snapshot-store.js.map +1 -0
- package/dist/agent/specialist-profiles.d.ts +36 -0
- package/dist/agent/specialist-profiles.d.ts.map +1 -0
- package/dist/agent/specialist-profiles.js +159 -0
- package/dist/agent/specialist-profiles.js.map +1 -0
- package/dist/agent/subagent-specs.d.ts +5 -2
- package/dist/agent/subagent-specs.d.ts.map +1 -1
- package/dist/agent/subagent-specs.js +83 -10
- package/dist/agent/subagent-specs.js.map +1 -1
- package/dist/agent/swarm/coverage-gate.d.ts +37 -0
- package/dist/agent/swarm/coverage-gate.d.ts.map +1 -0
- package/dist/agent/swarm/coverage-gate.js +48 -0
- package/dist/agent/swarm/coverage-gate.js.map +1 -0
- package/dist/agent/swarm/executor.d.ts +1 -0
- package/dist/agent/swarm/executor.d.ts.map +1 -1
- package/dist/agent/swarm/executor.js +151 -15
- package/dist/agent/swarm/executor.js.map +1 -1
- package/dist/agent/swarm/orchestrator-prompt.d.ts +25 -0
- package/dist/agent/swarm/orchestrator-prompt.d.ts.map +1 -0
- package/dist/agent/swarm/orchestrator-prompt.js +48 -0
- package/dist/agent/swarm/orchestrator-prompt.js.map +1 -0
- package/dist/agent/swarm/plan-parser.d.ts.map +1 -1
- package/dist/agent/swarm/plan-parser.js +27 -2
- package/dist/agent/swarm/plan-parser.js.map +1 -1
- package/dist/agent/swarm/types.d.ts +17 -0
- package/dist/agent/swarm/types.d.ts.map +1 -1
- package/dist/agent/swarm/types.js.map +1 -1
- package/dist/agent/swarm/validation-directive.d.ts +21 -0
- package/dist/agent/swarm/validation-directive.d.ts.map +1 -0
- package/dist/agent/swarm/validation-directive.js +25 -0
- package/dist/agent/swarm/validation-directive.js.map +1 -0
- package/dist/agent/token-counter.d.ts +40 -0
- package/dist/agent/token-counter.d.ts.map +1 -0
- package/dist/agent/token-counter.js +74 -0
- package/dist/agent/token-counter.js.map +1 -0
- package/dist/agent/transport/events.d.ts +1 -1
- package/dist/agent/transport/events.d.ts.map +1 -1
- package/dist/agent/transport/events.js +1 -1
- package/dist/agent/transport/events.js.map +1 -1
- package/dist/agent/transport/tool-execution-bridge.d.ts.map +1 -1
- package/dist/agent/transport/tool-execution-bridge.js +4 -1
- package/dist/agent/transport/tool-execution-bridge.js.map +1 -1
- package/dist/agent/types.d.ts +4 -2
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/agent/types.js.map +1 -1
- package/dist/api/enterprise-routes.d.ts.map +1 -1
- package/dist/api/enterprise-routes.js +87 -10
- package/dist/api/enterprise-routes.js.map +1 -1
- package/dist/api/org-settings-merge.d.ts +12 -0
- package/dist/api/org-settings-merge.d.ts.map +1 -0
- package/dist/api/org-settings-merge.js +38 -0
- package/dist/api/org-settings-merge.js.map +1 -0
- package/dist/api/user-settings-merge.d.ts +16 -0
- package/dist/api/user-settings-merge.d.ts.map +1 -0
- package/dist/api/user-settings-merge.js +37 -0
- package/dist/api/user-settings-merge.js.map +1 -0
- package/dist/app-server/daemon-lifecycle-api.d.ts.map +1 -1
- package/dist/app-server/daemon-lifecycle-api.js +1 -3
- package/dist/app-server/daemon-lifecycle-api.js.map +1 -1
- package/dist/app-server/external-agent-import-api.d.ts.map +1 -1
- package/dist/app-server/external-agent-import-api.js +1 -3
- package/dist/app-server/external-agent-import-api.js.map +1 -1
- package/dist/app-server/network-governance-api.d.ts.map +1 -1
- package/dist/app-server/network-governance-api.js +1 -3
- package/dist/app-server/network-governance-api.js.map +1 -1
- package/dist/app-server/plugin-bundle-api.d.ts.map +1 -1
- package/dist/app-server/plugin-bundle-api.js +2 -3
- package/dist/app-server/plugin-bundle-api.js.map +1 -1
- package/dist/app-server/policy-control-api.d.ts.map +1 -1
- package/dist/app-server/policy-control-api.js +1 -3
- package/dist/app-server/policy-control-api.js.map +1 -1
- package/dist/app-server/protocol-modes-api.d.ts.map +1 -1
- package/dist/app-server/protocol-modes-api.js +1 -3
- package/dist/app-server/protocol-modes-api.js.map +1 -1
- package/dist/app-server/session-api.d.ts.map +1 -1
- package/dist/app-server/session-api.js +15 -2
- package/dist/app-server/session-api.js.map +1 -1
- package/dist/audit/logger.d.ts +5 -5
- package/dist/cli/args.d.ts +4 -0
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +33 -1
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/commands/a2a.d.ts.map +1 -1
- package/dist/cli/commands/a2a.js +1 -3
- package/dist/cli/commands/a2a.js.map +1 -1
- package/dist/cli/commands/mission.d.ts +4 -0
- package/dist/cli/commands/mission.d.ts.map +1 -0
- package/dist/cli/commands/mission.js +196 -0
- package/dist/cli/commands/mission.js.map +1 -0
- package/dist/cli/commands/value.d.ts +10 -0
- package/dist/cli/commands/value.d.ts.map +1 -0
- package/dist/cli/commands/value.js +33 -0
- package/dist/cli/commands/value.js.map +1 -0
- package/dist/cli/direct-runtime-command.d.ts +1 -0
- package/dist/cli/direct-runtime-command.d.ts.map +1 -1
- package/dist/cli/direct-runtime-command.js +25 -3
- package/dist/cli/direct-runtime-command.js.map +1 -1
- package/dist/cli/headless-protocol.d.ts.map +1 -1
- package/dist/cli/headless-protocol.js +1 -3
- package/dist/cli/headless-protocol.js.map +1 -1
- package/dist/cli/headless.d.ts +3 -19
- package/dist/cli/headless.d.ts.map +1 -1
- package/dist/cli/headless.js +8 -619
- package/dist/cli/headless.js.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +13 -0
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/native-tui-launcher.d.ts +126 -0
- package/dist/cli/native-tui-launcher.d.ts.map +1 -0
- package/dist/cli/native-tui-launcher.js +425 -0
- package/dist/cli/native-tui-launcher.js.map +1 -0
- package/dist/cli/rpc-mode.d.ts +3 -27
- package/dist/cli/rpc-mode.d.ts.map +1 -1
- package/dist/cli/rpc-mode.js +8 -177
- package/dist/cli/rpc-mode.js.map +1 -1
- package/dist/cli/session.d.ts +11 -19
- package/dist/cli/session.d.ts.map +1 -1
- package/dist/cli/session.js +6 -64
- package/dist/cli/session.js.map +1 -1
- package/dist/cli/system-prompt.d.ts.map +1 -1
- package/dist/cli/system-prompt.js +38 -7
- package/dist/cli/system-prompt.js.map +1 -1
- package/dist/cli-command-runtime.d.ts.map +1 -1
- package/dist/cli-command-runtime.js +26 -24
- package/dist/cli-command-runtime.js.map +1 -1
- package/dist/cli-runtime.js +41729 -121859
- package/dist/codex/app-server-client.d.ts.map +1 -1
- package/dist/codex/app-server-client.js +1 -3
- package/dist/codex/app-server-client.js.map +1 -1
- package/dist/codex/compatibility.d.ts.map +1 -1
- package/dist/codex/compatibility.js +1 -3
- package/dist/codex/compatibility.js.map +1 -1
- package/dist/codex/subagent-dispatch-table.d.ts +8 -0
- package/dist/codex/subagent-dispatch-table.d.ts.map +1 -1
- package/dist/codex/subagent-dispatch-table.js +23 -0
- package/dist/codex/subagent-dispatch-table.js.map +1 -1
- package/dist/config/env-vars.d.ts +12 -0
- package/dist/config/env-vars.d.ts.map +1 -1
- package/dist/config/env-vars.js +12 -0
- package/dist/config/env-vars.js.map +1 -1
- package/dist/config/ui-state.d.ts +32 -0
- package/dist/config/ui-state.d.ts.map +1 -0
- package/dist/config/ui-state.js +88 -0
- package/dist/config/ui-state.js.map +1 -0
- package/dist/context/manifest.d.ts.map +1 -1
- package/dist/context/manifest.js +1 -3
- package/dist/context/manifest.js.map +1 -1
- package/dist/context/repo-map.d.ts.map +1 -1
- package/dist/context/repo-map.js +1 -7
- package/dist/context/repo-map.js.map +1 -1
- package/dist/context/token-optimizer.d.ts.map +1 -1
- package/dist/context/token-optimizer.js +1 -8
- package/dist/context/token-optimizer.js.map +1 -1
- package/dist/conversation/render-model.d.ts +0 -36
- package/dist/conversation/render-model.d.ts.map +1 -1
- package/dist/conversation/render-model.js +1 -3
- package/dist/conversation/render-model.js.map +1 -1
- package/dist/customer-value/ambient-learning.d.ts +75 -0
- package/dist/customer-value/ambient-learning.d.ts.map +1 -0
- package/dist/customer-value/ambient-learning.js +472 -0
- package/dist/customer-value/ambient-learning.js.map +1 -0
- package/dist/customer-value/internal-helpers.d.ts +13 -0
- package/dist/customer-value/internal-helpers.d.ts.map +1 -0
- package/dist/customer-value/internal-helpers.js +70 -0
- package/dist/customer-value/internal-helpers.js.map +1 -0
- package/dist/customer-value/report.d.ts +282 -0
- package/dist/customer-value/report.d.ts.map +1 -0
- package/dist/customer-value/report.js +2085 -0
- package/dist/customer-value/report.js.map +1 -0
- package/dist/db/schema.d.ts +7 -3
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/schema.js.map +1 -1
- package/dist/evalops/agent-bootstrap.d.ts.map +1 -1
- package/dist/evalops/agent-bootstrap.js +1 -3
- package/dist/evalops/agent-bootstrap.js.map +1 -1
- package/dist/evalops/agent-mcp-metadata.d.ts.map +1 -1
- package/dist/evalops/agent-mcp-metadata.js +1 -3
- package/dist/evalops/agent-mcp-metadata.js.map +1 -1
- package/dist/hooks/notification-hooks.d.ts +1 -1
- package/dist/hooks/notification-hooks.d.ts.map +1 -1
- package/dist/hooks/notification-hooks.js.map +1 -1
- package/dist/hooks/tui-surface.d.ts +35 -0
- package/dist/hooks/tui-surface.d.ts.map +1 -0
- package/dist/hooks/tui-surface.js +11 -0
- package/dist/hooks/tui-surface.js.map +1 -0
- package/dist/hooks/types.d.ts +2 -1
- package/dist/hooks/types.d.ts.map +1 -1
- package/dist/hooks/types.js.map +1 -1
- package/dist/hooks/typescript-loader.d.ts.map +1 -1
- package/dist/hooks/typescript-loader.js.map +1 -1
- package/dist/hooks/ui-context.d.ts.map +1 -1
- package/dist/hooks/ui-context.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/installers/maestro-review-workflow.d.ts +38 -0
- package/dist/installers/maestro-review-workflow.d.ts.map +1 -0
- package/dist/installers/maestro-review-workflow.js +163 -0
- package/dist/installers/maestro-review-workflow.js.map +1 -0
- package/dist/load-env.d.ts.map +1 -1
- package/dist/load-env.js +2 -1
- package/dist/load-env.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +201 -840
- package/dist/main.js.map +1 -1
- package/dist/mcp/config.d.ts.map +1 -1
- package/dist/mcp/config.js +1 -3
- package/dist/mcp/config.js.map +1 -1
- package/dist/mcp/elicitation.d.ts.map +1 -1
- package/dist/mcp/elicitation.js +1 -3
- package/dist/mcp/elicitation.js.map +1 -1
- package/dist/mcp/official-registry.d.ts.map +1 -1
- package/dist/mcp/official-registry.js +1 -3
- package/dist/mcp/official-registry.js.map +1 -1
- package/dist/mcp/workspace-trust.d.ts.map +1 -1
- package/dist/mcp/workspace-trust.js +1 -3
- package/dist/mcp/workspace-trust.js.map +1 -1
- package/dist/memory/service-client.d.ts.map +1 -1
- package/dist/memory/service-client.js +1 -3
- package/dist/memory/service-client.js.map +1 -1
- package/dist/models/config-loader.d.ts +5 -5
- package/dist/models/config-loader.d.ts.map +1 -1
- package/dist/models/config-loader.js +1 -3
- package/dist/models/config-loader.js.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/index.d.ts +46 -0
- package/dist/node_modules/@evalops/contracts/dist/index.d.ts.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/index.js +3 -0
- package/dist/node_modules/@evalops/contracts/dist/index.js.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.d.ts +284 -0
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.d.ts.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.js +41 -0
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.js.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/maestro-settings.d.ts +61 -0
- package/dist/node_modules/@evalops/contracts/dist/maestro-settings.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/maestro-settings.js +183 -0
- package/dist/node_modules/@evalops/contracts/dist/maestro-settings.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/schemas.d.ts +986 -0
- package/dist/node_modules/@evalops/contracts/dist/schemas.d.ts.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/schemas.js +49 -0
- package/dist/node_modules/@evalops/contracts/dist/schemas.js.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/token-estimation.d.ts +56 -0
- package/dist/node_modules/@evalops/contracts/dist/token-estimation.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/token-estimation.js +86 -0
- package/dist/node_modules/@evalops/contracts/dist/token-estimation.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/package.json +1 -1
- package/dist/oauth/connectors.d.ts.map +1 -1
- package/dist/oauth/connectors.js +1 -3
- package/dist/oauth/connectors.js.map +1 -1
- package/dist/oauth/evalops.d.ts.map +1 -1
- package/dist/oauth/evalops.js +1 -3
- package/dist/oauth/evalops.js.map +1 -1
- package/dist/packages/discovery.d.ts.map +1 -1
- package/dist/packages/discovery.js +1 -0
- package/dist/packages/discovery.js.map +1 -1
- package/dist/packages/inspection.d.ts.map +1 -1
- package/dist/packages/inspection.js +7 -1
- package/dist/packages/inspection.js.map +1 -1
- package/dist/packages/loader.d.ts.map +1 -1
- package/dist/packages/loader.js +8 -1
- package/dist/packages/loader.js.map +1 -1
- package/dist/packages/runtime.d.ts +1 -0
- package/dist/packages/runtime.d.ts.map +1 -1
- package/dist/packages/runtime.js +9 -1
- package/dist/packages/runtime.js.map +1 -1
- package/dist/packages/types.d.ts +6 -0
- package/dist/packages/types.d.ts.map +1 -1
- package/dist/packages/types.js.map +1 -1
- package/dist/platform/a2a-client.d.ts.map +1 -1
- package/dist/platform/a2a-client.js +1 -3
- package/dist/platform/a2a-client.js.map +1 -1
- package/dist/platform/a2a-cockpit.d.ts +1 -0
- package/dist/platform/a2a-cockpit.d.ts.map +1 -1
- package/dist/platform/a2a-cockpit.js +42 -11
- package/dist/platform/a2a-cockpit.js.map +1 -1
- package/dist/platform/a2a-completion-audit.d.ts +1 -1
- package/dist/platform/a2a-completion-audit.d.ts.map +1 -1
- package/dist/platform/a2a-completion-audit.js +7 -11
- package/dist/platform/a2a-completion-audit.js.map +1 -1
- package/dist/platform/a2a-maestro-peer.js +16 -0
- package/dist/platform/a2a-maestro-peer.js.map +1 -1
- package/dist/platform/a2a-peer-pairing.d.ts.map +1 -1
- package/dist/platform/a2a-peer-pairing.js +1 -3
- package/dist/platform/a2a-peer-pairing.js.map +1 -1
- package/dist/platform/a2a-peer-registry.d.ts.map +1 -1
- package/dist/platform/a2a-peer-registry.js +1 -3
- package/dist/platform/a2a-peer-registry.js.map +1 -1
- package/dist/platform/a2a-task-ledger.d.ts +20 -0
- package/dist/platform/a2a-task-ledger.d.ts.map +1 -1
- package/dist/platform/a2a-task-ledger.js +207 -11
- package/dist/platform/a2a-task-ledger.js.map +1 -1
- package/dist/platform/a2a-work-graph.d.ts.map +1 -1
- package/dist/platform/a2a-work-graph.js +1 -3
- package/dist/platform/a2a-work-graph.js.map +1 -1
- package/dist/platform/operating-layer.d.ts.map +1 -1
- package/dist/platform/operating-layer.js +14 -8
- package/dist/platform/operating-layer.js.map +1 -1
- package/dist/platform/tool-execution-client.d.ts.map +1 -1
- package/dist/platform/tool-execution-client.js +19 -2
- package/dist/platform/tool-execution-client.js.map +1 -1
- package/dist/providers/auth.d.ts.map +1 -1
- package/dist/providers/auth.js +1 -3
- package/dist/providers/auth.js.map +1 -1
- package/dist/runtime/agent-runtime.d.ts +22 -6
- package/dist/runtime/agent-runtime.d.ts.map +1 -1
- package/dist/runtime/agent-runtime.js +1 -1
- package/dist/runtime/agent-runtime.js.map +1 -1
- package/dist/runtime/env.d.ts +10 -1
- package/dist/runtime/env.d.ts.map +1 -1
- package/dist/runtime/env.js +64 -1
- package/dist/runtime/env.js.map +1 -1
- package/dist/runtime/prompt-queue.d.ts.map +1 -0
- package/dist/runtime/prompt-queue.js.map +1 -0
- package/dist/safety/policy.d.ts.map +1 -1
- package/dist/safety/policy.js +1 -4
- package/dist/safety/policy.js.map +1 -1
- package/dist/sandbox/docker-sandbox.d.ts.map +1 -1
- package/dist/sandbox/docker-sandbox.js +6 -1
- package/dist/sandbox/docker-sandbox.js.map +1 -1
- package/dist/server/handlers/chat-ws.d.ts +2 -1
- package/dist/server/handlers/chat-ws.d.ts.map +1 -1
- package/dist/server/handlers/chat-ws.js +150 -5
- package/dist/server/handlers/chat-ws.js.map +1 -1
- package/dist/server/handlers/chat.d.ts.map +1 -1
- package/dist/server/handlers/chat.js +78 -5
- package/dist/server/handlers/chat.js.map +1 -1
- package/dist/server/handlers/hosted-runner-drain.d.ts.map +1 -1
- package/dist/server/handlers/hosted-runner-drain.js +1 -3
- package/dist/server/handlers/hosted-runner-drain.js.map +1 -1
- package/dist/server/handlers/package.d.ts.map +1 -1
- package/dist/server/handlers/package.js +1 -0
- package/dist/server/handlers/package.js.map +1 -1
- package/dist/server/handlers/platform-a2a-push.d.ts.map +1 -1
- package/dist/server/handlers/platform-a2a-push.js +53 -2
- package/dist/server/handlers/platform-a2a-push.js.map +1 -1
- package/dist/server/handlers/queue.js +1 -1
- package/dist/server/handlers/queue.js.map +1 -1
- package/dist/server/handlers/runtime-app-server-ws.d.ts.map +1 -1
- package/dist/server/handlers/runtime-app-server-ws.js +1 -3
- package/dist/server/handlers/runtime-app-server-ws.js.map +1 -1
- package/dist/server/handlers/ui.js +1 -1
- package/dist/server/handlers/ui.js.map +1 -1
- package/dist/server/handlers/zen.js +1 -1
- package/dist/server/handlers/zen.js.map +1 -1
- package/dist/server/headless-runtime-service.d.ts +16 -0
- package/dist/server/headless-runtime-service.d.ts.map +1 -1
- package/dist/server/headless-runtime-service.js +232 -206
- package/dist/server/headless-runtime-service.js.map +1 -1
- package/dist/server/hosted-agent-runtime-progress.d.ts.map +1 -1
- package/dist/server/hosted-agent-runtime-progress.js +12 -3
- package/dist/server/hosted-agent-runtime-progress.js.map +1 -1
- package/dist/server/hosted-session-manager.d.ts +3 -0
- package/dist/server/hosted-session-manager.d.ts.map +1 -1
- package/dist/server/hosted-session-manager.js +26 -0
- package/dist/server/hosted-session-manager.js.map +1 -1
- package/dist/server/model-selection.d.ts +1 -0
- package/dist/server/model-selection.d.ts.map +1 -1
- package/dist/server/model-selection.js +4 -0
- package/dist/server/model-selection.js.map +1 -1
- package/dist/server/pending-request-payload.d.ts.map +1 -1
- package/dist/server/pending-request-payload.js +1 -3
- package/dist/server/pending-request-payload.js.map +1 -1
- package/dist/server/route-auth.d.ts.map +1 -1
- package/dist/server/route-auth.js +2 -0
- package/dist/server/route-auth.js.map +1 -1
- package/dist/server/session-serialization.d.ts.map +1 -1
- package/dist/server/session-serialization.js +4 -3
- package/dist/server/session-serialization.js.map +1 -1
- package/dist/server/session-timeline.d.ts.map +1 -1
- package/dist/server/session-timeline.js +1 -1
- package/dist/server/session-timeline.js.map +1 -1
- package/dist/server/sse-session.d.ts +2 -0
- package/dist/server/sse-session.d.ts.map +1 -1
- package/dist/server/sse-session.js +3 -0
- package/dist/server/sse-session.js.map +1 -1
- package/dist/server/stores/ui-store.d.ts +1 -1
- package/dist/server/stores/ui-store.d.ts.map +1 -1
- package/dist/server/stores/ui-store.js.map +1 -1
- package/dist/server/utils/token-estimator.d.ts +2 -2
- package/dist/server/utils/token-estimator.d.ts.map +1 -1
- package/dist/server/utils/token-estimator.js +2 -12
- package/dist/server/utils/token-estimator.js.map +1 -1
- package/dist/server/validation.d.ts +54 -0
- package/dist/server/validation.d.ts.map +1 -1
- package/dist/services/compliance/normalize.d.ts.map +1 -1
- package/dist/services/compliance/normalize.js +1 -3
- package/dist/services/compliance/normalize.js.map +1 -1
- package/dist/services/image-providers/cost.d.ts +70 -0
- package/dist/services/image-providers/cost.d.ts.map +1 -0
- package/dist/services/image-providers/cost.js +164 -0
- package/dist/services/image-providers/cost.js.map +1 -0
- package/dist/services/image-providers/flux.d.ts +40 -0
- package/dist/services/image-providers/flux.d.ts.map +1 -0
- package/dist/services/image-providers/flux.js +99 -0
- package/dist/services/image-providers/flux.js.map +1 -0
- package/dist/services/image-providers/index.d.ts +24 -0
- package/dist/services/image-providers/index.d.ts.map +1 -0
- package/dist/services/image-providers/index.js +27 -0
- package/dist/services/image-providers/index.js.map +1 -0
- package/dist/services/image-providers/masks.d.ts +51 -0
- package/dist/services/image-providers/masks.d.ts.map +1 -0
- package/dist/services/image-providers/masks.js +132 -0
- package/dist/services/image-providers/masks.js.map +1 -0
- package/dist/services/image-providers/openai.d.ts +35 -0
- package/dist/services/image-providers/openai.d.ts.map +1 -0
- package/dist/services/image-providers/openai.js +93 -0
- package/dist/services/image-providers/openai.js.map +1 -0
- package/dist/services/image-providers/types.d.ts +61 -0
- package/dist/services/image-providers/types.d.ts.map +1 -0
- package/dist/services/image-providers/types.js +17 -0
- package/dist/services/image-providers/types.js.map +1 -0
- package/dist/services/intelligent-router/index.d.ts +1 -0
- package/dist/services/intelligent-router/index.d.ts.map +1 -1
- package/dist/services/intelligent-router/index.js +1 -0
- package/dist/services/intelligent-router/index.js.map +1 -1
- package/dist/services/intelligent-router/normalize.d.ts +1 -0
- package/dist/services/intelligent-router/normalize.d.ts.map +1 -1
- package/dist/services/intelligent-router/normalize.js +18 -3
- package/dist/services/intelligent-router/normalize.js.map +1 -1
- package/dist/services/intelligent-router/outcome.d.ts +19 -0
- package/dist/services/intelligent-router/outcome.d.ts.map +1 -0
- package/dist/services/intelligent-router/outcome.js +51 -0
- package/dist/services/intelligent-router/outcome.js.map +1 -0
- package/dist/services/intelligent-router/recorder.d.ts +2 -0
- package/dist/services/intelligent-router/recorder.d.ts.map +1 -1
- package/dist/services/intelligent-router/recorder.js +72 -1
- package/dist/services/intelligent-router/recorder.js.map +1 -1
- package/dist/services/intelligent-router/service.d.ts +1 -0
- package/dist/services/intelligent-router/service.d.ts.map +1 -1
- package/dist/services/intelligent-router/service.js +60 -11
- package/dist/services/intelligent-router/service.js.map +1 -1
- package/dist/services/intelligent-router/types.d.ts +18 -0
- package/dist/services/intelligent-router/types.d.ts.map +1 -1
- package/dist/services/intelligent-router/types.js.map +1 -1
- package/dist/services/revenue-attribution/normalize.d.ts.map +1 -1
- package/dist/services/revenue-attribution/normalize.js +1 -3
- package/dist/services/revenue-attribution/normalize.js.map +1 -1
- package/dist/services/traces/normalize.d.ts.map +1 -1
- package/dist/services/traces/normalize.js +1 -3
- package/dist/services/traces/normalize.js.map +1 -1
- package/dist/services/workspace-config/middleware.d.ts +2 -0
- package/dist/services/workspace-config/middleware.d.ts.map +1 -1
- package/dist/services/workspace-config/middleware.js +25 -28
- package/dist/services/workspace-config/middleware.js.map +1 -1
- package/dist/services/workspace-config/normalize.d.ts.map +1 -1
- package/dist/services/workspace-config/normalize.js +1 -3
- package/dist/services/workspace-config/normalize.js.map +1 -1
- package/dist/session/agent-lineage-projection.d.ts +30 -0
- package/dist/session/agent-lineage-projection.d.ts.map +1 -0
- package/dist/session/agent-lineage-projection.js +109 -0
- package/dist/session/agent-lineage-projection.js.map +1 -0
- package/dist/session/manager.d.ts +3 -0
- package/dist/session/manager.d.ts.map +1 -1
- package/dist/session/manager.js +24 -0
- package/dist/session/manager.js.map +1 -1
- package/dist/session/session-graph-projection.d.ts +11 -0
- package/dist/session/session-graph-projection.d.ts.map +1 -1
- package/dist/session/session-graph-projection.js +28 -0
- package/dist/session/session-graph-projection.js.map +1 -1
- package/dist/session/types.d.ts +2 -0
- package/dist/session/types.d.ts.map +1 -1
- package/dist/session/types.js.map +1 -1
- package/dist/telemetry/agent-workforce-native-event.d.ts.map +1 -1
- package/dist/telemetry/agent-workforce-native-event.js +1 -3
- package/dist/telemetry/agent-workforce-native-event.js.map +1 -1
- package/dist/telemetry/maestro-event-bus.d.ts +1 -1
- package/dist/telemetry/maestro-event-bus.d.ts.map +1 -1
- package/dist/telemetry/maestro-event-bus.js +42 -81
- package/dist/telemetry/maestro-event-bus.js.map +1 -1
- package/dist/telemetry/maestro-platform-replay-fixture.d.ts.map +1 -1
- package/dist/telemetry/maestro-platform-replay-fixture.js +1 -3
- package/dist/telemetry/maestro-platform-replay-fixture.js.map +1 -1
- package/dist/telemetry/maestro-publisher-conformance-fixture.js.map +1 -1
- package/dist/telemetry/oracle-policy.d.ts +6 -0
- package/dist/telemetry/oracle-policy.d.ts.map +1 -0
- package/dist/telemetry/oracle-policy.js +17 -0
- package/dist/telemetry/oracle-policy.js.map +1 -0
- package/dist/telemetry/wide-events.d.ts +1 -1
- package/dist/telemetry/wide-events.d.ts.map +1 -1
- package/dist/telemetry/wide-events.js.map +1 -1
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +54 -43
- package/dist/telemetry.js.map +1 -1
- package/dist/theme/theme-loader.d.ts.map +1 -1
- package/dist/theme/theme-loader.js +1 -3
- package/dist/theme/theme-loader.js.map +1 -1
- package/dist/theme/theme.d.ts +2 -8
- package/dist/theme/theme.d.ts.map +1 -1
- package/dist/theme/theme.js +7 -0
- package/dist/theme/theme.js.map +1 -1
- package/dist/theme/tui-theme-helpers.d.ts +2 -1
- package/dist/theme/tui-theme-helpers.d.ts.map +1 -1
- package/dist/theme/tui-theme-helpers.js.map +1 -1
- package/dist/theme/tui-theme-types.d.ts +39 -0
- package/dist/theme/tui-theme-types.d.ts.map +1 -0
- package/dist/theme/tui-theme-types.js +10 -0
- package/dist/theme/tui-theme-types.js.map +1 -0
- package/dist/tools/apply-patch.d.ts.map +1 -1
- package/dist/tools/apply-patch.js +76 -8
- package/dist/tools/apply-patch.js.map +1 -1
- package/dist/tools/diff-preview.d.ts.map +1 -1
- package/dist/tools/diff-preview.js +10 -1
- package/dist/tools/diff-preview.js.map +1 -1
- package/dist/tools/edit.d.ts.map +1 -1
- package/dist/tools/edit.js +17 -0
- package/dist/tools/edit.js.map +1 -1
- package/dist/tools/index.d.ts +199 -160
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +4 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/lazy-registry.d.ts.map +1 -1
- package/dist/tools/lazy-registry.js +1 -0
- package/dist/tools/lazy-registry.js.map +1 -1
- package/dist/tools/oracle.d.ts +9 -0
- package/dist/tools/oracle.d.ts.map +1 -1
- package/dist/tools/oracle.js +26 -24
- package/dist/tools/oracle.js.map +1 -1
- package/dist/tools/painter.d.ts +73 -0
- package/dist/tools/painter.d.ts.map +1 -0
- package/dist/tools/painter.js +283 -0
- package/dist/tools/painter.js.map +1 -0
- package/dist/tools/typebox-tool.d.ts.map +1 -1
- package/dist/tools/typebox-tool.js +1 -1
- package/dist/tools/typebox-tool.js.map +1 -1
- package/dist/tools/write.d.ts.map +1 -1
- package/dist/tools/write.js +9 -0
- package/dist/tools/write.js.map +1 -1
- package/dist/undo/tracker.d.ts +5 -0
- package/dist/undo/tracker.d.ts.map +1 -1
- package/dist/undo/tracker.js +13 -0
- package/dist/undo/tracker.js.map +1 -1
- package/dist/utils/fs.d.ts +1 -1
- package/dist/utils/fs.d.ts.map +1 -1
- package/dist/utils/fs.js +29 -2
- package/dist/utils/fs.js.map +1 -1
- package/dist/utils/git-stash.d.ts.map +1 -1
- package/dist/utils/git-stash.js +15 -8
- package/dist/utils/git-stash.js.map +1 -1
- package/dist/utils/json.d.ts +11 -0
- package/dist/utils/json.d.ts.map +1 -1
- package/dist/utils/json.js +9 -0
- package/dist/utils/json.js.map +1 -1
- package/dist/utils/shell-env.d.ts.map +1 -1
- package/dist/utils/shell-env.js +2 -0
- package/dist/utils/shell-env.js.map +1 -1
- package/dist/utils/terminal-image.d.ts +52 -0
- package/dist/utils/terminal-image.d.ts.map +1 -0
- package/dist/utils/terminal-image.js +95 -0
- package/dist/utils/terminal-image.js.map +1 -0
- package/dist/utils/terminal-text.d.ts +11 -0
- package/dist/utils/terminal-text.d.ts.map +1 -0
- package/dist/utils/terminal-text.js +21 -0
- package/dist/utils/terminal-text.js.map +1 -0
- package/dist/utils/url-extractor-git.d.ts +26 -0
- package/dist/utils/url-extractor-git.d.ts.map +1 -0
- package/dist/utils/url-extractor-git.js +259 -0
- package/dist/utils/url-extractor-git.js.map +1 -0
- package/dist/utils/url-extractor.d.ts.map +1 -1
- package/dist/utils/url-extractor.js +23 -251
- package/dist/utils/url-extractor.js.map +1 -1
- package/dist/version.json +2 -2
- package/dist/web-server.d.ts.map +1 -1
- package/dist/web-server.js +24 -2
- package/dist/web-server.js.map +1 -1
- package/package.json +312 -306
- package/skills/incident-triage/SKILL.md +20 -1
- package/skills/install-code-review/SKILL.md +69 -0
- package/skills/security-review/SKILL.md +68 -0
- package/skills/security-review/reference/rubric.md +85 -0
- package/dist/cli/commands/agents.d.ts +0 -20
- package/dist/cli/commands/agents.d.ts.map +0 -1
- package/dist/cli/commands/agents.js +0 -280
- package/dist/cli/commands/agents.js.map +0 -1
- package/dist/cli/commands/anthropic.d.ts +0 -2
- package/dist/cli/commands/anthropic.d.ts.map +0 -1
- package/dist/cli/commands/anthropic.js +0 -6
- package/dist/cli/commands/anthropic.js.map +0 -1
- package/dist/cli/commands/cost.d.ts +0 -13
- package/dist/cli/commands/cost.d.ts.map +0 -1
- package/dist/cli/commands/cost.js +0 -143
- package/dist/cli/commands/cost.js.map +0 -1
- package/dist/cli/commands/exec-constants.d.ts +0 -3
- package/dist/cli/commands/exec-constants.d.ts.map +0 -1
- package/dist/cli/commands/exec-constants.js +0 -3
- package/dist/cli/commands/exec-constants.js.map +0 -1
- package/dist/cli/commands/exec.d.ts +0 -19
- package/dist/cli/commands/exec.d.ts.map +0 -1
- package/dist/cli/commands/exec.js +0 -207
- package/dist/cli/commands/exec.js.map +0 -1
- package/dist/cli/commands/hooks.d.ts +0 -2
- package/dist/cli/commands/hooks.d.ts.map +0 -1
- package/dist/cli/commands/hooks.js +0 -25
- package/dist/cli/commands/hooks.js.map +0 -1
- package/dist/cli/commands/hosted-runner.d.ts +0 -25
- package/dist/cli/commands/hosted-runner.d.ts.map +0 -1
- package/dist/cli/commands/hosted-runner.js +0 -278
- package/dist/cli/commands/hosted-runner.js.map +0 -1
- package/dist/cli/commands/memory.d.ts +0 -2
- package/dist/cli/commands/memory.d.ts.map +0 -1
- package/dist/cli/commands/memory.js +0 -208
- package/dist/cli/commands/memory.js.map +0 -1
- package/dist/cli/commands/models.d.ts +0 -3
- package/dist/cli/commands/models.d.ts.map +0 -1
- package/dist/cli/commands/models.js +0 -154
- package/dist/cli/commands/models.js.map +0 -1
- package/dist/cli/commands/modes.d.ts +0 -8
- package/dist/cli/commands/modes.d.ts.map +0 -1
- package/dist/cli/commands/modes.js +0 -151
- package/dist/cli/commands/modes.js.map +0 -1
- package/dist/cli/commands/openai.d.ts +0 -2
- package/dist/cli/commands/openai.d.ts.map +0 -1
- package/dist/cli/commands/openai.js +0 -116
- package/dist/cli/commands/openai.js.map +0 -1
- package/dist/cli/commands/session-transfer.d.ts +0 -5
- package/dist/cli/commands/session-transfer.d.ts.map +0 -1
- package/dist/cli/commands/session-transfer.js +0 -43
- package/dist/cli/commands/session-transfer.js.map +0 -1
- package/dist/cli/commands/sessions.d.ts +0 -8
- package/dist/cli/commands/sessions.d.ts.map +0 -1
- package/dist/cli/commands/sessions.js +0 -152
- package/dist/cli/commands/sessions.js.map +0 -1
- package/dist/cli/commands/skill.d.ts +0 -10
- package/dist/cli/commands/skill.d.ts.map +0 -1
- package/dist/cli/commands/skill.js +0 -303
- package/dist/cli/commands/skill.js.map +0 -1
- package/dist/cli/commands/stats.d.ts +0 -7
- package/dist/cli/commands/stats.d.ts.map +0 -1
- package/dist/cli/commands/stats.js +0 -167
- package/dist/cli/commands/stats.js.map +0 -1
- package/dist/cli/commands/status.d.ts +0 -2
- package/dist/cli/commands/status.d.ts.map +0 -1
- package/dist/cli/commands/status.js +0 -11
- package/dist/cli/commands/status.js.map +0 -1
- package/dist/cli/commands/update.d.ts +0 -12
- package/dist/cli/commands/update.d.ts.map +0 -1
- package/dist/cli/commands/update.js +0 -148
- package/dist/cli/commands/update.js.map +0 -1
- package/dist/cli-tui/about-view.d.ts +0 -48
- package/dist/cli-tui/about-view.d.ts.map +0 -1
- package/dist/cli-tui/about-view.js +0 -206
- package/dist/cli-tui/about-view.js.map +0 -1
- package/dist/cli-tui/agent-event-router.d.ts +0 -28
- package/dist/cli-tui/agent-event-router.d.ts.map +0 -1
- package/dist/cli-tui/agent-event-router.js +0 -126
- package/dist/cli-tui/agent-event-router.js.map +0 -1
- package/dist/cli-tui/approval/approval-controller.d.ts +0 -28
- package/dist/cli-tui/approval/approval-controller.d.ts.map +0 -1
- package/dist/cli-tui/approval/approval-controller.js +0 -99
- package/dist/cli-tui/approval/approval-controller.js.map +0 -1
- package/dist/cli-tui/approval/approval-modal.d.ts +0 -26
- package/dist/cli-tui/approval/approval-modal.d.ts.map +0 -1
- package/dist/cli-tui/approval/approval-modal.js +0 -143
- package/dist/cli-tui/approval/approval-modal.js.map +0 -1
- package/dist/cli-tui/assistant-message.d.ts +0 -41
- package/dist/cli-tui/assistant-message.d.ts.map +0 -1
- package/dist/cli-tui/assistant-message.js +0 -236
- package/dist/cli-tui/assistant-message.js.map +0 -1
- package/dist/cli-tui/auth-state.d.ts +0 -7
- package/dist/cli-tui/auth-state.d.ts.map +0 -1
- package/dist/cli-tui/auth-state.js +0 -46
- package/dist/cli-tui/auth-state.js.map +0 -1
- package/dist/cli-tui/background/background-tasks-controller.d.ts +0 -31
- package/dist/cli-tui/background/background-tasks-controller.d.ts.map +0 -1
- package/dist/cli-tui/background/background-tasks-controller.js +0 -84
- package/dist/cli-tui/background/background-tasks-controller.js.map +0 -1
- package/dist/cli-tui/base-view.d.ts +0 -111
- package/dist/cli-tui/base-view.d.ts.map +0 -1
- package/dist/cli-tui/base-view.js +0 -145
- package/dist/cli-tui/base-view.js.map +0 -1
- package/dist/cli-tui/bash/background-launcher.d.ts +0 -14
- package/dist/cli-tui/bash/background-launcher.d.ts.map +0 -1
- package/dist/cli-tui/bash/background-launcher.js +0 -50
- package/dist/cli-tui/bash/background-launcher.js.map +0 -1
- package/dist/cli-tui/bash/bash-autocomplete.d.ts +0 -40
- package/dist/cli-tui/bash/bash-autocomplete.d.ts.map +0 -1
- package/dist/cli-tui/bash/bash-autocomplete.js +0 -347
- package/dist/cli-tui/bash/bash-autocomplete.js.map +0 -1
- package/dist/cli-tui/bash/bash-history.d.ts +0 -21
- package/dist/cli-tui/bash/bash-history.d.ts.map +0 -1
- package/dist/cli-tui/bash/bash-history.js +0 -72
- package/dist/cli-tui/bash/bash-history.js.map +0 -1
- package/dist/cli-tui/bash/bash-syntax.d.ts +0 -5
- package/dist/cli-tui/bash/bash-syntax.d.ts.map +0 -1
- package/dist/cli-tui/bash/bash-syntax.js +0 -176
- package/dist/cli-tui/bash/bash-syntax.js.map +0 -1
- package/dist/cli-tui/bash/index.d.ts +0 -4
- package/dist/cli-tui/bash/index.d.ts.map +0 -1
- package/dist/cli-tui/bash/index.js +0 -4
- package/dist/cli-tui/bash/index.js.map +0 -1
- package/dist/cli-tui/bash-mode-view.d.ts +0 -86
- package/dist/cli-tui/bash-mode-view.d.ts.map +0 -1
- package/dist/cli-tui/bash-mode-view.js +0 -560
- package/dist/cli-tui/bash-mode-view.js.map +0 -1
- package/dist/cli-tui/bash-shell-block.d.ts +0 -50
- package/dist/cli-tui/bash-shell-block.d.ts.map +0 -1
- package/dist/cli-tui/bash-shell-block.js +0 -119
- package/dist/cli-tui/bash-shell-block.js.map +0 -1
- package/dist/cli-tui/changelog-view.d.ts +0 -13
- package/dist/cli-tui/changelog-view.d.ts.map +0 -1
- package/dist/cli-tui/changelog-view.js +0 -34
- package/dist/cli-tui/changelog-view.js.map +0 -1
- package/dist/cli-tui/clean-mode.d.ts +0 -13
- package/dist/cli-tui/clean-mode.d.ts.map +0 -1
- package/dist/cli-tui/clean-mode.js +0 -32
- package/dist/cli-tui/clean-mode.js.map +0 -1
- package/dist/cli-tui/client-tools/client-tool-controller.d.ts +0 -41
- package/dist/cli-tui/client-tools/client-tool-controller.d.ts.map +0 -1
- package/dist/cli-tui/client-tools/client-tool-controller.js +0 -862
- package/dist/cli-tui/client-tools/client-tool-controller.js.map +0 -1
- package/dist/cli-tui/client-tools/local-client-tool-service.d.ts +0 -33
- package/dist/cli-tui/client-tools/local-client-tool-service.d.ts.map +0 -1
- package/dist/cli-tui/client-tools/local-client-tool-service.js +0 -94
- package/dist/cli-tui/client-tools/local-client-tool-service.js.map +0 -1
- package/dist/cli-tui/commands/a2a-handlers.d.ts +0 -7
- package/dist/cli-tui/commands/a2a-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/a2a-handlers.js +0 -215
- package/dist/cli-tui/commands/a2a-handlers.js.map +0 -1
- package/dist/cli-tui/commands/access-command.d.ts +0 -3
- package/dist/cli-tui/commands/access-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/access-command.js +0 -89
- package/dist/cli-tui/commands/access-command.js.map +0 -1
- package/dist/cli-tui/commands/argument-parser.d.ts +0 -12
- package/dist/cli-tui/commands/argument-parser.d.ts.map +0 -1
- package/dist/cli-tui/commands/argument-parser.js +0 -135
- package/dist/cli-tui/commands/argument-parser.js.map +0 -1
- package/dist/cli-tui/commands/audit-command.d.ts +0 -5
- package/dist/cli-tui/commands/audit-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/audit-command.js +0 -35
- package/dist/cli-tui/commands/audit-command.js.map +0 -1
- package/dist/cli-tui/commands/background-handlers.d.ts +0 -14
- package/dist/cli-tui/commands/background-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/background-handlers.js +0 -115
- package/dist/cli-tui/commands/background-handlers.js.map +0 -1
- package/dist/cli-tui/commands/command-catalog.d.ts +0 -29
- package/dist/cli-tui/commands/command-catalog.d.ts.map +0 -1
- package/dist/cli-tui/commands/command-catalog.js +0 -666
- package/dist/cli-tui/commands/command-catalog.js.map +0 -1
- package/dist/cli-tui/commands/command-registry-adapter.d.ts +0 -12
- package/dist/cli-tui/commands/command-registry-adapter.d.ts.map +0 -1
- package/dist/cli-tui/commands/command-registry-adapter.js +0 -129
- package/dist/cli-tui/commands/command-registry-adapter.js.map +0 -1
- package/dist/cli-tui/commands/command-suite-catalog.d.ts +0 -14
- package/dist/cli-tui/commands/command-suite-catalog.d.ts.map +0 -1
- package/dist/cli-tui/commands/command-suite-catalog.js +0 -147
- package/dist/cli-tui/commands/command-suite-catalog.js.map +0 -1
- package/dist/cli-tui/commands/command-suite-handlers.d.ts +0 -111
- package/dist/cli-tui/commands/command-suite-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/command-suite-handlers.js +0 -110
- package/dist/cli-tui/commands/command-suite-handlers.js.map +0 -1
- package/dist/cli-tui/commands/composer-handlers.d.ts +0 -8
- package/dist/cli-tui/commands/composer-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/composer-handlers.js +0 -90
- package/dist/cli-tui/commands/composer-handlers.js.map +0 -1
- package/dist/cli-tui/commands/framework-handlers.d.ts +0 -18
- package/dist/cli-tui/commands/framework-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/framework-handlers.js +0 -57
- package/dist/cli-tui/commands/framework-handlers.js.map +0 -1
- package/dist/cli-tui/commands/guardian-handlers.d.ts +0 -20
- package/dist/cli-tui/commands/guardian-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/guardian-handlers.js +0 -48
- package/dist/cli-tui/commands/guardian-handlers.js.map +0 -1
- package/dist/cli-tui/commands/handlers/mode-handler.d.ts +0 -32
- package/dist/cli-tui/commands/handlers/mode-handler.d.ts.map +0 -1
- package/dist/cli-tui/commands/handlers/mode-handler.js +0 -153
- package/dist/cli-tui/commands/handlers/mode-handler.js.map +0 -1
- package/dist/cli-tui/commands/hotkeys-command.d.ts +0 -8
- package/dist/cli-tui/commands/hotkeys-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/hotkeys-command.js +0 -61
- package/dist/cli-tui/commands/hotkeys-command.js.map +0 -1
- package/dist/cli-tui/commands/limits-command.d.ts +0 -3
- package/dist/cli-tui/commands/limits-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/limits-command.js +0 -88
- package/dist/cli-tui/commands/limits-command.js.map +0 -1
- package/dist/cli-tui/commands/mcp-handlers.d.ts +0 -12
- package/dist/cli-tui/commands/mcp-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/mcp-handlers.js +0 -1306
- package/dist/cli-tui/commands/mcp-handlers.js.map +0 -1
- package/dist/cli-tui/commands/memory-handlers.d.ts +0 -28
- package/dist/cli-tui/commands/memory-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/memory-handlers.js +0 -414
- package/dist/cli-tui/commands/memory-handlers.js.map +0 -1
- package/dist/cli-tui/commands/otel-handlers.d.ts +0 -11
- package/dist/cli-tui/commands/otel-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/otel-handlers.js +0 -20
- package/dist/cli-tui/commands/otel-handlers.js.map +0 -1
- package/dist/cli-tui/commands/package-handlers.d.ts +0 -30
- package/dist/cli-tui/commands/package-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/package-handlers.js +0 -499
- package/dist/cli-tui/commands/package-handlers.js.map +0 -1
- package/dist/cli-tui/commands/pii-command.d.ts +0 -3
- package/dist/cli-tui/commands/pii-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/pii-command.js +0 -54
- package/dist/cli-tui/commands/pii-command.js.map +0 -1
- package/dist/cli-tui/commands/registry.d.ts +0 -3
- package/dist/cli-tui/commands/registry.d.ts.map +0 -1
- package/dist/cli-tui/commands/registry.js +0 -36
- package/dist/cli-tui/commands/registry.js.map +0 -1
- package/dist/cli-tui/commands/safety-handlers.d.ts +0 -36
- package/dist/cli-tui/commands/safety-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/safety-handlers.js +0 -62
- package/dist/cli-tui/commands/safety-handlers.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/auth-commands.d.ts +0 -26
- package/dist/cli-tui/commands/subcommands/auth-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/auth-commands.js +0 -79
- package/dist/cli-tui/commands/subcommands/auth-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/config-commands.d.ts +0 -23
- package/dist/cli-tui/commands/subcommands/config-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/config-commands.js +0 -61
- package/dist/cli-tui/commands/subcommands/config-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/diag-commands.d.ts +0 -46
- package/dist/cli-tui/commands/subcommands/diag-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/diag-commands.js +0 -163
- package/dist/cli-tui/commands/subcommands/diag-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/git-commands.d.ts +0 -18
- package/dist/cli-tui/commands/subcommands/git-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/git-commands.js +0 -50
- package/dist/cli-tui/commands/subcommands/git-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/index.d.ts +0 -18
- package/dist/cli-tui/commands/subcommands/index.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/index.js +0 -18
- package/dist/cli-tui/commands/subcommands/index.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/safety-commands.d.ts +0 -26
- package/dist/cli-tui/commands/subcommands/safety-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/safety-commands.js +0 -149
- package/dist/cli-tui/commands/subcommands/safety-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/session-commands.d.ts +0 -36
- package/dist/cli-tui/commands/subcommands/session-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/session-commands.js +0 -112
- package/dist/cli-tui/commands/subcommands/session-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/tools-commands.d.ts +0 -27
- package/dist/cli-tui/commands/subcommands/tools-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/tools-commands.js +0 -80
- package/dist/cli-tui/commands/subcommands/tools-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/ui-commands.d.ts +0 -30
- package/dist/cli-tui/commands/subcommands/ui-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/ui-commands.js +0 -74
- package/dist/cli-tui/commands/subcommands/ui-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/undo-commands.d.ts +0 -25
- package/dist/cli-tui/commands/subcommands/undo-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/undo-commands.js +0 -74
- package/dist/cli-tui/commands/subcommands/undo-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/usage-commands.d.ts +0 -19
- package/dist/cli-tui/commands/subcommands/usage-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/usage-commands.js +0 -63
- package/dist/cli-tui/commands/subcommands/usage-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/utils.d.ts +0 -127
- package/dist/cli-tui/commands/subcommands/utils.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/utils.js +0 -395
- package/dist/cli-tui/commands/subcommands/utils.js.map +0 -1
- package/dist/cli-tui/commands/types.d.ts +0 -105
- package/dist/cli-tui/commands/types.d.ts.map +0 -1
- package/dist/cli-tui/commands/types.js +0 -2
- package/dist/cli-tui/commands/types.js.map +0 -1
- package/dist/cli-tui/commands/undo-handlers.d.ts +0 -29
- package/dist/cli-tui/commands/undo-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/undo-handlers.js +0 -300
- package/dist/cli-tui/commands/undo-handlers.js.map +0 -1
- package/dist/cli-tui/commands/utility-handlers.d.ts +0 -55
- package/dist/cli-tui/commands/utility-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/utility-handlers.js +0 -137
- package/dist/cli-tui/commands/utility-handlers.js.map +0 -1
- package/dist/cli-tui/commands/workflow-handlers.d.ts +0 -22
- package/dist/cli-tui/commands/workflow-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/workflow-handlers.js +0 -227
- package/dist/cli-tui/commands/workflow-handlers.js.map +0 -1
- package/dist/cli-tui/compact-boundary-message.d.ts +0 -9
- package/dist/cli-tui/compact-boundary-message.d.ts.map +0 -1
- package/dist/cli-tui/compact-boundary-message.js +0 -18
- package/dist/cli-tui/compact-boundary-message.js.map +0 -1
- package/dist/cli-tui/compaction-recovery.d.ts +0 -6
- package/dist/cli-tui/compaction-recovery.d.ts.map +0 -1
- package/dist/cli-tui/compaction-recovery.js +0 -13
- package/dist/cli-tui/compaction-recovery.js.map +0 -1
- package/dist/cli-tui/config-view.d.ts +0 -30
- package/dist/cli-tui/config-view.d.ts.map +0 -1
- package/dist/cli-tui/config-view.js +0 -255
- package/dist/cli-tui/config-view.js.map +0 -1
- package/dist/cli-tui/context-view.d.ts +0 -20
- package/dist/cli-tui/context-view.d.ts.map +0 -1
- package/dist/cli-tui/context-view.js +0 -191
- package/dist/cli-tui/context-view.js.map +0 -1
- package/dist/cli-tui/custom-editor.d.ts +0 -25
- package/dist/cli-tui/custom-editor.d.ts.map +0 -1
- package/dist/cli-tui/custom-editor.js +0 -241
- package/dist/cli-tui/custom-editor.js.map +0 -1
- package/dist/cli-tui/editor-view.d.ts +0 -34
- package/dist/cli-tui/editor-view.d.ts.map +0 -1
- package/dist/cli-tui/editor-view.js +0 -102
- package/dist/cli-tui/editor-view.js.map +0 -1
- package/dist/cli-tui/feedback-view.d.ts +0 -35
- package/dist/cli-tui/feedback-view.d.ts.map +0 -1
- package/dist/cli-tui/feedback-view.js +0 -271
- package/dist/cli-tui/feedback-view.js.map +0 -1
- package/dist/cli-tui/footer.d.ts +0 -56
- package/dist/cli-tui/footer.d.ts.map +0 -1
- package/dist/cli-tui/footer.js +0 -228
- package/dist/cli-tui/footer.js.map +0 -1
- package/dist/cli-tui/git/commit-modal.d.ts +0 -14
- package/dist/cli-tui/git/commit-modal.d.ts.map +0 -1
- package/dist/cli-tui/git/commit-modal.js +0 -56
- package/dist/cli-tui/git/commit-modal.js.map +0 -1
- package/dist/cli-tui/git/git-preview-modal.d.ts +0 -40
- package/dist/cli-tui/git/git-preview-modal.d.ts.map +0 -1
- package/dist/cli-tui/git/git-preview-modal.js +0 -123
- package/dist/cli-tui/git/git-preview-modal.js.map +0 -1
- package/dist/cli-tui/git/git-view.d.ts +0 -65
- package/dist/cli-tui/git/git-view.d.ts.map +0 -1
- package/dist/cli-tui/git/git-view.js +0 -529
- package/dist/cli-tui/git/git-view.js.map +0 -1
- package/dist/cli-tui/history/history-config.d.ts +0 -7
- package/dist/cli-tui/history/history-config.d.ts.map +0 -1
- package/dist/cli-tui/history/history-config.js +0 -49
- package/dist/cli-tui/history/history-config.js.map +0 -1
- package/dist/cli-tui/history/prompt-history.d.ts +0 -33
- package/dist/cli-tui/history/prompt-history.d.ts.map +0 -1
- package/dist/cli-tui/history/prompt-history.js +0 -185
- package/dist/cli-tui/history/prompt-history.js.map +0 -1
- package/dist/cli-tui/history/tool-history.d.ts +0 -50
- package/dist/cli-tui/history/tool-history.d.ts.map +0 -1
- package/dist/cli-tui/history/tool-history.js +0 -253
- package/dist/cli-tui/history/tool-history.js.map +0 -1
- package/dist/cli-tui/hook-message.d.ts +0 -13
- package/dist/cli-tui/hook-message.d.ts.map +0 -1
- package/dist/cli-tui/hook-message.js +0 -56
- package/dist/cli-tui/hook-message.js.map +0 -1
- package/dist/cli-tui/hooks/hook-input-modal.d.ts +0 -22
- package/dist/cli-tui/hooks/hook-input-modal.d.ts.map +0 -1
- package/dist/cli-tui/hooks/hook-input-modal.js +0 -63
- package/dist/cli-tui/hooks/hook-input-modal.js.map +0 -1
- package/dist/cli-tui/hotkeys-view.d.ts +0 -13
- package/dist/cli-tui/hotkeys-view.d.ts.map +0 -1
- package/dist/cli-tui/hotkeys-view.js +0 -96
- package/dist/cli-tui/hotkeys-view.js.map +0 -1
- package/dist/cli-tui/import-view.d.ts +0 -28
- package/dist/cli-tui/import-view.d.ts.map +0 -1
- package/dist/cli-tui/import-view.js +0 -184
- package/dist/cli-tui/import-view.js.map +0 -1
- package/dist/cli-tui/info-view.d.ts +0 -18
- package/dist/cli-tui/info-view.d.ts.map +0 -1
- package/dist/cli-tui/info-view.js +0 -107
- package/dist/cli-tui/info-view.js.map +0 -1
- package/dist/cli-tui/instruction-panel.d.ts +0 -11
- package/dist/cli-tui/instruction-panel.d.ts.map +0 -1
- package/dist/cli-tui/instruction-panel.js +0 -86
- package/dist/cli-tui/instruction-panel.js.map +0 -1
- package/dist/cli-tui/interrupt-controller.d.ts +0 -78
- package/dist/cli-tui/interrupt-controller.d.ts.map +0 -1
- package/dist/cli-tui/interrupt-controller.js +0 -104
- package/dist/cli-tui/interrupt-controller.js.map +0 -1
- package/dist/cli-tui/keybindings-config.d.ts +0 -27
- package/dist/cli-tui/keybindings-config.d.ts.map +0 -1
- package/dist/cli-tui/keybindings-config.js +0 -372
- package/dist/cli-tui/keybindings-config.js.map +0 -1
- package/dist/cli-tui/keybindings-watcher.d.ts +0 -8
- package/dist/cli-tui/keybindings-watcher.d.ts.map +0 -1
- package/dist/cli-tui/keybindings-watcher.js +0 -56
- package/dist/cli-tui/keybindings-watcher.js.map +0 -1
- package/dist/cli-tui/keybindings.d.ts +0 -13
- package/dist/cli-tui/keybindings.d.ts.map +0 -1
- package/dist/cli-tui/keybindings.js +0 -223
- package/dist/cli-tui/keybindings.js.map +0 -1
- package/dist/cli-tui/loader/loader-stage-manager.d.ts +0 -43
- package/dist/cli-tui/loader/loader-stage-manager.d.ts.map +0 -1
- package/dist/cli-tui/loader/loader-stage-manager.js +0 -241
- package/dist/cli-tui/loader/loader-stage-manager.js.map +0 -1
- package/dist/cli-tui/loader/loader-stage-telemetry.d.ts +0 -14
- package/dist/cli-tui/loader/loader-stage-telemetry.d.ts.map +0 -1
- package/dist/cli-tui/loader/loader-stage-telemetry.js +0 -34
- package/dist/cli-tui/loader/loader-stage-telemetry.js.map +0 -1
- package/dist/cli-tui/loader/loader-view.d.ts +0 -41
- package/dist/cli-tui/loader/loader-view.d.ts.map +0 -1
- package/dist/cli-tui/loader/loader-view.js +0 -162
- package/dist/cli-tui/loader/loader-view.js.map +0 -1
- package/dist/cli-tui/lsp-view.d.ts +0 -21
- package/dist/cli-tui/lsp-view.d.ts.map +0 -1
- package/dist/cli-tui/lsp-view.js +0 -183
- package/dist/cli-tui/lsp-view.js.map +0 -1
- package/dist/cli-tui/mermaid-renderer.d.ts +0 -2
- package/dist/cli-tui/mermaid-renderer.d.ts.map +0 -1
- package/dist/cli-tui/mermaid-renderer.js +0 -391
- package/dist/cli-tui/mermaid-renderer.js.map +0 -1
- package/dist/cli-tui/message-view.d.ts +0 -27
- package/dist/cli-tui/message-view.d.ts.map +0 -1
- package/dist/cli-tui/message-view.js +0 -169
- package/dist/cli-tui/message-view.js.map +0 -1
- package/dist/cli-tui/modal-manager.d.ts +0 -77
- package/dist/cli-tui/modal-manager.d.ts.map +0 -1
- package/dist/cli-tui/modal-manager.js +0 -131
- package/dist/cli-tui/modal-manager.js.map +0 -1
- package/dist/cli-tui/notification-view.d.ts +0 -16
- package/dist/cli-tui/notification-view.d.ts.map +0 -1
- package/dist/cli-tui/notification-view.js +0 -53
- package/dist/cli-tui/notification-view.js.map +0 -1
- package/dist/cli-tui/oauth/index.d.ts +0 -2
- package/dist/cli-tui/oauth/index.d.ts.map +0 -1
- package/dist/cli-tui/oauth/index.js +0 -2
- package/dist/cli-tui/oauth/index.js.map +0 -1
- package/dist/cli-tui/oauth/oauth-flow-controller.d.ts +0 -65
- package/dist/cli-tui/oauth/oauth-flow-controller.d.ts.map +0 -1
- package/dist/cli-tui/oauth/oauth-flow-controller.js +0 -400
- package/dist/cli-tui/oauth/oauth-flow-controller.js.map +0 -1
- package/dist/cli-tui/ollama-view.d.ts +0 -38
- package/dist/cli-tui/ollama-view.d.ts.map +0 -1
- package/dist/cli-tui/ollama-view.js +0 -395
- package/dist/cli-tui/ollama-view.js.map +0 -1
- package/dist/cli-tui/paste/index.d.ts +0 -2
- package/dist/cli-tui/paste/index.d.ts.map +0 -1
- package/dist/cli-tui/paste/index.js +0 -2
- package/dist/cli-tui/paste/index.js.map +0 -1
- package/dist/cli-tui/paste/paste-handler.d.ts +0 -54
- package/dist/cli-tui/paste/paste-handler.d.ts.map +0 -1
- package/dist/cli-tui/paste/paste-handler.js +0 -128
- package/dist/cli-tui/paste/paste-handler.js.map +0 -1
- package/dist/cli-tui/plan/plan-controller.d.ts +0 -28
- package/dist/cli-tui/plan/plan-controller.d.ts.map +0 -1
- package/dist/cli-tui/plan/plan-controller.js +0 -66
- package/dist/cli-tui/plan/plan-controller.js.map +0 -1
- package/dist/cli-tui/plan-panel-modal.d.ts +0 -28
- package/dist/cli-tui/plan-panel-modal.d.ts.map +0 -1
- package/dist/cli-tui/plan-panel-modal.js +0 -193
- package/dist/cli-tui/plan-panel-modal.js.map +0 -1
- package/dist/cli-tui/plan-view.d.ts +0 -57
- package/dist/cli-tui/plan-view.d.ts.map +0 -1
- package/dist/cli-tui/plan-view.js +0 -404
- package/dist/cli-tui/plan-view.js.map +0 -1
- package/dist/cli-tui/prompt-queue.d.ts.map +0 -1
- package/dist/cli-tui/prompt-queue.js.map +0 -1
- package/dist/cli-tui/queue/follow-up-shortcut.d.ts +0 -6
- package/dist/cli-tui/queue/follow-up-shortcut.d.ts.map +0 -1
- package/dist/cli-tui/queue/follow-up-shortcut.js +0 -12
- package/dist/cli-tui/queue/follow-up-shortcut.js.map +0 -1
- package/dist/cli-tui/queue/index.d.ts +0 -3
- package/dist/cli-tui/queue/index.d.ts.map +0 -1
- package/dist/cli-tui/queue/index.js +0 -3
- package/dist/cli-tui/queue/index.js.map +0 -1
- package/dist/cli-tui/queue/queue-controller.d.ts +0 -109
- package/dist/cli-tui/queue/queue-controller.d.ts.map +0 -1
- package/dist/cli-tui/queue/queue-controller.js +0 -327
- package/dist/cli-tui/queue/queue-controller.js.map +0 -1
- package/dist/cli-tui/queue/queue-panel-controller.d.ts +0 -34
- package/dist/cli-tui/queue/queue-panel-controller.d.ts.map +0 -1
- package/dist/cli-tui/queue/queue-panel-controller.js +0 -163
- package/dist/cli-tui/queue/queue-panel-controller.js.map +0 -1
- package/dist/cli-tui/queue/queued-follow-up-edit-binding.d.ts +0 -7
- package/dist/cli-tui/queue/queued-follow-up-edit-binding.d.ts.map +0 -1
- package/dist/cli-tui/queue/queued-follow-up-edit-binding.js +0 -14
- package/dist/cli-tui/queue/queued-follow-up-edit-binding.js.map +0 -1
- package/dist/cli-tui/queue-panel-modal.d.ts +0 -26
- package/dist/cli-tui/queue-panel-modal.d.ts.map +0 -1
- package/dist/cli-tui/queue-panel-modal.js +0 -159
- package/dist/cli-tui/queue-panel-modal.js.map +0 -1
- package/dist/cli-tui/run/run-command-view.d.ts +0 -17
- package/dist/cli-tui/run/run-command-view.d.ts.map +0 -1
- package/dist/cli-tui/run/run-command-view.js +0 -62
- package/dist/cli-tui/run/run-command-view.js.map +0 -1
- package/dist/cli-tui/run/run-controller.d.ts +0 -24
- package/dist/cli-tui/run/run-controller.d.ts.map +0 -1
- package/dist/cli-tui/run/run-controller.js +0 -38
- package/dist/cli-tui/run/run-controller.js.map +0 -1
- package/dist/cli-tui/run/run-shell-command.d.ts +0 -13
- package/dist/cli-tui/run/run-shell-command.d.ts.map +0 -1
- package/dist/cli-tui/run/run-shell-command.js +0 -51
- package/dist/cli-tui/run/run-shell-command.js.map +0 -1
- package/dist/cli-tui/run/streaming-shell-command.d.ts +0 -19
- package/dist/cli-tui/run/streaming-shell-command.d.ts.map +0 -1
- package/dist/cli-tui/run/streaming-shell-command.js +0 -107
- package/dist/cli-tui/run/streaming-shell-command.js.map +0 -1
- package/dist/cli-tui/search/file-search-view.d.ts +0 -22
- package/dist/cli-tui/search/file-search-view.d.ts.map +0 -1
- package/dist/cli-tui/search/file-search-view.js +0 -68
- package/dist/cli-tui/search/file-search-view.js.map +0 -1
- package/dist/cli-tui/search/file-search.d.ts +0 -13
- package/dist/cli-tui/search/file-search.d.ts.map +0 -1
- package/dist/cli-tui/search/file-search.js +0 -52
- package/dist/cli-tui/search/file-search.js.map +0 -1
- package/dist/cli-tui/security-status.d.ts +0 -83
- package/dist/cli-tui/security-status.d.ts.map +0 -1
- package/dist/cli-tui/security-status.js +0 -214
- package/dist/cli-tui/security-status.js.map +0 -1
- package/dist/cli-tui/selectors/base-selector.d.ts +0 -27
- package/dist/cli-tui/selectors/base-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/base-selector.js +0 -47
- package/dist/cli-tui/selectors/base-selector.js.map +0 -1
- package/dist/cli-tui/selectors/branch-summary-modal.d.ts +0 -18
- package/dist/cli-tui/selectors/branch-summary-modal.d.ts.map +0 -1
- package/dist/cli-tui/selectors/branch-summary-modal.js +0 -24
- package/dist/cli-tui/selectors/branch-summary-modal.js.map +0 -1
- package/dist/cli-tui/selectors/model-selector-view.d.ts +0 -22
- package/dist/cli-tui/selectors/model-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/model-selector-view.js +0 -31
- package/dist/cli-tui/selectors/model-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/model-selector.d.ts +0 -30
- package/dist/cli-tui/selectors/model-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/model-selector.js +0 -218
- package/dist/cli-tui/selectors/model-selector.js.map +0 -1
- package/dist/cli-tui/selectors/oauth-selector-view.d.ts +0 -20
- package/dist/cli-tui/selectors/oauth-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/oauth-selector-view.js +0 -28
- package/dist/cli-tui/selectors/oauth-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/oauth-selector.d.ts +0 -19
- package/dist/cli-tui/selectors/oauth-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/oauth-selector.js +0 -120
- package/dist/cli-tui/selectors/oauth-selector.js.map +0 -1
- package/dist/cli-tui/selectors/queue-mode-selector-view.d.ts +0 -19
- package/dist/cli-tui/selectors/queue-mode-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/queue-mode-selector-view.js +0 -29
- package/dist/cli-tui/selectors/queue-mode-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/queue-mode-selector.d.ts +0 -5
- package/dist/cli-tui/selectors/queue-mode-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/queue-mode-selector.js +0 -34
- package/dist/cli-tui/selectors/queue-mode-selector.js.map +0 -1
- package/dist/cli-tui/selectors/report-selector-view.d.ts +0 -17
- package/dist/cli-tui/selectors/report-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/report-selector-view.js +0 -29
- package/dist/cli-tui/selectors/report-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/report-selector.d.ts +0 -7
- package/dist/cli-tui/selectors/report-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/report-selector.js +0 -31
- package/dist/cli-tui/selectors/report-selector.js.map +0 -1
- package/dist/cli-tui/selectors/theme-selector-view.d.ts +0 -19
- package/dist/cli-tui/selectors/theme-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/theme-selector-view.js +0 -41
- package/dist/cli-tui/selectors/theme-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/theme-selector.d.ts +0 -14
- package/dist/cli-tui/selectors/theme-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/theme-selector.js +0 -46
- package/dist/cli-tui/selectors/theme-selector.js.map +0 -1
- package/dist/cli-tui/selectors/thinking-selector-view.d.ts +0 -20
- package/dist/cli-tui/selectors/thinking-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/thinking-selector-view.js +0 -31
- package/dist/cli-tui/selectors/thinking-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/thinking-selector.d.ts +0 -9
- package/dist/cli-tui/selectors/thinking-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/thinking-selector.js +0 -47
- package/dist/cli-tui/selectors/thinking-selector.js.map +0 -1
- package/dist/cli-tui/selectors/tree-selector-view.d.ts +0 -32
- package/dist/cli-tui/selectors/tree-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/tree-selector-view.js +0 -407
- package/dist/cli-tui/selectors/tree-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/tree-selector.d.ts +0 -27
- package/dist/cli-tui/selectors/tree-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/tree-selector.js +0 -194
- package/dist/cli-tui/selectors/tree-selector.js.map +0 -1
- package/dist/cli-tui/selectors/user-message-selector-view.d.ts +0 -25
- package/dist/cli-tui/selectors/user-message-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/user-message-selector-view.js +0 -101
- package/dist/cli-tui/selectors/user-message-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/user-message-selector.d.ts +0 -30
- package/dist/cli-tui/selectors/user-message-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/user-message-selector.js +0 -114
- package/dist/cli-tui/selectors/user-message-selector.js.map +0 -1
- package/dist/cli-tui/session/branch-controller.d.ts +0 -65
- package/dist/cli-tui/session/branch-controller.d.ts.map +0 -1
- package/dist/cli-tui/session/branch-controller.js +0 -125
- package/dist/cli-tui/session/branch-controller.js.map +0 -1
- package/dist/cli-tui/session/conversation-compactor.d.ts +0 -64
- package/dist/cli-tui/session/conversation-compactor.d.ts.map +0 -1
- package/dist/cli-tui/session/conversation-compactor.js +0 -77
- package/dist/cli-tui/session/conversation-compactor.js.map +0 -1
- package/dist/cli-tui/session/session-context.d.ts +0 -59
- package/dist/cli-tui/session/session-context.d.ts.map +0 -1
- package/dist/cli-tui/session/session-context.js +0 -79
- package/dist/cli-tui/session/session-context.js.map +0 -1
- package/dist/cli-tui/session/session-data-provider.d.ts +0 -23
- package/dist/cli-tui/session/session-data-provider.d.ts.map +0 -1
- package/dist/cli-tui/session/session-data-provider.js +0 -22
- package/dist/cli-tui/session/session-data-provider.js.map +0 -1
- package/dist/cli-tui/session/session-list.d.ts +0 -18
- package/dist/cli-tui/session/session-list.d.ts.map +0 -1
- package/dist/cli-tui/session/session-list.js +0 -103
- package/dist/cli-tui/session/session-list.js.map +0 -1
- package/dist/cli-tui/session/session-selector.d.ts +0 -12
- package/dist/cli-tui/session/session-selector.d.ts.map +0 -1
- package/dist/cli-tui/session/session-selector.js +0 -37
- package/dist/cli-tui/session/session-selector.js.map +0 -1
- package/dist/cli-tui/session/session-summary-controller.d.ts +0 -24
- package/dist/cli-tui/session/session-summary-controller.d.ts.map +0 -1
- package/dist/cli-tui/session/session-summary-controller.js +0 -96
- package/dist/cli-tui/session/session-summary-controller.js.map +0 -1
- package/dist/cli-tui/session/session-switcher-view.d.ts +0 -20
- package/dist/cli-tui/session/session-switcher-view.d.ts.map +0 -1
- package/dist/cli-tui/session/session-switcher-view.js +0 -43
- package/dist/cli-tui/session/session-switcher-view.js.map +0 -1
- package/dist/cli-tui/session/session-switcher.d.ts +0 -38
- package/dist/cli-tui/session/session-switcher.d.ts.map +0 -1
- package/dist/cli-tui/session/session-switcher.js +0 -204
- package/dist/cli-tui/session/session-switcher.js.map +0 -1
- package/dist/cli-tui/session/session-view.d.ts +0 -46
- package/dist/cli-tui/session/session-view.d.ts.map +0 -1
- package/dist/cli-tui/session/session-view.js +0 -311
- package/dist/cli-tui/session/session-view.js.map +0 -1
- package/dist/cli-tui/slash/index.d.ts +0 -2
- package/dist/cli-tui/slash/index.d.ts.map +0 -1
- package/dist/cli-tui/slash/index.js +0 -2
- package/dist/cli-tui/slash/index.js.map +0 -1
- package/dist/cli-tui/slash/slash-command-matcher.d.ts +0 -55
- package/dist/cli-tui/slash/slash-command-matcher.d.ts.map +0 -1
- package/dist/cli-tui/slash/slash-command-matcher.js +0 -113
- package/dist/cli-tui/slash/slash-command-matcher.js.map +0 -1
- package/dist/cli-tui/smart-autocomplete-provider.d.ts +0 -5
- package/dist/cli-tui/smart-autocomplete-provider.d.ts.map +0 -1
- package/dist/cli-tui/smart-autocomplete-provider.js +0 -44
- package/dist/cli-tui/smart-autocomplete-provider.js.map +0 -1
- package/dist/cli-tui/startup-announcements.d.ts +0 -15
- package/dist/cli-tui/startup-announcements.d.ts.map +0 -1
- package/dist/cli-tui/startup-announcements.js +0 -75
- package/dist/cli-tui/startup-announcements.js.map +0 -1
- package/dist/cli-tui/status/cost-view.d.ts +0 -27
- package/dist/cli-tui/status/cost-view.d.ts.map +0 -1
- package/dist/cli-tui/status/cost-view.js +0 -212
- package/dist/cli-tui/status/cost-view.js.map +0 -1
- package/dist/cli-tui/status/diagnostics-templates.d.ts +0 -34
- package/dist/cli-tui/status/diagnostics-templates.d.ts.map +0 -1
- package/dist/cli-tui/status/diagnostics-templates.js +0 -167
- package/dist/cli-tui/status/diagnostics-templates.js.map +0 -1
- package/dist/cli-tui/status/diagnostics-view.d.ts +0 -48
- package/dist/cli-tui/status/diagnostics-view.d.ts.map +0 -1
- package/dist/cli-tui/status/diagnostics-view.js +0 -249
- package/dist/cli-tui/status/diagnostics-view.js.map +0 -1
- package/dist/cli-tui/status/diagnostics.d.ts +0 -39
- package/dist/cli-tui/status/diagnostics.d.ts.map +0 -1
- package/dist/cli-tui/status/diagnostics.js +0 -286
- package/dist/cli-tui/status/diagnostics.js.map +0 -1
- package/dist/cli-tui/status/health-snapshot.d.ts +0 -17
- package/dist/cli-tui/status/health-snapshot.d.ts.map +0 -1
- package/dist/cli-tui/status/health-snapshot.js +0 -28
- package/dist/cli-tui/status/health-snapshot.js.map +0 -1
- package/dist/cli-tui/status/quota-view.d.ts +0 -37
- package/dist/cli-tui/status/quota-view.d.ts.map +0 -1
- package/dist/cli-tui/status/quota-view.js +0 -309
- package/dist/cli-tui/status/quota-view.js.map +0 -1
- package/dist/cli-tui/status/telemetry-view.d.ts +0 -23
- package/dist/cli-tui/status/telemetry-view.d.ts.map +0 -1
- package/dist/cli-tui/status/telemetry-view.js +0 -77
- package/dist/cli-tui/status/telemetry-view.js.map +0 -1
- package/dist/cli-tui/status/training-view.d.ts +0 -23
- package/dist/cli-tui/status/training-view.d.ts.map +0 -1
- package/dist/cli-tui/status/training-view.js +0 -71
- package/dist/cli-tui/status/training-view.js.map +0 -1
- package/dist/cli-tui/streaming-view.d.ts +0 -43
- package/dist/cli-tui/streaming-view.d.ts.map +0 -1
- package/dist/cli-tui/streaming-view.js +0 -176
- package/dist/cli-tui/streaming-view.js.map +0 -1
- package/dist/cli-tui/terminal/index.d.ts +0 -2
- package/dist/cli-tui/terminal/index.d.ts.map +0 -1
- package/dist/cli-tui/terminal/index.js +0 -2
- package/dist/cli-tui/terminal/index.js.map +0 -1
- package/dist/cli-tui/terminal/terminal-utils.d.ts +0 -44
- package/dist/cli-tui/terminal/terminal-utils.d.ts.map +0 -1
- package/dist/cli-tui/terminal/terminal-utils.js +0 -145
- package/dist/cli-tui/terminal/terminal-utils.js.map +0 -1
- package/dist/cli-tui/tips/tip-scheduler.d.ts +0 -19
- package/dist/cli-tui/tips/tip-scheduler.d.ts.map +0 -1
- package/dist/cli-tui/tips/tip-scheduler.js +0 -135
- package/dist/cli-tui/tips/tip-scheduler.js.map +0 -1
- package/dist/cli-tui/tool-execution.d.ts +0 -76
- package/dist/cli-tui/tool-execution.d.ts.map +0 -1
- package/dist/cli-tui/tool-execution.js +0 -217
- package/dist/cli-tui/tool-execution.js.map +0 -1
- package/dist/cli-tui/tool-output-view.d.ts +0 -22
- package/dist/cli-tui/tool-output-view.d.ts.map +0 -1
- package/dist/cli-tui/tool-output-view.js +0 -71
- package/dist/cli-tui/tool-output-view.js.map +0 -1
- package/dist/cli-tui/tool-renderers/index.d.ts +0 -4
- package/dist/cli-tui/tool-renderers/index.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/index.js +0 -19
- package/dist/cli-tui/tool-renderers/index.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-bash.d.ts +0 -6
- package/dist/cli-tui/tool-renderers/render-bash.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-bash.js +0 -90
- package/dist/cli-tui/tool-renderers/render-bash.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-batch.d.ts +0 -12
- package/dist/cli-tui/tool-renderers/render-batch.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-batch.js +0 -133
- package/dist/cli-tui/tool-renderers/render-batch.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-edit.d.ts +0 -6
- package/dist/cli-tui/tool-renderers/render-edit.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-edit.js +0 -125
- package/dist/cli-tui/tool-renderers/render-edit.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-generic.d.ts +0 -6
- package/dist/cli-tui/tool-renderers/render-generic.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-generic.js +0 -66
- package/dist/cli-tui/tool-renderers/render-generic.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-read.d.ts +0 -9
- package/dist/cli-tui/tool-renderers/render-read.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-read.js +0 -108
- package/dist/cli-tui/tool-renderers/render-read.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-style.d.ts +0 -21
- package/dist/cli-tui/tool-renderers/render-style.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-style.js +0 -51
- package/dist/cli-tui/tool-renderers/render-style.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-write.d.ts +0 -5
- package/dist/cli-tui/tool-renderers/render-write.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-write.js +0 -60
- package/dist/cli-tui/tool-renderers/render-write.js.map +0 -1
- package/dist/cli-tui/tool-renderers/types.d.ts +0 -20
- package/dist/cli-tui/tool-renderers/types.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/types.js +0 -2
- package/dist/cli-tui/tool-renderers/types.js.map +0 -1
- package/dist/cli-tui/tool-retry/tool-retry-controller.d.ts +0 -29
- package/dist/cli-tui/tool-retry/tool-retry-controller.d.ts.map +0 -1
- package/dist/cli-tui/tool-retry/tool-retry-controller.js +0 -110
- package/dist/cli-tui/tool-retry/tool-retry-controller.js.map +0 -1
- package/dist/cli-tui/tool-retry/tool-retry-modal.d.ts +0 -27
- package/dist/cli-tui/tool-retry/tool-retry-modal.d.ts.map +0 -1
- package/dist/cli-tui/tool-retry/tool-retry-modal.js +0 -118
- package/dist/cli-tui/tool-retry/tool-retry-modal.js.map +0 -1
- package/dist/cli-tui/tool-status-view.d.ts +0 -32
- package/dist/cli-tui/tool-status-view.d.ts.map +0 -1
- package/dist/cli-tui/tool-status-view.js +0 -86
- package/dist/cli-tui/tool-status-view.js.map +0 -1
- package/dist/cli-tui/tui-renderer/agent-event-bridge.d.ts +0 -59
- package/dist/cli-tui/tui-renderer/agent-event-bridge.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/agent-event-bridge.js +0 -129
- package/dist/cli-tui/tui-renderer/agent-event-bridge.js.map +0 -1
- package/dist/cli-tui/tui-renderer/approval-setup.d.ts +0 -13
- package/dist/cli-tui/tui-renderer/approval-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/approval-setup.js +0 -5
- package/dist/cli-tui/tui-renderer/approval-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/attachment-controller.d.ts +0 -54
- package/dist/cli-tui/tui-renderer/attachment-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/attachment-controller.js +0 -160
- package/dist/cli-tui/tui-renderer/attachment-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/background-tasks-setup.d.ts +0 -9
- package/dist/cli-tui/tui-renderer/background-tasks-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/background-tasks-setup.js +0 -7
- package/dist/cli-tui/tui-renderer/background-tasks-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/branch-controller.d.ts +0 -41
- package/dist/cli-tui/tui-renderer/branch-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/branch-controller.js +0 -102
- package/dist/cli-tui/tui-renderer/branch-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/clear-controller.d.ts +0 -75
- package/dist/cli-tui/tui-renderer/clear-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/clear-controller.js +0 -75
- package/dist/cli-tui/tui-renderer/clear-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/client-tools-setup.d.ts +0 -14
- package/dist/cli-tui/tui-renderer/client-tools-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/client-tools-setup.js +0 -5
- package/dist/cli-tui/tui-renderer/client-tools-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/command-registry-options.d.ts +0 -111
- package/dist/cli-tui/tui-renderer/command-registry-options.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/command-registry-options.js +0 -163
- package/dist/cli-tui/tui-renderer/command-registry-options.js.map +0 -1
- package/dist/cli-tui/tui-renderer/command-registry.d.ts +0 -16
- package/dist/cli-tui/tui-renderer/command-registry.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/command-registry.js +0 -23
- package/dist/cli-tui/tui-renderer/command-registry.js.map +0 -1
- package/dist/cli-tui/tui-renderer/command-suite-wiring.d.ts +0 -29
- package/dist/cli-tui/tui-renderer/command-suite-wiring.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/command-suite-wiring.js +0 -108
- package/dist/cli-tui/tui-renderer/command-suite-wiring.js.map +0 -1
- package/dist/cli-tui/tui-renderer/compaction-controller.d.ts +0 -100
- package/dist/cli-tui/tui-renderer/compaction-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/compaction-controller.js +0 -160
- package/dist/cli-tui/tui-renderer/compaction-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/custom-commands-controller.d.ts +0 -42
- package/dist/cli-tui/tui-renderer/custom-commands-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/custom-commands-controller.js +0 -106
- package/dist/cli-tui/tui-renderer/custom-commands-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/delegating-command-handlers.d.ts +0 -37
- package/dist/cli-tui/tui-renderer/delegating-command-handlers.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/delegating-command-handlers.js +0 -139
- package/dist/cli-tui/tui-renderer/delegating-command-handlers.js.map +0 -1
- package/dist/cli-tui/tui-renderer/editor-bindings.d.ts +0 -21
- package/dist/cli-tui/tui-renderer/editor-bindings.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/editor-bindings.js +0 -76
- package/dist/cli-tui/tui-renderer/editor-bindings.js.map +0 -1
- package/dist/cli-tui/tui-renderer/footer-hints-controller.d.ts +0 -90
- package/dist/cli-tui/tui-renderer/footer-hints-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/footer-hints-controller.js +0 -152
- package/dist/cli-tui/tui-renderer/footer-hints-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/history-controller.d.ts +0 -35
- package/dist/cli-tui/tui-renderer/history-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/history-controller.js +0 -153
- package/dist/cli-tui/tui-renderer/history-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/hook-ui-controller.d.ts +0 -83
- package/dist/cli-tui/tui-renderer/hook-ui-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/hook-ui-controller.js +0 -309
- package/dist/cli-tui/tui-renderer/hook-ui-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/initial-preferences.d.ts +0 -19
- package/dist/cli-tui/tui-renderer/initial-preferences.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/initial-preferences.js +0 -54
- package/dist/cli-tui/tui-renderer/initial-preferences.js.map +0 -1
- package/dist/cli-tui/tui-renderer/input-controller.d.ts +0 -56
- package/dist/cli-tui/tui-renderer/input-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/input-controller.js +0 -104
- package/dist/cli-tui/tui-renderer/input-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/interrupt-setup.d.ts +0 -19
- package/dist/cli-tui/tui-renderer/interrupt-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/interrupt-setup.js +0 -18
- package/dist/cli-tui/tui-renderer/interrupt-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/loader-setup.d.ts +0 -14
- package/dist/cli-tui/tui-renderer/loader-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/loader-setup.js +0 -13
- package/dist/cli-tui/tui-renderer/loader-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/mcp-events-setup.d.ts +0 -55
- package/dist/cli-tui/tui-renderer/mcp-events-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/mcp-events-setup.js +0 -143
- package/dist/cli-tui/tui-renderer/mcp-events-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/misc-handlers.d.ts +0 -59
- package/dist/cli-tui/tui-renderer/misc-handlers.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/misc-handlers.js +0 -143
- package/dist/cli-tui/tui-renderer/misc-handlers.js.map +0 -1
- package/dist/cli-tui/tui-renderer/oauth-setup.d.ts +0 -14
- package/dist/cli-tui/tui-renderer/oauth-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/oauth-setup.js +0 -26
- package/dist/cli-tui/tui-renderer/oauth-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/plan-setup.d.ts +0 -19
- package/dist/cli-tui/tui-renderer/plan-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/plan-setup.js +0 -23
- package/dist/cli-tui/tui-renderer/plan-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/prompt-template-slash-commands.d.ts +0 -21
- package/dist/cli-tui/tui-renderer/prompt-template-slash-commands.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/prompt-template-slash-commands.js +0 -64
- package/dist/cli-tui/tui-renderer/prompt-template-slash-commands.js.map +0 -1
- package/dist/cli-tui/tui-renderer/queue-setup.d.ts +0 -18
- package/dist/cli-tui/tui-renderer/queue-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/queue-setup.js +0 -42
- package/dist/cli-tui/tui-renderer/queue-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/quick-settings-controller.d.ts +0 -53
- package/dist/cli-tui/tui-renderer/quick-settings-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/quick-settings-controller.js +0 -100
- package/dist/cli-tui/tui-renderer/quick-settings-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/session-setup.d.ts +0 -31
- package/dist/cli-tui/tui-renderer/session-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/session-setup.js +0 -45
- package/dist/cli-tui/tui-renderer/session-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/session-state-controller.d.ts +0 -66
- package/dist/cli-tui/tui-renderer/session-state-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/session-state-controller.js +0 -139
- package/dist/cli-tui/tui-renderer/session-state-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/skills-controller.d.ts +0 -70
- package/dist/cli-tui/tui-renderer/skills-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/skills-controller.js +0 -411
- package/dist/cli-tui/tui-renderer/skills-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/slash-hint-controller.d.ts +0 -90
- package/dist/cli-tui/tui-renderer/slash-hint-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/slash-hint-controller.js +0 -131
- package/dist/cli-tui/tui-renderer/slash-hint-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/tool-retry-setup.d.ts +0 -13
- package/dist/cli-tui/tui-renderer/tool-retry-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/tool-retry-setup.js +0 -5
- package/dist/cli-tui/tui-renderer/tool-retry-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/tooling-views-setup.d.ts +0 -38
- package/dist/cli-tui/tui-renderer/tooling-views-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/tooling-views-setup.js +0 -48
- package/dist/cli-tui/tui-renderer/tooling-views-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/ui-state-controller.d.ts +0 -70
- package/dist/cli-tui/tui-renderer/ui-state-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/ui-state-controller.js +0 -184
- package/dist/cli-tui/tui-renderer/ui-state-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/ui-state-setup.d.ts +0 -13
- package/dist/cli-tui/tui-renderer/ui-state-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/ui-state-setup.js +0 -11
- package/dist/cli-tui/tui-renderer/ui-state-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/utility-views-setup.d.ts +0 -26
- package/dist/cli-tui/tui-renderer/utility-views-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/utility-views-setup.js +0 -23
- package/dist/cli-tui/tui-renderer/utility-views-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/viewport-controller.d.ts +0 -33
- package/dist/cli-tui/tui-renderer/viewport-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/viewport-controller.js +0 -98
- package/dist/cli-tui/tui-renderer/viewport-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer.d.ts +0 -268
- package/dist/cli-tui/tui-renderer.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer.js +0 -2131
- package/dist/cli-tui/tui-renderer.js.map +0 -1
- package/dist/cli-tui/ui-state.d.ts +0 -27
- package/dist/cli-tui/ui-state.d.ts.map +0 -1
- package/dist/cli-tui/ui-state.js +0 -88
- package/dist/cli-tui/ui-state.js.map +0 -1
- package/dist/cli-tui/update-view.d.ts +0 -16
- package/dist/cli-tui/update-view.d.ts.map +0 -1
- package/dist/cli-tui/update-view.js +0 -45
- package/dist/cli-tui/update-view.js.map +0 -1
- package/dist/cli-tui/user-message.d.ts +0 -17
- package/dist/cli-tui/user-message.d.ts.map +0 -1
- package/dist/cli-tui/user-message.js +0 -83
- package/dist/cli-tui/user-message.js.map +0 -1
- package/dist/cli-tui/utils/borders.d.ts +0 -131
- package/dist/cli-tui/utils/borders.d.ts.map +0 -1
- package/dist/cli-tui/utils/borders.js +0 -254
- package/dist/cli-tui/utils/borders.js.map +0 -1
- package/dist/cli-tui/utils/commands/command-palette-view.d.ts +0 -22
- package/dist/cli-tui/utils/commands/command-palette-view.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/command-palette-view.js +0 -31
- package/dist/cli-tui/utils/commands/command-palette-view.js.map +0 -1
- package/dist/cli-tui/utils/commands/command-palette.d.ts +0 -29
- package/dist/cli-tui/utils/commands/command-palette.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/command-palette.js +0 -213
- package/dist/cli-tui/utils/commands/command-palette.js.map +0 -1
- package/dist/cli-tui/utils/commands/command-registry-builder.d.ts +0 -8
- package/dist/cli-tui/utils/commands/command-registry-builder.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/command-registry-builder.js +0 -9
- package/dist/cli-tui/utils/commands/command-registry-builder.js.map +0 -1
- package/dist/cli-tui/utils/commands/review-prompt.d.ts +0 -10
- package/dist/cli-tui/utils/commands/review-prompt.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/review-prompt.js +0 -90
- package/dist/cli-tui/utils/commands/review-prompt.js.map +0 -1
- package/dist/cli-tui/utils/commands/slash-hint-bar.d.ts +0 -15
- package/dist/cli-tui/utils/commands/slash-hint-bar.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/slash-hint-bar.js +0 -106
- package/dist/cli-tui/utils/commands/slash-hint-bar.js.map +0 -1
- package/dist/cli-tui/utils/env-detect.d.ts +0 -11
- package/dist/cli-tui/utils/env-detect.d.ts.map +0 -1
- package/dist/cli-tui/utils/env-detect.js +0 -107
- package/dist/cli-tui/utils/env-detect.js.map +0 -1
- package/dist/cli-tui/utils/external-editor.d.ts +0 -7
- package/dist/cli-tui/utils/external-editor.d.ts.map +0 -1
- package/dist/cli-tui/utils/external-editor.js +0 -53
- package/dist/cli-tui/utils/external-editor.js.map +0 -1
- package/dist/cli-tui/utils/footer-utils.d.ts +0 -169
- package/dist/cli-tui/utils/footer-utils.d.ts.map +0 -1
- package/dist/cli-tui/utils/footer-utils.js +0 -716
- package/dist/cli-tui/utils/footer-utils.js.map +0 -1
- package/dist/cli-tui/utils/footer-visual-widgets.d.ts +0 -38
- package/dist/cli-tui/utils/footer-visual-widgets.d.ts.map +0 -1
- package/dist/cli-tui/utils/footer-visual-widgets.js +0 -141
- package/dist/cli-tui/utils/footer-visual-widgets.js.map +0 -1
- package/dist/cli-tui/utils/git-branch-tracker.d.ts +0 -38
- package/dist/cli-tui/utils/git-branch-tracker.d.ts.map +0 -1
- package/dist/cli-tui/utils/git-branch-tracker.js +0 -90
- package/dist/cli-tui/utils/git-branch-tracker.js.map +0 -1
- package/dist/cli-tui/utils/glyphs.d.ts +0 -207
- package/dist/cli-tui/utils/glyphs.d.ts.map +0 -1
- package/dist/cli-tui/utils/glyphs.js +0 -249
- package/dist/cli-tui/utils/glyphs.js.map +0 -1
- package/dist/cli-tui/utils/layout.d.ts +0 -77
- package/dist/cli-tui/utils/layout.d.ts.map +0 -1
- package/dist/cli-tui/utils/layout.js +0 -83
- package/dist/cli-tui/utils/layout.js.map +0 -1
- package/dist/cli-tui/utils/links.d.ts +0 -2
- package/dist/cli-tui/utils/links.d.ts.map +0 -1
- package/dist/cli-tui/utils/links.js +0 -14
- package/dist/cli-tui/utils/links.js.map +0 -1
- package/dist/cli-tui/utils/motion.d.ts +0 -4
- package/dist/cli-tui/utils/motion.d.ts.map +0 -1
- package/dist/cli-tui/utils/motion.js +0 -28
- package/dist/cli-tui/utils/motion.js.map +0 -1
- package/dist/cli-tui/utils/runtime-badges.d.ts +0 -26
- package/dist/cli-tui/utils/runtime-badges.d.ts.map +0 -1
- package/dist/cli-tui/utils/runtime-badges.js +0 -178
- package/dist/cli-tui/utils/runtime-badges.js.map +0 -1
- package/dist/cli-tui/utils/shimmer.d.ts +0 -12
- package/dist/cli-tui/utils/shimmer.d.ts.map +0 -1
- package/dist/cli-tui/utils/shimmer.js +0 -57
- package/dist/cli-tui/utils/shimmer.js.map +0 -1
- package/dist/cli-tui/utils/stage-labels.d.ts +0 -9
- package/dist/cli-tui/utils/stage-labels.d.ts.map +0 -1
- package/dist/cli-tui/utils/stage-labels.js +0 -65
- package/dist/cli-tui/utils/stage-labels.js.map +0 -1
- package/dist/cli-tui/utils/text-formatting.d.ts +0 -13
- package/dist/cli-tui/utils/text-formatting.d.ts.map +0 -1
- package/dist/cli-tui/utils/text-formatting.js +0 -109
- package/dist/cli-tui/utils/text-formatting.js.map +0 -1
- package/dist/cli-tui/utils/text-preview.d.ts +0 -10
- package/dist/cli-tui/utils/text-preview.d.ts.map +0 -1
- package/dist/cli-tui/utils/text-preview.js +0 -26
- package/dist/cli-tui/utils/text-preview.js.map +0 -1
- package/dist/cli-tui/utils/tool-text-utils.d.ts +0 -42
- package/dist/cli-tui/utils/tool-text-utils.d.ts.map +0 -1
- package/dist/cli-tui/utils/tool-text-utils.js +0 -361
- package/dist/cli-tui/utils/tool-text-utils.js.map +0 -1
- package/dist/cli-tui/welcome-animation.d.ts +0 -24
- package/dist/cli-tui/welcome-animation.d.ts.map +0 -1
- package/dist/cli-tui/welcome-animation.js +0 -99
- package/dist/cli-tui/welcome-animation.js.map +0 -1
- package/dist/cli-tui/welcome-colors.d.ts +0 -3
- package/dist/cli-tui/welcome-colors.d.ts.map +0 -1
- package/dist/cli-tui/welcome-colors.js +0 -39
- package/dist/cli-tui/welcome-colors.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/autocomplete.d.ts +0 -304
- package/dist/node_modules/@evalops/tui/dist/autocomplete.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/autocomplete.js +0 -712
- package/dist/node_modules/@evalops/tui/dist/autocomplete.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/editor.d.ts +0 -185
- package/dist/node_modules/@evalops/tui/dist/components/editor.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/editor.js +0 -1460
- package/dist/node_modules/@evalops/tui/dist/components/editor.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/input.d.ts +0 -117
- package/dist/node_modules/@evalops/tui/dist/components/input.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/input.js +0 -391
- package/dist/node_modules/@evalops/tui/dist/components/input.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/layout.d.ts +0 -256
- package/dist/node_modules/@evalops/tui/dist/components/layout.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/layout.js +0 -478
- package/dist/node_modules/@evalops/tui/dist/components/layout.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/loader.d.ts +0 -199
- package/dist/node_modules/@evalops/tui/dist/components/loader.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/loader.js +0 -374
- package/dist/node_modules/@evalops/tui/dist/components/loader.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/markdown.d.ts +0 -65
- package/dist/node_modules/@evalops/tui/dist/components/markdown.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/markdown.js +0 -562
- package/dist/node_modules/@evalops/tui/dist/components/markdown.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/scroll-container.d.ts +0 -262
- package/dist/node_modules/@evalops/tui/dist/components/scroll-container.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/scroll-container.js +0 -575
- package/dist/node_modules/@evalops/tui/dist/components/scroll-container.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/select-list.d.ts +0 -131
- package/dist/node_modules/@evalops/tui/dist/components/select-list.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/select-list.js +0 -257
- package/dist/node_modules/@evalops/tui/dist/components/select-list.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/spacer.d.ts +0 -11
- package/dist/node_modules/@evalops/tui/dist/components/spacer.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/spacer.js +0 -19
- package/dist/node_modules/@evalops/tui/dist/components/spacer.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/status-bar.d.ts +0 -22
- package/dist/node_modules/@evalops/tui/dist/components/status-bar.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/status-bar.js +0 -44
- package/dist/node_modules/@evalops/tui/dist/components/status-bar.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/text.d.ts +0 -26
- package/dist/node_modules/@evalops/tui/dist/components/text.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/text.js +0 -181
- package/dist/node_modules/@evalops/tui/dist/components/text.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/truncated-text.d.ts +0 -15
- package/dist/node_modules/@evalops/tui/dist/components/truncated-text.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/truncated-text.js +0 -84
- package/dist/node_modules/@evalops/tui/dist/components/truncated-text.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/index.d.ts +0 -87
- package/dist/node_modules/@evalops/tui/dist/index.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/index.js +0 -85
- package/dist/node_modules/@evalops/tui/dist/index.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/keymap.d.ts +0 -189
- package/dist/node_modules/@evalops/tui/dist/keymap.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/keymap.js +0 -363
- package/dist/node_modules/@evalops/tui/dist/keymap.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/mermaid-renderer.d.ts +0 -25
- package/dist/node_modules/@evalops/tui/dist/mermaid-renderer.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/mermaid-renderer.js +0 -828
- package/dist/node_modules/@evalops/tui/dist/mermaid-renderer.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/style/code-highlighter.d.ts +0 -40
- package/dist/node_modules/@evalops/tui/dist/style/code-highlighter.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/style/code-highlighter.js +0 -474
- package/dist/node_modules/@evalops/tui/dist/style/code-highlighter.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/terminal.d.ts +0 -201
- package/dist/node_modules/@evalops/tui/dist/terminal.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/terminal.js +0 -241
- package/dist/node_modules/@evalops/tui/dist/terminal.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/tui.d.ts +0 -263
- package/dist/node_modules/@evalops/tui/dist/tui.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/tui.js +0 -694
- package/dist/node_modules/@evalops/tui/dist/tui.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/utils/terminal-features.d.ts +0 -14
- package/dist/node_modules/@evalops/tui/dist/utils/terminal-features.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/utils/terminal-features.js +0 -44
- package/dist/node_modules/@evalops/tui/dist/utils/terminal-features.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/utils.d.ts +0 -32
- package/dist/node_modules/@evalops/tui/dist/utils.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/utils.js +0 -556
- package/dist/node_modules/@evalops/tui/dist/utils.js.map +0 -1
- package/dist/node_modules/@evalops/tui/package.json +0 -58
- package/dist/skills/artifact-metadata.d.ts +0 -16
- package/dist/skills/artifact-metadata.d.ts.map +0 -1
- package/dist/skills/artifact-metadata.js +0 -86
- package/dist/skills/artifact-metadata.js.map +0 -1
- package/dist/skills/composer-diagnostics.d.ts +0 -69
- package/dist/skills/composer-diagnostics.d.ts.map +0 -1
- package/dist/skills/composer-diagnostics.js +0 -78
- package/dist/skills/composer-diagnostics.js.map +0 -1
- package/dist/skills/composer.d.ts +0 -19
- package/dist/skills/composer.d.ts.map +0 -1
- package/dist/skills/composer.js +0 -52
- package/dist/skills/composer.js.map +0 -1
- package/dist/skills/eval-harness.d.ts +0 -38
- package/dist/skills/eval-harness.d.ts.map +0 -1
- package/dist/skills/eval-harness.js +0 -112
- package/dist/skills/eval-harness.js.map +0 -1
- package/dist/skills/index.d.ts +0 -40
- package/dist/skills/index.d.ts.map +0 -1
- package/dist/skills/index.js +0 -40
- package/dist/skills/index.js.map +0 -1
- package/dist/skills/linter.d.ts +0 -36
- package/dist/skills/linter.d.ts.map +0 -1
- package/dist/skills/linter.js +0 -399
- package/dist/skills/linter.js.map +0 -1
- package/dist/skills/loader.d.ts +0 -252
- package/dist/skills/loader.d.ts.map +0 -1
- package/dist/skills/loader.js +0 -957
- package/dist/skills/loader.js.map +0 -1
- package/dist/skills/package-contract.d.ts +0 -45
- package/dist/skills/package-contract.d.ts.map +0 -1
- package/dist/skills/package-contract.js +0 -153
- package/dist/skills/package-contract.js.map +0 -1
- package/dist/skills/runtime-activation.d.ts +0 -68
- package/dist/skills/runtime-activation.d.ts.map +0 -1
- package/dist/skills/runtime-activation.js +0 -228
- package/dist/skills/runtime-activation.js.map +0 -1
- package/dist/skills/scaffold-from-template.d.ts +0 -58
- package/dist/skills/scaffold-from-template.d.ts.map +0 -1
- package/dist/skills/scaffold-from-template.js +0 -72
- package/dist/skills/scaffold-from-template.js.map +0 -1
- package/dist/skills/scaffolder.d.ts +0 -65
- package/dist/skills/scaffolder.d.ts.map +0 -1
- package/dist/skills/scaffolder.js +0 -167
- package/dist/skills/scaffolder.js.map +0 -1
- package/dist/skills/service-client.d.ts +0 -56
- package/dist/skills/service-client.d.ts.map +0 -1
- package/dist/skills/service-client.js +0 -266
- package/dist/skills/service-client.js.map +0 -1
- package/dist/skills/skill-templates.d.ts +0 -70
- package/dist/skills/skill-templates.d.ts.map +0 -1
- package/dist/skills/skill-templates.js +0 -154
- package/dist/skills/skill-templates.js.map +0 -1
- package/dist/skills/tool.d.ts +0 -21
- package/dist/skills/tool.d.ts.map +0 -1
- package/dist/skills/tool.js +0 -334
- package/dist/skills/tool.js.map +0 -1
- package/dist/skills/trust-cache.d.ts +0 -58
- package/dist/skills/trust-cache.d.ts.map +0 -1
- package/dist/skills/trust-cache.js +0 -130
- package/dist/skills/trust-cache.js.map +0 -1
- package/dist/skills/types.d.ts +0 -91
- package/dist/skills/types.d.ts.map +0 -1
- package/dist/skills/types.js +0 -8
- package/dist/skills/types.js.map +0 -1
- /package/dist/{cli-tui → runtime}/prompt-queue.d.ts +0 -0
- /package/dist/{cli-tui → runtime}/prompt-queue.js +0 -0
|
@@ -171,10 +171,46 @@ export const MaestroAppServerCompactionSpanSchema = Type.Object({
|
|
|
171
171
|
tokensBefore: Type.Number(),
|
|
172
172
|
sourceEntryIds: Type.Array(Type.String()),
|
|
173
173
|
});
|
|
174
|
+
export const MaestroAppServerRevisionGroupSchema = Type.Object({
|
|
175
|
+
parentEntryId: Type.Union([Type.String(), Type.Null()]),
|
|
176
|
+
childEntryIds: Type.Array(Type.String()),
|
|
177
|
+
activeChildEntryId: Type.Optional(Type.String()),
|
|
178
|
+
});
|
|
179
|
+
export const MaestroAppServerAgentLineageOperationSchema = Type.Object({
|
|
180
|
+
edgeId: Type.String(),
|
|
181
|
+
toolCallId: Type.String(),
|
|
182
|
+
operation: Type.String(),
|
|
183
|
+
status: Type.Optional(Type.String()),
|
|
184
|
+
parentThreadId: Type.Optional(Type.String()),
|
|
185
|
+
parentTurnId: Type.Optional(Type.String()),
|
|
186
|
+
childThreadId: Type.Optional(Type.String()),
|
|
187
|
+
childRunId: Type.String(),
|
|
188
|
+
timestamp: Type.String(),
|
|
189
|
+
});
|
|
190
|
+
export const MaestroAppServerAgentLineageEdgeSchema = Type.Object({
|
|
191
|
+
edgeId: Type.String(),
|
|
192
|
+
parentThreadId: Type.Optional(Type.String()),
|
|
193
|
+
parentTurnId: Type.Optional(Type.String()),
|
|
194
|
+
childThreadId: Type.Optional(Type.String()),
|
|
195
|
+
childRunId: Type.String(),
|
|
196
|
+
spawnToolCallId: Type.Optional(Type.String()),
|
|
197
|
+
lastToolCallId: Type.String(),
|
|
198
|
+
lastOperation: Type.String(),
|
|
199
|
+
status: Type.Optional(Type.String()),
|
|
200
|
+
updatedAt: Type.String(),
|
|
201
|
+
});
|
|
202
|
+
export const MaestroAppServerAgentLineageSchema = Type.Object({
|
|
203
|
+
edges: Type.Array(MaestroAppServerAgentLineageEdgeSchema),
|
|
204
|
+
operations: Type.Array(MaestroAppServerAgentLineageOperationSchema),
|
|
205
|
+
});
|
|
174
206
|
export const MaestroAppServerThreadGraphSchema = Type.Object({
|
|
175
207
|
branchId: Type.String(),
|
|
176
208
|
leafEntryId: Type.Optional(Type.String()),
|
|
177
209
|
activeEntryIds: Type.Array(Type.String()),
|
|
210
|
+
authoritativeEntryIds: Type.Array(Type.String()),
|
|
211
|
+
supersededEntryIds: Type.Array(Type.String()),
|
|
212
|
+
revisionGroups: Type.Array(MaestroAppServerRevisionGroupSchema),
|
|
213
|
+
agentLineage: Type.Optional(MaestroAppServerAgentLineageSchema),
|
|
178
214
|
compactionSpans: Type.Array(MaestroAppServerCompactionSpanSchema),
|
|
179
215
|
});
|
|
180
216
|
export const MaestroAppServerTurnSchema = Type.Object({
|
|
@@ -196,6 +232,7 @@ export const MaestroAppServerThreadSchema = Type.Intersect([
|
|
|
196
232
|
Type.Literal("notLoaded"),
|
|
197
233
|
]),
|
|
198
234
|
turns: Type.Optional(Type.Array(MaestroAppServerTurnSchema)),
|
|
235
|
+
history: Type.Optional(Type.Array(MaestroAppServerThreadItemSchema)),
|
|
199
236
|
graph: Type.Optional(MaestroAppServerThreadGraphSchema),
|
|
200
237
|
}),
|
|
201
238
|
]);
|
|
@@ -387,6 +424,10 @@ export const MaestroAppServerPluginBundleSchema = Type.Object({
|
|
|
387
424
|
configPath: Type.String(),
|
|
388
425
|
});
|
|
389
426
|
export const MaestroAppServerPluginBundleResourcesSchema = Type.Object({
|
|
427
|
+
agents: Type.Optional(Type.Object({
|
|
428
|
+
user: Type.Array(Type.String()),
|
|
429
|
+
project: Type.Array(Type.String()),
|
|
430
|
+
})),
|
|
390
431
|
extensions: Type.Object({
|
|
391
432
|
user: Type.Array(Type.String()),
|
|
392
433
|
project: Type.Array(Type.String()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maestro-app-server.js","sourceRoot":"","sources":["../src/maestro-app-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,CAAC,MAAM,+BAA+B,GAAG,uBAAgC,CAAC;AAChF,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACxD,+BAA+B;CACtB,CAAC;AAEX,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC5C,YAAY;IACZ,oBAAoB;IACpB,mBAAmB;IACnB,YAAY;IACZ,iCAAiC;IACjC,aAAa;IACb,c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AAI,CAAC,QAAQ,CACnB,IAAI,CAAC,MAAM,CAAC;QACX,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE;KACtB,CAAC,CACF;CACD,CAAC,CAAC;AAKH,MAAM,CAAC,MAAM,wCAAwC,GAAG,IAAI,CAAC,MAAM,CAAC;IACnE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,MAAM,EAAE,kBAAkB,CAAC,6BAA6B,CAAC;IACzD,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,iDAAiD,CAAC;CACxE,CAAC,CAAC","sourcesContent":["import { type Static, Type } from \"@sinclair/typebox\";\nimport { stringLiteralUnion } from \"./typebox-utils.js\";\n\nexport const maestroAppServerProtocolVersion = \"maestro-app-server.v3\" as const;\nexport const maestroAppServerSupportedProtocolVersions = [\n\tmaestroAppServerProtocolVersion,\n] as const;\n\nexport const maestroAppServerClientMethods = [\n\t\"initialize\",\n\t\"protocol/mode/list\",\n\t\"protocol/mode/set\",\n\t\"model/list\",\n\t\"modelProvider/capabilities/read\",\n\t\"policy/read\",\n\t\"policy/check\",\n\t\"requirements/list\",\n\t\"network/fetch\",\n\t\"network/audit/list\",\n\t\"sandbox/probe\",\n\t\"sandbox/check/run\",\n\t\"externalAgent/import\",\n\t\"pluginBundle/list\",\n\t\"pluginBundle/install\",\n\t\"pluginBundle/remove\",\n\t\"daemon/status\",\n\t\"remoteControl/status\",\n\t\"remoteControl/lease/read\",\n\t\"remoteControl/lease/heartbeat\",\n\t\"remoteControl/drain\",\n\t\"command/exec\",\n\t\"command/exec/write\",\n\t\"command/exec/terminate\",\n\t\"fs/readFile\",\n\t\"fs/writeFile\",\n\t\"fs/readDirectory\",\n\t\"fs/getMetadata\",\n\t\"fs/createDirectory\",\n\t\"fs/remove\",\n\t\"fs/copy\",\n\t\"fs/watch\",\n\t\"fs/unwatch\",\n\t\"thread/list\",\n\t\"thread/read\",\n\t\"thread/metadata/update\",\n\t\"thread/name/set\",\n\t\"thread/goal/get\",\n\t\"thread/goal/set\",\n\t\"thread/goal/clear\",\n\t\"thread/start\",\n\t\"thread/fork\",\n\t\"thread/archive\",\n\t\"thread/unarchive\",\n\t\"thread/delete\",\n\t\"thread/turns/list\",\n] as const;\nexport type MaestroAppServerClientMethod =\n\t(typeof maestroAppServerClientMethods)[number];\n\nexport const maestroAppServerServerMethods = [\"fs/changed\"] as const;\nexport type MaestroAppServerServerMethod =\n\t(typeof maestroAppServerServerMethods)[number];\n\nexport const maestroAppServerThreadStatuses = [\n\t\"notLoaded\",\n\t\"loaded\",\n\t\"running\",\n\t\"interrupted\",\n\t\"completed\",\n\t\"archived\",\n] as const;\nexport type MaestroAppServerThreadStatus =\n\t(typeof maestroAppServerThreadStatuses)[number];\n\nexport const maestroAppServerTurnStatuses = [\n\t\"completed\",\n\t\"running\",\n\t\"interrupted\",\n\t\"failed\",\n] as const;\nexport type MaestroAppServerTurnStatus =\n\t(typeof maestroAppServerTurnStatuses)[number];\n\nexport const MaestroAppServerJsonRpcIdSchema = Type.Union([\n\tType.String(),\n\tType.Number(),\n]);\nconst MaestroAppServerJsonRpcResponseIdSchema = Type.Union([\n\tMaestroAppServerJsonRpcIdSchema,\n\tType.Null(),\n]);\n\nexport const MaestroAppServerClientRequestSchema = Type.Object({\n\tjsonrpc: Type.Literal(\"2.0\"),\n\tid: MaestroAppServerJsonRpcIdSchema,\n\tmethod: Type.String(),\n\tparams: Type.Optional(Type.Record(Type.String(), Type.Unknown())),\n});\nexport type MaestroAppServerClientRequest = Static<\n\ttypeof MaestroAppServerClientRequestSchema\n>;\n\nexport const MaestroAppServerCapabilitiesSchema = Type.Object({\n\tsessions: Type.Boolean(),\n\tprotocolModes: Type.Boolean(),\n\tmodelList: Type.Boolean(),\n\tmodelProviderCapabilities: Type.Boolean(),\n\tmanagedPolicy: Type.Boolean(),\n\trequirements: Type.Boolean(),\n\tnetworkProxy: Type.Boolean(),\n\tnetworkAudit: Type.Boolean(),\n\tsandboxProbe: Type.Boolean(),\n\tsandboxCheck: Type.Boolean(),\n\texternalAgentImport: Type.Boolean(),\n\tpluginBundles: Type.Boolean(),\n\tdaemonStatus: Type.Boolean(),\n\tremoteControlStatus: Type.Boolean(),\n\tremoteControlLease: Type.Boolean(),\n\tremoteControlDrain: Type.Boolean(),\n\tcommandExec: Type.Boolean(),\n\tcommandProcessControl: Type.Boolean(),\n\tfilesystem: Type.Boolean(),\n\tfilesystemWatch: Type.Boolean(),\n\tthreadList: Type.Boolean(),\n\tthreadRead: Type.Boolean(),\n\tthreadMetadataUpdate: Type.Boolean(),\n\tthreadNameSet: Type.Boolean(),\n\tthreadGoals: Type.Boolean(),\n\tthreadStart: Type.Boolean(),\n\tthreadFork: Type.Boolean(),\n\tthreadArchive: Type.Boolean(),\n\tthreadDelete: Type.Boolean(),\n\tturnsList: Type.Boolean(),\n});\nexport type MaestroAppServerCapabilities = Static<\n\ttypeof MaestroAppServerCapabilitiesSchema\n>;\n\nexport const MaestroAppServerInitializeResultSchema = Type.Object({\n\tprotocolVersion: Type.Literal(maestroAppServerProtocolVersion),\n\tsupportedProtocolVersions: Type.Optional(\n\t\tType.Array(stringLiteralUnion(maestroAppServerSupportedProtocolVersions)),\n\t),\n\tserverInfo: Type.Object({\n\t\tname: Type.String(),\n\t\tversion: Type.Optional(Type.String()),\n\t}),\n\tcapabilities: MaestroAppServerCapabilitiesSchema,\n});\nexport type MaestroAppServerInitializeResult = Static<\n\ttypeof MaestroAppServerInitializeResultSchema\n>;\n\nexport const MaestroAppServerThreadStatusSchema = stringLiteralUnion(\n\tmaestroAppServerThreadStatuses,\n);\nexport const MaestroAppServerTurnStatusSchema = stringLiteralUnion(\n\tmaestroAppServerTurnStatuses,\n);\n\nexport const MaestroAppServerThreadSummarySchema = Type.Object({\n\tid: Type.String(),\n\tsource: Type.Literal(\"session\"),\n\tstatus: MaestroAppServerThreadStatusSchema,\n\ttitle: Type.Optional(Type.String()),\n\tsummary: Type.Optional(Type.String()),\n\tresumeSummary: Type.Optional(Type.String()),\n\tmemoryExtractionHash: Type.Optional(Type.String()),\n\tsubject: Type.Optional(Type.String()),\n\tpath: Type.Optional(Type.String()),\n\tcreatedAt: Type.String(),\n\tupdatedAt: Type.String(),\n\tmessageCount: Type.Number(),\n\tfavorite: Type.Boolean(),\n\ttags: Type.Optional(Type.Array(Type.String())),\n\tarchived: Type.Optional(Type.Boolean()),\n\tarchivedAt: Type.Optional(Type.String()),\n});\nexport type MaestroAppServerThreadSummary = Static<\n\ttypeof MaestroAppServerThreadSummarySchema\n>;\n\nexport const MaestroAppServerThreadGoalStatuses = [\n\t\"active\",\n\t\"complete\",\n\t\"cancelled\",\n] as const;\nexport const MaestroAppServerThreadGoalStatusSchema = stringLiteralUnion(\n\tMaestroAppServerThreadGoalStatuses,\n);\nexport const MaestroAppServerThreadGoalSchema = Type.Object({\n\tobjective: Type.String(),\n\tstatus: MaestroAppServerThreadGoalStatusSchema,\n\ttokenBudget: Type.Optional(Type.Number()),\n\tcreatedAt: Type.String(),\n\tupdatedAt: Type.String(),\n});\nexport type MaestroAppServerThreadGoal = Static<\n\ttypeof MaestroAppServerThreadGoalSchema\n>;\n\nexport const MaestroAppServerThreadItemSchema = Type.Object({\n\tid: Type.String(),\n\ttype: Type.String(),\n\ttimestamp: Type.Optional(Type.String()),\n\tparentId: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\trole: Type.Optional(Type.String()),\n\tcontent: Type.Optional(Type.Unknown()),\n\tdata: Type.Optional(Type.Unknown()),\n});\nexport type MaestroAppServerThreadItem = Static<\n\ttypeof MaestroAppServerThreadItemSchema\n>;\n\nexport const MaestroAppServerCompactionSpanSchema = Type.Object({\n\tid: Type.String(),\n\tfirstKeptEntryId: Type.String(),\n\tsummary: Type.String(),\n\ttokensBefore: Type.Number(),\n\tsourceEntryIds: Type.Array(Type.String()),\n});\nexport type MaestroAppServerCompactionSpan = Static<\n\ttypeof MaestroAppServerCompactionSpanSchema\n>;\n\nexport const MaestroAppServerThreadGraphSchema = Type.Object({\n\tbranchId: Type.String(),\n\tleafEntryId: Type.Optional(Type.String()),\n\tactiveEntryIds: Type.Array(Type.String()),\n\tcompactionSpans: Type.Array(MaestroAppServerCompactionSpanSchema),\n});\nexport type MaestroAppServerThreadGraph = Static<\n\ttypeof MaestroAppServerThreadGraphSchema\n>;\n\nexport const MaestroAppServerTurnSchema = Type.Object({\n\tid: Type.String(),\n\tparentTurnId: Type.Optional(Type.String()),\n\tstatus: MaestroAppServerTurnStatusSchema,\n\tstartedAt: Type.Optional(Type.String()),\n\tcompletedAt: Type.Optional(Type.String()),\n\tsourceEntryIds: Type.Optional(Type.Array(Type.String())),\n\ttoolCallIds: Type.Optional(Type.Array(Type.String())),\n\titems: Type.Array(MaestroAppServerThreadItemSchema),\n});\nexport type MaestroAppServerTurn = Static<typeof MaestroAppServerTurnSchema>;\n\nexport const MaestroAppServerThreadSchema = Type.Intersect([\n\tMaestroAppServerThreadSummarySchema,\n\tType.Object({\n\t\tmessagesView: Type.Union([\n\t\t\tType.Literal(\"full\"),\n\t\t\tType.Literal(\"summary\"),\n\t\t\tType.Literal(\"notLoaded\"),\n\t\t]),\n\t\tturns: Type.Optional(Type.Array(MaestroAppServerTurnSchema)),\n\t\tgraph: Type.Optional(MaestroAppServerThreadGraphSchema),\n\t}),\n]);\nexport type MaestroAppServerThread = Static<\n\ttypeof MaestroAppServerThreadSchema\n>;\n\nexport const MaestroAppServerThreadListResultSchema = Type.Object({\n\tthreads: Type.Array(MaestroAppServerThreadSummarySchema),\n\tnextCursor: Type.Union([Type.String(), Type.Null()]),\n});\nexport type MaestroAppServerThreadListResult = Static<\n\ttypeof MaestroAppServerThreadListResultSchema\n>;\n\nexport const MaestroAppServerThreadReadResultSchema = Type.Object({\n\tthread: MaestroAppServerThreadSchema,\n});\nexport type MaestroAppServerThreadReadResult = Static<\n\ttypeof MaestroAppServerThreadReadResultSchema\n>;\n\nexport const MaestroAppServerThreadMetadataUpdateResultSchema = Type.Object({\n\tthread: MaestroAppServerThreadSummarySchema,\n});\nexport type MaestroAppServerThreadMetadataUpdateResult = Static<\n\ttypeof MaestroAppServerThreadMetadataUpdateResultSchema\n>;\n\nexport const MaestroAppServerThreadGoalResultSchema = Type.Object({\n\tthreadId: Type.String(),\n\tgoal: Type.Union([MaestroAppServerThreadGoalSchema, Type.Null()]),\n});\nexport type MaestroAppServerThreadGoalResult = Static<\n\ttypeof MaestroAppServerThreadGoalResultSchema\n>;\n\nexport const MaestroAppServerTurnsListResultSchema = Type.Object({\n\tthreadId: Type.String(),\n\tturns: Type.Array(MaestroAppServerTurnSchema),\n\tnextCursor: Type.Union([Type.String(), Type.Null()]),\n\tgraph: Type.Optional(MaestroAppServerThreadGraphSchema),\n});\nexport type MaestroAppServerTurnsListResult = Static<\n\ttypeof MaestroAppServerTurnsListResultSchema\n>;\n\nexport const MaestroAppServerAllowedBlockedPolicySchema = Type.Object({\n\tallowed: Type.Optional(Type.Array(Type.String())),\n\tblocked: Type.Optional(Type.Array(Type.String())),\n});\nexport type MaestroAppServerAllowedBlockedPolicy = Static<\n\ttypeof MaestroAppServerAllowedBlockedPolicySchema\n>;\n\nexport const MaestroAppServerPolicySkillsSchema = Type.Object({\n\trequired: Type.Optional(Type.Array(Type.String())),\n});\nexport type MaestroAppServerPolicySkills = Static<\n\ttypeof MaestroAppServerPolicySkillsSchema\n>;\n\nexport const MaestroAppServerPolicyNetworkSchema = Type.Object({\n\tallowedHosts: Type.Optional(Type.Array(Type.String())),\n\tblockedHosts: Type.Optional(Type.Array(Type.String())),\n\tblockLocalhost: Type.Optional(Type.Boolean()),\n\tblockPrivateIPs: Type.Optional(Type.Boolean()),\n});\nexport type MaestroAppServerPolicyNetwork = Static<\n\ttypeof MaestroAppServerPolicyNetworkSchema\n>;\n\nexport const MaestroAppServerPolicyLimitsSchema = Type.Object({\n\tmaxTokensPerSession: Type.Optional(Type.Number()),\n\tmaxSessionDurationMinutes: Type.Optional(Type.Number()),\n\tmaxConcurrentSessions: Type.Optional(Type.Number()),\n});\nexport type MaestroAppServerPolicyLimits = Static<\n\ttypeof MaestroAppServerPolicyLimitsSchema\n>;\n\nexport const MaestroAppServerPolicySchema = Type.Object({\n\torgId: Type.Optional(Type.String()),\n\ttools: Type.Optional(MaestroAppServerAllowedBlockedPolicySchema),\n\tdependencies: Type.Optional(MaestroAppServerAllowedBlockedPolicySchema),\n\tmodels: Type.Optional(MaestroAppServerAllowedBlockedPolicySchema),\n\tskills: Type.Optional(MaestroAppServerPolicySkillsSchema),\n\tpaths: Type.Optional(MaestroAppServerAllowedBlockedPolicySchema),\n\tnetwork: Type.Optional(MaestroAppServerPolicyNetworkSchema),\n\tlimits: Type.Optional(MaestroAppServerPolicyLimitsSchema),\n});\nexport type MaestroAppServerPolicy = Static<\n\ttypeof MaestroAppServerPolicySchema\n>;\n\nexport const MaestroAppServerPolicyReadResultSchema = Type.Object({\n\tloaded: Type.Boolean(),\n\tpolicy: Type.Union([MaestroAppServerPolicySchema, Type.Null()]),\n});\nexport type MaestroAppServerPolicyReadResult = Static<\n\ttypeof MaestroAppServerPolicyReadResultSchema\n>;\n\nexport const maestroAppServerPolicyCheckKinds = [\n\t\"action\",\n\t\"model\",\n\t\"session\",\n] as const;\nexport const MaestroAppServerPolicyCheckKindSchema = stringLiteralUnion(\n\tmaestroAppServerPolicyCheckKinds,\n);\nexport type MaestroAppServerPolicyCheckKind =\n\t(typeof maestroAppServerPolicyCheckKinds)[number];\n\nexport const MaestroAppServerPolicyCheckItemSchema = Type.Object({\n\tkind: MaestroAppServerPolicyCheckKindSchema,\n\tallowed: Type.Boolean(),\n\treason: Type.Optional(Type.String()),\n});\nexport type MaestroAppServerPolicyCheckItem = Static<\n\ttypeof MaestroAppServerPolicyCheckItemSchema\n>;\n\nexport const MaestroAppServerPolicyCheckResultSchema = Type.Object({\n\tallowed: Type.Boolean(),\n\treason: Type.Optional(Type.String()),\n\tchecks: Type.Array(MaestroAppServerPolicyCheckItemSchema),\n});\nexport type MaestroAppServerPolicyCheckResult = Static<\n\ttypeof MaestroAppServerPolicyCheckResultSchema\n>;\n\nexport const MaestroAppServerRequirementSchema = Type.Object({\n\tkind: Type.Literal(\"skill\"),\n\tid: Type.String(),\n\trequired: Type.Boolean(),\n});\nexport type MaestroAppServerRequirement = Static<\n\ttypeof MaestroAppServerRequirementSchema\n>;\n\nexport const MaestroAppServerRequirementsListResultSchema = Type.Object({\n\trequirements: Type.Array(MaestroAppServerRequirementSchema),\n\trequiredSkills: Type.Array(Type.String()),\n});\nexport type MaestroAppServerRequirementsListResult = Static<\n\ttypeof MaestroAppServerRequirementsListResultSchema\n>;\n\nexport const maestroAppServerNetworkGovernanceStatuses = [\n\t\"allowed\",\n\t\"blocked\",\n\t\"failed\",\n] as const;\nexport const MaestroAppServerNetworkGovernanceStatusSchema = stringLiteralUnion(\n\tmaestroAppServerNetworkGovernanceStatuses,\n);\nexport type MaestroAppServerNetworkGovernanceStatus =\n\t(typeof maestroAppServerNetworkGovernanceStatuses)[number];\n\nexport const MaestroAppServerNetworkAuditRecordSchema = Type.Object({\n\tid: Type.String(),\n\tmethod: Type.String(),\n\turl: Type.String(),\n\thost: Type.String(),\n\tallowed: Type.Boolean(),\n\tstatus: MaestroAppServerNetworkGovernanceStatusSchema,\n\treason: Type.Optional(Type.String()),\n\tstatusCode: Type.Optional(Type.Number()),\n\tstartedAt: Type.String(),\n\tcompletedAt: Type.String(),\n});\nexport type MaestroAppServerNetworkAuditRecord = Static<\n\ttypeof MaestroAppServerNetworkAuditRecordSchema\n>;\n\nexport const MaestroAppServerNetworkFetchResultSchema = Type.Object({\n\tallowed: Type.Boolean(),\n\tstatus: MaestroAppServerNetworkGovernanceStatusSchema,\n\treason: Type.Optional(Type.String()),\n\tstatusCode: Type.Optional(Type.Number()),\n\theaders: Type.Optional(Type.Record(Type.String(), Type.String())),\n\tbodyBase64: Type.Optional(Type.String()),\n\taudit: MaestroAppServerNetworkAuditRecordSchema,\n});\nexport type MaestroAppServerNetworkFetchResult = Static<\n\ttypeof MaestroAppServerNetworkFetchResultSchema\n>;\n\nexport const MaestroAppServerNetworkAuditListResultSchema = Type.Object({\n\taudit: Type.Array(MaestroAppServerNetworkAuditRecordSchema),\n\tnextCursor: Type.Union([Type.String(), Type.Null()]),\n});\nexport type MaestroAppServerNetworkAuditListResult = Static<\n\ttypeof MaestroAppServerNetworkAuditListResultSchema\n>;\n\nexport const maestroAppServerSandboxTypes = [\n\t\"seatbelt\",\n\t\"landlock\",\n\t\"none\",\n] as const;\nexport const MaestroAppServerSandboxTypeSchema = stringLiteralUnion(\n\tmaestroAppServerSandboxTypes,\n);\nexport type MaestroAppServerSandboxType =\n\t(typeof maestroAppServerSandboxTypes)[number];\n\nexport const maestroAppServerSandboxCheckModes = [\n\t\"read-only\",\n\t\"workspace-write\",\n] as const;\nexport const MaestroAppServerSandboxCheckModeSchema = stringLiteralUnion(\n\tmaestroAppServerSandboxCheckModes,\n);\nexport type MaestroAppServerSandboxCheckMode =\n\t(typeof maestroAppServerSandboxCheckModes)[number];\n\nexport const MaestroAppServerSandboxProbeResultSchema = Type.Object({\n\tavailable: Type.Boolean(),\n\ttype: MaestroAppServerSandboxTypeSchema,\n\tplatform: Type.String(),\n\tsupportedModes: Type.Array(MaestroAppServerSandboxCheckModeSchema),\n\tcheckAvailable: Type.Boolean(),\n});\nexport type MaestroAppServerSandboxProbeResult = Static<\n\ttypeof MaestroAppServerSandboxProbeResultSchema\n>;\n\nexport const MaestroAppServerSandboxCheckItemSchema = Type.Object({\n\tname: Type.String(),\n\tpassed: Type.Boolean(),\n\tdetail: Type.String(),\n});\nexport type MaestroAppServerSandboxCheckItem = Static<\n\ttypeof MaestroAppServerSandboxCheckItemSchema\n>;\n\nexport const MaestroAppServerSandboxCheckResultSchema = Type.Object({\n\tmode: MaestroAppServerSandboxCheckModeSchema,\n\tavailable: Type.Boolean(),\n\ttype: MaestroAppServerSandboxTypeSchema,\n\tpassed: Type.Boolean(),\n\tskippedReason: Type.Optional(Type.String()),\n\tchecks: Type.Array(MaestroAppServerSandboxCheckItemSchema),\n});\nexport type MaestroAppServerSandboxCheckResult = Static<\n\ttypeof MaestroAppServerSandboxCheckResultSchema\n>;\n\nexport const maestroAppServerExternalAgentArtifactKinds = [\n\t\"session\",\n\t\"config\",\n\t\"hooks\",\n\t\"mcp\",\n\t\"skill\",\n] as const;\nexport const MaestroAppServerExternalAgentArtifactKindSchema =\n\tstringLiteralUnion(maestroAppServerExternalAgentArtifactKinds);\nexport type MaestroAppServerExternalAgentArtifactKind =\n\t(typeof maestroAppServerExternalAgentArtifactKinds)[number];\n\nexport const maestroAppServerExternalAgentImportStatuses = [\n\t\"planned\",\n\t\"imported\",\n\t\"skipped\",\n] as const;\nexport const MaestroAppServerExternalAgentImportStatusSchema =\n\tstringLiteralUnion(maestroAppServerExternalAgentImportStatuses);\nexport type MaestroAppServerExternalAgentImportStatus =\n\t(typeof maestroAppServerExternalAgentImportStatuses)[number];\n\nexport const maestroAppServerExternalAgentImportScopes = [\n\t\"project\",\n\t\"local\",\n\t\"user\",\n] as const;\nexport const MaestroAppServerExternalAgentImportScopeSchema =\n\tstringLiteralUnion(maestroAppServerExternalAgentImportScopes);\nexport type MaestroAppServerExternalAgentImportScope =\n\t(typeof maestroAppServerExternalAgentImportScopes)[number];\n\nexport const MaestroAppServerExternalAgentImportedArtifactSchema = Type.Object({\n\tkind: MaestroAppServerExternalAgentArtifactKindSchema,\n\tstatus: MaestroAppServerExternalAgentImportStatusSchema,\n\tscope: Type.Optional(MaestroAppServerExternalAgentImportScopeSchema),\n\tid: Type.Optional(Type.String()),\n\tpath: Type.Optional(Type.String()),\n\tmessage: Type.Optional(Type.String()),\n});\nexport type MaestroAppServerExternalAgentImportedArtifact = Static<\n\ttypeof MaestroAppServerExternalAgentImportedArtifactSchema\n>;\n\nexport const MaestroAppServerExternalAgentImportResultSchema = Type.Object({\n\tsource: Type.Object({\n\t\tname: Type.String(),\n\t\ttype: Type.Optional(Type.String()),\n\t}),\n\tdryRun: Type.Boolean(),\n\timported: Type.Array(MaestroAppServerExternalAgentImportedArtifactSchema),\n\twarnings: Type.Array(Type.String()),\n});\nexport type MaestroAppServerExternalAgentImportResult = Static<\n\ttypeof MaestroAppServerExternalAgentImportResultSchema\n>;\n\nexport const maestroAppServerPluginBundleScopes = [\n\t\"project\",\n\t\"local\",\n\t\"user\",\n] as const;\nexport const MaestroAppServerPluginBundleScopeSchema = stringLiteralUnion(\n\tmaestroAppServerPluginBundleScopes,\n);\nexport type MaestroAppServerPluginBundleScope =\n\t(typeof maestroAppServerPluginBundleScopes)[number];\n\nexport const MaestroAppServerPluginBundleSchema = Type.Object({\n\tsource: Type.String(),\n\tscope: MaestroAppServerPluginBundleScopeSchema,\n\tconfigPath: Type.String(),\n});\nexport type MaestroAppServerPluginBundle = Static<\n\ttypeof MaestroAppServerPluginBundleSchema\n>;\n\nexport const MaestroAppServerPluginBundleResourcesSchema = Type.Object({\n\textensions: Type.Object({\n\t\tuser: Type.Array(Type.String()),\n\t\tproject: Type.Array(Type.String()),\n\t}),\n\tskills: Type.Object({\n\t\tuser: Type.Array(Type.String()),\n\t\tproject: Type.Array(Type.String()),\n\t}),\n\tprompts: Type.Object({\n\t\tuser: Type.Array(Type.String()),\n\t\tproject: Type.Array(Type.String()),\n\t}),\n\tthemes: Type.Object({\n\t\tuser: Type.Array(Type.String()),\n\t\tproject: Type.Array(Type.String()),\n\t}),\n});\nexport type MaestroAppServerPluginBundleResources = Static<\n\ttypeof MaestroAppServerPluginBundleResourcesSchema\n>;\n\nexport const MaestroAppServerPluginBundleListResultSchema = Type.Object({\n\tbundles: Type.Array(MaestroAppServerPluginBundleSchema),\n\tresources: MaestroAppServerPluginBundleResourcesSchema,\n\terrors: Type.Array(Type.String()),\n});\nexport type MaestroAppServerPluginBundleListResult = Static<\n\ttypeof MaestroAppServerPluginBundleListResultSchema\n>;\n\nexport const MaestroAppServerPluginBundleMutationResultSchema = Type.Object({\n\tsource: Type.String(),\n\tscope: MaestroAppServerPluginBundleScopeSchema,\n\tconfigPath: Type.String(),\n\tchanged: Type.Boolean(),\n\tmessage: Type.String(),\n});\nexport type MaestroAppServerPluginBundleMutationResult = Static<\n\ttypeof MaestroAppServerPluginBundleMutationResultSchema\n>;\n\nexport const maestroAppServerProtocolModeIds = [\n\t\"standard\",\n\t\"review\",\n\t\"realtime\",\n] as const;\nexport const MaestroAppServerProtocolModeIdSchema = stringLiteralUnion(\n\tmaestroAppServerProtocolModeIds,\n);\nexport type MaestroAppServerProtocolModeId =\n\t(typeof maestroAppServerProtocolModeIds)[number];\n\nexport const MaestroAppServerProtocolModeSchema = Type.Object({\n\tid: MaestroAppServerProtocolModeIdSchema,\n\tlabel: Type.String(),\n\treadOnly: Type.Boolean(),\n\trealtime: Type.Boolean(),\n\tallowedMethods: Type.Array(Type.String()),\n\tblockedMethods: Type.Array(Type.String()),\n\tserverNotifications: Type.Array(Type.String()),\n});\nexport type MaestroAppServerProtocolMode = Static<\n\ttypeof MaestroAppServerProtocolModeSchema\n>;\n\nexport const MaestroAppServerProtocolModeListResultSchema = Type.Object({\n\tactiveMode: MaestroAppServerProtocolModeIdSchema,\n\tdefaultMode: MaestroAppServerProtocolModeIdSchema,\n\tmodes: Type.Array(MaestroAppServerProtocolModeSchema),\n});\nexport type MaestroAppServerProtocolModeListResult = Static<\n\ttypeof MaestroAppServerProtocolModeListResultSchema\n>;\n\nexport const MaestroAppServerProtocolModeSetResultSchema = Type.Object({\n\tactiveMode: MaestroAppServerProtocolModeIdSchema,\n\tmode: MaestroAppServerProtocolModeSchema,\n});\nexport type MaestroAppServerProtocolModeSetResult = Static<\n\ttypeof MaestroAppServerProtocolModeSetResultSchema\n>;\n\nexport const maestroAppServerRemoteControlStatuses = [\n\t\"unavailable\",\n\t\"ready\",\n\t\"draining\",\n] as const;\nexport const MaestroAppServerRemoteControlStatusSchema = stringLiteralUnion(\n\tmaestroAppServerRemoteControlStatuses,\n);\nexport type MaestroAppServerRemoteControlStatus =\n\t(typeof maestroAppServerRemoteControlStatuses)[number];\n\nexport const maestroAppServerRemoteControlLeaseStates = [\n\t\"unbound\",\n\t\"bound\",\n\t\"draining\",\n] as const;\nexport const MaestroAppServerRemoteControlLeaseStateSchema = stringLiteralUnion(\n\tmaestroAppServerRemoteControlLeaseStates,\n);\nexport type MaestroAppServerRemoteControlLeaseState =\n\t(typeof maestroAppServerRemoteControlLeaseStates)[number];\n\nexport const MaestroAppServerRemoteControlLeaseSchema = Type.Object({\n\tprotocolVersion: Type.String(),\n\trunnerSessionId: Type.String(),\n\townerInstanceId: Type.Optional(Type.String()),\n\tworkspaceId: Type.Optional(Type.String()),\n\tagentId: Type.Optional(Type.String()),\n\tagentRunId: Type.Optional(Type.String()),\n\tmaestroSessionId: Type.Optional(Type.String()),\n\tconfiguredMaestroSessionId: Type.Optional(Type.String()),\n\tstate: MaestroAppServerRemoteControlLeaseStateSchema,\n\tgeneration: Type.Number(),\n\theartbeatAt: Type.String(),\n\tupdatedAt: Type.String(),\n\tleaseTokenPresent: Type.Boolean(),\n});\nexport type MaestroAppServerRemoteControlLease = Static<\n\ttypeof MaestroAppServerRemoteControlLeaseSchema\n>;\n\nexport const MaestroAppServerRemoteControlLastDrainSchema = Type.Object({\n\tstatus: Type.String(),\n\tmanifestPath: Type.String(),\n\tdrainedAt: Type.String(),\n\treason: Type.Optional(Type.String()),\n\trequestedBy: Type.Optional(Type.String()),\n});\nexport type MaestroAppServerRemoteControlLastDrain = Static<\n\ttypeof MaestroAppServerRemoteControlLastDrainSchema\n>;\n\nexport const MaestroAppServerRemoteControlStatusResultSchema = Type.Object({\n\tavailable: Type.Boolean(),\n\tstatus: MaestroAppServerRemoteControlStatusSchema,\n\trunnerSessionId: Type.Optional(Type.String()),\n\townerInstanceId: Type.Optional(Type.String()),\n\tworkspaceRoot: Type.Optional(Type.String()),\n\tsnapshotRoot: Type.Optional(Type.String()),\n\tworkspaceId: Type.Optional(Type.String()),\n\tagentId: Type.Optional(Type.String()),\n\tagentRunId: Type.Optional(Type.String()),\n\ta2aMessageId: Type.Optional(Type.String()),\n\ta2aTaskId: Type.Optional(Type.String()),\n\tagentRuntimeWorkerQueue: Type.Optional(Type.String()),\n\tagentRuntimeCorrelationPath: Type.Optional(Type.String()),\n\tmaestroSessionId: Type.Optional(Type.String()),\n\tlastDrain: Type.Optional(MaestroAppServerRemoteControlLastDrainSchema),\n\tlease: Type.Union([MaestroAppServerRemoteControlLeaseSchema, Type.Null()]),\n\terror: Type.Optional(Type.String()),\n});\nexport type MaestroAppServerRemoteControlStatusResult = Static<\n\ttypeof MaestroAppServerRemoteControlStatusResultSchema\n>;\n\nexport const MaestroAppServerDaemonProcessSchema = Type.Object({\n\tpid: Type.Number(),\n\tppid: Type.Number(),\n\tplatform: Type.String(),\n\tarch: Type.String(),\n\tnodeVersion: Type.String(),\n\tcwd: Type.String(),\n\tuptimeMs: Type.Number(),\n});\nexport type MaestroAppServerDaemonProcess = Static<\n\ttypeof MaestroAppServerDaemonProcessSchema\n>;\n\nexport const MaestroAppServerDaemonStatusResultSchema = Type.Object({\n\tdaemon: MaestroAppServerDaemonProcessSchema,\n\tremoteControl: MaestroAppServerRemoteControlStatusResultSchema,\n});\nexport type MaestroAppServerDaemonStatusResult = Static<\n\ttypeof MaestroAppServerDaemonStatusResultSchema\n>;\n\nexport const MaestroAppServerRemoteControlLeaseResultSchema = Type.Object({\n\tavailable: Type.Boolean(),\n\tlease: Type.Union([MaestroAppServerRemoteControlLeaseSchema, Type.Null()]),\n});\nexport type MaestroAppServerRemoteControlLeaseResult = Static<\n\ttypeof MaestroAppServerRemoteControlLeaseResultSchema\n>;\n\nexport const MaestroAppServerRemoteControlDrainResultSchema = Type.Object({\n\tdrained: Type.Boolean(),\n\tstatus: Type.String(),\n\trunnerSessionId: Type.String(),\n\treason: Type.Optional(Type.String()),\n\trequestedBy: Type.Optional(Type.String()),\n\tmanifestPath: Type.String(),\n\tmanifest: Type.Unknown(),\n\tremoteControl: MaestroAppServerRemoteControlStatusResultSchema,\n});\nexport type MaestroAppServerRemoteControlDrainResult = Static<\n\ttypeof MaestroAppServerRemoteControlDrainResultSchema\n>;\n\nexport const MaestroAppServerEmptyResultSchema = Type.Object(\n\t{},\n\t{ additionalProperties: false },\n);\nexport type MaestroAppServerEmptyResult = Static<\n\ttypeof MaestroAppServerEmptyResultSchema\n>;\n\nexport const MaestroAppServerCommandExecResultSchema = Type.Object({\n\tstdout: Type.String(),\n\tstderr: Type.String(),\n\texitCode: Type.Number(),\n});\nexport type MaestroAppServerCommandExecResult = Static<\n\ttypeof MaestroAppServerCommandExecResultSchema\n>;\n\nexport const MaestroAppServerCommandProcessResultSchema = Type.Object({\n\tprocessId: Type.String(),\n});\nexport type MaestroAppServerCommandProcessResult = Static<\n\ttypeof MaestroAppServerCommandProcessResultSchema\n>;\n\nexport const MaestroAppServerFsReadFileResultSchema = Type.Object({\n\tdataBase64: Type.String(),\n});\nexport type MaestroAppServerFsReadFileResult = Static<\n\ttypeof MaestroAppServerFsReadFileResultSchema\n>;\n\nexport const MaestroAppServerFsReadDirectoryEntrySchema = Type.Object({\n\tfileName: Type.String(),\n\tisDirectory: Type.Boolean(),\n\tisFile: Type.Boolean(),\n});\nexport type MaestroAppServerFsReadDirectoryEntry = Static<\n\ttypeof MaestroAppServerFsReadDirectoryEntrySchema\n>;\n\nexport const MaestroAppServerFsReadDirectoryResultSchema = Type.Object({\n\tentries: Type.Array(MaestroAppServerFsReadDirectoryEntrySchema),\n});\nexport type MaestroAppServerFsReadDirectoryResult = Static<\n\ttypeof MaestroAppServerFsReadDirectoryResultSchema\n>;\n\nexport const MaestroAppServerFsMetadataResultSchema = Type.Object({\n\tcreatedAtMs: Type.Number(),\n\tmodifiedAtMs: Type.Number(),\n\tisDirectory: Type.Boolean(),\n\tisFile: Type.Boolean(),\n\tisSymlink: Type.Boolean(),\n});\nexport type MaestroAppServerFsMetadataResult = Static<\n\ttypeof MaestroAppServerFsMetadataResultSchema\n>;\n\nexport const MaestroAppServerFsWatchResultSchema = Type.Object({\n\twatchId: Type.String(),\n\tpath: Type.String(),\n});\nexport type MaestroAppServerFsWatchResult = Static<\n\ttypeof MaestroAppServerFsWatchResultSchema\n>;\n\nexport const MaestroAppServerFsChangedNotificationParamsSchema = Type.Object({\n\twatchId: Type.String(),\n\tchangedPaths: Type.Array(Type.String()),\n});\nexport type MaestroAppServerFsChangedNotificationParams = Static<\n\ttypeof MaestroAppServerFsChangedNotificationParamsSchema\n>;\n\nexport const MaestroAppServerThreadStartResultSchema = Type.Object({\n\tthread: MaestroAppServerThreadSummarySchema,\n});\nexport type MaestroAppServerThreadStartResult = Static<\n\ttypeof MaestroAppServerThreadStartResultSchema\n>;\n\nexport const MaestroAppServerThreadForkResultSchema = Type.Object({\n\tthread: MaestroAppServerThreadSummarySchema,\n\tparentThreadId: Type.String(),\n\tforkedFromEntryId: Type.String(),\n});\nexport type MaestroAppServerThreadForkResult = Static<\n\ttypeof MaestroAppServerThreadForkResultSchema\n>;\n\nexport const MaestroAppServerThreadArchiveResultSchema = Type.Object({\n\tthread: MaestroAppServerThreadSummarySchema,\n\tarchived: Type.Boolean(),\n});\nexport type MaestroAppServerThreadArchiveResult = Static<\n\ttypeof MaestroAppServerThreadArchiveResultSchema\n>;\n\nexport const MaestroAppServerThreadDeleteResultSchema = Type.Object({\n\tthreadId: Type.String(),\n\tdeleted: Type.Boolean(),\n});\nexport type MaestroAppServerThreadDeleteResult = Static<\n\ttypeof MaestroAppServerThreadDeleteResultSchema\n>;\n\nexport const MaestroAppServerModelCapabilitiesSchema = Type.Object({\n\tstreaming: Type.Boolean(),\n\ttools: Type.Boolean(),\n\tvision: Type.Boolean(),\n\treasoning: Type.Boolean(),\n\tresponsesApi: Type.Boolean(),\n\tcodexBackend: Type.Boolean(),\n\tlocal: Type.Boolean(),\n});\nexport const MaestroAppServerReasoningEffortSchema = Type.Union([\n\tType.Literal(\"minimal\"),\n\tType.Literal(\"low\"),\n\tType.Literal(\"medium\"),\n\tType.Literal(\"high\"),\n\tType.Literal(\"ultra\"),\n]);\nexport const MaestroAppServerModelSchema = Type.Object({\n\tid: Type.String(),\n\tprovider: Type.String(),\n\tname: Type.String(),\n\tapi: Type.String(),\n\tcontextWindow: Type.Optional(Type.Number()),\n\tmaxTokens: Type.Optional(Type.Number()),\n\tcost: Type.Optional(Type.Record(Type.String(), Type.Number())),\n\tsource: Type.Optional(\n\t\tType.Union([Type.Literal(\"builtin\"), Type.Literal(\"custom\")]),\n\t),\n\tsupportedReasoningEfforts: Type.Optional(\n\t\tType.Array(MaestroAppServerReasoningEffortSchema),\n\t),\n\tdefaultReasoningEffort: Type.Optional(MaestroAppServerReasoningEffortSchema),\n\tcapabilities: MaestroAppServerModelCapabilitiesSchema,\n});\nexport type MaestroAppServerModel = Static<typeof MaestroAppServerModelSchema>;\n\nexport const MaestroAppServerModelListResultSchema = Type.Object({\n\tmodels: Type.Array(MaestroAppServerModelSchema),\n});\nexport type MaestroAppServerModelListResult = Static<\n\ttypeof MaestroAppServerModelListResultSchema\n>;\n\nexport const MaestroAppServerModelProviderCapabilitiesSchema = Type.Object({\n\tid: Type.String(),\n\tname: Type.String(),\n\tapis: Type.Array(Type.String()),\n\tmodelCount: Type.Number(),\n\tcapabilities: MaestroAppServerModelCapabilitiesSchema,\n});\nexport type MaestroAppServerModelProviderCapabilities = Static<\n\ttypeof MaestroAppServerModelProviderCapabilitiesSchema\n>;\n\nexport const MaestroAppServerModelProviderCapabilitiesReadResultSchema =\n\tType.Object({\n\t\tproviders: Type.Array(MaestroAppServerModelProviderCapabilitiesSchema),\n\t});\nexport type MaestroAppServerModelProviderCapabilitiesReadResult = Static<\n\ttypeof MaestroAppServerModelProviderCapabilitiesReadResultSchema\n>;\n\nexport const MaestroAppServerResponseSchema = Type.Object({\n\tjsonrpc: Type.Literal(\"2.0\"),\n\tid: MaestroAppServerJsonRpcResponseIdSchema,\n\tresult: Type.Optional(\n\t\tType.Union([\n\t\t\tMaestroAppServerInitializeResultSchema,\n\t\t\tMaestroAppServerModelListResultSchema,\n\t\t\tMaestroAppServerModelProviderCapabilitiesReadResultSchema,\n\t\t\tMaestroAppServerPolicyReadResultSchema,\n\t\t\tMaestroAppServerPolicyCheckResultSchema,\n\t\t\tMaestroAppServerRequirementsListResultSchema,\n\t\t\tMaestroAppServerNetworkFetchResultSchema,\n\t\t\tMaestroAppServerNetworkAuditListResultSchema,\n\t\t\tMaestroAppServerSandboxProbeResultSchema,\n\t\t\tMaestroAppServerSandboxCheckResultSchema,\n\t\t\tMaestroAppServerExternalAgentImportResultSchema,\n\t\t\tMaestroAppServerPluginBundleListResultSchema,\n\t\t\tMaestroAppServerPluginBundleMutationResultSchema,\n\t\t\tMaestroAppServerProtocolModeListResultSchema,\n\t\t\tMaestroAppServerProtocolModeSetResultSchema,\n\t\t\tMaestroAppServerDaemonStatusResultSchema,\n\t\t\tMaestroAppServerRemoteControlStatusResultSchema,\n\t\t\tMaestroAppServerRemoteControlLeaseResultSchema,\n\t\t\tMaestroAppServerRemoteControlDrainResultSchema,\n\t\t\tMaestroAppServerCommandExecResultSchema,\n\t\t\tMaestroAppServerCommandProcessResultSchema,\n\t\t\tMaestroAppServerFsReadFileResultSchema,\n\t\t\tMaestroAppServerFsReadDirectoryResultSchema,\n\t\t\tMaestroAppServerFsMetadataResultSchema,\n\t\t\tMaestroAppServerFsWatchResultSchema,\n\t\t\tMaestroAppServerEmptyResultSchema,\n\t\t\tMaestroAppServerThreadListResultSchema,\n\t\t\tMaestroAppServerThreadReadResultSchema,\n\t\t\tMaestroAppServerThreadMetadataUpdateResultSchema,\n\t\t\tMaestroAppServerThreadGoalResultSchema,\n\t\t\tMaestroAppServerTurnsListResultSchema,\n\t\t\tMaestroAppServerThreadStartResultSchema,\n\t\t\tMaestroAppServerThreadForkResultSchema,\n\t\t\tMaestroAppServerThreadArchiveResultSchema,\n\t\t\tMaestroAppServerThreadDeleteResultSchema,\n\t\t]),\n\t),\n\terror: Type.Optional(\n\t\tType.Object({\n\t\t\tcode: Type.Number(),\n\t\t\tmessage: Type.String(),\n\t\t}),\n\t),\n});\nexport type MaestroAppServerResponse = Static<\n\ttypeof MaestroAppServerResponseSchema\n>;\n\nexport const MaestroAppServerServerNotificationSchema = Type.Object({\n\tjsonrpc: Type.Literal(\"2.0\"),\n\tmethod: stringLiteralUnion(maestroAppServerServerMethods),\n\tparams: Type.Optional(MaestroAppServerFsChangedNotificationParamsSchema),\n});\nexport type MaestroAppServerServerNotification = Static<\n\ttypeof MaestroAppServerServerNotificationSchema\n>;\n"]}
|
|
1
|
+
{"version":3,"file":"maestro-app-server.js","sourceRoot":"","sources":["../src/maestro-app-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,CAAC,MAAM,+BAA+B,GAAG,uBAAgC,CAAC;AAChF,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACxD,+BAA+B;CACtB,CAAC;AAEX,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC5C,YAAY;IACZ,oBAAoB;IACpB,mBAAmB;IACnB,YAAY;IACZ,iCAAiC;IACjC,aAAa;IACb,cAAc;IACd,mBAAmB;IACnB,eAAe;IACf,oBAAoB;IACpB,eAAe;IACf,mBAAmB;IACnB,sBAAsB;IACtB,mBAAmB;IACnB,sBAAsB;IACtB,qBAAqB;IACrB,eAAe;IACf,sBAAsB;IACtB,0BAA0B;IAC1B,+BAA+B;IAC/B,qBAAqB;IACrB,cAAc;IACd,oBAAoB;IACpB,wBAAwB;IACxB,aAAa;IACb,cAAc;IACd,kBAAkB;IAClB,gBAAgB;IAChB,oBAAoB;IACpB,WAAW;IACX,SAAS;IACT,UAAU;IACV,YAAY;IACZ,aAAa;IACb,aAAa;IACb,wBAAwB;IACxB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,mBAAmB;IACnB,cAAc;IACd,aAAa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I,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,EAAE,EAAE,uCAAuC;IAC3C,MAAM,EAAE,IAAI,CAAC,QAAQ,CACpB,IAAI,CAAC,KAAK,CAAC;QACV,sCAAsC;QACtC,qCAAqC;QACrC,yDAAyD;QACzD,sCAAsC;QACtC,uCAAuC;QACvC,4CAA4C;QAC5C,wCAAwC;QACxC,4CAA4C;QAC5C,wCAAwC;QACxC,wCAAwC;QACxC,+CAA+C;QAC/C,4CAA4C;QAC5C,gDAAgD;QAChD,4CAA4C;QAC5C,2CAA2C;QAC3C,wCAAwC;QACxC,+CAA+C;QAC/C,8CAA8C;QAC9C,8CAA8C;QAC9C,uCAAuC;QACvC,0CAA0C;QAC1C,sCAAsC;QACtC,2CAA2C;QAC3C,sCAAsC;QACtC,mCAAmC;QACnC,iCAAiC;QACjC,sCAAsC;QACtC,sCAAsC;QACtC,gDAAgD;QAChD,sCAAsC;QACtC,qCAAqC;QACrC,uCAAuC;QACvC,sCAAsC;QACtC,yCAAyC;QACzC,wCAAwC;KACxC,CAAC,CACF;IACD,KAAK,EAAE,IAAI,CAAC,QAAQ,CACnB,IAAI,CAAC,MAAM,CAAC;QACX,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE;KACtB,CAAC,CACF;CACD,CAAC,CAAC;AAKH,MAAM,CAAC,MAAM,wCAAwC,GAAG,IAAI,CAAC,MAAM,CAAC;IACnE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,MAAM,EAAE,kBAAkB,CAAC,6BAA6B,CAAC;IACzD,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,iDAAiD,CAAC;CACxE,CAAC,CAAC","sourcesContent":["import { type Static, Type } from \"@sinclair/typebox\";\nimport { stringLiteralUnion } from \"./typebox-utils.js\";\n\nexport const maestroAppServerProtocolVersion = \"maestro-app-server.v3\" as const;\nexport const maestroAppServerSupportedProtocolVersions = [\n\tmaestroAppServerProtocolVersion,\n] as const;\n\nexport const maestroAppServerClientMethods = [\n\t\"initialize\",\n\t\"protocol/mode/list\",\n\t\"protocol/mode/set\",\n\t\"model/list\",\n\t\"modelProvider/capabilities/read\",\n\t\"policy/read\",\n\t\"policy/check\",\n\t\"requirements/list\",\n\t\"network/fetch\",\n\t\"network/audit/list\",\n\t\"sandbox/probe\",\n\t\"sandbox/check/run\",\n\t\"externalAgent/import\",\n\t\"pluginBundle/list\",\n\t\"pluginBundle/install\",\n\t\"pluginBundle/remove\",\n\t\"daemon/status\",\n\t\"remoteControl/status\",\n\t\"remoteControl/lease/read\",\n\t\"remoteControl/lease/heartbeat\",\n\t\"remoteControl/drain\",\n\t\"command/exec\",\n\t\"command/exec/write\",\n\t\"command/exec/terminate\",\n\t\"fs/readFile\",\n\t\"fs/writeFile\",\n\t\"fs/readDirectory\",\n\t\"fs/getMetadata\",\n\t\"fs/createDirectory\",\n\t\"fs/remove\",\n\t\"fs/copy\",\n\t\"fs/watch\",\n\t\"fs/unwatch\",\n\t\"thread/list\",\n\t\"thread/read\",\n\t\"thread/metadata/update\",\n\t\"thread/name/set\",\n\t\"thread/goal/get\",\n\t\"thread/goal/set\",\n\t\"thread/goal/clear\",\n\t\"thread/start\",\n\t\"thread/fork\",\n\t\"thread/archive\",\n\t\"thread/unarchive\",\n\t\"thread/delete\",\n\t\"thread/turns/list\",\n] as const;\nexport type MaestroAppServerClientMethod =\n\t(typeof maestroAppServerClientMethods)[number];\n\nexport const maestroAppServerServerMethods = [\"fs/changed\"] as const;\nexport type MaestroAppServerServerMethod =\n\t(typeof maestroAppServerServerMethods)[number];\n\nexport const maestroAppServerThreadStatuses = [\n\t\"notLoaded\",\n\t\"loaded\",\n\t\"running\",\n\t\"interrupted\",\n\t\"completed\",\n\t\"archived\",\n] as const;\nexport type MaestroAppServerThreadStatus =\n\t(typeof maestroAppServerThreadStatuses)[number];\n\nexport const maestroAppServerTurnStatuses = [\n\t\"completed\",\n\t\"running\",\n\t\"interrupted\",\n\t\"failed\",\n] as const;\nexport type MaestroAppServerTurnStatus =\n\t(typeof maestroAppServerTurnStatuses)[number];\n\nexport const MaestroAppServerJsonRpcIdSchema = Type.Union([\n\tType.String(),\n\tType.Number(),\n]);\nconst MaestroAppServerJsonRpcResponseIdSchema = Type.Union([\n\tMaestroAppServerJsonRpcIdSchema,\n\tType.Null(),\n]);\n\nexport const MaestroAppServerClientRequestSchema = Type.Object({\n\tjsonrpc: Type.Literal(\"2.0\"),\n\tid: MaestroAppServerJsonRpcIdSchema,\n\tmethod: Type.String(),\n\tparams: Type.Optional(Type.Record(Type.String(), Type.Unknown())),\n});\nexport type MaestroAppServerClientRequest = Static<\n\ttypeof MaestroAppServerClientRequestSchema\n>;\n\nexport const MaestroAppServerCapabilitiesSchema = Type.Object({\n\tsessions: Type.Boolean(),\n\tprotocolModes: Type.Boolean(),\n\tmodelList: Type.Boolean(),\n\tmodelProviderCapabilities: Type.Boolean(),\n\tmanagedPolicy: Type.Boolean(),\n\trequirements: Type.Boolean(),\n\tnetworkProxy: Type.Boolean(),\n\tnetworkAudit: Type.Boolean(),\n\tsandboxProbe: Type.Boolean(),\n\tsandboxCheck: Type.Boolean(),\n\texternalAgentImport: Type.Boolean(),\n\tpluginBundles: Type.Boolean(),\n\tdaemonStatus: Type.Boolean(),\n\tremoteControlStatus: Type.Boolean(),\n\tremoteControlLease: Type.Boolean(),\n\tremoteControlDrain: Type.Boolean(),\n\tcommandExec: Type.Boolean(),\n\tcommandProcessControl: Type.Boolean(),\n\tfilesystem: Type.Boolean(),\n\tfilesystemWatch: Type.Boolean(),\n\tthreadList: Type.Boolean(),\n\tthreadRead: Type.Boolean(),\n\tthreadMetadataUpdate: Type.Boolean(),\n\tthreadNameSet: Type.Boolean(),\n\tthreadGoals: Type.Boolean(),\n\tthreadStart: Type.Boolean(),\n\tthreadFork: Type.Boolean(),\n\tthreadArchive: Type.Boolean(),\n\tthreadDelete: Type.Boolean(),\n\tturnsList: Type.Boolean(),\n});\nexport type MaestroAppServerCapabilities = Static<\n\ttypeof MaestroAppServerCapabilitiesSchema\n>;\n\nexport const MaestroAppServerInitializeResultSchema = Type.Object({\n\tprotocolVersion: Type.Literal(maestroAppServerProtocolVersion),\n\tsupportedProtocolVersions: Type.Optional(\n\t\tType.Array(stringLiteralUnion(maestroAppServerSupportedProtocolVersions)),\n\t),\n\tserverInfo: Type.Object({\n\t\tname: Type.String(),\n\t\tversion: Type.Optional(Type.String()),\n\t}),\n\tcapabilities: MaestroAppServerCapabilitiesSchema,\n});\nexport type MaestroAppServerInitializeResult = Static<\n\ttypeof MaestroAppServerInitializeResultSchema\n>;\n\nexport const MaestroAppServerThreadStatusSchema = stringLiteralUnion(\n\tmaestroAppServerThreadStatuses,\n);\nexport const MaestroAppServerTurnStatusSchema = stringLiteralUnion(\n\tmaestroAppServerTurnStatuses,\n);\n\nexport const MaestroAppServerThreadSummarySchema = Type.Object({\n\tid: Type.String(),\n\tsource: Type.Literal(\"session\"),\n\tstatus: MaestroAppServerThreadStatusSchema,\n\ttitle: Type.Optional(Type.String()),\n\tsummary: Type.Optional(Type.String()),\n\tresumeSummary: Type.Optional(Type.String()),\n\tmemoryExtractionHash: Type.Optional(Type.String()),\n\tsubject: Type.Optional(Type.String()),\n\tpath: Type.Optional(Type.String()),\n\tcreatedAt: Type.String(),\n\tupdatedAt: Type.String(),\n\tmessageCount: Type.Number(),\n\tfavorite: Type.Boolean(),\n\ttags: Type.Optional(Type.Array(Type.String())),\n\tarchived: Type.Optional(Type.Boolean()),\n\tarchivedAt: Type.Optional(Type.String()),\n});\nexport type MaestroAppServerThreadSummary = Static<\n\ttypeof MaestroAppServerThreadSummarySchema\n>;\n\nexport const MaestroAppServerThreadGoalStatuses = [\n\t\"active\",\n\t\"complete\",\n\t\"cancelled\",\n] as const;\nexport const MaestroAppServerThreadGoalStatusSchema = stringLiteralUnion(\n\tMaestroAppServerThreadGoalStatuses,\n);\nexport const MaestroAppServerThreadGoalSchema = Type.Object({\n\tobjective: Type.String(),\n\tstatus: MaestroAppServerThreadGoalStatusSchema,\n\ttokenBudget: Type.Optional(Type.Number()),\n\tcreatedAt: Type.String(),\n\tupdatedAt: Type.String(),\n});\nexport type MaestroAppServerThreadGoal = Static<\n\ttypeof MaestroAppServerThreadGoalSchema\n>;\n\nexport const MaestroAppServerThreadItemSchema = Type.Object({\n\tid: Type.String(),\n\ttype: Type.String(),\n\ttimestamp: Type.Optional(Type.String()),\n\tparentId: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\trole: Type.Optional(Type.String()),\n\tcontent: Type.Optional(Type.Unknown()),\n\tdata: Type.Optional(Type.Unknown()),\n});\nexport type MaestroAppServerThreadItem = Static<\n\ttypeof MaestroAppServerThreadItemSchema\n>;\n\nexport const MaestroAppServerCompactionSpanSchema = Type.Object({\n\tid: Type.String(),\n\tfirstKeptEntryId: Type.String(),\n\tsummary: Type.String(),\n\ttokensBefore: Type.Number(),\n\tsourceEntryIds: Type.Array(Type.String()),\n});\nexport type MaestroAppServerCompactionSpan = Static<\n\ttypeof MaestroAppServerCompactionSpanSchema\n>;\n\nexport const MaestroAppServerRevisionGroupSchema = Type.Object({\n\tparentEntryId: Type.Union([Type.String(), Type.Null()]),\n\tchildEntryIds: Type.Array(Type.String()),\n\tactiveChildEntryId: Type.Optional(Type.String()),\n});\n\nexport const MaestroAppServerAgentLineageOperationSchema = Type.Object({\n\tedgeId: Type.String(),\n\ttoolCallId: Type.String(),\n\toperation: Type.String(),\n\tstatus: Type.Optional(Type.String()),\n\tparentThreadId: Type.Optional(Type.String()),\n\tparentTurnId: Type.Optional(Type.String()),\n\tchildThreadId: Type.Optional(Type.String()),\n\tchildRunId: Type.String(),\n\ttimestamp: Type.String(),\n});\n\nexport const MaestroAppServerAgentLineageEdgeSchema = Type.Object({\n\tedgeId: Type.String(),\n\tparentThreadId: Type.Optional(Type.String()),\n\tparentTurnId: Type.Optional(Type.String()),\n\tchildThreadId: Type.Optional(Type.String()),\n\tchildRunId: Type.String(),\n\tspawnToolCallId: Type.Optional(Type.String()),\n\tlastToolCallId: Type.String(),\n\tlastOperation: Type.String(),\n\tstatus: Type.Optional(Type.String()),\n\tupdatedAt: Type.String(),\n});\n\nexport const MaestroAppServerAgentLineageSchema = Type.Object({\n\tedges: Type.Array(MaestroAppServerAgentLineageEdgeSchema),\n\toperations: Type.Array(MaestroAppServerAgentLineageOperationSchema),\n});\n\nexport const MaestroAppServerThreadGraphSchema = Type.Object({\n\tbranchId: Type.String(),\n\tleafEntryId: Type.Optional(Type.String()),\n\tactiveEntryIds: Type.Array(Type.String()),\n\tauthoritativeEntryIds: Type.Array(Type.String()),\n\tsupersededEntryIds: Type.Array(Type.String()),\n\trevisionGroups: Type.Array(MaestroAppServerRevisionGroupSchema),\n\tagentLineage: Type.Optional(MaestroAppServerAgentLineageSchema),\n\tcompactionSpans: Type.Array(MaestroAppServerCompactionSpanSchema),\n});\nexport type MaestroAppServerThreadGraph = Static<\n\ttypeof MaestroAppServerThreadGraphSchema\n>;\n\nexport const MaestroAppServerTurnSchema = Type.Object({\n\tid: Type.String(),\n\tparentTurnId: Type.Optional(Type.String()),\n\tstatus: MaestroAppServerTurnStatusSchema,\n\tstartedAt: Type.Optional(Type.String()),\n\tcompletedAt: Type.Optional(Type.String()),\n\tsourceEntryIds: Type.Optional(Type.Array(Type.String())),\n\ttoolCallIds: Type.Optional(Type.Array(Type.String())),\n\titems: Type.Array(MaestroAppServerThreadItemSchema),\n});\nexport type MaestroAppServerTurn = Static<typeof MaestroAppServerTurnSchema>;\n\nexport const MaestroAppServerThreadSchema = Type.Intersect([\n\tMaestroAppServerThreadSummarySchema,\n\tType.Object({\n\t\tmessagesView: Type.Union([\n\t\t\tType.Literal(\"full\"),\n\t\t\tType.Literal(\"summary\"),\n\t\t\tType.Literal(\"notLoaded\"),\n\t\t]),\n\t\tturns: Type.Optional(Type.Array(MaestroAppServerTurnSchema)),\n\t\thistory: Type.Optional(Type.Array(MaestroAppServerThreadItemSchema)),\n\t\tgraph: Type.Optional(MaestroAppServerThreadGraphSchema),\n\t}),\n]);\nexport type MaestroAppServerThread = Static<\n\ttypeof MaestroAppServerThreadSchema\n>;\n\nexport const MaestroAppServerThreadListResultSchema = Type.Object({\n\tthreads: Type.Array(MaestroAppServerThreadSummarySchema),\n\tnextCursor: Type.Union([Type.String(), Type.Null()]),\n});\nexport type MaestroAppServerThreadListResult = Static<\n\ttypeof MaestroAppServerThreadListResultSchema\n>;\n\nexport const MaestroAppServerThreadReadResultSchema = Type.Object({\n\tthread: MaestroAppServerThreadSchema,\n});\nexport type MaestroAppServerThreadReadResult = Static<\n\ttypeof MaestroAppServerThreadReadResultSchema\n>;\n\nexport const MaestroAppServerThreadMetadataUpdateResultSchema = Type.Object({\n\tthread: MaestroAppServerThreadSummarySchema,\n});\nexport type MaestroAppServerThreadMetadataUpdateResult = Static<\n\ttypeof MaestroAppServerThreadMetadataUpdateResultSchema\n>;\n\nexport const MaestroAppServerThreadGoalResultSchema = Type.Object({\n\tthreadId: Type.String(),\n\tgoal: Type.Union([MaestroAppServerThreadGoalSchema, Type.Null()]),\n});\nexport type MaestroAppServerThreadGoalResult = Static<\n\ttypeof MaestroAppServerThreadGoalResultSchema\n>;\n\nexport const MaestroAppServerTurnsListResultSchema = Type.Object({\n\tthreadId: Type.String(),\n\tturns: Type.Array(MaestroAppServerTurnSchema),\n\tnextCursor: Type.Union([Type.String(), Type.Null()]),\n\tgraph: Type.Optional(MaestroAppServerThreadGraphSchema),\n});\nexport type MaestroAppServerTurnsListResult = Static<\n\ttypeof MaestroAppServerTurnsListResultSchema\n>;\n\nexport const MaestroAppServerAllowedBlockedPolicySchema = Type.Object({\n\tallowed: Type.Optional(Type.Array(Type.String())),\n\tblocked: Type.Optional(Type.Array(Type.String())),\n});\nexport type MaestroAppServerAllowedBlockedPolicy = Static<\n\ttypeof MaestroAppServerAllowedBlockedPolicySchema\n>;\n\nexport const MaestroAppServerPolicySkillsSchema = Type.Object({\n\trequired: Type.Optional(Type.Array(Type.String())),\n});\nexport type MaestroAppServerPolicySkills = Static<\n\ttypeof MaestroAppServerPolicySkillsSchema\n>;\n\nexport const MaestroAppServerPolicyNetworkSchema = Type.Object({\n\tallowedHosts: Type.Optional(Type.Array(Type.String())),\n\tblockedHosts: Type.Optional(Type.Array(Type.String())),\n\tblockLocalhost: Type.Optional(Type.Boolean()),\n\tblockPrivateIPs: Type.Optional(Type.Boolean()),\n});\nexport type MaestroAppServerPolicyNetwork = Static<\n\ttypeof MaestroAppServerPolicyNetworkSchema\n>;\n\nexport const MaestroAppServerPolicyLimitsSchema = Type.Object({\n\tmaxTokensPerSession: Type.Optional(Type.Number()),\n\tmaxSessionDurationMinutes: Type.Optional(Type.Number()),\n\tmaxConcurrentSessions: Type.Optional(Type.Number()),\n});\nexport type MaestroAppServerPolicyLimits = Static<\n\ttypeof MaestroAppServerPolicyLimitsSchema\n>;\n\nexport const MaestroAppServerPolicySchema = Type.Object({\n\torgId: Type.Optional(Type.String()),\n\ttools: Type.Optional(MaestroAppServerAllowedBlockedPolicySchema),\n\tdependencies: Type.Optional(MaestroAppServerAllowedBlockedPolicySchema),\n\tmodels: Type.Optional(MaestroAppServerAllowedBlockedPolicySchema),\n\tskills: Type.Optional(MaestroAppServerPolicySkillsSchema),\n\tpaths: Type.Optional(MaestroAppServerAllowedBlockedPolicySchema),\n\tnetwork: Type.Optional(MaestroAppServerPolicyNetworkSchema),\n\tlimits: Type.Optional(MaestroAppServerPolicyLimitsSchema),\n});\nexport type MaestroAppServerPolicy = Static<\n\ttypeof MaestroAppServerPolicySchema\n>;\n\nexport const MaestroAppServerPolicyReadResultSchema = Type.Object({\n\tloaded: Type.Boolean(),\n\tpolicy: Type.Union([MaestroAppServerPolicySchema, Type.Null()]),\n});\nexport type MaestroAppServerPolicyReadResult = Static<\n\ttypeof MaestroAppServerPolicyReadResultSchema\n>;\n\nexport const maestroAppServerPolicyCheckKinds = [\n\t\"action\",\n\t\"model\",\n\t\"session\",\n] as const;\nexport const MaestroAppServerPolicyCheckKindSchema = stringLiteralUnion(\n\tmaestroAppServerPolicyCheckKinds,\n);\nexport type MaestroAppServerPolicyCheckKind =\n\t(typeof maestroAppServerPolicyCheckKinds)[number];\n\nexport const MaestroAppServerPolicyCheckItemSchema = Type.Object({\n\tkind: MaestroAppServerPolicyCheckKindSchema,\n\tallowed: Type.Boolean(),\n\treason: Type.Optional(Type.String()),\n});\nexport type MaestroAppServerPolicyCheckItem = Static<\n\ttypeof MaestroAppServerPolicyCheckItemSchema\n>;\n\nexport const MaestroAppServerPolicyCheckResultSchema = Type.Object({\n\tallowed: Type.Boolean(),\n\treason: Type.Optional(Type.String()),\n\tchecks: Type.Array(MaestroAppServerPolicyCheckItemSchema),\n});\nexport type MaestroAppServerPolicyCheckResult = Static<\n\ttypeof MaestroAppServerPolicyCheckResultSchema\n>;\n\nexport const MaestroAppServerRequirementSchema = Type.Object({\n\tkind: Type.Literal(\"skill\"),\n\tid: Type.String(),\n\trequired: Type.Boolean(),\n});\nexport type MaestroAppServerRequirement = Static<\n\ttypeof MaestroAppServerRequirementSchema\n>;\n\nexport const MaestroAppServerRequirementsListResultSchema = Type.Object({\n\trequirements: Type.Array(MaestroAppServerRequirementSchema),\n\trequiredSkills: Type.Array(Type.String()),\n});\nexport type MaestroAppServerRequirementsListResult = Static<\n\ttypeof MaestroAppServerRequirementsListResultSchema\n>;\n\nexport const maestroAppServerNetworkGovernanceStatuses = [\n\t\"allowed\",\n\t\"blocked\",\n\t\"failed\",\n] as const;\nexport const MaestroAppServerNetworkGovernanceStatusSchema = stringLiteralUnion(\n\tmaestroAppServerNetworkGovernanceStatuses,\n);\nexport type MaestroAppServerNetworkGovernanceStatus =\n\t(typeof maestroAppServerNetworkGovernanceStatuses)[number];\n\nexport const MaestroAppServerNetworkAuditRecordSchema = Type.Object({\n\tid: Type.String(),\n\tmethod: Type.String(),\n\turl: Type.String(),\n\thost: Type.String(),\n\tallowed: Type.Boolean(),\n\tstatus: MaestroAppServerNetworkGovernanceStatusSchema,\n\treason: Type.Optional(Type.String()),\n\tstatusCode: Type.Optional(Type.Number()),\n\tstartedAt: Type.String(),\n\tcompletedAt: Type.String(),\n});\nexport type MaestroAppServerNetworkAuditRecord = Static<\n\ttypeof MaestroAppServerNetworkAuditRecordSchema\n>;\n\nexport const MaestroAppServerNetworkFetchResultSchema = Type.Object({\n\tallowed: Type.Boolean(),\n\tstatus: MaestroAppServerNetworkGovernanceStatusSchema,\n\treason: Type.Optional(Type.String()),\n\tstatusCode: Type.Optional(Type.Number()),\n\theaders: Type.Optional(Type.Record(Type.String(), Type.String())),\n\tbodyBase64: Type.Optional(Type.String()),\n\taudit: MaestroAppServerNetworkAuditRecordSchema,\n});\nexport type MaestroAppServerNetworkFetchResult = Static<\n\ttypeof MaestroAppServerNetworkFetchResultSchema\n>;\n\nexport const MaestroAppServerNetworkAuditListResultSchema = Type.Object({\n\taudit: Type.Array(MaestroAppServerNetworkAuditRecordSchema),\n\tnextCursor: Type.Union([Type.String(), Type.Null()]),\n});\nexport type MaestroAppServerNetworkAuditListResult = Static<\n\ttypeof MaestroAppServerNetworkAuditListResultSchema\n>;\n\nexport const maestroAppServerSandboxTypes = [\n\t\"seatbelt\",\n\t\"landlock\",\n\t\"none\",\n] as const;\nexport const MaestroAppServerSandboxTypeSchema = stringLiteralUnion(\n\tmaestroAppServerSandboxTypes,\n);\nexport type MaestroAppServerSandboxType =\n\t(typeof maestroAppServerSandboxTypes)[number];\n\nexport const maestroAppServerSandboxCheckModes = [\n\t\"read-only\",\n\t\"workspace-write\",\n] as const;\nexport const MaestroAppServerSandboxCheckModeSchema = stringLiteralUnion(\n\tmaestroAppServerSandboxCheckModes,\n);\nexport type MaestroAppServerSandboxCheckMode =\n\t(typeof maestroAppServerSandboxCheckModes)[number];\n\nexport const MaestroAppServerSandboxProbeResultSchema = Type.Object({\n\tavailable: Type.Boolean(),\n\ttype: MaestroAppServerSandboxTypeSchema,\n\tplatform: Type.String(),\n\tsupportedModes: Type.Array(MaestroAppServerSandboxCheckModeSchema),\n\tcheckAvailable: Type.Boolean(),\n});\nexport type MaestroAppServerSandboxProbeResult = Static<\n\ttypeof MaestroAppServerSandboxProbeResultSchema\n>;\n\nexport const MaestroAppServerSandboxCheckItemSchema = Type.Object({\n\tname: Type.String(),\n\tpassed: Type.Boolean(),\n\tdetail: Type.String(),\n});\nexport type MaestroAppServerSandboxCheckItem = Static<\n\ttypeof MaestroAppServerSandboxCheckItemSchema\n>;\n\nexport const MaestroAppServerSandboxCheckResultSchema = Type.Object({\n\tmode: MaestroAppServerSandboxCheckModeSchema,\n\tavailable: Type.Boolean(),\n\ttype: MaestroAppServerSandboxTypeSchema,\n\tpassed: Type.Boolean(),\n\tskippedReason: Type.Optional(Type.String()),\n\tchecks: Type.Array(MaestroAppServerSandboxCheckItemSchema),\n});\nexport type MaestroAppServerSandboxCheckResult = Static<\n\ttypeof MaestroAppServerSandboxCheckResultSchema\n>;\n\nexport const maestroAppServerExternalAgentArtifactKinds = [\n\t\"session\",\n\t\"config\",\n\t\"hooks\",\n\t\"mcp\",\n\t\"skill\",\n] as const;\nexport const MaestroAppServerExternalAgentArtifactKindSchema =\n\tstringLiteralUnion(maestroAppServerExternalAgentArtifactKinds);\nexport type MaestroAppServerExternalAgentArtifactKind =\n\t(typeof maestroAppServerExternalAgentArtifactKinds)[number];\n\nexport const maestroAppServerExternalAgentImportStatuses = [\n\t\"planned\",\n\t\"imported\",\n\t\"skipped\",\n] as const;\nexport const MaestroAppServerExternalAgentImportStatusSchema =\n\tstringLiteralUnion(maestroAppServerExternalAgentImportStatuses);\nexport type MaestroAppServerExternalAgentImportStatus =\n\t(typeof maestroAppServerExternalAgentImportStatuses)[number];\n\nexport const maestroAppServerExternalAgentImportScopes = [\n\t\"project\",\n\t\"local\",\n\t\"user\",\n] as const;\nexport const MaestroAppServerExternalAgentImportScopeSchema =\n\tstringLiteralUnion(maestroAppServerExternalAgentImportScopes);\nexport type MaestroAppServerExternalAgentImportScope =\n\t(typeof maestroAppServerExternalAgentImportScopes)[number];\n\nexport const MaestroAppServerExternalAgentImportedArtifactSchema = Type.Object({\n\tkind: MaestroAppServerExternalAgentArtifactKindSchema,\n\tstatus: MaestroAppServerExternalAgentImportStatusSchema,\n\tscope: Type.Optional(MaestroAppServerExternalAgentImportScopeSchema),\n\tid: Type.Optional(Type.String()),\n\tpath: Type.Optional(Type.String()),\n\tmessage: Type.Optional(Type.String()),\n});\nexport type MaestroAppServerExternalAgentImportedArtifact = Static<\n\ttypeof MaestroAppServerExternalAgentImportedArtifactSchema\n>;\n\nexport const MaestroAppServerExternalAgentImportResultSchema = Type.Object({\n\tsource: Type.Object({\n\t\tname: Type.String(),\n\t\ttype: Type.Optional(Type.String()),\n\t}),\n\tdryRun: Type.Boolean(),\n\timported: Type.Array(MaestroAppServerExternalAgentImportedArtifactSchema),\n\twarnings: Type.Array(Type.String()),\n});\nexport type MaestroAppServerExternalAgentImportResult = Static<\n\ttypeof MaestroAppServerExternalAgentImportResultSchema\n>;\n\nexport const maestroAppServerPluginBundleScopes = [\n\t\"project\",\n\t\"local\",\n\t\"user\",\n] as const;\nexport const MaestroAppServerPluginBundleScopeSchema = stringLiteralUnion(\n\tmaestroAppServerPluginBundleScopes,\n);\nexport type MaestroAppServerPluginBundleScope =\n\t(typeof maestroAppServerPluginBundleScopes)[number];\n\nexport const MaestroAppServerPluginBundleSchema = Type.Object({\n\tsource: Type.String(),\n\tscope: MaestroAppServerPluginBundleScopeSchema,\n\tconfigPath: Type.String(),\n});\nexport type MaestroAppServerPluginBundle = Static<\n\ttypeof MaestroAppServerPluginBundleSchema\n>;\n\nexport const MaestroAppServerPluginBundleResourcesSchema = Type.Object({\n\tagents: Type.Optional(\n\t\tType.Object({\n\t\t\tuser: Type.Array(Type.String()),\n\t\t\tproject: Type.Array(Type.String()),\n\t\t}),\n\t),\n\textensions: Type.Object({\n\t\tuser: Type.Array(Type.String()),\n\t\tproject: Type.Array(Type.String()),\n\t}),\n\tskills: Type.Object({\n\t\tuser: Type.Array(Type.String()),\n\t\tproject: Type.Array(Type.String()),\n\t}),\n\tprompts: Type.Object({\n\t\tuser: Type.Array(Type.String()),\n\t\tproject: Type.Array(Type.String()),\n\t}),\n\tthemes: Type.Object({\n\t\tuser: Type.Array(Type.String()),\n\t\tproject: Type.Array(Type.String()),\n\t}),\n});\nexport type MaestroAppServerPluginBundleResources = Static<\n\ttypeof MaestroAppServerPluginBundleResourcesSchema\n>;\n\nexport const MaestroAppServerPluginBundleListResultSchema = Type.Object({\n\tbundles: Type.Array(MaestroAppServerPluginBundleSchema),\n\tresources: MaestroAppServerPluginBundleResourcesSchema,\n\terrors: Type.Array(Type.String()),\n});\nexport type MaestroAppServerPluginBundleListResult = Static<\n\ttypeof MaestroAppServerPluginBundleListResultSchema\n>;\n\nexport const MaestroAppServerPluginBundleMutationResultSchema = Type.Object({\n\tsource: Type.String(),\n\tscope: MaestroAppServerPluginBundleScopeSchema,\n\tconfigPath: Type.String(),\n\tchanged: Type.Boolean(),\n\tmessage: Type.String(),\n});\nexport type MaestroAppServerPluginBundleMutationResult = Static<\n\ttypeof MaestroAppServerPluginBundleMutationResultSchema\n>;\n\nexport const maestroAppServerProtocolModeIds = [\n\t\"standard\",\n\t\"review\",\n\t\"realtime\",\n] as const;\nexport const MaestroAppServerProtocolModeIdSchema = stringLiteralUnion(\n\tmaestroAppServerProtocolModeIds,\n);\nexport type MaestroAppServerProtocolModeId =\n\t(typeof maestroAppServerProtocolModeIds)[number];\n\nexport const MaestroAppServerProtocolModeSchema = Type.Object({\n\tid: MaestroAppServerProtocolModeIdSchema,\n\tlabel: Type.String(),\n\treadOnly: Type.Boolean(),\n\trealtime: Type.Boolean(),\n\tallowedMethods: Type.Array(Type.String()),\n\tblockedMethods: Type.Array(Type.String()),\n\tserverNotifications: Type.Array(Type.String()),\n});\nexport type MaestroAppServerProtocolMode = Static<\n\ttypeof MaestroAppServerProtocolModeSchema\n>;\n\nexport const MaestroAppServerProtocolModeListResultSchema = Type.Object({\n\tactiveMode: MaestroAppServerProtocolModeIdSchema,\n\tdefaultMode: MaestroAppServerProtocolModeIdSchema,\n\tmodes: Type.Array(MaestroAppServerProtocolModeSchema),\n});\nexport type MaestroAppServerProtocolModeListResult = Static<\n\ttypeof MaestroAppServerProtocolModeListResultSchema\n>;\n\nexport const MaestroAppServerProtocolModeSetResultSchema = Type.Object({\n\tactiveMode: MaestroAppServerProtocolModeIdSchema,\n\tmode: MaestroAppServerProtocolModeSchema,\n});\nexport type MaestroAppServerProtocolModeSetResult = Static<\n\ttypeof MaestroAppServerProtocolModeSetResultSchema\n>;\n\nexport const maestroAppServerRemoteControlStatuses = [\n\t\"unavailable\",\n\t\"ready\",\n\t\"draining\",\n] as const;\nexport const MaestroAppServerRemoteControlStatusSchema = stringLiteralUnion(\n\tmaestroAppServerRemoteControlStatuses,\n);\nexport type MaestroAppServerRemoteControlStatus =\n\t(typeof maestroAppServerRemoteControlStatuses)[number];\n\nexport const maestroAppServerRemoteControlLeaseStates = [\n\t\"unbound\",\n\t\"bound\",\n\t\"draining\",\n] as const;\nexport const MaestroAppServerRemoteControlLeaseStateSchema = stringLiteralUnion(\n\tmaestroAppServerRemoteControlLeaseStates,\n);\nexport type MaestroAppServerRemoteControlLeaseState =\n\t(typeof maestroAppServerRemoteControlLeaseStates)[number];\n\nexport const MaestroAppServerRemoteControlLeaseSchema = Type.Object({\n\tprotocolVersion: Type.String(),\n\trunnerSessionId: Type.String(),\n\townerInstanceId: Type.Optional(Type.String()),\n\tworkspaceId: Type.Optional(Type.String()),\n\tagentId: Type.Optional(Type.String()),\n\tagentRunId: Type.Optional(Type.String()),\n\tmaestroSessionId: Type.Optional(Type.String()),\n\tconfiguredMaestroSessionId: Type.Optional(Type.String()),\n\tstate: MaestroAppServerRemoteControlLeaseStateSchema,\n\tgeneration: Type.Number(),\n\theartbeatAt: Type.String(),\n\tupdatedAt: Type.String(),\n\tleaseTokenPresent: Type.Boolean(),\n});\nexport type MaestroAppServerRemoteControlLease = Static<\n\ttypeof MaestroAppServerRemoteControlLeaseSchema\n>;\n\nexport const MaestroAppServerRemoteControlLastDrainSchema = Type.Object({\n\tstatus: Type.String(),\n\tmanifestPath: Type.String(),\n\tdrainedAt: Type.String(),\n\treason: Type.Optional(Type.String()),\n\trequestedBy: Type.Optional(Type.String()),\n});\nexport type MaestroAppServerRemoteControlLastDrain = Static<\n\ttypeof MaestroAppServerRemoteControlLastDrainSchema\n>;\n\nexport const MaestroAppServerRemoteControlStatusResultSchema = Type.Object({\n\tavailable: Type.Boolean(),\n\tstatus: MaestroAppServerRemoteControlStatusSchema,\n\trunnerSessionId: Type.Optional(Type.String()),\n\townerInstanceId: Type.Optional(Type.String()),\n\tworkspaceRoot: Type.Optional(Type.String()),\n\tsnapshotRoot: Type.Optional(Type.String()),\n\tworkspaceId: Type.Optional(Type.String()),\n\tagentId: Type.Optional(Type.String()),\n\tagentRunId: Type.Optional(Type.String()),\n\ta2aMessageId: Type.Optional(Type.String()),\n\ta2aTaskId: Type.Optional(Type.String()),\n\tagentRuntimeWorkerQueue: Type.Optional(Type.String()),\n\tagentRuntimeCorrelationPath: Type.Optional(Type.String()),\n\tmaestroSessionId: Type.Optional(Type.String()),\n\tlastDrain: Type.Optional(MaestroAppServerRemoteControlLastDrainSchema),\n\tlease: Type.Union([MaestroAppServerRemoteControlLeaseSchema, Type.Null()]),\n\terror: Type.Optional(Type.String()),\n});\nexport type MaestroAppServerRemoteControlStatusResult = Static<\n\ttypeof MaestroAppServerRemoteControlStatusResultSchema\n>;\n\nexport const MaestroAppServerDaemonProcessSchema = Type.Object({\n\tpid: Type.Number(),\n\tppid: Type.Number(),\n\tplatform: Type.String(),\n\tarch: Type.String(),\n\tnodeVersion: Type.String(),\n\tcwd: Type.String(),\n\tuptimeMs: Type.Number(),\n});\nexport type MaestroAppServerDaemonProcess = Static<\n\ttypeof MaestroAppServerDaemonProcessSchema\n>;\n\nexport const MaestroAppServerDaemonStatusResultSchema = Type.Object({\n\tdaemon: MaestroAppServerDaemonProcessSchema,\n\tremoteControl: MaestroAppServerRemoteControlStatusResultSchema,\n});\nexport type MaestroAppServerDaemonStatusResult = Static<\n\ttypeof MaestroAppServerDaemonStatusResultSchema\n>;\n\nexport const MaestroAppServerRemoteControlLeaseResultSchema = Type.Object({\n\tavailable: Type.Boolean(),\n\tlease: Type.Union([MaestroAppServerRemoteControlLeaseSchema, Type.Null()]),\n});\nexport type MaestroAppServerRemoteControlLeaseResult = Static<\n\ttypeof MaestroAppServerRemoteControlLeaseResultSchema\n>;\n\nexport const MaestroAppServerRemoteControlDrainResultSchema = Type.Object({\n\tdrained: Type.Boolean(),\n\tstatus: Type.String(),\n\trunnerSessionId: Type.String(),\n\treason: Type.Optional(Type.String()),\n\trequestedBy: Type.Optional(Type.String()),\n\tmanifestPath: Type.String(),\n\tmanifest: Type.Unknown(),\n\tremoteControl: MaestroAppServerRemoteControlStatusResultSchema,\n});\nexport type MaestroAppServerRemoteControlDrainResult = Static<\n\ttypeof MaestroAppServerRemoteControlDrainResultSchema\n>;\n\nexport const MaestroAppServerEmptyResultSchema = Type.Object(\n\t{},\n\t{ additionalProperties: false },\n);\nexport type MaestroAppServerEmptyResult = Static<\n\ttypeof MaestroAppServerEmptyResultSchema\n>;\n\nexport const MaestroAppServerCommandExecResultSchema = Type.Object({\n\tstdout: Type.String(),\n\tstderr: Type.String(),\n\texitCode: Type.Number(),\n});\nexport type MaestroAppServerCommandExecResult = Static<\n\ttypeof MaestroAppServerCommandExecResultSchema\n>;\n\nexport const MaestroAppServerCommandProcessResultSchema = Type.Object({\n\tprocessId: Type.String(),\n});\nexport type MaestroAppServerCommandProcessResult = Static<\n\ttypeof MaestroAppServerCommandProcessResultSchema\n>;\n\nexport const MaestroAppServerFsReadFileResultSchema = Type.Object({\n\tdataBase64: Type.String(),\n});\nexport type MaestroAppServerFsReadFileResult = Static<\n\ttypeof MaestroAppServerFsReadFileResultSchema\n>;\n\nexport const MaestroAppServerFsReadDirectoryEntrySchema = Type.Object({\n\tfileName: Type.String(),\n\tisDirectory: Type.Boolean(),\n\tisFile: Type.Boolean(),\n});\nexport type MaestroAppServerFsReadDirectoryEntry = Static<\n\ttypeof MaestroAppServerFsReadDirectoryEntrySchema\n>;\n\nexport const MaestroAppServerFsReadDirectoryResultSchema = Type.Object({\n\tentries: Type.Array(MaestroAppServerFsReadDirectoryEntrySchema),\n});\nexport type MaestroAppServerFsReadDirectoryResult = Static<\n\ttypeof MaestroAppServerFsReadDirectoryResultSchema\n>;\n\nexport const MaestroAppServerFsMetadataResultSchema = Type.Object({\n\tcreatedAtMs: Type.Number(),\n\tmodifiedAtMs: Type.Number(),\n\tisDirectory: Type.Boolean(),\n\tisFile: Type.Boolean(),\n\tisSymlink: Type.Boolean(),\n});\nexport type MaestroAppServerFsMetadataResult = Static<\n\ttypeof MaestroAppServerFsMetadataResultSchema\n>;\n\nexport const MaestroAppServerFsWatchResultSchema = Type.Object({\n\twatchId: Type.String(),\n\tpath: Type.String(),\n});\nexport type MaestroAppServerFsWatchResult = Static<\n\ttypeof MaestroAppServerFsWatchResultSchema\n>;\n\nexport const MaestroAppServerFsChangedNotificationParamsSchema = Type.Object({\n\twatchId: Type.String(),\n\tchangedPaths: Type.Array(Type.String()),\n});\nexport type MaestroAppServerFsChangedNotificationParams = Static<\n\ttypeof MaestroAppServerFsChangedNotificationParamsSchema\n>;\n\nexport const MaestroAppServerThreadStartResultSchema = Type.Object({\n\tthread: MaestroAppServerThreadSummarySchema,\n});\nexport type MaestroAppServerThreadStartResult = Static<\n\ttypeof MaestroAppServerThreadStartResultSchema\n>;\n\nexport const MaestroAppServerThreadForkResultSchema = Type.Object({\n\tthread: MaestroAppServerThreadSummarySchema,\n\tparentThreadId: Type.String(),\n\tforkedFromEntryId: Type.String(),\n});\nexport type MaestroAppServerThreadForkResult = Static<\n\ttypeof MaestroAppServerThreadForkResultSchema\n>;\n\nexport const MaestroAppServerThreadArchiveResultSchema = Type.Object({\n\tthread: MaestroAppServerThreadSummarySchema,\n\tarchived: Type.Boolean(),\n});\nexport type MaestroAppServerThreadArchiveResult = Static<\n\ttypeof MaestroAppServerThreadArchiveResultSchema\n>;\n\nexport const MaestroAppServerThreadDeleteResultSchema = Type.Object({\n\tthreadId: Type.String(),\n\tdeleted: Type.Boolean(),\n});\nexport type MaestroAppServerThreadDeleteResult = Static<\n\ttypeof MaestroAppServerThreadDeleteResultSchema\n>;\n\nexport const MaestroAppServerModelCapabilitiesSchema = Type.Object({\n\tstreaming: Type.Boolean(),\n\ttools: Type.Boolean(),\n\tvision: Type.Boolean(),\n\treasoning: Type.Boolean(),\n\tresponsesApi: Type.Boolean(),\n\tcodexBackend: Type.Boolean(),\n\tlocal: Type.Boolean(),\n});\nexport const MaestroAppServerReasoningEffortSchema = Type.Union([\n\tType.Literal(\"minimal\"),\n\tType.Literal(\"low\"),\n\tType.Literal(\"medium\"),\n\tType.Literal(\"high\"),\n\tType.Literal(\"ultra\"),\n]);\nexport const MaestroAppServerModelSchema = Type.Object({\n\tid: Type.String(),\n\tprovider: Type.String(),\n\tname: Type.String(),\n\tapi: Type.String(),\n\tcontextWindow: Type.Optional(Type.Number()),\n\tmaxTokens: Type.Optional(Type.Number()),\n\tcost: Type.Optional(Type.Record(Type.String(), Type.Number())),\n\tsource: Type.Optional(\n\t\tType.Union([Type.Literal(\"builtin\"), Type.Literal(\"custom\")]),\n\t),\n\tsupportedReasoningEfforts: Type.Optional(\n\t\tType.Array(MaestroAppServerReasoningEffortSchema),\n\t),\n\tdefaultReasoningEffort: Type.Optional(MaestroAppServerReasoningEffortSchema),\n\tcapabilities: MaestroAppServerModelCapabilitiesSchema,\n});\nexport type MaestroAppServerModel = Static<typeof MaestroAppServerModelSchema>;\n\nexport const MaestroAppServerModelListResultSchema = Type.Object({\n\tmodels: Type.Array(MaestroAppServerModelSchema),\n});\nexport type MaestroAppServerModelListResult = Static<\n\ttypeof MaestroAppServerModelListResultSchema\n>;\n\nexport const MaestroAppServerModelProviderCapabilitiesSchema = Type.Object({\n\tid: Type.String(),\n\tname: Type.String(),\n\tapis: Type.Array(Type.String()),\n\tmodelCount: Type.Number(),\n\tcapabilities: MaestroAppServerModelCapabilitiesSchema,\n});\nexport type MaestroAppServerModelProviderCapabilities = Static<\n\ttypeof MaestroAppServerModelProviderCapabilitiesSchema\n>;\n\nexport const MaestroAppServerModelProviderCapabilitiesReadResultSchema =\n\tType.Object({\n\t\tproviders: Type.Array(MaestroAppServerModelProviderCapabilitiesSchema),\n\t});\nexport type MaestroAppServerModelProviderCapabilitiesReadResult = Static<\n\ttypeof MaestroAppServerModelProviderCapabilitiesReadResultSchema\n>;\n\nexport const MaestroAppServerResponseSchema = Type.Object({\n\tjsonrpc: Type.Literal(\"2.0\"),\n\tid: MaestroAppServerJsonRpcResponseIdSchema,\n\tresult: Type.Optional(\n\t\tType.Union([\n\t\t\tMaestroAppServerInitializeResultSchema,\n\t\t\tMaestroAppServerModelListResultSchema,\n\t\t\tMaestroAppServerModelProviderCapabilitiesReadResultSchema,\n\t\t\tMaestroAppServerPolicyReadResultSchema,\n\t\t\tMaestroAppServerPolicyCheckResultSchema,\n\t\t\tMaestroAppServerRequirementsListResultSchema,\n\t\t\tMaestroAppServerNetworkFetchResultSchema,\n\t\t\tMaestroAppServerNetworkAuditListResultSchema,\n\t\t\tMaestroAppServerSandboxProbeResultSchema,\n\t\t\tMaestroAppServerSandboxCheckResultSchema,\n\t\t\tMaestroAppServerExternalAgentImportResultSchema,\n\t\t\tMaestroAppServerPluginBundleListResultSchema,\n\t\t\tMaestroAppServerPluginBundleMutationResultSchema,\n\t\t\tMaestroAppServerProtocolModeListResultSchema,\n\t\t\tMaestroAppServerProtocolModeSetResultSchema,\n\t\t\tMaestroAppServerDaemonStatusResultSchema,\n\t\t\tMaestroAppServerRemoteControlStatusResultSchema,\n\t\t\tMaestroAppServerRemoteControlLeaseResultSchema,\n\t\t\tMaestroAppServerRemoteControlDrainResultSchema,\n\t\t\tMaestroAppServerCommandExecResultSchema,\n\t\t\tMaestroAppServerCommandProcessResultSchema,\n\t\t\tMaestroAppServerFsReadFileResultSchema,\n\t\t\tMaestroAppServerFsReadDirectoryResultSchema,\n\t\t\tMaestroAppServerFsMetadataResultSchema,\n\t\t\tMaestroAppServerFsWatchResultSchema,\n\t\t\tMaestroAppServerEmptyResultSchema,\n\t\t\tMaestroAppServerThreadListResultSchema,\n\t\t\tMaestroAppServerThreadReadResultSchema,\n\t\t\tMaestroAppServerThreadMetadataUpdateResultSchema,\n\t\t\tMaestroAppServerThreadGoalResultSchema,\n\t\t\tMaestroAppServerTurnsListResultSchema,\n\t\t\tMaestroAppServerThreadStartResultSchema,\n\t\t\tMaestroAppServerThreadForkResultSchema,\n\t\t\tMaestroAppServerThreadArchiveResultSchema,\n\t\t\tMaestroAppServerThreadDeleteResultSchema,\n\t\t]),\n\t),\n\terror: Type.Optional(\n\t\tType.Object({\n\t\t\tcode: Type.Number(),\n\t\t\tmessage: Type.String(),\n\t\t}),\n\t),\n});\nexport type MaestroAppServerResponse = Static<\n\ttypeof MaestroAppServerResponseSchema\n>;\n\nexport const MaestroAppServerServerNotificationSchema = Type.Object({\n\tjsonrpc: Type.Literal(\"2.0\"),\n\tmethod: stringLiteralUnion(maestroAppServerServerMethods),\n\tparams: Type.Optional(MaestroAppServerFsChangedNotificationParamsSchema),\n});\nexport type MaestroAppServerServerNotification = Static<\n\ttypeof MaestroAppServerServerNotificationSchema\n>;\n"]}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { type Static } from "@sinclair/typebox";
|
|
2
|
+
/**
|
|
3
|
+
* Compaction runtime knobs. Mirrors the existing auto-compaction behavior in
|
|
4
|
+
* `src/agent/auto-compaction.ts`, promoted from process env to typed settings.
|
|
5
|
+
*/
|
|
6
|
+
export declare const MaestroCompactionSettingsSchema: import("@sinclair/typebox").TObject<{
|
|
7
|
+
/** Context-window usage percentage that triggers compaction (50-100). */
|
|
8
|
+
thresholdPercent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
9
|
+
/** Whether auto-compaction is enabled. */
|
|
10
|
+
enabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
11
|
+
/** Minimum message count before compaction is considered. */
|
|
12
|
+
minMessages: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
13
|
+
/** Number of recent messages always retained during compaction. */
|
|
14
|
+
keepRecentMessages: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
15
|
+
}>;
|
|
16
|
+
/**
|
|
17
|
+
* Tool gating overlays. `disable` / `enable` are tool-name lists that overlay
|
|
18
|
+
* the PlatformToolExecutionBridge classification.
|
|
19
|
+
*/
|
|
20
|
+
export declare const MaestroToolsSettingsSchema: import("@sinclair/typebox").TObject<{
|
|
21
|
+
disable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
22
|
+
enable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
* Typed catalog of Maestro runtime knobs.
|
|
26
|
+
*/
|
|
27
|
+
export declare const MaestroSettingsSchema: import("@sinclair/typebox").TObject<{
|
|
28
|
+
compaction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
29
|
+
/** Context-window usage percentage that triggers compaction (50-100). */
|
|
30
|
+
thresholdPercent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
31
|
+
/** Whether auto-compaction is enabled. */
|
|
32
|
+
enabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
33
|
+
/** Minimum message count before compaction is considered. */
|
|
34
|
+
minMessages: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
35
|
+
/** Number of recent messages always retained during compaction. */
|
|
36
|
+
keepRecentMessages: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
37
|
+
}>>;
|
|
38
|
+
model: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>]>>;
|
|
39
|
+
tools: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
40
|
+
disable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
41
|
+
enable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
42
|
+
}>>;
|
|
43
|
+
}>;
|
|
44
|
+
export type MaestroSettings = Static<typeof MaestroSettingsSchema>;
|
|
45
|
+
export type MaestroCompactionSettings = NonNullable<MaestroSettings["compaction"]>;
|
|
46
|
+
export type MaestroToolsSettings = NonNullable<MaestroSettings["tools"]>;
|
|
47
|
+
export declare const DEFAULT_MAESTRO_COMPACTION_SETTINGS: Required<MaestroCompactionSettings>;
|
|
48
|
+
/**
|
|
49
|
+
* Defensively parse an untyped settings payload (e.g. raw JSONB) into a typed
|
|
50
|
+
* `MaestroSettings`, dropping anything that does not validate. Unknown keys
|
|
51
|
+
* are ignored so the catalog can grow without rejecting stored rows.
|
|
52
|
+
*/
|
|
53
|
+
export declare function normalizeMaestroSettings(input: unknown): MaestroSettings;
|
|
54
|
+
/**
|
|
55
|
+
* Merge organization- and user-level Maestro settings with user-leaf-wins
|
|
56
|
+
* precedence. Both inputs are normalized first; `undefined` namespaces fall
|
|
57
|
+
* through to the other layer. Env / built-in defaults are applied by the
|
|
58
|
+
* runtime consumer, not here, so this stays a pure function.
|
|
59
|
+
*/
|
|
60
|
+
export declare function mergeMaestroSettings(organization?: MaestroSettings | null, user?: MaestroSettings | null): MaestroSettings;
|
|
61
|
+
//# sourceMappingURL=maestro-settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maestro-settings.d.ts","sourceRoot":"","sources":["../src/maestro-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,mBAAmB,CAAC;AAyBtD;;;GAGG;AACH,eAAO,MAAM,+BAA+B;IAC3C,yEAAyE;;IAEzE,0CAA0C;;IAE1C,6DAA6D;;IAE7D,mEAAmE;;EAElE,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;EAGrC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,qBAAqB;;QAtBjC,yEAAyE;;QAEzE,0CAA0C;;QAE1C,6DAA6D;;QAE7D,mEAAmE;;;;;;;;EAoBlE,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACnE,MAAM,MAAM,yBAAyB,GAAG,WAAW,CAClD,eAAe,CAAC,YAAY,CAAC,CAC7B,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC;AAEzE,eAAO,MAAM,mCAAmC,EAAE,QAAQ,CAAC,yBAAyB,CAMlF,CAAC;AAoFH;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,eAAe,CAUxE;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CACnC,YAAY,CAAC,EAAE,eAAe,GAAG,IAAI,EACrC,IAAI,CAAC,EAAE,eAAe,GAAG,IAAI,GAC3B,eAAe,CAejB"}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { Type } from "@sinclair/typebox";
|
|
2
|
+
/**
|
|
3
|
+
* Maestro runtime settings catalog.
|
|
4
|
+
*
|
|
5
|
+
* A single typed source of truth for the runtime knobs an agent honors, so
|
|
6
|
+
* "what knobs even exist" stops being a code-archaeology question. Settings
|
|
7
|
+
* resolve org -> user -> env (legacy) -> built-in default, and the schema is
|
|
8
|
+
* the auditable artifact: every per-tenant deviation from defaults is a typed,
|
|
9
|
+
* queryable record stored on `organizations.settings` / `users.settings`.
|
|
10
|
+
*
|
|
11
|
+
* See:
|
|
12
|
+
* - evalops/maestro#298 (server-validated runtime knob catalog)
|
|
13
|
+
* - evalops/maestro#296 (auto-compaction promotion)
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Model selection: a single model id, or a per-mode override map
|
|
17
|
+
* (e.g. `{ "reasoning": "gpt-5", "default": "gpt-4o" }`).
|
|
18
|
+
*/
|
|
19
|
+
const MaestroModelSelectionSchema = Type.Union([
|
|
20
|
+
Type.String(),
|
|
21
|
+
Type.Record(Type.String(), Type.String()),
|
|
22
|
+
]);
|
|
23
|
+
/**
|
|
24
|
+
* Compaction runtime knobs. Mirrors the existing auto-compaction behavior in
|
|
25
|
+
* `src/agent/auto-compaction.ts`, promoted from process env to typed settings.
|
|
26
|
+
*/
|
|
27
|
+
export const MaestroCompactionSettingsSchema = Type.Object({
|
|
28
|
+
/** Context-window usage percentage that triggers compaction (50-100). */
|
|
29
|
+
thresholdPercent: Type.Optional(Type.Integer({ minimum: 50, maximum: 100 })),
|
|
30
|
+
/** Whether auto-compaction is enabled. */
|
|
31
|
+
enabled: Type.Optional(Type.Boolean()),
|
|
32
|
+
/** Minimum message count before compaction is considered. */
|
|
33
|
+
minMessages: Type.Optional(Type.Integer({ minimum: 0 })),
|
|
34
|
+
/** Number of recent messages always retained during compaction. */
|
|
35
|
+
keepRecentMessages: Type.Optional(Type.Integer({ minimum: 0 })),
|
|
36
|
+
});
|
|
37
|
+
/**
|
|
38
|
+
* Tool gating overlays. `disable` / `enable` are tool-name lists that overlay
|
|
39
|
+
* the PlatformToolExecutionBridge classification.
|
|
40
|
+
*/
|
|
41
|
+
export const MaestroToolsSettingsSchema = Type.Object({
|
|
42
|
+
disable: Type.Optional(Type.Array(Type.String())),
|
|
43
|
+
enable: Type.Optional(Type.Array(Type.String())),
|
|
44
|
+
});
|
|
45
|
+
/**
|
|
46
|
+
* Typed catalog of Maestro runtime knobs.
|
|
47
|
+
*/
|
|
48
|
+
export const MaestroSettingsSchema = Type.Object({
|
|
49
|
+
compaction: Type.Optional(MaestroCompactionSettingsSchema),
|
|
50
|
+
model: Type.Optional(MaestroModelSelectionSchema),
|
|
51
|
+
tools: Type.Optional(MaestroToolsSettingsSchema),
|
|
52
|
+
});
|
|
53
|
+
export const DEFAULT_MAESTRO_COMPACTION_SETTINGS = {
|
|
54
|
+
thresholdPercent: 85,
|
|
55
|
+
enabled: true,
|
|
56
|
+
minMessages: 10,
|
|
57
|
+
keepRecentMessages: 6,
|
|
58
|
+
};
|
|
59
|
+
function isPlainObject(value) {
|
|
60
|
+
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
61
|
+
}
|
|
62
|
+
function parseBoolean(value) {
|
|
63
|
+
if (typeof value === "boolean") {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
if (typeof value === "string") {
|
|
67
|
+
const trimmed = value.trim().toLowerCase();
|
|
68
|
+
if (trimmed === "true")
|
|
69
|
+
return true;
|
|
70
|
+
if (trimmed === "false")
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
return undefined;
|
|
74
|
+
}
|
|
75
|
+
function parseInteger(value) {
|
|
76
|
+
if (typeof value === "number" && Number.isFinite(value)) {
|
|
77
|
+
return Number.isInteger(value) ? value : Math.trunc(value);
|
|
78
|
+
}
|
|
79
|
+
if (typeof value === "string") {
|
|
80
|
+
const parsed = Number.parseInt(value.trim(), 10);
|
|
81
|
+
if (!Number.isNaN(parsed))
|
|
82
|
+
return parsed;
|
|
83
|
+
}
|
|
84
|
+
return undefined;
|
|
85
|
+
}
|
|
86
|
+
function parseStringList(value) {
|
|
87
|
+
if (!Array.isArray(value))
|
|
88
|
+
return undefined;
|
|
89
|
+
const cleaned = value
|
|
90
|
+
.filter((entry) => typeof entry === "string")
|
|
91
|
+
.map((entry) => entry.trim())
|
|
92
|
+
.filter(Boolean);
|
|
93
|
+
return cleaned.length > 0 ? Array.from(new Set(cleaned)) : undefined;
|
|
94
|
+
}
|
|
95
|
+
function normalizeCompaction(input) {
|
|
96
|
+
if (!isPlainObject(input))
|
|
97
|
+
return undefined;
|
|
98
|
+
const thresholdPercent = parseInteger(input.thresholdPercent);
|
|
99
|
+
const enabled = parseBoolean(input.enabled);
|
|
100
|
+
const minMessages = parseInteger(input.minMessages);
|
|
101
|
+
const keepRecentMessages = parseInteger(input.keepRecentMessages);
|
|
102
|
+
const normalized = {};
|
|
103
|
+
if (thresholdPercent !== undefined) {
|
|
104
|
+
normalized.thresholdPercent = Math.min(100, Math.max(50, thresholdPercent));
|
|
105
|
+
}
|
|
106
|
+
if (enabled !== undefined)
|
|
107
|
+
normalized.enabled = enabled;
|
|
108
|
+
if (minMessages !== undefined) {
|
|
109
|
+
normalized.minMessages = Math.max(0, minMessages);
|
|
110
|
+
}
|
|
111
|
+
if (keepRecentMessages !== undefined) {
|
|
112
|
+
normalized.keepRecentMessages = Math.max(0, keepRecentMessages);
|
|
113
|
+
}
|
|
114
|
+
return Object.keys(normalized).length > 0 ? normalized : undefined;
|
|
115
|
+
}
|
|
116
|
+
function normalizeModel(input) {
|
|
117
|
+
if (typeof input === "string" && input.trim())
|
|
118
|
+
return input.trim();
|
|
119
|
+
if (isPlainObject(input)) {
|
|
120
|
+
const record = {};
|
|
121
|
+
for (const [key, value] of Object.entries(input)) {
|
|
122
|
+
if (typeof value === "string" && value.trim()) {
|
|
123
|
+
record[key.trim()] = value.trim();
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
return Object.keys(record).length > 0 ? record : undefined;
|
|
127
|
+
}
|
|
128
|
+
return undefined;
|
|
129
|
+
}
|
|
130
|
+
function normalizeTools(input) {
|
|
131
|
+
if (!isPlainObject(input))
|
|
132
|
+
return undefined;
|
|
133
|
+
const disable = parseStringList(input.disable);
|
|
134
|
+
const enable = parseStringList(input.enable);
|
|
135
|
+
const normalized = {};
|
|
136
|
+
if (disable !== undefined)
|
|
137
|
+
normalized.disable = disable;
|
|
138
|
+
if (enable !== undefined)
|
|
139
|
+
normalized.enable = enable;
|
|
140
|
+
return Object.keys(normalized).length > 0 ? normalized : undefined;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Defensively parse an untyped settings payload (e.g. raw JSONB) into a typed
|
|
144
|
+
* `MaestroSettings`, dropping anything that does not validate. Unknown keys
|
|
145
|
+
* are ignored so the catalog can grow without rejecting stored rows.
|
|
146
|
+
*/
|
|
147
|
+
export function normalizeMaestroSettings(input) {
|
|
148
|
+
if (!isPlainObject(input))
|
|
149
|
+
return {};
|
|
150
|
+
const compaction = normalizeCompaction(input.compaction);
|
|
151
|
+
const model = normalizeModel(input.model);
|
|
152
|
+
const tools = normalizeTools(input.tools);
|
|
153
|
+
const normalized = {};
|
|
154
|
+
if (compaction !== undefined)
|
|
155
|
+
normalized.compaction = compaction;
|
|
156
|
+
if (model !== undefined)
|
|
157
|
+
normalized.model = model;
|
|
158
|
+
if (tools !== undefined)
|
|
159
|
+
normalized.tools = tools;
|
|
160
|
+
return normalized;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Merge organization- and user-level Maestro settings with user-leaf-wins
|
|
164
|
+
* precedence. Both inputs are normalized first; `undefined` namespaces fall
|
|
165
|
+
* through to the other layer. Env / built-in defaults are applied by the
|
|
166
|
+
* runtime consumer, not here, so this stays a pure function.
|
|
167
|
+
*/
|
|
168
|
+
export function mergeMaestroSettings(organization, user) {
|
|
169
|
+
const orgSettings = normalizeMaestroSettings(organization);
|
|
170
|
+
const userSettings = normalizeMaestroSettings(user);
|
|
171
|
+
const merged = {};
|
|
172
|
+
const compaction = { ...orgSettings.compaction, ...userSettings.compaction };
|
|
173
|
+
if (Object.keys(compaction).length > 0)
|
|
174
|
+
merged.compaction = compaction;
|
|
175
|
+
const model = userSettings.model ?? orgSettings.model;
|
|
176
|
+
if (model !== undefined)
|
|
177
|
+
merged.model = model;
|
|
178
|
+
const tools = { ...orgSettings.tools, ...userSettings.tools };
|
|
179
|
+
if (Object.keys(tools).length > 0)
|
|
180
|
+
merged.tools = tools;
|
|
181
|
+
return merged;
|
|
182
|
+
}
|
|
183
|
+
//# sourceMappingURL=maestro-settings.js.map
|