@diff-review-system/drs 4.0.0-rc.4 → 4.1.0
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/.pi/agents/describe/pr-describer.md +14 -0
- package/.pi/agents/review/unified-reviewer.md +33 -7
- package/.pi/agents/task/agents-md-updater.md +3 -1
- package/.pi/agents/task/review-assistant.md +22 -0
- package/.pi/agents/task/review-issue-fixer.md +18 -1
- package/.pi/agents/visual/pr-explainer.md +205 -0
- package/.pi/workflows/github-pr-describe.yaml +10 -7
- package/.pi/workflows/github-pr-fix-review-issues-stacked.yaml +154 -0
- package/.pi/workflows/github-pr-post-comment.yaml +10 -10
- package/.pi/workflows/github-pr-review-post.yaml +18 -8
- package/.pi/workflows/github-pr-review.yaml +354 -7
- package/.pi/workflows/github-pr-show-changes.yaml +8 -8
- package/.pi/workflows/github-pr-update-agents-md-stacked.yaml +103 -0
- package/.pi/workflows/github-pr-visual-explain.yaml +80 -0
- package/.pi/workflows/gitlab-mr-describe.yaml +8 -5
- package/.pi/workflows/gitlab-mr-fix-review-issues-stacked.yaml +150 -0
- package/.pi/workflows/gitlab-mr-post-comment.yaml +8 -8
- package/.pi/workflows/gitlab-mr-review.yaml +354 -5
- package/.pi/workflows/gitlab-mr-show-changes.yaml +6 -6
- package/.pi/workflows/gitlab-mr-update-agents-md-stacked.yaml +100 -0
- package/.pi/workflows/gitlab-mr-visual-explain.yaml +78 -0
- package/.pi/workflows/local-fix-review-issues.yaml +89 -13
- package/.pi/workflows/local-review.yaml +15 -2
- package/.pi/workflows/local-update-agents-md.yaml +1 -1
- package/.pi/workflows/local-visual-explain.yaml +76 -0
- package/.pi/workflows/release-changelog-finalize.yaml +47 -0
- package/.pi/workflows/tag-changelog-update.yaml +4 -4
- package/.pi/workflows/temporal-control-smoke.yaml +63 -0
- package/README.md +130 -27
- package/dist/ci/runner.d.ts.map +1 -1
- package/dist/ci/runner.js +3 -1
- package/dist/ci/runner.js.map +1 -1
- package/dist/cli/index.js +258 -9
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/init.d.ts +6 -1
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +29 -10
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/run-agent.d.ts +4 -7
- package/dist/cli/run-agent.d.ts.map +1 -1
- package/dist/cli/run-agent.js +4 -0
- package/dist/cli/run-agent.js.map +1 -1
- package/dist/cli/workflow-executor-selection.d.ts +3 -0
- package/dist/cli/workflow-executor-selection.d.ts.map +1 -0
- package/dist/cli/workflow-executor-selection.js +15 -0
- package/dist/cli/workflow-executor-selection.js.map +1 -0
- package/dist/cli/workflow.d.ts +76 -26
- package/dist/cli/workflow.d.ts.map +1 -1
- package/dist/cli/workflow.js +1624 -192
- package/dist/cli/workflow.js.map +1 -1
- package/dist/github/client.d.ts +12 -0
- package/dist/github/client.d.ts.map +1 -1
- package/dist/github/client.js +27 -0
- package/dist/github/client.js.map +1 -1
- package/dist/github/platform-adapter.d.ts +6 -1
- package/dist/github/platform-adapter.d.ts.map +1 -1
- package/dist/github/platform-adapter.js +84 -8
- package/dist/github/platform-adapter.js.map +1 -1
- package/dist/gitlab/client.d.ts +11 -0
- package/dist/gitlab/client.d.ts.map +1 -1
- package/dist/gitlab/client.js +11 -0
- package/dist/gitlab/client.js.map +1 -1
- package/dist/gitlab/platform-adapter.d.ts +3 -1
- package/dist/gitlab/platform-adapter.d.ts.map +1 -1
- package/dist/gitlab/platform-adapter.js +32 -1
- package/dist/gitlab/platform-adapter.js.map +1 -1
- package/dist/lib/agent-result.d.ts +8 -0
- package/dist/lib/agent-result.d.ts.map +1 -0
- package/dist/lib/agent-result.js +2 -0
- package/dist/lib/agent-result.js.map +1 -0
- package/dist/lib/comment-formatter.d.ts +8 -0
- package/dist/lib/comment-formatter.d.ts.map +1 -1
- package/dist/lib/comment-formatter.js +12 -4
- package/dist/lib/comment-formatter.js.map +1 -1
- package/dist/lib/comment-poster.d.ts.map +1 -1
- package/dist/lib/comment-poster.js +28 -1
- package/dist/lib/comment-poster.js.map +1 -1
- package/dist/lib/config.d.ts +71 -11
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/config.js +163 -28
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/context-compression.d.ts +10 -0
- package/dist/lib/context-compression.d.ts.map +1 -1
- package/dist/lib/context-compression.js +101 -13
- package/dist/lib/context-compression.js.map +1 -1
- package/dist/lib/context-loader.d.ts +2 -1
- package/dist/lib/context-loader.d.ts.map +1 -1
- package/dist/lib/context-loader.js +70 -1
- package/dist/lib/context-loader.js.map +1 -1
- package/dist/lib/describe-core.d.ts.map +1 -1
- package/dist/lib/describe-core.js +3 -2
- package/dist/lib/describe-core.js.map +1 -1
- package/dist/lib/diff-lines.d.ts +9 -0
- package/dist/lib/diff-lines.d.ts.map +1 -1
- package/dist/lib/diff-lines.js +17 -9
- package/dist/lib/diff-lines.js.map +1 -1
- package/dist/lib/exit.js +4 -4
- package/dist/lib/exit.js.map +1 -1
- package/dist/lib/html-artifact.d.ts +14 -0
- package/dist/lib/html-artifact.d.ts.map +1 -0
- package/dist/lib/html-artifact.js +59 -0
- package/dist/lib/html-artifact.js.map +1 -0
- package/dist/lib/issue-parser.js +3 -3
- package/dist/lib/issue-parser.js.map +1 -1
- package/dist/lib/json-output-schema.d.ts +70 -0
- package/dist/lib/json-output-schema.d.ts.map +1 -1
- package/dist/lib/json-output-schema.js +40 -0
- package/dist/lib/json-output-schema.js.map +1 -1
- package/dist/lib/output-paths.d.ts +0 -1
- package/dist/lib/output-paths.d.ts.map +1 -1
- package/dist/lib/output-paths.js +0 -1
- package/dist/lib/output-paths.js.map +1 -1
- package/dist/lib/platform-client.d.ts +26 -0
- package/dist/lib/platform-client.d.ts.map +1 -1
- package/dist/lib/project-setup.d.ts +10 -0
- package/dist/lib/project-setup.d.ts.map +1 -0
- package/dist/lib/project-setup.js +25 -0
- package/dist/lib/project-setup.js.map +1 -0
- package/dist/lib/review-artifact-store.d.ts +16 -0
- package/dist/lib/review-artifact-store.d.ts.map +1 -0
- package/dist/lib/review-artifact-store.js +84 -0
- package/dist/lib/review-artifact-store.js.map +1 -0
- package/dist/lib/review-artifact.d.ts +69 -0
- package/dist/lib/review-artifact.d.ts.map +1 -0
- package/dist/lib/review-artifact.js +172 -0
- package/dist/lib/review-artifact.js.map +1 -0
- package/dist/lib/review-core.d.ts +7 -4
- package/dist/lib/review-core.d.ts.map +1 -1
- package/dist/lib/review-core.js +82 -165
- package/dist/lib/review-core.js.map +1 -1
- package/dist/lib/review-orchestrator.d.ts +23 -0
- package/dist/lib/review-orchestrator.d.ts.map +1 -1
- package/dist/lib/review-orchestrator.js +20 -13
- package/dist/lib/review-orchestrator.js.map +1 -1
- package/dist/lib/review-parser.d.ts.map +1 -1
- package/dist/lib/review-parser.js +15 -12
- package/dist/lib/review-parser.js.map +1 -1
- package/dist/lib/review-usage.d.ts +4 -0
- package/dist/lib/review-usage.d.ts.map +1 -1
- package/dist/lib/review-usage.js +25 -0
- package/dist/lib/review-usage.js.map +1 -1
- package/dist/lib/skills.d.ts +16 -0
- package/dist/lib/skills.d.ts.map +1 -0
- package/dist/lib/skills.js +140 -0
- package/dist/lib/skills.js.map +1 -0
- package/dist/lib/trace-collector.d.ts +105 -0
- package/dist/lib/trace-collector.d.ts.map +1 -0
- package/dist/lib/trace-collector.js +255 -0
- package/dist/lib/trace-collector.js.map +1 -0
- package/dist/lib/trace-html.d.ts +3 -0
- package/dist/lib/trace-html.d.ts.map +1 -0
- package/dist/lib/trace-html.js +349 -0
- package/dist/lib/trace-html.js.map +1 -0
- package/dist/lib/workflow/artifact-store.d.ts +71 -0
- package/dist/lib/workflow/artifact-store.d.ts.map +1 -0
- package/dist/lib/workflow/artifact-store.js +121 -0
- package/dist/lib/workflow/artifact-store.js.map +1 -0
- package/dist/lib/workflow/compiled-plan.d.ts +87 -0
- package/dist/lib/workflow/compiled-plan.d.ts.map +1 -0
- package/dist/lib/workflow/compiled-plan.js +62 -0
- package/dist/lib/workflow/compiled-plan.js.map +1 -0
- package/dist/lib/workflow/executor.d.ts +18 -0
- package/dist/lib/workflow/executor.d.ts.map +1 -0
- package/dist/lib/workflow/executor.js +2 -0
- package/dist/lib/workflow/executor.js.map +1 -0
- package/dist/lib/workflow/graph.d.ts +30 -0
- package/dist/lib/workflow/graph.d.ts.map +1 -0
- package/dist/lib/workflow/graph.js +139 -0
- package/dist/lib/workflow/graph.js.map +1 -0
- package/dist/lib/workflow/input.d.ts +4 -0
- package/dist/lib/workflow/input.d.ts.map +1 -0
- package/dist/lib/workflow/input.js +4 -0
- package/dist/lib/workflow/input.js.map +1 -0
- package/dist/lib/workflow/node-executor.d.ts +19 -0
- package/dist/lib/workflow/node-executor.d.ts.map +1 -0
- package/dist/lib/workflow/node-executor.js +2 -0
- package/dist/lib/workflow/node-executor.js.map +1 -0
- package/dist/lib/workflow/planning.d.ts +51 -0
- package/dist/lib/workflow/planning.d.ts.map +1 -0
- package/dist/lib/workflow/planning.js +814 -0
- package/dist/lib/workflow/planning.js.map +1 -0
- package/dist/lib/workflow/types.d.ts +66 -0
- package/dist/lib/workflow/types.d.ts.map +1 -0
- package/dist/lib/workflow/types.js +2 -0
- package/dist/lib/workflow/types.js.map +1 -0
- package/dist/lib/workflow-artifacts.d.ts +54 -0
- package/dist/lib/workflow-artifacts.d.ts.map +1 -0
- package/dist/lib/workflow-artifacts.js +150 -0
- package/dist/lib/workflow-artifacts.js.map +1 -0
- package/dist/lib/write-json-output.d.ts.map +1 -1
- package/dist/lib/write-json-output.js +3 -8
- package/dist/lib/write-json-output.js.map +1 -1
- package/dist/pi/sdk.d.ts.map +1 -1
- package/dist/pi/sdk.js +576 -8
- package/dist/pi/sdk.js.map +1 -1
- package/dist/runtime/agent-loader.js +2 -2
- package/dist/runtime/built-in-paths.d.ts +1 -0
- package/dist/runtime/built-in-paths.d.ts.map +1 -1
- package/dist/runtime/built-in-paths.js +7 -0
- package/dist/runtime/built-in-paths.js.map +1 -1
- package/dist/runtime/client.d.ts +2 -0
- package/dist/runtime/client.d.ts.map +1 -1
- package/dist/runtime/client.js +11 -5
- package/dist/runtime/client.js.map +1 -1
- package/dist/temporal/activities.d.ts +26 -0
- package/dist/temporal/activities.d.ts.map +1 -0
- package/dist/temporal/activities.js +219 -0
- package/dist/temporal/activities.js.map +1 -0
- package/dist/temporal/config.d.ts +4 -0
- package/dist/temporal/config.d.ts.map +1 -0
- package/dist/temporal/config.js +36 -0
- package/dist/temporal/config.js.map +1 -0
- package/dist/temporal/executor.d.ts +7 -0
- package/dist/temporal/executor.d.ts.map +1 -0
- package/dist/temporal/executor.js +233 -0
- package/dist/temporal/executor.js.map +1 -0
- package/dist/temporal/retry-policy.d.ts +28 -0
- package/dist/temporal/retry-policy.d.ts.map +1 -0
- package/dist/temporal/retry-policy.js +56 -0
- package/dist/temporal/retry-policy.js.map +1 -0
- package/dist/temporal/types.d.ts +86 -0
- package/dist/temporal/types.d.ts.map +1 -0
- package/dist/temporal/types.js +2 -0
- package/dist/temporal/types.js.map +1 -0
- package/dist/temporal/worker.d.ts +3 -0
- package/dist/temporal/worker.d.ts.map +1 -0
- package/dist/temporal/worker.js +18 -0
- package/dist/temporal/worker.js.map +1 -0
- package/dist/temporal/workflow-id.d.ts +27 -0
- package/dist/temporal/workflow-id.d.ts.map +1 -0
- package/dist/temporal/workflow-id.js +53 -0
- package/dist/temporal/workflow-id.js.map +1 -0
- package/dist/temporal/workflows.d.ts +6 -0
- package/dist/temporal/workflows.d.ts.map +1 -0
- package/dist/temporal/workflows.js +342 -0
- package/dist/temporal/workflows.js.map +1 -0
- package/package.json +26 -15
- package/.pi/workflows/github-pr-describe-post.yaml +0 -24
- package/.pi/workflows/gitlab-mr-describe-post.yaml +0 -22
- package/.pi/workflows/gitlab-mr-review-code-quality.yaml +0 -31
- package/.pi/workflows/gitlab-mr-review-post-code-quality.yaml +0 -40
- package/.pi/workflows/gitlab-mr-review-post.yaml +0 -30
- package/.pi/workflows/local-staged-review.yaml +0 -17
- package/dist/cli/run-agent.test.d.ts +0 -2
- package/dist/cli/run-agent.test.d.ts.map +0 -1
- package/dist/cli/run-agent.test.js +0 -204
- package/dist/cli/run-agent.test.js.map +0 -1
- package/dist/cli/workflow.test.d.ts +0 -2
- package/dist/cli/workflow.test.d.ts.map +0 -1
- package/dist/cli/workflow.test.js +0 -1410
- package/dist/cli/workflow.test.js.map +0 -1
- package/dist/github/client.test.d.ts +0 -2
- package/dist/github/client.test.d.ts.map +0 -1
- package/dist/github/client.test.js +0 -206
- package/dist/github/client.test.js.map +0 -1
- package/dist/github/platform-adapter.test.d.ts +0 -2
- package/dist/github/platform-adapter.test.d.ts.map +0 -1
- package/dist/github/platform-adapter.test.js +0 -40
- package/dist/github/platform-adapter.test.js.map +0 -1
- package/dist/gitlab/diff-parser.test.d.ts +0 -2
- package/dist/gitlab/diff-parser.test.d.ts.map +0 -1
- package/dist/gitlab/diff-parser.test.js +0 -315
- package/dist/gitlab/diff-parser.test.js.map +0 -1
- package/dist/gitlab/platform-adapter.test.d.ts +0 -2
- package/dist/gitlab/platform-adapter.test.d.ts.map +0 -1
- package/dist/gitlab/platform-adapter.test.js +0 -21
- package/dist/gitlab/platform-adapter.test.js.map +0 -1
- package/dist/index.test.d.ts +0 -2
- package/dist/index.test.d.ts.map +0 -1
- package/dist/index.test.js +0 -7
- package/dist/index.test.js.map +0 -1
- package/dist/lib/code-quality-report.test.d.ts +0 -2
- package/dist/lib/code-quality-report.test.d.ts.map +0 -1
- package/dist/lib/code-quality-report.test.js +0 -327
- package/dist/lib/code-quality-report.test.js.map +0 -1
- package/dist/lib/comment-formatter.test.d.ts +0 -2
- package/dist/lib/comment-formatter.test.d.ts.map +0 -1
- package/dist/lib/comment-formatter.test.js +0 -727
- package/dist/lib/comment-formatter.test.js.map +0 -1
- package/dist/lib/comment-manager.test.d.ts +0 -2
- package/dist/lib/comment-manager.test.d.ts.map +0 -1
- package/dist/lib/comment-manager.test.js +0 -680
- package/dist/lib/comment-manager.test.js.map +0 -1
- package/dist/lib/comment-poster.test.d.ts +0 -5
- package/dist/lib/comment-poster.test.d.ts.map +0 -1
- package/dist/lib/comment-poster.test.js +0 -255
- package/dist/lib/comment-poster.test.js.map +0 -1
- package/dist/lib/config-model-overrides.test.d.ts +0 -2
- package/dist/lib/config-model-overrides.test.d.ts.map +0 -1
- package/dist/lib/config-model-overrides.test.js +0 -218
- package/dist/lib/config-model-overrides.test.js.map +0 -1
- package/dist/lib/config.test.d.ts +0 -2
- package/dist/lib/config.test.d.ts.map +0 -1
- package/dist/lib/config.test.js +0 -353
- package/dist/lib/config.test.js.map +0 -1
- package/dist/lib/context-compression.test.d.ts +0 -2
- package/dist/lib/context-compression.test.d.ts.map +0 -1
- package/dist/lib/context-compression.test.js +0 -337
- package/dist/lib/context-compression.test.js.map +0 -1
- package/dist/lib/context-loader.test.d.ts +0 -2
- package/dist/lib/context-loader.test.d.ts.map +0 -1
- package/dist/lib/context-loader.test.js +0 -212
- package/dist/lib/context-loader.test.js.map +0 -1
- package/dist/lib/cursor-fix-link.test.d.ts +0 -2
- package/dist/lib/cursor-fix-link.test.d.ts.map +0 -1
- package/dist/lib/cursor-fix-link.test.js +0 -70
- package/dist/lib/cursor-fix-link.test.js.map +0 -1
- package/dist/lib/describe-core.test.d.ts +0 -2
- package/dist/lib/describe-core.test.d.ts.map +0 -1
- package/dist/lib/describe-core.test.js +0 -208
- package/dist/lib/describe-core.test.js.map +0 -1
- package/dist/lib/describe-output-path.test.d.ts +0 -2
- package/dist/lib/describe-output-path.test.d.ts.map +0 -1
- package/dist/lib/describe-output-path.test.js +0 -51
- package/dist/lib/describe-output-path.test.js.map +0 -1
- package/dist/lib/describe-parser.test.d.ts +0 -2
- package/dist/lib/describe-parser.test.d.ts.map +0 -1
- package/dist/lib/describe-parser.test.js +0 -282
- package/dist/lib/describe-parser.test.js.map +0 -1
- package/dist/lib/description-executor.test.d.ts +0 -2
- package/dist/lib/description-executor.test.d.ts.map +0 -1
- package/dist/lib/description-executor.test.js +0 -135
- package/dist/lib/description-executor.test.js.map +0 -1
- package/dist/lib/description-formatter.test.d.ts +0 -2
- package/dist/lib/description-formatter.test.d.ts.map +0 -1
- package/dist/lib/description-formatter.test.js +0 -57
- package/dist/lib/description-formatter.test.js.map +0 -1
- package/dist/lib/diff-lines.test.d.ts +0 -2
- package/dist/lib/diff-lines.test.d.ts.map +0 -1
- package/dist/lib/diff-lines.test.js +0 -13
- package/dist/lib/diff-lines.test.js.map +0 -1
- package/dist/lib/diff-parser.test.d.ts +0 -2
- package/dist/lib/diff-parser.test.d.ts.map +0 -1
- package/dist/lib/diff-parser.test.js +0 -335
- package/dist/lib/diff-parser.test.js.map +0 -1
- package/dist/lib/error-comment-poster.test.d.ts +0 -2
- package/dist/lib/error-comment-poster.test.d.ts.map +0 -1
- package/dist/lib/error-comment-poster.test.js +0 -128
- package/dist/lib/error-comment-poster.test.js.map +0 -1
- package/dist/lib/exit.test.d.ts +0 -2
- package/dist/lib/exit.test.d.ts.map +0 -1
- package/dist/lib/exit.test.js +0 -120
- package/dist/lib/exit.test.js.map +0 -1
- package/dist/lib/issue-parser.test.d.ts +0 -2
- package/dist/lib/issue-parser.test.d.ts.map +0 -1
- package/dist/lib/issue-parser.test.js +0 -281
- package/dist/lib/issue-parser.test.js.map +0 -1
- package/dist/lib/json-output-schema.test.d.ts +0 -2
- package/dist/lib/json-output-schema.test.d.ts.map +0 -1
- package/dist/lib/json-output-schema.test.js +0 -92
- package/dist/lib/json-output-schema.test.js.map +0 -1
- package/dist/lib/json-output.test.d.ts +0 -2
- package/dist/lib/json-output.test.d.ts.map +0 -1
- package/dist/lib/json-output.test.js +0 -141
- package/dist/lib/json-output.test.js.map +0 -1
- package/dist/lib/logger.test.d.ts +0 -2
- package/dist/lib/logger.test.d.ts.map +0 -1
- package/dist/lib/logger.test.js +0 -324
- package/dist/lib/logger.test.js.map +0 -1
- package/dist/lib/position-validator.test.d.ts +0 -2
- package/dist/lib/position-validator.test.d.ts.map +0 -1
- package/dist/lib/position-validator.test.js +0 -128
- package/dist/lib/position-validator.test.js.map +0 -1
- package/dist/lib/prompt-budget.test.d.ts +0 -2
- package/dist/lib/prompt-budget.test.d.ts.map +0 -1
- package/dist/lib/prompt-budget.test.js +0 -55
- package/dist/lib/prompt-budget.test.js.map +0 -1
- package/dist/lib/repository-validator.test.d.ts +0 -5
- package/dist/lib/repository-validator.test.d.ts.map +0 -1
- package/dist/lib/repository-validator.test.js +0 -341
- package/dist/lib/repository-validator.test.js.map +0 -1
- package/dist/lib/review-core.test.d.ts +0 -2
- package/dist/lib/review-core.test.d.ts.map +0 -1
- package/dist/lib/review-core.test.js +0 -614
- package/dist/lib/review-core.test.js.map +0 -1
- package/dist/lib/review-orchestrator.test.d.ts +0 -2
- package/dist/lib/review-orchestrator.test.d.ts.map +0 -1
- package/dist/lib/review-orchestrator.test.js +0 -552
- package/dist/lib/review-orchestrator.test.js.map +0 -1
- package/dist/lib/review-output-path.test.d.ts +0 -2
- package/dist/lib/review-output-path.test.d.ts.map +0 -1
- package/dist/lib/review-output-path.test.js +0 -83
- package/dist/lib/review-output-path.test.js.map +0 -1
- package/dist/lib/review-parser.test.d.ts +0 -2
- package/dist/lib/review-parser.test.d.ts.map +0 -1
- package/dist/lib/review-parser.test.js +0 -130
- package/dist/lib/review-parser.test.js.map +0 -1
- package/dist/lib/review-usage.test.d.ts +0 -2
- package/dist/lib/review-usage.test.d.ts.map +0 -1
- package/dist/lib/review-usage.test.js +0 -83
- package/dist/lib/review-usage.test.js.map +0 -1
- package/dist/lib/unified-review-executor.d.ts +0 -58
- package/dist/lib/unified-review-executor.d.ts.map +0 -1
- package/dist/lib/unified-review-executor.js +0 -201
- package/dist/lib/unified-review-executor.js.map +0 -1
- package/dist/lib/unified-review-executor.test.d.ts +0 -5
- package/dist/lib/unified-review-executor.test.d.ts.map +0 -1
- package/dist/lib/unified-review-executor.test.js +0 -472
- package/dist/lib/unified-review-executor.test.js.map +0 -1
- package/dist/lib/write-json-output.test.d.ts +0 -2
- package/dist/lib/write-json-output.test.d.ts.map +0 -1
- package/dist/lib/write-json-output.test.js +0 -259
- package/dist/lib/write-json-output.test.js.map +0 -1
- package/dist/pi/sdk.test.d.ts +0 -2
- package/dist/pi/sdk.test.d.ts.map +0 -1
- package/dist/pi/sdk.test.js +0 -488
- package/dist/pi/sdk.test.js.map +0 -1
- package/dist/runtime/agent-loader.test.d.ts +0 -2
- package/dist/runtime/agent-loader.test.d.ts.map +0 -1
- package/dist/runtime/agent-loader.test.js +0 -277
- package/dist/runtime/agent-loader.test.js.map +0 -1
- package/dist/runtime/client.test.d.ts +0 -2
- package/dist/runtime/client.test.d.ts.map +0 -1
- package/dist/runtime/client.test.js +0 -772
- package/dist/runtime/client.test.js.map +0 -1
- package/dist/runtime/path-config.test.d.ts +0 -2
- package/dist/runtime/path-config.test.d.ts.map +0 -1
- package/dist/runtime/path-config.test.js +0 -112
- package/dist/runtime/path-config.test.js.map +0 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
name: gitlab-mr-visual-explain
|
|
2
|
+
description: Generate a visual HTML explainer artifact for a GitLab merge request
|
|
3
|
+
inputs:
|
|
4
|
+
project: ''
|
|
5
|
+
mr: ''
|
|
6
|
+
outputPath: '.drs/visual-mr-explainer.html'
|
|
7
|
+
slides: 'false'
|
|
8
|
+
output: visualExplainer
|
|
9
|
+
nodes:
|
|
10
|
+
change:
|
|
11
|
+
action: change-source
|
|
12
|
+
with:
|
|
13
|
+
type: gitlab-mr
|
|
14
|
+
project: '{{inputs.project}}'
|
|
15
|
+
mr: '{{inputs.mr}}'
|
|
16
|
+
output: change
|
|
17
|
+
|
|
18
|
+
review-artifact:
|
|
19
|
+
action: artifact-exists
|
|
20
|
+
needs:
|
|
21
|
+
- change
|
|
22
|
+
with:
|
|
23
|
+
kind: review
|
|
24
|
+
source: change
|
|
25
|
+
output: reviewArtifactStatus
|
|
26
|
+
|
|
27
|
+
load-review-artifact:
|
|
28
|
+
action: load-artifact
|
|
29
|
+
needs:
|
|
30
|
+
- review-artifact
|
|
31
|
+
if: artifacts.reviewArtifactStatus.exists == true
|
|
32
|
+
with:
|
|
33
|
+
kind: review
|
|
34
|
+
source: change
|
|
35
|
+
output: reviewArtifact
|
|
36
|
+
|
|
37
|
+
visual-with-review:
|
|
38
|
+
agent: visual/pr-explainer
|
|
39
|
+
needs:
|
|
40
|
+
- change
|
|
41
|
+
- load-review-artifact
|
|
42
|
+
if: artifacts.reviewArtifactStatus.exists == true
|
|
43
|
+
input: |
|
|
44
|
+
Generate a visual MR explainer HTML artifact.
|
|
45
|
+
|
|
46
|
+
Output path: {{inputs.outputPath}}
|
|
47
|
+
Slide mode: {{inputs.slides}}
|
|
48
|
+
|
|
49
|
+
Use the supplied DRS change-source context. If important file diffs are omitted or summarized, use git_diff for those files before explaining them.
|
|
50
|
+
|
|
51
|
+
DRS change-source context:
|
|
52
|
+
{{artifacts.change}}
|
|
53
|
+
|
|
54
|
+
Current DRS review artifact path: {{artifacts.reviewArtifact.path}}
|
|
55
|
+
|
|
56
|
+
Use the read_artifact tool with this path to include confirmed DRS findings in a clearly labeled section. Do not assume the review JSON is in this prompt.
|
|
57
|
+
writes: '{{inputs.outputPath}}'
|
|
58
|
+
output: visualExplainer
|
|
59
|
+
|
|
60
|
+
visual:
|
|
61
|
+
agent: visual/pr-explainer
|
|
62
|
+
needs:
|
|
63
|
+
- review-artifact
|
|
64
|
+
if: artifacts.reviewArtifactStatus.exists == false
|
|
65
|
+
input: |
|
|
66
|
+
Generate a visual MR explainer HTML artifact.
|
|
67
|
+
|
|
68
|
+
Output path: {{inputs.outputPath}}
|
|
69
|
+
Slide mode: {{inputs.slides}}
|
|
70
|
+
|
|
71
|
+
Use the supplied DRS change-source context. If important file diffs are omitted or summarized, use git_diff for those files before explaining them.
|
|
72
|
+
|
|
73
|
+
DRS change-source context:
|
|
74
|
+
{{artifacts.change}}
|
|
75
|
+
|
|
76
|
+
No current DRS review artifact exists for this MR. Label the artifact as an MR explainer with no DRS findings included.
|
|
77
|
+
writes: '{{inputs.outputPath}}'
|
|
78
|
+
output: visualExplainer
|
|
@@ -1,27 +1,62 @@
|
|
|
1
1
|
name: local-fix-review-issues
|
|
2
|
-
description: Fix actionable issues from a saved DRS review
|
|
2
|
+
description: Fix actionable issues from a saved local DRS review artifact with verification loop
|
|
3
|
+
metadata:
|
|
4
|
+
kind: review
|
|
5
|
+
tags: [review, fix, local]
|
|
6
|
+
review:
|
|
7
|
+
source: local
|
|
8
|
+
diff: true
|
|
9
|
+
issues: true
|
|
3
10
|
inputs:
|
|
4
|
-
review:
|
|
11
|
+
review:
|
|
12
|
+
type: string
|
|
13
|
+
description: Saved review artifact id; empty loads the latest artifact for the current scope
|
|
14
|
+
staged:
|
|
15
|
+
type: boolean
|
|
16
|
+
default: false
|
|
17
|
+
fixSeverity:
|
|
18
|
+
type: enum
|
|
19
|
+
values: [critical, high, medium, low]
|
|
20
|
+
default: high
|
|
21
|
+
fixMaxIterations:
|
|
22
|
+
type: number
|
|
23
|
+
default: 3
|
|
24
|
+
output: reviewArtifact
|
|
5
25
|
nodes:
|
|
6
26
|
change:
|
|
7
27
|
action: change-source
|
|
8
28
|
with:
|
|
9
29
|
type: local
|
|
10
|
-
staged:
|
|
30
|
+
staged: '{{inputs.staged}}'
|
|
11
31
|
output: change
|
|
12
32
|
|
|
33
|
+
load-review-artifact:
|
|
34
|
+
action: load-artifact
|
|
35
|
+
needs:
|
|
36
|
+
- change
|
|
37
|
+
with:
|
|
38
|
+
kind: review
|
|
39
|
+
source: change
|
|
40
|
+
id: '{{inputs.review}}'
|
|
41
|
+
output: reviewArtifact
|
|
42
|
+
|
|
13
43
|
fix-issues:
|
|
14
44
|
agent: task/review-issue-fixer
|
|
15
45
|
needs:
|
|
16
|
-
-
|
|
46
|
+
- load-review-artifact
|
|
17
47
|
input: |
|
|
18
|
-
Fix actionable issues from this DRS review
|
|
48
|
+
Fix actionable issues from this saved local DRS review artifact.
|
|
49
|
+
|
|
50
|
+
Only fix findings at or above severity {{inputs.fixSeverity}} unless a lower-severity issue is directly required by such a fix.
|
|
51
|
+
|
|
52
|
+
Review artifact path: {{artifacts.reviewArtifact.path}}
|
|
19
53
|
|
|
20
|
-
|
|
21
|
-
{{inputs.review}}
|
|
54
|
+
Use the read_artifact tool with this path to get the finding manifest, then pull full details for specific findings by id. Do not assume the review JSON is in this prompt — call the tool.
|
|
22
55
|
|
|
23
|
-
Current local change source:
|
|
24
|
-
{{artifacts.change}}
|
|
56
|
+
Current local change source files (read these as needed):
|
|
57
|
+
{{artifacts.change.files}}
|
|
58
|
+
|
|
59
|
+
Use the drs_check tool after making changes to run configured validation checks before returning.
|
|
25
60
|
output: fixes
|
|
26
61
|
|
|
27
62
|
final-change:
|
|
@@ -30,13 +65,54 @@ nodes:
|
|
|
30
65
|
- fix-issues
|
|
31
66
|
with:
|
|
32
67
|
type: local
|
|
33
|
-
staged:
|
|
68
|
+
staged: '{{inputs.staged}}'
|
|
34
69
|
output: finalChange
|
|
35
70
|
|
|
36
|
-
|
|
71
|
+
verification-change:
|
|
72
|
+
action: change-source
|
|
73
|
+
needs:
|
|
74
|
+
- final-change
|
|
75
|
+
with:
|
|
76
|
+
type: fix-verification
|
|
77
|
+
source: change
|
|
78
|
+
fixChange: finalChange
|
|
79
|
+
output: verificationChange
|
|
80
|
+
|
|
81
|
+
re-review:
|
|
37
82
|
action: review
|
|
38
83
|
needs:
|
|
84
|
+
- verification-change
|
|
85
|
+
with:
|
|
86
|
+
source: verificationChange
|
|
87
|
+
reviewArtifact: reviewArtifact
|
|
88
|
+
severity: '{{inputs.fixSeverity}}'
|
|
89
|
+
output: reReview
|
|
90
|
+
|
|
91
|
+
verify-fix:
|
|
92
|
+
action: verify-fix
|
|
93
|
+
needs:
|
|
94
|
+
- re-review
|
|
95
|
+
- load-review-artifact
|
|
39
96
|
- final-change
|
|
40
97
|
with:
|
|
41
|
-
|
|
42
|
-
|
|
98
|
+
artifact: reviewArtifact
|
|
99
|
+
review: reReview
|
|
100
|
+
fixChange: finalChange
|
|
101
|
+
severity: '{{inputs.fixSeverity}}'
|
|
102
|
+
minIssues: '1'
|
|
103
|
+
output: reviewArtifact
|
|
104
|
+
|
|
105
|
+
fix-loop:
|
|
106
|
+
control: loop
|
|
107
|
+
needs:
|
|
108
|
+
- verify-fix
|
|
109
|
+
if: artifacts.verify-fix.shouldContinue == true
|
|
110
|
+
target: fix-issues
|
|
111
|
+
exit: done
|
|
112
|
+
maxIterations: '{{inputs.fixMaxIterations}}'
|
|
113
|
+
onMaxIterations: exit
|
|
114
|
+
|
|
115
|
+
done:
|
|
116
|
+
control: end
|
|
117
|
+
needs:
|
|
118
|
+
- fix-loop
|
|
@@ -1,11 +1,24 @@
|
|
|
1
1
|
name: local-review
|
|
2
|
-
description: Review local
|
|
2
|
+
description: Review local git diff
|
|
3
|
+
metadata:
|
|
4
|
+
kind: review
|
|
5
|
+
tags: [review, local]
|
|
6
|
+
review:
|
|
7
|
+
source: local
|
|
8
|
+
diff: true
|
|
9
|
+
issues: true
|
|
10
|
+
inputs:
|
|
11
|
+
staged:
|
|
12
|
+
type: boolean
|
|
13
|
+
default: false
|
|
14
|
+
description: Review staged changes instead of unstaged changes
|
|
15
|
+
output: review
|
|
3
16
|
nodes:
|
|
4
17
|
change:
|
|
5
18
|
action: change-source
|
|
6
19
|
with:
|
|
7
20
|
type: local
|
|
8
|
-
staged:
|
|
21
|
+
staged: '{{inputs.staged}}'
|
|
9
22
|
output: change
|
|
10
23
|
|
|
11
24
|
review:
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
name: local-visual-explain
|
|
2
|
+
description: Generate a visual HTML explainer artifact for a local git diff
|
|
3
|
+
inputs:
|
|
4
|
+
staged: 'false'
|
|
5
|
+
outputPath: '.drs/visual-local-explainer.html'
|
|
6
|
+
slides: 'false'
|
|
7
|
+
output: visualExplainer
|
|
8
|
+
nodes:
|
|
9
|
+
change:
|
|
10
|
+
action: change-source
|
|
11
|
+
with:
|
|
12
|
+
type: local
|
|
13
|
+
staged: '{{inputs.staged}}'
|
|
14
|
+
output: change
|
|
15
|
+
|
|
16
|
+
review-artifact:
|
|
17
|
+
action: artifact-exists
|
|
18
|
+
needs:
|
|
19
|
+
- change
|
|
20
|
+
with:
|
|
21
|
+
kind: review
|
|
22
|
+
source: change
|
|
23
|
+
output: reviewArtifactStatus
|
|
24
|
+
|
|
25
|
+
load-review-artifact:
|
|
26
|
+
action: load-artifact
|
|
27
|
+
needs:
|
|
28
|
+
- review-artifact
|
|
29
|
+
if: artifacts.reviewArtifactStatus.exists == true
|
|
30
|
+
with:
|
|
31
|
+
kind: review
|
|
32
|
+
source: change
|
|
33
|
+
output: reviewArtifact
|
|
34
|
+
|
|
35
|
+
visual-with-review:
|
|
36
|
+
agent: visual/pr-explainer
|
|
37
|
+
needs:
|
|
38
|
+
- change
|
|
39
|
+
- load-review-artifact
|
|
40
|
+
if: artifacts.reviewArtifactStatus.exists == true
|
|
41
|
+
input: |
|
|
42
|
+
Generate a visual local-diff explainer HTML artifact.
|
|
43
|
+
|
|
44
|
+
Output path: {{inputs.outputPath}}
|
|
45
|
+
Slide mode: {{inputs.slides}}
|
|
46
|
+
|
|
47
|
+
Use the supplied DRS change-source context. If important file diffs are omitted or summarized, use git_diff for those files before explaining them.
|
|
48
|
+
|
|
49
|
+
DRS change-source context:
|
|
50
|
+
{{artifacts.change}}
|
|
51
|
+
|
|
52
|
+
Current DRS review artifact path: {{artifacts.reviewArtifact.path}}
|
|
53
|
+
|
|
54
|
+
Use the read_artifact tool with this path to include confirmed DRS findings in a clearly labeled section. Do not assume the review JSON is in this prompt.
|
|
55
|
+
writes: '{{inputs.outputPath}}'
|
|
56
|
+
output: visualExplainer
|
|
57
|
+
|
|
58
|
+
visual:
|
|
59
|
+
agent: visual/pr-explainer
|
|
60
|
+
needs:
|
|
61
|
+
- review-artifact
|
|
62
|
+
if: artifacts.reviewArtifactStatus.exists == false
|
|
63
|
+
input: |
|
|
64
|
+
Generate a visual local-diff explainer HTML artifact.
|
|
65
|
+
|
|
66
|
+
Output path: {{inputs.outputPath}}
|
|
67
|
+
Slide mode: {{inputs.slides}}
|
|
68
|
+
|
|
69
|
+
Use the supplied DRS change-source context. If important file diffs are omitted or summarized, use git_diff for those files before explaining them.
|
|
70
|
+
|
|
71
|
+
DRS change-source context:
|
|
72
|
+
{{artifacts.change}}
|
|
73
|
+
|
|
74
|
+
No current DRS review artifact exists for this diff. Label the artifact as a diff explainer with no DRS findings included.
|
|
75
|
+
writes: '{{inputs.outputPath}}'
|
|
76
|
+
output: visualExplainer
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
name: release-changelog-finalize
|
|
2
|
+
description: Finalize CHANGELOG.md for a release from an explicit git range
|
|
3
|
+
inputs:
|
|
4
|
+
from:
|
|
5
|
+
type: string
|
|
6
|
+
description: Base ref or previous release tag
|
|
7
|
+
required: true
|
|
8
|
+
to:
|
|
9
|
+
type: string
|
|
10
|
+
default: HEAD
|
|
11
|
+
description: Release candidate ref, final release commit, or HEAD
|
|
12
|
+
version:
|
|
13
|
+
type: string
|
|
14
|
+
description: Release version without leading v, for example 4.0.0
|
|
15
|
+
required: true
|
|
16
|
+
date:
|
|
17
|
+
type: string
|
|
18
|
+
description: Release date in YYYY-MM-DD format
|
|
19
|
+
required: true
|
|
20
|
+
output: changelog
|
|
21
|
+
nodes:
|
|
22
|
+
release-change:
|
|
23
|
+
action: change-source
|
|
24
|
+
with:
|
|
25
|
+
type: git-range
|
|
26
|
+
from: '{{inputs.from}}'
|
|
27
|
+
to: '{{inputs.to}}'
|
|
28
|
+
output: change
|
|
29
|
+
|
|
30
|
+
finalize-changelog:
|
|
31
|
+
agent: task/changelog-updater
|
|
32
|
+
needs:
|
|
33
|
+
- release-change
|
|
34
|
+
input: |
|
|
35
|
+
Finalize CHANGELOG.md for release {{inputs.version}} dated {{inputs.date}}.
|
|
36
|
+
|
|
37
|
+
Use this git range change source as the authoritative release diff:
|
|
38
|
+
{{artifacts.change}}
|
|
39
|
+
|
|
40
|
+
Requirements:
|
|
41
|
+
- Ensure the file starts with `# Changelog` followed by the standard introduction.
|
|
42
|
+
- Move release-worthy `## Unreleased` entries into `## {{inputs.version}} - {{inputs.date}}`.
|
|
43
|
+
- Create `## {{inputs.version}} - {{inputs.date}}` directly above the previous released version if it does not exist.
|
|
44
|
+
- Keep `## Unreleased` above the release section only if there are remaining unreleased entries; otherwise remove empty duplicate/unneeded headings.
|
|
45
|
+
- Preserve existing older release sections.
|
|
46
|
+
- Do not create git tags, publish packages, or edit files other than CHANGELOG.md.
|
|
47
|
+
output: changelog
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
name: tag-changelog-update
|
|
2
2
|
description: Update CHANGELOG.md from changes between two git refs or tags
|
|
3
3
|
inputs:
|
|
4
|
-
from:
|
|
5
|
-
to:
|
|
4
|
+
from: ''
|
|
5
|
+
to: ''
|
|
6
6
|
nodes:
|
|
7
7
|
release-change:
|
|
8
8
|
action: change-source
|
|
9
9
|
with:
|
|
10
10
|
type: git-range
|
|
11
|
-
from:
|
|
12
|
-
to:
|
|
11
|
+
from: '{{inputs.from}}'
|
|
12
|
+
to: '{{inputs.to}}'
|
|
13
13
|
output: change
|
|
14
14
|
|
|
15
15
|
update-changelog:
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
name: temporal-control-smoke
|
|
2
|
+
description: Smoke test Temporal control-flow execution with safe local write actions
|
|
3
|
+
inputs:
|
|
4
|
+
mode:
|
|
5
|
+
type: enum
|
|
6
|
+
values:
|
|
7
|
+
- loop
|
|
8
|
+
- pass
|
|
9
|
+
- end
|
|
10
|
+
default: loop
|
|
11
|
+
description: 'Control route to exercise: loop, passThrough, or end'
|
|
12
|
+
output: final
|
|
13
|
+
nodes:
|
|
14
|
+
start:
|
|
15
|
+
action: write
|
|
16
|
+
input: '{{inputs.mode}}'
|
|
17
|
+
writes: .drs/artifacts/temporal-smoke/start.txt
|
|
18
|
+
output: mode
|
|
19
|
+
|
|
20
|
+
route:
|
|
21
|
+
control: switch
|
|
22
|
+
needs:
|
|
23
|
+
- start
|
|
24
|
+
value: '{{artifacts.mode}}'
|
|
25
|
+
cases:
|
|
26
|
+
loop: loop-body
|
|
27
|
+
end: stop
|
|
28
|
+
default: pass
|
|
29
|
+
|
|
30
|
+
loop-body:
|
|
31
|
+
action: write
|
|
32
|
+
needs:
|
|
33
|
+
- route
|
|
34
|
+
input: 'loop body for {{artifacts.mode}}'
|
|
35
|
+
writes: .drs/artifacts/temporal-smoke/loop-body.txt
|
|
36
|
+
output: loopBody
|
|
37
|
+
|
|
38
|
+
again:
|
|
39
|
+
control: loop
|
|
40
|
+
needs:
|
|
41
|
+
- loop-body
|
|
42
|
+
if: 'true'
|
|
43
|
+
target: loop-body
|
|
44
|
+
exit: done
|
|
45
|
+
maxIterations: 2
|
|
46
|
+
onMaxIterations: exit
|
|
47
|
+
|
|
48
|
+
pass:
|
|
49
|
+
control: passThrough
|
|
50
|
+
needs:
|
|
51
|
+
- route
|
|
52
|
+
target: done
|
|
53
|
+
|
|
54
|
+
stop:
|
|
55
|
+
control: end
|
|
56
|
+
needs:
|
|
57
|
+
- route
|
|
58
|
+
|
|
59
|
+
done:
|
|
60
|
+
action: write
|
|
61
|
+
input: 'temporal control smoke complete via {{inputs.mode}}'
|
|
62
|
+
writes: .drs/artifacts/temporal-smoke/done.txt
|
|
63
|
+
output: final
|