@fantasticit/sumi 0.0.0-stage → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +81 -2
- package/dist/adapters.d.ts +86 -0
- package/dist/adapters.js +469 -0
- package/dist/adapters.js.map +1 -0
- package/dist/agent-hooks.d.ts +15 -0
- package/dist/agent-hooks.js +63 -0
- package/dist/agent-hooks.js.map +1 -0
- package/dist/agents.d.ts +1 -0
- package/dist/agents.js +139 -0
- package/dist/agents.js.map +1 -0
- package/dist/bin.d.ts +2 -0
- package/dist/bin.js +21 -0
- package/dist/bin.js.map +1 -0
- package/dist/build-identity.d.ts +7 -0
- package/dist/build-identity.js +55 -0
- package/dist/build-identity.js.map +1 -0
- package/dist/cli.d.ts +19 -0
- package/dist/cli.js +150 -0
- package/dist/cli.js.map +1 -0
- package/dist/context.d.ts +1 -0
- package/dist/context.js +117 -0
- package/dist/context.js.map +1 -0
- package/dist/fix.d.ts +1 -0
- package/dist/fix.js +51 -0
- package/dist/fix.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/instructions.d.ts +31 -0
- package/dist/instructions.js +150 -0
- package/dist/instructions.js.map +1 -0
- package/dist/launcher-entry.d.ts +1 -0
- package/dist/launcher-entry.js +8 -0
- package/dist/launcher-entry.js.map +1 -0
- package/dist/launcher.cjs +10606 -0
- package/dist/launcher.d.ts +3 -0
- package/dist/launcher.js +117 -0
- package/dist/launcher.js.map +1 -0
- package/dist/runtime-manifest.d.ts +29 -0
- package/dist/runtime-manifest.js +75 -0
- package/dist/runtime-manifest.js.map +1 -0
- package/dist/runtime-package.d.ts +10 -0
- package/dist/runtime-package.js +66 -0
- package/dist/runtime-package.js.map +1 -0
- package/dist/scaffold-commands.d.ts +3 -0
- package/dist/scaffold-commands.js +214 -0
- package/dist/scaffold-commands.js.map +1 -0
- package/dist/vendor.d.ts +1 -0
- package/dist/vendor.js +260 -0
- package/dist/vendor.js.map +1 -0
- package/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
- package/node_modules/@isaacs/fs-minipass/README.md +71 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +118 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +118 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
- package/node_modules/@isaacs/fs-minipass/package.json +72 -0
- package/node_modules/@sumi/create/README.md +77 -0
- package/node_modules/@sumi/create/dist/index.d.ts +1 -0
- package/node_modules/@sumi/create/dist/index.js +2 -0
- package/node_modules/@sumi/create/dist/index.js.map +1 -0
- package/node_modules/@sumi/create/dist/scaffold.d.ts +29 -0
- package/node_modules/@sumi/create/dist/scaffold.js +134 -0
- package/node_modules/@sumi/create/dist/scaffold.js.map +1 -0
- package/node_modules/@sumi/create/package.json +22 -0
- package/node_modules/@sumi/create/template/.gitattributes +1 -0
- package/node_modules/@sumi/create/template/.prettierignore +5 -0
- package/node_modules/@sumi/create/template/.prettierrc +1 -0
- package/node_modules/@sumi/create/template/AGENTS.md +28 -0
- package/node_modules/@sumi/create/template/control/baselines/.gitkeep +0 -0
- package/node_modules/@sumi/create/template/control/config.yaml +59 -0
- package/node_modules/@sumi/create/template/control/decisions/0001-config-module.md +15 -0
- package/node_modules/@sumi/create/template/control/flows/change.flow.yaml +14 -0
- package/node_modules/@sumi/create/template/control/flows/check.flow.yaml +25 -0
- package/node_modules/@sumi/create/template/control/plugins/.gitkeep +0 -0
- package/node_modules/@sumi/create/template/control/rubrics/architecture.yaml +14 -0
- package/node_modules/@sumi/create/template/eslint.config.mjs +9 -0
- package/node_modules/@sumi/create/template/gitignore +4 -0
- package/node_modules/@sumi/create/template/init/AGENTS.md +27 -0
- package/node_modules/@sumi/create/template/init/control/baselines/.gitkeep +0 -0
- package/node_modules/@sumi/create/template/init/control/flows/check.flow.yaml +20 -0
- package/node_modules/@sumi/create/template/init/control/plugins/.gitkeep +0 -0
- package/node_modules/@sumi/create/template/init/control/rubrics/architecture.yaml +14 -0
- package/node_modules/@sumi/create/template/init/openspec/changes/archive/.gitkeep +0 -0
- package/node_modules/@sumi/create/template/init/openspec/config.yaml +1 -0
- package/node_modules/@sumi/create/template/init/openspec/specs/.gitkeep +0 -0
- package/node_modules/@sumi/create/template/init/precedents/registry.yaml +1 -0
- package/node_modules/@sumi/create/template/openspec/changes/archive/.gitkeep +0 -0
- package/node_modules/@sumi/create/template/openspec/config.yaml +1 -0
- package/node_modules/@sumi/create/template/openspec/specs/.gitkeep +0 -0
- package/node_modules/@sumi/create/template/package.json +21 -0
- package/node_modules/@sumi/create/template/precedents/no-env-in-business/check.mjs +36 -0
- package/node_modules/@sumi/create/template/precedents/no-env-in-business/fixtures/compliant/src/a.ts +3 -0
- package/node_modules/@sumi/create/template/precedents/no-env-in-business/fixtures/violating/src/a.ts +1 -0
- package/node_modules/@sumi/create/template/precedents/no-env-in-business/precedent.yaml +9 -0
- package/node_modules/@sumi/create/template/precedents/registry.yaml +3 -0
- package/node_modules/@sumi/create/template/src/config.ts +4 -0
- package/node_modules/@sumi/create/template/src/index.test.ts +6 -0
- package/node_modules/@sumi/create/template/src/index.ts +5 -0
- package/node_modules/@sumi/create/template/tsconfig.json +12 -0
- package/node_modules/@sumi/kernel/README.md +128 -0
- package/node_modules/@sumi/kernel/dist/brief.d.ts +41 -0
- package/node_modules/@sumi/kernel/dist/brief.js +82 -0
- package/node_modules/@sumi/kernel/dist/brief.js.map +1 -0
- package/node_modules/@sumi/kernel/dist/config.d.ts +40 -0
- package/node_modules/@sumi/kernel/dist/config.js +94 -0
- package/node_modules/@sumi/kernel/dist/config.js.map +1 -0
- package/node_modules/@sumi/kernel/dist/engine.d.ts +33 -0
- package/node_modules/@sumi/kernel/dist/engine.js +242 -0
- package/node_modules/@sumi/kernel/dist/engine.js.map +1 -0
- package/node_modules/@sumi/kernel/dist/errors.d.ts +5 -0
- package/node_modules/@sumi/kernel/dist/errors.js +9 -0
- package/node_modules/@sumi/kernel/dist/errors.js.map +1 -0
- package/node_modules/@sumi/kernel/dist/flow.d.ts +37 -0
- package/node_modules/@sumi/kernel/dist/flow.js +132 -0
- package/node_modules/@sumi/kernel/dist/flow.js.map +1 -0
- package/node_modules/@sumi/kernel/dist/index.d.ts +10 -0
- package/node_modules/@sumi/kernel/dist/index.js +11 -0
- package/node_modules/@sumi/kernel/dist/index.js.map +1 -0
- package/node_modules/@sumi/kernel/dist/plan.d.ts +21 -0
- package/node_modules/@sumi/kernel/dist/plan.js +68 -0
- package/node_modules/@sumi/kernel/dist/plan.js.map +1 -0
- package/node_modules/@sumi/kernel/dist/record.d.ts +31 -0
- package/node_modules/@sumi/kernel/dist/record.js +54 -0
- package/node_modules/@sumi/kernel/dist/record.js.map +1 -0
- package/node_modules/@sumi/kernel/dist/registry.d.ts +32 -0
- package/node_modules/@sumi/kernel/dist/registry.js +126 -0
- package/node_modules/@sumi/kernel/dist/registry.js.map +1 -0
- package/node_modules/@sumi/kernel/dist/runner.d.ts +15 -0
- package/node_modules/@sumi/kernel/dist/runner.js +101 -0
- package/node_modules/@sumi/kernel/dist/runner.js.map +1 -0
- package/node_modules/@sumi/kernel/dist/scope.d.ts +31 -0
- package/node_modules/@sumi/kernel/dist/scope.js +136 -0
- package/node_modules/@sumi/kernel/dist/scope.js.map +1 -0
- package/node_modules/@sumi/kernel/dist/testing.d.ts +7 -0
- package/node_modules/@sumi/kernel/dist/testing.js +32 -0
- package/node_modules/@sumi/kernel/dist/testing.js.map +1 -0
- package/node_modules/@sumi/kernel/dist/windows-process.d.ts +1 -0
- package/node_modules/@sumi/kernel/dist/windows-process.js +90 -0
- package/node_modules/@sumi/kernel/dist/windows-process.js.map +1 -0
- package/node_modules/@sumi/kernel/package.json +20 -0
- package/node_modules/@sumi/kernel/test/fixtures/fake-plugin.mjs +44 -0
- package/node_modules/@sumi/kernel/test/fixtures/py-plugin.py +3 -0
- package/node_modules/@sumi/plugin-sdk/README.md +144 -0
- package/node_modules/@sumi/plugin-sdk/dist/env.d.ts +5 -0
- package/node_modules/@sumi/plugin-sdk/dist/env.js +30 -0
- package/node_modules/@sumi/plugin-sdk/dist/env.js.map +1 -0
- package/node_modules/@sumi/plugin-sdk/dist/git.d.ts +7 -0
- package/node_modules/@sumi/plugin-sdk/dist/git.js +19 -0
- package/node_modules/@sumi/plugin-sdk/dist/git.js.map +1 -0
- package/node_modules/@sumi/plugin-sdk/dist/index.d.ts +9 -0
- package/node_modules/@sumi/plugin-sdk/dist/index.js +10 -0
- package/node_modules/@sumi/plugin-sdk/dist/index.js.map +1 -0
- package/node_modules/@sumi/plugin-sdk/dist/process.d.ts +7 -0
- package/node_modules/@sumi/plugin-sdk/dist/process.js +13 -0
- package/node_modules/@sumi/plugin-sdk/dist/process.js.map +1 -0
- package/node_modules/@sumi/plugin-sdk/dist/project.d.ts +9 -0
- package/node_modules/@sumi/plugin-sdk/dist/project.js +55 -0
- package/node_modules/@sumi/plugin-sdk/dist/project.js.map +1 -0
- package/node_modules/@sumi/plugin-sdk/dist/protocol.d.ts +200 -0
- package/node_modules/@sumi/plugin-sdk/dist/protocol.js +36 -0
- package/node_modules/@sumi/plugin-sdk/dist/protocol.js.map +1 -0
- package/node_modules/@sumi/plugin-sdk/dist/rules.d.ts +17 -0
- package/node_modules/@sumi/plugin-sdk/dist/rules.js +16 -0
- package/node_modules/@sumi/plugin-sdk/dist/rules.js.map +1 -0
- package/node_modules/@sumi/plugin-sdk/dist/sdk.d.ts +12 -0
- package/node_modules/@sumi/plugin-sdk/dist/sdk.js +51 -0
- package/node_modules/@sumi/plugin-sdk/dist/sdk.js.map +1 -0
- package/node_modules/@sumi/plugin-sdk/dist/tool-batches.d.ts +11 -0
- package/node_modules/@sumi/plugin-sdk/dist/tool-batches.js +41 -0
- package/node_modules/@sumi/plugin-sdk/dist/tool-batches.js.map +1 -0
- package/node_modules/@sumi/plugin-sdk/dist/validate.d.ts +8 -0
- package/node_modules/@sumi/plugin-sdk/dist/validate.js +221 -0
- package/node_modules/@sumi/plugin-sdk/dist/validate.js.map +1 -0
- package/node_modules/@sumi/plugin-sdk/package.json +18 -0
- package/node_modules/@sumi/plugins-core/README.md +148 -0
- package/node_modules/@sumi/plugins-core/dist/baseline.d.ts +34 -0
- package/node_modules/@sumi/plugins-core/dist/baseline.js +54 -0
- package/node_modules/@sumi/plugins-core/dist/baseline.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/commands/adopt.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/commands/adopt.js +182 -0
- package/node_modules/@sumi/plugins-core/dist/commands/adopt.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/commands/baseline.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/commands/baseline.js +56 -0
- package/node_modules/@sumi/plugins-core/dist/commands/baseline.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/fix/format.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/fix/format.js +4 -0
- package/node_modules/@sumi/plugins-core/dist/fix/format.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/fix/lint.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/fix/lint.js +4 -0
- package/node_modules/@sumi/plugins-core/dist/fix/lint.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/index.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/index.js +2 -0
- package/node_modules/@sumi/plugins-core/dist/index.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/lib.d.ts +34 -0
- package/node_modules/@sumi/plugins-core/dist/lib.js +113 -0
- package/node_modules/@sumi/plugins-core/dist/lib.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/agent-drift.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/agent-drift.js +32 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/agent-drift.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/control-docs.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/control-docs.js +109 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/control-docs.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/coverage.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/coverage.js +107 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/coverage.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/exec.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/exec.js +69 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/exec.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/format.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/format.js +41 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/format.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/layer-boundary.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/layer-boundary.js +87 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/layer-boundary.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/lint.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/lint.js +91 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/lint.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/ratchet.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/ratchet.js +83 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/ratchet.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/test-affected.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/test-affected.js +283 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/test-affected.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/typecheck.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/typecheck.js +31 -0
- package/node_modules/@sumi/plugins-core/dist/plugins/typecheck.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/test-scope.d.ts +77 -0
- package/node_modules/@sumi/plugins-core/dist/test-scope.js +175 -0
- package/node_modules/@sumi/plugins-core/dist/test-scope.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/testing.d.ts +13 -0
- package/node_modules/@sumi/plugins-core/dist/testing.js +47 -0
- package/node_modules/@sumi/plugins-core/dist/testing.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/tool-batches.d.ts +11 -0
- package/node_modules/@sumi/plugins-core/dist/tool-batches.js +41 -0
- package/node_modules/@sumi/plugins-core/dist/tool-batches.js.map +1 -0
- package/node_modules/@sumi/plugins-core/dist/vitest-runner.d.ts +1 -0
- package/node_modules/@sumi/plugins-core/dist/vitest-runner.js +126 -0
- package/node_modules/@sumi/plugins-core/dist/vitest-runner.js.map +1 -0
- package/node_modules/@sumi/plugins-core/instructions/adopt.md +37 -0
- package/node_modules/@sumi/plugins-core/package.json +25 -0
- package/node_modules/@sumi/plugins-core/sumi-plugins.yaml +80 -0
- package/node_modules/@sumi/plugins-governance/README.md +159 -0
- package/node_modules/@sumi/plugins-governance/dist/checkout.d.ts +45 -0
- package/node_modules/@sumi/plugins-governance/dist/checkout.js +138 -0
- package/node_modules/@sumi/plugins-governance/dist/checkout.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/approve.d.ts +1 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/approve.js +27 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/approve.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/gate.d.ts +1 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/gate.js +177 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/gate.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/guard.d.ts +1 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/guard.js +27 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/guard.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/pr-report-check.d.ts +1 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/pr-report-check.js +8 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/pr-report-check.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/pr-report.d.ts +1 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/pr-report.js +128 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/pr-report.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/unlock.d.ts +1 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/unlock.js +21 -0
- package/node_modules/@sumi/plugins-governance/dist/commands/unlock.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/guard.d.ts +19 -0
- package/node_modules/@sumi/plugins-governance/dist/guard.js +173 -0
- package/node_modules/@sumi/plugins-governance/dist/guard.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/index.d.ts +4 -0
- package/node_modules/@sumi/plugins-governance/dist/index.js +5 -0
- package/node_modules/@sumi/plugins-governance/dist/index.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/plugins/protected-paths.d.ts +1 -0
- package/node_modules/@sumi/plugins-governance/dist/plugins/protected-paths.js +31 -0
- package/node_modules/@sumi/plugins-governance/dist/plugins/protected-paths.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/pr-base.d.ts +19 -0
- package/node_modules/@sumi/plugins-governance/dist/pr-base.js +49 -0
- package/node_modules/@sumi/plugins-governance/dist/pr-base.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/pr-report-markers.d.ts +4 -0
- package/node_modules/@sumi/plugins-governance/dist/pr-report-markers.js +11 -0
- package/node_modules/@sumi/plugins-governance/dist/pr-report-markers.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/pr-report-status.d.ts +14 -0
- package/node_modules/@sumi/plugins-governance/dist/pr-report-status.js +97 -0
- package/node_modules/@sumi/plugins-governance/dist/pr-report-status.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/protected.d.ts +22 -0
- package/node_modules/@sumi/plugins-governance/dist/protected.js +65 -0
- package/node_modules/@sumi/plugins-governance/dist/protected.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/push-base.d.ts +9 -0
- package/node_modules/@sumi/plugins-governance/dist/push-base.js +42 -0
- package/node_modules/@sumi/plugins-governance/dist/push-base.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/semantic.d.ts +5 -0
- package/node_modules/@sumi/plugins-governance/dist/semantic.js +105 -0
- package/node_modules/@sumi/plugins-governance/dist/semantic.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/dist/state.d.ts +48 -0
- package/node_modules/@sumi/plugins-governance/dist/state.js +155 -0
- package/node_modules/@sumi/plugins-governance/dist/state.js.map +1 -0
- package/node_modules/@sumi/plugins-governance/instructions/push.md +20 -0
- package/node_modules/@sumi/plugins-governance/package.json +25 -0
- package/node_modules/@sumi/plugins-governance/sumi-plugins.yaml +23 -0
- package/node_modules/@sumi/plugins-openspec/README.md +80 -0
- package/node_modules/@sumi/plugins-openspec/dist/index.d.ts +1 -0
- package/node_modules/@sumi/plugins-openspec/dist/index.js +2 -0
- package/node_modules/@sumi/plugins-openspec/dist/index.js.map +1 -0
- package/node_modules/@sumi/plugins-openspec/dist/openspec.d.ts +21 -0
- package/node_modules/@sumi/plugins-openspec/dist/openspec.js +59 -0
- package/node_modules/@sumi/plugins-openspec/dist/openspec.js.map +1 -0
- package/node_modules/@sumi/plugins-openspec/dist/plugins/change-tasks.d.ts +1 -0
- package/node_modules/@sumi/plugins-openspec/dist/plugins/change-tasks.js +85 -0
- package/node_modules/@sumi/plugins-openspec/dist/plugins/change-tasks.js.map +1 -0
- package/node_modules/@sumi/plugins-openspec/dist/plugins/planner.d.ts +1 -0
- package/node_modules/@sumi/plugins-openspec/dist/plugins/planner.js +16 -0
- package/node_modules/@sumi/plugins-openspec/dist/plugins/planner.js.map +1 -0
- package/node_modules/@sumi/plugins-openspec/dist/plugins/validate.d.ts +1 -0
- package/node_modules/@sumi/plugins-openspec/dist/plugins/validate.js +45 -0
- package/node_modules/@sumi/plugins-openspec/dist/plugins/validate.js.map +1 -0
- package/node_modules/@sumi/plugins-openspec/package.json +22 -0
- package/node_modules/@sumi/plugins-openspec/sumi-plugins.yaml +20 -0
- package/node_modules/@sumi/plugins-precedent/README.md +162 -0
- package/node_modules/@sumi/plugins-precedent/dist/candidates.d.ts +17 -0
- package/node_modules/@sumi/plugins-precedent/dist/candidates.js +18 -0
- package/node_modules/@sumi/plugins-precedent/dist/candidates.js.map +1 -0
- package/node_modules/@sumi/plugins-precedent/dist/commands/context.d.ts +1 -0
- package/node_modules/@sumi/plugins-precedent/dist/commands/context.js +23 -0
- package/node_modules/@sumi/plugins-precedent/dist/commands/context.js.map +1 -0
- package/node_modules/@sumi/plugins-precedent/dist/commands/promote.d.ts +1 -0
- package/node_modules/@sumi/plugins-precedent/dist/commands/promote.js +89 -0
- package/node_modules/@sumi/plugins-precedent/dist/commands/promote.js.map +1 -0
- package/node_modules/@sumi/plugins-precedent/dist/index.d.ts +2 -0
- package/node_modules/@sumi/plugins-precedent/dist/index.js +3 -0
- package/node_modules/@sumi/plugins-precedent/dist/index.js.map +1 -0
- package/node_modules/@sumi/plugins-precedent/dist/model.d.ts +65 -0
- package/node_modules/@sumi/plugins-precedent/dist/model.js +150 -0
- package/node_modules/@sumi/plugins-precedent/dist/model.js.map +1 -0
- package/node_modules/@sumi/plugins-precedent/dist/plugins/checker.d.ts +1 -0
- package/node_modules/@sumi/plugins-precedent/dist/plugins/checker.js +32 -0
- package/node_modules/@sumi/plugins-precedent/dist/plugins/checker.js.map +1 -0
- package/node_modules/@sumi/plugins-precedent/dist/plugins/harvest.d.ts +1 -0
- package/node_modules/@sumi/plugins-precedent/dist/plugins/harvest.js +174 -0
- package/node_modules/@sumi/plugins-precedent/dist/plugins/harvest.js.map +1 -0
- package/node_modules/@sumi/plugins-precedent/dist/plugins/planner.d.ts +1 -0
- package/node_modules/@sumi/plugins-precedent/dist/plugins/planner.js +103 -0
- package/node_modules/@sumi/plugins-precedent/dist/plugins/planner.js.map +1 -0
- package/node_modules/@sumi/plugins-precedent/dist/plugins/selftest.d.ts +1 -0
- package/node_modules/@sumi/plugins-precedent/dist/plugins/selftest.js +220 -0
- package/node_modules/@sumi/plugins-precedent/dist/plugins/selftest.js.map +1 -0
- package/node_modules/@sumi/plugins-precedent/instructions/distill.md +12 -0
- package/node_modules/@sumi/plugins-precedent/package.json +26 -0
- package/node_modules/@sumi/plugins-precedent/sumi-plugins.yaml +33 -0
- package/node_modules/@sumi/plugins-review/README.md +131 -0
- package/node_modules/@sumi/plugins-review/dist/commands/context.d.ts +1 -0
- package/node_modules/@sumi/plugins-review/dist/commands/context.js +32 -0
- package/node_modules/@sumi/plugins-review/dist/commands/context.js.map +1 -0
- package/node_modules/@sumi/plugins-review/dist/commands/submit.d.ts +1 -0
- package/node_modules/@sumi/plugins-review/dist/commands/submit.js +46 -0
- package/node_modules/@sumi/plugins-review/dist/commands/submit.js.map +1 -0
- package/node_modules/@sumi/plugins-review/dist/index.d.ts +1 -0
- package/node_modules/@sumi/plugins-review/dist/index.js +2 -0
- package/node_modules/@sumi/plugins-review/dist/index.js.map +1 -0
- package/node_modules/@sumi/plugins-review/dist/plugins/rubric.d.ts +1 -0
- package/node_modules/@sumi/plugins-review/dist/plugins/rubric.js +116 -0
- package/node_modules/@sumi/plugins-review/dist/plugins/rubric.js.map +1 -0
- package/node_modules/@sumi/plugins-review/dist/review.d.ts +64 -0
- package/node_modules/@sumi/plugins-review/dist/review.js +104 -0
- package/node_modules/@sumi/plugins-review/dist/review.js.map +1 -0
- package/node_modules/@sumi/plugins-review/package.json +25 -0
- package/node_modules/@sumi/plugins-review/sumi-plugins.yaml +13 -0
- package/node_modules/chownr/LICENSE.md +63 -0
- package/node_modules/chownr/README.md +3 -0
- package/node_modules/chownr/dist/commonjs/index.d.ts +3 -0
- package/node_modules/chownr/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/chownr/dist/commonjs/index.js +93 -0
- package/node_modules/chownr/dist/commonjs/index.js.map +1 -0
- package/node_modules/chownr/dist/commonjs/package.json +3 -0
- package/node_modules/chownr/dist/esm/index.d.ts +3 -0
- package/node_modules/chownr/dist/esm/index.d.ts.map +1 -0
- package/node_modules/chownr/dist/esm/index.js +85 -0
- package/node_modules/chownr/dist/esm/index.js.map +1 -0
- package/node_modules/chownr/dist/esm/package.json +3 -0
- package/node_modules/chownr/package.json +69 -0
- package/node_modules/cross-spawn/LICENSE +21 -0
- package/node_modules/cross-spawn/README.md +89 -0
- package/node_modules/cross-spawn/index.js +39 -0
- package/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/node_modules/cross-spawn/lib/parse.js +91 -0
- package/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/node_modules/cross-spawn/package.json +73 -0
- package/node_modules/isexe/.npmignore +2 -0
- package/node_modules/isexe/LICENSE +15 -0
- package/node_modules/isexe/README.md +51 -0
- package/node_modules/isexe/index.js +57 -0
- package/node_modules/isexe/mode.js +41 -0
- package/node_modules/isexe/package.json +31 -0
- package/node_modules/isexe/test/basic.js +221 -0
- package/node_modules/isexe/windows.js +42 -0
- package/node_modules/minipass/LICENSE.md +55 -0
- package/node_modules/minipass/README.md +825 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts +545 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/commonjs/index.js +1038 -0
- package/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/minipass/dist/esm/index.d.ts +545 -0
- package/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/esm/index.js +1020 -0
- package/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/minipass/package.json +77 -0
- package/node_modules/minizlib/LICENSE +26 -0
- package/node_modules/minizlib/README.md +64 -0
- package/node_modules/minizlib/dist/commonjs/constants.d.ts +2 -0
- package/node_modules/minizlib/dist/commonjs/constants.d.ts.map +1 -0
- package/node_modules/minizlib/dist/commonjs/constants.js +123 -0
- package/node_modules/minizlib/dist/commonjs/constants.js.map +1 -0
- package/node_modules/minizlib/dist/commonjs/index.d.ts +99 -0
- package/node_modules/minizlib/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minizlib/dist/commonjs/index.js +416 -0
- package/node_modules/minizlib/dist/commonjs/index.js.map +1 -0
- package/node_modules/minizlib/dist/commonjs/package.json +3 -0
- package/node_modules/minizlib/dist/esm/constants.d.ts +2 -0
- package/node_modules/minizlib/dist/esm/constants.d.ts.map +1 -0
- package/node_modules/minizlib/dist/esm/constants.js +117 -0
- package/node_modules/minizlib/dist/esm/constants.js.map +1 -0
- package/node_modules/minizlib/dist/esm/index.d.ts +99 -0
- package/node_modules/minizlib/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minizlib/dist/esm/index.js +363 -0
- package/node_modules/minizlib/dist/esm/index.js.map +1 -0
- package/node_modules/minizlib/dist/esm/package.json +3 -0
- package/node_modules/minizlib/package.json +80 -0
- package/node_modules/path-key/index.d.ts +40 -0
- package/node_modules/path-key/index.js +16 -0
- package/node_modules/path-key/license +9 -0
- package/node_modules/path-key/package.json +39 -0
- package/node_modules/path-key/readme.md +61 -0
- package/node_modules/picomatch/LICENSE +21 -0
- package/node_modules/picomatch/README.md +743 -0
- package/node_modules/picomatch/index.js +17 -0
- package/node_modules/picomatch/lib/constants.js +184 -0
- package/node_modules/picomatch/lib/parse.js +1425 -0
- package/node_modules/picomatch/lib/picomatch.js +361 -0
- package/node_modules/picomatch/lib/scan.js +403 -0
- package/node_modules/picomatch/lib/utils.js +72 -0
- package/node_modules/picomatch/package.json +83 -0
- package/node_modules/picomatch/posix.js +3 -0
- package/node_modules/shebang-command/index.js +19 -0
- package/node_modules/shebang-command/license +9 -0
- package/node_modules/shebang-command/package.json +34 -0
- package/node_modules/shebang-command/readme.md +34 -0
- package/node_modules/shebang-regex/index.d.ts +22 -0
- package/node_modules/shebang-regex/index.js +2 -0
- package/node_modules/shebang-regex/license +9 -0
- package/node_modules/shebang-regex/package.json +35 -0
- package/node_modules/shebang-regex/readme.md +33 -0
- package/node_modules/tar/LICENSE.md +55 -0
- package/node_modules/tar/README.md +1233 -0
- package/node_modules/tar/dist/commonjs/create.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/create.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/create.js +82 -0
- package/node_modules/tar/dist/commonjs/create.js.map +1 -0
- package/node_modules/tar/dist/commonjs/cwd-error.d.ts +8 -0
- package/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
- package/node_modules/tar/dist/commonjs/cwd-error.js.map +1 -0
- package/node_modules/tar/dist/commonjs/extract.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/extract.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/extract.js +88 -0
- package/node_modules/tar/dist/commonjs/extract.js.map +1 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.js +32 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.js.map +1 -0
- package/node_modules/tar/dist/commonjs/header.d.ts +53 -0
- package/node_modules/tar/dist/commonjs/header.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/header.js +348 -0
- package/node_modules/tar/dist/commonjs/header.js.map +1 -0
- package/node_modules/tar/dist/commonjs/index.d.ts +20 -0
- package/node_modules/tar/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/index.js +64 -0
- package/node_modules/tar/dist/commonjs/index.js.map +1 -0
- package/node_modules/tar/dist/commonjs/index.min.js +4 -0
- package/node_modules/tar/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/tar/dist/commonjs/large-numbers.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
- package/node_modules/tar/dist/commonjs/large-numbers.js.map +1 -0
- package/node_modules/tar/dist/commonjs/list.d.ts +7 -0
- package/node_modules/tar/dist/commonjs/list.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/list.js +153 -0
- package/node_modules/tar/dist/commonjs/list.js.map +1 -0
- package/node_modules/tar/dist/commonjs/make-command.d.ts +49 -0
- package/node_modules/tar/dist/commonjs/make-command.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/make-command.js +52 -0
- package/node_modules/tar/dist/commonjs/make-command.js.map +1 -0
- package/node_modules/tar/dist/commonjs/mkdir.d.ts +25 -0
- package/node_modules/tar/dist/commonjs/mkdir.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/mkdir.js +187 -0
- package/node_modules/tar/dist/commonjs/mkdir.js.map +1 -0
- package/node_modules/tar/dist/commonjs/mode-fix.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
- package/node_modules/tar/dist/commonjs/mode-fix.js.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.js.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +1 -0
- package/node_modules/tar/dist/commonjs/options.d.ts +604 -0
- package/node_modules/tar/dist/commonjs/options.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/options.js +66 -0
- package/node_modules/tar/dist/commonjs/options.js.map +1 -0
- package/node_modules/tar/dist/commonjs/pack.d.ts +105 -0
- package/node_modules/tar/dist/commonjs/pack.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/pack.js +544 -0
- package/node_modules/tar/dist/commonjs/pack.js.map +1 -0
- package/node_modules/tar/dist/commonjs/package.json +3 -0
- package/node_modules/tar/dist/commonjs/parse.d.ts +92 -0
- package/node_modules/tar/dist/commonjs/parse.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/parse.js +655 -0
- package/node_modules/tar/dist/commonjs/parse.js.map +1 -0
- package/node_modules/tar/dist/commonjs/path-reservations.d.ts +11 -0
- package/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
- package/node_modules/tar/dist/commonjs/path-reservations.js.map +1 -0
- package/node_modules/tar/dist/commonjs/pax.d.ts +26 -0
- package/node_modules/tar/dist/commonjs/pax.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/pax.js +182 -0
- package/node_modules/tar/dist/commonjs/pax.js.map +1 -0
- package/node_modules/tar/dist/commonjs/process-umask.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/process-umask.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/process-umask.js +7 -0
- package/node_modules/tar/dist/commonjs/process-umask.js.map +1 -0
- package/node_modules/tar/dist/commonjs/read-entry.d.ts +36 -0
- package/node_modules/tar/dist/commonjs/read-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/read-entry.js +136 -0
- package/node_modules/tar/dist/commonjs/read-entry.js.map +1 -0
- package/node_modules/tar/dist/commonjs/replace.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/replace.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/replace.js +227 -0
- package/node_modules/tar/dist/commonjs/replace.js.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +1 -0
- package/node_modules/tar/dist/commonjs/symlink-error.d.ts +9 -0
- package/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
- package/node_modules/tar/dist/commonjs/symlink-error.js.map +1 -0
- package/node_modules/tar/dist/commonjs/types.d.ts +16 -0
- package/node_modules/tar/dist/commonjs/types.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/types.js +70 -0
- package/node_modules/tar/dist/commonjs/types.js.map +1 -0
- package/node_modules/tar/dist/commonjs/unpack.d.ts +101 -0
- package/node_modules/tar/dist/commonjs/unpack.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/unpack.js +932 -0
- package/node_modules/tar/dist/commonjs/unpack.js.map +1 -0
- package/node_modules/tar/dist/commonjs/update.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/update.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/update.js +33 -0
- package/node_modules/tar/dist/commonjs/update.js.map +1 -0
- package/node_modules/tar/dist/commonjs/warn-method.d.ts +24 -0
- package/node_modules/tar/dist/commonjs/warn-method.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/warn-method.js +31 -0
- package/node_modules/tar/dist/commonjs/warn-method.js.map +1 -0
- package/node_modules/tar/dist/commonjs/winchars.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/winchars.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/winchars.js +14 -0
- package/node_modules/tar/dist/commonjs/winchars.js.map +1 -0
- package/node_modules/tar/dist/commonjs/write-entry.d.ts +129 -0
- package/node_modules/tar/dist/commonjs/write-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/write-entry.js +698 -0
- package/node_modules/tar/dist/commonjs/write-entry.js.map +1 -0
- package/node_modules/tar/dist/esm/create.d.ts +3 -0
- package/node_modules/tar/dist/esm/create.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/create.js +76 -0
- package/node_modules/tar/dist/esm/create.js.map +1 -0
- package/node_modules/tar/dist/esm/cwd-error.d.ts +8 -0
- package/node_modules/tar/dist/esm/cwd-error.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/cwd-error.js +14 -0
- package/node_modules/tar/dist/esm/cwd-error.js.map +1 -0
- package/node_modules/tar/dist/esm/extract.d.ts +3 -0
- package/node_modules/tar/dist/esm/extract.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/extract.js +49 -0
- package/node_modules/tar/dist/esm/extract.js.map +1 -0
- package/node_modules/tar/dist/esm/get-write-flag.d.ts +2 -0
- package/node_modules/tar/dist/esm/get-write-flag.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/get-write-flag.js +26 -0
- package/node_modules/tar/dist/esm/get-write-flag.js.map +1 -0
- package/node_modules/tar/dist/esm/header.d.ts +53 -0
- package/node_modules/tar/dist/esm/header.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/header.js +311 -0
- package/node_modules/tar/dist/esm/header.js.map +1 -0
- package/node_modules/tar/dist/esm/index.d.ts +20 -0
- package/node_modules/tar/dist/esm/index.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/index.js +20 -0
- package/node_modules/tar/dist/esm/index.js.map +1 -0
- package/node_modules/tar/dist/esm/index.min.js +4 -0
- package/node_modules/tar/dist/esm/index.min.js.map +7 -0
- package/node_modules/tar/dist/esm/large-numbers.d.ts +3 -0
- package/node_modules/tar/dist/esm/large-numbers.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/large-numbers.js +94 -0
- package/node_modules/tar/dist/esm/large-numbers.js.map +1 -0
- package/node_modules/tar/dist/esm/list.d.ts +7 -0
- package/node_modules/tar/dist/esm/list.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/list.js +113 -0
- package/node_modules/tar/dist/esm/list.js.map +1 -0
- package/node_modules/tar/dist/esm/make-command.d.ts +49 -0
- package/node_modules/tar/dist/esm/make-command.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/make-command.js +48 -0
- package/node_modules/tar/dist/esm/make-command.js.map +1 -0
- package/node_modules/tar/dist/esm/mkdir.d.ts +25 -0
- package/node_modules/tar/dist/esm/mkdir.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/mkdir.js +179 -0
- package/node_modules/tar/dist/esm/mkdir.js.map +1 -0
- package/node_modules/tar/dist/esm/mode-fix.d.ts +2 -0
- package/node_modules/tar/dist/esm/mode-fix.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/mode-fix.js +25 -0
- package/node_modules/tar/dist/esm/mode-fix.js.map +1 -0
- package/node_modules/tar/dist/esm/normalize-unicode.d.ts +2 -0
- package/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
- package/node_modules/tar/dist/esm/normalize-unicode.js.map +1 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.d.ts +2 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.js.map +1 -0
- package/node_modules/tar/dist/esm/options.d.ts +604 -0
- package/node_modules/tar/dist/esm/options.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/options.js +54 -0
- package/node_modules/tar/dist/esm/options.js.map +1 -0
- package/node_modules/tar/dist/esm/pack.d.ts +105 -0
- package/node_modules/tar/dist/esm/pack.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/pack.js +502 -0
- package/node_modules/tar/dist/esm/pack.js.map +1 -0
- package/node_modules/tar/dist/esm/package.json +3 -0
- package/node_modules/tar/dist/esm/parse.d.ts +92 -0
- package/node_modules/tar/dist/esm/parse.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/parse.js +651 -0
- package/node_modules/tar/dist/esm/parse.js.map +1 -0
- package/node_modules/tar/dist/esm/path-reservations.d.ts +11 -0
- package/node_modules/tar/dist/esm/path-reservations.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/path-reservations.js +166 -0
- package/node_modules/tar/dist/esm/path-reservations.js.map +1 -0
- package/node_modules/tar/dist/esm/pax.d.ts +26 -0
- package/node_modules/tar/dist/esm/pax.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/pax.js +178 -0
- package/node_modules/tar/dist/esm/pax.js.map +1 -0
- package/node_modules/tar/dist/esm/process-umask.d.ts +2 -0
- package/node_modules/tar/dist/esm/process-umask.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/process-umask.js +3 -0
- package/node_modules/tar/dist/esm/process-umask.js.map +1 -0
- package/node_modules/tar/dist/esm/read-entry.d.ts +36 -0
- package/node_modules/tar/dist/esm/read-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/read-entry.js +132 -0
- package/node_modules/tar/dist/esm/read-entry.js.map +1 -0
- package/node_modules/tar/dist/esm/replace.d.ts +2 -0
- package/node_modules/tar/dist/esm/replace.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/replace.js +221 -0
- package/node_modules/tar/dist/esm/replace.js.map +1 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.d.ts +2 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.js.map +1 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +2 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +1 -0
- package/node_modules/tar/dist/esm/symlink-error.d.ts +9 -0
- package/node_modules/tar/dist/esm/symlink-error.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/symlink-error.js +15 -0
- package/node_modules/tar/dist/esm/symlink-error.js.map +1 -0
- package/node_modules/tar/dist/esm/types.d.ts +16 -0
- package/node_modules/tar/dist/esm/types.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/types.js +65 -0
- package/node_modules/tar/dist/esm/types.js.map +1 -0
- package/node_modules/tar/dist/esm/unpack.d.ts +101 -0
- package/node_modules/tar/dist/esm/unpack.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/unpack.js +891 -0
- package/node_modules/tar/dist/esm/unpack.js.map +1 -0
- package/node_modules/tar/dist/esm/update.d.ts +2 -0
- package/node_modules/tar/dist/esm/update.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/update.js +30 -0
- package/node_modules/tar/dist/esm/update.js.map +1 -0
- package/node_modules/tar/dist/esm/warn-method.d.ts +24 -0
- package/node_modules/tar/dist/esm/warn-method.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/warn-method.js +27 -0
- package/node_modules/tar/dist/esm/warn-method.js.map +1 -0
- package/node_modules/tar/dist/esm/winchars.d.ts +3 -0
- package/node_modules/tar/dist/esm/winchars.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/winchars.js +9 -0
- package/node_modules/tar/dist/esm/winchars.js.map +1 -0
- package/node_modules/tar/dist/esm/write-entry.d.ts +129 -0
- package/node_modules/tar/dist/esm/write-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/write-entry.js +656 -0
- package/node_modules/tar/dist/esm/write-entry.js.map +1 -0
- package/node_modules/tar/package.json +298 -0
- package/node_modules/which/LICENSE +15 -0
- package/node_modules/which/README.md +54 -0
- package/node_modules/which/bin/node-which +52 -0
- package/node_modules/which/package.json +43 -0
- package/node_modules/which/which.js +125 -0
- package/node_modules/yallist/LICENSE.md +63 -0
- package/node_modules/yallist/README.md +205 -0
- package/node_modules/yallist/dist/commonjs/index.d.ts +39 -0
- package/node_modules/yallist/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/yallist/dist/commonjs/index.js +384 -0
- package/node_modules/yallist/dist/commonjs/index.js.map +1 -0
- package/node_modules/yallist/dist/commonjs/package.json +3 -0
- package/node_modules/yallist/dist/esm/index.d.ts +39 -0
- package/node_modules/yallist/dist/esm/index.d.ts.map +1 -0
- package/node_modules/yallist/dist/esm/index.js +379 -0
- package/node_modules/yallist/dist/esm/index.js.map +1 -0
- package/node_modules/yallist/dist/esm/package.json +3 -0
- package/node_modules/yallist/package.json +68 -0
- package/node_modules/yaml/LICENSE +13 -0
- package/node_modules/yaml/README.md +172 -0
- package/node_modules/yaml/bin.mjs +11 -0
- package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
- package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/node_modules/yaml/browser/dist/compose/composer.js +219 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +226 -0
- package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/node_modules/yaml/browser/dist/errors.js +57 -0
- package/node_modules/yaml/browser/dist/index.js +17 -0
- package/node_modules/yaml/browser/dist/log.js +11 -0
- package/node_modules/yaml/browser/dist/nodes/Alias.js +118 -0
- package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
- package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/node_modules/yaml/browser/dist/parse/parser.js +975 -0
- package/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/node_modules/yaml/browser/dist/util.js +11 -0
- package/node_modules/yaml/browser/dist/visit.js +233 -0
- package/node_modules/yaml/browser/index.js +5 -0
- package/node_modules/yaml/browser/package.json +3 -0
- package/node_modules/yaml/dist/cli.d.ts +8 -0
- package/node_modules/yaml/dist/cli.mjs +201 -0
- package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/node_modules/yaml/dist/compose/compose-node.js +112 -0
- package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/node_modules/yaml/dist/compose/composer.js +224 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +228 -0
- package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/node_modules/yaml/dist/doc/Document.js +337 -0
- package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/node_modules/yaml/dist/doc/directives.js +178 -0
- package/node_modules/yaml/dist/errors.d.ts +21 -0
- package/node_modules/yaml/dist/errors.js +62 -0
- package/node_modules/yaml/dist/index.d.ts +25 -0
- package/node_modules/yaml/dist/index.js +50 -0
- package/node_modules/yaml/dist/log.d.ts +3 -0
- package/node_modules/yaml/dist/log.js +19 -0
- package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/Alias.js +120 -0
- package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
- package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/node_modules/yaml/dist/options.d.ts +350 -0
- package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/node_modules/yaml/dist/parse/cst.js +112 -0
- package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/node_modules/yaml/dist/parse/lexer.js +723 -0
- package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/node_modules/yaml/dist/parse/parser.js +980 -0
- package/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/node_modules/yaml/dist/public-api.js +107 -0
- package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/node_modules/yaml/dist/schema/tags.js +99 -0
- package/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/node_modules/yaml/dist/test-events.js +134 -0
- package/node_modules/yaml/dist/util.d.ts +16 -0
- package/node_modules/yaml/dist/util.js +28 -0
- package/node_modules/yaml/dist/visit.d.ts +102 -0
- package/node_modules/yaml/dist/visit.js +236 -0
- package/node_modules/yaml/package.json +97 -0
- package/node_modules/yaml/util.js +2 -0
- package/package.json +44 -4
package/README.md
CHANGED
|
@@ -1,3 +1,82 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @sumi/cli(发布名 `@fantasticit/sumi`)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
`sumi` 命令的入口:解析参数、调用内核运行流程、分发插件注册的命令、为 AI 工具生成适配(skills、commands 与 hook),并提供 init、doctor、context 等内置命令。五个插件包随 CLI 一起安装,内核从 CLI 自身的安装位置解析它们。
|
|
4
|
+
|
|
5
|
+
## 命令
|
|
6
|
+
|
|
7
|
+
项目根由当前目录向上查找含 `control/config.yaml`(或旧的 `sumi.config.yaml`)的目录确定。受管项目统一以 `node ./control/bin/sumi.cjs` 作为命令前缀;下表为省略此前缀后的子命令。首次接入使用 `npm exec --offline --package <tgz> -- sumi init`。大多数内置命令支持 `--json` 输出结构化结果。
|
|
8
|
+
|
|
9
|
+
| 命令 | 说明 |
|
|
10
|
+
| ----------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
11
|
+
| `sumi --version` | 输出 CLI 版本 |
|
|
12
|
+
| `sumi run <flow>` | 运行流程:`--tier <档位>`、`--all`、`--base <ref>`、`--label k=v`(可重复);`--commit <oid> [--base <oid>]` 为固定提交模式,供插件在独立检出中验收指定提交。输出简报,退出码即结论 |
|
|
13
|
+
| `sumi instructions <主题> [--json]` | 输出某个主题的操作指令 |
|
|
14
|
+
| `sumi fix <step-id>` | 以当前工作树最近一次包含该步骤的运行范围执行插件声明的 `fix`;运行后内容又变化时拒绝 |
|
|
15
|
+
| `sumi update [--check]` | 重新生成 AI 工具适配与 hook;`--check` 只报告漂移,有漂移时退出码 1 |
|
|
16
|
+
| `sumi hint` | 会话结束提示:最近一次 `check` 运行未通过时输出 `systemMessage`,从不阻止结束 |
|
|
17
|
+
| `sumi doctor` | 诊断:配置、版本、配置位置、各流程能否加载、适配漂移、工具能力缺口;外来接线只报告 |
|
|
18
|
+
| `init [目录]` | `--tools claude,codex,cursor`(别名 `--agents`)。空目录或不存在的目录:生成模板项目并 `git init`;已有仓库:写入骨架、去掉 `needs` 不满足的步骤、生成适配与 hook、全量运行 `check`、执行插件的 `afterInit` |
|
|
19
|
+
| `sumi add plugin <name>` | 在 `control/plugins/<name>/` 生成 `plugin.yaml`、`index.mjs`、`index.test.mjs`(id 为 `local/<name>`),并把 `control/plugins` 加进配置的 `plugins` |
|
|
20
|
+
| `sumi context <路径...>` | 写代码前查约束:`check` 流程中命中这些路径的检查、插件约束查询命令给出的条目、引用这些执行者的规则原文(control 区与 `AGENTS.md` 中的 Markdown) |
|
|
21
|
+
| `sumi vendor <sumi-cli-版本.tgz>` | 校验离线安装包的完整构建身份,放进 `control/vendor/`(删除旧版本,必要时为 `.gitignore` 追加例外),在配置中写入 `install`、精确 `sumi` 版本与 `sumiBuild`,然后运行 `sumi update` |
|
|
22
|
+
| `sumi vendor --dependency [包名]` | 使用已作为 devDependency 安装的 CLI(缺省 `@fantasticit/sumi`):校验 `node_modules` 中的构建身份,清单改为记录包名、版本与身份,删除 `control/vendor/` 下的离线安装包,然后运行 `sumi update` |
|
|
23
|
+
|
|
24
|
+
未匹配内置命令时,CLI 按项目注册表分发插件命令:以仓库根为工作目录执行其 `argv` 加剩余参数,环境中带 `SUMI_ROOT` 与 `SUMI_BIN`,原样返回退出码。插件命令不能与内置命令重名,只在已接入的项目中可用。不带参数或命令未知时列出可用命令,退出码 3;内核错误输出 `内核错误:…`,退出码 3。
|
|
25
|
+
|
|
26
|
+
## AI 工具适配
|
|
27
|
+
|
|
28
|
+
`sumi update`(以及 `init`、`vendor`)按项目配置的 `agents` 生成适配;未配置时只启用 `claude`。每个生成文件带 `generated-by: sumi update` 标记与内容摘要,`--check` 与 `doctor` 据此报告手改、缺失和已无对应主题的旧文件;不带标记的项目文件不会被视为生成物。
|
|
29
|
+
|
|
30
|
+
| 位置 | 内容 |
|
|
31
|
+
| ------------------------------------------------------------------------ | -------------------------------------------------------- |
|
|
32
|
+
| `.agents/skills/sumi-<主题>/SKILL.md` | skill 完整正文(任一工具启用时生成) |
|
|
33
|
+
| `.agents/commands/sumi/<主题>.md` | command 完整正文 |
|
|
34
|
+
| `.claude/skills/sumi-<主题>/SKILL.md`、`.claude/commands/sumi/<主题>.md` | 引用桩:只有一句指向 `.agents` 对应文件的指令 |
|
|
35
|
+
| `.cursor/rules/sumi-<主题>.mdc`、`.cursor/commands/sumi-<主题>.md` | 引用桩(rule 另附 `@file <目标>`,`alwaysApply: false`) |
|
|
36
|
+
| Codex | 不生成桩,直接读取 `.agents` |
|
|
37
|
+
|
|
38
|
+
所有主题都生成 command;只有 skill 主题生成 skill。
|
|
39
|
+
|
|
40
|
+
### hook
|
|
41
|
+
|
|
42
|
+
| 工具 | 写入位置 | 条目 |
|
|
43
|
+
| ------ | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
44
|
+
| Claude | `.claude/settings.json` | `PreToolUse`(`Bash\|Edit\|Write\|MultiEdit\|NotebookEdit`)→ 插件的 `beforeTool`;`PostToolUse`(编辑类工具)→ `afterEdit`;`Stop` → `sumi hint` |
|
|
45
|
+
| Codex | `.codex/hooks.json` | `PreToolUse`(`^(Bash\|apply_patch\|Edit\|Write)$`)、`PostToolUse`(`^(apply_patch\|Edit\|Write)$`);无会话结束提示 |
|
|
46
|
+
| Cursor | — | 不支持 hook,`doctor` 报告能力缺口,依赖 git hook 兜底 |
|
|
47
|
+
|
|
48
|
+
更新时只增删命令以 `sumi ` 开头的条目,其他条目保留。
|
|
49
|
+
|
|
50
|
+
git hook 固定包含 `pre-commit → node ./control/bin/sumi.cjs run check`,其余由插件 `hooks.git` 声明(同一 hook 不能被重复声明)。写入位置取决于 hook 管理器:
|
|
51
|
+
|
|
52
|
+
| 管理器 | 识别方式 | 写入 |
|
|
53
|
+
| ------ | ------------------------------------------- | ------------------------------------------------------ |
|
|
54
|
+
| 原生 | 未设置 `core.hooksPath`、没有 lefthook 配置 | git hooks 目录下由 sumi 独占的脚本 |
|
|
55
|
+
| husky | `core.hooksPath` 指向 `.husky` | `.husky/<hook>` 中的 sumi 区块,区块之外的内容原样保留 |
|
|
56
|
+
| 其他 | 其他 `hooksPath` 或存在 lefthook 配置 | 不写入,`doctor` 提示手动调用对应的 `sumi` 命令 |
|
|
57
|
+
|
|
58
|
+
hook 只调用项目 launcher;launcher、runtime 清单或 vendored 安装包缺失/无效时拒绝,并提示重新用目标版本安装包执行临时 `vendor`。PATH 中是否存在全局 `sumi` 不影响项目执行。
|
|
59
|
+
|
|
60
|
+
## 指令主题
|
|
61
|
+
|
|
62
|
+
| 主题 | 来源 | 形态 | 内容 |
|
|
63
|
+
| --------- | -------- | --------------- | ----------------------------------------------------------------------------------------------- |
|
|
64
|
+
| `develop` | CLI 内置 | skill + command | 先 `sumi context` 查约束、再实现、`sumi run check` 到通过;列出项目的区域、档位、流程与其他主题 |
|
|
65
|
+
| `check` | CLI 内置 | command | 运行检查流程并按简报中的 `next` 处理 |
|
|
66
|
+
| `doctor` | CLI 内置 | command | 运行 `sumi doctor` 并修复 |
|
|
67
|
+
| 其他 | 插件包 | 按指令文件 | 插件声明的 `instructions`(主题名 → Markdown 文件) |
|
|
68
|
+
|
|
69
|
+
插件指令文件的 frontmatter 中 `description:` 作为说明,`skill: false` 表示只生成 command。主题重名或文件不存在时报错。
|
|
70
|
+
|
|
71
|
+
## 离线打包
|
|
72
|
+
|
|
73
|
+
| 脚本 | 说明 |
|
|
74
|
+
| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
75
|
+
| `scripts/pack.mjs`(`pnpm pack:cli`) | 构建全部包与单文件 launcher,`pnpm deploy` 出扁平的 `node_modules`,改写清单(发布名 `@fantasticit/sumi`)并产出 `dist/sumi-cli-<版本>.tgz`,可直接 `npm publish`。安装包只用于临时 init/vendor 与项目 vendoring;项目工具(ESLint、Prettier、TypeScript 等)不打包 |
|
|
76
|
+
| `scripts/verify-pack.mjs` | 在隔离 PATH、无全局 Sumi 的环境中临时执行本地 tgz,验证 init、vendor、update、doctor 与项目 launcher 的 `run check`;runtime 准备过程保持离线 |
|
|
77
|
+
|
|
78
|
+
本仓库通过项目插件 `repo/pack`(`control/plugins/pack/`)在 `full` 档运行 `verify-pack.mjs`。
|
|
79
|
+
|
|
80
|
+
## 导出
|
|
81
|
+
|
|
82
|
+
包入口导出 `main(argv, io)`、`parseArgs`、`findRoot`、`registerCommand`、`requireRoot`、`emit`,以及适配相关的 `ADAPTERS`、`sync`、`checkDrift`、`declaredHooks`、`hookManager`、`capabilityGaps`、`enabledAgents` 等。导入入口时会注册全部内置命令。
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { type SumiConfig, type Registry } from '@sumi/kernel';
|
|
2
|
+
/** 每个 AI 工具适配器如实声明它在该工具上能实现的能力。 */
|
|
3
|
+
export interface Capabilities {
|
|
4
|
+
editIntercept: boolean;
|
|
5
|
+
commandIntercept: boolean;
|
|
6
|
+
afterEdit: boolean;
|
|
7
|
+
stopCheck: boolean;
|
|
8
|
+
commands: boolean;
|
|
9
|
+
}
|
|
10
|
+
/** 生成到某个目录下的一类文件;render 的 target 是被引用的 .agents 文件(只有引用桩使用)。 */
|
|
11
|
+
interface Output {
|
|
12
|
+
dir: string;
|
|
13
|
+
pattern: RegExp;
|
|
14
|
+
path: (name: string) => string;
|
|
15
|
+
render: (name: string, description: string, target: string) => string;
|
|
16
|
+
}
|
|
17
|
+
/** AI 工具的 hook 配置文件:只增删 sumi 条目,保留其他条目。 */
|
|
18
|
+
interface AgentHookFile {
|
|
19
|
+
path: string;
|
|
20
|
+
format: 'nested' | 'cursor';
|
|
21
|
+
/** 前置拦截覆盖的工具(命令与编辑类)。 */
|
|
22
|
+
before?: string;
|
|
23
|
+
/** 编辑后反馈覆盖的编辑类工具。 */
|
|
24
|
+
afterEdit?: string;
|
|
25
|
+
/** 没有插件停止检查时也生成不阻断的会话结束提示。 */
|
|
26
|
+
hint?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface Adapter {
|
|
29
|
+
name: string;
|
|
30
|
+
capabilities: Capabilities;
|
|
31
|
+
/** 引用 .agents 中 skill 的桩;工具原生读取 .agents 时不需要。 */
|
|
32
|
+
skill?: Output;
|
|
33
|
+
command?: Output;
|
|
34
|
+
hooks?: AgentHookFile;
|
|
35
|
+
}
|
|
36
|
+
export declare const MARK = "generated-by: sumi update";
|
|
37
|
+
/** skills 与 commands 的完整正文只生成在 .agents:任一工具启用时都生成,Codex 直接读取。 */
|
|
38
|
+
export declare const AGENTS_SKILL: Output;
|
|
39
|
+
export declare const AGENTS_COMMAND: Output;
|
|
40
|
+
export declare const ADAPTERS: Record<string, Adapter>;
|
|
41
|
+
/** 收集插件声明的 hook:git hook 名称 → 命令,以及 AI 工具前置、编辑后与停止检查命令。 */
|
|
42
|
+
export declare function declaredHooks(registry: Registry): {
|
|
43
|
+
git: Map<string, string[]>;
|
|
44
|
+
beforeTool: string[];
|
|
45
|
+
afterEdit: string[];
|
|
46
|
+
stop: string[];
|
|
47
|
+
};
|
|
48
|
+
export type HookManager = 'git' | 'husky' | 'other';
|
|
49
|
+
/** 识别 hook 管理器:husky(core.hooksPath 指向 .husky)、原生 git hook、其他(自定义 hooksPath 或 lefthook 等)。 */
|
|
50
|
+
export declare function hookManager(root: string): HookManager;
|
|
51
|
+
export declare function gitHooksDir(root: string): string;
|
|
52
|
+
/** 把 sumi 区块写入 husky 的 hook 文件:替换已有区块或追加,标记之外的内容原样保留。 */
|
|
53
|
+
export declare function withBlock(existing: string | null, block: string): string;
|
|
54
|
+
export interface Drift {
|
|
55
|
+
path: string;
|
|
56
|
+
problem: string;
|
|
57
|
+
}
|
|
58
|
+
export interface UpdateFilePlan {
|
|
59
|
+
action: 'write' | 'delete';
|
|
60
|
+
/** 相对仓库路径;原生 Git hook 位于 .git 时使用展示标签。 */
|
|
61
|
+
path: string;
|
|
62
|
+
/** 实际写入目标,仅供计划应用器使用。 */
|
|
63
|
+
target: string;
|
|
64
|
+
content?: string;
|
|
65
|
+
mode?: number;
|
|
66
|
+
}
|
|
67
|
+
export declare function enabledAgents(config: SumiConfig): string[];
|
|
68
|
+
/** AI 工具 hook 配置文件中不是由 sumi 生成的命令(纳管的接线债务)。 */
|
|
69
|
+
export declare function foreignAgentHooks(root: string): {
|
|
70
|
+
file: string;
|
|
71
|
+
command: string;
|
|
72
|
+
}[];
|
|
73
|
+
/** git hook 文件中 sumi 区块之外的命令行(不计 shebang、空行与注释)。husky 为 .husky/<hook>,原生为 git hooks 目录。 */
|
|
74
|
+
export declare function foreignGitHookLines(root: string): {
|
|
75
|
+
file: string;
|
|
76
|
+
command: string;
|
|
77
|
+
}[];
|
|
78
|
+
export declare function readHookFile(root: string, path: string): Record<string, unknown>;
|
|
79
|
+
export declare function checkDrift(root: string): Drift[];
|
|
80
|
+
/** 只读计算 update 的完整文件计划;不写文件,也不理解具体插件命令。 */
|
|
81
|
+
export declare function updatePlan(root: string): UpdateFilePlan[];
|
|
82
|
+
export declare function applyUpdatePlan(plan: UpdateFilePlan[]): string[];
|
|
83
|
+
export declare function sync(root: string): string[];
|
|
84
|
+
/** 已启用工具缺失的能力及因此失去的保证;其他 hook 管理器需要手动接入。 */
|
|
85
|
+
export declare function capabilityGaps(root: string): string[];
|
|
86
|
+
export {};
|
package/dist/adapters.js
ADDED
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
import { execFileSync } from 'node:child_process';
|
|
2
|
+
import { createHash } from 'node:crypto';
|
|
3
|
+
import { chmodSync, existsSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from 'node:fs';
|
|
4
|
+
import { dirname, join, resolve } from 'node:path';
|
|
5
|
+
import { fileURLToPath } from 'node:url';
|
|
6
|
+
import { KernelError, loadConfig, loadFlow, loadRegistry } from '@sumi/kernel';
|
|
7
|
+
import { gitHookScript, HOOK_BLOCK_END, HOOK_BLOCK_START, hookBlock, PROJECT_SUMI } from '@sumi/plugin-sdk';
|
|
8
|
+
import { projectInstruction, topicContext, topics } from './instructions.js';
|
|
9
|
+
import { fileSha256, PROJECT_LAUNCHER, RUNTIME_MANIFEST, runtimeManifestText } from './runtime-manifest.js';
|
|
10
|
+
export const MARK = 'generated-by: sumi update';
|
|
11
|
+
const HOOK_PREFIX = `${PROJECT_SUMI} `;
|
|
12
|
+
/** 旧版本生成的 hook 命令前缀,更新时一并识别为 sumi 的条目。 */
|
|
13
|
+
const LEGACY_PREFIXES = ['sumi ', 'npx --no-install sumi '];
|
|
14
|
+
const hash = (text) => createHash('sha256').update(text).digest('hex').slice(0, 16);
|
|
15
|
+
const marked = (body) => `<!-- ${MARK}; content-hash: ${hash(body)} -->\n${body}`;
|
|
16
|
+
const skillFront = (name, description) => `---\nname: ${name}\ndescription: ${description}\n---\n`;
|
|
17
|
+
/** 项目已改用依赖方式时,现有 runtime 清单中记录的包名。 */
|
|
18
|
+
function dependencyPackage(root) {
|
|
19
|
+
try {
|
|
20
|
+
const manifest = JSON.parse(readFileSync(join(root, RUNTIME_MANIFEST), 'utf8'));
|
|
21
|
+
return typeof manifest.package === 'string' ? manifest.package : null;
|
|
22
|
+
}
|
|
23
|
+
catch {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
function launcherBundle() {
|
|
28
|
+
const here = dirname(fileURLToPath(import.meta.url));
|
|
29
|
+
return [join(here, 'launcher.cjs'), join(here, '../dist/launcher.cjs')].find(existsSync) ?? null;
|
|
30
|
+
}
|
|
31
|
+
/** skills 与 commands 的完整正文只生成在 .agents:任一工具启用时都生成,Codex 直接读取。 */
|
|
32
|
+
export const AGENTS_SKILL = {
|
|
33
|
+
dir: '.agents/skills',
|
|
34
|
+
pattern: /^sumi-/,
|
|
35
|
+
path: (n) => `.agents/skills/sumi-${n}/SKILL.md`,
|
|
36
|
+
render: (n, d, body) => `${skillFront(`sumi-${n}`, d)}${marked(body)}`,
|
|
37
|
+
};
|
|
38
|
+
export const AGENTS_COMMAND = {
|
|
39
|
+
dir: '.agents/commands/sumi',
|
|
40
|
+
pattern: /\.md$/,
|
|
41
|
+
path: (n) => `.agents/commands/sumi/${n}.md`,
|
|
42
|
+
render: (_n, d, body) => `---\ndescription: ${d}\n---\n${marked(body)}`,
|
|
43
|
+
};
|
|
44
|
+
/** 引用桩的正文:只有一句指向 .agents 完整正文的指令。 */
|
|
45
|
+
const stubBody = (target) => `完整读取并严格按照 \`${target}\` 执行;本文件只是引用,不包含指令正文。\n`;
|
|
46
|
+
export const ADAPTERS = {
|
|
47
|
+
claude: {
|
|
48
|
+
name: 'claude',
|
|
49
|
+
capabilities: { editIntercept: true, commandIntercept: true, afterEdit: true, stopCheck: true, commands: true },
|
|
50
|
+
hooks: {
|
|
51
|
+
path: '.claude/settings.json',
|
|
52
|
+
format: 'nested',
|
|
53
|
+
before: 'Bash|Edit|Write|MultiEdit|NotebookEdit',
|
|
54
|
+
afterEdit: 'Edit|Write|MultiEdit|NotebookEdit',
|
|
55
|
+
hint: true,
|
|
56
|
+
},
|
|
57
|
+
skill: {
|
|
58
|
+
dir: '.claude/skills',
|
|
59
|
+
pattern: /^sumi-/,
|
|
60
|
+
path: (n) => `.claude/skills/sumi-${n}/SKILL.md`,
|
|
61
|
+
render: (n, d, target) => `${skillFront(`sumi-${n}`, d)}${marked(stubBody(target))}`,
|
|
62
|
+
},
|
|
63
|
+
command: {
|
|
64
|
+
dir: '.claude/commands/sumi',
|
|
65
|
+
pattern: /\.md$/,
|
|
66
|
+
path: (n) => `.claude/commands/sumi/${n}.md`,
|
|
67
|
+
render: (_n, d, target) => `---\ndescription: ${d}\n---\n${marked(stubBody(target))}`,
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
codex: {
|
|
71
|
+
name: 'codex',
|
|
72
|
+
capabilities: { editIntercept: true, commandIntercept: true, afterEdit: true, stopCheck: true, commands: false },
|
|
73
|
+
hooks: {
|
|
74
|
+
path: '.codex/hooks.json',
|
|
75
|
+
format: 'nested',
|
|
76
|
+
before: '^(Bash|apply_patch|Edit|Write)$',
|
|
77
|
+
afterEdit: '^(apply_patch|Edit|Write)$',
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
cursor: {
|
|
81
|
+
name: 'cursor',
|
|
82
|
+
capabilities: { editIntercept: false, commandIntercept: false, afterEdit: false, stopCheck: true, commands: true },
|
|
83
|
+
hooks: { path: '.cursor/hooks.json', format: 'cursor' },
|
|
84
|
+
skill: {
|
|
85
|
+
dir: '.cursor/rules',
|
|
86
|
+
pattern: /^sumi-.+\.mdc$/,
|
|
87
|
+
path: (n) => `.cursor/rules/sumi-${n}.mdc`,
|
|
88
|
+
render: (_n, d, target) => `---\ndescription: ${d}\nalwaysApply: false\n---\n${marked(`${stubBody(target)}\n@file ${target}\n`)}`,
|
|
89
|
+
},
|
|
90
|
+
command: {
|
|
91
|
+
dir: '.cursor/commands',
|
|
92
|
+
pattern: /^sumi-.+\.md$/,
|
|
93
|
+
path: (n) => `.cursor/commands/sumi-${n}.md`,
|
|
94
|
+
render: (_n, _d, target) => marked(stubBody(target)),
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
/** 收集插件声明的 hook:git hook 名称 → 命令,以及 AI 工具前置、编辑后与停止检查命令。 */
|
|
99
|
+
export function declaredHooks(registry) {
|
|
100
|
+
const git = new Map([['pre-commit', ['run', 'check']]]);
|
|
101
|
+
const owner = new Map([['pre-commit', '内核']]);
|
|
102
|
+
const beforeTool = [];
|
|
103
|
+
const afterEdit = [];
|
|
104
|
+
const stop = [];
|
|
105
|
+
for (const { decl } of registry.plugins.values()) {
|
|
106
|
+
for (const [hook, command] of Object.entries(decl.hooks?.git ?? {})) {
|
|
107
|
+
if (owner.has(hook))
|
|
108
|
+
throw new KernelError(`git hook ${hook} 被重复声明(${owner.get(hook)} 与 ${decl.id})`);
|
|
109
|
+
owner.set(hook, decl.id);
|
|
110
|
+
git.set(hook, [command]);
|
|
111
|
+
}
|
|
112
|
+
if (decl.hooks?.agent?.beforeTool)
|
|
113
|
+
beforeTool.push(decl.hooks.agent.beforeTool);
|
|
114
|
+
if (decl.hooks?.agent?.afterEdit)
|
|
115
|
+
afterEdit.push(decl.hooks.agent.afterEdit);
|
|
116
|
+
if (decl.hooks?.agent?.stop)
|
|
117
|
+
stop.push(decl.hooks.agent.stop);
|
|
118
|
+
}
|
|
119
|
+
return { git, beforeTool, afterEdit, stop };
|
|
120
|
+
}
|
|
121
|
+
/** 识别 hook 管理器:husky(core.hooksPath 指向 .husky)、原生 git hook、其他(自定义 hooksPath 或 lefthook 等)。 */
|
|
122
|
+
export function hookManager(root) {
|
|
123
|
+
let hooksPath = '';
|
|
124
|
+
try {
|
|
125
|
+
hooksPath = execFileSync('git', ['config', 'core.hooksPath'], { cwd: root, encoding: 'utf8', windowsHide: true }).trim();
|
|
126
|
+
}
|
|
127
|
+
catch {
|
|
128
|
+
hooksPath = '';
|
|
129
|
+
}
|
|
130
|
+
if (/(^|\/)\.husky(\/|$)/.test(hooksPath))
|
|
131
|
+
return 'husky';
|
|
132
|
+
if (hooksPath)
|
|
133
|
+
return 'other';
|
|
134
|
+
if (['lefthook.yml', 'lefthook.yaml', '.lefthook.yml'].some((f) => existsSync(join(root, f))))
|
|
135
|
+
return 'other';
|
|
136
|
+
return 'git';
|
|
137
|
+
}
|
|
138
|
+
export function gitHooksDir(root) {
|
|
139
|
+
return resolve(root, execFileSync('git', ['rev-parse', '--git-path', 'hooks'], { cwd: root, encoding: 'utf8', windowsHide: true }).trim());
|
|
140
|
+
}
|
|
141
|
+
/** 把 sumi 区块写入 husky 的 hook 文件:替换已有区块或追加,标记之外的内容原样保留。 */
|
|
142
|
+
export function withBlock(existing, block) {
|
|
143
|
+
if (existing === null)
|
|
144
|
+
return `${block}\n`;
|
|
145
|
+
const start = existing.indexOf(HOOK_BLOCK_START);
|
|
146
|
+
const end = existing.indexOf(HOOK_BLOCK_END);
|
|
147
|
+
if (start >= 0 && end > start)
|
|
148
|
+
return existing.slice(0, start) + block + existing.slice(end + HOOK_BLOCK_END.length);
|
|
149
|
+
return `${existing}${existing.endsWith('\n') ? '' : '\n'}${block}\n`;
|
|
150
|
+
}
|
|
151
|
+
function agentHookGroups(agent, h, hooks) {
|
|
152
|
+
if (h.format === 'cursor') {
|
|
153
|
+
return hooks.stop.length ? { stop: [{ command: `${HOOK_PREFIX}hook agent-stop ${agent}`, type: 'command', loop_limit: null }] } : {};
|
|
154
|
+
}
|
|
155
|
+
const entry = (matcher, commands) => ({
|
|
156
|
+
matcher,
|
|
157
|
+
hooks: commands.map((command) => ({ type: 'command', command: `${HOOK_PREFIX}${command}` })),
|
|
158
|
+
});
|
|
159
|
+
const stopCommands = [...(h.hint ? ['hint'] : []), ...(hooks.stop.length ? [`hook agent-stop ${agent}`] : [])];
|
|
160
|
+
return {
|
|
161
|
+
...(hooks.beforeTool.length && h.before ? { PreToolUse: [entry(h.before, hooks.beforeTool)] } : {}),
|
|
162
|
+
...(hooks.afterEdit.length && h.afterEdit ? { PostToolUse: [entry(h.afterEdit, hooks.afterEdit)] } : {}),
|
|
163
|
+
...(stopCommands.length
|
|
164
|
+
? { Stop: [{ hooks: stopCommands.map((command) => ({ type: 'command', command: `${HOOK_PREFIX}${command}` })) }] }
|
|
165
|
+
: {}),
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
export function enabledAgents(config) {
|
|
169
|
+
const agents = config.agents ?? ['claude'];
|
|
170
|
+
return agents.filter((a) => a in ADAPTERS);
|
|
171
|
+
}
|
|
172
|
+
function listFlows(root, config, registry) {
|
|
173
|
+
const dir = join(root, config.flows);
|
|
174
|
+
if (!existsSync(dir))
|
|
175
|
+
return [];
|
|
176
|
+
return readdirSync(dir)
|
|
177
|
+
.filter((f) => f.endsWith('.flow.yaml'))
|
|
178
|
+
.sort()
|
|
179
|
+
.map((f) => loadFlow(root, config, registry, f.replace(/\.flow\.yaml$/, '')));
|
|
180
|
+
}
|
|
181
|
+
function expected(root) {
|
|
182
|
+
const config = loadConfig(root);
|
|
183
|
+
const registry = loadRegistry(root, config);
|
|
184
|
+
// 加载每个流程以校验其合法;指令中的流程清单来自同一批文件。
|
|
185
|
+
listFlows(root, config, registry);
|
|
186
|
+
const available = topics(root);
|
|
187
|
+
const ctx = topicContext(root);
|
|
188
|
+
const hooks = declaredHooks(registry);
|
|
189
|
+
const files = new Map();
|
|
190
|
+
if (config.sumi && config.sumiBuild) {
|
|
191
|
+
const archive = `control/vendor/sumi-cli-${config.sumi}.tgz`;
|
|
192
|
+
const archivePath = join(root, archive);
|
|
193
|
+
const launcher = launcherBundle();
|
|
194
|
+
const dependency = dependencyPackage(root);
|
|
195
|
+
if (dependency && launcher) {
|
|
196
|
+
// 依赖方式:清单记录包名与身份,CLI 由包管理器安装
|
|
197
|
+
files.set(PROJECT_LAUNCHER, readFileSync(launcher, 'utf8'));
|
|
198
|
+
const manifest = { package: dependency, build: config.sumiBuild, version: config.sumi };
|
|
199
|
+
files.set(RUNTIME_MANIFEST, runtimeManifestText(manifest));
|
|
200
|
+
}
|
|
201
|
+
else if (existsSync(archivePath) && launcher) {
|
|
202
|
+
files.set(PROJECT_LAUNCHER, readFileSync(launcher, 'utf8'));
|
|
203
|
+
files.set(RUNTIME_MANIFEST, runtimeManifestText({ archive, archiveSha256: fileSha256(archivePath), build: config.sumiBuild, version: config.sumi }));
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
const stale = [];
|
|
207
|
+
const agents = enabledAgents(config);
|
|
208
|
+
/** 生成一类文件并登记清理范围:不再对应任何主题的旧文件视为漂移。 */
|
|
209
|
+
const emitAll = (out, names, render) => {
|
|
210
|
+
const keep = new Set();
|
|
211
|
+
for (const name of names) {
|
|
212
|
+
const path = out.path(name);
|
|
213
|
+
files.set(path, render(name));
|
|
214
|
+
keep.add(path);
|
|
215
|
+
}
|
|
216
|
+
stale.push({ dir: out.dir, pattern: out.pattern, keep, nested: out.path('x').endsWith('/SKILL.md') });
|
|
217
|
+
};
|
|
218
|
+
if (agents.length) {
|
|
219
|
+
const skillTopics = [...available].filter(([, t]) => t.skill).map(([n]) => n);
|
|
220
|
+
const allTopics = [...available.keys()];
|
|
221
|
+
emitAll(AGENTS_SKILL, skillTopics, (n) => AGENTS_SKILL.render(n, projectInstruction(available.get(n).description), projectInstruction(available.get(n).text(ctx))));
|
|
222
|
+
emitAll(AGENTS_COMMAND, allTopics, (n) => AGENTS_COMMAND.render(n, projectInstruction(available.get(n).description), projectInstruction(available.get(n).text(ctx))));
|
|
223
|
+
for (const name of agents) {
|
|
224
|
+
const adapter = ADAPTERS[name];
|
|
225
|
+
if (adapter.skill) {
|
|
226
|
+
emitAll(adapter.skill, skillTopics, (n) => adapter.skill.render(n, available.get(n).description, AGENTS_SKILL.path(n)));
|
|
227
|
+
}
|
|
228
|
+
if (adapter.command) {
|
|
229
|
+
emitAll(adapter.command, allTopics, (n) => adapter.command.render(n, available.get(n).description, AGENTS_COMMAND.path(n)));
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
const agentHooks = new Map();
|
|
234
|
+
for (const name of enabledAgents(config)) {
|
|
235
|
+
const h = ADAPTERS[name].hooks;
|
|
236
|
+
if (h) {
|
|
237
|
+
const groups = agentHookGroups(name, h, hooks);
|
|
238
|
+
if (Object.keys(groups).length)
|
|
239
|
+
agentHooks.set(h.path, groups);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
return { files, agentHooks, gitHooks: hooks.git, manager: hookManager(root), stale };
|
|
243
|
+
}
|
|
244
|
+
const isSumiCommand = (command) => !!command && (command.startsWith(HOOK_PREFIX) || LEGACY_PREFIXES.some((prefix) => command.startsWith(prefix)));
|
|
245
|
+
function commandsInHookEntry(entry) {
|
|
246
|
+
if (!entry || typeof entry !== 'object')
|
|
247
|
+
return [];
|
|
248
|
+
const record = entry;
|
|
249
|
+
const direct = typeof record.command === 'string' ? [record.command] : [];
|
|
250
|
+
const nested = Array.isArray(record.hooks)
|
|
251
|
+
? record.hooks.flatMap((hook) => hook && typeof hook === 'object' && typeof hook.command === 'string'
|
|
252
|
+
? [hook.command]
|
|
253
|
+
: [])
|
|
254
|
+
: [];
|
|
255
|
+
return [...direct, ...nested];
|
|
256
|
+
}
|
|
257
|
+
/** AI 工具 hook 配置文件中不是由 sumi 生成的命令(纳管的接线债务)。 */
|
|
258
|
+
export function foreignAgentHooks(root) {
|
|
259
|
+
const out = [];
|
|
260
|
+
for (const path of new Set(Object.values(ADAPTERS).flatMap((a) => (a.hooks ? [a.hooks.path] : [])))) {
|
|
261
|
+
const groups = (readHookFile(root, path).hooks ?? {});
|
|
262
|
+
for (const [event, list] of Object.entries(groups)) {
|
|
263
|
+
for (const entry of list) {
|
|
264
|
+
for (const command of commandsInHookEntry(entry)) {
|
|
265
|
+
if (!isSumiCommand(command))
|
|
266
|
+
out.push({ file: path, command: `${event}: ${command}` });
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
return out;
|
|
272
|
+
}
|
|
273
|
+
/** git hook 文件中 sumi 区块之外的命令行(不计 shebang、空行与注释)。husky 为 .husky/<hook>,原生为 git hooks 目录。 */
|
|
274
|
+
export function foreignGitHookLines(root) {
|
|
275
|
+
const manager = hookManager(root);
|
|
276
|
+
const dir = manager === 'husky' ? join(root, '.husky') : manager === 'git' ? gitHooksDir(root) : null;
|
|
277
|
+
if (!dir || !existsSync(dir))
|
|
278
|
+
return [];
|
|
279
|
+
const label = manager === 'husky' ? '.husky' : 'git hooks';
|
|
280
|
+
const out = [];
|
|
281
|
+
for (const name of readdirSync(dir).sort()) {
|
|
282
|
+
const full = join(dir, name);
|
|
283
|
+
if (name.startsWith('_') || name.startsWith('.') || name.endsWith('.sample') || !statSync(full).isFile())
|
|
284
|
+
continue;
|
|
285
|
+
let inBlock = false;
|
|
286
|
+
for (const raw of readFileSync(full, 'utf8').split('\n')) {
|
|
287
|
+
const line = raw.trim();
|
|
288
|
+
if (line === HOOK_BLOCK_START)
|
|
289
|
+
inBlock = true;
|
|
290
|
+
else if (line === HOOK_BLOCK_END)
|
|
291
|
+
inBlock = false;
|
|
292
|
+
else if (!inBlock && line && !line.startsWith('#'))
|
|
293
|
+
out.push({ file: `${label}/${name}`, command: line });
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
return out;
|
|
297
|
+
}
|
|
298
|
+
function isSumiEntry(entry) {
|
|
299
|
+
return commandsInHookEntry(entry).some(isSumiCommand);
|
|
300
|
+
}
|
|
301
|
+
export function readHookFile(root, path) {
|
|
302
|
+
const full = join(root, path);
|
|
303
|
+
return existsSync(full) ? JSON.parse(readFileSync(full, 'utf8')) : {};
|
|
304
|
+
}
|
|
305
|
+
function sumiHooksIn(settings) {
|
|
306
|
+
const hooks = (settings.hooks ?? {});
|
|
307
|
+
const out = {};
|
|
308
|
+
for (const [event, groups] of Object.entries(hooks)) {
|
|
309
|
+
const ours = groups.filter(isSumiEntry);
|
|
310
|
+
if (ours.length)
|
|
311
|
+
out[event] = ours;
|
|
312
|
+
}
|
|
313
|
+
return out;
|
|
314
|
+
}
|
|
315
|
+
/** 每个 git hook 的落点与期望内容:husky 为 .husky/<hook> 中的区块,原生为独占文件。 */
|
|
316
|
+
function hookTargets(root, exp) {
|
|
317
|
+
if (exp.manager === 'other')
|
|
318
|
+
return [];
|
|
319
|
+
return [...exp.gitHooks].map(([name, command]) => {
|
|
320
|
+
if (exp.manager === 'husky') {
|
|
321
|
+
const block = hookBlock(command);
|
|
322
|
+
return {
|
|
323
|
+
name,
|
|
324
|
+
path: join(root, '.husky', name),
|
|
325
|
+
label: `.husky/${name}`,
|
|
326
|
+
// 提交在仓库里的 hook 被检出为 CRLF 时 sh 无法解析(`}\r`),行尾也算作漂移。
|
|
327
|
+
ok: (t) => t !== null && !t.includes('\r') && t.includes(block),
|
|
328
|
+
next: (t) => withBlock(t?.replace(/\r\n/g, '\n') ?? null, block),
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
const script = gitHookScript(command);
|
|
332
|
+
return { name, path: join(gitHooksDir(root), name), label: `git hooks/${name}`, ok: (t) => t === script, next: () => script };
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
const read = (path) => (existsSync(path) ? readFileSync(path, 'utf8').replace(/\r\n/g, '\n') : null);
|
|
336
|
+
const readRaw = (path) => (existsSync(path) ? readFileSync(path, 'utf8') : null);
|
|
337
|
+
/** husky 的 hook 提交在仓库中:要求 git 以 LF 检出,否则 Windows(core.autocrlf=true)上 hook 无法执行。 */
|
|
338
|
+
const HUSKY_EOL = '.husky/** text=auto eol=lf';
|
|
339
|
+
const missingHuskyEol = (root, exp) => exp.manager === 'husky' && !(read(join(root, '.gitattributes')) ?? '').split('\n').includes(HUSKY_EOL);
|
|
340
|
+
const withHuskyEol = (text) => `${text ?? ''}${text && !text.endsWith('\n') ? '\n' : ''}# sumi:husky hook 必须以 LF 检出\n${HUSKY_EOL}\n`;
|
|
341
|
+
export function checkDrift(root) {
|
|
342
|
+
const exp = expected(root);
|
|
343
|
+
const drift = [];
|
|
344
|
+
for (const [path, content] of exp.files) {
|
|
345
|
+
const text = read(join(root, path));
|
|
346
|
+
if (text === null)
|
|
347
|
+
drift.push({ path, problem: '缺失,需要生成' });
|
|
348
|
+
else if (text !== content)
|
|
349
|
+
drift.push({ path, problem: '与 control 层不一致(被手改或未重新生成)' });
|
|
350
|
+
}
|
|
351
|
+
for (const { dir, pattern, keep, nested } of exp.stale) {
|
|
352
|
+
const full = join(root, dir);
|
|
353
|
+
if (!existsSync(full))
|
|
354
|
+
continue;
|
|
355
|
+
for (const name of readdirSync(full).filter((n) => pattern.test(n))) {
|
|
356
|
+
const candidate = nested ? `${dir}/${name}/SKILL.md` : `${dir}/${name}`;
|
|
357
|
+
// 只有带生成标记的文件才是 sumi 的生成物;同名前缀的项目文件不算漂移。
|
|
358
|
+
if (!keep.has(candidate) && read(join(root, candidate))?.includes(MARK)) {
|
|
359
|
+
drift.push({ path: candidate, problem: '对应的主题已不存在' });
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
const sorted = (o) => JSON.stringify(Object.fromEntries(Object.entries(o).sort(([a], [b]) => a.localeCompare(b))));
|
|
364
|
+
for (const [path, groups] of exp.agentHooks) {
|
|
365
|
+
if (sorted(sumiHooksIn(readHookFile(root, path))) !== sorted(groups))
|
|
366
|
+
drift.push({ path, problem: 'sumi hook 条目缺失或被修改' });
|
|
367
|
+
}
|
|
368
|
+
for (const target of hookTargets(root, exp)) {
|
|
369
|
+
const text = readRaw(target.path);
|
|
370
|
+
if (!target.ok(text))
|
|
371
|
+
drift.push({ path: target.label, problem: text?.includes('\r') ? '行尾为 CRLF,sh 无法执行' : '未安装或被修改' });
|
|
372
|
+
}
|
|
373
|
+
if (missingHuskyEol(root, exp))
|
|
374
|
+
drift.push({ path: '.gitattributes', problem: `缺少 ${HUSKY_EOL}` });
|
|
375
|
+
return drift;
|
|
376
|
+
}
|
|
377
|
+
/** 只读计算 update 的完整文件计划;不写文件,也不理解具体插件命令。 */
|
|
378
|
+
export function updatePlan(root) {
|
|
379
|
+
const exp = expected(root);
|
|
380
|
+
const plan = [];
|
|
381
|
+
for (const [path, content] of exp.files) {
|
|
382
|
+
const full = join(root, path);
|
|
383
|
+
if (read(full) === content)
|
|
384
|
+
continue;
|
|
385
|
+
plan.push({ action: 'write', path, target: full, content });
|
|
386
|
+
}
|
|
387
|
+
// 删除不再对应任何主题的旧生成物;只删带生成标记的文件,项目自己的文件保持不动。
|
|
388
|
+
for (const { dir, pattern, keep, nested } of exp.stale) {
|
|
389
|
+
const full = join(root, dir);
|
|
390
|
+
if (!existsSync(full))
|
|
391
|
+
continue;
|
|
392
|
+
for (const name of readdirSync(full).filter((n) => pattern.test(n))) {
|
|
393
|
+
const candidate = nested ? `${dir}/${name}/SKILL.md` : `${dir}/${name}`;
|
|
394
|
+
if (keep.has(candidate) || !read(join(root, candidate))?.includes(MARK))
|
|
395
|
+
continue;
|
|
396
|
+
plan.push({ action: 'delete', path: candidate, target: join(root, nested ? `${dir}/${name}` : candidate) });
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
for (const [path, groups] of exp.agentHooks) {
|
|
400
|
+
const settings = readHookFile(root, path);
|
|
401
|
+
const hooks = (settings.hooks ?? {});
|
|
402
|
+
for (const event of Object.keys(hooks)) {
|
|
403
|
+
hooks[event] = hooks[event].filter((g) => !isSumiEntry(g));
|
|
404
|
+
if (hooks[event].length === 0)
|
|
405
|
+
delete hooks[event];
|
|
406
|
+
}
|
|
407
|
+
for (const [event, ours] of Object.entries(groups))
|
|
408
|
+
hooks[event] = [...(hooks[event] ?? []), ...ours];
|
|
409
|
+
const next = JSON.stringify({ ...settings, hooks }, null, 2) + '\n';
|
|
410
|
+
const full = join(root, path);
|
|
411
|
+
if (read(full) !== next) {
|
|
412
|
+
plan.push({ action: 'write', path, target: full, content: next });
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
for (const target of hookTargets(root, exp)) {
|
|
416
|
+
const current = readRaw(target.path);
|
|
417
|
+
if (target.ok(current))
|
|
418
|
+
continue;
|
|
419
|
+
plan.push({ action: 'write', path: target.label, target: target.path, content: target.next(current), mode: 0o755 });
|
|
420
|
+
}
|
|
421
|
+
if (missingHuskyEol(root, exp)) {
|
|
422
|
+
const target = join(root, '.gitattributes');
|
|
423
|
+
plan.push({ action: 'write', path: '.gitattributes', target, content: withHuskyEol(readRaw(target)) });
|
|
424
|
+
}
|
|
425
|
+
return plan;
|
|
426
|
+
}
|
|
427
|
+
export function applyUpdatePlan(plan) {
|
|
428
|
+
for (const item of plan) {
|
|
429
|
+
if (item.action === 'delete') {
|
|
430
|
+
rmSync(item.target, { recursive: true, force: true });
|
|
431
|
+
continue;
|
|
432
|
+
}
|
|
433
|
+
mkdirSync(dirname(item.target), { recursive: true });
|
|
434
|
+
writeFileSync(item.target, item.content);
|
|
435
|
+
if (item.mode !== undefined)
|
|
436
|
+
chmodSync(item.target, item.mode);
|
|
437
|
+
}
|
|
438
|
+
return plan.map((item) => (item.action === 'delete' ? `${item.path}(已删除)` : item.path));
|
|
439
|
+
}
|
|
440
|
+
export function sync(root) {
|
|
441
|
+
return applyUpdatePlan(updatePlan(root));
|
|
442
|
+
}
|
|
443
|
+
/** 已启用工具缺失的能力及因此失去的保证;其他 hook 管理器需要手动接入。 */
|
|
444
|
+
export function capabilityGaps(root) {
|
|
445
|
+
const config = loadConfig(root);
|
|
446
|
+
const registry = loadRegistry(root, config);
|
|
447
|
+
const { beforeTool, afterEdit, stop, git } = declaredHooks(registry);
|
|
448
|
+
const fallback = [...git.keys()].filter((h) => h !== 'pre-commit').join('、') || 'pre-commit';
|
|
449
|
+
const gaps = [];
|
|
450
|
+
if (hookManager(root) === 'other') {
|
|
451
|
+
gaps.push(`未识别的 hook 管理器:请手动在 ${[...git.keys()].join('、')} 中分别调用 ${[...git.values()].map((c) => `${PROJECT_SUMI} ${c.join(' ')}`).join('、')}`);
|
|
452
|
+
}
|
|
453
|
+
for (const name of enabledAgents(config)) {
|
|
454
|
+
const c = ADAPTERS[name].capabilities;
|
|
455
|
+
const via = `插件声明的拦截(${beforeTool.join('、')})不生效,依赖 git hook(${fallback})兜底`;
|
|
456
|
+
if (beforeTool.length && !c.editIntercept)
|
|
457
|
+
gaps.push(`${name} 不支持文件编辑前置 hook:${via}`);
|
|
458
|
+
if (beforeTool.length && !c.commandIntercept)
|
|
459
|
+
gaps.push(`${name} 不支持命令前置 hook:${via}`);
|
|
460
|
+
if (afterEdit.length && !c.afterEdit)
|
|
461
|
+
gaps.push(`${name} 不支持编辑后 hook:插件声明的反馈(${afterEdit.join('、')})不生效,依赖提交前检查兜底`);
|
|
462
|
+
if (stop.length && !c.stopCheck)
|
|
463
|
+
gaps.push(`${name} 不支持停止阶段检查:${stop.join('、')} 不生效`);
|
|
464
|
+
if (!c.commands)
|
|
465
|
+
gaps.push(`${name} 不支持项目级 commands,只生成 skills`);
|
|
466
|
+
}
|
|
467
|
+
return gaps;
|
|
468
|
+
}
|
|
469
|
+
//# sourceMappingURL=adapters.js.map
|