@agentxm/client-core 0.5.0 → 0.5.2
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/dist/src/unstable/agents/augment/service.d.ts.map +1 -1
- package/dist/src/unstable/agents/augment/service.js +12 -8
- package/dist/src/unstable/agents/augment/service.js.map +1 -1
- package/dist/src/unstable/agents/coding-agent.d.ts +1 -1
- package/dist/src/unstable/agents/coding-agent.d.ts.map +1 -1
- package/dist/src/unstable/agents/coding-agent.js +1 -1
- package/dist/src/unstable/agents/coding-agent.js.map +1 -1
- package/dist/src/unstable/agents/command-sync.d.ts +2 -2
- package/dist/src/unstable/agents/command-sync.d.ts.map +1 -1
- package/dist/src/unstable/agents/command-sync.js +44 -23
- package/dist/src/unstable/agents/command-sync.js.map +1 -1
- package/dist/src/unstable/agents/detection.js +3 -3
- package/dist/src/unstable/agents/detection.js.map +1 -1
- package/dist/src/unstable/agents/index.d.ts +1 -1
- package/dist/src/unstable/agents/index.d.ts.map +1 -1
- package/dist/src/unstable/agents/index.js +1 -1
- package/dist/src/unstable/agents/index.js.map +1 -1
- package/dist/src/unstable/agents/mcp-sync.d.ts.map +1 -1
- package/dist/src/unstable/agents/mcp-sync.js +15 -20
- package/dist/src/unstable/agents/mcp-sync.js.map +1 -1
- package/dist/src/unstable/agents/repository.js +2 -2
- package/dist/src/unstable/agents/repository.js.map +1 -1
- package/dist/src/unstable/agents/subagent-sync.js +14 -14
- package/dist/src/unstable/agents/subagent-sync.js.map +1 -1
- package/dist/src/unstable/app-error/app-error.d.ts +84 -9
- package/dist/src/unstable/app-error/app-error.d.ts.map +1 -1
- package/dist/src/unstable/app-error/app-error.js +104 -4
- package/dist/src/unstable/app-error/app-error.js.map +1 -1
- package/dist/src/unstable/app-error/builders.d.ts +21 -0
- package/dist/src/unstable/app-error/builders.d.ts.map +1 -0
- package/dist/src/unstable/app-error/builders.js +46 -0
- package/dist/src/unstable/app-error/builders.js.map +1 -0
- package/dist/src/unstable/app-error/index.d.ts +2 -1
- package/dist/src/unstable/app-error/index.d.ts.map +1 -1
- package/dist/src/unstable/app-error/index.js +2 -1
- package/dist/src/unstable/app-error/index.js.map +1 -1
- package/dist/src/unstable/app-error/render.d.ts.map +1 -1
- package/dist/src/unstable/app-error/render.js +6 -24
- package/dist/src/unstable/app-error/render.js.map +1 -1
- package/dist/src/unstable/auth/auth-client.d.ts +1 -1
- package/dist/src/unstable/auth/auth-client.d.ts.map +1 -1
- package/dist/src/unstable/auth/auth-client.js +76 -42
- package/dist/src/unstable/auth/auth-client.js.map +1 -1
- package/dist/src/unstable/auth/credential-store.d.ts +1 -1
- package/dist/src/unstable/auth/credential-store.d.ts.map +1 -1
- package/dist/src/unstable/auth/credential-store.js +22 -24
- package/dist/src/unstable/auth/credential-store.js.map +1 -1
- package/dist/src/unstable/auth/device-login.d.ts +1 -1
- package/dist/src/unstable/auth/device-login.d.ts.map +1 -1
- package/dist/src/unstable/auth/device-login.js +1 -1
- package/dist/src/unstable/auth/device-login.js.map +1 -1
- package/dist/src/unstable/auth/guard-interaction.d.ts +1 -1
- package/dist/src/unstable/auth/guard-interaction.d.ts.map +1 -1
- package/dist/src/unstable/auth/guard-interaction.js +1 -1
- package/dist/src/unstable/auth/guard-interaction.js.map +1 -1
- package/dist/src/unstable/auth/guard.d.ts.map +1 -1
- package/dist/src/unstable/auth/guard.js +5 -9
- package/dist/src/unstable/auth/guard.js.map +1 -1
- package/dist/src/unstable/auth/login-interaction.d.ts +1 -1
- package/dist/src/unstable/auth/login-interaction.d.ts.map +1 -1
- package/dist/src/unstable/auth/login-interaction.js +1 -1
- package/dist/src/unstable/auth/login-interaction.js.map +1 -1
- package/dist/src/unstable/auth/registry-url.d.ts +1 -1
- package/dist/src/unstable/auth/registry-url.js +1 -1
- package/dist/src/unstable/auth/registry-url.js.map +1 -1
- package/dist/src/unstable/auth/token-resolution.d.ts +1 -1
- package/dist/src/unstable/auth/token-resolution.d.ts.map +1 -1
- package/dist/src/unstable/auth/token-resolution.js +6 -10
- package/dist/src/unstable/auth/token-resolution.js.map +1 -1
- package/dist/src/unstable/cli/prompt/helpers.d.ts +1 -1
- package/dist/src/unstable/cli/prompt/helpers.js +3 -3
- package/dist/src/unstable/cli/prompt/helpers.js.map +1 -1
- package/dist/src/unstable/cli-flags/verbosity.d.ts +1 -1
- package/dist/src/unstable/cli-flags/verbosity.d.ts.map +1 -1
- package/dist/src/unstable/cli-flags/verbosity.js +1 -1
- package/dist/src/unstable/cli-flags/verbosity.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js +128 -9
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.js +53 -18
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts +2 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-test.js +80 -21
- package/dist/src/unstable/cli-renderer/cli-renderer-test.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer.d.ts +32 -7
- package/dist/src/unstable/cli-renderer/cli-renderer.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer.js +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer.js.map +1 -1
- package/dist/src/unstable/cli-renderer/entity-registry.d.ts +15 -0
- package/dist/src/unstable/cli-renderer/entity-registry.d.ts.map +1 -0
- package/dist/src/unstable/cli-renderer/entity-registry.js +17 -0
- package/dist/src/unstable/cli-renderer/entity-registry.js.map +1 -0
- package/dist/src/unstable/cli-renderer/index.d.ts +2 -1
- package/dist/src/unstable/cli-renderer/index.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/index.js +1 -0
- package/dist/src/unstable/cli-renderer/index.js.map +1 -1
- package/dist/src/unstable/cli-runtime/breadcrumb.d.ts +9 -0
- package/dist/src/unstable/cli-runtime/breadcrumb.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/breadcrumb.js +12 -0
- package/dist/src/unstable/cli-runtime/breadcrumb.js.map +1 -0
- package/dist/src/unstable/cli-runtime/command-argv.d.ts +1 -1
- package/dist/src/unstable/cli-runtime/command-argv.js +1 -1
- package/dist/src/unstable/cli-runtime/command-argv.js.map +1 -1
- package/dist/src/unstable/cli-runtime/graceful-shutdown.d.ts +1 -1
- package/dist/src/unstable/cli-runtime/graceful-shutdown.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/graceful-shutdown.js +5 -3
- package/dist/src/unstable/cli-runtime/graceful-shutdown.js.map +1 -1
- package/dist/src/unstable/cli-runtime/handle-error.d.ts +5 -4
- package/dist/src/unstable/cli-runtime/handle-error.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/handle-error.js +46 -17
- package/dist/src/unstable/cli-runtime/handle-error.js.map +1 -1
- package/dist/src/unstable/cli-runtime/index.d.ts +4 -4
- package/dist/src/unstable/cli-runtime/index.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/index.js +3 -3
- package/dist/src/unstable/cli-runtime/index.js.map +1 -1
- package/dist/src/unstable/cli-runtime/json-envelope.d.ts +50 -14
- package/dist/src/unstable/cli-runtime/json-envelope.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/json-envelope.js +58 -19
- package/dist/src/unstable/cli-runtime/json-envelope.js.map +1 -1
- package/dist/src/unstable/cli-runtime/output-mode.d.ts +9 -9
- package/dist/src/unstable/cli-runtime/output-mode.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/output-mode.js +11 -8
- package/dist/src/unstable/cli-runtime/output-mode.js.map +1 -1
- package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts +10 -0
- package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/runtime-envelope.js +76 -8
- package/dist/src/unstable/cli-runtime/runtime-envelope.js.map +1 -1
- package/dist/src/unstable/cli-runtime/telemetry.d.ts +2 -1
- package/dist/src/unstable/cli-runtime/telemetry.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/telemetry.js +4 -4
- package/dist/src/unstable/cli-runtime/telemetry.js.map +1 -1
- package/dist/src/unstable/commands/command-argument.d.ts +2 -2
- package/dist/src/unstable/commands/command-argument.js +2 -2
- package/dist/src/unstable/commands/command-content.d.ts +21 -24
- package/dist/src/unstable/commands/command-content.d.ts.map +1 -1
- package/dist/src/unstable/commands/command-content.js +50 -37
- package/dist/src/unstable/commands/command-content.js.map +1 -1
- package/dist/src/unstable/commands/index.d.ts +2 -1
- package/dist/src/unstable/commands/index.d.ts.map +1 -1
- package/dist/src/unstable/commands/index.js +1 -0
- package/dist/src/unstable/commands/index.js.map +1 -1
- package/dist/src/unstable/commands/manager.d.ts +3 -2
- package/dist/src/unstable/commands/manager.d.ts.map +1 -1
- package/dist/src/unstable/commands/manager.js +65 -42
- package/dist/src/unstable/commands/manager.js.map +1 -1
- package/dist/src/unstable/commands/manifest-schema.d.ts +10 -8
- package/dist/src/unstable/commands/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/commands/manifest-schema.js +8 -7
- package/dist/src/unstable/commands/manifest-schema.js.map +1 -1
- package/dist/src/unstable/commands/operations/disable.js +2 -2
- package/dist/src/unstable/commands/operations/disable.js.map +1 -1
- package/dist/src/unstable/commands/operations/enable.d.ts +1 -1
- package/dist/src/unstable/commands/operations/enable.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/enable.js +22 -11
- package/dist/src/unstable/commands/operations/enable.js.map +1 -1
- package/dist/src/unstable/commands/operations/install.d.ts +5 -5
- package/dist/src/unstable/commands/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/install.js +38 -36
- package/dist/src/unstable/commands/operations/install.js.map +1 -1
- package/dist/src/unstable/commands/operations/new-command.d.ts +8 -3
- package/dist/src/unstable/commands/operations/new-command.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/new-command.js +71 -20
- package/dist/src/unstable/commands/operations/new-command.js.map +1 -1
- package/dist/src/unstable/commands/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/publish.js +30 -15
- package/dist/src/unstable/commands/operations/publish.js.map +1 -1
- package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +20 -20
- package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/shared-command-helpers.js +59 -43
- package/dist/src/unstable/commands/operations/shared-command-helpers.js.map +1 -1
- package/dist/src/unstable/commands/operations/uninstall.js +2 -2
- package/dist/src/unstable/commands/operations/uninstall.js.map +1 -1
- package/dist/src/unstable/commands/paths.d.ts +64 -0
- package/dist/src/unstable/commands/paths.d.ts.map +1 -0
- package/dist/src/unstable/commands/paths.js +41 -0
- package/dist/src/unstable/commands/paths.js.map +1 -0
- package/dist/src/unstable/commands/reconciliation-adapter.d.ts.map +1 -1
- package/dist/src/unstable/commands/reconciliation-adapter.js +6 -7
- package/dist/src/unstable/commands/reconciliation-adapter.js.map +1 -1
- package/dist/src/unstable/commands/registry-ref-builder.d.ts +2 -2
- package/dist/src/unstable/commands/registry-ref-builder.d.ts.map +1 -1
- package/dist/src/unstable/commands/registry-ref-builder.js.map +1 -1
- package/dist/src/unstable/commands/renderers/index.d.ts +6 -5
- package/dist/src/unstable/commands/renderers/index.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/index.js +3 -2
- package/dist/src/unstable/commands/renderers/index.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-markdown-only.d.ts +2 -2
- package/dist/src/unstable/commands/renderers/render-markdown-only.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-markdown-only.js +3 -28
- package/dist/src/unstable/commands/renderers/render-markdown-only.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.d.ts +2 -2
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.js +5 -42
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-plain-text.d.ts +2 -2
- package/dist/src/unstable/commands/renderers/render-plain-text.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-plain-text.js +8 -31
- package/dist/src/unstable/commands/renderers/render-plain-text.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-prompt-md.d.ts +2 -2
- package/dist/src/unstable/commands/renderers/render-prompt-md.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-prompt-md.js +5 -33
- package/dist/src/unstable/commands/renderers/render-prompt-md.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-toml.d.ts +4 -5
- package/dist/src/unstable/commands/renderers/render-toml.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-toml.js +36 -51
- package/dist/src/unstable/commands/renderers/render-toml.js.map +1 -1
- package/dist/src/unstable/commands/renderers/types.d.ts +45 -39
- package/dist/src/unstable/commands/renderers/types.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/types.js +19 -1
- package/dist/src/unstable/commands/renderers/types.js.map +1 -1
- package/dist/src/unstable/discover/discover.js +5 -5
- package/dist/src/unstable/discover/discover.js.map +1 -1
- package/dist/src/unstable/extensions/agent-overrides.d.ts +45 -0
- package/dist/src/unstable/extensions/agent-overrides.d.ts.map +1 -0
- package/dist/src/unstable/extensions/agent-overrides.js +66 -0
- package/dist/src/unstable/extensions/agent-overrides.js.map +1 -0
- package/dist/src/unstable/extensions/common.d.ts +116 -22
- package/dist/src/unstable/extensions/common.d.ts.map +1 -1
- package/dist/src/unstable/extensions/common.js +187 -45
- package/dist/src/unstable/extensions/common.js.map +1 -1
- package/dist/src/unstable/extensions/fqn.d.ts +4 -4
- package/dist/src/unstable/extensions/fqn.d.ts.map +1 -1
- package/dist/src/unstable/extensions/fqn.js +11 -7
- package/dist/src/unstable/extensions/fqn.js.map +1 -1
- package/dist/src/unstable/extensions/frontmatter.d.ts.map +1 -1
- package/dist/src/unstable/extensions/frontmatter.js +8 -4
- package/dist/src/unstable/extensions/frontmatter.js.map +1 -1
- package/dist/src/unstable/extensions/index.d.ts +4 -2
- package/dist/src/unstable/extensions/index.d.ts.map +1 -1
- package/dist/src/unstable/extensions/index.js +3 -1
- package/dist/src/unstable/extensions/index.js.map +1 -1
- package/dist/src/unstable/extensions/materializable-from-disk.d.ts +24 -0
- package/dist/src/unstable/extensions/materializable-from-disk.d.ts.map +1 -0
- package/dist/src/unstable/extensions/materializable-from-disk.js +232 -0
- package/dist/src/unstable/extensions/materializable-from-disk.js.map +1 -0
- package/dist/src/unstable/extensions/operations.d.ts +1 -1
- package/dist/src/unstable/extensions/operations.d.ts.map +1 -1
- package/dist/src/unstable/extensions/operations.js +1 -1
- package/dist/src/unstable/extensions/operations.js.map +1 -1
- package/dist/src/unstable/extensions/reconciliation-utils.js +2 -2
- package/dist/src/unstable/extensions/reconciliation-utils.js.map +1 -1
- package/dist/src/unstable/extensions/ref-base.d.ts +5 -8
- package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -1
- package/dist/src/unstable/extensions/refs.d.ts +2 -2
- package/dist/src/unstable/extensions/refs.d.ts.map +1 -1
- package/dist/src/unstable/extensions/registry-source.d.ts +8 -8
- package/dist/src/unstable/extensions/registry-source.js +13 -13
- package/dist/src/unstable/extensions/registry-source.js.map +1 -1
- package/dist/src/unstable/extensions/utils.d.ts +1 -1
- package/dist/src/unstable/extensions/utils.d.ts.map +1 -1
- package/dist/src/unstable/extensions/utils.js +3 -3
- package/dist/src/unstable/extensions/utils.js.map +1 -1
- package/dist/src/unstable/git/operations.d.ts.map +1 -1
- package/dist/src/unstable/git/operations.js +2 -8
- package/dist/src/unstable/git/operations.js.map +1 -1
- package/dist/src/unstable/install-meta/install-meta.d.ts +1 -1
- package/dist/src/unstable/install-meta/install-meta.js +1 -1
- package/dist/src/unstable/install-meta/install-meta.js.map +1 -1
- package/dist/src/unstable/install-method/install-method.d.ts +1 -1
- package/dist/src/unstable/install-method/install-method.js +1 -1
- package/dist/src/unstable/install-method/install-method.js.map +1 -1
- package/dist/src/unstable/lint/catalog/pack/manifest-keys-recognized.d.ts +4 -4
- package/dist/src/unstable/lint/catalog/pack/manifest-keys-recognized.js +9 -9
- package/dist/src/unstable/lint/catalog/pack/manifest-keys-recognized.js.map +1 -1
- package/dist/src/unstable/lint/catalog/pack/manifest-present.d.ts +1 -1
- package/dist/src/unstable/lint/catalog/pack/manifest-present.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/pack/manifest-present.js +6 -6
- package/dist/src/unstable/lint/catalog/pack/manifest-present.js.map +1 -1
- package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.d.ts +5 -5
- package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.js +9 -9
- package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.js.map +1 -1
- package/dist/src/unstable/lint/catalog/pack-accessor/contexts.d.ts +1 -1
- package/dist/src/unstable/lint/catalog/pack-accessor/contexts.js +1 -1
- package/dist/src/unstable/lint/catalog/pack-accessor/platform.d.ts +3 -3
- package/dist/src/unstable/lint/catalog/pack-accessor/platform.js +3 -3
- package/dist/src/unstable/lint/catalog/shared/schema-rule.js +1 -1
- package/dist/src/unstable/lint/catalog/shared/schema-rule.js.map +1 -1
- package/dist/src/unstable/lint/catalog/skill/manifest-present.d.ts +1 -1
- package/dist/src/unstable/lint/catalog/skill/manifest-present.js +1 -1
- package/dist/src/unstable/lint/catalog/skill-accessor/vft.d.ts +1 -1
- package/dist/src/unstable/lint/catalog/skill-accessor/vft.js +1 -1
- package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.d.ts +4 -0
- package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.js +78 -0
- package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.d.ts +1 -1
- package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.js +1 -1
- package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.d.ts +1 -1
- package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.js +1 -1
- package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.js +1 -1
- package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace-fixtures/interpret-ops.js +3 -3
- package/dist/src/unstable/lint/catalog/workspace-fixtures/interpret-ops.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.d.ts +1 -1
- package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.js +1 -1
- package/dist/src/unstable/lint/catalog/workspace.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace.js +2 -0
- package/dist/src/unstable/lint/catalog/workspace.js.map +1 -1
- package/dist/src/unstable/lint/context.d.ts +7 -7
- package/dist/src/unstable/lint/issues-to-findings.js +1 -1
- package/dist/src/unstable/lint/issues-to-findings.js.map +1 -1
- package/dist/src/unstable/lockfile/index.d.ts +2 -2
- package/dist/src/unstable/lockfile/index.d.ts.map +1 -1
- package/dist/src/unstable/lockfile/index.js +1 -1
- package/dist/src/unstable/lockfile/index.js.map +1 -1
- package/dist/src/unstable/lockfile/lockfile.js +10 -10
- package/dist/src/unstable/lockfile/lockfile.js.map +1 -1
- package/dist/src/unstable/lockfile/resolved-version.js +10 -10
- package/dist/src/unstable/lockfile/resolved-version.js.map +1 -1
- package/dist/src/unstable/lockfile/schema.d.ts +61 -61
- package/dist/src/unstable/lockfile/schema.d.ts.map +1 -1
- package/dist/src/unstable/lockfile/schema.js +20 -17
- package/dist/src/unstable/lockfile/schema.js.map +1 -1
- package/dist/src/unstable/mcp-servers/manager.d.ts +1 -1
- package/dist/src/unstable/mcp-servers/manager.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/manager.js +20 -25
- package/dist/src/unstable/mcp-servers/manager.js.map +1 -1
- package/dist/src/unstable/mcp-servers/manifest-schema.d.ts +8 -4
- package/dist/src/unstable/mcp-servers/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/manifest-schema.js +6 -3
- package/dist/src/unstable/mcp-servers/manifest-schema.js.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/install.d.ts +1 -1
- package/dist/src/unstable/mcp-servers/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/install.js +25 -33
- package/dist/src/unstable/mcp-servers/operations/install.js.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/publish.js +14 -15
- package/dist/src/unstable/mcp-servers/operations/publish.js.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/uninstall.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/uninstall.js +10 -17
- package/dist/src/unstable/mcp-servers/operations/uninstall.js.map +1 -1
- package/dist/src/unstable/mcp-servers/reconciliation-adapter.js +4 -4
- package/dist/src/unstable/mcp-servers/reconciliation-adapter.js.map +1 -1
- package/dist/src/unstable/mcp-servers/registry-ref-builder.d.ts +2 -2
- package/dist/src/unstable/mcp-servers/registry-ref-builder.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/registry-ref-builder.js.map +1 -1
- package/dist/src/unstable/packaging/axm-package-meta.d.ts +1 -1
- package/dist/src/unstable/packaging/axm-package-meta.js +2 -2
- package/dist/src/unstable/packaging/axm-package-meta.js.map +1 -1
- package/dist/src/unstable/packaging/package-type.d.ts +4 -0
- package/dist/src/unstable/packaging/package-type.d.ts.map +1 -1
- package/dist/src/unstable/packaging/package-type.js +17 -4
- package/dist/src/unstable/packaging/package-type.js.map +1 -1
- package/dist/src/unstable/packaging/package-url.d.ts +7 -1
- package/dist/src/unstable/packaging/package-url.d.ts.map +1 -1
- package/dist/src/unstable/packaging/package-url.js +38 -5
- package/dist/src/unstable/packaging/package-url.js.map +1 -1
- package/dist/src/unstable/packaging/read.d.ts +1 -1
- package/dist/src/unstable/packaging/read.d.ts.map +1 -1
- package/dist/src/unstable/packaging/types.d.ts +2 -2
- package/dist/src/unstable/packaging/types.d.ts.map +1 -1
- package/dist/src/unstable/packs/dependency-resolution.d.ts +3 -3
- package/dist/src/unstable/packs/dependency-resolution.d.ts.map +1 -1
- package/dist/src/unstable/packs/dependency-resolution.js +63 -25
- package/dist/src/unstable/packs/dependency-resolution.js.map +1 -1
- package/dist/src/unstable/packs/expansion.d.ts +14 -14
- package/dist/src/unstable/packs/expansion.d.ts.map +1 -1
- package/dist/src/unstable/packs/expansion.js +20 -20
- package/dist/src/unstable/packs/expansion.js.map +1 -1
- package/dist/src/unstable/packs/index.d.ts +22 -22
- package/dist/src/unstable/packs/index.d.ts.map +1 -1
- package/dist/src/unstable/packs/index.js +14 -14
- package/dist/src/unstable/packs/index.js.map +1 -1
- package/dist/src/unstable/packs/manager.d.ts +7 -7
- package/dist/src/unstable/packs/manager.d.ts.map +1 -1
- package/dist/src/unstable/packs/manager.js +31 -37
- package/dist/src/unstable/packs/manager.js.map +1 -1
- package/dist/src/unstable/packs/manifest-schema.d.ts +15 -16
- package/dist/src/unstable/packs/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/packs/manifest-schema.js +14 -15
- package/dist/src/unstable/packs/manifest-schema.js.map +1 -1
- package/dist/src/unstable/packs/operations/add-to-pack.d.ts +7 -7
- package/dist/src/unstable/packs/operations/add-to-pack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/add-to-pack.js +26 -43
- package/dist/src/unstable/packs/operations/add-to-pack.js.map +1 -1
- package/dist/src/unstable/packs/operations/install.d.ts +17 -17
- package/dist/src/unstable/packs/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/install.js +48 -39
- package/dist/src/unstable/packs/operations/install.js.map +1 -1
- package/dist/src/unstable/packs/operations/new-pack.d.ts +12 -12
- package/dist/src/unstable/packs/operations/new-pack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/new-pack.js +38 -35
- package/dist/src/unstable/packs/operations/new-pack.js.map +1 -1
- package/dist/src/unstable/packs/operations/publish.d.ts +8 -8
- package/dist/src/unstable/packs/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/publish.js +31 -43
- package/dist/src/unstable/packs/operations/publish.js.map +1 -1
- package/dist/src/unstable/packs/operations/remove-from-pack.d.ts +7 -7
- package/dist/src/unstable/packs/operations/remove-from-pack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/remove-from-pack.js +25 -28
- package/dist/src/unstable/packs/operations/remove-from-pack.js.map +1 -1
- package/dist/src/unstable/packs/operations/uninstall.d.ts +11 -11
- package/dist/src/unstable/packs/operations/uninstall.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/uninstall.js +19 -19
- package/dist/src/unstable/packs/operations/uninstall.js.map +1 -1
- package/dist/src/unstable/packs/operations/unpack.d.ts +10 -10
- package/dist/src/unstable/packs/operations/unpack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/unpack.js +44 -17
- package/dist/src/unstable/packs/operations/unpack.js.map +1 -1
- package/dist/src/unstable/packs/paths.d.ts +9 -9
- package/dist/src/unstable/packs/paths.d.ts.map +1 -1
- package/dist/src/unstable/packs/paths.js +7 -7
- package/dist/src/unstable/packs/paths.js.map +1 -1
- package/dist/src/unstable/packs/reconciliation-adapter.d.ts +1 -1
- package/dist/src/unstable/packs/reconciliation-adapter.d.ts.map +1 -1
- package/dist/src/unstable/packs/reconciliation-adapter.js +123 -65
- package/dist/src/unstable/packs/reconciliation-adapter.js.map +1 -1
- package/dist/src/unstable/packs/refs.d.ts +5 -5
- package/dist/src/unstable/packs/refs.d.ts.map +1 -1
- package/dist/src/unstable/packs/refs.js +2 -2
- package/dist/src/unstable/plan/apply-plan.d.ts.map +1 -1
- package/dist/src/unstable/plan/apply-plan.js +5 -6
- package/dist/src/unstable/plan/apply-plan.js.map +1 -1
- package/dist/src/unstable/plan/resolve-plan.d.ts.map +1 -1
- package/dist/src/unstable/plan/resolve-plan.js +15 -11
- package/dist/src/unstable/plan/resolve-plan.js.map +1 -1
- package/dist/src/unstable/publish/input-normalization.d.ts +3 -3
- package/dist/src/unstable/publish/input-normalization.d.ts.map +1 -1
- package/dist/src/unstable/publish/manifest-policy.d.ts +49 -39
- package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -1
- package/dist/src/unstable/publish/manifest-policy.js +29 -5
- package/dist/src/unstable/publish/manifest-policy.js.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts +1271 -51
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.js +403 -47
- package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
- package/dist/src/unstable/registry/client.d.ts +6 -6
- package/dist/src/unstable/registry/client.d.ts.map +1 -1
- package/dist/src/unstable/registry/client.js.map +1 -1
- package/dist/src/unstable/registry/discover-schema.d.ts +8 -6
- package/dist/src/unstable/registry/discover-schema.d.ts.map +1 -1
- package/dist/src/unstable/registry/discover-schema.js +2 -2
- package/dist/src/unstable/registry/discover-schema.js.map +1 -1
- package/dist/src/unstable/registry/error-mapping.d.ts +7 -6
- package/dist/src/unstable/registry/error-mapping.d.ts.map +1 -1
- package/dist/src/unstable/registry/error-mapping.js +44 -31
- package/dist/src/unstable/registry/error-mapping.js.map +1 -1
- package/dist/src/unstable/registry/index.d.ts +1 -1
- package/dist/src/unstable/registry/index.d.ts.map +1 -1
- package/dist/src/unstable/registry/index.js +1 -1
- package/dist/src/unstable/registry/index.js.map +1 -1
- package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/local-client.js +51 -43
- package/dist/src/unstable/registry/local-client.js.map +1 -1
- package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/remote-client.js +90 -107
- package/dist/src/unstable/registry/remote-client.js.map +1 -1
- package/dist/src/unstable/registry/schema.d.ts +9 -5
- package/dist/src/unstable/registry/schema.d.ts.map +1 -1
- package/dist/src/unstable/registry/schema.js +2 -2
- package/dist/src/unstable/registry/schema.js.map +1 -1
- package/dist/src/unstable/registry/utils.d.ts +1 -1
- package/dist/src/unstable/registry/utils.d.ts.map +1 -1
- package/dist/src/unstable/registry/utils.js +12 -12
- package/dist/src/unstable/registry/utils.js.map +1 -1
- package/dist/src/unstable/settings/ignored-patterns.d.ts.map +1 -1
- package/dist/src/unstable/settings/ignored-patterns.js +13 -7
- package/dist/src/unstable/settings/ignored-patterns.js.map +1 -1
- package/dist/src/unstable/settings/index.d.ts +2 -2
- package/dist/src/unstable/settings/index.d.ts.map +1 -1
- package/dist/src/unstable/settings/index.js +1 -1
- package/dist/src/unstable/settings/index.js.map +1 -1
- package/dist/src/unstable/settings/schema.d.ts +28 -28
- package/dist/src/unstable/settings/schema.d.ts.map +1 -1
- package/dist/src/unstable/settings/schema.js +58 -74
- package/dist/src/unstable/settings/schema.js.map +1 -1
- package/dist/src/unstable/settings/settings.js +6 -6
- package/dist/src/unstable/settings/settings.js.map +1 -1
- package/dist/src/unstable/skills/index.d.ts +1 -3
- package/dist/src/unstable/skills/index.d.ts.map +1 -1
- package/dist/src/unstable/skills/index.js +1 -2
- package/dist/src/unstable/skills/index.js.map +1 -1
- package/dist/src/unstable/skills/manager.d.ts +1 -1
- package/dist/src/unstable/skills/manager.d.ts.map +1 -1
- package/dist/src/unstable/skills/manager.js +12 -19
- package/dist/src/unstable/skills/manager.js.map +1 -1
- package/dist/src/unstable/skills/manifest-schema.d.ts +8 -5
- package/dist/src/unstable/skills/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/skills/manifest-schema.js +6 -4
- package/dist/src/unstable/skills/manifest-schema.js.map +1 -1
- package/dist/src/unstable/skills/materialization.d.ts.map +1 -1
- package/dist/src/unstable/skills/materialization.js +11 -12
- package/dist/src/unstable/skills/materialization.js.map +1 -1
- package/dist/src/unstable/skills/operations/copy.js +6 -6
- package/dist/src/unstable/skills/operations/copy.js.map +1 -1
- package/dist/src/unstable/skills/operations/disable.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/disable.js +7 -5
- package/dist/src/unstable/skills/operations/disable.js.map +1 -1
- package/dist/src/unstable/skills/operations/enable.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/enable.js +5 -3
- package/dist/src/unstable/skills/operations/enable.js.map +1 -1
- package/dist/src/unstable/skills/operations/install.d.ts +1 -1
- package/dist/src/unstable/skills/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/install.js +27 -36
- package/dist/src/unstable/skills/operations/install.js.map +1 -1
- package/dist/src/unstable/skills/operations/new-skill.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/new-skill.js +17 -12
- package/dist/src/unstable/skills/operations/new-skill.js.map +1 -1
- package/dist/src/unstable/skills/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/publish.js +26 -24
- package/dist/src/unstable/skills/operations/publish.js.map +1 -1
- package/dist/src/unstable/skills/operations/uninstall.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/uninstall.js +8 -10
- package/dist/src/unstable/skills/operations/uninstall.js.map +1 -1
- package/dist/src/unstable/skills/reconciliation-adapter.js +2 -2
- package/dist/src/unstable/skills/reconciliation-adapter.js.map +1 -1
- package/dist/src/unstable/skills/registry-ref-builder.d.ts +2 -2
- package/dist/src/unstable/skills/registry-ref-builder.d.ts.map +1 -1
- package/dist/src/unstable/skills/registry-ref-builder.js.map +1 -1
- package/dist/src/unstable/skills/utils.d.ts +7 -7
- package/dist/src/unstable/skills/utils.d.ts.map +1 -1
- package/dist/src/unstable/skills/utils.js +6 -6
- package/dist/src/unstable/skills/utils.js.map +1 -1
- package/dist/src/unstable/source-resolution/index.d.ts +1 -0
- package/dist/src/unstable/source-resolution/index.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/index.js +1 -0
- package/dist/src/unstable/source-resolution/index.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.js +4 -6
- package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/scp.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/scp.js +4 -6
- package/dist/src/unstable/source-resolution/providers/azurerepos/scp.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/url.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/url.js +6 -9
- package/dist/src/unstable/source-resolution/providers/azurerepos/url.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.js +3 -4
- package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/scp.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/scp.js +4 -6
- package/dist/src/unstable/source-resolution/providers/bitbucket/scp.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/url.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/url.js +6 -9
- package/dist/src/unstable/source-resolution/providers/bitbucket/url.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/git-hosting.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/git-hosting.js +6 -8
- package/dist/src/unstable/source-resolution/providers/git-hosting.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/git.js +4 -4
- package/dist/src/unstable/source-resolution/providers/git.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/resolve-repo.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/resolve-repo.js +3 -4
- package/dist/src/unstable/source-resolution/providers/github/resolve-repo.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/scp.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/scp.js +4 -6
- package/dist/src/unstable/source-resolution/providers/github/scp.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/url.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/url.js +6 -9
- package/dist/src/unstable/source-resolution/providers/github/url.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.js +3 -4
- package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/scp.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/scp.js +4 -6
- package/dist/src/unstable/source-resolution/providers/gitlab/scp.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/url.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/url.js +6 -9
- package/dist/src/unstable/source-resolution/providers/gitlab/url.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/local.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/local.js +4 -5
- package/dist/src/unstable/source-resolution/providers/local.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.d.ts +1 -1
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.js +5 -7
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts +2 -2
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +17 -33
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-identifier.d.ts +61 -0
- package/dist/src/unstable/source-resolution/resolve-identifier.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/resolve-identifier.js +322 -0
- package/dist/src/unstable/source-resolution/resolve-identifier.js.map +1 -0
- package/dist/src/unstable/source-resolution/resolve-source-pattern.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-source-pattern.js +10 -6
- package/dist/src/unstable/source-resolution/resolve-source-pattern.js.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-source.d.ts +2 -2
- package/dist/src/unstable/source-resolution/resolve-source.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-source.js +50 -73
- package/dist/src/unstable/source-resolution/resolve-source.js.map +1 -1
- package/dist/src/unstable/source-resolution/service.d.ts +1 -1
- package/dist/src/unstable/source-resolution/service.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/service.js +1 -1
- package/dist/src/unstable/source-resolution/service.js.map +1 -1
- package/dist/src/unstable/sources/index.d.ts +1 -1
- package/dist/src/unstable/sources/index.d.ts.map +1 -1
- package/dist/src/unstable/sources/index.js +1 -1
- package/dist/src/unstable/sources/index.js.map +1 -1
- package/dist/src/unstable/sources/lock-entry-to-ref.d.ts +3 -3
- package/dist/src/unstable/sources/lock-entry-to-ref.d.ts.map +1 -1
- package/dist/src/unstable/sources/lock-entry-to-ref.js +10 -13
- package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -1
- package/dist/src/unstable/sources/parser.d.ts +2 -2
- package/dist/src/unstable/sources/parser.d.ts.map +1 -1
- package/dist/src/unstable/sources/parser.js +1 -1
- package/dist/src/unstable/sources/parser.js.map +1 -1
- package/dist/src/unstable/sources/provider.d.ts +2 -2
- package/dist/src/unstable/sources/provider.d.ts.map +1 -1
- package/dist/src/unstable/subagents/index.d.ts +3 -4
- package/dist/src/unstable/subagents/index.d.ts.map +1 -1
- package/dist/src/unstable/subagents/index.js +3 -5
- package/dist/src/unstable/subagents/index.js.map +1 -1
- package/dist/src/unstable/subagents/manager.d.ts +1 -1
- package/dist/src/unstable/subagents/manager.d.ts.map +1 -1
- package/dist/src/unstable/subagents/manager.js +51 -65
- package/dist/src/unstable/subagents/manager.js.map +1 -1
- package/dist/src/unstable/subagents/manifest-schema.d.ts +12 -11
- package/dist/src/unstable/subagents/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/subagents/manifest-schema.js +10 -12
- package/dist/src/unstable/subagents/manifest-schema.js.map +1 -1
- package/dist/src/unstable/subagents/operations/disable.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/disable.js +7 -5
- package/dist/src/unstable/subagents/operations/disable.js.map +1 -1
- package/dist/src/unstable/subagents/operations/enable.d.ts +1 -1
- package/dist/src/unstable/subagents/operations/enable.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/enable.js +39 -16
- package/dist/src/unstable/subagents/operations/enable.js.map +1 -1
- package/dist/src/unstable/subagents/operations/publish.d.ts +1 -1
- package/dist/src/unstable/subagents/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/publish.js +53 -52
- package/dist/src/unstable/subagents/operations/publish.js.map +1 -1
- package/dist/src/unstable/subagents/paths.d.ts +7 -1
- package/dist/src/unstable/subagents/paths.d.ts.map +1 -1
- package/dist/src/unstable/subagents/paths.js +7 -1
- package/dist/src/unstable/subagents/paths.js.map +1 -1
- package/dist/src/unstable/subagents/reconciliation-adapter.js +2 -2
- package/dist/src/unstable/subagents/reconciliation-adapter.js.map +1 -1
- package/dist/src/unstable/subagents/registry-ref-builder.d.ts +2 -2
- package/dist/src/unstable/subagents/registry-ref-builder.d.ts.map +1 -1
- package/dist/src/unstable/subagents/registry-ref-builder.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/json.d.ts +2 -1
- package/dist/src/unstable/subagents/rendering/adapters/json.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/json.js +7 -39
- package/dist/src/unstable/subagents/rendering/adapters/json.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.d.ts +2 -1
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.js +17 -101
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/roo.d.ts +5 -1
- package/dist/src/unstable/subagents/rendering/adapters/roo.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/roo.js +18 -36
- package/dist/src/unstable/subagents/rendering/adapters/roo.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/toml.d.ts +3 -2
- package/dist/src/unstable/subagents/rendering/adapters/toml.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/toml.js +24 -54
- package/dist/src/unstable/subagents/rendering/adapters/toml.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/index.d.ts +1 -4
- package/dist/src/unstable/subagents/rendering/index.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/index.js +1 -2
- package/dist/src/unstable/subagents/rendering/index.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/overrides.d.ts +2 -0
- package/dist/src/unstable/subagents/rendering/overrides.d.ts.map +1 -0
- package/dist/src/unstable/subagents/rendering/overrides.js +2 -0
- package/dist/src/unstable/subagents/rendering/overrides.js.map +1 -0
- package/dist/src/unstable/subagents/rendering/types.d.ts +9 -16
- package/dist/src/unstable/subagents/rendering/types.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/types.js +3 -2
- package/dist/src/unstable/subagents/rendering/types.js.map +1 -1
- package/dist/src/unstable/subagents/subagent-content.d.ts +16 -56
- package/dist/src/unstable/subagents/subagent-content.d.ts.map +1 -1
- package/dist/src/unstable/subagents/subagent-content.js +69 -60
- package/dist/src/unstable/subagents/subagent-content.js.map +1 -1
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.d.ts +10 -10
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.d.ts.map +1 -1
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.js +8 -5
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.js.map +1 -1
- package/dist/src/unstable/telemetry/client.d.ts +2 -2
- package/dist/src/unstable/telemetry/client.d.ts.map +1 -1
- package/dist/src/unstable/telemetry/client.js +5 -2
- package/dist/src/unstable/telemetry/client.js.map +1 -1
- package/dist/src/unstable/update-check/update-check.d.ts +1 -1
- package/dist/src/unstable/update-check/update-check.js +1 -1
- package/dist/src/unstable/update-check/update-check.js.map +1 -1
- package/dist/src/unstable/utils/build-zip-archive.d.ts.map +1 -1
- package/dist/src/unstable/utils/build-zip-archive.js +11 -6
- package/dist/src/unstable/utils/build-zip-archive.js.map +1 -1
- package/dist/src/unstable/utils/create-symlink.js +8 -8
- package/dist/src/unstable/utils/create-symlink.js.map +1 -1
- package/dist/src/unstable/version-constraints/version-constraints.d.ts +30 -23
- package/dist/src/unstable/version-constraints/version-constraints.d.ts.map +1 -1
- package/dist/src/unstable/version-constraints/version-constraints.js +52 -43
- package/dist/src/unstable/version-constraints/version-constraints.js.map +1 -1
- package/dist/src/unstable/version-resolution/version-resolution.d.ts.map +1 -1
- package/dist/src/unstable/version-resolution/version-resolution.js +38 -21
- package/dist/src/unstable/version-resolution/version-resolution.js.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts +6 -6
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js +118 -84
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.d.ts +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.d.ts.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.js +3 -4
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.js.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/types.d.ts +4 -4
- package/dist/src/unstable/workspace/configured-entry-resolution/types.d.ts.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/types.js +5 -8
- package/dist/src/unstable/workspace/configured-entry-resolution/types.js.map +1 -1
- package/dist/src/unstable/workspace/index.d.ts +2 -1
- package/dist/src/unstable/workspace/index.d.ts.map +1 -1
- package/dist/src/unstable/workspace/index.js +1 -0
- package/dist/src/unstable/workspace/index.js.map +1 -1
- package/dist/src/unstable/workspace/initialization-interaction.d.ts +1 -1
- package/dist/src/unstable/workspace/initialization-interaction.d.ts.map +1 -1
- package/dist/src/unstable/workspace/initialization-interaction.js +1 -1
- package/dist/src/unstable/workspace/initialization-interaction.js.map +1 -1
- package/dist/src/unstable/workspace/initialization.d.ts +44 -44
- package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
- package/dist/src/unstable/workspace/initialization.js +13 -11
- package/dist/src/unstable/workspace/initialization.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/__fixtures__/occurrences.d.ts.map +1 -1
- package/dist/src/unstable/workspace/read-model/__fixtures__/occurrences.js +8 -9
- package/dist/src/unstable/workspace/read-model/__fixtures__/occurrences.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/agent-root-resolver.d.ts +1 -1
- package/dist/src/unstable/workspace/read-model/agent-root-resolver.d.ts.map +1 -1
- package/dist/src/unstable/workspace/read-model/agent-root-resolver.js +1 -1
- package/dist/src/unstable/workspace/read-model/agent-root-resolver.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/discovery/skills.js +4 -4
- package/dist/src/unstable/workspace/read-model/discovery/skills.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/discovery/subagents.js +2 -2
- package/dist/src/unstable/workspace/read-model/discovery/subagents.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/extensions/pack.d.ts +4 -4
- package/dist/src/unstable/workspace/read-model/extensions/pack.d.ts.map +1 -1
- package/dist/src/unstable/workspace/read-model/extensions/pack.js +2 -2
- package/dist/src/unstable/workspace/read-model/extensions/pack.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/extensions/subagent.js +1 -1
- package/dist/src/unstable/workspace/read-model/extensions/subagent.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/scanners/agent-dir.js +11 -7
- package/dist/src/unstable/workspace/read-model/scanners/agent-dir.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.js +12 -8
- package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/scanners/types.d.ts +2 -2
- package/dist/src/unstable/workspace/read-model/service.d.ts +1 -1
- package/dist/src/unstable/workspace/read-model/service.d.ts.map +1 -1
- package/dist/src/unstable/workspace/read-model/service.js +3 -3
- package/dist/src/unstable/workspace/read-model/service.js.map +1 -1
- package/dist/src/unstable/workspace/read-model-record-readers.js +2 -2
- package/dist/src/unstable/workspace/read-model-record-readers.js.map +1 -1
- package/dist/src/unstable/workspace/reconciliation-types.d.ts +2 -2
- package/dist/src/unstable/workspace/reconciliation-types.d.ts.map +1 -1
- package/dist/src/unstable/workspace/reconciliation.d.ts +1 -1
- package/dist/src/unstable/workspace/reconciliation.d.ts.map +1 -1
- package/dist/src/unstable/workspace/reconciliation.js +13 -15
- package/dist/src/unstable/workspace/reconciliation.js.map +1 -1
- package/dist/src/unstable/workspace/rendered-file-cleanup.d.ts +15 -0
- package/dist/src/unstable/workspace/rendered-file-cleanup.d.ts.map +1 -0
- package/dist/src/unstable/workspace/rendered-file-cleanup.js +58 -0
- package/dist/src/unstable/workspace/rendered-file-cleanup.js.map +1 -0
- package/dist/src/unstable/workspace/resolve-plan-interaction.d.ts +1 -1
- package/dist/src/unstable/workspace/resolve-plan-interaction.d.ts.map +1 -1
- package/dist/src/unstable/workspace/resolve-plan-interaction.js +1 -1
- package/dist/src/unstable/workspace/resolve-plan-interaction.js.map +1 -1
- package/dist/src/unstable/workspace/service-interface.d.ts +18 -20
- package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service-interface.js +1 -1
- package/dist/src/unstable/workspace/service-interface.js.map +1 -1
- package/dist/src/unstable/workspace/service.d.ts +76 -77
- package/dist/src/unstable/workspace/service.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service.js +46 -69
- package/dist/src/unstable/workspace/service.js.map +1 -1
- package/dist/src/unstable/workspace/skill-snapshot.js +1 -1
- package/dist/src/unstable/workspace/skill-snapshot.js.map +1 -1
- package/dist/src/unstable/workspace/test-stubs.d.ts +8 -8
- package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -1
- package/dist/src/unstable/workspace/test-stubs.js +16 -17
- package/dist/src/unstable/workspace/test-stubs.js.map +1 -1
- package/dist/src/unstable/workspace/version-currency/check-currency.d.ts +5 -5
- package/dist/src/unstable/workspace/version-currency/check-currency.d.ts.map +1 -1
- package/dist/src/unstable/workspace/version-currency/check-currency.js +2 -2
- package/dist/src/unstable/workspace/version-currency/check-currency.js.map +1 -1
- package/dist/src/unstable/workspace/version-currency/collectors.d.ts +3 -3
- package/dist/src/unstable/workspace/version-currency/collectors.d.ts.map +1 -1
- package/dist/src/unstable/workspace/version-currency/collectors.js +2 -2
- package/dist/src/unstable/workspace/version-currency/collectors.js.map +1 -1
- package/dist/src/unstable/workspace/version-currency/test-stubs.js +2 -2
- package/dist/src/unstable/workspace/version-currency/test-stubs.js.map +1 -1
- package/package.json +11 -11
- package/site-content/__generated__/schemas/axm-lock.schema.json +54 -23
- package/site-content/__generated__/schemas/axm-package-meta.schema.json +13 -2
- package/site-content/__generated__/schemas/command.schema.json +118 -20
- package/site-content/__generated__/schemas/mcp-server.schema.json +123 -13
- package/site-content/__generated__/schemas/pack.schema.json +173 -0
- package/site-content/__generated__/schemas/settings.schema.json +107 -22
- package/site-content/__generated__/schemas/skill.schema.json +122 -18
- package/site-content/__generated__/schemas/subagent.schema.json +176 -0
- package/site-content/install.md +1 -1
- package/dist/src/unstable/cli-runtime/command-document.d.ts +0 -12
- package/dist/src/unstable/cli-runtime/command-document.d.ts.map +0 -1
- package/dist/src/unstable/cli-runtime/command-document.js +0 -13
- package/dist/src/unstable/cli-runtime/command-document.js.map +0 -1
- package/dist/src/unstable/skills/operations/rename.d.ts +0 -34
- package/dist/src/unstable/skills/operations/rename.d.ts.map +0 -1
- package/dist/src/unstable/skills/operations/rename.js +0 -117
- package/dist/src/unstable/skills/operations/rename.js.map +0 -1
- package/dist/src/unstable/subagents/rendering/model-mapping.d.ts +0 -31
- package/dist/src/unstable/subagents/rendering/model-mapping.d.ts.map +0 -1
- package/dist/src/unstable/subagents/rendering/model-mapping.js +0 -127
- package/dist/src/unstable/subagents/rendering/model-mapping.js.map +0 -1
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.d.ts +0 -31
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.d.ts.map +0 -1
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.js +0 -169
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.js.map +0 -1
- package/dist/src/unstable/subagents/tool-access.d.ts +0 -11
- package/dist/src/unstable/subagents/tool-access.d.ts.map +0 -1
- package/dist/src/unstable/subagents/tool-access.js +0 -15
- package/dist/src/unstable/subagents/tool-access.js.map +0 -1
- package/site-content/__generated__/schemas/extension-pack.schema.json +0 -103
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import * as SchemaTransformation from "effect/SchemaTransformation";
|
|
10
|
-
import { AgentIdSchema,
|
|
10
|
+
import { AgentIdSchema, EXTENSION_NAME_PATTERN } from "../extensions/common.js";
|
|
11
11
|
import { HandleSchema } from "../extensions/handle.js";
|
|
12
12
|
import { LintConfigSchema } from "../lint/config.js";
|
|
13
13
|
// -----------------------------------------------------------------------------
|
|
@@ -116,30 +116,27 @@ export const SourceHostConfigSchema = Schema.Union([
|
|
|
116
116
|
title: "Source Host Config",
|
|
117
117
|
description: "Where extensions are fetched from — GitHub, GitLab, Bitbucket, Azure Repos, or a package registry.",
|
|
118
118
|
});
|
|
119
|
-
const
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
? `Invalid ${entryLabel} name(s): ${invalidKeys.join(", ")}. Names must be max 64 chars, lowercase letters/numbers/hyphens, not starting or ending with hyphen.`
|
|
132
|
-
: undefined;
|
|
133
|
-
};
|
|
119
|
+
const ExtensionMapKeySchema = Schema.String.check(Schema.isPattern(EXTENSION_NAME_PATTERN, {
|
|
120
|
+
message: "Names must be max 64 chars, lowercase letters/numbers/hyphens, not starting or ending with hyphen.",
|
|
121
|
+
}));
|
|
122
|
+
const authoredFieldSchema = Schema.optional(Schema.Boolean.annotate({
|
|
123
|
+
description: "Whether this entry was authored locally. Defaults to false when omitted.",
|
|
124
|
+
default: false,
|
|
125
|
+
}));
|
|
126
|
+
const enabledFieldSchema = Schema.optional(Schema.Boolean.annotate({
|
|
127
|
+
description: "Whether this entry is enabled. Defaults to true when omitted.",
|
|
128
|
+
default: true,
|
|
129
|
+
}));
|
|
130
|
+
const compactOrVerboseEntry = (objectSchema, canonicalSchema, transformation) => Schema.Union([Schema.String, objectSchema]).pipe(Schema.decodeTo(canonicalSchema, SchemaTransformation.transform(transformation)));
|
|
134
131
|
/**
|
|
135
132
|
* Managed skill with source and optional config flags.
|
|
136
133
|
*
|
|
137
134
|
* @experimental This API is unstable and may change without notice.
|
|
138
135
|
*/
|
|
139
136
|
export const SkillEntryObjectSchema = Schema.Struct({
|
|
140
|
-
source: Schema.
|
|
141
|
-
enabled:
|
|
142
|
-
authored:
|
|
137
|
+
source: Schema.NonEmptyString.pipe(Schema.annotateKey({ messageMissingKey: "skill source is required" })),
|
|
138
|
+
enabled: enabledFieldSchema,
|
|
139
|
+
authored: authoredFieldSchema,
|
|
143
140
|
}).annotate({
|
|
144
141
|
identifier: "SkillEntryObject",
|
|
145
142
|
title: "Skill Entry Object",
|
|
@@ -156,7 +153,7 @@ export const SkillEntryObjectSchema = Schema.Struct({
|
|
|
156
153
|
*
|
|
157
154
|
* @experimental This API is unstable and may change without notice.
|
|
158
155
|
*/
|
|
159
|
-
export const SkillEntrySchema =
|
|
156
|
+
export const SkillEntrySchema = compactOrVerboseEntry(SkillEntryObjectSchema, Schema.Struct({
|
|
160
157
|
source: Schema.String,
|
|
161
158
|
enabled: Schema.Boolean,
|
|
162
159
|
authored: Schema.Boolean,
|
|
@@ -164,7 +161,7 @@ export const SkillEntrySchema = Schema.Union([Schema.String, SkillEntryObjectSch
|
|
|
164
161
|
identifier: "SkillEntry",
|
|
165
162
|
title: "Skill Entry",
|
|
166
163
|
description: "A skill reference — either a source string like @owner/skills/name or an object with source, enabled, and authored.",
|
|
167
|
-
}),
|
|
164
|
+
}), {
|
|
168
165
|
decode: (entry) => typeof entry === "string"
|
|
169
166
|
? { source: entry, enabled: true, authored: false }
|
|
170
167
|
: {
|
|
@@ -184,7 +181,7 @@ export const SkillEntrySchema = Schema.Union([Schema.String, SkillEntryObjectSch
|
|
|
184
181
|
obj.authored = true;
|
|
185
182
|
return obj;
|
|
186
183
|
},
|
|
187
|
-
})
|
|
184
|
+
});
|
|
188
185
|
/**
|
|
189
186
|
* Skills map - maps skill names to skill entries.
|
|
190
187
|
*
|
|
@@ -197,9 +194,7 @@ export const SkillEntrySchema = Schema.Union([Schema.String, SkillEntryObjectSch
|
|
|
197
194
|
*
|
|
198
195
|
* @experimental This API is unstable and may change without notice.
|
|
199
196
|
*/
|
|
200
|
-
export const SkillsMapSchema = Schema.Record(
|
|
201
|
-
.check(Schema.makeFilter(validateNamedRecordKeys("skill", decodeExtensionNameSync)))
|
|
202
|
-
.annotate({
|
|
197
|
+
export const SkillsMapSchema = Schema.Record(ExtensionMapKeySchema, SkillEntrySchema).annotate({
|
|
203
198
|
identifier: "SkillsMap",
|
|
204
199
|
title: "Skills Map",
|
|
205
200
|
description: "Your installed skills, keyed by name.",
|
|
@@ -210,9 +205,9 @@ export const SkillsMapSchema = Schema.Record(Schema.String, SkillEntrySchema)
|
|
|
210
205
|
* @experimental This API is unstable and may change without notice.
|
|
211
206
|
*/
|
|
212
207
|
export const CommandEntryObjectSchema = Schema.Struct({
|
|
213
|
-
source: Schema.
|
|
214
|
-
enabled:
|
|
215
|
-
authored:
|
|
208
|
+
source: Schema.NonEmptyString.pipe(Schema.annotateKey({ messageMissingKey: "command source is required" })),
|
|
209
|
+
enabled: enabledFieldSchema,
|
|
210
|
+
authored: authoredFieldSchema,
|
|
216
211
|
}).annotate({
|
|
217
212
|
identifier: "CommandEntryObject",
|
|
218
213
|
title: "Command Entry Object",
|
|
@@ -227,7 +222,7 @@ export const CommandEntryObjectSchema = Schema.Struct({
|
|
|
227
222
|
*
|
|
228
223
|
* @experimental This API is unstable and may change without notice.
|
|
229
224
|
*/
|
|
230
|
-
export const CommandEntrySchema =
|
|
225
|
+
export const CommandEntrySchema = compactOrVerboseEntry(CommandEntryObjectSchema, Schema.Struct({
|
|
231
226
|
source: Schema.String,
|
|
232
227
|
enabled: Schema.Boolean,
|
|
233
228
|
authored: Schema.Boolean,
|
|
@@ -235,7 +230,7 @@ export const CommandEntrySchema = Schema.Union([Schema.String, CommandEntryObjec
|
|
|
235
230
|
identifier: "CommandEntry",
|
|
236
231
|
title: "Command Entry",
|
|
237
232
|
description: "A command reference — either a source string like @owner/commands/name or an object with source, enabled, and authored.",
|
|
238
|
-
}),
|
|
233
|
+
}), {
|
|
239
234
|
decode: (entry) => typeof entry === "string"
|
|
240
235
|
? { source: entry, enabled: true, authored: false }
|
|
241
236
|
: {
|
|
@@ -255,7 +250,7 @@ export const CommandEntrySchema = Schema.Union([Schema.String, CommandEntryObjec
|
|
|
255
250
|
obj.authored = true;
|
|
256
251
|
return obj;
|
|
257
252
|
},
|
|
258
|
-
})
|
|
253
|
+
});
|
|
259
254
|
/**
|
|
260
255
|
* Commands map - maps command names to command entries.
|
|
261
256
|
*
|
|
@@ -268,9 +263,7 @@ export const CommandEntrySchema = Schema.Union([Schema.String, CommandEntryObjec
|
|
|
268
263
|
*
|
|
269
264
|
* @experimental This API is unstable and may change without notice.
|
|
270
265
|
*/
|
|
271
|
-
export const CommandsMapSchema = Schema.Record(
|
|
272
|
-
.check(Schema.makeFilter(validateNamedRecordKeys("command", decodeExtensionNameSync)))
|
|
273
|
-
.annotate({
|
|
266
|
+
export const CommandsMapSchema = Schema.Record(ExtensionMapKeySchema, CommandEntrySchema).annotate({
|
|
274
267
|
identifier: "CommandsMap",
|
|
275
268
|
title: "Commands Map",
|
|
276
269
|
description: "Your installed commands, keyed by name.",
|
|
@@ -281,8 +274,8 @@ export const CommandsMapSchema = Schema.Record(Schema.String, CommandEntrySchema
|
|
|
281
274
|
* @experimental This API is unstable and may change without notice.
|
|
282
275
|
*/
|
|
283
276
|
export const McpServerEntryObjectSchema = Schema.Struct({
|
|
284
|
-
source: Schema.
|
|
285
|
-
authored:
|
|
277
|
+
source: Schema.NonEmptyString.pipe(Schema.annotateKey({ messageMissingKey: "MCP server source is required" })),
|
|
278
|
+
authored: authoredFieldSchema,
|
|
286
279
|
}).annotate({
|
|
287
280
|
identifier: "McpServerEntryObject",
|
|
288
281
|
title: "MCP Server Entry Object",
|
|
@@ -296,19 +289,19 @@ export const McpServerEntryObjectSchema = Schema.Struct({
|
|
|
296
289
|
*
|
|
297
290
|
* @experimental This API is unstable and may change without notice.
|
|
298
291
|
*/
|
|
299
|
-
export const McpServerEntrySchema =
|
|
292
|
+
export const McpServerEntrySchema = compactOrVerboseEntry(McpServerEntryObjectSchema, Schema.Struct({
|
|
300
293
|
source: Schema.String,
|
|
301
294
|
authored: Schema.Boolean,
|
|
302
295
|
}).annotate({
|
|
303
296
|
identifier: "McpServerEntry",
|
|
304
297
|
title: "MCP Server Entry",
|
|
305
298
|
description: "An MCP server reference — either a source string or an object with source and authored.",
|
|
306
|
-
}),
|
|
299
|
+
}), {
|
|
307
300
|
decode: (entry) => typeof entry === "string"
|
|
308
301
|
? { source: entry, authored: false }
|
|
309
302
|
: { source: entry.source, authored: entry.authored ?? false },
|
|
310
303
|
encode: (entry) => entry.authored ? { source: entry.source, authored: true } : entry.source,
|
|
311
|
-
})
|
|
304
|
+
});
|
|
312
305
|
/**
|
|
313
306
|
* MCP servers map - maps MCP server names to MCP server entries.
|
|
314
307
|
*
|
|
@@ -316,9 +309,7 @@ export const McpServerEntrySchema = Schema.Union([Schema.String, McpServerEntryO
|
|
|
316
309
|
*
|
|
317
310
|
* @experimental This API is unstable and may change without notice.
|
|
318
311
|
*/
|
|
319
|
-
export const McpServersMapSchema = Schema.Record(
|
|
320
|
-
.check(Schema.makeFilter(validateNamedRecordKeys("MCP server", decodeExtensionNameSync)))
|
|
321
|
-
.annotate({
|
|
312
|
+
export const McpServersMapSchema = Schema.Record(ExtensionMapKeySchema, McpServerEntrySchema).annotate({
|
|
322
313
|
identifier: "McpServersMap",
|
|
323
314
|
title: "MCP Servers Map",
|
|
324
315
|
description: "Your installed MCP servers, keyed by name.",
|
|
@@ -332,9 +323,9 @@ export const McpServersMapSchema = Schema.Record(Schema.String, McpServerEntrySc
|
|
|
332
323
|
* @experimental This API is unstable and may change without notice.
|
|
333
324
|
*/
|
|
334
325
|
export const SubagentEntryObjectSchema = Schema.Struct({
|
|
335
|
-
source: Schema.
|
|
336
|
-
enabled:
|
|
337
|
-
authored:
|
|
326
|
+
source: Schema.NonEmptyString.pipe(Schema.annotateKey({ messageMissingKey: "subagent source is required" })),
|
|
327
|
+
enabled: enabledFieldSchema,
|
|
328
|
+
authored: authoredFieldSchema,
|
|
338
329
|
}).annotate({
|
|
339
330
|
identifier: "SubagentEntryObject",
|
|
340
331
|
title: "Subagent Entry Object",
|
|
@@ -349,7 +340,7 @@ export const SubagentEntryObjectSchema = Schema.Struct({
|
|
|
349
340
|
*
|
|
350
341
|
* @experimental This API is unstable and may change without notice.
|
|
351
342
|
*/
|
|
352
|
-
export const SubagentEntrySchema =
|
|
343
|
+
export const SubagentEntrySchema = compactOrVerboseEntry(SubagentEntryObjectSchema, Schema.Struct({
|
|
353
344
|
source: Schema.String,
|
|
354
345
|
enabled: Schema.Boolean,
|
|
355
346
|
authored: Schema.Boolean,
|
|
@@ -357,7 +348,7 @@ export const SubagentEntrySchema = Schema.Union([Schema.String, SubagentEntryObj
|
|
|
357
348
|
identifier: "SubagentEntry",
|
|
358
349
|
title: "Subagent Entry",
|
|
359
350
|
description: "A subagent reference — either a source string like @owner/subagents/name or an object with source, enabled, and authored.",
|
|
360
|
-
}),
|
|
351
|
+
}), {
|
|
361
352
|
decode: (entry) => typeof entry === "string"
|
|
362
353
|
? { source: entry, enabled: true, authored: false }
|
|
363
354
|
: {
|
|
@@ -377,7 +368,7 @@ export const SubagentEntrySchema = Schema.Union([Schema.String, SubagentEntryObj
|
|
|
377
368
|
obj.authored = true;
|
|
378
369
|
return obj;
|
|
379
370
|
},
|
|
380
|
-
})
|
|
371
|
+
});
|
|
381
372
|
/**
|
|
382
373
|
* Subagents map - maps subagent names to subagent entries.
|
|
383
374
|
*
|
|
@@ -390,9 +381,7 @@ export const SubagentEntrySchema = Schema.Union([Schema.String, SubagentEntryObj
|
|
|
390
381
|
*
|
|
391
382
|
* @experimental This API is unstable and may change without notice.
|
|
392
383
|
*/
|
|
393
|
-
export const SubagentsMapSchema = Schema.Record(
|
|
394
|
-
.check(Schema.makeFilter(validateNamedRecordKeys("subagent", decodeExtensionNameSync)))
|
|
395
|
-
.annotate({
|
|
384
|
+
export const SubagentsMapSchema = Schema.Record(ExtensionMapKeySchema, SubagentEntrySchema).annotate({
|
|
396
385
|
identifier: "SubagentsMap",
|
|
397
386
|
title: "Subagents Map",
|
|
398
387
|
description: "Your installed subagents, keyed by name.",
|
|
@@ -405,13 +394,13 @@ export const SubagentsMapSchema = Schema.Record(Schema.String, SubagentEntrySche
|
|
|
405
394
|
*
|
|
406
395
|
* @experimental This API is unstable and may change without notice.
|
|
407
396
|
*/
|
|
408
|
-
export const
|
|
409
|
-
source: Schema.
|
|
410
|
-
authored:
|
|
397
|
+
export const PackEntryObjectSchema = Schema.Struct({
|
|
398
|
+
source: Schema.NonEmptyString.pipe(Schema.annotateKey({ messageMissingKey: "pack source is required" })),
|
|
399
|
+
authored: authoredFieldSchema,
|
|
411
400
|
}).annotate({
|
|
412
|
-
identifier: "
|
|
413
|
-
title: "
|
|
414
|
-
description: "
|
|
401
|
+
identifier: "PackEntryObject",
|
|
402
|
+
title: "Pack Entry Object",
|
|
403
|
+
description: "A pack with its source location.",
|
|
415
404
|
});
|
|
416
405
|
/**
|
|
417
406
|
* Union of pack entry forms: plain source string or object with source + authored.
|
|
@@ -421,22 +410,19 @@ export const ExtensionPackEntryObjectSchema = Schema.Struct({
|
|
|
421
410
|
*
|
|
422
411
|
* @experimental This API is unstable and may change without notice.
|
|
423
412
|
*/
|
|
424
|
-
export const
|
|
425
|
-
Schema.String,
|
|
426
|
-
ExtensionPackEntryObjectSchema,
|
|
427
|
-
]).pipe(Schema.decodeTo(Schema.Struct({
|
|
413
|
+
export const PackEntrySchema = compactOrVerboseEntry(PackEntryObjectSchema, Schema.Struct({
|
|
428
414
|
source: Schema.String,
|
|
429
415
|
authored: Schema.Boolean,
|
|
430
416
|
}).annotate({
|
|
431
|
-
identifier: "
|
|
432
|
-
title: "
|
|
433
|
-
description: "
|
|
434
|
-
}),
|
|
417
|
+
identifier: "PackEntry",
|
|
418
|
+
title: "Pack Entry",
|
|
419
|
+
description: "A pack reference — either a source string or an object with source and authored.",
|
|
420
|
+
}), {
|
|
435
421
|
decode: (entry) => typeof entry === "string"
|
|
436
422
|
? { source: entry, authored: false }
|
|
437
423
|
: { source: entry.source, authored: entry.authored ?? false },
|
|
438
424
|
encode: (entry) => entry.authored ? { source: entry.source, authored: true } : entry.source,
|
|
439
|
-
})
|
|
425
|
+
});
|
|
440
426
|
/**
|
|
441
427
|
* Packs map - maps pack names to pack entries.
|
|
442
428
|
*
|
|
@@ -449,12 +435,10 @@ export const ExtensionPackEntrySchema = Schema.Union([
|
|
|
449
435
|
*
|
|
450
436
|
* @experimental This API is unstable and may change without notice.
|
|
451
437
|
*/
|
|
452
|
-
export const
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
title: "Extension Packs Map",
|
|
457
|
-
description: "Your installed extension packs, keyed by name.",
|
|
438
|
+
export const PacksMapSchema = Schema.Record(ExtensionMapKeySchema, PackEntrySchema).annotate({
|
|
439
|
+
identifier: "PacksMap",
|
|
440
|
+
title: "Packs Map",
|
|
441
|
+
description: "Your installed packs, keyed by name.",
|
|
458
442
|
});
|
|
459
443
|
// -----------------------------------------------------------------------------
|
|
460
444
|
// Ignored Patterns Schema
|
|
@@ -501,7 +485,7 @@ export const SETTINGS_KEY_ORDER = [
|
|
|
501
485
|
* AXM settings configuration schema.
|
|
502
486
|
*
|
|
503
487
|
* Settings define workspace configuration for AXM including:
|
|
504
|
-
* - owner: Workspace owner handle used for
|
|
488
|
+
* - owner: Workspace owner handle used for new/scaffold and reconciliation of non-registry sources
|
|
505
489
|
* - sources: Source provider configurations
|
|
506
490
|
* - agents: List of agent IDs to sync extensions to
|
|
507
491
|
* - skills: Desired skills by name to source string
|
|
@@ -519,7 +503,7 @@ export const SettingsSchema = Schema.Struct({
|
|
|
519
503
|
commands: Schema.optional(CommandsMapSchema),
|
|
520
504
|
subagents: Schema.optional(SubagentsMapSchema),
|
|
521
505
|
mcpServers: Schema.optional(McpServersMapSchema),
|
|
522
|
-
packs: Schema.optional(
|
|
506
|
+
packs: Schema.optional(PacksMapSchema),
|
|
523
507
|
skills: Schema.optional(SkillsMapSchema),
|
|
524
508
|
ignored: Schema.optional(IgnoredSettingsSchema),
|
|
525
509
|
lint: Schema.optional(LintConfigSchema),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/unstable/settings/schema.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,gFAAgF;AAChF,kEAAkE;AAClE,gFAAgF;AAEhF;;;;;GAKG;AACH,MAAM,mBAAmB,GAAG,uBAAuB,CAAC;AAEpD,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAC1C,MAAM,CAAC,SAAS,CAAC,mBAAmB,EAAE;IACpC,OAAO,EACL,qHAAqH;CACxH,CAAC,CACH,CAAC,QAAQ,CAAC;IACT,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,aAAa;IACpB,WAAW,EACT,mGAAmG;IACrG,QAAQ,EAAE,CAAC,QAAQ,EAAE,iBAAiB,CAAC;CACxC,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,4BAA4B,GAAG,MAAM,CAAC,MAAM,CAAC;IACjD,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,CAAC,CAAC;IACjG,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC9B,GAAG,EAAE,MAAM,CAAC,aAAa,C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,QAAQ,CAAC,gBAAgB,CAAC;CACxC,CAAC,CAAC,QAAQ,CAAC;IACV,UAAU,EAAE,UAAU;IACtB,KAAK,EAAE,cAAc;IACrB,WAAW,EACT,2FAA2F;CAC9F,CAAC,CAAC"}
|
|
@@ -65,22 +65,22 @@ export const writeSettings = (axmDir, settings) => Effect.gen(function* () {
|
|
|
65
65
|
const settingsPath = path.join(axmDir, SETTINGS_FILENAME);
|
|
66
66
|
// Ensure directory exists
|
|
67
67
|
yield* fs.makeDirectory(axmDir, { recursive: true }).pipe(Effect.mapError((error) => makeAppError({
|
|
68
|
-
code: "
|
|
69
|
-
|
|
68
|
+
code: "internal",
|
|
69
|
+
message: `Failed to create directory: ${axmDir}`,
|
|
70
70
|
cause: error,
|
|
71
71
|
})));
|
|
72
72
|
// Encode through schema (converts Option -> nullable, URL -> string, etc.)
|
|
73
73
|
const encoded = yield* Schema.encodeEffect(SettingsSchema)(settings).pipe(Effect.mapError((error) => makeAppError({
|
|
74
|
-
code: "
|
|
75
|
-
|
|
74
|
+
code: "internal",
|
|
75
|
+
message: `Failed to encode settings: ${error.message}`,
|
|
76
76
|
cause: error,
|
|
77
77
|
})));
|
|
78
78
|
// Serialize to JSON with pretty printing and trailing newline.
|
|
79
79
|
const content = JSON.stringify(orderSettingsRecord(encoded), null, 2) + "\n";
|
|
80
80
|
// Write file
|
|
81
81
|
yield* fs.writeFileString(settingsPath, content).pipe(Effect.mapError((error) => makeAppError({
|
|
82
|
-
code: "
|
|
83
|
-
|
|
82
|
+
code: "internal",
|
|
83
|
+
message: `Failed to write settings file: ${settingsPath}`,
|
|
84
84
|
cause: error,
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../../src/unstable/settings/settings.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,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AAC;QACX,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,+BAA+B,MAAM,EAAE;QAChD,KAAK,EAAE,KAAK;KACb,CAAC,CACH,CACF,CAAC;IAEF,2EAA2E;IAC3E,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,CAAC,IAAI,CACvE,MAAM,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE,CACxB,YAAY,CAAC;QACX,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,8BAA8B,KAAK,CAAC,OAAO,EAAE;QACtD,KAAK,EAAE,KAAK;KACb,CAAC,CACH,CACF,CAAC;IAEF,+DAA+D;IAC/D,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC;IAE7E,aAAa;IACb,KAAK,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CACnD,MAAM,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE,CACxB,YAAY,CAAC;QACX,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,kCAAkC,YAAY,EAAE;QACzD,KAAK,EAAE,KAAK;KACb,CAAC,CACH,CACF,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -10,7 +10,7 @@ export type { Skill } from "./types.js";
|
|
|
10
10
|
export { parseSkillMd, SkillFrontmatterSchema } from "./skill-content.js";
|
|
11
11
|
export { SkillManager, SkillManagerLive } from "./manager.js";
|
|
12
12
|
export { computeSkillPaths, type SkillPathSource, type SkillDirPaths } from "./paths.js";
|
|
13
|
-
export { getSkillDisplayName, getSkillFqn,
|
|
13
|
+
export { getSkillDisplayName, getSkillFqn, isReferencedByPack, getReferencingPacks, } from "./utils.js";
|
|
14
14
|
export { skillReconciliationAdapter, assertSkillAdapterLoaded } from "./reconciliation-adapter.js";
|
|
15
15
|
export { buildRegistrySkillRef } from "./registry-ref-builder.js";
|
|
16
16
|
export type { InstallSkillOperationArgs, InstallSkillOperation } from "./operations/install.js";
|
|
@@ -26,8 +26,6 @@ export type { EnableSkillOperation } from "./operations/enable.js";
|
|
|
26
26
|
export { enableSkill } from "./operations/enable.js";
|
|
27
27
|
export type { DisableSkillOperation } from "./operations/disable.js";
|
|
28
28
|
export { disableSkill } from "./operations/disable.js";
|
|
29
|
-
export type { RenameSkillOperation } from "./operations/rename.js";
|
|
30
|
-
export { renameSkill } from "./operations/rename.js";
|
|
31
29
|
export type { NewSkillOperationArgs, NewSkillOperation } from "./operations/new-skill.js";
|
|
32
30
|
export { newSkill } from "./operations/new-skill.js";
|
|
33
31
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/unstable/skills/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGlG,YAAY,EACV,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,iBAAiB,GAClB,MAAM,WAAW,CAAC;AAGnB,YAAY,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAG1E,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAG9D,OAAO,EAAE,iBAAiB,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAGzF,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/unstable/skills/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,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,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,YAAY,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC1F,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -13,7 +13,7 @@ export { SkillManager, SkillManagerLive } from "./manager.js";
|
|
|
13
13
|
// Paths
|
|
14
14
|
export { computeSkillPaths } from "./paths.js";
|
|
15
15
|
// Utilities
|
|
16
|
-
export { getSkillDisplayName, getSkillFqn,
|
|
16
|
+
export { getSkillDisplayName, getSkillFqn, isReferencedByPack, getReferencingPacks, } from "./utils.js";
|
|
17
17
|
// Reconciliation
|
|
18
18
|
export { skillReconciliationAdapter, assertSkillAdapterLoaded } from "./reconciliation-adapter.js";
|
|
19
19
|
// Registry ref builder
|
|
@@ -24,6 +24,5 @@ export { publishSkill } from "./operations/publish.js";
|
|
|
24
24
|
export { copySkill } from "./operations/copy.js";
|
|
25
25
|
export { enableSkill } from "./operations/enable.js";
|
|
26
26
|
export { disableSkill } from "./operations/disable.js";
|
|
27
|
-
export { renameSkill } from "./operations/rename.js";
|
|
28
27
|
export { newSkill } from "./operations/new-skill.js";
|
|
29
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/unstable/skills/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,kBAAkB;AAClB,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAsB,MAAM,sBAAsB,CAAC;AAalG,wBAAwB;AACxB,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE1E,UAAU;AACV,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAE9D,QAAQ;AACR,OAAO,EAAE,iBAAiB,EAA4C,MAAM,YAAY,CAAC;AAEzF,YAAY;AACZ,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/unstable/skills/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,kBAAkB;AAClB,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAsB,MAAM,sBAAsB,CAAC;AAalG,wBAAwB;AACxB,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE1E,UAAU;AACV,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAE9D,QAAQ;AACR,OAAO,EAAE,iBAAiB,EAA4C,MAAM,YAAY,CAAC;AAEzF,YAAY;AACZ,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,YAAY,CAAC;AAEpB,iBAAiB;AACjB,OAAO,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAEnG,uBAAuB;AACvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAIlE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAMvD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -16,7 +16,7 @@ import { SourceHostProviders } from "../source-resolution/index.js";
|
|
|
16
16
|
import type { ExtensionManager } from "../workspace/service-interface.js";
|
|
17
17
|
import { WorkspaceMutations } from "../workspace/service-interface.js";
|
|
18
18
|
import { CodingAgentRepository } from "../agents/index.js";
|
|
19
|
-
declare const SkillManager_base: ServiceMap.ServiceClass<SkillManager, "
|
|
19
|
+
declare const SkillManager_base: ServiceMap.ServiceClass<SkillManager, "@agentxm/client-core/unstable/skills/manager/SkillManager", ExtensionManager<SkillExtensionRef>>;
|
|
20
20
|
export declare class SkillManager extends SkillManager_base {
|
|
21
21
|
}
|
|
22
22
|
export declare const SkillManagerLive: Layer.Layer<SkillManager, import("../app-error/app-error.ts").AppError, FileSystem.FileSystem | Path.Path | WorkspaceMutations | CodingAgentRepository | SourceHostProviders>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../../src/unstable/skills/manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAEpC,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../../src/unstable/skills/manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAEpC,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAKtC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAAwB,MAAM,mCAAmC,CAAC;AAChG,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAIvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;;AAa3D,qBAAa,YAAa,SAAQ,iBAG8B;CAAG;AAoBnE,eAAO,MAAM,gBAAgB,+KAyM5B,CAAC"}
|
|
@@ -15,7 +15,8 @@ import * as Effect from "effect/Effect";
|
|
|
15
15
|
import * as Layer from "effect/Layer";
|
|
16
16
|
import * as Option from "effect/Option";
|
|
17
17
|
import { makeAppError } from "../app-error/index.js";
|
|
18
|
-
import {
|
|
18
|
+
import { sourceToLockEntry } from "../sources/index.js";
|
|
19
|
+
import { configuredSkillsToDiskRefs } from "../extensions/materializable-from-disk.js";
|
|
19
20
|
import { SourceHostProviders } from "../source-resolution/index.js";
|
|
20
21
|
import { WorkspaceMutations } from "../workspace/service-interface.js";
|
|
21
22
|
import { existsInAnyCanonicalLocation } from "./disk-check.js";
|
|
@@ -27,7 +28,7 @@ import { ensureSkillAgentArtifact, materializeSkillCanonical, removeSkillAgentAr
|
|
|
27
28
|
// -----------------------------------------------------------------------------
|
|
28
29
|
// Service Tag
|
|
29
30
|
// -----------------------------------------------------------------------------
|
|
30
|
-
export class SkillManager extends ServiceMap.Service()("
|
|
31
|
+
export class SkillManager extends ServiceMap.Service()("@agentxm/client-core/unstable/skills/manager/SkillManager") {
|
|
31
32
|
}
|
|
32
33
|
// -----------------------------------------------------------------------------
|
|
33
34
|
// Helpers
|
|
@@ -72,13 +73,9 @@ export const SkillManagerLive = Layer.effect(SkillManager, Effect.gen(function*
|
|
|
72
73
|
const resolved = yield* Effect.forEach(configuredAgents, (agent) => agent.resolveEffectiveSkillsDir({ workspaceRoot: baseDir }).pipe(Effect.provide(fsPathLayer), Effect.map((outcome) => ({ agent, outcome }))), { concurrency: "unbounded" });
|
|
73
74
|
const misconfigured = Array.filter(resolved, ({ outcome }) => outcome._tag === "misconfigured");
|
|
74
75
|
if (misconfigured.length > 0) {
|
|
75
|
-
const details = misconfigured.map(({ agent, outcome }) => outcome._tag === "misconfigured"
|
|
76
|
-
? `${agent.id}: ${outcome.reason}`
|
|
77
|
-
: `${agent.id}: invalid configuration`);
|
|
78
76
|
return yield* makeAppError({
|
|
79
|
-
code: "
|
|
80
|
-
|
|
81
|
-
details,
|
|
77
|
+
code: "validation",
|
|
78
|
+
message: "One or more configured agents have invalid skills directory settings",
|
|
82
79
|
});
|
|
83
80
|
}
|
|
84
81
|
const installTargets = [];
|
|
@@ -129,21 +126,17 @@ export const SkillManagerLive = Layer.effect(SkillManager, Effect.gen(function*
|
|
|
129
126
|
}),
|
|
130
127
|
materializeInstall,
|
|
131
128
|
listMaterializable: Effect.fn("SkillManager.listMaterializable")(function* () {
|
|
132
|
-
const
|
|
133
|
-
return yield*
|
|
134
|
-
baseDir,
|
|
135
|
-
getConfiguredSources: ws.getConfiguredSources,
|
|
136
|
-
getConfiguredSourceByName: ws.getConfiguredSourceByName,
|
|
137
|
-
}), { concurrency: "unbounded" });
|
|
129
|
+
const configured = yield* ws.records.getConfiguredSkills();
|
|
130
|
+
return yield* configuredSkillsToDiskRefs({ fs, path, baseDir }, configured);
|
|
138
131
|
}),
|
|
139
132
|
materializeUninstall,
|
|
140
|
-
upsertSettingsEntry: ({ ref,
|
|
133
|
+
upsertSettingsEntry: ({ ref, versionRange, }) => {
|
|
141
134
|
const lockEntry = buildSkillLockEntry(ref, agents);
|
|
142
135
|
if (lockEntry.type === "registry") {
|
|
143
|
-
return validateExactResolvedVersion(`skills.${ref.skill.name}.resolvedVersion`, lockEntry.resolvedVersion).pipe(Effect.flatMap(() => ws.setSkill({ name: ref.skill.name, lockEntry,
|
|
136
|
+
return validateExactResolvedVersion(`skills.${ref.skill.name}.resolvedVersion`, lockEntry.resolvedVersion).pipe(Effect.flatMap(() => ws.setSkill({ name: ref.skill.name, lockEntry, versionRange })), Effect.withSpan("SkillManager.upsertSettingsEntry"));
|
|
144
137
|
}
|
|
145
138
|
return ws
|
|
146
|
-
.setSkill({ name: ref.skill.name, lockEntry,
|
|
139
|
+
.setSkill({ name: ref.skill.name, lockEntry, versionRange })
|
|
147
140
|
.pipe(Effect.withSpan("SkillManager.upsertSettingsEntry"));
|
|
148
141
|
},
|
|
149
142
|
removeSettingsEntry: ({ target }) => ws
|
|
@@ -155,14 +148,14 @@ export const SkillManagerLive = Layer.effect(SkillManager, Effect.gen(function*
|
|
|
155
148
|
return validateExactResolvedVersion(`skills.${ref.skill.name}.resolvedVersion`, lockEntry.resolvedVersion).pipe(Effect.flatMap(() => ws.setSkillLock({
|
|
156
149
|
name: ref.skill.name,
|
|
157
150
|
lockEntry,
|
|
158
|
-
|
|
151
|
+
versionRange: Option.none(),
|
|
159
152
|
})), Effect.withSpan("SkillManager.upsertLockfileEntry"));
|
|
160
153
|
}
|
|
161
154
|
return ws
|
|
162
155
|
.setSkillLock({
|
|
163
156
|
name: ref.skill.name,
|
|
164
157
|
lockEntry,
|
|
165
|
-
|
|
158
|
+
versionRange: Option.none(),
|
|
166
159
|
})
|
|
167
160
|
.pipe(Effect.withSpan("SkillManager.upsertLockfileEntry"));
|
|
168
161
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manager.js","sourceRoot":"","sources":["../../../../src/unstable/skills/manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"manager.js","sourceRoot":"","sources":["../../../../src/unstable/skills/manager.ts"],"names":[],"mappings":"A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