@localix-ai/agent-plugins 0.2.0 → 0.3.0
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/CHANGELOG.md +386 -0
- package/dist/agents/catalog/builtin.d.ts +9 -3
- package/dist/agents/catalog/builtin.d.ts.map +1 -1
- package/dist/agents/catalog/builtin.js +16 -2
- package/dist/agents/catalog/builtin.js.map +1 -1
- package/dist/agents/catalog/scan.d.ts +4 -1
- package/dist/agents/catalog/scan.d.ts.map +1 -1
- package/dist/agents/catalog/scan.js +1 -0
- package/dist/agents/catalog/scan.js.map +1 -1
- package/dist/agents/index.d.ts +3 -2
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +3 -2
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/launch-model.d.ts +31 -6
- package/dist/agents/launch-model.d.ts.map +1 -1
- package/dist/agents/launch-model.js +43 -22
- package/dist/agents/launch-model.js.map +1 -1
- package/dist/agents/launch.d.ts +18 -4
- package/dist/agents/launch.d.ts.map +1 -1
- package/dist/agents/launch.js +29 -15
- package/dist/agents/launch.js.map +1 -1
- package/dist/agents/model-choice.d.ts +10 -2
- package/dist/agents/model-choice.d.ts.map +1 -1
- package/dist/agents/model-choice.js +10 -4
- package/dist/agents/model-choice.js.map +1 -1
- package/dist/agents/task-list.d.ts +24 -0
- package/dist/agents/task-list.d.ts.map +1 -0
- package/dist/agents/task-list.js +12 -0
- package/dist/agents/task-list.js.map +1 -0
- package/dist/agents/tool-filters.d.ts +11 -2
- package/dist/agents/tool-filters.d.ts.map +1 -1
- package/dist/agents/tool-filters.js +9 -1
- package/dist/agents/tool-filters.js.map +1 -1
- package/dist/agents/tool-resolution.d.ts.map +1 -1
- package/dist/agents/tool-resolution.js +19 -3
- package/dist/agents/tool-resolution.js.map +1 -1
- package/dist/agents/workflow/replay.d.ts +3 -2
- package/dist/agents/workflow/replay.d.ts.map +1 -1
- package/dist/agents/workflow/replay.js +11 -2
- package/dist/agents/workflow/replay.js.map +1 -1
- package/dist/agents/workflow/usage-limit.d.ts +19 -5
- package/dist/agents/workflow/usage-limit.d.ts.map +1 -1
- package/dist/agents/workflow/usage-limit.js +32 -4
- package/dist/agents/workflow/usage-limit.js.map +1 -1
- package/dist/cli/command-table.d.ts +1 -1
- package/dist/cli/command-table.d.ts.map +1 -1
- package/dist/cli/command-table.js +2 -0
- package/dist/cli/command-table.js.map +1 -1
- package/dist/cli/flags/session.d.ts.map +1 -1
- package/dist/cli/flags/session.js +2 -1
- package/dist/cli/flags/session.js.map +1 -1
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +3 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/install-command-outcome.d.ts +31 -0
- package/dist/cli/install-command-outcome.d.ts.map +1 -0
- package/dist/cli/install-command-outcome.js +34 -0
- package/dist/cli/install-command-outcome.js.map +1 -0
- package/dist/cli/install-command-step.d.ts +13 -0
- package/dist/cli/install-command-step.d.ts.map +1 -0
- package/dist/cli/install-command-step.js +52 -0
- package/dist/cli/install-command-step.js.map +1 -0
- package/dist/cli/install-engines.d.ts +27 -0
- package/dist/cli/install-engines.d.ts.map +1 -0
- package/dist/cli/install-engines.js +29 -0
- package/dist/cli/install-engines.js.map +1 -0
- package/dist/cli/install-plan.d.ts +6 -0
- package/dist/cli/install-plan.d.ts.map +1 -1
- package/dist/cli/install-plan.js +31 -61
- package/dist/cli/install-plan.js.map +1 -1
- package/dist/cli/install-refusals.d.ts +5 -0
- package/dist/cli/install-refusals.d.ts.map +1 -1
- package/dist/cli/install-refusals.js +5 -0
- package/dist/cli/install-refusals.js.map +1 -1
- package/dist/cli/install-success.d.ts +17 -0
- package/dist/cli/install-success.d.ts.map +1 -0
- package/dist/cli/install-success.js +13 -0
- package/dist/cli/install-success.js.map +1 -0
- package/dist/cli/marketplace-list.js +1 -1
- package/dist/cli/marketplace-list.js.map +1 -1
- package/dist/cli/marketplace-update.d.ts +3 -1
- package/dist/cli/marketplace-update.d.ts.map +1 -1
- package/dist/cli/marketplace-update.js +5 -0
- package/dist/cli/marketplace-update.js.map +1 -1
- package/dist/cli/restore-set-aside.d.ts +38 -0
- package/dist/cli/restore-set-aside.d.ts.map +1 -0
- package/dist/cli/restore-set-aside.js +25 -0
- package/dist/cli/restore-set-aside.js.map +1 -0
- package/dist/cli/result.d.ts +6 -0
- package/dist/cli/result.d.ts.map +1 -1
- package/dist/cli/result.js +6 -2
- package/dist/cli/result.js.map +1 -1
- package/dist/cli/uninstall-data.d.ts +13 -1
- package/dist/cli/uninstall-data.d.ts.map +1 -1
- package/dist/cli/uninstall-data.js +4 -0
- package/dist/cli/uninstall-data.js.map +1 -1
- package/dist/cli/update-dependencies.d.ts +31 -0
- package/dist/cli/update-dependencies.d.ts.map +1 -0
- package/dist/cli/update-dependencies.js +35 -0
- package/dist/cli/update-dependencies.js.map +1 -0
- package/dist/cli/update-facts.d.ts +12 -0
- package/dist/cli/update-facts.d.ts.map +1 -1
- package/dist/cli/update-plan.d.ts +10 -0
- package/dist/cli/update-plan.d.ts.map +1 -1
- package/dist/cli/update-plan.js +34 -6
- package/dist/cli/update-plan.js.map +1 -1
- package/dist/cli/validate-lists.d.ts +66 -0
- package/dist/cli/validate-lists.d.ts.map +1 -0
- package/dist/cli/validate-lists.js +107 -0
- package/dist/cli/validate-lists.js.map +1 -0
- package/dist/cli/validate-run.d.ts +13 -8
- package/dist/cli/validate-run.d.ts.map +1 -1
- package/dist/cli/validate-run.js +3 -0
- package/dist/cli/validate-run.js.map +1 -1
- package/dist/entry/mods.d.ts +1 -1
- package/dist/entry/mods.d.ts.map +1 -1
- package/dist/entry/mods.js +1 -1
- package/dist/entry/mods.js.map +1 -1
- package/dist/format/add-dir-gate.d.ts +27 -0
- package/dist/format/add-dir-gate.d.ts.map +1 -0
- package/dist/format/add-dir-gate.js +16 -0
- package/dist/format/add-dir-gate.js.map +1 -0
- package/dist/format/agent-scalars.d.ts +5 -8
- package/dist/format/agent-scalars.d.ts.map +1 -1
- package/dist/format/agent-scalars.js +7 -8
- package/dist/format/agent-scalars.js.map +1 -1
- package/dist/format/engines.d.ts +63 -0
- package/dist/format/engines.d.ts.map +1 -0
- package/dist/format/engines.js +78 -0
- package/dist/format/engines.js.map +1 -0
- package/dist/format/hooks-handlers.d.ts.map +1 -1
- package/dist/format/hooks-handlers.js +2 -0
- package/dist/format/hooks-handlers.js.map +1 -1
- package/dist/format/host-errors.d.ts.map +1 -1
- package/dist/format/host-errors.js +1 -1
- package/dist/format/host-errors.js.map +1 -1
- package/dist/format/index.d.ts +4 -1
- package/dist/format/index.d.ts.map +1 -1
- package/dist/format/index.js +4 -1
- package/dist/format/index.js.map +1 -1
- package/dist/format/locate.d.ts +1 -1
- package/dist/format/locate.js +1 -1
- package/dist/format/manifest-schema.d.ts +4 -0
- package/dist/format/manifest-schema.d.ts.map +1 -1
- package/dist/format/manifest-schema.js +3 -0
- package/dist/format/manifest-schema.js.map +1 -1
- package/dist/format/manifest.d.ts +3 -0
- package/dist/format/manifest.d.ts.map +1 -1
- package/dist/format/manifest.js +84 -12
- package/dist/format/manifest.js.map +1 -1
- package/dist/format/marketplace/entries.d.ts.map +1 -1
- package/dist/format/marketplace/entries.js +13 -5
- package/dist/format/marketplace/entries.js.map +1 -1
- package/dist/format/marketplace/entry-display.d.ts +22 -0
- package/dist/format/marketplace/entry-display.d.ts.map +1 -0
- package/dist/format/marketplace/entry-display.js +60 -0
- package/dist/format/marketplace/entry-display.js.map +1 -0
- package/dist/format/marketplace/entry-schema.d.ts +1 -1
- package/dist/format/marketplace/entry-schema.d.ts.map +1 -1
- package/dist/format/marketplace/entry-schema.js +4 -1
- package/dist/format/marketplace/entry-schema.js.map +1 -1
- package/dist/format/marketplace/index.d.ts +2 -1
- package/dist/format/marketplace/index.d.ts.map +1 -1
- package/dist/format/marketplace/index.js +2 -1
- package/dist/format/marketplace/index.js.map +1 -1
- package/dist/format/marketplace/marketplace-name-lists.d.ts +0 -2
- package/dist/format/marketplace/marketplace-name-lists.d.ts.map +1 -1
- package/dist/format/marketplace/marketplace-name-lists.js +0 -9
- package/dist/format/marketplace/marketplace-name-lists.js.map +1 -1
- package/dist/format/marketplace/marketplace-names.d.ts +2 -0
- package/dist/format/marketplace/marketplace-names.d.ts.map +1 -1
- package/dist/format/marketplace/marketplace-names.js +14 -16
- package/dist/format/marketplace/marketplace-names.js.map +1 -1
- package/dist/format/marketplace/plugin-source.d.ts.map +1 -1
- package/dist/format/marketplace/plugin-source.js +9 -4
- package/dist/format/marketplace/plugin-source.js.map +1 -1
- package/dist/format/marketplace/settings-source-plugins.d.ts.map +1 -1
- package/dist/format/marketplace/settings-source-plugins.js +3 -2
- package/dist/format/marketplace/settings-source-plugins.js.map +1 -1
- package/dist/format/marketplace/types.d.ts +11 -0
- package/dist/format/marketplace/types.d.ts.map +1 -1
- package/dist/format/marketplace/types.js.map +1 -1
- package/dist/format/mcp-bundles.js +5 -5
- package/dist/format/mcp-bundles.js.map +1 -1
- package/dist/format/mcp-contract.d.ts +2 -1
- package/dist/format/mcp-contract.d.ts.map +1 -1
- package/dist/format/mcp-contract.js +2 -1
- package/dist/format/mcp-contract.js.map +1 -1
- package/dist/format/mcp-task-timing.d.ts +29 -0
- package/dist/format/mcp-task-timing.d.ts.map +1 -0
- package/dist/format/mcp-task-timing.js +22 -0
- package/dist/format/mcp-task-timing.js.map +1 -0
- package/dist/format/mcp-tool-schema.d.ts +11 -3
- package/dist/format/mcp-tool-schema.d.ts.map +1 -1
- package/dist/format/mcp-tool-schema.js +11 -0
- package/dist/format/mcp-tool-schema.js.map +1 -1
- package/dist/format/network.d.ts +6 -0
- package/dist/format/network.d.ts.map +1 -0
- package/dist/format/network.js +37 -0
- package/dist/format/network.js.map +1 -0
- package/dist/format/plugin-notes.d.ts +15 -0
- package/dist/format/plugin-notes.d.ts.map +1 -0
- package/dist/format/plugin-notes.js +13 -0
- package/dist/format/plugin-notes.js.map +1 -0
- package/dist/format/plugin-settings.d.ts +15 -9
- package/dist/format/plugin-settings.d.ts.map +1 -1
- package/dist/format/plugin-settings.js +11 -8
- package/dist/format/plugin-settings.js.map +1 -1
- package/dist/format/server-paths.d.ts +7 -0
- package/dist/format/server-paths.d.ts.map +1 -0
- package/dist/format/server-paths.js +43 -0
- package/dist/format/server-paths.js.map +1 -0
- package/dist/format/validate/plugin-fields.d.ts +5 -0
- package/dist/format/validate/plugin-fields.d.ts.map +1 -1
- package/dist/format/validate/plugin-fields.js +15 -0
- package/dist/format/validate/plugin-fields.js.map +1 -1
- package/dist/format/validate/plugin-manifest.d.ts.map +1 -1
- package/dist/format/validate/plugin-manifest.js +4 -1
- package/dist/format/validate/plugin-manifest.js.map +1 -1
- package/dist/format/validate/settings-deprecation.d.ts +4 -0
- package/dist/format/validate/settings-deprecation.d.ts.map +1 -0
- package/dist/format/validate/settings-deprecation.js +25 -0
- package/dist/format/validate/settings-deprecation.js.map +1 -0
- package/dist/format/validate/unknown-fields.d.ts.map +1 -1
- package/dist/format/validate/unknown-fields.js +1 -9
- package/dist/format/validate/unknown-fields.js.map +1 -1
- package/dist/foundation/scope-folders.d.ts +3 -1
- package/dist/foundation/scope-folders.d.ts.map +1 -1
- package/dist/foundation/scope-folders.js +3 -1
- package/dist/foundation/scope-folders.js.map +1 -1
- package/dist/hooks/assemble.d.ts.map +1 -1
- package/dist/hooks/assemble.js +8 -1
- package/dist/hooks/assemble.js.map +1 -1
- package/dist/hooks/core/profiles.d.ts +1 -1
- package/dist/hooks/dispatch.d.ts.map +1 -1
- package/dist/hooks/dispatch.js +29 -4
- package/dist/hooks/dispatch.js.map +1 -1
- package/dist/hooks/handlers/context.d.ts +4 -1
- package/dist/hooks/handlers/context.d.ts.map +1 -1
- package/dist/hooks/handlers/remote/http-policy.d.ts +15 -6
- package/dist/hooks/handlers/remote/http-policy.d.ts.map +1 -1
- package/dist/hooks/handlers/remote/http-policy.js +2 -0
- package/dist/hooks/handlers/remote/http-policy.js.map +1 -1
- package/dist/hooks/handlers/remote/http.js +2 -2
- package/dist/hooks/handlers/remote/http.js.map +1 -1
- package/dist/hooks/handlers/remote/mcp-tool.d.ts.map +1 -1
- package/dist/hooks/handlers/remote/mcp-tool.js +20 -1
- package/dist/hooks/handlers/remote/mcp-tool.js.map +1 -1
- package/dist/hooks/handlers/remote/types.d.ts +8 -0
- package/dist/hooks/handlers/remote/types.d.ts.map +1 -1
- package/dist/hooks/input/facts-agents.d.ts +2 -2
- package/dist/hooks/input/facts-agents.d.ts.map +1 -1
- package/dist/hooks/input/facts-agents.js +11 -3
- package/dist/hooks/input/facts-agents.js.map +1 -1
- package/dist/hooks/input/facts.d.ts +2 -2
- package/dist/hooks/outcome.d.ts +31 -0
- package/dist/hooks/outcome.d.ts.map +1 -1
- package/dist/hooks/output/caps.d.ts.map +1 -1
- package/dist/hooks/output/caps.js +4 -3
- package/dist/hooks/output/caps.js.map +1 -1
- package/dist/hooks/output/cowork-answers.d.ts +15 -0
- package/dist/hooks/output/cowork-answers.d.ts.map +1 -0
- package/dist/hooks/output/cowork-answers.js +19 -0
- package/dist/hooks/output/cowork-answers.js.map +1 -0
- package/dist/hooks/output/merge-simple.d.ts.map +1 -1
- package/dist/hooks/output/merge-simple.js +5 -2
- package/dist/hooks/output/merge-simple.js.map +1 -1
- package/dist/hooks/output/merge.d.ts.map +1 -1
- package/dist/hooks/output/merge.js +1 -1
- package/dist/hooks/output/merge.js.map +1 -1
- package/dist/hooks/output/tool-output.d.ts +2 -9
- package/dist/hooks/output/tool-output.d.ts.map +1 -1
- package/dist/hooks/output/tool-output.js +42 -1
- package/dist/hooks/output/tool-output.js.map +1 -1
- package/dist/hooks/output/tool-shapes/shapes-1.d.ts.map +1 -1
- package/dist/hooks/output/tool-shapes/shapes-1.js +3 -0
- package/dist/hooks/output/tool-shapes/shapes-1.js.map +1 -1
- package/dist/hooks/output/tool-shapes/shapes-3.d.ts.map +1 -1
- package/dist/hooks/output/tool-shapes/shapes-3.js +1 -0
- package/dist/hooks/output/tool-shapes/shapes-3.js.map +1 -1
- package/dist/hooks/output/tool-shapes/shapes-4.d.ts.map +1 -1
- package/dist/hooks/output/tool-shapes/shapes-4.js +12 -1
- package/dist/hooks/output/tool-shapes/shapes-4.js.map +1 -1
- package/dist/hooks/output/tool-shapes/shapes-5.d.ts.map +1 -1
- package/dist/hooks/output/tool-shapes/shapes-5.js +9 -1
- package/dist/hooks/output/tool-shapes/shapes-5.js.map +1 -1
- package/dist/hooks/run-all.d.ts.map +1 -1
- package/dist/hooks/run-all.js +1 -0
- package/dist/hooks/run-all.js.map +1 -1
- package/dist/hooks/select/event-catalog.d.ts.map +1 -1
- package/dist/hooks/select/event-catalog.js +4 -1
- package/dist/hooks/select/event-catalog.js.map +1 -1
- package/dist/hooks/select/matcher-values.d.ts +2 -2
- package/dist/hooks/select/matcher-values.d.ts.map +1 -1
- package/dist/hooks/select/matcher-values.js +0 -1
- package/dist/hooks/select/matcher-values.js.map +1 -1
- package/dist/hooks/verdict/exit2.d.ts +5 -0
- package/dist/hooks/verdict/exit2.d.ts.map +1 -1
- package/dist/hooks/verdict/exit2.js +1 -1
- package/dist/hooks/verdict/exit2.js.map +1 -1
- package/dist/hooks/verdict/interpret.d.ts +2 -0
- package/dist/hooks/verdict/interpret.d.ts.map +1 -1
- package/dist/hooks/verdict/interpret.js +5 -5
- package/dist/hooks/verdict/interpret.js.map +1 -1
- package/dist/hooks/verdict/mcp-answer.d.ts +5 -0
- package/dist/hooks/verdict/mcp-answer.d.ts.map +1 -0
- package/dist/hooks/verdict/mcp-answer.js +57 -0
- package/dist/hooks/verdict/mcp-answer.js.map +1 -0
- package/dist/hooks/verdict/model-verdict.d.ts.map +1 -1
- package/dist/hooks/verdict/model-verdict.js +1 -1
- package/dist/hooks/verdict/model-verdict.js.map +1 -1
- package/dist/hooks/verdict/on-failure.d.ts +12 -2
- package/dist/hooks/verdict/on-failure.d.ts.map +1 -1
- package/dist/hooks/verdict/on-failure.js +43 -7
- package/dist/hooks/verdict/on-failure.js.map +1 -1
- package/dist/hooks/verdict/subject.d.ts +2 -0
- package/dist/hooks/verdict/subject.d.ts.map +1 -1
- package/dist/hooks/verdict/suspect-capture.d.ts.map +1 -1
- package/dist/hooks/verdict/suspect-capture.js +6 -1
- package/dist/hooks/verdict/suspect-capture.js.map +1 -1
- package/dist/host/session-agents.d.ts +5 -11
- package/dist/host/session-agents.d.ts.map +1 -1
- package/dist/host/session-agents.js +9 -13
- package/dist/host/session-agents.js.map +1 -1
- package/dist/host/session-bare-repository.d.ts +13 -0
- package/dist/host/session-bare-repository.d.ts.map +1 -0
- package/dist/host/session-bare-repository.js +32 -0
- package/dist/host/session-bare-repository.js.map +1 -0
- package/dist/host/session-engine.d.ts.map +1 -1
- package/dist/host/session-engine.js +2 -1
- package/dist/host/session-engine.js.map +1 -1
- package/dist/host/session-hooks.d.ts.map +1 -1
- package/dist/host/session-hooks.js +15 -1
- package/dist/host/session-hooks.js.map +1 -1
- package/dist/host/session-registry.d.ts +7 -0
- package/dist/host/session-registry.d.ts.map +1 -1
- package/dist/host/session-registry.js +12 -0
- package/dist/host/session-registry.js.map +1 -1
- package/dist/host/session-skill-expand.d.ts +5 -0
- package/dist/host/session-skill-expand.d.ts.map +1 -1
- package/dist/host/session-skill-expand.js +5 -20
- package/dist/host/session-skill-expand.js.map +1 -1
- package/dist/host/session-skill-permission.d.ts +9 -0
- package/dist/host/session-skill-permission.d.ts.map +1 -0
- package/dist/host/session-skill-permission.js +21 -0
- package/dist/host/session-skill-permission.js.map +1 -0
- package/dist/host/session-skills.d.ts.map +1 -1
- package/dist/host/session-skills.js +20 -13
- package/dist/host/session-skills.js.map +1 -1
- package/dist/host/session-types.d.ts +7 -0
- package/dist/host/session-types.d.ts.map +1 -1
- package/dist/host/session.d.ts.map +1 -1
- package/dist/host/session.js +0 -1
- package/dist/host/session.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/loading/load-notes.d.ts +21 -0
- package/dist/loading/load-notes.d.ts.map +1 -0
- package/dist/loading/load-notes.js +34 -0
- package/dist/loading/load-notes.js.map +1 -0
- package/dist/loading/load-plugin.d.ts +12 -0
- package/dist/loading/load-plugin.d.ts.map +1 -1
- package/dist/loading/load-plugin.js +20 -3
- package/dist/loading/load-plugin.js.map +1 -1
- package/dist/loading/manifest-gate.d.ts +1 -1
- package/dist/loading/plugin-folder.d.ts +2 -1
- package/dist/loading/plugin-folder.d.ts.map +1 -1
- package/dist/loading/plugin-folder.js +4 -1
- package/dist/loading/plugin-folder.js.map +1 -1
- package/dist/loading/plugin-model.d.ts +8 -0
- package/dist/loading/plugin-model.d.ts.map +1 -1
- package/dist/loading/validate/marketplace-target.d.ts.map +1 -1
- package/dist/loading/validate/marketplace-target.js +22 -4
- package/dist/loading/validate/marketplace-target.js.map +1 -1
- package/dist/loading/validate/plugin-contents.d.ts.map +1 -1
- package/dist/loading/validate/plugin-contents.js +8 -0
- package/dist/loading/validate/plugin-contents.js.map +1 -1
- package/dist/loading/walk.js +3 -3
- package/dist/loading/walk.js.map +1 -1
- package/dist/marketplace/dependency-graph.d.ts +5 -0
- package/dist/marketplace/dependency-graph.d.ts.map +1 -1
- package/dist/marketplace/dependency-graph.js.map +1 -1
- package/dist/marketplace/dependency-install-plan.d.ts +6 -5
- package/dist/marketplace/dependency-install-plan.d.ts.map +1 -1
- package/dist/marketplace/dependency-install-plan.js +6 -4
- package/dist/marketplace/dependency-install-plan.js.map +1 -1
- package/dist/marketplace/enablement-notes.d.ts +22 -7
- package/dist/marketplace/enablement-notes.d.ts.map +1 -1
- package/dist/marketplace/enablement-notes.js +36 -13
- package/dist/marketplace/enablement-notes.js.map +1 -1
- package/dist/marketplace/headless-report.d.ts +12 -0
- package/dist/marketplace/headless-report.d.ts.map +1 -1
- package/dist/marketplace/headless-report.js +11 -1
- package/dist/marketplace/headless-report.js.map +1 -1
- package/dist/marketplace/index.d.ts +1 -1
- package/dist/marketplace/index.d.ts.map +1 -1
- package/dist/marketplace/index.js +1 -1
- package/dist/marketplace/index.js.map +1 -1
- package/dist/marketplace/install-commands.d.ts +5 -0
- package/dist/marketplace/install-commands.d.ts.map +1 -1
- package/dist/marketplace/install-commands.js +6 -3
- package/dist/marketplace/install-commands.js.map +1 -1
- package/dist/marketplace/install-errors.d.ts +5 -4
- package/dist/marketplace/install-errors.d.ts.map +1 -1
- package/dist/marketplace/install-errors.js +8 -7
- package/dist/marketplace/install-errors.js.map +1 -1
- package/dist/marketplace/install-lifecycle-index.d.ts +4 -2
- package/dist/marketplace/install-lifecycle-index.d.ts.map +1 -1
- package/dist/marketplace/install-lifecycle-index.js +2 -0
- package/dist/marketplace/install-lifecycle-index.js.map +1 -1
- package/dist/marketplace/install-plan.d.ts +2 -0
- package/dist/marketplace/install-plan.d.ts.map +1 -1
- package/dist/marketplace/install-plan.js +5 -0
- package/dist/marketplace/install-plan.js.map +1 -1
- package/dist/marketplace/install-plans.d.ts +3 -3
- package/dist/marketplace/install-plans.d.ts.map +1 -1
- package/dist/marketplace/install-plans.js +3 -4
- package/dist/marketplace/install-plans.js.map +1 -1
- package/dist/marketplace/managed-take-back.d.ts +25 -0
- package/dist/marketplace/managed-take-back.d.ts.map +1 -0
- package/dist/marketplace/managed-take-back.js +24 -0
- package/dist/marketplace/managed-take-back.js.map +1 -0
- package/dist/marketplace/marketplace-fetch-plan.d.ts.map +1 -1
- package/dist/marketplace/marketplace-fetch-plan.js +2 -0
- package/dist/marketplace/marketplace-fetch-plan.js.map +1 -1
- package/dist/marketplace/reload-summary.d.ts +5 -0
- package/dist/marketplace/reload-summary.d.ts.map +1 -1
- package/dist/marketplace/reload-summary.js +8 -3
- package/dist/marketplace/reload-summary.js.map +1 -1
- package/dist/marketplace/removal.d.ts +4 -4
- package/dist/marketplace/removal.d.ts.map +1 -1
- package/dist/marketplace/removal.js +3 -3
- package/dist/marketplace/removal.js.map +1 -1
- package/dist/marketplace/seed-registry.d.ts +7 -5
- package/dist/marketplace/seed-registry.d.ts.map +1 -1
- package/dist/marketplace/seed-registry.js +7 -5
- package/dist/marketplace/seed-registry.js.map +1 -1
- package/dist/marketplace/store-layout.d.ts +9 -3
- package/dist/marketplace/store-layout.d.ts.map +1 -1
- package/dist/marketplace/store-layout.js +9 -4
- package/dist/marketplace/store-layout.js.map +1 -1
- package/dist/marketplace/types.d.ts +5 -0
- package/dist/marketplace/types.d.ts.map +1 -1
- package/dist/mods/api/agent.d.ts.map +1 -1
- package/dist/mods/api/agent.js +28 -0
- package/dist/mods/api/agent.js.map +1 -1
- package/dist/mods/api/audio.d.ts.map +1 -1
- package/dist/mods/api/audio.js +19 -5
- package/dist/mods/api/audio.js.map +1 -1
- package/dist/mods/api/build.d.ts +1 -1
- package/dist/mods/api/build.d.ts.map +1 -1
- package/dist/mods/api/build.js +6 -2
- package/dist/mods/api/build.js.map +1 -1
- package/dist/mods/api/call.d.ts.map +1 -1
- package/dist/mods/api/call.js +7 -0
- package/dist/mods/api/call.js.map +1 -1
- package/dist/mods/api/command.d.ts +11 -0
- package/dist/mods/api/command.d.ts.map +1 -1
- package/dist/mods/api/command.js +19 -1
- package/dist/mods/api/command.js.map +1 -1
- package/dist/mods/api/declared-port-types.d.ts +116 -0
- package/dist/mods/api/declared-port-types.d.ts.map +1 -0
- package/dist/mods/api/declared-port-types.js +31 -0
- package/dist/mods/api/declared-port-types.js.map +1 -0
- package/dist/mods/api/engine-create.d.ts +2 -0
- package/dist/mods/api/engine-create.d.ts.map +1 -1
- package/dist/mods/api/engine-create.js +6 -0
- package/dist/mods/api/engine-create.js.map +1 -1
- package/dist/mods/api/exec.d.ts.map +1 -1
- package/dist/mods/api/exec.js +3 -0
- package/dist/mods/api/exec.js.map +1 -1
- package/dist/mods/api/fs-ports.d.ts +8 -2
- package/dist/mods/api/fs-ports.d.ts.map +1 -1
- package/dist/mods/api/fs.d.ts.map +1 -1
- package/dist/mods/api/fs.js +26 -7
- package/dist/mods/api/fs.js.map +1 -1
- package/dist/mods/api/gate.d.ts +3 -3
- package/dist/mods/api/gate.d.ts.map +1 -1
- package/dist/mods/api/gate.js +3 -3
- package/dist/mods/api/gate.js.map +1 -1
- package/dist/mods/api/host-ports.d.ts +2 -1
- package/dist/mods/api/host-ports.d.ts.map +1 -1
- package/dist/mods/api/host-ports.js +15 -0
- package/dist/mods/api/host-ports.js.map +1 -1
- package/dist/mods/api/index.d.ts +4 -3
- package/dist/mods/api/index.d.ts.map +1 -1
- package/dist/mods/api/index.js +3 -2
- package/dist/mods/api/index.js.map +1 -1
- package/dist/mods/api/mcp.d.ts.map +1 -1
- package/dist/mods/api/mcp.js +6 -1
- package/dist/mods/api/mcp.js.map +1 -1
- package/dist/mods/api/optional-port-types.d.ts +52 -18
- package/dist/mods/api/optional-port-types.d.ts.map +1 -1
- package/dist/mods/api/ports.d.ts +5 -42
- package/dist/mods/api/ports.d.ts.map +1 -1
- package/dist/mods/api/ports.js.map +1 -1
- package/dist/mods/api/registries.d.ts +9 -10
- package/dist/mods/api/registries.d.ts.map +1 -1
- package/dist/mods/api/registries.js +8 -8
- package/dist/mods/api/registries.js.map +1 -1
- package/dist/mods/api/session-ports.d.ts +54 -0
- package/dist/mods/api/session-ports.d.ts.map +1 -0
- package/dist/mods/api/session-ports.js +2 -0
- package/dist/mods/api/session-ports.js.map +1 -0
- package/dist/mods/api/session.d.ts.map +1 -1
- package/dist/mods/api/session.js +28 -2
- package/dist/mods/api/session.js.map +1 -1
- package/dist/mods/api/theme.d.ts +11 -4
- package/dist/mods/api/theme.d.ts.map +1 -1
- package/dist/mods/api/theme.js +116 -30
- package/dist/mods/api/theme.js.map +1 -1
- package/dist/mods/api/vcs.d.ts +4 -0
- package/dist/mods/api/vcs.d.ts.map +1 -0
- package/dist/mods/api/vcs.js +60 -0
- package/dist/mods/api/vcs.js.map +1 -0
- package/dist/mods/api/wasm.d.ts +4 -0
- package/dist/mods/api/wasm.d.ts.map +1 -0
- package/dist/mods/api/wasm.js +69 -0
- package/dist/mods/api/wasm.js.map +1 -0
- package/dist/mods/chain/api-guard.d.ts +10 -1
- package/dist/mods/chain/api-guard.d.ts.map +1 -1
- package/dist/mods/chain/api-guard.js +23 -7
- package/dist/mods/chain/api-guard.js.map +1 -1
- package/dist/mods/chain/context.d.ts +6 -0
- package/dist/mods/chain/context.d.ts.map +1 -1
- package/dist/mods/chain/context.js +6 -0
- package/dist/mods/chain/context.js.map +1 -1
- package/dist/mods/chain/default-matcher.d.ts +11 -0
- package/dist/mods/chain/default-matcher.d.ts.map +1 -0
- package/dist/mods/chain/default-matcher.js +61 -0
- package/dist/mods/chain/default-matcher.js.map +1 -0
- package/dist/mods/chain/dispatch.d.ts.map +1 -1
- package/dist/mods/chain/dispatch.js +19 -1
- package/dist/mods/chain/dispatch.js.map +1 -1
- package/dist/mods/chain/failure.d.ts +2 -0
- package/dist/mods/chain/failure.d.ts.map +1 -1
- package/dist/mods/chain/failure.js +6 -0
- package/dist/mods/chain/failure.js.map +1 -1
- package/dist/mods/chain/guarded.d.ts +2 -0
- package/dist/mods/chain/guarded.d.ts.map +1 -1
- package/dist/mods/chain/guarded.js +6 -2
- package/dist/mods/chain/guarded.js.map +1 -1
- package/dist/mods/chain/invoke.d.ts.map +1 -1
- package/dist/mods/chain/invoke.js +25 -5
- package/dist/mods/chain/invoke.js.map +1 -1
- package/dist/mods/chain/validate.d.ts.map +1 -1
- package/dist/mods/chain/validate.js +2 -1
- package/dist/mods/chain/validate.js.map +1 -1
- package/dist/mods/events/agent.d.ts.map +1 -1
- package/dist/mods/events/agent.js +7 -3
- package/dist/mods/events/agent.js.map +1 -1
- package/dist/mods/events/declared.d.ts +12 -0
- package/dist/mods/events/declared.d.ts.map +1 -0
- package/dist/mods/events/declared.js +43 -0
- package/dist/mods/events/declared.js.map +1 -0
- package/dist/mods/events/index.d.ts +6 -0
- package/dist/mods/events/index.d.ts.map +1 -1
- package/dist/mods/events/index.js +4 -1
- package/dist/mods/events/index.js.map +1 -1
- package/dist/mods/events/pinned.d.ts +7 -0
- package/dist/mods/events/pinned.d.ts.map +1 -0
- package/dist/mods/events/pinned.js +21 -0
- package/dist/mods/events/pinned.js.map +1 -0
- package/dist/mods/events/session.d.ts.map +1 -1
- package/dist/mods/events/session.js +17 -4
- package/dist/mods/events/session.js.map +1 -1
- package/dist/mods/events/spec.d.ts +2 -0
- package/dist/mods/events/spec.d.ts.map +1 -1
- package/dist/mods/events/spec.js.map +1 -1
- package/dist/mods/events/tool.d.ts +2 -2
- package/dist/mods/events/tool.d.ts.map +1 -1
- package/dist/mods/events/tool.js +50 -10
- package/dist/mods/events/tool.js.map +1 -1
- package/dist/mods/events/turn.d.ts.map +1 -1
- package/dist/mods/events/turn.js +12 -1
- package/dist/mods/events/turn.js.map +1 -1
- package/dist/mods/load/auto-mode-approval.d.ts +6 -9
- package/dist/mods/load/auto-mode-approval.d.ts.map +1 -1
- package/dist/mods/load/auto-mode-approval.js +1 -1
- package/dist/mods/load/auto-mode-approval.js.map +1 -1
- package/dist/mods/load/commands/module-facts.d.ts +22 -0
- package/dist/mods/load/commands/module-facts.d.ts.map +1 -0
- package/dist/mods/load/commands/module-facts.js +18 -0
- package/dist/mods/load/commands/module-facts.js.map +1 -0
- package/dist/mods/load/commands/scan-lead.d.ts +2 -0
- package/dist/mods/load/commands/scan-lead.d.ts.map +1 -1
- package/dist/mods/load/commands/scan-lead.js +5 -2
- package/dist/mods/load/commands/scan-lead.js.map +1 -1
- package/dist/mods/load/commands/scan-lines.d.ts.map +1 -1
- package/dist/mods/load/commands/scan-lines.js +32 -1
- package/dist/mods/load/commands/scan-lines.js.map +1 -1
- package/dist/mods/load/commands/sha256.d.ts +7 -0
- package/dist/mods/load/commands/sha256.d.ts.map +1 -0
- package/dist/mods/load/commands/sha256.js +75 -0
- package/dist/mods/load/commands/sha256.js.map +1 -0
- package/dist/mods/load/commands/validate-report.d.ts +9 -0
- package/dist/mods/load/commands/validate-report.d.ts.map +1 -1
- package/dist/mods/load/commands/validate.d.ts.map +1 -1
- package/dist/mods/load/commands/validate.js +23 -16
- package/dist/mods/load/commands/validate.js.map +1 -1
- package/dist/mods/load/commands/wasm-read.d.ts +21 -0
- package/dist/mods/load/commands/wasm-read.d.ts.map +1 -0
- package/dist/mods/load/commands/wasm-read.js +169 -0
- package/dist/mods/load/commands/wasm-read.js.map +1 -0
- package/dist/mods/load/guard-protection.d.ts +7 -0
- package/dist/mods/load/guard-protection.d.ts.map +1 -1
- package/dist/mods/load/guard-protection.js +8 -3
- package/dist/mods/load/guard-protection.js.map +1 -1
- package/dist/mods/load/guard-surfaces.d.ts.map +1 -1
- package/dist/mods/load/guard-surfaces.js +2 -0
- package/dist/mods/load/guard-surfaces.js.map +1 -1
- package/dist/mods/load/guard-tools.d.ts +25 -0
- package/dist/mods/load/guard-tools.d.ts.map +1 -0
- package/dist/mods/load/guard-tools.js +29 -0
- package/dist/mods/load/guard-tools.js.map +1 -0
- package/dist/mods/load/guard.d.ts +3 -0
- package/dist/mods/load/guard.d.ts.map +1 -1
- package/dist/mods/load/guard.js +19 -8
- package/dist/mods/load/guard.js.map +1 -1
- package/dist/mods/load/host-support.d.ts +16 -3
- package/dist/mods/load/host-support.d.ts.map +1 -1
- package/dist/mods/load/host-support.js +28 -7
- package/dist/mods/load/host-support.js.map +1 -1
- package/dist/mods/load/host.d.ts +15 -2
- package/dist/mods/load/host.d.ts.map +1 -1
- package/dist/mods/load/host.js +4 -3
- package/dist/mods/load/host.js.map +1 -1
- package/dist/mods/load/in-turn.d.ts +6 -0
- package/dist/mods/load/in-turn.d.ts.map +1 -0
- package/dist/mods/load/in-turn.js +13 -0
- package/dist/mods/load/in-turn.js.map +1 -0
- package/dist/mods/load/index.d.ts +6 -3
- package/dist/mods/load/index.d.ts.map +1 -1
- package/dist/mods/load/index.js +4 -3
- package/dist/mods/load/index.js.map +1 -1
- package/dist/mods/load/loader.d.ts +13 -2
- package/dist/mods/load/loader.d.ts.map +1 -1
- package/dist/mods/load/loader.js +14 -10
- package/dist/mods/load/loader.js.map +1 -1
- package/dist/mods/load/mod-set.d.ts +3 -0
- package/dist/mods/load/mod-set.d.ts.map +1 -1
- package/dist/mods/load/mod-set.js +6 -15
- package/dist/mods/load/mod-set.js.map +1 -1
- package/dist/mods/load/order.js +2 -2
- package/dist/mods/load/order.js.map +1 -1
- package/dist/mods/load/plugin-dirs.d.ts +14 -4
- package/dist/mods/load/plugin-dirs.d.ts.map +1 -1
- package/dist/mods/load/plugin-dirs.js +14 -9
- package/dist/mods/load/plugin-dirs.js.map +1 -1
- package/dist/mods/load/policy.d.ts +12 -8
- package/dist/mods/load/policy.d.ts.map +1 -1
- package/dist/mods/load/policy.js +47 -19
- package/dist/mods/load/policy.js.map +1 -1
- package/dist/mods/load/prepare.d.ts +4 -0
- package/dist/mods/load/prepare.d.ts.map +1 -1
- package/dist/mods/load/prepare.js +21 -3
- package/dist/mods/load/prepare.js.map +1 -1
- package/dist/mods/load/provides.d.ts +25 -0
- package/dist/mods/load/provides.d.ts.map +1 -0
- package/dist/mods/load/provides.js +128 -0
- package/dist/mods/load/provides.js.map +1 -0
- package/dist/mods/load/register-ask.d.ts +32 -0
- package/dist/mods/load/register-ask.d.ts.map +1 -0
- package/dist/mods/load/register-ask.js +45 -0
- package/dist/mods/load/register-ask.js.map +1 -0
- package/dist/mods/load/register-call.d.ts +23 -13
- package/dist/mods/load/register-call.d.ts.map +1 -1
- package/dist/mods/load/register-call.js +69 -23
- package/dist/mods/load/register-call.js.map +1 -1
- package/dist/mods/load/register-event.d.ts +70 -0
- package/dist/mods/load/register-event.d.ts.map +1 -0
- package/dist/mods/load/register-event.js +35 -0
- package/dist/mods/load/register-event.js.map +1 -0
- package/dist/mods/load/scan/client-modules.d.ts +2 -0
- package/dist/mods/load/scan/client-modules.d.ts.map +1 -1
- package/dist/mods/load/scan/client-modules.js +1 -1
- package/dist/mods/load/scan/client-modules.js.map +1 -1
- package/dist/mods/load/scan/event-names.d.ts.map +1 -1
- package/dist/mods/load/scan/event-names.js +2 -0
- package/dist/mods/load/scan/event-names.js.map +1 -1
- package/dist/mods/load/scan/found.d.ts +5 -0
- package/dist/mods/load/scan/found.d.ts.map +1 -1
- package/dist/mods/load/scan/found.js +3 -0
- package/dist/mods/load/scan/found.js.map +1 -1
- package/dist/mods/load/scan/hosts.d.ts +5 -0
- package/dist/mods/load/scan/hosts.d.ts.map +1 -0
- package/dist/mods/load/scan/hosts.js +44 -0
- package/dist/mods/load/scan/hosts.js.map +1 -0
- package/dist/mods/load/scan/index.d.ts +1 -0
- package/dist/mods/load/scan/index.d.ts.map +1 -1
- package/dist/mods/load/scan/index.js +7 -0
- package/dist/mods/load/scan/index.js.map +1 -1
- package/dist/mods/load/scan/rules.d.ts.map +1 -1
- package/dist/mods/load/scan/rules.js +4 -0
- package/dist/mods/load/scan/rules.js.map +1 -1
- package/dist/mods/load/scan/uses.d.ts +8 -0
- package/dist/mods/load/scan/uses.d.ts.map +1 -1
- package/dist/mods/load/scan/uses.js +2 -0
- package/dist/mods/load/scan/uses.js.map +1 -1
- package/dist/mods/load/scan/wasm-paths.d.ts +17 -0
- package/dist/mods/load/scan/wasm-paths.d.ts.map +1 -0
- package/dist/mods/load/scan/wasm-paths.js +16 -0
- package/dist/mods/load/scan/wasm-paths.js.map +1 -0
- package/dist/mods/load/tool-flow.d.ts +1 -1
- package/dist/mods/load/tool-flow.d.ts.map +1 -1
- package/dist/mods/load/tool-flow.js +15 -2
- package/dist/mods/load/tool-flow.js.map +1 -1
- package/dist/mods/load/wasm-files.d.ts +35 -0
- package/dist/mods/load/wasm-files.d.ts.map +1 -0
- package/dist/mods/load/wasm-files.js +40 -0
- package/dist/mods/load/wasm-files.js.map +1 -0
- package/dist/mods/load/wiring.d.ts.map +1 -1
- package/dist/mods/load/wiring.js +20 -8
- package/dist/mods/load/wiring.js.map +1 -1
- package/dist/mods/load/written-mods.d.ts +16 -3
- package/dist/mods/load/written-mods.d.ts.map +1 -1
- package/dist/mods/load/written-mods.js +26 -25
- package/dist/mods/load/written-mods.js.map +1 -1
- package/dist/mods/types.d.ts +10 -9
- package/dist/mods/types.d.ts.map +1 -1
- package/dist/mods/ui/controls/hotkeys.d.ts +8 -0
- package/dist/mods/ui/controls/hotkeys.d.ts.map +1 -1
- package/dist/mods/ui/controls/hotkeys.js +30 -3
- package/dist/mods/ui/controls/hotkeys.js.map +1 -1
- package/dist/mods/ui/elements/box.d.ts.map +1 -1
- package/dist/mods/ui/elements/box.js +5 -2
- package/dist/mods/ui/elements/box.js.map +1 -1
- package/dist/mods/ui/elements/limits.d.ts.map +1 -1
- package/dist/mods/ui/elements/limits.js +5 -3
- package/dist/mods/ui/elements/limits.js.map +1 -1
- package/dist/mods/ui/elements/progress.d.ts +8 -0
- package/dist/mods/ui/elements/progress.d.ts.map +1 -0
- package/dist/mods/ui/elements/progress.js +17 -0
- package/dist/mods/ui/elements/progress.js.map +1 -0
- package/dist/mods/ui/elements/prop-size.d.ts +10 -0
- package/dist/mods/ui/elements/prop-size.d.ts.map +1 -0
- package/dist/mods/ui/elements/prop-size.js +34 -0
- package/dist/mods/ui/elements/prop-size.js.map +1 -0
- package/dist/mods/ui/elements/registry.d.ts.map +1 -1
- package/dist/mods/ui/elements/registry.js +4 -0
- package/dist/mods/ui/elements/registry.js.map +1 -1
- package/dist/mods/ui/elements/shader-place.d.ts +8 -0
- package/dist/mods/ui/elements/shader-place.d.ts.map +1 -0
- package/dist/mods/ui/elements/shader-place.js +36 -0
- package/dist/mods/ui/elements/shader-place.js.map +1 -0
- package/dist/mods/ui/elements/shader.d.ts +11 -0
- package/dist/mods/ui/elements/shader.d.ts.map +1 -0
- package/dist/mods/ui/elements/shader.js +28 -0
- package/dist/mods/ui/elements/shader.js.map +1 -0
- package/dist/mods/ui/elements/svg.d.ts +3 -0
- package/dist/mods/ui/elements/svg.d.ts.map +1 -1
- package/dist/mods/ui/elements/svg.js +2 -0
- package/dist/mods/ui/elements/svg.js.map +1 -1
- package/dist/mods/ui/elements/table.d.ts.map +1 -1
- package/dist/mods/ui/elements/table.js +2 -0
- package/dist/mods/ui/elements/table.js.map +1 -1
- package/dist/mods/ui/elements/text.d.ts.map +1 -1
- package/dist/mods/ui/elements/text.js +7 -1
- package/dist/mods/ui/elements/text.js.map +1 -1
- package/dist/mods/ui/elements/validate.d.ts.map +1 -1
- package/dist/mods/ui/elements/validate.js +3 -1
- package/dist/mods/ui/elements/validate.js.map +1 -1
- package/dist/mods/ui/index.d.ts +1 -0
- package/dist/mods/ui/index.d.ts.map +1 -1
- package/dist/mods/ui/index.js.map +1 -1
- package/dist/mods/ui/keyboard/keys.d.ts +3 -0
- package/dist/mods/ui/keyboard/keys.d.ts.map +1 -1
- package/dist/mods/ui/keyboard/keys.js.map +1 -1
- package/dist/mods/ui/panes/open.d.ts +2 -0
- package/dist/mods/ui/panes/open.d.ts.map +1 -1
- package/dist/mods/ui/panes/open.js +3 -1
- package/dist/mods/ui/panes/open.js.map +1 -1
- package/dist/mods/ui/panes/pane-request.d.ts +9 -0
- package/dist/mods/ui/panes/pane-request.d.ts.map +1 -0
- package/dist/mods/ui/panes/pane-request.js +19 -0
- package/dist/mods/ui/panes/pane-request.js.map +1 -0
- package/dist/mods/ui/panes/registry.d.ts +1 -1
- package/dist/mods/ui/panes/registry.d.ts.map +1 -1
- package/dist/mods/ui/panes/registry.js +4 -0
- package/dist/mods/ui/panes/registry.js.map +1 -1
- package/dist/mods/ui/rules.d.ts.map +1 -1
- package/dist/mods/ui/rules.js +3 -0
- package/dist/mods/ui/rules.js.map +1 -1
- package/dist/mods/ui/runtime.d.ts +6 -0
- package/dist/mods/ui/runtime.d.ts.map +1 -1
- package/dist/mods/ui/runtime.js +25 -9
- package/dist/mods/ui/runtime.js.map +1 -1
- package/dist/mods/ui/sites/agent-row.d.ts +7 -0
- package/dist/mods/ui/sites/agent-row.d.ts.map +1 -0
- package/dist/mods/ui/sites/agent-row.js +22 -0
- package/dist/mods/ui/sites/agent-row.js.map +1 -0
- package/dist/mods/ui/sites/backdrop.d.ts +2 -2
- package/dist/mods/ui/sites/backdrop.js +2 -2
- package/dist/mods/ui/sites/band-list.d.ts +10 -0
- package/dist/mods/ui/sites/band-list.d.ts.map +1 -0
- package/dist/mods/ui/sites/band-list.js +41 -0
- package/dist/mods/ui/sites/band-list.js.map +1 -0
- package/dist/mods/ui/sites/band-rows.d.ts +33 -0
- package/dist/mods/ui/sites/band-rows.d.ts.map +1 -0
- package/dist/mods/ui/sites/band-rows.js +61 -0
- package/dist/mods/ui/sites/band-rows.js.map +1 -0
- package/dist/mods/ui/sites/fold.d.ts +2 -0
- package/dist/mods/ui/sites/fold.d.ts.map +1 -1
- package/dist/mods/ui/sites/fold.js +2 -2
- package/dist/mods/ui/sites/fold.js.map +1 -1
- package/dist/mods/ui/sites/registry.d.ts +8 -1
- package/dist/mods/ui/sites/registry.d.ts.map +1 -1
- package/dist/mods/ui/sites/registry.js +21 -14
- package/dist/mods/ui/sites/registry.js.map +1 -1
- package/dist/ports/files.d.ts +1 -1
- package/dist/ports/mcp-bundle.d.ts +3 -2
- package/dist/ports/mcp-bundle.d.ts.map +1 -1
- package/dist/ports/mcp-caller.d.ts +7 -0
- package/dist/ports/mcp-caller.d.ts.map +1 -1
- package/dist/protocol/mods-api-names.d.ts +20 -8
- package/dist/protocol/mods-api-names.d.ts.map +1 -1
- package/dist/protocol/mods-api-names.js +16 -4
- package/dist/protocol/mods-api-names.js.map +1 -1
- package/dist/protocol/mods-events.d.ts +11 -8
- package/dist/protocol/mods-events.d.ts.map +1 -1
- package/dist/protocol/mods-events.js +14 -5
- package/dist/protocol/mods-events.js.map +1 -1
- package/dist/protocol/mods-limits.d.ts +9 -1
- package/dist/protocol/mods-limits.d.ts.map +1 -1
- package/dist/protocol/mods-limits.js +9 -1
- package/dist/protocol/mods-limits.js.map +1 -1
- package/dist/protocol/mods-ui-names.d.ts +42 -11
- package/dist/protocol/mods-ui-names.d.ts.map +1 -1
- package/dist/protocol/mods-ui-names.js +62 -8
- package/dist/protocol/mods-ui-names.js.map +1 -1
- package/dist/protocol/official.d.ts +1 -1
- package/dist/protocol/official.d.ts.map +1 -1
- package/dist/protocol/tool-names.d.ts +12 -5
- package/dist/protocol/tool-names.d.ts.map +1 -1
- package/dist/protocol/tool-names.js +21 -2
- package/dist/protocol/tool-names.js.map +1 -1
- package/dist/rules/bash/wrappers.d.ts +2 -0
- package/dist/rules/bash/wrappers.d.ts.map +1 -1
- package/dist/rules/bash/wrappers.js +2 -0
- package/dist/rules/bash/wrappers.js.map +1 -1
- package/dist/rules/decide/auto-dropped.d.ts.map +1 -1
- package/dist/rules/decide/auto-dropped.js +23 -4
- package/dist/rules/decide/auto-dropped.js.map +1 -1
- package/dist/rules/decide/context.d.ts +5 -2
- package/dist/rules/decide/context.d.ts.map +1 -1
- package/dist/rules/decide/decide.d.ts.map +1 -1
- package/dist/rules/decide/decide.js +11 -0
- package/dist/rules/decide/decide.js.map +1 -1
- package/dist/rules/decide/facts.js +3 -3
- package/dist/rules/decide/facts.js.map +1 -1
- package/dist/rules/decide/modes.d.ts +7 -0
- package/dist/rules/decide/modes.d.ts.map +1 -1
- package/dist/rules/decide/modes.js +5 -0
- package/dist/rules/decide/modes.js.map +1 -1
- package/dist/rules/tools/catalog.d.ts.map +1 -1
- package/dist/rules/tools/catalog.js +13 -3
- package/dist/rules/tools/catalog.js.map +1 -1
- package/dist/rules/types.d.ts +6 -0
- package/dist/rules/types.d.ts.map +1 -1
- package/dist/settings/add-dir-layer.d.ts +17 -0
- package/dist/settings/add-dir-layer.d.ts.map +1 -0
- package/dist/settings/add-dir-layer.js +20 -0
- package/dist/settings/add-dir-layer.js.map +1 -0
- package/dist/settings/env/code-mode.d.ts +21 -0
- package/dist/settings/env/code-mode.d.ts.map +1 -0
- package/dist/settings/env/code-mode.js +8 -0
- package/dist/settings/env/code-mode.js.map +1 -0
- package/dist/settings/env/ignored-variables.d.ts +1 -1
- package/dist/settings/env/ignored-variables.d.ts.map +1 -1
- package/dist/settings/env/ignored-variables.js +7 -0
- package/dist/settings/env/ignored-variables.js.map +1 -1
- package/dist/settings/env/index.d.ts +1 -0
- package/dist/settings/env/index.d.ts.map +1 -1
- package/dist/settings/env/index.js +1 -0
- package/dist/settings/env/index.js.map +1 -1
- package/dist/settings/general/checks.d.ts.map +1 -1
- package/dist/settings/general/checks.js +0 -1
- package/dist/settings/general/checks.js.map +1 -1
- package/dist/settings/general/command-lines.d.ts +1 -20
- package/dist/settings/general/command-lines.d.ts.map +1 -1
- package/dist/settings/general/command-lines.js +1 -15
- package/dist/settings/general/command-lines.js.map +1 -1
- package/dist/settings/general/edit-effect.d.ts +10 -1
- package/dist/settings/general/edit-effect.d.ts.map +1 -1
- package/dist/settings/general/edit-effect.js +8 -1
- package/dist/settings/general/edit-effect.js.map +1 -1
- package/dist/settings/general/index.d.ts +2 -3
- package/dist/settings/general/index.d.ts.map +1 -1
- package/dist/settings/general/index.js +1 -2
- package/dist/settings/general/index.js.map +1 -1
- package/dist/settings/general/keys.d.ts +1 -2
- package/dist/settings/general/keys.d.ts.map +1 -1
- package/dist/settings/general/keys.js +0 -1
- package/dist/settings/general/keys.js.map +1 -1
- package/dist/settings/general/plugin-defaults.d.ts +15 -4
- package/dist/settings/general/plugin-defaults.d.ts.map +1 -1
- package/dist/settings/general/plugin-defaults.js +11 -10
- package/dist/settings/general/plugin-defaults.js.map +1 -1
- package/dist/settings/general/rows.d.ts.map +1 -1
- package/dist/settings/general/rows.js +0 -1
- package/dist/settings/general/rows.js.map +1 -1
- package/dist/settings/hooks/custom-commands.d.ts +1 -2
- package/dist/settings/hooks/custom-commands.d.ts.map +1 -1
- package/dist/settings/hooks/custom-commands.js +1 -1
- package/dist/settings/hooks/custom-commands.js.map +1 -1
- package/dist/settings/hooks/http-policy.d.ts +17 -4
- package/dist/settings/hooks/http-policy.d.ts.map +1 -1
- package/dist/settings/hooks/http-policy.js +25 -6
- package/dist/settings/hooks/http-policy.js.map +1 -1
- package/dist/settings/hooks/index.d.ts +1 -1
- package/dist/settings/hooks/index.d.ts.map +1 -1
- package/dist/settings/hooks/index.js.map +1 -1
- package/dist/settings/hooks/policy.d.ts +1 -1
- package/dist/settings/hooks/policy.js +1 -1
- package/dist/settings/hooks/policy.js.map +1 -1
- package/dist/settings/hooks/session-gates.d.ts +11 -6
- package/dist/settings/hooks/session-gates.d.ts.map +1 -1
- package/dist/settings/hooks/session-gates.js +3 -7
- package/dist/settings/hooks/session-gates.js.map +1 -1
- package/dist/settings/index.d.ts +1 -0
- package/dist/settings/index.d.ts.map +1 -1
- package/dist/settings/index.js +1 -0
- package/dist/settings/index.js.map +1 -1
- package/dist/settings/managed/compose.d.ts +0 -6
- package/dist/settings/managed/compose.d.ts.map +1 -1
- package/dist/settings/managed/compose.js +4 -25
- package/dist/settings/managed/compose.js.map +1 -1
- package/dist/settings/managed/helper-run.js +1 -1
- package/dist/settings/managed/helper-run.js.map +1 -1
- package/dist/settings/managed/helper-settings.d.ts +9 -0
- package/dist/settings/managed/helper-settings.d.ts.map +1 -0
- package/dist/settings/managed/helper-settings.js +26 -0
- package/dist/settings/managed/helper-settings.js.map +1 -0
- package/dist/settings/managed/index.d.ts +4 -1
- package/dist/settings/managed/index.d.ts.map +1 -1
- package/dist/settings/managed/index.js +4 -1
- package/dist/settings/managed/index.js.map +1 -1
- package/dist/settings/managed/login-keys.d.ts +4 -0
- package/dist/settings/managed/login-keys.d.ts.map +1 -1
- package/dist/settings/managed/login-keys.js +17 -0
- package/dist/settings/managed/login-keys.js.map +1 -1
- package/dist/settings/managed/ports.d.ts +8 -1
- package/dist/settings/managed/ports.d.ts.map +1 -1
- package/dist/settings/managed/server-cache.d.ts +56 -0
- package/dist/settings/managed/server-cache.d.ts.map +1 -0
- package/dist/settings/managed/server-cache.js +27 -0
- package/dist/settings/managed/server-cache.js.map +1 -0
- package/dist/settings/managed/server-groups.d.ts +34 -0
- package/dist/settings/managed/server-groups.d.ts.map +1 -0
- package/dist/settings/managed/server-groups.js +28 -0
- package/dist/settings/managed/server-groups.js.map +1 -0
- package/dist/settings/mcp/exclusive.d.ts +5 -1
- package/dist/settings/mcp/exclusive.d.ts.map +1 -1
- package/dist/settings/mcp/exclusive.js +4 -2
- package/dist/settings/mcp/exclusive.js.map +1 -1
- package/dist/settings/mcp/scope.d.ts +5 -0
- package/dist/settings/mcp/scope.d.ts.map +1 -1
- package/dist/settings/mcp/scope.js +5 -0
- package/dist/settings/mcp/scope.js.map +1 -1
- package/dist/settings/permissions/default-mode.d.ts +0 -1
- package/dist/settings/permissions/default-mode.d.ts.map +1 -1
- package/dist/settings/permissions/default-mode.js +2 -2
- package/dist/settings/permissions/default-mode.js.map +1 -1
- package/dist/skills/bare-repository.d.ts +9 -0
- package/dist/skills/bare-repository.d.ts.map +1 -0
- package/dist/skills/bare-repository.js +11 -0
- package/dist/skills/bare-repository.js.map +1 -0
- package/dist/skills/execution.d.ts +1 -1
- package/dist/skills/execution.d.ts.map +1 -1
- package/dist/skills/expand-shell.d.ts.map +1 -1
- package/dist/skills/expand-shell.js +1 -0
- package/dist/skills/expand-shell.js.map +1 -1
- package/dist/skills/expand-types.d.ts +5 -0
- package/dist/skills/expand-types.d.ts.map +1 -1
- package/dist/skills/index.d.ts +1 -0
- package/dist/skills/index.d.ts.map +1 -1
- package/dist/skills/index.js +1 -0
- package/dist/skills/index.js.map +1 -1
- package/dist/skills/invocation.d.ts.map +1 -1
- package/dist/skills/invocation.js +4 -3
- package/dist/skills/invocation.js.map +1 -1
- package/dist/skills/path-gate.d.ts +11 -2
- package/dist/skills/path-gate.d.ts.map +1 -1
- package/dist/skills/path-gate.js +17 -2
- package/dist/skills/path-gate.js.map +1 -1
- package/dist/skills/shell-run.d.ts +5 -0
- package/dist/skills/shell-run.d.ts.map +1 -1
- package/dist/skills/shell-run.js +18 -1
- package/dist/skills/shell-run.js.map +1 -1
- package/dist/testing/mods/expect-equal.d.ts +24 -0
- package/dist/testing/mods/expect-equal.d.ts.map +1 -0
- package/dist/testing/mods/expect-equal.js +55 -0
- package/dist/testing/mods/expect-equal.js.map +1 -0
- package/dist/testing/mods/expect-matchers.d.ts +111 -0
- package/dist/testing/mods/expect-matchers.d.ts.map +1 -0
- package/dist/testing/mods/expect-matchers.js +111 -0
- package/dist/testing/mods/expect-matchers.js.map +1 -0
- package/dist/testing/mods/expect.d.ts +27 -44
- package/dist/testing/mods/expect.d.ts.map +1 -1
- package/dist/testing/mods/expect.js +70 -97
- package/dist/testing/mods/expect.js.map +1 -1
- package/dist/testing/mods/fake-ports.d.ts.map +1 -1
- package/dist/testing/mods/fake-ports.js +12 -0
- package/dist/testing/mods/fake-ports.js.map +1 -1
- package/dist/testing/mods/kit.d.ts.map +1 -1
- package/dist/testing/mods/kit.js +7 -2
- package/dist/testing/mods/kit.js.map +1 -1
- package/dist/testing/mods/mock.d.ts +3 -2
- package/dist/testing/mods/mock.d.ts.map +1 -1
- package/dist/testing/mods/mock.js.map +1 -1
- package/dist/testing/mods/mount.d.ts +2 -0
- package/dist/testing/mods/mount.d.ts.map +1 -1
- package/dist/testing/mods/mount.js +30 -3
- package/dist/testing/mods/mount.js.map +1 -1
- package/dist/testing/mods/stub-matcher.d.ts +9 -0
- package/dist/testing/mods/stub-matcher.d.ts.map +1 -0
- package/dist/testing/mods/stub-matcher.js +24 -0
- package/dist/testing/mods/stub-matcher.js.map +1 -0
- package/dist/testing/mods/stubs.d.ts +4 -1
- package/dist/testing/mods/stubs.d.ts.map +1 -1
- package/dist/testing/mods/stubs.js +10 -5
- package/dist/testing/mods/stubs.js.map +1 -1
- package/dist/testing/mods/world.d.ts +2 -1
- package/dist/testing/mods/world.d.ts.map +1 -1
- package/dist/testing/mods/world.js +2 -2
- package/dist/testing/mods/world.js.map +1 -1
- package/package.json +3 -3
- package/src/agents/catalog/builtin.ts +25 -2
- package/src/agents/catalog/scan.ts +5 -1
- package/src/agents/index.ts +3 -0
- package/src/agents/launch-model.ts +67 -26
- package/src/agents/launch.ts +37 -14
- package/src/agents/model-choice.ts +18 -5
- package/src/agents/task-list.ts +31 -0
- package/src/agents/tool-filters.ts +15 -1
- package/src/agents/tool-resolution.ts +20 -3
- package/src/agents/workflow/replay.ts +21 -3
- package/src/agents/workflow/usage-limit.ts +43 -4
- package/src/cli/command-table.ts +2 -0
- package/src/cli/flags/session.ts +2 -1
- package/src/cli/index.ts +25 -0
- package/src/cli/install-command-outcome.ts +69 -0
- package/src/cli/install-command-step.ts +91 -0
- package/src/cli/install-engines.ts +58 -0
- package/src/cli/install-plan.ts +40 -116
- package/src/cli/install-refusals.ts +7 -0
- package/src/cli/install-success.ts +32 -0
- package/src/cli/marketplace-list.ts +1 -1
- package/src/cli/marketplace-update.ts +9 -1
- package/src/cli/restore-set-aside.ts +70 -0
- package/src/cli/result.ts +17 -2
- package/src/cli/uninstall-data.ts +16 -1
- package/src/cli/update-dependencies.ts +62 -0
- package/src/cli/update-facts.ts +12 -0
- package/src/cli/update-plan.ts +50 -6
- package/src/cli/validate-lists.ts +172 -0
- package/src/cli/validate-run.ts +17 -0
- package/src/entry/mods.ts +1 -0
- package/src/format/add-dir-gate.ts +44 -0
- package/src/format/agent-scalars.ts +7 -8
- package/src/format/engines.ts +139 -0
- package/src/format/hooks-handlers.ts +2 -0
- package/src/format/host-errors.ts +1 -1
- package/src/format/index.ts +13 -1
- package/src/format/locate.ts +1 -1
- package/src/format/manifest-schema.ts +3 -0
- package/src/format/manifest.ts +102 -11
- package/src/format/marketplace/entries.ts +15 -5
- package/src/format/marketplace/entry-display.ts +78 -0
- package/src/format/marketplace/entry-schema.ts +5 -2
- package/src/format/marketplace/index.ts +1 -1
- package/src/format/marketplace/marketplace-name-lists.ts +0 -10
- package/src/format/marketplace/marketplace-names.ts +17 -18
- package/src/format/marketplace/plugin-source.ts +11 -3
- package/src/format/marketplace/settings-source-plugins.ts +3 -2
- package/src/format/marketplace/types.ts +11 -0
- package/src/format/mcp-bundles.ts +5 -5
- package/src/format/mcp-contract.ts +8 -0
- package/src/format/mcp-task-timing.ts +42 -0
- package/src/format/mcp-tool-schema.ts +19 -3
- package/src/format/network.ts +48 -0
- package/src/format/plugin-notes.ts +21 -0
- package/src/format/plugin-settings.ts +17 -13
- package/src/format/server-paths.ts +50 -0
- package/src/format/validate/plugin-fields.ts +16 -0
- package/src/format/validate/plugin-manifest.ts +4 -0
- package/src/format/validate/settings-deprecation.ts +26 -0
- package/src/format/validate/unknown-fields.ts +1 -9
- package/src/foundation/scope-folders.ts +8 -2
- package/src/hooks/assemble.ts +11 -1
- package/src/hooks/core/profiles.ts +1 -1
- package/src/hooks/dispatch.ts +36 -5
- package/src/hooks/handlers/context.ts +4 -1
- package/src/hooks/handlers/remote/http-policy.ts +20 -6
- package/src/hooks/handlers/remote/http.ts +2 -2
- package/src/hooks/handlers/remote/mcp-tool.ts +27 -1
- package/src/hooks/handlers/remote/types.ts +9 -0
- package/src/hooks/input/facts-agents.ts +14 -3
- package/src/hooks/outcome.ts +31 -0
- package/src/hooks/output/caps.ts +4 -3
- package/src/hooks/output/cowork-answers.ts +19 -0
- package/src/hooks/output/merge-simple.ts +5 -2
- package/src/hooks/output/merge.ts +2 -0
- package/src/hooks/output/tool-output.ts +48 -2
- package/src/hooks/output/tool-shapes/shapes-1.ts +3 -0
- package/src/hooks/output/tool-shapes/shapes-3.ts +1 -0
- package/src/hooks/output/tool-shapes/shapes-4.ts +12 -1
- package/src/hooks/output/tool-shapes/shapes-5.ts +9 -1
- package/src/hooks/run-all.ts +1 -0
- package/src/hooks/select/event-catalog.ts +4 -1
- package/src/hooks/select/matcher-values.ts +0 -1
- package/src/hooks/verdict/exit2.ts +6 -1
- package/src/hooks/verdict/interpret.ts +7 -7
- package/src/hooks/verdict/mcp-answer.ts +64 -0
- package/src/hooks/verdict/model-verdict.ts +1 -1
- package/src/hooks/verdict/on-failure.ts +51 -7
- package/src/hooks/verdict/subject.ts +2 -0
- package/src/hooks/verdict/suspect-capture.ts +7 -1
- package/src/host/session-agents.ts +15 -26
- package/src/host/session-bare-repository.ts +38 -0
- package/src/host/session-engine.ts +2 -1
- package/src/host/session-hooks.ts +16 -1
- package/src/host/session-registry.ts +12 -0
- package/src/host/session-skill-expand.ts +11 -29
- package/src/host/session-skill-permission.ts +29 -0
- package/src/host/session-skills.ts +31 -18
- package/src/host/session-types.ts +7 -0
- package/src/host/session.ts +0 -1
- package/src/index.ts +3 -0
- package/src/loading/load-notes.ts +62 -0
- package/src/loading/load-plugin.ts +36 -3
- package/src/loading/manifest-gate.ts +1 -1
- package/src/loading/plugin-folder.ts +4 -1
- package/src/loading/plugin-model.ts +8 -0
- package/src/loading/validate/marketplace-target.ts +34 -6
- package/src/loading/validate/plugin-contents.ts +12 -0
- package/src/loading/walk.ts +3 -3
- package/src/marketplace/dependency-graph.ts +5 -0
- package/src/marketplace/dependency-install-plan.ts +6 -4
- package/src/marketplace/enablement-notes.ts +49 -12
- package/src/marketplace/headless-report.ts +26 -1
- package/src/marketplace/index.ts +1 -1
- package/src/marketplace/install-commands.ts +12 -3
- package/src/marketplace/install-errors.ts +8 -7
- package/src/marketplace/install-lifecycle-index.ts +10 -0
- package/src/marketplace/install-plan.ts +7 -0
- package/src/marketplace/install-plans.ts +4 -5
- package/src/marketplace/managed-take-back.ts +38 -0
- package/src/marketplace/marketplace-fetch-plan.ts +2 -0
- package/src/marketplace/reload-summary.ts +14 -3
- package/src/marketplace/removal.ts +5 -5
- package/src/marketplace/seed-registry.ts +7 -5
- package/src/marketplace/store-layout.ts +17 -4
- package/src/marketplace/types.ts +5 -0
- package/src/mods/api/agent.ts +28 -0
- package/src/mods/api/audio.ts +18 -5
- package/src/mods/api/build.ts +7 -3
- package/src/mods/api/call.ts +7 -0
- package/src/mods/api/command.ts +22 -2
- package/src/mods/api/declared-port-types.ts +155 -0
- package/src/mods/api/engine-create.ts +8 -1
- package/src/mods/api/exec.ts +4 -0
- package/src/mods/api/fs-ports.ts +9 -1
- package/src/mods/api/fs.ts +29 -10
- package/src/mods/api/gate.ts +3 -4
- package/src/mods/api/host-ports.ts +18 -1
- package/src/mods/api/index.ts +9 -3
- package/src/mods/api/mcp.ts +10 -2
- package/src/mods/api/optional-port-types.ts +48 -16
- package/src/mods/api/ports.ts +26 -42
- package/src/mods/api/registries.ts +17 -18
- package/src/mods/api/session-ports.ts +57 -0
- package/src/mods/api/session.ts +30 -5
- package/src/mods/api/theme.ts +132 -33
- package/src/mods/api/vcs.ts +71 -0
- package/src/mods/api/wasm.ts +74 -0
- package/src/mods/chain/api-guard.ts +35 -7
- package/src/mods/chain/context.ts +15 -0
- package/src/mods/chain/default-matcher.ts +69 -0
- package/src/mods/chain/dispatch.ts +19 -1
- package/src/mods/chain/failure.ts +7 -0
- package/src/mods/chain/guarded.ts +8 -2
- package/src/mods/chain/invoke.ts +25 -5
- package/src/mods/chain/validate.ts +2 -1
- package/src/mods/events/agent.ts +7 -3
- package/src/mods/events/declared.ts +51 -0
- package/src/mods/events/index.ts +4 -1
- package/src/mods/events/pinned.ts +23 -0
- package/src/mods/events/session.ts +26 -4
- package/src/mods/events/spec.ts +2 -0
- package/src/mods/events/tool.ts +57 -12
- package/src/mods/events/turn.ts +17 -1
- package/src/mods/load/auto-mode-approval.ts +7 -11
- package/src/mods/load/commands/module-facts.ts +32 -0
- package/src/mods/load/commands/scan-lead.ts +6 -2
- package/src/mods/load/commands/scan-lines.ts +33 -1
- package/src/mods/load/commands/sha256.ts +80 -0
- package/src/mods/load/commands/validate-report.ts +9 -0
- package/src/mods/load/commands/validate.ts +24 -16
- package/src/mods/load/commands/wasm-read.ts +183 -0
- package/src/mods/load/guard-protection.ts +15 -5
- package/src/mods/load/guard-surfaces.ts +2 -0
- package/src/mods/load/guard-tools.ts +45 -0
- package/src/mods/load/guard.ts +21 -8
- package/src/mods/load/host-support.ts +51 -11
- package/src/mods/load/host.ts +24 -4
- package/src/mods/load/in-turn.ts +12 -0
- package/src/mods/load/index.ts +22 -2
- package/src/mods/load/loader.ts +23 -10
- package/src/mods/load/mod-set.ts +9 -18
- package/src/mods/load/order.ts +2 -2
- package/src/mods/load/plugin-dirs.ts +29 -8
- package/src/mods/load/policy.ts +61 -25
- package/src/mods/load/prepare.ts +34 -4
- package/src/mods/load/provides.ts +134 -0
- package/src/mods/load/register-ask.ts +82 -0
- package/src/mods/load/register-call.ts +98 -38
- package/src/mods/load/register-event.ts +104 -0
- package/src/mods/load/scan/client-modules.ts +1 -1
- package/src/mods/load/scan/event-names.ts +2 -0
- package/src/mods/load/scan/found.ts +8 -0
- package/src/mods/load/scan/hosts.ts +40 -0
- package/src/mods/load/scan/index.ts +8 -0
- package/src/mods/load/scan/rules.ts +4 -0
- package/src/mods/load/scan/uses.ts +10 -0
- package/src/mods/load/scan/wasm-paths.ts +35 -0
- package/src/mods/load/tool-flow.ts +16 -2
- package/src/mods/load/wasm-files.ts +77 -0
- package/src/mods/load/wiring.ts +30 -7
- package/src/mods/load/written-mods.ts +42 -27
- package/src/mods/types.ts +10 -9
- package/src/mods/ui/controls/hotkeys.ts +36 -2
- package/src/mods/ui/elements/box.ts +6 -1
- package/src/mods/ui/elements/limits.ts +5 -3
- package/src/mods/ui/elements/progress.ts +19 -0
- package/src/mods/ui/elements/prop-size.ts +41 -0
- package/src/mods/ui/elements/registry.ts +4 -0
- package/src/mods/ui/elements/shader-place.ts +38 -0
- package/src/mods/ui/elements/shader.ts +36 -0
- package/src/mods/ui/elements/svg.ts +4 -0
- package/src/mods/ui/elements/table.ts +2 -0
- package/src/mods/ui/elements/text.ts +9 -0
- package/src/mods/ui/elements/validate.ts +3 -1
- package/src/mods/ui/index.ts +1 -0
- package/src/mods/ui/keyboard/keys.ts +2 -0
- package/src/mods/ui/panes/open.ts +5 -1
- package/src/mods/ui/panes/pane-request.ts +19 -0
- package/src/mods/ui/panes/registry.ts +5 -1
- package/src/mods/ui/rules.ts +4 -0
- package/src/mods/ui/runtime.ts +43 -12
- package/src/mods/ui/sites/agent-row.ts +24 -0
- package/src/mods/ui/sites/backdrop.ts +2 -2
- package/src/mods/ui/sites/band-list.ts +40 -0
- package/src/mods/ui/sites/band-rows.ts +100 -0
- package/src/mods/ui/sites/fold.ts +2 -2
- package/src/mods/ui/sites/registry.ts +33 -17
- package/src/ports/files.ts +1 -1
- package/src/ports/mcp-bundle.ts +3 -2
- package/src/ports/mcp-caller.ts +7 -0
- package/src/protocol/mods-api-names.ts +17 -4
- package/src/protocol/mods-events.ts +14 -5
- package/src/protocol/mods-limits.ts +9 -1
- package/src/protocol/mods-ui-names.ts +63 -8
- package/src/protocol/official.ts +1 -0
- package/src/protocol/tool-names.ts +27 -5
- package/src/rules/bash/wrappers.ts +3 -0
- package/src/rules/decide/auto-dropped.ts +29 -6
- package/src/rules/decide/context.ts +5 -2
- package/src/rules/decide/decide.ts +14 -0
- package/src/rules/decide/facts.ts +3 -3
- package/src/rules/decide/modes.ts +12 -0
- package/src/rules/tools/catalog.ts +13 -3
- package/src/rules/types.ts +6 -0
- package/src/settings/add-dir-layer.ts +34 -0
- package/src/settings/env/code-mode.ts +26 -0
- package/src/settings/env/ignored-variables.ts +7 -0
- package/src/settings/env/index.ts +1 -0
- package/src/settings/general/checks.ts +0 -1
- package/src/settings/general/command-lines.ts +1 -29
- package/src/settings/general/edit-effect.ts +14 -1
- package/src/settings/general/index.ts +5 -14
- package/src/settings/general/keys.ts +0 -2
- package/src/settings/general/plugin-defaults.ts +23 -12
- package/src/settings/general/rows.ts +0 -1
- package/src/settings/hooks/custom-commands.ts +2 -3
- package/src/settings/hooks/http-policy.ts +47 -10
- package/src/settings/hooks/index.ts +6 -1
- package/src/settings/hooks/policy.ts +2 -2
- package/src/settings/hooks/session-gates.ts +18 -12
- package/src/settings/index.ts +1 -0
- package/src/settings/managed/compose.ts +10 -34
- package/src/settings/managed/helper-run.ts +1 -1
- package/src/settings/managed/helper-settings.ts +36 -0
- package/src/settings/managed/index.ts +16 -1
- package/src/settings/managed/login-keys.ts +23 -0
- package/src/settings/managed/ports.ts +8 -1
- package/src/settings/managed/server-cache.ts +69 -0
- package/src/settings/managed/server-groups.ts +63 -0
- package/src/settings/mcp/exclusive.ts +6 -1
- package/src/settings/mcp/scope.ts +10 -0
- package/src/settings/permissions/default-mode.ts +2 -2
- package/src/skills/bare-repository.ts +12 -0
- package/src/skills/execution.ts +1 -1
- package/src/skills/expand-shell.ts +1 -0
- package/src/skills/expand-types.ts +5 -0
- package/src/skills/index.ts +1 -0
- package/src/skills/invocation.ts +4 -3
- package/src/skills/path-gate.ts +25 -3
- package/src/skills/shell-run.ts +24 -1
- package/src/testing/mods/expect-equal.ts +66 -0
- package/src/testing/mods/expect-matchers.ts +127 -0
- package/src/testing/mods/expect.ts +136 -98
- package/src/testing/mods/fake-ports.ts +12 -0
- package/src/testing/mods/kit.ts +6 -2
- package/src/testing/mods/mock.ts +3 -2
- package/src/testing/mods/mount.ts +34 -3
- package/src/testing/mods/stub-matcher.ts +28 -0
- package/src/testing/mods/stubs.ts +22 -7
- package/src/testing/mods/world.ts +4 -2
- package/dist/settings/general/subagent-status-line.d.ts +0 -66
- package/dist/settings/general/subagent-status-line.d.ts.map +0 -1
- package/dist/settings/general/subagent-status-line.js +0 -58
- package/dist/settings/general/subagent-status-line.js.map +0 -1
- package/src/settings/general/subagent-status-line.ts +0 -121
|
@@ -25,22 +25,29 @@ export const DOCUMENTED_TOOLS = [
|
|
|
25
25
|
'Grep',
|
|
26
26
|
'ListAgents',
|
|
27
27
|
'ListMcpResourcesTool',
|
|
28
|
+
'ListPlugins',
|
|
29
|
+
'ListSkills',
|
|
28
30
|
'LSP',
|
|
29
31
|
'Monitor',
|
|
30
32
|
'NotebookEdit',
|
|
31
33
|
'PowerShell',
|
|
34
|
+
'propose_skills',
|
|
32
35
|
'PushNotification',
|
|
33
36
|
'Read',
|
|
34
37
|
'ReadMcpResourceTool',
|
|
35
38
|
'RemoteTrigger',
|
|
36
39
|
'ReportFindings',
|
|
37
40
|
'ScheduleWakeup',
|
|
41
|
+
'SearchPlugins',
|
|
42
|
+
'SearchSkills',
|
|
38
43
|
'SendFeedback',
|
|
39
44
|
'SendMessage',
|
|
40
45
|
'SendUserFile',
|
|
41
46
|
'ShareOnboardingGuide',
|
|
42
47
|
'Skill',
|
|
43
48
|
'SubagentHandback',
|
|
49
|
+
'SuggestPluginInstall',
|
|
50
|
+
'SuggestSkills',
|
|
44
51
|
'TaskCreate',
|
|
45
52
|
'TaskGet',
|
|
46
53
|
'TaskList',
|
|
@@ -66,16 +73,31 @@ export const SDK_ONLY_TOOLS = [
|
|
|
66
73
|
'ClaudeDesign',
|
|
67
74
|
'OfferChromeSetup',
|
|
68
75
|
'Projects',
|
|
69
|
-
'propose_skills',
|
|
70
|
-
'ProposeGoal',
|
|
71
76
|
'ReadMcpResourceDirTool',
|
|
72
77
|
'ReadNotifications',
|
|
73
78
|
'SendUserMessage',
|
|
79
|
+
'SetGoal',
|
|
74
80
|
'ShowOnboardingRolePicker',
|
|
75
81
|
] as const;
|
|
76
82
|
|
|
77
83
|
export type SdkOnlyTool = (typeof SDK_ONLY_TOOLS)[number];
|
|
78
84
|
|
|
85
|
+
/**
|
|
86
|
+
* Tools the tools-reference table lists that the SDK's `BUILTIN_TOOL_NAMES` does not: the claude.ai
|
|
87
|
+
* account tools, offered "only in a cloud session or the desktop app" (tools-reference.md,
|
|
88
|
+
* `ListPlugins`). They are documented names a rule or a hook may match like any other.
|
|
89
|
+
*/
|
|
90
|
+
export const DOCS_ONLY_TOOLS = [
|
|
91
|
+
'ListPlugins',
|
|
92
|
+
'ListSkills',
|
|
93
|
+
'SearchPlugins',
|
|
94
|
+
'SearchSkills',
|
|
95
|
+
'SuggestPluginInstall',
|
|
96
|
+
'SuggestSkills',
|
|
97
|
+
] as const satisfies readonly DocumentedTool[];
|
|
98
|
+
|
|
99
|
+
export type DocsOnlyTool = (typeof DOCS_ONLY_TOOLS)[number];
|
|
100
|
+
|
|
79
101
|
/**
|
|
80
102
|
* Tools Claude Code removed but a rule may still name: the table says `TaskOutput` was "Removed in
|
|
81
103
|
* v2.1.277", and permissions.md ("Tool name wildcards") exempts removed tools from the
|
|
@@ -86,9 +108,9 @@ export const REMOVED_TOOLS = ['TaskOutput'] as const satisfies readonly Document
|
|
|
86
108
|
export type RemovedTool = (typeof REMOVED_TOOLS)[number];
|
|
87
109
|
|
|
88
110
|
/**
|
|
89
|
-
* @public A compile-time drift guard: a tool the SDK adds, or the table drops,
|
|
90
|
-
* until the lists are updated.
|
|
111
|
+
* @public A compile-time drift guard: a tool the SDK adds or drops, or the table adds or drops,
|
|
112
|
+
* fails the typecheck until the lists are updated.
|
|
91
113
|
*/
|
|
92
114
|
export type ToolNamesMatchSdk = Assert<
|
|
93
|
-
Equal<Exclude<DocumentedTool, RemovedTool> | SdkOnlyTool, BuiltinToolName>
|
|
115
|
+
Equal<Exclude<DocumentedTool, RemovedTool | DocsOnlyTool> | SdkOnlyTool, BuiltinToolName>
|
|
94
116
|
>;
|
|
@@ -78,6 +78,9 @@ const NO_HOST_VARIABLES: ReadonlySet<string> = new Set();
|
|
|
78
78
|
const isWrapper = (name: string | undefined): name is WrapperName =>
|
|
79
79
|
name !== undefined && Object.hasOwn(WRAPPERS, name);
|
|
80
80
|
|
|
81
|
+
/** Whether `name` is one of the built-in wrappers. */
|
|
82
|
+
export const isWrapperName = (name: string): boolean => isWrapper(name);
|
|
83
|
+
|
|
81
84
|
/** Index of the command a wrapper at `words[from]` runs, or `undefined` when it runs none. */
|
|
82
85
|
function commandIndex(
|
|
83
86
|
words: readonly ShellWord[],
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { textPatternOf } from '../bash/text-pattern.ts';
|
|
2
|
+
import { isWrapperName } from '../bash/wrappers.ts';
|
|
2
3
|
import type { PermissionRule } from '../types.ts';
|
|
3
4
|
import { isAllowRule } from './behavior.ts';
|
|
4
5
|
|
|
@@ -6,7 +7,8 @@ import { isAllowRule } from './behavior.ts';
|
|
|
6
7
|
* permission-modes.md, "How the classifier evaluates actions": "On entering auto mode, broad allow
|
|
7
8
|
* rules that grant arbitrary code execution are dropped": a blanket `Bash(*)` or `PowerShell(*)`,
|
|
8
9
|
* wildcarded interpreters like `Bash(python*)`, package-manager run commands, `Agent` allow rules
|
|
9
|
-
* and `Monitor` allow rules.
|
|
10
|
+
* and `Monitor` allow rules; from 2.1.330 also a wrapper followed only by a wildcard, a shell rule
|
|
11
|
+
* that starts with a wildcard and some wildcarded paths (Agent Plugins Extended §13.9.4 item 3). "Narrow rules like `Bash(npm test)` stay in effect", and the dropped
|
|
10
12
|
* rules come back when auto mode is left (they are only left out of this view of the rules).
|
|
11
13
|
*/
|
|
12
14
|
|
|
@@ -34,6 +36,31 @@ const PACKAGE_RUN = /^(?:npm|yarn|pnpm|bun) run\b/;
|
|
|
34
36
|
|
|
35
37
|
const SHELL_TOOLS: ReadonlySet<string> = new Set(['Bash', 'PowerShell']);
|
|
36
38
|
|
|
39
|
+
/** 2.1.330: "a wrapper followed only by a wildcard (`Bash(timeout *)`)", the legacy `:*` included. */
|
|
40
|
+
function bareWrapper(pattern: string): boolean {
|
|
41
|
+
const parts = /^(\S+?)(?::\*| \*)$/.exec(pattern);
|
|
42
|
+
return parts !== null && isWrapperName(parts[1] ?? '');
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* 2.1.330: "some wildcarded paths (`Bash($HOME/bin/*)`, `PowerShell(C:\tools\x.exe *)`)". Judgment
|
|
47
|
+
* (spec/judgments.md): a rule whose program is an absolute or home-anchored path (`/`, `~`, `$HOME`,
|
|
48
|
+
* a drive letter) and that holds a wildcard; a relative path stays.
|
|
49
|
+
*/
|
|
50
|
+
const ANCHORED_PATH = /^(?:\/|~|\$HOME\b|\$\{HOME\}|[A-Za-z]:[\\/])/;
|
|
51
|
+
|
|
52
|
+
const wildcardedPath = (pattern: string): boolean =>
|
|
53
|
+
pattern.includes('*') && ANCHORED_PATH.test(pattern);
|
|
54
|
+
|
|
55
|
+
/** Whether a Bash or PowerShell allow pattern is one auto mode drops (J13.24, §13.9.4 item 3). */
|
|
56
|
+
const broadShellPattern = (pattern: string): boolean =>
|
|
57
|
+
pattern === '*' ||
|
|
58
|
+
pattern.startsWith('*') ||
|
|
59
|
+
wildcardedInterpreter(pattern) ||
|
|
60
|
+
PACKAGE_RUN.test(pattern) ||
|
|
61
|
+
bareWrapper(pattern) ||
|
|
62
|
+
wildcardedPath(pattern);
|
|
63
|
+
|
|
37
64
|
function wildcardedInterpreter(pattern: string): boolean {
|
|
38
65
|
const program = pattern.split(' ')[0]?.replace(/:?\*+$/, '') ?? '';
|
|
39
66
|
return pattern.includes('*') && INTERPRETERS.has(program);
|
|
@@ -49,9 +76,5 @@ export function isDroppedInAuto(rule: PermissionRule, classifyAllShell = false):
|
|
|
49
76
|
if (classifyAllShell && SHELL_TOOLS.has(tool)) return true;
|
|
50
77
|
if (rule.specifier === undefined) return BARE_TOOLS.has(tool);
|
|
51
78
|
const pattern = textPatternOf(rule);
|
|
52
|
-
return (
|
|
53
|
-
SHELL_TOOLS.has(tool) &&
|
|
54
|
-
pattern !== undefined &&
|
|
55
|
-
(pattern === '*' || wildcardedInterpreter(pattern) || PACKAGE_RUN.test(pattern))
|
|
56
|
-
);
|
|
79
|
+
return SHELL_TOOLS.has(tool) && pattern !== undefined && broadShellPattern(pattern);
|
|
57
80
|
}
|
|
@@ -92,9 +92,12 @@ export interface DecideContext {
|
|
|
92
92
|
* The "Permission required" column of the tools table, as the host knows it. A tool it answers
|
|
93
93
|
* `false` for runs without a prompt, except a file read (Read, Grep, Glob), whose path decides;
|
|
94
94
|
* with no function every tool outside the read-only set asks (spec/judgments.md). `toolRequiresPermission`
|
|
95
|
-
* (`rules/tools`) is the kit's own.
|
|
95
|
+
* (`rules/tools`) is the kit's own. It also receives the call's input, for the column's
|
|
96
|
+
* conditional cells (2.1.330): `Skill` "Some skills" (one that sets `allowed-tools`,
|
|
97
|
+
* `disallowed-tools` or `hooks` can prompt), `EnterWorktree` "Some worktrees", `ExitWorktree`
|
|
98
|
+
* removing a worktree with work at risk. Only the host knows which calls those are.
|
|
96
99
|
*/
|
|
97
|
-
readonly requiresPermission?: (toolName: string) => boolean;
|
|
100
|
+
readonly requiresPermission?: (toolName: string, input: unknown) => boolean;
|
|
98
101
|
/**
|
|
99
102
|
* Whether a host name is in WebFetch's "built-in set of preapproved documentation domains" that
|
|
100
103
|
* "fetch without a prompt" (tools-reference.md, "WebFetch tool behavior"; permissions.md,
|
|
@@ -48,6 +48,9 @@ const VIA_LINK: { readonly [O in Decision['outcome']]: (decision: Decision) => D
|
|
|
48
48
|
|
|
49
49
|
const DENIED: Decision = { outcome: 'deny', reason: 'deny-rule' };
|
|
50
50
|
|
|
51
|
+
/** The tool whose messages to other agents the classifier reviews (§13.9.4 item 5). */
|
|
52
|
+
const MESSAGE_TOOLS: ReadonlySet<string> = new Set(['SendMessage']);
|
|
53
|
+
|
|
51
54
|
/** The tools whose sandboxed command can carry its own allowed domains (sandboxing.md). */
|
|
52
55
|
const HOSTED_COMMANDS: ReadonlySet<string> = new Set(['Bash', 'PowerShell', 'Monitor']);
|
|
53
56
|
|
|
@@ -159,8 +162,19 @@ const GATES: readonly Gate[] = [
|
|
|
159
162
|
hookSkipsPrompt(call, facts, ctx, strategy)
|
|
160
163
|
? pending({ outcome: 'allow', reason: 'hook' }, 'any')
|
|
161
164
|
: undefined,
|
|
165
|
+
// "A message Claude sends to another agent with `SendMessage` is reviewed before delivery ...
|
|
166
|
+
// unless an allow rule matches `SendMessage` or a `PreToolUse` hook returns allow" (§13.9.4 item 5).
|
|
167
|
+
({ call, ctx, strategy }) =>
|
|
168
|
+
MESSAGE_TOOLS.has(call.toolName) && call.fromCode !== true && strategy.reviewsMessages(ctx)
|
|
169
|
+
? pending({ outcome: 'classify', reason: 'mode-auto' }, BASELINE_REACH.classify)
|
|
170
|
+
: undefined,
|
|
162
171
|
({ facts }) =>
|
|
163
172
|
facts.readOnly ? pending({ outcome: 'allow', reason: facts.readReason }, 'any') : undefined,
|
|
173
|
+
// Code Mode: "the code goes to the classifier once before it runs and the tool calls inside it do not".
|
|
174
|
+
({ call, facts, strategy }) =>
|
|
175
|
+
call.fromCode === true && strategy.runsCodeCalls && !facts.escapesViaLink
|
|
176
|
+
? pending({ outcome: 'allow', reason: 'mode-auto' }, 'any')
|
|
177
|
+
: undefined,
|
|
164
178
|
];
|
|
165
179
|
|
|
166
180
|
/**
|
|
@@ -282,9 +282,9 @@ const HANDBACK_TOOL = 'SubagentHandback';
|
|
|
282
282
|
/** What `call` is, in the session `ctx` describes. */
|
|
283
283
|
export function factsOf(call: PreparedCall, ctx: DecideContext): CallFacts {
|
|
284
284
|
const built = { ...NONE, ...BUILDERS.get(call.toolName)?.(call, ctx) };
|
|
285
|
-
// tools-reference.md: file
|
|
286
|
-
|
|
287
|
-
const noPermission =
|
|
285
|
+
// tools-reference.md: file tools marked No "still prompt for paths outside the working directory".
|
|
286
|
+
const asks = ctx.requiresPermission?.(call.toolName, call.input);
|
|
287
|
+
const noPermission = asks === false && !built.readsFiles;
|
|
288
288
|
return {
|
|
289
289
|
...built,
|
|
290
290
|
readOnly: built.readOnly || noPermission,
|
|
@@ -47,6 +47,13 @@ export interface ModeStrategy {
|
|
|
47
47
|
acceptsInScopeWrite(ctx: DecideContext): boolean;
|
|
48
48
|
/** The rules in force in this mode. */
|
|
49
49
|
rules(rules: readonly PermissionRule[], ctx: DecideContext): readonly PermissionRule[];
|
|
50
|
+
/**
|
|
51
|
+
* Whether the classifier reviews a `SendMessage` to another agent before delivery (§13.9.4 item
|
|
52
|
+
* 5): in auto mode, and in plan mode while the classifier reviews commands.
|
|
53
|
+
*/
|
|
54
|
+
reviewsMessages(ctx: DecideContext): boolean;
|
|
55
|
+
/** Whether a call Code Mode's code makes runs where the mode would review it: the code was reviewed (§7.6.11.2). */
|
|
56
|
+
readonly runsCodeCalls: boolean;
|
|
50
57
|
}
|
|
51
58
|
|
|
52
59
|
/** Manual mode: reads in scope only; everything else asks. The other modes change what they must. */
|
|
@@ -64,6 +71,8 @@ const PROMPTING: ModeStrategy = {
|
|
|
64
71
|
reviewsCommandHosts: false,
|
|
65
72
|
acceptsInScopeWrite: () => false,
|
|
66
73
|
rules: (rules) => rules,
|
|
74
|
+
reviewsMessages: () => false,
|
|
75
|
+
runsCodeCalls: false,
|
|
67
76
|
};
|
|
68
77
|
|
|
69
78
|
/**
|
|
@@ -138,6 +147,7 @@ export const MODES: { readonly [M in PermissionMode]: ModeStrategy } = {
|
|
|
138
147
|
acceptsInScopeWrite: (ctx) => autoInPlan(ctx) || bypassInPlan(ctx),
|
|
139
148
|
modMayApprove: planLifts,
|
|
140
149
|
hookMayAllow: planLifts,
|
|
150
|
+
reviewsMessages: (ctx) => autoInPlan(ctx) && !bypassInPlan(ctx),
|
|
141
151
|
},
|
|
142
152
|
auto: {
|
|
143
153
|
...PROMPTING,
|
|
@@ -154,6 +164,8 @@ export const MODES: { readonly [M in PermissionMode]: ModeStrategy } = {
|
|
|
154
164
|
},
|
|
155
165
|
rules: (rules, ctx) =>
|
|
156
166
|
rules.filter((rule) => !isDroppedInAuto(rule, ctx.classifyAllShell === true)),
|
|
167
|
+
reviewsMessages: () => true,
|
|
168
|
+
runsCodeCalls: true,
|
|
157
169
|
},
|
|
158
170
|
dontAsk: {
|
|
159
171
|
...PROMPTING,
|
|
@@ -35,29 +35,39 @@ export const TOOL_CATALOG: { readonly [T in DocumentedTool]: CatalogToolEntry }
|
|
|
35
35
|
Edit: yes('edit-path'),
|
|
36
36
|
EndConversation: no(),
|
|
37
37
|
EnterPlanMode: no(),
|
|
38
|
-
|
|
38
|
+
// "Some worktrees" (2.1.330): no prompt unless the host knows this call needs one.
|
|
39
|
+
EnterWorktree: no(),
|
|
39
40
|
ExitPlanMode: yes(),
|
|
40
|
-
|
|
41
|
+
// "Yes (v2.1.327+) to remove a worktree ... at risk; otherwise No": the conservative half.
|
|
42
|
+
ExitWorktree: yes(),
|
|
41
43
|
Glob: no('read-path'),
|
|
42
44
|
Grep: no('read-path'),
|
|
43
45
|
ListAgents: no(),
|
|
44
46
|
ListMcpResourcesTool: no(),
|
|
47
|
+
ListPlugins: no(),
|
|
48
|
+
ListSkills: no(),
|
|
45
49
|
LSP: no('read-path'),
|
|
46
50
|
Monitor: yes('command'),
|
|
47
51
|
NotebookEdit: yes('edit-path'),
|
|
48
52
|
PowerShell: yes('powershell-command'),
|
|
53
|
+
propose_skills: no(),
|
|
49
54
|
PushNotification: no(),
|
|
50
55
|
Read: no('read-path'),
|
|
51
56
|
ReadMcpResourceTool: no(),
|
|
52
57
|
RemoteTrigger: no(),
|
|
53
58
|
ReportFindings: no(),
|
|
54
59
|
ScheduleWakeup: no(),
|
|
60
|
+
SearchPlugins: no(),
|
|
61
|
+
SearchSkills: no(),
|
|
55
62
|
SendFeedback: no(),
|
|
56
63
|
SendMessage: no(),
|
|
57
64
|
SendUserFile: no(),
|
|
58
65
|
ShareOnboardingGuide: yes(),
|
|
59
|
-
|
|
66
|
+
// "Some skills": a skill that sets `allowed-tools`, `disallowed-tools` or `hooks` can prompt.
|
|
67
|
+
Skill: no('skill-name'),
|
|
60
68
|
SubagentHandback: no(),
|
|
69
|
+
SuggestPluginInstall: no(),
|
|
70
|
+
SuggestSkills: no(),
|
|
61
71
|
TaskCreate: no(),
|
|
62
72
|
TaskGet: no(),
|
|
63
73
|
TaskList: no(),
|
package/src/rules/types.ts
CHANGED
|
@@ -62,6 +62,12 @@ export interface ToolCall {
|
|
|
62
62
|
*/
|
|
63
63
|
export interface PreparedCall extends ToolCall {
|
|
64
64
|
readonly resolvedPaths?: readonly string[];
|
|
65
|
+
/**
|
|
66
|
+
* Code Mode's code made the call, inside one `REPL` call (code-mode.md, "Permission checks";
|
|
67
|
+
* Agent Plugins Extended §7.6.11.2). It meets the deny and ask rules under its usual name; in auto
|
|
68
|
+
* mode the classifier reviewed the code, not the call. Offering Code Mode is the host's (J7.214).
|
|
69
|
+
*/
|
|
70
|
+
readonly fromCode?: boolean;
|
|
65
71
|
/**
|
|
66
72
|
* Every name the called skill goes by (its alias, its display name, a qualified form), which a
|
|
67
73
|
* `Skill(skill:<name>)` deny rule matches (permissions.md, "Match by input parameter"). The host
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { addDirReads, type AddDirFacts } from '../format/add-dir-gate.ts';
|
|
2
|
+
import type { PluginIssue } from '../format/issues.ts';
|
|
3
|
+
import type { Settings } from '../protocol/official.ts';
|
|
4
|
+
import type { PolicyLayer } from './layers.ts';
|
|
5
|
+
import { readSettingsLayer } from './read-layer.ts';
|
|
6
|
+
|
|
7
|
+
/** The facts of one `--add-dir` file, as `addDirReads` takes them. */
|
|
8
|
+
export type AddDirLayerFacts = AddDirFacts;
|
|
9
|
+
|
|
10
|
+
const KEYS = ['enabledPlugins', 'extraKnownMarketplaces'] as const;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* One settings file of a directory passed with `--add-dir`, read as an `addDir` layer (spec
|
|
14
|
+
* §16.4.6): of its two keys, only those `addDirReads` admits for this file stay, so a file whose
|
|
15
|
+
* setting sources do not load gives nothing, and in an interactive terminal an untrusted directory
|
|
16
|
+
* gives neither key; outside one its `true` entries are read and its marketplaces still wait for
|
|
17
|
+
* saved trust. `enabledPlugin` and the marketplace registry read the layer as it is kept.
|
|
18
|
+
*/
|
|
19
|
+
export function readAddDirLayer(
|
|
20
|
+
file: AddDirFacts['file'],
|
|
21
|
+
raw: unknown,
|
|
22
|
+
facts: Omit<AddDirFacts, 'file'>,
|
|
23
|
+
source?: string,
|
|
24
|
+
): { readonly layer: PolicyLayer; readonly issues: readonly PluginIssue[] } {
|
|
25
|
+
const read = readSettingsLayer('addDir', raw, source);
|
|
26
|
+
const admitted = addDirReads({ ...facts, file });
|
|
27
|
+
const settings: Settings = Object.fromEntries(
|
|
28
|
+
KEYS.filter((key) => admitted[key] && read.layer.settings[key] !== undefined).map((key) => [
|
|
29
|
+
key,
|
|
30
|
+
read.layer.settings[key],
|
|
31
|
+
]),
|
|
32
|
+
);
|
|
33
|
+
return { layer: { ...read.layer, settings }, issues: read.issues };
|
|
34
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where `CLAUDE_CODE_EXPERIMENTAL_CODE_MODE` takes effect (spec §12.7.4 item 3): "turns Code Mode on
|
|
3
|
+
* only from the launch environment, user settings or `--settings`, never from managed, project or
|
|
4
|
+
* local settings; a `0` in any of those three or in managed settings keeps Code Mode off whatever
|
|
5
|
+
* the others say, and under a managed `1` a `1` in the launch environment is ignored, so the user's
|
|
6
|
+
* own `1` goes in user settings." Project and local values never reach here: the repository drops
|
|
7
|
+
* them (`ignoredBecause`, reason `code-mode`). Judgment (spec/judgments.md): `1` turns it on and `0`
|
|
8
|
+
* off; any other value is neither.
|
|
9
|
+
*/
|
|
10
|
+
export interface CodeModeValues {
|
|
11
|
+
/** The launch environment's value. */
|
|
12
|
+
readonly launch?: string | undefined;
|
|
13
|
+
/** The `env` value of user settings. */
|
|
14
|
+
readonly user?: string | undefined;
|
|
15
|
+
/** The `env` value of `--settings`. */
|
|
16
|
+
readonly flag?: string | undefined;
|
|
17
|
+
/** The `env` value of managed settings. */
|
|
18
|
+
readonly managed?: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export function codeModeOn(values: CodeModeValues): boolean {
|
|
22
|
+
const { launch, user, flag, managed } = values;
|
|
23
|
+
if ([launch, user, flag, managed].includes('0')) return false;
|
|
24
|
+
const launchCounts = launch === '1' && managed !== '1';
|
|
25
|
+
return user === '1' || flag === '1' || launchCounts;
|
|
26
|
+
}
|
|
@@ -20,6 +20,7 @@ const IGNORE_REASONS = [
|
|
|
20
20
|
'dialog-timer',
|
|
21
21
|
'attachments',
|
|
22
22
|
'file-mentions',
|
|
23
|
+
'code-mode',
|
|
23
24
|
'identity',
|
|
24
25
|
'launch-only',
|
|
25
26
|
] as const;
|
|
@@ -86,6 +87,8 @@ const GROUPS: readonly Group[] = [
|
|
|
86
87
|
'OTEL_LOG_TOOL_DETAILS',
|
|
87
88
|
'OTEL_EXPORTER_PROMETHEUS_HOST',
|
|
88
89
|
'OTEL_EXPORTER_PROMETHEUS_PORT',
|
|
90
|
+
// Adds the machine's name and ID to telemetry.
|
|
91
|
+
'OTEL_RESOURCE_INCLUDE_HOST',
|
|
89
92
|
],
|
|
90
93
|
pattern: OTLP,
|
|
91
94
|
},
|
|
@@ -118,6 +121,8 @@ const GROUPS: readonly Group[] = [
|
|
|
118
121
|
{ reason: 'dialog-timer', from: 'repository', names: ['CLAUDE_CODE_USER_DIALOG_TIMEOUT_MS'] },
|
|
119
122
|
{ reason: 'attachments', from: 'repository', names: ['CLAUDE_CODE_DISABLE_ATTACHMENTS'] },
|
|
120
123
|
{ reason: 'file-mentions', from: 'repository', names: ['CLAUDE_CODE_DISABLE_FILE_MENTIONS'] },
|
|
124
|
+
// Code Mode turns on only from the launch environment, user settings or `--settings` (`codeModeOn`).
|
|
125
|
+
{ reason: 'code-mode', from: 'repository', names: ['CLAUDE_CODE_EXPERIMENTAL_CODE_MODE'] },
|
|
121
126
|
{
|
|
122
127
|
reason: 'identity',
|
|
123
128
|
from: 'every file',
|
|
@@ -135,7 +140,9 @@ const GROUPS: readonly Group[] = [
|
|
|
135
140
|
'CLAUDE_CODE_DISABLE_DANGEROUS_RM_TIMEOUT',
|
|
136
141
|
'CLAUDE_CODE_DISABLE_SUBSTITUTION_RM_PROMPT',
|
|
137
142
|
'CLAUDE_CODE_DISABLE_INLINE_SHELL_RM_PROMPT',
|
|
143
|
+
'CLAUDE_CODE_STRICT_INLINE_SHELL_RM_PROMPT',
|
|
138
144
|
'CLAUDE_CODE_DISABLE_MOUNTED_DRIVE_RM_PROMPT',
|
|
145
|
+
'CLAUDE_CODE_DISABLE_ULTRAREVIEW_TRUST_CHECK',
|
|
139
146
|
'CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS',
|
|
140
147
|
'CLAUDE_CODE_WARN_DISK_FREE_GIB',
|
|
141
148
|
'CLAUDE_CODE_WARN_MEMORY_FREE_GIB',
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** The `env` block of settings files: the ignored variables, what the files come to and when it applies. */
|
|
2
|
+
export { codeModeOn, type CodeModeValues } from './code-mode.ts';
|
|
2
3
|
export { ignoredBecause, type IgnoreReason } from './ignored-variables.ts';
|
|
3
4
|
export {
|
|
4
5
|
isUnsetForProvider,
|
|
@@ -108,7 +108,6 @@ export const GENERAL_CHECKS: { readonly [K in GeneralKey]: Repair } = {
|
|
|
108
108
|
outputStyle: text,
|
|
109
109
|
processWrapper: text,
|
|
110
110
|
statusLine: commandLine,
|
|
111
|
-
subagentStatusLine: commandLine,
|
|
112
111
|
fileSuggestion: commandLine,
|
|
113
112
|
teammateMode: oneOf(...TEAMMATE_MODES),
|
|
114
113
|
theme: (value, at) =>
|
|
@@ -6,10 +6,9 @@ import type { PolicyView } from '../view.ts';
|
|
|
6
6
|
import type { PluginIssue } from '../../format/issues.ts';
|
|
7
7
|
import { kept, mustBe, note, type Repair } from '../repair/support.ts';
|
|
8
8
|
import { isRecord } from '../../protocol/is-record.ts';
|
|
9
|
-
import type { PluginDefaults, PluginWithDefaults } from './plugin-defaults.ts';
|
|
10
9
|
|
|
11
10
|
/** settings-reference.md, "Status line and file suggestion gates": commands follow hook policy. */
|
|
12
|
-
export const COMMAND_LINE_KEYS = ['statusLine', 'fileSuggestion'
|
|
11
|
+
export const COMMAND_LINE_KEYS = ['statusLine', 'fileSuggestion'] as const;
|
|
13
12
|
type CommandKey = (typeof COMMAND_LINE_KEYS)[number];
|
|
14
13
|
type CommandValue = NonNullable<Settings['statusLine']>;
|
|
15
14
|
|
|
@@ -57,30 +56,3 @@ export function readCommandLine(
|
|
|
57
56
|
return narrowed ? { runs: undefined, skippedBecause: 'narrowed' } : { runs: undefined };
|
|
58
57
|
return { runs: { value: holder.value, scope: holder.scope } };
|
|
59
58
|
}
|
|
60
|
-
|
|
61
|
-
/** The subagent status line that runs: a settings source's (with its scope) or a plugin's default. */
|
|
62
|
-
export interface SubagentLineRead<P> {
|
|
63
|
-
readonly runs:
|
|
64
|
-
| { readonly value: CommandValue; readonly scope: PolicyScope }
|
|
65
|
-
| { readonly value: CommandValue; readonly plugin: P }
|
|
66
|
-
| undefined;
|
|
67
|
-
readonly skippedBecause?: 'off' | 'narrowed';
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* `subagentStatusLine` with the plugins' defaults below every settings source (plugins/components.md,
|
|
72
|
-
* "Default settings"), under the same gates as `statusLine`. statusline.md, "Subagent status lines":
|
|
73
|
-
* "unlike hooks, plugin values don't run under `allowManagedHooksOnly` even when the plugin is
|
|
74
|
-
* force-enabled", so a narrowed policy never runs a plugin's value.
|
|
75
|
-
*/
|
|
76
|
-
export function readSubagentStatusLine<P extends PluginWithDefaults>(
|
|
77
|
-
view: PolicyView,
|
|
78
|
-
policy: HookPolicy,
|
|
79
|
-
defaults: PluginDefaults<P>,
|
|
80
|
-
): SubagentLineRead<P> {
|
|
81
|
-
const read = readCommandLine(view, 'subagentStatusLine', policy);
|
|
82
|
-
if (read.runs !== undefined || read.skippedBecause !== undefined) return read;
|
|
83
|
-
const value = defaults.settings.subagentStatusLine;
|
|
84
|
-
const plugin = defaults.owners.subagentStatusLine;
|
|
85
|
-
return value === undefined || plugin === undefined ? read : { runs: { value, plugin } };
|
|
86
|
-
}
|
|
@@ -16,6 +16,12 @@ export interface SettingsEdit {
|
|
|
16
16
|
readonly key?: string;
|
|
17
17
|
/** The edit removes the key rather than setting it. */
|
|
18
18
|
readonly removed?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* The running session saved it itself ("Yes, and don't ask again", `/permissions`, `/model`): it is
|
|
21
|
+
* in force there at once and without the `ConfigChange` hook; another open session that loads the
|
|
22
|
+
* same file is owed the hook (Agent Plugins Extended §7.5.25).
|
|
23
|
+
*/
|
|
24
|
+
readonly savedHere?: boolean;
|
|
19
25
|
}
|
|
20
26
|
|
|
21
27
|
export type Applies =
|
|
@@ -66,8 +72,15 @@ const LIFTED_ON_RESTART: ReadonlySet<string> = new Set([
|
|
|
66
72
|
'permissions.blockReadsOutsideWorkingDirectories',
|
|
67
73
|
]);
|
|
68
74
|
|
|
69
|
-
/** What
|
|
75
|
+
/** What the session that saved a rule or setting is owed: it made the change itself. */
|
|
76
|
+
const SAVED_HERE: EditEffect = { applies: 'now', configChangeHook: false };
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* What an edit is owed: the arrival's effect, unless the key waits for a restart; in the session
|
|
80
|
+
* that saved it, nothing more than being in force.
|
|
81
|
+
*/
|
|
70
82
|
export function editEffect(edit: SettingsEdit): EditEffect {
|
|
83
|
+
if (edit.savedHere === true) return SAVED_HERE;
|
|
71
84
|
const arrival = BY_ARRIVAL[edit.arrival];
|
|
72
85
|
const { key } = edit;
|
|
73
86
|
if (key === undefined) return arrival;
|
|
@@ -98,18 +98,9 @@ export {
|
|
|
98
98
|
type WorktreeConsumer,
|
|
99
99
|
type WorktreeFolderFacts,
|
|
100
100
|
} from './worktree-block.ts';
|
|
101
|
+
export { COMMAND_LINE_KEYS, readCommandLine } from './command-lines.ts';
|
|
101
102
|
export {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} from './command-lines.ts';
|
|
107
|
-
export {
|
|
108
|
-
readSubagentStatusRows,
|
|
109
|
-
runSubagentStatusLine,
|
|
110
|
-
subagentStatusLineInput,
|
|
111
|
-
type SubagentStatusLineInput,
|
|
112
|
-
type SubagentStatusLineRun,
|
|
113
|
-
type SubagentStatusTask,
|
|
114
|
-
} from './subagent-status-line.ts';
|
|
115
|
-
export { type PluginDefaults, type PluginWithDefaults } from './plugin-defaults.ts';
|
|
103
|
+
type PluginDefaults,
|
|
104
|
+
type PluginDefaultWarning,
|
|
105
|
+
type PluginWithDefaults,
|
|
106
|
+
} from './plugin-defaults.ts';
|
|
@@ -38,7 +38,6 @@ export const GENERAL_KEYS = [
|
|
|
38
38
|
'sandbox.network.allowedDomains',
|
|
39
39
|
'spinnerTipsEnabled',
|
|
40
40
|
'statusLine',
|
|
41
|
-
'subagentStatusLine',
|
|
42
41
|
'teammateMode',
|
|
43
42
|
'theme',
|
|
44
43
|
'worktree',
|
|
@@ -57,7 +56,6 @@ export interface GeneralValues {
|
|
|
57
56
|
readonly outputStyle: Settings['outputStyle'];
|
|
58
57
|
readonly processWrapper: Settings['processWrapper'];
|
|
59
58
|
readonly statusLine: Settings['statusLine'];
|
|
60
|
-
readonly subagentStatusLine: Settings['subagentStatusLine'];
|
|
61
59
|
readonly teammateMode: Settings['teammateMode'];
|
|
62
60
|
readonly theme: Settings['theme'];
|
|
63
61
|
readonly 'worktree.location': NonNullable<Settings['worktree']>['location'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { PLUGIN_AGENT_DEPRECATED, type PluginSettings } from '../../format/plugin-settings.ts';
|
|
2
2
|
import type { PolicyView } from '../view.ts';
|
|
3
3
|
|
|
4
4
|
/** A plugin as its defaults are merged: its name (for the debug line) and its applied settings. */
|
|
@@ -7,16 +7,27 @@ export interface PluginWithDefaults {
|
|
|
7
7
|
readonly settings: PluginSettings;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
/**
|
|
10
|
+
/** A startup warning: an enabled plugin sets the deprecated `agent` default (spec §12.6 item 2). */
|
|
11
|
+
export interface PluginDefaultWarning<P extends PluginWithDefaults = PluginWithDefaults> {
|
|
12
|
+
readonly plugin: P;
|
|
13
|
+
readonly message: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/** Spec §12.6, a deprecated feature: last plugin wins, below every settings source. */
|
|
11
17
|
export interface PluginDefaults<P extends PluginWithDefaults = PluginWithDefaults> {
|
|
12
18
|
readonly settings: PluginSettings;
|
|
13
19
|
/** The plugin each key of `settings` came from: the one loaded last that sets it. */
|
|
14
20
|
readonly owners: { readonly [K in keyof PluginSettings]?: P };
|
|
15
21
|
/** The `claude --debug` lines: `Plugin "<b>" overrides setting "<key>" set by plugin "<a>"`. */
|
|
16
22
|
readonly debug: readonly string[];
|
|
23
|
+
/**
|
|
24
|
+
* One deprecation warning per plugin that sets `agent`, in load order, whether or not its value
|
|
25
|
+
* applies; the text is the validator's (Judgment J12.14).
|
|
26
|
+
*/
|
|
27
|
+
readonly warnings: readonly PluginDefaultWarning<P>[];
|
|
17
28
|
}
|
|
18
29
|
|
|
19
|
-
const KEYS = ['agent'
|
|
30
|
+
const KEYS = ['agent'] as const satisfies readonly (keyof PluginSettings)[];
|
|
20
31
|
|
|
21
32
|
/** The plugins' defaults merged in the order given (the load order): a later plugin's key wins. */
|
|
22
33
|
export function pluginDefaultsOf<P extends PluginWithDefaults>(
|
|
@@ -37,7 +48,10 @@ export function pluginDefaultsOf<P extends PluginWithDefaults>(
|
|
|
37
48
|
owners[key] = plugin;
|
|
38
49
|
};
|
|
39
50
|
for (const plugin of plugins) for (const key of KEYS) apply(plugin, key);
|
|
40
|
-
|
|
51
|
+
const warnings = plugins
|
|
52
|
+
.filter((plugin) => plugin.settings.agent !== undefined)
|
|
53
|
+
.map((plugin) => ({ plugin, message: PLUGIN_AGENT_DEPRECATED }));
|
|
54
|
+
return { settings, owners, debug, warnings };
|
|
41
55
|
}
|
|
42
56
|
|
|
43
57
|
/** A key's value after the plugin defaults: from a settings source, or from the plugin named. */
|
|
@@ -47,19 +61,16 @@ export interface SettingWithDefault<K extends keyof PluginSettings, P> {
|
|
|
47
61
|
readonly plugin?: P;
|
|
48
62
|
}
|
|
49
63
|
|
|
50
|
-
/** What the settings sources themselves set of the
|
|
64
|
+
/** What the settings sources themselves set of the key. */
|
|
51
65
|
const ownSettings = (view: PolicyView): PluginSettings => {
|
|
52
66
|
const agent = view.get('agent');
|
|
53
|
-
|
|
54
|
-
return {
|
|
55
|
-
...(agent === undefined ? {} : { agent }),
|
|
56
|
-
...(line === undefined ? {} : { subagentStatusLine: line }),
|
|
57
|
-
};
|
|
67
|
+
return agent === undefined ? {} : { agent };
|
|
58
68
|
};
|
|
59
69
|
|
|
60
70
|
/**
|
|
61
|
-
* The value of `agent
|
|
62
|
-
* own
|
|
71
|
+
* The value of `agent`: "Plugin defaults are the lowest settings layer: an `agent` at any settings
|
|
72
|
+
* level, the user's own in `~/.claude/settings.json` for one, replaces the plugin's" (§12.6 item 4).
|
|
73
|
+
* `undefined` when nothing sets it.
|
|
63
74
|
*/
|
|
64
75
|
export function valueWithPluginDefaults<
|
|
65
76
|
K extends keyof PluginSettings,
|
|
@@ -88,7 +88,6 @@ export const GENERAL_SPECS: { readonly [K in GeneralKey]: ValueSpec<GeneralValue
|
|
|
88
88
|
// "User or managed" (settings-reference.md, `processWrapper`): a repository's file "never" supplies it.
|
|
89
89
|
processWrapper: { scopes: 'userOrManaged', merge: MERGES.highestWins },
|
|
90
90
|
statusLine: { scopes: 'anyAndParent', merge: MERGES.highestWins },
|
|
91
|
-
subagentStatusLine: { scopes: 'anyAndParent', merge: MERGES.highestWins },
|
|
92
91
|
teammateMode: { scopes: 'anyAndParent', merge: MERGES.highestWins },
|
|
93
92
|
theme: { scopes: 'anyAndParent', merge: MERGES.highestWins },
|
|
94
93
|
// "Any file"; blocks merge by the general rule (the object form of `false` takes the highest file).
|
|
@@ -4,7 +4,7 @@ import type { HookGate } from './hook-gate.ts';
|
|
|
4
4
|
/**
|
|
5
5
|
* The commands that follow the hooks (settings-reference.md, `disableAllHooks` "Status line and file
|
|
6
6
|
* suggestion gates" and `allowManagedHooksOnly`; goal.md, "Requirements"): the status line, the file
|
|
7
|
-
* suggestion command,
|
|
7
|
+
* suggestion command, plugin monitors and `/goal`. The kit gives the
|
|
8
8
|
* decision; rendering, starting a monitor and running a command stay the host's.
|
|
9
9
|
*/
|
|
10
10
|
export interface CommandGates {
|
|
@@ -15,7 +15,6 @@ export interface CommandGates {
|
|
|
15
15
|
readonly commandsDisabled: {
|
|
16
16
|
readonly statusLine: boolean;
|
|
17
17
|
readonly fileSuggestion: boolean;
|
|
18
|
-
readonly subagentStatusLine: boolean;
|
|
19
18
|
};
|
|
20
19
|
/**
|
|
21
20
|
* "Narrowed to managed settings": `allowManagedHooksOnly`, a `disableAllHooks` that is `true`
|
|
@@ -44,7 +43,7 @@ export function createCommandGates(gate: HookGate, session: CommandSessionFacts)
|
|
|
44
43
|
const trusted = session.folderTrusted ?? true;
|
|
45
44
|
const off = gate.managedDisable || !trusted;
|
|
46
45
|
return {
|
|
47
|
-
commandsDisabled: { statusLine: off, fileSuggestion: off
|
|
46
|
+
commandsDisabled: { statusLine: off, fileSuggestion: off },
|
|
48
47
|
commandSettingsNarrowedToManaged:
|
|
49
48
|
gate.managedOnly || gate.otherDisable || (session.safeMode ?? false),
|
|
50
49
|
monitorsRun: (plugin) => !gate.managedOnly || gate.forceEnabled(plugin),
|