@evalops/maestro 0.10.8 → 0.10.11
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 +3 -1
- package/dist/agent/action-approval.d.ts +6 -0
- package/dist/agent/action-approval.d.ts.map +1 -1
- package/dist/agent/action-approval.js.map +1 -1
- package/dist/agent/agent.d.ts +13 -1
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/agent.js +368 -1
- package/dist/agent/agent.js.map +1 -1
- package/dist/agent/auto-compaction.d.ts +4 -4
- package/dist/agent/auto-compaction.d.ts.map +1 -1
- package/dist/agent/auto-compaction.js.map +1 -1
- package/dist/agent/compaction-cleanup.d.ts +2 -0
- package/dist/agent/compaction-cleanup.d.ts.map +1 -1
- package/dist/agent/compaction-cleanup.js +17 -2
- package/dist/agent/compaction-cleanup.js.map +1 -1
- package/dist/agent/compaction.d.ts +3 -1
- package/dist/agent/compaction.d.ts.map +1 -1
- package/dist/agent/compaction.js +10 -2
- package/dist/agent/compaction.js.map +1 -1
- package/dist/agent/context-manager.d.ts +4 -0
- package/dist/agent/context-manager.d.ts.map +1 -1
- package/dist/agent/context-manager.js +8 -0
- package/dist/agent/context-manager.js.map +1 -1
- package/dist/agent/context-providers.d.ts +2 -0
- package/dist/agent/context-providers.d.ts.map +1 -1
- package/dist/agent/context-providers.js +3 -2
- package/dist/agent/context-providers.js.map +1 -1
- package/dist/agent/providers/google-gemini-cli.js +17 -5
- package/dist/agent/providers/google.js +174 -144
- package/dist/agent/providers/openai-codex-responses.d.ts +4 -0
- package/dist/agent/providers/openai-codex-responses.d.ts.map +1 -0
- package/dist/agent/providers/openai-codex-responses.js +637 -0
- package/dist/agent/providers/openai-codex-responses.js.map +1 -0
- package/dist/agent/providers/openai-codex-session.d.ts +18 -0
- package/dist/agent/providers/openai-codex-session.d.ts.map +1 -0
- package/dist/agent/providers/openai-codex-session.js +53 -0
- package/dist/agent/providers/openai-codex-session.js.map +1 -0
- package/dist/agent/providers/openai-responses-sdk.d.ts.map +1 -1
- package/dist/agent/providers/openai-responses-sdk.js +16 -6
- package/dist/agent/providers/openai-responses-sdk.js.map +1 -1
- package/dist/agent/providers/openai-shared.d.ts +12 -5
- package/dist/agent/providers/openai-shared.d.ts.map +1 -1
- package/dist/agent/providers/openai-shared.js +291 -2
- package/dist/agent/providers/openai-shared.js.map +1 -1
- package/dist/agent/providers/openai.d.ts +1 -1
- package/dist/agent/providers/openai.d.ts.map +1 -1
- package/dist/agent/providers/openai.js +48 -20
- package/dist/agent/providers/openai.js.map +1 -1
- package/dist/agent/providers/vertex.js +7 -0
- package/dist/agent/tracing.d.ts +16 -5
- package/dist/agent/tracing.d.ts.map +1 -1
- package/dist/agent/tracing.js +44 -2
- package/dist/agent/tracing.js.map +1 -1
- package/dist/agent/transport/create-provider-stream.d.ts.map +1 -1
- package/dist/agent/transport/create-provider-stream.js +9 -0
- package/dist/agent/transport/create-provider-stream.js.map +1 -1
- package/dist/agent/transport/tool-execution-bridge.d.ts +86 -0
- package/dist/agent/transport/tool-execution-bridge.d.ts.map +1 -0
- package/dist/agent/transport/tool-execution-bridge.js +665 -0
- package/dist/agent/transport/tool-execution-bridge.js.map +1 -0
- package/dist/agent/transport/tool-execution.d.ts +3 -0
- package/dist/agent/transport/tool-execution.d.ts.map +1 -1
- package/dist/agent/transport/tool-execution.js +16 -1
- package/dist/agent/transport/tool-execution.js.map +1 -1
- package/dist/agent/transport/tool-safety-pipeline.d.ts +7 -1
- package/dist/agent/transport/tool-safety-pipeline.d.ts.map +1 -1
- package/dist/agent/transport/tool-safety-pipeline.js +207 -40
- package/dist/agent/transport/tool-safety-pipeline.js.map +1 -1
- package/dist/agent/transport/tool-update-queue.d.ts +2 -0
- package/dist/agent/transport/tool-update-queue.d.ts.map +1 -1
- package/dist/agent/transport/tool-update-queue.js.map +1 -1
- package/dist/agent/transport.d.ts +3 -0
- package/dist/agent/transport.d.ts.map +1 -1
- package/dist/agent/transport.js +96 -16
- package/dist/agent/transport.js.map +1 -1
- package/dist/agent/types.d.ts +50 -2
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/agent/types.js.map +1 -1
- package/dist/approvals/platform-action-approval.d.ts +32 -0
- package/dist/approvals/platform-action-approval.d.ts.map +1 -0
- package/dist/approvals/platform-action-approval.js +210 -0
- package/dist/approvals/platform-action-approval.js.map +1 -0
- package/dist/approvals/service-client.d.ts +56 -0
- package/dist/approvals/service-client.d.ts.map +1 -0
- package/dist/approvals/service-client.js +316 -0
- package/dist/approvals/service-client.js.map +1 -0
- package/dist/audit/logger.d.ts +4 -4
- package/dist/bootstrap/auth-setup.d.ts +2 -2
- package/dist/bootstrap/auth-setup.d.ts.map +1 -1
- package/dist/bootstrap/auth-setup.js +4 -7
- package/dist/bootstrap/auth-setup.js.map +1 -1
- package/dist/cli/args.d.ts +2 -0
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +29 -0
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/commands/codex.d.ts +2 -0
- package/dist/cli/commands/codex.d.ts.map +1 -0
- package/dist/cli/commands/codex.js +65 -0
- package/dist/cli/commands/codex.js.map +1 -0
- package/dist/cli/commands/config.js +1 -1
- package/dist/cli/commands/config.js.map +1 -1
- package/dist/cli/commands/evalops.d.ts +2 -0
- package/dist/cli/commands/evalops.d.ts.map +1 -0
- package/dist/cli/commands/evalops.js +74 -0
- package/dist/cli/commands/evalops.js.map +1 -0
- package/dist/cli/commands/hosted-runner.d.ts +23 -0
- package/dist/cli/commands/hosted-runner.d.ts.map +1 -0
- package/dist/cli/commands/hosted-runner.js +241 -0
- package/dist/cli/commands/hosted-runner.js.map +1 -0
- package/dist/cli/commands/init.d.ts +4 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +140 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/memory.d.ts.map +1 -1
- package/dist/cli/commands/memory.js +23 -30
- package/dist/cli/commands/memory.js.map +1 -1
- package/dist/cli/commands/remote.d.ts +3 -0
- package/dist/cli/commands/remote.d.ts.map +1 -0
- package/dist/cli/commands/remote.js +631 -0
- package/dist/cli/commands/remote.js.map +1 -0
- package/dist/cli/commands/stats.d.ts +7 -0
- package/dist/cli/commands/stats.d.ts.map +1 -0
- package/dist/cli/commands/stats.js +167 -0
- package/dist/cli/commands/stats.js.map +1 -0
- package/dist/cli/headless-protocol.d.ts +16 -1
- package/dist/cli/headless-protocol.d.ts.map +1 -1
- package/dist/cli/headless-protocol.js +60 -4
- package/dist/cli/headless-protocol.js.map +1 -1
- package/dist/cli/headless.d.ts.map +1 -1
- package/dist/cli/headless.js +1 -0
- package/dist/cli/headless.js.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +44 -1
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/jsonl-writer.d.ts.map +1 -1
- package/dist/cli/jsonl-writer.js +19 -6
- package/dist/cli/jsonl-writer.js.map +1 -1
- package/dist/cli-tui/client-tools/client-tool-controller.d.ts.map +1 -1
- package/dist/cli-tui/client-tools/client-tool-controller.js +17 -1
- package/dist/cli-tui/client-tools/client-tool-controller.js.map +1 -1
- package/dist/cli-tui/commands/access-command.js +1 -1
- package/dist/cli-tui/commands/access-command.js.map +1 -1
- package/dist/cli-tui/commands/audit-command.js +1 -1
- package/dist/cli-tui/commands/audit-command.js.map +1 -1
- package/dist/cli-tui/commands/command-catalog.d.ts +29 -0
- package/dist/cli-tui/commands/command-catalog.d.ts.map +1 -0
- package/dist/cli-tui/commands/command-catalog.js +645 -0
- package/dist/cli-tui/commands/command-catalog.js.map +1 -0
- package/dist/cli-tui/commands/command-registry-adapter.d.ts +12 -0
- package/dist/cli-tui/commands/command-registry-adapter.d.ts.map +1 -0
- package/dist/cli-tui/commands/command-registry-adapter.js +120 -0
- package/dist/cli-tui/commands/command-registry-adapter.js.map +1 -0
- package/dist/cli-tui/commands/command-suite-catalog.d.ts +14 -0
- package/dist/cli-tui/commands/command-suite-catalog.d.ts.map +1 -0
- package/dist/cli-tui/commands/command-suite-catalog.js +147 -0
- package/dist/cli-tui/commands/command-suite-catalog.js.map +1 -0
- package/dist/cli-tui/commands/{grouped-command-handlers.d.ts → command-suite-handlers.d.ts} +27 -26
- package/dist/cli-tui/commands/command-suite-handlers.d.ts.map +1 -0
- package/dist/cli-tui/commands/command-suite-handlers.js +110 -0
- package/dist/cli-tui/commands/command-suite-handlers.js.map +1 -0
- package/dist/cli-tui/commands/hotkeys-command.d.ts +1 -1
- package/dist/cli-tui/commands/hotkeys-command.d.ts.map +1 -1
- package/dist/cli-tui/commands/hotkeys-command.js +2 -2
- package/dist/cli-tui/commands/hotkeys-command.js.map +1 -1
- package/dist/cli-tui/commands/limits-command.js +1 -1
- package/dist/cli-tui/commands/limits-command.js.map +1 -1
- package/dist/cli-tui/commands/pii-command.js +1 -1
- package/dist/cli-tui/commands/pii-command.js.map +1 -1
- package/dist/cli-tui/commands/registry.d.ts +1 -1
- package/dist/cli-tui/commands/registry.d.ts.map +1 -1
- package/dist/cli-tui/commands/registry.js +29 -921
- package/dist/cli-tui/commands/registry.js.map +1 -1
- package/dist/cli-tui/commands/{grouped → subcommands}/auth-commands.d.ts +2 -1
- package/dist/cli-tui/commands/subcommands/auth-commands.d.ts.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/auth-commands.js +22 -6
- package/dist/cli-tui/commands/subcommands/auth-commands.js.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/config-commands.d.ts +0 -1
- package/dist/cli-tui/commands/subcommands/config-commands.d.ts.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/config-commands.js +2 -2
- package/dist/cli-tui/commands/subcommands/config-commands.js.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/diag-commands.d.ts +1 -2
- package/dist/cli-tui/commands/subcommands/diag-commands.d.ts.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/diag-commands.js +5 -7
- package/dist/cli-tui/commands/subcommands/diag-commands.js.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/git-commands.d.ts +0 -2
- package/dist/cli-tui/commands/subcommands/git-commands.d.ts.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/git-commands.js +2 -2
- package/dist/cli-tui/commands/subcommands/git-commands.js.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/index.d.ts +2 -2
- package/dist/cli-tui/commands/subcommands/index.d.ts.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/index.js +2 -2
- package/dist/cli-tui/commands/subcommands/index.js.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/safety-commands.d.ts +0 -1
- package/dist/cli-tui/commands/subcommands/safety-commands.d.ts.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/safety-commands.js +12 -12
- package/dist/cli-tui/commands/subcommands/safety-commands.js.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/session-commands.d.ts +1 -2
- package/dist/cli-tui/commands/subcommands/session-commands.d.ts.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/session-commands.js +3 -3
- package/dist/cli-tui/commands/subcommands/session-commands.js.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/tools-commands.d.ts +0 -1
- package/dist/cli-tui/commands/subcommands/tools-commands.d.ts.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/tools-commands.js +2 -2
- package/dist/cli-tui/commands/subcommands/tools-commands.js.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/ui-commands.d.ts +0 -1
- package/dist/cli-tui/commands/subcommands/ui-commands.d.ts.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/ui-commands.js +5 -5
- package/dist/cli-tui/commands/subcommands/ui-commands.js.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/undo-commands.d.ts +1 -2
- package/dist/cli-tui/commands/subcommands/undo-commands.d.ts.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/undo-commands.js +6 -6
- package/dist/cli-tui/commands/subcommands/undo-commands.js.map +1 -0
- package/dist/cli-tui/commands/subcommands/usage-commands.d.ts.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/usage-commands.js +2 -2
- package/dist/cli-tui/commands/subcommands/usage-commands.js.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/utils.d.ts +15 -15
- package/dist/cli-tui/commands/subcommands/utils.d.ts.map +1 -0
- package/dist/cli-tui/commands/{grouped → subcommands}/utils.js +13 -8
- package/dist/cli-tui/commands/subcommands/utils.js.map +1 -0
- package/dist/cli-tui/commands/types.d.ts +3 -3
- package/dist/cli-tui/commands/types.d.ts.map +1 -1
- package/dist/cli-tui/commands/types.js.map +1 -1
- package/dist/cli-tui/editor-view.d.ts +1 -1
- package/dist/cli-tui/editor-view.d.ts.map +1 -1
- package/dist/cli-tui/editor-view.js +1 -1
- package/dist/cli-tui/editor-view.js.map +1 -1
- package/dist/cli-tui/oauth/oauth-flow-controller.d.ts +4 -0
- package/dist/cli-tui/oauth/oauth-flow-controller.d.ts.map +1 -1
- package/dist/cli-tui/oauth/oauth-flow-controller.js +76 -5
- package/dist/cli-tui/oauth/oauth-flow-controller.js.map +1 -1
- package/dist/cli-tui/run/run-controller.d.ts +2 -2
- package/dist/cli-tui/run/run-controller.d.ts.map +1 -1
- package/dist/cli-tui/run/run-controller.js +3 -2
- package/dist/cli-tui/run/run-controller.js.map +1 -1
- package/dist/cli-tui/run/run-shell-command.d.ts.map +1 -1
- package/dist/cli-tui/run/run-shell-command.js +11 -3
- package/dist/cli-tui/run/run-shell-command.js.map +1 -1
- package/dist/cli-tui/run/streaming-shell-command.d.ts.map +1 -1
- package/dist/cli-tui/run/streaming-shell-command.js +11 -3
- package/dist/cli-tui/run/streaming-shell-command.js.map +1 -1
- package/dist/cli-tui/selectors/model-selector.d.ts.map +1 -1
- package/dist/cli-tui/selectors/model-selector.js +1 -0
- package/dist/cli-tui/selectors/model-selector.js.map +1 -1
- package/dist/cli-tui/tui-renderer/agent-event-bridge.d.ts +8 -0
- package/dist/cli-tui/tui-renderer/agent-event-bridge.d.ts.map +1 -1
- package/dist/cli-tui/tui-renderer/agent-event-bridge.js +23 -2
- package/dist/cli-tui/tui-renderer/agent-event-bridge.js.map +1 -1
- package/dist/cli-tui/tui-renderer/command-registry-options.d.ts +3 -3
- package/dist/cli-tui/tui-renderer/command-registry-options.d.ts.map +1 -1
- package/dist/cli-tui/tui-renderer/command-registry-options.js +12 -2
- package/dist/cli-tui/tui-renderer/command-registry-options.js.map +1 -1
- package/dist/cli-tui/tui-renderer/command-suite-wiring.d.ts +32 -0
- package/dist/cli-tui/tui-renderer/command-suite-wiring.d.ts.map +1 -0
- package/dist/cli-tui/tui-renderer/command-suite-wiring.js +108 -0
- package/dist/cli-tui/tui-renderer/command-suite-wiring.js.map +1 -0
- package/dist/cli-tui/tui-renderer/input-controller.d.ts +2 -2
- package/dist/cli-tui/tui-renderer/input-controller.d.ts.map +1 -1
- package/dist/cli-tui/tui-renderer/input-controller.js +2 -2
- package/dist/cli-tui/tui-renderer/input-controller.js.map +1 -1
- package/dist/cli-tui/tui-renderer/ui-state-controller.d.ts +1 -1
- package/dist/cli-tui/tui-renderer/ui-state-controller.js +1 -1
- package/dist/cli-tui/tui-renderer/ui-state-controller.js.map +1 -1
- package/dist/cli-tui/tui-renderer.d.ts +1 -3
- package/dist/cli-tui/tui-renderer.d.ts.map +1 -1
- package/dist/cli-tui/tui-renderer.js +37 -83
- package/dist/cli-tui/tui-renderer.js.map +1 -1
- package/dist/cli-tui/utils/runtime-badges.d.ts +8 -0
- package/dist/cli-tui/utils/runtime-badges.d.ts.map +1 -1
- package/dist/cli-tui/utils/runtime-badges.js +58 -0
- package/dist/cli-tui/utils/runtime-badges.js.map +1 -1
- package/dist/cli.js +42555 -23133
- package/dist/cli.js.map +1 -1
- package/dist/config/env-vars.d.ts +4 -0
- package/dist/config/env-vars.d.ts.map +1 -1
- package/dist/config/env-vars.js +4 -0
- package/dist/config/env-vars.js.map +1 -1
- package/dist/config/feature-flags.d.ts +44 -0
- package/dist/config/feature-flags.d.ts.map +1 -1
- package/dist/config/feature-flags.js +214 -0
- package/dist/config/feature-flags.js.map +1 -1
- package/dist/connectors/service-client.d.ts +98 -0
- package/dist/connectors/service-client.d.ts.map +1 -0
- package/dist/connectors/service-client.js +459 -0
- package/dist/connectors/service-client.js.map +1 -0
- package/dist/conversation/render-model.d.ts.map +1 -1
- package/dist/conversation/render-model.js +53 -3
- package/dist/conversation/render-model.js.map +1 -1
- package/dist/db/health.d.ts +8 -0
- package/dist/db/health.d.ts.map +1 -0
- package/dist/db/health.js +64 -0
- package/dist/db/health.js.map +1 -0
- package/dist/db/migrate.d.ts +301 -0
- package/dist/db/migrate.d.ts.map +1 -1
- package/dist/db/migrate.js +186 -0
- package/dist/db/migrate.js.map +1 -1
- package/dist/db/migrations/0000_initial.sql +308 -0
- package/dist/db/migrations/0001_shared_sessions.sql +18 -0
- package/dist/db/migrations/0002_usage_metrics.sql +28 -0
- package/dist/db/migrations/0003_execution_traces.sql +18 -0
- package/dist/db/migrations/0004_workspace_config.sql +11 -0
- package/dist/db/migrations/0005_revenue_attribution.sql +31 -0
- package/dist/db/migrations/0006_hosted_session_storage.sql +51 -0
- package/dist/db/migrations/0007_reconcile_legacy_audit_hash_cache.sql +24 -0
- package/dist/db/migrations/0008_reconcile_legacy_webhook_deliveries.sql +290 -0
- package/dist/db/migrations/meta/0000_snapshot.json +2438 -0
- package/dist/db/migrations/meta/_journal.json +69 -0
- package/dist/db/schema.d.ts +2232 -844
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/schema.js +187 -1
- package/dist/db/schema.js.map +1 -1
- package/dist/evalops/agent-bootstrap.d.ts +73 -0
- package/dist/evalops/agent-bootstrap.d.ts.map +1 -0
- package/dist/evalops/agent-bootstrap.js +380 -0
- package/dist/evalops/agent-bootstrap.js.map +1 -0
- package/dist/export-html.d.ts.map +1 -1
- package/dist/export-html.js +7 -4
- package/dist/export-html.js.map +1 -1
- package/dist/headless/utility-command-manager.d.ts +2 -1
- package/dist/headless/utility-command-manager.d.ts.map +1 -1
- package/dist/headless/utility-command-manager.js +12 -6
- package/dist/headless/utility-command-manager.js.map +1 -1
- package/dist/headless/utility-file-read.d.ts +1 -0
- package/dist/headless/utility-file-read.d.ts.map +1 -1
- package/dist/headless/utility-file-read.js +5 -1
- package/dist/headless/utility-file-read.js.map +1 -1
- package/dist/headless/utility-file-search.d.ts +1 -0
- package/dist/headless/utility-file-search.d.ts.map +1 -1
- package/dist/headless/utility-file-search.js +4 -1
- package/dist/headless/utility-file-search.js.map +1 -1
- package/dist/headless/utility-file-watch-manager.d.ts +2 -1
- package/dist/headless/utility-file-watch-manager.d.ts.map +1 -1
- package/dist/headless/utility-file-watch-manager.js +6 -2
- package/dist/headless/utility-file-watch-manager.js.map +1 -1
- package/dist/headless/workspace-root.d.ts +8 -0
- package/dist/headless/workspace-root.d.ts.map +1 -0
- package/dist/headless/workspace-root.js +74 -0
- package/dist/headless/workspace-root.js.map +1 -0
- package/dist/hooks/notification-hooks.d.ts +5 -0
- package/dist/hooks/notification-hooks.d.ts.map +1 -1
- package/dist/hooks/notification-hooks.js +4 -0
- package/dist/hooks/notification-hooks.js.map +1 -1
- package/dist/lsp/diagnostic-deltas.d.ts +20 -0
- package/dist/lsp/diagnostic-deltas.d.ts.map +1 -0
- package/dist/lsp/diagnostic-deltas.js +92 -0
- package/dist/lsp/diagnostic-deltas.js.map +1 -0
- package/dist/lsp/diagnostic-repair.d.ts +48 -0
- package/dist/lsp/diagnostic-repair.d.ts.map +1 -0
- package/dist/lsp/diagnostic-repair.js +143 -0
- package/dist/lsp/diagnostic-repair.js.map +1 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +127 -37
- package/dist/main.js.map +1 -1
- package/dist/mcp/config.d.ts +4 -2
- package/dist/mcp/config.d.ts.map +1 -1
- package/dist/mcp/config.js +58 -14
- package/dist/mcp/config.js.map +1 -1
- package/dist/mcp/index.d.ts +1 -0
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +1 -0
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/manager.d.ts +1 -0
- package/dist/mcp/manager.d.ts.map +1 -1
- package/dist/mcp/manager.js +1 -0
- package/dist/mcp/manager.js.map +1 -1
- package/dist/mcp/platform-plugin.d.ts +3 -0
- package/dist/mcp/platform-plugin.d.ts.map +1 -0
- package/dist/mcp/platform-plugin.js +117 -0
- package/dist/mcp/platform-plugin.js.map +1 -0
- package/dist/mcp/tool-bridge.d.ts +15 -0
- package/dist/mcp/tool-bridge.d.ts.map +1 -1
- package/dist/mcp/tool-bridge.js +194 -6
- package/dist/mcp/tool-bridge.js.map +1 -1
- package/dist/memory/platform-memory-client.d.ts +130 -0
- package/dist/memory/platform-memory-client.d.ts.map +1 -0
- package/dist/memory/platform-memory-client.js +330 -0
- package/dist/memory/platform-memory-client.js.map +1 -0
- package/dist/memory/service-client.d.ts.map +1 -1
- package/dist/memory/service-client.js +1 -2
- package/dist/memory/service-client.js.map +1 -1
- package/dist/models/builtin.d.ts.map +1 -1
- package/dist/models/builtin.js +137 -0
- package/dist/models/builtin.js.map +1 -1
- package/dist/models/config-loader.d.ts +10 -10
- package/dist/models/config-loader.d.ts.map +1 -1
- package/dist/models/config-loader.js +1 -0
- package/dist/models/config-loader.js.map +1 -1
- package/dist/models/registry.d.ts +1 -0
- package/dist/models/registry.d.ts.map +1 -1
- package/dist/models/registry.js +1 -0
- package/dist/models/registry.js.map +1 -1
- package/dist/oauth/connectors.d.ts +25 -0
- package/dist/oauth/connectors.d.ts.map +1 -0
- package/dist/oauth/connectors.js +253 -0
- package/dist/oauth/connectors.js.map +1 -0
- package/dist/oauth/device-identity.d.ts +18 -0
- package/dist/oauth/device-identity.d.ts.map +1 -0
- package/dist/oauth/device-identity.js +193 -0
- package/dist/oauth/device-identity.js.map +1 -0
- package/dist/oauth/evalops.d.ts.map +1 -1
- package/dist/oauth/evalops.js +74 -15
- package/dist/oauth/evalops.js.map +1 -1
- package/dist/oauth/index.d.ts +1 -1
- package/dist/oauth/index.d.ts.map +1 -1
- package/dist/oauth/index.js +31 -1
- package/dist/oauth/index.js.map +1 -1
- package/dist/oauth/openai-codex.d.ts +16 -0
- package/dist/oauth/openai-codex.d.ts.map +1 -0
- package/dist/oauth/openai-codex.js +300 -0
- package/dist/oauth/openai-codex.js.map +1 -0
- package/dist/opentelemetry.d.ts.map +1 -1
- package/dist/opentelemetry.js +9 -2
- package/dist/opentelemetry.js.map +1 -1
- package/dist/platform/agent-runtime-client.d.ts +279 -0
- package/dist/platform/agent-runtime-client.d.ts.map +1 -0
- package/dist/platform/agent-runtime-client.js +515 -0
- package/dist/platform/agent-runtime-client.js.map +1 -0
- package/dist/platform/cerebro-facts-client.d.ts +56 -0
- package/dist/platform/cerebro-facts-client.d.ts.map +1 -0
- package/dist/platform/cerebro-facts-client.js +297 -0
- package/dist/platform/cerebro-facts-client.js.map +1 -0
- package/dist/platform/client.d.ts +2 -1
- package/dist/platform/client.d.ts.map +1 -1
- package/dist/platform/client.js +9 -26
- package/dist/platform/client.js.map +1 -1
- package/dist/platform/core-services.d.ts +128 -0
- package/dist/platform/core-services.d.ts.map +1 -1
- package/dist/platform/core-services.js +128 -0
- package/dist/platform/core-services.js.map +1 -1
- package/dist/platform/maestro-timeline-client.d.ts +22 -0
- package/dist/platform/maestro-timeline-client.d.ts.map +1 -0
- package/dist/platform/maestro-timeline-client.js +373 -0
- package/dist/platform/maestro-timeline-client.js.map +1 -0
- package/dist/platform/tool-execution-client.d.ts +104 -0
- package/dist/platform/tool-execution-client.d.ts.map +1 -0
- package/dist/platform/tool-execution-client.js +284 -0
- package/dist/platform/tool-execution-client.js.map +1 -0
- package/dist/prompts/service-client.d.ts.map +1 -1
- package/dist/prompts/service-client.js +5 -2
- package/dist/prompts/service-client.js.map +1 -1
- package/dist/providers/anthropic-auth.d.ts.map +1 -1
- package/dist/providers/anthropic-auth.js +8 -6
- package/dist/providers/anthropic-auth.js.map +1 -1
- package/dist/providers/api-keys.d.ts +1 -0
- package/dist/providers/api-keys.d.ts.map +1 -1
- package/dist/providers/api-keys.js +5 -0
- package/dist/providers/api-keys.js.map +1 -1
- package/dist/providers/auth.d.ts +2 -1
- package/dist/providers/auth.d.ts.map +1 -1
- package/dist/providers/auth.js +26 -3
- package/dist/providers/auth.js.map +1 -1
- package/dist/remote-runner/attach-client.d.ts +41 -0
- package/dist/remote-runner/attach-client.d.ts.map +1 -0
- package/dist/remote-runner/attach-client.js +692 -0
- package/dist/remote-runner/attach-client.js.map +1 -0
- package/dist/remote-runner/client.d.ts +205 -0
- package/dist/remote-runner/client.d.ts.map +1 -0
- package/dist/remote-runner/client.js +633 -0
- package/dist/remote-runner/client.js.map +1 -0
- package/dist/safety/action-firewall.d.ts +6 -1
- package/dist/safety/action-firewall.d.ts.map +1 -1
- package/dist/safety/action-firewall.js +62 -26
- package/dist/safety/action-firewall.js.map +1 -1
- package/dist/safety/governance-service-client.d.ts +36 -0
- package/dist/safety/governance-service-client.d.ts.map +1 -0
- package/dist/safety/governance-service-client.js +279 -0
- package/dist/safety/governance-service-client.js.map +1 -0
- package/dist/safety/policy.d.ts +13 -2
- package/dist/safety/policy.d.ts.map +1 -1
- package/dist/safety/policy.js +474 -52
- package/dist/safety/policy.js.map +1 -1
- package/dist/sdk-tools.d.ts +21 -0
- package/dist/sdk-tools.d.ts.map +1 -1
- package/dist/sdk-tools.js +16 -0
- package/dist/sdk-tools.js.map +1 -1
- package/dist/server/app-context.d.ts +25 -0
- package/dist/server/app-context.d.ts.map +1 -1
- package/dist/server/app-context.js.map +1 -1
- package/dist/server/approval-service.d.ts +7 -8
- package/dist/server/approval-service.d.ts.map +1 -1
- package/dist/server/approval-service.js +12 -24
- package/dist/server/approval-service.js.map +1 -1
- package/dist/server/authz.d.ts +23 -2
- package/dist/server/authz.d.ts.map +1 -1
- package/dist/server/authz.js +153 -17
- package/dist/server/authz.js.map +1 -1
- package/dist/server/handlers/approvals.d.ts.map +1 -1
- package/dist/server/handlers/approvals.js +3 -10
- package/dist/server/handlers/approvals.js.map +1 -1
- package/dist/server/handlers/branch.d.ts.map +1 -1
- package/dist/server/handlers/branch.js +29 -20
- package/dist/server/handlers/branch.js.map +1 -1
- package/dist/server/handlers/bridge.d.ts.map +1 -1
- package/dist/server/handlers/bridge.js +3 -2
- package/dist/server/handlers/bridge.js.map +1 -1
- package/dist/server/handlers/chat-ws.d.ts.map +1 -1
- package/dist/server/handlers/chat-ws.js +23 -31
- 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 +105 -46
- package/dist/server/handlers/chat.js.map +1 -1
- package/dist/server/handlers/compliance.d.ts +3 -0
- package/dist/server/handlers/compliance.d.ts.map +1 -0
- package/dist/server/handlers/compliance.js +53 -0
- package/dist/server/handlers/compliance.js.map +1 -0
- package/dist/server/handlers/context.d.ts.map +1 -1
- package/dist/server/handlers/context.js +3 -8
- package/dist/server/handlers/context.js.map +1 -1
- package/dist/server/handlers/fleet.d.ts +4 -0
- package/dist/server/handlers/fleet.d.ts.map +1 -0
- package/dist/server/handlers/fleet.js +9 -0
- package/dist/server/handlers/fleet.js.map +1 -0
- package/dist/server/handlers/headless-sessions.d.ts +4 -0
- package/dist/server/handlers/headless-sessions.d.ts.map +1 -1
- package/dist/server/handlers/headless-sessions.js +168 -3
- package/dist/server/handlers/headless-sessions.js.map +1 -1
- package/dist/server/handlers/health.d.ts +31 -2
- package/dist/server/handlers/health.d.ts.map +1 -1
- package/dist/server/handlers/health.js +82 -8
- package/dist/server/handlers/health.js.map +1 -1
- package/dist/server/handlers/hosted-runner-drain.d.ts +128 -0
- package/dist/server/handlers/hosted-runner-drain.d.ts.map +1 -0
- package/dist/server/handlers/hosted-runner-drain.js +373 -0
- package/dist/server/handlers/hosted-runner-drain.js.map +1 -0
- package/dist/server/handlers/hosted-runner-identity.d.ts +17 -0
- package/dist/server/handlers/hosted-runner-identity.d.ts.map +1 -0
- package/dist/server/handlers/hosted-runner-identity.js +39 -0
- package/dist/server/handlers/hosted-runner-identity.js.map +1 -0
- package/dist/server/handlers/intelligent-router.d.ts +3 -0
- package/dist/server/handlers/intelligent-router.d.ts.map +1 -0
- package/dist/server/handlers/intelligent-router.js +141 -0
- package/dist/server/handlers/intelligent-router.js.map +1 -0
- package/dist/server/handlers/models.d.ts.map +1 -1
- package/dist/server/handlers/models.js +14 -0
- package/dist/server/handlers/models.js.map +1 -1
- package/dist/server/handlers/pending-requests.d.ts +8 -0
- package/dist/server/handlers/pending-requests.d.ts.map +1 -0
- package/dist/server/handlers/pending-requests.js +149 -0
- package/dist/server/handlers/pending-requests.js.map +1 -0
- package/dist/server/handlers/revenue-attribution.d.ts +3 -0
- package/dist/server/handlers/revenue-attribution.d.ts.map +1 -0
- package/dist/server/handlers/revenue-attribution.js +45 -0
- package/dist/server/handlers/revenue-attribution.js.map +1 -0
- package/dist/server/handlers/runtime-app-server-ws.d.ts +10 -0
- package/dist/server/handlers/runtime-app-server-ws.d.ts.map +1 -0
- package/dist/server/handlers/runtime-app-server-ws.js +206 -0
- package/dist/server/handlers/runtime-app-server-ws.js.map +1 -0
- package/dist/server/handlers/session-artifacts.js +2 -2
- package/dist/server/handlers/session-artifacts.js.map +1 -1
- package/dist/server/handlers/session-attachments.js +3 -3
- package/dist/server/handlers/session-attachments.js.map +1 -1
- package/dist/server/handlers/session-timeline.d.ts +11 -0
- package/dist/server/handlers/session-timeline.d.ts.map +1 -0
- package/dist/server/handlers/session-timeline.js +77 -0
- package/dist/server/handlers/session-timeline.js.map +1 -0
- package/dist/server/handlers/sessions.d.ts +11 -0
- package/dist/server/handlers/sessions.d.ts.map +1 -1
- package/dist/server/handlers/sessions.js +68 -100
- package/dist/server/handlers/sessions.js.map +1 -1
- package/dist/server/handlers/traces.d.ts +3 -0
- package/dist/server/handlers/traces.d.ts.map +1 -0
- package/dist/server/handlers/traces.js +60 -0
- package/dist/server/handlers/traces.js.map +1 -0
- package/dist/server/handlers/usage-analytics.d.ts +3 -0
- package/dist/server/handlers/usage-analytics.d.ts.map +1 -0
- package/dist/server/handlers/usage-analytics.js +40 -0
- package/dist/server/handlers/usage-analytics.js.map +1 -0
- package/dist/server/handlers/workspace-config.d.ts +3 -0
- package/dist/server/handlers/workspace-config.d.ts.map +1 -0
- package/dist/server/handlers/workspace-config.js +62 -0
- package/dist/server/handlers/workspace-config.js.map +1 -0
- package/dist/server/headless-in-process-host.d.ts +8 -1
- package/dist/server/headless-in-process-host.d.ts.map +1 -1
- package/dist/server/headless-in-process-host.js +6 -0
- package/dist/server/headless-in-process-host.js.map +1 -1
- package/dist/server/headless-runtime-service.d.ts +99 -1
- package/dist/server/headless-runtime-service.d.ts.map +1 -1
- package/dist/server/headless-runtime-service.js +286 -23
- package/dist/server/headless-runtime-service.js.map +1 -1
- package/dist/server/hosted-session-manager.d.ts +103 -0
- package/dist/server/hosted-session-manager.d.ts.map +1 -0
- package/dist/server/hosted-session-manager.js +629 -0
- package/dist/server/hosted-session-manager.js.map +1 -0
- package/dist/server/pending-request-payload.d.ts +4 -0
- package/dist/server/pending-request-payload.d.ts.map +1 -0
- package/dist/server/pending-request-payload.js +107 -0
- package/dist/server/pending-request-payload.js.map +1 -0
- package/dist/server/request-context.d.ts +4 -0
- package/dist/server/request-context.d.ts.map +1 -1
- package/dist/server/request-context.js +9 -0
- package/dist/server/request-context.js.map +1 -1
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +149 -1
- package/dist/server/routes.js.map +1 -1
- package/dist/server/runtime-ws-access.d.ts +16 -0
- package/dist/server/runtime-ws-access.d.ts.map +1 -0
- package/dist/server/runtime-ws-access.js +21 -0
- package/dist/server/runtime-ws-access.js.map +1 -0
- package/dist/server/server-middlewares.d.ts +1 -1
- package/dist/server/server-middlewares.d.ts.map +1 -1
- package/dist/server/server-middlewares.js +35 -27
- package/dist/server/server-middlewares.js.map +1 -1
- package/dist/server/server-request-manager.d.ts +8 -27
- package/dist/server/server-request-manager.d.ts.map +1 -1
- package/dist/server/server-request-manager.js +7 -0
- package/dist/server/server-request-manager.js.map +1 -1
- package/dist/server/server-utils.d.ts +2 -1
- package/dist/server/server-utils.d.ts.map +1 -1
- package/dist/server/server-utils.js +11 -1
- package/dist/server/server-utils.js.map +1 -1
- package/dist/server/session-event-env.d.ts +2 -0
- package/dist/server/session-event-env.d.ts.map +1 -0
- package/dist/server/session-event-env.js +8 -0
- package/dist/server/session-event-env.js.map +1 -0
- package/dist/server/session-initialization.d.ts +25 -4
- package/dist/server/session-initialization.d.ts.map +1 -1
- package/dist/server/session-initialization.js +22 -5
- package/dist/server/session-initialization.js.map +1 -1
- package/dist/server/session-scope.d.ts +4 -0
- package/dist/server/session-scope.d.ts.map +1 -1
- package/dist/server/session-scope.js +44 -4
- package/dist/server/session-scope.js.map +1 -1
- package/dist/server/session-timeline.d.ts +13 -0
- package/dist/server/session-timeline.d.ts.map +1 -0
- package/dist/server/session-timeline.js +566 -0
- package/dist/server/session-timeline.js.map +1 -0
- package/dist/services/compliance/controls.d.ts +6 -0
- package/dist/services/compliance/controls.d.ts.map +1 -0
- package/dist/services/compliance/controls.js +113 -0
- package/dist/services/compliance/controls.js.map +1 -0
- package/dist/services/compliance/index.d.ts +6 -0
- package/dist/services/compliance/index.d.ts.map +1 -0
- package/dist/services/compliance/index.js +5 -0
- package/dist/services/compliance/index.js.map +1 -0
- package/dist/services/compliance/normalize.d.ts +23 -0
- package/dist/services/compliance/normalize.d.ts.map +1 -0
- package/dist/services/compliance/normalize.js +226 -0
- package/dist/services/compliance/normalize.js.map +1 -0
- package/dist/services/compliance/recorder.d.ts +22 -0
- package/dist/services/compliance/recorder.d.ts.map +1 -0
- package/dist/services/compliance/recorder.js +89 -0
- package/dist/services/compliance/recorder.js.map +1 -0
- package/dist/services/compliance/service.d.ts +24 -0
- package/dist/services/compliance/service.d.ts.map +1 -0
- package/dist/services/compliance/service.js +426 -0
- package/dist/services/compliance/service.js.map +1 -0
- package/dist/services/compliance/types.d.ts +185 -0
- package/dist/services/compliance/types.d.ts.map +1 -0
- package/dist/services/compliance/types.js +2 -0
- package/dist/services/compliance/types.js.map +1 -0
- package/dist/services/intelligent-router/index.d.ts +5 -0
- package/dist/services/intelligent-router/index.d.ts.map +1 -0
- package/dist/services/intelligent-router/index.js +5 -0
- package/dist/services/intelligent-router/index.js.map +1 -0
- package/dist/services/intelligent-router/normalize.d.ts +9 -0
- package/dist/services/intelligent-router/normalize.d.ts.map +1 -0
- package/dist/services/intelligent-router/normalize.js +169 -0
- package/dist/services/intelligent-router/normalize.js.map +1 -0
- package/dist/services/intelligent-router/recorder.d.ts +24 -0
- package/dist/services/intelligent-router/recorder.d.ts.map +1 -0
- package/dist/services/intelligent-router/recorder.js +98 -0
- package/dist/services/intelligent-router/recorder.js.map +1 -0
- package/dist/services/intelligent-router/service.d.ts +22 -0
- package/dist/services/intelligent-router/service.d.ts.map +1 -0
- package/dist/services/intelligent-router/service.js +328 -0
- package/dist/services/intelligent-router/service.js.map +1 -0
- package/dist/services/intelligent-router/types.d.ts +98 -0
- package/dist/services/intelligent-router/types.d.ts.map +1 -0
- package/dist/services/intelligent-router/types.js +7 -0
- package/dist/services/intelligent-router/types.js.map +1 -0
- package/dist/services/revenue-attribution/index.d.ts +4 -0
- package/dist/services/revenue-attribution/index.d.ts.map +1 -0
- package/dist/services/revenue-attribution/index.js +4 -0
- package/dist/services/revenue-attribution/index.js.map +1 -0
- package/dist/services/revenue-attribution/normalize.d.ts +13 -0
- package/dist/services/revenue-attribution/normalize.d.ts.map +1 -0
- package/dist/services/revenue-attribution/normalize.js +155 -0
- package/dist/services/revenue-attribution/normalize.js.map +1 -0
- package/dist/services/revenue-attribution/service.d.ts +21 -0
- package/dist/services/revenue-attribution/service.d.ts.map +1 -0
- package/dist/services/revenue-attribution/service.js +248 -0
- package/dist/services/revenue-attribution/service.js.map +1 -0
- package/dist/services/revenue-attribution/types.d.ts +96 -0
- package/dist/services/revenue-attribution/types.d.ts.map +1 -0
- package/dist/services/revenue-attribution/types.js +7 -0
- package/dist/services/revenue-attribution/types.js.map +1 -0
- package/dist/services/traces/index.d.ts +5 -0
- package/dist/services/traces/index.d.ts.map +1 -0
- package/dist/services/traces/index.js +4 -0
- package/dist/services/traces/index.js.map +1 -0
- package/dist/services/traces/normalize.d.ts +20 -0
- package/dist/services/traces/normalize.d.ts.map +1 -0
- package/dist/services/traces/normalize.js +261 -0
- package/dist/services/traces/normalize.js.map +1 -0
- package/dist/services/traces/otel.d.ts +3 -0
- package/dist/services/traces/otel.d.ts.map +1 -0
- package/dist/services/traces/otel.js +173 -0
- package/dist/services/traces/otel.js.map +1 -0
- package/dist/services/traces/service.d.ts +17 -0
- package/dist/services/traces/service.d.ts.map +1 -0
- package/dist/services/traces/service.js +197 -0
- package/dist/services/traces/service.js.map +1 -0
- package/dist/services/traces/types.d.ts +130 -0
- package/dist/services/traces/types.d.ts.map +1 -0
- package/dist/services/traces/types.js +8 -0
- package/dist/services/traces/types.js.map +1 -0
- package/dist/services/usage-analytics/aggregation.d.ts +18 -0
- package/dist/services/usage-analytics/aggregation.d.ts.map +1 -0
- package/dist/services/usage-analytics/aggregation.js +130 -0
- package/dist/services/usage-analytics/aggregation.js.map +1 -0
- package/dist/services/usage-analytics/index.d.ts +5 -0
- package/dist/services/usage-analytics/index.d.ts.map +1 -0
- package/dist/services/usage-analytics/index.js +4 -0
- package/dist/services/usage-analytics/index.js.map +1 -0
- package/dist/services/usage-analytics/recorder.d.ts +16 -0
- package/dist/services/usage-analytics/recorder.d.ts.map +1 -0
- package/dist/services/usage-analytics/recorder.js +128 -0
- package/dist/services/usage-analytics/recorder.js.map +1 -0
- package/dist/services/usage-analytics/service.d.ts +15 -0
- package/dist/services/usage-analytics/service.d.ts.map +1 -0
- package/dist/services/usage-analytics/service.js +210 -0
- package/dist/services/usage-analytics/service.js.map +1 -0
- package/dist/services/usage-analytics/types.d.ts +80 -0
- package/dist/services/usage-analytics/types.d.ts.map +1 -0
- package/dist/services/usage-analytics/types.js +2 -0
- package/dist/services/usage-analytics/types.js.map +1 -0
- package/dist/services/workspace-config/index.d.ts +6 -0
- package/dist/services/workspace-config/index.d.ts.map +1 -0
- package/dist/services/workspace-config/index.js +5 -0
- package/dist/services/workspace-config/index.js.map +1 -0
- package/dist/services/workspace-config/middleware.d.ts +5 -0
- package/dist/services/workspace-config/middleware.d.ts.map +1 -0
- package/dist/services/workspace-config/middleware.js +98 -0
- package/dist/services/workspace-config/middleware.js.map +1 -0
- package/dist/services/workspace-config/normalize.d.ts +17 -0
- package/dist/services/workspace-config/normalize.d.ts.map +1 -0
- package/dist/services/workspace-config/normalize.js +148 -0
- package/dist/services/workspace-config/normalize.js.map +1 -0
- package/dist/services/workspace-config/policy.d.ts +16 -0
- package/dist/services/workspace-config/policy.d.ts.map +1 -0
- package/dist/services/workspace-config/policy.js +77 -0
- package/dist/services/workspace-config/policy.js.map +1 -0
- package/dist/services/workspace-config/service.d.ts +20 -0
- package/dist/services/workspace-config/service.d.ts.map +1 -0
- package/dist/services/workspace-config/service.js +162 -0
- package/dist/services/workspace-config/service.js.map +1 -0
- package/dist/services/workspace-config/types.d.ts +71 -0
- package/dist/services/workspace-config/types.d.ts.map +1 -0
- package/dist/services/workspace-config/types.js +2 -0
- package/dist/services/workspace-config/types.js.map +1 -0
- package/dist/session/manager.d.ts.map +1 -1
- package/dist/session/manager.js +10 -0
- package/dist/session/manager.js.map +1 -1
- package/dist/session/migration.d.ts.map +1 -1
- package/dist/session/migration.js +2 -1
- package/dist/session/migration.js.map +1 -1
- package/dist/session/session-memory.d.ts.map +1 -1
- package/dist/session/session-memory.js +7 -1
- package/dist/session/session-memory.js.map +1 -1
- package/dist/session/types.d.ts +1 -2
- package/dist/session/types.d.ts.map +1 -1
- package/dist/session/types.js +1 -22
- package/dist/session/types.js.map +1 -1
- package/dist/session/wire-format.d.ts +7 -0
- package/dist/session/wire-format.d.ts.map +1 -0
- package/dist/session/wire-format.generated.d.ts +95 -0
- package/dist/session/wire-format.generated.d.ts.map +1 -0
- package/dist/session/wire-format.generated.js +111 -0
- package/dist/session/wire-format.generated.js.map +1 -0
- package/dist/session/wire-format.js +145 -0
- package/dist/session/wire-format.js.map +1 -0
- package/dist/shared-memory/client.d.ts.map +1 -1
- package/dist/shared-memory/client.js +22 -22
- package/dist/shared-memory/client.js.map +1 -1
- package/dist/skills/artifact-metadata.d.ts +16 -0
- package/dist/skills/artifact-metadata.d.ts.map +1 -0
- package/dist/skills/artifact-metadata.js +86 -0
- package/dist/skills/artifact-metadata.js.map +1 -0
- package/dist/skills/loader.d.ts +2 -2
- package/dist/skills/loader.d.ts.map +1 -1
- package/dist/skills/loader.js +1 -0
- package/dist/skills/loader.js.map +1 -1
- package/dist/skills/service-client.d.ts +42 -0
- package/dist/skills/service-client.d.ts.map +1 -0
- package/dist/skills/service-client.js +258 -0
- package/dist/skills/service-client.js.map +1 -0
- package/dist/skills/tool.d.ts +3 -0
- package/dist/skills/tool.d.ts.map +1 -1
- package/dist/skills/tool.js +67 -5
- package/dist/skills/tool.js.map +1 -1
- package/dist/telemetry/index.d.ts +4 -0
- package/dist/telemetry/index.d.ts.map +1 -1
- package/dist/telemetry/index.js +5 -0
- package/dist/telemetry/index.js.map +1 -1
- package/dist/telemetry/maestro-event-bus.d.ts +440 -0
- package/dist/telemetry/maestro-event-bus.d.ts.map +1 -0
- package/dist/telemetry/maestro-event-bus.js +784 -0
- package/dist/telemetry/maestro-event-bus.js.map +1 -0
- package/dist/telemetry/maestro-event-catalog.d.ts +48 -0
- package/dist/telemetry/maestro-event-catalog.d.ts.map +1 -0
- package/dist/telemetry/maestro-event-catalog.js +69 -0
- package/dist/telemetry/maestro-event-catalog.js.map +1 -0
- package/dist/telemetry/maestro-platform-replay-fixture.d.ts +24 -0
- package/dist/telemetry/maestro-platform-replay-fixture.d.ts.map +1 -0
- package/dist/telemetry/maestro-platform-replay-fixture.js +400 -0
- package/dist/telemetry/maestro-platform-replay-fixture.js.map +1 -0
- package/dist/telemetry/maestro-publisher-conformance-fixture.d.ts +29 -0
- package/dist/telemetry/maestro-publisher-conformance-fixture.d.ts.map +1 -0
- package/dist/telemetry/maestro-publisher-conformance-fixture.js +240 -0
- package/dist/telemetry/maestro-publisher-conformance-fixture.js.map +1 -0
- package/dist/telemetry/meter-service-client.d.ts +0 -33
- package/dist/telemetry/meter-service-client.d.ts.map +1 -1
- package/dist/telemetry/meter-service-client.js +22 -50
- package/dist/telemetry/meter-service-client.js.map +1 -1
- package/dist/telemetry/turn-tracker.d.ts.map +1 -1
- package/dist/telemetry/turn-tracker.js +5 -5
- package/dist/telemetry/turn-tracker.js.map +1 -1
- package/dist/telemetry/wide-events.d.ts +8 -0
- package/dist/telemetry/wide-events.d.ts.map +1 -1
- package/dist/telemetry/wide-events.js +28 -0
- package/dist/telemetry/wide-events.js.map +1 -1
- package/dist/telemetry.d.ts +1 -1
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +14 -4
- package/dist/telemetry.js.map +1 -1
- package/dist/timeline/redaction.d.ts +5 -0
- package/dist/timeline/redaction.d.ts.map +1 -0
- package/dist/timeline/redaction.js +119 -0
- package/dist/timeline/redaction.js.map +1 -0
- package/dist/tools/ask-user.d.ts +26 -0
- package/dist/tools/ask-user.d.ts.map +1 -1
- package/dist/tools/ask-user.js +33 -1
- package/dist/tools/ask-user.js.map +1 -1
- package/dist/tools/background/task-types.d.ts +1 -1
- package/dist/tools/edit.d.ts +2 -0
- package/dist/tools/edit.d.ts.map +1 -1
- package/dist/tools/edit.js +27 -7
- package/dist/tools/edit.js.map +1 -1
- package/dist/tools/index.d.ts +9 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/pipeline.d.ts.map +1 -1
- package/dist/tools/pipeline.js +16 -7
- package/dist/tools/pipeline.js.map +1 -1
- package/dist/tools/write.d.ts +2 -0
- package/dist/tools/write.d.ts.map +1 -1
- package/dist/tools/write.js +24 -6
- package/dist/tools/write.js.map +1 -1
- package/dist/tracking/cost-tracker.d.ts +15 -12
- package/dist/tracking/cost-tracker.d.ts.map +1 -1
- package/dist/tracking/cost-tracker.js +29 -40
- package/dist/tracking/cost-tracker.js.map +1 -1
- package/dist/utils/checkpoint-profiler.d.ts +29 -0
- package/dist/utils/checkpoint-profiler.d.ts.map +1 -0
- package/dist/utils/checkpoint-profiler.js +118 -0
- package/dist/utils/checkpoint-profiler.js.map +1 -0
- package/dist/utils/downstream-http.d.ts +21 -0
- package/dist/utils/downstream-http.d.ts.map +1 -0
- package/dist/utils/downstream-http.js +151 -0
- package/dist/utils/downstream-http.js.map +1 -0
- package/dist/utils/downstream.d.ts +18 -0
- package/dist/utils/downstream.d.ts.map +1 -0
- package/dist/utils/downstream.js +47 -0
- package/dist/utils/downstream.js.map +1 -0
- package/dist/utils/logger.d.ts +3 -1
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +12 -1
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/oauth-http.d.ts +8 -0
- package/dist/utils/oauth-http.d.ts.map +1 -0
- package/dist/utils/oauth-http.js +41 -0
- package/dist/utils/oauth-http.js.map +1 -0
- package/dist/utils/path-utils.d.ts +2 -0
- package/dist/utils/path-utils.d.ts.map +1 -0
- package/dist/utils/path-utils.js +12 -0
- package/dist/utils/path-utils.js.map +1 -0
- package/dist/utils/path-validation.d.ts +1 -1
- package/dist/utils/path-validation.d.ts.map +1 -1
- package/dist/utils/path-validation.js +3 -3
- package/dist/utils/path-validation.js.map +1 -1
- package/dist/version.json +2 -2
- package/dist/web-server.d.ts +7 -1
- package/dist/web-server.d.ts.map +1 -1
- package/dist/web-server.js +117 -15
- package/dist/web-server.js.map +1 -1
- package/dist/webhooks/delivery.d.ts.map +1 -1
- package/dist/webhooks/delivery.js +9 -12
- package/dist/webhooks/delivery.js.map +1 -1
- package/node_modules/@bufbuild/protobuf/dist/cjs/descriptors.d.ts +12 -5
- package/node_modules/@bufbuild/protobuf/dist/cjs/from-binary.js +7 -7
- package/node_modules/@bufbuild/protobuf/dist/cjs/from-json.d.ts +1 -1
- package/node_modules/@bufbuild/protobuf/dist/cjs/from-json.js +1 -1
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/path.d.ts +1 -1
- package/node_modules/@bufbuild/protobuf/dist/cjs/registry.js +24 -1
- package/node_modules/@bufbuild/protobuf/dist/cjs/to-json.d.ts +1 -1
- package/node_modules/@bufbuild/protobuf/dist/cjs/to-json.js +9 -10
- package/node_modules/@bufbuild/protobuf/dist/cjs/types.d.ts +1 -1
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.d.ts +9 -7
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.js +18 -8
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-encoding.d.ts +4 -2
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-encoding.js +8 -1
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/api_pb.d.ts +1 -1
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts +2 -2
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.d.ts +37 -23
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.js +1 -1
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.d.ts +32 -36
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/go_features_pb.d.ts +65 -0
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/go_features_pb.js +38 -2
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.d.ts +5 -5
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/type_pb.d.ts +3 -3
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/wrappers.d.ts +10 -0
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/wrappers.js +24 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/descriptors.d.ts +12 -5
- package/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +7 -7
- package/node_modules/@bufbuild/protobuf/dist/esm/from-json.d.ts +1 -1
- package/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +2 -2
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/path.d.ts +1 -1
- package/node_modules/@bufbuild/protobuf/dist/esm/registry.js +24 -1
- package/node_modules/@bufbuild/protobuf/dist/esm/to-json.d.ts +1 -1
- package/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +10 -11
- package/node_modules/@bufbuild/protobuf/dist/esm/types.d.ts +1 -1
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.d.ts +9 -7
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +18 -8
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.d.ts +4 -2
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +8 -1
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.d.ts +1 -1
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts +2 -2
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.d.ts +37 -23
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +1 -1
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.d.ts +32 -36
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.d.ts +65 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +37 -1
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.d.ts +5 -5
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.d.ts +3 -3
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.d.ts +10 -0
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js +23 -0
- package/node_modules/@bufbuild/protobuf/package.json +1 -1
- package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.d.ts +305 -2
- package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.d.ts.map +1 -1
- package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.js +34 -4
- package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.js.map +1 -1
- package/node_modules/@evalops/contracts/dist/index.d.ts +88 -0
- package/node_modules/@evalops/contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@evalops/contracts/dist/index.js +2 -0
- package/node_modules/@evalops/contracts/dist/index.js.map +1 -1
- package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.d.ts +77 -77
- package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.d.ts.map +1 -1
- package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.js +1 -1
- package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.js.map +1 -1
- package/node_modules/@evalops/contracts/dist/runtime-app-server.d.ts +182 -0
- package/node_modules/@evalops/contracts/dist/runtime-app-server.d.ts.map +1 -0
- package/node_modules/@evalops/contracts/dist/runtime-app-server.js +83 -0
- package/node_modules/@evalops/contracts/dist/runtime-app-server.js.map +1 -0
- package/node_modules/@evalops/contracts/dist/runtime-server-request.d.ts +133 -0
- package/node_modules/@evalops/contracts/dist/runtime-server-request.d.ts.map +1 -0
- package/node_modules/@evalops/contracts/dist/runtime-server-request.js +68 -0
- package/node_modules/@evalops/contracts/dist/runtime-server-request.js.map +1 -0
- package/node_modules/@evalops/contracts/dist/schemas.d.ts +178 -0
- package/node_modules/@evalops/contracts/dist/schemas.d.ts.map +1 -1
- package/node_modules/@evalops/contracts/dist/schemas.js +165 -0
- package/node_modules/@evalops/contracts/dist/schemas.js.map +1 -1
- package/node_modules/@evalops/contracts/dist/typebox-utils.d.ts +2 -0
- package/node_modules/@evalops/contracts/dist/typebox-utils.d.ts.map +1 -0
- package/node_modules/@evalops/contracts/dist/typebox-utils.js +5 -0
- package/node_modules/@evalops/contracts/dist/typebox-utils.js.map +1 -0
- package/node_modules/@evalops/contracts/dist/validators.d.ts +4 -1
- package/node_modules/@evalops/contracts/dist/validators.d.ts.map +1 -1
- package/node_modules/@evalops/contracts/dist/validators.js +4 -1
- package/node_modules/@evalops/contracts/dist/validators.js.map +1 -1
- package/node_modules/@evalops/contracts/package.json +1 -1
- package/node_modules/@evalops/tui/package.json +1 -1
- package/node_modules/string-width/index.js +93 -9
- package/node_modules/string-width/package.json +1 -1
- package/package.json +32 -25
- package/dist/cli-tui/commands/grouped/auth-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/grouped/auth-commands.js.map +0 -1
- package/dist/cli-tui/commands/grouped/config-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/grouped/config-commands.js.map +0 -1
- package/dist/cli-tui/commands/grouped/diag-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/grouped/diag-commands.js.map +0 -1
- package/dist/cli-tui/commands/grouped/git-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/grouped/git-commands.js.map +0 -1
- package/dist/cli-tui/commands/grouped/index.d.ts.map +0 -1
- package/dist/cli-tui/commands/grouped/index.js.map +0 -1
- package/dist/cli-tui/commands/grouped/safety-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/grouped/safety-commands.js.map +0 -1
- package/dist/cli-tui/commands/grouped/session-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/grouped/session-commands.js.map +0 -1
- package/dist/cli-tui/commands/grouped/tools-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/grouped/tools-commands.js.map +0 -1
- package/dist/cli-tui/commands/grouped/ui-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/grouped/ui-commands.js.map +0 -1
- package/dist/cli-tui/commands/grouped/undo-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/grouped/undo-commands.js.map +0 -1
- package/dist/cli-tui/commands/grouped/usage-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/grouped/usage-commands.js.map +0 -1
- package/dist/cli-tui/commands/grouped/utils.d.ts.map +0 -1
- package/dist/cli-tui/commands/grouped/utils.js.map +0 -1
- package/dist/cli-tui/commands/grouped-command-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/grouped-command-handlers.js +0 -135
- package/dist/cli-tui/commands/grouped-command-handlers.js.map +0 -1
- package/dist/cli-tui/tui-renderer/grouped-handlers-wiring.d.ts +0 -78
- package/dist/cli-tui/tui-renderer/grouped-handlers-wiring.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/grouped-handlers-wiring.js +0 -129
- package/dist/cli-tui/tui-renderer/grouped-handlers-wiring.js.map +0 -1
- package/node_modules/@evalops/memory/dist/client.d.ts +0 -94
- package/node_modules/@evalops/memory/dist/client.js +0 -503
- package/node_modules/@evalops/memory/gen/proto/dist/memory/v1/memory_pb.d.ts +0 -608
- package/node_modules/@evalops/memory/gen/proto/dist/memory/v1/memory_pb.js +0 -187
- package/node_modules/@evalops/memory/package.json +0 -26
- /package/dist/cli-tui/commands/{grouped → subcommands}/usage-commands.d.ts +0 -0
|
@@ -1,928 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const GROUPED_COMMAND_DEFINITIONS = [
|
|
16
|
-
{
|
|
17
|
-
command: {
|
|
18
|
-
name: "ss",
|
|
19
|
-
description: "Session management: new, clear, list, load, branch, tree, export, share",
|
|
20
|
-
usage: "/ss [new|clear|list|load <id>|branch <n>|tree|export|share|queue|info]",
|
|
21
|
-
tags: ["session"],
|
|
22
|
-
examples: [
|
|
23
|
-
"/ss",
|
|
24
|
-
"/ss new",
|
|
25
|
-
"/ss list",
|
|
26
|
-
"/ss load 3",
|
|
27
|
-
"/ss branch 2",
|
|
28
|
-
"/ss export",
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
subcommands: SESSION_SUBCOMMANDS,
|
|
32
|
-
handlerKey: "session",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
command: {
|
|
36
|
-
name: "diag",
|
|
37
|
-
description: "Diagnostics: status, about, context, stats, lsp, mcp, telemetry, config",
|
|
38
|
-
usage: "/diag [status|about|context|stats|lsp|mcp|telemetry|training|config]",
|
|
39
|
-
tags: ["diagnostics"],
|
|
40
|
-
aliases: ["d", "diagnostics"],
|
|
41
|
-
examples: [
|
|
42
|
-
"/diag",
|
|
43
|
-
"/diag status",
|
|
44
|
-
"/diag lsp",
|
|
45
|
-
"/diag telemetry",
|
|
46
|
-
"/diag config",
|
|
47
|
-
],
|
|
48
|
-
},
|
|
49
|
-
subcommands: DIAG_SUBCOMMANDS,
|
|
50
|
-
handlerKey: "diag",
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
command: {
|
|
54
|
-
name: "ui",
|
|
55
|
-
description: "UI settings: theme, clean, footer, alerts, zen, compact-tools",
|
|
56
|
-
usage: "/ui [theme|clean|footer|alerts|zen|compact]",
|
|
57
|
-
tags: ["ui"],
|
|
58
|
-
examples: ["/ui", "/ui theme", "/ui zen on", "/ui compact off"],
|
|
59
|
-
},
|
|
60
|
-
subcommands: UI_SUBCOMMANDS,
|
|
61
|
-
handlerKey: "ui",
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
command: {
|
|
65
|
-
name: "safe",
|
|
66
|
-
description: "Safety settings: approvals, plan-mode, guardian",
|
|
67
|
-
usage: "/safe [approvals|plan|guardian] [args]",
|
|
68
|
-
tags: ["safety"],
|
|
69
|
-
examples: [
|
|
70
|
-
"/safe",
|
|
71
|
-
"/safe approvals auto",
|
|
72
|
-
"/safe plan on",
|
|
73
|
-
"/safe guardian run",
|
|
74
|
-
],
|
|
75
|
-
},
|
|
76
|
-
subcommands: SAFETY_SUBCOMMANDS,
|
|
77
|
-
handlerKey: "safety",
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
command: {
|
|
81
|
-
name: "git",
|
|
82
|
-
description: "Git operations: status, diff, review",
|
|
83
|
-
usage: "/git [status|diff <path>|review]",
|
|
84
|
-
tags: ["git"],
|
|
85
|
-
examples: ["/git", "/git diff src/index.ts", "/git review"],
|
|
86
|
-
},
|
|
87
|
-
subcommands: GIT_SUBCOMMANDS,
|
|
88
|
-
handlerKey: "git",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
command: {
|
|
92
|
-
name: "auth",
|
|
93
|
-
description: "Authentication: login, logout, status",
|
|
94
|
-
usage: "/auth [login|logout|status] [mode]",
|
|
95
|
-
tags: ["auth"],
|
|
96
|
-
examples: ["/auth", "/auth login pro", "/auth logout"],
|
|
97
|
-
},
|
|
98
|
-
subcommands: AUTH_SUBCOMMANDS,
|
|
99
|
-
handlerKey: "auth",
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
command: {
|
|
103
|
-
name: "usage",
|
|
104
|
-
description: "Usage tracking: cost, quota, stats",
|
|
105
|
-
usage: "/usage [cost|quota|stats] [args]",
|
|
106
|
-
tags: ["usage"],
|
|
107
|
-
examples: [
|
|
108
|
-
"/usage",
|
|
109
|
-
"/usage cost breakdown week",
|
|
110
|
-
"/usage quota detailed",
|
|
111
|
-
],
|
|
112
|
-
},
|
|
113
|
-
subcommands: USAGE_SUBCOMMANDS,
|
|
114
|
-
handlerKey: "usage",
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
command: {
|
|
118
|
-
name: "undo",
|
|
119
|
-
description: "Undo system: undo, checkpoint, changes, history",
|
|
120
|
-
usage: "/undo [<N>|checkpoint|changes|history] [args]",
|
|
121
|
-
tags: ["undo"],
|
|
122
|
-
examples: [
|
|
123
|
-
"/undo",
|
|
124
|
-
"/undo 3",
|
|
125
|
-
"/undo checkpoint save before-refactor",
|
|
126
|
-
"/undo changes",
|
|
127
|
-
],
|
|
128
|
-
},
|
|
129
|
-
subcommands: UNDO_SUBCOMMANDS,
|
|
130
|
-
handlerKey: "undo",
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
command: {
|
|
134
|
-
name: "cfg",
|
|
135
|
-
description: "Configuration: validate, import, framework, composer, init",
|
|
136
|
-
usage: "/cfg [validate|import|framework|composer|init] [args]",
|
|
137
|
-
tags: ["config"],
|
|
138
|
-
examples: [
|
|
139
|
-
"/cfg",
|
|
140
|
-
"/cfg validate",
|
|
141
|
-
"/cfg import factory",
|
|
142
|
-
"/cfg framework react",
|
|
143
|
-
"/cfg composer code-reviewer",
|
|
144
|
-
],
|
|
145
|
-
},
|
|
146
|
-
subcommands: CONFIG_SUBCOMMANDS,
|
|
147
|
-
handlerKey: "config",
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
command: {
|
|
151
|
-
name: "tools",
|
|
152
|
-
description: "Tools: list, mcp, lsp, workflow, run, commands",
|
|
153
|
-
usage: "/tools [list|mcp|lsp|workflow|run|commands] [args]",
|
|
154
|
-
tags: ["tools"],
|
|
155
|
-
aliases: ["t"],
|
|
156
|
-
examples: [
|
|
157
|
-
"/tools",
|
|
158
|
-
"/tools list",
|
|
159
|
-
"/tools mcp",
|
|
160
|
-
"/tools lsp status",
|
|
161
|
-
"/tools run test",
|
|
162
|
-
],
|
|
163
|
-
},
|
|
164
|
-
subcommands: TOOLS_SUBCOMMANDS,
|
|
165
|
-
handlerKey: "tools",
|
|
166
|
-
},
|
|
167
|
-
];
|
|
168
|
-
export function createCommandRegistry({ getRunScriptCompletions, handlers, getGroupedHandlers, createContext, }) {
|
|
169
|
-
const entries = [
|
|
170
|
-
buildEntry({
|
|
171
|
-
name: "zen",
|
|
172
|
-
description: "Toggle Zen Mode (hides header, ensures minimal footer)",
|
|
173
|
-
usage: "/zen [on|off]",
|
|
174
|
-
tags: ["ui"],
|
|
175
|
-
examples: ["/zen", "/zen on", "/zen off"],
|
|
176
|
-
}, withArgs("zen"), handlers.zen, createContext),
|
|
177
|
-
buildEntry({
|
|
178
|
-
name: "context",
|
|
179
|
-
description: "Visualize context usage (tokens per message/file)",
|
|
180
|
-
usage: "/context",
|
|
181
|
-
tags: ["diagnostics", "usage"],
|
|
182
|
-
}, equals("context"), handlers.context, createContext),
|
|
183
|
-
buildEntry({
|
|
184
|
-
name: "access",
|
|
185
|
-
description: "Directory access rules and path testing",
|
|
186
|
-
usage: "/access [safe|restricted|test <path>]",
|
|
187
|
-
tags: ["diagnostics", "safety"],
|
|
188
|
-
examples: ["/access", "/access safe", "/access test ./logs/output.txt"],
|
|
189
|
-
getArgumentCompletions: createSubcommandCompletions(ACCESS_SUBCOMMANDS),
|
|
190
|
-
}, withArgs("access"), handlers.access, createContext),
|
|
191
|
-
buildEntry({
|
|
192
|
-
name: "pii",
|
|
193
|
-
description: "PII detection patterns and testing",
|
|
194
|
-
usage: "/pii [patterns|test <text>]",
|
|
195
|
-
tags: ["diagnostics", "security"],
|
|
196
|
-
examples: ["/pii", "/pii patterns", "/pii test jane.doe@example.com"],
|
|
197
|
-
}, withArgs("pii"), handlers.pii, createContext),
|
|
198
|
-
buildEntry({
|
|
199
|
-
name: "audit",
|
|
200
|
-
description: "Audit log status (enterprise)",
|
|
201
|
-
usage: "/audit [status]",
|
|
202
|
-
tags: ["diagnostics", "security"],
|
|
203
|
-
examples: ["/audit", "/audit status"],
|
|
204
|
-
}, withArgs("audit"), handlers.audit, createContext),
|
|
205
|
-
buildEntry({
|
|
206
|
-
name: "limits",
|
|
207
|
-
description: "Show configurable runtime limits",
|
|
208
|
-
usage: "/limits [all|tool|tui|api|session|runtime|help]",
|
|
209
|
-
tags: ["config", "diagnostics"],
|
|
210
|
-
examples: ["/limits", "/limits tool", "/limits runtime"],
|
|
211
|
-
}, withArgs("limits"), handlers.limits, createContext),
|
|
212
|
-
buildEntry({
|
|
213
|
-
name: "approvals",
|
|
214
|
-
description: "Show approval status or switch between auto/prompt/fail modes",
|
|
215
|
-
usage: "/approvals [auto|prompt|fail]",
|
|
216
|
-
tags: ["safety"],
|
|
217
|
-
}, withArgs("approvals"), handlers.approvals, createContext),
|
|
218
|
-
buildEntry({
|
|
219
|
-
name: "plan-mode",
|
|
220
|
-
description: "Toggle plan mode (ask before write/edit/bash)",
|
|
221
|
-
usage: "/plan-mode [on|off]",
|
|
222
|
-
tags: ["safety"],
|
|
223
|
-
}, withArgs("plan-mode"), handlers.planMode, createContext),
|
|
224
|
-
buildEntry({
|
|
225
|
-
name: "guardian",
|
|
226
|
-
description: "Run Maestro Guardian (Semgrep + secrets) or toggle enforcement",
|
|
227
|
-
usage: "/guardian [run|status|enable|disable|all]",
|
|
228
|
-
tags: ["safety", "git"],
|
|
229
|
-
examples: ["/guardian", "/guardian status", "/guardian disable"],
|
|
230
|
-
}, withArgs("guardian"), handlers.guardian, createContext),
|
|
231
|
-
buildEntry({
|
|
232
|
-
name: "workflow",
|
|
233
|
-
description: "Run declarative multi-step tool workflows",
|
|
234
|
-
usage: "/workflow [list|run|validate|show] [name]",
|
|
235
|
-
tags: ["tools", "automation"],
|
|
236
|
-
arguments: [
|
|
237
|
-
{
|
|
238
|
-
name: "subcommand",
|
|
239
|
-
type: "enum",
|
|
240
|
-
required: false,
|
|
241
|
-
description: "Workflow subcommand",
|
|
242
|
-
choices: ["list", "run", "validate", "show"],
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
name: "name",
|
|
246
|
-
type: "string",
|
|
247
|
-
required: false,
|
|
248
|
-
description: "Workflow name",
|
|
249
|
-
},
|
|
250
|
-
],
|
|
251
|
-
examples: [
|
|
252
|
-
"/workflow",
|
|
253
|
-
"/workflow list",
|
|
254
|
-
"/workflow run setup-project",
|
|
255
|
-
"/workflow validate my-workflow",
|
|
256
|
-
"/workflow show my-workflow",
|
|
257
|
-
],
|
|
258
|
-
}, withArgs("workflow"), handlers.workflow, createContext),
|
|
259
|
-
buildEntry({
|
|
260
|
-
name: "framework",
|
|
261
|
-
description: "Set or show default framework (supports --workspace and list)",
|
|
262
|
-
usage: "/framework [id|none|list] [--workspace]",
|
|
263
|
-
tags: ["session"],
|
|
264
|
-
}, withArgs("framework"), handlers.framework, createContext),
|
|
265
|
-
buildEntry({
|
|
266
|
-
name: "commands",
|
|
267
|
-
description: "List or run user commands from .maestro/commands",
|
|
268
|
-
usage: "/commands list | /commands run <name> [k=v]...",
|
|
269
|
-
tags: ["session", "automation"],
|
|
270
|
-
}, withArgs("commands"), handlers.commands, createContext),
|
|
271
|
-
buildEntry({
|
|
272
|
-
name: "report",
|
|
273
|
-
description: "Collect info for bug reports or general feedback",
|
|
274
|
-
usage: "/report [bug|feedback]",
|
|
275
|
-
tags: ["support"],
|
|
276
|
-
arguments: [
|
|
277
|
-
{
|
|
278
|
-
name: "type",
|
|
279
|
-
type: "enum",
|
|
280
|
-
required: false,
|
|
281
|
-
description: "Select report type",
|
|
282
|
-
choices: ["bug", "feedback"],
|
|
283
|
-
},
|
|
284
|
-
],
|
|
285
|
-
examples: ["/report", "/report bug", "/report feedback"],
|
|
286
|
-
}, withArgs("report"), handlers.report, createContext),
|
|
287
|
-
buildEntry({
|
|
288
|
-
name: "thinking",
|
|
289
|
-
description: "Adjust reasoning level for supported models",
|
|
290
|
-
usage: "/thinking [off|minimal|low|medium|high]",
|
|
291
|
-
tags: ["session"],
|
|
292
|
-
arguments: [
|
|
293
|
-
{
|
|
294
|
-
name: "level",
|
|
295
|
-
type: "enum",
|
|
296
|
-
required: false,
|
|
297
|
-
description: "Thinking level to set",
|
|
298
|
-
choices: ["off", "minimal", "low", "medium", "high"],
|
|
299
|
-
},
|
|
300
|
-
],
|
|
301
|
-
examples: ["/thinking", "/thinking medium", "/thinking off"],
|
|
302
|
-
}, withArgs("thinking"), handlers.thinking, createContext),
|
|
303
|
-
buildEntry({
|
|
304
|
-
name: "model",
|
|
305
|
-
description: "Select model (opens selector UI)",
|
|
306
|
-
usage: "/model",
|
|
307
|
-
tags: ["session"],
|
|
308
|
-
}, equals("model"), handlers.model, createContext),
|
|
309
|
-
buildEntry({
|
|
310
|
-
name: "mode",
|
|
311
|
-
description: "Switch agent mode (smart/rush/free)",
|
|
312
|
-
usage: "/mode [smart|rush|free|list|suggest]",
|
|
313
|
-
tags: ["session", "model"],
|
|
314
|
-
examples: ["/mode", "/mode smart", "/mode rush", "/mode free"],
|
|
315
|
-
}, withArgs("mode"), handlers.mode, createContext),
|
|
316
|
-
buildEntry({
|
|
317
|
-
name: "theme",
|
|
318
|
-
description: "Select color theme (opens selector with live preview)",
|
|
319
|
-
usage: "/theme",
|
|
320
|
-
tags: ["ui"],
|
|
321
|
-
}, equals("theme"), handlers.theme, createContext),
|
|
322
|
-
buildEntry({
|
|
323
|
-
name: "clean",
|
|
324
|
-
description: "Toggle assistant text deduplication during live streaming only",
|
|
325
|
-
usage: "/clean [off|soft|aggressive]",
|
|
326
|
-
tags: ["ui"],
|
|
327
|
-
examples: ["/clean", "/clean soft", "/clean off"],
|
|
328
|
-
}, withArgs("clean"), handlers.clean, createContext),
|
|
329
|
-
buildEntry({
|
|
330
|
-
name: "new",
|
|
331
|
-
description: "Start a fresh chat session",
|
|
332
|
-
usage: "/new",
|
|
333
|
-
tags: ["session"],
|
|
334
|
-
}, equals("new"), handlers.newChat, createContext),
|
|
335
|
-
buildEntry({
|
|
336
|
-
name: "export",
|
|
337
|
-
description: "Export session to HTML, text, JSON, or JSONL",
|
|
338
|
-
usage: "/export [path] [html|text|json|jsonl]",
|
|
339
|
-
tags: ["session", "sharing"],
|
|
340
|
-
aliases: ["e"],
|
|
341
|
-
}, withArgs("export", ["e"]), handlers.exportSession, createContext),
|
|
342
|
-
buildEntry({
|
|
343
|
-
name: "share",
|
|
344
|
-
description: "Generate a self-contained HTML share link",
|
|
345
|
-
usage: "/share [output.html]",
|
|
346
|
-
tags: ["session", "sharing"],
|
|
347
|
-
}, withArgs("share"), handlers.shareSession, createContext),
|
|
348
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
349
|
-
// STANDALONE COMMANDS - These are also available as grouped subcommands
|
|
350
|
-
// (e.g., /import is also /cfg import, /mcp is also /tools mcp)
|
|
351
|
-
// Keep for backwards compatibility and discoverability
|
|
352
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
353
|
-
buildEntry({
|
|
354
|
-
name: "import",
|
|
355
|
-
description: "Import configuration or portable session files",
|
|
356
|
-
usage: "/import factory | /import session <file.json|file.jsonl>",
|
|
357
|
-
tags: ["config"],
|
|
358
|
-
}, withArgs("import"), handlers.importConfig, createContext),
|
|
359
|
-
buildEntry({
|
|
360
|
-
name: "session",
|
|
361
|
-
description: "Show session info, mark favorite, or add a manual summary",
|
|
362
|
-
usage: '/session [info|favorite|unfavorite|summary "text"] (defaults: info)',
|
|
363
|
-
tags: ["session"],
|
|
364
|
-
aliases: ["s"],
|
|
365
|
-
}, withArgs("session", ["s"]), handlers.session, createContext),
|
|
366
|
-
buildEntry({
|
|
367
|
-
name: "sessions",
|
|
368
|
-
description: "List, load, favorite, or summarize recent sessions by index",
|
|
369
|
-
usage: "/sessions [list|load <id>|favorite <id>|unfavorite <id>|summarize <id>]",
|
|
370
|
-
tags: ["session"],
|
|
371
|
-
aliases: ["ss"],
|
|
372
|
-
}, withArgs("sessions", ["ss"]), handlers.sessions, createContext),
|
|
373
|
-
buildEntry({
|
|
374
|
-
name: "history",
|
|
375
|
-
description: "Show or search prompt history",
|
|
376
|
-
usage: "/history [count|search query|clear]",
|
|
377
|
-
tags: ["session"],
|
|
378
|
-
aliases: ["hist"],
|
|
379
|
-
examples: ["/history", "/history 25", "/history clear"],
|
|
380
|
-
}, withArgs("history", ["hist"]), handlers.history, createContext),
|
|
381
|
-
buildEntry({
|
|
382
|
-
name: "branch",
|
|
383
|
-
description: "Create a new session from an earlier user message (keeps history up to that point)",
|
|
384
|
-
usage: "/branch [list|<user-message-number>]",
|
|
385
|
-
tags: ["session"],
|
|
386
|
-
}, withArgs("branch"), handlers.branch, createContext),
|
|
387
|
-
buildEntry({
|
|
388
|
-
name: "tree",
|
|
389
|
-
description: "Navigate the session tree and switch branches",
|
|
390
|
-
usage: "/tree",
|
|
391
|
-
tags: ["session"],
|
|
392
|
-
}, equals("tree"), handlers.tree, createContext),
|
|
393
|
-
buildEntry({
|
|
394
|
-
name: "queue",
|
|
395
|
-
description: "List, cancel, or change queue mode",
|
|
396
|
-
usage: "/queue [list|cancel <id>|mode [steer|followup] <one|all>]",
|
|
397
|
-
tags: ["session"],
|
|
398
|
-
}, withArgs("queue"), handlers.queue, createContext),
|
|
399
|
-
buildEntry({
|
|
400
|
-
name: "steer",
|
|
401
|
-
description: "Interrupt current run and run a prompt next",
|
|
402
|
-
usage: "/steer <message>",
|
|
403
|
-
tags: ["session"],
|
|
404
|
-
examples: ["/steer focus on tests next"],
|
|
405
|
-
}, withArgs("steer"), handlers.steer, createContext),
|
|
406
|
-
buildEntry({
|
|
407
|
-
name: "about",
|
|
408
|
-
description: "Show Maestro build, env, and git info",
|
|
409
|
-
usage: "/about",
|
|
410
|
-
tags: ["system", "diagnostics"],
|
|
411
|
-
}, equals("about"), handlers.about, createContext),
|
|
412
|
-
buildEntry({
|
|
413
|
-
name: "clear",
|
|
414
|
-
description: "Clear context and start a fresh session",
|
|
415
|
-
usage: "/clear",
|
|
416
|
-
tags: ["session"],
|
|
417
|
-
}, equals("clear"), handlers.clear, createContext),
|
|
418
|
-
buildEntry({
|
|
419
|
-
name: "plan",
|
|
420
|
-
description: "Show saved plans/checklists",
|
|
421
|
-
usage: "/plan [id]",
|
|
422
|
-
tags: ["planning"],
|
|
423
|
-
aliases: ["p"],
|
|
424
|
-
}, withArgs("plan", ["p"]), handlers.plan, createContext),
|
|
425
|
-
buildEntry({
|
|
426
|
-
name: "init",
|
|
427
|
-
description: "Create or overwrite AGENTS.md scaffolding for this repo",
|
|
428
|
-
usage: "/init [path]",
|
|
429
|
-
tags: ["config"],
|
|
430
|
-
}, withArgs("init"), handlers.initAgents, createContext),
|
|
431
|
-
buildEntry({
|
|
432
|
-
name: "diff",
|
|
433
|
-
description: "Show git diff for a file",
|
|
434
|
-
usage: "/diff <path>",
|
|
435
|
-
tags: ["git"],
|
|
436
|
-
}, withArgs("diff"), handlers.preview, createContext),
|
|
437
|
-
buildEntry({
|
|
438
|
-
name: "status",
|
|
439
|
-
description: "Show health snapshot (model, git, plan, telemetry, training)",
|
|
440
|
-
usage: "/status",
|
|
441
|
-
tags: ["diagnostics"],
|
|
442
|
-
}, equals("status"), handlers.status, createContext),
|
|
443
|
-
buildEntry({
|
|
444
|
-
name: "background",
|
|
445
|
-
description: "Configure background task notifications and status redaction",
|
|
446
|
-
usage: "/background [status|notify <on|off>|details <on|off>|history|path]",
|
|
447
|
-
tags: ["diagnostics"],
|
|
448
|
-
examples: [
|
|
449
|
-
"/background",
|
|
450
|
-
"/background notify on",
|
|
451
|
-
"/background details on",
|
|
452
|
-
"/background history",
|
|
453
|
-
"/background path",
|
|
454
|
-
],
|
|
455
|
-
}, withArgs("background"), handlers.background, createContext),
|
|
456
|
-
buildEntry({
|
|
457
|
-
name: "review",
|
|
458
|
-
description: "Summarize git status and diff stats",
|
|
459
|
-
usage: "/review",
|
|
460
|
-
tags: ["git"],
|
|
461
|
-
}, equals("review"), handlers.review, createContext),
|
|
462
|
-
buildEntry({
|
|
463
|
-
name: "undo",
|
|
464
|
-
description: "Undo last N file changes (beyond git) with preview",
|
|
465
|
-
usage: "/undo [N] [--preview] [--force]",
|
|
466
|
-
tags: ["undo", "safety"],
|
|
467
|
-
arguments: [
|
|
468
|
-
{
|
|
469
|
-
name: "count",
|
|
470
|
-
type: "number",
|
|
471
|
-
required: false,
|
|
472
|
-
description: "Number of changes to undo (default: 1)",
|
|
473
|
-
},
|
|
474
|
-
],
|
|
475
|
-
examples: ["/undo", "/undo 3", "/undo --preview", "/undo 2 --force"],
|
|
476
|
-
}, withArgs("undo"), handlers.undoChanges, createContext),
|
|
477
|
-
buildEntry({
|
|
478
|
-
name: "changes",
|
|
479
|
-
description: "List tracked file changes from this session",
|
|
480
|
-
usage: "/changes [--files|--tools]",
|
|
481
|
-
tags: ["undo", "diagnostics"],
|
|
482
|
-
examples: ["/changes", "/changes --files", "/changes --tools"],
|
|
483
|
-
}, withArgs("changes"), handlers.changes, createContext),
|
|
484
|
-
buildEntry({
|
|
485
|
-
name: "checkpoint",
|
|
486
|
-
description: "Save/restore named checkpoints for rollback",
|
|
487
|
-
usage: "/checkpoint [save|list|restore] [name]",
|
|
488
|
-
tags: ["undo", "safety"],
|
|
489
|
-
arguments: [
|
|
490
|
-
{
|
|
491
|
-
name: "subcommand",
|
|
492
|
-
type: "enum",
|
|
493
|
-
required: false,
|
|
494
|
-
description: "Checkpoint subcommand",
|
|
495
|
-
choices: ["save", "list", "restore"],
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
name: "name",
|
|
499
|
-
type: "string",
|
|
500
|
-
required: false,
|
|
501
|
-
description: "Checkpoint name",
|
|
502
|
-
},
|
|
503
|
-
],
|
|
504
|
-
examples: [
|
|
505
|
-
"/checkpoint",
|
|
506
|
-
"/checkpoint save before-refactor",
|
|
507
|
-
"/checkpoint list",
|
|
508
|
-
"/checkpoint restore before-refactor",
|
|
509
|
-
],
|
|
510
|
-
}, withArgs("checkpoint"), handlers.checkpoint, createContext),
|
|
511
|
-
buildEntry({
|
|
512
|
-
name: "memory",
|
|
513
|
-
description: "Cross-session and repo-scoped memory for facts and learnings",
|
|
514
|
-
usage: "/memory [save|search|list|session|recent|team|delete|stats|export|import|clear]",
|
|
515
|
-
tags: ["memory", "session"],
|
|
516
|
-
arguments: [
|
|
517
|
-
{
|
|
518
|
-
name: "subcommand",
|
|
519
|
-
type: "enum",
|
|
520
|
-
required: false,
|
|
521
|
-
description: "Memory subcommand",
|
|
522
|
-
choices: [
|
|
523
|
-
"save",
|
|
524
|
-
"search",
|
|
525
|
-
"list",
|
|
526
|
-
"session",
|
|
527
|
-
"recent",
|
|
528
|
-
"team",
|
|
529
|
-
"delete",
|
|
530
|
-
"stats",
|
|
531
|
-
"export",
|
|
532
|
-
"import",
|
|
533
|
-
"clear",
|
|
534
|
-
],
|
|
535
|
-
},
|
|
536
|
-
],
|
|
537
|
-
examples: [
|
|
538
|
-
"/memory",
|
|
539
|
-
"/memory save api-design Use REST conventions #rest",
|
|
540
|
-
"/memory search REST",
|
|
541
|
-
"/memory search REST --session",
|
|
542
|
-
"/memory list",
|
|
543
|
-
"/memory list api-design",
|
|
544
|
-
"/memory session 5",
|
|
545
|
-
"/memory team",
|
|
546
|
-
"/memory team init",
|
|
547
|
-
"/memory stats",
|
|
548
|
-
],
|
|
549
|
-
}, withArgs("memory"), handlers.memory, createContext),
|
|
550
|
-
buildEntry({
|
|
551
|
-
name: "mention",
|
|
552
|
-
description: "Search files to mention (same as @ search)",
|
|
553
|
-
usage: "/mention <query>",
|
|
554
|
-
tags: ["search"],
|
|
555
|
-
}, withArgs("mention"), handlers.mention, createContext),
|
|
556
|
-
buildEntry({
|
|
557
|
-
name: "run",
|
|
558
|
-
description: "Run npm script (e.g. /run test --watch)",
|
|
559
|
-
usage: "/run <script> [--flags]",
|
|
560
|
-
tags: ["automation"],
|
|
561
|
-
aliases: ["r"],
|
|
562
|
-
getArgumentCompletions: getRunScriptCompletions,
|
|
563
|
-
}, withArgs("run", ["r"]), handlers.run, createContext),
|
|
564
|
-
buildEntry({
|
|
565
|
-
name: "ollama",
|
|
566
|
-
description: "Control local Ollama models (list, pull, ps)",
|
|
567
|
-
usage: "/ollama [list|pull <model>|ps]",
|
|
568
|
-
tags: ["local", "models"],
|
|
569
|
-
examples: ["/ollama list", "/ollama pull llama3", "/ollama ps"],
|
|
570
|
-
}, withArgs("ollama"), handlers.ollama, createContext),
|
|
571
|
-
buildEntry({
|
|
572
|
-
name: "help",
|
|
573
|
-
description: "List available slash commands",
|
|
574
|
-
usage: "/help",
|
|
575
|
-
tags: ["support"],
|
|
576
|
-
aliases: ["h"],
|
|
577
|
-
}, equals("help", ["h"]), handlers.help, createContext),
|
|
578
|
-
buildEntry({
|
|
579
|
-
name: "update",
|
|
580
|
-
description: "Check for Maestro CLI updates",
|
|
581
|
-
usage: "/update",
|
|
582
|
-
tags: ["system"],
|
|
583
|
-
}, equals("update"), handlers.update, createContext),
|
|
584
|
-
buildEntry({
|
|
585
|
-
name: "changelog",
|
|
586
|
-
description: "Display full version history",
|
|
587
|
-
usage: "/changelog",
|
|
588
|
-
tags: ["system"],
|
|
589
|
-
}, equals("changelog"), handlers.changelog, createContext),
|
|
590
|
-
buildEntry({
|
|
591
|
-
name: "hotkeys",
|
|
592
|
-
description: "Show or manage keyboard shortcuts",
|
|
593
|
-
usage: "/hotkeys [show|path|init|validate]",
|
|
594
|
-
tags: ["help", "config"],
|
|
595
|
-
aliases: ["keys", "shortcuts"],
|
|
596
|
-
examples: [
|
|
597
|
-
"/hotkeys",
|
|
598
|
-
"/hotkeys path",
|
|
599
|
-
"/hotkeys init",
|
|
600
|
-
"/hotkeys validate",
|
|
601
|
-
],
|
|
602
|
-
getArgumentCompletions: createSubcommandCompletions(HOTKEYS_SUBCOMMANDS),
|
|
603
|
-
}, withArgs("hotkeys", ["keys", "shortcuts"]), handlers.hotkeys, createContext),
|
|
604
|
-
buildEntry({
|
|
605
|
-
name: "package",
|
|
606
|
-
description: "Manage, inspect, or validate Maestro package/plugin bundles",
|
|
607
|
-
usage: "/package [add|remove|prune-cache|refresh|list|inspect|validate] [source] [--scope ...]",
|
|
608
|
-
tags: ["tools", "config"],
|
|
609
|
-
aliases: ["plugin"],
|
|
610
|
-
examples: [
|
|
611
|
-
"/package add ./packages/my-pack",
|
|
612
|
-
"/package list",
|
|
613
|
-
"/package remove ./packages/my-pack",
|
|
614
|
-
"/package prune-cache",
|
|
615
|
-
"/package refresh git:github.com/org/my-pack@main",
|
|
616
|
-
"/package refresh --all",
|
|
617
|
-
"/package inspect ./packages/my-pack",
|
|
618
|
-
"/package validate ./packages/my-pack",
|
|
619
|
-
"/plugin ./packages/my-pack",
|
|
620
|
-
],
|
|
621
|
-
getArgumentCompletions: createSubcommandCompletions(PACKAGE_SUBCOMMANDS),
|
|
622
|
-
}, withArgs("package", ["plugin"]), handlers.package, createContext),
|
|
623
|
-
buildEntry({
|
|
624
|
-
name: "telemetry",
|
|
625
|
-
description: "Show telemetry status or toggle runtime overrides",
|
|
626
|
-
usage: "/telemetry [status|on|off|reset]",
|
|
627
|
-
tags: ["diagnostics", "telemetry"],
|
|
628
|
-
arguments: [
|
|
629
|
-
{
|
|
630
|
-
name: "action",
|
|
631
|
-
type: "enum",
|
|
632
|
-
required: false,
|
|
633
|
-
description: "Action to perform",
|
|
634
|
-
choices: ["status", "on", "off", "reset"],
|
|
635
|
-
},
|
|
636
|
-
],
|
|
637
|
-
examples: ["/telemetry", "/telemetry off"],
|
|
638
|
-
}, withArgs("telemetry"), handlers.telemetry, createContext),
|
|
639
|
-
buildEntry({
|
|
640
|
-
name: "otel",
|
|
641
|
-
description: "Show OpenTelemetry runtime configuration",
|
|
642
|
-
usage: "/otel",
|
|
643
|
-
tags: ["diagnostics", "telemetry"],
|
|
644
|
-
}, equals("otel"), handlers.otel, createContext),
|
|
645
|
-
buildEntry({
|
|
646
|
-
name: "training",
|
|
647
|
-
description: "Toggle model training preference or show status",
|
|
648
|
-
usage: "/training [status|on|off|reset]",
|
|
649
|
-
tags: ["privacy"],
|
|
650
|
-
arguments: [
|
|
651
|
-
{
|
|
652
|
-
name: "action",
|
|
653
|
-
type: "enum",
|
|
654
|
-
required: false,
|
|
655
|
-
description: "Training action",
|
|
656
|
-
choices: ["status", "on", "off", "reset"],
|
|
657
|
-
},
|
|
658
|
-
],
|
|
659
|
-
examples: ["/training", "/training off"],
|
|
660
|
-
}, withArgs("training"), handlers.training, createContext),
|
|
661
|
-
buildEntry({
|
|
662
|
-
name: "config",
|
|
663
|
-
description: "Validate and inspect Maestro configuration",
|
|
664
|
-
usage: "/config [summary|sources|providers|env|files|help]",
|
|
665
|
-
tags: ["config"],
|
|
666
|
-
examples: ["/config", "/config sources"],
|
|
667
|
-
}, equals("config"), handlers.config, createContext),
|
|
668
|
-
buildEntry({
|
|
669
|
-
name: "cost",
|
|
670
|
-
description: "Show usage and cost summary",
|
|
671
|
-
usage: "/cost [period|breakdown <period>|clear|help]",
|
|
672
|
-
tags: ["usage"],
|
|
673
|
-
examples: ["/cost", "/cost breakdown week"],
|
|
674
|
-
}, withArgs("cost"), handlers.cost, createContext),
|
|
675
|
-
buildEntry({
|
|
676
|
-
name: "quota",
|
|
677
|
-
description: "Show token quota status and usage limits",
|
|
678
|
-
usage: "/quota [detailed|models|alerts|limit <tokens>|help]",
|
|
679
|
-
tags: ["usage"],
|
|
680
|
-
examples: [
|
|
681
|
-
"/quota",
|
|
682
|
-
"/quota detailed",
|
|
683
|
-
"/quota models",
|
|
684
|
-
"/quota limit 100000",
|
|
685
|
-
],
|
|
686
|
-
}, withArgs("quota"), handlers.quota, createContext),
|
|
687
|
-
buildEntry({
|
|
688
|
-
name: "stats",
|
|
689
|
-
description: "Show combined status and cost overview",
|
|
690
|
-
usage: "/stats",
|
|
691
|
-
tags: ["diagnostics", "usage"],
|
|
692
|
-
}, equals("stats"), handlers.stats, createContext),
|
|
693
|
-
buildEntry({
|
|
694
|
-
name: "diag",
|
|
695
|
-
description: "Show provider/model/API key diagnostics",
|
|
696
|
-
usage: "/diag [lsp|keys]",
|
|
697
|
-
tags: ["diagnostics"],
|
|
698
|
-
aliases: ["d", "diagnostics"],
|
|
699
|
-
}, matchDiagnostics, handlers.diagnostics, createContext),
|
|
700
|
-
buildEntry({
|
|
701
|
-
name: "mcp",
|
|
702
|
-
description: "Show or manage Model Context Protocol servers and auth presets",
|
|
703
|
-
usage: "/mcp [add|edit|remove|approve|deny|search|import|auth|resources|prompts]",
|
|
704
|
-
tags: ["tools"],
|
|
705
|
-
examples: [
|
|
706
|
-
"/mcp",
|
|
707
|
-
"/mcp search linear",
|
|
708
|
-
"/mcp import linear",
|
|
709
|
-
"/mcp approve linear",
|
|
710
|
-
"/mcp auth add linear-auth --header 'Authorization: Bearer ...'",
|
|
711
|
-
"/mcp add linear https://mcp.linear.app/mcp",
|
|
712
|
-
"/mcp add linear https://mcp.linear.app/mcp --auth-preset linear-auth",
|
|
713
|
-
"/mcp edit linear https://mcp.linear.app/mcp --header 'Authorization: Bearer ...'",
|
|
714
|
-
"/mcp remove linear",
|
|
715
|
-
"/mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem .",
|
|
716
|
-
],
|
|
717
|
-
}, withArgs("mcp"), handlers.mcp, createContext),
|
|
718
|
-
buildEntry({
|
|
719
|
-
name: "lsp",
|
|
720
|
-
description: "Manage Language Server Protocol servers",
|
|
721
|
-
usage: "/lsp [status|start|stop|restart|detect]",
|
|
722
|
-
tags: ["tools", "diagnostics"],
|
|
723
|
-
examples: [
|
|
724
|
-
"/lsp",
|
|
725
|
-
"/lsp status",
|
|
726
|
-
"/lsp start",
|
|
727
|
-
"/lsp stop",
|
|
728
|
-
"/lsp restart",
|
|
729
|
-
"/lsp detect",
|
|
730
|
-
],
|
|
731
|
-
}, withArgs("lsp"), handlers.lsp, createContext),
|
|
732
|
-
buildEntry({
|
|
733
|
-
name: "composer",
|
|
734
|
-
description: "Manage custom composer configurations",
|
|
735
|
-
usage: "/composer [list|<name>|activate <name>|deactivate]",
|
|
736
|
-
tags: ["config"],
|
|
737
|
-
examples: [
|
|
738
|
-
"/composer",
|
|
739
|
-
"/composer list",
|
|
740
|
-
"/composer code-reviewer",
|
|
741
|
-
"/composer activate code-reviewer",
|
|
742
|
-
"/composer deactivate",
|
|
743
|
-
],
|
|
744
|
-
}, withArgs("composer"), handlers.composer, createContext),
|
|
745
|
-
buildEntry({
|
|
746
|
-
name: "prompts",
|
|
747
|
-
description: "List/run prompt templates from markdown files (~/.maestro/prompts/, .maestro/prompts/).",
|
|
748
|
-
usage: "/prompts [list|<name> [args]]",
|
|
749
|
-
tags: ["automation", "session"],
|
|
750
|
-
examples: [
|
|
751
|
-
"/prompts",
|
|
752
|
-
"/prompts list",
|
|
753
|
-
"/prompts review FILE=src/main.ts",
|
|
754
|
-
"/pr-review FILE=src/main.ts",
|
|
755
|
-
'/prompts ticket TICKET_ID=123 TITLE="Fix bug"',
|
|
756
|
-
],
|
|
757
|
-
}, withArgs("prompts"), handlers.prompts, createContext),
|
|
758
|
-
buildEntry({
|
|
759
|
-
name: "compact",
|
|
760
|
-
description: "Summarize older messages to reclaim context",
|
|
761
|
-
usage: "/compact [custom instructions]",
|
|
762
|
-
tags: ["planning"],
|
|
763
|
-
examples: [
|
|
764
|
-
"/compact",
|
|
765
|
-
"/compact Focus on the API changes",
|
|
766
|
-
"/compact Emphasize database migrations",
|
|
767
|
-
],
|
|
768
|
-
}, withArgs("compact"), handlers.compact, createContext),
|
|
769
|
-
buildEntry({
|
|
770
|
-
name: "autocompact",
|
|
771
|
-
description: "Toggle or configure auto-compaction",
|
|
772
|
-
usage: "/autocompact [on|off|status]",
|
|
773
|
-
tags: ["planning"],
|
|
774
|
-
examples: [
|
|
775
|
-
"/autocompact",
|
|
776
|
-
"/autocompact on",
|
|
777
|
-
"/autocompact off",
|
|
778
|
-
"/autocompact status",
|
|
779
|
-
],
|
|
780
|
-
}, withArgs("autocompact"), handlers.autocompact, createContext),
|
|
781
|
-
buildEntry({
|
|
782
|
-
name: "footer",
|
|
783
|
-
description: "Switch footer style or view/clear footer alerts",
|
|
784
|
-
usage: "/footer [ensemble|solo|history|clear]",
|
|
785
|
-
tags: ["ui"],
|
|
786
|
-
examples: [
|
|
787
|
-
"/footer",
|
|
788
|
-
"/footer solo",
|
|
789
|
-
"/footer history",
|
|
790
|
-
"/footer clear",
|
|
791
|
-
],
|
|
792
|
-
}, withArgs("footer"), handlers.footer, createContext),
|
|
793
|
-
buildEntry({
|
|
794
|
-
name: "alerts",
|
|
795
|
-
description: "Alias for footer alerts (history|clear)",
|
|
796
|
-
usage: "/alerts [history|clear]",
|
|
797
|
-
tags: ["ui"],
|
|
798
|
-
examples: ["/alerts history", "/alerts clear"],
|
|
799
|
-
}, withArgs("alerts"), (context) => {
|
|
800
|
-
context.rawInput = context.rawInput.replace(/^\/alerts/, "/footer");
|
|
801
|
-
context.argumentText = context.argumentText.replace(/^alerts/, "footer");
|
|
802
|
-
handlers.footer(context);
|
|
803
|
-
}, createContext),
|
|
804
|
-
buildEntry({
|
|
805
|
-
name: "compact-tools",
|
|
806
|
-
description: "Toggle folding of tool outputs",
|
|
807
|
-
usage: "/compact-tools [on|off]",
|
|
808
|
-
tags: ["tools"],
|
|
809
|
-
}, withArgs("compact-tools"), handlers.compactTools, createContext),
|
|
810
|
-
buildEntry({
|
|
811
|
-
name: "login",
|
|
812
|
-
description: "Authenticate with Claude Pro/Max via OAuth",
|
|
813
|
-
usage: "/login [mode] or /login [provider:mode]",
|
|
814
|
-
tags: ["auth"],
|
|
815
|
-
arguments: [
|
|
816
|
-
{
|
|
817
|
-
name: "argument",
|
|
818
|
-
type: "string",
|
|
819
|
-
required: false,
|
|
820
|
-
description: "Login mode (pro/console) or provider:mode format (e.g., anthropic:pro)",
|
|
821
|
-
},
|
|
822
|
-
],
|
|
823
|
-
examples: [
|
|
824
|
-
"/login",
|
|
825
|
-
"/login pro",
|
|
826
|
-
"/login console",
|
|
827
|
-
"/login anthropic:pro",
|
|
828
|
-
],
|
|
829
|
-
}, withArgs("login"), handlers.login, createContext),
|
|
830
|
-
buildEntry({
|
|
831
|
-
name: "logout",
|
|
832
|
-
description: "Remove stored Claude OAuth credentials",
|
|
833
|
-
usage: "/logout [provider]",
|
|
834
|
-
tags: ["auth"],
|
|
835
|
-
arguments: [
|
|
836
|
-
{
|
|
837
|
-
name: "provider",
|
|
838
|
-
type: "string",
|
|
839
|
-
required: false,
|
|
840
|
-
description: "OAuth provider to logout from (optional)",
|
|
841
|
-
},
|
|
842
|
-
],
|
|
843
|
-
examples: ["/logout", "/logout anthropic"],
|
|
844
|
-
}, withArgs("logout"), handlers.logout, createContext),
|
|
845
|
-
buildEntry({
|
|
846
|
-
name: "quit",
|
|
847
|
-
description: "Exit composer (same as ctrl+c twice)",
|
|
848
|
-
usage: "/quit",
|
|
849
|
-
tags: ["system"],
|
|
850
|
-
aliases: ["q", "exit"],
|
|
851
|
-
}, matchQuit, handlers.quit, createContext),
|
|
852
|
-
buildEntry({
|
|
853
|
-
name: "copy",
|
|
854
|
-
description: "Copy last assistant message to clipboard",
|
|
855
|
-
usage: "/copy",
|
|
856
|
-
tags: ["session"],
|
|
857
|
-
}, equals("copy"), handlers.copy, createContext),
|
|
858
|
-
...buildGroupedEntries(getGroupedHandlers, createContext),
|
|
859
|
-
buildEntry({
|
|
860
|
-
name: "toolhistory",
|
|
861
|
-
description: "Show tool execution history and stats",
|
|
862
|
-
usage: "/toolhistory [count|stats|clear|tool <name>]",
|
|
863
|
-
tags: ["tools"],
|
|
864
|
-
aliases: ["th"],
|
|
865
|
-
examples: ["/toolhistory", "/toolhistory stats", "/toolhistory read"],
|
|
866
|
-
}, withArgs("toolhistory", ["th"]), handlers.toolHistory, createContext),
|
|
867
|
-
buildEntry({
|
|
868
|
-
name: "skills",
|
|
869
|
-
description: "List or manage skills from SKILL.md",
|
|
870
|
-
usage: "/skills [list|activate|deactivate|reload|info] [skill-name]",
|
|
871
|
-
tags: ["tools"],
|
|
872
|
-
aliases: ["skill"],
|
|
873
|
-
examples: [
|
|
874
|
-
"/skills",
|
|
875
|
-
"/skills info my-skill",
|
|
876
|
-
"/skills activate my-skill",
|
|
877
|
-
],
|
|
878
|
-
}, withArgs("skills", ["skill"]), handlers.skills, createContext),
|
|
1
|
+
import { POST_SUITE_COMMAND_CATALOG, PRIMARY_COMMAND_CATALOG, } from "./command-catalog.js";
|
|
2
|
+
import { buildCommandCatalogEntries, buildCommandEntry, matchCommandWithArgs, } from "./command-registry-adapter.js";
|
|
3
|
+
import { COMMAND_SUITE_DEFINITIONS, } from "./command-suite-catalog.js";
|
|
4
|
+
import { createSubcommandCompletions } from "./subcommands/index.js";
|
|
5
|
+
export function createCommandRegistry({ getRunScriptCompletions, handlers, getCommandSuiteHandlers, createContext, }) {
|
|
6
|
+
const catalogContext = {
|
|
7
|
+
getRunScriptCompletions,
|
|
8
|
+
handlers,
|
|
9
|
+
createContext,
|
|
10
|
+
};
|
|
11
|
+
return [
|
|
12
|
+
...buildCommandCatalogEntries(PRIMARY_COMMAND_CATALOG, catalogContext),
|
|
13
|
+
...buildCommandSuiteEntries(getCommandSuiteHandlers, createContext),
|
|
14
|
+
...buildCommandCatalogEntries(POST_SUITE_COMMAND_CATALOG, catalogContext),
|
|
879
15
|
];
|
|
880
|
-
return entries;
|
|
881
16
|
}
|
|
882
|
-
function
|
|
883
|
-
return
|
|
17
|
+
function buildCommandSuiteEntries(getCommandSuiteHandlers, createContext) {
|
|
18
|
+
return COMMAND_SUITE_DEFINITIONS.map((definition) => buildCommandSuiteEntry(definition, getCommandSuiteHandlers, createContext));
|
|
884
19
|
}
|
|
885
|
-
function
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
matches,
|
|
889
|
-
execute: (input) => executeCommand(command, input, handler, createContext),
|
|
890
|
-
};
|
|
20
|
+
function buildCommandSuiteEntry(definition, getCommandSuiteHandlers, createContext) {
|
|
21
|
+
const handler = (context) => getCommandSuiteHandlers()[definition.key](context);
|
|
22
|
+
return buildCommandEntry(commandFromSuite(definition), matchCommandWithArgs(definition.name, definition.aliases), handler, createContext);
|
|
891
23
|
}
|
|
892
|
-
function
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
24
|
+
function commandFromSuite(definition) {
|
|
25
|
+
return {
|
|
26
|
+
name: definition.name,
|
|
27
|
+
description: definition.description,
|
|
28
|
+
usage: definition.usage,
|
|
29
|
+
examples: definition.examples,
|
|
30
|
+
tags: definition.tags,
|
|
31
|
+
aliases: definition.aliases,
|
|
32
|
+
arguments: definition.arguments,
|
|
896
33
|
getArgumentCompletions: createSubcommandCompletions(definition.subcommands),
|
|
897
|
-
}
|
|
898
|
-
}
|
|
899
|
-
function executeCommand(command, rawInput, handler, createContext) {
|
|
900
|
-
const argumentText = extractArgumentText(rawInput);
|
|
901
|
-
if (shouldShowHelp(argumentText)) {
|
|
902
|
-
const context = createContext({ command, rawInput, argumentText });
|
|
903
|
-
context.renderHelp();
|
|
904
|
-
return;
|
|
905
|
-
}
|
|
906
|
-
const parseResult = parseCommandArguments(argumentText, command.arguments);
|
|
907
|
-
if (!parseResult.ok) {
|
|
908
|
-
const context = createContext({ command, rawInput, argumentText });
|
|
909
|
-
context.showError("errors" in parseResult ? parseResult.errors.join(" ") : "Parse error");
|
|
910
|
-
context.renderHelp();
|
|
911
|
-
return;
|
|
912
|
-
}
|
|
913
|
-
const context = createContext({
|
|
914
|
-
command,
|
|
915
|
-
rawInput,
|
|
916
|
-
argumentText,
|
|
917
|
-
parsedArgs: parseResult.args,
|
|
918
|
-
});
|
|
919
|
-
return handler(context);
|
|
920
|
-
}
|
|
921
|
-
function extractArgumentText(input) {
|
|
922
|
-
const spaceIndex = input.indexOf(" ");
|
|
923
|
-
if (spaceIndex === -1) {
|
|
924
|
-
return "";
|
|
925
|
-
}
|
|
926
|
-
return input.slice(spaceIndex + 1).trim();
|
|
34
|
+
};
|
|
927
35
|
}
|
|
928
36
|
//# sourceMappingURL=registry.js.map
|