@shrkcrft/mcp-server 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/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/main.d.ts +3 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +43 -0
- package/dist/resources/build-resource-list.d.ts +14 -0
- package/dist/resources/build-resource-list.d.ts.map +1 -0
- package/dist/resources/build-resource-list.js +56 -0
- package/dist/resources/index.d.ts +4 -0
- package/dist/resources/index.d.ts.map +1 -0
- package/dist/resources/index.js +3 -0
- package/dist/resources/read-resource.d.ts +16 -0
- package/dist/resources/read-resource.d.ts.map +1 -0
- package/dist/resources/read-resource.js +97 -0
- package/dist/resources/resource-uris.d.ts +14 -0
- package/dist/resources/resource-uris.d.ts.map +1 -0
- package/dist/resources/resource-uris.js +38 -0
- package/dist/server/create-mcp-server.d.ts +55 -0
- package/dist/server/create-mcp-server.d.ts.map +1 -0
- package/dist/server/create-mcp-server.js +203 -0
- package/dist/server/http-transport.d.ts +24 -0
- package/dist/server/http-transport.d.ts.map +1 -0
- package/dist/server/http-transport.js +71 -0
- package/dist/server/mcp-server-config.d.ts +10 -0
- package/dist/server/mcp-server-config.d.ts.map +1 -0
- package/dist/server/mcp-server-config.js +3 -0
- package/dist/server/sharkcraft-watcher.d.ts +18 -0
- package/dist/server/sharkcraft-watcher.d.ts.map +1 -0
- package/dist/server/sharkcraft-watcher.js +60 -0
- package/dist/server/tool-definition.d.ts +56 -0
- package/dist/server/tool-definition.d.ts.map +1 -0
- package/dist/server/tool-definition.js +1 -0
- package/dist/server/tool-input-validators.d.ts +18 -0
- package/dist/server/tool-input-validators.d.ts.map +1 -0
- package/dist/server/tool-input-validators.js +115 -0
- package/dist/tools/acceptance-replay.tool.d.ts +3 -0
- package/dist/tools/acceptance-replay.tool.d.ts.map +1 -0
- package/dist/tools/acceptance-replay.tool.js +53 -0
- package/dist/tools/adoption-checkpoint.tool.d.ts +3 -0
- package/dist/tools/adoption-checkpoint.tool.d.ts.map +1 -0
- package/dist/tools/adoption-checkpoint.tool.js +49 -0
- package/dist/tools/agent-brief-chunks.tool.d.ts +6 -0
- package/dist/tools/agent-brief-chunks.tool.d.ts.map +1 -0
- package/dist/tools/agent-brief-chunks.tool.js +326 -0
- package/dist/tools/agent-brief.tool.d.ts +3 -0
- package/dist/tools/agent-brief.tool.d.ts.map +1 -0
- package/dist/tools/agent-brief.tool.js +44 -0
- package/dist/tools/all-tools.d.ts +3 -0
- package/dist/tools/all-tools.d.ts.map +1 -0
- package/dist/tools/all-tools.js +403 -0
- package/dist/tools/architecture-map.tool.d.ts +3 -0
- package/dist/tools/architecture-map.tool.d.ts.map +1 -0
- package/dist/tools/architecture-map.tool.js +22 -0
- package/dist/tools/area-explore.tool.d.ts +3 -0
- package/dist/tools/area-explore.tool.d.ts.map +1 -0
- package/dist/tools/area-explore.tool.js +32 -0
- package/dist/tools/area-map.tool.d.ts +3 -0
- package/dist/tools/area-map.tool.d.ts.map +1 -0
- package/dist/tools/area-map.tool.js +9 -0
- package/dist/tools/bundle-diff.tool.d.ts +3 -0
- package/dist/tools/bundle-diff.tool.d.ts.map +1 -0
- package/dist/tools/bundle-diff.tool.js +37 -0
- package/dist/tools/bundle-replay.tool.d.ts +3 -0
- package/dist/tools/bundle-replay.tool.d.ts.map +1 -0
- package/dist/tools/bundle-replay.tool.js +19 -0
- package/dist/tools/change-intent.tool.d.ts +3 -0
- package/dist/tools/change-intent.tool.d.ts.map +1 -0
- package/dist/tools/change-intent.tool.js +18 -0
- package/dist/tools/check-boundaries.tool.d.ts +3 -0
- package/dist/tools/check-boundaries.tool.d.ts.map +1 -0
- package/dist/tools/check-boundaries.tool.js +37 -0
- package/dist/tools/ci-permissions-fix.tool.d.ts +3 -0
- package/dist/tools/ci-permissions-fix.tool.d.ts.map +1 -0
- package/dist/tools/ci-permissions-fix.tool.js +32 -0
- package/dist/tools/ci-permissions.tool.d.ts +3 -0
- package/dist/tools/ci-permissions.tool.d.ts.map +1 -0
- package/dist/tools/ci-permissions.tool.js +26 -0
- package/dist/tools/ci-scaffold-preview.tool.d.ts +3 -0
- package/dist/tools/ci-scaffold-preview.tool.d.ts.map +1 -0
- package/dist/tools/ci-scaffold-preview.tool.js +63 -0
- package/dist/tools/command-catalog.tool.d.ts +27 -0
- package/dist/tools/command-catalog.tool.d.ts.map +1 -0
- package/dist/tools/command-catalog.tool.js +147 -0
- package/dist/tools/construct-adoption-diff.tool.d.ts +3 -0
- package/dist/tools/construct-adoption-diff.tool.d.ts.map +1 -0
- package/dist/tools/construct-adoption-diff.tool.js +26 -0
- package/dist/tools/construct-adoption.tool.d.ts +4 -0
- package/dist/tools/construct-adoption.tool.d.ts.map +1 -0
- package/dist/tools/construct-adoption.tool.js +37 -0
- package/dist/tools/construct-inference.tool.d.ts +3 -0
- package/dist/tools/construct-inference.tool.d.ts.map +1 -0
- package/dist/tools/construct-inference.tool.js +26 -0
- package/dist/tools/constructs.tool.d.ts +7 -0
- package/dist/tools/constructs.tool.d.ts.map +1 -0
- package/dist/tools/constructs.tool.js +79 -0
- package/dist/tools/create-generation-plan.tool.d.ts +3 -0
- package/dist/tools/create-generation-plan.tool.d.ts.map +1 -0
- package/dist/tools/create-generation-plan.tool.js +48 -0
- package/dist/tools/create-pipeline-plan.tool.d.ts +3 -0
- package/dist/tools/create-pipeline-plan.tool.d.ts.map +1 -0
- package/dist/tools/create-pipeline-plan.tool.js +41 -0
- package/dist/tools/dashboard-summary.tool.d.ts +3 -0
- package/dist/tools/dashboard-summary.tool.d.ts.map +1 -0
- package/dist/tools/dashboard-summary.tool.js +182 -0
- package/dist/tools/dev-session.tool.d.ts +14 -0
- package/dist/tools/dev-session.tool.d.ts.map +1 -0
- package/dist/tools/dev-session.tool.js +167 -0
- package/dist/tools/diagnostics.tool.d.ts +4 -0
- package/dist/tools/diagnostics.tool.d.ts.map +1 -0
- package/dist/tools/diagnostics.tool.js +40 -0
- package/dist/tools/docs-check.tool.d.ts +4 -0
- package/dist/tools/docs-check.tool.d.ts.map +1 -0
- package/dist/tools/docs-check.tool.js +17 -0
- package/dist/tools/doctor-packs.tool.d.ts +3 -0
- package/dist/tools/doctor-packs.tool.d.ts.map +1 -0
- package/dist/tools/doctor-packs.tool.js +30 -0
- package/dist/tools/explain-generation-target.tool.d.ts +3 -0
- package/dist/tools/explain-generation-target.tool.d.ts.map +1 -0
- package/dist/tools/explain-generation-target.tool.js +49 -0
- package/dist/tools/feature-bundle.tool.d.ts +4 -0
- package/dist/tools/feature-bundle.tool.d.ts.map +1 -0
- package/dist/tools/feature-bundle.tool.js +36 -0
- package/dist/tools/get-action-hints.tool.d.ts +3 -0
- package/dist/tools/get-action-hints.tool.d.ts.map +1 -0
- package/dist/tools/get-action-hints.tool.js +43 -0
- package/dist/tools/get-agent-instructions.tool.d.ts +3 -0
- package/dist/tools/get-agent-instructions.tool.d.ts.map +1 -0
- package/dist/tools/get-agent-instructions.tool.js +9 -0
- package/dist/tools/get-ai-readiness-report.tool.d.ts +3 -0
- package/dist/tools/get-ai-readiness-report.tool.d.ts.map +1 -0
- package/dist/tools/get-ai-readiness-report.tool.js +10 -0
- package/dist/tools/get-architecture-constraints.tool.d.ts +3 -0
- package/dist/tools/get-architecture-constraints.tool.d.ts.map +1 -0
- package/dist/tools/get-architecture-constraints.tool.js +20 -0
- package/dist/tools/get-boundary-rule.tool.d.ts +3 -0
- package/dist/tools/get-boundary-rule.tool.d.ts.map +1 -0
- package/dist/tools/get-boundary-rule.tool.js +22 -0
- package/dist/tools/get-coverage-report.tool.d.ts +3 -0
- package/dist/tools/get-coverage-report.tool.d.ts.map +1 -0
- package/dist/tools/get-coverage-report.tool.js +9 -0
- package/dist/tools/get-current-tasks.tool.d.ts +3 -0
- package/dist/tools/get-current-tasks.tool.d.ts.map +1 -0
- package/dist/tools/get-current-tasks.tool.js +19 -0
- package/dist/tools/get-drift-report.tool.d.ts +3 -0
- package/dist/tools/get-drift-report.tool.d.ts.map +1 -0
- package/dist/tools/get-drift-report.tool.js +16 -0
- package/dist/tools/get-graph-node.tool.d.ts +3 -0
- package/dist/tools/get-graph-node.tool.d.ts.map +1 -0
- package/dist/tools/get-graph-node.tool.js +23 -0
- package/dist/tools/get-import-graph-summary.tool.d.ts +3 -0
- package/dist/tools/get-import-graph-summary.tool.d.ts.map +1 -0
- package/dist/tools/get-import-graph-summary.tool.js +10 -0
- package/dist/tools/get-knowledge-graph.tool.d.ts +3 -0
- package/dist/tools/get-knowledge-graph.tool.d.ts.map +1 -0
- package/dist/tools/get-knowledge-graph.tool.js +10 -0
- package/dist/tools/get-knowledge.tool.d.ts +3 -0
- package/dist/tools/get-knowledge.tool.d.ts.map +1 -0
- package/dist/tools/get-knowledge.tool.js +18 -0
- package/dist/tools/get-pack.tool.d.ts +3 -0
- package/dist/tools/get-pack.tool.d.ts.map +1 -0
- package/dist/tools/get-pack.tool.js +33 -0
- package/dist/tools/get-path-convention.tool.d.ts +3 -0
- package/dist/tools/get-path-convention.tool.d.ts.map +1 -0
- package/dist/tools/get-path-convention.tool.js +17 -0
- package/dist/tools/get-pipeline-context.tool.d.ts +3 -0
- package/dist/tools/get-pipeline-context.tool.d.ts.map +1 -0
- package/dist/tools/get-pipeline-context.tool.js +48 -0
- package/dist/tools/get-pipeline.tool.d.ts +3 -0
- package/dist/tools/get-pipeline.tool.d.ts.map +1 -0
- package/dist/tools/get-pipeline.tool.js +17 -0
- package/dist/tools/get-preset.tool.d.ts +3 -0
- package/dist/tools/get-preset.tool.d.ts.map +1 -0
- package/dist/tools/get-preset.tool.js +22 -0
- package/dist/tools/get-project-overview.tool.d.ts +3 -0
- package/dist/tools/get-project-overview.tool.d.ts.map +1 -0
- package/dist/tools/get-project-overview.tool.js +10 -0
- package/dist/tools/get-relevant-context.tool.d.ts +3 -0
- package/dist/tools/get-relevant-context.tool.d.ts.map +1 -0
- package/dist/tools/get-relevant-context.tool.js +55 -0
- package/dist/tools/get-relevant-rules.tool.d.ts +3 -0
- package/dist/tools/get-relevant-rules.tool.d.ts.map +1 -0
- package/dist/tools/get-relevant-rules.tool.js +37 -0
- package/dist/tools/get-repository-commands.tool.d.ts +3 -0
- package/dist/tools/get-repository-commands.tool.d.ts.map +1 -0
- package/dist/tools/get-repository-commands.tool.js +22 -0
- package/dist/tools/get-review-packet.tool.d.ts +3 -0
- package/dist/tools/get-review-packet.tool.d.ts.map +1 -0
- package/dist/tools/get-review-packet.tool.js +26 -0
- package/dist/tools/get-rule.tool.d.ts +3 -0
- package/dist/tools/get-rule.tool.d.ts.map +1 -0
- package/dist/tools/get-rule.tool.js +18 -0
- package/dist/tools/get-security-guidelines.tool.d.ts +3 -0
- package/dist/tools/get-security-guidelines.tool.d.ts.map +1 -0
- package/dist/tools/get-security-guidelines.tool.js +23 -0
- package/dist/tools/get-sessions.tool.d.ts +4 -0
- package/dist/tools/get-sessions.tool.d.ts.map +1 -0
- package/dist/tools/get-sessions.tool.js +41 -0
- package/dist/tools/get-task-packet.tool.d.ts +3 -0
- package/dist/tools/get-task-packet.tool.d.ts.map +1 -0
- package/dist/tools/get-task-packet.tool.js +48 -0
- package/dist/tools/get-template.tool.d.ts +3 -0
- package/dist/tools/get-template.tool.d.ts.map +1 -0
- package/dist/tools/get-template.tool.js +29 -0
- package/dist/tools/get-testing-guidelines.tool.d.ts +3 -0
- package/dist/tools/get-testing-guidelines.tool.d.ts.map +1 -0
- package/dist/tools/get-testing-guidelines.tool.js +22 -0
- package/dist/tools/graph-why.tool.d.ts +3 -0
- package/dist/tools/graph-why.tool.d.ts.map +1 -0
- package/dist/tools/graph-why.tool.js +25 -0
- package/dist/tools/impact-analysis.tool.d.ts +3 -0
- package/dist/tools/impact-analysis.tool.d.ts.map +1 -0
- package/dist/tools/impact-analysis.tool.js +43 -0
- package/dist/tools/import-graph-analysis.tool.d.ts +3 -0
- package/dist/tools/import-graph-analysis.tool.d.ts.map +1 -0
- package/dist/tools/import-graph-analysis.tool.js +9 -0
- package/dist/tools/index.d.ts +10 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +9 -0
- package/dist/tools/inspect-packs.tool.d.ts +3 -0
- package/dist/tools/inspect-packs.tool.d.ts.map +1 -0
- package/dist/tools/inspect-packs.tool.js +31 -0
- package/dist/tools/inspect-sharkcraft-setup.tool.d.ts +3 -0
- package/dist/tools/inspect-sharkcraft-setup.tool.d.ts.map +1 -0
- package/dist/tools/inspect-sharkcraft-setup.tool.js +10 -0
- package/dist/tools/inspect-workspace.tool.d.ts +3 -0
- package/dist/tools/inspect-workspace.tool.d.ts.map +1 -0
- package/dist/tools/inspect-workspace.tool.js +23 -0
- package/dist/tools/install-smoke.tool.d.ts +3 -0
- package/dist/tools/install-smoke.tool.d.ts.map +1 -0
- package/dist/tools/install-smoke.tool.js +15 -0
- package/dist/tools/list-boundary-rules.tool.d.ts +3 -0
- package/dist/tools/list-boundary-rules.tool.d.ts.map +1 -0
- package/dist/tools/list-boundary-rules.tool.js +20 -0
- package/dist/tools/list-knowledge.tool.d.ts +3 -0
- package/dist/tools/list-knowledge.tool.d.ts.map +1 -0
- package/dist/tools/list-knowledge.tool.js +46 -0
- package/dist/tools/list-packs.tool.d.ts +3 -0
- package/dist/tools/list-packs.tool.d.ts.map +1 -0
- package/dist/tools/list-packs.tool.js +19 -0
- package/dist/tools/list-path-conventions.tool.d.ts +3 -0
- package/dist/tools/list-path-conventions.tool.d.ts.map +1 -0
- package/dist/tools/list-path-conventions.tool.js +20 -0
- package/dist/tools/list-pipelines.tool.d.ts +3 -0
- package/dist/tools/list-pipelines.tool.d.ts.map +1 -0
- package/dist/tools/list-pipelines.tool.js +19 -0
- package/dist/tools/list-presets.tool.d.ts +3 -0
- package/dist/tools/list-presets.tool.d.ts.map +1 -0
- package/dist/tools/list-presets.tool.js +26 -0
- package/dist/tools/list-rules.tool.d.ts +3 -0
- package/dist/tools/list-rules.tool.d.ts.map +1 -0
- package/dist/tools/list-rules.tool.js +19 -0
- package/dist/tools/list-templates.tool.d.ts +3 -0
- package/dist/tools/list-templates.tool.d.ts.map +1 -0
- package/dist/tools/list-templates.tool.js +19 -0
- package/dist/tools/onboard-adoption-diff.tool.d.ts +3 -0
- package/dist/tools/onboard-adoption-diff.tool.d.ts.map +1 -0
- package/dist/tools/onboard-adoption-diff.tool.js +29 -0
- package/dist/tools/onboarding.tool.d.ts +7 -0
- package/dist/tools/onboarding.tool.d.ts.map +1 -0
- package/dist/tools/onboarding.tool.js +253 -0
- package/dist/tools/orchestration.tool.d.ts +4 -0
- package/dist/tools/orchestration.tool.d.ts.map +1 -0
- package/dist/tools/orchestration.tool.js +57 -0
- package/dist/tools/ownership.tool.d.ts +4 -0
- package/dist/tools/ownership.tool.d.ts.map +1 -0
- package/dist/tools/ownership.tool.js +31 -0
- package/dist/tools/pack-compat.tool.d.ts +3 -0
- package/dist/tools/pack-compat.tool.d.ts.map +1 -0
- package/dist/tools/pack-compat.tool.js +27 -0
- package/dist/tools/pack-doctor-release.tool.d.ts +3 -0
- package/dist/tools/pack-doctor-release.tool.d.ts.map +1 -0
- package/dist/tools/pack-doctor-release.tool.js +21 -0
- package/dist/tools/pack-release-check.tool.d.ts +3 -0
- package/dist/tools/pack-release-check.tool.d.ts.map +1 -0
- package/dist/tools/pack-release-check.tool.js +17 -0
- package/dist/tools/playbook-script.tool.d.ts +3 -0
- package/dist/tools/playbook-script.tool.d.ts.map +1 -0
- package/dist/tools/playbook-script.tool.js +25 -0
- package/dist/tools/playbooks.tool.d.ts +5 -0
- package/dist/tools/playbooks.tool.d.ts.map +1 -0
- package/dist/tools/playbooks.tool.js +43 -0
- package/dist/tools/policy-report.tool.d.ts +3 -0
- package/dist/tools/policy-report.tool.d.ts.map +1 -0
- package/dist/tools/policy-report.tool.js +10 -0
- package/dist/tools/preview-knowledge-propose.tool.d.ts +3 -0
- package/dist/tools/preview-knowledge-propose.tool.d.ts.map +1 -0
- package/dist/tools/preview-knowledge-propose.tool.js +44 -0
- package/dist/tools/preview-preset-application.tool.d.ts +3 -0
- package/dist/tools/preview-preset-application.tool.d.ts.map +1 -0
- package/dist/tools/preview-preset-application.tool.js +64 -0
- package/dist/tools/quality-baseline-diff.tool.d.ts +3 -0
- package/dist/tools/quality-baseline-diff.tool.d.ts.map +1 -0
- package/dist/tools/quality-baseline-diff.tool.js +18 -0
- package/dist/tools/quality-baseline.tool.d.ts +3 -0
- package/dist/tools/quality-baseline.tool.d.ts.map +1 -0
- package/dist/tools/quality-baseline.tool.js +22 -0
- package/dist/tools/quality-report.tool.d.ts +3 -0
- package/dist/tools/quality-report.tool.d.ts.map +1 -0
- package/dist/tools/quality-report.tool.js +62 -0
- package/dist/tools/r18-extras.tool.d.ts +15 -0
- package/dist/tools/r18-extras.tool.d.ts.map +1 -0
- package/dist/tools/r18-extras.tool.js +209 -0
- package/dist/tools/r19-extras.tool.d.ts +10 -0
- package/dist/tools/r19-extras.tool.d.ts.map +1 -0
- package/dist/tools/r19-extras.tool.js +117 -0
- package/dist/tools/r20-extras.tool.d.ts +4 -0
- package/dist/tools/r20-extras.tool.d.ts.map +1 -0
- package/dist/tools/r20-extras.tool.js +65 -0
- package/dist/tools/r22-extras.tool.d.ts +4 -0
- package/dist/tools/r22-extras.tool.d.ts.map +1 -0
- package/dist/tools/r22-extras.tool.js +42 -0
- package/dist/tools/r23-extras.tool.d.ts +10 -0
- package/dist/tools/r23-extras.tool.d.ts.map +1 -0
- package/dist/tools/r23-extras.tool.js +239 -0
- package/dist/tools/r24-extras.tool.d.ts +9 -0
- package/dist/tools/r24-extras.tool.d.ts.map +1 -0
- package/dist/tools/r24-extras.tool.js +144 -0
- package/dist/tools/r25-extras.tool.d.ts +11 -0
- package/dist/tools/r25-extras.tool.d.ts.map +1 -0
- package/dist/tools/r25-extras.tool.js +186 -0
- package/dist/tools/r26-ingest.tool.d.ts +10 -0
- package/dist/tools/r26-ingest.tool.d.ts.map +1 -0
- package/dist/tools/r26-ingest.tool.js +174 -0
- package/dist/tools/r26-task-context.tool.d.ts +5 -0
- package/dist/tools/r26-task-context.tool.d.ts.map +1 -0
- package/dist/tools/r26-task-context.tool.js +121 -0
- package/dist/tools/r27-polyglot.tool.d.ts +7 -0
- package/dist/tools/r27-polyglot.tool.d.ts.map +1 -0
- package/dist/tools/r27-polyglot.tool.js +139 -0
- package/dist/tools/r28-changed-boundary.tool.d.ts +3 -0
- package/dist/tools/r28-changed-boundary.tool.d.ts.map +1 -0
- package/dist/tools/r28-changed-boundary.tool.js +77 -0
- package/dist/tools/r28-helpers.tool.d.ts +5 -0
- package/dist/tools/r28-helpers.tool.d.ts.map +1 -0
- package/dist/tools/r28-helpers.tool.js +72 -0
- package/dist/tools/r28-pack-author.tool.d.ts +4 -0
- package/dist/tools/r28-pack-author.tool.d.ts.map +1 -0
- package/dist/tools/r28-pack-author.tool.js +67 -0
- package/dist/tools/r28-plugin-lifecycle.tool.d.ts +4 -0
- package/dist/tools/r28-plugin-lifecycle.tool.d.ts.map +1 -0
- package/dist/tools/r28-plugin-lifecycle.tool.js +94 -0
- package/dist/tools/r28-registry-lifecycle.tool.d.ts +3 -0
- package/dist/tools/r28-registry-lifecycle.tool.d.ts.map +1 -0
- package/dist/tools/r28-registry-lifecycle.tool.js +29 -0
- package/dist/tools/r28-runner-policy.tool.d.ts +3 -0
- package/dist/tools/r28-runner-policy.tool.d.ts.map +1 -0
- package/dist/tools/r28-runner-policy.tool.js +16 -0
- package/dist/tools/r29-doctor-suppressions.tool.d.ts +4 -0
- package/dist/tools/r29-doctor-suppressions.tool.d.ts.map +1 -0
- package/dist/tools/r29-doctor-suppressions.tool.js +66 -0
- package/dist/tools/r29-feedback.tool.d.ts +3 -0
- package/dist/tools/r29-feedback.tool.d.ts.map +1 -0
- package/dist/tools/r29-feedback.tool.js +26 -0
- package/dist/tools/r29-knowledge-rename.tool.d.ts +3 -0
- package/dist/tools/r29-knowledge-rename.tool.d.ts.map +1 -0
- package/dist/tools/r29-knowledge-rename.tool.js +51 -0
- package/dist/tools/r29-knowledge-stale.tool.d.ts +4 -0
- package/dist/tools/r29-knowledge-stale.tool.d.ts.map +1 -0
- package/dist/tools/r29-knowledge-stale.tool.js +68 -0
- package/dist/tools/r29-query-resolver.tool.d.ts +4 -0
- package/dist/tools/r29-query-resolver.tool.d.ts.map +1 -0
- package/dist/tools/r29-query-resolver.tool.js +38 -0
- package/dist/tools/r29-template-drift.tool.d.ts +3 -0
- package/dist/tools/r29-template-drift.tool.d.ts.map +1 -0
- package/dist/tools/r29-template-drift.tool.js +29 -0
- package/dist/tools/r30-feedback-rules.tool.d.ts +4 -0
- package/dist/tools/r30-feedback-rules.tool.d.ts.map +1 -0
- package/dist/tools/r30-feedback-rules.tool.js +47 -0
- package/dist/tools/r30-fuzzy-impact.tool.d.ts +3 -0
- package/dist/tools/r30-fuzzy-impact.tool.d.ts.map +1 -0
- package/dist/tools/r30-fuzzy-impact.tool.js +44 -0
- package/dist/tools/r31-changes-pr-ci.tool.d.ts +5 -0
- package/dist/tools/r31-changes-pr-ci.tool.d.ts.map +1 -0
- package/dist/tools/r31-changes-pr-ci.tool.js +82 -0
- package/dist/tools/r31-command-discovery.tool.d.ts +5 -0
- package/dist/tools/r31-command-discovery.tool.d.ts.map +1 -0
- package/dist/tools/r31-command-discovery.tool.js +126 -0
- package/dist/tools/r31-fix-preview.tool.d.ts +4 -0
- package/dist/tools/r31-fix-preview.tool.d.ts.map +1 -0
- package/dist/tools/r31-fix-preview.tool.js +58 -0
- package/dist/tools/r31-ranker-explain.tool.d.ts +4 -0
- package/dist/tools/r31-ranker-explain.tool.d.ts.map +1 -0
- package/dist/tools/r31-ranker-explain.tool.js +69 -0
- package/dist/tools/r31-scaffold-coverage.tool.d.ts +3 -0
- package/dist/tools/r31-scaffold-coverage.tool.d.ts.map +1 -0
- package/dist/tools/r31-scaffold-coverage.tool.js +31 -0
- package/dist/tools/r32-profiles.tool.d.ts +8 -0
- package/dist/tools/r32-profiles.tool.d.ts.map +1 -0
- package/dist/tools/r32-profiles.tool.js +107 -0
- package/dist/tools/r32-project-coupling.tool.d.ts +3 -0
- package/dist/tools/r32-project-coupling.tool.d.ts.map +1 -0
- package/dist/tools/r32-project-coupling.tool.js +38 -0
- package/dist/tools/r33-agent-task-prep.tool.d.ts +3 -0
- package/dist/tools/r33-agent-task-prep.tool.d.ts.map +1 -0
- package/dist/tools/r33-agent-task-prep.tool.js +34 -0
- package/dist/tools/r33-conventions.tool.d.ts +5 -0
- package/dist/tools/r33-conventions.tool.d.ts.map +1 -0
- package/dist/tools/r33-conventions.tool.js +48 -0
- package/dist/tools/r33-dev-cycle-ci-predict.tool.d.ts +4 -0
- package/dist/tools/r33-dev-cycle-ci-predict.tool.d.ts.map +1 -0
- package/dist/tools/r33-dev-cycle-ci-predict.tool.js +44 -0
- package/dist/tools/r33-pack-contributions.tool.d.ts +4 -0
- package/dist/tools/r33-pack-contributions.tool.d.ts.map +1 -0
- package/dist/tools/r33-pack-contributions.tool.js +42 -0
- package/dist/tools/r33-pack-signature.tool.d.ts +3 -0
- package/dist/tools/r33-pack-signature.tool.d.ts.map +1 -0
- package/dist/tools/r33-pack-signature.tool.js +12 -0
- package/dist/tools/r33-routing-helpers.tool.d.ts +6 -0
- package/dist/tools/r33-routing-helpers.tool.d.ts.map +1 -0
- package/dist/tools/r33-routing-helpers.tool.js +63 -0
- package/dist/tools/r33-self-config.tool.d.ts +4 -0
- package/dist/tools/r33-self-config.tool.d.ts.map +1 -0
- package/dist/tools/r33-self-config.tool.js +20 -0
- package/dist/tools/r34-search-unified.tool.d.ts +3 -0
- package/dist/tools/r34-search-unified.tool.d.ts.map +1 -0
- package/dist/tools/r34-search-unified.tool.js +38 -0
- package/dist/tools/r35-registration-hints.tool.d.ts +5 -0
- package/dist/tools/r35-registration-hints.tool.d.ts.map +1 -0
- package/dist/tools/r35-registration-hints.tool.js +69 -0
- package/dist/tools/r57-specs.tool.d.ts +12 -0
- package/dist/tools/r57-specs.tool.d.ts.map +1 -0
- package/dist/tools/r57-specs.tool.js +115 -0
- package/dist/tools/r58-grounding.tool.d.ts +14 -0
- package/dist/tools/r58-grounding.tool.d.ts.map +1 -0
- package/dist/tools/r58-grounding.tool.js +135 -0
- package/dist/tools/recommend-presets.tool.d.ts +3 -0
- package/dist/tools/recommend-presets.tool.d.ts.map +1 -0
- package/dist/tools/recommend-presets.tool.js +31 -0
- package/dist/tools/release-readiness.tool.d.ts +3 -0
- package/dist/tools/release-readiness.tool.d.ts.map +1 -0
- package/dist/tools/release-readiness.tool.js +28 -0
- package/dist/tools/release-smoke.tool.d.ts +3 -0
- package/dist/tools/release-smoke.tool.d.ts.map +1 -0
- package/dist/tools/release-smoke.tool.js +22 -0
- package/dist/tools/render-template-preview.tool.d.ts +3 -0
- package/dist/tools/render-template-preview.tool.d.ts.map +1 -0
- package/dist/tools/render-template-preview.tool.js +40 -0
- package/dist/tools/report-site-preview.tool.d.ts +3 -0
- package/dist/tools/report-site-preview.tool.d.ts.map +1 -0
- package/dist/tools/report-site-preview.tool.js +28 -0
- package/dist/tools/repository-map.tool.d.ts +3 -0
- package/dist/tools/repository-map.tool.d.ts.map +1 -0
- package/dist/tools/repository-map.tool.js +17 -0
- package/dist/tools/repository-stats.tool.d.ts +3 -0
- package/dist/tools/repository-stats.tool.d.ts.map +1 -0
- package/dist/tools/repository-stats.tool.js +28 -0
- package/dist/tools/review-generation-plan.tool.d.ts +3 -0
- package/dist/tools/review-generation-plan.tool.d.ts.map +1 -0
- package/dist/tools/review-generation-plan.tool.js +24 -0
- package/dist/tools/review-packet-v2.tool.d.ts +3 -0
- package/dist/tools/review-packet-v2.tool.d.ts.map +1 -0
- package/dist/tools/review-packet-v2.tool.js +27 -0
- package/dist/tools/run-agent-test.tool.d.ts +4 -0
- package/dist/tools/run-agent-test.tool.d.ts.map +1 -0
- package/dist/tools/run-agent-test.tool.js +28 -0
- package/dist/tools/run-context-test.tool.d.ts +4 -0
- package/dist/tools/run-context-test.tool.d.ts.map +1 -0
- package/dist/tools/run-context-test.tool.js +28 -0
- package/dist/tools/runtime-reports.tool.d.ts +9 -0
- package/dist/tools/runtime-reports.tool.d.ts.map +1 -0
- package/dist/tools/runtime-reports.tool.js +175 -0
- package/dist/tools/safety-audit.tool.d.ts +3 -0
- package/dist/tools/safety-audit.tool.d.ts.map +1 -0
- package/dist/tools/safety-audit.tool.js +42 -0
- package/dist/tools/scaffold-patterns.tool.d.ts +5 -0
- package/dist/tools/scaffold-patterns.tool.d.ts.map +1 -0
- package/dist/tools/scaffold-patterns.tool.js +59 -0
- package/dist/tools/schema-inventory.tool.d.ts +3 -0
- package/dist/tools/schema-inventory.tool.d.ts.map +1 -0
- package/dist/tools/schema-inventory.tool.js +23 -0
- package/dist/tools/search-knowledge.tool.d.ts +3 -0
- package/dist/tools/search-knowledge.tool.d.ts.map +1 -0
- package/dist/tools/search-knowledge.tool.js +42 -0
- package/dist/tools/search-path-conventions.tool.d.ts +3 -0
- package/dist/tools/search-path-conventions.tool.d.ts.map +1 -0
- package/dist/tools/search-path-conventions.tool.js +30 -0
- package/dist/tools/search-templates.tool.d.ts +3 -0
- package/dist/tools/search-templates.tool.d.ts.map +1 -0
- package/dist/tools/search-templates.tool.js +21 -0
- package/dist/tools/search-tuning-explain.tool.d.ts +3 -0
- package/dist/tools/search-tuning-explain.tool.d.ts.map +1 -0
- package/dist/tools/search-tuning-explain.tool.js +17 -0
- package/dist/tools/search-tuning.tool.d.ts +3 -0
- package/dist/tools/search-tuning.tool.d.ts.map +1 -0
- package/dist/tools/search-tuning.tool.js +10 -0
- package/dist/tools/search.tool.d.ts +3 -0
- package/dist/tools/search.tool.d.ts.map +1 -0
- package/dist/tools/search.tool.js +45 -0
- package/dist/tools/self-audit.tool.d.ts +3 -0
- package/dist/tools/self-audit.tool.d.ts.map +1 -0
- package/dist/tools/self-audit.tool.js +28 -0
- package/dist/tools/start-here.tool.d.ts +4 -0
- package/dist/tools/start-here.tool.d.ts.map +1 -0
- package/dist/tools/start-here.tool.js +27 -0
- package/dist/tools/test-impact.tool.d.ts +3 -0
- package/dist/tools/test-impact.tool.d.ts.map +1 -0
- package/dist/tools/test-impact.tool.js +23 -0
- package/package.json +67 -0
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import { getProjectOverviewTool } from "./get-project-overview.tool.js";
|
|
2
|
+
import { inspectWorkspaceTool } from "./inspect-workspace.tool.js";
|
|
3
|
+
import { listKnowledgeTool } from "./list-knowledge.tool.js";
|
|
4
|
+
import { getKnowledgeTool } from "./get-knowledge.tool.js";
|
|
5
|
+
import { searchKnowledgeTool } from "./search-knowledge.tool.js";
|
|
6
|
+
import { getRelevantContextTool } from "./get-relevant-context.tool.js";
|
|
7
|
+
import { listRulesTool } from "./list-rules.tool.js";
|
|
8
|
+
import { getRuleTool } from "./get-rule.tool.js";
|
|
9
|
+
import { getRelevantRulesTool } from "./get-relevant-rules.tool.js";
|
|
10
|
+
import { listPathConventionsTool } from "./list-path-conventions.tool.js";
|
|
11
|
+
import { getPathConventionTool } from "./get-path-convention.tool.js";
|
|
12
|
+
import { searchPathConventionsTool } from "./search-path-conventions.tool.js";
|
|
13
|
+
import { listTemplatesTool } from "./list-templates.tool.js";
|
|
14
|
+
import { getTemplateTool } from "./get-template.tool.js";
|
|
15
|
+
import { searchTemplatesTool } from "./search-templates.tool.js";
|
|
16
|
+
import { createGenerationPlanTool } from "./create-generation-plan.tool.js";
|
|
17
|
+
import { renderTemplatePreviewTool } from "./render-template-preview.tool.js";
|
|
18
|
+
import { inspectSharkcraftSetupTool } from "./inspect-sharkcraft-setup.tool.js";
|
|
19
|
+
import { getAgentInstructionsTool } from "./get-agent-instructions.tool.js";
|
|
20
|
+
import { getRepositoryCommandsTool } from "./get-repository-commands.tool.js";
|
|
21
|
+
import { getCurrentTasksTool } from "./get-current-tasks.tool.js";
|
|
22
|
+
import { getArchitectureConstraintsTool } from "./get-architecture-constraints.tool.js";
|
|
23
|
+
import { getTestingGuidelinesTool } from "./get-testing-guidelines.tool.js";
|
|
24
|
+
import { getSecurityGuidelinesTool } from "./get-security-guidelines.tool.js";
|
|
25
|
+
import { explainGenerationTargetTool } from "./explain-generation-target.tool.js";
|
|
26
|
+
import { getActionHintsTool } from "./get-action-hints.tool.js";
|
|
27
|
+
import { listPipelinesTool } from "./list-pipelines.tool.js";
|
|
28
|
+
import { getPipelineTool } from "./get-pipeline.tool.js";
|
|
29
|
+
import { getPipelineContextTool } from "./get-pipeline-context.tool.js";
|
|
30
|
+
import { listPacksTool } from "./list-packs.tool.js";
|
|
31
|
+
import { getPackTool } from "./get-pack.tool.js";
|
|
32
|
+
import { inspectPacksTool } from "./inspect-packs.tool.js";
|
|
33
|
+
import { doctorPacksTool } from "./doctor-packs.tool.js";
|
|
34
|
+
import { createPipelinePlanTool } from "./create-pipeline-plan.tool.js";
|
|
35
|
+
import { getAiReadinessReportTool } from "./get-ai-readiness-report.tool.js";
|
|
36
|
+
import { listPresetsTool } from "./list-presets.tool.js";
|
|
37
|
+
import { getPresetTool } from "./get-preset.tool.js";
|
|
38
|
+
import { recommendPresetsTool } from "./recommend-presets.tool.js";
|
|
39
|
+
import { previewPresetApplicationTool } from "./preview-preset-application.tool.js";
|
|
40
|
+
import { getTaskPacketTool } from "./get-task-packet.tool.js";
|
|
41
|
+
import { checkBoundariesTool } from "./check-boundaries.tool.js";
|
|
42
|
+
import { listBoundaryRulesTool } from "./list-boundary-rules.tool.js";
|
|
43
|
+
import { getBoundaryRuleTool } from "./get-boundary-rule.tool.js";
|
|
44
|
+
import { getImportGraphSummaryTool } from "./get-import-graph-summary.tool.js";
|
|
45
|
+
import { getDriftReportTool } from "./get-drift-report.tool.js";
|
|
46
|
+
import { getKnowledgeGraphTool } from "./get-knowledge-graph.tool.js";
|
|
47
|
+
import { getGraphNodeTool } from "./get-graph-node.tool.js";
|
|
48
|
+
import { getCoverageReportTool } from "./get-coverage-report.tool.js";
|
|
49
|
+
import { getReviewPacketTool } from "./get-review-packet.tool.js";
|
|
50
|
+
import { listContextTestsTool, runContextTestTool } from "./run-context-test.tool.js";
|
|
51
|
+
import { listAgentTestsTool, runAgentTestTool } from "./run-agent-test.tool.js";
|
|
52
|
+
import { reviewGenerationPlanTool } from "./review-generation-plan.tool.js";
|
|
53
|
+
import { getSessionsTool, getSessionTool } from "./get-sessions.tool.js";
|
|
54
|
+
import { graphWhyTool } from "./graph-why.tool.js";
|
|
55
|
+
import { createOnboardingAdoptionPlanTool, createOnboardingPlanTool, getOnboardingAdoptionReviewTool, getOnboardingReportPreviewTool, listInferredAssetsTool, } from "./onboarding.tool.js";
|
|
56
|
+
import { getDevNextActionTool, getDevReportTool, getDevSessionTool, getDevStatusTool, listDevSessionsTool, startDevSessionPreviewTool, } from "./dev-session.tool.js";
|
|
57
|
+
import { getCommandCatalogTool } from "./command-catalog.tool.js";
|
|
58
|
+
import { getQualityReportTool } from "./quality-report.tool.js";
|
|
59
|
+
import { getSafetyAuditTool } from "./safety-audit.tool.js";
|
|
60
|
+
import { listScaffoldPatternsTool, getScaffoldPatternTool, getScaffoldPatternDoctorTool, } from "./scaffold-patterns.tool.js";
|
|
61
|
+
import { getAdoptionReportTool, getCoverageReportRenderedTool, getDriftReportRenderedTool, } from "./runtime-reports.tool.js";
|
|
62
|
+
import { getFeatureBundleTool, listFeatureBundlesTool, } from "./feature-bundle.tool.js";
|
|
63
|
+
import { getRepoAreaMapTool } from "./area-map.tool.js";
|
|
64
|
+
import { getSchemaInventoryTool } from "./schema-inventory.tool.js";
|
|
65
|
+
import { exploreAreaTool } from "./area-explore.tool.js";
|
|
66
|
+
import { getAcceptanceReplayTool } from "./acceptance-replay.tool.js";
|
|
67
|
+
import { getImpactAnalysisTool } from "./impact-analysis.tool.js";
|
|
68
|
+
import { getTestImpactTool } from "./test-impact.tool.js";
|
|
69
|
+
import { getOwnershipTool, matchOwnersTool } from "./ownership.tool.js";
|
|
70
|
+
import { getPolicyReportTool } from "./policy-report.tool.js";
|
|
71
|
+
import { getQualityBaselineComparisonTool } from "./quality-baseline.tool.js";
|
|
72
|
+
import { getReviewPacketV2Tool } from "./review-packet-v2.tool.js";
|
|
73
|
+
import { getImportGraphAnalysisTool } from "./import-graph-analysis.tool.js";
|
|
74
|
+
import { getDashboardSummaryTool } from "./dashboard-summary.tool.js";
|
|
75
|
+
import { searchAllTool } from "./search.tool.js";
|
|
76
|
+
import { createAgentBriefTool } from "./agent-brief.tool.js";
|
|
77
|
+
import { getConstructApiTool, getConstructTool, listConstructFacetsTool, listConstructsTool, traceConstructTool, } from "./constructs.tool.js";
|
|
78
|
+
import { getPlaybookTool, listPlaybooksTool, recommendPlaybooksTool, } from "./playbooks.tool.js";
|
|
79
|
+
import { replayBundleApplyTool } from "./bundle-replay.tool.js";
|
|
80
|
+
import { getReportSitePreviewTool } from "./report-site-preview.tool.js";
|
|
81
|
+
import { getQualityBaselineDiffTool } from "./quality-baseline-diff.tool.js";
|
|
82
|
+
import { inferConstructsPreviewTool } from "./construct-inference.tool.js";
|
|
83
|
+
import { previewPlaybookScriptTool } from "./playbook-script.tool.js";
|
|
84
|
+
import { listSearchTuningTool } from "./search-tuning.tool.js";
|
|
85
|
+
import { createConstructAdoptionPlanTool, getConstructAdoptionReviewTool, } from "./construct-adoption.tool.js";
|
|
86
|
+
import { getAgentBriefChunkIndexTool, getAgentBriefChunkTool, startAgentBriefChunksTool, } from "./agent-brief-chunks.tool.js";
|
|
87
|
+
import { explainSearchTuningTool } from "./search-tuning-explain.tool.js";
|
|
88
|
+
import { getPackReleaseCheckTool } from "./pack-release-check.tool.js";
|
|
89
|
+
import { getCiScaffoldPreviewTool } from "./ci-scaffold-preview.tool.js";
|
|
90
|
+
import { getConstructAdoptionDiffTool } from "./construct-adoption-diff.tool.js";
|
|
91
|
+
import { getOnboardAdoptionDiffTool } from "./onboard-adoption-diff.tool.js";
|
|
92
|
+
import { getPackDoctorReleaseTool } from "./pack-doctor-release.tool.js";
|
|
93
|
+
import { getBundleDiffTool } from "./bundle-diff.tool.js";
|
|
94
|
+
import { getCiPermissionsAuditTool } from "./ci-permissions.tool.js";
|
|
95
|
+
import { getReleaseReadinessTool } from "./release-readiness.tool.js";
|
|
96
|
+
import { getAdoptionCheckpointStatusTool } from "./adoption-checkpoint.tool.js";
|
|
97
|
+
import { getPackCompatReportTool } from "./pack-compat.tool.js";
|
|
98
|
+
import { getStartHereTool, getPrimaryCommandsTool } from "./start-here.tool.js";
|
|
99
|
+
import { getRepositoryMapTool } from "./repository-map.tool.js";
|
|
100
|
+
import { getRepositoryStatsTool } from "./repository-stats.tool.js";
|
|
101
|
+
import { getDocsCheckTool, getExamplesCheckTool } from "./docs-check.tool.js";
|
|
102
|
+
import { getCiPermissionsFixPreviewTool } from "./ci-permissions-fix.tool.js";
|
|
103
|
+
import { getReleaseSmokeReportTool } from "./release-smoke.tool.js";
|
|
104
|
+
import { getSelfAuditTool } from "./self-audit.tool.js";
|
|
105
|
+
import { getInstallSmokeReportTool } from "./install-smoke.tool.js";
|
|
106
|
+
import { getDiagnosticForCodeTool, listDiagnosticsTool } from "./diagnostics.tool.js";
|
|
107
|
+
import { classifyChangeIntentTool } from "./change-intent.tool.js";
|
|
108
|
+
import { getArchitectureMapTool } from "./architecture-map.tool.js";
|
|
109
|
+
import { createAgentOrchestrationPlanTool, } from "./orchestration.tool.js";
|
|
110
|
+
import { getRoleViewTool, recommendCommandsTool, suggestDiagnosticTool, getDashboardExportPreviewTool, getPackQualityReportTool, getPackDocsPreviewTool, listReposetTool, getReposetMapTool, getUpgradeAdviceTool, getSafetyAuditDeepTool, getPackageApiReportTool, } from "./r18-extras.tool.js";
|
|
111
|
+
import { getArchitectureViolationsTool, getArchitectureAreaTool, getRiskSignalsTool, getPolicyOverrideAuditTool, getCommandTaxonomyTool, getProductCoherenceTool, } from "./r19-extras.tool.js";
|
|
112
|
+
import { getArchitectureViolationsDiffTool, getTaskRiskReportTool, } from "./r20-extras.tool.js";
|
|
113
|
+
import { createAgentContractTool, createExecutionGraphTool, createHealingPlanTool, getMemoryDiagnosticsTool, getMemoryReportTool, getMemoryRiskTool, listMemoryFilesTool, simulatePlanTool, } from "./r23-extras.tool.js";
|
|
114
|
+
import { createContractApprovalPreviewTool, getContractStatusTool, queryExecutionGraphTool, } from "./r24-extras.tool.js";
|
|
115
|
+
import { getContractTemplateTool, getLanguageCommandsTool, getLanguageProfilesTool, getLanguageReportTool, getMemoryDiffTool, getMemoryDriftTool, getPolyglotDependencyGraphTool, getPolyglotTestImpactTool, listContractTemplatesTool, } from "./r25-extras.tool.js";
|
|
116
|
+
import { getTaskContextTool, understandTaskTool, validateChangeContextTool, } from "./r26-task-context.tool.js";
|
|
117
|
+
import { getLanguageCacheStatusTool, getLanguageProfilesLiveTool, getLanguageRunPlanTool, getPolyglotBoundaryReportTool, } from "./r27-polyglot.tool.js";
|
|
118
|
+
import { getChangedBoundaryReportTool } from "./r28-changed-boundary.tool.js";
|
|
119
|
+
import { previewPluginRemoveTool, previewPluginRenameTool } from "./r28-plugin-lifecycle.tool.js";
|
|
120
|
+
import { getHelperTool, listHelpersTool, previewHelperPlanTool } from "./r28-helpers.tool.js";
|
|
121
|
+
import { getPackDevStatusTool, previewPackTestsTool } from "./r28-pack-author.tool.js";
|
|
122
|
+
import { getRegistryLifecycleReportTool } from "./r28-registry-lifecycle.tool.js";
|
|
123
|
+
import { getLanguageRunnerPolicyTool } from "./r28-runner-policy.tool.js";
|
|
124
|
+
import { getDoctorFilteredReportTool, getDoctorSuppressionsTool, } from "./r29-doctor-suppressions.tool.js";
|
|
125
|
+
import { getKnowledgeReferencesTool, getKnowledgeStaleReportTool, } from "./r29-knowledge-stale.tool.js";
|
|
126
|
+
import { previewKnowledgeRenameTool } from "./r29-knowledge-rename.tool.js";
|
|
127
|
+
import { previewKnowledgeProposeTool } from "./preview-knowledge-propose.tool.js";
|
|
128
|
+
import { getTemplateDriftReportTool } from "./r29-template-drift.tool.js";
|
|
129
|
+
import { resolveQueryTool, traceQueryTool } from "./r29-query-resolver.tool.js";
|
|
130
|
+
import { previewFeedbackActionsTool } from "./r29-feedback.tool.js";
|
|
131
|
+
import { getFuzzyImpactReportTool } from "./r30-fuzzy-impact.tool.js";
|
|
132
|
+
import { listFeedbackRulesTool, getFeedbackRuleTool } from "./r30-feedback-rules.tool.js";
|
|
133
|
+
import { getRankerExplanationTool, getRankerWhyNotTool, } from "./r31-ranker-explain.tool.js";
|
|
134
|
+
import { suggestCommandsTool, searchCommandsTool, explainCommandTool, } from "./r31-command-discovery.tool.js";
|
|
135
|
+
import { previewFixTool, listFixKindsTool, } from "./r31-fix-preview.tool.js";
|
|
136
|
+
import { getScaffoldCoverageReportTool } from "./r31-scaffold-coverage.tool.js";
|
|
137
|
+
import { getChangesSummaryTool, getPrSummaryPreviewTool, getCiIntegrityReportTool, } from "./r31-changes-pr-ci.tool.js";
|
|
138
|
+
import { listProfilesTool, getProfileTool, getProfilesDoctorTool, listPluginLifecycleProfilesTool, getPluginLifecycleProfileTool, getPluginLifecycleProfileDoctorTool, } from "./r32-profiles.tool.js";
|
|
139
|
+
import { getProjectCouplingReportTool } from "./r32-project-coupling.tool.js";
|
|
140
|
+
import { getPackContributionsTool, getPackConflictsTool, } from "./r33-pack-contributions.tool.js";
|
|
141
|
+
import { listConventionsTool, getConventionTool, getConventionsDoctorTool, } from "./r33-conventions.tool.js";
|
|
142
|
+
import { getSelfConfigDoctorTool, getSelfConfigGraphTool, } from "./r33-self-config.tool.js";
|
|
143
|
+
import { listTaskRoutingHintsTool, explainTaskRoutingTool, listHelpersTool as listPackHelpersTool, getHelperTool as getPackHelperTool, } from "./r33-routing-helpers.tool.js";
|
|
144
|
+
import { getDevCyclePlanTool, getCiPredictionTool, } from "./r33-dev-cycle-ci-predict.tool.js";
|
|
145
|
+
import { getPackSignatureStatusTool } from "./r33-pack-signature.tool.js";
|
|
146
|
+
import { prepareAgentTaskTool } from "./r33-agent-task-prep.tool.js";
|
|
147
|
+
import { listRegistrationHintsTool, getRegistrationHintTool, previewRegistrationHintTool, } from "./r35-registration-hints.tool.js";
|
|
148
|
+
import { getSpecTool, getSpecReviewTool, getSpecVerificationTool, listSpecsTool, } from "./r57-specs.tool.js";
|
|
149
|
+
import { checkExternalPlanTool, getGroundingTool, } from "./r58-grounding.tool.js";
|
|
150
|
+
export const ALL_TOOLS = Object.freeze([
|
|
151
|
+
getProjectOverviewTool,
|
|
152
|
+
inspectWorkspaceTool,
|
|
153
|
+
listKnowledgeTool,
|
|
154
|
+
getKnowledgeTool,
|
|
155
|
+
searchKnowledgeTool,
|
|
156
|
+
getRelevantContextTool,
|
|
157
|
+
listRulesTool,
|
|
158
|
+
getRuleTool,
|
|
159
|
+
getRelevantRulesTool,
|
|
160
|
+
listPathConventionsTool,
|
|
161
|
+
getPathConventionTool,
|
|
162
|
+
searchPathConventionsTool,
|
|
163
|
+
listTemplatesTool,
|
|
164
|
+
getTemplateTool,
|
|
165
|
+
searchTemplatesTool,
|
|
166
|
+
createGenerationPlanTool,
|
|
167
|
+
renderTemplatePreviewTool,
|
|
168
|
+
inspectSharkcraftSetupTool,
|
|
169
|
+
getAgentInstructionsTool,
|
|
170
|
+
getRepositoryCommandsTool,
|
|
171
|
+
getCurrentTasksTool,
|
|
172
|
+
getArchitectureConstraintsTool,
|
|
173
|
+
getTestingGuidelinesTool,
|
|
174
|
+
getSecurityGuidelinesTool,
|
|
175
|
+
explainGenerationTargetTool,
|
|
176
|
+
getActionHintsTool,
|
|
177
|
+
listPipelinesTool,
|
|
178
|
+
getPipelineTool,
|
|
179
|
+
getPipelineContextTool,
|
|
180
|
+
listPacksTool,
|
|
181
|
+
getPackTool,
|
|
182
|
+
inspectPacksTool,
|
|
183
|
+
doctorPacksTool,
|
|
184
|
+
createPipelinePlanTool,
|
|
185
|
+
getAiReadinessReportTool,
|
|
186
|
+
listPresetsTool,
|
|
187
|
+
getPresetTool,
|
|
188
|
+
recommendPresetsTool,
|
|
189
|
+
previewPresetApplicationTool,
|
|
190
|
+
getTaskPacketTool,
|
|
191
|
+
checkBoundariesTool,
|
|
192
|
+
listBoundaryRulesTool,
|
|
193
|
+
getBoundaryRuleTool,
|
|
194
|
+
getImportGraphSummaryTool,
|
|
195
|
+
getDriftReportTool,
|
|
196
|
+
getKnowledgeGraphTool,
|
|
197
|
+
getGraphNodeTool,
|
|
198
|
+
getCoverageReportTool,
|
|
199
|
+
getReviewPacketTool,
|
|
200
|
+
listContextTestsTool,
|
|
201
|
+
runContextTestTool,
|
|
202
|
+
listAgentTestsTool,
|
|
203
|
+
runAgentTestTool,
|
|
204
|
+
reviewGenerationPlanTool,
|
|
205
|
+
getSessionsTool,
|
|
206
|
+
getSessionTool,
|
|
207
|
+
graphWhyTool,
|
|
208
|
+
createOnboardingPlanTool,
|
|
209
|
+
getOnboardingReportPreviewTool,
|
|
210
|
+
listInferredAssetsTool,
|
|
211
|
+
createOnboardingAdoptionPlanTool,
|
|
212
|
+
getOnboardingAdoptionReviewTool,
|
|
213
|
+
startDevSessionPreviewTool,
|
|
214
|
+
getDevSessionTool,
|
|
215
|
+
getDevStatusTool,
|
|
216
|
+
getDevNextActionTool,
|
|
217
|
+
getDevReportTool,
|
|
218
|
+
listDevSessionsTool,
|
|
219
|
+
getCommandCatalogTool,
|
|
220
|
+
getQualityReportTool,
|
|
221
|
+
getSafetyAuditTool,
|
|
222
|
+
listScaffoldPatternsTool,
|
|
223
|
+
getScaffoldPatternTool,
|
|
224
|
+
getScaffoldPatternDoctorTool,
|
|
225
|
+
getAdoptionReportTool,
|
|
226
|
+
getCoverageReportRenderedTool,
|
|
227
|
+
getDriftReportRenderedTool,
|
|
228
|
+
listFeatureBundlesTool,
|
|
229
|
+
getFeatureBundleTool,
|
|
230
|
+
getRepoAreaMapTool,
|
|
231
|
+
getSchemaInventoryTool,
|
|
232
|
+
exploreAreaTool,
|
|
233
|
+
getAcceptanceReplayTool,
|
|
234
|
+
getImpactAnalysisTool,
|
|
235
|
+
getTestImpactTool,
|
|
236
|
+
getOwnershipTool,
|
|
237
|
+
matchOwnersTool,
|
|
238
|
+
getPolicyReportTool,
|
|
239
|
+
getQualityBaselineComparisonTool,
|
|
240
|
+
getReviewPacketV2Tool,
|
|
241
|
+
getImportGraphAnalysisTool,
|
|
242
|
+
getDashboardSummaryTool,
|
|
243
|
+
searchAllTool,
|
|
244
|
+
createAgentBriefTool,
|
|
245
|
+
listConstructsTool,
|
|
246
|
+
getConstructTool,
|
|
247
|
+
traceConstructTool,
|
|
248
|
+
getConstructApiTool,
|
|
249
|
+
listConstructFacetsTool,
|
|
250
|
+
listPlaybooksTool,
|
|
251
|
+
getPlaybookTool,
|
|
252
|
+
recommendPlaybooksTool,
|
|
253
|
+
replayBundleApplyTool,
|
|
254
|
+
getReportSitePreviewTool,
|
|
255
|
+
getQualityBaselineDiffTool,
|
|
256
|
+
inferConstructsPreviewTool,
|
|
257
|
+
previewPlaybookScriptTool,
|
|
258
|
+
listSearchTuningTool,
|
|
259
|
+
createConstructAdoptionPlanTool,
|
|
260
|
+
getConstructAdoptionReviewTool,
|
|
261
|
+
startAgentBriefChunksTool,
|
|
262
|
+
getAgentBriefChunkTool,
|
|
263
|
+
getAgentBriefChunkIndexTool,
|
|
264
|
+
explainSearchTuningTool,
|
|
265
|
+
getPackReleaseCheckTool,
|
|
266
|
+
getCiScaffoldPreviewTool,
|
|
267
|
+
getConstructAdoptionDiffTool,
|
|
268
|
+
getOnboardAdoptionDiffTool,
|
|
269
|
+
getPackDoctorReleaseTool,
|
|
270
|
+
getBundleDiffTool,
|
|
271
|
+
getCiPermissionsAuditTool,
|
|
272
|
+
getReleaseReadinessTool,
|
|
273
|
+
getAdoptionCheckpointStatusTool,
|
|
274
|
+
getPackCompatReportTool,
|
|
275
|
+
getStartHereTool,
|
|
276
|
+
getPrimaryCommandsTool,
|
|
277
|
+
getRepositoryMapTool,
|
|
278
|
+
getRepositoryStatsTool,
|
|
279
|
+
getDocsCheckTool,
|
|
280
|
+
getExamplesCheckTool,
|
|
281
|
+
getCiPermissionsFixPreviewTool,
|
|
282
|
+
getReleaseSmokeReportTool,
|
|
283
|
+
getSelfAuditTool,
|
|
284
|
+
getInstallSmokeReportTool,
|
|
285
|
+
getDiagnosticForCodeTool,
|
|
286
|
+
listDiagnosticsTool,
|
|
287
|
+
classifyChangeIntentTool,
|
|
288
|
+
getArchitectureMapTool,
|
|
289
|
+
createAgentOrchestrationPlanTool,
|
|
290
|
+
getRoleViewTool,
|
|
291
|
+
recommendCommandsTool,
|
|
292
|
+
suggestDiagnosticTool,
|
|
293
|
+
getDashboardExportPreviewTool,
|
|
294
|
+
getPackQualityReportTool,
|
|
295
|
+
getPackDocsPreviewTool,
|
|
296
|
+
listReposetTool,
|
|
297
|
+
getReposetMapTool,
|
|
298
|
+
getUpgradeAdviceTool,
|
|
299
|
+
getSafetyAuditDeepTool,
|
|
300
|
+
getPackageApiReportTool,
|
|
301
|
+
getArchitectureViolationsTool,
|
|
302
|
+
getArchitectureAreaTool,
|
|
303
|
+
getRiskSignalsTool,
|
|
304
|
+
getPolicyOverrideAuditTool,
|
|
305
|
+
getCommandTaxonomyTool,
|
|
306
|
+
getProductCoherenceTool,
|
|
307
|
+
getTaskRiskReportTool,
|
|
308
|
+
getArchitectureViolationsDiffTool,
|
|
309
|
+
createAgentContractTool,
|
|
310
|
+
simulatePlanTool,
|
|
311
|
+
getMemoryReportTool,
|
|
312
|
+
getMemoryRiskTool,
|
|
313
|
+
listMemoryFilesTool,
|
|
314
|
+
getMemoryDiagnosticsTool,
|
|
315
|
+
createHealingPlanTool,
|
|
316
|
+
createExecutionGraphTool,
|
|
317
|
+
getContractStatusTool,
|
|
318
|
+
createContractApprovalPreviewTool,
|
|
319
|
+
queryExecutionGraphTool,
|
|
320
|
+
getLanguageProfilesTool,
|
|
321
|
+
getLanguageCommandsTool,
|
|
322
|
+
getPolyglotDependencyGraphTool,
|
|
323
|
+
getPolyglotTestImpactTool,
|
|
324
|
+
getLanguageReportTool,
|
|
325
|
+
getMemoryDiffTool,
|
|
326
|
+
getMemoryDriftTool,
|
|
327
|
+
listContractTemplatesTool,
|
|
328
|
+
getContractTemplateTool,
|
|
329
|
+
understandTaskTool,
|
|
330
|
+
getTaskContextTool,
|
|
331
|
+
validateChangeContextTool,
|
|
332
|
+
getPolyglotBoundaryReportTool,
|
|
333
|
+
getLanguageRunPlanTool,
|
|
334
|
+
getLanguageCacheStatusTool,
|
|
335
|
+
getLanguageProfilesLiveTool,
|
|
336
|
+
getChangedBoundaryReportTool,
|
|
337
|
+
previewPluginRenameTool,
|
|
338
|
+
previewPluginRemoveTool,
|
|
339
|
+
listHelpersTool,
|
|
340
|
+
getHelperTool,
|
|
341
|
+
previewHelperPlanTool,
|
|
342
|
+
getPackDevStatusTool,
|
|
343
|
+
previewPackTestsTool,
|
|
344
|
+
getRegistryLifecycleReportTool,
|
|
345
|
+
getLanguageRunnerPolicyTool,
|
|
346
|
+
getDoctorSuppressionsTool,
|
|
347
|
+
getDoctorFilteredReportTool,
|
|
348
|
+
getKnowledgeStaleReportTool,
|
|
349
|
+
getKnowledgeReferencesTool,
|
|
350
|
+
previewKnowledgeRenameTool,
|
|
351
|
+
previewKnowledgeProposeTool,
|
|
352
|
+
getTemplateDriftReportTool,
|
|
353
|
+
resolveQueryTool,
|
|
354
|
+
traceQueryTool,
|
|
355
|
+
previewFeedbackActionsTool,
|
|
356
|
+
getFuzzyImpactReportTool,
|
|
357
|
+
listFeedbackRulesTool,
|
|
358
|
+
getFeedbackRuleTool,
|
|
359
|
+
getRankerExplanationTool,
|
|
360
|
+
getRankerWhyNotTool,
|
|
361
|
+
suggestCommandsTool,
|
|
362
|
+
searchCommandsTool,
|
|
363
|
+
explainCommandTool,
|
|
364
|
+
previewFixTool,
|
|
365
|
+
listFixKindsTool,
|
|
366
|
+
getScaffoldCoverageReportTool,
|
|
367
|
+
getChangesSummaryTool,
|
|
368
|
+
getPrSummaryPreviewTool,
|
|
369
|
+
getCiIntegrityReportTool,
|
|
370
|
+
listProfilesTool,
|
|
371
|
+
getProfileTool,
|
|
372
|
+
getProfilesDoctorTool,
|
|
373
|
+
listPluginLifecycleProfilesTool,
|
|
374
|
+
getPluginLifecycleProfileTool,
|
|
375
|
+
getPluginLifecycleProfileDoctorTool,
|
|
376
|
+
getProjectCouplingReportTool,
|
|
377
|
+
getPackContributionsTool,
|
|
378
|
+
getPackConflictsTool,
|
|
379
|
+
listConventionsTool,
|
|
380
|
+
getConventionTool,
|
|
381
|
+
getConventionsDoctorTool,
|
|
382
|
+
getSelfConfigDoctorTool,
|
|
383
|
+
getSelfConfigGraphTool,
|
|
384
|
+
listTaskRoutingHintsTool,
|
|
385
|
+
explainTaskRoutingTool,
|
|
386
|
+
listPackHelpersTool,
|
|
387
|
+
getPackHelperTool,
|
|
388
|
+
getDevCyclePlanTool,
|
|
389
|
+
getCiPredictionTool,
|
|
390
|
+
getPackSignatureStatusTool,
|
|
391
|
+
prepareAgentTaskTool,
|
|
392
|
+
listRegistrationHintsTool,
|
|
393
|
+
getRegistrationHintTool,
|
|
394
|
+
previewRegistrationHintTool,
|
|
395
|
+
// spec read-only tools.
|
|
396
|
+
listSpecsTool,
|
|
397
|
+
getSpecTool,
|
|
398
|
+
getSpecReviewTool,
|
|
399
|
+
getSpecVerificationTool,
|
|
400
|
+
// additive grounding read-only tools.
|
|
401
|
+
getGroundingTool,
|
|
402
|
+
checkExternalPlanTool,
|
|
403
|
+
]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"architecture-map.tool.d.ts","sourceRoot":"","sources":["../../src/tools/architecture-map.tool.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEpE,eAAO,MAAM,sBAAsB,EAAE,eAoBpC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { buildArchitectureMap } from '@shrkcrft/inspector';
|
|
2
|
+
export const getArchitectureMapTool = {
|
|
3
|
+
name: 'get_architecture_map',
|
|
4
|
+
description: 'Build an architecture map: layers, constructs, boundary rules, public-API surfaces, tests/ownership hints, risks. Read-only.',
|
|
5
|
+
inputSchema: {
|
|
6
|
+
type: 'object',
|
|
7
|
+
properties: {
|
|
8
|
+
include: { type: 'array', items: { type: 'string' } },
|
|
9
|
+
risk: { type: 'boolean' },
|
|
10
|
+
},
|
|
11
|
+
additionalProperties: false,
|
|
12
|
+
},
|
|
13
|
+
async handler(input, ctx) {
|
|
14
|
+
const include = Array.isArray(input['include']) ? input['include'] : undefined;
|
|
15
|
+
const risk = input['risk'] === true ? true : undefined;
|
|
16
|
+
const map = await buildArchitectureMap(ctx.inspection, {
|
|
17
|
+
...(include ? { include } : {}),
|
|
18
|
+
...(risk !== undefined ? { risk } : {}),
|
|
19
|
+
});
|
|
20
|
+
return { data: map };
|
|
21
|
+
},
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"area-explore.tool.d.ts","sourceRoot":"","sources":["../../src/tools/area-explore.tool.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEpE,eAAO,MAAM,eAAe,EAAE,eAgC7B,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { exploreArea } from '@shrkcrft/inspector';
|
|
2
|
+
export const exploreAreaTool = {
|
|
3
|
+
name: 'explore_area',
|
|
4
|
+
description: 'Explore a directory: area kind, key modules, related commands/MCP tools, tests, conventions, edit risks. Read-only.',
|
|
5
|
+
inputSchema: {
|
|
6
|
+
type: 'object',
|
|
7
|
+
properties: {
|
|
8
|
+
path: { type: 'string', description: 'Directory path relative to project root (or absolute).' },
|
|
9
|
+
topFiles: { type: 'integer', minimum: 1, maximum: 100 },
|
|
10
|
+
},
|
|
11
|
+
required: ['path'],
|
|
12
|
+
additionalProperties: false,
|
|
13
|
+
},
|
|
14
|
+
handler(input, ctx) {
|
|
15
|
+
const p = input.path;
|
|
16
|
+
if (typeof p !== 'string' || p.length === 0) {
|
|
17
|
+
return { data: { error: 'path required' } };
|
|
18
|
+
}
|
|
19
|
+
const top = input.topFiles;
|
|
20
|
+
const pathConventions = ctx.inspection.pathService.list().map((pc) => ({
|
|
21
|
+
id: pc.id,
|
|
22
|
+
pattern: pc.metadata?.path,
|
|
23
|
+
}));
|
|
24
|
+
const report = exploreArea({
|
|
25
|
+
inspection: ctx.inspection,
|
|
26
|
+
path: p,
|
|
27
|
+
pathConventions,
|
|
28
|
+
...(typeof top === 'number' && top > 0 ? { topFiles: top } : {}),
|
|
29
|
+
});
|
|
30
|
+
return { data: report };
|
|
31
|
+
},
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"area-map.tool.d.ts","sourceRoot":"","sources":["../../src/tools/area-map.tool.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEpE,eAAO,MAAM,kBAAkB,EAAE,eAOhC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { buildAreaMap } from '@shrkcrft/inspector';
|
|
2
|
+
export const getRepoAreaMapTool = {
|
|
3
|
+
name: 'get_repo_area_map',
|
|
4
|
+
description: 'Repository area map: paths, areas, file counts, related rules/templates. Read-only.',
|
|
5
|
+
inputSchema: { type: 'object', properties: {}, additionalProperties: false },
|
|
6
|
+
handler(_input, ctx) {
|
|
7
|
+
return { data: buildAreaMap(ctx.inspection) };
|
|
8
|
+
},
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-diff.tool.d.ts","sourceRoot":"","sources":["../../src/tools/bundle-diff.tool.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAIpE,eAAO,MAAM,iBAAiB,EAAE,eAmC/B,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { buildBundleDiffFromIds, renderBundleDiff } from '@shrkcrft/inspector';
|
|
2
|
+
const VALID_FORMATS = new Set(['text', 'markdown', 'html', 'json']);
|
|
3
|
+
export const getBundleDiffTool = {
|
|
4
|
+
name: 'get_bundle_diff',
|
|
5
|
+
description: 'Diff two feature bundles by id (plans, deps, validations, affected files). Read-only.',
|
|
6
|
+
inputSchema: {
|
|
7
|
+
type: 'object',
|
|
8
|
+
required: ['a', 'b'],
|
|
9
|
+
properties: {
|
|
10
|
+
a: { type: 'string' },
|
|
11
|
+
b: { type: 'string' },
|
|
12
|
+
format: { type: 'string', enum: ['text', 'markdown', 'html', 'json'] },
|
|
13
|
+
},
|
|
14
|
+
additionalProperties: false,
|
|
15
|
+
},
|
|
16
|
+
handler(input, ctx) {
|
|
17
|
+
const a = typeof input['a'] === 'string' ? input['a'] : '';
|
|
18
|
+
const b = typeof input['b'] === 'string' ? input['b'] : '';
|
|
19
|
+
const formatRaw = typeof input['format'] === 'string' ? input['format'] : 'json';
|
|
20
|
+
const format = VALID_FORMATS.has(formatRaw) ? formatRaw : 'json';
|
|
21
|
+
const result = buildBundleDiffFromIds(ctx.cwd, a, b);
|
|
22
|
+
if ('error' in result) {
|
|
23
|
+
return {
|
|
24
|
+
isError: true,
|
|
25
|
+
text: result.error,
|
|
26
|
+
error: { code: 'not-found', message: result.error },
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
data: {
|
|
31
|
+
diff: result,
|
|
32
|
+
rendered: renderBundleDiff(result, format),
|
|
33
|
+
format,
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-replay.tool.d.ts","sourceRoot":"","sources":["../../src/tools/bundle-replay.tool.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEpE,eAAO,MAAM,qBAAqB,EAAE,eAiBnC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { replayBundle } from '@shrkcrft/inspector';
|
|
2
|
+
export const replayBundleApplyTool = {
|
|
3
|
+
name: 'replay_bundle_apply',
|
|
4
|
+
description: 'Replay a bundle apply-audit.log and detect tampering / drift. Read-only.',
|
|
5
|
+
inputSchema: {
|
|
6
|
+
type: 'object',
|
|
7
|
+
required: ['bundleId'],
|
|
8
|
+
properties: {
|
|
9
|
+
bundleId: { type: 'string' },
|
|
10
|
+
strict: { type: 'boolean' },
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
handler(input, ctx) {
|
|
14
|
+
const bundleId = String(input['bundleId'] ?? '');
|
|
15
|
+
const strict = Boolean(input['strict']);
|
|
16
|
+
const data = replayBundle(ctx.inspection.projectRoot, bundleId, { strict });
|
|
17
|
+
return { data };
|
|
18
|
+
},
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-intent.tool.d.ts","sourceRoot":"","sources":["../../src/tools/change-intent.tool.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEpE,eAAO,MAAM,wBAAwB,EAAE,eAiBtC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { classifyChangeIntent } from '@shrkcrft/inspector';
|
|
2
|
+
export const classifyChangeIntentTool = {
|
|
3
|
+
name: 'classify_change_intent',
|
|
4
|
+
description: 'Classify the change intent for a task (deterministic, no AI). Returns kind, domains, likely constructs/templates/pipelines, risk hints, requiredHumanReview, suggested first command, and confidence. Read-only.',
|
|
5
|
+
inputSchema: {
|
|
6
|
+
type: 'object',
|
|
7
|
+
properties: {
|
|
8
|
+
task: { type: 'string' },
|
|
9
|
+
},
|
|
10
|
+
required: ['task'],
|
|
11
|
+
additionalProperties: false,
|
|
12
|
+
},
|
|
13
|
+
async handler(input, ctx) {
|
|
14
|
+
const task = typeof input['task'] === 'string' ? input['task'] : '';
|
|
15
|
+
const intent = await classifyChangeIntent(task, ctx.inspection);
|
|
16
|
+
return { data: intent };
|
|
17
|
+
},
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-boundaries.tool.d.ts","sourceRoot":"","sources":["../../src/tools/check-boundaries.tool.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEpE,eAAO,MAAM,mBAAmB,EAAE,eAwCjC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { evaluateBoundaries, scanImports, summarizeImports } from '@shrkcrft/boundaries';
|
|
2
|
+
export const checkBoundariesTool = {
|
|
3
|
+
name: 'check_boundaries',
|
|
4
|
+
description: 'Scan the project imports and evaluate every configured boundary rule. Returns violations + counts + import-graph summary. Read-only.',
|
|
5
|
+
inputSchema: {
|
|
6
|
+
type: 'object',
|
|
7
|
+
properties: {
|
|
8
|
+
ruleId: { type: 'string', description: 'Optional: evaluate only one rule by id.' },
|
|
9
|
+
},
|
|
10
|
+
additionalProperties: false,
|
|
11
|
+
},
|
|
12
|
+
async handler(input, ctx) {
|
|
13
|
+
const ruleId = input.ruleId;
|
|
14
|
+
const rules = ctx.inspection.boundaryRegistry.list();
|
|
15
|
+
if (rules.length === 0) {
|
|
16
|
+
return {
|
|
17
|
+
data: {
|
|
18
|
+
rulesEvaluated: 0,
|
|
19
|
+
violations: [],
|
|
20
|
+
counts: { error: 0, warning: 0, info: 0 },
|
|
21
|
+
note: 'no boundary rules configured',
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
const scan = scanImports({ projectRoot: ctx.inspection.projectRoot });
|
|
26
|
+
const result = evaluateBoundaries(scan, rules, typeof ruleId === 'string' ? { onlyRuleId: ruleId } : {});
|
|
27
|
+
return {
|
|
28
|
+
data: {
|
|
29
|
+
rulesEvaluated: result.rulesEvaluated,
|
|
30
|
+
edgesEvaluated: result.edgesEvaluated,
|
|
31
|
+
counts: result.counts,
|
|
32
|
+
violations: result.violations,
|
|
33
|
+
importGraph: summarizeImports(scan),
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ci-permissions-fix.tool.d.ts","sourceRoot":"","sources":["../../src/tools/ci-permissions-fix.tool.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEpE,eAAO,MAAM,8BAA8B,EAAE,eA6B5C,CAAC"}
|