@localix-ai/agent-plugins 0.0.0-stage → 0.2.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 +3453 -0
- package/LICENSE +21 -0
- package/README.md +188 -2
- package/dist/agents/builtin-model.d.ts +16 -0
- package/dist/agents/builtin-model.d.ts.map +1 -0
- package/dist/agents/builtin-model.js +44 -0
- package/dist/agents/builtin-model.js.map +1 -0
- package/dist/agents/catalog/builtin.d.ts +23 -0
- package/dist/agents/catalog/builtin.d.ts.map +1 -0
- package/dist/agents/catalog/builtin.js +85 -0
- package/dist/agents/catalog/builtin.js.map +1 -0
- package/dist/agents/catalog/index.d.ts +8 -0
- package/dist/agents/catalog/index.d.ts.map +1 -0
- package/dist/agents/catalog/index.js +8 -0
- package/dist/agents/catalog/index.js.map +1 -0
- package/dist/agents/catalog/invoke.d.ts +87 -0
- package/dist/agents/catalog/invoke.d.ts.map +1 -0
- package/dist/agents/catalog/invoke.js +143 -0
- package/dist/agents/catalog/invoke.js.map +1 -0
- package/dist/agents/catalog/resolve.d.ts +58 -0
- package/dist/agents/catalog/resolve.d.ts.map +1 -0
- package/dist/agents/catalog/resolve.js +132 -0
- package/dist/agents/catalog/resolve.js.map +1 -0
- package/dist/agents/catalog/scan.d.ts +43 -0
- package/dist/agents/catalog/scan.d.ts.map +1 -0
- package/dist/agents/catalog/scan.js +85 -0
- package/dist/agents/catalog/scan.js.map +1 -0
- package/dist/agents/catalog/scopes.d.ts +33 -0
- package/dist/agents/catalog/scopes.d.ts.map +1 -0
- package/dist/agents/catalog/scopes.js +40 -0
- package/dist/agents/catalog/scopes.js.map +1 -0
- package/dist/agents/catalog/spawn.d.ts +76 -0
- package/dist/agents/catalog/spawn.d.ts.map +1 -0
- package/dist/agents/catalog/spawn.js +85 -0
- package/dist/agents/catalog/spawn.js.map +1 -0
- package/dist/agents/catalog/types.d.ts +57 -0
- package/dist/agents/catalog/types.d.ts.map +1 -0
- package/dist/agents/catalog/types.js +43 -0
- package/dist/agents/catalog/types.js.map +1 -0
- package/dist/agents/handback-denial.d.ts +16 -0
- package/dist/agents/handback-denial.d.ts.map +1 -0
- package/dist/agents/handback-denial.js +11 -0
- package/dist/agents/handback-denial.js.map +1 -0
- package/dist/agents/hooks.d.ts +53 -0
- package/dist/agents/hooks.d.ts.map +1 -0
- package/dist/agents/hooks.js +137 -0
- package/dist/agents/hooks.js.map +1 -0
- package/dist/agents/index.d.ts +20 -0
- package/dist/agents/index.d.ts.map +1 -0
- package/dist/agents/index.js +20 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/launch-model.d.ts +77 -0
- package/dist/agents/launch-model.d.ts.map +1 -0
- package/dist/agents/launch-model.js +85 -0
- package/dist/agents/launch-model.js.map +1 -0
- package/dist/agents/launch.d.ts +103 -0
- package/dist/agents/launch.d.ts.map +1 -0
- package/dist/agents/launch.js +111 -0
- package/dist/agents/launch.js.map +1 -0
- package/dist/agents/mcp-scope.d.ts +101 -0
- package/dist/agents/mcp-scope.d.ts.map +1 -0
- package/dist/agents/mcp-scope.js +112 -0
- package/dist/agents/mcp-scope.js.map +1 -0
- package/dist/agents/memory.d.ts +42 -0
- package/dist/agents/memory.d.ts.map +1 -0
- package/dist/agents/memory.js +98 -0
- package/dist/agents/memory.js.map +1 -0
- package/dist/agents/model-choice.d.ts +45 -0
- package/dist/agents/model-choice.d.ts.map +1 -0
- package/dist/agents/model-choice.js +43 -0
- package/dist/agents/model-choice.js.map +1 -0
- package/dist/agents/model-value.d.ts +28 -0
- package/dist/agents/model-value.d.ts.map +1 -0
- package/dist/agents/model-value.js +31 -0
- package/dist/agents/model-value.js.map +1 -0
- package/dist/agents/permission-baseline.d.ts +23 -0
- package/dist/agents/permission-baseline.d.ts.map +1 -0
- package/dist/agents/permission-baseline.js +57 -0
- package/dist/agents/permission-baseline.js.map +1 -0
- package/dist/agents/permission-mode.d.ts +41 -0
- package/dist/agents/permission-mode.d.ts.map +1 -0
- package/dist/agents/permission-mode.js +49 -0
- package/dist/agents/permission-mode.js.map +1 -0
- package/dist/agents/preload-skills.d.ts +30 -0
- package/dist/agents/preload-skills.d.ts.map +1 -0
- package/dist/agents/preload-skills.js +30 -0
- package/dist/agents/preload-skills.js.map +1 -0
- package/dist/agents/prompt-surface.d.ts +17 -0
- package/dist/agents/prompt-surface.d.ts.map +1 -0
- package/dist/agents/prompt-surface.js +12 -0
- package/dist/agents/prompt-surface.js.map +1 -0
- package/dist/agents/subagent-permission.d.ts +31 -0
- package/dist/agents/subagent-permission.d.ts.map +1 -0
- package/dist/agents/subagent-permission.js +30 -0
- package/dist/agents/subagent-permission.js.map +1 -0
- package/dist/agents/teammate.d.ts +60 -0
- package/dist/agents/teammate.d.ts.map +1 -0
- package/dist/agents/teammate.js +65 -0
- package/dist/agents/teammate.js.map +1 -0
- package/dist/agents/tool-filters.d.ts +38 -0
- package/dist/agents/tool-filters.d.ts.map +1 -0
- package/dist/agents/tool-filters.js +71 -0
- package/dist/agents/tool-filters.js.map +1 -0
- package/dist/agents/tool-list.d.ts +30 -0
- package/dist/agents/tool-list.d.ts.map +1 -0
- package/dist/agents/tool-list.js +41 -0
- package/dist/agents/tool-list.js.map +1 -0
- package/dist/agents/tool-resolution.d.ts +53 -0
- package/dist/agents/tool-resolution.d.ts.map +1 -0
- package/dist/agents/tool-resolution.js +127 -0
- package/dist/agents/tool-resolution.js.map +1 -0
- package/dist/agents/workflow/args.d.ts +20 -0
- package/dist/agents/workflow/args.d.ts.map +1 -0
- package/dist/agents/workflow/args.js +19 -0
- package/dist/agents/workflow/args.js.map +1 -0
- package/dist/agents/workflow/attempts.d.ts +79 -0
- package/dist/agents/workflow/attempts.d.ts.map +1 -0
- package/dist/agents/workflow/attempts.js +110 -0
- package/dist/agents/workflow/attempts.js.map +1 -0
- package/dist/agents/workflow/index.d.ts +11 -0
- package/dist/agents/workflow/index.d.ts.map +1 -0
- package/dist/agents/workflow/index.js +11 -0
- package/dist/agents/workflow/index.js.map +1 -0
- package/dist/agents/workflow/limits.d.ts +42 -0
- package/dist/agents/workflow/limits.d.ts.map +1 -0
- package/dist/agents/workflow/limits.js +69 -0
- package/dist/agents/workflow/limits.js.map +1 -0
- package/dist/agents/workflow/relaunch.d.ts +58 -0
- package/dist/agents/workflow/relaunch.d.ts.map +1 -0
- package/dist/agents/workflow/relaunch.js +57 -0
- package/dist/agents/workflow/relaunch.js.map +1 -0
- package/dist/agents/workflow/replay.d.ts +65 -0
- package/dist/agents/workflow/replay.d.ts.map +1 -0
- package/dist/agents/workflow/replay.js +84 -0
- package/dist/agents/workflow/replay.js.map +1 -0
- package/dist/agents/workflow/saved-scan.d.ts +22 -0
- package/dist/agents/workflow/saved-scan.d.ts.map +1 -0
- package/dist/agents/workflow/saved-scan.js +68 -0
- package/dist/agents/workflow/saved-scan.js.map +1 -0
- package/dist/agents/workflow/saved.d.ts +69 -0
- package/dist/agents/workflow/saved.d.ts.map +1 -0
- package/dist/agents/workflow/saved.js +77 -0
- package/dist/agents/workflow/saved.js.map +1 -0
- package/dist/agents/workflow/structured-output.d.ts +27 -0
- package/dist/agents/workflow/structured-output.d.ts.map +1 -0
- package/dist/agents/workflow/structured-output.js +91 -0
- package/dist/agents/workflow/structured-output.js.map +1 -0
- package/dist/agents/workflow/usage-limit.d.ts +39 -0
- package/dist/agents/workflow/usage-limit.d.ts.map +1 -0
- package/dist/agents/workflow/usage-limit.js +52 -0
- package/dist/agents/workflow/usage-limit.js.map +1 -0
- package/dist/cli/background-session.d.ts +31 -0
- package/dist/cli/background-session.d.ts.map +1 -0
- package/dist/cli/background-session.js +73 -0
- package/dist/cli/background-session.js.map +1 -0
- package/dist/cli/clean-configuration.d.ts +39 -0
- package/dist/cli/clean-configuration.d.ts.map +1 -0
- package/dist/cli/clean-configuration.js +51 -0
- package/dist/cli/clean-configuration.js.map +1 -0
- package/dist/cli/command-acceptance.d.ts +75 -0
- package/dist/cli/command-acceptance.d.ts.map +1 -0
- package/dist/cli/command-acceptance.js +59 -0
- package/dist/cli/command-acceptance.js.map +1 -0
- package/dist/cli/command-table.d.ts +48 -0
- package/dist/cli/command-table.d.ts.map +1 -0
- package/dist/cli/command-table.js +98 -0
- package/dist/cli/command-table.js.map +1 -0
- package/dist/cli/configure-dialog.d.ts +20 -0
- package/dist/cli/configure-dialog.d.ts.map +1 -0
- package/dist/cli/configure-dialog.js +28 -0
- package/dist/cli/configure-dialog.js.map +1 -0
- package/dist/cli/configure-plan.d.ts +49 -0
- package/dist/cli/configure-plan.d.ts.map +1 -0
- package/dist/cli/configure-plan.js +137 -0
- package/dist/cli/configure-plan.js.map +1 -0
- package/dist/cli/disable-plan.d.ts +20 -0
- package/dist/cli/disable-plan.d.ts.map +1 -0
- package/dist/cli/disable-plan.js +73 -0
- package/dist/cli/disable-plan.js.map +1 -0
- package/dist/cli/enable-plan.d.ts +26 -0
- package/dist/cli/enable-plan.d.ts.map +1 -0
- package/dist/cli/enable-plan.js +37 -0
- package/dist/cli/enable-plan.js.map +1 -0
- package/dist/cli/flags/add-dir.d.ts +28 -0
- package/dist/cli/flags/add-dir.d.ts.map +1 -0
- package/dist/cli/flags/add-dir.js +58 -0
- package/dist/cli/flags/add-dir.js.map +1 -0
- package/dist/cli/flags/agents.d.ts +18 -0
- package/dist/cli/flags/agents.d.ts.map +1 -0
- package/dist/cli/flags/agents.js +101 -0
- package/dist/cli/flags/agents.js.map +1 -0
- package/dist/cli/flags/channels.d.ts +4 -0
- package/dist/cli/flags/channels.d.ts.map +1 -0
- package/dist/cli/flags/channels.js +50 -0
- package/dist/cli/flags/channels.js.map +1 -0
- package/dist/cli/flags/customizations.d.ts +24 -0
- package/dist/cli/flags/customizations.d.ts.map +1 -0
- package/dist/cli/flags/customizations.js +52 -0
- package/dist/cli/flags/customizations.js.map +1 -0
- package/dist/cli/flags/mcp.d.ts +25 -0
- package/dist/cli/flags/mcp.d.ts.map +1 -0
- package/dist/cli/flags/mcp.js +110 -0
- package/dist/cli/flags/mcp.js.map +1 -0
- package/dist/cli/flags/modes.d.ts +26 -0
- package/dist/cli/flags/modes.d.ts.map +1 -0
- package/dist/cli/flags/modes.js +43 -0
- package/dist/cli/flags/modes.js.map +1 -0
- package/dist/cli/flags/plugins.d.ts +13 -0
- package/dist/cli/flags/plugins.d.ts.map +1 -0
- package/dist/cli/flags/plugins.js +64 -0
- package/dist/cli/flags/plugins.js.map +1 -0
- package/dist/cli/flags/registry.d.ts +9 -0
- package/dist/cli/flags/registry.d.ts.map +1 -0
- package/dist/cli/flags/registry.js +36 -0
- package/dist/cli/flags/registry.js.map +1 -0
- package/dist/cli/flags/session.d.ts +4 -0
- package/dist/cli/flags/session.d.ts.map +1 -0
- package/dist/cli/flags/session.js +46 -0
- package/dist/cli/flags/session.js.map +1 -0
- package/dist/cli/flags/settings.d.ts +6 -0
- package/dist/cli/flags/settings.d.ts.map +1 -0
- package/dist/cli/flags/settings.js +65 -0
- package/dist/cli/flags/settings.js.map +1 -0
- package/dist/cli/flags/sideload.d.ts +22 -0
- package/dist/cli/flags/sideload.d.ts.map +1 -0
- package/dist/cli/flags/sideload.js +36 -0
- package/dist/cli/flags/sideload.js.map +1 -0
- package/dist/cli/flags/subagent-prompt.d.ts +8 -0
- package/dist/cli/flags/subagent-prompt.d.ts.map +1 -0
- package/dist/cli/flags/subagent-prompt.js +47 -0
- package/dist/cli/flags/subagent-prompt.js.map +1 -0
- package/dist/cli/flags/types.d.ts +143 -0
- package/dist/cli/flags/types.d.ts.map +1 -0
- package/dist/cli/flags/types.js +49 -0
- package/dist/cli/flags/types.js.map +1 -0
- package/dist/cli/flags/values.d.ts +16 -0
- package/dist/cli/flags/values.d.ts.map +1 -0
- package/dist/cli/flags/values.js +7 -0
- package/dist/cli/flags/values.js.map +1 -0
- package/dist/cli/index.d.ts +46 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +43 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/install-config.d.ts +54 -0
- package/dist/cli/install-config.d.ts.map +1 -0
- package/dist/cli/install-config.js +76 -0
- package/dist/cli/install-config.js.map +1 -0
- package/dist/cli/install-lookup.d.ts +23 -0
- package/dist/cli/install-lookup.d.ts.map +1 -0
- package/dist/cli/install-lookup.js +98 -0
- package/dist/cli/install-lookup.js.map +1 -0
- package/dist/cli/install-plan.d.ts +88 -0
- package/dist/cli/install-plan.d.ts.map +1 -0
- package/dist/cli/install-plan.js +135 -0
- package/dist/cli/install-plan.js.map +1 -0
- package/dist/cli/install-refusals.d.ts +6 -0
- package/dist/cli/install-refusals.d.ts.map +1 -0
- package/dist/cli/install-refusals.js +14 -0
- package/dist/cli/install-refusals.js.map +1 -0
- package/dist/cli/install-start.d.ts +64 -0
- package/dist/cli/install-start.d.ts.map +1 -0
- package/dist/cli/install-start.js +85 -0
- package/dist/cli/install-start.js.map +1 -0
- package/dist/cli/lfs-pointer-line.d.ts +9 -0
- package/dist/cli/lfs-pointer-line.d.ts.map +1 -0
- package/dist/cli/lfs-pointer-line.js +14 -0
- package/dist/cli/lfs-pointer-line.js.map +1 -0
- package/dist/cli/marketplace-add.d.ts +84 -0
- package/dist/cli/marketplace-add.d.ts.map +1 -0
- package/dist/cli/marketplace-add.js +127 -0
- package/dist/cli/marketplace-add.js.map +1 -0
- package/dist/cli/marketplace-list.d.ts +46 -0
- package/dist/cli/marketplace-list.d.ts.map +1 -0
- package/dist/cli/marketplace-list.js +76 -0
- package/dist/cli/marketplace-list.js.map +1 -0
- package/dist/cli/marketplace-remove.d.ts +69 -0
- package/dist/cli/marketplace-remove.d.ts.map +1 -0
- package/dist/cli/marketplace-remove.js +71 -0
- package/dist/cli/marketplace-remove.js.map +1 -0
- package/dist/cli/marketplace-update.d.ts +43 -0
- package/dist/cli/marketplace-update.d.ts.map +1 -0
- package/dist/cli/marketplace-update.js +54 -0
- package/dist/cli/marketplace-update.js.map +1 -0
- package/dist/cli/plugin-details.d.ts +38 -0
- package/dist/cli/plugin-details.d.ts.map +1 -0
- package/dist/cli/plugin-details.js +47 -0
- package/dist/cli/plugin-details.js.map +1 -0
- package/dist/cli/plugin-list.d.ts +77 -0
- package/dist/cli/plugin-list.d.ts.map +1 -0
- package/dist/cli/plugin-list.js +127 -0
- package/dist/cli/plugin-list.js.map +1 -0
- package/dist/cli/plugin-ref.d.ts +19 -0
- package/dist/cli/plugin-ref.d.ts.map +1 -0
- package/dist/cli/plugin-ref.js +25 -0
- package/dist/cli/plugin-ref.js.map +1 -0
- package/dist/cli/prune-plan.d.ts +39 -0
- package/dist/cli/prune-plan.d.ts.map +1 -0
- package/dist/cli/prune-plan.js +57 -0
- package/dist/cli/prune-plan.js.map +1 -0
- package/dist/cli/records-refusal.d.ts +11 -0
- package/dist/cli/records-refusal.d.ts.map +1 -0
- package/dist/cli/records-refusal.js +16 -0
- package/dist/cli/records-refusal.js.map +1 -0
- package/dist/cli/result.d.ts +75 -0
- package/dist/cli/result.d.ts.map +1 -0
- package/dist/cli/result.js +82 -0
- package/dist/cli/result.js.map +1 -0
- package/dist/cli/scope.d.ts +72 -0
- package/dist/cli/scope.d.ts.map +1 -0
- package/dist/cli/scope.js +105 -0
- package/dist/cli/scope.js.map +1 -0
- package/dist/cli/session-flags.d.ts +7 -0
- package/dist/cli/session-flags.d.ts.map +1 -0
- package/dist/cli/session-flags.js +92 -0
- package/dist/cli/session-flags.js.map +1 -0
- package/dist/cli/tag-plan.d.ts +50 -0
- package/dist/cli/tag-plan.d.ts.map +1 -0
- package/dist/cli/tag-plan.js +68 -0
- package/dist/cli/tag-plan.js.map +1 -0
- package/dist/cli/toggle-target.d.ts +43 -0
- package/dist/cli/toggle-target.d.ts.map +1 -0
- package/dist/cli/toggle-target.js +69 -0
- package/dist/cli/toggle-target.js.map +1 -0
- package/dist/cli/uninstall-data.d.ts +47 -0
- package/dist/cli/uninstall-data.d.ts.map +1 -0
- package/dist/cli/uninstall-data.js +40 -0
- package/dist/cli/uninstall-data.js.map +1 -0
- package/dist/cli/uninstall-flags.d.ts +10 -0
- package/dist/cli/uninstall-flags.d.ts.map +1 -0
- package/dist/cli/uninstall-flags.js +10 -0
- package/dist/cli/uninstall-flags.js.map +1 -0
- package/dist/cli/uninstall-plan.d.ts +88 -0
- package/dist/cli/uninstall-plan.d.ts.map +1 -0
- package/dist/cli/uninstall-plan.js +141 -0
- package/dist/cli/uninstall-plan.js.map +1 -0
- package/dist/cli/uninstall-refusal.d.ts +21 -0
- package/dist/cli/uninstall-refusal.d.ts.map +1 -0
- package/dist/cli/uninstall-refusal.js +17 -0
- package/dist/cli/uninstall-refusal.js.map +1 -0
- package/dist/cli/update-facts.d.ts +49 -0
- package/dist/cli/update-facts.d.ts.map +1 -0
- package/dist/cli/update-facts.js +2 -0
- package/dist/cli/update-facts.js.map +1 -0
- package/dist/cli/update-locate.d.ts +20 -0
- package/dist/cli/update-locate.d.ts.map +1 -0
- package/dist/cli/update-locate.js +53 -0
- package/dist/cli/update-locate.js.map +1 -0
- package/dist/cli/update-plan.d.ts +58 -0
- package/dist/cli/update-plan.d.ts.map +1 -0
- package/dist/cli/update-plan.js +113 -0
- package/dist/cli/update-plan.js.map +1 -0
- package/dist/cli/user-config-input.d.ts +34 -0
- package/dist/cli/user-config-input.d.ts.map +1 -0
- package/dist/cli/user-config-input.js +61 -0
- package/dist/cli/user-config-input.js.map +1 -0
- package/dist/cli/validate-advice.d.ts +25 -0
- package/dist/cli/validate-advice.d.ts.map +1 -0
- package/dist/cli/validate-advice.js +63 -0
- package/dist/cli/validate-advice.js.map +1 -0
- package/dist/cli/validate-run.d.ts +88 -0
- package/dist/cli/validate-run.d.ts.map +1 -0
- package/dist/cli/validate-run.js +120 -0
- package/dist/cli/validate-run.js.map +1 -0
- package/dist/convert/adapters/claude-code-runner-source.d.ts +14 -0
- package/dist/convert/adapters/claude-code-runner-source.d.ts.map +1 -0
- package/dist/convert/adapters/claude-code-runner-source.js +167 -0
- package/dist/convert/adapters/claude-code-runner-source.js.map +1 -0
- package/dist/convert/adapters/core-profiles-source.d.ts +13 -0
- package/dist/convert/adapters/core-profiles-source.d.ts.map +1 -0
- package/dist/convert/adapters/core-profiles-source.js +163 -0
- package/dist/convert/adapters/core-profiles-source.js.map +1 -0
- package/dist/convert/adapters/core-runner-source.d.ts +12 -0
- package/dist/convert/adapters/core-runner-source.d.ts.map +1 -0
- package/dist/convert/adapters/core-runner-source.js +162 -0
- package/dist/convert/adapters/core-runner-source.js.map +1 -0
- package/dist/convert/adapters/registration.d.ts +40 -0
- package/dist/convert/adapters/registration.d.ts.map +1 -0
- package/dist/convert/adapters/registration.js +116 -0
- package/dist/convert/adapters/registration.js.map +1 -0
- package/dist/convert/adapters/sources.d.ts +14 -0
- package/dist/convert/adapters/sources.d.ts.map +1 -0
- package/dist/convert/adapters/sources.js +46 -0
- package/dist/convert/adapters/sources.js.map +1 -0
- package/dist/convert/convert-package.d.ts +19 -0
- package/dist/convert/convert-package.d.ts.map +1 -0
- package/dist/convert/convert-package.js +76 -0
- package/dist/convert/convert-package.js.map +1 -0
- package/dist/convert/index.d.ts +6 -0
- package/dist/convert/index.d.ts.map +1 -0
- package/dist/convert/index.js +6 -0
- package/dist/convert/index.js.map +1 -0
- package/dist/convert/judge.d.ts +20 -0
- package/dist/convert/judge.d.ts.map +1 -0
- package/dist/convert/judge.js +30 -0
- package/dist/convert/judge.js.map +1 -0
- package/dist/convert/namespaces.d.ts +5 -0
- package/dist/convert/namespaces.d.ts.map +1 -0
- package/dist/convert/namespaces.js +48 -0
- package/dist/convert/namespaces.js.map +1 -0
- package/dist/convert/notes.d.ts +10 -0
- package/dist/convert/notes.d.ts.map +1 -0
- package/dist/convert/notes.js +33 -0
- package/dist/convert/notes.js.map +1 -0
- package/dist/convert/overlay.d.ts +4 -0
- package/dist/convert/overlay.d.ts.map +1 -0
- package/dist/convert/overlay.js +60 -0
- package/dist/convert/overlay.js.map +1 -0
- package/dist/convert/placeholders.d.ts +19 -0
- package/dist/convert/placeholders.d.ts.map +1 -0
- package/dist/convert/placeholders.js +60 -0
- package/dist/convert/placeholders.js.map +1 -0
- package/dist/convert/profiles.d.ts +16 -0
- package/dist/convert/profiles.d.ts.map +1 -0
- package/dist/convert/profiles.js +35 -0
- package/dist/convert/profiles.js.map +1 -0
- package/dist/convert/skill-body.d.ts +3 -0
- package/dist/convert/skill-body.d.ts.map +1 -0
- package/dist/convert/skill-body.js +32 -0
- package/dist/convert/skill-body.js.map +1 -0
- package/dist/convert/to-claude-code/hooks.d.ts +25 -0
- package/dist/convert/to-claude-code/hooks.d.ts.map +1 -0
- package/dist/convert/to-claude-code/hooks.js +94 -0
- package/dist/convert/to-claude-code/hooks.js.map +1 -0
- package/dist/convert/to-claude-code/index.d.ts +10 -0
- package/dist/convert/to-claude-code/index.d.ts.map +1 -0
- package/dist/convert/to-claude-code/index.js +34 -0
- package/dist/convert/to-claude-code/index.js.map +1 -0
- package/dist/convert/to-claude-code/manifest.d.ts +19 -0
- package/dist/convert/to-claude-code/manifest.d.ts.map +1 -0
- package/dist/convert/to-claude-code/manifest.js +51 -0
- package/dist/convert/to-claude-code/manifest.js.map +1 -0
- package/dist/convert/to-claude-code/mcp.d.ts +20 -0
- package/dist/convert/to-claude-code/mcp.d.ts.map +1 -0
- package/dist/convert/to-claude-code/mcp.js +69 -0
- package/dist/convert/to-claude-code/mcp.js.map +1 -0
- package/dist/convert/to-claude-code/skills.d.ts +9 -0
- package/dist/convert/to-claude-code/skills.d.ts.map +1 -0
- package/dist/convert/to-claude-code/skills.js +19 -0
- package/dist/convert/to-claude-code/skills.js.map +1 -0
- package/dist/convert/to-core/components.d.ts +19 -0
- package/dist/convert/to-core/components.d.ts.map +1 -0
- package/dist/convert/to-core/components.js +31 -0
- package/dist/convert/to-core/components.js.map +1 -0
- package/dist/convert/to-core/hook-matchers.d.ts +17 -0
- package/dist/convert/to-core/hook-matchers.d.ts.map +1 -0
- package/dist/convert/to-core/hook-matchers.js +35 -0
- package/dist/convert/to-core/hook-matchers.js.map +1 -0
- package/dist/convert/to-core/hooks.d.ts +24 -0
- package/dist/convert/to-core/hooks.d.ts.map +1 -0
- package/dist/convert/to-core/hooks.js +118 -0
- package/dist/convert/to-core/hooks.js.map +1 -0
- package/dist/convert/to-core/index.d.ts +17 -0
- package/dist/convert/to-core/index.d.ts.map +1 -0
- package/dist/convert/to-core/index.js +37 -0
- package/dist/convert/to-core/index.js.map +1 -0
- package/dist/convert/to-core/manifest.d.ts +16 -0
- package/dist/convert/to-core/manifest.d.ts.map +1 -0
- package/dist/convert/to-core/manifest.js +29 -0
- package/dist/convert/to-core/manifest.js.map +1 -0
- package/dist/convert/to-core/mcp.d.ts +22 -0
- package/dist/convert/to-core/mcp.d.ts.map +1 -0
- package/dist/convert/to-core/mcp.js +100 -0
- package/dist/convert/to-core/mcp.js.map +1 -0
- package/dist/convert/to-core/skills.d.ts +4 -0
- package/dist/convert/to-core/skills.d.ts.map +1 -0
- package/dist/convert/to-core/skills.js +43 -0
- package/dist/convert/to-core/skills.js.map +1 -0
- package/dist/convert/types.d.ts +45 -0
- package/dist/convert/types.d.ts.map +1 -0
- package/dist/convert/types.js +13 -0
- package/dist/convert/types.js.map +1 -0
- package/dist/entry/agents.d.ts +8 -0
- package/dist/entry/agents.d.ts.map +1 -0
- package/dist/entry/agents.js +8 -0
- package/dist/entry/agents.js.map +1 -0
- package/dist/entry/cli.d.ts +3 -0
- package/dist/entry/cli.d.ts.map +1 -0
- package/dist/entry/cli.js +3 -0
- package/dist/entry/cli.js.map +1 -0
- package/dist/entry/core.d.ts +5 -0
- package/dist/entry/core.d.ts.map +1 -0
- package/dist/entry/core.js +5 -0
- package/dist/entry/core.js.map +1 -0
- package/dist/entry/elicitation.d.ts +3 -0
- package/dist/entry/elicitation.d.ts.map +1 -0
- package/dist/entry/elicitation.js +3 -0
- package/dist/entry/elicitation.js.map +1 -0
- package/dist/entry/format.d.ts +7 -0
- package/dist/entry/format.d.ts.map +1 -0
- package/dist/entry/format.js +7 -0
- package/dist/entry/format.js.map +1 -0
- package/dist/entry/hooks.d.ts +7 -0
- package/dist/entry/hooks.d.ts.map +1 -0
- package/dist/entry/hooks.js +5 -0
- package/dist/entry/hooks.js.map +1 -0
- package/dist/entry/layout.d.ts +3 -0
- package/dist/entry/layout.d.ts.map +1 -0
- package/dist/entry/layout.js +3 -0
- package/dist/entry/layout.js.map +1 -0
- package/dist/entry/loading.d.ts +3 -0
- package/dist/entry/loading.d.ts.map +1 -0
- package/dist/entry/loading.js +3 -0
- package/dist/entry/loading.js.map +1 -0
- package/dist/entry/marketplace.d.ts +6 -0
- package/dist/entry/marketplace.d.ts.map +1 -0
- package/dist/entry/marketplace.js +5 -0
- package/dist/entry/marketplace.js.map +1 -0
- package/dist/entry/mod-elements.d.ts +9 -0
- package/dist/entry/mod-elements.d.ts.map +1 -0
- package/dist/entry/mod-elements.js +9 -0
- package/dist/entry/mod-elements.js.map +1 -0
- package/dist/entry/mod-isolate.d.ts +19 -0
- package/dist/entry/mod-isolate.d.ts.map +1 -0
- package/dist/entry/mod-isolate.js +19 -0
- package/dist/entry/mod-isolate.js.map +1 -0
- package/dist/entry/mods.d.ts +11 -0
- package/dist/entry/mods.d.ts.map +1 -0
- package/dist/entry/mods.js +12 -0
- package/dist/entry/mods.js.map +1 -0
- package/dist/entry/rules.d.ts +4 -0
- package/dist/entry/rules.d.ts.map +1 -0
- package/dist/entry/rules.js +4 -0
- package/dist/entry/rules.js.map +1 -0
- package/dist/entry/sdk.d.ts +5 -0
- package/dist/entry/sdk.d.ts.map +1 -0
- package/dist/entry/sdk.js +4 -0
- package/dist/entry/sdk.js.map +1 -0
- package/dist/entry/settings.d.ts +15 -0
- package/dist/entry/settings.d.ts.map +1 -0
- package/dist/entry/settings.js +15 -0
- package/dist/entry/settings.js.map +1 -0
- package/dist/entry/skills.d.ts +3 -0
- package/dist/entry/skills.d.ts.map +1 -0
- package/dist/entry/skills.js +3 -0
- package/dist/entry/skills.js.map +1 -0
- package/dist/format/agent-field-read.d.ts +26 -0
- package/dist/format/agent-field-read.d.ts.map +1 -0
- package/dist/format/agent-field-read.js +27 -0
- package/dist/format/agent-field-read.js.map +1 -0
- package/dist/format/agent-fields.d.ts +64 -0
- package/dist/format/agent-fields.d.ts.map +1 -0
- package/dist/format/agent-fields.js +117 -0
- package/dist/format/agent-fields.js.map +1 -0
- package/dist/format/agent-flag.d.ts +16 -0
- package/dist/format/agent-flag.d.ts.map +1 -0
- package/dist/format/agent-flag.js +111 -0
- package/dist/format/agent-flag.js.map +1 -0
- package/dist/format/agent-hooks-field.d.ts +10 -0
- package/dist/format/agent-hooks-field.d.ts.map +1 -0
- package/dist/format/agent-hooks-field.js +16 -0
- package/dist/format/agent-hooks-field.js.map +1 -0
- package/dist/format/agent-name.d.ts +26 -0
- package/dist/format/agent-name.d.ts.map +1 -0
- package/dist/format/agent-name.js +53 -0
- package/dist/format/agent-name.js.map +1 -0
- package/dist/format/agent-record.d.ts +84 -0
- package/dist/format/agent-record.d.ts.map +1 -0
- package/dist/format/agent-record.js +6 -0
- package/dist/format/agent-record.js.map +1 -0
- package/dist/format/agent-scalars.d.ts +53 -0
- package/dist/format/agent-scalars.d.ts.map +1 -0
- package/dist/format/agent-scalars.js +107 -0
- package/dist/format/agent-scalars.js.map +1 -0
- package/dist/format/agent-unrecognized.d.ts +8 -0
- package/dist/format/agent-unrecognized.d.ts.map +1 -0
- package/dist/format/agent-unrecognized.js +47 -0
- package/dist/format/agent-unrecognized.js.map +1 -0
- package/dist/format/agent.d.ts +19 -0
- package/dist/format/agent.d.ts.map +1 -0
- package/dist/format/agent.js +140 -0
- package/dist/format/agent.js.map +1 -0
- package/dist/format/bundled-skill.d.ts +29 -0
- package/dist/format/bundled-skill.d.ts.map +1 -0
- package/dist/format/bundled-skill.js +26 -0
- package/dist/format/bundled-skill.js.map +1 -0
- package/dist/format/canonical-json.d.ts +8 -0
- package/dist/format/canonical-json.d.ts.map +1 -0
- package/dist/format/canonical-json.js +21 -0
- package/dist/format/canonical-json.js.map +1 -0
- package/dist/format/code-points.d.ts +7 -0
- package/dist/format/code-points.d.ts.map +1 -0
- package/dist/format/code-points.js +12 -0
- package/dist/format/code-points.js.map +1 -0
- package/dist/format/command.d.ts +37 -0
- package/dist/format/command.d.ts.map +1 -0
- package/dist/format/command.js +141 -0
- package/dist/format/command.js.map +1 -0
- package/dist/format/component-source.d.ts +18 -0
- package/dist/format/component-source.d.ts.map +1 -0
- package/dist/format/component-source.js +9 -0
- package/dist/format/component-source.js.map +1 -0
- package/dist/format/config-directory.d.ts +31 -0
- package/dist/format/config-directory.d.ts.map +1 -0
- package/dist/format/config-directory.js +19 -0
- package/dist/format/config-directory.js.map +1 -0
- package/dist/format/core/command.d.ts +5 -0
- package/dist/format/core/command.d.ts.map +1 -0
- package/dist/format/core/command.js +39 -0
- package/dist/format/core/command.js.map +1 -0
- package/dist/format/core/document.d.ts +14 -0
- package/dist/format/core/document.d.ts.map +1 -0
- package/dist/format/core/document.js +36 -0
- package/dist/format/core/document.js.map +1 -0
- package/dist/format/core/dual.d.ts +16 -0
- package/dist/format/core/dual.d.ts.map +1 -0
- package/dist/format/core/dual.js +84 -0
- package/dist/format/core/dual.js.map +1 -0
- package/dist/format/core/extensions.d.ts +16 -0
- package/dist/format/core/extensions.d.ts.map +1 -0
- package/dist/format/core/extensions.js +19 -0
- package/dist/format/core/extensions.js.map +1 -0
- package/dist/format/core/hooks.d.ts +36 -0
- package/dist/format/core/hooks.d.ts.map +1 -0
- package/dist/format/core/hooks.js +108 -0
- package/dist/format/core/hooks.js.map +1 -0
- package/dist/format/core/icon.d.ts +7 -0
- package/dist/format/core/icon.d.ts.map +1 -0
- package/dist/format/core/icon.js +25 -0
- package/dist/format/core/icon.js.map +1 -0
- package/dist/format/core/index.d.ts +16 -0
- package/dist/format/core/index.d.ts.map +1 -0
- package/dist/format/core/index.js +16 -0
- package/dist/format/core/index.js.map +1 -0
- package/dist/format/core/manifest.d.ts +43 -0
- package/dist/format/core/manifest.d.ts.map +1 -0
- package/dist/format/core/manifest.js +119 -0
- package/dist/format/core/manifest.js.map +1 -0
- package/dist/format/core/mcp-server.d.ts +32 -0
- package/dist/format/core/mcp-server.d.ts.map +1 -0
- package/dist/format/core/mcp-server.js +116 -0
- package/dist/format/core/mcp-server.js.map +1 -0
- package/dist/format/core/mcp.d.ts +24 -0
- package/dist/format/core/mcp.d.ts.map +1 -0
- package/dist/format/core/mcp.js +33 -0
- package/dist/format/core/mcp.js.map +1 -0
- package/dist/format/core/name.d.ts +8 -0
- package/dist/format/core/name.d.ts.map +1 -0
- package/dist/format/core/name.js +24 -0
- package/dist/format/core/name.js.map +1 -0
- package/dist/format/core/placeholders.d.ts +39 -0
- package/dist/format/core/placeholders.d.ts.map +1 -0
- package/dist/format/core/placeholders.js +43 -0
- package/dist/format/core/placeholders.js.map +1 -0
- package/dist/format/core/remote.d.ts +5 -0
- package/dist/format/core/remote.d.ts.map +1 -0
- package/dist/format/core/remote.js +70 -0
- package/dist/format/core/remote.js.map +1 -0
- package/dist/format/core/skill.d.ts +21 -0
- package/dist/format/core/skill.d.ts.map +1 -0
- package/dist/format/core/skill.js +53 -0
- package/dist/format/core/skill.js.map +1 -0
- package/dist/format/core/subprocess.d.ts +39 -0
- package/dist/format/core/subprocess.d.ts.map +1 -0
- package/dist/format/core/subprocess.js +61 -0
- package/dist/format/core/subprocess.js.map +1 -0
- package/dist/format/core/versions.d.ts +29 -0
- package/dist/format/core/versions.d.ts.map +1 -0
- package/dist/format/core/versions.js +35 -0
- package/dist/format/core/versions.js.map +1 -0
- package/dist/format/credential-env.d.ts +35 -0
- package/dist/format/credential-env.d.ts.map +1 -0
- package/dist/format/credential-env.js +137 -0
- package/dist/format/credential-env.js.map +1 -0
- package/dist/format/defined.d.ts +9 -0
- package/dist/format/defined.d.ts.map +1 -0
- package/dist/format/defined.js +17 -0
- package/dist/format/defined.js.map +1 -0
- package/dist/format/env-flag.d.ts +11 -0
- package/dist/format/env-flag.d.ts.map +1 -0
- package/dist/format/env-flag.js +14 -0
- package/dist/format/env-flag.js.map +1 -0
- package/dist/format/env-number.d.ts +15 -0
- package/dist/format/env-number.d.ts.map +1 -0
- package/dist/format/env-number.js +34 -0
- package/dist/format/env-number.js.map +1 -0
- package/dist/format/frontmatter-render.d.ts +39 -0
- package/dist/format/frontmatter-render.d.ts.map +1 -0
- package/dist/format/frontmatter-render.js +77 -0
- package/dist/format/frontmatter-render.js.map +1 -0
- package/dist/format/frontmatter-values.d.ts +49 -0
- package/dist/format/frontmatter-values.d.ts.map +1 -0
- package/dist/format/frontmatter-values.js +124 -0
- package/dist/format/frontmatter-values.js.map +1 -0
- package/dist/format/frontmatter-write.d.ts +23 -0
- package/dist/format/frontmatter-write.d.ts.map +1 -0
- package/dist/format/frontmatter-write.js +63 -0
- package/dist/format/frontmatter-write.js.map +1 -0
- package/dist/format/frontmatter.d.ts +54 -0
- package/dist/format/frontmatter.d.ts.map +1 -0
- package/dist/format/frontmatter.js +132 -0
- package/dist/format/frontmatter.js.map +1 -0
- package/dist/format/helper-credentials.d.ts +3 -0
- package/dist/format/helper-credentials.d.ts.map +1 -0
- package/dist/format/helper-credentials.js +45 -0
- package/dist/format/helper-credentials.js.map +1 -0
- package/dist/format/helper-headers.d.ts +16 -0
- package/dist/format/helper-headers.d.ts.map +1 -0
- package/dist/format/helper-headers.js +20 -0
- package/dist/format/helper-headers.js.map +1 -0
- package/dist/format/hooks-handlers.d.ts +10 -0
- package/dist/format/hooks-handlers.d.ts.map +1 -0
- package/dist/format/hooks-handlers.js +115 -0
- package/dist/format/hooks-handlers.js.map +1 -0
- package/dist/format/hooks-settings.d.ts +40 -0
- package/dist/format/hooks-settings.d.ts.map +1 -0
- package/dist/format/hooks-settings.js +174 -0
- package/dist/format/hooks-settings.js.map +1 -0
- package/dist/format/host-errors.d.ts +94 -0
- package/dist/format/host-errors.d.ts.map +1 -0
- package/dist/format/host-errors.js +107 -0
- package/dist/format/host-errors.js.map +1 -0
- package/dist/format/index.d.ts +45 -0
- package/dist/format/index.d.ts.map +1 -0
- package/dist/format/index.js +39 -0
- package/dist/format/index.js.map +1 -0
- package/dist/format/issues.d.ts +23 -0
- package/dist/format/issues.d.ts.map +1 -0
- package/dist/format/issues.js +20 -0
- package/dist/format/issues.js.map +1 -0
- package/dist/format/js-literal.d.ts +39 -0
- package/dist/format/js-literal.d.ts.map +1 -0
- package/dist/format/js-literal.js +159 -0
- package/dist/format/js-literal.js.map +1 -0
- package/dist/format/js-parse.d.ts +25 -0
- package/dist/format/js-parse.d.ts.map +1 -0
- package/dist/format/js-parse.js +31 -0
- package/dist/format/js-parse.js.map +1 -0
- package/dist/format/js-tokens.d.ts +37 -0
- package/dist/format/js-tokens.d.ts.map +1 -0
- package/dist/format/js-tokens.js +270 -0
- package/dist/format/js-tokens.js.map +1 -0
- package/dist/format/layout.d.ts +49 -0
- package/dist/format/layout.d.ts.map +1 -0
- package/dist/format/layout.js +159 -0
- package/dist/format/layout.js.map +1 -0
- package/dist/format/link-rule.d.ts +21 -0
- package/dist/format/link-rule.d.ts.map +1 -0
- package/dist/format/link-rule.js +27 -0
- package/dist/format/link-rule.js.map +1 -0
- package/dist/format/listing.d.ts +10 -0
- package/dist/format/listing.d.ts.map +1 -0
- package/dist/format/listing.js +16 -0
- package/dist/format/listing.js.map +1 -0
- package/dist/format/load-files.d.ts +11 -0
- package/dist/format/load-files.d.ts.map +1 -0
- package/dist/format/load-files.js +30 -0
- package/dist/format/load-files.js.map +1 -0
- package/dist/format/locate.d.ts +47 -0
- package/dist/format/locate.d.ts.map +1 -0
- package/dist/format/locate.js +74 -0
- package/dist/format/locate.js.map +1 -0
- package/dist/format/lsp-config.d.ts +69 -0
- package/dist/format/lsp-config.d.ts.map +1 -0
- package/dist/format/lsp-config.js +74 -0
- package/dist/format/lsp-config.js.map +1 -0
- package/dist/format/lsp-schema.d.ts +73 -0
- package/dist/format/lsp-schema.d.ts.map +1 -0
- package/dist/format/lsp-schema.js +55 -0
- package/dist/format/lsp-schema.js.map +1 -0
- package/dist/format/manifest-schema.d.ts +350 -0
- package/dist/format/manifest-schema.d.ts.map +1 -0
- package/dist/format/manifest-schema.js +119 -0
- package/dist/format/manifest-schema.js.map +1 -0
- package/dist/format/manifest.d.ts +20 -0
- package/dist/format/manifest.d.ts.map +1 -0
- package/dist/format/manifest.js +76 -0
- package/dist/format/manifest.js.map +1 -0
- package/dist/format/marketplace/archive-url.d.ts +4 -0
- package/dist/format/marketplace/archive-url.d.ts.map +1 -0
- package/dist/format/marketplace/archive-url.js +27 -0
- package/dist/format/marketplace/archive-url.js.map +1 -0
- package/dist/format/marketplace/blocked-hosts.d.ts +11 -0
- package/dist/format/marketplace/blocked-hosts.d.ts.map +1 -0
- package/dist/format/marketplace/blocked-hosts.js +79 -0
- package/dist/format/marketplace/blocked-hosts.js.map +1 -0
- package/dist/format/marketplace/display-fields.d.ts +19 -0
- package/dist/format/marketplace/display-fields.d.ts.map +1 -0
- package/dist/format/marketplace/display-fields.js +32 -0
- package/dist/format/marketplace/display-fields.js.map +1 -0
- package/dist/format/marketplace/entries.d.ts +20 -0
- package/dist/format/marketplace/entries.d.ts.map +1 -0
- package/dist/format/marketplace/entries.js +159 -0
- package/dist/format/marketplace/entries.js.map +1 -0
- package/dist/format/marketplace/entry-append.d.ts +31 -0
- package/dist/format/marketplace/entry-append.d.ts.map +1 -0
- package/dist/format/marketplace/entry-append.js +44 -0
- package/dist/format/marketplace/entry-append.js.map +1 -0
- package/dist/format/marketplace/entry-checks.d.ts +44 -0
- package/dist/format/marketplace/entry-checks.d.ts.map +1 -0
- package/dist/format/marketplace/entry-checks.js +123 -0
- package/dist/format/marketplace/entry-checks.js.map +1 -0
- package/dist/format/marketplace/entry-merge.d.ts +41 -0
- package/dist/format/marketplace/entry-merge.d.ts.map +1 -0
- package/dist/format/marketplace/entry-merge.js +143 -0
- package/dist/format/marketplace/entry-merge.js.map +1 -0
- package/dist/format/marketplace/entry-schema.d.ts +143 -0
- package/dist/format/marketplace/entry-schema.d.ts.map +1 -0
- package/dist/format/marketplace/entry-schema.js +86 -0
- package/dist/format/marketplace/entry-schema.js.map +1 -0
- package/dist/format/marketplace/header-names.d.ts +3 -0
- package/dist/format/marketplace/header-names.d.ts.map +1 -0
- package/dist/format/marketplace/header-names.js +40 -0
- package/dist/format/marketplace/header-names.js.map +1 -0
- package/dist/format/marketplace/ids.d.ts +30 -0
- package/dist/format/marketplace/ids.d.ts.map +1 -0
- package/dist/format/marketplace/ids.js +80 -0
- package/dist/format/marketplace/ids.js.map +1 -0
- package/dist/format/marketplace/index.d.ts +15 -0
- package/dist/format/marketplace/index.d.ts.map +1 -0
- package/dist/format/marketplace/index.js +15 -0
- package/dist/format/marketplace/index.js.map +1 -0
- package/dist/format/marketplace/marketplace-name-lists.d.ts +25 -0
- package/dist/format/marketplace/marketplace-name-lists.d.ts.map +1 -0
- package/dist/format/marketplace/marketplace-name-lists.js +69 -0
- package/dist/format/marketplace/marketplace-name-lists.js.map +1 -0
- package/dist/format/marketplace/marketplace-names.d.ts +29 -0
- package/dist/format/marketplace/marketplace-names.d.ts.map +1 -0
- package/dist/format/marketplace/marketplace-names.js +202 -0
- package/dist/format/marketplace/marketplace-names.js.map +1 -0
- package/dist/format/marketplace/marketplace-schema.d.ts +50 -0
- package/dist/format/marketplace/marketplace-schema.d.ts.map +1 -0
- package/dist/format/marketplace/marketplace-schema.js +193 -0
- package/dist/format/marketplace/marketplace-schema.js.map +1 -0
- package/dist/format/marketplace/marketplace-source.d.ts +23 -0
- package/dist/format/marketplace/marketplace-source.d.ts.map +1 -0
- package/dist/format/marketplace/marketplace-source.js +200 -0
- package/dist/format/marketplace/marketplace-source.js.map +1 -0
- package/dist/format/marketplace/marketplace.d.ts +39 -0
- package/dist/format/marketplace/marketplace.d.ts.map +1 -0
- package/dist/format/marketplace/marketplace.js +138 -0
- package/dist/format/marketplace/marketplace.js.map +1 -0
- package/dist/format/marketplace/plugin-source-fields.d.ts +46 -0
- package/dist/format/marketplace/plugin-source-fields.d.ts.map +1 -0
- package/dist/format/marketplace/plugin-source-fields.js +63 -0
- package/dist/format/marketplace/plugin-source-fields.js.map +1 -0
- package/dist/format/marketplace/plugin-source-kinds.d.ts +23 -0
- package/dist/format/marketplace/plugin-source-kinds.d.ts.map +1 -0
- package/dist/format/marketplace/plugin-source-kinds.js +116 -0
- package/dist/format/marketplace/plugin-source-kinds.js.map +1 -0
- package/dist/format/marketplace/plugin-source.d.ts +5 -0
- package/dist/format/marketplace/plugin-source.d.ts.map +1 -0
- package/dist/format/marketplace/plugin-source.js +90 -0
- package/dist/format/marketplace/plugin-source.js.map +1 -0
- package/dist/format/marketplace/relevance.d.ts +18 -0
- package/dist/format/marketplace/relevance.d.ts.map +1 -0
- package/dist/format/marketplace/relevance.js +89 -0
- package/dist/format/marketplace/relevance.js.map +1 -0
- package/dist/format/marketplace/renames.d.ts +37 -0
- package/dist/format/marketplace/renames.d.ts.map +1 -0
- package/dist/format/marketplace/renames.js +44 -0
- package/dist/format/marketplace/renames.js.map +1 -0
- package/dist/format/marketplace/schema-issues.d.ts +5 -0
- package/dist/format/marketplace/schema-issues.d.ts.map +1 -0
- package/dist/format/marketplace/schema-issues.js +17 -0
- package/dist/format/marketplace/schema-issues.js.map +1 -0
- package/dist/format/marketplace/settings-source-plugins.d.ts +8 -0
- package/dist/format/marketplace/settings-source-plugins.d.ts.map +1 -0
- package/dist/format/marketplace/settings-source-plugins.js +85 -0
- package/dist/format/marketplace/settings-source-plugins.js.map +1 -0
- package/dist/format/marketplace/source-failures.d.ts +12 -0
- package/dist/format/marketplace/source-failures.d.ts.map +1 -0
- package/dist/format/marketplace/source-failures.js +12 -0
- package/dist/format/marketplace/source-failures.js.map +1 -0
- package/dist/format/marketplace/types.d.ts +215 -0
- package/dist/format/marketplace/types.d.ts.map +1 -0
- package/dist/format/marketplace/types.js +30 -0
- package/dist/format/marketplace/types.js.map +1 -0
- package/dist/format/mcp-add-json.d.ts +67 -0
- package/dist/format/mcp-add-json.d.ts.map +1 -0
- package/dist/format/mcp-add-json.js +153 -0
- package/dist/format/mcp-add-json.js.map +1 -0
- package/dist/format/mcp-add.d.ts +11 -0
- package/dist/format/mcp-add.d.ts.map +1 -0
- package/dist/format/mcp-add.js +213 -0
- package/dist/format/mcp-add.js.map +1 -0
- package/dist/format/mcp-bundles.d.ts +35 -0
- package/dist/format/mcp-bundles.d.ts.map +1 -0
- package/dist/format/mcp-bundles.js +82 -0
- package/dist/format/mcp-bundles.js.map +1 -0
- package/dist/format/mcp-config.d.ts +78 -0
- package/dist/format/mcp-config.d.ts.map +1 -0
- package/dist/format/mcp-config.js +149 -0
- package/dist/format/mcp-config.js.map +1 -0
- package/dist/format/mcp-contract.d.ts +20 -0
- package/dist/format/mcp-contract.d.ts.map +1 -0
- package/dist/format/mcp-contract.js +20 -0
- package/dist/format/mcp-contract.js.map +1 -0
- package/dist/format/mcp-elicitation-check.d.ts +4 -0
- package/dist/format/mcp-elicitation-check.d.ts.map +1 -0
- package/dist/format/mcp-elicitation-check.js +89 -0
- package/dist/format/mcp-elicitation-check.js.map +1 -0
- package/dist/format/mcp-elicitation-form.d.ts +48 -0
- package/dist/format/mcp-elicitation-form.d.ts.map +1 -0
- package/dist/format/mcp-elicitation-form.js +108 -0
- package/dist/format/mcp-elicitation-form.js.map +1 -0
- package/dist/format/mcp-elicitation.d.ts +74 -0
- package/dist/format/mcp-elicitation.d.ts.map +1 -0
- package/dist/format/mcp-elicitation.js +90 -0
- package/dist/format/mcp-elicitation.js.map +1 -0
- package/dist/format/mcp-endpoint.d.ts +4 -0
- package/dist/format/mcp-endpoint.d.ts.map +1 -0
- package/dist/format/mcp-endpoint.js +29 -0
- package/dist/format/mcp-endpoint.js.map +1 -0
- package/dist/format/mcp-env.d.ts +117 -0
- package/dist/format/mcp-env.d.ts.map +1 -0
- package/dist/format/mcp-env.js +175 -0
- package/dist/format/mcp-env.js.map +1 -0
- package/dist/format/mcp-knobs.d.ts +88 -0
- package/dist/format/mcp-knobs.d.ts.map +1 -0
- package/dist/format/mcp-knobs.js +171 -0
- package/dist/format/mcp-knobs.js.map +1 -0
- package/dist/format/mcp-oauth-schema.d.ts +8 -0
- package/dist/format/mcp-oauth-schema.d.ts.map +1 -0
- package/dist/format/mcp-oauth-schema.js +17 -0
- package/dist/format/mcp-oauth-schema.js.map +1 -0
- package/dist/format/mcp-oauth.d.ts +106 -0
- package/dist/format/mcp-oauth.d.ts.map +1 -0
- package/dist/format/mcp-oauth.js +146 -0
- package/dist/format/mcp-oauth.js.map +1 -0
- package/dist/format/mcp-output.d.ts +72 -0
- package/dist/format/mcp-output.d.ts.map +1 -0
- package/dist/format/mcp-output.js +140 -0
- package/dist/format/mcp-output.js.map +1 -0
- package/dist/format/mcp-plugin-display.d.ts +18 -0
- package/dist/format/mcp-plugin-display.d.ts.map +1 -0
- package/dist/format/mcp-plugin-display.js +35 -0
- package/dist/format/mcp-plugin-display.js.map +1 -0
- package/dist/format/mcp-prompts.d.ts +47 -0
- package/dist/format/mcp-prompts.d.ts.map +1 -0
- package/dist/format/mcp-prompts.js +45 -0
- package/dist/format/mcp-prompts.js.map +1 -0
- package/dist/format/mcp-reload.d.ts +41 -0
- package/dist/format/mcp-reload.d.ts.map +1 -0
- package/dist/format/mcp-reload.js +41 -0
- package/dist/format/mcp-reload.js.map +1 -0
- package/dist/format/mcp-reserved.d.ts +14 -0
- package/dist/format/mcp-reserved.d.ts.map +1 -0
- package/dist/format/mcp-reserved.js +36 -0
- package/dist/format/mcp-reserved.js.map +1 -0
- package/dist/format/mcp-schema-check.d.ts +6 -0
- package/dist/format/mcp-schema-check.d.ts.map +1 -0
- package/dist/format/mcp-schema-check.js +151 -0
- package/dist/format/mcp-schema-check.js.map +1 -0
- package/dist/format/mcp-sources.d.ts +40 -0
- package/dist/format/mcp-sources.d.ts.map +1 -0
- package/dist/format/mcp-sources.js +147 -0
- package/dist/format/mcp-sources.js.map +1 -0
- package/dist/format/mcp-startup.d.ts +110 -0
- package/dist/format/mcp-startup.d.ts.map +1 -0
- package/dist/format/mcp-startup.js +158 -0
- package/dist/format/mcp-startup.js.map +1 -0
- package/dist/format/mcp-tool-schema.d.ts +58 -0
- package/dist/format/mcp-tool-schema.d.ts.map +1 -0
- package/dist/format/mcp-tool-schema.js +179 -0
- package/dist/format/mcp-tool-schema.js.map +1 -0
- package/dist/format/mcp-tool.d.ts +79 -0
- package/dist/format/mcp-tool.d.ts.map +1 -0
- package/dist/format/mcp-tool.js +114 -0
- package/dist/format/mcp-tool.js.map +1 -0
- package/dist/format/mcpb-manifest.d.ts +69 -0
- package/dist/format/mcpb-manifest.d.ts.map +1 -0
- package/dist/format/mcpb-manifest.js +110 -0
- package/dist/format/mcpb-manifest.js.map +1 -0
- package/dist/format/memory-rule.d.ts +34 -0
- package/dist/format/memory-rule.d.ts.map +1 -0
- package/dist/format/memory-rule.js +22 -0
- package/dist/format/memory-rule.js.map +1 -0
- package/dist/format/messages.d.ts +31 -0
- package/dist/format/messages.d.ts.map +1 -0
- package/dist/format/messages.js +38 -0
- package/dist/format/messages.js.map +1 -0
- package/dist/format/mod-files.d.ts +27 -0
- package/dist/format/mod-files.d.ts.map +1 -0
- package/dist/format/mod-files.js +93 -0
- package/dist/format/mod-files.js.map +1 -0
- package/dist/format/model-id.d.ts +10 -0
- package/dist/format/model-id.d.ts.map +1 -0
- package/dist/format/model-id.js +14 -0
- package/dist/format/model-id.js.map +1 -0
- package/dist/format/monitor-schema.d.ts +30 -0
- package/dist/format/monitor-schema.d.ts.map +1 -0
- package/dist/format/monitor-schema.js +43 -0
- package/dist/format/monitor-schema.js.map +1 -0
- package/dist/format/monitors.d.ts +54 -0
- package/dist/format/monitors.d.ts.map +1 -0
- package/dist/format/monitors.js +69 -0
- package/dist/format/monitors.js.map +1 -0
- package/dist/format/names.d.ts +30 -0
- package/dist/format/names.d.ts.map +1 -0
- package/dist/format/names.js +95 -0
- package/dist/format/names.js.map +1 -0
- package/dist/format/output-style-command.d.ts +41 -0
- package/dist/format/output-style-command.d.ts.map +1 -0
- package/dist/format/output-style-command.js +28 -0
- package/dist/format/output-style-command.js.map +1 -0
- package/dist/format/output-style-select.d.ts +76 -0
- package/dist/format/output-style-select.d.ts.map +1 -0
- package/dist/format/output-style-select.js +117 -0
- package/dist/format/output-style-select.js.map +1 -0
- package/dist/format/output-style-system.d.ts +11 -0
- package/dist/format/output-style-system.d.ts.map +1 -0
- package/dist/format/output-style-system.js +13 -0
- package/dist/format/output-style-system.js.map +1 -0
- package/dist/format/output-style.d.ts +47 -0
- package/dist/format/output-style.d.ts.map +1 -0
- package/dist/format/output-style.js +78 -0
- package/dist/format/output-style.js.map +1 -0
- package/dist/format/path-escape.d.ts +43 -0
- package/dist/format/path-escape.d.ts.map +1 -0
- package/dist/format/path-escape.js +32 -0
- package/dist/format/path-escape.js.map +1 -0
- package/dist/format/path-text.d.ts +46 -0
- package/dist/format/path-text.d.ts.map +1 -0
- package/dist/format/path-text.js +84 -0
- package/dist/format/path-text.js.map +1 -0
- package/dist/format/permission-rule-shape.d.ts +20 -0
- package/dist/format/permission-rule-shape.d.ts.map +1 -0
- package/dist/format/permission-rule-shape.js +20 -0
- package/dist/format/permission-rule-shape.js.map +1 -0
- package/dist/format/plugin-settings.d.ts +24 -0
- package/dist/format/plugin-settings.d.ts.map +1 -0
- package/dist/format/plugin-settings.js +44 -0
- package/dist/format/plugin-settings.js.map +1 -0
- package/dist/format/read-json.d.ts +26 -0
- package/dist/format/read-json.d.ts.map +1 -0
- package/dist/format/read-json.js +37 -0
- package/dist/format/read-json.js.map +1 -0
- package/dist/format/remote-mcp-credentials.d.ts +12 -0
- package/dist/format/remote-mcp-credentials.d.ts.map +1 -0
- package/dist/format/remote-mcp-credentials.js +92 -0
- package/dist/format/remote-mcp-credentials.js.map +1 -0
- package/dist/format/settings-files.d.ts +16 -0
- package/dist/format/settings-files.d.ts.map +1 -0
- package/dist/format/settings-files.js +16 -0
- package/dist/format/settings-files.js.map +1 -0
- package/dist/format/skill-field-readers.d.ts +34 -0
- package/dist/format/skill-field-readers.d.ts.map +1 -0
- package/dist/format/skill-field-readers.js +70 -0
- package/dist/format/skill-field-readers.js.map +1 -0
- package/dist/format/skill-fields.d.ts +53 -0
- package/dist/format/skill-fields.d.ts.map +1 -0
- package/dist/format/skill-fields.js +136 -0
- package/dist/format/skill-fields.js.map +1 -0
- package/dist/format/skill-name.d.ts +41 -0
- package/dist/format/skill-name.d.ts.map +1 -0
- package/dist/format/skill-name.js +148 -0
- package/dist/format/skill-name.js.map +1 -0
- package/dist/format/skill-types.d.ts +196 -0
- package/dist/format/skill-types.d.ts.map +1 -0
- package/dist/format/skill-types.js +54 -0
- package/dist/format/skill-types.js.map +1 -0
- package/dist/format/skill.d.ts +19 -0
- package/dist/format/skill.d.ts.map +1 -0
- package/dist/format/skill.js +62 -0
- package/dist/format/skill.js.map +1 -0
- package/dist/format/strict-keys.d.ts +11 -0
- package/dist/format/strict-keys.d.ts.map +1 -0
- package/dist/format/strict-keys.js +19 -0
- package/dist/format/strict-keys.js.map +1 -0
- package/dist/format/theme-color.d.ts +17 -0
- package/dist/format/theme-color.d.ts.map +1 -0
- package/dist/format/theme-color.js +48 -0
- package/dist/format/theme-color.js.map +1 -0
- package/dist/format/theme-tokens.d.ts +13 -0
- package/dist/format/theme-tokens.d.ts.map +1 -0
- package/dist/format/theme-tokens.js +100 -0
- package/dist/format/theme-tokens.js.map +1 -0
- package/dist/format/theme-write.d.ts +14 -0
- package/dist/format/theme-write.d.ts.map +1 -0
- package/dist/format/theme-write.js +34 -0
- package/dist/format/theme-write.js.map +1 -0
- package/dist/format/theme.d.ts +60 -0
- package/dist/format/theme.d.ts.map +1 -0
- package/dist/format/theme.js +131 -0
- package/dist/format/theme.js.map +1 -0
- package/dist/format/token-estimate.d.ts +10 -0
- package/dist/format/token-estimate.d.ts.map +1 -0
- package/dist/format/token-estimate.js +10 -0
- package/dist/format/token-estimate.js.map +1 -0
- package/dist/format/user-config-options.d.ts +23 -0
- package/dist/format/user-config-options.d.ts.map +1 -0
- package/dist/format/user-config-options.js +79 -0
- package/dist/format/user-config-options.js.map +1 -0
- package/dist/format/user-config-refs.d.ts +21 -0
- package/dist/format/user-config-refs.d.ts.map +1 -0
- package/dist/format/user-config-refs.js +32 -0
- package/dist/format/user-config-refs.js.map +1 -0
- package/dist/format/utf8.d.ts +5 -0
- package/dist/format/utf8.d.ts.map +1 -0
- package/dist/format/utf8.js +20 -0
- package/dist/format/utf8.js.map +1 -0
- package/dist/format/validate/component-frontmatter.d.ts +13 -0
- package/dist/format/validate/component-frontmatter.d.ts.map +1 -0
- package/dist/format/validate/component-frontmatter.js +124 -0
- package/dist/format/validate/component-frontmatter.js.map +1 -0
- package/dist/format/validate/finding.d.ts +25 -0
- package/dist/format/validate/finding.d.ts.map +1 -0
- package/dist/format/validate/finding.js +30 -0
- package/dist/format/validate/finding.js.map +1 -0
- package/dist/format/validate/hook-handlers.d.ts +5 -0
- package/dist/format/validate/hook-handlers.d.ts.map +1 -0
- package/dist/format/validate/hook-handlers.js +78 -0
- package/dist/format/validate/hook-handlers.js.map +1 -0
- package/dist/format/validate/hooks-check.d.ts +13 -0
- package/dist/format/validate/hooks-check.d.ts.map +1 -0
- package/dist/format/validate/hooks-check.js +67 -0
- package/dist/format/validate/hooks-check.js.map +1 -0
- package/dist/format/validate/inline-sources.d.ts +10 -0
- package/dist/format/validate/inline-sources.d.ts.map +1 -0
- package/dist/format/validate/inline-sources.js +27 -0
- package/dist/format/validate/inline-sources.js.map +1 -0
- package/dist/format/validate/mcp-check.d.ts +9 -0
- package/dist/format/validate/mcp-check.d.ts.map +1 -0
- package/dist/format/validate/mcp-check.js +130 -0
- package/dist/format/validate/mcp-check.js.map +1 -0
- package/dist/format/validate/mcp-remote-checks.d.ts +4 -0
- package/dist/format/validate/mcp-remote-checks.d.ts.map +1 -0
- package/dist/format/validate/mcp-remote-checks.js +61 -0
- package/dist/format/validate/mcp-remote-checks.js.map +1 -0
- package/dist/format/validate/path-claims.d.ts +20 -0
- package/dist/format/validate/path-claims.d.ts.map +1 -0
- package/dist/format/validate/path-claims.js +59 -0
- package/dist/format/validate/path-claims.js.map +1 -0
- package/dist/format/validate/plugin-fields.d.ts +12 -0
- package/dist/format/validate/plugin-fields.d.ts.map +1 -0
- package/dist/format/validate/plugin-fields.js +121 -0
- package/dist/format/validate/plugin-fields.js.map +1 -0
- package/dist/format/validate/plugin-manifest.d.ts +32 -0
- package/dist/format/validate/plugin-manifest.d.ts.map +1 -0
- package/dist/format/validate/plugin-manifest.js +111 -0
- package/dist/format/validate/plugin-manifest.js.map +1 -0
- package/dist/format/validate/plugin-name.d.ts +15 -0
- package/dist/format/validate/plugin-name.d.ts.map +1 -0
- package/dist/format/validate/plugin-name.js +34 -0
- package/dist/format/validate/plugin-name.js.map +1 -0
- package/dist/format/validate/plugin-paths.d.ts +93 -0
- package/dist/format/validate/plugin-paths.d.ts.map +1 -0
- package/dist/format/validate/plugin-paths.js +83 -0
- package/dist/format/validate/plugin-paths.js.map +1 -0
- package/dist/format/validate/received.d.ts +9 -0
- package/dist/format/validate/received.d.ts.map +1 -0
- package/dist/format/validate/received.js +20 -0
- package/dist/format/validate/received.js.map +1 -0
- package/dist/format/validate/shell-command.d.ts +3 -0
- package/dist/format/validate/shell-command.d.ts.map +1 -0
- package/dist/format/validate/shell-command.js +44 -0
- package/dist/format/validate/shell-command.js.map +1 -0
- package/dist/format/validate/unknown-fields.d.ts +7 -0
- package/dist/format/validate/unknown-fields.d.ts.map +1 -0
- package/dist/format/validate/unknown-fields.js +102 -0
- package/dist/format/validate/unknown-fields.js.map +1 -0
- package/dist/format/validate/zod-findings.d.ts +7 -0
- package/dist/format/validate/zod-findings.d.ts.map +1 -0
- package/dist/format/validate/zod-findings.js +10 -0
- package/dist/format/validate/zod-findings.js.map +1 -0
- package/dist/format/versions.d.ts +5 -0
- package/dist/format/versions.d.ts.map +1 -0
- package/dist/format/versions.js +23 -0
- package/dist/format/versions.js.map +1 -0
- package/dist/format/wildcard.d.ts +16 -0
- package/dist/format/wildcard.d.ts.map +1 -0
- package/dist/format/wildcard.js +33 -0
- package/dist/format/wildcard.js.map +1 -0
- package/dist/format/workflow-meta-rewrite.d.ts +24 -0
- package/dist/format/workflow-meta-rewrite.d.ts.map +1 -0
- package/dist/format/workflow-meta-rewrite.js +101 -0
- package/dist/format/workflow-meta-rewrite.js.map +1 -0
- package/dist/format/workflow-meta.d.ts +57 -0
- package/dist/format/workflow-meta.d.ts.map +1 -0
- package/dist/format/workflow-meta.js +139 -0
- package/dist/format/workflow-meta.js.map +1 -0
- package/dist/format/workflow-script.d.ts +33 -0
- package/dist/format/workflow-script.d.ts.map +1 -0
- package/dist/format/workflow-script.js +136 -0
- package/dist/format/workflow-script.js.map +1 -0
- package/dist/foundation/budget.d.ts +30 -0
- package/dist/foundation/budget.d.ts.map +1 -0
- package/dist/foundation/budget.js +82 -0
- package/dist/foundation/budget.js.map +1 -0
- package/dist/foundation/folder-read.d.ts +16 -0
- package/dist/foundation/folder-read.d.ts.map +1 -0
- package/dist/foundation/folder-read.js +16 -0
- package/dist/foundation/folder-read.js.map +1 -0
- package/dist/foundation/folder-walk.d.ts +38 -0
- package/dist/foundation/folder-walk.d.ts.map +1 -0
- package/dist/foundation/folder-walk.js +77 -0
- package/dist/foundation/folder-walk.js.map +1 -0
- package/dist/foundation/freeze.d.ts +19 -0
- package/dist/foundation/freeze.d.ts.map +1 -0
- package/dist/foundation/freeze.js +67 -0
- package/dist/foundation/freeze.js.map +1 -0
- package/dist/foundation/index.d.ts +8 -0
- package/dist/foundation/index.d.ts.map +1 -0
- package/dist/foundation/index.js +8 -0
- package/dist/foundation/index.js.map +1 -0
- package/dist/foundation/json-size.d.ts +5 -0
- package/dist/foundation/json-size.d.ts.map +1 -0
- package/dist/foundation/json-size.js +21 -0
- package/dist/foundation/json-size.js.map +1 -0
- package/dist/foundation/json-value.d.ts +8 -0
- package/dist/foundation/json-value.d.ts.map +1 -0
- package/dist/foundation/json-value.js +17 -0
- package/dist/foundation/json-value.js.map +1 -0
- package/dist/foundation/plain-data.d.ts +37 -0
- package/dist/foundation/plain-data.d.ts.map +1 -0
- package/dist/foundation/plain-data.js +73 -0
- package/dist/foundation/plain-data.js.map +1 -0
- package/dist/foundation/project-directories.d.ts +11 -0
- package/dist/foundation/project-directories.d.ts.map +1 -0
- package/dist/foundation/project-directories.js +18 -0
- package/dist/foundation/project-directories.js.map +1 -0
- package/dist/foundation/run-each.d.ts +7 -0
- package/dist/foundation/run-each.d.ts.map +1 -0
- package/dist/foundation/run-each.js +22 -0
- package/dist/foundation/run-each.js.map +1 -0
- package/dist/foundation/scope-folders.d.ts +105 -0
- package/dist/foundation/scope-folders.d.ts.map +1 -0
- package/dist/foundation/scope-folders.js +88 -0
- package/dist/foundation/scope-folders.js.map +1 -0
- package/dist/hooks/assemble.d.ts +13 -0
- package/dist/hooks/assemble.d.ts.map +1 -0
- package/dist/hooks/assemble.js +101 -0
- package/dist/hooks/assemble.js.map +1 -0
- package/dist/hooks/contracts.d.ts +137 -0
- package/dist/hooks/contracts.d.ts.map +1 -0
- package/dist/hooks/contracts.js +2 -0
- package/dist/hooks/contracts.js.map +1 -0
- package/dist/hooks/core/combine.d.ts +21 -0
- package/dist/hooks/core/combine.d.ts.map +1 -0
- package/dist/hooks/core/combine.js +146 -0
- package/dist/hooks/core/combine.js.map +1 -0
- package/dist/hooks/core/input.d.ts +22 -0
- package/dist/hooks/core/input.d.ts.map +1 -0
- package/dist/hooks/core/input.js +102 -0
- package/dist/hooks/core/input.js.map +1 -0
- package/dist/hooks/core/output.d.ts +11 -0
- package/dist/hooks/core/output.d.ts.map +1 -0
- package/dist/hooks/core/output.js +80 -0
- package/dist/hooks/core/output.js.map +1 -0
- package/dist/hooks/core/profile-results.d.ts +20 -0
- package/dist/hooks/core/profile-results.d.ts.map +1 -0
- package/dist/hooks/core/profile-results.js +116 -0
- package/dist/hooks/core/profile-results.js.map +1 -0
- package/dist/hooks/core/profiles.d.ts +16 -0
- package/dist/hooks/core/profiles.d.ts.map +1 -0
- package/dist/hooks/core/profiles.js +73 -0
- package/dist/hooks/core/profiles.js.map +1 -0
- package/dist/hooks/core/run.d.ts +16 -0
- package/dist/hooks/core/run.d.ts.map +1 -0
- package/dist/hooks/core/run.js +45 -0
- package/dist/hooks/core/run.js.map +1 -0
- package/dist/hooks/core/types.d.ts +64 -0
- package/dist/hooks/core/types.d.ts.map +1 -0
- package/dist/hooks/core/types.js +2 -0
- package/dist/hooks/core/types.js.map +1 -0
- package/dist/hooks/dispatch.d.ts +55 -0
- package/dist/hooks/dispatch.d.ts.map +1 -0
- package/dist/hooks/dispatch.js +104 -0
- package/dist/hooks/dispatch.js.map +1 -0
- package/dist/hooks/engine.d.ts +72 -0
- package/dist/hooks/engine.d.ts.map +1 -0
- package/dist/hooks/engine.js +55 -0
- package/dist/hooks/engine.js.map +1 -0
- package/dist/hooks/env-file/events.d.ts +8 -0
- package/dist/hooks/env-file/events.d.ts.map +1 -0
- package/dist/hooks/env-file/events.js +26 -0
- package/dist/hooks/env-file/events.js.map +1 -0
- package/dist/hooks/env-file/files.d.ts +41 -0
- package/dist/hooks/env-file/files.d.ts.map +1 -0
- package/dist/hooks/env-file/files.js +33 -0
- package/dist/hooks/env-file/files.js.map +1 -0
- package/dist/hooks/env-file/index.d.ts +6 -0
- package/dist/hooks/env-file/index.d.ts.map +1 -0
- package/dist/hooks/env-file/index.js +6 -0
- package/dist/hooks/env-file/index.js.map +1 -0
- package/dist/hooks/env-file/ports.d.ts +27 -0
- package/dist/hooks/env-file/ports.d.ts.map +1 -0
- package/dist/hooks/env-file/ports.js +15 -0
- package/dist/hooks/env-file/ports.js.map +1 -0
- package/dist/hooks/env-file/powershell-reader.d.ts +37 -0
- package/dist/hooks/env-file/powershell-reader.d.ts.map +1 -0
- package/dist/hooks/env-file/powershell-reader.js +88 -0
- package/dist/hooks/env-file/powershell-reader.js.map +1 -0
- package/dist/hooks/handlers/command/async.d.ts +46 -0
- package/dist/hooks/handlers/command/async.d.ts.map +1 -0
- package/dist/hooks/handlers/command/async.js +54 -0
- package/dist/hooks/handlers/command/async.js.map +1 -0
- package/dist/hooks/handlers/command/cwd-fallback.d.ts +15 -0
- package/dist/hooks/handlers/command/cwd-fallback.d.ts.map +1 -0
- package/dist/hooks/handlers/command/cwd-fallback.js +23 -0
- package/dist/hooks/handlers/command/cwd-fallback.js.map +1 -0
- package/dist/hooks/handlers/command/env.d.ts +7 -0
- package/dist/hooks/handlers/command/env.d.ts.map +1 -0
- package/dist/hooks/handlers/command/env.js +50 -0
- package/dist/hooks/handlers/command/env.js.map +1 -0
- package/dist/hooks/handlers/command/plan.d.ts +23 -0
- package/dist/hooks/handlers/command/plan.d.ts.map +1 -0
- package/dist/hooks/handlers/command/plan.js +53 -0
- package/dist/hooks/handlers/command/plan.js.map +1 -0
- package/dist/hooks/handlers/command/run-command.d.ts +3 -0
- package/dist/hooks/handlers/command/run-command.d.ts.map +1 -0
- package/dist/hooks/handlers/command/run-command.js +73 -0
- package/dist/hooks/handlers/command/run-command.js.map +1 -0
- package/dist/hooks/handlers/command/shell.d.ts +9 -0
- package/dist/hooks/handlers/command/shell.d.ts.map +1 -0
- package/dist/hooks/handlers/command/shell.js +7 -0
- package/dist/hooks/handlers/command/shell.js.map +1 -0
- package/dist/hooks/handlers/command/subprocess-env.d.ts +48 -0
- package/dist/hooks/handlers/command/subprocess-env.d.ts.map +1 -0
- package/dist/hooks/handlers/command/subprocess-env.js +81 -0
- package/dist/hooks/handlers/command/subprocess-env.js.map +1 -0
- package/dist/hooks/handlers/context.d.ts +143 -0
- package/dist/hooks/handlers/context.d.ts.map +1 -0
- package/dist/hooks/handlers/context.js +2 -0
- package/dist/hooks/handlers/context.js.map +1 -0
- package/dist/hooks/handlers/index.d.ts +14 -0
- package/dist/hooks/handlers/index.d.ts.map +1 -0
- package/dist/hooks/handlers/index.js +7 -0
- package/dist/hooks/handlers/index.js.map +1 -0
- package/dist/hooks/handlers/registry.d.ts +12 -0
- package/dist/hooks/handlers/registry.d.ts.map +1 -0
- package/dist/hooks/handlers/registry.js +34 -0
- package/dist/hooks/handlers/registry.js.map +1 -0
- package/dist/hooks/handlers/remote/agent.d.ts +11 -0
- package/dist/hooks/handlers/remote/agent.d.ts.map +1 -0
- package/dist/hooks/handlers/remote/agent.js +25 -0
- package/dist/hooks/handlers/remote/agent.js.map +1 -0
- package/dist/hooks/handlers/remote/concurrency.d.ts +19 -0
- package/dist/hooks/handlers/remote/concurrency.d.ts.map +1 -0
- package/dist/hooks/handlers/remote/concurrency.js +48 -0
- package/dist/hooks/handlers/remote/concurrency.js.map +1 -0
- package/dist/hooks/handlers/remote/failure-run.d.ts +19 -0
- package/dist/hooks/handlers/remote/failure-run.d.ts.map +1 -0
- package/dist/hooks/handlers/remote/failure-run.js +26 -0
- package/dist/hooks/handlers/remote/failure-run.js.map +1 -0
- package/dist/hooks/handlers/remote/http-env.d.ts +4 -0
- package/dist/hooks/handlers/remote/http-env.d.ts.map +1 -0
- package/dist/hooks/handlers/remote/http-env.js +29 -0
- package/dist/hooks/handlers/remote/http-env.js.map +1 -0
- package/dist/hooks/handlers/remote/http-policy.d.ts +27 -0
- package/dist/hooks/handlers/remote/http-policy.d.ts.map +1 -0
- package/dist/hooks/handlers/remote/http-policy.js +37 -0
- package/dist/hooks/handlers/remote/http-policy.js.map +1 -0
- package/dist/hooks/handlers/remote/http.d.ts +3 -0
- package/dist/hooks/handlers/remote/http.d.ts.map +1 -0
- package/dist/hooks/handlers/remote/http.js +42 -0
- package/dist/hooks/handlers/remote/http.js.map +1 -0
- package/dist/hooks/handlers/remote/mcp-input.d.ts +9 -0
- package/dist/hooks/handlers/remote/mcp-input.d.ts.map +1 -0
- package/dist/hooks/handlers/remote/mcp-input.js +61 -0
- package/dist/hooks/handlers/remote/mcp-input.js.map +1 -0
- package/dist/hooks/handlers/remote/mcp-tool.d.ts +25 -0
- package/dist/hooks/handlers/remote/mcp-tool.d.ts.map +1 -0
- package/dist/hooks/handlers/remote/mcp-tool.js +123 -0
- package/dist/hooks/handlers/remote/mcp-tool.js.map +1 -0
- package/dist/hooks/handlers/remote/model-run.d.ts +14 -0
- package/dist/hooks/handlers/remote/model-run.d.ts.map +1 -0
- package/dist/hooks/handlers/remote/model-run.js +27 -0
- package/dist/hooks/handlers/remote/model-run.js.map +1 -0
- package/dist/hooks/handlers/remote/ok-false.d.ts +63 -0
- package/dist/hooks/handlers/remote/ok-false.d.ts.map +1 -0
- package/dist/hooks/handlers/remote/ok-false.js +43 -0
- package/dist/hooks/handlers/remote/ok-false.js.map +1 -0
- package/dist/hooks/handlers/remote/prompt-response.d.ts +23 -0
- package/dist/hooks/handlers/remote/prompt-response.d.ts.map +1 -0
- package/dist/hooks/handlers/remote/prompt-response.js +60 -0
- package/dist/hooks/handlers/remote/prompt-response.js.map +1 -0
- package/dist/hooks/handlers/remote/prompt-text.d.ts +13 -0
- package/dist/hooks/handlers/remote/prompt-text.d.ts.map +1 -0
- package/dist/hooks/handlers/remote/prompt-text.js +23 -0
- package/dist/hooks/handlers/remote/prompt-text.js.map +1 -0
- package/dist/hooks/handlers/remote/prompt.d.ts +8 -0
- package/dist/hooks/handlers/remote/prompt.d.ts.map +1 -0
- package/dist/hooks/handlers/remote/prompt.js +17 -0
- package/dist/hooks/handlers/remote/prompt.js.map +1 -0
- package/dist/hooks/handlers/remote/types.d.ts +39 -0
- package/dist/hooks/handlers/remote/types.d.ts.map +1 -0
- package/dist/hooks/handlers/remote/types.js +9 -0
- package/dist/hooks/handlers/remote/types.js.map +1 -0
- package/dist/hooks/handlers/status.d.ts +25 -0
- package/dist/hooks/handlers/status.d.ts.map +1 -0
- package/dist/hooks/handlers/status.js +22 -0
- package/dist/hooks/handlers/status.js.map +1 -0
- package/dist/hooks/handlers/timeouts.d.ts +22 -0
- package/dist/hooks/handlers/timeouts.d.ts.map +1 -0
- package/dist/hooks/handlers/timeouts.js +101 -0
- package/dist/hooks/handlers/timeouts.js.map +1 -0
- package/dist/hooks/index.d.ts +16 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +11 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/input/background-tasks.d.ts +19 -0
- package/dist/hooks/input/background-tasks.d.ts.map +1 -0
- package/dist/hooks/input/background-tasks.js +51 -0
- package/dist/hooks/input/background-tasks.js.map +1 -0
- package/dist/hooks/input/build.d.ts +24 -0
- package/dist/hooks/input/build.d.ts.map +1 -0
- package/dist/hooks/input/build.js +46 -0
- package/dist/hooks/input/build.js.map +1 -0
- package/dist/hooks/input/common.d.ts +23 -0
- package/dist/hooks/input/common.d.ts.map +1 -0
- package/dist/hooks/input/common.js +124 -0
- package/dist/hooks/input/common.js.map +1 -0
- package/dist/hooks/input/conditional-fields.d.ts +16 -0
- package/dist/hooks/input/conditional-fields.d.ts.map +1 -0
- package/dist/hooks/input/conditional-fields.js +72 -0
- package/dist/hooks/input/conditional-fields.js.map +1 -0
- package/dist/hooks/input/fact-read.d.ts +9 -0
- package/dist/hooks/input/fact-read.d.ts.map +1 -0
- package/dist/hooks/input/fact-read.js +12 -0
- package/dist/hooks/input/fact-read.js.map +1 -0
- package/dist/hooks/input/facts-agents.d.ts +88 -0
- package/dist/hooks/input/facts-agents.d.ts.map +1 -0
- package/dist/hooks/input/facts-agents.js +81 -0
- package/dist/hooks/input/facts-agents.js.map +1 -0
- package/dist/hooks/input/facts-misc.d.ts +86 -0
- package/dist/hooks/input/facts-misc.d.ts.map +1 -0
- package/dist/hooks/input/facts-misc.js +71 -0
- package/dist/hooks/input/facts-misc.js.map +1 -0
- package/dist/hooks/input/facts-model.d.ts +48 -0
- package/dist/hooks/input/facts-model.d.ts.map +1 -0
- package/dist/hooks/input/facts-model.js +26 -0
- package/dist/hooks/input/facts-model.js.map +1 -0
- package/dist/hooks/input/facts-session.d.ts +80 -0
- package/dist/hooks/input/facts-session.d.ts.map +1 -0
- package/dist/hooks/input/facts-session.js +52 -0
- package/dist/hooks/input/facts-session.js.map +1 -0
- package/dist/hooks/input/facts-shared.d.ts +21 -0
- package/dist/hooks/input/facts-shared.d.ts.map +1 -0
- package/dist/hooks/input/facts-shared.js +20 -0
- package/dist/hooks/input/facts-shared.js.map +1 -0
- package/dist/hooks/input/facts-tools.d.ts +62 -0
- package/dist/hooks/input/facts-tools.d.ts.map +1 -0
- package/dist/hooks/input/facts-tools.js +60 -0
- package/dist/hooks/input/facts-tools.js.map +1 -0
- package/dist/hooks/input/facts.d.ts +368 -0
- package/dist/hooks/input/facts.d.ts.map +1 -0
- package/dist/hooks/input/facts.js +49 -0
- package/dist/hooks/input/facts.js.map +1 -0
- package/dist/hooks/input/index.d.ts +5 -0
- package/dist/hooks/input/index.d.ts.map +1 -0
- package/dist/hooks/input/index.js +3 -0
- package/dist/hooks/input/index.js.map +1 -0
- package/dist/hooks/input/permission-mode.d.ts +10 -0
- package/dist/hooks/input/permission-mode.d.ts.map +1 -0
- package/dist/hooks/input/permission-mode.js +12 -0
- package/dist/hooks/input/permission-mode.js.map +1 -0
- package/dist/hooks/interrupt.d.ts +42 -0
- package/dist/hooks/interrupt.d.ts.map +1 -0
- package/dist/hooks/interrupt.js +54 -0
- package/dist/hooks/interrupt.js.map +1 -0
- package/dist/hooks/outcome.d.ts +62 -0
- package/dist/hooks/outcome.d.ts.map +1 -0
- package/dist/hooks/outcome.js +2 -0
- package/dist/hooks/outcome.js.map +1 -0
- package/dist/hooks/output/background.d.ts +22 -0
- package/dist/hooks/output/background.d.ts.map +1 -0
- package/dist/hooks/output/background.js +19 -0
- package/dist/hooks/output/background.js.map +1 -0
- package/dist/hooks/output/caps.d.ts +30 -0
- package/dist/hooks/output/caps.d.ts.map +1 -0
- package/dist/hooks/output/caps.js +78 -0
- package/dist/hooks/output/caps.js.map +1 -0
- package/dist/hooks/output/classifier-note.d.ts +31 -0
- package/dist/hooks/output/classifier-note.d.ts.map +1 -0
- package/dist/hooks/output/classifier-note.js +62 -0
- package/dist/hooks/output/classifier-note.js.map +1 -0
- package/dist/hooks/output/defer.d.ts +33 -0
- package/dist/hooks/output/defer.d.ts.map +1 -0
- package/dist/hooks/output/defer.js +21 -0
- package/dist/hooks/output/defer.js.map +1 -0
- package/dist/hooks/output/effects.d.ts +75 -0
- package/dist/hooks/output/effects.d.ts.map +1 -0
- package/dist/hooks/output/effects.js +2 -0
- package/dist/hooks/output/effects.js.map +1 -0
- package/dist/hooks/output/fields.d.ts +11 -0
- package/dist/hooks/output/fields.d.ts.map +1 -0
- package/dist/hooks/output/fields.js +30 -0
- package/dist/hooks/output/fields.js.map +1 -0
- package/dist/hooks/output/finalize.d.ts +5 -0
- package/dist/hooks/output/finalize.d.ts.map +1 -0
- package/dist/hooks/output/finalize.js +42 -0
- package/dist/hooks/output/finalize.js.map +1 -0
- package/dist/hooks/output/index.d.ts +25 -0
- package/dist/hooks/output/index.d.ts.map +1 -0
- package/dist/hooks/output/index.js +17 -0
- package/dist/hooks/output/index.js.map +1 -0
- package/dist/hooks/output/limit.d.ts +22 -0
- package/dist/hooks/output/limit.d.ts.map +1 -0
- package/dist/hooks/output/limit.js +88 -0
- package/dist/hooks/output/limit.js.map +1 -0
- package/dist/hooks/output/merge-gates.d.ts +10 -0
- package/dist/hooks/output/merge-gates.d.ts.map +1 -0
- package/dist/hooks/output/merge-gates.js +126 -0
- package/dist/hooks/output/merge-gates.js.map +1 -0
- package/dist/hooks/output/merge-rules.d.ts +41 -0
- package/dist/hooks/output/merge-rules.d.ts.map +1 -0
- package/dist/hooks/output/merge-rules.js +5 -0
- package/dist/hooks/output/merge-rules.js.map +1 -0
- package/dist/hooks/output/merge-simple.d.ts +45 -0
- package/dist/hooks/output/merge-simple.d.ts.map +1 -0
- package/dist/hooks/output/merge-simple.js +217 -0
- package/dist/hooks/output/merge-simple.js.map +1 -0
- package/dist/hooks/output/merge.d.ts +5 -0
- package/dist/hooks/output/merge.d.ts.map +1 -0
- package/dist/hooks/output/merge.js +160 -0
- package/dist/hooks/output/merge.js.map +1 -0
- package/dist/hooks/output/messages.d.ts +10 -0
- package/dist/hooks/output/messages.d.ts.map +1 -0
- package/dist/hooks/output/messages.js +21 -0
- package/dist/hooks/output/messages.js.map +1 -0
- package/dist/hooks/output/parse.d.ts +20 -0
- package/dist/hooks/output/parse.d.ts.map +1 -0
- package/dist/hooks/output/parse.js +54 -0
- package/dist/hooks/output/parse.js.map +1 -0
- package/dist/hooks/output/permission-request-outcome.d.ts +13 -0
- package/dist/hooks/output/permission-request-outcome.d.ts.map +1 -0
- package/dist/hooks/output/permission-request-outcome.js +30 -0
- package/dist/hooks/output/permission-request-outcome.js.map +1 -0
- package/dist/hooks/output/permission-update.d.ts +96 -0
- package/dist/hooks/output/permission-update.d.ts.map +1 -0
- package/dist/hooks/output/permission-update.js +62 -0
- package/dist/hooks/output/permission-update.js.map +1 -0
- package/dist/hooks/output/pre-tool-use-outcome.d.ts +10 -0
- package/dist/hooks/output/pre-tool-use-outcome.d.ts.map +1 -0
- package/dist/hooks/output/pre-tool-use-outcome.js +15 -0
- package/dist/hooks/output/pre-tool-use-outcome.js.map +1 -0
- package/dist/hooks/output/reminder-tags.d.ts +2 -0
- package/dist/hooks/output/reminder-tags.d.ts.map +1 -0
- package/dist/hooks/output/reminder-tags.js +8 -0
- package/dist/hooks/output/reminder-tags.js.map +1 -0
- package/dist/hooks/output/schemas-common.d.ts +21 -0
- package/dist/hooks/output/schemas-common.d.ts.map +1 -0
- package/dist/hooks/output/schemas-common.js +31 -0
- package/dist/hooks/output/schemas-common.js.map +1 -0
- package/dist/hooks/output/schemas-elicitation.d.ts +20 -0
- package/dist/hooks/output/schemas-elicitation.d.ts.map +1 -0
- package/dist/hooks/output/schemas-elicitation.js +19 -0
- package/dist/hooks/output/schemas-elicitation.js.map +1 -0
- package/dist/hooks/output/schemas-misc.d.ts +31 -0
- package/dist/hooks/output/schemas-misc.d.ts.map +1 -0
- package/dist/hooks/output/schemas-misc.js +34 -0
- package/dist/hooks/output/schemas-misc.js.map +1 -0
- package/dist/hooks/output/schemas-session.d.ts +45 -0
- package/dist/hooks/output/schemas-session.d.ts.map +1 -0
- package/dist/hooks/output/schemas-session.js +55 -0
- package/dist/hooks/output/schemas-session.js.map +1 -0
- package/dist/hooks/output/schemas-tool.d.ts +129 -0
- package/dist/hooks/output/schemas-tool.d.ts.map +1 -0
- package/dist/hooks/output/schemas-tool.js +51 -0
- package/dist/hooks/output/schemas-tool.js.map +1 -0
- package/dist/hooks/output/schemas.d.ts +32 -0
- package/dist/hooks/output/schemas.d.ts.map +1 -0
- package/dist/hooks/output/schemas.js +60 -0
- package/dist/hooks/output/schemas.js.map +1 -0
- package/dist/hooks/output/stage.d.ts +9 -0
- package/dist/hooks/output/stage.d.ts.map +1 -0
- package/dist/hooks/output/stage.js +15 -0
- package/dist/hooks/output/stage.js.map +1 -0
- package/dist/hooks/output/terminal-sequence.d.ts +10 -0
- package/dist/hooks/output/terminal-sequence.d.ts.map +1 -0
- package/dist/hooks/output/terminal-sequence.js +61 -0
- package/dist/hooks/output/terminal-sequence.js.map +1 -0
- package/dist/hooks/output/text-cap.d.ts +24 -0
- package/dist/hooks/output/text-cap.d.ts.map +1 -0
- package/dist/hooks/output/text-cap.js +55 -0
- package/dist/hooks/output/text-cap.js.map +1 -0
- package/dist/hooks/output/tool-output.d.ts +22 -0
- package/dist/hooks/output/tool-output.d.ts.map +1 -0
- package/dist/hooks/output/tool-output.js +24 -0
- package/dist/hooks/output/tool-output.js.map +1 -0
- package/dist/hooks/output/tool-shape.d.ts +27 -0
- package/dist/hooks/output/tool-shape.d.ts.map +1 -0
- package/dist/hooks/output/tool-shape.js +74 -0
- package/dist/hooks/output/tool-shape.js.map +1 -0
- package/dist/hooks/output/tool-shapes/index.d.ts +4 -0
- package/dist/hooks/output/tool-shapes/index.d.ts.map +1 -0
- package/dist/hooks/output/tool-shapes/index.js +18 -0
- package/dist/hooks/output/tool-shapes/index.js.map +1 -0
- package/dist/hooks/output/tool-shapes/shapes-0.d.ts +3 -0
- package/dist/hooks/output/tool-shapes/shapes-0.d.ts.map +1 -0
- package/dist/hooks/output/tool-shapes/shapes-0.js +211 -0
- package/dist/hooks/output/tool-shapes/shapes-0.js.map +1 -0
- package/dist/hooks/output/tool-shapes/shapes-1.d.ts +3 -0
- package/dist/hooks/output/tool-shapes/shapes-1.d.ts.map +1 -0
- package/dist/hooks/output/tool-shapes/shapes-1.js +249 -0
- package/dist/hooks/output/tool-shapes/shapes-1.js.map +1 -0
- package/dist/hooks/output/tool-shapes/shapes-2.d.ts +3 -0
- package/dist/hooks/output/tool-shapes/shapes-2.d.ts.map +1 -0
- package/dist/hooks/output/tool-shapes/shapes-2.js +170 -0
- package/dist/hooks/output/tool-shapes/shapes-2.js.map +1 -0
- package/dist/hooks/output/tool-shapes/shapes-3.d.ts +3 -0
- package/dist/hooks/output/tool-shapes/shapes-3.d.ts.map +1 -0
- package/dist/hooks/output/tool-shapes/shapes-3.js +177 -0
- package/dist/hooks/output/tool-shapes/shapes-3.js.map +1 -0
- package/dist/hooks/output/tool-shapes/shapes-4.d.ts +3 -0
- package/dist/hooks/output/tool-shapes/shapes-4.d.ts.map +1 -0
- package/dist/hooks/output/tool-shapes/shapes-4.js +228 -0
- package/dist/hooks/output/tool-shapes/shapes-4.js.map +1 -0
- package/dist/hooks/output/tool-shapes/shapes-5.d.ts +3 -0
- package/dist/hooks/output/tool-shapes/shapes-5.d.ts.map +1 -0
- package/dist/hooks/output/tool-shapes/shapes-5.js +103 -0
- package/dist/hooks/output/tool-shapes/shapes-5.js.map +1 -0
- package/dist/hooks/output/watch-paths.d.ts +10 -0
- package/dist/hooks/output/watch-paths.d.ts.map +1 -0
- package/dist/hooks/output/watch-paths.js +17 -0
- package/dist/hooks/output/watch-paths.js.map +1 -0
- package/dist/hooks/output/worktree-path.d.ts +58 -0
- package/dist/hooks/output/worktree-path.d.ts.map +1 -0
- package/dist/hooks/output/worktree-path.js +146 -0
- package/dist/hooks/output/worktree-path.js.map +1 -0
- package/dist/hooks/register.d.ts +19 -0
- package/dist/hooks/register.d.ts.map +1 -0
- package/dist/hooks/register.js +25 -0
- package/dist/hooks/register.js.map +1 -0
- package/dist/hooks/registry.d.ts +4 -0
- package/dist/hooks/registry.d.ts.map +1 -0
- package/dist/hooks/registry.js +15 -0
- package/dist/hooks/registry.js.map +1 -0
- package/dist/hooks/run-all.d.ts +21 -0
- package/dist/hooks/run-all.d.ts.map +1 -0
- package/dist/hooks/run-all.js +131 -0
- package/dist/hooks/run-all.js.map +1 -0
- package/dist/hooks/run-facts.d.ts +15 -0
- package/dist/hooks/run-facts.d.ts.map +1 -0
- package/dist/hooks/run-facts.js +57 -0
- package/dist/hooks/run-facts.js.map +1 -0
- package/dist/hooks/select/dedupe.d.ts +4 -0
- package/dist/hooks/select/dedupe.d.ts.map +1 -0
- package/dist/hooks/select/dedupe.js +18 -0
- package/dist/hooks/select/dedupe.js.map +1 -0
- package/dist/hooks/select/event-catalog.d.ts +31 -0
- package/dist/hooks/select/event-catalog.d.ts.map +1 -0
- package/dist/hooks/select/event-catalog.js +55 -0
- package/dist/hooks/select/event-catalog.js.map +1 -0
- package/dist/hooks/select/gates.d.ts +4 -0
- package/dist/hooks/select/gates.d.ts.map +1 -0
- package/dist/hooks/select/gates.js +42 -0
- package/dist/hooks/select/gates.js.map +1 -0
- package/dist/hooks/select/if-guard.d.ts +27 -0
- package/dist/hooks/select/if-guard.d.ts.map +1 -0
- package/dist/hooks/select/if-guard.js +51 -0
- package/dist/hooks/select/if-guard.js.map +1 -0
- package/dist/hooks/select/index.d.ts +14 -0
- package/dist/hooks/select/index.d.ts.map +1 -0
- package/dist/hooks/select/index.js +9 -0
- package/dist/hooks/select/index.js.map +1 -0
- package/dist/hooks/select/lock-gates.d.ts +9 -0
- package/dist/hooks/select/lock-gates.d.ts.map +1 -0
- package/dist/hooks/select/lock-gates.js +54 -0
- package/dist/hooks/select/lock-gates.js.map +1 -0
- package/dist/hooks/select/matcher-targets.d.ts +38 -0
- package/dist/hooks/select/matcher-targets.d.ts.map +1 -0
- package/dist/hooks/select/matcher-targets.js +80 -0
- package/dist/hooks/select/matcher-targets.js.map +1 -0
- package/dist/hooks/select/matcher-values.d.ts +53 -0
- package/dist/hooks/select/matcher-values.d.ts.map +1 -0
- package/dist/hooks/select/matcher-values.js +74 -0
- package/dist/hooks/select/matcher-values.js.map +1 -0
- package/dist/hooks/select/matcher.d.ts +14 -0
- package/dist/hooks/select/matcher.d.ts.map +1 -0
- package/dist/hooks/select/matcher.js +19 -0
- package/dist/hooks/select/matcher.js.map +1 -0
- package/dist/hooks/select/mcp-client.d.ts +8 -0
- package/dist/hooks/select/mcp-client.d.ts.map +1 -0
- package/dist/hooks/select/mcp-client.js +19 -0
- package/dist/hooks/select/mcp-client.js.map +1 -0
- package/dist/hooks/select/mcp-tools.d.ts +13 -0
- package/dist/hooks/select/mcp-tools.d.ts.map +1 -0
- package/dist/hooks/select/mcp-tools.js +70 -0
- package/dist/hooks/select/mcp-tools.js.map +1 -0
- package/dist/hooks/select/model-switch.d.ts +9 -0
- package/dist/hooks/select/model-switch.d.ts.map +1 -0
- package/dist/hooks/select/model-switch.js +14 -0
- package/dist/hooks/select/model-switch.js.map +1 -0
- package/dist/hooks/select/once.d.ts +25 -0
- package/dist/hooks/select/once.d.ts.map +1 -0
- package/dist/hooks/select/once.js +33 -0
- package/dist/hooks/select/once.js.map +1 -0
- package/dist/hooks/select/select.d.ts +20 -0
- package/dist/hooks/select/select.d.ts.map +1 -0
- package/dist/hooks/select/select.js +64 -0
- package/dist/hooks/select/select.js.map +1 -0
- package/dist/hooks/select/watch-list.d.ts +37 -0
- package/dist/hooks/select/watch-list.d.ts.map +1 -0
- package/dist/hooks/select/watch-list.js +54 -0
- package/dist/hooks/select/watch-list.js.map +1 -0
- package/dist/hooks/source-kind.d.ts +41 -0
- package/dist/hooks/source-kind.d.ts.map +1 -0
- package/dist/hooks/source-kind.js +46 -0
- package/dist/hooks/source-kind.js.map +1 -0
- package/dist/hooks/verdict/background.d.ts +4 -0
- package/dist/hooks/verdict/background.d.ts.map +1 -0
- package/dist/hooks/verdict/background.js +58 -0
- package/dist/hooks/verdict/background.js.map +1 -0
- package/dist/hooks/verdict/blocked-prompt.d.ts +4 -0
- package/dist/hooks/verdict/blocked-prompt.d.ts.map +1 -0
- package/dist/hooks/verdict/blocked-prompt.js +28 -0
- package/dist/hooks/verdict/blocked-prompt.js.map +1 -0
- package/dist/hooks/verdict/debug-lines.d.ts +10 -0
- package/dist/hooks/verdict/debug-lines.d.ts.map +1 -0
- package/dist/hooks/verdict/debug-lines.js +19 -0
- package/dist/hooks/verdict/debug-lines.js.map +1 -0
- package/dist/hooks/verdict/exit-codes.d.ts +49 -0
- package/dist/hooks/verdict/exit-codes.d.ts.map +1 -0
- package/dist/hooks/verdict/exit-codes.js +25 -0
- package/dist/hooks/verdict/exit-codes.js.map +1 -0
- package/dist/hooks/verdict/exit2.d.ts +49 -0
- package/dist/hooks/verdict/exit2.d.ts.map +1 -0
- package/dist/hooks/verdict/exit2.js +61 -0
- package/dist/hooks/verdict/exit2.js.map +1 -0
- package/dist/hooks/verdict/exited.d.ts +5 -0
- package/dist/hooks/verdict/exited.d.ts.map +1 -0
- package/dist/hooks/verdict/exited.js +186 -0
- package/dist/hooks/verdict/exited.js.map +1 -0
- package/dist/hooks/verdict/http-response.d.ts +6 -0
- package/dist/hooks/verdict/http-response.d.ts.map +1 -0
- package/dist/hooks/verdict/http-response.js +48 -0
- package/dist/hooks/verdict/http-response.js.map +1 -0
- package/dist/hooks/verdict/index.d.ts +13 -0
- package/dist/hooks/verdict/index.d.ts.map +1 -0
- package/dist/hooks/verdict/index.js +7 -0
- package/dist/hooks/verdict/index.js.map +1 -0
- package/dist/hooks/verdict/interpret.d.ts +21 -0
- package/dist/hooks/verdict/interpret.d.ts.map +1 -0
- package/dist/hooks/verdict/interpret.js +79 -0
- package/dist/hooks/verdict/interpret.js.map +1 -0
- package/dist/hooks/verdict/model-switch.d.ts +28 -0
- package/dist/hooks/verdict/model-switch.d.ts.map +1 -0
- package/dist/hooks/verdict/model-switch.js +30 -0
- package/dist/hooks/verdict/model-switch.js.map +1 -0
- package/dist/hooks/verdict/model-verdict.d.ts +7 -0
- package/dist/hooks/verdict/model-verdict.d.ts.map +1 -0
- package/dist/hooks/verdict/model-verdict.js +66 -0
- package/dist/hooks/verdict/model-verdict.js.map +1 -0
- package/dist/hooks/verdict/notices.d.ts +51 -0
- package/dist/hooks/verdict/notices.d.ts.map +1 -0
- package/dist/hooks/verdict/notices.js +58 -0
- package/dist/hooks/verdict/notices.js.map +1 -0
- package/dist/hooks/verdict/on-failure.d.ts +28 -0
- package/dist/hooks/verdict/on-failure.d.ts.map +1 -0
- package/dist/hooks/verdict/on-failure.js +140 -0
- package/dist/hooks/verdict/on-failure.js.map +1 -0
- package/dist/hooks/verdict/plain-stdout.d.ts +12 -0
- package/dist/hooks/verdict/plain-stdout.d.ts.map +1 -0
- package/dist/hooks/verdict/plain-stdout.js +15 -0
- package/dist/hooks/verdict/plain-stdout.js.map +1 -0
- package/dist/hooks/verdict/route.d.ts +15 -0
- package/dist/hooks/verdict/route.d.ts.map +1 -0
- package/dist/hooks/verdict/route.js +38 -0
- package/dist/hooks/verdict/route.js.map +1 -0
- package/dist/hooks/verdict/stdout-kind.d.ts +34 -0
- package/dist/hooks/verdict/stdout-kind.d.ts.map +1 -0
- package/dist/hooks/verdict/stdout-kind.js +56 -0
- package/dist/hooks/verdict/stdout-kind.js.map +1 -0
- package/dist/hooks/verdict/stop-block-cap.d.ts +16 -0
- package/dist/hooks/verdict/stop-block-cap.d.ts.map +1 -0
- package/dist/hooks/verdict/stop-block-cap.js +82 -0
- package/dist/hooks/verdict/stop-block-cap.js.map +1 -0
- package/dist/hooks/verdict/subject.d.ts +23 -0
- package/dist/hooks/verdict/subject.d.ts.map +1 -0
- package/dist/hooks/verdict/subject.js +2 -0
- package/dist/hooks/verdict/subject.js.map +1 -0
- package/dist/hooks/verdict/suspect-capture.d.ts +4 -0
- package/dist/hooks/verdict/suspect-capture.d.ts.map +1 -0
- package/dist/hooks/verdict/suspect-capture.js +36 -0
- package/dist/hooks/verdict/suspect-capture.js.map +1 -0
- package/dist/hooks/verdict/types.d.ts +188 -0
- package/dist/hooks/verdict/types.d.ts.map +1 -0
- package/dist/hooks/verdict/types.js +2 -0
- package/dist/hooks/verdict/types.js.map +1 -0
- package/dist/host/background-queue.d.ts +33 -0
- package/dist/host/background-queue.d.ts.map +1 -0
- package/dist/host/background-queue.js +44 -0
- package/dist/host/background-queue.js.map +1 -0
- package/dist/host/catalog.d.ts +21 -0
- package/dist/host/catalog.d.ts.map +1 -0
- package/dist/host/catalog.js +116 -0
- package/dist/host/catalog.js.map +1 -0
- package/dist/host/core-servers.d.ts +29 -0
- package/dist/host/core-servers.d.ts.map +1 -0
- package/dist/host/core-servers.js +74 -0
- package/dist/host/core-servers.js.map +1 -0
- package/dist/host/core-skills.d.ts +4 -0
- package/dist/host/core-skills.d.ts.map +1 -0
- package/dist/host/core-skills.js +45 -0
- package/dist/host/core-skills.js.map +1 -0
- package/dist/host/core-view.d.ts +8 -0
- package/dist/host/core-view.d.ts.map +1 -0
- package/dist/host/core-view.js +49 -0
- package/dist/host/core-view.js.map +1 -0
- package/dist/host/host.d.ts +31 -0
- package/dist/host/host.d.ts.map +1 -0
- package/dist/host/host.js +33 -0
- package/dist/host/host.js.map +1 -0
- package/dist/host/index.d.ts +32 -0
- package/dist/host/index.d.ts.map +1 -0
- package/dist/host/index.js +9 -0
- package/dist/host/index.js.map +1 -0
- package/dist/host/permission-rules.d.ts +26 -0
- package/dist/host/permission-rules.d.ts.map +1 -0
- package/dist/host/permission-rules.js +33 -0
- package/dist/host/permission-rules.js.map +1 -0
- package/dist/host/permission-session.d.ts +46 -0
- package/dist/host/permission-session.d.ts.map +1 -0
- package/dist/host/permission-session.js +83 -0
- package/dist/host/permission-session.js.map +1 -0
- package/dist/host/plugin-dependencies.d.ts +20 -0
- package/dist/host/plugin-dependencies.d.ts.map +1 -0
- package/dist/host/plugin-dependencies.js +98 -0
- package/dist/host/plugin-dependencies.js.map +1 -0
- package/dist/host/plugin-set.d.ts +32 -0
- package/dist/host/plugin-set.d.ts.map +1 -0
- package/dist/host/plugin-set.js +87 -0
- package/dist/host/plugin-set.js.map +1 -0
- package/dist/host/saved-approval.d.ts +20 -0
- package/dist/host/saved-approval.d.ts.map +1 -0
- package/dist/host/saved-approval.js +15 -0
- package/dist/host/saved-approval.js.map +1 -0
- package/dist/host/scope.d.ts +30 -0
- package/dist/host/scope.d.ts.map +1 -0
- package/dist/host/scope.js +41 -0
- package/dist/host/scope.js.map +1 -0
- package/dist/host/sdk-hooks.d.ts +21 -0
- package/dist/host/sdk-hooks.d.ts.map +1 -0
- package/dist/host/sdk-hooks.js +26 -0
- package/dist/host/sdk-hooks.js.map +1 -0
- package/dist/host/sdk-output.d.ts +17 -0
- package/dist/host/sdk-output.d.ts.map +1 -0
- package/dist/host/sdk-output.js +147 -0
- package/dist/host/sdk-output.js.map +1 -0
- package/dist/host/session-agents.d.ts +82 -0
- package/dist/host/session-agents.d.ts.map +1 -0
- package/dist/host/session-agents.js +114 -0
- package/dist/host/session-agents.js.map +1 -0
- package/dist/host/session-components.d.ts +56 -0
- package/dist/host/session-components.d.ts.map +1 -0
- package/dist/host/session-components.js +76 -0
- package/dist/host/session-components.js.map +1 -0
- package/dist/host/session-content.d.ts +13 -0
- package/dist/host/session-content.d.ts.map +1 -0
- package/dist/host/session-content.js +47 -0
- package/dist/host/session-content.js.map +1 -0
- package/dist/host/session-core-dispatch.d.ts +28 -0
- package/dist/host/session-core-dispatch.d.ts.map +1 -0
- package/dist/host/session-core-dispatch.js +60 -0
- package/dist/host/session-core-dispatch.js.map +1 -0
- package/dist/host/session-core-hooks.d.ts +38 -0
- package/dist/host/session-core-hooks.d.ts.map +1 -0
- package/dist/host/session-core-hooks.js +71 -0
- package/dist/host/session-core-hooks.js.map +1 -0
- package/dist/host/session-core.d.ts +115 -0
- package/dist/host/session-core.d.ts.map +1 -0
- package/dist/host/session-core.js +100 -0
- package/dist/host/session-core.js.map +1 -0
- package/dist/host/session-directories.d.ts +18 -0
- package/dist/host/session-directories.d.ts.map +1 -0
- package/dist/host/session-directories.js +18 -0
- package/dist/host/session-directories.js.map +1 -0
- package/dist/host/session-engine.d.ts +11 -0
- package/dist/host/session-engine.d.ts.map +1 -0
- package/dist/host/session-engine.js +67 -0
- package/dist/host/session-engine.js.map +1 -0
- package/dist/host/session-environment.d.ts +20 -0
- package/dist/host/session-environment.d.ts.map +1 -0
- package/dist/host/session-environment.js +82 -0
- package/dist/host/session-environment.js.map +1 -0
- package/dist/host/session-first-read.d.ts +17 -0
- package/dist/host/session-first-read.d.ts.map +1 -0
- package/dist/host/session-first-read.js +14 -0
- package/dist/host/session-first-read.js.map +1 -0
- package/dist/host/session-folder-resolution.d.ts +15 -0
- package/dist/host/session-folder-resolution.d.ts.map +1 -0
- package/dist/host/session-folder-resolution.js +65 -0
- package/dist/host/session-folder-resolution.js.map +1 -0
- package/dist/host/session-folders.d.ts +71 -0
- package/dist/host/session-folders.d.ts.map +1 -0
- package/dist/host/session-folders.js +100 -0
- package/dist/host/session-folders.js.map +1 -0
- package/dist/host/session-hook-scope.d.ts +74 -0
- package/dist/host/session-hook-scope.d.ts.map +1 -0
- package/dist/host/session-hook-scope.js +93 -0
- package/dist/host/session-hook-scope.js.map +1 -0
- package/dist/host/session-hooks.d.ts +48 -0
- package/dist/host/session-hooks.d.ts.map +1 -0
- package/dist/host/session-hooks.js +95 -0
- package/dist/host/session-hooks.js.map +1 -0
- package/dist/host/session-host-skills.d.ts +36 -0
- package/dist/host/session-host-skills.d.ts.map +1 -0
- package/dist/host/session-host-skills.js +55 -0
- package/dist/host/session-host-skills.js.map +1 -0
- package/dist/host/session-mentions.d.ts +60 -0
- package/dist/host/session-mentions.d.ts.map +1 -0
- package/dist/host/session-mentions.js +53 -0
- package/dist/host/session-mentions.js.map +1 -0
- package/dist/host/session-monitors.d.ts +58 -0
- package/dist/host/session-monitors.d.ts.map +1 -0
- package/dist/host/session-monitors.js +65 -0
- package/dist/host/session-monitors.js.map +1 -0
- package/dist/host/session-permission-updates.d.ts +10 -0
- package/dist/host/session-permission-updates.d.ts.map +1 -0
- package/dist/host/session-permission-updates.js +26 -0
- package/dist/host/session-permission-updates.js.map +1 -0
- package/dist/host/session-registry.d.ts +27 -0
- package/dist/host/session-registry.d.ts.map +1 -0
- package/dist/host/session-registry.js +114 -0
- package/dist/host/session-registry.js.map +1 -0
- package/dist/host/session-skill-catalog.d.ts +53 -0
- package/dist/host/session-skill-catalog.d.ts.map +1 -0
- package/dist/host/session-skill-catalog.js +25 -0
- package/dist/host/session-skill-catalog.js.map +1 -0
- package/dist/host/session-skill-entries.d.ts +46 -0
- package/dist/host/session-skill-entries.d.ts.map +1 -0
- package/dist/host/session-skill-entries.js +81 -0
- package/dist/host/session-skill-entries.js.map +1 -0
- package/dist/host/session-skill-expand.d.ts +60 -0
- package/dist/host/session-skill-expand.d.ts.map +1 -0
- package/dist/host/session-skill-expand.js +194 -0
- package/dist/host/session-skill-expand.js.map +1 -0
- package/dist/host/session-skill-hooks.d.ts +20 -0
- package/dist/host/session-skill-hooks.d.ts.map +1 -0
- package/dist/host/session-skill-hooks.js +74 -0
- package/dist/host/session-skill-hooks.js.map +1 -0
- package/dist/host/session-skill-preload.d.ts +25 -0
- package/dist/host/session-skill-preload.d.ts.map +1 -0
- package/dist/host/session-skill-preload.js +48 -0
- package/dist/host/session-skill-preload.js.map +1 -0
- package/dist/host/session-skill-readers.d.ts +26 -0
- package/dist/host/session-skill-readers.d.ts.map +1 -0
- package/dist/host/session-skill-readers.js +22 -0
- package/dist/host/session-skill-readers.js.map +1 -0
- package/dist/host/session-skills.d.ts +125 -0
- package/dist/host/session-skills.d.ts.map +1 -0
- package/dist/host/session-skills.js +125 -0
- package/dist/host/session-skills.js.map +1 -0
- package/dist/host/session-start-repeats.d.ts +18 -0
- package/dist/host/session-start-repeats.d.ts.map +1 -0
- package/dist/host/session-start-repeats.js +32 -0
- package/dist/host/session-start-repeats.js.map +1 -0
- package/dist/host/session-tool-check.d.ts +44 -0
- package/dist/host/session-tool-check.d.ts.map +1 -0
- package/dist/host/session-tool-check.js +43 -0
- package/dist/host/session-tool-check.js.map +1 -0
- package/dist/host/session-types.d.ts +175 -0
- package/dist/host/session-types.d.ts.map +1 -0
- package/dist/host/session-types.js +2 -0
- package/dist/host/session-types.js.map +1 -0
- package/dist/host/session-workflows.d.ts +20 -0
- package/dist/host/session-workflows.d.ts.map +1 -0
- package/dist/host/session-workflows.js +32 -0
- package/dist/host/session-workflows.js.map +1 -0
- package/dist/host/session.d.ts +42 -0
- package/dist/host/session.d.ts.map +1 -0
- package/dist/host/session.js +76 -0
- package/dist/host/session.js.map +1 -0
- package/dist/host/state.d.ts +63 -0
- package/dist/host/state.d.ts.map +1 -0
- package/dist/host/state.js +157 -0
- package/dist/host/state.js.map +1 -0
- package/dist/host/turn.d.ts +24 -0
- package/dist/host/turn.d.ts.map +1 -0
- package/dist/host/turn.js +27 -0
- package/dist/host/turn.js.map +1 -0
- package/dist/host/types.d.ts +144 -0
- package/dist/host/types.d.ts.map +1 -0
- package/dist/host/types.js +2 -0
- package/dist/host/types.js.map +1 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/loading/background-trust.d.ts +37 -0
- package/dist/loading/background-trust.d.ts.map +1 -0
- package/dist/loading/background-trust.js +27 -0
- package/dist/loading/background-trust.js.map +1 -0
- package/dist/loading/bin.d.ts +27 -0
- package/dist/loading/bin.d.ts.map +1 -0
- package/dist/loading/bin.js +37 -0
- package/dist/loading/bin.js.map +1 -0
- package/dist/loading/channels.d.ts +12 -0
- package/dist/loading/channels.d.ts.map +1 -0
- package/dist/loading/channels.js +15 -0
- package/dist/loading/channels.js.map +1 -0
- package/dist/loading/combine.d.ts +18 -0
- package/dist/loading/combine.d.ts.map +1 -0
- package/dist/loading/combine.js +6 -0
- package/dist/loading/combine.js.map +1 -0
- package/dist/loading/command-debug.d.ts +9 -0
- package/dist/loading/command-debug.d.ts.map +1 -0
- package/dist/loading/command-debug.js +27 -0
- package/dist/loading/command-debug.js.map +1 -0
- package/dist/loading/component-readers.d.ts +15 -0
- package/dist/loading/component-readers.d.ts.map +1 -0
- package/dist/loading/component-readers.js +28 -0
- package/dist/loading/component-readers.js.map +1 -0
- package/dist/loading/core/assets.d.ts +6 -0
- package/dist/loading/core/assets.d.ts.map +1 -0
- package/dist/loading/core/assets.js +38 -0
- package/dist/loading/core/assets.js.map +1 -0
- package/dist/loading/core/config.d.ts +19 -0
- package/dist/loading/core/config.d.ts.map +1 -0
- package/dist/loading/core/config.js +93 -0
- package/dist/loading/core/config.js.map +1 -0
- package/dist/loading/core/dual-check.d.ts +16 -0
- package/dist/loading/core/dual-check.d.ts.map +1 -0
- package/dist/loading/core/dual-check.js +34 -0
- package/dist/loading/core/dual-check.js.map +1 -0
- package/dist/loading/core/entry-fields.d.ts +13 -0
- package/dist/loading/core/entry-fields.d.ts.map +1 -0
- package/dist/loading/core/entry-fields.js +22 -0
- package/dist/loading/core/entry-fields.js.map +1 -0
- package/dist/loading/core/form.d.ts +34 -0
- package/dist/loading/core/form.d.ts.map +1 -0
- package/dist/loading/core/form.js +46 -0
- package/dist/loading/core/form.js.map +1 -0
- package/dist/loading/core/index.d.ts +7 -0
- package/dist/loading/core/index.d.ts.map +1 -0
- package/dist/loading/core/index.js +6 -0
- package/dist/loading/core/index.js.map +1 -0
- package/dist/loading/core/load-core.d.ts +11 -0
- package/dist/loading/core/load-core.d.ts.map +1 -0
- package/dist/loading/core/load-core.js +48 -0
- package/dist/loading/core/load-core.js.map +1 -0
- package/dist/loading/core/load-package.d.ts +25 -0
- package/dist/loading/core/load-package.d.ts.map +1 -0
- package/dist/loading/core/load-package.js +29 -0
- package/dist/loading/core/load-package.js.map +1 -0
- package/dist/loading/core/locations.d.ts +29 -0
- package/dist/loading/core/locations.d.ts.map +1 -0
- package/dist/loading/core/locations.js +32 -0
- package/dist/loading/core/locations.js.map +1 -0
- package/dist/loading/core/manifest-step.d.ts +4 -0
- package/dist/loading/core/manifest-step.d.ts.map +1 -0
- package/dist/loading/core/manifest-step.js +24 -0
- package/dist/loading/core/manifest-step.js.map +1 -0
- package/dist/loading/core/model.d.ts +45 -0
- package/dist/loading/core/model.d.ts.map +1 -0
- package/dist/loading/core/model.js +2 -0
- package/dist/loading/core/model.js.map +1 -0
- package/dist/loading/core/skills.d.ts +17 -0
- package/dist/loading/core/skills.d.ts.map +1 -0
- package/dist/loading/core/skills.js +50 -0
- package/dist/loading/core/skills.js.map +1 -0
- package/dist/loading/declared-shape.d.ts +14 -0
- package/dist/loading/declared-shape.d.ts.map +1 -0
- package/dist/loading/declared-shape.js +11 -0
- package/dist/loading/declared-shape.js.map +1 -0
- package/dist/loading/discover-config.d.ts +16 -0
- package/dist/loading/discover-config.d.ts.map +1 -0
- package/dist/loading/discover-config.js +90 -0
- package/dist/loading/discover-config.js.map +1 -0
- package/dist/loading/discover-listed.d.ts +10 -0
- package/dist/loading/discover-listed.d.ts.map +1 -0
- package/dist/loading/discover-listed.js +165 -0
- package/dist/loading/discover-listed.js.map +1 -0
- package/dist/loading/discover.d.ts +20 -0
- package/dist/loading/discover.d.ts.map +1 -0
- package/dist/loading/discover.js +71 -0
- package/dist/loading/discover.js.map +1 -0
- package/dist/loading/discovered.d.ts +66 -0
- package/dist/loading/discovered.d.ts.map +1 -0
- package/dist/loading/discovered.js +2 -0
- package/dist/loading/discovered.js.map +1 -0
- package/dist/loading/folder-plugin.d.ts +64 -0
- package/dist/loading/folder-plugin.d.ts.map +1 -0
- package/dist/loading/folder-plugin.js +89 -0
- package/dist/loading/folder-plugin.js.map +1 -0
- package/dist/loading/ignored-folder.d.ts +11 -0
- package/dist/loading/ignored-folder.d.ts.map +1 -0
- package/dist/loading/ignored-folder.js +22 -0
- package/dist/loading/ignored-folder.js.map +1 -0
- package/dist/loading/index.d.ts +38 -0
- package/dist/loading/index.d.ts.map +1 -0
- package/dist/loading/index.js +21 -0
- package/dist/loading/index.js.map +1 -0
- package/dist/loading/load-plugin.d.ts +51 -0
- package/dist/loading/load-plugin.d.ts.map +1 -0
- package/dist/loading/load-plugin.js +188 -0
- package/dist/loading/load-plugin.js.map +1 -0
- package/dist/loading/local-settings-trust.d.ts +35 -0
- package/dist/loading/local-settings-trust.d.ts.map +1 -0
- package/dist/loading/local-settings-trust.js +27 -0
- package/dist/loading/local-settings-trust.js.map +1 -0
- package/dist/loading/manifest-gate.d.ts +23 -0
- package/dist/loading/manifest-gate.d.ts.map +1 -0
- package/dist/loading/manifest-gate.js +55 -0
- package/dist/loading/manifest-gate.js.map +1 -0
- package/dist/loading/merge-hooks.d.ts +10 -0
- package/dist/loading/merge-hooks.d.ts.map +1 -0
- package/dist/loading/merge-hooks.js +18 -0
- package/dist/loading/merge-hooks.js.map +1 -0
- package/dist/loading/plugin-debug.d.ts +35 -0
- package/dist/loading/plugin-debug.d.ts.map +1 -0
- package/dist/loading/plugin-debug.js +55 -0
- package/dist/loading/plugin-debug.js.map +1 -0
- package/dist/loading/plugin-folder.d.ts +34 -0
- package/dist/loading/plugin-folder.d.ts.map +1 -0
- package/dist/loading/plugin-folder.js +49 -0
- package/dist/loading/plugin-folder.js.map +1 -0
- package/dist/loading/plugin-model.d.ts +92 -0
- package/dist/loading/plugin-model.d.ts.map +1 -0
- package/dist/loading/plugin-model.js +2 -0
- package/dist/loading/plugin-model.js.map +1 -0
- package/dist/loading/plugin-scaffold.d.ts +39 -0
- package/dist/loading/plugin-scaffold.d.ts.map +1 -0
- package/dist/loading/plugin-scaffold.js +43 -0
- package/dist/loading/plugin-scaffold.js.map +1 -0
- package/dist/loading/ports.d.ts +15 -0
- package/dist/loading/ports.d.ts.map +1 -0
- package/dist/loading/ports.js +6 -0
- package/dist/loading/ports.js.map +1 -0
- package/dist/loading/reader-types.d.ts +54 -0
- package/dist/loading/reader-types.d.ts.map +1 -0
- package/dist/loading/reader-types.js +2 -0
- package/dist/loading/reader-types.js.map +1 -0
- package/dist/loading/readers-assets.d.ts +5 -0
- package/dist/loading/readers-assets.d.ts.map +1 -0
- package/dist/loading/readers-assets.js +53 -0
- package/dist/loading/readers-assets.js.map +1 -0
- package/dist/loading/readers-config.d.ts +12 -0
- package/dist/loading/readers-config.d.ts.map +1 -0
- package/dist/loading/readers-config.js +122 -0
- package/dist/loading/readers-config.js.map +1 -0
- package/dist/loading/readers-text.d.ts +10 -0
- package/dist/loading/readers-text.d.ts.map +1 -0
- package/dist/loading/readers-text.js +51 -0
- package/dist/loading/readers-text.js.map +1 -0
- package/dist/loading/repository-limits.d.ts +51 -0
- package/dist/loading/repository-limits.d.ts.map +1 -0
- package/dist/loading/repository-limits.js +88 -0
- package/dist/loading/repository-limits.js.map +1 -0
- package/dist/loading/repository-messages.d.ts +14 -0
- package/dist/loading/repository-messages.d.ts.map +1 -0
- package/dist/loading/repository-messages.js +38 -0
- package/dist/loading/repository-messages.js.map +1 -0
- package/dist/loading/repository-trust.d.ts +53 -0
- package/dist/loading/repository-trust.d.ts.map +1 -0
- package/dist/loading/repository-trust.js +78 -0
- package/dist/loading/repository-trust.js.map +1 -0
- package/dist/loading/repository-types.d.ts +7 -0
- package/dist/loading/repository-types.d.ts.map +1 -0
- package/dist/loading/repository-types.js +2 -0
- package/dist/loading/repository-types.js.map +1 -0
- package/dist/loading/resolve/bundle-scope.d.ts +18 -0
- package/dist/loading/resolve/bundle-scope.d.ts.map +1 -0
- package/dist/loading/resolve/bundle-scope.js +33 -0
- package/dist/loading/resolve/bundle-scope.js.map +1 -0
- package/dist/loading/resolve/channel.d.ts +45 -0
- package/dist/loading/resolve/channel.d.ts.map +1 -0
- package/dist/loading/resolve/channel.js +58 -0
- package/dist/loading/resolve/channel.js.map +1 -0
- package/dist/loading/resolve/content.d.ts +23 -0
- package/dist/loading/resolve/content.d.ts.map +1 -0
- package/dist/loading/resolve/content.js +26 -0
- package/dist/loading/resolve/content.js.map +1 -0
- package/dist/loading/resolve/data-id.d.ts +7 -0
- package/dist/loading/resolve/data-id.d.ts.map +1 -0
- package/dist/loading/resolve/data-id.js +7 -0
- package/dist/loading/resolve/data-id.js.map +1 -0
- package/dist/loading/resolve/deep.d.ts +18 -0
- package/dist/loading/resolve/deep.d.ts.map +1 -0
- package/dist/loading/resolve/deep.js +37 -0
- package/dist/loading/resolve/deep.js.map +1 -0
- package/dist/loading/resolve/exported-environment.d.ts +12 -0
- package/dist/loading/resolve/exported-environment.d.ts.map +1 -0
- package/dist/loading/resolve/exported-environment.js +23 -0
- package/dist/loading/resolve/exported-environment.js.map +1 -0
- package/dist/loading/resolve/field-map.d.ts +21 -0
- package/dist/loading/resolve/field-map.d.ts.map +1 -0
- package/dist/loading/resolve/field-map.js +30 -0
- package/dist/loading/resolve/field-map.js.map +1 -0
- package/dist/loading/resolve/field-runner.d.ts +28 -0
- package/dist/loading/resolve/field-runner.d.ts.map +1 -0
- package/dist/loading/resolve/field-runner.js +45 -0
- package/dist/loading/resolve/field-runner.js.map +1 -0
- package/dist/loading/resolve/headers-helper-origins.d.ts +49 -0
- package/dist/loading/resolve/headers-helper-origins.d.ts.map +1 -0
- package/dist/loading/resolve/headers-helper-origins.js +121 -0
- package/dist/loading/resolve/headers-helper-origins.js.map +1 -0
- package/dist/loading/resolve/headers-helper-run.d.ts +61 -0
- package/dist/loading/resolve/headers-helper-run.d.ts.map +1 -0
- package/dist/loading/resolve/headers-helper-run.js +106 -0
- package/dist/loading/resolve/headers-helper-run.js.map +1 -0
- package/dist/loading/resolve/headers-helper-trust.d.ts +41 -0
- package/dist/loading/resolve/headers-helper-trust.d.ts.map +1 -0
- package/dist/loading/resolve/headers-helper-trust.js +55 -0
- package/dist/loading/resolve/headers-helper-trust.js.map +1 -0
- package/dist/loading/resolve/headers-helper.d.ts +56 -0
- package/dist/loading/resolve/headers-helper.d.ts.map +1 -0
- package/dist/loading/resolve/headers-helper.js +93 -0
- package/dist/loading/resolve/headers-helper.js.map +1 -0
- package/dist/loading/resolve/hook-command.d.ts +65 -0
- package/dist/loading/resolve/hook-command.d.ts.map +1 -0
- package/dist/loading/resolve/hook-command.js +141 -0
- package/dist/loading/resolve/hook-command.js.map +1 -0
- package/dist/loading/resolve/hook-space-path.d.ts +9 -0
- package/dist/loading/resolve/hook-space-path.d.ts.map +1 -0
- package/dist/loading/resolve/hook-space-path.js +40 -0
- package/dist/loading/resolve/hook-space-path.js.map +1 -0
- package/dist/loading/resolve/index.d.ts +40 -0
- package/dist/loading/resolve/index.d.ts.map +1 -0
- package/dist/loading/resolve/index.js +39 -0
- package/dist/loading/resolve/index.js.map +1 -0
- package/dist/loading/resolve/lsp-runtime.d.ts +57 -0
- package/dist/loading/resolve/lsp-runtime.d.ts.map +1 -0
- package/dist/loading/resolve/lsp-runtime.js +65 -0
- package/dist/loading/resolve/lsp-runtime.js.map +1 -0
- package/dist/loading/resolve/lsp-startup.d.ts +21 -0
- package/dist/loading/resolve/lsp-startup.d.ts.map +1 -0
- package/dist/loading/resolve/lsp-startup.js +23 -0
- package/dist/loading/resolve/lsp-startup.js.map +1 -0
- package/dist/loading/resolve/lsp.d.ts +66 -0
- package/dist/loading/resolve/lsp.d.ts.map +1 -0
- package/dist/loading/resolve/lsp.js +60 -0
- package/dist/loading/resolve/lsp.js.map +1 -0
- package/dist/loading/resolve/mcp.d.ts +72 -0
- package/dist/loading/resolve/mcp.d.ts.map +1 -0
- package/dist/loading/resolve/mcp.js +150 -0
- package/dist/loading/resolve/mcp.js.map +1 -0
- package/dist/loading/resolve/monitor-trigger.d.ts +59 -0
- package/dist/loading/resolve/monitor-trigger.d.ts.map +1 -0
- package/dist/loading/resolve/monitor-trigger.js +58 -0
- package/dist/loading/resolve/monitor-trigger.js.map +1 -0
- package/dist/loading/resolve/monitor.d.ts +44 -0
- package/dist/loading/resolve/monitor.d.ts.map +1 -0
- package/dist/loading/resolve/monitor.js +31 -0
- package/dist/loading/resolve/monitor.js.map +1 -0
- package/dist/loading/resolve/powershell-no-program.d.ts +11 -0
- package/dist/loading/resolve/powershell-no-program.d.ts.map +1 -0
- package/dist/loading/resolve/powershell-no-program.js +34 -0
- package/dist/loading/resolve/powershell-no-program.js.map +1 -0
- package/dist/loading/resolve/prepared.d.ts +14 -0
- package/dist/loading/resolve/prepared.d.ts.map +1 -0
- package/dist/loading/resolve/prepared.js +15 -0
- package/dist/loading/resolve/prepared.js.map +1 -0
- package/dist/loading/resolve/processes.d.ts +36 -0
- package/dist/loading/resolve/processes.d.ts.map +1 -0
- package/dist/loading/resolve/processes.js +43 -0
- package/dist/loading/resolve/processes.js.map +1 -0
- package/dist/loading/resolve/scope.d.ts +70 -0
- package/dist/loading/resolve/scope.d.ts.map +1 -0
- package/dist/loading/resolve/scope.js +2 -0
- package/dist/loading/resolve/scope.js.map +1 -0
- package/dist/loading/resolve/shell-exports.d.ts +18 -0
- package/dist/loading/resolve/shell-exports.d.ts.map +1 -0
- package/dist/loading/resolve/shell-exports.js +38 -0
- package/dist/loading/resolve/shell-exports.js.map +1 -0
- package/dist/loading/resolve/shell-guard-hook.d.ts +15 -0
- package/dist/loading/resolve/shell-guard-hook.d.ts.map +1 -0
- package/dist/loading/resolve/shell-guard-hook.js +13 -0
- package/dist/loading/resolve/shell-guard-hook.js.map +1 -0
- package/dist/loading/resolve/shell-guard-monitor.d.ts +16 -0
- package/dist/loading/resolve/shell-guard-monitor.d.ts.map +1 -0
- package/dist/loading/resolve/shell-guard-monitor.js +14 -0
- package/dist/loading/resolve/shell-guard-monitor.js.map +1 -0
- package/dist/loading/resolve/shell-guard.d.ts +22 -0
- package/dist/loading/resolve/shell-guard.d.ts.map +1 -0
- package/dist/loading/resolve/shell-guard.js +11 -0
- package/dist/loading/resolve/shell-guard.js.map +1 -0
- package/dist/loading/resolve/shell-prefix.d.ts +24 -0
- package/dist/loading/resolve/shell-prefix.d.ts.map +1 -0
- package/dist/loading/resolve/shell-prefix.js +32 -0
- package/dist/loading/resolve/shell-prefix.js.map +1 -0
- package/dist/loading/resolve/subprocess-scrub.d.ts +14 -0
- package/dist/loading/resolve/subprocess-scrub.d.ts.map +1 -0
- package/dist/loading/resolve/subprocess-scrub.js +52 -0
- package/dist/loading/resolve/subprocess-scrub.js.map +1 -0
- package/dist/loading/resolve/substitute.d.ts +62 -0
- package/dist/loading/resolve/substitute.d.ts.map +1 -0
- package/dist/loading/resolve/substitute.js +173 -0
- package/dist/loading/resolve/substitute.js.map +1 -0
- package/dist/loading/resolve/substituter.d.ts +19 -0
- package/dist/loading/resolve/substituter.d.ts.map +1 -0
- package/dist/loading/resolve/substituter.js +34 -0
- package/dist/loading/resolve/substituter.js.map +1 -0
- package/dist/loading/resolve/surfaces.d.ts +48 -0
- package/dist/loading/resolve/surfaces.d.ts.map +1 -0
- package/dist/loading/resolve/surfaces.js +127 -0
- package/dist/loading/resolve/surfaces.js.map +1 -0
- package/dist/loading/resolve/user-config-values.d.ts +5 -0
- package/dist/loading/resolve/user-config-values.d.ts.map +1 -0
- package/dist/loading/resolve/user-config-values.js +56 -0
- package/dist/loading/resolve/user-config-values.js.map +1 -0
- package/dist/loading/resolve/user-config.d.ts +44 -0
- package/dist/loading/resolve/user-config.d.ts.map +1 -0
- package/dist/loading/resolve/user-config.js +39 -0
- package/dist/loading/resolve/user-config.js.map +1 -0
- package/dist/loading/resolve/variables.d.ts +18 -0
- package/dist/loading/resolve/variables.d.ts.map +1 -0
- package/dist/loading/resolve/variables.js +51 -0
- package/dist/loading/resolve/variables.js.map +1 -0
- package/dist/loading/resolve/without-plugin.d.ts +9 -0
- package/dist/loading/resolve/without-plugin.d.ts.map +1 -0
- package/dist/loading/resolve/without-plugin.js +17 -0
- package/dist/loading/resolve/without-plugin.js.map +1 -0
- package/dist/loading/trust-gates.d.ts +77 -0
- package/dist/loading/trust-gates.d.ts.map +1 -0
- package/dist/loading/trust-gates.js +127 -0
- package/dist/loading/trust-gates.js.map +1 -0
- package/dist/loading/validate/components-only.d.ts +10 -0
- package/dist/loading/validate/components-only.d.ts.map +1 -0
- package/dist/loading/validate/components-only.js +68 -0
- package/dist/loading/validate/components-only.js.map +1 -0
- package/dist/loading/validate/components.d.ts +23 -0
- package/dist/loading/validate/components.d.ts.map +1 -0
- package/dist/loading/validate/components.js +98 -0
- package/dist/loading/validate/components.js.map +1 -0
- package/dist/loading/validate/index.d.ts +3 -0
- package/dist/loading/validate/index.d.ts.map +1 -0
- package/dist/loading/validate/index.js +3 -0
- package/dist/loading/validate/index.js.map +1 -0
- package/dist/loading/validate/json-files.d.ts +7 -0
- package/dist/loading/validate/json-files.d.ts.map +1 -0
- package/dist/loading/validate/json-files.js +87 -0
- package/dist/loading/validate/json-files.js.map +1 -0
- package/dist/loading/validate/links.d.ts +27 -0
- package/dist/loading/validate/links.d.ts.map +1 -0
- package/dist/loading/validate/links.js +46 -0
- package/dist/loading/validate/links.js.map +1 -0
- package/dist/loading/validate/marketplace-target.d.ts +9 -0
- package/dist/loading/validate/marketplace-target.d.ts.map +1 -0
- package/dist/loading/validate/marketplace-target.js +158 -0
- package/dist/loading/validate/marketplace-target.js.map +1 -0
- package/dist/loading/validate/paths.d.ts +8 -0
- package/dist/loading/validate/paths.d.ts.map +1 -0
- package/dist/loading/validate/paths.js +17 -0
- package/dist/loading/validate/paths.js.map +1 -0
- package/dist/loading/validate/plugin-contents.d.ts +11 -0
- package/dist/loading/validate/plugin-contents.d.ts.map +1 -0
- package/dist/loading/validate/plugin-contents.js +33 -0
- package/dist/loading/validate/plugin-contents.js.map +1 -0
- package/dist/loading/validate/plugin-target.d.ts +18 -0
- package/dist/loading/validate/plugin-target.d.ts.map +1 -0
- package/dist/loading/validate/plugin-target.js +53 -0
- package/dist/loading/validate/plugin-target.js.map +1 -0
- package/dist/loading/validate/report.d.ts +10 -0
- package/dist/loading/validate/report.d.ts.map +1 -0
- package/dist/loading/validate/report.js +3 -0
- package/dist/loading/validate/report.js.map +1 -0
- package/dist/loading/validate/validate-plugin.d.ts +17 -0
- package/dist/loading/validate/validate-plugin.d.ts.map +1 -0
- package/dist/loading/validate/validate-plugin.js +44 -0
- package/dist/loading/validate/validate-plugin.js.map +1 -0
- package/dist/loading/walk.d.ts +16 -0
- package/dist/loading/walk.d.ts.map +1 -0
- package/dist/loading/walk.js +204 -0
- package/dist/loading/walk.js.map +1 -0
- package/dist/loading/workspace-trust.d.ts +81 -0
- package/dist/loading/workspace-trust.d.ts.map +1 -0
- package/dist/loading/workspace-trust.js +83 -0
- package/dist/loading/workspace-trust.js.map +1 -0
- package/dist/marketplace/add-failures.d.ts +54 -0
- package/dist/marketplace/add-failures.d.ts.map +1 -0
- package/dist/marketplace/add-failures.js +104 -0
- package/dist/marketplace/add-failures.js.map +1 -0
- package/dist/marketplace/archive-scan.d.ts +10 -0
- package/dist/marketplace/archive-scan.d.ts.map +1 -0
- package/dist/marketplace/archive-scan.js +159 -0
- package/dist/marketplace/archive-scan.js.map +1 -0
- package/dist/marketplace/archive-source.d.ts +29 -0
- package/dist/marketplace/archive-source.d.ts.map +1 -0
- package/dist/marketplace/archive-source.js +106 -0
- package/dist/marketplace/archive-source.js.map +1 -0
- package/dist/marketplace/command-directory.d.ts +15 -0
- package/dist/marketplace/command-directory.d.ts.map +1 -0
- package/dist/marketplace/command-directory.js +63 -0
- package/dist/marketplace/command-directory.js.map +1 -0
- package/dist/marketplace/command-mode.d.ts +10 -0
- package/dist/marketplace/command-mode.d.ts.map +1 -0
- package/dist/marketplace/command-mode.js +10 -0
- package/dist/marketplace/command-mode.js.map +1 -0
- package/dist/marketplace/command-output.d.ts +20 -0
- package/dist/marketplace/command-output.d.ts.map +1 -0
- package/dist/marketplace/command-output.js +43 -0
- package/dist/marketplace/command-output.js.map +1 -0
- package/dist/marketplace/command-source.d.ts +41 -0
- package/dist/marketplace/command-source.d.ts.map +1 -0
- package/dist/marketplace/command-source.js +65 -0
- package/dist/marketplace/command-source.js.map +1 -0
- package/dist/marketplace/copy-plan.d.ts +81 -0
- package/dist/marketplace/copy-plan.d.ts.map +1 -0
- package/dist/marketplace/copy-plan.js +66 -0
- package/dist/marketplace/copy-plan.js.map +1 -0
- package/dist/marketplace/copy-sweep.d.ts +40 -0
- package/dist/marketplace/copy-sweep.d.ts.map +1 -0
- package/dist/marketplace/copy-sweep.js +45 -0
- package/dist/marketplace/copy-sweep.js.map +1 -0
- package/dist/marketplace/credential-variables.d.ts +7 -0
- package/dist/marketplace/credential-variables.d.ts.map +1 -0
- package/dist/marketplace/credential-variables.js +7 -0
- package/dist/marketplace/credential-variables.js.map +1 -0
- package/dist/marketplace/cross-marketplace.d.ts +47 -0
- package/dist/marketplace/cross-marketplace.d.ts.map +1 -0
- package/dist/marketplace/cross-marketplace.js +34 -0
- package/dist/marketplace/cross-marketplace.js.map +1 -0
- package/dist/marketplace/declared-source.d.ts +26 -0
- package/dist/marketplace/declared-source.d.ts.map +1 -0
- package/dist/marketplace/declared-source.js +29 -0
- package/dist/marketplace/declared-source.js.map +1 -0
- package/dist/marketplace/dependencies.d.ts +75 -0
- package/dist/marketplace/dependencies.d.ts.map +1 -0
- package/dist/marketplace/dependencies.js +179 -0
- package/dist/marketplace/dependencies.js.map +1 -0
- package/dist/marketplace/dependency-catalog.d.ts +19 -0
- package/dist/marketplace/dependency-catalog.d.ts.map +1 -0
- package/dist/marketplace/dependency-catalog.js +35 -0
- package/dist/marketplace/dependency-catalog.js.map +1 -0
- package/dist/marketplace/dependency-enable.d.ts +39 -0
- package/dist/marketplace/dependency-enable.d.ts.map +1 -0
- package/dist/marketplace/dependency-enable.js +60 -0
- package/dist/marketplace/dependency-enable.js.map +1 -0
- package/dist/marketplace/dependency-graph.d.ts +145 -0
- package/dist/marketplace/dependency-graph.d.ts.map +1 -0
- package/dist/marketplace/dependency-graph.js +106 -0
- package/dist/marketplace/dependency-graph.js.map +1 -0
- package/dist/marketplace/dependency-install-plan.d.ts +85 -0
- package/dist/marketplace/dependency-install-plan.d.ts.map +1 -0
- package/dist/marketplace/dependency-install-plan.js +179 -0
- package/dist/marketplace/dependency-install-plan.js.map +1 -0
- package/dist/marketplace/dependency-install-walk.d.ts +57 -0
- package/dist/marketplace/dependency-install-walk.d.ts.map +1 -0
- package/dist/marketplace/dependency-install-walk.js +144 -0
- package/dist/marketplace/dependency-install-walk.js.map +1 -0
- package/dist/marketplace/dependency-prune.d.ts +66 -0
- package/dist/marketplace/dependency-prune.d.ts.map +1 -0
- package/dist/marketplace/dependency-prune.js +99 -0
- package/dist/marketplace/dependency-prune.js.map +1 -0
- package/dist/marketplace/dependency-tags.d.ts +108 -0
- package/dist/marketplace/dependency-tags.d.ts.map +1 -0
- package/dist/marketplace/dependency-tags.js +157 -0
- package/dist/marketplace/dependency-tags.js.map +1 -0
- package/dist/marketplace/deprecated-marketplace.d.ts +15 -0
- package/dist/marketplace/deprecated-marketplace.d.ts.map +1 -0
- package/dist/marketplace/deprecated-marketplace.js +26 -0
- package/dist/marketplace/deprecated-marketplace.js.map +1 -0
- package/dist/marketplace/download-headers.d.ts +59 -0
- package/dist/marketplace/download-headers.d.ts.map +1 -0
- package/dist/marketplace/download-headers.js +90 -0
- package/dist/marketplace/download-headers.js.map +1 -0
- package/dist/marketplace/enablement-notes.d.ts +67 -0
- package/dist/marketplace/enablement-notes.d.ts.map +1 -0
- package/dist/marketplace/enablement-notes.js +70 -0
- package/dist/marketplace/enablement-notes.js.map +1 -0
- package/dist/marketplace/fetch-plan.d.ts +24 -0
- package/dist/marketplace/fetch-plan.d.ts.map +1 -0
- package/dist/marketplace/fetch-plan.js +186 -0
- package/dist/marketplace/fetch-plan.js.map +1 -0
- package/dist/marketplace/folder-collision.d.ts +36 -0
- package/dist/marketplace/folder-collision.d.ts.map +1 -0
- package/dist/marketplace/folder-collision.js +48 -0
- package/dist/marketplace/folder-collision.js.map +1 -0
- package/dist/marketplace/git-transport.d.ts +56 -0
- package/dist/marketplace/git-transport.d.ts.map +1 -0
- package/dist/marketplace/git-transport.js +53 -0
- package/dist/marketplace/git-transport.js.map +1 -0
- package/dist/marketplace/header-helper.d.ts +37 -0
- package/dist/marketplace/header-helper.d.ts.map +1 -0
- package/dist/marketplace/header-helper.js +93 -0
- package/dist/marketplace/header-helper.js.map +1 -0
- package/dist/marketplace/header-map.d.ts +13 -0
- package/dist/marketplace/header-map.d.ts.map +1 -0
- package/dist/marketplace/header-map.js +22 -0
- package/dist/marketplace/header-map.js.map +1 -0
- package/dist/marketplace/header-policy.d.ts +80 -0
- package/dist/marketplace/header-policy.d.ts.map +1 -0
- package/dist/marketplace/header-policy.js +175 -0
- package/dist/marketplace/header-policy.js.map +1 -0
- package/dist/marketplace/headless-report.d.ts +69 -0
- package/dist/marketplace/headless-report.d.ts.map +1 -0
- package/dist/marketplace/headless-report.js +50 -0
- package/dist/marketplace/headless-report.js.map +1 -0
- package/dist/marketplace/http-download.d.ts +26 -0
- package/dist/marketplace/http-download.d.ts.map +1 -0
- package/dist/marketplace/http-download.js +65 -0
- package/dist/marketplace/http-download.js.map +1 -0
- package/dist/marketplace/ignored-marketplace.d.ts +58 -0
- package/dist/marketplace/ignored-marketplace.d.ts.map +1 -0
- package/dist/marketplace/ignored-marketplace.js +106 -0
- package/dist/marketplace/ignored-marketplace.js.map +1 -0
- package/dist/marketplace/index.d.ts +39 -0
- package/dist/marketplace/index.d.ts.map +1 -0
- package/dist/marketplace/index.js +34 -0
- package/dist/marketplace/index.js.map +1 -0
- package/dist/marketplace/install-commands.d.ts +79 -0
- package/dist/marketplace/install-commands.d.ts.map +1 -0
- package/dist/marketplace/install-commands.js +82 -0
- package/dist/marketplace/install-commands.js.map +1 -0
- package/dist/marketplace/install-errors.d.ts +111 -0
- package/dist/marketplace/install-errors.d.ts.map +1 -0
- package/dist/marketplace/install-errors.js +146 -0
- package/dist/marketplace/install-errors.js.map +1 -0
- package/dist/marketplace/install-failures.d.ts +58 -0
- package/dist/marketplace/install-failures.d.ts.map +1 -0
- package/dist/marketplace/install-failures.js +97 -0
- package/dist/marketplace/install-failures.js.map +1 -0
- package/dist/marketplace/install-guidance.d.ts +12 -0
- package/dist/marketplace/install-guidance.d.ts.map +1 -0
- package/dist/marketplace/install-guidance.js +12 -0
- package/dist/marketplace/install-guidance.js.map +1 -0
- package/dist/marketplace/install-hosts.d.ts +58 -0
- package/dist/marketplace/install-hosts.d.ts.map +1 -0
- package/dist/marketplace/install-hosts.js +111 -0
- package/dist/marketplace/install-hosts.js.map +1 -0
- package/dist/marketplace/install-index.d.ts +25 -0
- package/dist/marketplace/install-index.d.ts.map +1 -0
- package/dist/marketplace/install-index.js +22 -0
- package/dist/marketplace/install-index.js.map +1 -0
- package/dist/marketplace/install-lifecycle-index.d.ts +21 -0
- package/dist/marketplace/install-lifecycle-index.d.ts.map +1 -0
- package/dist/marketplace/install-lifecycle-index.js +21 -0
- package/dist/marketplace/install-lifecycle-index.js.map +1 -0
- package/dist/marketplace/install-messages.d.ts +61 -0
- package/dist/marketplace/install-messages.d.ts.map +1 -0
- package/dist/marketplace/install-messages.js +68 -0
- package/dist/marketplace/install-messages.js.map +1 -0
- package/dist/marketplace/install-mode.d.ts +69 -0
- package/dist/marketplace/install-mode.d.ts.map +1 -0
- package/dist/marketplace/install-mode.js +87 -0
- package/dist/marketplace/install-mode.js.map +1 -0
- package/dist/marketplace/install-plan.d.ts +82 -0
- package/dist/marketplace/install-plan.d.ts.map +1 -0
- package/dist/marketplace/install-plan.js +135 -0
- package/dist/marketplace/install-plan.js.map +1 -0
- package/dist/marketplace/install-plans.d.ts +83 -0
- package/dist/marketplace/install-plans.d.ts.map +1 -0
- package/dist/marketplace/install-plans.js +62 -0
- package/dist/marketplace/install-plans.js.map +1 -0
- package/dist/marketplace/install-records-at.d.ts +18 -0
- package/dist/marketplace/install-records-at.d.ts.map +1 -0
- package/dist/marketplace/install-records-at.js +26 -0
- package/dist/marketplace/install-records-at.js.map +1 -0
- package/dist/marketplace/install-scopes.d.ts +50 -0
- package/dist/marketplace/install-scopes.d.ts.map +1 -0
- package/dist/marketplace/install-scopes.js +71 -0
- package/dist/marketplace/install-scopes.js.map +1 -0
- package/dist/marketplace/installed-plugins-store.d.ts +30 -0
- package/dist/marketplace/installed-plugins-store.d.ts.map +1 -0
- package/dist/marketplace/installed-plugins-store.js +45 -0
- package/dist/marketplace/installed-plugins-store.js.map +1 -0
- package/dist/marketplace/installed-plugins.d.ts +45 -0
- package/dist/marketplace/installed-plugins.d.ts.map +1 -0
- package/dist/marketplace/installed-plugins.js +142 -0
- package/dist/marketplace/installed-plugins.js.map +1 -0
- package/dist/marketplace/known-marketplaces.d.ts +56 -0
- package/dist/marketplace/known-marketplaces.d.ts.map +1 -0
- package/dist/marketplace/known-marketplaces.js +92 -0
- package/dist/marketplace/known-marketplaces.js.map +1 -0
- package/dist/marketplace/lfs-pointer.d.ts +22 -0
- package/dist/marketplace/lfs-pointer.d.ts.map +1 -0
- package/dist/marketplace/lfs-pointer.js +76 -0
- package/dist/marketplace/lfs-pointer.js.map +1 -0
- package/dist/marketplace/marketplace-catalog.d.ts +14 -0
- package/dist/marketplace/marketplace-catalog.d.ts.map +1 -0
- package/dist/marketplace/marketplace-catalog.js +31 -0
- package/dist/marketplace/marketplace-catalog.js.map +1 -0
- package/dist/marketplace/marketplace-download.d.ts +28 -0
- package/dist/marketplace/marketplace-download.d.ts.map +1 -0
- package/dist/marketplace/marketplace-download.js +38 -0
- package/dist/marketplace/marketplace-download.js.map +1 -0
- package/dist/marketplace/marketplace-fetch-plan.d.ts +14 -0
- package/dist/marketplace/marketplace-fetch-plan.d.ts.map +1 -0
- package/dist/marketplace/marketplace-fetch-plan.js +102 -0
- package/dist/marketplace/marketplace-fetch-plan.js.map +1 -0
- package/dist/marketplace/marketplace-input.d.ts +20 -0
- package/dist/marketplace/marketplace-input.d.ts.map +1 -0
- package/dist/marketplace/marketplace-input.js +131 -0
- package/dist/marketplace/marketplace-input.js.map +1 -0
- package/dist/marketplace/missing-plugin-diagnosis.d.ts +33 -0
- package/dist/marketplace/missing-plugin-diagnosis.d.ts.map +1 -0
- package/dist/marketplace/missing-plugin-diagnosis.js +24 -0
- package/dist/marketplace/missing-plugin-diagnosis.js.map +1 -0
- package/dist/marketplace/name-conflicts.d.ts +65 -0
- package/dist/marketplace/name-conflicts.d.ts.map +1 -0
- package/dist/marketplace/name-conflicts.js +104 -0
- package/dist/marketplace/name-conflicts.js.map +1 -0
- package/dist/marketplace/node-deps-checks.d.ts +20 -0
- package/dist/marketplace/node-deps-checks.d.ts.map +1 -0
- package/dist/marketplace/node-deps-checks.js +124 -0
- package/dist/marketplace/node-deps-checks.js.map +1 -0
- package/dist/marketplace/node-deps-failure.d.ts +53 -0
- package/dist/marketplace/node-deps-failure.d.ts.map +1 -0
- package/dist/marketplace/node-deps-failure.js +152 -0
- package/dist/marketplace/node-deps-failure.js.map +1 -0
- package/dist/marketplace/node-deps-lockfile.d.ts +35 -0
- package/dist/marketplace/node-deps-lockfile.d.ts.map +1 -0
- package/dist/marketplace/node-deps-lockfile.js +136 -0
- package/dist/marketplace/node-deps-lockfile.js.map +1 -0
- package/dist/marketplace/node-deps-spec.d.ts +56 -0
- package/dist/marketplace/node-deps-spec.d.ts.map +1 -0
- package/dist/marketplace/node-deps-spec.js +172 -0
- package/dist/marketplace/node-deps-spec.js.map +1 -0
- package/dist/marketplace/node-deps-types.d.ts +142 -0
- package/dist/marketplace/node-deps-types.d.ts.map +1 -0
- package/dist/marketplace/node-deps-types.js +15 -0
- package/dist/marketplace/node-deps-types.js.map +1 -0
- package/dist/marketplace/node-deps.d.ts +9 -0
- package/dist/marketplace/node-deps.d.ts.map +1 -0
- package/dist/marketplace/node-deps.js +76 -0
- package/dist/marketplace/node-deps.js.map +1 -0
- package/dist/marketplace/orphan-cleanup.d.ts +37 -0
- package/dist/marketplace/orphan-cleanup.d.ts.map +1 -0
- package/dist/marketplace/orphan-cleanup.js +55 -0
- package/dist/marketplace/orphan-cleanup.js.map +1 -0
- package/dist/marketplace/plugin-content.d.ts +8 -0
- package/dist/marketplace/plugin-content.d.ts.map +1 -0
- package/dist/marketplace/plugin-content.js +14 -0
- package/dist/marketplace/plugin-content.js.map +1 -0
- package/dist/marketplace/plugin-dir-dependencies.d.ts +22 -0
- package/dist/marketplace/plugin-dir-dependencies.d.ts.map +1 -0
- package/dist/marketplace/plugin-dir-dependencies.js +48 -0
- package/dist/marketplace/plugin-dir-dependencies.js.map +1 -0
- package/dist/marketplace/plugin-footprint.d.ts +59 -0
- package/dist/marketplace/plugin-footprint.d.ts.map +1 -0
- package/dist/marketplace/plugin-footprint.js +37 -0
- package/dist/marketplace/plugin-footprint.js.map +1 -0
- package/dist/marketplace/plugin-hints.d.ts +78 -0
- package/dist/marketplace/plugin-hints.d.ts.map +1 -0
- package/dist/marketplace/plugin-hints.js +107 -0
- package/dist/marketplace/plugin-hints.js.map +1 -0
- package/dist/marketplace/plugin-names.d.ts +35 -0
- package/dist/marketplace/plugin-names.d.ts.map +1 -0
- package/dist/marketplace/plugin-names.js +19 -0
- package/dist/marketplace/plugin-names.js.map +1 -0
- package/dist/marketplace/ports.d.ts +99 -0
- package/dist/marketplace/ports.d.ts.map +1 -0
- package/dist/marketplace/ports.js +2 -0
- package/dist/marketplace/ports.js.map +1 -0
- package/dist/marketplace/refused-name.d.ts +20 -0
- package/dist/marketplace/refused-name.d.ts.map +1 -0
- package/dist/marketplace/refused-name.js +31 -0
- package/dist/marketplace/refused-name.js.map +1 -0
- package/dist/marketplace/release-channels.d.ts +25 -0
- package/dist/marketplace/release-channels.d.ts.map +1 -0
- package/dist/marketplace/release-channels.js +55 -0
- package/dist/marketplace/release-channels.js.map +1 -0
- package/dist/marketplace/relevance-match.d.ts +49 -0
- package/dist/marketplace/relevance-match.d.ts.map +1 -0
- package/dist/marketplace/relevance-match.js +100 -0
- package/dist/marketplace/relevance-match.js.map +1 -0
- package/dist/marketplace/relevance-surface.d.ts +45 -0
- package/dist/marketplace/relevance-surface.d.ts.map +1 -0
- package/dist/marketplace/relevance-surface.js +37 -0
- package/dist/marketplace/relevance-surface.js.map +1 -0
- package/dist/marketplace/reload-summary.d.ts +79 -0
- package/dist/marketplace/reload-summary.d.ts.map +1 -0
- package/dist/marketplace/reload-summary.js +70 -0
- package/dist/marketplace/reload-summary.js.map +1 -0
- package/dist/marketplace/remote-plugins.d.ts +27 -0
- package/dist/marketplace/remote-plugins.d.ts.map +1 -0
- package/dist/marketplace/remote-plugins.js +43 -0
- package/dist/marketplace/remote-plugins.js.map +1 -0
- package/dist/marketplace/removal.d.ts +35 -0
- package/dist/marketplace/removal.d.ts.map +1 -0
- package/dist/marketplace/removal.js +26 -0
- package/dist/marketplace/removal.js.map +1 -0
- package/dist/marketplace/renames.d.ts +39 -0
- package/dist/marketplace/renames.d.ts.map +1 -0
- package/dist/marketplace/renames.js +123 -0
- package/dist/marketplace/renames.js.map +1 -0
- package/dist/marketplace/seed-registry.d.ts +27 -0
- package/dist/marketplace/seed-registry.d.ts.map +1 -0
- package/dist/marketplace/seed-registry.js +25 -0
- package/dist/marketplace/seed-registry.js.map +1 -0
- package/dist/marketplace/semver.d.ts +27 -0
- package/dist/marketplace/semver.d.ts.map +1 -0
- package/dist/marketplace/semver.js +51 -0
- package/dist/marketplace/semver.js.map +1 -0
- package/dist/marketplace/session-origins.d.ts +43 -0
- package/dist/marketplace/session-origins.d.ts.map +1 -0
- package/dist/marketplace/session-origins.js +39 -0
- package/dist/marketplace/session-origins.js.map +1 -0
- package/dist/marketplace/session-plugins.d.ts +50 -0
- package/dist/marketplace/session-plugins.d.ts.map +1 -0
- package/dist/marketplace/session-plugins.js +55 -0
- package/dist/marketplace/session-plugins.js.map +1 -0
- package/dist/marketplace/source-safety.d.ts +58 -0
- package/dist/marketplace/source-safety.d.ts.map +1 -0
- package/dist/marketplace/source-safety.js +173 -0
- package/dist/marketplace/source-safety.js.map +1 -0
- package/dist/marketplace/stage-report.d.ts +77 -0
- package/dist/marketplace/stage-report.d.ts.map +1 -0
- package/dist/marketplace/stage-report.js +71 -0
- package/dist/marketplace/stage-report.js.map +1 -0
- package/dist/marketplace/staged-commit.d.ts +22 -0
- package/dist/marketplace/staged-commit.d.ts.map +1 -0
- package/dist/marketplace/staged-commit.js +26 -0
- package/dist/marketplace/staged-commit.js.map +1 -0
- package/dist/marketplace/store-layout.d.ts +70 -0
- package/dist/marketplace/store-layout.d.ts.map +1 -0
- package/dist/marketplace/store-layout.js +75 -0
- package/dist/marketplace/store-layout.js.map +1 -0
- package/dist/marketplace/submodules.d.ts +34 -0
- package/dist/marketplace/submodules.d.ts.map +1 -0
- package/dist/marketplace/submodules.js +89 -0
- package/dist/marketplace/submodules.js.map +1 -0
- package/dist/marketplace/telemetry-names.d.ts +22 -0
- package/dist/marketplace/telemetry-names.d.ts.map +1 -0
- package/dist/marketplace/telemetry-names.js +27 -0
- package/dist/marketplace/telemetry-names.js.map +1 -0
- package/dist/marketplace/types.d.ts +155 -0
- package/dist/marketplace/types.d.ts.map +1 -0
- package/dist/marketplace/types.js +2 -0
- package/dist/marketplace/types.js.map +1 -0
- package/dist/marketplace/uninstall-records.d.ts +39 -0
- package/dist/marketplace/uninstall-records.d.ts.map +1 -0
- package/dist/marketplace/uninstall-records.js +42 -0
- package/dist/marketplace/uninstall-records.js.map +1 -0
- package/dist/marketplace/update-detection.d.ts +68 -0
- package/dist/marketplace/update-detection.d.ts.map +1 -0
- package/dist/marketplace/update-detection.js +72 -0
- package/dist/marketplace/update-detection.js.map +1 -0
- package/dist/marketplace/version-hash.d.ts +28 -0
- package/dist/marketplace/version-hash.d.ts.map +1 -0
- package/dist/marketplace/version-hash.js +72 -0
- package/dist/marketplace/version-hash.js.map +1 -0
- package/dist/marketplace/version-index.d.ts +7 -0
- package/dist/marketplace/version-index.d.ts.map +1 -0
- package/dist/marketplace/version-index.js +7 -0
- package/dist/marketplace/version-index.js.map +1 -0
- package/dist/marketplace/version-resolution.d.ts +68 -0
- package/dist/marketplace/version-resolution.d.ts.map +1 -0
- package/dist/marketplace/version-resolution.js +99 -0
- package/dist/marketplace/version-resolution.js.map +1 -0
- package/dist/marketplace/version-troubleshooting.d.ts +33 -0
- package/dist/marketplace/version-troubleshooting.d.ts.map +1 -0
- package/dist/marketplace/version-troubleshooting.js +25 -0
- package/dist/marketplace/version-troubleshooting.js.map +1 -0
- package/dist/mods/api/agent.d.ts +4 -0
- package/dist/mods/api/agent.d.ts.map +1 -0
- package/dist/mods/api/agent.js +44 -0
- package/dist/mods/api/agent.js.map +1 -0
- package/dist/mods/api/audio.d.ts +4 -0
- package/dist/mods/api/audio.d.ts.map +1 -0
- package/dist/mods/api/audio.js +41 -0
- package/dist/mods/api/audio.js.map +1 -0
- package/dist/mods/api/build.d.ts +60 -0
- package/dist/mods/api/build.d.ts.map +1 -0
- package/dist/mods/api/build.js +135 -0
- package/dist/mods/api/build.js.map +1 -0
- package/dist/mods/api/call.d.ts +83 -0
- package/dist/mods/api/call.d.ts.map +1 -0
- package/dist/mods/api/call.js +108 -0
- package/dist/mods/api/call.js.map +1 -0
- package/dist/mods/api/clock.d.ts +4 -0
- package/dist/mods/api/clock.d.ts.map +1 -0
- package/dist/mods/api/clock.js +72 -0
- package/dist/mods/api/clock.js.map +1 -0
- package/dist/mods/api/command.d.ts +17 -0
- package/dist/mods/api/command.d.ts.map +1 -0
- package/dist/mods/api/command.js +80 -0
- package/dist/mods/api/command.js.map +1 -0
- package/dist/mods/api/config.d.ts +8 -0
- package/dist/mods/api/config.d.ts.map +1 -0
- package/dist/mods/api/config.js +41 -0
- package/dist/mods/api/config.js.map +1 -0
- package/dist/mods/api/context-usage.d.ts +13 -0
- package/dist/mods/api/context-usage.d.ts.map +1 -0
- package/dist/mods/api/context-usage.js +18 -0
- package/dist/mods/api/context-usage.js.map +1 -0
- package/dist/mods/api/describe.d.ts +39 -0
- package/dist/mods/api/describe.d.ts.map +1 -0
- package/dist/mods/api/describe.js +59 -0
- package/dist/mods/api/describe.js.map +1 -0
- package/dist/mods/api/engine-create.d.ts +24 -0
- package/dist/mods/api/engine-create.d.ts.map +1 -0
- package/dist/mods/api/engine-create.js +74 -0
- package/dist/mods/api/engine-create.js.map +1 -0
- package/dist/mods/api/engine-settings.d.ts +21 -0
- package/dist/mods/api/engine-settings.d.ts.map +1 -0
- package/dist/mods/api/engine-settings.js +61 -0
- package/dist/mods/api/engine-settings.js.map +1 -0
- package/dist/mods/api/env.d.ts +5 -0
- package/dist/mods/api/env.d.ts.map +1 -0
- package/dist/mods/api/env.js +18 -0
- package/dist/mods/api/env.js.map +1 -0
- package/dist/mods/api/exec.d.ts +4 -0
- package/dist/mods/api/exec.d.ts.map +1 -0
- package/dist/mods/api/exec.js +146 -0
- package/dist/mods/api/exec.js.map +1 -0
- package/dist/mods/api/fetch-policy.d.ts +39 -0
- package/dist/mods/api/fetch-policy.d.ts.map +1 -0
- package/dist/mods/api/fetch-policy.js +33 -0
- package/dist/mods/api/fetch-policy.js.map +1 -0
- package/dist/mods/api/fs-ancestors.d.ts +3 -0
- package/dist/mods/api/fs-ancestors.d.ts.map +1 -0
- package/dist/mods/api/fs-ancestors.js +60 -0
- package/dist/mods/api/fs-ancestors.js.map +1 -0
- package/dist/mods/api/fs-ports.d.ts +67 -0
- package/dist/mods/api/fs-ports.d.ts.map +1 -0
- package/dist/mods/api/fs-ports.js +3 -0
- package/dist/mods/api/fs-ports.js.map +1 -0
- package/dist/mods/api/fs.d.ts +5 -0
- package/dist/mods/api/fs.d.ts.map +1 -0
- package/dist/mods/api/fs.js +98 -0
- package/dist/mods/api/fs.js.map +1 -0
- package/dist/mods/api/gate.d.ts +93 -0
- package/dist/mods/api/gate.d.ts.map +1 -0
- package/dist/mods/api/gate.js +130 -0
- package/dist/mods/api/gate.js.map +1 -0
- package/dist/mods/api/host-ports.d.ts +71 -0
- package/dist/mods/api/host-ports.d.ts.map +1 -0
- package/dist/mods/api/host-ports.js +55 -0
- package/dist/mods/api/host-ports.js.map +1 -0
- package/dist/mods/api/http-redirects.d.ts +14 -0
- package/dist/mods/api/http-redirects.d.ts.map +1 -0
- package/dist/mods/api/http-redirects.js +72 -0
- package/dist/mods/api/http-redirects.js.map +1 -0
- package/dist/mods/api/http.d.ts +5 -0
- package/dist/mods/api/http.d.ts.map +1 -0
- package/dist/mods/api/http.js +145 -0
- package/dist/mods/api/http.js.map +1 -0
- package/dist/mods/api/index.d.ts +23 -0
- package/dist/mods/api/index.d.ts.map +1 -0
- package/dist/mods/api/index.js +22 -0
- package/dist/mods/api/index.js.map +1 -0
- package/dist/mods/api/mcp.d.ts +4 -0
- package/dist/mods/api/mcp.d.ts.map +1 -0
- package/dist/mods/api/mcp.js +69 -0
- package/dist/mods/api/mcp.js.map +1 -0
- package/dist/mods/api/model-blocks.d.ts +34 -0
- package/dist/mods/api/model-blocks.d.ts.map +1 -0
- package/dist/mods/api/model-blocks.js +36 -0
- package/dist/mods/api/model-blocks.js.map +1 -0
- package/dist/mods/api/model.d.ts +4 -0
- package/dist/mods/api/model.d.ts.map +1 -0
- package/dist/mods/api/model.js +88 -0
- package/dist/mods/api/model.js.map +1 -0
- package/dist/mods/api/names.d.ts +11 -0
- package/dist/mods/api/names.d.ts.map +1 -0
- package/dist/mods/api/names.js +16 -0
- package/dist/mods/api/names.js.map +1 -0
- package/dist/mods/api/optional-port-types.d.ts +110 -0
- package/dist/mods/api/optional-port-types.d.ts.map +1 -0
- package/dist/mods/api/optional-port-types.js +2 -0
- package/dist/mods/api/optional-port-types.js.map +1 -0
- package/dist/mods/api/output-cut.d.ts +9 -0
- package/dist/mods/api/output-cut.d.ts.map +1 -0
- package/dist/mods/api/output-cut.js +10 -0
- package/dist/mods/api/output-cut.js.map +1 -0
- package/dist/mods/api/paths.d.ts +10 -0
- package/dist/mods/api/paths.d.ts.map +1 -0
- package/dist/mods/api/paths.js +17 -0
- package/dist/mods/api/paths.js.map +1 -0
- package/dist/mods/api/plugin.d.ts +5 -0
- package/dist/mods/api/plugin.d.ts.map +1 -0
- package/dist/mods/api/plugin.js +6 -0
- package/dist/mods/api/plugin.js.map +1 -0
- package/dist/mods/api/ports.d.ts +260 -0
- package/dist/mods/api/ports.d.ts.map +1 -0
- package/dist/mods/api/ports.js +3 -0
- package/dist/mods/api/ports.js.map +1 -0
- package/dist/mods/api/prompt.d.ts +4 -0
- package/dist/mods/api/prompt.d.ts.map +1 -0
- package/dist/mods/api/prompt.js +77 -0
- package/dist/mods/api/prompt.js.map +1 -0
- package/dist/mods/api/refusal.d.ts +26 -0
- package/dist/mods/api/refusal.d.ts.map +1 -0
- package/dist/mods/api/refusal.js +69 -0
- package/dist/mods/api/refusal.js.map +1 -0
- package/dist/mods/api/registries.d.ts +84 -0
- package/dist/mods/api/registries.d.ts.map +1 -0
- package/dist/mods/api/registries.js +82 -0
- package/dist/mods/api/registries.js.map +1 -0
- package/dist/mods/api/replay.d.ts +30 -0
- package/dist/mods/api/replay.d.ts.map +1 -0
- package/dist/mods/api/replay.js +63 -0
- package/dist/mods/api/replay.js.map +1 -0
- package/dist/mods/api/rules.d.ts +7 -0
- package/dist/mods/api/rules.d.ts.map +1 -0
- package/dist/mods/api/rules.js +26 -0
- package/dist/mods/api/rules.js.map +1 -0
- package/dist/mods/api/scope.d.ts +31 -0
- package/dist/mods/api/scope.d.ts.map +1 -0
- package/dist/mods/api/scope.js +30 -0
- package/dist/mods/api/scope.js.map +1 -0
- package/dist/mods/api/scoped-call.d.ts +9 -0
- package/dist/mods/api/scoped-call.d.ts.map +1 -0
- package/dist/mods/api/scoped-call.js +15 -0
- package/dist/mods/api/scoped-call.js.map +1 -0
- package/dist/mods/api/session.d.ts +4 -0
- package/dist/mods/api/session.d.ts.map +1 -0
- package/dist/mods/api/session.js +99 -0
- package/dist/mods/api/session.js.map +1 -0
- package/dist/mods/api/settings-layers.d.ts +17 -0
- package/dist/mods/api/settings-layers.d.ts.map +1 -0
- package/dist/mods/api/settings-layers.js +80 -0
- package/dist/mods/api/settings-layers.js.map +1 -0
- package/dist/mods/api/settings.d.ts +4 -0
- package/dist/mods/api/settings.d.ts.map +1 -0
- package/dist/mods/api/settings.js +53 -0
- package/dist/mods/api/settings.js.map +1 -0
- package/dist/mods/api/state-library-source.d.ts +11 -0
- package/dist/mods/api/state-library-source.d.ts.map +1 -0
- package/dist/mods/api/state-library-source.js +64 -0
- package/dist/mods/api/state-library-source.js.map +1 -0
- package/dist/mods/api/state-library.d.ts +52 -0
- package/dist/mods/api/state-library.d.ts.map +1 -0
- package/dist/mods/api/state-library.js +97 -0
- package/dist/mods/api/state-library.js.map +1 -0
- package/dist/mods/api/state.d.ts +53 -0
- package/dist/mods/api/state.d.ts.map +1 -0
- package/dist/mods/api/state.js +91 -0
- package/dist/mods/api/state.js.map +1 -0
- package/dist/mods/api/store.d.ts +9 -0
- package/dist/mods/api/store.d.ts.map +1 -0
- package/dist/mods/api/store.js +64 -0
- package/dist/mods/api/store.js.map +1 -0
- package/dist/mods/api/telemetry-origin.d.ts +4 -0
- package/dist/mods/api/telemetry-origin.d.ts.map +1 -0
- package/dist/mods/api/telemetry-origin.js +4 -0
- package/dist/mods/api/telemetry-origin.js.map +1 -0
- package/dist/mods/api/telemetry.d.ts +13 -0
- package/dist/mods/api/telemetry.d.ts.map +1 -0
- package/dist/mods/api/telemetry.js +63 -0
- package/dist/mods/api/telemetry.js.map +1 -0
- package/dist/mods/api/theme.d.ts +16 -0
- package/dist/mods/api/theme.d.ts.map +1 -0
- package/dist/mods/api/theme.js +83 -0
- package/dist/mods/api/theme.js.map +1 -0
- package/dist/mods/api/tool.d.ts +4 -0
- package/dist/mods/api/tool.d.ts.map +1 -0
- package/dist/mods/api/tool.js +47 -0
- package/dist/mods/api/tool.js.map +1 -0
- package/dist/mods/api/turn.d.ts +4 -0
- package/dist/mods/api/turn.d.ts.map +1 -0
- package/dist/mods/api/turn.js +8 -0
- package/dist/mods/api/turn.js.map +1 -0
- package/dist/mods/async-slot.d.ts +12 -0
- package/dist/mods/async-slot.d.ts.map +1 -0
- package/dist/mods/async-slot.js +22 -0
- package/dist/mods/async-slot.js.map +1 -0
- package/dist/mods/chain/api-guard.d.ts +13 -0
- package/dist/mods/chain/api-guard.d.ts.map +1 -0
- package/dist/mods/chain/api-guard.js +86 -0
- package/dist/mods/chain/api-guard.js.map +1 -0
- package/dist/mods/chain/context.d.ts +44 -0
- package/dist/mods/chain/context.d.ts.map +1 -0
- package/dist/mods/chain/context.js +11 -0
- package/dist/mods/chain/context.js.map +1 -0
- package/dist/mods/chain/core.d.ts +12 -0
- package/dist/mods/chain/core.d.ts.map +1 -0
- package/dist/mods/chain/core.js +33 -0
- package/dist/mods/chain/core.js.map +1 -0
- package/dist/mods/chain/dispatch.d.ts +27 -0
- package/dist/mods/chain/dispatch.d.ts.map +1 -0
- package/dist/mods/chain/dispatch.js +81 -0
- package/dist/mods/chain/dispatch.js.map +1 -0
- package/dist/mods/chain/downstream.d.ts +36 -0
- package/dist/mods/chain/downstream.d.ts.map +1 -0
- package/dist/mods/chain/downstream.js +48 -0
- package/dist/mods/chain/downstream.js.map +1 -0
- package/dist/mods/chain/failure.d.ts +59 -0
- package/dist/mods/chain/failure.d.ts.map +1 -0
- package/dist/mods/chain/failure.js +114 -0
- package/dist/mods/chain/failure.js.map +1 -0
- package/dist/mods/chain/frames.d.ts +22 -0
- package/dist/mods/chain/frames.d.ts.map +1 -0
- package/dist/mods/chain/frames.js +32 -0
- package/dist/mods/chain/frames.js.map +1 -0
- package/dist/mods/chain/guarded.d.ts +29 -0
- package/dist/mods/chain/guarded.d.ts.map +1 -0
- package/dist/mods/chain/guarded.js +47 -0
- package/dist/mods/chain/guarded.js.map +1 -0
- package/dist/mods/chain/hook-body.d.ts +7 -0
- package/dist/mods/chain/hook-body.d.ts.map +1 -0
- package/dist/mods/chain/hook-body.js +11 -0
- package/dist/mods/chain/hook-body.js.map +1 -0
- package/dist/mods/chain/index.d.ts +5 -0
- package/dist/mods/chain/index.d.ts.map +1 -0
- package/dist/mods/chain/index.js +5 -0
- package/dist/mods/chain/index.js.map +1 -0
- package/dist/mods/chain/invoke.d.ts +10 -0
- package/dist/mods/chain/invoke.d.ts.map +1 -0
- package/dist/mods/chain/invoke.js +223 -0
- package/dist/mods/chain/invoke.js.map +1 -0
- package/dist/mods/chain/judge.d.ts +26 -0
- package/dist/mods/chain/judge.d.ts.map +1 -0
- package/dist/mods/chain/judge.js +55 -0
- package/dist/mods/chain/judge.js.map +1 -0
- package/dist/mods/chain/linger.d.ts +13 -0
- package/dist/mods/chain/linger.d.ts.map +1 -0
- package/dist/mods/chain/linger.js +32 -0
- package/dist/mods/chain/linger.js.map +1 -0
- package/dist/mods/chain/link-trace.d.ts +47 -0
- package/dist/mods/chain/link-trace.d.ts.map +1 -0
- package/dist/mods/chain/link-trace.js +45 -0
- package/dist/mods/chain/link-trace.js.map +1 -0
- package/dist/mods/chain/match-local.d.ts +30 -0
- package/dist/mods/chain/match-local.d.ts.map +1 -0
- package/dist/mods/chain/match-local.js +83 -0
- package/dist/mods/chain/match-local.js.map +1 -0
- package/dist/mods/chain/matcher.d.ts +46 -0
- package/dist/mods/chain/matcher.d.ts.map +1 -0
- package/dist/mods/chain/matcher.js +116 -0
- package/dist/mods/chain/matcher.js.map +1 -0
- package/dist/mods/chain/nesting.d.ts +9 -0
- package/dist/mods/chain/nesting.d.ts.map +1 -0
- package/dist/mods/chain/nesting.js +13 -0
- package/dist/mods/chain/nesting.js.map +1 -0
- package/dist/mods/chain/next.d.ts +45 -0
- package/dist/mods/chain/next.d.ts.map +1 -0
- package/dist/mods/chain/next.js +140 -0
- package/dist/mods/chain/next.js.map +1 -0
- package/dist/mods/chain/only.d.ts +5 -0
- package/dist/mods/chain/only.d.ts.map +1 -0
- package/dist/mods/chain/only.js +3 -0
- package/dist/mods/chain/only.js.map +1 -0
- package/dist/mods/chain/reentry.d.ts +23 -0
- package/dist/mods/chain/reentry.d.ts.map +1 -0
- package/dist/mods/chain/reentry.js +18 -0
- package/dist/mods/chain/reentry.js.map +1 -0
- package/dist/mods/chain/registry.d.ts +33 -0
- package/dist/mods/chain/registry.d.ts.map +1 -0
- package/dist/mods/chain/registry.js +68 -0
- package/dist/mods/chain/registry.js.map +1 -0
- package/dist/mods/chain/rules.d.ts +12 -0
- package/dist/mods/chain/rules.d.ts.map +1 -0
- package/dist/mods/chain/rules.js +19 -0
- package/dist/mods/chain/rules.js.map +1 -0
- package/dist/mods/chain/select.d.ts +8 -0
- package/dist/mods/chain/select.d.ts.map +1 -0
- package/dist/mods/chain/select.js +18 -0
- package/dist/mods/chain/select.js.map +1 -0
- package/dist/mods/chain/tiers.d.ts +14 -0
- package/dist/mods/chain/tiers.d.ts.map +1 -0
- package/dist/mods/chain/tiers.js +34 -0
- package/dist/mods/chain/tiers.js.map +1 -0
- package/dist/mods/chain/trace.d.ts +30 -0
- package/dist/mods/chain/trace.d.ts.map +1 -0
- package/dist/mods/chain/trace.js +51 -0
- package/dist/mods/chain/trace.js.map +1 -0
- package/dist/mods/chain/validate.d.ts +16 -0
- package/dist/mods/chain/validate.d.ts.map +1 -0
- package/dist/mods/chain/validate.js +70 -0
- package/dist/mods/chain/validate.js.map +1 -0
- package/dist/mods/chain/wildcard.d.ts +19 -0
- package/dist/mods/chain/wildcard.d.ts.map +1 -0
- package/dist/mods/chain/wildcard.js +43 -0
- package/dist/mods/chain/wildcard.js.map +1 -0
- package/dist/mods/events/agent.d.ts +9 -0
- package/dist/mods/events/agent.d.ts.map +1 -0
- package/dist/mods/events/agent.js +28 -0
- package/dist/mods/events/agent.js.map +1 -0
- package/dist/mods/events/attribution.d.ts +4 -0
- package/dist/mods/events/attribution.d.ts.map +1 -0
- package/dist/mods/events/attribution.js +4 -0
- package/dist/mods/events/attribution.js.map +1 -0
- package/dist/mods/events/autocomplete.d.ts +8 -0
- package/dist/mods/events/autocomplete.d.ts.map +1 -0
- package/dist/mods/events/autocomplete.js +13 -0
- package/dist/mods/events/autocomplete.js.map +1 -0
- package/dist/mods/events/command.d.ts +29 -0
- package/dist/mods/events/command.d.ts.map +1 -0
- package/dist/mods/events/command.js +70 -0
- package/dist/mods/events/command.js.map +1 -0
- package/dist/mods/events/config.d.ts +9 -0
- package/dist/mods/events/config.d.ts.map +1 -0
- package/dist/mods/events/config.js +22 -0
- package/dist/mods/events/config.js.map +1 -0
- package/dist/mods/events/index.d.ts +67 -0
- package/dist/mods/events/index.d.ts.map +1 -0
- package/dist/mods/events/index.js +71 -0
- package/dist/mods/events/index.js.map +1 -0
- package/dist/mods/events/input-review.d.ts +28 -0
- package/dist/mods/events/input-review.d.ts.map +1 -0
- package/dist/mods/events/input-review.js +38 -0
- package/dist/mods/events/input-review.js.map +1 -0
- package/dist/mods/events/prompt-cache.d.ts +32 -0
- package/dist/mods/events/prompt-cache.d.ts.map +1 -0
- package/dist/mods/events/prompt-cache.js +9 -0
- package/dist/mods/events/prompt-cache.js.map +1 -0
- package/dist/mods/events/prompt.d.ts +28 -0
- package/dist/mods/events/prompt.d.ts.map +1 -0
- package/dist/mods/events/prompt.js +86 -0
- package/dist/mods/events/prompt.js.map +1 -0
- package/dist/mods/events/read-only.d.ts +21 -0
- package/dist/mods/events/read-only.d.ts.map +1 -0
- package/dist/mods/events/read-only.js +37 -0
- package/dist/mods/events/read-only.js.map +1 -0
- package/dist/mods/events/reasons.d.ts +22 -0
- package/dist/mods/events/reasons.d.ts.map +1 -0
- package/dist/mods/events/reasons.js +44 -0
- package/dist/mods/events/reasons.js.map +1 -0
- package/dist/mods/events/session.d.ts +9 -0
- package/dist/mods/events/session.d.ts.map +1 -0
- package/dist/mods/events/session.js +63 -0
- package/dist/mods/events/session.js.map +1 -0
- package/dist/mods/events/skill-prompt-event.d.ts +31 -0
- package/dist/mods/events/skill-prompt-event.d.ts.map +1 -0
- package/dist/mods/events/skill-prompt-event.js +23 -0
- package/dist/mods/events/skill-prompt-event.js.map +1 -0
- package/dist/mods/events/skill.d.ts +3 -0
- package/dist/mods/events/skill.d.ts.map +1 -0
- package/dist/mods/events/skill.js +33 -0
- package/dist/mods/events/skill.js.map +1 -0
- package/dist/mods/events/spec.d.ts +35 -0
- package/dist/mods/events/spec.d.ts.map +1 -0
- package/dist/mods/events/spec.js +51 -0
- package/dist/mods/events/spec.js.map +1 -0
- package/dist/mods/events/tool-check-merge.d.ts +36 -0
- package/dist/mods/events/tool-check-merge.d.ts.map +1 -0
- package/dist/mods/events/tool-check-merge.js +34 -0
- package/dist/mods/events/tool-check-merge.js.map +1 -0
- package/dist/mods/events/tool.d.ts +12 -0
- package/dist/mods/events/tool.d.ts.map +1 -0
- package/dist/mods/events/tool.js +35 -0
- package/dist/mods/events/tool.js.map +1 -0
- package/dist/mods/events/turn.d.ts +9 -0
- package/dist/mods/events/turn.d.ts.map +1 -0
- package/dist/mods/events/turn.js +44 -0
- package/dist/mods/events/turn.js.map +1 -0
- package/dist/mods/index.d.ts +10 -0
- package/dist/mods/index.d.ts.map +1 -0
- package/dist/mods/index.js +7 -0
- package/dist/mods/index.js.map +1 -0
- package/dist/mods/load/auto-mode-approval.d.ts +18 -0
- package/dist/mods/load/auto-mode-approval.d.ts.map +1 -0
- package/dist/mods/load/auto-mode-approval.js +3 -0
- package/dist/mods/load/auto-mode-approval.js.map +1 -0
- package/dist/mods/load/change-notice.d.ts +4 -0
- package/dist/mods/load/change-notice.d.ts.map +1 -0
- package/dist/mods/load/change-notice.js +17 -0
- package/dist/mods/load/change-notice.js.map +1 -0
- package/dist/mods/load/commands/active-line.d.ts +10 -0
- package/dist/mods/load/commands/active-line.d.ts.map +1 -0
- package/dist/mods/load/commands/active-line.js +12 -0
- package/dist/mods/load/commands/active-line.js.map +1 -0
- package/dist/mods/load/commands/scan-lead.d.ts +20 -0
- package/dist/mods/load/commands/scan-lead.d.ts.map +1 -0
- package/dist/mods/load/commands/scan-lead.js +54 -0
- package/dist/mods/load/commands/scan-lead.js.map +1 -0
- package/dist/mods/load/commands/scan-lines.d.ts +17 -0
- package/dist/mods/load/commands/scan-lines.d.ts.map +1 -0
- package/dist/mods/load/commands/scan-lines.js +83 -0
- package/dist/mods/load/commands/scan-lines.js.map +1 -0
- package/dist/mods/load/commands/validate-report.d.ts +49 -0
- package/dist/mods/load/commands/validate-report.d.ts.map +1 -0
- package/dist/mods/load/commands/validate-report.js +2 -0
- package/dist/mods/load/commands/validate-report.js.map +1 -0
- package/dist/mods/load/commands/validate.d.ts +5 -0
- package/dist/mods/load/commands/validate.d.ts.map +1 -0
- package/dist/mods/load/commands/validate.js +215 -0
- package/dist/mods/load/commands/validate.js.map +1 -0
- package/dist/mods/load/compile-output.d.ts +40 -0
- package/dist/mods/load/compile-output.d.ts.map +1 -0
- package/dist/mods/load/compile-output.js +58 -0
- package/dist/mods/load/compile-output.js.map +1 -0
- package/dist/mods/load/crash-recovery.d.ts +30 -0
- package/dist/mods/load/crash-recovery.d.ts.map +1 -0
- package/dist/mods/load/crash-recovery.js +55 -0
- package/dist/mods/load/crash-recovery.js.map +1 -0
- package/dist/mods/load/engine-faults.d.ts +21 -0
- package/dist/mods/load/engine-faults.d.ts.map +1 -0
- package/dist/mods/load/engine-faults.js +22 -0
- package/dist/mods/load/engine-faults.js.map +1 -0
- package/dist/mods/load/guard-notes.d.ts +4 -0
- package/dist/mods/load/guard-notes.d.ts.map +1 -0
- package/dist/mods/load/guard-notes.js +24 -0
- package/dist/mods/load/guard-notes.js.map +1 -0
- package/dist/mods/load/guard-protection.d.ts +17 -0
- package/dist/mods/load/guard-protection.d.ts.map +1 -0
- package/dist/mods/load/guard-protection.js +59 -0
- package/dist/mods/load/guard-protection.js.map +1 -0
- package/dist/mods/load/guard-surfaces.d.ts +4 -0
- package/dist/mods/load/guard-surfaces.d.ts.map +1 -0
- package/dist/mods/load/guard-surfaces.js +20 -0
- package/dist/mods/load/guard-surfaces.js.map +1 -0
- package/dist/mods/load/guard.d.ts +35 -0
- package/dist/mods/load/guard.d.ts.map +1 -0
- package/dist/mods/load/guard.js +136 -0
- package/dist/mods/load/guard.js.map +1 -0
- package/dist/mods/load/guest.d.ts +5 -0
- package/dist/mods/load/guest.d.ts.map +1 -0
- package/dist/mods/load/guest.js +58 -0
- package/dist/mods/load/guest.js.map +1 -0
- package/dist/mods/load/health.d.ts +30 -0
- package/dist/mods/load/health.d.ts.map +1 -0
- package/dist/mods/load/health.js +33 -0
- package/dist/mods/load/health.js.map +1 -0
- package/dist/mods/load/host-options.d.ts +72 -0
- package/dist/mods/load/host-options.d.ts.map +1 -0
- package/dist/mods/load/host-options.js +2 -0
- package/dist/mods/load/host-options.js.map +1 -0
- package/dist/mods/load/host-support.d.ts +101 -0
- package/dist/mods/load/host-support.d.ts.map +1 -0
- package/dist/mods/load/host-support.js +89 -0
- package/dist/mods/load/host-support.js.map +1 -0
- package/dist/mods/load/host.d.ts +90 -0
- package/dist/mods/load/host.d.ts.map +1 -0
- package/dist/mods/load/host.js +110 -0
- package/dist/mods/load/host.js.map +1 -0
- package/dist/mods/load/index.d.ts +29 -0
- package/dist/mods/load/index.d.ts.map +1 -0
- package/dist/mods/load/index.js +25 -0
- package/dist/mods/load/index.js.map +1 -0
- package/dist/mods/load/line-channel.d.ts +25 -0
- package/dist/mods/load/line-channel.d.ts.map +1 -0
- package/dist/mods/load/line-channel.js +45 -0
- package/dist/mods/load/line-channel.js.map +1 -0
- package/dist/mods/load/loader-io.d.ts +9 -0
- package/dist/mods/load/loader-io.d.ts.map +1 -0
- package/dist/mods/load/loader-io.js +20 -0
- package/dist/mods/load/loader-io.js.map +1 -0
- package/dist/mods/load/loader.d.ts +77 -0
- package/dist/mods/load/loader.d.ts.map +1 -0
- package/dist/mods/load/loader.js +134 -0
- package/dist/mods/load/loader.js.map +1 -0
- package/dist/mods/load/mod-set.d.ts +53 -0
- package/dist/mods/load/mod-set.d.ts.map +1 -0
- package/dist/mods/load/mod-set.js +187 -0
- package/dist/mods/load/mod-set.js.map +1 -0
- package/dist/mods/load/options.d.ts +14 -0
- package/dist/mods/load/options.d.ts.map +1 -0
- package/dist/mods/load/options.js +82 -0
- package/dist/mods/load/options.js.map +1 -0
- package/dist/mods/load/order.d.ts +53 -0
- package/dist/mods/load/order.d.ts.map +1 -0
- package/dist/mods/load/order.js +138 -0
- package/dist/mods/load/order.js.map +1 -0
- package/dist/mods/load/plugin-dirs.d.ts +26 -0
- package/dist/mods/load/plugin-dirs.d.ts.map +1 -0
- package/dist/mods/load/plugin-dirs.js +89 -0
- package/dist/mods/load/plugin-dirs.js.map +1 -0
- package/dist/mods/load/policy-input.d.ts +80 -0
- package/dist/mods/load/policy-input.d.ts.map +1 -0
- package/dist/mods/load/policy-input.js +56 -0
- package/dist/mods/load/policy-input.js.map +1 -0
- package/dist/mods/load/policy.d.ts +71 -0
- package/dist/mods/load/policy.d.ts.map +1 -0
- package/dist/mods/load/policy.js +152 -0
- package/dist/mods/load/policy.js.map +1 -0
- package/dist/mods/load/prepare.d.ts +29 -0
- package/dist/mods/load/prepare.d.ts.map +1 -0
- package/dist/mods/load/prepare.js +91 -0
- package/dist/mods/load/prepare.js.map +1 -0
- package/dist/mods/load/prompt-flow.d.ts +16 -0
- package/dist/mods/load/prompt-flow.d.ts.map +1 -0
- package/dist/mods/load/prompt-flow.js +12 -0
- package/dist/mods/load/prompt-flow.js.map +1 -0
- package/dist/mods/load/register-call.d.ts +32 -0
- package/dist/mods/load/register-call.d.ts.map +1 -0
- package/dist/mods/load/register-call.js +62 -0
- package/dist/mods/load/register-call.js.map +1 -0
- package/dist/mods/load/registered.d.ts +24 -0
- package/dist/mods/load/registered.d.ts.map +1 -0
- package/dist/mods/load/registered.js +12 -0
- package/dist/mods/load/registered.js.map +1 -0
- package/dist/mods/load/scan/ast.d.ts +44 -0
- package/dist/mods/load/scan/ast.d.ts.map +1 -0
- package/dist/mods/load/scan/ast.js +42 -0
- package/dist/mods/load/scan/ast.js.map +1 -0
- package/dist/mods/load/scan/client-modules.d.ts +33 -0
- package/dist/mods/load/scan/client-modules.d.ts.map +1 -0
- package/dist/mods/load/scan/client-modules.js +106 -0
- package/dist/mods/load/scan/client-modules.js.map +1 -0
- package/dist/mods/load/scan/engine-fold.d.ts +16 -0
- package/dist/mods/load/scan/engine-fold.d.ts.map +1 -0
- package/dist/mods/load/scan/engine-fold.js +80 -0
- package/dist/mods/load/scan/engine-fold.js.map +1 -0
- package/dist/mods/load/scan/event-names.d.ts +3 -0
- package/dist/mods/load/scan/event-names.d.ts.map +1 -0
- package/dist/mods/load/scan/event-names.js +20 -0
- package/dist/mods/load/scan/event-names.js.map +1 -0
- package/dist/mods/load/scan/file-rules.d.ts +16 -0
- package/dist/mods/load/scan/file-rules.d.ts.map +1 -0
- package/dist/mods/load/scan/file-rules.js +102 -0
- package/dist/mods/load/scan/file-rules.js.map +1 -0
- package/dist/mods/load/scan/found.d.ts +17 -0
- package/dist/mods/load/scan/found.d.ts.map +1 -0
- package/dist/mods/load/scan/found.js +11 -0
- package/dist/mods/load/scan/found.js.map +1 -0
- package/dist/mods/load/scan/index.d.ts +23 -0
- package/dist/mods/load/scan/index.d.ts.map +1 -0
- package/dist/mods/load/scan/index.js +108 -0
- package/dist/mods/load/scan/index.js.map +1 -0
- package/dist/mods/load/scan/issue-codes.d.ts +40 -0
- package/dist/mods/load/scan/issue-codes.d.ts.map +1 -0
- package/dist/mods/load/scan/issue-codes.js +58 -0
- package/dist/mods/load/scan/issue-codes.js.map +1 -0
- package/dist/mods/load/scan/matcher-label.d.ts +8 -0
- package/dist/mods/load/scan/matcher-label.d.ts.map +1 -0
- package/dist/mods/load/scan/matcher-label.js +53 -0
- package/dist/mods/load/scan/matcher-label.js.map +1 -0
- package/dist/mods/load/scan/messages.d.ts +16 -0
- package/dist/mods/load/scan/messages.d.ts.map +1 -0
- package/dist/mods/load/scan/messages.js +16 -0
- package/dist/mods/load/scan/messages.js.map +1 -0
- package/dist/mods/load/scan/on-rules.d.ts +32 -0
- package/dist/mods/load/scan/on-rules.d.ts.map +1 -0
- package/dist/mods/load/scan/on-rules.js +39 -0
- package/dist/mods/load/scan/on-rules.js.map +1 -0
- package/dist/mods/load/scan/register-export.d.ts +4 -0
- package/dist/mods/load/scan/register-export.d.ts.map +1 -0
- package/dist/mods/load/scan/register-export.js +39 -0
- package/dist/mods/load/scan/register-export.js.map +1 -0
- package/dist/mods/load/scan/rules.d.ts +23 -0
- package/dist/mods/load/scan/rules.d.ts.map +1 -0
- package/dist/mods/load/scan/rules.js +235 -0
- package/dist/mods/load/scan/rules.js.map +1 -0
- package/dist/mods/load/scan/state-sources.d.ts +18 -0
- package/dist/mods/load/scan/state-sources.d.ts.map +1 -0
- package/dist/mods/load/scan/state-sources.js +56 -0
- package/dist/mods/load/scan/state-sources.js.map +1 -0
- package/dist/mods/load/scan/top-level.d.ts +42 -0
- package/dist/mods/load/scan/top-level.d.ts.map +1 -0
- package/dist/mods/load/scan/top-level.js +137 -0
- package/dist/mods/load/scan/top-level.js.map +1 -0
- package/dist/mods/load/scan/uses.d.ts +63 -0
- package/dist/mods/load/scan/uses.d.ts.map +1 -0
- package/dist/mods/load/scan/uses.js +19 -0
- package/dist/mods/load/scan/uses.js.map +1 -0
- package/dist/mods/load/scan/walk.d.ts +12 -0
- package/dist/mods/load/scan/walk.d.ts.map +1 -0
- package/dist/mods/load/scan/walk.js +72 -0
- package/dist/mods/load/scan/walk.js.map +1 -0
- package/dist/mods/load/skip-reports.d.ts +18 -0
- package/dist/mods/load/skip-reports.d.ts.map +1 -0
- package/dist/mods/load/skip-reports.js +29 -0
- package/dist/mods/load/skip-reports.js.map +1 -0
- package/dist/mods/load/tool-flow.d.ts +45 -0
- package/dist/mods/load/tool-flow.d.ts.map +1 -0
- package/dist/mods/load/tool-flow.js +88 -0
- package/dist/mods/load/tool-flow.js.map +1 -0
- package/dist/mods/load/types-decl.d.ts +24 -0
- package/dist/mods/load/types-decl.d.ts.map +1 -0
- package/dist/mods/load/types-decl.js +108 -0
- package/dist/mods/load/types-decl.js.map +1 -0
- package/dist/mods/load/unanswered.d.ts +9 -0
- package/dist/mods/load/unanswered.d.ts.map +1 -0
- package/dist/mods/load/unanswered.js +21 -0
- package/dist/mods/load/unanswered.js.map +1 -0
- package/dist/mods/load/where-mods-run.d.ts +41 -0
- package/dist/mods/load/where-mods-run.d.ts.map +1 -0
- package/dist/mods/load/where-mods-run.js +67 -0
- package/dist/mods/load/where-mods-run.js.map +1 -0
- package/dist/mods/load/wiring.d.ts +53 -0
- package/dist/mods/load/wiring.d.ts.map +1 -0
- package/dist/mods/load/wiring.js +160 -0
- package/dist/mods/load/wiring.js.map +1 -0
- package/dist/mods/load/written-mods.d.ts +48 -0
- package/dist/mods/load/written-mods.d.ts.map +1 -0
- package/dist/mods/load/written-mods.js +96 -0
- package/dist/mods/load/written-mods.js.map +1 -0
- package/dist/mods/ports.d.ts +170 -0
- package/dist/mods/ports.d.ts.map +1 -0
- package/dist/mods/ports.js +2 -0
- package/dist/mods/ports.js.map +1 -0
- package/dist/mods/trace-types.d.ts +50 -0
- package/dist/mods/trace-types.d.ts.map +1 -0
- package/dist/mods/trace-types.js +2 -0
- package/dist/mods/trace-types.js.map +1 -0
- package/dist/mods/types.d.ts +231 -0
- package/dist/mods/types.d.ts.map +1 -0
- package/dist/mods/types.js +2 -0
- package/dist/mods/types.js.map +1 -0
- package/dist/mods/ui/controls/hotkeys.d.ts +28 -0
- package/dist/mods/ui/controls/hotkeys.d.ts.map +1 -0
- package/dist/mods/ui/controls/hotkeys.js +52 -0
- package/dist/mods/ui/controls/hotkeys.js.map +1 -0
- package/dist/mods/ui/controls/keys.d.ts +14 -0
- package/dist/mods/ui/controls/keys.d.ts.map +1 -0
- package/dist/mods/ui/controls/keys.js +25 -0
- package/dist/mods/ui/controls/keys.js.map +1 -0
- package/dist/mods/ui/controls/route.d.ts +49 -0
- package/dist/mods/ui/controls/route.d.ts.map +1 -0
- package/dist/mods/ui/controls/route.js +71 -0
- package/dist/mods/ui/controls/route.js.map +1 -0
- package/dist/mods/ui/elements/box.d.ts +14 -0
- package/dist/mods/ui/elements/box.d.ts.map +1 -0
- package/dist/mods/ui/elements/box.js +70 -0
- package/dist/mods/ui/elements/box.js.map +1 -0
- package/dist/mods/ui/elements/button.d.ts +12 -0
- package/dist/mods/ui/elements/button.d.ts.map +1 -0
- package/dist/mods/ui/elements/button.js +59 -0
- package/dist/mods/ui/elements/button.js.map +1 -0
- package/dist/mods/ui/elements/children.d.ts +7 -0
- package/dist/mods/ui/elements/children.d.ts.map +1 -0
- package/dist/mods/ui/elements/children.js +56 -0
- package/dist/mods/ui/elements/children.js.map +1 -0
- package/dist/mods/ui/elements/client.d.ts +13 -0
- package/dist/mods/ui/elements/client.d.ts.map +1 -0
- package/dist/mods/ui/elements/client.js +29 -0
- package/dist/mods/ui/elements/client.js.map +1 -0
- package/dist/mods/ui/elements/code.d.ts +3 -0
- package/dist/mods/ui/elements/code.d.ts.map +1 -0
- package/dist/mods/ui/elements/code.js +9 -0
- package/dist/mods/ui/elements/code.js.map +1 -0
- package/dist/mods/ui/elements/def.d.ts +31 -0
- package/dist/mods/ui/elements/def.d.ts.map +1 -0
- package/dist/mods/ui/elements/def.js +46 -0
- package/dist/mods/ui/elements/def.js.map +1 -0
- package/dist/mods/ui/elements/image.d.ts +12 -0
- package/dist/mods/ui/elements/image.d.ts.map +1 -0
- package/dist/mods/ui/elements/image.js +18 -0
- package/dist/mods/ui/elements/image.js.map +1 -0
- package/dist/mods/ui/elements/index.d.ts +13 -0
- package/dist/mods/ui/elements/index.d.ts.map +1 -0
- package/dist/mods/ui/elements/index.js +13 -0
- package/dist/mods/ui/elements/index.js.map +1 -0
- package/dist/mods/ui/elements/input.d.ts +3 -0
- package/dist/mods/ui/elements/input.d.ts.map +1 -0
- package/dist/mods/ui/elements/input.js +25 -0
- package/dist/mods/ui/elements/input.js.map +1 -0
- package/dist/mods/ui/elements/jsx.d.ts +16 -0
- package/dist/mods/ui/elements/jsx.d.ts.map +1 -0
- package/dist/mods/ui/elements/jsx.js +20 -0
- package/dist/mods/ui/elements/jsx.js.map +1 -0
- package/dist/mods/ui/elements/limits.d.ts +23 -0
- package/dist/mods/ui/elements/limits.d.ts.map +1 -0
- package/dist/mods/ui/elements/limits.js +66 -0
- package/dist/mods/ui/elements/limits.js.map +1 -0
- package/dist/mods/ui/elements/link.d.ts +11 -0
- package/dist/mods/ui/elements/link.d.ts.map +1 -0
- package/dist/mods/ui/elements/link.js +36 -0
- package/dist/mods/ui/elements/link.js.map +1 -0
- package/dist/mods/ui/elements/markdown.d.ts +4 -0
- package/dist/mods/ui/elements/markdown.d.ts.map +1 -0
- package/dist/mods/ui/elements/markdown.js +11 -0
- package/dist/mods/ui/elements/markdown.js.map +1 -0
- package/dist/mods/ui/elements/node.d.ts +38 -0
- package/dist/mods/ui/elements/node.d.ts.map +1 -0
- package/dist/mods/ui/elements/node.js +43 -0
- package/dist/mods/ui/elements/node.js.map +1 -0
- package/dist/mods/ui/elements/plain.d.ts +21 -0
- package/dist/mods/ui/elements/plain.d.ts.map +1 -0
- package/dist/mods/ui/elements/plain.js +32 -0
- package/dist/mods/ui/elements/plain.js.map +1 -0
- package/dist/mods/ui/elements/raster.d.ts +8 -0
- package/dist/mods/ui/elements/raster.d.ts.map +1 -0
- package/dist/mods/ui/elements/raster.js +43 -0
- package/dist/mods/ui/elements/raster.js.map +1 -0
- package/dist/mods/ui/elements/registry.d.ts +7 -0
- package/dist/mods/ui/elements/registry.d.ts.map +1 -0
- package/dist/mods/ui/elements/registry.js +28 -0
- package/dist/mods/ui/elements/registry.js.map +1 -0
- package/dist/mods/ui/elements/select.d.ts +3 -0
- package/dist/mods/ui/elements/select.d.ts.map +1 -0
- package/dist/mods/ui/elements/select.js +34 -0
- package/dist/mods/ui/elements/select.js.map +1 -0
- package/dist/mods/ui/elements/spacing.d.ts +15 -0
- package/dist/mods/ui/elements/spacing.d.ts.map +1 -0
- package/dist/mods/ui/elements/spacing.js +22 -0
- package/dist/mods/ui/elements/spacing.js.map +1 -0
- package/dist/mods/ui/elements/surface.d.ts +11 -0
- package/dist/mods/ui/elements/surface.d.ts.map +1 -0
- package/dist/mods/ui/elements/surface.js +26 -0
- package/dist/mods/ui/elements/surface.js.map +1 -0
- package/dist/mods/ui/elements/svg.d.ts +3 -0
- package/dist/mods/ui/elements/svg.d.ts.map +1 -0
- package/dist/mods/ui/elements/svg.js +10 -0
- package/dist/mods/ui/elements/svg.js.map +1 -0
- package/dist/mods/ui/elements/table.d.ts +22 -0
- package/dist/mods/ui/elements/table.d.ts.map +1 -0
- package/dist/mods/ui/elements/table.js +58 -0
- package/dist/mods/ui/elements/table.js.map +1 -0
- package/dist/mods/ui/elements/text.d.ts +18 -0
- package/dist/mods/ui/elements/text.d.ts.map +1 -0
- package/dist/mods/ui/elements/text.js +49 -0
- package/dist/mods/ui/elements/text.js.map +1 -0
- package/dist/mods/ui/elements/validate.d.ts +10 -0
- package/dist/mods/ui/elements/validate.d.ts.map +1 -0
- package/dist/mods/ui/elements/validate.js +60 -0
- package/dist/mods/ui/elements/validate.js.map +1 -0
- package/dist/mods/ui/index.d.ts +30 -0
- package/dist/mods/ui/index.d.ts.map +1 -0
- package/dist/mods/ui/index.js +28 -0
- package/dist/mods/ui/index.js.map +1 -0
- package/dist/mods/ui/keyboard/band.d.ts +22 -0
- package/dist/mods/ui/keyboard/band.d.ts.map +1 -0
- package/dist/mods/ui/keyboard/band.js +19 -0
- package/dist/mods/ui/keyboard/band.js.map +1 -0
- package/dist/mods/ui/keyboard/effects.d.ts +42 -0
- package/dist/mods/ui/keyboard/effects.d.ts.map +1 -0
- package/dist/mods/ui/keyboard/effects.js +18 -0
- package/dist/mods/ui/keyboard/effects.js.map +1 -0
- package/dist/mods/ui/keyboard/focus.d.ts +37 -0
- package/dist/mods/ui/keyboard/focus.d.ts.map +1 -0
- package/dist/mods/ui/keyboard/focus.js +33 -0
- package/dist/mods/ui/keyboard/focus.js.map +1 -0
- package/dist/mods/ui/keyboard/keys.d.ts +39 -0
- package/dist/mods/ui/keyboard/keys.d.ts.map +1 -0
- package/dist/mods/ui/keyboard/keys.js +117 -0
- package/dist/mods/ui/keyboard/keys.js.map +1 -0
- package/dist/mods/ui/keyboard/pane-size.d.ts +23 -0
- package/dist/mods/ui/keyboard/pane-size.d.ts.map +1 -0
- package/dist/mods/ui/keyboard/pane-size.js +22 -0
- package/dist/mods/ui/keyboard/pane-size.js.map +1 -0
- package/dist/mods/ui/keyboard/vscode.d.ts +38 -0
- package/dist/mods/ui/keyboard/vscode.d.ts.map +1 -0
- package/dist/mods/ui/keyboard/vscode.js +41 -0
- package/dist/mods/ui/keyboard/vscode.js.map +1 -0
- package/dist/mods/ui/panes/open.d.ts +18 -0
- package/dist/mods/ui/panes/open.d.ts.map +1 -0
- package/dist/mods/ui/panes/open.js +51 -0
- package/dist/mods/ui/panes/open.js.map +1 -0
- package/dist/mods/ui/panes/placement.d.ts +28 -0
- package/dist/mods/ui/panes/placement.d.ts.map +1 -0
- package/dist/mods/ui/panes/placement.js +24 -0
- package/dist/mods/ui/panes/placement.js.map +1 -0
- package/dist/mods/ui/panes/registry.d.ts +45 -0
- package/dist/mods/ui/panes/registry.d.ts.map +1 -0
- package/dist/mods/ui/panes/registry.js +65 -0
- package/dist/mods/ui/panes/registry.js.map +1 -0
- package/dist/mods/ui/placed/rows.d.ts +43 -0
- package/dist/mods/ui/placed/rows.d.ts.map +1 -0
- package/dist/mods/ui/placed/rows.js +57 -0
- package/dist/mods/ui/placed/rows.js.map +1 -0
- package/dist/mods/ui/ports.d.ts +89 -0
- package/dist/mods/ui/ports.d.ts.map +1 -0
- package/dist/mods/ui/ports.js +2 -0
- package/dist/mods/ui/ports.js.map +1 -0
- package/dist/mods/ui/redraw/gate.d.ts +23 -0
- package/dist/mods/ui/redraw/gate.d.ts.map +1 -0
- package/dist/mods/ui/redraw/gate.js +39 -0
- package/dist/mods/ui/redraw/gate.js.map +1 -0
- package/dist/mods/ui/redraw/invalidate.d.ts +16 -0
- package/dist/mods/ui/redraw/invalidate.d.ts.map +1 -0
- package/dist/mods/ui/redraw/invalidate.js +18 -0
- package/dist/mods/ui/redraw/invalidate.js.map +1 -0
- package/dist/mods/ui/redraw/subscribe.d.ts +20 -0
- package/dist/mods/ui/redraw/subscribe.d.ts.map +1 -0
- package/dist/mods/ui/redraw/subscribe.js +42 -0
- package/dist/mods/ui/redraw/subscribe.js.map +1 -0
- package/dist/mods/ui/redraw/unasked.d.ts +16 -0
- package/dist/mods/ui/redraw/unasked.d.ts.map +1 -0
- package/dist/mods/ui/redraw/unasked.js +15 -0
- package/dist/mods/ui/redraw/unasked.js.map +1 -0
- package/dist/mods/ui/rules.d.ts +10 -0
- package/dist/mods/ui/rules.d.ts.map +1 -0
- package/dist/mods/ui/rules.js +38 -0
- package/dist/mods/ui/rules.js.map +1 -0
- package/dist/mods/ui/runtime.d.ts +63 -0
- package/dist/mods/ui/runtime.d.ts.map +1 -0
- package/dist/mods/ui/runtime.js +83 -0
- package/dist/mods/ui/runtime.js.map +1 -0
- package/dist/mods/ui/sites/ask-question.d.ts +8 -0
- package/dist/mods/ui/sites/ask-question.d.ts.map +1 -0
- package/dist/mods/ui/sites/ask-question.js +7 -0
- package/dist/mods/ui/sites/ask-question.js.map +1 -0
- package/dist/mods/ui/sites/backdrop.d.ts +17 -0
- package/dist/mods/ui/sites/backdrop.d.ts.map +1 -0
- package/dist/mods/ui/sites/backdrop.js +22 -0
- package/dist/mods/ui/sites/backdrop.js.map +1 -0
- package/dist/mods/ui/sites/band.d.ts +6 -0
- package/dist/mods/ui/sites/band.d.ts.map +1 -0
- package/dist/mods/ui/sites/band.js +46 -0
- package/dist/mods/ui/sites/band.js.map +1 -0
- package/dist/mods/ui/sites/draw-fault.d.ts +8 -0
- package/dist/mods/ui/sites/draw-fault.d.ts.map +1 -0
- package/dist/mods/ui/sites/draw-fault.js +7 -0
- package/dist/mods/ui/sites/draw-fault.js.map +1 -0
- package/dist/mods/ui/sites/fold.d.ts +27 -0
- package/dist/mods/ui/sites/fold.d.ts.map +1 -0
- package/dist/mods/ui/sites/fold.js +30 -0
- package/dist/mods/ui/sites/fold.js.map +1 -0
- package/dist/mods/ui/sites/registry.d.ts +37 -0
- package/dist/mods/ui/sites/registry.d.ts.map +1 -0
- package/dist/mods/ui/sites/registry.js +45 -0
- package/dist/mods/ui/sites/registry.js.map +1 -0
- package/dist/mods/ui/sites/viewport.d.ts +13 -0
- package/dist/mods/ui/sites/viewport.d.ts.map +1 -0
- package/dist/mods/ui/sites/viewport.js +19 -0
- package/dist/mods/ui/sites/viewport.js.map +1 -0
- package/dist/mods/ui/tables.d.ts +27 -0
- package/dist/mods/ui/tables.d.ts.map +1 -0
- package/dist/mods/ui/tables.js +47 -0
- package/dist/mods/ui/tables.js.map +1 -0
- package/dist/mods/ui/toast.d.ts +57 -0
- package/dist/mods/ui/toast.d.ts.map +1 -0
- package/dist/mods/ui/toast.js +99 -0
- package/dist/mods/ui/toast.js.map +1 -0
- package/dist/mods/ui/ui-api.d.ts +23 -0
- package/dist/mods/ui/ui-api.d.ts.map +1 -0
- package/dist/mods/ui/ui-api.js +205 -0
- package/dist/mods/ui/ui-api.js.map +1 -0
- package/dist/mods/ui/ui-invalidate.d.ts +5 -0
- package/dist/mods/ui/ui-invalidate.d.ts.map +1 -0
- package/dist/mods/ui/ui-invalidate.js +38 -0
- package/dist/mods/ui/ui-invalidate.js.map +1 -0
- package/dist/mods/values.d.ts +4 -0
- package/dist/mods/values.d.ts.map +1 -0
- package/dist/mods/values.js +9 -0
- package/dist/mods/values.js.map +1 -0
- package/dist/ports/clock.d.ts +13 -0
- package/dist/ports/clock.d.ts.map +1 -0
- package/dist/ports/clock.js +2 -0
- package/dist/ports/clock.js.map +1 -0
- package/dist/ports/command-runner.d.ts +42 -0
- package/dist/ports/command-runner.d.ts.map +1 -0
- package/dist/ports/command-runner.js +2 -0
- package/dist/ports/command-runner.js.map +1 -0
- package/dist/ports/environment.d.ts +12 -0
- package/dist/ports/environment.d.ts.map +1 -0
- package/dist/ports/environment.js +2 -0
- package/dist/ports/environment.js.map +1 -0
- package/dist/ports/failure.d.ts +9 -0
- package/dist/ports/failure.d.ts.map +1 -0
- package/dist/ports/failure.js +2 -0
- package/dist/ports/failure.js.map +1 -0
- package/dist/ports/files.d.ts +52 -0
- package/dist/ports/files.d.ts.map +1 -0
- package/dist/ports/files.js +11 -0
- package/dist/ports/files.js.map +1 -0
- package/dist/ports/folder-scan.d.ts +47 -0
- package/dist/ports/folder-scan.d.ts.map +1 -0
- package/dist/ports/folder-scan.js +2 -0
- package/dist/ports/folder-scan.js.map +1 -0
- package/dist/ports/http-client.d.ts +34 -0
- package/dist/ports/http-client.d.ts.map +1 -0
- package/dist/ports/http-client.js +2 -0
- package/dist/ports/http-client.js.map +1 -0
- package/dist/ports/index.d.ts +18 -0
- package/dist/ports/index.d.ts.map +1 -0
- package/dist/ports/index.js +2 -0
- package/dist/ports/index.js.map +1 -0
- package/dist/ports/locations.d.ts +24 -0
- package/dist/ports/locations.d.ts.map +1 -0
- package/dist/ports/locations.js +2 -0
- package/dist/ports/locations.js.map +1 -0
- package/dist/ports/marketplace.d.ts +97 -0
- package/dist/ports/marketplace.d.ts.map +1 -0
- package/dist/ports/marketplace.js +2 -0
- package/dist/ports/marketplace.js.map +1 -0
- package/dist/ports/mcp-bundle.d.ts +44 -0
- package/dist/ports/mcp-bundle.d.ts.map +1 -0
- package/dist/ports/mcp-bundle.js +2 -0
- package/dist/ports/mcp-bundle.js.map +1 -0
- package/dist/ports/mcp-caller.d.ts +36 -0
- package/dist/ports/mcp-caller.d.ts.map +1 -0
- package/dist/ports/mcp-caller.js +2 -0
- package/dist/ports/mcp-caller.js.map +1 -0
- package/dist/ports/model-runner.d.ts +28 -0
- package/dist/ports/model-runner.d.ts.map +1 -0
- package/dist/ports/model-runner.js +2 -0
- package/dist/ports/model-runner.js.map +1 -0
- package/dist/ports/path-resolver.d.ts +17 -0
- package/dist/ports/path-resolver.d.ts.map +1 -0
- package/dist/ports/path-resolver.js +2 -0
- package/dist/ports/path-resolver.js.map +1 -0
- package/dist/ports/scratch-files.d.ts +9 -0
- package/dist/ports/scratch-files.d.ts.map +1 -0
- package/dist/ports/scratch-files.js +2 -0
- package/dist/ports/scratch-files.js.map +1 -0
- package/dist/protocol/effort.d.ts +21 -0
- package/dist/protocol/effort.d.ts.map +1 -0
- package/dist/protocol/effort.js +24 -0
- package/dist/protocol/effort.js.map +1 -0
- package/dist/protocol/exit-reasons.d.ts +13 -0
- package/dist/protocol/exit-reasons.d.ts.map +1 -0
- package/dist/protocol/exit-reasons.js +13 -0
- package/dist/protocol/exit-reasons.js.map +1 -0
- package/dist/protocol/hook-config.d.ts +23 -0
- package/dist/protocol/hook-config.d.ts.map +1 -0
- package/dist/protocol/hook-config.js +9 -0
- package/dist/protocol/hook-config.js.map +1 -0
- package/dist/protocol/hook-events.d.ts +24 -0
- package/dist/protocol/hook-events.d.ts.map +1 -0
- package/dist/protocol/hook-events.js +41 -0
- package/dist/protocol/hook-events.js.map +1 -0
- package/dist/protocol/is-record.d.ts +6 -0
- package/dist/protocol/is-record.d.ts.map +1 -0
- package/dist/protocol/is-record.js +6 -0
- package/dist/protocol/is-record.js.map +1 -0
- package/dist/protocol/mods-api-names.d.ts +95 -0
- package/dist/protocol/mods-api-names.d.ts.map +1 -0
- package/dist/protocol/mods-api-names.js +126 -0
- package/dist/protocol/mods-api-names.js.map +1 -0
- package/dist/protocol/mods-events.d.ts +104 -0
- package/dist/protocol/mods-events.d.ts.map +1 -0
- package/dist/protocol/mods-events.js +118 -0
- package/dist/protocol/mods-events.js.map +1 -0
- package/dist/protocol/mods-limits.d.ts +68 -0
- package/dist/protocol/mods-limits.d.ts.map +1 -0
- package/dist/protocol/mods-limits.js +74 -0
- package/dist/protocol/mods-limits.js.map +1 -0
- package/dist/protocol/mods-matcher.d.ts +14 -0
- package/dist/protocol/mods-matcher.d.ts.map +1 -0
- package/dist/protocol/mods-matcher.js +3 -0
- package/dist/protocol/mods-matcher.js.map +1 -0
- package/dist/protocol/mods-settings.d.ts +65 -0
- package/dist/protocol/mods-settings.d.ts.map +1 -0
- package/dist/protocol/mods-settings.js +38 -0
- package/dist/protocol/mods-settings.js.map +1 -0
- package/dist/protocol/mods-tiers.d.ts +8 -0
- package/dist/protocol/mods-tiers.d.ts.map +1 -0
- package/dist/protocol/mods-tiers.js +7 -0
- package/dist/protocol/mods-tiers.js.map +1 -0
- package/dist/protocol/mods-ui-names.d.ts +179 -0
- package/dist/protocol/mods-ui-names.d.ts.map +1 -0
- package/dist/protocol/mods-ui-names.js +198 -0
- package/dist/protocol/mods-ui-names.js.map +1 -0
- package/dist/protocol/official-tools.d.ts +12 -0
- package/dist/protocol/official-tools.d.ts.map +1 -0
- package/dist/protocol/official-tools.js +2 -0
- package/dist/protocol/official-tools.js.map +1 -0
- package/dist/protocol/official.d.ts +46 -0
- package/dist/protocol/official.d.ts.map +1 -0
- package/dist/protocol/official.js +2 -0
- package/dist/protocol/official.js.map +1 -0
- package/dist/protocol/permission-modes.d.ts +16 -0
- package/dist/protocol/permission-modes.d.ts.map +1 -0
- package/dist/protocol/permission-modes.js +30 -0
- package/dist/protocol/permission-modes.js.map +1 -0
- package/dist/protocol/settings-keys.d.ts +60 -0
- package/dist/protocol/settings-keys.d.ts.map +1 -0
- package/dist/protocol/settings-keys.js +133 -0
- package/dist/protocol/settings-keys.js.map +1 -0
- package/dist/protocol/tool-names.d.ts +29 -0
- package/dist/protocol/tool-names.d.ts.map +1 -0
- package/dist/protocol/tool-names.js +76 -0
- package/dist/protocol/tool-names.js.map +1 -0
- package/dist/protocol/type-equality.d.ts +8 -0
- package/dist/protocol/type-equality.d.ts.map +1 -0
- package/dist/protocol/type-equality.js +2 -0
- package/dist/protocol/type-equality.js.map +1 -0
- package/dist/rules/bash/bash.d.ts +4 -0
- package/dist/rules/bash/bash.d.ts.map +1 -0
- package/dist/rules/bash/bash.js +39 -0
- package/dist/rules/bash/bash.js.map +1 -0
- package/dist/rules/bash/dialect.d.ts +29 -0
- package/dist/rules/bash/dialect.d.ts.map +1 -0
- package/dist/rules/bash/dialect.js +24 -0
- package/dist/rules/bash/dialect.js.map +1 -0
- package/dist/rules/bash/exec-wrappers.d.ts +11 -0
- package/dist/rules/bash/exec-wrappers.d.ts.map +1 -0
- package/dist/rules/bash/exec-wrappers.js +44 -0
- package/dist/rules/bash/exec-wrappers.js.map +1 -0
- package/dist/rules/bash/heredoc.d.ts +27 -0
- package/dist/rules/bash/heredoc.d.ts.map +1 -0
- package/dist/rules/bash/heredoc.js +28 -0
- package/dist/rules/bash/heredoc.js.map +1 -0
- package/dist/rules/bash/if-eval.d.ts +16 -0
- package/dist/rules/bash/if-eval.d.ts.map +1 -0
- package/dist/rules/bash/if-eval.js +89 -0
- package/dist/rules/bash/if-eval.js.map +1 -0
- package/dist/rules/bash/keywords.d.ts +7 -0
- package/dist/rules/bash/keywords.d.ts.map +1 -0
- package/dist/rules/bash/keywords.js +35 -0
- package/dist/rules/bash/keywords.js.map +1 -0
- package/dist/rules/bash/powershell-aliases.d.ts +2 -0
- package/dist/rules/bash/powershell-aliases.d.ts.map +1 -0
- package/dist/rules/bash/powershell-aliases.js +54 -0
- package/dist/rules/bash/powershell-aliases.js.map +1 -0
- package/dist/rules/bash/powershell.d.ts +12 -0
- package/dist/rules/bash/powershell.d.ts.map +1 -0
- package/dist/rules/bash/powershell.js +50 -0
- package/dist/rules/bash/powershell.js.map +1 -0
- package/dist/rules/bash/safe-env.d.ts +9 -0
- package/dist/rules/bash/safe-env.d.ts.map +1 -0
- package/dist/rules/bash/safe-env.js +50 -0
- package/dist/rules/bash/safe-env.js.map +1 -0
- package/dist/rules/bash/scanner.d.ts +39 -0
- package/dist/rules/bash/scanner.d.ts.map +1 -0
- package/dist/rules/bash/scanner.js +268 -0
- package/dist/rules/bash/scanner.js.map +1 -0
- package/dist/rules/bash/shell.d.ts +38 -0
- package/dist/rules/bash/shell.d.ts.map +1 -0
- package/dist/rules/bash/shell.js +48 -0
- package/dist/rules/bash/shell.js.map +1 -0
- package/dist/rules/bash/split.d.ts +48 -0
- package/dist/rules/bash/split.d.ts.map +1 -0
- package/dist/rules/bash/split.js +45 -0
- package/dist/rules/bash/split.js.map +1 -0
- package/dist/rules/bash/text-pattern.d.ts +4 -0
- package/dist/rules/bash/text-pattern.d.ts.map +1 -0
- package/dist/rules/bash/text-pattern.js +9 -0
- package/dist/rules/bash/text-pattern.js.map +1 -0
- package/dist/rules/bash/unquote.d.ts +19 -0
- package/dist/rules/bash/unquote.d.ts.map +1 -0
- package/dist/rules/bash/unquote.js +129 -0
- package/dist/rules/bash/unquote.js.map +1 -0
- package/dist/rules/bash/wildcard-warning.d.ts +13 -0
- package/dist/rules/bash/wildcard-warning.d.ts.map +1 -0
- package/dist/rules/bash/wildcard-warning.js +63 -0
- package/dist/rules/bash/wildcard-warning.js.map +1 -0
- package/dist/rules/bash/wildcard.d.ts +17 -0
- package/dist/rules/bash/wildcard.d.ts.map +1 -0
- package/dist/rules/bash/wildcard.js +28 -0
- package/dist/rules/bash/wildcard.js.map +1 -0
- package/dist/rules/bash/words.d.ts +48 -0
- package/dist/rules/bash/words.d.ts.map +1 -0
- package/dist/rules/bash/words.js +116 -0
- package/dist/rules/bash/words.js.map +1 -0
- package/dist/rules/bash/wrappers.d.ts +21 -0
- package/dist/rules/bash/wrappers.d.ts.map +1 -0
- package/dist/rules/bash/wrappers.js +157 -0
- package/dist/rules/bash/wrappers.js.map +1 -0
- package/dist/rules/decide/approval-memory.d.ts +28 -0
- package/dist/rules/decide/approval-memory.d.ts.map +1 -0
- package/dist/rules/decide/approval-memory.js +54 -0
- package/dist/rules/decide/approval-memory.js.map +1 -0
- package/dist/rules/decide/auto-dropped.d.ts +7 -0
- package/dist/rules/decide/auto-dropped.d.ts.map +1 -0
- package/dist/rules/decide/auto-dropped.js +51 -0
- package/dist/rules/decide/auto-dropped.js.map +1 -0
- package/dist/rules/decide/behavior.d.ts +4 -0
- package/dist/rules/decide/behavior.d.ts.map +1 -0
- package/dist/rules/decide/behavior.js +4 -0
- package/dist/rules/decide/behavior.js.map +1 -0
- package/dist/rules/decide/block-exceptions.d.ts +13 -0
- package/dist/rules/decide/block-exceptions.d.ts.map +1 -0
- package/dist/rules/decide/block-exceptions.js +94 -0
- package/dist/rules/decide/block-exceptions.js.map +1 -0
- package/dist/rules/decide/classifier.d.ts +36 -0
- package/dist/rules/decide/classifier.d.ts.map +1 -0
- package/dist/rules/decide/classifier.js +37 -0
- package/dist/rules/decide/classifier.js.map +1 -0
- package/dist/rules/decide/context.d.ts +175 -0
- package/dist/rules/decide/context.d.ts.map +1 -0
- package/dist/rules/decide/context.js +2 -0
- package/dist/rules/decide/context.js.map +1 -0
- package/dist/rules/decide/critical-removal.d.ts +13 -0
- package/dist/rules/decide/critical-removal.d.ts.map +1 -0
- package/dist/rules/decide/critical-removal.js +179 -0
- package/dist/rules/decide/critical-removal.js.map +1 -0
- package/dist/rules/decide/decide.d.ts +15 -0
- package/dist/rules/decide/decide.d.ts.map +1 -0
- package/dist/rules/decide/decide.js +139 -0
- package/dist/rules/decide/decide.js.map +1 -0
- package/dist/rules/decide/facts.d.ts +60 -0
- package/dist/rules/decide/facts.d.ts.map +1 -0
- package/dist/rules/decide/facts.js +206 -0
- package/dist/rules/decide/facts.js.map +1 -0
- package/dist/rules/decide/file-targets.d.ts +39 -0
- package/dist/rules/decide/file-targets.d.ts.map +1 -0
- package/dist/rules/decide/file-targets.js +92 -0
- package/dist/rules/decide/file-targets.js.map +1 -0
- package/dist/rules/decide/fs-operands.d.ts +5 -0
- package/dist/rules/decide/fs-operands.d.ts.map +1 -0
- package/dist/rules/decide/fs-operands.js +77 -0
- package/dist/rules/decide/fs-operands.js.map +1 -0
- package/dist/rules/decide/hook-permission-updates.d.ts +17 -0
- package/dist/rules/decide/hook-permission-updates.d.ts.map +1 -0
- package/dist/rules/decide/hook-permission-updates.js +34 -0
- package/dist/rules/decide/hook-permission-updates.js.map +1 -0
- package/dist/rules/decide/hook-rewrite.d.ts +48 -0
- package/dist/rules/decide/hook-rewrite.d.ts.map +1 -0
- package/dist/rules/decide/hook-rewrite.js +59 -0
- package/dist/rules/decide/hook-rewrite.js.map +1 -0
- package/dist/rules/decide/hooks-and-mods.d.ts +18 -0
- package/dist/rules/decide/hooks-and-mods.d.ts.map +1 -0
- package/dist/rules/decide/hooks-and-mods.js +75 -0
- package/dist/rules/decide/hooks-and-mods.js.map +1 -0
- package/dist/rules/decide/modes.d.ts +41 -0
- package/dist/rules/decide/modes.d.ts.map +1 -0
- package/dist/rules/decide/modes.js +128 -0
- package/dist/rules/decide/modes.js.map +1 -0
- package/dist/rules/decide/no-approval-surface.d.ts +35 -0
- package/dist/rules/decide/no-approval-surface.d.ts.map +1 -0
- package/dist/rules/decide/no-approval-surface.js +36 -0
- package/dist/rules/decide/no-approval-surface.js.map +1 -0
- package/dist/rules/decide/powershell-edits.d.ts +9 -0
- package/dist/rules/decide/powershell-edits.d.ts.map +1 -0
- package/dist/rules/decide/powershell-edits.js +138 -0
- package/dist/rules/decide/powershell-edits.js.map +1 -0
- package/dist/rules/decide/powershell-removal.d.ts +4 -0
- package/dist/rules/decide/powershell-removal.d.ts.map +1 -0
- package/dist/rules/decide/powershell-removal.js +89 -0
- package/dist/rules/decide/powershell-removal.js.map +1 -0
- package/dist/rules/decide/protected-paths.d.ts +33 -0
- package/dist/rules/decide/protected-paths.d.ts.map +1 -0
- package/dist/rules/decide/protected-paths.js +169 -0
- package/dist/rules/decide/protected-paths.js.map +1 -0
- package/dist/rules/decide/read-only-set.d.ts +23 -0
- package/dist/rules/decide/read-only-set.d.ts.map +1 -0
- package/dist/rules/decide/read-only-set.js +155 -0
- package/dist/rules/decide/read-only-set.js.map +1 -0
- package/dist/rules/decide/redirects.d.ts +55 -0
- package/dist/rules/decide/redirects.d.ts.map +1 -0
- package/dist/rules/decide/redirects.js +154 -0
- package/dist/rules/decide/redirects.js.map +1 -0
- package/dist/rules/decide/rules-stage.d.ts +11 -0
- package/dist/rules/decide/rules-stage.d.ts.map +1 -0
- package/dist/rules/decide/rules-stage.js +29 -0
- package/dist/rules/decide/rules-stage.js.map +1 -0
- package/dist/rules/decide/scope.d.ts +6 -0
- package/dist/rules/decide/scope.d.ts.map +1 -0
- package/dist/rules/decide/scope.js +17 -0
- package/dist/rules/decide/scope.js.map +1 -0
- package/dist/rules/decide/sed-script.d.ts +7 -0
- package/dist/rules/decide/sed-script.d.ts.map +1 -0
- package/dist/rules/decide/sed-script.js +163 -0
- package/dist/rules/decide/sed-script.js.map +1 -0
- package/dist/rules/decide/shell-commands.d.ts +46 -0
- package/dist/rules/decide/shell-commands.d.ts.map +1 -0
- package/dist/rules/decide/shell-commands.js +191 -0
- package/dist/rules/decide/shell-commands.js.map +1 -0
- package/dist/rules/decide/shell-words.d.ts +23 -0
- package/dist/rules/decide/shell-words.d.ts.map +1 -0
- package/dist/rules/decide/shell-words.js +21 -0
- package/dist/rules/decide/shell-words.js.map +1 -0
- package/dist/rules/decide/unanswered.d.ts +20 -0
- package/dist/rules/decide/unanswered.d.ts.map +1 -0
- package/dist/rules/decide/unanswered.js +27 -0
- package/dist/rules/decide/unanswered.js.map +1 -0
- package/dist/rules/decide/write-block-messages.d.ts +21 -0
- package/dist/rules/decide/write-block-messages.d.ts.map +1 -0
- package/dist/rules/decide/write-block-messages.js +18 -0
- package/dist/rules/decide/write-block-messages.js.map +1 -0
- package/dist/rules/evaluate.d.ts +28 -0
- package/dist/rules/evaluate.d.ts.map +1 -0
- package/dist/rules/evaluate.js +52 -0
- package/dist/rules/evaluate.js.map +1 -0
- package/dist/rules/hook-matcher.d.ts +21 -0
- package/dist/rules/hook-matcher.d.ts.map +1 -0
- package/dist/rules/hook-matcher.js +45 -0
- package/dist/rules/hook-matcher.js.map +1 -0
- package/dist/rules/index.d.ts +60 -0
- package/dist/rules/index.d.ts.map +1 -0
- package/dist/rules/index.js +55 -0
- package/dist/rules/index.js.map +1 -0
- package/dist/rules/issues.d.ts +8 -0
- package/dist/rules/issues.d.ts.map +1 -0
- package/dist/rules/issues.js +44 -0
- package/dist/rules/issues.js.map +1 -0
- package/dist/rules/matchers.d.ts +14 -0
- package/dist/rules/matchers.d.ts.map +1 -0
- package/dist/rules/matchers.js +24 -0
- package/dist/rules/matchers.js.map +1 -0
- package/dist/rules/memo.d.ts +7 -0
- package/dist/rules/memo.d.ts.map +1 -0
- package/dist/rules/memo.js +22 -0
- package/dist/rules/memo.js.map +1 -0
- package/dist/rules/param.d.ts +18 -0
- package/dist/rules/param.d.ts.map +1 -0
- package/dist/rules/param.js +83 -0
- package/dist/rules/param.js.map +1 -0
- package/dist/rules/parse.d.ts +22 -0
- package/dist/rules/parse.d.ts.map +1 -0
- package/dist/rules/parse.js +111 -0
- package/dist/rules/parse.js.map +1 -0
- package/dist/rules/path/anchor.d.ts +33 -0
- package/dist/rules/path/anchor.d.ts.map +1 -0
- package/dist/rules/path/anchor.js +84 -0
- package/dist/rules/path/anchor.js.map +1 -0
- package/dist/rules/path/cd.d.ts +13 -0
- package/dist/rules/path/cd.d.ts.map +1 -0
- package/dist/rules/path/cd.js +45 -0
- package/dist/rules/path/cd.js.map +1 -0
- package/dist/rules/path/depth.d.ts +6 -0
- package/dist/rules/path/depth.d.ts.map +1 -0
- package/dist/rules/path/depth.js +24 -0
- package/dist/rules/path/depth.js.map +1 -0
- package/dist/rules/path/file-rules.d.ts +18 -0
- package/dist/rules/path/file-rules.d.ts.map +1 -0
- package/dist/rules/path/file-rules.js +130 -0
- package/dist/rules/path/file-rules.js.map +1 -0
- package/dist/rules/path/glob.d.ts +20 -0
- package/dist/rules/path/glob.d.ts.map +1 -0
- package/dist/rules/path/glob.js +48 -0
- package/dist/rules/path/glob.js.map +1 -0
- package/dist/rules/path/negation.d.ts +7 -0
- package/dist/rules/path/negation.d.ts.map +1 -0
- package/dist/rules/path/negation.js +50 -0
- package/dist/rules/path/negation.js.map +1 -0
- package/dist/rules/path/network.d.ts +9 -0
- package/dist/rules/path/network.d.ts.map +1 -0
- package/dist/rules/path/network.js +27 -0
- package/dist/rules/path/network.js.map +1 -0
- package/dist/rules/path/posix.d.ts +29 -0
- package/dist/rules/path/posix.d.ts.map +1 -0
- package/dist/rules/path/posix.js +75 -0
- package/dist/rules/path/posix.js.map +1 -0
- package/dist/rules/path/symlink.d.ts +25 -0
- package/dist/rules/path/symlink.d.ts.map +1 -0
- package/dist/rules/path/symlink.js +94 -0
- package/dist/rules/path/symlink.js.map +1 -0
- package/dist/rules/path/tools.d.ts +66 -0
- package/dist/rules/path/tools.d.ts.map +1 -0
- package/dist/rules/path/tools.js +88 -0
- package/dist/rules/path/tools.js.map +1 -0
- package/dist/rules/restricts.d.ts +12 -0
- package/dist/rules/restricts.d.ts.map +1 -0
- package/dist/rules/restricts.js +13 -0
- package/dist/rules/restricts.js.map +1 -0
- package/dist/rules/rule-warnings.d.ts +24 -0
- package/dist/rules/rule-warnings.d.ts.map +1 -0
- package/dist/rules/rule-warnings.js +58 -0
- package/dist/rules/rule-warnings.js.map +1 -0
- package/dist/rules/sources.d.ts +13 -0
- package/dist/rules/sources.d.ts.map +1 -0
- package/dist/rules/sources.js +19 -0
- package/dist/rules/sources.js.map +1 -0
- package/dist/rules/specifier-formats.d.ts +42 -0
- package/dist/rules/specifier-formats.d.ts.map +1 -0
- package/dist/rules/specifier-formats.js +81 -0
- package/dist/rules/specifier-formats.js.map +1 -0
- package/dist/rules/specifier-guards.d.ts +12 -0
- package/dist/rules/specifier-guards.d.ts.map +1 -0
- package/dist/rules/specifier-guards.js +7 -0
- package/dist/rules/specifier-guards.js.map +1 -0
- package/dist/rules/target/agent.d.ts +3 -0
- package/dist/rules/target/agent.d.ts.map +1 -0
- package/dist/rules/target/agent.js +30 -0
- package/dist/rules/target/agent.js.map +1 -0
- package/dist/rules/target/domain.d.ts +43 -0
- package/dist/rules/target/domain.d.ts.map +1 -0
- package/dist/rules/target/domain.js +150 -0
- package/dist/rules/target/domain.js.map +1 -0
- package/dist/rules/target/input.d.ts +11 -0
- package/dist/rules/target/input.d.ts.map +1 -0
- package/dist/rules/target/input.js +10 -0
- package/dist/rules/target/input.js.map +1 -0
- package/dist/rules/target/mcp.d.ts +14 -0
- package/dist/rules/target/mcp.d.ts.map +1 -0
- package/dist/rules/target/mcp.js +69 -0
- package/dist/rules/target/mcp.js.map +1 -0
- package/dist/rules/target/skill.d.ts +3 -0
- package/dist/rules/target/skill.d.ts.map +1 -0
- package/dist/rules/target/skill.js +44 -0
- package/dist/rules/target/skill.js.map +1 -0
- package/dist/rules/tool-pattern.d.ts +20 -0
- package/dist/rules/tool-pattern.d.ts.map +1 -0
- package/dist/rules/tool-pattern.js +35 -0
- package/dist/rules/tool-pattern.js.map +1 -0
- package/dist/rules/tools/availability.d.ts +52 -0
- package/dist/rules/tools/availability.d.ts.map +1 -0
- package/dist/rules/tools/availability.js +109 -0
- package/dist/rules/tools/availability.js.map +1 -0
- package/dist/rules/tools/catalog.d.ts +33 -0
- package/dist/rules/tools/catalog.d.ts.map +1 -0
- package/dist/rules/tools/catalog.js +79 -0
- package/dist/rules/tools/catalog.js.map +1 -0
- package/dist/rules/tools/host-tool-names.d.ts +37 -0
- package/dist/rules/tools/host-tool-names.d.ts.map +1 -0
- package/dist/rules/tools/host-tool-names.js +24 -0
- package/dist/rules/tools/host-tool-names.js.map +1 -0
- package/dist/rules/tools/inputs/ask-user-question.d.ts +43 -0
- package/dist/rules/tools/inputs/ask-user-question.d.ts.map +1 -0
- package/dist/rules/tools/inputs/ask-user-question.js +63 -0
- package/dist/rules/tools/inputs/ask-user-question.js.map +1 -0
- package/dist/rules/tools/inputs/exit-plan-mode.d.ts +7 -0
- package/dist/rules/tools/inputs/exit-plan-mode.d.ts.map +1 -0
- package/dist/rules/tools/inputs/exit-plan-mode.js +12 -0
- package/dist/rules/tools/inputs/exit-plan-mode.js.map +1 -0
- package/dist/rules/tools/inputs/field-schemas.d.ts +10 -0
- package/dist/rules/tools/inputs/field-schemas.d.ts.map +1 -0
- package/dist/rules/tools/inputs/field-schemas.js +16 -0
- package/dist/rules/tools/inputs/field-schemas.js.map +1 -0
- package/dist/rules/tools/inputs/fields.d.ts +43 -0
- package/dist/rules/tools/inputs/fields.d.ts.map +1 -0
- package/dist/rules/tools/inputs/fields.js +99 -0
- package/dist/rules/tools/inputs/fields.js.map +1 -0
- package/dist/rules/tools/inputs/grep.d.ts +4 -0
- package/dist/rules/tools/inputs/grep.d.ts.map +1 -0
- package/dist/rules/tools/inputs/grep.js +3 -0
- package/dist/rules/tools/inputs/grep.js.map +1 -0
- package/dist/rules/tools/inputs/parse-input.d.ts +15 -0
- package/dist/rules/tools/inputs/parse-input.d.ts.map +1 -0
- package/dist/rules/tools/inputs/parse-input.js +23 -0
- package/dist/rules/tools/inputs/parse-input.js.map +1 -0
- package/dist/rules/tools/inputs/roles.d.ts +2 -0
- package/dist/rules/tools/inputs/roles.d.ts.map +1 -0
- package/dist/rules/tools/inputs/roles.js +23 -0
- package/dist/rules/tools/inputs/roles.js.map +1 -0
- package/dist/rules/tools/inputs/schemas.d.ts +10 -0
- package/dist/rules/tools/inputs/schemas.d.ts.map +1 -0
- package/dist/rules/tools/inputs/schemas.js +23 -0
- package/dist/rules/tools/inputs/schemas.js.map +1 -0
- package/dist/rules/tools/inputs/tool-path.d.ts +17 -0
- package/dist/rules/tools/inputs/tool-path.d.ts.map +1 -0
- package/dist/rules/tools/inputs/tool-path.js +45 -0
- package/dist/rules/tools/inputs/tool-path.js.map +1 -0
- package/dist/rules/tools/inputs/web-search.d.ts +9 -0
- package/dist/rules/tools/inputs/web-search.d.ts.map +1 -0
- package/dist/rules/tools/inputs/web-search.js +14 -0
- package/dist/rules/tools/inputs/web-search.js.map +1 -0
- package/dist/rules/tools/names.d.ts +5 -0
- package/dist/rules/tools/names.d.ts.map +1 -0
- package/dist/rules/tools/names.js +9 -0
- package/dist/rules/tools/names.js.map +1 -0
- package/dist/rules/tools/responses/agent-response.d.ts +41 -0
- package/dist/rules/tools/responses/agent-response.d.ts.map +1 -0
- package/dist/rules/tools/responses/agent-response.js +110 -0
- package/dist/rules/tools/responses/agent-response.js.map +1 -0
- package/dist/rules/tools/responses/bash-edit-diff.d.ts +52 -0
- package/dist/rules/tools/responses/bash-edit-diff.d.ts.map +1 -0
- package/dist/rules/tools/responses/bash-edit-diff.js +84 -0
- package/dist/rules/tools/responses/bash-edit-diff.js.map +1 -0
- package/dist/rules/tools/responses/shape.d.ts +9 -0
- package/dist/rules/tools/responses/shape.d.ts.map +1 -0
- package/dist/rules/tools/responses/shape.js +11 -0
- package/dist/rules/tools/responses/shape.js.map +1 -0
- package/dist/rules/tools/responses/structured-patch.d.ts +12 -0
- package/dist/rules/tools/responses/structured-patch.d.ts.map +1 -0
- package/dist/rules/tools/responses/structured-patch.js +69 -0
- package/dist/rules/tools/responses/structured-patch.js.map +1 -0
- package/dist/rules/tools/rule-formats.d.ts +10 -0
- package/dist/rules/tools/rule-formats.d.ts.map +1 -0
- package/dist/rules/tools/rule-formats.js +18 -0
- package/dist/rules/tools/rule-formats.js.map +1 -0
- package/dist/rules/tools/semantics/bash-background.d.ts +26 -0
- package/dist/rules/tools/semantics/bash-background.d.ts.map +1 -0
- package/dist/rules/tools/semantics/bash-background.js +33 -0
- package/dist/rules/tools/semantics/bash-background.js.map +1 -0
- package/dist/rules/tools/semantics/bash-exit.d.ts +14 -0
- package/dist/rules/tools/semantics/bash-exit.d.ts.map +1 -0
- package/dist/rules/tools/semantics/bash-exit.js +72 -0
- package/dist/rules/tools/semantics/bash-exit.js.map +1 -0
- package/dist/rules/tools/semantics/bash-limits.d.ts +34 -0
- package/dist/rules/tools/semantics/bash-limits.d.ts.map +1 -0
- package/dist/rules/tools/semantics/bash-limits.js +48 -0
- package/dist/rules/tools/semantics/bash-limits.js.map +1 -0
- package/dist/rules/tools/semantics/bash-output.d.ts +36 -0
- package/dist/rules/tools/semantics/bash-output.d.ts.map +1 -0
- package/dist/rules/tools/semantics/bash-output.js +45 -0
- package/dist/rules/tools/semantics/bash-output.js.map +1 -0
- package/dist/rules/tools/semantics/edit.d.ts +23 -0
- package/dist/rules/tools/semantics/edit.d.ts.map +1 -0
- package/dist/rules/tools/semantics/edit.js +44 -0
- package/dist/rules/tools/semantics/edit.js.map +1 -0
- package/dist/rules/tools/semantics/encoding.d.ts +30 -0
- package/dist/rules/tools/semantics/encoding.d.ts.map +1 -0
- package/dist/rules/tools/semantics/encoding.js +54 -0
- package/dist/rules/tools/semantics/encoding.js.map +1 -0
- package/dist/rules/tools/semantics/env-number.d.ts +9 -0
- package/dist/rules/tools/semantics/env-number.d.ts.map +1 -0
- package/dist/rules/tools/semantics/env-number.js +17 -0
- package/dist/rules/tools/semantics/env-number.js.map +1 -0
- package/dist/rules/tools/semantics/glob-cap.d.ts +35 -0
- package/dist/rules/tools/semantics/glob-cap.d.ts.map +1 -0
- package/dist/rules/tools/semantics/glob-cap.js +43 -0
- package/dist/rules/tools/semantics/glob-cap.js.map +1 -0
- package/dist/rules/tools/semantics/grep-defaults.d.ts +43 -0
- package/dist/rules/tools/semantics/grep-defaults.d.ts.map +1 -0
- package/dist/rules/tools/semantics/grep-defaults.js +48 -0
- package/dist/rules/tools/semantics/grep-defaults.js.map +1 -0
- package/dist/rules/tools/semantics/read-limits.d.ts +53 -0
- package/dist/rules/tools/semantics/read-limits.d.ts.map +1 -0
- package/dist/rules/tools/semantics/read-limits.js +82 -0
- package/dist/rules/tools/semantics/read-limits.js.map +1 -0
- package/dist/rules/tools/semantics/read-window.d.ts +28 -0
- package/dist/rules/tools/semantics/read-window.d.ts.map +1 -0
- package/dist/rules/tools/semantics/read-window.js +51 -0
- package/dist/rules/tools/semantics/read-window.js.map +1 -0
- package/dist/rules/tools/semantics/web-fetch-timings.d.ts +22 -0
- package/dist/rules/tools/semantics/web-fetch-timings.d.ts.map +1 -0
- package/dist/rules/tools/semantics/web-fetch-timings.js +40 -0
- package/dist/rules/tools/semantics/web-fetch-timings.js.map +1 -0
- package/dist/rules/tools/semantics/web-fetch.d.ts +39 -0
- package/dist/rules/tools/semantics/web-fetch.d.ts.map +1 -0
- package/dist/rules/tools/semantics/web-fetch.js +63 -0
- package/dist/rules/tools/semantics/web-fetch.js.map +1 -0
- package/dist/rules/tools/semantics/web-search-limit.d.ts +34 -0
- package/dist/rules/tools/semantics/web-search-limit.d.ts.map +1 -0
- package/dist/rules/tools/semantics/web-search-limit.js +32 -0
- package/dist/rules/tools/semantics/web-search-limit.js.map +1 -0
- package/dist/rules/tools/semantics/web-search.d.ts +11 -0
- package/dist/rules/tools/semantics/web-search.d.ts.map +1 -0
- package/dist/rules/tools/semantics/web-search.js +22 -0
- package/dist/rules/tools/semantics/web-search.js.map +1 -0
- package/dist/rules/tools/shell-selection.d.ts +15 -0
- package/dist/rules/tools/shell-selection.d.ts.map +1 -0
- package/dist/rules/tools/shell-selection.js +6 -0
- package/dist/rules/tools/shell-selection.js.map +1 -0
- package/dist/rules/types.d.ts +149 -0
- package/dist/rules/types.d.ts.map +1 -0
- package/dist/rules/types.js +2 -0
- package/dist/rules/types.js.map +1 -0
- package/dist/settings/broken-file.d.ts +29 -0
- package/dist/settings/broken-file.d.ts.map +1 -0
- package/dist/settings/broken-file.js +65 -0
- package/dist/settings/broken-file.js.map +1 -0
- package/dist/settings/canonical.d.ts +8 -0
- package/dist/settings/canonical.d.ts.map +1 -0
- package/dist/settings/canonical.js +18 -0
- package/dist/settings/canonical.js.map +1 -0
- package/dist/settings/channels/allowlist.d.ts +27 -0
- package/dist/settings/channels/allowlist.d.ts.map +1 -0
- package/dist/settings/channels/allowlist.js +27 -0
- package/dist/settings/channels/allowlist.js.map +1 -0
- package/dist/settings/channels/channel-gate.d.ts +42 -0
- package/dist/settings/channels/channel-gate.d.ts.map +1 -0
- package/dist/settings/channels/channel-gate.js +38 -0
- package/dist/settings/channels/channel-gate.js.map +1 -0
- package/dist/settings/channels/contract.d.ts +69 -0
- package/dist/settings/channels/contract.d.ts.map +1 -0
- package/dist/settings/channels/contract.js +80 -0
- package/dist/settings/channels/contract.js.map +1 -0
- package/dist/settings/channels/index.d.ts +8 -0
- package/dist/settings/channels/index.d.ts.map +1 -0
- package/dist/settings/channels/index.js +8 -0
- package/dist/settings/channels/index.js.map +1 -0
- package/dist/settings/channels/policy.d.ts +17 -0
- package/dist/settings/channels/policy.d.ts.map +1 -0
- package/dist/settings/channels/policy.js +13 -0
- package/dist/settings/channels/policy.js.map +1 -0
- package/dist/settings/channels/relay.d.ts +34 -0
- package/dist/settings/channels/relay.d.ts.map +1 -0
- package/dist/settings/channels/relay.js +43 -0
- package/dist/settings/channels/relay.js.map +1 -0
- package/dist/settings/channels/sanitize.d.ts +22 -0
- package/dist/settings/channels/sanitize.d.ts.map +1 -0
- package/dist/settings/channels/sanitize.js +64 -0
- package/dist/settings/channels/sanitize.js.map +1 -0
- package/dist/settings/channels/verdict.d.ts +44 -0
- package/dist/settings/channels/verdict.d.ts.map +1 -0
- package/dist/settings/channels/verdict.js +43 -0
- package/dist/settings/channels/verdict.js.map +1 -0
- package/dist/settings/context.d.ts +59 -0
- package/dist/settings/context.d.ts.map +1 -0
- package/dist/settings/context.js +21 -0
- package/dist/settings/context.js.map +1 -0
- package/dist/settings/customization/index.d.ts +6 -0
- package/dist/settings/customization/index.d.ts.map +1 -0
- package/dist/settings/customization/index.js +6 -0
- package/dist/settings/customization/index.js.map +1 -0
- package/dist/settings/customization/policy.d.ts +32 -0
- package/dist/settings/customization/policy.d.ts.map +1 -0
- package/dist/settings/customization/policy.js +29 -0
- package/dist/settings/customization/policy.js.map +1 -0
- package/dist/settings/customization/preapproval.d.ts +19 -0
- package/dist/settings/customization/preapproval.d.ts.map +1 -0
- package/dist/settings/customization/preapproval.js +22 -0
- package/dist/settings/customization/preapproval.js.map +1 -0
- package/dist/settings/customization/sources.d.ts +27 -0
- package/dist/settings/customization/sources.d.ts.map +1 -0
- package/dist/settings/customization/sources.js +68 -0
- package/dist/settings/customization/sources.js.map +1 -0
- package/dist/settings/customization/surfaces.d.ts +17 -0
- package/dist/settings/customization/surfaces.d.ts.map +1 -0
- package/dist/settings/customization/surfaces.js +27 -0
- package/dist/settings/customization/surfaces.js.map +1 -0
- package/dist/settings/env/check-env.d.ts +4 -0
- package/dist/settings/env/check-env.d.ts.map +1 -0
- package/dist/settings/env/check-env.js +45 -0
- package/dist/settings/env/check-env.js.map +1 -0
- package/dist/settings/env/ignored-variables.d.ts +28 -0
- package/dist/settings/env/ignored-variables.d.ts.map +1 -0
- package/dist/settings/env/ignored-variables.js +172 -0
- package/dist/settings/env/ignored-variables.js.map +1 -0
- package/dist/settings/env/index.d.ts +5 -0
- package/dist/settings/env/index.d.ts.map +1 -0
- package/dist/settings/env/index.js +5 -0
- package/dist/settings/env/index.js.map +1 -0
- package/dist/settings/env/resolve-env.d.ts +82 -0
- package/dist/settings/env/resolve-env.d.ts.map +1 -0
- package/dist/settings/env/resolve-env.js +101 -0
- package/dist/settings/env/resolve-env.js.map +1 -0
- package/dist/settings/env/settings-env.d.ts +37 -0
- package/dist/settings/env/settings-env.d.ts.map +1 -0
- package/dist/settings/env/settings-env.js +29 -0
- package/dist/settings/env/settings-env.js.map +1 -0
- package/dist/settings/env/timing.d.ts +25 -0
- package/dist/settings/env/timing.d.ts.map +1 -0
- package/dist/settings/env/timing.js +34 -0
- package/dist/settings/env/timing.js.map +1 -0
- package/dist/settings/general/agent-keys.d.ts +19 -0
- package/dist/settings/general/agent-keys.d.ts.map +1 -0
- package/dist/settings/general/agent-keys.js +23 -0
- package/dist/settings/general/agent-keys.js.map +1 -0
- package/dist/settings/general/checks.d.ts +10 -0
- package/dist/settings/general/checks.d.ts.map +1 -0
- package/dist/settings/general/checks.js +109 -0
- package/dist/settings/general/checks.js.map +1 -0
- package/dist/settings/general/claude-json.d.ts +40 -0
- package/dist/settings/general/claude-json.d.ts.map +1 -0
- package/dist/settings/general/claude-json.js +48 -0
- package/dist/settings/general/claude-json.js.map +1 -0
- package/dist/settings/general/closed-fields.d.ts +5 -0
- package/dist/settings/general/closed-fields.d.ts.map +1 -0
- package/dist/settings/general/closed-fields.js +53 -0
- package/dist/settings/general/closed-fields.js.map +1 -0
- package/dist/settings/general/command-lines.d.ts +40 -0
- package/dist/settings/general/command-lines.d.ts.map +1 -0
- package/dist/settings/general/command-lines.js +53 -0
- package/dist/settings/general/command-lines.js.map +1 -0
- package/dist/settings/general/edit-effect.d.ts +57 -0
- package/dist/settings/general/edit-effect.d.ts.map +1 -0
- package/dist/settings/general/edit-effect.js +64 -0
- package/dist/settings/general/edit-effect.js.map +1 -0
- package/dist/settings/general/effort.d.ts +39 -0
- package/dist/settings/general/effort.d.ts.map +1 -0
- package/dist/settings/general/effort.js +58 -0
- package/dist/settings/general/effort.js.map +1 -0
- package/dist/settings/general/exceptions.d.ts +52 -0
- package/dist/settings/general/exceptions.d.ts.map +1 -0
- package/dist/settings/general/exceptions.js +46 -0
- package/dist/settings/general/exceptions.js.map +1 -0
- package/dist/settings/general/file-locations.d.ts +111 -0
- package/dist/settings/general/file-locations.d.ts.map +1 -0
- package/dist/settings/general/file-locations.js +108 -0
- package/dist/settings/general/file-locations.js.map +1 -0
- package/dist/settings/general/global-config.d.ts +8 -0
- package/dist/settings/general/global-config.d.ts.map +1 -0
- package/dist/settings/general/global-config.js +21 -0
- package/dist/settings/general/global-config.js.map +1 -0
- package/dist/settings/general/index.d.ts +19 -0
- package/dist/settings/general/index.d.ts.map +1 -0
- package/dist/settings/general/index.js +19 -0
- package/dist/settings/general/index.js.map +1 -0
- package/dist/settings/general/keys.d.ts +53 -0
- package/dist/settings/general/keys.d.ts.map +1 -0
- package/dist/settings/general/keys.js +44 -0
- package/dist/settings/general/keys.js.map +1 -0
- package/dist/settings/general/look-and-feel.d.ts +35 -0
- package/dist/settings/general/look-and-feel.d.ts.map +1 -0
- package/dist/settings/general/look-and-feel.js +57 -0
- package/dist/settings/general/look-and-feel.js.map +1 -0
- package/dist/settings/general/permission-rules.d.ts +46 -0
- package/dist/settings/general/permission-rules.d.ts.map +1 -0
- package/dist/settings/general/permission-rules.js +81 -0
- package/dist/settings/general/permission-rules.js.map +1 -0
- package/dist/settings/general/plugin-defaults.d.ts +31 -0
- package/dist/settings/general/plugin-defaults.d.ts.map +1 -0
- package/dist/settings/general/plugin-defaults.js +43 -0
- package/dist/settings/general/plugin-defaults.js.map +1 -0
- package/dist/settings/general/process-wrapper.d.ts +14 -0
- package/dist/settings/general/process-wrapper.d.ts.map +1 -0
- package/dist/settings/general/process-wrapper.js +48 -0
- package/dist/settings/general/process-wrapper.js.map +1 -0
- package/dist/settings/general/reach.d.ts +27 -0
- package/dist/settings/general/reach.d.ts.map +1 -0
- package/dist/settings/general/reach.js +40 -0
- package/dist/settings/general/reach.js.map +1 -0
- package/dist/settings/general/rows.d.ts +12 -0
- package/dist/settings/general/rows.d.ts.map +1 -0
- package/dist/settings/general/rows.js +143 -0
- package/dist/settings/general/rows.js.map +1 -0
- package/dist/settings/general/sandbox-check.d.ts +8 -0
- package/dist/settings/general/sandbox-check.d.ts.map +1 -0
- package/dist/settings/general/sandbox-check.js +110 -0
- package/dist/settings/general/sandbox-check.js.map +1 -0
- package/dist/settings/general/sandbox-credentials.d.ts +10 -0
- package/dist/settings/general/sandbox-credentials.d.ts.map +1 -0
- package/dist/settings/general/sandbox-credentials.js +110 -0
- package/dist/settings/general/sandbox-credentials.js.map +1 -0
- package/dist/settings/general/sandbox-fields.d.ts +37 -0
- package/dist/settings/general/sandbox-fields.d.ts.map +1 -0
- package/dist/settings/general/sandbox-fields.js +45 -0
- package/dist/settings/general/sandbox-fields.js.map +1 -0
- package/dist/settings/general/session-overrides.d.ts +42 -0
- package/dist/settings/general/session-overrides.d.ts.map +1 -0
- package/dist/settings/general/session-overrides.js +93 -0
- package/dist/settings/general/session-overrides.js.map +1 -0
- package/dist/settings/general/subagent-status-line.d.ts +66 -0
- package/dist/settings/general/subagent-status-line.d.ts.map +1 -0
- package/dist/settings/general/subagent-status-line.js +58 -0
- package/dist/settings/general/subagent-status-line.js.map +1 -0
- package/dist/settings/general/view.d.ts +18 -0
- package/dist/settings/general/view.d.ts.map +1 -0
- package/dist/settings/general/view.js +42 -0
- package/dist/settings/general/view.js.map +1 -0
- package/dist/settings/general/worktree-block.d.ts +63 -0
- package/dist/settings/general/worktree-block.d.ts.map +1 -0
- package/dist/settings/general/worktree-block.js +58 -0
- package/dist/settings/general/worktree-block.js.map +1 -0
- package/dist/settings/hooks/custom-commands.d.ts +41 -0
- package/dist/settings/hooks/custom-commands.d.ts.map +1 -0
- package/dist/settings/hooks/custom-commands.js +11 -0
- package/dist/settings/hooks/custom-commands.js.map +1 -0
- package/dist/settings/hooks/hook-gate.d.ts +26 -0
- package/dist/settings/hooks/hook-gate.d.ts.map +1 -0
- package/dist/settings/hooks/hook-gate.js +42 -0
- package/dist/settings/hooks/hook-gate.js.map +1 -0
- package/dist/settings/hooks/http-policy.d.ts +22 -0
- package/dist/settings/hooks/http-policy.d.ts.map +1 -0
- package/dist/settings/hooks/http-policy.js +22 -0
- package/dist/settings/hooks/http-policy.js.map +1 -0
- package/dist/settings/hooks/index.d.ts +7 -0
- package/dist/settings/hooks/index.d.ts.map +1 -0
- package/dist/settings/hooks/index.js +7 -0
- package/dist/settings/hooks/index.js.map +1 -0
- package/dist/settings/hooks/merge-groups.d.ts +20 -0
- package/dist/settings/hooks/merge-groups.d.ts.map +1 -0
- package/dist/settings/hooks/merge-groups.js +57 -0
- package/dist/settings/hooks/merge-groups.js.map +1 -0
- package/dist/settings/hooks/origin-stops.d.ts +4 -0
- package/dist/settings/hooks/origin-stops.d.ts.map +1 -0
- package/dist/settings/hooks/origin-stops.js +87 -0
- package/dist/settings/hooks/origin-stops.js.map +1 -0
- package/dist/settings/hooks/origins.d.ts +74 -0
- package/dist/settings/hooks/origins.d.ts.map +1 -0
- package/dist/settings/hooks/origins.js +8 -0
- package/dist/settings/hooks/origins.js.map +1 -0
- package/dist/settings/hooks/policy.d.ts +20 -0
- package/dist/settings/hooks/policy.d.ts.map +1 -0
- package/dist/settings/hooks/policy.js +14 -0
- package/dist/settings/hooks/policy.js.map +1 -0
- package/dist/settings/hooks/session-gates.d.ts +46 -0
- package/dist/settings/hooks/session-gates.d.ts.map +1 -0
- package/dist/settings/hooks/session-gates.js +37 -0
- package/dist/settings/hooks/session-gates.js.map +1 -0
- package/dist/settings/hooks/url-pattern.d.ts +2 -0
- package/dist/settings/hooks/url-pattern.d.ts.map +1 -0
- package/dist/settings/hooks/url-pattern.js +55 -0
- package/dist/settings/hooks/url-pattern.js.map +1 -0
- package/dist/settings/host-switches.d.ts +67 -0
- package/dist/settings/host-switches.d.ts.map +1 -0
- package/dist/settings/host-switches.js +84 -0
- package/dist/settings/host-switches.js.map +1 -0
- package/dist/settings/index.d.ts +17 -0
- package/dist/settings/index.d.ts.map +1 -0
- package/dist/settings/index.js +14 -0
- package/dist/settings/index.js.map +1 -0
- package/dist/settings/key-spec.d.ts +43 -0
- package/dist/settings/key-spec.d.ts.map +1 -0
- package/dist/settings/key-spec.js +241 -0
- package/dist/settings/key-spec.js.map +1 -0
- package/dist/settings/layers.d.ts +43 -0
- package/dist/settings/layers.d.ts.map +1 -0
- package/dist/settings/layers.js +54 -0
- package/dist/settings/layers.js.map +1 -0
- package/dist/settings/locations.d.ts +39 -0
- package/dist/settings/locations.d.ts.map +1 -0
- package/dist/settings/locations.js +25 -0
- package/dist/settings/locations.js.map +1 -0
- package/dist/settings/managed/admin-source.d.ts +109 -0
- package/dist/settings/managed/admin-source.d.ts.map +1 -0
- package/dist/settings/managed/admin-source.js +151 -0
- package/dist/settings/managed/admin-source.js.map +1 -0
- package/dist/settings/managed/applicability.d.ts +129 -0
- package/dist/settings/managed/applicability.d.ts.map +1 -0
- package/dist/settings/managed/applicability.js +158 -0
- package/dist/settings/managed/applicability.js.map +1 -0
- package/dist/settings/managed/approval.d.ts +19 -0
- package/dist/settings/managed/approval.d.ts.map +1 -0
- package/dist/settings/managed/approval.js +117 -0
- package/dist/settings/managed/approval.js.map +1 -0
- package/dist/settings/managed/combine.d.ts +20 -0
- package/dist/settings/managed/combine.d.ts.map +1 -0
- package/dist/settings/managed/combine.js +152 -0
- package/dist/settings/managed/combine.js.map +1 -0
- package/dist/settings/managed/compose.d.ts +67 -0
- package/dist/settings/managed/compose.d.ts.map +1 -0
- package/dist/settings/managed/compose.js +164 -0
- package/dist/settings/managed/compose.js.map +1 -0
- package/dist/settings/managed/cross-source.d.ts +24 -0
- package/dist/settings/managed/cross-source.d.ts.map +1 -0
- package/dist/settings/managed/cross-source.js +127 -0
- package/dist/settings/managed/cross-source.js.map +1 -0
- package/dist/settings/managed/delivery.d.ts +100 -0
- package/dist/settings/managed/delivery.d.ts.map +1 -0
- package/dist/settings/managed/delivery.js +117 -0
- package/dist/settings/managed/delivery.js.map +1 -0
- package/dist/settings/managed/drop-in.d.ts +44 -0
- package/dist/settings/managed/drop-in.d.ts.map +1 -0
- package/dist/settings/managed/drop-in.js +139 -0
- package/dist/settings/managed/drop-in.js.map +1 -0
- package/dist/settings/managed/helper-run.d.ts +51 -0
- package/dist/settings/managed/helper-run.d.ts.map +1 -0
- package/dist/settings/managed/helper-run.js +65 -0
- package/dist/settings/managed/helper-run.js.map +1 -0
- package/dist/settings/managed/index.d.ts +19 -0
- package/dist/settings/managed/index.d.ts.map +1 -0
- package/dist/settings/managed/index.js +17 -0
- package/dist/settings/managed/index.js.map +1 -0
- package/dist/settings/managed/limits.d.ts +77 -0
- package/dist/settings/managed/limits.d.ts.map +1 -0
- package/dist/settings/managed/limits.js +89 -0
- package/dist/settings/managed/limits.js.map +1 -0
- package/dist/settings/managed/load.d.ts +19 -0
- package/dist/settings/managed/load.d.ts.map +1 -0
- package/dist/settings/managed/load.js +24 -0
- package/dist/settings/managed/load.js.map +1 -0
- package/dist/settings/managed/login-keys.d.ts +29 -0
- package/dist/settings/managed/login-keys.d.ts.map +1 -0
- package/dist/settings/managed/login-keys.js +56 -0
- package/dist/settings/managed/login-keys.js.map +1 -0
- package/dist/settings/managed/parent.d.ts +38 -0
- package/dist/settings/managed/parent.d.ts.map +1 -0
- package/dist/settings/managed/parent.js +83 -0
- package/dist/settings/managed/parent.js.map +1 -0
- package/dist/settings/managed/policy-helper.d.ts +46 -0
- package/dist/settings/managed/policy-helper.d.ts.map +1 -0
- package/dist/settings/managed/policy-helper.js +133 -0
- package/dist/settings/managed/policy-helper.js.map +1 -0
- package/dist/settings/managed/ports.d.ts +27 -0
- package/dist/settings/managed/ports.d.ts.map +1 -0
- package/dist/settings/managed/ports.js +2 -0
- package/dist/settings/managed/ports.js.map +1 -0
- package/dist/settings/managed/sideload.d.ts +67 -0
- package/dist/settings/managed/sideload.d.ts.map +1 -0
- package/dist/settings/managed/sideload.js +69 -0
- package/dist/settings/managed/sideload.js.map +1 -0
- package/dist/settings/managed/startup-failure.d.ts +37 -0
- package/dist/settings/managed/startup-failure.d.ts.map +1 -0
- package/dist/settings/managed/startup-failure.js +28 -0
- package/dist/settings/managed/startup-failure.js.map +1 -0
- package/dist/settings/managed/wsl-chain.d.ts +36 -0
- package/dist/settings/managed/wsl-chain.d.ts.map +1 -0
- package/dist/settings/managed/wsl-chain.js +55 -0
- package/dist/settings/managed/wsl-chain.js.map +1 -0
- package/dist/settings/marketplaces/command-sources.d.ts +27 -0
- package/dist/settings/marketplaces/command-sources.d.ts.map +1 -0
- package/dist/settings/marketplaces/command-sources.js +25 -0
- package/dist/settings/marketplaces/command-sources.js.map +1 -0
- package/dist/settings/marketplaces/facts.d.ts +38 -0
- package/dist/settings/marketplaces/facts.d.ts.map +1 -0
- package/dist/settings/marketplaces/facts.js +90 -0
- package/dist/settings/marketplaces/facts.js.map +1 -0
- package/dist/settings/marketplaces/gate.d.ts +49 -0
- package/dist/settings/marketplaces/gate.d.ts.map +1 -0
- package/dist/settings/marketplaces/gate.js +153 -0
- package/dist/settings/marketplaces/gate.js.map +1 -0
- package/dist/settings/marketplaces/git-url.d.ts +23 -0
- package/dist/settings/marketplaces/git-url.d.ts.map +1 -0
- package/dist/settings/marketplaces/git-url.js +53 -0
- package/dist/settings/marketplaces/git-url.js.map +1 -0
- package/dist/settings/marketplaces/headers-helper.d.ts +13 -0
- package/dist/settings/marketplaces/headers-helper.d.ts.map +1 -0
- package/dist/settings/marketplaces/headers-helper.js +76 -0
- package/dist/settings/marketplaces/headers-helper.js.map +1 -0
- package/dist/settings/marketplaces/host-of.d.ts +8 -0
- package/dist/settings/marketplaces/host-of.d.ts.map +1 -0
- package/dist/settings/marketplaces/host-of.js +46 -0
- package/dist/settings/marketplaces/host-of.js.map +1 -0
- package/dist/settings/marketplaces/index.d.ts +8 -0
- package/dist/settings/marketplaces/index.d.ts.map +1 -0
- package/dist/settings/marketplaces/index.js +8 -0
- package/dist/settings/marketplaces/index.js.map +1 -0
- package/dist/settings/marketplaces/match-source.d.ts +22 -0
- package/dist/settings/marketplaces/match-source.d.ts.map +1 -0
- package/dist/settings/marketplaces/match-source.js +121 -0
- package/dist/settings/marketplaces/match-source.js.map +1 -0
- package/dist/settings/marketplaces/official-registration.d.ts +43 -0
- package/dist/settings/marketplaces/official-registration.d.ts.map +1 -0
- package/dist/settings/marketplaces/official-registration.js +28 -0
- package/dist/settings/marketplaces/official-registration.js.map +1 -0
- package/dist/settings/marketplaces/refusal-messages.d.ts +25 -0
- package/dist/settings/marketplaces/refusal-messages.d.ts.map +1 -0
- package/dist/settings/marketplaces/refusal-messages.js +26 -0
- package/dist/settings/marketplaces/refusal-messages.js.map +1 -0
- package/dist/settings/marketplaces/registry.d.ts +69 -0
- package/dist/settings/marketplaces/registry.d.ts.map +1 -0
- package/dist/settings/marketplaces/registry.js +124 -0
- package/dist/settings/marketplaces/registry.js.map +1 -0
- package/dist/settings/marketplaces/source-kinds.d.ts +22 -0
- package/dist/settings/marketplaces/source-kinds.d.ts.map +1 -0
- package/dist/settings/marketplaces/source-kinds.js +11 -0
- package/dist/settings/marketplaces/source-kinds.js.map +1 -0
- package/dist/settings/marketplaces/source-validate.d.ts +13 -0
- package/dist/settings/marketplaces/source-validate.d.ts.map +1 -0
- package/dist/settings/marketplaces/source-validate.js +73 -0
- package/dist/settings/marketplaces/source-validate.js.map +1 -0
- package/dist/settings/mcp/allow-deny.d.ts +48 -0
- package/dist/settings/mcp/allow-deny.d.ts.map +1 -0
- package/dist/settings/mcp/allow-deny.js +94 -0
- package/dist/settings/mcp/allow-deny.js.map +1 -0
- package/dist/settings/mcp/approvals.d.ts +52 -0
- package/dist/settings/mcp/approvals.d.ts.map +1 -0
- package/dist/settings/mcp/approvals.js +82 -0
- package/dist/settings/mcp/approvals.js.map +1 -0
- package/dist/settings/mcp/candidates.d.ts +21 -0
- package/dist/settings/mcp/candidates.d.ts.map +1 -0
- package/dist/settings/mcp/candidates.js +56 -0
- package/dist/settings/mcp/candidates.js.map +1 -0
- package/dist/settings/mcp/command-match.d.ts +10 -0
- package/dist/settings/mcp/command-match.d.ts.map +1 -0
- package/dist/settings/mcp/command-match.js +13 -0
- package/dist/settings/mcp/command-match.js.map +1 -0
- package/dist/settings/mcp/entries.d.ts +35 -0
- package/dist/settings/mcp/entries.d.ts.map +1 -0
- package/dist/settings/mcp/entries.js +73 -0
- package/dist/settings/mcp/entries.js.map +1 -0
- package/dist/settings/mcp/entry-env.d.ts +28 -0
- package/dist/settings/mcp/entry-env.d.ts.map +1 -0
- package/dist/settings/mcp/entry-env.js +56 -0
- package/dist/settings/mcp/entry-env.js.map +1 -0
- package/dist/settings/mcp/exclusive.d.ts +95 -0
- package/dist/settings/mcp/exclusive.d.ts.map +1 -0
- package/dist/settings/mcp/exclusive.js +161 -0
- package/dist/settings/mcp/exclusive.js.map +1 -0
- package/dist/settings/mcp/index.d.ts +15 -0
- package/dist/settings/mcp/index.d.ts.map +1 -0
- package/dist/settings/mcp/index.js +15 -0
- package/dist/settings/mcp/index.js.map +1 -0
- package/dist/settings/mcp/lists.d.ts +20 -0
- package/dist/settings/mcp/lists.d.ts.map +1 -0
- package/dist/settings/mcp/lists.js +27 -0
- package/dist/settings/mcp/lists.js.map +1 -0
- package/dist/settings/mcp/load-settings.d.ts +33 -0
- package/dist/settings/mcp/load-settings.d.ts.map +1 -0
- package/dist/settings/mcp/load-settings.js +19 -0
- package/dist/settings/mcp/load-settings.js.map +1 -0
- package/dist/settings/mcp/managed-entry.d.ts +9 -0
- package/dist/settings/mcp/managed-entry.d.ts.map +1 -0
- package/dist/settings/mcp/managed-entry.js +67 -0
- package/dist/settings/mcp/managed-entry.js.map +1 -0
- package/dist/settings/mcp/managed-file.d.ts +31 -0
- package/dist/settings/mcp/managed-file.d.ts.map +1 -0
- package/dist/settings/mcp/managed-file.js +46 -0
- package/dist/settings/mcp/managed-file.js.map +1 -0
- package/dist/settings/mcp/managed-servers.d.ts +33 -0
- package/dist/settings/mcp/managed-servers.d.ts.map +1 -0
- package/dist/settings/mcp/managed-servers.js +54 -0
- package/dist/settings/mcp/managed-servers.js.map +1 -0
- package/dist/settings/mcp/managed-timing.d.ts +50 -0
- package/dist/settings/mcp/managed-timing.d.ts.map +1 -0
- package/dist/settings/mcp/managed-timing.js +61 -0
- package/dist/settings/mcp/managed-timing.js.map +1 -0
- package/dist/settings/mcp/managed.d.ts +27 -0
- package/dist/settings/mcp/managed.d.ts.map +1 -0
- package/dist/settings/mcp/managed.js +55 -0
- package/dist/settings/mcp/managed.js.map +1 -0
- package/dist/settings/mcp/origins.d.ts +20 -0
- package/dist/settings/mcp/origins.d.ts.map +1 -0
- package/dist/settings/mcp/origins.js +39 -0
- package/dist/settings/mcp/origins.js.map +1 -0
- package/dist/settings/mcp/policy.d.ts +52 -0
- package/dist/settings/mcp/policy.d.ts.map +1 -0
- package/dist/settings/mcp/policy.js +30 -0
- package/dist/settings/mcp/policy.js.map +1 -0
- package/dist/settings/mcp/scope.d.ts +40 -0
- package/dist/settings/mcp/scope.d.ts.map +1 -0
- package/dist/settings/mcp/scope.js +66 -0
- package/dist/settings/mcp/scope.js.map +1 -0
- package/dist/settings/mcp/toggles.d.ts +26 -0
- package/dist/settings/mcp/toggles.d.ts.map +1 -0
- package/dist/settings/mcp/toggles.js +42 -0
- package/dist/settings/mcp/toggles.js.map +1 -0
- package/dist/settings/mcp/url-pattern.d.ts +11 -0
- package/dist/settings/mcp/url-pattern.d.ts.map +1 -0
- package/dist/settings/mcp/url-pattern.js +66 -0
- package/dist/settings/mcp/url-pattern.js.map +1 -0
- package/dist/settings/merge.d.ts +50 -0
- package/dist/settings/merge.d.ts.map +1 -0
- package/dist/settings/merge.js +110 -0
- package/dist/settings/merge.js.map +1 -0
- package/dist/settings/paths.d.ts +14 -0
- package/dist/settings/paths.d.ts.map +1 -0
- package/dist/settings/paths.js +28 -0
- package/dist/settings/paths.js.map +1 -0
- package/dist/settings/permissions/auto-mode.d.ts +33 -0
- package/dist/settings/permissions/auto-mode.d.ts.map +1 -0
- package/dist/settings/permissions/auto-mode.js +99 -0
- package/dist/settings/permissions/auto-mode.js.map +1 -0
- package/dist/settings/permissions/default-mode.d.ts +75 -0
- package/dist/settings/permissions/default-mode.d.ts.map +1 -0
- package/dist/settings/permissions/default-mode.js +181 -0
- package/dist/settings/permissions/default-mode.js.map +1 -0
- package/dist/settings/permissions/index.d.ts +7 -0
- package/dist/settings/permissions/index.d.ts.map +1 -0
- package/dist/settings/permissions/index.js +6 -0
- package/dist/settings/permissions/index.js.map +1 -0
- package/dist/settings/permissions/managed-only.d.ts +36 -0
- package/dist/settings/permissions/managed-only.d.ts.map +1 -0
- package/dist/settings/permissions/managed-only.js +116 -0
- package/dist/settings/permissions/managed-only.js.map +1 -0
- package/dist/settings/permissions/merge.d.ts +19 -0
- package/dist/settings/permissions/merge.d.ts.map +1 -0
- package/dist/settings/permissions/merge.js +102 -0
- package/dist/settings/permissions/merge.js.map +1 -0
- package/dist/settings/permissions/policy.d.ts +41 -0
- package/dist/settings/permissions/policy.d.ts.map +1 -0
- package/dist/settings/permissions/policy.js +29 -0
- package/dist/settings/permissions/policy.js.map +1 -0
- package/dist/settings/permissions/read.d.ts +8 -0
- package/dist/settings/permissions/read.d.ts.map +1 -0
- package/dist/settings/permissions/read.js +184 -0
- package/dist/settings/permissions/read.js.map +1 -0
- package/dist/settings/permissions/running-mode.d.ts +20 -0
- package/dist/settings/permissions/running-mode.d.ts.map +1 -0
- package/dist/settings/permissions/running-mode.js +34 -0
- package/dist/settings/permissions/running-mode.js.map +1 -0
- package/dist/settings/permissions/sandbox-read-block.d.ts +59 -0
- package/dist/settings/permissions/sandbox-read-block.d.ts.map +1 -0
- package/dist/settings/permissions/sandbox-read-block.js +55 -0
- package/dist/settings/permissions/sandbox-read-block.js.map +1 -0
- package/dist/settings/permissions/start-notices.d.ts +22 -0
- package/dist/settings/permissions/start-notices.d.ts.map +1 -0
- package/dist/settings/permissions/start-notices.js +13 -0
- package/dist/settings/permissions/start-notices.js.map +1 -0
- package/dist/settings/plugins/enabled-plugins.d.ts +32 -0
- package/dist/settings/plugins/enabled-plugins.d.ts.map +1 -0
- package/dist/settings/plugins/enabled-plugins.js +48 -0
- package/dist/settings/plugins/enabled-plugins.js.map +1 -0
- package/dist/settings/plugins/index.d.ts +10 -0
- package/dist/settings/plugins/index.d.ts.map +1 -0
- package/dist/settings/plugins/index.js +10 -0
- package/dist/settings/plugins/index.js.map +1 -0
- package/dist/settings/plugins/mod-order.d.ts +47 -0
- package/dist/settings/plugins/mod-order.d.ts.map +1 -0
- package/dist/settings/plugins/mod-order.js +103 -0
- package/dist/settings/plugins/mod-order.js.map +1 -0
- package/dist/settings/plugins/plugin-config.d.ts +28 -0
- package/dist/settings/plugins/plugin-config.d.ts.map +1 -0
- package/dist/settings/plugins/plugin-config.js +80 -0
- package/dist/settings/plugins/plugin-config.js.map +1 -0
- package/dist/settings/plugins/plugin-id.d.ts +25 -0
- package/dist/settings/plugins/plugin-id.d.ts.map +1 -0
- package/dist/settings/plugins/plugin-id.js +15 -0
- package/dist/settings/plugins/plugin-id.js.map +1 -0
- package/dist/settings/plugins/policy.d.ts +20 -0
- package/dist/settings/plugins/policy.d.ts.map +1 -0
- package/dist/settings/plugins/policy.js +18 -0
- package/dist/settings/plugins/policy.js.map +1 -0
- package/dist/settings/plugins/suggestions.d.ts +20 -0
- package/dist/settings/plugins/suggestions.d.ts.map +1 -0
- package/dist/settings/plugins/suggestions.js +46 -0
- package/dist/settings/plugins/suggestions.js.map +1 -0
- package/dist/settings/plugins/sync-plugins.d.ts +31 -0
- package/dist/settings/plugins/sync-plugins.d.ts.map +1 -0
- package/dist/settings/plugins/sync-plugins.js +31 -0
- package/dist/settings/plugins/sync-plugins.js.map +1 -0
- package/dist/settings/plugins/trust-warning.d.ts +9 -0
- package/dist/settings/plugins/trust-warning.d.ts.map +1 -0
- package/dist/settings/plugins/trust-warning.js +20 -0
- package/dist/settings/plugins/trust-warning.js.map +1 -0
- package/dist/settings/read-layer.d.ts +8 -0
- package/dist/settings/read-layer.d.ts.map +1 -0
- package/dist/settings/read-layer.js +128 -0
- package/dist/settings/read-layer.js.map +1 -0
- package/dist/settings/repair/closed.d.ts +30 -0
- package/dist/settings/repair/closed.d.ts.map +1 -0
- package/dist/settings/repair/closed.js +76 -0
- package/dist/settings/repair/closed.js.map +1 -0
- package/dist/settings/repair/hooks.d.ts +12 -0
- package/dist/settings/repair/hooks.d.ts.map +1 -0
- package/dist/settings/repair/hooks.js +56 -0
- package/dist/settings/repair/hooks.js.map +1 -0
- package/dist/settings/repair/kinds.d.ts +14 -0
- package/dist/settings/repair/kinds.d.ts.map +1 -0
- package/dist/settings/repair/kinds.js +74 -0
- package/dist/settings/repair/kinds.js.map +1 -0
- package/dist/settings/repair/lists.d.ts +28 -0
- package/dist/settings/repair/lists.d.ts.map +1 -0
- package/dist/settings/repair/lists.js +121 -0
- package/dist/settings/repair/lists.js.map +1 -0
- package/dist/settings/repair/network.d.ts +3 -0
- package/dist/settings/repair/network.d.ts.map +1 -0
- package/dist/settings/repair/network.js +65 -0
- package/dist/settings/repair/network.js.map +1 -0
- package/dist/settings/repair/support.d.ts +59 -0
- package/dist/settings/repair/support.d.ts.map +1 -0
- package/dist/settings/repair/support.js +59 -0
- package/dist/settings/repair/support.js.map +1 -0
- package/dist/settings/repair/values.d.ts +39 -0
- package/dist/settings/repair/values.d.ts.map +1 -0
- package/dist/settings/repair/values.js +115 -0
- package/dist/settings/repair/values.js.map +1 -0
- package/dist/settings/resolve.d.ts +64 -0
- package/dist/settings/resolve.d.ts.map +1 -0
- package/dist/settings/resolve.js +69 -0
- package/dist/settings/resolve.js.map +1 -0
- package/dist/settings/skills/bundled.d.ts +25 -0
- package/dist/settings/skills/bundled.d.ts.map +1 -0
- package/dist/settings/skills/bundled.js +24 -0
- package/dist/settings/skills/bundled.js.map +1 -0
- package/dist/settings/skills/index.d.ts +7 -0
- package/dist/settings/skills/index.d.ts.map +1 -0
- package/dist/settings/skills/index.js +7 -0
- package/dist/settings/skills/index.js.map +1 -0
- package/dist/settings/skills/overrides.d.ts +27 -0
- package/dist/settings/skills/overrides.d.ts.map +1 -0
- package/dist/settings/skills/overrides.js +53 -0
- package/dist/settings/skills/overrides.js.map +1 -0
- package/dist/settings/skills/policy.d.ts +26 -0
- package/dist/settings/skills/policy.d.ts.map +1 -0
- package/dist/settings/skills/policy.js +22 -0
- package/dist/settings/skills/policy.js.map +1 -0
- package/dist/settings/skills/shell.d.ts +18 -0
- package/dist/settings/skills/shell.d.ts.map +1 -0
- package/dist/settings/skills/shell.js +38 -0
- package/dist/settings/skills/shell.js.map +1 -0
- package/dist/settings/skills/sync-skills.d.ts +12 -0
- package/dist/settings/skills/sync-skills.d.ts.map +1 -0
- package/dist/settings/skills/sync-skills.js +11 -0
- package/dist/settings/skills/sync-skills.js.map +1 -0
- package/dist/settings/sources.d.ts +48 -0
- package/dist/settings/sources.d.ts.map +1 -0
- package/dist/settings/sources.js +80 -0
- package/dist/settings/sources.js.map +1 -0
- package/dist/settings/value-spec.d.ts +42 -0
- package/dist/settings/value-spec.d.ts.map +1 -0
- package/dist/settings/value-spec.js +2 -0
- package/dist/settings/value-spec.js.map +1 -0
- package/dist/settings/view.d.ts +19 -0
- package/dist/settings/view.d.ts.map +1 -0
- package/dist/settings/view.js +82 -0
- package/dist/settings/view.js.map +1 -0
- package/dist/settings/workflows/enablement.d.ts +55 -0
- package/dist/settings/workflows/enablement.d.ts.map +1 -0
- package/dist/settings/workflows/enablement.js +63 -0
- package/dist/settings/workflows/enablement.js.map +1 -0
- package/dist/settings/workflows/index.d.ts +6 -0
- package/dist/settings/workflows/index.d.ts.map +1 -0
- package/dist/settings/workflows/index.js +6 -0
- package/dist/settings/workflows/index.js.map +1 -0
- package/dist/settings/workflows/keyword.d.ts +43 -0
- package/dist/settings/workflows/keyword.d.ts.map +1 -0
- package/dist/settings/workflows/keyword.js +78 -0
- package/dist/settings/workflows/keyword.js.map +1 -0
- package/dist/settings/workflows/policy.d.ts +15 -0
- package/dist/settings/workflows/policy.d.ts.map +1 -0
- package/dist/settings/workflows/policy.js +13 -0
- package/dist/settings/workflows/policy.js.map +1 -0
- package/dist/settings/workflows/size.d.ts +55 -0
- package/dist/settings/workflows/size.d.ts.map +1 -0
- package/dist/settings/workflows/size.js +40 -0
- package/dist/settings/workflows/size.js.map +1 -0
- package/dist/skills/arguments.d.ts +13 -0
- package/dist/skills/arguments.d.ts.map +1 -0
- package/dist/skills/arguments.js +37 -0
- package/dist/skills/arguments.js.map +1 -0
- package/dist/skills/command-entries.d.ts +35 -0
- package/dist/skills/command-entries.d.ts.map +1 -0
- package/dist/skills/command-entries.js +69 -0
- package/dist/skills/command-entries.js.map +1 -0
- package/dist/skills/execution.d.ts +116 -0
- package/dist/skills/execution.d.ts.map +1 -0
- package/dist/skills/execution.js +150 -0
- package/dist/skills/execution.js.map +1 -0
- package/dist/skills/expand-policy.d.ts +38 -0
- package/dist/skills/expand-policy.d.ts.map +1 -0
- package/dist/skills/expand-policy.js +41 -0
- package/dist/skills/expand-policy.js.map +1 -0
- package/dist/skills/expand-shell.d.ts +42 -0
- package/dist/skills/expand-shell.d.ts.map +1 -0
- package/dist/skills/expand-shell.js +102 -0
- package/dist/skills/expand-shell.js.map +1 -0
- package/dist/skills/expand-types.d.ts +91 -0
- package/dist/skills/expand-types.d.ts.map +1 -0
- package/dist/skills/expand-types.js +2 -0
- package/dist/skills/expand-types.js.map +1 -0
- package/dist/skills/expand.d.ts +17 -0
- package/dist/skills/expand.d.ts.map +1 -0
- package/dist/skills/expand.js +122 -0
- package/dist/skills/expand.js.map +1 -0
- package/dist/skills/file-references.d.ts +34 -0
- package/dist/skills/file-references.d.ts.map +1 -0
- package/dist/skills/file-references.js +28 -0
- package/dist/skills/file-references.js.map +1 -0
- package/dist/skills/folder-line.d.ts +9 -0
- package/dist/skills/folder-line.d.ts.map +1 -0
- package/dist/skills/folder-line.js +9 -0
- package/dist/skills/folder-line.js.map +1 -0
- package/dist/skills/fork.d.ts +47 -0
- package/dist/skills/fork.d.ts.map +1 -0
- package/dist/skills/fork.js +27 -0
- package/dist/skills/fork.js.map +1 -0
- package/dist/skills/hook-limits.d.ts +40 -0
- package/dist/skills/hook-limits.d.ts.map +1 -0
- package/dist/skills/hook-limits.js +54 -0
- package/dist/skills/hook-limits.js.map +1 -0
- package/dist/skills/index.d.ts +30 -0
- package/dist/skills/index.d.ts.map +1 -0
- package/dist/skills/index.js +29 -0
- package/dist/skills/index.js.map +1 -0
- package/dist/skills/invocation.d.ts +60 -0
- package/dist/skills/invocation.d.ts.map +1 -0
- package/dist/skills/invocation.js +75 -0
- package/dist/skills/invocation.js.map +1 -0
- package/dist/skills/lifecycle.d.ts +78 -0
- package/dist/skills/lifecycle.d.ts.map +1 -0
- package/dist/skills/lifecycle.js +89 -0
- package/dist/skills/lifecycle.js.map +1 -0
- package/dist/skills/listing.d.ts +84 -0
- package/dist/skills/listing.d.ts.map +1 -0
- package/dist/skills/listing.js +142 -0
- package/dist/skills/listing.js.map +1 -0
- package/dist/skills/lookup.d.ts +25 -0
- package/dist/skills/lookup.d.ts.map +1 -0
- package/dist/skills/lookup.js +34 -0
- package/dist/skills/lookup.js.map +1 -0
- package/dist/skills/mention.d.ts +48 -0
- package/dist/skills/mention.d.ts.map +1 -0
- package/dist/skills/mention.js +70 -0
- package/dist/skills/mention.js.map +1 -0
- package/dist/skills/path-gate.d.ts +32 -0
- package/dist/skills/path-gate.d.ts.map +1 -0
- package/dist/skills/path-gate.js +160 -0
- package/dist/skills/path-gate.js.map +1 -0
- package/dist/skills/portable.d.ts +20 -0
- package/dist/skills/portable.d.ts.map +1 -0
- package/dist/skills/portable.js +58 -0
- package/dist/skills/portable.js.map +1 -0
- package/dist/skills/scan/container.d.ts +28 -0
- package/dist/skills/scan/container.d.ts.map +1 -0
- package/dist/skills/scan/container.js +33 -0
- package/dist/skills/scan/container.js.map +1 -0
- package/dist/skills/scan/file-location.d.ts +12 -0
- package/dist/skills/scan/file-location.d.ts.map +1 -0
- package/dist/skills/scan/file-location.js +23 -0
- package/dist/skills/scan/file-location.js.map +1 -0
- package/dist/skills/scan/head.d.ts +3 -0
- package/dist/skills/scan/head.d.ts.map +1 -0
- package/dist/skills/scan/head.js +16 -0
- package/dist/skills/scan/head.js.map +1 -0
- package/dist/skills/scan/locations.d.ts +56 -0
- package/dist/skills/scan/locations.d.ts.map +1 -0
- package/dist/skills/scan/locations.js +92 -0
- package/dist/skills/scan/locations.js.map +1 -0
- package/dist/skills/scan/names.d.ts +21 -0
- package/dist/skills/scan/names.d.ts.map +1 -0
- package/dist/skills/scan/names.js +37 -0
- package/dist/skills/scan/names.js.map +1 -0
- package/dist/skills/scan/nested.d.ts +19 -0
- package/dist/skills/scan/nested.d.ts.map +1 -0
- package/dist/skills/scan/nested.js +13 -0
- package/dist/skills/scan/nested.js.map +1 -0
- package/dist/skills/scan/read.d.ts +25 -0
- package/dist/skills/scan/read.d.ts.map +1 -0
- package/dist/skills/scan/read.js +105 -0
- package/dist/skills/scan/read.js.map +1 -0
- package/dist/skills/scan/resolve.d.ts +58 -0
- package/dist/skills/scan/resolve.d.ts.map +1 -0
- package/dist/skills/scan/resolve.js +155 -0
- package/dist/skills/scan/resolve.js.map +1 -0
- package/dist/skills/scan/scan-types.d.ts +53 -0
- package/dist/skills/scan/scan-types.d.ts.map +1 -0
- package/dist/skills/scan/scan-types.js +8 -0
- package/dist/skills/scan/scan-types.js.map +1 -0
- package/dist/skills/scan/scan.d.ts +16 -0
- package/dist/skills/scan/scan.d.ts.map +1 -0
- package/dist/skills/scan/scan.js +88 -0
- package/dist/skills/scan/scan.js.map +1 -0
- package/dist/skills/shell-arguments.d.ts +27 -0
- package/dist/skills/shell-arguments.d.ts.map +1 -0
- package/dist/skills/shell-arguments.js +86 -0
- package/dist/skills/shell-arguments.js.map +1 -0
- package/dist/skills/shell-ports.d.ts +30 -0
- package/dist/skills/shell-ports.d.ts.map +1 -0
- package/dist/skills/shell-ports.js +2 -0
- package/dist/skills/shell-ports.js.map +1 -0
- package/dist/skills/shell-refusal.d.ts +4 -0
- package/dist/skills/shell-refusal.d.ts.map +1 -0
- package/dist/skills/shell-refusal.js +33 -0
- package/dist/skills/shell-refusal.js.map +1 -0
- package/dist/skills/shell-result.d.ts +36 -0
- package/dist/skills/shell-result.d.ts.map +1 -0
- package/dist/skills/shell-result.js +86 -0
- package/dist/skills/shell-result.js.map +1 -0
- package/dist/skills/shell-run.d.ts +78 -0
- package/dist/skills/shell-run.d.ts.map +1 -0
- package/dist/skills/shell-run.js +100 -0
- package/dist/skills/shell-run.js.map +1 -0
- package/dist/skills/shell-scan.d.ts +21 -0
- package/dist/skills/shell-scan.d.ts.map +1 -0
- package/dist/skills/shell-scan.js +51 -0
- package/dist/skills/shell-scan.js.map +1 -0
- package/dist/skills/shell-variables.d.ts +20 -0
- package/dist/skills/shell-variables.d.ts.map +1 -0
- package/dist/skills/shell-variables.js +23 -0
- package/dist/skills/shell-variables.js.map +1 -0
- package/dist/skills/skill-rule.d.ts +10 -0
- package/dist/skills/skill-rule.d.ts.map +1 -0
- package/dist/skills/skill-rule.js +45 -0
- package/dist/skills/skill-rule.js.map +1 -0
- package/dist/skills/stack.d.ts +36 -0
- package/dist/skills/stack.d.ts.map +1 -0
- package/dist/skills/stack.js +28 -0
- package/dist/skills/stack.js.map +1 -0
- package/dist/skills/substitute.d.ts +60 -0
- package/dist/skills/substitute.d.ts.map +1 -0
- package/dist/skills/substitute.js +136 -0
- package/dist/skills/substitute.js.map +1 -0
- package/dist/skills/variables.d.ts +104 -0
- package/dist/skills/variables.d.ts.map +1 -0
- package/dist/skills/variables.js +142 -0
- package/dist/skills/variables.js.map +1 -0
- package/dist/skills/visibility.d.ts +35 -0
- package/dist/skills/visibility.d.ts.map +1 -0
- package/dist/skills/visibility.js +32 -0
- package/dist/skills/visibility.js.map +1 -0
- package/dist/testing/index.d.ts +7 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +7 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/testing/mods/claude.d.ts +4 -0
- package/dist/testing/mods/claude.d.ts.map +1 -0
- package/dist/testing/mods/claude.js +55 -0
- package/dist/testing/mods/claude.js.map +1 -0
- package/dist/testing/mods/expect.d.ts +55 -0
- package/dist/testing/mods/expect.d.ts.map +1 -0
- package/dist/testing/mods/expect.js +111 -0
- package/dist/testing/mods/expect.js.map +1 -0
- package/dist/testing/mods/fake-ports.d.ts +23 -0
- package/dist/testing/mods/fake-ports.d.ts.map +1 -0
- package/dist/testing/mods/fake-ports.js +138 -0
- package/dist/testing/mods/fake-ports.js.map +1 -0
- package/dist/testing/mods/fallbacks.d.ts +7 -0
- package/dist/testing/mods/fallbacks.d.ts.map +1 -0
- package/dist/testing/mods/fallbacks.js +35 -0
- package/dist/testing/mods/fallbacks.js.map +1 -0
- package/dist/testing/mods/index.d.ts +12 -0
- package/dist/testing/mods/index.d.ts.map +1 -0
- package/dist/testing/mods/index.js +11 -0
- package/dist/testing/mods/index.js.map +1 -0
- package/dist/testing/mods/inline-files.d.ts +22 -0
- package/dist/testing/mods/inline-files.d.ts.map +1 -0
- package/dist/testing/mods/inline-files.js +87 -0
- package/dist/testing/mods/inline-files.js.map +1 -0
- package/dist/testing/mods/inline-runtime.d.ts +21 -0
- package/dist/testing/mods/inline-runtime.d.ts.map +1 -0
- package/dist/testing/mods/inline-runtime.js +71 -0
- package/dist/testing/mods/inline-runtime.js.map +1 -0
- package/dist/testing/mods/kit.d.ts +55 -0
- package/dist/testing/mods/kit.d.ts.map +1 -0
- package/dist/testing/mods/kit.js +53 -0
- package/dist/testing/mods/kit.js.map +1 -0
- package/dist/testing/mods/mock-clock.d.ts +16 -0
- package/dist/testing/mods/mock-clock.d.ts.map +1 -0
- package/dist/testing/mods/mock-clock.js +53 -0
- package/dist/testing/mods/mock-clock.js.map +1 -0
- package/dist/testing/mods/mock.d.ts +28 -0
- package/dist/testing/mods/mock.d.ts.map +1 -0
- package/dist/testing/mods/mock.js +45 -0
- package/dist/testing/mods/mock.js.map +1 -0
- package/dist/testing/mods/mount.d.ts +48 -0
- package/dist/testing/mods/mount.d.ts.map +1 -0
- package/dist/testing/mods/mount.js +84 -0
- package/dist/testing/mods/mount.js.map +1 -0
- package/dist/testing/mods/ports.d.ts +23 -0
- package/dist/testing/mods/ports.d.ts.map +1 -0
- package/dist/testing/mods/ports.js +10 -0
- package/dist/testing/mods/ports.js.map +1 -0
- package/dist/testing/mods/runner.d.ts +34 -0
- package/dist/testing/mods/runner.d.ts.map +1 -0
- package/dist/testing/mods/runner.js +147 -0
- package/dist/testing/mods/runner.js.map +1 -0
- package/dist/testing/mods/stubs.d.ts +25 -0
- package/dist/testing/mods/stubs.d.ts.map +1 -0
- package/dist/testing/mods/stubs.js +73 -0
- package/dist/testing/mods/stubs.js.map +1 -0
- package/dist/testing/mods/world.d.ts +47 -0
- package/dist/testing/mods/world.d.ts.map +1 -0
- package/dist/testing/mods/world.js +145 -0
- package/dist/testing/mods/world.js.map +1 -0
- package/dist/testing/ports/clock.d.ts +11 -0
- package/dist/testing/ports/clock.d.ts.map +1 -0
- package/dist/testing/ports/clock.js +39 -0
- package/dist/testing/ports/clock.js.map +1 -0
- package/dist/testing/ports/environment.d.ts +8 -0
- package/dist/testing/ports/environment.d.ts.map +1 -0
- package/dist/testing/ports/environment.js +20 -0
- package/dist/testing/ports/environment.js.map +1 -0
- package/dist/testing/ports/files.d.ts +32 -0
- package/dist/testing/ports/files.d.ts.map +1 -0
- package/dist/testing/ports/files.js +151 -0
- package/dist/testing/ports/files.js.map +1 -0
- package/dist/testing/ports/folders.d.ts +24 -0
- package/dist/testing/ports/folders.d.ts.map +1 -0
- package/dist/testing/ports/folders.js +159 -0
- package/dist/testing/ports/folders.js.map +1 -0
- package/dist/testing/ports/http.d.ts +10 -0
- package/dist/testing/ports/http.d.ts.map +1 -0
- package/dist/testing/ports/http.js +42 -0
- package/dist/testing/ports/http.js.map +1 -0
- package/dist/testing/ports/index.d.ts +15 -0
- package/dist/testing/ports/index.d.ts.map +1 -0
- package/dist/testing/ports/index.js +15 -0
- package/dist/testing/ports/index.js.map +1 -0
- package/dist/testing/ports/locations.d.ts +16 -0
- package/dist/testing/ports/locations.d.ts.map +1 -0
- package/dist/testing/ports/locations.js +19 -0
- package/dist/testing/ports/locations.js.map +1 -0
- package/dist/testing/ports/mcp.d.ts +12 -0
- package/dist/testing/ports/mcp.d.ts.map +1 -0
- package/dist/testing/ports/mcp.js +15 -0
- package/dist/testing/ports/mcp.js.map +1 -0
- package/dist/testing/ports/model.d.ts +12 -0
- package/dist/testing/ports/model.d.ts.map +1 -0
- package/dist/testing/ports/model.js +17 -0
- package/dist/testing/ports/model.js.map +1 -0
- package/dist/testing/ports/runner.d.ts +11 -0
- package/dist/testing/ports/runner.d.ts.map +1 -0
- package/dist/testing/ports/runner.js +21 -0
- package/dist/testing/ports/runner.js.map +1 -0
- package/dist/testing/rows/index.d.ts +34 -0
- package/dist/testing/rows/index.d.ts.map +1 -0
- package/dist/testing/rows/index.js +75 -0
- package/dist/testing/rows/index.js.map +1 -0
- package/dist/updates/auto-update-pass.d.ts +53 -0
- package/dist/updates/auto-update-pass.d.ts.map +1 -0
- package/dist/updates/auto-update-pass.js +46 -0
- package/dist/updates/auto-update-pass.js.map +1 -0
- package/dist/updates/auto-update-precedence.d.ts +71 -0
- package/dist/updates/auto-update-precedence.d.ts.map +1 -0
- package/dist/updates/auto-update-precedence.js +71 -0
- package/dist/updates/auto-update-precedence.js.map +1 -0
- package/dist/updates/auto-update-skips.d.ts +31 -0
- package/dist/updates/auto-update-skips.d.ts.map +1 -0
- package/dist/updates/auto-update-skips.js +28 -0
- package/dist/updates/auto-update-skips.js.map +1 -0
- package/dist/updates/claude-code-version-policy.d.ts +101 -0
- package/dist/updates/claude-code-version-policy.d.ts.map +1 -0
- package/dist/updates/claude-code-version-policy.js +155 -0
- package/dist/updates/claude-code-version-policy.js.map +1 -0
- package/dist/updates/command-source-rerun.d.ts +98 -0
- package/dist/updates/command-source-rerun.d.ts.map +1 -0
- package/dist/updates/command-source-rerun.js +120 -0
- package/dist/updates/command-source-rerun.js.map +1 -0
- package/dist/updates/env-flags.d.ts +16 -0
- package/dist/updates/env-flags.d.ts.map +1 -0
- package/dist/updates/env-flags.js +16 -0
- package/dist/updates/env-flags.js.map +1 -0
- package/dist/updates/index.d.ts +10 -0
- package/dist/updates/index.d.ts.map +1 -0
- package/dist/updates/index.js +10 -0
- package/dist/updates/index.js.map +1 -0
- package/dist/updates/private-marketplace.d.ts +53 -0
- package/dist/updates/private-marketplace.d.ts.map +1 -0
- package/dist/updates/private-marketplace.js +40 -0
- package/dist/updates/private-marketplace.js.map +1 -0
- package/dist/updates/refresh-before-install.d.ts +72 -0
- package/dist/updates/refresh-before-install.d.ts.map +1 -0
- package/dist/updates/refresh-before-install.js +127 -0
- package/dist/updates/refresh-before-install.js.map +1 -0
- package/dist/updates/update-targets.d.ts +54 -0
- package/dist/updates/update-targets.d.ts.map +1 -0
- package/dist/updates/update-targets.js +54 -0
- package/dist/updates/update-targets.js.map +1 -0
- package/package.json +249 -4
- package/src/agents/builtin-model.ts +61 -0
- package/src/agents/catalog/builtin.ts +117 -0
- package/src/agents/catalog/index.ts +51 -0
- package/src/agents/catalog/invoke.ts +227 -0
- package/src/agents/catalog/resolve.ts +220 -0
- package/src/agents/catalog/scan.ts +166 -0
- package/src/agents/catalog/scopes.ts +69 -0
- package/src/agents/catalog/spawn.ts +129 -0
- package/src/agents/catalog/types.ts +104 -0
- package/src/agents/handback-denial.ts +18 -0
- package/src/agents/hooks.ts +190 -0
- package/src/agents/index.ts +111 -0
- package/src/agents/launch-model.ts +175 -0
- package/src/agents/launch.ts +186 -0
- package/src/agents/mcp-scope.ts +200 -0
- package/src/agents/memory.ts +143 -0
- package/src/agents/model-choice.ts +86 -0
- package/src/agents/model-value.ts +40 -0
- package/src/agents/permission-baseline.ts +83 -0
- package/src/agents/permission-mode.ts +81 -0
- package/src/agents/preload-skills.ts +47 -0
- package/src/agents/prompt-surface.ts +23 -0
- package/src/agents/subagent-permission.ts +70 -0
- package/src/agents/teammate.ts +125 -0
- package/src/agents/tool-filters.ts +109 -0
- package/src/agents/tool-list.ts +66 -0
- package/src/agents/tool-resolution.ts +213 -0
- package/src/agents/workflow/args.ts +29 -0
- package/src/agents/workflow/attempts.ts +186 -0
- package/src/agents/workflow/index.ts +24 -0
- package/src/agents/workflow/limits.ts +93 -0
- package/src/agents/workflow/relaunch.ts +93 -0
- package/src/agents/workflow/replay.ts +138 -0
- package/src/agents/workflow/saved-scan.ts +114 -0
- package/src/agents/workflow/saved.ts +142 -0
- package/src/agents/workflow/structured-output.ts +112 -0
- package/src/agents/workflow/usage-limit.ts +82 -0
- package/src/cli/background-session.ts +111 -0
- package/src/cli/clean-configuration.ts +78 -0
- package/src/cli/command-acceptance.ts +139 -0
- package/src/cli/command-table.ts +142 -0
- package/src/cli/configure-dialog.ts +41 -0
- package/src/cli/configure-plan.ts +213 -0
- package/src/cli/disable-plan.ts +111 -0
- package/src/cli/enable-plan.ts +72 -0
- package/src/cli/flags/add-dir.ts +82 -0
- package/src/cli/flags/agents.ts +111 -0
- package/src/cli/flags/channels.ts +77 -0
- package/src/cli/flags/customizations.ts +62 -0
- package/src/cli/flags/mcp.ts +151 -0
- package/src/cli/flags/modes.ts +49 -0
- package/src/cli/flags/plugins.ts +84 -0
- package/src/cli/flags/registry.ts +41 -0
- package/src/cli/flags/session.ts +58 -0
- package/src/cli/flags/settings.ts +73 -0
- package/src/cli/flags/sideload.ts +44 -0
- package/src/cli/flags/subagent-prompt.ts +56 -0
- package/src/cli/flags/types.ts +193 -0
- package/src/cli/flags/values.ts +19 -0
- package/src/cli/index.ts +259 -0
- package/src/cli/install-config.ts +150 -0
- package/src/cli/install-lookup.ts +133 -0
- package/src/cli/install-plan.ts +295 -0
- package/src/cli/install-refusals.ts +17 -0
- package/src/cli/install-start.ts +163 -0
- package/src/cli/lfs-pointer-line.ts +13 -0
- package/src/cli/marketplace-add.ts +249 -0
- package/src/cli/marketplace-list.ts +150 -0
- package/src/cli/marketplace-remove.ts +181 -0
- package/src/cli/marketplace-update.ts +140 -0
- package/src/cli/plugin-details.ts +92 -0
- package/src/cli/plugin-list.ts +217 -0
- package/src/cli/plugin-ref.ts +30 -0
- package/src/cli/prune-plan.ts +105 -0
- package/src/cli/records-refusal.ts +22 -0
- package/src/cli/result.ts +181 -0
- package/src/cli/scope.ts +168 -0
- package/src/cli/session-flags.ts +117 -0
- package/src/cli/tag-plan.ts +111 -0
- package/src/cli/toggle-target.ts +155 -0
- package/src/cli/uninstall-data.ts +96 -0
- package/src/cli/uninstall-flags.ts +15 -0
- package/src/cli/uninstall-plan.ts +295 -0
- package/src/cli/uninstall-refusal.ts +37 -0
- package/src/cli/update-facts.ts +53 -0
- package/src/cli/update-locate.ts +91 -0
- package/src/cli/update-plan.ts +215 -0
- package/src/cli/user-config-input.ts +108 -0
- package/src/cli/validate-advice.ts +79 -0
- package/src/cli/validate-run.ts +202 -0
- package/src/convert/adapters/claude-code-runner-source.ts +166 -0
- package/src/convert/adapters/core-profiles-source.ts +162 -0
- package/src/convert/adapters/core-runner-source.ts +161 -0
- package/src/convert/adapters/registration.ts +155 -0
- package/src/convert/adapters/sources.ts +52 -0
- package/src/convert/convert-package.ts +115 -0
- package/src/convert/index.ts +12 -0
- package/src/convert/judge.ts +41 -0
- package/src/convert/namespaces.ts +59 -0
- package/src/convert/notes.ts +46 -0
- package/src/convert/overlay.ts +65 -0
- package/src/convert/placeholders.ts +87 -0
- package/src/convert/profiles.ts +45 -0
- package/src/convert/skill-body.ts +37 -0
- package/src/convert/to-claude-code/hooks.ts +155 -0
- package/src/convert/to-claude-code/index.ts +46 -0
- package/src/convert/to-claude-code/manifest.ts +80 -0
- package/src/convert/to-claude-code/mcp.ts +115 -0
- package/src/convert/to-claude-code/skills.ts +25 -0
- package/src/convert/to-core/components.ts +58 -0
- package/src/convert/to-core/hook-matchers.ts +55 -0
- package/src/convert/to-core/hooks.ts +174 -0
- package/src/convert/to-core/index.ts +59 -0
- package/src/convert/to-core/manifest.ts +49 -0
- package/src/convert/to-core/mcp.ts +145 -0
- package/src/convert/to-core/skills.ts +65 -0
- package/src/convert/types.ts +50 -0
- package/src/entry/agents.ts +7 -0
- package/src/entry/cli.ts +2 -0
- package/src/entry/core.ts +4 -0
- package/src/entry/elicitation.ts +24 -0
- package/src/entry/format.ts +19 -0
- package/src/entry/hooks.ts +17 -0
- package/src/entry/layout.ts +2 -0
- package/src/entry/loading.ts +2 -0
- package/src/entry/marketplace.ts +5 -0
- package/src/entry/mod-elements.ts +8 -0
- package/src/entry/mod-isolate.ts +32 -0
- package/src/entry/mods.ts +84 -0
- package/src/entry/rules.ts +7 -0
- package/src/entry/sdk.ts +4 -0
- package/src/entry/settings.ts +26 -0
- package/src/entry/skills.ts +2 -0
- package/src/format/agent-field-read.ts +56 -0
- package/src/format/agent-fields.ts +197 -0
- package/src/format/agent-flag.ts +143 -0
- package/src/format/agent-hooks-field.ts +19 -0
- package/src/format/agent-name.ts +68 -0
- package/src/format/agent-record.ts +93 -0
- package/src/format/agent-scalars.ts +141 -0
- package/src/format/agent-unrecognized.ts +61 -0
- package/src/format/agent.ts +166 -0
- package/src/format/bundled-skill.ts +48 -0
- package/src/format/canonical-json.ts +20 -0
- package/src/format/code-points.ts +10 -0
- package/src/format/command.ts +211 -0
- package/src/format/component-source.ts +19 -0
- package/src/format/config-directory.ts +47 -0
- package/src/format/core/command.ts +41 -0
- package/src/format/core/document.ts +45 -0
- package/src/format/core/dual.ts +121 -0
- package/src/format/core/extensions.ts +34 -0
- package/src/format/core/hooks.ts +153 -0
- package/src/format/core/icon.ts +31 -0
- package/src/format/core/index.ts +55 -0
- package/src/format/core/manifest.ts +187 -0
- package/src/format/core/mcp-server.ts +164 -0
- package/src/format/core/mcp.ts +68 -0
- package/src/format/core/name.ts +26 -0
- package/src/format/core/placeholders.ts +88 -0
- package/src/format/core/remote.ts +70 -0
- package/src/format/core/skill.ts +89 -0
- package/src/format/core/subprocess.ts +106 -0
- package/src/format/core/versions.ts +47 -0
- package/src/format/credential-env.ts +166 -0
- package/src/format/defined.ts +15 -0
- package/src/format/env-flag.ts +17 -0
- package/src/format/env-number.ts +36 -0
- package/src/format/frontmatter-render.ts +131 -0
- package/src/format/frontmatter-values.ts +169 -0
- package/src/format/frontmatter-write.ts +83 -0
- package/src/format/frontmatter.ts +193 -0
- package/src/format/helper-credentials.ts +48 -0
- package/src/format/helper-headers.ts +33 -0
- package/src/format/hooks-handlers.ts +143 -0
- package/src/format/hooks-settings.ts +232 -0
- package/src/format/host-errors.ts +195 -0
- package/src/format/index.ts +206 -0
- package/src/format/issues.ts +37 -0
- package/src/format/js-literal.ts +204 -0
- package/src/format/js-parse.ts +52 -0
- package/src/format/js-tokens.ts +293 -0
- package/src/format/layout.ts +195 -0
- package/src/format/link-rule.ts +41 -0
- package/src/format/listing.ts +21 -0
- package/src/format/load-files.ts +33 -0
- package/src/format/locate.ts +110 -0
- package/src/format/lsp-config.ts +137 -0
- package/src/format/lsp-schema.ts +63 -0
- package/src/format/manifest-schema.ts +144 -0
- package/src/format/manifest.ts +99 -0
- package/src/format/marketplace/archive-url.ts +29 -0
- package/src/format/marketplace/blocked-hosts.ts +81 -0
- package/src/format/marketplace/display-fields.ts +63 -0
- package/src/format/marketplace/entries.ts +209 -0
- package/src/format/marketplace/entry-append.ts +77 -0
- package/src/format/marketplace/entry-checks.ts +197 -0
- package/src/format/marketplace/entry-merge.ts +208 -0
- package/src/format/marketplace/entry-schema.ts +109 -0
- package/src/format/marketplace/header-names.ts +40 -0
- package/src/format/marketplace/ids.ts +120 -0
- package/src/format/marketplace/index.ts +67 -0
- package/src/format/marketplace/marketplace-name-lists.ts +76 -0
- package/src/format/marketplace/marketplace-names.ts +276 -0
- package/src/format/marketplace/marketplace-schema.ts +246 -0
- package/src/format/marketplace/marketplace-source.ts +271 -0
- package/src/format/marketplace/marketplace.ts +212 -0
- package/src/format/marketplace/plugin-source-fields.ts +124 -0
- package/src/format/marketplace/plugin-source-kinds.ts +141 -0
- package/src/format/marketplace/plugin-source.ts +109 -0
- package/src/format/marketplace/relevance.ts +116 -0
- package/src/format/marketplace/renames.ts +74 -0
- package/src/format/marketplace/schema-issues.ts +20 -0
- package/src/format/marketplace/settings-source-plugins.ts +102 -0
- package/src/format/marketplace/source-failures.ts +13 -0
- package/src/format/marketplace/types.ts +239 -0
- package/src/format/mcp-add-json.ts +220 -0
- package/src/format/mcp-add.ts +259 -0
- package/src/format/mcp-bundles.ts +118 -0
- package/src/format/mcp-config.ts +240 -0
- package/src/format/mcp-contract.ts +133 -0
- package/src/format/mcp-elicitation-check.ts +116 -0
- package/src/format/mcp-elicitation-form.ts +200 -0
- package/src/format/mcp-elicitation.ts +179 -0
- package/src/format/mcp-endpoint.ts +32 -0
- package/src/format/mcp-env.ts +287 -0
- package/src/format/mcp-knobs.ts +242 -0
- package/src/format/mcp-oauth-schema.ts +20 -0
- package/src/format/mcp-oauth.ts +250 -0
- package/src/format/mcp-output.ts +226 -0
- package/src/format/mcp-plugin-display.ts +56 -0
- package/src/format/mcp-prompts.ts +83 -0
- package/src/format/mcp-reload.ts +78 -0
- package/src/format/mcp-reserved.ts +40 -0
- package/src/format/mcp-schema-check.ts +187 -0
- package/src/format/mcp-sources.ts +203 -0
- package/src/format/mcp-startup.ts +258 -0
- package/src/format/mcp-tool-schema.ts +242 -0
- package/src/format/mcp-tool.ts +162 -0
- package/src/format/mcpb-manifest.ts +170 -0
- package/src/format/memory-rule.ts +53 -0
- package/src/format/messages.ts +57 -0
- package/src/format/mod-files.ts +113 -0
- package/src/format/model-id.ts +13 -0
- package/src/format/monitor-schema.ts +52 -0
- package/src/format/monitors.ts +112 -0
- package/src/format/names.ts +124 -0
- package/src/format/output-style-command.ts +69 -0
- package/src/format/output-style-select.ts +194 -0
- package/src/format/output-style-system.ts +24 -0
- package/src/format/output-style.ts +125 -0
- package/src/format/path-escape.ts +83 -0
- package/src/format/path-text.ts +96 -0
- package/src/format/permission-rule-shape.ts +32 -0
- package/src/format/plugin-settings.ts +70 -0
- package/src/format/read-json.ts +56 -0
- package/src/format/remote-mcp-credentials.ts +94 -0
- package/src/format/settings-files.ts +15 -0
- package/src/format/skill-field-readers.ts +96 -0
- package/src/format/skill-fields.ts +176 -0
- package/src/format/skill-name.ts +230 -0
- package/src/format/skill-types.ts +246 -0
- package/src/format/skill.ts +80 -0
- package/src/format/strict-keys.ts +18 -0
- package/src/format/theme-color.ts +63 -0
- package/src/format/theme-tokens.ts +107 -0
- package/src/format/theme-write.ts +45 -0
- package/src/format/theme.ts +194 -0
- package/src/format/token-estimate.ts +11 -0
- package/src/format/user-config-options.ts +97 -0
- package/src/format/user-config-refs.ts +44 -0
- package/src/format/utf8.ts +20 -0
- package/src/format/validate/component-frontmatter.ts +181 -0
- package/src/format/validate/finding.ts +59 -0
- package/src/format/validate/hook-handlers.ts +81 -0
- package/src/format/validate/hooks-check.ts +89 -0
- package/src/format/validate/inline-sources.ts +29 -0
- package/src/format/validate/mcp-check.ts +170 -0
- package/src/format/validate/mcp-remote-checks.ts +76 -0
- package/src/format/validate/path-claims.ts +88 -0
- package/src/format/validate/plugin-fields.ts +147 -0
- package/src/format/validate/plugin-manifest.ts +164 -0
- package/src/format/validate/plugin-name.ts +47 -0
- package/src/format/validate/plugin-paths.ts +140 -0
- package/src/format/validate/received.ts +17 -0
- package/src/format/validate/shell-command.ts +47 -0
- package/src/format/validate/unknown-fields.ts +138 -0
- package/src/format/validate/zod-findings.ts +19 -0
- package/src/format/versions.ts +28 -0
- package/src/format/wildcard.ts +34 -0
- package/src/format/workflow-meta-rewrite.ts +134 -0
- package/src/format/workflow-meta.ts +216 -0
- package/src/format/workflow-script.ts +205 -0
- package/src/foundation/budget.ts +105 -0
- package/src/foundation/folder-read.ts +33 -0
- package/src/foundation/folder-walk.ts +133 -0
- package/src/foundation/freeze.ts +72 -0
- package/src/foundation/index.ts +14 -0
- package/src/foundation/json-size.ts +20 -0
- package/src/foundation/json-value.ts +18 -0
- package/src/foundation/plain-data.ts +130 -0
- package/src/foundation/project-directories.ts +22 -0
- package/src/foundation/run-each.ts +18 -0
- package/src/foundation/scope-folders.ts +218 -0
- package/src/hooks/assemble.ts +139 -0
- package/src/hooks/contracts.ts +148 -0
- package/src/hooks/core/combine.ts +194 -0
- package/src/hooks/core/input.ts +145 -0
- package/src/hooks/core/output.ts +116 -0
- package/src/hooks/core/profile-results.ts +170 -0
- package/src/hooks/core/profiles.ts +104 -0
- package/src/hooks/core/run.ts +66 -0
- package/src/hooks/core/types.ts +66 -0
- package/src/hooks/dispatch.ts +199 -0
- package/src/hooks/engine.ts +142 -0
- package/src/hooks/env-file/events.ts +36 -0
- package/src/hooks/env-file/files.ts +82 -0
- package/src/hooks/env-file/index.ts +15 -0
- package/src/hooks/env-file/ports.ts +27 -0
- package/src/hooks/env-file/powershell-reader.ts +118 -0
- package/src/hooks/handlers/command/async.ts +94 -0
- package/src/hooks/handlers/command/cwd-fallback.ts +38 -0
- package/src/hooks/handlers/command/env.ts +65 -0
- package/src/hooks/handlers/command/plan.ts +92 -0
- package/src/hooks/handlers/command/run-command.ts +90 -0
- package/src/hooks/handlers/command/shell.ts +13 -0
- package/src/hooks/handlers/command/subprocess-env.ts +118 -0
- package/src/hooks/handlers/context.ts +160 -0
- package/src/hooks/handlers/index.ts +37 -0
- package/src/hooks/handlers/registry.ts +58 -0
- package/src/hooks/handlers/remote/agent.ts +31 -0
- package/src/hooks/handlers/remote/concurrency.ts +54 -0
- package/src/hooks/handlers/remote/failure-run.ts +35 -0
- package/src/hooks/handlers/remote/http-env.ts +44 -0
- package/src/hooks/handlers/remote/http-policy.ts +64 -0
- package/src/hooks/handlers/remote/http.ts +52 -0
- package/src/hooks/handlers/remote/mcp-input.ts +78 -0
- package/src/hooks/handlers/remote/mcp-tool.ts +148 -0
- package/src/hooks/handlers/remote/model-run.ts +46 -0
- package/src/hooks/handlers/remote/ok-false.ts +139 -0
- package/src/hooks/handlers/remote/prompt-response.ts +72 -0
- package/src/hooks/handlers/remote/prompt-text.ts +25 -0
- package/src/hooks/handlers/remote/prompt.ts +20 -0
- package/src/hooks/handlers/remote/types.ts +44 -0
- package/src/hooks/handlers/status.ts +43 -0
- package/src/hooks/handlers/timeouts.ts +148 -0
- package/src/hooks/index.ts +27 -0
- package/src/hooks/input/background-tasks.ts +71 -0
- package/src/hooks/input/build.ts +79 -0
- package/src/hooks/input/common.ts +147 -0
- package/src/hooks/input/conditional-fields.ts +126 -0
- package/src/hooks/input/fact-read.ts +13 -0
- package/src/hooks/input/facts-agents.ts +93 -0
- package/src/hooks/input/facts-misc.ts +83 -0
- package/src/hooks/input/facts-model.ts +30 -0
- package/src/hooks/input/facts-session.ts +63 -0
- package/src/hooks/input/facts-shared.ts +24 -0
- package/src/hooks/input/facts-tools.ts +73 -0
- package/src/hooks/input/facts.ts +66 -0
- package/src/hooks/input/index.ts +5 -0
- package/src/hooks/input/permission-mode.ts +13 -0
- package/src/hooks/interrupt.ts +94 -0
- package/src/hooks/outcome.ts +69 -0
- package/src/hooks/output/background.ts +43 -0
- package/src/hooks/output/caps.ts +89 -0
- package/src/hooks/output/classifier-note.ts +85 -0
- package/src/hooks/output/defer.ts +55 -0
- package/src/hooks/output/effects.ts +86 -0
- package/src/hooks/output/fields.ts +51 -0
- package/src/hooks/output/finalize.ts +62 -0
- package/src/hooks/output/index.ts +25 -0
- package/src/hooks/output/limit.ts +143 -0
- package/src/hooks/output/merge-gates.ts +165 -0
- package/src/hooks/output/merge-rules.ts +48 -0
- package/src/hooks/output/merge-simple.ts +269 -0
- package/src/hooks/output/merge.ts +231 -0
- package/src/hooks/output/messages.ts +47 -0
- package/src/hooks/output/parse.ts +81 -0
- package/src/hooks/output/permission-request-outcome.ts +41 -0
- package/src/hooks/output/permission-update.ts +81 -0
- package/src/hooks/output/pre-tool-use-outcome.ts +19 -0
- package/src/hooks/output/reminder-tags.ts +9 -0
- package/src/hooks/output/schemas-common.ts +38 -0
- package/src/hooks/output/schemas-elicitation.ts +23 -0
- package/src/hooks/output/schemas-misc.ts +41 -0
- package/src/hooks/output/schemas-session.ts +67 -0
- package/src/hooks/output/schemas-tool.ts +60 -0
- package/src/hooks/output/schemas.ts +93 -0
- package/src/hooks/output/stage.ts +23 -0
- package/src/hooks/output/terminal-sequence.ts +59 -0
- package/src/hooks/output/text-cap.ts +81 -0
- package/src/hooks/output/tool-output.ts +30 -0
- package/src/hooks/output/tool-shape.ts +106 -0
- package/src/hooks/output/tool-shapes/index.ts +18 -0
- package/src/hooks/output/tool-shapes/shapes-0.ts +213 -0
- package/src/hooks/output/tool-shapes/shapes-1.ts +251 -0
- package/src/hooks/output/tool-shapes/shapes-2.ts +172 -0
- package/src/hooks/output/tool-shapes/shapes-3.ts +179 -0
- package/src/hooks/output/tool-shapes/shapes-4.ts +230 -0
- package/src/hooks/output/tool-shapes/shapes-5.ts +105 -0
- package/src/hooks/output/watch-paths.ts +21 -0
- package/src/hooks/output/worktree-path.ts +179 -0
- package/src/hooks/register.ts +40 -0
- package/src/hooks/registry.ts +15 -0
- package/src/hooks/run-all.ts +186 -0
- package/src/hooks/run-facts.ts +72 -0
- package/src/hooks/select/dedupe.ts +21 -0
- package/src/hooks/select/event-catalog.ts +91 -0
- package/src/hooks/select/gates.ts +53 -0
- package/src/hooks/select/if-guard.ts +84 -0
- package/src/hooks/select/index.ts +23 -0
- package/src/hooks/select/lock-gates.ts +75 -0
- package/src/hooks/select/matcher-targets.ts +136 -0
- package/src/hooks/select/matcher-values.ts +119 -0
- package/src/hooks/select/matcher.ts +41 -0
- package/src/hooks/select/mcp-client.ts +30 -0
- package/src/hooks/select/mcp-tools.ts +78 -0
- package/src/hooks/select/model-switch.ts +17 -0
- package/src/hooks/select/once.ts +55 -0
- package/src/hooks/select/select.ts +99 -0
- package/src/hooks/select/watch-list.ts +80 -0
- package/src/hooks/source-kind.ts +78 -0
- package/src/hooks/verdict/background.ts +70 -0
- package/src/hooks/verdict/blocked-prompt.ts +35 -0
- package/src/hooks/verdict/debug-lines.ts +33 -0
- package/src/hooks/verdict/exit-codes.ts +80 -0
- package/src/hooks/verdict/exit2.ts +138 -0
- package/src/hooks/verdict/exited.ts +270 -0
- package/src/hooks/verdict/http-response.ts +59 -0
- package/src/hooks/verdict/index.ts +39 -0
- package/src/hooks/verdict/interpret.ts +138 -0
- package/src/hooks/verdict/model-switch.ts +35 -0
- package/src/hooks/verdict/model-verdict.ts +78 -0
- package/src/hooks/verdict/notices.ts +83 -0
- package/src/hooks/verdict/on-failure.ts +193 -0
- package/src/hooks/verdict/plain-stdout.ts +16 -0
- package/src/hooks/verdict/route.ts +67 -0
- package/src/hooks/verdict/stdout-kind.ts +88 -0
- package/src/hooks/verdict/stop-block-cap.ts +107 -0
- package/src/hooks/verdict/subject.ts +23 -0
- package/src/hooks/verdict/suspect-capture.ts +47 -0
- package/src/hooks/verdict/types.ts +226 -0
- package/src/host/background-queue.ts +84 -0
- package/src/host/catalog.ts +165 -0
- package/src/host/core-servers.ts +118 -0
- package/src/host/core-skills.ts +52 -0
- package/src/host/core-view.ts +55 -0
- package/src/host/host.ts +58 -0
- package/src/host/index.ts +73 -0
- package/src/host/permission-rules.ts +69 -0
- package/src/host/permission-session.ts +147 -0
- package/src/host/plugin-dependencies.ts +115 -0
- package/src/host/plugin-set.ts +105 -0
- package/src/host/saved-approval.ts +31 -0
- package/src/host/scope.ts +59 -0
- package/src/host/sdk-hooks.ts +62 -0
- package/src/host/sdk-output.ts +203 -0
- package/src/host/session-agents.ts +241 -0
- package/src/host/session-components.ts +180 -0
- package/src/host/session-content.ts +60 -0
- package/src/host/session-core-dispatch.ts +92 -0
- package/src/host/session-core-hooks.ts +139 -0
- package/src/host/session-core.ts +221 -0
- package/src/host/session-directories.ts +34 -0
- package/src/host/session-engine.ts +81 -0
- package/src/host/session-environment.ts +110 -0
- package/src/host/session-first-read.ts +32 -0
- package/src/host/session-folder-resolution.ts +72 -0
- package/src/host/session-folders.ts +201 -0
- package/src/host/session-hook-scope.ts +192 -0
- package/src/host/session-hooks.ts +178 -0
- package/src/host/session-host-skills.ts +84 -0
- package/src/host/session-mentions.ts +119 -0
- package/src/host/session-monitors.ts +147 -0
- package/src/host/session-permission-updates.ts +32 -0
- package/src/host/session-registry.ts +150 -0
- package/src/host/session-skill-catalog.ts +91 -0
- package/src/host/session-skill-entries.ts +125 -0
- package/src/host/session-skill-expand.ts +296 -0
- package/src/host/session-skill-hooks.ts +92 -0
- package/src/host/session-skill-preload.ts +81 -0
- package/src/host/session-skill-readers.ts +44 -0
- package/src/host/session-skills.ts +275 -0
- package/src/host/session-start-repeats.ts +60 -0
- package/src/host/session-tool-check.ts +112 -0
- package/src/host/session-types.ts +170 -0
- package/src/host/session-workflows.ts +50 -0
- package/src/host/session.ts +128 -0
- package/src/host/state.ts +243 -0
- package/src/host/turn.ts +63 -0
- package/src/host/types.ts +153 -0
- package/src/index.ts +111 -0
- package/src/loading/background-trust.ts +46 -0
- package/src/loading/bin.ts +62 -0
- package/src/loading/channels.ts +23 -0
- package/src/loading/combine.ts +20 -0
- package/src/loading/command-debug.ts +41 -0
- package/src/loading/component-readers.ts +35 -0
- package/src/loading/core/assets.ts +49 -0
- package/src/loading/core/config.ts +132 -0
- package/src/loading/core/dual-check.ts +45 -0
- package/src/loading/core/entry-fields.ts +30 -0
- package/src/loading/core/form.ts +59 -0
- package/src/loading/core/index.ts +20 -0
- package/src/loading/core/load-core.ts +49 -0
- package/src/loading/core/load-package.ts +56 -0
- package/src/loading/core/locations.ts +62 -0
- package/src/loading/core/manifest-step.ts +30 -0
- package/src/loading/core/model.ts +48 -0
- package/src/loading/core/skills.ts +74 -0
- package/src/loading/declared-shape.ts +22 -0
- package/src/loading/discover-config.ts +113 -0
- package/src/loading/discover-listed.ts +208 -0
- package/src/loading/discover.ts +91 -0
- package/src/loading/discovered.ts +64 -0
- package/src/loading/folder-plugin.ts +148 -0
- package/src/loading/ignored-folder.ts +27 -0
- package/src/loading/index.ts +108 -0
- package/src/loading/load-plugin.ts +253 -0
- package/src/loading/local-settings-trust.ts +56 -0
- package/src/loading/manifest-gate.ts +91 -0
- package/src/loading/merge-hooks.ts +19 -0
- package/src/loading/plugin-debug.ts +83 -0
- package/src/loading/plugin-folder.ts +76 -0
- package/src/loading/plugin-model.ts +96 -0
- package/src/loading/plugin-scaffold.ts +81 -0
- package/src/loading/ports.ts +15 -0
- package/src/loading/reader-types.ts +60 -0
- package/src/loading/readers-assets.ts +88 -0
- package/src/loading/readers-config.ts +184 -0
- package/src/loading/readers-text.ts +61 -0
- package/src/loading/repository-limits.ts +116 -0
- package/src/loading/repository-messages.ts +79 -0
- package/src/loading/repository-trust.ts +147 -0
- package/src/loading/repository-types.ts +9 -0
- package/src/loading/resolve/bundle-scope.ts +57 -0
- package/src/loading/resolve/channel.ts +94 -0
- package/src/loading/resolve/content.ts +35 -0
- package/src/loading/resolve/data-id.ts +7 -0
- package/src/loading/resolve/deep.ts +69 -0
- package/src/loading/resolve/exported-environment.ts +40 -0
- package/src/loading/resolve/field-map.ts +52 -0
- package/src/loading/resolve/field-runner.ts +81 -0
- package/src/loading/resolve/headers-helper-origins.ts +164 -0
- package/src/loading/resolve/headers-helper-run.ts +160 -0
- package/src/loading/resolve/headers-helper-trust.ts +99 -0
- package/src/loading/resolve/headers-helper.ts +180 -0
- package/src/loading/resolve/hook-command.ts +263 -0
- package/src/loading/resolve/hook-space-path.ts +49 -0
- package/src/loading/resolve/index.ts +134 -0
- package/src/loading/resolve/lsp-runtime.ts +109 -0
- package/src/loading/resolve/lsp-startup.ts +42 -0
- package/src/loading/resolve/lsp.ts +112 -0
- package/src/loading/resolve/mcp.ts +246 -0
- package/src/loading/resolve/monitor-trigger.ts +116 -0
- package/src/loading/resolve/monitor.ts +77 -0
- package/src/loading/resolve/powershell-no-program.ts +47 -0
- package/src/loading/resolve/prepared.ts +25 -0
- package/src/loading/resolve/processes.ts +108 -0
- package/src/loading/resolve/scope.ts +75 -0
- package/src/loading/resolve/shell-exports.ts +66 -0
- package/src/loading/resolve/shell-guard-hook.ts +15 -0
- package/src/loading/resolve/shell-guard-monitor.ts +16 -0
- package/src/loading/resolve/shell-guard.ts +33 -0
- package/src/loading/resolve/shell-prefix.ts +43 -0
- package/src/loading/resolve/subprocess-scrub.ts +69 -0
- package/src/loading/resolve/substitute.ts +285 -0
- package/src/loading/resolve/substituter.ts +49 -0
- package/src/loading/resolve/surfaces.ts +153 -0
- package/src/loading/resolve/user-config-values.ts +65 -0
- package/src/loading/resolve/user-config.ts +66 -0
- package/src/loading/resolve/variables.ts +72 -0
- package/src/loading/resolve/without-plugin.ts +18 -0
- package/src/loading/trust-gates.ts +179 -0
- package/src/loading/validate/components-only.ts +103 -0
- package/src/loading/validate/components.ts +136 -0
- package/src/loading/validate/index.ts +2 -0
- package/src/loading/validate/json-files.ts +127 -0
- package/src/loading/validate/links.ts +80 -0
- package/src/loading/validate/marketplace-target.ts +229 -0
- package/src/loading/validate/paths.ts +23 -0
- package/src/loading/validate/plugin-contents.ts +67 -0
- package/src/loading/validate/plugin-target.ts +87 -0
- package/src/loading/validate/report.ts +11 -0
- package/src/loading/validate/validate-plugin.ts +61 -0
- package/src/loading/walk.ts +265 -0
- package/src/loading/workspace-trust.ts +145 -0
- package/src/marketplace/add-failures.ts +144 -0
- package/src/marketplace/archive-scan.ts +203 -0
- package/src/marketplace/archive-source.ts +155 -0
- package/src/marketplace/command-directory.ts +108 -0
- package/src/marketplace/command-mode.ts +17 -0
- package/src/marketplace/command-output.ts +61 -0
- package/src/marketplace/command-source.ts +117 -0
- package/src/marketplace/copy-plan.ts +160 -0
- package/src/marketplace/copy-sweep.ts +80 -0
- package/src/marketplace/credential-variables.ts +6 -0
- package/src/marketplace/cross-marketplace.ts +78 -0
- package/src/marketplace/declared-source.ts +41 -0
- package/src/marketplace/dependencies.ts +285 -0
- package/src/marketplace/dependency-catalog.ts +47 -0
- package/src/marketplace/dependency-enable.ts +127 -0
- package/src/marketplace/dependency-graph.ts +265 -0
- package/src/marketplace/dependency-install-plan.ts +282 -0
- package/src/marketplace/dependency-install-walk.ts +234 -0
- package/src/marketplace/dependency-prune.ts +146 -0
- package/src/marketplace/dependency-tags.ts +266 -0
- package/src/marketplace/deprecated-marketplace.ts +41 -0
- package/src/marketplace/download-headers.ts +164 -0
- package/src/marketplace/enablement-notes.ts +134 -0
- package/src/marketplace/fetch-plan.ts +257 -0
- package/src/marketplace/folder-collision.ts +88 -0
- package/src/marketplace/git-transport.ts +89 -0
- package/src/marketplace/header-helper.ts +151 -0
- package/src/marketplace/header-map.ts +24 -0
- package/src/marketplace/header-policy.ts +275 -0
- package/src/marketplace/headless-report.ts +127 -0
- package/src/marketplace/http-download.ts +96 -0
- package/src/marketplace/ignored-marketplace.ts +189 -0
- package/src/marketplace/index.ts +218 -0
- package/src/marketplace/install-commands.ts +157 -0
- package/src/marketplace/install-errors.ts +239 -0
- package/src/marketplace/install-failures.ts +151 -0
- package/src/marketplace/install-guidance.ts +75 -0
- package/src/marketplace/install-hosts.ts +198 -0
- package/src/marketplace/install-index.ts +156 -0
- package/src/marketplace/install-lifecycle-index.ts +154 -0
- package/src/marketplace/install-messages.ts +121 -0
- package/src/marketplace/install-mode.ts +186 -0
- package/src/marketplace/install-plan.ts +229 -0
- package/src/marketplace/install-plans.ts +138 -0
- package/src/marketplace/install-records-at.ts +49 -0
- package/src/marketplace/install-scopes.ts +111 -0
- package/src/marketplace/installed-plugins-store.ts +107 -0
- package/src/marketplace/installed-plugins.ts +191 -0
- package/src/marketplace/known-marketplaces.ts +151 -0
- package/src/marketplace/lfs-pointer.ts +108 -0
- package/src/marketplace/marketplace-catalog.ts +40 -0
- package/src/marketplace/marketplace-download.ts +58 -0
- package/src/marketplace/marketplace-fetch-plan.ts +142 -0
- package/src/marketplace/marketplace-input.ts +168 -0
- package/src/marketplace/missing-plugin-diagnosis.ts +40 -0
- package/src/marketplace/name-conflicts.ts +171 -0
- package/src/marketplace/node-deps-checks.ts +184 -0
- package/src/marketplace/node-deps-failure.ts +243 -0
- package/src/marketplace/node-deps-lockfile.ts +191 -0
- package/src/marketplace/node-deps-spec.ts +279 -0
- package/src/marketplace/node-deps-types.ts +135 -0
- package/src/marketplace/node-deps.ts +93 -0
- package/src/marketplace/orphan-cleanup.ts +85 -0
- package/src/marketplace/plugin-content.ts +14 -0
- package/src/marketplace/plugin-dir-dependencies.ts +78 -0
- package/src/marketplace/plugin-footprint.ts +87 -0
- package/src/marketplace/plugin-hints.ts +198 -0
- package/src/marketplace/plugin-names.ts +48 -0
- package/src/marketplace/ports.ts +109 -0
- package/src/marketplace/refused-name.ts +53 -0
- package/src/marketplace/release-channels.ts +117 -0
- package/src/marketplace/relevance-match.ts +163 -0
- package/src/marketplace/relevance-surface.ts +96 -0
- package/src/marketplace/reload-summary.ts +121 -0
- package/src/marketplace/remote-plugins.ts +71 -0
- package/src/marketplace/removal.ts +55 -0
- package/src/marketplace/renames.ts +184 -0
- package/src/marketplace/seed-registry.ts +46 -0
- package/src/marketplace/semver.ts +72 -0
- package/src/marketplace/session-origins.ts +67 -0
- package/src/marketplace/session-plugins.ts +84 -0
- package/src/marketplace/source-safety.ts +237 -0
- package/src/marketplace/stage-report.ts +154 -0
- package/src/marketplace/staged-commit.ts +33 -0
- package/src/marketplace/store-layout.ts +137 -0
- package/src/marketplace/submodules.ts +135 -0
- package/src/marketplace/telemetry-names.ts +46 -0
- package/src/marketplace/types.ts +153 -0
- package/src/marketplace/uninstall-records.ts +92 -0
- package/src/marketplace/update-detection.ts +153 -0
- package/src/marketplace/version-hash.ts +105 -0
- package/src/marketplace/version-index.ts +26 -0
- package/src/marketplace/version-resolution.ts +174 -0
- package/src/marketplace/version-troubleshooting.ts +54 -0
- package/src/mods/api/agent.ts +62 -0
- package/src/mods/api/audio.ts +49 -0
- package/src/mods/api/build.ts +191 -0
- package/src/mods/api/call.ts +166 -0
- package/src/mods/api/clock.ts +80 -0
- package/src/mods/api/command.ts +113 -0
- package/src/mods/api/config.ts +47 -0
- package/src/mods/api/context-usage.ts +22 -0
- package/src/mods/api/describe.ts +102 -0
- package/src/mods/api/engine-create.ts +109 -0
- package/src/mods/api/engine-settings.ts +84 -0
- package/src/mods/api/env.ts +29 -0
- package/src/mods/api/exec.ts +156 -0
- package/src/mods/api/fetch-policy.ts +62 -0
- package/src/mods/api/fs-ancestors.ts +68 -0
- package/src/mods/api/fs-ports.ts +70 -0
- package/src/mods/api/fs.ts +117 -0
- package/src/mods/api/gate.ts +181 -0
- package/src/mods/api/host-ports.ts +150 -0
- package/src/mods/api/http-redirects.ts +85 -0
- package/src/mods/api/http.ts +164 -0
- package/src/mods/api/index.ts +102 -0
- package/src/mods/api/mcp.ts +77 -0
- package/src/mods/api/model-blocks.ts +47 -0
- package/src/mods/api/model.ts +105 -0
- package/src/mods/api/names.ts +17 -0
- package/src/mods/api/optional-port-types.ts +111 -0
- package/src/mods/api/output-cut.ts +16 -0
- package/src/mods/api/paths.ts +19 -0
- package/src/mods/api/plugin.ts +8 -0
- package/src/mods/api/ports.ts +289 -0
- package/src/mods/api/prompt.ts +111 -0
- package/src/mods/api/refusal.ts +97 -0
- package/src/mods/api/registries.ts +175 -0
- package/src/mods/api/replay.ts +89 -0
- package/src/mods/api/rules.ts +35 -0
- package/src/mods/api/scope.ts +55 -0
- package/src/mods/api/scoped-call.ts +17 -0
- package/src/mods/api/session.ts +118 -0
- package/src/mods/api/settings-layers.ts +116 -0
- package/src/mods/api/settings.ts +65 -0
- package/src/mods/api/state-library-source.ts +63 -0
- package/src/mods/api/state-library.ts +160 -0
- package/src/mods/api/state.ts +152 -0
- package/src/mods/api/store.ts +91 -0
- package/src/mods/api/telemetry-origin.ts +6 -0
- package/src/mods/api/telemetry.ts +69 -0
- package/src/mods/api/theme.ts +95 -0
- package/src/mods/api/tool.ts +72 -0
- package/src/mods/api/turn.ts +13 -0
- package/src/mods/async-slot.ts +31 -0
- package/src/mods/chain/api-guard.ts +102 -0
- package/src/mods/chain/context.ts +50 -0
- package/src/mods/chain/core.ts +33 -0
- package/src/mods/chain/dispatch.ts +129 -0
- package/src/mods/chain/downstream.ts +79 -0
- package/src/mods/chain/failure.ts +150 -0
- package/src/mods/chain/frames.ts +50 -0
- package/src/mods/chain/guarded.ts +71 -0
- package/src/mods/chain/hook-body.ts +11 -0
- package/src/mods/chain/index.ts +5 -0
- package/src/mods/chain/invoke.ts +276 -0
- package/src/mods/chain/judge.ts +66 -0
- package/src/mods/chain/linger.ts +45 -0
- package/src/mods/chain/link-trace.ts +96 -0
- package/src/mods/chain/match-local.ts +114 -0
- package/src/mods/chain/matcher.ts +183 -0
- package/src/mods/chain/nesting.ts +18 -0
- package/src/mods/chain/next.ts +195 -0
- package/src/mods/chain/only.ts +6 -0
- package/src/mods/chain/reentry.ts +35 -0
- package/src/mods/chain/registry.ts +119 -0
- package/src/mods/chain/rules.ts +25 -0
- package/src/mods/chain/select.ts +15 -0
- package/src/mods/chain/tiers.ts +38 -0
- package/src/mods/chain/trace.ts +76 -0
- package/src/mods/chain/validate.ts +84 -0
- package/src/mods/chain/wildcard.ts +60 -0
- package/src/mods/events/agent.ts +33 -0
- package/src/mods/events/attribution.ts +4 -0
- package/src/mods/events/autocomplete.ts +17 -0
- package/src/mods/events/command.ts +88 -0
- package/src/mods/events/config.ts +26 -0
- package/src/mods/events/index.ts +96 -0
- package/src/mods/events/input-review.ts +52 -0
- package/src/mods/events/prompt-cache.ts +38 -0
- package/src/mods/events/prompt.ts +102 -0
- package/src/mods/events/read-only.ts +57 -0
- package/src/mods/events/reasons.ts +53 -0
- package/src/mods/events/session.ts +70 -0
- package/src/mods/events/skill-prompt-event.ts +49 -0
- package/src/mods/events/skill.ts +36 -0
- package/src/mods/events/spec.ts +75 -0
- package/src/mods/events/tool-check-merge.ts +65 -0
- package/src/mods/events/tool.ts +42 -0
- package/src/mods/events/turn.ts +49 -0
- package/src/mods/index.ts +9 -0
- package/src/mods/load/auto-mode-approval.ts +19 -0
- package/src/mods/load/change-notice.ts +19 -0
- package/src/mods/load/commands/active-line.ts +12 -0
- package/src/mods/load/commands/scan-lead.ts +77 -0
- package/src/mods/load/commands/scan-lines.ts +100 -0
- package/src/mods/load/commands/validate-report.ts +53 -0
- package/src/mods/load/commands/validate.ts +285 -0
- package/src/mods/load/compile-output.ts +99 -0
- package/src/mods/load/crash-recovery.ts +86 -0
- package/src/mods/load/engine-faults.ts +43 -0
- package/src/mods/load/guard-notes.ts +30 -0
- package/src/mods/load/guard-protection.ts +75 -0
- package/src/mods/load/guard-surfaces.ts +23 -0
- package/src/mods/load/guard.ts +170 -0
- package/src/mods/load/guest.ts +72 -0
- package/src/mods/load/health.ts +56 -0
- package/src/mods/load/host-options.ts +79 -0
- package/src/mods/load/host-support.ts +219 -0
- package/src/mods/load/host.ts +251 -0
- package/src/mods/load/index.ts +94 -0
- package/src/mods/load/line-channel.ts +79 -0
- package/src/mods/load/loader-io.ts +30 -0
- package/src/mods/load/loader.ts +233 -0
- package/src/mods/load/mod-set.ts +299 -0
- package/src/mods/load/options.ts +96 -0
- package/src/mods/load/order.ts +199 -0
- package/src/mods/load/plugin-dirs.ts +96 -0
- package/src/mods/load/policy-input.ts +161 -0
- package/src/mods/load/policy.ts +220 -0
- package/src/mods/load/prepare.ts +134 -0
- package/src/mods/load/prompt-flow.ts +22 -0
- package/src/mods/load/register-call.ts +98 -0
- package/src/mods/load/registered.ts +43 -0
- package/src/mods/load/scan/ast.ts +94 -0
- package/src/mods/load/scan/client-modules.ts +152 -0
- package/src/mods/load/scan/engine-fold.ts +109 -0
- package/src/mods/load/scan/event-names.ts +22 -0
- package/src/mods/load/scan/file-rules.ts +122 -0
- package/src/mods/load/scan/found.ts +27 -0
- package/src/mods/load/scan/index.ts +132 -0
- package/src/mods/load/scan/issue-codes.ts +74 -0
- package/src/mods/load/scan/matcher-label.ts +65 -0
- package/src/mods/load/scan/messages.ts +18 -0
- package/src/mods/load/scan/on-rules.ts +72 -0
- package/src/mods/load/scan/register-export.ts +53 -0
- package/src/mods/load/scan/rules.ts +293 -0
- package/src/mods/load/scan/state-sources.ts +70 -0
- package/src/mods/load/scan/top-level.ts +212 -0
- package/src/mods/load/scan/uses.ts +86 -0
- package/src/mods/load/scan/walk.ts +89 -0
- package/src/mods/load/skip-reports.ts +47 -0
- package/src/mods/load/tool-flow.ts +145 -0
- package/src/mods/load/types-decl.ts +122 -0
- package/src/mods/load/unanswered.ts +29 -0
- package/src/mods/load/where-mods-run.ts +109 -0
- package/src/mods/load/wiring.ts +266 -0
- package/src/mods/load/written-mods.ts +152 -0
- package/src/mods/ports.ts +180 -0
- package/src/mods/trace-types.ts +60 -0
- package/src/mods/types.ts +297 -0
- package/src/mods/ui/controls/hotkeys.ts +83 -0
- package/src/mods/ui/controls/keys.ts +33 -0
- package/src/mods/ui/controls/route.ts +105 -0
- package/src/mods/ui/elements/box.ts +85 -0
- package/src/mods/ui/elements/button.ts +69 -0
- package/src/mods/ui/elements/children.ts +62 -0
- package/src/mods/ui/elements/client.ts +35 -0
- package/src/mods/ui/elements/code.ts +14 -0
- package/src/mods/ui/elements/def.ts +83 -0
- package/src/mods/ui/elements/image.ts +28 -0
- package/src/mods/ui/elements/index.ts +27 -0
- package/src/mods/ui/elements/input.ts +37 -0
- package/src/mods/ui/elements/jsx.ts +24 -0
- package/src/mods/ui/elements/limits.ts +80 -0
- package/src/mods/ui/elements/link.ts +41 -0
- package/src/mods/ui/elements/markdown.ts +16 -0
- package/src/mods/ui/elements/node.ts +80 -0
- package/src/mods/ui/elements/plain.ts +52 -0
- package/src/mods/ui/elements/raster.ts +54 -0
- package/src/mods/ui/elements/registry.ts +30 -0
- package/src/mods/ui/elements/select.ts +38 -0
- package/src/mods/ui/elements/spacing.ts +34 -0
- package/src/mods/ui/elements/surface.ts +27 -0
- package/src/mods/ui/elements/svg.ts +12 -0
- package/src/mods/ui/elements/table.ts +78 -0
- package/src/mods/ui/elements/text.ts +77 -0
- package/src/mods/ui/elements/validate.ts +66 -0
- package/src/mods/ui/index.ts +47 -0
- package/src/mods/ui/keyboard/band.ts +35 -0
- package/src/mods/ui/keyboard/effects.ts +38 -0
- package/src/mods/ui/keyboard/focus.ts +55 -0
- package/src/mods/ui/keyboard/keys.ts +172 -0
- package/src/mods/ui/keyboard/pane-size.ts +35 -0
- package/src/mods/ui/keyboard/vscode.ts +62 -0
- package/src/mods/ui/panes/open.ts +65 -0
- package/src/mods/ui/panes/placement.ts +42 -0
- package/src/mods/ui/panes/registry.ts +109 -0
- package/src/mods/ui/placed/rows.ts +91 -0
- package/src/mods/ui/ports.ts +92 -0
- package/src/mods/ui/redraw/gate.ts +47 -0
- package/src/mods/ui/redraw/invalidate.ts +32 -0
- package/src/mods/ui/redraw/subscribe.ts +51 -0
- package/src/mods/ui/redraw/unasked.ts +16 -0
- package/src/mods/ui/rules.ts +49 -0
- package/src/mods/ui/runtime.ts +148 -0
- package/src/mods/ui/sites/ask-question.ts +8 -0
- package/src/mods/ui/sites/backdrop.ts +27 -0
- package/src/mods/ui/sites/band.ts +49 -0
- package/src/mods/ui/sites/draw-fault.ts +9 -0
- package/src/mods/ui/sites/fold.ts +57 -0
- package/src/mods/ui/sites/registry.ts +76 -0
- package/src/mods/ui/sites/viewport.ts +32 -0
- package/src/mods/ui/tables.ts +76 -0
- package/src/mods/ui/toast.ts +138 -0
- package/src/mods/ui/ui-api.ts +296 -0
- package/src/mods/ui/ui-invalidate.ts +49 -0
- package/src/mods/values.ts +9 -0
- package/src/ports/clock.ts +12 -0
- package/src/ports/command-runner.ts +39 -0
- package/src/ports/environment.ts +11 -0
- package/src/ports/failure.ts +8 -0
- package/src/ports/files.ts +55 -0
- package/src/ports/folder-scan.ts +54 -0
- package/src/ports/http-client.ts +37 -0
- package/src/ports/index.ts +29 -0
- package/src/ports/locations.ts +26 -0
- package/src/ports/marketplace.ts +103 -0
- package/src/ports/mcp-bundle.ts +51 -0
- package/src/ports/mcp-caller.ts +40 -0
- package/src/ports/model-runner.ts +31 -0
- package/src/ports/path-resolver.ts +17 -0
- package/src/ports/scratch-files.ts +8 -0
- package/src/protocol/effort.ts +38 -0
- package/src/protocol/exit-reasons.ts +23 -0
- package/src/protocol/hook-config.ts +35 -0
- package/src/protocol/hook-events.ts +61 -0
- package/src/protocol/is-record.ts +6 -0
- package/src/protocol/mods-api-names.ts +136 -0
- package/src/protocol/mods-events.ts +198 -0
- package/src/protocol/mods-limits.ts +75 -0
- package/src/protocol/mods-matcher.ts +18 -0
- package/src/protocol/mods-settings.ts +54 -0
- package/src/protocol/mods-tiers.ts +7 -0
- package/src/protocol/mods-ui-names.ts +235 -0
- package/src/protocol/official-tools.ts +103 -0
- package/src/protocol/official.ts +101 -0
- package/src/protocol/permission-modes.ts +45 -0
- package/src/protocol/settings-keys.ts +194 -0
- package/src/protocol/tool-names.ts +94 -0
- package/src/protocol/type-equality.ts +11 -0
- package/src/rules/bash/bash.ts +43 -0
- package/src/rules/bash/dialect.ts +46 -0
- package/src/rules/bash/exec-wrappers.ts +46 -0
- package/src/rules/bash/heredoc.ts +53 -0
- package/src/rules/bash/if-eval.ts +107 -0
- package/src/rules/bash/keywords.ts +36 -0
- package/src/rules/bash/powershell-aliases.ts +58 -0
- package/src/rules/bash/powershell.ts +64 -0
- package/src/rules/bash/safe-env.ts +67 -0
- package/src/rules/bash/scanner.ts +296 -0
- package/src/rules/bash/shell.ts +99 -0
- package/src/rules/bash/split.ts +83 -0
- package/src/rules/bash/text-pattern.ts +13 -0
- package/src/rules/bash/unquote.ts +161 -0
- package/src/rules/bash/wildcard-warning.ts +84 -0
- package/src/rules/bash/wildcard.ts +37 -0
- package/src/rules/bash/words.ts +169 -0
- package/src/rules/bash/wrappers.ts +213 -0
- package/src/rules/decide/approval-memory.ts +80 -0
- package/src/rules/decide/auto-dropped.ts +57 -0
- package/src/rules/decide/behavior.ts +5 -0
- package/src/rules/decide/block-exceptions.ts +120 -0
- package/src/rules/decide/classifier.ts +79 -0
- package/src/rules/decide/context.ts +180 -0
- package/src/rules/decide/critical-removal.ts +237 -0
- package/src/rules/decide/decide.ts +189 -0
- package/src/rules/decide/facts.ts +299 -0
- package/src/rules/decide/file-targets.ts +144 -0
- package/src/rules/decide/fs-operands.ts +98 -0
- package/src/rules/decide/hook-permission-updates.ts +70 -0
- package/src/rules/decide/hook-rewrite.ts +97 -0
- package/src/rules/decide/hooks-and-mods.ts +119 -0
- package/src/rules/decide/modes.ts +181 -0
- package/src/rules/decide/no-approval-surface.ts +62 -0
- package/src/rules/decide/powershell-edits.ts +170 -0
- package/src/rules/decide/powershell-removal.ts +103 -0
- package/src/rules/decide/protected-paths.ts +244 -0
- package/src/rules/decide/read-only-set.ts +184 -0
- package/src/rules/decide/redirects.ts +252 -0
- package/src/rules/decide/rules-stage.ts +47 -0
- package/src/rules/decide/scope.ts +25 -0
- package/src/rules/decide/sed-script.ts +187 -0
- package/src/rules/decide/shell-commands.ts +269 -0
- package/src/rules/decide/shell-words.ts +37 -0
- package/src/rules/decide/unanswered.ts +43 -0
- package/src/rules/decide/write-block-messages.ts +37 -0
- package/src/rules/evaluate.ts +72 -0
- package/src/rules/hook-matcher.ts +79 -0
- package/src/rules/index.ts +209 -0
- package/src/rules/issues.ts +62 -0
- package/src/rules/matchers.ts +41 -0
- package/src/rules/memo.ts +19 -0
- package/src/rules/param.ts +94 -0
- package/src/rules/parse.ts +145 -0
- package/src/rules/path/anchor.ts +123 -0
- package/src/rules/path/cd.ts +52 -0
- package/src/rules/path/depth.ts +29 -0
- package/src/rules/path/file-rules.ts +157 -0
- package/src/rules/path/glob.ts +60 -0
- package/src/rules/path/negation.ts +59 -0
- package/src/rules/path/network.ts +32 -0
- package/src/rules/path/posix.ts +101 -0
- package/src/rules/path/symlink.ts +112 -0
- package/src/rules/path/tools.ts +144 -0
- package/src/rules/restricts.ts +14 -0
- package/src/rules/rule-warnings.ts +91 -0
- package/src/rules/sources.ts +20 -0
- package/src/rules/specifier-formats.ts +119 -0
- package/src/rules/specifier-guards.ts +15 -0
- package/src/rules/target/agent.ts +34 -0
- package/src/rules/target/domain.ts +184 -0
- package/src/rules/target/input.ts +16 -0
- package/src/rules/target/mcp.ts +91 -0
- package/src/rules/target/skill.ts +53 -0
- package/src/rules/tool-pattern.ts +41 -0
- package/src/rules/tools/availability.ts +179 -0
- package/src/rules/tools/catalog.ts +104 -0
- package/src/rules/tools/host-tool-names.ts +65 -0
- package/src/rules/tools/inputs/ask-user-question.ts +92 -0
- package/src/rules/tools/inputs/exit-plan-mode.ts +11 -0
- package/src/rules/tools/inputs/field-schemas.ts +24 -0
- package/src/rules/tools/inputs/fields.ts +162 -0
- package/src/rules/tools/inputs/grep.ts +3 -0
- package/src/rules/tools/inputs/parse-input.ts +34 -0
- package/src/rules/tools/inputs/roles.ts +28 -0
- package/src/rules/tools/inputs/schemas.ts +27 -0
- package/src/rules/tools/inputs/tool-path.ts +55 -0
- package/src/rules/tools/inputs/web-search.ts +17 -0
- package/src/rules/tools/names.ts +10 -0
- package/src/rules/tools/responses/agent-response.ts +182 -0
- package/src/rules/tools/responses/bash-edit-diff.ts +162 -0
- package/src/rules/tools/responses/shape.ts +15 -0
- package/src/rules/tools/responses/structured-patch.ts +79 -0
- package/src/rules/tools/rule-formats.ts +19 -0
- package/src/rules/tools/semantics/bash-background.ts +51 -0
- package/src/rules/tools/semantics/bash-exit.ts +81 -0
- package/src/rules/tools/semantics/bash-limits.ts +71 -0
- package/src/rules/tools/semantics/bash-output.ts +74 -0
- package/src/rules/tools/semantics/edit.ts +71 -0
- package/src/rules/tools/semantics/encoding.ts +71 -0
- package/src/rules/tools/semantics/env-number.ts +18 -0
- package/src/rules/tools/semantics/glob-cap.ts +59 -0
- package/src/rules/tools/semantics/grep-defaults.ts +83 -0
- package/src/rules/tools/semantics/read-limits.ts +126 -0
- package/src/rules/tools/semantics/read-window.ts +80 -0
- package/src/rules/tools/semantics/web-fetch-timings.ts +49 -0
- package/src/rules/tools/semantics/web-fetch.ts +86 -0
- package/src/rules/tools/semantics/web-search-limit.ts +60 -0
- package/src/rules/tools/semantics/web-search.ts +25 -0
- package/src/rules/tools/shell-selection.ts +16 -0
- package/src/rules/types.ts +163 -0
- package/src/settings/broken-file.ts +80 -0
- package/src/settings/canonical.ts +17 -0
- package/src/settings/channels/allowlist.ts +51 -0
- package/src/settings/channels/channel-gate.ts +80 -0
- package/src/settings/channels/contract.ts +120 -0
- package/src/settings/channels/index.ts +49 -0
- package/src/settings/channels/policy.ts +34 -0
- package/src/settings/channels/relay.ts +80 -0
- package/src/settings/channels/sanitize.ts +79 -0
- package/src/settings/channels/verdict.ts +97 -0
- package/src/settings/context.ts +72 -0
- package/src/settings/customization/index.ts +11 -0
- package/src/settings/customization/policy.ts +56 -0
- package/src/settings/customization/preapproval.ts +44 -0
- package/src/settings/customization/sources.ts +155 -0
- package/src/settings/customization/surfaces.ts +37 -0
- package/src/settings/env/check-env.ts +47 -0
- package/src/settings/env/ignored-variables.ts +205 -0
- package/src/settings/env/index.ts +13 -0
- package/src/settings/env/resolve-env.ts +190 -0
- package/src/settings/env/settings-env.ts +68 -0
- package/src/settings/env/timing.ts +61 -0
- package/src/settings/general/agent-keys.ts +33 -0
- package/src/settings/general/checks.ts +143 -0
- package/src/settings/general/claude-json.ts +82 -0
- package/src/settings/general/closed-fields.ts +89 -0
- package/src/settings/general/command-lines.ts +86 -0
- package/src/settings/general/edit-effect.ts +126 -0
- package/src/settings/general/effort.ts +104 -0
- package/src/settings/general/exceptions.ts +91 -0
- package/src/settings/general/file-locations.ts +187 -0
- package/src/settings/general/global-config.ts +20 -0
- package/src/settings/general/index.ts +115 -0
- package/src/settings/general/keys.ts +111 -0
- package/src/settings/general/look-and-feel.ts +72 -0
- package/src/settings/general/permission-rules.ts +136 -0
- package/src/settings/general/plugin-defaults.ts +73 -0
- package/src/settings/general/process-wrapper.ts +65 -0
- package/src/settings/general/reach.ts +70 -0
- package/src/settings/general/rows.ts +216 -0
- package/src/settings/general/sandbox-check.ts +161 -0
- package/src/settings/general/sandbox-credentials.ts +162 -0
- package/src/settings/general/sandbox-fields.ts +73 -0
- package/src/settings/general/session-overrides.ts +127 -0
- package/src/settings/general/subagent-status-line.ts +121 -0
- package/src/settings/general/view.ts +66 -0
- package/src/settings/general/worktree-block.ts +116 -0
- package/src/settings/hooks/custom-commands.ts +54 -0
- package/src/settings/hooks/hook-gate.ts +88 -0
- package/src/settings/hooks/http-policy.ts +45 -0
- package/src/settings/hooks/index.ts +16 -0
- package/src/settings/hooks/merge-groups.ts +65 -0
- package/src/settings/hooks/origin-stops.ts +128 -0
- package/src/settings/hooks/origins.ts +88 -0
- package/src/settings/hooks/policy.ts +36 -0
- package/src/settings/hooks/session-gates.ts +79 -0
- package/src/settings/hooks/url-pattern.ts +60 -0
- package/src/settings/host-switches.ts +127 -0
- package/src/settings/index.ts +58 -0
- package/src/settings/key-spec.ts +272 -0
- package/src/settings/layers.ts +84 -0
- package/src/settings/locations.ts +67 -0
- package/src/settings/managed/admin-source.ts +264 -0
- package/src/settings/managed/applicability.ts +269 -0
- package/src/settings/managed/approval.ts +156 -0
- package/src/settings/managed/combine.ts +208 -0
- package/src/settings/managed/compose.ts +295 -0
- package/src/settings/managed/cross-source.ts +195 -0
- package/src/settings/managed/delivery.ts +198 -0
- package/src/settings/managed/drop-in.ts +214 -0
- package/src/settings/managed/helper-run.ts +115 -0
- package/src/settings/managed/index.ts +151 -0
- package/src/settings/managed/limits.ts +152 -0
- package/src/settings/managed/load.ts +48 -0
- package/src/settings/managed/login-keys.ts +71 -0
- package/src/settings/managed/parent.ts +159 -0
- package/src/settings/managed/policy-helper.ts +158 -0
- package/src/settings/managed/ports.ts +29 -0
- package/src/settings/managed/sideload.ts +134 -0
- package/src/settings/managed/startup-failure.ts +46 -0
- package/src/settings/managed/wsl-chain.ts +98 -0
- package/src/settings/marketplaces/command-sources.ts +59 -0
- package/src/settings/marketplaces/facts.ts +123 -0
- package/src/settings/marketplaces/gate.ts +240 -0
- package/src/settings/marketplaces/git-url.ts +64 -0
- package/src/settings/marketplaces/headers-helper.ts +105 -0
- package/src/settings/marketplaces/host-of.ts +48 -0
- package/src/settings/marketplaces/index.ts +36 -0
- package/src/settings/marketplaces/match-source.ts +178 -0
- package/src/settings/marketplaces/official-registration.ts +59 -0
- package/src/settings/marketplaces/refusal-messages.ts +42 -0
- package/src/settings/marketplaces/registry.ts +229 -0
- package/src/settings/marketplaces/source-kinds.ts +41 -0
- package/src/settings/marketplaces/source-validate.ts +103 -0
- package/src/settings/mcp/allow-deny.ts +161 -0
- package/src/settings/mcp/approvals.ts +140 -0
- package/src/settings/mcp/candidates.ts +68 -0
- package/src/settings/mcp/command-match.ts +16 -0
- package/src/settings/mcp/entries.ts +107 -0
- package/src/settings/mcp/entry-env.ts +76 -0
- package/src/settings/mcp/exclusive.ts +268 -0
- package/src/settings/mcp/index.ts +95 -0
- package/src/settings/mcp/lists.ts +38 -0
- package/src/settings/mcp/load-settings.ts +45 -0
- package/src/settings/mcp/managed-entry.ts +93 -0
- package/src/settings/mcp/managed-file.ts +71 -0
- package/src/settings/mcp/managed-servers.ts +93 -0
- package/src/settings/mcp/managed-timing.ts +106 -0
- package/src/settings/mcp/managed.ts +77 -0
- package/src/settings/mcp/origins.ts +55 -0
- package/src/settings/mcp/policy.ts +103 -0
- package/src/settings/mcp/scope.ts +127 -0
- package/src/settings/mcp/toggles.ts +79 -0
- package/src/settings/mcp/url-pattern.ts +109 -0
- package/src/settings/merge.ts +136 -0
- package/src/settings/paths.ts +47 -0
- package/src/settings/permissions/auto-mode.ts +161 -0
- package/src/settings/permissions/default-mode.ts +299 -0
- package/src/settings/permissions/index.ts +13 -0
- package/src/settings/permissions/managed-only.ts +181 -0
- package/src/settings/permissions/merge.ts +129 -0
- package/src/settings/permissions/policy.ts +76 -0
- package/src/settings/permissions/read.ts +234 -0
- package/src/settings/permissions/running-mode.ts +47 -0
- package/src/settings/permissions/sandbox-read-block.ts +110 -0
- package/src/settings/permissions/start-notices.ts +25 -0
- package/src/settings/plugins/enabled-plugins.ts +71 -0
- package/src/settings/plugins/index.ts +26 -0
- package/src/settings/plugins/mod-order.ts +173 -0
- package/src/settings/plugins/plugin-config.ts +111 -0
- package/src/settings/plugins/plugin-id.ts +39 -0
- package/src/settings/plugins/policy.ts +35 -0
- package/src/settings/plugins/suggestions.ts +66 -0
- package/src/settings/plugins/sync-plugins.ts +48 -0
- package/src/settings/plugins/trust-warning.ts +22 -0
- package/src/settings/read-layer.ts +151 -0
- package/src/settings/repair/closed.ts +98 -0
- package/src/settings/repair/hooks.ts +60 -0
- package/src/settings/repair/kinds.ts +101 -0
- package/src/settings/repair/lists.ts +147 -0
- package/src/settings/repair/network.ts +74 -0
- package/src/settings/repair/support.ts +104 -0
- package/src/settings/repair/values.ts +129 -0
- package/src/settings/resolve.ts +119 -0
- package/src/settings/skills/bundled.ts +44 -0
- package/src/settings/skills/index.ts +16 -0
- package/src/settings/skills/overrides.ts +97 -0
- package/src/settings/skills/policy.ts +42 -0
- package/src/settings/skills/shell.ts +47 -0
- package/src/settings/skills/sync-skills.ts +13 -0
- package/src/settings/sources.ts +142 -0
- package/src/settings/value-spec.ts +42 -0
- package/src/settings/view.ts +114 -0
- package/src/settings/workflows/enablement.ts +116 -0
- package/src/settings/workflows/index.ts +30 -0
- package/src/settings/workflows/keyword.ts +116 -0
- package/src/settings/workflows/policy.ts +28 -0
- package/src/settings/workflows/size.ts +96 -0
- package/src/skills/arguments.ts +43 -0
- package/src/skills/command-entries.ts +121 -0
- package/src/skills/execution.ts +299 -0
- package/src/skills/expand-policy.ts +92 -0
- package/src/skills/expand-shell.ts +146 -0
- package/src/skills/expand-types.ts +104 -0
- package/src/skills/expand.ts +200 -0
- package/src/skills/file-references.ts +61 -0
- package/src/skills/folder-line.ts +10 -0
- package/src/skills/fork.ts +74 -0
- package/src/skills/hook-limits.ts +73 -0
- package/src/skills/index.ts +166 -0
- package/src/skills/invocation.ts +141 -0
- package/src/skills/lifecycle.ts +153 -0
- package/src/skills/listing.ts +224 -0
- package/src/skills/lookup.ts +53 -0
- package/src/skills/mention.ts +107 -0
- package/src/skills/path-gate.ts +202 -0
- package/src/skills/portable.ts +69 -0
- package/src/skills/scan/container.ts +59 -0
- package/src/skills/scan/file-location.ts +33 -0
- package/src/skills/scan/head.ts +27 -0
- package/src/skills/scan/locations.ts +146 -0
- package/src/skills/scan/names.ts +42 -0
- package/src/skills/scan/nested.ts +36 -0
- package/src/skills/scan/read.ts +129 -0
- package/src/skills/scan/resolve.ts +259 -0
- package/src/skills/scan/scan-types.ts +64 -0
- package/src/skills/scan/scan.ts +128 -0
- package/src/skills/shell-arguments.ts +114 -0
- package/src/skills/shell-ports.ts +34 -0
- package/src/skills/shell-refusal.ts +43 -0
- package/src/skills/shell-result.ts +156 -0
- package/src/skills/shell-run.ts +201 -0
- package/src/skills/shell-scan.ts +80 -0
- package/src/skills/shell-variables.ts +47 -0
- package/src/skills/skill-rule.ts +52 -0
- package/src/skills/stack.ts +68 -0
- package/src/skills/substitute.ts +211 -0
- package/src/skills/variables.ts +293 -0
- package/src/skills/visibility.ts +65 -0
- package/src/testing/index.ts +6 -0
- package/src/testing/mods/claude.ts +70 -0
- package/src/testing/mods/expect.ts +124 -0
- package/src/testing/mods/fake-ports.ts +156 -0
- package/src/testing/mods/fallbacks.ts +40 -0
- package/src/testing/mods/index.ts +29 -0
- package/src/testing/mods/inline-files.ts +110 -0
- package/src/testing/mods/inline-runtime.ts +106 -0
- package/src/testing/mods/kit.ts +108 -0
- package/src/testing/mods/mock-clock.ts +79 -0
- package/src/testing/mods/mock.ts +63 -0
- package/src/testing/mods/mount.ts +137 -0
- package/src/testing/mods/ports.ts +34 -0
- package/src/testing/mods/runner.ts +209 -0
- package/src/testing/mods/stubs.ts +105 -0
- package/src/testing/mods/world.ts +236 -0
- package/src/testing/ports/clock.ts +53 -0
- package/src/testing/ports/environment.ts +24 -0
- package/src/testing/ports/files.ts +174 -0
- package/src/testing/ports/folders.ts +181 -0
- package/src/testing/ports/http.ts +48 -0
- package/src/testing/ports/index.ts +14 -0
- package/src/testing/ports/locations.ts +39 -0
- package/src/testing/ports/mcp.ts +34 -0
- package/src/testing/ports/model.ts +32 -0
- package/src/testing/ports/runner.ts +27 -0
- package/src/testing/rows/index.ts +104 -0
- package/src/updates/auto-update-pass.ts +102 -0
- package/src/updates/auto-update-precedence.ts +135 -0
- package/src/updates/auto-update-skips.ts +45 -0
- package/src/updates/claude-code-version-policy.ts +264 -0
- package/src/updates/command-source-rerun.ts +220 -0
- package/src/updates/env-flags.ts +19 -0
- package/src/updates/index.ts +93 -0
- package/src/updates/private-marketplace.ts +94 -0
- package/src/updates/refresh-before-install.ts +207 -0
- package/src/updates/update-targets.ts +118 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,3453 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [Unreleased]
|
|
4
|
+
|
|
5
|
+
## [0.2.0] - 2026-11-23
|
|
6
|
+
|
|
7
|
+
- The kit follows Agent Plugins Extended `0ed968b`, where the 48 disagreements its judgments
|
|
8
|
+
listed are settled (the spec's own ledger `v16-disagreements`); `spec/judgments.md` has none left.
|
|
9
|
+
What changed in behaviour:
|
|
10
|
+
- A `PostToolUse` `updatedToolOutput` is checked against every built-in tool's output type in
|
|
11
|
+
`sdk-tools.d.ts`, Read, Edit, Write and the rest included, every nested field (J7.138); the
|
|
12
|
+
shapes are written by the new `scripts/tool-output-shapes.ts`, and `CHECKED_TOOL_OUTPUTS` lists
|
|
13
|
+
the 43 tools. A tool without an output type still passes unchecked.
|
|
14
|
+
- A mod's matcher takes an object as a partial of an object field, and a value against an array
|
|
15
|
+
field holds when some element matches (§10.13.3); a non-RegExp object is no longer an issue.
|
|
16
|
+
- All `session.end` hooks share a clock that starts when the settings hooks finish and never
|
|
17
|
+
stops: a hook waiting on a `$` call when it runs out is skipped (§10.11).
|
|
18
|
+
- Registration refuses a non-generator hook on a streaming event with the static analysis's
|
|
19
|
+
message (`the hook on "turn.step" is not an async generator: ...`), and `$` passed to a function
|
|
20
|
+
the scan cannot follow fails with `$ itself is bound to a name ...` (§10.4.2, J10.2).
|
|
21
|
+
- The guard's two deny-rule messages end with `(allowModsToOverrideDenyRules)` (§10.42.2).
|
|
22
|
+
- The read block refuses an `LSP` call whose `filePath` is outside the working directories
|
|
23
|
+
(§13.12.2).
|
|
24
|
+
- `baselineDecision` asks for a read outside the working directories in `default`,
|
|
25
|
+
`acceptEdits`, `plan` and `auto` (§13.1, §13.9.4).
|
|
26
|
+
- An `npm` entry of `strictKnownMarketplaces` or `blockedMarketplaces` matches nothing (§14.8.3).
|
|
27
|
+
- `CLAUDE_CODE_DISABLE_BUNDLED_SKILLS` is on for any on spelling (`true`, `yes`, `on`; J3.16).
|
|
28
|
+
- A manifest `.json` MCP file that is missing draws no load issue; the validator still reports it
|
|
29
|
+
(§8.1 item 5).
|
|
30
|
+
- An install whose dependency has a `command` source or a `headersHelper` is refused until the
|
|
31
|
+
user installs that dependency by itself, as well as listing it in `leftOut` (§16.24).
|
|
32
|
+
- `claude plugin install`, `uninstall` and `update` refuse with `failureCode:
|
|
33
|
+
"install_records_unreadable"` while the new `unreadableRecords` fact is set (§16.6.2).
|
|
34
|
+
- `CLAUDE_CODE_SUBAGENT_MODEL` alone no longer moves the built-in Explore or Plan; with
|
|
35
|
+
`CLAUDE_CODE_SUBAGENT_MODEL_FORCE` it does (§5.8.2).
|
|
36
|
+
- An invalid `--agents` value loads no agent at all, as Claude Code exits (§5.5.1).
|
|
37
|
+
|
|
38
|
+
- **Breaking (repository):** the library follows Agent Plugins Extended
|
|
39
|
+
(https://github.com/localixai/agent-plugins-extended), which mines Claude Code, and syncs from it.
|
|
40
|
+
`spec/` is the spec's `extend/conformance/` files at the commit `spec/SOURCE.json` pins
|
|
41
|
+
(`d215c3a`, Claude Code 2.1.321), with each file's SHA-256. New `bun run spec:sync [ref]` copies
|
|
42
|
+
them from the checkout beside this one or from GitHub (`git`, then `gh`); `check:spec` fails on a
|
|
43
|
+
hand edit, a stale copy, or an Agent SDK of another release. The mining scripts are gone from
|
|
44
|
+
here: `docs:pull`, `types:pull`, `types:extract`, `spec:extract`, `corpus:fetch` and the corpus
|
|
45
|
+
oracle runs. `bun run corpus` and `corpus:load` read the verdicts the spec recorded, from
|
|
46
|
+
`CORPUS_DIR` or the spec checkout's `extend/.cache/corpus`. The package's API is unchanged.
|
|
47
|
+
- **Repository:** no script here starts Claude Code any more. The spec runs it on fixtures and on
|
|
48
|
+
the corpus (`bun run oracle:record` in agent-plugins-extended) and records what it did; the
|
|
49
|
+
fixtures and their outcomes moved there and arrive in `spec/oracle/` through `bun run spec:sync`,
|
|
50
|
+
which now syncs whole folders (symbolic links kept). `oracle:runtime`, `oracle:settings`,
|
|
51
|
+
`corpus:runtime` and `bench:validate` compare the kit with the recorded outcomes;
|
|
52
|
+
`oracle:subprocess-scrub`, `oracle:remote-mcp-env`, `oracle:headers-helper-env` and
|
|
53
|
+
`oracle:model-content` are gone (their tests compare in `bun test`). `check:spec` SP5 checks
|
|
54
|
+
`tests/support/tool-table.ts` against the spec's `spec/tools-table.json` again.
|
|
55
|
+
- The converter's hook adapter derives profiles as `hooks/core` does (J18.16, J18.21): a text `Read`
|
|
56
|
+
gets no profile (no more `cat -n` numbering), a completed command with `returnCodeInterpretation`
|
|
57
|
+
gets none, and an MCP name with `__` more than once after `mcp__` gets none. It fires core
|
|
58
|
+
`UserPromptSubmit` on `system` and source-less turns and skips only `loop_wakeup` and
|
|
59
|
+
`schedule_wakeup` (J18.23); `coreToClaudeCode` lists each adapted `UserPromptSubmit` handler as
|
|
60
|
+
`not-converted` (it also runs on task notifications and automatic continuations).
|
|
61
|
+
- A failed core handler's notice labels it by `command` and `args` as written in `hooks.json`
|
|
62
|
+
(J18.22). `loadPluginPackage` given a core package's marketplace `entry` reports each component
|
|
63
|
+
field and `strict: false` as an error and loads the package from its own files (J18.15).
|
|
64
|
+
- New `matchClaudeAiMarketplace(list, entry)`: the policy facts of a marketplace hosted on claude.ai
|
|
65
|
+
(host `claude.ai`, a kind of its own), which only a `hostPattern` names; `checkClaudeAi` uses it.
|
|
66
|
+
- `--mcp-config`'s wait reads `MCP_TIMEOUT` as a positive whole number (`2e3`, `64_000`; J3.17).
|
|
67
|
+
- Six more numeric variables read scientific notation and digit separators (`2e3`, `64_000`; J3.17):
|
|
68
|
+
`MCP_TIMEOUT` in an `mcp_tool` hook's wait, `CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MS`,
|
|
69
|
+
`MAX_STRUCTURED_OUTPUT_RETRIES` and `CLAUDE_ASYNC_AGENT_STALL_TIMEOUT_MS` as positive whole
|
|
70
|
+
numbers, `CLAUDE_CODE_STOP_HOOK_BLOCK_CAP` and the self-hosted `CLAUDE_CODE_MCP_STARTUP_WAIT_MS`
|
|
71
|
+
as whole numbers where `0` keeps its meaning (no cap, no wait). Surrounding white space no longer
|
|
72
|
+
passes in the first three.
|
|
73
|
+
- `validateMod` prints a refusal of the §10.4.2 rules at `modules.<entry>` as `<plugin>: <absolute
|
|
74
|
+
file>:<line>: <message>; $ is always spelled ...` (J10.2), from the new `ValidateInput.root`;
|
|
75
|
+
`ModScanIssue` carries `rule` and `line`.
|
|
76
|
+
|
|
77
|
+
- Core handlers follow Agent Plugins Extended chapter 18 as settled on 2026-11-17 (J18.7, J18.16,
|
|
78
|
+
J18.21, J18.22). `CoreCallFacts.externalSubmission` is replaced by `turnOrigin` (`external` or
|
|
79
|
+
`client`): a `UserPromptSubmit` turn whose `source` is `system` is classified by the origin the
|
|
80
|
+
host gives, and with a core `UserPromptSubmit` handler the dispatch throws without it instead of
|
|
81
|
+
skipping the turn. `file.read` text is `readText` exactly, and a read without it gets no profile
|
|
82
|
+
(no more `cat -n` numbering of `file.content`). An MCP call gets no profile without
|
|
83
|
+
`mcpToolName` when the text after `mcp__` holds `__` more than once, and a completed command with
|
|
84
|
+
`returnCodeInterpretation` gets none without the host's `exitCode`. A failed core handler's notice
|
|
85
|
+
carries a Claude Code exec-form hook's cause (`Failed with non-blocking status code: <first stderr
|
|
86
|
+
line>`, the launch error, `timed out`, on `UserPromptSubmit` `timed out after 30s; the hook's
|
|
87
|
+
output was discarded`); several core reasons join by one newline with empty ones left out.
|
|
88
|
+
|
|
89
|
+
- Conversion between the two plugin forms (Agent Plugins Extended §18.4), from `./core`:
|
|
90
|
+
`coreToClaudeCode` and `claudeCodeToCore` are pure over a loaded package or plugin and return the
|
|
91
|
+
files to write beside it (a dual package) with a note for every field, entry, file and behaviour
|
|
92
|
+
not carried over (`not-converted`), carried with a difference (`reported`) or stopping the
|
|
93
|
+
conversion (`stopped`); `convertPluginPackage` converts a root through the files port, loads a core
|
|
94
|
+
package with every extension namespace it carries, reports what the source loader skipped, refuses
|
|
95
|
+
to overwrite a file, and judges the output with `claude plugin validate` or the core loader before
|
|
96
|
+
a host writes it. Names are never changed (a name the target refuses stops); MCP servers follow
|
|
97
|
+
§18.3.3 with the environment bridged (J18.18); hook handlers convert only through a generated hook
|
|
98
|
+
adapter (`hooks/run-core-handler.mjs`, `hooks/run-claude-code-handler.mjs`, Node.js), which
|
|
99
|
+
translates inputs, tool profiles, results and exit statuses by §18.2 (J18.17) and which a converter
|
|
100
|
+
unwraps when it converts back, so the §18.3.5 example round-trips.
|
|
101
|
+
- New subpath `./core`: the core Agent Plugins form (Agent Plugins 1.1.0). `detectPluginForm`
|
|
102
|
+
decides a root's form by Agent Plugins Extended §1.3 (a dual package is a Claude Code plugin,
|
|
103
|
+
J1.1, J1.2); `loadPluginPackage` then loads it by `loadPlugin`, unchanged, or by the new
|
|
104
|
+
`loadCorePackage`, which implements core §4–§10: the closed manifest (unknown fields warned and
|
|
105
|
+
ignored, other violations fatal), `$schema` selection and the version match of `mcp.json` and
|
|
106
|
+
`hooks.json`, name and metadata rules, fixed locations, skills by Agent Skills, the three closed
|
|
107
|
+
MCP variants with command, `cwd`, `url` and header rules, the five hook events and closed
|
|
108
|
+
handlers, containment with the narrowest failure boundary, extension data and directories, icon
|
|
109
|
+
candidates. `coreServerProcess`, `coreHandlerProcess` and `coreEnvironment` give what a host
|
|
110
|
+
launches (`${PLUGIN_ROOT}`/`${PLUGIN_DATA}` in one non-recursive pass, `PLUGIN_ROOT` and
|
|
111
|
+
`PLUGIN_DATA` set last). `checkDualPackage` reports what of a dual package's manifests loads in one
|
|
112
|
+
form only (§18.3.1).
|
|
113
|
+
- Sessions run core packages beside Claude Code plugins (Agent Plugins Extended §18.1, §18.2):
|
|
114
|
+
`PluginHostOptions.corePackages`, `SessionOptions.corePackages` and `HostUpdate.corePackages`
|
|
115
|
+
take `HostCorePackage`s, plugins by id to settings, policy, conflicts and dependencies
|
|
116
|
+
(`HostedPlugin.core`). Their skills are `/<name>:<directory>` plugin skills that are never
|
|
117
|
+
expanded (arguments appended); their servers resolve under `plugin:<name>:<server>` with
|
|
118
|
+
`PLUGIN_ROOT`/`PLUGIN_DATA` and no `CLAUDE_PLUGIN_*` (`ResolvedMcpServer.core`); their handlers
|
|
119
|
+
run on the same occurrence as Claude Code's hooks (`SessionStart` on startup, clear and fork;
|
|
120
|
+
`UserPromptSubmit` for external prompts; `PostToolUse` also on non-interrupt failures; `Stop`),
|
|
121
|
+
with the core input and tool profiles, Claude Code first on `PreToolUse`, results combined
|
|
122
|
+
`deny` > `defer` > `ask` > `allow`, one Stop continuation under one cap, and a failed core handler
|
|
123
|
+
never blocking. `SessionDispatchOptions.core` (`CoreCallFacts`) gives what only the host knows.
|
|
124
|
+
- `readCoreHooks` returns each kept handler's index in the file (`positions`), so a handler a
|
|
125
|
+
later check skips is named `hooks.<Event>[i]` by its own index, not by its place among the
|
|
126
|
+
handlers kept before it.
|
|
127
|
+
- The hooks engine names the event in `<Event> hook needs quotes around a path with a space
|
|
128
|
+
(<script>)`: a command hook's plan passes its event to `resolveHookCommand`, the skipped run
|
|
129
|
+
carries the line (`SkippedRun.notice`) and the handler's verdict hands it on as its `notice`
|
|
130
|
+
(errors.md, "Hook needs quotes around a path with a space"; spec §17.18.8).
|
|
131
|
+
|
|
132
|
+
- Format, loading, skills and agents follow Agent Plugins Extended chapters 2–6, 8, 9 and 17 where
|
|
133
|
+
they did not: a manifest that is not JSON is `Invalid JSON syntax: <parse error>.` with its period;
|
|
134
|
+
`<component> path not found` names the absolute path when the host passes `roots` (§2.5); in a
|
|
135
|
+
folder without a manifest a `.claude/agents/` agent's frontmatter is read, with `At runtime this
|
|
136
|
+
agent does not load at all — ...` (J2.4); `support` and `privacy_policy` draw the many-tools
|
|
137
|
+
warning (J2.7); a list or map output style `name` reads as `a,b` / `[object Object]` (J6.2);
|
|
138
|
+
numeric variables read `2e3` and `64_000` (new `env-number`, J3.17); the four "set to 1"
|
|
139
|
+
variables (`CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD`, `CLAUDE_CODE_SAFE_MODE`,
|
|
140
|
+
`CLAUDE_CODE_DISABLE_BACKGROUND_TASKS`, `CLAUDE_CODE_FORWARD_SUBAGENT_TEXT`) take every on spelling
|
|
141
|
+
(J3.16); `uninstallRetention` takes `caseInsensitiveFileSystem` (J3.19); `ESTALE` is reported as
|
|
142
|
+
`EIO` (`reportedCheckCode`, J17.29); the cross-check parse warning names the entry's
|
|
143
|
+
root-relative `plugin.json`.
|
|
144
|
+
- MCP: a user server named `workspace`, `claude-in-chrome`, `computer-use`, `Claude Preview` or
|
|
145
|
+
`Claude Browser` is skipped with `"<name>" is a reserved MCP server name and was not loaded`
|
|
146
|
+
(`RESERVED_MCP_SERVER_NAMES`); `McpConnection.bareElicitationCapability` offers form mode only;
|
|
147
|
+
`registersAsChannel` keeps a v2 server on revision 2026-07-28 from registering as a channel; the
|
|
148
|
+
validator does not read an MCP file past 1,048,576 bytes (J8.27); a stdio server's
|
|
149
|
+
`ResolvedMcpServer.start` runs through `CLAUDE_CODE_SHELL_PREFIX` with the POSIX-quoted command
|
|
150
|
+
line (`mcpStdioStart`, `shellPrefixed`, `posixQuote`, J8.26).
|
|
151
|
+
- New: `outputStyleCommand` with the Remote Control and no-`local`-source refusals;
|
|
152
|
+
`pathEscapesInList` (`Path escapes plugin directory: <path> (<component>)`); an `asyncRewake`
|
|
153
|
+
shell-form hook with an unquoted path placeholder that resolves to a path with a space does not
|
|
154
|
+
run, `HookCommandResolution.notice` carrying `<Event> hook needs quotes around a path with a
|
|
155
|
+
space (<script>)` (`HookCommandOptions.event`); `forkModeOn` and `BackgroundInput.interactive` /
|
|
156
|
+
`forkSubagent` (`CLAUDE_CODE_FORK_SUBAGENT`), `agentTeamsOn`
|
|
157
|
+
(`CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS`), `teammateSetup` and `restoreTeammate` (agent-teams.md).
|
|
158
|
+
|
|
159
|
+
- The mod validator's results all carry `gatingHooks` (`[]` when the file gates nothing): the
|
|
160
|
+
manifest, a `hooks.json` with issues and a module that cannot be read (J17.15).
|
|
161
|
+
`FileReport.gatingHooks` is required.
|
|
162
|
+
- `remote-settings.json` is protected only in the configuration directory: a file of that name in a
|
|
163
|
+
project is an ordinary write (§13.10).
|
|
164
|
+
- `untrustedSourceMessage(name, source?)` takes the source: for one that is not GitHub or git the
|
|
165
|
+
middle sentence reads `The name can only be used with GitHub sources from the 'anthropics'
|
|
166
|
+
organization.`; `untrustedSource` passes the entry's (§13.20 item 2).
|
|
167
|
+
- `SandboxBlock.denyWrite`: `hooks/` and `config` inside a linked worktree's common `.git` stay
|
|
168
|
+
write-denied to sandboxed commands (§13.12 item 4).
|
|
169
|
+
- `grantsFocus` in the VS Code panel keeps the terminal's rule as well (a command or a press,
|
|
170
|
+
nothing else focused), then adds the panel's (§10.27.1 item 2).
|
|
171
|
+
- The scan says `$ itself is bound to a name (bound, passed, spread, returned or read)` and `a
|
|
172
|
+
computed or optional member access on $`, Claude Code 2.1.325's words (J10.2).
|
|
173
|
+
- A `PreModelSwitch` hook that times out blocks with `PreModelSwitch hook <name> did not respond
|
|
174
|
+
before its timeout`; `MODEL_SWITCH_REASONS`, `cannotAskReason`, `managedHooksUncheckedReason` and
|
|
175
|
+
`modelSwitchBlocked` give the other reasons and the report line (§7.5.33).
|
|
176
|
+
- `CLAUDE_CODE_SHELL_PREFIX` wraps a shell-form Bash command hook as `<prefix> '<command>'`;
|
|
177
|
+
exec-form and PowerShell hooks run without it (§7.3.2.3 item 5, J7.66).
|
|
178
|
+
- The hooks-file validator refuses a `PreToolUse` or `PermissionRequest` key beside a `hooks`
|
|
179
|
+
object, as without one (oracle 2.1.325, J7.20).
|
|
180
|
+
- `decide`: `ModOutcome.overridesDenyRules` (`allowModsToOverrideDenyRules`) lifts, under policy,
|
|
181
|
+
the rules' outcomes, the read block and a hook's outside managed settings;
|
|
182
|
+
`PreToolUseHookOutcome.managed` marks a managed hook's block or ask, which no mod lifts; the
|
|
183
|
+
permission callback stays (§14.9.6, J14.14).
|
|
184
|
+
- `backgroundSessionTrust`: before a background session starts, `start`, the trust dialog, or
|
|
185
|
+
`Workspace not trusted. ...` and its two variants (§13.15 item 4).
|
|
186
|
+
- `claude plugin validate` of a mod lists `adds to $:` and `withholds from $:` for an
|
|
187
|
+
`engine.create` hook in the form oracle 2.1.325 reads (§10.4.3).
|
|
188
|
+
- `session.takeBackground()` and `onBackground` skip an async `SessionStart` hook's repeat of what
|
|
189
|
+
the session last handed on from it, unless a synchronous `SessionStart` hook added text since;
|
|
190
|
+
after a `compact` or `clear` start it delivers again (§7.3.3 item 7).
|
|
191
|
+
|
|
192
|
+
- `--mcp-config` with `-p`: a remote server whose tool list the discovery cache holds
|
|
193
|
+
(`FlagFacts.cachedToolLists`) skips the first-turn wait (`SessionPlan.mcpWaitSkips`); in a
|
|
194
|
+
self-hosted environment (`FlagFacts.selfHosted`) the wait is 2 seconds, or
|
|
195
|
+
`CLAUDE_CODE_MCP_STARTUP_WAIT_MS`, and covers stdio servers only (§17.15.3).
|
|
196
|
+
- The sandbox lock warning reads `The <N> entries in <file>` for every count, as §17.21 quotes it
|
|
197
|
+
(its row in `spec/judgments.md` changed).
|
|
198
|
+
- `MarketplaceGate.checkClaudeAi(name, scope)`: a marketplace hosted on claude.ai is matched by its
|
|
199
|
+
host; an allowlist `hostPattern` for `claude.ai` admits the organization's and default ones, not a
|
|
200
|
+
member's uploads or one of unstated scope (§15.8.1, §14.8.3).
|
|
201
|
+
- `initPluginFields` and `pluginInstallEvents`: the `plugins` / `plugin_errors` fields of
|
|
202
|
+
`system/init` and the `system/plugin_install` events, for a host to emit (§17.15.2). New official
|
|
203
|
+
types `InitPluginFields`, `SDKPluginInstallMessage`.
|
|
204
|
+
- `planRemotePlugins`: which plugins an SSH session's remote machine gets copied to
|
|
205
|
+
`~/.claude/remote/plugins/`, which a Windows one leaves out, and none for WSL (§16.5.6 item 5).
|
|
206
|
+
- `backgroundSessionFlags`, `agentViewFlags` and `planBackgrounding`: the flags a background session
|
|
207
|
+
and agent view keep, and which running work carries, waits for a relaunch or stops (§17.15.1
|
|
208
|
+
item 6).
|
|
209
|
+
|
|
210
|
+
- **BREAKING** A monitor `command` is pasted by default: its `${CLAUDE_PLUGIN_ROOT}`,
|
|
211
|
+
`${CLAUDE_PLUGIN_DATA}` and `${CLAUDE_PROJECT_DIR}` are written in as paths and none is in
|
|
212
|
+
`ResolvedMonitor.environment` or `MonitorStart.env`, referenced or not (Agent Plugins Extended
|
|
213
|
+
§9.2.4, J9.17). `shellPaths: 'environment-reference'` is the explicit opt-in for the reference
|
|
214
|
+
form; a `headersHelper` and a skill's `!` command keep the reference by default.
|
|
215
|
+
`shellPathsOf` takes the surface, and `shellExports` takes it first.
|
|
216
|
+
- **BREAKING** Only `remote-settings.json` of the configuration directory and the files the host
|
|
217
|
+
names in `ProtectedPathOptions.remoteSettingsFiles` are protected as the stored server-managed
|
|
218
|
+
settings; other `remote-settings*` files are no longer guessed (J13.35).
|
|
219
|
+
- **BREAKING** `validationJson`: `notes` entries are plain strings (new `notes` input, by file),
|
|
220
|
+
and `GatingHook.pattern` is a non-null string, the pattern given to `on` (J17.15).
|
|
221
|
+
- Marketplace validation uses the specification's messages: a command over 500 characters is
|
|
222
|
+
`command must not be longer than the install consent UI can display` (before the printable-ASCII
|
|
223
|
+
message when both break), and an archive `url` that does not parse draws `Invalid URL` beside the
|
|
224
|
+
https message (§15.6.5, §15.6.6, J15.8). The bare `Invalid input` cases of §15.6.7 are tested.
|
|
225
|
+
- `MultiEdit` rules are tested as an unknown tool: `matches no tool`, and for a path rule the
|
|
226
|
+
file-permission warning too (J13.34). The registry order comment of `hookEntries` now says the
|
|
227
|
+
settings files come first, highest precedence first, then plugins, then what registers (J7.2);
|
|
228
|
+
the empty and missing LSP `command` cases of §9.1.3 are tested.
|
|
229
|
+
|
|
230
|
+
- Mods follow Agent Plugins Extended chapter 10 and §14.9 where they did not: a mod Claude wrote
|
|
231
|
+
loads in a non-interactive run in `auto` and `bypassPermissions` modes; a module that hooks
|
|
232
|
+
`engine.create` loads without a types file (J10.3); `telemetry.mark` events carry no `to`, so a
|
|
233
|
+
`{ to: 'collector' }` hook never runs on one (J10.20); `$.state.set` while a `ui.render` hook
|
|
234
|
+
draws is refused and nothing is written (J10.112); a `Raster`'s `cells` must decode to exactly
|
|
235
|
+
`columns × rows × 3` numbers (J10.105); the mobile app draws no `Client` (J10.104, `drawsElement`);
|
|
236
|
+
a backdrop's `glass` is `{ blur, tint, opacity }` with its defaults filled in, or `false`; past 50
|
|
237
|
+
toasts held behind a dialog the oldest leaves (J10.107); `e.uses.calls` is sorted; a managed-enabled
|
|
238
|
+
plugin that counts as a user's gets the debug line `<id> is enabled by managed settings, but ...`.
|
|
239
|
+
- `claude plugin test` and `claude plugin validate` use Claude Code 2.1.325's words (J10.2): the
|
|
240
|
+
turned-off and no-hooks-module lines (`allowManagedHooksOnly` turns mods off too), the rule
|
|
241
|
+
messages, `on` twice without a matcher and a non-generator streaming hook refused, an imported
|
|
242
|
+
file not named like code refused, `$.state.get`/`set` refs checked against the declarations, the
|
|
243
|
+
lines `answers its own command:`, `hooks telemetry for:`, `state of other plugins, not checked`,
|
|
244
|
+
`types <path> declares ...`, the telemetry events and gating globs. A `hooks.json` with neither
|
|
245
|
+
`hooks` nor `modules` fails (J10.174). `--json` errors and warnings are `{ path, message }`
|
|
246
|
+
(`ReportEntry`, J17.15) and a gating hook's `pattern` is the event as `on` was given it. The debug
|
|
247
|
+
log gets `a hook returned a tree that does not validate: <reason>` and `ui.render (<site>): the
|
|
248
|
+
chain settled on a tree that does not validate`.
|
|
249
|
+
- Format and loading follow Agent Plugins Extended chapters 1–3, 6, 9 and 12.6 where they did not:
|
|
250
|
+
an inline `lspServers` map or monitors array with an unknown key or a bad value keeps the plugin
|
|
251
|
+
from loading, and `validatePlugin` reports each entry problem in the oracle's words
|
|
252
|
+
(`lspServers.go: Unrecognized key: "foo"`, `Command should not contain spaces. Use args array for
|
|
253
|
+
arguments.`, `Monitor names must be unique within a plugin`, the two `when` messages); a monitors
|
|
254
|
+
file with an invalid entry is skipped whole (J9.5, J9.7). `LSP_TRANSPORTS` moves to the LSP schema
|
|
255
|
+
module (same export).
|
|
256
|
+
- `userConfig` `options` get the full rule table with the oracle's messages and paths: a non-empty
|
|
257
|
+
list, values of 1 to 64 code points, no edge space, no control, invisible or bidi character, no
|
|
258
|
+
repeat in any case (J3.10).
|
|
259
|
+
- Output styles are read from the subfolders of `output-styles/` (J6.4); of two styles of one plugin
|
|
260
|
+
with one name only the last by path is kept (J6.7); the `/output-style` list shows the first body
|
|
261
|
+
line of a style without `description` (J6.3). A marketplace entry's `themes` join
|
|
262
|
+
`experimental.themes` when plugin.json uses it.
|
|
263
|
+
- A `hooks/hooks.json` that opens with a byte order mark loads no hooks (J2.3). A plugin's
|
|
264
|
+
`settings.json` that is not JSON or not an object is a warning (J12.10).
|
|
265
|
+
- Path messages: a declared path that is not there carries `PluginIssue.guidance`; the commands
|
|
266
|
+
debug line ends `: <path>. Expected .md files or SKILL.md in subdirectories.`; a backslash path
|
|
267
|
+
adds `— its path contains a backslash, which is not resolved reliably on this platform`; a
|
|
268
|
+
missing LSP binary is `Executable not found in $PATH: "<binary>"`.
|
|
269
|
+
- The `PluginFiles` port gains its error channel, `FileStat.checkFailed` (and `{ checkFailed }` in
|
|
270
|
+
`memoryFiles`): a path the system could not check is refused as `<component> path could not be
|
|
271
|
+
checked: <path> (<code>)` while the rest loads.
|
|
272
|
+
- Every on/off variable is read with the shared spellings (`1`, `true`, `yes`, `on`, any case):
|
|
273
|
+
`CLAUDE_CODE_SYNC_PLUGIN_INSTALL`, `CLAUDE_CODE_PLUGIN_PREFER_HTTPS`, `DO_NOT_TRACK`,
|
|
274
|
+
`CLAUDE_CODE_DISABLE_WORKFLOWS` and the rest (J3.16); `CLAUDE_CODE_PLUGIN_DIR_WATCH=0` turns
|
|
275
|
+
watching off in an interactive session too; a relative `CLAUDE_CODE_PLUGIN_DIRS` entry is skipped.
|
|
276
|
+
- On Windows a Git Bash hook gets the path variables with forward slashes in its environment (J3.6);
|
|
277
|
+
under `CLAUDE_CODE_MCP_ALLOWLIST_ENV` a stdio server keeps the plugin's exported variables
|
|
278
|
+
(`McpStdioEnvironmentInput.exported`, J3.22); the unquoted-placeholder warning names the
|
|
279
|
+
placeholders in order of appearance (J3.20).
|
|
280
|
+
- Validator frontmatter findings of §4.10 and §5.4.4: wrong-type `description`, an `allowed-tools`
|
|
281
|
+
list with a non-string, both `shell` errors, `metadata` on commands, a list `name` as `object`;
|
|
282
|
+
agents get only `name` and `description`. A command name over 256 characters is refused; an empty
|
|
283
|
+
agent `model` is dropped with a warning.
|
|
284
|
+
- A plugin whose own folder cannot be checked loads nothing (`plugin path could not be checked: .
|
|
285
|
+
(<code>)`); a `.claude-plugin/plugin.json` that cannot be checked, or (with `roots`) resolves
|
|
286
|
+
outside the plugin and its marketplace, loads nothing either: `Plugin not loaded: its manifest
|
|
287
|
+
<path> was not read, because <reason>` (spec §17.18.3, §17.18.5). A root `SKILL.md` that cannot be
|
|
288
|
+
checked is reported as `skills path could not be checked: SKILL.md (<code>)`.
|
|
289
|
+
- A `Read(...)` deny or ask rule is matched against an LSP call's `filePath`, a relative one against
|
|
290
|
+
the working directory, for every operation (spec §7.6.6, J7.210); an LSP call without `filePath`
|
|
291
|
+
is still covered whole.
|
|
292
|
+
- An option with only a `default` is not set (spec §3.4.4): the configuration dialog opens for it,
|
|
293
|
+
`plugin configure` lists it as `not set` and under `unconfigured`, and the install line counts it.
|
|
294
|
+
- `validatePlugin` reports no error for a remote MCP `url` written empty, a `not configured`
|
|
295
|
+
placeholder (spec §8.2).
|
|
296
|
+
- MCP: an `oauth` field of the wrong type or a non-https `authServerMetadataUrl` drops the entry and
|
|
297
|
+
is reported (J8.3); a remote entry whose `url` is written empty is a `not configured` placeholder
|
|
298
|
+
(`notConfigured`), not an error; `McpStartupServer.transport` limits `cached` to `http` and `sse`.
|
|
299
|
+
|
|
300
|
+
- Hooks follow Agent Plugins Extended chapter 7 where they did not: registry order is the settings
|
|
301
|
+
files' hooks, then the plugins' (J7.2); of several `WorktreeCreate` hooks the last answer in
|
|
302
|
+
handler order is the path, an HTTP `worktreePath` and a command hook's stdout alike (J7.143); a
|
|
303
|
+
relative `watchPaths` entry is resolved against the input's `cwd` (J7.131); only a hook that
|
|
304
|
+
itself blocks can set `suppressOriginalPrompt` (J7.144).
|
|
305
|
+
- A hook run reports the debug lines the docs quote as warnings: `Hook output does not start with
|
|
306
|
+
{, treating as plain text`, `Hook JSON output had unrecognized keys: <keys>`
|
|
307
|
+
(`ParseResult.unrecognizedKeys`), and a dropped async response field (`BackgroundDelivery.issues`).
|
|
308
|
+
- `outcome.runs` and `observer.finished` carry each run's `RunFacts`: matched value, handler label,
|
|
309
|
+
plugin, `RunEnding`, exit code, the timeout reached and the duration by the engine's `clock`.
|
|
310
|
+
- `hipaa` (`subprocessEnvironment`, `HookEngineOptions`, the host options) removes
|
|
311
|
+
`ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN` and `CLAUDE_CODE_OAUTH_TOKEN` from hooks and other
|
|
312
|
+
subprocesses under the HIPAA configuration.
|
|
313
|
+
- An unknown key of a hook matcher group or handler, or another handler type's field, is dropped
|
|
314
|
+
without a warning (J7.10).
|
|
315
|
+
|
|
316
|
+
- `ruleWarnings` returns the startup warnings of a rule list as values (`RuleWarning`: the rule as
|
|
317
|
+
written, its behaviour, source, kind and, for `never matches`, the replacement rule); a `Write`,
|
|
318
|
+
`NotebookEdit`, `MultiEdit` or `Glob` path rule now draws the `never matches` warning from every
|
|
319
|
+
source (a `Glob` allow rule of `--allowedTools` excepted), and `ruleIssues` reports it as
|
|
320
|
+
`Permission <behavior> rule (<source>): <rule> is not matched by file permission checks — …`.
|
|
321
|
+
- A `.claude/settings.local.json` outside a git repository counts as repository settings for the
|
|
322
|
+
read and write blocks: its `additionalDirectories` no longer let a file tool through. The new
|
|
323
|
+
`PolicyContext.localSettingsInRepository` says the file is in one (default `false`).
|
|
324
|
+
- `sandboxReadBlock` returns what the block re-opens (`reopened`, from the new
|
|
325
|
+
`SandboxBlockInput.reopened`) and, in a linked git worktree (`worktreeCommonGitDir`), the
|
|
326
|
+
repository's common `.git` as readable and writable (`readWrite`).
|
|
327
|
+
- `startupFetchFailure` says what a failed startup fetch of server-managed settings does: a gateway
|
|
328
|
+
`401` on an attended interactive launch with `forceRemoteSettingsRefresh` off prints
|
|
329
|
+
`Cloud gateway session expired — run /login to reconnect.` and opens signed out; any other gateway
|
|
330
|
+
failure exits.
|
|
331
|
+
- A managed drop-in merge keeps each list entry at its first occurrence in file order
|
|
332
|
+
(`managed-settings.json`, then the drop-ins alphabetically); it used to put the later file's
|
|
333
|
+
entries first.
|
|
334
|
+
- `officialMarketplaceRegistration` decides whether the official marketplace registers itself:
|
|
335
|
+
at the first interactive terminal session only, never in `-p`, a cloud-attached terminal or the
|
|
336
|
+
VS Code extension, and never again after a recorded blocked attempt or the opt-out variable.
|
|
337
|
+
|
|
338
|
+
- `plugin uninstall` that stops because a settings file still switches the plugin on prints the
|
|
339
|
+
documented text (`it is still switched on in <file>, although the settings change reported no
|
|
340
|
+
error. It is still installed. Take it out of "enabledPlugins" in that file yourself, then
|
|
341
|
+
uninstall it again.`) and its variants: `and the settings change failed (<error>)`, `<file> is
|
|
342
|
+
there and could not be read`, `<file> (not read: ...)`. **BREAKING** `AfterRemoval.settingsStillOn`
|
|
343
|
+
is a `StillSwitchedOn` (`{ file, cause }`), no longer the file alone.
|
|
344
|
+
- `plugin install --marketplace <source>` whose catalog is named after a marketplace added from
|
|
345
|
+
another source (`InstallFound.addedMarketplace.existingSource`) installs nothing, keeps the
|
|
346
|
+
existing marketplace and fails with `Marketplace "<name>" is already added from a different
|
|
347
|
+
source (<source>). ...` (`invalid_source`).
|
|
348
|
+
- `plugin list --json` leaves `installPath` out for a plugin loaded in place, which carries
|
|
349
|
+
`readFromFolder` (`ListedPlugin.installPath` is optional); the text form shows a session-only
|
|
350
|
+
plugin as `Path: <dir>` and `Status: ✔ loaded`.
|
|
351
|
+
- `plugin details` gives each kind its count: `Skills (2) a, b`, `Agents (0)`.
|
|
352
|
+
- A README line pasted with `--marketplace <owner>/<repo>` unchanged no longer clears the advice.
|
|
353
|
+
- `validate` reports a remote MCP `url` that is not a valid absolute URL (an error), a `ws://` URL
|
|
354
|
+
to a host that is not loopback and a header value that looks like a literal credential (warnings),
|
|
355
|
+
in `.mcp.json` and inline `mcpServers`.
|
|
356
|
+
- `validationJson` gives every file result `gatingHooks` (`GatingHook`: `module`, `pattern`,
|
|
357
|
+
`hook`, `hasCatch`), from the new `gatingHooks` input by file; `ValidationEntry` names the
|
|
358
|
+
`{ path, message }` entry.
|
|
359
|
+
- `marketplace remove` without `--scope` refuses a seed marketplace (`RemoveFacts.seeded`), naming
|
|
360
|
+
the seed directory (`seed_managed`).
|
|
361
|
+
- `marketplace add` reports how many LFS files a clone left as pointer files
|
|
362
|
+
(`AddFetched.lfsPointers`); `lfsPointerLine(count)` is the line, for `marketplace update` too.
|
|
363
|
+
- Marketplace validation names the field that breaks its rule, in the oracle's wording:
|
|
364
|
+
`source.sha: Must be a full 40-character lowercase git commit SHA` (after `Too small`/`Too big`
|
|
365
|
+
for another length), `source.sha256: Must be a 64-character hex SHA-256 digest`,
|
|
366
|
+
`source.timeout: Too small: expected number to be >0` / `Too big: expected number to be <=600`,
|
|
367
|
+
and an archive `source.url` that is not https or names a loopback, link-local or cloud-metadata
|
|
368
|
+
host: `Archive URLs must use https:// and must not point at a loopback, link-local, or
|
|
369
|
+
cloud-metadata host`. A non-ASCII command or a run of four spaces draws one message, `command
|
|
370
|
+
must be printable ASCII (letters, digits, punctuation, single spaces) with no runs of 4 or more
|
|
371
|
+
spaces`. `isBlockedHost` moves to `format/marketplace` (still exported from the marketplace entry).
|
|
372
|
+
- A `relevance.signals.hosts` entry must be lower-case letters, digits, `.` and `-`: an upper-case
|
|
373
|
+
host now invalidates the entry, with `must be a lowercase bare hostname (no scheme, port, or
|
|
374
|
+
path)`.
|
|
375
|
+
- A backslash after `./` in a relative source is no longer reported by `validate`; loading refuses
|
|
376
|
+
it with `Plugin source path refused: <path> does not stay inside its marketplace directory. ...`.
|
|
377
|
+
A bare name under a `pluginRoot` that climbs out or is absolute fails as `Invalid string: must
|
|
378
|
+
start with "./"`.
|
|
379
|
+
- `renames` chains that do not resolve give the reason `target-missing` or `cycle`; a target that
|
|
380
|
+
breaks the id grammar is `target-missing`, and a target that is itself a key is followed.
|
|
381
|
+
- `validate` reports `npm`, `pip`, `uv`, `cargo`, `github` and `gh` in lower case only; adding or
|
|
382
|
+
loading refuses every other casing. `claude-plugin-test` is `reserved for plugins loaded by claude
|
|
383
|
+
plugin test`.
|
|
384
|
+
- `refusedMarketplaceName(name, source)`: a registered marketplace whose name imitates an official
|
|
385
|
+
one stops loading, with `Claude Code refuses the marketplace name "<name>"` on each plugin, the
|
|
386
|
+
marketplace's own `Claude Code refuses this marketplace's name: it looks like one of Anthropic's
|
|
387
|
+
own`, and for a `settings` source the steps that keep it.
|
|
388
|
+
- `marketplace add` refuses an empty `#ref` on a git URL, an SSH address or shorthand with `Invalid
|
|
389
|
+
marketplace source format...`.
|
|
390
|
+
- **BREAKING** `@rsaryev/llx-plugin` → `@localix-ai/agent-plugins`. The project is renamed
|
|
391
|
+
`agent-plugins` and moves to the Localix Lab organisation: the package is
|
|
392
|
+
`@localix-ai/agent-plugins`, the repository `github.com/localixai/agent-plugins`, and the source
|
|
393
|
+
export condition `agent-plugins-source` (was `llx-plugin-source`). Import from the new name; the
|
|
394
|
+
subpaths are unchanged.
|
|
395
|
+
- **BREAKING** `afterBackgroundCheck(result, env, checkoutHoldsCatalog)`:
|
|
396
|
+
`CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE=1` keeps the checkout without a re-clone only when
|
|
397
|
+
it already contains `.claude-plugin/marketplace.json`; a marketplace never cloned, or cloned
|
|
398
|
+
partway, still gets the clone attempt.
|
|
399
|
+
- `clonePlan` carries `sshOptions`: the client's own `ssh` runs with `BatchMode=yes` and
|
|
400
|
+
`StrictHostKeyChecking=yes`; a user-named SSH program gets none added.
|
|
401
|
+
- The request-routing and client-identity header names dropped from an entry's `headers` are the
|
|
402
|
+
full set the validator warns for (`forwarded`, `x-real-ip`, `connection`, `via`, the `x-original-`
|
|
403
|
+
and `proxy-` prefixes and the rest), with `_` read as `-`, and the catalog validator, the archive
|
|
404
|
+
download and the settings-file filter share one copy.
|
|
405
|
+
- A `dependencies` string with two `@` and an object without `name` are `Invalid input` on the item,
|
|
406
|
+
in the manifest, the validator and `normalizeDependency`.
|
|
407
|
+
- **BREAKING** A disabled dependency is named as its entry declares it, a `--plugin-dir` copy too
|
|
408
|
+
(`Dependency "q2" is disabled — …`, never `q2@inline`); `InstalledDependency.id` is gone.
|
|
409
|
+
- An install of a relative entry from a marketplace added by URL is refused as `Cannot install <id>:
|
|
410
|
+
its marketplace entry path does not stay inside the marketplace directory (…)`, naming the plugin
|
|
411
|
+
given as `FetchPlanContext.pluginId`.
|
|
412
|
+
- `disableSideloadFlags`: the rejected flags are followed by `Plugins, custom agents, and MCP servers
|
|
413
|
+
can only be loaded from sources your administrator has approved.`, the Agent SDK `plugins` option
|
|
414
|
+
(`SideloadFacts.sdkPlugins`) is rejected too, and the CLI's `CLAUDE_CODE_PLUGIN_DIRS` refusal says
|
|
415
|
+
`: unset the variable` as the mods loader's does.
|
|
416
|
+
|
|
417
|
+
### Fixed (security)
|
|
418
|
+
|
|
419
|
+
- A skill's frontmatter hooks now carry where the skill came from: a project skill's hooks wait
|
|
420
|
+
for workspace trust in an interactive session, a personal or project skill registers none under a
|
|
421
|
+
plugin-only lock on hooks, and a skill of the managed settings directory keeps its hooks under
|
|
422
|
+
`allowManagedHooksOnly` and that lock (hooks.md, "Hooks in skills and agents"). `HookPolicy.runs`
|
|
423
|
+
(`createHookPolicy`) now lets a managed-directory skill's or command's hooks run under
|
|
424
|
+
`allowManagedHooksOnly` too.
|
|
425
|
+
- A `PermissionRequest` hook's `setMode` to `bypassPermissions` is dropped from the session's
|
|
426
|
+
dispatch outcome unless bypass mode is available, and kept only in memory when it is
|
|
427
|
+
(`destination: "session"`); `permissionUpdatesInEffect` (`./rules`) applies the same rule for a
|
|
428
|
+
host. `--restricted` now leaves bypass out of `bypassAvailable` even with
|
|
429
|
+
`--allow-dangerously-skip-permissions`.
|
|
430
|
+
- `decide` denies a PowerShell `Remove-Item` on a system path or a wildcard, and `cmd` `rd`,
|
|
431
|
+
`rmdir`, `del` and `erase` on a system path, in every mode, `bypassPermissions` included (reason
|
|
432
|
+
`powershell-removal`; `DecideContext.powershellCmdRemovalDenyOff` for
|
|
433
|
+
`CLAUDE_CODE_DISABLE_POWERSHELL_CMD_RM_DENY`). A read of another organization's public artifact
|
|
434
|
+
(`DecideContext.foreignArtifact`) asks in every mode, auto included, and is denied in `dontAsk`
|
|
435
|
+
and `bypassPermissions` (reason `foreign-artifact`).
|
|
436
|
+
- The write block treats as settings files the files the session was started with (`--settings`,
|
|
437
|
+
`--agents`, `--mcp-config`), the stored server-managed settings and the files kept with it, and
|
|
438
|
+
any `.json` while `DecideContext.managedSettingsFolderUnresolved`; `writeBlockRefusal` and
|
|
439
|
+
`writeBlockShortRefusal` (`./rules`) give the refusals verbatim. The files kept beside
|
|
440
|
+
`remote-settings.json` in the configuration directory are protected paths
|
|
441
|
+
(`ProtectedPathOptions.remoteSettingsFiles` for others).
|
|
442
|
+
- Auto mode drops wildcarded `bash`, `sh` and `zsh` allow rules (and the legacy `:*` spelling of a
|
|
443
|
+
wildcarded interpreter), and sends a command carrying per-command allowed domains
|
|
444
|
+
(`PreparedCall.allowedDomains`) to the classifier even when an allow rule matches.
|
|
445
|
+
- `PermissionsPolicy.runningMode(current)` (`./settings`) moves a running auto session to `default`
|
|
446
|
+
with `auto mode disabled by settings` (`AUTO_MODE_DISABLED_NOTICE`) when managed settings set
|
|
447
|
+
`disableAutoMode`.
|
|
448
|
+
- The built-in mods guard turns a user's mod's approval of a call an `ask` rule covers into the
|
|
449
|
+
prompt (`decision: "ask"`) instead of a denial, and `allowModsToOverrideDenyRules` lets it past;
|
|
450
|
+
`ModsPolicyInput.managedMcp` makes a machine with only `managed-mcp.json` load the guard and close
|
|
451
|
+
the user's `prependPlugins` and `appendPlugins`.
|
|
452
|
+
|
|
453
|
+
### Fixed (skills and agents)
|
|
454
|
+
|
|
455
|
+
- Outside a plugin a skill whose frontmatter `name` holds a character a command name can't hold
|
|
456
|
+
now loads under its folder name, with a warning, instead of being refused; a folder or frontmatter
|
|
457
|
+
`name` over 256 characters is refused the same way. A refused name's issue message is its
|
|
458
|
+
debug-log line, `[names] <name> is not offered` or `[names] <value> is not shown for <skill>`,
|
|
459
|
+
hidden characters spelled `\u{200B}` (errors.md, "Skill or command name refused").
|
|
460
|
+
- When a plugin named `anthropic-skills` and a synced skill share a name,
|
|
461
|
+
`/anthropic-skills:<name>` runs the synced skill (`skillLookup`).
|
|
462
|
+
- `scanSavedWorkflows` leaves out a workflow named `anthropic-skills` or `anthropic-skills:<name>`,
|
|
463
|
+
with an error at its file.
|
|
464
|
+
|
|
465
|
+
## [0.1.1] - 2026-11-12
|
|
466
|
+
|
|
467
|
+
### Added
|
|
468
|
+
|
|
469
|
+
#### format
|
|
470
|
+
|
|
471
|
+
- `customThemeId(slug, plugin?)` (`./format`) takes the plugin's name and writes
|
|
472
|
+
`custom:<plugin-name>:<slug>`, the preference `/theme` stores for a plugin's theme
|
|
473
|
+
(settings-reference.md, `theme`); `readThemeSetting` reads it back. Without `plugin` it is
|
|
474
|
+
`custom:<slug>` as before.
|
|
475
|
+
- `findOutputStyle(styles, argument)` (`./format`): the style the argument of `/output-style
|
|
476
|
+
<style>` names, a built-in or a custom one, without regard to case, or `undefined` when it names
|
|
477
|
+
none. `resolveOutputStyle` falls back to the setting and to Default, so it could not tell a host
|
|
478
|
+
that the argument matched nothing.
|
|
479
|
+
|
|
480
|
+
#### settings
|
|
481
|
+
|
|
482
|
+
- `subagentStatusLineInput(base, columns, tasks)`, `runSubagentStatusLine(line, { input, env },
|
|
483
|
+
runner, { signal })` and `readSubagentStatusRows(stdout, tasks)` (`./settings`), with the types
|
|
484
|
+
`SubagentStatusTask`, `SubagentStatusLineInput` and `SubagentStatusLineRun`: the run of the
|
|
485
|
+
`subagentStatusLine` that `session.subagentStatusLine()` selects (statusline.md, "Subagent status
|
|
486
|
+
lines"): the stdin object, one run through `CommandRunner`, and the rows it rewrote by task id
|
|
487
|
+
(`''` hides one). The refresh tick, the environment and drawing a row stay the host's. statusline.md
|
|
488
|
+
is outside the requirement set, so these are judgments (spec/judgments.md).
|
|
489
|
+
|
|
490
|
+
## [0.1.0] - 2026-11-12
|
|
491
|
+
|
|
492
|
+
The first public release, on npm under the MIT license.
|
|
493
|
+
|
|
494
|
+
Grouped by area (format, settings, hooks, skills, agents, marketplace, mods, host, cli, and the
|
|
495
|
+
repository's own tooling). A **BREAKING** entry says what a host changes, old → new; it is listed
|
|
496
|
+
once, in Changed or Removed.
|
|
497
|
+
|
|
498
|
+
### Added
|
|
499
|
+
|
|
500
|
+
#### format
|
|
501
|
+
|
|
502
|
+
- `writeFrontmatter(fields, body)` and `editFrontmatter(text, changes, body?)` (`./format`): the
|
|
503
|
+
inverse of `parseFrontmatter`, property-tested (2,000 seeded cases of every JSON value shape and
|
|
504
|
+
tricky text: reading back gives the same fields and body). An edit keeps a key's place, comments and
|
|
505
|
+
unknown keys, appends a new key, removes one with `undefined`, and refuses a block that does not
|
|
506
|
+
read (`FrontmatterEdit`). `renderSkillFile`, `renderCommandFile`, `renderAgentFile` write a file
|
|
507
|
+
from `SkillDraft` / `CommandDraft` / `AgentDraft` in the reference table's order; `readSkill`,
|
|
508
|
+
`readCommand` and `readAgent` read it back (judgment `frontmatterWriter`).
|
|
509
|
+
- Tests of the whole strict-mode table at `loadPlugin({ entry })`, and the evidence that Claude Code
|
|
510
|
+
merges the entry with `plugin.json` at load and writes no merged file (judgment `mergeAtLoad`).
|
|
511
|
+
- Resolved LSP servers, monitors and MCP servers (`ResolvedLspServer`, `ResolvedMonitor`,
|
|
512
|
+
`ResolvedMcpServer`, from `session.lspServers()`, `monitors()`, `mcpServers()`) carry
|
|
513
|
+
`pluginId: string`, the declaring plugin's id as the host names it, the same value as
|
|
514
|
+
`SessionSkill.source.pluginId`.
|
|
515
|
+
- `InvocableFrontmatter.frontmatter: Readonly<Record<string, unknown>>`: every skill and command
|
|
516
|
+
keeps its frontmatter as parsed, unknown keys included and values as written (`{}` when the YAML
|
|
517
|
+
does not parse); the kit gives no meaning to a key it does not know. `readInvocable` takes the keys
|
|
518
|
+
it leaves unread (`untaken`).
|
|
519
|
+
- `LoadPluginInput.entry?: MarketplaceEntry`: `loadPlugin` merges the marketplace entry with
|
|
520
|
+
`plugin.json` (`mergeEntryWithManifest`, `strict` included), so the entry's replaced hook events
|
|
521
|
+
and the default skills scan reach the load.
|
|
522
|
+
- `readMcpbOptions(block)`: a bundle's `user_config` block in the plugin option shape.
|
|
523
|
+
- `resolveMcpServers`, `resolveLspServers`, `resolveMonitors` and `ResolvedKind` (`./loading`), and
|
|
524
|
+
`NO_PROGRAM` and `onlyQuotedStrings`; `resolveHookCommand` takes `ofPlugin` and reports
|
|
525
|
+
`notStarted` for a command that names no program.
|
|
526
|
+
- `validate` checks a manifest's `userConfig` options (the option-key rule and the `options` list),
|
|
527
|
+
accepts `skills: "."` and an inline `experimental.monitors` array, and its `..` message names the
|
|
528
|
+
path.
|
|
529
|
+
- A host's elicitation dialog needs no code of its own: `elicitationFieldProblems(schema, values)` names the problem of each form field (bounds, lengths, `format`, the listed options, the number of options chosen), `ElicitationField` carries the `labels` of its options (`oneOf`/`anyOf` titles, `enumNames`), `default`, `format`, `minLength`, `maxLength`, `minItems` and `maxItems`, and the new `@rsaryev/llx-plugin/elicitation` entry exports these pure functions alone, so a browser bundle takes only them. An `ElicitationResult` hook's `cancel` now reaches the server with the values the user submitted, as hooks.md says; a `decline` still carries none.
|
|
530
|
+
- `readMcpbManifest`, `bundleServerOf`, `fillBundleSettings`, `requiredBundleSettings` and `missingBundleSettings` read an MCPB bundle's own manifest (name, server for the platform, `user_config`, variables), so a host that opens bundles keeps no manifest parser; `modelVisibleMcpTool` applies `_meta.ui.visibility` and `boundedMcpErrorText` bounds the error text of a failed call as an error result is bounded.
|
|
531
|
+
- A `./layout` subpath exports the standard layout registry without importing the full host,
|
|
532
|
+
parsers or hook/mod engines. Small folder classifiers can depend on this boundary alone.
|
|
533
|
+
- `prepareSubstituter` and `prepareContentSubstitution`: synchronous substitution for a host
|
|
534
|
+
that reads a body lazily, with the path variables asked for once when it prepares.
|
|
535
|
+
- Repository plugins and workspace trust: `decideRepositoryPlugin` (the folder itself must be trusted;
|
|
536
|
+
a parent's trust and `-p` never suffice; `~/.claude/skills/` is exempt; the primary directory, a
|
|
537
|
+
worktree's main checkout and a managed block), `loadRepositoryPlugin` and its component limits (MCP
|
|
538
|
+
servers wait for per-server approval, bundles and files outside the directory are skipped, monitors do
|
|
539
|
+
not load), `contentGate` (the table of what runs before a folder is trusted), `workspaceTrustKey`,
|
|
540
|
+
`workspaceTrustState`, `settingsHooksMayRun`, `localSettingsVerdict`, `projectEntryApplies` and the
|
|
541
|
+
`WorkspaceTrust` port. The folder-is-a-plugin probe (`probeFolder`: `@skills-dir` needs a manifest,
|
|
542
|
+
`--plugin-dir` does not), `planPluginScaffold` (`claude plugin init`) and `pluginDebugSteps`. An inline
|
|
543
|
+
(`settings`) marketplace on `strictKnownMarketplaces` now needs identical `plugins` as well as the name.
|
|
544
|
+
- `removedFromHeadersHelper(name)`: whether a `headersHelper` from a project `.mcp.json` or a plugin runs without `name` in its environment, as Claude Code observed by `bun run oracle:headers-helper-env`.
|
|
545
|
+
- `readsAsEmptyInRemoteMcp(name)`: whether a remote MCP server's `url` or `headers` reads `${name}` as empty, for a host that expands its own MCP configs.
|
|
546
|
+
- `classifyPluginFolder`: whether a `--plugin-dir` folder is one plugin or a folder of plugins,
|
|
547
|
+
with the edges Claude Code 2.1.319 applies.
|
|
548
|
+
- MCP startup and call-timing variables, pure over an environment lookup: `CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT`
|
|
549
|
+
(`McpTimeouts.idleMs`: 5 minutes for network servers, 30 for stdio, `0` off, raised to one second,
|
|
550
|
+
capped at the tool timeout, floored by the per-server `timeout`, none for IDE and SDK servers),
|
|
551
|
+
`mcpConnectionBatches` (`MCP_SERVER_CONNECTION_BATCH_SIZE`, `MCP_REMOTE_SERVER_CONNECTION_BATCH_SIZE`),
|
|
552
|
+
`mcpBackgrounding` (`CLAUDE_CODE_MCP_AUTO_BACKGROUND_MS`, `CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND`),
|
|
553
|
+
`mcpStartupWaitsFor` (`MCP_CONNECTION_NONBLOCKING`), `mcpFirstTurnWaitMs`
|
|
554
|
+
(`CLAUDE_CODE_MCP_STARTUP_WAIT_MS`), `mcpDiscoveryCache`, `mcpCacheEntryUse` and
|
|
555
|
+
`mcpCacheDiscardedAfterFailures` (`MCP_DISCOVERY_CACHE` and its `_TTL_S`, `_MAX_STALE_S` and
|
|
556
|
+
`_STRIKES`) and `mcpClientSettings` (`MCP_SDK_GENERATION`, `MCP_PROTOCOL_NEGOTIATION`).
|
|
557
|
+
- MCP contracts, pure over data: the `oauth` block, redirect, discovery and scopes; `claude mcp add`
|
|
558
|
+
and `add-json`; tool names, hints, root-combinator rewriting and invalid-schema exclusion; result
|
|
559
|
+
limits, persistence and images; MCP prompts; elicitation (modes, forms, URL cap, hooks); the
|
|
560
|
+
`MCP_TIMEOUT`, `MCP_TOOL_TIMEOUT`, `MCP_CONNECT_TIMEOUT_MS` and description-length knobs; reload
|
|
561
|
+
planning; redaction of a plugin server. An unset `${VAR}` in a plugin server is now the error
|
|
562
|
+
`Invalid MCP server config for "<name>": Missing environment variables: ...` instead of a warning.
|
|
563
|
+
- MCP `headersHelper` and the subprocess environment, pure over data. `planHeadersHelper` answers
|
|
564
|
+
where a server's helper runs (plugin root, project directory, primary working directory or the
|
|
565
|
+
configuration directory, by where the server was configured), with which environment (credential
|
|
566
|
+
variables removed for a project `.mcp.json`, a plugin and a project or `--add-dir` agent file;
|
|
567
|
+
`CLAUDE_CODE_MCP_SERVER_NAME`, `_URL` with `REDACTED` for a removed variable's live value, and
|
|
568
|
+
`CLAUDE_PLUGIN_ROOT` for a plugin), under 10 seconds, and whether it runs at all: a project or local
|
|
569
|
+
server in a folder without persisted trust (a parent's and the automatic `-p` or SDK trust do not
|
|
570
|
+
count) connects with its static headers and gets the `headersHelper not run` notice, an agent file's
|
|
571
|
+
server in an untrusted folder is not loaded; `persistedTrust` reads `hasTrustDialogAccepted`.
|
|
572
|
+
`runMcpHeadersHelper`, `connectionHeaders` and `attemptWithHeadersHelper` run it fresh each time,
|
|
573
|
+
let dynamic headers win, stop the OAuth fall back on an `Authorization` header and retry a 401 or 403
|
|
574
|
+
once. `scrubEnvironment` and `subprocessScrubEnabled` apply `CLAUDE_CODE_SUBPROCESS_ENV_SCRUB`'s
|
|
575
|
+
table (credential names and URLs with a password removed, registry URLs lose their userinfo, GitHub
|
|
576
|
+
tokens, proxies and `GIT_CONFIG_*` kept; the pre-2.1.251 behaviour by `version`). One credential
|
|
577
|
+
classifier (`isCredentialVariable`) serves all of them and the marketplace helper. A monitor
|
|
578
|
+
`command` can opt into `monitorPaths: 'environment-reference'`: the three path variables become
|
|
579
|
+
`${NAME}` references and `ResolvedMonitor.environment` supplies the values, so a path holding shell
|
|
580
|
+
metacharacters cannot inject.
|
|
581
|
+
- MCP settings: scope ranking, per-project toggles, project approvals and workspace trust, pure over
|
|
582
|
+
data the host read. `rankMcpServers` loads each server once from the highest of managed, local,
|
|
583
|
+
project, user, plugin and claude.ai connector (names across the three scopes, endpoints for plugins
|
|
584
|
+
and connectors, the whole winning entry, hidden duplicates reported); `claudeJsonServers` and
|
|
585
|
+
`projectFileServers` turn `~/.claude.json` and `.mcp.json` into candidates; `managedServerEntries`
|
|
586
|
+
reads `managedMcpServers` from managed layers only; `readProjectToggles`, `serverEnabled` and
|
|
587
|
+
`applyToggles` apply `disabledMcpServers` and `enabledMcpServers` (one list per kind of server);
|
|
588
|
+
`projectServerApproval` and `canPromptForProjectServers` decide `Pending approval` and `Rejected` for
|
|
589
|
+
`.mcp.json` servers with the untrusted-folder filter. The keys `enableAllProjectMcpServers`,
|
|
590
|
+
`enabledMcpjsonServers` and `disabledMcpjsonServers` join the policy keys, and `resolvePolicy`
|
|
591
|
+
returns an `mcp` area.
|
|
592
|
+
- MCP allow and deny lists: `createMcpServerPolicy` (and `resolvePolicy(...).mcp.serverPolicy()`)
|
|
593
|
+
decides whether a server may load from `allowedMcpServers`, `deniedMcpServers` and
|
|
594
|
+
`allowManagedMcpServersOnly`: the denylist of every file first and always, the allowlist of every file
|
|
595
|
+
or only the highest managed one under the lock (a `true` in any admin source locks), `serverUrl`
|
|
596
|
+
patterns with the port rule, exact `serverCommand` arrays, `serverName` only where the list has no
|
|
597
|
+
entry of the server's kind, `${VAR}` expansion of entries (pinned environment) and servers (live
|
|
598
|
+
environment), the servers that skip the allowlist, and the verdict with the messages users see.
|
|
599
|
+
Invalid entries are stripped per the fail-closed rules; the three keys join the policy keys.
|
|
600
|
+
- Themes: `readTheme` reads a custom theme file (`~/.claude/themes/<slug>.json`, `themes/<slug>.json`
|
|
601
|
+
in a plugin): `name` defaulting to the slug, `base` among the six presets (asserted against the SDK's
|
|
602
|
+
`theme` setting), `overrides` over the documented tokens with `#rrggbb`, `#rgb`, `rgb()`, `ansi256()` and
|
|
603
|
+
`ansi:<name>` colours; unknown tokens and invalid colours are dropped with an issue. `copyOfPluginTheme`
|
|
604
|
+
is the copy an edit of a plugin theme is saved as. `Plugin.themes` now holds the read `Theme` of each
|
|
605
|
+
file and the plugin it comes from (`PluginPath` is gone: `PluginTheme` and `PluginWorkflow` replace it).
|
|
606
|
+
- MCP: `${VAR}` for servers of the settings scopes, not only plugins' (`expandMcpServer`,
|
|
607
|
+
`expandEnvText`): `command`, `args` and `env` of a stdio server, `url` and `headers` of a remote
|
|
608
|
+
one, over a lookup function and no plugin. An empty string counts as set, an unset variable
|
|
609
|
+
without a default keeps its text with a missing-variable warning, a `url` that does not parse
|
|
610
|
+
after expansion drops the server, and the covered credential variables read as empty toward a
|
|
611
|
+
remote server with a debug line naming the ones the user set (`credential-env`, one list for
|
|
612
|
+
plugin and non-plugin servers). `displayReference` gives what `/mcp` and `claude mcp list` show
|
|
613
|
+
(the `${VAR}` by name; a managed server's host only) and `mcpEndpointKey` the endpoint two
|
|
614
|
+
servers are duplicates by (URL spellings that differ only in scheme or host case, default port or
|
|
615
|
+
a trailing slash are one; a command is its arguments too).
|
|
616
|
+
- Validating: `validatePlugin({ files, label?, signal? })` reproduces `claude plugin validate <dir>`
|
|
617
|
+
of the tracked Claude Code release over a `PluginFiles` folder: it picks the marketplace, the
|
|
618
|
+
plugin or a bare components folder as the CLI does and returns `{ target, issues }` with each
|
|
619
|
+
issue's `severity`, `file`, `path` and the CLI's own `message`. It checks the manifest (schema,
|
|
620
|
+
advice, unknown fields, declared paths, inline hooks and MCP servers, the map form of `commands`),
|
|
621
|
+
`hooks/hooks.json`, `.mcp.json`, the frontmatter of skills, agents and commands, `CLAUDE.md`, and,
|
|
622
|
+
for a marketplace, every entry and the manifest of each entry inside it; it never follows a
|
|
623
|
+
symlink and says so as the CLI does. Exports `ValidationIssue`, `ValidationReport`,
|
|
624
|
+
`ValidationTarget`, `VALIDATION_TARGETS`.
|
|
625
|
+
- Manifest rules the docs state and the kit did not apply: a `userConfig` option's `options` must sit
|
|
626
|
+
on a `string` field that is not `multiple` or `sensitive`, with a `default` from the list or
|
|
627
|
+
`required: true` (else the plugin fails to load); `types` is a `./` path to a `.d.ts` file inside the
|
|
628
|
+
plugin; a `channels` entry bound to a server that is not among the plugin's `mcpServers` is an
|
|
629
|
+
error issue. `resolveChannel` gives a channel its `displayName` (default: the server name) and
|
|
630
|
+
substitutes its `userConfig` into that server's `env`; `validateUserConfigValues` tells whether a
|
|
631
|
+
saved value meets `type`, `required`, `multiple`, `options`, `min` and `max`. The mods reference
|
|
632
|
+
tables the tests compare the kit with are a committed snapshot (`spec/docs-tables.json`), and
|
|
633
|
+
`check:spec` (SP5) compares it and the tools table with the pulled docs.
|
|
634
|
+
- Output styles: `readOutputStyle` (`name`, `description`, `keep-coding-instructions`,
|
|
635
|
+
`force-for-plugin`, `<plugin>:<name>` ids, a YAML error loads the style under its file name),
|
|
636
|
+
`resolveOutputStyle` (case-sensitive setting, case-insensitive `/output-style`, a forced plugin
|
|
637
|
+
style overrides both), `includeCodingInstructions` (full prompt only) and `listOutputStyles`.
|
|
638
|
+
- `readManifest` and `validateManifest` for `.claude-plugin/plugin.json`.
|
|
639
|
+
- A frontmatter parser (`parseFrontmatter`) and the value coercions of skills, commands and
|
|
640
|
+
agents (`readFlag`, `readText`, `readList`, `readTable`, `readEnum`).
|
|
641
|
+
- `readInteger` and a mode for `readList` (`separators`, `braces`), the frontmatter API exported
|
|
642
|
+
from the package, `line` and `column` on a frontmatter problem, `HttpRequest.as` and
|
|
643
|
+
`HttpResponse.bytes` for binary bodies, and symlinks and access recording in the `memoryFiles`
|
|
644
|
+
fake.
|
|
645
|
+
- Variable substitution in `loading/resolve`: `${CLAUDE_PLUGIN_ROOT}`, `${CLAUDE_PLUGIN_DATA}`
|
|
646
|
+
(created on first reference, `pluginDataId`), `${CLAUDE_PROJECT_DIR}`, `${user_config.KEY}`,
|
|
647
|
+
`${VAR}` and `${VAR:-default}` in one pass (`substituteTemplate`, `substituteDeep`), the
|
|
648
|
+
per-component policies (`SURFACE_POLICY`, `VARIABLE_FIELDS`), the environment a process receives
|
|
649
|
+
(`exportedEnvironment`, `CLAUDE_PLUGIN_OPTION_<KEY>`) and Windows path rendering.
|
|
650
|
+
- MCP servers of a plugin: `readMcpConfig` and `readMcpServer` (wrapper or bare `.mcp.json`; `ws` and
|
|
651
|
+
`headersHelper` on the official stdio, SSE and HTTP configs as `PluginMcpServer`),
|
|
652
|
+
`collectMcpServers` and `classifyMcpSource` (root `.mcp.json` first, then each `mcpServers` source
|
|
653
|
+
in order: `.json` file, inline map, `.mcpb`/`.dxt` bundle path or URL through the new optional
|
|
654
|
+
`McpBundleReader` port, "needs configuration" for a bundle with an unsatisfied required setting),
|
|
655
|
+
and `resolveMcpServer` (variables substituted per transport, credential variables read as empty,
|
|
656
|
+
`headersHelper` rejecting `${user_config.*}` with the documented error, its environment) with
|
|
657
|
+
the reusable `rejectUserConfigInShell` guard.
|
|
658
|
+
- `expandMcpServer(name, server, lookup, options?)` with `McpExpansionOptions.readsAsEmpty`
|
|
659
|
+
(`./format`): a host adds its own variable names to the ones that read as empty toward a remote
|
|
660
|
+
server; Claude Code's list still applies (judgment, docs/SECURITY.md).
|
|
661
|
+
|
|
662
|
+
#### settings
|
|
663
|
+
|
|
664
|
+
- `workspaceTrustSituation(isFolderTrusted, facts, options?)` (`./loading`): the column of the trust
|
|
665
|
+
table for a host that knows synchronously whether the dialog was accepted for a folder, the same
|
|
666
|
+
answer as `workspaceTrustState` with the same folders asked (no folder above a repository). Its
|
|
667
|
+
options type is `TrustStateOptions`.
|
|
668
|
+
- `configDirectoryOf(home, configDir, join)` and `globalConfigFileOf(home, configDir, join)`
|
|
669
|
+
(`./settings`): the one reading of `CLAUDE_CONFIG_DIR` the kit uses, for a host that resolves the
|
|
670
|
+
same directory outside a session (empty is unset; a value is taken as given, neither trimmed nor
|
|
671
|
+
`~`-expanded).
|
|
672
|
+
- `applyParentRules(view, context)` and `ParentSettingsContext` (`./settings`): the parent-settings
|
|
673
|
+
rule over a view the host built itself.
|
|
674
|
+
- `permissions.denyInsteadOfPrompting` (Claude Code 2.1.321): read from user, managed and
|
|
675
|
+
`--settings` files only, a `true` from user or `--settings` beats a managed `false`
|
|
676
|
+
(`PermissionsPolicy.denyInsteadOfPrompting`). `startPermissions` sets
|
|
677
|
+
`DecideContext.denyInsteadOfPrompting`, so `decide` denies a would-be prompt with the reason
|
|
678
|
+
`no-approval-surface` and the permission callback is not asked; a critical-path removal in auto mode
|
|
679
|
+
is denied at a terminal too. `permissionRequestDecision(decision, outcome)` lets a `PermissionRequest`
|
|
680
|
+
hook answer a prompt or a denial in place of one; `availableTools` leaves out `AskUserQuestion`,
|
|
681
|
+
`EnterPlanMode` and `ExitPlanMode` (`ToolSession.teammate` keeps the plan tools);
|
|
682
|
+
`autoRespondElicitation(output, { denyInsteadOfPrompting })` cancels a request no hook answers;
|
|
683
|
+
`settleClassification` takes `prompts`. The messages: `NO_APPROVAL_SURFACE_DENIAL`,
|
|
684
|
+
`NO_APPROVAL_SURFACE_DECISION_REASON`, and `createRefusalStreak()` with `REFUSAL_STOP_MESSAGE` and
|
|
685
|
+
`REFUSAL_STOP_RESULT` for the stop after 20 refused calls in a row in auto mode.
|
|
686
|
+
- `readChannelNotification(params)` reads the params of a channel notification (`content` string required, `meta` kept for identifier keys with string values), so a host does not write its own validator before `channelTag`.
|
|
687
|
+
- Managed MCP: `readManagedMcpFile` and `loadManagedMcpFile` read `managed-mcp.json` from the path of
|
|
688
|
+
each platform; `readManagedMcpServers` validates `managedMcpServers` entries (remote `https` only, no
|
|
689
|
+
program, no `${VAR}`, plain names and characters) with a notice for each dropped one;
|
|
690
|
+
`mcpLoadPlan` (and `resolvePolicy(...).mcp.loadPlan`) decides what loads under exclusive control: an
|
|
691
|
+
empty map blocks every other server, `claude mcp add` gets the enterprise-policy error, `--mcp-config`
|
|
692
|
+
and `--strict-mcp-config` exit on a workstation (a cloud session keeps the managed servers and warns),
|
|
693
|
+
connectors need `allowAllClaudeAiMcps`, Claude in Chrome needs `allowClaudeInChromeWithManagedMcp` from
|
|
694
|
+
device sources; `providedServersTiming` and `reconcileManagedServers` say when provided servers connect
|
|
695
|
+
and what a running session adds, reconnects or drops. The keys `managedMcpServers`,
|
|
696
|
+
`allowAllClaudeAiMcps`, `allowClaudeInChromeWithManagedMcp` and `disableClaudeAiConnectors` join the
|
|
697
|
+
policy keys, and `resolvePolicy` takes `deviceManaged` layers.
|
|
698
|
+
- The managed sources (`src/settings/managed`). `composeManaged(documents, { parentRestrictive })`
|
|
699
|
+
chooses among remote settings, the MDM policy (plist or HKLM), the managed files and the HKCU
|
|
700
|
+
registry as managed-settings.md ranks them: by default the highest source that delivers a policy
|
|
701
|
+
key, with `managedSourcesBehavior: "merge"` every admin source combined by kind of key (lists union,
|
|
702
|
+
locks take the strictest value, restriction allowlists and values taken whole from the highest
|
|
703
|
+
source, provided MCP servers by name, `env` per variable, login keys from the machine policy), and
|
|
704
|
+
the keys read from every admin source under both. `readAdminDocument` decides when a document is
|
|
705
|
+
present, empty, broken (fatal) or unreadable; `readFileDocument` merges `managed-settings.json` with
|
|
706
|
+
`managed-settings.d/` in alphabetical order; `wslChain` orders the Windows and `/etc/claude-code`
|
|
707
|
+
documents under `wslInheritsWindowsSettings`; `parentSettingsOf` applies `parentSettingsBehavior` and
|
|
708
|
+
the managed values that block a host's parent settings. `readPolicyHelper`, `readHelperOutput` and
|
|
709
|
+
`runPolicyHelper` (through the `CommandRunner` port and the new `HelperFileProbe` of this module)
|
|
710
|
+
judge a `policyHelper` and its failures; `withHelperSettings` makes its output the only managed
|
|
711
|
+
settings. The delivery catalog (`managedFilePaths`, `MECHANISM_TRAITS`, registry and plist names,
|
|
712
|
+
symlink verdict, `cacheAfterFetch`), `sourcesLoadedBy`, `reachOfPlace`, `serverChangeTiming`,
|
|
713
|
+
`startupFetchOf` and `fetchesRemoteSettings` answer where and when a policy applies.
|
|
714
|
+
`SettingsSources.managed` lets a host hand over every source so `loadSettingsLayers` composes the
|
|
715
|
+
tier, `resolvePolicy({ managed })` takes `hasManagedSettings` and `parentMerge` from it, and
|
|
716
|
+
`autoCompactWindow` joins the per-session overrides (`--autocompact`, `CLAUDE_CODE_AUTO_COMPACT_WINDOW`).
|
|
717
|
+
- The merge core. `createGeneralView(layers)` extends the policy view with `merged()`, the
|
|
718
|
+
whole of settings.md's precedence as one object: a block merges key by key, a list combines with the
|
|
719
|
+
duplicates removed (the highest file's entries first), any other value comes from the highest file,
|
|
720
|
+
and `fallbackModel`, `modelPicker` (user, managed and `--settings` only) and `availableModels` (a
|
|
721
|
+
managed list as-is) keep their own rules. The 12 keys whose managed value is not an override are rows
|
|
722
|
+
with a `ManagedException` (`disableClaudeAiConnectors`, `enableArtifact` and `disableArtifact`,
|
|
723
|
+
`isolatePeerMachines`, the two `block...Outside...` keys, `autoMode.classifyAllShell`,
|
|
724
|
+
`remoteControlAtStartup`, `crossSessionInbound`, `useAutoModeDuringPlan`, the two claude.ai sync keys
|
|
725
|
+
and `maxEffortLevel`); `get` applies one rule for all of them. `permissions.defaultMode` ignores
|
|
726
|
+
`auto` and `bypassPermissions` from project and local settings. `permissionRuleLists(view, trusted)`
|
|
727
|
+
adds up allow, ask and deny across scopes (a deny at any scope blocks, `allowManagedPermissionRulesOnly`
|
|
728
|
+
leaves managed rules only, a repository's allow rules and `additionalDirectories` wait for trust),
|
|
729
|
+
`effortLevelFor` resolves `modelSettings` one model at a time, `resolveSessionValue` orders a key's
|
|
730
|
+
flag, paired variable and settings value, `editEffect` and `loadsFileCreatedMidSession` say when an
|
|
731
|
+
edit reaches a running session, `reachOf`, `FILE_ORIGINS`, `WRITE_TARGET`, `userSettingsFile`,
|
|
732
|
+
`localSettingsFiles` and `globalGitExcludesFile` hold the scope and file-location facts of
|
|
733
|
+
settings.md, and `readClaudeJson` decides what a broken `~/.claude.json` costs. A global config key
|
|
734
|
+
is dropped from every settings file with a warning, and a source that does not parse is a Settings
|
|
735
|
+
Error (`problemKind`) naming the file.
|
|
736
|
+
|
|
737
|
+
#### hooks
|
|
738
|
+
|
|
739
|
+
- `escapeReminderTags(text)` (`./hooks`): the `<system-reminder>` tag escape `mergeOutputs` and
|
|
740
|
+
`limitDelivery` apply, for hook text a host writes into a reminder itself.
|
|
741
|
+
- `HookEngineOptions.onceClaims` with `createOnceClaims`, `withoutSpent` and `OnceClaims`: a host
|
|
742
|
+
that builds an engine more than once for one registry passes one that outlives them, as it does
|
|
743
|
+
`stopCap`. Also `SOURCE_POLICY`, `SourcePolicy` and `limitDelivery` (`./hooks`), and
|
|
744
|
+
`SessionDispatchOptions` (root).
|
|
745
|
+
- `session.hookEntries()` and `runnableHandlers(entries, session)`: the registered hooks that would run, with their source, for a read-only `/hooks` view.
|
|
746
|
+
- `locationsWithoutPlugin`: the scope a host gives `resolveHookCommand` for a settings hook.
|
|
747
|
+
- Hooks: `registerHooks` turns a hooks file into registry entries; Settings: `hookSessionGates` reads
|
|
748
|
+
`disableAllHooks`, `allowManagedHooksOnly`, the `hooks` lock, the HTTP allowlists and the settings
|
|
749
|
+
files' hooks off the policy view as the plain data a hook session takes.
|
|
750
|
+
- `selectAgentHooks`, `agentHookGroups` and `hooksTrustGate`: the frontmatter hooks of an agent that
|
|
751
|
+
fire for an event (only while the agent is active, the `PreToolUse` and `PostToolUse` matcher
|
|
752
|
+
over the tool name, a subagent's `Stop` converted to `SubagentStop`, none for a plugin agent,
|
|
753
|
+
project-level and `--add-dir` agents skipped until their folder is trusted); `readAgent` reads the
|
|
754
|
+
`hooks` field with every hook event accepted.
|
|
755
|
+
- `readHooksFile` and `readHooksSettings`: hook configuration read and validated as hooks.md
|
|
756
|
+
describes (events, matcher groups, the five handler types and their fields), into the official
|
|
757
|
+
`HooksSettings`; and `matchesMatcher`, the matcher grammar of hooks.md (match-all, exact list,
|
|
758
|
+
unanchored regular expression, the narrower set of `FileChanged` and `StopFailure`).
|
|
759
|
+
- Hook input (`hooks/input`): `buildHookInput` makes the JSON a hook reads from the session and the
|
|
760
|
+
event's facts: the common fields (`session_id`, `prompt_id` absent before the first prompt,
|
|
761
|
+
`scratchpad_dir`, `permission_mode` with Manual as `default`, `effort` on tool-context events,
|
|
762
|
+
`agent_id` and `agent_type`, `hook_event_name`), facts checked against the official input type of
|
|
763
|
+
each of the 33 events (a wrong type or value is an issue and no input), the conditional fields
|
|
764
|
+
(`SessionStart` cost fields for resume and fork, `InstructionsLoaded` `globs`, `trigger_file_path`
|
|
765
|
+
and `parent_file_path` by `load_reason`), and the `Stop` task and cron entries capped at 1000
|
|
766
|
+
characters with the `… [+N chars]` marker and per-type fields. `serializeHookInput` is the one
|
|
767
|
+
JSON text for stdin and an HTTP body.
|
|
768
|
+
- Command hook handler (`hooks/handlers`): `runHandler` runs a `command` hook through `CommandRunner`
|
|
769
|
+
in exec form (`args` present: the executable and one argument per element, no shell, placeholders
|
|
770
|
+
and `${user_config.*}` substituted as plain strings) or shell form (`bash` or `powershell`, the
|
|
771
|
+
placeholders rewritten to `${env:NAME}` for PowerShell, a plugin hook that references
|
|
772
|
+
`${user_config.*}` refused with the documented error), with the event JSON on stdin,
|
|
773
|
+
`CLAUDE_PROJECT_DIR`, `CLAUDE_PLUGIN_ROOT`, `CLAUDE_PLUGIN_DATA` and `CLAUDE_PLUGIN_OPTION_<KEY>`
|
|
774
|
+
exported, `OTEL_*` removed and the documented working-directory fallbacks. `async` and
|
|
775
|
+
`asyncRewake` hooks return a background run at once (no timeout for `async`, a wake text on exit
|
|
776
|
+
code 2 for `asyncRewake`). `planTimeouts` and `handlerTimeoutMs` compute the limit the port
|
|
777
|
+
enforces (600/600/600/30/60, lowered on `UserPromptSubmit`, `PreModelSwitch`, `PostModelSwitch`
|
|
778
|
+
and `MessageDisplay`, the shared `SessionEnd` budget), and `statusMessage` reaches the host's
|
|
779
|
+
observer when a hook starts.
|
|
780
|
+
- Remote hook handlers (`hooks/handlers/remote`): an `http` hook POSTs the hook input as JSON with
|
|
781
|
+
`Content-Type: application/json`, interpolating `$VAR` and `${VAR}` in header values only for the
|
|
782
|
+
names in `allowedEnvVars` (unlisted ones become empty strings); an `mcp_tool` hook calls the tool
|
|
783
|
+
on the server it names (a plugin server by its scoped name), substitutes `${path}` from the hook
|
|
784
|
+
input into the string arguments, waits for a connecting server only on events that can block or
|
|
785
|
+
change a result, and reports `isError` as a non-blocking error; `prompt` and `agent` hooks
|
|
786
|
+
substitute `$ARGUMENTS` (with the `\$` escape, the input appended when absent), pass `model` and
|
|
787
|
+
the 30 s and 60 s timeouts, and read the `ok` / `reason` / `impossible` answer. `okFalseEffect`
|
|
788
|
+
says what `ok: false` does on each of the 13 events (`continueOnBlock`, `impossible`, agent hooks),
|
|
789
|
+
and `runLimited` runs at most 12 prompt or agent hooks at once, in handler order.
|
|
790
|
+
- The hook verdict and engine: `interpretRun` reads a run as the docs do (the stdout against exit
|
|
791
|
+
code table, exit 2 on each of the 33 events, `onFailure` on `command` and `http` hooks, HTTP
|
|
792
|
+
response handling, `ok: false` of prompt and agent hooks, background deliveries), and
|
|
793
|
+
`createHookEngine` dispatches an event through select, input, run, read and merge into a
|
|
794
|
+
`HookOutcome`.
|
|
795
|
+
- Hook output (`hooks/output`): `parseHookOutput` reads a hook's JSON against the schema of its
|
|
796
|
+
event (the universal fields and a `hookSpecificOutput` bound to the official types, a value of the
|
|
797
|
+
wrong type is a validation failure, a key no schema names is dropped); `OUTPUT_CAPS` says which of
|
|
798
|
+
`continue`, `systemMessage`, `terminalSequence`, `decision` and the event's own fields each of the
|
|
799
|
+
33 events honours; `mergeOutputs` merges every hook's output in registry order (`PreToolUse` deny >
|
|
800
|
+
defer > ask > allow, `PreModelSwitch` deny > ask > allow, `PermissionRequest`, `PostToolUse`
|
|
801
|
+
rewrites checked against the Bash, Glob, Grep, WebFetch and WebSearch output shapes, the classifier
|
|
802
|
+
note capped at 2,000 characters, `Elicitation` where any decline wins) into typed `effects`;
|
|
803
|
+
`allowedTerminalSequence` keeps `terminalSequence` to OSC 0/1/2/9/99/777 and BEL;
|
|
804
|
+
`parsePermissionUpdates` validates the six permission update entries (`manual` is `default`);
|
|
805
|
+
`createOutputStage` caps each string of a hook at 10,000 characters, saving the rest through
|
|
806
|
+
`ScratchFiles` with a 2,000-character preview, and is the engine's default output stage
|
|
807
|
+
(`HookPorts.scratch`); `OutputStage` gains `limit`, `merge` takes the event's facts, and
|
|
808
|
+
`MergedOutput` carries `issues`.
|
|
809
|
+
- Hook output (`hooks/output`): `SubagentStart` `hookSpecificOutput.additionalContext` is proven
|
|
810
|
+
as a requirement (accepted for that event only, carried from every hook, capped, and no decision
|
|
811
|
+
holds subagent creation back).
|
|
812
|
+
|
|
813
|
+
#### skills
|
|
814
|
+
|
|
815
|
+
- `PluginHostOptions.shellArguments?: 'pasted' | 'environment-reference'` (type `ShellArguments`,
|
|
816
|
+
`./skills`): default `pasted`, as Claude Code. Under `environment-reference` a skill's or
|
|
817
|
+
command's bash `!` command gets `$ARGUMENTS`, `$N` and `$name` as references to
|
|
818
|
+
`SKILL_ARGUMENTS` / `SKILL_ARGUMENT_<n>`, the values in its environment, so an argument holding
|
|
819
|
+
`; touch PWNED` or `$(…)` is data in every quoting; `ShellCall.command` has each value quoted
|
|
820
|
+
where it lands. PowerShell stays pasted (judgment `shellArguments`).
|
|
821
|
+
- A plugin skill whose folder fixes its name but whose frontmatter `name` differs answers to that
|
|
822
|
+
name too: `Skill.declaredCommand` (new, optional) is the command it gives (`alpha:fancy` for
|
|
823
|
+
`skills/greet/SKILL.md` with `name: fancy`), and `session.expandSkill('alpha:fancy')`,
|
|
824
|
+
`expandSkill('fancy')` and an agent's `skills: [fancy]` preload find the skill, which is still
|
|
825
|
+
listed only as `alpha:greet` (oracle 2.1.322; tests/host/preload-skill-alias.test.ts).
|
|
826
|
+
- `readMemoryRule(path, text, scope)` (`./format`) reads a `.claude/rules/**/*.md` file (memory.md,
|
|
827
|
+
"Rule frontmatter reference"); `ruleActivatesFor` and `ruleBase` (`./skills`) match its `paths` on
|
|
828
|
+
the skill gate's matcher, relative to the folder holding its `.claude` or, for a user rule, the
|
|
829
|
+
working directory (judgment `memoryRules`).
|
|
830
|
+
- `FILE_SCOPES`, `FileScope` and `isFileScope` (`./settings`); `scopeFilePath(scope, kind, folder,
|
|
831
|
+
name)` and `ScopeFileKind` (`./skills`); `skillPlugin`, `skillScope`, `SkillScope`, `skillKeywords`
|
|
832
|
+
(`./host`, `skillKeywords`); `sessionSkillFixture` and `catalogAgentFixture` (`./testing`), built
|
|
833
|
+
through the kit's own readers.
|
|
834
|
+
- `session.recordSkillInvocation(name)`: a skill or command the host ran without `expandSkill`
|
|
835
|
+
triggers its `on-skill-invoke` monitors.
|
|
836
|
+
- `session.skillContent(name, { signal }): Promise<SkillContent>` reads a skill or command for a
|
|
837
|
+
host that pins it: the body as written with its absolute `path` and `dir`, through the same lookup
|
|
838
|
+
as `expandSkill`, with no invocation step (`disable-model-invocation`, `skillOverrides`, `!`
|
|
839
|
+
commands, substitution and the base-directory line do not apply); an unknown name gives
|
|
840
|
+
`expandSkill`'s failure. `SkillContent` is exported. `preloadSkills` now hands the same content,
|
|
841
|
+
with the absolute `path` and `dir`.
|
|
842
|
+
- `skillTriggerNames(pluginId, skill)` (`./loading`): the names an `on-skill-invoke:` trigger may
|
|
843
|
+
use for a skill that ran. Only the plugin's own skill counts, written either namespaced
|
|
844
|
+
(`ops:deploy`) or bare (`deploy`, the docs' example; judgment J-L11). Before this, the session's
|
|
845
|
+
namespaced names could never match the docs' bare trigger.
|
|
846
|
+
- `SessionOptions.hostSkills?: () => readonly HostSkill[]`: the skills a host supplies itself, built
|
|
847
|
+
in or registered at run time by its extensions (`HostSkill`: `name`, `frontmatter?`, `file?`, `body`
|
|
848
|
+
as text or a `BodyReader`). They are Claude Code's bundled skills to the kit (origin
|
|
849
|
+
`{ kind: 'bundled' }`): in the catalog, the model listing, the menu, name lookup, mentions,
|
|
850
|
+
preload and `checkInvocation`, listed after the plugins and the folders; a folder skill of the
|
|
851
|
+
name replaces one, a synced skill's short name yields to one, `disableBundledSkills` and
|
|
852
|
+
`CLAUDE_CODE_DISABLE_BUNDLED_SKILLS` remove them, `skillOverrides` applies, and
|
|
853
|
+
`disableSkillShellExecution`, `allowManagedPermissionRulesOnly` and the plugin-only lock leave them
|
|
854
|
+
alone. A refused name or a second skill of one name is a `skillCatalog().issues` entry.
|
|
855
|
+
`readBundledSkill(head, body)` and types `BundledSkillHead`, `BundledSkillRead` (`./format`).
|
|
856
|
+
- Until the first `reloadSkills` (or `addDirectory`, `moveTo`), `skillCatalog().issues` and
|
|
857
|
+
`skills().issues` (new `SkillsListing.issues`) carry a warning that the skills folders are not
|
|
858
|
+
read; until the first `reloadAgents`, `agentCatalog().issues` carries the same warning for the
|
|
859
|
+
agents folders. A session without a folder port carries none.
|
|
860
|
+
- `session.messageMentions(message, { takesCommandArguments? }?): MessageMentions`: which skills a
|
|
861
|
+
message names (`mentions`, `leading`, `arguments`, `permitted`) without expanding them; it is the
|
|
862
|
+
read `expandMessage` makes, and `MessageExpansion` extends it.
|
|
863
|
+
- `readFileReferences(text, { cwd, locations })` and `attachesFileReferences(origin, isolated)`
|
|
864
|
+
(`./skills`), type `FileReference` (root, `./skills`).
|
|
865
|
+
- `PluginHostOptions.extraScopeFolders` (and `extraScopeFolders` of a scan context): folders beside
|
|
866
|
+
`.claude`, such as `.agents`, whose `skills/`, `commands/` and `agents/` load in every scope base;
|
|
867
|
+
within a scope the `.claude` folders win a shared name, the scopes keep their documented order, and
|
|
868
|
+
a skill folder there is never a skills-directory plugin.
|
|
869
|
+
- `skillLookup`, `SkillLookup`, `NamedInvocable`, `isLeading` and `LeadingMention` (`./skills`);
|
|
870
|
+
`TouchedFile.activated` (the skills a touched file activated, which `skills()` then lists);
|
|
871
|
+
`SessionOptions.permissionContext`; `ExpandRequest.commandEnvironment`;
|
|
872
|
+
`ExpandOptions.runningForks`.
|
|
873
|
+
- Export `findInjections` and `runInjections` (with their context, port and result types), so a host that binds skill arguments itself, for hostile input, still finds and runs the documented `` !`command` `` placeholders through the kit.
|
|
874
|
+
- Export `substituteArgumentPieces` from the package root, for a host that renders a skill's
|
|
875
|
+
injected commands itself and still needs the arguments counted over the authored text.
|
|
876
|
+
- Visibility, access, injection, lifecycle. `skills/visibility` holds the four `skillOverrides`
|
|
877
|
+
states as one registry that the listing, the menu and the invocation check read (`overrideMenuLabel` is
|
|
878
|
+
the `/skills` label); `skillNamesOf` gives the names a `Skill(...)` deny rule sees (nested unqualified
|
|
879
|
+
name, synced and plugin forms, aliases); `stackSkills` expands the first skill plus five stacked after it;
|
|
880
|
+
`invokeSkill`, `startTurn` and `reattachAfterCompaction` keep skill content, grants and the compaction
|
|
881
|
+
budget (5,000 tokens each, 25,000 in all); `launchFork` says what a `context: fork` skill starts;
|
|
882
|
+
`frontmatterIssues` gives the upload error for fields outside the Agent Skills spec. Injected commands
|
|
883
|
+
now follow the Bash tool: output past the inline ceiling is saved through `ExpandPorts.scratch` and
|
|
884
|
+
injected as a path and a preview (`bashOutputMaxChars`), a command moved to the background at its
|
|
885
|
+
timeout renders the skill with a note, exit 1 is classified like Claude's own commands, and
|
|
886
|
+
`disableSkillShellExecution` leaves managed skills alone. `Expansion.ignoredGrants` lists the grants
|
|
887
|
+
the managed settings withheld.
|
|
888
|
+
- The skills and command files outside plugins. `scanFolders`, `scanNested` and
|
|
889
|
+
`resolveFolderSkills` read `.claude/skills/<name>/SKILL.md` and `.claude/commands/**.md` of the managed
|
|
890
|
+
directory, `~`, the project and its parents up to the repository root (a linked worktree stops at its
|
|
891
|
+
top and may borrow the main checkout's), each added directory, the directories below the working
|
|
892
|
+
directory a touched file is in, and the skills synced from claude.ai, through a new `FolderScan` port
|
|
893
|
+
(`ports/folder-scan`, with the `folderScan` fake and the shared `foundation/folder-walk`). Names clash as
|
|
894
|
+
skills.md says: enterprise over personal over project, a skill over a command file, a nested or
|
|
895
|
+
added-directory skill under `<dir>:<name>`, a synced skill's short name yielding to any other command;
|
|
896
|
+
a symlinked skill folder loads once. A skill folder holding a plugin manifest is reported as a
|
|
897
|
+
`<name>@skills-dir` plugin. New `managed` skill origin.
|
|
898
|
+
- Commands: `readCommand` reads a flat command file (the older skill format: the skill frontmatter
|
|
899
|
+
except `name` and `paths`; the name is the path below `commands/` without the extension, folders
|
|
900
|
+
joined by `:`, after the plugin prefix) and `readCommandEntry` builds a command from an entry of
|
|
901
|
+
the manifest's `commands` object map (`source` or inline `content`, `description`, `argumentHint`,
|
|
902
|
+
`model`, `allowedTools`); `loadCommandEntries` reads each `source` through the `PluginFiles` port.
|
|
903
|
+
A missing source file, an entry with both or neither of `source` and `content`, a refused name
|
|
904
|
+
and a `source` outside the plugin folder are error issues for that entry only; an `allowedTools`
|
|
905
|
+
rule that does not parse is dropped with a warning. The loaded commands expand through
|
|
906
|
+
`expandSkill` and list through `menuEntries` like a skill.
|
|
907
|
+
- Dynamic context and `expandSkill`. `expandSkill` turns a skill or command into the text
|
|
908
|
+
the model receives plus its grants (`allowed-tools` with `${CLAUDE_*}` substituted in the Bash
|
|
909
|
+
rules, the docs' same-variable pattern), `disallowed-tools`, execution (inline or fork), model and
|
|
910
|
+
effort overrides (and `${CLAUDE_EFFORT}` as the level the skill runs at) and hooks. `!`cmd`` and
|
|
911
|
+
```` ```! ```` placeholders are found in the original text and run through the `CommandRunner` port
|
|
912
|
+
(the `shell` field picks the tool, exit 1 of search and comparison commands is a result, a failure
|
|
913
|
+
or a refused permission check aborts the invocation, auto mode and forked skills as documented),
|
|
914
|
+
`disableSkillShellExecution` and synced skills replace or keep them as literal text, and output is
|
|
915
|
+
never re-scanned. `countSkillHooks`, `admitSkillHooks` and `hookSourceOf` apply the documented
|
|
916
|
+
limits on skill hooks. `substituteArgumentPieces` backs the expansion.
|
|
917
|
+
- Invocation, listing and execution. `invocationPolicy` and `checkInvocation` give the
|
|
918
|
+
default / `disable-model-invocation` / `user-invocable: false` matrix (who may run a skill, what
|
|
919
|
+
the model is told, the `/` menu, subagent preloading, a scheduled-task prompt) and apply
|
|
920
|
+
`skillOverrides` (not to plugin skills); `readSkillMentions` tells a leading `/name` from one
|
|
921
|
+
named in plain text. `modelListing` and `menuEntries` build the skill listing (description plus
|
|
922
|
+
`when_to_use` cut at 1,536 characters, `<` and `>` escaped, a budget that drops the least used
|
|
923
|
+
descriptions first) and the official `SlashCommand` rows. `skillActivatesFor` matches `paths`
|
|
924
|
+
(gitignore syntax and brace expansion, relative to the current directory, nothing outside it).
|
|
925
|
+
`resolveExecution`, `resolveTurnOverrides` and `resolveShell` decide inline or fork (agent,
|
|
926
|
+
background and the cases that wait for the result), the model and effort override of a turn or of
|
|
927
|
+
the forked subagent, and the shell tool of injected commands. `Skill.shellDeclared` and
|
|
928
|
+
`OriginTraits.honoursSkillOverrides` support them.
|
|
929
|
+
- Substitution in a skill's text. `substituteArguments` expands `$ARGUMENTS`,
|
|
930
|
+
`$ARGUMENTS[N]`, `$N` and `$name` over the original text in one pass (shell-style quoting through
|
|
931
|
+
`parseArguments`, `\$` escapes, an index with no argument stays as written, a named one becomes
|
|
932
|
+
empty, an argument value is never expanded, `ARGUMENTS: <value>` is appended when nothing
|
|
933
|
+
received the arguments). `buildVariables` and `substituteVariables` substitute `${CLAUDE_SESSION_ID}`,
|
|
934
|
+
`${CLAUDE_EFFORT}`, `${CLAUDE_SKILL_DIR}`, `${CLAUDE_PROJECT_DIR}`, `${CLAUDE_PLUGIN_ROOT}` and
|
|
935
|
+
`${CLAUDE_PLUGIN_DATA}` through `loading/resolve` (the plugin pair for plugin skills only), for the
|
|
936
|
+
body and for the Bash rules of `allowed-tools`; `substitute` does both, arguments first.
|
|
937
|
+
`ORIGIN_TRAITS.substitutesSessionVariables`.
|
|
938
|
+
- `readSkill` reads a `SKILL.md` into a `Skill` (the shared `InvocableFrontmatter` of
|
|
939
|
+
skills and commands): `description` (else the first non-empty body line), `when_to_use`,
|
|
940
|
+
`argument-hint`, `arguments`, `disable-model-invocation`, `user-invocable`, `allowed-tools`,
|
|
941
|
+
`disallowed-tools`, `model`, `effort`, `context`, `agent`, `background`, `hooks` (through the
|
|
942
|
+
hooks reader), `paths`, `shell`, `metadata`, `license` and `compatibility`, with the documented
|
|
943
|
+
defaults; a YAML error loads the skill with its body and no fields, an unknown key is ignored.
|
|
944
|
+
`SKILL_FIELDS` and the `FIELD_READERS` registry, `ORIGIN_TRAITS`, `escapeAngleBrackets`.
|
|
945
|
+
- `resolveSkillName` gives a skill its command name: the directory or `name`, the plugin
|
|
946
|
+
prefix (not doubled when `name` carries it, the plugin-root `SKILL.md` falls back to the plugin
|
|
947
|
+
directory), `anthropic-skills:` for a synced skill, and the characters a name can't hold
|
|
948
|
+
(refused outside a plugin, hyphens in a plugin skill folder); `readSkill` uses it.
|
|
949
|
+
|
|
950
|
+
#### agents
|
|
951
|
+
|
|
952
|
+
- `SavedWorkflow.description?`: the `meta.description`, always set by `scanSavedWorkflows`.
|
|
953
|
+
- `spawnRefusal(catalog, spawnTypes, subagentType)` (`./agents`): the refusal of one Agent call
|
|
954
|
+
whose type the caller's `tools` does not allow, worded as `resolveSubagentType` over
|
|
955
|
+
`spawnableAgents`. Types compare exactly; an omitted type is `general-purpose`.
|
|
956
|
+
- `modelFamily(model)` (`./agents`): the family alias a model ID embeds (`claude-opus-5-5` is
|
|
957
|
+
`opus`), read as an `availableModels` family entry reads it, for `resolveSubagentModel`'s
|
|
958
|
+
`mainFamily`. The allowlist and the family share one reading (`format/model-id.ts`).
|
|
959
|
+
- A plugin's default `agent` (its `settings.json`, plugins/components.md, "Default settings") runs
|
|
960
|
+
as the session's main agent: `session.selectAgent({ flag }, overrides?)` takes the `agent` of the
|
|
961
|
+
session's settings, else the default of the plugin loaded last that sets one, found by the same
|
|
962
|
+
lookup (`--agent` over the setting over the plugin default; a user agent of the exact name wins
|
|
963
|
+
over the plugin's own), and says `from: 'flag' | 'setting' | 'plugin'` with `plugin` (the id).
|
|
964
|
+
`session.pluginDefaults(): PluginDefaults<DefaultsPlugin>` and
|
|
965
|
+
`session.subagentStatusLine(facts?): SubagentLineRead<DefaultsPlugin>` (a settings source's
|
|
966
|
+
`subagentStatusLine`, else the plugin default with its owner, under the trust and hook gates; a
|
|
967
|
+
plugin value never runs under `allowManagedHooksOnly`). `readSubagentStatusLine`,
|
|
968
|
+
`pluginDefaultsOf`, `valueWithPluginDefaults` and types `PluginDefaults`, `PluginWithDefaults`,
|
|
969
|
+
`SettingWithDefault`, `SubagentLineRead` (`./settings`); `AgentSetting`, `SessionAgentSource`
|
|
970
|
+
(`./agents`); `DefaultsPlugin`, `SessionPluginDefaults` (root).
|
|
971
|
+
- Types `PluginSource` (`{ kind: 'plugin'; pluginId }`) and `FolderSource<S>` (`{ kind: 'folder';
|
|
972
|
+
scope }`) (root, `./format`): the one source shape of skills and agents; `SkillSource` is built
|
|
973
|
+
from them.
|
|
974
|
+
- `catalogTier(source): CatalogTier` and types `CatalogTier` (`AgentSource | 'builtin'`) and
|
|
975
|
+
`AgentFolderScope` (`./agents`); `catalogAgentOf(record, pluginId?)` takes the host's plugin id.
|
|
976
|
+
- `selectSessionAgent` and `session.selectAgent` give `candidates: readonly CatalogAgent[]` with a
|
|
977
|
+
failure: the agents an ambiguous bare name could mean, scoped names in code-unit order (none for
|
|
978
|
+
an unknown name).
|
|
979
|
+
- `session.agents({ overrides })`: the `AgentOverrides` of `agentCatalog(overrides)`, so agents a
|
|
980
|
+
host registers at run time (the `--agents` flag, the SDK `agents` option) resolve with the rest.
|
|
981
|
+
- `session.preloadSkills(definition, { signal })` returns `{ preloaded, skipped }`: a subagent's
|
|
982
|
+
preloaded skills found by every name, as `expandSkill` finds them.
|
|
983
|
+
- Sub-agents: the catalog. `scanAgents` reads the `.claude/agents/` folders of the managed directory, the
|
|
984
|
+
project and its parents, the added directories and `~` through `FolderScan`, skipping the files Claude
|
|
985
|
+
Code skips; `readFlagAgents` reads the `--agents` JSON; `builtinAgents` lists Explore, Plan, general-purpose
|
|
986
|
+
and the other built-ins with the switches that remove them; `resolveAgents` picks one definition per name
|
|
987
|
+
by the documented priority and applies `Agent(name)` deny rules; `resolveSubagentType`, `spawnableAgents`
|
|
988
|
+
(the `Agent(types)` allowlist), `spawnDepthLimit`/`nestingAt`, `namedSubagent`, `agentMentions`,
|
|
989
|
+
`selectSessionAgent` and `resumeSessionAgent` decide who runs, who may spawn whom and how a subagent is
|
|
990
|
+
named. A session gets `reloadAgents`, `agentCatalog`, `SessionOptions.agents` and `permissionRules`, and
|
|
991
|
+
`session.agents()` now lists every subagent (with `source`; `builtin: false` leaves the built-ins out).
|
|
992
|
+
The working-directory-to-repository-root rule is shared with the skills scan (`foundation/project-directories`).
|
|
993
|
+
- Workflows: `readWorkflowMeta` and `rewriteWorkflowMeta` read and rewrite the literal `meta` block of a
|
|
994
|
+
saved script without running it, `inspectWorkflowScript` reports the `phases` the body does not use,
|
|
995
|
+
`Date.now()`, `Math.random()`, a no-argument `new Date()` and `import()`; `Plugin.workflows` holds the
|
|
996
|
+
read `meta` and runs as `/<plugin>:<meta.name>`. Pure run decisions in `agents/workflow`: the six-attempt
|
|
997
|
+
stall policy and its three errors, the 1,000-agent and 4,096-item caps, concurrency, which agents run
|
|
998
|
+
again on a relaunch, leaving the session and `nothing to resume`, the usage-limit wait, the `args`
|
|
999
|
+
global, and where a script is saved and which `/<name>` runs (`scanSavedWorkflows` over `FolderScan`).
|
|
1000
|
+
- `planPreloadedSkills`, `resolveAgentMcpServers` and `planAgentMemory`: what a subagent starts
|
|
1001
|
+
with beyond its prompt. The `skills` field preloads the first 32 distinct names, skipping a
|
|
1002
|
+
missing or disabled skill and one with `disable-model-invocation: true`; `mcpServers` splits
|
|
1003
|
+
references from inline definitions, ignores the field for a plugin agent, skips the inline
|
|
1004
|
+
servers of a project or `--add-dir` agent file until its folder is trusted and any server the
|
|
1005
|
+
host's `McpPolicy` blocks (`--strict-mcp-config` does not filter an `--agents` definition,
|
|
1006
|
+
managed restrictions always apply); `memory` plans the directory of its scope, none when auto
|
|
1007
|
+
memory is off, the first 200 lines or 25KB of `MEMORY.md` (`truncateMemoryIndex`) and the Read,
|
|
1008
|
+
Write and Edit tools to add.
|
|
1009
|
+
- `resolveSubagentModel` and `resolveSubagentEffort`: the model a subagent runs on (invocation
|
|
1010
|
+
parameter, then the definition with `inherit`, then `CLAUDE_CODE_SUBAGENT_MODEL`, then the main
|
|
1011
|
+
model; a family alias of the main model's family resolves to its exact model; the FORCE variable)
|
|
1012
|
+
and its effort (`CLAUDE_CODE_EFFORT_LEVEL`, then the invocation, then the field, then the session
|
|
1013
|
+
level only on the main model). `effectiveAutoCompactWindow` (the variable wins, the field only
|
|
1014
|
+
lowers, none for a main-session agent), `turnLimitOutcome` (`maxTurns` marks the output partial),
|
|
1015
|
+
`effectiveCacheTtl` (`experimental.cacheTtl`, `1h` ignored while on usage credits),
|
|
1016
|
+
`runsInBackground`, `claudeMdScopes` (`omitClaudeMd`), `worktreeDisposition` (`isolation`) and
|
|
1017
|
+
`mainSessionFirstTurn` (`initialPrompt`).
|
|
1018
|
+
- `resolveSubagentPermissionMode`: the mode a subagent runs in from its `permissionMode` and the
|
|
1019
|
+
main conversation's (a main `bypassPermissions`, `acceptEdits` or `auto` forces its mode, `plan`
|
|
1020
|
+
is held and `dontAsk` then denies instead of asking, under `default` or `dontAsk` the set mode
|
|
1021
|
+
applies except `bypassPermissions` and an unavailable `auto`, `manual` is `default`, unset
|
|
1022
|
+
inherits); `PERMISSION_MODE_TRAITS` and `baselineDecision` for what each mode runs without asking
|
|
1023
|
+
(`allow`, `ask`, `deny` or `classify`), typed over the official `PermissionMode` union.
|
|
1024
|
+
- `resolveSubagentTools`: the tools a subagent gets from `tools` and `disallowedTools` (inherit
|
|
1025
|
+
when omitted, `disallowedTools` first, a specifier removes the whole tool, `mcp__server`
|
|
1026
|
+
entries including servers whose name holds `__`, the always-removed list with `ExitPlanMode` kept
|
|
1027
|
+
for `plan`, the background built-in set, forks unfiltered, the `Agent(worker, researcher)`
|
|
1028
|
+
allowlist for the main thread with `Task(...)` as an alias) and the documented zero-tools
|
|
1029
|
+
refusal (`ToolRefusal`); `parseToolEntry` and `toolEntryMatches` for single entries.
|
|
1030
|
+
- Agent frontmatter fields in `readAgent`: `model`, `effort`, `maxTurns`, `autoCompactWindow` (a
|
|
1031
|
+
string such as `200k` reads as 200 and is dropped with `invalid autoCompactWindow`),
|
|
1032
|
+
`background`, `omitClaudeMd`, `isolation`, `color`, `initialPrompt` and `experimental.cacheTtl`,
|
|
1033
|
+
through a field registry typed over the 19 documented names (`AGENT_FIELDS`,
|
|
1034
|
+
`AGENT_FIELD_NAMES`) with the plugin supported and ignored lists (`PLUGIN_IGNORED_FIELDS`); a
|
|
1035
|
+
plugin agent reports the fields it ignores in `ignored`; fields Claude Code does not recognize
|
|
1036
|
+
are named with a likely intended name in `unrecognized`.
|
|
1037
|
+
- `readAgent` for agent files (`name` and `description`): the files Claude Code skips (no name is
|
|
1038
|
+
documentation, a bad name, no description or YAML that does not parse), the plugin fallbacks
|
|
1039
|
+
(file name, `Agent from <plugin> plugin`), `<plugin>:<subfolder>:<name>` scoped names
|
|
1040
|
+
(`scopedAgentName`), the name rules (`validAgentName`) and the `agent_type` hooks receive
|
|
1041
|
+
(`hookAgentType`).
|
|
1042
|
+
|
|
1043
|
+
#### marketplace
|
|
1044
|
+
|
|
1045
|
+
- `DependencyIssue.dependency` (the declared `name@marketplace` or `name`) and
|
|
1046
|
+
`DependencyIssue.cause` (`DependencyCause`: `'missing' | 'disabled' | 'out-of-range'`, new): a
|
|
1047
|
+
host that adds its own install hint reads the facts instead of parsing the message. The message
|
|
1048
|
+
stays `Dependency "<dep>" is not installed` with no `claude plugin install` suffix (judgment).
|
|
1049
|
+
- `catalogDependencies(entry, marketplace, manifest)`, `CatalogPlugin.manifestUnread` and
|
|
1050
|
+
`InstallPlan.needs`: an install plan over a catalog whose remote plugins' `plugin.json` is not
|
|
1051
|
+
fetched yet names the plugins to fetch; a host fetches them and plans again until `needs` is empty,
|
|
1052
|
+
which gives the plan of the whole catalog (judgment `installNeeds`). `ok` is false while `needs`
|
|
1053
|
+
is not empty.
|
|
1054
|
+
- `OFFICIAL_BUT_OFF` and `isOfficialButOff(name)` (`format/marketplace`): the one list of official
|
|
1055
|
+
marketplaces whose auto-update default is off, read by the registry's plan and the update pass
|
|
1056
|
+
(two copies before).
|
|
1057
|
+
- Marketplaces:
|
|
1058
|
+
- `Registration.autoUpdateFrom` (`SettingsFile`) names the settings file that set `autoUpdate`.
|
|
1059
|
+
- `installsAt(records, { projectPath?, platform })` gives the install records that apply in one
|
|
1060
|
+
directory.
|
|
1061
|
+
- `precheckUpdate(subject, installed)` is the update check before a fetch: `loaded in place`,
|
|
1062
|
+
`isUpdate` over a claude.ai record, else `fetch`.
|
|
1063
|
+
- `fetchMarketplaceFile(plan, { http }, { signal, headers? })` runs an `http-file` plan.
|
|
1064
|
+
- `readMarketplaceText` and `readMarketplaceDirectory` (with `MARKETPLACE_FILE`) read a
|
|
1065
|
+
catalog.
|
|
1066
|
+
- `MarketplaceMetadata.extra` keeps unknown `metadata` keys.
|
|
1067
|
+
- The archive download and the marketplace file download now share one redirect loop
|
|
1068
|
+
(`src/marketplace/http-download.ts`).
|
|
1069
|
+
- The `headersHelper` runner doc now says the configuration directory must exist first (oracle
|
|
1070
|
+
2.1.322).
|
|
1071
|
+
- `usableVersion`, `winningScope`, `effectiveEnabled`, `isEnabled` and `UpdateVerdict`
|
|
1072
|
+
(`./marketplace`); `InstalledRecord.defaultEnabled` and `CatalogPlugin.defaultEnabled`;
|
|
1073
|
+
`EnabledEntry` (`./cli`).
|
|
1074
|
+
- `pluginDirDependencyIssues(plugins)` (`./marketplace`): the `--plugin-dir` plugins of a session
|
|
1075
|
+
that do not load because a dependency is not among them, a chain included; the example agent
|
|
1076
|
+
skips them and loads a folder of plugins as `--plugin-dir` does.
|
|
1077
|
+
- Export `rangesOverlap(ranges)`: whether any version satisfies every range, so a host does not fetch a dependency at a combined range no version meets, and `combineRanges` reports the conflict.
|
|
1078
|
+
- The install and cache lifecycle: `decideInstallMode` (in place, copied or linked, and the printed
|
|
1079
|
+
directory refusals), `planTreeCopy` (the symlink rule of a cache copy), `escapedPathIssue`,
|
|
1080
|
+
`planInstallStart` and `planInstallFinish` (fetch plan, cache folder, record change, orphaned
|
|
1081
|
+
version folders), the troubleshooting messages of a failed install (`install-failures`),
|
|
1082
|
+
`commitStagedPlugin`, `selectUninstall` (the Windows spelling rule), `readLfsPointer`, the
|
|
1083
|
+
session-only plugins (`readPluginDirectory`, `fetchSessionArchives`, `folderChanges`, `@inline`,
|
|
1084
|
+
`@skills-dir`) and the install commands per surface (`planInstallCommand`, `installSummary`).
|
|
1085
|
+
Ports: `ArchiveReader.scan` lists a zip's entries (the kit derives the totals and checks the paths
|
|
1086
|
+
and links itself, so `ArchiveReader.stats` is gone), `SourceFetcher` may return a staged directory,
|
|
1087
|
+
and the new `StagedDirectory` port moves it into the cache. Git fetch plans carry
|
|
1088
|
+
`lfs: 'pointer-files'`; an npm `package` refusal and an archive digest mismatch are the
|
|
1089
|
+
documented messages.
|
|
1090
|
+
- Plugin versions and names: `resolvePluginVersion` (manifest, entry, then the source's commit,
|
|
1091
|
+
digest or `unknown`; command sources hashed, the entry's version ignored), `copyModeHash`,
|
|
1092
|
+
`linkModeHash`, `subdirectoryPathHash`, `unknownVersionSteps`, `pluginNames`, `lookupPlugin`,
|
|
1093
|
+
`folderCollisions` and `listingFields`, with the strict-mode and display-field merge rules proven.
|
|
1094
|
+
- The Node.js package dependencies of a plugin: `planNodeDepsInstall` (a copied plugin with a
|
|
1095
|
+
`package.json` and `bun.lock`, `npm-shrinkwrap.json` or `package-lock.json` gets a frozen,
|
|
1096
|
+
script-free install in a separate folder under a 60-second timeout; in-place and link-mode plugins,
|
|
1097
|
+
unsupported or unreadable lockfiles, a missing package manager, overrides, patches, non-registry
|
|
1098
|
+
dependencies, `http` downloads and a `package.json` that differs from the lockfile skip it),
|
|
1099
|
+
`nodeDepsRun`, `readLockfile`, `readPackageJson`, `nodeDepsNote` (the `are not installed` and
|
|
1100
|
+
`were not installed, because ...` notes, a warning: the plugin loads), `installOutcome` and the
|
|
1101
|
+
registry-only rule (`classifySpecifier`, `dependencyRefusal`, `downloadLinkRefusal`) that the npm
|
|
1102
|
+
source's `package` check now shares.
|
|
1103
|
+
- Marketplace dependencies: a pure dependency graph over plain facts. `installClosure` plans the
|
|
1104
|
+
transitive install of a plugin's dependencies (dependencies first, each step with who asked, every
|
|
1105
|
+
range, what the ranges resolve against and the shown `2.1.0-8713c5b11005` version; cycles end, a
|
|
1106
|
+
diamond combines its ranges, a conflict or an allowlist refusal installs nothing, a `command`
|
|
1107
|
+
source and a `headersHelper` entry are left to the user); `enablePlan` (missing, policy-blocked and
|
|
1108
|
+
higher-scope `false` dependencies), `disableDecision` (the dependents to disable first and the
|
|
1109
|
+
chained command), `orphanedAutoInstalled`, `planPrune` and `planUninstall` (`--prune`, the range
|
|
1110
|
+
released with the last constraining plugin); `checkDeclaredDependency` for the
|
|
1111
|
+
`--plugin-dir` copy. The dependencies guide is now proven section by section.
|
|
1112
|
+
- Updates: a new `updates` module with the refresh before an install (`refreshBeforeInstall`: named
|
|
1113
|
+
and bare references, the five skips, the managed block that also refuses the install,
|
|
1114
|
+
`refreshFailed`), the auto-update precedence (`marketplaceAutoUpdate`, `autoUpdatePassAllowed`,
|
|
1115
|
+
`toggleDecision`, the plugins a pass skips, the first-pass delay on the `Clock`), the background
|
|
1116
|
+
check of a private marketplace, the re-runs of a `command` source and the Errors-tab entry of a
|
|
1117
|
+
changed command (`commandSourceRuns`, `afterCommandRun`), `Update plugins now` (`planUpdate`) and
|
|
1118
|
+
the version policy of Claude Code (`readVersionPolicy`, `pickAllowedVersion`, `startGate`,
|
|
1119
|
+
`channelSwitch`: `autoUpdatesChannel`, `minimumVersion`, `requiredMinimumVersion`,
|
|
1120
|
+
`requiredMaximumVersion`). `scripts/check-layers.ts` gives the module its layer.
|
|
1121
|
+
- The version of a plugin as Claude Code computes it (`resolvePluginVersion`: manifest,
|
|
1122
|
+
then entry, then the source type's default, a command source from its hash), when a new copy is
|
|
1123
|
+
made (`isUpdate`, `checkForUpdate`, `loadsInPlace`: only a differing version, never for a plugin
|
|
1124
|
+
loaded in place, the claude.ai-recorded version for a synced plugin) and the check of a
|
|
1125
|
+
release-channel pair (`checkReleaseChannels`). The renames migration, `forceRemoveDeletedPlugins`,
|
|
1126
|
+
release tags and the `ref`/`sha`/`#ref` hold on a version are now proven against the pages that
|
|
1127
|
+
describe them (plugins/host-marketplace.md, plugins/publish.md, plugins/org.md).
|
|
1128
|
+
- Install records: the state Claude Code keeps under the plugins root, and the texts it prints about it
|
|
1129
|
+
(plugins/loading.md, plugins/troubleshooting.md, plugins/install.md, plugins/cli-reference.md).
|
|
1130
|
+
`createStoreLayout` and `resolvePluginsRoot` name every path (`cache/<marketplace>/<plugin>/<version>`,
|
|
1131
|
+
`data/<id>`, `marketplaces/<name>`, `synced/`, `.trash/`, the JSON records, the dated copies);
|
|
1132
|
+
`parseInstalledPlugins` reads `installed_plugins.json` and decides what is rebuilt, set aside or
|
|
1133
|
+
left unwritten, `loadInstalledPlugins` carries it out through the new `PluginStateStore` port;
|
|
1134
|
+
`parseKnownMarketplaces` reads `known_marketplaces.json` (a source is `kind: 'directory'` or
|
|
1135
|
+
`'file'`, never `local`) with `installLocationFor` and `sameMarketplaceSource`; `stageReport` says
|
|
1136
|
+
how far a plugin got (declared, fetched, loaded) and `planMarketplaceStartup` what happens to
|
|
1137
|
+
marketplaces missing on disk at the start; `decideEnabledFetch` and `overriddenUserDisable` answer
|
|
1138
|
+
"enabled in project settings but not installed" and "disabled but still loads"; the exact
|
|
1139
|
+
troubleshooting texts (`pluginNotFound`, `notCached`, `ignoredLine`, `failedToInstall`,
|
|
1140
|
+
`refuseForUnreadableRecords`, ...); plans for the panel, marketplaces, plugins with dependencies
|
|
1141
|
+
(`planInstall`, `planEnable`, `planDisable`, `planUninstall`, `planPrune`), scopes (`scopeReach`,
|
|
1142
|
+
`defaultScope`), `/reload-plugins` (`reloadSummary`, `reloadGate`) and the 14-day orphan sweep
|
|
1143
|
+
(`orphanSweep`). Pure decisions; effects only through ports.
|
|
1144
|
+
|
|
1145
|
+
#### mods
|
|
1146
|
+
|
|
1147
|
+
- `MOD_SCAN_ISSUE_CODES`, `ModScanIssue`, `ModScanIssueCode`: every `ModScan.issues` item has a
|
|
1148
|
+
stable `code` (judgment `scanIssueCodes`), so a host need not match the message.
|
|
1149
|
+
- `commandRunEnd(registeredBy, command, host)`: the one end of `command.run` for both doors
|
|
1150
|
+
(`ModsHost.runCommand` and `$.command.run`). A command a mod registered that no hook answered ends
|
|
1151
|
+
in `unansweredCommandReply` and never reaches the `commands.run` port, so a host port that
|
|
1152
|
+
dispatches back into `runCommand` can no longer run it twice (judgment `modCommandEnd`). The
|
|
1153
|
+
`ModCommands.run` doc states the contract: the command's body only.
|
|
1154
|
+
- `ModsHost.endSession(reason, options?)` fires `session.end` with `sessionId` and `resume: { id }`
|
|
1155
|
+
from the session port's id (declarations 2.1.321, :12106; `sessionEndResume`). `SessionEndReason`.
|
|
1156
|
+
- `command.run` carries `origin` and `presentation` (`CommandPresentation`, `commandPresentation`,
|
|
1157
|
+
`ModsApiOptions.presentation`); `ModsHost.runCommand(command, args, options)` takes
|
|
1158
|
+
`RunCommandOptions` (`FireOptions` and `origin?: CommandOrigin`, default `{ kind: 'unclassified' }`).
|
|
1159
|
+
The D9 difference `command.run`'s `presentation` is gone (`commandRunPins`).
|
|
1160
|
+
- `$.command.list()` rows carry `source` and `plugin` (`CommandListing`, `CommandSource`); the
|
|
1161
|
+
optional port `commands.list()` gives the host's own commands, listed first.
|
|
1162
|
+
- `$.ui.panes()` rows carry `isShown` and `isFocused`; `ModInterface.shownPane()` and
|
|
1163
|
+
`focusedPane()` (optional) say which (`panesShown`).
|
|
1164
|
+
- JSX takes `key` on every tag; an element whose props declare none drops it (`jsxKey`).
|
|
1165
|
+
- `$.http.fetch` `init.auth` and `init.socketPath`, passed as `FetchRequest.auth` and
|
|
1166
|
+
`FetchRequest.socketPath`; a relative `socketPath` or one with NUL is refused; `compress` changes
|
|
1167
|
+
nothing and a `{ base64 }` body stays refused (`httpInit`).
|
|
1168
|
+
- The members of `$` and the engine event the declarations add over the reference page (2.1.321,
|
|
1169
|
+
spec/judgments.md D1, settled): `$.prompt.paint(request)` fires `prompt.paint` and answers
|
|
1170
|
+
`{ isPainted, text, cursor }`; `$.prompt.media({ id, offset? })` fires no event and answers the
|
|
1171
|
+
slice, `{ unreadable }` or `{ deny }`; `$.session.surface()` is the first of `surfaces()` or
|
|
1172
|
+
`null`; `$.session.identity()` fires `session.identity` for a mod of managed settings (tier
|
|
1173
|
+
`prepend` or `append`) and answers `{ deny }` to any other; `$.ui.cancelNotify(key)` fires
|
|
1174
|
+
`ui.cancelNotify { key }` and answers `{ isSent }`; the engine event `prompt.change`
|
|
1175
|
+
(`{ text, cursor, origin }`, answered `{ text }`, observe only). New optional ports with declared
|
|
1176
|
+
defaults (`ModOptionalPorts`): `account` (`identity()`, default `{ kind: 'none', isVerified:
|
|
1177
|
+
false }`), `promptBox` (`paint(request, plugin)`, default nothing painted; `media(request,
|
|
1178
|
+
plugin)`, default `{ deny }`) and `notifications` (`cancel(key, plugin)`, default `{ isSent:
|
|
1179
|
+
false }`); types `SessionIdentity`, `ModAccount`, `PromptPainted`, `PromptMedia`, `ModPromptBox`,
|
|
1180
|
+
`ModNotifications`. New names: `DECLARED_API_MEMBERS`, `MODS_API_REFERENCE`,
|
|
1181
|
+
`DECLARED_EVENT_NAMES`, `ENGINE_EVENT_NAMES`, `DeclaredEventName`, `EngineEventName`.
|
|
1182
|
+
- `ModsHost.registered` (`ModsRegistered`): what mods registered, as a host reads it:
|
|
1183
|
+
`commands()`, `tools()`, `agents()` (frozen copies), `command(name)`, `tool(fullName)`,
|
|
1184
|
+
`agent(name)` and `onChange(listener)` → stop, told `'commands'`, `'tools'` or `'agents'` after
|
|
1185
|
+
each change. Also `registeredView(registries)`, `RegisteredKind`, and `ModRegistries.onChange`.
|
|
1186
|
+
- The scan reads a `Client` written in JSX, `h(Client, { module })` (claude-code/index.d.ts:16450:
|
|
1187
|
+
JSX compiles to bare `h(...)` calls), as `Client({ module })`, spans included.
|
|
1188
|
+
- The scan accepts every ES form that exports a top-level function of the entry as `register`:
|
|
1189
|
+
`export { register }`, `export { draw as register }`, `export { draw as 'register' }` (what a
|
|
1190
|
+
bundler emits), before or after the function, beside `export function` and `export const`.
|
|
1191
|
+
- `./mods/elements` and `./mods/isolate` export `UI_SURFACES` and `UiSurface`; `./mods/isolate`
|
|
1192
|
+
re-exports every name of `./mods/elements`.
|
|
1193
|
+
- `./mods/isolate` also exports `elementFn(name)` and `elementNameOf(value)` (the element
|
|
1194
|
+
constructors, one shared function per element, and the name of one), `h(tag, props, ...children)`
|
|
1195
|
+
and `Fragment` (a column `Box`, claude-code/index.d.ts:16469) for JSX, `matchesEvent(matcher, e)`
|
|
1196
|
+
and `acceptsField` (a hook's matcher, as the chain tests it), `isHookBody`, `deepFreeze`,
|
|
1197
|
+
`frozenCopy` and `plainDataProblem`; the same names are in `./mods`, and the import-walk test still
|
|
1198
|
+
shows nothing under the entry imports a `node:` or `bun` module or a package. Proven in
|
|
1199
|
+
tests/mods/ui/jsx.test.ts, tests/mods/chain/match-local.test.ts and tests/entry/mod-isolate.test.ts.
|
|
1200
|
+
- `ModScan.surfaceModuleSpans`: `{ module, start, end }` per surface module a `Client` names, the
|
|
1201
|
+
offsets of its string literal (quotes included) in the hooks module, so a host can rewrite the
|
|
1202
|
+
path where it bundles. `surfaceModules` is unchanged. Proven in tests/mods/load/scan-client.test.ts.
|
|
1203
|
+
- `createModsHost` takes `ModHostPortsInput`: the ports by group (`ModPlatformPorts`,
|
|
1204
|
+
`ModSessionPorts`, `ModOptionalPorts`), with `mcp`, `audio`, `theme` and `telemetry` optional. A
|
|
1205
|
+
missing one answers as the declarations say where the capability is missing
|
|
1206
|
+
(`OPTIONAL_PORT_DEFAULTS`, `withDefaultPorts`). `ModHostPorts` is the full set, as before. Proven in
|
|
1207
|
+
tests/mods/api/optional-ports.test.ts.
|
|
1208
|
+
- `ApiMember.ownTime` (`describeApi`) and the export `OWN_TIME_CALLS`: `$.clock.sleep` is the one
|
|
1209
|
+
call whose time counts against the calling hook's budget (claude-code/index.d.ts:3641, :6589), for
|
|
1210
|
+
a host that routes calls from another realm through `HookCall.api`.
|
|
1211
|
+
- `next.event`, `next.is(pattern, e)` and `next.trace` (`TraceEntry`, `TraceOutcome`), as declared;
|
|
1212
|
+
`HookCall.name` and `HookCall.trace()`; `selects`, `SKIP_TIERS`.
|
|
1213
|
+
- `TIERS` and `INSTRUCTION_FILE_KINDS` in `claude-code` (`STATE_LIBRARY_SOURCE`, `./mods/isolate`).
|
|
1214
|
+
- `describe(name, body)` in `claude-code/testing`; titles join with ` > `.
|
|
1215
|
+
- `Text` takes `dir` (`ltr`, `rtl`).
|
|
1216
|
+
- `StateListener`: `createStateStore` listeners get the member `id`; a family member's write redraws
|
|
1217
|
+
only what read that member.
|
|
1218
|
+
- `splitHandlers` and `joinHandlers`: a drawn tree as JSON with its controls' callbacks apart by
|
|
1219
|
+
key, and back.
|
|
1220
|
+
- `ModScan.surfaceModules`: the surface modules a hooks module's `Client` elements name, read off
|
|
1221
|
+
the source as Claude Code 2.1.322 reads them (a string literal, relative, inside the plugin);
|
|
1222
|
+
`validateMod` prints them and fails a missing one.
|
|
1223
|
+
- `@rsaryev/llx-plugin/mods/isolate`: the `$.state` helpers, `STATE_LIBRARY_SOURCE` and the
|
|
1224
|
+
element checks for code inside an isolate, with no `node:`, `bun` or package import below it.
|
|
1225
|
+
- `./mods/elements`: the element table of mods and the checks of a drawn tree, a leaf for a UI
|
|
1226
|
+
process (no host, no port, no `node:` import); the same names stay in `./mods`.
|
|
1227
|
+
- `EVENT_RULES`, `API_RULES`, `uiRules`, `REGISTER_RULES`, `EventRule` and `EventRuleBook` (`./mods`).
|
|
1228
|
+
- `ModsHostOptions.fetchPolicy` and `ModsApiOptions.fetchPolicy` (`FetchPolicyFacts`): `$.http.fetch`
|
|
1229
|
+
follows the organization's WebFetch policy and `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`.
|
|
1230
|
+
- The mobile app is a mods surface: `UI_SURFACES` holds `mobile` and the `Backdrop` site is raised
|
|
1231
|
+
in it (`backdropRender(backdrop, 'mobile')`, `e.surface` `mobile`). It draws what the Desktop app
|
|
1232
|
+
draws: `ELEMENT_COLUMN_OF` maps each surface to its column of the elements table (judgment).
|
|
1233
|
+
- `$.theme.set({ backdrop: { id, colorScheme?, glass? } })` and `$.theme.clear()`, and the
|
|
1234
|
+
`Backdrop` render site: the session holds one backdrop whichever mod set it
|
|
1235
|
+
(`ModRegistries.backdrop`), the host says whether an app draws it and hears each change (the
|
|
1236
|
+
`theme` port, `ModTheme`), and `backdropRender` builds the site's event (`requestId` `backdrop`).
|
|
1237
|
+
- `breakPromptCache`: `prompt.section` and `tool.describe` answers carry it, `$.ui.invalidate` takes
|
|
1238
|
+
`'prompt.section'` and `'tool.describe'` (the host runs those hooks again through
|
|
1239
|
+
`ModInterface.rerun`), and `nextTurnText` says what Claude reads on the next turn and whether the
|
|
1240
|
+
prompt cache starts over.
|
|
1241
|
+
- `$.ui.place({ id })` and the `Placed` render site: the kit keeps each mod's rows (500 at most),
|
|
1242
|
+
resolves `{ isPlaced: true, requestId }` or `{ isPlaced: false, reason }`, and the host says
|
|
1243
|
+
whether it draws placed rows (`ModInterface.drawsPlacedRows`) and when rows go away
|
|
1244
|
+
(`ModsUi.placed.rewind`, `compact`, `end`). `$.ui.view(view)` passes to the host's
|
|
1245
|
+
`ModInterface.view`.
|
|
1246
|
+
- Mods chain for a host that keeps one chain for many mods: `ModPluginInfo.position` (where a mod runs among the mods of its tier, whenever it registered), `DispatchOptions.only` takes a set of mod names, `ModChain.hears(event, only?)` says whether a mod has a hook for an event, and `DispatchOptions.trace` reports the hooks of a dispatch and what each did (`DispatchTrace`, `HookStep`), so a host registers each mod once and scopes an event to the mods of a project instead of building a chain for every event.
|
|
1247
|
+
- `STATE_LIBRARY_SOURCE` is the JavaScript text of `atom`, `read` and `update` for a host that bundles them into an isolate; `atom` now returns a frozen value. `contextUsage({ tokens, window })` builds the `context` of `$.session.usage()` and `session.measure`.
|
|
1248
|
+
- `settleModApi` and `runScopedModCall` share the built-in API's namespace lending and turn-start
|
|
1249
|
+
admission with hosts supplying their own API adapters; no second engine-create policy is needed.
|
|
1250
|
+
- Enforce managed hook protection in the chain before user matchers/callbacks, retain original
|
|
1251
|
+
metadata across trusted rewrites, and expose the documented per-mod guarded-hook notes.
|
|
1252
|
+
Built-in and organization tiers keep access. Add lifecycle and readonly-origin regressions.
|
|
1253
|
+
- Supply the canonical, fail-closed settings merge by default to the mods settings bridge.
|
|
1254
|
+
Add full-artifact agent skill preloads, output-style system-prompt parts, LSP process preflight
|
|
1255
|
+
plans and debug-only empty-command-directory diagnostics.
|
|
1256
|
+
- Mods, `describeApi` and the guide of the mods API (reference.md, overview.md, interface.md, api.md).
|
|
1257
|
+
`describeApi(api)` describes a mod's `$` as plain data (namespace, member, kind, whether it answers
|
|
1258
|
+
later, the event a call fires) so a host that runs mods in another realm can rebuild it.
|
|
1259
|
+
`ModsHost.resetState()` resets every `$.state` value for `/clear`, `/resume` and `/branch` and redraws
|
|
1260
|
+
what read them; `ModsHost.input.notice(kind, deliver)` holds a subagent's finish notice and the notice
|
|
1261
|
+
that a monitor ended until the user's next input and drops a monitor's events while the session is
|
|
1262
|
+
stopped. A `$.store.set` or `delete` no longer loses a write of another session that was in flight: the
|
|
1263
|
+
changes of one plugin's store go one at a time. Tests prove the "Mods API calls" rule on the
|
|
1264
|
+
reference's own examples, the six things a mod can reach, the `$.state` declaration, manifest `types`
|
|
1265
|
+
field, atom rules, the load again after `/clear` of test.md, and the store sharing of interface.md.
|
|
1266
|
+
- Mods, crash behaviour and refused calls (troubleshoot.md, api.md). `ModRuntime.onCrash` lets a
|
|
1267
|
+
runtime that shares one worker tell the host the worker stopped: the mod it traced the stop to is
|
|
1268
|
+
unloaded (`<mod> was unloaded: it crashed the hooks worker`), the others get a fresh copy of their
|
|
1269
|
+
module, and the third stop that cannot be traced unloads every mod that is not built in
|
|
1270
|
+
(`hooks: mods that run in the hooks worker are off for this session: it crashed 3 times`;
|
|
1271
|
+
`reload()` turns them back on). The `$.prompt.submit`, `$.command.run` and `$.agent.spawn` calls a
|
|
1272
|
+
fresh copy's `session.start` repeats resolve with the first copy's result and are not made again,
|
|
1273
|
+
with the line `its session.start ran again in a fresh copy`. A registration from a module that is
|
|
1274
|
+
no longer loaded rejects (`$.agent.register refused: the hooks module that made the call is no
|
|
1275
|
+
longer loaded`). `createRunGate` and `ModsHost.input` model the session's input (`interrupt`,
|
|
1276
|
+
`userInput`, `endInput`, `--max-turns`, `--max-budget-usd`): refused calls return what the page's
|
|
1277
|
+
table says, and a prompt or command still queued when the user stops the turn is dropped.
|
|
1278
|
+
`ModsHostOptions.onNotice` receives the lines that come outside a call to the host.
|
|
1279
|
+
- Mods, per-mod load and unload, and where mods run. `createModsHost` keys a mod by its name: `load`
|
|
1280
|
+
of a plugin already loaded replaces it and no longer adds a second copy. New `loadMod(plugin)` loads
|
|
1281
|
+
one plugin among the loaded ones (tier from policy, last in its tier, a note when the policy would
|
|
1282
|
+
have put it earlier, the built-in guard first when policy needs it) and `unloadMod(name)` turns one
|
|
1283
|
+
off (idempotent, drops the mod from the approval ledger and the refusal book, and `reload` does not
|
|
1284
|
+
bring it back). `ModLoadReport.notices` carries the lines a person reads with where each is read
|
|
1285
|
+
(`modLineChannel`: transcript, stderr of `claude -p --plugin-dir`, debug log; a refusal by another
|
|
1286
|
+
mod in the debug log of a `claude -p` run and in the transcript of an interactive session that
|
|
1287
|
+
loads a plugin directory or hot-reloads; `hotReload` is a getter, read on every line). `whereModsRun` gives overview.md's table (hooks and drawing per place,
|
|
1288
|
+
the VS Code versions) and `decideModLoad` refuses an installed plugin in a WSL session of the Desktop
|
|
1289
|
+
app and, in the cloud, one that does not reach the session; `modsVersionProblem` names the first
|
|
1290
|
+
versions that load mods. `writtenModRefusal` says why a mod Claude wrote cannot load,
|
|
1291
|
+
`createHotReloadGate` is the hot-reloading question (off after three unanswered), and `changeNotice`
|
|
1292
|
+
words the transcript line of a change that did not load. Tests for the 29 requirements of the
|
|
1293
|
+
overview, create and troubleshoot pages on loading, enabling, refusals and where mods run.
|
|
1294
|
+
- Mods, two seams of load. `ModCompiler.compile` returns `{ scan?, run?, issues }`: `scan` is an ES
|
|
1295
|
+
module the static scan reads (`claude plugin validate`, `plugin.register`'s `e.uses`), `run` is the
|
|
1296
|
+
code and format (`esm`, `cjs`, `iife`...) the host chose for its engine, which `ModRuntime.load` now
|
|
1297
|
+
receives with its `format`. A compiler whose run output is an ES module may return it alone; a CommonJS
|
|
1298
|
+
scan output is refused with a message that names both outputs. New `MatcherEngine` port
|
|
1299
|
+
(`createModChain({ matcherEngine, matcherMs })`, `createModsHost` likewise): the regular expressions of
|
|
1300
|
+
hook matchers are tested there, under a limit, instead of on the host thread, and a test the engine
|
|
1301
|
+
refuses or does not answer is no match plus a skipped-hook line. The lines of skipped hooks follow
|
|
1302
|
+
troubleshoot.md: the transcript or stderr gets the first of each mod, event and kind (`throw`,
|
|
1303
|
+
`timeout`, `wrong-shape`) until the mod reloads, the debug log gets every occurrence (`HookReport.kind`).
|
|
1304
|
+
A runtime or compiler that throws is a `hooks module did not load` line, a stack overflow the
|
|
1305
|
+
documented reason (`engineStackIssue`, `the engine ran out of stack linking the file and its imports`,
|
|
1306
|
+
`...loading the file (code nested too deep): <message>`), the parser's reason has no line number, and
|
|
1307
|
+
a `Client` error with no message is `the module failed without a message`. `DispatchOptions.before` is
|
|
1308
|
+
where the managed `PreToolUse` hooks run, ahead of the first mod. 19 requirements of the mods events,
|
|
1309
|
+
overview, create and troubleshoot pages are now proven (18: the linking reason is a judgment, see the
|
|
1310
|
+
review fixes).
|
|
1311
|
+
|
|
1312
|
+
#### host
|
|
1313
|
+
|
|
1314
|
+
- `docs/SECURITY.md`: where the kit is deliberately stricter than Claude Code (path variables in a
|
|
1315
|
+
`!` command, a plugin's `headersHelper` and a monitor `command`), with what Claude Code does, an
|
|
1316
|
+
input that shows the hole, the corpus cost and the `shellPaths: 'pasted'` option; the security
|
|
1317
|
+
fixes that are not deviations; and the risks the host owns (running hook commands, `$ARGUMENTS`
|
|
1318
|
+
and `${user_config.*}` in `!` commands, trust prompts, the ports). Linked from README.md and
|
|
1319
|
+
docs/API.md.
|
|
1320
|
+
- `pluginsWithDependencies(plugins)` (root entry): the load-time dependency verdict a session
|
|
1321
|
+
applies, as a pure function for a host that starts plugins outside a session. Each plugin is given
|
|
1322
|
+
as `{ id, plugin, enabled }`; back come `plugins` (`{ id, name, enabled }`, as `session.plugins`)
|
|
1323
|
+
with every plugin whose dependency is not installed, disabled or outside its range off,
|
|
1324
|
+
transitively, and `issues`, one `DependencyIssue` per such plugin under its id, carrying the
|
|
1325
|
+
`errorType` (`dependency-unsatisfied`, `dependency-version-unsatisfied`) to match on instead of
|
|
1326
|
+
the text. The host state calls the same `withDependencies`, so the two cannot disagree
|
|
1327
|
+
(tests/host/plugin-dependencies.test.ts compares them).
|
|
1328
|
+
- `SessionOptions.parentSession`: a subagent's session opened with its parent's shares the parent's
|
|
1329
|
+
monitor ledger (a plugin monitor "runs in the background for the whole session",
|
|
1330
|
+
components.md), so what the parent handed out is not started again, and a skill the subagent runs
|
|
1331
|
+
triggers its monitors once for both. A session the host did not open throws
|
|
1332
|
+
`parentSession: not a session this host opened`. Proven in tests/host/session-monitors.test.ts.
|
|
1333
|
+
- `availableTools` reads host tool names: `ToolSession.names` (a `HostToolNames`) is read the same
|
|
1334
|
+
way `resolveSubagentTools` reads `ToolPool.names`. A host tool goes when a bare deny removes any of
|
|
1335
|
+
its Claude Code names. `SessionOptions.toolNames` now says, and a test shows, that an MCP tool
|
|
1336
|
+
called by its `mcp__<server>__<tool>` name needs no entry, a per-run server included.
|
|
1337
|
+
- `mergeToolCheck` takes the verdict `{ tightenOnly }` in place of `{ mode }`, and
|
|
1338
|
+
`hookTightensOnly(mode)` gives it, for a host with no `PermissionMode` to hand.
|
|
1339
|
+
- A host tool may stand for several Claude Code tools, and a call's Claude Code name may depend on
|
|
1340
|
+
its input: `HostToolNames.toClaude` takes a list (`Search: ['Grep', 'Glob']`), and
|
|
1341
|
+
`HostToolNames.callName(hostTool, input)` names one call. `ToolNames` gains `claudeNames(hostTool)`,
|
|
1342
|
+
and `claudeName(hostTool, input?)` reads the input. Every consumer reads the call's name the same
|
|
1343
|
+
way: a dispatched event's `tool_name` (from `tool_input`), `checkTool`'s rules (from the input that
|
|
1344
|
+
runs), `resolveSubagentTools` (an entry naming any of the names grants the host tool, a
|
|
1345
|
+
`disallowedTools` entry naming any of them removes it), and the mods tool events through the new
|
|
1346
|
+
`ModToolFlow.names` (`tool.call`/`tool.check` and their matchers see the Claude Code name, the
|
|
1347
|
+
host's callbacks its own).
|
|
1348
|
+
- `session.monitorLedger()` and `SessionOptions.monitorLedger`: a session reopened over the same chat
|
|
1349
|
+
continues from the previous one's handed-out monitors and skill invocations, so nothing starts
|
|
1350
|
+
twice. `MonitorLedgerState` is exported.
|
|
1351
|
+
- One monitor lifecycle in the session: `session.monitorsToStart(options?):
|
|
1352
|
+
Promise<Resolved<MonitorStart>>` returns each monitor of the enabled plugins once: the `always`
|
|
1353
|
+
ones (at open, and for a plugin an update enabled), and the `on-skill-invoke:<skill>` ones whose
|
|
1354
|
+
skill a successful `expandSkill` ran, which the session records itself. Each `MonitorStart` is
|
|
1355
|
+
`{ monitor, cwd, env }`: the session directory, and `subprocessEnvironment('monitor')` with the
|
|
1356
|
+
monitor's path variables. `session.monitorsToStop(event)` gives the `MonitorId`s
|
|
1357
|
+
(`{ pluginId, name }`) to stop: none for `'plugin-disabled'`, all for `'session-ended'`. Types
|
|
1358
|
+
`MonitorPart`, `MonitorStart`, `MonitorStartOptions`, `MonitorId` (root), `MonitorStopEvent`,
|
|
1359
|
+
`InvokedSkill` (`./loading`).
|
|
1360
|
+
- `HostToolNames` (`{ toClaude?; missing? }`), `toolNamesOf(names): ToolNames` (`./rules`),
|
|
1361
|
+
`ToolPool.names` and `SessionOptions.toolNames`: a host whose tools carry other names states once
|
|
1362
|
+
how they correspond to Claude Code's; subagent tool resolution, hook matching (`tool_name`,
|
|
1363
|
+
`matcher`, `if`) and `checkTool`'s permission decision read the Claude Code name, and
|
|
1364
|
+
`resolveSubagentTools` returns the host's names.
|
|
1365
|
+
- `SubagentModel.kind: 'inherit' | 'alias' | 'full-id'`: what `resolveSubagentModel`'s `model` is,
|
|
1366
|
+
for a host that routes models itself (`'inherit'` whenever it is the main model).
|
|
1367
|
+
- `CLAUDE_CONFIG_DIR` moves every user-scope folder the kit reads (env-vars.md, claude-directory.md;
|
|
1368
|
+
probed against Claude Code 2.1.322): the personal skills, commands, synced skills and agents of a
|
|
1369
|
+
session follow it, read from the session's `Environment` port with the user and managed settings
|
|
1370
|
+
`env` over it. `ScopeRequest.configDir`, `MemoryContext.configDir`; a session's own
|
|
1371
|
+
`DecideContext` protects the configuration directory. `extraScopeFolders` stay below the home.
|
|
1372
|
+
- `session.skillCatalog({ activated? }?): SkillCatalog` (`{ skills: readonly SessionSkill[]; issues }`):
|
|
1373
|
+
every skill and command the session can invoke, with every name it answers to, its source
|
|
1374
|
+
(`{ kind: 'plugin', pluginId }`, `{ kind: 'folder', scope }` or `{ kind: 'host' }`), its validated
|
|
1375
|
+
head, its `skillOverrides` state, `policy`, `listed`, `dormant`, and where it lives: `file` and
|
|
1376
|
+
`directory`, absolute for every source, `directory` being the value of `${CLAUDE_SKILL_DIR}`
|
|
1377
|
+
(`SkillPlace`; a command has no directory, an inline manifest command no file). `skills()` is
|
|
1378
|
+
built from these rows and `expandSkill` finds them by the same names; no port is called (a plugin
|
|
1379
|
+
root is asked once per host generation, when the entries are built). Types `SessionSkill`,
|
|
1380
|
+
`SkillCatalog`, `SkillSource`, `HostSource`, `SkillPlace`, `SkillCatalogOptions` (root, `./host`);
|
|
1381
|
+
`listedAs` and `isDormant` (`./skills`).
|
|
1382
|
+
- `SessionOptions.settings?: PolicyView`: a session's own settings (its project's user, project and
|
|
1383
|
+
local layers, plus any `flagSettings` layer of the host), replacing the host's for that session:
|
|
1384
|
+
which plugins run and everything they expose. `PluginSession.plugins` lists the host's plugins
|
|
1385
|
+
with whether they run in the session.
|
|
1386
|
+
- `readCatalog(plugin): PluginCatalog` is exported (root and `./host`).
|
|
1387
|
+
- `SessionOptions.plugins?: readonly HostPlugin[]`: a session's own plugins (its project's installs,
|
|
1388
|
+
`--plugin-dir` plugins), beside the host's in that session only; one under a host plugin's id
|
|
1389
|
+
replaces it there. `SessionOptions.userConfig`: a session's saved values, replacing the host's.
|
|
1390
|
+
`PluginSession.issues`: the issues of the session's plugin set.
|
|
1391
|
+
- Copies of one manifest name from different origins follow plugins/loading.md "Name conflicts"
|
|
1392
|
+
in the host and in each session (managed, `@inline`, installed, `@skills-dir`, `@synced`).
|
|
1393
|
+
- `session.checkTool(call, { ..., resolver? })`: with a `PathResolver`, the symlink check runs over
|
|
1394
|
+
the input that runs (`prepareCall`, and `resolveRuleDirectories` when the context has no
|
|
1395
|
+
`realDirectories`); a path that cannot be resolved is `decision: { outcome: 'deny', reason:
|
|
1396
|
+
'unresolvable-path' }` with `ToolCheck.refused` holding the `PortFailure`. `DecisionReason` gains
|
|
1397
|
+
`unresolvable-path`.
|
|
1398
|
+
- `SessionOptions.locations?: Locations`: a session's project folder and plugin folders, replacing
|
|
1399
|
+
the host's `ports.locations` for everything the session resolves (hooks, skills, agents, MCP and LSP
|
|
1400
|
+
servers, monitors, folder reads). Its `pluginRoot(id)` answers for the session's own plugins.
|
|
1401
|
+
- `./package.json` is exported. Every other subpath has a `llx-plugin-source` condition (the
|
|
1402
|
+
`src` entry, for a path-linked host's tsc through `customConditions`) and a `default`.
|
|
1403
|
+
- `@rsaryev/llx-plugin/sdk`: `sdkHooks(session)` gives the `hooks` option of a Claude Agent SDK query that runs the session's plugin hooks, and `toSdkHookOutput(outcome)` writes a merged outcome as one SDK callback's JSON.
|
|
1404
|
+
- `session.checkTool(call, { toolUseId, permissionContext, signal })`: the `PreToolUse` hooks, then
|
|
1405
|
+
`decide` over the input they return, in one call (`{ hook, input, decision }`).
|
|
1406
|
+
- `policyContext(facts)`: a `PolicyContext` whose missing facts grant the least.
|
|
1407
|
+
- `structuredPatchOf(diff)` turns a unified diff into the `structuredPatch` hunks of an `Edit` or `Write` result, so a host that reports tool results to `PostToolUse` hooks does not parse diffs itself.
|
|
1408
|
+
- `bashFileTargets(command, paths)` reads the files a Bash line names for `Read` and `Edit` rules (file commands and redirection targets), so a host does not keep its own list of them.
|
|
1409
|
+
- `SessionOptions.ports`: a session binds its own hook ports (model evaluators, MCP caller, observer), so one `PluginHost` can serve many sessions; `withTurn({ ports })` binds those of one run.
|
|
1410
|
+
- Interactive user-config dialog plans, the published default plugin trust warning, and monitor
|
|
1411
|
+
release gating and shutdown decisions. Add spec proofs for saved configuration, trust refusals,
|
|
1412
|
+
manifest prose and documented validator diagnostics without changing the requirement registry.
|
|
1413
|
+
- Host: `HostPorts.folders`, `SessionOptions.addedDirectories`, `session.reloadSkills` (the first read and
|
|
1414
|
+
`/reload-skills`) and `session.touchFile`; `strictPluginOnlyCustomization` for skills is applied to the
|
|
1415
|
+
folders. A plugin skill is also typed by its frontmatter `name` without the prefix when no command uses
|
|
1416
|
+
it. `readSkillMentions` takes the listed `names`, so `/apps/web:deploy` is one word.
|
|
1417
|
+
- Host: `SessionOptions.takenCommands` (the host's built-in commands, bundled skills and MCP prompts a
|
|
1418
|
+
synced skill's short name yields to); `session.addDirectory` (`/add-dir`) and `session.moveTo` (`/cd`),
|
|
1419
|
+
which read the folders again on a live session and keep its skill hooks, `once` keys and nested
|
|
1420
|
+
directories; `session.skillSources()` with each listed folder skill's scope, origin, names and the names
|
|
1421
|
+
it gave up (`yielded`, `heldBy`) and the `shadowed` ones, for the `claude.ai sync` group of `/skills`.
|
|
1422
|
+
- Host: `session.withTurn(turn)` returns the same session for one turn. A turn replaces only the
|
|
1423
|
+
`permissionMode`, `effort`, `cwd`, `additionalDirectories`, `permissions` (the shell answer),
|
|
1424
|
+
`promptId`, `scratchpadDir`, `agent`, `folderTrustAccepted` and `interactive` it names, and shares
|
|
1425
|
+
what must outlive a turn: the skills' registered hooks, the `once` keys already consumed and the
|
|
1426
|
+
limits on skill hooks. The session it is called on does not change.
|
|
1427
|
+
- Host: `SessionOptions` carries `promptId`, `scratchpadDir`, `agent` (`id`, `type`) and
|
|
1428
|
+
`folderTrustAccepted` into the hook input (`prompt_id`, `scratchpad_dir`, `agent_id`,
|
|
1429
|
+
`agent_type`) and the workspace-trust gate of a project subagent's hooks.
|
|
1430
|
+
- Host: `expandSkill` registers a skill's frontmatter hooks into the session (they keep running for
|
|
1431
|
+
the rest of it, `once` removes one after its first successful run, a skill past 1,024 hooks or
|
|
1432
|
+
16,384 matcher characters for its source "registers none of its hooks"); a manifest command's
|
|
1433
|
+
invalid `allowedTools` rule is reported as `loadCommandEntries` reports it; `allowManagedPermissionRulesOnly`
|
|
1434
|
+
in a managed layer takes away the `allowed-tools` grant of project, personal, synced and
|
|
1435
|
+
skills-directory skills.
|
|
1436
|
+
- Host: `createPluginHost({ plugins, ports, settings?, userConfig? })` and `host.openSession(...)`,
|
|
1437
|
+
the public entry that composes the loaded plugins, the skills, hooks, agents, settings and ports. A
|
|
1438
|
+
session lists skills and commands as `<plugin>:<name>` (invocation flags, budget), expands them
|
|
1439
|
+
(`$ARGUMENTS`, `${CLAUDE_PLUGIN_ROOT}`, shell placeholders through the runner, the shell policy of
|
|
1440
|
+
the settings), dispatches any hook event typed per event over every enabled plugin and the
|
|
1441
|
+
settings files (matchers, `if` through the rules module, `disableAllHooks`, `allowManagedHooksOnly`,
|
|
1442
|
+
the `hooks` lock, the HTTP allowlists), and resolves agents, MCP and LSP servers, monitors and
|
|
1443
|
+
output styles with the plugin variables and saved options. Enablement follows the host, then
|
|
1444
|
+
`enabledPlugins`, with managed settings that turn a plugin off winning.
|
|
1445
|
+
- Testing: `@rsaryev/llx-plugin/testing` publishes the fakes of the ports (`memoryFiles`,
|
|
1446
|
+
`scriptedRunner`, `recordingHttp`, `fakeModel`, `fakeMcp`, `fixedClock`, `locations`,
|
|
1447
|
+
`fakeEnvironment`, `memoryScratch`); `tests/support/ports.ts` re-exports them, one copy.
|
|
1448
|
+
- Official types re-exported from `@anthropic-ai/claude-agent-sdk`, with `HOOK_EVENTS` and
|
|
1449
|
+
`HOOK_HANDLER_TYPES` asserted equal to the SDK's unions.
|
|
1450
|
+
- The ports a host implements (`PluginFiles`, `CommandRunner`, `HttpClient`, `ModelRunner`,
|
|
1451
|
+
`McpCaller`, `Locations`, `Environment`, `Clock`, `ScratchFiles`), type-only, and in-memory fakes
|
|
1452
|
+
of each for tests.
|
|
1453
|
+
- `EFFORT_LEVELS`, asserted equal to the SDK's `EffortLevel`, and the official `EffortLevel`,
|
|
1454
|
+
`SlashCommand` and `ResolvedSettingSource` types re-exported.
|
|
1455
|
+
- Permission rules (`rules`): `parseRule` and `formatRule` for `Tool` and `Tool(specifier)` (literal
|
|
1456
|
+
parentheses, `Bash(*)` as bare, `domain:` and `Tool(param:value)` specifiers, the malformed-rule
|
|
1457
|
+
message), `matchRule` for bare rules, tool-name globs (with the allow-glob anchoring rule) and
|
|
1458
|
+
input-parameter rules, `evaluateRules` in deny, ask, allow order, and `ruleIssues` for the
|
|
1459
|
+
matches-no-tool warning. `PERMISSION_MODES`, `PERMISSION_BEHAVIORS`, `normalizePermissionMode`
|
|
1460
|
+
(`manual` is `default`), `DOCUMENTED_TOOLS`, and the SDK's tool input and output types.
|
|
1461
|
+
- Bash and PowerShell rules: the wildcard patterns of permissions.md (the `*` anywhere, the bare
|
|
1462
|
+
command before a trailing ` *`, the `:*` suffix), compound commands (every subcommand for an
|
|
1463
|
+
allow rule, any for deny and ask, including `$()`, backticks, subshells and loop bodies),
|
|
1464
|
+
the fixed wrapper list and safe environment assignments, exec wrappers and `find` actions that
|
|
1465
|
+
a prefix rule cannot approve, PowerShell aliases and case-insensitive matching, the
|
|
1466
|
+
wildcard-before-subcommand startup warning, and `evaluateIf` for the `if` field of hooks.
|
|
1467
|
+
`splitCommand`, `stripWrappers`, `matchBashPattern` and `requiresPromptDespitePrefixRule` are
|
|
1468
|
+
exported.
|
|
1469
|
+
- Path rules (`rules/path`): `Read(...)` and `Edit(...)` patterns with the four anchors (`//`, `~/`,
|
|
1470
|
+
`/` per settings source, `path` and `./path`), gitignore matching through `ignore`, the allow versus
|
|
1471
|
+
deny/ask depth rule for a single directory segment, `!` negation within one source, Windows POSIX
|
|
1472
|
+
paths, routing (Edit covers Write and NotebookEdit, Read covers Grep and Glob, an Edit allow implies
|
|
1473
|
+
read, a Read deny covers Edit and Write, Write/Glob/Grep/NotebookEdit path rules never match), the
|
|
1474
|
+
symlink two-path rule through a new `PathResolver` port (`prepareCall`, `resolveRuleDirectories`,
|
|
1475
|
+
`PathContext.realDirectories`), `readsNetworkPath` and `matchCdRule`.
|
|
1476
|
+
- Target rules (`rules/target`): `WebFetch(domain:...)` against the hostname of the call's `url`
|
|
1477
|
+
(case-insensitive, trailing dot stripped, `*.`, bare `*`, a `*` elsewhere limited to one label,
|
|
1478
|
+
bracketed IPv6), `matchDomainPattern`, and the sandbox domain list a `domain:` rule adds to as data
|
|
1479
|
+
(`sandboxDomainEntry`, `sandboxDomainLists`; a bare `WebFetch` adds nothing); `Agent(Name)`
|
|
1480
|
+
against `subagent_type`; `Skill(name)` and `Skill(name *)` with the namespace rule and the names a
|
|
1481
|
+
deny rule sees; MCP rule forms (`mcp__server`, `mcp__server__*`, `mcp__server__tool`) with the
|
|
1482
|
+
deny-or-ask versus allow difference for a server whose name holds `__`, `normalizeMcpServerName`,
|
|
1483
|
+
`pluginMcpServerName`, `mcpToolName`, `mcpToolRuleMatches`, and the Cowork tools a bare `Bash` or
|
|
1484
|
+
`WebFetch` deny rule also blocks.
|
|
1485
|
+
|
|
1486
|
+
#### cli
|
|
1487
|
+
|
|
1488
|
+
- Plugin release-tag planning and completion reporting, including validation, version agreement,
|
|
1489
|
+
force, dry-run, annotated messages, remote selection and local-tag preservation after a failed push.
|
|
1490
|
+
- CLI lifecycle commands: `claude plugin install`, `update`, `enable`, `disable`, `prune`,
|
|
1491
|
+
`uninstall` and `configure` as plans over ports. `startInstall`/`planInstall` run the install
|
|
1492
|
+
ladder (already installed at that scope exits 0 with the exact line, a command-source or
|
|
1493
|
+
`headersHelper` entry prints its command and needs `-y` or the `--accept-command` sha256, `Aborted.`
|
|
1494
|
+
and `Aborted — the command was not run.`, `-y` ignored inside a session, the `shownCommand` of a
|
|
1495
|
+
refused `--json` run, `--config` and `<server>.<key>` validated against `userConfig`, the
|
|
1496
|
+
`--marketplace` source added first, the refresh before the install and the dependency closure);
|
|
1497
|
+
`decideAcceptance` counts a sha256 only for the exact command, plugin and the catalog the run read
|
|
1498
|
+
after its own refresh. `planPluginUpdate` detects the scope (local, project, user, managed), matches
|
|
1499
|
+
a bare name and refuses an ambiguous one, reports `already at the latest version` and retries an
|
|
1500
|
+
unfinished dependency install in the cached copy. `planEnable`/`planDisable` write the scope the
|
|
1501
|
+
first mention or an override names, cascade to dependencies and refuse for dependents, a blocked or
|
|
1502
|
+
higher-scope-false dependency or a required synced plugin. `planPruneCommand` covers `--dry-run`,
|
|
1503
|
+
the terminal and `-y` matrix. `startUninstall`/`concludeUninstall` add G8: from the last scope the
|
|
1504
|
+
plugin's options, secrets and data directory go, except with `--keep-data`, for another plugin on the
|
|
1505
|
+
same folder, or when the install records cannot be read back (`savedKept`), with `keptData`,
|
|
1506
|
+
`settings_still_on` and `--prune`. `planConfigure` lists options without saved values, saves
|
|
1507
|
+
`--values-stdin` whole or not at all, and never prints a sensitive value. 27 requirements are proven
|
|
1508
|
+
and the choices the docs leave open are in `spec/judgments.md`.
|
|
1509
|
+
- CLI: a new `cli` module (layer 5) that models the plugin and marketplace commands as plans over
|
|
1510
|
+
ports. `renderCommand` gives the human line, the exit code and the last-line JSON object of a
|
|
1511
|
+
command (`command`, `outcome`, `message`, `failureCode`, a usage error that prints no result line);
|
|
1512
|
+
`chooseScope` and `writeScope` the scope grammar; `resolveCommand` the command table with its
|
|
1513
|
+
aliases; `startMarketplaceAdd`/`concludeMarketplaceAdd`, `planMarketplaceList`,
|
|
1514
|
+
`planMarketplaceRemove` and `planMarketplaceUpdate` the four marketplace commands; and
|
|
1515
|
+
`planSessionFlags` the 20 session flags of `claude` (`--plugin-dir`, `--plugin-url`, `--bare`,
|
|
1516
|
+
`--safe-mode`, `--restricted`, `--setting-sources`, `--settings`, `--disable-slash-commands`,
|
|
1517
|
+
`--add-dir`, `--agent`, `--agents`, the subagent-prompt flags, `--channels`, the development
|
|
1518
|
+
channels, `--mcp-config`, `--strict-mcp-config`, `--permission-mode`, `--tools`) with the refusals
|
|
1519
|
+
that exit `1` without starting. `scripts/check-layers.ts` gives the module its layer.
|
|
1520
|
+
|
|
1521
|
+
#### repository
|
|
1522
|
+
|
|
1523
|
+
- The package declares Node.js 22 or later (`engines`): the built `dist` calls
|
|
1524
|
+
`Promise.withResolvers`. Getting started says how long `--omit=optional` keeps the Agent SDK's
|
|
1525
|
+
binary out, that the SDK peers missing under `skipLibCheck` read as `any`, and that a registry
|
|
1526
|
+
install reads the declarations rather than the source condition.
|
|
1527
|
+
- The declarations check covers every declared call of `$` (88): its arguments against the declared
|
|
1528
|
+
parameters, the op event it fires against the declared input, and its result against the declared
|
|
1529
|
+
result (docs/API.md, "Mods declarations").
|
|
1530
|
+
- The mods declarations as evidence (AGENTS.md, E2a): `bun run types:pull` gets the
|
|
1531
|
+
`claude-code` declarations of the pinned release in a private `HOME`, `bun run types:extract`
|
|
1532
|
+
reads them with the TypeScript checker into `spec/mods-declarations.json`, `check:spec` (SP8)
|
|
1533
|
+
holds the snapshot to the release, and `tests/mods/declarations/surface.test.ts` fails on any
|
|
1534
|
+
difference between the kit and the declarations not judged in `spec/judgments.md` (D1 to D5).
|
|
1535
|
+
- Reach 100% of the in-scope requirements (2713 of 2713): host switches (`CLAUDE_CODE_*` variables,
|
|
1536
|
+
telemetry opt-out), channel contract and permission relay, shell redirection checks, marketplace
|
|
1537
|
+
add failures, name conflicts, relevance hints and telemetry names, `plugin list`/`details`/`validate`
|
|
1538
|
+
builders, mods keyboard and VS Code rules, managed-settings limits, seed registry and the managed
|
|
1539
|
+
approval-dialog list. Judgments are recorded in `spec/judgments.md`.
|
|
1540
|
+
- Audit the owner-approved plugin-host scope separately from native Claude Code UI, services,
|
|
1541
|
+
scheduling/model runtime and SDK-client behavior; publish every filtered table row in the
|
|
1542
|
+
generated exclusion log and regression-test that new plugin sections stay in scope.
|
|
1543
|
+
- `bun run oracle:runtime`: what a Claude Code session registers from a plugin (`init` event of
|
|
1544
|
+
`claude -p --plugin-dir`, no model call) against the kit's session, for 32 fixtures
|
|
1545
|
+
(then in this repository; now the spec's, synced to `spec/oracle/runtime`); each fixture's
|
|
1546
|
+
`expected.json` is committed, so `bun test` checks it without `claude`.
|
|
1547
|
+
- `bun run corpus:load`: the kit's loading compared with Claude Code's own (`claude plugin
|
|
1548
|
+
details` over `--plugin-dir`) on every corpus plugin, per component.
|
|
1549
|
+
- `bun run mutation <module>`: StrykerJS mutation testing of one module against its own tests,
|
|
1550
|
+
with a JSON report in `.cache/mutation/`.
|
|
1551
|
+
- `bun run bench`: times `loadPlugin` (from disk and from memory), host assembly, the skill
|
|
1552
|
+
listing and `PreToolUse` dispatch over the real plugins of the corpus.
|
|
1553
|
+
- Spec: the same-name table of skills.md names its rows by phrase (`PageScope.phrases`), which adds six
|
|
1554
|
+
requirements (bundled skill, built-in command, added directory, two added directories, plugin skill,
|
|
1555
|
+
synced short name).
|
|
1556
|
+
- Spec: every page of the docs is classified (SP7). The 24 pages that document hooks, memory,
|
|
1557
|
+
worktrees, status lines, headless runs, model settings, server-managed settings, agent teams,
|
|
1558
|
+
goals, scheduling, auto mode, tools, the error catalogue and the Agent SDK's plugin, hook, skill,
|
|
1559
|
+
subagent, permission and MCP behaviour are audited section by section, and the other 156 are
|
|
1560
|
+
listed in `spec/out-of-scope-pages.json` with a reason docs/SPEC.md explains. A page that
|
|
1561
|
+
appears in a new release fails `check:spec` until it is classified.
|
|
1562
|
+
- Spec: the requirement set now counts the docs' prose, not only their tables. Every heading of
|
|
1563
|
+
the plugin, mods, skills, subagents, hooks, MCP, managed MCP, settings, managed settings,
|
|
1564
|
+
permissions, environment, CLI, workflows, themes, output styles and channels pages is either
|
|
1565
|
+
read as requirements (one per section, one per listed rule) or listed in
|
|
1566
|
+
`spec/out-of-scope.json` with a reason (docs/SPEC.md, "Sections and scope"). New categories:
|
|
1567
|
+
`install`, `updates`, `trust`, `policy`, `settings-merge`, `mcp-settings`, `themes`,
|
|
1568
|
+
`workflows`, `cli`. The compatibility percentage drops accordingly: the new requirements are
|
|
1569
|
+
unproven until a test names them.
|
|
1570
|
+
- Evidence: the oracle (the official CLI of the same release, run as a black box) is a recognised
|
|
1571
|
+
source in docs/SPEC.md and AGENTS.md (E5a) for message wording and validator-only checks; every
|
|
1572
|
+
behaviour taken from it is a row `oracle 2.1.319` in spec/judgments.md with an input of its own.
|
|
1573
|
+
- Corpus: `bun run corpus` compares the oracle with `validatePlugin` (verdict agreement, findings
|
|
1574
|
+
with the same severity and message, findings at the same file and path, what the kit misses or
|
|
1575
|
+
adds) and prints `loadPlugin`'s verdict on a separate line.
|
|
1576
|
+
- The corpus: `corpus:fetch` fetches every plugin of the official and community marketplaces
|
|
1577
|
+
through the kit's own marketplace reader and fetch plans; `corpus` compares the kit with
|
|
1578
|
+
`claude plugin validate --json` plugin by plugin.
|
|
1579
|
+
- The evidence pipeline: `docs:pull` mirrors the official Claude Code docs, `spec:extract` turns
|
|
1580
|
+
them into `spec/requirements.json`, and `compat` reports the share each test run proves.
|
|
1581
|
+
- `docs/api/`: one table per public entry (`docs/api/root.md`, `docs/api/loading.md`, ...) with every export, its kind and one line, linked from docs/API.md. The docs gate's DOC3 (`scripts/docs/export-tables.ts`, over `scripts/lib/public-exports.ts`, which resolves each entry through its barrels with `oxc-parser`) fails when an export has no row, a row names no export or the wrong kind, or a doc imports a name an entry does not export.
|
|
1582
|
+
|
|
1583
|
+
### Changed
|
|
1584
|
+
|
|
1585
|
+
#### format
|
|
1586
|
+
|
|
1587
|
+
- **BREAKING** `loadPlugin` and `collectMcpServers` `bundleSettings` → gone. Bundle settings are read when a server is resolved, not at load: `loadPlugin` and
|
|
1588
|
+
`collectMcpServers` take no `bundleSettings`; a bundled server's values come from the scope's
|
|
1589
|
+
`userConfig.values` under `<server>.<key>` (a session fills them from `pluginConfigs.<id>.mcpServers`
|
|
1590
|
+
and `userConfig`), and `Bundled MCP server "<name>" was not started: it needs configuration` is an
|
|
1591
|
+
issue of `resolveMcpServers` / `resolveChannel` / `session.mcpServers()`.
|
|
1592
|
+
- **BREAKING** `McpBundleSetting` and `McpbOption` → gone. `McpBundle.userConfig` is the bundle's raw `user_config` block; `McpBundleSetting` and
|
|
1593
|
+
`McpbOption` are removed (`McpbManifest.options` is `Record<string, UserConfigOption>`).
|
|
1594
|
+
- **BREAKING** `resolveChannel` over a servers map → over a `Plugin` (`{ mcpServers, mcpBundles }`). `resolveChannel(channel, plugin, scope)` takes `{ mcpServers, mcpBundles }` (a `Plugin`) in place
|
|
1595
|
+
of the servers map.
|
|
1596
|
+
- **BREAKING** `fillBundleSettings` → gone. `bundleServerOf` leaves a bundle's `${user_config.<key>}` as written (no `<server>.<key>` rewrite);
|
|
1597
|
+
`fillBundleSettings` is removed: the kit answers the references when it resolves the server.
|
|
1598
|
+
- **BREAKING** `headersHelperEnvironment` → `planHeadersHelper(resolved.headersHelper, origin, trust, context)`. An MCP server's `headersHelper` resolves to a `HelperServer`; plan its run with
|
|
1599
|
+
`planHeadersHelper(resolved.headersHelper, origin, trust, context)` instead of reading
|
|
1600
|
+
`headersHelperEnvironment`.
|
|
1601
|
+
- The `headersHelper` refusal line names `$CLAUDE_CONFIG_DIR/.claude.json` when the variable is set.
|
|
1602
|
+
- `requiredBundleSettings` takes `{ name, options }` (an `McpbManifest` still does).
|
|
1603
|
+
- `Plugin.mcpBundles` (new, required): each bundled server's own settings (`McpBundleConfig`, `{ userConfig }`). `resolveMcpServers` and `resolveProcesses` read it.
|
|
1604
|
+
- `resolveProcesses(plugin, scope)` needs the plugin's `manifest`; a server bound by a channel takes
|
|
1605
|
+
that channel's `userConfig`. Issue paths are indexed (`lspServers.go.args[0]`).
|
|
1606
|
+
- `exportedEnvironment(component, scope, substitution?)` takes an optional
|
|
1607
|
+
`Pick<Substituter, 'variable'>` to answer the variables.
|
|
1608
|
+
- A host release written `v2.1.319`, `2.1.320-beta` or with trailing text satisfies the v2.1.310
|
|
1609
|
+
flag-free monitor minimum.
|
|
1610
|
+
|
|
1611
|
+
#### settings
|
|
1612
|
+
|
|
1613
|
+
- **BREAKING** `SCOPE_PRECEDENCE` → `SCOPES_BY_PRECEDENCE`. `SCOPE_PRECEDENCE` is renamed `SCOPES_BY_PRECEDENCE` (`['managed', 'local', 'project', 'user']`).
|
|
1614
|
+
- **BREAKING** `createHookPolicy(view, locks, context)` → `createHookPolicy(view, context)`. `createHookPolicy(view, context)` (`./settings`) takes no `locks`: the `hooks` surface of
|
|
1615
|
+
`strictPluginOnlyCustomization` is read from the view.
|
|
1616
|
+
- **BREAKING** `NotAppliedVariable.reason` → `.why`; `envIgnored` → `ignoredBecause(...) !== undefined`. `resolveSettingsEnv(...).ignored` entries are `NotAppliedVariable` `{ name, scope, why }`, `why` a
|
|
1617
|
+
`NotApplied` (an `IgnoreReason` such as `storage`, `identity` or `launch-only`, or
|
|
1618
|
+
`launch-environment`, `shell-keeps-it`, `awaiting-trust`). Read `.why` instead of
|
|
1619
|
+
`.reason`; `ignoredBecause(scope, name, value) !== undefined` replaces `envIgnored`.
|
|
1620
|
+
- **BREAKING** `resolveSettingsEnv(...).issues` → gone. `resolveSettingsEnv` no longer returns `issues`; an `env` value that is not a string reaches the
|
|
1621
|
+
environment as its text (`String(value)`, as Claude Code sets it) instead of being left out.
|
|
1622
|
+
- `CLAUDE_CODE_SUBPROCESS_ENV_SCRUB` with surrounding blanks turns the scrub on.
|
|
1623
|
+
- Settings (changed): `unionArrays` drops duplicate entries, as managed-settings.md says of combined
|
|
1624
|
+
lists; a user, project, local or `--settings` source that is not a JSON object is an error issue
|
|
1625
|
+
("Settings Error: ...") rather than a warning, and still skipped.
|
|
1626
|
+
|
|
1627
|
+
#### hooks
|
|
1628
|
+
|
|
1629
|
+
- **BREAKING** `SkipKind` → also `'linger'`. `SkipKind` gains `'linger'`: a hook still running `HookBudget.lingerMs` (5000 ms,
|
|
1630
|
+
claude-code/index.d.ts:5435) after its `next.signal` aborted is reported once, `<mod>: <event> hook
|
|
1631
|
+
lingering: still running 5000 ms after next.signal aborted`. `MOD_LIMITS.lingerMs` is new.
|
|
1632
|
+
- **BREAKING** `<mod>: <event> hook threw <error>` → `<mod>: <event> hook skipped: next(e) rejected and the hook did not catch it: <error>`. A hook that does not catch a rejected `next(e)` is reported `<mod>: <event> hook
|
|
1633
|
+
skipped: next(e) rejected and the hook did not catch it: <error>` instead of `threw <error>`, which
|
|
1634
|
+
read as the hook's own fault (a refusal by Claude Code's gate, for one). It is still a `throw`
|
|
1635
|
+
report and a `.catch` handler still answers.
|
|
1636
|
+
- **BREAKING** `HookEngineOptions.shellPaths`, `DispatchConfig.shellPaths` and `RunContext.shellPaths` → gone. A bash shell-form hook always keeps `${CLAUDE_PLUGIN_ROOT}`, `${CLAUDE_PLUGIN_DATA}`
|
|
1637
|
+
and `${CLAUDE_PROJECT_DIR}` as braced references with the paths in its environment, as Claude Code
|
|
1638
|
+
2.1.322 does; `shellPaths: 'pasted'` pastes only where Claude Code pastes (a monitor `command`, an
|
|
1639
|
+
MCP `headersHelper`, a skill's `!` command). `HookEngineOptions.shellPaths`,
|
|
1640
|
+
`DispatchConfig.shellPaths` and `RunContext.shellPaths` are removed, and the `hook-shell` surface
|
|
1641
|
+
is no longer one `shellPaths` sets.
|
|
1642
|
+
- A PowerShell hook reports every bare `$CLAUDE_*` path variable once, not only the first.
|
|
1643
|
+
|
|
1644
|
+
#### skills
|
|
1645
|
+
|
|
1646
|
+
- **BREAKING** `SkillOrigin` → also `{ kind: 'bundled' }`. `SkillOrigin` gains `{ kind: 'bundled' }`, so a registry over `SkillOriginKind` needs the
|
|
1647
|
+
key. `SessionOptions.takenCommands` no longer needs the host's bundled skills when they are given
|
|
1648
|
+
as `hostSkills`.
|
|
1649
|
+
- **BREAKING** `stackSkills` over rows → over a `SkillLookup`, returning `{ skills, arguments, mentions }`. `stackSkills(message, lookup, options?)` takes a `SkillLookup` (`skillLookup(rows)`) and returns
|
|
1650
|
+
`{ skills, arguments, mentions }`; `StackOptions.takesCommandArguments` names the host commands
|
|
1651
|
+
(`/loop`) that end a stack.
|
|
1652
|
+
- **BREAKING** `Invocable` with its body → `InvocableHead` and a `BodyReader`. The folder scan is metadata-first: `ScannedEntry` and `ResolvedFolderSkill` hold the skill or command
|
|
1653
|
+
without its body (`SkillHead`, `CommandHead`, `InvocableHead`) and a `BodyReader` (`readBody(signal?)`)
|
|
1654
|
+
that reads the body through the host's `FolderScan` port when the skill runs, fresh each time. A port
|
|
1655
|
+
that refuses a file now skips that file with a warning instead of failing the scan, and a session
|
|
1656
|
+
expands an edited folder skill without a reload. `Invocable` is `InvocableHead`, and `stackSkills` keeps
|
|
1657
|
+
the caller's skill type.
|
|
1658
|
+
- `${CLAUDE_SKILL_DIR}` keeps a skill directory that is already absolute: a session expands a skill
|
|
1659
|
+
with the row's `directory`, so the plugin root is asked once per host generation instead of at
|
|
1660
|
+
each expansion.
|
|
1661
|
+
- A skill's `!` command is decided by the session's permission rules plus the skill's
|
|
1662
|
+
`allowed-tools` (`SessionOptions.permissionContext`) instead of always asking, and runs with the
|
|
1663
|
+
session's Bash or PowerShell subprocess environment.
|
|
1664
|
+
- `session.expandMessage(message, { signal, invoker?, takesCommandArguments? })` finds skills by
|
|
1665
|
+
aliases and declared names, as `expandSkill` does; `permitted` holds the listed commands.
|
|
1666
|
+
- `paths` globs of a skill are compiled once per skill.
|
|
1667
|
+
|
|
1668
|
+
#### agents
|
|
1669
|
+
|
|
1670
|
+
- **BREAKING** `session.selectAgent` also took the `agent` setting → `{ flag }` only; `selectSessionAgent` `setting` text → `AgentSetting`. `session.selectAgent` takes `{ flag }` only; the `agent` setting comes from the
|
|
1671
|
+
session's settings and the plugin defaults. `selectSessionAgent`'s `setting` is an
|
|
1672
|
+
`AgentSetting` (`{ name; plugin? }`), not a string. `valueWithPluginDefaults` returns
|
|
1673
|
+
`{ value, plugin? }` (or `undefined`), and `pluginDefaultsOf` gives `owners` by key.
|
|
1674
|
+
- **BREAKING** `CatalogAgent.source` tier string → `CatalogSource` object. `CatalogAgent.source` (`CatalogSource`) is an object, `{ kind: 'plugin', pluginId }`,
|
|
1675
|
+
`{ kind: 'folder', scope }`, `{ kind: 'flag' }` or `{ kind: 'builtin' }`, not the tier string;
|
|
1676
|
+
`catalogTier(source)` gives the old value. `SessionAgent.source` follows.
|
|
1677
|
+
- **BREAKING** `ScopeRule.bases` and `AgentFolder.bases` → `places`, `SCOPE_BASES.home` → `SCOPE_PLACES.user`. The skills scan's `ScopeRule.bases` and the agents scan's `AgentFolder.bases` are
|
|
1678
|
+
`places` (`ScopePlaces`: each base with its folder), and `SCOPE_BASES.home` is gone: the user
|
|
1679
|
+
scope is `SCOPE_PLACES.user`. `SavedScanRequest.configDir` is the inherited
|
|
1680
|
+
`ScopeRequest.configDir`.
|
|
1681
|
+
- `session.preloadSkills(definition, { signal, source })`: with the agent's `CatalogAgent.source`, a
|
|
1682
|
+
bare name in a plugin agent's `skills` finds its own plugin's `<plugin>:<name>` first, else the
|
|
1683
|
+
first plugin's in load order (oracle 2.1.322). Without `source`, the agent is read as one of no plugin.
|
|
1684
|
+
- `AgentToolFields` reads `tools` and `disallowedTools` as readonly lists, so a host's readonly agent record is accepted as it is.
|
|
1685
|
+
- `readFlagAgents` loads a `--agents` name with `:` and one over 256 characters, as Claude Code
|
|
1686
|
+
2.1.322 does; its bare name is the part after the last `:` (`--agent name` finds `ns:name`). Only
|
|
1687
|
+
an empty name is refused beside the documented `-`.
|
|
1688
|
+
|
|
1689
|
+
#### marketplace
|
|
1690
|
+
|
|
1691
|
+
- **BREAKING** a plugin with unmet `dependencies` ran → it is off (`enabled: false`). A plugin whose `dependencies` are not met no longer runs: `enabled: false`
|
|
1692
|
+
with `Dependency "<dep>" is not installed`, `... is disabled — enable it or remove the dependency`
|
|
1693
|
+
or `Requires "<dep>" <range>, installed <version>` under its id, and what needs it stops too
|
|
1694
|
+
(plugins/troubleshooting.md, "Dependency errors"; oracle 2.1.322). Give every installed plugin,
|
|
1695
|
+
the disabled ones with `enabled: false`.
|
|
1696
|
+
- **BREAKING** `UninstallStart.remove` → also `requiredBy`, and the success line ends `— warning: required by …`. `UninstallStart` `remove` gains `requiredBy` (the names of the enabled
|
|
1697
|
+
plugins that depend on it), and the success line ends `— warning: required by a, c` (oracle
|
|
1698
|
+
2.1.322; the uninstall is not refused).
|
|
1699
|
+
- **BREAKING** `InstallRun` → also `{ before, needs }`. `InstallRun` (`planInstall`) gains `{ before, needs }`, returned when a
|
|
1700
|
+
dependency's `plugin.json` must be fetched before the plan is final.
|
|
1701
|
+
- **BREAKING** `checkForUpdate` returned the outcome string → async, returns `UpdateVerdict` `{ check, version }`. `checkForUpdate(subject, installed, sha256)` (`./marketplace`) is async and returns an
|
|
1702
|
+
`UpdateVerdict` `{ check, version }` (`check` is `new copy`, `unchanged` or `loaded in place`); it
|
|
1703
|
+
computes the version itself through `resolvePluginVersion`. Pass the `Sha256` port and read
|
|
1704
|
+
`.check` where the old call returned the outcome string.
|
|
1705
|
+
|
|
1706
|
+
#### mods
|
|
1707
|
+
|
|
1708
|
+
- **BREAKING** `HookFailure` loses `cause` and gains `budget`; `REENTRY_CAUSES`, `ReentryCause` and the `'re-entry'` skip kind → gone. A mod's `.catch` handler sees only the failures the declarations
|
|
1709
|
+
give it (claude-code/index.d.ts 2.1.321; oracle 2.1.322 agrees). `HookFailure` is
|
|
1710
|
+
`{ kind: 'throw' | 'timeout'; message?: string; budget: number }`: `cause` is removed, `message`
|
|
1711
|
+
is absent on a timeout unless a `next()` rejected first, and `budget` (the handler's 1000 ms) is
|
|
1712
|
+
new. `HOOK_FAILURE_KINDS` is `['throw', 'timeout']`; `REENTRY_CAUSES` and `ReentryCause` are
|
|
1713
|
+
removed; `ReentryInfo` loses `rewritten` and `lent`; `SkipKind` loses `'re-entry'`. A hook skipped
|
|
1714
|
+
on re-entry runs no `.catch` handler and is not reported: Claude Code's behaviour runs in its place.
|
|
1715
|
+
- **BREAKING** `ModRegistries.commandRuns` optional → required. `ModRegistries.commandRuns` is required (the `CommandRunDepth` of `runCommand`): a
|
|
1716
|
+
`core` or `ModCommands.run` that calls `runCommand` for the same command again runs its core with
|
|
1717
|
+
no second `command.run` (claude-code/index.d.ts:1834, "one slash command about to run"); a third
|
|
1718
|
+
nesting rejects `/<name>: its body ran runCommand for itself again; refused`. Needs
|
|
1719
|
+
`ModsHostOptions.asyncContext`.
|
|
1720
|
+
- **BREAKING** `RenderEvent.requestId` optional → required. A `ui.render` event always has a `requestId` (`RenderEvent.requestId` optional →
|
|
1721
|
+
required): a site of one instance gets the host's or the site's name.
|
|
1722
|
+
- **BREAKING** a `command.run` hook's rewritten `e.command` was looked up → refused. A `command.run` hook that rewrites `e.command` or changes `e.presentation` is refused,
|
|
1723
|
+
and the host's core gets the event's `origin` and `presentation`; the lookup of a rewritten command
|
|
1724
|
+
is gone (claude-code/index.d.ts:1836: "A rewrite is refused").
|
|
1725
|
+
- **BREAKING** an aborted dispatch ran the core → rejects with the abort's reason. A dispatch whose signal aborted rejects with the abort's reason instead of running the
|
|
1726
|
+
core (`abortedCore`).
|
|
1727
|
+
- **BREAKING** `$.ui.panes()` listed every mod's panes → only the calling mod's. `$.ui.panes()` lists only the calling mod's panes, and `title` is the id when the pane
|
|
1728
|
+
was opened without one.
|
|
1729
|
+
- **BREAKING** the scan accepted `export let register`, re-exports and `export *` → refuses them. The scan refuses `export let register`, `export var register`, a class or variable
|
|
1730
|
+
exported as `register`, a re-export and `export *`, each with its own line, and an
|
|
1731
|
+
`h(Client, ...)` whose props are no object literal or name no `module`: Claude Code 2.1.321
|
|
1732
|
+
refuses them (oracle, `registerExport`, `clientProps`). The line of a file with no `register`
|
|
1733
|
+
reads `no export named register (export function register(on, options) {...})`.
|
|
1734
|
+
- **BREAKING** op events without the declared facts → with `origin`, `wait`, `door`, `trigger`, `previous` and `provider`. Op events carry the declared facts the kit has (spec/judgments.md D9): `origin`
|
|
1735
|
+
(`{ kind: 'plugin', name }`) on `prompt.submit`, `prompt.fill`, `prompt.suggest`, `session.send`,
|
|
1736
|
+
`session.append`, `command.run`, `config.set`, `ui.focus` and `ui.scroll`; `wait: false` on
|
|
1737
|
+
`prompt.submit`; `door: 'note'` on `session.append`; `trigger: 'plugin'` on `session.compact`;
|
|
1738
|
+
`previous` and `provider` on `config.set`, which now reads `config.list()` first (a host's
|
|
1739
|
+
`config` port must answer `list` for `$.config.set`). Each is removed before the port is called.
|
|
1740
|
+
- **BREAKING** `ModHostPorts` `account`, `promptBox`, `notifications` optional → required. `ModHostPorts` (the filled type) requires `account`, `promptBox` and `notifications`; a
|
|
1741
|
+
host that builds it directly adds them or uses `withDefaultPorts` (`ModHostPortsInput` leaves
|
|
1742
|
+
them optional). `MODS_API` lists the declared members after the reference page's
|
|
1743
|
+
(`MODS_API_REFERENCE` is the page alone); `ModRegistries` has `onChange`, and
|
|
1744
|
+
`createRegistries()` builds listeners for it.
|
|
1745
|
+
- **BREAKING** the calls of `$` in the kit's own forms → the declared forms. The calls of `$` take and answer what the declarations (2.1.321) give, found by the
|
|
1746
|
+
declarations check of every call's parameters, op event and result:
|
|
1747
|
+
- `$.mcp.call(server, tool, args?)` positional (was `{ server, tool, input }`); event
|
|
1748
|
+
`{ server, tool, args }`; it answers `{ content, isError, structuredContent? }`.
|
|
1749
|
+
`$.mcp.connect` resolves `{ isConnected: false, reason: 'unlisted' | 'failed', message }` (was a
|
|
1750
|
+
throw for an unlisted server) and `{ isConnected: true, server }`.
|
|
1751
|
+
- `$.model.classify(text, labels, options?)` positional (was one object); at least 2 labels.
|
|
1752
|
+
- `$.audio.play(clip, options?)`: `clip` is `{ asset } | { url } | { base64, mime }`, options
|
|
1753
|
+
`{ shouldLoop?, gain? (0 to 4), signal? }` (a loop needs the signal); event `{ clip,
|
|
1754
|
+
shouldLoop, gain? }`; port `ModAudio.play(request, signal)`.
|
|
1755
|
+
- `$.http.fetch(url, init?)`: event `{ url, init: { method, headers, body? } }` (was flat).
|
|
1756
|
+
- `$.process.run(argv, init?)` takes `env` and `stdin`; `$.process.spawn({ argv, cwd?, env?,
|
|
1757
|
+
input? })` (was `(argv, init)`), whose end is `{ code, signal }`; a child ended by a signal
|
|
1758
|
+
reads `exitCode: 1` (was a throw). Port: `ModSpawner.spawn` takes `input` and may answer
|
|
1759
|
+
`signal`.
|
|
1760
|
+
- `$.fs.read(path, { as? })`: `as: 'bytes'` answers `{ base64 }` (port `read(path, signal,
|
|
1761
|
+
as?)`, `base64` on its answer); `$.fs.stat(path, { resolve? })` gives `mtimeMs` and, with
|
|
1762
|
+
`resolve`, `realPath`; `$.fs.list` entries give `mtimeMs`; `$.fs.ancestors` answers the
|
|
1763
|
+
instruction files (`FsAncestor`) from the optional port `ModFs.instructions` or a walk.
|
|
1764
|
+
- `$.env.set(name, value?)`: `undefined` unsets; it answers `{}`. Port `env.set(name, value:
|
|
1765
|
+
string | undefined)`.
|
|
1766
|
+
- `$.turn.abort({ turnId })`; port `turns.abort(turnId?)`.
|
|
1767
|
+
- `$.telemetry.log(entry)` takes `{ event, props?, to? }` (`to` `anthropic` when left out);
|
|
1768
|
+
`$.telemetry.mark({ feature, kind, reason?, props? })` (was a string); port
|
|
1769
|
+
`telemetry.mark(feature, mark?)` (`TelemetryMark`).
|
|
1770
|
+
- `$.session.version()` answers `{ version, base? }`; `$.session.authorize()` takes nothing;
|
|
1771
|
+
`$.session.append({ message, agentId? })`; `$.session.compact()`, `session.append` and
|
|
1772
|
+
`config.set` ports may answer an object, which is the call's result.
|
|
1773
|
+
- `$.prompt.submit` takes `context` and answers `{ ..., text, context? }`; `$.prompt.fill(text
|
|
1774
|
+
| { text, mode?, decorations?, cursor? })`, port `prompts.fill(text, fill?)` answering
|
|
1775
|
+
`{ isFilled, refusal?, text?, cursor? }`.
|
|
1776
|
+
- `$.ui.log(text, { to? })` (`debug` goes to the debug log); `$.ui.copy({ text, surface? })`
|
|
1777
|
+
answers `{ isCopied, reason? }` (`no-clipboard` when the host gives none); `$.ui.selection()`
|
|
1778
|
+
answers `{ text, requestId? }` (port may answer `UiSelection`); `$.ui.notice(tool_use_id,
|
|
1779
|
+
text?)`; `$.ui.blit`, `$.ui.focus`, `$.ui.scroll` answer `{}` when the host gives nothing;
|
|
1780
|
+
`$.ui.invalidate` also takes `prompt.context`, `prompt.attachment`, `command.describe` and
|
|
1781
|
+
`config.describe` (`ModInterface.rerun(event: RerunEvent)`).
|
|
1782
|
+
- `$.agent.register`, `$.command.register` and `$.tool.register` answer `{ agent }`, `{ command }`
|
|
1783
|
+
and `{ tool }`; `$.tool.register`'s `inputSchema` defaults to `{ type: 'object' }`;
|
|
1784
|
+
`$.theme.set` answers `requestId` when drawn; `$.config.set`'s value is a string, number,
|
|
1785
|
+
boolean or string array; a hook's `{ deny }` resolves `session.append`, `config.set` and
|
|
1786
|
+
`session.identity`.
|
|
1787
|
+
- `McpToolResult` takes `content` (`McpContentBlock`) and `structuredContent`.
|
|
1788
|
+
- **BREAKING** `$.ui.notice`, `invalidate`, `log`, `toast` and `status` returned a promise → `undefined` at once. `$.ui.notice`, `$.ui.invalidate`, `$.ui.log`, `$.ui.toast` and `$.ui.status` return
|
|
1789
|
+
`undefined` at once, as declared (`=> void`, claude-code/index.d.ts:2400, :2416, :2470, :2503,
|
|
1790
|
+
:2550; was D3). A misused argument throws where the call is made; a `{ deny }` or a failure of the
|
|
1791
|
+
event goes to the debug log (`<mod>: $.ui.log failed: ...`). New: `FIRED_CALLS`, `AT_ONCE_CALLS`,
|
|
1792
|
+
`ModsFiredMember`, `FiredEventName`; `describeApi` gives them `kind: 'sync'`; a nesting problem in
|
|
1793
|
+
the argument of any call that answers at once (`ui.resolve` and the timers too) now throws instead
|
|
1794
|
+
of returning a rejected promise. In the test kit an unstubbed `$.ui.toast`, `log` or `status` no
|
|
1795
|
+
longer rejects with `no implementation for <name>`; the line goes to the debug log.
|
|
1796
|
+
- **BREAKING** a hook that returned `undefined` passed → fails as `wrong-shape`, and `next()` with no argument rejects. What a hook returns follows the declarations (`Next`, claude-code/index.d.ts:6963;
|
|
1797
|
+
`StreamHookBody`, :13444). A function hook that returns `undefined` now fails as `wrong-shape`
|
|
1798
|
+
(`it returned nothing: return next(e) or a result`): its `.catch` handler answers, else its latest
|
|
1799
|
+
`next`'s result stands, else it is skipped. `next()` with no argument rejects, naming the hook and
|
|
1800
|
+
the mod; `next(undefined)` passes `undefined` on. On a streaming event `next(e)` is a
|
|
1801
|
+
`ModHookStream` (`NextOutput` changed): an async generator with a `result` promise that settles at
|
|
1802
|
+
the stream's end and rejects when it is closed early. Proven in
|
|
1803
|
+
tests/mods/chain/declared-next.test.ts.
|
|
1804
|
+
- **BREAKING** a mod's call skipped the whole mod → only the calling hook. Who a mod's call reaches. Only the calling hook is skipped as `re-entry`; the mod's other
|
|
1805
|
+
hooks see the call, and a call from the mod's code outside its hooks skips every hook of the mod
|
|
1806
|
+
(before, the whole mod was skipped). One of the engine's own events (`EventCalls`, :5011) now
|
|
1807
|
+
reaches every mod's hooks, not only those at or above the caller; a call the host serves
|
|
1808
|
+
(`OpEventOf`, :7292) still reaches only those. New export `isEngineOwnEvent(name)`. Proven in
|
|
1809
|
+
tests/mods/chain/caller-reach.test.ts.
|
|
1810
|
+
- **BREAKING** `ModNext.event`, `is`, `trace`, `HookCall.name`, `trace` and `TestKit.describe` optional → required. `ModNext` requires `event`, `is` and `trace`, `HookCall` requires `name` and `trace`,
|
|
1811
|
+
and `TestKit` requires `describe`; `SkipTier` takes `user`, so `next.to('user')` runs from a
|
|
1812
|
+
`prepend` hook (declarations 2.1.321).
|
|
1813
|
+
- **BREAKING** the results of `prompt.fill`, `prompt.suggest` and `prompt.mention` → the declared shapes. The results of `prompt.fill` (`{ isFilled?, refusal? }`), `prompt.suggest`
|
|
1814
|
+
(`{ isShown? }`) and `prompt.mention` (`{ deny?, type?, context? }`) are the declared ones.
|
|
1815
|
+
- **BREAKING** `Box` `flexBasis` accepted → refused. `Box` refuses `flexBasis`, which is not declared.
|
|
1816
|
+
- **BREAKING** `$.state.get` answered the value → `{ value, version }`, and `atom(...)` → `{ ref, initial, shape? }`. `$.state` values are versioned, as Claude Code 2.1.322 answers them: `$.state.get`
|
|
1817
|
+
answers `{ value, version }` (`{ version: 0 }` while unwritten), `$.state.set(ref, value, {
|
|
1818
|
+
ifVersion })` answers `{ isSet, version }` and writes nothing on a stale version, and a reference
|
|
1819
|
+
may carry `id` for a family's member. `StateStore.get(ref)` and `set(ref, value, ifVersion?)` take
|
|
1820
|
+
a `StateRef`; `atom(...)` is now `{ ref, initial, shape? }`. The state helpers gain `derive` and
|
|
1821
|
+
`memberOf` and the `shape` option, in both the kit and `STATE_LIBRARY_SOURCE`; `update` answers
|
|
1822
|
+
the new value.
|
|
1823
|
+
- **BREAKING** `createEventRules()`, `withApiRules`, `withUiRules`, `withRegisterRules` → `EVENT_RULES`, `API_RULES`, `uiRules()`, `REGISTER_RULES`. Mods rules are books: `createModChain({ clock, rules: [EVENT_RULES, API_RULES, uiRules()] })`.
|
|
1824
|
+
`EVENT_RULES`, `API_RULES`, `uiRules()` and `REGISTER_RULES` replace `createEventRules()`,
|
|
1825
|
+
`withApiRules(rules)`, `withUiRules(rules)` and `withRegisterRules(rules)`; an event named in two
|
|
1826
|
+
books throws. The rule type is `EventRule` (one per event) in an `EventRuleBook`.
|
|
1827
|
+
- Deviation: `require()` in a hooks module stays refused at load although Claude Code 2.1.321
|
|
1828
|
+
validates and loads it (oracle: `claude plugin validate` and a `--plugin-dir` load agree). On Bun a
|
|
1829
|
+
written `require` reaches any file or package past the import rules. Recorded in docs/SECURITY.md
|
|
1830
|
+
("`require()` in a hooks module"), spec/judgments.md (`requireCall`) and
|
|
1831
|
+
tests/mods/load/scan-require.test.ts; 0 mods of the corpus are affected; no option. A dynamic
|
|
1832
|
+
`import()` is refused by both. docs/SECURITY.md also says the scan is no sandbox (`Running a mod's
|
|
1833
|
+
code` under "Risks the host owns").
|
|
1834
|
+
- `$.http.fetch` `auth` is https only, is dropped on a redirect to another origin, and counts as
|
|
1835
|
+
carrying the session's credentials under `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`.
|
|
1836
|
+
- `ModsHostOptions.asyncContext` (new, optional; `() => new AsyncLocalStorage()` on Node or Bun):
|
|
1837
|
+
a mod's call skips only the calling hook (claude-code/index.d.ts:7298, "The calling hook alone is
|
|
1838
|
+
skipped"). Without it every running hook of the mod is skipped, as before.
|
|
1839
|
+
- `ModsHost.dispose()` also forgets the plugins it was given: a disposed host still referenced held
|
|
1840
|
+
every plugin's files. Run one mods host per session (claude-code/index.d.ts:4606, :10174).
|
|
1841
|
+
- `ModsHostOptions` moved to `src/mods/load/host-options.ts`; it is exported where it was.
|
|
1842
|
+
- `fakePorts().appended` rows leave out `door` and `origin`, as the port receives them.
|
|
1843
|
+
- `on` takes every pattern the declarations do (`Glob`, claude-code/index.d.ts:5346; `Namespace`,
|
|
1844
|
+
:6893; `Negation`, :6955): `*`, `ns.*` over any namespace of the events (`ui.*`, `tool.*`,
|
|
1845
|
+
`telemetry.*`, not only `classic.*`), and `!` before a name or a glob (`!*` is refused). `*` and a
|
|
1846
|
+
negation select no telemetry event, and a hook on `telemetry.*` needs the telemetry filter as one on
|
|
1847
|
+
a telemetry event does. `next.is` uses the same rule. Proven in
|
|
1848
|
+
tests/mods/chain/patterns.test.ts.
|
|
1849
|
+
- An element's `children` are flattened at any depth; `false`, `null`, `undefined` and `true` are
|
|
1850
|
+
dropped, and a number becomes its string (`RenderChildren`, :10224).
|
|
1851
|
+
- `update` writes through `$.state.set(ref, value, { ifVersion })` and applies its change again when
|
|
1852
|
+
another write beat it; an atom keeps a reference's `id`.
|
|
1853
|
+
- `MOD_TIERS` lives in `src/protocol/mods-tiers.ts` (still exported from `mods-events`).
|
|
1854
|
+
- `./mods` re-exports only `createBudget`, `deepFreeze`, `plainDataProblem`, `jsonChars`, `jsonBytes`
|
|
1855
|
+
and their types from the foundation.
|
|
1856
|
+
- `resolveTypesPath` returns `undefined` when there is no types path.
|
|
1857
|
+
|
|
1858
|
+
#### host
|
|
1859
|
+
|
|
1860
|
+
- **BREAKING** `SubstitutionScope.monitorPaths` → `shellPaths`, `MonitorPaths` → `ShellPaths`, `PluginHostOptions.hookExecution.shellPaths` and `HookCommandOptions.shellPaths` → `PluginHostOptions.shellPaths`. One option, `PluginHostOptions.shellPaths?: 'environment-reference' | 'pasted'`
|
|
1861
|
+
(default `'environment-reference'`), sets the path form of every shell-parsed string a session
|
|
1862
|
+
resolves. `SubstitutionScope.monitorPaths` is now `SubstitutionScope.shellPaths` and covers bash
|
|
1863
|
+
hooks, monitors and `headersHelper`. `PluginHostOptions.hookExecution.shellPaths` and
|
|
1864
|
+
`HookCommandOptions.shellPaths` are removed (see the bash hook entry). A host that needs the docs' literal text passes `shellPaths: 'pasted'`. Type
|
|
1865
|
+
`MonitorPaths` is now `ShellPaths`.
|
|
1866
|
+
- **BREAKING** `monitorsToStop` over `MonitorStart` → generic over what the host keeps. `monitorsToStop(started, event)` is generic over what the host keeps
|
|
1867
|
+
(`<T>(started: Iterable<T>, event: MonitorStopEvent) => T[]`).
|
|
1868
|
+
- **BREAKING** `SessionOptions.hookPorts` and `TurnOptions.hookPorts` → `ports`. `SessionOptions.hookPorts` and `TurnOptions.hookPorts` are renamed `ports` (same type,
|
|
1869
|
+
`Partial<Omit<HookPorts, 'locations'>>`): they now feed everything the session resolves, not only
|
|
1870
|
+
its hooks.
|
|
1871
|
+
- **BREAKING** `EnvFileStore.path` and `clear` without the session → with the session id first; `createEnvFiles` requires `sessionId`. `EnvFileStore.path(sessionId, kind, signal)` and `clear(sessionId, kind, signal)` take the session
|
|
1872
|
+
id, and `createEnvFiles(store, { sessionId, launchScript? })` requires it: one store serves every
|
|
1873
|
+
session of a host, keyed by `SessionOptions.sessionId`. Key the files by the id (for example
|
|
1874
|
+
`<dir>/<sessionId>/<kind>-env.sh`).
|
|
1875
|
+
- **BREAKING** `SessionOptions.permissions` and `TurnOptions.permissions` → `shellPermission`; `session.checkTool` `permissions` → `permissionContext`. Renamed: `SessionOptions.permissions` and `TurnOptions.permissions` are `shellPermission` (the
|
|
1876
|
+
answer for a skill's `!` command, a `ShellPermission`); the `permissions` option of
|
|
1877
|
+
`session.checkTool` is `permissionContext` (`startPermissions(...).context`).
|
|
1878
|
+
- **BREAKING** `folderTrusted`, `parentTrusted`, `nonInteractive` → one `trust` (`TrustSituation`). Workspace trust is one `TrustSituation` (`trusted`, `parent-trusted`, `non-interactive`,
|
|
1879
|
+
`dialog`): `workspaceTrustState(trust, facts, { nonInteractive?, signal? })` returns it,
|
|
1880
|
+
`settingsHooksMayRun(situation)` takes it, and `decideRepositoryPlugin` and `LocalSettingsFacts`
|
|
1881
|
+
take `trust` instead of `folderTrusted`, `parentTrusted` and `nonInteractive`.
|
|
1882
|
+
- **BREAKING** `session.dispatch` options → `SessionDispatchOptions`. `session.dispatch(event, facts, options)` takes `SessionDispatchOptions`: `{ signal, interrupt?,
|
|
1883
|
+
taskCompletedBy?, sourcesOnly? }`.
|
|
1884
|
+
- **BREAKING** the output-style helpers in `./skills` → `./format`; elicitation names → `./elicitation` only; layout names → `./layout` only. The output-style helpers (`resolveOutputStyle`, `includeCodingInstructions`, `listOutputStyles`,
|
|
1885
|
+
`outputStyleSystem`, `BUILTIN_OUTPUT_STYLES`, `DEFAULT_OUTPUT_STYLE_ID` and their types) moved from
|
|
1886
|
+
`./skills` to `./format`. The elicitation names are exported by `./elicitation` only, the layout
|
|
1887
|
+
names (`STANDARD_LAYOUT`, `COMPONENT_KINDS`, `declaredKey`...) by `./layout` only, `MatcherValue`
|
|
1888
|
+
by `./hooks` only (`./mods` has `ModMatcherValue`), and `ModelCall` by `./mods` only (`./testing`
|
|
1889
|
+
has `RecordedModelCall`). `PreloadedSkills` is the root's session type.
|
|
1890
|
+
- **BREAKING** `isRecord` from `format/validate/received.ts` and the marketplace schema → `protocol/is-record.ts`. `isRecord` has one home, `protocol/is-record.ts`; `format/validate/received.ts` and the
|
|
1891
|
+
marketplace schema no longer export it.
|
|
1892
|
+
- **BREAKING** `@rsaryev/claude-plugin-kit` → `@rsaryev/llx-plugin`. The project is renamed `llx-plugin`: the package is `@rsaryev/llx-plugin` and the repository
|
|
1893
|
+
`github.com/rsaryev/llx-plugin`. Import from the new name; the subpaths are unchanged.
|
|
1894
|
+
- **BREAKING** 1609 root values → 27; every domain at its subpath. The root exports what a host loop calls (27 values, down from 1609); every domain has its whole
|
|
1895
|
+
surface at a subpath: `./loading`, `./format`, `./skills`, `./hooks`, `./rules`, `./settings`,
|
|
1896
|
+
`./marketplace`, `./agents`, `./mods`, `./cli` (docs/API.md, "Entry points").
|
|
1897
|
+
- **BREAKING** the four `SURFACES` → `POLICY_SURFACES`, `LAUNCH_SURFACES`, `SUBSTITUTION_SURFACES`, `UI_SURFACES`. Names that meant different things are named by meaning: `POLICY_SURFACES`, `LAUNCH_SURFACES`,
|
|
1898
|
+
`SUBSTITUTION_SURFACES` and `UI_SURFACES` for the four `SURFACES`; `readAgentSetting`,
|
|
1899
|
+
`readThemeSetting` and `readOutputStyleSetting` for the general setting readers;
|
|
1900
|
+
`PLUGIN_TELEMETRY_EVENTS` for the plugin telemetry names.
|
|
1901
|
+
- **BREAKING** a cancellable function's `signal` anywhere → `{ signal }` as its last argument. Every kit function that can be cancelled takes `{ signal }` as its last argument
|
|
1902
|
+
(`loadSettingsLayers(sources, { signal, scopes })`, `fetchArchive(plan, ports, { signal })` and 20 more);
|
|
1903
|
+
port methods keep the signal as their last parameter.
|
|
1904
|
+
- `SAFE_ENVIRONMENT_VARIABLES` is replaced by `src/rules/bash/safe-env.ts`
|
|
1905
|
+
(`isSafeAssignment`, `assignedVariable`), and `redirectFacts` and `fileTargetFacts` by
|
|
1906
|
+
`targetFacts(commandTargets(command), ctx, resolvedPaths)`; `Target.tee` is `Target.source`.
|
|
1907
|
+
- An empty `CLAUDE_CONFIG_DIR` counts as unset everywhere (`settingsLocations`, saved workflows,
|
|
1908
|
+
agent memory), as it already did for the plugin store and `headersHelper`.
|
|
1909
|
+
- `session.onBackground` listeners get a second argument, `BackgroundSource`
|
|
1910
|
+
`{ sessionId, handlerId, outcome, exitCode? }`, `outcome` being `completed`, `cancelled`,
|
|
1911
|
+
`timed-out` or `failed`.
|
|
1912
|
+
- `withTurn(turn)`: a `TurnOptions` field given as `undefined` is ignored, as in `HostUpdate`.
|
|
1913
|
+
- Two plugins given to the host under one id: the first is kept and the other is an error issue,
|
|
1914
|
+
`A plugin with this id was given before: this one is not loaded`.
|
|
1915
|
+
- The root entry exports the types its functions name (`Expansion`, `FolderScan`, `ShellPermission`,
|
|
1916
|
+
`HookPorts`, `SessionLimits`, `BackgroundSource` and the rest listed in docs/API.md).
|
|
1917
|
+
- The optional peers: `@anthropic-ai/claude-agent-sdk` and `@modelcontextprotocol/sdk` are marked
|
|
1918
|
+
optional (`peerDependenciesMeta`), so a host that uses neither need not install them.
|
|
1919
|
+
|
|
1920
|
+
#### cli
|
|
1921
|
+
|
|
1922
|
+
- **BREAKING** `planCli*` aliases → `planInstall`, `planEnable`, `planDisable`, `planMarketplaceUpdate` of `./cli`. `planInstall`, `planEnable`, `planDisable`, `planMarketplaceUpdate` and `MarketplaceUpdatePlan`
|
|
1923
|
+
are exported by `./cli` only; the `planCli*` aliases are gone, so import the plain names from
|
|
1924
|
+
`./cli`. `planMarketplaceUpdate` takes `UpdateArguments.surface: 'session'` for the
|
|
1925
|
+
`✔ Updated N marketplace(s)` line, and `planMarketplaceRemove` also returns `dropEnabledEntries`,
|
|
1926
|
+
the `enabledPlugins` entries of the removed marketplace (from `facts.enabledEntries`).
|
|
1927
|
+
- **BREAKING** `pluginFoldersOf` over a listing (`pluginDirFolders`, `PluginDirListing`) → over what `readPluginDirectory` read. `pluginFoldersOf(request, reading, hostVersion?)` (`./cli`) takes what `readPluginDirectory` read
|
|
1928
|
+
instead of a listing; `pluginDirFolders` and `PluginDirListing` are gone, so one rule decides
|
|
1929
|
+
whether a folder is a plugin or holds plugins.
|
|
1930
|
+
- `claude plugin validate` prints the `calls`, `env` and `state` lines as Claude Code 2.1.321 does:
|
|
1931
|
+
sorted, writes before reads, `nothing` on an unused side, `calls: nothing on $`; `derive` and
|
|
1932
|
+
`memberOf` count as the atoms they read (oracle 2.1.321).
|
|
1933
|
+
- `planInstall` (`./cli`): `InstallEffects.enable` is false for a plugin already installed and
|
|
1934
|
+
follows `defaultEnabled` otherwise; the success line lists the dependencies it installed
|
|
1935
|
+
(` (+ N dependencies: a@m, b@m)`).
|
|
1936
|
+
|
|
1937
|
+
#### repository
|
|
1938
|
+
|
|
1939
|
+
- One definition per repeated text: the three settings file paths are `SETTINGS_FILE`
|
|
1940
|
+
(`src/format/settings-files.ts`), read by the install scopes, the enablement notes, the settings
|
|
1941
|
+
file locations, the session's settings locations and the wildcard warning; the two load failures
|
|
1942
|
+
of a marketplace source are `SOURCE_FAILURE` (`src/format/marketplace/source-failures.ts`), read by
|
|
1943
|
+
the load status, the policy-list notice and the fetch plan; a marketplace value of the wrong type
|
|
1944
|
+
is reported by one `mismatch`. The two glob engines are named for their dialect:
|
|
1945
|
+
`gitignoreMatches` (path rules, skill `paths`) and `relevanceGlobMatches` (plugin relevance).
|
|
1946
|
+
spec/judgments.md records that the launch-only variables are dropped from every settings file.
|
|
1947
|
+
|
|
1948
|
+
### Fixed
|
|
1949
|
+
|
|
1950
|
+
#### format
|
|
1951
|
+
|
|
1952
|
+
- MCP bundles: a bundled server's `${user_config.KEY}` is answered from that bundle's saved settings
|
|
1953
|
+
(`bundleSettings`), else the setting's default, in the one substitution pass, so a saved value
|
|
1954
|
+
holding `${HOME}` or `${user_config.other}` is never expanded again; one with neither stays as
|
|
1955
|
+
written with a warning, as a plugin option does. It no longer resolves against the plugin's own
|
|
1956
|
+
`userConfig`.
|
|
1957
|
+
- MCP bundles: a required bundle setting saved as empty text keeps the server from starting, the
|
|
1958
|
+
same rule (`missingBundleSettings`) the host's dialog uses.
|
|
1959
|
+
- MCP sources: a declared `./.mcp.json`, or a file listed twice, loads once.
|
|
1960
|
+
- `readPluginDirectory` (now at the root) classifies a folder with the one folder-of-plugins rule.
|
|
1961
|
+
- Reading frontmatter no longer writes YAML parser warnings to the host's process (a key that is a
|
|
1962
|
+
collection, as in `{ SKILL_NAME }: x`); the key is read as its text, as before.
|
|
1963
|
+
- An abort stops: `loadPlugin` and `validatePlugin` reject with the signal's reason and call the port no
|
|
1964
|
+
more once it aborts (before, a port that ignored the signal was read to the end, and one that honoured
|
|
1965
|
+
it was still called by the other branches); a command hook whose signal is aborted is `cancelled`
|
|
1966
|
+
instead of a non-blocking error, and one aborted before the start spawns nothing.
|
|
1967
|
+
- One containment check for every plugin path: `locate` moved to `format/locate.ts`, and the MCP
|
|
1968
|
+
sources (`.mcp.json`, a declared `.json` file, a bundle path) now go through it. An absolute or
|
|
1969
|
+
backslash `mcpServers` path, or one that is a symlink leading outside the plugin, is rejected as
|
|
1970
|
+
`path escapes plugin directory` instead of being read; `rootRelative` drops `.` and empty segments,
|
|
1971
|
+
so `.//x` is read as `x` and no port is handed an absolute path. `collectMcpServers` takes
|
|
1972
|
+
`platform` and `roots`, and `loadPlugin` passes them.
|
|
1973
|
+
- Declare the MCP SDK as a peer: the public protocol declarations reference its official types,
|
|
1974
|
+
so consumer projects must not depend on this checkout's development dependencies to find them.
|
|
1975
|
+
- A remote MCP server's `url` and `headers` read as empty the credential names Claude Code empties (61 names and 5 name families, without regard to case), not only the five the docs give as examples; `bun run oracle:remote-mcp-env` re-observes them.
|
|
1976
|
+
- Loading, as Claude Code 2.1.319 does (`bun run corpus:load`, whole-inventory agreement from
|
|
1977
|
+
82.7% to 96%): a guard hook that cannot be read, or an unreadable inline `mcpServers` entry of
|
|
1978
|
+
the manifest, keeps the plugin from loading; a plugin's hooks do not load an unknown event; a
|
|
1979
|
+
skill folder reached twice loads once; a skill folder named by a manifest path or the plugin
|
|
1980
|
+
root takes its frontmatter `name`; a `SKILL.md` directly in `skills/` is no skill.
|
|
1981
|
+
- MCP contracts review: `claude mcp add` and `add-json` refuse a name already stored at the scope
|
|
1982
|
+
(`McpAddOptions.existing`, `readMcpAdd`'s third argument, `mcpAddKey`) with `MCP server <name> already
|
|
1983
|
+
exists in <scope> config`; the session-token-rejected state of a connector is for a `401` only, a
|
|
1984
|
+
`403` flags it; the shapes of a tool, a prompt and the elicitation capability are the MCP SDK's
|
|
1985
|
+
(`Tool`, `Prompt`, `PromptArgument`, `ClientCapabilities`, re-exported by `protocol/official.ts`) and
|
|
1986
|
+
`prepareMcpTool` takes an input schema of any type (`McpListedTool`); result limits read the SDK's
|
|
1987
|
+
content parts directly; `as` casts are gone from the add readers and the tests. The tests assert what
|
|
1988
|
+
their titles claim: the elicitation form validation moved out of `spec(...)`, titles that claimed
|
|
1989
|
+
more than they checked were trimmed, the `/cd` and `https://` echoes were removed with judgments
|
|
1990
|
+
recording what is the host's, and the 11,001-character error boundary is covered.
|
|
1991
|
+
- MCP `headersHelper` review: a project or local server with no helper in an untrusted folder no
|
|
1992
|
+
longer gets the `headersHelper not run` notice (an agent file's server stays unloaded);
|
|
1993
|
+
`CLAUDE_CODE_MCP_SERVER_URL` redacts only the removed variables the URL expanded
|
|
1994
|
+
(`HelperServer.expandedVariables`), so a short unrelated value such as `8` no longer corrupts it;
|
|
1995
|
+
`attemptWithHeadersHelper` takes the server name and reports errors.md's `Server rejected the
|
|
1996
|
+
Authorization header minted by the configured headersHelper (HTTP <status>)` when a connection is
|
|
1997
|
+
rejected after the helper supplied `Authorization`, and `produce` now gives the helper's headers
|
|
1998
|
+
alone (`send` merges the static ones); the origin rules carry `providesPluginRoot` instead of a
|
|
1999
|
+
comparison with `'plugin'`; the monitor opt-in tests moved out of `spec(...)`, the PowerShell path
|
|
2000
|
+
test asserts the native exported path, and the helper tests assert the per-cause messages, the
|
|
2001
|
+
re-plan on a re-run and that every settings scope is an origin; the `docs/API.md` snippet narrows
|
|
2002
|
+
its union.
|
|
2003
|
+
- MCP allow and deny lists review: `PolicyEnv` is exported once and replaces the three hand-declared
|
|
2004
|
+
environment types; `createMcpServerPolicy` documents that it reads the lists at creation and a host
|
|
2005
|
+
rebuilds it when settings change before a reconnect. The tests no longer claim the reconnect line, the
|
|
2006
|
+
managed-set requirement is proven by its own denylist and `managed-mcp.json` tests, and the judgments
|
|
2007
|
+
on layered `env` filling, `headersHelper`, empty `serverUrl` entries, per-source `serverName` rules and
|
|
2008
|
+
an empty managed allowlist under the lock now have tests.
|
|
2009
|
+
- MCP settings review: `managedServerEntries(layers, { desktopManaged })` reads no managed entry in the
|
|
2010
|
+
Claude Desktop Code tab on a third-party deployment or in Cowork sessions and warns that the key is
|
|
2011
|
+
not read there; the rank of a managed server is proven under "How provided servers load" with a
|
|
2012
|
+
negative case; the approval and rejection of parent and `--add-dir` settings, the `listed in`
|
|
2013
|
+
commands and the enterprise-blocked status are recorded as judgments; the tests of toggles, user
|
|
2014
|
+
scope and plugin or connector duplicates by command now assert what they claim.
|
|
2015
|
+
- MCP: `displayHeaders(server, scope)` gives the header names `claude mcp get` shows for a server
|
|
2016
|
+
the organization provides (managed-mcp.md, "What users can see and change"), and the tests of
|
|
2017
|
+
`displayReference`, the credential debug line and the endpoint key now assert what they claim.
|
|
2018
|
+
- Format: Claude Code's own leniency about frontmatter and hooks, found by running `claude plugin
|
|
2019
|
+
validate` on real plugins. A block plain YAML refuses is retried with the value of each top-level
|
|
2020
|
+
line quoted when it holds a character plain YAML cannot (`description: Does X: then Y`,
|
|
2021
|
+
`argument-hint: [a] [b]`, `tools: *`), a duplicate key loads with the later value, and plugin
|
|
2022
|
+
hooks drop an entry they cannot read with a warning (an error under `PreToolUse` and
|
|
2023
|
+
`PermissionRequest`, where a missing guard fails the file) instead of failing the whole file;
|
|
2024
|
+
`settings.json` hooks keep failing whole, as settings.md says.
|
|
2025
|
+
- The entries are read and reported beside an unsound top level; the "no description"
|
|
2026
|
+
and "no plugins" warnings and the entry version cross-check are made only when the schema passes
|
|
2027
|
+
(a reserved name does not stop the cross-check); unknown-field hints skip the keys the validator
|
|
2028
|
+
only lets through and never suggest a key more than half the misspelling's length away.
|
|
2029
|
+
- Validator wording: the messages of a reserved or non-kebab plugin name, a name Claude Desktop
|
|
2030
|
+
rejects, a missing required field and a version mismatch are the official CLI's, not shortened
|
|
2031
|
+
ones; the docs-quoted part of each is still asserted under `spec()`.
|
|
2032
|
+
- `listOutputStyles` marks one row current: a custom style that reuses a built-in id or an earlier
|
|
2033
|
+
style's id is no longer listed, matching what `resolveOutputStyle` selects.
|
|
2034
|
+
- LSP servers of a plugin: `readLspConfig` and `readLspServer` (the 14 fields of manifest-reference's
|
|
2035
|
+
`lspServers` table as a strict object; `command` without spaces unless it starts with `/`,
|
|
2036
|
+
`extensionToLanguage` with dot-prefixed keys, positive and zero-or-more integers; one invalid entry
|
|
2037
|
+
skips the whole map with `Invalid LSP server config for ".lsp.json"`), `mergeLspSources` (a later
|
|
2038
|
+
server replaces an earlier one), `resolveLspServer` (`command`, `args`, `env` and `workspaceFolder`
|
|
2039
|
+
substituted, the three path variables exported, defaults `requestTimeout` 60000, `restartOnCrash`
|
|
2040
|
+
and `diagnostics` true, `transport` always `stdio`), and the runtime decisions the host reads:
|
|
2041
|
+
`lspRestartDecision`, `languageIdFor`, `lspExtensionConflicts`, `initializeOptionsOf` and
|
|
2042
|
+
`didChangeConfigurationOf`.
|
|
2043
|
+
- Monitors of a plugin: `readMonitors` (the four fields of manifest-reference's `monitors` table as a
|
|
2044
|
+
strict entry; unique names; `when` read as `always` or `on-skill-invoke:<skill>`, anything else an
|
|
2045
|
+
error), `resolveMonitor` (path variables and `${ENV_VAR}` in `command`, `${user_config.*}` refused
|
|
2046
|
+
with the errors.md message, nothing exported) and `monitorsToStart`, the pure engine that says which
|
|
2047
|
+
monitors an event starts: `always` on session start and plugin reload, a skill monitor the first
|
|
2048
|
+
time its skill runs, none in non-interactive mode.
|
|
2049
|
+
- `loadPlugin`: a plugin folder through `PluginFiles` to a typed `Plugin`, with the optional
|
|
2050
|
+
manifest, every component found by the standard layout registry (`STANDARD_LAYOUT`), the
|
|
2051
|
+
`replace`, `add` and `merge` rule of each manifest key (`COMBINE`), the `Default <folder>/ folder
|
|
2052
|
+
is ignored` warning, containment and existence checks (`<component> path escapes plugin
|
|
2053
|
+
directory`, `<component> path not found`), `settings.json` over the manifest `settings`
|
|
2054
|
+
(`readPluginSettings`), the `bin/` decisions (`binPathEntries`, `pathWithPluginBins`,
|
|
2055
|
+
`distribution`), the `COMPONENT_READERS` seam, and `resolveProcesses` for MCP servers, language
|
|
2056
|
+
servers and monitors.
|
|
2057
|
+
- Layout discovery: a `skills` entry that is a file and an `agents` entry that is a directory are
|
|
2058
|
+
now errors instead of being dropped or scanned silently (manifest-reference, "Path-only fields");
|
|
2059
|
+
a manifest `hooks` path that names `hooks/hooks.json` no longer loads the file twice, so its hooks
|
|
2060
|
+
run once; the symlinked-folder, duplicate-file and path-shape decisions are recorded in
|
|
2061
|
+
`spec/judgments.md`. New tests cover the `bin/` decisions, the depth cap with a really looping
|
|
2062
|
+
folder, single-file `workflows` and `experimental.themes`, the symlink escape of default
|
|
2063
|
+
`monitors/monitors.json`, `settings.json` and a root `SKILL.md`, and exact issues for invalid LSP,
|
|
2064
|
+
monitor and settings files.
|
|
2065
|
+
- Skill, command and agent content: the `user_config` policy applied to a command body is now
|
|
2066
|
+
recorded as the kit's reading (the page words it for skill and agent content and lists commands
|
|
2067
|
+
only in the one table row) in `spec/judgments.md` and the `substituteContent` doc comment.
|
|
2068
|
+
- Monitors: the duplicate-name error and the first-wins rule, the error for any other `when` string,
|
|
2069
|
+
and the host-owned `description` display and `command` process behaviour are recorded in
|
|
2070
|
+
`spec/judgments.md` (the docs say only "Identifier unique within the plugin"); the `description`
|
|
2071
|
+
test no longer claims the task panel, and the option-variable test now checks the
|
|
2072
|
+
`CLAUDE_PLUGIN_OPTION_` prefix against a scope with configured options.
|
|
2073
|
+
- LSP: a refused `extensionToLanguage` now names the keys that lack a dot; `languageIdFor` and
|
|
2074
|
+
`lspExtensionConflicts` document a plugin-qualified key (`plugin:server`) so two plugins with the
|
|
2075
|
+
same server name stay apart; the integer-like-name ordering limit and the host-owned timeouts are
|
|
2076
|
+
recorded in `spec/judgments.md`.
|
|
2077
|
+
- MCP servers: an entry with `type: "streamable-http"` now reads as `http` (mcp.md, "Option 2");
|
|
2078
|
+
an entry with a `url` and no `type` is dropped with the message mcp.md quotes instead of an
|
|
2079
|
+
unrelated stdio error (and no longer reads as stdio when it also has a `command`, so a stray `url`
|
|
2080
|
+
can no longer reach the resolver and throw); a `type: "sdk"` entry is skipped with the quoted
|
|
2081
|
+
message; `isRemoteMcpServer` follows the transport and not the presence of a `url`.
|
|
2082
|
+
- `readFlag` no longer reads `constructor` or `__proto__` as a flag, and `readList` no longer splits
|
|
2083
|
+
a glob such as `src/**/*.{ts,tsx}` or a path with a space.
|
|
2084
|
+
- Variable substitution: a remote MCP server now reads the documented credential variables
|
|
2085
|
+
(`ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, `AWS_BEARER_TOKEN_BEDROCK`, `HTTPS_PROXY`,
|
|
2086
|
+
`NPM_TOKEN`) as empty in `url` and `headers`; `UserConfigValue` is derived from the SDK's
|
|
2087
|
+
`Settings`; `substituteDeep` returns `unknown` instead of an unchecked cast; the table "Where each
|
|
2088
|
+
variable resolves" is asserted row by row, and the path variables are checked against the port
|
|
2089
|
+
calls they make.
|
|
2090
|
+
- Marketplace entries and the strict-mode merge (`marketplace`): `createEntryReader` and `readEntry`
|
|
2091
|
+
read each `plugins[i]` of `marketplace.json` alone (`name` as an install id with the documented
|
|
2092
|
+
messages, `source` handed to the plugin source parser, `description`, `version`, `category`,
|
|
2093
|
+
`tags`, `strict`, `dependencies`, `defaultEnabled`, `displayName`, `metadata`, every other
|
|
2094
|
+
`plugin.json` field, unknown keys, the archive-only `headers` and `headersHelper` reports, the
|
|
2095
|
+
version-versus-plugin.json warning, duplicate names, the quoted `relevance`, `metadata` and
|
|
2096
|
+
`experimental` warnings, and the typed `relevance` model with its limits and the `signals.hosts`
|
|
2097
|
+
rule); `mergeEntryWithManifest` combines an entry with the plugin's `plugin.json` as the strict-mode
|
|
2098
|
+
table says (the entry is the manifest without one; strict appends the component fields and the
|
|
2099
|
+
entry's hooks replace the manifest's per event; strict false with components is the
|
|
2100
|
+
`has conflicting manifests` error; the entry-only fields are ignored beside a `plugin.json`;
|
|
2101
|
+
`defaultEnabled` and the display fields come from the entry, `version` from the manifest, the
|
|
2102
|
+
entry name is the install id and the manifest name the namespace; a root-source entry that lists
|
|
2103
|
+
skills does not scan the default `skills/`; hooks as a path or an array are reported as not yet
|
|
2104
|
+
supported in a marketplace entry). `EntrySlot.mode`, `ReadMode` and duplicate-name detection join
|
|
2105
|
+
the marketplace assembly.
|
|
2106
|
+
|
|
2107
|
+
#### settings
|
|
2108
|
+
|
|
2109
|
+
- `resolveChannel` for a channel bound to a bundled server reads that bundle's settings.
|
|
2110
|
+
- Security: a settings file could set `CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS`,
|
|
2111
|
+
`CLAUDE_CODE_WARN_DISK_FREE_GIB` and `CLAUDE_CODE_WARN_MEMORY_FREE_GIB` through
|
|
2112
|
+
`resolveSettingsEnv`, and so through the host. The exported resolver was a second one
|
|
2113
|
+
(`settings/env.ts`) with its own `HOST_OWNED` list, which lacked these three of the variables
|
|
2114
|
+
Claude Code reads from the launch environment only; the `launch-only` list of `settings/env`
|
|
2115
|
+
had them. There is now one resolver and one list: every launch-only name is dropped from every
|
|
2116
|
+
file, managed included, as `launch-only`.
|
|
2117
|
+
- Managed approval and agent-key environment flags are read trimmed and in any casing
|
|
2118
|
+
(`isTruthyEnv` / `isFalsyEnv`), as the other on/off variables are.
|
|
2119
|
+
- A parent-settings key that is removed no longer leaves an empty block.
|
|
2120
|
+
- An `env` value that is not a string is read as the text claude sets (`{"PORT": 8080}` is `"8080"`,
|
|
2121
|
+
`null` is `"null"`) with a warning, instead of being dropped (oracle 2.1.321).
|
|
2122
|
+
- Managed MCP review: the startup exits follow the page's order (`--mcp-config` before
|
|
2123
|
+
`--strict-mcp-config`, a judgment when both apply); `/mcp` toggles no longer reach the servers of
|
|
2124
|
+
`managed-mcp.json` (the page documents them for provided servers only); an entry that fails several
|
|
2125
|
+
checks gets the notice of the first in the page's order; `reconcileManagedServers` and the hooks
|
|
2126
|
+
merge share one `canonical` helper (plain key sort, no locale); the plan-level tests now cover the
|
|
2127
|
+
allowlist split between file and provided servers, same-name precedence, `desktopManaged`, an empty
|
|
2128
|
+
map with connectors or Chrome allowed, and the connectors switch together with `allowAllClaudeAiMcps`.
|
|
2129
|
+
- Managed-only and fail-closed key classes (managed-settings.md, "Keys only a managed source can
|
|
2130
|
+
set", "Keys that fail closed", "Invalid values inside `sandbox`"). Sixteen more keys have rows
|
|
2131
|
+
(`allowedMcpServers`, `allowedProviders`, `availableModelsMatch`, `deniedModels`,
|
|
2132
|
+
`forceLoginOrgUUID`, `gatewayInternalNetworks`, `disableSideloadFlags` and the control keys among
|
|
2133
|
+
them); a managed-only key in a user, project, local or `--settings` file is dropped with a warning.
|
|
2134
|
+
In the policy tier an unreadable value reads as the table's fallback: an empty allowlist for the
|
|
2135
|
+
MCP, provider, model, channel, marketplace and hook lists, `exact` for `availableModelsMatch`,
|
|
2136
|
+
`refuse` for `crossSessionInbound`, no organization for `forceLoginOrgUUID`, `true` for a lock; a
|
|
2137
|
+
`sandbox` block is repaired field by field and `sandbox.credentials` entry by entry; `permissions`
|
|
2138
|
+
and `autoMode` withhold their grants while a deny list cannot be read (`gatewaySignInRefused`,
|
|
2139
|
+
`PolicyLayer.invalid`). An unrecognized `crossSessionInbound` in a user, project, local or
|
|
2140
|
+
`--settings` file holds inbound messages even under a source that says `accept`, with the warning
|
|
2141
|
+
of errors.md. New `sideloadVerdict` and `addPluginsRefusal` for `disableSideloadFlags`. A `null`
|
|
2142
|
+
removes a general key as it removes a policy key.
|
|
2143
|
+
- Managed key classes, review of the fail-closed findings. A managed `forceLoginOrgUUID` list with
|
|
2144
|
+
one non-text entry is unreadable whole and admits no organization. `gatewayInternalNetworks`
|
|
2145
|
+
refuses the ranges claude-apps-gateway.md names (loopback, link-local, CGNAT, the VPN and NAT64
|
|
2146
|
+
ranges, the three documentation ranges, `0.0.0.0/8`, `192.88.99.0/24`, multicast). `disableAutoMode`
|
|
2147
|
+
and `skipDangerousModePermissionPrompt` fail closed (`"disable"` and `false`), `forceRemoteSettingsRefresh`
|
|
2148
|
+
reads as `true` when unreadable, every restrictive lock of `permissions` is repaired in a managed
|
|
2149
|
+
source, and `worktree` and `attribution` are repaired per field. `sandbox.credentials` enforces the
|
|
2150
|
+
`name` rule and the per-list mask field rules, the warning of a degraded `files` entry notes the
|
|
2151
|
+
unenforced read block, and `sandbox.filesystem.disabled` is pinned to managed settings by a
|
|
2152
|
+
`deny` entry or a `sandbox.filesystem` block; `allowManagedMcpServersOnly` makes only the managed
|
|
2153
|
+
`allowedMcpServers` count. An empty list in a managed `sandbox` block stays. `merged()` carries the
|
|
2154
|
+
hold of an unrecognized `crossSessionInbound`. `sideloadRefusal` and `pluginDirsOf` delegate to
|
|
2155
|
+
`sideloadVerdict`, so `--agents`, `--mcp-config` and `CLAUDE_CODE_PLUGIN_DIRS` exit at startup as the
|
|
2156
|
+
docs say; new `midSessionMcpUpdates` for cloud sessions.
|
|
2157
|
+
- Managed sources, review of the composition findings. An unreadable source now carries the
|
|
2158
|
+
underlying error (`{ unreadable: 'denied' | 'failed', reason }`), and the exit message names the
|
|
2159
|
+
failed path or registry value in its `Detail:` line as errors.md shows it. An unlistable
|
|
2160
|
+
`managed-settings.d/` reports `Managed settings drop-in directory could not be read: <reason>`, a
|
|
2161
|
+
warning when the operating system denied the read and an error otherwise; a failure that exits
|
|
2162
|
+
outranks a denial elsewhere in the file source. The helper's `forceRemoteSettingsRefresh` is no
|
|
2163
|
+
longer left in the helper layer, and `PolicyHelper` and `ManagedBehavior` take their types from the
|
|
2164
|
+
SDK. Tests prove every cross-source key, every key of the merge table rows and the login-key gateway
|
|
2165
|
+
rules; the delivery and applicability stubs that echoed constants are now recorded as judgments.
|
|
2166
|
+
`docs/API.md` states the order in which a host wires the policy helper.
|
|
2167
|
+
- Settings merge core, review of the permission, effort, source and file-location findings. The
|
|
2168
|
+
local file's allow rules and directories wait for trust only when it is tracked in git or `.claude`
|
|
2169
|
+
is a symlink (`permissionRuleLists(view, trusted, local)`); a host's parent `Read(!...)` and
|
|
2170
|
+
`Edit(!...)` deny and ask rules are dropped with and without the lock. A managed document that does
|
|
2171
|
+
not parse is fatal (`loadSettingsLayers` returns `fatal` and no layer, and `SettingsSources.label`
|
|
2172
|
+
names the source in the message). `effortLevel` and `modelSettings` take low, medium, high and xhigh
|
|
2173
|
+
only (from the SDK type, no `max`); new `effectiveCap` and `capEffort` apply `maxEffortLevel` with
|
|
2174
|
+
its per-model entry. General keys are value-checked (a wrong type, a malformed permission rule,
|
|
2175
|
+
the telemetry export variables of a repository's `env`); `--permission-mode`, `--effort` for
|
|
2176
|
+
`modelSettings` and the `availableModels` gate on `--model` join the session overrides;
|
|
2177
|
+
`managedChangeAdvice` answers "A managed change hasn't reached you". New `permissionRulesOf`
|
|
2178
|
+
(host) parses the lists with the source of each file.
|
|
2179
|
+
- Permissions: the settings keys and the starting mode. `permissions`, `allowManagedPermissionRulesOnly`,
|
|
2180
|
+
`autoMode`, `disableAutoMode`, `skipAutoPermissionPrompt`, `skipDangerousModePermissionPrompt` and
|
|
2181
|
+
`useAutoModeDuringPlan` are policy keys (per-field repair, fail-closed in the policy tier, the merge and
|
|
2182
|
+
scope of each) behind `resolvePolicy(...).permissions`, with `startingMode` (flag, `defaultMode`, built-in
|
|
2183
|
+
default, the locks, the background bypass notice), `settingsLocations`, and `startPermissions`, which
|
|
2184
|
+
builds the `DecideContext`. `decide` gains `cannotPrompt` (a `-p` run denies what would prompt),
|
|
2185
|
+
`connectorToolsSetToAsk`, `preapprovedFetchDomain` and `repositoryDirectories`; `approvalMemory` tabulates
|
|
2186
|
+
"don't ask again".
|
|
2187
|
+
- `resolveSettingsEnv` and `applySettingsEnv`, the `env` block (merge per variable, trust, the
|
|
2188
|
+
variables project and local files cannot set, the host-owned identity variables).
|
|
2189
|
+
- Settings layers (`settings`): `readSettingsLayer` turns the JSON of one source (managed, parent,
|
|
2190
|
+
`--settings`, local, project, `--add-dir`, user) into a layer: marketplace key aliases read as
|
|
2191
|
+
their canonical key, a key its Scope line does not allow dropped with a warning, an unreadable
|
|
2192
|
+
value repaired as managed-settings.md says (empty allowlists, `true` locks, `strictPluginOnlyCustomization`
|
|
2193
|
+
as `true`, invalid entries stripped). `createPolicyView` answers `get`, `winner` and
|
|
2194
|
+
`eachFromHighest` over the ordered layers with one merge rule per key (`KEY_SPECS`), and
|
|
2195
|
+
`loadSettingsLayers` reads layers from a host's `SettingsSources`. `mergeHooks` combines the
|
|
2196
|
+
`hooks` of every file without letting a file remove a managed hook, and runs a handler defined in
|
|
2197
|
+
two files once. `POLICY_KEYS`, `PLUGIN_ONLY_SURFACES`, `SKILL_OVERRIDE_STATES`, `WORKFLOW_SIZES`,
|
|
2198
|
+
`MARKETPLACE_SOURCE_KINDS` and `MarketplaceSource` are asserted equal to the SDK's types.
|
|
2199
|
+
- The plugin keys of the settings (`settings/plugins`): `enabledPlugin` and `forceEnabledByManaged`
|
|
2200
|
+
(`enabledPlugins` precedence, managed block and hide, `defaultEnabled`, `@synced`), `pluginConfig`
|
|
2201
|
+
(`pluginConfigs`, user and managed only, the `@builtin` id aliases), `modOrder` (`prependPlugins`
|
|
2202
|
+
and `appendPlugins`, the built-in guard), `syncDecision` (`syncClaudeAiPlugins`), `trustWarning`
|
|
2203
|
+
(`pluginTrustMessage`) and `createPluginSettingsPolicy`.
|
|
2204
|
+
- Hook policy (`settings/hooks`): `createHookPolicy(view, locks, context)` answers `disableAllHooks`
|
|
2205
|
+
and `allowManagedHooksOnly` as `runs(origin)` for every origin of a hook (managed settings, SDK
|
|
2206
|
+
callbacks, user, project, local and `--settings` files, plugins and their mods, frontmatter), with
|
|
2207
|
+
the value left after precedence deciding the reach, force-enabled plugins matched by their full
|
|
2208
|
+
`plugin@marketplace` id, command-sourced plugins and built-in mods; `commandsDisabled`,
|
|
2209
|
+
`commandSettingsNarrowedToManaged`, `monitorsRun` and `goalCommandAvailable` give what follows the
|
|
2210
|
+
hooks. `httpHook(url, allowedEnvVars)` applies `allowedHttpHookUrls` (`matchUrlPattern`: `*`,
|
|
2211
|
+
host case and trailing dot) and `httpHookAllowedEnvVars` (the outer limit on a hook's list), both
|
|
2212
|
+
merged across files. The Agent SDK's `managedSettings` rules (ignored beside an administrator
|
|
2213
|
+
unless `parentSettingsBehavior` is `merge`; an empty allowlist ignored when the administrator ships
|
|
2214
|
+
hooks or enables a plugin) are applied before any decision.
|
|
2215
|
+
- Channel keys (`settings/channels`): `createChannelSettingsPolicy(view, context)` answers
|
|
2216
|
+
`channelsEnabled` as `gate()` (blocked on Team and Enterprise, and on Console with managed
|
|
2217
|
+
settings, until managed `true`; open on Console without managed settings and on Pro, Max and
|
|
2218
|
+
Ultra; `false` is unset; users cannot lift it) and `allowedChannelPlugins` as `allowlist()` and
|
|
2219
|
+
`allowed(entry)` (the managed list replaces the host's default and is taken whole, an
|
|
2220
|
+
empty list blocks every plugin, an invalid value is an empty list, the string form equals the
|
|
2221
|
+
object; an entry carries the flag it came from, and the development flag skips the list for its own
|
|
2222
|
+
entries only, a bare `server:<name>` included, never for a closed gate, and only in an interactive
|
|
2223
|
+
session).
|
|
2224
|
+
- Customization lock and the composed policy (`settings/customization`, `settings/resolve`):
|
|
2225
|
+
`createCustomizationPolicy(view, context)` reads `strictPluginOnlyCustomization` (`true` locks all
|
|
2226
|
+
four kinds, an array the kinds it names, an unreadable value `true`, an unknown name locks nothing
|
|
2227
|
+
and is counted) and answers `loads(surface, origin)` for skills, agents, hooks and MCP servers from
|
|
2228
|
+
the origins each sub-key entry lists, `skillsDirPlugins()` (stopped by a lock on any kind or the
|
|
2229
|
+
marketplace lists), `skillAllowedToolsPreapproved(skill)` and the documented `claude mcp add`
|
|
2230
|
+
refusal. `suggestionMarketplaces(view, registered)` answers `pluginSuggestionMarketplaces` (managed
|
|
2231
|
+
only, registered, source declared in the same managed settings, the official name alone).
|
|
2232
|
+
`resolvePolicy({ layers, context })` and `PolicyContext` compose every area over one view and feed
|
|
2233
|
+
the customization lock into the hook policy.
|
|
2234
|
+
- Settings, customization lock: `McpOrigin` has `localConfig` beside `userConfig`, since local-scope MCP
|
|
2235
|
+
servers live in `~/.claude.json`, which the `mcp` lock stops loading from (the judgment that put the
|
|
2236
|
+
local scope in no table was wrong); tests now build the frontmatter hooks of a skills-directory plugin,
|
|
2237
|
+
the `--settings` and SDK-option hooks under a hooks lock, a parent's `strictKnownMarketplaces` as a
|
|
2238
|
+
non-declaration of a suggestion source, and the parent-lock composition; two tests that restated the
|
|
2239
|
+
origin table or cited a plain-skill fallback the kit does not implement are removed or renamed, and the
|
|
2240
|
+
fallback is recorded as a host decision.
|
|
2241
|
+
- Settings, channel keys: `allowed(entry)` takes the flag each entry came from (`channels` or
|
|
2242
|
+
`development`), so a session with both kinds bypasses the list for the development entries only;
|
|
2243
|
+
a bare `server:<name>` development entry needs no plugin or marketplace; the closed gate carries
|
|
2244
|
+
`serverConnects: true` (the MCP server stays connected, only channel messages stop); `ChannelPluginRef`
|
|
2245
|
+
is the SDK's `allowedChannelPlugins` element type, declared once in `protocol/official.ts` and shared
|
|
2246
|
+
with the settings repair; the host's duty to refuse a channel server that negotiates protocol
|
|
2247
|
+
revision 2026-07-28 is recorded as a judgment; `null` and unreadable `channelsEnabled` and
|
|
2248
|
+
`allowedChannelPlugins` values are tested.
|
|
2249
|
+
- Settings, hook policy: `allowedHttpHookUrls` pattern `http://localhost:*` now also matches
|
|
2250
|
+
`http://localhost/x` (a wildcard port also stands for no port), as the docs example says; a
|
|
2251
|
+
`disableAllHooks: true` in the SDK's `managedSettings` is a lock that binds as
|
|
2252
|
+
`allowManagedHooksOnly: true` (an administrator's `false` no longer lifts it, plugin monitors and
|
|
2253
|
+
agent frontmatter follow it, command sources stay enabled), and a non-Boolean value there other than
|
|
2254
|
+
`false` and `"false"` binds the same way with a warning instead of being dropped; `monitorsRun`
|
|
2255
|
+
takes the plugin id and matches managed `enabledPlugins` on the whole `plugin@marketplace`; tests
|
|
2256
|
+
cover `--settings` and SDK-option hooks and `--add-dir` and synced frontmatter under the `hooks`
|
|
2257
|
+
lock, `disableCommandPluginSources: true` alone, and the managed origin under the HTTP allowlists.
|
|
2258
|
+
- Settings, plugin keys: a `--add-dir` directory now ranks below user settings and only its `true`
|
|
2259
|
+
`enabledPlugins` entry counts (plugins/loading.md), so it neither turns a plugin off nor overrides
|
|
2260
|
+
another file; the built-in guard's `pluginConfigs` options are read from managed settings only;
|
|
2261
|
+
`modOrder` reports the organization's mods that no list names (`unlisted`); a `pluginConfigs`
|
|
2262
|
+
entry that is not an object is dropped with a warning instead of shadowing a lower file; the
|
|
2263
|
+
option value types come from the SDK; tests no longer restate a constant or a neighbour.
|
|
2264
|
+
- The policy view returns each key's value through a merge strategy typed over the key,
|
|
2265
|
+
with no cast; the `hooks` of a user, project, local or `--settings` file drop only the entries
|
|
2266
|
+
that fail (a bad handler, group or event) and keep the rest, while a managed source still ignores
|
|
2267
|
+
the whole field; the same handler under two matchers is recorded as an open requirement of the
|
|
2268
|
+
hooks engine instead of being presented as proven; the unused `PolicyContext` type is removed
|
|
2269
|
+
until the resolvers need it; one shared `isRecord` guard.
|
|
2270
|
+
- ResolveEnv resolves settings environment values with scope, trust and launch-environment rules; envChange and envAfterCd model later application without unsetting removed variables. General readers cover agent view, theme, teammate mode, worktree settings, processWrapper argv parsing, command-line hook gates and plugin defaults. The host supplies the startup-safe variable classification and performs process execution.
|
|
2271
|
+
|
|
2272
|
+
#### hooks
|
|
2273
|
+
|
|
2274
|
+
- `CLAUDE_ENV_FILE`: two sessions of one host no longer share one file; each session's hooks write,
|
|
2275
|
+
clear and run the files of its own session id.
|
|
2276
|
+
- Security: a hook whose run port throws no longer drops a sibling hook's deny or block. It is read
|
|
2277
|
+
as a hook that could not start (`not-started`, `Hook could not run: <message>`) through the
|
|
2278
|
+
on-failure table, and the other hooks' decisions stand.
|
|
2279
|
+
- Security: the Stop block cap now holds in a session. The session built a new engine, with a fresh
|
|
2280
|
+
counter, for each dispatch, so a Stop hook could keep the turn going forever; the session now keeps
|
|
2281
|
+
one counter (and one set of `once` claims) for its whole life.
|
|
2282
|
+
- A `once` hook is held while a dispatch runs it, so a concurrent dispatch leaves it out, and is
|
|
2283
|
+
dropped only after its first successful run (a background one when its process ends).
|
|
2284
|
+
- Background `additionalContext` and `systemMessage` get the 10,000-character cap (spilled to
|
|
2285
|
+
`ScratchFiles`, else cut with a marker), and `additionalContext` the `<system-reminder>` escape.
|
|
2286
|
+
- `addHooks`, or a skill registering hooks, for a plugin that no longer runs or that the plugin-only
|
|
2287
|
+
lock silences registers nothing.
|
|
2288
|
+
- A winning `defer` drops every hook's `updatedInput`; prompt and agent hooks still waiting for a
|
|
2289
|
+
slot when the signal aborts report `cancelled`; an observer callback that throws is dropped.
|
|
2290
|
+
- One subprocess scrub, proven against claude 2.1.321: hooks used a second copy that read only `=1` as on
|
|
2291
|
+
and kept `MY_AUTH`, `FOO_KEY`, `SSH_AUTH_SOCK`, JWT values and lower-case GitHub tokens wrongly; the
|
|
2292
|
+
other copy removed `MONKEY`, `TOKENIZER`, `AUTHOR` by substring and kept PEM keys. Both now go through
|
|
2293
|
+
`scrubAction` (whole words of the name in any case, URL passwords, PEM private keys and JWTs by value,
|
|
2294
|
+
`YARN_REGISTRY` among the registry URLs), 72 of 72 probed variables as claude leaves them.
|
|
2295
|
+
`scrubHookEnvironment` and `scrubRequested` are removed: `scrubEnvironment(env)` and
|
|
2296
|
+
`subprocessScrubEnabled(env)` serve every kind; `ScrubOptions.version` is optional.
|
|
2297
|
+
- The warning for a hook type an event does not support reads `A hook of type http is not supported
|
|
2298
|
+
on …` (was `A http hook …`).
|
|
2299
|
+
- Background hook deliveries carry their command's exit code, so hosts can keep a failed `once`
|
|
2300
|
+
hook registered instead of consuming it as a success.
|
|
2301
|
+
- Command hooks and `subprocessEnvironment` for Bash set `CLAUDE_EFFORT` to the session's effort level.
|
|
2302
|
+
- Hooks: the per-event contracts. Every `<Event> input` section, the decision-control table, the
|
|
2303
|
+
response schema of prompt hooks and the context, interaction, elicitation, defer and terminal sections
|
|
2304
|
+
of hooks.md are proven by tests against the docs' own examples and scripts. New: `resolveWorktreePath`
|
|
2305
|
+
(the path of a `WorktreeCreate` hook: last non-empty line, ANSI stripped, relative resolution, `.`/`..`
|
|
2306
|
+
and symlink refusals), `resolveDefer`, `preToolUseHookOutcome`, `DispatchRequest.taskCompletedBy` and
|
|
2307
|
+
`effects.stopCondition` for `TaskCompleted`; a `terminalSequence` is dropped outside an interactive
|
|
2308
|
+
session and a `PermissionDenied` `retry` when the classifier produced no verdict.
|
|
2309
|
+
- Hooks: `CLAUDE_ENV_FILE`. The `EnvFileStore` port and `createEnvFiles` give `SessionStart` and `Setup`
|
|
2310
|
+
hooks the file that lasts the session and `CwdChanged` and `FileChanged` hooks the file a `CwdChanged`
|
|
2311
|
+
event clears, never a hook that runs PowerShell nor another event; `readPowershellVariables` reads the
|
|
2312
|
+
plain `export`, `declare -x` and `NAME=value` lines PowerShell commands receive (none, with the
|
|
2313
|
+
`Session environment is not all plain assignments` issue, when a line is another kind; on Windows
|
|
2314
|
+
without a value that holds `/` or `\`). A host session takes `envFiles` and `processId` and reads
|
|
2315
|
+
`session.hookEnvironment`.
|
|
2316
|
+
- Hooks: the process environment. `CLAUDE_CODE_SESSION_ID` (the input's `session_id`), `CLAUDECODE`,
|
|
2317
|
+
`CLAUDE_CODE_CHILD_SESSION` and `CLAUDE_PID` are set; the settings files' `env` is written over the
|
|
2318
|
+
inherited environment; `CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1` removes credentials by the docs' table
|
|
2319
|
+
(`scrubEnvironment`) before the `OTEL_*` removal.
|
|
2320
|
+
- Hooks: a shell-form hook that PowerShell runs by default whose command is only quoted strings fails with
|
|
2321
|
+
`PowerShell started no program` and the fixes instead of printing it.
|
|
2322
|
+
- Hooks: runtime outcomes of a run. `UserPromptSubmit` block messages end with `Original prompt:` unless
|
|
2323
|
+
`suppressOriginalPrompt`; `DispatchRequest.interrupt` (`esc`, `enter`, `ctrl-enter` on `PostToolUse`)
|
|
2324
|
+
and `HookOutcome.interrupted` (an interrupted prompt check); the `CLAUDE_CODE_STOP_HOOK_BLOCK_CAP`
|
|
2325
|
+
cap on consecutive `Stop` and `SubagentStop` holds (`createStopBlockCap`); `refusing to honor the
|
|
2326
|
+
suspect capture` for a runner that reports `outputHeldOpen`; `This hook comes from the <plugin>
|
|
2327
|
+
plugin.` on a plugin's exit-2 block; `checkPluginDirectories`; `BackgroundDelivery.outcome`.
|
|
2328
|
+
- Hooks (review of the per-event contracts): `effects.deferCondition` is removed, `resolveDefer` is the
|
|
2329
|
+
one way to know whether a `defer` applies; `effects.stopCondition` of a `TaskCompleted` now comes from
|
|
2330
|
+
its own merger and the teammate-stop rule of an `ok: false` hook from `EXIT2_RULES`, not from an event
|
|
2331
|
+
name; the tests no longer assert echoes of their own input, claims the host owns (`hook_response`,
|
|
2332
|
+
the debug log, the pasted-text expansion) or titles that overstate what they check; added tests for
|
|
2333
|
+
`ElicitationResult` `mode` and `elicitation_id`, the value sets of `PreModelSwitch` and
|
|
2334
|
+
`PostModelSwitch`, `UserPromptExpansion.command_source`, the `PreToolUse` exit-2 path through
|
|
2335
|
+
`decide`, and the `WorktreeCreate` path reading; the judgments for these are in `spec/judgments.md`.
|
|
2336
|
+
- Hooks (review of the runtime outcomes): the `CLAUDE_CODE_STOP_HOOK_BLOCK_CAP` count resets when
|
|
2337
|
+
Claude calls a tool (`PreToolUse`, `PostToolUse`, `PostToolUseFailure`, with or without a hook) and
|
|
2338
|
+
when a Stop holds nothing, no longer on `stop_hook_active`; `StopBlockCap.reset` and
|
|
2339
|
+
`HookEngineOptions.stopCap` let a host that rebuilds its engine keep the counter; `Ctrl+Enter`'s
|
|
2340
|
+
10-second cap kills command hooks only; `HookObserver.finished` carries `exitCode`; `HeldOpenResult`
|
|
2341
|
+
types a runner's `outputHeldOpen`; `checkPluginDirectories` is on by default; the plugin sentence is
|
|
2342
|
+
left off a block whose stderr is not the message, and a plugin is named by its manifest name, else
|
|
2343
|
+
its id, everywhere.
|
|
2344
|
+
- Hooks: `onFailure: "block"` blocked on a failure of a hook with only `asyncRewake` set, which is a
|
|
2345
|
+
background hook like one with `async`.
|
|
2346
|
+
- Hooks and settings (review of the exec stream): the scrub keeps `http_proxy` and `https_proxy` in lower
|
|
2347
|
+
case as it keeps `HTTP_PROXY` and `HTTPS_PROXY`; `subprocessEnvironment` and
|
|
2348
|
+
`session.subprocessEnvironment(kind)` build the environment of a hook, Bash, PowerShell, stdio MCP or
|
|
2349
|
+
Monitor process, and `scrubEnvironment` and `scrubRequested` are exported as `docs/API.md` says; on a
|
|
2350
|
+
Windows host the settings `env` reads off values and the launch environment without regard to case;
|
|
2351
|
+
the judgments of the scrub, the managed layer order, the `CLAUDE_ENV_FILE` of exec-form hooks and the
|
|
2352
|
+
PowerShell reader are recorded and tested outside `spec(...)`.
|
|
2353
|
+
- Hook output tests (`SubagentStart.additionalContext`): the title no longer claims `continue` is
|
|
2354
|
+
dropped (it is carried); the matcher, the `<system-reminder>` escape, the cap boundary, the
|
|
2355
|
+
2,000-character preview, the independence of hooks under the cap and the `hookEventName` failure
|
|
2356
|
+
are now asserted.
|
|
2357
|
+
- Hook verdict and engine: a block now says who is shown its text (`BlockInfo.to`: `claude`, `user`,
|
|
2358
|
+
`user-and-claude` or `none`), and on the events whose docs show it to no one (`ConfigChange`,
|
|
2359
|
+
`Elicitation`, `ElicitationResult`, `WorktreeCreate`, `WorktreeRemove`) `reason` and `message` are
|
|
2360
|
+
empty, the debug-log events keeping the hook's line in `debug`; a `PostToolBatch` stop leaves a
|
|
2361
|
+
notice for the transcript and feedback for Claude; on `Elicitation` and `ElicitationResult` only
|
|
2362
|
+
`hookSpecificOutput` is dropped from a run that did not exit 0 (`systemMessage` and `continue`
|
|
2363
|
+
still count); a `UserPromptSubmit` command, HTTP or MCP tool hook that times out leaves a notice
|
|
2364
|
+
with the timeout and the discarded output; a `continue: false` block no longer replaces an exit-2
|
|
2365
|
+
reason; tests assert the route per event against the docs, the `<Event> hook error` notice of
|
|
2366
|
+
`SessionStart`, `SubagentStart` and `PostModelSwitch`, and the judgments of assembling blocks.
|
|
2367
|
+
- Hook output: a `Stop` or `SubagentStop` hook that returns `continue: false` with
|
|
2368
|
+
`additionalContext` stops instead of keeping the turn going; `decision` is `block` on every event,
|
|
2369
|
+
and the deprecated `approve` is valid on `PreToolUse` only (any other value fails validation); a
|
|
2370
|
+
`PreToolUse` `deny` from one hook drops another hook's `updatedInput`, as an exit-2 deny does; the
|
|
2371
|
+
10,000-character cap no longer spills a `systemMessage` or specific field the event discards; the
|
|
2372
|
+
merge and the cap use the checked output instead of parsing it again; the tool output mirrors and
|
|
2373
|
+
`GateEffects` are bound to more of the official types; tests assert where a block's text goes
|
|
2374
|
+
(`block.to`) per event, the `WorktreeCreate` path, the `PreCompact`, `TaskCreated` and
|
|
2375
|
+
`PostToolUseFailure` blocks, the `TeammateIdle`, `TaskCompleted` and `SubagentStart` rows, and the
|
|
2376
|
+
control characters in an OSC body; the judgments behind those rules are recorded.
|
|
2377
|
+
- Remote hook handlers: an `http` hook now honours the two settings allowlists through
|
|
2378
|
+
`RunContext.httpPolicy` (`allowedHttpHookUrls` skips a hook whose URL matches no `*` pattern, with a
|
|
2379
|
+
warning at `hooks.<Event>.url`; `httpHookAllowedEnvVars` narrows `allowedEnvVars` to the names on
|
|
2380
|
+
both lists); an `mcp_tool` hook returns `cancelled` when the session aborts while it waits for the
|
|
2381
|
+
server, instead of a "not connected" error, and with the optional `ports.clock` the wait and the
|
|
2382
|
+
call share one hook `timeout` (`timed-out` when the wait used it up); tests assert all 33 values
|
|
2383
|
+
of `WAITS_FOR_SERVER`, the exact appended prompt, malformed and reason-less replies for agent hooks
|
|
2384
|
+
too, and keep judgment tests out of the `spec(...)` blocks of other ids.
|
|
2385
|
+
- Agent hooks: a Monitor command (matcher input `Monitor`) is also matched as `Bash` on
|
|
2386
|
+
`PreToolUse` and `PermissionRequest`, never on `PostToolUse` (hooks.md, "Match Monitor
|
|
2387
|
+
commands"); the `--agents` (flag) trust exemption, the `FileChanged` and `StopFailure` narrow
|
|
2388
|
+
grammar and the ignored matcher of events without matcher support are now proven under their
|
|
2389
|
+
`hooks.matcher.*` ids, and `spec/judgments.md` keeps only the managed-agent exemption there.
|
|
2390
|
+
- `readHooksFile` accepts a mod-only file (`modules` with no `hooks`), `readHooksSettings` keeps a
|
|
2391
|
+
JSON-parsed `__proto__` event as an own key, a matcher that does not compile is no longer
|
|
2392
|
+
warned about on an event without matcher support, and a non-finite `timeout` reports "expected a
|
|
2393
|
+
positive, finite number of seconds".
|
|
2394
|
+
- Hook selection (`hooks/select`): `createHookRegistry` and `selectHandlers` pick the handlers an
|
|
2395
|
+
event runs: the event catalog (cadence, supported handler types per event, `EndConversation`
|
|
2396
|
+
skipping both tool events), the field each event's matcher filters on (`MATCHER_TARGETS`, with
|
|
2397
|
+
the narrow grammar of `FileChanged` and `StopFailure`, the canonical model of a model switch, and
|
|
2398
|
+
the events that ignore a matcher), the documented matcher values tied to the SDK unions, `if`
|
|
2399
|
+
evaluated on tool events only, Monitor commands matched by a `Bash` matcher, settings-handler
|
|
2400
|
+
dedupe, `disableAllHooks` with managed precedence, workspace and folder trust, plugin enablement,
|
|
2401
|
+
`once` for skill frontmatter, and the `FileChanged` watch list.
|
|
2402
|
+
- Hook selection (`hooks/select`): an `mcp_tool` hook on `Setup`, and on `SessionStart` at launch
|
|
2403
|
+
(startup, resume, fork), is skipped and reported as a warning, because the MCP servers are not
|
|
2404
|
+
available yet, and it runs after `/clear` or a compaction; an `if` of `Edit(src/**)` matches only
|
|
2405
|
+
the `src` directory in the working directory (`Edit(**/src/**)` for any depth) instead of any
|
|
2406
|
+
depth, and two rules joined with `&&` or `||` are reported as one rule that cannot match;
|
|
2407
|
+
`allowManagedHooksOnly` and the `strictPluginOnlyCustomization` hooks lock gate handlers by
|
|
2408
|
+
source (`allowManagedHooksOnly`, `forceEnabledPlugins` and `pluginOnlyHooks` on the session); the
|
|
2409
|
+
`FileChanged` watch list (`fileChangedWatchList(entries, session)`) skips handlers that cannot
|
|
2410
|
+
run; the session's `effort` takes the SDK type.
|
|
2411
|
+
- Hook input (`hooks/input`): `HookSession.permissionMode` takes the host's own text, so the
|
|
2412
|
+
Manual label (sent as `"default"`) and a text that names no mode (warned, not sent) are reachable
|
|
2413
|
+
through the typed API; `duration_ms`, `seconds_since_last_response` and
|
|
2414
|
+
`estimated_cache_write_usd` accept any number, as the docs type them, while `context_tokens` and
|
|
2415
|
+
`index` stay whole numbers (a judgment); issue paths write an array index as `[n]`
|
|
2416
|
+
(`hooks.Stop.input.background_tasks[0].id`), as the warnings and the select stage do; the input
|
|
2417
|
+
build no longer relies on casts beyond one commented join, and tests now cover `mcp_server`,
|
|
2418
|
+
`permission_suggestions`, `tool_calls`, the optional titles and the Elicitation and ConfigChange
|
|
2419
|
+
enums.
|
|
2420
|
+
- Command handler: an `asyncRewake` hook that exits with code 2 and writes only blank output no
|
|
2421
|
+
longer wakes Claude with an empty reminder; the `OTEL_` exporter variables are removed in any
|
|
2422
|
+
case on a Windows host; the handler registry dispatches without a type assertion; the PowerShell
|
|
2423
|
+
rewrite of a settings hook's plugin placeholders, the override of inherited variables, and the
|
|
2424
|
+
host-chosen default shell are recorded as judgments. Tests: judgments moved out of `spec(...)`,
|
|
2425
|
+
and added for `${user_config.*}` in `command`, Git Bash path normalization and Windows exported
|
|
2426
|
+
paths.
|
|
2427
|
+
- Command hooks and Markdown content of a plugin: `resolveHookCommand` (exec form substitutes
|
|
2428
|
+
`command` and each `args` element including `${user_config.*}`; shell form through bash or
|
|
2429
|
+
PowerShell refuses `${user_config.*}` with the documented error, `${env:NAME}` placeholders for
|
|
2430
|
+
PowerShell, the path and option variables the process receives) and `substituteContent` (path
|
|
2431
|
+
variables and non-sensitive options in a skill, command or agent body, a placeholder for a
|
|
2432
|
+
sensitive one), with the `HOOK_GUARD` message.
|
|
2433
|
+
- Hook output exposes classifierContext with its shared 2,000-character cap and classifierTrust; notes for unrecorded read-only lookups are discarded. reviewHookRewrite decides whether a changed call applies, is denied, or drops a further rewrite on a repeat. afterHandbackDenial counts the three retry notices; the host delivers them.
|
|
2434
|
+
|
|
2435
|
+
#### skills
|
|
2436
|
+
|
|
2437
|
+
- A skill's or command's `!` command pasted `${CLAUDE_SKILL_DIR}`, `${CLAUDE_PLUGIN_ROOT}`,
|
|
2438
|
+
`${CLAUDE_PLUGIN_DATA}` and `${CLAUDE_PROJECT_DIR}` into the text the shell runs, so a plugin or
|
|
2439
|
+
project folder named `x$(touch PWNED)` ran `touch` once the command was allowed (Claude Code 2.1.322
|
|
2440
|
+
does the same). Under the default `shellPaths` the shell now gets the braced references
|
|
2441
|
+
(PowerShell `${env:NAME}`) and the process environment the paths the command names; `'pasted'`
|
|
2442
|
+
keeps the old text. The refusal check, the permission check, the `allowed-tools` grants and auto
|
|
2443
|
+
mode's instruction still read the command with the paths written in, so permission decisions do
|
|
2444
|
+
not change. `$ARGUMENTS` is still pasted. Proven through the public session in
|
|
2445
|
+
tests/host/skill-shell-paths.test.ts. API changes: `PlannedCommand` gains `shellCommand` and
|
|
2446
|
+
`environment` (what `CommandRunner` gets), and `PlannedCommand.command` and `ShellCall.command` are
|
|
2447
|
+
the text that is checked; `SkillSession.shellPaths`, and `ExpandSession` takes `shellPaths`;
|
|
2448
|
+
`SubstitutionScope.extraPaths`, the names in `extra` that are paths; the substitution surfaces
|
|
2449
|
+
`skill-bash` and `skill-powershell`; `shellExports(referenced, scope, ask)` reads `extra` and
|
|
2450
|
+
`extraPaths` of `scope` too, and is exported from `loading/resolve` with `surfacePolicy`;
|
|
2451
|
+
`renderPluginVariable` takes any variable name.
|
|
2452
|
+
- `Expansion.references`: the files a local skill's or command's expanded text names with `@`,
|
|
2453
|
+
which Claude Code attaches (skills.md, "How Claude Code handles the body of a synced skill"). The
|
|
2454
|
+
kit reported none, so a host attached nothing; a synced skill's stay literal outside an isolated
|
|
2455
|
+
session. `expandMessage` reads a workflow's name as no skill, as `skillCatalog` lists it, and
|
|
2456
|
+
`skills()` no longer lists a row whose command reaches another row.
|
|
2457
|
+
- A skill's `!` command gets `CLAUDE_EFFORT`, and skill expansion and the workflow switch use the
|
|
2458
|
+
turn's `hookPorts` instead of the session's.
|
|
2459
|
+
- A `commands` path naming `./skills/` loads each skill folder once.
|
|
2460
|
+
- A folder with a `SKILL.md` inside a `commands` folder is a skill named by its folder, not a
|
|
2461
|
+
`folder:SKILL` command, and it is listed ahead of `skills/` (Claude Code 2.1.319).
|
|
2462
|
+
- A skill named by its own frontmatter (a root `SKILL.md`, a listed skill folder) drops the plugin's
|
|
2463
|
+
own prefix and turns every character outside `[A-Za-z0-9_-]` into `-`, as Claude Code does.
|
|
2464
|
+
- A skill with neither `description` nor `when_to_use` is not listed to the model; it stays a `/`
|
|
2465
|
+
command and the Skill tool still runs it.
|
|
2466
|
+
- The model's skill listing joins `description` and `when_to_use` with ` - `, as Claude Code does.
|
|
2467
|
+
- The kit sorts every folder listing itself (`format/listing.ts`, by code unit): a port whose `list`
|
|
2468
|
+
is unsorted or locale-sorted no longer changes the order of skills, commands and agents, which
|
|
2469
|
+
duplicate wins, or which skills keep their description in the listing budget. `PluginFiles.list`
|
|
2470
|
+
may return entries in any order.
|
|
2471
|
+
- An expanded skill's text opens with `Base directory for this skill: <folder>`, and a sensitive option in skill or command content reads `[sensitive option '<key>' not available in skill content]` whether or not it is saved, as Claude Code sends the model (`bun run oracle:model-content`).
|
|
2472
|
+
- Of a file or skill folder and a link to it, the entry itself stays whatever their name order (a
|
|
2473
|
+
skill folder no longer keeps folder order); of links only, the first in folder order.
|
|
2474
|
+
- A symlinked folder inside `commands/` or `agents/` is no longer entered, as in Claude Code
|
|
2475
|
+
2.1.322; a skills scan still follows a linked skill folder, with the containment check.
|
|
2476
|
+
- Session registration, as Claude Code 2.1.319 does (`bun run oracle:runtime`): a plugin skill a scan
|
|
2477
|
+
finds is named after its folder, not its frontmatter `name`; two agents with one `name` register
|
|
2478
|
+
once; a skill and a command with one name are one menu entry, the command; a plugin whose manifest
|
|
2479
|
+
sets `defaultEnabled: false` is off until `enabledPlugins` turns it on.
|
|
2480
|
+
- Skills review: a `Skill(name)` allow or ask rule matches the invoked name and the skill's own name (a
|
|
2481
|
+
deny rule still sees every name); the file an injected command's oversized output is saved to is cut at
|
|
2482
|
+
64 MiB, between two UTF-8 characters, and the note says so; judgments record the host mapping of Claude's
|
|
2483
|
+
`args`, the SDK command lists, and how `&` and entities in a description are handled.
|
|
2484
|
+
- Commands: review fixes. The judgments the kit makes about commands (blank entry fields, a source
|
|
2485
|
+
that is never read, `${CLAUDE_PLUGIN_ROOT}` in an entry's `allowedTools`, `name` and `paths`
|
|
2486
|
+
dropped silently, trimming, only a `.md` extension stripped from a file name, no extension rule
|
|
2487
|
+
for a `source`) are recorded in spec/judgments.md and tested outside `spec()`, so they no longer
|
|
2488
|
+
count toward the compatibility percentage; the "exactly one of `source` or `content`" message is
|
|
2489
|
+
shared between the manifest schema and `readCommandEntry`.
|
|
2490
|
+
- Review fixes for invocation, listing and execution. A skill named after plain text now
|
|
2491
|
+
permits the model's run of a `disable-model-invocation` skill (`permittedByMention`);
|
|
2492
|
+
`readSkillMentions` stacks up to six skills at the start of a message with the shared trailing
|
|
2493
|
+
arguments (`stacked`, the host's `stackable` stop rule, `interactive: false` for `-p`); the
|
|
2494
|
+
listing budget falls back to 8,000 characters instead of no limit, and a path-scoped skill is
|
|
2495
|
+
listed by name until its paths activate it; `paths` brace expansion shares the documented budget of
|
|
2496
|
+
1,000 patterns and 4 MiB (a pattern over it is used unexpanded) and an uncompilable pattern matches
|
|
2497
|
+
nothing instead of throwing; `TurnSession.supportedEfforts` clamps the effort to the highest
|
|
2498
|
+
supported level at or below; a scheduled fire and a preload get their own refusal text.
|
|
2499
|
+
- A refused name or folder is reported once by field (`folder name has ...`, not `folder
|
|
2500
|
+
folder name has ...`); outside a plugin a name or folder `anthropic-skills` or
|
|
2501
|
+
`anthropic-skills:<name>`, and a user or project folder `synced` (any case), refuse the skill.
|
|
2502
|
+
- `substituteArguments` no longer expands a `$` inside a declared argument name a second
|
|
2503
|
+
time (`$a$b $b` with `a$b` and `b` declared gave `xy y`, now `x y`). `substituteAllowedTools`
|
|
2504
|
+
substitutes the Bash rules of `allowed-tools` (the docs' "same variable in both places"), where
|
|
2505
|
+
`substituteVariables` was only documented to; the judgments record the escaped-placeholder
|
|
2506
|
+
append, three backslashes, `$ARGUMENTS[x]` and `${user_config.*}` in typed arguments.
|
|
2507
|
+
- Review fixes for `expandSkill`. A skill that declares hooks under the hooks lock keeps
|
|
2508
|
+
its `allowed-tools` pre-approval when it runs through `context: fork`; the plugin sources the
|
|
2509
|
+
managed settings treat like folders are modelled (`ExpandSession.pluginSource`:
|
|
2510
|
+
`skills-directory` loses hooks under the lock and its grant under `allowManagedPermissionRulesOnly`,
|
|
2511
|
+
`inline-managed-session` loses its grant); an injected command's timeout is
|
|
2512
|
+
`BASH_DEFAULT_TIMEOUT_MS` (default 2 minutes) and the timeout message names it; the permission
|
|
2513
|
+
check receives the same CRLF-normalised command the shell runs. The judgments record who owns
|
|
2514
|
+
`EndConversation` in `disallowed`, output past the inline ceiling, and the bundled and managed
|
|
2515
|
+
skills `disableSkillShellExecution` leaves alone.
|
|
2516
|
+
- Skill keys (`settings/skills`): `createSkillSettingsPolicy(view, context)` answers
|
|
2517
|
+
`skillOverrides` as `visibility(name, subject)` (the four states over what Claude sees, the `/`
|
|
2518
|
+
menu and the Remote Control and SDK command lists, the `skillOverrides` error for an `off` skill,
|
|
2519
|
+
plugin skills untouched, bundled-skill alias entries from managed settings and `--settings` files
|
|
2520
|
+
that can only restrict further), `disableBundledSkills` with `CLAUDE_CODE_DISABLE_BUNDLED_SKILLS`
|
|
2521
|
+
(neither undoes the other), `disableSkillShellExecution` as a per-origin verdict with the
|
|
2522
|
+
`[shell command execution disabled by policy]` replacement (a managed `true` is never overridden),
|
|
2523
|
+
and `syncClaudeAiSkills` as the same decision `syncClaudeAiPlugins` gives.
|
|
2524
|
+
- An unquoted `argument-hint: [topic: foo | bar]` is written back as that text instead of
|
|
2525
|
+
being dropped; the unknown-event warning of a skill's `hooks` no longer repeats the `hooks.`
|
|
2526
|
+
prefix; the shell list is checked against the host's `ShellKind`; the judgments cover an
|
|
2527
|
+
unbalanced list delimiter, an unknown hook event kept with a warning, the comma split of
|
|
2528
|
+
`arguments` and the skill folder of a Windows path.
|
|
2529
|
+
- Memory index: `truncateMemoryIndex` strips a block-level HTML comment only when it opens a line
|
|
2530
|
+
and ends on the line of its own first `-->`, and not inside fenced code, so text between two
|
|
2531
|
+
comments is no longer dropped and `truncated` stays honest; the `skills` tests prove `Skill` in
|
|
2532
|
+
`tools` is no preload, and the comma-separated `skills` string is a recorded judgment.
|
|
2533
|
+
- Settings, skills: the `disableBundledSkills` decision now says built-in commands and `/doctor` stay
|
|
2534
|
+
typable (`builtInCommandsTypable`); tests cover a `--settings` own-name entry that does not beat an
|
|
2535
|
+
alias, the same alias set in managed and `--settings` files, a parent `true` against a lower
|
|
2536
|
+
`false`, and a parent `false` under a managed `true`; the repair of an unknown `skillOverrides`
|
|
2537
|
+
state is recorded in `spec/judgments.md`, and the non-Boolean managed
|
|
2538
|
+
`disableSkillShellExecution` test sits with the judgments.
|
|
2539
|
+
|
|
2540
|
+
#### agents
|
|
2541
|
+
|
|
2542
|
+
- A saved workflow, agent or command file the host refuses to read is skipped with a warning
|
|
2543
|
+
instead of rejecting the whole scan.
|
|
2544
|
+
- A plugin's workflows are `/<plugin>:<meta.name>` rows of `session.skills().menu` and of the model
|
|
2545
|
+
listing, ahead of the skills, unless workflows are off; `session.skills().workflows` names them
|
|
2546
|
+
for the host to run, and `PluginHostOptions.workflows` gives the plan and organization switch.
|
|
2547
|
+
- A link inside a plugin to another agent, command or skill folder of the same plugin registers it once, as Claude Code does (runtime fixture `symlinked-duplicates`).
|
|
2548
|
+
- Sub-agent catalog review: a `Task(...)` deny rule works as an alias of `Agent(...)`; `readFlagAgents`
|
|
2549
|
+
reports the schema problems of every definition before the `-` names and cuts more than 20 lines to
|
|
2550
|
+
`…and N more`; `resolveSubagentModel` takes `builtin: { name, connection }` and runs Explore on the `opus`
|
|
2551
|
+
alias for a Fable main model over a subscription, Console or LLM gateway; `AgentOverrides` let a host pass
|
|
2552
|
+
its deny rules, `--agents` value and `interactive` per call to `agentCatalog` and `reloadAgents`, and
|
|
2553
|
+
`session.selectAgent` picks the session agent; the judgments file keeps all its earlier rows again.
|
|
2554
|
+
- Workflows and themes (review findings): `stallWindowMs` takes the host's risen default as `defaultMs`, which
|
|
2555
|
+
loses to `stallMs` and to `CLAUDE_ASYNC_AGENT_STALL_TIMEOUT_MS`; a lexical problem in the body of a script
|
|
2556
|
+
(an unterminated string, template or comment) no longer discards a valid `meta`, and a rewrite of such a
|
|
2557
|
+
script works; a rewrite adds a field with the line ending of a CRLF block; `rewriteWorkflowMeta` lives in
|
|
2558
|
+
`workflow-meta-rewrite` and `MetaPatch.phases` takes object entries; `WorkflowMeta` gains `phaseEntries`
|
|
2559
|
+
and `whenToUse`; `Theme.extraOverrides` keeps the tokens the reference omits, so a copy of a plugin theme or
|
|
2560
|
+
a rewrite loses none; `PluginTheme.qualifiedName` is gone (a theme has no `<plugin>:` name);
|
|
2561
|
+
`planReplay`/`replayAgent` compare an options fingerprint too (`AgentCall`, `options-differ`); a
|
|
2562
|
+
schema that contradicts itself (`checkAgentSchema`) and the validation attempts (`afterInvalidOutput`,
|
|
2563
|
+
`structuredOutputAttempts`); `themeColorToHex`; the order of two same-named workflows in one folder no
|
|
2564
|
+
longer depends on the host locale; the literal reader returns a result instead of throwing;
|
|
2565
|
+
`relaunchAfter` replaces the constant `continuesOnItsOwn`, and `startsNewAgents` is gone from the usage-limit
|
|
2566
|
+
decision. Tests assert behaviour instead of reading constants back; the unrecorded judgments have rows.
|
|
2567
|
+
- Agents: one subagent tool resolution. `resolveCatalogSubagentTools` is gone; `resolveSubagentTools`
|
|
2568
|
+
keeps what it did that the other did not (`ExitWorktree` withheld from a subagent in its own working
|
|
2569
|
+
directory, the `Glob` and `Grep` a `tools` list names without `Bash`), and the `tools.tool.*` tests
|
|
2570
|
+
that proved the tools table through it now run on `resolveSubagentTools`.
|
|
2571
|
+
- Workflow keys (`settings/workflows`): `createWorkflowSettingsPolicy(view, context)` answers
|
|
2572
|
+
`disableWorkflows` and `enableWorkflows` as `enablement()` (off by `disableWorkflows` in any file,
|
|
2573
|
+
`CLAUDE_CODE_DISABLE_WORKFLOWS=1` or the organization's toggle, none undone by `enableWorkflows:
|
|
2574
|
+
true`; on by default except on Pro; what goes with workflows; the `/config` row),
|
|
2575
|
+
`workflowKeywordTriggerEnabled` as `keyword(prompt)` (the `ultracode` keyword triggers only in a
|
|
2576
|
+
prompt a person typed, never for `-p`, a scheduled task, an unstamped SDK prompt or a relayed
|
|
2577
|
+
event) and `workflowSizeGuideline` as `size()` (agent count advice, precedence over the `/config`
|
|
2578
|
+
choice, the `Large workflow` threshold).
|
|
2579
|
+
- Settings, workflow keys: the decision no longer carries `inProgressRunsContinue`, a constant that
|
|
2580
|
+
described no run state (the duty to let a run finish is recorded as a host duty); the size
|
|
2581
|
+
decision returns `largeWorkflowThreshold` and the new `largeWorkflowTokens` (1.5 million) as
|
|
2582
|
+
`undefined` while the host says `ultracode` is on, as the docs say the `Large workflow` warning
|
|
2583
|
+
does not show then; tests table every prompt surface and every non-human SDK origin with its
|
|
2584
|
+
expected verdict and reason, and show that `workflowKeywordTriggerEnabled: false` leaves
|
|
2585
|
+
`/effort ultracode` and the workflow surfaces as they are.
|
|
2586
|
+
- Agent launch: `worktreeDisposition` takes `{ isolation, hasChanges }` and returns `none` for an
|
|
2587
|
+
agent without `isolation: worktree`; `ClaudeMdScopes` gains `nested` (a subdirectory's CLAUDE.md
|
|
2588
|
+
and path-scoped rules still load with `omitClaudeMd`); the model, effort, background and
|
|
2589
|
+
auto-compact tests now prove what the docs say (resolved model per value, documented-only
|
|
2590
|
+
cases), the judgments sit in their own blocks, and `spec/judgments.md` records the
|
|
2591
|
+
`CLAUDE_CODE_EFFORT_LEVEL=auto` effect on subagents, the host-side `k`/`M` suffixes of
|
|
2592
|
+
`CLAUDE_CODE_AUTO_COMPACT_WINDOW`, the `agent.spawn` model and the Explore and Plan subagents.
|
|
2593
|
+
- `resolveSubagentTools`: a `tools` list naming `SubagentHandback` is no longer refused when the
|
|
2594
|
+
host grants it (`handback`), in the foreground or the background; `SubagentRun.teammate` keeps
|
|
2595
|
+
the task and cron tools in a background run; `AgentToolFields` derives from the SDK's
|
|
2596
|
+
`AgentDefinition`; the tests state their expected lists, cover `Task` and `Agent(type)` in
|
|
2597
|
+
`disallowedTools`, and the Glob/Grep grant is recorded as the host's.
|
|
2598
|
+
- Agent fields: a quoted fraction such as `autoCompactWindow: "200000.5"` is dropped with
|
|
2599
|
+
`invalid autoCompactWindow` instead of truncating to 200000; `background` and `omitClaudeMd`
|
|
2600
|
+
accept a YAML boolean or the text `true` or `false` only (not `yes`, `on`, `1`); an empty
|
|
2601
|
+
inline `mcpServers` definition (`- {}`) is dropped; a plugin agent now has a test for each of
|
|
2602
|
+
`tools`, `disallowedTools`, `skills` and `memory`; the judgments say why plugin-ignored fields
|
|
2603
|
+
are not "unrecognized".
|
|
2604
|
+
- Agent files: a project, user or managed file with a name that breaks a rule now has each rule's
|
|
2605
|
+
own wording tested; a plugin agent in a file named `.md` is named `.md`, not an empty string; a
|
|
2606
|
+
`--add-dir` directory reads as `project`, and `flag` is no source of a file read (`readAgent`).
|
|
2607
|
+
- Split subagent context by responsibility: persistent memory, preloaded skills and scoped MCP servers; add folder trust diagnostics and model allowlist substitution. The host still owns provider resolution, connections and prompt assembly.
|
|
2608
|
+
|
|
2609
|
+
#### marketplace
|
|
2610
|
+
|
|
2611
|
+
- Security: `isBlockedHost` refuses the whole 0.0.0.0/8 block (it refused only `0.0.0.0`) and
|
|
2612
|
+
ignores any number of trailing dots on a host (it ignored one), so `0.1.2.3` and `localhost..`
|
|
2613
|
+
are blocked like `0.0.0.0` and `localhost`.
|
|
2614
|
+
- Security: `unsafeEntryIssue` (and so `fetchArchive`) finds a link of an archive by its name
|
|
2615
|
+
without regard to letter case, Unicode normalization or trailing dots and spaces, and refuses a
|
|
2616
|
+
link that shares such a name with another entry. On a file system that folds names (APFS, NTFS)
|
|
2617
|
+
a zip with a link `A` and an entry `a/B` was accepted and then written through the link, outside
|
|
2618
|
+
the plugin directory. A host that unzips still checks the real path of the folder it writes
|
|
2619
|
+
into (docs/SECURITY.md, "Risks the host owns").
|
|
2620
|
+
- `fetchArchive` finds the plugin root of a zip macOS Finder made: the `__MACOSX` folder beside the
|
|
2621
|
+
one wrapping directory is not counted, so the root is that directory (it was refused with "no
|
|
2622
|
+
plugin root").
|
|
2623
|
+
- Security: an npm plugin source can no longer smuggle another source through its version. The
|
|
2624
|
+
version appended to `package` and the `version` field must be a semver version, a range or a
|
|
2625
|
+
URL-safe dist-tag; a git address, folder, `file:` path, alias or tarball there is refused with its
|
|
2626
|
+
reason, and the package name must follow npm's naming rule.
|
|
2627
|
+
- Security: an `archive` source can no longer escape the plugin directory through a chain of
|
|
2628
|
+
symbolic links. A link target is resolved through the archive's other link entries (at most 40
|
|
2629
|
+
hops; a loop or an absolute target is refused), and an entry written through a link entry is
|
|
2630
|
+
refused (`The archive entry "<path>" is written through the symbolic link "<link>"`).
|
|
2631
|
+
- `MARKETPLACE_SOURCE_KINDS` has one definition (`format/marketplace` re-exports the settings list).
|
|
2632
|
+
- Node.js package dependencies (review fixes): a lockfile download link that does not use `https`
|
|
2633
|
+
(`ftp:`, another scheme, none) is refused, not only `http`; a `bun.lock` id with a link is a
|
|
2634
|
+
tarball dependency and so no registry package; a registry package that is not pinned to an exact
|
|
2635
|
+
version in the lockfile gets no install (`unpinned-dependency`); the install-folder guard compares
|
|
2636
|
+
Windows paths and ignores case; a `package.json` that is not a JSON object is its own reason
|
|
2637
|
+
(`package-json-unreadable`). A skip is now a union over its reason with typed fields instead of a
|
|
2638
|
+
`detail` list, `skipReasonText` gives its clause, `LOCKFILE_NAMES` and `UNSUPPORTED_LOCKFILES` are
|
|
2639
|
+
exported, and `stage.moveBack.replaceExisting` says an existing `node_modules` is replaced. Tests
|
|
2640
|
+
assert the documented link-mode and npm-source sentences, every reason's whole clause, and the
|
|
2641
|
+
plan-level cases for workspace, linked and git dependencies.
|
|
2642
|
+
- Install and cache lifecycle (review fixes): an install of a source kind the kit cannot fetch is
|
|
2643
|
+
refused with `This plugin uses a source type your Claude Code version does not support...`; a
|
|
2644
|
+
link-mode install without the printed directory or its entries, or with an entry name that is
|
|
2645
|
+
empty, `.`, `..` or holds a `/`, plans nothing, and a plan reports `copy` and `mustStayAt`; a
|
|
2646
|
+
version that cannot name a folder no longer refuses a plugin loaded in place; two spellings of one
|
|
2647
|
+
project folder on Windows are one install (`planInstallFinish` takes `platform`); `dirsToOrphan`
|
|
2648
|
+
and `orphanSweep` take the store layout and skip folders outside the cache, and `selectUninstall`
|
|
2649
|
+
(now taking `plugin` and `layout`) returns the `orphaned` folders and the not-installed issue and
|
|
2650
|
+
removes nothing at project or local scope without a folder; `planTreeCopy` skips a link that
|
|
2651
|
+
closes a cycle (`copying`), and its too-large message names the limit given; the loader's
|
|
2652
|
+
`locate` now decides every declared path through `escapedPathIssue` (moved to `format/path-escape`;
|
|
2653
|
+
a backslash on macOS and Linux, a drive path, and links between plugins of one marketplace;
|
|
2654
|
+
`loadPlugin` and `discoverComponents` take `platform` and `roots`); `lfsPointerIssues` warns for
|
|
2655
|
+
each pointer file of a cloned plugin and CRLF pointers are read; `StagedDirectory.commit` takes
|
|
2656
|
+
a `StagedCommit` with the `TreePlan`; the host surfaces gained the desktop app and VS Code, what
|
|
2657
|
+
`/plugin` opens, the scope choices, when an install applies and the official marketplace at the
|
|
2658
|
+
first interactive start (`planPluginCommand`, `planPluginApply`, `scopeChoices`,
|
|
2659
|
+
`marketplacesAddedAtStart`; `INSTALL_HOSTS` is no longer public).
|
|
2660
|
+
- Plugin versions (review fixes): a stated or computed version that is not one folder name (`../x`,
|
|
2661
|
+
`a/b`) no longer reaches the cache path (`isVersionSegment`; it is skipped for the next source of a
|
|
2662
|
+
version, else `unknown`); a `git-subdir` input always carries its `subdir`; `inGitMarketplace` is
|
|
2663
|
+
now `inGitRepository` (the plugin directory or its marketplace); `unknownVersionSteps` takes
|
|
2664
|
+
`{ name, marketplace }` and reruns each scope once; the SP2 gate reads ids that hold quotes, so the
|
|
2665
|
+
folder-collision section is proven; links, empty directories, `strict` and same-event hook
|
|
2666
|
+
replacement gained tests.
|
|
2667
|
+
- Install records and plans (review fixes): a `__proto__` key in `installed_plugins.json` or
|
|
2668
|
+
`known_marketplaces.json` is kept like any other (it was dropped); the default plugins root honours
|
|
2669
|
+
`CLAUDE_CONFIG_DIR`; a session prints `✔ Updated N marketplaces` where a shell prints `Successfully
|
|
2670
|
+
updated ...`, and a shell `marketplace remove` needs its name; dependency plans work per scope (a
|
|
2671
|
+
dependency installed only at another scope is installed at the target scope, a plugin already
|
|
2672
|
+
installed there says `is already installed (scope: ...)`, `defaultEnabled: false` stays off) and
|
|
2673
|
+
`planEnable` fails for a dependency the organization's policy blocks or that is `false` above the
|
|
2674
|
+
target scope; an install decides `Plugin is now active.` or `Run /reload-plugins to apply.` from
|
|
2675
|
+
the prompt-cache and activation facts, and closing the panel queues the reload while a response
|
|
2676
|
+
streams; the untrusted-source and refused-name cases of an ignored marketplace come from
|
|
2677
|
+
`loadNameIssues` with the entry's source; an empty `known_marketplaces.json` reports the documented
|
|
2678
|
+
`JSON Parse error: Unexpected EOF`; the dated copies age out on `cleanupPeriodDays` (`PluginStateStore`
|
|
2679
|
+
gains `modifiedAt` and `remove`; the host serialises rewrites of the records); the tests that echoed
|
|
2680
|
+
constants now assert the documented decisions (a real SHA-256, failing writes, the `--json` line).
|
|
2681
|
+
- CLI plugin lifecycle: `plugin install --marketplace` runs the name checks of `marketplace add` on the
|
|
2682
|
+
marketplace it just added (an impersonating or reserved name, the `claudeai-` prefix, the
|
|
2683
|
+
download-folder rule) and refuses with `invalid_name` (`InstallFound.addedMarketplace.registered`);
|
|
2684
|
+
a bundled MCP server whose bundle is referenced by URL is `InstallOptions.unreadServers`: its keys
|
|
2685
|
+
are not listed and the not-applied line says to configure it in `/plugin`; the `invalid_config`
|
|
2686
|
+
failure lists its keys in `invalidKeys`, not `refused`; `plugin configure --values-stdin --json`
|
|
2687
|
+
leaves `unconfigured` out when `ConfigureFacts.readBack` is `false`; `uninstall --keep-data` keeps
|
|
2688
|
+
the data folder of a plugin `--prune` removes too; the unused `json` field of `ToggleArguments` and
|
|
2689
|
+
`DisableArguments` is gone. The accept-command, configure, `--prune`, scope and enable-dependency
|
|
2690
|
+
tests assert the refusal, the shown command, the pruned cleanup and each missing dependency; the
|
|
2691
|
+
codes and usage errors the docs do not quote, and the deferral of `install_records_unreadable`, are
|
|
2692
|
+
recorded in spec/judgments.md.
|
|
2693
|
+
- Marketplace dependencies: `installClosure` no longer reports a false conflict when an installed
|
|
2694
|
+
root's marketplace entry changed a range (the root's installed range is replaced by its new one,
|
|
2695
|
+
and so is that of any plugin the walk reads from the catalog); a dependency already installed and
|
|
2696
|
+
enabled still has its own missing dependencies planned; an `--plugin-dir` copy meets an entry that
|
|
2697
|
+
names a marketplace only from Claude Code 2.1.242 (`InstallRequest.hostVersion`,
|
|
2698
|
+
`DeclaredDependency.namesMarketplace`); the allowlist bypass and the met check read the plugin's
|
|
2699
|
+
`enabledPlugins` at the install scope, not the winning scope's. The five install operations plan
|
|
2700
|
+
identically (recorded in `spec/judgments.md`) and the tests assert that through the facts, the
|
|
2701
|
+
bundle test runs under `auto-update` and `reload-plugins`, the force-moved tag, `=2.1.0` and
|
|
2702
|
+
no-version tests assert the decision the docs describe, and `Create a release tag` is no longer
|
|
2703
|
+
counted as proven until `claude plugin tag` exists. `docs/API.md` has one
|
|
2704
|
+
`resolveDependencyVersion` row.
|
|
2705
|
+
- Marketplace updates: `checkForUpdate` now derives `loaded in place` from `loadsInPlace(source,
|
|
2706
|
+
origin)` instead of trusting the host, and its claude.ai subject has no manifest version field;
|
|
2707
|
+
`upToDateMessage` gives the `already at the latest version` wording; the SHA-256 of a downloaded
|
|
2708
|
+
archive is computed through the `Sha256` port (`archiveFacts`); `sourceFactsOf` and
|
|
2709
|
+
`versionCacheSegment` replace per-host switches; the blank-version rule is one helper. The
|
|
2710
|
+
version, release-channel, renames and release tests assert what each docs section adds, and the
|
|
2711
|
+
host-side messages and negatives are recorded in `spec/judgments.md`.
|
|
2712
|
+
- Updates: the version policy ignores `autoUpdatesChannel` and `minimumVersion` from a `--add-dir`
|
|
2713
|
+
directory (`scopeCarries`); `channelSwitch` takes `from` and asks only for `latest` to `stable`;
|
|
2714
|
+
a command source's install or changed-command update is held until the user accepts
|
|
2715
|
+
(`runsAfterAnswer`) and an in-place reload carries the reload notice; `backgroundCheckResult`
|
|
2716
|
+
maps credentials and the remote to a check result, and a provider token never authenticates;
|
|
2717
|
+
`toggleLabel` derives from `AutoUpdateFacts`; `planUpdate` updates only an installed plugin;
|
|
2718
|
+
`KnownMarketplace.seeded` is optional. The tests assert each skip for both install commands, the
|
|
2719
|
+
fleet-wide `DISABLE_AUTOUPDATER` against command sources, and the disabled-plugin runs, and
|
|
2720
|
+
`spec/judgments.md` records the whitespace-tolerant flags and the failing-open start gate.
|
|
2721
|
+
- Marketplace contracts: the `Marketplace`, `MarketplaceEntry`, `PluginSource` and
|
|
2722
|
+
`MarketplaceSource` shapes (with the closed `PLUGIN_SOURCE_KINDS` and `MARKETPLACE_SOURCE_KINDS`
|
|
2723
|
+
lists), the fetch plans (`FetchPlan`, `MarketplaceFetchPlan`, `ArchiveLimits`), the ports only
|
|
2724
|
+
marketplaces need (`Sha256`, `ArchiveReader`, `GitTags`, `SourceFetcher`), and the plugin id
|
|
2725
|
+
grammar shared by names, rename targets and dependencies (`PLUGIN_ID_PART`, `pluginIdIssues` with
|
|
2726
|
+
the documented "Claude Code cannot install plugin" and "cannot contain spaces" messages,
|
|
2727
|
+
`desktopNameIssues` for the Claude Desktop warnings).
|
|
2728
|
+
- Plugin sources and their fetch plans (`marketplace`): `parsePluginSource` reads an entry's
|
|
2729
|
+
`source` (a relative path, `"."`, a bare name under `metadata.pluginRoot`, and the `github`,
|
|
2730
|
+
`url`, `git-subdir`, `npm`, `archive` and `command` objects with the documented field rules and
|
|
2731
|
+
messages: `Invalid string: must start with "./"`, `Path contains ".."`, the `unsupported`
|
|
2732
|
+
placeholder, `sha` of 40 lowercase hex, `sha256` of 64 hex, a command of printable ASCII, 500
|
|
2733
|
+
characters at most, with no run of four spaces, `timeout` 1 to 600 and `mode`); `planPluginFetch`
|
|
2734
|
+
turns a source into a `FetchPlan` (a relative path resolves from the marketplace root and not
|
|
2735
|
+
for a `url` or `settings` marketplace, `sha` wins over `ref`, `git-subdir` is a sparse and, over
|
|
2736
|
+
https or SSH, partial clone, npm never runs install scripts or installs dependencies, the npm
|
|
2737
|
+
refusals for git addresses, folders, `npm:` aliases, tarball links and http registries, an archive
|
|
2738
|
+
over https that is not a loopback, link-local or cloud-metadata host with its download and
|
|
2739
|
+
extraction limits, a command through `sh` or `cmd.exe` from the home directory, link mode refused
|
|
2740
|
+
on Windows); `runCommandSource` and `fetchArchive` run the two engines through `CommandRunner`,
|
|
2741
|
+
`HttpClient`, `Sha256`, `ArchiveReader` and the new `PluginDirectories` port and refuse every
|
|
2742
|
+
failure the docs list.
|
|
2743
|
+
- Archive download headers (`marketplace`): `archiveDownloadHeaders` and `resolveHeaders` merge a
|
|
2744
|
+
marketplace `url` source's `headers` (sent to its own origin only) with an entry's (replacing by
|
|
2745
|
+
name), command output over `headers` within a place, and drop `Host`, `Cookie` and `X-Forwarded-*`
|
|
2746
|
+
from catalog and project entries; `helperAllowed` decides whether a `headersHelper` runs
|
|
2747
|
+
(`https://` marketplace URL, settings file and trust, `--add-dir`, `disableCommandPluginSources`
|
|
2748
|
+
and `allowManagedHooksOnly`, single install or update the user accepted); `runHeadersHelper` runs
|
|
2749
|
+
it through `CommandRunner` (10 seconds, JSON object of strings, no credential variables for a
|
|
2750
|
+
catalog or project command) and `helperCache` reuses a `url` source's output for 60 seconds. Entry
|
|
2751
|
+
validation also warns about routing headers and a `headersHelper` without a `sha256` pin.
|
|
2752
|
+
- Marketplace sources (`marketplace`): `parseMarketplaceSource` reads the `source` object of
|
|
2753
|
+
`extraKnownMarketplaces` or an entry of `strictKnownMarketplaces` and `blockedMarketplaces`
|
|
2754
|
+
(`url`, `github`, `git`, `npm`, `file`, `directory`, `settings`, and the policy-only `skills-dir`,
|
|
2755
|
+
`hostPattern`, `pathPattern`) with every field (`path` defaulting to
|
|
2756
|
+
`.claude-plugin/marketplace.json`, `ref`, `sparsePaths`, the no-op `skipLfs`, a settings source's
|
|
2757
|
+
`name` equal to its key and not reserved, its inline `plugins` as remote entries, the `owner/*`
|
|
2758
|
+
wildcard in policy lists only) and the `loadStatus` `extraKnownMarketplaces` gives it;
|
|
2759
|
+
`planMarketplaceFetch` turns a source into a git clone, a 5 MiB and 10 second file download, an
|
|
2760
|
+
in-place read with the root two levels up, or an inline catalog; `parseMarketplaceInput` builds
|
|
2761
|
+
the source `claude plugin marketplace add` builds from what you type, with `--sparse`.
|
|
2762
|
+
- Marketplace renames and removal (`marketplace`): `validateRenames` (also run by
|
|
2763
|
+
`validateMarketplace`) rejects a `renames` chain that cycles or ends outside `plugins` and a target
|
|
2764
|
+
that is not a plugin name; `resolveRename`, `renameNotice`, `migrateSettingsKeys` and
|
|
2765
|
+
`migrateSettingsScopes` follow the chain from the oldest name and rewrite or drop the old keys of
|
|
2766
|
+
`enabledPlugins` and `pluginConfigs` (managed settings are left and their notice recurs);
|
|
2767
|
+
`removedPlugins` decides what `forceRemoveDeletedPlugins` uninstalls and flags.
|
|
2768
|
+
- Marketplace dependencies (`marketplace`): `normalizeDependency` reads a `dependencies` item
|
|
2769
|
+
(`"name"`, `"name@marketplace"` or an object with `name`, `marketplace` and a node-semver
|
|
2770
|
+
`version`), `releaseTag`, `parseReleaseTag`, `selectTag` and `combineRanges` resolve ranges against
|
|
2771
|
+
`<name>--v<version>` tags (pre-releases only with `^2.0.0-0`, conflicts reported as `has
|
|
2772
|
+
conflicting version requirements`), `resolveDependencyVersion` applies the source-kind rules (own
|
|
2773
|
+
repository fails with `has no git tag satisfying`, relative path falls back to the current copy,
|
|
2774
|
+
`npm`, `archive` and `command` check the plugin.json version), `checkInstalledDependency` and
|
|
2775
|
+
`checkDependency` give the quoted `is not installed`, `is disabled` and `Requires "<dep>" <range>,
|
|
2776
|
+
installed <version>` messages (local copies skip the range; claude.ai plugins meet a dependency
|
|
2777
|
+
only for `@synced` plugins), and `crossMarketplaceDecision` applies the root marketplace's
|
|
2778
|
+
`allowCrossMarketplaceDependenciesOn`. Adds the `semver` dependency.
|
|
2779
|
+
- `readMarketplace` and `validateMarketplace` read every entry by default (the entry reader over
|
|
2780
|
+
`parsePluginSource`), so a marketplace file loads end to end and its entries feed `planPluginFetch`,
|
|
2781
|
+
`resolveRename`, `normalizeDependency` and `crossMarketplaceDecision`; `unreadEntry` is removed.
|
|
2782
|
+
- Marketplace dependencies (`marketplace`): a dependency `name` and `marketplace` must satisfy the
|
|
2783
|
+
plugin id grammar (`a@b@c` and blank names are errors); the `@synced` note is added only for an
|
|
2784
|
+
enabled claude.ai plugin; `combineRanges` takes the dependency and names it by id; the new
|
|
2785
|
+
`autoUpdateDecision` skips an update whose current copy falls outside any installed range or whose
|
|
2786
|
+
ranges conflict; dependency issues carry the `errorType` of `claude plugin list --json`
|
|
2787
|
+
(`DependencyIssue`); `crossMarketplaceDecision` accepts the declaring plugin's marketplace and
|
|
2788
|
+
ignores its list; weak and misfiled dependency tests are replaced or moved outside `spec(...)`.
|
|
2789
|
+
- Marketplace renames and removal (`marketplace`): `migrateSettingsKeys` and `migrateSettingsScopes`
|
|
2790
|
+
keep the type of the values they carry; `InstallScope` derives from the SDK's setting sources;
|
|
2791
|
+
`Renames` is the one type of the map; tests now prove the notice appears once, managed settings
|
|
2792
|
+
are left as given, a registered name that differs from the file's is used, and the first of two
|
|
2793
|
+
old keys rewritten to one new key wins; the judgments record these, the host's **Flagged**
|
|
2794
|
+
heading, and that renames chains are checked only by `validate`.
|
|
2795
|
+
- Archive download headers: a `headersHelper` command runs only for the command and archive URL
|
|
2796
|
+
the user accepted (`AcceptedCommand`, replacing a bare flag; a change in the query string alone
|
|
2797
|
+
does not count unless the host sets `queryCounts`); an empty `CLAUDE_CONFIG_DIR` is unset;
|
|
2798
|
+
concurrent downloads on one origin share one command run; the entry and `url` source header
|
|
2799
|
+
types are taken from `MarketplaceEntry` and `MarketplaceSource`.
|
|
2800
|
+
- Plugin sources and fetch plans: the archive compression ratio is judged against the length of
|
|
2801
|
+
the zip the kit downloaded and not against a size the host reports; a local plan carries a
|
|
2802
|
+
`submodules` rule (`none`, `plugin-subtree`, `whole-repository`) with `selectSubmodules` and
|
|
2803
|
+
`submodulePaths` for the git submodules a marketplace clone fetches; a `git-subdir` path with a
|
|
2804
|
+
drive letter or a UNC prefix is refused as absolute; the object source parsers read each field
|
|
2805
|
+
with a typed reader instead of a cast; the relative path tests assert the backslash message
|
|
2806
|
+
(also for a trailing backslash), a symlink counts as one entry at exactly 20,000 and 20,001, and
|
|
2807
|
+
a tarball link outside the default registry's path prefix is refused; the `sha256` lower casing
|
|
2808
|
+
and the placeholder `headers` of an archive plan are recorded as judgments.
|
|
2809
|
+
- Marketplace entries: the `source` spec block proves only the entry-level behaviour (the parser's
|
|
2810
|
+
messages belong to the plugin source parser); `headers` and `headersHelper` count under their own
|
|
2811
|
+
ids, with a non-string helper dropping the entry; `effectiveTopic` gives the `relevance.topic`
|
|
2812
|
+
default and `effectiveDisplayName` the name users see; `dependencies` has negative cases for a
|
|
2813
|
+
non-string `version` and `marketplace`; the entry reserved-name check no longer filters the
|
|
2814
|
+
manifest's advice by its wording (`nameReservedIssues` is separate from the kebab-case advice); the
|
|
2815
|
+
version and no-effect headers warnings are recorded as reported when loading too.
|
|
2816
|
+
- Marketplace file and names: a name with a non-ASCII character impersonates an official
|
|
2817
|
+
marketplace even when it spells a reserved name (`claude–code–plugins` with en dashes);
|
|
2818
|
+
`renames` keeps a `"__proto__"` entry from parsed JSON instead of dropping it; the name tests
|
|
2819
|
+
assert the exact reserved-name, Claude Desktop and non-anthropics `git` messages, and
|
|
2820
|
+
`metadata.pluginRoot` has its own spec block.
|
|
2821
|
+
- Marketplace contracts: `ArchiveReader.stats` and `GitTags.list` report a corrupt zip, an
|
|
2822
|
+
unreachable git host or a fired signal as a `PortFailure` instead of a rejection (`stats` now
|
|
2823
|
+
takes a required `signal`); `MarketplaceSource` carries `skipLfs` on `github` and `git` and
|
|
2824
|
+
`version` and `registry` on `npm`, and a type-level test ties its kinds and fields to the SDK's.
|
|
2825
|
+
- Marketplace sources: a source object that does not parse (a missing or mistyped required field,
|
|
2826
|
+
a `settings` name that differs from its key) reports the load status `Unsupported marketplace
|
|
2827
|
+
source type` instead of `loads`; `marketplace add` clones a `/_git/` URL even with a query string;
|
|
2828
|
+
the `http-file` plan carries the redirect rule of a `url` source (a different origin must use
|
|
2829
|
+
`https`, blocked hosts are refused, no configured header is sent); a relative `file` path has a
|
|
2830
|
+
root (`.` for fewer than two directories, the drive for `C:\m.json`); issue paths of a source
|
|
2831
|
+
plan are relative to the source object; one GitHub `owner/repo` rule serves plugin sources,
|
|
2832
|
+
marketplace sources and `marketplace add`; `--sparse`, `owner/*` and the `url` source's
|
|
2833
|
+
relative-path refusal count under their requirement ids, and the settings duplicate, `strict`,
|
|
2834
|
+
`npm` `version` and `registry`, and policy-warning tests assert their paths and messages.
|
|
2835
|
+
- Marketplace gate (`settings/marketplaces`): `createMarketplaceGate(view)` answers
|
|
2836
|
+
`strictKnownMarketplaces` and `blockedMarketplaces` as verdicts (add, install, update, refresh,
|
|
2837
|
+
auto-update, session start, a marketplace that cannot be found, `skills-dir`), and
|
|
2838
|
+
`matchMarketplaceSource` is the shared matcher: exact entries, owner wildcards (case-sensitive on
|
|
2839
|
+
the allowlist, case-insensitive on the blocklist), `hostPattern` host extraction, `pathPattern`,
|
|
2840
|
+
canonical git URLs and `url` entries on the blocklist, `[]` as a lockdown, and the blocklist
|
|
2841
|
+
checked first.
|
|
2842
|
+
- Marketplace registry and command sources (`settings/marketplaces`):
|
|
2843
|
+
`createMarketplaceRegistry(view, context).registrations()` plans `extraKnownMarketplaces` (whole-entry
|
|
2844
|
+
replacement across files, workspace trust for project, local and `--add-dir` entries, the allowlist
|
|
2845
|
+
and blocklist checked on the entry that wins, `settings` source rules, `headersHelper` ignored from
|
|
2846
|
+
`--add-dir`, `autoUpdate` defaults, the official marketplace implied by `enabledPlugins`), and
|
|
2847
|
+
`createCommandSourcePolicy(view)` answers `disableCommandPluginSources` (falling back to
|
|
2848
|
+
`allowManagedHooksOnly`) for command-sourced plugins and marketplace `headersHelper` commands.
|
|
2849
|
+
- Settings, marketplace registry: `autoUpdate` defaults off for `knowledge-work-plugins` and
|
|
2850
|
+
`first-party-plugins` whatever the host lists as official; routing and identity headers (`Host`,
|
|
2851
|
+
`Cookie`, `X-Forwarded-*`) are dropped from an inline plugin entry's `headers` in a project, local
|
|
2852
|
+
or `--add-dir` file, `Authorization` kept; a `url` source that does not start with `https://`
|
|
2853
|
+
loses its `headersHelper`; `autoUpdateFixed` is set only for a registered managed entry; the
|
|
2854
|
+
inline plugin source kinds are typed over the SDK's union so a new kind fails to compile.
|
|
2855
|
+
- Settings, marketplace gate: the blocked-source message quotes the source (`Marketplace source
|
|
2856
|
+
'<source>' is blocked by enterprise policy`); an empty allowlist ends it with `No external
|
|
2857
|
+
marketplaces are allowed.`; the load-time messages carry the docs' guidance line; a `github`
|
|
2858
|
+
shorthand refused by an allowlist that admits a host by hostname adds the `Tip:`;
|
|
2859
|
+
`skillsDirectoryPlugins()` reports `strictPluginOnlyCustomization` as the reason when any
|
|
2860
|
+
customization type is locked; tests assert whole messages and cover a pinned `ref` or `path` and
|
|
2861
|
+
both lists set.
|
|
2862
|
+
- Marketplace file and names (`marketplace`): `readMarketplace` and `validateMarketplace` read the
|
|
2863
|
+
top level of `marketplace.json` (`name`, `owner`, `plugins`, `$schema`, `description`, `version`,
|
|
2864
|
+
`metadata`, the removal and rename keys) as Claude Code loads it and as `claude plugin validate`
|
|
2865
|
+
reports it, hand each entry to an `EntryReader` alone, and report unknown keys; the reserved-name
|
|
2866
|
+
rules (`marketplaceNameIssues`: official, community and directory names with the
|
|
2867
|
+
`github.com/anthropics/` exemption, impersonation, another spelling, `inline`, `npm`, JavaScript
|
|
2868
|
+
member names, `claudeai-`, the download-folder clash); `effectiveDescription` and
|
|
2869
|
+
`effectiveVersion`.
|
|
2870
|
+
|
|
2871
|
+
#### mods
|
|
2872
|
+
|
|
2873
|
+
- A mods dispatch whose `signal` aborted ran Claude Code's own behaviour when its hook failed
|
|
2874
|
+
after the abort (the hook was skipped and the core ran), when a `.catch` handler passed the event
|
|
2875
|
+
on, or when a hook called `next(e)` late. It now rejects with the abort's reason and no core runs
|
|
2876
|
+
(claude-code/index.d.ts:6999, :10821; spec/judgments.md `abortedCore`). A hook that fails while the
|
|
2877
|
+
call is live is still skipped, as declared.
|
|
2878
|
+
- Mods `cutOutput` cuts by bytes, so a real trailing U+FFFD stays and `isTruncated` is true only
|
|
2879
|
+
when the text got shorter.
|
|
2880
|
+
- A mod's `types` file or hooks module linked out of the plugin is refused, not read.
|
|
2881
|
+
- A pre-release mods minimum version (`1.2.0-beta`) comes before its release.
|
|
2882
|
+
- The host's event object is no longer frozen in place; a pass-through hook is no longer
|
|
2883
|
+
reported for an inner mod's drop; a reload keeps the mods' order; a RegExp matcher from another
|
|
2884
|
+
realm no longer matches everything; junk children of a box and non-http redirects are refused;
|
|
2885
|
+
host dispose aborts work under a host-given signal; a failing `onLoaded` no longer leaves hooks
|
|
2886
|
+
registered; `command.run` uses the rewritten command.
|
|
2887
|
+
- Mods tool orchestration now compares rewritten frames with the model's original input, skips
|
|
2888
|
+
prompts after decisive permission results, and never reports a failed tool as successful.
|
|
2889
|
+
- Mods, the events prose, the reference fields and the settings hook. `toolReadOnlyReport` gives
|
|
2890
|
+
`e.isReadOnly` of `tool.check` (`true` or absent, never `false`); `inputChangedDenial` denies a call
|
|
2891
|
+
whose input a hook changed after auto mode's review (`a hook changed this call's input after the model
|
|
2892
|
+
wrote it`); `withheldResultText` and `promptDroppedText` word what Claude and the user read of a
|
|
2893
|
+
withheld result and a dropped prompt; `settingsLayersForMods` builds `e.layers` (`plugin`, `user`,
|
|
2894
|
+
`project`, `local`, `flag`, `policy`, lowest first) and `readEngineSettings` forwards the chain's debug
|
|
2895
|
+
lines (`answered settings.read without next()`); a `settings.read` hook must answer `{ value }` or
|
|
2896
|
+
`{ deny }`; `ModsHost.runCommand` answers a registered command no `command.run` hook answered
|
|
2897
|
+
(`<mod> registered /tally but no command.run hook answered it`); a call a stopped session refuses
|
|
2898
|
+
raises the toast `Stopped: type a message to continue; a mod cannot resume work after Stop`; the
|
|
2899
|
+
built-in guard names a mod that tried to lift a deny rule once, in the debug log and the transcript;
|
|
2900
|
+
`turn.step` carries `turnId`; the test kit fires `settings.read` with empty `layers`. 48 requirements
|
|
2901
|
+
of events.md, reference.md and troubleshoot.md are proven, each with the docs' own example.
|
|
2902
|
+
- Mods, review of `describeApi`, state reset and the mods API guide tests. `RunGate.userInput()` and
|
|
2903
|
+
`StateStore.reset()` deliver to every held notice and every write listener even when one throws,
|
|
2904
|
+
then report the failure (the error as thrown, several as an `AggregateError`); `runEach` in the
|
|
2905
|
+
foundation does it. `docs/API.md` says a `value` member of `describeApi` carries no value (the host
|
|
2906
|
+
copies it from the live `$`) and no arity. The test kit types `$.ui.mount` (`TestDollar`) and exports
|
|
2907
|
+
`MountHandle` and `MountSpec`. Tests: every one of the 79 calls of the table gets `next(e)`,
|
|
2908
|
+
`{ value }` and `{ deny }` from sample arguments (a call without a sample fails), a hook of a mod
|
|
2909
|
+
that runs after the caller never sees its call, `$.prompt.submit` without `asUser` reaches the port
|
|
2910
|
+
without it, `$.model.complete` asks no question and uses the Claude API's usage fields, the Add one
|
|
2911
|
+
button of hello-tabs runs through the pane, `types` left out or pointing at a missing file, and a
|
|
2912
|
+
write inside `ui.render` and the unchecked type of a declared value are recorded as judgments.
|
|
2913
|
+
- Mods, review of crash behaviour and refused calls. `ModSession.send` receives the reason the
|
|
2914
|
+
session refuses new work (`send(to, text, signal, refusal?)`) and `unsentReason.subagent` /
|
|
2915
|
+
`unsentReason.teammate` word the `{ isDelivered: false, reason }` of the page's table. `ModTools.call`
|
|
2916
|
+
receives `held()` and `HELD_AT_TIMEOUT` words the line of a foreground Bash or PowerShell command
|
|
2917
|
+
ended at its timeout while input is held. `ModsHost.input.setLimits(limits)` changes
|
|
2918
|
+
`--max-turns` and `--max-budget-usd` for the next run of a long-lived host. Changes to the mod set
|
|
2919
|
+
(`load`, `reload`, a stop of the worker...) run one at a time, so a stop during `reload()` or two
|
|
2920
|
+
stops in a row no longer rewrite the loaded mods together; a mod that is unloaded or unloaded for
|
|
2921
|
+
a crash is forgotten by the replay ledger; a fresh copy the loader has no record of says so instead
|
|
2922
|
+
of vanishing. Judgments record the latest-release-only model of the version-gated behaviour, the
|
|
2923
|
+
host's part of "Work your mod started before the interruption" and the order of a replayed call
|
|
2924
|
+
among the mods before it. Tests: a spawned subagent's turns reach the `--max-turns` count, a stop
|
|
2925
|
+
traced to a built-in mod is untraced, and casts and a stray comment left the test support.
|
|
2926
|
+
- Mods, review of per-mod load and where mods run. A refusal by another mod reaches the transcript of
|
|
2927
|
+
an interactive session that loads a plugin directory or hot-reloads (it was the debug log in every
|
|
2928
|
+
session). `ModsHostOptions.hotReload` is a getter, so the answer to the hot-reloading question moves
|
|
2929
|
+
later lines to the transcript at once. `modsVersionProblem` words an unreadable version as `this is
|
|
2930
|
+
an unreadable version (latest)`. Tests: the page's own `register.js` runs and its redraw is seen,
|
|
2931
|
+
edits take effect only in a watched directory, the whole change-notice lines, the hot-reloading
|
|
2932
|
+
answers and their state, the refused mod stays off the `mods active` line, and the WSL and
|
|
2933
|
+
feature-flag defaults.
|
|
2934
|
+
- Mods, review fixes of the load seams. `createModsHost(...).fire` and `fireStream` take `before` (where
|
|
2935
|
+
managed `PreToolUse` hooks run, ahead of the first mod), which only the raw chain could set. A
|
|
2936
|
+
stack overflow is a `RangeError` or a message in an engine's words (`maximum call stack size
|
|
2937
|
+
exceeded`, `too much recursion`, `stack overflow`, `not enough stack space`), no longer any error
|
|
2938
|
+
that mentions a stack. `claude plugin validate` reports the scan problem of a compiler output, not an
|
|
2939
|
+
unrelated compiler issue. Tests: the order of managed, other settings and plugin `PreToolUse` hooks
|
|
2940
|
+
is driven through the host with the hook engine; `prependPlugins`, the built-in guard's run order,
|
|
2941
|
+
the filter with every field matching, deep freezing of events, the `my-mod:` log line through the
|
|
2942
|
+
real `$.ui.log`, the six `$` and import rules (each with its own reason, in
|
|
2943
|
+
`check-reads-wording.test.ts` where the page gives no wording), a blank `Client` error and the drawn
|
|
2944
|
+
failure node are now asserted; the linking reason, a session with no `modules` key and the compiler
|
|
2945
|
+
outputs of `validate` moved out of `spec(...)` as judgments, with new rows in `spec/judgments.md`.
|
|
2946
|
+
- Mods hook chain (`mods/chain`): `createModChain` runs hooks as middleware by tier (`prepend`, `user`,
|
|
2947
|
+
`append`, `builtin`, then Claude Code) with `e` deeply frozen, `next(e)`, `next.signal`,
|
|
2948
|
+
`next.origin`, `next.budget`, `next.to(e, tier)`, matchers, `*` and `classic.*`, the failure
|
|
2949
|
+
policy with `.catch` handlers (`next.error`, `next.error.cause`, `next.called`), re-entry, the
|
|
2950
|
+
10 s, 50 ms (`prompt.edit`), 1 s (`.catch`) and shared `session.end` time limits measured on the
|
|
2951
|
+
`Clock` port (a hook's time stops inside `next` and mods API calls except `$.clock.sleep`), the
|
|
2952
|
+
28000-level nesting limits, async generator hooks for `turn.step` and `process.spawn`, and the
|
|
2953
|
+
telemetry events' `{ to: 'collector' }` filter. Foundations for the other parts of mods:
|
|
2954
|
+
`MOD_LIMITS`, `MOD_EVENT_NAMES` (48 events), `MODS_API`, `MOD_TIERS`, `foundation`
|
|
2955
|
+
(`createBudget`, `deepFreeze`, `plainDataProblem`, `jsonChars`), and the mods ports (`ModRuntime`,
|
|
2956
|
+
`ModCompiler`, `ModStore`, `TelemetrySink`, `ModWatcher`, `DenyRuleChecker`).
|
|
2957
|
+
- Mods events (`mods/events`): `EVENT_SPECS` for the tool, prompt, command, `/config`, turn, session
|
|
2958
|
+
and subagent events (the documented input fields and the shapes a hook can answer with),
|
|
2959
|
+
`createEventRules` for the chain (`createModChain({ clock, rules })`: a result of the wrong shape
|
|
2960
|
+
fails the hook, a `drop` after `next` was answered fails it, `skill.prompt` refuses a change
|
|
2961
|
+
other than `text` and `frontmatter`, a resumed `agent.spawn` ignores a change, `session.append`
|
|
2962
|
+
takes only a changed `message.content`, a `drop` or `config.set` `deny` reason is cut at 4,096
|
|
2963
|
+
characters), `eventResultProblem`, `eventInputProblem`, `clampReason`, `mergeToolCheck` (plan mode
|
|
2964
|
+
lets a mod tighten a call that is not read-only, not approve it), `skillPromptEvent` (source,
|
|
2965
|
+
plugin name, path, frontmatter and its problem) and `autocompleteRows`.
|
|
2966
|
+
- Mods API (`mods/api`): `createModsApi` builds the `$` of one mod from ports. Every call is an
|
|
2967
|
+
event through the chain and then a port (`$.fs`, `$.process`, `$.http`, `$.model`, `$.store`,
|
|
2968
|
+
`$.state`, `$.session`, `$.prompt`, `$.turn`, `$.config`, `$.settings`, `$.env`, `$.clock`,
|
|
2969
|
+
`$.mcp`, `$.audio`, `$.telemetry`, `$.command`, `$.tool`, `$.agent`, `$.plugin`), with the
|
|
2970
|
+
documented limits: 4 MiB for a file, a request body, a response, command output and the store,
|
|
2971
|
+
`isStdoutTruncated` and `isStderrTruncated`, the 30 second and 10 minute timeouts, five redirects
|
|
2972
|
+
and the dropped headers, `HEAD` and the `Content-Length` reason, `maxTokens` 1024 to 64,000 with
|
|
2973
|
+
prompt blocks and cache breakpoints, the newest 4,096 messages, and names of up to 64 letters,
|
|
2974
|
+
digits, `_` and `-` (`isValidModName`). `engine.create` adds or withholds a namespace and lends
|
|
2975
|
+
its methods the caller's context; `settings.read` has layers, sources and the own-read versus
|
|
2976
|
+
mod-read origin (`readEngineSettings`); registries of commands, tools (as `mcp__<plugin>__<name>`)
|
|
2977
|
+
and subagent types; `$.state` with `atom`, `read` and `update`; `withApiRules` composes the shape
|
|
2978
|
+
of API calls with `createEventRules()`; `AGENT_STATUSES`; and the ports behind it (`ModFs`,
|
|
2979
|
+
`ModFetcher`, `ModSpawner`, `ModModels`, `ModSession`...).
|
|
2980
|
+
- The interface part of mods (`createModsUi`, `withUiRules`, `uiApi`): the 12 elements with their
|
|
2981
|
+
props, the apps that draw them and the props the VS Code extension ignores, the 15 render sites,
|
|
2982
|
+
tree validation (`treeProblem`, the documented `a tree Pane refuses:` lines) and the size limits
|
|
2983
|
+
(nesting 32, 20,000 nodes, `Raster` cells, `Image` bytes, 100,000 characters of text),
|
|
2984
|
+
`foldRender` (a tree, `next(e)`'s reference, the band and `AskUserQuestion` rules), panes
|
|
2985
|
+
(`$.ui.open` placement at 144 and 110 columns, `ui.close` origins), controls routed by key
|
|
2986
|
+
(`routeControl`, hotkeys, `action`, the collapsed band), the redraw throttle (10 and 30 a
|
|
2987
|
+
second, coalesced), `$.ui.toast` (4 seconds, `timeoutMs`, classic and fullscreen) and `$.ui`.
|
|
2988
|
+
- Mods loading (`createModsHost`, `decideModLoad`, `orderMods`, `scanHooksModule`, `validateMod`, `activeModsLine`): which hooks modules load and in which tier under `disableAllHooks`, `allowManagedHooksOnly`, `disableSideloadFlags`, `prependPlugins`, `appendPlugins`, `pluginConfigs`, `CLAUDE_CODE_PLUGIN_DIRS` and the built-in guard `sec-default@builtin` (`allowManagedModsOnly`, `allowModsToOverrideDenyRules`); the `plugin.register` refusal; `/reload-plugins`; the static scan with the 2,000-scope limit; and the file names of a mod (`hooks/hooks.json`, `hooks/register.js`, `types/index.d.ts`, `.test.ts`).
|
|
2989
|
+
- The mods test kit (`modsTesting`): `runModTests` for `claude plugin test [directory]` with Bun-style output, the 5-second limit and `timeoutMs`; `createTestKit` for `claude-code/testing` (`test`, `tier`, `expect`, `mock.clock`, `mock.store`, `mock.env`, `mock.session`, `$.ui.mount`); the `ModTestRuntime` port and the in-process `inlineRuntime` and `inlineTests`.
|
|
2990
|
+
- Mods loading, policy, scan and test kit: the test kit fails a mods API call no stub answers with
|
|
2991
|
+
`no implementation for <name>` (not only `fs.read`), leaves `ui.invalidate`, `$.state` and
|
|
2992
|
+
`session.append` to itself, and reads `hooks.json` as JSON instead of searching its text; an
|
|
2993
|
+
inline mod written as method shorthand (`register(on) { ... }`, also `async`) loads; the host
|
|
2994
|
+
fires `session.start` for each loaded mod after `load` and `reload`, a reload leaves the mods
|
|
2995
|
+
the host registered itself, and `reloadMod(name)` keeps the version loaded before when a save
|
|
2996
|
+
breaks the module (`reload failed, the previous version stays loaded:`); an id in both
|
|
2997
|
+
`prependPlugins` and `appendPlugins` is prepended; the rollout switch refuses installed mods with
|
|
2998
|
+
the documented `for installed plugins` lines; `isTrusted: false` keeps mods out until the trust
|
|
2999
|
+
prompt is answered; `disableSideloadFlags` also rejects `--plugin-url`; the loader asks for the
|
|
3000
|
+
types file where `claude plugin validate` does and an import that leaves the plugin directory is
|
|
3001
|
+
refused; `validate` leaves out a file with nothing to report; the debug line lists the events;
|
|
3002
|
+
`ModsSettingsFile` is typed from the SDK's `Settings`; the judgments row for gating events names
|
|
3003
|
+
the five events of events.md.
|
|
3004
|
+
- Mods interface: `$.ui.ask` goes through a `tool.call` of `AskUserQuestion` and reads
|
|
3005
|
+
`result.answers`, so the documented stub works and a dismissed question rejects; `ui.message` and
|
|
3006
|
+
`ui.fault` reach only the mod that drew the `Client` (`DispatchOptions.only`); a toast raised
|
|
3007
|
+
during a hold of toasts waits for the hold to end instead of timing out, and only the terminal
|
|
3008
|
+
holds; a failed `Client` has its dimmed line (`clientFailure`); a hook that answers `ui.render`
|
|
3009
|
+
without `next` writes `<mod> (<tier>) answered ui.render without next()` to the debug log;
|
|
3010
|
+
`drawsAsLink` accepts a missing `/` before a query or fragment; hotkeys press only while the pane
|
|
3011
|
+
or band has keyboard focus and no `Input` does; a `ui.render` hook that writes a value it read no
|
|
3012
|
+
longer redraws in a loop.
|
|
3013
|
+
- Mods API: `$.clock.after` and `$.clock.every` return their timer at once (`timer.cancel()` needs
|
|
3014
|
+
no `await`, and also stops a timer whose event is still in the chain); a hook on a mods API call
|
|
3015
|
+
intercepts only the calls of the mods that run after it (`DispatchOptions.caller`); a pass-through
|
|
3016
|
+
hook on `process.spawn` is no longer reported as failed; `$.http.fetch` lower-cases response header
|
|
3017
|
+
names (a `Content-Length` in any case is honoured) and cuts `text` to 4 MiB of bytes itself;
|
|
3018
|
+
`asUser: false` is a plain submit; `effort` is an SDK `EffortLevel`; `$.fs.list` and `stat`
|
|
3019
|
+
carry only the documented fields; `$.agent.list` rows are checked against the reference's
|
|
3020
|
+
statuses; casts on JSON data are replaced by parses. The maximum process timeout and `maxTokens`
|
|
3021
|
+
are proven under `spec(...)`, the tests that only echoed a stub are now real, and the new
|
|
3022
|
+
judgments are rows in `spec/judgments.md`.
|
|
3023
|
+
- Mods events: `mergeToolCheck` honours `e.ceiling` (`ask` caps a mod's `allow` at `ask`, as
|
|
3024
|
+
permissions.md says for connector tools an organization set to `ask`); `SESSION_END_REASONS` now
|
|
3025
|
+
lives in `src/protocol/exit-reasons.ts`, tied to the SDK's `ExitReason`; tests prove that a hook's
|
|
3026
|
+
`next(e)` rejects when a session message is not delivered, and the ordering, resumed-run and
|
|
3027
|
+
input-shape assertions moved out of `spec(...)` into judgments (new rows in `spec/judgments.md`).
|
|
3028
|
+
- Mods chain: a synchronous mods API call gives the hook's time budget back, so a hook's own
|
|
3029
|
+
10 s, 50 ms or 1 s limit still fires after one; `walkPlainData` measures a sub-structure
|
|
3030
|
+
reached twice at its deepest place, so a shared sub-tree can no longer slip past the 28,000-level
|
|
3031
|
+
limits; a hook whose `.catch` handler fails too is reported with the hook's own reason, as if it
|
|
3032
|
+
had no handler; the host passes `rewritten` and `lent` flags in `ReentryInfo` and the chain
|
|
3033
|
+
picks `next.error.cause` (`rewritten` wins); `plugin.name` and `plugin.root` are values and no
|
|
3034
|
+
longer events (`API_EVENT_NAMES`, `ApiEventName`); `register` no longer takes the `core` tier.
|
|
3035
|
+
The speculative ports `ModSurface`, `ModEnv`, `ModWatcher`, `ModTurnPort` are removed, and the
|
|
3036
|
+
mods name and limit tables are compared with the pulled reference.
|
|
3037
|
+
- Preserve a refusal of the engine settings read even when an outer hook returns a value; use a typed plugin-layer merge, isolate engine toast ownership and cover a timeout after next.
|
|
3038
|
+
|
|
3039
|
+
#### host
|
|
3040
|
+
|
|
3041
|
+
- A project or plugin folder whose name holds shell syntax ran it. The path variables were
|
|
3042
|
+
pasted into strings a shell parses, inside the docs' double quotes, which do not stop `$(...)`, a
|
|
3043
|
+
backtick or a `"`: a project folder named `x$(touch PWNED)` ran `touch` from a bash shell-form hook,
|
|
3044
|
+
a monitor `command` and an MCP `headersHelper`. `SubstitutionScope.monitorPaths` was never set by
|
|
3045
|
+
the session (`scopeOf`), and `PluginHostOptions` had no way to set it. Now, by default
|
|
3046
|
+
(`shellPaths: 'environment-reference'`), those three write `${CLAUDE_PLUGIN_ROOT}`,
|
|
3047
|
+
`${CLAUDE_PLUGIN_DATA}` and `${CLAUDE_PROJECT_DIR}` as braced references, and the values go in the
|
|
3048
|
+
process environment: a hook's, `ResolvedMonitor.environment` (and `MonitorStart.env`), and
|
|
3049
|
+
`HelperServer.paths` for `planHeadersHelper`. Proven through the public session in
|
|
3050
|
+
tests/host/shell-paths.test.ts. Exec-form hooks, PowerShell hooks (`${env:NAME}`), MCP stdio and LSP
|
|
3051
|
+
servers had no shell to inject into; the kit substitutes nothing in `statusLine`,
|
|
3052
|
+
`subagentStatusLine`, `fileSuggestion` or `apiKeyHelper`.
|
|
3053
|
+
- A file a path-checked Bash file command names (`cat`, `ls`, `grep`, `touch`, `cp`, ...) outside
|
|
3054
|
+
the working directories needs approval in every mode, as in Claude Code 2.1.322: a prefix rule
|
|
3055
|
+
(`Bash(cat *)`) and a bare `Read` allow do not cover it, a path-specific `Read`/`Edit` allow does,
|
|
3056
|
+
a `Read`/`Edit` deny denies, and a tool-wide `Bash` allow or `bypassPermissions` runs it. So do an
|
|
3057
|
+
operand a variable hides, a `..` after a directory segment and a symlink the host resolved
|
|
3058
|
+
outside. The prompt is the mode's: `auto` classifies, `dontAsk` denies (`mode-dontask`, before:
|
|
3059
|
+
the redirect prompt's reason). A tool-wide `Bash` allow now covers redirect targets too. Commands
|
|
3060
|
+
Claude Code does not path-check (`less`, `xxd`, `du`, `chmod`, `ln`, ...) still obey `Read`/`Edit`
|
|
3061
|
+
deny and ask rules (docs/SECURITY.md). `sed -e SCRIPT` and `grep -e PATTERN` no longer read the
|
|
3062
|
+
script as a file.
|
|
3063
|
+
- The read-only set sees through only what Claude Code 2.1.322 does, in its order: known-safe
|
|
3064
|
+
assignments with a value each accepts (`LANG=C`, `TZ=UTC`, `COLUMNS=80`; `LANG=x`, `FOO=1` and any
|
|
3065
|
+
expanding value are asked), `noglob`, `command` (`-p`, `--`) or `builtin`, and `timeout` with a bare
|
|
3066
|
+
duration. `nice`, `time`, `nohup`, `stdbuf`, `xargs` and `timeout` options in front are asked, and
|
|
3067
|
+
`git` or `cd` behind any wrapper is asked. Allow rules strip by the same value checks.
|
|
3068
|
+
- A session's MCP servers and monitors expanded `${VAR}`, and its built-in subagent switches read
|
|
3069
|
+
their variables, from the host's environment port while its hooks and skills used the session's
|
|
3070
|
+
(`ports.environment`, a turn's over it). One view of the session's ports now feeds all of them, and
|
|
3071
|
+
its environment has the settings `env` written over it as Claude Code writes it into its process
|
|
3072
|
+
(env-vars.md, "Set variables in settings files"): a settings value now answers `${VAR}` in a
|
|
3073
|
+
server's config and an http hook's `allowedEnvVars`; `NO_COLOR` and `FORCE_COLOR` stay
|
|
3074
|
+
subprocess-only.
|
|
3075
|
+
- A session's MCP and LSP servers, monitors and plugin agent prompts resolved `${CLAUDE_PROJECT_DIR}`,
|
|
3076
|
+
`${CLAUDE_PLUGIN_ROOT}` and `${CLAUDE_PLUGIN_DATA}` with the host's locations while its hooks used
|
|
3077
|
+
`hookPorts.locations`: every part now reads the session's (`SessionOptions.locations`), and a turn
|
|
3078
|
+
can no longer move `CLAUDE_PROJECT_DIR` (hooks.md, "Worktrees are different").
|
|
3079
|
+
- Security: a `./` or bare deny or ask rule (`Read(./private/**)`) under a current directory reached
|
|
3080
|
+
through a link (`/var/proj` is `/private/var/proj` on macOS) missed a read by the real spelling and a
|
|
3081
|
+
link inside the project into the denied folder. `resolveRuleDirectories` now maps each deny or ask
|
|
3082
|
+
rule's anchor (current directory, home, settings source folder) to its real location as well as the
|
|
3083
|
+
directory the rule names, so the `~/` rule of a linked home also holds before its folder exists.
|
|
3084
|
+
- A working directory or `additionalDirectories` entry reached through a link counted the files below
|
|
3085
|
+
its real location as outside the working directories (prompts, `blockReadsOutsideWorkingDirectories`
|
|
3086
|
+
denials): `resolveRuleDirectories` maps the working directories too, and the scope checks read them.
|
|
3087
|
+
- `session.checkTool` decided a hook's `updatedInput` with the `resolvedPaths` of the input Claude
|
|
3088
|
+
sent. With the new `resolver` option it prepares the input that runs (see Added).
|
|
3089
|
+
- The source type-checks under a consumer's `erasableSyntaxOnly` (no parameter properties); the
|
|
3090
|
+
kit's tsconfig turns it on.
|
|
3091
|
+
- Security: Bash permission rules can no longer be bypassed by spelling. A deny or ask rule also
|
|
3092
|
+
matches the command's spoken form (name unquoted, words one space apart, redirections and line
|
|
3093
|
+
continuations dropped: `rm\t-rf /`, `>out rm x`, `r\<newline>m`). Comments, here-documents,
|
|
3094
|
+
`$'…'`, redirections glued to words (`x>/f`, `2>&1>/f`, `{fd}>`) and function definitions are
|
|
3095
|
+
read as Bash reads them, so a hidden subcommand meets the rules; a line that defines a function is
|
|
3096
|
+
never read-only. In `acceptEdits`, a `sed` script that writes, runs or reads other files and
|
|
3097
|
+
`mv`/`cp -t DIR` are no longer auto-approved; `which` stays read-only only with `-a`. `decide`
|
|
3098
|
+
now checks the files a Bash line reads and writes (`bashFileTargets`, with `ls`, `find`, `du`)
|
|
3099
|
+
against the `Read` and `Edit` rules. `~/` in a tool path expands to the home directory, Windows
|
|
3100
|
+
paths compare without case and trailing dots or spaces, a Glob with an absolute or `~` pattern is
|
|
3101
|
+
checked at its directory, and `readsNetworkPath` also checks resolved forms (`../../net/x`,
|
|
3102
|
+
`/net/./x`). No public name changed.
|
|
3103
|
+
- `withTurn({ cwd })` in the session's own `cwd` keeps the session's skill folders; a turn in
|
|
3104
|
+
another `cwd` must call `reloadSkills` (or `moveTo` to move the session).
|
|
3105
|
+
- Plain data: bytes (an ArrayBuffer view) are a leaf, not walked as a container.
|
|
3106
|
+
- A token estimate counts code points, so a character outside the BMP counts once.
|
|
3107
|
+
- An output redirect to a file in the working directories asks in default mode, even under a `Bash`
|
|
3108
|
+
allow rule, unless an `Edit` rule allows the file; `acceptEdits` accepts it as an edit there. An
|
|
3109
|
+
input redirect in scope keeps a command read-only, and `mkdir d > log` is an `acceptEdits` command.
|
|
3110
|
+
- `node -v`, `node --version`, `python --version` and `python3 --version` are read-only.
|
|
3111
|
+
- Security: a Bash rule matches a command whose name is quoted or escaped. A `deny` rule
|
|
3112
|
+
`Bash(rm *)` no longer lets `"rm" -rf x`, `'rm'`, `r"m"` or `\rm` through, a critical removal
|
|
3113
|
+
(`"rm" -rf /`) asks in `bypassPermissions`, and `Bash(watch *)` no longer approves `"watch" rm x`.
|
|
3114
|
+
An allow rule approves a quoted script path, as claude does (`"$ROOT/setup.sh" go`).
|
|
3115
|
+
- `git diff`, `git log` and `git show` with `--output` are no longer read-only commands: they write a
|
|
3116
|
+
file. `git branch` with only listing flags (`--show-current`, `-a`, `-v`, …) is read-only.
|
|
3117
|
+
- `parseRule` reads `Task(...)` as `Agent(...)`, as sub-agents.md says the renamed tool still works.
|
|
3118
|
+
- A `PermissionRequest` deny keeps its `interrupt` through the dispatch.
|
|
3119
|
+
- Host: `SkillsReload.plugins` leaves out skills-directory plugins while `strictPluginOnlyCustomization`,
|
|
3120
|
+
`strictKnownMarketplaces` or `blockedMarketplaces` stop them; reads of the folders (`reloadSkills`,
|
|
3121
|
+
`touchFile`, `addDirectory`, `moveTo`) run one after another, so a touched file's skills are no longer
|
|
3122
|
+
overwritten by a reload that was reading at the same time.
|
|
3123
|
+
- Permissions (review of the settings keys and the session): `autoMode.classifyAllShell` now acts, as
|
|
3124
|
+
`DecideContext.classifyAllShell` (filled by `startPermissions`) that suspends every Bash and PowerShell
|
|
3125
|
+
allow rule in auto mode; an enforced mod can no longer lift a default-mode prompt that a permission
|
|
3126
|
+
callback would be asked about; `approvalMemory(tool, { rulesLocked })` and the new `savedApproval` hide
|
|
3127
|
+
the always-allow choices under `allowManagedPermissionRulesOnly` and name the file a rule is saved to;
|
|
3128
|
+
`startPermissions` takes `interactive` for hosts with their own approval interface and returns `notices`
|
|
3129
|
+
(the HIPAA terminal notice, verbatim); judgments recorded for the fail-closed block flags, the
|
|
3130
|
+
unmodelled `Artifact` read in bypass mode and the first-time `auto` notice; `mergePermissionBlocks`
|
|
3131
|
+
builds its blocks without a type assertion; weak or echoing tests were rewritten and lint warnings in
|
|
3132
|
+
the new tests fixed.
|
|
3133
|
+
- Host: an update path. `host.update({ plugins?, settings?, parentSettings?, userConfig? })` replaces
|
|
3134
|
+
those parts, re-runs the pure `createHostState` over the merged options (`mergeHostOptions`) and
|
|
3135
|
+
returns the new `{ plugins, issues }`; `host.plugins` and `host.issues` are live getters and
|
|
3136
|
+
`host.generation` counts the updates. Sessions and their `withTurn` and `runScoped` views read a
|
|
3137
|
+
`HostStateCell` at each use instead of a state captured at open: the plugin and settings hooks are
|
|
3138
|
+
rebuilt, the skill, agent and session hooks stay unless their plugin no longer runs or the new
|
|
3139
|
+
plugin-only lock silences them (`pluginOnlyAllows`, exported by the hooks module), the gates, skill
|
|
3140
|
+
list, policies and catalogs are read per call, the skill-hook limit ledger is summed again from the
|
|
3141
|
+
survivors, consumed `once` keys stay consumed and the dynamic watch list is kept. `readCatalog`
|
|
3142
|
+
caches by `Plugin` identity, so an unchanged plugin is not read again.
|
|
3143
|
+
- Host: model limits and message expansion. `SessionOptions.limits` and `TurnOptions.limits`
|
|
3144
|
+
(`SessionLimits`: model allowlist, `maxEffort`, `supportedEfforts`) reach `session.expandSkill`,
|
|
3145
|
+
so `Expansion.turn` carries the allowlisted model and the capped effort. `session.expandMessage`
|
|
3146
|
+
reads the mentions of a typed message (`stackableOf` over the catalog, the turn's interactivity)
|
|
3147
|
+
and expands the direct and stacked skills in order with the shared arguments; named mentions come
|
|
3148
|
+
back as `permitted`, and `expandSkill` takes `permittedByMention` for the model's call.
|
|
3149
|
+
- Host: scoped hooks, `hasHooks`, the watch list and background deliveries. `session.addHooks(prefix,
|
|
3150
|
+
hooks, source, options?)` and `removeHooks(prefix)` register hooks of a run, an agent or a skill
|
|
3151
|
+
(replacing by prefix, never stacking; the handle's `remove()`); `lifetime: 'turn'` ends when
|
|
3152
|
+
`session.runScoped(turn, run)` settles. `session.hasHooks(event)` is true when a handler that
|
|
3153
|
+
passes the gates would run. `session.fileChangedWatchList()` joins the matchers' literal names with
|
|
3154
|
+
the `watchPaths` of SessionStart, CwdChanged and FileChanged outputs (replaced by each, `[]` clears
|
|
3155
|
+
it). `session.takeBackground()` and the pure `settleDeliveries` turn `HookOutcome.background` into
|
|
3156
|
+
`{ additionalContext, systemMessages, wake? }`, a wake surfaced apart for `asyncRewake` exit 2.
|
|
3157
|
+
`mergeWatchPaths` and `hasRunnableHandler` belong to the hooks module.
|
|
3158
|
+
- Host: review fixes of the update path. `host.update` builds the next state before it replaces the
|
|
3159
|
+
merged options, so a state that throws leaves the host as it was; `mergeHostOptions` merges each
|
|
3160
|
+
part by key and keeps its types; `HostedPlugin` moves to `src/host/types.ts`. Tests now cover
|
|
3161
|
+
`parentSettings`, `userConfig` replacing every plugin's saved values and an update that lands during
|
|
3162
|
+
an in-flight `dispatch`.
|
|
3163
|
+
- Host: review fixes of model limits. A stray `sed -i` backup of the skill-limits test is removed, the
|
|
3164
|
+
T2 layout check now fails on any file under `tests/` that is not a `.ts` file, and the skill hook
|
|
3165
|
+
registration closure declares its return type instead of casting `[]`.
|
|
3166
|
+
- Host: review fixes of scoped hooks. `session.onBackground(listener)` tells an idle host of each
|
|
3167
|
+
background delivery, an `asyncRewake` exit 2 wake included, without polling. A view kept past
|
|
3168
|
+
`runScoped` now refuses `lifetime: 'turn'` registrations instead of leaking them for the session.
|
|
3169
|
+
The judgments say the host drains the background queue and owns the async `SessionStart` repeat
|
|
3170
|
+
check; tests cover the stdout wake fallback and a typed hooks literal replaces `JSON.parse`.
|
|
3171
|
+
- Host: review fixes of `withTurn`. The session core no longer carries an unused watch-list slot
|
|
3172
|
+
(it returns with `fileChangedWatchList` support, with a test). Tests now prove that a turn cannot
|
|
3173
|
+
change `trusted` (settings hooks stay held back or released as the session says), that a turn's
|
|
3174
|
+
`scratchpadDir` replaces the session's in the hook input, and that a turn's `interactive` decides
|
|
3175
|
+
whether a forked skill waits; the step on a turn's `additionalDirectories` is dropped because an
|
|
3176
|
+
`if` path rule never reads them.
|
|
3177
|
+
- The tool catalog (`TOOL_CATALOG`, `isKnownTool`, `KNOWN_TOOLS`, `toolRequiresPermission`): the
|
|
3178
|
+
"Permission required" column and the rule format of each of the 46 documented tools, now the
|
|
3179
|
+
source of `ruleFormatOf`; `availableTools` (bare deny rules and globs remove a tool, the
|
|
3180
|
+
`EndConversation` exception, Glob and Grep absent by default on posix) and `resolveSubagentTools`
|
|
3181
|
+
(`tools`, `disallowedTools`, the filters of the tools available to subagents, the zero-tools
|
|
3182
|
+
refusal as an issue).
|
|
3183
|
+
- Tool inputs (`rules/tools/inputs`): `parseToolInput` reads a hook's `tool_input` against the
|
|
3184
|
+
hooks.md table of its tool (Bash, PowerShell, Write, Edit, Read, Glob, Grep, WebFetch, WebSearch,
|
|
3185
|
+
Agent, AskUserQuestion, ExitPlanMode) and reports a wrong type or a missing required field as an
|
|
3186
|
+
issue at `tool_input.<field>`; `TOOL_INPUT_FIELDS` gives each field its type, optionality, role
|
|
3187
|
+
(primary, subject, param, structured) and source (SDK or docs only), and the roles now decide
|
|
3188
|
+
which parameter rules are ignored; `answerQuestions` answers AskUserQuestion for `updatedInput`
|
|
3189
|
+
(labels joined with commas); `effectiveExitPlanModeInput` drops the ignored `allowedPrompts`;
|
|
3190
|
+
`effectiveSearchMode` (an absent `mode` is the full search); `expandToolPath` and
|
|
3191
|
+
`expandToolInputPath` give `Write`, `Edit` and `Read` the absolute `file_path` a hook receives
|
|
3192
|
+
(backslashes on Windows).
|
|
3193
|
+
- Tool semantics (`rules/tools/semantics`): pure functions for the behaviour tools-reference.md
|
|
3194
|
+
states exactly. `applyEdit` (exact replacement, one occurrence unless `replace_all`, `$&` kept
|
|
3195
|
+
literal, refusals as issues), `editEncodingIssue` and `writeEncodingIssue` (the non-UTF-8 and
|
|
3196
|
+
`U+FFFD` guards, the documented message verbatim), `effectiveBashTimeout` (120000 default, 600000
|
|
3197
|
+
ceiling, the larger of the two variables), `backgroundTimeLimit`, `bashOutputLimits` and
|
|
3198
|
+
`windowBashOutput` (30,000 inline, 10,000 for a failure, `bashOutputMaxChars`), `classifyBashExit`
|
|
3199
|
+
(exit 1 is valid only for `grep`, `rg`, `egrep`, `fgrep`, `find`, `diff`, `test`, `[`, `git diff`,
|
|
3200
|
+
`git grep`), `readWindow` (offset, limit, the empty-file and past-the-end notices),
|
|
3201
|
+
`checkWebFetchUrl` (localhost and dotless hosts refused with the documented message, `http`
|
|
3202
|
+
upgraded) and `sliceFetched` (100,000-character window, unread count, next offset),
|
|
3203
|
+
`validateWebSearchDomains` (the two lists cannot be combined), `effectiveGrepOutputMode` and
|
|
3204
|
+
`capGlobMatches` (100 files and a truncation flag).
|
|
3205
|
+
- Tool responses (`rules/tools/responses`): `parseAgentResponse` reads the `tool_response` of an
|
|
3206
|
+
Agent call as the `completed` or `async_launched` member of a union typed from the SDK's
|
|
3207
|
+
`AgentOutput` (a launch exposes no usage fields, `modelsUsed` is set only after a swap and its
|
|
3208
|
+
repeats are collapsed, `resolvedModel` may differ from the request). `parseBashEditDiff` reads
|
|
3209
|
+
`tool_response.bashEditDiff` (at most 200 `changedFiles`, at most 5 `files`, `moreFiles`,
|
|
3210
|
+
`unavailable`, `skipped`, `shared`) with warnings for broken limits, and `bashEditDiffTrust` says
|
|
3211
|
+
whether a list is complete and attributable.
|
|
3212
|
+
- Tool responses: `parseAgentResponse` keeps `modelsUsed` as received instead of collapsing repeats
|
|
3213
|
+
and dropping short lists; `parseBashEditDiff` no longer warns on a file marked both created and
|
|
3214
|
+
deleted, and accepts a `hunks` of any shape. Agent tests now cover non-text content blocks and each
|
|
3215
|
+
launch field, and the two judgments moved out of `spec()`.
|
|
3216
|
+
- Tool semantics: the limits tools-reference.md states are decided by pure functions instead of
|
|
3217
|
+
only the empty-file and default cases. Read: `classifyReadTarget` (binary extensions, images over
|
|
3218
|
+
128 MB, notebooks over 100 MB), `classifyReadSize` and `readTokenLimit` (256 KB whole-file
|
|
3219
|
+
refusal, 25,000 tokens or `CLAUDE_CODE_FILE_READ_MAX_OUTPUT_TOKENS`, `PARTIAL view`, `allow_large`).
|
|
3220
|
+
Glob: `validateGlobInput` (null byte) and `globRespectsIgnore`. Grep: `windowGrepContent`
|
|
3221
|
+
(`No entries at this offset`), `windowGrepCounts` and `totalGrepCount`, `effectiveGrepMultiline`,
|
|
3222
|
+
with `GREP_OUTPUT_MODES` declared once in `rules/tools/inputs`. Bash: `shouldMoveToBackground`
|
|
3223
|
+
and the moved, cwd and stop notices, `BASH_DEFAULT_TIMEOUT_MS` for a moved command, and
|
|
3224
|
+
`classifyPowerShellExit` (`findstr`); `! grep` at exit 1 is now a failure and the `!`, assignment,
|
|
3225
|
+
`&` and subshell cases are recorded as judgments. WebSearch: `webSearchLimits` and
|
|
3226
|
+
`webSearchAllowance`. WebFetch: `webFetchTimings` and `redirectNotice`. The Edit tests assert
|
|
3227
|
+
which refusal (not found or found N times) they expect.
|
|
3228
|
+
- Tool inputs: the optionality of Bash and PowerShell `run_in_background`, Edit `replace_all` and
|
|
3229
|
+
Grep `-i` and `multiline` (the tables mark none optional) is recorded as a judgment and tested
|
|
3230
|
+
outside the spec; `answerQuestions` derives its input type from the SDK's `AskUserQuestionInput`
|
|
3231
|
+
(`multiSelect` stays optional, as hooks.md says); WebSearch domain lists reject non-string
|
|
3232
|
+
elements at `tool_input.<field>.<index>` and ExitPlanMode `allowedPrompts` must be an array,
|
|
3233
|
+
both recorded as judgments.
|
|
3234
|
+
- Permission modes: the dead `classifier` trait is dropped from `PERMISSION_MODE_TRAITS` and its
|
|
3235
|
+
tautology test with it; `BaselineDecision` derives from the SDK's `PermissionBehavior`;
|
|
3236
|
+
`SubagentPermissionInput.set` takes `string` (raw host text that is no mode counts as unset);
|
|
3237
|
+
`spec/judgments.md` records the host-owned subagent classifier review, read-only Bash as a
|
|
3238
|
+
`read` and the `dontAsk` always-deny cases.
|
|
3239
|
+
- Permission rules: `Agent(acme:reviewer)` and `Skill(deploy:deploy)` deny rules are names, not
|
|
3240
|
+
parameter rules on a field called `acme` or `deploy`; only the fields of the SDK's `AgentInput`
|
|
3241
|
+
(and `skill`) read `name:value` as a parameter.
|
|
3242
|
+
- Bash rules: a here-string (`<<< 'x'`) no longer opens a quoted here-document that hid the lines
|
|
3243
|
+
after it from deny and allow rules; a hook `if` that names Bash now runs for a Monitor call (the
|
|
3244
|
+
hook gets the Monitor input), and a Monitor rule still does not run for a Bash call; `if` finds
|
|
3245
|
+
`$()`, backticks and `$VAR` with the quote-aware scanner, so an apostrophe inside double quotes
|
|
3246
|
+
no longer hides one; an unreadable `if` is reported at `hooks.if`; the command field is tied to
|
|
3247
|
+
the SDK's `BashInput` and `MonitorInput`.
|
|
3248
|
+
- Permission rules: an `mcp__` rule with parentheses is skipped only when it comes from a settings
|
|
3249
|
+
file, so a deny rule from the command line or the session matches an MCP tool parameter;
|
|
3250
|
+
`RuleSource` gains `managed` and `embedder-managed`; a `Skill(skill:<name>)` deny rule matches
|
|
3251
|
+
every name the host reports in `PreparedCall.skillNames`; the primary content field is per tool
|
|
3252
|
+
(`url` is only `WebFetch`'s); the default matchers fail closed for deny and ask rules; the
|
|
3253
|
+
matches-no-tool warning repeats the rule as written (`PermissionRule.text`); the command tools'
|
|
3254
|
+
parameter names are checked against the SDK input types.
|
|
3255
|
+
- Tool availability: `--tools ""` removes `EndConversation` when no MCP tool remains, the `default`
|
|
3256
|
+
entry of `--tools` means the default set, `--restricted` removes `PowerShell`, `Monitor` and
|
|
3257
|
+
`WebFetch` as well as `Bash` unless `--tools` names them, a Bash deny rule turns `PowerShell` off
|
|
3258
|
+
on Windows with Git Bash (`gitBash`, `powerShellOptIn`), and
|
|
3259
|
+
`blockWritesOutsideWorkingDirectories` removes the worktree tools; a subagent whose `tools` glob
|
|
3260
|
+
covers `Bash` no longer gets `Glob` and `Grep` back; the catalog test no longer reads the removed
|
|
3261
|
+
tools from production data.
|
|
3262
|
+
- Path rules: an `Edit` rule now covers the legacy `MultiEdit` (and a `Read` deny rule blocks it),
|
|
3263
|
+
while `MultiEdit(docs/**)` is accepted and never matches; a `Read` deny or ask rule reaches every
|
|
3264
|
+
LSP call and no `!` carve-out reopens one; `Read(./.env)` names the `.env` of the current directory
|
|
3265
|
+
only, not one at any depth; a file named `..hidden` is matched by a rule instead of being taken for
|
|
3266
|
+
a parent climb; `Read(src/**/*.ts)` as a deny or ask rule reaches a nested `src`; a `/` rule with
|
|
3267
|
+
no usable text guards its anchor, not the filesystem root.
|
|
3268
|
+
- Permission rules: a deny or ask `WebFetch(domain:...)` rule now applies to an artifact read (an
|
|
3269
|
+
`Artifact` call with `action: read`) when it covers `claude.ai` or `*.claudeusercontent.com`,
|
|
3270
|
+
while a bare `WebFetch` rule and an allow rule do not; an `Agent(general-purpose)` deny or ask
|
|
3271
|
+
rule now covers a call that leaves `subagent_type` out, and `Agent(fork)` names a fork; a
|
|
3272
|
+
`domain:` rule with non-ASCII labels (`bücher.de`) matches the punycode host; the Cowork twin
|
|
3273
|
+
and the Agent, Skill and WebFetch matchers read behaviour and specifier form through a registry
|
|
3274
|
+
and a named guard, and their input fields are tied to the SDK's `AgentInput`, `WebFetchInput`
|
|
3275
|
+
and `ArtifactInput`.
|
|
3276
|
+
- Permission modes (`rules/decide`), review fixes: a double-quoted `sh -c` script (also after
|
|
3277
|
+
`find -exec`) is read after the invoking shell expands it, a single-quoted one binds `$1` only
|
|
3278
|
+
when an argument follows; `cd logs && rm -rf a/*`, a backslash-only target, a volume-GUID path,
|
|
3279
|
+
the `\\?\C:\`, `\\localhost\C$` and 8.3 home spellings are critical paths; a command that does
|
|
3280
|
+
not parse gets the critical-path outcome in every mode. `ps`, `file` and `docker` join the
|
|
3281
|
+
read-only set with their documented prompt cases, a UNC argument on Windows and a write to a
|
|
3282
|
+
special shell variable (`for IFS in`, `unset PATH`) prompt. Under
|
|
3283
|
+
`blockReadsOutsideWorkingDirectories` a Bash command that reads outside the working directories,
|
|
3284
|
+
or that the parser cannot trace, prompts in every mode; under `blockWritesOutsideWorkingDirectories`
|
|
3285
|
+
settings files are refused inside the working directories too and plan files, the scratchpad and
|
|
3286
|
+
auto-memory Markdown stay writable. `--restricted` makes a classified protected-path write ask,
|
|
3287
|
+
the target of a symlinked settings file is its own option and asks in auto and plan, `dev-mods` and
|
|
3288
|
+
`CLAUDE_CONFIG_DIR` are protected, Bash `rm`, `mv` and `cp` go through the symlink check, and
|
|
3289
|
+
`acceptEdits` approves `Set-Content`, `Add-Content`, `Clear-Content` and `Remove-Item` in scope.
|
|
3290
|
+
`HookPermissionDecision` is re-exported from the SDK, and hook decisions and rule behaviors are
|
|
3291
|
+
read through registries.
|
|
3292
|
+
- Permission modes (`rules/decide`): `decide(call, context)` answers allow, ask, deny or classify
|
|
3293
|
+
for one call in `default`, `acceptEdits`, `plan`, `auto`, `dontAsk` and `bypassPermissions`: deny,
|
|
3294
|
+
then ask, then allow with a compound Bash command allowed subcommand by subcommand, a PreToolUse
|
|
3295
|
+
hook's block, deny, ask and allow, a mod's block and approval (with managed settings or a Team or
|
|
3296
|
+
Enterprise login a mod cannot undo a deny rule, an ask rule or a hook's block), the read-only
|
|
3297
|
+
command set, `acceptEdits` filesystem commands in scope, protected paths and their exceptions per
|
|
3298
|
+
mode, critical-path `rm` and `rmdir` removals per mode, network-path reads, tools that require user
|
|
3299
|
+
interaction, `permissions.block{Reads,Writes}OutsideWorkingDirectories`, plan mode's bypass and
|
|
3300
|
+
auto-during-plan cases, and the broad allow rules auto mode drops. The `PermissionClassifier` port
|
|
3301
|
+
and `settleClassification` carry a `classify` decision to the host's reviewer.
|
|
3302
|
+
|
|
3303
|
+
#### cli
|
|
3304
|
+
|
|
3305
|
+
- CLI session flags: what an `--add-dir` directory loads is derived from the whole plan, so
|
|
3306
|
+
`--safe-mode`, `--disable-slash-commands`, `--setting-sources` without `project` (and `--restricted`)
|
|
3307
|
+
remove what they remove from it too, `--bare` keeps only skills, and `CLAUDE.local.md` is its own
|
|
3308
|
+
kind that needs `local` (`addDirLoads` takes `skipped` and `settingScopes`); `--agents` validation is
|
|
3309
|
+
skipped by `CLAUDE_CODE_SAFE_MODE=1` and, for an inline value, by `--resume` and `--continue`
|
|
3310
|
+
(`FlagFacts.resume`, `continuing`); `CLAUDE_CODE_FORWARD_SUBAGENT_TEXT=1` forwards subagent text; a
|
|
3311
|
+
`--mcp-config` value holds space-separated files; `--bare` reports `readsStoredCredentials: false`;
|
|
3312
|
+
`--agent` overrides the `agent` setting in the plan (`FlagFacts.agentSetting`). A `fields` key named
|
|
3313
|
+
`command`, `outcome` or `message` no longer replaces the result's own, and `marketplace add` and
|
|
3314
|
+
`remove` match the reserved name the same way. The `--bare`, `--add-dir`, `--agent`,
|
|
3315
|
+
`--forward-subagent-text`, owner/repo and Windows path tests assert the plan, the failure codes
|
|
3316
|
+
of marketplace update and remove are judgments outside `spec(...)`, and the shared JSON, word and
|
|
3317
|
+
record helpers replace three copies.
|
|
3318
|
+
|
|
3319
|
+
#### repository
|
|
3320
|
+
|
|
3321
|
+
- Integrate all eight second-wave streams without discarding the oracle fixtures or their naming
|
|
3322
|
+
and credential rules. Preserve scanned skills, agents and environment files across compatible
|
|
3323
|
+
turn views while applying host updates immediately.
|
|
3324
|
+
- The spec gate preserves apostrophes and quoted words inside requirement IDs, and checks static template literals too.
|
|
3325
|
+
- Corpus: the loading comparison leaves out what `plugin details` does not list (nested agents
|
|
3326
|
+
and commands, single files a manifest path names, inline commands), which a runtime session
|
|
3327
|
+
still loads.
|
|
3328
|
+
- Tests: the troubleshooting tests name the budget, the per-entry cap and the host-supplied plugin root
|
|
3329
|
+
they exercise; judgments of the folder scan (dot-folders, `taken`, exact local names, bare plugin names,
|
|
3330
|
+
`additionalDirectories`, the main checkout's commands) and every class of refused name have their own
|
|
3331
|
+
tests.
|
|
3332
|
+
- Spec: the committed snapshot of the mods reference tables (`spec/docs-tables.json`) keeps only a
|
|
3333
|
+
short label and the amounts of each row of the Limits table, not the page's sentences, so the
|
|
3334
|
+
repository holds facts and identifiers only.
|
|
3335
|
+
- The layer check now rejects `Date`, timers, `fetch`, `crypto`, `performance` and `globalThis` in
|
|
3336
|
+
`src/`, as the docs state.
|
|
3337
|
+
|
|
3338
|
+
### Performance
|
|
3339
|
+
|
|
3340
|
+
Counted by the deterministic benchmarks (`bun run bench:update`, docs/TESTING.md, "Benchmarks");
|
|
3341
|
+
every result is the same.
|
|
3342
|
+
|
|
3343
|
+
#### format
|
|
3344
|
+
|
|
3345
|
+
- `validatePlugin` reads `hooks/hooks.json` and `.mcp.json` once instead of twice (once for the
|
|
3346
|
+
byte order mark, once for the text): a plugin of 16 of each component reads 7,957 bytes instead of
|
|
3347
|
+
11,023 and 49 files instead of 51.
|
|
3348
|
+
- One load asks the host's port for the `stat` or `exists` of a path once: repeated port calls on the
|
|
3349
|
+
community corpus fell from 4.2% to 0.1% of all calls (69,148 instead of 72,130), with the same result.
|
|
3350
|
+
- `parseFrontmatter` reads a file line by line up to the closing `---` instead of splitting the whole
|
|
3351
|
+
file: 44% faster on the 67,907 Markdown files of claude-plugins-community, same result on each.
|
|
3352
|
+
|
|
3353
|
+
#### hooks
|
|
3354
|
+
|
|
3355
|
+
- A hook's `matcher` is read once per matcher text (an exact list or a compiled pattern) instead of
|
|
3356
|
+
at every dispatch: twenty `PreToolUse` dispatches over 16 plugins run no regular expression where
|
|
3357
|
+
each one ran 96 matches.
|
|
3358
|
+
|
|
3359
|
+
#### skills
|
|
3360
|
+
|
|
3361
|
+
- The `${VAR}` substitution of a skill compiles its pattern once per list of names, not once per
|
|
3362
|
+
expansion.
|
|
3363
|
+
- A skill with no `description` reads its first non-empty line without splitting the whole body:
|
|
3364
|
+
building a host over one such skill of 256 lines runs 29 regular-expression matches instead of
|
|
3365
|
+
7,708, and the whole corpus host 3.9 million instead of 6.1 million.
|
|
3366
|
+
|
|
3367
|
+
#### agents
|
|
3368
|
+
|
|
3369
|
+
- With no plugin workflow to list, a session no longer takes a snapshot of its environment to decide
|
|
3370
|
+
whether the workflow commands are on: `session.skills()` asked again takes none instead of 2, and
|
|
3371
|
+
`expandSkill` 3 instead of 5.
|
|
3372
|
+
|
|
3373
|
+
#### host
|
|
3374
|
+
|
|
3375
|
+
- A folder scan of a session (`reloadSkills`, `reloadAgents`) and a session's own decide context
|
|
3376
|
+
read `CLAUDE_CONFIG_DIR`: one more `environment.get` and `environment.snapshot` each (the settings
|
|
3377
|
+
`env` over the port), and the decide context one `locations.joinPath` for the protected
|
|
3378
|
+
configuration directory (the `expandSkill` and `folders.skills` baselines, every size). A cost
|
|
3379
|
+
added for a documented behaviour, not a regression.
|
|
3380
|
+
|
|
3381
|
+
### Removed
|
|
3382
|
+
|
|
3383
|
+
#### format
|
|
3384
|
+
|
|
3385
|
+
- **BREAKING** `LOCAL_TRUST`, `LocalTrust`, `WorkspaceTrustState` → `TrustSituation`; `headersHelperEnvironment`, `helperVariables` → `planHeadersHelper`. `LOCAL_TRUST`, `LocalTrust` and `WorkspaceTrustState` (use `TrustSituation`),
|
|
3386
|
+
`headersHelperEnvironment` and `helperVariables` (use `planHeadersHelper`).
|
|
3387
|
+
- **BREAKING** (on paper) 1 internal helper `./elicitation` exported → not exported: `ELICITATION_URL_ARGUMENT_CAP`. No host or example imported it; it is used only inside the kit (docs/api/ lists what stays).
|
|
3388
|
+
- **BREAKING** (on paper) 42 internal helpers `./format` exported → not exported: `agentFileName`, `agentNameProblem`, `blocksLoading`, `BundledSkillRead`, `DEFAULT_THEME_BASE`, `DEFAULT_TYPES_PATH`, `defaultFolderIgnored`, `firstContentLine`, `formatThemeColor`, `HOOKS_MODULE_EXTENSIONS`, `IntegerBounds`, `InvocableRead`, `isRemoteMcpServer`, `ListOptions`, `MCP_DEFAULT_MAX_OUTPUT_TOKENS`, `MCP_JSON_LIMIT_BYTES`, `MCP_MESSAGE_BYTES`, `MCP_OUTPUT_WARNING_TOKENS`, `MCP_TEXT_PERSIST_CHARS`, `MCPB_CACHE_DIR`, `MCPB_OPTION_TYPES`, `McpbOptionType`, `NOT_A_TABLE`, `NOT_EXPANDED_TOWARD_REMOTE`, `ORIGIN_TRAITS`, `OriginTraits`, `pathEscapes`, `pathNotFound`, `readBundledSkill`, `readEnum`, `readFlag`, `readInteger`, `readInvocable`, `readList`, `readSkillFields`, `readTable`, `readThemeColor`, `sameMcpConfiguration`, `SkillOriginKind`, `themeFileText`, `TRAVERSAL`, `XTERM_ANSI_PALETTE`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
|
|
3389
|
+
- **BREAKING** (on paper) 18 internal helpers `./loading` exported → not exported: `BUNDLES_NOT_LOADED`, `HEADERS_HELPER_TIMEOUT_MS`, `isPluginVariable`, `isRepositorySupplied`, `LSP_DEFAULTS`, `MONITORS_NOT_LOADED`, `optionEnvironment`, `pluginVariableValue`, `PreparedSubstituter`, `prepareSubstituter`, `readsAsEmptyInRemoteMcp`, `removedFromHeadersHelper`, `shellExports`, `substituter`, `surfacePolicy`, `userConfigText`, `userConfigValue`, `WORKTREE_NOTE`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
|
|
3390
|
+
|
|
3391
|
+
#### settings
|
|
3392
|
+
|
|
3393
|
+
- **BREAKING** `mergeSettingsHooks` → `createPolicyView(layers).get('hooks')`; `HookLocks`, `MERGE_KINDS`, `REPAIR_KINDS`, `SCOPE_RULES` and the rest → gone. `mergeSettingsHooks` (read `createPolicyView(layers).get('hooks') ?? {}`), `HookLocks`,
|
|
3394
|
+
`MERGE_KINDS`, `REPAIR_KINDS`, `SCOPE_RULES`, `REQUEST_ID_ALPHABET`, `LEGACY_WINDOWS_PATH`,
|
|
3395
|
+
`TRUST_MESSAGE_JOINER` and `composeEnvironments`. The merge kind `anyFalse` and the scope rule
|
|
3396
|
+
`userFlagOrManaged` are gone.
|
|
3397
|
+
- **BREAKING** `IGNORED_REASONS`, `IGNORE_REASONS`, `IgnoredEnvReason`, `IgnoredVariable`, `envIgnored` → `NotAppliedVariable`, `ignoredBecause`. `IGNORED_REASONS`, `IGNORE_REASONS`, `IgnoredEnvReason`, `IgnoredVariable` (use
|
|
3398
|
+
`NotAppliedVariable`) and `envIgnored` (use `ignoredBecause(...) !== undefined`).
|
|
3399
|
+
- **BREAKING** (on paper) 66 internal helpers `./settings` exported → not exported: `AGENT_VIEW_ENV`, `agentsMdIdForms`, `appliesAtStartup`, `BUNDLED_SKILLS_ENV`, `BYPASS_AS_ROOT`, `BYPASS_IGNORED_NOTICE`, `BypassAcceptance`, `bypassAcceptance`, `CHROME_BLOCKED_ERROR`, `CHROME_SERVER_NAME`, `CONTROL_KEYS`, `createCommandGates`, `createHttpHookPolicy`, `DEFAULT_MAX_CONCURRENT_SUBAGENTS`, `DEFAULT_PLUGIN_GIT_TIMEOUT_MS`, `deliversPolicyKey`, `elide`, `EXCLUSIVE_ADD_ERROR`, `FileShape`, `guardIdForms`, `HELPER_DEFAULT_TIMEOUT_MS`, `HELPER_MIN_REFRESH_MS`, `HELPER_MIN_TIMEOUT_MS`, `HELPER_OUTPUT_CAP_BYTES`, `HIPAA_AUTO_NOTICE`, `hookSessionGates`, `HookSessionGates`, `IdForms`, `inputPreview`, `isGuardPluginId`, `isListed`, `LOGIN_KEYS`, `LoginKey`, `MANAGED_MCP_FILE_PATHS`, `MANAGED_SIDELOAD_FLAGS`, `managedSourceLoaded`, `maskCredentials`, `MCP_ADD_REFUSAL`, `MCP_CONFIG_EXIT`, `mergeDropIns`, `OFFICIAL_MARKETPLACE`, `orderedLayers`, `ParsedPluginId`, `parseLauncher`, `parsePluginId`, `parseTheme`, `pluginDefaultsOf`, `PROCESS_WRAPPER_ENV`, `readManagedDocuments`, `REGISTRY_VALUE`, `relayDescription`, `sanitizeRelayText`, `SCOPE_RANK`, `SettingWithDefault`, `shellDisabled`, `SideloadFlag`, `SkillOverrideState`, `spellingsOf`, `STRICT_MCP_CONFIG_EXIT`, `SUBPROCESS_ONLY`, `turnsTelemetryOff`, `UnreadableVerdict`, `unreadableVerdict`, `valueWithPluginDefaults`, `verdictIssue`, `WORKFLOWS_ENV`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
|
|
3400
|
+
|
|
3401
|
+
#### hooks
|
|
3402
|
+
|
|
3403
|
+
- **BREAKING** (on paper) 27 internal helpers `./hooks` exported → not exported: `AGENT_HOOK_TOOLS`, `CLASSIFIER_CAP`, `DEFAULT_STOP_BLOCK_CAP`, `envFileClearedBy`, `factSchemaOf`, `HandlerEntry`, `HANDLERS`, `HookDeclaration`, `interruptPlan`, `InterruptPlan`, `isUnrecordedCall`, `lastPathLine`, `limitOutputs`, `MAX_MODEL_HOOKS_AT_ONCE`, `NOT_PLAIN_ASSIGNMENTS`, `OK_FALSE_RULES`, `ORIGINAL_PROMPT`, `permissionUpdateSchema`, `pluginOnlyAllows`, `PREVIEW_LENGTH`, `registerHooks`, `shellHasEnvFile`, `stopBlockCap`, `SUSPECT_CAPTURE`, `TEXT_CAP`, `withOriginalPrompt`, `worktreeCandidate`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
|
|
3404
|
+
|
|
3405
|
+
#### skills
|
|
3406
|
+
|
|
3407
|
+
- **BREAKING** `stackableOf`, `preloadAgentSkills`, the agents `PreloadedSkills`, `AgentScanRequest`, `AgentFolderContext` → `stackSkills`, `session.preloadSkills`. `stackableOf` (use `stackSkills` over a `skillLookup`), `preloadAgentSkills` and the
|
|
3408
|
+
agents `PreloadedSkills` (use `session.preloadSkills(definition, { signal })`),
|
|
3409
|
+
`AgentScanRequest` and `AgentFolderContext`.
|
|
3410
|
+
- **BREAKING** (on paper) 11 internal helpers `./skills` exported → not exported: `AGENT_SKILLS_FIELDS`, `commandEntryGrants`, `isStrictlyBelow`, `NO_HOOKS_YET`, `OVERRIDE_STATES`, `overrideState`, `REATTACH_TOKENS_PER_SKILL`, `REATTACH_TOKENS_TOTAL`, `scanScope`, `SKILL_HOOK_LIMITS`, `skillPathIn`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
|
|
3411
|
+
|
|
3412
|
+
#### agents
|
|
3413
|
+
|
|
3414
|
+
- **BREAKING** (on paper) 23 internal helpers `./agents` exported → not exported: `AGENT_SCOPE_RULES`, `AgentFolder`, `AGENTS_FOLDER`, `AgentScopeRule`, `BUILTIN_AGENT_NAMES`, `BUILTIN_PRIORITY`, `BuiltinAgentName`, `DEFAULT_CONCURRENCY`, `DEFAULT_SPAWN_DEPTH`, `DEFAULT_STALL_MS`, `DEFAULT_STRUCTURED_OUTPUT_ATTEMPTS`, `HANDBACK_DENIALS_TOLD`, `isBuiltinAgent`, `MAX_AGENTS_PER_RUN`, `MAX_ATTEMPTS`, `MAX_FAN_OUT_ITEMS`, `MAX_RESTARTS`, `MAX_USAGE_WAITS`, `PermissionModeInput`, `REPLAY_START`, `STALL_ENV`, `STRUCTURED_OUTPUT_ENV`, `trustKeyOf`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
|
|
3415
|
+
|
|
3416
|
+
#### marketplace
|
|
3417
|
+
|
|
3418
|
+
- **BREAKING** `computePluginVersion`, `sourceFactsOf`, `archiveFacts`, `versionCacheSegment` and their types → `resolvePluginVersion(input, sha256)`. `computePluginVersion`, `sourceFactsOf`, `archiveFacts`, `versionCacheSegment`,
|
|
3419
|
+
`SourceFacts`, `KnownFacts`, `PluginVersionInput` and `RepositoryRoot`. Call
|
|
3420
|
+
`resolvePluginVersion(input, sha256)` and pass the archive's `archiveDigest`; `usableVersion` is
|
|
3421
|
+
the folder-name rule.
|
|
3422
|
+
- **BREAKING** `planInstalledUninstall`, `planInstalledPrune` and their types → `winningScope`, `effectiveEnabled`, `isEnabled` and the `./cli` plans. The installed-graph planners `planInstalledUninstall` and `planInstalledPrune`, with
|
|
3423
|
+
`PluginNode`, `DisablePlan`, `EnableOverride` and `InstalledGraph*Plan`. Use `winningScope`,
|
|
3424
|
+
`effectiveEnabled` and `isEnabled` over `GraphFacts`, and the `./cli` plans.
|
|
3425
|
+
- **BREAKING** `marketplaceTabUpdate`, `planMarketplaceRemoval` → `planUpdate({ kind: 'marketplace-tab' })`, `planMarketplaceRemove`. `marketplaceTabUpdate` and `planMarketplaceRemoval` with `MarketplaceTabPlugin`,
|
|
3426
|
+
`MarketplaceRemovalFacts` and `MarketplaceRemovalPlan`. The tab's update is
|
|
3427
|
+
`planUpdate({ kind: 'marketplace-tab', marketplace })`; removal is `planMarketplaceRemove` of
|
|
3428
|
+
`./cli`. `CliMarketplaceUpdatePlan` is `MarketplaceUpdatePlan`.
|
|
3429
|
+
- **BREAKING** `FailureCause` → `NodeDepsFailureCause` (marketplace) and `WorkflowFailureCause` (agents). `FailureCause`, which `./marketplace` and `./agents` both exported under one name for two types,
|
|
3430
|
+
is renamed: the marketplace's dependency check cause is `NodeDepsFailureCause` and the agents'
|
|
3431
|
+
workflow cause is `WorkflowFailureCause`.
|
|
3432
|
+
- **BREAKING** (on paper) 47 internal helpers `./marketplace` exported → not exported: `ADD_OFFICIAL`, `commandHosts`, `commandName`, `cwdMatches`, `DeclaredSourceFacts`, `declaredSourceMismatch`, `declaredSourceRefusal`, `DEPRECATED_MARKETPLACE`, `DIRECTORY_LISTING_FIELDS`, `FIRST_PASS_MAX_DELAY_MS`, `globMatches`, `HINT_PROMPT_LIMIT`, `hookConflictNotes`, `idPartRefusal`, `INSTALL_SCOPES`, `INSTALLED_PLUGINS_VERSION`, `isOfficialButOff`, `isWritableScope`, `listNote`, `MANIFEST_SIZE_LIMIT`, `MARKETPLACE_KEYS`, `MAX_POINTER_BYTES`, `METADATA_KEYS`, `NameCandidate`, `nameHolder`, `NameVerdict`, `NO_PROMPT_ENVIRONMENT`, `NOT_A_LINK`, `NOT_REFRESHED`, `NOTICE_TOTAL_LIMIT`, `OFFICIAL_BUT_OFF`, `OFFICIAL_MARKETPLACE_ADD`, `officialInstallCommand`, `PLUGIN_ACTIVE`, `PluginOrigin`, `PLUGINS_CHANGED`, `PluginSourceOf`, `rebuiltNote`, `REFRESH_WINDOW_MS`, `RELOAD_TO_APPLY`, `resolveNameConflict`, `sessionDirectoryIssue`, `SESSIONS_BETWEEN_SUGGESTIONS`, `setAsideNote`, `shorthandTransport`, `showsContextCost`, `supportedHint`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
|
|
3433
|
+
|
|
3434
|
+
#### mods
|
|
3435
|
+
|
|
3436
|
+
- **BREAKING** `createEventRules`, `withApiRules`, `withUiRules`, `withRegisterRules`, `apiEventRules`, `EventRules`, `eventResultProblem` → gone. `createEventRules`, `withApiRules`, `withUiRules`, `withRegisterRules`, `apiEventRules`,
|
|
3437
|
+
`EventRules` and `eventResultProblem` (see Changed). `eventInputProblem` stays.
|
|
3438
|
+
- **BREAKING** the `./mods` re-exports `prefixWithinBytes`, `toJsonValue`, `runEach`, `walkPlainData`, `PlainDataStats` → gone. The `./mods` re-exports `prefixWithinBytes`, `toJsonValue`, `runEach`, `walkPlainData` and
|
|
3439
|
+
`PlainDataStats`.
|
|
3440
|
+
- **BREAKING** (on paper) 43 internal helpers `./mods` exported → not exported: `BAND_FORBIDDEN_PROPS`, `bandProblem`, `buttonKey`, `callLabel`, `clientFailureLine`, `clipText`, `clipVscodeStatus`, `clipVscodeToast`, `countsAsOrganizations`, `createElementTables`, `createInvalidator`, `createScope`, `declaredState`, `drawnNode`, `drawnProps`, `faultReason`, `GUARD_CANDIDATE`, `guardLoads`, `hookLabel`, `isGuardId`, `isSpacingStep`, `logLine`, `maxPaneColumns`, `measureTree`, `NAMED_KEYS`, `NamedKey`, `nestingMessage`, `nestingProblem`, `NO_MESSAGE`, `openGate`, `OPTIONS_DO_NOT_FIT`, `parseToast`, `pluginDirsOf`, `REGISTER_EVENT`, `RegisterEvent`, `resolveTables`, `scanLines`, `statusLine`, `THEME_CLEARED`, `TOAST_TIMEOUT_PROBLEM`, `toolFullName`, `TreeSize`, `UNANSWERED_LIMIT`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
|
|
3441
|
+
- **BREAKING** (on paper) 10 internal helpers `./mods/elements` exported → not exported: `buttonKey`, `clientFailureLine`, `clipText`, `drawnNode`, `drawnProps`, `faultReason`, `isSpacingStep`, `measureTree`, `NO_MESSAGE`, `TreeSize`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
|
|
3442
|
+
- **BREAKING** (on paper) 10 internal helpers `./mods/isolate` exported → not exported: `buttonKey`, `clientFailureLine`, `clipText`, `drawnNode`, `drawnProps`, `faultReason`, `isSpacingStep`, `measureTree`, `NO_MESSAGE`, `TreeSize`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
|
|
3443
|
+
|
|
3444
|
+
#### host
|
|
3445
|
+
|
|
3446
|
+
- **BREAKING** (on paper) 1 internal helper the root exported → not exported: `blocksLoading`. No host or example imported it; it is used only inside the kit (docs/api/ lists what stays).
|
|
3447
|
+
- **BREAKING** (on paper) 13 internal helpers `./rules` exported → not exported: `APPROVAL_MEMORY`, `CHANGED_INPUT_DENIAL`, `FETCH_WINDOW_CHARACTERS`, `GLOB_RESULT_CAP`, `InputToolName`, `LOCAL_HOST_MESSAGE`, `MAX_CHANGED_FILES`, `MAX_DIFFED_FILES`, `NO_ENTRIES_AT_OFFSET`, `PROMPT_DENIALS`, `TOOL_TYPES`, `ToolType`, `toolTypeOf`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
|
|
3448
|
+
|
|
3449
|
+
#### cli
|
|
3450
|
+
|
|
3451
|
+
- **BREAKING** `planCliInstall`, `planCliEnable`, `planCliDisable`, `planCliMarketplaceUpdate` → the plain names of `./cli`. `planCliInstall`, `planCliEnable`, `planCliDisable` and `planCliMarketplaceUpdate`: import
|
|
3452
|
+
`planInstall`, `planEnable`, `planDisable` and `planMarketplaceUpdate` from `./cli`.
|
|
3453
|
+
- **BREAKING** (on paper) 33 internal helpers `./cli` exported → not exported: `ABORTED`, `ABORTED_NOT_RUN`, `availableJson`, `CliPluginRef`, `Contribution`, `convertText`, `DATA_PRESERVED`, `DEFAULT_MCP_TIMEOUT_MS`, `FlagContext`, `humanBytes`, `installedJson`, `knownKeys`, `listText`, `MANAGED_UNDER_SAFE_MODE`, `matchingIds`, `NAME_OR_ALL`, `nameOf`, `notAppliedLines`, `ONLY_DISPLAYED`, `parseConfigFlags`, `parsePluginRef`, `PROMPT`, `qualifiedCommands`, `readmeInstallsPlugin`, `RESERVED_QUIET_NAME`, `roundTokens`, `SAVE_FAILED`, `SAVED_MESSAGE`, `SETTINGS_FILE_LIMIT`, `sideloadMessage`, `ToggleCommand`, `validationVerdict`, `ValidationVerdict`. No host or example imported them; each is used only inside the kit (docs/api/ lists what stays).
|