@agentxm/client-core 0.9.0 → 0.10.1
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/README.md +5 -0
- package/dist/src/unstable/app-error/app-error.d.ts +20 -4
- package/dist/src/unstable/app-error/app-error.d.ts.map +1 -1
- package/dist/src/unstable/app-error/app-error.js +37 -2
- package/dist/src/unstable/app-error/app-error.js.map +1 -1
- package/dist/src/unstable/app-error/builders.d.ts +4 -4
- package/dist/src/unstable/app-error/builders.d.ts.map +1 -1
- package/dist/src/unstable/app-error/builders.js +5 -5
- 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/app-error/render.d.ts +1 -1
- package/dist/src/unstable/app-error/render.d.ts.map +1 -1
- package/dist/src/unstable/app-error/render.js +48 -3
- package/dist/src/unstable/app-error/render.js.map +1 -1
- package/dist/src/unstable/auth/auth-client.d.ts +59 -1
- package/dist/src/unstable/auth/auth-client.d.ts.map +1 -1
- package/dist/src/unstable/auth/auth-client.js +223 -16
- package/dist/src/unstable/auth/auth-client.js.map +1 -1
- package/dist/src/unstable/auth/credential-store.js +2 -2
- package/dist/src/unstable/auth/device-login.d.ts +1 -0
- package/dist/src/unstable/auth/device-login.d.ts.map +1 -1
- package/dist/src/unstable/auth/device-login.js +3 -1
- package/dist/src/unstable/auth/device-login.js.map +1 -1
- package/dist/src/unstable/auth/guard.js +1 -1
- package/dist/src/unstable/auth/index.d.ts +1 -1
- package/dist/src/unstable/auth/index.d.ts.map +1 -1
- package/dist/src/unstable/auth/index.js.map +1 -1
- package/dist/src/unstable/auth/loopback-login.d.ts +4 -1
- package/dist/src/unstable/auth/loopback-login.d.ts.map +1 -1
- package/dist/src/unstable/auth/loopback-login.js +2 -2
- package/dist/src/unstable/auth/loopback-login.js.map +1 -1
- package/dist/src/unstable/auth/token-resolution.js +1 -1
- package/dist/src/unstable/cli/prompt/helpers.js +1 -1
- package/dist/src/unstable/cli-renderer/ansi-chrome.d.ts +7 -0
- package/dist/src/unstable/cli-renderer/ansi-chrome.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/ansi-chrome.js +7 -7
- package/dist/src/unstable/cli-renderer/ansi-chrome.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 +29 -104
- 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 +17 -13
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts +3 -2
- package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-test.js +24 -20
- package/dist/src/unstable/cli-renderer/cli-renderer-test.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer.d.ts +9 -8
- package/dist/src/unstable/cli-renderer/cli-renderer.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer.js.map +1 -1
- package/dist/src/unstable/cli-renderer/index.d.ts +2 -1
- package/dist/src/unstable/cli-renderer/index.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/index.js +1 -0
- package/dist/src/unstable/cli-renderer/index.js.map +1 -1
- package/dist/src/unstable/cli-renderer/markdown-formatter.d.ts +2 -0
- package/dist/src/unstable/cli-renderer/markdown-formatter.d.ts.map +1 -0
- package/dist/src/unstable/cli-renderer/markdown-formatter.js +255 -0
- package/dist/src/unstable/cli-renderer/markdown-formatter.js.map +1 -0
- package/dist/src/unstable/cli-renderer/table-formatter.d.ts +5 -0
- package/dist/src/unstable/cli-renderer/table-formatter.d.ts.map +1 -0
- package/dist/src/unstable/cli-renderer/table-formatter.js +85 -0
- package/dist/src/unstable/cli-renderer/table-formatter.js.map +1 -0
- package/dist/src/unstable/cli-runtime/index.d.ts +3 -3
- package/dist/src/unstable/cli-runtime/index.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/index.js +2 -2
- package/dist/src/unstable/cli-runtime/index.js.map +1 -1
- package/dist/src/unstable/cli-runtime/json-envelope.d.ts +27 -9
- package/dist/src/unstable/cli-runtime/json-envelope.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/json-envelope.js +18 -11
- package/dist/src/unstable/cli-runtime/json-envelope.js.map +1 -1
- package/dist/src/unstable/cli-runtime/output-mode.d.ts +5 -4
- package/dist/src/unstable/cli-runtime/output-mode.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/output-mode.js +6 -5
- package/dist/src/unstable/cli-runtime/output-mode.js.map +1 -1
- package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/runtime-envelope.js +18 -14
- package/dist/src/unstable/cli-runtime/runtime-envelope.js.map +1 -1
- package/dist/src/unstable/cli-runtime/suggested-action.d.ts +8 -0
- package/dist/src/unstable/cli-runtime/suggested-action.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/suggested-action.js +16 -0
- package/dist/src/unstable/cli-runtime/suggested-action.js.map +1 -0
- package/dist/src/unstable/commands/command-content.js +1 -1
- package/dist/src/unstable/commands/manager.js +1 -1
- package/dist/src/unstable/commands/manifest-schema.d.ts +12 -9
- package/dist/src/unstable/commands/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/enable.js +2 -2
- package/dist/src/unstable/commands/operations/install.js +2 -2
- package/dist/src/unstable/commands/operations/new-command.js +1 -1
- package/dist/src/unstable/commands/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/publish.js +4 -3
- package/dist/src/unstable/commands/operations/publish.js.map +1 -1
- package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +13 -12
- package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts.map +1 -1
- package/dist/src/unstable/commands/registry-ref-builder.d.ts +1 -1
- 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.d.ts +9 -13
- package/dist/src/unstable/discover/discover.d.ts.map +1 -1
- package/dist/src/unstable/discover/discover.js +94 -140
- package/dist/src/unstable/discover/discover.js.map +1 -1
- package/dist/src/unstable/discover/index.d.ts +1 -1
- package/dist/src/unstable/discover/index.d.ts.map +1 -1
- package/dist/src/unstable/discover/index.js.map +1 -1
- package/dist/src/unstable/extensions/common.d.ts +21 -9
- package/dist/src/unstable/extensions/common.d.ts.map +1 -1
- package/dist/src/unstable/extensions/common.js +22 -6
- package/dist/src/unstable/extensions/common.js.map +1 -1
- package/dist/src/unstable/extensions/fqn.d.ts +1 -1
- package/dist/src/unstable/extensions/fqn.js +2 -2
- package/dist/src/unstable/extensions/frontmatter.js +1 -1
- package/dist/src/unstable/extensions/index.d.ts +2 -1
- package/dist/src/unstable/extensions/index.d.ts.map +1 -1
- package/dist/src/unstable/extensions/index.js +2 -1
- package/dist/src/unstable/extensions/index.js.map +1 -1
- package/dist/src/unstable/extensions/license.d.ts +16 -0
- package/dist/src/unstable/extensions/license.d.ts.map +1 -0
- package/dist/src/unstable/extensions/license.js +29 -0
- package/dist/src/unstable/extensions/license.js.map +1 -0
- package/dist/src/unstable/extensions/materializable-from-disk.js +5 -5
- package/dist/src/unstable/extensions/materializable-from-disk.js.map +1 -1
- package/dist/src/unstable/extensions/operations.d.ts +3 -3
- package/dist/src/unstable/extensions/operations.d.ts.map +1 -1
- package/dist/src/unstable/extensions/operations.js +7 -7
- package/dist/src/unstable/extensions/operations.js.map +1 -1
- package/dist/src/unstable/extensions/ref-base.d.ts +1 -1
- package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -1
- package/dist/src/unstable/install-meta/install-meta.d.ts +1 -1
- package/dist/src/unstable/lint/catalog/workspace/skills-universal-artifact-present.d.ts +11 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-universal-artifact-present.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-universal-artifact-present.js +68 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-universal-artifact-present.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace-fixtures/interpret-ops.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace-fixtures/interpret-ops.js +47 -0
- package/dist/src/unstable/lint/catalog/workspace-fixtures/interpret-ops.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace.d.ts +1 -0
- package/dist/src/unstable/lint/catalog/workspace.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace.js +4 -0
- package/dist/src/unstable/lint/catalog/workspace.js.map +1 -1
- package/dist/src/unstable/lint/cli.d.ts.map +1 -1
- package/dist/src/unstable/lint/cli.js +22 -0
- package/dist/src/unstable/lint/cli.js.map +1 -1
- package/dist/src/unstable/lockfile/resolved-version.js +1 -1
- package/dist/src/unstable/lockfile/schema.d.ts +85 -0
- package/dist/src/unstable/lockfile/schema.d.ts.map +1 -1
- package/dist/src/unstable/lockfile/schema.js +7 -1
- package/dist/src/unstable/lockfile/schema.js.map +1 -1
- package/dist/src/unstable/mcp-servers/manifest-schema.d.ts +12 -9
- package/dist/src/unstable/mcp-servers/manifest-schema.d.ts.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 +4 -3
- package/dist/src/unstable/mcp-servers/operations/publish.js.map +1 -1
- package/dist/src/unstable/mcp-servers/registry-ref-builder.d.ts +1 -1
- 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/package-urls/companion-package.d.ts +14 -0
- package/dist/src/unstable/package-urls/companion-package.d.ts.map +1 -0
- package/dist/src/unstable/package-urls/companion-package.js +41 -0
- package/dist/src/unstable/package-urls/companion-package.js.map +1 -0
- package/dist/src/unstable/package-urls/companion-package.spec.d.ts +2 -0
- package/dist/src/unstable/package-urls/companion-package.spec.d.ts.map +1 -0
- package/dist/src/unstable/package-urls/companion-package.spec.js +37 -0
- package/dist/src/unstable/package-urls/companion-package.spec.js.map +1 -0
- package/dist/src/unstable/package-urls/index.d.ts +4 -0
- package/dist/src/unstable/package-urls/index.d.ts.map +1 -0
- package/dist/src/unstable/package-urls/index.js +4 -0
- package/dist/src/unstable/package-urls/index.js.map +1 -0
- package/dist/src/unstable/package-urls/internal.d.ts +6 -0
- package/dist/src/unstable/package-urls/internal.d.ts.map +1 -0
- package/dist/src/unstable/package-urls/internal.js +14 -0
- package/dist/src/unstable/package-urls/internal.js.map +1 -0
- package/dist/src/unstable/package-urls/package-identity-purl.d.ts +5 -0
- package/dist/src/unstable/package-urls/package-identity-purl.d.ts.map +1 -0
- package/dist/src/unstable/package-urls/package-identity-purl.js +26 -0
- package/dist/src/unstable/package-urls/package-identity-purl.js.map +1 -0
- package/dist/src/unstable/package-urls/package-identity-purl.spec.d.ts +2 -0
- package/dist/src/unstable/package-urls/package-identity-purl.spec.d.ts.map +1 -0
- package/dist/src/unstable/package-urls/package-identity-purl.spec.js +33 -0
- package/dist/src/unstable/package-urls/package-identity-purl.spec.js.map +1 -0
- package/dist/src/unstable/package-urls/vers-range.d.ts +32 -0
- package/dist/src/unstable/package-urls/vers-range.d.ts.map +1 -0
- package/dist/src/unstable/package-urls/vers-range.js +164 -0
- package/dist/src/unstable/package-urls/vers-range.js.map +1 -0
- package/dist/src/unstable/package-urls/vers-range.spec.d.ts +2 -0
- package/dist/src/unstable/package-urls/vers-range.spec.d.ts.map +1 -0
- package/dist/src/unstable/package-urls/vers-range.spec.js +60 -0
- package/dist/src/unstable/package-urls/vers-range.spec.js.map +1 -0
- package/dist/src/unstable/packaging/axm-package-meta.d.ts +9 -1
- package/dist/src/unstable/packaging/axm-package-meta.d.ts.map +1 -1
- package/dist/src/unstable/packaging/axm-package-meta.js +11 -2
- package/dist/src/unstable/packaging/axm-package-meta.js.map +1 -1
- package/dist/src/unstable/packaging/bazel.js +1 -1
- package/dist/src/unstable/packaging/bazel.js.map +1 -1
- package/dist/src/unstable/packaging/cargo.d.ts.map +1 -1
- package/dist/src/unstable/packaging/cargo.js +44 -10
- package/dist/src/unstable/packaging/cargo.js.map +1 -1
- package/dist/src/unstable/packaging/cocoapods.js +1 -1
- package/dist/src/unstable/packaging/cocoapods.js.map +1 -1
- package/dist/src/unstable/packaging/composer.js +1 -1
- package/dist/src/unstable/packaging/composer.js.map +1 -1
- package/dist/src/unstable/packaging/conan.js +1 -1
- package/dist/src/unstable/packaging/conan.js.map +1 -1
- package/dist/src/unstable/packaging/conda.js +2 -2
- package/dist/src/unstable/packaging/conda.js.map +1 -1
- package/dist/src/unstable/packaging/cpan.js +1 -1
- package/dist/src/unstable/packaging/cpan.js.map +1 -1
- package/dist/src/unstable/packaging/cran.js +1 -1
- package/dist/src/unstable/packaging/cran.js.map +1 -1
- package/dist/src/unstable/packaging/docker.js +1 -1
- package/dist/src/unstable/packaging/docker.js.map +1 -1
- package/dist/src/unstable/packaging/gem.d.ts.map +1 -1
- package/dist/src/unstable/packaging/gem.js +14 -17
- package/dist/src/unstable/packaging/gem.js.map +1 -1
- package/dist/src/unstable/packaging/golang.js +1 -1
- package/dist/src/unstable/packaging/golang.js.map +1 -1
- package/dist/src/unstable/packaging/hackage.js +2 -2
- package/dist/src/unstable/packaging/hackage.js.map +1 -1
- package/dist/src/unstable/packaging/hex.js +2 -2
- package/dist/src/unstable/packaging/hex.js.map +1 -1
- package/dist/src/unstable/packaging/huggingface.js +1 -1
- package/dist/src/unstable/packaging/huggingface.js.map +1 -1
- package/dist/src/unstable/packaging/index.d.ts +1 -1
- package/dist/src/unstable/packaging/index.d.ts.map +1 -1
- package/dist/src/unstable/packaging/index.js +1 -1
- package/dist/src/unstable/packaging/index.js.map +1 -1
- package/dist/src/unstable/packaging/jsr.js +1 -1
- package/dist/src/unstable/packaging/jsr.js.map +1 -1
- package/dist/src/unstable/packaging/julia.d.ts.map +1 -1
- package/dist/src/unstable/packaging/julia.js +42 -8
- package/dist/src/unstable/packaging/julia.js.map +1 -1
- package/dist/src/unstable/packaging/luarocks.js +1 -1
- package/dist/src/unstable/packaging/luarocks.js.map +1 -1
- package/dist/src/unstable/packaging/maven.js +2 -2
- package/dist/src/unstable/packaging/maven.js.map +1 -1
- package/dist/src/unstable/packaging/mojo.js +1 -1
- package/dist/src/unstable/packaging/mojo.js.map +1 -1
- package/dist/src/unstable/packaging/npm.js +1 -1
- package/dist/src/unstable/packaging/npm.js.map +1 -1
- package/dist/src/unstable/packaging/nuget.js +1 -1
- package/dist/src/unstable/packaging/nuget.js.map +1 -1
- package/dist/src/unstable/packaging/opam.js +1 -1
- package/dist/src/unstable/packaging/opam.js.map +1 -1
- package/dist/src/unstable/packaging/pub.d.ts.map +1 -1
- package/dist/src/unstable/packaging/pub.js +34 -13
- package/dist/src/unstable/packaging/pub.js.map +1 -1
- package/dist/src/unstable/packaging/pypi.js +1 -1
- package/dist/src/unstable/packaging/pypi.js.map +1 -1
- package/dist/src/unstable/packaging/read.d.ts +4 -1
- package/dist/src/unstable/packaging/read.d.ts.map +1 -1
- package/dist/src/unstable/packaging/swift.js +1 -1
- package/dist/src/unstable/packaging/swift.js.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/packaging/zig.js +1 -1
- package/dist/src/unstable/packaging/zig.js.map +1 -1
- package/dist/src/unstable/packs/dependency-resolution.js +4 -4
- package/dist/src/unstable/packs/dependency-resolution.js.map +1 -1
- package/dist/src/unstable/packs/expansion.js +1 -1
- package/dist/src/unstable/packs/manifest-schema.d.ts +12 -9
- package/dist/src/unstable/packs/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/add-to-pack.js +2 -2
- package/dist/src/unstable/packs/operations/install.js +1 -1
- package/dist/src/unstable/packs/operations/new-pack.js +1 -1
- package/dist/src/unstable/packs/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/publish.js +2 -1
- package/dist/src/unstable/packs/operations/publish.js.map +1 -1
- package/dist/src/unstable/packs/operations/remove-from-pack.js +2 -2
- package/dist/src/unstable/packs/operations/unpack.js +1 -1
- package/dist/src/unstable/plan/plan.d.ts +3 -0
- package/dist/src/unstable/plan/plan.d.ts.map +1 -1
- package/dist/src/unstable/plan/resolve-plan.js +2 -2
- package/dist/src/unstable/publish/manifest-policy.d.ts +61 -46
- package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -1
- package/dist/src/unstable/publish/manifest-policy.js +75 -5
- package/dist/src/unstable/publish/manifest-policy.js.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts +477 -70
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.js +232 -30
- package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
- package/dist/src/unstable/registry/client.d.ts +17 -8
- 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 +53 -61
- package/dist/src/unstable/registry/discover-schema.d.ts.map +1 -1
- package/dist/src/unstable/registry/discover-schema.js +21 -52
- package/dist/src/unstable/registry/discover-schema.js.map +1 -1
- package/dist/src/unstable/registry/error-mapping.d.ts +3 -3
- package/dist/src/unstable/registry/error-mapping.d.ts.map +1 -1
- package/dist/src/unstable/registry/error-mapping.js +10 -3
- package/dist/src/unstable/registry/error-mapping.js.map +1 -1
- package/dist/src/unstable/registry/index.d.ts +5 -5
- package/dist/src/unstable/registry/index.d.ts.map +1 -1
- package/dist/src/unstable/registry/index.js +3 -3
- package/dist/src/unstable/registry/index.js.map +1 -1
- package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/local-client.js +99 -44
- 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 +89 -129
- package/dist/src/unstable/registry/remote-client.js.map +1 -1
- package/dist/src/unstable/registry/schema.d.ts +26 -16
- package/dist/src/unstable/registry/schema.d.ts.map +1 -1
- package/dist/src/unstable/registry/schema.js +14 -1
- package/dist/src/unstable/registry/schema.js.map +1 -1
- package/dist/src/unstable/registry/translate.d.ts +3 -3
- package/dist/src/unstable/registry/translate.d.ts.map +1 -1
- package/dist/src/unstable/registry/translate.js +41 -14
- package/dist/src/unstable/registry/translate.js.map +1 -1
- package/dist/src/unstable/settings/ignored-patterns.js +2 -2
- package/dist/src/unstable/skills/manifest-schema.d.ts +12 -9
- package/dist/src/unstable/skills/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/disable.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/disable.js +15 -2
- 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 +18 -2
- package/dist/src/unstable/skills/operations/enable.js.map +1 -1
- package/dist/src/unstable/skills/operations/install.d.ts +1 -8
- package/dist/src/unstable/skills/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/install.js +47 -22
- package/dist/src/unstable/skills/operations/install.js.map +1 -1
- package/dist/src/unstable/skills/operations/new-skill.js +1 -1
- package/dist/src/unstable/skills/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/publish.js +4 -3
- 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 +5 -0
- package/dist/src/unstable/skills/operations/uninstall.js.map +1 -1
- package/dist/src/unstable/skills/operations/universal-artifact.d.ts +43 -0
- package/dist/src/unstable/skills/operations/universal-artifact.d.ts.map +1 -0
- package/dist/src/unstable/skills/operations/universal-artifact.js +77 -0
- package/dist/src/unstable/skills/operations/universal-artifact.js.map +1 -0
- package/dist/src/unstable/skills/registry-ref-builder.d.ts +1 -1
- 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/source-resolution/providers/registry/host-provider.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +3 -3
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-identifier.js +5 -5
- package/dist/src/unstable/source-resolution/resolve-source-pattern.js +1 -1
- package/dist/src/unstable/sources/lock-entry-to-ref.js +5 -5
- package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -1
- package/dist/src/unstable/subagents/manager.js +1 -1
- package/dist/src/unstable/subagents/manifest-schema.d.ts +12 -9
- package/dist/src/unstable/subagents/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/disable.js +1 -1
- package/dist/src/unstable/subagents/operations/enable.js +2 -2
- package/dist/src/unstable/subagents/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/publish.js +5 -4
- package/dist/src/unstable/subagents/operations/publish.js.map +1 -1
- package/dist/src/unstable/subagents/registry-ref-builder.d.ts +1 -1
- 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.js +4 -4
- package/dist/src/unstable/version-resolution/version-resolution.js +5 -5
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js +13 -13
- package/dist/src/unstable/workspace/initialization.d.ts +16 -16
- package/dist/src/unstable/workspace/initialization.js +1 -1
- package/dist/src/unstable/workspace/service.d.ts +78 -22
- package/dist/src/unstable/workspace/service.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service.js +2 -2
- package/dist/src/unstable/workspace/version-currency/test-stubs.js +1 -1
- package/dist/src/unstable/workspace/version-currency/test-stubs.js.map +1 -1
- package/package.json +11 -4
- package/site-content/__generated__/schemas/axm-lock.schema.json +98 -0
- package/site-content/__generated__/schemas/axm-package-meta.schema.json +35 -8
- package/site-content/__generated__/schemas/command.schema.json +35 -8
- package/site-content/__generated__/schemas/mcp-server.schema.json +35 -8
- package/site-content/__generated__/schemas/pack.schema.json +35 -8
- package/site-content/__generated__/schemas/skill.schema.json +35 -8
- package/site-content/__generated__/schemas/subagent.schema.json +35 -8
- package/dist/src/unstable/cli-runtime/breadcrumb.d.ts +0 -7
- package/dist/src/unstable/cli-runtime/breadcrumb.d.ts.map +0 -1
- package/dist/src/unstable/cli-runtime/breadcrumb.js +0 -15
- package/dist/src/unstable/cli-runtime/breadcrumb.js.map +0 -1
|
@@ -93,7 +93,7 @@ export const publishSubagent = (op) => Effect.gen(function* () {
|
|
|
93
93
|
return yield* makeAppError({
|
|
94
94
|
code: "not_found",
|
|
95
95
|
detail: `Missing subagent content file: expected ${expectedFilename}`,
|
|
96
|
-
|
|
96
|
+
suggestions: [
|
|
97
97
|
{
|
|
98
98
|
description: `Rename the subagent content file to ${expectedFilename} and ensure its frontmatter name is ${manifest.name}.`,
|
|
99
99
|
},
|
|
@@ -136,12 +136,12 @@ export const publishSubagent = (op) => Effect.gen(function* () {
|
|
|
136
136
|
version: manifest.version,
|
|
137
137
|
published: new Date().toISOString(),
|
|
138
138
|
integrity,
|
|
139
|
-
...(manifest.
|
|
140
|
-
|
|
139
|
+
...(manifest.packages !== undefined && {
|
|
140
|
+
packages: manifest.packages,
|
|
141
141
|
}),
|
|
142
142
|
};
|
|
143
143
|
// Publish to registry (idempotent)
|
|
144
|
-
yield* client.publishExtension({
|
|
144
|
+
const response = yield* client.publishExtension({
|
|
145
145
|
owner: fqn.owner,
|
|
146
146
|
type: "subagent",
|
|
147
147
|
name: fqn.name,
|
|
@@ -152,6 +152,7 @@ export const publishSubagent = (op) => Effect.gen(function* () {
|
|
|
152
152
|
return {
|
|
153
153
|
result: "success",
|
|
154
154
|
message: `Published ${op.args.name}@${manifest.version}`,
|
|
155
|
+
...(response.links !== undefined ? { links: response.links } : {}),
|
|
155
156
|
};
|
|
156
157
|
});
|
|
157
158
|
//# sourceMappingURL=publish.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.js","sourceRoot":"","sources":["../../../../../src/unstable/subagents/operations/publish.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;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,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EACL,uBAAuB,EACvB,QAAQ,EACR,yBAAyB,GAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,sBAAsB,EAEtB,iBAAiB,GAClB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,gCA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,CAAC,OAAO,EAAE;QACxD,GAAG,CAAC,QAAQ,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAC3C,CAAC;AAC5B,CAAC,CAAC,CAAC"}
|
|
@@ -14,5 +14,5 @@ import type { PackageUrlParts } from "../packaging/package-url.js";
|
|
|
14
14
|
/**
|
|
15
15
|
* Build a RegistrySubagentRef from typed owner/name parts and version.
|
|
16
16
|
*/
|
|
17
|
-
export declare const buildRegistrySubagentRef: (owner: Handle, name: ExtensionName, version: Version, source: RegistrySource,
|
|
17
|
+
export declare const buildRegistrySubagentRef: (owner: Handle, name: ExtensionName, version: Version, source: RegistrySource, packages: ReadonlyArray<PackageUrlParts>) => RegistrySubagentRef;
|
|
18
18
|
//# sourceMappingURL=registry-ref-builder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry-ref-builder.d.ts","sourceRoot":"","sources":["../../../../src/unstable/subagents/registry-ref-builder.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AAC7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,wBAAwB,GACnC,OAAO,MAAM,EACb,MAAM,aAAa,EACnB,SAAS,OAAO,EAChB,QAAQ,cAAc,EACtB,
|
|
1
|
+
{"version":3,"file":"registry-ref-builder.d.ts","sourceRoot":"","sources":["../../../../src/unstable/subagents/registry-ref-builder.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AAC7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,wBAAwB,GACnC,OAAO,MAAM,EACb,MAAM,aAAa,EACnB,SAAS,OAAO,EAChB,QAAQ,cAAc,EACtB,UAAU,aAAa,CAAC,eAAe,CAAC,KACvC,mBAUD,CAAC"}
|
|
@@ -10,7 +10,7 @@ import * as Option from "effect/Option";
|
|
|
10
10
|
/**
|
|
11
11
|
* Build a RegistrySubagentRef from typed owner/name parts and version.
|
|
12
12
|
*/
|
|
13
|
-
export const buildRegistrySubagentRef = (owner, name, version, source,
|
|
13
|
+
export const buildRegistrySubagentRef = (owner, name, version, source, packages) => ({
|
|
14
14
|
type: "subagent",
|
|
15
15
|
refType: "registry",
|
|
16
16
|
subagent: { name, description: Option.none() },
|
|
@@ -19,6 +19,6 @@ export const buildRegistrySubagentRef = (owner, name, version, source, companion
|
|
|
19
19
|
name,
|
|
20
20
|
version,
|
|
21
21
|
integrity: Option.none(),
|
|
22
|
-
|
|
22
|
+
packages,
|
|
23
23
|
});
|
|
24
24
|
//# sourceMappingURL=registry-ref-builder.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry-ref-builder.js","sourceRoot":"","sources":["../../../../src/unstable/subagents/registry-ref-builder.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAOxC;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,KAAa,EACb,IAAmB,EACnB,OAAgB,EAChB,MAAsB,EACtB,
|
|
1
|
+
{"version":3,"file":"registry-ref-builder.js","sourceRoot":"","sources":["../../../../src/unstable/subagents/registry-ref-builder.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAOxC;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,KAAa,EACb,IAAmB,EACnB,OAAgB,EAChB,MAAsB,EACtB,QAAwC,EACnB,EAAE,CAAC,CAAC;IACzB,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,CAAC,IAAI,EAAE,EAAE;IAC9C,MAAM;IACN,KAAK;IACL,IAAI;IACJ,OAAO;IACP,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE;IACxB,QAAQ;CACT,CAAC,CAAC"}
|
|
@@ -51,7 +51,7 @@ export const parseSubagentMd = (content, expectedName) => Effect.gen(function* (
|
|
|
51
51
|
return yield* makeAppError({
|
|
52
52
|
code: "not_found",
|
|
53
53
|
detail: `Missing subagent frontmatter for "${expectedName}"`,
|
|
54
|
-
|
|
54
|
+
suggestions: [{ description: `Add YAML frontmatter with name: ${expectedName}.` }],
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
yield* Effect.try({
|
|
@@ -59,7 +59,7 @@ export const parseSubagentMd = (content, expectedName) => Effect.gen(function* (
|
|
|
59
59
|
catch: (error) => makeAppError({
|
|
60
60
|
code: "validation",
|
|
61
61
|
detail: "Invalid subagent frontmatter",
|
|
62
|
-
|
|
62
|
+
suggestions: [{ description: "Frontmatter must include a string `name` field." }],
|
|
63
63
|
cause: error,
|
|
64
64
|
}),
|
|
65
65
|
});
|
|
@@ -67,7 +67,7 @@ export const parseSubagentMd = (content, expectedName) => Effect.gen(function* (
|
|
|
67
67
|
return yield* makeAppError({
|
|
68
68
|
code: "validation",
|
|
69
69
|
detail: "Subagent frontmatter must be a YAML mapping",
|
|
70
|
-
|
|
70
|
+
suggestions: [{ description: `Add YAML frontmatter with name: ${expectedName}.` }],
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
const fm = parsed.frontmatter;
|
|
@@ -76,7 +76,7 @@ export const parseSubagentMd = (content, expectedName) => Effect.gen(function* (
|
|
|
76
76
|
return yield* makeAppError({
|
|
77
77
|
code: "internal",
|
|
78
78
|
detail: `Subagent frontmatter name "${String(name)}" does not match expected name "${expectedName}"`,
|
|
79
|
-
|
|
79
|
+
suggestions: [
|
|
80
80
|
{
|
|
81
81
|
description: `Set subagent.json name, frontmatter name, and filename to ${expectedName}.`,
|
|
82
82
|
},
|
|
@@ -52,14 +52,14 @@ const fetchGitHubJson = (httpClient, url) => Effect.gen(function* () {
|
|
|
52
52
|
.pipe(Effect.mapError((cause) => makeAppError({
|
|
53
53
|
code: "network",
|
|
54
54
|
detail: "GitHub API is unreachable",
|
|
55
|
-
|
|
55
|
+
suggestions: [{ description: "Check your network connection and try again." }],
|
|
56
56
|
cause,
|
|
57
57
|
})));
|
|
58
58
|
if (response.status !== 200) {
|
|
59
59
|
return yield* makeAppError({
|
|
60
60
|
code: "internal",
|
|
61
61
|
detail: `GitHub API returned status ${String(response.status)}`,
|
|
62
|
-
|
|
62
|
+
suggestions: [
|
|
63
63
|
{
|
|
64
64
|
description: "Check your network connection and try again. If the problem persists, GitHub may be experiencing issues.",
|
|
65
65
|
},
|
|
@@ -69,7 +69,7 @@ const fetchGitHubJson = (httpClient, url) => Effect.gen(function* () {
|
|
|
69
69
|
return yield* response.json.pipe(Effect.mapError((cause) => makeAppError({
|
|
70
70
|
code: "validation",
|
|
71
71
|
detail: "GitHub API response was not valid JSON",
|
|
72
|
-
|
|
72
|
+
suggestions: [
|
|
73
73
|
{
|
|
74
74
|
description: "This may indicate a GitHub API change. Please try again or report the issue.",
|
|
75
75
|
},
|
|
@@ -83,7 +83,7 @@ const fetchGitHubJson = (httpClient, url) => Effect.gen(function* () {
|
|
|
83
83
|
const mapDecodeError = (_url) => Effect.mapError((cause) => makeAppError({
|
|
84
84
|
code: "validation",
|
|
85
85
|
detail: "GitHub API returned an unexpected response shape",
|
|
86
|
-
|
|
86
|
+
suggestions: [
|
|
87
87
|
{
|
|
88
88
|
description: "This may indicate a GitHub API change. Please try again or report the issue.",
|
|
89
89
|
},
|
|
@@ -128,7 +128,7 @@ const resolveRemoteVersion = (httpClient, repo) => Effect.gen(function* () {
|
|
|
128
128
|
return yield* makeAppError({
|
|
129
129
|
code: "not_found",
|
|
130
130
|
detail: "No CLI release found on GitHub",
|
|
131
|
-
|
|
131
|
+
suggestions: [
|
|
132
132
|
{
|
|
133
133
|
description: "Ensure the repository has at least one release tagged with the 'cli-v' prefix.",
|
|
134
134
|
},
|
|
@@ -30,7 +30,7 @@ export const resolveConfiguredSkill = (name, source) => Effect.gen(function* ()
|
|
|
30
30
|
.pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "skill")), Effect.mapError((cause) => makeAppError({
|
|
31
31
|
code: "internal",
|
|
32
32
|
detail: `Failed to resolve configured skill "${name}"`,
|
|
33
|
-
|
|
33
|
+
suggestions: [
|
|
34
34
|
{
|
|
35
35
|
description: `Verify the configured source is reachable and still contains the skill.`,
|
|
36
36
|
},
|
|
@@ -42,7 +42,7 @@ export const resolveConfiguredSkill = (name, source) => Effect.gen(function* ()
|
|
|
42
42
|
return yield* makeAppError({
|
|
43
43
|
code: "not_found",
|
|
44
44
|
detail: `Configured skill "${name}" could not be found in its source`,
|
|
45
|
-
|
|
45
|
+
suggestions: [
|
|
46
46
|
{
|
|
47
47
|
description: `Verify the configured source still contains the skill or update settings.json.`,
|
|
48
48
|
},
|
|
@@ -80,7 +80,7 @@ export const resolveConfiguredSubagent = (name, source) => Effect.gen(function*
|
|
|
80
80
|
.pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "subagent")), Effect.mapError((cause) => makeAppError({
|
|
81
81
|
code: "internal",
|
|
82
82
|
detail: `Failed to resolve configured subagent "${name}"`,
|
|
83
|
-
|
|
83
|
+
suggestions: [
|
|
84
84
|
{
|
|
85
85
|
description: `Verify the configured source is reachable and still contains the subagent.`,
|
|
86
86
|
},
|
|
@@ -92,7 +92,7 @@ export const resolveConfiguredSubagent = (name, source) => Effect.gen(function*
|
|
|
92
92
|
return yield* makeAppError({
|
|
93
93
|
code: "not_found",
|
|
94
94
|
detail: `Configured subagent "${name}" could not be found in its source`,
|
|
95
|
-
|
|
95
|
+
suggestions: [
|
|
96
96
|
{
|
|
97
97
|
description: `Verify the configured source still contains the subagent or update settings.json.`,
|
|
98
98
|
},
|
|
@@ -110,7 +110,7 @@ export const resolveConfiguredCommand = (name, source) => Effect.gen(function* (
|
|
|
110
110
|
return yield* makeAppError({
|
|
111
111
|
code: "validation",
|
|
112
112
|
detail: `The configured command entry "${name}" is invalid.`,
|
|
113
|
-
|
|
113
|
+
suggestions: [{ description: `Use a name like "@owner/commands/name".` }],
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
const providers = yield* SourceHostProviders;
|
|
@@ -130,7 +130,7 @@ export const resolveConfiguredCommand = (name, source) => Effect.gen(function* (
|
|
|
130
130
|
.pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "command")), Effect.mapError((cause) => makeAppError({
|
|
131
131
|
code: "internal",
|
|
132
132
|
detail: `Failed to resolve configured command "${name}"`,
|
|
133
|
-
|
|
133
|
+
suggestions: [
|
|
134
134
|
{
|
|
135
135
|
description: `Verify the configured registry source is reachable and still contains the command.`,
|
|
136
136
|
},
|
|
@@ -142,7 +142,7 @@ export const resolveConfiguredCommand = (name, source) => Effect.gen(function* (
|
|
|
142
142
|
return yield* makeAppError({
|
|
143
143
|
code: "not_found",
|
|
144
144
|
detail: `Configured command "${name}" could not be found in its source`,
|
|
145
|
-
|
|
145
|
+
suggestions: [
|
|
146
146
|
{
|
|
147
147
|
description: `Verify the configured source still contains the command or update settings.json.`,
|
|
148
148
|
},
|
|
@@ -160,7 +160,7 @@ export const resolveConfiguredMcpServer = (name, source) => Effect.gen(function*
|
|
|
160
160
|
return yield* makeAppError({
|
|
161
161
|
code: "validation",
|
|
162
162
|
detail: `The configured MCP server entry "${name}" is invalid.`,
|
|
163
|
-
|
|
163
|
+
suggestions: [{ description: `Use a name like "@owner/mcp-servers/name".` }],
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
166
|
const providers = yield* SourceHostProviders;
|
|
@@ -180,7 +180,7 @@ export const resolveConfiguredMcpServer = (name, source) => Effect.gen(function*
|
|
|
180
180
|
.pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "mcp-server")), Effect.mapError((cause) => makeAppError({
|
|
181
181
|
code: "internal",
|
|
182
182
|
detail: `Failed to resolve configured MCP server "${name}"`,
|
|
183
|
-
|
|
183
|
+
suggestions: [
|
|
184
184
|
{
|
|
185
185
|
description: `Verify the configured registry source is reachable and still contains the MCP server.`,
|
|
186
186
|
},
|
|
@@ -192,7 +192,7 @@ export const resolveConfiguredMcpServer = (name, source) => Effect.gen(function*
|
|
|
192
192
|
return yield* makeAppError({
|
|
193
193
|
code: "not_found",
|
|
194
194
|
detail: `Configured MCP server "${name}" could not be found in its source`,
|
|
195
|
-
|
|
195
|
+
suggestions: [
|
|
196
196
|
{
|
|
197
197
|
description: `Verify the configured source still contains the MCP server or update settings.json.`,
|
|
198
198
|
},
|
|
@@ -210,7 +210,7 @@ export const resolveConfiguredPack = (name, source) => Effect.gen(function* () {
|
|
|
210
210
|
return yield* makeAppError({
|
|
211
211
|
code: "validation",
|
|
212
212
|
detail: `The configured pack entry "${name}" is invalid.`,
|
|
213
|
-
|
|
213
|
+
suggestions: [{ description: `Use a name like "@owner/packs/name".` }],
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
216
|
const providers = yield* SourceHostProviders;
|
|
@@ -251,7 +251,7 @@ export const resolveConfiguredPack = (name, source) => Effect.gen(function* () {
|
|
|
251
251
|
: Effect.fail(error)), Effect.mapError((cause) => makeAppError({
|
|
252
252
|
code: "internal",
|
|
253
253
|
detail: `Failed to resolve configured pack "${name}"`,
|
|
254
|
-
|
|
254
|
+
suggestions: [
|
|
255
255
|
{
|
|
256
256
|
description: "Verify the configured registry source is reachable and still contains the pack.",
|
|
257
257
|
},
|
|
@@ -263,7 +263,7 @@ export const resolveConfiguredPack = (name, source) => Effect.gen(function* () {
|
|
|
263
263
|
return yield* makeAppError({
|
|
264
264
|
code: "not_found",
|
|
265
265
|
detail: `Configured pack "${name}" could not be found in its source`,
|
|
266
|
-
|
|
266
|
+
suggestions: [
|
|
267
267
|
{
|
|
268
268
|
description: "Verify the configured source still contains the pack or update settings.json.",
|
|
269
269
|
},
|
|
@@ -56,21 +56,21 @@ export declare const initializeProjectWorkspace: (localDir: string, options: Wor
|
|
|
56
56
|
readonly $schema?: string;
|
|
57
57
|
readonly telemetry?: boolean | "errors";
|
|
58
58
|
readonly sources?: readonly ({
|
|
59
|
+
readonly url: URL;
|
|
59
60
|
readonly type: "github";
|
|
60
61
|
readonly name: string;
|
|
61
|
-
readonly url: URL;
|
|
62
62
|
} | {
|
|
63
|
+
readonly url: URL;
|
|
63
64
|
readonly type: "gitlab";
|
|
64
65
|
readonly name: string;
|
|
65
|
-
readonly url: URL;
|
|
66
66
|
} | {
|
|
67
|
+
readonly url: URL;
|
|
67
68
|
readonly type: "bitbucket";
|
|
68
69
|
readonly name: string;
|
|
69
|
-
readonly url: URL;
|
|
70
70
|
} | {
|
|
71
|
+
readonly url: URL;
|
|
71
72
|
readonly type: "azurerepos";
|
|
72
73
|
readonly name: string;
|
|
73
|
-
readonly url: URL;
|
|
74
74
|
} | {
|
|
75
75
|
readonly type: "registry";
|
|
76
76
|
readonly name: string;
|
|
@@ -154,21 +154,21 @@ export declare const ensureProjectWorkspaceInitialized: (localDir: string, optio
|
|
|
154
154
|
readonly $schema?: string;
|
|
155
155
|
readonly telemetry?: boolean | "errors";
|
|
156
156
|
readonly sources?: readonly ({
|
|
157
|
+
readonly url: URL;
|
|
157
158
|
readonly type: "github";
|
|
158
159
|
readonly name: string;
|
|
159
|
-
readonly url: URL;
|
|
160
160
|
} | {
|
|
161
|
+
readonly url: URL;
|
|
161
162
|
readonly type: "gitlab";
|
|
162
163
|
readonly name: string;
|
|
163
|
-
readonly url: URL;
|
|
164
164
|
} | {
|
|
165
|
+
readonly url: URL;
|
|
165
166
|
readonly type: "bitbucket";
|
|
166
167
|
readonly name: string;
|
|
167
|
-
readonly url: URL;
|
|
168
168
|
} | {
|
|
169
|
+
readonly url: URL;
|
|
169
170
|
readonly type: "azurerepos";
|
|
170
171
|
readonly name: string;
|
|
171
|
-
readonly url: URL;
|
|
172
172
|
} | {
|
|
173
173
|
readonly type: "registry";
|
|
174
174
|
readonly name: string;
|
|
@@ -236,21 +236,21 @@ export declare const ensureProjectWorkspaceInitialized: (localDir: string, optio
|
|
|
236
236
|
readonly $schema?: string;
|
|
237
237
|
readonly telemetry?: boolean | "errors";
|
|
238
238
|
readonly sources?: readonly ({
|
|
239
|
+
readonly url: URL;
|
|
239
240
|
readonly type: "github";
|
|
240
241
|
readonly name: string;
|
|
241
|
-
readonly url: URL;
|
|
242
242
|
} | {
|
|
243
|
+
readonly url: URL;
|
|
243
244
|
readonly type: "gitlab";
|
|
244
245
|
readonly name: string;
|
|
245
|
-
readonly url: URL;
|
|
246
246
|
} | {
|
|
247
|
+
readonly url: URL;
|
|
247
248
|
readonly type: "bitbucket";
|
|
248
249
|
readonly name: string;
|
|
249
|
-
readonly url: URL;
|
|
250
250
|
} | {
|
|
251
|
+
readonly url: URL;
|
|
251
252
|
readonly type: "azurerepos";
|
|
252
253
|
readonly name: string;
|
|
253
|
-
readonly url: URL;
|
|
254
254
|
} | {
|
|
255
255
|
readonly type: "registry";
|
|
256
256
|
readonly name: string;
|
|
@@ -319,21 +319,21 @@ export declare const bootstrapWorkspace: (options: WorkspaceMutationsOptions) =>
|
|
|
319
319
|
readonly $schema?: string;
|
|
320
320
|
readonly telemetry?: boolean | "errors";
|
|
321
321
|
readonly sources?: readonly ({
|
|
322
|
+
readonly url: URL;
|
|
322
323
|
readonly type: "github";
|
|
323
324
|
readonly name: string;
|
|
324
|
-
readonly url: URL;
|
|
325
325
|
} | {
|
|
326
|
+
readonly url: URL;
|
|
326
327
|
readonly type: "gitlab";
|
|
327
328
|
readonly name: string;
|
|
328
|
-
readonly url: URL;
|
|
329
329
|
} | {
|
|
330
|
+
readonly url: URL;
|
|
330
331
|
readonly type: "bitbucket";
|
|
331
332
|
readonly name: string;
|
|
332
|
-
readonly url: URL;
|
|
333
333
|
} | {
|
|
334
|
+
readonly url: URL;
|
|
334
335
|
readonly type: "azurerepos";
|
|
335
336
|
readonly name: string;
|
|
336
|
-
readonly url: URL;
|
|
337
337
|
} | {
|
|
338
338
|
readonly type: "registry";
|
|
339
339
|
readonly name: string;
|
|
@@ -26,7 +26,7 @@ import { getAxmDir } from "./paths.js";
|
|
|
26
26
|
const SELECT_AGENTS_PROMPT_MISSING = makeAppError({
|
|
27
27
|
code: "usage",
|
|
28
28
|
detail: "Interactive prompt required: Select agents to configure",
|
|
29
|
-
|
|
29
|
+
suggestions: [{ description: "Provide WorkspaceInitializationInteraction in the runtime." }],
|
|
30
30
|
});
|
|
31
31
|
const isKnownAgentId = (id) => Object.hasOwn(AGENTS, id);
|
|
32
32
|
const allAgentDescriptors = () => Object.values(AGENTS);
|