@evalops/maestro 0.10.18 → 0.10.21
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 +56 -1
- package/dist/agent/action-approval.d.ts +12 -2
- package/dist/agent/action-approval.d.ts.map +1 -1
- package/dist/agent/action-approval.js +19 -32
- package/dist/agent/action-approval.js.map +1 -1
- package/dist/agent/agent.d.ts +1 -0
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/agent.js +26 -0
- package/dist/agent/agent.js.map +1 -1
- package/dist/agent/compaction.d.ts +2 -0
- package/dist/agent/compaction.d.ts.map +1 -1
- package/dist/agent/compaction.js +4 -2
- package/dist/agent/compaction.js.map +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/agent/modes.d.ts +56 -4
- package/dist/agent/modes.d.ts.map +1 -1
- package/dist/agent/modes.js +163 -2
- package/dist/agent/modes.js.map +1 -1
- package/dist/agent/prompt-recovery.d.ts.map +1 -1
- package/dist/agent/prompt-recovery.js +1 -3
- package/dist/agent/prompt-recovery.js.map +1 -1
- package/dist/agent/providers/anthropic.d.ts.map +1 -1
- package/dist/agent/providers/anthropic.js +9 -1
- package/dist/agent/providers/anthropic.js.map +1 -1
- package/dist/agent/providers/codex-app-server.d.ts +12 -0
- package/dist/agent/providers/codex-app-server.d.ts.map +1 -0
- package/dist/agent/providers/codex-app-server.js +788 -0
- package/dist/agent/providers/codex-app-server.js.map +1 -0
- package/dist/agent/providers/google-gemini-cli.js +14 -3
- package/dist/agent/providers/google.js +22 -3
- package/dist/agent/providers/scripted.d.ts +11 -0
- package/dist/agent/providers/scripted.d.ts.map +1 -0
- package/dist/agent/providers/scripted.js +399 -0
- package/dist/agent/providers/scripted.js.map +1 -0
- package/dist/agent/providers/vertex.js +14 -3
- package/dist/agent/scenario-source.d.ts +19 -0
- package/dist/agent/scenario-source.d.ts.map +1 -0
- package/dist/agent/scenario-source.js +112 -0
- package/dist/agent/scenario-source.js.map +1 -0
- package/dist/agent/subagent-specs.d.ts +1 -1
- package/dist/agent/subagent-specs.js +1 -1
- package/dist/agent/subagent-specs.js.map +1 -1
- package/dist/agent/swarm/executor.d.ts +25 -0
- package/dist/agent/swarm/executor.d.ts.map +1 -1
- package/dist/agent/swarm/executor.js +795 -20
- package/dist/agent/swarm/executor.js.map +1 -1
- package/dist/agent/swarm/runtime-events.d.ts +11 -0
- package/dist/agent/swarm/runtime-events.d.ts.map +1 -0
- package/dist/agent/swarm/runtime-events.js +26 -0
- package/dist/agent/swarm/runtime-events.js.map +1 -0
- package/dist/agent/swarm/types.d.ts +78 -0
- package/dist/agent/swarm/types.d.ts.map +1 -1
- package/dist/agent/swarm/types.js.map +1 -1
- package/dist/agent/tracing.d.ts +1 -1
- package/dist/agent/tracing.d.ts.map +1 -1
- package/dist/agent/tracing.js +17 -9
- package/dist/agent/tracing.js.map +1 -1
- package/dist/agent/transport/create-provider-stream.d.ts.map +1 -1
- package/dist/agent/transport/create-provider-stream.js +14 -0
- package/dist/agent/transport/create-provider-stream.js.map +1 -1
- package/dist/agent/transport/stable-stringify.d.ts +2 -0
- package/dist/agent/transport/stable-stringify.d.ts.map +1 -0
- package/dist/agent/transport/stable-stringify.js +14 -0
- package/dist/agent/transport/stable-stringify.js.map +1 -0
- package/dist/agent/transport/tool-execution-bridge.d.ts.map +1 -1
- package/dist/agent/transport/tool-execution-bridge.js +2 -15
- package/dist/agent/transport/tool-execution-bridge.js.map +1 -1
- package/dist/agent/transport/tool-safety-pipeline.d.ts +5 -1
- package/dist/agent/transport/tool-safety-pipeline.d.ts.map +1 -1
- package/dist/agent/transport/tool-safety-pipeline.js +184 -36
- package/dist/agent/transport/tool-safety-pipeline.js.map +1 -1
- package/dist/agent/transport.d.ts +8 -0
- package/dist/agent/transport.d.ts.map +1 -1
- package/dist/agent/transport.js +1613 -68
- package/dist/agent/transport.js.map +1 -1
- package/dist/agent/types.d.ts +170 -2
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/agent/types.js.map +1 -1
- package/dist/api/enterprise-routes.d.ts.map +1 -1
- package/dist/api/enterprise-routes.js +34 -3
- package/dist/api/enterprise-routes.js.map +1 -1
- package/dist/app-server/in-process-client.d.ts +32 -0
- package/dist/app-server/in-process-client.d.ts.map +1 -0
- package/dist/app-server/in-process-client.js +73 -0
- package/dist/app-server/in-process-client.js.map +1 -0
- package/dist/app-server/session-api.d.ts +36 -0
- package/dist/app-server/session-api.d.ts.map +1 -0
- package/dist/app-server/session-api.js +713 -0
- package/dist/app-server/session-api.js.map +1 -0
- package/dist/approvals/platform-action-approval.d.ts +3 -1
- package/dist/approvals/platform-action-approval.d.ts.map +1 -1
- package/dist/approvals/platform-action-approval.js +16 -9
- package/dist/approvals/platform-action-approval.js.map +1 -1
- package/dist/approvals/service-client.d.ts.map +1 -1
- package/dist/approvals/service-client.js +7 -7
- package/dist/approvals/service-client.js.map +1 -1
- package/dist/audit/logger.d.ts +4 -4
- package/dist/bootstrap/agent-creation-setup.d.ts +4 -0
- package/dist/bootstrap/agent-creation-setup.d.ts.map +1 -1
- package/dist/bootstrap/agent-creation-setup.js +3 -1
- package/dist/bootstrap/agent-creation-setup.js.map +1 -1
- package/dist/bootstrap/auth-setup.js +1 -1
- package/dist/bootstrap/auth-setup.js.map +1 -1
- package/dist/bootstrap/event-subscriptions-setup.d.ts +6 -0
- package/dist/bootstrap/event-subscriptions-setup.d.ts.map +1 -1
- package/dist/bootstrap/event-subscriptions-setup.js +26 -2
- package/dist/bootstrap/event-subscriptions-setup.js.map +1 -1
- package/dist/bootstrap/model-resolution-setup.d.ts.map +1 -1
- package/dist/bootstrap/model-resolution-setup.js +4 -1
- package/dist/bootstrap/model-resolution-setup.js.map +1 -1
- package/dist/bootstrap/tools-setup.d.ts +2 -1
- package/dist/bootstrap/tools-setup.d.ts.map +1 -1
- package/dist/bootstrap/tools-setup.js +5 -1
- package/dist/bootstrap/tools-setup.js.map +1 -1
- package/dist/cli/args.d.ts +9 -1
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +130 -5
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/commands/a2a.d.ts +9 -0
- package/dist/cli/commands/a2a.d.ts.map +1 -0
- package/dist/cli/commands/a2a.js +1714 -0
- package/dist/cli/commands/a2a.js.map +1 -0
- package/dist/cli/commands/agents.d.ts +16 -2
- package/dist/cli/commands/agents.d.ts.map +1 -1
- package/dist/cli/commands/agents.js +223 -35
- package/dist/cli/commands/agents.js.map +1 -1
- package/dist/cli/commands/codex.d.ts +1 -1
- package/dist/cli/commands/codex.d.ts.map +1 -1
- package/dist/cli/commands/codex.js +145 -39
- package/dist/cli/commands/codex.js.map +1 -1
- package/dist/cli/commands/context.d.ts +10 -0
- package/dist/cli/commands/context.d.ts.map +1 -0
- package/dist/cli/commands/context.js +176 -0
- package/dist/cli/commands/context.js.map +1 -0
- package/dist/cli/commands/hosted-runner.d.ts +1 -0
- package/dist/cli/commands/hosted-runner.d.ts.map +1 -1
- package/dist/cli/commands/hosted-runner.js +9 -1
- package/dist/cli/commands/hosted-runner.js.map +1 -1
- package/dist/cli/commands/modes.d.ts +8 -0
- package/dist/cli/commands/modes.d.ts.map +1 -0
- package/dist/cli/commands/modes.js +151 -0
- package/dist/cli/commands/modes.js.map +1 -0
- package/dist/cli/commands/operating-plane.d.ts +14 -0
- package/dist/cli/commands/operating-plane.d.ts.map +1 -0
- package/dist/cli/commands/operating-plane.js +160 -0
- package/dist/cli/commands/operating-plane.js.map +1 -0
- package/dist/cli/commands/run.d.ts +87 -0
- package/dist/cli/commands/run.d.ts.map +1 -0
- package/dist/cli/commands/run.js +356 -0
- package/dist/cli/commands/run.js.map +1 -0
- package/dist/cli/commands/scenario.d.ts +7 -0
- package/dist/cli/commands/scenario.d.ts.map +1 -0
- package/dist/cli/commands/scenario.js +195 -0
- package/dist/cli/commands/scenario.js.map +1 -0
- package/dist/cli/commands/skill.d.ts +7 -0
- package/dist/cli/commands/skill.d.ts.map +1 -0
- package/dist/cli/commands/skill.js +286 -0
- package/dist/cli/commands/skill.js.map +1 -0
- package/dist/cli/headless-protocol.d.ts +55 -1
- package/dist/cli/headless-protocol.d.ts.map +1 -1
- package/dist/cli/headless-protocol.js +446 -7
- package/dist/cli/headless-protocol.js.map +1 -1
- package/dist/cli/headless-runtime-selection.d.ts +38 -0
- package/dist/cli/headless-runtime-selection.d.ts.map +1 -0
- package/dist/cli/headless-runtime-selection.js +48 -0
- package/dist/cli/headless-runtime-selection.js.map +1 -0
- package/dist/cli/headless.d.ts +5 -1
- package/dist/cli/headless.d.ts.map +1 -1
- package/dist/cli/headless.js +11 -1
- package/dist/cli/headless.js.map +1 -1
- package/dist/cli/help.d.ts +3 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +135 -30
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/system-prompt.d.ts +22 -4
- package/dist/cli/system-prompt.d.ts.map +1 -1
- package/dist/cli/system-prompt.js +224 -127
- package/dist/cli/system-prompt.js.map +1 -1
- package/dist/cli-tui/commands/a2a-handlers.d.ts +7 -0
- package/dist/cli-tui/commands/a2a-handlers.d.ts.map +1 -0
- package/dist/cli-tui/commands/a2a-handlers.js +160 -0
- package/dist/cli-tui/commands/a2a-handlers.js.map +1 -0
- package/dist/cli-tui/commands/command-catalog.d.ts.map +1 -1
- package/dist/cli-tui/commands/command-catalog.js +15 -0
- package/dist/cli-tui/commands/command-catalog.js.map +1 -1
- package/dist/cli-tui/commands/command-registry-adapter.js +10 -1
- package/dist/cli-tui/commands/command-registry-adapter.js.map +1 -1
- package/dist/cli-tui/commands/handlers/mode-handler.d.ts.map +1 -1
- package/dist/cli-tui/commands/handlers/mode-handler.js +22 -10
- package/dist/cli-tui/commands/handlers/mode-handler.js.map +1 -1
- package/dist/cli-tui/commands/mcp-handlers.d.ts.map +1 -1
- package/dist/cli-tui/commands/mcp-handlers.js +6 -5
- package/dist/cli-tui/commands/mcp-handlers.js.map +1 -1
- package/dist/cli-tui/commands/types.d.ts +1 -0
- package/dist/cli-tui/commands/types.d.ts.map +1 -1
- package/dist/cli-tui/commands/types.js.map +1 -1
- package/dist/cli-tui/commands/utility-handlers.d.ts +4 -0
- package/dist/cli-tui/commands/utility-handlers.d.ts.map +1 -1
- package/dist/cli-tui/commands/utility-handlers.js +45 -6
- package/dist/cli-tui/commands/utility-handlers.js.map +1 -1
- package/dist/cli-tui/run/run-shell-command.d.ts.map +1 -1
- package/dist/cli-tui/run/run-shell-command.js +14 -5
- package/dist/cli-tui/run/run-shell-command.js.map +1 -1
- package/dist/cli-tui/run/streaming-shell-command.d.ts.map +1 -1
- package/dist/cli-tui/run/streaming-shell-command.js +14 -5
- package/dist/cli-tui/run/streaming-shell-command.js.map +1 -1
- package/dist/cli-tui/selectors/model-selector.d.ts +1 -0
- package/dist/cli-tui/selectors/model-selector.d.ts.map +1 -1
- package/dist/cli-tui/selectors/model-selector.js +6 -2
- package/dist/cli-tui/selectors/model-selector.js.map +1 -1
- package/dist/cli-tui/tui-renderer/command-registry-options.d.ts.map +1 -1
- package/dist/cli-tui/tui-renderer/command-registry-options.js +5 -0
- package/dist/cli-tui/tui-renderer/command-registry-options.js.map +1 -1
- package/dist/cli-tui/utils/commands/review-prompt.d.ts +1 -1
- package/dist/cli-tui/utils/commands/review-prompt.d.ts.map +1 -1
- package/dist/cli-tui/utils/commands/review-prompt.js +8 -3
- package/dist/cli-tui/utils/commands/review-prompt.js.map +1 -1
- package/dist/cli-tui/utils/runtime-badges.d.ts +1 -0
- package/dist/cli-tui/utils/runtime-badges.d.ts.map +1 -1
- package/dist/cli-tui/utils/runtime-badges.js +7 -0
- package/dist/cli-tui/utils/runtime-badges.js.map +1 -1
- package/dist/cli-tui/utils/text-formatting.d.ts +1 -0
- package/dist/cli-tui/utils/text-formatting.d.ts.map +1 -1
- package/dist/cli-tui/utils/text-formatting.js +5 -0
- package/dist/cli-tui/utils/text-formatting.js.map +1 -1
- package/dist/cli.js +49158 -26161
- package/dist/cli.js.map +1 -1
- package/dist/codex/app-server-client.d.ts +139 -0
- package/dist/codex/app-server-client.d.ts.map +1 -0
- package/dist/codex/app-server-client.js +352 -0
- package/dist/codex/app-server-client.js.map +1 -0
- package/dist/codex/compatibility.d.ts +48 -0
- package/dist/codex/compatibility.d.ts.map +1 -0
- package/dist/codex/compatibility.js +344 -0
- package/dist/codex/compatibility.js.map +1 -0
- package/dist/codex/subagent-dispatch-table.d.ts +66 -0
- package/dist/codex/subagent-dispatch-table.d.ts.map +1 -0
- package/dist/codex/subagent-dispatch-table.js +127 -0
- package/dist/codex/subagent-dispatch-table.js.map +1 -0
- package/dist/codex/subagent-workgraph.d.ts +56 -0
- package/dist/codex/subagent-workgraph.d.ts.map +1 -0
- package/dist/codex/subagent-workgraph.js +89 -0
- package/dist/codex/subagent-workgraph.js.map +1 -0
- package/dist/config/constants.d.ts +3 -1
- package/dist/config/constants.d.ts.map +1 -1
- package/dist/config/constants.js +9 -0
- package/dist/config/constants.js.map +1 -1
- package/dist/config/feature-flags.d.ts +10 -1
- package/dist/config/feature-flags.d.ts.map +1 -1
- package/dist/config/feature-flags.js +17 -6
- package/dist/config/feature-flags.js.map +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +1 -1
- package/dist/config/index.js.map +1 -1
- package/dist/config/toml-config.d.ts +32 -0
- package/dist/config/toml-config.d.ts.map +1 -1
- package/dist/config/toml-config.js +152 -43
- package/dist/config/toml-config.js.map +1 -1
- package/dist/connectors/service-client.d.ts.map +1 -1
- package/dist/connectors/service-client.js +4 -7
- package/dist/connectors/service-client.js.map +1 -1
- package/dist/context/manifest-types.d.ts +59 -0
- package/dist/context/manifest-types.d.ts.map +1 -0
- package/dist/context/manifest-types.js +2 -0
- package/dist/context/manifest-types.js.map +1 -0
- package/dist/context/manifest.d.ts +16 -0
- package/dist/context/manifest.d.ts.map +1 -0
- package/dist/context/manifest.js +503 -0
- package/dist/context/manifest.js.map +1 -0
- package/dist/db/schema.d.ts +10 -1
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/schema.js.map +1 -1
- package/dist/evalops/env-aliases.d.ts +13 -0
- package/dist/evalops/env-aliases.d.ts.map +1 -0
- package/dist/evalops/env-aliases.js +60 -0
- package/dist/evalops/env-aliases.js.map +1 -0
- package/dist/evalops/managed-context.d.ts.map +1 -1
- package/dist/evalops/managed-context.js +28 -62
- package/dist/evalops/managed-context.js.map +1 -1
- package/dist/guardian/config.d.ts.map +1 -1
- package/dist/guardian/config.js +1 -0
- package/dist/guardian/config.js.map +1 -1
- package/dist/guardian/runner.d.ts +2 -0
- package/dist/guardian/runner.d.ts.map +1 -1
- package/dist/guardian/runner.js +105 -2
- package/dist/guardian/runner.js.map +1 -1
- package/dist/guardian/types.d.ts +1 -0
- package/dist/guardian/types.d.ts.map +1 -1
- package/dist/guardian/types.js.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +267 -55
- package/dist/main.js.map +1 -1
- package/dist/mcp/config.d.ts.map +1 -1
- package/dist/mcp/config.js +89 -7
- package/dist/mcp/config.js.map +1 -1
- package/dist/mcp/manager.d.ts +5 -1
- package/dist/mcp/manager.d.ts.map +1 -1
- package/dist/mcp/manager.js +159 -4
- package/dist/mcp/manager.js.map +1 -1
- package/dist/mcp/platform-plugin.d.ts.map +1 -1
- package/dist/mcp/platform-plugin.js +9 -26
- package/dist/mcp/platform-plugin.js.map +1 -1
- package/dist/mcp/schema.d.ts +15 -0
- package/dist/mcp/schema.d.ts.map +1 -1
- package/dist/mcp/schema.js +24 -0
- package/dist/mcp/schema.js.map +1 -1
- package/dist/mcp/tool-bridge.d.ts +39 -10
- package/dist/mcp/tool-bridge.d.ts.map +1 -1
- package/dist/mcp/tool-bridge.js +101 -24
- package/dist/mcp/tool-bridge.js.map +1 -1
- package/dist/mcp/types.d.ts +27 -0
- package/dist/mcp/types.d.ts.map +1 -1
- package/dist/mcp/types.js.map +1 -1
- package/dist/mcp/workspace-trust.d.ts +10 -0
- package/dist/mcp/workspace-trust.d.ts.map +1 -0
- package/dist/mcp/workspace-trust.js +295 -0
- package/dist/mcp/workspace-trust.js.map +1 -0
- package/dist/memory/service-client.d.ts +1 -0
- package/dist/memory/service-client.d.ts.map +1 -1
- package/dist/memory/service-client.js +194 -9
- package/dist/memory/service-client.js.map +1 -1
- package/dist/models/builtin.d.ts.map +1 -1
- package/dist/models/builtin.js +66 -25
- package/dist/models/builtin.js.map +1 -1
- package/dist/models/config-loader.d.ts +10 -10
- package/dist/models/config-loader.d.ts.map +1 -1
- package/dist/models/config-loader.js +2 -0
- package/dist/models/config-loader.js.map +1 -1
- package/dist/models/registry.d.ts +1 -0
- package/dist/models/registry.d.ts.map +1 -1
- package/dist/models/registry.js +1 -0
- package/dist/models/registry.js.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/advisor-effort.d.ts +8 -0
- package/dist/node_modules/@evalops/contracts/dist/advisor-effort.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/advisor-effort.js +35 -0
- package/dist/node_modules/@evalops/contracts/dist/advisor-effort.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/delegation-prompt.d.ts +10 -0
- package/dist/node_modules/@evalops/contracts/dist/delegation-prompt.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/delegation-prompt.js +48 -0
- package/dist/node_modules/@evalops/contracts/dist/delegation-prompt.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/guarded-files-settings.d.ts +20 -0
- package/dist/node_modules/@evalops/contracts/dist/guarded-files-settings.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/guarded-files-settings.js +147 -0
- package/dist/node_modules/@evalops/contracts/dist/guarded-files-settings.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/headless-protocol-generated.d.ts +40 -0
- package/dist/node_modules/@evalops/contracts/dist/headless-protocol-generated.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/headless-protocol-generated.js +122 -0
- package/dist/node_modules/@evalops/contracts/dist/headless-protocol-generated.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.d.ts +3273 -0
- package/dist/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.js +666 -0
- package/dist/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/index.d.ts +1124 -0
- package/dist/node_modules/@evalops/contracts/dist/index.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/index.js +65 -0
- package/dist/node_modules/@evalops/contracts/dist/index.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.d.ts +593 -0
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.js +218 -0
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.d.ts +2217 -0
- package/dist/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.js +879 -0
- package/dist/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/runtime-app-server.d.ts +185 -0
- package/dist/node_modules/@evalops/contracts/dist/runtime-app-server.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/runtime-constraints.d.ts +28 -0
- package/dist/node_modules/@evalops/contracts/dist/runtime-constraints.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/runtime-constraints.js +71 -0
- package/dist/node_modules/@evalops/contracts/dist/runtime-constraints.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/runtime-server-request.d.ts +140 -0
- package/dist/node_modules/@evalops/contracts/dist/runtime-server-request.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/runtime-server-request.js +70 -0
- package/dist/node_modules/@evalops/contracts/dist/runtime-server-request.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/scenario.d.ts +191 -0
- package/dist/node_modules/@evalops/contracts/dist/scenario.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/scenario.js +4 -0
- package/dist/node_modules/@evalops/contracts/dist/scenario.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/schemas.d.ts +3614 -0
- package/dist/node_modules/@evalops/contracts/dist/schemas.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/schemas.js +1082 -0
- package/dist/node_modules/@evalops/contracts/dist/schemas.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/package.json +30 -0
- package/dist/node_modules/@evalops/tui/package.json +58 -0
- package/dist/oauth/device-identity.d.ts.map +1 -1
- package/dist/oauth/device-identity.js +1 -3
- package/dist/oauth/device-identity.js.map +1 -1
- package/dist/oauth/evalops.d.ts.map +1 -1
- package/dist/oauth/evalops.js +2 -5
- package/dist/oauth/evalops.js.map +1 -1
- package/dist/opentelemetry.d.ts.map +1 -1
- package/dist/opentelemetry.js +12 -12
- package/dist/opentelemetry.js.map +1 -1
- package/dist/package-version.d.ts +2 -0
- package/dist/package-version.d.ts.map +1 -0
- package/dist/package-version.js +11 -0
- package/dist/package-version.js.map +1 -0
- package/dist/packages/constants.d.ts +3 -0
- package/dist/packages/constants.d.ts.map +1 -0
- package/dist/packages/constants.js +3 -0
- package/dist/packages/constants.js.map +1 -0
- package/dist/packages/inspection.d.ts.map +1 -1
- package/dist/packages/inspection.js +2 -1
- package/dist/packages/inspection.js.map +1 -1
- package/dist/packages/search.d.ts.map +1 -1
- package/dist/packages/search.js +1 -1
- package/dist/packages/search.js.map +1 -1
- package/dist/platform/a2a-capability-market.d.ts +21 -0
- package/dist/platform/a2a-capability-market.d.ts.map +1 -0
- package/dist/platform/a2a-capability-market.js +176 -0
- package/dist/platform/a2a-capability-market.js.map +1 -0
- package/dist/platform/a2a-client.d.ts +119 -0
- package/dist/platform/a2a-client.d.ts.map +1 -1
- package/dist/platform/a2a-client.js +413 -24
- package/dist/platform/a2a-client.js.map +1 -1
- package/dist/platform/a2a-fleet.d.ts +41 -0
- package/dist/platform/a2a-fleet.d.ts.map +1 -0
- package/dist/platform/a2a-fleet.js +109 -0
- package/dist/platform/a2a-fleet.js.map +1 -0
- package/dist/platform/a2a-maestro-peer.d.ts +20 -0
- package/dist/platform/a2a-maestro-peer.d.ts.map +1 -0
- package/dist/platform/a2a-maestro-peer.js +176 -0
- package/dist/platform/a2a-maestro-peer.js.map +1 -0
- package/dist/platform/a2a-peer-pairing.d.ts +107 -0
- package/dist/platform/a2a-peer-pairing.d.ts.map +1 -0
- package/dist/platform/a2a-peer-pairing.js +489 -0
- package/dist/platform/a2a-peer-pairing.js.map +1 -0
- package/dist/platform/a2a-peer-registry.d.ts +68 -0
- package/dist/platform/a2a-peer-registry.d.ts.map +1 -0
- package/dist/platform/a2a-peer-registry.js +320 -0
- package/dist/platform/a2a-peer-registry.js.map +1 -0
- package/dist/platform/a2a-task-ledger.d.ts +86 -0
- package/dist/platform/a2a-task-ledger.d.ts.map +1 -0
- package/dist/platform/a2a-task-ledger.js +546 -0
- package/dist/platform/a2a-task-ledger.js.map +1 -0
- package/dist/platform/a2a-work-graph.d.ts +43 -0
- package/dist/platform/a2a-work-graph.d.ts.map +1 -0
- package/dist/platform/a2a-work-graph.js +267 -0
- package/dist/platform/a2a-work-graph.js.map +1 -0
- package/dist/platform/agent-registry-client.d.ts +327 -0
- package/dist/platform/agent-registry-client.d.ts.map +1 -0
- package/dist/platform/agent-registry-client.js +803 -0
- package/dist/platform/agent-registry-client.js.map +1 -0
- package/dist/platform/agent-runtime-client.d.ts +135 -1
- package/dist/platform/agent-runtime-client.d.ts.map +1 -1
- package/dist/platform/agent-runtime-client.js +467 -10
- package/dist/platform/agent-runtime-client.js.map +1 -1
- package/dist/platform/cerebro-facts-client.d.ts.map +1 -1
- package/dist/platform/cerebro-facts-client.js +4 -7
- package/dist/platform/cerebro-facts-client.js.map +1 -1
- package/dist/platform/client.d.ts.map +1 -1
- package/dist/platform/client.js +3 -12
- package/dist/platform/client.js.map +1 -1
- package/dist/platform/core-services.d.ts +68 -0
- package/dist/platform/core-services.d.ts.map +1 -1
- package/dist/platform/core-services.js +68 -0
- package/dist/platform/core-services.js.map +1 -1
- package/dist/platform/fermata-eval-client.d.ts +195 -0
- package/dist/platform/fermata-eval-client.d.ts.map +1 -0
- package/dist/platform/fermata-eval-client.js +146 -0
- package/dist/platform/fermata-eval-client.js.map +1 -0
- package/dist/platform/fermata-scenario-suite.d.ts +99 -0
- package/dist/platform/fermata-scenario-suite.d.ts.map +1 -0
- package/dist/platform/fermata-scenario-suite.js +459 -0
- package/dist/platform/fermata-scenario-suite.js.map +1 -0
- package/dist/platform/maestro-timeline-client.d.ts.map +1 -1
- package/dist/platform/maestro-timeline-client.js +5 -11
- package/dist/platform/maestro-timeline-client.js.map +1 -1
- package/dist/platform/operating-plane-client.d.ts +156 -0
- package/dist/platform/operating-plane-client.d.ts.map +1 -0
- package/dist/platform/operating-plane-client.js +131 -0
- package/dist/platform/operating-plane-client.js.map +1 -0
- package/dist/platform/operating-plane-summary.d.ts +47 -0
- package/dist/platform/operating-plane-summary.d.ts.map +1 -0
- package/dist/platform/operating-plane-summary.js +209 -0
- package/dist/platform/operating-plane-summary.js.map +1 -0
- package/dist/platform/tool-execution-client.d.ts.map +1 -1
- package/dist/platform/tool-execution-client.js +4 -11
- package/dist/platform/tool-execution-client.js.map +1 -1
- package/dist/prompts/service-client.d.ts.map +1 -1
- package/dist/prompts/service-client.js +3 -5
- package/dist/prompts/service-client.js.map +1 -1
- package/dist/prompts/system-prompt.d.ts +3 -0
- package/dist/prompts/system-prompt.d.ts.map +1 -1
- package/dist/prompts/system-prompt.js +13 -3
- package/dist/prompts/system-prompt.js.map +1 -1
- package/dist/prompts/types.d.ts +2 -0
- package/dist/prompts/types.d.ts.map +1 -1
- package/dist/prompts/types.js.map +1 -1
- package/dist/providers/api-keys.d.ts +1 -1
- package/dist/providers/api-keys.d.ts.map +1 -1
- package/dist/providers/api-keys.js +2 -1
- package/dist/providers/api-keys.js.map +1 -1
- package/dist/providers/auth.d.ts.map +1 -1
- package/dist/providers/auth.js +48 -25
- package/dist/providers/auth.js.map +1 -1
- package/dist/remote-runner/attach-client.d.ts.map +1 -1
- package/dist/remote-runner/attach-client.js +1 -0
- package/dist/remote-runner/attach-client.js.map +1 -1
- package/dist/remote-runner/client.d.ts.map +1 -1
- package/dist/remote-runner/client.js +4 -7
- package/dist/remote-runner/client.js.map +1 -1
- package/dist/rpc/rpc-types.d.ts.map +1 -1
- package/dist/rpc/rpc-types.js +1 -0
- package/dist/rpc/rpc-types.js.map +1 -1
- package/dist/safety/action-firewall.d.ts.map +1 -1
- package/dist/safety/action-firewall.js +69 -6
- package/dist/safety/action-firewall.js.map +1 -1
- package/dist/safety/attack-patterns.d.ts.map +1 -1
- package/dist/safety/attack-patterns.js +31 -14
- package/dist/safety/attack-patterns.js.map +1 -1
- package/dist/safety/bash-parser.d.ts.map +1 -1
- package/dist/safety/bash-parser.js +4 -3
- package/dist/safety/bash-parser.js.map +1 -1
- package/dist/safety/execpolicy.d.ts +15 -3
- package/dist/safety/execpolicy.d.ts.map +1 -1
- package/dist/safety/execpolicy.js +248 -37
- package/dist/safety/execpolicy.js.map +1 -1
- package/dist/safety/governance-service-client.d.ts.map +1 -1
- package/dist/safety/governance-service-client.js +4 -7
- package/dist/safety/governance-service-client.js.map +1 -1
- package/dist/safety/guarded-files.d.ts +34 -0
- package/dist/safety/guarded-files.d.ts.map +1 -0
- package/dist/safety/guarded-files.js +372 -0
- package/dist/safety/guarded-files.js.map +1 -0
- package/dist/safety/loop-detector.d.ts.map +1 -1
- package/dist/safety/loop-detector.js +6 -1
- package/dist/safety/loop-detector.js.map +1 -1
- package/dist/safety/permission-profile.d.ts +47 -0
- package/dist/safety/permission-profile.d.ts.map +1 -0
- package/dist/safety/permission-profile.js +349 -0
- package/dist/safety/permission-profile.js.map +1 -0
- package/dist/safety/safety-middleware.d.ts +5 -1
- package/dist/safety/safety-middleware.d.ts.map +1 -1
- package/dist/safety/safety-middleware.js +3 -2
- package/dist/safety/safety-middleware.js.map +1 -1
- package/dist/safety/suspicious-patterns.d.ts.map +1 -1
- package/dist/safety/suspicious-patterns.js +12 -7
- package/dist/safety/suspicious-patterns.js.map +1 -1
- package/dist/safety/tool-categorization.js +1 -1
- package/dist/safety/tool-categorization.js.map +1 -1
- package/dist/safety/validators/path-policy-validator.d.ts.map +1 -1
- package/dist/safety/validators/path-policy-validator.js +7 -0
- package/dist/safety/validators/path-policy-validator.js.map +1 -1
- package/dist/sandbox/index.d.ts +6 -1
- package/dist/sandbox/index.d.ts.map +1 -1
- package/dist/sandbox/index.js +30 -4
- package/dist/sandbox/index.js.map +1 -1
- package/dist/sandbox/native-sandbox.d.ts +3 -0
- package/dist/sandbox/native-sandbox.d.ts.map +1 -1
- package/dist/sandbox/native-sandbox.js +139 -18
- package/dist/sandbox/native-sandbox.js.map +1 -1
- package/dist/sentry.d.ts +17 -0
- package/dist/sentry.d.ts.map +1 -0
- package/dist/sentry.js +91 -0
- package/dist/sentry.js.map +1 -0
- package/dist/server/agent-runtime-ledger.d.ts +141 -0
- package/dist/server/agent-runtime-ledger.d.ts.map +1 -0
- package/dist/server/agent-runtime-ledger.js +334 -0
- package/dist/server/agent-runtime-ledger.js.map +1 -0
- package/dist/server/agent-trajectory-inspection.d.ts +104 -0
- package/dist/server/agent-trajectory-inspection.d.ts.map +1 -0
- package/dist/server/agent-trajectory-inspection.js +168 -0
- package/dist/server/agent-trajectory-inspection.js.map +1 -0
- package/dist/server/agent-trajectory-replay.d.ts +56 -0
- package/dist/server/agent-trajectory-replay.d.ts.map +1 -0
- package/dist/server/agent-trajectory-replay.js +214 -0
- package/dist/server/agent-trajectory-replay.js.map +1 -0
- package/dist/server/agent-trajectory-scenarios.d.ts +109 -0
- package/dist/server/agent-trajectory-scenarios.d.ts.map +1 -0
- package/dist/server/agent-trajectory-scenarios.js +822 -0
- package/dist/server/agent-trajectory-scenarios.js.map +1 -0
- package/dist/server/agent-trajectory-scorers.d.ts +61 -0
- package/dist/server/agent-trajectory-scorers.d.ts.map +1 -0
- package/dist/server/agent-trajectory-scorers.js +162 -0
- package/dist/server/agent-trajectory-scorers.js.map +1 -0
- package/dist/server/agent-trajectory-validation.d.ts +7 -0
- package/dist/server/agent-trajectory-validation.d.ts.map +1 -0
- package/dist/server/agent-trajectory-validation.js +101 -0
- package/dist/server/agent-trajectory-validation.js.map +1 -0
- package/dist/server/agent-trajectory.d.ts +50 -0
- package/dist/server/agent-trajectory.d.ts.map +1 -0
- package/dist/server/agent-trajectory.js +159 -0
- package/dist/server/agent-trajectory.js.map +1 -0
- package/dist/server/app-context.d.ts +18 -0
- package/dist/server/app-context.d.ts.map +1 -1
- package/dist/server/app-context.js.map +1 -1
- package/dist/server/handlers/headless-sessions.d.ts.map +1 -1
- package/dist/server/handlers/headless-sessions.js +64 -27
- package/dist/server/handlers/headless-sessions.js.map +1 -1
- package/dist/server/handlers/health.d.ts +6 -0
- package/dist/server/handlers/health.d.ts.map +1 -1
- package/dist/server/handlers/health.js +6 -0
- package/dist/server/handlers/health.js.map +1 -1
- package/dist/server/handlers/hosted-runner-drain.d.ts +69 -1
- package/dist/server/handlers/hosted-runner-drain.d.ts.map +1 -1
- package/dist/server/handlers/hosted-runner-drain.js +309 -18
- package/dist/server/handlers/hosted-runner-drain.js.map +1 -1
- package/dist/server/handlers/hosted-runner-identity.d.ts +16 -0
- package/dist/server/handlers/hosted-runner-identity.d.ts.map +1 -1
- package/dist/server/handlers/hosted-runner-identity.js +43 -0
- package/dist/server/handlers/hosted-runner-identity.js.map +1 -1
- package/dist/server/handlers/mode.d.ts.map +1 -1
- package/dist/server/handlers/mode.js +3 -1
- package/dist/server/handlers/mode.js.map +1 -1
- package/dist/server/handlers/pending-requests.d.ts.map +1 -1
- package/dist/server/handlers/pending-requests.js +336 -51
- package/dist/server/handlers/pending-requests.js.map +1 -1
- package/dist/server/handlers/platform-a2a-push.d.ts +6 -0
- package/dist/server/handlers/platform-a2a-push.d.ts.map +1 -0
- package/dist/server/handlers/platform-a2a-push.js +136 -0
- package/dist/server/handlers/platform-a2a-push.js.map +1 -0
- package/dist/server/handlers/sessions.d.ts.map +1 -1
- package/dist/server/handlers/sessions.js +21 -1
- package/dist/server/handlers/sessions.js.map +1 -1
- package/dist/server/headless-runtime-service.d.ts +9 -2
- package/dist/server/headless-runtime-service.d.ts.map +1 -1
- package/dist/server/headless-runtime-service.js +39 -0
- package/dist/server/headless-runtime-service.js.map +1 -1
- package/dist/server/hosted-agent-runtime-progress.d.ts +144 -0
- package/dist/server/hosted-agent-runtime-progress.d.ts.map +1 -0
- package/dist/server/hosted-agent-runtime-progress.js +1650 -0
- package/dist/server/hosted-agent-runtime-progress.js.map +1 -0
- package/dist/server/hosted-runner-lease.d.ts +41 -0
- package/dist/server/hosted-runner-lease.d.ts.map +1 -0
- package/dist/server/hosted-runner-lease.js +140 -0
- package/dist/server/hosted-runner-lease.js.map +1 -0
- package/dist/server/hosted-session-manager.d.ts +16 -8
- package/dist/server/hosted-session-manager.d.ts.map +1 -1
- package/dist/server/hosted-session-manager.js +98 -76
- package/dist/server/hosted-session-manager.js.map +1 -1
- package/dist/server/junit-xml.d.ts +2 -0
- package/dist/server/junit-xml.d.ts.map +1 -0
- package/dist/server/junit-xml.js +9 -0
- package/dist/server/junit-xml.js.map +1 -0
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +6 -0
- package/dist/server/routes.js.map +1 -1
- package/dist/server/scenario-recorder.d.ts +56 -0
- package/dist/server/scenario-recorder.d.ts.map +1 -0
- package/dist/server/scenario-recorder.js +109 -0
- package/dist/server/scenario-recorder.js.map +1 -0
- package/dist/server/scripted-scenario-runner.d.ts +46 -0
- package/dist/server/scripted-scenario-runner.d.ts.map +1 -0
- package/dist/server/scripted-scenario-runner.js +190 -0
- package/dist/server/scripted-scenario-runner.js.map +1 -0
- package/dist/server/server-middlewares.d.ts +6 -2
- package/dist/server/server-middlewares.d.ts.map +1 -1
- package/dist/server/server-middlewares.js +8 -2
- package/dist/server/server-middlewares.js.map +1 -1
- package/dist/server/server-request-manager.d.ts +9 -1
- package/dist/server/server-request-manager.d.ts.map +1 -1
- package/dist/server/server-request-manager.js +49 -4
- package/dist/server/server-request-manager.js.map +1 -1
- package/dist/services/intelligent-router/service.d.ts +2 -0
- package/dist/services/intelligent-router/service.d.ts.map +1 -1
- package/dist/services/intelligent-router/service.js +4 -0
- package/dist/services/intelligent-router/service.js.map +1 -1
- package/dist/services/service-authority.d.ts +25 -0
- package/dist/services/service-authority.d.ts.map +1 -0
- package/dist/services/service-authority.js +143 -0
- package/dist/services/service-authority.js.map +1 -0
- package/dist/services/workspace-config/service.d.ts +2 -0
- package/dist/services/workspace-config/service.d.ts.map +1 -1
- package/dist/services/workspace-config/service.js +4 -0
- package/dist/services/workspace-config/service.js.map +1 -1
- package/dist/session/manager.d.ts +8 -2
- package/dist/session/manager.d.ts.map +1 -1
- package/dist/session/manager.js +19 -4
- package/dist/session/manager.js.map +1 -1
- package/dist/session/session-branch.d.ts.map +1 -1
- package/dist/session/session-branch.js +5 -1
- package/dist/session/session-branch.js.map +1 -1
- package/dist/session/session-catalog.d.ts +7 -2
- package/dist/session/session-catalog.d.ts.map +1 -1
- package/dist/session/session-catalog.js +13 -2
- package/dist/session/session-catalog.js.map +1 -1
- package/dist/session/session-context.d.ts +6 -2
- package/dist/session/session-context.d.ts.map +1 -1
- package/dist/session/session-context.js +44 -4
- package/dist/session/session-context.js.map +1 -1
- package/dist/session/session-graph-projection.d.ts +32 -0
- package/dist/session/session-graph-projection.d.ts.map +1 -0
- package/dist/session/session-graph-projection.js +133 -0
- package/dist/session/session-graph-projection.js.map +1 -0
- package/dist/session/types.d.ts +18 -0
- package/dist/session/types.d.ts.map +1 -1
- package/dist/session/types.js +8 -0
- package/dist/session/types.js.map +1 -1
- package/dist/session/wire-format.generated.d.ts +3 -0
- package/dist/session/wire-format.generated.d.ts.map +1 -1
- package/dist/session/wire-format.generated.js +20 -0
- package/dist/session/wire-format.generated.js.map +1 -1
- package/dist/skills/eval-harness.d.ts +38 -0
- package/dist/skills/eval-harness.d.ts.map +1 -0
- package/dist/skills/eval-harness.js +112 -0
- package/dist/skills/eval-harness.js.map +1 -0
- package/dist/skills/index.d.ts +5 -1
- package/dist/skills/index.d.ts.map +1 -1
- package/dist/skills/index.js +5 -1
- package/dist/skills/index.js.map +1 -1
- package/dist/skills/linter.d.ts +36 -0
- package/dist/skills/linter.d.ts.map +1 -0
- package/dist/skills/linter.js +398 -0
- package/dist/skills/linter.js.map +1 -0
- package/dist/skills/loader.d.ts +36 -6
- package/dist/skills/loader.d.ts.map +1 -1
- package/dist/skills/loader.js +169 -86
- package/dist/skills/loader.js.map +1 -1
- package/dist/skills/package-contract.d.ts +45 -0
- package/dist/skills/package-contract.d.ts.map +1 -0
- package/dist/skills/package-contract.js +153 -0
- package/dist/skills/package-contract.js.map +1 -0
- package/dist/skills/runtime-activation.d.ts +68 -0
- package/dist/skills/runtime-activation.d.ts.map +1 -0
- package/dist/skills/runtime-activation.js +228 -0
- package/dist/skills/runtime-activation.js.map +1 -0
- package/dist/skills/service-client.d.ts.map +1 -1
- package/dist/skills/service-client.js +3 -4
- package/dist/skills/service-client.js.map +1 -1
- package/dist/skills/tool.d.ts.map +1 -1
- package/dist/skills/tool.js +2 -0
- package/dist/skills/tool.js.map +1 -1
- package/dist/skills/types.d.ts +14 -0
- package/dist/skills/types.d.ts.map +1 -1
- package/dist/skills/types.js.map +1 -1
- package/dist/telemetry/agent-operating-plane-context.d.ts +24 -0
- package/dist/telemetry/agent-operating-plane-context.d.ts.map +1 -0
- package/dist/telemetry/agent-operating-plane-context.js +54 -0
- package/dist/telemetry/agent-operating-plane-context.js.map +1 -0
- package/dist/telemetry/beacon.d.ts +24 -0
- package/dist/telemetry/beacon.d.ts.map +1 -0
- package/dist/telemetry/beacon.js +115 -0
- package/dist/telemetry/beacon.js.map +1 -0
- package/dist/telemetry/cli-command-aggregator.d.ts +36 -0
- package/dist/telemetry/cli-command-aggregator.d.ts.map +1 -0
- package/dist/telemetry/cli-command-aggregator.js +251 -0
- package/dist/telemetry/cli-command-aggregator.js.map +1 -0
- package/dist/telemetry/cli-startup.d.ts +21 -0
- package/dist/telemetry/cli-startup.d.ts.map +1 -0
- package/dist/telemetry/cli-startup.js +83 -0
- package/dist/telemetry/cli-startup.js.map +1 -0
- package/dist/telemetry/disablement.d.ts +13 -0
- package/dist/telemetry/disablement.d.ts.map +1 -0
- package/dist/telemetry/disablement.js +19 -0
- package/dist/telemetry/disablement.js.map +1 -0
- package/dist/telemetry/index.d.ts +6 -2
- package/dist/telemetry/index.d.ts.map +1 -1
- package/dist/telemetry/index.js +6 -2
- package/dist/telemetry/index.js.map +1 -1
- package/dist/telemetry/maestro-event-bus.d.ts +52 -0
- package/dist/telemetry/maestro-event-bus.d.ts.map +1 -1
- package/dist/telemetry/maestro-event-bus.js +179 -3
- package/dist/telemetry/maestro-event-bus.js.map +1 -1
- package/dist/telemetry/maestro-event-catalog.d.ts +3 -1
- package/dist/telemetry/maestro-event-catalog.d.ts.map +1 -1
- package/dist/telemetry/maestro-event-catalog.js +2 -0
- package/dist/telemetry/maestro-event-catalog.js.map +1 -1
- package/dist/telemetry/maestro-platform-replay-fixture.d.ts.map +1 -1
- package/dist/telemetry/maestro-platform-replay-fixture.js +74 -9
- package/dist/telemetry/maestro-platform-replay-fixture.js.map +1 -1
- package/dist/telemetry/maestro-publisher-conformance-fixture.d.ts +1 -1
- package/dist/telemetry/maestro-publisher-conformance-fixture.d.ts.map +1 -1
- package/dist/telemetry/maestro-publisher-conformance-fixture.js +46 -11
- package/dist/telemetry/maestro-publisher-conformance-fixture.js.map +1 -1
- package/dist/telemetry/mcp-beacon.d.ts +20 -0
- package/dist/telemetry/mcp-beacon.d.ts.map +1 -0
- package/dist/telemetry/mcp-beacon.js +54 -0
- package/dist/telemetry/mcp-beacon.js.map +1 -0
- package/dist/telemetry/metadata-normalization.d.ts +7 -0
- package/dist/telemetry/metadata-normalization.d.ts.map +1 -0
- package/dist/telemetry/metadata-normalization.js +189 -0
- package/dist/telemetry/metadata-normalization.js.map +1 -0
- package/dist/telemetry/meter-service-client.d.ts.map +1 -1
- package/dist/telemetry/meter-service-client.js +5 -10
- package/dist/telemetry/meter-service-client.js.map +1 -1
- package/dist/telemetry/metrics.d.ts +123 -0
- package/dist/telemetry/metrics.d.ts.map +1 -0
- package/dist/telemetry/metrics.js +184 -0
- package/dist/telemetry/metrics.js.map +1 -0
- package/dist/telemetry/turn-tracker.d.ts +1 -0
- package/dist/telemetry/turn-tracker.d.ts.map +1 -1
- package/dist/telemetry/turn-tracker.js +22 -1
- package/dist/telemetry/turn-tracker.js.map +1 -1
- package/dist/telemetry/wide-events.d.ts +31 -1
- package/dist/telemetry/wide-events.d.ts.map +1 -1
- package/dist/telemetry/wide-events.js +229 -1
- package/dist/telemetry/wide-events.js.map +1 -1
- package/dist/telemetry.d.ts +39 -3
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +160 -3
- package/dist/telemetry.js.map +1 -1
- package/dist/testing/test-verification-hook.d.ts.map +1 -1
- package/dist/testing/test-verification-hook.js +34 -21
- package/dist/testing/test-verification-hook.js.map +1 -1
- package/dist/tools/apply-patch-parser.d.ts +26 -0
- package/dist/tools/apply-patch-parser.d.ts.map +1 -0
- package/dist/tools/apply-patch-parser.js +146 -0
- package/dist/tools/apply-patch-parser.js.map +1 -0
- package/dist/tools/apply-patch.d.ts +42 -0
- package/dist/tools/apply-patch.d.ts.map +1 -0
- package/dist/tools/apply-patch.js +648 -0
- package/dist/tools/apply-patch.js.map +1 -0
- package/dist/tools/ask-user.d.ts +1 -0
- package/dist/tools/ask-user.d.ts.map +1 -1
- package/dist/tools/background/tool-handler.d.ts +1 -0
- package/dist/tools/background/tool-handler.d.ts.map +1 -1
- package/dist/tools/bash.d.ts +1 -0
- package/dist/tools/bash.d.ts.map +1 -1
- package/dist/tools/codesearch.d.ts +1 -0
- package/dist/tools/codesearch.d.ts.map +1 -1
- package/dist/tools/conductor-client.d.ts +1 -0
- package/dist/tools/conductor-client.d.ts.map +1 -1
- package/dist/tools/conductor-client.js +63 -0
- package/dist/tools/conductor-client.js.map +1 -1
- package/dist/tools/diff.d.ts +1 -0
- package/dist/tools/diff.d.ts.map +1 -1
- package/dist/tools/edit.d.ts +1 -0
- package/dist/tools/edit.d.ts.map +1 -1
- package/dist/tools/extract-document.d.ts +1 -0
- package/dist/tools/extract-document.d.ts.map +1 -1
- package/dist/tools/find.d.ts +10 -0
- package/dist/tools/find.d.ts.map +1 -1
- package/dist/tools/find.js +236 -27
- package/dist/tools/find.js.map +1 -1
- package/dist/tools/gh.d.ts +3 -0
- package/dist/tools/gh.d.ts.map +1 -1
- package/dist/tools/index.d.ts +50 -0
- 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/list.d.ts +1 -0
- package/dist/tools/list.d.ts.map +1 -1
- package/dist/tools/notebook.d.ts +1 -0
- package/dist/tools/notebook.d.ts.map +1 -1
- package/dist/tools/oracle.d.ts +1 -0
- package/dist/tools/oracle.d.ts.map +1 -1
- package/dist/tools/oracle.js +17 -32
- package/dist/tools/oracle.js.map +1 -1
- package/dist/tools/parallel-execution.d.ts +13 -2
- package/dist/tools/parallel-execution.d.ts.map +1 -1
- package/dist/tools/parallel-execution.js +178 -7
- package/dist/tools/parallel-execution.js.map +1 -1
- package/dist/tools/parallel-ripgrep.d.ts +1 -0
- package/dist/tools/parallel-ripgrep.d.ts.map +1 -1
- package/dist/tools/pipeline.d.ts +4 -0
- package/dist/tools/pipeline.d.ts.map +1 -1
- package/dist/tools/read.d.ts +1 -0
- package/dist/tools/read.d.ts.map +1 -1
- package/dist/tools/search.d.ts +1 -0
- package/dist/tools/search.d.ts.map +1 -1
- package/dist/tools/status.d.ts +1 -0
- package/dist/tools/status.d.ts.map +1 -1
- package/dist/tools/todo.d.ts +1 -0
- package/dist/tools/todo.d.ts.map +1 -1
- package/dist/tools/tool-dsl.d.ts +5 -1
- package/dist/tools/tool-dsl.d.ts.map +1 -1
- package/dist/tools/tool-dsl.js +1 -0
- package/dist/tools/tool-dsl.js.map +1 -1
- package/dist/tools/tool-result-cache.d.ts.map +1 -1
- package/dist/tools/tool-result-cache.js +1 -0
- package/dist/tools/tool-result-cache.js.map +1 -1
- package/dist/tools/typebox-tool.d.ts.map +1 -1
- package/dist/tools/typebox-tool.js +3 -0
- package/dist/tools/typebox-tool.js.map +1 -1
- package/dist/tools/webfetch.d.ts +1 -0
- package/dist/tools/webfetch.d.ts.map +1 -1
- package/dist/tools/websearch.d.ts +1 -0
- package/dist/tools/websearch.d.ts.map +1 -1
- package/dist/tools/write.d.ts +1 -0
- package/dist/tools/write.d.ts.map +1 -1
- package/dist/utils/abort-error.d.ts +2 -0
- package/dist/utils/abort-error.d.ts.map +1 -0
- package/dist/utils/abort-error.js +7 -0
- package/dist/utils/abort-error.js.map +1 -0
- package/dist/utils/downstream.d.ts.map +1 -1
- package/dist/utils/downstream.js +4 -0
- package/dist/utils/downstream.js.map +1 -1
- package/dist/utils/logger.d.ts +3 -0
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +14 -3
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/path-containment.d.ts +2 -0
- package/dist/utils/path-containment.d.ts.map +1 -0
- package/dist/utils/path-containment.js +14 -0
- package/dist/utils/path-containment.js.map +1 -0
- package/dist/utils/prompt-safe-text.d.ts +7 -0
- package/dist/utils/prompt-safe-text.d.ts.map +1 -0
- package/dist/utils/prompt-safe-text.js +44 -0
- package/dist/utils/prompt-safe-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 +32 -7
- package/dist/web-server.js.map +1 -1
- package/dist/workspace/root-resolver.d.ts +4 -1
- package/dist/workspace/root-resolver.d.ts.map +1 -1
- package/dist/workspace/root-resolver.js +16 -6
- package/dist/workspace/root-resolver.js.map +1 -1
- package/package.json +283 -248
- package/skills/incident-triage/SKILL.md +40 -0
- package/skills/incident-triage/mcp.json +14 -0
- package/skills/incident-triage/reference/triage.md +20 -0
- package/skills/incident-triage/toolbox/incident-timeline +22 -0
- package/skills/incident-triage/toolbox/incident-timeline.cmd +16 -0
- package/skills/pr-review/SKILL.md +40 -0
- package/skills/pr-review/mcp.json +14 -0
- package/skills/pr-review/reference/rubric.md +20 -0
- package/skills/pr-review/toolbox/review-summary +20 -0
- package/skills/pr-review/toolbox/review-summary.cmd +14 -0
- package/skills/release-verification/SKILL.md +40 -0
- package/skills/release-verification/mcp.json +15 -0
- package/skills/release-verification/reference/checklist.md +21 -0
- package/skills/release-verification/toolbox/release-readiness +18 -0
- package/skills/release-verification/toolbox/release-readiness.cmd +12 -0
- package/node_modules/@bufbuild/protobuf/README.md +0 -44
- package/node_modules/@bufbuild/protobuf/dist/cjs/clone.d.ts +0 -6
- package/node_modules/@bufbuild/protobuf/dist/cjs/clone.js +0 -66
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/enum.d.ts +0 -10
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/enum.js +0 -31
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/extension.d.ts +0 -9
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/extension.js +0 -28
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/file.d.ts +0 -1
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/file.js +0 -18
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/index.d.ts +0 -10
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/index.js +0 -39
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/message.d.ts +0 -10
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/message.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/service.d.ts +0 -8
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/service.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/symbols.d.ts +0 -135
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/symbols.js +0 -43
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/types.d.ts +0 -75
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/types.js +0 -22
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/boot.d.ts +0 -63
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/boot.js +0 -105
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/embed.d.ts +0 -43
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/embed.js +0 -244
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/enum.d.ts +0 -18
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/enum.js +0 -40
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/extension.d.ts +0 -9
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/extension.js +0 -28
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/file.d.ts +0 -7
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/file.js +0 -35
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/index.d.ts +0 -10
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/index.js +0 -39
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/message.d.ts +0 -15
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/message.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/restore-json-names.d.ts +0 -5
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/restore-json-names.js +0 -29
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/scalar.d.ts +0 -9
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/scalar.js +0 -67
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/service.d.ts +0 -8
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/service.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/symbols.d.ts +0 -135
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/symbols.js +0 -72
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/types.d.ts +0 -81
- package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/types.js +0 -22
- package/node_modules/@bufbuild/protobuf/dist/cjs/create.d.ts +0 -9
- package/node_modules/@bufbuild/protobuf/dist/cjs/create.js +0 -259
- package/node_modules/@bufbuild/protobuf/dist/cjs/descriptors.d.ts +0 -634
- package/node_modules/@bufbuild/protobuf/dist/cjs/descriptors.js +0 -53
- package/node_modules/@bufbuild/protobuf/dist/cjs/equals.d.ts +0 -41
- package/node_modules/@bufbuild/protobuf/dist/cjs/equals.js +0 -204
- package/node_modules/@bufbuild/protobuf/dist/cjs/extensions.d.ts +0 -59
- package/node_modules/@bufbuild/protobuf/dist/cjs/extensions.js +0 -169
- package/node_modules/@bufbuild/protobuf/dist/cjs/fields.d.ts +0 -23
- package/node_modules/@bufbuild/protobuf/dist/cjs/fields.js +0 -45
- package/node_modules/@bufbuild/protobuf/dist/cjs/from-binary.d.ts +0 -34
- package/node_modules/@bufbuild/protobuf/dist/cjs/from-binary.js +0 -241
- package/node_modules/@bufbuild/protobuf/dist/cjs/from-json.d.ts +0 -56
- package/node_modules/@bufbuild/protobuf/dist/cjs/from-json.js +0 -619
- package/node_modules/@bufbuild/protobuf/dist/cjs/index.d.ts +0 -18
- package/node_modules/@bufbuild/protobuf/dist/cjs/index.js +0 -54
- package/node_modules/@bufbuild/protobuf/dist/cjs/is-message.d.ts +0 -7
- package/node_modules/@bufbuild/protobuf/dist/cjs/is-message.js +0 -33
- package/node_modules/@bufbuild/protobuf/dist/cjs/json-value.d.ts +0 -16
- package/node_modules/@bufbuild/protobuf/dist/cjs/json-value.js +0 -15
- package/node_modules/@bufbuild/protobuf/dist/cjs/merge.d.ts +0 -13
- package/node_modules/@bufbuild/protobuf/dist/cjs/merge.js +0 -70
- package/node_modules/@bufbuild/protobuf/dist/cjs/package.json +0 -1
- package/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.d.ts +0 -98
- package/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.js +0 -130
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/error.d.ts +0 -9
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/error.js +0 -36
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/guard.d.ts +0 -20
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/guard.js +0 -78
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/index.d.ts +0 -8
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/index.js +0 -41
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/names.d.ts +0 -30
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/names.js +0 -115
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/nested-types.d.ts +0 -35
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/nested-types.js +0 -110
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/path.d.ts +0 -107
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/path.js +0 -376
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-check.d.ts +0 -19
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-check.js +0 -266
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-types.d.ts +0 -217
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-types.js +0 -16
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect.d.ts +0 -43
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect.js +0 -545
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/scalar.d.ts +0 -21
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/scalar.js +0 -102
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/unsafe.d.ts +0 -39
- package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/unsafe.js +0 -149
- package/node_modules/@bufbuild/protobuf/dist/cjs/registry.d.ts +0 -98
- package/node_modules/@bufbuild/protobuf/dist/cjs/registry.js +0 -945
- package/node_modules/@bufbuild/protobuf/dist/cjs/to-binary.d.ts +0 -24
- package/node_modules/@bufbuild/protobuf/dist/cjs/to-binary.js +0 -199
- package/node_modules/@bufbuild/protobuf/dist/cjs/to-json.d.ts +0 -67
- package/node_modules/@bufbuild/protobuf/dist/cjs/to-json.js +0 -391
- package/node_modules/@bufbuild/protobuf/dist/cjs/types.d.ts +0 -128
- package/node_modules/@bufbuild/protobuf/dist/cjs/types.js +0 -15
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/base64-encoding.d.ts +0 -23
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/base64-encoding.js +0 -156
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.d.ts +0 -266
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.js +0 -525
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/index.d.ts +0 -5
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/index.js +0 -34
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/size-delimited.d.ts +0 -51
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/size-delimited.js +0 -153
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-encoding.d.ts +0 -28
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-encoding.js +0 -61
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-format.d.ts +0 -13
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-format.js +0 -199
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/varint.d.ts +0 -70
- package/node_modules/@bufbuild/protobuf/dist/cjs/wire/varint.js +0 -322
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/any.d.ts +0 -38
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/any.js +0 -75
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/duration.d.ts +0 -9
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/duration.js +0 -39
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/any_pb.d.ts +0 -238
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/any_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/api_pb.d.ts +0 -537
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/api_pb.js +0 -39
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts +0 -490
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -68
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/cpp_features_pb.d.ts +0 -91
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/cpp_features_pb.js +0 -60
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.d.ts +0 -4143
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.js +0 -892
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/duration_pb.d.ts +0 -161
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/duration_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/empty_pb.d.ts +0 -39
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/empty_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.d.ts +0 -424
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/go_features_pb.d.ts +0 -189
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/go_features_pb.js +0 -126
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/java_features_pb.d.ts +0 -194
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/java_features_pb.js +0 -106
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/source_context_pb.d.ts +0 -43
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/source_context_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/struct_pb.d.ts +0 -195
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/struct_pb.js +0 -59
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.d.ts +0 -222
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/type_pb.d.ts +0 -722
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/type_pb.js +0 -242
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.d.ts +0 -330
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.js +0 -67
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/index.d.ts +0 -19
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/index.js +0 -48
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/timestamp.d.ts +0 -21
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/timestamp.js +0 -57
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/wrappers.d.ts +0 -25
- package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/wrappers.js +0 -66
- package/node_modules/@bufbuild/protobuf/dist/esm/clone.d.ts +0 -6
- package/node_modules/@bufbuild/protobuf/dist/esm/clone.js +0 -63
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.d.ts +0 -10
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.js +0 -26
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.d.ts +0 -9
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.js +0 -25
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.d.ts +0 -1
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.d.ts +0 -10
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.js +0 -23
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.d.ts +0 -10
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.js +0 -21
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.d.ts +0 -8
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.d.ts +0 -135
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.js +0 -40
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.d.ts +0 -75
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.js +0 -21
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/boot.d.ts +0 -63
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/boot.js +0 -101
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.d.ts +0 -43
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +0 -239
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.d.ts +0 -18
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +0 -36
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.d.ts +0 -9
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +0 -25
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.d.ts +0 -7
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +0 -32
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.d.ts +0 -10
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +0 -23
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/message.d.ts +0 -15
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/message.js +0 -21
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/restore-json-names.d.ts +0 -5
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/restore-json-names.js +0 -26
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.d.ts +0 -9
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +0 -63
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.d.ts +0 -8
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.d.ts +0 -135
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +0 -69
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.d.ts +0 -81
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +0 -21
- package/node_modules/@bufbuild/protobuf/dist/esm/create.d.ts +0 -9
- package/node_modules/@bufbuild/protobuf/dist/esm/create.js +0 -256
- package/node_modules/@bufbuild/protobuf/dist/esm/descriptors.d.ts +0 -634
- package/node_modules/@bufbuild/protobuf/dist/esm/descriptors.js +0 -50
- package/node_modules/@bufbuild/protobuf/dist/esm/equals.d.ts +0 -41
- package/node_modules/@bufbuild/protobuf/dist/esm/equals.js +0 -201
- package/node_modules/@bufbuild/protobuf/dist/esm/extensions.d.ts +0 -59
- package/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +0 -160
- package/node_modules/@bufbuild/protobuf/dist/esm/fields.d.ts +0 -23
- package/node_modules/@bufbuild/protobuf/dist/esm/fields.js +0 -41
- package/node_modules/@bufbuild/protobuf/dist/esm/from-binary.d.ts +0 -34
- package/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +0 -236
- package/node_modules/@bufbuild/protobuf/dist/esm/from-json.d.ts +0 -56
- package/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +0 -611
- package/node_modules/@bufbuild/protobuf/dist/esm/index.d.ts +0 -18
- package/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -28
- package/node_modules/@bufbuild/protobuf/dist/esm/is-message.d.ts +0 -7
- package/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +0 -30
- package/node_modules/@bufbuild/protobuf/dist/esm/json-value.d.ts +0 -16
- package/node_modules/@bufbuild/protobuf/dist/esm/json-value.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/merge.d.ts +0 -13
- package/node_modules/@bufbuild/protobuf/dist/esm/merge.js +0 -67
- package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.d.ts +0 -98
- package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +0 -127
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.d.ts +0 -9
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +0 -31
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.d.ts +0 -20
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +0 -71
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/index.d.ts +0 -8
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/index.js +0 -21
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.d.ts +0 -30
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +0 -109
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.d.ts +0 -35
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +0 -105
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/path.d.ts +0 -107
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/path.js +0 -369
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.d.ts +0 -19
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js +0 -260
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.d.ts +0 -217
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.d.ts +0 -43
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +0 -540
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.d.ts +0 -21
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +0 -97
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.d.ts +0 -39
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +0 -140
- package/node_modules/@bufbuild/protobuf/dist/esm/registry.d.ts +0 -98
- package/node_modules/@bufbuild/protobuf/dist/esm/registry.js +0 -939
- package/node_modules/@bufbuild/protobuf/dist/esm/to-binary.d.ts +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js +0 -195
- package/node_modules/@bufbuild/protobuf/dist/esm/to-json.d.ts +0 -67
- package/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +0 -386
- package/node_modules/@bufbuild/protobuf/dist/esm/types.d.ts +0 -128
- package/node_modules/@bufbuild/protobuf/dist/esm/types.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.d.ts +0 -23
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +0 -152
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.d.ts +0 -266
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +0 -520
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/index.d.ts +0 -5
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +0 -18
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.d.ts +0 -51
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +0 -148
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.d.ts +0 -28
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +0 -57
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.d.ts +0 -13
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js +0 -195
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.d.ts +0 -70
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js +0 -313
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.d.ts +0 -38
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +0 -69
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.d.ts +0 -9
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +0 -35
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.d.ts +0 -238
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.d.ts +0 -537
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +0 -36
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts +0 -490
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -65
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.d.ts +0 -91
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +0 -57
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.d.ts +0 -4143
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +0 -888
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.d.ts +0 -161
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.d.ts +0 -39
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.d.ts +0 -424
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.d.ts +0 -189
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +0 -123
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.d.ts +0 -194
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +0 -103
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.d.ts +0 -43
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.d.ts +0 -195
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +0 -56
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.d.ts +0 -222
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.d.ts +0 -722
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +0 -239
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.d.ts +0 -330
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +0 -64
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.d.ts +0 -19
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +0 -32
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.d.ts +0 -21
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +0 -50
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.d.ts +0 -25
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js +0 -61
- package/node_modules/@bufbuild/protobuf/package.json +0 -68
- package/node_modules/@evalops/contracts/README.md +0 -69
- package/node_modules/@evalops/contracts/dist/headless-protocol-generated.d.ts +0 -38
- package/node_modules/@evalops/contracts/dist/headless-protocol-generated.d.ts.map +0 -1
- package/node_modules/@evalops/contracts/dist/headless-protocol-generated.js +0 -121
- package/node_modules/@evalops/contracts/dist/headless-protocol-generated.js.map +0 -1
- package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.d.ts +0 -2998
- package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.d.ts.map +0 -1
- package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.js +0 -631
- package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.js.map +0 -1
- package/node_modules/@evalops/contracts/dist/index.d.ts +0 -1110
- package/node_modules/@evalops/contracts/dist/index.d.ts.map +0 -1
- package/node_modules/@evalops/contracts/dist/index.js +0 -59
- package/node_modules/@evalops/contracts/dist/index.js.map +0 -1
- package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.d.ts +0 -2126
- package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.d.ts.map +0 -1
- package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.js +0 -848
- package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.js.map +0 -1
- package/node_modules/@evalops/contracts/dist/runtime-app-server.d.ts +0 -182
- package/node_modules/@evalops/contracts/dist/runtime-app-server.d.ts.map +0 -1
- package/node_modules/@evalops/contracts/dist/runtime-server-request.d.ts +0 -133
- package/node_modules/@evalops/contracts/dist/runtime-server-request.d.ts.map +0 -1
- package/node_modules/@evalops/contracts/dist/runtime-server-request.js +0 -68
- package/node_modules/@evalops/contracts/dist/runtime-server-request.js.map +0 -1
- package/node_modules/@evalops/contracts/dist/schemas.d.ts +0 -3600
- package/node_modules/@evalops/contracts/dist/schemas.d.ts.map +0 -1
- package/node_modules/@evalops/contracts/dist/schemas.js +0 -1066
- package/node_modules/@evalops/contracts/dist/schemas.js.map +0 -1
- package/node_modules/@evalops/contracts/package.json +0 -30
- package/node_modules/@evalops/tui/README.md +0 -255
- package/node_modules/@evalops/tui/dist/testing/index.d.ts +0 -46
- package/node_modules/@evalops/tui/dist/testing/index.d.ts.map +0 -1
- package/node_modules/@evalops/tui/dist/testing/index.js +0 -46
- package/node_modules/@evalops/tui/dist/testing/index.js.map +0 -1
- package/node_modules/@evalops/tui/dist/testing/virtual-terminal.d.ts +0 -147
- package/node_modules/@evalops/tui/dist/testing/virtual-terminal.d.ts.map +0 -1
- package/node_modules/@evalops/tui/dist/testing/virtual-terminal.js +0 -269
- package/node_modules/@evalops/tui/dist/testing/virtual-terminal.js.map +0 -1
- package/node_modules/@evalops/tui/package.json +0 -58
- package/node_modules/@sinclair/typebox/build/cjs/compiler/compiler.d.ts +0 -55
- package/node_modules/@sinclair/typebox/build/cjs/compiler/compiler.js +0 -670
- package/node_modules/@sinclair/typebox/build/cjs/compiler/index.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/compiler/index.js +0 -22
- package/node_modules/@sinclair/typebox/build/cjs/errors/errors.d.ts +0 -91
- package/node_modules/@sinclair/typebox/build/cjs/errors/errors.js +0 -599
- package/node_modules/@sinclair/typebox/build/cjs/errors/function.d.ts +0 -21
- package/node_modules/@sinclair/typebox/build/cjs/errors/function.js +0 -153
- package/node_modules/@sinclair/typebox/build/cjs/errors/index.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/errors/index.js +0 -19
- package/node_modules/@sinclair/typebox/build/cjs/index.d.ts +0 -71
- package/node_modules/@sinclair/typebox/build/cjs/index.js +0 -97
- package/node_modules/@sinclair/typebox/build/cjs/parser/index.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/parser/index.js +0 -39
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/guard.d.ts +0 -23
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/guard.js +0 -86
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/index.d.ts +0 -5
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/index.js +0 -45
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/module.d.ts +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/module.js +0 -22
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/parse.d.ts +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/parse.js +0 -160
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/token.d.ts +0 -8
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/token.js +0 -230
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/types.d.ts +0 -98
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/types.js +0 -71
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/index.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/index.js +0 -43
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/parse.d.ts +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/parse.js +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/token.d.ts +0 -108
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/token.js +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/types.d.ts +0 -69
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/types.js +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/syntax/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/syntax/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/syntax/mapping.d.ts +0 -167
- package/node_modules/@sinclair/typebox/build/cjs/syntax/mapping.js +0 -491
- package/node_modules/@sinclair/typebox/build/cjs/syntax/parser.d.ts +0 -162
- package/node_modules/@sinclair/typebox/build/cjs/syntax/parser.js +0 -191
- package/node_modules/@sinclair/typebox/build/cjs/syntax/syntax.d.ts +0 -12
- package/node_modules/@sinclair/typebox/build/cjs/syntax/syntax.js +0 -54
- package/node_modules/@sinclair/typebox/build/cjs/system/index.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/system/index.js +0 -19
- package/node_modules/@sinclair/typebox/build/cjs/system/policy.d.ts +0 -29
- package/node_modules/@sinclair/typebox/build/cjs/system/policy.js +0 -58
- package/node_modules/@sinclair/typebox/build/cjs/system/system.d.ts +0 -16
- package/node_modules/@sinclair/typebox/build/cjs/system/system.js +0 -43
- package/node_modules/@sinclair/typebox/build/cjs/type/any/any.d.ts +0 -8
- package/node_modules/@sinclair/typebox/build/cjs/type/any/any.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/any/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/any/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/argument/argument.d.ts +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/argument/argument.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/argument/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/argument/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/array/array.d.ts +0 -28
- package/node_modules/@sinclair/typebox/build/cjs/type/array/array.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/array/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/array/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/async-iterator.d.ts +0 -11
- package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/async-iterator.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/awaited/awaited.d.ts +0 -14
- package/node_modules/@sinclair/typebox/build/cjs/type/awaited/awaited.js +0 -41
- package/node_modules/@sinclair/typebox/build/cjs/type/awaited/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/awaited/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/bigint/bigint.d.ts +0 -16
- package/node_modules/@sinclair/typebox/build/cjs/type/bigint/bigint.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/bigint/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/bigint/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/boolean/boolean.d.ts +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/boolean/boolean.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/boolean/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/boolean/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/clone/index.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/type/clone/index.js +0 -19
- package/node_modules/@sinclair/typebox/build/cjs/type/clone/type.d.ts +0 -5
- package/node_modules/@sinclair/typebox/build/cjs/type/clone/type.js +0 -14
- package/node_modules/@sinclair/typebox/build/cjs/type/clone/value.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/type/clone/value.js +0 -73
- package/node_modules/@sinclair/typebox/build/cjs/type/composite/composite.d.ts +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/composite/composite.js +0 -46
- package/node_modules/@sinclair/typebox/build/cjs/type/composite/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/composite/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/computed/computed.d.ts +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/computed/computed.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/computed/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/computed/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/const/const.d.ts +0 -27
- package/node_modules/@sinclair/typebox/build/cjs/type/const/const.js +0 -58
- package/node_modules/@sinclair/typebox/build/cjs/type/const/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/const/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor/constructor.d.ts +0 -23
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor/constructor.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/constructor-parameters.d.ts +0 -7
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/constructor-parameters.js +0 -44
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/create/immutable.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/type/create/immutable.js +0 -70
- package/node_modules/@sinclair/typebox/build/cjs/type/create/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/create/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/create/type.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/create/type.js +0 -19
- package/node_modules/@sinclair/typebox/build/cjs/type/date/date.d.ts +0 -21
- package/node_modules/@sinclair/typebox/build/cjs/type/date/date.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/date/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/date/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/discard/discard.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/type/discard/discard.js +0 -12
- package/node_modules/@sinclair/typebox/build/cjs/type/discard/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/discard/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/enum/enum.d.ts +0 -14
- package/node_modules/@sinclair/typebox/build/cjs/type/enum/enum.js +0 -22
- package/node_modules/@sinclair/typebox/build/cjs/type/enum/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/enum/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/error/error.d.ts +0 -4
- package/node_modules/@sinclair/typebox/build/cjs/type/error/error.js +0 -11
- package/node_modules/@sinclair/typebox/build/cjs/type/error/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/error/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-mapped-result.d.ts +0 -11
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-mapped-result.js +0 -22
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-template-literal.d.ts +0 -5
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-template-literal.js +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude.d.ts +0 -21
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude.js +0 -29
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/index.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/index.js +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-check.d.ts +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-check.js +0 -641
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-key.d.ts +0 -14
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-key.js +0 -29
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-result.d.ts +0 -11
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-result.js +0 -23
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-undefined.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-undefined.js +0 -24
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends.d.ts +0 -16
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends.js +0 -27
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/index.d.ts +0 -5
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/index.js +0 -22
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-mapped-result.d.ts +0 -11
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-mapped-result.js +0 -22
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-template-literal.d.ts +0 -5
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-template-literal.js +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract.d.ts +0 -21
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract.js +0 -29
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/index.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/index.js +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/type/function/function.d.ts +0 -23
- package/node_modules/@sinclair/typebox/build/cjs/type/function/function.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/function/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/function/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/index.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/index.js +0 -40
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/kind.d.ts +0 -147
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/kind.js +0 -320
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/type.d.ts +0 -152
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/type.js +0 -597
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/value.d.ts +0 -34
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/value.js +0 -89
- package/node_modules/@sinclair/typebox/build/cjs/type/helpers/helpers.d.ts +0 -42
- package/node_modules/@sinclair/typebox/build/cjs/type/helpers/helpers.js +0 -8
- package/node_modules/@sinclair/typebox/build/cjs/type/helpers/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/helpers/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/index.d.ts +0 -71
- package/node_modules/@sinclair/typebox/build/cjs/type/index.js +0 -88
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/index.d.ts +0 -4
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/index.js +0 -21
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-key.d.ts +0 -13
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-key.js +0 -26
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-result.d.ts +0 -12
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-result.js +0 -24
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-property-keys.d.ts +0 -14
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-property-keys.js +0 -36
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed.d.ts +0 -52
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed.js +0 -98
- package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/instance-type.d.ts +0 -6
- package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/instance-type.js +0 -44
- package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/instantiate.d.ts +0 -50
- package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/instantiate.js +0 -153
- package/node_modules/@sinclair/typebox/build/cjs/type/integer/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/integer/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/integer/integer.d.ts +0 -16
- package/node_modules/@sinclair/typebox/build/cjs/type/integer/integer.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/index.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/index.js +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-create.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-create.js +0 -23
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-evaluated.d.ts +0 -13
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-evaluated.js +0 -42
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-type.d.ts +0 -15
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-type.js +0 -4
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect.d.ts +0 -6
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect.js +0 -21
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/capitalize.d.ts +0 -5
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/capitalize.js +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/index.d.ts +0 -6
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/index.js +0 -23
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic-from-mapped-key.d.ts +0 -14
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic-from-mapped-key.js +0 -30
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic.d.ts +0 -16
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic.js +0 -68
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/lowercase.d.ts +0 -5
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/lowercase.js +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uncapitalize.d.ts +0 -5
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uncapitalize.js +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uppercase.d.ts +0 -5
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uppercase.js +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/iterator/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/iterator/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/iterator/iterator.d.ts +0 -11
- package/node_modules/@sinclair/typebox/build/cjs/type/iterator/iterator.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/index.d.ts +0 -4
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/index.js +0 -21
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-from-mapped-result.d.ts +0 -12
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-from-mapped-result.js +0 -23
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-entries.d.ts +0 -7
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-entries.js +0 -16
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-keys.d.ts +0 -24
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-keys.js +0 -78
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof.d.ts +0 -21
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof.js +0 -40
- package/node_modules/@sinclair/typebox/build/cjs/type/literal/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/literal/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/literal/literal.d.ts +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/literal/literal.js +0 -14
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/index.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/index.js +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-key.d.ts +0 -8
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-key.js +0 -13
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-result.d.ts +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-result.js +0 -13
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped.d.ts +0 -47
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped.js +0 -107
- package/node_modules/@sinclair/typebox/build/cjs/type/module/compute.d.ts +0 -59
- package/node_modules/@sinclair/typebox/build/cjs/type/module/compute.js +0 -205
- package/node_modules/@sinclair/typebox/build/cjs/type/module/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/module/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/module/infer.d.ts +0 -49
- package/node_modules/@sinclair/typebox/build/cjs/type/module/infer.js +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/module/module.d.ts +0 -27
- package/node_modules/@sinclair/typebox/build/cjs/type/module/module.js +0 -38
- package/node_modules/@sinclair/typebox/build/cjs/type/never/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/never/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/never/never.d.ts +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/never/never.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/not/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/not/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/not/not.d.ts +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/not/not.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/null/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/null/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/null/null.d.ts +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/null/null.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/number/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/number/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/number/number.d.ts +0 -16
- package/node_modules/@sinclair/typebox/build/cjs/type/number/number.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/object/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/object/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/object/object.d.ts +0 -51
- package/node_modules/@sinclair/typebox/build/cjs/type/object/object.js +0 -22
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/index.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/index.js +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-key.d.ts +0 -12
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-key.js +0 -26
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-result.d.ts +0 -12
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-result.js +0 -23
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit.d.ts +0 -36
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit.js +0 -75
- package/node_modules/@sinclair/typebox/build/cjs/type/optional/index.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/type/optional/index.js +0 -19
- package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional-from-mapped-result.d.ts +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional-from-mapped-result.js +0 -22
- package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional.d.ts +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional.js +0 -26
- package/node_modules/@sinclair/typebox/build/cjs/type/parameters/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/parameters/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/parameters/parameters.d.ts +0 -7
- package/node_modules/@sinclair/typebox/build/cjs/type/parameters/parameters.js +0 -44
- package/node_modules/@sinclair/typebox/build/cjs/type/partial/index.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/type/partial/index.js +0 -19
- package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial-from-mapped-result.d.ts +0 -12
- package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial-from-mapped-result.js +0 -23
- package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial.d.ts +0 -35
- package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial.js +0 -111
- package/node_modules/@sinclair/typebox/build/cjs/type/patterns/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/patterns/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/patterns/patterns.d.ts +0 -8
- package/node_modules/@sinclair/typebox/build/cjs/type/patterns/patterns.js +0 -12
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/index.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/index.js +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-key.d.ts +0 -12
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-key.js +0 -28
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-result.d.ts +0 -12
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-result.js +0 -23
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick.d.ts +0 -36
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick.js +0 -70
- package/node_modules/@sinclair/typebox/build/cjs/type/promise/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/promise/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/promise/promise.d.ts +0 -11
- package/node_modules/@sinclair/typebox/build/cjs/type/promise/promise.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly/index.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly/index.js +0 -19
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly-from-mapped-result.d.ts +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly-from-mapped-result.js +0 -22
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly.d.ts +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly.js +0 -26
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/readonly-optional.d.ts +0 -6
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/readonly-optional.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/record/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/record/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/record/record.d.ts +0 -71
- package/node_modules/@sinclair/typebox/build/cjs/type/record/record.js +0 -123
- package/node_modules/@sinclair/typebox/build/cjs/type/recursive/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/recursive/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/recursive/recursive.d.ts +0 -16
- package/node_modules/@sinclair/typebox/build/cjs/type/recursive/recursive.js +0 -19
- package/node_modules/@sinclair/typebox/build/cjs/type/ref/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/ref/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/ref/ref.d.ts +0 -41
- package/node_modules/@sinclair/typebox/build/cjs/type/ref/ref.js +0 -14
- package/node_modules/@sinclair/typebox/build/cjs/type/regexp/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/regexp/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/regexp/regexp.d.ts +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/type/regexp/regexp.js +0 -12
- package/node_modules/@sinclair/typebox/build/cjs/type/registry/format.d.ts +0 -13
- package/node_modules/@sinclair/typebox/build/cjs/type/registry/format.js +0 -35
- package/node_modules/@sinclair/typebox/build/cjs/type/registry/index.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/type/registry/index.js +0 -39
- package/node_modules/@sinclair/typebox/build/cjs/type/registry/type.d.ts +0 -13
- package/node_modules/@sinclair/typebox/build/cjs/type/registry/type.js +0 -35
- package/node_modules/@sinclair/typebox/build/cjs/type/required/index.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/type/required/index.js +0 -19
- package/node_modules/@sinclair/typebox/build/cjs/type/required/required-from-mapped-result.d.ts +0 -12
- package/node_modules/@sinclair/typebox/build/cjs/type/required/required-from-mapped-result.js +0 -22
- package/node_modules/@sinclair/typebox/build/cjs/type/required/required.d.ts +0 -35
- package/node_modules/@sinclair/typebox/build/cjs/type/required/required.js +0 -110
- package/node_modules/@sinclair/typebox/build/cjs/type/rest/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/rest/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/rest/rest.d.ts +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/rest/rest.js +0 -19
- package/node_modules/@sinclair/typebox/build/cjs/type/return-type/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/return-type/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/return-type/return-type.d.ts +0 -6
- package/node_modules/@sinclair/typebox/build/cjs/type/return-type/return-type.js +0 -44
- package/node_modules/@sinclair/typebox/build/cjs/type/schema/anyschema.d.ts +0 -33
- package/node_modules/@sinclair/typebox/build/cjs/type/schema/anyschema.js +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/schema/index.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/type/schema/index.js +0 -19
- package/node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts +0 -29
- package/node_modules/@sinclair/typebox/build/cjs/type/schema/schema.js +0 -4
- package/node_modules/@sinclair/typebox/build/cjs/type/sets/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/sets/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/sets/set.d.ts +0 -28
- package/node_modules/@sinclair/typebox/build/cjs/type/sets/set.js +0 -59
- package/node_modules/@sinclair/typebox/build/cjs/type/static/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/static/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/static/static.d.ts +0 -39
- package/node_modules/@sinclair/typebox/build/cjs/type/static/static.js +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/string/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/string/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/string/string.d.ts +0 -25
- package/node_modules/@sinclair/typebox/build/cjs/type/string/string.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/symbol/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/symbol/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/symbol/symbol.d.ts +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/symbol/symbol.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/symbols/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/symbols/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/symbols/symbols.d.ts +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/symbols/symbols.js +0 -14
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/finite.d.ts +0 -19
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/finite.js +0 -56
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/generate.d.ts +0 -21
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/generate.js +0 -60
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/index.d.ts +0 -7
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/index.js +0 -24
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/parse.d.ts +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/parse.js +0 -174
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/pattern.d.ts +0 -5
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/pattern.js +0 -39
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/syntax.d.ts +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/syntax.js +0 -59
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/template-literal.d.ts +0 -30
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/template-literal.js +0 -17
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/union.d.ts +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/union.js +0 -13
- package/node_modules/@sinclair/typebox/build/cjs/type/transform/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/transform/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/transform/transform.d.ts +0 -30
- package/node_modules/@sinclair/typebox/build/cjs/type/transform/transform.js +0 -47
- package/node_modules/@sinclair/typebox/build/cjs/type/tuple/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/tuple/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/tuple/tuple.d.ts +0 -16
- package/node_modules/@sinclair/typebox/build/cjs/type/tuple/tuple.js +0 -13
- package/node_modules/@sinclair/typebox/build/cjs/type/type/index.d.ts +0 -6
- package/node_modules/@sinclair/typebox/build/cjs/type/type/index.js +0 -51
- package/node_modules/@sinclair/typebox/build/cjs/type/type/javascript.d.ts +0 -64
- package/node_modules/@sinclair/typebox/build/cjs/type/type/javascript.js +0 -104
- package/node_modules/@sinclair/typebox/build/cjs/type/type/json.d.ts +0 -208
- package/node_modules/@sinclair/typebox/build/cjs/type/type/json.js +0 -226
- package/node_modules/@sinclair/typebox/build/cjs/type/type/type.d.ts +0 -59
- package/node_modules/@sinclair/typebox/build/cjs/type/type/type.js +0 -129
- package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/uint8array.d.ts +0 -13
- package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/uint8array.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/undefined/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/undefined/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/undefined/undefined.d.ts +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/undefined/undefined.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/union/index.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/union/index.js +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union-create.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union-create.js +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union-evaluated.d.ts +0 -13
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union-evaluated.js +0 -40
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union-type.d.ts +0 -12
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union-type.js +0 -4
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union.d.ts +0 -6
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union.js +0 -14
- package/node_modules/@sinclair/typebox/build/cjs/type/unknown/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/unknown/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/unknown/unknown.d.ts +0 -8
- package/node_modules/@sinclair/typebox/build/cjs/type/unknown/unknown.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/unsafe.d.ts +0 -11
- package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/unsafe.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/type/void/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/type/void/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/type/void/void.d.ts +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/type/void/void.js +0 -10
- package/node_modules/@sinclair/typebox/build/cjs/value/assert/assert.d.ts +0 -15
- package/node_modules/@sinclair/typebox/build/cjs/value/assert/assert.js +0 -55
- package/node_modules/@sinclair/typebox/build/cjs/value/assert/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/assert/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/cast/cast.d.ts +0 -11
- package/node_modules/@sinclair/typebox/build/cjs/value/cast/cast.js +0 -241
- package/node_modules/@sinclair/typebox/build/cjs/value/cast/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/cast/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/check/check.d.ts +0 -11
- package/node_modules/@sinclair/typebox/build/cjs/value/check/check.js +0 -476
- package/node_modules/@sinclair/typebox/build/cjs/value/check/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/check/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/clean/clean.d.ts +0 -5
- package/node_modules/@sinclair/typebox/build/cjs/value/clean/clean.js +0 -149
- package/node_modules/@sinclair/typebox/build/cjs/value/clean/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/clean/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/clone/clone.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/value/clone/clone.js +0 -60
- package/node_modules/@sinclair/typebox/build/cjs/value/clone/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/clone/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/convert/convert.d.ts +0 -5
- package/node_modules/@sinclair/typebox/build/cjs/value/convert/convert.js +0 -264
- package/node_modules/@sinclair/typebox/build/cjs/value/convert/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/convert/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/create/create.d.ts +0 -11
- package/node_modules/@sinclair/typebox/build/cjs/value/create/create.js +0 -474
- package/node_modules/@sinclair/typebox/build/cjs/value/create/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/create/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/decode/decode.d.ts +0 -6
- package/node_modules/@sinclair/typebox/build/cjs/value/decode/decode.js +0 -14
- package/node_modules/@sinclair/typebox/build/cjs/value/decode/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/decode/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/default/default.d.ts +0 -5
- package/node_modules/@sinclair/typebox/build/cjs/value/default/default.js +0 -176
- package/node_modules/@sinclair/typebox/build/cjs/value/default/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/default/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/delta/delta.d.ts +0 -32
- package/node_modules/@sinclair/typebox/build/cjs/value/delta/delta.js +0 -178
- package/node_modules/@sinclair/typebox/build/cjs/value/delta/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/delta/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/deref/deref.d.ts +0 -12
- package/node_modules/@sinclair/typebox/build/cjs/value/deref/deref.js +0 -36
- package/node_modules/@sinclair/typebox/build/cjs/value/deref/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/deref/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/encode/encode.d.ts +0 -6
- package/node_modules/@sinclair/typebox/build/cjs/value/encode/encode.js +0 -15
- package/node_modules/@sinclair/typebox/build/cjs/value/encode/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/encode/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/equal/equal.d.ts +0 -2
- package/node_modules/@sinclair/typebox/build/cjs/value/equal/equal.js +0 -50
- package/node_modules/@sinclair/typebox/build/cjs/value/equal/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/equal/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/guard/guard.d.ts +0 -74
- package/node_modules/@sinclair/typebox/build/cjs/value/guard/guard.js +0 -195
- package/node_modules/@sinclair/typebox/build/cjs/value/guard/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/guard/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/hash/hash.d.ts +0 -7
- package/node_modules/@sinclair/typebox/build/cjs/value/hash/hash.js +0 -152
- package/node_modules/@sinclair/typebox/build/cjs/value/hash/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/hash/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/index.d.ts +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/value/index.js +0 -53
- package/node_modules/@sinclair/typebox/build/cjs/value/mutate/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/mutate/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/mutate/mutate.d.ts +0 -9
- package/node_modules/@sinclair/typebox/build/cjs/value/mutate/mutate.js +0 -104
- package/node_modules/@sinclair/typebox/build/cjs/value/parse/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/parse/index.js +0 -18
- package/node_modules/@sinclair/typebox/build/cjs/value/parse/parse.d.ts +0 -22
- package/node_modules/@sinclair/typebox/build/cjs/value/parse/parse.js +0 -87
- package/node_modules/@sinclair/typebox/build/cjs/value/pointer/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/pointer/index.js +0 -38
- package/node_modules/@sinclair/typebox/build/cjs/value/pointer/pointer.d.ts +0 -22
- package/node_modules/@sinclair/typebox/build/cjs/value/pointer/pointer.js +0 -126
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/decode.d.ts +0 -22
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/decode.js +0 -214
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/encode.d.ts +0 -23
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/encode.js +0 -225
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/has.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/has.js +0 -133
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/index.d.ts +0 -3
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/index.js +0 -20
- package/node_modules/@sinclair/typebox/build/cjs/value/value/index.d.ts +0 -1
- package/node_modules/@sinclair/typebox/build/cjs/value/value/index.js +0 -38
- package/node_modules/@sinclair/typebox/build/cjs/value/value/value.d.ts +0 -16
- package/node_modules/@sinclair/typebox/build/cjs/value/value/value.js +0 -39
- package/node_modules/@sinclair/typebox/build/esm/compiler/compiler.d.mts +0 -55
- package/node_modules/@sinclair/typebox/build/esm/compiler/compiler.mjs +0 -663
- package/node_modules/@sinclair/typebox/build/esm/compiler/index.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/compiler/index.mjs +0 -2
- package/node_modules/@sinclair/typebox/build/esm/errors/errors.d.mts +0 -91
- package/node_modules/@sinclair/typebox/build/esm/errors/errors.mjs +0 -592
- package/node_modules/@sinclair/typebox/build/esm/errors/function.d.mts +0 -21
- package/node_modules/@sinclair/typebox/build/esm/errors/function.mjs +0 -147
- package/node_modules/@sinclair/typebox/build/esm/errors/index.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/errors/index.mjs +0 -2
- package/node_modules/@sinclair/typebox/build/esm/index.d.mts +0 -71
- package/node_modules/@sinclair/typebox/build/esm/index.mjs +0 -80
- package/node_modules/@sinclair/typebox/build/esm/parser/index.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/parser/index.mjs +0 -2
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/guard.d.mts +0 -23
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/guard.mjs +0 -72
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/index.d.mts +0 -5
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/index.mjs +0 -5
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/module.d.mts +0 -9
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/module.mjs +0 -17
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/parse.d.mts +0 -9
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/parse.mjs +0 -123
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/token.d.mts +0 -8
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/token.mjs +0 -223
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/types.d.mts +0 -98
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/types.mjs +0 -55
- package/node_modules/@sinclair/typebox/build/esm/parser/static/index.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/parser/static/index.mjs +0 -3
- package/node_modules/@sinclair/typebox/build/esm/parser/static/parse.d.mts +0 -20
- package/node_modules/@sinclair/typebox/build/esm/parser/static/parse.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/parser/static/token.d.mts +0 -108
- package/node_modules/@sinclair/typebox/build/esm/parser/static/token.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/parser/static/types.d.mts +0 -69
- package/node_modules/@sinclair/typebox/build/esm/parser/static/types.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/syntax/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/syntax/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/syntax/mapping.d.mts +0 -167
- package/node_modules/@sinclair/typebox/build/esm/syntax/mapping.mjs +0 -386
- package/node_modules/@sinclair/typebox/build/esm/syntax/parser.d.mts +0 -162
- package/node_modules/@sinclair/typebox/build/esm/syntax/parser.mjs +0 -78
- package/node_modules/@sinclair/typebox/build/esm/syntax/syntax.d.mts +0 -12
- package/node_modules/@sinclair/typebox/build/esm/syntax/syntax.mjs +0 -16
- package/node_modules/@sinclair/typebox/build/esm/system/index.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/system/index.mjs +0 -2
- package/node_modules/@sinclair/typebox/build/esm/system/policy.d.mts +0 -29
- package/node_modules/@sinclair/typebox/build/esm/system/policy.mjs +0 -54
- package/node_modules/@sinclair/typebox/build/esm/system/system.d.mts +0 -16
- package/node_modules/@sinclair/typebox/build/esm/system/system.mjs +0 -37
- package/node_modules/@sinclair/typebox/build/esm/type/any/any.d.mts +0 -8
- package/node_modules/@sinclair/typebox/build/esm/type/any/any.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/any/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/any/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/argument/argument.d.mts +0 -9
- package/node_modules/@sinclair/typebox/build/esm/type/argument/argument.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/argument/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/argument/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/array/array.d.mts +0 -28
- package/node_modules/@sinclair/typebox/build/esm/type/array/array.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/array/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/array/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.d.mts +0 -11
- package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.d.mts +0 -14
- package/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.mjs +0 -37
- package/node_modules/@sinclair/typebox/build/esm/type/awaited/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/awaited/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.d.mts +0 -16
- package/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/bigint/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/bigint/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.d.mts +0 -9
- package/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/boolean/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/boolean/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/clone/index.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/clone/index.mjs +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/clone/type.d.mts +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs +0 -9
- package/node_modules/@sinclair/typebox/build/esm/type/clone/value.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs +0 -36
- package/node_modules/@sinclair/typebox/build/esm/type/composite/composite.d.mts +0 -18
- package/node_modules/@sinclair/typebox/build/esm/type/composite/composite.mjs +0 -42
- package/node_modules/@sinclair/typebox/build/esm/type/composite/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/composite/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/computed/computed.d.mts +0 -9
- package/node_modules/@sinclair/typebox/build/esm/type/computed/computed.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/computed/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/computed/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/const/const.d.mts +0 -27
- package/node_modules/@sinclair/typebox/build/esm/type/const/const.mjs +0 -54
- package/node_modules/@sinclair/typebox/build/esm/type/const/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/const/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.d.mts +0 -23
- package/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/constructor/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/constructor/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.d.mts +0 -7
- package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.mjs +0 -7
- package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/create/immutable.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs +0 -33
- package/node_modules/@sinclair/typebox/build/esm/type/create/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/create/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/create/type.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/create/type.mjs +0 -15
- package/node_modules/@sinclair/typebox/build/esm/type/date/date.d.mts +0 -21
- package/node_modules/@sinclair/typebox/build/esm/type/date/date.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/date/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/date/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/discard/discard.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/discard/discard.mjs +0 -8
- package/node_modules/@sinclair/typebox/build/esm/type/discard/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/discard/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/enum/enum.d.mts +0 -14
- package/node_modules/@sinclair/typebox/build/esm/type/enum/enum.mjs +0 -18
- package/node_modules/@sinclair/typebox/build/esm/type/enum/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/enum/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/error/error.d.mts +0 -4
- package/node_modules/@sinclair/typebox/build/esm/type/error/error.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/error/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/error/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.d.mts +0 -11
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.mjs +0 -18
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.d.mts +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.mjs +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.d.mts +0 -21
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.mjs +0 -25
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/index.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/index.mjs +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.d.mts +0 -10
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.mjs +0 -635
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.d.mts +0 -14
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.mjs +0 -25
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.d.mts +0 -11
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.mjs +0 -19
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-undefined.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-undefined.mjs +0 -20
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends.d.mts +0 -16
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends.mjs +0 -23
- package/node_modules/@sinclair/typebox/build/esm/type/extends/index.d.mts +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/extends/index.mjs +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.d.mts +0 -11
- package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.mjs +0 -18
- package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.d.mts +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.mjs +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/extract/extract.d.mts +0 -21
- package/node_modules/@sinclair/typebox/build/esm/type/extract/extract.mjs +0 -25
- package/node_modules/@sinclair/typebox/build/esm/type/extract/index.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/extract/index.mjs +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/function/function.d.mts +0 -23
- package/node_modules/@sinclair/typebox/build/esm/type/function/function.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/function/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/function/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/guard/index.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/guard/index.mjs +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/guard/kind.d.mts +0 -147
- package/node_modules/@sinclair/typebox/build/esm/type/guard/kind.mjs +0 -235
- package/node_modules/@sinclair/typebox/build/esm/type/guard/type.d.mts +0 -152
- package/node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs +0 -509
- package/node_modules/@sinclair/typebox/build/esm/type/guard/value.d.mts +0 -34
- package/node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs +0 -70
- package/node_modules/@sinclair/typebox/build/esm/type/helpers/helpers.d.mts +0 -42
- package/node_modules/@sinclair/typebox/build/esm/type/helpers/helpers.mjs +0 -4
- package/node_modules/@sinclair/typebox/build/esm/type/helpers/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/helpers/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/index.d.mts +0 -71
- package/node_modules/@sinclair/typebox/build/esm/type/index.mjs +0 -71
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/index.d.mts +0 -4
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/index.mjs +0 -4
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.d.mts +0 -13
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.mjs +0 -22
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.d.mts +0 -12
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.mjs +0 -20
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.d.mts +0 -14
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.mjs +0 -32
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.d.mts +0 -52
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.mjs +0 -91
- package/node_modules/@sinclair/typebox/build/esm/type/instance-type/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/instance-type/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.d.mts +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.mjs +0 -7
- package/node_modules/@sinclair/typebox/build/esm/type/instantiate/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/instantiate/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.d.mts +0 -50
- package/node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.mjs +0 -115
- package/node_modules/@sinclair/typebox/build/esm/type/integer/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/integer/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/integer/integer.d.mts +0 -16
- package/node_modules/@sinclair/typebox/build/esm/type/integer/integer.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/index.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/index.mjs +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.mjs +0 -19
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.d.mts +0 -13
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.mjs +0 -38
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-type.d.mts +0 -15
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-type.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.d.mts +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.mjs +0 -17
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.d.mts +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.mjs +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/index.d.mts +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/index.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.d.mts +0 -14
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.mjs +0 -26
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.d.mts +0 -16
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.mjs +0 -64
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.d.mts +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.mjs +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.d.mts +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.mjs +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.d.mts +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.mjs +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/iterator/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/iterator/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.d.mts +0 -11
- package/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/index.d.mts +0 -4
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/index.mjs +0 -4
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.d.mts +0 -12
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.mjs +0 -19
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-entries.d.mts +0 -7
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-entries.mjs +0 -12
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.d.mts +0 -24
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.mjs +0 -73
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.d.mts +0 -21
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs +0 -35
- package/node_modules/@sinclair/typebox/build/esm/type/literal/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/literal/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/literal/literal.d.mts +0 -10
- package/node_modules/@sinclair/typebox/build/esm/type/literal/literal.mjs +0 -10
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/index.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/index.mjs +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-key.d.mts +0 -8
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-key.mjs +0 -9
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.d.mts +0 -9
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.mjs +0 -9
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.d.mts +0 -47
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.mjs +0 -102
- package/node_modules/@sinclair/typebox/build/esm/type/module/compute.d.mts +0 -59
- package/node_modules/@sinclair/typebox/build/esm/type/module/compute.mjs +0 -166
- package/node_modules/@sinclair/typebox/build/esm/type/module/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/module/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/module/infer.d.mts +0 -49
- package/node_modules/@sinclair/typebox/build/esm/type/module/infer.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/module/module.d.mts +0 -27
- package/node_modules/@sinclair/typebox/build/esm/type/module/module.mjs +0 -32
- package/node_modules/@sinclair/typebox/build/esm/type/never/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/never/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/never/never.d.mts +0 -9
- package/node_modules/@sinclair/typebox/build/esm/type/never/never.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/not/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/not/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/not/not.d.mts +0 -10
- package/node_modules/@sinclair/typebox/build/esm/type/not/not.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/null/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/null/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/null/null.d.mts +0 -9
- package/node_modules/@sinclair/typebox/build/esm/type/null/null.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/number/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/number/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/number/number.d.mts +0 -16
- package/node_modules/@sinclair/typebox/build/esm/type/number/number.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/object/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/object/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/object/object.d.mts +0 -51
- package/node_modules/@sinclair/typebox/build/esm/type/object/object.mjs +0 -18
- package/node_modules/@sinclair/typebox/build/esm/type/omit/index.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/omit/index.mjs +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.d.mts +0 -12
- package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.mjs +0 -22
- package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.d.mts +0 -12
- package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.mjs +0 -19
- package/node_modules/@sinclair/typebox/build/esm/type/omit/omit.d.mts +0 -36
- package/node_modules/@sinclair/typebox/build/esm/type/omit/omit.mjs +0 -71
- package/node_modules/@sinclair/typebox/build/esm/type/optional/index.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/optional/index.mjs +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.d.mts +0 -10
- package/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.mjs +0 -18
- package/node_modules/@sinclair/typebox/build/esm/type/optional/optional.d.mts +0 -20
- package/node_modules/@sinclair/typebox/build/esm/type/optional/optional.mjs +0 -22
- package/node_modules/@sinclair/typebox/build/esm/type/parameters/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/parameters/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.d.mts +0 -7
- package/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.mjs +0 -7
- package/node_modules/@sinclair/typebox/build/esm/type/partial/index.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/partial/index.mjs +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.d.mts +0 -12
- package/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.mjs +0 -19
- package/node_modules/@sinclair/typebox/build/esm/type/partial/partial.d.mts +0 -35
- package/node_modules/@sinclair/typebox/build/esm/type/partial/partial.mjs +0 -74
- package/node_modules/@sinclair/typebox/build/esm/type/patterns/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/patterns/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.d.mts +0 -8
- package/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.mjs +0 -8
- package/node_modules/@sinclair/typebox/build/esm/type/pick/index.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/pick/index.mjs +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.d.mts +0 -12
- package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.mjs +0 -24
- package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.d.mts +0 -12
- package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.mjs +0 -19
- package/node_modules/@sinclair/typebox/build/esm/type/pick/pick.d.mts +0 -36
- package/node_modules/@sinclair/typebox/build/esm/type/pick/pick.mjs +0 -66
- package/node_modules/@sinclair/typebox/build/esm/type/promise/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/promise/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/promise/promise.d.mts +0 -11
- package/node_modules/@sinclair/typebox/build/esm/type/promise/promise.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/readonly/index.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/readonly/index.mjs +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.d.mts +0 -10
- package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.mjs +0 -18
- package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.d.mts +0 -20
- package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.mjs +0 -22
- package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.d.mts +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/record/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/record/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/record/record.d.mts +0 -71
- package/node_modules/@sinclair/typebox/build/esm/type/record/record.mjs +0 -116
- package/node_modules/@sinclair/typebox/build/esm/type/recursive/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/recursive/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.d.mts +0 -16
- package/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.mjs +0 -15
- package/node_modules/@sinclair/typebox/build/esm/type/ref/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/ref/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/ref/ref.d.mts +0 -41
- package/node_modules/@sinclair/typebox/build/esm/type/ref/ref.mjs +0 -10
- package/node_modules/@sinclair/typebox/build/esm/type/regexp/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/regexp/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.d.mts +0 -20
- package/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.mjs +0 -8
- package/node_modules/@sinclair/typebox/build/esm/type/registry/format.d.mts +0 -13
- package/node_modules/@sinclair/typebox/build/esm/type/registry/format.mjs +0 -26
- package/node_modules/@sinclair/typebox/build/esm/type/registry/index.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/registry/index.mjs +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/registry/type.d.mts +0 -13
- package/node_modules/@sinclair/typebox/build/esm/type/registry/type.mjs +0 -26
- package/node_modules/@sinclair/typebox/build/esm/type/required/index.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/required/index.mjs +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.d.mts +0 -12
- package/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.mjs +0 -18
- package/node_modules/@sinclair/typebox/build/esm/type/required/required.d.mts +0 -35
- package/node_modules/@sinclair/typebox/build/esm/type/required/required.mjs +0 -73
- package/node_modules/@sinclair/typebox/build/esm/type/rest/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/rest/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/rest/rest.d.mts +0 -10
- package/node_modules/@sinclair/typebox/build/esm/type/rest/rest.mjs +0 -15
- package/node_modules/@sinclair/typebox/build/esm/type/return-type/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/return-type/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.d.mts +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.mjs +0 -7
- package/node_modules/@sinclair/typebox/build/esm/type/schema/anyschema.d.mts +0 -33
- package/node_modules/@sinclair/typebox/build/esm/type/schema/anyschema.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/schema/index.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/schema/index.mjs +0 -2
- package/node_modules/@sinclair/typebox/build/esm/type/schema/schema.d.mts +0 -29
- package/node_modules/@sinclair/typebox/build/esm/type/schema/schema.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/sets/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/sets/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/sets/set.d.mts +0 -28
- package/node_modules/@sinclair/typebox/build/esm/type/sets/set.mjs +0 -48
- package/node_modules/@sinclair/typebox/build/esm/type/static/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/static/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/static/static.d.mts +0 -39
- package/node_modules/@sinclair/typebox/build/esm/type/static/static.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/string/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/string/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/string/string.d.mts +0 -25
- package/node_modules/@sinclair/typebox/build/esm/type/string/string.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/symbol/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/symbol/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.d.mts +0 -10
- package/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/symbols/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/symbols/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.d.mts +0 -10
- package/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.mjs +0 -10
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.d.mts +0 -19
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.mjs +0 -49
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.d.mts +0 -21
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.mjs +0 -53
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/index.d.mts +0 -7
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/index.mjs +0 -7
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.d.mts +0 -20
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.mjs +0 -167
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.d.mts +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.mjs +0 -33
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.d.mts +0 -20
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.mjs +0 -55
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.d.mts +0 -30
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.mjs +0 -13
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.d.mts +0 -9
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.mjs +0 -9
- package/node_modules/@sinclair/typebox/build/esm/type/transform/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/transform/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/transform/transform.d.mts +0 -30
- package/node_modules/@sinclair/typebox/build/esm/type/transform/transform.mjs +0 -40
- package/node_modules/@sinclair/typebox/build/esm/type/tuple/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/tuple/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.d.mts +0 -16
- package/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.mjs +0 -9
- package/node_modules/@sinclair/typebox/build/esm/type/type/index.d.mts +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/type/index.mjs +0 -13
- package/node_modules/@sinclair/typebox/build/esm/type/type/javascript.d.mts +0 -64
- package/node_modules/@sinclair/typebox/build/esm/type/type/javascript.mjs +0 -99
- package/node_modules/@sinclair/typebox/build/esm/type/type/json.d.mts +0 -208
- package/node_modules/@sinclair/typebox/build/esm/type/type/json.mjs +0 -221
- package/node_modules/@sinclair/typebox/build/esm/type/type/type.d.mts +0 -59
- package/node_modules/@sinclair/typebox/build/esm/type/type/type.mjs +0 -62
- package/node_modules/@sinclair/typebox/build/esm/type/uint8array/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/uint8array/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.d.mts +0 -13
- package/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/undefined/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/undefined/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.d.mts +0 -9
- package/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/union/index.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/union/index.mjs +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/union/union-create.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/type/union/union-create.mjs +0 -5
- package/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.d.mts +0 -13
- package/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.mjs +0 -36
- package/node_modules/@sinclair/typebox/build/esm/type/union/union-type.d.mts +0 -12
- package/node_modules/@sinclair/typebox/build/esm/type/union/union-type.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/union/union.d.mts +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/union/union.mjs +0 -10
- package/node_modules/@sinclair/typebox/build/esm/type/unknown/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/unknown/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.d.mts +0 -8
- package/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/unsafe/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/unsafe/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.d.mts +0 -11
- package/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/type/void/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/void/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/type/void/void.d.mts +0 -9
- package/node_modules/@sinclair/typebox/build/esm/type/void/void.mjs +0 -6
- package/node_modules/@sinclair/typebox/build/esm/value/assert/assert.d.mts +0 -15
- package/node_modules/@sinclair/typebox/build/esm/value/assert/assert.mjs +0 -49
- package/node_modules/@sinclair/typebox/build/esm/value/assert/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/assert/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/cast/cast.d.mts +0 -11
- package/node_modules/@sinclair/typebox/build/esm/value/cast/cast.mjs +0 -235
- package/node_modules/@sinclair/typebox/build/esm/value/cast/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/cast/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/check/check.d.mts +0 -11
- package/node_modules/@sinclair/typebox/build/esm/value/check/check.mjs +0 -470
- package/node_modules/@sinclair/typebox/build/esm/value/check/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/check/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/clean/clean.d.mts +0 -5
- package/node_modules/@sinclair/typebox/build/esm/value/clean/clean.mjs +0 -145
- package/node_modules/@sinclair/typebox/build/esm/value/clean/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/clean/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/clone/clone.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/value/clone/clone.mjs +0 -56
- package/node_modules/@sinclair/typebox/build/esm/value/clone/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/clone/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/convert/convert.d.mts +0 -5
- package/node_modules/@sinclair/typebox/build/esm/value/convert/convert.mjs +0 -260
- package/node_modules/@sinclair/typebox/build/esm/value/convert/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/convert/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/create/create.d.mts +0 -11
- package/node_modules/@sinclair/typebox/build/esm/value/create/create.mjs +0 -468
- package/node_modules/@sinclair/typebox/build/esm/value/create/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/create/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/decode/decode.d.mts +0 -6
- package/node_modules/@sinclair/typebox/build/esm/value/decode/decode.mjs +0 -10
- package/node_modules/@sinclair/typebox/build/esm/value/decode/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/decode/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/default/default.d.mts +0 -5
- package/node_modules/@sinclair/typebox/build/esm/value/default/default.mjs +0 -172
- package/node_modules/@sinclair/typebox/build/esm/value/default/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/default/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/delta/delta.d.mts +0 -32
- package/node_modules/@sinclair/typebox/build/esm/value/delta/delta.mjs +0 -171
- package/node_modules/@sinclair/typebox/build/esm/value/delta/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/delta/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/deref/deref.d.mts +0 -12
- package/node_modules/@sinclair/typebox/build/esm/value/deref/deref.mjs +0 -29
- package/node_modules/@sinclair/typebox/build/esm/value/deref/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/deref/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/encode/encode.d.mts +0 -6
- package/node_modules/@sinclair/typebox/build/esm/value/encode/encode.mjs +0 -11
- package/node_modules/@sinclair/typebox/build/esm/value/encode/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/encode/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/equal/equal.d.mts +0 -2
- package/node_modules/@sinclair/typebox/build/esm/value/equal/equal.mjs +0 -46
- package/node_modules/@sinclair/typebox/build/esm/value/equal/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/equal/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/guard/guard.d.mts +0 -74
- package/node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs +0 -158
- package/node_modules/@sinclair/typebox/build/esm/value/guard/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/guard/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/hash/hash.d.mts +0 -7
- package/node_modules/@sinclair/typebox/build/esm/value/hash/hash.mjs +0 -146
- package/node_modules/@sinclair/typebox/build/esm/value/hash/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/hash/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/index.d.mts +0 -20
- package/node_modules/@sinclair/typebox/build/esm/value/index.mjs +0 -32
- package/node_modules/@sinclair/typebox/build/esm/value/mutate/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/mutate/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/mutate/mutate.d.mts +0 -9
- package/node_modules/@sinclair/typebox/build/esm/value/mutate/mutate.mjs +0 -98
- package/node_modules/@sinclair/typebox/build/esm/value/parse/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/parse/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/parse/parse.d.mts +0 -22
- package/node_modules/@sinclair/typebox/build/esm/value/parse/parse.mjs +0 -81
- package/node_modules/@sinclair/typebox/build/esm/value/pointer/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/pointer/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/pointer/pointer.d.mts +0 -22
- package/node_modules/@sinclair/typebox/build/esm/value/pointer/pointer.mjs +0 -115
- package/node_modules/@sinclair/typebox/build/esm/value/transform/decode.d.mts +0 -22
- package/node_modules/@sinclair/typebox/build/esm/value/transform/decode.mjs +0 -207
- package/node_modules/@sinclair/typebox/build/esm/value/transform/encode.d.mts +0 -23
- package/node_modules/@sinclair/typebox/build/esm/value/transform/encode.mjs +0 -218
- package/node_modules/@sinclair/typebox/build/esm/value/transform/has.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/value/transform/has.mjs +0 -129
- package/node_modules/@sinclair/typebox/build/esm/value/transform/index.d.mts +0 -3
- package/node_modules/@sinclair/typebox/build/esm/value/transform/index.mjs +0 -3
- package/node_modules/@sinclair/typebox/build/esm/value/value/index.d.mts +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/value/index.mjs +0 -1
- package/node_modules/@sinclair/typebox/build/esm/value/value/value.d.mts +0 -16
- package/node_modules/@sinclair/typebox/build/esm/value/value/value.mjs +0 -16
- package/node_modules/@sinclair/typebox/compiler/package.json +0 -4
- package/node_modules/@sinclair/typebox/errors/package.json +0 -4
- package/node_modules/@sinclair/typebox/license +0 -25
- package/node_modules/@sinclair/typebox/package.json +0 -116
- package/node_modules/@sinclair/typebox/parser/package.json +0 -4
- package/node_modules/@sinclair/typebox/readme.md +0 -1865
- package/node_modules/@sinclair/typebox/syntax/package.json +0 -4
- package/node_modules/@sinclair/typebox/system/package.json +0 -4
- package/node_modules/@sinclair/typebox/type/package.json +0 -4
- package/node_modules/@sinclair/typebox/value/package.json +0 -4
- package/node_modules/ansi-regex/index.d.ts +0 -33
- package/node_modules/ansi-regex/index.js +0 -14
- package/node_modules/ansi-regex/license +0 -9
- package/node_modules/ansi-regex/package.json +0 -61
- package/node_modules/ansi-regex/readme.md +0 -66
- package/node_modules/chalk/license +0 -9
- package/node_modules/chalk/package.json +0 -83
- package/node_modules/chalk/readme.md +0 -297
- package/node_modules/chalk/source/index.d.ts +0 -325
- package/node_modules/chalk/source/index.js +0 -225
- package/node_modules/chalk/source/utilities.js +0 -33
- package/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
- package/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
- package/node_modules/get-east-asian-width/index.d.ts +0 -60
- package/node_modules/get-east-asian-width/index.js +0 -30
- package/node_modules/get-east-asian-width/license +0 -9
- package/node_modules/get-east-asian-width/lookup-data.js +0 -18
- package/node_modules/get-east-asian-width/lookup.js +0 -135
- package/node_modules/get-east-asian-width/package.json +0 -71
- package/node_modules/get-east-asian-width/readme.md +0 -65
- package/node_modules/get-east-asian-width/utilities.js +0 -24
- package/node_modules/marked/LICENSE.md +0 -44
- package/node_modules/marked/README.md +0 -107
- package/node_modules/marked/bin/main.js +0 -284
- package/node_modules/marked/bin/marked.js +0 -16
- package/node_modules/marked/lib/marked.d.ts +0 -759
- package/node_modules/marked/lib/marked.esm.js +0 -72
- package/node_modules/marked/lib/marked.esm.js.map +0 -7
- package/node_modules/marked/lib/marked.umd.js +0 -74
- package/node_modules/marked/lib/marked.umd.js.map +0 -7
- package/node_modules/marked/man/marked.1 +0 -113
- package/node_modules/marked/man/marked.1.md +0 -93
- package/node_modules/marked/package.json +0 -103
- package/node_modules/string-width/index.d.ts +0 -39
- package/node_modules/string-width/index.js +0 -203
- package/node_modules/string-width/license +0 -9
- package/node_modules/string-width/package.json +0 -65
- package/node_modules/string-width/readme.md +0 -66
- package/node_modules/strip-ansi/index.d.ts +0 -15
- package/node_modules/strip-ansi/index.js +0 -19
- package/node_modules/strip-ansi/license +0 -9
- package/node_modules/strip-ansi/package.json +0 -59
- package/node_modules/strip-ansi/readme.md +0 -37
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/key-value-tokens.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/key-value-tokens.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/key-value-tokens.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/key-value-tokens.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/mcp-settings.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/mcp-settings.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/mcp-settings.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/mcp-settings.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory-utils.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory-utils.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory-utils.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory-utils.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/onboarding-utils.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/onboarding-utils.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/onboarding-utils.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/onboarding-utils.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/runtime-app-server.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/runtime-app-server.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/typebox-utils.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/typebox-utils.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/typebox-utils.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/typebox-utils.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/validators.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/validators.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/validators.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/validators.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/autocomplete.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/autocomplete.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/autocomplete.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/autocomplete.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/editor.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/editor.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/editor.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/editor.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/input.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/input.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/input.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/input.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/layout.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/layout.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/layout.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/layout.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/loader.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/loader.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/loader.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/loader.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/markdown.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/markdown.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/markdown.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/markdown.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/scroll-container.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/scroll-container.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/scroll-container.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/scroll-container.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/select-list.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/select-list.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/select-list.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/select-list.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/spacer.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/spacer.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/spacer.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/spacer.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/status-bar.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/status-bar.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/status-bar.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/status-bar.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/text.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/text.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/text.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/text.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/truncated-text.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/truncated-text.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/truncated-text.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/truncated-text.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/index.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/index.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/index.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/index.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/keymap.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/keymap.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/keymap.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/keymap.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/mermaid-renderer.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/mermaid-renderer.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/mermaid-renderer.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/mermaid-renderer.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/style/code-highlighter.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/style/code-highlighter.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/style/code-highlighter.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/style/code-highlighter.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/terminal.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/terminal.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/terminal.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/terminal.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/tui.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/tui.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/tui.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/tui.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils/terminal-features.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils/terminal-features.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils/terminal-features.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils/terminal-features.js.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils.d.ts +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils.d.ts.map +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils.js +0 -0
- /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils.js.map +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loader.js","sourceRoot":"","sources":["../../src/skills/loader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,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,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,MAAM,MAAM,GAAG,YAAY,CAAC,eAAe,CAAC,CAAC;AAE7C,4CAA4C;AAC5C,MAAM,eAAe,GAAG,EAAE,CAAC;AAC3B,MAAM,sBAAsB,GAAG,IAAI,CAAC;AACpC,MAAM,wBAAwB,GAAG,GAAG,CAAC;AAErC,uDAAuD;AACvD,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC;IAC9B,MAAM;IACN,aAAa;IACb,SAAS;IACT,eAAe;IACf,eAAe;IACf,UAAU;IACV,uEAAuE;IACvE,MAAM;IACN,QAAQ;IACR,SAAS;IACT,UAAU;CACV,CAAC,CAAC;AAoEH;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,KAAK;IACx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W,CAAC;IACpC,IAAI,WAAW,CAAC,MAAM,GAAG,sBAAsB,EAAE,CAAC;QACjD,WAAW,GAAG,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,EAAE,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC;IACxE,CAAC;IACD,MAAM,UAAU,GAAG,WAAW;SAC5B,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;SACtB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAE1B,mDAAmD;IACnD,OAAO,gBAAgB,UAAU,kBAAkB,UAAU,sBAAsB,KAAK,CAAC,UAAU,MAAM,CAAC;AAC3G,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,UAAU,2BAA2B,CAAC,MAAqB;IAChE,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,EAAE,CAAC;IACX,CAAC;IAED,MAAM,KAAK,GAAa,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 { existsSync, readFileSync, readdirSync, statSync } from \"node:fs\";\nimport { basename, dirname, join } from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport { PATHS } from \"../config/constants.js\";\nimport { loadConfiguredPackageResources } from \"../packages/runtime.js\";\nimport { createLogger } from \"../utils/logger.js\";\n\nconst logger = createLogger(\"skills:loader\");\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 */\nconst ALLOWED_FIELDS = new Set([\n\t\"name\",\n\t\"description\",\n\t\"license\",\n\t\"compatibility\",\n\t\"allowed-tools\",\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]);\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/** Space-delimited list of pre-approved tools */\n\tallowedTools?: string;\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/** List of bundled resource files */\n\tresources: SkillResource[];\n\t/** Resource directories */\n\tresourceDirs: SkillResourceDirs;\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 references directory if it exists */\n\treferencesDir?: string;\n\t/** Path to assets directory if it exists */\n\tassetsDir?: 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| \"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\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: string): 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 */\nfunction 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 */\nfunction 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\n\t// Simple YAML parser for common patterns\n\tconst frontmatter: Record<string, unknown> = {};\n\tconst lines = yamlContent!.split(\"\\n\");\n\tlet currentKey: string | null = null;\n\tlet currentArray: string[] | null = null;\n\tlet inMetadata = false;\n\tlet metadataObj: Record<string, string> = {};\n\n\tfor (const line of lines) {\n\t\tconst trimmed = line.trim();\n\t\tif (!trimmed || trimmed.startsWith(\"#\")) continue;\n\n\t\t// Check for array item\n\t\tif (trimmed.startsWith(\"- \") && currentKey && currentArray) {\n\t\t\tcurrentArray.push(trimmed.slice(2).trim());\n\t\t\tcontinue;\n\t\t}\n\n\t\t// Check for metadata nested key\n\t\tif (inMetadata && line.startsWith(\" \") && !trimmed.startsWith(\"-\")) {\n\t\t\tconst colonIndex = trimmed.indexOf(\":\");\n\t\t\tif (colonIndex > 0) {\n\t\t\t\tconst key = trimmed.slice(0, colonIndex).trim();\n\t\t\t\tconst value = trimmed\n\t\t\t\t\t.slice(colonIndex + 1)\n\t\t\t\t\t.trim()\n\t\t\t\t\t.replace(/^[\"']|[\"']$/g, \"\");\n\t\t\t\tmetadataObj[key] = value;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\n\t\t// Save previous array if exists\n\t\tif (currentKey && currentArray) {\n\t\t\tfrontmatter[currentKey] = currentArray;\n\t\t\tcurrentArray = null;\n\t\t}\n\n\t\t// End metadata block\n\t\tif (inMetadata && !line.startsWith(\" \")) {\n\t\t\tfrontmatter.metadata = metadataObj;\n\t\t\tinMetadata = false;\n\t\t\tmetadataObj = {};\n\t\t}\n\n\t\t// Parse key: value\n\t\tconst colonIndex = trimmed.indexOf(\":\");\n\t\tif (colonIndex > 0) {\n\t\t\tconst key = trimmed.slice(0, colonIndex).trim();\n\t\t\tconst value = trimmed.slice(colonIndex + 1).trim();\n\n\t\t\tif (key === \"metadata\" && value === \"\") {\n\t\t\t\tinMetadata = true;\n\t\t\t\tcurrentKey = null;\n\t\t\t} else if (value === \"\") {\n\t\t\t\t// Start of array\n\t\t\t\tcurrentKey = key;\n\t\t\t\tcurrentArray = [];\n\t\t\t} else {\n\t\t\t\t// Simple value - remove quotes if present\n\t\t\t\tfrontmatter[key] = value.replace(/^[\"']|[\"']$/g, \"\");\n\t\t\t\tcurrentKey = null;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Save final array if exists\n\tif (currentKey && currentArray) {\n\t\tfrontmatter[currentKey] = currentArray;\n\t}\n\n\t// Save metadata if still in block\n\tif (inMetadata && Object.keys(metadataObj).length > 0) {\n\t\tfrontmatter.metadata = metadataObj;\n\t}\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) {\n\t\t\tconst compatError = validateCompatibility(\n\t\t\t\tfrontmatter.compatibility as string,\n\t\t\t);\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\t// Discover resource directories\n\t\tconst resourceDirs: SkillResourceDirs = {};\n\t\tconst scriptsDir = join(skillDir, \"scripts\");\n\t\tconst referencesDir = join(skillDir, \"references\");\n\t\tconst assetsDir = join(skillDir, \"assets\");\n\n\t\tif (existsSync(scriptsDir) && statSync(scriptsDir).isDirectory()) {\n\t\t\tresourceDirs.scriptsDir = scriptsDir;\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\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 ([\"scripts\", \"references\", \"assets\"].includes(file)) continue;\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: frontmatter.license as string | undefined,\n\t\t\tcompatibility: frontmatter.compatibility as string | undefined,\n\t\t\tallowedTools: frontmatter[\"allowed-tools\"] as string | undefined,\n\t\t\tmetadata: frontmatter.metadata as Record<string, string> | undefined,\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\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?: { includeSystem?: boolean },\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\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 | Record<string, string>> {\n\tconst result: Record<string, string | Record<string, string>> = {\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\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\tlines.push(\"<skill>\");\n\t\tlines.push(` <name>${escapeXml(skill.name)}</name>`);\n\t\tlines.push(` <description>${escapeXml(skill.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\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\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\tlines.push(`- **${skill.name}**${tags}: ${skill.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\t// Truncate description to max length per spec, escape XML\n\tlet description = skill.description;\n\tif (description.length > MAX_DESCRIPTION_LENGTH) {\n\t\tdescription = `${description.slice(0, MAX_DESCRIPTION_LENGTH - 3)}...`;\n\t}\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
|
+
{"version":3,"file":"loader.js","sourceRoot":"","sources":["../../src/skills/loader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,MA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E,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAE1B,mDAAmD;IACnD,OAAO,gBAAgB,UAAU,kBAAkB,UAAU,sBAAsB,KAAK,CAAC,UAAU,MAAM,CAAC;AAC3G,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,UAAU,2BAA2B,CAAC,MAAqB;IAChE,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,EAAE,CAAC;IACX,CAAC;IAED,MAAM,KAAK,GAAa,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 { 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 { 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/** List of bundled resource files */\n\tresources: SkillResource[];\n\t/** Resource directories */\n\tresourceDirs: SkillResourceDirs;\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\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?: { includeSystem?: boolean },\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\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\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"]}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file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AAe,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"}
|
|
@@ -0,0 +1,153 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,CAAC;AACnD,MAAM,+BAA+B,GAAG,4BAA4B,CAAC;AAErE,SAAS,kBAAkB,CAAC,IAAY;IACvC,OAAO,wBAAwB,CAAC,IAAI,CAAC,IAAI,CAAC;QACzC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;QAChC,CAAC,CAAC,IAAI,CAAC;AACT,CAAC;AAED,SAAS,e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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"]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { LoadedSkill, SkillResource } from "./loader.js";
|
|
2
|
+
export interface SkillRuntimeActivation {
|
|
3
|
+
name: string;
|
|
4
|
+
source: LoadedSkill["sourceType"];
|
|
5
|
+
sourcePath?: string;
|
|
6
|
+
profile: {
|
|
7
|
+
argumentHint?: string;
|
|
8
|
+
compatibility?: string;
|
|
9
|
+
isolatedContext?: boolean;
|
|
10
|
+
mode?: string;
|
|
11
|
+
model?: string;
|
|
12
|
+
};
|
|
13
|
+
tools: {
|
|
14
|
+
allowed: string[];
|
|
15
|
+
builtin: string[];
|
|
16
|
+
};
|
|
17
|
+
resources: {
|
|
18
|
+
files: SkillRuntimeResource[];
|
|
19
|
+
directories: SkillRuntimeResourceDirectories;
|
|
20
|
+
};
|
|
21
|
+
toolPackage: {
|
|
22
|
+
toolbox?: SkillRuntimeToolboxActivation;
|
|
23
|
+
mcp?: SkillRuntimeMcpActivation;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface SkillRuntimeResource {
|
|
27
|
+
name: string;
|
|
28
|
+
path: string;
|
|
29
|
+
type: SkillResource["type"];
|
|
30
|
+
}
|
|
31
|
+
export interface SkillRuntimeResourceDirectories {
|
|
32
|
+
scripts?: string;
|
|
33
|
+
reference?: string;
|
|
34
|
+
references?: string;
|
|
35
|
+
assets?: string;
|
|
36
|
+
toolbox?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface SkillRuntimeToolboxActivation {
|
|
39
|
+
directory: string;
|
|
40
|
+
entries: SkillRuntimeToolboxEntry[];
|
|
41
|
+
warnings?: string[];
|
|
42
|
+
}
|
|
43
|
+
export interface SkillRuntimeToolboxEntry {
|
|
44
|
+
name: string;
|
|
45
|
+
path: string;
|
|
46
|
+
}
|
|
47
|
+
export interface SkillRuntimeMcpActivation {
|
|
48
|
+
configPath: string;
|
|
49
|
+
servers: SkillRuntimeMcpServer[];
|
|
50
|
+
warnings?: string[];
|
|
51
|
+
}
|
|
52
|
+
export interface SkillRuntimeMcpServer {
|
|
53
|
+
name: string;
|
|
54
|
+
command: string;
|
|
55
|
+
includeTools: string[];
|
|
56
|
+
}
|
|
57
|
+
export interface SkillRuntimeActivationOptions {
|
|
58
|
+
platform?: NodeJS.Platform;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Build the runtime-facing activation contract for a loaded skill.
|
|
62
|
+
*
|
|
63
|
+
* This intentionally exposes only scoped resource paths and MCP tool bounds. The
|
|
64
|
+
* raw MCP config remains on disk so runtimes can activate it without copying env
|
|
65
|
+
* values or credentials into agent-visible telemetry.
|
|
66
|
+
*/
|
|
67
|
+
export declare function buildSkillRuntimeActivation(skill: LoadedSkill, options?: SkillRuntimeActivationOptions): SkillRuntimeActivation;
|
|
68
|
+
//# sourceMappingURL=runtime-activation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime-activation.d.ts","sourceRoot":"","sources":["../../src/skills/runtime-activation.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAI9D,MAAM,WAAW,sBAAsB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE;QACR,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,K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