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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8751],{826:(e,r,t)=>{"use strict";t.d(r,{cn:()=>s});var n=t(2902),a=t(3714);function s(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,a.QP)((0,n.$)(r))}},1715:(e,r,t)=>{"use strict";t.d(r,{s:()=>s});var n=t(7620);function a(e,r){if("function"==typeof e)return e(r);null!=e&&(e.current=r)}function s(...e){return n.useCallback(function(...e){return r=>{let t=!1,n=e.map(e=>{let n=a(e,r);return t||"function"!=typeof n||(t=!0),n});if(t)return()=>{for(let r=0;r<n.length;r++){let t=n[r];"function"==typeof t?t():a(e[r],null)}}}}(...e),e)}},3081:(e,r,t)=>{"use strict";t.d(r,{NJ:()=>a,rs:()=>n});let n={page:"mx-auto w-full max-w-5xl",shell:"min-h-screen bg-background",header:"sticky top-0 z-50 border-b border-border bg-background",headerInner:"mx-auto flex w-full max-w-7xl items-center justify-between gap-4 px-4 py-3 sm:px-6",main:"mx-auto w-full max-w-7xl px-4 py-8 md:px-6 md:py-10",configureContent:"mx-auto w-full max-w-3xl",sectionStack:"flex flex-col gap-6",cardGrid:"grid grid-cols-1 gap-4 md:grid-cols-2"},a=n.main},3968:(e,r,t)=>{"use strict";t.d(r,{i:()=>p});var n=t(4568),a=t(7620),s=t(826);let l=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,s.cn)("rounded-xl border border-border bg-card text-card-foreground shadow-sm",t),...a})});l.displayName="Card";let i=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",t),...a})});i.displayName="CardHeader";let o=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,s.cn)("font-semibold leading-none tracking-tight",t),...a})});o.displayName="CardTitle";let d=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,s.cn)("text-sm text-muted-foreground",t),...a})});d.displayName="CardDescription";let c=a.forwardRef((e,r)=>{let{className:t,...a}=e;return(0,n.jsx)("div",{ref:r,className:(0,s.cn)("p-6 pt-0",t),...a})});c.displayName="CardContent";var u=t(7431);function p(e){let{title:r,description:t,children:a,className:p}=e;return(0,n.jsxs)(l,{className:p,children:[(0,n.jsxs)(i,{className:u.Es.cardHeader,children:[(0,n.jsx)(o,{children:r}),t?(0,n.jsx)(d,{children:t}):null]}),(0,n.jsx)(c,{className:(0,s.cn)(u.Es.stackSm),children:a})]})}},4616:(e,r,t)=>{"use strict";t.d(r,{F:()=>l});var n=t(2902);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,s=n.$,l=(e,r)=>t=>{var n;if((null==r?void 0:r.variants)==null)return s(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:l,defaultVariants:i}=r,o=Object.keys(l).map(e=>{let r=null==t?void 0:t[e],n=null==i?void 0:i[e];if(null===r)return null;let s=a(r)||a(n);return l[e][s]}),d=t&&Object.entries(t).reduce((e,r)=>{let[t,n]=r;return void 0===n||(e[t]=n),e},{});return s(e,o,null==r||null==(n=r.compoundVariants)?void 0:n.reduce((e,r)=>{let{class:t,className:n,...a}=r;return Object.entries(a).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...i,...d}[r]):({...i,...d})[r]===t})?[...e,t,n]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}},4944:(e,r,t)=>{Promise.resolve().then(t.bind(t,7898))},6118:(e,r,t)=>{"use strict";t.d(r,{DX:()=>i,TL:()=>l});var n,a=t(7620),s=t(1715);function l(e){let r=a.forwardRef((r,t)=>{var n;let l,i,{children:c,...g}=r,x=null,b=!1,y=[];u(c)&&"function"==typeof m&&(c=m(c._payload)),a.Children.forEach(c,e=>{var r;if(r=e,a.isValidElement(r)&&"function"==typeof r.type&&"__radixId"in r.type&&r.type.__radixId===o){b=!0;let r="child"in e.props?e.props.child:e.props.children;u(r)&&"function"==typeof m&&(r=m(r._payload)),x=d(e,r),y.push(x?.props?.children)}else y.push(e)}),x?x=a.cloneElement(x,void 0,y):!b&&1===a.Children.count(c)&&a.isValidElement(c)&&(x=c);let h=x?(n=x,(i=(l=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?n.ref:(i=(l=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?n.props.ref:n.props.ref||n.ref):void 0,v=(0,s.s)(t,h);if(!x){if(c||0===c)throw Error(b?f(e):p(e));return c}let w=function(e,r){let t={...r};for(let n in r){let a=e[n],s=r[n];/^on[A-Z]/.test(n)?a&&s?t[n]=(...e)=>{let r=s(...e);return a(...e),r}:a&&(t[n]=a):"style"===n?t[n]={...a,...s}:"className"===n&&(t[n]=[a,s].filter(Boolean).join(" "))}return{...e,...t}}(g,x.props??{});return x.type!==a.Fragment&&(w.ref=t?v:h),a.cloneElement(x,w)});return r.displayName=`${e}.Slot`,r}var i=l("Slot"),o=Symbol.for("radix.slottable"),d=(e,r)=>{if("child"in e.props){let r=e.props.child;return a.isValidElement(r)?a.cloneElement(r,void 0,e.props.children(r.props.children)):null}return a.isValidElement(r)?r:null},c=Symbol.for("react.lazy");function u(e){var r;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===c&&"_payload"in e&&"object"==typeof(r=e._payload)&&null!==r&&"then"in r}var p=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,f=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,m=(n||(n=t.t(a,2)))[" use ".trim().toString()]},6845:(e,r,t)=>{"use strict";t.d(r,{$:()=>d});var n=t(4568),a=t(7620),s=t(6118),l=t(4616),i=t(826);let o=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring cursor-pointer disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",ghost:"hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8"}},defaultVariants:{variant:"default",size:"default"}}),d=a.forwardRef((e,r)=>{let{className:t,variant:a,size:l,asChild:d=!1,...c}=e,u=d?s.DX:"button";return(0,n.jsx)(u,{className:(0,i.cn)(o({variant:a,size:l,className:t})),ref:r,...c})});d.displayName="Button"},7401:(e,r,t)=>{"use strict";t.d(r,{P:()=>n});let n={fieldStack:"space-y-2",fieldGrid:"grid grid-cols-1 gap-4 md:grid-cols-2",actions:"flex flex-wrap items-center gap-3",confirmationBox:"rounded-md border border-border bg-muted/20 p-4 space-y-3",secretHint:"text-xs text-muted-foreground",guidedSelect:"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50"}},7431:(e,r,t)=>{"use strict";t.d(r,{PI:()=>l.P,rs:()=>n.rs,xp:()=>s,Es:()=>a});var n=t(3081);let a={section:"space-y-6",card:"p-6",cardHeader:"space-y-1.5 pb-4",list:"space-y-3",inline:"flex flex-wrap items-center gap-2",stackSm:"space-y-2"},s={pageTitle:"text-2xl font-semibold tracking-tight md:text-3xl",pageDescription:"text-sm text-muted-foreground md:text-base",sectionTitle:"text-lg font-semibold tracking-tight md:text-xl",sectionDescription:"text-sm text-muted-foreground",twoColumnGrid:"grid grid-cols-1 gap-4 md:grid-cols-2",previewPanel:"overflow-x-auto rounded-md border border-border bg-muted/40 p-4 text-xs md:text-sm"};var l=t(7401)},7885:(e,r,t)=>{"use strict";function n(e){return"enabled"===e.analyticsPreference&&"enabled"===e.errorReportingPreference}t.d(r,{u:()=>n})},7898:(e,r,t)=>{"use strict";t.d(r,{DataSharingPreferences:()=>c});var n=t(4568),a=t(7620),s=t(6845),l=t(3968),i=t(7431),o=t(7885);async function d(e,r){let t=await fetch("/api/observability/preferences",{method:"POST",credentials:"same-origin",headers:{"content-type":"application/json","x-p-dev-observability-nonce":r},body:JSON.stringify(e)});if(!t.ok)throw Error("Could not save data sharing preferences.");return await t.json()}function c(e){let{mode:r,nonce:t,initialPreferences:c,onOnboardingComplete:u}=e,[p,f]=(0,a.useState)(()=>(0,o.u)(c)),[m,g]=(0,a.useState)(()=>(0,o.u)(c)),[x,b]=(0,a.useState)(null),[y,h]=(0,a.useState)(!1),[v,w]=(0,a.useState)(!1),j=m!==p,N=(0,a.useCallback)(async e=>{if(!t)return b("Data sharing security token is unavailable."),null;h(!0),b(null),w(!1);try{let n=e?"enabled":"disabled",a=await d({analyticsPreference:n,errorReportingPreference:n,disclosureShown:!0},t);return"settings"===r&&(w(!0),f(e)),a}catch(e){return b(e instanceof Error?e.message:"Could not save data sharing preferences."),null}finally{h(!1)}},[r,t]),S=(0,a.useCallback)(async()=>{let e=await N(m);e&&"onboarding"===r&&(null==u||u({analyticsPreference:e.analyticsPreference,errorReportingPreference:e.errorReportingPreference,disclosureShown:e.disclosureShown}))},[m,r,u,N]);return(0,n.jsx)(l.i,{title:"Data sharing",description:"These preferences are stored locally only.",children:(0,n.jsxs)("div",{className:i.Es.stackSm,children:[(0,n.jsxs)("label",{className:"flex cursor-pointer items-start gap-2 text-sm disabled:cursor-not-allowed has-[:disabled]:cursor-not-allowed",children:[(0,n.jsx)("input",{type:"checkbox",className:"mt-0.5 cursor-pointer disabled:cursor-not-allowed",checked:m,disabled:y,onChange:e=>{g(e.target.checked),w(!1)},"data-guided-step-focus":!0}),(0,n.jsx)("span",{children:"Allow anonymous product analytics and error reports to improve functionality and performance."})]}),"onboarding"===r?(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:"You can change this at any time in Settings."}):null,(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,n.jsx)(s.$,{type:"button",disabled:y||!t||"settings"===r&&!j,onClick:()=>void S(),children:"onboarding"===r?"Continue setup":"Save changes"}),"settings"===r&&v?(0,n.jsx)("span",{className:"text-sm text-muted-foreground",children:"Saved."}):null]}),x?(0,n.jsx)("p",{className:"text-sm text-destructive",children:x}):null]})})}}},e=>{e.O(0,[9289,587,18,7358],()=>e(e.s=4944)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4298],{2321:(e,r,n)=>{"use strict";n.d(r,{DeploymentsSettingsEditor:()=>m});var t=n(4568),a=n(9664),l=n.n(a),s=n(7620),i=n(8049),o=n(6845),u=n(2462),c=n(2614),d=n(7712),p=n(2700);function m(e){var r,n,a,m,v,g,h,f,x,b,y,j,w,N,k,C,S,P,_,R;let{initialSummary:A}=e,[E,I]=(0,s.useState)(A),[V,M]=(0,s.useState)([]),[T,U]=(0,s.useState)([]),O=null!=(S=null==(n=E.controlPlane)||null==(r=n.vercel)?void 0:r.teamId)?S:"",z=null!=(P=null==(m=E.controlPlane)||null==(a=m.vercel)?void 0:a.projectId)?P:"",[D,F]=(0,s.useState)(O),[L,$]=(0,s.useState)(z),[H,G]=(0,s.useState)((0,d.A)()),[K,q]=(0,s.useState)(!1),[Z,B]=(0,s.useState)(!1),[J,Y]=(0,s.useState)(!1),[W,Q]=(0,s.useState)(null),X=(0,s.useRef)(!0),ee=(0,s.useRef)(0),er=(0,s.useRef)(0),en=E.vercelTokenConfigured?"vercel-configured":"vercel-missing",et=(0,s.useRef)(null);(0,s.useEffect)(()=>(X.current=!0,()=>{X.current=!1}),[]);let ea=(0,s.useCallback)(async()=>{if(!E.vercelTokenConfigured)return;let e=++ee.current;B(!0),Q(null);try{var r,n,t;let a=await fetch("/api/setup/vercel-bridge-options"),l=await a.json();if(!X.current||e!==ee.current)return;if(!a.ok)throw Error(null!=(n=null!=(r=l.error)?r:l.loadError)?n:"Failed to load Vercel teams");let s=(null!=(t=l.scopes)?t:[]).map(e=>({id:e.id,label:e.label}));M(s),l.loadError&&Q(l.loadError),et.current=en}catch(r){if(!X.current||e!==ee.current)return;Q((0,d.S)(r instanceof Error?r.message:"Failed to load Vercel teams"))}finally{X.current&&e===ee.current&&B(!1)}},[en,E.vercelTokenConfigured]),el=(0,s.useCallback)(async e=>{if(!E.vercelTokenConfigured)return;let r=++er.current;Y(!0),Q(null);try{var n,t,a;let l="?teamId=".concat(encodeURIComponent(e),"&projectsOnly=true"),s=await fetch("/api/setup/vercel-bridge-options".concat(l)),i=await s.json();if(!X.current||r!==er.current)return;if(!s.ok)throw Error(null!=(t=null!=(n=i.error)?n:i.loadError)?t:"Failed to load Vercel projects");let o=null!=(a=i.projects)?a:[];U(o),$(e=>o.some(r=>r.id===e)?e:z&&o.some(e=>e.id===z)?z:e&&e!==z?"":e)}catch(e){if(!X.current||r!==er.current)return;Q((0,d.S)(e instanceof Error?e.message:"Failed to load Vercel projects"))}finally{X.current&&r===er.current&&Y(!1)}},[z,E.vercelTokenConfigured]);(0,s.useEffect)(()=>{if(!E.vercelTokenConfigured){et.current=null;return}et.current!==en&&ea()},[en,ea,E.vercelTokenConfigured]),(0,s.useEffect)(()=>{E.vercelTokenConfigured&&el(D)},[el,E.vercelTokenConfigured,D]);let es=(0,s.useCallback)(()=>{var e,r,n,t;return{team:{mode:"existing",teamId:D},project:{mode:"existing",projectId:L},teamId:D,projectId:L,linearTeamId:null==(r=E.controlPlane)||null==(e=r.linear)?void 0:e.teamId,envInput:{HARNESS_TEAM_KEY:null==(t=E.controlPlane)||null==(n=t.linear)?void 0:n.teamKey}}},[L,null==(g=E.controlPlane)||null==(v=g.linear)?void 0:v.teamId,null==(f=E.controlPlane)||null==(h=f.linear)?void 0:h.teamKey,D]),ei=(0,s.useCallback)(async()=>{G(e=>({...e,phase:"previewing",error:null})),q(!1);try{let e=await (0,p.VK)(es());if(e.validationError)throw Error(e.validationError);G({phase:"preview-ready",preview:e,error:null,successMessage:null})}catch(e){G({phase:"error",preview:null,error:(0,d.S)(e instanceof Error?e.message:"Vercel preview failed."),successMessage:null})}},[es]),eo=(0,s.useCallback)(async()=>{if(K){G(e=>({...e,phase:"applying",error:null}));try{let e=await (0,p.VK)(es());if(e.validationError)throw Error(e.validationError);let r=await (0,p.ZS)({plan:es(),fingerprint:e.fingerprint});I(r.summary),G({phase:"success",preview:null,error:null,successMessage:"PDev automation bridge updated. Redeploy verification may continue in Vercel."}),q(!1)}catch(e){G({phase:"error",preview:H.preview,error:(0,d.S)(e instanceof Error?e.message:"Vercel apply failed."),successMessage:null})}}},[es,K,H.preview]),eu=!!L;return(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"rounded-md border border-border p-4 text-sm",children:[(0,t.jsxs)("p",{children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:"Current project:"})," ",null!=(_=null==(b=E.controlPlane)||null==(x=b.vercel)?void 0:x.projectName)?_:"Not configured"]}),(0,t.jsxs)("p",{className:"mt-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:"Production URL:"})," ",null!=(R=null==(j=E.controlPlane)||null==(y=j.vercel)?void 0:y.productionUrl)?R:"—"]}),(0,t.jsxs)("p",{className:"mt-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:"Linear webhook:"})," ",(null==(N=E.controlPlane)||null==(w=N.vercel)?void 0:w.linearWebhookVerified)?"Verified":"Not verified"]})]}),E.vercelTokenConfigured?(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"Configure optional application preview and production deployment behavior for the selected Vercel team and project."}),W?(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-sm",children:[(0,t.jsx)("p",{className:"text-destructive",children:W}),(0,t.jsx)(o.$,{type:"button",size:"sm",variant:"outline",onClick:()=>{et.current=null,ea(),el(D)},children:"Retry"})]}):null,(0,t.jsxs)("div",{className:"grid gap-4 md:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(i.J,{htmlFor:"settings-vercel-team",children:"Team"}),(0,t.jsxs)(u.l,{id:"settings-vercel-team",value:D,disabled:Z&&0===V.length,onChange:e=>{F(e.target.value),q(!1),G((0,d.A)())},children:[0===V.length?(0,t.jsx)("option",{value:"",children:Z?"Loading Vercel teams…":"Select a team"}):null,V.map(e=>(0,t.jsx)("option",{value:e.id,children:e.label},e.id||"personal"))]}),Z?(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"Loading Vercel teams…"}):null]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(i.J,{htmlFor:"settings-vercel-project",children:"Project"}),(0,t.jsxs)(u.l,{id:"settings-vercel-project",value:L,disabled:J&&0===T.length,onChange:e=>{$(e.target.value),q(!1),G((0,d.A)())},children:[(0,t.jsx)("option",{value:"",children:J?"Loading Vercel projects…":"Select a project"}),T.map(e=>(0,t.jsx)("option",{value:e.id,children:e.name},e.id))]}),J?(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"Loading Vercel projects…"}):null]})]})]}):(0,t.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Connect Vercel in"," ",(0,t.jsx)(l(),{href:"/settings/connections",className:"underline",children:"Settings → Connections"})," ","to configure deployments."]}),(0,t.jsx)(c.T,{title:"Apply deployment changes",explanation:"Save the selected Vercel team and project, then verify the resulting connection.",phase:H.phase,error:H.error,successMessage:H.successMessage,previewPolicy:"optional",previewSummary:(null==(C=H.preview)||null==(k=C.manualSteps)?void 0:k.length)?H.preview.manualSteps.join("\n"):H.preview?"PDev automation bridge preview is ready.":null,confirmScope:"vercel-bridge-write",confirmed:K,onConfirmedChange:q,onPreview:()=>void ei(),onApply:()=>void eo(),disablePreview:!eu||!E.vercelTokenConfigured,disableApply:!eu||!K||!E.vercelTokenConfigured})]})}},2462:(e,r,n)=>{"use strict";n.d(r,{l:()=>i});var t=n(4568),a=n(7620),l=n(826),s=n(7401);let i=a.forwardRef((e,r)=>{let{className:n,children:a,...i}=e;return(0,t.jsx)("select",{className:(0,l.cn)(s.P.guidedSelect,n),ref:r,...i,children:a})});i.displayName="GuidedSelect"},2465:(e,r,n)=>{"use strict";n.d(r,{M:()=>s,y:()=>i});var t=n(4568),a=n(7186),l=n(743);function s(e){var r;let{phases:n,supportingText:s,busy:i=!0}=e,o=null!=(r=(0,a.I)())&&r,u=n.find(e=>"active"===e.status);return(0,t.jsxs)("div",{className:"space-y-3 rounded-md border border-border bg-muted/10 p-4","aria-live":"polite","aria-busy":i,"data-testid":"guided-operation-panel",children:[(0,t.jsx)("ul",{className:"space-y-2",children:n.map(e=>{let r="active"===e.status,n="complete"===e.status;return(0,t.jsxs)("li",{className:"flex items-start gap-2 text-sm","data-phase-status":e.status,children:[(0,t.jsx)("span",{className:n?"mt-0.5 text-emerald-600 dark:text-emerald-400":r?"mt-0.5 text-foreground":"mt-0.5 text-muted-foreground","aria-hidden":"true",children:n?"✓":r?"●":"○"}),r&&!o?(0,t.jsx)(l.P.span,{className:"font-medium text-foreground",animate:{opacity:[.55,1,.55]},transition:{duration:1.6,repeat:1/0,ease:"easeInOut"},children:e.label}):(0,t.jsx)("span",{className:r?"font-medium text-foreground":n?"text-foreground":"text-muted-foreground",children:e.label})]},e.id)})}),s||u?(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:null!=s?s:null==u?void 0:u.label}):null]})}function i(e){return e.labels.map((r,n)=>({id:"phase-".concat(n),label:r,status:n<e.activeIndex?"complete":n===e.activeIndex?"active":"pending"}))}},2614:(e,r,n)=>{"use strict";n.d(r,{T:()=>s});var t=n(4568),a=n(6845),l=n(997);function s(e){let{title:r="Apply changes",explanation:n,previewSummary:s,phase:i,error:o,successMessage:u,confirmScope:c,confirmed:d,onConfirmedChange:p,onPreview:m,onApply:v,previewLabel:g="Preview changes",applyLabel:h="Apply changes",previewPolicy:f="required",disablePreview:x=!1,disableApply:b=!1}=e,y="previewing"===i||"applying"===i,j="optional"===f;return(0,t.jsxs)("div",{className:"space-y-4 rounded-md border border-border p-4",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("h3",{className:"text-sm font-semibold",children:r}),n?(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:n}):null]}),m?(0,t.jsxs)("div",{className:"space-y-2 border-b border-border pb-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[j?(0,t.jsx)("span",{className:"rounded-md border border-border px-2 py-0.5 text-xs text-muted-foreground",children:"Optional"}):null,(0,t.jsx)(a.$,{type:"button",variant:"outline",size:"sm",disabled:y||x,onClick:m,children:"previewing"===i?"Previewing…":g})]}),j?(0,t.jsx)("p",{className:"text-right text-xs text-muted-foreground",children:"Review the planned changes before applying."}):null]}):null,s?(0,t.jsx)("pre",{className:"max-h-48 overflow-auto rounded-md bg-muted/40 p-3 text-xs whitespace-pre-wrap",children:s}):null,o?(0,t.jsx)("p",{className:"text-sm text-destructive",children:o}):null,u?(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:u}):null,c?(0,t.jsx)(l.I,{scope:c,variant:"advanced",confirmed:d,disabled:y,onConfirmedChange:p}):null,v?(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(a.$,{type:"button",disabled:y||b||!!c&&!d||"required"===f&&!s,onClick:v,children:"applying"===i?"Applying…":h})}):null]})}},3917:(e,r,n)=>{"use strict";n.d(r,{RunnerUpgradeSettingsCard:()=>v});var t=n(4568),a=n(9664),l=n.n(a),s=n(7620),i=n(6845),o=n(2465),u=n(2614),c=n(7712),d=n(2700);let p=["verifying-managed-repository","comparing-runner-snapshots","preparing-upgrade-commit","updating-managed-runner","verifying-runner-on-production-branch","synchronizing-cloud-configuration","running-configuration-canary"],m=p.map(e=>(function(e){switch(e){case"verifying-managed-repository":return"Verifying managed repository";case"comparing-runner-snapshots":return"Comparing runner snapshots";case"preparing-upgrade-commit":return"Preparing upgrade commit";case"updating-managed-runner":return"Updating managed runner";case"verifying-runner-on-production-branch":return"Verifying runner on production branch";case"synchronizing-cloud-configuration":return"Synchronizing cloud configuration";case"running-configuration-canary":return"Running configuration canary"}})(e));function v(e){var r,n,a,v,g,h,f,x,b,y,j,w,N,k,C,S,P,_,R,A,E,I,V;let{initialStatus:M}=e,[T,U]=(0,s.useState)(M),[O,z]=(0,s.useState)(null===M),[D,F]=(0,s.useState)(null),[L,$]=(0,s.useState)("idle"),[H,G]=(0,s.useState)(null!=(v=null==M?void 0:M.pendingOperationId)?v:null),[K,q]=(0,s.useState)((0,c.A)()),[Z,B]=(0,s.useState)(!1),[J,Y]=(0,s.useState)(!1),W=(0,s.useRef)(!0),Q=(0,s.useRef)(null),X=(0,s.useCallback)(()=>{Q.current&&(clearInterval(Q.current),Q.current=null)},[]),ee=(0,s.useCallback)(async()=>{(0,d.sJ)(),z(!0);try{let e=await (0,d.h8)();return W.current&&(U(e),z(!1),e.pendingOperationId&&G(e.pendingOperationId)),e}catch(e){if((e instanceof DOMException||e instanceof Error)&&"AbortError"===e.name)return null;throw W.current&&z(!1),e}},[]),er=(0,s.useCallback)(async()=>{try{let[e,r]=await Promise.all([(0,d.Os)(),(0,d.h8)()]);if(!W.current)return;if(F(e),U(r),z(!1),r.pendingOperationId&&G(r.pendingOperationId),Y(function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();return!!e&&function(e){var r,n,t;let a=null!=(r=e.staleMs)?r:3e4,l=null!=(n=e.nowMs)?n:Date.now(),s=e.updatedAt?Date.parse(e.updatedAt):NaN,i=null!=(t=e.lastSuccessfulProviderCallAt)?t:e.workerHeartbeatAt,o=i?Date.parse(i):NaN;return!!Number.isFinite(s)&&!!Number.isFinite(o)&&l-s>=a&&l-o>=a}({updatedAt:e.updatedAt,lastSuccessfulProviderCallAt:e.lastSuccessfulProviderCallAt,workerHeartbeatAt:e.workerHeartbeatAt,nowMs:r})}(e)),"up_to_date"===r.status){X(),$("success"),q({phase:"success",preview:null,error:null,successMessage:"PDev runner updated and configuration canary passed."}),B(!1);return}("failed"===r.status||"partially_updated"===r.status||"blocked_operator_conflicts"===r.status||"blocked_unexpected_remote"===r.status||"blocked_non_managed"===r.status)&&("partially_updated"!==r.status||r.blockedReason)&&(X(),$("partially_updated"===r.status?"idle":"failed"),r.blockedReason&&q({phase:"error",preview:K.preview,error:(0,c.S)(r.blockedReason),successMessage:null}))}catch(e){}},[K.preview,X]),en=(0,s.useCallback)(()=>{X(),Q.current=setInterval(()=>{er()},2e3)},[er,X]);(0,s.useEffect)(()=>(W.current=!0,(async()=>{try{await ee();let e=await (0,d.Os)();if(!W.current)return;F(e),((null==e?void 0:e.operationId)||(null==T?void 0:T.status)==="updating"||(null==T?void 0:T.status)==="partially_updated")&&(null==e?void 0:e.operationId)&&(G(e.operationId),$("running"),en())}catch(e){W.current&&z(!1)}})(),()=>{W.current=!1,X()}),[]);let et=(0,s.useCallback)(async()=>{q(e=>({...e,phase:"previewing",error:null})),B(!1);try{let r=await (0,d.bY)();if(r.blocked){var e;throw Error(null!=(e=r.message)?e:"Runner upgrade preview is blocked.")}q({phase:"preview-ready",preview:r,error:null,successMessage:null})}catch(e){q({phase:"error",preview:null,error:(0,c.S)(e instanceof Error?e.message:"Runner upgrade preview failed."),successMessage:null})}},[]),ea=(0,s.useCallback)(async()=>{if(Z){$("submitting"),q(e=>({...e,phase:"applying",error:null})),Y(!1);try{var e;let r=(null==T?void 0:T.status)==="partially_updated"||(null==T?void 0:T.status)==="updating"||(null==T?void 0:T.status)==="failed",n=await (0,d.fY)({previewFingerprint:null==(e=K.preview)?void 0:e.previewFingerprint,resume:r});if(!W.current)return;G(n.apply.operationId),F(n.progress),U(n.status),$("accepted"),$("running"),en(),er()}catch(e){X(),$("failed"),q({phase:"error",preview:K.preview,error:(0,c.S)(e instanceof Error?e.message:"Runner upgrade apply failed."),successMessage:null})}}},[Z,K.preview,er,en,null==T?void 0:T.status,X]),el=(0,s.useMemo)(()=>{var e;let r=null!=(e=null==D?void 0:D.uiPhase)?e:null==T?void 0:T.pendingPhase;if(!r||!H)return -1;let n=p.findIndex(e=>e===r);return n>=0?n:0},[H,null==D?void 0:D.uiPhase,null==T?void 0:T.pendingPhase]),es=(0,o.y)({labels:m,activeIndex:Math.max(el,0)}),ei=!!(null==T||null==(r=T.blockedReason)?void 0:r.includes("GITHUB_TOKEN is required")),eo="submitting"===L||"running"===L||"accepted"===L,eu=!(S={status:T,tokenUnavailable:ei,lifecycleBusy:eo}).tokenUnavailable&&!S.lifecycleBusy&&(null==(P=S.status)?void 0:P.status)!=="blocked_non_managed"&&(null==(_=S.status)?void 0:_.status)!=="blocked_operator_conflicts"&&(null==(R=S.status)?void 0:R.status)!=="blocked_unexpected_remote"&&!!((null==(V=S.status)?void 0:V.currentSnapshot)&&!0!==V.currentSnapshotCached)&&((null==(A=S.status)?void 0:A.status)==="update_available"||(null==(E=S.status)?void 0:E.status)==="partially_updated"||(null==(I=S.status)?void 0:I.status)==="failed"),ec=!(f={status:T,tokenUnavailable:ei,lifecycleBusy:eo}).tokenUnavailable&&!f.lifecycleBusy&&(null==(x=f.status)?void 0:x.status)!=="blocked_non_managed"&&(null==(b=f.status)?void 0:b.status)!=="blocked_operator_conflicts"&&(null==(y=f.status)?void 0:y.status)!=="blocked_unexpected_remote"&&((null==(j=f.status)?void 0:j.status)==="update_available"||(null==(w=f.status)?void 0:w.status)==="partially_updated"||(null==(N=f.status)?void 0:N.status)==="failed"||(null==(k=f.status)?void 0:k.status)==="checking"&&!0===f.status.localManagedRepoEvidence),ed=(null==T?void 0:T.retryAvailable)===!0||(null==T?void 0:T.status)==="checking"||(null==T?void 0:T.degraded)===!0,ep=null!=(g=null==D?void 0:D.canaryRunUrl)?g:null==T?void 0:T.canaryRunUrl,em=!!H&&("running"===L||"accepted"===L||(null==T?void 0:T.status)==="updating"),ev="submitting"===L;return(0,t.jsxs)("div",{className:"space-y-6 rounded-md border border-border p-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-base font-semibold tracking-tight",children:"PDev runner"}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:"Update the managed GitHub runner workspace that executes harness automation."})]}),(0,t.jsxs)("div",{className:"rounded-md border border-border bg-muted/10 p-4 text-sm",children:[(0,t.jsxs)("p",{children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:"Status:"})," ",O||!T?"Checking runner version":T.statusLabel]}),(0,t.jsx)("p",{className:"mt-2",children:function(e){let r=null==e?void 0:e.currentSnapshot;if(!r)return"Current runner: —";let n=r.packageVersion;if(null==e?void 0:e.currentSnapshotCached){let r=e.currentSnapshotVerifiedAt?new Date(e.currentSnapshotVerifiedAt).toLocaleString():"unknown time";return"Current runner: ".concat(n," — last verified ").concat(r," (cached until refreshed)")}return"Current runner: ".concat(n," (").concat(r.snapshotContentId.slice(0,12),"…)")}(T)}),(0,t.jsx)("p",{className:"mt-2",children:(C=null==T?void 0:T.availableSnapshot)?"Available runner: ".concat(C.packageVersion," (").concat(C.snapshotContentId.slice(0,12),"…)"):"Available runner: —"}),(null==T?void 0:T.blockedReason)&&"checking"!==T.status?(0,t.jsx)("p",{className:"mt-2 text-destructive",children:T.blockedReason}):null,(null==T?void 0:T.retryGuidance)&&T.degraded?(0,t.jsx)("p",{className:"mt-2 text-muted-foreground",children:T.retryGuidance}):null,ed?(0,t.jsx)("div",{className:"mt-3",children:(0,t.jsx)(i.$,{type:"button",size:"sm",variant:"outline",disabled:O||ev,onClick:()=>void ee(),children:"Retry status"})}):null,(null==T||null==(n=T.conflictPaths)?void 0:n.length)?(0,t.jsxs)("div",{className:"mt-2",children:[(0,t.jsx)("p",{className:"text-muted-foreground",children:"Conflict paths:"}),(0,t.jsx)("ul",{className:"mt-1 list-disc pl-5",children:T.conflictPaths.slice(0,8).map(e=>(0,t.jsx)("li",{children:e},e))})]}):null,(null==T?void 0:T.prUrl)?(0,t.jsxs)("p",{className:"mt-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:"Upgrade PR:"})," ",(0,t.jsx)("a",{href:T.prUrl,className:"underline",target:"_blank",rel:"noreferrer",children:"View pull request"})]}):null]}),ei?(0,t.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Connect GitHub in"," ",(0,t.jsx)(l(),{href:"/settings/connections",className:"underline",children:"Settings → Connections"})," ","to check or update the managed runner."]}):null,K.preview&&!K.preview.blocked?(0,t.jsxs)("div",{className:"rounded-md border border-border p-4 text-sm",children:[(0,t.jsxs)("p",{children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:"Impact:"})," ",K.preview.impact.replacePathCount," replace,"," ",K.preview.impact.deletePathCount," delete"]}),K.preview.impact.sampleReplacePaths.length>0?(0,t.jsxs)("p",{className:"mt-2 text-muted-foreground",children:["Sample replace paths:"," ",K.preview.impact.sampleReplacePaths.join(", ")]}):null]}):null,ev?(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"Starting update…"}):null,em&&el>=0?(0,t.jsx)(o.M,{phases:es,supportingText:ep?"Waiting for configuration canary to finish.":"Runner upgrade in progress.",busy:!0}):null,J&&em?(0,t.jsxs)("div",{className:"rounded-md border border-destructive/40 bg-destructive/5 p-3 text-sm",children:[(0,t.jsx)("p",{children:"The runner update has not made progress recently."}),(0,t.jsxs)("div",{className:"mt-2 flex flex-wrap gap-2",children:[(0,t.jsx)(i.$,{type:"button",size:"sm",variant:"outline",onClick:()=>{B(!0),ea()},children:"Retry"}),(0,t.jsx)(i.$,{type:"button",size:"sm",variant:"ghost",onClick:()=>void ee(),children:"Refresh status"})]})]}):null,ep?(0,t.jsxs)("p",{className:"text-sm",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:"Configuration canary:"})," ",(0,t.jsx)("a",{href:ep,className:"underline",target:"_blank",rel:"noreferrer",children:"View workflow run"})]}):null,(0,t.jsx)(u.T,{title:"Update PDev runner",explanation:"Apply the packaged runner snapshot to the managed harness repository, sync cloud configuration, and run the configuration canary.",phase:K.phase,error:K.error,successMessage:K.successMessage,previewPolicy:"optional",previewSummary:(null==(a=K.preview)?void 0:a.blocked)?null!=(h=K.preview.message)?h:"Runner upgrade preview is blocked.":K.preview?"Replace ".concat(K.preview.impact.replacePathCount," paths and delete ").concat(K.preview.impact.deletePathCount," paths."):null,confirmScope:"remote-repo-write",confirmed:Z,onConfirmedChange:B,onPreview:()=>void et(),onApply:()=>void ea(),previewLabel:"Preview runner update",applyLabel:"Update runner",disablePreview:!eu||ev,disableApply:!ec||!Z||ev}),(null==T?void 0:T.status)==="partially_updated"?(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)(i.$,{type:"button",size:"sm",variant:"outline",disabled:ev||"running"===L,onClick:()=>{B(!0),ea()},children:"Resume runner upgrade"}),(0,t.jsx)(i.$,{type:"button",size:"sm",variant:"ghost",disabled:ev,onClick:()=>void ee(),children:"Refresh status"})]}):null]})}},7712:(e,r,n)=>{"use strict";function t(){return{phase:"idle",preview:null,error:null,successMessage:null}}function a(e){return e.replace(/sk-[A-Za-z0-9_-]+/g,"[redacted]").replace(/ghp_[A-Za-z0-9]+/g,"[redacted]").replace(/lin_api_[A-Za-z0-9]+/g,"[redacted]")}n.d(r,{A:()=>t,S:()=>a})},7798:(e,r,n)=>{Promise.resolve().then(n.bind(n,1980)),Promise.resolve().then(n.bind(n,2321)),Promise.resolve().then(n.bind(n,3917))}},e=>{e.O(0,[691,845,9289,3800,8002,9576,9188,587,18,7358],()=>e(e.s=7798)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7974],{826:(e,t,r)=>{"use strict";r.d(t,{cn:()=>s});var n=r(2902),a=r(3714);function s(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.QP)((0,n.$)(t))}},3081:(e,t,r)=>{"use strict";r.d(t,{NJ:()=>a,rs:()=>n});let n={page:"mx-auto w-full max-w-5xl",shell:"min-h-screen bg-background",header:"sticky top-0 z-50 border-b border-border bg-background",headerInner:"mx-auto flex w-full max-w-7xl items-center justify-between gap-4 px-4 py-3 sm:px-6",main:"mx-auto w-full max-w-7xl px-4 py-8 md:px-6 md:py-10",configureContent:"mx-auto w-full max-w-3xl",sectionStack:"flex flex-col gap-6",cardGrid:"grid grid-cols-1 gap-4 md:grid-cols-2"},a=n.main},4779:(e,t,r)=>{Promise.resolve().then(r.bind(r,7366)),Promise.resolve().then(r.bind(r,8644)),Promise.resolve().then(r.t.bind(r,9664,23))},6845:(e,t,r)=>{"use strict";r.d(t,{$:()=>l});var n=r(4568),a=r(7620),s=r(6118),o=r(4616),i=r(826);let d=(0,o.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring cursor-pointer disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",ghost:"hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8"}},defaultVariants:{variant:"default",size:"default"}}),l=a.forwardRef((e,t)=>{let{className:r,variant:a,size:o,asChild:l=!1,...c}=e,u=l?s.DX:"button";return(0,n.jsx)(u,{className:(0,i.cn)(d({variant:a,size:o,className:r})),ref:t,...c})});l.displayName="Button"},7366:(e,t,r)=>{"use strict";r.d(t,{SettingsMenu:()=>w});var n=r(4568),a=r(9664),s=r.n(a),o=r(7541),i=r(7620),d=r(2116),l=r(2568),c=r(1115),u=r(6845),m=r(7693),g=r(826);function f(e){let{...t}=e;return(0,n.jsx)(m.bL,{"data-slot":"dropdown-menu",...t})}function x(e){let{...t}=e;return(0,n.jsx)(m.l9,{"data-slot":"dropdown-menu-trigger",...t})}function h(e){let{className:t,sideOffset:r=4,...a}=e;return(0,n.jsx)(m.ZL,{children:(0,n.jsx)(m.UC,{"data-slot":"dropdown-menu-content",sideOffset:r,className:(0,g.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t),...a})})}function p(e){let{className:t,inset:r,variant:a="default",...s}=e;return(0,n.jsx)(m.q7,{"data-slot":"dropdown-menu-item","data-inset":r,"data-variant":a,className:(0,g.cn)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[disabled]:cursor-not-allowed data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...s})}function v(e){let{className:t,...r}=e;return(0,n.jsx)(m.wv,{"data-slot":"dropdown-menu-separator",className:(0,g.cn)("bg-border -mx-1 my-1 h-px",t),...r})}var b=r(4560);function w(e){let{settingsHref:t="/settings",isSettingsActive:r=!1,workflowHref:a="/workflow",isWorkflowActive:m=!1,showProductNavigation:g=!0}=e,{mounted:w,isDark:j,toggleTheme:y}=function(){let{resolvedTheme:e,setTheme:t}=(0,b.D)(),[r,n]=(0,i.useState)(!1);(0,i.useEffect)(()=>{n(!0)},[]);let a="dark"===e;return{mounted:r,isDark:a,toggleTheme:function(){t(a?"light":"dark")},setTheme:t}}(),k=(0,o.useRouter)(),N=(0,i.useRef)(new Set),_=(0,i.useCallback)(e=>{N.current.has(e)||(N.current.add(e),k.prefetch(e))},[k]),z=(0,i.useCallback)(e=>{e&&g&&(_(t),_(a))},[_,t,g,a]);return(0,n.jsxs)(f,{onOpenChange:z,children:[(0,n.jsx)(x,{asChild:!0,children:(0,n.jsxs)(u.$,{variant:"outline",size:"sm",className:"cursor-pointer gap-1.5",children:["Settings",(0,n.jsx)(d.A,{className:"size-4"})]})}),(0,n.jsxs)(h,{align:"end",className:"w-48",children:[(0,n.jsxs)(p,{onSelect:e=>{e.preventDefault(),y()},children:[w&&j?(0,n.jsx)(l.A,{className:"size-4"}):(0,n.jsx)(c.A,{className:"size-4"}),(0,n.jsx)("span",{children:w&&j?"Light mode":"Dark mode"})]}),g?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v,{}),(0,n.jsx)(p,{asChild:!0,children:(0,n.jsx)(s(),{href:a,"aria-current":m?"page":void 0,onMouseEnter:()=>_(a),onFocus:()=>_(a),children:"Workflow"})}),(0,n.jsx)(p,{asChild:!0,children:(0,n.jsx)(s(),{href:t,"aria-current":r?"page":void 0,onMouseEnter:()=>_(t),onFocus:()=>_(t),children:"Settings"})})]}):null]})]})}},8644:(e,t,r)=>{"use strict";r.d(t,{SettingsShell:()=>l});var n=r(4568),a=r(9664),s=r.n(a),o=r(7541);let i=[{href:"/settings/connections",label:"Connections"},{href:"/settings/linear",label:"Linear"},{href:"/settings/repositories",label:"Target repositories"},{href:"/settings/deployments",label:"Deployments"},{href:"/settings/models",label:"Models"},{href:"/settings/data-sharing",label:"Data and privacy"}];i[0].href;var d=r(3081);function l(e){let{children:t}=e,r=(0,o.usePathname)();return(0,n.jsxs)("div",{className:"".concat(d.rs.main," grid gap-8 lg:grid-cols-[220px_minmax(0,1fr)]"),children:[(0,n.jsxs)("nav",{"aria-label":"Settings",className:"space-y-1",children:[(0,n.jsx)("h1",{className:"mb-3 text-lg font-semibold tracking-tight",children:"Settings"}),(0,n.jsx)("ul",{className:"space-y-1",children:i.map(e=>{let t="exact"in e&&e.exact?r===e.href:r===e.href||r.startsWith("".concat(e.href,"/"));return(0,n.jsx)("li",{children:(0,n.jsx)(s(),{href:e.href,"aria-current":t?"page":void 0,className:"block rounded-md px-3 py-2 text-sm ".concat(t?"bg-muted font-medium text-foreground":"text-muted-foreground hover:bg-muted/60 hover:text-foreground"),children:e.label})},e.href)})})]}),(0,n.jsx)("div",{className:"min-w-0",children:t})]})}}},e=>{e.O(0,[9289,3800,7420,587,18,7358],()=>e(e.s=4779)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1015],{100:(e,t,r)=>{"use strict";function n(e){return"".concat(e.workspaceId,":").concat(e.teamId,":").concat(e.projectId)}function s(e){let t=new Map;for(let n of e){var r;let e=null!=(r=t.get(n.teamId))?r:[];e.push(n),t.set(n.teamId,e)}return t}function a(e){var t;let r=null==(t=e.teamName)?void 0:t.trim();return r&&r!==e.teamKey?"".concat(r," (").concat(e.teamKey,")"):r||e.teamKey}r.d(t,{W:()=>a,iF:()=>n,um:()=>s})},1715:(e,t,r)=>{"use strict";r.d(t,{s:()=>a});var n=r(7620);function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return n.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=s(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():s(e[t],null)}}}}(...e),e)}},2462:(e,t,r)=>{"use strict";r.d(t,{l:()=>l});var n=r(4568),s=r(7620),a=r(826),i=r(7401);let l=s.forwardRef((e,t)=>{let{className:r,children:s,...l}=e;return(0,n.jsx)("select",{className:(0,a.cn)(i.P.guidedSelect,r),ref:t,...l,children:s})});l.displayName="GuidedSelect"},2614:(e,t,r)=>{"use strict";r.d(t,{T:()=>i});var n=r(4568),s=r(6845),a=r(997);function i(e){let{title:t="Apply changes",explanation:r,previewSummary:i,phase:l,error:o,successMessage:d,confirmScope:c,confirmed:u,onConfirmedChange:p,onPreview:m,onApply:f,previewLabel:h="Preview changes",applyLabel:x="Apply changes",previewPolicy:g="required",disablePreview:j=!1,disableApply:v=!1}=e,y="previewing"===l||"applying"===l,b="optional"===g;return(0,n.jsxs)("div",{className:"space-y-4 rounded-md border border-border p-4",children:[(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)("h3",{className:"text-sm font-semibold",children:t}),r?(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:r}):null]}),m?(0,n.jsxs)("div",{className:"space-y-2 border-b border-border pb-4",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[b?(0,n.jsx)("span",{className:"rounded-md border border-border px-2 py-0.5 text-xs text-muted-foreground",children:"Optional"}):null,(0,n.jsx)(s.$,{type:"button",variant:"outline",size:"sm",disabled:y||j,onClick:m,children:"previewing"===l?"Previewing…":h})]}),b?(0,n.jsx)("p",{className:"text-right text-xs text-muted-foreground",children:"Review the planned changes before applying."}):null]}):null,i?(0,n.jsx)("pre",{className:"max-h-48 overflow-auto rounded-md bg-muted/40 p-3 text-xs whitespace-pre-wrap",children:i}):null,o?(0,n.jsx)("p",{className:"text-sm text-destructive",children:o}):null,d?(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:d}):null,c?(0,n.jsx)(a.I,{scope:c,variant:"advanced",confirmed:u,disabled:y,onConfirmedChange:p}):null,f?(0,n.jsx)("div",{className:"flex justify-end",children:(0,n.jsx)(s.$,{type:"button",disabled:y||v||!!c&&!u||"required"===g&&!i,onClick:f,children:"applying"===l?"Applying…":x})}):null]})}},3268:(e,t,r)=>{"use strict";r.d(t,{LinearSettingsEditor:()=>m});var n=r(4568),s=r(7620),a=r(100),i=r(7368),l=r(6845),o=r(8049),d=r(2462),c=r(2614),u=r(7712),p=r(2700);function m(e){var t,r,m,f,h,x;let{initialData:g}=e,[j,v]=(0,s.useState)(g.summary),[y,b]=(0,s.useState)(g.associations),[N,w]=(0,s.useState)(g.associations),[k,S]=(0,s.useState)(g.expectedCommittedFingerprint),[I,C]=(0,s.useState)([]),[_,E]=(0,s.useState)([]),[R,A]=(0,s.useState)(!1),[P,M]=(0,s.useState)(null),[O,T]=(0,s.useState)(""),[L,F]=(0,s.useState)([]),[$,D]=(0,s.useState)(null!=(f=null==(t=g.repos[0])?void 0:t.id)?f:""),[W,z]=(0,s.useState)((0,u.A)()),[K,J]=(0,s.useState)(!1),V=(0,s.useRef)(0),B=j.linearApiKeyConfigured,Z=null==(r=j.controlPlane)?void 0:r.linearWorkspace,q=(0,s.useMemo)(()=>(0,a.um)(y),[y]),Y=(0,s.useMemo)(()=>(0,a.um)(N),[N]);(0,s.useEffect)(()=>{if(!B){V.current+=1,C([]),E([]),A(!1),M(null);return}let e=++V.current,t=!1;return(async()=>{A(!0),M(null);try{var r,n,s;let a=await fetch("/api/setup/linear-options"),i=await a.json();if(t||e!==V.current)return;if(!a.ok)throw Error(null!=(r=i.error)?r:"Failed to load Linear options");C(null!=(n=i.teams)?n:[]),E(null!=(s=i.projects)?s:[])}catch(r){if(t||e!==V.current)return;C([]),E([]),M(r instanceof Error?r.message:"Failed to load Linear options")}finally{t||e!==V.current||A(!1)}})(),()=>{t=!0,V.current+=1}},[B]);let U=(0,s.useMemo)(()=>(0,i.gy)(N),[N]),G=(0,s.useMemo)(()=>O?_.filter(e=>e.teamIds.includes(O)):[],[_,O]),H=I.find(e=>e.id===O),X=null!=(h=null==(m=g.repos.find(e=>e.id===$))?void 0:m.targetRepo)?h:"",Q=()=>({expectedCommittedFingerprint:k,workspaceId:g.workspaceId,workspaceName:g.workspaceName,requestedAssociations:N}),ee=async()=>{z(e=>({...e,phase:"previewing",error:null})),J(!1);try{let e=await (0,p.b)(Q());if(e.validationError)throw Error(e.validationError);z({phase:"preview-ready",preview:e,error:null,successMessage:null})}catch(e){z({phase:"error",preview:null,error:(0,u.S)(e instanceof Error?e.message:"Linear preview failed."),successMessage:null})}},et=async()=>{z(e=>({...e,phase:"applying",error:null}));try{var e;let t=await (0,p.xD)({plan:Q(),fingerprint:null==(e=W.preview)?void 0:e.fingerprint});if(!t.apply.verified)throw Error("Linear apply finished without verification.");v(t.summary),b(g.associations),w(g.associations),S(t.expectedCommittedFingerprint),z({phase:"success",preview:null,error:null,successMessage:"Linear workspace updated."}),J(!1),window.location.reload()}catch(e){z({phase:"error",preview:W.preview,error:(0,u.S)(e instanceof Error?e.message:"Linear apply failed."),successMessage:null})}},er=JSON.stringify(y)!==JSON.stringify(N);return(0,n.jsxs)("div",{className:"space-y-8",children:[(0,n.jsxs)("section",{className:"space-y-3 rounded-md border border-border p-4",children:[(0,n.jsx)("h3",{className:"text-sm font-semibold",children:"Connected workspace"}),(0,n.jsxs)("p",{className:"text-sm",children:[(0,n.jsx)("span",{className:"text-muted-foreground",children:"Workspace:"})," ",g.workspaceName]}),(0,n.jsxs)("p",{className:"text-sm",children:[(0,n.jsx)("span",{className:"text-muted-foreground",children:"Credential:"})," ",B?"Configured":"Missing LINEAR_API_KEY"]}),(0,n.jsxs)("p",{className:"text-sm",children:[(0,n.jsx)("span",{className:"text-muted-foreground",children:"Configured teams:"})," ",q.size]}),(0,n.jsxs)("p",{className:"text-sm",children:[(0,n.jsx)("span",{className:"text-muted-foreground",children:"Configured projects:"})," ",y.length]}),g.driftWarnings.length>0?(0,n.jsx)("div",{className:"rounded-md bg-amber-500/10 p-3 text-sm text-amber-900 dark:text-amber-200",children:g.driftWarnings.map(e=>(0,n.jsx)("p",{children:e.message},e.code))}):null]}),(0,n.jsxs)("section",{className:"space-y-4 rounded-md border border-border p-4",children:[(0,n.jsx)("h3",{className:"text-sm font-semibold",children:"Configured teams and projects"}),0===Y.size?(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:"No Linear team and project associations are configured yet."}):(0,n.jsx)("div",{className:"space-y-4",children:[...Y.entries()].map(e=>{var t,r,s,o;let[d,c]=e,u=null==Z?void 0:Z.teams.find(e=>e.teamId===d);return(0,n.jsxs)("div",{className:"rounded-md border border-border/70 p-3",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("p",{className:"text-sm font-medium",children:[(0,a.W)({teamName:null==(t=c[0])?void 0:t.teamName,teamKey:null!=(s=null==(r=c[0])?void 0:r.teamKey)?s:d})," ","\xb7 ",c.length," project",1===c.length?"":"s"]}),(0,n.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Health: ",null!=(o=null==u?void 0:u.health)?o:"verification_pending"]})]}),(0,n.jsx)(l.$,{type:"button",variant:"outline",size:"sm",onClick:()=>(e=>{var t,r;let n=N.filter(t=>t.teamId===e),s=n.map(e=>"- ".concat(e.projectName)).join("\n");window.confirm('Remove "'.concat(null!=(r=null==(t=n[0])?void 0:t.teamKey)?r:e,'" from PDev?\n\nThis will also detach these configured projects:\n\n').concat(s,"\n\nIssues belonging to this team will no longer be processed by this harness.\n\nNothing will be deleted from Linear."))&&w(t=>(0,i.Bw)(t,e))})(d),children:"Remove from PDev"})]}),(0,n.jsx)("ul",{className:"mt-3 space-y-2",children:c.map(e=>{var t;let r=null==u?void 0:u.projects.find(t=>t.projectId===e.projectId);return(0,n.jsxs)("li",{className:"flex flex-wrap items-center justify-between gap-2 rounded-md bg-muted/30 px-3 py-2 text-sm",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{children:e.projectName}),(0,n.jsx)("p",{className:"text-xs text-muted-foreground",children:e.targetRepo}),(0,n.jsx)("p",{className:"text-xs text-muted-foreground",children:null!=(t=null==r?void 0:r.health)?t:"verification_pending"})]}),(0,n.jsx)(l.$,{type:"button",variant:"ghost",size:"sm",onClick:()=>{window.confirm('Remove "'.concat(e.projectName,'" from PDev? Issues in this team and project will no longer be processed by this harness. The Linear project and its issues will not be deleted.'))&&w(t=>(0,i.df)(t,e))},children:"Detach"})]},(0,a.iF)(e))})})]},d)})})]}),(0,n.jsxs)("section",{className:"space-y-4 rounded-md border border-border p-4",children:[(0,n.jsx)("h3",{className:"text-sm font-semibold",children:"Add teams and projects"}),B?null:(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:"Configure a Linear API key in Connections before adding associations."}),P?(0,n.jsx)("p",{className:"text-sm text-destructive",children:P}):null,(0,n.jsxs)("div",{className:"grid gap-4 md:grid-cols-2",children:[(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)(o.J,{htmlFor:"settings-linear-add-team",children:"Team"}),(0,n.jsxs)(d.l,{id:"settings-linear-add-team",value:O,disabled:R||!B,onChange:e=>{T(e.target.value),F([])},children:[(0,n.jsx)("option",{value:"",children:R?"Loading teams…":"Select a team"}),I.map(e=>(0,n.jsxs)("option",{value:e.id,children:[e.name," (",e.key,")"]},e.id))]})]}),(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)(o.J,{htmlFor:"settings-linear-target-repo",children:"Target repository"}),(0,n.jsx)(d.l,{id:"settings-linear-target-repo",value:$,onChange:e=>D(e.target.value),children:g.repos.map(e=>(0,n.jsx)("option",{value:e.id,children:e.targetRepo},e.id))})]})]}),O?(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)(o.J,{children:"Projects on this team"}),(0,n.jsx)("div",{className:"space-y-2 rounded-md border border-border/70 p-3",children:0===G.length?(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:"No Linear projects are associated with this team."}):G.map(e=>{let t=(0,a.iF)({workspaceId:g.workspaceId,teamId:O,projectId:e.id}),r=U.has(t);return(0,n.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,n.jsx)("input",{type:"checkbox",disabled:r,checked:L.includes(e.id),onChange:t=>{F(r=>t.target.checked?[...r,e.id]:r.filter(t=>t!==e.id))}}),(0,n.jsxs)("span",{children:[e.name,r?" (already configured)":""]})]},e.id)})}),(0,n.jsx)(l.$,{type:"button",variant:"outline",disabled:!L.length||!X,onClick:()=>{if(!H||!X||0===L.length)return;let e=L.map(e=>_.find(t=>t.id===e)).filter(e=>!!e);w(t=>(0,i.UY)({draft:t,workspaceId:g.workspaceId,team:{id:H.id,key:H.key,name:H.name},projects:e.map(e=>({id:e.id,name:e.name})),targetRepo:X,repoConfigId:$})),F([])},children:"Add selected projects to draft"})]}):null]}),(0,n.jsx)(c.T,{phase:W.phase,error:W.error,successMessage:W.successMessage,previewPolicy:"optional",previewSummary:W.preview?(x=W.preview,["Teams to add: ".concat(x.impactSummary.teamsToAdd.join(", ")||"none"),"Projects to add: ".concat(x.impactSummary.projectsToAdd.join(", ")||"none"),"Teams to repair: ".concat(x.impactSummary.teamsToRepair.join(", ")||"none"),"Projects to detach: ".concat(x.impactSummary.projectsToDetach.join(", ")||"none"),"Teams to detach: ".concat(x.impactSummary.teamsToDetach.join(", ")||"none"),"Metadata blocks to remove: ".concat(x.impactSummary.metadataBlocksToRemove.join(", ")||"none"),...x.impactSummary.explicitNonActions].join("\n")):null,confirmScope:"linear-write",confirmed:K,onConfirmedChange:J,onPreview:()=>void ee(),onApply:()=>void et(),disablePreview:!er||0===N.length,disableApply:!er||0===N.length})]})}},4538:(e,t,r)=>{Promise.resolve().then(r.bind(r,1980)),Promise.resolve().then(r.bind(r,3268))},4616:(e,t,r)=>{"use strict";r.d(t,{F:()=>i});var n=r(2902);let s=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=n.$,i=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return a(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:l}=t,o=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],n=null==l?void 0:l[e];if(null===t)return null;let a=s(t)||s(n);return i[e][a]}),d=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return a(e,o,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...d}[t]):({...l,...d})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},6118:(e,t,r)=>{"use strict";r.d(t,{DX:()=>l,TL:()=>i});var n,s=r(7620),a=r(1715);function i(e){let t=s.forwardRef((t,r)=>{var n;let i,l,{children:c,...h}=t,x=null,g=!1,j=[];u(c)&&"function"==typeof f&&(c=f(c._payload)),s.Children.forEach(c,e=>{var t;if(t=e,s.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===o){g=!0;let t="child"in e.props?e.props.child:e.props.children;u(t)&&"function"==typeof f&&(t=f(t._payload)),x=d(e,t),j.push(x?.props?.children)}else j.push(e)}),x?x=s.cloneElement(x,void 0,j):!g&&1===s.Children.count(c)&&s.isValidElement(c)&&(x=c);let v=x?(n=x,(l=(i=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?n.ref:(l=(i=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?n.props.ref:n.props.ref||n.ref):void 0,y=(0,a.s)(r,v);if(!x){if(c||0===c)throw Error(g?m(e):p(e));return c}let b=function(e,t){let r={...t};for(let n in t){let s=e[n],a=t[n];/^on[A-Z]/.test(n)?s&&a?r[n]=(...e)=>{let t=a(...e);return s(...e),t}:s&&(r[n]=s):"style"===n?r[n]={...s,...a}:"className"===n&&(r[n]=[s,a].filter(Boolean).join(" "))}return{...e,...r}}(h,x.props??{});return x.type!==s.Fragment&&(b.ref=r?y:v),s.cloneElement(x,b)});return t.displayName=`${e}.Slot`,t}var l=i("Slot"),o=Symbol.for("radix.slottable"),d=(e,t)=>{if("child"in e.props){let t=e.props.child;return s.isValidElement(t)?s.cloneElement(t,void 0,e.props.children(t.props.children)):null}return s.isValidElement(t)?t:null},c=Symbol.for("react.lazy");function u(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===c&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var p=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,m=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,f=(n||(n=r.t(s,2)))[" use ".trim().toString()]},7368:(e,t,r)=>{"use strict";r.d(t,{Bw:()=>i,UY:()=>l,df:()=>a,gy:()=>s,m5:()=>o});var n=r(100);function s(e){return new Set(e.map(e=>(0,n.iF)(e)))}function a(e,t){return e.filter(e=>e.teamId!==t.teamId||e.projectId!==t.projectId)}function i(e,t){return e.filter(e=>e.teamId!==t)}function l(e){if(!e.targetRepo.trim()||!e.repoConfigId.trim())return e.draft;let t=s(e.draft),r=[...e.draft];for(let s of e.projects){let a={workspaceId:e.workspaceId,teamId:e.team.id,teamKey:e.team.key,teamName:e.team.name,projectId:s.id,projectName:s.name,targetRepo:e.targetRepo,repoConfigId:e.repoConfigId},i=(0,n.iF)(a);t.has(i)||(r.push(a),t.add(i))}return r}function o(e){let t=s(e.draft),r=(0,n.iF)(e.association);return t.has(r)?e.draft:[...e.draft,e.association]}},7424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return s}});let n=r(7620);function s(e,t){let r=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=s.current;t&&(s.current=null,t())}else e&&(r.current=a(e,n)),t&&(s.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7712:(e,t,r)=>{"use strict";function n(){return{phase:"idle",preview:null,error:null,successMessage:null}}function s(e){return e.replace(/sk-[A-Za-z0-9_-]+/g,"[redacted]").replace(/ghp_[A-Za-z0-9]+/g,"[redacted]").replace(/lin_api_[A-Za-z0-9]+/g,"[redacted]")}r.d(t,{A:()=>n,S:()=>s})}},e=>{e.O(0,[691,845,9289,8002,9188,587,18,7358],()=>e(e.s=4538)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4088],{639:(e,t,r)=>{"use strict";r.d(t,{X:()=>i,r:()=>o});var l=r(7620),a=r(7017);function n(e){return"planning"===e?"planner":"builder"}function i(e,t){var r,l;return t?null!=(l=null==(r=e.find(e=>e.id===t))?void 0:r.displayName)?l:t:"Unknown model"}function o(e){let{bootstrap:t,committedSelections:r,onCommittedSelectionsChange:i,onBootstrapFingerprintChange:o}=e,{optimisticSelections:s,saveErrors:d,handleModelSelect:c,handleModelParameter:u,retrySave:p,saveStateLabel:m}=function(e){let{context:t,committedSelections:r,onCommittedSelectionChange:i,onFingerprintChange:o}=e,[s,d]=(0,l.useState)(r),[c,u]=(0,l.useState)({planning:"idle",implementation:"idle"}),[p,m]=(0,l.useState)({}),f=(0,l.useRef)({}),g=(0,l.useRef)(t.configFingerprint),x=(0,l.useRef)({planning:0,implementation:0});g.current=t.configFingerprint;let b=(0,l.useCallback)(e=>{let t=n(e),l=r[t];d(e=>({...e,[t]:l}))},[r]),v=(0,l.useCallback)(async(e,r,l)=>{let s=n(e);try{let n=await (0,a.S)({role:s,modelId:r.modelId,params:r.parameters,expectedConfigFingerprint:g.current,sourceMode:t.sourceMode,fixtureId:t.fixtureId,scopeId:t.selectedScopeId,sequenceId:l});if(l!==x.current[e])return;g.current=n.configFingerprint,o(n.configFingerprint),i(s,r),u(t=>({...t,[e]:"saved"})),m(t=>{let r={...t};return delete r[e],r})}catch(r){if(l!==x.current[e])return;b(e),u(t=>({...t,[e]:"error"}));let t=(r instanceof Error&&"code"in r,r);m(l=>({...l,[e]:{code:"object"==typeof t&&t&&"code"in t&&"string"==typeof t.code?t.code:void 0,message:r instanceof Error?r.message:"Couldn't save model settings."}}))}},[t.fixtureId,t.selectedScopeId,t.sourceMode,i,o,b]),h=(0,l.useCallback)((e,t)=>{let r=f.current[e];r&&clearTimeout(r),u(t=>({...t,[e]:"saving"})),m(t=>{let r={...t};return delete r[e],r}),f.current[e]=setTimeout(()=>{let r=x.current[e]+1;x.current[e]=r,v(e,t,r)},400)},[v]),C=(0,l.useCallback)(e=>{let t=s[n(e)];h(e,t)},[s,h]),y=(0,l.useCallback)((e,t,r)=>{var l,a;let i=n(e),o=r.find(e=>e.id===t),s=null!=(l=null==o?void 0:o.supportedParameters.filter(e=>"boolean"===e.type).map(e=>{var t;return{id:e.id,value:null!=(t=e.defaultValue)?t:"false"}}))?l:[],c={modelId:t,displayName:null!=(a=null==o?void 0:o.id)?a:t,parameters:s,source:"roleModels"};d(e=>({...e,[i]:c})),h(e,c)},[h]),S=(0,l.useCallback)((e,t,r)=>{let l=n(e),a=s[l],i={...a,parameters:[...a.parameters.filter(e=>e.id!==t),{id:t,value:r}]};d(e=>({...e,[l]:i})),h(e,i)},[s,h]);return{optimisticSelections:s,saveState:c,saveErrors:p,handleModelSelect:y,handleModelParameter:S,retrySave:C,saveStateLabel:e=>{switch(c[e]){case"saving":return"Saving…";case"saved":return"Saved";case"error":return"Couldn't save. Your previous model is still active.";default:return null}},syncCommittedSelections:(0,l.useCallback)(e=>{d(e)},[])}}({context:{sourceMode:t.sourceMode,fixtureId:t.fixtureId,selectedScopeId:t.selectedScopeId,configFingerprint:t.configFingerprint},committedSelections:r,onCommittedSelectionChange:i,onFingerprintChange:o}),f=(0,l.useCallback)((e,r)=>{c(e,r,t.modelCatalog)},[t.modelCatalog,c]),g=(0,l.useCallback)((e,t,r)=>{u(e,t,r)},[u]);return{plannerSelection:s.planner,builderSelection:s.builder,handleModelSelect:f,handleModelParameter:g,retrySave:p,saveStateLabel:m,saveErrorDetail:e=>{var t;return null==(t=d[e])?void 0:t.message}}}},826:(e,t,r)=>{"use strict";r.d(t,{cn:()=>n});var l=r(2902),a=r(3714);function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.QP)((0,l.$)(t))}},889:(e,t,r)=>{"use strict";r.d(t,{G:()=>n});var l=r(4568),a=r(2462);function n(e){let{label:t,phaseKey:r,disabled:n=!1,modelCatalog:i,modelId:o,parameters:s,saveLabel:d,saveErrorDetail:c,onSelectModel:u,onUpdateModelParameter:p,onRetry:m}=e,f=i.find(e=>e.id===o),g=(null==d?void 0:d.startsWith("Couldn't save"))&&m;return(0,l.jsxs)("div",{className:"space-y-2 rounded-md border border-border bg-muted/30 p-4",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,l.jsx)("span",{className:"font-medium",children:t}),d?(0,l.jsx)("span",{className:"text-xs text-muted-foreground","aria-live":"polite",children:d}):null]}),c?(0,l.jsx)("p",{className:"text-xs text-muted-foreground",children:c}):null,g?(0,l.jsx)("button",{type:"button",className:"text-xs font-medium text-primary underline-offset-4 hover:underline",onClick:()=>m(r),children:"Retry"}):null,(0,l.jsxs)("label",{className:"flex flex-col gap-1",children:[(0,l.jsx)("span",{className:"text-xs text-muted-foreground",children:"Model"}),(0,l.jsx)(a.l,{disabled:n,value:o,onChange:e=>u(r,e.target.value),children:i.filter(e=>"available"===e.availability).map(e=>(0,l.jsx)("option",{value:e.id,children:e.displayName},e.id))})]}),f?f.supportedParameters.filter(e=>"boolean"===e.type).map(e=>{var t;let a=null==(t=s.find(t=>t.id===e.id))?void 0:t.value;return(0,l.jsxs)("label",{className:"flex items-center justify-between gap-2 text-sm",children:[(0,l.jsx)("span",{children:e.label}),(0,l.jsx)("input",{type:"checkbox",role:"switch","aria-label":e.label,disabled:n||!o,checked:"true"===a,onChange:t=>p(r,e.id,t.target.checked?"true":"false")})]},e.id)}):null]})}},2462:(e,t,r)=>{"use strict";r.d(t,{l:()=>o});var l=r(4568),a=r(7620),n=r(826),i=r(7401);let o=a.forwardRef((e,t)=>{let{className:r,children:a,...o}=e;return(0,l.jsx)("select",{className:(0,n.cn)(i.P.guidedSelect,r),ref:t,...o,children:a})});o.displayName="GuidedSelect"},6444:(e,t,r)=>{"use strict";r.d(t,{SettingsModelsClient:()=>o});var l=r(4568),a=r(7620),n=r(889),i=r(639);function o(e){let{initialBootstrap:t}=e,[r,o]=(0,a.useState)(t),[s,d]=(0,a.useState)(()=>({planner:t.plannerSelection,builder:t.builderSelection})),c=(0,a.useCallback)(e=>{o(t=>({...t,configFingerprint:e}))},[]),u=(0,a.useCallback)((e,t)=>{d(r=>({...r,[e]:t}))},[]),{plannerSelection:p,builderSelection:m,handleModelSelect:f,handleModelParameter:g,retrySave:x,saveStateLabel:b,saveErrorDetail:v}=(0,i.r)({bootstrap:r,committedSelections:s,onCommittedSelectionsChange:u,onBootstrapFingerprintChange:c}),h="loaded"!==r.catalogLoadMetadata.modelCatalog||r.modelCatalog.every(e=>"available"!==e.availability);return(0,l.jsxs)("div",{className:"space-y-6",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"text-xl font-semibold tracking-tight",children:"Models"}),(0,l.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:"Planner and Builder models share the same configuration as the Workflow page."})]}),h?(0,l.jsx)("p",{className:"text-sm text-muted-foreground",children:"Live Cursor model catalog is unavailable. Confirm CURSOR_API_KEY is configured, then reload this page."}):null,(0,l.jsxs)("div",{className:"grid gap-4 md:grid-cols-2",children:[(0,l.jsx)(n.G,{label:"Planner model",phaseKey:"planning",disabled:h,modelCatalog:r.modelCatalog,modelId:p.modelId,parameters:p.parameters,saveLabel:b("planning"),saveErrorDetail:v("planning"),onSelectModel:f,onUpdateModelParameter:g,onRetry:x}),(0,l.jsx)(n.G,{label:"Builder model",phaseKey:"implementation",disabled:h,modelCatalog:r.modelCatalog,modelId:m.modelId,parameters:m.parameters,saveLabel:b("implementation"),saveErrorDetail:v("implementation"),onSelectModel:f,onUpdateModelParameter:g,onRetry:x})]})]})}},7017:(e,t,r)=>{"use strict";function l(e){let t=new URLSearchParams;(null==e?void 0:e.sourceMode)==="fixture"&&e.fixtureId&&(t.set("source","fixture"),t.set("fixture",e.fixtureId)),(null==e?void 0:e.scopeId)&&t.set("scope",e.scopeId);let r=t.toString();return r?"?".concat(r):""}async function a(e){let t=await fetch("/api/workflow/bootstrap".concat(l(e)),{signal:null==e?void 0:e.signal});if(!t.ok)throw Error("Failed to load Workflow bootstrap data.");return await t.json()}async function n(e){var t,r;let a=await fetch("/api/workflow/models".concat(l(e)),{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({role:e.role,modelId:e.modelId,params:e.params,expectedConfigFingerprint:e.expectedConfigFingerprint,sourceMode:e.sourceMode,fixtureId:e.fixtureId,scopeId:e.scopeId})}),n=await a.json();if(!a.ok||!n.saved||!n.configFingerprint){let e=Error(null!=(t=n.error)?t:"Couldn't save model settings.");throw e.code=n.code,e}return{configFingerprint:n.configFingerprint,savedAt:null!=(r=n.savedAt)?r:new Date().toISOString(),sequenceId:e.sequenceId}}r.d(t,{S:()=>n,w:()=>a})},7401:(e,t,r)=>{"use strict";r.d(t,{P:()=>l});let l={fieldStack:"space-y-2",fieldGrid:"grid grid-cols-1 gap-4 md:grid-cols-2",actions:"flex flex-wrap items-center gap-3",confirmationBox:"rounded-md border border-border bg-muted/20 p-4 space-y-3",secretHint:"text-xs text-muted-foreground",guidedSelect:"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50"}},8256:(e,t,r)=>{Promise.resolve().then(r.bind(r,6444))}},e=>{e.O(0,[9289,587,18,7358],()=>e(e.s=8256)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30,146,668,1506,2122,2208,2221,2474,2519,2776,2787,3006,3086,3094,3353,3649,3706,4362,4946,5220,5317,5337,5520,5718,5903,5976,5999,6036,6464,6672,7008,7082,7099,7310,7746,7762,7874,7959,8123,8228,8286,8341,8385,8576,8806,8974,9044,9622,9926,9931,9993],{1680:()=>{}},_=>{_.O(0,[587,18,7358],()=>_(_.s=1680)),_N_E=_.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[774],{1927:(e,r,s)=>{"use strict";s.d(r,{RepositoriesSettingsEditor:()=>f});var t=s(4568),n=s(7620),a=s(9664),i=s.n(a),l=s(6240),o=s(6845),c=s(1598),d=s(2779),p=s(8049),u=s(2614),h=s(7712),m=s(2700);function g(e){let r=e.trim().match(/^https:\/\/github\.com\/([^/]+)\/([^/]+?)(?:\.git)?\/?$/i);return r?"".concat(r[1],"/").concat(r[2]):e||"Unnamed repository"}function f(e){var r,s,a;let{initialConfigForm:f,initialConfigFingerprint:v,initialOverview:x}=e,[y,b]=(0,n.useState)(f),[j,w]=(0,n.useState)(v),[N,C]=(0,n.useState)(()=>{let e={};for(let r of x)e[r.id]={status:r.connectionStatus,detail:r.connectionDetail};return e}),[B,k]=(0,n.useState)(!1),[S,R]=(0,n.useState)("create"),[D,P]=(0,n.useState)(null),[A,M]=(0,n.useState)(!1),[E,F]=(0,n.useState)(null),[T,_]=(0,n.useState)(""),[O,z]=(0,n.useState)(""),[$,L]=(0,n.useState)((0,h.A)()),[q,I]=(0,n.useState)(!1),[J,G]=(0,n.useState)(null),H=(0,n.useMemo)(()=>new Map(x.map(e=>[e.id,e])),[x]),Z=null!=(s=y.repos.find(e=>e.id===E))?s:null,U=(0,n.useCallback)(e=>({kind:"repos",repos:e.map(e=>({id:e.id,targetRepo:e.targetRepo,baseBranch:e.baseBranch,productionBranch:e.productionBranch}))}),[]),V=(0,n.useCallback)(async()=>{M(!0);try{let e=await fetch("/api/setup/verify-service",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({service:"github"})}),r=await e.json();e.ok&&"connected"===r.status&&r.label?P(String(r.label)):P(null)}catch(e){P(null)}finally{M(!1)}},[]),K=(0,n.useCallback)(()=>{k(!0),F(null),G(null),L((0,h.A)()),V()},[V]),Q=(0,n.useCallback)(e=>{var r,s;let t=y.repos.find(r=>r.id===e);t&&(k(!1),F(e),_(null!=(r=t.baseBranch)?r:"dev"),z(null!=(s=t.productionBranch)?s:"main"),I(!1),L((0,h.A)()),G(null))},[y.repos]),W=(0,n.useCallback)(async e=>{let r=y.repos.find(r=>r.id===e);if(null==r?void 0:r.targetRepo){C(r=>({...r,[e]:{status:"checking"}})),G(null);try{let s=await fetch("/api/setup/verify-target-repo",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({targetRepo:r.targetRepo,baseBranch:r.baseBranch,productionBranch:r.productionBranch,repoConfigId:r.id})}),t=await s.json();if(!s.ok||"failed"===t.status)return void C(r=>{var s,n;return{...r,[e]:{status:"needs-attention",detail:null!=(n=null!=(s=t.error)?s:t.message)?n:"Repository verification failed."}}});C(r=>({...r,[e]:{status:"connected",detail:t.message}}))}catch(r){C(s=>({...s,[e]:{status:"needs-attention",detail:r instanceof Error?r.message:"Repository verification failed."}}))}}},[y.repos]),X=(0,n.useCallback)(async e=>{var r,s;let t=y.repos.find(r=>r.id===e);if(!t)return;if(y.repos.length<=1)return void G("At least one target repository must remain configured.");let n=H.get(e),a=null!=(r=null==n?void 0:n.detachDependencies)?r:[];if(a.length>0||(null!=(s=null==n?void 0:n.linearAssociationCount)?s:0)>0){let e=a.length>0?a.map(e=>"- ".concat(e.summary)).join("\n"):"- Active Linear team/project mappings";G('Cannot remove "'.concat(g(t.targetRepo),'" from PDev while active dependencies remain.\n\n').concat(e,"\n\nRemove or remap these on Settings → Linear first."));return}let i=g(t.targetRepo);if(!window.confirm("Remove “".concat(i,"” from PDev? PDev will stop processing work for this repository. The GitHub repository and its contents will not be deleted.")))return;let l=y.repos.filter(r=>r.id!==e);G(null),L({phase:"applying",preview:null,error:null,successMessage:null});try{let r=await (0,m.mD)({patch:U(l),expectedConfigFingerprint:j});b(e=>({...e,repos:l})),w(r.configFingerprint),L({phase:"success",preview:null,error:null,successMessage:"".concat(i," removed from PDev. The GitHub repository was not deleted.")}),E===e&&F(null)}catch(e){L({phase:"error",preview:null,error:(0,h.S)(e instanceof Error?e.message:"Remove from PDev failed."),successMessage:null})}},[U,j,y.repos,E,H]),Y=(0,n.useCallback)(async()=>{if(!Z)return;let e=y.repos.map(e=>e.id===Z.id?{...e,baseBranch:T.trim(),productionBranch:O.trim()}:e);L(e=>({...e,phase:"previewing",error:null})),I(!1);try{let r=await (0,m._Z)({patch:U(e),verifyBranches:!0,requireDistinctBranches:!0});L({phase:"preview-ready",preview:r,error:null,successMessage:null})}catch(e){L({phase:"error",preview:null,error:(0,h.S)(e instanceof Error?e.message:"Branch preview failed."),successMessage:null})}},[U,y.repos,T,O,Z]),ee=(0,n.useCallback)(async()=>{if(!Z||!q)return;let e=y.repos.map(e=>e.id===Z.id?{...e,baseBranch:T.trim(),productionBranch:O.trim()}:e);L(e=>({...e,phase:"applying",error:null}));try{await (0,m._Z)({patch:U(e),verifyBranches:!0,requireDistinctBranches:!0});let r=await (0,m.mD)({patch:U(e),expectedConfigFingerprint:j,verifyBranches:!0,requireDistinctBranches:!0});b(r=>({...r,repos:e})),w(r.configFingerprint),L({phase:"success",preview:null,error:null,successMessage:"Branches updated. Hidden repository fields were left unchanged."}),I(!1),W(Z.id)}catch(e){L({phase:"error",preview:$.preview,error:(0,h.S)(e instanceof Error?e.message:"Branch apply failed."),successMessage:null})}},[U,q,j,y.repos,T,O,Z,$.preview,W]),er=(0,n.useCallback)(async e=>{let r=[...y.repos,{id:e.resultingTargetRepoConfigId,targetRepo:e.repositoryUrl,baseBranch:"dev",productionBranch:"main"}];L({phase:"applying",preview:null,error:null,successMessage:null});try{let s=await (0,m.mD)({patch:U(r),expectedConfigFingerprint:j,verifyBranches:!0,requireDistinctBranches:!0});b(e=>({...e,repos:r})),w(s.configFingerprint),k(!1),L({phase:"success",preview:null,error:null,successMessage:"".concat(e.repositoryFullName," added to PDev.")}),W(e.resultingTargetRepoConfigId)}catch(e){L({phase:"error",preview:null,error:(0,h.S)(e instanceof Error?e.message:"Failed to save new repository."),successMessage:null})}},[U,j,y.repos,W]),es=(0,n.useCallback)(async e=>{let r=e.trim();if(!r)return void G("Enter a GitHub repository URL to connect.");let s="repo-".concat(Date.now()),t=[...y.repos,{id:s,targetRepo:r,baseBranch:"dev",productionBranch:"main"}];L({phase:"applying",preview:null,error:null,successMessage:null});try{let e=await fetch("/api/setup/verify-target-repo",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({targetRepo:r,baseBranch:"dev",productionBranch:"main",repoConfigId:s})}),i=await e.json();if(!e.ok||"failed"===i.status){var n,a;throw Error(null!=(a=null!=(n=i.error)?n:i.message)?a:"Repository verification failed.")}let l=await (0,m.mD)({patch:U(t),expectedConfigFingerprint:j,verifyBranches:!0,requireDistinctBranches:!0});b(e=>({...e,repos:t})),w(l.configFingerprint),k(!1),L({phase:"success",preview:null,error:null,successMessage:"".concat(g(r)," connected to PDev.")}),C(e=>({...e,[s]:{status:"connected",detail:i.message}}))}catch(e){L({phase:"error",preview:null,error:(0,h.S)(e instanceof Error?e.message:"Connect repository failed."),successMessage:null})}},[U,j,y.repos]),[et,en]=(0,n.useState)("");return(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"Add, connect, verify, edit branches, and detach repositories that PDev may modify."}),(0,t.jsx)(o.$,{type:"button",size:"sm",onClick:K,children:"Add repository"})]}),J?(0,t.jsx)("p",{className:"whitespace-pre-wrap text-sm text-destructive",children:J}):null,$.error&&!E?(0,t.jsx)("p",{className:"whitespace-pre-wrap text-sm text-destructive",children:$.error}):null,$.successMessage&&!E?(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:$.successMessage}):null,(0,t.jsx)("ul",{className:"space-y-3",children:y.repos.map(e=>{var r;let s=null!=(r=N[e.id])?r:{status:"unchecked"},n=H.get(e.id);return(0,t.jsxs)("li",{className:"space-y-3 rounded-md border border-border p-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("p",{className:"break-all font-medium",children:g(e.targetRepo)}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:(e.baseBranch||(null==n?void 0:n.baseBranch)||"dev")+" → "+(e.productionBranch||(null==n?void 0:n.productionBranch)||"main")}),"needs-attention"===s.status&&s.detail?(0,t.jsx)("p",{className:"text-sm text-destructive",children:s.detail}):null]}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:function(e){switch(e){case"connected":return"Connected";case"needs-attention":return"Needs attention";case"checking":return"Checking…";default:return"Not verified"}}(s.status)})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(o.$,{type:"button",size:"sm",variant:"outline",onClick:()=>void W(e.id),children:"Verify or repair"}),(0,t.jsx)(o.$,{type:"button",size:"sm",variant:"outline",onClick:()=>Q(e.id),children:"Edit branches"}),(0,t.jsx)(o.$,{type:"button",size:"sm",variant:"outline",onClick:()=>void X(e.id),children:"Remove from PDev"})]})]},e.id)})}),B?(0,t.jsxs)("div",{className:"space-y-4 rounded-md border border-border p-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)("h3",{className:"text-sm font-semibold",children:"Add repository"}),(0,t.jsx)(o.$,{type:"button",size:"sm",variant:"ghost",onClick:()=>k(!1),children:"Cancel"})]}),(0,t.jsx)(l.A,{mode:S,onModeChange:R,githubOwner:D,githubOwnerLoading:A,onRepoCreated:e=>void er(e),onInvalidatePreview:()=>{L((0,h.A)())},connectContent:(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(p.J,{htmlFor:"settings-connect-repo-url",children:"Existing repository URL"}),(0,t.jsx)(d.p,{id:"settings-connect-repo-url",value:et,onChange:e=>en(e.target.value),placeholder:"https://github.com/owner/repository",autoComplete:"off"})]}),(0,t.jsx)(o.$,{type:"button",onClick:()=>void es(et),children:"Verify and connect"})]})})]}):null,Z?(0,t.jsxs)("div",{className:"space-y-4 rounded-md border border-border p-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsxs)("h3",{className:"text-sm font-semibold",children:["Edit branches — ",g(Z.targetRepo)]}),(0,t.jsx)(o.$,{type:"button",size:"sm",variant:"ghost",onClick:()=>F(null),children:"Cancel"})]}),(0,t.jsxs)("div",{className:"grid gap-4 md:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(p.J,{htmlFor:"settings-dev-branch",children:"Development branch"}),(0,t.jsx)(d.p,{id:"settings-dev-branch",value:T,onChange:e=>{_(e.target.value),I(!1),L((0,h.A)())},autoComplete:"off"})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(p.J,{htmlFor:"settings-prod-branch",children:"Production branch"}),(0,t.jsx)(d.p,{id:"settings-prod-branch",value:O,onChange:e=>{z(e.target.value),I(!1),L((0,h.A)())},autoComplete:"off"})]})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"Both branches must already exist on GitHub. Changing branches does not alter Linear mappings, deployment settings, models, or validation commands."}),(0,t.jsxs)("div",{className:"flex items-start gap-3 rounded-md border border-border p-3",children:[(0,t.jsx)(c.S,{id:"confirm-branch-edit",checked:q,onChange:e=>I(e.target.checked)}),(0,t.jsx)(p.J,{htmlFor:"confirm-branch-edit",className:"text-sm leading-snug",children:"I understand PDev will update only the development and production branch settings for this repository in local harness config. Existing Linear mappings, deployment settings, models, and validation commands remain unchanged."})]}),(0,t.jsx)(u.T,{title:"Apply branch changes",phase:$.phase,error:$.error,successMessage:$.successMessage,previewSummary:null!=(a=null==(r=$.preview)?void 0:r.configPreview)?a:null,previewPolicy:"optional",confirmed:q,onConfirmedChange:I,onPreview:()=>void Y(),onApply:()=>void ee(),disablePreview:!T.trim()||!O.trim(),disableApply:!q||!T.trim()||!O.trim()})]}):null,(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Linear team and project mappings are managed in"," ",(0,t.jsx)(i(),{href:"/settings/linear",className:"underline",children:"Settings → Linear"}),". Deployment settings are managed in"," ",(0,t.jsx)(i(),{href:"/settings/deployments",className:"underline",children:"Settings → Deployments"}),"."]})]})}},2462:(e,r,s)=>{"use strict";s.d(r,{l:()=>l});var t=s(4568),n=s(7620),a=s(826),i=s(7401);let l=n.forwardRef((e,r)=>{let{className:s,children:n,...l}=e;return(0,t.jsx)("select",{className:(0,a.cn)(i.P.guidedSelect,s),ref:r,...l,children:n})});l.displayName="GuidedSelect"},2614:(e,r,s)=>{"use strict";s.d(r,{T:()=>i});var t=s(4568),n=s(6845),a=s(997);function i(e){let{title:r="Apply changes",explanation:s,previewSummary:i,phase:l,error:o,successMessage:c,confirmScope:d,confirmed:p,onConfirmedChange:u,onPreview:h,onApply:m,previewLabel:g="Preview changes",applyLabel:f="Apply changes",previewPolicy:v="required",disablePreview:x=!1,disableApply:y=!1}=e,b="previewing"===l||"applying"===l,j="optional"===v;return(0,t.jsxs)("div",{className:"space-y-4 rounded-md border border-border p-4",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("h3",{className:"text-sm font-semibold",children:r}),s?(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:s}):null]}),h?(0,t.jsxs)("div",{className:"space-y-2 border-b border-border pb-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[j?(0,t.jsx)("span",{className:"rounded-md border border-border px-2 py-0.5 text-xs text-muted-foreground",children:"Optional"}):null,(0,t.jsx)(n.$,{type:"button",variant:"outline",size:"sm",disabled:b||x,onClick:h,children:"previewing"===l?"Previewing…":g})]}),j?(0,t.jsx)("p",{className:"text-right text-xs text-muted-foreground",children:"Review the planned changes before applying."}):null]}):null,i?(0,t.jsx)("pre",{className:"max-h-48 overflow-auto rounded-md bg-muted/40 p-3 text-xs whitespace-pre-wrap",children:i}):null,o?(0,t.jsx)("p",{className:"text-sm text-destructive",children:o}):null,c?(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:c}):null,d?(0,t.jsx)(a.I,{scope:d,variant:"advanced",confirmed:p,disabled:b,onConfirmedChange:u}):null,m?(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(n.$,{type:"button",disabled:b||y||!!d&&!p||"required"===v&&!i,onClick:m,children:"applying"===l?"Applying…":f})}):null]})}},3530:(e,r,s)=>{Promise.resolve().then(s.bind(s,1980)),Promise.resolve().then(s.bind(s,1927))},7712:(e,r,s)=>{"use strict";function t(){return{phase:"idle",preview:null,error:null,successMessage:null}}function n(e){return e.replace(/sk-[A-Za-z0-9_-]+/g,"[redacted]").replace(/ghp_[A-Za-z0-9]+/g,"[redacted]").replace(/lin_api_[A-Za-z0-9]+/g,"[redacted]")}s.d(r,{A:()=>t,S:()=>n})}},e=>{e.O(0,[691,845,9289,3800,8002,9188,6240,587,18,7358],()=>e(e.s=3530)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[932],{826:(e,t,s)=>{"use strict";s.d(t,{cn:()=>a});var n=s(2902),r=s(3714);function a(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,r.QP)((0,n.$)(t))}},3081:(e,t,s)=>{"use strict";s.d(t,{NJ:()=>r,rs:()=>n});let n={page:"mx-auto w-full max-w-5xl",shell:"min-h-screen bg-background",header:"sticky top-0 z-50 border-b border-border bg-background",headerInner:"mx-auto flex w-full max-w-7xl items-center justify-between gap-4 px-4 py-3 sm:px-6",main:"mx-auto w-full max-w-7xl px-4 py-8 md:px-6 md:py-10",configureContent:"mx-auto w-full max-w-3xl",sectionStack:"flex flex-col gap-6",cardGrid:"grid grid-cols-1 gap-4 md:grid-cols-2"},r=n.main},4277:(e,t,s)=>{"use strict";s.d(t,{b0:()=>r});let n="1"===s(7011).env.P_DEV_CONFIGURE_TIMING;function r(e){n&&console.info("[configure-timing] client ".concat(e))}},6082:(e,t,s)=>{Promise.resolve().then(s.bind(s,6513))},6513:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>f});var n=s(4568),r=s(7620),a=s(9664),i=s.n(a),o=s(7366),d=s(3081);function l(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{"aria-hidden":"true",className:"flex size-8 shrink-0 items-center justify-center rounded-full border border-foreground bg-transparent text-sm font-semibold text-foreground",children:"P"}),(0,n.jsx)("span",{className:"truncate text-sm font-semibold tracking-tight sm:text-base",children:"PDev Harness"})]})}function c(e){let{settingsHref:t,isSettingsActive:s,workflowHref:r="/workflow",isWorkflowActive:a=!1,showProductNavigation:c=!0,enableHomeNavigation:u=!0}=e;return(0,n.jsx)("header",{className:d.rs.header,children:(0,n.jsxs)("div",{className:d.rs.headerInner,children:[u?(0,n.jsx)(i(),{href:r,className:"flex min-w-0 items-center gap-2.5 rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:(0,n.jsx)(l,{})}):(0,n.jsx)("div",{className:"flex min-w-0 items-center gap-2.5","aria-hidden":"false",children:(0,n.jsx)(l,{})}),(0,n.jsx)(o.SettingsMenu,{settingsHref:t,isSettingsActive:s,workflowHref:r,isWorkflowActive:a,showProductNavigation:c})]})})}function u(e){let{children:t,settingsHref:s,isSettingsActive:r,isWorkflowActive:a,showProductNavigation:i=!0,enableHomeNavigation:o=!0}=e;return(0,n.jsxs)("div",{className:d.rs.shell,children:[(0,n.jsx)(c,{settingsHref:s,isSettingsActive:r,isWorkflowActive:a,showProductNavigation:i,enableHomeNavigation:o}),(0,n.jsx)("main",{className:d.NJ,children:t})]})}var m=s(4277);function f(){return(0,r.useEffect)(()=>{(0,m.b0)("configure_shell_paint")},[]),(0,n.jsx)(u,{showProductNavigation:!1,enableHomeNavigation:!1,children:(0,n.jsxs)("div",{className:"mx-auto w-full max-w-3xl space-y-4 px-4 py-8",children:[(0,n.jsx)("div",{className:"h-8 w-56 animate-pulse rounded-md bg-muted"}),(0,n.jsx)("div",{className:"h-4 w-full animate-pulse rounded-md bg-muted/70"}),(0,n.jsx)("div",{className:"h-4 w-5/6 animate-pulse rounded-md bg-muted/70"}),(0,n.jsxs)("div",{className:"mt-6 space-y-3",children:[(0,n.jsx)("div",{className:"h-24 animate-pulse rounded-md border border-border bg-muted/30"}),(0,n.jsx)("div",{className:"h-24 animate-pulse rounded-md border border-border bg-muted/30"})]})]})})}},6845:(e,t,s)=>{"use strict";s.d(t,{$:()=>l});var n=s(4568),r=s(7620),a=s(6118),i=s(4616),o=s(826);let d=(0,i.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring cursor-pointer disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",ghost:"hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8"}},defaultVariants:{variant:"default",size:"default"}}),l=r.forwardRef((e,t)=>{let{className:s,variant:r,size:i,asChild:l=!1,...c}=e,u=l?a.DX:"button";return(0,n.jsx)(u,{className:(0,o.cn)(d({variant:r,size:i,className:s})),ref:t,...c})});l.displayName="Button"},7366:(e,t,s)=>{"use strict";s.d(t,{SettingsMenu:()=>w});var n=s(4568),r=s(9664),a=s.n(r),i=s(7541),o=s(7620),d=s(2116),l=s(2568),c=s(1115),u=s(6845),m=s(7693),f=s(826);function x(e){let{...t}=e;return(0,n.jsx)(m.bL,{"data-slot":"dropdown-menu",...t})}function g(e){let{...t}=e;return(0,n.jsx)(m.l9,{"data-slot":"dropdown-menu-trigger",...t})}function h(e){let{className:t,sideOffset:s=4,...r}=e;return(0,n.jsx)(m.ZL,{children:(0,n.jsx)(m.UC,{"data-slot":"dropdown-menu-content",sideOffset:s,className:(0,f.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t),...r})})}function v(e){let{className:t,inset:s,variant:r="default",...a}=e;return(0,n.jsx)(m.q7,{"data-slot":"dropdown-menu-item","data-inset":s,"data-variant":r,className:(0,f.cn)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[disabled]:cursor-not-allowed data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...a})}function p(e){let{className:t,...s}=e;return(0,n.jsx)(m.wv,{"data-slot":"dropdown-menu-separator",className:(0,f.cn)("bg-border -mx-1 my-1 h-px",t),...s})}var b=s(4560);function w(e){let{settingsHref:t="/settings",isSettingsActive:s=!1,workflowHref:r="/workflow",isWorkflowActive:m=!1,showProductNavigation:f=!0}=e,{mounted:w,isDark:j,toggleTheme:N}=function(){let{resolvedTheme:e,setTheme:t}=(0,b.D)(),[s,n]=(0,o.useState)(!1);(0,o.useEffect)(()=>{n(!0)},[]);let r="dark"===e;return{mounted:s,isDark:r,toggleTheme:function(){t(r?"light":"dark")},setTheme:t}}(),k=(0,i.useRouter)(),y=(0,o.useRef)(new Set),_=(0,o.useCallback)(e=>{y.current.has(e)||(y.current.add(e),k.prefetch(e))},[k]),z=(0,o.useCallback)(e=>{e&&f&&(_(t),_(r))},[_,t,f,r]);return(0,n.jsxs)(x,{onOpenChange:z,children:[(0,n.jsx)(g,{asChild:!0,children:(0,n.jsxs)(u.$,{variant:"outline",size:"sm",className:"cursor-pointer gap-1.5",children:["Settings",(0,n.jsx)(d.A,{className:"size-4"})]})}),(0,n.jsxs)(h,{align:"end",className:"w-48",children:[(0,n.jsxs)(v,{onSelect:e=>{e.preventDefault(),N()},children:[w&&j?(0,n.jsx)(l.A,{className:"size-4"}):(0,n.jsx)(c.A,{className:"size-4"}),(0,n.jsx)("span",{children:w&&j?"Light mode":"Dark mode"})]}),f?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p,{}),(0,n.jsx)(v,{asChild:!0,children:(0,n.jsx)(a(),{href:r,"aria-current":m?"page":void 0,onMouseEnter:()=>_(r),onFocus:()=>_(r),children:"Workflow"})}),(0,n.jsx)(v,{asChild:!0,children:(0,n.jsx)(a(),{href:t,"aria-current":s?"page":void 0,onMouseEnter:()=>_(t),onFocus:()=>_(t),children:"Settings"})})]}):null]})]})}}},e=>{e.O(0,[9289,3800,7420,587,18,7358],()=>e(e.s=6082)),_N_E=e.O()}]);
|