p-dev-harness 0.3.1 → 0.4.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/README.md +12 -4
- package/dist/agents/cursor-provider.d.ts.map +1 -1
- package/dist/agents/cursor-provider.js +9 -8
- package/dist/agents/cursor-provider.js.map +1 -1
- package/dist/agents/index.d.ts +3 -4
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +2 -5
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/types.d.ts +36 -2
- package/dist/agents/types.d.ts.map +1 -1
- package/dist/artifacts/redact.d.ts +2 -0
- package/dist/artifacts/redact.d.ts.map +1 -1
- package/dist/artifacts/redact.js +15 -1
- package/dist/artifacts/redact.js.map +1 -1
- package/dist/artifacts/write-json-out-manifest.d.ts +17 -0
- package/dist/artifacts/write-json-out-manifest.d.ts.map +1 -0
- package/dist/artifacts/write-json-out-manifest.js +68 -0
- package/dist/artifacts/write-json-out-manifest.js.map +1 -0
- package/dist/cli/commands/canary-runner-config.d.ts +2 -0
- package/dist/cli/commands/canary-runner-config.d.ts.map +1 -0
- package/dist/cli/commands/canary-runner-config.js +6 -0
- package/dist/cli/commands/canary-runner-config.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -1
- package/dist/cli/commands/doctor.js +129 -0
- package/dist/cli/commands/doctor.js.map +1 -1
- package/dist/cli/commands/resolve-route.d.ts.map +1 -1
- package/dist/cli/commands/resolve-route.js +5 -0
- package/dist/cli/commands/resolve-route.js.map +1 -1
- package/dist/cli/commands/run.d.ts +1 -0
- package/dist/cli/commands/run.d.ts.map +1 -1
- package/dist/cli/commands/run.js +54 -12
- package/dist/cli/commands/run.js.map +1 -1
- package/dist/cli/commands/sync-managed-runner.d.ts +7 -0
- package/dist/cli/commands/sync-managed-runner.d.ts.map +1 -0
- package/dist/cli/commands/sync-managed-runner.js +89 -0
- package/dist/cli/commands/sync-managed-runner.js.map +1 -0
- package/dist/cli/program.d.ts.map +1 -1
- package/dist/cli/program.js +27 -0
- package/dist/cli/program.js.map +1 -1
- package/dist/config/assert-cloud-config-fingerprint.d.ts +10 -0
- package/dist/config/assert-cloud-config-fingerprint.d.ts.map +1 -0
- package/dist/config/assert-cloud-config-fingerprint.js +26 -0
- package/dist/config/assert-cloud-config-fingerprint.js.map +1 -0
- package/dist/config/cloud-config-fingerprint.d.ts +26 -0
- package/dist/config/cloud-config-fingerprint.d.ts.map +1 -0
- package/dist/config/cloud-config-fingerprint.js +64 -0
- package/dist/config/cloud-config-fingerprint.js.map +1 -0
- package/dist/config/legacy-linear-top-level.d.ts +16 -0
- package/dist/config/legacy-linear-top-level.d.ts.map +1 -0
- package/dist/config/legacy-linear-top-level.js +42 -0
- package/dist/config/legacy-linear-top-level.js.map +1 -0
- package/dist/config/linear-association-gate.d.ts +26 -0
- package/dist/config/linear-association-gate.d.ts.map +1 -0
- package/dist/config/linear-association-gate.js +46 -0
- package/dist/config/linear-association-gate.js.map +1 -0
- package/dist/config/resolve-linear-team.d.ts +10 -0
- package/dist/config/resolve-linear-team.d.ts.map +1 -0
- package/dist/config/resolve-linear-team.js +24 -0
- package/dist/config/resolve-linear-team.js.map +1 -0
- package/dist/config/resolve-linear-workspace.d.ts +83 -0
- package/dist/config/resolve-linear-workspace.d.ts.map +1 -0
- package/dist/config/resolve-linear-workspace.js +244 -0
- package/dist/config/resolve-linear-workspace.js.map +1 -0
- package/dist/config/role-models.d.ts +160 -0
- package/dist/config/role-models.d.ts.map +1 -0
- package/dist/config/role-models.js +31 -0
- package/dist/config/role-models.js.map +1 -0
- package/dist/config/runner-upgrade-sync-gate.d.ts +10 -0
- package/dist/config/runner-upgrade-sync-gate.d.ts.map +1 -0
- package/dist/config/runner-upgrade-sync-gate.js +24 -0
- package/dist/config/runner-upgrade-sync-gate.js.map +1 -0
- package/dist/config/schema.d.ts +266 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +14 -0
- package/dist/config/schema.js.map +1 -1
- package/dist/config/types.d.ts +1 -1
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/workspace-root.d.ts +7 -0
- package/dist/config/workspace-root.d.ts.map +1 -0
- package/dist/config/workspace-root.js +21 -0
- package/dist/config/workspace-root.js.map +1 -0
- package/dist/cursor/agent-factory.d.ts +8 -0
- package/dist/cursor/agent-factory.d.ts.map +1 -1
- package/dist/cursor/agent-factory.js +34 -5
- package/dist/cursor/agent-factory.js.map +1 -1
- package/dist/cursor/builder-resume-errors.d.ts +3 -0
- package/dist/cursor/builder-resume-errors.d.ts.map +1 -0
- package/dist/cursor/builder-resume-errors.js +32 -0
- package/dist/cursor/builder-resume-errors.js.map +1 -0
- package/dist/cursor/model.d.ts +18 -22
- package/dist/cursor/model.d.ts.map +1 -1
- package/dist/cursor/model.js +73 -25
- package/dist/cursor/model.js.map +1 -1
- package/dist/cursor/run-observer.d.ts +8 -1
- package/dist/cursor/run-observer.d.ts.map +1 -1
- package/dist/cursor/run-observer.js +9 -1
- package/dist/cursor/run-observer.js.map +1 -1
- package/dist/github/auth-verification-retry.d.ts +12 -0
- package/dist/github/auth-verification-retry.d.ts.map +1 -0
- package/dist/github/auth-verification-retry.js +47 -0
- package/dist/github/auth-verification-retry.js.map +1 -0
- package/dist/github/client.d.ts +53 -4
- package/dist/github/client.d.ts.map +1 -1
- package/dist/github/client.js +108 -7
- package/dist/github/client.js.map +1 -1
- package/dist/gui/configure-health.js +2 -2
- package/dist/gui/configure-health.js.map +1 -1
- package/dist/gui/repo-root.d.ts +3 -0
- package/dist/gui/repo-root.d.ts.map +1 -1
- package/dist/gui/repo-root.js +16 -1
- package/dist/gui/repo-root.js.map +1 -1
- package/dist/gui/start-configure-stable.js +6 -2
- package/dist/gui/start-configure-stable.js.map +1 -1
- package/dist/gui/start-gui.js +7 -3
- package/dist/gui/start-gui.js.map +1 -1
- package/dist/linear/client.d.ts +4 -0
- package/dist/linear/client.d.ts.map +1 -1
- package/dist/linear/client.js +7 -0
- package/dist/linear/client.js.map +1 -1
- package/dist/linear/comments.d.ts +9 -0
- package/dist/linear/comments.d.ts.map +1 -1
- package/dist/linear/comments.js +34 -0
- package/dist/linear/comments.js.map +1 -1
- package/dist/linear/issue-query.d.ts +1 -0
- package/dist/linear/issue-query.d.ts.map +1 -1
- package/dist/linear/issue-query.js +3 -0
- package/dist/linear/issue-query.js.map +1 -1
- package/dist/linear/markers.d.ts +7 -0
- package/dist/linear/markers.d.ts.map +1 -1
- package/dist/linear/markers.js +21 -0
- package/dist/linear/markers.js.map +1 -1
- package/dist/linear/parser.d.ts +2 -1
- package/dist/linear/parser.d.ts.map +1 -1
- package/dist/linear/parser.js +46 -0
- package/dist/linear/parser.js.map +1 -1
- package/dist/linear/project-harness-metadata.d.ts +10 -0
- package/dist/linear/project-harness-metadata.d.ts.map +1 -0
- package/dist/linear/project-harness-metadata.js +109 -0
- package/dist/linear/project-harness-metadata.js.map +1 -0
- package/dist/linear/project-metadata-sync.d.ts +29 -0
- package/dist/linear/project-metadata-sync.d.ts.map +1 -0
- package/dist/linear/project-metadata-sync.js +64 -0
- package/dist/linear/project-metadata-sync.js.map +1 -0
- package/dist/linear/run-status-comment.d.ts +49 -0
- package/dist/linear/run-status-comment.d.ts.map +1 -0
- package/dist/linear/run-status-comment.js +118 -0
- package/dist/linear/run-status-comment.js.map +1 -0
- package/dist/linear/writer.d.ts +8 -0
- package/dist/linear/writer.d.ts.map +1 -1
- package/dist/linear/writer.js +13 -0
- package/dist/linear/writer.js.map +1 -1
- package/dist/observability/adapters/fake.d.ts +17 -0
- package/dist/observability/adapters/fake.d.ts.map +1 -0
- package/dist/observability/adapters/fake.js +205 -0
- package/dist/observability/adapters/fake.js.map +1 -0
- package/dist/observability/adapters/noop.d.ts +5 -0
- package/dist/observability/adapters/noop.d.ts.map +1 -0
- package/dist/observability/adapters/noop.js +51 -0
- package/dist/observability/adapters/noop.js.map +1 -0
- package/dist/observability/adapters/posthog.d.ts +12 -0
- package/dist/observability/adapters/posthog.d.ts.map +1 -0
- package/dist/observability/adapters/posthog.js +142 -0
- package/dist/observability/adapters/posthog.js.map +1 -0
- package/dist/observability/adapters/sentry.d.ts +12 -0
- package/dist/observability/adapters/sentry.d.ts.map +1 -0
- package/dist/observability/adapters/sentry.js +217 -0
- package/dist/observability/adapters/sentry.js.map +1 -0
- package/dist/observability/analytics-schemas.d.ts +59 -0
- package/dist/observability/analytics-schemas.d.ts.map +1 -0
- package/dist/observability/analytics-schemas.js +119 -0
- package/dist/observability/analytics-schemas.js.map +1 -0
- package/dist/observability/consent.d.ts +14 -0
- package/dist/observability/consent.d.ts.map +1 -0
- package/dist/observability/consent.js +35 -0
- package/dist/observability/consent.js.map +1 -0
- package/dist/observability/constants.d.ts +18 -0
- package/dist/observability/constants.d.ts.map +1 -0
- package/dist/observability/constants.js +18 -0
- package/dist/observability/constants.js.map +1 -0
- package/dist/observability/context.d.ts +21 -0
- package/dist/observability/context.d.ts.map +1 -0
- package/dist/observability/context.js +105 -0
- package/dist/observability/context.js.map +1 -0
- package/dist/observability/facade-runtime-state.d.ts +17 -0
- package/dist/observability/facade-runtime-state.d.ts.map +1 -0
- package/dist/observability/facade-runtime-state.js +23 -0
- package/dist/observability/facade-runtime-state.js.map +1 -0
- package/dist/observability/facade.d.ts +44 -0
- package/dist/observability/facade.d.ts.map +1 -0
- package/dist/observability/facade.js +432 -0
- package/dist/observability/facade.js.map +1 -0
- package/dist/observability/fatal-handlers.d.ts +4 -0
- package/dist/observability/fatal-handlers.d.ts.map +1 -0
- package/dist/observability/fatal-handlers.js +54 -0
- package/dist/observability/fatal-handlers.js.map +1 -0
- package/dist/observability/identity.d.ts +4 -0
- package/dist/observability/identity.d.ts.map +1 -0
- package/dist/observability/identity.js +11 -0
- package/dist/observability/identity.js.map +1 -0
- package/dist/observability/index.d.ts +9 -0
- package/dist/observability/index.d.ts.map +1 -0
- package/dist/observability/index.js +6 -0
- package/dist/observability/index.js.map +1 -0
- package/dist/observability/local-state.d.ts +14 -0
- package/dist/observability/local-state.d.ts.map +1 -0
- package/dist/observability/local-state.js +107 -0
- package/dist/observability/local-state.js.map +1 -0
- package/dist/observability/package-config.d.ts +11 -0
- package/dist/observability/package-config.d.ts.map +1 -0
- package/dist/observability/package-config.js +117 -0
- package/dist/observability/package-config.js.map +1 -0
- package/dist/observability/posthog-dashboard-contract.d.ts +46 -0
- package/dist/observability/posthog-dashboard-contract.d.ts.map +1 -0
- package/dist/observability/posthog-dashboard-contract.js +200 -0
- package/dist/observability/posthog-dashboard-contract.js.map +1 -0
- package/dist/observability/privacy-schema.d.ts +13 -0
- package/dist/observability/privacy-schema.d.ts.map +1 -0
- package/dist/observability/privacy-schema.js +204 -0
- package/dist/observability/privacy-schema.js.map +1 -0
- package/dist/observability/product-error-messages.d.ts +2 -0
- package/dist/observability/product-error-messages.d.ts.map +1 -0
- package/dist/observability/product-error-messages.js +15 -0
- package/dist/observability/product-error-messages.js.map +1 -0
- package/dist/observability/product-errors.d.ts +12 -0
- package/dist/observability/product-errors.d.ts.map +1 -0
- package/dist/observability/product-errors.js +109 -0
- package/dist/observability/product-errors.js.map +1 -0
- package/dist/observability/provisioning-analytics.d.ts +12 -0
- package/dist/observability/provisioning-analytics.d.ts.map +1 -0
- package/dist/observability/provisioning-analytics.js +11 -0
- package/dist/observability/provisioning-analytics.js.map +1 -0
- package/dist/observability/redaction.d.ts +10 -0
- package/dist/observability/redaction.d.ts.map +1 -0
- package/dist/observability/redaction.js +72 -0
- package/dist/observability/redaction.js.map +1 -0
- package/dist/observability/runtime-eligibility.d.ts +6 -0
- package/dist/observability/runtime-eligibility.d.ts.map +1 -0
- package/dist/observability/runtime-eligibility.js +33 -0
- package/dist/observability/runtime-eligibility.js.map +1 -0
- package/dist/observability/sentry-outbound-privacy.d.ts +12 -0
- package/dist/observability/sentry-outbound-privacy.d.ts.map +1 -0
- package/dist/observability/sentry-outbound-privacy.js +168 -0
- package/dist/observability/sentry-outbound-privacy.js.map +1 -0
- package/dist/observability/session-dedupe.d.ts +8 -0
- package/dist/observability/session-dedupe.d.ts.map +1 -0
- package/dist/observability/session-dedupe.js +42 -0
- package/dist/observability/session-dedupe.js.map +1 -0
- package/dist/observability/session-handoff.d.ts +10 -0
- package/dist/observability/session-handoff.d.ts.map +1 -0
- package/dist/observability/session-handoff.js +25 -0
- package/dist/observability/session-handoff.js.map +1 -0
- package/dist/observability/transport-lifecycle.d.ts +20 -0
- package/dist/observability/transport-lifecycle.d.ts.map +1 -0
- package/dist/observability/transport-lifecycle.js +69 -0
- package/dist/observability/transport-lifecycle.js.map +1 -0
- package/dist/observability/types.d.ts +189 -0
- package/dist/observability/types.d.ts.map +1 -0
- package/dist/observability/types.js +2 -0
- package/dist/observability/types.js.map +1 -0
- package/dist/p-dev/cli.d.ts +1 -1
- package/dist/p-dev/cli.d.ts.map +1 -1
- package/dist/p-dev/cli.js +1 -1
- package/dist/p-dev/cli.js.map +1 -1
- package/dist/p-dev/git-object-plumbing.d.ts +20 -0
- package/dist/p-dev/git-object-plumbing.d.ts.map +1 -1
- package/dist/p-dev/git-object-plumbing.js +106 -13
- package/dist/p-dev/git-object-plumbing.js.map +1 -1
- package/dist/p-dev/launch.d.ts.map +1 -1
- package/dist/p-dev/launch.js +77 -15
- package/dist/p-dev/launch.js.map +1 -1
- package/dist/p-dev/main.js +9 -1
- package/dist/p-dev/main.js.map +1 -1
- package/dist/p-dev/package-paths.d.ts +12 -0
- package/dist/p-dev/package-paths.d.ts.map +1 -1
- package/dist/p-dev/package-paths.js +48 -2
- package/dist/p-dev/package-paths.js.map +1 -1
- package/dist/p-dev/workspace-snapshot-generator.d.ts.map +1 -1
- package/dist/p-dev/workspace-snapshot-generator.js +18 -0
- package/dist/p-dev/workspace-snapshot-generator.js.map +1 -1
- package/dist/p-dev/workspace-snapshot-manifest.d.ts.map +1 -1
- package/dist/p-dev/workspace-snapshot-manifest.js +48 -0
- package/dist/p-dev/workspace-snapshot-manifest.js.map +1 -1
- package/dist/p-dev/workspace-snapshot-types.d.ts +8 -0
- package/dist/p-dev/workspace-snapshot-types.d.ts.map +1 -1
- package/dist/preview/preview-capability.d.ts +9 -0
- package/dist/preview/preview-capability.d.ts.map +1 -0
- package/dist/preview/preview-capability.js +15 -0
- package/dist/preview/preview-capability.js.map +1 -0
- package/dist/product/initialization-state.d.ts +15 -0
- package/dist/product/initialization-state.d.ts.map +1 -0
- package/dist/product/initialization-state.js +37 -0
- package/dist/product/initialization-state.js.map +1 -0
- package/dist/product/product-marker.d.ts +77 -0
- package/dist/product/product-marker.d.ts.map +1 -0
- package/dist/product/product-marker.js +62 -0
- package/dist/product/product-marker.js.map +1 -0
- package/dist/product/read-product-marker.d.ts +15 -0
- package/dist/product/read-product-marker.d.ts.map +1 -0
- package/dist/product/read-product-marker.js +28 -0
- package/dist/product/read-product-marker.js.map +1 -0
- package/dist/prompts/builder.d.ts +10 -1
- package/dist/prompts/builder.d.ts.map +1 -1
- package/dist/prompts/builder.js +16 -2
- package/dist/prompts/builder.js.map +1 -1
- package/dist/resolver/errors.d.ts +1 -1
- package/dist/resolver/errors.d.ts.map +1 -1
- package/dist/resolver/errors.js.map +1 -1
- package/dist/resolver/target-repo.d.ts +4 -1
- package/dist/resolver/target-repo.d.ts.map +1 -1
- package/dist/resolver/target-repo.js +40 -0
- package/dist/resolver/target-repo.js.map +1 -1
- package/dist/runner/builder-thread-acquire.d.ts +41 -0
- package/dist/runner/builder-thread-acquire.d.ts.map +1 -0
- package/dist/runner/builder-thread-acquire.js +224 -0
- package/dist/runner/builder-thread-acquire.js.map +1 -0
- package/dist/runner/builder-thread-evidence.d.ts +13 -0
- package/dist/runner/builder-thread-evidence.d.ts.map +1 -0
- package/dist/runner/builder-thread-evidence.js +23 -0
- package/dist/runner/builder-thread-evidence.js.map +1 -0
- package/dist/runner/builder-thread-idempotency.d.ts +17 -0
- package/dist/runner/builder-thread-idempotency.d.ts.map +1 -0
- package/dist/runner/builder-thread-idempotency.js +12 -0
- package/dist/runner/builder-thread-idempotency.js.map +1 -0
- package/dist/runner/builder-thread-lineage-errors.d.ts +7 -0
- package/dist/runner/builder-thread-lineage-errors.d.ts.map +1 -0
- package/dist/runner/builder-thread-lineage-errors.js +11 -0
- package/dist/runner/builder-thread-lineage-errors.js.map +1 -0
- package/dist/runner/builder-thread-lineage.d.ts +18 -0
- package/dist/runner/builder-thread-lineage.d.ts.map +1 -0
- package/dist/runner/builder-thread-lineage.js +342 -0
- package/dist/runner/builder-thread-lineage.js.map +1 -0
- package/dist/runner/builder-thread-types.d.ts +30 -0
- package/dist/runner/builder-thread-types.d.ts.map +1 -0
- package/dist/runner/builder-thread-types.js +2 -0
- package/dist/runner/builder-thread-types.js.map +1 -0
- package/dist/runner/delivery-dedup.d.ts +26 -0
- package/dist/runner/delivery-dedup.d.ts.map +1 -0
- package/dist/runner/delivery-dedup.js +44 -0
- package/dist/runner/delivery-dedup.js.map +1 -0
- package/dist/runner/failure-finalization.d.ts +34 -0
- package/dist/runner/failure-finalization.d.ts.map +1 -0
- package/dist/runner/failure-finalization.js +154 -0
- package/dist/runner/failure-finalization.js.map +1 -0
- package/dist/runner/fixture.d.ts +1 -1
- package/dist/runner/fixture.d.ts.map +1 -1
- package/dist/runner/fixture.js +3 -0
- package/dist/runner/fixture.js.map +1 -1
- package/dist/runner/phases/handoff.d.ts.map +1 -1
- package/dist/runner/phases/handoff.js +59 -32
- package/dist/runner/phases/handoff.js.map +1 -1
- package/dist/runner/phases/implementation.d.ts.map +1 -1
- package/dist/runner/phases/implementation.js +147 -24
- package/dist/runner/phases/implementation.js.map +1 -1
- package/dist/runner/phases/integration-repair.d.ts +18 -0
- package/dist/runner/phases/integration-repair.d.ts.map +1 -1
- package/dist/runner/phases/integration-repair.js +93 -7
- package/dist/runner/phases/integration-repair.js.map +1 -1
- package/dist/runner/phases/merge.d.ts.map +1 -1
- package/dist/runner/phases/merge.js +129 -51
- package/dist/runner/phases/merge.js.map +1 -1
- package/dist/runner/phases/planning.d.ts.map +1 -1
- package/dist/runner/phases/planning.js +46 -8
- package/dist/runner/phases/planning.js.map +1 -1
- package/dist/runner/phases/production-sync.d.ts.map +1 -1
- package/dist/runner/phases/production-sync.js +28 -4
- package/dist/runner/phases/production-sync.js.map +1 -1
- package/dist/runner/phases/revision.d.ts.map +1 -1
- package/dist/runner/phases/revision.js +112 -32
- package/dist/runner/phases/revision.js.map +1 -1
- package/dist/runner/preflight.d.ts +2 -0
- package/dist/runner/preflight.d.ts.map +1 -1
- package/dist/runner/preflight.js +112 -3
- package/dist/runner/preflight.js.map +1 -1
- package/dist/runner/resolve-route.d.ts +1 -0
- package/dist/runner/resolve-route.d.ts.map +1 -1
- package/dist/runner/resolve-route.js +26 -0
- package/dist/runner/resolve-route.js.map +1 -1
- package/dist/runner/run-generation.d.ts +2 -0
- package/dist/runner/run-generation.d.ts.map +1 -0
- package/dist/runner/run-generation.js +19 -0
- package/dist/runner/run-generation.js.map +1 -0
- package/dist/runner/uninitialized-product-routing.d.ts +24 -0
- package/dist/runner/uninitialized-product-routing.d.ts.map +1 -0
- package/dist/runner/uninitialized-product-routing.js +70 -0
- package/dist/runner/uninitialized-product-routing.js.map +1 -0
- package/dist/setup/config-builder.d.ts.map +1 -1
- package/dist/setup/config-builder.js +12 -0
- package/dist/setup/config-builder.js.map +1 -1
- package/dist/setup/control-plane-readiness.d.ts +8 -1
- package/dist/setup/control-plane-readiness.d.ts.map +1 -1
- package/dist/setup/control-plane-readiness.js +63 -19
- package/dist/setup/control-plane-readiness.js.map +1 -1
- package/dist/setup/control-plane-setup-state.d.ts +13 -3
- package/dist/setup/control-plane-setup-state.d.ts.map +1 -1
- package/dist/setup/control-plane-setup-state.js +30 -3
- package/dist/setup/control-plane-setup-state.js.map +1 -1
- package/dist/setup/control-plane-state-lock.d.ts +12 -0
- package/dist/setup/control-plane-state-lock.d.ts.map +1 -0
- package/dist/setup/control-plane-state-lock.js +79 -0
- package/dist/setup/control-plane-state-lock.js.map +1 -0
- package/dist/setup/control-plane-types.d.ts +72 -1
- package/dist/setup/control-plane-types.d.ts.map +1 -1
- package/dist/setup/first-run-readiness.d.ts +4 -0
- package/dist/setup/first-run-readiness.d.ts.map +1 -1
- package/dist/setup/first-run-readiness.js +2 -2
- package/dist/setup/first-run-readiness.js.map +1 -1
- package/dist/setup/git-askpass-credentials.d.ts +19 -0
- package/dist/setup/git-askpass-credentials.d.ts.map +1 -0
- package/dist/setup/git-askpass-credentials.js +60 -0
- package/dist/setup/git-askpass-credentials.js.map +1 -0
- package/dist/setup/github-dispatch-token.d.ts +4 -0
- package/dist/setup/github-dispatch-token.d.ts.map +1 -1
- package/dist/setup/github-dispatch-token.js +23 -3
- package/dist/setup/github-dispatch-token.js.map +1 -1
- package/dist/setup/github-remote-provider.d.ts +44 -0
- package/dist/setup/github-remote-provider.d.ts.map +1 -1
- package/dist/setup/github-remote-provider.js +22 -2
- package/dist/setup/github-remote-provider.js.map +1 -1
- package/dist/setup/github-remote-setup-live.d.ts +30 -1
- package/dist/setup/github-remote-setup-live.d.ts.map +1 -1
- package/dist/setup/github-remote-setup-live.js +68 -11
- package/dist/setup/github-remote-setup-live.js.map +1 -1
- package/dist/setup/github-repository-name.d.ts +15 -0
- package/dist/setup/github-repository-name.d.ts.map +1 -0
- package/dist/setup/github-repository-name.js +54 -0
- package/dist/setup/github-repository-name.js.map +1 -0
- package/dist/setup/github-target-repository-provider-live.d.ts +35 -0
- package/dist/setup/github-target-repository-provider-live.d.ts.map +1 -0
- package/dist/setup/github-target-repository-provider-live.js +236 -0
- package/dist/setup/github-target-repository-provider-live.js.map +1 -0
- package/dist/setup/github-target-repository-provider-mock.d.ts +47 -0
- package/dist/setup/github-target-repository-provider-mock.d.ts.map +1 -0
- package/dist/setup/github-target-repository-provider-mock.js +189 -0
- package/dist/setup/github-target-repository-provider-mock.js.map +1 -0
- package/dist/setup/github-target-repository-provider.d.ts +44 -0
- package/dist/setup/github-target-repository-provider.d.ts.map +1 -0
- package/dist/setup/github-target-repository-provider.js +7 -0
- package/dist/setup/github-target-repository-provider.js.map +1 -0
- package/dist/setup/github-workflow-permissions.d.ts +1 -1
- package/dist/setup/github-workflow-permissions.d.ts.map +1 -1
- package/dist/setup/github-workflow-permissions.js +1 -1
- package/dist/setup/github-workflow-permissions.js.map +1 -1
- package/dist/setup/gui-view-model.d.ts +5 -0
- package/dist/setup/gui-view-model.d.ts.map +1 -1
- package/dist/setup/gui-view-model.js +5 -0
- package/dist/setup/gui-view-model.js.map +1 -1
- package/dist/setup/harness-dispatch-repo.d.ts +16 -2
- package/dist/setup/harness-dispatch-repo.d.ts.map +1 -1
- package/dist/setup/harness-dispatch-repo.js +113 -22
- package/dist/setup/harness-dispatch-repo.js.map +1 -1
- package/dist/setup/harness-managed-repo-marker.d.ts +1 -0
- package/dist/setup/harness-managed-repo-marker.d.ts.map +1 -1
- package/dist/setup/harness-managed-repo-marker.js +18 -0
- package/dist/setup/harness-managed-repo-marker.js.map +1 -1
- package/dist/setup/harness-provisioning-last-run.d.ts +27 -0
- package/dist/setup/harness-provisioning-last-run.d.ts.map +1 -0
- package/dist/setup/harness-provisioning-last-run.js +94 -0
- package/dist/setup/harness-provisioning-last-run.js.map +1 -0
- package/dist/setup/harness-provisioning-pending-state.d.ts +1 -1
- package/dist/setup/harness-provisioning-pending-state.d.ts.map +1 -1
- package/dist/setup/harness-provisioning-pending-state.js.map +1 -1
- package/dist/setup/harness-provisioning-progress.d.ts +58 -0
- package/dist/setup/harness-provisioning-progress.d.ts.map +1 -0
- package/dist/setup/harness-provisioning-progress.js +134 -0
- package/dist/setup/harness-provisioning-progress.js.map +1 -0
- package/dist/setup/harness-repo-provisioning.d.ts +11 -0
- package/dist/setup/harness-repo-provisioning.d.ts.map +1 -1
- package/dist/setup/harness-repo-provisioning.js +98 -6
- package/dist/setup/harness-repo-provisioning.js.map +1 -1
- package/dist/setup/harness-snapshot-git-transport.d.ts +92 -0
- package/dist/setup/harness-snapshot-git-transport.d.ts.map +1 -0
- package/dist/setup/harness-snapshot-git-transport.js +544 -0
- package/dist/setup/harness-snapshot-git-transport.js.map +1 -0
- package/dist/setup/harness-snapshot-provisioning-helpers.d.ts +1 -1
- package/dist/setup/harness-snapshot-provisioning-helpers.d.ts.map +1 -1
- package/dist/setup/harness-snapshot-provisioning-helpers.js.map +1 -1
- package/dist/setup/harness-snapshot-provisioning.d.ts +12 -1
- package/dist/setup/harness-snapshot-provisioning.d.ts.map +1 -1
- package/dist/setup/harness-snapshot-provisioning.js +298 -73
- package/dist/setup/harness-snapshot-provisioning.js.map +1 -1
- package/dist/setup/harness-step-readiness-server.d.ts +11 -0
- package/dist/setup/harness-step-readiness-server.d.ts.map +1 -0
- package/dist/setup/harness-step-readiness-server.js +24 -0
- package/dist/setup/harness-step-readiness-server.js.map +1 -0
- package/dist/setup/harness-step-readiness.d.ts +21 -0
- package/dist/setup/harness-step-readiness.d.ts.map +1 -0
- package/dist/setup/harness-step-readiness.js +40 -0
- package/dist/setup/harness-step-readiness.js.map +1 -0
- package/dist/setup/harness-workspace-snapshot-loader.d.ts +6 -1
- package/dist/setup/harness-workspace-snapshot-loader.d.ts.map +1 -1
- package/dist/setup/harness-workspace-snapshot-loader.js +45 -12
- package/dist/setup/harness-workspace-snapshot-loader.js.map +1 -1
- package/dist/setup/initial-setup-lifecycle.d.ts +51 -0
- package/dist/setup/initial-setup-lifecycle.d.ts.map +1 -0
- package/dist/setup/initial-setup-lifecycle.js +93 -0
- package/dist/setup/initial-setup-lifecycle.js.map +1 -0
- package/dist/setup/linear-category-labels.d.ts +2 -0
- package/dist/setup/linear-category-labels.d.ts.map +1 -0
- package/dist/setup/linear-category-labels.js +19 -0
- package/dist/setup/linear-category-labels.js.map +1 -0
- package/dist/setup/linear-setup-apply.d.ts +1 -0
- package/dist/setup/linear-setup-apply.d.ts.map +1 -1
- package/dist/setup/linear-setup-apply.js +67 -16
- package/dist/setup/linear-setup-apply.js.map +1 -1
- package/dist/setup/linear-setup-client.d.ts +24 -0
- package/dist/setup/linear-setup-client.d.ts.map +1 -1
- package/dist/setup/linear-setup-client.js +61 -0
- package/dist/setup/linear-setup-client.js.map +1 -1
- package/dist/setup/linear-setup-plan.d.ts +22 -1
- package/dist/setup/linear-setup-plan.d.ts.map +1 -1
- package/dist/setup/linear-setup-plan.js +69 -6
- package/dist/setup/linear-setup-plan.js.map +1 -1
- package/dist/setup/linear-setup-progress.d.ts +30 -0
- package/dist/setup/linear-setup-progress.d.ts.map +1 -0
- package/dist/setup/linear-setup-progress.js +71 -0
- package/dist/setup/linear-setup-progress.js.map +1 -0
- package/dist/setup/linear-status-contract.d.ts +2 -1
- package/dist/setup/linear-status-contract.d.ts.map +1 -1
- package/dist/setup/linear-status-contract.js +26 -67
- package/dist/setup/linear-status-contract.js.map +1 -1
- package/dist/setup/linear-workflow-status-repair.d.ts +36 -0
- package/dist/setup/linear-workflow-status-repair.d.ts.map +1 -0
- package/dist/setup/linear-workflow-status-repair.js +187 -0
- package/dist/setup/linear-workflow-status-repair.js.map +1 -0
- package/dist/setup/linear-workspace-apply.d.ts +25 -0
- package/dist/setup/linear-workspace-apply.d.ts.map +1 -0
- package/dist/setup/linear-workspace-apply.js +212 -0
- package/dist/setup/linear-workspace-apply.js.map +1 -0
- package/dist/setup/linear-workspace-drift.d.ts +2 -0
- package/dist/setup/linear-workspace-drift.d.ts.map +1 -0
- package/dist/setup/linear-workspace-drift.js +2 -0
- package/dist/setup/linear-workspace-drift.js.map +1 -0
- package/dist/setup/linear-workspace-migration.d.ts +43 -0
- package/dist/setup/linear-workspace-migration.d.ts.map +1 -0
- package/dist/setup/linear-workspace-migration.js +212 -0
- package/dist/setup/linear-workspace-migration.js.map +1 -0
- package/dist/setup/linear-workspace-plan.d.ts +92 -0
- package/dist/setup/linear-workspace-plan.d.ts.map +1 -0
- package/dist/setup/linear-workspace-plan.js +283 -0
- package/dist/setup/linear-workspace-plan.js.map +1 -0
- package/dist/setup/local-readiness-checks.d.ts +17 -0
- package/dist/setup/local-readiness-checks.d.ts.map +1 -1
- package/dist/setup/local-readiness-checks.js +86 -23
- package/dist/setup/local-readiness-checks.js.map +1 -1
- package/dist/setup/mock-target-workflow-finalization.d.ts.map +1 -1
- package/dist/setup/mock-target-workflow-finalization.js +27 -4
- package/dist/setup/mock-target-workflow-finalization.js.map +1 -1
- package/dist/setup/packaged-default-route.d.ts +15 -0
- package/dist/setup/packaged-default-route.d.ts.map +1 -0
- package/dist/setup/packaged-default-route.js +17 -0
- package/dist/setup/packaged-default-route.js.map +1 -0
- package/dist/setup/release-sync-managed-runner.d.ts +61 -0
- package/dist/setup/release-sync-managed-runner.d.ts.map +1 -0
- package/dist/setup/release-sync-managed-runner.js +364 -0
- package/dist/setup/release-sync-managed-runner.js.map +1 -0
- package/dist/setup/remote-apply-actions.d.ts.map +1 -1
- package/dist/setup/remote-apply-actions.js +23 -0
- package/dist/setup/remote-apply-actions.js.map +1 -1
- package/dist/setup/runner-upgrade-canary-dispatch.d.ts +19 -0
- package/dist/setup/runner-upgrade-canary-dispatch.d.ts.map +1 -0
- package/dist/setup/runner-upgrade-canary-dispatch.js +38 -0
- package/dist/setup/runner-upgrade-canary-dispatch.js.map +1 -0
- package/dist/setup/runner-upgrade-canary.d.ts +23 -0
- package/dist/setup/runner-upgrade-canary.d.ts.map +1 -0
- package/dist/setup/runner-upgrade-canary.js +146 -0
- package/dist/setup/runner-upgrade-canary.js.map +1 -0
- package/dist/setup/runner-upgrade-evidence.d.ts +14 -0
- package/dist/setup/runner-upgrade-evidence.d.ts.map +1 -0
- package/dist/setup/runner-upgrade-evidence.js +9 -0
- package/dist/setup/runner-upgrade-evidence.js.map +1 -0
- package/dist/setup/runner-upgrade-pending-state.d.ts +30 -0
- package/dist/setup/runner-upgrade-pending-state.d.ts.map +1 -0
- package/dist/setup/runner-upgrade-pending-state.js +75 -0
- package/dist/setup/runner-upgrade-pending-state.js.map +1 -0
- package/dist/setup/runner-upgrade-progress.d.ts +38 -0
- package/dist/setup/runner-upgrade-progress.d.ts.map +1 -0
- package/dist/setup/runner-upgrade-progress.js +95 -0
- package/dist/setup/runner-upgrade-progress.js.map +1 -0
- package/dist/setup/runner-upgrade-provider-live.d.ts +5 -0
- package/dist/setup/runner-upgrade-provider-live.d.ts.map +1 -0
- package/dist/setup/runner-upgrade-provider-live.js +338 -0
- package/dist/setup/runner-upgrade-provider-live.js.map +1 -0
- package/dist/setup/runner-upgrade-provider.d.ts +231 -0
- package/dist/setup/runner-upgrade-provider.d.ts.map +1 -0
- package/dist/setup/runner-upgrade-provider.js +466 -0
- package/dist/setup/runner-upgrade-provider.js.map +1 -0
- package/dist/setup/runner-upgrade-status-cache.d.ts +13 -0
- package/dist/setup/runner-upgrade-status-cache.d.ts.map +1 -0
- package/dist/setup/runner-upgrade-status-cache.js +39 -0
- package/dist/setup/runner-upgrade-status-cache.js.map +1 -0
- package/dist/setup/runner-upgrade-three-way.d.ts +28 -0
- package/dist/setup/runner-upgrade-three-way.d.ts.map +1 -0
- package/dist/setup/runner-upgrade-three-way.js +102 -0
- package/dist/setup/runner-upgrade-three-way.js.map +1 -0
- package/dist/setup/runner-upgrade-timeouts.d.ts +72 -0
- package/dist/setup/runner-upgrade-timeouts.d.ts.map +1 -0
- package/dist/setup/runner-upgrade-timeouts.js +261 -0
- package/dist/setup/runner-upgrade-timeouts.js.map +1 -0
- package/dist/setup/runner-upgrade-types.d.ts +84 -0
- package/dist/setup/runner-upgrade-types.d.ts.map +1 -0
- package/dist/setup/runner-upgrade-types.js +64 -0
- package/dist/setup/runner-upgrade-types.js.map +1 -0
- package/dist/setup/runner-upgrade-worker.d.ts +17 -0
- package/dist/setup/runner-upgrade-worker.d.ts.map +1 -0
- package/dist/setup/runner-upgrade-worker.js +115 -0
- package/dist/setup/runner-upgrade-worker.js.map +1 -0
- package/dist/setup/runner-upgrade.d.ts +57 -0
- package/dist/setup/runner-upgrade.d.ts.map +1 -0
- package/dist/setup/runner-upgrade.js +1311 -0
- package/dist/setup/runner-upgrade.js.map +1 -0
- package/dist/setup/service-verification.d.ts +18 -1
- package/dist/setup/service-verification.d.ts.map +1 -1
- package/dist/setup/service-verification.js +110 -19
- package/dist/setup/service-verification.js.map +1 -1
- package/dist/setup/settings-config-patch.d.ts +69 -0
- package/dist/setup/settings-config-patch.d.ts.map +1 -0
- package/dist/setup/settings-config-patch.js +312 -0
- package/dist/setup/settings-config-patch.js.map +1 -0
- package/dist/setup/setup-state.d.ts +1 -0
- package/dist/setup/setup-state.d.ts.map +1 -1
- package/dist/setup/setup-state.js +11 -1
- package/dist/setup/setup-state.js.map +1 -1
- package/dist/setup/step6-automatic-control-state.d.ts +21 -0
- package/dist/setup/step6-automatic-control-state.d.ts.map +1 -0
- package/dist/setup/step6-automatic-control-state.js +28 -0
- package/dist/setup/step6-automatic-control-state.js.map +1 -0
- package/dist/setup/sync-harness-config-cloud.d.ts +23 -0
- package/dist/setup/sync-harness-config-cloud.d.ts.map +1 -0
- package/dist/setup/sync-harness-config-cloud.js +91 -0
- package/dist/setup/sync-harness-config-cloud.js.map +1 -0
- package/dist/setup/target-repo-provisioning-pending-state.d.ts +42 -0
- package/dist/setup/target-repo-provisioning-pending-state.d.ts.map +1 -0
- package/dist/setup/target-repo-provisioning-pending-state.js +95 -0
- package/dist/setup/target-repo-provisioning-pending-state.js.map +1 -0
- package/dist/setup/target-repo-provisioning.d.ts +67 -0
- package/dist/setup/target-repo-provisioning.d.ts.map +1 -0
- package/dist/setup/target-repo-provisioning.js +473 -0
- package/dist/setup/target-repo-provisioning.js.map +1 -0
- package/dist/setup/target-workflow-finalization-progress.d.ts +43 -0
- package/dist/setup/target-workflow-finalization-progress.d.ts.map +1 -0
- package/dist/setup/target-workflow-finalization-progress.js +83 -0
- package/dist/setup/target-workflow-finalization-progress.js.map +1 -0
- package/dist/setup/target-workflow-finalization-types.d.ts +21 -1
- package/dist/setup/target-workflow-finalization-types.d.ts.map +1 -1
- package/dist/setup/target-workflow-finalization-types.js +75 -0
- package/dist/setup/target-workflow-finalization-types.js.map +1 -1
- package/dist/setup/target-workflow-finalization.d.ts.map +1 -1
- package/dist/setup/target-workflow-finalization.js +618 -15
- package/dist/setup/target-workflow-finalization.js.map +1 -1
- package/dist/setup/target-workflow-setup.d.ts.map +1 -1
- package/dist/setup/target-workflow-setup.js +2 -0
- package/dist/setup/target-workflow-setup.js.map +1 -1
- package/dist/setup/test-only-runner-upgrade-provider.d.ts +11 -0
- package/dist/setup/test-only-runner-upgrade-provider.d.ts.map +1 -0
- package/dist/setup/test-only-runner-upgrade-provider.js +37 -0
- package/dist/setup/test-only-runner-upgrade-provider.js.map +1 -0
- package/dist/setup/test-only-target-repo-provisioning-provider.d.ts +7 -0
- package/dist/setup/test-only-target-repo-provisioning-provider.d.ts.map +1 -0
- package/dist/setup/test-only-target-repo-provisioning-provider.js +33 -0
- package/dist/setup/test-only-target-repo-provisioning-provider.js.map +1 -0
- package/dist/setup/vercel-bridge-artifact.d.ts +7 -0
- package/dist/setup/vercel-bridge-artifact.d.ts.map +1 -0
- package/dist/setup/vercel-bridge-artifact.js +164 -0
- package/dist/setup/vercel-bridge-artifact.js.map +1 -0
- package/dist/setup/vercel-bridge-deploy.d.ts +42 -0
- package/dist/setup/vercel-bridge-deploy.d.ts.map +1 -0
- package/dist/setup/vercel-bridge-deploy.js +138 -0
- package/dist/setup/vercel-bridge-deploy.js.map +1 -0
- package/dist/setup/vercel-bridge-diagnostics.js +1 -1
- package/dist/setup/vercel-bridge-diagnostics.js.map +1 -1
- package/dist/setup/vercel-bridge-options.d.ts +2 -0
- package/dist/setup/vercel-bridge-options.d.ts.map +1 -1
- package/dist/setup/vercel-bridge-options.js +2 -0
- package/dist/setup/vercel-bridge-options.js.map +1 -1
- package/dist/setup/vercel-bridge-orchestration-summary.d.ts +13 -0
- package/dist/setup/vercel-bridge-orchestration-summary.d.ts.map +1 -0
- package/dist/setup/vercel-bridge-orchestration-summary.js +22 -0
- package/dist/setup/vercel-bridge-orchestration-summary.js.map +1 -0
- package/dist/setup/vercel-bridge-project-marker.d.ts +5 -0
- package/dist/setup/vercel-bridge-project-marker.d.ts.map +1 -0
- package/dist/setup/vercel-bridge-project-marker.js +6 -0
- package/dist/setup/vercel-bridge-project-marker.js.map +1 -0
- package/dist/setup/vercel-bridge-readiness.d.ts +1 -0
- package/dist/setup/vercel-bridge-readiness.d.ts.map +1 -1
- package/dist/setup/vercel-bridge-readiness.js +1 -1
- package/dist/setup/vercel-bridge-readiness.js.map +1 -1
- package/dist/setup/vercel-bridge-redeploy-normalize.d.ts +18 -0
- package/dist/setup/vercel-bridge-redeploy-normalize.d.ts.map +1 -0
- package/dist/setup/vercel-bridge-redeploy-normalize.js +175 -0
- package/dist/setup/vercel-bridge-redeploy-normalize.js.map +1 -0
- package/dist/setup/vercel-bridge-redeploy-poll.d.ts +7 -1
- package/dist/setup/vercel-bridge-redeploy-poll.d.ts.map +1 -1
- package/dist/setup/vercel-bridge-redeploy-poll.js +329 -166
- package/dist/setup/vercel-bridge-redeploy-poll.js.map +1 -1
- package/dist/setup/vercel-bridge-redeploy-state.d.ts.map +1 -1
- package/dist/setup/vercel-bridge-redeploy-state.js +3 -0
- package/dist/setup/vercel-bridge-redeploy-state.js.map +1 -1
- package/dist/setup/vercel-bridge-structured-log.d.ts +5 -0
- package/dist/setup/vercel-bridge-structured-log.d.ts.map +1 -1
- package/dist/setup/vercel-bridge-structured-log.js.map +1 -1
- package/dist/setup/vercel-project-name.d.ts +7 -0
- package/dist/setup/vercel-project-name.d.ts.map +1 -0
- package/dist/setup/vercel-project-name.js +26 -0
- package/dist/setup/vercel-project-name.js.map +1 -0
- package/dist/setup/vercel-setup-apply.d.ts +7 -2
- package/dist/setup/vercel-setup-apply.d.ts.map +1 -1
- package/dist/setup/vercel-setup-apply.js +315 -38
- package/dist/setup/vercel-setup-apply.js.map +1 -1
- package/dist/setup/vercel-setup-client.d.ts +26 -1
- package/dist/setup/vercel-setup-client.d.ts.map +1 -1
- package/dist/setup/vercel-setup-client.js +50 -1
- package/dist/setup/vercel-setup-client.js.map +1 -1
- package/dist/setup/vercel-setup-plan.d.ts +5 -0
- package/dist/setup/vercel-setup-plan.d.ts.map +1 -1
- package/dist/setup/vercel-setup-plan.js +65 -13
- package/dist/setup/vercel-setup-plan.js.map +1 -1
- package/dist/setup/vercel-setup-summary.d.ts +3 -0
- package/dist/setup/vercel-setup-summary.d.ts.map +1 -1
- package/dist/setup/vercel-setup-summary.js +4 -0
- package/dist/setup/vercel-setup-summary.js.map +1 -1
- package/dist/setup/workflow-config-snapshot.d.ts +8 -0
- package/dist/setup/workflow-config-snapshot.d.ts.map +1 -0
- package/dist/setup/workflow-config-snapshot.js +13 -0
- package/dist/setup/workflow-config-snapshot.js.map +1 -0
- package/dist/setup/workflow-install-branch-recovery.d.ts +116 -0
- package/dist/setup/workflow-install-branch-recovery.d.ts.map +1 -0
- package/dist/setup/workflow-install-branch-recovery.js +385 -0
- package/dist/setup/workflow-install-branch-recovery.js.map +1 -0
- package/dist/setup/workflow-install-merge-errors.d.ts +5 -2
- package/dist/setup/workflow-install-merge-errors.d.ts.map +1 -1
- package/dist/setup/workflow-install-merge-errors.js +51 -17
- package/dist/setup/workflow-install-merge-errors.js.map +1 -1
- package/dist/setup/workflow-install-merge-gate.d.ts +10 -0
- package/dist/setup/workflow-install-merge-gate.d.ts.map +1 -0
- package/dist/setup/workflow-install-merge-gate.js +21 -0
- package/dist/setup/workflow-install-merge-gate.js.map +1 -0
- package/dist/setup/workflow-model-save-queue.d.ts +16 -0
- package/dist/setup/workflow-model-save-queue.d.ts.map +1 -0
- package/dist/setup/workflow-model-save-queue.js +174 -0
- package/dist/setup/workflow-model-save-queue.js.map +1 -0
- package/dist/setup/workflow-model-sync-lock.d.ts +12 -0
- package/dist/setup/workflow-model-sync-lock.d.ts.map +1 -0
- package/dist/setup/workflow-model-sync-lock.js +79 -0
- package/dist/setup/workflow-model-sync-lock.js.map +1 -0
- package/dist/setup/workflow-model-sync.d.ts +34 -0
- package/dist/setup/workflow-model-sync.d.ts.map +1 -0
- package/dist/setup/workflow-model-sync.js +163 -0
- package/dist/setup/workflow-model-sync.js.map +1 -0
- package/dist/setup/workflow-models-sync-evidence.d.ts +12 -0
- package/dist/setup/workflow-models-sync-evidence.d.ts.map +1 -0
- package/dist/setup/workflow-models-sync-evidence.js +15 -0
- package/dist/setup/workflow-models-sync-evidence.js.map +1 -0
- package/dist/types/parsed-issue.d.ts +8 -0
- package/dist/types/parsed-issue.d.ts.map +1 -1
- package/dist/types/run.d.ts +18 -3
- package/dist/types/run.d.ts.map +1 -1
- package/dist/validate/issue.d.ts +5 -0
- package/dist/validate/issue.d.ts.map +1 -1
- package/dist/validate/issue.js +23 -3
- package/dist/validate/issue.js.map +1 -1
- package/dist/validate/types.d.ts +3 -0
- package/dist/validate/types.d.ts.map +1 -1
- package/dist/webhook/dispatch-statuses.d.ts +1 -1
- package/dist/webhook/dispatch-statuses.d.ts.map +1 -1
- package/dist/webhook/dispatch-statuses.js +4 -13
- package/dist/webhook/dispatch-statuses.js.map +1 -1
- package/dist/webhook/filter.d.ts +5 -2
- package/dist/webhook/filter.d.ts.map +1 -1
- package/dist/webhook/filter.js +15 -1
- package/dist/webhook/filter.js.map +1 -1
- package/dist/webhook/handle-linear-webhook.d.ts.map +1 -1
- package/dist/webhook/handle-linear-webhook.js +15 -1
- package/dist/webhook/handle-linear-webhook.js.map +1 -1
- package/dist/webhook/parse-linear-issue-event.d.ts +6 -0
- package/dist/webhook/parse-linear-issue-event.d.ts.map +1 -1
- package/dist/webhook/parse-linear-issue-event.js +2 -0
- package/dist/webhook/parse-linear-issue-event.js.map +1 -1
- package/dist/webhook/types.d.ts +3 -1
- package/dist/webhook/types.d.ts.map +1 -1
- package/dist/workflow/canonical-product-development-workflow.d.ts +106 -0
- package/dist/workflow/canonical-product-development-workflow.d.ts.map +1 -0
- package/dist/workflow/canonical-product-development-workflow.js +425 -0
- package/dist/workflow/canonical-product-development-workflow.js.map +1 -0
- package/dist/workflow/canonical-workflow-gate.d.ts +33 -0
- package/dist/workflow/canonical-workflow-gate.d.ts.map +1 -0
- package/dist/workflow/canonical-workflow-gate.js +164 -0
- package/dist/workflow/canonical-workflow-gate.js.map +1 -0
- package/dist/workflow/canonical-workflow-validation.d.ts +44 -0
- package/dist/workflow/canonical-workflow-validation.d.ts.map +1 -0
- package/dist/workflow/canonical-workflow-validation.js +193 -0
- package/dist/workflow/canonical-workflow-validation.js.map +1 -0
- package/dist/workflow/finalize-harness-run.d.ts +2 -0
- package/dist/workflow/finalize-harness-run.d.ts.map +1 -0
- package/dist/workflow/finalize-harness-run.js +62 -0
- package/dist/workflow/finalize-harness-run.js.map +1 -0
- package/dist/workflow/preflight-canonical.d.ts +11 -0
- package/dist/workflow/preflight-canonical.d.ts.map +1 -0
- package/dist/workflow/preflight-canonical.js +20 -0
- package/dist/workflow/preflight-canonical.js.map +1 -0
- package/dist/workflow/write-fallback-manifest.d.ts +2 -0
- package/dist/workflow/write-fallback-manifest.d.ts.map +1 -0
- package/dist/workflow/write-fallback-manifest.js +30 -0
- package/dist/workflow/write-fallback-manifest.js.map +1 -0
- package/dist/workflow-page/bootstrap.d.ts +21 -0
- package/dist/workflow-page/bootstrap.d.ts.map +1 -0
- package/dist/workflow-page/bootstrap.js +185 -0
- package/dist/workflow-page/bootstrap.js.map +1 -0
- package/dist/workflow-page/catalog-validation.d.ts +33 -0
- package/dist/workflow-page/catalog-validation.d.ts.map +1 -0
- package/dist/workflow-page/catalog-validation.js +105 -0
- package/dist/workflow-page/catalog-validation.js.map +1 -0
- package/dist/workflow-page/constants.d.ts +7 -0
- package/dist/workflow-page/constants.d.ts.map +1 -0
- package/dist/workflow-page/constants.js +18 -0
- package/dist/workflow-page/constants.js.map +1 -0
- package/dist/workflow-page/current-workflow.d.ts +18 -0
- package/dist/workflow-page/current-workflow.d.ts.map +1 -0
- package/dist/workflow-page/current-workflow.js +142 -0
- package/dist/workflow-page/current-workflow.js.map +1 -0
- package/dist/workflow-page/fingerprint.d.ts +3 -0
- package/dist/workflow-page/fingerprint.d.ts.map +1 -0
- package/dist/workflow-page/fingerprint.js +8 -0
- package/dist/workflow-page/fingerprint.js.map +1 -0
- package/dist/workflow-page/fixture-definition.d.ts +13 -0
- package/dist/workflow-page/fixture-definition.d.ts.map +1 -0
- package/dist/workflow-page/fixture-definition.js +2 -0
- package/dist/workflow-page/fixture-definition.js.map +1 -0
- package/dist/workflow-page/fixture-role-models.d.ts +19 -0
- package/dist/workflow-page/fixture-role-models.d.ts.map +1 -0
- package/dist/workflow-page/fixture-role-models.js +32 -0
- package/dist/workflow-page/fixture-role-models.js.map +1 -0
- package/dist/workflow-page/fixtures/basic-current-workflow.d.ts +5 -0
- package/dist/workflow-page/fixtures/basic-current-workflow.d.ts.map +1 -0
- package/dist/workflow-page/fixtures/basic-current-workflow.js +36 -0
- package/dist/workflow-page/fixtures/basic-current-workflow.js.map +1 -0
- package/dist/workflow-page/fixtures/branching-pr-review.d.ts +3 -0
- package/dist/workflow-page/fixtures/branching-pr-review.d.ts.map +1 -0
- package/dist/workflow-page/fixtures/branching-pr-review.js +10 -0
- package/dist/workflow-page/fixtures/branching-pr-review.js.map +1 -0
- package/dist/workflow-page/fixtures/canonical-violations.d.ts +6 -0
- package/dist/workflow-page/fixtures/canonical-violations.d.ts.map +1 -0
- package/dist/workflow-page/fixtures/canonical-violations.js +19 -0
- package/dist/workflow-page/fixtures/canonical-violations.js.map +1 -0
- package/dist/workflow-page/fixtures/credential-errors.d.ts +3 -0
- package/dist/workflow-page/fixtures/credential-errors.d.ts.map +1 -0
- package/dist/workflow-page/fixtures/credential-errors.js +12 -0
- package/dist/workflow-page/fixtures/credential-errors.js.map +1 -0
- package/dist/workflow-page/fixtures/empty-linear-statuses.d.ts +3 -0
- package/dist/workflow-page/fixtures/empty-linear-statuses.d.ts.map +1 -0
- package/dist/workflow-page/fixtures/empty-linear-statuses.js +9 -0
- package/dist/workflow-page/fixtures/empty-linear-statuses.js.map +1 -0
- package/dist/workflow-page/fixtures/hundred-node-performance.d.ts +3 -0
- package/dist/workflow-page/fixtures/hundred-node-performance.d.ts.map +1 -0
- package/dist/workflow-page/fixtures/hundred-node-performance.js +21 -0
- package/dist/workflow-page/fixtures/hundred-node-performance.js.map +1 -0
- package/dist/workflow-page/fixtures/index.d.ts +6 -0
- package/dist/workflow-page/fixtures/index.d.ts.map +1 -0
- package/dist/workflow-page/fixtures/index.js +24 -0
- package/dist/workflow-page/fixtures/index.js.map +1 -0
- package/dist/workflow-page/fixtures/model-catalog-snapshot.d.ts +10 -0
- package/dist/workflow-page/fixtures/model-catalog-snapshot.d.ts.map +1 -0
- package/dist/workflow-page/fixtures/model-catalog-snapshot.js +29 -0
- package/dist/workflow-page/fixtures/model-catalog-snapshot.js.map +1 -0
- package/dist/workflow-page/fixtures/workflow-scopes.d.ts +4 -0
- package/dist/workflow-page/fixtures/workflow-scopes.d.ts.map +1 -0
- package/dist/workflow-page/fixtures/workflow-scopes.js +16 -0
- package/dist/workflow-page/fixtures/workflow-scopes.js.map +1 -0
- package/dist/workflow-page/linear-status-source.d.ts +15 -0
- package/dist/workflow-page/linear-status-source.d.ts.map +1 -0
- package/dist/workflow-page/linear-status-source.js +44 -0
- package/dist/workflow-page/linear-status-source.js.map +1 -0
- package/dist/workflow-page/model-catalog-lookup.d.ts +3 -0
- package/dist/workflow-page/model-catalog-lookup.d.ts.map +1 -0
- package/dist/workflow-page/model-catalog-lookup.js +4 -0
- package/dist/workflow-page/model-catalog-lookup.js.map +1 -0
- package/dist/workflow-page/model-catalog-utils.d.ts +19 -0
- package/dist/workflow-page/model-catalog-utils.d.ts.map +1 -0
- package/dist/workflow-page/model-catalog-utils.js +46 -0
- package/dist/workflow-page/model-catalog-utils.js.map +1 -0
- package/dist/workflow-page/model-catalog.d.ts +12 -0
- package/dist/workflow-page/model-catalog.d.ts.map +1 -0
- package/dist/workflow-page/model-catalog.js +40 -0
- package/dist/workflow-page/model-catalog.js.map +1 -0
- package/dist/workflow-page/scope-branches.d.ts +11 -0
- package/dist/workflow-page/scope-branches.d.ts.map +1 -0
- package/dist/workflow-page/scope-branches.js +18 -0
- package/dist/workflow-page/scope-branches.js.map +1 -0
- package/dist/workflow-page/source-context.d.ts +13 -0
- package/dist/workflow-page/source-context.d.ts.map +1 -0
- package/dist/workflow-page/source-context.js +61 -0
- package/dist/workflow-page/source-context.js.map +1 -0
- package/dist/workflow-page/types.d.ts +108 -0
- package/dist/workflow-page/types.d.ts.map +1 -0
- package/dist/workflow-page/types.js +2 -0
- package/dist/workflow-page/types.js.map +1 -0
- package/dist/workflow-page/workflow-scopes.d.ts +16 -0
- package/dist/workflow-page/workflow-scopes.d.ts.map +1 -0
- package/dist/workflow-page/workflow-scopes.js +55 -0
- package/dist/workflow-page/workflow-scopes.js.map +1 -0
- package/gui/.next/BUILD_ID +1 -1
- package/gui/.next/app-build-manifest.json +376 -115
- package/gui/.next/app-path-routes-manifest.json +44 -15
- package/gui/.next/build-manifest.json +12 -12
- package/gui/.next/next-minimal-server.js.nft.json +1 -1
- package/gui/.next/next-server.js.nft.json +1 -1
- package/gui/.next/prerender-manifest.json +0 -24
- package/gui/.next/required-server-files.json +4 -3
- package/gui/.next/routes-manifest.json +54 -0
- package/gui/.next/server/app/_not-found/page.js +2 -2
- package/gui/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/gui/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/_not-found.html +1 -1
- package/gui/.next/server/app/_not-found.rsc +3 -3
- package/gui/.next/server/app/api/observability/event/route.js +1 -0
- package/gui/.next/server/app/api/observability/event/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/observability/event/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/observability/preferences/route.js +1 -0
- package/gui/.next/server/app/api/observability/preferences/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/observability/preferences/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/operations/bootstrap/route.js +1 -0
- package/gui/.next/server/app/api/operations/bootstrap/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/operations/bootstrap/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/operations/draft/route.js +1 -0
- package/gui/.next/server/app/api/operations/draft/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/operations/draft/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/settings/apply-config-patch/route.js +8 -0
- package/gui/.next/server/app/api/settings/apply-config-patch/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/settings/apply-config-patch/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/settings/preview-config-patch/route.js +8 -0
- package/gui/.next/server/app/api/settings/preview-config-patch/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/settings/preview-config-patch/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/apply-connect-services/route.js +1 -1
- package/gui/.next/server/app/api/setup/apply-connect-services/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/apply-connect-services/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/apply-harness-repo-provisioning/route.js +1 -1
- package/gui/.next/server/app/api/setup/apply-harness-repo-provisioning/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/apply-harness-repo-provisioning/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/apply-harness-secrets/route.js +1 -1
- package/gui/.next/server/app/api/setup/apply-harness-secrets/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/apply-harness-secrets/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/apply-linear-setup/route.js +1 -1
- package/gui/.next/server/app/api/setup/apply-linear-setup/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/apply-linear-setup/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/apply-linear-workspace/route.js +1 -0
- package/gui/.next/server/app/api/setup/apply-linear-workspace/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/apply-linear-workspace/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/apply-local-files/route.js +1 -1
- package/gui/.next/server/app/api/setup/apply-local-files/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/apply-local-files/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/apply-runner-upgrade/route.js +1 -0
- package/gui/.next/server/app/api/setup/apply-runner-upgrade/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/apply-runner-upgrade/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/apply-target-repo-provisioning/route.js +1 -0
- package/gui/.next/server/app/api/setup/apply-target-repo-provisioning/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/apply-target-repo-provisioning/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/apply-target-workflow/route.js +1 -1
- package/gui/.next/server/app/api/setup/apply-target-workflow/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/apply-target-workflow/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/apply-vercel-bridge/route.js +1 -1
- package/gui/.next/server/app/api/setup/apply-vercel-bridge/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/apply-vercel-bridge/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/complete-initial-setup/route.js +1 -0
- package/gui/.next/server/app/api/setup/complete-initial-setup/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/complete-initial-setup/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/finalize-target-workflow/route.js +1 -1
- package/gui/.next/server/app/api/setup/finalize-target-workflow/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/finalize-target-workflow/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/harness-provisioning-progress/route.js +1 -0
- package/gui/.next/server/app/api/setup/harness-provisioning-progress/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/harness-provisioning-progress/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/harness-provisioning-summary/route.js +1 -1
- package/gui/.next/server/app/api/setup/harness-provisioning-summary/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/harness-provisioning-summary/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/linear-options/route.js +1 -1
- package/gui/.next/server/app/api/setup/linear-options/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/linear-options/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/linear-setup-progress/route.js +1 -0
- package/gui/.next/server/app/api/setup/linear-setup-progress/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/linear-setup-progress/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/linear-summary/route.js +1 -1
- package/gui/.next/server/app/api/setup/linear-summary/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/linear-summary/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/linear-workspace-editor-state/route.js +1 -0
- package/gui/.next/server/app/api/setup/linear-workspace-editor-state/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/linear-workspace-editor-state/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/local-readiness/route.js +3 -1
- package/gui/.next/server/app/api/setup/local-readiness/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/local-readiness/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/manual-harness-secret-values/route.js +1 -1
- package/gui/.next/server/app/api/setup/manual-harness-secret-values/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/manual-harness-secret-values/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/preview-connect-services/route.js +1 -1
- package/gui/.next/server/app/api/setup/preview-connect-services/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/preview-connect-services/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/preview-harness-repo-provisioning/route.js +1 -1
- package/gui/.next/server/app/api/setup/preview-harness-repo-provisioning/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/preview-harness-repo-provisioning/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/preview-harness-secrets/route.js +1 -1
- package/gui/.next/server/app/api/setup/preview-harness-secrets/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/preview-harness-secrets/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/preview-linear-setup/route.js +1 -1
- package/gui/.next/server/app/api/setup/preview-linear-setup/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/preview-linear-setup/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/preview-linear-workspace/route.js +1 -0
- package/gui/.next/server/app/api/setup/preview-linear-workspace/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/preview-linear-workspace/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/preview-local-files/route.js +1 -1
- package/gui/.next/server/app/api/setup/preview-local-files/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/preview-local-files/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/preview-runner-upgrade/route.js +1 -0
- package/gui/.next/server/app/api/setup/preview-runner-upgrade/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/preview-runner-upgrade/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/preview-target-repo-provisioning/route.js +1 -0
- package/gui/.next/server/app/api/setup/preview-target-repo-provisioning/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/preview-target-repo-provisioning/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/preview-target-workflow/route.js +1 -1
- package/gui/.next/server/app/api/setup/preview-target-workflow/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/preview-target-workflow/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/preview-vercel-bridge/route.js +1 -1
- package/gui/.next/server/app/api/setup/preview-vercel-bridge/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/preview-vercel-bridge/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/remote-summary/route.js +1 -1
- package/gui/.next/server/app/api/setup/remote-summary/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/remote-summary/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/runner-upgrade-progress/route.js +1 -0
- package/gui/.next/server/app/api/setup/runner-upgrade-progress/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/runner-upgrade-progress/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/runner-upgrade-status/route.js +1 -0
- package/gui/.next/server/app/api/setup/runner-upgrade-status/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/setup/runner-upgrade-status/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/setup/summary/route.js +1 -1
- package/gui/.next/server/app/api/setup/summary/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/summary/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/vercel-bridge-options/route.js +1 -1
- package/gui/.next/server/app/api/setup/vercel-bridge-options/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/vercel-bridge-options/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/vercel-bridge-redeploy-status/route.js +1 -1
- package/gui/.next/server/app/api/setup/vercel-bridge-redeploy-status/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/vercel-bridge-redeploy-status/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/vercel-summary/route.js +1 -1
- package/gui/.next/server/app/api/setup/vercel-summary/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/vercel-summary/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/verify-harness-repo/route.js +1 -1
- package/gui/.next/server/app/api/setup/verify-harness-repo/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/verify-harness-repo/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/verify-service/route.js +1 -1
- package/gui/.next/server/app/api/setup/verify-service/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/verify-service/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/setup/verify-target-repo/route.js +1 -1
- package/gui/.next/server/app/api/setup/verify-target-repo/route.js.nft.json +1 -1
- package/gui/.next/server/app/api/setup/verify-target-repo/route_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/api/workflow/bootstrap/route.js +1 -0
- package/gui/.next/server/app/api/workflow/bootstrap/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/workflow/bootstrap/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/api/workflow/models/route.js +1 -0
- package/gui/.next/server/app/api/workflow/models/route.js.nft.json +1 -0
- package/gui/.next/server/app/api/workflow/models/route_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/operations/page.js +2 -0
- package/gui/.next/server/app/operations/page.js.nft.json +1 -0
- package/gui/.next/server/app/operations/page_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/page.js +3 -2
- package/gui/.next/server/app/page.js.nft.json +1 -1
- package/gui/.next/server/app/page_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/settings/(console)/connections/page.js +2 -0
- package/gui/.next/server/app/settings/(console)/connections/page.js.nft.json +1 -0
- package/gui/.next/server/app/settings/(console)/connections/page_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/settings/(console)/data-sharing/page.js +2 -0
- package/gui/.next/server/app/settings/(console)/data-sharing/page.js.nft.json +1 -0
- package/gui/.next/server/app/settings/(console)/data-sharing/page_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/settings/(console)/deployments/page.js +2 -0
- package/gui/.next/server/app/settings/(console)/deployments/page.js.nft.json +1 -0
- package/gui/.next/server/app/settings/(console)/deployments/page_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/settings/(console)/linear/page.js +10 -0
- package/gui/.next/server/app/settings/(console)/linear/page.js.nft.json +1 -0
- package/gui/.next/server/app/settings/(console)/linear/page_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/settings/(console)/models/page.js +2 -0
- package/gui/.next/server/app/settings/(console)/models/page.js.nft.json +1 -0
- package/gui/.next/server/app/settings/(console)/models/page_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/settings/(console)/page.js +2 -0
- package/gui/.next/server/app/settings/(console)/page.js.nft.json +1 -0
- package/gui/.next/server/app/settings/(console)/page_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/settings/(console)/repositories/page.js +6 -0
- package/gui/.next/server/app/settings/(console)/repositories/page.js.nft.json +1 -0
- package/gui/.next/server/app/settings/(console)/repositories/page_client-reference-manifest.js +1 -0
- package/gui/.next/server/app/settings/configure/page.js +4 -4
- package/gui/.next/server/app/settings/configure/page.js.nft.json +1 -1
- package/gui/.next/server/app/settings/configure/page_client-reference-manifest.js +1 -1
- package/gui/.next/server/app/workflow/page.js +2 -0
- package/gui/.next/server/app/workflow/page.js.nft.json +1 -0
- package/gui/.next/server/app/workflow/page_client-reference-manifest.js +1 -0
- package/gui/.next/server/app-paths-manifest.json +44 -15
- package/gui/.next/server/chunks/105.js +2 -0
- package/gui/.next/server/chunks/1304.js +200 -0
- package/gui/.next/server/chunks/1536.js +1 -0
- package/gui/.next/server/chunks/1948.js +59 -0
- package/gui/.next/server/chunks/2470.js +3 -0
- package/gui/.next/server/chunks/2581.js +2 -0
- package/gui/.next/server/chunks/383.js +1 -1
- package/gui/.next/server/chunks/521.js +1 -0
- package/gui/.next/server/chunks/553.js +1 -0
- package/gui/.next/server/chunks/5827.js +1 -0
- package/gui/.next/server/chunks/6408.js +1 -0
- package/gui/.next/server/chunks/641.js +1 -0
- package/gui/.next/server/chunks/6482.js +1 -0
- package/gui/.next/server/chunks/6801.js +1 -0
- package/gui/.next/server/chunks/6890.js +1 -0
- package/gui/.next/server/chunks/7201.js +1 -0
- package/gui/.next/server/chunks/7221.js +1 -0
- package/gui/.next/server/chunks/{332.js → 7332.js} +1 -1
- package/gui/.next/server/chunks/7527.js +1 -0
- package/gui/.next/server/chunks/8312.js +1 -0
- package/gui/.next/server/chunks/8476.js +8 -0
- package/gui/.next/server/chunks/8764.js +16 -0
- package/gui/.next/server/chunks/8819.js +22 -0
- package/gui/.next/server/chunks/8825.js +1 -0
- package/gui/.next/server/chunks/9148.js +1 -0
- package/gui/.next/server/chunks/9454.js +1 -0
- package/gui/.next/server/instrumentation.js +1 -0
- package/gui/.next/server/instrumentation.js.nft.json +1 -0
- package/gui/.next/server/middleware-build-manifest.js +1 -1
- package/gui/.next/server/pages/404.html +1 -1
- package/gui/.next/server/pages/500.html +1 -1
- package/gui/.next/server/pages/_document.js +1 -1
- package/gui/.next/server/pages/_document.js.nft.json +1 -1
- package/gui/.next/server/pages/_error.js +2 -2
- package/gui/.next/server/pages/_error.js.nft.json +1 -1
- package/gui/.next/server/pages-manifest.json +1 -1
- package/gui/.next/server/webpack-runtime.js +1 -1
- package/gui/.next/static/chunks/3800-379a4b854a7eb1dc.js +1 -0
- package/gui/.next/static/chunks/464-7503c96bb839c213.js +1 -0
- package/gui/.next/static/chunks/5567-672d065d2668f1ea.js +1 -0
- package/gui/.next/static/chunks/6240-d3f8028539091853.js +1 -0
- package/gui/.next/static/chunks/7420-cb03f2f94db611c4.js +1 -0
- package/gui/.next/static/chunks/8002-528c2e589bc54111.js +1 -0
- package/gui/.next/static/chunks/9188-540635591aa2baf5.js +1 -0
- package/gui/.next/static/chunks/9289-00509b3e0c520cce.js +1 -0
- package/gui/.next/static/chunks/9576-6d94e3d152f876e7.js +1 -0
- package/gui/.next/static/chunks/app/_not-found/page-89865576110e31f0.js +1 -0
- package/gui/.next/static/chunks/app/api/observability/event/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/observability/preferences/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/operations/bootstrap/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/operations/draft/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/settings/apply-config-patch/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/settings/preview-config-patch/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-connect-services/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-harness-repo-provisioning/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-harness-secrets/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-linear-setup/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-linear-workspace/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-local-files/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-runner-upgrade/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-target-repo-provisioning/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-target-workflow/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/apply-vercel-bridge/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/complete-initial-setup/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/finalize-target-workflow/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/harness-provisioning-progress/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/harness-provisioning-summary/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/linear-options/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/linear-setup-progress/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/linear-summary/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/linear-workspace-editor-state/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/local-readiness/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/manual-harness-secret-values/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-connect-services/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-harness-repo-provisioning/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-harness-secrets/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-linear-setup/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-linear-workspace/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-local-files/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-runner-upgrade/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-target-repo-provisioning/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-target-workflow/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/preview-vercel-bridge/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/remote-summary/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/runner-upgrade-progress/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/runner-upgrade-status/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/summary/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/vercel-bridge-options/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/vercel-bridge-redeploy-status/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/vercel-summary/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/verify-harness-repo/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/verify-service/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/setup/verify-target-repo/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/workflow/bootstrap/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/api/workflow/models/route-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/layout-ec756afb9686f579.js +1 -0
- package/gui/.next/static/chunks/app/operations/page-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/page-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/settings/(console)/connections/page-95847d89fc70089a.js +1 -0
- package/gui/.next/static/chunks/app/settings/(console)/data-sharing/page-3e0d8fe941c7334e.js +1 -0
- package/gui/.next/static/chunks/app/settings/(console)/deployments/page-e3aaff205f09b567.js +1 -0
- package/gui/.next/static/chunks/app/settings/(console)/layout-74ce539ae02dc765.js +1 -0
- package/gui/.next/static/chunks/app/settings/(console)/linear/page-0a1e73b5ec66af90.js +1 -0
- package/gui/.next/static/chunks/app/settings/(console)/models/page-336406c2905983c9.js +1 -0
- package/gui/.next/static/chunks/app/settings/(console)/page-08ffe80f6f4603f6.js +1 -0
- package/gui/.next/static/chunks/app/settings/(console)/repositories/page-b1f7159c7771b16a.js +1 -0
- package/gui/.next/static/chunks/app/settings/configure/loading-5f1e73b910fbd9da.js +1 -0
- package/gui/.next/static/chunks/app/settings/configure/page-54b7572655b9f60f.js +1 -0
- package/gui/.next/static/chunks/app/workflow/page-8087b342a6ece93c.js +1 -0
- package/gui/.next/static/chunks/framework-dc88dc15d5e043e1.js +1 -0
- package/gui/.next/static/chunks/main-5b390d9aaa7199a5.js +1 -0
- package/gui/.next/static/chunks/main-app-7fbf1b54aaed0242.js +1 -0
- package/gui/.next/static/chunks/pages/{_app-2e239ff05bfdf6d6.js → _app-50fa07b56b2d29ac.js} +1 -1
- package/gui/.next/static/chunks/pages/_error-fed8688bdd23f211.js +1 -0
- package/gui/.next/static/chunks/{webpack-1e50074b7e886e1b.js → webpack-b27d2f88ec3d35a4.js} +1 -1
- package/gui/.next/static/css/b7b323a34ac09e0b.css +3 -0
- package/gui/.next/static/wM7YWpWgyTcGc7H5h1u7U/_buildManifest.js +1 -0
- package/gui/.next/trace +6 -4
- package/gui/.next/types/app/api/observability/event/route.ts +347 -0
- package/gui/.next/types/app/api/observability/preferences/route.ts +347 -0
- package/gui/.next/types/app/api/operations/bootstrap/route.ts +347 -0
- package/gui/.next/types/app/api/operations/draft/route.ts +347 -0
- package/gui/.next/types/app/api/settings/apply-config-patch/route.ts +347 -0
- package/gui/.next/types/app/api/settings/preview-config-patch/route.ts +347 -0
- package/gui/.next/types/app/api/setup/apply-linear-workspace/route.ts +347 -0
- package/gui/.next/types/app/api/setup/apply-runner-upgrade/route.ts +347 -0
- package/gui/.next/types/app/api/setup/apply-target-repo-provisioning/route.ts +347 -0
- package/gui/.next/types/app/api/setup/complete-initial-setup/route.ts +347 -0
- package/gui/.next/types/app/api/setup/harness-provisioning-progress/route.ts +347 -0
- package/gui/.next/types/app/api/setup/linear-setup-progress/route.ts +347 -0
- package/gui/.next/types/app/api/setup/linear-workspace-editor-state/route.ts +347 -0
- package/gui/.next/types/app/api/setup/preview-linear-workspace/route.ts +347 -0
- package/gui/.next/types/app/api/setup/preview-runner-upgrade/route.ts +347 -0
- package/gui/.next/types/app/api/setup/preview-target-repo-provisioning/route.ts +347 -0
- package/gui/.next/types/app/api/setup/runner-upgrade-progress/route.ts +347 -0
- package/gui/.next/types/app/api/setup/runner-upgrade-status/route.ts +347 -0
- package/gui/.next/types/app/api/workflow/bootstrap/route.ts +347 -0
- package/gui/.next/types/app/api/workflow/models/route.ts +347 -0
- package/gui/.next/types/app/operations/page.ts +84 -0
- package/gui/.next/types/app/settings/(console)/connections/page.ts +84 -0
- package/gui/.next/types/app/settings/(console)/data-sharing/page.ts +84 -0
- package/gui/.next/types/app/settings/(console)/deployments/page.ts +84 -0
- package/gui/.next/types/app/settings/(console)/layout.ts +84 -0
- package/gui/.next/types/app/settings/(console)/linear/page.ts +84 -0
- package/gui/.next/types/app/settings/(console)/models/page.ts +84 -0
- package/gui/.next/types/app/settings/(console)/page.ts +84 -0
- package/gui/.next/types/app/settings/(console)/repositories/page.ts +84 -0
- package/gui/.next/types/app/workflow/page.ts +84 -0
- package/gui/.next/types/routes.d.ts +33 -3
- package/gui/.next/types/validator.ts +270 -0
- package/observability.public.json +6 -0
- package/package.json +5 -1
- package/templates/.harness/config.example.json +1 -0
- package/workspace-snapshot/files/.agents/skills/implementation/SKILL.md +4 -0
- package/workspace-snapshot/files/.agents/skills/issue-intake/SKILL.md +13 -1
- package/workspace-snapshot/files/.agents/skills/planner/SKILL.md +10 -0
- package/workspace-snapshot/files/.github/workflows/harness-auto-runner.yml +38 -11
- package/workspace-snapshot/files/.github/workflows/p-dev-runner-config-canary.yml +24 -0
- package/workspace-snapshot/files/.harness/config.example.json +1 -0
- package/workspace-snapshot/files/AGENTS.md +13 -2
- package/workspace-snapshot/files/ARCHITECTURE.md +23 -6
- package/workspace-snapshot/files/CHANGELOG.md +50 -5
- package/workspace-snapshot/files/README.md +10 -4
- package/workspace-snapshot/files/ROADMAP.md +10 -1
- package/workspace-snapshot/files/apps/gui/app/api/observability/event/route.ts +36 -0
- package/workspace-snapshot/files/apps/gui/app/api/observability/preferences/route.ts +88 -0
- package/workspace-snapshot/files/apps/gui/app/api/operations/bootstrap/route.ts +8 -0
- package/workspace-snapshot/files/apps/gui/app/api/operations/draft/route.ts +15 -0
- package/workspace-snapshot/files/apps/gui/app/api/settings/apply-config-patch/route.ts +52 -0
- package/workspace-snapshot/files/apps/gui/app/api/settings/preview-config-patch/route.ts +40 -0
- package/workspace-snapshot/files/apps/gui/app/api/setup/apply-harness-repo-provisioning/route.ts +6 -5
- package/workspace-snapshot/files/apps/gui/app/api/setup/apply-linear-workspace/route.ts +23 -0
- package/workspace-snapshot/files/apps/gui/app/api/setup/apply-runner-upgrade/route.ts +33 -0
- package/workspace-snapshot/files/apps/gui/app/api/setup/apply-target-repo-provisioning/route.ts +38 -0
- package/workspace-snapshot/files/apps/gui/app/api/setup/apply-vercel-bridge/route.ts +7 -1
- package/workspace-snapshot/files/apps/gui/app/api/setup/complete-initial-setup/route.ts +49 -0
- package/workspace-snapshot/files/apps/gui/app/api/setup/harness-provisioning-progress/route.ts +21 -0
- package/workspace-snapshot/files/apps/gui/app/api/setup/linear-setup-progress/route.ts +17 -0
- package/workspace-snapshot/files/apps/gui/app/api/setup/linear-workspace-editor-state/route.ts +17 -0
- package/workspace-snapshot/files/apps/gui/app/api/setup/local-readiness/route.ts +52 -13
- package/workspace-snapshot/files/apps/gui/app/api/setup/preview-linear-workspace/route.ts +22 -0
- package/workspace-snapshot/files/apps/gui/app/api/setup/preview-runner-upgrade/route.ts +17 -0
- package/workspace-snapshot/files/apps/gui/app/api/setup/preview-target-repo-provisioning/route.ts +34 -0
- package/workspace-snapshot/files/apps/gui/app/api/setup/runner-upgrade-progress/route.ts +17 -0
- package/workspace-snapshot/files/apps/gui/app/api/setup/runner-upgrade-status/route.ts +72 -0
- package/workspace-snapshot/files/apps/gui/app/api/setup/verify-service/route.ts +2 -2
- package/workspace-snapshot/files/apps/gui/app/api/setup/verify-target-repo/route.ts +9 -2
- package/workspace-snapshot/files/apps/gui/app/api/workflow/bootstrap/route.ts +24 -0
- package/workspace-snapshot/files/apps/gui/app/api/workflow/models/route.ts +86 -0
- package/workspace-snapshot/files/apps/gui/app/operations/page.tsx +23 -0
- package/workspace-snapshot/files/apps/gui/app/page.tsx +8 -2
- package/workspace-snapshot/files/apps/gui/app/settings/(console)/connections/page.tsx +27 -0
- package/workspace-snapshot/files/apps/gui/app/settings/(console)/data-sharing/page.tsx +25 -0
- package/workspace-snapshot/files/apps/gui/app/settings/(console)/deployments/page.tsx +28 -0
- package/workspace-snapshot/files/apps/gui/app/settings/(console)/layout.tsx +45 -0
- package/workspace-snapshot/files/apps/gui/app/settings/(console)/linear/page.tsx +20 -0
- package/workspace-snapshot/files/apps/gui/app/settings/(console)/models/page.tsx +14 -0
- package/workspace-snapshot/files/apps/gui/app/settings/(console)/page.tsx +7 -0
- package/workspace-snapshot/files/apps/gui/app/settings/(console)/repositories/page.tsx +29 -0
- package/workspace-snapshot/files/apps/gui/app/settings/configure/loading.tsx +25 -0
- package/workspace-snapshot/files/apps/gui/app/settings/configure/page.tsx +76 -7
- package/workspace-snapshot/files/apps/gui/app/workflow/page.tsx +24 -0
- package/workspace-snapshot/files/apps/gui/components/custom/app-shell.tsx +26 -32
- package/workspace-snapshot/files/apps/gui/components/custom/application-header.tsx +64 -0
- package/workspace-snapshot/files/apps/gui/components/custom/configure-experience.tsx +347 -85
- package/workspace-snapshot/files/apps/gui/components/custom/configure-page-content.tsx +15 -0
- package/workspace-snapshot/files/apps/gui/components/custom/configure-workflow.tsx +675 -112
- package/workspace-snapshot/files/apps/gui/components/custom/data-sharing-preferences.tsx +159 -0
- package/workspace-snapshot/files/apps/gui/components/custom/environment-config-form.tsx +31 -13
- package/workspace-snapshot/files/apps/gui/components/custom/guided-cloud-secrets-card.tsx +99 -46
- package/workspace-snapshot/files/apps/gui/components/custom/guided-linear-workspace-card.tsx +974 -148
- package/workspace-snapshot/files/apps/gui/components/custom/guided-local-readiness-card.tsx +153 -35
- package/workspace-snapshot/files/apps/gui/components/custom/guided-operation-panel.tsx +102 -0
- package/workspace-snapshot/files/apps/gui/components/custom/guided-progress-check.tsx +37 -0
- package/workspace-snapshot/files/apps/gui/components/custom/guided-setup-progress.tsx +114 -0
- package/workspace-snapshot/files/apps/gui/components/custom/guided-step-success-panel.tsx +50 -0
- package/workspace-snapshot/files/apps/gui/components/custom/guided-step-transition.tsx +81 -27
- package/workspace-snapshot/files/apps/gui/components/custom/guided-target-workflow-card.tsx +267 -60
- package/workspace-snapshot/files/apps/gui/components/custom/guided-vercel-bridge-card.tsx +341 -179
- package/workspace-snapshot/files/apps/gui/components/custom/observability-settings-card.tsx +23 -0
- package/workspace-snapshot/files/apps/gui/components/custom/remote-action-confirmation.tsx +13 -11
- package/workspace-snapshot/files/apps/gui/components/custom/review-workflow-changes-disclosure.tsx +59 -0
- package/workspace-snapshot/files/apps/gui/components/custom/settings-menu.tsx +109 -0
- package/workspace-snapshot/files/apps/gui/components/custom/setup-checklist.tsx +47 -29
- package/workspace-snapshot/files/apps/gui/components/custom/target-repo-config-form.tsx +22 -2
- package/workspace-snapshot/files/apps/gui/components/custom/target-repo-create-connect.tsx +419 -0
- package/workspace-snapshot/files/apps/gui/components/custom/target-workflow-pr-card.tsx +105 -43
- package/workspace-snapshot/files/apps/gui/components/custom/theme-toggle.tsx +3 -11
- package/workspace-snapshot/files/apps/gui/components/custom/vercel-bridge-orchestration-status.tsx +65 -0
- package/workspace-snapshot/files/apps/gui/components/custom/workflow-install-pending-panel.tsx +125 -53
- package/workspace-snapshot/files/apps/gui/components/settings/editors/connections-settings-editor.tsx +261 -0
- package/workspace-snapshot/files/apps/gui/components/settings/editors/deployments-settings-editor.tsx +397 -0
- package/workspace-snapshot/files/apps/gui/components/settings/editors/linear-settings-editor.tsx +512 -0
- package/workspace-snapshot/files/apps/gui/components/settings/editors/repositories-settings-editor.tsx +749 -0
- package/workspace-snapshot/files/apps/gui/components/settings/editors/runner-upgrade-settings-card.tsx +533 -0
- package/workspace-snapshot/files/apps/gui/components/settings/settings-models-client.tsx +102 -0
- package/workspace-snapshot/files/apps/gui/components/settings/settings-mutation-panel.tsx +125 -0
- package/workspace-snapshot/files/apps/gui/components/settings/settings-shell.tsx +46 -0
- package/workspace-snapshot/files/apps/gui/components/ui/dropdown-menu.tsx +257 -0
- package/workspace-snapshot/files/apps/gui/components/ui/guided-select.tsx +22 -0
- package/workspace-snapshot/files/apps/gui/components/workflow/workflow-cards-section.tsx +206 -0
- package/workspace-snapshot/files/apps/gui/components/workflow/workflow-health-panel.tsx +43 -0
- package/workspace-snapshot/files/apps/gui/components/workflow/workflow-model-control.tsx +111 -0
- package/workspace-snapshot/files/apps/gui/components/workflow/workflow-page-client.tsx +161 -0
- package/workspace-snapshot/files/apps/gui/components/workflow/workflow-scope-selector.tsx +41 -0
- package/workspace-snapshot/files/apps/gui/instrumentation.ts +136 -0
- package/workspace-snapshot/files/apps/gui/lib/configure-navigation-timing.ts +53 -0
- package/workspace-snapshot/files/apps/gui/lib/constants/form.ts +5 -0
- package/workspace-snapshot/files/apps/gui/lib/constants/layout.ts +10 -3
- package/workspace-snapshot/files/apps/gui/lib/guided-setup.ts +222 -0
- package/workspace-snapshot/files/apps/gui/lib/linear-association-draft.ts +93 -0
- package/workspace-snapshot/files/apps/gui/lib/local-readiness-visual-queue.ts +61 -0
- package/workspace-snapshot/files/apps/gui/lib/observability-client.ts +21 -0
- package/workspace-snapshot/files/apps/gui/lib/observability-preferences.ts +19 -0
- package/workspace-snapshot/files/apps/gui/lib/observability-request-guard.ts +136 -0
- package/workspace-snapshot/files/apps/gui/lib/observability-route.ts +75 -0
- package/workspace-snapshot/files/apps/gui/lib/settings/load-harness-config-summary.ts +20 -0
- package/workspace-snapshot/files/apps/gui/lib/settings/load-repositories-overview.ts +37 -0
- package/workspace-snapshot/files/apps/gui/lib/settings/load-settings-editor-data.ts +51 -0
- package/workspace-snapshot/files/apps/gui/lib/settings/load-target-repo-overview-fields.ts +124 -0
- package/workspace-snapshot/files/apps/gui/lib/settings/runner-upgrade-feature-flag.ts +9 -0
- package/workspace-snapshot/files/apps/gui/lib/settings/runner-upgrade-ssr.ts +13 -0
- package/workspace-snapshot/files/apps/gui/lib/settings/runner-upgrade-ui-gates.ts +87 -0
- package/workspace-snapshot/files/apps/gui/lib/settings/settings-mutation.ts +49 -0
- package/workspace-snapshot/files/apps/gui/lib/settings/settings-navigation.ts +10 -0
- package/workspace-snapshot/files/apps/gui/lib/settings/settings-setup-client.ts +312 -0
- package/workspace-snapshot/files/apps/gui/lib/setup-server.ts +608 -17
- package/workspace-snapshot/files/apps/gui/lib/use-theme-toggle.ts +26 -0
- package/workspace-snapshot/files/apps/gui/lib/vercel-bridge-polling-ui.ts +88 -1
- package/workspace-snapshot/files/apps/gui/lib/verification-state.ts +97 -1
- package/workspace-snapshot/files/apps/gui/lib/workflow/api-client.ts +84 -0
- package/workspace-snapshot/files/apps/gui/lib/workflow/use-model-autosave.ts +90 -0
- package/workspace-snapshot/files/apps/gui/lib/workflow/use-workflow-model-save.ts +265 -0
- package/workspace-snapshot/files/apps/gui/lib/workflow/workflow-health.ts +53 -0
- package/workspace-snapshot/files/apps/gui/lib/workflow/workflow-ownership.ts +47 -0
- package/workspace-snapshot/files/apps/gui/lib/workflow/workflow-status-content.ts +149 -0
- package/workspace-snapshot/files/apps/gui/lib/workflow/workflow-violation-messages.ts +49 -0
- package/workspace-snapshot/files/apps/gui/lib/workflow-server.ts +307 -0
- package/workspace-snapshot/files/apps/gui/next.config.ts +8 -3
- package/workspace-snapshot/files/docs/architecture/canonical-product-development-workflow.md +70 -0
- package/workspace-snapshot/files/docs/architecture/linear-automation-state-machine.md +26 -10
- package/workspace-snapshot/files/docs/design/product-development-harness-gui.md +0 -1
- package/workspace-snapshot/files/docs/getting-started.md +2 -2
- package/workspace-snapshot/files/docs/gui-local.md +3 -3
- package/workspace-snapshot/files/docs/gui-remote-setup.md +2 -2
- package/workspace-snapshot/files/docs/issue-intake.md +12 -0
- package/workspace-snapshot/files/docs/observability-and-privacy.md +247 -0
- package/workspace-snapshot/files/docs/operator-config.md +16 -1
- package/workspace-snapshot/files/docs/p-dev.md +43 -9
- package/workspace-snapshot/files/docs/releases/release-process.md +135 -7
- package/workspace-snapshot/files/docs/releases/v0.3.1.md +42 -6
- package/workspace-snapshot/files/docs/releases/v0.4.0.md +93 -0
- package/workspace-snapshot/files/docs/security.md +8 -0
- package/workspace-snapshot/files/docs/settings-console.md +44 -0
- package/workspace-snapshot/files/harness.config.schema.json +114 -0
- package/workspace-snapshot/files/package-lock.json +1881 -95
- package/workspace-snapshot/files/package.json +10 -2
- package/workspace-snapshot/files/packages/p-dev/README.md +12 -4
- package/workspace-snapshot/files/packages/p-dev/observability.public.json +6 -0
- package/workspace-snapshot/files/packages/p-dev/package.json +5 -1
- package/workspace-snapshot/files/prompts/issue-intake-chatgpt.md +4 -0
- package/workspace-snapshot/files/scripts/configure-browser-matrix.config.ts +40 -0
- package/workspace-snapshot/files/scripts/configure-browser-matrix.spec.ts +294 -0
- package/workspace-snapshot/files/scripts/configure-step4-harness-readiness.config.ts +118 -0
- package/workspace-snapshot/files/scripts/configure-step4-harness-readiness.spec.ts +80 -0
- package/workspace-snapshot/files/scripts/prepare-configure-browser-workspace.ts +138 -0
- package/workspace-snapshot/files/scripts/prepare-p-dev-package.ts +9 -0
- package/workspace-snapshot/files/scripts/workflow-browser-matrix.config.ts +27 -0
- package/workspace-snapshot/files/scripts/workflow-browser-matrix.spec.ts +151 -0
- package/workspace-snapshot/files/src/agents/cursor-provider.ts +12 -14
- package/workspace-snapshot/files/src/agents/index.ts +8 -12
- package/workspace-snapshot/files/src/agents/types.ts +40 -4
- package/workspace-snapshot/files/src/artifacts/redact.ts +18 -2
- package/workspace-snapshot/files/src/artifacts/write-json-out-manifest.ts +90 -0
- package/workspace-snapshot/files/src/cli/commands/canary-runner-config.ts +6 -0
- package/workspace-snapshot/files/src/cli/commands/doctor.ts +148 -0
- package/workspace-snapshot/files/src/cli/commands/resolve-route.ts +5 -0
- package/workspace-snapshot/files/src/cli/commands/run.ts +65 -17
- package/workspace-snapshot/files/src/cli/commands/sync-managed-runner.ts +126 -0
- package/workspace-snapshot/files/src/cli/program.ts +47 -0
- package/workspace-snapshot/files/src/config/assert-cloud-config-fingerprint.ts +36 -0
- package/workspace-snapshot/files/src/config/cloud-config-fingerprint.ts +90 -0
- package/workspace-snapshot/files/src/config/legacy-linear-top-level.ts +69 -0
- package/workspace-snapshot/files/src/config/linear-association-gate.ts +80 -0
- package/workspace-snapshot/files/src/config/resolve-linear-team.ts +41 -0
- package/workspace-snapshot/files/src/config/resolve-linear-workspace.ts +391 -0
- package/workspace-snapshot/files/src/config/role-models.ts +39 -0
- package/workspace-snapshot/files/src/config/runner-upgrade-sync-gate.ts +26 -0
- package/workspace-snapshot/files/src/config/schema.ts +17 -0
- package/workspace-snapshot/files/src/config/types.ts +5 -1
- package/workspace-snapshot/files/src/config/workspace-root.ts +28 -0
- package/workspace-snapshot/files/src/cursor/agent-factory.ts +51 -5
- package/workspace-snapshot/files/src/cursor/builder-resume-errors.ts +41 -0
- package/workspace-snapshot/files/src/cursor/model.ts +106 -25
- package/workspace-snapshot/files/src/cursor/run-observer.ts +15 -2
- package/workspace-snapshot/files/src/github/auth-verification-retry.ts +63 -0
- package/workspace-snapshot/files/src/github/client.ts +204 -5
- package/workspace-snapshot/files/src/gui/configure-health.ts +2 -2
- package/workspace-snapshot/files/src/gui/repo-root.ts +20 -1
- package/workspace-snapshot/files/src/gui/start-configure-stable.ts +6 -2
- package/workspace-snapshot/files/src/gui/start-gui.ts +8 -3
- package/workspace-snapshot/files/src/linear/client.ts +10 -0
- package/workspace-snapshot/files/src/linear/comments.ts +52 -0
- package/workspace-snapshot/files/src/linear/issue-query.ts +4 -0
- package/workspace-snapshot/files/src/linear/markers.ts +28 -0
- package/workspace-snapshot/files/src/linear/parser.ts +61 -1
- package/workspace-snapshot/files/src/linear/project-harness-metadata.ts +147 -0
- package/workspace-snapshot/files/src/linear/project-metadata-sync.ts +115 -0
- package/workspace-snapshot/files/src/linear/run-status-comment.ts +197 -0
- package/workspace-snapshot/files/src/linear/writer.ts +25 -0
- package/workspace-snapshot/files/src/observability/adapters/fake.ts +267 -0
- package/workspace-snapshot/files/src/observability/adapters/noop.ts +62 -0
- package/workspace-snapshot/files/src/observability/adapters/posthog.ts +165 -0
- package/workspace-snapshot/files/src/observability/adapters/sentry.ts +276 -0
- package/workspace-snapshot/files/src/observability/analytics-schemas.ts +150 -0
- package/workspace-snapshot/files/src/observability/consent.ts +70 -0
- package/workspace-snapshot/files/src/observability/constants.ts +25 -0
- package/workspace-snapshot/files/src/observability/context.ts +152 -0
- package/workspace-snapshot/files/src/observability/facade-runtime-state.ts +47 -0
- package/workspace-snapshot/files/src/observability/facade.ts +628 -0
- package/workspace-snapshot/files/src/observability/fatal-handlers.ts +60 -0
- package/workspace-snapshot/files/src/observability/identity.ts +13 -0
- package/workspace-snapshot/files/src/observability/index.ts +47 -0
- package/workspace-snapshot/files/src/observability/local-state.ts +142 -0
- package/workspace-snapshot/files/src/observability/package-config.ts +180 -0
- package/workspace-snapshot/files/src/observability/posthog-dashboard-contract.ts +277 -0
- package/workspace-snapshot/files/src/observability/privacy-schema.ts +229 -0
- package/workspace-snapshot/files/src/observability/product-error-messages.ts +19 -0
- package/workspace-snapshot/files/src/observability/product-errors.ts +139 -0
- package/workspace-snapshot/files/src/observability/provisioning-analytics.ts +28 -0
- package/workspace-snapshot/files/src/observability/redaction.ts +85 -0
- package/workspace-snapshot/files/src/observability/runtime-eligibility.ts +50 -0
- package/workspace-snapshot/files/src/observability/sentry-outbound-privacy.ts +216 -0
- package/workspace-snapshot/files/src/observability/session-dedupe.ts +73 -0
- package/workspace-snapshot/files/src/observability/session-handoff.ts +47 -0
- package/workspace-snapshot/files/src/observability/transport-lifecycle.ts +93 -0
- package/workspace-snapshot/files/src/observability/types.ts +265 -0
- package/workspace-snapshot/files/src/p-dev/cli.ts +1 -1
- package/workspace-snapshot/files/src/p-dev/git-object-plumbing.ts +139 -14
- package/workspace-snapshot/files/src/p-dev/launch.ts +93 -14
- package/workspace-snapshot/files/src/p-dev/main.ts +12 -1
- package/workspace-snapshot/files/src/p-dev/package-paths.ts +72 -2
- package/workspace-snapshot/files/src/p-dev/workspace-snapshot-generator.ts +21 -0
- package/workspace-snapshot/files/src/p-dev/workspace-snapshot-manifest.ts +53 -0
- package/workspace-snapshot/files/src/p-dev/workspace-snapshot-types.ts +8 -0
- package/workspace-snapshot/files/src/preview/preview-capability.ts +21 -0
- package/workspace-snapshot/files/src/product/initialization-state.ts +65 -0
- package/workspace-snapshot/files/src/product/product-marker.ts +76 -0
- package/workspace-snapshot/files/src/product/read-product-marker.ts +63 -0
- package/workspace-snapshot/files/src/prompts/builder.ts +31 -1
- package/workspace-snapshot/files/src/prompts/implementation.md +6 -0
- package/workspace-snapshot/files/src/prompts/integration-repair.md +6 -0
- package/workspace-snapshot/files/src/prompts/planning.md +8 -0
- package/workspace-snapshot/files/src/prompts/revision.md +7 -0
- package/workspace-snapshot/files/src/resolver/errors.ts +3 -1
- package/workspace-snapshot/files/src/resolver/target-repo.ts +60 -1
- package/workspace-snapshot/files/src/runner/builder-thread-acquire.ts +321 -0
- package/workspace-snapshot/files/src/runner/builder-thread-evidence.ts +40 -0
- package/workspace-snapshot/files/src/runner/builder-thread-idempotency.ts +27 -0
- package/workspace-snapshot/files/src/runner/builder-thread-lineage-errors.ts +23 -0
- package/workspace-snapshot/files/src/runner/builder-thread-lineage.ts +555 -0
- package/workspace-snapshot/files/src/runner/builder-thread-types.ts +41 -0
- package/workspace-snapshot/files/src/runner/delivery-dedup.ts +78 -0
- package/workspace-snapshot/files/src/runner/failure-finalization.ts +234 -0
- package/workspace-snapshot/files/src/runner/fixture.ts +6 -1
- package/workspace-snapshot/files/src/runner/phases/handoff.ts +74 -46
- package/workspace-snapshot/files/src/runner/phases/implementation.ts +174 -28
- package/workspace-snapshot/files/src/runner/phases/integration-repair.ts +123 -7
- package/workspace-snapshot/files/src/runner/phases/merge.ts +145 -67
- package/workspace-snapshot/files/src/runner/phases/planning.ts +50 -7
- package/workspace-snapshot/files/src/runner/phases/production-sync.ts +37 -4
- package/workspace-snapshot/files/src/runner/phases/revision.ts +130 -44
- package/workspace-snapshot/files/src/runner/preflight.ts +134 -7
- package/workspace-snapshot/files/src/runner/resolve-route.ts +29 -0
- package/workspace-snapshot/files/src/runner/run-generation.ts +21 -0
- package/workspace-snapshot/files/src/runner/uninitialized-product-routing.ts +121 -0
- package/workspace-snapshot/files/src/setup/config-builder.ts +14 -0
- package/workspace-snapshot/files/src/setup/control-plane-readiness.ts +92 -18
- package/workspace-snapshot/files/src/setup/control-plane-setup-state.ts +61 -5
- package/workspace-snapshot/files/src/setup/control-plane-state-lock.ts +103 -0
- package/workspace-snapshot/files/src/setup/control-plane-types.ts +100 -1
- package/workspace-snapshot/files/src/setup/first-run-readiness.ts +9 -2
- package/workspace-snapshot/files/src/setup/git-askpass-credentials.ts +80 -0
- package/workspace-snapshot/files/src/setup/github-dispatch-token.ts +34 -3
- package/workspace-snapshot/files/src/setup/github-remote-provider.ts +78 -2
- package/workspace-snapshot/files/src/setup/github-remote-setup-live.ts +113 -11
- package/workspace-snapshot/files/src/setup/github-repository-name.ts +63 -0
- package/workspace-snapshot/files/src/setup/github-target-repository-provider-live.ts +323 -0
- package/workspace-snapshot/files/src/setup/github-target-repository-provider-mock.ts +284 -0
- package/workspace-snapshot/files/src/setup/github-target-repository-provider.ts +86 -0
- package/workspace-snapshot/files/src/setup/github-workflow-permissions.ts +2 -1
- package/workspace-snapshot/files/src/setup/gui-view-model.ts +10 -0
- package/workspace-snapshot/files/src/setup/harness-dispatch-repo.ts +157 -25
- package/workspace-snapshot/files/src/setup/harness-managed-repo-marker.ts +24 -0
- package/workspace-snapshot/files/src/setup/harness-provisioning-last-run.ts +152 -0
- package/workspace-snapshot/files/src/setup/harness-provisioning-pending-state.ts +3 -0
- package/workspace-snapshot/files/src/setup/harness-provisioning-progress.ts +213 -0
- package/workspace-snapshot/files/src/setup/harness-repo-provisioning.ts +135 -6
- package/workspace-snapshot/files/src/setup/harness-snapshot-git-transport.ts +846 -0
- package/workspace-snapshot/files/src/setup/harness-snapshot-provisioning-helpers.ts +4 -1
- package/workspace-snapshot/files/src/setup/harness-snapshot-provisioning.ts +352 -81
- package/workspace-snapshot/files/src/setup/harness-step-readiness-server.ts +39 -0
- package/workspace-snapshot/files/src/setup/harness-step-readiness.ts +72 -0
- package/workspace-snapshot/files/src/setup/harness-workspace-snapshot-loader.ts +59 -12
- package/workspace-snapshot/files/src/setup/initial-setup-lifecycle.ts +181 -0
- package/workspace-snapshot/files/src/setup/linear-category-labels.ts +18 -0
- package/workspace-snapshot/files/src/setup/linear-setup-apply.ts +97 -17
- package/workspace-snapshot/files/src/setup/linear-setup-client.ts +96 -0
- package/workspace-snapshot/files/src/setup/linear-setup-plan.ts +105 -11
- package/workspace-snapshot/files/src/setup/linear-setup-progress.ts +113 -0
- package/workspace-snapshot/files/src/setup/linear-status-contract.ts +36 -77
- package/workspace-snapshot/files/src/setup/linear-workflow-status-repair.ts +278 -0
- package/workspace-snapshot/files/src/setup/linear-workspace-apply.ts +309 -0
- package/workspace-snapshot/files/src/setup/linear-workspace-drift.ts +4 -0
- package/workspace-snapshot/files/src/setup/linear-workspace-migration.ts +314 -0
- package/workspace-snapshot/files/src/setup/linear-workspace-plan.ts +407 -0
- package/workspace-snapshot/files/src/setup/local-readiness-checks.ts +163 -31
- package/workspace-snapshot/files/src/setup/mock-target-workflow-finalization.ts +30 -4
- package/workspace-snapshot/files/src/setup/packaged-default-route.ts +29 -0
- package/workspace-snapshot/files/src/setup/release-sync-managed-runner.ts +604 -0
- package/workspace-snapshot/files/src/setup/remote-apply-actions.ts +33 -0
- package/workspace-snapshot/files/src/setup/runner-upgrade-canary-dispatch.ts +69 -0
- package/workspace-snapshot/files/src/setup/runner-upgrade-canary.ts +213 -0
- package/workspace-snapshot/files/src/setup/runner-upgrade-evidence.ts +30 -0
- package/workspace-snapshot/files/src/setup/runner-upgrade-pending-state.ts +116 -0
- package/workspace-snapshot/files/src/setup/runner-upgrade-progress.ts +150 -0
- package/workspace-snapshot/files/src/setup/runner-upgrade-provider-live.ts +520 -0
- package/workspace-snapshot/files/src/setup/runner-upgrade-provider.ts +852 -0
- package/workspace-snapshot/files/src/setup/runner-upgrade-status-cache.ts +61 -0
- package/workspace-snapshot/files/src/setup/runner-upgrade-three-way.ts +162 -0
- package/workspace-snapshot/files/src/setup/runner-upgrade-timeouts.ts +386 -0
- package/workspace-snapshot/files/src/setup/runner-upgrade-types.ts +176 -0
- package/workspace-snapshot/files/src/setup/runner-upgrade-worker.ts +149 -0
- package/workspace-snapshot/files/src/setup/runner-upgrade.ts +1926 -0
- package/workspace-snapshot/files/src/setup/service-verification.ts +160 -20
- package/workspace-snapshot/files/src/setup/settings-config-patch.ts +461 -0
- package/workspace-snapshot/files/src/setup/setup-state.ts +12 -1
- package/workspace-snapshot/files/src/setup/step6-automatic-control-state.ts +59 -0
- package/workspace-snapshot/files/src/setup/sync-harness-config-cloud.ts +128 -0
- package/workspace-snapshot/files/src/setup/target-repo-provisioning-pending-state.ts +160 -0
- package/workspace-snapshot/files/src/setup/target-repo-provisioning.ts +704 -0
- package/workspace-snapshot/files/src/setup/target-workflow-finalization-progress.ts +166 -0
- package/workspace-snapshot/files/src/setup/target-workflow-finalization-types.ts +128 -1
- package/workspace-snapshot/files/src/setup/target-workflow-finalization.ts +806 -15
- package/workspace-snapshot/files/src/setup/target-workflow-setup.ts +2 -0
- package/workspace-snapshot/files/src/setup/test-only-runner-upgrade-provider.ts +51 -0
- package/workspace-snapshot/files/src/setup/test-only-target-repo-provisioning-provider.ts +47 -0
- package/workspace-snapshot/files/src/setup/vercel-bridge-artifact.ts +174 -0
- package/workspace-snapshot/files/src/setup/vercel-bridge-deploy.ts +217 -0
- package/workspace-snapshot/files/src/setup/vercel-bridge-diagnostics.ts +1 -1
- package/workspace-snapshot/files/src/setup/vercel-bridge-options.ts +4 -0
- package/workspace-snapshot/files/src/setup/vercel-bridge-orchestration-summary.ts +46 -0
- package/workspace-snapshot/files/src/setup/vercel-bridge-project-marker.ts +8 -0
- package/workspace-snapshot/files/src/setup/vercel-bridge-readiness.ts +2 -1
- package/workspace-snapshot/files/src/setup/vercel-bridge-redeploy-normalize.ts +244 -0
- package/workspace-snapshot/files/src/setup/vercel-bridge-redeploy-poll.ts +406 -190
- package/workspace-snapshot/files/src/setup/vercel-bridge-redeploy-state.ts +3 -0
- package/workspace-snapshot/files/src/setup/vercel-bridge-structured-log.ts +5 -0
- package/workspace-snapshot/files/src/setup/vercel-project-name.ts +38 -0
- package/workspace-snapshot/files/src/setup/vercel-setup-apply.ts +386 -40
- package/workspace-snapshot/files/src/setup/vercel-setup-client.ts +97 -3
- package/workspace-snapshot/files/src/setup/vercel-setup-plan.ts +84 -14
- package/workspace-snapshot/files/src/setup/vercel-setup-summary.ts +10 -0
- package/workspace-snapshot/files/src/setup/workflow-config-snapshot.ts +22 -0
- package/workspace-snapshot/files/src/setup/workflow-install-branch-recovery.ts +660 -0
- package/workspace-snapshot/files/src/setup/workflow-install-merge-errors.ts +70 -20
- package/workspace-snapshot/files/src/setup/workflow-install-merge-gate.ts +25 -0
- package/workspace-snapshot/files/src/setup/workflow-model-save-queue.ts +251 -0
- package/workspace-snapshot/files/src/setup/workflow-model-sync-lock.ts +103 -0
- package/workspace-snapshot/files/src/setup/workflow-model-sync.ts +259 -0
- package/workspace-snapshot/files/src/setup/workflow-models-sync-evidence.ts +34 -0
- package/workspace-snapshot/files/src/types/parsed-issue.ts +9 -0
- package/workspace-snapshot/files/src/types/run.ts +44 -1
- package/workspace-snapshot/files/src/validate/issue.ts +52 -6
- package/workspace-snapshot/files/src/validate/types.ts +3 -0
- package/workspace-snapshot/files/src/webhook/dispatch-statuses.ts +8 -16
- package/workspace-snapshot/files/src/webhook/filter.ts +24 -1
- package/workspace-snapshot/files/src/webhook/handle-linear-webhook.ts +15 -1
- package/workspace-snapshot/files/src/webhook/parse-linear-issue-event.ts +4 -0
- package/workspace-snapshot/files/src/webhook/types.ts +4 -1
- package/workspace-snapshot/files/src/workflow/canonical-product-development-workflow.ts +584 -0
- package/workspace-snapshot/files/src/workflow/canonical-workflow-gate.ts +255 -0
- package/workspace-snapshot/files/src/workflow/canonical-workflow-validation.ts +297 -0
- package/workspace-snapshot/files/src/workflow/finalize-harness-run.ts +83 -0
- package/workspace-snapshot/files/src/workflow/preflight-canonical.ts +40 -0
- package/workspace-snapshot/files/src/workflow/write-fallback-manifest.ts +39 -0
- package/workspace-snapshot/files/src/workflow-page/bootstrap.ts +277 -0
- package/workspace-snapshot/files/src/workflow-page/catalog-validation.ts +158 -0
- package/workspace-snapshot/files/src/workflow-page/constants.ts +22 -0
- package/workspace-snapshot/files/src/workflow-page/current-workflow.ts +225 -0
- package/workspace-snapshot/files/src/workflow-page/fingerprint.ts +9 -0
- package/workspace-snapshot/files/src/workflow-page/fixture-definition.ts +16 -0
- package/workspace-snapshot/files/src/workflow-page/fixture-role-models.ts +50 -0
- package/workspace-snapshot/files/src/workflow-page/fixtures/basic-current-workflow.ts +39 -0
- package/workspace-snapshot/files/src/workflow-page/fixtures/branching-pr-review.ts +11 -0
- package/workspace-snapshot/files/src/workflow-page/fixtures/canonical-violations.ts +50 -0
- package/workspace-snapshot/files/src/workflow-page/fixtures/credential-errors.ts +13 -0
- package/workspace-snapshot/files/src/workflow-page/fixtures/empty-linear-statuses.ts +10 -0
- package/workspace-snapshot/files/src/workflow-page/fixtures/hundred-node-performance.ts +23 -0
- package/workspace-snapshot/files/src/workflow-page/fixtures/index.ts +37 -0
- package/workspace-snapshot/files/src/workflow-page/fixtures/model-catalog-snapshot.ts +34 -0
- package/workspace-snapshot/files/src/workflow-page/fixtures/workflow-scopes.ts +18 -0
- package/workspace-snapshot/files/src/workflow-page/linear-status-source.ts +65 -0
- package/workspace-snapshot/files/src/workflow-page/model-catalog-lookup.ts +8 -0
- package/workspace-snapshot/files/src/workflow-page/model-catalog-utils.ts +83 -0
- package/workspace-snapshot/files/src/workflow-page/model-catalog.ts +60 -0
- package/workspace-snapshot/files/src/workflow-page/scope-branches.ts +27 -0
- package/workspace-snapshot/files/src/workflow-page/source-context.ts +91 -0
- package/workspace-snapshot/files/src/workflow-page/types.ts +134 -0
- package/workspace-snapshot/files/src/workflow-page/workflow-scopes.ts +73 -0
- package/workspace-snapshot/files/tests/agents/cursor-provider.test.ts +41 -29
- package/workspace-snapshot/files/tests/artifacts/redact.test.ts +11 -0
- package/workspace-snapshot/files/tests/cli/json-out-manifest.test.ts +96 -0
- package/workspace-snapshot/files/tests/config/cloud-config-fingerprint.test.ts +62 -0
- package/workspace-snapshot/files/tests/config/legacy-linear-top-level.test.ts +86 -0
- package/workspace-snapshot/files/tests/config/onboarding-cloud-runner-contract.test.ts +139 -0
- package/workspace-snapshot/files/tests/config/resolve-linear-workspace.test.ts +314 -0
- package/workspace-snapshot/files/tests/config/role-models.test.ts +35 -0
- package/workspace-snapshot/files/tests/cursor/agent-factory.test.ts +124 -0
- package/workspace-snapshot/files/tests/cursor/role-models.test.ts +52 -0
- package/workspace-snapshot/files/tests/cursor/run-observer.test.ts +36 -0
- package/workspace-snapshot/files/tests/fixtures/workflows/harness-auto-runner-with-production-sync.yml +36 -11
- package/workspace-snapshot/files/tests/github/auth-verification-retry.test.ts +141 -0
- package/workspace-snapshot/files/tests/gui/app-shell-settings-menu.test.ts +115 -0
- package/workspace-snapshot/files/tests/gui/configure-fix-loop.test.ts +50 -37
- package/workspace-snapshot/files/tests/gui/configure-navigation-contract.test.ts +107 -0
- package/workspace-snapshot/files/tests/gui/configure-target-repo-create.test.ts +103 -0
- package/workspace-snapshot/files/tests/gui/configure-workflow-readiness.test.ts +117 -0
- package/workspace-snapshot/files/tests/gui/data-sharing-preferences.test.ts +43 -0
- package/workspace-snapshot/files/tests/gui/design-system.test.ts +65 -5
- package/workspace-snapshot/files/tests/gui/guided-linear-workspace-card.test.ts +168 -0
- package/workspace-snapshot/files/tests/gui/guided-operation-ux.test.ts +100 -0
- package/workspace-snapshot/files/tests/gui/guided-setup-progress.test.ts +267 -0
- package/workspace-snapshot/files/tests/gui/guided-setup.test.ts +60 -0
- package/workspace-snapshot/files/tests/gui/guided-target-workflow-polling.test.ts +38 -0
- package/workspace-snapshot/files/tests/gui/linear-association-draft.test.ts +93 -0
- package/workspace-snapshot/files/tests/gui/local-readiness-stream.test.ts +154 -0
- package/workspace-snapshot/files/tests/gui/local-readiness-visual-queue.test.ts +69 -0
- package/workspace-snapshot/files/tests/gui/local-readiness-workspace.test.ts +299 -0
- package/workspace-snapshot/files/tests/gui/m6-configure-boundaries.test.ts +177 -35
- package/workspace-snapshot/files/tests/gui/observability-preferences-route.test.ts +343 -0
- package/workspace-snapshot/files/tests/gui/observability-request-guard.test.ts +177 -0
- package/workspace-snapshot/files/tests/gui/packaged-harness-cloud-secrets-routes.test.ts +16 -0
- package/workspace-snapshot/files/tests/gui/packaged-runner-upgrade-routes.test.ts +532 -0
- package/workspace-snapshot/files/tests/gui/packaged-target-repo-provisioning-routes.test.ts +108 -0
- package/workspace-snapshot/files/tests/gui/repo-root.test.ts +55 -0
- package/workspace-snapshot/files/tests/gui/runner-upgrade-settings-card.test.ts +97 -0
- package/workspace-snapshot/files/tests/gui/settings-cursor.test.ts +39 -0
- package/workspace-snapshot/files/tests/gui/settings-deployments-autoload.test.ts +57 -0
- package/workspace-snapshot/files/tests/gui/settings-mutation-editors.test.ts +154 -0
- package/workspace-snapshot/files/tests/gui/settings-navigation.test.ts +95 -0
- package/workspace-snapshot/files/tests/gui/settings-repositories-page.test.ts +54 -0
- package/workspace-snapshot/files/tests/gui/step7-settings-polish.test.ts +180 -0
- package/workspace-snapshot/files/tests/gui/target-workflow-pr-card.test.ts +68 -0
- package/workspace-snapshot/files/tests/gui/vercel-bridge-polling-ui.test.ts +50 -1
- package/workspace-snapshot/files/tests/gui/verification-state.test.ts +45 -0
- package/workspace-snapshot/files/tests/gui/workflow-bootstrap-route.test.ts +78 -0
- package/workspace-snapshot/files/tests/gui/workflow-model-autosave.test.ts +36 -0
- package/workspace-snapshot/files/tests/gui/workflow-source-ui.test.ts +22 -0
- package/workspace-snapshot/files/tests/gui/workflow-violation-messages.test.ts +39 -0
- package/workspace-snapshot/files/tests/gui/workflow-workspace.test.ts +188 -0
- package/workspace-snapshot/files/tests/linear/markers.test.ts +29 -0
- package/workspace-snapshot/files/tests/linear/run-status-comment.test.ts +143 -0
- package/workspace-snapshot/files/tests/observability/analytics-schemas.test.ts +74 -0
- package/workspace-snapshot/files/tests/observability/context.test.ts +132 -0
- package/workspace-snapshot/files/tests/observability/fatal-process.test.ts +106 -0
- package/workspace-snapshot/files/tests/observability/foundation.test.ts +229 -0
- package/workspace-snapshot/files/tests/observability/instrumentation-dev-startup.test.ts +79 -0
- package/workspace-snapshot/files/tests/observability/lifecycle.test.ts +348 -0
- package/workspace-snapshot/files/tests/observability/package-config.test.ts +66 -0
- package/workspace-snapshot/files/tests/observability/packaged-config.test.ts +47 -0
- package/workspace-snapshot/files/tests/observability/posthog-dashboard-contract.test.ts +133 -0
- package/workspace-snapshot/files/tests/observability/posthog-envelope.test.ts +167 -0
- package/workspace-snapshot/files/tests/observability/posthog-shutdown.test.ts +68 -0
- package/workspace-snapshot/files/tests/observability/privacy-schema.test.ts +83 -0
- package/workspace-snapshot/files/tests/observability/provisioning-analytics.test.ts +54 -0
- package/workspace-snapshot/files/tests/observability/public-config-enablement.test.ts +48 -0
- package/workspace-snapshot/files/tests/observability/sentry-envelope.test.ts +289 -0
- package/workspace-snapshot/files/tests/observability/sentry-outbound-privacy.test.ts +141 -0
- package/workspace-snapshot/files/tests/observability/sentry-privacy-assertions.ts +52 -0
- package/workspace-snapshot/files/tests/observability/sentry-server-only.test.ts +68 -0
- package/workspace-snapshot/files/tests/observability/sentry-transport.test.ts +88 -0
- package/workspace-snapshot/files/tests/observability/session-dedupe.test.ts +117 -0
- package/workspace-snapshot/files/tests/observability/snapshot-exclusion.test.ts +9 -0
- package/workspace-snapshot/files/tests/p-dev/cli.test.ts +2 -2
- package/workspace-snapshot/files/tests/p-dev/git-object-plumbing.test.ts +49 -0
- package/workspace-snapshot/files/tests/p-dev/installed-tarball-gui.test.ts +475 -0
- package/workspace-snapshot/files/tests/p-dev/installed-tarball-loopback.test.ts +986 -0
- package/workspace-snapshot/files/tests/p-dev/installed-tarball-snapshot-provisioning.test.ts +361 -0
- package/workspace-snapshot/files/tests/p-dev/launch.test.ts +55 -3
- package/workspace-snapshot/files/tests/p-dev/package-manifest.test.ts +3 -1
- package/workspace-snapshot/files/tests/p-dev/package-packed-artifact.test.ts +115 -10
- package/workspace-snapshot/files/tests/p-dev/package-paths.test.ts +51 -0
- package/workspace-snapshot/files/tests/p-dev/package-version.test.ts +1 -1
- package/workspace-snapshot/files/tests/p-dev/packaged-workspace-setup.test.ts +1 -1
- package/workspace-snapshot/files/tests/p-dev/workspace-snapshot-policy.test.ts +6 -0
- package/workspace-snapshot/files/tests/product/initialization-state.test.ts +78 -0
- package/workspace-snapshot/files/tests/product/read-product-marker.test.ts +46 -0
- package/workspace-snapshot/files/tests/prompts/builder.test.ts +1 -0
- package/workspace-snapshot/files/tests/prompts/implementation-builder.test.ts +1 -0
- package/workspace-snapshot/files/tests/prompts/issue-intake-chatgpt.test.ts +1 -0
- package/workspace-snapshot/files/tests/resolver/target-repo.test.ts +66 -0
- package/workspace-snapshot/files/tests/runner/builder-thread-acquire.test.ts +288 -0
- package/workspace-snapshot/files/tests/runner/builder-thread-idempotency.test.ts +42 -0
- package/workspace-snapshot/files/tests/runner/builder-thread-lineage.test.ts +206 -0
- package/workspace-snapshot/files/tests/runner/delivery-dedup.test.ts +53 -0
- package/workspace-snapshot/files/tests/runner/failure-finalization-runner-upgrade.test.ts +112 -0
- package/workspace-snapshot/files/tests/runner/failure-finalization.test.ts +203 -0
- package/workspace-snapshot/files/tests/runner/handoff.test.ts +66 -0
- package/workspace-snapshot/files/tests/runner/idempotency-handoff.test.ts +1 -0
- package/workspace-snapshot/files/tests/runner/idempotency-implementation.test.ts +1 -0
- package/workspace-snapshot/files/tests/runner/idempotency-revision.test.ts +1 -0
- package/workspace-snapshot/files/tests/runner/idempotency.test.ts +1 -0
- package/workspace-snapshot/files/tests/runner/implementation.test.ts +24 -5
- package/workspace-snapshot/files/tests/runner/integration-repair.test.ts +21 -6
- package/workspace-snapshot/files/tests/runner/merge-linear-metadata.test.ts +90 -0
- package/workspace-snapshot/files/tests/runner/merge.test.ts +79 -0
- package/workspace-snapshot/files/tests/runner/planning.test.ts +9 -0
- package/workspace-snapshot/files/tests/runner/preflight-canonical.test.ts +73 -0
- package/workspace-snapshot/files/tests/runner/preflight-fail-closed.integration.test.ts +418 -0
- package/workspace-snapshot/files/tests/runner/preview-capability.test.ts +46 -0
- package/workspace-snapshot/files/tests/runner/resolve-route.test.ts +6 -0
- package/workspace-snapshot/files/tests/runner/revision.test.ts +117 -9
- package/workspace-snapshot/files/tests/runner/uninitialized-product-routing.test.ts +120 -0
- package/workspace-snapshot/files/tests/setup/control-plane-readiness.test.ts +86 -0
- package/workspace-snapshot/files/tests/setup/control-plane-state-lock.test.ts +67 -0
- package/workspace-snapshot/files/tests/setup/first-run-readiness.test.ts +134 -2
- package/workspace-snapshot/files/tests/setup/github-dispatch-token.test.ts +49 -1
- package/workspace-snapshot/files/tests/setup/github-repository-name.test.ts +28 -0
- package/workspace-snapshot/files/tests/setup/gui-remote-storage.test.ts +0 -2
- package/workspace-snapshot/files/tests/setup/harness-dispatch-repo.test.ts +292 -3
- package/workspace-snapshot/files/tests/setup/harness-snapshot-bulk-fixture.ts +72 -0
- package/workspace-snapshot/files/tests/setup/harness-snapshot-bulk-installed.test.ts +93 -0
- package/workspace-snapshot/files/tests/setup/harness-snapshot-git-transport.test.ts +518 -0
- package/workspace-snapshot/files/tests/setup/harness-step-readiness.test.ts +145 -0
- package/workspace-snapshot/files/tests/setup/harness-workspace-snapshot-loader.test.ts +142 -0
- package/workspace-snapshot/files/tests/setup/initial-setup-lifecycle.test.ts +220 -0
- package/workspace-snapshot/files/tests/setup/linear-setup-apply.test.ts +7 -4
- package/workspace-snapshot/files/tests/setup/linear-setup-plan.test.ts +46 -3
- package/workspace-snapshot/files/tests/setup/linear-workflow-status-repair.test.ts +314 -0
- package/workspace-snapshot/files/tests/setup/linear-workspace-migration.test.ts +173 -0
- package/workspace-snapshot/files/tests/setup/linear-workspace-plan.test.ts +247 -0
- package/workspace-snapshot/files/tests/setup/local-apply-actions.test.ts +13 -0
- package/workspace-snapshot/files/tests/setup/local-readiness-checks.test.ts +25 -1
- package/workspace-snapshot/files/tests/setup/mock-canonical-preflight.ts +14 -0
- package/workspace-snapshot/files/tests/setup/packaged-default-route.test.ts +85 -0
- package/workspace-snapshot/files/tests/setup/release-sync-managed-runner.test.ts +385 -0
- package/workspace-snapshot/files/tests/setup/runner-upgrade-canary.test.ts +201 -0
- package/workspace-snapshot/files/tests/setup/runner-upgrade-three-way.test.ts +226 -0
- package/workspace-snapshot/files/tests/setup/runner-upgrade.test.ts +702 -0
- package/workspace-snapshot/files/tests/setup/service-verification.test.ts +197 -18
- package/workspace-snapshot/files/tests/setup/settings-config-patch.test.ts +280 -0
- package/workspace-snapshot/files/tests/setup/setup-state.test.ts +47 -0
- package/workspace-snapshot/files/tests/setup/step6-automatic-apply-outcome.test.ts +1 -0
- package/workspace-snapshot/files/tests/setup/step6-automatic-control-state.test.ts +73 -0
- package/workspace-snapshot/files/tests/setup/target-repo-provisioning.test.ts +307 -0
- package/workspace-snapshot/files/tests/setup/target-workflow-finalization-progress.test.ts +71 -0
- package/workspace-snapshot/files/tests/setup/target-workflow-finalization-step-github.test.ts +240 -0
- package/workspace-snapshot/files/tests/setup/vercel-bridge-redeploy-normalize.test.ts +106 -0
- package/workspace-snapshot/files/tests/setup/vercel-bridge-redeploy-poll.test.ts +78 -4
- package/workspace-snapshot/files/tests/setup/vercel-setup-apply.test.ts +278 -3
- package/workspace-snapshot/files/tests/setup/vercel-setup-client.test.ts +76 -0
- package/workspace-snapshot/files/tests/setup/vercel-setup-plan.test.ts +58 -0
- package/workspace-snapshot/files/tests/setup/workflow-install-branch-recovery-commit.test.ts +144 -0
- package/workspace-snapshot/files/tests/setup/workflow-install-branch-recovery.test.ts +133 -0
- package/workspace-snapshot/files/tests/setup/workflow-install-merge-errors.test.ts +66 -1
- package/workspace-snapshot/files/tests/setup/workflow-install-merge-gate.test.ts +58 -0
- package/workspace-snapshot/files/tests/setup/workflow-model-save-queue.test.ts +139 -0
- package/workspace-snapshot/files/tests/setup/workflow-model-sync.test.ts +141 -0
- package/workspace-snapshot/files/tests/validate-issue/uninitialized-product.test.ts +108 -0
- package/workspace-snapshot/files/tests/webhook/filter.test.ts +55 -0
- package/workspace-snapshot/files/tests/webhook/harness-auto-runner-workflow.test.ts +7 -0
- package/workspace-snapshot/files/tests/workflow/canonical-product-development-workflow.test.ts +193 -0
- package/workspace-snapshot/files/tests/workflow/canonical-workflow-validation.test.ts +202 -0
- package/workspace-snapshot/files/tests/workflow/workflow-shell-safety.test.ts +5 -2
- package/workspace-snapshot/files/vitest.config.ts +5 -0
- package/workspace-snapshot/manifest.json +3604 -836
- package/workspace-snapshot/object-pack/snapshot-2735d42c938e514f27a9b2aaf5fa2fcc68019075.idx +0 -0
- package/workspace-snapshot/object-pack/snapshot-2735d42c938e514f27a9b2aaf5fa2fcc68019075.pack +0 -0
- package/gui/.next/server/app/index.html +0 -1
- package/gui/.next/server/app/index.meta +0 -9
- package/gui/.next/server/app/index.rsc +0 -18
- package/gui/.next/server/chunks/200.js +0 -1
- package/gui/.next/server/chunks/477.js +0 -16
- package/gui/.next/server/chunks/585.js +0 -1
- package/gui/.next/server/chunks/647.js +0 -82
- package/gui/.next/server/chunks/711.js +0 -1
- package/gui/.next/server/chunks/900.js +0 -1
- package/gui/.next/server/chunks/901.js +0 -22
- package/gui/.next/static/ZGJuemeaiW4yT7CTlmjdG/_buildManifest.js +0 -1
- package/gui/.next/static/chunks/661-5fc9351358e2f084.js +0 -1
- package/gui/.next/static/chunks/app/_not-found/page-f15332c94524c284.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/apply-connect-services/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/apply-harness-repo-provisioning/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/apply-harness-secrets/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/apply-linear-setup/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/apply-local-files/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/apply-target-workflow/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/apply-vercel-bridge/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/finalize-target-workflow/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/harness-provisioning-summary/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/linear-options/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/linear-summary/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/local-readiness/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/manual-harness-secret-values/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/preview-connect-services/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/preview-harness-repo-provisioning/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/preview-harness-secrets/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/preview-linear-setup/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/preview-local-files/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/preview-target-workflow/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/preview-vercel-bridge/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/remote-summary/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/summary/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/vercel-bridge-options/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/vercel-bridge-redeploy-status/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/vercel-summary/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/verify-harness-repo/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/verify-service/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/api/setup/verify-target-repo/route-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/layout-10445a363bff6a38.js +0 -1
- package/gui/.next/static/chunks/app/page-979ec1702bd9938a.js +0 -1
- package/gui/.next/static/chunks/app/settings/configure/page-25b2288ace2949a1.js +0 -1
- package/gui/.next/static/chunks/framework-7318ce553e854ad6.js +0 -1
- package/gui/.next/static/chunks/main-app-732547e2b1a794b6.js +0 -1
- package/gui/.next/static/chunks/main-f7a784f5852cbbd1.js +0 -1
- package/gui/.next/static/chunks/pages/_error-bda15e7831eec981.js +0 -1
- package/gui/.next/static/css/781f3c93b6d7425a.css +0 -3
- package/workspace-snapshot/files/apps/gui/components/custom/setup-dashboard.tsx +0 -124
- package/workspace-snapshot/files/apps/gui/components/custom/setup-readonly-sections.tsx +0 -210
- /package/gui/.next/static/{ZGJuemeaiW4yT7CTlmjdG → wM7YWpWgyTcGc7H5h1u7U}/_ssgManifest.js +0 -0
package/workspace-snapshot/files/apps/gui/components/custom/guided-linear-workspace-card.tsx
CHANGED
|
@@ -1,46 +1,162 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
4
|
-
import type { LinearSetupPreview } from "@harness/setup/linear-setup-apply";
|
|
3
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
5
4
|
import type { LinearSetupApplyResult } from "@harness/setup/linear-setup-apply";
|
|
5
|
+
import type { LinearWorkspaceApplyResult } from "@harness/setup/linear-workspace-apply";
|
|
6
|
+
import type { LinearSetupPreview } from "@harness/setup/linear-setup-apply";
|
|
6
7
|
import type { LinearSetupSummary } from "@harness/setup/linear-setup-summary";
|
|
8
|
+
import type { LinearWorkspacePreview } from "@harness/setup/linear-workspace-plan";
|
|
9
|
+
import { formatLinearCategoryLabel } from "@harness/setup/linear-category-labels";
|
|
7
10
|
import type {
|
|
8
11
|
LinearProjectSummary,
|
|
9
12
|
LinearTeamSummary,
|
|
10
13
|
} from "@harness/setup/linear-setup-client";
|
|
11
14
|
import type { FirstRunReadiness } from "@harness/setup/first-run-readiness";
|
|
15
|
+
import type { ResolvedLinearAssociation } from "@harness/config/resolve-linear-workspace";
|
|
16
|
+
import {
|
|
17
|
+
formatLinearTeamLabel,
|
|
18
|
+
linearAssociationKey,
|
|
19
|
+
} from "@harness/config/resolve-linear-workspace";
|
|
12
20
|
|
|
13
21
|
import { FORM, SPACING } from "@/lib/constants";
|
|
14
22
|
import { GUIDED_SETUP_STEP_COUNT } from "@/lib/guided-setup";
|
|
23
|
+
import {
|
|
24
|
+
addProjectsToDraft,
|
|
25
|
+
buildConfiguredAssociationKeys,
|
|
26
|
+
foldResolvedAssociationIntoDraft,
|
|
27
|
+
groupAssociationsByTeam,
|
|
28
|
+
removeDraftAssociation,
|
|
29
|
+
removeDraftTeam,
|
|
30
|
+
} from "@/lib/linear-association-draft";
|
|
31
|
+
import {
|
|
32
|
+
applyLinearSetup,
|
|
33
|
+
applyLinearWorkspace,
|
|
34
|
+
previewLinearSetup,
|
|
35
|
+
previewLinearWorkspace,
|
|
36
|
+
} from "@/lib/settings/settings-setup-client";
|
|
15
37
|
import { Button } from "@/components/ui/button";
|
|
16
38
|
import { Input } from "@/components/ui/input";
|
|
39
|
+
import { GuidedSelect } from "@/components/ui/guided-select";
|
|
17
40
|
import { Label } from "@/components/ui/label";
|
|
18
41
|
import { SectionCard } from "@/components/custom/section-card";
|
|
19
42
|
import { StatusBadge } from "@/components/custom/status-badge";
|
|
20
43
|
import { RemoteActionConfirmation } from "@/components/custom/remote-action-confirmation";
|
|
21
44
|
import { SetupApplyResult } from "@/components/custom/setup-apply-result";
|
|
45
|
+
import {
|
|
46
|
+
GuidedOperationPanel,
|
|
47
|
+
buildGuidedOperationPhases,
|
|
48
|
+
} from "@/components/custom/guided-operation-panel";
|
|
49
|
+
import { GuidedStepSuccessPanel } from "@/components/custom/guided-step-success-panel";
|
|
50
|
+
|
|
51
|
+
const LINEAR_OPERATION_PHASES = [
|
|
52
|
+
"Validating Linear plan",
|
|
53
|
+
"Creating or selecting team",
|
|
54
|
+
"Creating or selecting project",
|
|
55
|
+
"Configuring workflow statuses",
|
|
56
|
+
"Verifying Linear workspace",
|
|
57
|
+
] as const;
|
|
58
|
+
|
|
59
|
+
const LINEAR_PHASE_INDEX_BY_LABEL: Map<string, number> = new Map(
|
|
60
|
+
LINEAR_OPERATION_PHASES.map((label, index) => [label, index]),
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
type RepoOption = { id: string; targetRepo: string };
|
|
64
|
+
|
|
65
|
+
type LinearWorkspaceEditorBootstrap = {
|
|
66
|
+
associations: ResolvedLinearAssociation[];
|
|
67
|
+
repos: RepoOption[];
|
|
68
|
+
expectedCommittedFingerprint: string;
|
|
69
|
+
workspaceId: string;
|
|
70
|
+
workspaceName: string;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
type PendingLinearCreateEntry = {
|
|
74
|
+
id: string;
|
|
75
|
+
workspaceId: string;
|
|
76
|
+
teamMode: "existing" | "create";
|
|
77
|
+
teamId?: string;
|
|
78
|
+
teamKey?: string;
|
|
79
|
+
teamName?: string;
|
|
80
|
+
projectMode: "existing" | "create";
|
|
81
|
+
projectId?: string;
|
|
82
|
+
projectName?: string;
|
|
83
|
+
targetRepo: string;
|
|
84
|
+
repoConfigId: string;
|
|
85
|
+
};
|
|
22
86
|
|
|
23
87
|
interface GuidedLinearWorkspaceCardProps {
|
|
24
88
|
readiness: FirstRunReadiness;
|
|
25
89
|
initialSummary: LinearSetupSummary;
|
|
26
90
|
linearApiKeyConfigured?: boolean;
|
|
91
|
+
availableRepos?: RepoOption[];
|
|
27
92
|
onSummaryUpdated?: (summary: LinearSetupSummary) => void;
|
|
28
93
|
onUiStateChange?: (state: { linearPreviewStale: boolean }) => void;
|
|
29
94
|
onContinue: () => void;
|
|
95
|
+
onStepCompleted?: () => void;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function mergeRepoOptions(...sources: Array<RepoOption[] | undefined>): RepoOption[] {
|
|
99
|
+
const merged = new Map<string, RepoOption>();
|
|
100
|
+
for (const source of sources) {
|
|
101
|
+
for (const repo of source ?? []) {
|
|
102
|
+
if (!repo.id.trim() || !repo.targetRepo.trim()) {
|
|
103
|
+
continue;
|
|
104
|
+
}
|
|
105
|
+
merged.set(repo.id, repo);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return [...merged.values()];
|
|
30
109
|
}
|
|
31
110
|
|
|
32
|
-
|
|
33
|
-
|
|
111
|
+
function formatWorkspacePreviewSummary(preview: LinearWorkspacePreview): string {
|
|
112
|
+
const lines = [
|
|
113
|
+
`Teams to add: ${preview.impactSummary.teamsToAdd.join(", ") || "none"}`,
|
|
114
|
+
`Projects to add: ${preview.impactSummary.projectsToAdd.join(", ") || "none"}`,
|
|
115
|
+
`Teams to repair: ${preview.impactSummary.teamsToRepair.join(", ") || "none"}`,
|
|
116
|
+
`Projects to detach: ${preview.impactSummary.projectsToDetach.join(", ") || "none"}`,
|
|
117
|
+
...preview.impactSummary.explicitNonActions,
|
|
118
|
+
];
|
|
119
|
+
return lines.join("\n");
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
function describePendingCreate(entry: PendingLinearCreateEntry): string {
|
|
123
|
+
const teamLabel =
|
|
124
|
+
entry.teamMode === "create"
|
|
125
|
+
? formatLinearTeamLabel({
|
|
126
|
+
teamName: entry.teamName,
|
|
127
|
+
teamKey: entry.teamKey ?? "key",
|
|
128
|
+
})
|
|
129
|
+
: formatLinearTeamLabel({
|
|
130
|
+
teamName: entry.teamName,
|
|
131
|
+
teamKey: entry.teamKey ?? entry.teamId ?? "Team",
|
|
132
|
+
});
|
|
133
|
+
const projectLabel =
|
|
134
|
+
entry.projectMode === "create"
|
|
135
|
+
? entry.projectName ?? "New project"
|
|
136
|
+
: entry.projectName ?? entry.projectId ?? "Project";
|
|
137
|
+
return `${teamLabel} · ${projectLabel}`;
|
|
138
|
+
}
|
|
34
139
|
|
|
35
140
|
export function GuidedLinearWorkspaceCard({
|
|
36
141
|
readiness,
|
|
37
142
|
initialSummary,
|
|
38
143
|
linearApiKeyConfigured,
|
|
144
|
+
availableRepos,
|
|
39
145
|
onSummaryUpdated,
|
|
40
146
|
onUiStateChange,
|
|
41
147
|
onContinue,
|
|
148
|
+
onStepCompleted,
|
|
42
149
|
}: GuidedLinearWorkspaceCardProps) {
|
|
43
150
|
const [summary, setSummary] = useState(initialSummary);
|
|
151
|
+
const [bootstrap, setBootstrap] = useState<LinearWorkspaceEditorBootstrap | null>(
|
|
152
|
+
null,
|
|
153
|
+
);
|
|
154
|
+
const [draftAssociations, setDraftAssociations] = useState<
|
|
155
|
+
ResolvedLinearAssociation[]
|
|
156
|
+
>([]);
|
|
157
|
+
const [pendingCreates, setPendingCreates] = useState<PendingLinearCreateEntry[]>(
|
|
158
|
+
[],
|
|
159
|
+
);
|
|
44
160
|
const [teamMode, setTeamMode] = useState<"existing" | "create">("existing");
|
|
45
161
|
const [teamId, setTeamId] = useState(summary.controlPlane?.linear?.teamId ?? "");
|
|
46
162
|
const [teamKey, setTeamKey] = useState(summary.controlPlane?.linear?.teamKey ?? "");
|
|
@@ -52,27 +168,62 @@ export function GuidedLinearWorkspaceCard({
|
|
|
52
168
|
const [projectName, setProjectName] = useState(
|
|
53
169
|
summary.controlPlane?.linear?.projectName ?? "",
|
|
54
170
|
);
|
|
171
|
+
const [addProjectIds, setAddProjectIds] = useState<string[]>([]);
|
|
172
|
+
const [addRepoId, setAddRepoId] = useState("");
|
|
55
173
|
const [teams, setTeams] = useState<LinearTeamSummary[]>([]);
|
|
56
174
|
const [projects, setProjects] = useState<LinearProjectSummary[]>([]);
|
|
175
|
+
const [workspaceId, setWorkspaceId] = useState("");
|
|
176
|
+
const [workspaceName, setWorkspaceName] = useState("Linear workspace");
|
|
177
|
+
const [optionsLoaded, setOptionsLoaded] = useState(false);
|
|
57
178
|
const [optionsLoading, setOptionsLoading] = useState(false);
|
|
58
179
|
const [optionsError, setOptionsError] = useState<string | null>(null);
|
|
59
|
-
const [
|
|
180
|
+
const [bootstrapError, setBootstrapError] = useState<string | null>(null);
|
|
181
|
+
const [setupPreview, setSetupPreview] = useState<LinearSetupPreview | null>(null);
|
|
182
|
+
const [workspacePreview, setWorkspacePreview] =
|
|
183
|
+
useState<LinearWorkspacePreview | null>(null);
|
|
60
184
|
const [previewGenerated, setPreviewGenerated] = useState(false);
|
|
185
|
+
const [previewDisclosed, setPreviewDisclosed] = useState(false);
|
|
186
|
+
const [previewMode, setPreviewMode] = useState<"setup" | "workspace">("setup");
|
|
61
187
|
const [confirmed, setConfirmed] = useState(false);
|
|
62
188
|
const [loading, setLoading] = useState<"preview" | "apply" | "refresh" | null>(
|
|
63
189
|
null,
|
|
64
190
|
);
|
|
65
191
|
const [error, setError] = useState<string | null>(null);
|
|
66
192
|
const [previewError, setPreviewError] = useState<string | null>(null);
|
|
67
|
-
const [applyResult, setApplyResult] = useState<
|
|
193
|
+
const [applyResult, setApplyResult] = useState<
|
|
194
|
+
LinearSetupApplyResult | LinearWorkspaceApplyResult | null
|
|
195
|
+
>(null);
|
|
196
|
+
const [verifiedSuccess, setVerifiedSuccess] = useState(false);
|
|
197
|
+
const [operationActiveIndex, setOperationActiveIndex] = useState(0);
|
|
198
|
+
const [operationSupportingText, setOperationSupportingText] = useState<string | null>(
|
|
68
199
|
null,
|
|
69
200
|
);
|
|
70
|
-
const
|
|
201
|
+
const applyInFlightRef = useRef(false);
|
|
71
202
|
|
|
72
203
|
useEffect(() => {
|
|
73
204
|
setSummary(initialSummary);
|
|
74
205
|
}, [initialSummary]);
|
|
75
206
|
|
|
207
|
+
const repoOptions = useMemo(
|
|
208
|
+
() => mergeRepoOptions(bootstrap?.repos, availableRepos),
|
|
209
|
+
[availableRepos, bootstrap?.repos],
|
|
210
|
+
);
|
|
211
|
+
|
|
212
|
+
useEffect(() => {
|
|
213
|
+
if (!addRepoId && repoOptions[0]?.id) {
|
|
214
|
+
setAddRepoId(repoOptions[0].id);
|
|
215
|
+
}
|
|
216
|
+
}, [addRepoId, repoOptions]);
|
|
217
|
+
|
|
218
|
+
const selectedRepo =
|
|
219
|
+
repoOptions.find((repo) => repo.id === addRepoId) ?? repoOptions[0];
|
|
220
|
+
const targetRepo = selectedRepo?.targetRepo ?? "";
|
|
221
|
+
const repoConfigId = selectedRepo?.id ?? "";
|
|
222
|
+
const canAssociateWithRepo = Boolean(targetRepo && repoConfigId);
|
|
223
|
+
const canUseWorkspaceApply = repoOptions.length > 0;
|
|
224
|
+
|
|
225
|
+
const preview =
|
|
226
|
+
previewMode === "workspace" ? workspacePreview : setupPreview;
|
|
76
227
|
const previewIsCurrent = preview !== null && previewGenerated;
|
|
77
228
|
|
|
78
229
|
useEffect(() => {
|
|
@@ -90,15 +241,85 @@ export function GuidedLinearWorkspaceCard({
|
|
|
90
241
|
}, []);
|
|
91
242
|
|
|
92
243
|
const invalidatePreview = useCallback(() => {
|
|
93
|
-
|
|
244
|
+
setSetupPreview(null);
|
|
245
|
+
setWorkspacePreview(null);
|
|
94
246
|
setPreviewGenerated(false);
|
|
247
|
+
setPreviewDisclosed(false);
|
|
95
248
|
clearVerifiedSuccess();
|
|
96
249
|
}, [clearVerifiedSuccess]);
|
|
97
250
|
|
|
251
|
+
useEffect(() => {
|
|
252
|
+
if (loading !== "apply") {
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
let cancelled = false;
|
|
257
|
+
const pollProgress = async () => {
|
|
258
|
+
try {
|
|
259
|
+
const response = await fetch("/api/setup/linear-setup-progress");
|
|
260
|
+
if (!response.ok || cancelled) {
|
|
261
|
+
return;
|
|
262
|
+
}
|
|
263
|
+
const report = (await response.json()) as {
|
|
264
|
+
uiPhaseLabel?: string | null;
|
|
265
|
+
completed?: boolean;
|
|
266
|
+
};
|
|
267
|
+
if (!report.uiPhaseLabel) {
|
|
268
|
+
return;
|
|
269
|
+
}
|
|
270
|
+
const index = LINEAR_PHASE_INDEX_BY_LABEL.get(report.uiPhaseLabel);
|
|
271
|
+
if (index !== undefined) {
|
|
272
|
+
setOperationActiveIndex(
|
|
273
|
+
report.completed ? LINEAR_OPERATION_PHASES.length : index,
|
|
274
|
+
);
|
|
275
|
+
}
|
|
276
|
+
setOperationSupportingText(report.uiPhaseLabel);
|
|
277
|
+
} catch {
|
|
278
|
+
// Progress polling is best-effort; apply response remains authoritative.
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
setOperationActiveIndex(0);
|
|
283
|
+
setOperationSupportingText(LINEAR_OPERATION_PHASES[0]);
|
|
284
|
+
void pollProgress();
|
|
285
|
+
const intervalId = window.setInterval(() => void pollProgress(), 500);
|
|
286
|
+
return () => {
|
|
287
|
+
cancelled = true;
|
|
288
|
+
window.clearInterval(intervalId);
|
|
289
|
+
};
|
|
290
|
+
}, [loading]);
|
|
291
|
+
|
|
292
|
+
const loadBootstrap = useCallback(async () => {
|
|
293
|
+
setBootstrapError(null);
|
|
294
|
+
try {
|
|
295
|
+
const response = await fetch("/api/setup/linear-workspace-editor-state");
|
|
296
|
+
const data = await response.json();
|
|
297
|
+
if (!response.ok) {
|
|
298
|
+
throw new Error(data.error ?? "Failed to load Linear workspace state");
|
|
299
|
+
}
|
|
300
|
+
const nextBootstrap = data as LinearWorkspaceEditorBootstrap;
|
|
301
|
+
setBootstrap(nextBootstrap);
|
|
302
|
+
setDraftAssociations(nextBootstrap.associations);
|
|
303
|
+
if (nextBootstrap.workspaceId) {
|
|
304
|
+
setWorkspaceId(nextBootstrap.workspaceId);
|
|
305
|
+
}
|
|
306
|
+
if (nextBootstrap.workspaceName) {
|
|
307
|
+
setWorkspaceName(nextBootstrap.workspaceName);
|
|
308
|
+
}
|
|
309
|
+
} catch (loadError) {
|
|
310
|
+
setBootstrapError(
|
|
311
|
+
loadError instanceof Error
|
|
312
|
+
? loadError.message
|
|
313
|
+
: "Failed to load Linear workspace state",
|
|
314
|
+
);
|
|
315
|
+
}
|
|
316
|
+
}, []);
|
|
317
|
+
|
|
98
318
|
const loadWorkspaceOptions = useCallback(async () => {
|
|
99
319
|
if (!apiKeyConfigured) {
|
|
100
320
|
return;
|
|
101
321
|
}
|
|
322
|
+
setOptionsLoaded(false);
|
|
102
323
|
setOptionsLoading(true);
|
|
103
324
|
setOptionsError(null);
|
|
104
325
|
try {
|
|
@@ -109,6 +330,12 @@ export function GuidedLinearWorkspaceCard({
|
|
|
109
330
|
}
|
|
110
331
|
setTeams((data.teams ?? []) as LinearTeamSummary[]);
|
|
111
332
|
setProjects((data.projects ?? []) as LinearProjectSummary[]);
|
|
333
|
+
if (data.workspaceId) {
|
|
334
|
+
setWorkspaceId(String(data.workspaceId));
|
|
335
|
+
}
|
|
336
|
+
if (data.workspaceName) {
|
|
337
|
+
setWorkspaceName(String(data.workspaceName));
|
|
338
|
+
}
|
|
112
339
|
} catch (loadError) {
|
|
113
340
|
setTeams([]);
|
|
114
341
|
setProjects([]);
|
|
@@ -118,24 +345,73 @@ export function GuidedLinearWorkspaceCard({
|
|
|
118
345
|
: "Failed to load Linear teams and projects",
|
|
119
346
|
);
|
|
120
347
|
} finally {
|
|
348
|
+
setOptionsLoaded(true);
|
|
121
349
|
setOptionsLoading(false);
|
|
122
350
|
}
|
|
123
351
|
}, [apiKeyConfigured]);
|
|
124
352
|
|
|
125
353
|
useEffect(() => {
|
|
354
|
+
void loadBootstrap();
|
|
126
355
|
void loadWorkspaceOptions();
|
|
127
|
-
}, [loadWorkspaceOptions]);
|
|
356
|
+
}, [loadBootstrap, loadWorkspaceOptions]);
|
|
357
|
+
|
|
358
|
+
const configuredKeys = useMemo(
|
|
359
|
+
() => buildConfiguredAssociationKeys(draftAssociations),
|
|
360
|
+
[draftAssociations],
|
|
361
|
+
);
|
|
362
|
+
|
|
363
|
+
const groupedDraft = useMemo(
|
|
364
|
+
() => groupAssociationsByTeam(draftAssociations),
|
|
365
|
+
[draftAssociations],
|
|
366
|
+
);
|
|
128
367
|
|
|
129
368
|
const projectOptions = useMemo(() => {
|
|
130
|
-
if (!teamId) {
|
|
369
|
+
if (teamMode === "create" || !teamId) {
|
|
131
370
|
return projects;
|
|
132
371
|
}
|
|
133
|
-
|
|
372
|
+
return projects.filter(
|
|
134
373
|
(project) =>
|
|
135
374
|
project.teamIds.length === 0 || project.teamIds.includes(teamId),
|
|
136
375
|
);
|
|
137
|
-
|
|
138
|
-
|
|
376
|
+
}, [projects, teamId, teamMode]);
|
|
377
|
+
|
|
378
|
+
const hasEligibleProjects = projectOptions.length > 0;
|
|
379
|
+
const forceCreateProject = optionsLoaded && teamMode === "existing" && !hasEligibleProjects;
|
|
380
|
+
|
|
381
|
+
useEffect(() => {
|
|
382
|
+
if (!optionsLoaded || teamMode !== "existing") {
|
|
383
|
+
return;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
const selectedProjectStillEligible =
|
|
387
|
+
projectId === "" || projectOptions.some((project) => project.id === projectId);
|
|
388
|
+
|
|
389
|
+
if (hasEligibleProjects) {
|
|
390
|
+
if (!selectedProjectStillEligible) {
|
|
391
|
+
setProjectId("");
|
|
392
|
+
invalidatePreview();
|
|
393
|
+
}
|
|
394
|
+
return;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
if (projectMode !== "create") {
|
|
398
|
+
setProjectMode("create");
|
|
399
|
+
}
|
|
400
|
+
if (projectId !== "") {
|
|
401
|
+
setProjectId("");
|
|
402
|
+
}
|
|
403
|
+
if (projectMode !== "create" || projectId !== "") {
|
|
404
|
+
invalidatePreview();
|
|
405
|
+
}
|
|
406
|
+
}, [
|
|
407
|
+
hasEligibleProjects,
|
|
408
|
+
invalidatePreview,
|
|
409
|
+
optionsLoaded,
|
|
410
|
+
projectId,
|
|
411
|
+
projectMode,
|
|
412
|
+
projectOptions,
|
|
413
|
+
teamMode,
|
|
414
|
+
]);
|
|
139
415
|
|
|
140
416
|
const refreshSummary = useCallback(async () => {
|
|
141
417
|
setLoading("refresh");
|
|
@@ -147,6 +423,7 @@ export function GuidedLinearWorkspaceCard({
|
|
|
147
423
|
}
|
|
148
424
|
setSummary(data as LinearSetupSummary);
|
|
149
425
|
onSummaryUpdated?.(data as LinearSetupSummary);
|
|
426
|
+
await loadBootstrap();
|
|
150
427
|
} catch (refreshError) {
|
|
151
428
|
setError(
|
|
152
429
|
refreshError instanceof Error
|
|
@@ -156,9 +433,9 @@ export function GuidedLinearWorkspaceCard({
|
|
|
156
433
|
} finally {
|
|
157
434
|
setLoading(null);
|
|
158
435
|
}
|
|
159
|
-
}, [onSummaryUpdated]);
|
|
436
|
+
}, [loadBootstrap, onSummaryUpdated]);
|
|
160
437
|
|
|
161
|
-
const
|
|
438
|
+
const buildSetupPlanPayload = useCallback(
|
|
162
439
|
() => ({
|
|
163
440
|
team: {
|
|
164
441
|
mode: teamMode,
|
|
@@ -170,26 +447,238 @@ export function GuidedLinearWorkspaceCard({
|
|
|
170
447
|
mode: projectMode,
|
|
171
448
|
projectId: projectMode === "existing" ? projectId : undefined,
|
|
172
449
|
projectName: projectMode === "create" ? projectName : undefined,
|
|
450
|
+
targetRepo: targetRepo || undefined,
|
|
173
451
|
},
|
|
174
452
|
}),
|
|
175
|
-
[
|
|
453
|
+
[
|
|
454
|
+
projectId,
|
|
455
|
+
projectMode,
|
|
456
|
+
projectName,
|
|
457
|
+
targetRepo,
|
|
458
|
+
teamId,
|
|
459
|
+
teamKey,
|
|
460
|
+
teamMode,
|
|
461
|
+
teamName,
|
|
462
|
+
],
|
|
176
463
|
);
|
|
177
464
|
|
|
465
|
+
const buildWorkspacePlanPayload = useCallback(
|
|
466
|
+
(requestedAssociations: ResolvedLinearAssociation[]) => ({
|
|
467
|
+
expectedCommittedFingerprint: bootstrap?.expectedCommittedFingerprint ?? "",
|
|
468
|
+
workspaceId: workspaceId || bootstrap?.workspaceId || "",
|
|
469
|
+
workspaceName: workspaceName || bootstrap?.workspaceName || "Linear workspace",
|
|
470
|
+
requestedAssociations,
|
|
471
|
+
}),
|
|
472
|
+
[bootstrap, workspaceId, workspaceName],
|
|
473
|
+
);
|
|
474
|
+
|
|
475
|
+
const addFormComplete =
|
|
476
|
+
teamMode === "existing"
|
|
477
|
+
? Boolean(teamId) &&
|
|
478
|
+
(projectMode === "existing"
|
|
479
|
+
? addProjectIds.length > 0 || Boolean(projectId)
|
|
480
|
+
: Boolean(projectName))
|
|
481
|
+
: Boolean(teamKey && teamName) &&
|
|
482
|
+
(projectMode === "existing" ? Boolean(projectId) : Boolean(projectName));
|
|
483
|
+
|
|
484
|
+
const addCurrentSelectionToDraft = useCallback(() => {
|
|
485
|
+
if (!addFormComplete) {
|
|
486
|
+
return;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
invalidatePreview();
|
|
490
|
+
|
|
491
|
+
if (teamMode === "existing" && projectMode === "existing") {
|
|
492
|
+
const selectedTeam = teams.find((team) => team.id === teamId);
|
|
493
|
+
if (!selectedTeam) {
|
|
494
|
+
return;
|
|
495
|
+
}
|
|
496
|
+
const projectIds =
|
|
497
|
+
addProjectIds.length > 0 ? addProjectIds : projectId ? [projectId] : [];
|
|
498
|
+
const selectedProjects = projectIds
|
|
499
|
+
.map((id) => projects.find((project) => project.id === id))
|
|
500
|
+
.filter((project): project is LinearProjectSummary => Boolean(project));
|
|
501
|
+
|
|
502
|
+
if (canAssociateWithRepo) {
|
|
503
|
+
setDraftAssociations((current) =>
|
|
504
|
+
addProjectsToDraft({
|
|
505
|
+
draft: current,
|
|
506
|
+
workspaceId: workspaceId || bootstrap?.workspaceId || "",
|
|
507
|
+
team: {
|
|
508
|
+
id: selectedTeam.id,
|
|
509
|
+
key: selectedTeam.key,
|
|
510
|
+
name: selectedTeam.name,
|
|
511
|
+
},
|
|
512
|
+
projects: selectedProjects.map((project) => ({
|
|
513
|
+
id: project.id,
|
|
514
|
+
name: project.name,
|
|
515
|
+
})),
|
|
516
|
+
targetRepo,
|
|
517
|
+
repoConfigId,
|
|
518
|
+
}),
|
|
519
|
+
);
|
|
520
|
+
}
|
|
521
|
+
setAddProjectIds([]);
|
|
522
|
+
if (projectId) {
|
|
523
|
+
setProjectId("");
|
|
524
|
+
}
|
|
525
|
+
return;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
setPendingCreates((current) => [
|
|
529
|
+
...current,
|
|
530
|
+
{
|
|
531
|
+
id: crypto.randomUUID(),
|
|
532
|
+
workspaceId: workspaceId || bootstrap?.workspaceId || "",
|
|
533
|
+
teamMode,
|
|
534
|
+
teamId: teamMode === "existing" ? teamId : undefined,
|
|
535
|
+
teamKey: teamMode === "create" ? teamKey : undefined,
|
|
536
|
+
teamName: teamMode === "create" ? teamName : undefined,
|
|
537
|
+
projectMode,
|
|
538
|
+
projectId: projectMode === "existing" ? projectId : undefined,
|
|
539
|
+
projectName: projectMode === "create" ? projectName : undefined,
|
|
540
|
+
targetRepo: canAssociateWithRepo ? targetRepo : "",
|
|
541
|
+
repoConfigId: canAssociateWithRepo ? repoConfigId : "",
|
|
542
|
+
},
|
|
543
|
+
]);
|
|
544
|
+
setAddProjectIds([]);
|
|
545
|
+
setProjectId("");
|
|
546
|
+
setProjectName("");
|
|
547
|
+
}, [
|
|
548
|
+
addFormComplete,
|
|
549
|
+
addProjectIds,
|
|
550
|
+
bootstrap?.workspaceId,
|
|
551
|
+
canAssociateWithRepo,
|
|
552
|
+
invalidatePreview,
|
|
553
|
+
projectId,
|
|
554
|
+
projectMode,
|
|
555
|
+
projectName,
|
|
556
|
+
projects,
|
|
557
|
+
repoConfigId,
|
|
558
|
+
targetRepo,
|
|
559
|
+
teamId,
|
|
560
|
+
teamKey,
|
|
561
|
+
teamMode,
|
|
562
|
+
teamName,
|
|
563
|
+
teams,
|
|
564
|
+
workspaceId,
|
|
565
|
+
]);
|
|
566
|
+
|
|
567
|
+
const resolvePendingCreates = useCallback(async () => {
|
|
568
|
+
let resolvedDraft = [...draftAssociations];
|
|
569
|
+
for (const entry of pendingCreates) {
|
|
570
|
+
const response = await applyLinearSetup({
|
|
571
|
+
plan: {
|
|
572
|
+
team: {
|
|
573
|
+
mode: entry.teamMode,
|
|
574
|
+
teamId: entry.teamId,
|
|
575
|
+
teamKey: entry.teamKey,
|
|
576
|
+
teamName: entry.teamName,
|
|
577
|
+
},
|
|
578
|
+
project: {
|
|
579
|
+
mode: entry.projectMode,
|
|
580
|
+
projectId: entry.projectId,
|
|
581
|
+
projectName: entry.projectName,
|
|
582
|
+
targetRepo: entry.targetRepo || undefined,
|
|
583
|
+
},
|
|
584
|
+
},
|
|
585
|
+
fingerprint: (
|
|
586
|
+
await previewLinearSetup({
|
|
587
|
+
team: {
|
|
588
|
+
mode: entry.teamMode,
|
|
589
|
+
teamId: entry.teamId,
|
|
590
|
+
teamKey: entry.teamKey,
|
|
591
|
+
teamName: entry.teamName,
|
|
592
|
+
},
|
|
593
|
+
project: {
|
|
594
|
+
mode: entry.projectMode,
|
|
595
|
+
projectId: entry.projectId,
|
|
596
|
+
projectName: entry.projectName,
|
|
597
|
+
targetRepo: entry.targetRepo || undefined,
|
|
598
|
+
},
|
|
599
|
+
})
|
|
600
|
+
).fingerprint,
|
|
601
|
+
});
|
|
602
|
+
if (!response.apply.verified) {
|
|
603
|
+
throw new Error("Linear create apply finished without verification.");
|
|
604
|
+
}
|
|
605
|
+
const association: ResolvedLinearAssociation = {
|
|
606
|
+
workspaceId: entry.workspaceId || workspaceId || bootstrap?.workspaceId || "",
|
|
607
|
+
teamId: response.apply.team.id,
|
|
608
|
+
teamKey: response.apply.team.key,
|
|
609
|
+
teamName: response.apply.team.name,
|
|
610
|
+
projectId: response.apply.project.id,
|
|
611
|
+
projectName: response.apply.project.name,
|
|
612
|
+
targetRepo: entry.targetRepo,
|
|
613
|
+
repoConfigId: entry.repoConfigId,
|
|
614
|
+
};
|
|
615
|
+
resolvedDraft = foldResolvedAssociationIntoDraft({
|
|
616
|
+
draft: resolvedDraft,
|
|
617
|
+
association,
|
|
618
|
+
});
|
|
619
|
+
}
|
|
620
|
+
setPendingCreates([]);
|
|
621
|
+
setDraftAssociations(resolvedDraft);
|
|
622
|
+
return resolvedDraft;
|
|
623
|
+
}, [bootstrap?.workspaceId, draftAssociations, pendingCreates, workspaceId]);
|
|
624
|
+
|
|
178
625
|
const runPreview = useCallback(async () => {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
626
|
+
if (canUseWorkspaceApply && draftAssociations.length > 0) {
|
|
627
|
+
const nextPreview = await previewLinearWorkspace(
|
|
628
|
+
buildWorkspacePlanPayload(draftAssociations),
|
|
629
|
+
);
|
|
630
|
+
if (nextPreview.validationError) {
|
|
631
|
+
throw new Error(nextPreview.validationError);
|
|
632
|
+
}
|
|
633
|
+
setWorkspacePreview(nextPreview);
|
|
634
|
+
setSetupPreview(null);
|
|
635
|
+
setPreviewMode("workspace");
|
|
636
|
+
setPreviewGenerated(true);
|
|
637
|
+
return nextPreview;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
if (draftAssociations.length === 1 && pendingCreates.length === 0) {
|
|
641
|
+
const association = draftAssociations[0]!;
|
|
642
|
+
const nextPreview = await previewLinearSetup({
|
|
643
|
+
team: { mode: "existing", teamId: association.teamId },
|
|
644
|
+
project: { mode: "existing", projectId: association.projectId },
|
|
645
|
+
});
|
|
646
|
+
setSetupPreview(nextPreview);
|
|
647
|
+
setWorkspacePreview(null);
|
|
648
|
+
setPreviewMode("setup");
|
|
649
|
+
setPreviewGenerated(true);
|
|
650
|
+
return nextPreview;
|
|
187
651
|
}
|
|
188
|
-
|
|
189
|
-
|
|
652
|
+
|
|
653
|
+
const pendingPreviewSource = pendingCreates[0];
|
|
654
|
+
const nextPreview = pendingPreviewSource
|
|
655
|
+
? await previewLinearSetup({
|
|
656
|
+
team: {
|
|
657
|
+
mode: pendingPreviewSource.teamMode,
|
|
658
|
+
teamId: pendingPreviewSource.teamId,
|
|
659
|
+
teamKey: pendingPreviewSource.teamKey,
|
|
660
|
+
teamName: pendingPreviewSource.teamName,
|
|
661
|
+
},
|
|
662
|
+
project: {
|
|
663
|
+
mode: pendingPreviewSource.projectMode,
|
|
664
|
+
projectId: pendingPreviewSource.projectId,
|
|
665
|
+
projectName: pendingPreviewSource.projectName,
|
|
666
|
+
targetRepo: pendingPreviewSource.targetRepo || undefined,
|
|
667
|
+
},
|
|
668
|
+
})
|
|
669
|
+
: await previewLinearSetup(buildSetupPlanPayload());
|
|
670
|
+
setSetupPreview(nextPreview);
|
|
671
|
+
setWorkspacePreview(null);
|
|
672
|
+
setPreviewMode("setup");
|
|
190
673
|
setPreviewGenerated(true);
|
|
191
674
|
return nextPreview;
|
|
192
|
-
}, [
|
|
675
|
+
}, [
|
|
676
|
+
buildSetupPlanPayload,
|
|
677
|
+
buildWorkspacePlanPayload,
|
|
678
|
+
canUseWorkspaceApply,
|
|
679
|
+
draftAssociations,
|
|
680
|
+
pendingCreates,
|
|
681
|
+
]);
|
|
193
682
|
|
|
194
683
|
const handlePreview = useCallback(async () => {
|
|
195
684
|
setLoading("preview");
|
|
@@ -199,9 +688,12 @@ export function GuidedLinearWorkspaceCard({
|
|
|
199
688
|
setConfirmed(false);
|
|
200
689
|
try {
|
|
201
690
|
await runPreview();
|
|
691
|
+
setPreviewDisclosed(true);
|
|
202
692
|
} catch (nextPreviewError) {
|
|
203
|
-
|
|
693
|
+
setSetupPreview(null);
|
|
694
|
+
setWorkspacePreview(null);
|
|
204
695
|
setPreviewGenerated(false);
|
|
696
|
+
setPreviewDisclosed(true);
|
|
205
697
|
setPreviewError(
|
|
206
698
|
nextPreviewError instanceof Error
|
|
207
699
|
? nextPreviewError.message
|
|
@@ -213,52 +705,142 @@ export function GuidedLinearWorkspaceCard({
|
|
|
213
705
|
}, [clearVerifiedSuccess, runPreview]);
|
|
214
706
|
|
|
215
707
|
const handleApply = async () => {
|
|
216
|
-
if (!confirmed) {
|
|
708
|
+
if (!confirmed || loading !== null || applyInFlightRef.current) {
|
|
217
709
|
return;
|
|
218
710
|
}
|
|
219
711
|
|
|
712
|
+
applyInFlightRef.current = true;
|
|
220
713
|
setLoading("apply");
|
|
714
|
+
setOperationActiveIndex(0);
|
|
715
|
+
setOperationSupportingText(LINEAR_OPERATION_PHASES[0]);
|
|
221
716
|
setError(null);
|
|
222
717
|
clearVerifiedSuccess();
|
|
223
718
|
try {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
throw new Error(currentPreview.validationError);
|
|
719
|
+
let resolvedDraft = draftAssociations;
|
|
720
|
+
if (pendingCreates.length > 0) {
|
|
721
|
+
resolvedDraft = await resolvePendingCreates();
|
|
228
722
|
}
|
|
229
723
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
headers: { "Content-Type": "application/json" },
|
|
233
|
-
body: JSON.stringify({
|
|
234
|
-
plan: buildPlanPayload(),
|
|
235
|
-
confirmed: true,
|
|
236
|
-
fingerprint: currentPreview.fingerprint,
|
|
237
|
-
}),
|
|
238
|
-
});
|
|
239
|
-
const data = await response.json();
|
|
240
|
-
if (!response.ok) {
|
|
241
|
-
throw new Error(data.error ?? "Apply failed");
|
|
724
|
+
if (resolvedDraft.length === 0) {
|
|
725
|
+
throw new Error("Add at least one Linear team and project association before applying.");
|
|
242
726
|
}
|
|
243
727
|
|
|
244
|
-
|
|
245
|
-
|
|
728
|
+
if (canUseWorkspaceApply) {
|
|
729
|
+
const currentPreview =
|
|
730
|
+
previewIsCurrent && previewMode === "workspace" && workspacePreview
|
|
731
|
+
? workspacePreview
|
|
732
|
+
: ((await previewLinearWorkspace(
|
|
733
|
+
buildWorkspacePlanPayload(resolvedDraft),
|
|
734
|
+
)) as LinearWorkspacePreview);
|
|
735
|
+
if (currentPreview.validationError) {
|
|
736
|
+
throw new Error(currentPreview.validationError);
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
const result = await applyLinearWorkspace({
|
|
740
|
+
plan: buildWorkspacePlanPayload(resolvedDraft),
|
|
741
|
+
fingerprint: currentPreview.fingerprint,
|
|
742
|
+
});
|
|
743
|
+
if (!result.apply.verified) {
|
|
744
|
+
throw new Error(
|
|
745
|
+
"Linear workspace apply finished, but post-apply verification did not pass.",
|
|
746
|
+
);
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
setSummary(result.summary as LinearSetupSummary);
|
|
750
|
+
onSummaryUpdated?.(result.summary as LinearSetupSummary);
|
|
751
|
+
onStepCompleted?.();
|
|
752
|
+
setVerifiedSuccess(true);
|
|
753
|
+
setDraftAssociations(resolvedDraft);
|
|
754
|
+
setApplyResult(result.apply);
|
|
755
|
+
} else if (resolvedDraft.length === 1) {
|
|
756
|
+
const association = resolvedDraft[0]!;
|
|
757
|
+
const currentPreview =
|
|
758
|
+
previewIsCurrent && previewMode === "setup" && setupPreview
|
|
759
|
+
? setupPreview
|
|
760
|
+
: await previewLinearSetup({
|
|
761
|
+
team: { mode: "existing", teamId: association.teamId },
|
|
762
|
+
project: { mode: "existing", projectId: association.projectId },
|
|
763
|
+
});
|
|
764
|
+
if (currentPreview.validationError) {
|
|
765
|
+
throw new Error(currentPreview.validationError);
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
const response = await applyLinearSetup({
|
|
769
|
+
plan: {
|
|
770
|
+
team: { mode: "existing", teamId: association.teamId },
|
|
771
|
+
project: { mode: "existing", projectId: association.projectId },
|
|
772
|
+
},
|
|
773
|
+
fingerprint: currentPreview.fingerprint,
|
|
774
|
+
});
|
|
775
|
+
if (!response.apply.verified) {
|
|
776
|
+
throw new Error(
|
|
777
|
+
"Linear workspace apply finished, but post-apply verification did not pass.",
|
|
778
|
+
);
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
setApplyResult(response.apply);
|
|
782
|
+
setSummary(response.summary as LinearSetupSummary);
|
|
783
|
+
onSummaryUpdated?.(response.summary as LinearSetupSummary);
|
|
784
|
+
onStepCompleted?.();
|
|
785
|
+
setVerifiedSuccess(true);
|
|
786
|
+
} else if (pendingCreates.length > 0 || addFormComplete) {
|
|
787
|
+
const currentPreview =
|
|
788
|
+
previewIsCurrent && previewMode === "setup" && setupPreview
|
|
789
|
+
? setupPreview
|
|
790
|
+
: await previewLinearSetup(buildSetupPlanPayload());
|
|
791
|
+
if (currentPreview.validationError) {
|
|
792
|
+
throw new Error(currentPreview.validationError);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
const response = await applyLinearSetup({
|
|
796
|
+
plan: buildSetupPlanPayload(),
|
|
797
|
+
fingerprint: currentPreview.fingerprint,
|
|
798
|
+
});
|
|
799
|
+
if (!response.apply.verified) {
|
|
800
|
+
throw new Error(
|
|
801
|
+
"Linear workspace apply finished, but post-apply verification did not pass.",
|
|
802
|
+
);
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
const association: ResolvedLinearAssociation = {
|
|
806
|
+
workspaceId: workspaceId || bootstrap?.workspaceId || "",
|
|
807
|
+
teamId: response.apply.team.id,
|
|
808
|
+
teamKey: response.apply.team.key,
|
|
809
|
+
teamName: response.apply.team.name,
|
|
810
|
+
projectId: response.apply.project.id,
|
|
811
|
+
projectName: response.apply.project.name,
|
|
812
|
+
targetRepo,
|
|
813
|
+
repoConfigId,
|
|
814
|
+
};
|
|
815
|
+
const nextDraft = foldResolvedAssociationIntoDraft({
|
|
816
|
+
draft: resolvedDraft,
|
|
817
|
+
association,
|
|
818
|
+
});
|
|
819
|
+
setDraftAssociations(nextDraft);
|
|
820
|
+
setApplyResult(response.apply);
|
|
821
|
+
setSummary(response.summary as LinearSetupSummary);
|
|
822
|
+
onSummaryUpdated?.(response.summary as LinearSetupSummary);
|
|
823
|
+
onStepCompleted?.();
|
|
824
|
+
setVerifiedSuccess(true);
|
|
825
|
+
} else {
|
|
246
826
|
throw new Error(
|
|
247
|
-
"
|
|
827
|
+
"Configure at least one target repository before applying multiple Linear associations.",
|
|
248
828
|
);
|
|
249
829
|
}
|
|
250
830
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
onSummaryUpdated?.(data.summary as LinearSetupSummary);
|
|
254
|
-
setVerifiedSuccess(true);
|
|
255
|
-
setPreview(null);
|
|
831
|
+
setSetupPreview(null);
|
|
832
|
+
setWorkspacePreview(null);
|
|
256
833
|
setPreviewGenerated(false);
|
|
834
|
+
setPreviewDisclosed(false);
|
|
257
835
|
setConfirmed(false);
|
|
836
|
+
setOperationActiveIndex(LINEAR_OPERATION_PHASES.length);
|
|
837
|
+
setOperationSupportingText("Linear workspace verified.");
|
|
258
838
|
void loadWorkspaceOptions();
|
|
839
|
+
await loadBootstrap();
|
|
259
840
|
} catch (applyError) {
|
|
260
841
|
setError(applyError instanceof Error ? applyError.message : "Apply failed");
|
|
261
842
|
} finally {
|
|
843
|
+
applyInFlightRef.current = false;
|
|
262
844
|
setLoading(null);
|
|
263
845
|
}
|
|
264
846
|
};
|
|
@@ -269,16 +851,16 @@ export function GuidedLinearWorkspaceCard({
|
|
|
269
851
|
"complete" ||
|
|
270
852
|
summary.workspace.configured;
|
|
271
853
|
|
|
272
|
-
const
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
854
|
+
const draftReady =
|
|
855
|
+
draftAssociations.length > 0 ||
|
|
856
|
+
pendingCreates.length > 0 ||
|
|
857
|
+
addFormComplete;
|
|
858
|
+
const controlsLocked = loading === "apply";
|
|
277
859
|
|
|
278
860
|
return (
|
|
279
861
|
<SectionCard
|
|
280
862
|
title={`Step 2 of ${GUIDED_SETUP_STEP_COUNT} · Set up Linear workspace`}
|
|
281
|
-
description="
|
|
863
|
+
description="Add one or more Linear team and project associations, review the draft list, then apply the initial workspace setup."
|
|
282
864
|
>
|
|
283
865
|
<div className={SPACING.stackSm}>
|
|
284
866
|
{!apiKeyConfigured ? (
|
|
@@ -290,29 +872,29 @@ export function GuidedLinearWorkspaceCard({
|
|
|
290
872
|
<div className="grid gap-4 md:grid-cols-2">
|
|
291
873
|
<div className="space-y-2">
|
|
292
874
|
<Label htmlFor="linear-team-mode">Team</Label>
|
|
293
|
-
<
|
|
875
|
+
<GuidedSelect
|
|
294
876
|
id="linear-team-mode"
|
|
295
|
-
className={selectClassName}
|
|
296
877
|
value={teamMode}
|
|
297
878
|
onChange={(event) => {
|
|
298
879
|
setTeamMode(event.target.value as "existing" | "create");
|
|
299
880
|
invalidatePreview();
|
|
300
881
|
}}
|
|
882
|
+
disabled={controlsLocked}
|
|
301
883
|
>
|
|
302
884
|
<option value="existing">Use existing team</option>
|
|
303
885
|
<option value="create">Create new team</option>
|
|
304
|
-
</
|
|
886
|
+
</GuidedSelect>
|
|
305
887
|
{teamMode === "existing" ? (
|
|
306
888
|
<>
|
|
307
|
-
<
|
|
308
|
-
className={selectClassName}
|
|
889
|
+
<GuidedSelect
|
|
309
890
|
value={teamId}
|
|
310
891
|
onChange={(event) => {
|
|
311
892
|
setTeamId(event.target.value);
|
|
312
893
|
setProjectId("");
|
|
894
|
+
setAddProjectIds([]);
|
|
313
895
|
invalidatePreview();
|
|
314
896
|
}}
|
|
315
|
-
disabled={optionsLoading}
|
|
897
|
+
disabled={controlsLocked || optionsLoading}
|
|
316
898
|
>
|
|
317
899
|
<option value="">Select a team…</option>
|
|
318
900
|
{teams.map((team) => (
|
|
@@ -320,7 +902,7 @@ export function GuidedLinearWorkspaceCard({
|
|
|
320
902
|
{team.name} ({team.key})
|
|
321
903
|
</option>
|
|
322
904
|
))}
|
|
323
|
-
</
|
|
905
|
+
</GuidedSelect>
|
|
324
906
|
{optionsLoading ? (
|
|
325
907
|
<p className="text-sm text-muted-foreground">
|
|
326
908
|
Loading Linear teams…
|
|
@@ -337,6 +919,7 @@ export function GuidedLinearWorkspaceCard({
|
|
|
337
919
|
<Input
|
|
338
920
|
placeholder="Team name"
|
|
339
921
|
value={teamName}
|
|
922
|
+
disabled={controlsLocked}
|
|
340
923
|
onChange={(event) => {
|
|
341
924
|
setTeamName(event.target.value);
|
|
342
925
|
invalidatePreview();
|
|
@@ -345,6 +928,7 @@ export function GuidedLinearWorkspaceCard({
|
|
|
345
928
|
<Input
|
|
346
929
|
placeholder="Team key (e.g. ENG)"
|
|
347
930
|
value={teamKey}
|
|
931
|
+
disabled={controlsLocked}
|
|
348
932
|
onChange={(event) => {
|
|
349
933
|
setTeamKey(event.target.value);
|
|
350
934
|
invalidatePreview();
|
|
@@ -356,61 +940,95 @@ export function GuidedLinearWorkspaceCard({
|
|
|
356
940
|
|
|
357
941
|
<div className="space-y-2">
|
|
358
942
|
<Label htmlFor="linear-project-mode">Project</Label>
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
943
|
+
{!forceCreateProject ? (
|
|
944
|
+
<GuidedSelect
|
|
945
|
+
id="linear-project-mode"
|
|
946
|
+
value={projectMode}
|
|
947
|
+
onChange={(event) => {
|
|
948
|
+
setProjectMode(event.target.value as "existing" | "create");
|
|
949
|
+
invalidatePreview();
|
|
950
|
+
}}
|
|
951
|
+
disabled={controlsLocked}
|
|
952
|
+
>
|
|
953
|
+
<option value="existing">Use existing project</option>
|
|
954
|
+
<option value="create">Create new project</option>
|
|
955
|
+
</GuidedSelect>
|
|
956
|
+
) : (
|
|
957
|
+
<p className="text-sm text-muted-foreground">
|
|
958
|
+
Create a new project for this Linear team.
|
|
959
|
+
</p>
|
|
960
|
+
)}
|
|
961
|
+
{!forceCreateProject && projectMode === "existing" ? (
|
|
372
962
|
<>
|
|
373
|
-
|
|
374
|
-
className=
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
963
|
+
{teamMode === "existing" && teamId ? (
|
|
964
|
+
<div className="space-y-2 rounded-md border border-border/70 p-3">
|
|
965
|
+
{projectOptions.length === 0 ? (
|
|
966
|
+
<p className="text-sm text-muted-foreground">
|
|
967
|
+
No Linear projects are associated with this team.
|
|
968
|
+
</p>
|
|
969
|
+
) : (
|
|
970
|
+
projectOptions.map((project) => {
|
|
971
|
+
const key = linearAssociationKey({
|
|
972
|
+
workspaceId: workspaceId || bootstrap?.workspaceId || "",
|
|
973
|
+
teamId,
|
|
974
|
+
projectId: project.id,
|
|
975
|
+
});
|
|
976
|
+
const alreadyConfigured = configuredKeys.has(key);
|
|
977
|
+
return (
|
|
978
|
+
<label
|
|
979
|
+
key={project.id}
|
|
980
|
+
className="flex items-center gap-2 text-sm"
|
|
981
|
+
>
|
|
982
|
+
<input
|
|
983
|
+
type="checkbox"
|
|
984
|
+
disabled={controlsLocked || alreadyConfigured}
|
|
985
|
+
checked={addProjectIds.includes(project.id)}
|
|
986
|
+
onChange={(event) => {
|
|
987
|
+
setAddProjectIds((current) =>
|
|
988
|
+
event.target.checked
|
|
989
|
+
? [...current, project.id]
|
|
990
|
+
: current.filter((id) => id !== project.id),
|
|
991
|
+
);
|
|
992
|
+
invalidatePreview();
|
|
993
|
+
}}
|
|
994
|
+
/>
|
|
995
|
+
<span>
|
|
996
|
+
{project.name}
|
|
997
|
+
{alreadyConfigured ? " (already in draft)" : ""}
|
|
998
|
+
</span>
|
|
999
|
+
</label>
|
|
1000
|
+
);
|
|
1001
|
+
})
|
|
1002
|
+
)}
|
|
1003
|
+
</div>
|
|
1004
|
+
) : (
|
|
1005
|
+
<GuidedSelect
|
|
1006
|
+
value={projectId}
|
|
1007
|
+
onChange={(event) => {
|
|
1008
|
+
setProjectId(event.target.value);
|
|
1009
|
+
invalidatePreview();
|
|
1010
|
+
}}
|
|
1011
|
+
disabled={controlsLocked || optionsLoading}
|
|
1012
|
+
>
|
|
1013
|
+
<option value="">Select a project…</option>
|
|
1014
|
+
{projectOptions.map((project) => (
|
|
1015
|
+
<option key={project.id} value={project.id}>
|
|
1016
|
+
{project.name}
|
|
1017
|
+
</option>
|
|
1018
|
+
))}
|
|
1019
|
+
</GuidedSelect>
|
|
1020
|
+
)}
|
|
389
1021
|
{optionsLoading ? (
|
|
390
1022
|
<p className="text-sm text-muted-foreground">
|
|
391
1023
|
Loading Linear projects…
|
|
392
1024
|
</p>
|
|
393
1025
|
) : null}
|
|
394
|
-
{!optionsLoading && projectOptions.length === 0 ? (
|
|
395
|
-
<p className="text-sm text-muted-foreground">
|
|
396
|
-
No Linear projects found for this API key.
|
|
397
|
-
</p>
|
|
398
|
-
) : null}
|
|
399
|
-
{!optionsLoading &&
|
|
400
|
-
projectOptions.length > 0 &&
|
|
401
|
-
teamId &&
|
|
402
|
-
projects.some((project) => project.teamIds.length > 0) &&
|
|
403
|
-
projectOptions.length === projects.length ? (
|
|
404
|
-
<p className="text-sm text-muted-foreground">
|
|
405
|
-
Showing all workspace projects because team association
|
|
406
|
-
could not be narrowed further.
|
|
407
|
-
</p>
|
|
408
|
-
) : null}
|
|
409
1026
|
</>
|
|
410
1027
|
) : (
|
|
411
1028
|
<Input
|
|
412
1029
|
placeholder="Project name"
|
|
413
1030
|
value={projectName}
|
|
1031
|
+
disabled={controlsLocked}
|
|
414
1032
|
onChange={(event) => {
|
|
415
1033
|
setProjectName(event.target.value);
|
|
416
1034
|
invalidatePreview();
|
|
@@ -420,14 +1038,164 @@ export function GuidedLinearWorkspaceCard({
|
|
|
420
1038
|
</div>
|
|
421
1039
|
</div>
|
|
422
1040
|
|
|
1041
|
+
{repoOptions.length > 0 ? (
|
|
1042
|
+
<div className="space-y-2">
|
|
1043
|
+
<Label htmlFor="guided-linear-target-repo">Target repository</Label>
|
|
1044
|
+
<GuidedSelect
|
|
1045
|
+
id="guided-linear-target-repo"
|
|
1046
|
+
value={addRepoId}
|
|
1047
|
+
onChange={(event) => {
|
|
1048
|
+
setAddRepoId(event.target.value);
|
|
1049
|
+
invalidatePreview();
|
|
1050
|
+
}}
|
|
1051
|
+
disabled={controlsLocked}
|
|
1052
|
+
>
|
|
1053
|
+
{repoOptions.map((repo) => (
|
|
1054
|
+
<option key={repo.id} value={repo.id}>
|
|
1055
|
+
{repo.targetRepo}
|
|
1056
|
+
</option>
|
|
1057
|
+
))}
|
|
1058
|
+
</GuidedSelect>
|
|
1059
|
+
</div>
|
|
1060
|
+
) : (
|
|
1061
|
+
<p className="text-sm text-muted-foreground">
|
|
1062
|
+
Target repositories are not configured yet. You can still draft create
|
|
1063
|
+
selections here; they will map onto the first configured repo when harness
|
|
1064
|
+
config exists.
|
|
1065
|
+
</p>
|
|
1066
|
+
)}
|
|
1067
|
+
|
|
1068
|
+
<div className="flex flex-wrap items-center gap-2">
|
|
1069
|
+
<Button
|
|
1070
|
+
type="button"
|
|
1071
|
+
variant="outline"
|
|
1072
|
+
size="sm"
|
|
1073
|
+
onClick={addCurrentSelectionToDraft}
|
|
1074
|
+
disabled={controlsLocked || !addFormComplete}
|
|
1075
|
+
>
|
|
1076
|
+
Add to draft
|
|
1077
|
+
</Button>
|
|
1078
|
+
</div>
|
|
1079
|
+
|
|
423
1080
|
{optionsError ? (
|
|
424
1081
|
<p className="text-sm text-destructive">{optionsError}</p>
|
|
425
1082
|
) : null}
|
|
1083
|
+
{bootstrapError ? (
|
|
1084
|
+
<p className="text-sm text-destructive">{bootstrapError}</p>
|
|
1085
|
+
) : null}
|
|
1086
|
+
|
|
1087
|
+
<div className="space-y-3 rounded-md border border-border/70 p-3">
|
|
1088
|
+
<p className="text-sm font-medium">Draft associations</p>
|
|
1089
|
+
{groupedDraft.size === 0 && pendingCreates.length === 0 ? (
|
|
1090
|
+
<p className="text-sm text-muted-foreground">
|
|
1091
|
+
No Linear associations added yet.
|
|
1092
|
+
</p>
|
|
1093
|
+
) : (
|
|
1094
|
+
<div className="space-y-3">
|
|
1095
|
+
{[...groupedDraft.entries()].map(([groupTeamId, associations]) => (
|
|
1096
|
+
<div key={groupTeamId} className="rounded-md border border-border/70 p-3">
|
|
1097
|
+
<div className="flex flex-wrap items-center justify-between gap-2">
|
|
1098
|
+
<p className="text-sm font-medium">
|
|
1099
|
+
{formatLinearTeamLabel({
|
|
1100
|
+
teamName: associations[0]?.teamName,
|
|
1101
|
+
teamKey: associations[0]?.teamKey ?? groupTeamId,
|
|
1102
|
+
})}{" "}
|
|
1103
|
+
· {associations.length} project
|
|
1104
|
+
{associations.length === 1 ? "" : "s"}
|
|
1105
|
+
</p>
|
|
1106
|
+
<Button
|
|
1107
|
+
type="button"
|
|
1108
|
+
variant="outline"
|
|
1109
|
+
size="sm"
|
|
1110
|
+
disabled={controlsLocked}
|
|
1111
|
+
onClick={() => {
|
|
1112
|
+
setDraftAssociations((current) =>
|
|
1113
|
+
removeDraftTeam(current, groupTeamId),
|
|
1114
|
+
);
|
|
1115
|
+
invalidatePreview();
|
|
1116
|
+
}}
|
|
1117
|
+
>
|
|
1118
|
+
Remove team
|
|
1119
|
+
</Button>
|
|
1120
|
+
</div>
|
|
1121
|
+
<ul className="mt-2 space-y-2">
|
|
1122
|
+
{associations.map((association) => (
|
|
1123
|
+
<li
|
|
1124
|
+
key={linearAssociationKey(association)}
|
|
1125
|
+
className="flex flex-wrap items-center justify-between gap-2 rounded-md bg-muted/30 px-3 py-2 text-sm"
|
|
1126
|
+
>
|
|
1127
|
+
<div>
|
|
1128
|
+
<p>{association.projectName}</p>
|
|
1129
|
+
{association.targetRepo ? (
|
|
1130
|
+
<p className="text-xs text-muted-foreground">
|
|
1131
|
+
{association.targetRepo}
|
|
1132
|
+
</p>
|
|
1133
|
+
) : null}
|
|
1134
|
+
</div>
|
|
1135
|
+
<Button
|
|
1136
|
+
type="button"
|
|
1137
|
+
variant="ghost"
|
|
1138
|
+
size="sm"
|
|
1139
|
+
disabled={controlsLocked}
|
|
1140
|
+
onClick={() => {
|
|
1141
|
+
setDraftAssociations((current) =>
|
|
1142
|
+
removeDraftAssociation(current, association),
|
|
1143
|
+
);
|
|
1144
|
+
invalidatePreview();
|
|
1145
|
+
}}
|
|
1146
|
+
>
|
|
1147
|
+
Remove
|
|
1148
|
+
</Button>
|
|
1149
|
+
</li>
|
|
1150
|
+
))}
|
|
1151
|
+
</ul>
|
|
1152
|
+
</div>
|
|
1153
|
+
))}
|
|
1154
|
+
{pendingCreates.length > 0 ? (
|
|
1155
|
+
<ul className="space-y-2">
|
|
1156
|
+
{pendingCreates.map((entry) => (
|
|
1157
|
+
<li
|
|
1158
|
+
key={entry.id}
|
|
1159
|
+
className="flex flex-wrap items-center justify-between gap-2 rounded-md bg-muted/20 px-3 py-2 text-sm"
|
|
1160
|
+
>
|
|
1161
|
+
<div>
|
|
1162
|
+
<p>{describePendingCreate(entry)}</p>
|
|
1163
|
+
<p className="text-xs text-muted-foreground">
|
|
1164
|
+
Will be created on apply
|
|
1165
|
+
{entry.targetRepo ? ` · ${entry.targetRepo}` : ""}
|
|
1166
|
+
</p>
|
|
1167
|
+
</div>
|
|
1168
|
+
<Button
|
|
1169
|
+
type="button"
|
|
1170
|
+
variant="ghost"
|
|
1171
|
+
size="sm"
|
|
1172
|
+
disabled={controlsLocked}
|
|
1173
|
+
onClick={() => {
|
|
1174
|
+
setPendingCreates((current) =>
|
|
1175
|
+
current.filter((item) => item.id !== entry.id),
|
|
1176
|
+
);
|
|
1177
|
+
invalidatePreview();
|
|
1178
|
+
}}
|
|
1179
|
+
>
|
|
1180
|
+
Remove
|
|
1181
|
+
</Button>
|
|
1182
|
+
</li>
|
|
1183
|
+
))}
|
|
1184
|
+
</ul>
|
|
1185
|
+
) : null}
|
|
1186
|
+
</div>
|
|
1187
|
+
)}
|
|
1188
|
+
</div>
|
|
426
1189
|
|
|
427
1190
|
<div className="flex flex-wrap items-center gap-2">
|
|
428
1191
|
{summary.workspace.configured ? (
|
|
429
1192
|
<StatusBadge
|
|
430
|
-
label={`Team ${
|
|
1193
|
+
label={`Team ${formatLinearTeamLabel({
|
|
1194
|
+
teamName:
|
|
1195
|
+
summary.controlPlane?.linear?.teamName ??
|
|
1196
|
+
summary.controlPlane?.linearWorkspace?.teams[0]?.teamName,
|
|
1197
|
+
teamKey: summary.workspace.teamKey ?? "",
|
|
1198
|
+
})} configured`}
|
|
431
1199
|
variant="success"
|
|
432
1200
|
/>
|
|
433
1201
|
) : null}
|
|
@@ -436,7 +1204,7 @@ export function GuidedLinearWorkspaceCard({
|
|
|
436
1204
|
variant="outline"
|
|
437
1205
|
size="sm"
|
|
438
1206
|
onClick={() => void handlePreview()}
|
|
439
|
-
disabled={loading !== null}
|
|
1207
|
+
disabled={loading !== null || !draftReady}
|
|
440
1208
|
>
|
|
441
1209
|
{loading === "preview" ? "Previewing…" : "Preview Linear setup"}
|
|
442
1210
|
</Button>
|
|
@@ -451,23 +1219,56 @@ export function GuidedLinearWorkspaceCard({
|
|
|
451
1219
|
</Button>
|
|
452
1220
|
</div>
|
|
453
1221
|
|
|
454
|
-
{previewIsCurrent && preview ? (
|
|
1222
|
+
{previewDisclosed && previewIsCurrent && preview ? (
|
|
455
1223
|
<div className="rounded-md border border-border bg-muted/10 p-3 text-sm space-y-2">
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
1224
|
+
{previewMode === "workspace" && workspacePreview ? (
|
|
1225
|
+
<pre className="whitespace-pre-wrap font-sans text-sm">
|
|
1226
|
+
{formatWorkspacePreviewSummary(workspacePreview)}
|
|
1227
|
+
</pre>
|
|
1228
|
+
) : setupPreview ? (
|
|
1229
|
+
<>
|
|
1230
|
+
<p>
|
|
1231
|
+
Missing creatable statuses:{" "}
|
|
1232
|
+
{setupPreview.missingStatuses.length > 0
|
|
1233
|
+
? setupPreview.missingStatuses.join(", ")
|
|
1234
|
+
: "none"}
|
|
1235
|
+
</p>
|
|
1236
|
+
<p>
|
|
1237
|
+
Dispatch triggers: {setupPreview.dispatchTriggerStatuses.join(", ")}
|
|
1238
|
+
</p>
|
|
1239
|
+
{setupPreview.repairActions.length > 0 ? (
|
|
1240
|
+
<div className="space-y-2">
|
|
1241
|
+
<p className="font-medium">Workflow status repairs</p>
|
|
1242
|
+
<ul className="space-y-2">
|
|
1243
|
+
{setupPreview.repairActions.map((repair) => (
|
|
1244
|
+
<li
|
|
1245
|
+
key={repair.existingStatusId}
|
|
1246
|
+
className="rounded-md border border-border bg-background p-2"
|
|
1247
|
+
>
|
|
1248
|
+
<p className="font-medium">{repair.statusName}</p>
|
|
1249
|
+
<p className="text-muted-foreground">{repair.explanation}</p>
|
|
1250
|
+
<p>
|
|
1251
|
+
Current category:{" "}
|
|
1252
|
+
{formatLinearCategoryLabel(repair.actualCategory)} · Required:{" "}
|
|
1253
|
+
{formatLinearCategoryLabel(repair.expectedCategory)}
|
|
1254
|
+
</p>
|
|
1255
|
+
<p>
|
|
1256
|
+
Affected issues: {repair.affectedIssueCount} · Strategy:{" "}
|
|
1257
|
+
{repair.repairStrategy}
|
|
1258
|
+
</p>
|
|
1259
|
+
</li>
|
|
1260
|
+
))}
|
|
1261
|
+
</ul>
|
|
1262
|
+
</div>
|
|
1263
|
+
) : null}
|
|
1264
|
+
{setupPreview.manualSteps.length > 0 ? (
|
|
1265
|
+
<ul className="list-disc pl-5 text-muted-foreground">
|
|
1266
|
+
{setupPreview.manualSteps.map((step) => (
|
|
1267
|
+
<li key={step}>{step}</li>
|
|
1268
|
+
))}
|
|
1269
|
+
</ul>
|
|
1270
|
+
) : null}
|
|
1271
|
+
</>
|
|
471
1272
|
) : null}
|
|
472
1273
|
{previewError ? (
|
|
473
1274
|
<p className="text-destructive">{previewError}</p>
|
|
@@ -475,20 +1276,32 @@ export function GuidedLinearWorkspaceCard({
|
|
|
475
1276
|
</div>
|
|
476
1277
|
) : null}
|
|
477
1278
|
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
1279
|
+
{loading !== "apply" && !verifiedSuccess ? (
|
|
1280
|
+
<RemoteActionConfirmation
|
|
1281
|
+
scope="linear-write"
|
|
1282
|
+
variant="guided"
|
|
1283
|
+
confirmed={confirmed}
|
|
1284
|
+
disabled={loading !== null || !draftReady}
|
|
1285
|
+
disabledReason={
|
|
1286
|
+
!draftReady
|
|
1287
|
+
? "Add at least one Linear team and project association before confirming."
|
|
1288
|
+
: undefined
|
|
1289
|
+
}
|
|
1290
|
+
onConfirmedChange={setConfirmed}
|
|
1291
|
+
/>
|
|
1292
|
+
) : null}
|
|
1293
|
+
|
|
1294
|
+
{loading === "apply" ? (
|
|
1295
|
+
<GuidedOperationPanel
|
|
1296
|
+
phases={buildGuidedOperationPhases({
|
|
1297
|
+
labels: [...LINEAR_OPERATION_PHASES],
|
|
1298
|
+
activeIndex: operationActiveIndex,
|
|
1299
|
+
})}
|
|
1300
|
+
supportingText={operationSupportingText}
|
|
1301
|
+
/>
|
|
1302
|
+
) : null}
|
|
1303
|
+
|
|
1304
|
+
{!verifiedSuccess && loading !== "apply" ? (
|
|
492
1305
|
<div className={FORM.actions}>
|
|
493
1306
|
<Button
|
|
494
1307
|
type="button"
|
|
@@ -496,24 +1309,37 @@ export function GuidedLinearWorkspaceCard({
|
|
|
496
1309
|
disabled={
|
|
497
1310
|
loading !== null ||
|
|
498
1311
|
!confirmed ||
|
|
499
|
-
!
|
|
1312
|
+
!draftReady ||
|
|
500
1313
|
Boolean(preview?.validationError)
|
|
501
1314
|
}
|
|
502
1315
|
>
|
|
503
|
-
|
|
1316
|
+
Apply Linear workspace setup
|
|
504
1317
|
</Button>
|
|
505
1318
|
</div>
|
|
506
1319
|
) : null}
|
|
507
1320
|
|
|
508
1321
|
{error ? <SetupApplyResult success={false} message={error} /> : null}
|
|
509
1322
|
{verifiedSuccess && applyResult ? (
|
|
510
|
-
<
|
|
511
|
-
|
|
512
|
-
|
|
1323
|
+
<GuidedStepSuccessPanel
|
|
1324
|
+
heading="Linear workspace verified"
|
|
1325
|
+
explanation="The selected Linear team, project, and workflow statuses are ready."
|
|
1326
|
+
details={[
|
|
1327
|
+
"created" in applyResult
|
|
1328
|
+
? `Created: ${applyResult.created.join(", ") || "none"}`
|
|
1329
|
+
: `Operations: ${applyResult.operationsCompleted.length}`,
|
|
1330
|
+
"skipped" in applyResult
|
|
1331
|
+
? `Reused: ${applyResult.skipped.join(", ") || "none"}`
|
|
1332
|
+
: "Reused: none",
|
|
1333
|
+
"repaired" in applyResult
|
|
1334
|
+
? `Repaired: ${applyResult.repaired.join(", ") || "none"}`
|
|
1335
|
+
: "Repaired: none",
|
|
1336
|
+
]}
|
|
1337
|
+
continueLabel="Continue to Vercel bridge"
|
|
1338
|
+
onContinue={onContinue}
|
|
513
1339
|
/>
|
|
514
1340
|
) : null}
|
|
515
1341
|
|
|
516
|
-
{canContinue ? (
|
|
1342
|
+
{canContinue && !verifiedSuccess ? (
|
|
517
1343
|
<Button type="button" onClick={onContinue}>
|
|
518
1344
|
Continue to Vercel bridge
|
|
519
1345
|
</Button>
|