@agentxm/client-core 0.5.1 → 0.5.3
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/mcp-sync.d.ts.map +1 -1
- package/dist/src/unstable/agents/mcp-sync.js +1 -0
- package/dist/src/unstable/agents/mcp-sync.js.map +1 -1
- package/dist/src/unstable/app-error/app-error.d.ts +79 -3
- package/dist/src/unstable/app-error/app-error.d.ts.map +1 -1
- package/dist/src/unstable/app-error/app-error.js +114 -38
- package/dist/src/unstable/app-error/app-error.js.map +1 -1
- package/dist/src/unstable/app-error/builders.d.ts.map +1 -1
- package/dist/src/unstable/app-error/builders.js +1 -2
- package/dist/src/unstable/app-error/builders.js.map +1 -1
- package/dist/src/unstable/app-error/index.d.ts +1 -1
- package/dist/src/unstable/app-error/index.d.ts.map +1 -1
- package/dist/src/unstable/app-error/index.js +1 -1
- package/dist/src/unstable/app-error/index.js.map +1 -1
- package/dist/src/unstable/auth/auth-client.d.ts.map +1 -1
- package/dist/src/unstable/auth/auth-client.js +10 -11
- package/dist/src/unstable/auth/auth-client.js.map +1 -1
- package/dist/src/unstable/auth/credential-store.d.ts.map +1 -1
- package/dist/src/unstable/auth/credential-store.js +1 -4
- package/dist/src/unstable/auth/credential-store.js.map +1 -1
- package/dist/src/unstable/auth/guard.js +1 -1
- package/dist/src/unstable/auth/guard.js.map +1 -1
- package/dist/src/unstable/auth/token-resolution.js +1 -1
- package/dist/src/unstable/auth/token-resolution.js.map +1 -1
- package/dist/src/unstable/cli/prompt/helpers.js +1 -1
- package/dist/src/unstable/cli/prompt/helpers.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 +1 -7
- 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 +9 -11
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -1
- package/dist/src/unstable/cli-runtime/breadcrumb.d.ts +0 -2
- package/dist/src/unstable/cli-runtime/breadcrumb.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/breadcrumb.js +7 -4
- package/dist/src/unstable/cli-runtime/breadcrumb.js.map +1 -1
- package/dist/src/unstable/cli-runtime/graceful-shutdown.d.ts +1 -1
- package/dist/src/unstable/cli-runtime/graceful-shutdown.js +2 -2
- package/dist/src/unstable/cli-runtime/handle-error.d.ts +3 -4
- package/dist/src/unstable/cli-runtime/handle-error.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/handle-error.js +10 -20
- package/dist/src/unstable/cli-runtime/handle-error.js.map +1 -1
- package/dist/src/unstable/cli-runtime/json-envelope.d.ts +3 -14
- package/dist/src/unstable/cli-runtime/json-envelope.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/json-envelope.js +3 -6
- package/dist/src/unstable/cli-runtime/json-envelope.js.map +1 -1
- package/dist/src/unstable/cli-runtime/output-mode.d.ts +0 -3
- package/dist/src/unstable/cli-runtime/output-mode.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/output-mode.js +1 -4
- 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 +32 -17
- package/dist/src/unstable/cli-runtime/runtime-envelope.js.map +1 -1
- package/dist/src/unstable/commands/command-content.d.ts +10 -0
- package/dist/src/unstable/commands/command-content.d.ts.map +1 -1
- package/dist/src/unstable/commands/command-content.js +17 -3
- package/dist/src/unstable/commands/command-content.js.map +1 -1
- package/dist/src/unstable/commands/manager.js +4 -4
- package/dist/src/unstable/commands/manager.js.map +1 -1
- package/dist/src/unstable/commands/manifest-schema.d.ts +11 -8
- package/dist/src/unstable/commands/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/commands/manifest-schema.js +8 -6
- package/dist/src/unstable/commands/manifest-schema.js.map +1 -1
- package/dist/src/unstable/commands/operations/enable.js +3 -3
- package/dist/src/unstable/commands/operations/enable.js.map +1 -1
- package/dist/src/unstable/commands/operations/install.d.ts +1 -1
- package/dist/src/unstable/commands/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/install.js +3 -3
- package/dist/src/unstable/commands/operations/install.js.map +1 -1
- package/dist/src/unstable/commands/operations/new-command.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/new-command.js +5 -4
- 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 +12 -5
- package/dist/src/unstable/commands/operations/publish.js.map +1 -1
- package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +11 -7
- package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/shared-command-helpers.js +33 -7
- package/dist/src/unstable/commands/operations/shared-command-helpers.js.map +1 -1
- package/dist/src/unstable/commands/reconciliation-adapter.js +2 -2
- 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 +2 -2
- package/dist/src/unstable/commands/registry-ref-builder.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/common.d.ts +117 -23
- package/dist/src/unstable/extensions/common.d.ts.map +1 -1
- package/dist/src/unstable/extensions/common.js +185 -43
- package/dist/src/unstable/extensions/common.js.map +1 -1
- package/dist/src/unstable/extensions/fqn.d.ts +38 -10
- package/dist/src/unstable/extensions/fqn.d.ts.map +1 -1
- package/dist/src/unstable/extensions/fqn.js +44 -25
- 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 +0 -1
- package/dist/src/unstable/extensions/frontmatter.js.map +1 -1
- package/dist/src/unstable/extensions/index.d.ts +4 -4
- package/dist/src/unstable/extensions/index.d.ts.map +1 -1
- package/dist/src/unstable/extensions/index.js +3 -3
- package/dist/src/unstable/extensions/index.js.map +1 -1
- package/dist/src/unstable/extensions/materializable-from-disk.d.ts +2 -2
- package/dist/src/unstable/extensions/materializable-from-disk.d.ts.map +1 -1
- package/dist/src/unstable/extensions/materializable-from-disk.js +9 -12
- package/dist/src/unstable/extensions/materializable-from-disk.js.map +1 -1
- package/dist/src/unstable/extensions/operations.d.ts +4 -4
- package/dist/src/unstable/extensions/operations.d.ts.map +1 -1
- package/dist/src/unstable/extensions/operations.js +10 -10
- package/dist/src/unstable/extensions/operations.js.map +1 -1
- package/dist/src/unstable/extensions/ref-base.d.ts +6 -9
- 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/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/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/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/resolved-version.d.ts.map +1 -1
- package/dist/src/unstable/lockfile/resolved-version.js +3 -4
- 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.js +2 -2
- package/dist/src/unstable/mcp-servers/manager.js.map +1 -1
- package/dist/src/unstable/mcp-servers/manifest-schema.d.ts +9 -5
- 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 +2 -2
- 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 +5 -4
- package/dist/src/unstable/mcp-servers/operations/publish.js.map +1 -1
- package/dist/src/unstable/mcp-servers/reconciliation-adapter.js +2 -2
- 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 +2 -2
- 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 +66 -27
- 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 +18 -18
- 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 +26 -30
- package/dist/src/unstable/packs/manager.js.map +1 -1
- package/dist/src/unstable/packs/manifest-schema.d.ts +16 -17
- 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 +19 -42
- 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 +37 -33
- 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 +29 -32
- 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 +21 -31
- 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 +18 -27
- 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 +17 -17
- 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 +42 -20
- 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 +120 -79
- 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/resolve-plan.d.ts.map +1 -1
- package/dist/src/unstable/plan/resolve-plan.js +3 -4
- 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 -34
- package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -1
- package/dist/src/unstable/publish/manifest-policy.js +19 -8
- package/dist/src/unstable/publish/manifest-policy.js.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts +4 -4
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.js +2 -2
- package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
- package/dist/src/unstable/registry/client.d.ts +7 -7
- 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.map +1 -1
- package/dist/src/unstable/registry/error-mapping.js +2 -6
- package/dist/src/unstable/registry/error-mapping.js.map +1 -1
- package/dist/src/unstable/registry/local-client.js +10 -10
- 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 +17 -23
- package/dist/src/unstable/registry/remote-client.js.map +1 -1
- package/dist/src/unstable/registry/schema.d.ts +11 -7
- package/dist/src/unstable/registry/schema.d.ts.map +1 -1
- package/dist/src/unstable/registry/schema.js +3 -3
- 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 +4 -4
- 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 +1 -4
- 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 +27 -27
- package/dist/src/unstable/settings/schema.d.ts.map +1 -1
- package/dist/src/unstable/settings/schema.js +57 -73
- package/dist/src/unstable/settings/schema.js.map +1 -1
- package/dist/src/unstable/skills/index.d.ts +2 -1
- package/dist/src/unstable/skills/index.d.ts.map +1 -1
- package/dist/src/unstable/skills/index.js +2 -1
- package/dist/src/unstable/skills/index.js.map +1 -1
- package/dist/src/unstable/skills/manager.d.ts.map +1 -1
- package/dist/src/unstable/skills/manager.js +5 -5
- package/dist/src/unstable/skills/manager.js.map +1 -1
- package/dist/src/unstable/skills/manifest-schema.d.ts +9 -5
- package/dist/src/unstable/skills/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/skills/manifest-schema.js +6 -3
- package/dist/src/unstable/skills/manifest-schema.js.map +1 -1
- package/dist/src/unstable/skills/operations/copy.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/copy.js +3 -2
- 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 +1 -3
- 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 +4 -1
- 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 +8 -8
- 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 +3 -4
- 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 +4 -4
- 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 +4 -6
- 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 +2 -2
- 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/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 +13 -28
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-identifier.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-identifier.js +5 -10
- package/dist/src/unstable/source-resolution/resolve-identifier.js.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-source-pattern.js +1 -1
- package/dist/src/unstable/source-resolution/resolve-source-pattern.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 +7 -10
- 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/manager.d.ts.map +1 -1
- package/dist/src/unstable/subagents/manager.js +0 -1
- package/dist/src/unstable/subagents/manager.js.map +1 -1
- package/dist/src/unstable/subagents/manifest-schema.d.ts +9 -5
- package/dist/src/unstable/subagents/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/subagents/manifest-schema.js +6 -3
- 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 +1 -3
- package/dist/src/unstable/subagents/operations/disable.js.map +1 -1
- package/dist/src/unstable/subagents/operations/enable.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/enable.js +1 -2
- package/dist/src/unstable/subagents/operations/enable.js.map +1 -1
- package/dist/src/unstable/subagents/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/publish.js +4 -5
- package/dist/src/unstable/subagents/operations/publish.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 +2 -2
- package/dist/src/unstable/subagents/registry-ref-builder.js.map +1 -1
- package/dist/src/unstable/subagents/subagent-content.d.ts.map +1 -1
- package/dist/src/unstable/subagents/subagent-content.js +3 -10
- package/dist/src/unstable/subagents/subagent-content.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 +0 -1
- package/dist/src/unstable/utils/build-zip-archive.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 +1 -7
- 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 +26 -38
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.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/index.d.ts +1 -1
- package/dist/src/unstable/workspace/index.d.ts.map +1 -1
- package/dist/src/unstable/workspace/initialization.d.ts +20 -20
- package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
- package/dist/src/unstable/workspace/initialization.js +1 -3
- package/dist/src/unstable/workspace/initialization.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/package-root.d.ts +4 -0
- package/dist/src/unstable/workspace/read-model/extensions/package-root.d.ts.map +1 -1
- package/dist/src/unstable/workspace/read-model/extensions/package-root.js +18 -1
- package/dist/src/unstable/workspace/read-model/extensions/package-root.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/service.js +2 -2
- 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.js.map +1 -1
- package/dist/src/unstable/workspace/service-interface.d.ts +17 -17
- package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service-interface.js.map +1 -1
- package/dist/src/unstable/workspace/service.d.ts +38 -38
- package/dist/src/unstable/workspace/service.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service.js +24 -28
- package/dist/src/unstable/workspace/service.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 -16
- 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 +2 -2
- 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 +123 -19
- package/site-content/__generated__/schemas/mcp-server.schema.json +124 -14
- 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 +124 -14
- package/site-content/__generated__/schemas/subagent.schema.json +176 -0
- package/site-content/install.md +1 -1
- package/site-content/__generated__/schemas/extension-pack.schema.json +0 -103
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Pack manager service.
|
|
3
3
|
*
|
|
4
|
-
* Implements ExtensionManager<
|
|
5
|
-
*
|
|
4
|
+
* Implements ExtensionManager<PackRef>. Delegates to existing
|
|
5
|
+
* pack materialization functions and workspace service methods.
|
|
6
6
|
*
|
|
7
7
|
* @experimental This API is unstable and may change without notice.
|
|
8
8
|
*/
|
|
@@ -19,23 +19,23 @@ import { SourceHostProviders, } from "../source-resolution/index.js";
|
|
|
19
19
|
import { WorkspaceMutations } from "../workspace/service-interface.js";
|
|
20
20
|
import { copyExtensionDirectory } from "../extensions/utils.js";
|
|
21
21
|
import { sanitizeName } from "../extensions/utils.js";
|
|
22
|
-
import {
|
|
22
|
+
import { computePackPaths } from "./paths.js";
|
|
23
23
|
import { removeIfExists } from "../utils/index.js";
|
|
24
24
|
import { validateExactResolvedVersion } from "../lockfile/index.js";
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
25
|
+
import { resolvePackDependencies } from "./dependency-resolution.js";
|
|
26
|
+
import { decodeVersionSync } from "../version-constraints/version-constraints.js";
|
|
27
27
|
// -----------------------------------------------------------------------------
|
|
28
28
|
// Service Tag
|
|
29
29
|
// -----------------------------------------------------------------------------
|
|
30
|
-
export class
|
|
30
|
+
export class PackManager extends ServiceMap.Service()("@agentxm/client-core/unstable/packs/manager/PackManager") {
|
|
31
31
|
}
|
|
32
|
-
// Build pack
|
|
33
|
-
const
|
|
34
|
-
const resolved = yield*
|
|
32
|
+
// Build pack SetPackArgs from a registry ref
|
|
33
|
+
const buildSetPackArgs = (ref, versionRange, sources) => Effect.gen(function* () {
|
|
34
|
+
const resolved = yield* resolvePackDependencies(ref, sources);
|
|
35
35
|
return {
|
|
36
36
|
owner: ref.owner,
|
|
37
37
|
name: ref.pack.name,
|
|
38
|
-
resolvedVersion:
|
|
38
|
+
resolvedVersion: decodeVersionSync(ref.version),
|
|
39
39
|
integrity: Option.getOrElse(ref.integrity, () => ""),
|
|
40
40
|
sourceName: "default",
|
|
41
41
|
installedAt: new Date(),
|
|
@@ -44,7 +44,7 @@ const buildSetExtensionPackArgs = (ref, versionConstraint, sources) => Effect.ge
|
|
|
44
44
|
resolvedCommands: resolved.resolvedCommands,
|
|
45
45
|
resolvedMcpServers: resolved.resolvedMcpServers,
|
|
46
46
|
resolvedSubagents: resolved.resolvedSubagents,
|
|
47
|
-
|
|
47
|
+
versionRange,
|
|
48
48
|
};
|
|
49
49
|
});
|
|
50
50
|
const checkInstalledOnDisk = (fsService, pathService, baseDir, packName) => Effect.gen(function* () {
|
|
@@ -75,7 +75,7 @@ const checkInstalledOnDisk = (fsService, pathService, baseDir, packName) => Effe
|
|
|
75
75
|
// -----------------------------------------------------------------------------
|
|
76
76
|
// Live Layer
|
|
77
77
|
// -----------------------------------------------------------------------------
|
|
78
|
-
export const
|
|
78
|
+
export const PackManagerLive = Layer.effect(PackManager, Effect.gen(function* () {
|
|
79
79
|
const ws = yield* WorkspaceMutations;
|
|
80
80
|
const fs = yield* FileSystem.FileSystem;
|
|
81
81
|
const path = yield* Path.Path;
|
|
@@ -84,29 +84,29 @@ export const ExtensionPackManagerLive = Layer.effect(ExtensionPackManager, Effec
|
|
|
84
84
|
// Build a layer to provide FileSystem + Path to inner effects
|
|
85
85
|
const fsPathLayer = Layer.merge(Layer.succeed(FileSystem.FileSystem, fs), Layer.succeed(Path.Path, path));
|
|
86
86
|
const provide = (effect) => Effect.provide(effect, fsPathLayer);
|
|
87
|
-
const materializeInstall = Effect.fn("
|
|
87
|
+
const materializeInstall = Effect.fn("PackManager.materializeInstall")(function* ({ ref }) {
|
|
88
88
|
yield* validateExactResolvedVersion(`packs.${ref.pack.name}.resolvedVersion`, ref.version);
|
|
89
|
-
const packDir =
|
|
89
|
+
const packDir = computePackPaths(path.join, baseDir, ref.owner, ref.pack.name).canonicalPath;
|
|
90
90
|
yield* Effect.scoped(Effect.gen(function* () {
|
|
91
91
|
const fetched = yield* sources.fetch(ref).pipe(Effect.mapError((e) => makeAppError({
|
|
92
92
|
code: "network",
|
|
93
|
-
message: `Failed to fetch
|
|
93
|
+
message: `Failed to fetch pack archive: ${e.message}`,
|
|
94
94
|
cause: e,
|
|
95
95
|
})));
|
|
96
96
|
yield* provide(copyExtensionDirectory(fetched.directory, packDir).pipe(Effect.mapError((e) => makeAppError({
|
|
97
97
|
code: "internal",
|
|
98
|
-
message: `Failed to extract
|
|
98
|
+
message: `Failed to extract pack to ${packDir}`,
|
|
99
99
|
cause: e,
|
|
100
100
|
}))));
|
|
101
101
|
}));
|
|
102
102
|
});
|
|
103
|
-
const materializeUninstall = Effect.fn("
|
|
104
|
-
const packDir =
|
|
103
|
+
const materializeUninstall = Effect.fn("PackManager.materializeUninstall")(function* ({ target }) {
|
|
104
|
+
const packDir = computePackPaths(path.join, baseDir, target.owner, target.name).canonicalPath;
|
|
105
105
|
yield* removeIfExists(fs, packDir);
|
|
106
106
|
});
|
|
107
107
|
return {
|
|
108
108
|
type: "pack",
|
|
109
|
-
isInstalled: Effect.fn("
|
|
109
|
+
isInstalled: Effect.fn("PackManager.isInstalled")(function* ({ target, }) {
|
|
110
110
|
const installedPacks = yield* ws.records.getInstalledPacks();
|
|
111
111
|
if (target.name in installedPacks) {
|
|
112
112
|
return true;
|
|
@@ -114,24 +114,20 @@ export const ExtensionPackManagerLive = Layer.effect(ExtensionPackManager, Effec
|
|
|
114
114
|
return yield* checkInstalledOnDisk(fs, path, baseDir, target.name);
|
|
115
115
|
}),
|
|
116
116
|
materializeInstall,
|
|
117
|
-
listMaterializable: Effect.fn("
|
|
117
|
+
listMaterializable: Effect.fn("PackManager.listMaterializable")(function* () {
|
|
118
118
|
const configured = yield* ws.records.getConfiguredPacks();
|
|
119
119
|
return yield* configuredPacksToDiskRefs({ fs, path, baseDir }, configured);
|
|
120
120
|
}),
|
|
121
121
|
materializeUninstall,
|
|
122
|
-
upsertSettingsEntry: ({ ref,
|
|
123
|
-
removeSettingsEntry: ({ target }) => ws
|
|
124
|
-
|
|
125
|
-
.pipe(Effect.withSpan("ExtensionPackManager.removeSettingsEntry")),
|
|
126
|
-
// Pack lockfile entries are written by upsertSettingsEntry via buildSetExtensionPackArgs;
|
|
122
|
+
upsertSettingsEntry: ({ ref, versionRange, }) => buildSetPackArgs(ref, versionRange, sources).pipe(Effect.flatMap((args) => ws.setPack(args)), Effect.withSpan("PackManager.upsertSettingsEntry")),
|
|
123
|
+
removeSettingsEntry: ({ target }) => ws.removePackSettings(target.name).pipe(Effect.withSpan("PackManager.removeSettingsEntry")),
|
|
124
|
+
// Pack lockfile entries are written by upsertSettingsEntry via buildSetPackArgs;
|
|
127
125
|
// this method satisfies the ExtensionManager interface but performs no additional work.
|
|
128
126
|
upsertLockfileEntry: ({ ref }) => {
|
|
129
127
|
void ref;
|
|
130
|
-
return Effect.void.pipe(Effect.withSpan("
|
|
128
|
+
return Effect.void.pipe(Effect.withSpan("PackManager.upsertLockfileEntry"));
|
|
131
129
|
},
|
|
132
|
-
removeLockfileEntry: ({ target }) => ws
|
|
133
|
-
.removeExtensionPackLock(target.name)
|
|
134
|
-
.pipe(Effect.withSpan("ExtensionPackManager.removeLockfileEntry")),
|
|
130
|
+
removeLockfileEntry: ({ target }) => ws.removePackLock(target.name).pipe(Effect.withSpan("PackManager.removeLockfileEntry")),
|
|
135
131
|
};
|
|
136
132
|
}));
|
|
137
133
|
//# sourceMappingURL=manager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manager.js","sourceRoot":"","sources":["../../../../src/unstable/packs/manager.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,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,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAEtF,OAAO,EACL,mBAAmB,GAEpB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"manager.js","sourceRoot":"","sources":["../../../../src/unstable/packs/manager.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD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C,CAAC;KACtD,CAAC;AACxC,CAAC,CAAC,CACH,CAAC"}
|
|
@@ -1,52 +1,51 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Pack manifest schema definition.
|
|
3
3
|
*
|
|
4
4
|
* @experimental This API is unstable and may change without notice.
|
|
5
5
|
*/
|
|
6
6
|
import * as Schema from "effect/Schema";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
7
|
+
export declare const PACK_MANIFEST_FILENAME = "pack.json";
|
|
8
|
+
export declare const PACK_MANIFEST_SCHEMA_URL = "https://axm.sh/schemas/pack.schema.json";
|
|
9
9
|
/**
|
|
10
|
-
* Schema for pack manifest files (
|
|
10
|
+
* Schema for pack manifest files (pack.json).
|
|
11
11
|
*
|
|
12
|
-
*
|
|
12
|
+
* Packs bundle multiple extensions (skills, commands, MCP servers, subagents)
|
|
13
13
|
* for convenient distribution and installation. Each extension entry
|
|
14
14
|
* maps a fully qualified name to a semver version range.
|
|
15
15
|
*
|
|
16
16
|
* @experimental This API is unstable and may change without notice.
|
|
17
17
|
*/
|
|
18
|
-
export declare const
|
|
18
|
+
export declare const PackManifestSchema: Schema.Struct<{
|
|
19
19
|
readonly type: Schema.Literal<"pack">;
|
|
20
|
-
readonly name: Schema.brand<Schema.
|
|
21
|
-
readonly
|
|
22
|
-
readonly commands: Schema.optional<Schema.$Record<Schema.String, Schema.brand<Schema.String, "VersionConstraint">>>;
|
|
23
|
-
readonly "mcp-servers": Schema.optional<Schema.$Record<Schema.String, Schema.brand<Schema.String, "VersionConstraint">>>;
|
|
24
|
-
readonly subagents: Schema.optional<Schema.$Record<Schema.String, Schema.brand<Schema.String, "VersionConstraint">>>;
|
|
20
|
+
readonly name: Schema.brand<Schema.NonEmptyString, "ExtensionName">;
|
|
21
|
+
readonly dependencies: Schema.$Record<Schema.String, Schema.brand<Schema.NonEmptyString, "VersionRange">>;
|
|
25
22
|
readonly owner: Schema.brand<Schema.String, "Handle">;
|
|
26
|
-
readonly version: Schema.brand<Schema.String, "
|
|
23
|
+
readonly version: Schema.brand<Schema.String, "Version">;
|
|
27
24
|
readonly description: Schema.optional<Schema.String>;
|
|
28
|
-
readonly keywords: Schema.optional<Schema.$Array<Schema.
|
|
25
|
+
readonly keywords: Schema.optional<Schema.$Array<Schema.NonEmptyString>>;
|
|
29
26
|
readonly repository: Schema.optional<Schema.String>;
|
|
30
27
|
readonly homepage: Schema.optional<Schema.String>;
|
|
31
|
-
readonly license: Schema.optional<Schema.
|
|
28
|
+
readonly license: Schema.optional<Schema.NonEmptyString>;
|
|
32
29
|
readonly bugs: Schema.optional<Schema.String>;
|
|
33
30
|
readonly authors: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
34
31
|
readonly name: Schema.String;
|
|
35
32
|
readonly email: Schema.optional<Schema.String>;
|
|
36
33
|
readonly url: Schema.optional<Schema.String>;
|
|
37
34
|
}>>>;
|
|
38
|
-
readonly
|
|
35
|
+
readonly companionPackages: Schema.optional<Schema.$Array<Schema.decodeTo<Schema.toType<Schema.Struct<{
|
|
39
36
|
readonly type: Schema.brand<Schema.String, "PackageType">;
|
|
40
37
|
readonly namespace: Schema.optional<Schema.String>;
|
|
41
38
|
readonly name: Schema.String;
|
|
42
39
|
readonly version: Schema.optional<Schema.String>;
|
|
40
|
+
readonly qualifiers: Schema.optional<Schema.$Record<Schema.String, Schema.NonEmptyString>>;
|
|
41
|
+
readonly subpath: Schema.optional<Schema.NonEmptyString>;
|
|
43
42
|
}>>, Schema.String, never, never>>>;
|
|
44
43
|
readonly $schema: Schema.optional<Schema.String>;
|
|
45
44
|
}>;
|
|
46
45
|
/**
|
|
47
|
-
* Inferred type for
|
|
46
|
+
* Inferred type for PackManifest schema.
|
|
48
47
|
*
|
|
49
48
|
* @experimental This API is unstable and may change without notice.
|
|
50
49
|
*/
|
|
51
|
-
export type
|
|
50
|
+
export type PackManifest = Schema.Schema.Type<typeof PackManifestSchema>;
|
|
52
51
|
//# sourceMappingURL=manifest-schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-schema.d.ts","sourceRoot":"","sources":["../../../../src/unstable/packs/manifest-schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAOxC,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"manifest-schema.d.ts","sourceRoot":"","sources":["../../../../src/unstable/packs/manifest-schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAOxC,eAAO,MAAM,sBAAsB,cAAc,CAAC;AAElD,eAAO,MAAM,wBAAwB,4CAA4C,CAAC;AAElF;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;EAmB7B,CAAC;AAEH;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,33 +1,32 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Pack manifest schema definition.
|
|
3
3
|
*
|
|
4
4
|
* @experimental This API is unstable and may change without notice.
|
|
5
5
|
*/
|
|
6
6
|
import * as Schema from "effect/Schema";
|
|
7
|
-
import { CommonManifestBaseFields,
|
|
8
|
-
export const
|
|
9
|
-
export const
|
|
7
|
+
import { CommonManifestBaseFields, ExtensionNameSchema, NonPackExtensionDependencyConstraintMapSchema, } from "../extensions/common.js";
|
|
8
|
+
export const PACK_MANIFEST_FILENAME = "pack.json";
|
|
9
|
+
export const PACK_MANIFEST_SCHEMA_URL = "https://axm.sh/schemas/pack.schema.json";
|
|
10
10
|
/**
|
|
11
|
-
* Schema for pack manifest files (
|
|
11
|
+
* Schema for pack manifest files (pack.json).
|
|
12
12
|
*
|
|
13
|
-
*
|
|
13
|
+
* Packs bundle multiple extensions (skills, commands, MCP servers, subagents)
|
|
14
14
|
* for convenient distribution and installation. Each extension entry
|
|
15
15
|
* maps a fully qualified name to a semver version range.
|
|
16
16
|
*
|
|
17
17
|
* @experimental This API is unstable and may change without notice.
|
|
18
18
|
*/
|
|
19
|
-
export const
|
|
19
|
+
export const PackManifestSchema = Schema.Struct({
|
|
20
20
|
$schema: Schema.optional(Schema.String),
|
|
21
21
|
...CommonManifestBaseFields,
|
|
22
22
|
type: Schema.Literal("pack"),
|
|
23
|
-
name: ExtensionNameSchema.pipe(Schema.annotateKey({ messageMissingKey: "
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
subagents: Schema.optional(ExtensionDependencyConstraintMapSchema),
|
|
23
|
+
name: ExtensionNameSchema.pipe(Schema.annotateKey({ messageMissingKey: "pack name is required" }), Schema.annotate({
|
|
24
|
+
description: "Short name for this pack within its owner namespace. Combined with owner, forms the FQN @owner/packs/<name>.",
|
|
25
|
+
})),
|
|
26
|
+
dependencies: NonPackExtensionDependencyConstraintMapSchema.pipe(Schema.annotateKey({ messageMissingKey: "pack dependencies are required" })),
|
|
28
27
|
}).annotate({
|
|
29
|
-
identifier: "
|
|
30
|
-
title: "
|
|
31
|
-
description: "
|
|
28
|
+
identifier: "PackManifest",
|
|
29
|
+
title: "Pack Manifest",
|
|
30
|
+
description: "Extension manifest file for extension packs. Bundles a curated set of skills, commands, MCP servers, subagents, files, and rules into a single installable unit.",
|
|
32
31
|
});
|
|
33
32
|
//# sourceMappingURL=manifest-schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-schema.js","sourceRoot":"","sources":["../../../../src/unstable/packs/manifest-schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EACL,wBAAwB,EACxB,
|
|
1
|
+
{"version":3,"file":"manifest-schema.js","sourceRoot":"","sources":["../../../../src/unstable/packs/manifest-schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACnB,6CAA6C,GAC9C,MAAM,yBAAyB,CAAC;AAEjC,MAAM,CAAC,MAAM,sBAAsB,GAAG,WAAW,CAAC;AAElD,MAAM,CAAC,MAAM,wBAAwB,GAAG,yCAAyC,CAAC;AAElF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACvC,GAAG,wBAAwB;IAC3B,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC;IAC5B,IAAI,EAAE,mBAAmB,CAAC,IAAI,CAC5B,MAAM,CAAC,WAAW,CAAC,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,CAAC,EAClE,MAAM,CAAC,QAAQ,CAAC;QACd,WAAW,EACT,8GAA8G;KACjH,CAAC,CACH;IACD,YAAY,EAAE,6CAA6C,CAAC,IAAI,CAC9D,MAAM,CAAC,WAAW,CAAC,EAAE,iBAAiB,EAAE,gCAAgC,EAAE,CAAC,CAC5E;CACF,CAAC,CAAC,QAAQ,CAAC;IACV,UAAU,EAAE,cAAc;IAC1B,KAAK,EAAE,eAAe;IACtB,WAAW,EACT,kKAAkK;CACrK,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Add-to-
|
|
2
|
+
* Add-to-pack operation — applies a precomputed manifest-add delta to a pack manifest.
|
|
3
3
|
*
|
|
4
4
|
* Validates manifest precondition (stale check) before writing.
|
|
5
5
|
*
|
|
@@ -12,9 +12,9 @@ import type { OperationHandler } from "../../plan/apply-plan.js";
|
|
|
12
12
|
import type { Operation } from "../../plan/plan.js";
|
|
13
13
|
import { WorkspaceMutations } from "../../workspace/service-interface.js";
|
|
14
14
|
/**
|
|
15
|
-
* Args for the add-to-
|
|
15
|
+
* Args for the add-to-pack operation.
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface AddToPackOperationArgs {
|
|
18
18
|
/** Pack name (without owner). */
|
|
19
19
|
readonly packName: string;
|
|
20
20
|
/** Pack owner (e.g., "@myorg"). */
|
|
@@ -25,13 +25,13 @@ export interface AddToExtensionPackOperationArgs {
|
|
|
25
25
|
readonly manifestHash: string;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
* Add extensions to
|
|
28
|
+
* Add extensions to a pack manifest.
|
|
29
29
|
*
|
|
30
30
|
* @experimental This API is unstable and may change without notice.
|
|
31
31
|
*/
|
|
32
|
-
export type
|
|
32
|
+
export type AddToPackOperation = Operation<"add-to-pack", AddToPackOperationArgs>;
|
|
33
33
|
/**
|
|
34
|
-
* Add-to-
|
|
34
|
+
* Add-to-pack operation handler.
|
|
35
35
|
*
|
|
36
36
|
* 1. Short-circuit if additions map is empty (no-op)
|
|
37
37
|
* 2. Read current manifest and compute hash
|
|
@@ -39,5 +39,5 @@ export type AddToExtensionPackOperation = Operation<"add-to-pack", AddToExtensio
|
|
|
39
39
|
* 4. Apply additions to manifest
|
|
40
40
|
* 5. Write updated manifest
|
|
41
41
|
*/
|
|
42
|
-
export declare const
|
|
42
|
+
export declare const addToPack: OperationHandler<AddToPackOperation, FileSystem.FileSystem | Path.Path | WorkspaceMutations>;
|
|
43
43
|
//# sourceMappingURL=add-to-pack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-to-pack.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/add-to-pack.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAIpC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"add-to-pack.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/add-to-pack.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAIpC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAS1E;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,iCAAiC;IACjC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,mCAAmC;IACnC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,uEAAuE;IACvE,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACrD,0DAA0D;IAC1D,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B;AAED;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,SAAS,CAAC,aAAa,EAAE,sBAAsB,CAAC,CAAC;AAMlF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,EAAE,gBAAgB,CACtC,kBAAkB,EAClB,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,kBAAkB,CA6FpD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Add-to-
|
|
2
|
+
* Add-to-pack operation — applies a precomputed manifest-add delta to a pack manifest.
|
|
3
3
|
*
|
|
4
4
|
* Validates manifest precondition (stale check) before writing.
|
|
5
5
|
*
|
|
@@ -11,15 +11,14 @@ import * as Effect from "effect/Effect";
|
|
|
11
11
|
import * as Schema from "effect/Schema";
|
|
12
12
|
import { makeAppError } from "../../app-error/index.js";
|
|
13
13
|
import { WorkspaceMutations } from "../../workspace/service-interface.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { computeExtensionPackPaths } from "../paths.js";
|
|
14
|
+
import { PACK_MANIFEST_FILENAME, PackManifestSchema } from "../manifest-schema.js";
|
|
15
|
+
import { computePackPaths } from "../paths.js";
|
|
17
16
|
import { hashContent } from "./hash-content.js";
|
|
18
17
|
// -----------------------------------------------------------------------------
|
|
19
18
|
// Public API
|
|
20
19
|
// -----------------------------------------------------------------------------
|
|
21
20
|
/**
|
|
22
|
-
* Add-to-
|
|
21
|
+
* Add-to-pack operation handler.
|
|
23
22
|
*
|
|
24
23
|
* 1. Short-circuit if additions map is empty (no-op)
|
|
25
24
|
* 2. Read current manifest and compute hash
|
|
@@ -27,7 +26,7 @@ import { hashContent } from "./hash-content.js";
|
|
|
27
26
|
* 4. Apply additions to manifest
|
|
28
27
|
* 5. Write updated manifest
|
|
29
28
|
*/
|
|
30
|
-
export const
|
|
29
|
+
export const addToPack = (op) => Effect.gen(function* () {
|
|
31
30
|
const fs = yield* FileSystem.FileSystem;
|
|
32
31
|
const path = yield* Path.Path;
|
|
33
32
|
const ws = yield* WorkspaceMutations;
|
|
@@ -38,14 +37,12 @@ export const addToExtensionPack = (op) => Effect.gen(function* () {
|
|
|
38
37
|
return { result: "success", message: "Nothing to add" };
|
|
39
38
|
}
|
|
40
39
|
// 2. Read current manifest
|
|
41
|
-
const packDir =
|
|
42
|
-
const manifestPath = path.join(packDir.canonicalPath,
|
|
40
|
+
const packDir = computePackPaths(path.join, base, packOwner, packName);
|
|
41
|
+
const manifestPath = path.join(packDir.canonicalPath, PACK_MANIFEST_FILENAME);
|
|
43
42
|
const manifestContent = yield* fs.readFileString(manifestPath).pipe(Effect.mapError((e) => makeAppError({
|
|
44
43
|
code: "not_found",
|
|
45
|
-
message: `
|
|
46
|
-
breadcrumbs: [
|
|
47
|
-
{ task: "Recover", description: "Ensure the extension pack exists on disk" },
|
|
48
|
-
],
|
|
44
|
+
message: `Pack manifest not found at ${manifestPath}`,
|
|
45
|
+
breadcrumbs: [{ description: "Ensure the pack exists on disk" }],
|
|
49
46
|
cause: e,
|
|
50
47
|
})));
|
|
51
48
|
// 3. Stale-check: compare content hash
|
|
@@ -53,10 +50,8 @@ export const addToExtensionPack = (op) => Effect.gen(function* () {
|
|
|
53
50
|
if (currentHash !== manifestHash) {
|
|
54
51
|
return yield* makeAppError({
|
|
55
52
|
code: "conflict",
|
|
56
|
-
message: `
|
|
57
|
-
breadcrumbs: [
|
|
58
|
-
{ task: "Recover", description: "Re-run the command to create a fresh plan" },
|
|
59
|
-
],
|
|
53
|
+
message: `Pack manifest is stale — it was modified since the plan was created`,
|
|
54
|
+
breadcrumbs: [{ description: "Re-run the command to create a fresh plan" }],
|
|
60
55
|
});
|
|
61
56
|
}
|
|
62
57
|
// 4. Parse and apply additions
|
|
@@ -67,34 +62,18 @@ export const addToExtensionPack = (op) => Effect.gen(function* () {
|
|
|
67
62
|
},
|
|
68
63
|
catch: (e) => makeAppError({
|
|
69
64
|
code: "validation",
|
|
70
|
-
message: `Failed to parse
|
|
65
|
+
message: `Failed to parse pack manifest: ${manifestPath}`,
|
|
71
66
|
cause: e,
|
|
72
67
|
}),
|
|
73
68
|
});
|
|
74
|
-
const manifest = yield* Schema.decodeUnknownEffect(
|
|
69
|
+
const manifest = yield* Schema.decodeUnknownEffect(PackManifestSchema)(json).pipe(Effect.mapError((e) => makeAppError({
|
|
75
70
|
code: "validation",
|
|
76
|
-
message: `Invalid
|
|
71
|
+
message: `Invalid pack manifest: ${manifestPath}`,
|
|
77
72
|
cause: e,
|
|
78
73
|
})));
|
|
79
|
-
const
|
|
80
|
-
const currentCommands = { ...(manifest["commands"] ?? {}) };
|
|
81
|
-
const currentMcpServers = { ...(manifest["mcp-servers"] ?? {}) };
|
|
74
|
+
const dependencies = { ...manifest.dependencies };
|
|
82
75
|
for (const [fqn, version] of Object.entries(additions)) {
|
|
83
|
-
|
|
84
|
-
switch (parsed.type) {
|
|
85
|
-
case "skill":
|
|
86
|
-
currentSkills[fqn] = version;
|
|
87
|
-
break;
|
|
88
|
-
case "command":
|
|
89
|
-
currentCommands[fqn] = version;
|
|
90
|
-
break;
|
|
91
|
-
case "mcp-server":
|
|
92
|
-
currentMcpServers[fqn] = version;
|
|
93
|
-
break;
|
|
94
|
-
case "pack":
|
|
95
|
-
currentSkills[fqn] = version;
|
|
96
|
-
break;
|
|
97
|
-
}
|
|
76
|
+
dependencies[fqn] = version;
|
|
98
77
|
}
|
|
99
78
|
const updatedManifest = {
|
|
100
79
|
...manifest,
|
|
@@ -102,19 +81,17 @@ export const addToExtensionPack = (op) => Effect.gen(function* () {
|
|
|
102
81
|
type: manifest.type,
|
|
103
82
|
name: manifest.name,
|
|
104
83
|
version: manifest.version,
|
|
105
|
-
|
|
106
|
-
commands: currentCommands,
|
|
107
|
-
"mcp-servers": currentMcpServers,
|
|
84
|
+
dependencies,
|
|
108
85
|
};
|
|
109
86
|
// 5. Write updated manifest
|
|
110
87
|
yield* fs.writeFileString(manifestPath, JSON.stringify(updatedManifest, null, 2) + "\n").pipe(Effect.mapError((e) => makeAppError({
|
|
111
88
|
code: "internal",
|
|
112
|
-
message: `Failed to write
|
|
89
|
+
message: `Failed to write pack manifest: ${manifestPath}`,
|
|
113
90
|
cause: e,
|
|
114
91
|
})));
|
|
115
92
|
return {
|
|
116
93
|
result: "success",
|
|
117
|
-
message: `Added ${Object.keys(additions).length} extension(s) to
|
|
94
|
+
message: `Added ${Object.keys(additions).length} extension(s) to pack`,
|
|
118
95
|
};
|
|
119
96
|
});
|
|
120
97
|
//# sourceMappingURL=add-to-pack.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-to-pack.js","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/add-to-pack.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"add-to-pack.js","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/add-to-pack.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AA2BhD,gFAAgF;AAChF,aAAa;AACb,gFAAgF;AAEhF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,SAAS,GAGlB,CAAC,EAAE,EAAE,EAAE,CACT,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,UAAU,CAAC,UAAU,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,KAAK,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC,eAAe,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,IAAI,CAC3F,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,CACpB,YAAY,CAAC;QACX,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,kCAAkC,YAAY,EAAE;QACzD,KAAK,EAAE,CAAC;KACT,CAAC,CACH,CACF,CAAC;IAEF,OAAO;QACL,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,SAAS,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,uBAAuB;KAC/C,CAAC;AAC5B,CAAC,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Install
|
|
2
|
+
* Install pack operation handler.
|
|
3
3
|
*
|
|
4
|
-
* Fetches the
|
|
5
|
-
* writes
|
|
4
|
+
* Fetches the pack archive, extracts to the managed location, and
|
|
5
|
+
* writes pack metadata to settings and lockfile.
|
|
6
6
|
*
|
|
7
7
|
* @experimental This API is unstable and may change without notice.
|
|
8
8
|
*/
|
|
@@ -11,23 +11,23 @@ import * as Path from "effect/Path";
|
|
|
11
11
|
import type { Option } from "effect/Option";
|
|
12
12
|
import type { Handle } from "../../extensions/handle.js";
|
|
13
13
|
import { type ResolvedExtensionMap } from "../../lockfile/index.js";
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
14
|
+
import type { Version } from "../../version-constraints/version-constraints.js";
|
|
15
|
+
import type { PackRef } from "../refs.js";
|
|
16
16
|
import { SourceHostProviders } from "../../source-resolution/index.js";
|
|
17
17
|
import { CliRenderer } from "../../cli-renderer/index.js";
|
|
18
18
|
import type { OperationHandler } from "../../plan/apply-plan.js";
|
|
19
19
|
import type { Operation } from "../../plan/plan.js";
|
|
20
20
|
import { WorkspaceMutations } from "../../workspace/service-interface.js";
|
|
21
21
|
/**
|
|
22
|
-
* Args for the install
|
|
22
|
+
* Args for the install pack operation.
|
|
23
23
|
*/
|
|
24
|
-
export interface
|
|
24
|
+
export interface InstallPackOperationArgs {
|
|
25
25
|
/** Pack name (e.g., "my-pack") */
|
|
26
26
|
readonly packName: string;
|
|
27
27
|
/** Pack owner (e.g., "@acme") */
|
|
28
28
|
readonly owner: Handle;
|
|
29
29
|
/** Exact resolved version */
|
|
30
|
-
readonly resolvedVersion:
|
|
30
|
+
readonly resolvedVersion: Version;
|
|
31
31
|
/** SRI integrity string */
|
|
32
32
|
readonly integrity: string;
|
|
33
33
|
/** Registry source name */
|
|
@@ -41,22 +41,22 @@ export interface InstallExtensionPackOperationArgs {
|
|
|
41
41
|
/** Resolved subagent FQNs to exact versions */
|
|
42
42
|
readonly resolvedSubagents: ResolvedExtensionMap;
|
|
43
43
|
/** Version constraint from the original source (e.g. "^2.0.0"). Preserved in settings. */
|
|
44
|
-
readonly
|
|
44
|
+
readonly versionRange: Option<string>;
|
|
45
45
|
/** Pack extension ref for fetching the archive. */
|
|
46
|
-
readonly ref:
|
|
46
|
+
readonly ref: PackRef;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
* Add
|
|
49
|
+
* Add a pack to the workspace.
|
|
50
50
|
*
|
|
51
51
|
* @experimental This API is unstable and may change without notice.
|
|
52
52
|
*/
|
|
53
|
-
export type
|
|
53
|
+
export type InstallPackOperation = Operation<"install-pack", InstallPackOperationArgs>;
|
|
54
54
|
/**
|
|
55
|
-
* Install
|
|
55
|
+
* Install pack operation handler.
|
|
56
56
|
*
|
|
57
|
-
* Fetches the
|
|
58
|
-
*
|
|
59
|
-
* the
|
|
57
|
+
* Fetches the pack archive via sources.fetch(), extracts to the managed
|
|
58
|
+
* pack location (.axm/extensions/@owner/packs/pack-name/), then records
|
|
59
|
+
* the pack in settings and lockfile.
|
|
60
60
|
*/
|
|
61
|
-
export declare const
|
|
61
|
+
export declare const installPack: OperationHandler<InstallPackOperation, WorkspaceMutations | CliRenderer | SourceHostProviders | FileSystem.FileSystem | Path.Path>;
|
|
62
62
|
//# sourceMappingURL=install.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/install.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAGpC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EACL,KAAK,oBAAoB,EAG1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/install.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAGpC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EACL,KAAK,oBAAoB,EAG1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAChF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAA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