@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,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Remove-from-
|
|
2
|
+
* Remove-from-pack operation — applies a precomputed manifest-remove delta to a pack manifest.
|
|
3
3
|
*
|
|
4
4
|
* Validates manifest precondition (stale check) before writing.
|
|
5
5
|
*
|
|
@@ -11,14 +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 {
|
|
14
|
+
import { PACK_MANIFEST_FILENAME, PackManifestSchema } from "../manifest-schema.js";
|
|
15
|
+
import { computePackPaths } from "../paths.js";
|
|
16
16
|
import { hashContent } from "./hash-content.js";
|
|
17
17
|
// -----------------------------------------------------------------------------
|
|
18
18
|
// Public API
|
|
19
19
|
// -----------------------------------------------------------------------------
|
|
20
20
|
/**
|
|
21
|
-
* Remove-from-
|
|
21
|
+
* Remove-from-pack operation handler.
|
|
22
22
|
*
|
|
23
23
|
* 1. Short-circuit if removals list is empty (no-op)
|
|
24
24
|
* 2. Read current manifest and compute hash
|
|
@@ -26,7 +26,7 @@ import { hashContent } from "./hash-content.js";
|
|
|
26
26
|
* 4. Apply removals to manifest
|
|
27
27
|
* 5. Write updated manifest
|
|
28
28
|
*/
|
|
29
|
-
export const
|
|
29
|
+
export const removeFromPack = (op) => Effect.gen(function* () {
|
|
30
30
|
const fs = yield* FileSystem.FileSystem;
|
|
31
31
|
const path = yield* Path.Path;
|
|
32
32
|
const ws = yield* WorkspaceMutations;
|
|
@@ -37,14 +37,12 @@ export const removeFromExtensionPack = (op) => Effect.gen(function* () {
|
|
|
37
37
|
return { result: "success", message: "Nothing to remove" };
|
|
38
38
|
}
|
|
39
39
|
// 2. Read current manifest
|
|
40
|
-
const packDir =
|
|
41
|
-
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);
|
|
42
42
|
const manifestContent = yield* fs.readFileString(manifestPath).pipe(Effect.mapError((e) => makeAppError({
|
|
43
43
|
code: "not_found",
|
|
44
|
-
message: `
|
|
45
|
-
breadcrumbs: [
|
|
46
|
-
{ task: "Recover", description: "Ensure the extension pack exists on disk" },
|
|
47
|
-
],
|
|
44
|
+
message: `Pack manifest not found at ${manifestPath}`,
|
|
45
|
+
breadcrumbs: [{ description: "Ensure the pack exists on disk" }],
|
|
48
46
|
cause: e,
|
|
49
47
|
})));
|
|
50
48
|
// 3. Stale-check: compare content hash
|
|
@@ -52,10 +50,8 @@ export const removeFromExtensionPack = (op) => Effect.gen(function* () {
|
|
|
52
50
|
if (currentHash !== manifestHash) {
|
|
53
51
|
return yield* makeAppError({
|
|
54
52
|
code: "conflict",
|
|
55
|
-
message: `
|
|
56
|
-
breadcrumbs: [
|
|
57
|
-
{ task: "Recover", description: "Re-run the command to create a fresh plan" },
|
|
58
|
-
],
|
|
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" }],
|
|
59
55
|
});
|
|
60
56
|
}
|
|
61
57
|
// 4. Parse and apply removals
|
|
@@ -66,39 +62,34 @@ export const removeFromExtensionPack = (op) => Effect.gen(function* () {
|
|
|
66
62
|
},
|
|
67
63
|
catch: (e) => makeAppError({
|
|
68
64
|
code: "validation",
|
|
69
|
-
message: `Failed to parse
|
|
65
|
+
message: `Failed to parse pack manifest: ${manifestPath}`,
|
|
70
66
|
cause: e,
|
|
71
67
|
}),
|
|
72
68
|
});
|
|
73
|
-
const manifest = yield* Schema.decodeUnknownEffect(
|
|
69
|
+
const manifest = yield* Schema.decodeUnknownEffect(PackManifestSchema)(json).pipe(Effect.mapError((e) => makeAppError({
|
|
74
70
|
code: "validation",
|
|
75
|
-
message: `Invalid
|
|
71
|
+
message: `Invalid pack manifest: ${manifestPath}`,
|
|
76
72
|
cause: e,
|
|
77
73
|
})));
|
|
78
74
|
const removalSet = new Set(removals);
|
|
79
|
-
const
|
|
80
|
-
const updatedSkills = filterSection(manifest["skills"]);
|
|
81
|
-
const updatedCommands = filterSection(manifest["commands"]);
|
|
82
|
-
const updatedMcpServers = filterSection(manifest["mcp-servers"]);
|
|
75
|
+
const dependencies = Object.fromEntries(Object.entries(manifest.dependencies).filter(([name]) => !removalSet.has(name)));
|
|
83
76
|
const updatedManifest = {
|
|
84
77
|
...manifest,
|
|
85
78
|
owner: manifest.owner,
|
|
86
79
|
type: manifest.type,
|
|
87
80
|
name: manifest.name,
|
|
88
81
|
version: manifest.version,
|
|
89
|
-
|
|
90
|
-
commands: updatedCommands,
|
|
91
|
-
"mcp-servers": updatedMcpServers,
|
|
82
|
+
dependencies,
|
|
92
83
|
};
|
|
93
84
|
// 5. Write updated manifest
|
|
94
85
|
yield* fs.writeFileString(manifestPath, JSON.stringify(updatedManifest, null, 2) + "\n").pipe(Effect.mapError((e) => makeAppError({
|
|
95
86
|
code: "internal",
|
|
96
|
-
message: `Failed to write
|
|
87
|
+
message: `Failed to write pack manifest: ${manifestPath}`,
|
|
97
88
|
cause: e,
|
|
98
89
|
})));
|
|
99
90
|
return {
|
|
100
91
|
result: "success",
|
|
101
|
-
message: `Removed ${removals.length} extension(s) from
|
|
92
|
+
message: `Removed ${removals.length} extension(s) from pack`,
|
|
102
93
|
};
|
|
103
94
|
});
|
|
104
95
|
//# sourceMappingURL=remove-from-pack.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-from-pack.js","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/remove-from-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,
|
|
1
|
+
{"version":3,"file":"remove-from-pack.js","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/remove-from-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,M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AAC;KACT,CAAC,CACH,CACF,CAAC;IAEF,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,CAAC;IACrC,MAAM,YAAY,GAAG,MAAM,CAAC,WAAW,CACrC,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAChF,CAAC;IACF,MAAM,eAAe,GAAG;QACtB,GAAG,QAAQ;QACX,KAAK,EAAE,QAAQ,CAAC,KAAK;QACrB,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzB,YAAY;KACb,CAAC;IAEF,4BAA4B;IAC5B,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,WAAW,QAAQ,CAAC,MAAM,yBAAyB;KACrC,CAAC;AAC5B,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Uninstall
|
|
2
|
+
* Uninstall pack operation handler.
|
|
3
3
|
*
|
|
4
|
-
* Removes
|
|
4
|
+
* Removes pack directory from disk and pack entry from settings/lockfile.
|
|
5
5
|
* Skill removal is delegated to uninstall-skill operations in the plan.
|
|
6
6
|
*
|
|
7
7
|
* @experimental This API is unstable and may change without notice.
|
|
@@ -13,24 +13,24 @@ import type { OperationHandler } from "../../plan/apply-plan.js";
|
|
|
13
13
|
import type { Operation } from "../../plan/plan.js";
|
|
14
14
|
import { WorkspaceMutations } from "../../workspace/service-interface.js";
|
|
15
15
|
/**
|
|
16
|
-
* Args for the uninstall
|
|
16
|
+
* Args for the uninstall pack operation.
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface UninstallPackOperationArgs {
|
|
19
19
|
/** Pack name to uninstall */
|
|
20
20
|
readonly packName: string;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Remove
|
|
23
|
+
* Remove a pack from the workspace.
|
|
24
24
|
*
|
|
25
25
|
* @experimental This API is unstable and may change without notice.
|
|
26
26
|
*/
|
|
27
|
-
export type
|
|
27
|
+
export type UninstallPackOperation = Operation<"uninstall-pack", UninstallPackOperationArgs>;
|
|
28
28
|
/**
|
|
29
|
-
* Uninstall
|
|
29
|
+
* Uninstall pack operation handler.
|
|
30
30
|
*
|
|
31
|
-
* 1. Look up
|
|
32
|
-
* 2. Remove
|
|
33
|
-
* 3. Remove
|
|
31
|
+
* 1. Look up pack in lockfile
|
|
32
|
+
* 2. Remove pack directory from disk
|
|
33
|
+
* 3. Remove pack from settings and lockfile
|
|
34
34
|
*/
|
|
35
|
-
export declare const
|
|
35
|
+
export declare const uninstallPack: OperationHandler<UninstallPackOperation, FileSystem.FileSystem | Path.Path | WorkspaceMutations | CliRenderer>;
|
|
36
36
|
//# sourceMappingURL=uninstall.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/uninstall.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAIpC,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,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAU1E;;GAEG;AACH,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/uninstall.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAIpC,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,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAU1E;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,6BAA6B;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC,gBAAgB,EAAE,0BAA0B,CAAC,CAAC;AAE7F;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,EAAE,gBAAgB,CAC1C,sBAAsB,EACtB,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,kBAAkB,GAAG,WAAW,CAyFnE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Uninstall
|
|
2
|
+
* Uninstall pack operation handler.
|
|
3
3
|
*
|
|
4
|
-
* Removes
|
|
4
|
+
* Removes pack directory from disk and pack entry from settings/lockfile.
|
|
5
5
|
* Skill removal is delegated to uninstall-skill operations in the plan.
|
|
6
6
|
*
|
|
7
7
|
* @experimental This API is unstable and may change without notice.
|
|
@@ -14,24 +14,24 @@ import { makeAppError } from "../../app-error/index.js";
|
|
|
14
14
|
import { CliRenderer } from "../../cli-renderer/index.js";
|
|
15
15
|
import { WorkspaceMutations } from "../../workspace/service-interface.js";
|
|
16
16
|
import { REGISTRY_EXTENSIONS_DIR } from "../../extensions/index.js";
|
|
17
|
-
import {
|
|
17
|
+
import { computePackPaths } from "../paths.js";
|
|
18
18
|
import { removeIfExists } from "../../utils/index.js";
|
|
19
19
|
import { sanitizeName } from "../../extensions/utils.js";
|
|
20
20
|
/**
|
|
21
|
-
* Uninstall
|
|
21
|
+
* Uninstall pack operation handler.
|
|
22
22
|
*
|
|
23
|
-
* 1. Look up
|
|
24
|
-
* 2. Remove
|
|
25
|
-
* 3. Remove
|
|
23
|
+
* 1. Look up pack in lockfile
|
|
24
|
+
* 2. Remove pack directory from disk
|
|
25
|
+
* 3. Remove pack from settings and lockfile
|
|
26
26
|
*/
|
|
27
|
-
export const
|
|
27
|
+
export const uninstallPack = (op) => Effect.gen(function* () {
|
|
28
28
|
const fs = yield* FileSystem.FileSystem;
|
|
29
29
|
const path = yield* Path.Path;
|
|
30
30
|
const ws = yield* WorkspaceMutations;
|
|
31
31
|
const renderer = yield* CliRenderer;
|
|
32
32
|
const base = ws.baseDir;
|
|
33
33
|
// Read pack lock entry
|
|
34
|
-
const lockedPackOpt = yield* ws.
|
|
34
|
+
const lockedPackOpt = yield* ws.getLockedPack(op.args.packName).pipe(Effect.mapError((e) => makeAppError({
|
|
35
35
|
code: "internal",
|
|
36
36
|
message: `Failed to read lockfile: ${e.message}`,
|
|
37
37
|
cause: e,
|
|
@@ -60,27 +60,27 @@ export const uninstallExtensionPack = (op) => Effect.gen(function* () {
|
|
|
60
60
|
if (results.some((removed) => removed)) {
|
|
61
61
|
return {
|
|
62
62
|
result: "success",
|
|
63
|
-
message: "Removed
|
|
63
|
+
message: "Removed pack directory from disk",
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
return { result: "success", message: "not installed" };
|
|
68
68
|
}
|
|
69
69
|
const lockedPack = lockedPackOpt.value;
|
|
70
|
-
// Remove
|
|
71
|
-
const packDir =
|
|
70
|
+
// Remove pack directory from disk
|
|
71
|
+
const packDir = computePackPaths(path.join, base, lockedPack.owner, lockedPack.name).canonicalPath;
|
|
72
72
|
yield* removeIfExists(fs, packDir);
|
|
73
|
-
// Remove
|
|
73
|
+
// Remove pack from settings and lockfile
|
|
74
74
|
yield* ws
|
|
75
|
-
.
|
|
76
|
-
.pipe(Effect.catch((e) => renderer.warn(`
|
|
75
|
+
.removePack(op.args.packName)
|
|
76
|
+
.pipe(Effect.catch((e) => renderer.warn(`Pack removal from settings failed: ${String(e)}`)));
|
|
77
77
|
return {
|
|
78
78
|
result: "success",
|
|
79
|
-
message: `Uninstalled
|
|
79
|
+
message: `Uninstalled pack ${op.args.packName}`,
|
|
80
80
|
};
|
|
81
81
|
}).pipe(Effect.catch((error) => Effect.succeed({
|
|
82
82
|
result: "error",
|
|
83
|
-
message: `Failed to uninstall
|
|
83
|
+
message: `Failed to uninstall pack: ${error.message}`,
|
|
84
84
|
error,
|
|
85
85
|
})));
|
|
86
86
|
//# sourceMappingURL=uninstall.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uninstall.js","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/uninstall.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;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;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAI1D,OAAO,EAAE,kBAAkB,EAAE,MAA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,CAAC,IAAI,CAAC,sCAAsC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAE/F,OAAO;QACL,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,oBAAoB,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE;KACxB,CAAC;AAC5B,CAAC,CAAC,CAAC,IAAI,CACL,MAAM,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,CACrB,MAAM,CAAC,OAAO,CAAC;IACb,MAAM,EAAE,OAAO;IACf,OAAO,EAAE,6BAA6B,KAAK,CAAC,OAAO,EAAE;IACrD,KAAK;CACkB,CAAC,CAC3B,CACF,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Unpack
|
|
2
|
+
* Unpack pack operation handler.
|
|
3
3
|
*
|
|
4
|
-
* Flattens
|
|
5
|
-
* preserves existing direct entries, and removes the
|
|
4
|
+
* Flattens a pack's resolved extensions into settings.json as direct entries,
|
|
5
|
+
* preserves existing direct entries, and removes the pack entry from settings
|
|
6
6
|
* and lockfile.
|
|
7
7
|
*
|
|
8
8
|
* @experimental This API is unstable and may change without notice.
|
|
@@ -11,25 +11,25 @@ import type { OperationHandler } from "../../plan/apply-plan.js";
|
|
|
11
11
|
import type { Operation } from "../../plan/plan.js";
|
|
12
12
|
import { WorkspaceMutations } from "../../workspace/index.js";
|
|
13
13
|
/**
|
|
14
|
-
* Args for the unpack
|
|
14
|
+
* Args for the unpack pack operation.
|
|
15
15
|
*/
|
|
16
|
-
export type
|
|
16
|
+
export type UnpackPackOperationArgs = {
|
|
17
17
|
/** Pack FQN to unpack. */
|
|
18
18
|
readonly name: string;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
|
-
* Unpack
|
|
21
|
+
* Unpack a pack into direct settings entries.
|
|
22
22
|
*
|
|
23
23
|
* @experimental This API is unstable and may change without notice.
|
|
24
24
|
*/
|
|
25
|
-
export type
|
|
25
|
+
export type UnpackPackOperation = Operation<"unpack-pack", UnpackPackOperationArgs>;
|
|
26
26
|
/**
|
|
27
27
|
* Unpack operation handler.
|
|
28
28
|
*
|
|
29
|
-
* 1. Look up
|
|
29
|
+
* 1. Look up pack in lockfile for resolved extensions
|
|
30
30
|
* 2. Read current settings to find existing direct skill entries
|
|
31
31
|
* 3. Add resolved skills as direct entries (skip existing)
|
|
32
|
-
* 4. Remove
|
|
32
|
+
* 4. Remove pack from settings and lockfile
|
|
33
33
|
*/
|
|
34
|
-
export declare const
|
|
34
|
+
export declare const unpackPack: OperationHandler<UnpackPackOperation, WorkspaceMutations>;
|
|
35
35
|
//# sourceMappingURL=unpack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unpack.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/unpack.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"unpack.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/unpack.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAWH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAO9D;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,0BAA0B;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC,aAAa,EAAE,uBAAuB,CAAC,CAAC;AAMpF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,EAAE,gBAAgB,CAAC,mBAAmB,EAAE,kBAAkB,CA0J7E,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Unpack
|
|
2
|
+
* Unpack pack operation handler.
|
|
3
3
|
*
|
|
4
|
-
* Flattens
|
|
5
|
-
* preserves existing direct entries, and removes the
|
|
4
|
+
* Flattens a pack's resolved extensions into settings.json as direct entries,
|
|
5
|
+
* preserves existing direct entries, and removes the pack entry from settings
|
|
6
6
|
* and lockfile.
|
|
7
7
|
*
|
|
8
8
|
* @experimental This API is unstable and may change without notice.
|
|
@@ -11,30 +11,30 @@ import * as Effect from "effect/Effect";
|
|
|
11
11
|
import * as Option from "effect/Option";
|
|
12
12
|
import { makeAppError } from "../../app-error/index.js";
|
|
13
13
|
import { WorkspaceMutations } from "../../workspace/index.js";
|
|
14
|
-
import {
|
|
14
|
+
import { parseFqnOrThrow } from "../../extensions/index.js";
|
|
15
15
|
// -----------------------------------------------------------------------------
|
|
16
16
|
// Operation Handler
|
|
17
17
|
// -----------------------------------------------------------------------------
|
|
18
18
|
/**
|
|
19
19
|
* Unpack operation handler.
|
|
20
20
|
*
|
|
21
|
-
* 1. Look up
|
|
21
|
+
* 1. Look up pack in lockfile for resolved extensions
|
|
22
22
|
* 2. Read current settings to find existing direct skill entries
|
|
23
23
|
* 3. Add resolved skills as direct entries (skip existing)
|
|
24
|
-
* 4. Remove
|
|
24
|
+
* 4. Remove pack from settings and lockfile
|
|
25
25
|
*/
|
|
26
|
-
export const
|
|
26
|
+
export const unpackPack = (op) => Effect.gen(function* () {
|
|
27
27
|
const ws = yield* WorkspaceMutations;
|
|
28
|
-
// Look up the
|
|
29
|
-
const lockedPack = yield* ws.
|
|
28
|
+
// Look up the pack in the lockfile
|
|
29
|
+
const lockedPack = yield* ws.getLockedPack(op.args.name);
|
|
30
30
|
if (Option.isNone(lockedPack)) {
|
|
31
31
|
return yield* makeAppError({
|
|
32
32
|
code: "internal",
|
|
33
|
-
message: `
|
|
33
|
+
message: `Pack "${op.args.name}" is not installed`,
|
|
34
34
|
breadcrumbs: [
|
|
35
35
|
{
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
description: "Install the pack first with `axm packs install`.",
|
|
37
|
+
cmd: "axm packs install <source>",
|
|
38
38
|
},
|
|
39
39
|
],
|
|
40
40
|
});
|
|
@@ -43,7 +43,7 @@ export const unpackExtensionPack = (op) => Effect.gen(function* () {
|
|
|
43
43
|
if (entry.type !== "registry") {
|
|
44
44
|
return yield* makeAppError({
|
|
45
45
|
code: "internal",
|
|
46
|
-
message: `Cannot unpack "${op.args.name}" — only registry
|
|
46
|
+
message: `Cannot unpack "${op.args.name}" — only registry packs can be unpacked`,
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
49
|
const now = new Date();
|
|
@@ -51,12 +51,13 @@ export const unpackExtensionPack = (op) => Effect.gen(function* () {
|
|
|
51
51
|
const currentSkills = yield* ws.records.getConfiguredSkills();
|
|
52
52
|
const currentCommands = yield* ws.records.getConfiguredCommands();
|
|
53
53
|
const currentMcpServers = yield* ws.records.getConfiguredMcpServers();
|
|
54
|
+
const currentSubagents = yield* ws.records.getConfiguredSubagents();
|
|
54
55
|
// Add resolved skills as direct entries (only if not already present)
|
|
55
56
|
// Use the short name from the FQN as the settings key since SkillsMapSchema
|
|
56
57
|
// validates keys against agentskills.io naming (no @ or / allowed).
|
|
57
58
|
// Integrity unknown for individual extensions unpacked from a pack
|
|
58
59
|
yield* Effect.forEach(Object.entries(entry.resolvedSkills), ([skillFqn, version]) => Effect.gen(function* () {
|
|
59
|
-
const parsed =
|
|
60
|
+
const parsed = parseFqnOrThrow(skillFqn);
|
|
60
61
|
if (parsed.name in currentSkills)
|
|
61
62
|
return; // preserve existing direct entry
|
|
62
63
|
yield* ws.setSkill({
|
|
@@ -72,12 +73,12 @@ export const unpackExtensionPack = (op) => Effect.gen(function* () {
|
|
|
72
73
|
installedAt: now,
|
|
73
74
|
updatedAt: now,
|
|
74
75
|
},
|
|
75
|
-
|
|
76
|
+
versionRange: Option.none(),
|
|
76
77
|
});
|
|
77
78
|
}), { concurrency: 1 });
|
|
78
79
|
// Add resolved commands as direct entries
|
|
79
80
|
yield* Effect.forEach(Object.entries(entry.resolvedCommands), ([commandFqn, version]) => Effect.gen(function* () {
|
|
80
|
-
const parsed =
|
|
81
|
+
const parsed = parseFqnOrThrow(commandFqn);
|
|
81
82
|
if (parsed.name in currentCommands)
|
|
82
83
|
return;
|
|
83
84
|
yield* ws.setCommand({
|
|
@@ -98,7 +99,7 @@ export const unpackExtensionPack = (op) => Effect.gen(function* () {
|
|
|
98
99
|
}), { concurrency: 1 });
|
|
99
100
|
// Add resolved MCP servers as direct entries
|
|
100
101
|
yield* Effect.forEach(Object.entries(entry.resolvedMcpServers), ([mcpServerFqn, version]) => Effect.gen(function* () {
|
|
101
|
-
const parsed =
|
|
102
|
+
const parsed = parseFqnOrThrow(mcpServerFqn);
|
|
102
103
|
if (parsed.name in currentMcpServers)
|
|
103
104
|
return;
|
|
104
105
|
yield* ws.setMcpServer({
|
|
@@ -116,12 +117,33 @@ export const unpackExtensionPack = (op) => Effect.gen(function* () {
|
|
|
116
117
|
},
|
|
117
118
|
});
|
|
118
119
|
}), { concurrency: 1 });
|
|
119
|
-
//
|
|
120
|
-
yield*
|
|
120
|
+
// Add resolved subagents as direct entries
|
|
121
|
+
yield* Effect.forEach(Object.entries(entry.resolvedSubagents), ([subagentFqn, version]) => Effect.gen(function* () {
|
|
122
|
+
const parsed = parseFqnOrThrow(subagentFqn);
|
|
123
|
+
if (parsed.name in currentSubagents)
|
|
124
|
+
return;
|
|
125
|
+
yield* ws.setSubagent({
|
|
126
|
+
name: parsed.name,
|
|
127
|
+
lockEntry: {
|
|
128
|
+
type: "registry",
|
|
129
|
+
owner: parsed.owner,
|
|
130
|
+
name: parsed.name,
|
|
131
|
+
resolvedVersion: version,
|
|
132
|
+
integrity: "",
|
|
133
|
+
sourceName: entry.sourceName,
|
|
134
|
+
agents: [],
|
|
135
|
+
installedAt: now,
|
|
136
|
+
updatedAt: now,
|
|
137
|
+
},
|
|
138
|
+
});
|
|
139
|
+
}), { concurrency: 1 });
|
|
140
|
+
// Remove the pack entry from settings and lockfile
|
|
141
|
+
yield* ws.removePack(op.args.name);
|
|
121
142
|
const skillCount = Object.keys(entry.resolvedSkills).length;
|
|
122
143
|
const commandCount = Object.keys(entry.resolvedCommands).length;
|
|
123
144
|
const mcpServerCount = Object.keys(entry.resolvedMcpServers).length;
|
|
124
|
-
const
|
|
145
|
+
const subagentCount = Object.keys(entry.resolvedSubagents).length;
|
|
146
|
+
const totalCount = skillCount + commandCount + mcpServerCount + subagentCount;
|
|
125
147
|
return {
|
|
126
148
|
result: "success",
|
|
127
149
|
message: `Unpacked ${op.args.name}: ${totalCount} extension(s) promoted to direct entries`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unpack.js","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/unpack.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"unpack.js","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/unpack.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAUxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAqB5D,gFAAgF;AAChF,oBAAoB;AACpB,gFAAgF;AAEhF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAA8D,CAAC,EAAE,EAAE,EAAE,CAC1F,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,kBAAkB,CAAC;IAErC,mCAAm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CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,0CAA0C;KACnE,CAAC;AAC5B,CAAC,CAAC,CAAC"}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Centralized
|
|
2
|
+
* Centralized pack path computation.
|
|
3
3
|
*
|
|
4
|
-
* Provides types and a pure function for computing
|
|
5
|
-
*
|
|
4
|
+
* Provides types and a pure function for computing pack directory paths.
|
|
5
|
+
* Packs are always registry-sourced, so there is no non-registry branch.
|
|
6
6
|
*
|
|
7
7
|
* @experimental This API is unstable and may change without notice.
|
|
8
8
|
*/
|
|
9
9
|
import type { Handle } from "../extensions/handle.js";
|
|
10
10
|
/**
|
|
11
|
-
* Computed path for an installed
|
|
11
|
+
* Computed path for an installed pack directory.
|
|
12
12
|
*
|
|
13
13
|
* `canonicalPath` = `<base>/.axm/extensions/<owner>/packs/<name>/`
|
|
14
14
|
*
|
|
15
15
|
* No `src/` subdirectory for packs.
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface PackDirPath {
|
|
18
18
|
readonly canonicalPath: string;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* Pure function to compute
|
|
21
|
+
* Pure function to compute pack directory path.
|
|
22
22
|
*
|
|
23
23
|
* @param join - Path join function (e.g., `path.join`)
|
|
24
24
|
* @param base - Workspace root (parent of `.axm`)
|
|
25
|
-
* @param owner -
|
|
26
|
-
* @param name -
|
|
25
|
+
* @param owner - Pack owner (e.g., "@acme")
|
|
26
|
+
* @param name - Pack name for filesystem use
|
|
27
27
|
*/
|
|
28
|
-
export declare const
|
|
28
|
+
export declare const computePackPaths: (join: (...paths: string[]) => string, base: string, owner: Handle, name: string) => PackDirPath;
|
|
29
29
|
//# sourceMappingURL=paths.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../../src/unstable/packs/paths.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD;;;;;;GAMG;AACH,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../../src/unstable/packs/paths.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAC3B,MAAM,CAAC,GAAG,KAAK,EAAE,MAAM,EAAE,KAAK,MAAM,EACpC,MAAM,MAAM,EACZ,OAAO,MAAM,EACb,MAAM,MAAM,KACX,WAGF,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Centralized
|
|
2
|
+
* Centralized pack path computation.
|
|
3
3
|
*
|
|
4
|
-
* Provides types and a pure function for computing
|
|
5
|
-
*
|
|
4
|
+
* Provides types and a pure function for computing pack directory paths.
|
|
5
|
+
* Packs are always registry-sourced, so there is no non-registry branch.
|
|
6
6
|
*
|
|
7
7
|
* @experimental This API is unstable and may change without notice.
|
|
8
8
|
*/
|
|
9
9
|
import { REGISTRY_EXTENSIONS_DIR } from "../extensions/index.js";
|
|
10
10
|
/**
|
|
11
|
-
* Pure function to compute
|
|
11
|
+
* Pure function to compute pack directory path.
|
|
12
12
|
*
|
|
13
13
|
* @param join - Path join function (e.g., `path.join`)
|
|
14
14
|
* @param base - Workspace root (parent of `.axm`)
|
|
15
|
-
* @param owner -
|
|
16
|
-
* @param name -
|
|
15
|
+
* @param owner - Pack owner (e.g., "@acme")
|
|
16
|
+
* @param name - Pack name for filesystem use
|
|
17
17
|
*/
|
|
18
|
-
export const
|
|
18
|
+
export const computePackPaths = (join, base, owner, name) => {
|
|
19
19
|
const canonicalPath = join(base, REGISTRY_EXTENSIONS_DIR, owner, "packs", name);
|
|
20
20
|
return { canonicalPath };
|
|
21
21
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paths.js","sourceRoot":"","sources":["../../../../src/unstable/packs/paths.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAcjE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"paths.js","sourceRoot":"","sources":["../../../../src/unstable/packs/paths.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAcjE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,IAAoC,EACpC,IAAY,EACZ,KAAa,EACb,IAAY,EACC,EAAE;IACf,MAAM,aAAa,GAAG,IAAI,CAAC,IAAI,EAAE,uBAAuB,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;IAChF,OAAO,EAAE,aAAa,EAAE,CAAC;AAC3B,CAAC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ReconciliationAdapter } from "../workspace/reconciliation-types.js";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const packReconciliationAdapter: ReconciliationAdapter;
|
|
3
3
|
//# sourceMappingURL=reconciliation-adapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reconciliation-adapter.d.ts","sourceRoot":"","sources":["../../../../src/unstable/packs/reconciliation-adapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reconciliation-adapter.d.ts","sourceRoot":"","sources":["../../../../src/unstable/packs/reconciliation-adapter.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAEV,qBAAqB,EAGtB,MAAM,sCAAsC,CAAC;AAgY9C,eAAO,MAAM,yBAAyB,EAAE,qBAwKvC,CAAC"}
|