p-dev-harness 0.3.0 → 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.
Files changed (2294) hide show
  1. package/README.md +24 -5
  2. package/dist/agents/cursor-provider.d.ts.map +1 -1
  3. package/dist/agents/cursor-provider.js +9 -8
  4. package/dist/agents/cursor-provider.js.map +1 -1
  5. package/dist/agents/index.d.ts +3 -4
  6. package/dist/agents/index.d.ts.map +1 -1
  7. package/dist/agents/index.js +2 -5
  8. package/dist/agents/index.js.map +1 -1
  9. package/dist/agents/types.d.ts +36 -2
  10. package/dist/agents/types.d.ts.map +1 -1
  11. package/dist/artifacts/redact.d.ts +2 -0
  12. package/dist/artifacts/redact.d.ts.map +1 -1
  13. package/dist/artifacts/redact.js +15 -1
  14. package/dist/artifacts/redact.js.map +1 -1
  15. package/dist/artifacts/write-json-out-manifest.d.ts +17 -0
  16. package/dist/artifacts/write-json-out-manifest.d.ts.map +1 -0
  17. package/dist/artifacts/write-json-out-manifest.js +68 -0
  18. package/dist/artifacts/write-json-out-manifest.js.map +1 -0
  19. package/dist/cli/commands/canary-runner-config.d.ts +2 -0
  20. package/dist/cli/commands/canary-runner-config.d.ts.map +1 -0
  21. package/dist/cli/commands/canary-runner-config.js +6 -0
  22. package/dist/cli/commands/canary-runner-config.js.map +1 -0
  23. package/dist/cli/commands/doctor.d.ts.map +1 -1
  24. package/dist/cli/commands/doctor.js +129 -0
  25. package/dist/cli/commands/doctor.js.map +1 -1
  26. package/dist/cli/commands/resolve-route.d.ts.map +1 -1
  27. package/dist/cli/commands/resolve-route.js +5 -0
  28. package/dist/cli/commands/resolve-route.js.map +1 -1
  29. package/dist/cli/commands/run.d.ts +1 -0
  30. package/dist/cli/commands/run.d.ts.map +1 -1
  31. package/dist/cli/commands/run.js +54 -12
  32. package/dist/cli/commands/run.js.map +1 -1
  33. package/dist/cli/commands/sync-managed-runner.d.ts +7 -0
  34. package/dist/cli/commands/sync-managed-runner.d.ts.map +1 -0
  35. package/dist/cli/commands/sync-managed-runner.js +89 -0
  36. package/dist/cli/commands/sync-managed-runner.js.map +1 -0
  37. package/dist/cli/program.d.ts.map +1 -1
  38. package/dist/cli/program.js +27 -0
  39. package/dist/cli/program.js.map +1 -1
  40. package/dist/config/assert-cloud-config-fingerprint.d.ts +10 -0
  41. package/dist/config/assert-cloud-config-fingerprint.d.ts.map +1 -0
  42. package/dist/config/assert-cloud-config-fingerprint.js +26 -0
  43. package/dist/config/assert-cloud-config-fingerprint.js.map +1 -0
  44. package/dist/config/cloud-config-fingerprint.d.ts +26 -0
  45. package/dist/config/cloud-config-fingerprint.d.ts.map +1 -0
  46. package/dist/config/cloud-config-fingerprint.js +64 -0
  47. package/dist/config/cloud-config-fingerprint.js.map +1 -0
  48. package/dist/config/legacy-linear-top-level.d.ts +16 -0
  49. package/dist/config/legacy-linear-top-level.d.ts.map +1 -0
  50. package/dist/config/legacy-linear-top-level.js +42 -0
  51. package/dist/config/legacy-linear-top-level.js.map +1 -0
  52. package/dist/config/linear-association-gate.d.ts +26 -0
  53. package/dist/config/linear-association-gate.d.ts.map +1 -0
  54. package/dist/config/linear-association-gate.js +46 -0
  55. package/dist/config/linear-association-gate.js.map +1 -0
  56. package/dist/config/resolve-linear-team.d.ts +10 -0
  57. package/dist/config/resolve-linear-team.d.ts.map +1 -0
  58. package/dist/config/resolve-linear-team.js +24 -0
  59. package/dist/config/resolve-linear-team.js.map +1 -0
  60. package/dist/config/resolve-linear-workspace.d.ts +83 -0
  61. package/dist/config/resolve-linear-workspace.d.ts.map +1 -0
  62. package/dist/config/resolve-linear-workspace.js +244 -0
  63. package/dist/config/resolve-linear-workspace.js.map +1 -0
  64. package/dist/config/role-models.d.ts +160 -0
  65. package/dist/config/role-models.d.ts.map +1 -0
  66. package/dist/config/role-models.js +31 -0
  67. package/dist/config/role-models.js.map +1 -0
  68. package/dist/config/runner-upgrade-sync-gate.d.ts +10 -0
  69. package/dist/config/runner-upgrade-sync-gate.d.ts.map +1 -0
  70. package/dist/config/runner-upgrade-sync-gate.js +24 -0
  71. package/dist/config/runner-upgrade-sync-gate.js.map +1 -0
  72. package/dist/config/schema.d.ts +266 -0
  73. package/dist/config/schema.d.ts.map +1 -1
  74. package/dist/config/schema.js +14 -0
  75. package/dist/config/schema.js.map +1 -1
  76. package/dist/config/types.d.ts +1 -1
  77. package/dist/config/types.d.ts.map +1 -1
  78. package/dist/config/workspace-root.d.ts +7 -0
  79. package/dist/config/workspace-root.d.ts.map +1 -0
  80. package/dist/config/workspace-root.js +21 -0
  81. package/dist/config/workspace-root.js.map +1 -0
  82. package/dist/cursor/agent-factory.d.ts +8 -0
  83. package/dist/cursor/agent-factory.d.ts.map +1 -1
  84. package/dist/cursor/agent-factory.js +34 -5
  85. package/dist/cursor/agent-factory.js.map +1 -1
  86. package/dist/cursor/builder-resume-errors.d.ts +3 -0
  87. package/dist/cursor/builder-resume-errors.d.ts.map +1 -0
  88. package/dist/cursor/builder-resume-errors.js +32 -0
  89. package/dist/cursor/builder-resume-errors.js.map +1 -0
  90. package/dist/cursor/model.d.ts +18 -22
  91. package/dist/cursor/model.d.ts.map +1 -1
  92. package/dist/cursor/model.js +73 -25
  93. package/dist/cursor/model.js.map +1 -1
  94. package/dist/cursor/run-observer.d.ts +8 -1
  95. package/dist/cursor/run-observer.d.ts.map +1 -1
  96. package/dist/cursor/run-observer.js +9 -1
  97. package/dist/cursor/run-observer.js.map +1 -1
  98. package/dist/github/auth-verification-retry.d.ts +12 -0
  99. package/dist/github/auth-verification-retry.d.ts.map +1 -0
  100. package/dist/github/auth-verification-retry.js +47 -0
  101. package/dist/github/auth-verification-retry.js.map +1 -0
  102. package/dist/github/client.d.ts +140 -4
  103. package/dist/github/client.d.ts.map +1 -1
  104. package/dist/github/client.js +205 -13
  105. package/dist/github/client.js.map +1 -1
  106. package/dist/github/rate-limit-metadata.d.ts +16 -0
  107. package/dist/github/rate-limit-metadata.d.ts.map +1 -0
  108. package/dist/github/rate-limit-metadata.js +73 -0
  109. package/dist/github/rate-limit-metadata.js.map +1 -0
  110. package/dist/gui/configure-health.js +2 -2
  111. package/dist/gui/configure-health.js.map +1 -1
  112. package/dist/gui/repo-root.d.ts +3 -0
  113. package/dist/gui/repo-root.d.ts.map +1 -1
  114. package/dist/gui/repo-root.js +16 -1
  115. package/dist/gui/repo-root.js.map +1 -1
  116. package/dist/gui/start-configure-stable.js +6 -2
  117. package/dist/gui/start-configure-stable.js.map +1 -1
  118. package/dist/gui/start-gui.js +7 -3
  119. package/dist/gui/start-gui.js.map +1 -1
  120. package/dist/linear/client.d.ts +4 -0
  121. package/dist/linear/client.d.ts.map +1 -1
  122. package/dist/linear/client.js +7 -0
  123. package/dist/linear/client.js.map +1 -1
  124. package/dist/linear/comments.d.ts +9 -0
  125. package/dist/linear/comments.d.ts.map +1 -1
  126. package/dist/linear/comments.js +34 -0
  127. package/dist/linear/comments.js.map +1 -1
  128. package/dist/linear/issue-query.d.ts +1 -0
  129. package/dist/linear/issue-query.d.ts.map +1 -1
  130. package/dist/linear/issue-query.js +3 -0
  131. package/dist/linear/issue-query.js.map +1 -1
  132. package/dist/linear/markers.d.ts +7 -0
  133. package/dist/linear/markers.d.ts.map +1 -1
  134. package/dist/linear/markers.js +21 -0
  135. package/dist/linear/markers.js.map +1 -1
  136. package/dist/linear/parser.d.ts +2 -1
  137. package/dist/linear/parser.d.ts.map +1 -1
  138. package/dist/linear/parser.js +46 -0
  139. package/dist/linear/parser.js.map +1 -1
  140. package/dist/linear/project-harness-metadata.d.ts +10 -0
  141. package/dist/linear/project-harness-metadata.d.ts.map +1 -0
  142. package/dist/linear/project-harness-metadata.js +109 -0
  143. package/dist/linear/project-harness-metadata.js.map +1 -0
  144. package/dist/linear/project-metadata-sync.d.ts +29 -0
  145. package/dist/linear/project-metadata-sync.d.ts.map +1 -0
  146. package/dist/linear/project-metadata-sync.js +64 -0
  147. package/dist/linear/project-metadata-sync.js.map +1 -0
  148. package/dist/linear/run-status-comment.d.ts +49 -0
  149. package/dist/linear/run-status-comment.d.ts.map +1 -0
  150. package/dist/linear/run-status-comment.js +118 -0
  151. package/dist/linear/run-status-comment.js.map +1 -0
  152. package/dist/linear/writer.d.ts +8 -0
  153. package/dist/linear/writer.d.ts.map +1 -1
  154. package/dist/linear/writer.js +13 -0
  155. package/dist/linear/writer.js.map +1 -1
  156. package/dist/observability/adapters/fake.d.ts +17 -0
  157. package/dist/observability/adapters/fake.d.ts.map +1 -0
  158. package/dist/observability/adapters/fake.js +205 -0
  159. package/dist/observability/adapters/fake.js.map +1 -0
  160. package/dist/observability/adapters/noop.d.ts +5 -0
  161. package/dist/observability/adapters/noop.d.ts.map +1 -0
  162. package/dist/observability/adapters/noop.js +51 -0
  163. package/dist/observability/adapters/noop.js.map +1 -0
  164. package/dist/observability/adapters/posthog.d.ts +12 -0
  165. package/dist/observability/adapters/posthog.d.ts.map +1 -0
  166. package/dist/observability/adapters/posthog.js +142 -0
  167. package/dist/observability/adapters/posthog.js.map +1 -0
  168. package/dist/observability/adapters/sentry.d.ts +12 -0
  169. package/dist/observability/adapters/sentry.d.ts.map +1 -0
  170. package/dist/observability/adapters/sentry.js +217 -0
  171. package/dist/observability/adapters/sentry.js.map +1 -0
  172. package/dist/observability/analytics-schemas.d.ts +59 -0
  173. package/dist/observability/analytics-schemas.d.ts.map +1 -0
  174. package/dist/observability/analytics-schemas.js +119 -0
  175. package/dist/observability/analytics-schemas.js.map +1 -0
  176. package/dist/observability/consent.d.ts +14 -0
  177. package/dist/observability/consent.d.ts.map +1 -0
  178. package/dist/observability/consent.js +35 -0
  179. package/dist/observability/consent.js.map +1 -0
  180. package/dist/observability/constants.d.ts +18 -0
  181. package/dist/observability/constants.d.ts.map +1 -0
  182. package/dist/observability/constants.js +18 -0
  183. package/dist/observability/constants.js.map +1 -0
  184. package/dist/observability/context.d.ts +21 -0
  185. package/dist/observability/context.d.ts.map +1 -0
  186. package/dist/observability/context.js +105 -0
  187. package/dist/observability/context.js.map +1 -0
  188. package/dist/observability/facade-runtime-state.d.ts +17 -0
  189. package/dist/observability/facade-runtime-state.d.ts.map +1 -0
  190. package/dist/observability/facade-runtime-state.js +23 -0
  191. package/dist/observability/facade-runtime-state.js.map +1 -0
  192. package/dist/observability/facade.d.ts +44 -0
  193. package/dist/observability/facade.d.ts.map +1 -0
  194. package/dist/observability/facade.js +432 -0
  195. package/dist/observability/facade.js.map +1 -0
  196. package/dist/observability/fatal-handlers.d.ts +4 -0
  197. package/dist/observability/fatal-handlers.d.ts.map +1 -0
  198. package/dist/observability/fatal-handlers.js +54 -0
  199. package/dist/observability/fatal-handlers.js.map +1 -0
  200. package/dist/observability/identity.d.ts +4 -0
  201. package/dist/observability/identity.d.ts.map +1 -0
  202. package/dist/observability/identity.js +11 -0
  203. package/dist/observability/identity.js.map +1 -0
  204. package/dist/observability/index.d.ts +9 -0
  205. package/dist/observability/index.d.ts.map +1 -0
  206. package/dist/observability/index.js +6 -0
  207. package/dist/observability/index.js.map +1 -0
  208. package/dist/observability/local-state.d.ts +14 -0
  209. package/dist/observability/local-state.d.ts.map +1 -0
  210. package/dist/observability/local-state.js +107 -0
  211. package/dist/observability/local-state.js.map +1 -0
  212. package/dist/observability/package-config.d.ts +11 -0
  213. package/dist/observability/package-config.d.ts.map +1 -0
  214. package/dist/observability/package-config.js +117 -0
  215. package/dist/observability/package-config.js.map +1 -0
  216. package/dist/observability/posthog-dashboard-contract.d.ts +46 -0
  217. package/dist/observability/posthog-dashboard-contract.d.ts.map +1 -0
  218. package/dist/observability/posthog-dashboard-contract.js +200 -0
  219. package/dist/observability/posthog-dashboard-contract.js.map +1 -0
  220. package/dist/observability/privacy-schema.d.ts +13 -0
  221. package/dist/observability/privacy-schema.d.ts.map +1 -0
  222. package/dist/observability/privacy-schema.js +204 -0
  223. package/dist/observability/privacy-schema.js.map +1 -0
  224. package/dist/observability/product-error-messages.d.ts +2 -0
  225. package/dist/observability/product-error-messages.d.ts.map +1 -0
  226. package/dist/observability/product-error-messages.js +15 -0
  227. package/dist/observability/product-error-messages.js.map +1 -0
  228. package/dist/observability/product-errors.d.ts +12 -0
  229. package/dist/observability/product-errors.d.ts.map +1 -0
  230. package/dist/observability/product-errors.js +109 -0
  231. package/dist/observability/product-errors.js.map +1 -0
  232. package/dist/observability/provisioning-analytics.d.ts +12 -0
  233. package/dist/observability/provisioning-analytics.d.ts.map +1 -0
  234. package/dist/observability/provisioning-analytics.js +11 -0
  235. package/dist/observability/provisioning-analytics.js.map +1 -0
  236. package/dist/observability/redaction.d.ts +10 -0
  237. package/dist/observability/redaction.d.ts.map +1 -0
  238. package/dist/observability/redaction.js +72 -0
  239. package/dist/observability/redaction.js.map +1 -0
  240. package/dist/observability/runtime-eligibility.d.ts +6 -0
  241. package/dist/observability/runtime-eligibility.d.ts.map +1 -0
  242. package/dist/observability/runtime-eligibility.js +33 -0
  243. package/dist/observability/runtime-eligibility.js.map +1 -0
  244. package/dist/observability/sentry-outbound-privacy.d.ts +12 -0
  245. package/dist/observability/sentry-outbound-privacy.d.ts.map +1 -0
  246. package/dist/observability/sentry-outbound-privacy.js +168 -0
  247. package/dist/observability/sentry-outbound-privacy.js.map +1 -0
  248. package/dist/observability/session-dedupe.d.ts +8 -0
  249. package/dist/observability/session-dedupe.d.ts.map +1 -0
  250. package/dist/observability/session-dedupe.js +42 -0
  251. package/dist/observability/session-dedupe.js.map +1 -0
  252. package/dist/observability/session-handoff.d.ts +10 -0
  253. package/dist/observability/session-handoff.d.ts.map +1 -0
  254. package/dist/observability/session-handoff.js +25 -0
  255. package/dist/observability/session-handoff.js.map +1 -0
  256. package/dist/observability/transport-lifecycle.d.ts +20 -0
  257. package/dist/observability/transport-lifecycle.d.ts.map +1 -0
  258. package/dist/observability/transport-lifecycle.js +69 -0
  259. package/dist/observability/transport-lifecycle.js.map +1 -0
  260. package/dist/observability/types.d.ts +189 -0
  261. package/dist/observability/types.d.ts.map +1 -0
  262. package/dist/observability/types.js +2 -0
  263. package/dist/observability/types.js.map +1 -0
  264. package/dist/p-dev/cli.d.ts +1 -1
  265. package/dist/p-dev/cli.d.ts.map +1 -1
  266. package/dist/p-dev/cli.js +1 -1
  267. package/dist/p-dev/cli.js.map +1 -1
  268. package/dist/p-dev/git-object-plumbing.d.ts +39 -0
  269. package/dist/p-dev/git-object-plumbing.d.ts.map +1 -0
  270. package/dist/p-dev/git-object-plumbing.js +289 -0
  271. package/dist/p-dev/git-object-plumbing.js.map +1 -0
  272. package/dist/p-dev/launch.d.ts.map +1 -1
  273. package/dist/p-dev/launch.js +77 -15
  274. package/dist/p-dev/launch.js.map +1 -1
  275. package/dist/p-dev/main.js +9 -1
  276. package/dist/p-dev/main.js.map +1 -1
  277. package/dist/p-dev/package-paths.d.ts +13 -0
  278. package/dist/p-dev/package-paths.d.ts.map +1 -1
  279. package/dist/p-dev/package-paths.js +51 -2
  280. package/dist/p-dev/package-paths.js.map +1 -1
  281. package/dist/p-dev/workspace-snapshot-digest.d.ts +12 -0
  282. package/dist/p-dev/workspace-snapshot-digest.d.ts.map +1 -0
  283. package/dist/p-dev/workspace-snapshot-digest.js +34 -0
  284. package/dist/p-dev/workspace-snapshot-digest.js.map +1 -0
  285. package/dist/p-dev/workspace-snapshot-generator.d.ts +15 -0
  286. package/dist/p-dev/workspace-snapshot-generator.d.ts.map +1 -0
  287. package/dist/p-dev/workspace-snapshot-generator.js +87 -0
  288. package/dist/p-dev/workspace-snapshot-generator.js.map +1 -0
  289. package/dist/p-dev/workspace-snapshot-git.d.ts +26 -0
  290. package/dist/p-dev/workspace-snapshot-git.d.ts.map +1 -0
  291. package/dist/p-dev/workspace-snapshot-git.js +151 -0
  292. package/dist/p-dev/workspace-snapshot-git.js.map +1 -0
  293. package/dist/p-dev/workspace-snapshot-manifest.d.ts +18 -0
  294. package/dist/p-dev/workspace-snapshot-manifest.d.ts.map +1 -0
  295. package/dist/p-dev/workspace-snapshot-manifest.js +340 -0
  296. package/dist/p-dev/workspace-snapshot-manifest.js.map +1 -0
  297. package/dist/p-dev/workspace-snapshot-policy.d.ts +16 -0
  298. package/dist/p-dev/workspace-snapshot-policy.d.ts.map +1 -0
  299. package/dist/p-dev/workspace-snapshot-policy.js +168 -0
  300. package/dist/p-dev/workspace-snapshot-policy.js.map +1 -0
  301. package/dist/p-dev/workspace-snapshot-types.d.ts +62 -0
  302. package/dist/p-dev/workspace-snapshot-types.d.ts.map +1 -0
  303. package/dist/p-dev/workspace-snapshot-types.js +7 -0
  304. package/dist/p-dev/workspace-snapshot-types.js.map +1 -0
  305. package/dist/p-dev/workspace-snapshot-validation.d.ts +17 -0
  306. package/dist/p-dev/workspace-snapshot-validation.d.ts.map +1 -0
  307. package/dist/p-dev/workspace-snapshot-validation.js +115 -0
  308. package/dist/p-dev/workspace-snapshot-validation.js.map +1 -0
  309. package/dist/preview/preview-capability.d.ts +9 -0
  310. package/dist/preview/preview-capability.d.ts.map +1 -0
  311. package/dist/preview/preview-capability.js +15 -0
  312. package/dist/preview/preview-capability.js.map +1 -0
  313. package/dist/product/initialization-state.d.ts +15 -0
  314. package/dist/product/initialization-state.d.ts.map +1 -0
  315. package/dist/product/initialization-state.js +37 -0
  316. package/dist/product/initialization-state.js.map +1 -0
  317. package/dist/product/product-marker.d.ts +77 -0
  318. package/dist/product/product-marker.d.ts.map +1 -0
  319. package/dist/product/product-marker.js +62 -0
  320. package/dist/product/product-marker.js.map +1 -0
  321. package/dist/product/read-product-marker.d.ts +15 -0
  322. package/dist/product/read-product-marker.d.ts.map +1 -0
  323. package/dist/product/read-product-marker.js +28 -0
  324. package/dist/product/read-product-marker.js.map +1 -0
  325. package/dist/prompts/builder.d.ts +10 -1
  326. package/dist/prompts/builder.d.ts.map +1 -1
  327. package/dist/prompts/builder.js +16 -2
  328. package/dist/prompts/builder.js.map +1 -1
  329. package/dist/resolver/errors.d.ts +1 -1
  330. package/dist/resolver/errors.d.ts.map +1 -1
  331. package/dist/resolver/errors.js.map +1 -1
  332. package/dist/resolver/target-repo.d.ts +4 -1
  333. package/dist/resolver/target-repo.d.ts.map +1 -1
  334. package/dist/resolver/target-repo.js +40 -0
  335. package/dist/resolver/target-repo.js.map +1 -1
  336. package/dist/runner/builder-thread-acquire.d.ts +41 -0
  337. package/dist/runner/builder-thread-acquire.d.ts.map +1 -0
  338. package/dist/runner/builder-thread-acquire.js +224 -0
  339. package/dist/runner/builder-thread-acquire.js.map +1 -0
  340. package/dist/runner/builder-thread-evidence.d.ts +13 -0
  341. package/dist/runner/builder-thread-evidence.d.ts.map +1 -0
  342. package/dist/runner/builder-thread-evidence.js +23 -0
  343. package/dist/runner/builder-thread-evidence.js.map +1 -0
  344. package/dist/runner/builder-thread-idempotency.d.ts +17 -0
  345. package/dist/runner/builder-thread-idempotency.d.ts.map +1 -0
  346. package/dist/runner/builder-thread-idempotency.js +12 -0
  347. package/dist/runner/builder-thread-idempotency.js.map +1 -0
  348. package/dist/runner/builder-thread-lineage-errors.d.ts +7 -0
  349. package/dist/runner/builder-thread-lineage-errors.d.ts.map +1 -0
  350. package/dist/runner/builder-thread-lineage-errors.js +11 -0
  351. package/dist/runner/builder-thread-lineage-errors.js.map +1 -0
  352. package/dist/runner/builder-thread-lineage.d.ts +18 -0
  353. package/dist/runner/builder-thread-lineage.d.ts.map +1 -0
  354. package/dist/runner/builder-thread-lineage.js +342 -0
  355. package/dist/runner/builder-thread-lineage.js.map +1 -0
  356. package/dist/runner/builder-thread-types.d.ts +30 -0
  357. package/dist/runner/builder-thread-types.d.ts.map +1 -0
  358. package/dist/runner/builder-thread-types.js +2 -0
  359. package/dist/runner/builder-thread-types.js.map +1 -0
  360. package/dist/runner/delivery-dedup.d.ts +26 -0
  361. package/dist/runner/delivery-dedup.d.ts.map +1 -0
  362. package/dist/runner/delivery-dedup.js +44 -0
  363. package/dist/runner/delivery-dedup.js.map +1 -0
  364. package/dist/runner/failure-finalization.d.ts +34 -0
  365. package/dist/runner/failure-finalization.d.ts.map +1 -0
  366. package/dist/runner/failure-finalization.js +154 -0
  367. package/dist/runner/failure-finalization.js.map +1 -0
  368. package/dist/runner/fixture.d.ts +1 -1
  369. package/dist/runner/fixture.d.ts.map +1 -1
  370. package/dist/runner/fixture.js +3 -0
  371. package/dist/runner/fixture.js.map +1 -1
  372. package/dist/runner/phases/handoff.d.ts.map +1 -1
  373. package/dist/runner/phases/handoff.js +59 -32
  374. package/dist/runner/phases/handoff.js.map +1 -1
  375. package/dist/runner/phases/implementation.d.ts.map +1 -1
  376. package/dist/runner/phases/implementation.js +147 -24
  377. package/dist/runner/phases/implementation.js.map +1 -1
  378. package/dist/runner/phases/integration-repair.d.ts +18 -0
  379. package/dist/runner/phases/integration-repair.d.ts.map +1 -1
  380. package/dist/runner/phases/integration-repair.js +93 -7
  381. package/dist/runner/phases/integration-repair.js.map +1 -1
  382. package/dist/runner/phases/merge.d.ts.map +1 -1
  383. package/dist/runner/phases/merge.js +129 -51
  384. package/dist/runner/phases/merge.js.map +1 -1
  385. package/dist/runner/phases/planning.d.ts.map +1 -1
  386. package/dist/runner/phases/planning.js +46 -8
  387. package/dist/runner/phases/planning.js.map +1 -1
  388. package/dist/runner/phases/production-sync.d.ts.map +1 -1
  389. package/dist/runner/phases/production-sync.js +28 -4
  390. package/dist/runner/phases/production-sync.js.map +1 -1
  391. package/dist/runner/phases/revision.d.ts.map +1 -1
  392. package/dist/runner/phases/revision.js +112 -32
  393. package/dist/runner/phases/revision.js.map +1 -1
  394. package/dist/runner/preflight.d.ts +2 -0
  395. package/dist/runner/preflight.d.ts.map +1 -1
  396. package/dist/runner/preflight.js +112 -3
  397. package/dist/runner/preflight.js.map +1 -1
  398. package/dist/runner/resolve-route.d.ts +1 -0
  399. package/dist/runner/resolve-route.d.ts.map +1 -1
  400. package/dist/runner/resolve-route.js +26 -0
  401. package/dist/runner/resolve-route.js.map +1 -1
  402. package/dist/runner/run-generation.d.ts +2 -0
  403. package/dist/runner/run-generation.d.ts.map +1 -0
  404. package/dist/runner/run-generation.js +19 -0
  405. package/dist/runner/run-generation.js.map +1 -0
  406. package/dist/runner/uninitialized-product-routing.d.ts +24 -0
  407. package/dist/runner/uninitialized-product-routing.d.ts.map +1 -0
  408. package/dist/runner/uninitialized-product-routing.js +70 -0
  409. package/dist/runner/uninitialized-product-routing.js.map +1 -0
  410. package/dist/setup/config-builder.d.ts.map +1 -1
  411. package/dist/setup/config-builder.js +12 -0
  412. package/dist/setup/config-builder.js.map +1 -1
  413. package/dist/setup/control-plane-readiness.d.ts +8 -1
  414. package/dist/setup/control-plane-readiness.d.ts.map +1 -1
  415. package/dist/setup/control-plane-readiness.js +63 -19
  416. package/dist/setup/control-plane-readiness.js.map +1 -1
  417. package/dist/setup/control-plane-setup-state.d.ts +13 -3
  418. package/dist/setup/control-plane-setup-state.d.ts.map +1 -1
  419. package/dist/setup/control-plane-setup-state.js +30 -3
  420. package/dist/setup/control-plane-setup-state.js.map +1 -1
  421. package/dist/setup/control-plane-state-lock.d.ts +12 -0
  422. package/dist/setup/control-plane-state-lock.d.ts.map +1 -0
  423. package/dist/setup/control-plane-state-lock.js +79 -0
  424. package/dist/setup/control-plane-state-lock.js.map +1 -0
  425. package/dist/setup/control-plane-types.d.ts +72 -1
  426. package/dist/setup/control-plane-types.d.ts.map +1 -1
  427. package/dist/setup/first-run-readiness.d.ts +4 -0
  428. package/dist/setup/first-run-readiness.d.ts.map +1 -1
  429. package/dist/setup/first-run-readiness.js +2 -2
  430. package/dist/setup/first-run-readiness.js.map +1 -1
  431. package/dist/setup/git-askpass-credentials.d.ts +19 -0
  432. package/dist/setup/git-askpass-credentials.d.ts.map +1 -0
  433. package/dist/setup/git-askpass-credentials.js +60 -0
  434. package/dist/setup/git-askpass-credentials.js.map +1 -0
  435. package/dist/setup/github-dispatch-token.d.ts +4 -0
  436. package/dist/setup/github-dispatch-token.d.ts.map +1 -1
  437. package/dist/setup/github-dispatch-token.js +23 -3
  438. package/dist/setup/github-dispatch-token.js.map +1 -1
  439. package/dist/setup/github-remote-provider.d.ts +173 -0
  440. package/dist/setup/github-remote-provider.d.ts.map +1 -1
  441. package/dist/setup/github-remote-provider.js +234 -3
  442. package/dist/setup/github-remote-provider.js.map +1 -1
  443. package/dist/setup/github-remote-setup-live.d.ts +75 -1
  444. package/dist/setup/github-remote-setup-live.d.ts.map +1 -1
  445. package/dist/setup/github-remote-setup-live.js +189 -15
  446. package/dist/setup/github-remote-setup-live.js.map +1 -1
  447. package/dist/setup/github-repository-name.d.ts +15 -0
  448. package/dist/setup/github-repository-name.d.ts.map +1 -0
  449. package/dist/setup/github-repository-name.js +54 -0
  450. package/dist/setup/github-repository-name.js.map +1 -0
  451. package/dist/setup/github-secret-encryption.d.ts.map +1 -1
  452. package/dist/setup/github-secret-encryption.js +3 -1
  453. package/dist/setup/github-secret-encryption.js.map +1 -1
  454. package/dist/setup/github-target-repository-provider-live.d.ts +35 -0
  455. package/dist/setup/github-target-repository-provider-live.d.ts.map +1 -0
  456. package/dist/setup/github-target-repository-provider-live.js +236 -0
  457. package/dist/setup/github-target-repository-provider-live.js.map +1 -0
  458. package/dist/setup/github-target-repository-provider-mock.d.ts +47 -0
  459. package/dist/setup/github-target-repository-provider-mock.d.ts.map +1 -0
  460. package/dist/setup/github-target-repository-provider-mock.js +189 -0
  461. package/dist/setup/github-target-repository-provider-mock.js.map +1 -0
  462. package/dist/setup/github-target-repository-provider.d.ts +44 -0
  463. package/dist/setup/github-target-repository-provider.d.ts.map +1 -0
  464. package/dist/setup/github-target-repository-provider.js +7 -0
  465. package/dist/setup/github-target-repository-provider.js.map +1 -0
  466. package/dist/setup/github-upload-rate-limit-gate.d.ts +17 -0
  467. package/dist/setup/github-upload-rate-limit-gate.d.ts.map +1 -0
  468. package/dist/setup/github-upload-rate-limit-gate.js +42 -0
  469. package/dist/setup/github-upload-rate-limit-gate.js.map +1 -0
  470. package/dist/setup/github-workflow-permissions.d.ts +1 -1
  471. package/dist/setup/github-workflow-permissions.d.ts.map +1 -1
  472. package/dist/setup/github-workflow-permissions.js +1 -1
  473. package/dist/setup/github-workflow-permissions.js.map +1 -1
  474. package/dist/setup/gui-view-model.d.ts +5 -0
  475. package/dist/setup/gui-view-model.d.ts.map +1 -1
  476. package/dist/setup/gui-view-model.js +5 -0
  477. package/dist/setup/gui-view-model.js.map +1 -1
  478. package/dist/setup/harness-dispatch-repo.d.ts +16 -2
  479. package/dist/setup/harness-dispatch-repo.d.ts.map +1 -1
  480. package/dist/setup/harness-dispatch-repo.js +113 -22
  481. package/dist/setup/harness-dispatch-repo.js.map +1 -1
  482. package/dist/setup/harness-managed-repo-marker.d.ts +29 -1
  483. package/dist/setup/harness-managed-repo-marker.d.ts.map +1 -1
  484. package/dist/setup/harness-managed-repo-marker.js +183 -2
  485. package/dist/setup/harness-managed-repo-marker.js.map +1 -1
  486. package/dist/setup/harness-provisioning-context.d.ts +14 -12
  487. package/dist/setup/harness-provisioning-context.d.ts.map +1 -1
  488. package/dist/setup/harness-provisioning-context.js +54 -42
  489. package/dist/setup/harness-provisioning-context.js.map +1 -1
  490. package/dist/setup/harness-provisioning-last-run.d.ts +27 -0
  491. package/dist/setup/harness-provisioning-last-run.d.ts.map +1 -0
  492. package/dist/setup/harness-provisioning-last-run.js +94 -0
  493. package/dist/setup/harness-provisioning-last-run.js.map +1 -0
  494. package/dist/setup/harness-provisioning-pending-state.d.ts +33 -22
  495. package/dist/setup/harness-provisioning-pending-state.d.ts.map +1 -1
  496. package/dist/setup/harness-provisioning-pending-state.js +49 -30
  497. package/dist/setup/harness-provisioning-pending-state.js.map +1 -1
  498. package/dist/setup/harness-provisioning-progress.d.ts +58 -0
  499. package/dist/setup/harness-provisioning-progress.d.ts.map +1 -0
  500. package/dist/setup/harness-provisioning-progress.js +134 -0
  501. package/dist/setup/harness-provisioning-progress.js.map +1 -0
  502. package/dist/setup/harness-repo-provisioning.d.ts +21 -5
  503. package/dist/setup/harness-repo-provisioning.d.ts.map +1 -1
  504. package/dist/setup/harness-repo-provisioning.js +494 -334
  505. package/dist/setup/harness-repo-provisioning.js.map +1 -1
  506. package/dist/setup/harness-snapshot-git-transport.d.ts +92 -0
  507. package/dist/setup/harness-snapshot-git-transport.d.ts.map +1 -0
  508. package/dist/setup/harness-snapshot-git-transport.js +544 -0
  509. package/dist/setup/harness-snapshot-git-transport.js.map +1 -0
  510. package/dist/setup/harness-snapshot-provisioning-helpers.d.ts +21 -0
  511. package/dist/setup/harness-snapshot-provisioning-helpers.d.ts.map +1 -0
  512. package/dist/setup/harness-snapshot-provisioning-helpers.js +55 -0
  513. package/dist/setup/harness-snapshot-provisioning-helpers.js.map +1 -0
  514. package/dist/setup/harness-snapshot-provisioning.d.ts +122 -0
  515. package/dist/setup/harness-snapshot-provisioning.d.ts.map +1 -0
  516. package/dist/setup/harness-snapshot-provisioning.js +909 -0
  517. package/dist/setup/harness-snapshot-provisioning.js.map +1 -0
  518. package/dist/setup/harness-step-readiness-server.d.ts +11 -0
  519. package/dist/setup/harness-step-readiness-server.d.ts.map +1 -0
  520. package/dist/setup/harness-step-readiness-server.js +24 -0
  521. package/dist/setup/harness-step-readiness-server.js.map +1 -0
  522. package/dist/setup/harness-step-readiness.d.ts +21 -0
  523. package/dist/setup/harness-step-readiness.d.ts.map +1 -0
  524. package/dist/setup/harness-step-readiness.js +40 -0
  525. package/dist/setup/harness-step-readiness.js.map +1 -0
  526. package/dist/setup/harness-workspace-snapshot-loader.d.ts +20 -0
  527. package/dist/setup/harness-workspace-snapshot-loader.d.ts.map +1 -0
  528. package/dist/setup/harness-workspace-snapshot-loader.js +113 -0
  529. package/dist/setup/harness-workspace-snapshot-loader.js.map +1 -0
  530. package/dist/setup/initial-setup-lifecycle.d.ts +51 -0
  531. package/dist/setup/initial-setup-lifecycle.d.ts.map +1 -0
  532. package/dist/setup/initial-setup-lifecycle.js +93 -0
  533. package/dist/setup/initial-setup-lifecycle.js.map +1 -0
  534. package/dist/setup/linear-category-labels.d.ts +2 -0
  535. package/dist/setup/linear-category-labels.d.ts.map +1 -0
  536. package/dist/setup/linear-category-labels.js +19 -0
  537. package/dist/setup/linear-category-labels.js.map +1 -0
  538. package/dist/setup/linear-setup-apply.d.ts +1 -0
  539. package/dist/setup/linear-setup-apply.d.ts.map +1 -1
  540. package/dist/setup/linear-setup-apply.js +67 -16
  541. package/dist/setup/linear-setup-apply.js.map +1 -1
  542. package/dist/setup/linear-setup-client.d.ts +24 -0
  543. package/dist/setup/linear-setup-client.d.ts.map +1 -1
  544. package/dist/setup/linear-setup-client.js +61 -0
  545. package/dist/setup/linear-setup-client.js.map +1 -1
  546. package/dist/setup/linear-setup-plan.d.ts +22 -1
  547. package/dist/setup/linear-setup-plan.d.ts.map +1 -1
  548. package/dist/setup/linear-setup-plan.js +69 -6
  549. package/dist/setup/linear-setup-plan.js.map +1 -1
  550. package/dist/setup/linear-setup-progress.d.ts +30 -0
  551. package/dist/setup/linear-setup-progress.d.ts.map +1 -0
  552. package/dist/setup/linear-setup-progress.js +71 -0
  553. package/dist/setup/linear-setup-progress.js.map +1 -0
  554. package/dist/setup/linear-status-contract.d.ts +2 -1
  555. package/dist/setup/linear-status-contract.d.ts.map +1 -1
  556. package/dist/setup/linear-status-contract.js +26 -67
  557. package/dist/setup/linear-status-contract.js.map +1 -1
  558. package/dist/setup/linear-workflow-status-repair.d.ts +36 -0
  559. package/dist/setup/linear-workflow-status-repair.d.ts.map +1 -0
  560. package/dist/setup/linear-workflow-status-repair.js +187 -0
  561. package/dist/setup/linear-workflow-status-repair.js.map +1 -0
  562. package/dist/setup/linear-workspace-apply.d.ts +25 -0
  563. package/dist/setup/linear-workspace-apply.d.ts.map +1 -0
  564. package/dist/setup/linear-workspace-apply.js +212 -0
  565. package/dist/setup/linear-workspace-apply.js.map +1 -0
  566. package/dist/setup/linear-workspace-drift.d.ts +2 -0
  567. package/dist/setup/linear-workspace-drift.d.ts.map +1 -0
  568. package/dist/setup/linear-workspace-drift.js +2 -0
  569. package/dist/setup/linear-workspace-drift.js.map +1 -0
  570. package/dist/setup/linear-workspace-migration.d.ts +43 -0
  571. package/dist/setup/linear-workspace-migration.d.ts.map +1 -0
  572. package/dist/setup/linear-workspace-migration.js +212 -0
  573. package/dist/setup/linear-workspace-migration.js.map +1 -0
  574. package/dist/setup/linear-workspace-plan.d.ts +92 -0
  575. package/dist/setup/linear-workspace-plan.d.ts.map +1 -0
  576. package/dist/setup/linear-workspace-plan.js +283 -0
  577. package/dist/setup/linear-workspace-plan.js.map +1 -0
  578. package/dist/setup/local-readiness-checks.d.ts +17 -0
  579. package/dist/setup/local-readiness-checks.d.ts.map +1 -1
  580. package/dist/setup/local-readiness-checks.js +86 -23
  581. package/dist/setup/local-readiness-checks.js.map +1 -1
  582. package/dist/setup/mock-git-repository-store.d.ts +43 -0
  583. package/dist/setup/mock-git-repository-store.d.ts.map +1 -0
  584. package/dist/setup/mock-git-repository-store.js +232 -0
  585. package/dist/setup/mock-git-repository-store.js.map +1 -0
  586. package/dist/setup/mock-target-workflow-finalization.d.ts.map +1 -1
  587. package/dist/setup/mock-target-workflow-finalization.js +27 -4
  588. package/dist/setup/mock-target-workflow-finalization.js.map +1 -1
  589. package/dist/setup/packaged-default-route.d.ts +15 -0
  590. package/dist/setup/packaged-default-route.d.ts.map +1 -0
  591. package/dist/setup/packaged-default-route.js +17 -0
  592. package/dist/setup/packaged-default-route.js.map +1 -0
  593. package/dist/setup/release-sync-managed-runner.d.ts +61 -0
  594. package/dist/setup/release-sync-managed-runner.d.ts.map +1 -0
  595. package/dist/setup/release-sync-managed-runner.js +364 -0
  596. package/dist/setup/release-sync-managed-runner.js.map +1 -0
  597. package/dist/setup/remote-apply-actions.d.ts.map +1 -1
  598. package/dist/setup/remote-apply-actions.js +23 -0
  599. package/dist/setup/remote-apply-actions.js.map +1 -1
  600. package/dist/setup/runner-upgrade-canary-dispatch.d.ts +19 -0
  601. package/dist/setup/runner-upgrade-canary-dispatch.d.ts.map +1 -0
  602. package/dist/setup/runner-upgrade-canary-dispatch.js +38 -0
  603. package/dist/setup/runner-upgrade-canary-dispatch.js.map +1 -0
  604. package/dist/setup/runner-upgrade-canary.d.ts +23 -0
  605. package/dist/setup/runner-upgrade-canary.d.ts.map +1 -0
  606. package/dist/setup/runner-upgrade-canary.js +146 -0
  607. package/dist/setup/runner-upgrade-canary.js.map +1 -0
  608. package/dist/setup/runner-upgrade-evidence.d.ts +14 -0
  609. package/dist/setup/runner-upgrade-evidence.d.ts.map +1 -0
  610. package/dist/setup/runner-upgrade-evidence.js +9 -0
  611. package/dist/setup/runner-upgrade-evidence.js.map +1 -0
  612. package/dist/setup/runner-upgrade-pending-state.d.ts +30 -0
  613. package/dist/setup/runner-upgrade-pending-state.d.ts.map +1 -0
  614. package/dist/setup/runner-upgrade-pending-state.js +75 -0
  615. package/dist/setup/runner-upgrade-pending-state.js.map +1 -0
  616. package/dist/setup/runner-upgrade-progress.d.ts +38 -0
  617. package/dist/setup/runner-upgrade-progress.d.ts.map +1 -0
  618. package/dist/setup/runner-upgrade-progress.js +95 -0
  619. package/dist/setup/runner-upgrade-progress.js.map +1 -0
  620. package/dist/setup/runner-upgrade-provider-live.d.ts +5 -0
  621. package/dist/setup/runner-upgrade-provider-live.d.ts.map +1 -0
  622. package/dist/setup/runner-upgrade-provider-live.js +338 -0
  623. package/dist/setup/runner-upgrade-provider-live.js.map +1 -0
  624. package/dist/setup/runner-upgrade-provider.d.ts +231 -0
  625. package/dist/setup/runner-upgrade-provider.d.ts.map +1 -0
  626. package/dist/setup/runner-upgrade-provider.js +466 -0
  627. package/dist/setup/runner-upgrade-provider.js.map +1 -0
  628. package/dist/setup/runner-upgrade-status-cache.d.ts +13 -0
  629. package/dist/setup/runner-upgrade-status-cache.d.ts.map +1 -0
  630. package/dist/setup/runner-upgrade-status-cache.js +39 -0
  631. package/dist/setup/runner-upgrade-status-cache.js.map +1 -0
  632. package/dist/setup/runner-upgrade-three-way.d.ts +28 -0
  633. package/dist/setup/runner-upgrade-three-way.d.ts.map +1 -0
  634. package/dist/setup/runner-upgrade-three-way.js +102 -0
  635. package/dist/setup/runner-upgrade-three-way.js.map +1 -0
  636. package/dist/setup/runner-upgrade-timeouts.d.ts +72 -0
  637. package/dist/setup/runner-upgrade-timeouts.d.ts.map +1 -0
  638. package/dist/setup/runner-upgrade-timeouts.js +261 -0
  639. package/dist/setup/runner-upgrade-timeouts.js.map +1 -0
  640. package/dist/setup/runner-upgrade-types.d.ts +84 -0
  641. package/dist/setup/runner-upgrade-types.d.ts.map +1 -0
  642. package/dist/setup/runner-upgrade-types.js +64 -0
  643. package/dist/setup/runner-upgrade-types.js.map +1 -0
  644. package/dist/setup/runner-upgrade-worker.d.ts +17 -0
  645. package/dist/setup/runner-upgrade-worker.d.ts.map +1 -0
  646. package/dist/setup/runner-upgrade-worker.js +115 -0
  647. package/dist/setup/runner-upgrade-worker.js.map +1 -0
  648. package/dist/setup/runner-upgrade.d.ts +57 -0
  649. package/dist/setup/runner-upgrade.d.ts.map +1 -0
  650. package/dist/setup/runner-upgrade.js +1311 -0
  651. package/dist/setup/runner-upgrade.js.map +1 -0
  652. package/dist/setup/service-verification.d.ts +18 -1
  653. package/dist/setup/service-verification.d.ts.map +1 -1
  654. package/dist/setup/service-verification.js +110 -19
  655. package/dist/setup/service-verification.js.map +1 -1
  656. package/dist/setup/settings-config-patch.d.ts +69 -0
  657. package/dist/setup/settings-config-patch.d.ts.map +1 -0
  658. package/dist/setup/settings-config-patch.js +312 -0
  659. package/dist/setup/settings-config-patch.js.map +1 -0
  660. package/dist/setup/setup-state.d.ts +1 -0
  661. package/dist/setup/setup-state.d.ts.map +1 -1
  662. package/dist/setup/setup-state.js +11 -1
  663. package/dist/setup/setup-state.js.map +1 -1
  664. package/dist/setup/step6-automatic-control-state.d.ts +21 -0
  665. package/dist/setup/step6-automatic-control-state.d.ts.map +1 -0
  666. package/dist/setup/step6-automatic-control-state.js +28 -0
  667. package/dist/setup/step6-automatic-control-state.js.map +1 -0
  668. package/dist/setup/sync-harness-config-cloud.d.ts +23 -0
  669. package/dist/setup/sync-harness-config-cloud.d.ts.map +1 -0
  670. package/dist/setup/sync-harness-config-cloud.js +91 -0
  671. package/dist/setup/sync-harness-config-cloud.js.map +1 -0
  672. package/dist/setup/target-repo-provisioning-pending-state.d.ts +42 -0
  673. package/dist/setup/target-repo-provisioning-pending-state.d.ts.map +1 -0
  674. package/dist/setup/target-repo-provisioning-pending-state.js +95 -0
  675. package/dist/setup/target-repo-provisioning-pending-state.js.map +1 -0
  676. package/dist/setup/target-repo-provisioning.d.ts +67 -0
  677. package/dist/setup/target-repo-provisioning.d.ts.map +1 -0
  678. package/dist/setup/target-repo-provisioning.js +473 -0
  679. package/dist/setup/target-repo-provisioning.js.map +1 -0
  680. package/dist/setup/target-workflow-finalization-progress.d.ts +43 -0
  681. package/dist/setup/target-workflow-finalization-progress.d.ts.map +1 -0
  682. package/dist/setup/target-workflow-finalization-progress.js +83 -0
  683. package/dist/setup/target-workflow-finalization-progress.js.map +1 -0
  684. package/dist/setup/target-workflow-finalization-types.d.ts +21 -1
  685. package/dist/setup/target-workflow-finalization-types.d.ts.map +1 -1
  686. package/dist/setup/target-workflow-finalization-types.js +75 -0
  687. package/dist/setup/target-workflow-finalization-types.js.map +1 -1
  688. package/dist/setup/target-workflow-finalization.d.ts.map +1 -1
  689. package/dist/setup/target-workflow-finalization.js +618 -15
  690. package/dist/setup/target-workflow-finalization.js.map +1 -1
  691. package/dist/setup/target-workflow-setup.d.ts.map +1 -1
  692. package/dist/setup/target-workflow-setup.js +2 -0
  693. package/dist/setup/target-workflow-setup.js.map +1 -1
  694. package/dist/setup/test-only-runner-upgrade-provider.d.ts +11 -0
  695. package/dist/setup/test-only-runner-upgrade-provider.d.ts.map +1 -0
  696. package/dist/setup/test-only-runner-upgrade-provider.js +37 -0
  697. package/dist/setup/test-only-runner-upgrade-provider.js.map +1 -0
  698. package/dist/setup/test-only-target-repo-provisioning-provider.d.ts +7 -0
  699. package/dist/setup/test-only-target-repo-provisioning-provider.d.ts.map +1 -0
  700. package/dist/setup/test-only-target-repo-provisioning-provider.js +33 -0
  701. package/dist/setup/test-only-target-repo-provisioning-provider.js.map +1 -0
  702. package/dist/setup/vercel-bridge-artifact.d.ts +7 -0
  703. package/dist/setup/vercel-bridge-artifact.d.ts.map +1 -0
  704. package/dist/setup/vercel-bridge-artifact.js +164 -0
  705. package/dist/setup/vercel-bridge-artifact.js.map +1 -0
  706. package/dist/setup/vercel-bridge-deploy.d.ts +42 -0
  707. package/dist/setup/vercel-bridge-deploy.d.ts.map +1 -0
  708. package/dist/setup/vercel-bridge-deploy.js +138 -0
  709. package/dist/setup/vercel-bridge-deploy.js.map +1 -0
  710. package/dist/setup/vercel-bridge-diagnostics.js +1 -1
  711. package/dist/setup/vercel-bridge-diagnostics.js.map +1 -1
  712. package/dist/setup/vercel-bridge-options.d.ts +2 -0
  713. package/dist/setup/vercel-bridge-options.d.ts.map +1 -1
  714. package/dist/setup/vercel-bridge-options.js +2 -0
  715. package/dist/setup/vercel-bridge-options.js.map +1 -1
  716. package/dist/setup/vercel-bridge-orchestration-summary.d.ts +13 -0
  717. package/dist/setup/vercel-bridge-orchestration-summary.d.ts.map +1 -0
  718. package/dist/setup/vercel-bridge-orchestration-summary.js +22 -0
  719. package/dist/setup/vercel-bridge-orchestration-summary.js.map +1 -0
  720. package/dist/setup/vercel-bridge-project-marker.d.ts +5 -0
  721. package/dist/setup/vercel-bridge-project-marker.d.ts.map +1 -0
  722. package/dist/setup/vercel-bridge-project-marker.js +6 -0
  723. package/dist/setup/vercel-bridge-project-marker.js.map +1 -0
  724. package/dist/setup/vercel-bridge-readiness.d.ts +1 -0
  725. package/dist/setup/vercel-bridge-readiness.d.ts.map +1 -1
  726. package/dist/setup/vercel-bridge-readiness.js +1 -1
  727. package/dist/setup/vercel-bridge-readiness.js.map +1 -1
  728. package/dist/setup/vercel-bridge-redeploy-normalize.d.ts +18 -0
  729. package/dist/setup/vercel-bridge-redeploy-normalize.d.ts.map +1 -0
  730. package/dist/setup/vercel-bridge-redeploy-normalize.js +175 -0
  731. package/dist/setup/vercel-bridge-redeploy-normalize.js.map +1 -0
  732. package/dist/setup/vercel-bridge-redeploy-poll.d.ts +7 -1
  733. package/dist/setup/vercel-bridge-redeploy-poll.d.ts.map +1 -1
  734. package/dist/setup/vercel-bridge-redeploy-poll.js +329 -166
  735. package/dist/setup/vercel-bridge-redeploy-poll.js.map +1 -1
  736. package/dist/setup/vercel-bridge-redeploy-state.d.ts.map +1 -1
  737. package/dist/setup/vercel-bridge-redeploy-state.js +3 -0
  738. package/dist/setup/vercel-bridge-redeploy-state.js.map +1 -1
  739. package/dist/setup/vercel-bridge-structured-log.d.ts +5 -0
  740. package/dist/setup/vercel-bridge-structured-log.d.ts.map +1 -1
  741. package/dist/setup/vercel-bridge-structured-log.js.map +1 -1
  742. package/dist/setup/vercel-project-name.d.ts +7 -0
  743. package/dist/setup/vercel-project-name.d.ts.map +1 -0
  744. package/dist/setup/vercel-project-name.js +26 -0
  745. package/dist/setup/vercel-project-name.js.map +1 -0
  746. package/dist/setup/vercel-setup-apply.d.ts +7 -2
  747. package/dist/setup/vercel-setup-apply.d.ts.map +1 -1
  748. package/dist/setup/vercel-setup-apply.js +315 -38
  749. package/dist/setup/vercel-setup-apply.js.map +1 -1
  750. package/dist/setup/vercel-setup-client.d.ts +26 -1
  751. package/dist/setup/vercel-setup-client.d.ts.map +1 -1
  752. package/dist/setup/vercel-setup-client.js +50 -1
  753. package/dist/setup/vercel-setup-client.js.map +1 -1
  754. package/dist/setup/vercel-setup-plan.d.ts +5 -0
  755. package/dist/setup/vercel-setup-plan.d.ts.map +1 -1
  756. package/dist/setup/vercel-setup-plan.js +65 -13
  757. package/dist/setup/vercel-setup-plan.js.map +1 -1
  758. package/dist/setup/vercel-setup-summary.d.ts +3 -0
  759. package/dist/setup/vercel-setup-summary.d.ts.map +1 -1
  760. package/dist/setup/vercel-setup-summary.js +4 -0
  761. package/dist/setup/vercel-setup-summary.js.map +1 -1
  762. package/dist/setup/workflow-config-snapshot.d.ts +8 -0
  763. package/dist/setup/workflow-config-snapshot.d.ts.map +1 -0
  764. package/dist/setup/workflow-config-snapshot.js +13 -0
  765. package/dist/setup/workflow-config-snapshot.js.map +1 -0
  766. package/dist/setup/workflow-install-branch-recovery.d.ts +116 -0
  767. package/dist/setup/workflow-install-branch-recovery.d.ts.map +1 -0
  768. package/dist/setup/workflow-install-branch-recovery.js +385 -0
  769. package/dist/setup/workflow-install-branch-recovery.js.map +1 -0
  770. package/dist/setup/workflow-install-merge-errors.d.ts +5 -2
  771. package/dist/setup/workflow-install-merge-errors.d.ts.map +1 -1
  772. package/dist/setup/workflow-install-merge-errors.js +51 -17
  773. package/dist/setup/workflow-install-merge-errors.js.map +1 -1
  774. package/dist/setup/workflow-install-merge-gate.d.ts +10 -0
  775. package/dist/setup/workflow-install-merge-gate.d.ts.map +1 -0
  776. package/dist/setup/workflow-install-merge-gate.js +21 -0
  777. package/dist/setup/workflow-install-merge-gate.js.map +1 -0
  778. package/dist/setup/workflow-model-save-queue.d.ts +16 -0
  779. package/dist/setup/workflow-model-save-queue.d.ts.map +1 -0
  780. package/dist/setup/workflow-model-save-queue.js +174 -0
  781. package/dist/setup/workflow-model-save-queue.js.map +1 -0
  782. package/dist/setup/workflow-model-sync-lock.d.ts +12 -0
  783. package/dist/setup/workflow-model-sync-lock.d.ts.map +1 -0
  784. package/dist/setup/workflow-model-sync-lock.js +79 -0
  785. package/dist/setup/workflow-model-sync-lock.js.map +1 -0
  786. package/dist/setup/workflow-model-sync.d.ts +34 -0
  787. package/dist/setup/workflow-model-sync.d.ts.map +1 -0
  788. package/dist/setup/workflow-model-sync.js +163 -0
  789. package/dist/setup/workflow-model-sync.js.map +1 -0
  790. package/dist/setup/workflow-models-sync-evidence.d.ts +12 -0
  791. package/dist/setup/workflow-models-sync-evidence.d.ts.map +1 -0
  792. package/dist/setup/workflow-models-sync-evidence.js +15 -0
  793. package/dist/setup/workflow-models-sync-evidence.js.map +1 -0
  794. package/dist/types/parsed-issue.d.ts +8 -0
  795. package/dist/types/parsed-issue.d.ts.map +1 -1
  796. package/dist/types/run.d.ts +18 -3
  797. package/dist/types/run.d.ts.map +1 -1
  798. package/dist/validate/issue.d.ts +5 -0
  799. package/dist/validate/issue.d.ts.map +1 -1
  800. package/dist/validate/issue.js +23 -3
  801. package/dist/validate/issue.js.map +1 -1
  802. package/dist/validate/types.d.ts +3 -0
  803. package/dist/validate/types.d.ts.map +1 -1
  804. package/dist/webhook/dispatch-statuses.d.ts +1 -1
  805. package/dist/webhook/dispatch-statuses.d.ts.map +1 -1
  806. package/dist/webhook/dispatch-statuses.js +4 -13
  807. package/dist/webhook/dispatch-statuses.js.map +1 -1
  808. package/dist/webhook/filter.d.ts +5 -2
  809. package/dist/webhook/filter.d.ts.map +1 -1
  810. package/dist/webhook/filter.js +15 -1
  811. package/dist/webhook/filter.js.map +1 -1
  812. package/dist/webhook/handle-linear-webhook.d.ts.map +1 -1
  813. package/dist/webhook/handle-linear-webhook.js +15 -1
  814. package/dist/webhook/handle-linear-webhook.js.map +1 -1
  815. package/dist/webhook/parse-linear-issue-event.d.ts +6 -0
  816. package/dist/webhook/parse-linear-issue-event.d.ts.map +1 -1
  817. package/dist/webhook/parse-linear-issue-event.js +2 -0
  818. package/dist/webhook/parse-linear-issue-event.js.map +1 -1
  819. package/dist/webhook/types.d.ts +3 -1
  820. package/dist/webhook/types.d.ts.map +1 -1
  821. package/dist/workflow/canonical-product-development-workflow.d.ts +106 -0
  822. package/dist/workflow/canonical-product-development-workflow.d.ts.map +1 -0
  823. package/dist/workflow/canonical-product-development-workflow.js +425 -0
  824. package/dist/workflow/canonical-product-development-workflow.js.map +1 -0
  825. package/dist/workflow/canonical-workflow-gate.d.ts +33 -0
  826. package/dist/workflow/canonical-workflow-gate.d.ts.map +1 -0
  827. package/dist/workflow/canonical-workflow-gate.js +164 -0
  828. package/dist/workflow/canonical-workflow-gate.js.map +1 -0
  829. package/dist/workflow/canonical-workflow-validation.d.ts +44 -0
  830. package/dist/workflow/canonical-workflow-validation.d.ts.map +1 -0
  831. package/dist/workflow/canonical-workflow-validation.js +193 -0
  832. package/dist/workflow/canonical-workflow-validation.js.map +1 -0
  833. package/dist/workflow/finalize-harness-run.d.ts +2 -0
  834. package/dist/workflow/finalize-harness-run.d.ts.map +1 -0
  835. package/dist/workflow/finalize-harness-run.js +62 -0
  836. package/dist/workflow/finalize-harness-run.js.map +1 -0
  837. package/dist/workflow/preflight-canonical.d.ts +11 -0
  838. package/dist/workflow/preflight-canonical.d.ts.map +1 -0
  839. package/dist/workflow/preflight-canonical.js +20 -0
  840. package/dist/workflow/preflight-canonical.js.map +1 -0
  841. package/dist/workflow/write-fallback-manifest.d.ts +2 -0
  842. package/dist/workflow/write-fallback-manifest.d.ts.map +1 -0
  843. package/dist/workflow/write-fallback-manifest.js +30 -0
  844. package/dist/workflow/write-fallback-manifest.js.map +1 -0
  845. package/dist/workflow-page/bootstrap.d.ts +21 -0
  846. package/dist/workflow-page/bootstrap.d.ts.map +1 -0
  847. package/dist/workflow-page/bootstrap.js +185 -0
  848. package/dist/workflow-page/bootstrap.js.map +1 -0
  849. package/dist/workflow-page/catalog-validation.d.ts +33 -0
  850. package/dist/workflow-page/catalog-validation.d.ts.map +1 -0
  851. package/dist/workflow-page/catalog-validation.js +105 -0
  852. package/dist/workflow-page/catalog-validation.js.map +1 -0
  853. package/dist/workflow-page/constants.d.ts +7 -0
  854. package/dist/workflow-page/constants.d.ts.map +1 -0
  855. package/dist/workflow-page/constants.js +18 -0
  856. package/dist/workflow-page/constants.js.map +1 -0
  857. package/dist/workflow-page/current-workflow.d.ts +18 -0
  858. package/dist/workflow-page/current-workflow.d.ts.map +1 -0
  859. package/dist/workflow-page/current-workflow.js +142 -0
  860. package/dist/workflow-page/current-workflow.js.map +1 -0
  861. package/dist/workflow-page/fingerprint.d.ts +3 -0
  862. package/dist/workflow-page/fingerprint.d.ts.map +1 -0
  863. package/dist/workflow-page/fingerprint.js +8 -0
  864. package/dist/workflow-page/fingerprint.js.map +1 -0
  865. package/dist/workflow-page/fixture-definition.d.ts +13 -0
  866. package/dist/workflow-page/fixture-definition.d.ts.map +1 -0
  867. package/dist/workflow-page/fixture-definition.js +2 -0
  868. package/dist/workflow-page/fixture-definition.js.map +1 -0
  869. package/dist/workflow-page/fixture-role-models.d.ts +19 -0
  870. package/dist/workflow-page/fixture-role-models.d.ts.map +1 -0
  871. package/dist/workflow-page/fixture-role-models.js +32 -0
  872. package/dist/workflow-page/fixture-role-models.js.map +1 -0
  873. package/dist/workflow-page/fixtures/basic-current-workflow.d.ts +5 -0
  874. package/dist/workflow-page/fixtures/basic-current-workflow.d.ts.map +1 -0
  875. package/dist/workflow-page/fixtures/basic-current-workflow.js +36 -0
  876. package/dist/workflow-page/fixtures/basic-current-workflow.js.map +1 -0
  877. package/dist/workflow-page/fixtures/branching-pr-review.d.ts +3 -0
  878. package/dist/workflow-page/fixtures/branching-pr-review.d.ts.map +1 -0
  879. package/dist/workflow-page/fixtures/branching-pr-review.js +10 -0
  880. package/dist/workflow-page/fixtures/branching-pr-review.js.map +1 -0
  881. package/dist/workflow-page/fixtures/canonical-violations.d.ts +6 -0
  882. package/dist/workflow-page/fixtures/canonical-violations.d.ts.map +1 -0
  883. package/dist/workflow-page/fixtures/canonical-violations.js +19 -0
  884. package/dist/workflow-page/fixtures/canonical-violations.js.map +1 -0
  885. package/dist/workflow-page/fixtures/credential-errors.d.ts +3 -0
  886. package/dist/workflow-page/fixtures/credential-errors.d.ts.map +1 -0
  887. package/dist/workflow-page/fixtures/credential-errors.js +12 -0
  888. package/dist/workflow-page/fixtures/credential-errors.js.map +1 -0
  889. package/dist/workflow-page/fixtures/empty-linear-statuses.d.ts +3 -0
  890. package/dist/workflow-page/fixtures/empty-linear-statuses.d.ts.map +1 -0
  891. package/dist/workflow-page/fixtures/empty-linear-statuses.js +9 -0
  892. package/dist/workflow-page/fixtures/empty-linear-statuses.js.map +1 -0
  893. package/dist/workflow-page/fixtures/hundred-node-performance.d.ts +3 -0
  894. package/dist/workflow-page/fixtures/hundred-node-performance.d.ts.map +1 -0
  895. package/dist/workflow-page/fixtures/hundred-node-performance.js +21 -0
  896. package/dist/workflow-page/fixtures/hundred-node-performance.js.map +1 -0
  897. package/dist/workflow-page/fixtures/index.d.ts +6 -0
  898. package/dist/workflow-page/fixtures/index.d.ts.map +1 -0
  899. package/dist/workflow-page/fixtures/index.js +24 -0
  900. package/dist/workflow-page/fixtures/index.js.map +1 -0
  901. package/dist/workflow-page/fixtures/model-catalog-snapshot.d.ts +10 -0
  902. package/dist/workflow-page/fixtures/model-catalog-snapshot.d.ts.map +1 -0
  903. package/dist/workflow-page/fixtures/model-catalog-snapshot.js +29 -0
  904. package/dist/workflow-page/fixtures/model-catalog-snapshot.js.map +1 -0
  905. package/dist/workflow-page/fixtures/workflow-scopes.d.ts +4 -0
  906. package/dist/workflow-page/fixtures/workflow-scopes.d.ts.map +1 -0
  907. package/dist/workflow-page/fixtures/workflow-scopes.js +16 -0
  908. package/dist/workflow-page/fixtures/workflow-scopes.js.map +1 -0
  909. package/dist/workflow-page/linear-status-source.d.ts +15 -0
  910. package/dist/workflow-page/linear-status-source.d.ts.map +1 -0
  911. package/dist/workflow-page/linear-status-source.js +44 -0
  912. package/dist/workflow-page/linear-status-source.js.map +1 -0
  913. package/dist/workflow-page/model-catalog-lookup.d.ts +3 -0
  914. package/dist/workflow-page/model-catalog-lookup.d.ts.map +1 -0
  915. package/dist/workflow-page/model-catalog-lookup.js +4 -0
  916. package/dist/workflow-page/model-catalog-lookup.js.map +1 -0
  917. package/dist/workflow-page/model-catalog-utils.d.ts +19 -0
  918. package/dist/workflow-page/model-catalog-utils.d.ts.map +1 -0
  919. package/dist/workflow-page/model-catalog-utils.js +46 -0
  920. package/dist/workflow-page/model-catalog-utils.js.map +1 -0
  921. package/dist/workflow-page/model-catalog.d.ts +12 -0
  922. package/dist/workflow-page/model-catalog.d.ts.map +1 -0
  923. package/dist/workflow-page/model-catalog.js +40 -0
  924. package/dist/workflow-page/model-catalog.js.map +1 -0
  925. package/dist/workflow-page/scope-branches.d.ts +11 -0
  926. package/dist/workflow-page/scope-branches.d.ts.map +1 -0
  927. package/dist/workflow-page/scope-branches.js +18 -0
  928. package/dist/workflow-page/scope-branches.js.map +1 -0
  929. package/dist/workflow-page/source-context.d.ts +13 -0
  930. package/dist/workflow-page/source-context.d.ts.map +1 -0
  931. package/dist/workflow-page/source-context.js +61 -0
  932. package/dist/workflow-page/source-context.js.map +1 -0
  933. package/dist/workflow-page/types.d.ts +108 -0
  934. package/dist/workflow-page/types.d.ts.map +1 -0
  935. package/dist/workflow-page/types.js +2 -0
  936. package/dist/workflow-page/types.js.map +1 -0
  937. package/dist/workflow-page/workflow-scopes.d.ts +16 -0
  938. package/dist/workflow-page/workflow-scopes.d.ts.map +1 -0
  939. package/dist/workflow-page/workflow-scopes.js +55 -0
  940. package/dist/workflow-page/workflow-scopes.js.map +1 -0
  941. package/gui/.next/BUILD_ID +1 -1
  942. package/gui/.next/app-build-manifest.json +378 -117
  943. package/gui/.next/app-path-routes-manifest.json +45 -16
  944. package/gui/.next/build-manifest.json +12 -12
  945. package/gui/.next/next-minimal-server.js.nft.json +1 -1
  946. package/gui/.next/next-server.js.nft.json +1 -1
  947. package/gui/.next/prerender-manifest.json +0 -24
  948. package/gui/.next/required-server-files.json +4 -3
  949. package/gui/.next/routes-manifest.json +54 -0
  950. package/gui/.next/server/app/_not-found/page.js +2 -2
  951. package/gui/.next/server/app/_not-found/page.js.nft.json +1 -1
  952. package/gui/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  953. package/gui/.next/server/app/_not-found.html +1 -1
  954. package/gui/.next/server/app/_not-found.rsc +3 -3
  955. package/gui/.next/server/app/api/observability/event/route.js +1 -0
  956. package/gui/.next/server/app/api/observability/event/route.js.nft.json +1 -0
  957. package/gui/.next/server/app/api/observability/event/route_client-reference-manifest.js +1 -0
  958. package/gui/.next/server/app/api/observability/preferences/route.js +1 -0
  959. package/gui/.next/server/app/api/observability/preferences/route.js.nft.json +1 -0
  960. package/gui/.next/server/app/api/observability/preferences/route_client-reference-manifest.js +1 -0
  961. package/gui/.next/server/app/api/operations/bootstrap/route.js +1 -0
  962. package/gui/.next/server/app/api/operations/bootstrap/route.js.nft.json +1 -0
  963. package/gui/.next/server/app/api/operations/bootstrap/route_client-reference-manifest.js +1 -0
  964. package/gui/.next/server/app/api/operations/draft/route.js +1 -0
  965. package/gui/.next/server/app/api/operations/draft/route.js.nft.json +1 -0
  966. package/gui/.next/server/app/api/operations/draft/route_client-reference-manifest.js +1 -0
  967. package/gui/.next/server/app/api/settings/apply-config-patch/route.js +8 -0
  968. package/gui/.next/server/app/api/settings/apply-config-patch/route.js.nft.json +1 -0
  969. package/gui/.next/server/app/api/settings/apply-config-patch/route_client-reference-manifest.js +1 -0
  970. package/gui/.next/server/app/api/settings/preview-config-patch/route.js +8 -0
  971. package/gui/.next/server/app/api/settings/preview-config-patch/route.js.nft.json +1 -0
  972. package/gui/.next/server/app/api/settings/preview-config-patch/route_client-reference-manifest.js +1 -0
  973. package/gui/.next/server/app/api/setup/apply-connect-services/route.js +1 -1
  974. package/gui/.next/server/app/api/setup/apply-connect-services/route.js.nft.json +1 -1
  975. package/gui/.next/server/app/api/setup/apply-connect-services/route_client-reference-manifest.js +1 -1
  976. package/gui/.next/server/app/api/setup/apply-harness-repo-provisioning/route.js +1 -1
  977. package/gui/.next/server/app/api/setup/apply-harness-repo-provisioning/route.js.nft.json +1 -1
  978. package/gui/.next/server/app/api/setup/apply-harness-repo-provisioning/route_client-reference-manifest.js +1 -1
  979. package/gui/.next/server/app/api/setup/apply-harness-secrets/route.js +1 -1
  980. package/gui/.next/server/app/api/setup/apply-harness-secrets/route.js.nft.json +1 -1
  981. package/gui/.next/server/app/api/setup/apply-harness-secrets/route_client-reference-manifest.js +1 -1
  982. package/gui/.next/server/app/api/setup/apply-linear-setup/route.js +1 -1
  983. package/gui/.next/server/app/api/setup/apply-linear-setup/route.js.nft.json +1 -1
  984. package/gui/.next/server/app/api/setup/apply-linear-setup/route_client-reference-manifest.js +1 -1
  985. package/gui/.next/server/app/api/setup/apply-linear-workspace/route.js +1 -0
  986. package/gui/.next/server/app/api/setup/apply-linear-workspace/route.js.nft.json +1 -0
  987. package/gui/.next/server/app/api/setup/apply-linear-workspace/route_client-reference-manifest.js +1 -0
  988. package/gui/.next/server/app/api/setup/apply-local-files/route.js +1 -1
  989. package/gui/.next/server/app/api/setup/apply-local-files/route.js.nft.json +1 -1
  990. package/gui/.next/server/app/api/setup/apply-local-files/route_client-reference-manifest.js +1 -1
  991. package/gui/.next/server/app/api/setup/apply-runner-upgrade/route.js +1 -0
  992. package/gui/.next/server/app/api/setup/apply-runner-upgrade/route.js.nft.json +1 -0
  993. package/gui/.next/server/app/api/setup/apply-runner-upgrade/route_client-reference-manifest.js +1 -0
  994. package/gui/.next/server/app/api/setup/apply-target-repo-provisioning/route.js +1 -0
  995. package/gui/.next/server/app/api/setup/apply-target-repo-provisioning/route.js.nft.json +1 -0
  996. package/gui/.next/server/app/api/setup/apply-target-repo-provisioning/route_client-reference-manifest.js +1 -0
  997. package/gui/.next/server/app/api/setup/apply-target-workflow/route.js +1 -1
  998. package/gui/.next/server/app/api/setup/apply-target-workflow/route.js.nft.json +1 -1
  999. package/gui/.next/server/app/api/setup/apply-target-workflow/route_client-reference-manifest.js +1 -1
  1000. package/gui/.next/server/app/api/setup/apply-vercel-bridge/route.js +1 -1
  1001. package/gui/.next/server/app/api/setup/apply-vercel-bridge/route.js.nft.json +1 -1
  1002. package/gui/.next/server/app/api/setup/apply-vercel-bridge/route_client-reference-manifest.js +1 -1
  1003. package/gui/.next/server/app/api/setup/complete-initial-setup/route.js +1 -0
  1004. package/gui/.next/server/app/api/setup/complete-initial-setup/route.js.nft.json +1 -0
  1005. package/gui/.next/server/app/api/setup/complete-initial-setup/route_client-reference-manifest.js +1 -0
  1006. package/gui/.next/server/app/api/setup/finalize-target-workflow/route.js +1 -1
  1007. package/gui/.next/server/app/api/setup/finalize-target-workflow/route.js.nft.json +1 -1
  1008. package/gui/.next/server/app/api/setup/finalize-target-workflow/route_client-reference-manifest.js +1 -1
  1009. package/gui/.next/server/app/api/setup/harness-provisioning-progress/route.js +1 -0
  1010. package/gui/.next/server/app/api/setup/harness-provisioning-progress/route.js.nft.json +1 -0
  1011. package/gui/.next/server/app/api/setup/harness-provisioning-progress/route_client-reference-manifest.js +1 -0
  1012. package/gui/.next/server/app/api/setup/harness-provisioning-summary/route.js +1 -1
  1013. package/gui/.next/server/app/api/setup/harness-provisioning-summary/route.js.nft.json +1 -1
  1014. package/gui/.next/server/app/api/setup/harness-provisioning-summary/route_client-reference-manifest.js +1 -1
  1015. package/gui/.next/server/app/api/setup/linear-options/route.js +1 -1
  1016. package/gui/.next/server/app/api/setup/linear-options/route.js.nft.json +1 -1
  1017. package/gui/.next/server/app/api/setup/linear-options/route_client-reference-manifest.js +1 -1
  1018. package/gui/.next/server/app/api/setup/linear-setup-progress/route.js +1 -0
  1019. package/gui/.next/server/app/api/setup/linear-setup-progress/route.js.nft.json +1 -0
  1020. package/gui/.next/server/app/api/setup/linear-setup-progress/route_client-reference-manifest.js +1 -0
  1021. package/gui/.next/server/app/api/setup/linear-summary/route.js +1 -1
  1022. package/gui/.next/server/app/api/setup/linear-summary/route.js.nft.json +1 -1
  1023. package/gui/.next/server/app/api/setup/linear-summary/route_client-reference-manifest.js +1 -1
  1024. package/gui/.next/server/app/api/setup/linear-workspace-editor-state/route.js +1 -0
  1025. package/gui/.next/server/app/api/setup/linear-workspace-editor-state/route.js.nft.json +1 -0
  1026. package/gui/.next/server/app/api/setup/linear-workspace-editor-state/route_client-reference-manifest.js +1 -0
  1027. package/gui/.next/server/app/api/setup/local-readiness/route.js +3 -1
  1028. package/gui/.next/server/app/api/setup/local-readiness/route.js.nft.json +1 -1
  1029. package/gui/.next/server/app/api/setup/local-readiness/route_client-reference-manifest.js +1 -1
  1030. package/gui/.next/server/app/api/setup/manual-harness-secret-values/route.js +1 -1
  1031. package/gui/.next/server/app/api/setup/manual-harness-secret-values/route.js.nft.json +1 -1
  1032. package/gui/.next/server/app/api/setup/manual-harness-secret-values/route_client-reference-manifest.js +1 -1
  1033. package/gui/.next/server/app/api/setup/preview-connect-services/route.js +1 -1
  1034. package/gui/.next/server/app/api/setup/preview-connect-services/route.js.nft.json +1 -1
  1035. package/gui/.next/server/app/api/setup/preview-connect-services/route_client-reference-manifest.js +1 -1
  1036. package/gui/.next/server/app/api/setup/preview-harness-repo-provisioning/route.js +1 -1
  1037. package/gui/.next/server/app/api/setup/preview-harness-repo-provisioning/route.js.nft.json +1 -1
  1038. package/gui/.next/server/app/api/setup/preview-harness-repo-provisioning/route_client-reference-manifest.js +1 -1
  1039. package/gui/.next/server/app/api/setup/preview-harness-secrets/route.js +1 -1
  1040. package/gui/.next/server/app/api/setup/preview-harness-secrets/route.js.nft.json +1 -1
  1041. package/gui/.next/server/app/api/setup/preview-harness-secrets/route_client-reference-manifest.js +1 -1
  1042. package/gui/.next/server/app/api/setup/preview-linear-setup/route.js +1 -1
  1043. package/gui/.next/server/app/api/setup/preview-linear-setup/route.js.nft.json +1 -1
  1044. package/gui/.next/server/app/api/setup/preview-linear-setup/route_client-reference-manifest.js +1 -1
  1045. package/gui/.next/server/app/api/setup/preview-linear-workspace/route.js +1 -0
  1046. package/gui/.next/server/app/api/setup/preview-linear-workspace/route.js.nft.json +1 -0
  1047. package/gui/.next/server/app/api/setup/preview-linear-workspace/route_client-reference-manifest.js +1 -0
  1048. package/gui/.next/server/app/api/setup/preview-local-files/route.js +1 -1
  1049. package/gui/.next/server/app/api/setup/preview-local-files/route.js.nft.json +1 -1
  1050. package/gui/.next/server/app/api/setup/preview-local-files/route_client-reference-manifest.js +1 -1
  1051. package/gui/.next/server/app/api/setup/preview-runner-upgrade/route.js +1 -0
  1052. package/gui/.next/server/app/api/setup/preview-runner-upgrade/route.js.nft.json +1 -0
  1053. package/gui/.next/server/app/api/setup/preview-runner-upgrade/route_client-reference-manifest.js +1 -0
  1054. package/gui/.next/server/app/api/setup/preview-target-repo-provisioning/route.js +1 -0
  1055. package/gui/.next/server/app/api/setup/preview-target-repo-provisioning/route.js.nft.json +1 -0
  1056. package/gui/.next/server/app/api/setup/preview-target-repo-provisioning/route_client-reference-manifest.js +1 -0
  1057. package/gui/.next/server/app/api/setup/preview-target-workflow/route.js +1 -1
  1058. package/gui/.next/server/app/api/setup/preview-target-workflow/route.js.nft.json +1 -1
  1059. package/gui/.next/server/app/api/setup/preview-target-workflow/route_client-reference-manifest.js +1 -1
  1060. package/gui/.next/server/app/api/setup/preview-vercel-bridge/route.js +1 -1
  1061. package/gui/.next/server/app/api/setup/preview-vercel-bridge/route.js.nft.json +1 -1
  1062. package/gui/.next/server/app/api/setup/preview-vercel-bridge/route_client-reference-manifest.js +1 -1
  1063. package/gui/.next/server/app/api/setup/remote-summary/route.js +1 -1
  1064. package/gui/.next/server/app/api/setup/remote-summary/route.js.nft.json +1 -1
  1065. package/gui/.next/server/app/api/setup/remote-summary/route_client-reference-manifest.js +1 -1
  1066. package/gui/.next/server/app/api/setup/runner-upgrade-progress/route.js +1 -0
  1067. package/gui/.next/server/app/api/setup/runner-upgrade-progress/route.js.nft.json +1 -0
  1068. package/gui/.next/server/app/api/setup/runner-upgrade-progress/route_client-reference-manifest.js +1 -0
  1069. package/gui/.next/server/app/api/setup/runner-upgrade-status/route.js +1 -0
  1070. package/gui/.next/server/app/api/setup/runner-upgrade-status/route.js.nft.json +1 -0
  1071. package/gui/.next/server/app/api/setup/runner-upgrade-status/route_client-reference-manifest.js +1 -0
  1072. package/gui/.next/server/app/api/setup/summary/route.js +1 -1
  1073. package/gui/.next/server/app/api/setup/summary/route.js.nft.json +1 -1
  1074. package/gui/.next/server/app/api/setup/summary/route_client-reference-manifest.js +1 -1
  1075. package/gui/.next/server/app/api/setup/vercel-bridge-options/route.js +1 -1
  1076. package/gui/.next/server/app/api/setup/vercel-bridge-options/route.js.nft.json +1 -1
  1077. package/gui/.next/server/app/api/setup/vercel-bridge-options/route_client-reference-manifest.js +1 -1
  1078. package/gui/.next/server/app/api/setup/vercel-bridge-redeploy-status/route.js +1 -1
  1079. package/gui/.next/server/app/api/setup/vercel-bridge-redeploy-status/route.js.nft.json +1 -1
  1080. package/gui/.next/server/app/api/setup/vercel-bridge-redeploy-status/route_client-reference-manifest.js +1 -1
  1081. package/gui/.next/server/app/api/setup/vercel-summary/route.js +1 -1
  1082. package/gui/.next/server/app/api/setup/vercel-summary/route.js.nft.json +1 -1
  1083. package/gui/.next/server/app/api/setup/vercel-summary/route_client-reference-manifest.js +1 -1
  1084. package/gui/.next/server/app/api/setup/verify-harness-repo/route.js +1 -1
  1085. package/gui/.next/server/app/api/setup/verify-harness-repo/route.js.nft.json +1 -1
  1086. package/gui/.next/server/app/api/setup/verify-harness-repo/route_client-reference-manifest.js +1 -1
  1087. package/gui/.next/server/app/api/setup/verify-service/route.js +1 -1
  1088. package/gui/.next/server/app/api/setup/verify-service/route.js.nft.json +1 -1
  1089. package/gui/.next/server/app/api/setup/verify-service/route_client-reference-manifest.js +1 -1
  1090. package/gui/.next/server/app/api/setup/verify-target-repo/route.js +1 -1
  1091. package/gui/.next/server/app/api/setup/verify-target-repo/route.js.nft.json +1 -1
  1092. package/gui/.next/server/app/api/setup/verify-target-repo/route_client-reference-manifest.js +1 -1
  1093. package/gui/.next/server/app/api/workflow/bootstrap/route.js +1 -0
  1094. package/gui/.next/server/app/api/workflow/bootstrap/route.js.nft.json +1 -0
  1095. package/gui/.next/server/app/api/workflow/bootstrap/route_client-reference-manifest.js +1 -0
  1096. package/gui/.next/server/app/api/workflow/models/route.js +1 -0
  1097. package/gui/.next/server/app/api/workflow/models/route.js.nft.json +1 -0
  1098. package/gui/.next/server/app/api/workflow/models/route_client-reference-manifest.js +1 -0
  1099. package/gui/.next/server/app/operations/page.js +2 -0
  1100. package/gui/.next/server/app/operations/page.js.nft.json +1 -0
  1101. package/gui/.next/server/app/operations/page_client-reference-manifest.js +1 -0
  1102. package/gui/.next/server/app/page.js +3 -2
  1103. package/gui/.next/server/app/page.js.nft.json +1 -1
  1104. package/gui/.next/server/app/page_client-reference-manifest.js +1 -1
  1105. package/gui/.next/server/app/settings/(console)/connections/page.js +2 -0
  1106. package/gui/.next/server/app/settings/(console)/connections/page.js.nft.json +1 -0
  1107. package/gui/.next/server/app/settings/(console)/connections/page_client-reference-manifest.js +1 -0
  1108. package/gui/.next/server/app/settings/(console)/data-sharing/page.js +2 -0
  1109. package/gui/.next/server/app/settings/(console)/data-sharing/page.js.nft.json +1 -0
  1110. package/gui/.next/server/app/settings/(console)/data-sharing/page_client-reference-manifest.js +1 -0
  1111. package/gui/.next/server/app/settings/(console)/deployments/page.js +2 -0
  1112. package/gui/.next/server/app/settings/(console)/deployments/page.js.nft.json +1 -0
  1113. package/gui/.next/server/app/settings/(console)/deployments/page_client-reference-manifest.js +1 -0
  1114. package/gui/.next/server/app/settings/(console)/linear/page.js +10 -0
  1115. package/gui/.next/server/app/settings/(console)/linear/page.js.nft.json +1 -0
  1116. package/gui/.next/server/app/settings/(console)/linear/page_client-reference-manifest.js +1 -0
  1117. package/gui/.next/server/app/settings/(console)/models/page.js +2 -0
  1118. package/gui/.next/server/app/settings/(console)/models/page.js.nft.json +1 -0
  1119. package/gui/.next/server/app/settings/(console)/models/page_client-reference-manifest.js +1 -0
  1120. package/gui/.next/server/app/settings/(console)/page.js +2 -0
  1121. package/gui/.next/server/app/settings/(console)/page.js.nft.json +1 -0
  1122. package/gui/.next/server/app/settings/(console)/page_client-reference-manifest.js +1 -0
  1123. package/gui/.next/server/app/settings/(console)/repositories/page.js +6 -0
  1124. package/gui/.next/server/app/settings/(console)/repositories/page.js.nft.json +1 -0
  1125. package/gui/.next/server/app/settings/(console)/repositories/page_client-reference-manifest.js +1 -0
  1126. package/gui/.next/server/app/settings/configure/page.js +4 -4
  1127. package/gui/.next/server/app/settings/configure/page.js.nft.json +1 -1
  1128. package/gui/.next/server/app/settings/configure/page_client-reference-manifest.js +1 -1
  1129. package/gui/.next/server/app/workflow/page.js +2 -0
  1130. package/gui/.next/server/app/workflow/page.js.nft.json +1 -0
  1131. package/gui/.next/server/app/workflow/page_client-reference-manifest.js +1 -0
  1132. package/gui/.next/server/app-paths-manifest.json +45 -16
  1133. package/gui/.next/server/chunks/105.js +2 -0
  1134. package/gui/.next/server/chunks/1304.js +200 -0
  1135. package/gui/.next/server/chunks/1536.js +1 -0
  1136. package/gui/.next/server/chunks/1948.js +59 -0
  1137. package/gui/.next/server/chunks/2470.js +3 -0
  1138. package/gui/.next/server/chunks/2581.js +2 -0
  1139. package/gui/.next/server/chunks/383.js +1 -1
  1140. package/gui/.next/server/chunks/521.js +1 -0
  1141. package/gui/.next/server/chunks/553.js +1 -0
  1142. package/gui/.next/server/chunks/5827.js +1 -0
  1143. package/gui/.next/server/chunks/6408.js +1 -0
  1144. package/gui/.next/server/chunks/641.js +1 -0
  1145. package/gui/.next/server/chunks/6482.js +1 -0
  1146. package/gui/.next/server/chunks/6801.js +1 -0
  1147. package/gui/.next/server/chunks/6890.js +1 -0
  1148. package/gui/.next/server/chunks/7201.js +1 -0
  1149. package/gui/.next/server/chunks/7221.js +1 -0
  1150. package/gui/.next/server/chunks/{332.js → 7332.js} +1 -1
  1151. package/gui/.next/server/chunks/7527.js +1 -0
  1152. package/gui/.next/server/chunks/8312.js +1 -0
  1153. package/gui/.next/server/chunks/8476.js +8 -0
  1154. package/gui/.next/server/chunks/8764.js +16 -0
  1155. package/gui/.next/server/chunks/8819.js +22 -0
  1156. package/gui/.next/server/chunks/8825.js +1 -0
  1157. package/gui/.next/server/chunks/9148.js +1 -0
  1158. package/gui/.next/server/chunks/9454.js +1 -0
  1159. package/gui/.next/server/instrumentation.js +1 -0
  1160. package/gui/.next/server/instrumentation.js.nft.json +1 -0
  1161. package/gui/.next/server/middleware-build-manifest.js +1 -1
  1162. package/gui/.next/server/pages/404.html +1 -1
  1163. package/gui/.next/server/pages/500.html +1 -1
  1164. package/gui/.next/server/pages/_document.js +1 -1
  1165. package/gui/.next/server/pages/_document.js.nft.json +1 -1
  1166. package/gui/.next/server/pages/_error.js +2 -2
  1167. package/gui/.next/server/pages/_error.js.nft.json +1 -1
  1168. package/gui/.next/server/pages-manifest.json +1 -1
  1169. package/gui/.next/server/webpack-runtime.js +1 -1
  1170. package/gui/.next/static/chunks/3800-379a4b854a7eb1dc.js +1 -0
  1171. package/gui/.next/static/chunks/464-7503c96bb839c213.js +1 -0
  1172. package/gui/.next/static/chunks/5567-672d065d2668f1ea.js +1 -0
  1173. package/gui/.next/static/chunks/6240-d3f8028539091853.js +1 -0
  1174. package/gui/.next/static/chunks/7420-cb03f2f94db611c4.js +1 -0
  1175. package/gui/.next/static/chunks/8002-528c2e589bc54111.js +1 -0
  1176. package/gui/.next/static/chunks/9188-540635591aa2baf5.js +1 -0
  1177. package/gui/.next/static/chunks/9289-00509b3e0c520cce.js +1 -0
  1178. package/gui/.next/static/chunks/9576-6d94e3d152f876e7.js +1 -0
  1179. package/gui/.next/static/chunks/app/_not-found/page-89865576110e31f0.js +1 -0
  1180. package/gui/.next/static/chunks/app/api/observability/event/route-08ffe80f6f4603f6.js +1 -0
  1181. package/gui/.next/static/chunks/app/api/observability/preferences/route-08ffe80f6f4603f6.js +1 -0
  1182. package/gui/.next/static/chunks/app/api/operations/bootstrap/route-08ffe80f6f4603f6.js +1 -0
  1183. package/gui/.next/static/chunks/app/api/operations/draft/route-08ffe80f6f4603f6.js +1 -0
  1184. package/gui/.next/static/chunks/app/api/settings/apply-config-patch/route-08ffe80f6f4603f6.js +1 -0
  1185. package/gui/.next/static/chunks/app/api/settings/preview-config-patch/route-08ffe80f6f4603f6.js +1 -0
  1186. package/gui/.next/static/chunks/app/api/setup/apply-connect-services/route-08ffe80f6f4603f6.js +1 -0
  1187. package/gui/.next/static/chunks/app/api/setup/apply-harness-repo-provisioning/route-08ffe80f6f4603f6.js +1 -0
  1188. package/gui/.next/static/chunks/app/api/setup/apply-harness-secrets/route-08ffe80f6f4603f6.js +1 -0
  1189. package/gui/.next/static/chunks/app/api/setup/apply-linear-setup/route-08ffe80f6f4603f6.js +1 -0
  1190. package/gui/.next/static/chunks/app/api/setup/apply-linear-workspace/route-08ffe80f6f4603f6.js +1 -0
  1191. package/gui/.next/static/chunks/app/api/setup/apply-local-files/route-08ffe80f6f4603f6.js +1 -0
  1192. package/gui/.next/static/chunks/app/api/setup/apply-runner-upgrade/route-08ffe80f6f4603f6.js +1 -0
  1193. package/gui/.next/static/chunks/app/api/setup/apply-target-repo-provisioning/route-08ffe80f6f4603f6.js +1 -0
  1194. package/gui/.next/static/chunks/app/api/setup/apply-target-workflow/route-08ffe80f6f4603f6.js +1 -0
  1195. package/gui/.next/static/chunks/app/api/setup/apply-vercel-bridge/route-08ffe80f6f4603f6.js +1 -0
  1196. package/gui/.next/static/chunks/app/api/setup/complete-initial-setup/route-08ffe80f6f4603f6.js +1 -0
  1197. package/gui/.next/static/chunks/app/api/setup/finalize-target-workflow/route-08ffe80f6f4603f6.js +1 -0
  1198. package/gui/.next/static/chunks/app/api/setup/harness-provisioning-progress/route-08ffe80f6f4603f6.js +1 -0
  1199. package/gui/.next/static/chunks/app/api/setup/harness-provisioning-summary/route-08ffe80f6f4603f6.js +1 -0
  1200. package/gui/.next/static/chunks/app/api/setup/linear-options/route-08ffe80f6f4603f6.js +1 -0
  1201. package/gui/.next/static/chunks/app/api/setup/linear-setup-progress/route-08ffe80f6f4603f6.js +1 -0
  1202. package/gui/.next/static/chunks/app/api/setup/linear-summary/route-08ffe80f6f4603f6.js +1 -0
  1203. package/gui/.next/static/chunks/app/api/setup/linear-workspace-editor-state/route-08ffe80f6f4603f6.js +1 -0
  1204. package/gui/.next/static/chunks/app/api/setup/local-readiness/route-08ffe80f6f4603f6.js +1 -0
  1205. package/gui/.next/static/chunks/app/api/setup/manual-harness-secret-values/route-08ffe80f6f4603f6.js +1 -0
  1206. package/gui/.next/static/chunks/app/api/setup/preview-connect-services/route-08ffe80f6f4603f6.js +1 -0
  1207. package/gui/.next/static/chunks/app/api/setup/preview-harness-repo-provisioning/route-08ffe80f6f4603f6.js +1 -0
  1208. package/gui/.next/static/chunks/app/api/setup/preview-harness-secrets/route-08ffe80f6f4603f6.js +1 -0
  1209. package/gui/.next/static/chunks/app/api/setup/preview-linear-setup/route-08ffe80f6f4603f6.js +1 -0
  1210. package/gui/.next/static/chunks/app/api/setup/preview-linear-workspace/route-08ffe80f6f4603f6.js +1 -0
  1211. package/gui/.next/static/chunks/app/api/setup/preview-local-files/route-08ffe80f6f4603f6.js +1 -0
  1212. package/gui/.next/static/chunks/app/api/setup/preview-runner-upgrade/route-08ffe80f6f4603f6.js +1 -0
  1213. package/gui/.next/static/chunks/app/api/setup/preview-target-repo-provisioning/route-08ffe80f6f4603f6.js +1 -0
  1214. package/gui/.next/static/chunks/app/api/setup/preview-target-workflow/route-08ffe80f6f4603f6.js +1 -0
  1215. package/gui/.next/static/chunks/app/api/setup/preview-vercel-bridge/route-08ffe80f6f4603f6.js +1 -0
  1216. package/gui/.next/static/chunks/app/api/setup/remote-summary/route-08ffe80f6f4603f6.js +1 -0
  1217. package/gui/.next/static/chunks/app/api/setup/runner-upgrade-progress/route-08ffe80f6f4603f6.js +1 -0
  1218. package/gui/.next/static/chunks/app/api/setup/runner-upgrade-status/route-08ffe80f6f4603f6.js +1 -0
  1219. package/gui/.next/static/chunks/app/api/setup/summary/route-08ffe80f6f4603f6.js +1 -0
  1220. package/gui/.next/static/chunks/app/api/setup/vercel-bridge-options/route-08ffe80f6f4603f6.js +1 -0
  1221. package/gui/.next/static/chunks/app/api/setup/vercel-bridge-redeploy-status/route-08ffe80f6f4603f6.js +1 -0
  1222. package/gui/.next/static/chunks/app/api/setup/vercel-summary/route-08ffe80f6f4603f6.js +1 -0
  1223. package/gui/.next/static/chunks/app/api/setup/verify-harness-repo/route-08ffe80f6f4603f6.js +1 -0
  1224. package/gui/.next/static/chunks/app/api/setup/verify-service/route-08ffe80f6f4603f6.js +1 -0
  1225. package/gui/.next/static/chunks/app/api/setup/verify-target-repo/route-08ffe80f6f4603f6.js +1 -0
  1226. package/gui/.next/static/chunks/app/api/workflow/bootstrap/route-08ffe80f6f4603f6.js +1 -0
  1227. package/gui/.next/static/chunks/app/api/workflow/models/route-08ffe80f6f4603f6.js +1 -0
  1228. package/gui/.next/static/chunks/app/layout-ec756afb9686f579.js +1 -0
  1229. package/gui/.next/static/chunks/app/operations/page-08ffe80f6f4603f6.js +1 -0
  1230. package/gui/.next/static/chunks/app/page-08ffe80f6f4603f6.js +1 -0
  1231. package/gui/.next/static/chunks/app/settings/(console)/connections/page-95847d89fc70089a.js +1 -0
  1232. package/gui/.next/static/chunks/app/settings/(console)/data-sharing/page-3e0d8fe941c7334e.js +1 -0
  1233. package/gui/.next/static/chunks/app/settings/(console)/deployments/page-e3aaff205f09b567.js +1 -0
  1234. package/gui/.next/static/chunks/app/settings/(console)/layout-74ce539ae02dc765.js +1 -0
  1235. package/gui/.next/static/chunks/app/settings/(console)/linear/page-0a1e73b5ec66af90.js +1 -0
  1236. package/gui/.next/static/chunks/app/settings/(console)/models/page-336406c2905983c9.js +1 -0
  1237. package/gui/.next/static/chunks/app/settings/(console)/page-08ffe80f6f4603f6.js +1 -0
  1238. package/gui/.next/static/chunks/app/settings/(console)/repositories/page-b1f7159c7771b16a.js +1 -0
  1239. package/gui/.next/static/chunks/app/settings/configure/loading-5f1e73b910fbd9da.js +1 -0
  1240. package/gui/.next/static/chunks/app/settings/configure/page-54b7572655b9f60f.js +1 -0
  1241. package/gui/.next/static/chunks/app/workflow/page-8087b342a6ece93c.js +1 -0
  1242. package/gui/.next/static/chunks/framework-dc88dc15d5e043e1.js +1 -0
  1243. package/gui/.next/static/chunks/main-5b390d9aaa7199a5.js +1 -0
  1244. package/gui/.next/static/chunks/main-app-7fbf1b54aaed0242.js +1 -0
  1245. package/gui/.next/static/chunks/pages/{_app-2e239ff05bfdf6d6.js → _app-50fa07b56b2d29ac.js} +1 -1
  1246. package/gui/.next/static/chunks/pages/_error-fed8688bdd23f211.js +1 -0
  1247. package/gui/.next/static/chunks/{webpack-1e50074b7e886e1b.js → webpack-b27d2f88ec3d35a4.js} +1 -1
  1248. package/gui/.next/static/css/b7b323a34ac09e0b.css +3 -0
  1249. package/gui/.next/static/wM7YWpWgyTcGc7H5h1u7U/_buildManifest.js +1 -0
  1250. package/gui/.next/trace +6 -4
  1251. package/gui/.next/types/app/api/observability/event/route.ts +347 -0
  1252. package/gui/.next/types/app/api/observability/preferences/route.ts +347 -0
  1253. package/gui/.next/types/app/api/operations/bootstrap/route.ts +347 -0
  1254. package/gui/.next/types/app/api/operations/draft/route.ts +347 -0
  1255. package/gui/.next/types/app/api/settings/apply-config-patch/route.ts +347 -0
  1256. package/gui/.next/types/app/api/settings/preview-config-patch/route.ts +347 -0
  1257. package/gui/.next/types/app/api/setup/apply-linear-workspace/route.ts +347 -0
  1258. package/gui/.next/types/app/api/setup/apply-runner-upgrade/route.ts +347 -0
  1259. package/gui/.next/types/app/api/setup/apply-target-repo-provisioning/route.ts +347 -0
  1260. package/gui/.next/types/app/api/setup/complete-initial-setup/route.ts +347 -0
  1261. package/gui/.next/types/app/api/setup/harness-provisioning-progress/route.ts +347 -0
  1262. package/gui/.next/types/app/api/setup/linear-setup-progress/route.ts +347 -0
  1263. package/gui/.next/types/app/api/setup/linear-workspace-editor-state/route.ts +347 -0
  1264. package/gui/.next/types/app/api/setup/preview-linear-workspace/route.ts +347 -0
  1265. package/gui/.next/types/app/api/setup/preview-runner-upgrade/route.ts +347 -0
  1266. package/gui/.next/types/app/api/setup/preview-target-repo-provisioning/route.ts +347 -0
  1267. package/gui/.next/types/app/api/setup/runner-upgrade-progress/route.ts +347 -0
  1268. package/gui/.next/types/app/api/setup/runner-upgrade-status/route.ts +347 -0
  1269. package/gui/.next/types/app/api/workflow/bootstrap/route.ts +347 -0
  1270. package/gui/.next/types/app/api/workflow/models/route.ts +347 -0
  1271. package/gui/.next/types/app/operations/page.ts +84 -0
  1272. package/gui/.next/types/app/settings/(console)/connections/page.ts +84 -0
  1273. package/gui/.next/types/app/settings/(console)/data-sharing/page.ts +84 -0
  1274. package/gui/.next/types/app/settings/(console)/deployments/page.ts +84 -0
  1275. package/gui/.next/types/app/settings/(console)/layout.ts +84 -0
  1276. package/gui/.next/types/app/settings/(console)/linear/page.ts +84 -0
  1277. package/gui/.next/types/app/settings/(console)/models/page.ts +84 -0
  1278. package/gui/.next/types/app/settings/(console)/page.ts +84 -0
  1279. package/gui/.next/types/app/settings/(console)/repositories/page.ts +84 -0
  1280. package/gui/.next/types/app/workflow/page.ts +84 -0
  1281. package/gui/.next/types/routes.d.ts +33 -3
  1282. package/gui/.next/types/validator.ts +270 -0
  1283. package/observability.public.json +6 -0
  1284. package/package.json +6 -1
  1285. package/templates/.harness/config.example.json +1 -0
  1286. package/workspace-snapshot/files/.agents/skills/architecture-evolution-audit/SKILL.md +282 -0
  1287. package/workspace-snapshot/files/.agents/skills/code-health-audit/SKILL.md +188 -0
  1288. package/workspace-snapshot/files/.agents/skills/implementation/SKILL.md +283 -0
  1289. package/workspace-snapshot/files/.agents/skills/issue-intake/SKILL.md +175 -0
  1290. package/workspace-snapshot/files/.agents/skills/issue-intake/examples.md +112 -0
  1291. package/workspace-snapshot/files/.agents/skills/planner/SKILL.md +263 -0
  1292. package/workspace-snapshot/files/.agents/skills/security-audit/SKILL.md +270 -0
  1293. package/workspace-snapshot/files/.env.example +37 -0
  1294. package/workspace-snapshot/files/.github/CODEOWNERS +4 -0
  1295. package/workspace-snapshot/files/.github/dependabot.yml +12 -0
  1296. package/workspace-snapshot/files/.github/workflows/ci.yml +32 -0
  1297. package/workspace-snapshot/files/.github/workflows/codeql.yml +35 -0
  1298. package/workspace-snapshot/files/.github/workflows/harness-auto-runner.yml +588 -0
  1299. package/workspace-snapshot/files/.github/workflows/p-dev-runner-config-canary.yml +24 -0
  1300. package/workspace-snapshot/files/.harness/config.example.json +84 -0
  1301. package/workspace-snapshot/files/AGENTS.md +141 -0
  1302. package/workspace-snapshot/files/ARCHITECTURE.md +402 -0
  1303. package/workspace-snapshot/files/CHANGELOG.md +211 -0
  1304. package/workspace-snapshot/files/LICENSE +21 -0
  1305. package/workspace-snapshot/files/README.md +116 -0
  1306. package/workspace-snapshot/files/ROADMAP.md +59 -0
  1307. package/workspace-snapshot/files/api/linear-webhook.ts +41 -0
  1308. package/workspace-snapshot/files/apps/gui/app/api/observability/event/route.ts +36 -0
  1309. package/workspace-snapshot/files/apps/gui/app/api/observability/preferences/route.ts +88 -0
  1310. package/workspace-snapshot/files/apps/gui/app/api/operations/bootstrap/route.ts +8 -0
  1311. package/workspace-snapshot/files/apps/gui/app/api/operations/draft/route.ts +15 -0
  1312. package/workspace-snapshot/files/apps/gui/app/api/settings/apply-config-patch/route.ts +52 -0
  1313. package/workspace-snapshot/files/apps/gui/app/api/settings/preview-config-patch/route.ts +40 -0
  1314. package/workspace-snapshot/files/apps/gui/app/api/setup/apply-connect-services/route.ts +21 -0
  1315. package/workspace-snapshot/files/apps/gui/app/api/setup/apply-harness-repo-provisioning/route.ts +36 -0
  1316. package/workspace-snapshot/files/apps/gui/app/api/setup/apply-harness-secrets/route.ts +42 -0
  1317. package/workspace-snapshot/files/apps/gui/app/api/setup/apply-linear-setup/route.ts +23 -0
  1318. package/workspace-snapshot/files/apps/gui/app/api/setup/apply-linear-workspace/route.ts +23 -0
  1319. package/workspace-snapshot/files/apps/gui/app/api/setup/apply-local-files/route.ts +42 -0
  1320. package/workspace-snapshot/files/apps/gui/app/api/setup/apply-runner-upgrade/route.ts +33 -0
  1321. package/workspace-snapshot/files/apps/gui/app/api/setup/apply-target-repo-provisioning/route.ts +38 -0
  1322. package/workspace-snapshot/files/apps/gui/app/api/setup/apply-target-workflow/route.ts +49 -0
  1323. package/workspace-snapshot/files/apps/gui/app/api/setup/apply-vercel-bridge/route.ts +32 -0
  1324. package/workspace-snapshot/files/apps/gui/app/api/setup/complete-initial-setup/route.ts +49 -0
  1325. package/workspace-snapshot/files/apps/gui/app/api/setup/finalize-target-workflow/route.ts +32 -0
  1326. package/workspace-snapshot/files/apps/gui/app/api/setup/harness-provisioning-progress/route.ts +21 -0
  1327. package/workspace-snapshot/files/apps/gui/app/api/setup/harness-provisioning-summary/route.ts +17 -0
  1328. package/workspace-snapshot/files/apps/gui/app/api/setup/linear-options/route.ts +17 -0
  1329. package/workspace-snapshot/files/apps/gui/app/api/setup/linear-setup-progress/route.ts +17 -0
  1330. package/workspace-snapshot/files/apps/gui/app/api/setup/linear-summary/route.ts +15 -0
  1331. package/workspace-snapshot/files/apps/gui/app/api/setup/linear-workspace-editor-state/route.ts +17 -0
  1332. package/workspace-snapshot/files/apps/gui/app/api/setup/local-readiness/route.ts +57 -0
  1333. package/workspace-snapshot/files/apps/gui/app/api/setup/manual-harness-secret-values/route.ts +33 -0
  1334. package/workspace-snapshot/files/apps/gui/app/api/setup/preview-connect-services/route.ts +17 -0
  1335. package/workspace-snapshot/files/apps/gui/app/api/setup/preview-harness-repo-provisioning/route.ts +22 -0
  1336. package/workspace-snapshot/files/apps/gui/app/api/setup/preview-harness-secrets/route.ts +19 -0
  1337. package/workspace-snapshot/files/apps/gui/app/api/setup/preview-linear-setup/route.ts +20 -0
  1338. package/workspace-snapshot/files/apps/gui/app/api/setup/preview-linear-workspace/route.ts +22 -0
  1339. package/workspace-snapshot/files/apps/gui/app/api/setup/preview-local-files/route.ts +17 -0
  1340. package/workspace-snapshot/files/apps/gui/app/api/setup/preview-runner-upgrade/route.ts +17 -0
  1341. package/workspace-snapshot/files/apps/gui/app/api/setup/preview-target-repo-provisioning/route.ts +34 -0
  1342. package/workspace-snapshot/files/apps/gui/app/api/setup/preview-target-workflow/route.ts +25 -0
  1343. package/workspace-snapshot/files/apps/gui/app/api/setup/preview-vercel-bridge/route.ts +23 -0
  1344. package/workspace-snapshot/files/apps/gui/app/api/setup/remote-summary/route.ts +15 -0
  1345. package/workspace-snapshot/files/apps/gui/app/api/setup/runner-upgrade-progress/route.ts +17 -0
  1346. package/workspace-snapshot/files/apps/gui/app/api/setup/runner-upgrade-status/route.ts +72 -0
  1347. package/workspace-snapshot/files/apps/gui/app/api/setup/summary/route.ts +10 -0
  1348. package/workspace-snapshot/files/apps/gui/app/api/setup/vercel-bridge-options/route.ts +29 -0
  1349. package/workspace-snapshot/files/apps/gui/app/api/setup/vercel-bridge-redeploy-status/route.ts +22 -0
  1350. package/workspace-snapshot/files/apps/gui/app/api/setup/vercel-summary/route.ts +15 -0
  1351. package/workspace-snapshot/files/apps/gui/app/api/setup/verify-harness-repo/route.ts +31 -0
  1352. package/workspace-snapshot/files/apps/gui/app/api/setup/verify-service/route.ts +41 -0
  1353. package/workspace-snapshot/files/apps/gui/app/api/setup/verify-target-repo/route.ts +40 -0
  1354. package/workspace-snapshot/files/apps/gui/app/api/workflow/bootstrap/route.ts +24 -0
  1355. package/workspace-snapshot/files/apps/gui/app/api/workflow/models/route.ts +86 -0
  1356. package/workspace-snapshot/files/apps/gui/app/layout.tsx +28 -0
  1357. package/workspace-snapshot/files/apps/gui/app/operations/page.tsx +23 -0
  1358. package/workspace-snapshot/files/apps/gui/app/page.tsx +11 -0
  1359. package/workspace-snapshot/files/apps/gui/app/settings/(console)/connections/page.tsx +27 -0
  1360. package/workspace-snapshot/files/apps/gui/app/settings/(console)/data-sharing/page.tsx +25 -0
  1361. package/workspace-snapshot/files/apps/gui/app/settings/(console)/deployments/page.tsx +28 -0
  1362. package/workspace-snapshot/files/apps/gui/app/settings/(console)/layout.tsx +45 -0
  1363. package/workspace-snapshot/files/apps/gui/app/settings/(console)/linear/page.tsx +20 -0
  1364. package/workspace-snapshot/files/apps/gui/app/settings/(console)/models/page.tsx +14 -0
  1365. package/workspace-snapshot/files/apps/gui/app/settings/(console)/page.tsx +7 -0
  1366. package/workspace-snapshot/files/apps/gui/app/settings/(console)/repositories/page.tsx +29 -0
  1367. package/workspace-snapshot/files/apps/gui/app/settings/configure/loading.tsx +25 -0
  1368. package/workspace-snapshot/files/apps/gui/app/settings/configure/page.tsx +103 -0
  1369. package/workspace-snapshot/files/apps/gui/app/workflow/page.tsx +24 -0
  1370. package/workspace-snapshot/files/apps/gui/components/custom/app-shell.tsx +33 -0
  1371. package/workspace-snapshot/files/apps/gui/components/custom/application-header.tsx +64 -0
  1372. package/workspace-snapshot/files/apps/gui/components/custom/configure-experience.tsx +933 -0
  1373. package/workspace-snapshot/files/apps/gui/components/custom/configure-page-content.tsx +60 -0
  1374. package/workspace-snapshot/files/apps/gui/components/custom/configure-workflow.tsx +1847 -0
  1375. package/workspace-snapshot/files/apps/gui/components/custom/connected-status.tsx +30 -0
  1376. package/workspace-snapshot/files/apps/gui/components/custom/data-sharing-preferences.tsx +159 -0
  1377. package/workspace-snapshot/files/apps/gui/components/custom/environment-config-form.tsx +418 -0
  1378. package/workspace-snapshot/files/apps/gui/components/custom/first-run-stepper.tsx +199 -0
  1379. package/workspace-snapshot/files/apps/gui/components/custom/github-token-help-disclosure.tsx +142 -0
  1380. package/workspace-snapshot/files/apps/gui/components/custom/guided-cloud-secrets-card.tsx +1046 -0
  1381. package/workspace-snapshot/files/apps/gui/components/custom/guided-linear-workspace-card.tsx +1352 -0
  1382. package/workspace-snapshot/files/apps/gui/components/custom/guided-local-readiness-card.tsx +250 -0
  1383. package/workspace-snapshot/files/apps/gui/components/custom/guided-operation-panel.tsx +102 -0
  1384. package/workspace-snapshot/files/apps/gui/components/custom/guided-progress-check.tsx +37 -0
  1385. package/workspace-snapshot/files/apps/gui/components/custom/guided-setup-progress.tsx +114 -0
  1386. package/workspace-snapshot/files/apps/gui/components/custom/guided-step-success-panel.tsx +50 -0
  1387. package/workspace-snapshot/files/apps/gui/components/custom/guided-step-transition.tsx +114 -0
  1388. package/workspace-snapshot/files/apps/gui/components/custom/guided-target-workflow-card.tsx +603 -0
  1389. package/workspace-snapshot/files/apps/gui/components/custom/guided-vercel-bridge-card.tsx +1023 -0
  1390. package/workspace-snapshot/files/apps/gui/components/custom/local-write-confirmation.tsx +91 -0
  1391. package/workspace-snapshot/files/apps/gui/components/custom/local-write-preview.tsx +52 -0
  1392. package/workspace-snapshot/files/apps/gui/components/custom/observability-settings-card.tsx +23 -0
  1393. package/workspace-snapshot/files/apps/gui/components/custom/preview-panel.tsx +19 -0
  1394. package/workspace-snapshot/files/apps/gui/components/custom/primary-setup-task-card.tsx +65 -0
  1395. package/workspace-snapshot/files/apps/gui/components/custom/readiness-banner.tsx +91 -0
  1396. package/workspace-snapshot/files/apps/gui/components/custom/remote-action-confirmation.tsx +157 -0
  1397. package/workspace-snapshot/files/apps/gui/components/custom/remote-action-preview.tsx +84 -0
  1398. package/workspace-snapshot/files/apps/gui/components/custom/remote-secret-form.tsx +123 -0
  1399. package/workspace-snapshot/files/apps/gui/components/custom/remote-setup-section.tsx +354 -0
  1400. package/workspace-snapshot/files/apps/gui/components/custom/review-cloud-secrets-disclosure.tsx +59 -0
  1401. package/workspace-snapshot/files/apps/gui/components/custom/review-generated-files-disclosure.tsx +67 -0
  1402. package/workspace-snapshot/files/apps/gui/components/custom/review-workflow-changes-disclosure.tsx +59 -0
  1403. package/workspace-snapshot/files/apps/gui/components/custom/section-card.tsx +33 -0
  1404. package/workspace-snapshot/files/apps/gui/components/custom/service-icons.tsx +30 -0
  1405. package/workspace-snapshot/files/apps/gui/components/custom/settings-menu.tsx +109 -0
  1406. package/workspace-snapshot/files/apps/gui/components/custom/setup-apply-result.tsx +52 -0
  1407. package/workspace-snapshot/files/apps/gui/components/custom/setup-checklist.tsx +224 -0
  1408. package/workspace-snapshot/files/apps/gui/components/custom/status-badge.tsx +22 -0
  1409. package/workspace-snapshot/files/apps/gui/components/custom/target-repo-config-form.tsx +667 -0
  1410. package/workspace-snapshot/files/apps/gui/components/custom/target-repo-create-connect.tsx +419 -0
  1411. package/workspace-snapshot/files/apps/gui/components/custom/target-workflow-pr-card.tsx +345 -0
  1412. package/workspace-snapshot/files/apps/gui/components/custom/theme-provider.tsx +11 -0
  1413. package/workspace-snapshot/files/apps/gui/components/custom/theme-toggle.tsx +36 -0
  1414. package/workspace-snapshot/files/apps/gui/components/custom/vercel-bridge-orchestration-status.tsx +65 -0
  1415. package/workspace-snapshot/files/apps/gui/components/custom/workflow-install-pending-panel.tsx +188 -0
  1416. package/workspace-snapshot/files/apps/gui/components/settings/editors/connections-settings-editor.tsx +261 -0
  1417. package/workspace-snapshot/files/apps/gui/components/settings/editors/deployments-settings-editor.tsx +397 -0
  1418. package/workspace-snapshot/files/apps/gui/components/settings/editors/linear-settings-editor.tsx +512 -0
  1419. package/workspace-snapshot/files/apps/gui/components/settings/editors/repositories-settings-editor.tsx +749 -0
  1420. package/workspace-snapshot/files/apps/gui/components/settings/editors/runner-upgrade-settings-card.tsx +533 -0
  1421. package/workspace-snapshot/files/apps/gui/components/settings/settings-models-client.tsx +102 -0
  1422. package/workspace-snapshot/files/apps/gui/components/settings/settings-mutation-panel.tsx +125 -0
  1423. package/workspace-snapshot/files/apps/gui/components/settings/settings-shell.tsx +46 -0
  1424. package/workspace-snapshot/files/apps/gui/components/ui/badge.tsx +40 -0
  1425. package/workspace-snapshot/files/apps/gui/components/ui/button.tsx +52 -0
  1426. package/workspace-snapshot/files/apps/gui/components/ui/card.tsx +64 -0
  1427. package/workspace-snapshot/files/apps/gui/components/ui/checkbox.tsx +21 -0
  1428. package/workspace-snapshot/files/apps/gui/components/ui/dropdown-menu.tsx +257 -0
  1429. package/workspace-snapshot/files/apps/gui/components/ui/guided-select.tsx +22 -0
  1430. package/workspace-snapshot/files/apps/gui/components/ui/input.tsx +22 -0
  1431. package/workspace-snapshot/files/apps/gui/components/ui/label.tsx +20 -0
  1432. package/workspace-snapshot/files/apps/gui/components/ui/separator.tsx +23 -0
  1433. package/workspace-snapshot/files/apps/gui/components/ui/skeleton.tsx +13 -0
  1434. package/workspace-snapshot/files/apps/gui/components/ui/textarea.tsx +22 -0
  1435. package/workspace-snapshot/files/apps/gui/components/workflow/workflow-cards-section.tsx +206 -0
  1436. package/workspace-snapshot/files/apps/gui/components/workflow/workflow-health-panel.tsx +43 -0
  1437. package/workspace-snapshot/files/apps/gui/components/workflow/workflow-model-control.tsx +111 -0
  1438. package/workspace-snapshot/files/apps/gui/components/workflow/workflow-page-client.tsx +161 -0
  1439. package/workspace-snapshot/files/apps/gui/components/workflow/workflow-scope-selector.tsx +41 -0
  1440. package/workspace-snapshot/files/apps/gui/components.json +21 -0
  1441. package/workspace-snapshot/files/apps/gui/instrumentation.ts +136 -0
  1442. package/workspace-snapshot/files/apps/gui/lib/configure-navigation-timing.ts +53 -0
  1443. package/workspace-snapshot/files/apps/gui/lib/constants/breakpoints.ts +13 -0
  1444. package/workspace-snapshot/files/apps/gui/lib/constants/form.ts +13 -0
  1445. package/workspace-snapshot/files/apps/gui/lib/constants/index.ts +4 -0
  1446. package/workspace-snapshot/files/apps/gui/lib/constants/layout.ts +16 -0
  1447. package/workspace-snapshot/files/apps/gui/lib/constants/spacing.ts +8 -0
  1448. package/workspace-snapshot/files/apps/gui/lib/guided-setup.ts +438 -0
  1449. package/workspace-snapshot/files/apps/gui/lib/linear-association-draft.ts +93 -0
  1450. package/workspace-snapshot/files/apps/gui/lib/local-readiness-visual-queue.ts +61 -0
  1451. package/workspace-snapshot/files/apps/gui/lib/observability-client.ts +21 -0
  1452. package/workspace-snapshot/files/apps/gui/lib/observability-preferences.ts +19 -0
  1453. package/workspace-snapshot/files/apps/gui/lib/observability-request-guard.ts +136 -0
  1454. package/workspace-snapshot/files/apps/gui/lib/observability-route.ts +75 -0
  1455. package/workspace-snapshot/files/apps/gui/lib/settings/load-harness-config-summary.ts +20 -0
  1456. package/workspace-snapshot/files/apps/gui/lib/settings/load-repositories-overview.ts +37 -0
  1457. package/workspace-snapshot/files/apps/gui/lib/settings/load-settings-editor-data.ts +51 -0
  1458. package/workspace-snapshot/files/apps/gui/lib/settings/load-target-repo-overview-fields.ts +124 -0
  1459. package/workspace-snapshot/files/apps/gui/lib/settings/runner-upgrade-feature-flag.ts +9 -0
  1460. package/workspace-snapshot/files/apps/gui/lib/settings/runner-upgrade-ssr.ts +13 -0
  1461. package/workspace-snapshot/files/apps/gui/lib/settings/runner-upgrade-ui-gates.ts +87 -0
  1462. package/workspace-snapshot/files/apps/gui/lib/settings/settings-mutation.ts +49 -0
  1463. package/workspace-snapshot/files/apps/gui/lib/settings/settings-navigation.ts +10 -0
  1464. package/workspace-snapshot/files/apps/gui/lib/settings/settings-setup-client.ts +312 -0
  1465. package/workspace-snapshot/files/apps/gui/lib/setup-json-response.ts +19 -0
  1466. package/workspace-snapshot/files/apps/gui/lib/setup-server.ts +1427 -0
  1467. package/workspace-snapshot/files/apps/gui/lib/step6-remote-state.ts +43 -0
  1468. package/workspace-snapshot/files/apps/gui/lib/use-theme-toggle.ts +26 -0
  1469. package/workspace-snapshot/files/apps/gui/lib/utils.ts +6 -0
  1470. package/workspace-snapshot/files/apps/gui/lib/vercel-bridge-polling-ui.ts +103 -0
  1471. package/workspace-snapshot/files/apps/gui/lib/verification-state.ts +266 -0
  1472. package/workspace-snapshot/files/apps/gui/lib/workflow/api-client.ts +84 -0
  1473. package/workspace-snapshot/files/apps/gui/lib/workflow/use-model-autosave.ts +90 -0
  1474. package/workspace-snapshot/files/apps/gui/lib/workflow/use-workflow-model-save.ts +265 -0
  1475. package/workspace-snapshot/files/apps/gui/lib/workflow/workflow-health.ts +53 -0
  1476. package/workspace-snapshot/files/apps/gui/lib/workflow/workflow-ownership.ts +47 -0
  1477. package/workspace-snapshot/files/apps/gui/lib/workflow/workflow-status-content.ts +149 -0
  1478. package/workspace-snapshot/files/apps/gui/lib/workflow/workflow-violation-messages.ts +49 -0
  1479. package/workspace-snapshot/files/apps/gui/lib/workflow-server.ts +307 -0
  1480. package/workspace-snapshot/files/apps/gui/next-env.d.ts +6 -0
  1481. package/workspace-snapshot/files/apps/gui/next.config.ts +39 -0
  1482. package/workspace-snapshot/files/apps/gui/postcss.config.mjs +8 -0
  1483. package/workspace-snapshot/files/apps/gui/public/setup/github-token/github-pat-generate-classic.png +0 -0
  1484. package/workspace-snapshot/files/apps/gui/public/setup/github-token/github-pat-generate-new-token.png +0 -0
  1485. package/workspace-snapshot/files/apps/gui/public/setup/github-token/github-pat-verify-email.png +0 -0
  1486. package/workspace-snapshot/files/apps/gui/styles/globals.css +86 -0
  1487. package/workspace-snapshot/files/apps/gui/tsconfig.json +24 -0
  1488. package/workspace-snapshot/files/apps/gui/tweetsodium.d.ts +14 -0
  1489. package/workspace-snapshot/files/docs/architecture/canonical-product-development-workflow.md +70 -0
  1490. package/workspace-snapshot/files/docs/architecture/linear-automation-state-machine.md +283 -0
  1491. package/workspace-snapshot/files/docs/decisions/0001-cursor-first-v0.1.md +59 -0
  1492. package/workspace-snapshot/files/docs/decisions/0003-automation-state-machine-and-auto-model-policy.md +65 -0
  1493. package/workspace-snapshot/files/docs/decisions/0004-agent-provider-boundary.md +109 -0
  1494. package/workspace-snapshot/files/docs/design/product-development-harness-gui.md +1023 -0
  1495. package/workspace-snapshot/files/docs/getting-started.md +123 -0
  1496. package/workspace-snapshot/files/docs/gui-local.md +151 -0
  1497. package/workspace-snapshot/files/docs/gui-remote-setup.md +106 -0
  1498. package/workspace-snapshot/files/docs/integration-repair.md +82 -0
  1499. package/workspace-snapshot/files/docs/issue-intake.md +136 -0
  1500. package/workspace-snapshot/files/docs/linear-watcher-setup.md +184 -0
  1501. package/workspace-snapshot/files/docs/milestones/m1-runner-foundation.md +51 -0
  1502. package/workspace-snapshot/files/docs/milestones/m2-planning-phase.md +129 -0
  1503. package/workspace-snapshot/files/docs/milestones/m3-implementation-phase.md +158 -0
  1504. package/workspace-snapshot/files/docs/milestones/m4-handoff-phase.md +122 -0
  1505. package/workspace-snapshot/files/docs/milestones/m5-revision-phase.md +101 -0
  1506. package/workspace-snapshot/files/docs/milestones/m6-merge-phase.md +143 -0
  1507. package/workspace-snapshot/files/docs/milestones/m7-issue-intake.md +72 -0
  1508. package/workspace-snapshot/files/docs/milestones/m8-linear-watcher.md +80 -0
  1509. package/workspace-snapshot/files/docs/npm-packaging-spike.md +52 -0
  1510. package/workspace-snapshot/files/docs/observability-and-privacy.md +247 -0
  1511. package/workspace-snapshot/files/docs/operator-config.md +202 -0
  1512. package/workspace-snapshot/files/docs/p-dev.md +247 -0
  1513. package/workspace-snapshot/files/docs/production-sync-automation.md +176 -0
  1514. package/workspace-snapshot/files/docs/provider-portability.md +131 -0
  1515. package/workspace-snapshot/files/docs/releases/release-process.md +400 -0
  1516. package/workspace-snapshot/files/docs/releases/v0.2.0.md +193 -0
  1517. package/workspace-snapshot/files/docs/releases/v0.3.0.md +188 -0
  1518. package/workspace-snapshot/files/docs/releases/v0.3.1.md +138 -0
  1519. package/workspace-snapshot/files/docs/releases/v0.4.0.md +93 -0
  1520. package/workspace-snapshot/files/docs/research/001-manual-run-retrospective.md +64 -0
  1521. package/workspace-snapshot/files/docs/research/002-linear-cursor-integration-smoke-test.md +64 -0
  1522. package/workspace-snapshot/files/docs/research/003-cursor-automation-planning-router-spike.md +104 -0
  1523. package/workspace-snapshot/files/docs/research/README.md +26 -0
  1524. package/workspace-snapshot/files/docs/security.md +198 -0
  1525. package/workspace-snapshot/files/docs/settings-console.md +44 -0
  1526. package/workspace-snapshot/files/docs/skills/README.md +7 -0
  1527. package/workspace-snapshot/files/docs/skills/skill-architecture.md +197 -0
  1528. package/workspace-snapshot/files/docs/target-repo-branch-setup.md +80 -0
  1529. package/workspace-snapshot/files/evals/README.md +31 -0
  1530. package/workspace-snapshot/files/examples/README.md +32 -0
  1531. package/workspace-snapshot/files/examples/runs/001-target-app-github-link/README.md +49 -0
  1532. package/workspace-snapshot/files/examples/runs/001-target-app-github-link/eval-scorecard.md +63 -0
  1533. package/workspace-snapshot/files/examples/runs/001-target-app-github-link/implementation-plan.md +79 -0
  1534. package/workspace-snapshot/files/examples/runs/001-target-app-github-link/linear-issue.md +74 -0
  1535. package/workspace-snapshot/files/examples/runs/001-target-app-github-link/pr-readiness-report.md +92 -0
  1536. package/workspace-snapshot/files/examples/runs/m5.5-live-sandbox-smoke/README.md +73 -0
  1537. package/workspace-snapshot/files/gpt/issue-intake/custom-gpt-instructions.md +112 -0
  1538. package/workspace-snapshot/files/gpt/issue-intake/knowledge.md +278 -0
  1539. package/workspace-snapshot/files/gpt/issue-intake/setup-guide.md +115 -0
  1540. package/workspace-snapshot/files/gpt/issue-intake/smoke-test.md +119 -0
  1541. package/workspace-snapshot/files/harness.config.json +92 -0
  1542. package/workspace-snapshot/files/harness.config.schema.json +466 -0
  1543. package/workspace-snapshot/files/package-lock.json +5502 -0
  1544. package/workspace-snapshot/files/package.json +68 -0
  1545. package/workspace-snapshot/files/packages/p-dev/LICENSE +21 -0
  1546. package/workspace-snapshot/files/packages/p-dev/README.md +72 -0
  1547. package/workspace-snapshot/files/packages/p-dev/gui.next.config.mjs +13 -0
  1548. package/workspace-snapshot/files/packages/p-dev/observability.public.json +6 -0
  1549. package/workspace-snapshot/files/packages/p-dev/package.json +67 -0
  1550. package/workspace-snapshot/files/prompts/issue-intake-chatgpt.md +268 -0
  1551. package/workspace-snapshot/files/scripts/configure-browser-matrix.config.ts +40 -0
  1552. package/workspace-snapshot/files/scripts/configure-browser-matrix.spec.ts +294 -0
  1553. package/workspace-snapshot/files/scripts/configure-step4-harness-readiness.config.ts +118 -0
  1554. package/workspace-snapshot/files/scripts/configure-step4-harness-readiness.spec.ts +80 -0
  1555. package/workspace-snapshot/files/scripts/generate-config-schema.ts +16 -0
  1556. package/workspace-snapshot/files/scripts/prepare-configure-browser-workspace.ts +138 -0
  1557. package/workspace-snapshot/files/scripts/prepare-p-dev-package.ts +164 -0
  1558. package/workspace-snapshot/files/scripts/workflow-browser-matrix.config.ts +27 -0
  1559. package/workspace-snapshot/files/scripts/workflow-browser-matrix.spec.ts +151 -0
  1560. package/workspace-snapshot/files/skills/README.md +7 -0
  1561. package/workspace-snapshot/files/skills/issue-intake/README.md +5 -0
  1562. package/workspace-snapshot/files/src/agents/cursor-provider.ts +107 -0
  1563. package/workspace-snapshot/files/src/agents/index.ts +64 -0
  1564. package/workspace-snapshot/files/src/agents/provider.ts +7 -0
  1565. package/workspace-snapshot/files/src/agents/types.ts +121 -0
  1566. package/workspace-snapshot/files/src/artifacts/events.ts +31 -0
  1567. package/workspace-snapshot/files/src/artifacts/manifest-fields.ts +9 -0
  1568. package/workspace-snapshot/files/src/artifacts/manifest.ts +20 -0
  1569. package/workspace-snapshot/files/src/artifacts/paths.ts +145 -0
  1570. package/workspace-snapshot/files/src/artifacts/redact.ts +66 -0
  1571. package/workspace-snapshot/files/src/artifacts/run-id.ts +4 -0
  1572. package/workspace-snapshot/files/src/artifacts/snapshot.ts +13 -0
  1573. package/workspace-snapshot/files/src/artifacts/summary.ts +116 -0
  1574. package/workspace-snapshot/files/src/artifacts/write-json-out-manifest.ts +90 -0
  1575. package/workspace-snapshot/files/src/cli/commands/canary-runner-config.ts +6 -0
  1576. package/workspace-snapshot/files/src/cli/commands/diagnose-vercel-bridge.ts +25 -0
  1577. package/workspace-snapshot/files/src/cli/commands/doctor.ts +353 -0
  1578. package/workspace-snapshot/files/src/cli/commands/inspect.ts +46 -0
  1579. package/workspace-snapshot/files/src/cli/commands/operator-init.ts +39 -0
  1580. package/workspace-snapshot/files/src/cli/commands/redact-output.ts +19 -0
  1581. package/workspace-snapshot/files/src/cli/commands/resolve-route.ts +86 -0
  1582. package/workspace-snapshot/files/src/cli/commands/run.ts +101 -0
  1583. package/workspace-snapshot/files/src/cli/commands/sync-managed-runner.ts +126 -0
  1584. package/workspace-snapshot/files/src/cli/commands/sync-production.ts +207 -0
  1585. package/workspace-snapshot/files/src/cli/commands/validate-issue.ts +72 -0
  1586. package/workspace-snapshot/files/src/cli/exit-codes.ts +4 -0
  1587. package/workspace-snapshot/files/src/cli/finalize-exit.ts +9 -0
  1588. package/workspace-snapshot/files/src/cli/program.ts +247 -0
  1589. package/workspace-snapshot/files/src/config/assert-cloud-config-fingerprint.ts +36 -0
  1590. package/workspace-snapshot/files/src/config/cloud-config-fingerprint.ts +90 -0
  1591. package/workspace-snapshot/files/src/config/defaults.ts +33 -0
  1592. package/workspace-snapshot/files/src/config/legacy-linear-top-level.ts +69 -0
  1593. package/workspace-snapshot/files/src/config/linear-association-gate.ts +80 -0
  1594. package/workspace-snapshot/files/src/config/load-config.ts +80 -0
  1595. package/workspace-snapshot/files/src/config/load-dotenv.ts +11 -0
  1596. package/workspace-snapshot/files/src/config/resolve-config.ts +127 -0
  1597. package/workspace-snapshot/files/src/config/resolve-linear-team.ts +41 -0
  1598. package/workspace-snapshot/files/src/config/resolve-linear-workspace.ts +391 -0
  1599. package/workspace-snapshot/files/src/config/role-models.ts +39 -0
  1600. package/workspace-snapshot/files/src/config/runner-upgrade-sync-gate.ts +26 -0
  1601. package/workspace-snapshot/files/src/config/schema.ts +146 -0
  1602. package/workspace-snapshot/files/src/config/status-names.ts +63 -0
  1603. package/workspace-snapshot/files/src/config/types.ts +5 -0
  1604. package/workspace-snapshot/files/src/config/workspace-root.ts +28 -0
  1605. package/workspace-snapshot/files/src/cursor/agent-factory.ts +172 -0
  1606. package/workspace-snapshot/files/src/cursor/builder-resume-errors.ts +41 -0
  1607. package/workspace-snapshot/files/src/cursor/errors.ts +18 -0
  1608. package/workspace-snapshot/files/src/cursor/git-result.ts +87 -0
  1609. package/workspace-snapshot/files/src/cursor/model.ts +128 -0
  1610. package/workspace-snapshot/files/src/cursor/revision-git-result.ts +80 -0
  1611. package/workspace-snapshot/files/src/cursor/run-cleanup.ts +30 -0
  1612. package/workspace-snapshot/files/src/cursor/run-observer.ts +380 -0
  1613. package/workspace-snapshot/files/src/cursor/urls.ts +19 -0
  1614. package/workspace-snapshot/files/src/fixture/frontmatter.ts +56 -0
  1615. package/workspace-snapshot/files/src/github/actions-url.ts +13 -0
  1616. package/workspace-snapshot/files/src/github/auth-verification-retry.ts +63 -0
  1617. package/workspace-snapshot/files/src/github/base-branch.ts +120 -0
  1618. package/workspace-snapshot/files/src/github/check-policy.ts +108 -0
  1619. package/workspace-snapshot/files/src/github/client.ts +995 -0
  1620. package/workspace-snapshot/files/src/github/commit-reachability.ts +184 -0
  1621. package/workspace-snapshot/files/src/github/links.ts +23 -0
  1622. package/workspace-snapshot/files/src/github/merge-result.ts +31 -0
  1623. package/workspace-snapshot/files/src/github/pr-discovery.ts +55 -0
  1624. package/workspace-snapshot/files/src/github/pr-inspector.ts +297 -0
  1625. package/workspace-snapshot/files/src/github/pr-url.ts +23 -0
  1626. package/workspace-snapshot/files/src/github/rate-limit-metadata.ts +105 -0
  1627. package/workspace-snapshot/files/src/gui/configure-health.ts +160 -0
  1628. package/workspace-snapshot/files/src/gui/dev-server-process.ts +213 -0
  1629. package/workspace-snapshot/files/src/gui/port.ts +78 -0
  1630. package/workspace-snapshot/files/src/gui/repo-root.ts +80 -0
  1631. package/workspace-snapshot/files/src/gui/start-configure-stable.ts +143 -0
  1632. package/workspace-snapshot/files/src/gui/start-gui.ts +131 -0
  1633. package/workspace-snapshot/files/src/index.ts +10 -0
  1634. package/workspace-snapshot/files/src/linear/client.ts +59 -0
  1635. package/workspace-snapshot/files/src/linear/comment-card.ts +74 -0
  1636. package/workspace-snapshot/files/src/linear/comments.ts +943 -0
  1637. package/workspace-snapshot/files/src/linear/handoff-comment.ts +19 -0
  1638. package/workspace-snapshot/files/src/linear/issue-query.ts +74 -0
  1639. package/workspace-snapshot/files/src/linear/markers.ts +266 -0
  1640. package/workspace-snapshot/files/src/linear/merge-source-comment.ts +46 -0
  1641. package/workspace-snapshot/files/src/linear/parser.ts +161 -0
  1642. package/workspace-snapshot/files/src/linear/phase-labels.ts +58 -0
  1643. package/workspace-snapshot/files/src/linear/planning-comment.ts +19 -0
  1644. package/workspace-snapshot/files/src/linear/pm-feedback-comment.ts +41 -0
  1645. package/workspace-snapshot/files/src/linear/project-harness-metadata.ts +147 -0
  1646. package/workspace-snapshot/files/src/linear/project-metadata-sync.ts +115 -0
  1647. package/workspace-snapshot/files/src/linear/revision-comment.ts +19 -0
  1648. package/workspace-snapshot/files/src/linear/run-status-comment.ts +197 -0
  1649. package/workspace-snapshot/files/src/linear/states.ts +20 -0
  1650. package/workspace-snapshot/files/src/linear/writer.ts +241 -0
  1651. package/workspace-snapshot/files/src/observability/adapters/fake.ts +267 -0
  1652. package/workspace-snapshot/files/src/observability/adapters/noop.ts +62 -0
  1653. package/workspace-snapshot/files/src/observability/adapters/posthog.ts +165 -0
  1654. package/workspace-snapshot/files/src/observability/adapters/sentry.ts +276 -0
  1655. package/workspace-snapshot/files/src/observability/analytics-schemas.ts +150 -0
  1656. package/workspace-snapshot/files/src/observability/consent.ts +70 -0
  1657. package/workspace-snapshot/files/src/observability/constants.ts +25 -0
  1658. package/workspace-snapshot/files/src/observability/context.ts +152 -0
  1659. package/workspace-snapshot/files/src/observability/facade-runtime-state.ts +47 -0
  1660. package/workspace-snapshot/files/src/observability/facade.ts +628 -0
  1661. package/workspace-snapshot/files/src/observability/fatal-handlers.ts +60 -0
  1662. package/workspace-snapshot/files/src/observability/identity.ts +13 -0
  1663. package/workspace-snapshot/files/src/observability/index.ts +47 -0
  1664. package/workspace-snapshot/files/src/observability/local-state.ts +142 -0
  1665. package/workspace-snapshot/files/src/observability/package-config.ts +180 -0
  1666. package/workspace-snapshot/files/src/observability/posthog-dashboard-contract.ts +277 -0
  1667. package/workspace-snapshot/files/src/observability/privacy-schema.ts +229 -0
  1668. package/workspace-snapshot/files/src/observability/product-error-messages.ts +19 -0
  1669. package/workspace-snapshot/files/src/observability/product-errors.ts +139 -0
  1670. package/workspace-snapshot/files/src/observability/provisioning-analytics.ts +28 -0
  1671. package/workspace-snapshot/files/src/observability/redaction.ts +85 -0
  1672. package/workspace-snapshot/files/src/observability/runtime-eligibility.ts +50 -0
  1673. package/workspace-snapshot/files/src/observability/sentry-outbound-privacy.ts +216 -0
  1674. package/workspace-snapshot/files/src/observability/session-dedupe.ts +73 -0
  1675. package/workspace-snapshot/files/src/observability/session-handoff.ts +47 -0
  1676. package/workspace-snapshot/files/src/observability/transport-lifecycle.ts +93 -0
  1677. package/workspace-snapshot/files/src/observability/types.ts +265 -0
  1678. package/workspace-snapshot/files/src/p-dev/browser.ts +26 -0
  1679. package/workspace-snapshot/files/src/p-dev/cli.ts +93 -0
  1680. package/workspace-snapshot/files/src/p-dev/git-object-plumbing.ts +396 -0
  1681. package/workspace-snapshot/files/src/p-dev/launch.ts +252 -0
  1682. package/workspace-snapshot/files/src/p-dev/main.ts +21 -0
  1683. package/workspace-snapshot/files/src/p-dev/next-bin.ts +8 -0
  1684. package/workspace-snapshot/files/src/p-dev/node-version.ts +46 -0
  1685. package/workspace-snapshot/files/src/p-dev/package-paths.ts +117 -0
  1686. package/workspace-snapshot/files/src/p-dev/package-version.ts +63 -0
  1687. package/workspace-snapshot/files/src/p-dev/runtime-mode.ts +28 -0
  1688. package/workspace-snapshot/files/src/p-dev/shutdown.ts +66 -0
  1689. package/workspace-snapshot/files/src/p-dev/workspace-snapshot-digest.ts +50 -0
  1690. package/workspace-snapshot/files/src/p-dev/workspace-snapshot-generator.ts +133 -0
  1691. package/workspace-snapshot/files/src/p-dev/workspace-snapshot-git.ts +221 -0
  1692. package/workspace-snapshot/files/src/p-dev/workspace-snapshot-manifest.ts +389 -0
  1693. package/workspace-snapshot/files/src/p-dev/workspace-snapshot-policy.ts +198 -0
  1694. package/workspace-snapshot/files/src/p-dev/workspace-snapshot-types.ts +67 -0
  1695. package/workspace-snapshot/files/src/p-dev/workspace-snapshot-validation.ts +137 -0
  1696. package/workspace-snapshot/files/src/p-dev/workspace.ts +114 -0
  1697. package/workspace-snapshot/files/src/preview/preview-capability.ts +21 -0
  1698. package/workspace-snapshot/files/src/preview/production-from-merge.ts +143 -0
  1699. package/workspace-snapshot/files/src/preview/urls.ts +28 -0
  1700. package/workspace-snapshot/files/src/preview/vercel-from-pr.ts +123 -0
  1701. package/workspace-snapshot/files/src/product/initialization-state.ts +65 -0
  1702. package/workspace-snapshot/files/src/product/product-marker.ts +76 -0
  1703. package/workspace-snapshot/files/src/product/read-product-marker.ts +63 -0
  1704. package/workspace-snapshot/files/src/prompts/branch-name.ts +22 -0
  1705. package/workspace-snapshot/files/src/prompts/builder.ts +118 -0
  1706. package/workspace-snapshot/files/src/prompts/implementation.md +83 -0
  1707. package/workspace-snapshot/files/src/prompts/integration-repair-builder.ts +65 -0
  1708. package/workspace-snapshot/files/src/prompts/integration-repair.md +117 -0
  1709. package/workspace-snapshot/files/src/prompts/planning.md +72 -0
  1710. package/workspace-snapshot/files/src/prompts/revision-builder.ts +61 -0
  1711. package/workspace-snapshot/files/src/prompts/revision.md +78 -0
  1712. package/workspace-snapshot/files/src/resolver/allowed-repos.ts +18 -0
  1713. package/workspace-snapshot/files/src/resolver/errors.ts +16 -0
  1714. package/workspace-snapshot/files/src/resolver/normalize-repo.ts +32 -0
  1715. package/workspace-snapshot/files/src/resolver/target-repo.ts +177 -0
  1716. package/workspace-snapshot/files/src/runner/builder-thread-acquire.ts +321 -0
  1717. package/workspace-snapshot/files/src/runner/builder-thread-evidence.ts +40 -0
  1718. package/workspace-snapshot/files/src/runner/builder-thread-idempotency.ts +27 -0
  1719. package/workspace-snapshot/files/src/runner/builder-thread-lineage-errors.ts +23 -0
  1720. package/workspace-snapshot/files/src/runner/builder-thread-lineage.ts +555 -0
  1721. package/workspace-snapshot/files/src/runner/builder-thread-types.ts +41 -0
  1722. package/workspace-snapshot/files/src/runner/building-recovery.ts +26 -0
  1723. package/workspace-snapshot/files/src/runner/delivery-dedup.ts +78 -0
  1724. package/workspace-snapshot/files/src/runner/dry-run.ts +137 -0
  1725. package/workspace-snapshot/files/src/runner/errors.ts +70 -0
  1726. package/workspace-snapshot/files/src/runner/execution-environment.ts +179 -0
  1727. package/workspace-snapshot/files/src/runner/failure-finalization.ts +234 -0
  1728. package/workspace-snapshot/files/src/runner/fixture.ts +30 -0
  1729. package/workspace-snapshot/files/src/runner/idempotency.ts +507 -0
  1730. package/workspace-snapshot/files/src/runner/orchestrator.ts +182 -0
  1731. package/workspace-snapshot/files/src/runner/phase-args.ts +49 -0
  1732. package/workspace-snapshot/files/src/runner/phase-infer.ts +67 -0
  1733. package/workspace-snapshot/files/src/runner/phases/handoff.ts +643 -0
  1734. package/workspace-snapshot/files/src/runner/phases/implementation.ts +763 -0
  1735. package/workspace-snapshot/files/src/runner/phases/integration-repair.ts +729 -0
  1736. package/workspace-snapshot/files/src/runner/phases/merge.ts +1280 -0
  1737. package/workspace-snapshot/files/src/runner/phases/planning.ts +499 -0
  1738. package/workspace-snapshot/files/src/runner/phases/production-sync.ts +341 -0
  1739. package/workspace-snapshot/files/src/runner/phases/revision.ts +881 -0
  1740. package/workspace-snapshot/files/src/runner/preflight.ts +345 -0
  1741. package/workspace-snapshot/files/src/runner/resolve-route.ts +183 -0
  1742. package/workspace-snapshot/files/src/runner/run-generation.ts +21 -0
  1743. package/workspace-snapshot/files/src/runner/uninitialized-product-routing.ts +121 -0
  1744. package/workspace-snapshot/files/src/setup/config-builder.ts +131 -0
  1745. package/workspace-snapshot/files/src/setup/config-local-editor.ts +260 -0
  1746. package/workspace-snapshot/files/src/setup/config-writer.ts +173 -0
  1747. package/workspace-snapshot/files/src/setup/control-plane-readiness-server.ts +16 -0
  1748. package/workspace-snapshot/files/src/setup/control-plane-readiness.ts +365 -0
  1749. package/workspace-snapshot/files/src/setup/control-plane-setup-state.ts +116 -0
  1750. package/workspace-snapshot/files/src/setup/control-plane-state-lock.ts +103 -0
  1751. package/workspace-snapshot/files/src/setup/control-plane-types.ts +220 -0
  1752. package/workspace-snapshot/files/src/setup/doctor-summary.ts +96 -0
  1753. package/workspace-snapshot/files/src/setup/env-merge.ts +266 -0
  1754. package/workspace-snapshot/files/src/setup/env-writer.ts +179 -0
  1755. package/workspace-snapshot/files/src/setup/first-run-readiness.ts +1438 -0
  1756. package/workspace-snapshot/files/src/setup/generated-instructions.ts +96 -0
  1757. package/workspace-snapshot/files/src/setup/git-askpass-credentials.ts +80 -0
  1758. package/workspace-snapshot/files/src/setup/github-dispatch-token.ts +119 -0
  1759. package/workspace-snapshot/files/src/setup/github-remote-provider.ts +1059 -0
  1760. package/workspace-snapshot/files/src/setup/github-remote-setup-live.ts +877 -0
  1761. package/workspace-snapshot/files/src/setup/github-repo-slug.ts +31 -0
  1762. package/workspace-snapshot/files/src/setup/github-repository-name.ts +63 -0
  1763. package/workspace-snapshot/files/src/setup/github-secret-encryption.ts +16 -0
  1764. package/workspace-snapshot/files/src/setup/github-target-repository-provider-live.ts +323 -0
  1765. package/workspace-snapshot/files/src/setup/github-target-repository-provider-mock.ts +284 -0
  1766. package/workspace-snapshot/files/src/setup/github-target-repository-provider.ts +86 -0
  1767. package/workspace-snapshot/files/src/setup/github-upload-rate-limit-gate.ts +58 -0
  1768. package/workspace-snapshot/files/src/setup/github-workflow-permissions.ts +175 -0
  1769. package/workspace-snapshot/files/src/setup/gui-view-model.ts +576 -0
  1770. package/workspace-snapshot/files/src/setup/guided-config-form.ts +52 -0
  1771. package/workspace-snapshot/files/src/setup/harness-dispatch-repo.ts +290 -0
  1772. package/workspace-snapshot/files/src/setup/harness-managed-repo-marker.ts +677 -0
  1773. package/workspace-snapshot/files/src/setup/harness-provisioning-context.ts +331 -0
  1774. package/workspace-snapshot/files/src/setup/harness-provisioning-last-run.ts +152 -0
  1775. package/workspace-snapshot/files/src/setup/harness-provisioning-pending-state.ts +285 -0
  1776. package/workspace-snapshot/files/src/setup/harness-provisioning-progress.ts +213 -0
  1777. package/workspace-snapshot/files/src/setup/harness-repo-provisioning.ts +1785 -0
  1778. package/workspace-snapshot/files/src/setup/harness-secret-fingerprint.ts +51 -0
  1779. package/workspace-snapshot/files/src/setup/harness-secret-setup.ts +439 -0
  1780. package/workspace-snapshot/files/src/setup/harness-snapshot-git-transport.ts +846 -0
  1781. package/workspace-snapshot/files/src/setup/harness-snapshot-provisioning-helpers.ts +95 -0
  1782. package/workspace-snapshot/files/src/setup/harness-snapshot-provisioning.ts +1278 -0
  1783. package/workspace-snapshot/files/src/setup/harness-step-readiness-server.ts +39 -0
  1784. package/workspace-snapshot/files/src/setup/harness-step-readiness.ts +72 -0
  1785. package/workspace-snapshot/files/src/setup/harness-template-identity.ts +151 -0
  1786. package/workspace-snapshot/files/src/setup/harness-workspace-snapshot-loader.ts +152 -0
  1787. package/workspace-snapshot/files/src/setup/initial-setup-lifecycle.ts +181 -0
  1788. package/workspace-snapshot/files/src/setup/linear-category-labels.ts +18 -0
  1789. package/workspace-snapshot/files/src/setup/linear-setup-apply.ts +350 -0
  1790. package/workspace-snapshot/files/src/setup/linear-setup-client.ts +372 -0
  1791. package/workspace-snapshot/files/src/setup/linear-setup-plan.ts +447 -0
  1792. package/workspace-snapshot/files/src/setup/linear-setup-progress.ts +113 -0
  1793. package/workspace-snapshot/files/src/setup/linear-setup-summary.ts +33 -0
  1794. package/workspace-snapshot/files/src/setup/linear-status-contract.ts +69 -0
  1795. package/workspace-snapshot/files/src/setup/linear-webhook-env-local.ts +104 -0
  1796. package/workspace-snapshot/files/src/setup/linear-webhook-secret.ts +441 -0
  1797. package/workspace-snapshot/files/src/setup/linear-workflow-status-repair.ts +278 -0
  1798. package/workspace-snapshot/files/src/setup/linear-workspace-apply.ts +309 -0
  1799. package/workspace-snapshot/files/src/setup/linear-workspace-drift.ts +4 -0
  1800. package/workspace-snapshot/files/src/setup/linear-workspace-migration.ts +314 -0
  1801. package/workspace-snapshot/files/src/setup/linear-workspace-plan.ts +407 -0
  1802. package/workspace-snapshot/files/src/setup/local-apply-actions.ts +524 -0
  1803. package/workspace-snapshot/files/src/setup/local-readiness-checks.ts +466 -0
  1804. package/workspace-snapshot/files/src/setup/mock-git-repository-store.ts +291 -0
  1805. package/workspace-snapshot/files/src/setup/mock-target-workflow-finalization.ts +471 -0
  1806. package/workspace-snapshot/files/src/setup/model-settings.ts +73 -0
  1807. package/workspace-snapshot/files/src/setup/packaged-default-route.ts +29 -0
  1808. package/workspace-snapshot/files/src/setup/permission-model.ts +79 -0
  1809. package/workspace-snapshot/files/src/setup/redact-secrets.ts +85 -0
  1810. package/workspace-snapshot/files/src/setup/release-sync-managed-runner.ts +604 -0
  1811. package/workspace-snapshot/files/src/setup/remote-actions.ts +214 -0
  1812. package/workspace-snapshot/files/src/setup/remote-apply-actions.ts +423 -0
  1813. package/workspace-snapshot/files/src/setup/remote-preview-fingerprint.ts +37 -0
  1814. package/workspace-snapshot/files/src/setup/remote-setup-summary.ts +143 -0
  1815. package/workspace-snapshot/files/src/setup/runner-upgrade-canary-dispatch.ts +69 -0
  1816. package/workspace-snapshot/files/src/setup/runner-upgrade-canary.ts +213 -0
  1817. package/workspace-snapshot/files/src/setup/runner-upgrade-evidence.ts +30 -0
  1818. package/workspace-snapshot/files/src/setup/runner-upgrade-pending-state.ts +116 -0
  1819. package/workspace-snapshot/files/src/setup/runner-upgrade-progress.ts +150 -0
  1820. package/workspace-snapshot/files/src/setup/runner-upgrade-provider-live.ts +520 -0
  1821. package/workspace-snapshot/files/src/setup/runner-upgrade-provider.ts +852 -0
  1822. package/workspace-snapshot/files/src/setup/runner-upgrade-status-cache.ts +61 -0
  1823. package/workspace-snapshot/files/src/setup/runner-upgrade-three-way.ts +162 -0
  1824. package/workspace-snapshot/files/src/setup/runner-upgrade-timeouts.ts +386 -0
  1825. package/workspace-snapshot/files/src/setup/runner-upgrade-types.ts +176 -0
  1826. package/workspace-snapshot/files/src/setup/runner-upgrade-worker.ts +149 -0
  1827. package/workspace-snapshot/files/src/setup/runner-upgrade.ts +1926 -0
  1828. package/workspace-snapshot/files/src/setup/secret-change-token.ts +14 -0
  1829. package/workspace-snapshot/files/src/setup/service-verification.ts +689 -0
  1830. package/workspace-snapshot/files/src/setup/settings-config-patch.ts +461 -0
  1831. package/workspace-snapshot/files/src/setup/setup-actions.ts +183 -0
  1832. package/workspace-snapshot/files/src/setup/setup-github-auth.ts +15 -0
  1833. package/workspace-snapshot/files/src/setup/setup-state.ts +85 -0
  1834. package/workspace-snapshot/files/src/setup/stale-smoke-repo.ts +141 -0
  1835. package/workspace-snapshot/files/src/setup/step6-automatic-control-state.ts +59 -0
  1836. package/workspace-snapshot/files/src/setup/sync-downstream-summaries.ts +105 -0
  1837. package/workspace-snapshot/files/src/setup/sync-harness-config-cloud.ts +128 -0
  1838. package/workspace-snapshot/files/src/setup/target-repo-provisioning-pending-state.ts +160 -0
  1839. package/workspace-snapshot/files/src/setup/target-repo-provisioning.ts +704 -0
  1840. package/workspace-snapshot/files/src/setup/target-workflow-finalization-lock.ts +95 -0
  1841. package/workspace-snapshot/files/src/setup/target-workflow-finalization-progress.ts +166 -0
  1842. package/workspace-snapshot/files/src/setup/target-workflow-finalization-types.ts +182 -0
  1843. package/workspace-snapshot/files/src/setup/target-workflow-finalization.ts +1688 -0
  1844. package/workspace-snapshot/files/src/setup/target-workflow-setup.ts +249 -0
  1845. package/workspace-snapshot/files/src/setup/test-only-provisioning-provider.ts +51 -0
  1846. package/workspace-snapshot/files/src/setup/test-only-remote-setup-provider.ts +51 -0
  1847. package/workspace-snapshot/files/src/setup/test-only-runner-upgrade-provider.ts +51 -0
  1848. package/workspace-snapshot/files/src/setup/test-only-target-repo-provisioning-provider.ts +47 -0
  1849. package/workspace-snapshot/files/src/setup/tweetsodium.d.ts +14 -0
  1850. package/workspace-snapshot/files/src/setup/vercel-bridge-artifact.ts +174 -0
  1851. package/workspace-snapshot/files/src/setup/vercel-bridge-deploy.ts +217 -0
  1852. package/workspace-snapshot/files/src/setup/vercel-bridge-diagnostics.ts +510 -0
  1853. package/workspace-snapshot/files/src/setup/vercel-bridge-options.ts +164 -0
  1854. package/workspace-snapshot/files/src/setup/vercel-bridge-orchestration-summary.ts +46 -0
  1855. package/workspace-snapshot/files/src/setup/vercel-bridge-project-marker.ts +8 -0
  1856. package/workspace-snapshot/files/src/setup/vercel-bridge-readiness.ts +151 -0
  1857. package/workspace-snapshot/files/src/setup/vercel-bridge-redeploy-normalize.ts +244 -0
  1858. package/workspace-snapshot/files/src/setup/vercel-bridge-redeploy-poll.ts +960 -0
  1859. package/workspace-snapshot/files/src/setup/vercel-bridge-redeploy-state.ts +49 -0
  1860. package/workspace-snapshot/files/src/setup/vercel-bridge-structured-log.ts +91 -0
  1861. package/workspace-snapshot/files/src/setup/vercel-bridge-verification.ts +63 -0
  1862. package/workspace-snapshot/files/src/setup/vercel-production-redeploy.ts +298 -0
  1863. package/workspace-snapshot/files/src/setup/vercel-project-name.ts +38 -0
  1864. package/workspace-snapshot/files/src/setup/vercel-setup-apply.ts +1404 -0
  1865. package/workspace-snapshot/files/src/setup/vercel-setup-client.ts +789 -0
  1866. package/workspace-snapshot/files/src/setup/vercel-setup-plan.ts +742 -0
  1867. package/workspace-snapshot/files/src/setup/vercel-setup-summary.ts +52 -0
  1868. package/workspace-snapshot/files/src/setup/vercel-webhook-probe.ts +161 -0
  1869. package/workspace-snapshot/files/src/setup/workflow-config-snapshot.ts +22 -0
  1870. package/workspace-snapshot/files/src/setup/workflow-install-branch-recovery.ts +660 -0
  1871. package/workspace-snapshot/files/src/setup/workflow-install-merge-errors.ts +216 -0
  1872. package/workspace-snapshot/files/src/setup/workflow-install-merge-gate.ts +25 -0
  1873. package/workspace-snapshot/files/src/setup/workflow-model-save-queue.ts +251 -0
  1874. package/workspace-snapshot/files/src/setup/workflow-model-sync-lock.ts +103 -0
  1875. package/workspace-snapshot/files/src/setup/workflow-model-sync.ts +259 -0
  1876. package/workspace-snapshot/files/src/setup/workflow-models-sync-evidence.ts +34 -0
  1877. package/workspace-snapshot/files/src/types/parsed-issue.ts +17 -0
  1878. package/workspace-snapshot/files/src/types/run.ts +200 -0
  1879. package/workspace-snapshot/files/src/validate/constants.ts +2 -0
  1880. package/workspace-snapshot/files/src/validate/issue.ts +332 -0
  1881. package/workspace-snapshot/files/src/validate/report.ts +68 -0
  1882. package/workspace-snapshot/files/src/validate/types.ts +32 -0
  1883. package/workspace-snapshot/files/src/webhook/dispatch-github.ts +44 -0
  1884. package/workspace-snapshot/files/src/webhook/dispatch-statuses.ts +18 -0
  1885. package/workspace-snapshot/files/src/webhook/extract-issue-key.ts +49 -0
  1886. package/workspace-snapshot/files/src/webhook/filter.ts +64 -0
  1887. package/workspace-snapshot/files/src/webhook/handle-linear-webhook.ts +215 -0
  1888. package/workspace-snapshot/files/src/webhook/parse-linear-issue-event.ts +109 -0
  1889. package/workspace-snapshot/files/src/webhook/redact-log.ts +26 -0
  1890. package/workspace-snapshot/files/src/webhook/types.ts +78 -0
  1891. package/workspace-snapshot/files/src/webhook/verify.ts +68 -0
  1892. package/workspace-snapshot/files/src/webhook/workflow-command.ts +10 -0
  1893. package/workspace-snapshot/files/src/workflow/canonical-product-development-workflow.ts +584 -0
  1894. package/workspace-snapshot/files/src/workflow/canonical-workflow-gate.ts +255 -0
  1895. package/workspace-snapshot/files/src/workflow/canonical-workflow-validation.ts +297 -0
  1896. package/workspace-snapshot/files/src/workflow/dispatch-metadata.ts +59 -0
  1897. package/workspace-snapshot/files/src/workflow/finalize-harness-run.ts +83 -0
  1898. package/workspace-snapshot/files/src/workflow/manifest-summary.ts +57 -0
  1899. package/workspace-snapshot/files/src/workflow/preflight-canonical.ts +40 -0
  1900. package/workspace-snapshot/files/src/workflow/production-sync-dispatch.ts +65 -0
  1901. package/workspace-snapshot/files/src/workflow/summarize-manifest.ts +20 -0
  1902. package/workspace-snapshot/files/src/workflow/validate.ts +43 -0
  1903. package/workspace-snapshot/files/src/workflow/write-dispatch-metadata.ts +8 -0
  1904. package/workspace-snapshot/files/src/workflow/write-fallback-manifest.ts +39 -0
  1905. package/workspace-snapshot/files/src/workflow-page/bootstrap.ts +277 -0
  1906. package/workspace-snapshot/files/src/workflow-page/catalog-validation.ts +158 -0
  1907. package/workspace-snapshot/files/src/workflow-page/constants.ts +22 -0
  1908. package/workspace-snapshot/files/src/workflow-page/current-workflow.ts +225 -0
  1909. package/workspace-snapshot/files/src/workflow-page/fingerprint.ts +9 -0
  1910. package/workspace-snapshot/files/src/workflow-page/fixture-definition.ts +16 -0
  1911. package/workspace-snapshot/files/src/workflow-page/fixture-role-models.ts +50 -0
  1912. package/workspace-snapshot/files/src/workflow-page/fixtures/basic-current-workflow.ts +39 -0
  1913. package/workspace-snapshot/files/src/workflow-page/fixtures/branching-pr-review.ts +11 -0
  1914. package/workspace-snapshot/files/src/workflow-page/fixtures/canonical-violations.ts +50 -0
  1915. package/workspace-snapshot/files/src/workflow-page/fixtures/credential-errors.ts +13 -0
  1916. package/workspace-snapshot/files/src/workflow-page/fixtures/empty-linear-statuses.ts +10 -0
  1917. package/workspace-snapshot/files/src/workflow-page/fixtures/hundred-node-performance.ts +23 -0
  1918. package/workspace-snapshot/files/src/workflow-page/fixtures/index.ts +37 -0
  1919. package/workspace-snapshot/files/src/workflow-page/fixtures/model-catalog-snapshot.ts +34 -0
  1920. package/workspace-snapshot/files/src/workflow-page/fixtures/workflow-scopes.ts +18 -0
  1921. package/workspace-snapshot/files/src/workflow-page/linear-status-source.ts +65 -0
  1922. package/workspace-snapshot/files/src/workflow-page/model-catalog-lookup.ts +8 -0
  1923. package/workspace-snapshot/files/src/workflow-page/model-catalog-utils.ts +83 -0
  1924. package/workspace-snapshot/files/src/workflow-page/model-catalog.ts +60 -0
  1925. package/workspace-snapshot/files/src/workflow-page/scope-branches.ts +27 -0
  1926. package/workspace-snapshot/files/src/workflow-page/source-context.ts +91 -0
  1927. package/workspace-snapshot/files/src/workflow-page/types.ts +134 -0
  1928. package/workspace-snapshot/files/src/workflow-page/workflow-scopes.ts +73 -0
  1929. package/workspace-snapshot/files/templates/eval-scorecard.md +54 -0
  1930. package/workspace-snapshot/files/templates/implementation-plan.md +59 -0
  1931. package/workspace-snapshot/files/templates/linear-issue.md +53 -0
  1932. package/workspace-snapshot/files/templates/pr-readiness-report.md +57 -0
  1933. package/workspace-snapshot/files/tests/agents/cursor-provider.test.ts +250 -0
  1934. package/workspace-snapshot/files/tests/artifacts/manifest.test.ts +54 -0
  1935. package/workspace-snapshot/files/tests/artifacts/redact.test.ts +58 -0
  1936. package/workspace-snapshot/files/tests/cli/doctor.test.ts +120 -0
  1937. package/workspace-snapshot/files/tests/cli/finalize-exit.test.ts +28 -0
  1938. package/workspace-snapshot/files/tests/cli/json-out-manifest.test.ts +96 -0
  1939. package/workspace-snapshot/files/tests/cli/operator-init.test.ts +146 -0
  1940. package/workspace-snapshot/files/tests/cli/sync-production-dispatch.test.ts +103 -0
  1941. package/workspace-snapshot/files/tests/cli/validate-issue.test.ts +99 -0
  1942. package/workspace-snapshot/files/tests/config/cloud-config-fingerprint.test.ts +62 -0
  1943. package/workspace-snapshot/files/tests/config/legacy-linear-top-level.test.ts +86 -0
  1944. package/workspace-snapshot/files/tests/config/load-dotenv.test.ts +64 -0
  1945. package/workspace-snapshot/files/tests/config/onboarding-cloud-runner-contract.test.ts +139 -0
  1946. package/workspace-snapshot/files/tests/config/resolve-config.test.ts +273 -0
  1947. package/workspace-snapshot/files/tests/config/resolve-linear-workspace.test.ts +314 -0
  1948. package/workspace-snapshot/files/tests/config/role-models.test.ts +35 -0
  1949. package/workspace-snapshot/files/tests/config/schema.test.ts +107 -0
  1950. package/workspace-snapshot/files/tests/cursor/agent-factory.test.ts +341 -0
  1951. package/workspace-snapshot/files/tests/cursor/git-result.test.ts +77 -0
  1952. package/workspace-snapshot/files/tests/cursor/model.test.ts +108 -0
  1953. package/workspace-snapshot/files/tests/cursor/revision-git-result.test.ts +68 -0
  1954. package/workspace-snapshot/files/tests/cursor/role-models.test.ts +52 -0
  1955. package/workspace-snapshot/files/tests/cursor/run-cleanup.test.ts +52 -0
  1956. package/workspace-snapshot/files/tests/cursor/run-observer.test.ts +316 -0
  1957. package/workspace-snapshot/files/tests/cursor/urls.test.ts +27 -0
  1958. package/workspace-snapshot/files/tests/fixtures/config/minimal.json +16 -0
  1959. package/workspace-snapshot/files/tests/fixtures/github/pr-4-vercel-comment.json +10 -0
  1960. package/workspace-snapshot/files/tests/fixtures/issues/broad-for-direct-impl.md +28 -0
  1961. package/workspace-snapshot/files/tests/fixtures/issues/context-target-repo.md +21 -0
  1962. package/workspace-snapshot/files/tests/fixtures/issues/explicit-target-repo.md +21 -0
  1963. package/workspace-snapshot/files/tests/fixtures/issues/gpt-broad-example.md +35 -0
  1964. package/workspace-snapshot/files/tests/fixtures/issues/gpt-narrow-example.md +30 -0
  1965. package/workspace-snapshot/files/tests/fixtures/issues/invalid-missing-task.md +16 -0
  1966. package/workspace-snapshot/files/tests/fixtures/issues/invalid-no-ac-bullets.md +20 -0
  1967. package/workspace-snapshot/files/tests/fixtures/issues/missing-acceptance-criteria.md +17 -0
  1968. package/workspace-snapshot/files/tests/fixtures/issues/unknown-repo.md +20 -0
  1969. package/workspace-snapshot/files/tests/fixtures/issues/valid-minimal.md +20 -0
  1970. package/workspace-snapshot/files/tests/fixtures/issues/valid-project-only.md +17 -0
  1971. package/workspace-snapshot/files/tests/fixtures/issues/valid-target-app.md +31 -0
  1972. package/workspace-snapshot/files/tests/fixtures/linear/implementation-comment-wes-13.md +16 -0
  1973. package/workspace-snapshot/files/tests/fixtures/linear/pm-feedback-wes-13.md +3 -0
  1974. package/workspace-snapshot/files/tests/fixtures/webhook/issue-building-to-pr-open.json +27 -0
  1975. package/workspace-snapshot/files/tests/fixtures/webhook/issue-pm-review.json +27 -0
  1976. package/workspace-snapshot/files/tests/fixtures/webhook/issue-ready-for-planning.json +27 -0
  1977. package/workspace-snapshot/files/tests/fixtures/webhook/issue-title-only-update.json +25 -0
  1978. package/workspace-snapshot/files/tests/fixtures/workflows/harness-auto-runner-with-production-sync.yml +586 -0
  1979. package/workspace-snapshot/files/tests/fixtures/workflows/trigger-harness-production-sync.yml +31 -0
  1980. package/workspace-snapshot/files/tests/github/actions-url.test.ts +45 -0
  1981. package/workspace-snapshot/files/tests/github/auth-verification-retry.test.ts +141 -0
  1982. package/workspace-snapshot/files/tests/github/base-branch.test.ts +156 -0
  1983. package/workspace-snapshot/files/tests/github/check-policy.test.ts +59 -0
  1984. package/workspace-snapshot/files/tests/github/client.test.ts +226 -0
  1985. package/workspace-snapshot/files/tests/github/commit-reachability.test.ts +148 -0
  1986. package/workspace-snapshot/files/tests/github/merge-result.test.ts +26 -0
  1987. package/workspace-snapshot/files/tests/github/pr-discovery.test.ts +55 -0
  1988. package/workspace-snapshot/files/tests/github/pr-inspector.test.ts +393 -0
  1989. package/workspace-snapshot/files/tests/github/pr-url.test.ts +30 -0
  1990. package/workspace-snapshot/files/tests/github/rate-limit-metadata.test.ts +92 -0
  1991. package/workspace-snapshot/files/tests/gui/app-shell-settings-menu.test.ts +115 -0
  1992. package/workspace-snapshot/files/tests/gui/configure-fix-loop.test.ts +473 -0
  1993. package/workspace-snapshot/files/tests/gui/configure-health.test.ts +67 -0
  1994. package/workspace-snapshot/files/tests/gui/configure-navigation-contract.test.ts +107 -0
  1995. package/workspace-snapshot/files/tests/gui/configure-target-repo-create.test.ts +103 -0
  1996. package/workspace-snapshot/files/tests/gui/configure-workflow-readiness.test.ts +117 -0
  1997. package/workspace-snapshot/files/tests/gui/data-sharing-preferences.test.ts +43 -0
  1998. package/workspace-snapshot/files/tests/gui/design-system.test.ts +146 -0
  1999. package/workspace-snapshot/files/tests/gui/dev-server-process.test.ts +22 -0
  2000. package/workspace-snapshot/files/tests/gui/guided-linear-workspace-card.test.ts +168 -0
  2001. package/workspace-snapshot/files/tests/gui/guided-operation-ux.test.ts +100 -0
  2002. package/workspace-snapshot/files/tests/gui/guided-setup-progress.test.ts +267 -0
  2003. package/workspace-snapshot/files/tests/gui/guided-setup.test.ts +246 -0
  2004. package/workspace-snapshot/files/tests/gui/guided-target-workflow-polling.test.ts +38 -0
  2005. package/workspace-snapshot/files/tests/gui/linear-association-draft.test.ts +93 -0
  2006. package/workspace-snapshot/files/tests/gui/local-readiness-stream.test.ts +154 -0
  2007. package/workspace-snapshot/files/tests/gui/local-readiness-visual-queue.test.ts +69 -0
  2008. package/workspace-snapshot/files/tests/gui/local-readiness-workspace.test.ts +299 -0
  2009. package/workspace-snapshot/files/tests/gui/m6-configure-boundaries.test.ts +1026 -0
  2010. package/workspace-snapshot/files/tests/gui/observability-preferences-route.test.ts +343 -0
  2011. package/workspace-snapshot/files/tests/gui/observability-request-guard.test.ts +177 -0
  2012. package/workspace-snapshot/files/tests/gui/packaged-harness-cloud-secrets-routes.test.ts +303 -0
  2013. package/workspace-snapshot/files/tests/gui/packaged-harness-provisioning-routes.test.ts +212 -0
  2014. package/workspace-snapshot/files/tests/gui/packaged-harness-target-workflow-routes.test.ts +227 -0
  2015. package/workspace-snapshot/files/tests/gui/packaged-runner-upgrade-routes.test.ts +532 -0
  2016. package/workspace-snapshot/files/tests/gui/packaged-target-repo-provisioning-routes.test.ts +108 -0
  2017. package/workspace-snapshot/files/tests/gui/port.test.ts +74 -0
  2018. package/workspace-snapshot/files/tests/gui/repo-root.test.ts +115 -0
  2019. package/workspace-snapshot/files/tests/gui/runner-upgrade-settings-card.test.ts +97 -0
  2020. package/workspace-snapshot/files/tests/gui/settings-cursor.test.ts +39 -0
  2021. package/workspace-snapshot/files/tests/gui/settings-deployments-autoload.test.ts +57 -0
  2022. package/workspace-snapshot/files/tests/gui/settings-mutation-editors.test.ts +154 -0
  2023. package/workspace-snapshot/files/tests/gui/settings-navigation.test.ts +95 -0
  2024. package/workspace-snapshot/files/tests/gui/settings-repositories-page.test.ts +54 -0
  2025. package/workspace-snapshot/files/tests/gui/setup-api.test.ts +181 -0
  2026. package/workspace-snapshot/files/tests/gui/setup-json-response.test.ts +34 -0
  2027. package/workspace-snapshot/files/tests/gui/step6-remote-state.test.ts +75 -0
  2028. package/workspace-snapshot/files/tests/gui/step7-settings-polish.test.ts +180 -0
  2029. package/workspace-snapshot/files/tests/gui/sync-downstream-summaries.test.ts +198 -0
  2030. package/workspace-snapshot/files/tests/gui/target-workflow-pr-card.test.ts +68 -0
  2031. package/workspace-snapshot/files/tests/gui/vercel-bridge-polling-ui.test.ts +74 -0
  2032. package/workspace-snapshot/files/tests/gui/verification-state.test.ts +217 -0
  2033. package/workspace-snapshot/files/tests/gui/workflow-bootstrap-route.test.ts +78 -0
  2034. package/workspace-snapshot/files/tests/gui/workflow-model-autosave.test.ts +36 -0
  2035. package/workspace-snapshot/files/tests/gui/workflow-source-ui.test.ts +22 -0
  2036. package/workspace-snapshot/files/tests/gui/workflow-violation-messages.test.ts +39 -0
  2037. package/workspace-snapshot/files/tests/gui/workflow-workspace.test.ts +188 -0
  2038. package/workspace-snapshot/files/tests/linear/comment-assertions.ts +24 -0
  2039. package/workspace-snapshot/files/tests/linear/comment-card.test.ts +73 -0
  2040. package/workspace-snapshot/files/tests/linear/comments.test.ts +185 -0
  2041. package/workspace-snapshot/files/tests/linear/handoff-comment.test.ts +34 -0
  2042. package/workspace-snapshot/files/tests/linear/markers.test.ts +126 -0
  2043. package/workspace-snapshot/files/tests/linear/merge-comment.test.ts +61 -0
  2044. package/workspace-snapshot/files/tests/linear/merge-source-comment.test.ts +49 -0
  2045. package/workspace-snapshot/files/tests/linear/parser.test.ts +83 -0
  2046. package/workspace-snapshot/files/tests/linear/planning-comment.test.ts +29 -0
  2047. package/workspace-snapshot/files/tests/linear/pm-feedback-comment.test.ts +63 -0
  2048. package/workspace-snapshot/files/tests/linear/run-status-comment.test.ts +143 -0
  2049. package/workspace-snapshot/files/tests/observability/analytics-schemas.test.ts +74 -0
  2050. package/workspace-snapshot/files/tests/observability/context.test.ts +132 -0
  2051. package/workspace-snapshot/files/tests/observability/fatal-process.test.ts +106 -0
  2052. package/workspace-snapshot/files/tests/observability/foundation.test.ts +229 -0
  2053. package/workspace-snapshot/files/tests/observability/instrumentation-dev-startup.test.ts +79 -0
  2054. package/workspace-snapshot/files/tests/observability/lifecycle.test.ts +348 -0
  2055. package/workspace-snapshot/files/tests/observability/package-config.test.ts +66 -0
  2056. package/workspace-snapshot/files/tests/observability/packaged-config.test.ts +47 -0
  2057. package/workspace-snapshot/files/tests/observability/posthog-dashboard-contract.test.ts +133 -0
  2058. package/workspace-snapshot/files/tests/observability/posthog-envelope.test.ts +167 -0
  2059. package/workspace-snapshot/files/tests/observability/posthog-shutdown.test.ts +68 -0
  2060. package/workspace-snapshot/files/tests/observability/privacy-schema.test.ts +83 -0
  2061. package/workspace-snapshot/files/tests/observability/provisioning-analytics.test.ts +54 -0
  2062. package/workspace-snapshot/files/tests/observability/public-config-enablement.test.ts +48 -0
  2063. package/workspace-snapshot/files/tests/observability/sentry-envelope.test.ts +289 -0
  2064. package/workspace-snapshot/files/tests/observability/sentry-outbound-privacy.test.ts +141 -0
  2065. package/workspace-snapshot/files/tests/observability/sentry-privacy-assertions.ts +52 -0
  2066. package/workspace-snapshot/files/tests/observability/sentry-server-only.test.ts +68 -0
  2067. package/workspace-snapshot/files/tests/observability/sentry-transport.test.ts +88 -0
  2068. package/workspace-snapshot/files/tests/observability/session-dedupe.test.ts +117 -0
  2069. package/workspace-snapshot/files/tests/observability/snapshot-exclusion.test.ts +9 -0
  2070. package/workspace-snapshot/files/tests/p-dev/browser.test.ts +38 -0
  2071. package/workspace-snapshot/files/tests/p-dev/cli.test.ts +39 -0
  2072. package/workspace-snapshot/files/tests/p-dev/git-object-plumbing.test.ts +188 -0
  2073. package/workspace-snapshot/files/tests/p-dev/installed-tarball-gui.test.ts +475 -0
  2074. package/workspace-snapshot/files/tests/p-dev/installed-tarball-loopback.test.ts +986 -0
  2075. package/workspace-snapshot/files/tests/p-dev/installed-tarball-snapshot-provisioning.test.ts +361 -0
  2076. package/workspace-snapshot/files/tests/p-dev/launch.test.ts +162 -0
  2077. package/workspace-snapshot/files/tests/p-dev/next-bin.test.ts +16 -0
  2078. package/workspace-snapshot/files/tests/p-dev/node-version.test.ts +20 -0
  2079. package/workspace-snapshot/files/tests/p-dev/package-manifest.test.ts +49 -0
  2080. package/workspace-snapshot/files/tests/p-dev/package-packed-artifact.test.ts +235 -0
  2081. package/workspace-snapshot/files/tests/p-dev/package-paths.test.ts +94 -0
  2082. package/workspace-snapshot/files/tests/p-dev/package-version.test.ts +55 -0
  2083. package/workspace-snapshot/files/tests/p-dev/packaged-workspace-setup.test.ts +87 -0
  2084. package/workspace-snapshot/files/tests/p-dev/runtime-mode.test.ts +18 -0
  2085. package/workspace-snapshot/files/tests/p-dev/workspace-snapshot-digest.test.ts +61 -0
  2086. package/workspace-snapshot/files/tests/p-dev/workspace-snapshot-generator.test.ts +76 -0
  2087. package/workspace-snapshot/files/tests/p-dev/workspace-snapshot-policy.test.ts +41 -0
  2088. package/workspace-snapshot/files/tests/p-dev/workspace-snapshot-validation.test.ts +158 -0
  2089. package/workspace-snapshot/files/tests/p-dev/workspace.test.ts +80 -0
  2090. package/workspace-snapshot/files/tests/preview/production-from-merge.test.ts +39 -0
  2091. package/workspace-snapshot/files/tests/preview/vercel-from-pr.test.ts +120 -0
  2092. package/workspace-snapshot/files/tests/product/initialization-state.test.ts +78 -0
  2093. package/workspace-snapshot/files/tests/product/read-product-marker.test.ts +46 -0
  2094. package/workspace-snapshot/files/tests/prompts/builder.test.ts +59 -0
  2095. package/workspace-snapshot/files/tests/prompts/implementation-builder.test.ts +77 -0
  2096. package/workspace-snapshot/files/tests/prompts/issue-intake-chatgpt.test.ts +106 -0
  2097. package/workspace-snapshot/files/tests/resolver/allowed-repos.test.ts +44 -0
  2098. package/workspace-snapshot/files/tests/resolver/normalize-repo.test.ts +44 -0
  2099. package/workspace-snapshot/files/tests/resolver/target-repo.test.ts +157 -0
  2100. package/workspace-snapshot/files/tests/runner/builder-thread-acquire.test.ts +288 -0
  2101. package/workspace-snapshot/files/tests/runner/builder-thread-idempotency.test.ts +42 -0
  2102. package/workspace-snapshot/files/tests/runner/builder-thread-lineage.test.ts +206 -0
  2103. package/workspace-snapshot/files/tests/runner/building-recovery.test.ts +30 -0
  2104. package/workspace-snapshot/files/tests/runner/delivery-dedup.test.ts +53 -0
  2105. package/workspace-snapshot/files/tests/runner/dry-run.test.ts +128 -0
  2106. package/workspace-snapshot/files/tests/runner/execution-environment.test.ts +114 -0
  2107. package/workspace-snapshot/files/tests/runner/failure-finalization-runner-upgrade.test.ts +112 -0
  2108. package/workspace-snapshot/files/tests/runner/failure-finalization.test.ts +203 -0
  2109. package/workspace-snapshot/files/tests/runner/handoff.test.ts +378 -0
  2110. package/workspace-snapshot/files/tests/runner/idempotency-handoff.test.ts +171 -0
  2111. package/workspace-snapshot/files/tests/runner/idempotency-implementation.test.ts +144 -0
  2112. package/workspace-snapshot/files/tests/runner/idempotency-merge.test.ts +118 -0
  2113. package/workspace-snapshot/files/tests/runner/idempotency-revision.test.ts +112 -0
  2114. package/workspace-snapshot/files/tests/runner/idempotency.test.ts +84 -0
  2115. package/workspace-snapshot/files/tests/runner/implementation.test.ts +215 -0
  2116. package/workspace-snapshot/files/tests/runner/integration-repair.test.ts +278 -0
  2117. package/workspace-snapshot/files/tests/runner/merge-linear-metadata.test.ts +90 -0
  2118. package/workspace-snapshot/files/tests/runner/merge.test.ts +839 -0
  2119. package/workspace-snapshot/files/tests/runner/orchestrator.test.ts +301 -0
  2120. package/workspace-snapshot/files/tests/runner/phase-args.test.ts +38 -0
  2121. package/workspace-snapshot/files/tests/runner/planning.test.ts +169 -0
  2122. package/workspace-snapshot/files/tests/runner/preflight-canonical.test.ts +73 -0
  2123. package/workspace-snapshot/files/tests/runner/preflight-fail-closed.integration.test.ts +418 -0
  2124. package/workspace-snapshot/files/tests/runner/preview-capability.test.ts +46 -0
  2125. package/workspace-snapshot/files/tests/runner/resolve-route.test.ts +255 -0
  2126. package/workspace-snapshot/files/tests/runner/revision.test.ts +434 -0
  2127. package/workspace-snapshot/files/tests/runner/uninitialized-product-routing.test.ts +120 -0
  2128. package/workspace-snapshot/files/tests/setup/config-builder.test.ts +136 -0
  2129. package/workspace-snapshot/files/tests/setup/config-local-editor.test.ts +164 -0
  2130. package/workspace-snapshot/files/tests/setup/connect-services-credential-availability.test.ts +151 -0
  2131. package/workspace-snapshot/files/tests/setup/connect-services-env.test.ts +84 -0
  2132. package/workspace-snapshot/files/tests/setup/control-plane-readiness.test.ts +145 -0
  2133. package/workspace-snapshot/files/tests/setup/control-plane-state-lock.test.ts +67 -0
  2134. package/workspace-snapshot/files/tests/setup/doctor-summary.test.ts +48 -0
  2135. package/workspace-snapshot/files/tests/setup/env-merge.test.ts +177 -0
  2136. package/workspace-snapshot/files/tests/setup/env-writer.test.ts +97 -0
  2137. package/workspace-snapshot/files/tests/setup/first-run-readiness.test.ts +1231 -0
  2138. package/workspace-snapshot/files/tests/setup/generated-instructions.test.ts +48 -0
  2139. package/workspace-snapshot/files/tests/setup/github-dispatch-token.test.ts +159 -0
  2140. package/workspace-snapshot/files/tests/setup/github-remote-provider.test.ts +66 -0
  2141. package/workspace-snapshot/files/tests/setup/github-remote-setup-live.test.ts +59 -0
  2142. package/workspace-snapshot/files/tests/setup/github-repository-name.test.ts +28 -0
  2143. package/workspace-snapshot/files/tests/setup/github-workflow-permissions.test.ts +71 -0
  2144. package/workspace-snapshot/files/tests/setup/gui-remote-storage.test.ts +41 -0
  2145. package/workspace-snapshot/files/tests/setup/gui-view-model.test.ts +251 -0
  2146. package/workspace-snapshot/files/tests/setup/guided-config-form.test.ts +54 -0
  2147. package/workspace-snapshot/files/tests/setup/harness-dispatch-repo.test.ts +394 -0
  2148. package/workspace-snapshot/files/tests/setup/harness-managed-repo-marker.test.ts +141 -0
  2149. package/workspace-snapshot/files/tests/setup/harness-provisioning-context.test.ts +89 -0
  2150. package/workspace-snapshot/files/tests/setup/harness-provisioning-pending-state.test.ts +88 -0
  2151. package/workspace-snapshot/files/tests/setup/harness-repo-provisioning.test.ts +897 -0
  2152. package/workspace-snapshot/files/tests/setup/harness-secret-setup.test.ts +255 -0
  2153. package/workspace-snapshot/files/tests/setup/harness-snapshot-bulk-fixture.ts +72 -0
  2154. package/workspace-snapshot/files/tests/setup/harness-snapshot-bulk-installed.test.ts +93 -0
  2155. package/workspace-snapshot/files/tests/setup/harness-snapshot-default-branch.test.ts +73 -0
  2156. package/workspace-snapshot/files/tests/setup/harness-snapshot-description-finalization.test.ts +136 -0
  2157. package/workspace-snapshot/files/tests/setup/harness-snapshot-git-transport.test.ts +518 -0
  2158. package/workspace-snapshot/files/tests/setup/harness-snapshot-marker-tree.test.ts +61 -0
  2159. package/workspace-snapshot/files/tests/setup/harness-snapshot-reconciliation.test.ts +132 -0
  2160. package/workspace-snapshot/files/tests/setup/harness-snapshot-structured-errors.test.ts +137 -0
  2161. package/workspace-snapshot/files/tests/setup/harness-snapshot-upload-rate-limit.test.ts +105 -0
  2162. package/workspace-snapshot/files/tests/setup/harness-step-readiness.test.ts +145 -0
  2163. package/workspace-snapshot/files/tests/setup/harness-workspace-snapshot-loader.test.ts +142 -0
  2164. package/workspace-snapshot/files/tests/setup/initial-setup-lifecycle.test.ts +220 -0
  2165. package/workspace-snapshot/files/tests/setup/linear-setup-apply.test.ts +134 -0
  2166. package/workspace-snapshot/files/tests/setup/linear-setup-plan.test.ts +149 -0
  2167. package/workspace-snapshot/files/tests/setup/linear-webhook-env-local.test.ts +95 -0
  2168. package/workspace-snapshot/files/tests/setup/linear-webhook-secret.test.ts +256 -0
  2169. package/workspace-snapshot/files/tests/setup/linear-workflow-status-repair.test.ts +314 -0
  2170. package/workspace-snapshot/files/tests/setup/linear-workspace-migration.test.ts +173 -0
  2171. package/workspace-snapshot/files/tests/setup/linear-workspace-plan.test.ts +247 -0
  2172. package/workspace-snapshot/files/tests/setup/live-provisioning-error-preservation.test.ts +98 -0
  2173. package/workspace-snapshot/files/tests/setup/local-apply-actions.test.ts +365 -0
  2174. package/workspace-snapshot/files/tests/setup/local-readiness-checks.test.ts +199 -0
  2175. package/workspace-snapshot/files/tests/setup/mock-canonical-preflight.ts +14 -0
  2176. package/workspace-snapshot/files/tests/setup/model-settings.test.ts +52 -0
  2177. package/workspace-snapshot/files/tests/setup/packaged-default-route.test.ts +85 -0
  2178. package/workspace-snapshot/files/tests/setup/packaged-provisioning-permissions.test.ts +41 -0
  2179. package/workspace-snapshot/files/tests/setup/permission-model.test.ts +38 -0
  2180. package/workspace-snapshot/files/tests/setup/redact-secrets.test.ts +78 -0
  2181. package/workspace-snapshot/files/tests/setup/release-sync-managed-runner.test.ts +385 -0
  2182. package/workspace-snapshot/files/tests/setup/remote-actions.test.ts +45 -0
  2183. package/workspace-snapshot/files/tests/setup/remote-apply-actions.test.ts +302 -0
  2184. package/workspace-snapshot/files/tests/setup/remote-preview-fingerprint.test.ts +121 -0
  2185. package/workspace-snapshot/files/tests/setup/runner-upgrade-canary.test.ts +201 -0
  2186. package/workspace-snapshot/files/tests/setup/runner-upgrade-three-way.test.ts +226 -0
  2187. package/workspace-snapshot/files/tests/setup/runner-upgrade.test.ts +702 -0
  2188. package/workspace-snapshot/files/tests/setup/service-verification.test.ts +491 -0
  2189. package/workspace-snapshot/files/tests/setup/settings-config-patch.test.ts +280 -0
  2190. package/workspace-snapshot/files/tests/setup/setup-actions.test.ts +96 -0
  2191. package/workspace-snapshot/files/tests/setup/setup-form-defaults.test.ts +35 -0
  2192. package/workspace-snapshot/files/tests/setup/setup-server-remote.test.ts +90 -0
  2193. package/workspace-snapshot/files/tests/setup/setup-state.test.ts +47 -0
  2194. package/workspace-snapshot/files/tests/setup/stale-smoke-repo.test.ts +84 -0
  2195. package/workspace-snapshot/files/tests/setup/step6-automatic-apply-outcome.test.ts +304 -0
  2196. package/workspace-snapshot/files/tests/setup/step6-automatic-control-state.test.ts +73 -0
  2197. package/workspace-snapshot/files/tests/setup/target-repo-provisioning.test.ts +307 -0
  2198. package/workspace-snapshot/files/tests/setup/target-workflow-finalization-lock.test.ts +51 -0
  2199. package/workspace-snapshot/files/tests/setup/target-workflow-finalization-progress.test.ts +71 -0
  2200. package/workspace-snapshot/files/tests/setup/target-workflow-finalization-step-github.test.ts +675 -0
  2201. package/workspace-snapshot/files/tests/setup/target-workflow-finalization.test.ts +222 -0
  2202. package/workspace-snapshot/files/tests/setup/target-workflow-setup.test.ts +62 -0
  2203. package/workspace-snapshot/files/tests/setup/test-workspace-snapshot-fixture.ts +100 -0
  2204. package/workspace-snapshot/files/tests/setup/vercel-bridge-diagnostics.test.ts +429 -0
  2205. package/workspace-snapshot/files/tests/setup/vercel-bridge-options.test.ts +135 -0
  2206. package/workspace-snapshot/files/tests/setup/vercel-bridge-preview-fingerprint.test.ts +52 -0
  2207. package/workspace-snapshot/files/tests/setup/vercel-bridge-redeploy-normalize.test.ts +106 -0
  2208. package/workspace-snapshot/files/tests/setup/vercel-bridge-redeploy-poll.test.ts +656 -0
  2209. package/workspace-snapshot/files/tests/setup/vercel-bridge-structured-log.test.ts +45 -0
  2210. package/workspace-snapshot/files/tests/setup/vercel-bridge-verification.test.ts +39 -0
  2211. package/workspace-snapshot/files/tests/setup/vercel-endpoint-reachability.test.ts +60 -0
  2212. package/workspace-snapshot/files/tests/setup/vercel-production-redeploy.test.ts +184 -0
  2213. package/workspace-snapshot/files/tests/setup/vercel-setup-apply.test.ts +1557 -0
  2214. package/workspace-snapshot/files/tests/setup/vercel-setup-client.test.ts +471 -0
  2215. package/workspace-snapshot/files/tests/setup/vercel-setup-plan.test.ts +319 -0
  2216. package/workspace-snapshot/files/tests/setup/vercel-webhook-probe.test.ts +78 -0
  2217. package/workspace-snapshot/files/tests/setup/workflow-install-branch-recovery-commit.test.ts +144 -0
  2218. package/workspace-snapshot/files/tests/setup/workflow-install-branch-recovery.test.ts +133 -0
  2219. package/workspace-snapshot/files/tests/setup/workflow-install-merge-errors.test.ts +103 -0
  2220. package/workspace-snapshot/files/tests/setup/workflow-install-merge-gate.test.ts +58 -0
  2221. package/workspace-snapshot/files/tests/setup/workflow-model-save-queue.test.ts +139 -0
  2222. package/workspace-snapshot/files/tests/setup/workflow-model-sync.test.ts +141 -0
  2223. package/workspace-snapshot/files/tests/validate-issue/report.test.ts +56 -0
  2224. package/workspace-snapshot/files/tests/validate-issue/uninitialized-product.test.ts +108 -0
  2225. package/workspace-snapshot/files/tests/validate-issue/validate-issue.test.ts +202 -0
  2226. package/workspace-snapshot/files/tests/webhook/dispatch-github.test.ts +193 -0
  2227. package/workspace-snapshot/files/tests/webhook/extract-issue-key.test.ts +65 -0
  2228. package/workspace-snapshot/files/tests/webhook/filter.test.ts +187 -0
  2229. package/workspace-snapshot/files/tests/webhook/harness-auto-runner-workflow.test.ts +176 -0
  2230. package/workspace-snapshot/files/tests/webhook/parse-linear-issue-event.test.ts +89 -0
  2231. package/workspace-snapshot/files/tests/webhook/verify.test.ts +125 -0
  2232. package/workspace-snapshot/files/tests/workflow/canonical-product-development-workflow.test.ts +193 -0
  2233. package/workspace-snapshot/files/tests/workflow/canonical-workflow-validation.test.ts +202 -0
  2234. package/workspace-snapshot/files/tests/workflow/dispatch-metadata.test.ts +38 -0
  2235. package/workspace-snapshot/files/tests/workflow/manifest-summary.test.ts +58 -0
  2236. package/workspace-snapshot/files/tests/workflow/production-sync-dispatch.test.ts +101 -0
  2237. package/workspace-snapshot/files/tests/workflow/validate.test.ts +70 -0
  2238. package/workspace-snapshot/files/tests/workflow/workflow-shell-safety.test.ts +95 -0
  2239. package/workspace-snapshot/files/tsconfig.json +22 -0
  2240. package/workspace-snapshot/files/vercel.json +10 -0
  2241. package/workspace-snapshot/files/vitest.config.ts +20 -0
  2242. package/workspace-snapshot/manifest.json +7679 -0
  2243. package/workspace-snapshot/object-pack/snapshot-2735d42c938e514f27a9b2aaf5fa2fcc68019075.idx +0 -0
  2244. package/workspace-snapshot/object-pack/snapshot-2735d42c938e514f27a9b2aaf5fa2fcc68019075.pack +0 -0
  2245. package/gui/.next/server/app/index.html +0 -1
  2246. package/gui/.next/server/app/index.meta +0 -9
  2247. package/gui/.next/server/app/index.rsc +0 -18
  2248. package/gui/.next/server/chunks/120.js +0 -81
  2249. package/gui/.next/server/chunks/200.js +0 -1
  2250. package/gui/.next/server/chunks/477.js +0 -16
  2251. package/gui/.next/server/chunks/585.js +0 -1
  2252. package/gui/.next/server/chunks/711.js +0 -1
  2253. package/gui/.next/server/chunks/900.js +0 -1
  2254. package/gui/.next/server/chunks/901.js +0 -22
  2255. package/gui/.next/static/7x8X_k4tESvkyqRnNCC9E/_buildManifest.js +0 -1
  2256. package/gui/.next/static/chunks/661-5fc9351358e2f084.js +0 -1
  2257. package/gui/.next/static/chunks/app/_not-found/page-f15332c94524c284.js +0 -1
  2258. package/gui/.next/static/chunks/app/api/setup/apply-connect-services/route-979ec1702bd9938a.js +0 -1
  2259. package/gui/.next/static/chunks/app/api/setup/apply-harness-repo-provisioning/route-979ec1702bd9938a.js +0 -1
  2260. package/gui/.next/static/chunks/app/api/setup/apply-harness-secrets/route-979ec1702bd9938a.js +0 -1
  2261. package/gui/.next/static/chunks/app/api/setup/apply-linear-setup/route-979ec1702bd9938a.js +0 -1
  2262. package/gui/.next/static/chunks/app/api/setup/apply-local-files/route-979ec1702bd9938a.js +0 -1
  2263. package/gui/.next/static/chunks/app/api/setup/apply-target-workflow/route-979ec1702bd9938a.js +0 -1
  2264. package/gui/.next/static/chunks/app/api/setup/apply-vercel-bridge/route-979ec1702bd9938a.js +0 -1
  2265. package/gui/.next/static/chunks/app/api/setup/finalize-target-workflow/route-979ec1702bd9938a.js +0 -1
  2266. package/gui/.next/static/chunks/app/api/setup/harness-provisioning-summary/route-979ec1702bd9938a.js +0 -1
  2267. package/gui/.next/static/chunks/app/api/setup/linear-options/route-979ec1702bd9938a.js +0 -1
  2268. package/gui/.next/static/chunks/app/api/setup/linear-summary/route-979ec1702bd9938a.js +0 -1
  2269. package/gui/.next/static/chunks/app/api/setup/local-readiness/route-979ec1702bd9938a.js +0 -1
  2270. package/gui/.next/static/chunks/app/api/setup/manual-harness-secret-values/route-979ec1702bd9938a.js +0 -1
  2271. package/gui/.next/static/chunks/app/api/setup/preview-connect-services/route-979ec1702bd9938a.js +0 -1
  2272. package/gui/.next/static/chunks/app/api/setup/preview-harness-repo-provisioning/route-979ec1702bd9938a.js +0 -1
  2273. package/gui/.next/static/chunks/app/api/setup/preview-harness-secrets/route-979ec1702bd9938a.js +0 -1
  2274. package/gui/.next/static/chunks/app/api/setup/preview-linear-setup/route-979ec1702bd9938a.js +0 -1
  2275. package/gui/.next/static/chunks/app/api/setup/preview-local-files/route-979ec1702bd9938a.js +0 -1
  2276. package/gui/.next/static/chunks/app/api/setup/preview-target-workflow/route-979ec1702bd9938a.js +0 -1
  2277. package/gui/.next/static/chunks/app/api/setup/preview-vercel-bridge/route-979ec1702bd9938a.js +0 -1
  2278. package/gui/.next/static/chunks/app/api/setup/remote-summary/route-979ec1702bd9938a.js +0 -1
  2279. package/gui/.next/static/chunks/app/api/setup/summary/route-979ec1702bd9938a.js +0 -1
  2280. package/gui/.next/static/chunks/app/api/setup/vercel-bridge-options/route-979ec1702bd9938a.js +0 -1
  2281. package/gui/.next/static/chunks/app/api/setup/vercel-bridge-redeploy-status/route-979ec1702bd9938a.js +0 -1
  2282. package/gui/.next/static/chunks/app/api/setup/vercel-summary/route-979ec1702bd9938a.js +0 -1
  2283. package/gui/.next/static/chunks/app/api/setup/verify-harness-repo/route-979ec1702bd9938a.js +0 -1
  2284. package/gui/.next/static/chunks/app/api/setup/verify-service/route-979ec1702bd9938a.js +0 -1
  2285. package/gui/.next/static/chunks/app/api/setup/verify-target-repo/route-979ec1702bd9938a.js +0 -1
  2286. package/gui/.next/static/chunks/app/layout-10445a363bff6a38.js +0 -1
  2287. package/gui/.next/static/chunks/app/page-979ec1702bd9938a.js +0 -1
  2288. package/gui/.next/static/chunks/app/settings/configure/page-25b2288ace2949a1.js +0 -1
  2289. package/gui/.next/static/chunks/framework-7318ce553e854ad6.js +0 -1
  2290. package/gui/.next/static/chunks/main-app-732547e2b1a794b6.js +0 -1
  2291. package/gui/.next/static/chunks/main-f7a784f5852cbbd1.js +0 -1
  2292. package/gui/.next/static/chunks/pages/_error-bda15e7831eec981.js +0 -1
  2293. package/gui/.next/static/css/cc2acc71c03f3b4b.css +0 -3
  2294. /package/gui/.next/static/{7x8X_k4tESvkyqRnNCC9E → wM7YWpWgyTcGc7H5h1u7U}/_ssgManifest.js +0 -0
@@ -1 +0,0 @@
1
- "use strict";exports.id=200,exports.ids=[200],exports.modules={74200:(a,b,c)=>{var d,e,f,g;let h;c.d(b,{YO:()=>aC,zM:()=>aB,k5:()=>aF,eu:()=>aE,ai:()=>aA,Ik:()=>aD,Yj:()=>az}),function(a){a.assertEqual=a=>{},a.assertIs=function(a){},a.assertNever=function(a){throw Error()},a.arrayToEnum=a=>{let b={};for(let c of a)b[c]=c;return b},a.getValidEnumValues=b=>{let c=a.objectKeys(b).filter(a=>"number"!=typeof b[b[a]]),d={};for(let a of c)d[a]=b[a];return a.objectValues(d)},a.objectValues=b=>a.objectKeys(b).map(function(a){return b[a]}),a.objectKeys="function"==typeof Object.keys?a=>Object.keys(a):a=>{let b=[];for(let c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b},a.find=(a,b)=>{for(let c of a)if(b(c))return c},a.isInteger="function"==typeof Number.isInteger?a=>Number.isInteger(a):a=>"number"==typeof a&&Number.isFinite(a)&&Math.floor(a)===a,a.joinValues=function(a,b=" | "){return a.map(a=>"string"==typeof a?`'${a}'`:a).join(b)},a.jsonStringifyReplacer=(a,b)=>"bigint"==typeof b?b.toString():b}(d||(d={})),(e||(e={})).mergeShapes=(a,b)=>({...a,...b});let i=d.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),j=a=>{switch(typeof a){case"undefined":return i.undefined;case"string":return i.string;case"number":return Number.isNaN(a)?i.nan:i.number;case"boolean":return i.boolean;case"function":return i.function;case"bigint":return i.bigint;case"symbol":return i.symbol;case"object":if(Array.isArray(a))return i.array;if(null===a)return i.null;if(a.then&&"function"==typeof a.then&&a.catch&&"function"==typeof a.catch)return i.promise;if("undefined"!=typeof Map&&a instanceof Map)return i.map;if("undefined"!=typeof Set&&a instanceof Set)return i.set;if("undefined"!=typeof Date&&a instanceof Date)return i.date;return i.object;default:return i.unknown}},k=d.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class l extends Error{get errors(){return this.issues}constructor(a){super(),this.issues=[],this.addIssue=a=>{this.issues=[...this.issues,a]},this.addIssues=(a=[])=>{this.issues=[...this.issues,...a]};let b=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,b):this.__proto__=b,this.name="ZodError",this.issues=a}format(a){let b=a||function(a){return a.message},c={_errors:[]},d=a=>{for(let e of a.issues)if("invalid_union"===e.code)e.unionErrors.map(d);else if("invalid_return_type"===e.code)d(e.returnTypeError);else if("invalid_arguments"===e.code)d(e.argumentsError);else if(0===e.path.length)c._errors.push(b(e));else{let a=c,d=0;for(;d<e.path.length;){let c=e.path[d];d===e.path.length-1?(a[c]=a[c]||{_errors:[]},a[c]._errors.push(b(e))):a[c]=a[c]||{_errors:[]},a=a[c],d++}}};return d(this),c}static assert(a){if(!(a instanceof l))throw Error(`Not a ZodError: ${a}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,d.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(a=a=>a.message){let b={},c=[];for(let d of this.issues)if(d.path.length>0){let c=d.path[0];b[c]=b[c]||[],b[c].push(a(d))}else c.push(a(d));return{formErrors:c,fieldErrors:b}}get formErrors(){return this.flatten()}}l.create=a=>new l(a);let m=(a,b)=>{let c;switch(a.code){case k.invalid_type:c=a.received===i.undefined?"Required":`Expected ${a.expected}, received ${a.received}`;break;case k.invalid_literal:c=`Invalid literal value, expected ${JSON.stringify(a.expected,d.jsonStringifyReplacer)}`;break;case k.unrecognized_keys:c=`Unrecognized key(s) in object: ${d.joinValues(a.keys,", ")}`;break;case k.invalid_union:c="Invalid input";break;case k.invalid_union_discriminator:c=`Invalid discriminator value. Expected ${d.joinValues(a.options)}`;break;case k.invalid_enum_value:c=`Invalid enum value. Expected ${d.joinValues(a.options)}, received '${a.received}'`;break;case k.invalid_arguments:c="Invalid function arguments";break;case k.invalid_return_type:c="Invalid function return type";break;case k.invalid_date:c="Invalid date";break;case k.invalid_string:"object"==typeof a.validation?"includes"in a.validation?(c=`Invalid input: must include "${a.validation.includes}"`,"number"==typeof a.validation.position&&(c=`${c} at one or more positions greater than or equal to ${a.validation.position}`)):"startsWith"in a.validation?c=`Invalid input: must start with "${a.validation.startsWith}"`:"endsWith"in a.validation?c=`Invalid input: must end with "${a.validation.endsWith}"`:d.assertNever(a.validation):c="regex"!==a.validation?`Invalid ${a.validation}`:"Invalid";break;case k.too_small:c="array"===a.type?`Array must contain ${a.exact?"exactly":a.inclusive?"at least":"more than"} ${a.minimum} element(s)`:"string"===a.type?`String must contain ${a.exact?"exactly":a.inclusive?"at least":"over"} ${a.minimum} character(s)`:"number"===a.type||"bigint"===a.type?`Number must be ${a.exact?"exactly equal to ":a.inclusive?"greater than or equal to ":"greater than "}${a.minimum}`:"date"===a.type?`Date must be ${a.exact?"exactly equal to ":a.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(a.minimum))}`:"Invalid input";break;case k.too_big:c="array"===a.type?`Array must contain ${a.exact?"exactly":a.inclusive?"at most":"less than"} ${a.maximum} element(s)`:"string"===a.type?`String must contain ${a.exact?"exactly":a.inclusive?"at most":"under"} ${a.maximum} character(s)`:"number"===a.type?`Number must be ${a.exact?"exactly":a.inclusive?"less than or equal to":"less than"} ${a.maximum}`:"bigint"===a.type?`BigInt must be ${a.exact?"exactly":a.inclusive?"less than or equal to":"less than"} ${a.maximum}`:"date"===a.type?`Date must be ${a.exact?"exactly":a.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(a.maximum))}`:"Invalid input";break;case k.custom:c="Invalid input";break;case k.invalid_intersection_types:c="Intersection results could not be merged";break;case k.not_multiple_of:c=`Number must be a multiple of ${a.multipleOf}`;break;case k.not_finite:c="Number must be finite";break;default:c=b.defaultError,d.assertNever(a)}return{message:c}};!function(a){a.errToObj=a=>"string"==typeof a?{message:a}:a||{},a.toString=a=>"string"==typeof a?a:a?.message}(f||(f={}));let n=a=>{let{data:b,path:c,errorMaps:d,issueData:e}=a,f=[...c,...e.path||[]],g={...e,path:f};if(void 0!==e.message)return{...e,path:f,message:e.message};let h="";for(let a of d.filter(a=>!!a).slice().reverse())h=a(g,{data:b,defaultError:h}).message;return{...e,path:f,message:h}};function o(a,b){let c=n({issueData:b,data:a.data,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,m,void 0].filter(a=>!!a)});a.common.issues.push(c)}class p{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(a,b){let c=[];for(let d of b){if("aborted"===d.status)return q;"dirty"===d.status&&a.dirty(),c.push(d.value)}return{status:a.value,value:c}}static async mergeObjectAsync(a,b){let c=[];for(let a of b){let b=await a.key,d=await a.value;c.push({key:b,value:d})}return p.mergeObjectSync(a,c)}static mergeObjectSync(a,b){let c={};for(let d of b){let{key:b,value:e}=d;if("aborted"===b.status||"aborted"===e.status)return q;"dirty"===b.status&&a.dirty(),"dirty"===e.status&&a.dirty(),"__proto__"!==b.value&&(void 0!==e.value||d.alwaysSet)&&(c[b.value]=e.value)}return{status:a.value,value:c}}}let q=Object.freeze({status:"aborted"}),r=a=>({status:"dirty",value:a}),s=a=>({status:"valid",value:a}),t=a=>"undefined"!=typeof Promise&&a instanceof Promise;class u{constructor(a,b,c,d){this._cachedPath=[],this.parent=a,this.data=b,this._path=c,this._key=d}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let v=(a,b)=>{if("valid"===b.status)return{success:!0,data:b.value};if(!a.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let b=new l(a.common.issues);return this._error=b,this._error}}};function w(a){if(!a)return{};let{errorMap:b,invalid_type_error:c,required_error:d,description:e}=a;if(b&&(c||d))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return b?{errorMap:b,description:e}:{errorMap:(b,e)=>{let{message:f}=a;return"invalid_enum_value"===b.code?{message:f??e.defaultError}:void 0===e.data?{message:f??d??e.defaultError}:"invalid_type"!==b.code?{message:e.defaultError}:{message:f??c??e.defaultError}},description:e}}class x{get description(){return this._def.description}_getType(a){return j(a.data)}_getOrReturnCtx(a,b){return b||{common:a.parent.common,data:a.data,parsedType:j(a.data),schemaErrorMap:this._def.errorMap,path:a.path,parent:a.parent}}_processInputParams(a){return{status:new p,ctx:{common:a.parent.common,data:a.data,parsedType:j(a.data),schemaErrorMap:this._def.errorMap,path:a.path,parent:a.parent}}}_parseSync(a){let b=this._parse(a);if(t(b))throw Error("Synchronous parse encountered promise.");return b}_parseAsync(a){return Promise.resolve(this._parse(a))}parse(a,b){let c=this.safeParse(a,b);if(c.success)return c.data;throw c.error}safeParse(a,b){let c={common:{issues:[],async:b?.async??!1,contextualErrorMap:b?.errorMap},path:b?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:a,parsedType:j(a)},d=this._parseSync({data:a,path:c.path,parent:c});return v(c,d)}"~validate"(a){let b={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:a,parsedType:j(a)};if(!this["~standard"].async)try{let c=this._parseSync({data:a,path:[],parent:b});return"valid"===c.status?{value:c.value}:{issues:b.common.issues}}catch(a){a?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),b.common={issues:[],async:!0}}return this._parseAsync({data:a,path:[],parent:b}).then(a=>"valid"===a.status?{value:a.value}:{issues:b.common.issues})}async parseAsync(a,b){let c=await this.safeParseAsync(a,b);if(c.success)return c.data;throw c.error}async safeParseAsync(a,b){let c={common:{issues:[],contextualErrorMap:b?.errorMap,async:!0},path:b?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:a,parsedType:j(a)},d=this._parse({data:a,path:c.path,parent:c});return v(c,await (t(d)?d:Promise.resolve(d)))}refine(a,b){return this._refinement((c,d)=>{let e=a(c),f=()=>d.addIssue({code:k.custom,..."string"==typeof b||void 0===b?{message:b}:"function"==typeof b?b(c):b});return"undefined"!=typeof Promise&&e instanceof Promise?e.then(a=>!!a||(f(),!1)):!!e||(f(),!1)})}refinement(a,b){return this._refinement((c,d)=>!!a(c)||(d.addIssue("function"==typeof b?b(c,d):b),!1))}_refinement(a){return new aq({schema:this,typeName:g.ZodEffects,effect:{type:"refinement",refinement:a}})}superRefine(a){return this._refinement(a)}constructor(a){this.spa=this.safeParseAsync,this._def=a,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:a=>this["~validate"](a)}}optional(){return ar.create(this,this._def)}nullable(){return as.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return _.create(this)}promise(){return ap.create(this,this._def)}or(a){return ab.create([this,a],this._def)}and(a){return ae.create(this,a,this._def)}transform(a){return new aq({...w(this._def),schema:this,typeName:g.ZodEffects,effect:{type:"transform",transform:a}})}default(a){return new at({...w(this._def),innerType:this,defaultValue:"function"==typeof a?a:()=>a,typeName:g.ZodDefault})}brand(){return new aw({typeName:g.ZodBranded,type:this,...w(this._def)})}catch(a){return new au({...w(this._def),innerType:this,catchValue:"function"==typeof a?a:()=>a,typeName:g.ZodCatch})}describe(a){return new this.constructor({...this._def,description:a})}pipe(a){return ax.create(this,a)}readonly(){return ay.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let y=/^c[^\s-]{8,}$/i,z=/^[0-9a-z]+$/,A=/^[0-9A-HJKMNP-TV-Z]{26}$/i,B=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,C=/^[a-z0-9_-]{21}$/i,D=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,E=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,F=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,G=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,H=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,I=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,J=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,K=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,L=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,M="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",N=RegExp(`^${M}$`);function O(a){let b="[0-5]\\d";a.precision?b=`${b}\\.\\d{${a.precision}}`:null==a.precision&&(b=`${b}(\\.\\d+)?`);let c=a.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${b})${c}`}class P extends x{_parse(a){var b,c,e,f;let g;if(this._def.coerce&&(a.data=String(a.data)),this._getType(a)!==i.string){let b=this._getOrReturnCtx(a);return o(b,{code:k.invalid_type,expected:i.string,received:b.parsedType}),q}let j=new p;for(let i of this._def.checks)if("min"===i.kind)a.data.length<i.value&&(o(g=this._getOrReturnCtx(a,g),{code:k.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),j.dirty());else if("max"===i.kind)a.data.length>i.value&&(o(g=this._getOrReturnCtx(a,g),{code:k.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),j.dirty());else if("length"===i.kind){let b=a.data.length>i.value,c=a.data.length<i.value;(b||c)&&(g=this._getOrReturnCtx(a,g),b?o(g,{code:k.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):c&&o(g,{code:k.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),j.dirty())}else if("email"===i.kind)F.test(a.data)||(o(g=this._getOrReturnCtx(a,g),{validation:"email",code:k.invalid_string,message:i.message}),j.dirty());else if("emoji"===i.kind)h||(h=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),h.test(a.data)||(o(g=this._getOrReturnCtx(a,g),{validation:"emoji",code:k.invalid_string,message:i.message}),j.dirty());else if("uuid"===i.kind)B.test(a.data)||(o(g=this._getOrReturnCtx(a,g),{validation:"uuid",code:k.invalid_string,message:i.message}),j.dirty());else if("nanoid"===i.kind)C.test(a.data)||(o(g=this._getOrReturnCtx(a,g),{validation:"nanoid",code:k.invalid_string,message:i.message}),j.dirty());else if("cuid"===i.kind)y.test(a.data)||(o(g=this._getOrReturnCtx(a,g),{validation:"cuid",code:k.invalid_string,message:i.message}),j.dirty());else if("cuid2"===i.kind)z.test(a.data)||(o(g=this._getOrReturnCtx(a,g),{validation:"cuid2",code:k.invalid_string,message:i.message}),j.dirty());else if("ulid"===i.kind)A.test(a.data)||(o(g=this._getOrReturnCtx(a,g),{validation:"ulid",code:k.invalid_string,message:i.message}),j.dirty());else if("url"===i.kind)try{new URL(a.data)}catch{o(g=this._getOrReturnCtx(a,g),{validation:"url",code:k.invalid_string,message:i.message}),j.dirty()}else"regex"===i.kind?(i.regex.lastIndex=0,i.regex.test(a.data)||(o(g=this._getOrReturnCtx(a,g),{validation:"regex",code:k.invalid_string,message:i.message}),j.dirty())):"trim"===i.kind?a.data=a.data.trim():"includes"===i.kind?a.data.includes(i.value,i.position)||(o(g=this._getOrReturnCtx(a,g),{code:k.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),j.dirty()):"toLowerCase"===i.kind?a.data=a.data.toLowerCase():"toUpperCase"===i.kind?a.data=a.data.toUpperCase():"startsWith"===i.kind?a.data.startsWith(i.value)||(o(g=this._getOrReturnCtx(a,g),{code:k.invalid_string,validation:{startsWith:i.value},message:i.message}),j.dirty()):"endsWith"===i.kind?a.data.endsWith(i.value)||(o(g=this._getOrReturnCtx(a,g),{code:k.invalid_string,validation:{endsWith:i.value},message:i.message}),j.dirty()):"datetime"===i.kind?(function(a){let b=`${M}T${O(a)}`,c=[];return c.push(a.local?"Z?":"Z"),a.offset&&c.push("([+-]\\d{2}:?\\d{2})"),b=`${b}(${c.join("|")})`,RegExp(`^${b}$`)})(i).test(a.data)||(o(g=this._getOrReturnCtx(a,g),{code:k.invalid_string,validation:"datetime",message:i.message}),j.dirty()):"date"===i.kind?N.test(a.data)||(o(g=this._getOrReturnCtx(a,g),{code:k.invalid_string,validation:"date",message:i.message}),j.dirty()):"time"===i.kind?RegExp(`^${O(i)}$`).test(a.data)||(o(g=this._getOrReturnCtx(a,g),{code:k.invalid_string,validation:"time",message:i.message}),j.dirty()):"duration"===i.kind?E.test(a.data)||(o(g=this._getOrReturnCtx(a,g),{validation:"duration",code:k.invalid_string,message:i.message}),j.dirty()):"ip"===i.kind?(b=a.data,!(("v4"===(c=i.version)||!c)&&G.test(b)||("v6"===c||!c)&&I.test(b))&&1&&(o(g=this._getOrReturnCtx(a,g),{validation:"ip",code:k.invalid_string,message:i.message}),j.dirty())):"jwt"===i.kind?!function(a,b){if(!D.test(a))return!1;try{let[c]=a.split(".");if(!c)return!1;let d=c.replace(/-/g,"+").replace(/_/g,"/").padEnd(c.length+(4-c.length%4)%4,"="),e=JSON.parse(atob(d));if("object"!=typeof e||null===e||"typ"in e&&e?.typ!=="JWT"||!e.alg||b&&e.alg!==b)return!1;return!0}catch{return!1}}(a.data,i.alg)&&(o(g=this._getOrReturnCtx(a,g),{validation:"jwt",code:k.invalid_string,message:i.message}),j.dirty()):"cidr"===i.kind?(e=a.data,!(("v4"===(f=i.version)||!f)&&H.test(e)||("v6"===f||!f)&&J.test(e))&&1&&(o(g=this._getOrReturnCtx(a,g),{validation:"cidr",code:k.invalid_string,message:i.message}),j.dirty())):"base64"===i.kind?K.test(a.data)||(o(g=this._getOrReturnCtx(a,g),{validation:"base64",code:k.invalid_string,message:i.message}),j.dirty()):"base64url"===i.kind?L.test(a.data)||(o(g=this._getOrReturnCtx(a,g),{validation:"base64url",code:k.invalid_string,message:i.message}),j.dirty()):d.assertNever(i);return{status:j.value,value:a.data}}_regex(a,b,c){return this.refinement(b=>a.test(b),{validation:b,code:k.invalid_string,...f.errToObj(c)})}_addCheck(a){return new P({...this._def,checks:[...this._def.checks,a]})}email(a){return this._addCheck({kind:"email",...f.errToObj(a)})}url(a){return this._addCheck({kind:"url",...f.errToObj(a)})}emoji(a){return this._addCheck({kind:"emoji",...f.errToObj(a)})}uuid(a){return this._addCheck({kind:"uuid",...f.errToObj(a)})}nanoid(a){return this._addCheck({kind:"nanoid",...f.errToObj(a)})}cuid(a){return this._addCheck({kind:"cuid",...f.errToObj(a)})}cuid2(a){return this._addCheck({kind:"cuid2",...f.errToObj(a)})}ulid(a){return this._addCheck({kind:"ulid",...f.errToObj(a)})}base64(a){return this._addCheck({kind:"base64",...f.errToObj(a)})}base64url(a){return this._addCheck({kind:"base64url",...f.errToObj(a)})}jwt(a){return this._addCheck({kind:"jwt",...f.errToObj(a)})}ip(a){return this._addCheck({kind:"ip",...f.errToObj(a)})}cidr(a){return this._addCheck({kind:"cidr",...f.errToObj(a)})}datetime(a){return"string"==typeof a?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:a}):this._addCheck({kind:"datetime",precision:void 0===a?.precision?null:a?.precision,offset:a?.offset??!1,local:a?.local??!1,...f.errToObj(a?.message)})}date(a){return this._addCheck({kind:"date",message:a})}time(a){return"string"==typeof a?this._addCheck({kind:"time",precision:null,message:a}):this._addCheck({kind:"time",precision:void 0===a?.precision?null:a?.precision,...f.errToObj(a?.message)})}duration(a){return this._addCheck({kind:"duration",...f.errToObj(a)})}regex(a,b){return this._addCheck({kind:"regex",regex:a,...f.errToObj(b)})}includes(a,b){return this._addCheck({kind:"includes",value:a,position:b?.position,...f.errToObj(b?.message)})}startsWith(a,b){return this._addCheck({kind:"startsWith",value:a,...f.errToObj(b)})}endsWith(a,b){return this._addCheck({kind:"endsWith",value:a,...f.errToObj(b)})}min(a,b){return this._addCheck({kind:"min",value:a,...f.errToObj(b)})}max(a,b){return this._addCheck({kind:"max",value:a,...f.errToObj(b)})}length(a,b){return this._addCheck({kind:"length",value:a,...f.errToObj(b)})}nonempty(a){return this.min(1,f.errToObj(a))}trim(){return new P({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new P({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new P({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(a=>"datetime"===a.kind)}get isDate(){return!!this._def.checks.find(a=>"date"===a.kind)}get isTime(){return!!this._def.checks.find(a=>"time"===a.kind)}get isDuration(){return!!this._def.checks.find(a=>"duration"===a.kind)}get isEmail(){return!!this._def.checks.find(a=>"email"===a.kind)}get isURL(){return!!this._def.checks.find(a=>"url"===a.kind)}get isEmoji(){return!!this._def.checks.find(a=>"emoji"===a.kind)}get isUUID(){return!!this._def.checks.find(a=>"uuid"===a.kind)}get isNANOID(){return!!this._def.checks.find(a=>"nanoid"===a.kind)}get isCUID(){return!!this._def.checks.find(a=>"cuid"===a.kind)}get isCUID2(){return!!this._def.checks.find(a=>"cuid2"===a.kind)}get isULID(){return!!this._def.checks.find(a=>"ulid"===a.kind)}get isIP(){return!!this._def.checks.find(a=>"ip"===a.kind)}get isCIDR(){return!!this._def.checks.find(a=>"cidr"===a.kind)}get isBase64(){return!!this._def.checks.find(a=>"base64"===a.kind)}get isBase64url(){return!!this._def.checks.find(a=>"base64url"===a.kind)}get minLength(){let a=null;for(let b of this._def.checks)"min"===b.kind&&(null===a||b.value>a)&&(a=b.value);return a}get maxLength(){let a=null;for(let b of this._def.checks)"max"===b.kind&&(null===a||b.value<a)&&(a=b.value);return a}}P.create=a=>new P({checks:[],typeName:g.ZodString,coerce:a?.coerce??!1,...w(a)});class Q extends x{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(a){let b;if(this._def.coerce&&(a.data=Number(a.data)),this._getType(a)!==i.number){let b=this._getOrReturnCtx(a);return o(b,{code:k.invalid_type,expected:i.number,received:b.parsedType}),q}let c=new p;for(let e of this._def.checks)"int"===e.kind?d.isInteger(a.data)||(o(b=this._getOrReturnCtx(a,b),{code:k.invalid_type,expected:"integer",received:"float",message:e.message}),c.dirty()):"min"===e.kind?(e.inclusive?a.data<e.value:a.data<=e.value)&&(o(b=this._getOrReturnCtx(a,b),{code:k.too_small,minimum:e.value,type:"number",inclusive:e.inclusive,exact:!1,message:e.message}),c.dirty()):"max"===e.kind?(e.inclusive?a.data>e.value:a.data>=e.value)&&(o(b=this._getOrReturnCtx(a,b),{code:k.too_big,maximum:e.value,type:"number",inclusive:e.inclusive,exact:!1,message:e.message}),c.dirty()):"multipleOf"===e.kind?0!==function(a,b){let c=(a.toString().split(".")[1]||"").length,d=(b.toString().split(".")[1]||"").length,e=c>d?c:d;return Number.parseInt(a.toFixed(e).replace(".",""))%Number.parseInt(b.toFixed(e).replace(".",""))/10**e}(a.data,e.value)&&(o(b=this._getOrReturnCtx(a,b),{code:k.not_multiple_of,multipleOf:e.value,message:e.message}),c.dirty()):"finite"===e.kind?Number.isFinite(a.data)||(o(b=this._getOrReturnCtx(a,b),{code:k.not_finite,message:e.message}),c.dirty()):d.assertNever(e);return{status:c.value,value:a.data}}gte(a,b){return this.setLimit("min",a,!0,f.toString(b))}gt(a,b){return this.setLimit("min",a,!1,f.toString(b))}lte(a,b){return this.setLimit("max",a,!0,f.toString(b))}lt(a,b){return this.setLimit("max",a,!1,f.toString(b))}setLimit(a,b,c,d){return new Q({...this._def,checks:[...this._def.checks,{kind:a,value:b,inclusive:c,message:f.toString(d)}]})}_addCheck(a){return new Q({...this._def,checks:[...this._def.checks,a]})}int(a){return this._addCheck({kind:"int",message:f.toString(a)})}positive(a){return this._addCheck({kind:"min",value:0,inclusive:!1,message:f.toString(a)})}negative(a){return this._addCheck({kind:"max",value:0,inclusive:!1,message:f.toString(a)})}nonpositive(a){return this._addCheck({kind:"max",value:0,inclusive:!0,message:f.toString(a)})}nonnegative(a){return this._addCheck({kind:"min",value:0,inclusive:!0,message:f.toString(a)})}multipleOf(a,b){return this._addCheck({kind:"multipleOf",value:a,message:f.toString(b)})}finite(a){return this._addCheck({kind:"finite",message:f.toString(a)})}safe(a){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:f.toString(a)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:f.toString(a)})}get minValue(){let a=null;for(let b of this._def.checks)"min"===b.kind&&(null===a||b.value>a)&&(a=b.value);return a}get maxValue(){let a=null;for(let b of this._def.checks)"max"===b.kind&&(null===a||b.value<a)&&(a=b.value);return a}get isInt(){return!!this._def.checks.find(a=>"int"===a.kind||"multipleOf"===a.kind&&d.isInteger(a.value))}get isFinite(){let a=null,b=null;for(let c of this._def.checks)if("finite"===c.kind||"int"===c.kind||"multipleOf"===c.kind)return!0;else"min"===c.kind?(null===b||c.value>b)&&(b=c.value):"max"===c.kind&&(null===a||c.value<a)&&(a=c.value);return Number.isFinite(b)&&Number.isFinite(a)}}Q.create=a=>new Q({checks:[],typeName:g.ZodNumber,coerce:a?.coerce||!1,...w(a)});class R extends x{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(a){let b;if(this._def.coerce)try{a.data=BigInt(a.data)}catch{return this._getInvalidInput(a)}if(this._getType(a)!==i.bigint)return this._getInvalidInput(a);let c=new p;for(let e of this._def.checks)"min"===e.kind?(e.inclusive?a.data<e.value:a.data<=e.value)&&(o(b=this._getOrReturnCtx(a,b),{code:k.too_small,type:"bigint",minimum:e.value,inclusive:e.inclusive,message:e.message}),c.dirty()):"max"===e.kind?(e.inclusive?a.data>e.value:a.data>=e.value)&&(o(b=this._getOrReturnCtx(a,b),{code:k.too_big,type:"bigint",maximum:e.value,inclusive:e.inclusive,message:e.message}),c.dirty()):"multipleOf"===e.kind?a.data%e.value!==BigInt(0)&&(o(b=this._getOrReturnCtx(a,b),{code:k.not_multiple_of,multipleOf:e.value,message:e.message}),c.dirty()):d.assertNever(e);return{status:c.value,value:a.data}}_getInvalidInput(a){let b=this._getOrReturnCtx(a);return o(b,{code:k.invalid_type,expected:i.bigint,received:b.parsedType}),q}gte(a,b){return this.setLimit("min",a,!0,f.toString(b))}gt(a,b){return this.setLimit("min",a,!1,f.toString(b))}lte(a,b){return this.setLimit("max",a,!0,f.toString(b))}lt(a,b){return this.setLimit("max",a,!1,f.toString(b))}setLimit(a,b,c,d){return new R({...this._def,checks:[...this._def.checks,{kind:a,value:b,inclusive:c,message:f.toString(d)}]})}_addCheck(a){return new R({...this._def,checks:[...this._def.checks,a]})}positive(a){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:f.toString(a)})}negative(a){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:f.toString(a)})}nonpositive(a){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:f.toString(a)})}nonnegative(a){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:f.toString(a)})}multipleOf(a,b){return this._addCheck({kind:"multipleOf",value:a,message:f.toString(b)})}get minValue(){let a=null;for(let b of this._def.checks)"min"===b.kind&&(null===a||b.value>a)&&(a=b.value);return a}get maxValue(){let a=null;for(let b of this._def.checks)"max"===b.kind&&(null===a||b.value<a)&&(a=b.value);return a}}R.create=a=>new R({checks:[],typeName:g.ZodBigInt,coerce:a?.coerce??!1,...w(a)});class S extends x{_parse(a){if(this._def.coerce&&(a.data=!!a.data),this._getType(a)!==i.boolean){let b=this._getOrReturnCtx(a);return o(b,{code:k.invalid_type,expected:i.boolean,received:b.parsedType}),q}return s(a.data)}}S.create=a=>new S({typeName:g.ZodBoolean,coerce:a?.coerce||!1,...w(a)});class T extends x{_parse(a){let b;if(this._def.coerce&&(a.data=new Date(a.data)),this._getType(a)!==i.date){let b=this._getOrReturnCtx(a);return o(b,{code:k.invalid_type,expected:i.date,received:b.parsedType}),q}if(Number.isNaN(a.data.getTime()))return o(this._getOrReturnCtx(a),{code:k.invalid_date}),q;let c=new p;for(let e of this._def.checks)"min"===e.kind?a.data.getTime()<e.value&&(o(b=this._getOrReturnCtx(a,b),{code:k.too_small,message:e.message,inclusive:!0,exact:!1,minimum:e.value,type:"date"}),c.dirty()):"max"===e.kind?a.data.getTime()>e.value&&(o(b=this._getOrReturnCtx(a,b),{code:k.too_big,message:e.message,inclusive:!0,exact:!1,maximum:e.value,type:"date"}),c.dirty()):d.assertNever(e);return{status:c.value,value:new Date(a.data.getTime())}}_addCheck(a){return new T({...this._def,checks:[...this._def.checks,a]})}min(a,b){return this._addCheck({kind:"min",value:a.getTime(),message:f.toString(b)})}max(a,b){return this._addCheck({kind:"max",value:a.getTime(),message:f.toString(b)})}get minDate(){let a=null;for(let b of this._def.checks)"min"===b.kind&&(null===a||b.value>a)&&(a=b.value);return null!=a?new Date(a):null}get maxDate(){let a=null;for(let b of this._def.checks)"max"===b.kind&&(null===a||b.value<a)&&(a=b.value);return null!=a?new Date(a):null}}T.create=a=>new T({checks:[],coerce:a?.coerce||!1,typeName:g.ZodDate,...w(a)});class U extends x{_parse(a){if(this._getType(a)!==i.symbol){let b=this._getOrReturnCtx(a);return o(b,{code:k.invalid_type,expected:i.symbol,received:b.parsedType}),q}return s(a.data)}}U.create=a=>new U({typeName:g.ZodSymbol,...w(a)});class V extends x{_parse(a){if(this._getType(a)!==i.undefined){let b=this._getOrReturnCtx(a);return o(b,{code:k.invalid_type,expected:i.undefined,received:b.parsedType}),q}return s(a.data)}}V.create=a=>new V({typeName:g.ZodUndefined,...w(a)});class W extends x{_parse(a){if(this._getType(a)!==i.null){let b=this._getOrReturnCtx(a);return o(b,{code:k.invalid_type,expected:i.null,received:b.parsedType}),q}return s(a.data)}}W.create=a=>new W({typeName:g.ZodNull,...w(a)});class X extends x{constructor(){super(...arguments),this._any=!0}_parse(a){return s(a.data)}}X.create=a=>new X({typeName:g.ZodAny,...w(a)});class Y extends x{constructor(){super(...arguments),this._unknown=!0}_parse(a){return s(a.data)}}Y.create=a=>new Y({typeName:g.ZodUnknown,...w(a)});class Z extends x{_parse(a){let b=this._getOrReturnCtx(a);return o(b,{code:k.invalid_type,expected:i.never,received:b.parsedType}),q}}Z.create=a=>new Z({typeName:g.ZodNever,...w(a)});class $ extends x{_parse(a){if(this._getType(a)!==i.undefined){let b=this._getOrReturnCtx(a);return o(b,{code:k.invalid_type,expected:i.void,received:b.parsedType}),q}return s(a.data)}}$.create=a=>new $({typeName:g.ZodVoid,...w(a)});class _ extends x{_parse(a){let{ctx:b,status:c}=this._processInputParams(a),d=this._def;if(b.parsedType!==i.array)return o(b,{code:k.invalid_type,expected:i.array,received:b.parsedType}),q;if(null!==d.exactLength){let a=b.data.length>d.exactLength.value,e=b.data.length<d.exactLength.value;(a||e)&&(o(b,{code:a?k.too_big:k.too_small,minimum:e?d.exactLength.value:void 0,maximum:a?d.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:d.exactLength.message}),c.dirty())}if(null!==d.minLength&&b.data.length<d.minLength.value&&(o(b,{code:k.too_small,minimum:d.minLength.value,type:"array",inclusive:!0,exact:!1,message:d.minLength.message}),c.dirty()),null!==d.maxLength&&b.data.length>d.maxLength.value&&(o(b,{code:k.too_big,maximum:d.maxLength.value,type:"array",inclusive:!0,exact:!1,message:d.maxLength.message}),c.dirty()),b.common.async)return Promise.all([...b.data].map((a,c)=>d.type._parseAsync(new u(b,a,b.path,c)))).then(a=>p.mergeArray(c,a));let e=[...b.data].map((a,c)=>d.type._parseSync(new u(b,a,b.path,c)));return p.mergeArray(c,e)}get element(){return this._def.type}min(a,b){return new _({...this._def,minLength:{value:a,message:f.toString(b)}})}max(a,b){return new _({...this._def,maxLength:{value:a,message:f.toString(b)}})}length(a,b){return new _({...this._def,exactLength:{value:a,message:f.toString(b)}})}nonempty(a){return this.min(1,a)}}_.create=(a,b)=>new _({type:a,minLength:null,maxLength:null,exactLength:null,typeName:g.ZodArray,...w(b)});class aa extends x{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let a=this._def.shape(),b=d.objectKeys(a);return this._cached={shape:a,keys:b},this._cached}_parse(a){if(this._getType(a)!==i.object){let b=this._getOrReturnCtx(a);return o(b,{code:k.invalid_type,expected:i.object,received:b.parsedType}),q}let{status:b,ctx:c}=this._processInputParams(a),{shape:d,keys:e}=this._getCached(),f=[];if(!(this._def.catchall instanceof Z&&"strip"===this._def.unknownKeys))for(let a in c.data)e.includes(a)||f.push(a);let g=[];for(let a of e){let b=d[a],e=c.data[a];g.push({key:{status:"valid",value:a},value:b._parse(new u(c,e,c.path,a)),alwaysSet:a in c.data})}if(this._def.catchall instanceof Z){let a=this._def.unknownKeys;if("passthrough"===a)for(let a of f)g.push({key:{status:"valid",value:a},value:{status:"valid",value:c.data[a]}});else if("strict"===a)f.length>0&&(o(c,{code:k.unrecognized_keys,keys:f}),b.dirty());else if("strip"===a);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let a=this._def.catchall;for(let b of f){let d=c.data[b];g.push({key:{status:"valid",value:b},value:a._parse(new u(c,d,c.path,b)),alwaysSet:b in c.data})}}return c.common.async?Promise.resolve().then(async()=>{let a=[];for(let b of g){let c=await b.key,d=await b.value;a.push({key:c,value:d,alwaysSet:b.alwaysSet})}return a}).then(a=>p.mergeObjectSync(b,a)):p.mergeObjectSync(b,g)}get shape(){return this._def.shape()}strict(a){return f.errToObj,new aa({...this._def,unknownKeys:"strict",...void 0!==a?{errorMap:(b,c)=>{let d=this._def.errorMap?.(b,c).message??c.defaultError;return"unrecognized_keys"===b.code?{message:f.errToObj(a).message??d}:{message:d}}}:{}})}strip(){return new aa({...this._def,unknownKeys:"strip"})}passthrough(){return new aa({...this._def,unknownKeys:"passthrough"})}extend(a){return new aa({...this._def,shape:()=>({...this._def.shape(),...a})})}merge(a){return new aa({unknownKeys:a._def.unknownKeys,catchall:a._def.catchall,shape:()=>({...this._def.shape(),...a._def.shape()}),typeName:g.ZodObject})}setKey(a,b){return this.augment({[a]:b})}catchall(a){return new aa({...this._def,catchall:a})}pick(a){let b={};for(let c of d.objectKeys(a))a[c]&&this.shape[c]&&(b[c]=this.shape[c]);return new aa({...this._def,shape:()=>b})}omit(a){let b={};for(let c of d.objectKeys(this.shape))a[c]||(b[c]=this.shape[c]);return new aa({...this._def,shape:()=>b})}deepPartial(){return function a(b){if(b instanceof aa){let c={};for(let d in b.shape){let e=b.shape[d];c[d]=ar.create(a(e))}return new aa({...b._def,shape:()=>c})}if(b instanceof _)return new _({...b._def,type:a(b.element)});if(b instanceof ar)return ar.create(a(b.unwrap()));if(b instanceof as)return as.create(a(b.unwrap()));if(b instanceof af)return af.create(b.items.map(b=>a(b)));else return b}(this)}partial(a){let b={};for(let c of d.objectKeys(this.shape)){let d=this.shape[c];a&&!a[c]?b[c]=d:b[c]=d.optional()}return new aa({...this._def,shape:()=>b})}required(a){let b={};for(let c of d.objectKeys(this.shape))if(a&&!a[c])b[c]=this.shape[c];else{let a=this.shape[c];for(;a instanceof ar;)a=a._def.innerType;b[c]=a}return new aa({...this._def,shape:()=>b})}keyof(){return am(d.objectKeys(this.shape))}}aa.create=(a,b)=>new aa({shape:()=>a,unknownKeys:"strip",catchall:Z.create(),typeName:g.ZodObject,...w(b)}),aa.strictCreate=(a,b)=>new aa({shape:()=>a,unknownKeys:"strict",catchall:Z.create(),typeName:g.ZodObject,...w(b)}),aa.lazycreate=(a,b)=>new aa({shape:a,unknownKeys:"strip",catchall:Z.create(),typeName:g.ZodObject,...w(b)});class ab extends x{_parse(a){let{ctx:b}=this._processInputParams(a),c=this._def.options;if(b.common.async)return Promise.all(c.map(async a=>{let c={...b,common:{...b.common,issues:[]},parent:null};return{result:await a._parseAsync({data:b.data,path:b.path,parent:c}),ctx:c}})).then(function(a){for(let b of a)if("valid"===b.result.status)return b.result;for(let c of a)if("dirty"===c.result.status)return b.common.issues.push(...c.ctx.common.issues),c.result;let c=a.map(a=>new l(a.ctx.common.issues));return o(b,{code:k.invalid_union,unionErrors:c}),q});{let a,d=[];for(let e of c){let c={...b,common:{...b.common,issues:[]},parent:null},f=e._parseSync({data:b.data,path:b.path,parent:c});if("valid"===f.status)return f;"dirty"!==f.status||a||(a={result:f,ctx:c}),c.common.issues.length&&d.push(c.common.issues)}if(a)return b.common.issues.push(...a.ctx.common.issues),a.result;let e=d.map(a=>new l(a));return o(b,{code:k.invalid_union,unionErrors:e}),q}}get options(){return this._def.options}}ab.create=(a,b)=>new ab({options:a,typeName:g.ZodUnion,...w(b)});let ac=a=>{if(a instanceof ak)return ac(a.schema);if(a instanceof aq)return ac(a.innerType());if(a instanceof al)return[a.value];if(a instanceof an)return a.options;if(a instanceof ao)return d.objectValues(a.enum);else if(a instanceof at)return ac(a._def.innerType);else if(a instanceof V)return[void 0];else if(a instanceof W)return[null];else if(a instanceof ar)return[void 0,...ac(a.unwrap())];else if(a instanceof as)return[null,...ac(a.unwrap())];else if(a instanceof aw)return ac(a.unwrap());else if(a instanceof ay)return ac(a.unwrap());else if(a instanceof au)return ac(a._def.innerType);else return[]};class ad extends x{_parse(a){let{ctx:b}=this._processInputParams(a);if(b.parsedType!==i.object)return o(b,{code:k.invalid_type,expected:i.object,received:b.parsedType}),q;let c=this.discriminator,d=b.data[c],e=this.optionsMap.get(d);return e?b.common.async?e._parseAsync({data:b.data,path:b.path,parent:b}):e._parseSync({data:b.data,path:b.path,parent:b}):(o(b,{code:k.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[c]}),q)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(a,b,c){let d=new Map;for(let c of b){let b=ac(c.shape[a]);if(!b.length)throw Error(`A discriminator value for key \`${a}\` could not be extracted from all schema options`);for(let e of b){if(d.has(e))throw Error(`Discriminator property ${String(a)} has duplicate value ${String(e)}`);d.set(e,c)}}return new ad({typeName:g.ZodDiscriminatedUnion,discriminator:a,options:b,optionsMap:d,...w(c)})}}class ae extends x{_parse(a){let{status:b,ctx:c}=this._processInputParams(a),e=(a,e)=>{if("aborted"===a.status||"aborted"===e.status)return q;let f=function a(b,c){let e=j(b),f=j(c);if(b===c)return{valid:!0,data:b};if(e===i.object&&f===i.object){let e=d.objectKeys(c),f=d.objectKeys(b).filter(a=>-1!==e.indexOf(a)),g={...b,...c};for(let d of f){let e=a(b[d],c[d]);if(!e.valid)return{valid:!1};g[d]=e.data}return{valid:!0,data:g}}if(e===i.array&&f===i.array){if(b.length!==c.length)return{valid:!1};let d=[];for(let e=0;e<b.length;e++){let f=a(b[e],c[e]);if(!f.valid)return{valid:!1};d.push(f.data)}return{valid:!0,data:d}}if(e===i.date&&f===i.date&&+b==+c)return{valid:!0,data:b};return{valid:!1}}(a.value,e.value);return f.valid?(("dirty"===a.status||"dirty"===e.status)&&b.dirty(),{status:b.value,value:f.data}):(o(c,{code:k.invalid_intersection_types}),q)};return c.common.async?Promise.all([this._def.left._parseAsync({data:c.data,path:c.path,parent:c}),this._def.right._parseAsync({data:c.data,path:c.path,parent:c})]).then(([a,b])=>e(a,b)):e(this._def.left._parseSync({data:c.data,path:c.path,parent:c}),this._def.right._parseSync({data:c.data,path:c.path,parent:c}))}}ae.create=(a,b,c)=>new ae({left:a,right:b,typeName:g.ZodIntersection,...w(c)});class af extends x{_parse(a){let{status:b,ctx:c}=this._processInputParams(a);if(c.parsedType!==i.array)return o(c,{code:k.invalid_type,expected:i.array,received:c.parsedType}),q;if(c.data.length<this._def.items.length)return o(c,{code:k.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),q;!this._def.rest&&c.data.length>this._def.items.length&&(o(c,{code:k.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),b.dirty());let d=[...c.data].map((a,b)=>{let d=this._def.items[b]||this._def.rest;return d?d._parse(new u(c,a,c.path,b)):null}).filter(a=>!!a);return c.common.async?Promise.all(d).then(a=>p.mergeArray(b,a)):p.mergeArray(b,d)}get items(){return this._def.items}rest(a){return new af({...this._def,rest:a})}}af.create=(a,b)=>{if(!Array.isArray(a))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new af({items:a,typeName:g.ZodTuple,rest:null,...w(b)})};class ag extends x{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(a){let{status:b,ctx:c}=this._processInputParams(a);if(c.parsedType!==i.object)return o(c,{code:k.invalid_type,expected:i.object,received:c.parsedType}),q;let d=[],e=this._def.keyType,f=this._def.valueType;for(let a in c.data)d.push({key:e._parse(new u(c,a,c.path,a)),value:f._parse(new u(c,c.data[a],c.path,a)),alwaysSet:a in c.data});return c.common.async?p.mergeObjectAsync(b,d):p.mergeObjectSync(b,d)}get element(){return this._def.valueType}static create(a,b,c){return new ag(b instanceof x?{keyType:a,valueType:b,typeName:g.ZodRecord,...w(c)}:{keyType:P.create(),valueType:a,typeName:g.ZodRecord,...w(b)})}}class ah extends x{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(a){let{status:b,ctx:c}=this._processInputParams(a);if(c.parsedType!==i.map)return o(c,{code:k.invalid_type,expected:i.map,received:c.parsedType}),q;let d=this._def.keyType,e=this._def.valueType,f=[...c.data.entries()].map(([a,b],f)=>({key:d._parse(new u(c,a,c.path,[f,"key"])),value:e._parse(new u(c,b,c.path,[f,"value"]))}));if(c.common.async){let a=new Map;return Promise.resolve().then(async()=>{for(let c of f){let d=await c.key,e=await c.value;if("aborted"===d.status||"aborted"===e.status)return q;("dirty"===d.status||"dirty"===e.status)&&b.dirty(),a.set(d.value,e.value)}return{status:b.value,value:a}})}{let a=new Map;for(let c of f){let d=c.key,e=c.value;if("aborted"===d.status||"aborted"===e.status)return q;("dirty"===d.status||"dirty"===e.status)&&b.dirty(),a.set(d.value,e.value)}return{status:b.value,value:a}}}}ah.create=(a,b,c)=>new ah({valueType:b,keyType:a,typeName:g.ZodMap,...w(c)});class ai extends x{_parse(a){let{status:b,ctx:c}=this._processInputParams(a);if(c.parsedType!==i.set)return o(c,{code:k.invalid_type,expected:i.set,received:c.parsedType}),q;let d=this._def;null!==d.minSize&&c.data.size<d.minSize.value&&(o(c,{code:k.too_small,minimum:d.minSize.value,type:"set",inclusive:!0,exact:!1,message:d.minSize.message}),b.dirty()),null!==d.maxSize&&c.data.size>d.maxSize.value&&(o(c,{code:k.too_big,maximum:d.maxSize.value,type:"set",inclusive:!0,exact:!1,message:d.maxSize.message}),b.dirty());let e=this._def.valueType;function f(a){let c=new Set;for(let d of a){if("aborted"===d.status)return q;"dirty"===d.status&&b.dirty(),c.add(d.value)}return{status:b.value,value:c}}let g=[...c.data.values()].map((a,b)=>e._parse(new u(c,a,c.path,b)));return c.common.async?Promise.all(g).then(a=>f(a)):f(g)}min(a,b){return new ai({...this._def,minSize:{value:a,message:f.toString(b)}})}max(a,b){return new ai({...this._def,maxSize:{value:a,message:f.toString(b)}})}size(a,b){return this.min(a,b).max(a,b)}nonempty(a){return this.min(1,a)}}ai.create=(a,b)=>new ai({valueType:a,minSize:null,maxSize:null,typeName:g.ZodSet,...w(b)});class aj extends x{constructor(){super(...arguments),this.validate=this.implement}_parse(a){let{ctx:b}=this._processInputParams(a);if(b.parsedType!==i.function)return o(b,{code:k.invalid_type,expected:i.function,received:b.parsedType}),q;function c(a,c){return n({data:a,path:b.path,errorMaps:[b.common.contextualErrorMap,b.schemaErrorMap,m,m].filter(a=>!!a),issueData:{code:k.invalid_arguments,argumentsError:c}})}function d(a,c){return n({data:a,path:b.path,errorMaps:[b.common.contextualErrorMap,b.schemaErrorMap,m,m].filter(a=>!!a),issueData:{code:k.invalid_return_type,returnTypeError:c}})}let e={errorMap:b.common.contextualErrorMap},f=b.data;if(this._def.returns instanceof ap){let a=this;return s(async function(...b){let g=new l([]),h=await a._def.args.parseAsync(b,e).catch(a=>{throw g.addIssue(c(b,a)),g}),i=await Reflect.apply(f,this,h);return await a._def.returns._def.type.parseAsync(i,e).catch(a=>{throw g.addIssue(d(i,a)),g})})}{let a=this;return s(function(...b){let g=a._def.args.safeParse(b,e);if(!g.success)throw new l([c(b,g.error)]);let h=Reflect.apply(f,this,g.data),i=a._def.returns.safeParse(h,e);if(!i.success)throw new l([d(h,i.error)]);return i.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...a){return new aj({...this._def,args:af.create(a).rest(Y.create())})}returns(a){return new aj({...this._def,returns:a})}implement(a){return this.parse(a)}strictImplement(a){return this.parse(a)}static create(a,b,c){return new aj({args:a||af.create([]).rest(Y.create()),returns:b||Y.create(),typeName:g.ZodFunction,...w(c)})}}class ak extends x{get schema(){return this._def.getter()}_parse(a){let{ctx:b}=this._processInputParams(a);return this._def.getter()._parse({data:b.data,path:b.path,parent:b})}}ak.create=(a,b)=>new ak({getter:a,typeName:g.ZodLazy,...w(b)});class al extends x{_parse(a){if(a.data!==this._def.value){let b=this._getOrReturnCtx(a);return o(b,{received:b.data,code:k.invalid_literal,expected:this._def.value}),q}return{status:"valid",value:a.data}}get value(){return this._def.value}}function am(a,b){return new an({values:a,typeName:g.ZodEnum,...w(b)})}al.create=(a,b)=>new al({value:a,typeName:g.ZodLiteral,...w(b)});class an extends x{_parse(a){if("string"!=typeof a.data){let b=this._getOrReturnCtx(a),c=this._def.values;return o(b,{expected:d.joinValues(c),received:b.parsedType,code:k.invalid_type}),q}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(a.data)){let b=this._getOrReturnCtx(a),c=this._def.values;return o(b,{received:b.data,code:k.invalid_enum_value,options:c}),q}return s(a.data)}get options(){return this._def.values}get enum(){let a={};for(let b of this._def.values)a[b]=b;return a}get Values(){let a={};for(let b of this._def.values)a[b]=b;return a}get Enum(){let a={};for(let b of this._def.values)a[b]=b;return a}extract(a,b=this._def){return an.create(a,{...this._def,...b})}exclude(a,b=this._def){return an.create(this.options.filter(b=>!a.includes(b)),{...this._def,...b})}}an.create=am;class ao extends x{_parse(a){let b=d.getValidEnumValues(this._def.values),c=this._getOrReturnCtx(a);if(c.parsedType!==i.string&&c.parsedType!==i.number){let a=d.objectValues(b);return o(c,{expected:d.joinValues(a),received:c.parsedType,code:k.invalid_type}),q}if(this._cache||(this._cache=new Set(d.getValidEnumValues(this._def.values))),!this._cache.has(a.data)){let a=d.objectValues(b);return o(c,{received:c.data,code:k.invalid_enum_value,options:a}),q}return s(a.data)}get enum(){return this._def.values}}ao.create=(a,b)=>new ao({values:a,typeName:g.ZodNativeEnum,...w(b)});class ap extends x{unwrap(){return this._def.type}_parse(a){let{ctx:b}=this._processInputParams(a);return b.parsedType!==i.promise&&!1===b.common.async?(o(b,{code:k.invalid_type,expected:i.promise,received:b.parsedType}),q):s((b.parsedType===i.promise?b.data:Promise.resolve(b.data)).then(a=>this._def.type.parseAsync(a,{path:b.path,errorMap:b.common.contextualErrorMap})))}}ap.create=(a,b)=>new ap({type:a,typeName:g.ZodPromise,...w(b)});class aq extends x{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===g.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(a){let{status:b,ctx:c}=this._processInputParams(a),e=this._def.effect||null,f={addIssue:a=>{o(c,a),a.fatal?b.abort():b.dirty()},get path(){return c.path}};if(f.addIssue=f.addIssue.bind(f),"preprocess"===e.type){let a=e.transform(c.data,f);if(c.common.async)return Promise.resolve(a).then(async a=>{if("aborted"===b.value)return q;let d=await this._def.schema._parseAsync({data:a,path:c.path,parent:c});return"aborted"===d.status?q:"dirty"===d.status||"dirty"===b.value?r(d.value):d});{if("aborted"===b.value)return q;let d=this._def.schema._parseSync({data:a,path:c.path,parent:c});return"aborted"===d.status?q:"dirty"===d.status||"dirty"===b.value?r(d.value):d}}if("refinement"===e.type){let a=a=>{let b=e.refinement(a,f);if(c.common.async)return Promise.resolve(b);if(b instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(!1!==c.common.async)return this._def.schema._parseAsync({data:c.data,path:c.path,parent:c}).then(c=>"aborted"===c.status?q:("dirty"===c.status&&b.dirty(),a(c.value).then(()=>({status:b.value,value:c.value}))));{let d=this._def.schema._parseSync({data:c.data,path:c.path,parent:c});return"aborted"===d.status?q:("dirty"===d.status&&b.dirty(),a(d.value),{status:b.value,value:d.value})}}if("transform"===e.type)if(!1!==c.common.async)return this._def.schema._parseAsync({data:c.data,path:c.path,parent:c}).then(a=>"valid"!==a.status?q:Promise.resolve(e.transform(a.value,f)).then(a=>({status:b.value,value:a})));else{let a=this._def.schema._parseSync({data:c.data,path:c.path,parent:c});if("valid"!==a.status)return q;let d=e.transform(a.value,f);if(d instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:b.value,value:d}}d.assertNever(e)}}aq.create=(a,b,c)=>new aq({schema:a,typeName:g.ZodEffects,effect:b,...w(c)}),aq.createWithPreprocess=(a,b,c)=>new aq({schema:b,effect:{type:"preprocess",transform:a},typeName:g.ZodEffects,...w(c)});class ar extends x{_parse(a){return this._getType(a)===i.undefined?s(void 0):this._def.innerType._parse(a)}unwrap(){return this._def.innerType}}ar.create=(a,b)=>new ar({innerType:a,typeName:g.ZodOptional,...w(b)});class as extends x{_parse(a){return this._getType(a)===i.null?s(null):this._def.innerType._parse(a)}unwrap(){return this._def.innerType}}as.create=(a,b)=>new as({innerType:a,typeName:g.ZodNullable,...w(b)});class at extends x{_parse(a){let{ctx:b}=this._processInputParams(a),c=b.data;return b.parsedType===i.undefined&&(c=this._def.defaultValue()),this._def.innerType._parse({data:c,path:b.path,parent:b})}removeDefault(){return this._def.innerType}}at.create=(a,b)=>new at({innerType:a,typeName:g.ZodDefault,defaultValue:"function"==typeof b.default?b.default:()=>b.default,...w(b)});class au extends x{_parse(a){let{ctx:b}=this._processInputParams(a),c={...b,common:{...b.common,issues:[]}},d=this._def.innerType._parse({data:c.data,path:c.path,parent:{...c}});return t(d)?d.then(a=>({status:"valid",value:"valid"===a.status?a.value:this._def.catchValue({get error(){return new l(c.common.issues)},input:c.data})})):{status:"valid",value:"valid"===d.status?d.value:this._def.catchValue({get error(){return new l(c.common.issues)},input:c.data})}}removeCatch(){return this._def.innerType}}au.create=(a,b)=>new au({innerType:a,typeName:g.ZodCatch,catchValue:"function"==typeof b.catch?b.catch:()=>b.catch,...w(b)});class av extends x{_parse(a){if(this._getType(a)!==i.nan){let b=this._getOrReturnCtx(a);return o(b,{code:k.invalid_type,expected:i.nan,received:b.parsedType}),q}return{status:"valid",value:a.data}}}av.create=a=>new av({typeName:g.ZodNaN,...w(a)}),Symbol("zod_brand");class aw extends x{_parse(a){let{ctx:b}=this._processInputParams(a),c=b.data;return this._def.type._parse({data:c,path:b.path,parent:b})}unwrap(){return this._def.type}}class ax extends x{_parse(a){let{status:b,ctx:c}=this._processInputParams(a);if(c.common.async)return(async()=>{let a=await this._def.in._parseAsync({data:c.data,path:c.path,parent:c});return"aborted"===a.status?q:"dirty"===a.status?(b.dirty(),r(a.value)):this._def.out._parseAsync({data:a.value,path:c.path,parent:c})})();{let a=this._def.in._parseSync({data:c.data,path:c.path,parent:c});return"aborted"===a.status?q:"dirty"===a.status?(b.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:c.path,parent:c})}}static create(a,b){return new ax({in:a,out:b,typeName:g.ZodPipeline})}}class ay extends x{_parse(a){let b=this._def.innerType._parse(a),c=a=>("valid"===a.status&&(a.value=Object.freeze(a.value)),a);return t(b)?b.then(a=>c(a)):c(b)}unwrap(){return this._def.innerType}}ay.create=(a,b)=>new ay({innerType:a,typeName:g.ZodReadonly,...w(b)}),aa.lazycreate,function(a){a.ZodString="ZodString",a.ZodNumber="ZodNumber",a.ZodNaN="ZodNaN",a.ZodBigInt="ZodBigInt",a.ZodBoolean="ZodBoolean",a.ZodDate="ZodDate",a.ZodSymbol="ZodSymbol",a.ZodUndefined="ZodUndefined",a.ZodNull="ZodNull",a.ZodAny="ZodAny",a.ZodUnknown="ZodUnknown",a.ZodNever="ZodNever",a.ZodVoid="ZodVoid",a.ZodArray="ZodArray",a.ZodObject="ZodObject",a.ZodUnion="ZodUnion",a.ZodDiscriminatedUnion="ZodDiscriminatedUnion",a.ZodIntersection="ZodIntersection",a.ZodTuple="ZodTuple",a.ZodRecord="ZodRecord",a.ZodMap="ZodMap",a.ZodSet="ZodSet",a.ZodFunction="ZodFunction",a.ZodLazy="ZodLazy",a.ZodLiteral="ZodLiteral",a.ZodEnum="ZodEnum",a.ZodEffects="ZodEffects",a.ZodNativeEnum="ZodNativeEnum",a.ZodOptional="ZodOptional",a.ZodNullable="ZodNullable",a.ZodDefault="ZodDefault",a.ZodCatch="ZodCatch",a.ZodPromise="ZodPromise",a.ZodBranded="ZodBranded",a.ZodPipeline="ZodPipeline",a.ZodReadonly="ZodReadonly"}(g||(g={}));let az=P.create,aA=Q.create;av.create,R.create;let aB=S.create;T.create,U.create,V.create,W.create,X.create,Y.create,Z.create,$.create;let aC=_.create,aD=aa.create;aa.strictCreate,ab.create,ad.create,ae.create,af.create,ag.create,ah.create,ai.create,aj.create,ak.create;let aE=al.create,aF=an.create;ao.create,ap.create,aq.create,ar.create,as.create,aq.createWithPreprocess,ax.create}};
@@ -1,16 +0,0 @@
1
- "use strict";exports.id=477,exports.ids=[477],exports.modules={1913:(a,b,c)=>{c.d(b,{BA:()=>n,Mc:()=>d,Qh:()=>l,Rd:()=>j,YN:()=>k,Z6:()=>m,aR:()=>e,dI:()=>i,ge:()=>h,qe:()=>f,rD:()=>g});let d='Open "How do I get a GitHub token?" and create a classic token with repo and workflow selected.',e="GitHub token lacks the workflow scope required to create or update Actions workflow files under .github/workflows/. Use a classic PAT with the workflow scope or a fine-grained PAT with Actions/workflows write permission on the target repo, then update GITHUB_TOKEN in .env.local.",f='This token is valid, but it is missing workflow access. Open "How do I get a GitHub token?" and create a classic token with repo and workflow selected.',g="Fine-grained PAT detected. Repo-specific workflow install permission will be checked in Step 2 for each target repo.",h="An earlier setup check did not catch this permission gap. GitHub sometimes only reveals workflow write limits when updating files under .github/workflows/. ";function i(a,b){let c=a?.trim().toLowerCase();return"fine-grained"===c?"fine-grained":"classic"===c||b.length>0?"classic":"unknown"}function j(a){return a.includes("workflow")}function k(a){return a.includes("repo")||a.includes("public_repo")}function l(a){return"classic"!==a.tokenType?{ok:!0,limitation:g}:k(a.oauthScopes)?a.hasWorkflowScope?{ok:!0}:{ok:!1,message:f}:{ok:!1,message:'This token is valid, but it is missing repo access. Open "How do I get a GitHub token?" and create a classic token with repo and workflow selected.'}}function m(a){return"fine-grained"===a.tokenType?{ok:!1,message:"p-dev's first release needs a classic GitHub token with repo and workflow scopes so it can create your private p-dev-harness workspace and configure Actions. Fine-grained tokens are not yet supported for automatic workspace provisioning."}:"unknown"===a.tokenType||0===a.oauthScopes.length?{ok:!1,message:"GitHub accepted this token, but p-dev could not verify that it is a classic PAT with repo and workflow scopes. Create a classic PAT with repo and workflow selected, then verify again."}:a.oauthScopes.includes("repo")?a.hasWorkflowScope?{ok:!0}:{ok:!1,message:"This token is missing the workflow scope required for harness Actions workflow setup. Create a classic PAT with repo and workflow selected, then verify again."}:{ok:!1,message:"This token is missing the repo scope required to create and access your private p-dev-harness workspace. Create a classic PAT with repo and workflow selected, then verify again."}}let n="GitHub does not expose fine-grained Workflows write permission through a dedicated read-only API. Step 2 confirms repo access and Actions visibility; Step 5 remains the final fallback if GitHub only reveals the limit on write."},16589:(a,b,c)=>{function d(a){let b=a.trim().match(/^https:\/\/github\.com\/([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)\/?$/);return b?{owner:b[1],repo:b[2]}:null}function e(a){if(a.actualBaseBranch!==a.expectedBaseBranch)throw Error(`wrong_pr_base_branch: PR ${a.prUrl} targets "${a.actualBaseBranch}"; expected "${a.expectedBaseBranch}". Update the PR base branch before continuing.`)}c.d(b,{$H:()=>e,wL:()=>d}),c(67470)},39058:(a,b,c)=>{c.d(b,{_u:()=>m,tl:()=>t,yu:()=>v,im:()=>w});var d=c(1913),e=c(67470),f=c(16589),g=c(35966);async function h(a){let b=new g.LinearClient({apiKey:a}),c=await b.viewer;return c.name??c.email??c.id}var i=c(57362),j=c(87285),k=c(84998),l=c(74590);async function m(a){let b=new e.jh({token:a.trim()}),c=await b.inspectAuthenticatedUser(),f=(0,d.dI)(c.tokenType,c.oauthScopes);return{login:c.login,tokenType:f,oauthScopes:c.oauthScopes,hasWorkflowScope:c.oauthScopes.includes("workflow"),hasRepoScope:c.oauthScopes.includes("repo")||c.oauthScopes.includes("public_repo")}}function n(a,b){return(0,i.h4)(a,b)}async function o(a){let b=a.trim();if(!b)return{status:"failed",message:"Enter a Linear API key before verifying."};try{let a=await h(b);return{status:"connected",label:a,message:`Connected as ${a}.`}}catch(a){return{status:"failed",message:function(a,b){let c=a instanceof Error?a.message:String(a);return/unauthorized|invalid|forbidden|authentication/i.test(c)?"Linear rejected this API key. Check that LINEAR_API_KEY is valid.":n(c,[b])}(a,b)}}}async function p(a){let b=a.trim();if(!b)return{status:"failed",message:"Enter a GitHub token before verifying."};try{let a=await m(b),c=(0,d.Qh)(a);if(!c.ok)return{status:"failed",message:c.message,limitation:d.Mc};let e=c.limitation??("classic"===a.tokenType?void 0:d.rD);return{status:"connected",label:a.login,message:`Connected as ${a.login}.`,limitation:e}}catch(a){var c,f;return{status:"failed",message:(c=a,f=b,c instanceof e.OS?401===c.status?"GitHub rejected this token. Check that GITHUB_TOKEN is valid and not expired.":403===c.status?"GitHub accepted the request but denied access. The token may lack required scopes.":n(`GitHub API returned HTTP ${c.status}. Check the token and try again.`,[f]):n(c instanceof Error?c.message:String(c),[f])),limitation:d.Mc}}}async function q(a){let b=a.trim();if(!b)return{status:"failed",message:"Enter a Cursor API key before verifying."};try{let{Cursor:a}=await Promise.resolve().then(c.bind(c,28783)),d=(await a.models.list({apiKey:b})).length,e="";try{let c=await a.repositories.list({apiKey:b});c.length>0&&(e=` ${c.length} connected repo(s) visible to Cursor.`)}catch{}return{status:"connected",label:`${d} model(s)`,message:`Cursor API key accepted (${d} model(s) available).${e}`,limitation:"This confirms the key works with Cursor SDK listing. It does not guarantee a future cloud run can access every target repo."}}catch(a){return{status:"failed",message:function(a,b){let c=a instanceof Error?a.message:String(a);return/unauthorized|invalid|forbidden|authentication|401|403/i.test(c)?"Cursor rejected this API key. Check that CURSOR_API_KEY is valid.":n(c,[b])}(a,b),limitation:"Cursor verification uses read-only SDK model listing, not a live agent run."}}}async function r(a){let b=a.token.trim(),c=a.targetRepo.trim();if(!c)return{status:"failed",message:"Enter a GitHub target repo URL before verifying."};let g=function(a){let b=(0,f.wL)(a.trim());if(!b)return null;let c=`${b.owner}/${b.repo}`;return{...b,slug:c,normalizedUrl:`https://github.com/${c}`}}(c);if(!g)return{status:"failed",message:"Enter a valid GitHub repo URL like https://github.com/acme/my-product."};if(!b)return{status:"failed",message:"Add or save a GitHub token first, then verify repo + workflow access."};try{let a=await m(b);if("classic"===a.tokenType&&!a.hasWorkflowScope)return{status:"failed",repoSlug:g.slug,normalizedUrl:g.normalizedUrl,workflowInstallReady:!1,message:d.qe,limitation:d.Mc};let c=new e.jh({token:b}),f=await c.getRepository(g.owner,g.repo),h=f.permissions?.pull===!0||f.permissions?.push===!0||f.permissions?.admin===!0||f.permissions?.maintain===!0,i=f.permissions?.push===!0||f.permissions?.admin===!0||f.permissions?.maintain===!0;if(!h)return{status:"failed",repoSlug:g.slug,normalizedUrl:g.normalizedUrl,workflowInstallReady:!1,message:`GitHub token cannot read ${g.slug}. Grant repo read access to this token.`};if(!i)return{status:"failed",repoSlug:g.slug,normalizedUrl:g.normalizedUrl,workflowInstallReady:!1,message:`GitHub token cannot write repository contents for ${g.slug}. Workflow install PRs need Contents write access. Use a classic PAT with repo + workflow or a fine-grained PAT with Contents write + Workflows write on this repo.`};try{await c.listActionsWorkflows(g.owner,g.repo)}catch(a){if(a instanceof e.OS&&(403===a.status||404===a.status)&&/workflow/i.test(a.message))return{status:"failed",repoSlug:g.slug,normalizedUrl:g.normalizedUrl,workflowInstallReady:!1,message:d.aR};if(a instanceof e.OS&&403===a.status)return{status:"failed",repoSlug:g.slug,normalizedUrl:g.normalizedUrl,workflowInstallReady:!1,message:`GitHub denied Actions workflow access for ${g.slug}. Grant Workflows write (fine-grained PAT) or workflow scope (classic PAT), then update GITHUB_TOKEN and verify again.`};throw a}if("fine-grained"===a.tokenType)return{status:"connected",repoSlug:g.slug,normalizedUrl:g.normalizedUrl,workflowInstallReady:!0,message:`Connected to ${g.slug} with repo + workflow install access expected.`,limitation:d.BA};return{status:"connected",repoSlug:g.slug,normalizedUrl:g.normalizedUrl,workflowInstallReady:!0,message:`Connected to ${g.slug} with repo + workflow install access.`}}catch(a){if(a instanceof e.OS){if(404===a.status)return{status:"failed",repoSlug:g.slug,normalizedUrl:g.normalizedUrl,workflowInstallReady:!1,message:`Repo ${g.slug} was not found or this token cannot access it.`};if(401===a.status)return{status:"failed",workflowInstallReady:!1,message:"GitHub rejected the token. Verify GITHUB_TOKEN and try again."};if(403===a.status)return{status:"failed",repoSlug:g.slug,normalizedUrl:g.normalizedUrl,workflowInstallReady:!1,message:`GitHub denied access to ${g.slug}. Check token permissions for this repo.`};return{status:"failed",workflowInstallReady:!1,message:n(`GitHub API returned HTTP ${a.status} while checking ${g.slug}.`,[b])}}return{status:"failed",workflowInstallReady:!1,message:n(a instanceof Error?a.message:String(a),[b])}}}async function s(a){let b=a.trim();if(!b)return{status:"failed",message:"Enter a Vercel token before verifying."};try{let a=await (0,l.UL)(b);return{status:"connected",label:a.username,message:`Connected as ${a.username}.`,limitation:"This confirms the Vercel token can read account metadata. Project and env var writes still require preview + confirmation."}}catch(c){let a=c instanceof Error?c.message:String(c);if(/unauthorized|forbidden|401|403/i.test(a))return{status:"failed",message:"Vercel rejected this token. Check that VERCEL_TOKEN is valid."};return{status:"failed",message:n(a,[b])}}}async function t(a){let b=(0,k.ym)(a.cwd),c=await (0,j.Hn)(b);return c?.values[a.key]?.trim()||void 0}async function u(a){let b=a.token?.trim();if(b)return{token:b,usedSavedKey:!1};let c=await t({cwd:a.cwd,key:{linear:"LINEAR_API_KEY",cursor:"CURSOR_API_KEY",github:"GITHUB_TOKEN",vercel:"VERCEL_TOKEN"}[a.service]});return c?{token:c,usedSavedKey:!0}:{token:void 0,usedSavedKey:!1}}async function v(a){let b,c=await u(a);if(!c.token)return{status:"failed",message:`Enter ${({linear:"LINEAR_API_KEY",cursor:"CURSOR_API_KEY",github:"GITHUB_TOKEN",vercel:"VERCEL_TOKEN"})[a.service]} or save it in .env.local before verifying.`,usedSavedKey:!1};switch(a.service){case"linear":b=await o(c.token);break;case"cursor":b=await q(c.token);break;case"github":b=await p(c.token);break;case"vercel":b=await s(c.token)}return{...b,usedSavedKey:c.usedSavedKey}}async function w(a){let b=await u({cwd:a.cwd,service:"github",token:a.githubToken});return{...await r({token:b.token??"",targetRepo:a.targetRepo}),usedSavedGithubToken:b.usedSavedKey}}},57362:(a,b,c)=>{c.d(b,{B8:()=>g,Gn:()=>h,QJ:()=>e,h4:()=>f,qs:()=>i});let d=RegExp("^(LINEAR_API_KEY|CURSOR_API_KEY|GITHUB_TOKEN|VERCEL_TOKEN|HARNESS_GITHUB_TOKEN|HARNESS_CONFIG_JSON_B64|LINEAR_WEBHOOK_SECRET|GITHUB_DISPATCH_TOKEN)=(.*)$","gm");function e(a){return a.replace(d,(a,b,c)=>c.length>0?`${b}=<redacted>`:`${b}=`)}function f(a,b){let c=a;for(let a of b)a&&(c=c.split(a).join("<redacted>"));return c}function g(a){return[a?.linearApiKey,a?.cursorApiKey,a?.githubToken,a?.vercelToken].filter(a=>!!a)}function h(a){return[a?.linearApiKey,a?.cursorApiKey,a?.githubToken,a?.harnessConfigJsonB64].filter(a=>!!a)}function i(a,b=[]){let c=a=>f(e(a),b);return{...a,content:a.content?c(a.content):void 0,reason:a.reason?c(a.reason):void 0,logMessage:a.logMessage?c(a.logMessage):void 0,manualInstructions:a.manualInstructions?.map(a=>c(a))}}},58885:(a,b,c)=>{c.d(b,{N:()=>i});var d=c(73024),e=c(76760),f=c.n(e),g=c(33443),h=c.n(g);function i(a=process.cwd()){h().config({path:f().join(a,".env")});let b=f().join(a,".env.local");(0,d.existsSync)(b)&&h().config({path:b,override:!0})}},67470:(a,b,c)=>{c.d(b,{OS:()=>e,jh:()=>g});var d=c(92116);class e extends Error{constructor(a,b){super(b),this.name="GitHubApiError",this.status=a}}let f="https://api.github.com";class g{constructor(a){this.token=a.token}async request(a,b){let c=await fetch(`${f}${a}`,{method:b?.method??"GET",headers:{Accept:"application/vnd.github+json",Authorization:`Bearer ${this.token}`,"X-GitHub-Api-Version":"2022-11-28",...b?.body?{"Content-Type":"application/json"}:{}},body:b?.body?JSON.stringify(b.body):void 0});if(!c.ok){let a=await c.text(),b=(0,d.M)(a||`GitHub API request failed: ${c.status}`);throw new e(c.status,b)}let g=await c.text();return 204!==c.status&&g.trim()?JSON.parse(g):{}}async graphqlRequest(a,b){let c=await fetch(`${f}/graphql`,{method:"POST",headers:{Accept:"application/vnd.github+json",Authorization:`Bearer ${this.token}`,"X-GitHub-Api-Version":"2022-11-28","Content-Type":"application/json"},body:JSON.stringify({query:a,variables:b})});if(!c.ok){let a=await c.text(),b=(0,d.M)(a||`GitHub GraphQL request failed: ${c.status}`);throw new e(c.status,b)}let g=await c.json();if(g.errors?.length)throw new e(422,g.errors.map(a=>a.message).join("; "));if(!g.data)throw new e(422,"GitHub GraphQL response missing data");return g.data}async getAuthenticatedUser(){return this.request("/user")}async inspectAuthenticatedUser(){let a=await fetch(`${f}/user`,{method:"GET",headers:{Accept:"application/vnd.github+json",Authorization:`Bearer ${this.token}`,"X-GitHub-Api-Version":"2022-11-28"}}),b=await a.text();if(!a.ok){let c=(0,d.M)(b||`GitHub API request failed: ${a.status}`);throw new e(a.status,c)}return{login:JSON.parse(b).login,oauthScopes:(a.headers.get("x-oauth-scopes")??"").split(",").map(a=>a.trim().toLowerCase()).filter(Boolean),tokenType:a.headers.get("github-authentication-token-type")}}async listActionsWorkflows(a,b){return this.request(`/repos/${a}/${b}/actions/workflows?per_page=1`)}async getBranchRef(a,b,c){return this.request(`/repos/${a}/${b}/git/ref/heads/${encodeURIComponent(c)}`)}async getRepository(a,b){return this.request(`/repos/${a}/${b}`)}async getRepositoryById(a){if(!Number.isInteger(a)||a<=0)throw Error(`Invalid GitHub repository ID: ${String(a)}`);return this.request(`/repositories/${a}`)}async getPullRequest(a,b,c){return this.request(`/repos/${a}/${b}/pulls/${c}`)}async markPullRequestReadyForReview(a,b,c){let d=await this.getPullRequest(a,b,c);return await this.graphqlRequest(`mutation MarkPullRequestReadyForReview($pullRequestId: ID!) {
2
- markPullRequestReadyForReview(input: { pullRequestId: $pullRequestId }) {
3
- pullRequest { isDraft }
4
- }
5
- }`,{pullRequestId:d.node_id}),this.getPullRequest(a,b,c)}async getPullRequestFiles(a,b,c){return this.request(`/repos/${a}/${b}/pulls/${c}/files`)}async getIssueComments(a,b,c){return this.request(`/repos/${a}/${b}/issues/${c}/comments`)}async getCheckRunsForRef(a,b,c){return this.request(`/repos/${a}/${b}/commits/${c}/check-runs`)}async getCombinedStatusForRef(a,b,c){return this.request(`/repos/${a}/${b}/commits/${c}/status`)}async mergePullRequest(a,b,c,d){return this.request(`/repos/${a}/${b}/pulls/${c}/merge`,{method:"PUT",body:{merge_method:d.mergeMethod,...d.commitTitle?{commit_title:d.commitTitle}:{},...d.expectedHeadSha?{sha:d.expectedHeadSha}:{}}})}async updatePullRequestBranch(a,b,c,d={}){return this.request(`/repos/${a}/${b}/pulls/${c}/update-branch`,{method:"PUT",body:{...d.expectedHeadSha?{expected_head_sha:d.expectedHeadSha}:{}}})}async compareCommits(a,b,c,d){return this.request(`/repos/${a}/${b}/compare/${c}...${d}`)}async getActionsPublicKey(a,b){return this.request(`/repos/${a}/${b}/actions/secrets/public-key`)}async listActionsSecrets(a,b){return this.request(`/repos/${a}/${b}/actions/secrets?per_page=100`)}async upsertActionsSecret(a,b,c,d,e){await this.request(`/repos/${a}/${b}/actions/secrets/${c}`,{method:"PUT",body:{encrypted_value:d,key_id:e}})}async getRepositoryContent(a,b,c,d){try{return await this.request(`/repos/${a}/${b}/contents/${c}?ref=${encodeURIComponent(d)}`)}catch(a){if(a instanceof e&&404===a.status)return null;throw a}}decodeRepositoryContent(a){return Buffer.from(a.content,"base64").toString("utf8")}async createOrUpdateRepositoryFile(a){return{commitSha:(await this.request(`/repos/${a.owner}/${a.repo}/contents/${a.path}`,{method:"PUT",body:{message:a.message,content:Buffer.from(a.content,"utf8").toString("base64"),branch:a.branch,...a.sha?{sha:a.sha}:{}}})).commit.sha}}async createGitRef(a,b,c,d){return this.request(`/repos/${a}/${b}/git/refs`,{method:"POST",body:{ref:`refs/heads/${c}`,sha:d}})}async createRepositoryFromTemplate(a){return this.request(`/repos/${a.templateOwner}/${a.templateRepo}/generate`,{method:"POST",body:{owner:a.owner,name:a.name,description:a.description,private:a.private,include_all_branches:a.includeAllBranches??!1}})}async createPullRequest(a){return this.request(`/repos/${a.owner}/${a.repo}/pulls`,{method:"POST",body:{title:a.title,head:a.head,base:a.base,body:a.body}})}async listPullRequests(a,b,c={}){let d=new URLSearchParams;return d.set("state",c.state??"open"),c.base&&d.set("base",c.base),c.head&&d.set("head",c.head),d.set("sort",c.sort??"created"),d.set("direction",c.direction??"desc"),this.request(`/repos/${a}/${b}/pulls?${d.toString()}`)}}},74590:(a,b,c)=>{c.d(b,{A3:()=>q,Eb:()=>o,FR:()=>z,MA:()=>B,P4:()=>p,UL:()=>l,V9:()=>v,_i:()=>y,b1:()=>w,bM:()=>u,c9:()=>f,dQ:()=>t,dk:()=>m,iQ:()=>i,ln:()=>n,oN:()=>r,wH:()=>A,wI:()=>x});var d=c(75365);let e="https://api.vercel.com";class f extends Error{constructor(a){super(a.message),this.name="VercelEnvVarTypeError",this.key=a.key,this.existingType=a.existingType,this.status=a.status}}class g extends Error{constructor(a){super(a.message),this.name="VercelTeamBillingError",this.status=a.status,this.providerCode=a.providerCode}}let h=new Set(["LINEAR_WEBHOOK_SECRET","GITHUB_DISPATCH_TOKEN"]);function i(a){return h.has(a)?"sensitive":"plain"}function j(a){return/cannot change the key of a sensitive environment variable/i.test(a.body)?new f({key:a.key,existingType:a.existingType,status:a.status,message:`Vercel rejected updating ${a.key} because sensitive environment variables cannot have their key changed via API. The app did not delete or recreate it. Update the value manually in Vercel or approve a separate delete/recreate repair.`}):/cannot change the type of a sensitive environment variable/i.test(a.body)?new f({key:a.key,existingType:a.existingType,status:a.status,message:`Vercel rejected updating ${a.key} because it is a sensitive environment variable whose type cannot be changed. The app did not delete or recreate it. Update the value manually in Vercel or approve a separate delete/recreate repair.`}):null}async function k(a,b,c){let d=new URL(`${e}${b}`);c?.teamId&&d.searchParams.set("teamId",c.teamId);let f=await fetch(d,{...c,headers:{Authorization:`Bearer ${a.trim()}`,"Content-Type":"application/json",...c?.headers??{}}});if(!f.ok){let a=await f.text();throw Error(`Vercel API ${f.status} on ${b}: ${a.slice(0,200)}`)}if(204!==f.status)return await f.json()}async function l(a){return(await k(a,"/v2/user")).user}async function m(a){return((await k(a,"/v2/teams")).teams??[]).map(a=>({id:a.id,name:a.name,slug:a.slug}))}async function n(a,b){let c="/v1/teams",d=new URL(`${e}${c}`),f=await fetch(d,{method:"POST",headers:{Authorization:`Bearer ${a.trim()}`,"Content-Type":"application/json"},body:JSON.stringify({slug:b.slug.trim(),...b.name?.trim()?{name:b.name.trim()}:{}})});if(!f.ok){let a=await f.text(),b=function(a){let b=a.body.match(/"code"\s*:\s*"(payment_method_required|billing|payment[^"]*)"/i),c=b?.[1];return"payment_method_required"===c||/payment method is required/i.test(a.body)||/credit card/i.test(a.body)?new g({status:a.status,providerCode:c??"payment_method_required",message:"Vercel requires a payment method before creating another team. No harness setup was applied. Add or update billing in Vercel, or choose an existing team."}):null}({status:f.status,body:a});if(b)throw b;throw Error(`Vercel API ${f.status} on ${c}: ${a.slice(0,200)}`)}let h=await f.json();return{id:h.id,slug:h.slug,name:h.name??b.name?.trim()??h.slug}}async function o(a,b){return((await k(a,"/v9/projects",{teamId:b})).projects??[]).map(a=>({id:a.id,name:a.name,accountId:a.accountId}))}async function p(a,b){let c=await k(a,"/v11/projects",{method:"POST",teamId:b.teamId,body:JSON.stringify({name:b.name.trim()})});return{id:c.id,name:c.name,accountId:c.accountId}}async function q(a,b,c){return((await k(a,`/v9/projects/${b}/env`,{teamId:c})).envs??[]).map(a=>({id:a.id,key:a.key,target:a.target??[],type:a.type??"encrypted"}))}function r(a){return"READY"===a.readyState||"READY"===a.state}function s(a){return a.replace(/^https?:\/\//,"").replace(/\/$/,"").toLowerCase()}async function t(a){let b,c=a.listDeployments??u,d=a.getDeployment??v;if(a.preferredDeploymentId?.trim()){if(!r(b=await d(a.vercelToken,a.preferredDeploymentId.trim(),a.teamId)))return}else{if(!(b=(await c(a.vercelToken,a.projectId,a.teamId,{state:"READY",limit:5})).find(a=>r(a))))return;b.aliases?.length||(b=await d(a.vercelToken,b.id,a.teamId))}let e=function(a){let b=s(a.deploymentUrl),c=(a.aliases??[]).map(a=>s(a)).filter(Boolean),d=c.filter(a=>a!==b&&!function(a){let b=s(a);return/^.+-[a-z0-9]{8,}-.+\.vercel\.app$/i.test(b)}(a));if(d.length>0){let a=d.find(a=>!a.endsWith(".vercel.app"))??[...d].sort((a,b)=>a.length-b.length)[0];return{host:a,source:"stable_alias",stableAlias:a}}let e=c.find(a=>a!==b);return e?{host:e,source:"stable_alias",stableAlias:e}:{host:b,source:"latest_ready_deployment"}}({deploymentUrl:b.url,aliases:b.aliases});return{productionUrl:`https://${e.host}`,webhookUrl:function(a){let b=a.replace(/^https?:\/\//,"").replace(/\/$/,"");return`https://${b}/api/linear-webhook`}(e.host),deploymentId:b.id,deploymentUrl:b.url,source:e.source,stableAlias:e.stableAlias,readyState:b.readyState,state:b.state}}async function u(a,b,c,d){let e=new URLSearchParams({projectId:b,target:"production",limit:String(d?.limit??5)});return d?.state?.trim()&&e.set("state",d.state.trim()),((await k(a,`/v6/deployments?${e.toString()}`,{teamId:c})).deployments??[]).map(a=>({id:a.uid,url:a.url,state:a.state,readyState:a.readyState,aliases:a.alias??[]}))}async function v(a,b,c){let d=await k(a,`/v13/deployments/${b}`,{teamId:c});return{id:d.uid??d.id??b,url:d.url,state:d.state,readyState:d.readyState,aliases:d.alias??[]}}async function w(a,b){let c=await k(a,"/v13/deployments",{method:"POST",teamId:b.teamId,body:JSON.stringify({name:b.projectName.trim(),deploymentId:b.sourceDeploymentId,target:"production"})});return{id:c.uid??c.id??b.sourceDeploymentId,url:c.url,state:c.state,readyState:c.readyState}}async function x(a,b){let c=b.existingEnv?.id??b.existingEnvId,d=b.existingEnv?.type,f=i(b.key);if(c){var g;let f=`/v9/projects/${b.projectId}/env/${c}`,h=new URL(`${e}${f}`);b.teamId&&h.searchParams.set("teamId",b.teamId);let i=await fetch(h,{method:"PATCH",headers:{Authorization:`Bearer ${a.trim()}`,"Content-Type":"application/json"},body:JSON.stringify({value:(g={value:b.value,existingEnv:b.existingEnv}).value,target:g.existingEnv?.target?.length?g.existingEnv.target:["production"]})});if(!i.ok){let a=await i.text(),c=j({key:b.key,existingType:d??"encrypted",status:i.status,body:a});if(c)throw c;throw Error(`Vercel API ${i.status} on ${f}: ${a.slice(0,200)}`)}return}let h=`/v10/projects/${b.projectId}/env`,k=new URL(`${e}${h}`);b.teamId&&k.searchParams.set("teamId",b.teamId);let l=await fetch(k,{method:"POST",headers:{Authorization:`Bearer ${a.trim()}`,"Content-Type":"application/json"},body:JSON.stringify({key:b.key,value:b.value,type:f,target:["production"]})});if(!l.ok){let a=await l.text(),c=j({key:b.key,existingType:f,status:l.status,body:a});if(c)throw c;throw Error(`Vercel API ${l.status} on ${h}: ${a.slice(0,200)}`)}}async function y(a){try{let b=await fetch(a,{method:"GET",redirect:"manual"}),c=b.headers.get("location")??"";if((302===b.status||307===b.status||308===b.status)&&/vercel\.com\/sso-api/i.test(c))return{reachable:!1,statusCode:b.status,reason:"protection_redirect"};if(405===b.status)return{reachable:!0,statusCode:b.status};if(404===b.status||401===b.status||403===b.status||b.status>=500)return{reachable:!1,statusCode:b.status};if(b.status>=200&&b.status<400)return{reachable:!0,statusCode:b.status};return{reachable:!1,statusCode:b.status}}catch{return{reachable:!1}}}function z(a){let b=new Set(a.map(a=>a.key));return Object.fromEntries(d.P$.map(a=>[a,b.has(a)?"present":"missing"]))}function A(a,b){let c=b.trim().toLowerCase();return a.find(a=>a.slug.toLowerCase()===c)}function B(a,b){let c=b.trim().toLowerCase();return a.find(a=>a.name.toLowerCase()===c)}},75365:(a,b,c)=>{c.d(b,{P$:()=>d,ck:()=>e,s5:()=>g,vC:()=>f});let d=["LINEAR_WEBHOOK_SECRET","GITHUB_DISPATCH_TOKEN","HARNESS_TEAM_KEY"],e=["GITHUB_DISPATCH_REPOSITORY","GITHUB_DISPATCH_EVENT_TYPE","LINEAR_WEBHOOK_TIMESTAMP_TOLERANCE_MS"],f={GITHUB_DISPATCH_REPOSITORY:"weston-uribe/agentic-product-development-harness",GITHUB_DISPATCH_EVENT_TYPE:"linear_issue_status_changed",LINEAR_WEBHOOK_TIMESTAMP_TOLERANCE_MS:"60000"};function g(a){let b={LINEAR_WEBHOOK_SECRET:a.requiredEnvPresence?.LINEAR_WEBHOOK_SECRET??"missing",GITHUB_DISPATCH_TOKEN:a.requiredEnvPresence?.GITHUB_DISPATCH_TOKEN??"missing",HARNESS_TEAM_KEY:a.requiredEnvPresence?.HARNESS_TEAM_KEY??"missing"},c=[];for(let[d,e]of(a.projectId||c.push("Select the Vercel bridge project."),a.productionUrl||c.push("Resolve the Vercel production URL for the bridge project."),a.endpointReachable||c.push("Verify /api/linear-webhook is reachable on the production URL."),Object.entries(b)))"missing"===e&&c.push(`Vercel production env var ${d} is missing.`);a.linearWebhookVerified||c.push("Verify the Linear Issue webhook points at the Vercel bridge URL."),a.signedProbeVerified||c.push("Signed webhook delivery verification has not passed against production."),a.deploymentRedeployRequired&&c.push("Redeploy Vercel production after env var changes, then retry signed verification.");let d=0===c.length&&!!a.projectId&&!!a.productionUrl&&!!a.endpointReachable&&!0===a.linearWebhookVerified&&!0===a.signedProbeVerified&&!0!==a.deploymentRedeployRequired;return{projectSelected:!!a.projectId,productionUrl:a.productionUrl,webhookUrl:a.webhookUrl,endpointReachable:!!a.endpointReachable,requiredEnvPresence:b,linearWebhookVerified:!!a.linearWebhookVerified,signedProbeVerified:!!a.signedProbeVerified,deploymentRedeployRequired:!!a.deploymentRedeployRequired,manualComplete:!!a.manualComplete,ready:d,blockers:c}}},83954:(a,b,c)=>{c.d(b,{Re:()=>i,Vq:()=>h});var d=c(73024),e=c(76760),f=c.n(e);c(73136);var g=c(58885);function h(a=process.cwd()){let b=process.env.HARNESS_REPO_ROOT?.trim();if(b)return f().resolve(b);let c=process.env.P_DEV_HOME?.trim();if(c)return f().resolve(c);let e=f().resolve(a);for(;;){let a=f().join(e,"package.json");if((0,d.existsSync)(a))try{let b=(0,d.readFileSync)(a,"utf8");if("agentic-product-development-harness"===JSON.parse(b).name)return e}catch{}let b=f().dirname(e);if(b===e)break;e=b}throw Error(`Could not resolve harness repo root from ${a}. Set HARNESS_REPO_ROOT or run harness:gui from the repo.`)}function i(a){(0,g.N)(a);let b=process.env.HARNESS_CONFIG_PATH?.trim();b&&!f().isAbsolute(b)&&(process.env.HARNESS_CONFIG_PATH=f().resolve(a,b))}},84998:(a,b,c)=>{c.d(b,{bm:()=>i,gr:()=>f,it:()=>j,ym:()=>k});var d=c(76760),e=c.n(d);let f=".env.local",g=".harness",h=e().join(g,"config.example.json"),i=e().join(g,"config.local.json"),j=".harness/config.local.json";function k(a){let b=a??process.cwd();return{cwd:b,envExample:e().join(b,".env.example"),envLocal:e().join(b,f),harnessDir:e().join(b,g),configExample:e().join(b,h),configLocal:e().join(b,i)}}},87285:(a,b,c)=>{c.d(b,{HF:()=>n,Hn:()=>k,Ol:()=>p,Um:()=>i,W:()=>o,X_:()=>r,_b:()=>l,ed:()=>j,lL:()=>q});var d=c(51455),e=c(57362),f=c(84998);let g=["HARNESS_CONFIG_PATH","GITHUB_DISPATCH_REPOSITORY","GITHUB_DISPATCH_REPOSITORY_ID","LINEAR_API_KEY","CURSOR_API_KEY","GITHUB_TOKEN","VERCEL_TOKEN"];async function h(a){try{return await (0,d.access)(a),!0}catch{return!1}}function i(a){let b={},c={HARNESS_CONFIG_PATH:!1,GITHUB_DISPATCH_REPOSITORY:!1,GITHUB_DISPATCH_REPOSITORY_ID:!1,LINEAR_API_KEY:!1,CURSOR_API_KEY:!1,GITHUB_TOKEN:!1,VERCEL_TOKEN:!1};for(let d of a.split("\n")){let a=d.trim();if(!a||a.startsWith("#"))continue;let e=a.indexOf("=");if(-1===e)continue;let f=a.slice(0,e).trim(),g=a.slice(e+1).trim();f in c?(b[f]=g,g.length>0&&(c[f]=!0)):"LINEAR_WEBHOOK_SECRET"===f&&(b[f]=g)}return{values:b,presence:c}}async function j(a){return await h(a.envLocal)?(0,d.readFile)(a.envLocal,"utf8"):null}async function k(a){let b=await j(a);return null===b?null:i(b)}function l(a,b){let c={harnessConfigPath:b.harnessConfigPath?.trim()||a?.values.HARNESS_CONFIG_PATH||f.it,githubDispatchRepository:b.githubDispatchRepository?.trim()||a?.values.GITHUB_DISPATCH_REPOSITORY||void 0,githubDispatchRepositoryId:b.githubDispatchRepositoryId?.trim()||a?.values.GITHUB_DISPATCH_REPOSITORY_ID||void 0};for(let[d,e]of Object.entries({linearApiKey:"LINEAR_API_KEY",cursorApiKey:"CURSOR_API_KEY",githubToken:"GITHUB_TOKEN",vercelToken:"VERCEL_TOKEN"})){let f=b[d]?.trim();f?c[d]=f:a?.values[e]&&(c[d]=a.values[e])}return c}function m(a){return{HARNESS_CONFIG_PATH:a.harnessConfigPath??f.it,GITHUB_DISPATCH_REPOSITORY:a.githubDispatchRepository??"",GITHUB_DISPATCH_REPOSITORY_ID:a.githubDispatchRepositoryId??"",LINEAR_API_KEY:a.linearApiKey??"",CURSOR_API_KEY:a.cursorApiKey??"",GITHUB_TOKEN:a.githubToken??"",VERCEL_TOKEN:a.vercelToken??""}}function n(a,b){if(null===a){let a=m(b);return`# Operator local setup — generated by harness setup core
6
- # Do not commit .env.local (gitignored).
7
-
8
- # --- Harness managed keys ---
9
- HARNESS_CONFIG_PATH=${a.HARNESS_CONFIG_PATH}
10
- GITHUB_DISPATCH_REPOSITORY=${a.GITHUB_DISPATCH_REPOSITORY}
11
- GITHUB_DISPATCH_REPOSITORY_ID=${a.GITHUB_DISPATCH_REPOSITORY_ID}
12
- LINEAR_API_KEY=${a.LINEAR_API_KEY}
13
- CURSOR_API_KEY=${a.CURSOR_API_KEY}
14
- GITHUB_TOKEN=${a.GITHUB_TOKEN}
15
- VERCEL_TOKEN=${a.VERCEL_TOKEN}
16
- `}let c=m(b),d=a.split("\n"),e=new Set,f=[];for(let a of d){let b=a.trim();if(!b||b.startsWith("#")){f.push(a);continue}let d=b.indexOf("=");if(-1===d){f.push(a);continue}let h=b.slice(0,d).trim();if(!g.includes(h)){f.push(a);continue}e.add(h),f.push(`${h}=${c[h]}`)}let h=g.filter(a=>!e.has(a));if(h.length>0)for(let a of(f.length>0&&""!==f[f.length-1]&&f.push(""),f.push("# --- Harness managed keys ---"),h))f.push(`${a}=${c[a]}`);let i=f.join("\n");return a.endsWith("\n")&&!i.endsWith("\n")&&(i+="\n"),i}function o(a){return(0,e.QJ)(a)}function p(a){return(0,e.B8)(a)}function q(a){return{HARNESS_CONFIG_PATH:!!a.harnessConfigPath?.trim(),GITHUB_DISPATCH_REPOSITORY:!!a.githubDispatchRepository?.trim(),GITHUB_DISPATCH_REPOSITORY_ID:!!a.githubDispatchRepositoryId?.trim(),LINEAR_API_KEY:!!a.linearApiKey?.trim(),CURSOR_API_KEY:!!a.cursorApiKey?.trim(),GITHUB_TOKEN:!!a.githubToken?.trim(),VERCEL_TOKEN:!!a.vercelToken?.trim()}}async function r(a){try{let b=await (0,d.stat)(a);return`${b.size}:${b.mtimeMs}`}catch{return"missing"}}},92116:(a,b,c)=>{c.d(b,{M:()=>e});let d=[/lin_api_[A-Za-z0-9_]+/gi,/ghp_[A-Za-z0-9]+/gi,/github_pat_[A-Za-z0-9_]+/gi,/cursor_[A-Za-z0-9_]+/gi,/sk-[A-Za-z0-9_-]+/gi,/xox[baprs]-[A-Za-z0-9-]+/gi,/Bearer\s+[A-Za-z0-9._-]+/gi];function e(a){let b=a;for(let a of d)b=b.replace(a,"[REDACTED]");return b.length>200?`${b.slice(0,200)}…`:b}}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=585,exports.ids=[585],exports.modules={4631:(a,b,c)=>{c.d(b,{CH:()=>h,L6:()=>k,LY:()=>e,Me:()=>l,PN:()=>i,fm:()=>g,o:()=>f,xp:()=>j});var d=c(12884);let e=["HARNESS_CONFIG_JSON_B64","LINEAR_API_KEY","CURSOR_API_KEY","HARNESS_GITHUB_TOKEN"],f="<harness-dispatch-repo>";function g(a){let b=new Map(a.map(a=>[a.name,a.status])),c=[],d=[];for(let a of e){let e=b.get(a);if("present"!==e){if("unknown"===e){d.push(a);continue}c.push(a)}}return{allPresent:0===c.length&&0===d.length,missing:c,unknown:d}}let h=".github/workflows/trigger-harness-production-sync.yml",i={previewHarnessSecrets:{id:"preview-harness-secrets",label:"Preview harness repo Actions secrets",description:"Dry-run preview of harness repo GitHub Actions secret writes after confirmation",permission:d.P.remoteRead},applyHarnessSecrets:{id:"apply-harness-secrets",label:"Apply harness repo Actions secrets",description:"Write harness repo GitHub Actions secrets after explicit confirmation",permission:d.P.remoteSecretWrite},previewTargetWorkflowPr:{id:"preview-target-workflow-pr",label:"Preview target repo workflow PR",description:"Dry-run preview of target repo production sync workflow branch and PR install",permission:d.P.remoteRead},applyTargetWorkflowPr:{id:"apply-target-workflow-pr",label:"Apply target repo workflow PR",description:"Create or update a target repo branch and PR for the production sync workflow",permission:d.P.remoteRepoWrite}};function j(a,b){if(a!==b)throw Error(`Remote setup action requires permission scope "${b}", received "${a}"`)}function k(a){if(!a)throw Error("Remote setup writes require explicit confirmation")}function l(a,b){if(!a)throw Error("Preview fingerprint is required");if(a!==b)throw Error("Preview fingerprint is stale. Regenerate preview before applying.")}},12884:(a,b,c)=>{c.d(b,{P:()=>d});let d={readOnly:{scope:"read-only",confirmation:"none",manualAlternative:!1},localFileWrite:{scope:"local-file-write",confirmation:"standard",manualAlternative:!0},remoteRead:{scope:"remote-read",confirmation:"standard",manualAlternative:!0},remoteSecretWrite:{scope:"remote-secret-write",confirmation:"strong",manualAlternative:!0},remoteRepoWrite:{scope:"remote-repo-write",confirmation:"strong",manualAlternative:!0},cloudWorkflowTrigger:{scope:"cloud-workflow-trigger",confirmation:"strong",manualAlternative:!0},linearWrite:{scope:"linear-write",confirmation:"high-risk",manualAlternative:!0}}},14745:(a,b,c)=>{c.d(b,{M:()=>g});var d=c(71512);let e=[{id:"fast",value:"false"}];function f(a){return a.agentProvider?.model?.id??a.defaultModel?.id??d.Sk}function g(a){let b,c=a??{version:1,orchestratorMarker:"harness-orchestrator-v1",logDirectory:"runs",repos:[{id:"target-app",targetRepo:"https://github.com/owner/example-target-app",baseBranch:"main",productionBranch:"main"}],allowedTargetRepos:["https://github.com/owner/example-target-app"]},d=f(c),g={id:f(c),params:[...e]},h="code-default";return c.agentProvider?.model?.id?(h="agentProvider.model.id",b=c.agentProvider.model.id):c.defaultModel?.id&&(h="defaultModel.id",b=c.defaultModel.id),{providerId:"cursor",resolvedModelId:d,configuredModelId:b,source:h,pinnedParams:g.params??[...e],paramsControlledInCode:!0,policyNote:"Model ids are Cursor cloud agent selections. fast:false is pinned in code for cost control and is not user-editable in config."}}},29281:(a,b,c)=>{c.d(b,{Z9:()=>m,g1:()=>n,rL:()=>l,xL:()=>j});var d=c(76760),e=c.n(d),f=c(51455),g=c(96105),h=c(73928),i=c(84783);class j extends Error{constructor(a){super(a),this.name="ConfigError"}}function k(a,b){let c;try{c=JSON.parse(a)}catch{throw new j(`Config is not valid JSON: ${b}`)}let d=g.k.safeParse(c);if(!d.success){let a=d.error.issues.map(a=>`${a.path.join(".")}: ${a.message}`).join("; ");throw new j(`Invalid harness config: ${a}`)}return n(d.data),d.data}async function l(a){let b=(0,i.m)(a);return{config:k(await (0,i.$)(b),b.label),source:b}}async function m(a){let b,c=e().resolve(a);try{b=await (0,f.readFile)(c,"utf8")}catch{throw new j(`Config file not found: ${c}`)}return k(b,c)}function n(a){let b=new Set(a.allowedTargetRepos.map(a=>(0,h.Hx)(a)));for(let c of a.repos){let a=(0,h.Hx)(c.targetRepo);if(!b.has(a))throw new j(`repos[].targetRepo "${c.targetRepo}" is not listed in allowedTargetRepos`)}}},34185:(a,b,c)=>{function d(a){let b=a.trim();if(!b)return null;let c=b.match(/^https:\/\/github\.com\/([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+?)(?:\.git)?\/?$/);if(c)return`${c[1]}/${c[2]}`;let d=b.match(/^git@github\.com:([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+?)(?:\.git)?$/);if(d)return`${d[1]}/${d[2]}`;let e=b.match(/^([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)$/);return e?`${e[1]}/${e[2]}`:null}function e(a){return d(a)}c.d(b,{R:()=>e,e:()=>d})},71512:(a,b,c)=>{c.d(b,{Ie:()=>d,R:()=>k,Sf:()=>j,Sk:()=>f,Zn:()=>g,dM:()=>i,h5:()=>e,nm:()=>h});let d="harness-orchestrator-v1",e="runs",f="composer-2.5",g="cursor",h="squash",i=!1,j=!1,k=!0},73928:(a,b,c)=>{c.d(b,{Hx:()=>f,rc:()=>g});let d="https://github.com/",e="github.com/";function f(a){let b=a.trim().replace(/\/$/,"");return b.startsWith(d)?b:b.startsWith("http://github.com/")?`${d}${b.slice(18)}`:b.startsWith(e)?`${d}${b.slice(e.length)}`:/^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(b)?`${d}${b}`:b}function g(a,b){return f(a)===f(b)}},84107:(a,b,c)=>{c.d(b,{OW:()=>k,e8:()=>h.e,vE:()=>j,z8:()=>m});var d=c(51455),e=c(76760),f=c.n(e),g=c(4631),h=c(34185),i=c(84998);async function j(a){let b=a??process.cwd(),c=f().join(b,".git","config");try{let a=(await (0,d.readFile)(c,"utf8")).match(/\[remote "origin"\][\s\S]*?(?=\[|$)/);if(!a)return null;let b=a[0].match(/^\s*url\s*=\s*(.+)$/m);return b?.[1]?.trim()??null}catch{return null}}function k(a){return a.repo??g.o}async function l(a,b){try{for(let c of(await (0,d.readFile)(a,"utf8")).split("\n")){let a=c.trim();if(!a||a.startsWith("#"))continue;let d=a.indexOf("=");if(-1===d||a.slice(0,d).trim()!==b)continue;let e=a.slice(d+1).trim();return e.length>0?e:void 0}}catch{}}async function m(a){let b=(0,i.ym)(a?.cwd),c=await l(b.envLocal,"GITHUB_DISPATCH_REPOSITORY");return function(a){let b=a?.explicitRepo?(0,h.e)(a.explicitRepo):null;if(b)return{repo:b,source:"explicit-config",resolved:!0,detail:"Resolved from explicit setup/config value."};if(a?.gitRemoteOriginUrl){let b=(0,h.R)(a.gitRemoteOriginUrl);if(b)return{repo:b,source:"git-remote-origin",resolved:!0,detail:"Resolved from harness repo git remote origin."}}let c=a?.manualRepo?(0,h.e)(a.manualRepo):null;return c?{repo:c,source:"manual",resolved:!0,detail:"Resolved from manual operator input."}:{repo:null,source:"manual",resolved:!1,detail:"Harness dispatch repo is unknown. Provide GITHUB_DISPATCH_REPOSITORY, ensure git remote origin is set, or enter the repo manually."}}({explicitRepo:a?.explicitRepo??c??process.env.GITHUB_DISPATCH_REPOSITORY,gitRemoteOriginUrl:await j(a?.cwd),manualRepo:a?.manualRepo})}},84783:(a,b,c)=>{c.d(b,{$:()=>j,m:()=>i});var d=c(51455),e=c(76760),f=c.n(e),g=c(29281);function h(a,b){return f().isAbsolute(b)?f().resolve(b):f().resolve(a,b)}function i(a){let b=a?.baseDir?.trim()||process.cwd(),c=function(){let a=process.argv;for(let b=0;b<a.length;b+=1){let c=a[b];if("--config"===c){let c=a[b+1];if(void 0===c||c.startsWith("-"))throw new g.xL("--config requires a path argument");return c}if(c.startsWith("--config=")){let a=c.slice(9);if(!a)throw new g.xL("--config requires a path argument");return a}}return null}();if(c)return{kind:"cli-config",label:h(b,c),raw:""};let d=process.env.HARNESS_CONFIG_JSON_B64?.trim();if(d)return{kind:"HARNESS_CONFIG_JSON_B64",label:"HARNESS_CONFIG_JSON_B64",raw:function(a){let b=a.trim();if(!b||!/^[A-Za-z0-9+/]+={0,2}$/.test(b))throw new g.xL("Invalid HARNESS_CONFIG_JSON_B64: not valid base64");try{return Buffer.from(b,"base64").toString("utf8")}catch{throw new g.xL("Invalid HARNESS_CONFIG_JSON_B64: not valid base64")}}(d)};let e=process.env.HARNESS_CONFIG_JSON?.trim();if(e)return{kind:"HARNESS_CONFIG_JSON",label:"HARNESS_CONFIG_JSON",raw:e};let f=process.env.HARNESS_CONFIG_PATH?.trim();return f?{kind:"HARNESS_CONFIG_PATH",label:h(b,f),raw:""}:{kind:"default-file",label:h(b,a?.configPath?.trim()||"harness.config.json"),raw:""}}async function j(a){if(a.raw)return a.raw;try{return await (0,d.readFile)(a.label,"utf8")}catch{throw new g.xL(`Config file not found: ${a.label}`)}}},96105:(a,b,c)=>{c.d(b,{k:()=>o});var d=c(74200),e=c(71512);let f=d.Yj().regex(/^https:\/\/github\.com\/[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+\/?$/,"must be a https://github.com/<owner>/<repo> URL"),g=d.Ik({id:d.Yj().min(1),linearProjects:d.YO(d.Yj()).optional(),linearTeams:d.YO(d.Yj()).optional(),targetRepo:f,baseBranch:d.Yj().min(1).default("main"),productionBranch:d.Yj().min(1).default("main"),previewProvider:d.Yj().optional(),integrationPreviewUrl:d.Yj().url().optional(),productionUrl:d.Yj().url().optional(),integrationSuccessStatus:d.Yj().min(1).optional(),productionSuccessStatus:d.Yj().min(1).optional(),validation:d.Ik({commands:d.YO(d.Yj()).optional()}).optional()}),h=d.Ik({teamKey:d.Yj().optional(),eligibleStatuses:d.Ik({planning:d.YO(d.Yj()).optional(),implementation:d.YO(d.Yj()).optional(),handoff:d.YO(d.Yj()).optional(),revision:d.YO(d.Yj()).optional(),merge:d.YO(d.Yj()).optional()}).optional(),transitionalStatuses:d.Ik({planningInProgress:d.Yj().optional(),buildingInProgress:d.Yj().optional(),prOpen:d.Yj().optional(),pmReview:d.Yj().optional(),blocked:d.Yj().optional(),readyForBuild:d.Yj().optional(),needsRevision:d.Yj().optional(),revisingInProgress:d.Yj().optional(),readyToMerge:d.Yj().optional(),mergingInProgress:d.Yj().optional(),mergedToDev:d.Yj().optional(),mergedDeployed:d.Yj().optional()}).optional()}),i=d.Ik({timeoutSeconds:d.ai().positive().optional()}),j=d.Ik({timeoutSeconds:d.ai().positive().optional(),branchPrefix:d.Yj().min(1).default(e.Zn)}),k=d.Ik({allowPmReviewWithoutPreview:d.zM().optional(),previewRequiredForSuccess:d.zM().optional()}),l=d.Ik({timeoutSeconds:d.ai().positive().optional()}),m=d.Ik({mergeMethod:d.k5(["squash","merge","rebase"]).optional(),deleteBranchAfterMerge:d.zM().optional(),allowPendingChecks:d.zM().optional(),allowUnknownChecks:d.zM().optional(),allowNeutralChecks:d.zM().optional(),deploymentRequiredForSuccess:d.zM().optional(),deploymentPollTimeoutSeconds:d.ai().positive().optional(),deploymentPollIntervalSeconds:d.ai().positive().optional(),checkPollTimeoutSeconds:d.ai().positive().optional()}),n=d.Ik({id:d.eu("cursor"),model:d.Ik({id:d.Yj()}).optional()}),o=d.Ik({version:d.eu(1),orchestratorMarker:d.Yj().default(e.Ie),logDirectory:d.Yj().default(e.h5),agentProvider:n.optional(),defaultModel:d.Ik({id:d.Yj()}).optional(),linear:h.optional(),planning:i.optional(),implementation:j.optional(),handoff:k.optional(),revision:l.optional(),merge:m.optional(),watch:d.Ik({pollIntervalSeconds:d.ai().positive().optional(),maxConcurrentRuns:d.ai().positive().optional()}).optional(),preview:d.Ik({pollTimeoutSeconds:d.ai().positive().optional(),pollIntervalSeconds:d.ai().positive().optional()}).optional(),repos:d.YO(g).min(1),allowedTargetRepos:d.YO(f).min(1)}).strict()}};
@@ -1 +0,0 @@
1
- exports.id=711,exports.ids=[711],exports.modules={1667:a=>{"use strict";a.exports=JSON.parse('{"name":"dotenv","version":"16.6.1","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","pretest":"npm run lint && npm run dts-check","test":"tap run --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"homepage":"https://github.com/motdotla/dotenv#readme","funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@types/node":"^18.11.3","decache":"^4.6.2","sinon":"^14.0.1","standard":"^17.0.0","standard-version":"^9.5.0","tap":"^19.2.0","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')},7420:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"NextResponse",{enumerable:!0,get:function(){return l}});let d=c(77996),e=c(70766),f=c(29790),g=c(91521),h=c(77996),i=Symbol("internal response"),j=new Set([301,302,303,307,308]);function k(a,b){var c;if(null==a||null==(c=a.request)?void 0:c.headers){if(!(a.request.headers instanceof Headers))throw Object.defineProperty(Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});let c=[];for(let[d,e]of a.request.headers)b.set("x-middleware-request-"+d,e),c.push(d);b.set("x-middleware-override-headers",c.join(","))}}class l extends Response{constructor(a,b={}){super(a,b);let c=this.headers,j=new Proxy(new h.ResponseCookies(c),{get(a,e,f){switch(e){case"delete":case"set":return(...f)=>{let g=Reflect.apply(a[e],a,f),i=new Headers(c);return g instanceof h.ResponseCookies&&c.set("x-middleware-set-cookie",g.getAll().map(a=>(0,d.stringifyCookie)(a)).join(",")),k(b,i),g};default:return g.ReflectAdapter.get(a,e,f)}}});this[i]={cookies:j,url:b.url?new e.NextURL(b.url,{headers:(0,f.toNodeOutgoingHttpHeaders)(c),nextConfig:b.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[i].cookies}static json(a,b){let c=Response.json(a,b);return new l(c.body,c)}static redirect(a,b){let c="number"==typeof b?b:(null==b?void 0:b.status)??307;if(!j.has(c))throw Object.defineProperty(RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,configurable:!0});let d="object"==typeof b?b:{},e=new Headers(null==d?void 0:d.headers);return e.set("Location",(0,f.validateURL)(a)),new l(null,{...d,headers:e,status:c})}static rewrite(a,b){let c=new Headers(null==b?void 0:b.headers);return c.set("x-middleware-rewrite",(0,f.validateURL)(a)),k(b,c),new l(null,{...b,headers:c})}static next(a){let b=new Headers(null==a?void 0:a.headers);return b.set("x-middleware-next","1"),k(a,b),new l(null,{...a,headers:b})}}},17225:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"after",{enumerable:!0,get:function(){return e}});let d=c(29294);function e(a){let b=d.workAsyncStorage.getStore();if(!b)throw Object.defineProperty(Error("`after` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context"),"__NEXT_ERROR_CODE",{value:"E468",enumerable:!1,configurable:!0});let{afterContext:c}=b;return c.after(a)}},18723:(a,b,c)=>{var d;(()=>{var e={226:function(e,f){!function(g,h){"use strict";var i="function",j="undefined",k="object",l="string",m="major",n="model",o="name",p="type",q="vendor",r="version",s="architecture",t="console",u="mobile",v="tablet",w="smarttv",x="wearable",y="embedded",z="Amazon",A="Apple",B="ASUS",C="BlackBerry",D="Browser",E="Chrome",F="Firefox",G="Google",H="Huawei",I="Microsoft",J="Motorola",K="Opera",L="Samsung",M="Sharp",N="Sony",O="Xiaomi",P="Zebra",Q="Facebook",R="Chromium OS",S="Mac OS",T=function(a,b){var c={};for(var d in a)b[d]&&b[d].length%2==0?c[d]=b[d].concat(a[d]):c[d]=a[d];return c},U=function(a){for(var b={},c=0;c<a.length;c++)b[a[c].toUpperCase()]=a[c];return b},V=function(a,b){return typeof a===l&&-1!==W(b).indexOf(W(a))},W=function(a){return a.toLowerCase()},X=function(a,b){if(typeof a===l)return a=a.replace(/^\s\s*/,""),typeof b===j?a:a.substring(0,350)},Y=function(a,b){for(var c,d,e,f,g,j,l=0;l<b.length&&!g;){var m=b[l],n=b[l+1];for(c=d=0;c<m.length&&!g&&m[c];)if(g=m[c++].exec(a))for(e=0;e<n.length;e++)j=g[++d],typeof(f=n[e])===k&&f.length>0?2===f.length?typeof f[1]==i?this[f[0]]=f[1].call(this,j):this[f[0]]=f[1]:3===f.length?typeof f[1]!==i||f[1].exec&&f[1].test?this[f[0]]=j?j.replace(f[1],f[2]):void 0:this[f[0]]=j?f[1].call(this,j,f[2]):void 0:4===f.length&&(this[f[0]]=j?f[3].call(this,j.replace(f[1],f[2])):h):this[f]=j||h;l+=2}},Z=function(a,b){for(var c in b)if(typeof b[c]===k&&b[c].length>0){for(var d=0;d<b[c].length;d++)if(V(b[c][d],a))return"?"===c?h:c}else if(V(b[c],a))return"?"===c?h:c;return a},$={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},_={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[r,[o,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[r,[o,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[o,r],[/opios[\/ ]+([\w\.]+)/i],[r,[o,K+" Mini"]],[/\bopr\/([\w\.]+)/i],[r,[o,K]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[o,r],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[r,[o,"UC"+D]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[r,[o,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[r,[o,"WeChat"]],[/konqueror\/([\w\.]+)/i],[r,[o,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[r,[o,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[r,[o,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[o,/(.+)/,"$1 Secure "+D],r],[/\bfocus\/([\w\.]+)/i],[r,[o,F+" Focus"]],[/\bopt\/([\w\.]+)/i],[r,[o,K+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[r,[o,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[r,[o,"Dolphin"]],[/coast\/([\w\.]+)/i],[r,[o,K+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[r,[o,"MIUI "+D]],[/fxios\/([-\w\.]+)/i],[r,[o,F]],[/\bqihu|(qi?ho?o?|360)browser/i],[[o,"360 "+D]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[o,/(.+)/,"$1 "+D],r],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],r],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[o,r],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[o],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[o,Q],r],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[o,r],[/\bgsa\/([\w\.]+) .*safari\//i],[r,[o,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[r,[o,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[r,[o,E+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[o,E+" WebView"],r],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[r,[o,"Android "+D]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[o,r],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[r,[o,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[r,o],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[o,[r,Z,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[o,r],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[o,"Netscape"],r],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[r,[o,F+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[o,r],[/(cobalt)\/([\w\.]+)/i],[o,[r,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[s,"amd64"]],[/(ia32(?=;))/i],[[s,W]],[/((?:i[346]|x)86)[;\)]/i],[[s,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[s,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[s,"armhf"]],[/windows (ce|mobile); ppc;/i],[[s,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[s,/ower/,"",W]],[/(sun4\w)[;\)]/i],[[s,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[s,W]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[n,[q,L],[p,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[n,[q,L],[p,u]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[n,[q,A],[p,u]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[n,[q,A],[p,v]],[/(macintosh);/i],[n,[q,A]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[n,[q,M],[p,u]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[n,[q,H],[p,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[n,[q,H],[p,u]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[n,/_/g," "],[q,O],[p,u]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[n,/_/g," "],[q,O],[p,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[n,[q,"OPPO"],[p,u]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[n,[q,"Vivo"],[p,u]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[n,[q,"Realme"],[p,u]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[n,[q,J],[p,u]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[n,[q,J],[p,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[n,[q,"LG"],[p,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[n,[q,"LG"],[p,u]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[n,[q,"Lenovo"],[p,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[n,/_/g," "],[q,"Nokia"],[p,u]],[/(pixel c)\b/i],[n,[q,G],[p,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[n,[q,G],[p,u]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[n,[q,N],[p,u]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[n,"Xperia Tablet"],[q,N],[p,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[n,[q,"OnePlus"],[p,u]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[n,[q,z],[p,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[n,/(.+)/g,"Fire Phone $1"],[q,z],[p,u]],[/(playbook);[-\w\),; ]+(rim)/i],[n,q,[p,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[n,[q,C],[p,u]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[n,[q,B],[p,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[n,[q,B],[p,u]],[/(nexus 9)/i],[n,[q,"HTC"],[p,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[q,[n,/_/g," "],[p,u]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[n,[q,"Acer"],[p,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[n,[q,"Meizu"],[p,u]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[q,n,[p,u]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[q,n,[p,v]],[/(surface duo)/i],[n,[q,I],[p,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[n,[q,"Fairphone"],[p,u]],[/(u304aa)/i],[n,[q,"AT&T"],[p,u]],[/\bsie-(\w*)/i],[n,[q,"Siemens"],[p,u]],[/\b(rct\w+) b/i],[n,[q,"RCA"],[p,v]],[/\b(venue[\d ]{2,7}) b/i],[n,[q,"Dell"],[p,v]],[/\b(q(?:mv|ta)\w+) b/i],[n,[q,"Verizon"],[p,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[n,[q,"Barnes & Noble"],[p,v]],[/\b(tm\d{3}\w+) b/i],[n,[q,"NuVision"],[p,v]],[/\b(k88) b/i],[n,[q,"ZTE"],[p,v]],[/\b(nx\d{3}j) b/i],[n,[q,"ZTE"],[p,u]],[/\b(gen\d{3}) b.+49h/i],[n,[q,"Swiss"],[p,u]],[/\b(zur\d{3}) b/i],[n,[q,"Swiss"],[p,v]],[/\b((zeki)?tb.*\b) b/i],[n,[q,"Zeki"],[p,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[q,"Dragon Touch"],n,[p,v]],[/\b(ns-?\w{0,9}) b/i],[n,[q,"Insignia"],[p,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[n,[q,"NextBook"],[p,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[q,"Voice"],n,[p,u]],[/\b(lvtel\-)?(v1[12]) b/i],[[q,"LvTel"],n,[p,u]],[/\b(ph-1) /i],[n,[q,"Essential"],[p,u]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[n,[q,"Envizen"],[p,v]],[/\b(trio[-\w\. ]+) b/i],[n,[q,"MachSpeed"],[p,v]],[/\btu_(1491) b/i],[n,[q,"Rotor"],[p,v]],[/(shield[\w ]+) b/i],[n,[q,"Nvidia"],[p,v]],[/(sprint) (\w+)/i],[q,n,[p,u]],[/(kin\.[onetw]{3})/i],[[n,/\./g," "],[q,I],[p,u]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[n,[q,P],[p,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[n,[q,P],[p,u]],[/smart-tv.+(samsung)/i],[q,[p,w]],[/hbbtv.+maple;(\d+)/i],[[n,/^/,"SmartTV"],[q,L],[p,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[q,"LG"],[p,w]],[/(apple) ?tv/i],[q,[n,A+" TV"],[p,w]],[/crkey/i],[[n,E+"cast"],[q,G],[p,w]],[/droid.+aft(\w)( bui|\))/i],[n,[q,z],[p,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[n,[q,M],[p,w]],[/(bravia[\w ]+)( bui|\))/i],[n,[q,N],[p,w]],[/(mitv-\w{5}) bui/i],[n,[q,O],[p,w]],[/Hbbtv.*(technisat) (.*);/i],[q,n,[p,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[q,X],[n,X],[p,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[q,n,[p,t]],[/droid.+; (shield) bui/i],[n,[q,"Nvidia"],[p,t]],[/(playstation [345portablevi]+)/i],[n,[q,N],[p,t]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[n,[q,I],[p,t]],[/((pebble))app/i],[q,n,[p,x]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[n,[q,A],[p,x]],[/droid.+; (glass) \d/i],[n,[q,G],[p,x]],[/droid.+; (wt63?0{2,3})\)/i],[n,[q,P],[p,x]],[/(quest( 2| pro)?)/i],[n,[q,Q],[p,x]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[q,[p,y]],[/(aeobc)\b/i],[n,[q,z],[p,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[n,[p,u]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[n,[p,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,u]],[/(android[-\w\. ]{0,9});.+buil/i],[n,[q,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[r,[o,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[r,[o,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[o,r],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[r,o]],os:[[/microsoft (windows) (vista|xp)/i],[o,r],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[o,[r,Z,$]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[o,"Windows"],[r,Z,$]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[r,/_/g,"."],[o,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[o,S],[r,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[r,o],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[o,r],[/\(bb(10);/i],[r,[o,C]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[r,[o,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[r,[o,F+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[r,[o,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[r,[o,"watchOS"]],[/crkey\/([\d\.]+)/i],[r,[o,E+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[o,R],r],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[o,r],[/(sunos) ?([\w\.\d]*)/i],[[o,"Solaris"],r],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[o,r]]},aa=function(a,b){if(typeof a===k&&(b=a,a=h),!(this instanceof aa))return new aa(a,b).getResult();var c=typeof g!==j&&g.navigator?g.navigator:h,d=a||(c&&c.userAgent?c.userAgent:""),e=c&&c.userAgentData?c.userAgentData:h,f=b?T(_,b):_,t=c&&c.userAgent==d;return this.getBrowser=function(){var a,b={};return b[o]=h,b[r]=h,Y.call(b,d,f.browser),b[m]=typeof(a=b[r])===l?a.replace(/[^\d\.]/g,"").split(".")[0]:h,t&&c&&c.brave&&typeof c.brave.isBrave==i&&(b[o]="Brave"),b},this.getCPU=function(){var a={};return a[s]=h,Y.call(a,d,f.cpu),a},this.getDevice=function(){var a={};return a[q]=h,a[n]=h,a[p]=h,Y.call(a,d,f.device),t&&!a[p]&&e&&e.mobile&&(a[p]=u),t&&"Macintosh"==a[n]&&c&&typeof c.standalone!==j&&c.maxTouchPoints&&c.maxTouchPoints>2&&(a[n]="iPad",a[p]=v),a},this.getEngine=function(){var a={};return a[o]=h,a[r]=h,Y.call(a,d,f.engine),a},this.getOS=function(){var a={};return a[o]=h,a[r]=h,Y.call(a,d,f.os),t&&!a[o]&&e&&"Unknown"!=e.platform&&(a[o]=e.platform.replace(/chrome os/i,R).replace(/macos/i,S)),a},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return d},this.setUA=function(a){return d=typeof a===l&&a.length>350?X(a,350):a,this},this.setUA(d),this};aa.VERSION="1.0.35",aa.BROWSER=U([o,r,m]),aa.CPU=U([s]),aa.DEVICE=U([n,q,p,t,u,w,v,x,y]),aa.ENGINE=aa.OS=U([o,r]),typeof f!==j?(e.exports&&(f=e.exports=aa),f.UAParser=aa):c.amdO?void 0===(d=(function(){return aa}).call(b,c,b,a))||(a.exports=d):typeof g!==j&&(g.UAParser=aa);var ab=typeof g!==j&&(g.jQuery||g.Zepto);if(ab&&!ab.ua){var ac=new aa;ab.ua=ac.getResult(),ab.ua.get=function(){return ac.getUA()},ab.ua.set=function(a){ac.setUA(a);var b=ac.getResult();for(var c in b)ab.ua[c]=b[c]}}}("object"==typeof window?window:this)}},f={};function g(a){var b=f[a];if(void 0!==b)return b.exports;var c=f[a]={exports:{}},d=!0;try{e[a].call(c.exports,c,c.exports,g),d=!1}finally{d&&delete f[a]}return c.exports}g.ab=__dirname+"/",a.exports=g(226)})()},23620:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(36028),e=c(73789),f=c(29790);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},26421:(a,b,c)=>{"use strict";a.exports=c(44870)},27965:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getRootParam:function(){return n},unstable_rootParams:function(){return m}});let d=c(89231),e=c(51513),f=c(29294),g=c(63033),h=c(86586),i=c(11903),j=c(19121),k=c(59863),l=new WeakMap;async function m(){(0,k.warnOnce)("`unstable_rootParams()` is deprecated and will be removed in an upcoming major release. Import specific root params from `next/root-params` instead.");let a=f.workAsyncStorage.getStore();if(!a)throw Object.defineProperty(new d.InvariantError("Missing workStore in unstable_rootParams"),"__NEXT_ERROR_CODE",{value:"E615",enumerable:!1,configurable:!0});let b=g.workUnitAsyncStorage.getStore();if(!b)throw Object.defineProperty(Error(`Route ${a.route} used \`unstable_rootParams()\` in Pages Router. This API is only available within App Router.`),"__NEXT_ERROR_CODE",{value:"E641",enumerable:!1,configurable:!0});switch(b.type){case"cache":case"unstable-cache":throw Object.defineProperty(Error(`Route ${a.route} used \`unstable_rootParams()\` inside \`"use cache"\` or \`unstable_cache\`. Support for this API inside cache scopes is planned for a future version of Next.js.`),"__NEXT_ERROR_CODE",{value:"E642",enumerable:!1,configurable:!0});case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return function(a,b,c){switch(c.type){case"prerender-client":{let a="`unstable_rootParams`";throw Object.defineProperty(new d.InvariantError(`${a} must not be used within a client component. Next.js should be preventing ${a} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E693",enumerable:!1,configurable:!0})}case"prerender":{let d=c.fallbackRouteParams;if(d){for(let e in a)if(d.has(e)){let d=l.get(a);if(d)return d;let e=(0,h.makeHangingPromise)(c.renderSignal,b.route,"`unstable_rootParams`");return l.set(a,e),e}}break}case"prerender-ppr":{let d=c.fallbackRouteParams;if(d){for(let f in a)if(d.has(f))return function(a,b,c,d){let f=l.get(a);if(f)return f;let g={...a},h=Promise.resolve(g);return l.set(a,h),Object.keys(a).forEach(f=>{i.wellKnownProperties.has(f)||(b.has(f)?Object.defineProperty(g,f,{get(){let a=(0,i.describeStringPropertyAccess)("unstable_rootParams",f);"prerender-ppr"===d.type?(0,e.postponeWithTracking)(c.route,a,d.dynamicTracking):(0,e.throwToInterruptStaticGeneration)(a,c,d)},enumerable:!0}):h[f]=a[f])}),h}(a,d,b,c)}}}return Promise.resolve(a)}(b.rootParams,a,b);case"private-cache":case"prerender-runtime":case"request":return Promise.resolve(b.rootParams);default:return b}}function n(a){let b=`\`import('next/root-params').${a}()\``,c=f.workAsyncStorage.getStore();if(!c)throw Object.defineProperty(new d.InvariantError(`Missing workStore in ${b}`),"__NEXT_ERROR_CODE",{value:"E764",enumerable:!1,configurable:!0});let e=g.workUnitAsyncStorage.getStore();if(!e)throw Object.defineProperty(Error(`Route ${c.route} used ${b} outside of a Server Component. This is not allowed.`),"__NEXT_ERROR_CODE",{value:"E774",enumerable:!1,configurable:!0});let i=j.actionAsyncStorage.getStore();if(i){if(i.isAppRoute)throw Object.defineProperty(Error(`Route ${c.route} used ${b} inside a Route Handler. Support for this API in Route Handlers is planned for a future version of Next.js.`),"__NEXT_ERROR_CODE",{value:"E765",enumerable:!1,configurable:!0});if(i.isAction&&"action"===e.phase)throw Object.defineProperty(Error(`${b} was used inside a Server Action. This is not supported. Functions from 'next/root-params' can only be called in the context of a route.`),"__NEXT_ERROR_CODE",{value:"E766",enumerable:!1,configurable:!0})}switch(e.type){case"unstable-cache":case"cache":throw Object.defineProperty(Error(`Route ${c.route} used ${b} inside \`"use cache"\` or \`unstable_cache\`. Support for this API inside cache scopes is planned for a future version of Next.js.`),"__NEXT_ERROR_CODE",{value:"E760",enumerable:!1,configurable:!0});case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":var k=a,l=c,m=e,n=b;if("prerender-client"===m.type)throw Object.defineProperty(new d.InvariantError(`${n} must not be used within a client component. Next.js should be preventing ${n} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E693",enumerable:!1,configurable:!0});let p=m.rootParams;switch(m.type){case"prerender":if(m.fallbackRouteParams&&m.fallbackRouteParams.has(k))return(0,h.makeHangingPromise)(m.renderSignal,l.route,n);break;case"prerender-ppr":if(m.fallbackRouteParams&&m.fallbackRouteParams.has(k))return o(k,l,m,n)}return Promise.resolve(p[k])}return Promise.resolve(e.rootParams[a])}async function o(a,b,c,d){let f=(0,i.describeStringPropertyAccess)(d,a);switch(c.type){case"prerender-ppr":return(0,e.postponeWithTracking)(b.route,f,c.dynamicTracking);case"prerender-legacy":return(0,e.throwToInterruptStaticGeneration)(f,b,c)}}},33443:(a,b,c)=>{let d=c(29021),e=c(33873),f=c(21820),g=c(55511),h=c(1667).version,i=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function j(a){console.log(`[dotenv@${h}][DEBUG] ${a}`)}function k(a){console.log(`[dotenv@${h}] ${a}`)}function l(a){return a&&a.DOTENV_KEY&&a.DOTENV_KEY.length>0?a.DOTENV_KEY:process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0?process.env.DOTENV_KEY:""}function m(a){let b=null;if(a&&a.path&&a.path.length>0)if(Array.isArray(a.path))for(let c of a.path)d.existsSync(c)&&(b=c.endsWith(".vault")?c:`${c}.vault`);else b=a.path.endsWith(".vault")?a.path:`${a.path}.vault`;else b=e.resolve(process.cwd(),".env.vault");return d.existsSync(b)?b:null}function n(a){return"~"===a[0]?e.join(f.homedir(),a.slice(1)):a}let o={configDotenv:function(a){let b,c=e.resolve(process.cwd(),".env"),f="utf8",g=!!(a&&a.debug),h=!a||!("quiet"in a)||a.quiet;a&&a.encoding?f=a.encoding:g&&j("No encoding is specified. UTF-8 is used by default");let i=[c];if(a&&a.path)if(Array.isArray(a.path))for(let b of(i=[],a.path))i.push(n(b));else i=[n(a.path)];let l={};for(let c of i)try{let b=o.parse(d.readFileSync(c,{encoding:f}));o.populate(l,b,a)}catch(a){g&&j(`Failed to load ${c} ${a.message}`),b=a}let m=process.env;if(a&&null!=a.processEnv&&(m=a.processEnv),o.populate(m,l,a),g||!h){let a=Object.keys(l).length,c=[];for(let a of i)try{let b=e.relative(process.cwd(),a);c.push(b)}catch(c){g&&j(`Failed to load ${a} ${c.message}`),b=c}k(`injecting env (${a}) from ${c.join(",")}`)}return b?{parsed:l,error:b}:{parsed:l}},_configVault:function(a){let b=!!(a&&a.debug),c=!a||!("quiet"in a)||a.quiet;(b||!c)&&k("Loading env from encrypted .env.vault");let d=o._parseVault(a),e=process.env;return a&&null!=a.processEnv&&(e=a.processEnv),o.populate(e,d,a),{parsed:d}},_parseVault:function(a){let b,c=m(a=a||{});a.path=c;let d=o.configDotenv(a);if(!d.parsed){let a=Error(`MISSING_DATA: Cannot parse ${c} for an unknown reason`);throw a.code="MISSING_DATA",a}let e=l(a).split(","),f=e.length;for(let a=0;a<f;a++)try{let c=e[a].trim(),f=function(a,b){let c;try{c=new URL(b)}catch(a){if("ERR_INVALID_URL"===a.code){let a=Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw a.code="INVALID_DOTENV_KEY",a}throw a}let d=c.password;if(!d){let a=Error("INVALID_DOTENV_KEY: Missing key part");throw a.code="INVALID_DOTENV_KEY",a}let e=c.searchParams.get("environment");if(!e){let a=Error("INVALID_DOTENV_KEY: Missing environment part");throw a.code="INVALID_DOTENV_KEY",a}let f=`DOTENV_VAULT_${e.toUpperCase()}`,g=a.parsed[f];if(!g){let a=Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${f} in your .env.vault file.`);throw a.code="NOT_FOUND_DOTENV_ENVIRONMENT",a}return{ciphertext:g,key:d}}(d,c);b=o.decrypt(f.ciphertext,f.key);break}catch(b){if(a+1>=f)throw b}return o.parse(b)},config:function(a){if(0===l(a).length)return o.configDotenv(a);let b=m(a);if(!b){var c;return c=`You set DOTENV_KEY but you are missing a .env.vault file at ${b}. Did you forget to build it?`,console.log(`[dotenv@${h}][WARN] ${c}`),o.configDotenv(a)}return o._configVault(a)},decrypt:function(a,b){let c=Buffer.from(b.slice(-64),"hex"),d=Buffer.from(a,"base64"),e=d.subarray(0,12),f=d.subarray(-16);d=d.subarray(12,-16);try{let a=g.createDecipheriv("aes-256-gcm",c,e);return a.setAuthTag(f),`${a.update(d)}${a.final()}`}catch(d){let a=d instanceof RangeError,b="Invalid key length"===d.message,c="Unsupported state or unable to authenticate data"===d.message;if(a||b){let a=Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw a.code="INVALID_DOTENV_KEY",a}if(c){let a=Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw a.code="DECRYPTION_FAILED",a}throw d}},parse:function(a){let b,c={},d=a.toString();for(d=d.replace(/\r\n?/mg,"\n");null!=(b=i.exec(d));){let a=b[1],d=b[2]||"",e=(d=d.trim())[0];d=d.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),'"'===e&&(d=(d=d.replace(/\\n/g,"\n")).replace(/\\r/g,"\r")),c[a]=d}return c},populate:function(a,b,c={}){let d=!!(c&&c.debug),e=!!(c&&c.override);if("object"!=typeof b){let a=Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw a.code="OBJECT_REQUIRED",a}for(let c of Object.keys(b))Object.prototype.hasOwnProperty.call(a,c)?(!0===e&&(a[c]=b[c]),d&&(!0===e?j(`"${c}" is already defined and WAS overwritten`):j(`"${c}" is already defined and was NOT overwritten`))):a[c]=b[c]}};a.exports.configDotenv=o.configDotenv,a.exports._configVault=o._configVault,a.exports._parseVault=o._parseVault,a.exports.config=o.config,a.exports.decrypt=o.decrypt,a.exports.parse=o.parse,a.exports.populate=o.populate,a.exports=o},33972:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{isBot:function(){return e},userAgent:function(){return g},userAgentFromString:function(){return f}});let d=function(a){return a&&a.__esModule?a:{default:a}}(c(18723));function e(a){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(a)}function f(a){return{...(0,d.default)(a),isBot:void 0!==a&&e(a)}}function g({headers:a}){return f(a.get("user-agent")||void 0)}},34931:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ImageResponse:function(){return d.ImageResponse},NextRequest:function(){return e.NextRequest},NextResponse:function(){return f.NextResponse},URLPattern:function(){return h.URLPattern},after:function(){return i.after},connection:function(){return j.connection},unstable_rootParams:function(){return k.unstable_rootParams},userAgent:function(){return g.userAgent},userAgentFromString:function(){return g.userAgentFromString}});let d=c(55660),e=c(76206),f=c(7420),g=c(33972),h=c(36561),i=c(80411),j=c(41314),k=c(27965)},36561:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"URLPattern",{enumerable:!0,get:function(){return c}});let c="undefined"==typeof URLPattern?void 0:URLPattern},41314:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"connection",{enumerable:!0,get:function(){return j}});let d=c(29294),e=c(63033),f=c(51513),g=c(62289),h=c(86586),i=c(53053);function j(){let a=d.workAsyncStorage.getStore(),b=e.workUnitAsyncStorage.getStore();if(a){if(b&&"after"===b.phase&&!(0,i.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${a.route} used "connection" inside "after(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but "after(...)" executes after the request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E186",enumerable:!1,configurable:!0});if(a.forceStatic)return Promise.resolve(void 0);if(a.dynamicShouldError)throw Object.defineProperty(new g.StaticGenBailoutError(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`connection\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E562",enumerable:!1,configurable:!0});if(b)switch(b.type){case"cache":{let b=Object.defineProperty(Error(`Route ${a.route} used "connection" inside "use cache". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual request, but caches must be able to be produced before a request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E752",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,j),a.invalidDynamicUsageError??=b,b}case"private-cache":{let b=Object.defineProperty(Error(`Route ${a.route} used "connection" inside "use cache: private". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual navigation request, but caches must be able to be produced before a navigation request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E753",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,j),a.invalidDynamicUsageError??=b,b}case"unstable-cache":throw Object.defineProperty(Error(`Route ${a.route} used "connection" inside a function cached with "unstable_cache(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E1",enumerable:!1,configurable:!0});case"prerender":case"prerender-client":case"prerender-runtime":return(0,h.makeHangingPromise)(b.renderSignal,a.route,"`connection()`");case"prerender-ppr":return(0,f.postponeWithTracking)(a.route,"connection",b.dynamicTracking);case"prerender-legacy":return(0,f.throwToInterruptStaticGeneration)("connection",a,b);case"request":return(0,f.trackDynamicDataInDynamicRender)(b),Promise.resolve(void 0)}}(0,e.throwForMissingRequestStore)("connection")}},53444:(a,b,c)=>{"use strict";var d=c(34931);c.o(d,"NextResponse")&&c.d(b,{NextResponse:function(){return d.NextResponse}})},55660:(a,b)=>{"use strict";function c(){throw Object.defineProperty(Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead'),"__NEXT_ERROR_CODE",{value:"E183",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ImageResponse",{enumerable:!0,get:function(){return c}})},80411:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),function(a,b){Object.keys(a).forEach(function(c){"default"===c||Object.prototype.hasOwnProperty.call(b,c)||Object.defineProperty(b,c,{enumerable:!0,get:function(){return a[c]}})})}(c(17225),b)}};
@@ -1 +0,0 @@
1
- exports.id=900,exports.ids=[900],exports.modules={11900:(a,b,c)=>{"use strict";c.d(b,{od:()=>h});var d=c(15530),e=c.n(d),f=c(28556),g=e().box.overheadLength+e().box.publicKeyLength;function h(a,b){var c,d,h=e().box.keyPair(),i=new Uint8Array(a.length+g);i.set(h.publicKey,0);var j=(c=h.publicKey,d=(0,f.blake2bInit)(e().box.nonceLength,!1),(0,f.blake2bUpdate)(d,c),(0,f.blake2bUpdate)(d,b),(0,f.blake2bFinal)(d)),k=e().box(a,j,b,h.secretKey);return i.set(k,e().box.publicKeyLength),i}},15530:(a,b,c)=>{!function(a){"use strict";var b,d=function(a){var b,c=new Float64Array(16);if(a)for(b=0;b<a.length;b++)c[b]=a[b];return c},e=function(){throw Error("no PRNG")},f=new Uint8Array(16),g=new Uint8Array(32);g[0]=9;var h=d(),i=d([1]),j=d([56129,1]),k=d([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),l=d([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),m=d([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),n=d([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),o=d([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function p(a,b,c,d){a[b]=c>>24&255,a[b+1]=c>>16&255,a[b+2]=c>>8&255,a[b+3]=255&c,a[b+4]=d>>24&255,a[b+5]=d>>16&255,a[b+6]=d>>8&255,a[b+7]=255&d}function q(a,b,c,d,e){var f,g=0;for(f=0;f<e;f++)g|=a[b+f]^c[d+f];return(1&g-1>>>8)-1}function r(a,b,c,d){return q(a,b,c,d,16)}function s(a,b,c,d){return q(a,b,c,d,32)}function t(a,b,c,d){!function(a,b,c,d){for(var e,f=255&d[0]|(255&d[1])<<8|(255&d[2])<<16|(255&d[3])<<24,g=255&c[0]|(255&c[1])<<8|(255&c[2])<<16|(255&c[3])<<24,h=255&c[4]|(255&c[5])<<8|(255&c[6])<<16|(255&c[7])<<24,i=255&c[8]|(255&c[9])<<8|(255&c[10])<<16|(255&c[11])<<24,j=255&c[12]|(255&c[13])<<8|(255&c[14])<<16|(255&c[15])<<24,k=255&d[4]|(255&d[5])<<8|(255&d[6])<<16|(255&d[7])<<24,l=255&b[0]|(255&b[1])<<8|(255&b[2])<<16|(255&b[3])<<24,m=255&b[4]|(255&b[5])<<8|(255&b[6])<<16|(255&b[7])<<24,n=255&b[8]|(255&b[9])<<8|(255&b[10])<<16|(255&b[11])<<24,o=255&b[12]|(255&b[13])<<8|(255&b[14])<<16|(255&b[15])<<24,p=255&d[8]|(255&d[9])<<8|(255&d[10])<<16|(255&d[11])<<24,q=255&c[16]|(255&c[17])<<8|(255&c[18])<<16|(255&c[19])<<24,r=255&c[20]|(255&c[21])<<8|(255&c[22])<<16|(255&c[23])<<24,s=255&c[24]|(255&c[25])<<8|(255&c[26])<<16|(255&c[27])<<24,t=255&c[28]|(255&c[29])<<8|(255&c[30])<<16|(255&c[31])<<24,u=255&d[12]|(255&d[13])<<8|(255&d[14])<<16|(255&d[15])<<24,v=f,w=g,x=h,y=i,z=j,A=k,B=l,C=m,D=n,E=o,F=p,G=q,H=r,I=s,J=t,K=u,L=0;L<20;L+=2)z^=(e=v+H|0)<<7|e>>>25,D^=(e=z+v|0)<<9|e>>>23,H^=(e=D+z|0)<<13|e>>>19,v^=(e=H+D|0)<<18|e>>>14,E^=(e=A+w|0)<<7|e>>>25,I^=(e=E+A|0)<<9|e>>>23,w^=(e=I+E|0)<<13|e>>>19,A^=(e=w+I|0)<<18|e>>>14,J^=(e=F+B|0)<<7|e>>>25,x^=(e=J+F|0)<<9|e>>>23,B^=(e=x+J|0)<<13|e>>>19,F^=(e=B+x|0)<<18|e>>>14,y^=(e=K+G|0)<<7|e>>>25,C^=(e=y+K|0)<<9|e>>>23,G^=(e=C+y|0)<<13|e>>>19,K^=(e=G+C|0)<<18|e>>>14,w^=(e=v+y|0)<<7|e>>>25,x^=(e=w+v|0)<<9|e>>>23,y^=(e=x+w|0)<<13|e>>>19,v^=(e=y+x|0)<<18|e>>>14,B^=(e=A+z|0)<<7|e>>>25,C^=(e=B+A|0)<<9|e>>>23,z^=(e=C+B|0)<<13|e>>>19,A^=(e=z+C|0)<<18|e>>>14,G^=(e=F+E|0)<<7|e>>>25,D^=(e=G+F|0)<<9|e>>>23,E^=(e=D+G|0)<<13|e>>>19,F^=(e=E+D|0)<<18|e>>>14,H^=(e=K+J|0)<<7|e>>>25,I^=(e=H+K|0)<<9|e>>>23,J^=(e=I+H|0)<<13|e>>>19,K^=(e=J+I|0)<<18|e>>>14;v=v+f|0,w=w+g|0,x=x+h|0,y=y+i|0,z=z+j|0,A=A+k|0,B=B+l|0,C=C+m|0,D=D+n|0,E=E+o|0,F=F+p|0,G=G+q|0,H=H+r|0,I=I+s|0,J=J+t|0,K=K+u|0,a[0]=v>>>0&255,a[1]=v>>>8&255,a[2]=v>>>16&255,a[3]=v>>>24&255,a[4]=w>>>0&255,a[5]=w>>>8&255,a[6]=w>>>16&255,a[7]=w>>>24&255,a[8]=x>>>0&255,a[9]=x>>>8&255,a[10]=x>>>16&255,a[11]=x>>>24&255,a[12]=y>>>0&255,a[13]=y>>>8&255,a[14]=y>>>16&255,a[15]=y>>>24&255,a[16]=z>>>0&255,a[17]=z>>>8&255,a[18]=z>>>16&255,a[19]=z>>>24&255,a[20]=A>>>0&255,a[21]=A>>>8&255,a[22]=A>>>16&255,a[23]=A>>>24&255,a[24]=B>>>0&255,a[25]=B>>>8&255,a[26]=B>>>16&255,a[27]=B>>>24&255,a[28]=C>>>0&255,a[29]=C>>>8&255,a[30]=C>>>16&255,a[31]=C>>>24&255,a[32]=D>>>0&255,a[33]=D>>>8&255,a[34]=D>>>16&255,a[35]=D>>>24&255,a[36]=E>>>0&255,a[37]=E>>>8&255,a[38]=E>>>16&255,a[39]=E>>>24&255,a[40]=F>>>0&255,a[41]=F>>>8&255,a[42]=F>>>16&255,a[43]=F>>>24&255,a[44]=G>>>0&255,a[45]=G>>>8&255,a[46]=G>>>16&255,a[47]=G>>>24&255,a[48]=H>>>0&255,a[49]=H>>>8&255,a[50]=H>>>16&255,a[51]=H>>>24&255,a[52]=I>>>0&255,a[53]=I>>>8&255,a[54]=I>>>16&255,a[55]=I>>>24&255,a[56]=J>>>0&255,a[57]=J>>>8&255,a[58]=J>>>16&255,a[59]=J>>>24&255,a[60]=K>>>0&255,a[61]=K>>>8&255,a[62]=K>>>16&255,a[63]=K>>>24&255}(a,b,c,d)}function u(a,b,c,d){!function(a,b,c,d){for(var e,f=255&d[0]|(255&d[1])<<8|(255&d[2])<<16|(255&d[3])<<24,g=255&c[0]|(255&c[1])<<8|(255&c[2])<<16|(255&c[3])<<24,h=255&c[4]|(255&c[5])<<8|(255&c[6])<<16|(255&c[7])<<24,i=255&c[8]|(255&c[9])<<8|(255&c[10])<<16|(255&c[11])<<24,j=255&c[12]|(255&c[13])<<8|(255&c[14])<<16|(255&c[15])<<24,k=255&d[4]|(255&d[5])<<8|(255&d[6])<<16|(255&d[7])<<24,l=255&b[0]|(255&b[1])<<8|(255&b[2])<<16|(255&b[3])<<24,m=255&b[4]|(255&b[5])<<8|(255&b[6])<<16|(255&b[7])<<24,n=255&b[8]|(255&b[9])<<8|(255&b[10])<<16|(255&b[11])<<24,o=255&b[12]|(255&b[13])<<8|(255&b[14])<<16|(255&b[15])<<24,p=255&d[8]|(255&d[9])<<8|(255&d[10])<<16|(255&d[11])<<24,q=255&c[16]|(255&c[17])<<8|(255&c[18])<<16|(255&c[19])<<24,r=255&c[20]|(255&c[21])<<8|(255&c[22])<<16|(255&c[23])<<24,s=255&c[24]|(255&c[25])<<8|(255&c[26])<<16|(255&c[27])<<24,t=255&c[28]|(255&c[29])<<8|(255&c[30])<<16|(255&c[31])<<24,u=255&d[12]|(255&d[13])<<8|(255&d[14])<<16|(255&d[15])<<24,v=f,w=g,x=h,y=i,z=j,A=k,B=l,C=m,D=n,E=o,F=p,G=q,H=r,I=s,J=t,K=u,L=0;L<20;L+=2)z^=(e=v+H|0)<<7|e>>>25,D^=(e=z+v|0)<<9|e>>>23,H^=(e=D+z|0)<<13|e>>>19,v^=(e=H+D|0)<<18|e>>>14,E^=(e=A+w|0)<<7|e>>>25,I^=(e=E+A|0)<<9|e>>>23,w^=(e=I+E|0)<<13|e>>>19,A^=(e=w+I|0)<<18|e>>>14,J^=(e=F+B|0)<<7|e>>>25,x^=(e=J+F|0)<<9|e>>>23,B^=(e=x+J|0)<<13|e>>>19,F^=(e=B+x|0)<<18|e>>>14,y^=(e=K+G|0)<<7|e>>>25,C^=(e=y+K|0)<<9|e>>>23,G^=(e=C+y|0)<<13|e>>>19,K^=(e=G+C|0)<<18|e>>>14,w^=(e=v+y|0)<<7|e>>>25,x^=(e=w+v|0)<<9|e>>>23,y^=(e=x+w|0)<<13|e>>>19,v^=(e=y+x|0)<<18|e>>>14,B^=(e=A+z|0)<<7|e>>>25,C^=(e=B+A|0)<<9|e>>>23,z^=(e=C+B|0)<<13|e>>>19,A^=(e=z+C|0)<<18|e>>>14,G^=(e=F+E|0)<<7|e>>>25,D^=(e=G+F|0)<<9|e>>>23,E^=(e=D+G|0)<<13|e>>>19,F^=(e=E+D|0)<<18|e>>>14,H^=(e=K+J|0)<<7|e>>>25,I^=(e=H+K|0)<<9|e>>>23,J^=(e=I+H|0)<<13|e>>>19,K^=(e=J+I|0)<<18|e>>>14;a[0]=v>>>0&255,a[1]=v>>>8&255,a[2]=v>>>16&255,a[3]=v>>>24&255,a[4]=A>>>0&255,a[5]=A>>>8&255,a[6]=A>>>16&255,a[7]=A>>>24&255,a[8]=F>>>0&255,a[9]=F>>>8&255,a[10]=F>>>16&255,a[11]=F>>>24&255,a[12]=K>>>0&255,a[13]=K>>>8&255,a[14]=K>>>16&255,a[15]=K>>>24&255,a[16]=B>>>0&255,a[17]=B>>>8&255,a[18]=B>>>16&255,a[19]=B>>>24&255,a[20]=C>>>0&255,a[21]=C>>>8&255,a[22]=C>>>16&255,a[23]=C>>>24&255,a[24]=D>>>0&255,a[25]=D>>>8&255,a[26]=D>>>16&255,a[27]=D>>>24&255,a[28]=E>>>0&255,a[29]=E>>>8&255,a[30]=E>>>16&255,a[31]=E>>>24&255}(a,b,c,d)}var v=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function w(a,b,c,d,e,f,g){var h,i,j=new Uint8Array(16),k=new Uint8Array(64);for(i=0;i<16;i++)j[i]=0;for(i=0;i<8;i++)j[i]=f[i];for(;e>=64;){for(t(k,j,g,v),i=0;i<64;i++)a[b+i]=c[d+i]^k[i];for(i=8,h=1;i<16;i++)h=h+(255&j[i])|0,j[i]=255&h,h>>>=8;e-=64,b+=64,d+=64}if(e>0)for(t(k,j,g,v),i=0;i<e;i++)a[b+i]=c[d+i]^k[i];return 0}function x(a,b,c,d,e){var f,g,h=new Uint8Array(16),i=new Uint8Array(64);for(g=0;g<16;g++)h[g]=0;for(g=0;g<8;g++)h[g]=d[g];for(;c>=64;){for(t(i,h,e,v),g=0;g<64;g++)a[b+g]=i[g];for(g=8,f=1;g<16;g++)f=f+(255&h[g])|0,h[g]=255&f,f>>>=8;c-=64,b+=64}if(c>0)for(t(i,h,e,v),g=0;g<c;g++)a[b+g]=i[g];return 0}function y(a,b,c,d,e){var f=new Uint8Array(32);u(f,d,e,v);for(var g=new Uint8Array(8),h=0;h<8;h++)g[h]=d[h+16];return x(a,b,c,g,f)}function z(a,b,c,d,e,f,g){var h=new Uint8Array(32);u(h,f,g,v);for(var i=new Uint8Array(8),j=0;j<8;j++)i[j]=f[j+16];return w(a,b,c,d,e,i,h)}var A=function(a){var b,c,d,e,f,g,h,i;this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0,b=255&a[0]|(255&a[1])<<8,this.r[0]=8191&b,c=255&a[2]|(255&a[3])<<8,this.r[1]=(b>>>13|c<<3)&8191,d=255&a[4]|(255&a[5])<<8,this.r[2]=(c>>>10|d<<6)&7939,e=255&a[6]|(255&a[7])<<8,this.r[3]=(d>>>7|e<<9)&8191,f=255&a[8]|(255&a[9])<<8,this.r[4]=(e>>>4|f<<12)&255,this.r[5]=f>>>1&8190,g=255&a[10]|(255&a[11])<<8,this.r[6]=(f>>>14|g<<2)&8191,h=255&a[12]|(255&a[13])<<8,this.r[7]=(g>>>11|h<<5)&8065,i=255&a[14]|(255&a[15])<<8,this.r[8]=(h>>>8|i<<8)&8191,this.r[9]=i>>>5&127,this.pad[0]=255&a[16]|(255&a[17])<<8,this.pad[1]=255&a[18]|(255&a[19])<<8,this.pad[2]=255&a[20]|(255&a[21])<<8,this.pad[3]=255&a[22]|(255&a[23])<<8,this.pad[4]=255&a[24]|(255&a[25])<<8,this.pad[5]=255&a[26]|(255&a[27])<<8,this.pad[6]=255&a[28]|(255&a[29])<<8,this.pad[7]=255&a[30]|(255&a[31])<<8};function B(a,b,c,d,e,f){var g=new A(f);return g.update(c,d,e),g.finish(a,b),0}function C(a,b,c,d,e,f){var g=new Uint8Array(16);return B(g,0,c,d,e,f),r(a,b,g,0)}function D(a,b,c,d,e){var f;if(c<32)return -1;for(z(a,0,b,0,c,d,e),B(a,16,a,32,c-32,a),f=0;f<16;f++)a[f]=0;return 0}function E(a,b,c,d,e){var f,g=new Uint8Array(32);if(c<32||(y(g,0,32,d,e),0!==C(b,16,b,32,c-32,g)))return -1;for(z(a,0,b,0,c,d,e),f=0;f<32;f++)a[f]=0;return 0}function F(a,b){var c;for(c=0;c<16;c++)a[c]=0|b[c]}function G(a){var b,c,d=1;for(b=0;b<16;b++)d=Math.floor((c=a[b]+d+65535)/65536),a[b]=c-65536*d;a[0]+=d-1+37*(d-1)}function H(a,b,c){for(var d,e=~(c-1),f=0;f<16;f++)d=e&(a[f]^b[f]),a[f]^=d,b[f]^=d}function I(a,b){var c,e,f,g=d(),h=d();for(c=0;c<16;c++)h[c]=b[c];for(G(h),G(h),G(h),e=0;e<2;e++){for(c=1,g[0]=h[0]-65517;c<15;c++)g[c]=h[c]-65535-(g[c-1]>>16&1),g[c-1]&=65535;g[15]=h[15]-32767-(g[14]>>16&1),f=g[15]>>16&1,g[14]&=65535,H(h,g,1-f)}for(c=0;c<16;c++)a[2*c]=255&h[c],a[2*c+1]=h[c]>>8}function J(a,b){var c=new Uint8Array(32),d=new Uint8Array(32);return I(c,a),I(d,b),s(c,0,d,0)}function K(a){var b=new Uint8Array(32);return I(b,a),1&b[0]}function L(a,b){var c;for(c=0;c<16;c++)a[c]=b[2*c]+(b[2*c+1]<<8);a[15]&=32767}function M(a,b,c){for(var d=0;d<16;d++)a[d]=b[d]+c[d]}function N(a,b,c){for(var d=0;d<16;d++)a[d]=b[d]-c[d]}function O(a,b,c){var d,e,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=c[0],L=c[1],M=c[2],N=c[3],O=c[4],P=c[5],Q=c[6],R=c[7],S=c[8],T=c[9],U=c[10],V=c[11],W=c[12],X=c[13],Y=c[14],Z=c[15];f+=(d=b[0])*K,g+=d*L,h+=d*M,i+=d*N,j+=d*O,k+=d*P,l+=d*Q,m+=d*R,n+=d*S,o+=d*T,p+=d*U,q+=d*V,r+=d*W,s+=d*X,t+=d*Y,u+=d*Z,g+=(d=b[1])*K,h+=d*L,i+=d*M,j+=d*N,k+=d*O,l+=d*P,m+=d*Q,n+=d*R,o+=d*S,p+=d*T,q+=d*U,r+=d*V,s+=d*W,t+=d*X,u+=d*Y,v+=d*Z,h+=(d=b[2])*K,i+=d*L,j+=d*M,k+=d*N,l+=d*O,m+=d*P,n+=d*Q,o+=d*R,p+=d*S,q+=d*T,r+=d*U,s+=d*V,t+=d*W,u+=d*X,v+=d*Y,w+=d*Z,i+=(d=b[3])*K,j+=d*L,k+=d*M,l+=d*N,m+=d*O,n+=d*P,o+=d*Q,p+=d*R,q+=d*S,r+=d*T,s+=d*U,t+=d*V,u+=d*W,v+=d*X,w+=d*Y,x+=d*Z,j+=(d=b[4])*K,k+=d*L,l+=d*M,m+=d*N,n+=d*O,o+=d*P,p+=d*Q,q+=d*R,r+=d*S,s+=d*T,t+=d*U,u+=d*V,v+=d*W,w+=d*X,x+=d*Y,y+=d*Z,k+=(d=b[5])*K,l+=d*L,m+=d*M,n+=d*N,o+=d*O,p+=d*P,q+=d*Q,r+=d*R,s+=d*S,t+=d*T,u+=d*U,v+=d*V,w+=d*W,x+=d*X,y+=d*Y,z+=d*Z,l+=(d=b[6])*K,m+=d*L,n+=d*M,o+=d*N,p+=d*O,q+=d*P,r+=d*Q,s+=d*R,t+=d*S,u+=d*T,v+=d*U,w+=d*V,x+=d*W,y+=d*X,z+=d*Y,A+=d*Z,m+=(d=b[7])*K,n+=d*L,o+=d*M,p+=d*N,q+=d*O,r+=d*P,s+=d*Q,t+=d*R,u+=d*S,v+=d*T,w+=d*U,x+=d*V,y+=d*W,z+=d*X,A+=d*Y,B+=d*Z,n+=(d=b[8])*K,o+=d*L,p+=d*M,q+=d*N,r+=d*O,s+=d*P,t+=d*Q,u+=d*R,v+=d*S,w+=d*T,x+=d*U,y+=d*V,z+=d*W,A+=d*X,B+=d*Y,C+=d*Z,o+=(d=b[9])*K,p+=d*L,q+=d*M,r+=d*N,s+=d*O,t+=d*P,u+=d*Q,v+=d*R,w+=d*S,x+=d*T,y+=d*U,z+=d*V,A+=d*W,B+=d*X,C+=d*Y,D+=d*Z,p+=(d=b[10])*K,q+=d*L,r+=d*M,s+=d*N,t+=d*O,u+=d*P,v+=d*Q,w+=d*R,x+=d*S,y+=d*T,z+=d*U,A+=d*V,B+=d*W,C+=d*X,D+=d*Y,E+=d*Z,q+=(d=b[11])*K,r+=d*L,s+=d*M,t+=d*N,u+=d*O,v+=d*P,w+=d*Q,x+=d*R,y+=d*S,z+=d*T,A+=d*U,B+=d*V,C+=d*W,D+=d*X,E+=d*Y,F+=d*Z,r+=(d=b[12])*K,s+=d*L,t+=d*M,u+=d*N,v+=d*O,w+=d*P,x+=d*Q,y+=d*R,z+=d*S,A+=d*T,B+=d*U,C+=d*V,D+=d*W,E+=d*X,F+=d*Y,G+=d*Z,s+=(d=b[13])*K,t+=d*L,u+=d*M,v+=d*N,w+=d*O,x+=d*P,y+=d*Q,z+=d*R,A+=d*S,B+=d*T,C+=d*U,D+=d*V,E+=d*W,F+=d*X,G+=d*Y,H+=d*Z,t+=(d=b[14])*K,u+=d*L,v+=d*M,w+=d*N,x+=d*O,y+=d*P,z+=d*Q,A+=d*R,B+=d*S,C+=d*T,D+=d*U,E+=d*V,F+=d*W,G+=d*X,H+=d*Y,I+=d*Z,u+=(d=b[15])*K,v+=d*L,w+=d*M,x+=d*N,y+=d*O,z+=d*P,A+=d*Q,B+=d*R,C+=d*S,D+=d*T,E+=d*U,F+=d*V,G+=d*W,H+=d*X,I+=d*Y,J+=d*Z,f+=38*v,g+=38*w,h+=38*x,i+=38*y,j+=38*z,k+=38*A,l+=38*B,m+=38*C,n+=38*D,o+=38*E,p+=38*F,q+=38*G,r+=38*H,s+=38*I,t+=38*J,e=Math.floor((d=f+(e=1)+65535)/65536),f=d-65536*e,e=Math.floor((d=g+e+65535)/65536),g=d-65536*e,e=Math.floor((d=h+e+65535)/65536),h=d-65536*e,e=Math.floor((d=i+e+65535)/65536),i=d-65536*e,e=Math.floor((d=j+e+65535)/65536),j=d-65536*e,e=Math.floor((d=k+e+65535)/65536),k=d-65536*e,e=Math.floor((d=l+e+65535)/65536),l=d-65536*e,e=Math.floor((d=m+e+65535)/65536),m=d-65536*e,e=Math.floor((d=n+e+65535)/65536),n=d-65536*e,e=Math.floor((d=o+e+65535)/65536),o=d-65536*e,e=Math.floor((d=p+e+65535)/65536),p=d-65536*e,e=Math.floor((d=q+e+65535)/65536),q=d-65536*e,e=Math.floor((d=r+e+65535)/65536),r=d-65536*e,e=Math.floor((d=s+e+65535)/65536),s=d-65536*e,e=Math.floor((d=t+e+65535)/65536),t=d-65536*e,e=Math.floor((d=u+e+65535)/65536),u=d-65536*e,f+=e-1+37*(e-1),e=Math.floor((d=f+(e=1)+65535)/65536),f=d-65536*e,e=Math.floor((d=g+e+65535)/65536),g=d-65536*e,e=Math.floor((d=h+e+65535)/65536),h=d-65536*e,e=Math.floor((d=i+e+65535)/65536),i=d-65536*e,e=Math.floor((d=j+e+65535)/65536),j=d-65536*e,e=Math.floor((d=k+e+65535)/65536),k=d-65536*e,e=Math.floor((d=l+e+65535)/65536),l=d-65536*e,e=Math.floor((d=m+e+65535)/65536),m=d-65536*e,e=Math.floor((d=n+e+65535)/65536),n=d-65536*e,e=Math.floor((d=o+e+65535)/65536),o=d-65536*e,e=Math.floor((d=p+e+65535)/65536),p=d-65536*e,e=Math.floor((d=q+e+65535)/65536),q=d-65536*e,e=Math.floor((d=r+e+65535)/65536),r=d-65536*e,e=Math.floor((d=s+e+65535)/65536),s=d-65536*e,e=Math.floor((d=t+e+65535)/65536),t=d-65536*e,e=Math.floor((d=u+e+65535)/65536),u=d-65536*e,f+=e-1+37*(e-1),a[0]=f,a[1]=g,a[2]=h,a[3]=i,a[4]=j,a[5]=k,a[6]=l,a[7]=m,a[8]=n,a[9]=o,a[10]=p,a[11]=q,a[12]=r,a[13]=s,a[14]=t,a[15]=u}function P(a,b){O(a,b,b)}function Q(a,b){var c,e=d();for(c=0;c<16;c++)e[c]=b[c];for(c=253;c>=0;c--)P(e,e),2!==c&&4!==c&&O(e,e,b);for(c=0;c<16;c++)a[c]=e[c]}function R(a,b){var c,e=d();for(c=0;c<16;c++)e[c]=b[c];for(c=250;c>=0;c--)P(e,e),1!==c&&O(e,e,b);for(c=0;c<16;c++)a[c]=e[c]}function S(a,b,c){var e,f,g=new Uint8Array(32),h=new Float64Array(80),i=d(),k=d(),l=d(),m=d(),n=d(),o=d();for(f=0;f<31;f++)g[f]=b[f];for(g[31]=127&b[31]|64,g[0]&=248,L(h,c),f=0;f<16;f++)k[f]=h[f],m[f]=i[f]=l[f]=0;for(f=254,i[0]=m[0]=1;f>=0;--f)H(i,k,e=g[f>>>3]>>>(7&f)&1),H(l,m,e),M(n,i,l),N(i,i,l),M(l,k,m),N(k,k,m),P(m,n),P(o,i),O(i,l,i),O(l,k,n),M(n,i,l),N(i,i,l),P(k,i),N(l,m,o),O(i,l,j),M(i,i,m),O(l,l,i),O(i,m,o),O(m,k,h),P(k,n),H(i,k,e),H(l,m,e);for(f=0;f<16;f++)h[f+16]=i[f],h[f+32]=l[f],h[f+48]=k[f],h[f+64]=m[f];var p=h.subarray(32),q=h.subarray(16);return Q(p,p),O(q,q,p),I(a,q),0}function T(a,b){return S(a,b,g)}function U(a,b){return e(b,32),T(a,b)}function V(a,b,c){var d=new Uint8Array(32);return S(d,c,b),u(a,f,d,v)}A.prototype.blocks=function(a,b,c){for(var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w=2048*!this.fin,x=this.h[0],y=this.h[1],z=this.h[2],A=this.h[3],B=this.h[4],C=this.h[5],D=this.h[6],E=this.h[7],F=this.h[8],G=this.h[9],H=this.r[0],I=this.r[1],J=this.r[2],K=this.r[3],L=this.r[4],M=this.r[5],N=this.r[6],O=this.r[7],P=this.r[8],Q=this.r[9];c>=16;)x+=8191&(d=255&a[b+0]|(255&a[b+1])<<8),y+=(d>>>13|(e=255&a[b+2]|(255&a[b+3])<<8)<<3)&8191,z+=(e>>>10|(f=255&a[b+4]|(255&a[b+5])<<8)<<6)&8191,A+=(f>>>7|(g=255&a[b+6]|(255&a[b+7])<<8)<<9)&8191,B+=(g>>>4|(h=255&a[b+8]|(255&a[b+9])<<8)<<12)&8191,C+=h>>>1&8191,D+=(h>>>14|(i=255&a[b+10]|(255&a[b+11])<<8)<<2)&8191,E+=(i>>>11|(j=255&a[b+12]|(255&a[b+13])<<8)<<5)&8191,F+=(j>>>8|(k=255&a[b+14]|(255&a[b+15])<<8)<<8)&8191,G+=k>>>5|w,l=(m=(l=0)+x*H+5*Q*y+5*P*z+5*O*A+5*N*B)>>>13,m&=8191,m+=5*M*C,m+=5*L*D,m+=5*K*E,m+=5*J*F,m+=5*I*G,l+=m>>>13,m&=8191,l=(n=l+x*I+y*H+5*Q*z+5*P*A+5*O*B)>>>13,n&=8191,n+=5*N*C,n+=5*M*D,n+=5*L*E,n+=5*K*F,n+=5*J*G,l+=n>>>13,n&=8191,l=(o=l+x*J+y*I+z*H+5*Q*A+5*P*B)>>>13,o&=8191,o+=5*O*C,o+=5*N*D,o+=5*M*E,o+=5*L*F,o+=5*K*G,l+=o>>>13,o&=8191,l=(p=l+x*K+y*J+z*I+A*H+5*Q*B)>>>13,p&=8191,p+=5*P*C,p+=5*O*D,p+=5*N*E,p+=5*M*F,p+=5*L*G,l+=p>>>13,p&=8191,l=(q=l+x*L+y*K+z*J+A*I+B*H)>>>13,q&=8191,q+=5*Q*C,q+=5*P*D,q+=5*O*E,q+=5*N*F,q+=5*M*G,l+=q>>>13,q&=8191,l=(r=l+x*M+y*L+z*K+A*J+B*I)>>>13,r&=8191,r+=C*H,r+=5*Q*D,r+=5*P*E,r+=5*O*F,r+=5*N*G,l+=r>>>13,r&=8191,l=(s=l+x*N+y*M+z*L+A*K+B*J)>>>13,s&=8191,s+=C*I,s+=D*H,s+=5*Q*E,s+=5*P*F,s+=5*O*G,l+=s>>>13,s&=8191,l=(t=l+x*O+y*N+z*M+A*L+B*K)>>>13,t&=8191,t+=C*J,t+=D*I,t+=E*H,t+=5*Q*F,t+=5*P*G,l+=t>>>13,t&=8191,l=(u=l+x*P+y*O+z*N+A*M+B*L)>>>13,u&=8191,u+=C*K,u+=D*J,u+=E*I,u+=F*H,u+=5*Q*G,l+=u>>>13,u&=8191,l=(v=l+x*Q+y*P+z*O+A*N+B*M)>>>13,v&=8191,v+=C*L,v+=D*K,v+=E*J,v+=F*I,v+=G*H,l+=v>>>13,v&=8191,m=8191&(l=(l=(l<<2)+l|0)+m|0),l>>>=13,n+=l,x=m,y=n,z=o,A=p,B=q,C=r,D=s,E=t,F=u,G=v,b+=16,c-=16;this.h[0]=x,this.h[1]=y,this.h[2]=z,this.h[3]=A,this.h[4]=B,this.h[5]=C,this.h[6]=D,this.h[7]=E,this.h[8]=F,this.h[9]=G},A.prototype.finish=function(a,b){var c,d,e,f,g=new Uint16Array(10);if(this.leftover){for(f=this.leftover,this.buffer[f++]=1;f<16;f++)this.buffer[f]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(c=this.h[1]>>>13,this.h[1]&=8191,f=2;f<10;f++)this.h[f]+=c,c=this.h[f]>>>13,this.h[f]&=8191;for(this.h[0]+=5*c,c=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=c,c=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=c,g[0]=this.h[0]+5,c=g[0]>>>13,g[0]&=8191,f=1;f<10;f++)g[f]=this.h[f]+c,c=g[f]>>>13,g[f]&=8191;for(g[9]-=8192,d=(1^c)-1,f=0;f<10;f++)g[f]&=d;for(f=0,d=~d;f<10;f++)this.h[f]=this.h[f]&d|g[f];for(f=1,this.h[0]=(this.h[0]|this.h[1]<<13)&65535,this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535,this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535,this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535,this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535,this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535,this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535,this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535,e=this.h[0]+this.pad[0],this.h[0]=65535&e;f<8;f++)e=(this.h[f]+this.pad[f]|0)+(e>>>16)|0,this.h[f]=65535&e;a[b+0]=this.h[0]>>>0&255,a[b+1]=this.h[0]>>>8&255,a[b+2]=this.h[1]>>>0&255,a[b+3]=this.h[1]>>>8&255,a[b+4]=this.h[2]>>>0&255,a[b+5]=this.h[2]>>>8&255,a[b+6]=this.h[3]>>>0&255,a[b+7]=this.h[3]>>>8&255,a[b+8]=this.h[4]>>>0&255,a[b+9]=this.h[4]>>>8&255,a[b+10]=this.h[5]>>>0&255,a[b+11]=this.h[5]>>>8&255,a[b+12]=this.h[6]>>>0&255,a[b+13]=this.h[6]>>>8&255,a[b+14]=this.h[7]>>>0&255,a[b+15]=this.h[7]>>>8&255},A.prototype.update=function(a,b,c){var d,e;if(this.leftover){for((e=16-this.leftover)>c&&(e=c),d=0;d<e;d++)this.buffer[this.leftover+d]=a[b+d];if(c-=e,b+=e,this.leftover+=e,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(c>=16&&(e=c-c%16,this.blocks(a,b,e),b+=e,c-=e),c){for(d=0;d<c;d++)this.buffer[this.leftover+d]=a[b+d];this.leftover+=c}};var W=[0x428a2f98,0xd728ae22,0x71374491,0x23ef65cd,0xb5c0fbcf,0xec4d3b2f,0xe9b5dba5,0x8189dbbc,0x3956c25b,0xf348b538,0x59f111f1,0xb605d019,0x923f82a4,0xaf194f9b,0xab1c5ed5,0xda6d8118,0xd807aa98,0xa3030242,0x12835b01,0x45706fbe,0x243185be,0x4ee4b28c,0x550c7dc3,0xd5ffb4e2,0x72be5d74,0xf27b896f,0x80deb1fe,0x3b1696b1,0x9bdc06a7,0x25c71235,0xc19bf174,0xcf692694,0xe49b69c1,0x9ef14ad2,0xefbe4786,0x384f25e3,0xfc19dc6,0x8b8cd5b5,0x240ca1cc,0x77ac9c65,0x2de92c6f,0x592b0275,0x4a7484aa,0x6ea6e483,0x5cb0a9dc,0xbd41fbd4,0x76f988da,0x831153b5,0x983e5152,0xee66dfab,0xa831c66d,0x2db43210,0xb00327c8,0x98fb213f,0xbf597fc7,0xbeef0ee4,0xc6e00bf3,0x3da88fc2,0xd5a79147,0x930aa725,0x6ca6351,0xe003826f,0x14292967,0xa0e6e70,0x27b70a85,0x46d22ffc,0x2e1b2138,0x5c26c926,0x4d2c6dfc,0x5ac42aed,0x53380d13,0x9d95b3df,0x650a7354,0x8baf63de,0x766a0abb,0x3c77b2a8,0x81c2c92e,0x47edaee6,0x92722c85,0x1482353b,0xa2bfe8a1,0x4cf10364,0xa81a664b,0xbc423001,0xc24b8b70,0xd0f89791,0xc76c51a3,0x654be30,0xd192e819,0xd6ef5218,0xd6990624,0x5565a910,0xf40e3585,0x5771202a,0x106aa070,0x32bbd1b8,0x19a4c116,0xb8d2d0c8,0x1e376c08,0x5141ab53,0x2748774c,0xdf8eeb99,0x34b0bcb5,0xe19b48a8,0x391c0cb3,0xc5c95a63,0x4ed8aa4a,0xe3418acb,0x5b9cca4f,0x7763e373,0x682e6ff3,0xd6b2b8a3,0x748f82ee,0x5defb2fc,0x78a5636f,0x43172f60,0x84c87814,0xa1f0ab72,0x8cc70208,0x1a6439ec,0x90befffa,0x23631e28,0xa4506ceb,0xde82bde9,0xbef9a3f7,0xb2c67915,0xc67178f2,0xe372532b,0xca273ece,0xea26619c,0xd186b8c7,0x21c0c207,0xeada7dd6,0xcde0eb1e,0xf57d4f7f,0xee6ed178,0x6f067aa,0x72176fba,0xa637dc5,0xa2c898a6,0x113f9804,0xbef90dae,0x1b710b35,0x131c471b,0x28db77f5,0x23047d84,0x32caab7b,0x40c72493,0x3c9ebe0a,0x15c9bebc,0x431d67c4,0x9c100d4c,0x4cc5d4be,0xcb3e42b6,0x597f299c,0xfc657e2a,0x5fcb6fab,0x3ad6faec,0x6c44198c,0x4a475817];function X(a,b,c,d){for(var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E=new Int32Array(16),F=new Int32Array(16),G=a[0],H=a[1],I=a[2],J=a[3],K=a[4],L=a[5],M=a[6],N=a[7],O=b[0],P=b[1],Q=b[2],R=b[3],S=b[4],T=b[5],U=b[6],V=b[7],X=0;d>=128;){for(w=0;w<16;w++)x=8*w+X,E[w]=c[x+0]<<24|c[x+1]<<16|c[x+2]<<8|c[x+3],F[w]=c[x+4]<<24|c[x+5]<<16|c[x+6]<<8|c[x+7];for(w=0;w<80;w++)if(e=G,f=H,g=I,h=J,i=K,j=L,k=M,l=N,m=O,n=P,o=Q,p=R,q=S,r=T,s=U,t=V,y=N,A=65535&(z=V),B=z>>>16,C=65535&y,D=y>>>16,y=(K>>>14|S<<18)^(K>>>18|S<<14)^(S>>>9|K<<23),A+=65535&(z=(S>>>14|K<<18)^(S>>>18|K<<14)^(K>>>9|S<<23)),B+=z>>>16,C+=65535&y,D+=y>>>16,y=K&L^~K&M,A+=65535&(z=S&T^~S&U),B+=z>>>16,C+=65535&y,D+=y>>>16,y=W[2*w],A+=65535&(z=W[2*w+1]),B+=z>>>16,C+=65535&y,D+=y>>>16,y=E[w%16],A+=65535&(z=F[w%16]),B+=z>>>16,C+=65535&y,D+=y>>>16,B+=A>>>16,C+=B>>>16,D+=C>>>16,u=65535&C|D<<16,v=65535&A|B<<16,y=u,A=65535&(z=v),B=z>>>16,C=65535&y,D=y>>>16,y=(G>>>28|O<<4)^(O>>>2|G<<30)^(O>>>7|G<<25),A+=65535&(z=(O>>>28|G<<4)^(G>>>2|O<<30)^(G>>>7|O<<25)),B+=z>>>16,C+=65535&y,D+=y>>>16,y=G&H^G&I^H&I,A+=65535&(z=O&P^O&Q^P&Q),B+=z>>>16,C+=65535&y,D+=y>>>16,B+=A>>>16,C+=B>>>16,D+=C>>>16,l=65535&C|D<<16,t=65535&A|B<<16,y=h,A=65535&(z=p),B=z>>>16,C=65535&y,D=y>>>16,y=u,A+=65535&(z=v),B+=z>>>16,C+=65535&y,D+=y>>>16,B+=A>>>16,C+=B>>>16,D+=C>>>16,h=65535&C|D<<16,p=65535&A|B<<16,H=e,I=f,J=g,K=h,L=i,M=j,N=k,G=l,P=m,Q=n,R=o,S=p,T=q,U=r,V=s,O=t,w%16==15)for(x=0;x<16;x++)y=E[x],A=65535&(z=F[x]),B=z>>>16,C=65535&y,D=y>>>16,y=E[(x+9)%16],A+=65535&(z=F[(x+9)%16]),B+=z>>>16,C+=65535&y,D+=y>>>16,y=((u=E[(x+1)%16])>>>1|(v=F[(x+1)%16])<<31)^(u>>>8|v<<24)^u>>>7,A+=65535&(z=(v>>>1|u<<31)^(v>>>8|u<<24)^(v>>>7|u<<25)),B+=z>>>16,C+=65535&y,D+=y>>>16,y=((u=E[(x+14)%16])>>>19|(v=F[(x+14)%16])<<13)^(v>>>29|u<<3)^u>>>6,A+=65535&(z=(v>>>19|u<<13)^(u>>>29|v<<3)^(v>>>6|u<<26)),B+=z>>>16,C+=65535&y,D+=y>>>16,B+=A>>>16,C+=B>>>16,D+=C>>>16,E[x]=65535&C|D<<16,F[x]=65535&A|B<<16;y=G,A=65535&(z=O),B=z>>>16,C=65535&y,D=y>>>16,y=a[0],A+=65535&(z=b[0]),B+=z>>>16,C+=65535&y,D+=y>>>16,B+=A>>>16,C+=B>>>16,D+=C>>>16,a[0]=G=65535&C|D<<16,b[0]=O=65535&A|B<<16,y=H,A=65535&(z=P),B=z>>>16,C=65535&y,D=y>>>16,y=a[1],A+=65535&(z=b[1]),B+=z>>>16,C+=65535&y,D+=y>>>16,B+=A>>>16,C+=B>>>16,D+=C>>>16,a[1]=H=65535&C|D<<16,b[1]=P=65535&A|B<<16,y=I,A=65535&(z=Q),B=z>>>16,C=65535&y,D=y>>>16,y=a[2],A+=65535&(z=b[2]),B+=z>>>16,C+=65535&y,D+=y>>>16,B+=A>>>16,C+=B>>>16,D+=C>>>16,a[2]=I=65535&C|D<<16,b[2]=Q=65535&A|B<<16,y=J,A=65535&(z=R),B=z>>>16,C=65535&y,D=y>>>16,y=a[3],A+=65535&(z=b[3]),B+=z>>>16,C+=65535&y,D+=y>>>16,B+=A>>>16,C+=B>>>16,D+=C>>>16,a[3]=J=65535&C|D<<16,b[3]=R=65535&A|B<<16,y=K,A=65535&(z=S),B=z>>>16,C=65535&y,D=y>>>16,y=a[4],A+=65535&(z=b[4]),B+=z>>>16,C+=65535&y,D+=y>>>16,B+=A>>>16,C+=B>>>16,D+=C>>>16,a[4]=K=65535&C|D<<16,b[4]=S=65535&A|B<<16,y=L,A=65535&(z=T),B=z>>>16,C=65535&y,D=y>>>16,y=a[5],A+=65535&(z=b[5]),B+=z>>>16,C+=65535&y,D+=y>>>16,B+=A>>>16,C+=B>>>16,D+=C>>>16,a[5]=L=65535&C|D<<16,b[5]=T=65535&A|B<<16,y=M,A=65535&(z=U),B=z>>>16,C=65535&y,D=y>>>16,y=a[6],A+=65535&(z=b[6]),B+=z>>>16,C+=65535&y,D+=y>>>16,B+=A>>>16,C+=B>>>16,D+=C>>>16,a[6]=M=65535&C|D<<16,b[6]=U=65535&A|B<<16,y=N,A=65535&(z=V),B=z>>>16,C=65535&y,D=y>>>16,y=a[7],A+=65535&(z=b[7]),B+=z>>>16,C+=65535&y,D+=y>>>16,B+=A>>>16,C+=B>>>16,D+=C>>>16,a[7]=N=65535&C|D<<16,b[7]=V=65535&A|B<<16,X+=128,d-=128}return d}function Y(a,b,c){var d,e=new Int32Array(8),f=new Int32Array(8),g=new Uint8Array(256),h=c;for(e[0]=0x6a09e667,e[1]=0xbb67ae85,e[2]=0x3c6ef372,e[3]=0xa54ff53a,e[4]=0x510e527f,e[5]=0x9b05688c,e[6]=0x1f83d9ab,e[7]=0x5be0cd19,f[0]=0xf3bcc908,f[1]=0x84caa73b,f[2]=0xfe94f82b,f[3]=0x5f1d36f1,f[4]=0xade682d1,f[5]=0x2b3e6c1f,f[6]=0xfb41bd6b,f[7]=0x137e2179,X(e,f,b,c),c%=128,d=0;d<c;d++)g[d]=b[h-c+d];for(g[c]=128,g[(c=256-(c<112)*128)-9]=0,p(g,c-8,h/0x20000000|0,h<<3),X(e,f,g,c),d=0;d<8;d++)p(a,8*d,e[d],f[d]);return 0}function Z(a,b){var c=d(),e=d(),f=d(),g=d(),h=d(),i=d(),j=d(),k=d(),m=d();N(c,a[1],a[0]),N(m,b[1],b[0]),O(c,c,m),M(e,a[0],a[1]),M(m,b[0],b[1]),O(e,e,m),O(f,a[3],b[3]),O(f,f,l),O(g,a[2],b[2]),M(g,g,g),N(h,e,c),N(i,g,f),M(j,g,f),M(k,e,c),O(a[0],h,i),O(a[1],k,j),O(a[2],j,i),O(a[3],h,k)}function $(a,b,c){var d;for(d=0;d<4;d++)H(a[d],b[d],c)}function _(a,b){var c=d(),e=d(),f=d();Q(f,b[2]),O(c,b[0],f),O(e,b[1],f),I(a,e),a[31]^=K(c)<<7}function aa(a,b,c){var d,e;for(F(a[0],h),F(a[1],i),F(a[2],i),F(a[3],h),e=255;e>=0;--e)$(a,b,d=c[e/8|0]>>(7&e)&1),Z(b,a),Z(a,a),$(a,b,d)}function ab(a,b){var c=[d(),d(),d(),d()];F(c[0],m),F(c[1],n),F(c[2],i),O(c[3],m,n),aa(a,c,b)}function ac(a,b,c){var f,g=new Uint8Array(64),h=[d(),d(),d(),d()];for(c||e(b,32),Y(g,b,32),g[0]&=248,g[31]&=127,g[31]|=64,ab(h,g),_(a,h),f=0;f<32;f++)b[f+32]=a[f];return 0}var ad=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function ae(a,b){var c,d,e,f;for(d=63;d>=32;--d){for(c=0,e=d-32,f=d-12;e<f;++e)b[e]+=c-16*b[d]*ad[e-(d-32)],c=Math.floor((b[e]+128)/256),b[e]-=256*c;b[e]+=c,b[d]=0}for(e=0,c=0;e<32;e++)b[e]+=c-(b[31]>>4)*ad[e],c=b[e]>>8,b[e]&=255;for(e=0;e<32;e++)b[e]-=c*ad[e];for(d=0;d<32;d++)b[d+1]+=b[d]>>8,a[d]=255&b[d]}function af(a){var b,c=new Float64Array(64);for(b=0;b<64;b++)c[b]=a[b];for(b=0;b<64;b++)a[b]=0;ae(a,c)}function ag(a,b,c,e){var f,g,h=new Uint8Array(64),i=new Uint8Array(64),j=new Uint8Array(64),k=new Float64Array(64),l=[d(),d(),d(),d()];for(Y(h,e,32),h[0]&=248,h[31]&=127,h[31]|=64,f=0;f<c;f++)a[64+f]=b[f];for(f=0;f<32;f++)a[32+f]=h[32+f];for(Y(j,a.subarray(32),c+32),af(j),ab(l,j),_(a,l),f=32;f<64;f++)a[f]=e[f];for(Y(i,a,c+64),af(i),f=0;f<64;f++)k[f]=0;for(f=0;f<32;f++)k[f]=j[f];for(f=0;f<32;f++)for(g=0;g<32;g++)k[f+g]+=i[f]*h[g];return ae(a.subarray(32),k),c+64}function ah(a,b,c,e){var f,g,j,l,m,n,p,q,r=new Uint8Array(32),t=new Uint8Array(64),u=[d(),d(),d(),d()],v=[d(),d(),d(),d()];if(c<64||(f=d(),g=d(),j=d(),l=d(),m=d(),n=d(),p=d(),(F(v[2],i),L(v[1],e),P(j,v[1]),O(l,j,k),N(j,j,v[2]),M(l,v[2],l),P(m,l),P(n,m),O(p,n,m),O(f,p,j),O(f,f,l),R(f,f),O(f,f,j),O(f,f,l),O(f,f,l),O(v[0],f,l),P(g,v[0]),O(g,g,l),J(g,j)&&O(v[0],v[0],o),P(g,v[0]),O(g,g,l),J(g,j))?-1:(K(v[0])===e[31]>>7&&N(v[0],h,v[0]),O(v[3],v[0],v[1]),0)))return -1;for(q=0;q<c;q++)a[q]=b[q];for(q=0;q<32;q++)a[q+32]=e[q];if(Y(t,a,c),af(t),aa(u,v,t),ab(v,b.subarray(32)),Z(u,v),_(r,u),c-=64,s(b,0,r,0)){for(q=0;q<c;q++)a[q]=0;return -1}for(q=0;q<c;q++)a[q]=b[q+64];return c}function ai(a,b){if(32!==a.length)throw Error("bad key size");if(24!==b.length)throw Error("bad nonce size")}function aj(){for(var a=0;a<arguments.length;a++)if(!(arguments[a]instanceof Uint8Array))throw TypeError("unexpected type, use Uint8Array")}function ak(a){for(var b=0;b<a.length;b++)a[b]=0}a.lowlevel={crypto_core_hsalsa20:u,crypto_stream_xor:z,crypto_stream:y,crypto_stream_salsa20_xor:w,crypto_stream_salsa20:x,crypto_onetimeauth:B,crypto_onetimeauth_verify:C,crypto_verify_16:r,crypto_verify_32:s,crypto_secretbox:D,crypto_secretbox_open:E,crypto_scalarmult:S,crypto_scalarmult_base:T,crypto_box_beforenm:V,crypto_box_afternm:D,crypto_box:function(a,b,c,d,e,f){var g=new Uint8Array(32);return V(g,e,f),D(a,b,c,d,g)},crypto_box_open:function(a,b,c,d,e,f){var g=new Uint8Array(32);return V(g,e,f),E(a,b,c,d,g)},crypto_box_keypair:U,crypto_hash:Y,crypto_sign:ag,crypto_sign_keypair:ac,crypto_sign_open:ah,crypto_secretbox_KEYBYTES:32,crypto_secretbox_NONCEBYTES:24,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:16,crypto_scalarmult_BYTES:32,crypto_scalarmult_SCALARBYTES:32,crypto_box_PUBLICKEYBYTES:32,crypto_box_SECRETKEYBYTES:32,crypto_box_BEFORENMBYTES:32,crypto_box_NONCEBYTES:24,crypto_box_ZEROBYTES:32,crypto_box_BOXZEROBYTES:16,crypto_sign_BYTES:64,crypto_sign_PUBLICKEYBYTES:32,crypto_sign_SECRETKEYBYTES:64,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64,gf:d,D:k,L:ad,pack25519:I,unpack25519:L,M:O,A:M,S:P,Z:N,pow2523:R,add:Z,set25519:F,modL:ae,scalarmult:aa,scalarbase:ab},a.randomBytes=function(a){var b=new Uint8Array(a);return e(b,a),b},a.secretbox=function(a,b,c){aj(a,b,c),ai(c,b);for(var d=new Uint8Array(32+a.length),e=new Uint8Array(d.length),f=0;f<a.length;f++)d[f+32]=a[f];return D(e,d,d.length,b,c),e.subarray(16)},a.secretbox.open=function(a,b,c){aj(a,b,c),ai(c,b);for(var d=new Uint8Array(16+a.length),e=new Uint8Array(d.length),f=0;f<a.length;f++)d[f+16]=a[f];return d.length<32||0!==E(e,d,d.length,b,c)?null:e.subarray(32)},a.secretbox.keyLength=32,a.secretbox.nonceLength=24,a.secretbox.overheadLength=16,a.scalarMult=function(a,b){if(aj(a,b),32!==a.length)throw Error("bad n size");if(32!==b.length)throw Error("bad p size");var c=new Uint8Array(32);return S(c,a,b),c},a.scalarMult.base=function(a){if(aj(a),32!==a.length)throw Error("bad n size");var b=new Uint8Array(32);return T(b,a),b},a.scalarMult.scalarLength=32,a.scalarMult.groupElementLength=32,a.box=function(b,c,d,e){var f=a.box.before(d,e);return a.secretbox(b,c,f)},a.box.before=function(a,b){aj(a,b);if(32!==a.length)throw Error("bad public key size");if(32!==b.length)throw Error("bad secret key size");var c=new Uint8Array(32);return V(c,a,b),c},a.box.after=a.secretbox,a.box.open=function(b,c,d,e){var f=a.box.before(d,e);return a.secretbox.open(b,c,f)},a.box.open.after=a.secretbox.open,a.box.keyPair=function(){var a=new Uint8Array(32),b=new Uint8Array(32);return U(a,b),{publicKey:a,secretKey:b}},a.box.keyPair.fromSecretKey=function(a){if(aj(a),32!==a.length)throw Error("bad secret key size");var b=new Uint8Array(32);return T(b,a),{publicKey:b,secretKey:new Uint8Array(a)}},a.box.publicKeyLength=32,a.box.secretKeyLength=32,a.box.sharedKeyLength=32,a.box.nonceLength=24,a.box.overheadLength=a.secretbox.overheadLength,a.sign=function(a,b){if(aj(a,b),64!==b.length)throw Error("bad secret key size");var c=new Uint8Array(64+a.length);return ag(c,a,a.length,b),c},a.sign.open=function(a,b){if(aj(a,b),32!==b.length)throw Error("bad public key size");var c=new Uint8Array(a.length),d=ah(c,a,a.length,b);if(d<0)return null;for(var e=new Uint8Array(d),f=0;f<e.length;f++)e[f]=c[f];return e},a.sign.detached=function(b,c){for(var d=a.sign(b,c),e=new Uint8Array(64),f=0;f<e.length;f++)e[f]=d[f];return e},a.sign.detached.verify=function(a,b,c){if(aj(a,b,c),64!==b.length)throw Error("bad signature size");if(32!==c.length)throw Error("bad public key size");var d,e=new Uint8Array(64+a.length),f=new Uint8Array(64+a.length);for(d=0;d<64;d++)e[d]=b[d];for(d=0;d<a.length;d++)e[d+64]=a[d];return ah(f,e,e.length,c)>=0},a.sign.keyPair=function(){var a=new Uint8Array(32),b=new Uint8Array(64);return ac(a,b),{publicKey:a,secretKey:b}},a.sign.keyPair.fromSecretKey=function(a){if(aj(a),64!==a.length)throw Error("bad secret key size");for(var b=new Uint8Array(32),c=0;c<b.length;c++)b[c]=a[32+c];return{publicKey:b,secretKey:new Uint8Array(a)}},a.sign.keyPair.fromSeed=function(a){if(aj(a),32!==a.length)throw Error("bad seed size");for(var b=new Uint8Array(32),c=new Uint8Array(64),d=0;d<32;d++)c[d]=a[d];return ac(b,c,!0),{publicKey:b,secretKey:c}},a.sign.publicKeyLength=32,a.sign.secretKeyLength=64,a.sign.seedLength=32,a.sign.signatureLength=64,a.hash=function(a){aj(a);var b=new Uint8Array(64);return Y(b,a,a.length),b},a.hash.hashLength=64,a.verify=function(a,b){return aj(a,b),0!==a.length&&0!==b.length&&a.length===b.length&&0===q(a,0,b,0,a.length)},a.setPRNG=function(a){e=a},(b="undefined"!=typeof self?self.crypto||self.msCrypto:null)&&b.getRandomValues?a.setPRNG(function(a,c){var d,e=new Uint8Array(c);for(d=0;d<c;d+=65536)b.getRandomValues(e.subarray(d,d+Math.min(c-d,65536)));for(d=0;d<c;d++)a[d]=e[d];ak(e)}):(b=c(55511))&&b.randomBytes&&a.setPRNG(function(a,c){var d,e=b.randomBytes(c);for(d=0;d<c;d++)a[d]=e[d];ak(e)})}(a.exports?a.exports:self.nacl=self.nacl||{})},25054:(a,b,c)=>{let d=c(32898);function e(a,b,c,d,e,g){i[a]=i[a]+i[b]+e,i[d]=f(i[d]^i[a],16),i[c]=i[c]+i[d],i[b]=f(i[b]^i[c],12),i[a]=i[a]+i[b]+g,i[d]=f(i[d]^i[a],8),i[c]=i[c]+i[d],i[b]=f(i[b]^i[c],7)}function f(a,b){return a>>>b^a<<32-b}let g=new Uint32Array([0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19]),h=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0]),i=new Uint32Array(16),j=new Uint32Array(16);function k(a,b){let c=0;for(c=0;c<8;c++)i[c]=a.h[c],i[c+8]=g[c];for(i[12]^=a.t,i[13]^=a.t/0x100000000,b&&(i[14]=~i[14]),c=0;c<16;c++){var d,f;j[c]=(d=a.b)[f=4*c]^d[f+1]<<8^d[f+2]<<16^d[f+3]<<24}for(c=0;c<10;c++)e(0,4,8,12,j[h[16*c+0]],j[h[16*c+1]]),e(1,5,9,13,j[h[16*c+2]],j[h[16*c+3]]),e(2,6,10,14,j[h[16*c+4]],j[h[16*c+5]]),e(3,7,11,15,j[h[16*c+6]],j[h[16*c+7]]),e(0,5,10,15,j[h[16*c+8]],j[h[16*c+9]]),e(1,6,11,12,j[h[16*c+10]],j[h[16*c+11]]),e(2,7,8,13,j[h[16*c+12]],j[h[16*c+13]]),e(3,4,9,14,j[h[16*c+14]],j[h[16*c+15]]);for(c=0;c<8;c++)a.h[c]^=i[c]^i[c+8]}function l(a,b){if(!(a>0&&a<=32))throw Error("Incorrect output length, should be in [1, 32]");let c=b?b.length:0;if(b&&!(c>0&&c<=32))throw Error("Incorrect key length, should be in [1, 32]");let d={h:new Uint32Array(g),b:new Uint8Array(64),c:0,t:0,outlen:a};return d.h[0]^=0x1010000^c<<8^a,c>0&&(m(d,b),d.c=64),d}function m(a,b){for(let c=0;c<b.length;c++)64===a.c&&(a.t+=a.c,k(a,!1),a.c=0),a.b[a.c++]=b[c]}function n(a){for(a.t+=a.c;a.c<64;)a.b[a.c++]=0;k(a,!0);let b=new Uint8Array(a.outlen);for(let c=0;c<a.outlen;c++)b[c]=a.h[c>>2]>>8*(3&c)&255;return b}function o(a,b,c){c=c||32,a=d.normalizeInput(a);let e=l(c,b);return m(e,a),n(e)}a.exports={blake2s:o,blake2sHex:function(a,b,c){let e=o(a,b,c);return d.toHex(e)},blake2sInit:l,blake2sUpdate:m,blake2sFinal:n}},28556:(a,b,c)=>{let d=c(41841),e=c(25054);a.exports={blake2b:d.blake2b,blake2bHex:d.blake2bHex,blake2bInit:d.blake2bInit,blake2bUpdate:d.blake2bUpdate,blake2bFinal:d.blake2bFinal,blake2s:e.blake2s,blake2sHex:e.blake2sHex,blake2sInit:e.blake2sInit,blake2sUpdate:e.blake2sUpdate,blake2sFinal:e.blake2sFinal}},32898:a=>{function b(a){return(0x100000000+a).toString(16).substring(1)}a.exports={normalizeInput:function(a){let b;if(a instanceof Uint8Array)b=a;else if("string"==typeof a)b=new TextEncoder().encode(a);else throw Error("Input must be an string, Buffer or Uint8Array");return b},toHex:function(a){return Array.prototype.map.call(a,function(a){return(a<16?"0":"")+a.toString(16)}).join("")},debugPrint:function(a,c,d){let e="\n"+a+" = ";for(let f=0;f<c.length;f+=2){if(32===d)e+=b(c[f]).toUpperCase(),e+=" ",e+=b(c[f+1]).toUpperCase();else if(64===d)e+=b(c[f+1]).toUpperCase(),e+=b(c[f]).toUpperCase();else throw Error("Invalid size "+d);f%6==4?e+="\n"+Array(a.length+4).join(" "):f<c.length-2&&(e+=" ")}console.log(e)},testSpeed:function(a,b,c){let d=new Date().getTime(),e=new Uint8Array(b);for(let a=0;a<b;a++)e[a]=a%256;let f=new Date().getTime();console.log("Generated random input in "+(f-d)+"ms"),d=f;for(let f=0;f<c;f++){let c=a(e),f=new Date().getTime(),g=f-d;d=f,console.log("Hashed in "+g+"ms: "+c.substring(0,20)+"..."),console.log(Math.round(b/1048576/(g/1e3)*100)/100+" MB PER SECOND")}}}},41841:(a,b,c)=>{let d=c(32898);function e(a,b,c){let d=a[b]+a[c],e=a[b+1]+a[c+1];d>=0x100000000&&e++,a[b]=d,a[b+1]=e}function f(a,b,c,d){let e=a[b]+c;c<0&&(e+=0x100000000);let f=a[b+1]+d;e>=0x100000000&&f++,a[b]=e,a[b+1]=f}function g(a,b){return a[b]^a[b+1]<<8^a[b+2]<<16^a[b+3]<<24}function h(a,b,c,d,g,h){let i=l[g],j=l[g+1],m=l[h],n=l[h+1];e(k,a,b),f(k,a,i,j);let o=k[d]^k[a],p=k[d+1]^k[a+1];k[d]=p,k[d+1]=o,e(k,c,d),o=k[b]^k[c],p=k[b+1]^k[c+1],k[b]=o>>>24^p<<8,k[b+1]=p>>>24^o<<8,e(k,a,b),f(k,a,m,n),o=k[d]^k[a],p=k[d+1]^k[a+1],k[d]=o>>>16^p<<16,k[d+1]=p>>>16^o<<16,e(k,c,d),o=k[b]^k[c],p=k[b+1]^k[c+1],k[b]=p>>>31^o<<1,k[b+1]=o>>>31^p<<1}let i=new Uint32Array([0xf3bcc908,0x6a09e667,0x84caa73b,0xbb67ae85,0xfe94f82b,0x3c6ef372,0x5f1d36f1,0xa54ff53a,0xade682d1,0x510e527f,0x2b3e6c1f,0x9b05688c,0xfb41bd6b,0x1f83d9ab,0x137e2179,0x5be0cd19]),j=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3].map(function(a){return 2*a})),k=new Uint32Array(32),l=new Uint32Array(32);function m(a,b){let c=0;for(c=0;c<16;c++)k[c]=a.h[c],k[c+16]=i[c];for(k[24]=k[24]^a.t,k[25]=k[25]^a.t/0x100000000,b&&(k[28]=~k[28],k[29]=~k[29]),c=0;c<32;c++)l[c]=g(a.b,4*c);for(c=0;c<12;c++)h(0,8,16,24,j[16*c+0],j[16*c+1]),h(2,10,18,26,j[16*c+2],j[16*c+3]),h(4,12,20,28,j[16*c+4],j[16*c+5]),h(6,14,22,30,j[16*c+6],j[16*c+7]),h(0,10,20,30,j[16*c+8],j[16*c+9]),h(2,12,22,24,j[16*c+10],j[16*c+11]),h(4,14,16,26,j[16*c+12],j[16*c+13]),h(6,8,18,28,j[16*c+14],j[16*c+15]);for(c=0;c<16;c++)a.h[c]=a.h[c]^k[c]^k[c+16]}let n=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function o(a,b,c,d){if(0===a||a>64)throw Error("Illegal output length, expected 0 < length <= 64");if(b&&b.length>64)throw Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(c&&16!==c.length)throw Error("Illegal salt, expected Uint8Array with length is 16");if(d&&16!==d.length)throw Error("Illegal personal, expected Uint8Array with length is 16");let e={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:a};n.fill(0),n[0]=a,b&&(n[1]=b.length),n[2]=1,n[3]=1,c&&n.set(c,32),d&&n.set(d,48);for(let a=0;a<16;a++)e.h[a]=i[a]^g(n,4*a);return b&&(p(e,b),e.c=128),e}function p(a,b){for(let c=0;c<b.length;c++)128===a.c&&(a.t+=a.c,m(a,!1),a.c=0),a.b[a.c++]=b[c]}function q(a){for(a.t+=a.c;a.c<128;)a.b[a.c++]=0;m(a,!0);let b=new Uint8Array(a.outlen);for(let c=0;c<a.outlen;c++)b[c]=a.h[c>>2]>>8*(3&c);return b}function r(a,b,c,e,f){c=c||64,a=d.normalizeInput(a),e&&(e=d.normalizeInput(e)),f&&(f=d.normalizeInput(f));let g=o(c,b,e,f);return p(g,a),q(g)}a.exports={blake2b:r,blake2bHex:function(a,b,c,e,f){let g=r(a,b,c,e,f);return d.toHex(g)},blake2bInit:o,blake2bUpdate:p,blake2bFinal:q}}};