@evalops/maestro 0.10.51 → 0.10.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/agent.js.map +1 -1
- package/dist/agent/compaction.d.ts.map +1 -1
- package/dist/agent/compaction.js +1 -1
- package/dist/agent/compaction.js.map +1 -1
- package/dist/agent/context-handoff.d.ts.map +1 -1
- package/dist/agent/context-handoff.js +2 -1
- package/dist/agent/context-handoff.js.map +1 -1
- package/dist/agent/index.d.ts +8 -1
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/agent/index.js +8 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/agent/modes.d.ts +1 -1
- package/dist/agent/modes.d.ts.map +1 -1
- package/dist/agent/modes.js +56 -0
- package/dist/agent/modes.js.map +1 -1
- package/dist/agent/oracle-consultation-policy.d.ts +22 -0
- package/dist/agent/oracle-consultation-policy.d.ts.map +1 -0
- package/dist/agent/oracle-consultation-policy.js +72 -0
- package/dist/agent/oracle-consultation-policy.js.map +1 -0
- package/dist/agent/oracle-policy-experiment.d.ts +27 -0
- package/dist/agent/oracle-policy-experiment.d.ts.map +1 -0
- package/dist/agent/oracle-policy-experiment.js +59 -0
- package/dist/agent/oracle-policy-experiment.js.map +1 -0
- package/dist/agent/oracle-policy-rollout.d.ts +42 -0
- package/dist/agent/oracle-policy-rollout.d.ts.map +1 -0
- package/dist/agent/oracle-policy-rollout.js +80 -0
- package/dist/agent/oracle-policy-rollout.js.map +1 -0
- package/dist/agent/plugin-agent-api.d.ts +13 -0
- package/dist/agent/plugin-agent-api.d.ts.map +1 -0
- package/dist/agent/plugin-agent-api.js +11 -0
- package/dist/agent/plugin-agent-api.js.map +1 -0
- package/dist/agent/plugin-agent-loader.d.ts +17 -0
- package/dist/agent/plugin-agent-loader.d.ts.map +1 -0
- package/dist/agent/plugin-agent-loader.js +81 -0
- package/dist/agent/plugin-agent-loader.js.map +1 -0
- package/dist/agent/plugin-agent-registry.d.ts +62 -0
- package/dist/agent/plugin-agent-registry.d.ts.map +1 -0
- package/dist/agent/plugin-agent-registry.js +109 -0
- package/dist/agent/plugin-agent-registry.js.map +1 -0
- package/dist/agent/profile-loader.d.ts +7 -0
- package/dist/agent/profile-loader.d.ts.map +1 -0
- package/dist/agent/profile-loader.js +115 -0
- package/dist/agent/profile-loader.js.map +1 -0
- package/dist/agent/profiles.d.ts +30 -0
- package/dist/agent/profiles.d.ts.map +1 -0
- package/dist/agent/profiles.js +146 -0
- package/dist/agent/profiles.js.map +1 -0
- package/dist/agent/prompt-cache.d.ts +0 -4
- package/dist/agent/prompt-cache.d.ts.map +1 -1
- package/dist/agent/prompt-cache.js +1 -7
- package/dist/agent/prompt-cache.js.map +1 -1
- package/dist/agent/providers/google-gemini-cli.js +1 -0
- package/dist/agent/providers/google.js +1 -0
- package/dist/agent/providers/vertex.js +1 -0
- package/dist/agent/routing-receipt.d.ts +34 -0
- package/dist/agent/routing-receipt.d.ts.map +1 -0
- package/dist/agent/routing-receipt.js +55 -0
- package/dist/agent/routing-receipt.js.map +1 -0
- package/dist/{skills/artifact-metadata.d.ts → agent/skill-artifact-metadata.d.ts} +2 -4
- package/dist/agent/skill-artifact-metadata.d.ts.map +1 -0
- package/dist/{skills/artifact-metadata.js → agent/skill-artifact-metadata.js} +1 -38
- package/dist/agent/skill-artifact-metadata.js.map +1 -0
- package/dist/agent/subagent-specs.d.ts +1 -1
- package/dist/agent/subagent-specs.js +2 -2
- package/dist/agent/subagent-specs.js.map +1 -1
- package/dist/agent/token-counter.d.ts +40 -0
- package/dist/agent/token-counter.d.ts.map +1 -0
- package/dist/agent/token-counter.js +74 -0
- package/dist/agent/token-counter.js.map +1 -0
- package/dist/agent/transport/events.d.ts +1 -1
- package/dist/agent/transport/events.d.ts.map +1 -1
- package/dist/agent/transport/events.js +1 -1
- package/dist/agent/transport/events.js.map +1 -1
- package/dist/agent/types.d.ts +4 -2
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/agent/types.js.map +1 -1
- package/dist/app-server/plugin-bundle-api.d.ts.map +1 -1
- package/dist/app-server/plugin-bundle-api.js +1 -0
- package/dist/app-server/plugin-bundle-api.js.map +1 -1
- package/dist/app-server/session-api.d.ts.map +1 -1
- package/dist/app-server/session-api.js +15 -2
- package/dist/app-server/session-api.js.map +1 -1
- package/dist/audit/logger.d.ts +5 -5
- package/dist/cli/args.d.ts +2 -0
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +18 -1
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/direct-runtime-command.d.ts +1 -0
- package/dist/cli/direct-runtime-command.d.ts.map +1 -1
- package/dist/cli/direct-runtime-command.js +25 -3
- package/dist/cli/direct-runtime-command.js.map +1 -1
- package/dist/cli/headless.d.ts +3 -19
- package/dist/cli/headless.d.ts.map +1 -1
- package/dist/cli/headless.js +8 -619
- package/dist/cli/headless.js.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +3 -0
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/native-tui-launcher.d.ts +126 -0
- package/dist/cli/native-tui-launcher.d.ts.map +1 -0
- package/dist/cli/native-tui-launcher.js +425 -0
- package/dist/cli/native-tui-launcher.js.map +1 -0
- package/dist/cli/rpc-mode.d.ts +3 -27
- package/dist/cli/rpc-mode.d.ts.map +1 -1
- package/dist/cli/rpc-mode.js +8 -177
- package/dist/cli/rpc-mode.js.map +1 -1
- package/dist/cli/session.d.ts +11 -19
- package/dist/cli/session.d.ts.map +1 -1
- package/dist/cli/session.js +6 -64
- package/dist/cli/session.js.map +1 -1
- package/dist/cli-command-runtime.d.ts.map +1 -1
- package/dist/cli-command-runtime.js +26 -24
- package/dist/cli-command-runtime.js.map +1 -1
- package/dist/cli-runtime.js +52529 -137615
- package/dist/config/env-vars.d.ts +12 -0
- package/dist/config/env-vars.d.ts.map +1 -1
- package/dist/config/env-vars.js +12 -0
- package/dist/config/env-vars.js.map +1 -1
- package/dist/{cli-tui → config}/ui-state.d.ts +6 -1
- package/dist/config/ui-state.d.ts.map +1 -0
- package/dist/{cli-tui → config}/ui-state.js +1 -1
- package/dist/config/ui-state.js.map +1 -0
- package/dist/context/repo-map.d.ts.map +1 -1
- package/dist/context/repo-map.js +1 -7
- package/dist/context/repo-map.js.map +1 -1
- package/dist/context/token-optimizer.d.ts.map +1 -1
- package/dist/context/token-optimizer.js +1 -8
- package/dist/context/token-optimizer.js.map +1 -1
- package/dist/db/schema.d.ts +2 -2
- package/dist/hooks/notification-hooks.d.ts +1 -1
- package/dist/hooks/notification-hooks.d.ts.map +1 -1
- package/dist/hooks/notification-hooks.js.map +1 -1
- package/dist/hooks/tui-surface.d.ts +35 -0
- package/dist/hooks/tui-surface.d.ts.map +1 -0
- package/dist/hooks/tui-surface.js +11 -0
- package/dist/hooks/tui-surface.js.map +1 -0
- package/dist/hooks/types.d.ts +2 -1
- package/dist/hooks/types.d.ts.map +1 -1
- package/dist/hooks/types.js.map +1 -1
- package/dist/hooks/typescript-loader.d.ts.map +1 -1
- package/dist/hooks/typescript-loader.js.map +1 -1
- package/dist/hooks/ui-context.d.ts.map +1 -1
- package/dist/hooks/ui-context.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +154 -882
- package/dist/main.js.map +1 -1
- package/dist/models/config-loader.d.ts +5 -5
- package/dist/node_modules/@evalops/contracts/dist/index.d.ts +45 -0
- package/dist/node_modules/@evalops/contracts/dist/index.d.ts.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/index.js +2 -0
- package/dist/node_modules/@evalops/contracts/dist/index.js.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.d.ts +284 -0
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.d.ts.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.js +41 -0
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.js.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/schemas.d.ts +986 -0
- package/dist/node_modules/@evalops/contracts/dist/schemas.d.ts.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/schemas.js +49 -0
- package/dist/node_modules/@evalops/contracts/dist/schemas.js.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/token-estimation.d.ts +56 -0
- package/dist/node_modules/@evalops/contracts/dist/token-estimation.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/token-estimation.js +86 -0
- package/dist/node_modules/@evalops/contracts/dist/token-estimation.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/package.json +1 -1
- package/dist/packages/discovery.d.ts.map +1 -1
- package/dist/packages/discovery.js +1 -0
- package/dist/packages/discovery.js.map +1 -1
- package/dist/packages/inspection.d.ts.map +1 -1
- package/dist/packages/inspection.js +7 -1
- package/dist/packages/inspection.js.map +1 -1
- package/dist/packages/loader.d.ts.map +1 -1
- package/dist/packages/loader.js +8 -1
- package/dist/packages/loader.js.map +1 -1
- package/dist/packages/runtime.d.ts +1 -0
- package/dist/packages/runtime.d.ts.map +1 -1
- package/dist/packages/runtime.js +9 -1
- package/dist/packages/runtime.js.map +1 -1
- package/dist/packages/types.d.ts +6 -0
- package/dist/packages/types.d.ts.map +1 -1
- package/dist/packages/types.js.map +1 -1
- package/dist/runtime/agent-runtime.d.ts +22 -6
- package/dist/runtime/agent-runtime.d.ts.map +1 -1
- package/dist/runtime/agent-runtime.js +1 -1
- package/dist/runtime/agent-runtime.js.map +1 -1
- package/dist/runtime/env.d.ts +1 -0
- package/dist/runtime/env.d.ts.map +1 -1
- package/dist/runtime/env.js +1 -0
- package/dist/runtime/env.js.map +1 -1
- package/dist/{cli-tui → runtime}/prompt-queue.d.ts.map +1 -1
- package/dist/{cli-tui → runtime}/prompt-queue.js.map +1 -1
- package/dist/server/handlers/chat-ws.d.ts +2 -1
- package/dist/server/handlers/chat-ws.d.ts.map +1 -1
- package/dist/server/handlers/chat-ws.js +150 -5
- package/dist/server/handlers/chat-ws.js.map +1 -1
- package/dist/server/handlers/chat.d.ts.map +1 -1
- package/dist/server/handlers/chat.js +78 -5
- package/dist/server/handlers/chat.js.map +1 -1
- package/dist/server/handlers/package.d.ts.map +1 -1
- package/dist/server/handlers/package.js +1 -0
- package/dist/server/handlers/package.js.map +1 -1
- package/dist/server/handlers/queue.js +1 -1
- package/dist/server/handlers/queue.js.map +1 -1
- package/dist/server/handlers/ui.js +1 -1
- package/dist/server/handlers/ui.js.map +1 -1
- package/dist/server/handlers/zen.js +1 -1
- package/dist/server/handlers/zen.js.map +1 -1
- package/dist/server/hosted-session-manager.d.ts +3 -0
- package/dist/server/hosted-session-manager.d.ts.map +1 -1
- package/dist/server/hosted-session-manager.js +26 -0
- package/dist/server/hosted-session-manager.js.map +1 -1
- package/dist/server/model-selection.d.ts +1 -0
- package/dist/server/model-selection.d.ts.map +1 -1
- package/dist/server/model-selection.js +4 -0
- package/dist/server/model-selection.js.map +1 -1
- package/dist/server/session-serialization.d.ts.map +1 -1
- package/dist/server/session-serialization.js +3 -0
- package/dist/server/session-serialization.js.map +1 -1
- package/dist/server/session-timeline.d.ts.map +1 -1
- package/dist/server/session-timeline.js +1 -1
- package/dist/server/session-timeline.js.map +1 -1
- package/dist/server/sse-session.d.ts +2 -0
- package/dist/server/sse-session.d.ts.map +1 -1
- package/dist/server/sse-session.js +3 -0
- package/dist/server/sse-session.js.map +1 -1
- package/dist/server/stores/ui-store.d.ts +1 -1
- package/dist/server/stores/ui-store.d.ts.map +1 -1
- package/dist/server/stores/ui-store.js.map +1 -1
- package/dist/server/utils/token-estimator.d.ts +2 -2
- package/dist/server/utils/token-estimator.d.ts.map +1 -1
- package/dist/server/utils/token-estimator.js +2 -12
- package/dist/server/utils/token-estimator.js.map +1 -1
- package/dist/server/validation.d.ts +54 -0
- package/dist/server/validation.d.ts.map +1 -1
- package/dist/services/image-providers/cost.d.ts +70 -0
- package/dist/services/image-providers/cost.d.ts.map +1 -0
- package/dist/services/image-providers/cost.js +164 -0
- package/dist/services/image-providers/cost.js.map +1 -0
- package/dist/services/image-providers/flux.d.ts +40 -0
- package/dist/services/image-providers/flux.d.ts.map +1 -0
- package/dist/services/image-providers/flux.js +99 -0
- package/dist/services/image-providers/flux.js.map +1 -0
- package/dist/services/image-providers/index.d.ts +24 -0
- package/dist/services/image-providers/index.d.ts.map +1 -0
- package/dist/services/image-providers/index.js +27 -0
- package/dist/services/image-providers/index.js.map +1 -0
- package/dist/services/image-providers/masks.d.ts +51 -0
- package/dist/services/image-providers/masks.d.ts.map +1 -0
- package/dist/services/image-providers/masks.js +132 -0
- package/dist/services/image-providers/masks.js.map +1 -0
- package/dist/services/image-providers/openai.d.ts +35 -0
- package/dist/services/image-providers/openai.d.ts.map +1 -0
- package/dist/services/image-providers/openai.js +93 -0
- package/dist/services/image-providers/openai.js.map +1 -0
- package/dist/services/image-providers/types.d.ts +61 -0
- package/dist/services/image-providers/types.d.ts.map +1 -0
- package/dist/services/image-providers/types.js +17 -0
- package/dist/services/image-providers/types.js.map +1 -0
- package/dist/services/intelligent-router/index.d.ts +1 -0
- package/dist/services/intelligent-router/index.d.ts.map +1 -1
- package/dist/services/intelligent-router/index.js +1 -0
- package/dist/services/intelligent-router/index.js.map +1 -1
- package/dist/services/intelligent-router/normalize.d.ts +1 -0
- package/dist/services/intelligent-router/normalize.d.ts.map +1 -1
- package/dist/services/intelligent-router/normalize.js +17 -0
- package/dist/services/intelligent-router/normalize.js.map +1 -1
- package/dist/services/intelligent-router/outcome.d.ts +19 -0
- package/dist/services/intelligent-router/outcome.d.ts.map +1 -0
- package/dist/services/intelligent-router/outcome.js +51 -0
- package/dist/services/intelligent-router/outcome.js.map +1 -0
- package/dist/services/intelligent-router/recorder.d.ts +2 -0
- package/dist/services/intelligent-router/recorder.d.ts.map +1 -1
- package/dist/services/intelligent-router/recorder.js +72 -1
- package/dist/services/intelligent-router/recorder.js.map +1 -1
- package/dist/services/intelligent-router/service.d.ts +1 -0
- package/dist/services/intelligent-router/service.d.ts.map +1 -1
- package/dist/services/intelligent-router/service.js +60 -11
- package/dist/services/intelligent-router/service.js.map +1 -1
- package/dist/services/intelligent-router/types.d.ts +18 -0
- package/dist/services/intelligent-router/types.d.ts.map +1 -1
- package/dist/services/intelligent-router/types.js.map +1 -1
- package/dist/services/workspace-config/middleware.d.ts +2 -0
- package/dist/services/workspace-config/middleware.d.ts.map +1 -1
- package/dist/services/workspace-config/middleware.js +25 -28
- package/dist/services/workspace-config/middleware.js.map +1 -1
- package/dist/session/agent-lineage-projection.d.ts +30 -0
- package/dist/session/agent-lineage-projection.d.ts.map +1 -0
- package/dist/session/agent-lineage-projection.js +109 -0
- package/dist/session/agent-lineage-projection.js.map +1 -0
- package/dist/session/manager.d.ts +3 -0
- package/dist/session/manager.d.ts.map +1 -1
- package/dist/session/manager.js +24 -0
- package/dist/session/manager.js.map +1 -1
- package/dist/session/session-graph-projection.d.ts +11 -0
- package/dist/session/session-graph-projection.d.ts.map +1 -1
- package/dist/session/session-graph-projection.js +28 -0
- package/dist/session/session-graph-projection.js.map +1 -1
- package/dist/session/types.d.ts +2 -0
- package/dist/session/types.d.ts.map +1 -1
- package/dist/session/types.js.map +1 -1
- package/dist/telemetry/maestro-event-bus.d.ts +1 -1
- package/dist/telemetry/maestro-event-bus.d.ts.map +1 -1
- package/dist/telemetry/maestro-event-bus.js.map +1 -1
- package/dist/telemetry/maestro-publisher-conformance-fixture.js.map +1 -1
- package/dist/telemetry/oracle-policy.d.ts +6 -0
- package/dist/telemetry/oracle-policy.d.ts.map +1 -0
- package/dist/telemetry/oracle-policy.js +17 -0
- package/dist/telemetry/oracle-policy.js.map +1 -0
- package/dist/telemetry/wide-events.d.ts +1 -1
- package/dist/telemetry/wide-events.d.ts.map +1 -1
- package/dist/telemetry/wide-events.js.map +1 -1
- package/dist/theme/theme.d.ts +2 -8
- package/dist/theme/theme.d.ts.map +1 -1
- package/dist/theme/theme.js +7 -0
- package/dist/theme/theme.js.map +1 -1
- package/dist/theme/tui-theme-helpers.d.ts +2 -1
- package/dist/theme/tui-theme-helpers.d.ts.map +1 -1
- package/dist/theme/tui-theme-helpers.js.map +1 -1
- package/dist/theme/tui-theme-types.d.ts +39 -0
- package/dist/theme/tui-theme-types.d.ts.map +1 -0
- package/dist/theme/tui-theme-types.js +10 -0
- package/dist/theme/tui-theme-types.js.map +1 -0
- package/dist/tools/index.d.ts +199 -160
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +4 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/lazy-registry.d.ts.map +1 -1
- package/dist/tools/lazy-registry.js +1 -0
- package/dist/tools/lazy-registry.js.map +1 -1
- package/dist/tools/oracle.d.ts +9 -0
- package/dist/tools/oracle.d.ts.map +1 -1
- package/dist/tools/oracle.js +26 -24
- package/dist/tools/oracle.js.map +1 -1
- package/dist/tools/painter.d.ts +73 -0
- package/dist/tools/painter.d.ts.map +1 -0
- package/dist/tools/painter.js +283 -0
- package/dist/tools/painter.js.map +1 -0
- package/dist/tools/typebox-tool.d.ts.map +1 -1
- package/dist/tools/typebox-tool.js +1 -1
- package/dist/tools/typebox-tool.js.map +1 -1
- package/dist/utils/terminal-image.d.ts +52 -0
- package/dist/utils/terminal-image.d.ts.map +1 -0
- package/dist/utils/terminal-image.js +95 -0
- package/dist/utils/terminal-image.js.map +1 -0
- package/dist/utils/terminal-text.d.ts +11 -0
- package/dist/utils/terminal-text.d.ts.map +1 -0
- package/dist/utils/terminal-text.js +21 -0
- package/dist/utils/terminal-text.js.map +1 -0
- package/dist/version.json +2 -2
- package/dist/web-server.d.ts.map +1 -1
- package/dist/web-server.js +24 -2
- package/dist/web-server.js.map +1 -1
- package/package.json +13 -11
- package/skills/incident-triage/SKILL.md +4 -3
- package/dist/cli/commands/agents.d.ts +0 -24
- package/dist/cli/commands/agents.d.ts.map +0 -1
- package/dist/cli/commands/agents.js +0 -429
- package/dist/cli/commands/agents.js.map +0 -1
- package/dist/cli/commands/anthropic.d.ts +0 -2
- package/dist/cli/commands/anthropic.d.ts.map +0 -1
- package/dist/cli/commands/anthropic.js +0 -6
- package/dist/cli/commands/anthropic.js.map +0 -1
- package/dist/cli/commands/cost.d.ts +0 -13
- package/dist/cli/commands/cost.d.ts.map +0 -1
- package/dist/cli/commands/cost.js +0 -143
- package/dist/cli/commands/cost.js.map +0 -1
- package/dist/cli/commands/exec-constants.d.ts +0 -3
- package/dist/cli/commands/exec-constants.d.ts.map +0 -1
- package/dist/cli/commands/exec-constants.js +0 -3
- package/dist/cli/commands/exec-constants.js.map +0 -1
- package/dist/cli/commands/exec.d.ts +0 -19
- package/dist/cli/commands/exec.d.ts.map +0 -1
- package/dist/cli/commands/exec.js +0 -207
- package/dist/cli/commands/exec.js.map +0 -1
- package/dist/cli/commands/hooks.d.ts +0 -2
- package/dist/cli/commands/hooks.d.ts.map +0 -1
- package/dist/cli/commands/hooks.js +0 -25
- package/dist/cli/commands/hooks.js.map +0 -1
- package/dist/cli/commands/hosted-runner.d.ts +0 -25
- package/dist/cli/commands/hosted-runner.d.ts.map +0 -1
- package/dist/cli/commands/hosted-runner.js +0 -278
- package/dist/cli/commands/hosted-runner.js.map +0 -1
- package/dist/cli/commands/memory.d.ts +0 -2
- package/dist/cli/commands/memory.d.ts.map +0 -1
- package/dist/cli/commands/memory.js +0 -208
- package/dist/cli/commands/memory.js.map +0 -1
- package/dist/cli/commands/models.d.ts +0 -3
- package/dist/cli/commands/models.d.ts.map +0 -1
- package/dist/cli/commands/models.js +0 -154
- package/dist/cli/commands/models.js.map +0 -1
- package/dist/cli/commands/modes.d.ts +0 -8
- package/dist/cli/commands/modes.d.ts.map +0 -1
- package/dist/cli/commands/modes.js +0 -151
- package/dist/cli/commands/modes.js.map +0 -1
- package/dist/cli/commands/openai.d.ts +0 -2
- package/dist/cli/commands/openai.d.ts.map +0 -1
- package/dist/cli/commands/openai.js +0 -116
- package/dist/cli/commands/openai.js.map +0 -1
- package/dist/cli/commands/session-transfer.d.ts +0 -5
- package/dist/cli/commands/session-transfer.d.ts.map +0 -1
- package/dist/cli/commands/session-transfer.js +0 -43
- package/dist/cli/commands/session-transfer.js.map +0 -1
- package/dist/cli/commands/sessions.d.ts +0 -8
- package/dist/cli/commands/sessions.d.ts.map +0 -1
- package/dist/cli/commands/sessions.js +0 -152
- package/dist/cli/commands/sessions.js.map +0 -1
- package/dist/cli/commands/skill.d.ts +0 -10
- package/dist/cli/commands/skill.d.ts.map +0 -1
- package/dist/cli/commands/skill.js +0 -303
- package/dist/cli/commands/skill.js.map +0 -1
- package/dist/cli/commands/stats.d.ts +0 -7
- package/dist/cli/commands/stats.d.ts.map +0 -1
- package/dist/cli/commands/stats.js +0 -167
- package/dist/cli/commands/stats.js.map +0 -1
- package/dist/cli/commands/status.d.ts +0 -2
- package/dist/cli/commands/status.d.ts.map +0 -1
- package/dist/cli/commands/status.js +0 -11
- package/dist/cli/commands/status.js.map +0 -1
- package/dist/cli/commands/update.d.ts +0 -12
- package/dist/cli/commands/update.d.ts.map +0 -1
- package/dist/cli/commands/update.js +0 -148
- package/dist/cli/commands/update.js.map +0 -1
- package/dist/cli-tui/about-view.d.ts +0 -48
- package/dist/cli-tui/about-view.d.ts.map +0 -1
- package/dist/cli-tui/about-view.js +0 -206
- package/dist/cli-tui/about-view.js.map +0 -1
- package/dist/cli-tui/agent-event-router.d.ts +0 -28
- package/dist/cli-tui/agent-event-router.d.ts.map +0 -1
- package/dist/cli-tui/agent-event-router.js +0 -126
- package/dist/cli-tui/agent-event-router.js.map +0 -1
- package/dist/cli-tui/approval/approval-controller.d.ts +0 -28
- package/dist/cli-tui/approval/approval-controller.d.ts.map +0 -1
- package/dist/cli-tui/approval/approval-controller.js +0 -99
- package/dist/cli-tui/approval/approval-controller.js.map +0 -1
- package/dist/cli-tui/approval/approval-modal.d.ts +0 -26
- package/dist/cli-tui/approval/approval-modal.d.ts.map +0 -1
- package/dist/cli-tui/approval/approval-modal.js +0 -143
- package/dist/cli-tui/approval/approval-modal.js.map +0 -1
- package/dist/cli-tui/assistant-message.d.ts +0 -41
- package/dist/cli-tui/assistant-message.d.ts.map +0 -1
- package/dist/cli-tui/assistant-message.js +0 -236
- package/dist/cli-tui/assistant-message.js.map +0 -1
- package/dist/cli-tui/auth-state.d.ts +0 -7
- package/dist/cli-tui/auth-state.d.ts.map +0 -1
- package/dist/cli-tui/auth-state.js +0 -46
- package/dist/cli-tui/auth-state.js.map +0 -1
- package/dist/cli-tui/background/background-tasks-controller.d.ts +0 -31
- package/dist/cli-tui/background/background-tasks-controller.d.ts.map +0 -1
- package/dist/cli-tui/background/background-tasks-controller.js +0 -84
- package/dist/cli-tui/background/background-tasks-controller.js.map +0 -1
- package/dist/cli-tui/base-view.d.ts +0 -111
- package/dist/cli-tui/base-view.d.ts.map +0 -1
- package/dist/cli-tui/base-view.js +0 -145
- package/dist/cli-tui/base-view.js.map +0 -1
- package/dist/cli-tui/bash/background-launcher.d.ts +0 -14
- package/dist/cli-tui/bash/background-launcher.d.ts.map +0 -1
- package/dist/cli-tui/bash/background-launcher.js +0 -50
- package/dist/cli-tui/bash/background-launcher.js.map +0 -1
- package/dist/cli-tui/bash/bash-autocomplete.d.ts +0 -40
- package/dist/cli-tui/bash/bash-autocomplete.d.ts.map +0 -1
- package/dist/cli-tui/bash/bash-autocomplete.js +0 -347
- package/dist/cli-tui/bash/bash-autocomplete.js.map +0 -1
- package/dist/cli-tui/bash/bash-history.d.ts +0 -21
- package/dist/cli-tui/bash/bash-history.d.ts.map +0 -1
- package/dist/cli-tui/bash/bash-history.js +0 -72
- package/dist/cli-tui/bash/bash-history.js.map +0 -1
- package/dist/cli-tui/bash/bash-syntax.d.ts +0 -5
- package/dist/cli-tui/bash/bash-syntax.d.ts.map +0 -1
- package/dist/cli-tui/bash/bash-syntax.js +0 -176
- package/dist/cli-tui/bash/bash-syntax.js.map +0 -1
- package/dist/cli-tui/bash/index.d.ts +0 -4
- package/dist/cli-tui/bash/index.d.ts.map +0 -1
- package/dist/cli-tui/bash/index.js +0 -4
- package/dist/cli-tui/bash/index.js.map +0 -1
- package/dist/cli-tui/bash-mode-view.d.ts +0 -86
- package/dist/cli-tui/bash-mode-view.d.ts.map +0 -1
- package/dist/cli-tui/bash-mode-view.js +0 -560
- package/dist/cli-tui/bash-mode-view.js.map +0 -1
- package/dist/cli-tui/bash-shell-block.d.ts +0 -50
- package/dist/cli-tui/bash-shell-block.d.ts.map +0 -1
- package/dist/cli-tui/bash-shell-block.js +0 -119
- package/dist/cli-tui/bash-shell-block.js.map +0 -1
- package/dist/cli-tui/changelog-view.d.ts +0 -13
- package/dist/cli-tui/changelog-view.d.ts.map +0 -1
- package/dist/cli-tui/changelog-view.js +0 -34
- package/dist/cli-tui/changelog-view.js.map +0 -1
- package/dist/cli-tui/clean-mode.d.ts +0 -13
- package/dist/cli-tui/clean-mode.d.ts.map +0 -1
- package/dist/cli-tui/clean-mode.js +0 -32
- package/dist/cli-tui/clean-mode.js.map +0 -1
- package/dist/cli-tui/client-tools/client-tool-controller.d.ts +0 -41
- package/dist/cli-tui/client-tools/client-tool-controller.d.ts.map +0 -1
- package/dist/cli-tui/client-tools/client-tool-controller.js +0 -860
- package/dist/cli-tui/client-tools/client-tool-controller.js.map +0 -1
- package/dist/cli-tui/client-tools/local-client-tool-service.d.ts +0 -33
- package/dist/cli-tui/client-tools/local-client-tool-service.d.ts.map +0 -1
- package/dist/cli-tui/client-tools/local-client-tool-service.js +0 -94
- package/dist/cli-tui/client-tools/local-client-tool-service.js.map +0 -1
- package/dist/cli-tui/commands/a2a-handlers.d.ts +0 -7
- package/dist/cli-tui/commands/a2a-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/a2a-handlers.js +0 -215
- package/dist/cli-tui/commands/a2a-handlers.js.map +0 -1
- package/dist/cli-tui/commands/access-command.d.ts +0 -3
- package/dist/cli-tui/commands/access-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/access-command.js +0 -89
- package/dist/cli-tui/commands/access-command.js.map +0 -1
- package/dist/cli-tui/commands/argument-parser.d.ts +0 -12
- package/dist/cli-tui/commands/argument-parser.d.ts.map +0 -1
- package/dist/cli-tui/commands/argument-parser.js +0 -135
- package/dist/cli-tui/commands/argument-parser.js.map +0 -1
- package/dist/cli-tui/commands/audit-command.d.ts +0 -5
- package/dist/cli-tui/commands/audit-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/audit-command.js +0 -35
- package/dist/cli-tui/commands/audit-command.js.map +0 -1
- package/dist/cli-tui/commands/background-handlers.d.ts +0 -14
- package/dist/cli-tui/commands/background-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/background-handlers.js +0 -115
- package/dist/cli-tui/commands/background-handlers.js.map +0 -1
- package/dist/cli-tui/commands/command-catalog.d.ts +0 -29
- package/dist/cli-tui/commands/command-catalog.d.ts.map +0 -1
- package/dist/cli-tui/commands/command-catalog.js +0 -666
- package/dist/cli-tui/commands/command-catalog.js.map +0 -1
- package/dist/cli-tui/commands/command-registry-adapter.d.ts +0 -12
- package/dist/cli-tui/commands/command-registry-adapter.d.ts.map +0 -1
- package/dist/cli-tui/commands/command-registry-adapter.js +0 -129
- package/dist/cli-tui/commands/command-registry-adapter.js.map +0 -1
- package/dist/cli-tui/commands/command-suite-catalog.d.ts +0 -14
- package/dist/cli-tui/commands/command-suite-catalog.d.ts.map +0 -1
- package/dist/cli-tui/commands/command-suite-catalog.js +0 -147
- package/dist/cli-tui/commands/command-suite-catalog.js.map +0 -1
- package/dist/cli-tui/commands/command-suite-handlers.d.ts +0 -111
- package/dist/cli-tui/commands/command-suite-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/command-suite-handlers.js +0 -110
- package/dist/cli-tui/commands/command-suite-handlers.js.map +0 -1
- package/dist/cli-tui/commands/composer-handlers.d.ts +0 -8
- package/dist/cli-tui/commands/composer-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/composer-handlers.js +0 -90
- package/dist/cli-tui/commands/composer-handlers.js.map +0 -1
- package/dist/cli-tui/commands/framework-handlers.d.ts +0 -18
- package/dist/cli-tui/commands/framework-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/framework-handlers.js +0 -57
- package/dist/cli-tui/commands/framework-handlers.js.map +0 -1
- package/dist/cli-tui/commands/guardian-handlers.d.ts +0 -20
- package/dist/cli-tui/commands/guardian-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/guardian-handlers.js +0 -48
- package/dist/cli-tui/commands/guardian-handlers.js.map +0 -1
- package/dist/cli-tui/commands/handlers/mode-handler.d.ts +0 -32
- package/dist/cli-tui/commands/handlers/mode-handler.d.ts.map +0 -1
- package/dist/cli-tui/commands/handlers/mode-handler.js +0 -153
- package/dist/cli-tui/commands/handlers/mode-handler.js.map +0 -1
- package/dist/cli-tui/commands/hotkeys-command.d.ts +0 -8
- package/dist/cli-tui/commands/hotkeys-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/hotkeys-command.js +0 -61
- package/dist/cli-tui/commands/hotkeys-command.js.map +0 -1
- package/dist/cli-tui/commands/limits-command.d.ts +0 -3
- package/dist/cli-tui/commands/limits-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/limits-command.js +0 -88
- package/dist/cli-tui/commands/limits-command.js.map +0 -1
- package/dist/cli-tui/commands/mcp-handlers.d.ts +0 -12
- package/dist/cli-tui/commands/mcp-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/mcp-handlers.js +0 -1306
- package/dist/cli-tui/commands/mcp-handlers.js.map +0 -1
- package/dist/cli-tui/commands/memory-handlers.d.ts +0 -28
- package/dist/cli-tui/commands/memory-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/memory-handlers.js +0 -414
- package/dist/cli-tui/commands/memory-handlers.js.map +0 -1
- package/dist/cli-tui/commands/otel-handlers.d.ts +0 -11
- package/dist/cli-tui/commands/otel-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/otel-handlers.js +0 -20
- package/dist/cli-tui/commands/otel-handlers.js.map +0 -1
- package/dist/cli-tui/commands/package-handlers.d.ts +0 -30
- package/dist/cli-tui/commands/package-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/package-handlers.js +0 -499
- package/dist/cli-tui/commands/package-handlers.js.map +0 -1
- package/dist/cli-tui/commands/pii-command.d.ts +0 -3
- package/dist/cli-tui/commands/pii-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/pii-command.js +0 -54
- package/dist/cli-tui/commands/pii-command.js.map +0 -1
- package/dist/cli-tui/commands/registry.d.ts +0 -3
- package/dist/cli-tui/commands/registry.d.ts.map +0 -1
- package/dist/cli-tui/commands/registry.js +0 -36
- package/dist/cli-tui/commands/registry.js.map +0 -1
- package/dist/cli-tui/commands/safety-handlers.d.ts +0 -36
- package/dist/cli-tui/commands/safety-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/safety-handlers.js +0 -62
- package/dist/cli-tui/commands/safety-handlers.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/auth-commands.d.ts +0 -26
- package/dist/cli-tui/commands/subcommands/auth-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/auth-commands.js +0 -79
- package/dist/cli-tui/commands/subcommands/auth-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/config-commands.d.ts +0 -23
- package/dist/cli-tui/commands/subcommands/config-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/config-commands.js +0 -61
- package/dist/cli-tui/commands/subcommands/config-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/diag-commands.d.ts +0 -46
- package/dist/cli-tui/commands/subcommands/diag-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/diag-commands.js +0 -163
- package/dist/cli-tui/commands/subcommands/diag-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/git-commands.d.ts +0 -18
- package/dist/cli-tui/commands/subcommands/git-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/git-commands.js +0 -50
- package/dist/cli-tui/commands/subcommands/git-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/index.d.ts +0 -18
- package/dist/cli-tui/commands/subcommands/index.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/index.js +0 -18
- package/dist/cli-tui/commands/subcommands/index.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/safety-commands.d.ts +0 -26
- package/dist/cli-tui/commands/subcommands/safety-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/safety-commands.js +0 -149
- package/dist/cli-tui/commands/subcommands/safety-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/session-commands.d.ts +0 -36
- package/dist/cli-tui/commands/subcommands/session-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/session-commands.js +0 -112
- package/dist/cli-tui/commands/subcommands/session-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/tools-commands.d.ts +0 -27
- package/dist/cli-tui/commands/subcommands/tools-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/tools-commands.js +0 -80
- package/dist/cli-tui/commands/subcommands/tools-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/ui-commands.d.ts +0 -30
- package/dist/cli-tui/commands/subcommands/ui-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/ui-commands.js +0 -74
- package/dist/cli-tui/commands/subcommands/ui-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/undo-commands.d.ts +0 -25
- package/dist/cli-tui/commands/subcommands/undo-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/undo-commands.js +0 -74
- package/dist/cli-tui/commands/subcommands/undo-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/usage-commands.d.ts +0 -19
- package/dist/cli-tui/commands/subcommands/usage-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/usage-commands.js +0 -63
- package/dist/cli-tui/commands/subcommands/usage-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/utils.d.ts +0 -127
- package/dist/cli-tui/commands/subcommands/utils.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/utils.js +0 -395
- package/dist/cli-tui/commands/subcommands/utils.js.map +0 -1
- package/dist/cli-tui/commands/types.d.ts +0 -105
- package/dist/cli-tui/commands/types.d.ts.map +0 -1
- package/dist/cli-tui/commands/types.js +0 -2
- package/dist/cli-tui/commands/types.js.map +0 -1
- package/dist/cli-tui/commands/undo-handlers.d.ts +0 -29
- package/dist/cli-tui/commands/undo-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/undo-handlers.js +0 -305
- package/dist/cli-tui/commands/undo-handlers.js.map +0 -1
- package/dist/cli-tui/commands/utility-handlers.d.ts +0 -55
- package/dist/cli-tui/commands/utility-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/utility-handlers.js +0 -137
- package/dist/cli-tui/commands/utility-handlers.js.map +0 -1
- package/dist/cli-tui/commands/workflow-handlers.d.ts +0 -22
- package/dist/cli-tui/commands/workflow-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/workflow-handlers.js +0 -227
- package/dist/cli-tui/commands/workflow-handlers.js.map +0 -1
- package/dist/cli-tui/compact-boundary-message.d.ts +0 -9
- package/dist/cli-tui/compact-boundary-message.d.ts.map +0 -1
- package/dist/cli-tui/compact-boundary-message.js +0 -18
- package/dist/cli-tui/compact-boundary-message.js.map +0 -1
- package/dist/cli-tui/compaction-recovery.d.ts +0 -6
- package/dist/cli-tui/compaction-recovery.d.ts.map +0 -1
- package/dist/cli-tui/compaction-recovery.js +0 -13
- package/dist/cli-tui/compaction-recovery.js.map +0 -1
- package/dist/cli-tui/config-view.d.ts +0 -30
- package/dist/cli-tui/config-view.d.ts.map +0 -1
- package/dist/cli-tui/config-view.js +0 -255
- package/dist/cli-tui/config-view.js.map +0 -1
- package/dist/cli-tui/context-view.d.ts +0 -20
- package/dist/cli-tui/context-view.d.ts.map +0 -1
- package/dist/cli-tui/context-view.js +0 -191
- package/dist/cli-tui/context-view.js.map +0 -1
- package/dist/cli-tui/custom-editor.d.ts +0 -25
- package/dist/cli-tui/custom-editor.d.ts.map +0 -1
- package/dist/cli-tui/custom-editor.js +0 -241
- package/dist/cli-tui/custom-editor.js.map +0 -1
- package/dist/cli-tui/editor-view.d.ts +0 -34
- package/dist/cli-tui/editor-view.d.ts.map +0 -1
- package/dist/cli-tui/editor-view.js +0 -102
- package/dist/cli-tui/editor-view.js.map +0 -1
- package/dist/cli-tui/feedback-view.d.ts +0 -35
- package/dist/cli-tui/feedback-view.d.ts.map +0 -1
- package/dist/cli-tui/feedback-view.js +0 -271
- package/dist/cli-tui/feedback-view.js.map +0 -1
- package/dist/cli-tui/footer.d.ts +0 -56
- package/dist/cli-tui/footer.d.ts.map +0 -1
- package/dist/cli-tui/footer.js +0 -228
- package/dist/cli-tui/footer.js.map +0 -1
- package/dist/cli-tui/git/commit-modal.d.ts +0 -14
- package/dist/cli-tui/git/commit-modal.d.ts.map +0 -1
- package/dist/cli-tui/git/commit-modal.js +0 -56
- package/dist/cli-tui/git/commit-modal.js.map +0 -1
- package/dist/cli-tui/git/git-preview-modal.d.ts +0 -40
- package/dist/cli-tui/git/git-preview-modal.d.ts.map +0 -1
- package/dist/cli-tui/git/git-preview-modal.js +0 -123
- package/dist/cli-tui/git/git-preview-modal.js.map +0 -1
- package/dist/cli-tui/git/git-view.d.ts +0 -65
- package/dist/cli-tui/git/git-view.d.ts.map +0 -1
- package/dist/cli-tui/git/git-view.js +0 -529
- package/dist/cli-tui/git/git-view.js.map +0 -1
- package/dist/cli-tui/history/history-config.d.ts +0 -7
- package/dist/cli-tui/history/history-config.d.ts.map +0 -1
- package/dist/cli-tui/history/history-config.js +0 -49
- package/dist/cli-tui/history/history-config.js.map +0 -1
- package/dist/cli-tui/history/prompt-history.d.ts +0 -33
- package/dist/cli-tui/history/prompt-history.d.ts.map +0 -1
- package/dist/cli-tui/history/prompt-history.js +0 -185
- package/dist/cli-tui/history/prompt-history.js.map +0 -1
- package/dist/cli-tui/history/tool-history.d.ts +0 -50
- package/dist/cli-tui/history/tool-history.d.ts.map +0 -1
- package/dist/cli-tui/history/tool-history.js +0 -253
- package/dist/cli-tui/history/tool-history.js.map +0 -1
- package/dist/cli-tui/hook-message.d.ts +0 -13
- package/dist/cli-tui/hook-message.d.ts.map +0 -1
- package/dist/cli-tui/hook-message.js +0 -56
- package/dist/cli-tui/hook-message.js.map +0 -1
- package/dist/cli-tui/hooks/hook-input-modal.d.ts +0 -22
- package/dist/cli-tui/hooks/hook-input-modal.d.ts.map +0 -1
- package/dist/cli-tui/hooks/hook-input-modal.js +0 -63
- package/dist/cli-tui/hooks/hook-input-modal.js.map +0 -1
- package/dist/cli-tui/hotkeys-view.d.ts +0 -13
- package/dist/cli-tui/hotkeys-view.d.ts.map +0 -1
- package/dist/cli-tui/hotkeys-view.js +0 -96
- package/dist/cli-tui/hotkeys-view.js.map +0 -1
- package/dist/cli-tui/import-view.d.ts +0 -28
- package/dist/cli-tui/import-view.d.ts.map +0 -1
- package/dist/cli-tui/import-view.js +0 -184
- package/dist/cli-tui/import-view.js.map +0 -1
- package/dist/cli-tui/info-view.d.ts +0 -18
- package/dist/cli-tui/info-view.d.ts.map +0 -1
- package/dist/cli-tui/info-view.js +0 -107
- package/dist/cli-tui/info-view.js.map +0 -1
- package/dist/cli-tui/instruction-panel.d.ts +0 -11
- package/dist/cli-tui/instruction-panel.d.ts.map +0 -1
- package/dist/cli-tui/instruction-panel.js +0 -86
- package/dist/cli-tui/instruction-panel.js.map +0 -1
- package/dist/cli-tui/interrupt-controller.d.ts +0 -78
- package/dist/cli-tui/interrupt-controller.d.ts.map +0 -1
- package/dist/cli-tui/interrupt-controller.js +0 -104
- package/dist/cli-tui/interrupt-controller.js.map +0 -1
- package/dist/cli-tui/keybindings-config.d.ts +0 -27
- package/dist/cli-tui/keybindings-config.d.ts.map +0 -1
- package/dist/cli-tui/keybindings-config.js +0 -372
- package/dist/cli-tui/keybindings-config.js.map +0 -1
- package/dist/cli-tui/keybindings-watcher.d.ts +0 -8
- package/dist/cli-tui/keybindings-watcher.d.ts.map +0 -1
- package/dist/cli-tui/keybindings-watcher.js +0 -56
- package/dist/cli-tui/keybindings-watcher.js.map +0 -1
- package/dist/cli-tui/keybindings.d.ts +0 -13
- package/dist/cli-tui/keybindings.d.ts.map +0 -1
- package/dist/cli-tui/keybindings.js +0 -223
- package/dist/cli-tui/keybindings.js.map +0 -1
- package/dist/cli-tui/loader/loader-stage-manager.d.ts +0 -43
- package/dist/cli-tui/loader/loader-stage-manager.d.ts.map +0 -1
- package/dist/cli-tui/loader/loader-stage-manager.js +0 -241
- package/dist/cli-tui/loader/loader-stage-manager.js.map +0 -1
- package/dist/cli-tui/loader/loader-stage-telemetry.d.ts +0 -14
- package/dist/cli-tui/loader/loader-stage-telemetry.d.ts.map +0 -1
- package/dist/cli-tui/loader/loader-stage-telemetry.js +0 -34
- package/dist/cli-tui/loader/loader-stage-telemetry.js.map +0 -1
- package/dist/cli-tui/loader/loader-view.d.ts +0 -41
- package/dist/cli-tui/loader/loader-view.d.ts.map +0 -1
- package/dist/cli-tui/loader/loader-view.js +0 -162
- package/dist/cli-tui/loader/loader-view.js.map +0 -1
- package/dist/cli-tui/lsp-view.d.ts +0 -21
- package/dist/cli-tui/lsp-view.d.ts.map +0 -1
- package/dist/cli-tui/lsp-view.js +0 -183
- package/dist/cli-tui/lsp-view.js.map +0 -1
- package/dist/cli-tui/mermaid-renderer.d.ts +0 -2
- package/dist/cli-tui/mermaid-renderer.d.ts.map +0 -1
- package/dist/cli-tui/mermaid-renderer.js +0 -391
- package/dist/cli-tui/mermaid-renderer.js.map +0 -1
- package/dist/cli-tui/message-view.d.ts +0 -27
- package/dist/cli-tui/message-view.d.ts.map +0 -1
- package/dist/cli-tui/message-view.js +0 -169
- package/dist/cli-tui/message-view.js.map +0 -1
- package/dist/cli-tui/modal-manager.d.ts +0 -77
- package/dist/cli-tui/modal-manager.d.ts.map +0 -1
- package/dist/cli-tui/modal-manager.js +0 -131
- package/dist/cli-tui/modal-manager.js.map +0 -1
- package/dist/cli-tui/notification-view.d.ts +0 -16
- package/dist/cli-tui/notification-view.d.ts.map +0 -1
- package/dist/cli-tui/notification-view.js +0 -53
- package/dist/cli-tui/notification-view.js.map +0 -1
- package/dist/cli-tui/oauth/index.d.ts +0 -2
- package/dist/cli-tui/oauth/index.d.ts.map +0 -1
- package/dist/cli-tui/oauth/index.js +0 -2
- package/dist/cli-tui/oauth/index.js.map +0 -1
- package/dist/cli-tui/oauth/oauth-flow-controller.d.ts +0 -65
- package/dist/cli-tui/oauth/oauth-flow-controller.d.ts.map +0 -1
- package/dist/cli-tui/oauth/oauth-flow-controller.js +0 -400
- package/dist/cli-tui/oauth/oauth-flow-controller.js.map +0 -1
- package/dist/cli-tui/ollama-view.d.ts +0 -38
- package/dist/cli-tui/ollama-view.d.ts.map +0 -1
- package/dist/cli-tui/ollama-view.js +0 -395
- package/dist/cli-tui/ollama-view.js.map +0 -1
- package/dist/cli-tui/paste/index.d.ts +0 -2
- package/dist/cli-tui/paste/index.d.ts.map +0 -1
- package/dist/cli-tui/paste/index.js +0 -2
- package/dist/cli-tui/paste/index.js.map +0 -1
- package/dist/cli-tui/paste/paste-handler.d.ts +0 -54
- package/dist/cli-tui/paste/paste-handler.d.ts.map +0 -1
- package/dist/cli-tui/paste/paste-handler.js +0 -128
- package/dist/cli-tui/paste/paste-handler.js.map +0 -1
- package/dist/cli-tui/plan/plan-controller.d.ts +0 -28
- package/dist/cli-tui/plan/plan-controller.d.ts.map +0 -1
- package/dist/cli-tui/plan/plan-controller.js +0 -66
- package/dist/cli-tui/plan/plan-controller.js.map +0 -1
- package/dist/cli-tui/plan-panel-modal.d.ts +0 -28
- package/dist/cli-tui/plan-panel-modal.d.ts.map +0 -1
- package/dist/cli-tui/plan-panel-modal.js +0 -193
- package/dist/cli-tui/plan-panel-modal.js.map +0 -1
- package/dist/cli-tui/plan-view.d.ts +0 -57
- package/dist/cli-tui/plan-view.d.ts.map +0 -1
- package/dist/cli-tui/plan-view.js +0 -404
- package/dist/cli-tui/plan-view.js.map +0 -1
- package/dist/cli-tui/queue/follow-up-shortcut.d.ts +0 -6
- package/dist/cli-tui/queue/follow-up-shortcut.d.ts.map +0 -1
- package/dist/cli-tui/queue/follow-up-shortcut.js +0 -12
- package/dist/cli-tui/queue/follow-up-shortcut.js.map +0 -1
- package/dist/cli-tui/queue/index.d.ts +0 -3
- package/dist/cli-tui/queue/index.d.ts.map +0 -1
- package/dist/cli-tui/queue/index.js +0 -3
- package/dist/cli-tui/queue/index.js.map +0 -1
- package/dist/cli-tui/queue/queue-controller.d.ts +0 -109
- package/dist/cli-tui/queue/queue-controller.d.ts.map +0 -1
- package/dist/cli-tui/queue/queue-controller.js +0 -327
- package/dist/cli-tui/queue/queue-controller.js.map +0 -1
- package/dist/cli-tui/queue/queue-panel-controller.d.ts +0 -34
- package/dist/cli-tui/queue/queue-panel-controller.d.ts.map +0 -1
- package/dist/cli-tui/queue/queue-panel-controller.js +0 -163
- package/dist/cli-tui/queue/queue-panel-controller.js.map +0 -1
- package/dist/cli-tui/queue/queued-follow-up-edit-binding.d.ts +0 -7
- package/dist/cli-tui/queue/queued-follow-up-edit-binding.d.ts.map +0 -1
- package/dist/cli-tui/queue/queued-follow-up-edit-binding.js +0 -14
- package/dist/cli-tui/queue/queued-follow-up-edit-binding.js.map +0 -1
- package/dist/cli-tui/queue-panel-modal.d.ts +0 -26
- package/dist/cli-tui/queue-panel-modal.d.ts.map +0 -1
- package/dist/cli-tui/queue-panel-modal.js +0 -159
- package/dist/cli-tui/queue-panel-modal.js.map +0 -1
- package/dist/cli-tui/run/run-command-view.d.ts +0 -17
- package/dist/cli-tui/run/run-command-view.d.ts.map +0 -1
- package/dist/cli-tui/run/run-command-view.js +0 -62
- package/dist/cli-tui/run/run-command-view.js.map +0 -1
- package/dist/cli-tui/run/run-controller.d.ts +0 -24
- package/dist/cli-tui/run/run-controller.d.ts.map +0 -1
- package/dist/cli-tui/run/run-controller.js +0 -38
- package/dist/cli-tui/run/run-controller.js.map +0 -1
- package/dist/cli-tui/run/run-shell-command.d.ts +0 -13
- package/dist/cli-tui/run/run-shell-command.d.ts.map +0 -1
- package/dist/cli-tui/run/run-shell-command.js +0 -51
- package/dist/cli-tui/run/run-shell-command.js.map +0 -1
- package/dist/cli-tui/run/streaming-shell-command.d.ts +0 -19
- package/dist/cli-tui/run/streaming-shell-command.d.ts.map +0 -1
- package/dist/cli-tui/run/streaming-shell-command.js +0 -107
- package/dist/cli-tui/run/streaming-shell-command.js.map +0 -1
- package/dist/cli-tui/search/file-search-view.d.ts +0 -22
- package/dist/cli-tui/search/file-search-view.d.ts.map +0 -1
- package/dist/cli-tui/search/file-search-view.js +0 -68
- package/dist/cli-tui/search/file-search-view.js.map +0 -1
- package/dist/cli-tui/search/file-search.d.ts +0 -13
- package/dist/cli-tui/search/file-search.d.ts.map +0 -1
- package/dist/cli-tui/search/file-search.js +0 -52
- package/dist/cli-tui/search/file-search.js.map +0 -1
- package/dist/cli-tui/security-status.d.ts +0 -83
- package/dist/cli-tui/security-status.d.ts.map +0 -1
- package/dist/cli-tui/security-status.js +0 -214
- package/dist/cli-tui/security-status.js.map +0 -1
- package/dist/cli-tui/selectors/base-selector.d.ts +0 -27
- package/dist/cli-tui/selectors/base-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/base-selector.js +0 -47
- package/dist/cli-tui/selectors/base-selector.js.map +0 -1
- package/dist/cli-tui/selectors/branch-summary-modal.d.ts +0 -18
- package/dist/cli-tui/selectors/branch-summary-modal.d.ts.map +0 -1
- package/dist/cli-tui/selectors/branch-summary-modal.js +0 -24
- package/dist/cli-tui/selectors/branch-summary-modal.js.map +0 -1
- package/dist/cli-tui/selectors/model-selector-view.d.ts +0 -22
- package/dist/cli-tui/selectors/model-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/model-selector-view.js +0 -31
- package/dist/cli-tui/selectors/model-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/model-selector.d.ts +0 -30
- package/dist/cli-tui/selectors/model-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/model-selector.js +0 -218
- package/dist/cli-tui/selectors/model-selector.js.map +0 -1
- package/dist/cli-tui/selectors/oauth-selector-view.d.ts +0 -20
- package/dist/cli-tui/selectors/oauth-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/oauth-selector-view.js +0 -28
- package/dist/cli-tui/selectors/oauth-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/oauth-selector.d.ts +0 -19
- package/dist/cli-tui/selectors/oauth-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/oauth-selector.js +0 -120
- package/dist/cli-tui/selectors/oauth-selector.js.map +0 -1
- package/dist/cli-tui/selectors/queue-mode-selector-view.d.ts +0 -19
- package/dist/cli-tui/selectors/queue-mode-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/queue-mode-selector-view.js +0 -29
- package/dist/cli-tui/selectors/queue-mode-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/queue-mode-selector.d.ts +0 -5
- package/dist/cli-tui/selectors/queue-mode-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/queue-mode-selector.js +0 -34
- package/dist/cli-tui/selectors/queue-mode-selector.js.map +0 -1
- package/dist/cli-tui/selectors/report-selector-view.d.ts +0 -17
- package/dist/cli-tui/selectors/report-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/report-selector-view.js +0 -29
- package/dist/cli-tui/selectors/report-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/report-selector.d.ts +0 -7
- package/dist/cli-tui/selectors/report-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/report-selector.js +0 -31
- package/dist/cli-tui/selectors/report-selector.js.map +0 -1
- package/dist/cli-tui/selectors/theme-selector-view.d.ts +0 -19
- package/dist/cli-tui/selectors/theme-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/theme-selector-view.js +0 -41
- package/dist/cli-tui/selectors/theme-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/theme-selector.d.ts +0 -14
- package/dist/cli-tui/selectors/theme-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/theme-selector.js +0 -46
- package/dist/cli-tui/selectors/theme-selector.js.map +0 -1
- package/dist/cli-tui/selectors/thinking-selector-view.d.ts +0 -20
- package/dist/cli-tui/selectors/thinking-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/thinking-selector-view.js +0 -31
- package/dist/cli-tui/selectors/thinking-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/thinking-selector.d.ts +0 -9
- package/dist/cli-tui/selectors/thinking-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/thinking-selector.js +0 -47
- package/dist/cli-tui/selectors/thinking-selector.js.map +0 -1
- package/dist/cli-tui/selectors/tree-selector-view.d.ts +0 -32
- package/dist/cli-tui/selectors/tree-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/tree-selector-view.js +0 -407
- package/dist/cli-tui/selectors/tree-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/tree-selector.d.ts +0 -27
- package/dist/cli-tui/selectors/tree-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/tree-selector.js +0 -194
- package/dist/cli-tui/selectors/tree-selector.js.map +0 -1
- package/dist/cli-tui/selectors/user-message-selector-view.d.ts +0 -25
- package/dist/cli-tui/selectors/user-message-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/user-message-selector-view.js +0 -101
- package/dist/cli-tui/selectors/user-message-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/user-message-selector.d.ts +0 -30
- package/dist/cli-tui/selectors/user-message-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/user-message-selector.js +0 -114
- package/dist/cli-tui/selectors/user-message-selector.js.map +0 -1
- package/dist/cli-tui/session/branch-controller.d.ts +0 -65
- package/dist/cli-tui/session/branch-controller.d.ts.map +0 -1
- package/dist/cli-tui/session/branch-controller.js +0 -125
- package/dist/cli-tui/session/branch-controller.js.map +0 -1
- package/dist/cli-tui/session/conversation-compactor.d.ts +0 -64
- package/dist/cli-tui/session/conversation-compactor.d.ts.map +0 -1
- package/dist/cli-tui/session/conversation-compactor.js +0 -77
- package/dist/cli-tui/session/conversation-compactor.js.map +0 -1
- package/dist/cli-tui/session/session-context.d.ts +0 -59
- package/dist/cli-tui/session/session-context.d.ts.map +0 -1
- package/dist/cli-tui/session/session-context.js +0 -79
- package/dist/cli-tui/session/session-context.js.map +0 -1
- package/dist/cli-tui/session/session-data-provider.d.ts +0 -23
- package/dist/cli-tui/session/session-data-provider.d.ts.map +0 -1
- package/dist/cli-tui/session/session-data-provider.js +0 -22
- package/dist/cli-tui/session/session-data-provider.js.map +0 -1
- package/dist/cli-tui/session/session-list.d.ts +0 -18
- package/dist/cli-tui/session/session-list.d.ts.map +0 -1
- package/dist/cli-tui/session/session-list.js +0 -103
- package/dist/cli-tui/session/session-list.js.map +0 -1
- package/dist/cli-tui/session/session-selector.d.ts +0 -12
- package/dist/cli-tui/session/session-selector.d.ts.map +0 -1
- package/dist/cli-tui/session/session-selector.js +0 -37
- package/dist/cli-tui/session/session-selector.js.map +0 -1
- package/dist/cli-tui/session/session-summary-controller.d.ts +0 -24
- package/dist/cli-tui/session/session-summary-controller.d.ts.map +0 -1
- package/dist/cli-tui/session/session-summary-controller.js +0 -96
- package/dist/cli-tui/session/session-summary-controller.js.map +0 -1
- package/dist/cli-tui/session/session-switcher-view.d.ts +0 -20
- package/dist/cli-tui/session/session-switcher-view.d.ts.map +0 -1
- package/dist/cli-tui/session/session-switcher-view.js +0 -43
- package/dist/cli-tui/session/session-switcher-view.js.map +0 -1
- package/dist/cli-tui/session/session-switcher.d.ts +0 -38
- package/dist/cli-tui/session/session-switcher.d.ts.map +0 -1
- package/dist/cli-tui/session/session-switcher.js +0 -204
- package/dist/cli-tui/session/session-switcher.js.map +0 -1
- package/dist/cli-tui/session/session-view.d.ts +0 -46
- package/dist/cli-tui/session/session-view.d.ts.map +0 -1
- package/dist/cli-tui/session/session-view.js +0 -311
- package/dist/cli-tui/session/session-view.js.map +0 -1
- package/dist/cli-tui/slash/index.d.ts +0 -2
- package/dist/cli-tui/slash/index.d.ts.map +0 -1
- package/dist/cli-tui/slash/index.js +0 -2
- package/dist/cli-tui/slash/index.js.map +0 -1
- package/dist/cli-tui/slash/slash-command-matcher.d.ts +0 -55
- package/dist/cli-tui/slash/slash-command-matcher.d.ts.map +0 -1
- package/dist/cli-tui/slash/slash-command-matcher.js +0 -113
- package/dist/cli-tui/slash/slash-command-matcher.js.map +0 -1
- package/dist/cli-tui/smart-autocomplete-provider.d.ts +0 -5
- package/dist/cli-tui/smart-autocomplete-provider.d.ts.map +0 -1
- package/dist/cli-tui/smart-autocomplete-provider.js +0 -44
- package/dist/cli-tui/smart-autocomplete-provider.js.map +0 -1
- package/dist/cli-tui/startup-announcements.d.ts +0 -15
- package/dist/cli-tui/startup-announcements.d.ts.map +0 -1
- package/dist/cli-tui/startup-announcements.js +0 -75
- package/dist/cli-tui/startup-announcements.js.map +0 -1
- package/dist/cli-tui/status/cost-view.d.ts +0 -27
- package/dist/cli-tui/status/cost-view.d.ts.map +0 -1
- package/dist/cli-tui/status/cost-view.js +0 -212
- package/dist/cli-tui/status/cost-view.js.map +0 -1
- package/dist/cli-tui/status/diagnostics-templates.d.ts +0 -34
- package/dist/cli-tui/status/diagnostics-templates.d.ts.map +0 -1
- package/dist/cli-tui/status/diagnostics-templates.js +0 -167
- package/dist/cli-tui/status/diagnostics-templates.js.map +0 -1
- package/dist/cli-tui/status/diagnostics-view.d.ts +0 -48
- package/dist/cli-tui/status/diagnostics-view.d.ts.map +0 -1
- package/dist/cli-tui/status/diagnostics-view.js +0 -249
- package/dist/cli-tui/status/diagnostics-view.js.map +0 -1
- package/dist/cli-tui/status/diagnostics.d.ts +0 -39
- package/dist/cli-tui/status/diagnostics.d.ts.map +0 -1
- package/dist/cli-tui/status/diagnostics.js +0 -286
- package/dist/cli-tui/status/diagnostics.js.map +0 -1
- package/dist/cli-tui/status/health-snapshot.d.ts +0 -17
- package/dist/cli-tui/status/health-snapshot.d.ts.map +0 -1
- package/dist/cli-tui/status/health-snapshot.js +0 -28
- package/dist/cli-tui/status/health-snapshot.js.map +0 -1
- package/dist/cli-tui/status/quota-view.d.ts +0 -37
- package/dist/cli-tui/status/quota-view.d.ts.map +0 -1
- package/dist/cli-tui/status/quota-view.js +0 -309
- package/dist/cli-tui/status/quota-view.js.map +0 -1
- package/dist/cli-tui/status/telemetry-view.d.ts +0 -23
- package/dist/cli-tui/status/telemetry-view.d.ts.map +0 -1
- package/dist/cli-tui/status/telemetry-view.js +0 -77
- package/dist/cli-tui/status/telemetry-view.js.map +0 -1
- package/dist/cli-tui/status/training-view.d.ts +0 -23
- package/dist/cli-tui/status/training-view.d.ts.map +0 -1
- package/dist/cli-tui/status/training-view.js +0 -71
- package/dist/cli-tui/status/training-view.js.map +0 -1
- package/dist/cli-tui/streaming-view.d.ts +0 -43
- package/dist/cli-tui/streaming-view.d.ts.map +0 -1
- package/dist/cli-tui/streaming-view.js +0 -176
- package/dist/cli-tui/streaming-view.js.map +0 -1
- package/dist/cli-tui/terminal/index.d.ts +0 -2
- package/dist/cli-tui/terminal/index.d.ts.map +0 -1
- package/dist/cli-tui/terminal/index.js +0 -2
- package/dist/cli-tui/terminal/index.js.map +0 -1
- package/dist/cli-tui/terminal/terminal-utils.d.ts +0 -44
- package/dist/cli-tui/terminal/terminal-utils.d.ts.map +0 -1
- package/dist/cli-tui/terminal/terminal-utils.js +0 -145
- package/dist/cli-tui/terminal/terminal-utils.js.map +0 -1
- package/dist/cli-tui/tips/tip-scheduler.d.ts +0 -19
- package/dist/cli-tui/tips/tip-scheduler.d.ts.map +0 -1
- package/dist/cli-tui/tips/tip-scheduler.js +0 -135
- package/dist/cli-tui/tips/tip-scheduler.js.map +0 -1
- package/dist/cli-tui/tool-execution.d.ts +0 -76
- package/dist/cli-tui/tool-execution.d.ts.map +0 -1
- package/dist/cli-tui/tool-execution.js +0 -217
- package/dist/cli-tui/tool-execution.js.map +0 -1
- package/dist/cli-tui/tool-output-view.d.ts +0 -22
- package/dist/cli-tui/tool-output-view.d.ts.map +0 -1
- package/dist/cli-tui/tool-output-view.js +0 -71
- package/dist/cli-tui/tool-output-view.js.map +0 -1
- package/dist/cli-tui/tool-renderers/index.d.ts +0 -4
- package/dist/cli-tui/tool-renderers/index.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/index.js +0 -19
- package/dist/cli-tui/tool-renderers/index.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-bash.d.ts +0 -6
- package/dist/cli-tui/tool-renderers/render-bash.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-bash.js +0 -90
- package/dist/cli-tui/tool-renderers/render-bash.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-batch.d.ts +0 -12
- package/dist/cli-tui/tool-renderers/render-batch.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-batch.js +0 -133
- package/dist/cli-tui/tool-renderers/render-batch.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-edit.d.ts +0 -6
- package/dist/cli-tui/tool-renderers/render-edit.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-edit.js +0 -125
- package/dist/cli-tui/tool-renderers/render-edit.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-generic.d.ts +0 -6
- package/dist/cli-tui/tool-renderers/render-generic.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-generic.js +0 -66
- package/dist/cli-tui/tool-renderers/render-generic.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-read.d.ts +0 -9
- package/dist/cli-tui/tool-renderers/render-read.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-read.js +0 -108
- package/dist/cli-tui/tool-renderers/render-read.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-style.d.ts +0 -21
- package/dist/cli-tui/tool-renderers/render-style.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-style.js +0 -51
- package/dist/cli-tui/tool-renderers/render-style.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-write.d.ts +0 -5
- package/dist/cli-tui/tool-renderers/render-write.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-write.js +0 -60
- package/dist/cli-tui/tool-renderers/render-write.js.map +0 -1
- package/dist/cli-tui/tool-renderers/types.d.ts +0 -20
- package/dist/cli-tui/tool-renderers/types.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/types.js +0 -2
- package/dist/cli-tui/tool-renderers/types.js.map +0 -1
- package/dist/cli-tui/tool-retry/tool-retry-controller.d.ts +0 -29
- package/dist/cli-tui/tool-retry/tool-retry-controller.d.ts.map +0 -1
- package/dist/cli-tui/tool-retry/tool-retry-controller.js +0 -110
- package/dist/cli-tui/tool-retry/tool-retry-controller.js.map +0 -1
- package/dist/cli-tui/tool-retry/tool-retry-modal.d.ts +0 -27
- package/dist/cli-tui/tool-retry/tool-retry-modal.d.ts.map +0 -1
- package/dist/cli-tui/tool-retry/tool-retry-modal.js +0 -118
- package/dist/cli-tui/tool-retry/tool-retry-modal.js.map +0 -1
- package/dist/cli-tui/tool-status-view.d.ts +0 -32
- package/dist/cli-tui/tool-status-view.d.ts.map +0 -1
- package/dist/cli-tui/tool-status-view.js +0 -86
- package/dist/cli-tui/tool-status-view.js.map +0 -1
- package/dist/cli-tui/tui-renderer/agent-event-bridge.d.ts +0 -59
- package/dist/cli-tui/tui-renderer/agent-event-bridge.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/agent-event-bridge.js +0 -129
- package/dist/cli-tui/tui-renderer/agent-event-bridge.js.map +0 -1
- package/dist/cli-tui/tui-renderer/approval-setup.d.ts +0 -13
- package/dist/cli-tui/tui-renderer/approval-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/approval-setup.js +0 -5
- package/dist/cli-tui/tui-renderer/approval-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/attachment-controller.d.ts +0 -54
- package/dist/cli-tui/tui-renderer/attachment-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/attachment-controller.js +0 -160
- package/dist/cli-tui/tui-renderer/attachment-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/background-tasks-setup.d.ts +0 -9
- package/dist/cli-tui/tui-renderer/background-tasks-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/background-tasks-setup.js +0 -7
- package/dist/cli-tui/tui-renderer/background-tasks-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/branch-controller.d.ts +0 -41
- package/dist/cli-tui/tui-renderer/branch-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/branch-controller.js +0 -102
- package/dist/cli-tui/tui-renderer/branch-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/clear-controller.d.ts +0 -75
- package/dist/cli-tui/tui-renderer/clear-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/clear-controller.js +0 -75
- package/dist/cli-tui/tui-renderer/clear-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/client-tools-setup.d.ts +0 -14
- package/dist/cli-tui/tui-renderer/client-tools-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/client-tools-setup.js +0 -5
- package/dist/cli-tui/tui-renderer/client-tools-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/command-registry-options.d.ts +0 -111
- package/dist/cli-tui/tui-renderer/command-registry-options.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/command-registry-options.js +0 -163
- package/dist/cli-tui/tui-renderer/command-registry-options.js.map +0 -1
- package/dist/cli-tui/tui-renderer/command-registry.d.ts +0 -16
- package/dist/cli-tui/tui-renderer/command-registry.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/command-registry.js +0 -23
- package/dist/cli-tui/tui-renderer/command-registry.js.map +0 -1
- package/dist/cli-tui/tui-renderer/command-suite-wiring.d.ts +0 -29
- package/dist/cli-tui/tui-renderer/command-suite-wiring.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/command-suite-wiring.js +0 -108
- package/dist/cli-tui/tui-renderer/command-suite-wiring.js.map +0 -1
- package/dist/cli-tui/tui-renderer/compaction-controller.d.ts +0 -100
- package/dist/cli-tui/tui-renderer/compaction-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/compaction-controller.js +0 -160
- package/dist/cli-tui/tui-renderer/compaction-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/custom-commands-controller.d.ts +0 -42
- package/dist/cli-tui/tui-renderer/custom-commands-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/custom-commands-controller.js +0 -106
- package/dist/cli-tui/tui-renderer/custom-commands-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/delegating-command-handlers.d.ts +0 -37
- package/dist/cli-tui/tui-renderer/delegating-command-handlers.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/delegating-command-handlers.js +0 -139
- package/dist/cli-tui/tui-renderer/delegating-command-handlers.js.map +0 -1
- package/dist/cli-tui/tui-renderer/editor-bindings.d.ts +0 -21
- package/dist/cli-tui/tui-renderer/editor-bindings.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/editor-bindings.js +0 -76
- package/dist/cli-tui/tui-renderer/editor-bindings.js.map +0 -1
- package/dist/cli-tui/tui-renderer/footer-hints-controller.d.ts +0 -90
- package/dist/cli-tui/tui-renderer/footer-hints-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/footer-hints-controller.js +0 -152
- package/dist/cli-tui/tui-renderer/footer-hints-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/history-controller.d.ts +0 -35
- package/dist/cli-tui/tui-renderer/history-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/history-controller.js +0 -153
- package/dist/cli-tui/tui-renderer/history-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/hook-ui-controller.d.ts +0 -83
- package/dist/cli-tui/tui-renderer/hook-ui-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/hook-ui-controller.js +0 -309
- package/dist/cli-tui/tui-renderer/hook-ui-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/initial-preferences.d.ts +0 -19
- package/dist/cli-tui/tui-renderer/initial-preferences.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/initial-preferences.js +0 -54
- package/dist/cli-tui/tui-renderer/initial-preferences.js.map +0 -1
- package/dist/cli-tui/tui-renderer/input-controller.d.ts +0 -56
- package/dist/cli-tui/tui-renderer/input-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/input-controller.js +0 -104
- package/dist/cli-tui/tui-renderer/input-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/interrupt-setup.d.ts +0 -19
- package/dist/cli-tui/tui-renderer/interrupt-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/interrupt-setup.js +0 -18
- package/dist/cli-tui/tui-renderer/interrupt-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/loader-setup.d.ts +0 -14
- package/dist/cli-tui/tui-renderer/loader-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/loader-setup.js +0 -13
- package/dist/cli-tui/tui-renderer/loader-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/mcp-events-setup.d.ts +0 -55
- package/dist/cli-tui/tui-renderer/mcp-events-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/mcp-events-setup.js +0 -143
- package/dist/cli-tui/tui-renderer/mcp-events-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/misc-handlers.d.ts +0 -59
- package/dist/cli-tui/tui-renderer/misc-handlers.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/misc-handlers.js +0 -143
- package/dist/cli-tui/tui-renderer/misc-handlers.js.map +0 -1
- package/dist/cli-tui/tui-renderer/oauth-setup.d.ts +0 -14
- package/dist/cli-tui/tui-renderer/oauth-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/oauth-setup.js +0 -26
- package/dist/cli-tui/tui-renderer/oauth-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/plan-setup.d.ts +0 -19
- package/dist/cli-tui/tui-renderer/plan-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/plan-setup.js +0 -23
- package/dist/cli-tui/tui-renderer/plan-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/prompt-template-slash-commands.d.ts +0 -21
- package/dist/cli-tui/tui-renderer/prompt-template-slash-commands.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/prompt-template-slash-commands.js +0 -64
- package/dist/cli-tui/tui-renderer/prompt-template-slash-commands.js.map +0 -1
- package/dist/cli-tui/tui-renderer/queue-setup.d.ts +0 -18
- package/dist/cli-tui/tui-renderer/queue-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/queue-setup.js +0 -42
- package/dist/cli-tui/tui-renderer/queue-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/quick-settings-controller.d.ts +0 -53
- package/dist/cli-tui/tui-renderer/quick-settings-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/quick-settings-controller.js +0 -100
- package/dist/cli-tui/tui-renderer/quick-settings-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/session-setup.d.ts +0 -31
- package/dist/cli-tui/tui-renderer/session-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/session-setup.js +0 -45
- package/dist/cli-tui/tui-renderer/session-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/session-state-controller.d.ts +0 -66
- package/dist/cli-tui/tui-renderer/session-state-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/session-state-controller.js +0 -139
- package/dist/cli-tui/tui-renderer/session-state-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/skills-controller.d.ts +0 -73
- package/dist/cli-tui/tui-renderer/skills-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/skills-controller.js +0 -455
- package/dist/cli-tui/tui-renderer/skills-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/slash-hint-controller.d.ts +0 -90
- package/dist/cli-tui/tui-renderer/slash-hint-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/slash-hint-controller.js +0 -131
- package/dist/cli-tui/tui-renderer/slash-hint-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/tool-retry-setup.d.ts +0 -13
- package/dist/cli-tui/tui-renderer/tool-retry-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/tool-retry-setup.js +0 -5
- package/dist/cli-tui/tui-renderer/tool-retry-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/tooling-views-setup.d.ts +0 -38
- package/dist/cli-tui/tui-renderer/tooling-views-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/tooling-views-setup.js +0 -48
- package/dist/cli-tui/tui-renderer/tooling-views-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/ui-state-controller.d.ts +0 -70
- package/dist/cli-tui/tui-renderer/ui-state-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/ui-state-controller.js +0 -184
- package/dist/cli-tui/tui-renderer/ui-state-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/ui-state-setup.d.ts +0 -13
- package/dist/cli-tui/tui-renderer/ui-state-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/ui-state-setup.js +0 -11
- package/dist/cli-tui/tui-renderer/ui-state-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/utility-views-setup.d.ts +0 -26
- package/dist/cli-tui/tui-renderer/utility-views-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/utility-views-setup.js +0 -23
- package/dist/cli-tui/tui-renderer/utility-views-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/viewport-controller.d.ts +0 -33
- package/dist/cli-tui/tui-renderer/viewport-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/viewport-controller.js +0 -98
- package/dist/cli-tui/tui-renderer/viewport-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer.d.ts +0 -268
- package/dist/cli-tui/tui-renderer.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer.js +0 -2131
- package/dist/cli-tui/tui-renderer.js.map +0 -1
- package/dist/cli-tui/ui-state.d.ts.map +0 -1
- package/dist/cli-tui/ui-state.js.map +0 -1
- package/dist/cli-tui/update-view.d.ts +0 -16
- package/dist/cli-tui/update-view.d.ts.map +0 -1
- package/dist/cli-tui/update-view.js +0 -45
- package/dist/cli-tui/update-view.js.map +0 -1
- package/dist/cli-tui/user-message.d.ts +0 -17
- package/dist/cli-tui/user-message.d.ts.map +0 -1
- package/dist/cli-tui/user-message.js +0 -83
- package/dist/cli-tui/user-message.js.map +0 -1
- package/dist/cli-tui/utils/borders.d.ts +0 -131
- package/dist/cli-tui/utils/borders.d.ts.map +0 -1
- package/dist/cli-tui/utils/borders.js +0 -254
- package/dist/cli-tui/utils/borders.js.map +0 -1
- package/dist/cli-tui/utils/commands/command-palette-view.d.ts +0 -22
- package/dist/cli-tui/utils/commands/command-palette-view.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/command-palette-view.js +0 -31
- package/dist/cli-tui/utils/commands/command-palette-view.js.map +0 -1
- package/dist/cli-tui/utils/commands/command-palette.d.ts +0 -29
- package/dist/cli-tui/utils/commands/command-palette.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/command-palette.js +0 -213
- package/dist/cli-tui/utils/commands/command-palette.js.map +0 -1
- package/dist/cli-tui/utils/commands/command-registry-builder.d.ts +0 -8
- package/dist/cli-tui/utils/commands/command-registry-builder.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/command-registry-builder.js +0 -9
- package/dist/cli-tui/utils/commands/command-registry-builder.js.map +0 -1
- package/dist/cli-tui/utils/commands/review-prompt.d.ts +0 -10
- package/dist/cli-tui/utils/commands/review-prompt.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/review-prompt.js +0 -90
- package/dist/cli-tui/utils/commands/review-prompt.js.map +0 -1
- package/dist/cli-tui/utils/commands/slash-hint-bar.d.ts +0 -15
- package/dist/cli-tui/utils/commands/slash-hint-bar.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/slash-hint-bar.js +0 -106
- package/dist/cli-tui/utils/commands/slash-hint-bar.js.map +0 -1
- package/dist/cli-tui/utils/env-detect.d.ts +0 -11
- package/dist/cli-tui/utils/env-detect.d.ts.map +0 -1
- package/dist/cli-tui/utils/env-detect.js +0 -107
- package/dist/cli-tui/utils/env-detect.js.map +0 -1
- package/dist/cli-tui/utils/external-editor.d.ts +0 -7
- package/dist/cli-tui/utils/external-editor.d.ts.map +0 -1
- package/dist/cli-tui/utils/external-editor.js +0 -53
- package/dist/cli-tui/utils/external-editor.js.map +0 -1
- package/dist/cli-tui/utils/footer-utils.d.ts +0 -169
- package/dist/cli-tui/utils/footer-utils.d.ts.map +0 -1
- package/dist/cli-tui/utils/footer-utils.js +0 -716
- package/dist/cli-tui/utils/footer-utils.js.map +0 -1
- package/dist/cli-tui/utils/footer-visual-widgets.d.ts +0 -38
- package/dist/cli-tui/utils/footer-visual-widgets.d.ts.map +0 -1
- package/dist/cli-tui/utils/footer-visual-widgets.js +0 -141
- package/dist/cli-tui/utils/footer-visual-widgets.js.map +0 -1
- package/dist/cli-tui/utils/git-branch-tracker.d.ts +0 -38
- package/dist/cli-tui/utils/git-branch-tracker.d.ts.map +0 -1
- package/dist/cli-tui/utils/git-branch-tracker.js +0 -90
- package/dist/cli-tui/utils/git-branch-tracker.js.map +0 -1
- package/dist/cli-tui/utils/glyphs.d.ts +0 -207
- package/dist/cli-tui/utils/glyphs.d.ts.map +0 -1
- package/dist/cli-tui/utils/glyphs.js +0 -249
- package/dist/cli-tui/utils/glyphs.js.map +0 -1
- package/dist/cli-tui/utils/layout.d.ts +0 -77
- package/dist/cli-tui/utils/layout.d.ts.map +0 -1
- package/dist/cli-tui/utils/layout.js +0 -83
- package/dist/cli-tui/utils/layout.js.map +0 -1
- package/dist/cli-tui/utils/links.d.ts +0 -2
- package/dist/cli-tui/utils/links.d.ts.map +0 -1
- package/dist/cli-tui/utils/links.js +0 -14
- package/dist/cli-tui/utils/links.js.map +0 -1
- package/dist/cli-tui/utils/motion.d.ts +0 -4
- package/dist/cli-tui/utils/motion.d.ts.map +0 -1
- package/dist/cli-tui/utils/motion.js +0 -28
- package/dist/cli-tui/utils/motion.js.map +0 -1
- package/dist/cli-tui/utils/runtime-badges.d.ts +0 -26
- package/dist/cli-tui/utils/runtime-badges.d.ts.map +0 -1
- package/dist/cli-tui/utils/runtime-badges.js +0 -178
- package/dist/cli-tui/utils/runtime-badges.js.map +0 -1
- package/dist/cli-tui/utils/shimmer.d.ts +0 -12
- package/dist/cli-tui/utils/shimmer.d.ts.map +0 -1
- package/dist/cli-tui/utils/shimmer.js +0 -57
- package/dist/cli-tui/utils/shimmer.js.map +0 -1
- package/dist/cli-tui/utils/stage-labels.d.ts +0 -9
- package/dist/cli-tui/utils/stage-labels.d.ts.map +0 -1
- package/dist/cli-tui/utils/stage-labels.js +0 -65
- package/dist/cli-tui/utils/stage-labels.js.map +0 -1
- package/dist/cli-tui/utils/text-formatting.d.ts +0 -13
- package/dist/cli-tui/utils/text-formatting.d.ts.map +0 -1
- package/dist/cli-tui/utils/text-formatting.js +0 -109
- package/dist/cli-tui/utils/text-formatting.js.map +0 -1
- package/dist/cli-tui/utils/text-preview.d.ts +0 -10
- package/dist/cli-tui/utils/text-preview.d.ts.map +0 -1
- package/dist/cli-tui/utils/text-preview.js +0 -26
- package/dist/cli-tui/utils/text-preview.js.map +0 -1
- package/dist/cli-tui/utils/tool-text-utils.d.ts +0 -42
- package/dist/cli-tui/utils/tool-text-utils.d.ts.map +0 -1
- package/dist/cli-tui/utils/tool-text-utils.js +0 -361
- package/dist/cli-tui/utils/tool-text-utils.js.map +0 -1
- package/dist/cli-tui/welcome-animation.d.ts +0 -24
- package/dist/cli-tui/welcome-animation.d.ts.map +0 -1
- package/dist/cli-tui/welcome-animation.js +0 -99
- package/dist/cli-tui/welcome-animation.js.map +0 -1
- package/dist/cli-tui/welcome-colors.d.ts +0 -3
- package/dist/cli-tui/welcome-colors.d.ts.map +0 -1
- package/dist/cli-tui/welcome-colors.js +0 -39
- package/dist/cli-tui/welcome-colors.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/autocomplete.d.ts +0 -304
- package/dist/node_modules/@evalops/tui/dist/autocomplete.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/autocomplete.js +0 -712
- package/dist/node_modules/@evalops/tui/dist/autocomplete.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/editor.d.ts +0 -185
- package/dist/node_modules/@evalops/tui/dist/components/editor.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/editor.js +0 -1460
- package/dist/node_modules/@evalops/tui/dist/components/editor.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/input.d.ts +0 -117
- package/dist/node_modules/@evalops/tui/dist/components/input.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/input.js +0 -391
- package/dist/node_modules/@evalops/tui/dist/components/input.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/layout.d.ts +0 -256
- package/dist/node_modules/@evalops/tui/dist/components/layout.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/layout.js +0 -478
- package/dist/node_modules/@evalops/tui/dist/components/layout.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/loader.d.ts +0 -199
- package/dist/node_modules/@evalops/tui/dist/components/loader.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/loader.js +0 -374
- package/dist/node_modules/@evalops/tui/dist/components/loader.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/markdown.d.ts +0 -65
- package/dist/node_modules/@evalops/tui/dist/components/markdown.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/markdown.js +0 -562
- package/dist/node_modules/@evalops/tui/dist/components/markdown.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/scroll-container.d.ts +0 -262
- package/dist/node_modules/@evalops/tui/dist/components/scroll-container.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/scroll-container.js +0 -575
- package/dist/node_modules/@evalops/tui/dist/components/scroll-container.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/select-list.d.ts +0 -131
- package/dist/node_modules/@evalops/tui/dist/components/select-list.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/select-list.js +0 -257
- package/dist/node_modules/@evalops/tui/dist/components/select-list.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/spacer.d.ts +0 -11
- package/dist/node_modules/@evalops/tui/dist/components/spacer.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/spacer.js +0 -19
- package/dist/node_modules/@evalops/tui/dist/components/spacer.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/status-bar.d.ts +0 -22
- package/dist/node_modules/@evalops/tui/dist/components/status-bar.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/status-bar.js +0 -44
- package/dist/node_modules/@evalops/tui/dist/components/status-bar.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/text.d.ts +0 -26
- package/dist/node_modules/@evalops/tui/dist/components/text.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/text.js +0 -181
- package/dist/node_modules/@evalops/tui/dist/components/text.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/truncated-text.d.ts +0 -15
- package/dist/node_modules/@evalops/tui/dist/components/truncated-text.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/truncated-text.js +0 -84
- package/dist/node_modules/@evalops/tui/dist/components/truncated-text.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/index.d.ts +0 -87
- package/dist/node_modules/@evalops/tui/dist/index.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/index.js +0 -85
- package/dist/node_modules/@evalops/tui/dist/index.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/keymap.d.ts +0 -189
- package/dist/node_modules/@evalops/tui/dist/keymap.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/keymap.js +0 -363
- package/dist/node_modules/@evalops/tui/dist/keymap.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/mermaid-renderer.d.ts +0 -25
- package/dist/node_modules/@evalops/tui/dist/mermaid-renderer.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/mermaid-renderer.js +0 -828
- package/dist/node_modules/@evalops/tui/dist/mermaid-renderer.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/style/code-highlighter.d.ts +0 -40
- package/dist/node_modules/@evalops/tui/dist/style/code-highlighter.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/style/code-highlighter.js +0 -474
- package/dist/node_modules/@evalops/tui/dist/style/code-highlighter.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/terminal.d.ts +0 -201
- package/dist/node_modules/@evalops/tui/dist/terminal.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/terminal.js +0 -241
- package/dist/node_modules/@evalops/tui/dist/terminal.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/tui.d.ts +0 -263
- package/dist/node_modules/@evalops/tui/dist/tui.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/tui.js +0 -694
- package/dist/node_modules/@evalops/tui/dist/tui.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/utils/terminal-features.d.ts +0 -14
- package/dist/node_modules/@evalops/tui/dist/utils/terminal-features.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/utils/terminal-features.js +0 -44
- package/dist/node_modules/@evalops/tui/dist/utils/terminal-features.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/utils.d.ts +0 -32
- package/dist/node_modules/@evalops/tui/dist/utils.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/utils.js +0 -556
- package/dist/node_modules/@evalops/tui/dist/utils.js.map +0 -1
- package/dist/node_modules/@evalops/tui/package.json +0 -58
- package/dist/skills/artifact-metadata.d.ts.map +0 -1
- package/dist/skills/artifact-metadata.js.map +0 -1
- package/dist/skills/composer-diagnostics.d.ts +0 -69
- package/dist/skills/composer-diagnostics.d.ts.map +0 -1
- package/dist/skills/composer-diagnostics.js +0 -78
- package/dist/skills/composer-diagnostics.js.map +0 -1
- package/dist/skills/composer.d.ts +0 -19
- package/dist/skills/composer.d.ts.map +0 -1
- package/dist/skills/composer.js +0 -64
- package/dist/skills/composer.js.map +0 -1
- package/dist/skills/eval-harness.d.ts +0 -38
- package/dist/skills/eval-harness.d.ts.map +0 -1
- package/dist/skills/eval-harness.js +0 -112
- package/dist/skills/eval-harness.js.map +0 -1
- package/dist/skills/index.d.ts +0 -41
- package/dist/skills/index.d.ts.map +0 -1
- package/dist/skills/index.js +0 -41
- package/dist/skills/index.js.map +0 -1
- package/dist/skills/learned-guidelines.d.ts +0 -33
- package/dist/skills/learned-guidelines.d.ts.map +0 -1
- package/dist/skills/learned-guidelines.js +0 -291
- package/dist/skills/learned-guidelines.js.map +0 -1
- package/dist/skills/linter.d.ts +0 -36
- package/dist/skills/linter.d.ts.map +0 -1
- package/dist/skills/linter.js +0 -397
- package/dist/skills/linter.js.map +0 -1
- package/dist/skills/loader.d.ts +0 -252
- package/dist/skills/loader.d.ts.map +0 -1
- package/dist/skills/loader.js +0 -957
- package/dist/skills/loader.js.map +0 -1
- package/dist/skills/package-contract.d.ts +0 -45
- package/dist/skills/package-contract.d.ts.map +0 -1
- package/dist/skills/package-contract.js +0 -153
- package/dist/skills/package-contract.js.map +0 -1
- package/dist/skills/runtime-activation.d.ts +0 -69
- package/dist/skills/runtime-activation.d.ts.map +0 -1
- package/dist/skills/runtime-activation.js +0 -227
- package/dist/skills/runtime-activation.js.map +0 -1
- package/dist/skills/scaffold-from-template.d.ts +0 -58
- package/dist/skills/scaffold-from-template.d.ts.map +0 -1
- package/dist/skills/scaffold-from-template.js +0 -72
- package/dist/skills/scaffold-from-template.js.map +0 -1
- package/dist/skills/scaffolder.d.ts +0 -65
- package/dist/skills/scaffolder.d.ts.map +0 -1
- package/dist/skills/scaffolder.js +0 -167
- package/dist/skills/scaffolder.js.map +0 -1
- package/dist/skills/service-client.d.ts +0 -56
- package/dist/skills/service-client.d.ts.map +0 -1
- package/dist/skills/service-client.js +0 -266
- package/dist/skills/service-client.js.map +0 -1
- package/dist/skills/skill-templates.d.ts +0 -70
- package/dist/skills/skill-templates.d.ts.map +0 -1
- package/dist/skills/skill-templates.js +0 -154
- package/dist/skills/skill-templates.js.map +0 -1
- package/dist/skills/tool.d.ts +0 -21
- package/dist/skills/tool.d.ts.map +0 -1
- package/dist/skills/tool.js +0 -339
- package/dist/skills/tool.js.map +0 -1
- package/dist/skills/trust-cache.d.ts +0 -65
- package/dist/skills/trust-cache.d.ts.map +0 -1
- package/dist/skills/trust-cache.js +0 -146
- package/dist/skills/trust-cache.js.map +0 -1
- package/dist/skills/types.d.ts +0 -91
- package/dist/skills/types.d.ts.map +0 -1
- package/dist/skills/types.js +0 -8
- package/dist/skills/types.js.map +0 -1
- /package/dist/{cli-tui → runtime}/prompt-queue.d.ts +0 -0
- /package/dist/{cli-tui → runtime}/prompt-queue.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loader.js","sourceRoot":"","sources":["../../src/skills/loader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAA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a,EAAE,CAAC;IAE3B,KAAK,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;IACjC,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC5B,KAAK,CAAC,IAAI,CAAC,KAAK,uBAAuB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACnD,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;IAClC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACf,KAAK,CAAC,IAAI,CACT,8EAA8E;QAC7E,iFAAiF;QACjF,gEAAgE;QAChE,gDAAgD;QAChD,+EAA+E;QAC/E,mCAAmC,CACpC,CAAC;IAEF,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC","sourcesContent":["/**\n * Skills Loader - Dynamic skill discovery and loading system.\n *\n * Implements the Agent Skills specification (https://agentskills.io/specification).\n *\n * Skills are domain-specific instruction sets that provide:\n * - Detailed workflows and procedures\n * - Access to bundled resources (scripts, templates, references)\n * - Domain expertise for specialized tasks\n *\n * Skills are discovered from:\n * - ~/.maestro/skills/ (user skills)\n * - .maestro/skills/ (project skills)\n *\n * Each skill is a directory containing:\n * - SKILL.md or skill.md - Main skill file with YAML frontmatter\n * - Optional: scripts/, references/, assets/ directories\n */\n\nimport { createHash } from \"node:crypto\";\nimport { existsSync, readFileSync, readdirSync, statSync } from \"node:fs\";\nimport { basename, dirname, join } from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport { load as loadYaml } from \"js-yaml\";\nimport { PATHS } from \"../config/constants.js\";\nimport type { ComposerConfig } from \"../config/toml-config.js\";\nimport { loadConfiguredPackageResources } from \"../packages/runtime.js\";\nimport { createLogger } from \"../utils/logger.js\";\nimport { promptSafeText } from \"../utils/prompt-safe-text.js\";\n\nconst logger = createLogger(\"skills:loader\");\nconst LEGACY_FLAT_RESOURCE_EXCLUDES = new Set([\n\t\"scripts\",\n\t\"reference\",\n\t\"references\",\n\t\"assets\",\n\t\"toolbox\",\n\t\"mcp.json\",\n\t\"mcp.json.example\",\n]);\n\n/** Maximum lengths per Agent Skills spec */\nconst MAX_NAME_LENGTH = 64;\nconst MAX_DESCRIPTION_LENGTH = 1024;\nconst MAX_COMPATIBILITY_LENGTH = 500;\n\n/** Allowed frontmatter fields per Agent Skills spec */\nexport const SKILL_FRONTMATTER_FIELDS = [\n\t\"name\",\n\t\"description\",\n\t\"license\",\n\t\"compatibility\",\n\t\"allowed-tools\",\n\t\"argument-hint\",\n\t\"builtin-tools\",\n\t\"model\",\n\t\"mode\",\n\t\"isolatedContext\",\n\t\"metadata\",\n\t// Legacy fields (deprecated but supported for backwards compatibility)\n\t\"tags\",\n\t\"author\",\n\t\"version\",\n\t\"triggers\",\n] as const;\n\n/** Allowed frontmatter fields per Agent Skills spec plus Maestro package hints. */\nconst ALLOWED_FIELDS = new Set<string>(SKILL_FRONTMATTER_FIELDS);\n\n/**\n * Skill definition from SKILL.md frontmatter (per Agent Skills spec).\n */\nexport interface SkillDefinition {\n\t/** Skill name (1-64 chars, lowercase alphanumeric + hyphens) */\n\tname: string;\n\t/** Description of what the skill does (1-1024 chars) */\n\tdescription: string;\n\t/** License identifier */\n\tlicense?: string;\n\t/** Compatibility/environment requirements (max 500 chars) */\n\tcompatibility?: string;\n\t/** Pre-approved MCP/toolbox tools this skill can use */\n\tallowedTools?: string[];\n\t/** Built-in Maestro tools this skill needs */\n\tbuiltinTools?: string[];\n\t/** Argument hint shown by authoring surfaces */\n\targumentHint?: string;\n\t/** Preferred model while this skill is active */\n\tmodel?: string;\n\t/** Preferred agent mode while this skill is active */\n\tmode?: string;\n\t/** Whether the skill should run in isolated context when supported */\n\tisolatedContext?: boolean;\n\t/** Additional key-value metadata */\n\tmetadata?: Record<string, string>;\n\t/** @deprecated Use metadata instead */\n\ttags?: string[];\n\t/** @deprecated Use metadata.author instead */\n\tauthor?: string;\n\t/** @deprecated Use metadata.version instead */\n\tversion?: string;\n\t/** @deprecated Use description for trigger keywords instead */\n\ttriggers?: string[];\n}\n\n/**\n * Loaded skill with full content.\n */\nexport interface LoadedSkill extends SkillDefinition {\n\t/** Source directory path */\n\tsourcePath: string;\n\t/** Source type: 'user', 'project', 'system', or 'service' */\n\tsourceType: \"user\" | \"project\" | \"system\" | \"service\";\n\t/** Full markdown content (without frontmatter) */\n\tcontent: string;\n\t/**\n\t * SHA-256 of the prompt body. Stable identifier for the skill's\n\t * instructions independent of its source path. Trust UX (see #2629)\n\t * keys on this: a non-builtin skill whose `contentSha` changes between\n\t * loads is a \"skill content changed; approve\" trigger.\n\t */\n\tcontentSha: string;\n\t/** List of bundled resource files */\n\tresources: SkillResource[];\n\t/** Resource directories */\n\tresourceDirs: SkillResourceDirs;\n}\n\n/**\n * Hash a single bundled resource file. Errors (missing file,\n * unreadable) yield a sentinel marker so the parent hash changes —\n * an unhashable resource invalidates the approval rather than\n * silently dropping out of the hash.\n */\nfunction hashSkillResourceFile(filePath: string): string {\n\ttry {\n\t\treturn createHash(\"sha256\").update(readFileSync(filePath)).digest(\"hex\");\n\t} catch {\n\t\treturn \"UNHASHABLE\";\n\t}\n}\n\n/**\n * Walk a directory tree and feed every regular file's (relative path,\n * content) pair into `hash` in a deterministic, alpha-sorted order.\n * Used by `computeSkillTrustSha` to bind every spec-layout resource\n * directory (`scripts/`, `toolbox/`, `assets/`, …) into the trust\n * digest, so swapping a bundled script while keeping the same skill\n * name and `SKILL.md` body invalidates the prior approval.\n *\n * Symlinks are followed: the runtime executes them, so the digest\n * should reflect what would actually run. The skills loader enforces\n * path confinement (#2746) separately, so any escape attempt is\n * rejected before we get here.\n */\nfunction hashSkillDirectoryInto(\n\thash: ReturnType<typeof createHash>,\n\trootDir: string,\n\tcurrentDir: string,\n): void {\n\tlet entries: string[];\n\ttry {\n\t\tentries = readdirSync(currentDir).sort();\n\t} catch {\n\t\treturn;\n\t}\n\tfor (const entry of entries) {\n\t\tconst fullPath = join(currentDir, entry);\n\t\tlet stat: ReturnType<typeof statSync>;\n\t\ttry {\n\t\t\tstat = statSync(fullPath);\n\t\t} catch {\n\t\t\tcontinue;\n\t\t}\n\t\tconst relPath = fullPath.slice(rootDir.length);\n\t\tif (stat.isDirectory()) {\n\t\t\thash.update(`\\0dir:${relPath}\\0`);\n\t\t\thashSkillDirectoryInto(hash, rootDir, fullPath);\n\t\t} else if (stat.isFile()) {\n\t\t\thash.update(`\\0file:${relPath}\\0`);\n\t\t\thash.update(hashSkillResourceFile(fullPath));\n\t\t}\n\t}\n}\n\n/**\n * Bind the trust hash to (name + content + bundled resources + spec-\n * layout resource directories), not just content. The adversarial\n * review (#2629) showed that hashing content alone enables a\n * name-substitution attack: an attacker ships a malicious skill whose\n * BODY is byte-identical to a popular approved skill but registers a\n * different name and ships malicious scripts in `scripts/` (which the\n * agent invokes via the runtime activation manifest).\n *\n * A follow-up review (#2749) pointed out that the previous fix only\n * covered the legacy flat resources list — files under `scripts/`,\n * `toolbox/`, `assets/`, the reference dirs, and `mcp.json` were all\n * still excluded from the trust digest, so swapping any of those\n * while keeping the SKILL.md body identical left `contentSha`\n * unchanged and the prior user approval still applied. We now hash\n * every resource-bearing path so a swap of any bundled file\n * invalidates the approval.\n *\n * Resources and directories are sorted so the hash is deterministic.\n */\nexport function computeSkillTrustSha(\n\tname: string,\n\tbody: string,\n\tresources: SkillResource[],\n\tresourceDirs: SkillResourceDirs,\n): string {\n\tconst sortedResources = [...resources].sort((a, b) =>\n\t\ta.path.localeCompare(b.path),\n\t);\n\tconst hash = createHash(\"sha256\");\n\thash.update(\"name:\");\n\thash.update(name, \"utf8\");\n\thash.update(\"\\0body:\");\n\thash.update(body, \"utf8\");\n\thash.update(\"\\0resources:\");\n\tfor (const resource of sortedResources) {\n\t\thash.update(`\\0${resource.name}\\0${resource.type}\\0`);\n\t\thash.update(hashSkillResourceFile(resource.path));\n\t}\n\thash.update(\"\\0resourceDirs:\");\n\tconst dirEntries: Array<[string, string | undefined, \"file\" | \"dir\"]> = [\n\t\t[\"assetsDir\", resourceDirs.assetsDir, \"dir\"],\n\t\t[\"mcpJsonPath\", resourceDirs.mcpJsonPath, \"file\"],\n\t\t[\"referenceDir\", resourceDirs.referenceDir, \"dir\"],\n\t\t[\"referencesDir\", resourceDirs.referencesDir, \"dir\"],\n\t\t[\"scriptsDir\", resourceDirs.scriptsDir, \"dir\"],\n\t\t[\"toolboxDir\", resourceDirs.toolboxDir, \"dir\"],\n\t];\n\tfor (const [label, path, kind] of dirEntries) {\n\t\tif (!path) {\n\t\t\tcontinue;\n\t\t}\n\t\thash.update(`\\0${label}\\0`);\n\t\tif (kind === \"file\") {\n\t\t\thash.update(hashSkillResourceFile(path));\n\t\t} else {\n\t\t\thashSkillDirectoryInto(hash, path, path);\n\t\t}\n\t}\n\treturn hash.digest(\"hex\");\n}\n\n/**\n * Resource directories per Agent Skills spec.\n */\nexport interface SkillResourceDirs {\n\t/** Path to scripts directory if it exists */\n\tscriptsDir?: string;\n\t/** Path to Sourcegraph/Amp-style singular reference directory if it exists */\n\treferenceDir?: string;\n\t/** Path to legacy/plural references directory if it exists */\n\treferencesDir?: string;\n\t/** Path to assets directory if it exists */\n\tassetsDir?: string;\n\t/** Path to toolbox executable directory if it exists */\n\ttoolboxDir?: string;\n\t/** Path to bundled MCP config if it exists */\n\tmcpJsonPath?: string;\n}\n\n/**\n * A bundled resource file within a skill.\n */\nexport interface SkillResource {\n\t/** Resource file name */\n\tname: string;\n\t/** Full path to the resource */\n\tpath: string;\n\t/** Resource type based on extension */\n\ttype: \"script\" | \"template\" | \"reference\" | \"other\";\n}\n\n/**\n * Skill loading error.\n */\nexport class SkillLoadError extends Error {\n\tconstructor(\n\t\tmessage: string,\n\t\tpublic readonly path: string,\n\t\tpublic readonly code:\n\t\t\t| \"MISSING_FRONTMATTER\"\n\t\t\t| \"INVALID_YAML\"\n\t\t\t| \"INVALID_NAME\"\n\t\t\t| \"INVALID_DESCRIPTION\"\n\t\t\t| \"INVALID_COMPATIBILITY\"\n\t\t\t| \"INVALID_TOOL_LIST\"\n\t\t\t| \"UNEXPECTED_FIELDS\"\n\t\t\t| \"NAME_MISMATCH\"\n\t\t\t| \"READ_ERROR\",\n\t) {\n\t\tsuper(message);\n\t\tthis.name = \"SkillLoadError\";\n\t}\n}\n\nfunction stringValue(value: unknown): string | undefined {\n\treturn typeof value === \"string\" ? value : undefined;\n}\n\nexport function stringArrayValue(value: unknown): string[] | undefined {\n\tif (Array.isArray(value)) {\n\t\tif (\n\t\t\tvalue.length === 0 ||\n\t\t\tvalue.some((entry) => typeof entry !== \"string\" || entry.trim() === \"\")\n\t\t) {\n\t\t\treturn undefined;\n\t\t}\n\t\tconst values = value\n\t\t\t.map((entry) => entry.trim())\n\t\t\t.filter((entry) => entry.length > 0);\n\t\treturn values.length > 0 ? values : undefined;\n\t}\n\tif (typeof value === \"string\") {\n\t\tconst values = value\n\t\t\t.split(/[,\\s]+/)\n\t\t\t.map((entry) => entry.trim())\n\t\t\t.filter((entry) => entry.length > 0);\n\t\treturn values.length > 0 ? values : undefined;\n\t}\n\treturn undefined;\n}\n\nfunction validateStringArrayField(\n\tvalue: unknown,\n\tfield: string,\n): string | null {\n\tif (value === undefined) {\n\t\treturn null;\n\t}\n\tif (typeof value === \"string\") {\n\t\treturn stringArrayValue(value)\n\t\t\t? null\n\t\t\t: `${field} must be a non-empty string or list of non-empty strings`;\n\t}\n\tif (Array.isArray(value)) {\n\t\treturn stringArrayValue(value)\n\t\t\t? null\n\t\t\t: `${field} entries must all be non-empty strings`;\n\t}\n\treturn `${field} must be a non-empty string or list of non-empty strings`;\n}\n\nfunction booleanValue(value: unknown): boolean | undefined {\n\tif (typeof value === \"boolean\") return value;\n\tif (typeof value === \"string\") {\n\t\tconst normalized = value.toLowerCase();\n\t\tif (normalized === \"true\") return true;\n\t\tif (normalized === \"false\") return false;\n\t}\n\treturn undefined;\n}\n\nfunction metadataRecordValue(\n\tvalue: unknown,\n): Record<string, string> | undefined {\n\tif (!value || typeof value !== \"object\" || Array.isArray(value)) {\n\t\treturn undefined;\n\t}\n\n\tconst metadata: Record<string, string> = {};\n\tfor (const [key, entry] of Object.entries(value)) {\n\t\tif (\n\t\t\ttypeof entry !== \"string\" &&\n\t\t\ttypeof entry !== \"number\" &&\n\t\t\ttypeof entry !== \"boolean\"\n\t\t) {\n\t\t\tcontinue;\n\t\t}\n\t\tconst normalized = String(entry).trim();\n\t\tif (normalized.length > 0) {\n\t\t\tmetadata[key] = normalized;\n\t\t}\n\t}\n\treturn Object.keys(metadata).length > 0 ? metadata : undefined;\n}\n\n/**\n * Validate skill name per Agent Skills spec.\n */\nfunction validateName(name: string, dirName: string): string | null {\n\tif (!name || typeof name !== \"string\") {\n\t\treturn \"Name must be a non-empty string\";\n\t}\n\n\tif (name.length > MAX_NAME_LENGTH) {\n\t\treturn `Name exceeds ${MAX_NAME_LENGTH} characters (got ${name.length})`;\n\t}\n\n\tif (name !== name.toLowerCase()) {\n\t\treturn \"Name must be lowercase\";\n\t}\n\n\tif (name.startsWith(\"-\") || name.endsWith(\"-\")) {\n\t\treturn \"Name cannot start or end with a hyphen\";\n\t}\n\n\tif (name.includes(\"--\")) {\n\t\treturn \"Name cannot contain consecutive hyphens\";\n\t}\n\n\tif (!/^[a-z0-9-]+$/.test(name)) {\n\t\treturn \"Name can only contain lowercase letters, numbers, and hyphens\";\n\t}\n\n\t// Directory name must match skill name (skip for 'skills' root dir)\n\tif (dirName !== \"skills\" && dirName !== name) {\n\t\treturn `Directory name '${dirName}' must match skill name '${name}'`;\n\t}\n\n\treturn null;\n}\n\n/**\n * Validate description per Agent Skills spec.\n */\nfunction validateDescription(description: string): string | null {\n\tif (!description || typeof description !== \"string\") {\n\t\treturn \"Description must be a non-empty string\";\n\t}\n\n\tif (description.length > MAX_DESCRIPTION_LENGTH) {\n\t\treturn `Description exceeds ${MAX_DESCRIPTION_LENGTH} characters (got ${description.length})`;\n\t}\n\n\treturn null;\n}\n\n/**\n * Validate compatibility per Agent Skills spec.\n */\nfunction validateCompatibility(compatibility: unknown): string | null {\n\tif (typeof compatibility !== \"string\") {\n\t\treturn \"Compatibility must be a string\";\n\t}\n\n\tif (compatibility.length > MAX_COMPATIBILITY_LENGTH) {\n\t\treturn `Compatibility exceeds ${MAX_COMPATIBILITY_LENGTH} characters (got ${compatibility.length})`;\n\t}\n\n\treturn null;\n}\n\n/**\n * Check for unexpected fields in frontmatter.\n */\nfunction validateFields(frontmatter: Record<string, unknown>): string[] {\n\tconst unexpected: string[] = [];\n\n\tfor (const key of Object.keys(frontmatter)) {\n\t\tif (!ALLOWED_FIELDS.has(key)) {\n\t\t\tunexpected.push(key);\n\t\t}\n\t}\n\n\treturn unexpected;\n}\n\n/**\n * Find SKILL.md file (case-insensitive per spec).\n */\nexport function findSkillMd(dir: string): string | null {\n\t// Prefer uppercase\n\tconst uppercase = join(dir, \"SKILL.md\");\n\tif (existsSync(uppercase)) {\n\t\treturn uppercase;\n\t}\n\n\t// Fall back to lowercase\n\tconst lowercase = join(dir, \"skill.md\");\n\tif (existsSync(lowercase)) {\n\t\treturn lowercase;\n\t}\n\n\treturn null;\n}\n\n/**\n * Parse YAML frontmatter from markdown content.\n */\nexport function parseFrontmatter(content: string): {\n\tfrontmatter: Record<string, unknown>;\n\tbody: string;\n} {\n\tif (!content.trimStart().startsWith(\"---\")) {\n\t\tthrow new Error(\"Missing frontmatter delimiters\");\n\t}\n\n\tconst frontmatterRegex = /^---\\s*\\n([\\s\\S]*?)\\n---\\s*\\n([\\s\\S]*)$/;\n\tconst match = content.match(frontmatterRegex);\n\n\tif (!match) {\n\t\tthrow new Error(\"Frontmatter not properly closed\");\n\t}\n\n\tconst [, yamlContent, body] = match;\n\tconst parsed = loadYaml(yamlContent ?? \"\") ?? {};\n\tif (typeof parsed !== \"object\" || Array.isArray(parsed)) {\n\t\tthrow new Error(\"Frontmatter must be a YAML object\");\n\t}\n\tconst frontmatter = parsed as Record<string, unknown>;\n\n\treturn { frontmatter, body: body! };\n}\n\n/**\n * Determine resource type from file extension.\n */\nfunction getResourceType(\n\tfilename: string,\n): \"script\" | \"template\" | \"reference\" | \"other\" {\n\tconst ext = filename.split(\".\").pop()?.toLowerCase() ?? \"\";\n\n\tconst scriptExtensions = [\"sh\", \"bash\", \"py\", \"js\", \"ts\", \"rb\", \"pl\"];\n\tconst templateExtensions = [\"hbs\", \"ejs\", \"mustache\", \"j2\", \"jinja\", \"tmpl\"];\n\tconst referenceExtensions = [\"md\", \"txt\", \"json\", \"yaml\", \"yml\", \"toml\"];\n\n\tif (scriptExtensions.includes(ext)) return \"script\";\n\tif (templateExtensions.includes(ext)) return \"template\";\n\tif (referenceExtensions.includes(ext)) return \"reference\";\n\treturn \"other\";\n}\n\n/**\n * Load a single skill from a directory.\n */\nfunction loadSkillFromDirectory(\n\tskillDir: string,\n\tsourceType: \"user\" | \"project\" | \"system\",\n): LoadedSkill | SkillLoadError {\n\tconst skillFile = findSkillMd(skillDir);\n\tconst dirName = basename(skillDir);\n\n\tif (!skillFile) {\n\t\treturn new SkillLoadError(\n\t\t\t`No SKILL.md found in ${skillDir}`,\n\t\t\tskillDir,\n\t\t\t\"READ_ERROR\",\n\t\t);\n\t}\n\n\ttry {\n\t\tconst rawContent = readFileSync(skillFile, \"utf-8\");\n\t\tlet frontmatter: Record<string, unknown>;\n\t\tlet body: string;\n\n\t\ttry {\n\t\t\t({ frontmatter, body } = parseFrontmatter(rawContent));\n\t\t} catch (err) {\n\t\t\treturn new SkillLoadError(\n\t\t\t\t`Invalid frontmatter: ${err instanceof Error ? err.message : String(err)}`,\n\t\t\t\tskillFile,\n\t\t\t\t\"INVALID_YAML\",\n\t\t\t);\n\t\t}\n\n\t\t// Check for unexpected fields (per Agent Skills spec)\n\t\tconst unexpectedFields = validateFields(frontmatter);\n\t\tif (unexpectedFields.length > 0) {\n\t\t\treturn new SkillLoadError(\n\t\t\t\t`Unexpected fields: ${unexpectedFields.join(\", \")}. Only ${Array.from(ALLOWED_FIELDS).join(\", \")} are allowed.`,\n\t\t\t\tskillFile,\n\t\t\t\t\"UNEXPECTED_FIELDS\",\n\t\t\t);\n\t\t}\n\n\t\t// Validate name\n\t\tconst name = frontmatter.name as string;\n\t\tconst nameError = validateName(name, dirName);\n\t\tif (nameError) {\n\t\t\treturn new SkillLoadError(nameError, skillFile, \"INVALID_NAME\");\n\t\t}\n\n\t\t// Validate description\n\t\tconst description = frontmatter.description as string;\n\t\tconst descError = validateDescription(description);\n\t\tif (descError) {\n\t\t\treturn new SkillLoadError(descError, skillFile, \"INVALID_DESCRIPTION\");\n\t\t}\n\n\t\t// Validate compatibility if present\n\t\tif (frontmatter.compatibility !== undefined) {\n\t\t\tconst compatError = validateCompatibility(frontmatter.compatibility);\n\t\t\tif (compatError) {\n\t\t\t\treturn new SkillLoadError(\n\t\t\t\t\tcompatError,\n\t\t\t\t\tskillFile,\n\t\t\t\t\t\"INVALID_COMPATIBILITY\",\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\n\t\tfor (const field of [\"allowed-tools\", \"builtin-tools\"]) {\n\t\t\tconst toolListError = validateStringArrayField(frontmatter[field], field);\n\t\t\tif (toolListError) {\n\t\t\t\treturn new SkillLoadError(\n\t\t\t\t\ttoolListError,\n\t\t\t\t\tskillFile,\n\t\t\t\t\t\"INVALID_TOOL_LIST\",\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\n\t\t// Discover resource directories\n\t\tconst resourceDirs: SkillResourceDirs = {};\n\t\tconst scriptsDir = join(skillDir, \"scripts\");\n\t\tconst referenceDir = join(skillDir, \"reference\");\n\t\tconst referencesDir = join(skillDir, \"references\");\n\t\tconst assetsDir = join(skillDir, \"assets\");\n\t\tconst toolboxDir = join(skillDir, \"toolbox\");\n\t\tconst mcpJsonPath = join(skillDir, \"mcp.json\");\n\n\t\tif (existsSync(scriptsDir) && statSync(scriptsDir).isDirectory()) {\n\t\t\tresourceDirs.scriptsDir = scriptsDir;\n\t\t}\n\t\tif (existsSync(referenceDir) && statSync(referenceDir).isDirectory()) {\n\t\t\tresourceDirs.referenceDir = referenceDir;\n\t\t}\n\t\tif (existsSync(referencesDir) && statSync(referencesDir).isDirectory()) {\n\t\t\tresourceDirs.referencesDir = referencesDir;\n\t\t}\n\t\tif (existsSync(assetsDir) && statSync(assetsDir).isDirectory()) {\n\t\t\tresourceDirs.assetsDir = assetsDir;\n\t\t}\n\t\tif (existsSync(toolboxDir) && statSync(toolboxDir).isDirectory()) {\n\t\t\tresourceDirs.toolboxDir = toolboxDir;\n\t\t}\n\t\tif (existsSync(mcpJsonPath) && statSync(mcpJsonPath).isFile()) {\n\t\t\tresourceDirs.mcpJsonPath = mcpJsonPath;\n\t\t}\n\n\t\t// Discover bundled resources (legacy flat structure)\n\t\tconst resources: SkillResource[] = [];\n\t\ttry {\n\t\t\tconst files = readdirSync(skillDir);\n\t\t\tfor (const file of files) {\n\t\t\t\tif (file.toLowerCase() === \"skill.md\") continue;\n\t\t\t\tif (LEGACY_FLAT_RESOURCE_EXCLUDES.has(file.toLowerCase())) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tconst filePath = join(skillDir, file);\n\t\t\t\tconst stat = statSync(filePath);\n\t\t\t\tif (stat.isFile()) {\n\t\t\t\t\tresources.push({\n\t\t\t\t\t\tname: file,\n\t\t\t\t\t\tpath: filePath,\n\t\t\t\t\t\ttype: getResourceType(file),\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (err) {\n\t\t\tlogger.debug(\"Error scanning skill resources\", {\n\t\t\t\tskillDir,\n\t\t\t\terror: err instanceof Error ? err.message : String(err),\n\t\t\t});\n\t\t}\n\n\t\tconst skill: LoadedSkill = {\n\t\t\tname,\n\t\t\tdescription,\n\t\t\tlicense: stringValue(frontmatter.license),\n\t\t\tcompatibility: stringValue(frontmatter.compatibility),\n\t\t\tallowedTools: stringArrayValue(frontmatter[\"allowed-tools\"]),\n\t\t\tbuiltinTools: stringArrayValue(frontmatter[\"builtin-tools\"]),\n\t\t\targumentHint: stringValue(frontmatter[\"argument-hint\"]),\n\t\t\tmodel: stringValue(frontmatter.model),\n\t\t\tmode: stringValue(frontmatter.mode),\n\t\t\tisolatedContext: booleanValue(frontmatter.isolatedContext),\n\t\t\tmetadata: metadataRecordValue(frontmatter.metadata),\n\t\t\t// Legacy fields for backwards compatibility\n\t\t\ttags: Array.isArray(frontmatter.tags)\n\t\t\t\t? (frontmatter.tags as string[])\n\t\t\t\t: undefined,\n\t\t\tauthor:\n\t\t\t\ttypeof frontmatter.author === \"string\" ? frontmatter.author : undefined,\n\t\t\tversion:\n\t\t\t\ttypeof frontmatter.version === \"string\"\n\t\t\t\t\t? frontmatter.version\n\t\t\t\t\t: undefined,\n\t\t\ttriggers: Array.isArray(frontmatter.triggers)\n\t\t\t\t? (frontmatter.triggers as string[])\n\t\t\t\t: undefined,\n\t\t\tsourcePath: skillDir,\n\t\t\tsourceType,\n\t\t\tcontent: body.trim(),\n\t\t\tcontentSha: computeSkillTrustSha(\n\t\t\t\tname,\n\t\t\t\tbody.trim(),\n\t\t\t\tresources,\n\t\t\t\tresourceDirs,\n\t\t\t),\n\t\t\tresources,\n\t\t\tresourceDirs,\n\t\t};\n\n\t\tlogger.debug(\"Loaded skill\", {\n\t\t\tname: skill.name,\n\t\t\tsourceType,\n\t\t\tresourceCount: resources.length,\n\t\t});\n\n\t\treturn skill;\n\t} catch (err) {\n\t\treturn new SkillLoadError(\n\t\t\t`Error loading skill: ${err instanceof Error ? err.message : String(err)}`,\n\t\t\tskillDir,\n\t\t\t\"READ_ERROR\",\n\t\t);\n\t}\n}\n\n/**\n * Scan a directory for skill subdirectories.\n */\nfunction scanSkillsDirectory(\n\tdir: string,\n\tsourceType: \"user\" | \"project\" | \"system\",\n): { skills: LoadedSkill[]; errors: SkillLoadError[] } {\n\tif (!existsSync(dir)) {\n\t\treturn { skills: [], errors: [] };\n\t}\n\n\tconst skills: LoadedSkill[] = [];\n\tconst errors: SkillLoadError[] = [];\n\n\ttry {\n\t\t// Check for SKILL.md in root (single skill in skills dir)\n\t\tconst rootSkillFile = findSkillMd(dir);\n\t\tif (rootSkillFile) {\n\t\t\tconst result = loadSkillFromDirectory(dir, sourceType);\n\t\t\tif (result instanceof SkillLoadError) {\n\t\t\t\terrors.push(result);\n\t\t\t} else {\n\t\t\t\tskills.push(result);\n\t\t\t}\n\t\t}\n\n\t\t// Check subdirectories\n\t\tconst entries = readdirSync(dir);\n\t\tfor (const entry of entries) {\n\t\t\tconst entryPath = join(dir, entry);\n\t\t\tconst stat = statSync(entryPath);\n\n\t\t\tif (stat.isDirectory()) {\n\t\t\t\tconst result = loadSkillFromDirectory(entryPath, sourceType);\n\t\t\t\tif (result instanceof SkillLoadError) {\n\t\t\t\t\terrors.push(result);\n\t\t\t\t} else {\n\t\t\t\t\tskills.push(result);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t} catch (err) {\n\t\tlogger.warn(\"Error scanning skills directory\", {\n\t\t\tdir,\n\t\t\terror: err instanceof Error ? err.message : String(err),\n\t\t});\n\t}\n\n\treturn { skills, errors };\n}\n\n/**\n * Get the system skills directory bundled with the package.\n *\n * Resolves the `skills/` directory relative to the package root,\n * which works whether running from source (repo) or installed via npm.\n */\nfunction getSystemSkillsDir(): string {\n\t// Allow explicit override for non-standard packaging layouts\n\tconst override = process.env.MAESTRO_SYSTEM_SKILLS_DIR;\n\tif (override && existsSync(override)) {\n\t\treturn override;\n\t}\n\n\t// import.meta.url points to this file — either src/skills/loader.ts (dev)\n\t// or dist/cli.js (bundled). Walk up to find the package root by looking\n\t// for a directory that contains both package.json and skills/.\n\tconst thisFile = fileURLToPath(import.meta.url);\n\tlet dir = dirname(thisFile);\n\tfor (let i = 0; i < 5; i++) {\n\t\tconst skillsDir = join(dir, \"skills\");\n\t\tif (existsSync(join(dir, \"package.json\")) && existsSync(skillsDir)) {\n\t\t\treturn skillsDir;\n\t\t}\n\t\tconst parent = dirname(dir);\n\t\tif (parent === dir) break;\n\t\tdir = parent;\n\t}\n\t// Fallback: assume 3 levels up (src/skills/loader.ts layout)\n\tconst packageRoot = dirname(dirname(dirname(thisFile)));\n\treturn join(packageRoot, \"skills\");\n}\n\n/**\n * Load all available skills from system, user, and project directories.\n *\n * Priority (highest wins): project > user > system.\n * System skills are bundled with the package and provide default capabilities.\n *\n * @param workspaceDir - The current workspace/project directory\n * @returns Object with loaded skills and any errors\n */\nexport function loadSkills(\n\tworkspaceDir: string,\n\toptions?: {\n\t\tincludeSystem?: boolean;\n\t\tprofileName?: string;\n\t\tcliOverrides?: Partial<ComposerConfig>;\n\t},\n): {\n\tskills: LoadedSkill[];\n\terrors: SkillLoadError[];\n} {\n\tconst includeSystem = options?.includeSystem ?? true;\n\tconst systemSkillsDir = includeSystem ? getSystemSkillsDir() : null;\n\tconst userSkillsDir = join(PATHS.MAESTRO_HOME, \"skills\");\n\tconst projectSkillsDir = join(workspaceDir, \".maestro\", \"skills\");\n\tconst packageResources = loadConfiguredPackageResources(workspaceDir, {\n\t\tprofileName: options?.profileName,\n\t\tcliOverrides: options?.cliOverrides,\n\t});\n\tconst userPackageSkillDirs = packageResources.skills.user;\n\tconst projectPackageSkillDirs = packageResources.skills.project;\n\n\tlogger.debug(\"Scanning for skills\", {\n\t\tsystemSkillsDir: systemSkillsDir ?? \"(disabled)\",\n\t\tuserSkillsDir,\n\t\tprojectSkillsDir,\n\t\tuserPackageSkillDirs,\n\t\tprojectPackageSkillDirs,\n\t});\n\n\tconst systemResult = systemSkillsDir\n\t\t? scanSkillsDirectory(systemSkillsDir, \"system\")\n\t\t: { skills: [], errors: [] };\n\tconst userResult = [...userPackageSkillDirs, userSkillsDir].reduce(\n\t\t(result, dir) => {\n\t\t\tconst next = scanSkillsDirectory(dir, \"user\");\n\t\t\tresult.skills.push(...next.skills);\n\t\t\tresult.errors.push(...next.errors);\n\t\t\treturn result;\n\t\t},\n\t\t{ skills: [] as LoadedSkill[], errors: [] as SkillLoadError[] },\n\t);\n\tconst projectResult = [...projectPackageSkillDirs, projectSkillsDir].reduce(\n\t\t(result, dir) => {\n\t\t\tconst next = scanSkillsDirectory(dir, \"project\");\n\t\t\tresult.skills.push(...next.skills);\n\t\t\tresult.errors.push(...next.errors);\n\t\t\treturn result;\n\t\t},\n\t\t{ skills: [] as LoadedSkill[], errors: [] as SkillLoadError[] },\n\t);\n\n\t// Priority: project > user > system (last writer wins)\n\tconst skillMap = new Map<string, LoadedSkill>();\n\n\tfor (const skill of systemResult.skills) {\n\t\tskillMap.set(skill.name.toLowerCase(), skill);\n\t}\n\n\tfor (const skill of userResult.skills) {\n\t\tconst existing = skillMap.get(skill.name.toLowerCase());\n\t\tif (existing) {\n\t\t\tlogger.debug(\"User skill overrides system skill\", {\n\t\t\t\tname: skill.name,\n\t\t\t});\n\t\t}\n\t\tskillMap.set(skill.name.toLowerCase(), skill);\n\t}\n\n\tfor (const skill of projectResult.skills) {\n\t\tconst existing = skillMap.get(skill.name.toLowerCase());\n\t\tif (existing) {\n\t\t\tlogger.debug(\"Project skill overrides existing skill\", {\n\t\t\t\tname: skill.name,\n\t\t\t\toverridden: existing.sourceType,\n\t\t\t});\n\t\t}\n\t\tskillMap.set(skill.name.toLowerCase(), skill);\n\t}\n\n\tconst allSkills = Array.from(skillMap.values());\n\tconst allErrors = [\n\t\t...systemResult.errors,\n\t\t...userResult.errors,\n\t\t...projectResult.errors,\n\t];\n\n\tlogger.info(\"Finished loading skills\", {\n\t\ttotal: allSkills.length,\n\t\terrors: allErrors.length,\n\t\tsystem: systemResult.skills.length,\n\t\tuser: userResult.skills.length,\n\t\tproject: projectResult.skills.length,\n\t\tuserPackages: userPackageSkillDirs.length,\n\t\tprojectPackages: projectPackageSkillDirs.length,\n\t});\n\n\treturn { skills: allSkills, errors: allErrors };\n}\n\n/**\n * Find a skill by name (case-insensitive).\n */\nexport function findSkill(\n\tskills: LoadedSkill[],\n\tname: string,\n): LoadedSkill | undefined {\n\tconst normalizedName = name.toLowerCase();\n\treturn skills.find((s) => s.name.toLowerCase() === normalizedName);\n}\n\n/**\n * Find skills that match a given query (checks name, description, tags, triggers).\n */\nexport function searchSkills(\n\tskills: LoadedSkill[],\n\tquery: string,\n): LoadedSkill[] {\n\tconst normalizedQuery = query.toLowerCase();\n\n\treturn skills.filter((skill) => {\n\t\t// Check name\n\t\tif (skill.name.toLowerCase().includes(normalizedQuery)) return true;\n\n\t\t// Check description\n\t\tif (skill.description.toLowerCase().includes(normalizedQuery)) return true;\n\n\t\t// Check tags\n\t\tif (skill.tags?.some((t) => t.toLowerCase().includes(normalizedQuery))) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Check triggers\n\t\tif (\n\t\t\tskill.triggers?.some((t) => t.toLowerCase().includes(normalizedQuery))\n\t\t) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t});\n}\n\n/**\n * Convert skill to dictionary (per Agent Skills SDK).\n * Excludes undefined values.\n */\nexport function skillToDict(\n\tskill: LoadedSkill,\n): Record<string, string | string[] | boolean | Record<string, string>> {\n\tconst result: Record<\n\t\tstring,\n\t\tstring | string[] | boolean | Record<string, string>\n\t> = {\n\t\tname: skill.name,\n\t\tdescription: skill.description,\n\t};\n\n\tif (skill.license) {\n\t\tresult.license = skill.license;\n\t}\n\n\tif (skill.compatibility) {\n\t\tresult.compatibility = skill.compatibility;\n\t}\n\n\tif (skill.allowedTools) {\n\t\tresult[\"allowed-tools\"] = skill.allowedTools;\n\t}\n\tif (skill.builtinTools) {\n\t\tresult[\"builtin-tools\"] = skill.builtinTools;\n\t}\n\tif (skill.argumentHint) {\n\t\tresult[\"argument-hint\"] = skill.argumentHint;\n\t}\n\tif (skill.model) {\n\t\tresult.model = skill.model;\n\t}\n\tif (skill.mode) {\n\t\tresult.mode = skill.mode;\n\t}\n\tif (skill.isolatedContext !== undefined) {\n\t\tresult.isolatedContext = skill.isolatedContext;\n\t}\n\n\tif (skill.metadata && Object.keys(skill.metadata).length > 0) {\n\t\tresult.metadata = skill.metadata;\n\t}\n\n\treturn result;\n}\n\n/**\n * Convert skill to JSON string.\n */\nexport function skillToJson(skill: LoadedSkill): string {\n\treturn JSON.stringify(skillToDict(skill), null, 2);\n}\n\n/**\n * Escape XML special characters.\n */\nfunction escapeXml(str: string): string {\n\treturn str\n\t\t.replace(/&/g, \"&\")\n\t\t.replace(/</g, \"<\")\n\t\t.replace(/>/g, \">\")\n\t\t.replace(/\"/g, \""\")\n\t\t.replace(/'/g, \"'\");\n}\n\n/**\n * Generate XML prompt block for available skills (per Agent Skills SDK).\n *\n * This generates the <available_skills> XML block that should be included\n * in system prompts to make skills discoverable by the agent.\n */\nexport function skillsToPrompt(skills: LoadedSkill[]): string {\n\tif (skills.length === 0) {\n\t\treturn \"<available_skills>\\n</available_skills>\";\n\t}\n\n\tconst lines: string[] = [\"<available_skills>\"];\n\n\tfor (const skill of skills) {\n\t\tconst description = promptSafeText(\n\t\t\tskill.description,\n\t\t\tMAX_DESCRIPTION_LENGTH,\n\t\t);\n\t\tlines.push(\"<skill>\");\n\t\tlines.push(` <name>${escapeXml(skill.name)}</name>`);\n\t\tlines.push(` <description>${escapeXml(description ?? \"\")}</description>`);\n\t\tlines.push(\n\t\t\t` <location>${escapeXml(join(skill.sourcePath, \"SKILL.md\"))}</location>`,\n\t\t);\n\t\tlines.push(\"</skill>\");\n\t}\n\n\tlines.push(\"</available_skills>\");\n\n\treturn lines.join(\"\\n\");\n}\n\n/**\n * Format skill for display in a list.\n */\nexport function formatSkillListItem(skill: LoadedSkill): string {\n\tconst sourceLabels: Record<LoadedSkill[\"sourceType\"], string> = {\n\t\tservice: \"(service)\",\n\t\tsystem: \"(system)\",\n\t\tuser: \"(user)\",\n\t\tproject: \"(project)\",\n\t};\n\tconst source = sourceLabels[skill.sourceType];\n\tconst tags = skill.tags?.length ? ` [${skill.tags.join(\", \")}]` : \"\";\n\treturn `${skill.name} ${source}${tags} - ${skill.description}`;\n}\n\n/**\n * Format skill content for injection into conversation.\n */\nexport function formatSkillForInjection(skill: LoadedSkill): string {\n\tconst lines: string[] = [];\n\n\tlines.push(`# Skill: ${skill.name}`);\n\tlines.push(\"\");\n\tlines.push(`> ${skill.description}`);\n\tlines.push(\"\");\n\t// Provenance line: lets the model and any human reading the transcript\n\t// correlate this skill activation to a specific prompt body. `source`\n\t// distinguishes built-in / project / user / service. `contentSha` is\n\t// stable per body (see #2629 — trust UX keys on this).\n\tlines.push(`<!-- source=${skill.sourceType} sha=${skill.contentSha} -->`);\n\tlines.push(\"\");\n\n\tif (skill.tags?.length) {\n\t\tlines.push(`**Tags:** ${skill.tags.join(\", \")}`);\n\t\tlines.push(\"\");\n\t}\n\n\tif (skill.resources.length > 0) {\n\t\tlines.push(\"## Bundled Resources\");\n\t\tlines.push(\"\");\n\t\tlines.push(\"You can access these bundled resources using the Read tool:\");\n\t\tlines.push(\"\");\n\t\tfor (const resource of skill.resources) {\n\t\t\tlines.push(`- \\`${resource.path}\\` (${resource.type})`);\n\t\t}\n\t\tlines.push(\"\");\n\t}\n\tif (skill.resourceDirs.referenceDir || skill.resourceDirs.referencesDir) {\n\t\tlines.push(\"## Reference Resources\");\n\t\tlines.push(\"\");\n\t\tlines.push(\"Load detailed references only when needed:\");\n\t\tif (skill.resourceDirs.referenceDir) {\n\t\t\tlines.push(`- \\`${skill.resourceDirs.referenceDir}\\``);\n\t\t}\n\t\tif (skill.resourceDirs.referencesDir) {\n\t\t\tlines.push(`- \\`${skill.resourceDirs.referencesDir}\\``);\n\t\t}\n\t\tlines.push(\"\");\n\t}\n\tif (skill.resourceDirs.toolboxDir || skill.resourceDirs.mcpJsonPath) {\n\t\tlines.push(\"## Tool Package\");\n\t\tlines.push(\"\");\n\t\tif (skill.resourceDirs.toolboxDir) {\n\t\t\tlines.push(\n\t\t\t\t`- Toolbox executables are bundled under \\`${skill.resourceDirs.toolboxDir}\\`.`,\n\t\t\t);\n\t\t}\n\t\tif (skill.resourceDirs.mcpJsonPath) {\n\t\t\tlines.push(\n\t\t\t\t`- Bundled MCP config: \\`${skill.resourceDirs.mcpJsonPath}\\`.`,\n\t\t\t);\n\t\t}\n\t\tlines.push(\"\");\n\t}\n\n\tlines.push(\"## Instructions\");\n\tlines.push(\"\");\n\tlines.push(skill.content);\n\n\treturn lines.join(\"\\n\");\n}\n\n/**\n * Get skill summary for system prompt (lists available skills).\n * @deprecated Use skillsToPrompt for XML format per Agent Skills SDK\n */\nexport function getSkillsSummary(skills: LoadedSkill[]): string {\n\tif (skills.length === 0) {\n\t\treturn \"\";\n\t}\n\n\tconst lines: string[] = [];\n\tlines.push(\"## Available Skills\");\n\tlines.push(\"\");\n\tlines.push(\n\t\t\"When you recognize that a task matches one of the available skills listed below, \" +\n\t\t\t\"use the Skill tool to load the full skill instructions.\",\n\t);\n\tlines.push(\"\");\n\n\tfor (const skill of skills) {\n\t\tconst tags = skill.tags?.length ? ` [${skill.tags.join(\", \")}]` : \"\";\n\t\tconst description =\n\t\t\tpromptSafeText(skill.description, MAX_DESCRIPTION_LENGTH) ?? \"\";\n\t\tlines.push(`- **${skill.name}**${tags}: ${description}`);\n\t\tif (skill.triggers?.length) {\n\t\t\tlines.push(` - Triggers: ${skill.triggers.join(\", \")}`);\n\t\t}\n\t}\n\n\tlines.push(\"\");\n\n\treturn lines.join(\"\\n\");\n}\n\n/**\n * Progressive Skill Disclosure (#857)\n *\n * Format skill metadata only (name + description) for system prompt injection.\n * The agent can then use the `read` tool to load full SKILL.md content on-demand.\n *\n * Benefits:\n * - Context efficiency: ~10 tokens per skill vs ~500+ for full content\n * - Scalability: 20 skills use ~200 tokens instead of ~10,000\n * - Self-directed: Agent loads what it needs when it needs it\n */\n\n/**\n * Format a single skill's metadata for system prompt (XML format).\n *\n * Returns only name and description in a self-closing XML tag.\n * Follows the Agent Skills specification's progressive disclosure pattern.\n *\n * @param skill - The loaded skill\n * @returns XML-formatted skill metadata\n *\n * @example\n * ```xml\n * <skill name=\"test-runner\" description=\"Run and debug test suites\" />\n * <!-- source: ~/.maestro/skills/test-runner -->\n * ```\n */\nexport function formatSkillMetadataOnly(skill: LoadedSkill): string {\n\t// Escape XML special characters\n\tconst escapeName = skill.name\n\t\t.replace(/&/g, \"&\")\n\t\t.replace(/</g, \"<\")\n\t\t.replace(/>/g, \">\")\n\t\t.replace(/\"/g, \""\");\n\n\tconst description = promptSafeText(skill.description, MAX_DESCRIPTION_LENGTH);\n\tconst escapeDesc = (description ?? \"\")\n\t\t.replace(/&/g, \"&\")\n\t\t.replace(/</g, \"<\")\n\t\t.replace(/>/g, \">\")\n\t\t.replace(/\"/g, \""\");\n\n\t// Include source path as XML comment for debugging\n\treturn `<skill name=\"${escapeName}\" description=\"${escapeDesc}\" />\\n<!-- source: ${skill.sourcePath} -->`;\n}\n\n/**\n * Format multiple skills for system prompt with on-demand loading instructions.\n *\n * Returns XML list of skill metadata plus instructions for the agent to load\n * full skill content using the `read` tool when needed.\n *\n * This is the primary function for progressive skill disclosure.\n *\n * @param skills - Array of loaded skills\n * @returns XML-formatted skills list with loading instructions, or empty string if no skills\n *\n * @example\n * ```xml\n * <available_skills>\n * <skill name=\"test-runner\" description=\"...\" />\n * <skill name=\"git-workflow\" description=\"...\" />\n * </available_skills>\n *\n * When a skill is relevant to the user's request, use the `read` tool to load\n * the full skill instructions from the source path shown in the comment.\n * ```\n */\nexport function formatSkillsForSystemPrompt(skills: LoadedSkill[]): string {\n\tif (skills.length === 0) {\n\t\treturn \"\";\n\t}\n\n\tconst lines: string[] = [];\n\n\tlines.push(\"<available_skills>\");\n\tfor (const skill of skills) {\n\t\tlines.push(` ${formatSkillMetadataOnly(skill)}`);\n\t}\n\tlines.push(\"</available_skills>\");\n\tlines.push(\"\");\n\tlines.push(\n\t\t\"When a skill is relevant to the user's request, use the `read` tool to load \" +\n\t\t\t\"the full SKILL.md from the skill's source directory (shown in comments above). \" +\n\t\t\t\"For example: `read ~/.maestro/skills/test-runner/SKILL.md` or \" +\n\t\t\t\"`read .maestro/skills/custom-skill/SKILL.md`. \" +\n\t\t\t\"This progressive loading keeps the system prompt lean while making all skill \" +\n\t\t\t\"capabilities available on-demand.\",\n\t);\n\n\treturn lines.join(\"\\n\");\n}\n"]}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { PackageSource } from "../packages/types.js";
|
|
2
|
-
import { type SkillEvalReport } from "./eval-harness.js";
|
|
3
|
-
export declare const SKILL_PACKAGE_CONTRACT_SCHEMA = "evalops.maestro.skill-package-publish-contract.v1";
|
|
4
|
-
export { MAESTRO_PACKAGE_KEYWORD } from "../packages/constants.js";
|
|
5
|
-
export declare const MAESTRO_SKILL_PACKAGE_KEYWORD = "maestro-skill-package";
|
|
6
|
-
export interface SkillPackageContractIssue {
|
|
7
|
-
code: string;
|
|
8
|
-
message: string;
|
|
9
|
-
}
|
|
10
|
-
export interface SkillPackageInstallCommandSet {
|
|
11
|
-
source: string;
|
|
12
|
-
local?: string;
|
|
13
|
-
git?: string;
|
|
14
|
-
npm?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface SkillPackagePublishContract {
|
|
17
|
-
schemaVersion: typeof SKILL_PACKAGE_CONTRACT_SCHEMA;
|
|
18
|
-
sourceSpec: string;
|
|
19
|
-
resolvedSource: string;
|
|
20
|
-
resolvedPath: string;
|
|
21
|
-
package: {
|
|
22
|
-
name: string | null;
|
|
23
|
-
version: string | null;
|
|
24
|
-
keywords: string[];
|
|
25
|
-
};
|
|
26
|
-
resources: {
|
|
27
|
-
skills: string[];
|
|
28
|
-
prompts: string[];
|
|
29
|
-
extensions: string[];
|
|
30
|
-
themes: string[];
|
|
31
|
-
};
|
|
32
|
-
install: SkillPackageInstallCommandSet;
|
|
33
|
-
evalReport: SkillEvalReport | null;
|
|
34
|
-
issues: SkillPackageContractIssue[];
|
|
35
|
-
}
|
|
36
|
-
export interface BuildSkillPackagePublishContractOptions {
|
|
37
|
-
cwd?: string;
|
|
38
|
-
describeToolbox?: boolean;
|
|
39
|
-
platform?: NodeJS.Platform;
|
|
40
|
-
}
|
|
41
|
-
export declare function quoteSkillPackageInstallSourceArg(value: string, platform?: NodeJS.Platform): string;
|
|
42
|
-
export declare function formatSkillPackageInstallSource(source: PackageSource, cwd: string): string;
|
|
43
|
-
export declare function buildSkillPackagePublishContract(sourceSpec: string, options?: BuildSkillPackagePublishContractOptions): Promise<SkillPackagePublishContract>;
|
|
44
|
-
export declare function formatSkillPackagePublishContract(contract: SkillPackagePublishContract): string;
|
|
45
|
-
//# sourceMappingURL=package-contract.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package-contract.d.ts","sourceRoot":"","sources":["../../src/skills/package-contract.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAqB,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EACN,KAAK,eAAe,EAIpB,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,6BAA6B,sDACU,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,eAAO,MAAM,6BAA6B,0BAA0B,CAAC;AAErE,MAAM,WAAW,yBAAyB;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,6BAA6B;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,2BAA2B;IAC3C,aAAa,EAAE,OAAO,6BAA6B,CAAC;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE;QACR,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,QAAQ,EAAE,MAAM,EAAE,CAAC;KACnB,CAAC;IACF,SAAS,EAAE;QACV,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,UAAU,EAAE,MAAM,EAAE,CAAC;QACrB,MAAM,EAAE,MAAM,EAAE,CAAC;KACjB,CAAC;IACF,OAAO,EAAE,6BAA6B,CAAC;IACvC,UAAU,EAAE,eAAe,GAAG,IAAI,CAAC;IACnC,MAAM,EAAE,yBAAyB,EAAE,CAAC;CACpC;AAED,MAAM,WAAW,uCAAuC;IACvD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC;CAC3B;AA2BD,wBAAgB,iCAAiC,CAChD,KAAK,EAAE,MAAM,EACb,QAAQ,kBAAmB,GACzB,MAAM,CAQR;AAsBD,wBAAgB,+BAA+B,CAC9C,MAAM,EAAE,aAAa,EACrB,GAAG,EAAE,MAAM,GACT,MAAM,CAkBR;AAqCD,wBAAsB,gCAAgC,CACrD,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,uCAA4C,GACnD,OAAO,CAAC,2BAA2B,CAAC,CA+CtC;AAED,wBAAgB,iCAAiC,CAChD,QAAQ,EAAE,2BAA2B,GACnC,MAAM,CA6BR"}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import { isAbsolute, relative } from "node:path";
|
|
2
|
-
import { MISSING_MAESTRO_PACKAGE_KEYWORD_MESSAGE } from "../packages/constants.js";
|
|
3
|
-
import { collectPackageValidationIssues, inspectPackageSource, } from "../packages/inspection.js";
|
|
4
|
-
import { formatPackageSource } from "../packages/sources.js";
|
|
5
|
-
import { evaluateSkillPackages, formatSkillEvalText, hasSkillEvalFailures, } from "./eval-harness.js";
|
|
6
|
-
export const SKILL_PACKAGE_CONTRACT_SCHEMA = "evalops.maestro.skill-package-publish-contract.v1";
|
|
7
|
-
export { MAESTRO_PACKAGE_KEYWORD } from "../packages/constants.js";
|
|
8
|
-
export const MAESTRO_SKILL_PACKAGE_KEYWORD = "maestro-skill-package";
|
|
9
|
-
const WINDOWS_DRIVE_PATH_REGEX = /^[A-Za-z]:[\\/]/;
|
|
10
|
-
const SHELL_SAFE_INSTALL_SOURCE_REGEX = /^[A-Za-z0-9_@%+=:,./\\-]+$/;
|
|
11
|
-
function windowsDriveLetter(path) {
|
|
12
|
-
return WINDOWS_DRIVE_PATH_REGEX.test(path)
|
|
13
|
-
? path.slice(0, 1).toLowerCase()
|
|
14
|
-
: null;
|
|
15
|
-
}
|
|
16
|
-
function packageKeywords(discovered) {
|
|
17
|
-
return Array.isArray(discovered?.packageJson.keywords)
|
|
18
|
-
? discovered.packageJson.keywords
|
|
19
|
-
: [];
|
|
20
|
-
}
|
|
21
|
-
function issue(code, message) {
|
|
22
|
-
return { code, message };
|
|
23
|
-
}
|
|
24
|
-
function mapValidationIssue(message) {
|
|
25
|
-
return message === MISSING_MAESTRO_PACKAGE_KEYWORD_MESSAGE
|
|
26
|
-
? issue("missing_maestro_package_keyword", message)
|
|
27
|
-
: issue("package_validation", message);
|
|
28
|
-
}
|
|
29
|
-
export function quoteSkillPackageInstallSourceArg(value, platform = process.platform) {
|
|
30
|
-
if (SHELL_SAFE_INSTALL_SOURCE_REGEX.test(value)) {
|
|
31
|
-
return value;
|
|
32
|
-
}
|
|
33
|
-
if (platform === "win32") {
|
|
34
|
-
return `"${value.replace(/"/g, '\\"')}"`;
|
|
35
|
-
}
|
|
36
|
-
return `'${value.replace(/'/g, "'\\''")}'`;
|
|
37
|
-
}
|
|
38
|
-
function buildInstallCommands(input) {
|
|
39
|
-
const installSource = formatSkillPackageInstallSource(input.source, input.cwd);
|
|
40
|
-
const command = `maestro skill install ${quoteSkillPackageInstallSourceArg(installSource, input.platform)}`;
|
|
41
|
-
switch (input.source.type) {
|
|
42
|
-
case "local":
|
|
43
|
-
return { source: command, local: command };
|
|
44
|
-
case "git":
|
|
45
|
-
return { source: command, git: command };
|
|
46
|
-
case "npm":
|
|
47
|
-
return { source: command, npm: command };
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export function formatSkillPackageInstallSource(source, cwd) {
|
|
51
|
-
if (source.type !== "local") {
|
|
52
|
-
return formatPackageSource(source);
|
|
53
|
-
}
|
|
54
|
-
const sourceDrive = windowsDriveLetter(source.path);
|
|
55
|
-
const cwdDrive = windowsDriveLetter(cwd);
|
|
56
|
-
if (sourceDrive && cwdDrive && sourceDrive !== cwdDrive) {
|
|
57
|
-
return `local:${source.path}`;
|
|
58
|
-
}
|
|
59
|
-
const relativePath = relative(cwd, source.path) || ".";
|
|
60
|
-
if (isAbsolute(relativePath) || WINDOWS_DRIVE_PATH_REGEX.test(relativePath)) {
|
|
61
|
-
return `local:${relativePath}`;
|
|
62
|
-
}
|
|
63
|
-
const localPath = relativePath.startsWith(".")
|
|
64
|
-
? relativePath
|
|
65
|
-
: `./${relativePath}`;
|
|
66
|
-
return `local:${localPath}`;
|
|
67
|
-
}
|
|
68
|
-
function collectContractIssues(input) {
|
|
69
|
-
const issues = input.validationIssues.map(mapValidationIssue);
|
|
70
|
-
const keywords = packageKeywords(input.discovered);
|
|
71
|
-
if (input.discovered && !keywords.includes(MAESTRO_SKILL_PACKAGE_KEYWORD)) {
|
|
72
|
-
issues.push(issue("missing_maestro_skill_package_keyword", `package.json keywords must include "${MAESTRO_SKILL_PACKAGE_KEYWORD}" for OSS skill registry discovery.`));
|
|
73
|
-
}
|
|
74
|
-
if (input.validationIssues.length === 0 && input.skillCount === 0) {
|
|
75
|
-
issues.push(issue("missing_skill_resources", "package.json maestro.skills must expose at least one skill directory."));
|
|
76
|
-
}
|
|
77
|
-
if (input.evalReport && hasSkillEvalFailures(input.evalReport)) {
|
|
78
|
-
issues.push(issue("skill_package_eval_failed", "One or more bundled skills failed the Agent Core package eval contract."));
|
|
79
|
-
}
|
|
80
|
-
return issues;
|
|
81
|
-
}
|
|
82
|
-
export async function buildSkillPackagePublishContract(sourceSpec, options = {}) {
|
|
83
|
-
const cwd = options.cwd ?? process.cwd();
|
|
84
|
-
const inspected = await inspectPackageSource(sourceSpec, cwd);
|
|
85
|
-
const resources = inspected.resources ?? {
|
|
86
|
-
extensions: [],
|
|
87
|
-
skills: [],
|
|
88
|
-
prompts: [],
|
|
89
|
-
themes: [],
|
|
90
|
-
};
|
|
91
|
-
const evalReport = resources.skills.length > 0
|
|
92
|
-
? await evaluateSkillPackages(resources.skills.map((path) => ({ path })), { describeToolbox: options.describeToolbox })
|
|
93
|
-
: null;
|
|
94
|
-
const issues = collectContractIssues({
|
|
95
|
-
discovered: inspected.discovered,
|
|
96
|
-
validationIssues: collectPackageValidationIssues(inspected),
|
|
97
|
-
skillCount: resources.skills.length,
|
|
98
|
-
evalReport,
|
|
99
|
-
});
|
|
100
|
-
return {
|
|
101
|
-
schemaVersion: SKILL_PACKAGE_CONTRACT_SCHEMA,
|
|
102
|
-
sourceSpec,
|
|
103
|
-
resolvedSource: formatPackageSource(inspected.source),
|
|
104
|
-
resolvedPath: inspected.resolvedPath,
|
|
105
|
-
package: {
|
|
106
|
-
name: inspected.discovered?.packageJson.name ?? null,
|
|
107
|
-
version: inspected.discovered?.packageJson.version ?? null,
|
|
108
|
-
keywords: packageKeywords(inspected.discovered),
|
|
109
|
-
},
|
|
110
|
-
resources: {
|
|
111
|
-
skills: resources.skills,
|
|
112
|
-
prompts: resources.prompts,
|
|
113
|
-
extensions: resources.extensions,
|
|
114
|
-
themes: resources.themes,
|
|
115
|
-
},
|
|
116
|
-
install: buildInstallCommands({
|
|
117
|
-
cwd,
|
|
118
|
-
platform: options.platform ?? process.platform,
|
|
119
|
-
source: inspected.source,
|
|
120
|
-
}),
|
|
121
|
-
evalReport,
|
|
122
|
-
issues,
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
export function formatSkillPackagePublishContract(contract) {
|
|
126
|
-
const installCommands = [
|
|
127
|
-
contract.install.source,
|
|
128
|
-
contract.install.local,
|
|
129
|
-
contract.install.git,
|
|
130
|
-
contract.install.npm,
|
|
131
|
-
].filter((command, index, commands) => typeof command === "string" && commands.indexOf(command) === index);
|
|
132
|
-
const lines = [
|
|
133
|
-
`Skill package: ${contract.package.name ?? "(unknown)"}${contract.package.version ? `@${contract.package.version}` : ""}`,
|
|
134
|
-
`Source: ${contract.resolvedSource}`,
|
|
135
|
-
`Skills: ${contract.resources.skills.length}`,
|
|
136
|
-
"Install:",
|
|
137
|
-
];
|
|
138
|
-
lines.push(...installCommands.map((command) => ` ${command}`));
|
|
139
|
-
if (contract.evalReport) {
|
|
140
|
-
lines.push("", "Eval:", formatSkillEvalText(contract.evalReport));
|
|
141
|
-
}
|
|
142
|
-
if (contract.issues.length > 0) {
|
|
143
|
-
lines.push("", "Issues:");
|
|
144
|
-
for (const item of contract.issues) {
|
|
145
|
-
lines.push(`- ${item.code}: ${item.message}`);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
else {
|
|
149
|
-
lines.push("", "Result: publish/install contract passed.");
|
|
150
|
-
}
|
|
151
|
-
return lines.join("\n");
|
|
152
|
-
}
|
|
153
|
-
//# sourceMappingURL=package-contract.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package-contract.js","sourceRoot":"","sources":["../../src/skills/package-contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,uCAAuC,EAAE,MAAM,0BAA0B,CAAC;AACnF,OAAO,EACN,8BAA8B,EAC9B,oBAAoB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,EAEN,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,GACpB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,6BAA6B,GACzC,mDAAmD,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,MAAM,CAAC,MAAM,6BAA6B,GAAG,uBAAuB,CAAC;AAyCrE,MAAM,wBAAwB,GAAG,iBAAiB,CAA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IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;QAC/C,CAAC;IACF,CAAC;SAAM,CAAC;QACP,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,0CAA0C,CAAC,CAAC;IAC5D,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC","sourcesContent":["import { isAbsolute, relative } from \"node:path\";\nimport { MISSING_MAESTRO_PACKAGE_KEYWORD_MESSAGE } from \"../packages/constants.js\";\nimport {\n\tcollectPackageValidationIssues,\n\tinspectPackageSource,\n} from \"../packages/inspection.js\";\nimport { formatPackageSource } from \"../packages/sources.js\";\nimport type { DiscoveredPackage, PackageSource } from \"../packages/types.js\";\nimport {\n\ttype SkillEvalReport,\n\tevaluateSkillPackages,\n\tformatSkillEvalText,\n\thasSkillEvalFailures,\n} from \"./eval-harness.js\";\n\nexport const SKILL_PACKAGE_CONTRACT_SCHEMA =\n\t\"evalops.maestro.skill-package-publish-contract.v1\";\nexport { MAESTRO_PACKAGE_KEYWORD } from \"../packages/constants.js\";\nexport const MAESTRO_SKILL_PACKAGE_KEYWORD = \"maestro-skill-package\";\n\nexport interface SkillPackageContractIssue {\n\tcode: string;\n\tmessage: string;\n}\n\nexport interface SkillPackageInstallCommandSet {\n\tsource: string;\n\tlocal?: string;\n\tgit?: string;\n\tnpm?: string;\n}\n\nexport interface SkillPackagePublishContract {\n\tschemaVersion: typeof SKILL_PACKAGE_CONTRACT_SCHEMA;\n\tsourceSpec: string;\n\tresolvedSource: string;\n\tresolvedPath: string;\n\tpackage: {\n\t\tname: string | null;\n\t\tversion: string | null;\n\t\tkeywords: string[];\n\t};\n\tresources: {\n\t\tskills: string[];\n\t\tprompts: string[];\n\t\textensions: string[];\n\t\tthemes: string[];\n\t};\n\tinstall: SkillPackageInstallCommandSet;\n\tevalReport: SkillEvalReport | null;\n\tissues: SkillPackageContractIssue[];\n}\n\nexport interface BuildSkillPackagePublishContractOptions {\n\tcwd?: string;\n\tdescribeToolbox?: boolean;\n\tplatform?: NodeJS.Platform;\n}\n\nconst WINDOWS_DRIVE_PATH_REGEX = /^[A-Za-z]:[\\\\/]/;\nconst SHELL_SAFE_INSTALL_SOURCE_REGEX = /^[A-Za-z0-9_@%+=:,./\\\\-]+$/;\n\nfunction windowsDriveLetter(path: string): string | null {\n\treturn WINDOWS_DRIVE_PATH_REGEX.test(path)\n\t\t? path.slice(0, 1).toLowerCase()\n\t\t: null;\n}\n\nfunction packageKeywords(discovered: DiscoveredPackage | null): string[] {\n\treturn Array.isArray(discovered?.packageJson.keywords)\n\t\t? discovered.packageJson.keywords\n\t\t: [];\n}\n\nfunction issue(code: string, message: string): SkillPackageContractIssue {\n\treturn { code, message };\n}\n\nfunction mapValidationIssue(message: string): SkillPackageContractIssue {\n\treturn message === MISSING_MAESTRO_PACKAGE_KEYWORD_MESSAGE\n\t\t? issue(\"missing_maestro_package_keyword\", message)\n\t\t: issue(\"package_validation\", message);\n}\n\nexport function quoteSkillPackageInstallSourceArg(\n\tvalue: string,\n\tplatform = process.platform,\n): string {\n\tif (SHELL_SAFE_INSTALL_SOURCE_REGEX.test(value)) {\n\t\treturn value;\n\t}\n\tif (platform === \"win32\") {\n\t\treturn `\"${value.replace(/\"/g, '\\\\\"')}\"`;\n\t}\n\treturn `'${value.replace(/'/g, \"'\\\\''\")}'`;\n}\n\nfunction buildInstallCommands(input: {\n\tcwd: string;\n\tplatform: NodeJS.Platform;\n\tsource: PackageSource;\n}): SkillPackageInstallCommandSet {\n\tconst installSource = formatSkillPackageInstallSource(\n\t\tinput.source,\n\t\tinput.cwd,\n\t);\n\tconst command = `maestro skill install ${quoteSkillPackageInstallSourceArg(installSource, input.platform)}`;\n\tswitch (input.source.type) {\n\t\tcase \"local\":\n\t\t\treturn { source: command, local: command };\n\t\tcase \"git\":\n\t\t\treturn { source: command, git: command };\n\t\tcase \"npm\":\n\t\t\treturn { source: command, npm: command };\n\t}\n}\n\nexport function formatSkillPackageInstallSource(\n\tsource: PackageSource,\n\tcwd: string,\n): string {\n\tif (source.type !== \"local\") {\n\t\treturn formatPackageSource(source);\n\t}\n\tconst sourceDrive = windowsDriveLetter(source.path);\n\tconst cwdDrive = windowsDriveLetter(cwd);\n\tif (sourceDrive && cwdDrive && sourceDrive !== cwdDrive) {\n\t\treturn `local:${source.path}`;\n\t}\n\n\tconst relativePath = relative(cwd, source.path) || \".\";\n\tif (isAbsolute(relativePath) || WINDOWS_DRIVE_PATH_REGEX.test(relativePath)) {\n\t\treturn `local:${relativePath}`;\n\t}\n\tconst localPath = relativePath.startsWith(\".\")\n\t\t? relativePath\n\t\t: `./${relativePath}`;\n\treturn `local:${localPath}`;\n}\n\nfunction collectContractIssues(input: {\n\tdiscovered: DiscoveredPackage | null;\n\tvalidationIssues: string[];\n\tskillCount: number;\n\tevalReport: SkillEvalReport | null;\n}): SkillPackageContractIssue[] {\n\tconst issues = input.validationIssues.map(mapValidationIssue);\n\tconst keywords = packageKeywords(input.discovered);\n\tif (input.discovered && !keywords.includes(MAESTRO_SKILL_PACKAGE_KEYWORD)) {\n\t\tissues.push(\n\t\t\tissue(\n\t\t\t\t\"missing_maestro_skill_package_keyword\",\n\t\t\t\t`package.json keywords must include \"${MAESTRO_SKILL_PACKAGE_KEYWORD}\" for OSS skill registry discovery.`,\n\t\t\t),\n\t\t);\n\t}\n\tif (input.validationIssues.length === 0 && input.skillCount === 0) {\n\t\tissues.push(\n\t\t\tissue(\n\t\t\t\t\"missing_skill_resources\",\n\t\t\t\t\"package.json maestro.skills must expose at least one skill directory.\",\n\t\t\t),\n\t\t);\n\t}\n\tif (input.evalReport && hasSkillEvalFailures(input.evalReport)) {\n\t\tissues.push(\n\t\t\tissue(\n\t\t\t\t\"skill_package_eval_failed\",\n\t\t\t\t\"One or more bundled skills failed the Agent Core package eval contract.\",\n\t\t\t),\n\t\t);\n\t}\n\treturn issues;\n}\n\nexport async function buildSkillPackagePublishContract(\n\tsourceSpec: string,\n\toptions: BuildSkillPackagePublishContractOptions = {},\n): Promise<SkillPackagePublishContract> {\n\tconst cwd = options.cwd ?? process.cwd();\n\tconst inspected = await inspectPackageSource(sourceSpec, cwd);\n\tconst resources = inspected.resources ?? {\n\t\textensions: [],\n\t\tskills: [],\n\t\tprompts: [],\n\t\tthemes: [],\n\t};\n\tconst evalReport =\n\t\tresources.skills.length > 0\n\t\t\t? await evaluateSkillPackages(\n\t\t\t\t\tresources.skills.map((path) => ({ path })),\n\t\t\t\t\t{ describeToolbox: options.describeToolbox },\n\t\t\t\t)\n\t\t\t: null;\n\tconst issues = collectContractIssues({\n\t\tdiscovered: inspected.discovered,\n\t\tvalidationIssues: collectPackageValidationIssues(inspected),\n\t\tskillCount: resources.skills.length,\n\t\tevalReport,\n\t});\n\n\treturn {\n\t\tschemaVersion: SKILL_PACKAGE_CONTRACT_SCHEMA,\n\t\tsourceSpec,\n\t\tresolvedSource: formatPackageSource(inspected.source),\n\t\tresolvedPath: inspected.resolvedPath,\n\t\tpackage: {\n\t\t\tname: inspected.discovered?.packageJson.name ?? null,\n\t\t\tversion: inspected.discovered?.packageJson.version ?? null,\n\t\t\tkeywords: packageKeywords(inspected.discovered),\n\t\t},\n\t\tresources: {\n\t\t\tskills: resources.skills,\n\t\t\tprompts: resources.prompts,\n\t\t\textensions: resources.extensions,\n\t\t\tthemes: resources.themes,\n\t\t},\n\t\tinstall: buildInstallCommands({\n\t\t\tcwd,\n\t\t\tplatform: options.platform ?? process.platform,\n\t\t\tsource: inspected.source,\n\t\t}),\n\t\tevalReport,\n\t\tissues,\n\t};\n}\n\nexport function formatSkillPackagePublishContract(\n\tcontract: SkillPackagePublishContract,\n): string {\n\tconst installCommands = [\n\t\tcontract.install.source,\n\t\tcontract.install.local,\n\t\tcontract.install.git,\n\t\tcontract.install.npm,\n\t].filter(\n\t\t(command, index, commands): command is string =>\n\t\t\ttypeof command === \"string\" && commands.indexOf(command) === index,\n\t);\n\tconst lines = [\n\t\t`Skill package: ${contract.package.name ?? \"(unknown)\"}${contract.package.version ? `@${contract.package.version}` : \"\"}`,\n\t\t`Source: ${contract.resolvedSource}`,\n\t\t`Skills: ${contract.resources.skills.length}`,\n\t\t\"Install:\",\n\t];\n\tlines.push(...installCommands.map((command) => ` ${command}`));\n\tif (contract.evalReport) {\n\t\tlines.push(\"\", \"Eval:\", formatSkillEvalText(contract.evalReport));\n\t}\n\tif (contract.issues.length > 0) {\n\t\tlines.push(\"\", \"Issues:\");\n\t\tfor (const item of contract.issues) {\n\t\t\tlines.push(`- ${item.code}: ${item.message}`);\n\t\t}\n\t} else {\n\t\tlines.push(\"\", \"Result: publish/install contract passed.\");\n\t}\n\treturn lines.join(\"\\n\");\n}\n"]}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import type { LoadedSkill, SkillResource } from "./loader.js";
|
|
2
|
-
export interface SkillRuntimeActivation {
|
|
3
|
-
name: string;
|
|
4
|
-
contentSha: string;
|
|
5
|
-
source: LoadedSkill["sourceType"];
|
|
6
|
-
sourcePath?: string;
|
|
7
|
-
profile: {
|
|
8
|
-
argumentHint?: string;
|
|
9
|
-
compatibility?: string;
|
|
10
|
-
isolatedContext?: boolean;
|
|
11
|
-
mode?: string;
|
|
12
|
-
model?: string;
|
|
13
|
-
};
|
|
14
|
-
tools: {
|
|
15
|
-
allowed: string[];
|
|
16
|
-
builtin: string[];
|
|
17
|
-
};
|
|
18
|
-
resources: {
|
|
19
|
-
files: SkillRuntimeResource[];
|
|
20
|
-
directories: SkillRuntimeResourceDirectories;
|
|
21
|
-
};
|
|
22
|
-
toolPackage: {
|
|
23
|
-
toolbox?: SkillRuntimeToolboxActivation;
|
|
24
|
-
mcp?: SkillRuntimeMcpActivation;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
export interface SkillRuntimeResource {
|
|
28
|
-
name: string;
|
|
29
|
-
path: string;
|
|
30
|
-
type: SkillResource["type"];
|
|
31
|
-
}
|
|
32
|
-
export interface SkillRuntimeResourceDirectories {
|
|
33
|
-
scripts?: string;
|
|
34
|
-
reference?: string;
|
|
35
|
-
references?: string;
|
|
36
|
-
assets?: string;
|
|
37
|
-
toolbox?: string;
|
|
38
|
-
}
|
|
39
|
-
export interface SkillRuntimeToolboxActivation {
|
|
40
|
-
directory: string;
|
|
41
|
-
entries: SkillRuntimeToolboxEntry[];
|
|
42
|
-
warnings?: string[];
|
|
43
|
-
}
|
|
44
|
-
export interface SkillRuntimeToolboxEntry {
|
|
45
|
-
name: string;
|
|
46
|
-
path: string;
|
|
47
|
-
}
|
|
48
|
-
export interface SkillRuntimeMcpActivation {
|
|
49
|
-
configPath: string;
|
|
50
|
-
servers: SkillRuntimeMcpServer[];
|
|
51
|
-
warnings?: string[];
|
|
52
|
-
}
|
|
53
|
-
export interface SkillRuntimeMcpServer {
|
|
54
|
-
name: string;
|
|
55
|
-
command: string;
|
|
56
|
-
includeTools: string[];
|
|
57
|
-
}
|
|
58
|
-
export interface SkillRuntimeActivationOptions {
|
|
59
|
-
platform?: NodeJS.Platform;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Build the runtime-facing activation contract for a loaded skill.
|
|
63
|
-
*
|
|
64
|
-
* This intentionally exposes only scoped resource paths and MCP tool bounds. The
|
|
65
|
-
* raw MCP config remains on disk so runtimes can activate it without copying env
|
|
66
|
-
* values or credentials into agent-visible telemetry.
|
|
67
|
-
*/
|
|
68
|
-
export declare function buildSkillRuntimeActivation(skill: LoadedSkill, options?: SkillRuntimeActivationOptions): SkillRuntimeActivation;
|
|
69
|
-
//# sourceMappingURL=runtime-activation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-activation.d.ts","sourceRoot":"","sources":["../../src/skills/runtime-activation.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAI9D,MAAM,WAAW,sBAAsB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,E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