@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../src/unstable/lint/context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure evaluator for the lint engine.
|
|
3
|
+
*
|
|
4
|
+
* `evaluateContexts(rules, contexts, config)` pairs each rule with each context,
|
|
5
|
+
* invokes `rule.check`, applies severity overrides from `config.rules`, and
|
|
6
|
+
* drops findings whose configured severity is `"off"`. It never invokes
|
|
7
|
+
* `rule.fix` — that is the caller's job via `collectFixOperations` plus the
|
|
8
|
+
* plan pipeline.
|
|
9
|
+
*
|
|
10
|
+
* `collectFixOperations(evaluated)` walks the `AutofixableFinding`s produced
|
|
11
|
+
* above, invokes the matched rule's `fix`, flattens the returned operations
|
|
12
|
+
* and deduplicates them by structural equality. Two rules that emit the same
|
|
13
|
+
* `install-skill` Operation for the same target contribute it once.
|
|
14
|
+
*
|
|
15
|
+
* Both functions are plain `Effect` values; neither requires a Layer or an
|
|
16
|
+
* ambient service. See the `lint-engine` design doc §3 for the rationale
|
|
17
|
+
* behind library primitives over a central engine service.
|
|
18
|
+
*
|
|
19
|
+
* @experimental This API is unstable and may change without notice.
|
|
20
|
+
* @packageDocumentation
|
|
21
|
+
*/
|
|
22
|
+
import * as Effect from "effect/Effect";
|
|
23
|
+
import type { Operation } from "../plan/plan.js";
|
|
24
|
+
import type { LintConfig } from "./config.js";
|
|
25
|
+
import type { LintFinding, LintRule } from "./rule.js";
|
|
26
|
+
/**
|
|
27
|
+
* One `(rule, context, findings)` evaluation result.
|
|
28
|
+
*
|
|
29
|
+
* `findings` is emitted after severity overrides from `config.rules` have been
|
|
30
|
+
* applied; rule-level severity is the platform default, finding-level severity
|
|
31
|
+
* is the effective post-override severity.
|
|
32
|
+
*
|
|
33
|
+
* @experimental This API is unstable and may change without notice.
|
|
34
|
+
*/
|
|
35
|
+
export interface Evaluated<C> {
|
|
36
|
+
readonly rule: LintRule<C>;
|
|
37
|
+
readonly context: C;
|
|
38
|
+
readonly findings: ReadonlyArray<LintFinding>;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Pair each rule with each context, run `rule.check`, apply severity overrides
|
|
42
|
+
* from `config.rules`, and return one `Evaluated<C>` per pair.
|
|
43
|
+
*
|
|
44
|
+
* Findings whose configured severity is `"off"` are suppressed entirely; the
|
|
45
|
+
* `Evaluated` entry still ships (with an empty `findings` array) so consumers
|
|
46
|
+
* that group by rule still see the rule ran.
|
|
47
|
+
*
|
|
48
|
+
* Rules are evaluated in catalog order; contexts are evaluated in caller
|
|
49
|
+
* order. Rule-context invocation is sequential within a single
|
|
50
|
+
* `evaluateContexts` call so tests can observe deterministic ordering.
|
|
51
|
+
*
|
|
52
|
+
* @experimental This API is unstable and may change without notice.
|
|
53
|
+
*/
|
|
54
|
+
export declare const evaluateContexts: <C>(rules: ReadonlyArray<LintRule<C>>, contexts: ReadonlyArray<C>, config: LintConfig) => Effect.Effect<ReadonlyArray<Evaluated<C>>>;
|
|
55
|
+
/**
|
|
56
|
+
* Walk the `AutofixableFinding`s in `evaluated`, invoke each matched rule's
|
|
57
|
+
* `fix`, flatten the returned operations, and deduplicate by structural
|
|
58
|
+
* equality of the Operation value.
|
|
59
|
+
*
|
|
60
|
+
* Structural equality is defined as JSON-serializable deep equality on
|
|
61
|
+
* `{ name, args }`. v1 operations are plain POJOs; if an operation later grows
|
|
62
|
+
* non-serializable fields, the dedupe key extraction lands alongside that
|
|
63
|
+
* change.
|
|
64
|
+
*
|
|
65
|
+
* @experimental This API is unstable and may change without notice.
|
|
66
|
+
*/
|
|
67
|
+
export declare const collectFixOperations: <C>(evaluated: ReadonlyArray<Evaluated<C>>) => Effect.Effect<ReadonlyArray<Operation<string, unknown>>>;
|
|
68
|
+
//# sourceMappingURL=evaluate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluate.d.ts","sourceRoot":"","sources":["../../../../src/unstable/lint/evaluate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAoB,MAAM,aAAa,CAAC;AAChE,OAAO,KAAK,EAIV,WAAW,EACX,QAAQ,EAET,MAAM,WAAW,CAAC;AAMnB;;;;;;;;GAQG;AACH,MAAM,WAAW,SAAS,CAAC,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC;IACpB,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;CAC/C;AAgDD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAChC,OAAO,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EACjC,UAAU,aAAa,CAAC,CAAC,CAAC,EAC1B,QAAQ,UAAU,KACjB,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAKzC,CAAC;AA8BJ;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,GAAI,CAAC,EACpC,WAAW,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KACrC,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CA4BtD,CAAC"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure evaluator for the lint engine.
|
|
3
|
+
*
|
|
4
|
+
* `evaluateContexts(rules, contexts, config)` pairs each rule with each context,
|
|
5
|
+
* invokes `rule.check`, applies severity overrides from `config.rules`, and
|
|
6
|
+
* drops findings whose configured severity is `"off"`. It never invokes
|
|
7
|
+
* `rule.fix` — that is the caller's job via `collectFixOperations` plus the
|
|
8
|
+
* plan pipeline.
|
|
9
|
+
*
|
|
10
|
+
* `collectFixOperations(evaluated)` walks the `AutofixableFinding`s produced
|
|
11
|
+
* above, invokes the matched rule's `fix`, flattens the returned operations
|
|
12
|
+
* and deduplicates them by structural equality. Two rules that emit the same
|
|
13
|
+
* `install-skill` Operation for the same target contribute it once.
|
|
14
|
+
*
|
|
15
|
+
* Both functions are plain `Effect` values; neither requires a Layer or an
|
|
16
|
+
* ambient service. See the `lint-engine` design doc §3 for the rationale
|
|
17
|
+
* behind library primitives over a central engine service.
|
|
18
|
+
*
|
|
19
|
+
* @experimental This API is unstable and may change without notice.
|
|
20
|
+
* @packageDocumentation
|
|
21
|
+
*/
|
|
22
|
+
import * as Array from "effect/Array";
|
|
23
|
+
import * as Effect from "effect/Effect";
|
|
24
|
+
// -----------------------------------------------------------------------------
|
|
25
|
+
// Severity override
|
|
26
|
+
// -----------------------------------------------------------------------------
|
|
27
|
+
/**
|
|
28
|
+
* Translate a `LintRuleSeverity` config value into an effective `Severity`
|
|
29
|
+
* or the `"off"` sentinel. `"warn"` maps to `"warning"` so downstream code
|
|
30
|
+
* sees the canonical three-severity alphabet.
|
|
31
|
+
*
|
|
32
|
+
* `config.rules` keys are exact rule ids with no wildcard / glob support in v1;
|
|
33
|
+
* see `./config.ts` for the schema.
|
|
34
|
+
*/
|
|
35
|
+
const translateConfigValue = (value) => {
|
|
36
|
+
switch (value) {
|
|
37
|
+
case "warn":
|
|
38
|
+
return "warning";
|
|
39
|
+
case "off":
|
|
40
|
+
case "info":
|
|
41
|
+
case "error":
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
const applyOverride = (defaultSeverity, override) => {
|
|
46
|
+
if (override === undefined) {
|
|
47
|
+
return defaultSeverity;
|
|
48
|
+
}
|
|
49
|
+
return translateConfigValue(override);
|
|
50
|
+
};
|
|
51
|
+
const withSeverity = (finding, severity) => {
|
|
52
|
+
if (finding.kind === "autofixable") {
|
|
53
|
+
const next = { ...finding, severity };
|
|
54
|
+
return next;
|
|
55
|
+
}
|
|
56
|
+
const next = { ...finding, severity };
|
|
57
|
+
return next;
|
|
58
|
+
};
|
|
59
|
+
// -----------------------------------------------------------------------------
|
|
60
|
+
// evaluateContexts
|
|
61
|
+
// -----------------------------------------------------------------------------
|
|
62
|
+
/**
|
|
63
|
+
* Pair each rule with each context, run `rule.check`, apply severity overrides
|
|
64
|
+
* from `config.rules`, and return one `Evaluated<C>` per pair.
|
|
65
|
+
*
|
|
66
|
+
* Findings whose configured severity is `"off"` are suppressed entirely; the
|
|
67
|
+
* `Evaluated` entry still ships (with an empty `findings` array) so consumers
|
|
68
|
+
* that group by rule still see the rule ran.
|
|
69
|
+
*
|
|
70
|
+
* Rules are evaluated in catalog order; contexts are evaluated in caller
|
|
71
|
+
* order. Rule-context invocation is sequential within a single
|
|
72
|
+
* `evaluateContexts` call so tests can observe deterministic ordering.
|
|
73
|
+
*
|
|
74
|
+
* @experimental This API is unstable and may change without notice.
|
|
75
|
+
*/
|
|
76
|
+
export const evaluateContexts = (rules, contexts, config) => Effect.forEach(rules.flatMap((rule) => contexts.map((context) => ({ rule, context }))), ({ rule, context }) => evaluateOne(rule, context, config), { concurrency: 1 });
|
|
77
|
+
const evaluateOne = (rule, context, config) => Effect.map(rule.check(context), (rawFindings) => ({
|
|
78
|
+
rule,
|
|
79
|
+
context,
|
|
80
|
+
findings: applySeverityConfig(rule, rawFindings, config),
|
|
81
|
+
}));
|
|
82
|
+
const applySeverityConfig = (rule, findings, config) => {
|
|
83
|
+
const override = config.rules?.[rule.id];
|
|
84
|
+
const effective = applyOverride(rule.severity, override);
|
|
85
|
+
if (effective === "off") {
|
|
86
|
+
return [];
|
|
87
|
+
}
|
|
88
|
+
return Array.map(findings, (finding) => withSeverity(finding, effective));
|
|
89
|
+
};
|
|
90
|
+
// -----------------------------------------------------------------------------
|
|
91
|
+
// collectFixOperations
|
|
92
|
+
// -----------------------------------------------------------------------------
|
|
93
|
+
/**
|
|
94
|
+
* Walk the `AutofixableFinding`s in `evaluated`, invoke each matched rule's
|
|
95
|
+
* `fix`, flatten the returned operations, and deduplicate by structural
|
|
96
|
+
* equality of the Operation value.
|
|
97
|
+
*
|
|
98
|
+
* Structural equality is defined as JSON-serializable deep equality on
|
|
99
|
+
* `{ name, args }`. v1 operations are plain POJOs; if an operation later grows
|
|
100
|
+
* non-serializable fields, the dedupe key extraction lands alongside that
|
|
101
|
+
* change.
|
|
102
|
+
*
|
|
103
|
+
* @experimental This API is unstable and may change without notice.
|
|
104
|
+
*/
|
|
105
|
+
export const collectFixOperations = (evaluated) => Effect.gen(function* () {
|
|
106
|
+
const collected = [];
|
|
107
|
+
const seen = new Set();
|
|
108
|
+
for (const entry of evaluated) {
|
|
109
|
+
if (entry.rule.kind !== "autofixing") {
|
|
110
|
+
continue;
|
|
111
|
+
}
|
|
112
|
+
const rule = entry.rule;
|
|
113
|
+
for (const finding of entry.findings) {
|
|
114
|
+
if (finding.kind !== "autofixable") {
|
|
115
|
+
continue;
|
|
116
|
+
}
|
|
117
|
+
const ops = yield* rule.fix(entry.context, finding);
|
|
118
|
+
for (const op of ops) {
|
|
119
|
+
const key = dedupeKey(op);
|
|
120
|
+
if (seen.has(key)) {
|
|
121
|
+
continue;
|
|
122
|
+
}
|
|
123
|
+
seen.add(key);
|
|
124
|
+
collected.push(op);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
return collected;
|
|
129
|
+
});
|
|
130
|
+
const dedupeKey = (op) => {
|
|
131
|
+
// Stable serialization: sort keys recursively to avoid collisions from
|
|
132
|
+
// property-order differences. v1 Operation args are plain JSON-compatible
|
|
133
|
+
// values; when that stops being true, dedupe extraction changes alongside.
|
|
134
|
+
return JSON.stringify(op, canonicalReplacer);
|
|
135
|
+
};
|
|
136
|
+
const canonicalReplacer = (_key, value) => {
|
|
137
|
+
if (!isPlainRecord(value)) {
|
|
138
|
+
return value;
|
|
139
|
+
}
|
|
140
|
+
const sorted = {};
|
|
141
|
+
for (const k of Object.keys(value).sort()) {
|
|
142
|
+
sorted[k] = value[k];
|
|
143
|
+
}
|
|
144
|
+
return sorted;
|
|
145
|
+
};
|
|
146
|
+
const isPlainRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
147
|
+
//# sourceMappingURL=evaluate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluate.js","sourceRoot":"","sources":["../../../../src/unstable/lint/evaluate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK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AM,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IACvB,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,KAAc,EAA8C,EAAE,CACnF,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lint engine — shared-kernel primitives for the AgentXM lint engine.
|
|
3
|
+
*
|
|
4
|
+
* Library-style discriminated unions and a pure evaluator. Rules are plain
|
|
5
|
+
* values generic over a caller-built context; the registry publish gate and
|
|
6
|
+
* `axm lint` each build contexts from their own runtimes and call
|
|
7
|
+
* `evaluateContexts` / `collectFixOperations`.
|
|
8
|
+
*
|
|
9
|
+
* Phase 2 ships the primitives, evaluator, rule-context types, narrow accessor
|
|
10
|
+
* surfaces, `composePath` renderer, schema-delegation helper
|
|
11
|
+
* (`issuesToFindings`), and the `LintConfig` section of `SettingsSchema`.
|
|
12
|
+
*
|
|
13
|
+
* Phases 3a, 3b, 3c land the concrete catalogs (`skillRules`, `packRules`,
|
|
14
|
+
* `workspaceRules`) and register their rule ids via `registerLintRuleIds`.
|
|
15
|
+
*
|
|
16
|
+
* @experimental This API is unstable and may change without notice.
|
|
17
|
+
* @packageDocumentation
|
|
18
|
+
*/
|
|
19
|
+
export type { AdvisoryFinding, AdvisoryRule, AutofixableFinding, AutofixingRule, FindingBase, FindingLocation, LintFinding, LintRule, RuleBase, Severity, } from "./rule.js";
|
|
20
|
+
export { collectFixOperations, evaluateContexts, type Evaluated } from "./evaluate.js";
|
|
21
|
+
export type { AgentDetection, FileAccessError, LockfileDocument, LockfileReadError, PackContent, PackFileAccessor, PackRuleContext, SettingsDocument, SettingsReadError, SkillContent, SkillFileAccessor, SkillRuleContext, WorkspaceLintAccessor, WorkspaceRuleContext, WorkspaceSubject, } from "./context.js";
|
|
22
|
+
export { composePath } from "./compose-path.js";
|
|
23
|
+
export { issuesToFindings } from "./issues-to-findings.js";
|
|
24
|
+
export type { LintConfig, LintRuleSeverity, LintRulesMap } from "./config.js";
|
|
25
|
+
export { LintConfigSchema, LintRuleSeveritySchema, LintRulesMapSchema, platformCanonicalLintConfig, registerLintRuleIds, registeredLintRuleIds, } from "./config.js";
|
|
26
|
+
export { collectAutofixableEntries, collectRenderedFindings, countFindings, detectPublishGateDrift, evaluateAllCatalogs, renderFindingsText, resolveLintExitCategory, summarizeEvaluations, toLintJsonDocument, type FindingCounts, type FixSummary, type GroupEvaluations, type LintExitCategory, type LintJsonDocument, type LintJsonFinding, type LintSummary, type RenderFindingsArgs, type RenderedFinding, } from "./cli.js";
|
|
27
|
+
export { allCatalogRuleIds, buildExternalInstalledSkillInfo, buildInstalledPackInfo, buildNativeInstalledSkillInfo, buildPackRuleContexts, buildSkillRuleContexts, buildWorkspaceRuleContext, externalSkillDisplayRoot, isPerExtensionOperationName, makePlatformPackFileAccessor, makePlatformSkillFileAccessor, makePlatformWorkspaceLintAccessor, makeVftPackFileAccessor, makeVftSkillFileAccessor, packRules, PER_EXTENSION_OPERATION_NAMES, registryNativeSkillDisplayRoot, registryPackDisplayRoot, skillRules, workspaceRules, type BuildInstalledPackInfoArgs, type BuildInstalledSkillInfoExternalArgs, type BuildInstalledSkillInfoNativeArgs, type BuildWorkspaceRuleContextArgs, type InstalledPackInfo, type InstalledSkillInfo, type PackAccessorPlatform, type PackIndexView, type PackVFTNode, type PerExtensionOperationName, type PlatformWorkspaceLintAccessorArgs, type SkillAccessorPlatform, type SkillIndexView, type VFTNode, type WorkspaceAccessorPlatform, type WorkspaceIndex, type WorkspaceIndexView, } from "./catalog/index.js";
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/unstable/lint/index.ts"],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B,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B,EAC5B,6BAA6B,EAC7B,iCAAiC,EACjC,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EACT,6BAA6B,EAC7B,8BAA8B,EAC9B,uBAAuB,EACvB,UAAU,EACV,cAAc,EACd,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,EAClC,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,yBAAyB,EAC9B,KAAK,iCAAiC,EACtC,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,OAAO,EACZ,KAAK,yBAAyB,EAC9B,KAAK,cAAc,EACnB,KAAK,kBAAkB,GACxB,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lint engine — shared-kernel primitives for the AgentXM lint engine.
|
|
3
|
+
*
|
|
4
|
+
* Library-style discriminated unions and a pure evaluator. Rules are plain
|
|
5
|
+
* values generic over a caller-built context; the registry publish gate and
|
|
6
|
+
* `axm lint` each build contexts from their own runtimes and call
|
|
7
|
+
* `evaluateContexts` / `collectFixOperations`.
|
|
8
|
+
*
|
|
9
|
+
* Phase 2 ships the primitives, evaluator, rule-context types, narrow accessor
|
|
10
|
+
* surfaces, `composePath` renderer, schema-delegation helper
|
|
11
|
+
* (`issuesToFindings`), and the `LintConfig` section of `SettingsSchema`.
|
|
12
|
+
*
|
|
13
|
+
* Phases 3a, 3b, 3c land the concrete catalogs (`skillRules`, `packRules`,
|
|
14
|
+
* `workspaceRules`) and register their rule ids via `registerLintRuleIds`.
|
|
15
|
+
*
|
|
16
|
+
* @experimental This API is unstable and may change without notice.
|
|
17
|
+
* @packageDocumentation
|
|
18
|
+
*/
|
|
19
|
+
// Evaluator and fix-operation collection
|
|
20
|
+
export { collectFixOperations, evaluateContexts } from "./evaluate.js";
|
|
21
|
+
// Path rendering
|
|
22
|
+
export { composePath } from "./compose-path.js";
|
|
23
|
+
// Schema-delegation helper
|
|
24
|
+
export { issuesToFindings } from "./issues-to-findings.js";
|
|
25
|
+
export { LintConfigSchema, LintRuleSeveritySchema, LintRulesMapSchema, platformCanonicalLintConfig, registerLintRuleIds, registeredLintRuleIds, } from "./config.js";
|
|
26
|
+
// Lint runner (Phase 5) — reusable primitives the `axm lint` CLI composes
|
|
27
|
+
// over. Keeps the CLI command file a thin surface over flag parsing and
|
|
28
|
+
// rendering per task 5.11.
|
|
29
|
+
export { collectAutofixableEntries, collectRenderedFindings, countFindings, detectPublishGateDrift, evaluateAllCatalogs, renderFindingsText, resolveLintExitCategory, summarizeEvaluations, toLintJsonDocument, } from "./cli.js";
|
|
30
|
+
// Rule catalogs (Phase 3a lands `skillRules`; Phase 3b lands `packRules`;
|
|
31
|
+
// Phase 3c lands `workspaceRules`). Importing this index triggers each
|
|
32
|
+
// catalog's module-load `registerLintRuleIds(...)` call so
|
|
33
|
+
// `.axm/settings.json` `lint.rules` keys can reference any exported rule id.
|
|
34
|
+
export { allCatalogRuleIds, buildExternalInstalledSkillInfo, buildInstalledPackInfo, buildNativeInstalledSkillInfo, buildPackRuleContexts, buildSkillRuleContexts, buildWorkspaceRuleContext, externalSkillDisplayRoot, isPerExtensionOperationName, makePlatformPackFileAccessor, makePlatformSkillFileAccessor, makePlatformWorkspaceLintAccessor, makeVftPackFileAccessor, makeVftSkillFileAccessor, packRules, PER_EXTENSION_OPERATION_NAMES, registryNativeSkillDisplayRoot, registryPackDisplayRoot, skillRules, workspaceRules, } from "./catalog/index.js";
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/unstable/lint/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAgBH,yCAAyC;AACzC,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAkB,MAAM,eAAe,CAAC;AAqBvF,iBAAiB;AACjB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,2BAA2B;AAC3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAI3D,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,2BAA2B,EAC3B,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AAErB,0EAA0E;AAC1E,wEAAwE;AACxE,2BAA2B;AAC3B,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,aAAa,EACb,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,kBAAkB,GAUnB,MAAM,UAAU,CAAC;AAElB,0EAA0E;AAC1E,uEAAuE;AACvE,2DAA2D;AAC3D,6EAA6E;AAC7E,OAAO,EACL,iBAAiB,EACjB,+BAA+B,EAC/B,sBAAsB,EACtB,6BAA6B,EAC7B,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B,EAC5B,6BAA6B,EAC7B,iCAAiC,EACjC,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EACT,6BAA6B,EAC7B,8BAA8B,EAC9B,uBAAuB,EACvB,UAAU,EACV,cAAc,GAkBf,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `issuesToFindings` — shared schema-delegation helper.
|
|
3
|
+
*
|
|
4
|
+
* `-schema-valid` rules delegate their `check` to Effect Schema via
|
|
5
|
+
* `Schema.decodeUnknownResult(schema, { onExcessProperty: "ignore" })` (or the
|
|
6
|
+
* Effect/Exit equivalents) and map the resulting `Issue` tree 1:1 to
|
|
7
|
+
* `AdvisoryFinding`s through this helper. Rules never re-implement schema
|
|
8
|
+
* checks inline; the paired `-keys-recognized` rule owns unknown-key hygiene
|
|
9
|
+
* at warning severity.
|
|
10
|
+
*
|
|
11
|
+
* The helper walks the recursive `SchemaIssue.Issue` tree, accumulating a
|
|
12
|
+
* path at each `Pointer` node and emitting one finding per leaf issue.
|
|
13
|
+
* Composite nodes recurse into their children. Each finding's `message` comes
|
|
14
|
+
* from the default `toString()` representation of the leaf issue, which is
|
|
15
|
+
* the Effect-formatted diagnostic. `location.file` is the caller-supplied
|
|
16
|
+
* file (the manifest file); v1 does not parse byte positions out of `Issue`
|
|
17
|
+
* values.
|
|
18
|
+
*
|
|
19
|
+
* @experimental This API is unstable and may change without notice.
|
|
20
|
+
* @packageDocumentation
|
|
21
|
+
*/
|
|
22
|
+
import type { Issue } from "effect/SchemaIssue";
|
|
23
|
+
import type { AdvisoryFinding, Severity } from "./rule.js";
|
|
24
|
+
/**
|
|
25
|
+
* Walk an `Issue` tree and produce one finding per leaf issue.
|
|
26
|
+
*
|
|
27
|
+
* @param ruleId - `<namespace>/<name>` id of the calling rule.
|
|
28
|
+
* @param severity - Severity to stamp on each emitted finding.
|
|
29
|
+
* @param file - Accessor-relative file path to stamp on `location.file`.
|
|
30
|
+
* @param issue - Root `Issue` produced by `Schema.decodeUnknown*`.
|
|
31
|
+
*
|
|
32
|
+
* @experimental This API is unstable and may change without notice.
|
|
33
|
+
*/
|
|
34
|
+
export declare const issuesToFindings: (ruleId: string, severity: Severity, file: string, issue: Issue) => ReadonlyArray<AdvisoryFinding>;
|
|
35
|
+
//# sourceMappingURL=issues-to-findings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"issues-to-findings.d.ts","sourceRoot":"","sources":["../../../../src/unstable/lint/issues-to-findings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAM3D;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,GAC3B,QAAQ,MAAM,EACd,UAAU,QAAQ,EAClB,MAAM,MAAM,EACZ,OAAO,KAAK,KACX,aAAa,CAAC,eAAe,CAM/B,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `issuesToFindings` — shared schema-delegation helper.
|
|
3
|
+
*
|
|
4
|
+
* `-schema-valid` rules delegate their `check` to Effect Schema via
|
|
5
|
+
* `Schema.decodeUnknownResult(schema, { onExcessProperty: "ignore" })` (or the
|
|
6
|
+
* Effect/Exit equivalents) and map the resulting `Issue` tree 1:1 to
|
|
7
|
+
* `AdvisoryFinding`s through this helper. Rules never re-implement schema
|
|
8
|
+
* checks inline; the paired `-keys-recognized` rule owns unknown-key hygiene
|
|
9
|
+
* at warning severity.
|
|
10
|
+
*
|
|
11
|
+
* The helper walks the recursive `SchemaIssue.Issue` tree, accumulating a
|
|
12
|
+
* path at each `Pointer` node and emitting one finding per leaf issue.
|
|
13
|
+
* Composite nodes recurse into their children. Each finding's `message` comes
|
|
14
|
+
* from the default `toString()` representation of the leaf issue, which is
|
|
15
|
+
* the Effect-formatted diagnostic. `location.file` is the caller-supplied
|
|
16
|
+
* file (the manifest file); v1 does not parse byte positions out of `Issue`
|
|
17
|
+
* values.
|
|
18
|
+
*
|
|
19
|
+
* @experimental This API is unstable and may change without notice.
|
|
20
|
+
* @packageDocumentation
|
|
21
|
+
*/
|
|
22
|
+
// -----------------------------------------------------------------------------
|
|
23
|
+
// Public helper
|
|
24
|
+
// -----------------------------------------------------------------------------
|
|
25
|
+
/**
|
|
26
|
+
* Walk an `Issue` tree and produce one finding per leaf issue.
|
|
27
|
+
*
|
|
28
|
+
* @param ruleId - `<namespace>/<name>` id of the calling rule.
|
|
29
|
+
* @param severity - Severity to stamp on each emitted finding.
|
|
30
|
+
* @param file - Accessor-relative file path to stamp on `location.file`.
|
|
31
|
+
* @param issue - Root `Issue` produced by `Schema.decodeUnknown*`.
|
|
32
|
+
*
|
|
33
|
+
* @experimental This API is unstable and may change without notice.
|
|
34
|
+
*/
|
|
35
|
+
export const issuesToFindings = (ruleId, severity, file, issue) => {
|
|
36
|
+
const findings = [];
|
|
37
|
+
walkIssue(issue, [], (leaf, path) => {
|
|
38
|
+
findings.push(toFinding(ruleId, severity, file, leaf, path));
|
|
39
|
+
});
|
|
40
|
+
return findings;
|
|
41
|
+
};
|
|
42
|
+
const walkIssue = (issue, path, visit) => {
|
|
43
|
+
switch (issue._tag) {
|
|
44
|
+
case "Pointer": {
|
|
45
|
+
walkIssue(issue.issue, [...path, ...issue.path], visit);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
case "Composite":
|
|
49
|
+
case "AnyOf": {
|
|
50
|
+
if (issue.issues.length === 0) {
|
|
51
|
+
// No union member matched / no nested issues — treat as a leaf so
|
|
52
|
+
// the caller sees at least one finding for the covering diagnostic.
|
|
53
|
+
visit(issue, path);
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
for (const child of issue.issues) {
|
|
57
|
+
walkIssue(child, path, visit);
|
|
58
|
+
}
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
case "Filter":
|
|
62
|
+
case "Encoding": {
|
|
63
|
+
walkIssue(issue.issue, path, visit);
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
case "InvalidType":
|
|
67
|
+
case "InvalidValue":
|
|
68
|
+
case "MissingKey":
|
|
69
|
+
case "UnexpectedKey":
|
|
70
|
+
case "Forbidden":
|
|
71
|
+
case "OneOf": {
|
|
72
|
+
visit(issue, path);
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
const toFinding = (ruleId, severity, file, issue, path) => {
|
|
78
|
+
const pathStr = formatPath(path);
|
|
79
|
+
const message = pathStr === "" ? String(issue) : `${pathStr}: ${String(issue)}`;
|
|
80
|
+
return {
|
|
81
|
+
kind: "advisory",
|
|
82
|
+
ruleId,
|
|
83
|
+
severity,
|
|
84
|
+
message,
|
|
85
|
+
suggestions: [],
|
|
86
|
+
location: { file },
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
const formatPath = (path) => path
|
|
90
|
+
.map((segment) => {
|
|
91
|
+
if (typeof segment === "number") {
|
|
92
|
+
return `[${String(segment)}]`;
|
|
93
|
+
}
|
|
94
|
+
return String(segment);
|
|
95
|
+
})
|
|
96
|
+
.join(".");
|
|
97
|
+
//# sourceMappingURL=issues-to-findings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"issues-to-findings.js","sourceRoot":"","sources":["../../../../src/unstable/lint/issues-to-findings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAKH,gFAAgF;AAChF,gBAAgB;AAChB,gFAAgF;AAEhF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,MAAc,EACd,QAAkB,EAClB,IAAY,EACZ,KAAY,EACoB,EAAE;IAClC,MAAM,QAAQ,GAA2B,EAAE,CAAC;IAC5C,SAAS,CAAC,KAAK,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE;QAClC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;IAC/D,CAAC,CAAC,CAAC;IACH,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC;AAQF,MAAM,SAAS,GAAG,CAAC,KAAY,EAAE,IAAgC,EAAE,KAAc,EAAQ,EAAE;IACzF,QAAQ,KAAK,CAAC,IAAI,EAAE,CAAC;QACnB,KAAK,SAAS,CAAC,CAAC,CAAC;YACf,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,GAAG,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;QACN,QAAQ;QACR,OAAO;QACP,WAAW,EAAE,EAAE;QACf,QAAQ,EAAE,EAAE,IAAI,EAAE;KACnB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,IAAgC,EAAU,EAAE,CAC9D,IAAI;KACD,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;IACf,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;QAChC,OAAO,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC;IAChC,CAAC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC;AACzB,CAAC,CAAC;KACD,IAAI,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lint rule and finding primitives.
|
|
3
|
+
*
|
|
4
|
+
* Library-style discriminated unions for the lint engine. Rules are plain
|
|
5
|
+
* values generic over a caller-built `RuleContext` — no Layer wiring, no
|
|
6
|
+
* ambient service bag. Findings are produced by `rule.check`; an
|
|
7
|
+
* `AutofixingRule` also carries a `fix` method that returns per-extension
|
|
8
|
+
* `Operation` values for `axm lint --fix`. Rules that don't apply early-return
|
|
9
|
+
* `[]` from `check`; there is no separate `applies` predicate.
|
|
10
|
+
*
|
|
11
|
+
* Rule `fix` methods compose only from the pre-sync per-extension vocabulary
|
|
12
|
+
* (`install-{type}`, `uninstall-{type}`, `enable-{type}`, `disable-{type}`) so
|
|
13
|
+
* lint-fix rides the same plan pipeline as `axm install`. See
|
|
14
|
+
* `../plan/plan.ts` for the `Operation` primitive.
|
|
15
|
+
*
|
|
16
|
+
* Rule ids follow `<namespace>/<subject>-<predicate>` with lowercase letters,
|
|
17
|
+
* digits, and hyphens; ids leak into settings files, CI logs, and agent
|
|
18
|
+
* transcripts, so they are public API stable under a deprecation-alias policy
|
|
19
|
+
* per the `lint-engine` design doc.
|
|
20
|
+
*
|
|
21
|
+
* @experimental This API is unstable and may change without notice.
|
|
22
|
+
* @packageDocumentation
|
|
23
|
+
*/
|
|
24
|
+
import type * as Effect from "effect/Effect";
|
|
25
|
+
import type { Operation } from "../plan/plan.js";
|
|
26
|
+
/**
|
|
27
|
+
* Platform-canonical finding severity.
|
|
28
|
+
*
|
|
29
|
+
* Workspace `lint.rules` overrides can raise or lower the severity at
|
|
30
|
+
* evaluation time; the catalog pins the platform default.
|
|
31
|
+
*
|
|
32
|
+
* @experimental This API is unstable and may change without notice.
|
|
33
|
+
*/
|
|
34
|
+
export type Severity = "error" | "warning" | "info";
|
|
35
|
+
/**
|
|
36
|
+
* Accessor-relative location of a finding.
|
|
37
|
+
*
|
|
38
|
+
* `file` is posix and relative to the rule context's accessor root (skill or
|
|
39
|
+
* pack manifest directory for per-extension rules, workspace root for workspace
|
|
40
|
+
* rules). Rules MUST NOT embed absolute paths, `displayRoot`-qualified paths,
|
|
41
|
+
* or source coordinates in `message`; the display path is composed from
|
|
42
|
+
* `context.displayRoot` and `location.file` at format time via `composePath`.
|
|
43
|
+
*
|
|
44
|
+
* `file: ""` targets the context root itself (e.g., a missing `SKILL.md` on a
|
|
45
|
+
* skill context).
|
|
46
|
+
*
|
|
47
|
+
* @experimental This API is unstable and may change without notice.
|
|
48
|
+
*/
|
|
49
|
+
export interface FindingLocation {
|
|
50
|
+
readonly file: string;
|
|
51
|
+
readonly line?: number;
|
|
52
|
+
readonly column?: number;
|
|
53
|
+
readonly byteOffset?: number;
|
|
54
|
+
readonly byteLength?: number;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Fields common to all lint findings.
|
|
58
|
+
*
|
|
59
|
+
* @experimental This API is unstable and may change without notice.
|
|
60
|
+
*/
|
|
61
|
+
export interface FindingBase {
|
|
62
|
+
readonly ruleId: string;
|
|
63
|
+
readonly severity: Severity;
|
|
64
|
+
readonly message: string;
|
|
65
|
+
readonly location?: FindingLocation;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Finding produced by an `AutofixingRule` that `axm lint --fix` will remediate
|
|
69
|
+
* mechanically.
|
|
70
|
+
*
|
|
71
|
+
* `suggestions` is a one-element tuple naming what `--fix` will do; the
|
|
72
|
+
* tuple arity is enforced at the type level so consumers never have to guard
|
|
73
|
+
* against an empty suggestions array for autofixable findings.
|
|
74
|
+
*
|
|
75
|
+
* @experimental This API is unstable and may change without notice.
|
|
76
|
+
*/
|
|
77
|
+
export interface AutofixableFinding extends FindingBase {
|
|
78
|
+
readonly kind: "autofixable";
|
|
79
|
+
readonly suggestions: readonly [string];
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Finding produced by an `AdvisoryRule` (or by an `AutofixingRule`'s advisory
|
|
83
|
+
* arm when the invariant admits no mechanical resolution).
|
|
84
|
+
*
|
|
85
|
+
* `suggestions` may be empty or carry multiple strings; the user picks one.
|
|
86
|
+
*
|
|
87
|
+
* @experimental This API is unstable and may change without notice.
|
|
88
|
+
*/
|
|
89
|
+
export interface AdvisoryFinding extends FindingBase {
|
|
90
|
+
readonly kind: "advisory";
|
|
91
|
+
readonly suggestions: ReadonlyArray<string>;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Discriminated union of lint findings on `kind`.
|
|
95
|
+
*
|
|
96
|
+
* @experimental This API is unstable and may change without notice.
|
|
97
|
+
*/
|
|
98
|
+
export type LintFinding = AutofixableFinding | AdvisoryFinding;
|
|
99
|
+
/**
|
|
100
|
+
* Fields common to all lint rules.
|
|
101
|
+
*
|
|
102
|
+
* @experimental This API is unstable and may change without notice.
|
|
103
|
+
*/
|
|
104
|
+
export interface RuleBase {
|
|
105
|
+
readonly id: string;
|
|
106
|
+
readonly description: string;
|
|
107
|
+
readonly severity: Severity;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Rule that only surfaces findings; never autofixes.
|
|
111
|
+
*
|
|
112
|
+
* @experimental This API is unstable and may change without notice.
|
|
113
|
+
*/
|
|
114
|
+
export interface AdvisoryRule<C> extends RuleBase {
|
|
115
|
+
readonly kind: "advisory";
|
|
116
|
+
readonly check: (context: C) => Effect.Effect<ReadonlyArray<AdvisoryFinding>>;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Rule that can emit `AutofixableFinding`s and remediate them via
|
|
120
|
+
* pre-sync per-extension `Operation`s.
|
|
121
|
+
*
|
|
122
|
+
* `check` may return `AdvisoryFinding`s alongside (for sub-cascades that have
|
|
123
|
+
* no single mechanical resolution); `fix` is only invoked for the autofixable
|
|
124
|
+
* arm.
|
|
125
|
+
*
|
|
126
|
+
* @experimental This API is unstable and may change without notice.
|
|
127
|
+
*/
|
|
128
|
+
export interface AutofixingRule<C> extends RuleBase {
|
|
129
|
+
readonly kind: "autofixing";
|
|
130
|
+
readonly check: (context: C) => Effect.Effect<ReadonlyArray<LintFinding>>;
|
|
131
|
+
readonly fix: (context: C, finding: AutofixableFinding) => Effect.Effect<ReadonlyArray<Operation<string, unknown>>>;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Discriminated union of lint rules over a caller-built rule-context type `C`.
|
|
135
|
+
*
|
|
136
|
+
* @experimental This API is unstable and may change without notice.
|
|
137
|
+
*/
|
|
138
|
+
export type LintRule<C> = AdvisoryRule<C> | AutofixingRule<C>;
|
|
139
|
+
//# sourceMappingURL=rule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../../../src/unstable/lint/rule.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAMjD;;;;;;;GAOG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAMpD;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,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aAAa,CAAC,eAAe,CAAC,CAAC,CAAC;CAC/E;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,cAAc,CAAC,CAAC,CAAE,SAAQ,QAAQ;IACjD,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1E,QAAQ,CAAC,GAAG,EAAE,CACZ,OAAO,EAAE,CAAC,EACV,OAAO,EAAE,kBAAkB,KACxB,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;CAC/D;AAED;;;;GAIG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lint rule and finding primitives.
|
|
3
|
+
*
|
|
4
|
+
* Library-style discriminated unions for the lint engine. Rules are plain
|
|
5
|
+
* values generic over a caller-built `RuleContext` — no Layer wiring, no
|
|
6
|
+
* ambient service bag. Findings are produced by `rule.check`; an
|
|
7
|
+
* `AutofixingRule` also carries a `fix` method that returns per-extension
|
|
8
|
+
* `Operation` values for `axm lint --fix`. Rules that don't apply early-return
|
|
9
|
+
* `[]` from `check`; there is no separate `applies` predicate.
|
|
10
|
+
*
|
|
11
|
+
* Rule `fix` methods compose only from the pre-sync per-extension vocabulary
|
|
12
|
+
* (`install-{type}`, `uninstall-{type}`, `enable-{type}`, `disable-{type}`) so
|
|
13
|
+
* lint-fix rides the same plan pipeline as `axm install`. See
|
|
14
|
+
* `../plan/plan.ts` for the `Operation` primitive.
|
|
15
|
+
*
|
|
16
|
+
* Rule ids follow `<namespace>/<subject>-<predicate>` with lowercase letters,
|
|
17
|
+
* digits, and hyphens; ids leak into settings files, CI logs, and agent
|
|
18
|
+
* transcripts, so they are public API stable under a deprecation-alias policy
|
|
19
|
+
* per the `lint-engine` design doc.
|
|
20
|
+
*
|
|
21
|
+
* @experimental This API is unstable and may change without notice.
|
|
22
|
+
* @packageDocumentation
|
|
23
|
+
*/
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=rule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule.js","sourceRoot":"","sources":["../../../../src/unstable/lint/rule.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG"}
|
|
@@ -13,7 +13,7 @@ import * as Option from "effect/Option";
|
|
|
13
13
|
import { CodingAgentRepository } from "../../agents/index.js";
|
|
14
14
|
import { CliRenderer } from "../../cli-renderer/index.js";
|
|
15
15
|
import { type AppError } from "../../app-error/index.js";
|
|
16
|
-
import type { JobStepResult, Operation } from "../../
|
|
16
|
+
import type { JobStepResult, Operation } from "../../plan/plan.js";
|
|
17
17
|
import { Workspace } from "../../workspace/service-interface.js";
|
|
18
18
|
import type { McpServerExtensionRef } from "../refs.js";
|
|
19
19
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/mcp-servers/operations/install.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAEpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,EAAgB,KAAK,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIvE,OAAO,KAAK,EAAE,aAAa,EAAE,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