@axm.sh/cli 0.0.6 → 0.0.8
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/agents/claude-code/descriptor.d.ts.map +1 -1
- package/dist/src/agents/claude-code/descriptor.js +0 -2
- package/dist/src/agents/claude-code/descriptor.js.map +1 -1
- package/dist/src/agents/claude-code/index.d.ts +0 -2
- package/dist/src/agents/claude-code/index.d.ts.map +1 -1
- package/dist/src/agents/claude-code/index.js +0 -2
- package/dist/src/agents/claude-code/index.js.map +1 -1
- package/dist/src/agents/codex/descriptor.d.ts.map +1 -1
- package/dist/src/agents/codex/descriptor.js +0 -2
- package/dist/src/agents/codex/descriptor.js.map +1 -1
- package/dist/src/agents/codex/index.d.ts +0 -2
- package/dist/src/agents/codex/index.d.ts.map +1 -1
- package/dist/src/agents/codex/index.js +0 -2
- package/dist/src/agents/codex/index.js.map +1 -1
- package/dist/src/agents/continue/descriptor.d.ts.map +1 -1
- package/dist/src/agents/continue/descriptor.js +0 -2
- package/dist/src/agents/continue/descriptor.js.map +1 -1
- package/dist/src/agents/continue/index.d.ts +0 -1
- package/dist/src/agents/continue/index.d.ts.map +1 -1
- package/dist/src/agents/continue/index.js +0 -1
- package/dist/src/agents/continue/index.js.map +1 -1
- package/dist/src/agents/cursor/descriptor.d.ts.map +1 -1
- package/dist/src/agents/cursor/descriptor.js +0 -2
- package/dist/src/agents/cursor/descriptor.js.map +1 -1
- package/dist/src/agents/cursor/index.d.ts +0 -1
- package/dist/src/agents/cursor/index.d.ts.map +1 -1
- package/dist/src/agents/cursor/index.js +0 -1
- package/dist/src/agents/cursor/index.js.map +1 -1
- package/dist/src/agents/detection.d.ts +13 -55
- package/dist/src/agents/detection.d.ts.map +1 -1
- package/dist/src/agents/detection.js +27 -84
- package/dist/src/agents/detection.js.map +1 -1
- package/dist/src/agents/index.d.ts +1 -3
- package/dist/src/agents/index.d.ts.map +1 -1
- package/dist/src/agents/index.js +1 -4
- package/dist/src/agents/index.js.map +1 -1
- package/dist/src/agents/opencode/descriptor.d.ts.map +1 -1
- package/dist/src/agents/opencode/descriptor.js +0 -2
- package/dist/src/agents/opencode/descriptor.js.map +1 -1
- package/dist/src/agents/opencode/index.d.ts +0 -1
- package/dist/src/agents/opencode/index.d.ts.map +1 -1
- package/dist/src/agents/opencode/index.js +0 -1
- package/dist/src/agents/opencode/index.js.map +1 -1
- package/dist/src/agents/types.d.ts +1 -16
- package/dist/src/agents/types.d.ts.map +1 -1
- package/dist/src/agents/windsurf/descriptor.d.ts.map +1 -1
- package/dist/src/agents/windsurf/descriptor.js +0 -2
- package/dist/src/agents/windsurf/descriptor.js.map +1 -1
- package/dist/src/agents/windsurf/index.d.ts +0 -1
- package/dist/src/agents/windsurf/index.d.ts.map +1 -1
- package/dist/src/agents/windsurf/index.js +0 -1
- package/dist/src/agents/windsurf/index.js.map +1 -1
- package/dist/src/cli-commands/init/handler.d.ts +1 -1
- package/dist/src/cli-commands/init/handler.d.ts.map +1 -1
- package/dist/src/cli-commands/init/handler.js +1 -1
- package/dist/src/cli-commands/init/handler.js.map +1 -1
- package/dist/src/cli-commands/skills/command.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/command.js +6 -0
- package/dist/src/cli-commands/skills/command.js.map +1 -1
- package/dist/src/cli-commands/skills/constants.d.ts +9 -0
- package/dist/src/cli-commands/skills/constants.d.ts.map +1 -0
- package/dist/src/cli-commands/skills/constants.js +9 -0
- package/dist/src/cli-commands/skills/constants.js.map +1 -0
- package/dist/src/cli-commands/skills/copy-skill.d.ts +1 -1
- package/dist/src/cli-commands/skills/copy-skill.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/copy-skill.js +11 -24
- package/dist/src/cli-commands/skills/copy-skill.js.map +1 -1
- package/dist/src/cli-commands/skills/disable/command.d.ts +15 -0
- package/dist/src/cli-commands/skills/disable/command.d.ts.map +1 -0
- package/dist/src/cli-commands/skills/disable/command.js +56 -0
- package/dist/src/cli-commands/skills/disable/command.js.map +1 -0
- package/dist/src/cli-commands/skills/disable/disable-skill.d.ts +25 -0
- package/dist/src/cli-commands/skills/disable/disable-skill.d.ts.map +1 -0
- package/dist/src/cli-commands/skills/disable/disable-skill.js +101 -0
- package/dist/src/cli-commands/skills/disable/disable-skill.js.map +1 -0
- package/dist/src/cli-commands/skills/disable/handler.d.ts +18 -0
- package/dist/src/cli-commands/skills/disable/handler.d.ts.map +1 -0
- package/dist/src/cli-commands/skills/disable/handler.js +72 -0
- package/dist/src/cli-commands/skills/disable/handler.js.map +1 -0
- package/dist/src/cli-commands/skills/enable/command.d.ts +15 -0
- package/dist/src/cli-commands/skills/enable/command.d.ts.map +1 -0
- package/dist/src/cli-commands/skills/enable/command.js +56 -0
- package/dist/src/cli-commands/skills/enable/command.js.map +1 -0
- package/dist/src/cli-commands/skills/enable/enable-skill.d.ts +26 -0
- package/dist/src/cli-commands/skills/enable/enable-skill.d.ts.map +1 -0
- package/dist/src/cli-commands/skills/enable/enable-skill.js +138 -0
- package/dist/src/cli-commands/skills/enable/enable-skill.js.map +1 -0
- package/dist/src/cli-commands/skills/enable/handler.d.ts +18 -0
- package/dist/src/cli-commands/skills/enable/handler.d.ts.map +1 -0
- package/dist/src/cli-commands/skills/enable/handler.js +72 -0
- package/dist/src/cli-commands/skills/enable/handler.js.map +1 -0
- package/dist/src/cli-commands/skills/fork/handler.d.ts +4 -13
- package/dist/src/cli-commands/skills/fork/handler.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/fork/handler.js +37 -29
- package/dist/src/cli-commands/skills/fork/handler.js.map +1 -1
- package/dist/src/cli-commands/skills/fs-helpers.d.ts +12 -0
- package/dist/src/cli-commands/skills/fs-helpers.d.ts.map +1 -0
- package/dist/src/cli-commands/skills/fs-helpers.js +12 -0
- package/dist/src/cli-commands/skills/fs-helpers.js.map +1 -0
- package/dist/src/cli-commands/skills/install/discover-skills.d.ts +3 -18
- package/dist/src/cli-commands/skills/install/discover-skills.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/install/discover-skills.js +7 -20
- package/dist/src/cli-commands/skills/install/discover-skills.js.map +1 -1
- package/dist/src/cli-commands/skills/install/handler.d.ts +1 -16
- package/dist/src/cli-commands/skills/install/handler.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/install/handler.js +20 -27
- package/dist/src/cli-commands/skills/install/handler.js.map +1 -1
- package/dist/src/cli-commands/skills/install/install-skill.d.ts +1 -1
- package/dist/src/cli-commands/skills/install/install-skill.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/install/install-skill.js +12 -18
- package/dist/src/cli-commands/skills/install/install-skill.js.map +1 -1
- package/dist/src/cli-commands/skills/install/select-skills.d.ts +4 -5
- package/dist/src/cli-commands/skills/install/select-skills.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/install/select-skills.js +13 -13
- package/dist/src/cli-commands/skills/install/select-skills.js.map +1 -1
- package/dist/src/cli-commands/skills/install/skill-utils.d.ts +1 -6
- package/dist/src/cli-commands/skills/install/skill-utils.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/install/skill-utils.js +8 -4
- package/dist/src/cli-commands/skills/install/skill-utils.js.map +1 -1
- package/dist/src/cli-commands/skills/list/handler.d.ts +1 -1
- package/dist/src/cli-commands/skills/list/handler.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/list/handler.js +1 -1
- package/dist/src/cli-commands/skills/list/handler.js.map +1 -1
- package/dist/src/cli-commands/skills/naming.d.ts +17 -0
- package/dist/src/cli-commands/skills/naming.d.ts.map +1 -0
- package/dist/src/cli-commands/skills/naming.js +20 -0
- package/dist/src/cli-commands/skills/naming.js.map +1 -0
- package/dist/src/cli-commands/skills/operations.d.ts +25 -1
- package/dist/src/cli-commands/skills/operations.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/publish/handler.d.ts +1 -10
- package/dist/src/cli-commands/skills/publish/handler.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/publish/handler.js +31 -47
- package/dist/src/cli-commands/skills/publish/handler.js.map +1 -1
- package/dist/src/cli-commands/skills/publish-skill.d.ts +1 -1
- package/dist/src/cli-commands/skills/publish-skill.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/publish-skill.js +37 -52
- package/dist/src/cli-commands/skills/publish-skill.js.map +1 -1
- package/dist/src/cli-commands/skills/rename/command.d.ts +16 -0
- package/dist/src/cli-commands/skills/rename/command.d.ts.map +1 -0
- package/dist/src/cli-commands/skills/rename/command.js +62 -0
- package/dist/src/cli-commands/skills/rename/command.js.map +1 -0
- package/dist/src/cli-commands/skills/rename/handler.d.ts +20 -0
- package/dist/src/cli-commands/skills/rename/handler.d.ts.map +1 -0
- package/dist/src/cli-commands/skills/rename/handler.js +77 -0
- package/dist/src/cli-commands/skills/rename/handler.js.map +1 -0
- package/dist/src/cli-commands/skills/rename/rename-skill.d.ts +25 -0
- package/dist/src/cli-commands/skills/rename/rename-skill.d.ts.map +1 -0
- package/dist/src/cli-commands/skills/rename/rename-skill.js +110 -0
- package/dist/src/cli-commands/skills/rename/rename-skill.js.map +1 -0
- package/dist/src/cli-commands/skills/uninstall/handler.d.ts +1 -1
- package/dist/src/cli-commands/skills/uninstall/handler.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/uninstall/handler.js +12 -1
- package/dist/src/cli-commands/skills/uninstall/handler.js.map +1 -1
- package/dist/src/cli-commands/skills/uninstall/uninstall-skill.d.ts +1 -1
- package/dist/src/cli-commands/skills/uninstall/uninstall-skill.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/uninstall/uninstall-skill.js +14 -23
- package/dist/src/cli-commands/skills/uninstall/uninstall-skill.js.map +1 -1
- package/dist/src/cli-commands/skills/update/build-plan.d.ts +7 -2
- package/dist/src/cli-commands/skills/update/build-plan.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/update/build-plan.js +28 -20
- package/dist/src/cli-commands/skills/update/build-plan.js.map +1 -1
- package/dist/src/cli-commands/skills/update/handler.d.ts +11 -20
- package/dist/src/cli-commands/skills/update/handler.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/update/handler.js +161 -90
- package/dist/src/cli-commands/skills/update/handler.js.map +1 -1
- package/dist/src/cli-commands/skills/utils.d.ts +2 -16
- package/dist/src/cli-commands/skills/utils.d.ts.map +1 -1
- package/dist/src/cli-commands/skills/utils.js +36 -20
- package/dist/src/cli-commands/skills/utils.js.map +1 -1
- package/dist/src/cli-error/cli-error.d.ts +21 -0
- package/dist/src/cli-error/cli-error.d.ts.map +1 -0
- package/dist/src/cli-error/cli-error.js +12 -0
- package/dist/src/cli-error/cli-error.js.map +1 -0
- package/dist/src/cli-error/index.d.ts +3 -0
- package/dist/src/cli-error/index.d.ts.map +1 -0
- package/dist/src/cli-error/index.js +3 -0
- package/dist/src/cli-error/index.js.map +1 -0
- package/dist/src/cli-error/render.d.ts +4 -0
- package/dist/src/cli-error/render.d.ts.map +1 -0
- package/dist/src/cli-error/render.js +25 -0
- package/dist/src/cli-error/render.js.map +1 -0
- package/dist/src/extensions/skills/index.d.ts +0 -5
- package/dist/src/extensions/skills/index.d.ts.map +1 -1
- package/dist/src/extensions/skills/index.js +1 -4
- package/dist/src/extensions/skills/index.js.map +1 -1
- package/dist/src/extensions/skills/state/index.d.ts +2 -2
- package/dist/src/extensions/skills/state/index.d.ts.map +1 -1
- package/dist/src/extensions/skills/state/index.js +1 -1
- package/dist/src/extensions/skills/state/index.js.map +1 -1
- package/dist/src/extensions/skills/state/pure-functions.d.ts +4 -29
- package/dist/src/extensions/skills/state/pure-functions.d.ts.map +1 -1
- package/dist/src/extensions/skills/state/pure-functions.js +4 -37
- package/dist/src/extensions/skills/state/pure-functions.js.map +1 -1
- package/dist/src/extensions/skills/state/types.d.ts +0 -1
- package/dist/src/extensions/skills/state/types.d.ts.map +1 -1
- package/dist/src/extensions/skills/state/types.js.map +1 -1
- package/dist/src/extensions/skills/types.d.ts +0 -40
- package/dist/src/extensions/skills/types.d.ts.map +1 -1
- package/dist/src/extensions/skills/types.js +0 -1
- package/dist/src/extensions/skills/types.js.map +1 -1
- package/dist/src/git/errors.d.ts +1 -2
- package/dist/src/git/errors.d.ts.map +1 -1
- package/dist/src/git/errors.js +0 -1
- package/dist/src/git/errors.js.map +1 -1
- package/dist/src/git/index.d.ts +0 -1
- package/dist/src/git/index.d.ts.map +1 -1
- package/dist/src/git/index.js +0 -1
- package/dist/src/git/index.js.map +1 -1
- package/dist/src/git/operations.d.ts +7 -7
- package/dist/src/git/operations.d.ts.map +1 -1
- package/dist/src/git/operations.js +22 -19
- package/dist/src/git/operations.js.map +1 -1
- package/dist/src/lockfile/index.d.ts +1 -2
- package/dist/src/lockfile/index.d.ts.map +1 -1
- package/dist/src/lockfile/index.js +2 -1
- package/dist/src/lockfile/index.js.map +1 -1
- package/dist/src/lockfile/lockfile.d.ts +77 -51
- package/dist/src/lockfile/lockfile.d.ts.map +1 -1
- package/dist/src/lockfile/lockfile.js +27 -51
- package/dist/src/lockfile/lockfile.js.map +1 -1
- package/dist/src/resolution/index.d.ts +0 -1
- package/dist/src/resolution/index.d.ts.map +1 -1
- package/dist/src/resolution/index.js +0 -2
- package/dist/src/resolution/index.js.map +1 -1
- package/dist/src/resolution/resolver.d.ts +2 -2
- package/dist/src/resolution/resolver.d.ts.map +1 -1
- package/dist/src/resolution/resolver.js +1 -1
- package/dist/src/resolution/resolver.js.map +1 -1
- package/dist/src/resolution/resolvers/ambiguous.js +1 -1
- package/dist/src/resolution/resolvers/ambiguous.js.map +1 -1
- package/dist/src/resolution/resolvers/axm-name.d.ts.map +1 -1
- package/dist/src/resolution/resolvers/axm-name.js +1 -1
- package/dist/src/resolution/resolvers/axm-name.js.map +1 -1
- package/dist/src/resolution/resolvers/bare-name.js +1 -1
- package/dist/src/resolution/resolvers/bare-name.js.map +1 -1
- package/dist/src/resolution/resolvers/explicit-source.d.ts.map +1 -1
- package/dist/src/resolution/resolvers/explicit-source.js +1 -1
- package/dist/src/resolution/resolvers/explicit-source.js.map +1 -1
- package/dist/src/resolution/resolvers/local-path.d.ts.map +1 -1
- package/dist/src/resolution/resolvers/local-path.js +1 -1
- package/dist/src/resolution/resolvers/local-path.js.map +1 -1
- package/dist/src/resolution/resolvers/url.d.ts.map +1 -1
- package/dist/src/resolution/resolvers/url.js +1 -1
- package/dist/src/resolution/resolvers/url.js.map +1 -1
- package/dist/src/runtime/error-handling.d.ts +10 -0
- package/dist/src/runtime/error-handling.d.ts.map +1 -0
- package/dist/src/runtime/error-handling.js +10 -0
- package/dist/src/runtime/error-handling.js.map +1 -0
- package/dist/src/runtime/index.d.ts +5 -4
- package/dist/src/runtime/index.d.ts.map +1 -1
- package/dist/src/runtime/index.js +11 -4
- package/dist/src/runtime/index.js.map +1 -1
- package/dist/src/settings/format-preserving-json.d.ts +1 -2
- package/dist/src/settings/format-preserving-json.d.ts.map +1 -1
- package/dist/src/settings/format-preserving-json.js +7 -7
- package/dist/src/settings/format-preserving-json.js.map +1 -1
- package/dist/src/settings/index.d.ts +5 -4
- package/dist/src/settings/index.d.ts.map +1 -1
- package/dist/src/settings/index.js +4 -2
- package/dist/src/settings/index.js.map +1 -1
- package/dist/src/settings/schema.d.ts +48 -8
- package/dist/src/settings/schema.d.ts.map +1 -1
- package/dist/src/settings/schema.js +26 -7
- package/dist/src/settings/schema.js.map +1 -1
- package/dist/src/settings/settings.d.ts +10 -52
- package/dist/src/settings/settings.d.ts.map +1 -1
- package/dist/src/settings/settings.js +22 -48
- package/dist/src/settings/settings.js.map +1 -1
- package/dist/src/settings/skill-entry.d.ts +44 -0
- package/dist/src/settings/skill-entry.d.ts.map +1 -0
- package/dist/src/settings/skill-entry.js +58 -0
- package/dist/src/settings/skill-entry.js.map +1 -0
- package/dist/src/sources/azurerepos/repo-exists.d.ts +2 -2
- package/dist/src/sources/azurerepos/repo-exists.d.ts.map +1 -1
- package/dist/src/sources/azurerepos/repo-exists.js +9 -7
- package/dist/src/sources/azurerepos/repo-exists.js.map +1 -1
- package/dist/src/sources/azurerepos/scp.d.ts +1 -2
- package/dist/src/sources/azurerepos/scp.d.ts.map +1 -1
- package/dist/src/sources/azurerepos/scp.js +6 -2
- package/dist/src/sources/azurerepos/scp.js.map +1 -1
- package/dist/src/sources/azurerepos/url.d.ts +1 -2
- package/dist/src/sources/azurerepos/url.d.ts.map +1 -1
- package/dist/src/sources/azurerepos/url.js +11 -3
- package/dist/src/sources/azurerepos/url.js.map +1 -1
- package/dist/src/sources/bitbucket/resolve-repo.d.ts +2 -2
- package/dist/src/sources/bitbucket/resolve-repo.d.ts.map +1 -1
- package/dist/src/sources/bitbucket/resolve-repo.js +5 -4
- package/dist/src/sources/bitbucket/resolve-repo.js.map +1 -1
- package/dist/src/sources/bitbucket/scp.d.ts +1 -2
- package/dist/src/sources/bitbucket/scp.d.ts.map +1 -1
- package/dist/src/sources/bitbucket/scp.js +6 -2
- package/dist/src/sources/bitbucket/scp.js.map +1 -1
- package/dist/src/sources/bitbucket/shorthand.d.ts +1 -1
- package/dist/src/sources/bitbucket/shorthand.d.ts.map +1 -1
- package/dist/src/sources/bitbucket/url.d.ts +1 -2
- package/dist/src/sources/bitbucket/url.d.ts.map +1 -1
- package/dist/src/sources/bitbucket/url.js +11 -3
- package/dist/src/sources/bitbucket/url.js.map +1 -1
- package/dist/src/sources/clone-url.d.ts +3 -4
- package/dist/src/sources/clone-url.d.ts.map +1 -1
- package/dist/src/sources/clone-url.js +6 -6
- package/dist/src/sources/clone-url.js.map +1 -1
- package/dist/src/sources/github/api.d.ts +3 -21
- package/dist/src/sources/github/api.d.ts.map +1 -1
- package/dist/src/sources/github/api.js +16 -28
- package/dist/src/sources/github/api.js.map +1 -1
- package/dist/src/sources/github/index.d.ts +1 -1
- package/dist/src/sources/github/index.d.ts.map +1 -1
- package/dist/src/sources/github/index.js +1 -1
- package/dist/src/sources/github/index.js.map +1 -1
- package/dist/src/sources/github/resolve-repo.d.ts +2 -2
- package/dist/src/sources/github/resolve-repo.d.ts.map +1 -1
- package/dist/src/sources/github/resolve-repo.js +5 -4
- package/dist/src/sources/github/resolve-repo.js.map +1 -1
- package/dist/src/sources/github/scp.d.ts +1 -2
- package/dist/src/sources/github/scp.d.ts.map +1 -1
- package/dist/src/sources/github/scp.js +6 -2
- package/dist/src/sources/github/scp.js.map +1 -1
- package/dist/src/sources/github/shorthand.d.ts +1 -1
- package/dist/src/sources/github/shorthand.d.ts.map +1 -1
- package/dist/src/sources/github/url.d.ts +1 -2
- package/dist/src/sources/github/url.d.ts.map +1 -1
- package/dist/src/sources/github/url.js +11 -3
- package/dist/src/sources/github/url.js.map +1 -1
- package/dist/src/sources/gitlab/resolve-repo.d.ts +2 -2
- package/dist/src/sources/gitlab/resolve-repo.d.ts.map +1 -1
- package/dist/src/sources/gitlab/resolve-repo.js +5 -4
- package/dist/src/sources/gitlab/resolve-repo.js.map +1 -1
- package/dist/src/sources/gitlab/scp.d.ts +1 -2
- package/dist/src/sources/gitlab/scp.d.ts.map +1 -1
- package/dist/src/sources/gitlab/scp.js +6 -2
- package/dist/src/sources/gitlab/scp.js.map +1 -1
- package/dist/src/sources/gitlab/shorthand.d.ts +1 -1
- package/dist/src/sources/gitlab/shorthand.d.ts.map +1 -1
- package/dist/src/sources/gitlab/url.d.ts +1 -2
- package/dist/src/sources/gitlab/url.d.ts.map +1 -1
- package/dist/src/sources/gitlab/url.js +11 -3
- package/dist/src/sources/gitlab/url.js.map +1 -1
- package/dist/src/sources/index.d.ts +0 -4
- package/dist/src/sources/index.d.ts.map +1 -1
- package/dist/src/sources/index.js +2 -3
- package/dist/src/sources/index.js.map +1 -1
- package/dist/src/sources/local/parser.d.ts +2 -2
- package/dist/src/sources/local/parser.d.ts.map +1 -1
- package/dist/src/sources/local/parser.js.map +1 -1
- package/dist/src/sources/parse-provider-shorthand.d.ts +2 -3
- package/dist/src/sources/parse-provider-shorthand.d.ts.map +1 -1
- package/dist/src/sources/parse-provider-shorthand.js +7 -3
- package/dist/src/sources/parse-provider-shorthand.js.map +1 -1
- package/dist/src/sources/provider.d.ts +5 -44
- package/dist/src/sources/provider.d.ts.map +1 -1
- package/dist/src/sources/provider.js +12 -26
- package/dist/src/sources/provider.js.map +1 -1
- package/dist/src/sources/providers/azurerepos.js +7 -7
- package/dist/src/sources/providers/azurerepos.js.map +1 -1
- package/dist/src/sources/providers/git-hosting.d.ts +3 -3
- package/dist/src/sources/providers/git-hosting.d.ts.map +1 -1
- package/dist/src/sources/providers/git-hosting.js +14 -33
- package/dist/src/sources/providers/git-hosting.js.map +1 -1
- package/dist/src/sources/providers/git.js +7 -7
- package/dist/src/sources/providers/git.js.map +1 -1
- package/dist/src/sources/providers/local.d.ts.map +1 -1
- package/dist/src/sources/providers/local.js +7 -18
- package/dist/src/sources/providers/local.js.map +1 -1
- package/dist/src/sources/providers/registry.d.ts +5 -5
- package/dist/src/sources/providers/registry.d.ts.map +1 -1
- package/dist/src/sources/providers/registry.js +136 -92
- package/dist/src/sources/providers/registry.js.map +1 -1
- package/dist/src/sources/registry-guard.d.ts +2 -3
- package/dist/src/sources/registry-guard.d.ts.map +1 -1
- package/dist/src/sources/registry-guard.js +8 -6
- package/dist/src/sources/registry-guard.js.map +1 -1
- package/dist/src/sources/resolve-source.d.ts +3 -3
- package/dist/src/sources/resolve-source.d.ts.map +1 -1
- package/dist/src/sources/resolve-source.js +83 -49
- package/dist/src/sources/resolve-source.js.map +1 -1
- package/dist/src/sources/service.d.ts +3 -4
- package/dist/src/sources/service.d.ts.map +1 -1
- package/dist/src/sources/service.js +8 -5
- package/dist/src/sources/service.js.map +1 -1
- package/dist/src/tui/confirm/service.d.ts +2 -2
- package/dist/src/tui/confirm/service.d.ts.map +1 -1
- package/dist/src/tui/confirm/service.js.map +1 -1
- package/dist/src/tui/errors.d.ts +0 -9
- package/dist/src/tui/errors.d.ts.map +1 -1
- package/dist/src/tui/errors.js +0 -2
- package/dist/src/tui/errors.js.map +1 -1
- package/dist/src/tui/index.d.ts +1 -1
- package/dist/src/tui/index.d.ts.map +1 -1
- package/dist/src/tui/index.js +1 -1
- package/dist/src/tui/index.js.map +1 -1
- package/dist/src/tui/multiselect/service.d.ts +3 -2
- package/dist/src/tui/multiselect/service.d.ts.map +1 -1
- package/dist/src/tui/multiselect/service.js +7 -5
- package/dist/src/tui/multiselect/service.js.map +1 -1
- package/dist/src/tui/password-input/service.d.ts +3 -2
- package/dist/src/tui/password-input/service.d.ts.map +1 -1
- package/dist/src/tui/password-input/service.js +7 -5
- package/dist/src/tui/password-input/service.js.map +1 -1
- package/dist/src/tui/select/service.d.ts +3 -2
- package/dist/src/tui/select/service.d.ts.map +1 -1
- package/dist/src/tui/select/service.js +5 -5
- package/dist/src/tui/select/service.js.map +1 -1
- package/dist/src/tui/spinner/index.d.ts +1 -1
- package/dist/src/tui/spinner/index.d.ts.map +1 -1
- package/dist/src/tui/spinner/service.d.ts +1 -5
- package/dist/src/tui/spinner/service.d.ts.map +1 -1
- package/dist/src/tui/spinner/service.js +25 -12
- package/dist/src/tui/spinner/service.js.map +1 -1
- package/dist/src/tui/spinner/test.d.ts +3 -0
- package/dist/src/tui/spinner/test.d.ts.map +1 -1
- package/dist/src/tui/spinner/test.js +9 -0
- package/dist/src/tui/spinner/test.js.map +1 -1
- package/dist/src/tui/spinner/types.d.ts +5 -0
- package/dist/src/tui/spinner/types.d.ts.map +1 -1
- package/dist/src/tui/text-input/service.d.ts +2 -2
- package/dist/src/tui/text-input/service.d.ts.map +1 -1
- package/dist/src/tui/text-input/service.js.map +1 -1
- package/dist/src/utils/create-symlink.d.ts +1 -14
- package/dist/src/utils/create-symlink.d.ts.map +1 -1
- package/dist/src/utils/create-symlink.js +17 -15
- package/dist/src/utils/create-symlink.js.map +1 -1
- package/dist/src/utils/index.d.ts +1 -2
- package/dist/src/utils/index.d.ts.map +1 -1
- package/dist/src/utils/index.js +1 -2
- package/dist/src/utils/index.js.map +1 -1
- package/dist/src/workspace/apply-plan.d.ts +5 -17
- package/dist/src/workspace/apply-plan.d.ts.map +1 -1
- package/dist/src/workspace/apply-plan.js +3 -12
- package/dist/src/workspace/apply-plan.js.map +1 -1
- package/dist/src/workspace/ensure-agents.d.ts +2 -15
- package/dist/src/workspace/ensure-agents.d.ts.map +1 -1
- package/dist/src/workspace/ensure-agents.js +7 -15
- package/dist/src/workspace/ensure-agents.js.map +1 -1
- package/dist/src/workspace/errors.d.ts +1 -1
- package/dist/src/workspace/errors.d.ts.map +1 -1
- package/dist/src/workspace/index.d.ts +1 -2
- package/dist/src/workspace/index.d.ts.map +1 -1
- package/dist/src/workspace/index.js +1 -2
- package/dist/src/workspace/index.js.map +1 -1
- package/dist/src/workspace/service.d.ts +31 -24
- package/dist/src/workspace/service.d.ts.map +1 -1
- package/dist/src/workspace/service.js +110 -81
- package/dist/src/workspace/service.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptor.d.ts","sourceRoot":"","sources":["../../../../src/agents/claude-code/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"descriptor.d.ts","sourceRoot":"","sources":["../../../../src/agents/claude-code/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,eAMxB,CAAC"}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* @experimental This API is unstable and may change without notice.
|
|
5
5
|
* @packageDocumentation
|
|
6
6
|
*/
|
|
7
|
-
import { detect } from "./detection.js";
|
|
8
7
|
/**
|
|
9
8
|
* Claude Code agent descriptor.
|
|
10
9
|
*
|
|
@@ -16,6 +15,5 @@ export const descriptor = {
|
|
|
16
15
|
skills: {
|
|
17
16
|
dir: ".claude/skills",
|
|
18
17
|
},
|
|
19
|
-
detect,
|
|
20
18
|
};
|
|
21
19
|
//# sourceMappingURL=descriptor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptor.js","sourceRoot":"","sources":["../../../../src/agents/claude-code/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"descriptor.js","sourceRoot":"","sources":["../../../../src/agents/claude-code/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAoB;IACzC,EAAE,EAAE,aAAa;IACjB,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE;QACN,GAAG,EAAE,gBAAgB;KACtB;CACF,CAAC"}
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* @experimental This API is unstable and may change without notice.
|
|
5
5
|
* @packageDocumentation
|
|
6
6
|
*/
|
|
7
|
-
export { claudeHome } from "./constants.js";
|
|
8
7
|
export { descriptor } from "./descriptor.js";
|
|
9
|
-
export { detect } from "./detection.js";
|
|
10
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/agents/claude-code/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/agents/claude-code/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* @experimental This API is unstable and may change without notice.
|
|
5
5
|
* @packageDocumentation
|
|
6
6
|
*/
|
|
7
|
-
export { claudeHome } from "./constants.js";
|
|
8
7
|
export { descriptor } from "./descriptor.js";
|
|
9
|
-
export { detect } from "./detection.js";
|
|
10
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/agents/claude-code/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/agents/claude-code/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptor.d.ts","sourceRoot":"","sources":["../../../../src/agents/codex/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"descriptor.d.ts","sourceRoot":"","sources":["../../../../src/agents/codex/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,eAMxB,CAAC"}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* @experimental This API is unstable and may change without notice.
|
|
5
5
|
* @packageDocumentation
|
|
6
6
|
*/
|
|
7
|
-
import { detect } from "./detection.js";
|
|
8
7
|
/**
|
|
9
8
|
* Codex agent descriptor.
|
|
10
9
|
*
|
|
@@ -16,6 +15,5 @@ export const descriptor = {
|
|
|
16
15
|
skills: {
|
|
17
16
|
dir: ".codex/skills",
|
|
18
17
|
},
|
|
19
|
-
detect,
|
|
20
18
|
};
|
|
21
19
|
//# sourceMappingURL=descriptor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptor.js","sourceRoot":"","sources":["../../../../src/agents/codex/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"descriptor.js","sourceRoot":"","sources":["../../../../src/agents/codex/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAoB;IACzC,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,OAAO;IACb,MAAM,EAAE;QACN,GAAG,EAAE,eAAe;KACrB;CACF,CAAC"}
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* @experimental This API is unstable and may change without notice.
|
|
5
5
|
* @packageDocumentation
|
|
6
6
|
*/
|
|
7
|
-
export { codexHome } from "./constants.js";
|
|
8
7
|
export { descriptor } from "./descriptor.js";
|
|
9
|
-
export { detect } from "./detection.js";
|
|
10
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/agents/codex/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/agents/codex/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -4,7 +4,5 @@
|
|
|
4
4
|
* @experimental This API is unstable and may change without notice.
|
|
5
5
|
* @packageDocumentation
|
|
6
6
|
*/
|
|
7
|
-
export { codexHome } from "./constants.js";
|
|
8
7
|
export { descriptor } from "./descriptor.js";
|
|
9
|
-
export { detect } from "./detection.js";
|
|
10
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/agents/codex/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/agents/codex/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptor.d.ts","sourceRoot":"","sources":["../../../../src/agents/continue/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"descriptor.d.ts","sourceRoot":"","sources":["../../../../src/agents/continue/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,eAMxB,CAAC"}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* @experimental This API is unstable and may change without notice.
|
|
5
5
|
* @packageDocumentation
|
|
6
6
|
*/
|
|
7
|
-
import { detect } from "./detection.js";
|
|
8
7
|
/**
|
|
9
8
|
* Continue agent descriptor.
|
|
10
9
|
*
|
|
@@ -16,6 +15,5 @@ export const descriptor = {
|
|
|
16
15
|
skills: {
|
|
17
16
|
dir: ".continue/skills",
|
|
18
17
|
},
|
|
19
|
-
detect,
|
|
20
18
|
};
|
|
21
19
|
//# sourceMappingURL=descriptor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptor.js","sourceRoot":"","sources":["../../../../src/agents/continue/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"descriptor.js","sourceRoot":"","sources":["../../../../src/agents/continue/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAoB;IACzC,EAAE,EAAE,UAAU;IACd,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE;QACN,GAAG,EAAE,kBAAkB;KACxB;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/agents/continue/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/agents/continue/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/agents/continue/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/agents/continue/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptor.d.ts","sourceRoot":"","sources":["../../../../src/agents/cursor/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"descriptor.d.ts","sourceRoot":"","sources":["../../../../src/agents/cursor/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,eAMxB,CAAC"}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* @experimental This API is unstable and may change without notice.
|
|
5
5
|
* @packageDocumentation
|
|
6
6
|
*/
|
|
7
|
-
import { detect } from "./detection.js";
|
|
8
7
|
/**
|
|
9
8
|
* Cursor agent descriptor.
|
|
10
9
|
*
|
|
@@ -16,6 +15,5 @@ export const descriptor = {
|
|
|
16
15
|
skills: {
|
|
17
16
|
dir: ".cursor/skills",
|
|
18
17
|
},
|
|
19
|
-
detect,
|
|
20
18
|
};
|
|
21
19
|
//# sourceMappingURL=descriptor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptor.js","sourceRoot":"","sources":["../../../../src/agents/cursor/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"descriptor.js","sourceRoot":"","sources":["../../../../src/agents/cursor/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAoB;IACzC,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,QAAQ;IACd,MAAM,EAAE;QACN,GAAG,EAAE,gBAAgB;KACtB;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/agents/cursor/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/agents/cursor/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/agents/cursor/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/agents/cursor/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -9,77 +9,35 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import * as FileSystem from "@effect/platform/FileSystem";
|
|
11
11
|
import * as Effect from "effect/Effect";
|
|
12
|
+
import { type CliError } from "../cli-error/index.js";
|
|
12
13
|
import type { AgentDescriptor } from "./types.js";
|
|
13
|
-
declare const DetectionError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
14
|
-
readonly _tag: "DetectionError";
|
|
15
|
-
} & Readonly<A>;
|
|
16
14
|
/**
|
|
17
|
-
*
|
|
15
|
+
* Check if a specific agent is installed by checking both project-level
|
|
16
|
+
* and global directories.
|
|
18
17
|
*
|
|
19
|
-
*
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
readonly message: string;
|
|
23
|
-
readonly cause?: unknown;
|
|
24
|
-
}> {
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a specific agent is installed.
|
|
18
|
+
* - **Project-level**: Checks if the first path segment of `skills.dir`
|
|
19
|
+
* exists in `projectDir` (e.g., `.claude/` for Claude Code)
|
|
20
|
+
* - **Global**: Checks if `~/.{agent-id}` exists in the user's home
|
|
28
21
|
*
|
|
29
|
-
*
|
|
30
|
-
* Returns `true` if the agent appears to be installed, `false` otherwise.
|
|
22
|
+
* Returns `true` if either check passes (logical OR).
|
|
31
23
|
*
|
|
32
24
|
* @param agent - The agent descriptor to check
|
|
33
|
-
* @
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* ```typescript
|
|
37
|
-
* import { Effect } from "effect";
|
|
38
|
-
* import { NodeFileSystem } from "@effect/platform-node";
|
|
39
|
-
* import { detectAgent, AGENTS } from "@axm.sh/core/experimental/agents";
|
|
40
|
-
*
|
|
41
|
-
* const program = Effect.gen(function* () {
|
|
42
|
-
* const isInstalled = yield* detectAgent(AGENTS["claude-code"]);
|
|
43
|
-
* console.log(`Claude Code installed: ${isInstalled}`);
|
|
44
|
-
* });
|
|
45
|
-
*
|
|
46
|
-
* Effect.runPromise(
|
|
47
|
-
* program.pipe(Effect.provide(NodeFileSystem.layer))
|
|
48
|
-
* );
|
|
49
|
-
* ```
|
|
25
|
+
* @param projectDir - The project directory to check for agent config
|
|
26
|
+
* @returns Effect that resolves to boolean indicating detection status
|
|
50
27
|
*
|
|
51
28
|
* @experimental This API is unstable and may change without notice.
|
|
52
29
|
*/
|
|
53
|
-
export declare const detectAgent: (agent: AgentDescriptor) => Effect.Effect<boolean,
|
|
30
|
+
export declare const detectAgent: (agent: AgentDescriptor, projectDir: string) => Effect.Effect<boolean, CliError, FileSystem.FileSystem>;
|
|
54
31
|
/**
|
|
55
32
|
* Detect all installed agents concurrently.
|
|
56
33
|
*
|
|
57
34
|
* Checks all registered agents and returns descriptors for those
|
|
58
35
|
* that appear to be installed on the system.
|
|
59
36
|
*
|
|
60
|
-
* @
|
|
61
|
-
*
|
|
62
|
-
* @example
|
|
63
|
-
* ```typescript
|
|
64
|
-
* import { Effect } from "effect";
|
|
65
|
-
* import { NodeFileSystem } from "@effect/platform-node";
|
|
66
|
-
* import { detectAgents } from "@axm.sh/core/experimental/agents";
|
|
67
|
-
*
|
|
68
|
-
* const program = Effect.gen(function* () {
|
|
69
|
-
* const installed = yield* detectAgents();
|
|
70
|
-
* console.log(`Found ${installed.length} installed agents`);
|
|
71
|
-
* for (const agent of installed) {
|
|
72
|
-
* console.log(`- ${agent.name}`);
|
|
73
|
-
* }
|
|
74
|
-
* });
|
|
75
|
-
*
|
|
76
|
-
* Effect.runPromise(
|
|
77
|
-
* program.pipe(Effect.provide(NodeFileSystem.layer))
|
|
78
|
-
* );
|
|
79
|
-
* ```
|
|
37
|
+
* @param projectDir - The project directory to check for agent config
|
|
38
|
+
* @returns Effect that resolves to array of detected agent descriptors
|
|
80
39
|
*
|
|
81
40
|
* @experimental This API is unstable and may change without notice.
|
|
82
41
|
*/
|
|
83
|
-
export declare const detectAgents: () => Effect.Effect<AgentDescriptor[],
|
|
84
|
-
export {};
|
|
42
|
+
export declare const detectAgents: (projectDir: string) => Effect.Effect<AgentDescriptor[], CliError, FileSystem.FileSystem>;
|
|
85
43
|
//# sourceMappingURL=detection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detection.d.ts","sourceRoot":"","sources":["../../../src/agents/detection.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"detection.d.ts","sourceRoot":"","sources":["../../../src/agents/detection.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,KAAK,QAAQ,EAAgB,MAAM,uBAAuB,CAAC;AAGpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAMlD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,WAAW,GACtB,OAAO,eAAe,EACtB,YAAY,MAAM,KACjB,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,UAAU,CAAC,UAAU,CAyBtD,CAAC;AAEJ;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,GACvB,YAAY,MAAM,KACjB,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,EAAE,QAAQ,EAAE,UAAU,CAAC,UAAU,CAG/D,CAAC"}
|
|
@@ -9,112 +9,55 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import * as path from "node:path";
|
|
11
11
|
import * as FileSystem from "@effect/platform/FileSystem";
|
|
12
|
-
import * as Array from "effect/Array";
|
|
13
|
-
import * as Data from "effect/Data";
|
|
14
12
|
import * as Effect from "effect/Effect";
|
|
15
|
-
import
|
|
13
|
+
import { makeCliError } from "../cli-error/index.js";
|
|
16
14
|
import { home } from "./constants.js";
|
|
17
15
|
import { getAllAgents } from "./registry.js";
|
|
18
16
|
// -----------------------------------------------------------------------------
|
|
19
|
-
// Errors
|
|
20
|
-
// -----------------------------------------------------------------------------
|
|
21
|
-
/**
|
|
22
|
-
* Error thrown when agent detection fails.
|
|
23
|
-
*
|
|
24
|
-
* @experimental This API is unstable and may change without notice.
|
|
25
|
-
*/
|
|
26
|
-
export class DetectionError extends Data.TaggedError("DetectionError") {
|
|
27
|
-
}
|
|
28
|
-
// -----------------------------------------------------------------------------
|
|
29
|
-
// Default Detection Heuristic
|
|
30
|
-
// -----------------------------------------------------------------------------
|
|
31
|
-
/**
|
|
32
|
-
* Default heuristic detection for agents without specific detection logic.
|
|
33
|
-
* Checks common patterns: ~/.{agent-id} or first segment of projectDir.
|
|
34
|
-
*/
|
|
35
|
-
const defaultDetect = (agent) => Effect.gen(function* () {
|
|
36
|
-
const fs = yield* FileSystem.FileSystem;
|
|
37
|
-
// Try common patterns for detection
|
|
38
|
-
const patterns = [
|
|
39
|
-
// ~/.{agent-id} pattern
|
|
40
|
-
path.join(home, `.${agent.id}`),
|
|
41
|
-
// Project-level directory pattern (first segment without leading dot)
|
|
42
|
-
path.join(home, Option.getOrElse(Option.map(Array.head(agent.skills.dir.split("/")), (s) => s.replace(/^\./, "")), () => "")),
|
|
43
|
-
];
|
|
44
|
-
for (const pattern of patterns) {
|
|
45
|
-
if (pattern && (yield* fs.exists(pattern))) {
|
|
46
|
-
return true;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
return false;
|
|
50
|
-
});
|
|
51
|
-
// -----------------------------------------------------------------------------
|
|
52
17
|
// Detection Functions
|
|
53
18
|
// -----------------------------------------------------------------------------
|
|
54
19
|
/**
|
|
55
|
-
* Check if a specific agent is installed
|
|
56
|
-
*
|
|
57
|
-
* Detection logic varies per agent based on their typical configuration directories.
|
|
58
|
-
* Returns `true` if the agent appears to be installed, `false` otherwise.
|
|
59
|
-
*
|
|
60
|
-
* @param agent - The agent descriptor to check
|
|
61
|
-
* @returns Effect that resolves to boolean indicating installation status
|
|
20
|
+
* Check if a specific agent is installed by checking both project-level
|
|
21
|
+
* and global directories.
|
|
62
22
|
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* import { NodeFileSystem } from "@effect/platform-node";
|
|
67
|
-
* import { detectAgent, AGENTS } from "@axm.sh/core/experimental/agents";
|
|
23
|
+
* - **Project-level**: Checks if the first path segment of `skills.dir`
|
|
24
|
+
* exists in `projectDir` (e.g., `.claude/` for Claude Code)
|
|
25
|
+
* - **Global**: Checks if `~/.{agent-id}` exists in the user's home
|
|
68
26
|
*
|
|
69
|
-
*
|
|
70
|
-
* const isInstalled = yield* detectAgent(AGENTS["claude-code"]);
|
|
71
|
-
* console.log(`Claude Code installed: ${isInstalled}`);
|
|
72
|
-
* });
|
|
27
|
+
* Returns `true` if either check passes (logical OR).
|
|
73
28
|
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* ```
|
|
29
|
+
* @param agent - The agent descriptor to check
|
|
30
|
+
* @param projectDir - The project directory to check for agent config
|
|
31
|
+
* @returns Effect that resolves to boolean indicating detection status
|
|
78
32
|
*
|
|
79
33
|
* @experimental This API is unstable and may change without notice.
|
|
80
34
|
*/
|
|
81
|
-
export const detectAgent = (agent) => {
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
};
|
|
35
|
+
export const detectAgent = (agent, projectDir) => Effect.gen(function* () {
|
|
36
|
+
const fs = yield* FileSystem.FileSystem;
|
|
37
|
+
// Project-level: first segment of skills.dir in projectDir
|
|
38
|
+
const firstSegment = agent.skills.dir.split("/")[0] ?? "";
|
|
39
|
+
const projectPath = path.join(projectDir, firstSegment);
|
|
40
|
+
// Global: ~/.{agent-id} in home directory
|
|
41
|
+
const globalPath = path.join(home, `.${agent.id}`);
|
|
42
|
+
const [projectExists, globalExists] = yield* Effect.all([fs.exists(projectPath), fs.exists(globalPath)], { concurrency: "unbounded" });
|
|
43
|
+
return projectExists || globalExists;
|
|
44
|
+
}).pipe(Effect.mapError((error) => makeCliError({
|
|
45
|
+
code: "AGENT_DETECTION_FAILED",
|
|
46
|
+
what: `Failed to detect ${agent.name}`,
|
|
47
|
+
cause: error,
|
|
48
|
+
})));
|
|
88
49
|
/**
|
|
89
50
|
* Detect all installed agents concurrently.
|
|
90
51
|
*
|
|
91
52
|
* Checks all registered agents and returns descriptors for those
|
|
92
53
|
* that appear to be installed on the system.
|
|
93
54
|
*
|
|
94
|
-
* @
|
|
95
|
-
*
|
|
96
|
-
* @example
|
|
97
|
-
* ```typescript
|
|
98
|
-
* import { Effect } from "effect";
|
|
99
|
-
* import { NodeFileSystem } from "@effect/platform-node";
|
|
100
|
-
* import { detectAgents } from "@axm.sh/core/experimental/agents";
|
|
101
|
-
*
|
|
102
|
-
* const program = Effect.gen(function* () {
|
|
103
|
-
* const installed = yield* detectAgents();
|
|
104
|
-
* console.log(`Found ${installed.length} installed agents`);
|
|
105
|
-
* for (const agent of installed) {
|
|
106
|
-
* console.log(`- ${agent.name}`);
|
|
107
|
-
* }
|
|
108
|
-
* });
|
|
109
|
-
*
|
|
110
|
-
* Effect.runPromise(
|
|
111
|
-
* program.pipe(Effect.provide(NodeFileSystem.layer))
|
|
112
|
-
* );
|
|
113
|
-
* ```
|
|
55
|
+
* @param projectDir - The project directory to check for agent config
|
|
56
|
+
* @returns Effect that resolves to array of detected agent descriptors
|
|
114
57
|
*
|
|
115
58
|
* @experimental This API is unstable and may change without notice.
|
|
116
59
|
*/
|
|
117
|
-
export const detectAgents = () => Effect.filter(getAllAgents(), (agent) => detectAgent(agent), {
|
|
60
|
+
export const detectAgents = (projectDir) => Effect.filter(getAllAgents(), (agent) => detectAgent(agent, projectDir), {
|
|
118
61
|
concurrency: "unbounded",
|
|
119
62
|
});
|
|
120
63
|
//# sourceMappingURL=detection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detection.js","sourceRoot":"","sources":["../../../src/agents/detection.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"detection.js","sourceRoot":"","sources":["../../../src/agents/detection.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAiB,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,gFAAgF;AAChF,sBAAsB;AACtB,gFAAgF;AAEhF;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,KAAsB,EACtB,UAAkB,EACuC,EAAE,CAC3D,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC;IAExC,2DAA2D;IAC3D,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IAC1D,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IAExD,0CAA0C;IAC1C,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC;IAEnD,MAAM,CAAC,aAAa,EAAE,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,MAAM,CAAC,GAAG,CACrD,CAAC,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,EAC/C,EAAE,WAAW,EAAE,WAAW,EAAE,CAC7B,CAAC;IAEF,OAAO,aAAa,IAAI,YAAY,CAAC;AACvC,CAAC,CAAC,CAAC,IAAI,CACL,MAAM,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE,CACxB,YAAY,CAAC;IACX,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE,oBAAoB,KAAK,CAAC,IAAI,EAAE;IACtC,KAAK,EAAE,KAAK;CACb,CAAC,CACH,CACF,CAAC;AAEJ;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,UAAkB,EACiD,EAAE,CACrE,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,UAAU,CAAC,EAAE;IACvE,WAAW,EAAE,WAAW;CACzB,CAAC,CAAC"}
|
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
* @experimental All exports from this module are unstable and may change without notice.
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
*/
|
|
10
|
-
export {
|
|
10
|
+
export { detectAgent, detectAgents } from "./detection.js";
|
|
11
11
|
export { AGENTS, getAgentById, getAgentIds, getAllAgents } from "./registry.js";
|
|
12
12
|
export type { AgentDescriptor, AgentId, AgentRegistry, AgentSkillsDescriptor } from "./types.js";
|
|
13
|
-
export { claudeHome } from "./claude-code/index.js";
|
|
14
|
-
export { codexHome } from "./codex/index.js";
|
|
15
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/agents/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/agents/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAGhF,YAAY,EAAE,eAAe,EAAE,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/src/agents/index.js
CHANGED
|
@@ -8,10 +8,7 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
*/
|
|
10
10
|
// Detection (effectful)
|
|
11
|
-
export {
|
|
11
|
+
export { detectAgent, detectAgents } from "./detection.js";
|
|
12
12
|
// Registry (pure data)
|
|
13
13
|
export { AGENTS, getAgentById, getAgentIds, getAllAgents } from "./registry.js";
|
|
14
|
-
// Agent-specific exports (for consumers that need direct access)
|
|
15
|
-
export { claudeHome } from "./claude-code/index.js";
|
|
16
|
-
export { codexHome } from "./codex/index.js";
|
|
17
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/agents/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,wBAAwB;AACxB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/agents/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,wBAAwB;AACxB,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE3D,uBAAuB;AACvB,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptor.d.ts","sourceRoot":"","sources":["../../../../src/agents/opencode/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"descriptor.d.ts","sourceRoot":"","sources":["../../../../src/agents/opencode/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,eAMxB,CAAC"}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* @experimental This API is unstable and may change without notice.
|
|
5
5
|
* @packageDocumentation
|
|
6
6
|
*/
|
|
7
|
-
import { detect } from "./detection.js";
|
|
8
7
|
/**
|
|
9
8
|
* OpenCode agent descriptor.
|
|
10
9
|
*
|
|
@@ -16,6 +15,5 @@ export const descriptor = {
|
|
|
16
15
|
skills: {
|
|
17
16
|
dir: ".opencode/skills",
|
|
18
17
|
},
|
|
19
|
-
detect,
|
|
20
18
|
};
|
|
21
19
|
//# sourceMappingURL=descriptor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptor.js","sourceRoot":"","sources":["../../../../src/agents/opencode/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"descriptor.js","sourceRoot":"","sources":["../../../../src/agents/opencode/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAoB;IACzC,EAAE,EAAE,UAAU;IACd,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE;QACN,GAAG,EAAE,kBAAkB;KACxB;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/agents/opencode/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/agents/opencode/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/agents/opencode/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/agents/opencode/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
* @experimental This API is unstable and may change without notice.
|
|
5
5
|
* @packageDocumentation
|
|
6
6
|
*/
|
|
7
|
-
import type
|
|
8
|
-
import type * as FileSystem from "@effect/platform/FileSystem";
|
|
9
|
-
import type { Effect, Record } from "effect";
|
|
7
|
+
import type { Record } from "effect";
|
|
10
8
|
/**
|
|
11
9
|
* Skills-specific configuration for an agent.
|
|
12
10
|
*
|
|
@@ -22,17 +20,6 @@ export interface AgentSkillsDescriptor {
|
|
|
22
20
|
* @experimental This API is unstable and may change without notice.
|
|
23
21
|
*/
|
|
24
22
|
export type AgentId = "adal" | "amp" | "antigravity" | "augment" | "claude-code" | "cline" | "codebuddy" | "codex" | "command-code" | "continue" | "crush" | "cursor" | "droid" | "gemini-cli" | "github-copilot" | "goose" | "iflow-cli" | "junie" | "kilo" | "kimi-cli" | "kiro-cli" | "kode" | "mcpjam" | "mistral-vibe" | "mux" | "neovate" | "openclaw" | "opencode" | "openhands" | "pi" | "pochi" | "qoder" | "qwen-code" | "replit" | "roo" | "trae" | "trae-cn" | "windsurf" | "zencoder";
|
|
25
|
-
/**
|
|
26
|
-
* Configuration for an AI coding agent.
|
|
27
|
-
*
|
|
28
|
-
* @experimental This API is unstable and may change without notice.
|
|
29
|
-
*/
|
|
30
|
-
/**
|
|
31
|
-
* Detection function type for checking if an agent is installed.
|
|
32
|
-
*
|
|
33
|
-
* @experimental This API is unstable and may change without notice.
|
|
34
|
-
*/
|
|
35
|
-
export type AgentDetectFn = () => Effect.Effect<boolean, PlatformError.PlatformError, FileSystem.FileSystem>;
|
|
36
23
|
/**
|
|
37
24
|
* Configuration for an AI coding agent.
|
|
38
25
|
*
|
|
@@ -45,8 +32,6 @@ export interface AgentDescriptor {
|
|
|
45
32
|
readonly name: string;
|
|
46
33
|
/** Skills installation configuration */
|
|
47
34
|
readonly skills: AgentSkillsDescriptor;
|
|
48
|
-
/** Optional custom detection function. If not provided, default heuristic is used. */
|
|
49
|
-
readonly detect?: AgentDetectFn;
|
|
50
35
|
}
|
|
51
36
|
/**
|
|
52
37
|
* Registry of all known agents, keyed by agent ID for O(1) lookup.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/agents/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/agents/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAMrC;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,iEAAiE;IACjE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AAMD;;;;GAIG;AACH,MAAM,MAAM,OAAO,GACf,MAAM,GACN,KAAK,GACL,aAAa,GACb,SAAS,GACT,aAAa,GACb,OAAO,GACP,WAAW,GACX,OAAO,GACP,cAAc,GACd,UAAU,GACV,OAAO,GACP,QAAQ,GACR,OAAO,GACP,YAAY,GACZ,gBAAgB,GAChB,OAAO,GACP,WAAW,GACX,OAAO,GACP,MAAM,GACN,UAAU,GACV,UAAU,GACV,MAAM,GACN,QAAQ,GACR,cAAc,GACd,KAAK,GACL,SAAS,GACT,UAAU,GACV,UAAU,GACV,WAAW,GACX,IAAI,GACJ,OAAO,GACP,OAAO,GACP,WAAW,GACX,QAAQ,GACR,KAAK,GACL,MAAM,GACN,SAAS,GACT,UAAU,GACV,UAAU,CAAC;AAMf;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC;IACrB,wDAAwD;IACxD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,wCAAwC;IACxC,QAAQ,CAAC,MAAM,EAAE,qBAAqB,CAAC;CACxC;AAMD;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptor.d.ts","sourceRoot":"","sources":["../../../../src/agents/windsurf/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"descriptor.d.ts","sourceRoot":"","sources":["../../../../src/agents/windsurf/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,eAMxB,CAAC"}
|