@agentxm/client-core 0.5.0 → 0.5.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/dist/src/unstable/agents/augment/service.d.ts.map +1 -1
- package/dist/src/unstable/agents/augment/service.js +12 -8
- package/dist/src/unstable/agents/augment/service.js.map +1 -1
- package/dist/src/unstable/agents/coding-agent.d.ts +1 -1
- package/dist/src/unstable/agents/coding-agent.d.ts.map +1 -1
- package/dist/src/unstable/agents/coding-agent.js +1 -1
- package/dist/src/unstable/agents/coding-agent.js.map +1 -1
- package/dist/src/unstable/agents/command-sync.d.ts +2 -2
- package/dist/src/unstable/agents/command-sync.d.ts.map +1 -1
- package/dist/src/unstable/agents/command-sync.js +44 -23
- package/dist/src/unstable/agents/command-sync.js.map +1 -1
- package/dist/src/unstable/agents/detection.js +3 -3
- package/dist/src/unstable/agents/detection.js.map +1 -1
- package/dist/src/unstable/agents/index.d.ts +1 -1
- package/dist/src/unstable/agents/index.d.ts.map +1 -1
- package/dist/src/unstable/agents/index.js +1 -1
- package/dist/src/unstable/agents/index.js.map +1 -1
- package/dist/src/unstable/agents/mcp-sync.d.ts.map +1 -1
- package/dist/src/unstable/agents/mcp-sync.js +14 -20
- package/dist/src/unstable/agents/mcp-sync.js.map +1 -1
- package/dist/src/unstable/agents/repository.js +2 -2
- package/dist/src/unstable/agents/repository.js.map +1 -1
- package/dist/src/unstable/agents/subagent-sync.js +14 -14
- package/dist/src/unstable/agents/subagent-sync.js.map +1 -1
- package/dist/src/unstable/app-error/app-error.d.ts +10 -9
- package/dist/src/unstable/app-error/app-error.d.ts.map +1 -1
- package/dist/src/unstable/app-error/app-error.js +37 -4
- package/dist/src/unstable/app-error/app-error.js.map +1 -1
- package/dist/src/unstable/app-error/builders.d.ts +21 -0
- package/dist/src/unstable/app-error/builders.d.ts.map +1 -0
- package/dist/src/unstable/app-error/builders.js +46 -0
- package/dist/src/unstable/app-error/builders.js.map +1 -0
- package/dist/src/unstable/app-error/index.d.ts +2 -1
- package/dist/src/unstable/app-error/index.d.ts.map +1 -1
- package/dist/src/unstable/app-error/index.js +2 -1
- package/dist/src/unstable/app-error/index.js.map +1 -1
- package/dist/src/unstable/app-error/render.d.ts.map +1 -1
- package/dist/src/unstable/app-error/render.js +6 -24
- package/dist/src/unstable/app-error/render.js.map +1 -1
- package/dist/src/unstable/auth/auth-client.d.ts +1 -1
- package/dist/src/unstable/auth/auth-client.d.ts.map +1 -1
- package/dist/src/unstable/auth/auth-client.js +76 -42
- package/dist/src/unstable/auth/auth-client.js.map +1 -1
- package/dist/src/unstable/auth/credential-store.d.ts +1 -1
- package/dist/src/unstable/auth/credential-store.d.ts.map +1 -1
- package/dist/src/unstable/auth/credential-store.js +22 -24
- package/dist/src/unstable/auth/credential-store.js.map +1 -1
- package/dist/src/unstable/auth/device-login.d.ts +1 -1
- package/dist/src/unstable/auth/device-login.d.ts.map +1 -1
- package/dist/src/unstable/auth/device-login.js +1 -1
- package/dist/src/unstable/auth/device-login.js.map +1 -1
- package/dist/src/unstable/auth/guard-interaction.d.ts +1 -1
- package/dist/src/unstable/auth/guard-interaction.d.ts.map +1 -1
- package/dist/src/unstable/auth/guard-interaction.js +1 -1
- package/dist/src/unstable/auth/guard-interaction.js.map +1 -1
- package/dist/src/unstable/auth/guard.d.ts.map +1 -1
- package/dist/src/unstable/auth/guard.js +5 -9
- package/dist/src/unstable/auth/guard.js.map +1 -1
- package/dist/src/unstable/auth/login-interaction.d.ts +1 -1
- package/dist/src/unstable/auth/login-interaction.d.ts.map +1 -1
- package/dist/src/unstable/auth/login-interaction.js +1 -1
- package/dist/src/unstable/auth/login-interaction.js.map +1 -1
- package/dist/src/unstable/auth/registry-url.d.ts +1 -1
- package/dist/src/unstable/auth/registry-url.js +1 -1
- package/dist/src/unstable/auth/registry-url.js.map +1 -1
- package/dist/src/unstable/auth/token-resolution.d.ts +1 -1
- package/dist/src/unstable/auth/token-resolution.d.ts.map +1 -1
- package/dist/src/unstable/auth/token-resolution.js +6 -10
- package/dist/src/unstable/auth/token-resolution.js.map +1 -1
- package/dist/src/unstable/cli/prompt/helpers.d.ts +1 -1
- package/dist/src/unstable/cli/prompt/helpers.js +3 -3
- package/dist/src/unstable/cli/prompt/helpers.js.map +1 -1
- package/dist/src/unstable/cli-flags/verbosity.d.ts +1 -1
- package/dist/src/unstable/cli-flags/verbosity.d.ts.map +1 -1
- package/dist/src/unstable/cli-flags/verbosity.js +1 -1
- package/dist/src/unstable/cli-flags/verbosity.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js +128 -9
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.js +45 -10
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts +2 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-test.js +80 -21
- package/dist/src/unstable/cli-renderer/cli-renderer-test.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer.d.ts +32 -7
- package/dist/src/unstable/cli-renderer/cli-renderer.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer.js +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer.js.map +1 -1
- package/dist/src/unstable/cli-renderer/entity-registry.d.ts +15 -0
- package/dist/src/unstable/cli-renderer/entity-registry.d.ts.map +1 -0
- package/dist/src/unstable/cli-renderer/entity-registry.js +17 -0
- package/dist/src/unstable/cli-renderer/entity-registry.js.map +1 -0
- package/dist/src/unstable/cli-renderer/index.d.ts +2 -1
- package/dist/src/unstable/cli-renderer/index.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/index.js +1 -0
- package/dist/src/unstable/cli-renderer/index.js.map +1 -1
- package/dist/src/unstable/cli-runtime/breadcrumb.d.ts +9 -0
- package/dist/src/unstable/cli-runtime/breadcrumb.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/breadcrumb.js +12 -0
- package/dist/src/unstable/cli-runtime/breadcrumb.js.map +1 -0
- package/dist/src/unstable/cli-runtime/command-argv.d.ts +1 -1
- package/dist/src/unstable/cli-runtime/command-argv.js +1 -1
- package/dist/src/unstable/cli-runtime/command-argv.js.map +1 -1
- package/dist/src/unstable/cli-runtime/graceful-shutdown.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/graceful-shutdown.js +3 -1
- package/dist/src/unstable/cli-runtime/graceful-shutdown.js.map +1 -1
- package/dist/src/unstable/cli-runtime/handle-error.d.ts +2 -0
- package/dist/src/unstable/cli-runtime/handle-error.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/handle-error.js +42 -3
- package/dist/src/unstable/cli-runtime/handle-error.js.map +1 -1
- package/dist/src/unstable/cli-runtime/index.d.ts +4 -4
- package/dist/src/unstable/cli-runtime/index.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/index.js +3 -3
- package/dist/src/unstable/cli-runtime/index.js.map +1 -1
- package/dist/src/unstable/cli-runtime/json-envelope.d.ts +50 -11
- package/dist/src/unstable/cli-runtime/json-envelope.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/json-envelope.js +57 -15
- package/dist/src/unstable/cli-runtime/json-envelope.js.map +1 -1
- package/dist/src/unstable/cli-runtime/output-mode.d.ts +9 -8
- package/dist/src/unstable/cli-runtime/output-mode.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/output-mode.js +11 -7
- 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 +52 -5
- package/dist/src/unstable/cli-runtime/runtime-envelope.js.map +1 -1
- package/dist/src/unstable/cli-runtime/telemetry.d.ts +2 -1
- package/dist/src/unstable/cli-runtime/telemetry.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/telemetry.js +4 -4
- package/dist/src/unstable/cli-runtime/telemetry.js.map +1 -1
- package/dist/src/unstable/commands/command-argument.d.ts +2 -2
- package/dist/src/unstable/commands/command-argument.js +2 -2
- package/dist/src/unstable/commands/command-content.d.ts +11 -24
- package/dist/src/unstable/commands/command-content.d.ts.map +1 -1
- package/dist/src/unstable/commands/command-content.js +34 -36
- package/dist/src/unstable/commands/command-content.js.map +1 -1
- package/dist/src/unstable/commands/index.d.ts +2 -1
- package/dist/src/unstable/commands/index.d.ts.map +1 -1
- package/dist/src/unstable/commands/index.js +1 -0
- package/dist/src/unstable/commands/index.js.map +1 -1
- package/dist/src/unstable/commands/manager.d.ts +3 -2
- package/dist/src/unstable/commands/manager.d.ts.map +1 -1
- package/dist/src/unstable/commands/manager.js +62 -40
- package/dist/src/unstable/commands/manager.js.map +1 -1
- package/dist/src/unstable/commands/manifest-schema.d.ts +0 -1
- package/dist/src/unstable/commands/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/commands/manifest-schema.js +0 -1
- package/dist/src/unstable/commands/manifest-schema.js.map +1 -1
- package/dist/src/unstable/commands/operations/disable.js +2 -2
- package/dist/src/unstable/commands/operations/disable.js.map +1 -1
- package/dist/src/unstable/commands/operations/enable.d.ts +1 -1
- package/dist/src/unstable/commands/operations/enable.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/enable.js +21 -11
- package/dist/src/unstable/commands/operations/enable.js.map +1 -1
- package/dist/src/unstable/commands/operations/install.d.ts +4 -4
- package/dist/src/unstable/commands/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/install.js +37 -36
- package/dist/src/unstable/commands/operations/install.js.map +1 -1
- package/dist/src/unstable/commands/operations/new-command.d.ts +8 -3
- package/dist/src/unstable/commands/operations/new-command.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/new-command.js +67 -18
- 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 +23 -15
- package/dist/src/unstable/commands/operations/publish.js.map +1 -1
- package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +10 -14
- package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/shared-command-helpers.js +27 -37
- package/dist/src/unstable/commands/operations/shared-command-helpers.js.map +1 -1
- package/dist/src/unstable/commands/operations/uninstall.js +2 -2
- package/dist/src/unstable/commands/operations/uninstall.js.map +1 -1
- package/dist/src/unstable/commands/paths.d.ts +64 -0
- package/dist/src/unstable/commands/paths.d.ts.map +1 -0
- package/dist/src/unstable/commands/paths.js +41 -0
- package/dist/src/unstable/commands/paths.js.map +1 -0
- package/dist/src/unstable/commands/reconciliation-adapter.d.ts.map +1 -1
- package/dist/src/unstable/commands/reconciliation-adapter.js +4 -5
- package/dist/src/unstable/commands/reconciliation-adapter.js.map +1 -1
- package/dist/src/unstable/commands/renderers/index.d.ts +6 -5
- package/dist/src/unstable/commands/renderers/index.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/index.js +3 -2
- package/dist/src/unstable/commands/renderers/index.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-markdown-only.d.ts +2 -2
- package/dist/src/unstable/commands/renderers/render-markdown-only.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-markdown-only.js +3 -28
- package/dist/src/unstable/commands/renderers/render-markdown-only.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.d.ts +2 -2
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.js +5 -42
- package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-plain-text.d.ts +2 -2
- package/dist/src/unstable/commands/renderers/render-plain-text.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-plain-text.js +8 -31
- package/dist/src/unstable/commands/renderers/render-plain-text.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-prompt-md.d.ts +2 -2
- package/dist/src/unstable/commands/renderers/render-prompt-md.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-prompt-md.js +5 -33
- package/dist/src/unstable/commands/renderers/render-prompt-md.js.map +1 -1
- package/dist/src/unstable/commands/renderers/render-toml.d.ts +4 -5
- package/dist/src/unstable/commands/renderers/render-toml.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/render-toml.js +36 -51
- package/dist/src/unstable/commands/renderers/render-toml.js.map +1 -1
- package/dist/src/unstable/commands/renderers/types.d.ts +45 -39
- package/dist/src/unstable/commands/renderers/types.d.ts.map +1 -1
- package/dist/src/unstable/commands/renderers/types.js +19 -1
- package/dist/src/unstable/commands/renderers/types.js.map +1 -1
- package/dist/src/unstable/extensions/agent-overrides.d.ts +45 -0
- package/dist/src/unstable/extensions/agent-overrides.d.ts.map +1 -0
- package/dist/src/unstable/extensions/agent-overrides.js +66 -0
- package/dist/src/unstable/extensions/agent-overrides.js.map +1 -0
- package/dist/src/unstable/extensions/common.js +2 -2
- 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.d.ts.map +1 -1
- package/dist/src/unstable/extensions/fqn.js +8 -4
- package/dist/src/unstable/extensions/fqn.js.map +1 -1
- package/dist/src/unstable/extensions/frontmatter.d.ts.map +1 -1
- package/dist/src/unstable/extensions/frontmatter.js +8 -4
- package/dist/src/unstable/extensions/frontmatter.js.map +1 -1
- package/dist/src/unstable/extensions/index.d.ts +2 -0
- package/dist/src/unstable/extensions/index.d.ts.map +1 -1
- package/dist/src/unstable/extensions/index.js +2 -0
- package/dist/src/unstable/extensions/index.js.map +1 -1
- package/dist/src/unstable/extensions/materializable-from-disk.d.ts +24 -0
- package/dist/src/unstable/extensions/materializable-from-disk.d.ts.map +1 -0
- package/dist/src/unstable/extensions/materializable-from-disk.js +235 -0
- package/dist/src/unstable/extensions/materializable-from-disk.js.map +1 -0
- package/dist/src/unstable/extensions/reconciliation-utils.js +2 -2
- package/dist/src/unstable/extensions/reconciliation-utils.js.map +1 -1
- package/dist/src/unstable/extensions/ref-base.d.ts +1 -1
- package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -1
- package/dist/src/unstable/extensions/utils.d.ts +1 -1
- package/dist/src/unstable/extensions/utils.d.ts.map +1 -1
- package/dist/src/unstable/extensions/utils.js +3 -3
- package/dist/src/unstable/extensions/utils.js.map +1 -1
- package/dist/src/unstable/git/operations.d.ts.map +1 -1
- package/dist/src/unstable/git/operations.js +2 -8
- package/dist/src/unstable/git/operations.js.map +1 -1
- package/dist/src/unstable/install-meta/install-meta.d.ts +1 -1
- package/dist/src/unstable/install-meta/install-meta.js +1 -1
- package/dist/src/unstable/install-meta/install-meta.js.map +1 -1
- package/dist/src/unstable/install-method/install-method.d.ts +1 -1
- package/dist/src/unstable/install-method/install-method.js +1 -1
- package/dist/src/unstable/install-method/install-method.js.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.d.ts +4 -0
- package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.js +78 -0
- package/dist/src/unstable/lint/catalog/workspace/configured-but-not-installed.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/workspace.js +2 -0
- package/dist/src/unstable/lint/catalog/workspace.js.map +1 -1
- package/dist/src/unstable/lockfile/lockfile.js +10 -10
- package/dist/src/unstable/lockfile/lockfile.js.map +1 -1
- package/dist/src/unstable/lockfile/resolved-version.js +7 -7
- package/dist/src/unstable/lockfile/resolved-version.js.map +1 -1
- package/dist/src/unstable/mcp-servers/manager.d.ts +1 -1
- package/dist/src/unstable/mcp-servers/manager.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/manager.js +18 -23
- package/dist/src/unstable/mcp-servers/manager.js.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/install.js +23 -31
- package/dist/src/unstable/mcp-servers/operations/install.js.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/publish.js +14 -15
- package/dist/src/unstable/mcp-servers/operations/publish.js.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/uninstall.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/uninstall.js +10 -17
- package/dist/src/unstable/mcp-servers/operations/uninstall.js.map +1 -1
- package/dist/src/unstable/mcp-servers/reconciliation-adapter.js +2 -2
- package/dist/src/unstable/mcp-servers/reconciliation-adapter.js.map +1 -1
- package/dist/src/unstable/packs/dependency-resolution.d.ts.map +1 -1
- package/dist/src/unstable/packs/dependency-resolution.js +6 -7
- package/dist/src/unstable/packs/dependency-resolution.js.map +1 -1
- package/dist/src/unstable/packs/expansion.js +3 -3
- package/dist/src/unstable/packs/expansion.js.map +1 -1
- package/dist/src/unstable/packs/manager.d.ts +1 -1
- package/dist/src/unstable/packs/manager.d.ts.map +1 -1
- package/dist/src/unstable/packs/manager.js +8 -10
- package/dist/src/unstable/packs/manager.js.map +1 -1
- package/dist/src/unstable/packs/operations/add-to-pack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/add-to-pack.js +16 -12
- package/dist/src/unstable/packs/operations/add-to-pack.js.map +1 -1
- package/dist/src/unstable/packs/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/install.js +19 -15
- package/dist/src/unstable/packs/operations/install.js.map +1 -1
- package/dist/src/unstable/packs/operations/new-pack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/new-pack.js +14 -9
- package/dist/src/unstable/packs/operations/new-pack.js.map +1 -1
- package/dist/src/unstable/packs/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/publish.js +14 -15
- package/dist/src/unstable/packs/operations/publish.js.map +1 -1
- package/dist/src/unstable/packs/operations/remove-from-pack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/remove-from-pack.js +16 -12
- package/dist/src/unstable/packs/operations/remove-from-pack.js.map +1 -1
- package/dist/src/unstable/packs/operations/uninstall.js +3 -3
- package/dist/src/unstable/packs/operations/uninstall.js.map +1 -1
- package/dist/src/unstable/packs/operations/unpack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/unpack.js +10 -5
- package/dist/src/unstable/packs/operations/unpack.js.map +1 -1
- package/dist/src/unstable/plan/apply-plan.d.ts.map +1 -1
- package/dist/src/unstable/plan/apply-plan.js +5 -6
- package/dist/src/unstable/plan/apply-plan.js.map +1 -1
- package/dist/src/unstable/plan/resolve-plan.d.ts.map +1 -1
- package/dist/src/unstable/plan/resolve-plan.js +13 -9
- package/dist/src/unstable/plan/resolve-plan.js.map +1 -1
- package/dist/src/unstable/publish/manifest-policy.d.ts +9 -14
- package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -1
- package/dist/src/unstable/publish/manifest-policy.js +13 -0
- package/dist/src/unstable/publish/manifest-policy.js.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts +1271 -51
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.js +403 -47
- package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
- package/dist/src/unstable/registry/error-mapping.d.ts +7 -6
- package/dist/src/unstable/registry/error-mapping.d.ts.map +1 -1
- package/dist/src/unstable/registry/error-mapping.js +44 -31
- package/dist/src/unstable/registry/error-mapping.js.map +1 -1
- package/dist/src/unstable/registry/index.d.ts +1 -1
- package/dist/src/unstable/registry/index.d.ts.map +1 -1
- package/dist/src/unstable/registry/index.js +1 -1
- package/dist/src/unstable/registry/index.js.map +1 -1
- package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/local-client.js +44 -36
- 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 +86 -103
- package/dist/src/unstable/registry/remote-client.js.map +1 -1
- package/dist/src/unstable/registry/utils.js +8 -8
- package/dist/src/unstable/registry/utils.js.map +1 -1
- package/dist/src/unstable/settings/ignored-patterns.d.ts.map +1 -1
- package/dist/src/unstable/settings/ignored-patterns.js +13 -7
- package/dist/src/unstable/settings/ignored-patterns.js.map +1 -1
- package/dist/src/unstable/settings/schema.d.ts +1 -1
- package/dist/src/unstable/settings/schema.js +1 -1
- package/dist/src/unstable/settings/settings.js +6 -6
- package/dist/src/unstable/settings/settings.js.map +1 -1
- package/dist/src/unstable/skills/index.d.ts +0 -2
- package/dist/src/unstable/skills/index.d.ts.map +1 -1
- package/dist/src/unstable/skills/index.js +0 -1
- package/dist/src/unstable/skills/index.js.map +1 -1
- package/dist/src/unstable/skills/manager.d.ts +1 -1
- package/dist/src/unstable/skills/manager.d.ts.map +1 -1
- package/dist/src/unstable/skills/manager.js +7 -14
- package/dist/src/unstable/skills/manager.js.map +1 -1
- package/dist/src/unstable/skills/manifest-schema.d.ts +0 -1
- package/dist/src/unstable/skills/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/skills/manifest-schema.js +0 -1
- package/dist/src/unstable/skills/manifest-schema.js.map +1 -1
- package/dist/src/unstable/skills/materialization.d.ts.map +1 -1
- package/dist/src/unstable/skills/materialization.js +11 -12
- package/dist/src/unstable/skills/materialization.js.map +1 -1
- package/dist/src/unstable/skills/operations/copy.js +6 -6
- package/dist/src/unstable/skills/operations/copy.js.map +1 -1
- package/dist/src/unstable/skills/operations/disable.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/disable.js +7 -5
- package/dist/src/unstable/skills/operations/disable.js.map +1 -1
- package/dist/src/unstable/skills/operations/enable.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/enable.js +5 -3
- package/dist/src/unstable/skills/operations/enable.js.map +1 -1
- package/dist/src/unstable/skills/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/install.js +19 -28
- 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 +14 -9
- package/dist/src/unstable/skills/operations/new-skill.js.map +1 -1
- package/dist/src/unstable/skills/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/publish.js +26 -24
- package/dist/src/unstable/skills/operations/publish.js.map +1 -1
- package/dist/src/unstable/skills/operations/uninstall.js +4 -4
- package/dist/src/unstable/skills/operations/uninstall.js.map +1 -1
- package/dist/src/unstable/source-resolution/index.d.ts +1 -0
- package/dist/src/unstable/source-resolution/index.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/index.js +1 -0
- package/dist/src/unstable/source-resolution/index.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.js +4 -6
- package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/scp.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/scp.js +4 -6
- package/dist/src/unstable/source-resolution/providers/azurerepos/scp.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/url.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/azurerepos/url.js +6 -9
- package/dist/src/unstable/source-resolution/providers/azurerepos/url.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.js +3 -4
- package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/scp.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/scp.js +4 -6
- package/dist/src/unstable/source-resolution/providers/bitbucket/scp.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/url.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/bitbucket/url.js +6 -9
- package/dist/src/unstable/source-resolution/providers/bitbucket/url.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/git-hosting.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/git-hosting.js +6 -8
- package/dist/src/unstable/source-resolution/providers/git-hosting.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/git.js +4 -4
- package/dist/src/unstable/source-resolution/providers/git.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/resolve-repo.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/resolve-repo.js +3 -4
- package/dist/src/unstable/source-resolution/providers/github/resolve-repo.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/scp.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/scp.js +4 -6
- package/dist/src/unstable/source-resolution/providers/github/scp.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/url.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/github/url.js +6 -9
- package/dist/src/unstable/source-resolution/providers/github/url.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.js +3 -4
- package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/scp.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/scp.js +4 -6
- package/dist/src/unstable/source-resolution/providers/gitlab/scp.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/url.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/gitlab/url.js +6 -9
- package/dist/src/unstable/source-resolution/providers/gitlab/url.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/local.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/local.js +4 -5
- package/dist/src/unstable/source-resolution/providers/local.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.d.ts +1 -1
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.js +5 -7
- package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +6 -7
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-identifier.d.ts +61 -0
- package/dist/src/unstable/source-resolution/resolve-identifier.d.ts.map +1 -0
- package/dist/src/unstable/source-resolution/resolve-identifier.js +322 -0
- package/dist/src/unstable/source-resolution/resolve-identifier.js.map +1 -0
- package/dist/src/unstable/source-resolution/resolve-source-pattern.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-source-pattern.js +10 -6
- package/dist/src/unstable/source-resolution/resolve-source-pattern.js.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-source.d.ts +2 -2
- package/dist/src/unstable/source-resolution/resolve-source.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-source.js +50 -73
- package/dist/src/unstable/source-resolution/resolve-source.js.map +1 -1
- package/dist/src/unstable/source-resolution/service.d.ts +1 -1
- package/dist/src/unstable/source-resolution/service.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/service.js +1 -1
- package/dist/src/unstable/source-resolution/service.js.map +1 -1
- package/dist/src/unstable/sources/lock-entry-to-ref.js +8 -8
- package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -1
- package/dist/src/unstable/subagents/index.d.ts +3 -4
- package/dist/src/unstable/subagents/index.d.ts.map +1 -1
- package/dist/src/unstable/subagents/index.js +3 -5
- package/dist/src/unstable/subagents/index.js.map +1 -1
- package/dist/src/unstable/subagents/manager.d.ts +1 -1
- package/dist/src/unstable/subagents/manager.d.ts.map +1 -1
- package/dist/src/unstable/subagents/manager.js +51 -65
- package/dist/src/unstable/subagents/manager.js.map +1 -1
- package/dist/src/unstable/subagents/manifest-schema.d.ts +4 -7
- package/dist/src/unstable/subagents/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/subagents/manifest-schema.js +5 -10
- package/dist/src/unstable/subagents/manifest-schema.js.map +1 -1
- package/dist/src/unstable/subagents/operations/disable.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/disable.js +7 -5
- package/dist/src/unstable/subagents/operations/disable.js.map +1 -1
- package/dist/src/unstable/subagents/operations/enable.d.ts +1 -1
- package/dist/src/unstable/subagents/operations/enable.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/enable.js +39 -16
- package/dist/src/unstable/subagents/operations/enable.js.map +1 -1
- package/dist/src/unstable/subagents/operations/publish.d.ts +1 -1
- package/dist/src/unstable/subagents/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/publish.js +53 -52
- package/dist/src/unstable/subagents/operations/publish.js.map +1 -1
- package/dist/src/unstable/subagents/paths.d.ts +7 -1
- package/dist/src/unstable/subagents/paths.d.ts.map +1 -1
- package/dist/src/unstable/subagents/paths.js +7 -1
- package/dist/src/unstable/subagents/paths.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/json.d.ts +2 -1
- package/dist/src/unstable/subagents/rendering/adapters/json.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/json.js +7 -39
- package/dist/src/unstable/subagents/rendering/adapters/json.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.d.ts +2 -1
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.js +17 -101
- package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/roo.d.ts +5 -1
- package/dist/src/unstable/subagents/rendering/adapters/roo.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/roo.js +18 -36
- package/dist/src/unstable/subagents/rendering/adapters/roo.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/toml.d.ts +3 -2
- package/dist/src/unstable/subagents/rendering/adapters/toml.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/adapters/toml.js +24 -54
- package/dist/src/unstable/subagents/rendering/adapters/toml.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/index.d.ts +1 -4
- package/dist/src/unstable/subagents/rendering/index.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/index.js +1 -2
- package/dist/src/unstable/subagents/rendering/index.js.map +1 -1
- package/dist/src/unstable/subagents/rendering/overrides.d.ts +2 -0
- package/dist/src/unstable/subagents/rendering/overrides.d.ts.map +1 -0
- package/dist/src/unstable/subagents/rendering/overrides.js +2 -0
- package/dist/src/unstable/subagents/rendering/overrides.js.map +1 -0
- package/dist/src/unstable/subagents/rendering/types.d.ts +9 -16
- package/dist/src/unstable/subagents/rendering/types.d.ts.map +1 -1
- package/dist/src/unstable/subagents/rendering/types.js +3 -2
- package/dist/src/unstable/subagents/rendering/types.js.map +1 -1
- package/dist/src/unstable/subagents/subagent-content.d.ts +16 -56
- package/dist/src/unstable/subagents/subagent-content.d.ts.map +1 -1
- package/dist/src/unstable/subagents/subagent-content.js +69 -60
- package/dist/src/unstable/subagents/subagent-content.js.map +1 -1
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.d.ts +10 -10
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.d.ts.map +1 -1
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.js +8 -5
- package/dist/src/unstable/telemetry/__generated__/telemetry-client.js.map +1 -1
- package/dist/src/unstable/telemetry/client.d.ts +2 -2
- package/dist/src/unstable/telemetry/client.d.ts.map +1 -1
- package/dist/src/unstable/telemetry/client.js +5 -2
- package/dist/src/unstable/telemetry/client.js.map +1 -1
- package/dist/src/unstable/update-check/update-check.d.ts +1 -1
- package/dist/src/unstable/update-check/update-check.js +1 -1
- package/dist/src/unstable/update-check/update-check.js.map +1 -1
- package/dist/src/unstable/utils/build-zip-archive.d.ts.map +1 -1
- package/dist/src/unstable/utils/build-zip-archive.js +11 -6
- package/dist/src/unstable/utils/build-zip-archive.js.map +1 -1
- package/dist/src/unstable/utils/create-symlink.js +8 -8
- package/dist/src/unstable/utils/create-symlink.js.map +1 -1
- package/dist/src/unstable/version-resolution/version-resolution.d.ts.map +1 -1
- package/dist/src/unstable/version-resolution/version-resolution.js +38 -21
- package/dist/src/unstable/version-resolution/version-resolution.js.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js +101 -67
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.d.ts +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.d.ts.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.js +3 -4
- package/dist/src/unstable/workspace/configured-entry-resolution/timeout.js.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/types.d.ts.map +1 -1
- package/dist/src/unstable/workspace/configured-entry-resolution/types.js +5 -8
- package/dist/src/unstable/workspace/configured-entry-resolution/types.js.map +1 -1
- package/dist/src/unstable/workspace/index.d.ts +1 -0
- package/dist/src/unstable/workspace/index.d.ts.map +1 -1
- package/dist/src/unstable/workspace/index.js +1 -0
- package/dist/src/unstable/workspace/index.js.map +1 -1
- package/dist/src/unstable/workspace/initialization-interaction.d.ts +1 -1
- package/dist/src/unstable/workspace/initialization-interaction.d.ts.map +1 -1
- package/dist/src/unstable/workspace/initialization-interaction.js +1 -1
- package/dist/src/unstable/workspace/initialization-interaction.js.map +1 -1
- package/dist/src/unstable/workspace/initialization.d.ts +24 -24
- package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
- package/dist/src/unstable/workspace/initialization.js +13 -11
- package/dist/src/unstable/workspace/initialization.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/__fixtures__/occurrences.d.ts.map +1 -1
- package/dist/src/unstable/workspace/read-model/__fixtures__/occurrences.js +8 -9
- package/dist/src/unstable/workspace/read-model/__fixtures__/occurrences.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/agent-root-resolver.d.ts +1 -1
- package/dist/src/unstable/workspace/read-model/agent-root-resolver.d.ts.map +1 -1
- package/dist/src/unstable/workspace/read-model/agent-root-resolver.js +1 -1
- package/dist/src/unstable/workspace/read-model/agent-root-resolver.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/discovery/skills.js +4 -4
- package/dist/src/unstable/workspace/read-model/discovery/skills.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/discovery/subagents.js +2 -2
- package/dist/src/unstable/workspace/read-model/discovery/subagents.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/extensions/subagent.js +1 -1
- package/dist/src/unstable/workspace/read-model/extensions/subagent.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/scanners/agent-dir.js +11 -7
- package/dist/src/unstable/workspace/read-model/scanners/agent-dir.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.js +12 -8
- package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/scanners/types.d.ts +2 -2
- package/dist/src/unstable/workspace/read-model/service.d.ts +1 -1
- package/dist/src/unstable/workspace/read-model/service.d.ts.map +1 -1
- package/dist/src/unstable/workspace/read-model/service.js +1 -1
- package/dist/src/unstable/workspace/read-model/service.js.map +1 -1
- package/dist/src/unstable/workspace/reconciliation.d.ts +1 -1
- package/dist/src/unstable/workspace/reconciliation.d.ts.map +1 -1
- package/dist/src/unstable/workspace/reconciliation.js +13 -15
- package/dist/src/unstable/workspace/reconciliation.js.map +1 -1
- package/dist/src/unstable/workspace/rendered-file-cleanup.d.ts +15 -0
- package/dist/src/unstable/workspace/rendered-file-cleanup.d.ts.map +1 -0
- package/dist/src/unstable/workspace/rendered-file-cleanup.js +58 -0
- package/dist/src/unstable/workspace/rendered-file-cleanup.js.map +1 -0
- package/dist/src/unstable/workspace/resolve-plan-interaction.d.ts +1 -1
- package/dist/src/unstable/workspace/resolve-plan-interaction.d.ts.map +1 -1
- package/dist/src/unstable/workspace/resolve-plan-interaction.js +1 -1
- package/dist/src/unstable/workspace/resolve-plan-interaction.js.map +1 -1
- package/dist/src/unstable/workspace/service-interface.d.ts +1 -3
- package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service-interface.js +1 -1
- package/dist/src/unstable/workspace/service-interface.js.map +1 -1
- package/dist/src/unstable/workspace/service.d.ts +46 -47
- package/dist/src/unstable/workspace/service.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service.js +24 -43
- package/dist/src/unstable/workspace/service.js.map +1 -1
- package/dist/src/unstable/workspace/skill-snapshot.js +1 -1
- package/dist/src/unstable/workspace/skill-snapshot.js.map +1 -1
- package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -1
- package/dist/src/unstable/workspace/test-stubs.js +0 -1
- package/dist/src/unstable/workspace/test-stubs.js.map +1 -1
- package/package.json +11 -11
- package/site-content/__generated__/schemas/command.schema.json +0 -6
- package/site-content/__generated__/schemas/skill.schema.json +1 -7
- package/dist/src/unstable/cli-runtime/command-document.d.ts +0 -12
- package/dist/src/unstable/cli-runtime/command-document.d.ts.map +0 -1
- package/dist/src/unstable/cli-runtime/command-document.js +0 -13
- package/dist/src/unstable/cli-runtime/command-document.js.map +0 -1
- package/dist/src/unstable/skills/operations/rename.d.ts +0 -34
- package/dist/src/unstable/skills/operations/rename.d.ts.map +0 -1
- package/dist/src/unstable/skills/operations/rename.js +0 -117
- package/dist/src/unstable/skills/operations/rename.js.map +0 -1
- package/dist/src/unstable/subagents/rendering/model-mapping.d.ts +0 -31
- package/dist/src/unstable/subagents/rendering/model-mapping.d.ts.map +0 -1
- package/dist/src/unstable/subagents/rendering/model-mapping.js +0 -127
- package/dist/src/unstable/subagents/rendering/model-mapping.js.map +0 -1
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.d.ts +0 -31
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.d.ts.map +0 -1
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.js +0 -169
- package/dist/src/unstable/subagents/rendering/tool-access-mapping.js.map +0 -1
- package/dist/src/unstable/subagents/tool-access.d.ts +0 -11
- package/dist/src/unstable/subagents/tool-access.d.ts.map +0 -1
- package/dist/src/unstable/subagents/tool-access.js +0 -15
- package/dist/src/unstable/subagents/tool-access.js.map +0 -1
|
@@ -6,25 +6,26 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @experimental This API is unstable and may change without notice.
|
|
8
8
|
*/
|
|
9
|
-
export type {
|
|
9
|
+
export type { AgentOverrides, RenderInput, RenderOutput, CommandRenderOutcome, CommandRendered, CommandSkipped, } from "./types.js";
|
|
10
|
+
export { rendered, skipped } from "./types.js";
|
|
10
11
|
export { renderMarkdownWithFrontmatter } from "./render-markdown-with-frontmatter.js";
|
|
11
12
|
export { renderMarkdownOnly } from "./render-markdown-only.js";
|
|
12
13
|
export { renderPromptMd } from "./render-prompt-md.js";
|
|
13
14
|
export { renderToml } from "./render-toml.js";
|
|
14
15
|
export { renderPlainText } from "./render-plain-text.js";
|
|
15
|
-
import type {
|
|
16
|
+
import type { CommandRenderOutcome, RenderInput } from "./types.js";
|
|
16
17
|
/**
|
|
17
18
|
* Renderer function signature shared by all format families.
|
|
18
19
|
*
|
|
19
20
|
* @experimental This API is unstable and may change without notice.
|
|
20
21
|
*/
|
|
21
|
-
export type Renderer = (input: RenderInput) =>
|
|
22
|
+
export type Renderer = (input: RenderInput) => CommandRenderOutcome;
|
|
22
23
|
/**
|
|
23
24
|
* Select the appropriate renderer for an agent ID.
|
|
24
25
|
*
|
|
25
|
-
* Returns
|
|
26
|
+
* Returns undefined when command rendering is not supported for an agent.
|
|
26
27
|
*
|
|
27
28
|
* @experimental This API is unstable and may change without notice.
|
|
28
29
|
*/
|
|
29
|
-
export declare const selectRenderer: (agentId: string) => Renderer;
|
|
30
|
+
export declare const selectRenderer: (agentId: string) => Renderer | undefined;
|
|
30
31
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,YAAY,EACV,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,YAAY,EACV,cAAc,EACd,WAAW,EACX,YAAY,EACZ,oBAAoB,EACpB,eAAe,EACf,cAAc,GACf,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAOzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEpE;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,oBAAoB,CAAC;AAmBpE;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,GAAI,SAAS,MAAM,KAAG,QAAQ,GAAG,SAAiC,CAAC"}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @experimental This API is unstable and may change without notice.
|
|
8
8
|
*/
|
|
9
|
+
export { rendered, skipped } from "./types.js";
|
|
9
10
|
export { renderMarkdownWithFrontmatter } from "./render-markdown-with-frontmatter.js";
|
|
10
11
|
export { renderMarkdownOnly } from "./render-markdown-only.js";
|
|
11
12
|
export { renderPromptMd } from "./render-prompt-md.js";
|
|
@@ -35,9 +36,9 @@ const rendererMap = {
|
|
|
35
36
|
/**
|
|
36
37
|
* Select the appropriate renderer for an agent ID.
|
|
37
38
|
*
|
|
38
|
-
* Returns
|
|
39
|
+
* Returns undefined when command rendering is not supported for an agent.
|
|
39
40
|
*
|
|
40
41
|
* @experimental This API is unstable and may change without notice.
|
|
41
42
|
*/
|
|
42
|
-
export const selectRenderer = (agentId) => rendererMap[agentId]
|
|
43
|
+
export const selectRenderer = (agentId) => rendererMap[agentId];
|
|
43
44
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAWH,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAUzD;;GAEG;AACH,MAAM,WAAW,GAAuC;IACtD,aAAa,EAAE,6BAA6B;IAC5C,KAAK,EAAE,6BAA6B;IACpC,QAAQ,EAAE,6BAA6B;IACvC,OAAO,EAAE,6BAA6B;IACtC,KAAK,EAAE,6BAA6B;IACpC,IAAI,EAAE,6BAA6B;IACnC,GAAG,EAAE,6BAA6B;IAClC,MAAM,EAAE,kBAAkB;IAC1B,gBAAgB,EAAE,cAAc;IAChC,YAAY,EAAE,UAAU;IACxB,UAAU,EAAE,eAAe;CAC5B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,OAAe,EAAwB,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type CommandRenderOutcome, type RenderInput } from "./types.js";
|
|
2
2
|
/**
|
|
3
3
|
* Render a command as plain Markdown without YAML frontmatter.
|
|
4
4
|
*
|
|
@@ -7,5 +7,5 @@ import type { RenderInput, RenderOutput } from "./types.js";
|
|
|
7
7
|
*
|
|
8
8
|
* @experimental This API is unstable and may change without notice.
|
|
9
9
|
*/
|
|
10
|
-
export declare const renderMarkdownOnly: (input: RenderInput) =>
|
|
10
|
+
export declare const renderMarkdownOnly: (input: RenderInput) => CommandRenderOutcome;
|
|
11
11
|
//# sourceMappingURL=render-markdown-only.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-markdown-only.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-markdown-only.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"render-markdown-only.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-markdown-only.ts"],"names":[],"mappings":"AAUA,OAAO,EAAY,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAEnF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAAI,OAAO,WAAW,KAAG,oBAWvD,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { substituteVariables } from "../variable-substitution.js";
|
|
2
|
+
import { rendered } from "./types.js";
|
|
2
3
|
/**
|
|
3
4
|
* Render a command as plain Markdown without YAML frontmatter.
|
|
4
5
|
*
|
|
@@ -9,35 +10,9 @@ import { substituteVariables } from "../variable-substitution.js";
|
|
|
9
10
|
*/
|
|
10
11
|
export const renderMarkdownOnly = (input) => {
|
|
11
12
|
const warnings = [];
|
|
12
|
-
const {
|
|
13
|
-
// Warn for unsupported frontmatter fields
|
|
14
|
-
if (frontmatter.model !== undefined && frontmatter.model !== null) {
|
|
15
|
-
warnings.push({
|
|
16
|
-
agent: agentId,
|
|
17
|
-
feature: "model",
|
|
18
|
-
message: "Cursor does not support model specification in commands",
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
if (frontmatter.allowedTools !== undefined && frontmatter.allowedTools !== null) {
|
|
22
|
-
warnings.push({
|
|
23
|
-
agent: agentId,
|
|
24
|
-
feature: "allowedTools",
|
|
25
|
-
message: "Cursor does not support allowed tools specification in commands",
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
if (frontmatter.isolatedContext === true) {
|
|
29
|
-
warnings.push({
|
|
30
|
-
agent: agentId,
|
|
31
|
-
feature: "isolatedContext",
|
|
32
|
-
message: "Cursor does not support isolated context in commands",
|
|
33
|
-
});
|
|
34
|
-
}
|
|
13
|
+
const { agentId } = input;
|
|
35
14
|
const { body: substitutedBody, warnings: subWarnings } = substituteVariables(input.body, agentId);
|
|
36
15
|
warnings.push(...subWarnings);
|
|
37
|
-
return {
|
|
38
|
-
content: substitutedBody,
|
|
39
|
-
warnings,
|
|
40
|
-
fileExtension: ".md",
|
|
41
|
-
};
|
|
16
|
+
return rendered([{ content: substitutedBody, relativePath: `${input.commandName}.md`, warnings }], warnings);
|
|
42
17
|
};
|
|
43
18
|
//# sourceMappingURL=render-markdown-only.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-markdown-only.js","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-markdown-only.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"render-markdown-only.js","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-markdown-only.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,QAAQ,EAA+C,MAAM,YAAY,CAAC;AAEnF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,KAAkB,EAAwB,EAAE;IAC7E,MAAM,QAAQ,GAAiC,EAAE,CAAC;IAClD,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE1B,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,mBAAmB,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAClG,QAAQ,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,CAAC;IAE9B,OAAO,QAAQ,CACb,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC,WAAW,KAAK,EAAE,QAAQ,EAAE,CAAC,EACjF,QAAQ,CACT,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @experimental This API is unstable and may change without notice.
|
|
8
8
|
*/
|
|
9
|
-
import type
|
|
9
|
+
import { type CommandRenderOutcome, type RenderInput } from "./types.js";
|
|
10
10
|
/**
|
|
11
11
|
* Render a command as Markdown with YAML frontmatter.
|
|
12
12
|
*
|
|
13
13
|
* @experimental This API is unstable and may change without notice.
|
|
14
14
|
*/
|
|
15
|
-
export declare const renderMarkdownWithFrontmatter: (input: RenderInput) =>
|
|
15
|
+
export declare const renderMarkdownWithFrontmatter: (input: RenderInput) => CommandRenderOutcome;
|
|
16
16
|
//# sourceMappingURL=render-markdown-with-frontmatter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-markdown-with-frontmatter.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-markdown-with-frontmatter.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"render-markdown-with-frontmatter.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-markdown-with-frontmatter.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,EAAY,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAEnF;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,GAAI,OAAO,WAAW,KAAG,oBAyBlE,CAAC"}
|
|
@@ -8,41 +8,8 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import YAML from "yaml";
|
|
10
10
|
import { substituteVariables } from "../variable-substitution.js";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
*/
|
|
14
|
-
const buildFrontmatterObject = (input) => {
|
|
15
|
-
const { frontmatter, agentOverrides } = input;
|
|
16
|
-
const fm = {};
|
|
17
|
-
if (frontmatter.description !== undefined) {
|
|
18
|
-
fm["description"] = frontmatter.description;
|
|
19
|
-
}
|
|
20
|
-
if (frontmatter.argumentHint !== undefined) {
|
|
21
|
-
fm["argument-hint"] = frontmatter.argumentHint;
|
|
22
|
-
}
|
|
23
|
-
if (frontmatter.allowedTools !== undefined && frontmatter.allowedTools !== null) {
|
|
24
|
-
fm["allowed-tools"] = [...frontmatter.allowedTools];
|
|
25
|
-
}
|
|
26
|
-
if (frontmatter.model !== undefined && frontmatter.model !== null) {
|
|
27
|
-
fm["model"] = frontmatter.model;
|
|
28
|
-
}
|
|
29
|
-
if (frontmatter.isolatedContext === true) {
|
|
30
|
-
fm["isolated-context"] = true;
|
|
31
|
-
}
|
|
32
|
-
if (frontmatter.autoInvocable !== undefined) {
|
|
33
|
-
fm["auto-invocable"] = frontmatter.autoInvocable;
|
|
34
|
-
}
|
|
35
|
-
if (frontmatter.userInvocable !== undefined) {
|
|
36
|
-
fm["user-invocable"] = frontmatter.userInvocable;
|
|
37
|
-
}
|
|
38
|
-
// Apply agent overrides — merge on top of computed frontmatter
|
|
39
|
-
if (agentOverrides !== undefined) {
|
|
40
|
-
for (const [key, value] of Object.entries(agentOverrides)) {
|
|
41
|
-
fm[key] = value;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
return Object.keys(fm).length > 0 ? fm : undefined;
|
|
45
|
-
};
|
|
11
|
+
import { applyOverrides } from "../../extensions/agent-overrides.js";
|
|
12
|
+
import { rendered } from "./types.js";
|
|
46
13
|
/**
|
|
47
14
|
* Render a command as Markdown with YAML frontmatter.
|
|
48
15
|
*
|
|
@@ -50,21 +17,17 @@ const buildFrontmatterObject = (input) => {
|
|
|
50
17
|
*/
|
|
51
18
|
export const renderMarkdownWithFrontmatter = (input) => {
|
|
52
19
|
const warnings = [];
|
|
53
|
-
const fmObject =
|
|
20
|
+
const fmObject = applyOverrides(input.frontmatter, input.agentOverrides);
|
|
54
21
|
const { body: substitutedBody, warnings: subWarnings } = substituteVariables(input.body, input.agentId);
|
|
55
22
|
warnings.push(...subWarnings);
|
|
56
23
|
const parts = [];
|
|
57
|
-
if (fmObject
|
|
24
|
+
if (Object.keys(fmObject).length > 0) {
|
|
58
25
|
const yamlStr = YAML.stringify(fmObject, { lineWidth: 0 }).trim();
|
|
59
26
|
parts.push(`---\n${yamlStr}\n---`);
|
|
60
27
|
}
|
|
61
28
|
if (substitutedBody.length > 0) {
|
|
62
29
|
parts.push(substitutedBody);
|
|
63
30
|
}
|
|
64
|
-
return {
|
|
65
|
-
content: parts.join("\n"),
|
|
66
|
-
warnings,
|
|
67
|
-
fileExtension: ".md",
|
|
68
|
-
};
|
|
31
|
+
return rendered([{ content: parts.join("\n"), relativePath: `${input.commandName}.md`, warnings }], warnings);
|
|
69
32
|
};
|
|
70
33
|
//# sourceMappingURL=render-markdown-with-frontmatter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-markdown-with-frontmatter.js","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-markdown-with-frontmatter.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"render-markdown-with-frontmatter.js","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-markdown-with-frontmatter.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAA+C,MAAM,YAAY,CAAC;AAEnF;;;;GAIG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,KAAkB,EAAwB,EAAE;IACxF,MAAM,QAAQ,GAAiC,EAAE,CAAC;IAClD,MAAM,QAAQ,GAAG,cAAc,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAEzE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,mBAAmB,CAC1E,KAAK,CAAC,IAAI,EACV,KAAK,CAAC,OAAO,CACd,CAAC;IACF,QAAQ,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,CAAC;IAE9B,MAAM,KAAK,GAAkB,EAAE,CAAC;IAEhC,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACrC,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QAClE,KAAK,CAAC,IAAI,CAAC,QAAQ,OAAO,OAAO,CAAC,CAAC;IACrC,CAAC;IAED,IAAI,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC/B,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAC9B,CAAC;IAED,OAAO,QAAQ,CACb,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC,WAAW,KAAK,EAAE,QAAQ,EAAE,CAAC,EAClF,QAAQ,CACT,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type CommandRenderOutcome, type RenderInput } from "./types.js";
|
|
2
2
|
/**
|
|
3
3
|
* Render a command as plain text for Kiro.
|
|
4
4
|
*
|
|
@@ -7,5 +7,5 @@ import type { RenderInput, RenderOutput } from "./types.js";
|
|
|
7
7
|
*
|
|
8
8
|
* @experimental This API is unstable and may change without notice.
|
|
9
9
|
*/
|
|
10
|
-
export declare const renderPlainText: (input: RenderInput) =>
|
|
10
|
+
export declare const renderPlainText: (input: RenderInput) => CommandRenderOutcome;
|
|
11
11
|
//# sourceMappingURL=render-plain-text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-plain-text.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-plain-text.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"render-plain-text.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-plain-text.ts"],"names":[],"mappings":"AAYA,OAAO,EAAY,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAEnF;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,WAAW,KAAG,oBAqBpD,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { substituteVariables } from "../variable-substitution.js";
|
|
2
|
+
import { applyOverrides } from "../../extensions/agent-overrides.js";
|
|
3
|
+
import { rendered } from "./types.js";
|
|
2
4
|
/**
|
|
3
5
|
* Render a command as plain text for Kiro.
|
|
4
6
|
*
|
|
@@ -9,43 +11,18 @@ import { substituteVariables } from "../variable-substitution.js";
|
|
|
9
11
|
*/
|
|
10
12
|
export const renderPlainText = (input) => {
|
|
11
13
|
const warnings = [];
|
|
12
|
-
const {
|
|
13
|
-
|
|
14
|
-
if (
|
|
14
|
+
const { agentId } = input;
|
|
15
|
+
const mergedFrontmatter = applyOverrides(input.frontmatter, input.agentOverrides);
|
|
16
|
+
if (Object.keys(mergedFrontmatter).length > 0) {
|
|
15
17
|
warnings.push({
|
|
16
18
|
agent: agentId,
|
|
17
|
-
feature: "
|
|
18
|
-
message: "Kiro
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
if (frontmatter.allowedTools !== undefined && frontmatter.allowedTools !== null) {
|
|
22
|
-
warnings.push({
|
|
23
|
-
agent: agentId,
|
|
24
|
-
feature: "allowedTools",
|
|
25
|
-
message: "Kiro does not support allowed tools in commands",
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
if (frontmatter.isolatedContext === true) {
|
|
29
|
-
warnings.push({
|
|
30
|
-
agent: agentId,
|
|
31
|
-
feature: "isolatedContext",
|
|
32
|
-
message: "Kiro does not support isolated context in commands",
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
if (frontmatter.arguments !== undefined && frontmatter.arguments.length > 0) {
|
|
36
|
-
warnings.push({
|
|
37
|
-
agent: agentId,
|
|
38
|
-
feature: "arguments",
|
|
39
|
-
message: "Kiro does not support command arguments",
|
|
19
|
+
feature: "frontmatter",
|
|
20
|
+
message: "Kiro CLI prompt files are plain text; command frontmatter is not rendered",
|
|
40
21
|
});
|
|
41
22
|
}
|
|
42
23
|
// Variable substitution for kiro renders as literal text + warnings
|
|
43
24
|
const { body: substitutedBody, warnings: subWarnings } = substituteVariables(input.body, agentId);
|
|
44
25
|
warnings.push(...subWarnings);
|
|
45
|
-
return {
|
|
46
|
-
content: substitutedBody,
|
|
47
|
-
warnings,
|
|
48
|
-
fileExtension: ".txt",
|
|
49
|
-
};
|
|
26
|
+
return rendered([{ content: substitutedBody, relativePath: `${input.commandName}.txt`, warnings }], warnings);
|
|
50
27
|
};
|
|
51
28
|
//# sourceMappingURL=render-plain-text.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-plain-text.js","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-plain-text.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"render-plain-text.js","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-plain-text.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAA+C,MAAM,YAAY,CAAC;AAEnF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAkB,EAAwB,EAAE;IAC1E,MAAM,QAAQ,GAAiC,EAAE,CAAC;IAClD,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC1B,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAElF,IAAI,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC9C,QAAQ,CAAC,IAAI,CAAC;YACZ,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,aAAa;YACtB,OAAO,EAAE,2EAA2E;SACrF,CAAC,CAAC;IACL,CAAC;IAED,oEAAoE;IACpE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,mBAAmB,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAClG,QAAQ,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,CAAC;IAE9B,OAAO,QAAQ,CACb,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC,WAAW,MAAM,EAAE,QAAQ,EAAE,CAAC,EAClF,QAAQ,CACT,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @experimental This API is unstable and may change without notice.
|
|
8
8
|
*/
|
|
9
|
-
import type
|
|
9
|
+
import { type CommandRenderOutcome, type RenderInput } from "./types.js";
|
|
10
10
|
/**
|
|
11
11
|
* Render a command as `.prompt.md` for Copilot.
|
|
12
12
|
*
|
|
@@ -15,5 +15,5 @@ import type { RenderInput, RenderOutput } from "./types.js";
|
|
|
15
15
|
*
|
|
16
16
|
* @experimental This API is unstable and may change without notice.
|
|
17
17
|
*/
|
|
18
|
-
export declare const renderPromptMd: (input: RenderInput) =>
|
|
18
|
+
export declare const renderPromptMd: (input: RenderInput) => CommandRenderOutcome;
|
|
19
19
|
//# sourceMappingURL=render-prompt-md.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-prompt-md.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-prompt-md.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"render-prompt-md.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-prompt-md.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,EAAY,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAEnF;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,WAAW,KAAG,oBAuBnD,CAAC"}
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import YAML from "yaml";
|
|
10
10
|
import { substituteVariables } from "../variable-substitution.js";
|
|
11
|
+
import { applyOverrides } from "../../extensions/agent-overrides.js";
|
|
12
|
+
import { rendered } from "./types.js";
|
|
11
13
|
/**
|
|
12
14
|
* Render a command as `.prompt.md` for Copilot.
|
|
13
15
|
*
|
|
@@ -18,34 +20,8 @@ import { substituteVariables } from "../variable-substitution.js";
|
|
|
18
20
|
*/
|
|
19
21
|
export const renderPromptMd = (input) => {
|
|
20
22
|
const warnings = [];
|
|
21
|
-
const {
|
|
22
|
-
const fm =
|
|
23
|
-
if (frontmatter.description !== undefined) {
|
|
24
|
-
fm["description"] = frontmatter.description;
|
|
25
|
-
}
|
|
26
|
-
// Copilot uses "mode" for model-like behavior
|
|
27
|
-
if (frontmatter.model !== undefined && frontmatter.model !== null) {
|
|
28
|
-
fm["model"] = frontmatter.model;
|
|
29
|
-
}
|
|
30
|
-
if (frontmatter.argumentHint !== undefined) {
|
|
31
|
-
fm["argument-hint"] = frontmatter.argumentHint;
|
|
32
|
-
}
|
|
33
|
-
if (frontmatter.allowedTools !== undefined && frontmatter.allowedTools !== null) {
|
|
34
|
-
fm["tools"] = [...frontmatter.allowedTools];
|
|
35
|
-
}
|
|
36
|
-
if (frontmatter.isolatedContext === true) {
|
|
37
|
-
warnings.push({
|
|
38
|
-
agent: agentId,
|
|
39
|
-
feature: "isolatedContext",
|
|
40
|
-
message: "Copilot does not support isolated context in commands",
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
// Apply agent overrides
|
|
44
|
-
if (input.agentOverrides !== undefined) {
|
|
45
|
-
for (const [key, value] of Object.entries(input.agentOverrides)) {
|
|
46
|
-
fm[key] = value;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
23
|
+
const { agentId } = input;
|
|
24
|
+
const fm = applyOverrides(input.frontmatter, input.agentOverrides);
|
|
49
25
|
const { body: substitutedBody, warnings: subWarnings } = substituteVariables(input.body, agentId);
|
|
50
26
|
warnings.push(...subWarnings);
|
|
51
27
|
const parts = [];
|
|
@@ -56,10 +32,6 @@ export const renderPromptMd = (input) => {
|
|
|
56
32
|
if (substitutedBody.length > 0) {
|
|
57
33
|
parts.push(substitutedBody);
|
|
58
34
|
}
|
|
59
|
-
return {
|
|
60
|
-
content: parts.join("\n"),
|
|
61
|
-
warnings,
|
|
62
|
-
fileExtension: ".prompt.md",
|
|
63
|
-
};
|
|
35
|
+
return rendered([{ content: parts.join("\n"), relativePath: `${input.commandName}.prompt.md`, warnings }], warnings);
|
|
64
36
|
};
|
|
65
37
|
//# sourceMappingURL=render-prompt-md.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-prompt-md.js","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-prompt-md.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"render-prompt-md.js","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-prompt-md.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAA+C,MAAM,YAAY,CAAC;AAEnF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAkB,EAAwB,EAAE;IACzE,MAAM,QAAQ,GAAiC,EAAE,CAAC;IAClD,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC1B,MAAM,EAAE,GAAG,cAAc,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAEnE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,mBAAmB,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAClG,QAAQ,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,CAAC;IAE9B,MAAM,KAAK,GAAkB,EAAE,CAAC;IAEhC,IAAI,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC/B,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QAC5D,KAAK,CAAC,IAAI,CAAC,QAAQ,OAAO,OAAO,CAAC,CAAC;IACrC,CAAC;IAED,IAAI,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC/B,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAC9B,CAAC;IAED,OAAO,QAAQ,CACb,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC,WAAW,YAAY,EAAE,QAAQ,EAAE,CAAC,EACzF,QAAQ,CACT,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -2,18 +2,17 @@
|
|
|
2
2
|
* TOML renderer for Gemini CLI.
|
|
3
3
|
*
|
|
4
4
|
* For: Gemini CLI.
|
|
5
|
-
* Produces `.toml` with
|
|
5
|
+
* Produces `.toml` with opaque frontmatter fields and `prompt`.
|
|
6
6
|
*
|
|
7
7
|
* @experimental This API is unstable and may change without notice.
|
|
8
8
|
*/
|
|
9
|
-
import type
|
|
9
|
+
import { type CommandRenderOutcome, type RenderInput } from "./types.js";
|
|
10
10
|
/**
|
|
11
11
|
* Render a command as TOML for Gemini CLI.
|
|
12
12
|
*
|
|
13
|
-
* Gemini CLI
|
|
14
|
-
* Most portable frontmatter fields have no TOML equivalent and emit warnings.
|
|
13
|
+
* Gemini CLI maps nested command filenames to `:` namespaces.
|
|
15
14
|
*
|
|
16
15
|
* @experimental This API is unstable and may change without notice.
|
|
17
16
|
*/
|
|
18
|
-
export declare const renderToml: (input: RenderInput) =>
|
|
17
|
+
export declare const renderToml: (input: RenderInput) => CommandRenderOutcome;
|
|
19
18
|
//# sourceMappingURL=render-toml.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-toml.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-toml.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"render-toml.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-toml.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,EAAY,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAyCnF;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,WAAW,KAAG,oBAc/C,CAAC"}
|
|
@@ -2,74 +2,59 @@
|
|
|
2
2
|
* TOML renderer for Gemini CLI.
|
|
3
3
|
*
|
|
4
4
|
* For: Gemini CLI.
|
|
5
|
-
* Produces `.toml` with
|
|
5
|
+
* Produces `.toml` with opaque frontmatter fields and `prompt`.
|
|
6
6
|
*
|
|
7
7
|
* @experimental This API is unstable and may change without notice.
|
|
8
8
|
*/
|
|
9
9
|
import { substituteVariables } from "../variable-substitution.js";
|
|
10
|
+
import { applyOverrides } from "../../extensions/agent-overrides.js";
|
|
11
|
+
import { rendered } from "./types.js";
|
|
10
12
|
/**
|
|
11
|
-
*
|
|
12
|
-
* Uses triple-quoted strings for multiline content, regular quotes otherwise.
|
|
13
|
+
* Serialize TOML values for Gemini command files.
|
|
13
14
|
*/
|
|
14
|
-
const
|
|
15
|
-
if (value
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
const tomlValue = (value) => {
|
|
16
|
+
if (typeof value === "boolean" || typeof value === "number")
|
|
17
|
+
return String(value);
|
|
18
|
+
if (Array.isArray(value)) {
|
|
19
|
+
return `[${value.map((entry) => tomlValue(entry)).join(", ")}]`;
|
|
18
20
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
const str = typeof value === "string" ? value : String(value);
|
|
22
|
+
if (str.includes("\n"))
|
|
23
|
+
return `"""\n${str.replace(/"""/g, '"\\"\\""')}"""`;
|
|
24
|
+
return `"${str.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
|
|
25
|
+
};
|
|
26
|
+
const isPlainObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
27
|
+
const tomlKey = (key) => /^[A-Za-z0-9_-]+$/.test(key) ? key : `"${key.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
|
|
28
|
+
const tomlLines = (object, path = []) => {
|
|
29
|
+
const scalarLines = [];
|
|
30
|
+
const tableLines = [];
|
|
31
|
+
for (const [key, value] of Object.entries(object)) {
|
|
32
|
+
if (isPlainObject(value)) {
|
|
33
|
+
const childPath = [...path, key];
|
|
34
|
+
tableLines.push("", `[${childPath.map((part) => tomlKey(part)).join(".")}]`);
|
|
35
|
+
tableLines.push(...tomlLines(value, childPath));
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
scalarLines.push(`${tomlKey(key)} = ${tomlValue(value)}`);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return [...scalarLines, ...tableLines];
|
|
21
42
|
};
|
|
22
43
|
/**
|
|
23
44
|
* Render a command as TOML for Gemini CLI.
|
|
24
45
|
*
|
|
25
|
-
* Gemini CLI
|
|
26
|
-
* Most portable frontmatter fields have no TOML equivalent and emit warnings.
|
|
46
|
+
* Gemini CLI maps nested command filenames to `:` namespaces.
|
|
27
47
|
*
|
|
28
48
|
* @experimental This API is unstable and may change without notice.
|
|
29
49
|
*/
|
|
30
50
|
export const renderToml = (input) => {
|
|
31
51
|
const warnings = [];
|
|
32
|
-
const {
|
|
33
|
-
// Warn for unsupported features
|
|
34
|
-
if (frontmatter.model !== undefined && frontmatter.model !== null) {
|
|
35
|
-
warnings.push({
|
|
36
|
-
agent: agentId,
|
|
37
|
-
feature: "model",
|
|
38
|
-
message: "Gemini CLI TOML format does not support model specification",
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
if (frontmatter.allowedTools !== undefined && frontmatter.allowedTools !== null) {
|
|
42
|
-
warnings.push({
|
|
43
|
-
agent: agentId,
|
|
44
|
-
feature: "allowedTools",
|
|
45
|
-
message: "Gemini CLI TOML format does not support allowed tools",
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
if (frontmatter.isolatedContext === true) {
|
|
49
|
-
warnings.push({
|
|
50
|
-
agent: agentId,
|
|
51
|
-
feature: "isolatedContext",
|
|
52
|
-
message: "Gemini CLI TOML format does not support isolated context",
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
if (frontmatter.arguments !== undefined && frontmatter.arguments.length > 0) {
|
|
56
|
-
warnings.push({
|
|
57
|
-
agent: agentId,
|
|
58
|
-
feature: "arguments",
|
|
59
|
-
message: "Gemini CLI has limited support for command arguments",
|
|
60
|
-
});
|
|
61
|
-
}
|
|
52
|
+
const { agentId } = input;
|
|
62
53
|
const { body: substitutedBody, warnings: subWarnings } = substituteVariables(input.body, agentId);
|
|
63
54
|
warnings.push(...subWarnings);
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
lines.push(`prompt = ${tomlStringValue(substitutedBody)}`);
|
|
69
|
-
return {
|
|
70
|
-
content: lines.join("\n"),
|
|
71
|
-
warnings,
|
|
72
|
-
fileExtension: ".toml",
|
|
73
|
-
};
|
|
55
|
+
const frontmatter = applyOverrides(input.frontmatter, input.agentOverrides);
|
|
56
|
+
const frontmatterWithoutPrompt = Object.fromEntries(Object.entries(frontmatter).filter(([key]) => key !== "prompt"));
|
|
57
|
+
const content = tomlLines({ ...frontmatterWithoutPrompt, prompt: substitutedBody }).join("\n");
|
|
58
|
+
return rendered([{ content, relativePath: `${input.commandName}.toml`, warnings }], warnings);
|
|
74
59
|
};
|
|
75
60
|
//# sourceMappingURL=render-toml.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-toml.js","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-toml.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"render-toml.js","sourceRoot":"","sources":["../../../../../src/unstable/commands/renderers/render-toml.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAA+C,MAAM,YAAY,CAAC;AAEnF;;GAEG;AACH,MAAM,SAAS,GAAG,CAAC,KAAc,EAAU,EAAE;IAC3C,IAAI,OAAO,KAAK,KAAK,SAAS,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IAClF,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;IAClE,CAAC;IACD,MAAM,GAAG,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC9D,IAAI,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,QAAQ,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC;IAC5E,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC;AAChE,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,KAAc,EAA8C,EAAE,CACnF,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAEvE,MAAM,OAAO,GAAG,CAAC,GAAW,EAAU,EAAE,CACtC,kBAAkB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC;AAE9F,MAAM,SAAS,GAAG,CAChB,MAAyC,EACzC,OAA8B,EAAE,EACT,EAAE;IACzB,MAAM,WAAW,GAAkB,EAAE,CAAC;IACtC,MAAM,UAAU,GAAkB,EAAE,CAAC;IAErC,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QAClD,IAAI,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;YACzB,MAAM,SAAS,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC,CAAC;YACjC,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC7E,UAAU,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC;QAClD,CAAC;aAAM,CAAC;YACN,WAAW,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAC5D,CAAC;IACH,CAAC;IAED,OAAO,CAAC,GAAG,WAAW,EAAE,GAAG,UAAU,CAAC,CAAC;AACzC,CAAC,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAkB,EAAwB,EAAE;IACrE,MAAM,QAAQ,GAAiC,EAAE,CAAC;IAClD,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE1B,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,mBAAmB,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAClG,QAAQ,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,CAAC;IAE9B,MAAM,WAAW,GAAG,cAAc,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAC5E,MAAM,wBAAwB,GAAG,MAAM,CAAC,WAAW,CACjD,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,GAAG,KAAK,QAAQ,CAAC,CAChE,CAAC;IACF,MAAM,OAAO,GAAG,SAAS,CAAC,EAAE,GAAG,wBAAwB,EAAE,MAAM,EAAE,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAE/F,OAAO,QAAQ,CAAC,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC,WAAW,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,CAAC,CAAC;AAChG,CAAC,CAAC"}
|