@agentxm/client-core 0.2.0 → 0.3.2
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/commands/operations/disable.d.ts +2 -2
- package/dist/src/unstable/commands/operations/disable.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/enable.d.ts +2 -2
- package/dist/src/unstable/commands/operations/enable.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/install.d.ts +1 -1
- package/dist/src/unstable/commands/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/new-command.d.ts +2 -2
- package/dist/src/unstable/commands/operations/new-command.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/publish.d.ts +1 -1
- package/dist/src/unstable/commands/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/commands/operations/uninstall.d.ts +1 -1
- package/dist/src/unstable/commands/operations/uninstall.d.ts.map +1 -1
- package/dist/src/unstable/extensions/operations.d.ts +1 -1
- package/dist/src/unstable/extensions/operations.d.ts.map +1 -1
- package/dist/src/unstable/lint/catalog/index.d.ts +39 -0
- package/dist/src/unstable/lint/catalog/index.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/index.js +49 -0
- package/dist/src/unstable/lint/catalog/index.js.map +1 -0
- package/dist/src/unstable/lint/catalog/pack/manifest-keys-recognized.d.ts +31 -0
- package/dist/src/unstable/lint/catalog/pack/manifest-keys-recognized.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/pack/manifest-keys-recognized.js +41 -0
- package/dist/src/unstable/lint/catalog/pack/manifest-keys-recognized.js.map +1 -0
- package/dist/src/unstable/lint/catalog/pack/manifest-present.d.ts +18 -0
- package/dist/src/unstable/lint/catalog/pack/manifest-present.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/pack/manifest-present.js +41 -0
- package/dist/src/unstable/lint/catalog/pack/manifest-present.js.map +1 -0
- package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.d.ts +26 -0
- package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.js +34 -0
- package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.js.map +1 -0
- package/dist/src/unstable/lint/catalog/pack-accessor/contexts.d.ts +61 -0
- package/dist/src/unstable/lint/catalog/pack-accessor/contexts.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/pack-accessor/contexts.js +46 -0
- package/dist/src/unstable/lint/catalog/pack-accessor/contexts.js.map +1 -0
- package/dist/src/unstable/lint/catalog/pack-accessor/platform.d.ts +53 -0
- package/dist/src/unstable/lint/catalog/pack-accessor/platform.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/pack-accessor/platform.js +90 -0
- package/dist/src/unstable/lint/catalog/pack-accessor/platform.js.map +1 -0
- package/dist/src/unstable/lint/catalog/pack-accessor/vft.d.ts +60 -0
- package/dist/src/unstable/lint/catalog/pack-accessor/vft.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/pack-accessor/vft.js +85 -0
- package/dist/src/unstable/lint/catalog/pack-accessor/vft.js.map +1 -0
- package/dist/src/unstable/lint/catalog/pack.d.ts +37 -0
- package/dist/src/unstable/lint/catalog/pack.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/pack.js +47 -0
- package/dist/src/unstable/lint/catalog/pack.js.map +1 -0
- package/dist/src/unstable/lint/catalog/shared/schema-rule.d.ts +59 -0
- package/dist/src/unstable/lint/catalog/shared/schema-rule.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/shared/schema-rule.js +99 -0
- package/dist/src/unstable/lint/catalog/shared/schema-rule.js.map +1 -0
- package/dist/src/unstable/lint/catalog/skill/frontmatter-parseable.d.ts +31 -0
- package/dist/src/unstable/lint/catalog/skill/frontmatter-parseable.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/skill/frontmatter-parseable.js +151 -0
- package/dist/src/unstable/lint/catalog/skill/frontmatter-parseable.js.map +1 -0
- package/dist/src/unstable/lint/catalog/skill/manifest-keys-recognized.d.ts +26 -0
- package/dist/src/unstable/lint/catalog/skill/manifest-keys-recognized.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/skill/manifest-keys-recognized.js +41 -0
- package/dist/src/unstable/lint/catalog/skill/manifest-keys-recognized.js.map +1 -0
- package/dist/src/unstable/lint/catalog/skill/manifest-present.d.ts +18 -0
- package/dist/src/unstable/lint/catalog/skill/manifest-present.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/skill/manifest-present.js +46 -0
- package/dist/src/unstable/lint/catalog/skill/manifest-present.js.map +1 -0
- package/dist/src/unstable/lint/catalog/skill/manifest-schema-valid.d.ts +22 -0
- package/dist/src/unstable/lint/catalog/skill/manifest-schema-valid.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/skill/manifest-schema-valid.js +37 -0
- package/dist/src/unstable/lint/catalog/skill/manifest-schema-valid.js.map +1 -0
- package/dist/src/unstable/lint/catalog/skill/skill-md-present.d.ts +17 -0
- package/dist/src/unstable/lint/catalog/skill/skill-md-present.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/skill/skill-md-present.js +38 -0
- package/dist/src/unstable/lint/catalog/skill/skill-md-present.js.map +1 -0
- package/dist/src/unstable/lint/catalog/skill-accessor/contexts.d.ts +65 -0
- package/dist/src/unstable/lint/catalog/skill-accessor/contexts.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/skill-accessor/contexts.js +50 -0
- package/dist/src/unstable/lint/catalog/skill-accessor/contexts.js.map +1 -0
- package/dist/src/unstable/lint/catalog/skill-accessor/platform.d.ts +52 -0
- package/dist/src/unstable/lint/catalog/skill-accessor/platform.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/skill-accessor/platform.js +89 -0
- package/dist/src/unstable/lint/catalog/skill-accessor/platform.js.map +1 -0
- package/dist/src/unstable/lint/catalog/skill-accessor/vft.d.ts +58 -0
- package/dist/src/unstable/lint/catalog/skill-accessor/vft.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/skill-accessor/vft.js +83 -0
- package/dist/src/unstable/lint/catalog/skill-accessor/vft.js.map +1 -0
- package/dist/src/unstable/lint/catalog/skill.d.ts +38 -0
- package/dist/src/unstable/lint/catalog/skill.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/skill.js +52 -0
- package/dist/src/unstable/lint/catalog/skill.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/agents-detected-declared.d.ts +23 -0
- package/dist/src/unstable/lint/catalog/workspace/agents-detected-declared.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/agents-detected-declared.js +75 -0
- package/dist/src/unstable/lint/catalog/workspace/agents-detected-declared.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/agents-recognized.d.ts +23 -0
- package/dist/src/unstable/lint/catalog/workspace/agents-recognized.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/agents-recognized.js +76 -0
- package/dist/src/unstable/lint/catalog/workspace/agents-recognized.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/helpers/empty.d.ts +18 -0
- package/dist/src/unstable/lint/catalog/workspace/helpers/empty.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/helpers/empty.js +16 -0
- package/dist/src/unstable/lint/catalog/workspace/helpers/empty.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/helpers/install-ops.d.ts +133 -0
- package/dist/src/unstable/lint/catalog/workspace/helpers/install-ops.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/helpers/install-ops.js +149 -0
- package/dist/src/unstable/lint/catalog/workspace/helpers/install-ops.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.d.ts +25 -0
- package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.js +30 -0
- package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/initialized.d.ts +22 -0
- package/dist/src/unstable/lint/catalog/workspace/initialized.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/initialized.js +55 -0
- package/dist/src/unstable/lint/catalog/workspace/initialized.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/lockfile-valid.d.ts +33 -0
- package/dist/src/unstable/lint/catalog/workspace/lockfile-valid.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/lockfile-valid.js +125 -0
- package/dist/src/unstable/lint/catalog/workspace/lockfile-valid.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/packs-declarations-valid.d.ts +19 -0
- package/dist/src/unstable/lint/catalog/workspace/packs-declarations-valid.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/packs-declarations-valid.js +145 -0
- package/dist/src/unstable/lint/catalog/workspace/packs-declarations-valid.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.d.ts +17 -0
- package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.js +107 -0
- package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/packs-members-retained.d.ts +22 -0
- package/dist/src/unstable/lint/catalog/workspace/packs-members-retained.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/packs-members-retained.js +163 -0
- package/dist/src/unstable/lint/catalog/workspace/packs-members-retained.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/settings-schema-valid.d.ts +28 -0
- package/dist/src/unstable/lint/catalog/workspace/settings-schema-valid.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/settings-schema-valid.js +67 -0
- package/dist/src/unstable/lint/catalog/workspace/settings-schema-valid.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-clean.d.ts +30 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-clean.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-clean.js +232 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-clean.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-correct.d.ts +26 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-correct.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-correct.js +129 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-correct.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-declarations-valid.d.ts +26 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-declarations-valid.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-declarations-valid.js +151 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-declarations-valid.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-integrity-valid.d.ts +29 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-integrity-valid.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-integrity-valid.js +149 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-integrity-valid.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.d.ts +29 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.js +242 -0
- package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/contexts.d.ts +141 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/contexts.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/contexts.js +123 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/contexts.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/interpret-ops.d.ts +38 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/interpret-ops.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/interpret-ops.js +311 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/interpret-ops.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/platform.d.ts +60 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/platform.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/platform.js +201 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/platform.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/test-state.d.ts +65 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/test-state.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/test-state.js +95 -0
- package/dist/src/unstable/lint/catalog/workspace-accessor/test-state.js.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace.d.ts +47 -0
- package/dist/src/unstable/lint/catalog/workspace.d.ts.map +1 -0
- package/dist/src/unstable/lint/catalog/workspace.js +80 -0
- package/dist/src/unstable/lint/catalog/workspace.js.map +1 -0
- package/dist/src/unstable/lint/cli.d.ts +297 -0
- package/dist/src/unstable/lint/cli.d.ts.map +1 -0
- package/dist/src/unstable/lint/cli.js +388 -0
- package/dist/src/unstable/lint/cli.js.map +1 -0
- package/dist/src/unstable/lint/compose-path.d.ts +27 -0
- package/dist/src/unstable/lint/compose-path.d.ts.map +1 -0
- package/dist/src/unstable/lint/compose-path.js +61 -0
- package/dist/src/unstable/lint/compose-path.js.map +1 -0
- package/dist/src/unstable/lint/config.d.ts +103 -0
- package/dist/src/unstable/lint/config.d.ts.map +1 -0
- package/dist/src/unstable/lint/config.js +137 -0
- package/dist/src/unstable/lint/config.js.map +1 -0
- package/dist/src/unstable/lint/context.d.ts +265 -0
- package/dist/src/unstable/lint/context.d.ts.map +1 -0
- package/dist/src/unstable/lint/context.js +21 -0
- package/dist/src/unstable/lint/context.js.map +1 -0
- package/dist/src/unstable/lint/evaluate.d.ts +68 -0
- package/dist/src/unstable/lint/evaluate.d.ts.map +1 -0
- package/dist/src/unstable/lint/evaluate.js +147 -0
- package/dist/src/unstable/lint/evaluate.js.map +1 -0
- package/dist/src/unstable/lint/index.d.ts +28 -0
- package/dist/src/unstable/lint/index.d.ts.map +1 -0
- package/dist/src/unstable/lint/index.js +35 -0
- package/dist/src/unstable/lint/index.js.map +1 -0
- package/dist/src/unstable/lint/issues-to-findings.d.ts +35 -0
- package/dist/src/unstable/lint/issues-to-findings.d.ts.map +1 -0
- package/dist/src/unstable/lint/issues-to-findings.js +97 -0
- package/dist/src/unstable/lint/issues-to-findings.js.map +1 -0
- package/dist/src/unstable/lint/rule.d.ts +139 -0
- package/dist/src/unstable/lint/rule.d.ts.map +1 -0
- package/dist/src/unstable/lint/rule.js +25 -0
- package/dist/src/unstable/lint/rule.js.map +1 -0
- package/dist/src/unstable/mcp-servers/operations/install.d.ts +1 -1
- package/dist/src/unstable/mcp-servers/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/publish.d.ts +1 -1
- package/dist/src/unstable/mcp-servers/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/operations/uninstall.d.ts +1 -1
- package/dist/src/unstable/mcp-servers/operations/uninstall.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/add-to-pack.d.ts +2 -2
- package/dist/src/unstable/packs/operations/add-to-pack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/install.d.ts +2 -2
- package/dist/src/unstable/packs/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/new-pack.d.ts +2 -2
- package/dist/src/unstable/packs/operations/new-pack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/publish.d.ts +2 -2
- package/dist/src/unstable/packs/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/remove-from-pack.d.ts +2 -2
- package/dist/src/unstable/packs/operations/remove-from-pack.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/uninstall.d.ts +2 -2
- package/dist/src/unstable/packs/operations/uninstall.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/unpack.d.ts +2 -2
- package/dist/src/unstable/packs/operations/unpack.d.ts.map +1 -1
- package/dist/src/unstable/{workspace → plan}/apply-plan.d.ts +9 -0
- package/dist/src/unstable/plan/apply-plan.d.ts.map +1 -0
- package/dist/src/unstable/{workspace → plan}/apply-plan.js +10 -1
- package/dist/src/unstable/plan/apply-plan.js.map +1 -0
- package/dist/src/unstable/plan/index.d.ts +24 -0
- package/dist/src/unstable/plan/index.d.ts.map +1 -0
- package/dist/src/unstable/plan/index.js +28 -0
- package/dist/src/unstable/plan/index.js.map +1 -0
- package/dist/src/unstable/{workspace → plan}/plan.d.ts +6 -0
- package/dist/src/unstable/plan/plan.d.ts.map +1 -0
- package/dist/src/unstable/{workspace → plan}/plan.js +6 -0
- package/dist/src/unstable/plan/plan.js.map +1 -0
- package/dist/src/unstable/{workspace → plan}/resolve-plan.d.ts +30 -2
- package/dist/src/unstable/plan/resolve-plan.d.ts.map +1 -0
- package/dist/src/unstable/{workspace → plan}/resolve-plan.js +37 -6
- package/dist/src/unstable/plan/resolve-plan.js.map +1 -0
- package/dist/src/unstable/publish/manifest-policy.d.ts +8 -8
- package/dist/src/unstable/settings/index.d.ts +2 -0
- package/dist/src/unstable/settings/index.d.ts.map +1 -1
- package/dist/src/unstable/settings/index.js +1 -0
- package/dist/src/unstable/settings/index.js.map +1 -1
- package/dist/src/unstable/settings/schema.d.ts +3 -0
- package/dist/src/unstable/settings/schema.d.ts.map +1 -1
- package/dist/src/unstable/settings/schema.js +3 -0
- package/dist/src/unstable/settings/schema.js.map +1 -1
- package/dist/src/unstable/settings/settings.d.ts +10 -0
- package/dist/src/unstable/settings/settings.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/copy.d.ts +2 -2
- package/dist/src/unstable/skills/operations/copy.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/disable.d.ts +2 -2
- package/dist/src/unstable/skills/operations/disable.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/enable.d.ts +2 -2
- package/dist/src/unstable/skills/operations/enable.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/install.d.ts +2 -2
- package/dist/src/unstable/skills/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/new-skill.d.ts +2 -2
- package/dist/src/unstable/skills/operations/new-skill.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/publish.d.ts +2 -2
- package/dist/src/unstable/skills/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/rename.d.ts +2 -2
- package/dist/src/unstable/skills/operations/rename.d.ts.map +1 -1
- package/dist/src/unstable/skills/operations/uninstall.d.ts +2 -2
- package/dist/src/unstable/skills/operations/uninstall.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/disable.d.ts +2 -2
- package/dist/src/unstable/subagents/operations/disable.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/enable.d.ts +2 -2
- package/dist/src/unstable/subagents/operations/enable.d.ts.map +1 -1
- package/dist/src/unstable/subagents/operations/publish.d.ts +2 -2
- package/dist/src/unstable/subagents/operations/publish.d.ts.map +1 -1
- package/dist/src/unstable/workflows/install-command/workflow.d.ts +1 -1
- package/dist/src/unstable/workflows/install-command/workflow.d.ts.map +1 -1
- package/dist/src/unstable/workflows/install-command/workflow.js +1 -1
- package/dist/src/unstable/workflows/install-command/workflow.js.map +1 -1
- package/dist/src/unstable/workflows/uninstall-command/workflow.d.ts +1 -1
- package/dist/src/unstable/workflows/uninstall-command/workflow.d.ts.map +1 -1
- package/dist/src/unstable/workflows/uninstall-command/workflow.js +1 -1
- package/dist/src/unstable/workflows/uninstall-command/workflow.js.map +1 -1
- package/dist/src/unstable/workspace/augment-plan.d.ts +1 -1
- package/dist/src/unstable/workspace/augment-plan.d.ts.map +1 -1
- package/dist/src/unstable/workspace/display-plan.d.ts +1 -1
- package/dist/src/unstable/workspace/display-plan.d.ts.map +1 -1
- package/dist/src/unstable/workspace/display-plan.js.map +1 -1
- package/dist/src/unstable/workspace/index.d.ts +0 -5
- package/dist/src/unstable/workspace/index.d.ts.map +1 -1
- package/dist/src/unstable/workspace/index.js +3 -7
- package/dist/src/unstable/workspace/index.js.map +1 -1
- package/dist/src/unstable/workspace/initialization.d.ts +15 -0
- package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
- package/dist/src/unstable/workspace/paths.d.ts +0 -18
- package/dist/src/unstable/workspace/paths.d.ts.map +1 -1
- package/dist/src/unstable/workspace/paths.js +12 -2
- package/dist/src/unstable/workspace/paths.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/scan-plan-readiness.d.ts +1 -1
- package/dist/src/unstable/workspace/scan-plan-readiness.d.ts.map +1 -1
- package/dist/src/unstable/workspace/settings-validation/types.d.ts +11 -1
- package/dist/src/unstable/workspace/settings-validation/types.d.ts.map +1 -1
- package/package.json +10 -2
- package/site-content/__generated__/schemas/axm-lock.schema.json +727 -1124
- package/site-content/__generated__/schemas/axm-package-meta.schema.json +3 -16
- package/site-content/__generated__/schemas/command.schema.json +29 -130
- package/site-content/__generated__/schemas/extension-pack.schema.json +36 -154
- package/site-content/__generated__/schemas/mcp-server.schema.json +21 -134
- package/site-content/__generated__/schemas/settings.schema.json +111 -291
- package/site-content/__generated__/schemas/skill.schema.json +23 -143
- package/dist/src/unstable/workspace/apply-plan.d.ts.map +0 -1
- package/dist/src/unstable/workspace/apply-plan.js.map +0 -1
- package/dist/src/unstable/workspace/doctor/check-def.d.ts +0 -29
- package/dist/src/unstable/workspace/doctor/check-def.d.ts.map +0 -1
- package/dist/src/unstable/workspace/doctor/check-def.js +0 -17
- package/dist/src/unstable/workspace/doctor/check-def.js.map +0 -1
- package/dist/src/unstable/workspace/doctor/checks/agents-configured.d.ts +0 -5
- package/dist/src/unstable/workspace/doctor/checks/agents-configured.d.ts.map +0 -1
- package/dist/src/unstable/workspace/doctor/checks/agents-configured.js +0 -170
- package/dist/src/unstable/workspace/doctor/checks/agents-configured.js.map +0 -1
- package/dist/src/unstable/workspace/doctor/checks/extensions-active.d.ts +0 -4
- package/dist/src/unstable/workspace/doctor/checks/extensions-active.d.ts.map +0 -1
- package/dist/src/unstable/workspace/doctor/checks/extensions-active.js +0 -238
- package/dist/src/unstable/workspace/doctor/checks/extensions-active.js.map +0 -1
- package/dist/src/unstable/workspace/doctor/checks/extensions-current.d.ts +0 -18
- package/dist/src/unstable/workspace/doctor/checks/extensions-current.d.ts.map +0 -1
- package/dist/src/unstable/workspace/doctor/checks/extensions-current.js +0 -92
- package/dist/src/unstable/workspace/doctor/checks/extensions-current.js.map +0 -1
- package/dist/src/unstable/workspace/doctor/checks/extensions-installed.d.ts +0 -5
- package/dist/src/unstable/workspace/doctor/checks/extensions-installed.d.ts.map +0 -1
- package/dist/src/unstable/workspace/doctor/checks/extensions-installed.js +0 -472
- package/dist/src/unstable/workspace/doctor/checks/extensions-installed.js.map +0 -1
- package/dist/src/unstable/workspace/doctor/checks/workspace-ready.d.ts +0 -5
- package/dist/src/unstable/workspace/doctor/checks/workspace-ready.d.ts.map +0 -1
- package/dist/src/unstable/workspace/doctor/checks/workspace-ready.js +0 -201
- package/dist/src/unstable/workspace/doctor/checks/workspace-ready.js.map +0 -1
- package/dist/src/unstable/workspace/doctor/diagnose.d.ts +0 -49
- package/dist/src/unstable/workspace/doctor/diagnose.d.ts.map +0 -1
- package/dist/src/unstable/workspace/doctor/diagnose.js +0 -78
- package/dist/src/unstable/workspace/doctor/diagnose.js.map +0 -1
- package/dist/src/unstable/workspace/doctor/index.d.ts +0 -8
- package/dist/src/unstable/workspace/doctor/index.d.ts.map +0 -1
- package/dist/src/unstable/workspace/doctor/index.js +0 -6
- package/dist/src/unstable/workspace/doctor/index.js.map +0 -1
- package/dist/src/unstable/workspace/doctor/rollup.d.ts +0 -4
- package/dist/src/unstable/workspace/doctor/rollup.d.ts.map +0 -1
- package/dist/src/unstable/workspace/doctor/rollup.js +0 -28
- package/dist/src/unstable/workspace/doctor/rollup.js.map +0 -1
- package/dist/src/unstable/workspace/doctor/runner.d.ts +0 -6
- package/dist/src/unstable/workspace/doctor/runner.d.ts.map +0 -1
- package/dist/src/unstable/workspace/doctor/runner.js +0 -179
- package/dist/src/unstable/workspace/doctor/runner.js.map +0 -1
- package/dist/src/unstable/workspace/doctor/types.d.ts +0 -127
- package/dist/src/unstable/workspace/doctor/types.d.ts.map +0 -1
- package/dist/src/unstable/workspace/doctor/types.js +0 -60
- package/dist/src/unstable/workspace/doctor/types.js.map +0 -1
- package/dist/src/unstable/workspace/plan.d.ts.map +0 -1
- package/dist/src/unstable/workspace/plan.js.map +0 -1
- package/dist/src/unstable/workspace/resolve-plan.d.ts.map +0 -1
- package/dist/src/unstable/workspace/resolve-plan.js.map +0 -1
- package/dist/src/unstable/workspace/sync.d.ts +0 -17
- package/dist/src/unstable/workspace/sync.d.ts.map +0 -1
- package/dist/src/unstable/workspace/sync.js +0 -142
- package/dist/src/unstable/workspace/sync.js.map +0 -1
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
export declare const FindingSeveritySchema: Schema.Literals<readonly ["info", "warn", "error"]>;
|
|
3
|
-
export type FindingSeverity = typeof FindingSeveritySchema.Type;
|
|
4
|
-
export declare const CheckStatusSchema: Schema.Literals<readonly ["pass", "warn", "fail", "skip"]>;
|
|
5
|
-
export type CheckStatus = typeof CheckStatusSchema.Type;
|
|
6
|
-
export declare const FindingSubjectSchema: Schema.Struct<{
|
|
7
|
-
readonly kind: Schema.Literals<readonly ["extension", "agent", "file", "workspace"]>;
|
|
8
|
-
readonly ref: Schema.String;
|
|
9
|
-
}>;
|
|
10
|
-
export type FindingSubject = typeof FindingSubjectSchema.Type;
|
|
11
|
-
export declare const ActionSchema: Schema.Struct<{
|
|
12
|
-
readonly label: Schema.String;
|
|
13
|
-
readonly description: Schema.String;
|
|
14
|
-
readonly command: Schema.optional<Schema.String>;
|
|
15
|
-
readonly docs: Schema.optional<Schema.String>;
|
|
16
|
-
}>;
|
|
17
|
-
export type Action = typeof ActionSchema.Type;
|
|
18
|
-
export declare const FindingSchema: Schema.Struct<{
|
|
19
|
-
readonly id: Schema.String;
|
|
20
|
-
readonly severity: Schema.Literals<readonly ["info", "warn", "error"]>;
|
|
21
|
-
readonly message: Schema.String;
|
|
22
|
-
readonly subject: Schema.optional<Schema.Struct<{
|
|
23
|
-
readonly kind: Schema.Literals<readonly ["extension", "agent", "file", "workspace"]>;
|
|
24
|
-
readonly ref: Schema.String;
|
|
25
|
-
}>>;
|
|
26
|
-
readonly details: Schema.optional<Schema.String>;
|
|
27
|
-
readonly action: Schema.optional<Schema.Struct<{
|
|
28
|
-
readonly label: Schema.String;
|
|
29
|
-
readonly description: Schema.String;
|
|
30
|
-
readonly command: Schema.optional<Schema.String>;
|
|
31
|
-
readonly docs: Schema.optional<Schema.String>;
|
|
32
|
-
}>>;
|
|
33
|
-
}>;
|
|
34
|
-
export type Finding = typeof FindingSchema.Type;
|
|
35
|
-
export declare const CheckSchema: Schema.Struct<{
|
|
36
|
-
readonly id: Schema.String;
|
|
37
|
-
readonly title: Schema.String;
|
|
38
|
-
readonly description: Schema.String;
|
|
39
|
-
readonly dependsOn: Schema.$Array<Schema.String>;
|
|
40
|
-
readonly status: Schema.Literals<readonly ["pass", "warn", "fail", "skip"]>;
|
|
41
|
-
readonly skipReason: Schema.optional<Schema.String>;
|
|
42
|
-
readonly findings: Schema.$Array<Schema.Struct<{
|
|
43
|
-
readonly id: Schema.String;
|
|
44
|
-
readonly severity: Schema.Literals<readonly ["info", "warn", "error"]>;
|
|
45
|
-
readonly message: Schema.String;
|
|
46
|
-
readonly subject: Schema.optional<Schema.Struct<{
|
|
47
|
-
readonly kind: Schema.Literals<readonly ["extension", "agent", "file", "workspace"]>;
|
|
48
|
-
readonly ref: Schema.String;
|
|
49
|
-
}>>;
|
|
50
|
-
readonly details: Schema.optional<Schema.String>;
|
|
51
|
-
readonly action: Schema.optional<Schema.Struct<{
|
|
52
|
-
readonly label: Schema.String;
|
|
53
|
-
readonly description: Schema.String;
|
|
54
|
-
readonly command: Schema.optional<Schema.String>;
|
|
55
|
-
readonly docs: Schema.optional<Schema.String>;
|
|
56
|
-
}>>;
|
|
57
|
-
}>>;
|
|
58
|
-
}>;
|
|
59
|
-
export type Check = typeof CheckSchema.Type;
|
|
60
|
-
export declare const ReportSummarySchema: Schema.Struct<{
|
|
61
|
-
readonly checks: Schema.Struct<{
|
|
62
|
-
readonly passed: Schema.Number;
|
|
63
|
-
readonly warned: Schema.Number;
|
|
64
|
-
readonly failed: Schema.Number;
|
|
65
|
-
readonly skipped: Schema.Number;
|
|
66
|
-
readonly info: Schema.Number;
|
|
67
|
-
}>;
|
|
68
|
-
readonly findings: Schema.Struct<{
|
|
69
|
-
readonly errors: Schema.Number;
|
|
70
|
-
readonly warnings: Schema.Number;
|
|
71
|
-
readonly info: Schema.Number;
|
|
72
|
-
}>;
|
|
73
|
-
}>;
|
|
74
|
-
export type ReportSummary = typeof ReportSummarySchema.Type;
|
|
75
|
-
export declare const WorkspaceDoctorReportSchema: Schema.Struct<{
|
|
76
|
-
readonly scope: Schema.Literals<readonly ["project", "user"]>;
|
|
77
|
-
readonly workspacePath: Schema.String;
|
|
78
|
-
readonly healthy: Schema.Boolean;
|
|
79
|
-
readonly summary: Schema.Struct<{
|
|
80
|
-
readonly checks: Schema.Struct<{
|
|
81
|
-
readonly passed: Schema.Number;
|
|
82
|
-
readonly warned: Schema.Number;
|
|
83
|
-
readonly failed: Schema.Number;
|
|
84
|
-
readonly skipped: Schema.Number;
|
|
85
|
-
readonly info: Schema.Number;
|
|
86
|
-
}>;
|
|
87
|
-
readonly findings: Schema.Struct<{
|
|
88
|
-
readonly errors: Schema.Number;
|
|
89
|
-
readonly warnings: Schema.Number;
|
|
90
|
-
readonly info: Schema.Number;
|
|
91
|
-
}>;
|
|
92
|
-
}>;
|
|
93
|
-
readonly checks: Schema.$Array<Schema.Struct<{
|
|
94
|
-
readonly id: Schema.String;
|
|
95
|
-
readonly title: Schema.String;
|
|
96
|
-
readonly description: Schema.String;
|
|
97
|
-
readonly dependsOn: Schema.$Array<Schema.String>;
|
|
98
|
-
readonly status: Schema.Literals<readonly ["pass", "warn", "fail", "skip"]>;
|
|
99
|
-
readonly skipReason: Schema.optional<Schema.String>;
|
|
100
|
-
readonly findings: Schema.$Array<Schema.Struct<{
|
|
101
|
-
readonly id: Schema.String;
|
|
102
|
-
readonly severity: Schema.Literals<readonly ["info", "warn", "error"]>;
|
|
103
|
-
readonly message: Schema.String;
|
|
104
|
-
readonly subject: Schema.optional<Schema.Struct<{
|
|
105
|
-
readonly kind: Schema.Literals<readonly ["extension", "agent", "file", "workspace"]>;
|
|
106
|
-
readonly ref: Schema.String;
|
|
107
|
-
}>>;
|
|
108
|
-
readonly details: Schema.optional<Schema.String>;
|
|
109
|
-
readonly action: Schema.optional<Schema.Struct<{
|
|
110
|
-
readonly label: Schema.String;
|
|
111
|
-
readonly description: Schema.String;
|
|
112
|
-
readonly command: Schema.optional<Schema.String>;
|
|
113
|
-
readonly docs: Schema.optional<Schema.String>;
|
|
114
|
-
}>>;
|
|
115
|
-
}>>;
|
|
116
|
-
}>>;
|
|
117
|
-
}>;
|
|
118
|
-
export type WorkspaceDoctorReport = typeof WorkspaceDoctorReportSchema.Type;
|
|
119
|
-
export declare const CHECK_IDS: {
|
|
120
|
-
readonly workspaceReady: "workspace-ready";
|
|
121
|
-
readonly agentsConfigured: "agents-configured";
|
|
122
|
-
readonly extensionsInstalled: "extensions-installed";
|
|
123
|
-
readonly extensionsCurrent: "extensions-current";
|
|
124
|
-
readonly extensionsActive: "extensions-active";
|
|
125
|
-
};
|
|
126
|
-
export type CheckId = (typeof CHECK_IDS)[keyof typeof CHECK_IDS];
|
|
127
|
-
//# sourceMapp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}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { WORKSPACE_SCOPES } from "../scope.js";
|
|
3
|
-
export const FindingSeveritySchema = Schema.Literals(["info", "warn", "error"]);
|
|
4
|
-
export const CheckStatusSchema = Schema.Literals(["pass", "warn", "fail", "skip"]);
|
|
5
|
-
export const FindingSubjectSchema = Schema.Struct({
|
|
6
|
-
kind: Schema.Literals(["extension", "agent", "file", "workspace"]),
|
|
7
|
-
ref: Schema.String,
|
|
8
|
-
});
|
|
9
|
-
export const ActionSchema = Schema.Struct({
|
|
10
|
-
label: Schema.String,
|
|
11
|
-
description: Schema.String,
|
|
12
|
-
command: Schema.optional(Schema.String),
|
|
13
|
-
docs: Schema.optional(Schema.String),
|
|
14
|
-
});
|
|
15
|
-
export const FindingSchema = Schema.Struct({
|
|
16
|
-
id: Schema.String,
|
|
17
|
-
severity: FindingSeveritySchema,
|
|
18
|
-
message: Schema.String,
|
|
19
|
-
subject: Schema.optional(FindingSubjectSchema),
|
|
20
|
-
details: Schema.optional(Schema.String),
|
|
21
|
-
action: Schema.optional(ActionSchema),
|
|
22
|
-
});
|
|
23
|
-
export const CheckSchema = Schema.Struct({
|
|
24
|
-
id: Schema.String,
|
|
25
|
-
title: Schema.String,
|
|
26
|
-
description: Schema.String,
|
|
27
|
-
dependsOn: Schema.Array(Schema.String),
|
|
28
|
-
status: CheckStatusSchema,
|
|
29
|
-
skipReason: Schema.optional(Schema.String),
|
|
30
|
-
findings: Schema.Array(FindingSchema),
|
|
31
|
-
});
|
|
32
|
-
export const ReportSummarySchema = Schema.Struct({
|
|
33
|
-
checks: Schema.Struct({
|
|
34
|
-
passed: Schema.Number,
|
|
35
|
-
warned: Schema.Number,
|
|
36
|
-
failed: Schema.Number,
|
|
37
|
-
skipped: Schema.Number,
|
|
38
|
-
info: Schema.Number,
|
|
39
|
-
}),
|
|
40
|
-
findings: Schema.Struct({
|
|
41
|
-
errors: Schema.Number,
|
|
42
|
-
warnings: Schema.Number,
|
|
43
|
-
info: Schema.Number,
|
|
44
|
-
}),
|
|
45
|
-
});
|
|
46
|
-
export const WorkspaceDoctorReportSchema = Schema.Struct({
|
|
47
|
-
scope: Schema.Literals(WORKSPACE_SCOPES),
|
|
48
|
-
workspacePath: Schema.String,
|
|
49
|
-
healthy: Schema.Boolean,
|
|
50
|
-
summary: ReportSummarySchema,
|
|
51
|
-
checks: Schema.Array(CheckSchema),
|
|
52
|
-
});
|
|
53
|
-
export const CHECK_IDS = {
|
|
54
|
-
workspaceReady: "workspace-ready",
|
|
55
|
-
agentsConfigured: "agents-configured",
|
|
56
|
-
extensionsInstalled: "extensions-installed",
|
|
57
|
-
extensionsCurrent: "extensions-current",
|
|
58
|
-
extensionsActive: "extensions-active",
|
|
59
|
-
};
|
|
60
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/unstable/workspace/doctor/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAU,CAAC,CAAC;AAGzF,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAU,CAAC,CAAC;AAG5F,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,CAAU,CAAC;IAC3E,GAAG,EAAE,MAAM,CAAC,MAAM;CACnB,CAAC,CAAC;AAGH,MAAM,CAAC,MAA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AC5C,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAC;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5C,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;CACnC;AAED,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,aAAa,GAAG,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plan.js","sourceRoot":"","sources":["../../../../src/unstable/workspace/plan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-plan.d.ts","sourceRoot":"","sources":["../../../../src/unstable/workspace/resolve-plan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMtD,OAAO,KAAK,EAAiB,YAAY,EAAE,IAAI,EAAiB,MAAM,WAAW,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAwBnD;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB;SAGtB,OAAO;WACL,OAAO;aACL,OAAO;8BACU,MAAM;;;;;;;;;;;8OAuGlC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"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AAC;IAED,4BAA4B;IAC5B,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;IACjD,KAAK,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAC1B,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as FileSystem from "effect/FileSystem";
|
|
2
|
-
import * as Path from "effect/Path";
|
|
3
|
-
import * as Effect from "effect/Effect";
|
|
4
|
-
import { SourceHostProviders } from "../source-resolution/index.js";
|
|
5
|
-
import { type SettingsEntryBlocker } from "./settings-validation/index.js";
|
|
6
|
-
import { Workspace } from "./service-interface.js";
|
|
7
|
-
export interface WorkspaceSyncReadiness {
|
|
8
|
-
readonly canSync: boolean;
|
|
9
|
-
readonly blockers: ReadonlyArray<SettingsEntryBlocker>;
|
|
10
|
-
}
|
|
11
|
-
export declare const formatWorkspaceSyncBlockersHowToFix: (blockers: ReadonlyArray<SettingsEntryBlocker>) => string;
|
|
12
|
-
export declare const getWorkspaceSyncReadiness: () => Effect.Effect<{
|
|
13
|
-
canSync: boolean;
|
|
14
|
-
blockers: readonly SettingsEntryBlocker[];
|
|
15
|
-
}, never, FileSystem.FileSystem | Path.Path | Workspace | import("effect/Scope").Scope | SourceHostProviders>;
|
|
16
|
-
export declare const syncWorkspace: () => Effect.Effect<number, import("../app-error/app-error.ts").AppError, FileSystem.FileSystem | Path.Path | Workspace | import("../agents/coding-agent.ts").CodingAgentRepository | import("effect/Scope").Scope | SourceHostProviders>;
|
|
17
|
-
//# sourceMappingURL=sync.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../src/unstable/workspace/sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAkBxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAOpE,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,gCAAgC,CAAC;AAMxC,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;CACxD;AAwDD,eAAO,MAAM,mCAAmC,GAC9C,UAAU,aAAa,CAAC,oBAAoB,CAAC,KAC5C,MAMF,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;6GAQlC,CAAC;AAEL,eAAO,MAAM,aAAa,2OAkGtB,CAAC"}
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import * as FileSystem from "effect/FileSystem";
|
|
2
|
-
import * as Path from "effect/Path";
|
|
3
|
-
import * as Effect from "effect/Effect";
|
|
4
|
-
import * as Layer from "effect/Layer";
|
|
5
|
-
import * as Option from "effect/Option";
|
|
6
|
-
import { makeAppError } from "../app-error/index.js";
|
|
7
|
-
import { commandReconciliationAdapter } from "../commands/reconciliation-adapter.js";
|
|
8
|
-
import { countLockfileEntries, writeLockfile } from "../lockfile/index.js";
|
|
9
|
-
import { mcpServerReconciliationAdapter } from "../mcp-servers/reconciliation-adapter.js";
|
|
10
|
-
import { extensionPackReconciliationAdapter } from "../packs/reconciliation-adapter.js";
|
|
11
|
-
import { subagentReconciliationAdapter } from "../subagents/reconciliation-adapter.js";
|
|
12
|
-
import { createDefaultSettings, DEFAULT_PROFILE, readSettings } from "../settings/index.js";
|
|
13
|
-
import { ensureSkillAgentArtifact, materializeSkillCanonical, removeSkillAgentArtifact, } from "../skills/materialization.js";
|
|
14
|
-
import { skillReconciliationAdapter } from "../skills/reconciliation-adapter.js";
|
|
15
|
-
import { sourceToLockEntry } from "../sources/index.js";
|
|
16
|
-
import { SourceHostProviders } from "../source-resolution/index.js";
|
|
17
|
-
import { buildReconciliationSnapshot, getReconciliationAdapters, setReconciliationAdapters, } from "./reconciliation.js";
|
|
18
|
-
import { detectSettingsEntryBlockers, } from "./settings-validation/index.js";
|
|
19
|
-
import { buildWorkspaceSkillSnapshot, isResolvedWorkspaceSkill, } from "./skill-snapshot.js";
|
|
20
|
-
import { Workspace } from "./service-interface.js";
|
|
21
|
-
if (getReconciliationAdapters().length === 0) {
|
|
22
|
-
setReconciliationAdapters([
|
|
23
|
-
skillReconciliationAdapter,
|
|
24
|
-
commandReconciliationAdapter,
|
|
25
|
-
subagentReconciliationAdapter,
|
|
26
|
-
mcpServerReconciliationAdapter,
|
|
27
|
-
extensionPackReconciliationAdapter,
|
|
28
|
-
]);
|
|
29
|
-
}
|
|
30
|
-
const makeFsLayer = (fs, path) => Layer.mergeAll(Layer.succeed(FileSystem.FileSystem, fs), Layer.succeed(Path.Path, path));
|
|
31
|
-
const readSettingsSafe = (dir, fsLayer) => readSettings(dir).pipe(Effect.map(Option.getOrElse(() => createDefaultSettings())), Effect.provide(fsLayer));
|
|
32
|
-
const buildLockfileSyncState = () => Effect.gen(function* () {
|
|
33
|
-
const ws = yield* Workspace;
|
|
34
|
-
const fs = yield* FileSystem.FileSystem;
|
|
35
|
-
const path = yield* Path.Path;
|
|
36
|
-
const fsLayer = makeFsLayer(fs, path);
|
|
37
|
-
const settings = yield* readSettingsSafe(ws.path, fsLayer);
|
|
38
|
-
const snapshot = yield* buildReconciliationSnapshot({
|
|
39
|
-
baseDir: ws.baseDir,
|
|
40
|
-
now: new Date(),
|
|
41
|
-
defaultProfile: settings.profile ?? DEFAULT_PROFILE,
|
|
42
|
-
agents: settings.agents ?? [],
|
|
43
|
-
settings,
|
|
44
|
-
}).pipe(Effect.provide(fsLayer));
|
|
45
|
-
return {
|
|
46
|
-
workspacePath: ws.path,
|
|
47
|
-
snapshot,
|
|
48
|
-
};
|
|
49
|
-
});
|
|
50
|
-
const formatWorkspaceSkillAgentIssue = (issue) => {
|
|
51
|
-
switch (issue._tag) {
|
|
52
|
-
case "unknown-agent":
|
|
53
|
-
return `${issue.agentId}: unknown agent`;
|
|
54
|
-
case "misconfigured-agent":
|
|
55
|
-
return `${issue.agentId}: ${issue.reason}`;
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
export const formatWorkspaceSyncBlockersHowToFix = (blockers) => {
|
|
59
|
-
const [first, ...rest] = blockers;
|
|
60
|
-
if (first !== undefined && rest.length === 0) {
|
|
61
|
-
return first.hint;
|
|
62
|
-
}
|
|
63
|
-
return "Fix or remove the invalid or unresolved entries in settings.json first.";
|
|
64
|
-
};
|
|
65
|
-
export const getWorkspaceSyncReadiness = () => Effect.gen(function* () {
|
|
66
|
-
const blockers = yield* detectSettingsEntryBlockers();
|
|
67
|
-
return {
|
|
68
|
-
canSync: blockers.length === 0,
|
|
69
|
-
blockers,
|
|
70
|
-
};
|
|
71
|
-
});
|
|
72
|
-
export const syncWorkspace = () => Effect.gen(function* () {
|
|
73
|
-
const ws = yield* Workspace;
|
|
74
|
-
const fs = yield* FileSystem.FileSystem;
|
|
75
|
-
const path = yield* Path.Path;
|
|
76
|
-
const sources = yield* SourceHostProviders;
|
|
77
|
-
const fsLayer = makeFsLayer(fs, path);
|
|
78
|
-
const provide = (effect) => Effect.provide(effect, fsLayer);
|
|
79
|
-
const syncReadiness = yield* getWorkspaceSyncReadiness();
|
|
80
|
-
if (!syncReadiness.canSync) {
|
|
81
|
-
return yield* makeAppError({
|
|
82
|
-
code: "WORKSPACE_SYNC_BLOCKED",
|
|
83
|
-
what: "Cannot sync workspace while settings entries are invalid or unresolved",
|
|
84
|
-
details: syncReadiness.blockers.map((blocker) => `${blocker.subject.kind}:${blocker.subject.ref}: ${blocker.message}`),
|
|
85
|
-
howToFix: formatWorkspaceSyncBlockersHowToFix(syncReadiness.blockers),
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
const skillSnapshot = yield* buildWorkspaceSkillSnapshot();
|
|
89
|
-
if (skillSnapshot.agents.issues.length > 0) {
|
|
90
|
-
return yield* makeAppError({
|
|
91
|
-
code: "WORKSPACE_SYNC_BLOCKED",
|
|
92
|
-
what: "Cannot sync workspace while configured agent skill directories are unavailable",
|
|
93
|
-
details: skillSnapshot.agents.issues.map(formatWorkspaceSkillAgentIssue),
|
|
94
|
-
howToFix: "Fix the configured agent setup or remove unsupported agents from settings.json.",
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
const resolvedSkills = skillSnapshot.skills.filter(isResolvedWorkspaceSkill);
|
|
98
|
-
yield* Effect.forEach(resolvedSkills, (skill) => materializeSkillCanonical({
|
|
99
|
-
ref: skill.ref,
|
|
100
|
-
sanitizedName: path.basename(skill.canonicalPath),
|
|
101
|
-
fs,
|
|
102
|
-
pathService: path,
|
|
103
|
-
baseDir: ws.baseDir,
|
|
104
|
-
sources,
|
|
105
|
-
provide,
|
|
106
|
-
}), { concurrency: "unbounded" });
|
|
107
|
-
yield* Effect.forEach(resolvedSkills, (skill) => Effect.forEach(skillSnapshot.agents.supportedDirs, ({ dir }) => skill.enabled
|
|
108
|
-
? ensureSkillAgentArtifact({
|
|
109
|
-
canonicalSkillSrcPath: skill.skillSrcPath,
|
|
110
|
-
targetDir: dir,
|
|
111
|
-
sanitizedName: path.basename(skill.canonicalPath),
|
|
112
|
-
pathService: path,
|
|
113
|
-
baseDir: ws.baseDir,
|
|
114
|
-
provide,
|
|
115
|
-
})
|
|
116
|
-
: removeSkillAgentArtifact({
|
|
117
|
-
fs,
|
|
118
|
-
pathService: path,
|
|
119
|
-
targetDir: dir,
|
|
120
|
-
sanitizedName: path.basename(skill.canonicalPath),
|
|
121
|
-
}), { concurrency: "unbounded" }), { concurrency: "unbounded" });
|
|
122
|
-
const lockfileState = yield* buildLockfileSyncState();
|
|
123
|
-
const settings = yield* readSettingsSafe(ws.path, fsLayer);
|
|
124
|
-
const configuredAgents = settings.agents ?? [];
|
|
125
|
-
const synchronizedSkills = Object.fromEntries(resolvedSkills.map((skill) => [
|
|
126
|
-
skill.name,
|
|
127
|
-
sourceToLockEntry({
|
|
128
|
-
ref: skill.ref,
|
|
129
|
-
agents: skill.enabled ? configuredAgents : [],
|
|
130
|
-
now: new Date(),
|
|
131
|
-
sourceName: Option.none(),
|
|
132
|
-
existingInstalledAt: Option.none(),
|
|
133
|
-
}),
|
|
134
|
-
]));
|
|
135
|
-
const synchronizedLockfile = {
|
|
136
|
-
...lockfileState.snapshot.lockfile,
|
|
137
|
-
skills: synchronizedSkills,
|
|
138
|
-
};
|
|
139
|
-
yield* writeLockfile(lockfileState.workspacePath, synchronizedLockfile);
|
|
140
|
-
return countLockfileEntries(synchronizedLockfile);
|
|
141
|
-
});
|
|
142
|
-
//# sourceMappingURL=sync.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sync.js","sourceRoot":"","sources":["../../../../src/unstable/workspace/sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC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