p-dev-harness 0.3.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/LICENSE +21 -0
- package/README.md +53 -0
- package/bin/p-dev.js +2 -0
- package/dist/agents/cursor-provider.d.ts +3 -0
- package/dist/agents/cursor-provider.d.ts.map +1 -0
- package/dist/agents/cursor-provider.js +60 -0
- package/dist/agents/cursor-provider.js.map +1 -0
- package/dist/agents/index.d.ts +12 -0
- package/dist/agents/index.d.ts.map +1 -0
- package/dist/agents/index.js +24 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/provider.d.ts +4 -0
- package/dist/agents/provider.d.ts.map +1 -0
- package/dist/agents/provider.js +5 -0
- package/dist/agents/provider.js.map +1 -0
- package/dist/agents/types.d.ts +59 -0
- package/dist/agents/types.d.ts.map +1 -0
- package/dist/agents/types.js +2 -0
- package/dist/agents/types.js.map +1 -0
- package/dist/artifacts/events.d.ts +8 -0
- package/dist/artifacts/events.d.ts.map +1 -0
- package/dist/artifacts/events.js +23 -0
- package/dist/artifacts/events.js.map +1 -0
- package/dist/artifacts/manifest-fields.d.ts +8 -0
- package/dist/artifacts/manifest-fields.d.ts.map +1 -0
- package/dist/artifacts/manifest-fields.js +10 -0
- package/dist/artifacts/manifest-fields.js.map +1 -0
- package/dist/artifacts/manifest.d.ts +4 -0
- package/dist/artifacts/manifest.d.ts.map +1 -0
- package/dist/artifacts/manifest.js +11 -0
- package/dist/artifacts/manifest.js.map +1 -0
- package/dist/artifacts/paths.d.ts +36 -0
- package/dist/artifacts/paths.d.ts.map +1 -0
- package/dist/artifacts/paths.js +107 -0
- package/dist/artifacts/paths.js.map +1 -0
- package/dist/artifacts/redact.d.ts +3 -0
- package/dist/artifacts/redact.d.ts.map +1 -0
- package/dist/artifacts/redact.js +45 -0
- package/dist/artifacts/redact.js.map +1 -0
- package/dist/artifacts/run-id.d.ts +2 -0
- package/dist/artifacts/run-id.d.ts.map +1 -0
- package/dist/artifacts/run-id.js +5 -0
- package/dist/artifacts/run-id.js.map +1 -0
- package/dist/artifacts/snapshot.d.ts +3 -0
- package/dist/artifacts/snapshot.d.ts.map +1 -0
- package/dist/artifacts/snapshot.js +9 -0
- package/dist/artifacts/snapshot.js.map +1 -0
- package/dist/artifacts/summary.d.ts +9 -0
- package/dist/artifacts/summary.d.ts.map +1 -0
- package/dist/artifacts/summary.js +68 -0
- package/dist/artifacts/summary.js.map +1 -0
- package/dist/cli/commands/diagnose-vercel-bridge.d.ts +5 -0
- package/dist/cli/commands/diagnose-vercel-bridge.d.ts.map +1 -0
- package/dist/cli/commands/diagnose-vercel-bridge.js +20 -0
- package/dist/cli/commands/diagnose-vercel-bridge.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts +6 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +190 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/inspect.d.ts +5 -0
- package/dist/cli/commands/inspect.d.ts.map +1 -0
- package/dist/cli/commands/inspect.js +39 -0
- package/dist/cli/commands/inspect.js.map +1 -0
- package/dist/cli/commands/operator-init.d.ts +5 -0
- package/dist/cli/commands/operator-init.d.ts.map +1 -0
- package/dist/cli/commands/operator-init.js +30 -0
- package/dist/cli/commands/operator-init.js.map +1 -0
- package/dist/cli/commands/redact-output.d.ts +2 -0
- package/dist/cli/commands/redact-output.d.ts.map +1 -0
- package/dist/cli/commands/redact-output.js +18 -0
- package/dist/cli/commands/redact-output.js.map +1 -0
- package/dist/cli/commands/resolve-route.d.ts +10 -0
- package/dist/cli/commands/resolve-route.d.ts.map +1 -0
- package/dist/cli/commands/resolve-route.js +67 -0
- package/dist/cli/commands/resolve-route.js.map +1 -0
- package/dist/cli/commands/run.d.ts +12 -0
- package/dist/cli/commands/run.d.ts.map +1 -0
- package/dist/cli/commands/run.js +36 -0
- package/dist/cli/commands/run.js.map +1 -0
- package/dist/cli/commands/sync-production.d.ts +25 -0
- package/dist/cli/commands/sync-production.d.ts.map +1 -0
- package/dist/cli/commands/sync-production.js +147 -0
- package/dist/cli/commands/sync-production.js.map +1 -0
- package/dist/cli/commands/validate-issue.d.ts +9 -0
- package/dist/cli/commands/validate-issue.d.ts.map +1 -0
- package/dist/cli/commands/validate-issue.js +53 -0
- package/dist/cli/commands/validate-issue.js.map +1 -0
- package/dist/cli/exit-codes.d.ts +5 -0
- package/dist/cli/exit-codes.d.ts.map +1 -0
- package/dist/cli/exit-codes.js +5 -0
- package/dist/cli/exit-codes.js.map +1 -0
- package/dist/cli/finalize-exit.d.ts +6 -0
- package/dist/cli/finalize-exit.d.ts.map +1 -0
- package/dist/cli/finalize-exit.js +9 -0
- package/dist/cli/finalize-exit.js.map +1 -0
- package/dist/cli/program.d.ts +3 -0
- package/dist/cli/program.d.ts.map +1 -0
- package/dist/cli/program.js +150 -0
- package/dist/cli/program.js.map +1 -0
- package/dist/config/defaults.d.ts +31 -0
- package/dist/config/defaults.d.ts.map +1 -0
- package/dist/config/defaults.js +34 -0
- package/dist/config/defaults.js.map +1 -0
- package/dist/config/load-config.d.ts +17 -0
- package/dist/config/load-config.d.ts.map +1 -0
- package/dist/config/load-config.js +57 -0
- package/dist/config/load-config.js.map +1 -0
- package/dist/config/load-dotenv.d.ts +2 -0
- package/dist/config/load-dotenv.d.ts.map +1 -0
- package/dist/config/load-dotenv.js +11 -0
- package/dist/config/load-dotenv.js.map +1 -0
- package/dist/config/resolve-config.d.ts +12 -0
- package/dist/config/resolve-config.d.ts.map +1 -0
- package/dist/config/resolve-config.js +98 -0
- package/dist/config/resolve-config.js.map +1 -0
- package/dist/config/schema.d.ts +505 -0
- package/dist/config/schema.d.ts.map +1 -0
- package/dist/config/schema.js +110 -0
- package/dist/config/schema.js.map +1 -0
- package/dist/config/status-names.d.ts +25 -0
- package/dist/config/status-names.d.ts.map +1 -0
- package/dist/config/status-names.js +41 -0
- package/dist/config/status-names.js.map +1 -0
- package/dist/config/types.d.ts +2 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +2 -0
- package/dist/config/types.js.map +1 -0
- package/dist/cursor/agent-factory.d.ts +24 -0
- package/dist/cursor/agent-factory.d.ts.map +1 -0
- package/dist/cursor/agent-factory.js +91 -0
- package/dist/cursor/agent-factory.js.map +1 -0
- package/dist/cursor/errors.d.ts +4 -0
- package/dist/cursor/errors.d.ts.map +1 -0
- package/dist/cursor/errors.js +14 -0
- package/dist/cursor/errors.js.map +1 -0
- package/dist/cursor/git-result.d.ts +8 -0
- package/dist/cursor/git-result.d.ts.map +1 -0
- package/dist/cursor/git-result.js +43 -0
- package/dist/cursor/git-result.js.map +1 -0
- package/dist/cursor/model.d.ts +31 -0
- package/dist/cursor/model.d.ts.map +1 -0
- package/dist/cursor/model.js +41 -0
- package/dist/cursor/model.js.map +1 -0
- package/dist/cursor/revision-git-result.d.ts +4 -0
- package/dist/cursor/revision-git-result.d.ts.map +1 -0
- package/dist/cursor/revision-git-result.js +43 -0
- package/dist/cursor/revision-git-result.js.map +1 -0
- package/dist/cursor/run-cleanup.d.ts +6 -0
- package/dist/cursor/run-cleanup.d.ts.map +1 -0
- package/dist/cursor/run-cleanup.js +22 -0
- package/dist/cursor/run-cleanup.js.map +1 -0
- package/dist/cursor/run-observer.d.ts +45 -0
- package/dist/cursor/run-observer.d.ts.map +1 -0
- package/dist/cursor/run-observer.js +228 -0
- package/dist/cursor/run-observer.js.map +1 -0
- package/dist/cursor/urls.d.ts +3 -0
- package/dist/cursor/urls.d.ts.map +1 -0
- package/dist/cursor/urls.js +12 -0
- package/dist/cursor/urls.js.map +1 -0
- package/dist/fixture/frontmatter.d.ts +11 -0
- package/dist/fixture/frontmatter.d.ts.map +1 -0
- package/dist/fixture/frontmatter.js +45 -0
- package/dist/fixture/frontmatter.js.map +1 -0
- package/dist/github/actions-url.d.ts +3 -0
- package/dist/github/actions-url.d.ts.map +1 -0
- package/dist/github/actions-url.js +13 -0
- package/dist/github/actions-url.js.map +1 -0
- package/dist/github/base-branch.d.ts +25 -0
- package/dist/github/base-branch.d.ts.map +1 -0
- package/dist/github/base-branch.js +73 -0
- package/dist/github/base-branch.js.map +1 -0
- package/dist/github/check-policy.d.ts +12 -0
- package/dist/github/check-policy.d.ts.map +1 -0
- package/dist/github/check-policy.js +71 -0
- package/dist/github/check-policy.js.map +1 -0
- package/dist/github/client.d.ts +227 -0
- package/dist/github/client.d.ts.map +1 -0
- package/dist/github/client.js +244 -0
- package/dist/github/client.js.map +1 -0
- package/dist/github/commit-reachability.d.ts +34 -0
- package/dist/github/commit-reachability.d.ts.map +1 -0
- package/dist/github/commit-reachability.js +85 -0
- package/dist/github/commit-reachability.js.map +1 -0
- package/dist/github/links.d.ts +5 -0
- package/dist/github/links.d.ts.map +1 -0
- package/dist/github/links.js +17 -0
- package/dist/github/links.js.map +1 -0
- package/dist/github/merge-result.d.ts +8 -0
- package/dist/github/merge-result.d.ts.map +1 -0
- package/dist/github/merge-result.js +22 -0
- package/dist/github/merge-result.js.map +1 -0
- package/dist/github/pr-discovery.d.ts +12 -0
- package/dist/github/pr-discovery.d.ts.map +1 -0
- package/dist/github/pr-discovery.js +33 -0
- package/dist/github/pr-discovery.js.map +1 -0
- package/dist/github/pr-inspector.d.ts +48 -0
- package/dist/github/pr-inspector.d.ts.map +1 -0
- package/dist/github/pr-inspector.js +190 -0
- package/dist/github/pr-inspector.js.map +1 -0
- package/dist/github/pr-url.d.ts +8 -0
- package/dist/github/pr-url.d.ts.map +1 -0
- package/dist/github/pr-url.js +15 -0
- package/dist/github/pr-url.js.map +1 -0
- package/dist/gui/configure-health.d.ts +15 -0
- package/dist/gui/configure-health.d.ts.map +1 -0
- package/dist/gui/configure-health.js +124 -0
- package/dist/gui/configure-health.js.map +1 -0
- package/dist/gui/dev-server-process.d.ts +25 -0
- package/dist/gui/dev-server-process.d.ts.map +1 -0
- package/dist/gui/dev-server-process.js +165 -0
- package/dist/gui/dev-server-process.js.map +1 -0
- package/dist/gui/port.d.ts +17 -0
- package/dist/gui/port.d.ts.map +1 -0
- package/dist/gui/port.js +50 -0
- package/dist/gui/port.js.map +1 -0
- package/dist/gui/repo-root.d.ts +4 -0
- package/dist/gui/repo-root.d.ts.map +1 -0
- package/dist/gui/repo-root.js +49 -0
- package/dist/gui/repo-root.js.map +1 -0
- package/dist/gui/start-configure-stable.d.ts +3 -0
- package/dist/gui/start-configure-stable.d.ts.map +1 -0
- package/dist/gui/start-configure-stable.js +92 -0
- package/dist/gui/start-configure-stable.js.map +1 -0
- package/dist/gui/start-gui.d.ts +3 -0
- package/dist/gui/start-gui.d.ts.map +1 -0
- package/dist/gui/start-gui.js +90 -0
- package/dist/gui/start-gui.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/linear/client.d.ts +14 -0
- package/dist/linear/client.d.ts.map +1 -0
- package/dist/linear/client.js +30 -0
- package/dist/linear/client.js.map +1 -0
- package/dist/linear/comment-card.d.ts +24 -0
- package/dist/linear/comment-card.d.ts.map +1 -0
- package/dist/linear/comment-card.js +45 -0
- package/dist/linear/comment-card.js.map +1 -0
- package/dist/linear/comments.d.ts +179 -0
- package/dist/linear/comments.d.ts.map +1 -0
- package/dist/linear/comments.js +551 -0
- package/dist/linear/comments.js.map +1 -0
- package/dist/linear/handoff-comment.d.ts +3 -0
- package/dist/linear/handoff-comment.d.ts.map +1 -0
- package/dist/linear/handoff-comment.js +11 -0
- package/dist/linear/handoff-comment.js.map +1 -0
- package/dist/linear/implementation-comment.d.ts +3 -0
- package/dist/linear/implementation-comment.d.ts.map +1 -0
- package/dist/linear/implementation-comment.js +11 -0
- package/dist/linear/implementation-comment.js.map +1 -0
- package/dist/linear/issue-query.d.ts +14 -0
- package/dist/linear/issue-query.d.ts.map +1 -0
- package/dist/linear/issue-query.js +47 -0
- package/dist/linear/issue-query.js.map +1 -0
- package/dist/linear/markers.d.ts +46 -0
- package/dist/linear/markers.d.ts.map +1 -0
- package/dist/linear/markers.js +179 -0
- package/dist/linear/markers.js.map +1 -0
- package/dist/linear/merge-source-comment.d.ts +10 -0
- package/dist/linear/merge-source-comment.d.ts.map +1 -0
- package/dist/linear/merge-source-comment.js +29 -0
- package/dist/linear/merge-source-comment.js.map +1 -0
- package/dist/linear/parser.d.ts +4 -0
- package/dist/linear/parser.d.ts.map +1 -0
- package/dist/linear/parser.js +86 -0
- package/dist/linear/parser.js.map +1 -0
- package/dist/linear/phase-labels.d.ts +8 -0
- package/dist/linear/phase-labels.d.ts.map +1 -0
- package/dist/linear/phase-labels.js +38 -0
- package/dist/linear/phase-labels.js.map +1 -0
- package/dist/linear/planning-comment.d.ts +3 -0
- package/dist/linear/planning-comment.d.ts.map +1 -0
- package/dist/linear/planning-comment.js +11 -0
- package/dist/linear/planning-comment.js.map +1 -0
- package/dist/linear/pm-feedback-comment.d.ts +3 -0
- package/dist/linear/pm-feedback-comment.d.ts.map +1 -0
- package/dist/linear/pm-feedback-comment.js +29 -0
- package/dist/linear/pm-feedback-comment.js.map +1 -0
- package/dist/linear/revision-comment.d.ts +3 -0
- package/dist/linear/revision-comment.d.ts.map +1 -0
- package/dist/linear/revision-comment.js +11 -0
- package/dist/linear/revision-comment.js.map +1 -0
- package/dist/linear/states.d.ts +3 -0
- package/dist/linear/states.d.ts.map +1 -0
- package/dist/linear/states.js +13 -0
- package/dist/linear/states.js.map +1 -0
- package/dist/linear/writer.d.ts +36 -0
- package/dist/linear/writer.d.ts.map +1 -0
- package/dist/linear/writer.js +105 -0
- package/dist/linear/writer.js.map +1 -0
- package/dist/p-dev/browser.d.ts +9 -0
- package/dist/p-dev/browser.d.ts.map +1 -0
- package/dist/p-dev/browser.js +15 -0
- package/dist/p-dev/browser.js.map +1 -0
- package/dist/p-dev/cli.d.ts +10 -0
- package/dist/p-dev/cli.d.ts.map +1 -0
- package/dist/p-dev/cli.js +73 -0
- package/dist/p-dev/cli.js.map +1 -0
- package/dist/p-dev/launch.d.ts +20 -0
- package/dist/p-dev/launch.d.ts.map +1 -0
- package/dist/p-dev/launch.js +107 -0
- package/dist/p-dev/launch.js.map +1 -0
- package/dist/p-dev/main.d.ts +3 -0
- package/dist/p-dev/main.d.ts.map +1 -0
- package/dist/p-dev/main.js +10 -0
- package/dist/p-dev/main.js.map +1 -0
- package/dist/p-dev/next-bin.d.ts +2 -0
- package/dist/p-dev/next-bin.d.ts.map +1 -0
- package/dist/p-dev/next-bin.js +8 -0
- package/dist/p-dev/next-bin.js.map +1 -0
- package/dist/p-dev/node-version.d.ts +9 -0
- package/dist/p-dev/node-version.d.ts.map +1 -0
- package/dist/p-dev/node-version.js +31 -0
- package/dist/p-dev/node-version.js.map +1 -0
- package/dist/p-dev/package-paths.d.ts +5 -0
- package/dist/p-dev/package-paths.d.ts.map +1 -0
- package/dist/p-dev/package-paths.js +34 -0
- package/dist/p-dev/package-paths.js.map +1 -0
- package/dist/p-dev/package-version.d.ts +6 -0
- package/dist/p-dev/package-version.d.ts.map +1 -0
- package/dist/p-dev/package-version.js +40 -0
- package/dist/p-dev/package-version.js.map +1 -0
- package/dist/p-dev/runtime-mode.d.ts +6 -0
- package/dist/p-dev/runtime-mode.d.ts.map +1 -0
- package/dist/p-dev/runtime-mode.js +18 -0
- package/dist/p-dev/runtime-mode.js.map +1 -0
- package/dist/p-dev/shutdown.d.ts +7 -0
- package/dist/p-dev/shutdown.d.ts.map +1 -0
- package/dist/p-dev/shutdown.js +55 -0
- package/dist/p-dev/shutdown.js.map +1 -0
- package/dist/p-dev/workspace.d.ts +22 -0
- package/dist/p-dev/workspace.d.ts.map +1 -0
- package/dist/p-dev/workspace.js +74 -0
- package/dist/p-dev/workspace.js.map +1 -0
- package/dist/preview/production-from-merge.d.ts +34 -0
- package/dist/preview/production-from-merge.d.ts.map +1 -0
- package/dist/preview/production-from-merge.js +94 -0
- package/dist/preview/production-from-merge.js.map +1 -0
- package/dist/preview/urls.d.ts +16 -0
- package/dist/preview/urls.d.ts.map +1 -0
- package/dist/preview/urls.js +13 -0
- package/dist/preview/urls.js.map +1 -0
- package/dist/preview/vercel-from-pr.d.ts +19 -0
- package/dist/preview/vercel-from-pr.d.ts.map +1 -0
- package/dist/preview/vercel-from-pr.js +91 -0
- package/dist/preview/vercel-from-pr.js.map +1 -0
- package/dist/prompts/branch-name.d.ts +3 -0
- package/dist/prompts/branch-name.d.ts.map +1 -0
- package/dist/prompts/branch-name.js +15 -0
- package/dist/prompts/branch-name.js.map +1 -0
- package/dist/prompts/builder.d.ts +21 -0
- package/dist/prompts/builder.d.ts.map +1 -0
- package/dist/prompts/builder.js +51 -0
- package/dist/prompts/builder.js.map +1 -0
- package/dist/prompts/integration-repair-builder.d.ts +20 -0
- package/dist/prompts/integration-repair-builder.d.ts.map +1 -0
- package/dist/prompts/integration-repair-builder.js +37 -0
- package/dist/prompts/integration-repair-builder.js.map +1 -0
- package/dist/prompts/revision-builder.d.ts +19 -0
- package/dist/prompts/revision-builder.d.ts.map +1 -0
- package/dist/prompts/revision-builder.js +34 -0
- package/dist/prompts/revision-builder.js.map +1 -0
- package/dist/resolver/allowed-repos.d.ts +3 -0
- package/dist/resolver/allowed-repos.d.ts.map +1 -0
- package/dist/resolver/allowed-repos.js +10 -0
- package/dist/resolver/allowed-repos.js.map +1 -0
- package/dist/resolver/errors.d.ts +6 -0
- package/dist/resolver/errors.d.ts.map +1 -0
- package/dist/resolver/errors.js +9 -0
- package/dist/resolver/errors.js.map +1 -0
- package/dist/resolver/normalize-repo.d.ts +4 -0
- package/dist/resolver/normalize-repo.d.ts.map +1 -0
- package/dist/resolver/normalize-repo.js +25 -0
- package/dist/resolver/normalize-repo.js.map +1 -0
- package/dist/resolver/target-repo.d.ts +20 -0
- package/dist/resolver/target-repo.d.ts.map +1 -0
- package/dist/resolver/target-repo.js +73 -0
- package/dist/resolver/target-repo.js.map +1 -0
- package/dist/runner/building-recovery.d.ts +5 -0
- package/dist/runner/building-recovery.d.ts.map +1 -0
- package/dist/runner/building-recovery.js +18 -0
- package/dist/runner/building-recovery.js.map +1 -0
- package/dist/runner/dry-run.d.ts +13 -0
- package/dist/runner/dry-run.d.ts.map +1 -0
- package/dist/runner/dry-run.js +108 -0
- package/dist/runner/dry-run.js.map +1 -0
- package/dist/runner/errors.d.ts +22 -0
- package/dist/runner/errors.d.ts.map +1 -0
- package/dist/runner/errors.js +41 -0
- package/dist/runner/errors.js.map +1 -0
- package/dist/runner/execution-environment.d.ts +25 -0
- package/dist/runner/execution-environment.d.ts.map +1 -0
- package/dist/runner/execution-environment.js +122 -0
- package/dist/runner/execution-environment.js.map +1 -0
- package/dist/runner/fixture.d.ts +4 -0
- package/dist/runner/fixture.d.ts.map +1 -0
- package/dist/runner/fixture.js +18 -0
- package/dist/runner/fixture.js.map +1 -0
- package/dist/runner/idempotency.d.ts +29 -0
- package/dist/runner/idempotency.d.ts.map +1 -0
- package/dist/runner/idempotency.js +295 -0
- package/dist/runner/idempotency.js.map +1 -0
- package/dist/runner/orchestrator.d.ts +19 -0
- package/dist/runner/orchestrator.d.ts.map +1 -0
- package/dist/runner/orchestrator.js +149 -0
- package/dist/runner/orchestrator.js.map +1 -0
- package/dist/runner/phase-args.d.ts +11 -0
- package/dist/runner/phase-args.d.ts.map +1 -0
- package/dist/runner/phase-args.js +35 -0
- package/dist/runner/phase-args.js.map +1 -0
- package/dist/runner/phase-infer.d.ts +7 -0
- package/dist/runner/phase-infer.d.ts.map +1 -0
- package/dist/runner/phase-infer.js +45 -0
- package/dist/runner/phase-infer.js.map +1 -0
- package/dist/runner/phases/handoff.d.ts +13 -0
- package/dist/runner/phases/handoff.d.ts.map +1 -0
- package/dist/runner/phases/handoff.js +422 -0
- package/dist/runner/phases/handoff.js.map +1 -0
- package/dist/runner/phases/implementation.d.ts +13 -0
- package/dist/runner/phases/implementation.d.ts.map +1 -0
- package/dist/runner/phases/implementation.js +435 -0
- package/dist/runner/phases/implementation.js.map +1 -0
- package/dist/runner/phases/integration-repair.d.ts +31 -0
- package/dist/runner/phases/integration-repair.d.ts.map +1 -0
- package/dist/runner/phases/integration-repair.js +379 -0
- package/dist/runner/phases/integration-repair.js.map +1 -0
- package/dist/runner/phases/merge.d.ts +13 -0
- package/dist/runner/phases/merge.d.ts.map +1 -0
- package/dist/runner/phases/merge.js +816 -0
- package/dist/runner/phases/merge.js.map +1 -0
- package/dist/runner/phases/planning.d.ts +13 -0
- package/dist/runner/phases/planning.d.ts.map +1 -0
- package/dist/runner/phases/planning.js +306 -0
- package/dist/runner/phases/planning.js.map +1 -0
- package/dist/runner/phases/production-sync.d.ts +16 -0
- package/dist/runner/phases/production-sync.d.ts.map +1 -0
- package/dist/runner/phases/production-sync.js +215 -0
- package/dist/runner/phases/production-sync.js.map +1 -0
- package/dist/runner/phases/revision.d.ts +13 -0
- package/dist/runner/phases/revision.d.ts.map +1 -0
- package/dist/runner/phases/revision.js +565 -0
- package/dist/runner/phases/revision.js.map +1 -0
- package/dist/runner/preflight.d.ts +45 -0
- package/dist/runner/preflight.d.ts.map +1 -0
- package/dist/runner/preflight.js +148 -0
- package/dist/runner/preflight.js.map +1 -0
- package/dist/runner/resolve-route.d.ts +25 -0
- package/dist/runner/resolve-route.d.ts.map +1 -0
- package/dist/runner/resolve-route.js +81 -0
- package/dist/runner/resolve-route.js.map +1 -0
- package/dist/setup/config-builder.d.ts +7 -0
- package/dist/setup/config-builder.d.ts.map +1 -0
- package/dist/setup/config-builder.js +109 -0
- package/dist/setup/config-builder.js.map +1 -0
- package/dist/setup/config-local-editor.d.ts +37 -0
- package/dist/setup/config-local-editor.d.ts.map +1 -0
- package/dist/setup/config-local-editor.js +187 -0
- package/dist/setup/config-local-editor.js.map +1 -0
- package/dist/setup/config-writer.d.ts +20 -0
- package/dist/setup/config-writer.d.ts.map +1 -0
- package/dist/setup/config-writer.js +132 -0
- package/dist/setup/config-writer.js.map +1 -0
- package/dist/setup/control-plane-readiness-server.d.ts +5 -0
- package/dist/setup/control-plane-readiness-server.d.ts.map +1 -0
- package/dist/setup/control-plane-readiness-server.js +9 -0
- package/dist/setup/control-plane-readiness-server.js.map +1 -0
- package/dist/setup/control-plane-readiness.d.ts +23 -0
- package/dist/setup/control-plane-readiness.d.ts.map +1 -0
- package/dist/setup/control-plane-readiness.js +216 -0
- package/dist/setup/control-plane-readiness.js.map +1 -0
- package/dist/setup/control-plane-setup-state.d.ts +6 -0
- package/dist/setup/control-plane-setup-state.d.ts.map +1 -0
- package/dist/setup/control-plane-setup-state.js +41 -0
- package/dist/setup/control-plane-setup-state.js.map +1 -0
- package/dist/setup/control-plane-types.d.ts +97 -0
- package/dist/setup/control-plane-types.d.ts.map +1 -0
- package/dist/setup/control-plane-types.js +2 -0
- package/dist/setup/control-plane-types.js.map +1 -0
- package/dist/setup/doctor-summary.d.ts +16 -0
- package/dist/setup/doctor-summary.d.ts.map +1 -0
- package/dist/setup/doctor-summary.js +62 -0
- package/dist/setup/doctor-summary.js.map +1 -0
- package/dist/setup/env-merge.d.ts +26 -0
- package/dist/setup/env-merge.d.ts.map +1 -0
- package/dist/setup/env-merge.js +201 -0
- package/dist/setup/env-merge.js.map +1 -0
- package/dist/setup/env-writer.d.ts +17 -0
- package/dist/setup/env-writer.d.ts.map +1 -0
- package/dist/setup/env-writer.js +129 -0
- package/dist/setup/env-writer.js.map +1 -0
- package/dist/setup/first-run-readiness.d.ts +204 -0
- package/dist/setup/first-run-readiness.d.ts.map +1 -0
- package/dist/setup/first-run-readiness.js +911 -0
- package/dist/setup/first-run-readiness.js.map +1 -0
- package/dist/setup/generated-instructions.d.ts +19 -0
- package/dist/setup/generated-instructions.d.ts.map +1 -0
- package/dist/setup/generated-instructions.js +70 -0
- package/dist/setup/generated-instructions.js.map +1 -0
- package/dist/setup/github-dispatch-token.d.ts +12 -0
- package/dist/setup/github-dispatch-token.d.ts.map +1 -0
- package/dist/setup/github-dispatch-token.js +66 -0
- package/dist/setup/github-dispatch-token.js.map +1 -0
- package/dist/setup/github-remote-provider.d.ts +192 -0
- package/dist/setup/github-remote-provider.d.ts.map +1 -0
- package/dist/setup/github-remote-provider.js +302 -0
- package/dist/setup/github-remote-provider.js.map +1 -0
- package/dist/setup/github-remote-setup-live.d.ts +49 -0
- package/dist/setup/github-remote-setup-live.d.ts.map +1 -0
- package/dist/setup/github-remote-setup-live.js +400 -0
- package/dist/setup/github-remote-setup-live.js.map +1 -0
- package/dist/setup/github-repo-slug.d.ts +3 -0
- package/dist/setup/github-repo-slug.d.ts.map +1 -0
- package/dist/setup/github-repo-slug.js +23 -0
- package/dist/setup/github-repo-slug.js.map +1 -0
- package/dist/setup/github-secret-encryption.d.ts +2 -0
- package/dist/setup/github-secret-encryption.d.ts.map +1 -0
- package/dist/setup/github-secret-encryption.js +8 -0
- package/dist/setup/github-secret-encryption.js.map +1 -0
- package/dist/setup/github-workflow-permissions.d.ts +54 -0
- package/dist/setup/github-workflow-permissions.d.ts.map +1 -0
- package/dist/setup/github-workflow-permissions.js +110 -0
- package/dist/setup/github-workflow-permissions.js.map +1 -0
- package/dist/setup/gui-view-model.d.ts +85 -0
- package/dist/setup/gui-view-model.d.ts.map +1 -0
- package/dist/setup/gui-view-model.js +404 -0
- package/dist/setup/gui-view-model.js.map +1 -0
- package/dist/setup/guided-config-form.d.ts +8 -0
- package/dist/setup/guided-config-form.d.ts.map +1 -0
- package/dist/setup/guided-config-form.js +36 -0
- package/dist/setup/guided-config-form.js.map +1 -0
- package/dist/setup/harness-dispatch-repo.d.ts +23 -0
- package/dist/setup/harness-dispatch-repo.d.ts.map +1 -0
- package/dist/setup/harness-dispatch-repo.js +110 -0
- package/dist/setup/harness-dispatch-repo.js.map +1 -0
- package/dist/setup/harness-managed-repo-marker.d.ts +59 -0
- package/dist/setup/harness-managed-repo-marker.d.ts.map +1 -0
- package/dist/setup/harness-managed-repo-marker.js +289 -0
- package/dist/setup/harness-managed-repo-marker.js.map +1 -0
- package/dist/setup/harness-provisioning-context.d.ts +58 -0
- package/dist/setup/harness-provisioning-context.d.ts.map +1 -0
- package/dist/setup/harness-provisioning-context.js +204 -0
- package/dist/setup/harness-provisioning-context.js.map +1 -0
- package/dist/setup/harness-provisioning-pending-state.d.ts +59 -0
- package/dist/setup/harness-provisioning-pending-state.d.ts.map +1 -0
- package/dist/setup/harness-provisioning-pending-state.js +167 -0
- package/dist/setup/harness-provisioning-pending-state.js.map +1 -0
- package/dist/setup/harness-repo-provisioning.d.ts +61 -0
- package/dist/setup/harness-repo-provisioning.d.ts.map +1 -0
- package/dist/setup/harness-repo-provisioning.js +1106 -0
- package/dist/setup/harness-repo-provisioning.js.map +1 -0
- package/dist/setup/harness-secret-fingerprint.d.ts +21 -0
- package/dist/setup/harness-secret-fingerprint.d.ts.map +1 -0
- package/dist/setup/harness-secret-fingerprint.js +25 -0
- package/dist/setup/harness-secret-fingerprint.js.map +1 -0
- package/dist/setup/harness-secret-setup.d.ts +81 -0
- package/dist/setup/harness-secret-setup.d.ts.map +1 -0
- package/dist/setup/harness-secret-setup.js +290 -0
- package/dist/setup/harness-secret-setup.js.map +1 -0
- package/dist/setup/harness-template-identity.d.ts +48 -0
- package/dist/setup/harness-template-identity.d.ts.map +1 -0
- package/dist/setup/harness-template-identity.js +114 -0
- package/dist/setup/harness-template-identity.js.map +1 -0
- package/dist/setup/linear-setup-apply.d.ts +30 -0
- package/dist/setup/linear-setup-apply.d.ts.map +1 -0
- package/dist/setup/linear-setup-apply.js +192 -0
- package/dist/setup/linear-setup-apply.js.map +1 -0
- package/dist/setup/linear-setup-client.d.ts +70 -0
- package/dist/setup/linear-setup-client.d.ts.map +1 -0
- package/dist/setup/linear-setup-client.js +180 -0
- package/dist/setup/linear-setup-client.js.map +1 -0
- package/dist/setup/linear-setup-plan.d.ts +88 -0
- package/dist/setup/linear-setup-plan.d.ts.map +1 -0
- package/dist/setup/linear-setup-plan.js +239 -0
- package/dist/setup/linear-setup-plan.js.map +1 -0
- package/dist/setup/linear-setup-summary.d.ts +12 -0
- package/dist/setup/linear-setup-summary.d.ts.map +1 -0
- package/dist/setup/linear-setup-summary.js +21 -0
- package/dist/setup/linear-setup-summary.js.map +1 -0
- package/dist/setup/linear-status-contract.d.ts +15 -0
- package/dist/setup/linear-status-contract.d.ts.map +1 -0
- package/dist/setup/linear-status-contract.js +79 -0
- package/dist/setup/linear-status-contract.js.map +1 -0
- package/dist/setup/linear-webhook-env-local.d.ts +10 -0
- package/dist/setup/linear-webhook-env-local.d.ts.map +1 -0
- package/dist/setup/linear-webhook-env-local.js +74 -0
- package/dist/setup/linear-webhook-env-local.js.map +1 -0
- package/dist/setup/linear-webhook-secret.d.ts +63 -0
- package/dist/setup/linear-webhook-secret.d.ts.map +1 -0
- package/dist/setup/linear-webhook-secret.js +335 -0
- package/dist/setup/linear-webhook-secret.js.map +1 -0
- package/dist/setup/local-apply-actions.d.ts +85 -0
- package/dist/setup/local-apply-actions.d.ts.map +1 -0
- package/dist/setup/local-apply-actions.js +303 -0
- package/dist/setup/local-apply-actions.js.map +1 -0
- package/dist/setup/local-readiness-checks.d.ts +16 -0
- package/dist/setup/local-readiness-checks.d.ts.map +1 -0
- package/dist/setup/local-readiness-checks.js +164 -0
- package/dist/setup/local-readiness-checks.js.map +1 -0
- package/dist/setup/mock-target-workflow-finalization.d.ts +24 -0
- package/dist/setup/mock-target-workflow-finalization.d.ts.map +1 -0
- package/dist/setup/mock-target-workflow-finalization.js +367 -0
- package/dist/setup/mock-target-workflow-finalization.js.map +1 -0
- package/dist/setup/model-settings.d.ts +17 -0
- package/dist/setup/model-settings.d.ts.map +1 -0
- package/dist/setup/model-settings.js +46 -0
- package/dist/setup/model-settings.js.map +1 -0
- package/dist/setup/permission-model.d.ts +46 -0
- package/dist/setup/permission-model.d.ts.map +1 -0
- package/dist/setup/permission-model.js +56 -0
- package/dist/setup/permission-model.js.map +1 -0
- package/dist/setup/redact-secrets.d.ts +17 -0
- package/dist/setup/redact-secrets.d.ts.map +1 -0
- package/dist/setup/redact-secrets.js +51 -0
- package/dist/setup/redact-secrets.js.map +1 -0
- package/dist/setup/remote-actions.d.ts +136 -0
- package/dist/setup/remote-actions.d.ts.map +1 -0
- package/dist/setup/remote-actions.js +75 -0
- package/dist/setup/remote-actions.js.map +1 -0
- package/dist/setup/remote-apply-actions.d.ts +32 -0
- package/dist/setup/remote-apply-actions.d.ts.map +1 -0
- package/dist/setup/remote-apply-actions.js +242 -0
- package/dist/setup/remote-apply-actions.js.map +1 -0
- package/dist/setup/remote-preview-fingerprint.d.ts +15 -0
- package/dist/setup/remote-preview-fingerprint.d.ts.map +1 -0
- package/dist/setup/remote-preview-fingerprint.js +20 -0
- package/dist/setup/remote-preview-fingerprint.js.map +1 -0
- package/dist/setup/remote-setup-summary.d.ts +28 -0
- package/dist/setup/remote-setup-summary.d.ts.map +1 -0
- package/dist/setup/remote-setup-summary.js +93 -0
- package/dist/setup/remote-setup-summary.js.map +1 -0
- package/dist/setup/secret-change-token.d.ts +2 -0
- package/dist/setup/secret-change-token.d.ts.map +1 -0
- package/dist/setup/secret-change-token.js +14 -0
- package/dist/setup/secret-change-token.js.map +1 -0
- package/dist/setup/service-verification.d.ts +60 -0
- package/dist/setup/service-verification.d.ts.map +1 -0
- package/dist/setup/service-verification.js +419 -0
- package/dist/setup/service-verification.js.map +1 -0
- package/dist/setup/setup-actions.d.ts +126 -0
- package/dist/setup/setup-actions.d.ts.map +1 -0
- package/dist/setup/setup-actions.js +128 -0
- package/dist/setup/setup-actions.js.map +1 -0
- package/dist/setup/setup-github-auth.d.ts +5 -0
- package/dist/setup/setup-github-auth.d.ts.map +1 -0
- package/dist/setup/setup-github-auth.js +12 -0
- package/dist/setup/setup-github-auth.js.map +1 -0
- package/dist/setup/setup-state.d.ts +51 -0
- package/dist/setup/setup-state.d.ts.map +1 -0
- package/dist/setup/setup-state.js +19 -0
- package/dist/setup/setup-state.js.map +1 -0
- package/dist/setup/stale-smoke-repo.d.ts +40 -0
- package/dist/setup/stale-smoke-repo.d.ts.map +1 -0
- package/dist/setup/stale-smoke-repo.js +77 -0
- package/dist/setup/stale-smoke-repo.js.map +1 -0
- package/dist/setup/sync-downstream-summaries.d.ts +22 -0
- package/dist/setup/sync-downstream-summaries.d.ts.map +1 -0
- package/dist/setup/sync-downstream-summaries.js +54 -0
- package/dist/setup/sync-downstream-summaries.js.map +1 -0
- package/dist/setup/target-workflow-finalization-lock.d.ts +17 -0
- package/dist/setup/target-workflow-finalization-lock.d.ts.map +1 -0
- package/dist/setup/target-workflow-finalization-lock.js +72 -0
- package/dist/setup/target-workflow-finalization-lock.js.map +1 -0
- package/dist/setup/target-workflow-finalization-types.d.ts +32 -0
- package/dist/setup/target-workflow-finalization-types.d.ts.map +1 -0
- package/dist/setup/target-workflow-finalization-types.js +4 -0
- package/dist/setup/target-workflow-finalization-types.js.map +1 -0
- package/dist/setup/target-workflow-finalization.d.ts +19 -0
- package/dist/setup/target-workflow-finalization.d.ts.map +1 -0
- package/dist/setup/target-workflow-finalization.js +690 -0
- package/dist/setup/target-workflow-finalization.js.map +1 -0
- package/dist/setup/target-workflow-setup.d.ts +63 -0
- package/dist/setup/target-workflow-setup.d.ts.map +1 -0
- package/dist/setup/target-workflow-setup.js +167 -0
- package/dist/setup/target-workflow-setup.js.map +1 -0
- package/dist/setup/test-only-provisioning-provider.d.ts +11 -0
- package/dist/setup/test-only-provisioning-provider.d.ts.map +1 -0
- package/dist/setup/test-only-provisioning-provider.js +37 -0
- package/dist/setup/test-only-provisioning-provider.js.map +1 -0
- package/dist/setup/test-only-remote-setup-provider.d.ts +11 -0
- package/dist/setup/test-only-remote-setup-provider.d.ts.map +1 -0
- package/dist/setup/test-only-remote-setup-provider.js +37 -0
- package/dist/setup/test-only-remote-setup-provider.js.map +1 -0
- package/dist/setup/vercel-bridge-diagnostics.d.ts +101 -0
- package/dist/setup/vercel-bridge-diagnostics.d.ts.map +1 -0
- package/dist/setup/vercel-bridge-diagnostics.js +353 -0
- package/dist/setup/vercel-bridge-diagnostics.js.map +1 -0
- package/dist/setup/vercel-bridge-options.d.ts +35 -0
- package/dist/setup/vercel-bridge-options.d.ts.map +1 -0
- package/dist/setup/vercel-bridge-options.js +95 -0
- package/dist/setup/vercel-bridge-options.js.map +1 -0
- package/dist/setup/vercel-bridge-readiness.d.ts +38 -0
- package/dist/setup/vercel-bridge-readiness.d.ts.map +1 -0
- package/dist/setup/vercel-bridge-readiness.js +85 -0
- package/dist/setup/vercel-bridge-readiness.js.map +1 -0
- package/dist/setup/vercel-bridge-redeploy-poll.d.ts +46 -0
- package/dist/setup/vercel-bridge-redeploy-poll.d.ts.map +1 -0
- package/dist/setup/vercel-bridge-redeploy-poll.js +571 -0
- package/dist/setup/vercel-bridge-redeploy-poll.js.map +1 -0
- package/dist/setup/vercel-bridge-redeploy-state.d.ts +16 -0
- package/dist/setup/vercel-bridge-redeploy-state.d.ts.map +1 -0
- package/dist/setup/vercel-bridge-redeploy-state.js +27 -0
- package/dist/setup/vercel-bridge-redeploy-state.js.map +1 -0
- package/dist/setup/vercel-bridge-structured-log.d.ts +34 -0
- package/dist/setup/vercel-bridge-structured-log.d.ts.map +1 -0
- package/dist/setup/vercel-bridge-structured-log.js +30 -0
- package/dist/setup/vercel-bridge-structured-log.js.map +1 -0
- package/dist/setup/vercel-bridge-verification.d.ts +22 -0
- package/dist/setup/vercel-bridge-verification.d.ts.map +1 -0
- package/dist/setup/vercel-bridge-verification.js +38 -0
- package/dist/setup/vercel-bridge-verification.js.map +1 -0
- package/dist/setup/vercel-production-redeploy.d.ts +57 -0
- package/dist/setup/vercel-production-redeploy.d.ts.map +1 -0
- package/dist/setup/vercel-production-redeploy.js +180 -0
- package/dist/setup/vercel-production-redeploy.js.map +1 -0
- package/dist/setup/vercel-setup-apply.d.ts +69 -0
- package/dist/setup/vercel-setup-apply.d.ts.map +1 -0
- package/dist/setup/vercel-setup-apply.js +779 -0
- package/dist/setup/vercel-setup-apply.js.map +1 -0
- package/dist/setup/vercel-setup-client.d.ts +134 -0
- package/dist/setup/vercel-setup-client.d.ts.map +1 -0
- package/dist/setup/vercel-setup-client.js +416 -0
- package/dist/setup/vercel-setup-client.js.map +1 -0
- package/dist/setup/vercel-setup-plan.d.ts +132 -0
- package/dist/setup/vercel-setup-plan.d.ts.map +1 -0
- package/dist/setup/vercel-setup-plan.js +452 -0
- package/dist/setup/vercel-setup-plan.js.map +1 -0
- package/dist/setup/vercel-setup-summary.d.ts +11 -0
- package/dist/setup/vercel-setup-summary.d.ts.map +1 -0
- package/dist/setup/vercel-setup-summary.js +29 -0
- package/dist/setup/vercel-setup-summary.js.map +1 -0
- package/dist/setup/vercel-webhook-probe.d.ts +17 -0
- package/dist/setup/vercel-webhook-probe.d.ts.map +1 -0
- package/dist/setup/vercel-webhook-probe.js +125 -0
- package/dist/setup/vercel-webhook-probe.js.map +1 -0
- package/dist/setup/workflow-install-merge-errors.d.ts +12 -0
- package/dist/setup/workflow-install-merge-errors.d.ts.map +1 -0
- package/dist/setup/workflow-install-merge-errors.js +130 -0
- package/dist/setup/workflow-install-merge-errors.js.map +1 -0
- package/dist/types/parsed-issue.d.ts +9 -0
- package/dist/types/parsed-issue.d.ts.map +1 -0
- package/dist/types/parsed-issue.js +2 -0
- package/dist/types/parsed-issue.js.map +1 -0
- package/dist/types/run.d.ts +46 -0
- package/dist/types/run.d.ts.map +1 -0
- package/dist/types/run.js +2 -0
- package/dist/types/run.js.map +1 -0
- package/dist/validate/constants.d.ts +3 -0
- package/dist/validate/constants.d.ts.map +1 -0
- package/dist/validate/constants.js +3 -0
- package/dist/validate/constants.js.map +1 -0
- package/dist/validate/issue.d.ts +15 -0
- package/dist/validate/issue.d.ts.map +1 -0
- package/dist/validate/issue.js +177 -0
- package/dist/validate/issue.js.map +1 -0
- package/dist/validate/report.d.ts +3 -0
- package/dist/validate/report.d.ts.map +1 -0
- package/dist/validate/report.js +62 -0
- package/dist/validate/report.js.map +1 -0
- package/dist/validate/types.d.ts +30 -0
- package/dist/validate/types.d.ts.map +1 -0
- package/dist/validate/types.js +2 -0
- package/dist/validate/types.js.map +1 -0
- package/dist/webhook/dispatch-github.d.ts +6 -0
- package/dist/webhook/dispatch-github.d.ts.map +1 -0
- package/dist/webhook/dispatch-github.js +33 -0
- package/dist/webhook/dispatch-github.js.map +1 -0
- package/dist/webhook/dispatch-statuses.d.ts +8 -0
- package/dist/webhook/dispatch-statuses.d.ts.map +1 -0
- package/dist/webhook/dispatch-statuses.js +19 -0
- package/dist/webhook/dispatch-statuses.js.map +1 -0
- package/dist/webhook/extract-issue-key.d.ts +10 -0
- package/dist/webhook/extract-issue-key.d.ts.map +1 -0
- package/dist/webhook/extract-issue-key.js +33 -0
- package/dist/webhook/extract-issue-key.js.map +1 -0
- package/dist/webhook/filter.d.ts +9 -0
- package/dist/webhook/filter.d.ts.map +1 -0
- package/dist/webhook/filter.js +27 -0
- package/dist/webhook/filter.js.map +1 -0
- package/dist/webhook/handle-linear-webhook.d.ts +20 -0
- package/dist/webhook/handle-linear-webhook.d.ts.map +1 -0
- package/dist/webhook/handle-linear-webhook.js +139 -0
- package/dist/webhook/handle-linear-webhook.js.map +1 -0
- package/dist/webhook/parse-linear-issue-event.d.ts +31 -0
- package/dist/webhook/parse-linear-issue-event.d.ts.map +1 -0
- package/dist/webhook/parse-linear-issue-event.js +60 -0
- package/dist/webhook/parse-linear-issue-event.js.map +1 -0
- package/dist/webhook/redact-log.d.ts +15 -0
- package/dist/webhook/redact-log.d.ts.map +1 -0
- package/dist/webhook/redact-log.js +13 -0
- package/dist/webhook/redact-log.js.map +1 -0
- package/dist/webhook/types.d.ts +61 -0
- package/dist/webhook/types.d.ts.map +1 -0
- package/dist/webhook/types.js +2 -0
- package/dist/webhook/types.js.map +1 -0
- package/dist/webhook/verify.d.ts +16 -0
- package/dist/webhook/verify.d.ts.map +1 -0
- package/dist/webhook/verify.js +36 -0
- package/dist/webhook/verify.js.map +1 -0
- package/dist/webhook/workflow-command.d.ts +3 -0
- package/dist/webhook/workflow-command.d.ts.map +1 -0
- package/dist/webhook/workflow-command.js +7 -0
- package/dist/webhook/workflow-command.js.map +1 -0
- package/dist/workflow/dispatch-metadata.d.ts +4 -0
- package/dist/workflow/dispatch-metadata.d.ts.map +1 -0
- package/dist/workflow/dispatch-metadata.js +50 -0
- package/dist/workflow/dispatch-metadata.js.map +1 -0
- package/dist/workflow/manifest-summary.d.ts +10 -0
- package/dist/workflow/manifest-summary.d.ts.map +1 -0
- package/dist/workflow/manifest-summary.js +47 -0
- package/dist/workflow/manifest-summary.js.map +1 -0
- package/dist/workflow/production-sync-dispatch.d.ts +13 -0
- package/dist/workflow/production-sync-dispatch.d.ts.map +1 -0
- package/dist/workflow/production-sync-dispatch.js +38 -0
- package/dist/workflow/production-sync-dispatch.js.map +1 -0
- package/dist/workflow/summarize-manifest.d.ts +2 -0
- package/dist/workflow/summarize-manifest.d.ts.map +1 -0
- package/dist/workflow/summarize-manifest.js +15 -0
- package/dist/workflow/summarize-manifest.js.map +1 -0
- package/dist/workflow/validate.d.ts +7 -0
- package/dist/workflow/validate.d.ts.map +1 -0
- package/dist/workflow/validate.js +32 -0
- package/dist/workflow/validate.js.map +1 -0
- package/dist/workflow/write-dispatch-metadata.d.ts +2 -0
- package/dist/workflow/write-dispatch-metadata.d.ts.map +1 -0
- package/dist/workflow/write-dispatch-metadata.js +4 -0
- package/dist/workflow/write-dispatch-metadata.js.map +1 -0
- package/gui/.next/BUILD_ID +1 -0
- package/gui/.next/app-build-manifest.json +232 -0
- package/gui/.next/app-path-routes-manifest.json +33 -0
- package/gui/.next/build-manifest.json +33 -0
- package/gui/.next/diagnostics/build-diagnostics.json +6 -0
- package/gui/.next/diagnostics/framework.json +1 -0
- package/gui/.next/export-marker.json +6 -0
- package/gui/.next/images-manifest.json +58 -0
- package/gui/.next/next-minimal-server.js.nft.json +1 -0
- package/gui/.next/next-server.js.nft.json +1 -0
- package/gui/.next/package.json +1 -0
- package/gui/.next/prerender-manifest.json +61 -0
- package/gui/.next/react-loadable-manifest.json +1 -0
- package/gui/.next/required-server-files.json +333 -0
- package/gui/.next/routes-manifest.json +59 -0
- package/gui/.next/server/app/_not-found/page.js +2 -0
- package/gui/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/gui/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/_not-found.html +1 -0
- package/gui/.next/server/app/_not-found.meta +8 -0
- package/gui/.next/server/app/_not-found.rsc +17 -0
- package/gui/.next/server/app/api/setup/apply-connect-services/route.js +1 -0
- package/gui/.next/server/app/api/setup/apply-connect-services/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/apply-connect-services/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/apply-harness-repo-provisioning/route.js +1 -0
- package/gui/.next/server/app/api/setup/apply-harness-repo-provisioning/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/apply-harness-repo-provisioning/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/apply-harness-secrets/route.js +1 -0
- package/gui/.next/server/app/api/setup/apply-harness-secrets/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/apply-harness-secrets/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/apply-linear-setup/route.js +1 -0
- package/gui/.next/server/app/api/setup/apply-linear-setup/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/apply-linear-setup/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/apply-local-files/route.js +1 -0
- package/gui/.next/server/app/api/setup/apply-local-files/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/apply-local-files/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/apply-target-workflow/route.js +1 -0
- package/gui/.next/server/app/api/setup/apply-target-workflow/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/apply-target-workflow/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/apply-vercel-bridge/route.js +1 -0
- package/gui/.next/server/app/api/setup/apply-vercel-bridge/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/apply-vercel-bridge/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/finalize-target-workflow/route.js +1 -0
- package/gui/.next/server/app/api/setup/finalize-target-workflow/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/finalize-target-workflow/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/harness-provisioning-summary/route.js +1 -0
- package/gui/.next/server/app/api/setup/harness-provisioning-summary/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/harness-provisioning-summary/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/linear-options/route.js +1 -0
- package/gui/.next/server/app/api/setup/linear-options/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/linear-options/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/linear-summary/route.js +1 -0
- package/gui/.next/server/app/api/setup/linear-summary/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/linear-summary/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/local-readiness/route.js +1 -0
- package/gui/.next/server/app/api/setup/local-readiness/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/local-readiness/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/manual-harness-secret-values/route.js +1 -0
- package/gui/.next/server/app/api/setup/manual-harness-secret-values/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/manual-harness-secret-values/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/preview-connect-services/route.js +1 -0
- package/gui/.next/server/app/api/setup/preview-connect-services/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/preview-connect-services/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/preview-harness-repo-provisioning/route.js +1 -0
- package/gui/.next/server/app/api/setup/preview-harness-repo-provisioning/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/preview-harness-repo-provisioning/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/preview-harness-secrets/route.js +1 -0
- package/gui/.next/server/app/api/setup/preview-harness-secrets/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/preview-harness-secrets/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/preview-linear-setup/route.js +1 -0
- package/gui/.next/server/app/api/setup/preview-linear-setup/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/preview-linear-setup/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/preview-local-files/route.js +1 -0
- package/gui/.next/server/app/api/setup/preview-local-files/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/preview-local-files/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/preview-target-workflow/route.js +1 -0
- package/gui/.next/server/app/api/setup/preview-target-workflow/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/preview-target-workflow/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/preview-vercel-bridge/route.js +1 -0
- package/gui/.next/server/app/api/setup/preview-vercel-bridge/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/preview-vercel-bridge/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/remote-summary/route.js +1 -0
- package/gui/.next/server/app/api/setup/remote-summary/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/remote-summary/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/summary/route.js +1 -0
- package/gui/.next/server/app/api/setup/summary/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/summary/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/vercel-bridge-options/route.js +1 -0
- package/gui/.next/server/app/api/setup/vercel-bridge-options/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/vercel-bridge-options/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/vercel-bridge-redeploy-status/route.js +1 -0
- package/gui/.next/server/app/api/setup/vercel-bridge-redeploy-status/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/vercel-bridge-redeploy-status/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/vercel-summary/route.js +1 -0
- package/gui/.next/server/app/api/setup/vercel-summary/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/vercel-summary/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/verify-harness-repo/route.js +1 -0
- package/gui/.next/server/app/api/setup/verify-harness-repo/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/verify-harness-repo/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/verify-service/route.js +1 -0
- package/gui/.next/server/app/api/setup/verify-service/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/verify-service/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/verify-target-repo/route.js +1 -0
- package/gui/.next/server/app/api/setup/verify-target-repo/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/verify-target-repo/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/index.html +1 -0
- package/gui/.next/server/app/index.meta +9 -0
- package/gui/.next/server/app/index.rsc +18 -0
- package/gui/.next/server/app/page.js +2 -0
- package/gui/.next/server/app/page.js.nft.json +1 -0
- package/gui/.next/server/app/page_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/settings/configure/page.js +10 -0
- package/gui/.next/server/app/settings/configure/page.js.nft.json +1 -0
- package/gui/.next/server/app/settings/configure/page_client-reference-manifest.js +1 -0
- package/gui/.next/server/app-paths-manifest.json +33 -0
- package/gui/.next/server/chunks/120.js +81 -0
- package/gui/.next/server/chunks/200.js +1 -0
- package/gui/.next/server/chunks/332.js +9 -0
- package/gui/.next/server/chunks/383.js +6 -0
- package/gui/.next/server/chunks/477.js +16 -0
- package/gui/.next/server/chunks/585.js +1 -0
- package/gui/.next/server/chunks/711.js +1 -0
- package/gui/.next/server/chunks/900.js +1 -0
- package/gui/.next/server/chunks/901.js +22 -0
- package/gui/.next/server/functions-config-manifest.json +4 -0
- package/gui/.next/server/interception-route-rewrite-manifest.js +1 -0
- package/gui/.next/server/middleware-build-manifest.js +1 -0
- package/gui/.next/server/middleware-manifest.json +6 -0
- package/gui/.next/server/middleware-react-loadable-manifest.js +1 -0
- package/gui/.next/server/next-font-manifest.js +1 -0
- package/gui/.next/server/next-font-manifest.json +1 -0
- package/gui/.next/server/pages/404.html +1 -0
- package/gui/.next/server/pages/500.html +1 -0
- package/gui/.next/server/pages/_app.js +1 -0
- package/gui/.next/server/pages/_app.js.nft.json +1 -0
- package/gui/.next/server/pages/_document.js +1 -0
- package/gui/.next/server/pages/_document.js.nft.json +1 -0
- package/gui/.next/server/pages/_error.js +19 -0
- package/gui/.next/server/pages/_error.js.nft.json +1 -0
- package/gui/.next/server/pages-manifest.json +6 -0
- package/gui/.next/server/server-reference-manifest.js +1 -0
- package/gui/.next/server/server-reference-manifest.json +1 -0
- package/gui/.next/server/webpack-runtime.js +1 -0
- package/gui/.next/static/7x8X_k4tESvkyqRnNCC9E/_buildManifest.js +1 -0
- package/gui/.next/static/7x8X_k4tESvkyqRnNCC9E/_ssgManifest.js +1 -0
- package/gui/.next/static/chunks/17a9af85-3150126cc8b0fbba.js +1 -0
- package/gui/.next/static/chunks/18-7be73bec2ceaa744.js +1 -0
- package/gui/.next/static/chunks/51af2d27-9a58e6b5db9a3047.js +1 -0
- package/gui/.next/static/chunks/661-5fc9351358e2f084.js +1 -0
- package/gui/.next/static/chunks/87c73c54-24122e7b92478d00.js +1 -0
- package/gui/.next/static/chunks/app/_not-found/page-f15332c94524c284.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-connect-services/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-harness-repo-provisioning/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-harness-secrets/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-linear-setup/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-local-files/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-target-workflow/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-vercel-bridge/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/finalize-target-workflow/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/harness-provisioning-summary/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/linear-options/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/linear-summary/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/local-readiness/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/manual-harness-secret-values/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-connect-services/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-harness-repo-provisioning/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-harness-secrets/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-linear-setup/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-local-files/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-target-workflow/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-vercel-bridge/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/remote-summary/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/summary/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/vercel-bridge-options/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/vercel-bridge-redeploy-status/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/vercel-summary/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/verify-harness-repo/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/verify-service/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/verify-target-repo/route-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/layout-10445a363bff6a38.js +1 -0
- package/gui/.next/static/chunks/app/page-979ec1702bd9938a.js +1 -0
- package/gui/.next/static/chunks/app/settings/configure/page-25b2288ace2949a1.js +1 -0
- package/gui/.next/static/chunks/framework-7318ce553e854ad6.js +1 -0
- package/gui/.next/static/chunks/main-app-732547e2b1a794b6.js +1 -0
- package/gui/.next/static/chunks/main-f7a784f5852cbbd1.js +1 -0
- package/gui/.next/static/chunks/pages/_app-2e239ff05bfdf6d6.js +1 -0
- package/gui/.next/static/chunks/pages/_error-bda15e7831eec981.js +1 -0
- package/gui/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
- package/gui/.next/static/chunks/webpack-1e50074b7e886e1b.js +1 -0
- package/gui/.next/static/css/cc2acc71c03f3b4b.css +3 -0
- package/gui/.next/static/media/19cfc7226ec3afaa-s.woff2 +0 -0
- package/gui/.next/static/media/21350d82a1f187e9-s.woff2 +0 -0
- package/gui/.next/static/media/8e9860b6e62d6359-s.woff2 +0 -0
- package/gui/.next/static/media/ba9851c3c22cd980-s.woff2 +0 -0
- package/gui/.next/static/media/c5fe6dc8356a8c31-s.woff2 +0 -0
- package/gui/.next/static/media/df0a9ae256c0569c-s.woff2 +0 -0
- package/gui/.next/static/media/e4af272ccee01ff0-s.p.woff2 +0 -0
- package/gui/.next/trace +4 -0
- package/gui/.next/types/app/api/setup/apply-connect-services/route.ts +347 -0
- package/gui/.next/types/app/api/setup/apply-harness-repo-provisioning/route.ts +347 -0
- package/gui/.next/types/app/api/setup/apply-harness-secrets/route.ts +347 -0
- package/gui/.next/types/app/api/setup/apply-linear-setup/route.ts +347 -0
- package/gui/.next/types/app/api/setup/apply-local-files/route.ts +347 -0
- package/gui/.next/types/app/api/setup/apply-target-workflow/route.ts +347 -0
- package/gui/.next/types/app/api/setup/apply-vercel-bridge/route.ts +347 -0
- package/gui/.next/types/app/api/setup/finalize-target-workflow/route.ts +347 -0
- package/gui/.next/types/app/api/setup/harness-provisioning-summary/route.ts +347 -0
- package/gui/.next/types/app/api/setup/linear-options/route.ts +347 -0
- package/gui/.next/types/app/api/setup/linear-summary/route.ts +347 -0
- package/gui/.next/types/app/api/setup/local-readiness/route.ts +347 -0
- package/gui/.next/types/app/api/setup/manual-harness-secret-values/route.ts +347 -0
- package/gui/.next/types/app/api/setup/preview-connect-services/route.ts +347 -0
- package/gui/.next/types/app/api/setup/preview-harness-repo-provisioning/route.ts +347 -0
- package/gui/.next/types/app/api/setup/preview-harness-secrets/route.ts +347 -0
- package/gui/.next/types/app/api/setup/preview-linear-setup/route.ts +347 -0
- package/gui/.next/types/app/api/setup/preview-local-files/route.ts +347 -0
- package/gui/.next/types/app/api/setup/preview-target-workflow/route.ts +347 -0
- package/gui/.next/types/app/api/setup/preview-vercel-bridge/route.ts +347 -0
- package/gui/.next/types/app/api/setup/remote-summary/route.ts +347 -0
- package/gui/.next/types/app/api/setup/summary/route.ts +347 -0
- package/gui/.next/types/app/api/setup/vercel-bridge-options/route.ts +347 -0
- package/gui/.next/types/app/api/setup/vercel-bridge-redeploy-status/route.ts +347 -0
- package/gui/.next/types/app/api/setup/vercel-summary/route.ts +347 -0
- package/gui/.next/types/app/api/setup/verify-harness-repo/route.ts +347 -0
- package/gui/.next/types/app/api/setup/verify-service/route.ts +347 -0
- package/gui/.next/types/app/api/setup/verify-target-repo/route.ts +347 -0
- package/gui/.next/types/app/layout.ts +84 -0
- package/gui/.next/types/app/page.ts +84 -0
- package/gui/.next/types/app/settings/configure/page.ts +84 -0
- package/gui/.next/types/cache-life.d.ts +141 -0
- package/gui/.next/types/package.json +1 -0
- package/gui/.next/types/routes.d.ts +101 -0
- package/gui/.next/types/validator.ts +331 -0
- package/gui/next.config.mjs +13 -0
- package/gui/postcss.config.mjs +8 -0
- package/gui/public/setup/github-token/github-pat-generate-classic.png +0 -0
- package/gui/public/setup/github-token/github-pat-generate-new-token.png +0 -0
- package/gui/public/setup/github-token/github-pat-verify-email.png +0 -0
- package/package.json +62 -0
- package/templates/.env.example +37 -0
- package/templates/.harness/config.example.json +83 -0
|
@@ -0,0 +1,816 @@
|
|
|
1
|
+
import { mkdir, writeFile } from "node:fs/promises";
|
|
2
|
+
import { DEFAULT_MERGE_DEPLOYMENT_POLL_INTERVAL_SECONDS, DEFAULT_MERGE_DEPLOYMENT_POLL_TIMEOUT_SECONDS, DEFAULT_MERGE_CHECK_POLL_TIMEOUT_SECONDS, DEFAULT_MERGE_DEPLOYMENT_REQUIRED, DEFAULT_MERGE_METHOD, MERGE_PROMPT_VERSION, MILESTONE, } from "../../config/defaults.js";
|
|
3
|
+
import { getTransitionalStatus, resolveMergeSuccessStatus, } from "../../config/status-names.js";
|
|
4
|
+
import { writeManifest } from "../../artifacts/manifest.js";
|
|
5
|
+
import { writeRunSummary } from "../../artifacts/summary.js";
|
|
6
|
+
import { getGithubChecksBeforeMergePath, getGithubMergeResultPath, getGithubPrAfterMergePath, getGithubPrBeforeMergePath, getIssueSnapshotAfterPath, getMergeCompletionCommentPath, getMergeRecoveryPath, getMergeSourceCommentLoadedPath, getProductionDeploymentPath, } from "../../artifacts/paths.js";
|
|
7
|
+
import { buildMergeCompletionCommentBody, parsePrNumberFromUrl, writeCommentsArtifact, } from "../../linear/comments.js";
|
|
8
|
+
import { parseHarnessMarkers } from "../../linear/markers.js";
|
|
9
|
+
import { fetchLinearIssue } from "../../linear/client.js";
|
|
10
|
+
import { findLatestMergeSourceComment } from "../../linear/merge-source-comment.js";
|
|
11
|
+
import { createLinearClient, listIssueComments, postErrorComment, postMergeCompletionComment, postPhaseStartCommentIfNeeded, transitionIssueStatus, } from "../../linear/writer.js";
|
|
12
|
+
import { GitHubClient } from "../../github/client.js";
|
|
13
|
+
import { assertPrBaseBranchMatches, assertPullRequestMergeable, isIntegrationRepairEligible, } from "../../github/base-branch.js";
|
|
14
|
+
import { evaluateChecksForMerge } from "../../github/check-policy.js";
|
|
15
|
+
import { classifyMergeError, isAlreadyMergedError } from "../../github/merge-result.js";
|
|
16
|
+
import { classifyGitHubError, inspectPullRequestForMerge, inspectPullRequestPostMerge, } from "../../github/pr-inspector.js";
|
|
17
|
+
import { parsePrUrl } from "../../github/pr-url.js";
|
|
18
|
+
import { pollForProductionDeployment, inferVercelReadyFromComments } from "../../preview/production-from-merge.js";
|
|
19
|
+
import { resolvePreviewLinks } from "../../preview/urls.js";
|
|
20
|
+
import { normalizeRepoUrl } from "../../resolver/normalize-repo.js";
|
|
21
|
+
import { resolveModelId } from "../../agents/index.js";
|
|
22
|
+
import { MergeError } from "../errors.js";
|
|
23
|
+
import { attemptIntegrationRepair } from "./integration-repair.js";
|
|
24
|
+
import { runPreflight } from "../preflight.js";
|
|
25
|
+
import { assertMergeEligibleStatus, checkMergeIdempotency, } from "../idempotency.js";
|
|
26
|
+
function requireEnv(name) {
|
|
27
|
+
const value = process.env[name];
|
|
28
|
+
if (!value) {
|
|
29
|
+
throw new MergeError(name === "LINEAR_API_KEY" ? "linear_auth_failure" : "github_auth_failure", `${name} is required for live merge runs`);
|
|
30
|
+
}
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
function emptyMergeManifestFields() {
|
|
34
|
+
return {
|
|
35
|
+
changedFiles: null,
|
|
36
|
+
checkSummary: null,
|
|
37
|
+
previousImplementationRunId: null,
|
|
38
|
+
previousHandoffRunId: null,
|
|
39
|
+
pmFeedbackCommentId: null,
|
|
40
|
+
previousRevisionRunId: null,
|
|
41
|
+
mergeCommitSha: null,
|
|
42
|
+
mergeMethod: null,
|
|
43
|
+
mergedAt: null,
|
|
44
|
+
deploymentUrl: null,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function getProductionUrlReference(config, repoConfigId) {
|
|
48
|
+
const mapping = config.repos.find((repo) => repo.id === repoConfigId);
|
|
49
|
+
return mapping?.productionUrl ?? null;
|
|
50
|
+
}
|
|
51
|
+
const DRAFT_READY_POLL_TIMEOUT_MS = 30_000;
|
|
52
|
+
const DRAFT_READY_POLL_INTERVAL_MS = 2_000;
|
|
53
|
+
const MAX_REPAIR_FAILURES_PER_ISSUE = 3;
|
|
54
|
+
function countRepairFailuresForPr(comments, orchestratorMarker, prUrl) {
|
|
55
|
+
return comments.filter((comment) => {
|
|
56
|
+
const markers = parseHarnessMarkers(comment.body);
|
|
57
|
+
return (markers.orchestratorMarker === orchestratorMarker &&
|
|
58
|
+
markers.phase === "repair_failed" &&
|
|
59
|
+
markers.prUrl === prUrl);
|
|
60
|
+
}).length;
|
|
61
|
+
}
|
|
62
|
+
async function ensurePullRequestReadyForMerge(github, parsedPr, markerTargetRepo, events, prUrl, initialInspection) {
|
|
63
|
+
if (!initialInspection.isDraft) {
|
|
64
|
+
return initialInspection;
|
|
65
|
+
}
|
|
66
|
+
await github.markPullRequestReadyForReview(parsedPr.owner, parsedPr.repo, parsedPr.pullNumber);
|
|
67
|
+
const deadline = Date.now() + DRAFT_READY_POLL_TIMEOUT_MS;
|
|
68
|
+
let pollCount = 0;
|
|
69
|
+
let lastDraft = true;
|
|
70
|
+
while (Date.now() < deadline) {
|
|
71
|
+
const inspection = await inspectPullRequestForMerge(github, parsedPr, markerTargetRepo);
|
|
72
|
+
pollCount += 1;
|
|
73
|
+
lastDraft = inspection.isDraft;
|
|
74
|
+
if (!inspection.isDraft) {
|
|
75
|
+
await events.log("github_pr_marked_ready", "info", { prUrl, pollCount });
|
|
76
|
+
return inspection;
|
|
77
|
+
}
|
|
78
|
+
await new Promise((resolve) => setTimeout(resolve, DRAFT_READY_POLL_INTERVAL_MS));
|
|
79
|
+
}
|
|
80
|
+
throw new MergeError("github_merge_failure", `Pull request remained draft after mark-ready request (pollCount=${pollCount}, lastDraft=${lastDraft})`);
|
|
81
|
+
}
|
|
82
|
+
async function writeErrorArtifact(runDirectory, message, errorClassification) {
|
|
83
|
+
await mkdir(`${runDirectory}/errors`, { recursive: true });
|
|
84
|
+
await writeFile(`${runDirectory}/errors/error.json`, `${JSON.stringify({ message, errorClassification }, null, 2)}\n`, "utf8");
|
|
85
|
+
}
|
|
86
|
+
async function writeMergeRecoveryArtifact(runDirectory, recovery) {
|
|
87
|
+
await mkdir(`${runDirectory}/outputs`, { recursive: true });
|
|
88
|
+
await writeFile(getMergeRecoveryPath(runDirectory), `${JSON.stringify(recovery, null, 2)}\n`, "utf8");
|
|
89
|
+
}
|
|
90
|
+
async function writeFinalManifest(manifest, runDirectory, parsed, resolved, events, finalOutcome, errorClassification) {
|
|
91
|
+
if (runDirectory) {
|
|
92
|
+
await writeManifest(runDirectory, manifest);
|
|
93
|
+
await writeRunSummary(runDirectory, manifest, parsed, resolved);
|
|
94
|
+
await events?.log("run_finished", finalOutcome === "success" ? "info" : "error", {
|
|
95
|
+
finalOutcome,
|
|
96
|
+
errorClassification,
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
const exitCode = finalOutcome === "success" || finalOutcome === "duplicate"
|
|
100
|
+
? 0
|
|
101
|
+
: errorClassification &&
|
|
102
|
+
[
|
|
103
|
+
"ambiguous_issue",
|
|
104
|
+
"missing_target_repo",
|
|
105
|
+
"unknown_repo_denied",
|
|
106
|
+
"wrong_status",
|
|
107
|
+
"linear_auth_failure",
|
|
108
|
+
"github_auth_failure",
|
|
109
|
+
"missing_merge_source_marker",
|
|
110
|
+
"missing_pr_url",
|
|
111
|
+
"base_branch_missing",
|
|
112
|
+
"wrong_pr_base_branch",
|
|
113
|
+
"checks_failing",
|
|
114
|
+
"checks_pending",
|
|
115
|
+
"checks_unknown",
|
|
116
|
+
].includes(errorClassification)
|
|
117
|
+
? 2
|
|
118
|
+
: 3;
|
|
119
|
+
return { manifest, runDirectory, exitCode };
|
|
120
|
+
}
|
|
121
|
+
async function postCompletionAndTransition(client, issue, mergeBody, footer, mergeSuccessStatus, events, linearStatusBefore) {
|
|
122
|
+
const commentId = await postMergeCompletionComment(client, issue.id, mergeBody, footer);
|
|
123
|
+
await events.log("merge_comment_posted", "info", { commentId });
|
|
124
|
+
await events.log("linear_comment_posted", "info", {
|
|
125
|
+
phase: "merge",
|
|
126
|
+
commentId,
|
|
127
|
+
});
|
|
128
|
+
await transitionIssueStatus(client, issue, mergeSuccessStatus);
|
|
129
|
+
await events.log("linear_status_changed", "info", {
|
|
130
|
+
from: linearStatusBefore,
|
|
131
|
+
to: mergeSuccessStatus,
|
|
132
|
+
});
|
|
133
|
+
return mergeSuccessStatus;
|
|
134
|
+
}
|
|
135
|
+
export async function executeMergePhase(options) {
|
|
136
|
+
let linearApiKey;
|
|
137
|
+
let githubToken;
|
|
138
|
+
try {
|
|
139
|
+
githubToken = requireEnv("GITHUB_TOKEN");
|
|
140
|
+
linearApiKey = requireEnv("LINEAR_API_KEY");
|
|
141
|
+
}
|
|
142
|
+
catch (error) {
|
|
143
|
+
if (error instanceof MergeError) {
|
|
144
|
+
const startedAt = new Date().toISOString();
|
|
145
|
+
const manifest = {
|
|
146
|
+
runId: `auth-failure-${options.issueKey}`,
|
|
147
|
+
issueKey: options.issueKey,
|
|
148
|
+
phase: "merge",
|
|
149
|
+
phaseInferredFromStatus: null,
|
|
150
|
+
linearStatusBefore: null,
|
|
151
|
+
linearStatusAfter: null,
|
|
152
|
+
targetRepo: null,
|
|
153
|
+
baseBranch: null,
|
|
154
|
+
resolutionSource: null,
|
|
155
|
+
dryRun: false,
|
|
156
|
+
finalOutcome: "failed",
|
|
157
|
+
errorClassification: error.classification,
|
|
158
|
+
startedAt,
|
|
159
|
+
finishedAt: startedAt,
|
|
160
|
+
milestone: MILESTONE,
|
|
161
|
+
promptVersion: null,
|
|
162
|
+
cursorAgentId: null,
|
|
163
|
+
cursorRunId: null,
|
|
164
|
+
branch: null,
|
|
165
|
+
prUrl: null,
|
|
166
|
+
previewUrl: null,
|
|
167
|
+
validationSummary: null,
|
|
168
|
+
model: null,
|
|
169
|
+
...emptyMergeManifestFields(),
|
|
170
|
+
};
|
|
171
|
+
return { manifest, runDirectory: "", exitCode: 2 };
|
|
172
|
+
}
|
|
173
|
+
throw error;
|
|
174
|
+
}
|
|
175
|
+
const preflight = await runPreflight({
|
|
176
|
+
issueKey: options.issueKey,
|
|
177
|
+
configPath: options.configPath,
|
|
178
|
+
linearApiKey,
|
|
179
|
+
});
|
|
180
|
+
if (!preflight.success) {
|
|
181
|
+
const manifest = {
|
|
182
|
+
runId: preflight.runId,
|
|
183
|
+
issueKey: options.issueKey,
|
|
184
|
+
phase: "merge",
|
|
185
|
+
phaseInferredFromStatus: preflight.phaseInferredFromStatus,
|
|
186
|
+
linearStatusBefore: preflight.issue?.status ?? null,
|
|
187
|
+
linearStatusAfter: preflight.issue?.status ?? null,
|
|
188
|
+
targetRepo: preflight.resolved?.targetRepo ?? null,
|
|
189
|
+
baseBranch: preflight.resolved?.baseBranch ?? null,
|
|
190
|
+
resolutionSource: preflight.resolved?.resolutionSource ?? null,
|
|
191
|
+
dryRun: false,
|
|
192
|
+
finalOutcome: "failed",
|
|
193
|
+
errorClassification: preflight.errorClassification,
|
|
194
|
+
startedAt: preflight.startedAt.toISOString(),
|
|
195
|
+
finishedAt: new Date().toISOString(),
|
|
196
|
+
milestone: MILESTONE,
|
|
197
|
+
promptVersion: null,
|
|
198
|
+
cursorAgentId: null,
|
|
199
|
+
cursorRunId: null,
|
|
200
|
+
branch: null,
|
|
201
|
+
prUrl: null,
|
|
202
|
+
previewUrl: null,
|
|
203
|
+
validationSummary: null,
|
|
204
|
+
model: preflight.config ? resolveModelId(preflight.config) : null,
|
|
205
|
+
...emptyMergeManifestFields(),
|
|
206
|
+
};
|
|
207
|
+
return writeFinalManifest(manifest, preflight.runDirectory, preflight.parsed, preflight.resolved, preflight.events, "failed", preflight.errorClassification);
|
|
208
|
+
}
|
|
209
|
+
const { config, issue, parsed, resolved, runId, runDirectory, events, phase, phaseInferredFromStatus, startedAt, } = preflight.context;
|
|
210
|
+
const linearStatusBefore = issue.status;
|
|
211
|
+
let linearStatusAfter = issue.status;
|
|
212
|
+
let finalOutcome = "failed";
|
|
213
|
+
let errorClassification = null;
|
|
214
|
+
let branch = null;
|
|
215
|
+
let prUrl = null;
|
|
216
|
+
let previewUrl = null;
|
|
217
|
+
let validationSummary = null;
|
|
218
|
+
let changedFiles = null;
|
|
219
|
+
let checkSummary = null;
|
|
220
|
+
let previousHandoffRunId = null;
|
|
221
|
+
let previousRevisionRunId = null;
|
|
222
|
+
let mergeCommitSha = null;
|
|
223
|
+
let mergeMethod = config.merge?.mergeMethod ?? DEFAULT_MERGE_METHOD;
|
|
224
|
+
let mergedAt = null;
|
|
225
|
+
let deploymentUrl = null;
|
|
226
|
+
let enteredMerging = false;
|
|
227
|
+
let prMerged = false;
|
|
228
|
+
const model = resolveModelId(config);
|
|
229
|
+
const commentsWritten = [];
|
|
230
|
+
const footerBase = {
|
|
231
|
+
orchestratorMarker: config.orchestratorMarker,
|
|
232
|
+
phase: "merge",
|
|
233
|
+
runId,
|
|
234
|
+
model,
|
|
235
|
+
promptVersion: MERGE_PROMPT_VERSION,
|
|
236
|
+
targetRepo: resolved.targetRepo,
|
|
237
|
+
baseBranch: resolved.baseBranch,
|
|
238
|
+
};
|
|
239
|
+
const client = createLinearClient(linearApiKey);
|
|
240
|
+
const github = new GitHubClient({ token: githubToken });
|
|
241
|
+
const mergeSuccessStatus = resolveMergeSuccessStatus(resolved, config);
|
|
242
|
+
const mergingStatus = getTransitionalStatus(config, "mergingInProgress");
|
|
243
|
+
try {
|
|
244
|
+
const comments = await listIssueComments(client, issue.id);
|
|
245
|
+
const mergeSource = findLatestMergeSourceComment(comments, config.orchestratorMarker);
|
|
246
|
+
if (!mergeSource) {
|
|
247
|
+
throw new MergeError("missing_merge_source_marker", "No durable handoff or revision marker comment found");
|
|
248
|
+
}
|
|
249
|
+
const sourceMarkers = mergeSource.markers;
|
|
250
|
+
if (!sourceMarkers.prUrl) {
|
|
251
|
+
throw new MergeError("missing_pr_url", "Merge source marker is missing pr_url");
|
|
252
|
+
}
|
|
253
|
+
prUrl = sourceMarkers.prUrl;
|
|
254
|
+
branch = sourceMarkers.branch ?? null;
|
|
255
|
+
previewUrl = sourceMarkers.previewUrl ?? null;
|
|
256
|
+
previousHandoffRunId =
|
|
257
|
+
mergeSource.source === "revision"
|
|
258
|
+
? sourceMarkers.previousHandoffRunId ?? null
|
|
259
|
+
: sourceMarkers.runId ?? null;
|
|
260
|
+
previousRevisionRunId =
|
|
261
|
+
mergeSource.source === "revision" ? sourceMarkers.runId ?? null : null;
|
|
262
|
+
const markerTargetRepo = normalizeRepoUrl(sourceMarkers.targetRepo ?? resolved.targetRepo);
|
|
263
|
+
await mkdir(`${runDirectory}/linear`, { recursive: true });
|
|
264
|
+
await writeFile(getMergeSourceCommentLoadedPath(runDirectory), `${mergeSource.comment.body}\n`, "utf8");
|
|
265
|
+
await events.log("merge_source_comment_loaded", "info", {
|
|
266
|
+
commentId: mergeSource.comment.id,
|
|
267
|
+
source: mergeSource.source,
|
|
268
|
+
});
|
|
269
|
+
const parsedPr = parsePrUrl(prUrl);
|
|
270
|
+
if (!parsedPr) {
|
|
271
|
+
throw new MergeError("missing_pr_url", `Invalid PR URL: ${prUrl}`);
|
|
272
|
+
}
|
|
273
|
+
const earlyIdempotency = checkMergeIdempotency(config, issue, comments, prUrl, false, Boolean(options.force));
|
|
274
|
+
if (earlyIdempotency.skip) {
|
|
275
|
+
await events.log("idempotency_skip", "info", { reason: earlyIdempotency.reason });
|
|
276
|
+
finalOutcome = "duplicate";
|
|
277
|
+
errorClassification = "duplicate_phase_completed";
|
|
278
|
+
const manifest = {
|
|
279
|
+
runId,
|
|
280
|
+
issueKey: options.issueKey,
|
|
281
|
+
phase,
|
|
282
|
+
phaseInferredFromStatus,
|
|
283
|
+
linearStatusBefore,
|
|
284
|
+
linearStatusAfter,
|
|
285
|
+
targetRepo: resolved.targetRepo,
|
|
286
|
+
baseBranch: resolved.baseBranch,
|
|
287
|
+
resolutionSource: resolved.resolutionSource,
|
|
288
|
+
dryRun: false,
|
|
289
|
+
finalOutcome,
|
|
290
|
+
errorClassification,
|
|
291
|
+
startedAt: startedAt.toISOString(),
|
|
292
|
+
finishedAt: new Date().toISOString(),
|
|
293
|
+
milestone: MILESTONE,
|
|
294
|
+
promptVersion: MERGE_PROMPT_VERSION,
|
|
295
|
+
cursorAgentId: null,
|
|
296
|
+
cursorRunId: null,
|
|
297
|
+
branch,
|
|
298
|
+
prUrl,
|
|
299
|
+
previewUrl,
|
|
300
|
+
validationSummary,
|
|
301
|
+
changedFiles,
|
|
302
|
+
checkSummary,
|
|
303
|
+
previousImplementationRunId: null,
|
|
304
|
+
previousHandoffRunId,
|
|
305
|
+
pmFeedbackCommentId: sourceMarkers.pmFeedbackCommentId ?? null,
|
|
306
|
+
previousRevisionRunId,
|
|
307
|
+
mergeCommitSha: null,
|
|
308
|
+
mergeMethod,
|
|
309
|
+
mergedAt: null,
|
|
310
|
+
deploymentUrl,
|
|
311
|
+
model,
|
|
312
|
+
};
|
|
313
|
+
return writeFinalManifest(manifest, runDirectory, parsed, resolved, events, finalOutcome, errorClassification);
|
|
314
|
+
}
|
|
315
|
+
const readyToMerge = getTransitionalStatus(config, "readyToMerge");
|
|
316
|
+
const issueStatus = issue.status?.trim() ?? "";
|
|
317
|
+
if (issueStatus.toLowerCase() === readyToMerge.toLowerCase()) {
|
|
318
|
+
await transitionIssueStatus(client, issue, mergingStatus);
|
|
319
|
+
enteredMerging = true;
|
|
320
|
+
linearStatusAfter = mergingStatus;
|
|
321
|
+
await events.log("linear_status_changed", "info", {
|
|
322
|
+
from: linearStatusBefore,
|
|
323
|
+
to: mergingStatus,
|
|
324
|
+
});
|
|
325
|
+
const mergeStartCommentId = await postPhaseStartCommentIfNeeded(client, issue.id, {
|
|
326
|
+
orchestratorMarker: config.orchestratorMarker,
|
|
327
|
+
phase: "merge_start",
|
|
328
|
+
runId,
|
|
329
|
+
issueKey: issue.identifier,
|
|
330
|
+
targetRepo: markerTargetRepo,
|
|
331
|
+
baseBranch: resolved.baseBranch,
|
|
332
|
+
model,
|
|
333
|
+
promptVersion: MERGE_PROMPT_VERSION,
|
|
334
|
+
branch: branch ?? undefined,
|
|
335
|
+
prUrl,
|
|
336
|
+
});
|
|
337
|
+
if (mergeStartCommentId) {
|
|
338
|
+
await events.log("phase_start_comment_posted", "info", {
|
|
339
|
+
phase: "merge_start",
|
|
340
|
+
commentId: mergeStartCommentId,
|
|
341
|
+
});
|
|
342
|
+
await events.log("linear_comment_posted", "info", {
|
|
343
|
+
phase: "merge_start",
|
|
344
|
+
commentId: mergeStartCommentId,
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
let preInspection;
|
|
349
|
+
try {
|
|
350
|
+
preInspection = await inspectPullRequestForMerge(github, parsedPr, markerTargetRepo);
|
|
351
|
+
}
|
|
352
|
+
catch (error) {
|
|
353
|
+
const classification = classifyGitHubError(error);
|
|
354
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
355
|
+
if (message.includes("wrong_target_repo")) {
|
|
356
|
+
throw new MergeError("wrong_target_repo", message);
|
|
357
|
+
}
|
|
358
|
+
if (message.includes("pr_closed")) {
|
|
359
|
+
throw new MergeError("pr_closed", message);
|
|
360
|
+
}
|
|
361
|
+
throw new MergeError(classification, message);
|
|
362
|
+
}
|
|
363
|
+
prMerged = preInspection.merged;
|
|
364
|
+
branch = preInspection.branch;
|
|
365
|
+
prUrl = preInspection.url;
|
|
366
|
+
try {
|
|
367
|
+
assertPrBaseBranchMatches({
|
|
368
|
+
prUrl,
|
|
369
|
+
actualBaseBranch: preInspection.baseBranch,
|
|
370
|
+
expectedBaseBranch: resolved.baseBranch,
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
catch (error) {
|
|
374
|
+
throw new MergeError("wrong_pr_base_branch", error instanceof Error ? error.message : String(error));
|
|
375
|
+
}
|
|
376
|
+
changedFiles = preInspection.changedFiles.map((f) => f.path);
|
|
377
|
+
checkSummary = preInspection.checkSummary;
|
|
378
|
+
const idempotency = checkMergeIdempotency(config, issue, comments, prUrl, prMerged, Boolean(options.force));
|
|
379
|
+
if (idempotency.skip) {
|
|
380
|
+
await events.log("idempotency_skip", "info", { reason: idempotency.reason });
|
|
381
|
+
finalOutcome = "duplicate";
|
|
382
|
+
errorClassification = "duplicate_phase_completed";
|
|
383
|
+
const manifest = {
|
|
384
|
+
runId,
|
|
385
|
+
issueKey: options.issueKey,
|
|
386
|
+
phase,
|
|
387
|
+
phaseInferredFromStatus,
|
|
388
|
+
linearStatusBefore,
|
|
389
|
+
linearStatusAfter,
|
|
390
|
+
targetRepo: resolved.targetRepo,
|
|
391
|
+
baseBranch: resolved.baseBranch,
|
|
392
|
+
resolutionSource: resolved.resolutionSource,
|
|
393
|
+
dryRun: false,
|
|
394
|
+
finalOutcome,
|
|
395
|
+
errorClassification,
|
|
396
|
+
startedAt: startedAt.toISOString(),
|
|
397
|
+
finishedAt: new Date().toISOString(),
|
|
398
|
+
milestone: MILESTONE,
|
|
399
|
+
promptVersion: MERGE_PROMPT_VERSION,
|
|
400
|
+
cursorAgentId: null,
|
|
401
|
+
cursorRunId: null,
|
|
402
|
+
branch,
|
|
403
|
+
prUrl,
|
|
404
|
+
previewUrl,
|
|
405
|
+
validationSummary,
|
|
406
|
+
changedFiles,
|
|
407
|
+
checkSummary,
|
|
408
|
+
previousImplementationRunId: null,
|
|
409
|
+
previousHandoffRunId,
|
|
410
|
+
pmFeedbackCommentId: sourceMarkers.pmFeedbackCommentId ?? null,
|
|
411
|
+
previousRevisionRunId,
|
|
412
|
+
mergeCommitSha: preInspection.mergeCommitSha,
|
|
413
|
+
mergeMethod,
|
|
414
|
+
mergedAt: preInspection.mergedAt,
|
|
415
|
+
deploymentUrl,
|
|
416
|
+
model,
|
|
417
|
+
};
|
|
418
|
+
return writeFinalManifest(manifest, runDirectory, parsed, resolved, events, finalOutcome, errorClassification);
|
|
419
|
+
}
|
|
420
|
+
if (idempotency.reason?.startsWith("wrong_status")) {
|
|
421
|
+
throw new MergeError("wrong_status", idempotency.reason);
|
|
422
|
+
}
|
|
423
|
+
const isRecovery = idempotency.reason?.startsWith("recovery:");
|
|
424
|
+
if (!isRecovery) {
|
|
425
|
+
try {
|
|
426
|
+
assertMergeEligibleStatus(config, issue, Boolean(options.force));
|
|
427
|
+
}
|
|
428
|
+
catch (error) {
|
|
429
|
+
throw new MergeError("wrong_status", error instanceof Error ? error.message : String(error));
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
await mkdir(`${runDirectory}/github`, { recursive: true });
|
|
433
|
+
await writeFile(getGithubPrBeforeMergePath(runDirectory), `${JSON.stringify(preInspection, null, 2)}\n`, "utf8");
|
|
434
|
+
if (preInspection.rawChecks) {
|
|
435
|
+
await writeFile(getGithubChecksBeforeMergePath(runDirectory), `${JSON.stringify({ check_runs: preInspection.rawChecks }, null, 2)}\n`, "utf8");
|
|
436
|
+
}
|
|
437
|
+
if (!prMerged) {
|
|
438
|
+
const checkPollTimeout = config.merge?.checkPollTimeoutSeconds ?? DEFAULT_MERGE_CHECK_POLL_TIMEOUT_SECONDS;
|
|
439
|
+
const checkPollInterval = config.merge?.deploymentPollIntervalSeconds ??
|
|
440
|
+
DEFAULT_MERGE_DEPLOYMENT_POLL_INTERVAL_SECONDS;
|
|
441
|
+
let checkPolicy = evaluateChecksForMerge(preInspection.checks, config);
|
|
442
|
+
const pollDeadline = Date.now() + checkPollTimeout * 1000;
|
|
443
|
+
while (checkPolicy.decision === "block" &&
|
|
444
|
+
checkPolicy.classification === "checks_pending" &&
|
|
445
|
+
Date.now() < pollDeadline) {
|
|
446
|
+
await new Promise((resolve) => setTimeout(resolve, checkPollInterval * 1000));
|
|
447
|
+
preInspection = await inspectPullRequestForMerge(github, parsedPr, markerTargetRepo);
|
|
448
|
+
checkPolicy = evaluateChecksForMerge(preInspection.checks, config);
|
|
449
|
+
}
|
|
450
|
+
await events.log("merge_checks_evaluated", "info", {
|
|
451
|
+
decision: checkPolicy.decision,
|
|
452
|
+
reason: checkPolicy.reason,
|
|
453
|
+
});
|
|
454
|
+
if (checkPolicy.decision === "block" &&
|
|
455
|
+
(checkPolicy.classification === "checks_pending" ||
|
|
456
|
+
checkPolicy.classification === "checks_unknown") &&
|
|
457
|
+
inferVercelReadyFromComments(preInspection.comments)) {
|
|
458
|
+
const warning = "GitHub checks inconclusive; proceeding because Vercel deployment comment reports Ready";
|
|
459
|
+
validationSummary = [validationSummary, warning].filter(Boolean).join("; ");
|
|
460
|
+
checkPolicy = {
|
|
461
|
+
decision: "allow",
|
|
462
|
+
classification: null,
|
|
463
|
+
reason: warning,
|
|
464
|
+
warnings: [warning],
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
if (checkPolicy.decision === "block") {
|
|
468
|
+
throw new MergeError(checkPolicy.classification ?? "checks_failing", checkPolicy.reason);
|
|
469
|
+
}
|
|
470
|
+
if (checkPolicy.warnings.length > 0) {
|
|
471
|
+
validationSummary = checkPolicy.warnings.join("; ");
|
|
472
|
+
}
|
|
473
|
+
changedFiles = preInspection.changedFiles.map((f) => f.path);
|
|
474
|
+
checkSummary = preInspection.checkSummary;
|
|
475
|
+
await writeFile(getGithubPrBeforeMergePath(runDirectory), `${JSON.stringify(preInspection, null, 2)}\n`, "utf8");
|
|
476
|
+
if (preInspection.rawChecks) {
|
|
477
|
+
await writeFile(getGithubChecksBeforeMergePath(runDirectory), `${JSON.stringify({ check_runs: preInspection.rawChecks }, null, 2)}\n`, "utf8");
|
|
478
|
+
}
|
|
479
|
+
if (preInspection.isDraft) {
|
|
480
|
+
preInspection = await ensurePullRequestReadyForMerge(github, parsedPr, markerTargetRepo, events, prUrl, preInspection);
|
|
481
|
+
}
|
|
482
|
+
preInspection = await inspectPullRequestForMerge(github, parsedPr, markerTargetRepo);
|
|
483
|
+
assertPrBaseBranchMatches({
|
|
484
|
+
prUrl: preInspection.url,
|
|
485
|
+
actualBaseBranch: preInspection.baseBranch,
|
|
486
|
+
expectedBaseBranch: resolved.baseBranch,
|
|
487
|
+
});
|
|
488
|
+
try {
|
|
489
|
+
assertPullRequestMergeable({
|
|
490
|
+
prUrl: preInspection.url,
|
|
491
|
+
merged: preInspection.merged,
|
|
492
|
+
mergeable: preInspection.mergeable,
|
|
493
|
+
mergeableState: preInspection.mergeableState,
|
|
494
|
+
baseBranch: resolved.baseBranch,
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
catch (error) {
|
|
498
|
+
if (isIntegrationRepairEligible({
|
|
499
|
+
mergeable: preInspection.mergeable,
|
|
500
|
+
mergeableState: preInspection.mergeableState,
|
|
501
|
+
})) {
|
|
502
|
+
const repairFailureCount = countRepairFailuresForPr(comments, config.orchestratorMarker, preInspection.url);
|
|
503
|
+
if (repairFailureCount >= MAX_REPAIR_FAILURES_PER_ISSUE) {
|
|
504
|
+
throw new MergeError("github_merge_failure", `Integration repair has already failed ${repairFailureCount} time(s) for this PR. Manual recovery is required.`);
|
|
505
|
+
}
|
|
506
|
+
const repair = await attemptIntegrationRepair({
|
|
507
|
+
github,
|
|
508
|
+
linearClient: client,
|
|
509
|
+
issue,
|
|
510
|
+
config,
|
|
511
|
+
parsedIssue: parsed,
|
|
512
|
+
resolved,
|
|
513
|
+
parsedPr,
|
|
514
|
+
markerTargetRepo,
|
|
515
|
+
runId,
|
|
516
|
+
runDirectory,
|
|
517
|
+
events,
|
|
518
|
+
model,
|
|
519
|
+
initialInspection: preInspection,
|
|
520
|
+
cursorApiKey: process.env.CURSOR_API_KEY,
|
|
521
|
+
});
|
|
522
|
+
preInspection = repair.inspection;
|
|
523
|
+
changedFiles = preInspection.changedFiles.map((f) => f.path);
|
|
524
|
+
checkSummary = preInspection.checkSummary;
|
|
525
|
+
validationSummary = [validationSummary, repair.validationSummary]
|
|
526
|
+
.filter(Boolean)
|
|
527
|
+
.join("; ");
|
|
528
|
+
try {
|
|
529
|
+
assertPullRequestMergeable({
|
|
530
|
+
prUrl: preInspection.url,
|
|
531
|
+
merged: preInspection.merged,
|
|
532
|
+
mergeable: preInspection.mergeable,
|
|
533
|
+
mergeableState: preInspection.mergeableState,
|
|
534
|
+
baseBranch: resolved.baseBranch,
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
catch (postRepairError) {
|
|
538
|
+
throw new MergeError("github_merge_failure", postRepairError instanceof Error
|
|
539
|
+
? postRepairError.message
|
|
540
|
+
: String(postRepairError));
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
else {
|
|
544
|
+
throw new MergeError("github_merge_failure", error instanceof Error ? error.message : String(error));
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
await events.log("github_merge_requested", "info", {
|
|
548
|
+
prUrl,
|
|
549
|
+
mergeMethod,
|
|
550
|
+
});
|
|
551
|
+
try {
|
|
552
|
+
const mergeResult = await github.mergePullRequest(parsedPr.owner, parsedPr.repo, parsedPr.pullNumber, { mergeMethod: mergeMethod, commitTitle: preInspection.title });
|
|
553
|
+
mergeCommitSha = mergeResult.sha;
|
|
554
|
+
prMerged = mergeResult.merged;
|
|
555
|
+
await writeFile(getGithubMergeResultPath(runDirectory), `${JSON.stringify(mergeResult, null, 2)}\n`, "utf8");
|
|
556
|
+
await events.log("github_merge_completed", "info", {
|
|
557
|
+
mergeCommitSha,
|
|
558
|
+
merged: prMerged,
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
catch (error) {
|
|
562
|
+
if (isAlreadyMergedError(error)) {
|
|
563
|
+
prMerged = true;
|
|
564
|
+
}
|
|
565
|
+
else {
|
|
566
|
+
const classification = classifyMergeError(error);
|
|
567
|
+
throw new MergeError(classification, error instanceof Error ? error.message : String(error));
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
else {
|
|
572
|
+
mergeCommitSha = preInspection.mergeCommitSha;
|
|
573
|
+
mergedAt = preInspection.mergedAt;
|
|
574
|
+
}
|
|
575
|
+
let postInspection;
|
|
576
|
+
try {
|
|
577
|
+
postInspection = await inspectPullRequestPostMerge(github, parsedPr, markerTargetRepo);
|
|
578
|
+
}
|
|
579
|
+
catch {
|
|
580
|
+
postInspection = preInspection;
|
|
581
|
+
}
|
|
582
|
+
mergeCommitSha = postInspection.mergeCommitSha ?? mergeCommitSha;
|
|
583
|
+
mergedAt = postInspection.mergedAt ?? mergedAt;
|
|
584
|
+
if (!changedFiles?.length) {
|
|
585
|
+
changedFiles = postInspection.changedFiles.map((f) => f.path);
|
|
586
|
+
}
|
|
587
|
+
await writeFile(getGithubPrAfterMergePath(runDirectory), `${JSON.stringify(postInspection, null, 2)}\n`, "utf8");
|
|
588
|
+
if (enteredMerging && !postInspection.merged) {
|
|
589
|
+
throw new MergeError("github_merge_failure", "Pull request was not merged after merge request");
|
|
590
|
+
}
|
|
591
|
+
const mergedToProduction = resolved.baseBranch === resolved.productionBranch;
|
|
592
|
+
const productionReference = getProductionUrlReference(config, resolved.repoConfigId);
|
|
593
|
+
if (mergedToProduction) {
|
|
594
|
+
const deploymentPollTimeout = config.merge?.deploymentPollTimeoutSeconds ??
|
|
595
|
+
DEFAULT_MERGE_DEPLOYMENT_POLL_TIMEOUT_SECONDS;
|
|
596
|
+
const deploymentPollInterval = config.merge?.deploymentPollIntervalSeconds ??
|
|
597
|
+
DEFAULT_MERGE_DEPLOYMENT_POLL_INTERVAL_SECONDS;
|
|
598
|
+
await events.log("deployment_poll_started", "info", {
|
|
599
|
+
pollTimeoutSeconds: deploymentPollTimeout,
|
|
600
|
+
mergedToProduction: true,
|
|
601
|
+
});
|
|
602
|
+
const deploymentResult = await pollForProductionDeployment(async () => {
|
|
603
|
+
const latest = await inspectPullRequestPostMerge(github, parsedPr, markerTargetRepo).catch(() => postInspection);
|
|
604
|
+
return {
|
|
605
|
+
comments: latest.comments,
|
|
606
|
+
checks: latest.checks,
|
|
607
|
+
};
|
|
608
|
+
}, {
|
|
609
|
+
pollTimeoutSeconds: deploymentPollTimeout,
|
|
610
|
+
pollIntervalSeconds: deploymentPollInterval,
|
|
611
|
+
productionUrlReference: productionReference,
|
|
612
|
+
});
|
|
613
|
+
deploymentUrl = deploymentResult.deploymentUrl;
|
|
614
|
+
await mkdir(`${runDirectory}/vercel`, { recursive: true });
|
|
615
|
+
await writeFile(getProductionDeploymentPath(runDirectory), `${JSON.stringify(deploymentResult, null, 2)}\n`, "utf8");
|
|
616
|
+
const deploymentRequired = config.merge?.deploymentRequiredForSuccess ??
|
|
617
|
+
DEFAULT_MERGE_DEPLOYMENT_REQUIRED;
|
|
618
|
+
let deploymentWarning = null;
|
|
619
|
+
if (!deploymentUrl) {
|
|
620
|
+
deploymentWarning =
|
|
621
|
+
deploymentResult.warnings.join("; ") ||
|
|
622
|
+
"Production deployment URL not captured";
|
|
623
|
+
await events.log("deployment_not_found", "warn", {
|
|
624
|
+
warnings: deploymentResult.warnings,
|
|
625
|
+
});
|
|
626
|
+
if (deploymentRequired) {
|
|
627
|
+
throw new MergeError("deployment_not_found", deploymentWarning);
|
|
628
|
+
}
|
|
629
|
+
validationSummary = [validationSummary, deploymentWarning]
|
|
630
|
+
.filter(Boolean)
|
|
631
|
+
.join("; ");
|
|
632
|
+
}
|
|
633
|
+
else {
|
|
634
|
+
await events.log("deployment_captured", "info", {
|
|
635
|
+
deploymentUrl,
|
|
636
|
+
source: deploymentResult.source,
|
|
637
|
+
});
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
else {
|
|
641
|
+
await events.log("deployment_poll_skipped", "info", {
|
|
642
|
+
reason: "integration_merge",
|
|
643
|
+
baseBranch: resolved.baseBranch,
|
|
644
|
+
productionBranch: resolved.productionBranch,
|
|
645
|
+
});
|
|
646
|
+
}
|
|
647
|
+
const previewLinks = resolvePreviewLinks({
|
|
648
|
+
prPreviewUrl: previewUrl,
|
|
649
|
+
integrationPreviewUrl: resolved.integrationPreviewUrl,
|
|
650
|
+
productionUrl: productionReference,
|
|
651
|
+
capturedDeploymentUrl: deploymentUrl,
|
|
652
|
+
mergedBaseBranch: postInspection.baseBranch,
|
|
653
|
+
productionBranch: resolved.productionBranch,
|
|
654
|
+
});
|
|
655
|
+
const mergeBody = buildMergeCompletionCommentBody({
|
|
656
|
+
prUrl: postInspection.url,
|
|
657
|
+
branch: postInspection.branch,
|
|
658
|
+
targetRepo: markerTargetRepo,
|
|
659
|
+
mergeMethod: mergeMethod ?? DEFAULT_MERGE_METHOD,
|
|
660
|
+
mergeCommitSha,
|
|
661
|
+
mergedAt,
|
|
662
|
+
baseBranch: postInspection.baseBranch,
|
|
663
|
+
productionBranch: resolved.productionBranch,
|
|
664
|
+
previewLinks,
|
|
665
|
+
deploymentWarning: validationSummary,
|
|
666
|
+
changedFiles: changedFiles ?? [],
|
|
667
|
+
checkSummary: checkSummary ?? postInspection.checkSummary,
|
|
668
|
+
finalIssueStatus: mergeSuccessStatus,
|
|
669
|
+
harnessRunId: runId,
|
|
670
|
+
previousHandoffRunId,
|
|
671
|
+
previousRevisionRunId,
|
|
672
|
+
});
|
|
673
|
+
const mergeFooter = {
|
|
674
|
+
...footerBase,
|
|
675
|
+
issueKey: options.issueKey,
|
|
676
|
+
productionBranch: resolved.productionBranch,
|
|
677
|
+
integrationSuccessStatus: resolved.integrationSuccessStatus ??
|
|
678
|
+
getTransitionalStatus(config, "mergedToDev"),
|
|
679
|
+
branch: branch ?? undefined,
|
|
680
|
+
prUrl: prUrl ?? undefined,
|
|
681
|
+
prNumber: prUrl ? (parsePrNumberFromUrl(prUrl) ?? undefined) : undefined,
|
|
682
|
+
previewUrl: previewUrl ?? undefined,
|
|
683
|
+
previousHandoffRunId: previousHandoffRunId ?? undefined,
|
|
684
|
+
previousRevisionRunId: previousRevisionRunId ?? undefined,
|
|
685
|
+
pmFeedbackCommentId: sourceMarkers.pmFeedbackCommentId ?? undefined,
|
|
686
|
+
mergeCommitSha: mergeCommitSha ?? undefined,
|
|
687
|
+
deploymentUrl: deploymentUrl ?? undefined,
|
|
688
|
+
};
|
|
689
|
+
if (!enteredMerging && !isRecovery) {
|
|
690
|
+
await transitionIssueStatus(client, issue, mergingStatus);
|
|
691
|
+
enteredMerging = true;
|
|
692
|
+
linearStatusAfter = mergingStatus;
|
|
693
|
+
}
|
|
694
|
+
linearStatusAfter = await postCompletionAndTransition(client, issue, mergeBody, mergeFooter, mergeSuccessStatus, events, linearStatusBefore);
|
|
695
|
+
await writeFile(getMergeCompletionCommentPath(runDirectory), `${mergeBody}\n`, "utf8");
|
|
696
|
+
commentsWritten.push(mergeBody);
|
|
697
|
+
const afterIssue = await fetchLinearIssue(options.issueKey, linearApiKey);
|
|
698
|
+
await writeFile(getIssueSnapshotAfterPath(runDirectory), `${JSON.stringify(afterIssue, null, 2)}\n`, "utf8");
|
|
699
|
+
if (commentsWritten.length > 0) {
|
|
700
|
+
await writeCommentsArtifact(runDirectory, commentsWritten);
|
|
701
|
+
}
|
|
702
|
+
finalOutcome = "success";
|
|
703
|
+
errorClassification = null;
|
|
704
|
+
}
|
|
705
|
+
catch (error) {
|
|
706
|
+
if (error instanceof MergeError) {
|
|
707
|
+
errorClassification = error.classification;
|
|
708
|
+
}
|
|
709
|
+
else {
|
|
710
|
+
errorClassification = "linear_write_failure";
|
|
711
|
+
}
|
|
712
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
713
|
+
await writeErrorArtifact(runDirectory, message, errorClassification);
|
|
714
|
+
const mergeFooter = {
|
|
715
|
+
...footerBase,
|
|
716
|
+
branch: branch ?? undefined,
|
|
717
|
+
prUrl: prUrl ?? undefined,
|
|
718
|
+
previewUrl: previewUrl ?? undefined,
|
|
719
|
+
previousHandoffRunId: previousHandoffRunId ?? undefined,
|
|
720
|
+
previousRevisionRunId: previousRevisionRunId ?? undefined,
|
|
721
|
+
mergeCommitSha: mergeCommitSha ?? undefined,
|
|
722
|
+
deploymentUrl: deploymentUrl ?? undefined,
|
|
723
|
+
};
|
|
724
|
+
if (prMerged && errorClassification === "linear_write_failure") {
|
|
725
|
+
const previewLinks = resolvePreviewLinks({
|
|
726
|
+
prPreviewUrl: previewUrl,
|
|
727
|
+
integrationPreviewUrl: resolved.integrationPreviewUrl,
|
|
728
|
+
productionUrl: getProductionUrlReference(config, resolved.repoConfigId),
|
|
729
|
+
capturedDeploymentUrl: deploymentUrl,
|
|
730
|
+
mergedBaseBranch: resolved.baseBranch,
|
|
731
|
+
productionBranch: resolved.productionBranch,
|
|
732
|
+
});
|
|
733
|
+
const mergeBody = buildMergeCompletionCommentBody({
|
|
734
|
+
prUrl: prUrl ?? "unknown",
|
|
735
|
+
branch: branch ?? "unknown",
|
|
736
|
+
targetRepo: resolved.targetRepo,
|
|
737
|
+
mergeMethod: mergeMethod ?? DEFAULT_MERGE_METHOD,
|
|
738
|
+
mergeCommitSha,
|
|
739
|
+
mergedAt,
|
|
740
|
+
baseBranch: resolved.baseBranch,
|
|
741
|
+
productionBranch: resolved.productionBranch,
|
|
742
|
+
previewLinks,
|
|
743
|
+
deploymentWarning: validationSummary,
|
|
744
|
+
changedFiles: changedFiles ?? [],
|
|
745
|
+
checkSummary: checkSummary ?? "n/a",
|
|
746
|
+
finalIssueStatus: mergeSuccessStatus,
|
|
747
|
+
harnessRunId: runId,
|
|
748
|
+
previousHandoffRunId,
|
|
749
|
+
previousRevisionRunId,
|
|
750
|
+
});
|
|
751
|
+
await writeMergeRecoveryArtifact(runDirectory, {
|
|
752
|
+
prUrl,
|
|
753
|
+
merged: true,
|
|
754
|
+
mergeCommitSha,
|
|
755
|
+
intendedLinearStatus: mergeSuccessStatus,
|
|
756
|
+
intendedCommentBody: mergeBody,
|
|
757
|
+
mergeRunId: runId,
|
|
758
|
+
error: message,
|
|
759
|
+
});
|
|
760
|
+
await events.log("merge_recovery_written", "warn", { prUrl, mergeCommitSha });
|
|
761
|
+
linearStatusAfter = mergingStatus;
|
|
762
|
+
}
|
|
763
|
+
else if (enteredMerging) {
|
|
764
|
+
try {
|
|
765
|
+
await postErrorComment(client, issue.id, message, mergeFooter, "merge");
|
|
766
|
+
const blocked = getTransitionalStatus(config, "blocked");
|
|
767
|
+
await transitionIssueStatus(client, issue, blocked);
|
|
768
|
+
linearStatusAfter = blocked;
|
|
769
|
+
await events.log("linear_status_changed", "info", {
|
|
770
|
+
to: blocked,
|
|
771
|
+
reason: "failure",
|
|
772
|
+
});
|
|
773
|
+
}
|
|
774
|
+
catch {
|
|
775
|
+
// Best-effort blocker update.
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
const manifest = {
|
|
780
|
+
runId,
|
|
781
|
+
issueKey: options.issueKey,
|
|
782
|
+
phase: "merge",
|
|
783
|
+
phaseInferredFromStatus,
|
|
784
|
+
linearStatusBefore,
|
|
785
|
+
linearStatusAfter,
|
|
786
|
+
targetRepo: resolved.targetRepo,
|
|
787
|
+
baseBranch: resolved.baseBranch,
|
|
788
|
+
resolutionSource: resolved.resolutionSource,
|
|
789
|
+
dryRun: false,
|
|
790
|
+
finalOutcome,
|
|
791
|
+
errorClassification,
|
|
792
|
+
startedAt: startedAt.toISOString(),
|
|
793
|
+
finishedAt: new Date().toISOString(),
|
|
794
|
+
milestone: MILESTONE,
|
|
795
|
+
promptVersion: MERGE_PROMPT_VERSION,
|
|
796
|
+
cursorAgentId: null,
|
|
797
|
+
cursorRunId: null,
|
|
798
|
+
branch,
|
|
799
|
+
prUrl,
|
|
800
|
+
previewUrl,
|
|
801
|
+
validationSummary,
|
|
802
|
+
changedFiles,
|
|
803
|
+
checkSummary,
|
|
804
|
+
previousImplementationRunId: null,
|
|
805
|
+
previousHandoffRunId,
|
|
806
|
+
pmFeedbackCommentId: null,
|
|
807
|
+
previousRevisionRunId,
|
|
808
|
+
mergeCommitSha,
|
|
809
|
+
mergeMethod,
|
|
810
|
+
mergedAt,
|
|
811
|
+
deploymentUrl,
|
|
812
|
+
model,
|
|
813
|
+
};
|
|
814
|
+
return writeFinalManifest(manifest, runDirectory, parsed, resolved, events, finalOutcome, errorClassification);
|
|
815
|
+
}
|
|
816
|
+
//# sourceMappingURL=merge.js.map
|