@shrkcrft/cli 0.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +15 -0
- package/dist/asset-preview/apply-action-hint-stub.d.ts +28 -0
- package/dist/asset-preview/apply-action-hint-stub.d.ts.map +1 -0
- package/dist/asset-preview/apply-action-hint-stub.js +170 -0
- package/dist/asset-preview/apply-asset-preview.d.ts +31 -0
- package/dist/asset-preview/apply-asset-preview.d.ts.map +1 -0
- package/dist/asset-preview/apply-asset-preview.js +210 -0
- package/dist/asset-preview/apply-knowledge-stale-fix.d.ts +37 -0
- package/dist/asset-preview/apply-knowledge-stale-fix.d.ts.map +1 -0
- package/dist/asset-preview/apply-knowledge-stale-fix.js +344 -0
- package/dist/asset-preview/apply-missing-barrel.d.ts +15 -0
- package/dist/asset-preview/apply-missing-barrel.d.ts.map +1 -0
- package/dist/asset-preview/apply-missing-barrel.js +65 -0
- package/dist/asset-preview/apply-template-drift-fix.d.ts +21 -0
- package/dist/asset-preview/apply-template-drift-fix.d.ts.map +1 -0
- package/dist/asset-preview/apply-template-drift-fix.js +125 -0
- package/dist/asset-preview/apply-template-update.d.ts +43 -0
- package/dist/asset-preview/apply-template-update.d.ts.map +1 -0
- package/dist/asset-preview/apply-template-update.js +257 -0
- package/dist/asset-preview/entry-mutator.d.ts +106 -0
- package/dist/asset-preview/entry-mutator.d.ts.map +1 -0
- package/dist/asset-preview/entry-mutator.js +428 -0
- package/dist/authoring/authoring-kit.d.ts +36 -0
- package/dist/authoring/authoring-kit.d.ts.map +1 -0
- package/dist/authoring/authoring-kit.js +106 -0
- package/dist/command-registry.d.ts +158 -0
- package/dist/command-registry.d.ts.map +1 -0
- package/dist/command-registry.js +348 -0
- package/dist/commands/apply.command.d.ts +3 -0
- package/dist/commands/apply.command.d.ts.map +1 -0
- package/dist/commands/apply.command.js +879 -0
- package/dist/commands/architecture.command.d.ts +5 -0
- package/dist/commands/architecture.command.d.ts.map +1 -0
- package/dist/commands/architecture.command.js +141 -0
- package/dist/commands/ask.command.d.ts +3 -0
- package/dist/commands/ask.command.d.ts.map +1 -0
- package/dist/commands/ask.command.js +58 -0
- package/dist/commands/audit.command.d.ts +3 -0
- package/dist/commands/audit.command.d.ts.map +1 -0
- package/dist/commands/audit.command.js +141 -0
- package/dist/commands/biome.command.d.ts +7 -0
- package/dist/commands/biome.command.d.ts.map +1 -0
- package/dist/commands/biome.command.js +350 -0
- package/dist/commands/boundaries.command.d.ts +9 -0
- package/dist/commands/boundaries.command.d.ts.map +1 -0
- package/dist/commands/boundaries.command.js +314 -0
- package/dist/commands/brief.command.d.ts +3 -0
- package/dist/commands/brief.command.d.ts.map +1 -0
- package/dist/commands/brief.command.js +206 -0
- package/dist/commands/bundle.command.d.ts +3 -0
- package/dist/commands/bundle.command.d.ts.map +1 -0
- package/dist/commands/bundle.command.js +1183 -0
- package/dist/commands/changes.command.d.ts +3 -0
- package/dist/commands/changes.command.d.ts.map +1 -0
- package/dist/commands/changes.command.js +155 -0
- package/dist/commands/check.command.d.ts +3 -0
- package/dist/commands/check.command.d.ts.map +1 -0
- package/dist/commands/check.command.js +553 -0
- package/dist/commands/checks.command.d.ts +29 -0
- package/dist/commands/checks.command.d.ts.map +1 -0
- package/dist/commands/checks.command.js +521 -0
- package/dist/commands/ci.command.d.ts +3 -0
- package/dist/commands/ci.command.d.ts.map +1 -0
- package/dist/commands/ci.command.js +680 -0
- package/dist/commands/codemod.command.d.ts +3 -0
- package/dist/commands/codemod.command.d.ts.map +1 -0
- package/dist/commands/codemod.command.js +130 -0
- package/dist/commands/command-catalog.d.ts +265 -0
- package/dist/commands/command-catalog.d.ts.map +1 -0
- package/dist/commands/command-catalog.js +3242 -0
- package/dist/commands/commands.command.d.ts +92 -0
- package/dist/commands/commands.command.d.ts.map +1 -0
- package/dist/commands/commands.command.js +1208 -0
- package/dist/commands/constructs.command.d.ts +15 -0
- package/dist/commands/constructs.command.d.ts.map +1 -0
- package/dist/commands/constructs.command.js +669 -0
- package/dist/commands/context.command.d.ts +3 -0
- package/dist/commands/context.command.d.ts.map +1 -0
- package/dist/commands/context.command.js +120 -0
- package/dist/commands/contract-gate.command.d.ts +5 -0
- package/dist/commands/contract-gate.command.d.ts.map +1 -0
- package/dist/commands/contract-gate.command.js +208 -0
- package/dist/commands/contract-templates.command.d.ts +8 -0
- package/dist/commands/contract-templates.command.d.ts.map +1 -0
- package/dist/commands/contract-templates.command.js +151 -0
- package/dist/commands/contract.command.d.ts +3 -0
- package/dist/commands/contract.command.d.ts.map +1 -0
- package/dist/commands/contract.command.js +105 -0
- package/dist/commands/conventions.command.d.ts +8 -0
- package/dist/commands/conventions.command.d.ts.map +1 -0
- package/dist/commands/conventions.command.js +169 -0
- package/dist/commands/coverage.command.d.ts +3 -0
- package/dist/commands/coverage.command.d.ts.map +1 -0
- package/dist/commands/coverage.command.js +56 -0
- package/dist/commands/daily.commands.d.ts +5 -0
- package/dist/commands/daily.commands.d.ts.map +1 -0
- package/dist/commands/daily.commands.js +224 -0
- package/dist/commands/dashboard-export.command.d.ts +4 -0
- package/dist/commands/dashboard-export.command.d.ts.map +1 -0
- package/dist/commands/dashboard-export.command.js +86 -0
- package/dist/commands/dashboard.command.d.ts +3 -0
- package/dist/commands/dashboard.command.d.ts.map +1 -0
- package/dist/commands/dashboard.command.js +106 -0
- package/dist/commands/dev.command.d.ts +3 -0
- package/dist/commands/dev.command.d.ts.map +1 -0
- package/dist/commands/dev.command.js +1392 -0
- package/dist/commands/diagnostics.command.d.ts +5 -0
- package/dist/commands/diagnostics.command.d.ts.map +1 -0
- package/dist/commands/diagnostics.command.js +97 -0
- package/dist/commands/docs.command.d.ts +4 -0
- package/dist/commands/docs.command.d.ts.map +1 -0
- package/dist/commands/docs.command.js +34 -0
- package/dist/commands/doctor.command.d.ts +7 -0
- package/dist/commands/doctor.command.d.ts.map +1 -0
- package/dist/commands/doctor.command.js +681 -0
- package/dist/commands/drift.command.d.ts +3 -0
- package/dist/commands/drift.command.d.ts.map +1 -0
- package/dist/commands/drift.command.js +124 -0
- package/dist/commands/eslint.command.d.ts +7 -0
- package/dist/commands/eslint.command.d.ts.map +1 -0
- package/dist/commands/eslint.command.js +423 -0
- package/dist/commands/explore.command.d.ts +3 -0
- package/dist/commands/explore.command.d.ts.map +1 -0
- package/dist/commands/explore.command.js +65 -0
- package/dist/commands/export-bundle.command.d.ts +6 -0
- package/dist/commands/export-bundle.command.d.ts.map +1 -0
- package/dist/commands/export-bundle.command.js +96 -0
- package/dist/commands/export.command.d.ts +3 -0
- package/dist/commands/export.command.d.ts.map +1 -0
- package/dist/commands/export.command.js +83 -0
- package/dist/commands/feedback-dispatch.command.d.ts +12 -0
- package/dist/commands/feedback-dispatch.command.d.ts.map +1 -0
- package/dist/commands/feedback-dispatch.command.js +63 -0
- package/dist/commands/feedback.command.d.ts +11 -0
- package/dist/commands/feedback.command.d.ts.map +1 -0
- package/dist/commands/feedback.command.js +336 -0
- package/dist/commands/fix.command.d.ts +3 -0
- package/dist/commands/fix.command.d.ts.map +1 -0
- package/dist/commands/fix.command.js +776 -0
- package/dist/commands/gen.command.d.ts +3 -0
- package/dist/commands/gen.command.d.ts.map +1 -0
- package/dist/commands/gen.command.js +136 -0
- package/dist/commands/git.command.d.ts +6 -0
- package/dist/commands/git.command.d.ts.map +1 -0
- package/dist/commands/git.command.js +81 -0
- package/dist/commands/graph.command.d.ts +3 -0
- package/dist/commands/graph.command.d.ts.map +1 -0
- package/dist/commands/graph.command.js +287 -0
- package/dist/commands/grounding.command.d.ts +7 -0
- package/dist/commands/grounding.command.d.ts.map +1 -0
- package/dist/commands/grounding.command.js +54 -0
- package/dist/commands/help.command.d.ts +20 -0
- package/dist/commands/help.command.d.ts.map +1 -0
- package/dist/commands/help.command.js +127 -0
- package/dist/commands/helper.command.d.ts +6 -0
- package/dist/commands/helper.command.d.ts.map +1 -0
- package/dist/commands/helper.command.js +170 -0
- package/dist/commands/ide.command.d.ts +6 -0
- package/dist/commands/ide.command.d.ts.map +1 -0
- package/dist/commands/ide.command.js +340 -0
- package/dist/commands/impact.command.d.ts +3 -0
- package/dist/commands/impact.command.d.ts.map +1 -0
- package/dist/commands/impact.command.js +819 -0
- package/dist/commands/import.command.d.ts +3 -0
- package/dist/commands/import.command.d.ts.map +1 -0
- package/dist/commands/import.command.js +115 -0
- package/dist/commands/infer.command.d.ts +3 -0
- package/dist/commands/infer.command.d.ts.map +1 -0
- package/dist/commands/infer.command.js +227 -0
- package/dist/commands/ingest.command.d.ts +6 -0
- package/dist/commands/ingest.command.d.ts.map +1 -0
- package/dist/commands/ingest.command.js +532 -0
- package/dist/commands/init.command.d.ts +3 -0
- package/dist/commands/init.command.d.ts.map +1 -0
- package/dist/commands/init.command.js +301 -0
- package/dist/commands/inspect.command.d.ts +3 -0
- package/dist/commands/inspect.command.d.ts.map +1 -0
- package/dist/commands/inspect.command.js +122 -0
- package/dist/commands/knowledge-author.command.d.ts +22 -0
- package/dist/commands/knowledge-author.command.d.ts.map +1 -0
- package/dist/commands/knowledge-author.command.js +366 -0
- package/dist/commands/knowledge-propose.command.d.ts +3 -0
- package/dist/commands/knowledge-propose.command.d.ts.map +1 -0
- package/dist/commands/knowledge-propose.command.js +125 -0
- package/dist/commands/knowledge.command.d.ts +18 -0
- package/dist/commands/knowledge.command.d.ts.map +1 -0
- package/dist/commands/knowledge.command.js +538 -0
- package/dist/commands/languages.command.d.ts +3 -0
- package/dist/commands/languages.command.d.ts.map +1 -0
- package/dist/commands/languages.command.js +300 -0
- package/dist/commands/lint.command.d.ts +15 -0
- package/dist/commands/lint.command.d.ts.map +1 -0
- package/dist/commands/lint.command.js +194 -0
- package/dist/commands/mcp.command.d.ts +3 -0
- package/dist/commands/mcp.command.d.ts.map +1 -0
- package/dist/commands/mcp.command.js +74 -0
- package/dist/commands/memory.command.d.ts +11 -0
- package/dist/commands/memory.command.d.ts.map +1 -0
- package/dist/commands/memory.command.js +264 -0
- package/dist/commands/onboard.command.d.ts +3 -0
- package/dist/commands/onboard.command.d.ts.map +1 -0
- package/dist/commands/onboard.command.js +650 -0
- package/dist/commands/orchestrate.command.d.ts +3 -0
- package/dist/commands/orchestrate.command.d.ts.map +1 -0
- package/dist/commands/orchestrate.command.js +49 -0
- package/dist/commands/owners.command.d.ts +5 -0
- package/dist/commands/owners.command.d.ts.map +1 -0
- package/dist/commands/owners.command.js +113 -0
- package/dist/commands/ownership.command.d.ts +5 -0
- package/dist/commands/ownership.command.d.ts.map +1 -0
- package/dist/commands/ownership.command.js +117 -0
- package/dist/commands/pack-author.command.d.ts +30 -0
- package/dist/commands/pack-author.command.d.ts.map +1 -0
- package/dist/commands/pack-author.command.js +242 -0
- package/dist/commands/packs-new.d.ts +27 -0
- package/dist/commands/packs-new.d.ts.map +1 -0
- package/dist/commands/packs-new.js +805 -0
- package/dist/commands/packs.command.d.ts +15 -0
- package/dist/commands/packs.command.d.ts.map +1 -0
- package/dist/commands/packs.command.js +958 -0
- package/dist/commands/paths.command.d.ts +6 -0
- package/dist/commands/paths.command.d.ts.map +1 -0
- package/dist/commands/paths.command.js +97 -0
- package/dist/commands/pipelines.command.d.ts +9 -0
- package/dist/commands/pipelines.command.d.ts.map +1 -0
- package/dist/commands/pipelines.command.js +308 -0
- package/dist/commands/plan-check.command.d.ts +27 -0
- package/dist/commands/plan-check.command.d.ts.map +1 -0
- package/dist/commands/plan-check.command.js +150 -0
- package/dist/commands/plan-simulate.command.d.ts +3 -0
- package/dist/commands/plan-simulate.command.d.ts.map +1 -0
- package/dist/commands/plan-simulate.command.js +60 -0
- package/dist/commands/plan.command.d.ts +8 -0
- package/dist/commands/plan.command.d.ts.map +1 -0
- package/dist/commands/plan.command.js +139 -0
- package/dist/commands/playbooks.command.d.ts +10 -0
- package/dist/commands/playbooks.command.d.ts.map +1 -0
- package/dist/commands/playbooks.command.js +296 -0
- package/dist/commands/plugin.command.d.ts +11 -0
- package/dist/commands/plugin.command.d.ts.map +1 -0
- package/dist/commands/plugin.command.js +394 -0
- package/dist/commands/policy.command.d.ts +8 -0
- package/dist/commands/policy.command.d.ts.map +1 -0
- package/dist/commands/policy.command.js +451 -0
- package/dist/commands/pr.command.d.ts +3 -0
- package/dist/commands/pr.command.d.ts.map +1 -0
- package/dist/commands/pr.command.js +132 -0
- package/dist/commands/preflight.command.d.ts +3 -0
- package/dist/commands/preflight.command.d.ts.map +1 -0
- package/dist/commands/preflight.command.js +102 -0
- package/dist/commands/presets.command.d.ts +17 -0
- package/dist/commands/presets.command.d.ts.map +1 -0
- package/dist/commands/presets.command.js +647 -0
- package/dist/commands/profiles.command.d.ts +7 -0
- package/dist/commands/profiles.command.d.ts.map +1 -0
- package/dist/commands/profiles.command.js +151 -0
- package/dist/commands/provenance.command.d.ts +26 -0
- package/dist/commands/provenance.command.d.ts.map +1 -0
- package/dist/commands/provenance.command.js +237 -0
- package/dist/commands/quality.command.d.ts +5 -0
- package/dist/commands/quality.command.d.ts.map +1 -0
- package/dist/commands/quality.command.js +69 -0
- package/dist/commands/recommend.command.d.ts +4 -0
- package/dist/commands/recommend.command.d.ts.map +1 -0
- package/dist/commands/recommend.command.js +270 -0
- package/dist/commands/registrations.command.d.ts +3 -0
- package/dist/commands/registrations.command.d.ts.map +1 -0
- package/dist/commands/registrations.command.js +300 -0
- package/dist/commands/registry.command.d.ts +4 -0
- package/dist/commands/registry.command.d.ts.map +1 -0
- package/dist/commands/registry.command.js +37 -0
- package/dist/commands/release.command.d.ts +4 -0
- package/dist/commands/release.command.d.ts.map +1 -0
- package/dist/commands/release.command.js +639 -0
- package/dist/commands/repo.command.d.ts +3 -0
- package/dist/commands/repo.command.d.ts.map +1 -0
- package/dist/commands/repo.command.js +24 -0
- package/dist/commands/report.command.d.ts +3 -0
- package/dist/commands/report.command.d.ts.map +1 -0
- package/dist/commands/report.command.js +511 -0
- package/dist/commands/reposet.command.d.ts +6 -0
- package/dist/commands/reposet.command.d.ts.map +1 -0
- package/dist/commands/reposet.command.js +120 -0
- package/dist/commands/review.command.d.ts +3 -0
- package/dist/commands/review.command.d.ts.map +1 -0
- package/dist/commands/review.command.js +354 -0
- package/dist/commands/risk.command.d.ts +3 -0
- package/dist/commands/risk.command.d.ts.map +1 -0
- package/dist/commands/risk.command.js +56 -0
- package/dist/commands/rounds.command.d.ts +8 -0
- package/dist/commands/rounds.command.d.ts.map +1 -0
- package/dist/commands/rounds.command.js +180 -0
- package/dist/commands/rules.command.d.ts +49 -0
- package/dist/commands/rules.command.d.ts.map +1 -0
- package/dist/commands/rules.command.js +435 -0
- package/dist/commands/runtime.command.d.ts +3 -0
- package/dist/commands/runtime.command.d.ts.map +1 -0
- package/dist/commands/runtime.command.js +56 -0
- package/dist/commands/safety.command.d.ts +3 -0
- package/dist/commands/safety.command.d.ts.map +1 -0
- package/dist/commands/safety.command.js +117 -0
- package/dist/commands/scaffolds.command.d.ts +5 -0
- package/dist/commands/scaffolds.command.d.ts.map +1 -0
- package/dist/commands/scaffolds.command.js +122 -0
- package/dist/commands/schemas.command.d.ts +21 -0
- package/dist/commands/schemas.command.d.ts.map +1 -0
- package/dist/commands/schemas.command.js +296 -0
- package/dist/commands/search.command.d.ts +12 -0
- package/dist/commands/search.command.d.ts.map +1 -0
- package/dist/commands/search.command.js +275 -0
- package/dist/commands/self-config.command.d.ts +7 -0
- package/dist/commands/self-config.command.d.ts.map +1 -0
- package/dist/commands/self-config.command.js +156 -0
- package/dist/commands/self.command.d.ts +3 -0
- package/dist/commands/self.command.d.ts.map +1 -0
- package/dist/commands/self.command.js +117 -0
- package/dist/commands/simulate.command.d.ts +3 -0
- package/dist/commands/simulate.command.d.ts.map +1 -0
- package/dist/commands/simulate.command.js +54 -0
- package/dist/commands/spec.command.d.ts +29 -0
- package/dist/commands/spec.command.d.ts.map +1 -0
- package/dist/commands/spec.command.js +985 -0
- package/dist/commands/start-here.command.d.ts +3 -0
- package/dist/commands/start-here.command.d.ts.map +1 -0
- package/dist/commands/start-here.command.js +35 -0
- package/dist/commands/stats.command.d.ts +3 -0
- package/dist/commands/stats.command.d.ts.map +1 -0
- package/dist/commands/stats.command.js +88 -0
- package/dist/commands/surface.command.d.ts +15 -0
- package/dist/commands/surface.command.d.ts.map +1 -0
- package/dist/commands/surface.command.js +328 -0
- package/dist/commands/task-context.command.d.ts +7 -0
- package/dist/commands/task-context.command.d.ts.map +1 -0
- package/dist/commands/task-context.command.js +646 -0
- package/dist/commands/task.command.d.ts +3 -0
- package/dist/commands/task.command.d.ts.map +1 -0
- package/dist/commands/task.command.js +301 -0
- package/dist/commands/template-quality.command.d.ts +5 -0
- package/dist/commands/template-quality.command.d.ts.map +1 -0
- package/dist/commands/template-quality.command.js +128 -0
- package/dist/commands/templates.command.d.ts +26 -0
- package/dist/commands/templates.command.d.ts.map +1 -0
- package/dist/commands/templates.command.js +964 -0
- package/dist/commands/test.command.d.ts +3 -0
- package/dist/commands/test.command.d.ts.map +1 -0
- package/dist/commands/test.command.js +262 -0
- package/dist/commands/tests.command.d.ts +5 -0
- package/dist/commands/tests.command.d.ts.map +1 -0
- package/dist/commands/tests.command.js +97 -0
- package/dist/commands/trace.command.d.ts +3 -0
- package/dist/commands/trace.command.d.ts.map +1 -0
- package/dist/commands/trace.command.js +121 -0
- package/dist/commands/upgrade.command.d.ts +4 -0
- package/dist/commands/upgrade.command.d.ts.map +1 -0
- package/dist/commands/upgrade.command.js +43 -0
- package/dist/commands/version.command.d.ts +3 -0
- package/dist/commands/version.command.d.ts.map +1 -0
- package/dist/commands/version.command.js +10 -0
- package/dist/commands/why.command.d.ts +24 -0
- package/dist/commands/why.command.d.ts.map +1 -0
- package/dist/commands/why.command.js +119 -0
- package/dist/dashboard/dashboard-api-server.d.ts +21 -0
- package/dist/dashboard/dashboard-api-server.d.ts.map +1 -0
- package/dist/dashboard/dashboard-api-server.js +410 -0
- package/dist/dashboard/live-session-server.d.ts +18 -0
- package/dist/dashboard/live-session-server.d.ts.map +1 -0
- package/dist/dashboard/live-session-server.js +133 -0
- package/dist/diff/collect-changed-paths.d.ts +27 -0
- package/dist/diff/collect-changed-paths.d.ts.map +1 -0
- package/dist/diff/collect-changed-paths.js +68 -0
- package/dist/doctor/doctor-tags.d.ts +63 -0
- package/dist/doctor/doctor-tags.d.ts.map +1 -0
- package/dist/doctor/doctor-tags.js +146 -0
- package/dist/export/export-formats.d.ts +22 -0
- package/dist/export/export-formats.d.ts.map +1 -0
- package/dist/export/export-formats.js +135 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +21 -0
- package/dist/init/detected-block.d.ts +57 -0
- package/dist/init/detected-block.d.ts.map +1 -0
- package/dist/init/detected-block.js +197 -0
- package/dist/init/gitignore.d.ts +30 -0
- package/dist/init/gitignore.d.ts.map +1 -0
- package/dist/init/gitignore.js +110 -0
- package/dist/init/init-templates.d.ts +6 -0
- package/dist/init/init-templates.d.ts.map +1 -0
- package/dist/init/init-templates.js +413 -0
- package/dist/main.d.ts +18 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +699 -0
- package/dist/output/failure-hints.d.ts +55 -0
- package/dist/output/failure-hints.d.ts.map +1 -0
- package/dist/output/failure-hints.js +159 -0
- package/dist/output/format-output.d.ts +9 -0
- package/dist/output/format-output.d.ts.map +1 -0
- package/dist/output/format-output.js +26 -0
- package/dist/output/print-error.d.ts +3 -0
- package/dist/output/print-error.d.ts.map +1 -0
- package/dist/output/print-error.js +14 -0
- package/dist/output/watch-loop.d.ts +37 -0
- package/dist/output/watch-loop.d.ts.map +1 -0
- package/dist/output/watch-loop.js +115 -0
- package/dist/schemas/json-schemas.d.ts +1630 -0
- package/dist/schemas/json-schemas.d.ts.map +1 -0
- package/dist/schemas/json-schemas.js +811 -0
- package/dist/surface/about.d.ts +10 -0
- package/dist/surface/about.d.ts.map +1 -0
- package/dist/surface/about.js +53 -0
- package/dist/surface/load-surface-context.d.ts +34 -0
- package/dist/surface/load-surface-context.d.ts.map +1 -0
- package/dist/surface/load-surface-context.js +100 -0
- package/dist/surface/no-args-landing.d.ts +7 -0
- package/dist/surface/no-args-landing.d.ts.map +1 -0
- package/dist/surface/no-args-landing.js +36 -0
- package/dist/surface/not-enabled-error.d.ts +24 -0
- package/dist/surface/not-enabled-error.d.ts.map +1 -0
- package/dist/surface/not-enabled-error.js +36 -0
- package/dist/surface/profiles.d.ts +37 -0
- package/dist/surface/profiles.d.ts.map +1 -0
- package/dist/surface/profiles.js +151 -0
- package/dist/surface/shape-defaults.d.ts +21 -0
- package/dist/surface/shape-defaults.d.ts.map +1 -0
- package/dist/surface/shape-defaults.js +50 -0
- package/dist/surface/spine-extractor.d.ts +38 -0
- package/dist/surface/spine-extractor.d.ts.map +1 -0
- package/dist/surface/spine-extractor.js +100 -0
- package/dist/surface/surface-config-writer.d.ts +59 -0
- package/dist/surface/surface-config-writer.d.ts.map +1 -0
- package/dist/surface/surface-config-writer.js +135 -0
- package/dist/surface/surface-summary.d.ts +66 -0
- package/dist/surface/surface-summary.d.ts.map +1 -0
- package/dist/surface/surface-summary.js +162 -0
- package/dist/surface/tier.d.ts +100 -0
- package/dist/surface/tier.d.ts.map +1 -0
- package/dist/surface/tier.js +172 -0
- package/dist/task-next/apply-batch-runner.d.ts +42 -0
- package/dist/task-next/apply-batch-runner.d.ts.map +1 -0
- package/dist/task-next/apply-batch-runner.js +192 -0
- package/dist/task-next/task-next-ranker.d.ts +75 -0
- package/dist/task-next/task-next-ranker.d.ts.map +1 -0
- package/dist/task-next/task-next-ranker.js +179 -0
- package/dist/usage/usage-log.d.ts +54 -0
- package/dist/usage/usage-log.d.ts.map +1 -0
- package/dist/usage/usage-log.js +105 -0
- package/dist/validation/run-validation-loop.d.ts +38 -0
- package/dist/validation/run-validation-loop.d.ts.map +1 -0
- package/dist/validation/run-validation-loop.js +100 -0
- package/package.json +73 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Local-only command usage log. Writes one JSONL entry per
|
|
3
|
+
* command invocation to `.sharkcraft/usage/commands.jsonl`. Opt-out
|
|
4
|
+
* via `sharkcraft.config.ts usage.enabled = false` OR
|
|
5
|
+
* `SHARKCRAFT_USAGE_DISABLED=1`.
|
|
6
|
+
*
|
|
7
|
+
* Hard contracts:
|
|
8
|
+
* - Local only. NEVER sent anywhere; no network code touches this file.
|
|
9
|
+
* - Flag VALUES are never recorded. Only flag NAMES (the `--name`
|
|
10
|
+
* part, with the `--` stripped).
|
|
11
|
+
* - Rotates at 10MB to `commands.jsonl.1`; only one rotated file
|
|
12
|
+
* kept (the previous .1 is overwritten).
|
|
13
|
+
* - Append-only writes; failures degrade silently — the CLI must
|
|
14
|
+
* never fail because the usage log couldn't be written.
|
|
15
|
+
*/
|
|
16
|
+
export declare const USAGE_LOG_SCHEMA = "sharkcraft.usage.v1";
|
|
17
|
+
export declare const USAGE_LOG_DIR = ".sharkcraft/usage";
|
|
18
|
+
export declare const USAGE_LOG_FILE = "commands.jsonl";
|
|
19
|
+
export declare const USAGE_LOG_ROTATE_BYTES: number;
|
|
20
|
+
export interface IUsageEntry {
|
|
21
|
+
schemaVersion: typeof USAGE_LOG_SCHEMA;
|
|
22
|
+
ts: string;
|
|
23
|
+
command: string;
|
|
24
|
+
exitCode: number;
|
|
25
|
+
durationMs: number;
|
|
26
|
+
/** Flag names (with leading `--` stripped). Never values. */
|
|
27
|
+
flags: readonly string[];
|
|
28
|
+
}
|
|
29
|
+
export interface IUsageRecordOptions {
|
|
30
|
+
cwd: string;
|
|
31
|
+
command: string;
|
|
32
|
+
exitCode: number;
|
|
33
|
+
durationMs: number;
|
|
34
|
+
flags: readonly string[];
|
|
35
|
+
/** When false (or env var set), the writer is a no-op. */
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
}
|
|
38
|
+
export declare function recordUsage(opts: IUsageRecordOptions): void;
|
|
39
|
+
/**
|
|
40
|
+
* Sanitize raw argv into flag NAMES only. Drops values, drops
|
|
41
|
+
* positional args, dedupes. Single-letter flags keep their dash.
|
|
42
|
+
*
|
|
43
|
+
* Examples:
|
|
44
|
+
* `["doctor", "--json"]` → `["--json"]`
|
|
45
|
+
* `["task", "<task>", "--top", "5"]` → `["--top"]`
|
|
46
|
+
* `["--cwd=foo", "--debug"]` → `["--cwd", "--debug"]`
|
|
47
|
+
*/
|
|
48
|
+
export declare function sanitizeFlagNames(rawArgv: readonly string[]): string[];
|
|
49
|
+
/**
|
|
50
|
+
* Extract the leading command path (top-level + first
|
|
51
|
+
* subcommand if present, no flags) from raw argv.
|
|
52
|
+
*/
|
|
53
|
+
export declare function extractCommandPath(rawArgv: readonly string[]): string;
|
|
54
|
+
//# sourceMappingURL=usage-log.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usage-log.d.ts","sourceRoot":"","sources":["../../src/usage/usage-log.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;GAcG;AAEH,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AACtD,eAAO,MAAM,aAAa,sBAAsB,CAAC;AACjD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,sBAAsB,QAAmB,CAAC;AAEvD,MAAM,WAAW,WAAW;IAC1B,aAAa,EAAE,OAAO,gBAAgB,CAAC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,0DAA0D;IAC1D,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,mBAAmB,GAAG,IAAI,CAqB3D;AAcD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,EAAE,CAkBtE;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAQrE"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { appendFileSync, existsSync, mkdirSync, renameSync, statSync, } from 'node:fs';
|
|
2
|
+
import * as nodePath from 'node:path';
|
|
3
|
+
/**
|
|
4
|
+
* Local-only command usage log. Writes one JSONL entry per
|
|
5
|
+
* command invocation to `.sharkcraft/usage/commands.jsonl`. Opt-out
|
|
6
|
+
* via `sharkcraft.config.ts usage.enabled = false` OR
|
|
7
|
+
* `SHARKCRAFT_USAGE_DISABLED=1`.
|
|
8
|
+
*
|
|
9
|
+
* Hard contracts:
|
|
10
|
+
* - Local only. NEVER sent anywhere; no network code touches this file.
|
|
11
|
+
* - Flag VALUES are never recorded. Only flag NAMES (the `--name`
|
|
12
|
+
* part, with the `--` stripped).
|
|
13
|
+
* - Rotates at 10MB to `commands.jsonl.1`; only one rotated file
|
|
14
|
+
* kept (the previous .1 is overwritten).
|
|
15
|
+
* - Append-only writes; failures degrade silently — the CLI must
|
|
16
|
+
* never fail because the usage log couldn't be written.
|
|
17
|
+
*/
|
|
18
|
+
export const USAGE_LOG_SCHEMA = 'sharkcraft.usage.v1';
|
|
19
|
+
export const USAGE_LOG_DIR = '.sharkcraft/usage';
|
|
20
|
+
export const USAGE_LOG_FILE = 'commands.jsonl';
|
|
21
|
+
export const USAGE_LOG_ROTATE_BYTES = 10 * 1024 * 1024;
|
|
22
|
+
export function recordUsage(opts) {
|
|
23
|
+
if (!opts.enabled)
|
|
24
|
+
return;
|
|
25
|
+
if (process.env.SHARKCRAFT_USAGE_DISABLED === '1')
|
|
26
|
+
return;
|
|
27
|
+
const dir = nodePath.join(opts.cwd, USAGE_LOG_DIR);
|
|
28
|
+
const file = nodePath.join(dir, USAGE_LOG_FILE);
|
|
29
|
+
const entry = {
|
|
30
|
+
schemaVersion: USAGE_LOG_SCHEMA,
|
|
31
|
+
ts: new Date().toISOString(),
|
|
32
|
+
command: opts.command,
|
|
33
|
+
exitCode: opts.exitCode,
|
|
34
|
+
durationMs: Math.max(0, Math.round(opts.durationMs)),
|
|
35
|
+
flags: opts.flags,
|
|
36
|
+
};
|
|
37
|
+
try {
|
|
38
|
+
if (!existsSync(dir))
|
|
39
|
+
mkdirSync(dir, { recursive: true });
|
|
40
|
+
rotateIfTooBig(file);
|
|
41
|
+
appendFileSync(file, JSON.stringify(entry) + '\n', 'utf8');
|
|
42
|
+
}
|
|
43
|
+
catch {
|
|
44
|
+
// Silent. The CLI must never fail because of the usage log.
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
function rotateIfTooBig(file) {
|
|
48
|
+
if (!existsSync(file))
|
|
49
|
+
return;
|
|
50
|
+
try {
|
|
51
|
+
const size = statSync(file).size;
|
|
52
|
+
if (size < USAGE_LOG_ROTATE_BYTES)
|
|
53
|
+
return;
|
|
54
|
+
const rotated = `${file}.1`;
|
|
55
|
+
renameSync(file, rotated);
|
|
56
|
+
}
|
|
57
|
+
catch {
|
|
58
|
+
// ignore
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Sanitize raw argv into flag NAMES only. Drops values, drops
|
|
63
|
+
* positional args, dedupes. Single-letter flags keep their dash.
|
|
64
|
+
*
|
|
65
|
+
* Examples:
|
|
66
|
+
* `["doctor", "--json"]` → `["--json"]`
|
|
67
|
+
* `["task", "<task>", "--top", "5"]` → `["--top"]`
|
|
68
|
+
* `["--cwd=foo", "--debug"]` → `["--cwd", "--debug"]`
|
|
69
|
+
*/
|
|
70
|
+
export function sanitizeFlagNames(rawArgv) {
|
|
71
|
+
const out = new Set();
|
|
72
|
+
for (let i = 0; i < rawArgv.length; i += 1) {
|
|
73
|
+
const t = rawArgv[i];
|
|
74
|
+
if (t.startsWith('--')) {
|
|
75
|
+
const eq = t.indexOf('=');
|
|
76
|
+
const name = eq === -1 ? t : t.slice(0, eq);
|
|
77
|
+
out.add(name);
|
|
78
|
+
// If the flag took the NEXT positional as its value, skip it.
|
|
79
|
+
if (eq === -1) {
|
|
80
|
+
const next = rawArgv[i + 1];
|
|
81
|
+
if (next !== undefined && !next.startsWith('-'))
|
|
82
|
+
i += 1;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
else if (t.startsWith('-') && t.length > 1) {
|
|
86
|
+
out.add(t);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return [...out].sort();
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Extract the leading command path (top-level + first
|
|
93
|
+
* subcommand if present, no flags) from raw argv.
|
|
94
|
+
*/
|
|
95
|
+
export function extractCommandPath(rawArgv) {
|
|
96
|
+
const tokens = [];
|
|
97
|
+
for (const t of rawArgv) {
|
|
98
|
+
if (t.startsWith('-'))
|
|
99
|
+
break;
|
|
100
|
+
if (tokens.length >= 2)
|
|
101
|
+
break;
|
|
102
|
+
tokens.push(t);
|
|
103
|
+
}
|
|
104
|
+
return tokens.join(' ');
|
|
105
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface IValidationCommandResult {
|
|
2
|
+
command: string;
|
|
3
|
+
passed: boolean;
|
|
4
|
+
note?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IRunValidationLoopOptions {
|
|
7
|
+
cwd: string;
|
|
8
|
+
/** Explicit shell command (--command). Always treated as trusted. */
|
|
9
|
+
explicitCommand?: string;
|
|
10
|
+
/** Verification ids selected via repeated --verification flags. */
|
|
11
|
+
verificationIds: readonly string[];
|
|
12
|
+
/** When true, run every trusted verification command defined in config. */
|
|
13
|
+
allVerifications: boolean;
|
|
14
|
+
/** Pack-contributed commands are never auto-run; this is a future opt-in. */
|
|
15
|
+
allowPackCommands: boolean;
|
|
16
|
+
/** When set, validation report is written here as JSON. */
|
|
17
|
+
reportDir: string | null;
|
|
18
|
+
/** Optional filename for the report (default: timestamped). */
|
|
19
|
+
reportFileName?: string;
|
|
20
|
+
/** Optional callback when a command starts running (for progress output). */
|
|
21
|
+
onCommandStart?: (label: string) => void;
|
|
22
|
+
}
|
|
23
|
+
export interface IRunValidationLoopResult {
|
|
24
|
+
passed: boolean;
|
|
25
|
+
warnings: number;
|
|
26
|
+
commandsRun: IValidationCommandResult[];
|
|
27
|
+
commandsFailed: string[];
|
|
28
|
+
boundaryViolations: number;
|
|
29
|
+
reportPath?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Run a set of verification commands defined in `sharkcraft.config.ts` plus an
|
|
33
|
+
* optional explicit `--command`, then perform a non-fatal boundary scan. Writes
|
|
34
|
+
* a JSON report when `reportDir` is set. Pure side effects: spawns shells the
|
|
35
|
+
* caller asked for; never invents commands from pack contributions.
|
|
36
|
+
*/
|
|
37
|
+
export declare function runValidationLoop(options: IRunValidationLoopOptions): Promise<IRunValidationLoopResult>;
|
|
38
|
+
//# sourceMappingURL=run-validation-loop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-validation-loop.d.ts","sourceRoot":"","sources":["../../src/validation/run-validation-loop.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,yBAAyB;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,qEAAqE;IACrE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mEAAmE;IACnE,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,2EAA2E;IAC3E,gBAAgB,EAAE,OAAO,CAAC;IAC1B,6EAA6E;IAC7E,iBAAiB,EAAE,OAAO,CAAC;IAC3B,2DAA2D;IAC3D,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,+DAA+D;IAC/D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6EAA6E;IAC7E,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,wBAAwB,EAAE,CAAC;IACxC,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,yBAAyB,GACjC,OAAO,CAAC,wBAAwB,CAAC,CAqGnC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { existsSync, mkdirSync, writeFileSync } from 'node:fs';
|
|
2
|
+
import * as nodePath from 'node:path';
|
|
3
|
+
/**
|
|
4
|
+
* Run a set of verification commands defined in `sharkcraft.config.ts` plus an
|
|
5
|
+
* optional explicit `--command`, then perform a non-fatal boundary scan. Writes
|
|
6
|
+
* a JSON report when `reportDir` is set. Pure side effects: spawns shells the
|
|
7
|
+
* caller asked for; never invents commands from pack contributions.
|
|
8
|
+
*/
|
|
9
|
+
export async function runValidationLoop(options) {
|
|
10
|
+
const out = {
|
|
11
|
+
passed: true,
|
|
12
|
+
warnings: 0,
|
|
13
|
+
commandsRun: [],
|
|
14
|
+
commandsFailed: [],
|
|
15
|
+
boundaryViolations: 0,
|
|
16
|
+
};
|
|
17
|
+
const commands = [];
|
|
18
|
+
if (options.explicitCommand) {
|
|
19
|
+
commands.push({ command: options.explicitCommand, trusted: true });
|
|
20
|
+
}
|
|
21
|
+
try {
|
|
22
|
+
const { loadProjectConfig } = await import('@shrkcrft/config');
|
|
23
|
+
const cfgResult = await loadProjectConfig(options.cwd);
|
|
24
|
+
const cfg = cfgResult.ok ? cfgResult.value.config : null;
|
|
25
|
+
const ver = cfg?.verificationCommands ?? [];
|
|
26
|
+
const wantIds = new Set(options.verificationIds);
|
|
27
|
+
for (const v of ver) {
|
|
28
|
+
const shouldRun = options.allVerifications || wantIds.has(v.id);
|
|
29
|
+
if (!shouldRun)
|
|
30
|
+
continue;
|
|
31
|
+
commands.push({ id: v.id, command: v.command, trusted: v.trusted !== false });
|
|
32
|
+
}
|
|
33
|
+
const knownIds = new Set(ver.map((v) => v.id));
|
|
34
|
+
for (const id of options.verificationIds) {
|
|
35
|
+
if (!knownIds.has(id)) {
|
|
36
|
+
out.commandsRun.push({
|
|
37
|
+
command: `--verification ${id}`,
|
|
38
|
+
passed: false,
|
|
39
|
+
note: `unknown verification id "${id}" — define it in sharkcraft.config.ts verificationCommands[]`,
|
|
40
|
+
});
|
|
41
|
+
out.commandsFailed.push(`--verification ${id}`);
|
|
42
|
+
out.passed = false;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
catch {
|
|
47
|
+
// Best-effort: a missing config just means no configured commands.
|
|
48
|
+
}
|
|
49
|
+
void options.allowPackCommands;
|
|
50
|
+
if (commands.length === 0 && options.verificationIds.length === 0 && !options.explicitCommand) {
|
|
51
|
+
out.commandsRun.push({
|
|
52
|
+
command: '(no command supplied)',
|
|
53
|
+
passed: true,
|
|
54
|
+
note: 'pass --command "<shell>", --verification <id>, or --all-verifications. ' +
|
|
55
|
+
'Define verificationCommands[] in sharkcraft.config.ts.',
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
for (const entry of commands) {
|
|
59
|
+
const { spawnSync } = await import('node:child_process');
|
|
60
|
+
const label = entry.id ? `${entry.id}: ${entry.command}` : entry.command;
|
|
61
|
+
options.onCommandStart?.(label);
|
|
62
|
+
const res = spawnSync(entry.command, [], {
|
|
63
|
+
cwd: options.cwd,
|
|
64
|
+
shell: true,
|
|
65
|
+
stdio: ['ignore', 'inherit', 'inherit'],
|
|
66
|
+
});
|
|
67
|
+
const ok = res.status === 0;
|
|
68
|
+
out.commandsRun.push({ command: label, passed: ok });
|
|
69
|
+
if (!ok) {
|
|
70
|
+
out.commandsFailed.push(label);
|
|
71
|
+
out.passed = false;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
// Boundary scan as a non-fatal warning (mirrors `shrk apply --validate`).
|
|
75
|
+
try {
|
|
76
|
+
const { inspectSharkcraft } = await import('@shrkcrft/inspector');
|
|
77
|
+
const { evaluateBoundaries, scanImports } = await import('@shrkcrft/boundaries');
|
|
78
|
+
const inspection = await inspectSharkcraft({ cwd: options.cwd });
|
|
79
|
+
if (inspection.boundaryRegistry.size() > 0) {
|
|
80
|
+
const scan = scanImports({ projectRoot: options.cwd });
|
|
81
|
+
const evalResult = evaluateBoundaries(scan, inspection.boundaryRegistry.list());
|
|
82
|
+
out.boundaryViolations = evalResult.violations.length;
|
|
83
|
+
out.warnings += evalResult.counts.warning;
|
|
84
|
+
if (evalResult.counts.error > 0)
|
|
85
|
+
out.passed = false;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
catch {
|
|
89
|
+
// boundary scan is best-effort.
|
|
90
|
+
}
|
|
91
|
+
if (options.reportDir) {
|
|
92
|
+
if (!existsSync(options.reportDir))
|
|
93
|
+
mkdirSync(options.reportDir, { recursive: true });
|
|
94
|
+
const filename = options.reportFileName ?? `validate-${new Date().toISOString().replace(/[:.]/g, '-')}.json`;
|
|
95
|
+
const path = nodePath.join(options.reportDir, filename);
|
|
96
|
+
writeFileSync(path, JSON.stringify(out, null, 2) + '\n', 'utf8');
|
|
97
|
+
out.reportPath = path;
|
|
98
|
+
}
|
|
99
|
+
return out;
|
|
100
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@shrkcrft/cli",
|
|
3
|
+
"version": "0.1.0-alpha.2",
|
|
4
|
+
"description": "SharkCraft CLI (`shrk`): structured project intelligence for AI coding agents.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "SharkCraft contributors",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"bun": "./src/index.ts",
|
|
14
|
+
"import": "./dist/index.js",
|
|
15
|
+
"default": "./dist/index.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"bin": {
|
|
19
|
+
"shrk": "./dist/main.js"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"README.md",
|
|
24
|
+
"LICENSE"
|
|
25
|
+
],
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/shrkcrft/sharkcraft.git",
|
|
29
|
+
"directory": "packages/cli"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://github.com/shrkcrft/sharkcraft",
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/shrkcrft/sharkcraft/issues"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"sharkcraft",
|
|
37
|
+
"cli",
|
|
38
|
+
"shrk",
|
|
39
|
+
"ai-agent",
|
|
40
|
+
"mcp"
|
|
41
|
+
],
|
|
42
|
+
"engines": {
|
|
43
|
+
"bun": ">=1.1.0",
|
|
44
|
+
"node": ">=18"
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@shrkcrft/core": "^0.1.0-alpha.2",
|
|
51
|
+
"@shrkcrft/config": "^0.1.0-alpha.2",
|
|
52
|
+
"@shrkcrft/workspace": "^0.1.0-alpha.2",
|
|
53
|
+
"@shrkcrft/knowledge": "^0.1.0-alpha.2",
|
|
54
|
+
"@shrkcrft/context": "^0.1.0-alpha.2",
|
|
55
|
+
"@shrkcrft/rules": "^0.1.0-alpha.2",
|
|
56
|
+
"@shrkcrft/paths": "^0.1.0-alpha.2",
|
|
57
|
+
"@shrkcrft/templates": "^0.1.0-alpha.2",
|
|
58
|
+
"@shrkcrft/plugin-api": "^0.1.0-alpha.2",
|
|
59
|
+
"@shrkcrft/dashboard-api": "^0.1.0-alpha.2",
|
|
60
|
+
"@shrkcrft/pipelines": "^0.1.0-alpha.2",
|
|
61
|
+
"@shrkcrft/presets": "^0.1.0-alpha.2",
|
|
62
|
+
"@shrkcrft/boundaries": "^0.1.0-alpha.2",
|
|
63
|
+
"@shrkcrft/generator": "^0.1.0-alpha.2",
|
|
64
|
+
"@shrkcrft/importer": "^0.1.0-alpha.2",
|
|
65
|
+
"@shrkcrft/inspector": "^0.1.0-alpha.2",
|
|
66
|
+
"@shrkcrft/ai": "^0.1.0-alpha.2",
|
|
67
|
+
"@shrkcrft/shared": "^0.1.0-alpha.2",
|
|
68
|
+
"@shrkcrft/mcp-server": "^0.1.0-alpha.2"
|
|
69
|
+
},
|
|
70
|
+
"publishConfig": {
|
|
71
|
+
"access": "public"
|
|
72
|
+
}
|
|
73
|
+
}
|