@ai-development-environment/server 0.0.64 → 0.0.65

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 (813) hide show
  1. package/package.json +1 -1
  2. package/standalone/.next/BUILD_ID +1 -1
  3. package/standalone/.next/app-path-routes-manifest.json +1 -1
  4. package/standalone/.next/build-manifest.json +3 -3
  5. package/standalone/.next/prerender-manifest.json +7 -7
  6. package/standalone/.next/routes-manifest.json +3 -3
  7. package/standalone/.next/server/app/[locale]/actions/page.js +9 -8
  8. package/standalone/.next/server/app/[locale]/actions/page.js.nft.json +1 -1
  9. package/standalone/.next/server/app/[locale]/actions/page_client-reference-manifest.js +1 -1
  10. package/standalone/.next/server/app/[locale]/actions-cache/page.js +9 -8
  11. package/standalone/.next/server/app/[locale]/actions-cache/page.js.nft.json +1 -1
  12. package/standalone/.next/server/app/[locale]/actions-cache/page_client-reference-manifest.js +1 -1
  13. package/standalone/.next/server/app/[locale]/agents/[id]/page.js +9 -8
  14. package/standalone/.next/server/app/[locale]/agents/[id]/page.js.nft.json +1 -1
  15. package/standalone/.next/server/app/[locale]/agents/[id]/page_client-reference-manifest.js +1 -1
  16. package/standalone/.next/server/app/[locale]/agents/page.js +9 -8
  17. package/standalone/.next/server/app/[locale]/agents/page.js.nft.json +1 -1
  18. package/standalone/.next/server/app/[locale]/agents/page_client-reference-manifest.js +1 -1
  19. package/standalone/.next/server/app/[locale]/analytics-events/page.js +9 -8
  20. package/standalone/.next/server/app/[locale]/analytics-events/page.js.nft.json +1 -1
  21. package/standalone/.next/server/app/[locale]/analytics-events/page_client-reference-manifest.js +1 -1
  22. package/standalone/.next/server/app/[locale]/build-data/page.js +9 -8
  23. package/standalone/.next/server/app/[locale]/build-data/page.js.nft.json +1 -1
  24. package/standalone/.next/server/app/[locale]/build-data/page_client-reference-manifest.js +1 -1
  25. package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js +9 -8
  26. package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js.nft.json +1 -1
  27. package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page_client-reference-manifest.js +1 -1
  28. package/standalone/.next/server/app/[locale]/builds/[buildId]/output/route.js +1 -1
  29. package/standalone/.next/server/app/[locale]/builds/[buildId]/output/route.js.nft.json +1 -1
  30. package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js +9 -8
  31. package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js.nft.json +1 -1
  32. package/standalone/.next/server/app/[locale]/builds/[buildId]/page_client-reference-manifest.js +1 -1
  33. package/standalone/.next/server/app/[locale]/builds/page.js +9 -8
  34. package/standalone/.next/server/app/[locale]/builds/page.js.nft.json +1 -1
  35. package/standalone/.next/server/app/[locale]/builds/page_client-reference-manifest.js +1 -1
  36. package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js +9 -8
  37. package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js.nft.json +1 -1
  38. package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page_client-reference-manifest.js +1 -1
  39. package/standalone/.next/server/app/[locale]/codebases/page.js +9 -8
  40. package/standalone/.next/server/app/[locale]/codebases/page.js.nft.json +1 -1
  41. package/standalone/.next/server/app/[locale]/codebases/page_client-reference-manifest.js +1 -1
  42. package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js +9 -8
  43. package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js.nft.json +1 -1
  44. package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page_client-reference-manifest.js +1 -1
  45. package/standalone/.next/server/app/[locale]/commands/[commandId]/edit/page.js +9 -8
  46. package/standalone/.next/server/app/[locale]/commands/[commandId]/edit/page.js.nft.json +1 -1
  47. package/standalone/.next/server/app/[locale]/commands/[commandId]/edit/page_client-reference-manifest.js +1 -1
  48. package/standalone/.next/server/app/[locale]/commands/new/page.js +9 -8
  49. package/standalone/.next/server/app/[locale]/commands/new/page.js.nft.json +1 -1
  50. package/standalone/.next/server/app/[locale]/commands/new/page_client-reference-manifest.js +1 -1
  51. package/standalone/.next/server/app/[locale]/commands/page.js +9 -8
  52. package/standalone/.next/server/app/[locale]/commands/page.js.nft.json +1 -1
  53. package/standalone/.next/server/app/[locale]/commands/page_client-reference-manifest.js +1 -1
  54. package/standalone/.next/server/app/[locale]/commands/runs/[runId]/output/route.js +1 -1
  55. package/standalone/.next/server/app/[locale]/commands/runs/[runId]/output/route.js.nft.json +1 -1
  56. package/standalone/.next/server/app/[locale]/commands/runs/[runId]/page.js +9 -8
  57. package/standalone/.next/server/app/[locale]/commands/runs/[runId]/page.js.nft.json +1 -1
  58. package/standalone/.next/server/app/[locale]/commands/runs/[runId]/page_client-reference-manifest.js +1 -1
  59. package/standalone/.next/server/app/[locale]/comments/page.js +9 -8
  60. package/standalone/.next/server/app/[locale]/comments/page.js.nft.json +1 -1
  61. package/standalone/.next/server/app/[locale]/comments/page_client-reference-manifest.js +1 -1
  62. package/standalone/.next/server/app/[locale]/console-logs/page.js +9 -8
  63. package/standalone/.next/server/app/[locale]/console-logs/page.js.nft.json +1 -1
  64. package/standalone/.next/server/app/[locale]/console-logs/page_client-reference-manifest.js +1 -1
  65. package/standalone/.next/server/app/[locale]/costs/page.js +9 -8
  66. package/standalone/.next/server/app/[locale]/costs/page.js.nft.json +1 -1
  67. package/standalone/.next/server/app/[locale]/costs/page_client-reference-manifest.js +1 -1
  68. package/standalone/.next/server/app/[locale]/credentials/page.js +9 -8
  69. package/standalone/.next/server/app/[locale]/credentials/page.js.nft.json +1 -1
  70. package/standalone/.next/server/app/[locale]/credentials/page_client-reference-manifest.js +1 -1
  71. package/standalone/.next/server/app/[locale]/devices/[id]/page.js +9 -8
  72. package/standalone/.next/server/app/[locale]/devices/[id]/page.js.nft.json +1 -1
  73. package/standalone/.next/server/app/[locale]/devices/[id]/page_client-reference-manifest.js +1 -1
  74. package/standalone/.next/server/app/[locale]/devices/enroll/page.js +9 -8
  75. package/standalone/.next/server/app/[locale]/devices/enroll/page.js.nft.json +1 -1
  76. package/standalone/.next/server/app/[locale]/devices/enroll/page_client-reference-manifest.js +1 -1
  77. package/standalone/.next/server/app/[locale]/devices/page.js +9 -8
  78. package/standalone/.next/server/app/[locale]/devices/page.js.nft.json +1 -1
  79. package/standalone/.next/server/app/[locale]/devices/page_client-reference-manifest.js +1 -1
  80. package/standalone/.next/server/app/[locale]/drafts/page.js +9 -8
  81. package/standalone/.next/server/app/[locale]/drafts/page.js.nft.json +1 -1
  82. package/standalone/.next/server/app/[locale]/drafts/page_client-reference-manifest.js +1 -1
  83. package/standalone/.next/server/app/[locale]/github-cache/entries/[id]/page.js +9 -8
  84. package/standalone/.next/server/app/[locale]/github-cache/entries/[id]/page.js.nft.json +1 -1
  85. package/standalone/.next/server/app/[locale]/github-cache/entries/[id]/page_client-reference-manifest.js +1 -1
  86. package/standalone/.next/server/app/[locale]/github-cache/page.js +9 -8
  87. package/standalone/.next/server/app/[locale]/github-cache/page.js.nft.json +1 -1
  88. package/standalone/.next/server/app/[locale]/github-cache/page_client-reference-manifest.js +1 -1
  89. package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js +10 -9
  90. package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js.nft.json +1 -1
  91. package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
  92. package/standalone/.next/server/app/[locale]/jira/tickets/page.js +9 -8
  93. package/standalone/.next/server/app/[locale]/jira/tickets/page.js.nft.json +1 -1
  94. package/standalone/.next/server/app/[locale]/jira/tickets/page_client-reference-manifest.js +1 -1
  95. package/standalone/.next/server/app/[locale]/jira-cache/page.js +9 -8
  96. package/standalone/.next/server/app/[locale]/jira-cache/page.js.nft.json +1 -1
  97. package/standalone/.next/server/app/[locale]/jira-cache/page_client-reference-manifest.js +1 -1
  98. package/standalone/.next/server/app/[locale]/jira-cache/tickets/[issueKey]/page.js +9 -8
  99. package/standalone/.next/server/app/[locale]/jira-cache/tickets/[issueKey]/page.js.nft.json +1 -1
  100. package/standalone/.next/server/app/[locale]/jira-cache/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
  101. package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js +9 -9
  102. package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js.nft.json +1 -1
  103. package/standalone/.next/server/app/[locale]/jobs/[jobId]/page_client-reference-manifest.js +1 -1
  104. package/standalone/.next/server/app/[locale]/notifications/page.js +9 -8
  105. package/standalone/.next/server/app/[locale]/notifications/page.js.nft.json +1 -1
  106. package/standalone/.next/server/app/[locale]/notifications/page_client-reference-manifest.js +1 -1
  107. package/standalone/.next/server/app/[locale]/page.js +9 -8
  108. package/standalone/.next/server/app/[locale]/page.js.nft.json +1 -1
  109. package/standalone/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  110. package/standalone/.next/server/app/[locale]/plans/[runId]/page.js +9 -8
  111. package/standalone/.next/server/app/[locale]/plans/[runId]/page.js.nft.json +1 -1
  112. package/standalone/.next/server/app/[locale]/plans/[runId]/page_client-reference-manifest.js +1 -1
  113. package/standalone/.next/server/app/[locale]/plans/page.js +9 -8
  114. package/standalone/.next/server/app/[locale]/plans/page.js.nft.json +1 -1
  115. package/standalone/.next/server/app/[locale]/plans/page_client-reference-manifest.js +1 -1
  116. package/standalone/.next/server/app/[locale]/polling/page.js +9 -8
  117. package/standalone/.next/server/app/[locale]/polling/page.js.nft.json +1 -1
  118. package/standalone/.next/server/app/[locale]/polling/page_client-reference-manifest.js +1 -1
  119. package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page.js +9 -8
  120. package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page.js.nft.json +1 -1
  121. package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page_client-reference-manifest.js +1 -1
  122. package/standalone/.next/server/app/[locale]/provisioning-profiles/page.js +9 -8
  123. package/standalone/.next/server/app/[locale]/provisioning-profiles/page.js.nft.json +1 -1
  124. package/standalone/.next/server/app/[locale]/provisioning-profiles/page_client-reference-manifest.js +1 -1
  125. package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js +9 -8
  126. package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js.nft.json +1 -1
  127. package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
  128. package/standalone/.next/server/app/[locale]/pull-requests/page.js +9 -8
  129. package/standalone/.next/server/app/[locale]/pull-requests/page.js.nft.json +1 -1
  130. package/standalone/.next/server/app/[locale]/pull-requests/page_client-reference-manifest.js +1 -1
  131. package/standalone/.next/server/app/[locale]/push-notifications/page.js +9 -8
  132. package/standalone/.next/server/app/[locale]/push-notifications/page.js.nft.json +1 -1
  133. package/standalone/.next/server/app/[locale]/push-notifications/page_client-reference-manifest.js +1 -1
  134. package/standalone/.next/server/app/[locale]/runs/new/page.js +9 -8
  135. package/standalone/.next/server/app/[locale]/runs/new/page.js.nft.json +1 -1
  136. package/standalone/.next/server/app/[locale]/runs/new/page_client-reference-manifest.js +1 -1
  137. package/standalone/.next/server/app/[locale]/sessions/[runId]/page.js +9 -8
  138. package/standalone/.next/server/app/[locale]/sessions/[runId]/page.js.nft.json +1 -1
  139. package/standalone/.next/server/app/[locale]/sessions/[runId]/page_client-reference-manifest.js +1 -1
  140. package/standalone/.next/server/app/[locale]/sessions/page.js +9 -8
  141. package/standalone/.next/server/app/[locale]/sessions/page.js.nft.json +1 -1
  142. package/standalone/.next/server/app/[locale]/sessions/page_client-reference-manifest.js +1 -1
  143. package/standalone/.next/server/app/[locale]/settings/page.js +9 -8
  144. package/standalone/.next/server/app/[locale]/settings/page.js.nft.json +1 -1
  145. package/standalone/.next/server/app/[locale]/settings/page_client-reference-manifest.js +1 -1
  146. package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js +9 -8
  147. package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js.nft.json +1 -1
  148. package/standalone/.next/server/app/[locale]/skills/[skillId]/page_client-reference-manifest.js +1 -1
  149. package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js +9 -8
  150. package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js.nft.json +1 -1
  151. package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page_client-reference-manifest.js +1 -1
  152. package/standalone/.next/server/app/[locale]/skills/groups/page.js +9 -8
  153. package/standalone/.next/server/app/[locale]/skills/groups/page.js.nft.json +1 -1
  154. package/standalone/.next/server/app/[locale]/skills/groups/page_client-reference-manifest.js +1 -1
  155. package/standalone/.next/server/app/[locale]/skills/page.js +9 -8
  156. package/standalone/.next/server/app/[locale]/skills/page.js.nft.json +1 -1
  157. package/standalone/.next/server/app/[locale]/skills/page_client-reference-manifest.js +1 -1
  158. package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js +9 -8
  159. package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js.nft.json +1 -1
  160. package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page_client-reference-manifest.js +1 -1
  161. package/standalone/.next/server/app/[locale]/tools/page.js +9 -8
  162. package/standalone/.next/server/app/[locale]/tools/page.js.nft.json +1 -1
  163. package/standalone/.next/server/app/[locale]/tools/page_client-reference-manifest.js +1 -1
  164. package/standalone/.next/server/app/[locale]/unified-events/page.js +9 -8
  165. package/standalone/.next/server/app/[locale]/unified-events/page.js.nft.json +1 -1
  166. package/standalone/.next/server/app/[locale]/unified-events/page_client-reference-manifest.js +1 -1
  167. package/standalone/.next/server/app/[locale]/usage/page.js +9 -8
  168. package/standalone/.next/server/app/[locale]/usage/page.js.nft.json +1 -1
  169. package/standalone/.next/server/app/[locale]/usage/page_client-reference-manifest.js +1 -1
  170. package/standalone/.next/server/app/[locale]/webhooks/page.js +9 -8
  171. package/standalone/.next/server/app/[locale]/webhooks/page.js.nft.json +1 -1
  172. package/standalone/.next/server/app/[locale]/webhooks/page_client-reference-manifest.js +1 -1
  173. package/standalone/.next/server/app/[locale]/workflows/[workflowId]/edit/page.js +9 -8
  174. package/standalone/.next/server/app/[locale]/workflows/[workflowId]/edit/page.js.nft.json +1 -1
  175. package/standalone/.next/server/app/[locale]/workflows/[workflowId]/edit/page_client-reference-manifest.js +1 -1
  176. package/standalone/.next/server/app/[locale]/workflows/[workflowId]/page.js +9 -8
  177. package/standalone/.next/server/app/[locale]/workflows/[workflowId]/page.js.nft.json +1 -1
  178. package/standalone/.next/server/app/[locale]/workflows/[workflowId]/page_client-reference-manifest.js +1 -1
  179. package/standalone/.next/server/app/[locale]/workflows/new/page.js +9 -8
  180. package/standalone/.next/server/app/[locale]/workflows/new/page.js.nft.json +1 -1
  181. package/standalone/.next/server/app/[locale]/workflows/new/page_client-reference-manifest.js +1 -1
  182. package/standalone/.next/server/app/[locale]/workflows/page.js +9 -8
  183. package/standalone/.next/server/app/[locale]/workflows/page.js.nft.json +1 -1
  184. package/standalone/.next/server/app/[locale]/workflows/page_client-reference-manifest.js +1 -1
  185. package/standalone/.next/server/app/[locale]/workflows/runs/[runId]/page.js +9 -8
  186. package/standalone/.next/server/app/[locale]/workflows/runs/[runId]/page.js.nft.json +1 -1
  187. package/standalone/.next/server/app/[locale]/workflows/runs/[runId]/page_client-reference-manifest.js +1 -1
  188. package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js +10 -9
  189. package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js.nft.json +1 -1
  190. package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
  191. package/standalone/.next/server/app/[locale]/worktrees/page.js +9 -8
  192. package/standalone/.next/server/app/[locale]/worktrees/page.js.nft.json +1 -1
  193. package/standalone/.next/server/app/[locale]/worktrees/page_client-reference-manifest.js +1 -1
  194. package/standalone/.next/server/app/_global-error/page.js +5 -6
  195. package/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
  196. package/standalone/.next/server/app/_global-error.html +1 -1
  197. package/standalone/.next/server/app/_global-error.rsc +2 -3
  198. package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  199. package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +2 -3
  200. package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -2
  201. package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  202. package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  203. package/standalone/.next/server/app/_not-found/page.js +6 -6
  204. package/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
  205. package/standalone/.next/server/app/_not-found.html +1 -1
  206. package/standalone/.next/server/app/_not-found.rsc +2 -2
  207. package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  208. package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  209. package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  210. package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  211. package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  212. package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  213. package/standalone/.next/server/app/api/agent/run-attachments/[attachmentId]/route.js +1 -1
  214. package/standalone/.next/server/app/api/agent/run-attachments/[attachmentId]/route.js.nft.json +1 -1
  215. package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js +1 -1
  216. package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js.nft.json +1 -1
  217. package/standalone/.next/server/app/api/codebases/by-path/route.js +1 -1
  218. package/standalone/.next/server/app/api/codebases/by-path/route.js.nft.json +1 -1
  219. package/standalone/.next/server/app/api/codebases/route.js +1 -1
  220. package/standalone/.next/server/app/api/codebases/route.js.nft.json +1 -1
  221. package/standalone/.next/server/app/api/graphql/route.js +1 -1
  222. package/standalone/.next/server/app/api/graphql/route.js.nft.json +1 -1
  223. package/standalone/.next/server/app/api/ios/apns-devices/route.js +1 -1
  224. package/standalone/.next/server/app/api/ios/apns-devices/route.js.nft.json +1 -1
  225. package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js +1 -1
  226. package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js.nft.json +1 -1
  227. package/standalone/.next/server/app/api/ios/enrollment/start/route.js +1 -1
  228. package/standalone/.next/server/app/api/ios/enrollment/start/route.js.nft.json +1 -1
  229. package/standalone/.next/server/app/api/mcp/route.js +1 -1
  230. package/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
  231. package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js +1 -1
  232. package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js.nft.json +1 -1
  233. package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/route.js +1 -1
  234. package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/route.js.nft.json +1 -1
  235. package/standalone/.next/server/app/api/public/github/webhook/route.js +1 -1
  236. package/standalone/.next/server/app/api/public/github/webhook/route.js.nft.json +1 -1
  237. package/standalone/.next/server/app/api/public/ios/enrollment-profile/route.js +1 -1
  238. package/standalone/.next/server/app/api/public/ios/enrollment-profile/route.js.nft.json +1 -1
  239. package/standalone/.next/server/app/api/public/ios/profile-response/route.js +1 -1
  240. package/standalone/.next/server/app/api/public/ios/profile-response/route.js.nft.json +1 -1
  241. package/standalone/.next/server/app/api/telemetry/analytics-events/route.js +1 -1
  242. package/standalone/.next/server/app/api/telemetry/analytics-events/route.js.nft.json +1 -1
  243. package/standalone/.next/server/app/api/telemetry/console-logs/route.js +1 -1
  244. package/standalone/.next/server/app/api/telemetry/console-logs/route.js.nft.json +1 -1
  245. package/standalone/.next/server/app/api/telemetry/export/route.js +1 -1
  246. package/standalone/.next/server/app/api/telemetry/export/route.js.nft.json +1 -1
  247. package/standalone/.next/server/app/api/tools/call/route.js +1 -1
  248. package/standalone/.next/server/app/api/tools/call/route.js.nft.json +1 -1
  249. package/standalone/.next/server/app/api/tools/catalog/route.js +1 -1
  250. package/standalone/.next/server/app/api/tools/catalog/route.js.nft.json +1 -1
  251. package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js +1 -1
  252. package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js.nft.json +1 -1
  253. package/standalone/.next/server/app/icon.svg/route/app-paths-manifest.json +3 -0
  254. package/standalone/.next/server/app/icon.svg/route.js +7 -0
  255. package/standalone/.next/server/app/{favicon.ico → icon.svg}/route.js.nft.json +1 -1
  256. package/standalone/.next/server/app/icon.svg.body +7 -0
  257. package/standalone/.next/server/app/icon.svg.meta +1 -0
  258. package/standalone/.next/server/app-paths-manifest.json +1 -1
  259. package/standalone/.next/server/chunks/{[root-of-the-server]__0yx69ig._.js → [root-of-the-server]__0-84fg8._.js} +2 -2
  260. package/standalone/.next/server/chunks/{[root-of-the-server]__05k_3_s._.js → [root-of-the-server]__009x0z2._.js} +1 -1
  261. package/standalone/.next/server/chunks/{[root-of-the-server]__0efv9_l._.js → [root-of-the-server]__00z8p9y._.js} +1 -1
  262. package/standalone/.next/server/chunks/{[root-of-the-server]__05rm8ki._.js → [root-of-the-server]__00zjx8v._.js} +1 -1
  263. package/standalone/.next/server/chunks/{[root-of-the-server]__06dz512._.js → [root-of-the-server]__0108ovu._.js} +1 -1
  264. package/standalone/.next/server/chunks/{[root-of-the-server]__0-b1prw._.js → [root-of-the-server]__026fuz3._.js} +1 -1
  265. package/standalone/.next/server/chunks/{[root-of-the-server]__03ov9dn._.js → [root-of-the-server]__02rtolt._.js} +1 -1
  266. package/standalone/.next/server/chunks/{[root-of-the-server]__0cqe8td._.js → [root-of-the-server]__03jsvik._.js} +1 -1
  267. package/standalone/.next/server/chunks/{[root-of-the-server]__0g-h70v._.js → [root-of-the-server]__03qoaib._.js} +1 -1
  268. package/standalone/.next/server/chunks/[root-of-the-server]__04dzkv1._.js +3 -0
  269. package/standalone/.next/server/chunks/{[root-of-the-server]__0-irvqy._.js → [root-of-the-server]__04qz0t4._.js} +1 -1
  270. package/standalone/.next/server/chunks/{[root-of-the-server]__0_1h4vu._.js → [root-of-the-server]__0525unf._.js} +1 -1
  271. package/standalone/.next/server/chunks/{[root-of-the-server]__0_ftuni._.js → [root-of-the-server]__05rg4l-._.js} +1 -1
  272. package/standalone/.next/server/chunks/{[root-of-the-server]__082w26v._.js → [root-of-the-server]__06hj05o._.js} +1 -1
  273. package/standalone/.next/server/chunks/{[root-of-the-server]__04x0a1c._.js → [root-of-the-server]__06ky77b._.js} +1 -1
  274. package/standalone/.next/server/chunks/[root-of-the-server]__07dl76m._.js +3 -0
  275. package/standalone/.next/server/chunks/{[root-of-the-server]__07lj58j._.js → [root-of-the-server]__080yx90._.js} +2 -2
  276. package/standalone/.next/server/chunks/{[root-of-the-server]__092univ._.js → [root-of-the-server]__09ahnvy._.js} +1 -1
  277. package/standalone/.next/server/chunks/[root-of-the-server]__0_15xc-._.js +3 -0
  278. package/standalone/.next/server/chunks/[root-of-the-server]__0ag7r5h._.js +3 -0
  279. package/standalone/.next/server/chunks/[root-of-the-server]__0auu4ur._.js +3 -0
  280. package/standalone/.next/server/chunks/{[root-of-the-server]__06h8dq4._.js → [root-of-the-server]__0b6u3hm._.js} +1 -1
  281. package/standalone/.next/server/chunks/[root-of-the-server]__0c7d4-l._.js +3 -0
  282. package/standalone/.next/server/chunks/{[root-of-the-server]__0e29qi2._.js → [root-of-the-server]__0clxa1e._.js} +1 -1
  283. package/standalone/.next/server/chunks/[root-of-the-server]__0ct8jx4._.js +3 -0
  284. package/standalone/.next/server/chunks/{[root-of-the-server]__0njzyae._.js → [root-of-the-server]__0f5i_w7._.js} +2 -2
  285. package/standalone/.next/server/chunks/[root-of-the-server]__0f5nrrj._.js +3 -0
  286. package/standalone/.next/server/chunks/[root-of-the-server]__0g6p_vk._.js +3 -0
  287. package/standalone/.next/server/chunks/[root-of-the-server]__0geo53e._.js +3 -0
  288. package/standalone/.next/server/chunks/[root-of-the-server]__0gm326z._.js +3 -0
  289. package/standalone/.next/server/chunks/{[root-of-the-server]__17v3iu3._.js → [root-of-the-server]__0h3ebj4._.js} +2 -2
  290. package/standalone/.next/server/chunks/[root-of-the-server]__0ikzng1._.js +3 -0
  291. package/standalone/.next/server/chunks/{[root-of-the-server]__0t_1g6x._.js → [root-of-the-server]__0j_nyf2._.js} +2 -2
  292. package/standalone/.next/server/chunks/[root-of-the-server]__0kdlmtc._.js +3 -0
  293. package/standalone/.next/server/chunks/[root-of-the-server]__0kee07e._.js +3 -0
  294. package/standalone/.next/server/chunks/[root-of-the-server]__0l1u1gn._.js +3 -0
  295. package/standalone/.next/server/chunks/[root-of-the-server]__0ml6lm4._.js +3 -0
  296. package/standalone/.next/server/chunks/[root-of-the-server]__0ml_vg1._.js +3 -0
  297. package/standalone/.next/server/chunks/{[root-of-the-server]__1amrm18._.js → [root-of-the-server]__0n_fyd7._.js} +2 -2
  298. package/standalone/.next/server/chunks/[root-of-the-server]__0ni1vsm._.js +3 -0
  299. package/standalone/.next/server/chunks/[root-of-the-server]__0op0ksd._.js +3 -0
  300. package/standalone/.next/server/chunks/{[root-of-the-server]__1r3djqb._.js → [root-of-the-server]__0or_-9-._.js} +2 -2
  301. package/standalone/.next/server/chunks/[root-of-the-server]__0qevkot._.js +3 -0
  302. package/standalone/.next/server/chunks/[root-of-the-server]__0qw7nbl._.js +3 -0
  303. package/standalone/.next/server/chunks/[root-of-the-server]__0r1_ixf._.js +3 -0
  304. package/standalone/.next/server/chunks/[root-of-the-server]__0r9tzc-._.js +3 -0
  305. package/standalone/.next/server/chunks/[root-of-the-server]__0rblf36._.js +3 -0
  306. package/standalone/.next/server/chunks/[root-of-the-server]__0t8w8s1._.js +3 -0
  307. package/standalone/.next/server/chunks/[root-of-the-server]__0tq7irh._.js +3 -0
  308. package/standalone/.next/server/chunks/[root-of-the-server]__0w92g7m._.js +3 -0
  309. package/standalone/.next/server/chunks/{[root-of-the-server]__1n2pfid._.js → [root-of-the-server]__0x-levx._.js} +2 -2
  310. package/standalone/.next/server/chunks/{[root-of-the-server]__0rwzlp5._.js → [root-of-the-server]__0x-op-8._.js} +2 -2
  311. package/standalone/.next/server/chunks/[root-of-the-server]__0xgvhjp._.js +3 -0
  312. package/standalone/.next/server/chunks/{[root-of-the-server]__0gedsnc._.js → [root-of-the-server]__0xh2c4w._.js} +2 -2
  313. package/standalone/.next/server/chunks/[root-of-the-server]__0y0slxx._.js +3 -0
  314. package/standalone/.next/server/chunks/{[root-of-the-server]__05nr3-b._.js → [root-of-the-server]__1-6j7m7._.js} +2 -2
  315. package/standalone/.next/server/chunks/[root-of-the-server]__10idyu-._.js +3 -0
  316. package/standalone/.next/server/chunks/[root-of-the-server]__10s4sox._.js +3 -0
  317. package/standalone/.next/server/chunks/[root-of-the-server]__11_o01g._.js +3 -0
  318. package/standalone/.next/server/chunks/[root-of-the-server]__11kac51._.js +3 -0
  319. package/standalone/.next/server/chunks/[root-of-the-server]__11kloxg._.js +3 -0
  320. package/standalone/.next/server/chunks/[root-of-the-server]__11l4ah2._.js +3 -0
  321. package/standalone/.next/server/chunks/[root-of-the-server]__144civ6._.js +3 -0
  322. package/standalone/.next/server/chunks/{[root-of-the-server]__0xl63a7._.js → [root-of-the-server]__15vk324._.js} +2 -2
  323. package/standalone/.next/server/chunks/{[root-of-the-server]__004x00m._.js → [root-of-the-server]__1612_6b._.js} +3 -3
  324. package/standalone/.next/server/chunks/{[root-of-the-server]__1w_r8ug._.js → [root-of-the-server]__16ctc_x._.js} +2 -2
  325. package/standalone/.next/server/chunks/[root-of-the-server]__16i9fgq._.js +3 -0
  326. package/standalone/.next/server/chunks/{[root-of-the-server]__0eplbf8._.js → [root-of-the-server]__16za65_._.js} +2 -2
  327. package/standalone/.next/server/chunks/{[root-of-the-server]__0su5xbh._.js → [root-of-the-server]__17uvvtp._.js} +2 -2
  328. package/standalone/.next/server/chunks/{[root-of-the-server]__1ca92tw._.js → [root-of-the-server]__181u-50._.js} +2 -2
  329. package/standalone/.next/server/chunks/[root-of-the-server]__19w7v-1._.js +3 -0
  330. package/standalone/.next/server/chunks/[root-of-the-server]__1_03ry9._.js +3 -0
  331. package/standalone/.next/server/chunks/[root-of-the-server]__1_0sxkf._.js +3 -0
  332. package/standalone/.next/server/chunks/[root-of-the-server]__1bz-ove._.js +3 -0
  333. package/standalone/.next/server/chunks/[root-of-the-server]__1d544vz._.js +3 -0
  334. package/standalone/.next/server/chunks/[root-of-the-server]__1eakyie._.js +3 -0
  335. package/standalone/.next/server/chunks/[root-of-the-server]__1ec06ra._.js +3 -0
  336. package/standalone/.next/server/chunks/[root-of-the-server]__1f4ll78._.js +3 -0
  337. package/standalone/.next/server/chunks/[root-of-the-server]__1fciim1._.js +3 -0
  338. package/standalone/.next/server/chunks/[root-of-the-server]__1fzguue._.js +3 -0
  339. package/standalone/.next/server/chunks/[root-of-the-server]__1g_pm2h._.js +3 -0
  340. package/standalone/.next/server/chunks/[root-of-the-server]__1hehuys._.js +3 -0
  341. package/standalone/.next/server/chunks/[root-of-the-server]__1hkesat._.js +3 -0
  342. package/standalone/.next/server/chunks/[root-of-the-server]__1igabyc._.js +3 -0
  343. package/standalone/.next/server/chunks/[root-of-the-server]__1j3p81t._.js +3 -0
  344. package/standalone/.next/server/chunks/{[root-of-the-server]__1fnlj9e._.js → [root-of-the-server]__1jiqzv7._.js} +2 -2
  345. package/standalone/.next/server/chunks/[root-of-the-server]__1khif08._.js +3 -0
  346. package/standalone/.next/server/chunks/[root-of-the-server]__1l7na8t._.js +3 -0
  347. package/standalone/.next/server/chunks/[root-of-the-server]__1lqk_1l._.js +3 -0
  348. package/standalone/.next/server/chunks/{[root-of-the-server]__1f0zhzz._.js → [root-of-the-server]__1ntp_8b._.js} +2 -2
  349. package/standalone/.next/server/chunks/[root-of-the-server]__1o735xr._.js +3 -0
  350. package/standalone/.next/server/chunks/[root-of-the-server]__1pbz-_z._.js +3 -0
  351. package/standalone/.next/server/chunks/[root-of-the-server]__1pc1fof._.js +3 -0
  352. package/standalone/.next/server/chunks/[root-of-the-server]__1pdsbcp._.js +3 -0
  353. package/standalone/.next/server/chunks/[root-of-the-server]__1rwxvwo._.js +3 -0
  354. package/standalone/.next/server/chunks/[root-of-the-server]__1scazi_._.js +3 -0
  355. package/standalone/.next/server/chunks/[root-of-the-server]__1tercjh._.js +3 -0
  356. package/standalone/.next/server/chunks/[root-of-the-server]__1tufkj3._.js +3 -0
  357. package/standalone/.next/server/chunks/{[root-of-the-server]__1em0xu9._.js → [root-of-the-server]__1tzp9l_._.js} +2 -2
  358. package/standalone/.next/server/chunks/[root-of-the-server]__1tzvm2c._.js +3 -0
  359. package/standalone/.next/server/chunks/{[root-of-the-server]__098thvo._.js → [root-of-the-server]__1u02b33._.js} +2 -2
  360. package/standalone/.next/server/chunks/[root-of-the-server]__1uktrb_._.js +3 -0
  361. package/standalone/.next/server/chunks/[root-of-the-server]__1uuljo2._.js +3 -0
  362. package/standalone/.next/server/chunks/[root-of-the-server]__1uzbfnh._.js +3 -0
  363. package/standalone/.next/server/chunks/[root-of-the-server]__1vo611v._.js +3 -0
  364. package/standalone/.next/server/chunks/{[root-of-the-server]__11_l9kh._.js → [root-of-the-server]__1vvbh64._.js} +2 -2
  365. package/standalone/.next/server/chunks/[root-of-the-server]__1w7xrap._.js +3 -0
  366. package/standalone/.next/server/chunks/[root-of-the-server]__1wf8j4j._.js +3 -0
  367. package/standalone/.next/server/chunks/[root-of-the-server]__1yh9ong._.js +3 -0
  368. package/standalone/.next/server/chunks/[root-of-the-server]__20kepfu._.js +3 -0
  369. package/standalone/.next/server/chunks/[root-of-the-server]__20zeh4u._.js +3 -0
  370. package/standalone/.next/server/chunks/_0_3-lke._.js +1 -0
  371. package/standalone/.next/server/chunks/_0d87yp6._.js +9 -9
  372. package/standalone/.next/server/chunks/_0rjgtla._.js +9 -9
  373. package/standalone/.next/server/chunks/_1_sa5xl._.js +9 -9
  374. package/standalone/.next/server/chunks/_1hmzed-._.js +10 -9
  375. package/standalone/.next/server/chunks/_1pc6dt_._.js +9 -9
  376. package/standalone/.next/server/chunks/_1xuucni._.js +9 -9
  377. package/standalone/.next/server/chunks/_1ya6q3e._.js +9 -9
  378. package/standalone/.next/server/chunks/_next-internal_server_app_icon_svg_route_actions_1r2h_ub.js +3 -0
  379. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0-nmpo4._.js +3 -0
  380. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__035ah95._.js +3 -0
  381. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__03htoos._.js +3 -0
  382. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07g-dcf._.js +3 -0
  383. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07o9wxs._.js +3 -0
  384. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07yba-3._.js +3 -0
  385. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0_h6gcn._.js +3 -0
  386. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0a2k3wl._.js +3 -0
  387. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0e2zd6a._.js +3 -0
  388. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0ev3co8._.js +15 -0
  389. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0g97wq6._.js +3 -0
  390. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0hffslr._.js +3 -0
  391. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__08m_tud._.js → [root-of-the-server]__0hjxkdi._.js} +2 -2
  392. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0k4ez8d._.js +3 -0
  393. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0ku4-gt._.js +3 -0
  394. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0m-hniz._.js +3 -0
  395. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0mz4xqn._.js +3 -0
  396. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0nrhlo1._.js +3 -0
  397. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0nwri5e._.js +3 -0
  398. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0pm0lfb._.js +3 -0
  399. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0rz8uku._.js +3 -0
  400. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0teoe9r._.js +3 -0
  401. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0tqu_-g._.js +3 -0
  402. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0trbjua._.js +3 -0
  403. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0trd400._.js +3 -0
  404. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0uitlw_._.js +3 -0
  405. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0vf1nl9._.js +3 -0
  406. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0w7sf8p._.js +3 -0
  407. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0y7poop._.js +3 -0
  408. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0z44pow._.js +3 -0
  409. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0z8pyri._.js +3 -0
  410. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-ekcm6._.js +3 -0
  411. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-kuj-x._.js +3 -0
  412. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-l86k4._.js +3 -0
  413. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-stxfp._.js +3 -0
  414. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-y0-y1._.js +3 -0
  415. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-zjws7._.js +3 -0
  416. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__11_ura1._.js +3 -0
  417. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__11e_ush._.js +3 -0
  418. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__064h18r._.js → [root-of-the-server]__13beyr1._.js} +2 -2
  419. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__144o_m2._.js +3 -0
  420. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__14716hz._.js +3 -0
  421. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__15afg_k._.js +3 -0
  422. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1widz3b._.js → [root-of-the-server]__15i7cjm._.js} +2 -2
  423. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__18hn0ba._.js +3 -0
  424. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__18xaup0._.js +3 -0
  425. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1_kd0zp._.js +3 -0
  426. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1kzbjl5._.js → [root-of-the-server]__1ajyyyc._.js} +3 -3
  427. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1bqsv1x._.js +3 -0
  428. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1dky4g0._.js +33 -0
  429. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1e6s0dp._.js +3 -0
  430. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1eeinxy._.js +3 -0
  431. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1gicvs6._.js +3 -0
  432. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ig0mvn._.js +3 -0
  433. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1jul617._.js +3 -0
  434. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1kmmedb._.js +3 -0
  435. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1lcx3wl._.js +3 -0
  436. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1mkv95v._.js +3 -0
  437. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1mqo265._.js +3 -0
  438. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1n-_juh._.js +3 -0
  439. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1n2bb8k._.js +3 -0
  440. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1okxdoj._.js +3 -0
  441. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1oyf93w._.js +3 -0
  442. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1sibh0c._.js +3 -0
  443. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1u6u95-._.js +3 -0
  444. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ugkys4._.js +3 -0
  445. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1wt2qk7._.js +3 -0
  446. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1xkz789._.js +3 -0
  447. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1zee4_f._.js +3 -0
  448. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__200o9rg._.js +3 -0
  449. package/standalone/.next/server/chunks/ssr/_025obfj._.js +3 -0
  450. package/standalone/.next/server/chunks/ssr/{node_modules_02p3_1f._.js → _06847sj._.js} +2 -2
  451. package/standalone/.next/server/chunks/ssr/{_0158tm3._.js → _06qt0zv._.js} +3 -3
  452. package/standalone/.next/server/chunks/ssr/_07efxez._.js +3 -0
  453. package/standalone/.next/server/chunks/ssr/_09zgs6p._.js +5 -0
  454. package/standalone/.next/server/chunks/ssr/_0b1cffx._.js +3 -0
  455. package/standalone/.next/server/chunks/ssr/_0dk3o3t._.js +1 -1
  456. package/standalone/.next/server/chunks/ssr/{_1unm3n-._.js → _0e-0l2x._.js} +2 -2
  457. package/standalone/.next/server/chunks/ssr/_0g0tkbz._.js +25 -0
  458. package/standalone/.next/server/chunks/ssr/_0ic39-0._.js +3 -0
  459. package/standalone/.next/server/chunks/ssr/_0tdpr8l._.js +24 -0
  460. package/standalone/.next/server/chunks/ssr/{_154hqy7._.js → _0ts4sjm._.js} +3 -3
  461. package/standalone/.next/server/chunks/ssr/_1-hzwuw._.js +9 -0
  462. package/standalone/.next/server/chunks/ssr/{_1gn-87l._.js → _1-nj75c._.js} +2 -2
  463. package/standalone/.next/server/chunks/ssr/_13xt_zi._.js +3 -0
  464. package/standalone/.next/server/chunks/ssr/_147mao_._.js +3 -0
  465. package/standalone/.next/server/chunks/ssr/{_0sbsue7._.js → _1a1rayj._.js} +2 -2
  466. package/standalone/.next/server/chunks/ssr/_1chb2gj._.js +15 -0
  467. package/standalone/.next/server/chunks/ssr/{_1ez5-ch._.js → _1dlzyoe._.js} +2 -2
  468. package/standalone/.next/server/chunks/ssr/_1egb8wy._.js +24 -0
  469. package/standalone/.next/server/chunks/ssr/{_1nbvse5._.js → _1hbqlql._.js} +2 -2
  470. package/standalone/.next/server/chunks/ssr/_1i3r6hw._.js +3 -0
  471. package/standalone/.next/server/chunks/ssr/_1m3dqvf._.js +1 -1
  472. package/standalone/.next/server/chunks/ssr/{_1x300f_._.js → _1mq_tjd._.js} +2 -2
  473. package/standalone/.next/server/chunks/ssr/_1r0si5-._.js +12 -0
  474. package/standalone/.next/server/chunks/ssr/_1snpyu-._.js +37 -0
  475. package/standalone/.next/server/chunks/ssr/_1xwodxm._.js +1 -1
  476. package/standalone/.next/server/chunks/ssr/_1zcjc_c._.js +3 -0
  477. package/standalone/.next/server/chunks/ssr/messages_de_json_[json]_cjs_1uig1ud._.js +1 -1
  478. package/standalone/.next/server/chunks/ssr/messages_en_json_[json]_cjs_206072-._.js +1 -1
  479. package/standalone/.next/server/chunks/ssr/messages_es_json_[json]_cjs_082yukd._.js +1 -1
  480. package/standalone/.next/server/chunks/ssr/messages_fr_json_[json]_cjs_0j6-w0i._.js +1 -1
  481. package/standalone/.next/server/chunks/ssr/{node_modules_1s0gh8q._.js → node_modules_0bu774t._.js} +2 -2
  482. package/standalone/.next/server/chunks/ssr/node_modules_1wi_9si._.js +5 -0
  483. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0tgylba.js → node_modules_next_dist_esm_build_templates_app-page_0-672k_.js} +3 -3
  484. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1o590o6.js → node_modules_next_dist_esm_build_templates_app-page_008b3o9.js} +3 -3
  485. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0zcmig1.js → node_modules_next_dist_esm_build_templates_app-page_01_4ytp.js} +3 -3
  486. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1jkj0iw.js → node_modules_next_dist_esm_build_templates_app-page_02pbsix.js} +3 -3
  487. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1zm3rvo.js → node_modules_next_dist_esm_build_templates_app-page_038kb-1.js} +3 -3
  488. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1hrd-wc.js → node_modules_next_dist_esm_build_templates_app-page_03leii_.js} +3 -3
  489. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1yuldl0.js → node_modules_next_dist_esm_build_templates_app-page_03pxgnn.js} +3 -3
  490. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_085xqtq.js → node_modules_next_dist_esm_build_templates_app-page_03wc4xw.js} +3 -3
  491. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0b6vak2.js → node_modules_next_dist_esm_build_templates_app-page_03zcfgn.js} +3 -3
  492. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1_y22iu.js → node_modules_next_dist_esm_build_templates_app-page_05q45c-.js} +3 -3
  493. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0f7l_36.js → node_modules_next_dist_esm_build_templates_app-page_090wz9v.js} +3 -3
  494. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1uzalot.js → node_modules_next_dist_esm_build_templates_app-page_09ftrsh.js} +3 -3
  495. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1by1zl2.js → node_modules_next_dist_esm_build_templates_app-page_0_bmqt9.js} +3 -3
  496. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_14hxy06.js → node_modules_next_dist_esm_build_templates_app-page_0_f2zhb.js} +3 -3
  497. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_02yxr3j.js → node_modules_next_dist_esm_build_templates_app-page_0aqsfh3.js} +3 -3
  498. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1pb-1cn.js → node_modules_next_dist_esm_build_templates_app-page_0e1ok_t.js} +3 -3
  499. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0fwjf6f.js +4 -0
  500. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0h5b-v-.js +4 -0
  501. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1mbarvg.js → node_modules_next_dist_esm_build_templates_app-page_0lw_a7e.js} +3 -3
  502. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0bdeexv.js → node_modules_next_dist_esm_build_templates_app-page_0ot1zwk.js} +3 -3
  503. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0eoo_7a.js → node_modules_next_dist_esm_build_templates_app-page_0r8c-fl.js} +3 -3
  504. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_077f8c6.js → node_modules_next_dist_esm_build_templates_app-page_0t4zreu.js} +3 -3
  505. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_112wr3q.js → node_modules_next_dist_esm_build_templates_app-page_0uo3ucb.js} +3 -3
  506. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1y93n5x.js → node_modules_next_dist_esm_build_templates_app-page_0vvyt46.js} +3 -3
  507. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1tba1z3.js → node_modules_next_dist_esm_build_templates_app-page_0wq6t0o.js} +3 -3
  508. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1eiqiym.js → node_modules_next_dist_esm_build_templates_app-page_0yg1q4k.js} +3 -3
  509. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0yi50ls.js +4 -0
  510. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0z83u9u.js +4 -0
  511. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0g6u3lp.js → node_modules_next_dist_esm_build_templates_app-page_1-l0_ay.js} +3 -3
  512. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1-mj6vh.js +4 -0
  513. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_14579sb.js → node_modules_next_dist_esm_build_templates_app-page_10kqj-k.js} +3 -3
  514. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1202lax.js +4 -0
  515. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_20q4xrk.js → node_modules_next_dist_esm_build_templates_app-page_134gin2.js} +3 -3
  516. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1iih5li.js → node_modules_next_dist_esm_build_templates_app-page_137fy-f.js} +3 -3
  517. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_13fikjq.js +4 -0
  518. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_16t_8tn.js +4 -0
  519. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_17hery2.js +4 -0
  520. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_17mj1uf.js +4 -0
  521. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1xurbbr.js → node_modules_next_dist_esm_build_templates_app-page_18gxi2v.js} +3 -3
  522. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0smv41j.js → node_modules_next_dist_esm_build_templates_app-page_18wj4pk.js} +3 -3
  523. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z.js +4 -0
  524. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0wtrya9.js → node_modules_next_dist_esm_build_templates_app-page_1akkj3k.js} +3 -3
  525. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1ydi2cy.js → node_modules_next_dist_esm_build_templates_app-page_1ay9jji.js} +3 -3
  526. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_04__ja9.js → node_modules_next_dist_esm_build_templates_app-page_1bv5aj3.js} +3 -3
  527. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1czk_n8.js +4 -0
  528. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0hzxyia.js → node_modules_next_dist_esm_build_templates_app-page_1gn9yzd.js} +3 -3
  529. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_06zp_1r.js → node_modules_next_dist_esm_build_templates_app-page_1h-bpa4.js} +3 -3
  530. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1dcfsab.js → node_modules_next_dist_esm_build_templates_app-page_1h3cvzp.js} +3 -3
  531. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1hn67of.js +4 -0
  532. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1ho8mq2.js +4 -0
  533. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0hdr4hv.js → node_modules_next_dist_esm_build_templates_app-page_1j761x5.js} +3 -3
  534. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1nmk-3a.js → node_modules_next_dist_esm_build_templates_app-page_1k1-c4m.js} +3 -3
  535. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0ff_50d.js → node_modules_next_dist_esm_build_templates_app-page_1l5_y50.js} +3 -3
  536. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1dbvyom.js → node_modules_next_dist_esm_build_templates_app-page_1mxz5lj.js} +3 -3
  537. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_02wqjcn.js → node_modules_next_dist_esm_build_templates_app-page_1otau14.js} +3 -3
  538. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1pqky12.js +4 -0
  539. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_1se5x-k.js → node_modules_next_dist_esm_build_templates_app-page_1r14hz3.js} +3 -3
  540. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0kifgf3.js → node_modules_next_dist_esm_build_templates_app-page_1slttwv.js} +3 -3
  541. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0skd7bt.js → node_modules_next_dist_esm_build_templates_app-page_1xb7_k7.js} +3 -3
  542. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1xn5cst.js +4 -0
  543. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0f1uh0v.js → node_modules_next_dist_esm_build_templates_app-page_1z_gt73.js} +3 -3
  544. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1zkfifw.js +4 -0
  545. package/standalone/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_05_mrcu.js → node_modules_next_dist_esm_build_templates_app-page_20s0f-i.js} +3 -3
  546. package/standalone/.next/server/chunks/ssr/src_components_agents_agent-detail_tsx_0lfa4ui._.js +18 -18
  547. package/standalone/.next/server/chunks/ssr/src_components_builds_build-detail-page_tsx_0q1lvps._.js +1 -1
  548. package/standalone/.next/server/chunks/ssr/src_components_builds_coverage-report-page_tsx_1nhwba1._.js +1 -1
  549. package/standalone/.next/server/chunks/ssr/src_components_codebases_codebase-detail-page_tsx_0qfum00._.js +1 -1
  550. package/standalone/.next/server/chunks/ssr/src_components_codebases_repository-detail-page_tsx_20_7wk_._.js +1 -1
  551. package/standalone/.next/server/chunks/ssr/src_components_commands_command-editor_tsx_1xv-unm._.js +3 -3
  552. package/standalone/.next/server/chunks/ssr/src_components_devices_device-detail-page_tsx_1mut_l4._.js +1 -1
  553. package/standalone/.next/server/chunks/ssr/src_components_github_pull-request-detail-page_tsx_1etlamp._.js +2 -2
  554. package/standalone/.next/server/chunks/ssr/src_components_jira_ticket-detail-page_tsx_0vmf8nk._.js +7 -7
  555. package/standalone/.next/server/chunks/ssr/src_components_runs_run-detail-page_tsx_0eje87-._.js +1 -1
  556. package/standalone/.next/server/chunks/ssr/src_components_skills_skill-sync-page_tsx_15sidhb._.js +12 -12
  557. package/standalone/.next/server/chunks/ssr/src_components_skills_skills-page_tsx_0o1nlbg._.js +1 -1
  558. package/standalone/.next/server/chunks/ssr/src_components_workflows_workflow-detail-page_tsx_11_poqr._.js +7 -7
  559. package/standalone/.next/server/chunks/ssr/src_components_workflows_workflow-editor_tsx_1eo69h2._.js +7 -7
  560. package/standalone/.next/server/chunks/ssr/src_components_workflows_workflow-run-page_tsx_03cgynn._.js +4 -4
  561. package/standalone/.next/server/chunks/ssr/src_components_worktrees_worktree-detail-page_tsx_1oexgu_._.js +1 -1
  562. package/standalone/.next/server/middleware-build-manifest.js +3 -3
  563. package/standalone/.next/server/pages/404.html +1 -1
  564. package/standalone/.next/server/pages/500.html +1 -1
  565. package/standalone/.next/server/server-reference-manifest.js +1 -1
  566. package/standalone/.next/server/server-reference-manifest.json +1 -1
  567. package/standalone/.next/static/chunks/01q2vyen_ce8a.js +1 -0
  568. package/standalone/.next/static/chunks/{2k5n-lawvi3o1.js → 04jsbc3dt_7ts.js} +3 -3
  569. package/standalone/.next/static/chunks/06tyjb620cbtm.js +39 -0
  570. package/standalone/.next/static/chunks/{1kas2cg1m9t70.js → 07qig47782u92.js} +6 -6
  571. package/standalone/.next/static/chunks/{1popvhaprqxtf.js → 0__52m82mb813.js} +1 -1
  572. package/standalone/.next/static/chunks/0amptqqp7g_4p.js +70 -0
  573. package/standalone/.next/static/chunks/0dvxk1d0c5efv.js +7 -0
  574. package/standalone/.next/static/chunks/{127vn4wn5xo9p.js → 0fn-0e786o11o.js} +3 -3
  575. package/standalone/.next/static/chunks/0hnb8r3udr7oj.js +25 -0
  576. package/standalone/.next/static/chunks/{2aacfhrhmknxw.js → 0hvalyqqhd-4o.js} +2 -2
  577. package/standalone/.next/static/chunks/{2lfmdc3eqlsl4.js → 0l0h3yubj1bdg.js} +16 -16
  578. package/standalone/.next/static/chunks/0mjbaieh2cw9c.js +57 -0
  579. package/standalone/.next/static/chunks/0rpvchqvbm098.js +23 -0
  580. package/standalone/.next/static/chunks/0y62m0sntgzlm.js +53 -0
  581. package/standalone/.next/static/chunks/{0p13j9urobwc7.js → 1-ndkr7vsh2gq.js} +7 -7
  582. package/standalone/.next/static/chunks/11vbtbe3bdmib.js +3 -0
  583. package/standalone/.next/static/chunks/18_207ca9ukri.js +1 -0
  584. package/standalone/.next/static/chunks/{1z4uktkhpz4vk.js → 1_-2dp_akd95c.js} +1 -1
  585. package/standalone/.next/static/chunks/1c-_4oyuwq6p3.js +44 -0
  586. package/standalone/.next/static/chunks/{0wrm-zqne-dc8.js → 1hc0heoo_7i6w.js} +2 -2
  587. package/standalone/.next/static/chunks/{1-byqle1eur_a.js → 1vju42dbb-gss.js} +3 -3
  588. package/standalone/.next/static/chunks/1wsg5uvoyqzsp.css +1 -0
  589. package/standalone/.next/static/chunks/{3ye3zhdcg2lbq.js → 1z6o-8xmt_zvj.js} +1 -1
  590. package/standalone/.next/static/chunks/20z0cvtyjnn0k.js +43 -0
  591. package/standalone/.next/static/chunks/21bdd18tijh33.js +13 -0
  592. package/standalone/.next/static/chunks/2g1ief1a6roxm.js +1 -0
  593. package/standalone/.next/static/chunks/{2wsr9efe8r8ng.js → 2k0lm6xr9n_ig.js} +3 -3
  594. package/standalone/.next/static/chunks/2laye-cbzd0tg.js +1 -0
  595. package/standalone/.next/static/chunks/2nw1o_yz_umap.js +55 -0
  596. package/standalone/.next/static/chunks/{3uhr-ha19zo61.js → 2y09df4g71_oa.js} +2 -2
  597. package/standalone/.next/static/chunks/34g6qbzum3s6q.js +1 -0
  598. package/standalone/.next/static/chunks/374hkjjfwde07.js +32 -0
  599. package/standalone/.next/static/chunks/{21xk5pyunaike.js → 377pgxfs8c9y-.js} +3 -3
  600. package/standalone/.next/static/chunks/3fellkr6r7h3t.js +51 -0
  601. package/standalone/.next/static/chunks/3ky4kw_4ew238.js +1 -0
  602. package/standalone/.next/static/chunks/3n_vmfpc6xzx9.js +1 -0
  603. package/standalone/.next/static/chunks/3q1klrvg32u6u.js +30 -0
  604. package/standalone/.next/static/chunks/{34wlxu_g_2g1y.js → 3stdfz7pphow6.js} +2 -2
  605. package/standalone/.next/static/media/icon.2eq-kzgm9x62k.svg +7 -0
  606. package/standalone/package.json +10 -0
  607. package/standalone/public/icon-192.png +0 -0
  608. package/standalone/public/icon-512.png +0 -0
  609. package/standalone/.next/server/app/favicon.ico/route/app-paths-manifest.json +0 -3
  610. package/standalone/.next/server/app/favicon.ico/route.js +0 -8
  611. package/standalone/.next/server/app/favicon.ico.body +0 -0
  612. package/standalone/.next/server/app/favicon.ico.meta +0 -1
  613. package/standalone/.next/server/chunks/[root-of-the-server]__0b-lts3._.js +0 -3
  614. package/standalone/.next/server/chunks/[root-of-the-server]__0ckici0._.js +0 -3
  615. package/standalone/.next/server/chunks/[root-of-the-server]__0dsyjgc._.js +0 -3
  616. package/standalone/.next/server/chunks/[root-of-the-server]__0fv-9n6._.js +0 -3
  617. package/standalone/.next/server/chunks/[root-of-the-server]__0gorac4._.js +0 -3
  618. package/standalone/.next/server/chunks/[root-of-the-server]__0hd0i41._.js +0 -3
  619. package/standalone/.next/server/chunks/[root-of-the-server]__0hyrrl3._.js +0 -3
  620. package/standalone/.next/server/chunks/[root-of-the-server]__0kxris6._.js +0 -3
  621. package/standalone/.next/server/chunks/[root-of-the-server]__0lbyvuf._.js +0 -3
  622. package/standalone/.next/server/chunks/[root-of-the-server]__0lmlzy2._.js +0 -3
  623. package/standalone/.next/server/chunks/[root-of-the-server]__0lpn3y3._.js +0 -3
  624. package/standalone/.next/server/chunks/[root-of-the-server]__0o1f0q0._.js +0 -3
  625. package/standalone/.next/server/chunks/[root-of-the-server]__0o2vsff._.js +0 -3
  626. package/standalone/.next/server/chunks/[root-of-the-server]__0o__n8q._.js +0 -3
  627. package/standalone/.next/server/chunks/[root-of-the-server]__0r4layw._.js +0 -3
  628. package/standalone/.next/server/chunks/[root-of-the-server]__0r6qwbg._.js +0 -3
  629. package/standalone/.next/server/chunks/[root-of-the-server]__0r_1lyd._.js +0 -3
  630. package/standalone/.next/server/chunks/[root-of-the-server]__0umrmgu._.js +0 -3
  631. package/standalone/.next/server/chunks/[root-of-the-server]__0xxlq9f._.js +0 -3
  632. package/standalone/.next/server/chunks/[root-of-the-server]__0ynqgwd._.js +0 -3
  633. package/standalone/.next/server/chunks/[root-of-the-server]__0yo97yw._.js +0 -3
  634. package/standalone/.next/server/chunks/[root-of-the-server]__0yukdx0._.js +0 -3
  635. package/standalone/.next/server/chunks/[root-of-the-server]__0zdquaj._.js +0 -3
  636. package/standalone/.next/server/chunks/[root-of-the-server]__0zl_7f0._.js +0 -3
  637. package/standalone/.next/server/chunks/[root-of-the-server]__1-6ac7x._.js +0 -3
  638. package/standalone/.next/server/chunks/[root-of-the-server]__10ax2y3._.js +0 -3
  639. package/standalone/.next/server/chunks/[root-of-the-server]__111axgx._.js +0 -3
  640. package/standalone/.next/server/chunks/[root-of-the-server]__112_ym-._.js +0 -3
  641. package/standalone/.next/server/chunks/[root-of-the-server]__13atbqs._.js +0 -3
  642. package/standalone/.next/server/chunks/[root-of-the-server]__13f0rv7._.js +0 -3
  643. package/standalone/.next/server/chunks/[root-of-the-server]__13ghplc._.js +0 -3
  644. package/standalone/.next/server/chunks/[root-of-the-server]__13y3ap6._.js +0 -3
  645. package/standalone/.next/server/chunks/[root-of-the-server]__145854p._.js +0 -3
  646. package/standalone/.next/server/chunks/[root-of-the-server]__156bqk6._.js +0 -3
  647. package/standalone/.next/server/chunks/[root-of-the-server]__15anbvu._.js +0 -3
  648. package/standalone/.next/server/chunks/[root-of-the-server]__15fe1ky._.js +0 -3
  649. package/standalone/.next/server/chunks/[root-of-the-server]__16gno9l._.js +0 -3
  650. package/standalone/.next/server/chunks/[root-of-the-server]__16y0jw6._.js +0 -3
  651. package/standalone/.next/server/chunks/[root-of-the-server]__17xi013._.js +0 -3
  652. package/standalone/.next/server/chunks/[root-of-the-server]__19yjsxi._.js +0 -3
  653. package/standalone/.next/server/chunks/[root-of-the-server]__1__181r._.js +0 -3
  654. package/standalone/.next/server/chunks/[root-of-the-server]__1_j58hk._.js +0 -3
  655. package/standalone/.next/server/chunks/[root-of-the-server]__1_u7utj._.js +0 -3
  656. package/standalone/.next/server/chunks/[root-of-the-server]__1_xypu8._.js +0 -3
  657. package/standalone/.next/server/chunks/[root-of-the-server]__1a9n6nb._.js +0 -3
  658. package/standalone/.next/server/chunks/[root-of-the-server]__1ahn_s1._.js +0 -3
  659. package/standalone/.next/server/chunks/[root-of-the-server]__1c93he1._.js +0 -3
  660. package/standalone/.next/server/chunks/[root-of-the-server]__1d2p5s7._.js +0 -3
  661. package/standalone/.next/server/chunks/[root-of-the-server]__1e-y964._.js +0 -3
  662. package/standalone/.next/server/chunks/[root-of-the-server]__1fjzpw8._.js +0 -3
  663. package/standalone/.next/server/chunks/[root-of-the-server]__1gg0deb._.js +0 -3
  664. package/standalone/.next/server/chunks/[root-of-the-server]__1isy66r._.js +0 -3
  665. package/standalone/.next/server/chunks/[root-of-the-server]__1iueadp._.js +0 -3
  666. package/standalone/.next/server/chunks/[root-of-the-server]__1lgrdmb._.js +0 -3
  667. package/standalone/.next/server/chunks/[root-of-the-server]__1ltxl89._.js +0 -3
  668. package/standalone/.next/server/chunks/[root-of-the-server]__1pchrv1._.js +0 -3
  669. package/standalone/.next/server/chunks/[root-of-the-server]__1q3qhn3._.js +0 -3
  670. package/standalone/.next/server/chunks/[root-of-the-server]__1r6cfp_._.js +0 -3
  671. package/standalone/.next/server/chunks/[root-of-the-server]__1rkrr9y._.js +0 -3
  672. package/standalone/.next/server/chunks/[root-of-the-server]__1s_oovo._.js +0 -3
  673. package/standalone/.next/server/chunks/[root-of-the-server]__1syfm5l._.js +0 -3
  674. package/standalone/.next/server/chunks/[root-of-the-server]__1t_2g9l._.js +0 -3
  675. package/standalone/.next/server/chunks/[root-of-the-server]__1ug9sy_._.js +0 -3
  676. package/standalone/.next/server/chunks/[root-of-the-server]__1v6-hkq._.js +0 -3
  677. package/standalone/.next/server/chunks/[root-of-the-server]__1va_ptf._.js +0 -3
  678. package/standalone/.next/server/chunks/[root-of-the-server]__1w83ks0._.js +0 -3
  679. package/standalone/.next/server/chunks/[root-of-the-server]__1wgorxu._.js +0 -3
  680. package/standalone/.next/server/chunks/[root-of-the-server]__1xh8f1z._.js +0 -3
  681. package/standalone/.next/server/chunks/[root-of-the-server]__1xqq0j2._.js +0 -3
  682. package/standalone/.next/server/chunks/[root-of-the-server]__1z1b8w4._.js +0 -3
  683. package/standalone/.next/server/chunks/[root-of-the-server]__1z8eo0j._.js +0 -3
  684. package/standalone/.next/server/chunks/[root-of-the-server]__20zebdq._.js +0 -3
  685. package/standalone/.next/server/chunks/_next-internal_server_app_favicon_ico_route_actions_0g2jjls.js +0 -3
  686. package/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_12f2k_b.js +0 -3
  687. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__00uq46v._.js +0 -3
  688. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__02elc4g._.js +0 -3
  689. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__04c97bb._.js +0 -3
  690. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__04xf3ag._.js +0 -3
  691. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07ll4k6._.js +0 -3
  692. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07n9grt._.js +0 -33
  693. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__07tjxzu._.js +0 -3
  694. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__08ejrsg._.js +0 -3
  695. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0bma97u._.js +0 -3
  696. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0eit075._.js +0 -3
  697. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0fna0ss._.js +0 -3
  698. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0fr4t3a._.js +0 -3
  699. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0je1dve._.js +0 -15
  700. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0kpe44c._.js +0 -3
  701. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0luabbk._.js +0 -3
  702. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0lx9l_f._.js +0 -3
  703. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0mz8y_c._.js +0 -3
  704. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0n_5fva._.js +0 -3
  705. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0nk-dzm._.js +0 -3
  706. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0rz06z_._.js +0 -3
  707. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0sb9d8p._.js +0 -3
  708. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0thf6sn._.js +0 -3
  709. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0v12ijp._.js +0 -3
  710. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0v1983v._.js +0 -3
  711. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0vcitsv._.js +0 -3
  712. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0w5ulwk._.js +0 -3
  713. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0xkr833._.js +0 -3
  714. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0yzhwyk._.js +0 -3
  715. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0zec7p7._.js +0 -3
  716. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-90lov._.js +0 -3
  717. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-_p_qq._.js +0 -3
  718. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__11awuie._.js +0 -3
  719. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__12ku6cw._.js +0 -3
  720. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__14-uizx._.js +0 -3
  721. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__14chm3s._.js +0 -3
  722. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__16x-dmx._.js +0 -3
  723. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__17wdy3b._.js +0 -3
  724. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__19_10zh._.js +0 -3
  725. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__19ax-rn._.js +0 -3
  726. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1_2wurn._.js +0 -3
  727. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1_9pu1p._.js +0 -3
  728. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1anikxb._.js +0 -3
  729. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1apyr4v._.js +0 -3
  730. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1b7x-gi._.js +0 -3
  731. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1d2v_4j._.js +0 -3
  732. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1drn6gh._.js +0 -3
  733. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1e24bk6._.js +0 -3
  734. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1elw11q._.js +0 -3
  735. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1etaslh._.js +0 -3
  736. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ffhy4j._.js +0 -3
  737. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1fvxa1t._.js +0 -3
  738. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1gx_mk6._.js +0 -3
  739. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1iccye4._.js +0 -3
  740. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1j9gekm._.js +0 -3
  741. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1jn7aum._.js +0 -3
  742. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ls11kh._.js +0 -3
  743. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1mo8hpx._.js +0 -3
  744. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1nqgwrd._.js +0 -3
  745. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1o0ywwj._.js +0 -3
  746. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1rq6nd_._.js +0 -3
  747. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1t-qpvq._.js +0 -3
  748. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1w5imbd._.js +0 -3
  749. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1x1khxx._.js +0 -3
  750. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1yedlq7._.js +0 -3
  751. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1yqj3eh._.js +0 -3
  752. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1z8_be-._.js +0 -3
  753. package/standalone/.next/server/chunks/ssr/_0-20-v5._.js +0 -3
  754. package/standalone/.next/server/chunks/ssr/_022u7lb._.js +0 -15
  755. package/standalone/.next/server/chunks/ssr/_0aif1-g._.js +0 -3
  756. package/standalone/.next/server/chunks/ssr/_0q5nll1._.js +0 -3
  757. package/standalone/.next/server/chunks/ssr/_0ro_o-3._.js +0 -24
  758. package/standalone/.next/server/chunks/ssr/_1-etco5._.js +0 -12
  759. package/standalone/.next/server/chunks/ssr/_1boywnc._.js +0 -9
  760. package/standalone/.next/server/chunks/ssr/_1i-_huq._.js +0 -5
  761. package/standalone/.next/server/chunks/ssr/_1njj5e5._.js +0 -25
  762. package/standalone/.next/server/chunks/ssr/_1nzjoqj._.js +0 -3
  763. package/standalone/.next/server/chunks/ssr/_1slu_v-._.js +0 -3
  764. package/standalone/.next/server/chunks/ssr/_1vx8nbn._.js +0 -3
  765. package/standalone/.next/server/chunks/ssr/_1wpqpq_._.js +0 -3
  766. package/standalone/.next/server/chunks/ssr/_1ws3tm8._.js +0 -24
  767. package/standalone/.next/server/chunks/ssr/_1ylzm6_._.js +0 -37
  768. package/standalone/.next/server/chunks/ssr/node_modules_0obs0k7._.js +0 -5
  769. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_038at4x.js +0 -4
  770. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_09bttv_.js +0 -4
  771. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0_5tfxq.js +0 -4
  772. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0nkrcoy.js +0 -4
  773. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ogmjlq.js +0 -4
  774. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0s--as4.js +0 -4
  775. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0tagqyx.js +0 -4
  776. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0umjl9n.js +0 -4
  777. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1fpliw9.js +0 -4
  778. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1j8f218.js +0 -4
  779. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qpzaji.js +0 -4
  780. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1tdf2_q.js +0 -4
  781. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1u5u2q0.js +0 -4
  782. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1vejq7c.js +0 -4
  783. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1wdd1jv.js +0 -4
  784. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1yri3x5.js +0 -4
  785. package/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1yvxa-k.js +0 -4
  786. package/standalone/.next/static/chunks/04tejuwcye2k_.js +0 -30
  787. package/standalone/.next/static/chunks/0_wr9h6ckp7r5.js +0 -1
  788. package/standalone/.next/static/chunks/0d3rasr6tb96l.js +0 -23
  789. package/standalone/.next/static/chunks/0mcuo36rz9j57.js +0 -55
  790. package/standalone/.next/static/chunks/0mpcmi3wv5r7o.js +0 -53
  791. package/standalone/.next/static/chunks/0sjb80e36gqfr.js +0 -32
  792. package/standalone/.next/static/chunks/0tm0ig453t45q.js +0 -25
  793. package/standalone/.next/static/chunks/1gkhfdfmj-oh0.js +0 -43
  794. package/standalone/.next/static/chunks/1rcjbru7lya3t.js +0 -7
  795. package/standalone/.next/static/chunks/2-m873nllx-qf.js +0 -1
  796. package/standalone/.next/static/chunks/26ae644jaqnvj.js +0 -70
  797. package/standalone/.next/static/chunks/26nqjwc9aov2w.js +0 -1
  798. package/standalone/.next/static/chunks/28wabrg9wpe9k.js +0 -1
  799. package/standalone/.next/static/chunks/28xkjksksnsd_.css +0 -1
  800. package/standalone/.next/static/chunks/2aehz_h31je08.js +0 -1
  801. package/standalone/.next/static/chunks/2d6gk7-wy11nz.js +0 -13
  802. package/standalone/.next/static/chunks/2i5bog52_4l9l.js +0 -57
  803. package/standalone/.next/static/chunks/2m8956anouml3.js +0 -51
  804. package/standalone/.next/static/chunks/2svylmgfm08d9.js +0 -44
  805. package/standalone/.next/static/chunks/3nme8562ujl6t.js +0 -1
  806. package/standalone/.next/static/chunks/3vcuwpsqnytof.js +0 -3
  807. package/standalone/.next/static/chunks/41s0n0dd89v1t.js +0 -39
  808. package/standalone/.next/static/media/favicon.2vob68tjqpejf.ico +0 -0
  809. /package/standalone/.next/server/app/{favicon.ico → icon.svg}/route/build-manifest.json +0 -0
  810. /package/standalone/.next/server/app/{favicon.ico → icon.svg}/route.js.map +0 -0
  811. /package/standalone/.next/static/{d77QrJpn4kUxmG3bXgnZw → sG5B4ifT9VOR4ZKbPiAwR}/_buildManifest.js +0 -0
  812. /package/standalone/.next/static/{d77QrJpn4kUxmG3bXgnZw → sG5B4ifT9VOR4ZKbPiAwR}/_clientMiddlewareManifest.js +0 -0
  813. /package/standalone/.next/static/{d77QrJpn4kUxmG3bXgnZw → sG5B4ifT9VOR4ZKbPiAwR}/_ssgManifest.js +0 -0
@@ -1,9 +1,9 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),s=e.i(975157);let i=(0,a.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,s.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...a})},"EmptyDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,s.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...a})},"EmptyHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,s.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...r}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,s.cn)(i({variant:a,className:e})),...r})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,s.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},876561,e=>{"use strict";let t=(0,e.i(456420).default)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);e.s(["Archive",0,t],876561)},452330,e=>{"use strict";let t=(0,e.i(456420).default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);e.s(["Code2",0,t],452330)},636162,e=>{"use strict";let t=(0,e.i(456420).default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);e.s(["Apple",0,t],636162)},687862,671028,e=>{"use strict";var t=e.i(843476);e.i(688194);var a=e.i(636162),s=e.i(456420);let i=(0,s.default)("app-window",[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]);var r=e.i(876561);let n=(0,s.default)("beaker",[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]]),l=(0,s.default)("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]),o=(0,s.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);var d=e.i(452330);let c=(0,s.default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);e.s(["Gauge",0,c],671028);var u=e.i(93384);let p=(0,s.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),h=(0,s.default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);var m=e.i(21357);let g=(0,s.default)("rocket",[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]);var x=e.i(584026),f=e.i(986206),v=e.i(328623),j=e.i(604139);let b=(0,s.default)("test-tube",[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]]);var y=e.i(747925);let S={apple:a.Apple,"app-window":i,archive:r.Archive,beaker:n,box:l,bug:o,code:d.Code2,gauge:c,hammer:u.Hammer,layers:p,package:h,play:m.Play,rocket:g,shield:x.ShieldCheck,smartphone:f.Smartphone,sparkles:v.Sparkles,terminal:j.Terminal,"test-tube":b,wrench:y.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let a=S[e];return a?(0,t.jsx)(a,{"aria-hidden":!0,className:"size-4"}):null}],687862)},711241,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],711241)},395925,e=>{"use strict";let t=(0,e.i(456420).default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);e.s(["RotateCcw",0,t],395925)},688194,e=>{"use strict";e.s(["BUILD_ACTIONS",0,["BUILD","TEST","ANALYZE","ARCHIVE","BUILD_FOR_TESTING","TEST_WITHOUT_BUILDING"],"BUILD_CONFIGURATION_ICON_KEYS",0,["apple","app-window","archive","beaker","box","bug","code","gauge","hammer","layers","package","play","rocket","shield","smartphone","sparkles","terminal","test-tube","wrench"],"BUILD_EXPORT_METHODS",0,["DEBUGGING","RELEASE_TESTING","ENTERPRISE","APP_STORE_CONNECT"],"EXPORT_METHOD_PROFILE_TYPES",0,{DEBUGGING:"DEVELOPMENT",RELEASE_TESTING:"AD_HOC",ENTERPRISE:"ENTERPRISE",APP_STORE_CONNECT:"APP_STORE"},"profileCoversBundle",0,function(e,t){return"*"===e||(e.endsWith(".*")?t.startsWith(e.slice(0,-1)):e===t)}])},515281,e=>{"use strict";let t=(0,e.i(456420).default)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);e.s(["Pencil",0,t],515281)},808562,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(30030),i=e.i(248425),r=e.i(842727),n=e.i(981140),l=e.i(369340),o=Object.defineProperty,d=a.forwardRef(o(function(e,a){let{pressed:s,defaultPressed:r,onPressedChange:o,...d}=e,[c,u]=(0,l.useControllableState)({prop:s,onChange:o,defaultProp:r??!1,caller:"Toggle"});return(0,t.jsx)(i.Primitive.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...d,ref:a,onClick:(0,n.composeEventHandlers)(e.onClick,()=>{e.disabled||u(!c)})})},"name",{value:"Toggle",configurable:!0})),c=e.i(586318),u=Object.defineProperty,p=(e,t)=>u(e,"name",{value:t,configurable:!0}),h="ToggleGroup",[m,g]=(0,s.createContextScope)(h,[r.createRovingFocusGroupScope]),x=(0,r.createRovingFocusGroupScope)(),f=a.forwardRef(p(function(e,a){let{type:s,...i}=e;if("single"===s)return(0,t.jsx)(b,{role:"radiogroup",...i,ref:a});if("multiple"===s)return(0,t.jsx)(y,{role:"toolbar",...i,ref:a});throw Error(`Missing prop \`type\` expected on \`${h}\``)},"ToggleGroup")),[v,j]=m(h),b=a.forwardRef(p(function(e,s){let{value:i,defaultValue:r,onValueChange:n=p(()=>{},"onValueChange"),...o}=e,[d,c]=(0,l.useControllableState)({prop:i,defaultProp:r??"",onChange:n,caller:h});return(0,t.jsx)(v,{scope:e.__scopeToggleGroup,type:"single",value:a.useMemo(()=>d?[d]:[],[d]),onItemActivate:c,onItemDeactivate:a.useCallback(()=>c(""),[c]),children:(0,t.jsx)(C,{...o,ref:s})})},"ToggleGroupImplSingle")),y=a.forwardRef(p(function(e,s){let{value:i,defaultValue:r,onValueChange:n=p(()=>{},"onValueChange"),...o}=e,[d,c]=(0,l.useControllableState)({prop:i,defaultProp:r??[],onChange:n,caller:h}),u=a.useCallback(e=>c((t=[])=>[...t,e]),[c]),m=a.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(v,{scope:e.__scopeToggleGroup,type:"multiple",value:d,onItemActivate:u,onItemDeactivate:m,children:(0,t.jsx)(C,{...o,ref:s})})},"ToggleGroupImplMultiple")),[S,I]=m(h),C=a.forwardRef(p(function(e,a){let{__scopeToggleGroup:s,disabled:n=!1,rovingFocus:l=!0,orientation:o,dir:d,loop:u=!0,...p}=e,h=x(s),m=(0,c.useDirection)(d),g={dir:m,...p};return(0,t.jsx)(S,{scope:s,rovingFocus:l,disabled:n,children:l?(0,t.jsx)(r.Root,{asChild:!0,...h,orientation:o,dir:m,loop:u,children:(0,t.jsx)(i.Primitive.div,{...g,ref:a})}):(0,t.jsx)(i.Primitive.div,{...g,ref:a})})},"ToggleGroupImpl")),w="ToggleGroupItem",k=a.forwardRef(p(function(e,s){let i=j(w,e.__scopeToggleGroup),n=I(w,e.__scopeToggleGroup),l=x(e.__scopeToggleGroup),o=i.value.includes(e.value),d=n.disabled||e.disabled,c={...e,pressed:o,disabled:d},u=a.useRef(null);return n.rovingFocus?(0,t.jsx)(r.Item,{asChild:!0,...l,focusable:!d,active:o,ref:u,children:(0,t.jsx)(N,{...c,ref:s})}):(0,t.jsx)(N,{...c,ref:s})},"ToggleGroupItem")),N=a.forwardRef(p(function(e,a){let{__scopeToggleGroup:s,value:i,...r}=e,n=j(w,s),l={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},o="single"===n.type?l:void 0;return(0,t.jsx)(d,{...o,...r,ref:a,onPressedChange:e=>{e?n.onItemActivate(i):n.onItemDeactivate(i)}})},"ToggleGroupItemImpl"));e.s(["Item",0,k,"Root",0,f,"ToggleGroup",0,f,"ToggleGroupItem",0,k,"createToggleGroupScope",0,g],459881);var R=e.i(459881),R=R,A=e.i(975157),E=e.i(225913),T=Object.defineProperty,P=a.forwardRef(T(function(e,a){let{pressed:s,defaultPressed:r,onPressedChange:o,...d}=e,[c,u]=(0,l.useControllableState)({prop:s,onChange:o,defaultProp:r??!1,caller:"Toggle"});return(0,t.jsx)(i.Primitive.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...d,ref:a,onClick:(0,n.composeEventHandlers)(e.onClick,()=>{e.disabled||u(!c)})})},"name",{value:"Toggle",configurable:!0}));e.s(["Root",0,P,"Toggle",0,P],864225),e.i(864225);let D=(0,E.cva)("group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-muted"},size:{default:"h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",sm:"h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"}},defaultVariants:{variant:"default",size:"default"}}),B=a.createContext({size:"default",variant:"default",spacing:2,orientation:"horizontal"});e.s(["ToggleGroup",0,function({className:e,variant:a,size:s,spacing:i=2,orientation:r="horizontal",children:n,...l}){return(0,t.jsx)(R.Root,{"data-slot":"toggle-group","data-variant":a,"data-size":s,"data-spacing":i,"data-orientation":r,style:{"--gap":i},className:(0,A.cn)("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch",e),...l,children:(0,t.jsx)(B.Provider,{value:{variant:a,size:s,spacing:i,orientation:r},children:n})})},"ToggleGroupItem",0,function({className:e,children:s,variant:i="default",size:r="default",...n}){let l=a.useContext(B);return(0,t.jsx)(R.Item,{"data-slot":"toggle-group-item","data-variant":l.variant||i,"data-size":l.size||r,"data-spacing":l.spacing,className:(0,A.cn)("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",D({variant:l.variant||i,size:l.size||r}),e),...n,children:s})}],808562)},778434,e=>{"use strict";e.s(["AGENT_FIELDS",0,"id name hostname version osVersion architecture cpuModel memoryTotalBytes memoryFreeBytes diskTotalBytes diskFreeBytes capabilities baseRepoDirectory derivedDataLocationMode derivedDataPath buildsDirectory defaultBuildsDirectory effectiveBuildsDirectory connectionStatus ipAddress lastSeenAt disconnectedAt createdAt","JOB_FIELDS",0,"id agentId kind payload status error result timeoutSeconds createdAt startedAt finishedAt updatedAt","JOB_LOG_FIELDS",0,"id jobId sequence stream message createdAt"])},250832,e=>{"use strict";let t=(0,e.i(456420).default)("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);e.s(["Settings2",0,t],250832)},955370,e=>{"use strict";let t=(0,e.i(456420).default)("circle-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.35 2.69A10 10 0 0 1 21.3 15.65",key:"1pfsoa"}],["path",{d:"M19.08 19.08A10 10 0 1 1 4.92 4.92",key:"1ablyi"}]]);e.s(["CircleOff",0,t],955370)},328523,e=>{"use strict";let t=(0,e.i(456420).default)("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]);e.s(["Pause",0,t],328523)},9197,e=>{"use strict";var t=e.i(843476),a=e.i(328523),s=e.i(515281),i=e.i(21357),r=e.i(395925),n=e.i(856522),l=e.i(573474),o=e.i(948148),d=e.i(271645),c=e.i(929592),u=e.i(487486),p=e.i(519455),h=e.i(257428),m=e.i(776639),g=e.i(793479),x=e.i(110204),f=e.i(967489),v=e.i(987968),j=e.i(808562),b=e.i(637611);let y=`
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),s=e.i(975157);let i=(0,a.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,s.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...a})},"EmptyDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,s.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...a})},"EmptyHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,s.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...r}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,s.cn)(i({variant:a,className:e})),...r})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,s.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},395925,e=>{"use strict";let t=(0,e.i(456420).default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);e.s(["RotateCcw",0,t],395925)},688194,e=>{"use strict";e.s(["BUILD_ACTIONS",0,["BUILD","TEST","ANALYZE","ARCHIVE","BUILD_FOR_TESTING","TEST_WITHOUT_BUILDING"],"BUILD_CONFIGURATION_ICON_KEYS",0,["apple","app-window","archive","beaker","box","bug","code","gauge","hammer","layers","package","play","rocket","shield","smartphone","sparkles","terminal","test-tube","wrench"],"BUILD_EXPORT_METHODS",0,["DEBUGGING","RELEASE_TESTING","ENTERPRISE","APP_STORE_CONNECT"],"EXPORT_METHOD_PROFILE_TYPES",0,{DEBUGGING:"DEVELOPMENT",RELEASE_TESTING:"AD_HOC",ENTERPRISE:"ENTERPRISE",APP_STORE_CONNECT:"APP_STORE"},"profileCoversBundle",0,function(e,t){return"*"===e||(e.endsWith(".*")?t.startsWith(e.slice(0,-1)):e===t)}])},515281,e=>{"use strict";let t=(0,e.i(456420).default)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);e.s(["Pencil",0,t],515281)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},876561,e=>{"use strict";let t=(0,e.i(456420).default)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);e.s(["Archive",0,t],876561)},452330,e=>{"use strict";let t=(0,e.i(456420).default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);e.s(["Code2",0,t],452330)},636162,e=>{"use strict";let t=(0,e.i(456420).default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);e.s(["Apple",0,t],636162)},687862,671028,e=>{"use strict";var t=e.i(843476);e.i(688194);var a=e.i(636162),s=e.i(456420);let i=(0,s.default)("app-window",[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]);var r=e.i(876561);let n=(0,s.default)("beaker",[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]]),l=(0,s.default)("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]),o=(0,s.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]);var d=e.i(452330);let c=(0,s.default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);e.s(["Gauge",0,c],671028);var u=e.i(93384);let p=(0,s.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),h=(0,s.default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);var m=e.i(21357);let g=(0,s.default)("rocket",[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]);var x=e.i(584026),f=e.i(986206),v=e.i(328623),j=e.i(604139);let b=(0,s.default)("test-tube",[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]]);var y=e.i(747925);let S={apple:a.Apple,"app-window":i,archive:r.Archive,beaker:n,box:l,bug:o,code:d.Code2,gauge:c,hammer:u.Hammer,layers:p,package:h,play:m.Play,rocket:g,shield:x.ShieldCheck,smartphone:f.Smartphone,sparkles:v.Sparkles,terminal:j.Terminal,"test-tube":b,wrench:y.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let a=S[e];return a?(0,t.jsx)(a,{"aria-hidden":!0,className:"size-4"}):null}],687862)},808562,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(30030),i=e.i(248425),r=e.i(842727),n=e.i(981140),l=e.i(369340),o=Object.defineProperty,d=a.forwardRef(o(function(e,a){let{pressed:s,defaultPressed:r,onPressedChange:o,...d}=e,[c,u]=(0,l.useControllableState)({prop:s,onChange:o,defaultProp:r??!1,caller:"Toggle"});return(0,t.jsx)(i.Primitive.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...d,ref:a,onClick:(0,n.composeEventHandlers)(e.onClick,()=>{e.disabled||u(!c)})})},"name",{value:"Toggle",configurable:!0})),c=e.i(586318),u=Object.defineProperty,p=(e,t)=>u(e,"name",{value:t,configurable:!0}),h="ToggleGroup",[m,g]=(0,s.createContextScope)(h,[r.createRovingFocusGroupScope]),x=(0,r.createRovingFocusGroupScope)(),f=a.forwardRef(p(function(e,a){let{type:s,...i}=e;if("single"===s)return(0,t.jsx)(b,{role:"radiogroup",...i,ref:a});if("multiple"===s)return(0,t.jsx)(y,{role:"toolbar",...i,ref:a});throw Error(`Missing prop \`type\` expected on \`${h}\``)},"ToggleGroup")),[v,j]=m(h),b=a.forwardRef(p(function(e,s){let{value:i,defaultValue:r,onValueChange:n=p(()=>{},"onValueChange"),...o}=e,[d,c]=(0,l.useControllableState)({prop:i,defaultProp:r??"",onChange:n,caller:h});return(0,t.jsx)(v,{scope:e.__scopeToggleGroup,type:"single",value:a.useMemo(()=>d?[d]:[],[d]),onItemActivate:c,onItemDeactivate:a.useCallback(()=>c(""),[c]),children:(0,t.jsx)(C,{...o,ref:s})})},"ToggleGroupImplSingle")),y=a.forwardRef(p(function(e,s){let{value:i,defaultValue:r,onValueChange:n=p(()=>{},"onValueChange"),...o}=e,[d,c]=(0,l.useControllableState)({prop:i,defaultProp:r??[],onChange:n,caller:h}),u=a.useCallback(e=>c((t=[])=>[...t,e]),[c]),m=a.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(v,{scope:e.__scopeToggleGroup,type:"multiple",value:d,onItemActivate:u,onItemDeactivate:m,children:(0,t.jsx)(C,{...o,ref:s})})},"ToggleGroupImplMultiple")),[S,I]=m(h),C=a.forwardRef(p(function(e,a){let{__scopeToggleGroup:s,disabled:n=!1,rovingFocus:l=!0,orientation:o,dir:d,loop:u=!0,...p}=e,h=x(s),m=(0,c.useDirection)(d),g={dir:m,...p};return(0,t.jsx)(S,{scope:s,rovingFocus:l,disabled:n,children:l?(0,t.jsx)(r.Root,{asChild:!0,...h,orientation:o,dir:m,loop:u,children:(0,t.jsx)(i.Primitive.div,{...g,ref:a})}):(0,t.jsx)(i.Primitive.div,{...g,ref:a})})},"ToggleGroupImpl")),w="ToggleGroupItem",k=a.forwardRef(p(function(e,s){let i=j(w,e.__scopeToggleGroup),n=I(w,e.__scopeToggleGroup),l=x(e.__scopeToggleGroup),o=i.value.includes(e.value),d=n.disabled||e.disabled,c={...e,pressed:o,disabled:d},u=a.useRef(null);return n.rovingFocus?(0,t.jsx)(r.Item,{asChild:!0,...l,focusable:!d,active:o,ref:u,children:(0,t.jsx)(N,{...c,ref:s})}):(0,t.jsx)(N,{...c,ref:s})},"ToggleGroupItem")),N=a.forwardRef(p(function(e,a){let{__scopeToggleGroup:s,value:i,...r}=e,n=j(w,s),l={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},o="single"===n.type?l:void 0;return(0,t.jsx)(d,{...o,...r,ref:a,onPressedChange:e=>{e?n.onItemActivate(i):n.onItemDeactivate(i)}})},"ToggleGroupItemImpl"));e.s(["Item",0,k,"Root",0,f,"ToggleGroup",0,f,"ToggleGroupItem",0,k,"createToggleGroupScope",0,g],459881);var R=e.i(459881),R=R,A=e.i(975157),E=e.i(225913),T=Object.defineProperty,P=a.forwardRef(T(function(e,a){let{pressed:s,defaultPressed:r,onPressedChange:o,...d}=e,[c,u]=(0,l.useControllableState)({prop:s,onChange:o,defaultProp:r??!1,caller:"Toggle"});return(0,t.jsx)(i.Primitive.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...d,ref:a,onClick:(0,n.composeEventHandlers)(e.onClick,()=>{e.disabled||u(!c)})})},"name",{value:"Toggle",configurable:!0}));e.s(["Root",0,P,"Toggle",0,P],864225),e.i(864225);let D=(0,E.cva)("group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-muted"},size:{default:"h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",sm:"h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"}},defaultVariants:{variant:"default",size:"default"}}),B=a.createContext({size:"default",variant:"default",spacing:2,orientation:"horizontal"});e.s(["ToggleGroup",0,function({className:e,variant:a,size:s,spacing:i=2,orientation:r="horizontal",children:n,...l}){return(0,t.jsx)(R.Root,{"data-slot":"toggle-group","data-variant":a,"data-size":s,"data-spacing":i,"data-orientation":r,style:{"--gap":i},className:(0,A.cn)("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch",e),...l,children:(0,t.jsx)(B.Provider,{value:{variant:a,size:s,spacing:i,orientation:r},children:n})})},"ToggleGroupItem",0,function({className:e,children:s,variant:i="default",size:r="default",...n}){let l=a.useContext(B);return(0,t.jsx)(R.Item,{"data-slot":"toggle-group-item","data-variant":l.variant||i,"data-size":l.size||r,"data-spacing":l.spacing,className:(0,A.cn)("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",D({variant:l.variant||i,size:l.size||r}),e),...n,children:s})}],808562)},778434,e=>{"use strict";e.s(["AGENT_FIELDS",0,"id name hostname version osVersion architecture cpuModel memoryTotalBytes memoryFreeBytes diskTotalBytes diskFreeBytes capabilities baseRepoDirectory derivedDataLocationMode derivedDataPath buildsDirectory defaultBuildsDirectory effectiveBuildsDirectory connectionStatus ipAddress lastSeenAt disconnectedAt createdAt","JOB_FIELDS",0,"id agentId kind payload status error result timeoutSeconds createdAt startedAt finishedAt updatedAt","JOB_LOG_FIELDS",0,"id jobId sequence stream message createdAt"])},250832,e=>{"use strict";let t=(0,e.i(456420).default)("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);e.s(["Settings2",0,t],250832)},711241,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],711241)},955370,e=>{"use strict";let t=(0,e.i(456420).default)("circle-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.35 2.69A10 10 0 0 1 21.3 15.65",key:"1pfsoa"}],["path",{d:"M19.08 19.08A10 10 0 1 1 4.92 4.92",key:"1ablyi"}]]);e.s(["CircleOff",0,t],955370)},328523,e=>{"use strict";let t=(0,e.i(456420).default)("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]);e.s(["Pause",0,t],328523)},9197,e=>{"use strict";var t=e.i(843476),a=e.i(328523),s=e.i(515281),i=e.i(21357),r=e.i(395925),n=e.i(856522),l=e.i(573474),o=e.i(948148),d=e.i(271645),c=e.i(929592),u=e.i(487486),p=e.i(519455),h=e.i(257428),m=e.i(776639),g=e.i(793479),x=e.i(110204),f=e.i(967489),v=e.i(987968),j=e.i(808562),b=e.i(637611);let y=`
2
2
  id scope codebaseRepositoryId repositoryGithubId worktreeId branch pullRequestNumber
3
3
  allWorkflows mode retryLimit failureStrategy status enabled lastError createdAt updatedAt
4
4
  targets { id workflowId workflowRunId jobName }
5
5
  executions { id workflowRunId workflowId targetKey status observedAttempt automaticRetries lastStatus lastError updatedAt }
6
- `;e.s(["AutoRetryDialog",0,function({codebaseRepositoryId:e,repositoryGithubId:S,currentRuns:I=[],allowFuture:C=!1,worktreeId:w,branch:k,pullRequestNumber:N,repositoryMode:R=!1,requestSource:A,trigger:E}){let T=(0,o.useTranslations)("githubAutomation"),[P,D]=(0,d.useState)(!1),[B,L]=(0,d.useState)(!0),[$,O]=(0,d.useState)(!1),[M,_]=(0,d.useState)(null),[q,U]=(0,d.useState)([]),[V,G]=(0,d.useState)(null),[F,H]=(0,d.useState)(!1),[z,W]=(0,d.useState)([]),[J,K]=(0,d.useState)(I),[Y,X]=(0,d.useState)(R),[Q,Z]=(0,d.useState)(R),[ee,et]=(0,d.useState)(new Set),[ea,es]=(0,d.useState)("FAILURE"),[ei,er]=(0,d.useState)("3"),[en,el]=(0,d.useState)(!1),[eo,ed]=(0,d.useState)("FAILED_JOBS"),ec=(0,d.useRef)(I),eu=(0,d.useRef)(!1);(0,d.useEffect)(()=>{ec.current=I},[I]);let ep=(0,d.useCallback)(async()=>{let t=await (0,b.controlPlaneRequest)(`query GitHubAutoRetryRules($codebaseRepositoryId: ID) {
6
+ `;e.s(["AutoRetryDialog",0,function({codebaseRepositoryId:e,repositoryGithubId:S,currentRuns:I=[],allowFuture:C=!1,worktreeId:w,branch:k,pullRequestNumber:N,repositoryMode:R=!1,requestSource:A,trigger:E}){let T=(0,o.useTranslations)("githubAutomation"),[P,D]=(0,d.useState)(!1),[B,$]=(0,d.useState)(!0),[L,O]=(0,d.useState)(!1),[M,_]=(0,d.useState)(null),[q,U]=(0,d.useState)([]),[V,G]=(0,d.useState)(null),[F,H]=(0,d.useState)(!1),[z,W]=(0,d.useState)([]),[J,K]=(0,d.useState)(I),[Y,X]=(0,d.useState)(R),[Q,Z]=(0,d.useState)(R),[ee,et]=(0,d.useState)(new Set),[ea,es]=(0,d.useState)("FAILURE"),[ei,er]=(0,d.useState)("3"),[en,el]=(0,d.useState)(!1),[eo,ed]=(0,d.useState)("FAILED_JOBS"),ec=(0,d.useRef)(I),eu=(0,d.useRef)(!1);(0,d.useEffect)(()=>{ec.current=I},[I]);let ep=(0,d.useCallback)(async()=>{let t=await (0,b.controlPlaneRequest)(`query GitHubAutoRetryRules($codebaseRepositoryId: ID) {
7
7
  githubSettings { tokenConfigured }
8
8
  githubAppSettings { configured actionsPermission }
9
9
  githubAutoRetryRules(codebaseRepositoryId: $codebaseRepositoryId) { ${y} }
@@ -11,17 +11,17 @@
11
11
  githubRepositoryWorkflows(source: $source, codebaseRepositoryId: $codebaseRepositoryId) {
12
12
  id name path state url jobNames
13
13
  }
14
- }`,{codebaseRepositoryId:e,source:A})).githubRepositoryWorkflows)},[e,A]),em=(0,d.useCallback)(async()=>{eu.current||L(!0),_(null);try{await ep(),R&&await eh();let t=await Promise.all(ec.current.map(async t=>{if(t.jobs?.length)return t;try{let a=await (0,b.controlPlaneRequest)(`query AutoRetryWorkflowJobs($repositoryId: ID!, $workflowRunId: ID!, $source: GitHubRequestSource!) {
14
+ }`,{codebaseRepositoryId:e,source:A})).githubRepositoryWorkflows)},[e,A]),em=(0,d.useCallback)(async()=>{eu.current||$(!0),_(null);try{await ep(),R&&await eh();let t=await Promise.all(ec.current.map(async t=>{if(t.jobs?.length)return t;try{let a=await (0,b.controlPlaneRequest)(`query AutoRetryWorkflowJobs($repositoryId: ID!, $workflowRunId: ID!, $source: GitHubRequestSource!) {
15
15
  githubActionsWorkflowJobs(
16
16
  source: $source
17
17
  codebaseRepositoryId: $repositoryId
18
18
  workflowRunId: $workflowRunId
19
19
  ) { id name status url canRetry retryUnavailableReason runAttempt steps { number name status } }
20
- }`,{repositoryId:e,workflowRunId:t.id,source:A});return{...t,jobs:a.githubActionsWorkflowJobs}}catch{return t}}));K(t),R||et(e=>e.size?e:new Set(t.map(e=>`workflow:${e.id}`)))}catch(e){_(e instanceof Error?e.message:String(e))}finally{eu.current=!0,L(!1)}},[e,eh,ep,R,A]);(0,d.useEffect)(()=>{if(!P)return;let e=window.setTimeout(()=>void em(),0),t=window.setInterval(()=>void ep().catch(()=>void 0),1e4);return()=>{window.clearTimeout(e),window.clearInterval(t)}},[em,P,ep]);let eg=(0,d.useMemo)(()=>Y?z.map(e=>({id:e.id,workflowId:e.id,name:e.name,jobNames:e.jobNames})):J.map(e=>({id:e.id,workflowId:e.workflowId,name:e.name,jobNames:e.jobs?.map(e=>e.name)??[]})),[Y,J,z]),ex=(0,d.useMemo)(()=>{let e=new Set(J.map(e=>e.id));return q.filter(t=>"WORKFLOW_RUN"===t.scope?t.targets.some(t=>t.workflowRunId&&e.has(t.workflowRunId)):R?"REPOSITORY"===t.scope:N?"PULL_REQUEST"===t.scope&&t.pullRequestNumber===N:"WORKTREE_BRANCH"===t.scope&&t.worktreeId===w)},[J,N,R,q,w]),ef=async()=>{let t=en&&"FAILURE"===ea?null:Number(ei);if(null!==t&&(!Number.isInteger(t)||t<1||t>100))return void _(T("limitError"));let a=[];for(let e of eg){let t=`workflow:${e.id}`;if(ee.has(t)){a.push({workflowId:e.workflowId,workflowRunId:Y?null:e.id,jobName:null});continue}for(let t of e.jobNames)ee.has(`job:${e.id}:${t}`)&&a.push({workflowId:e.workflowId,workflowRunId:Y?null:e.id,jobName:t})}if(!Q&&0===a.length)return void _(T("targetRequired"));let s=R?"REPOSITORY":Y&&N?"PULL_REQUEST":Y?"WORKTREE_BRANCH":"WORKFLOW_RUN";O(!0);try{await (0,b.controlPlaneRequest)(`mutation SaveGitHubAutoRetryRule($input: SaveGitHubAutoRetryRuleInput!) {
20
+ }`,{repositoryId:e,workflowRunId:t.id,source:A});return{...t,jobs:a.githubActionsWorkflowJobs}}catch{return t}}));K(t),R||et(e=>e.size?e:new Set(t.map(e=>`workflow:${e.id}`)))}catch(e){_(e instanceof Error?e.message:String(e))}finally{eu.current=!0,$(!1)}},[e,eh,ep,R,A]);(0,d.useEffect)(()=>{if(!P)return;let e=window.setTimeout(()=>void em(),0),t=window.setInterval(()=>void ep().catch(()=>void 0),1e4);return()=>{window.clearTimeout(e),window.clearInterval(t)}},[em,P,ep]);let eg=(0,d.useMemo)(()=>Y?z.map(e=>({id:e.id,workflowId:e.id,name:e.name,jobNames:e.jobNames})):J.map(e=>({id:e.id,workflowId:e.workflowId,name:e.name,jobNames:e.jobs?.map(e=>e.name)??[]})),[Y,J,z]),ex=(0,d.useMemo)(()=>{let e=new Set(J.map(e=>e.id));return q.filter(t=>"WORKFLOW_RUN"===t.scope?t.targets.some(t=>t.workflowRunId&&e.has(t.workflowRunId)):R?"REPOSITORY"===t.scope:N?"PULL_REQUEST"===t.scope&&t.pullRequestNumber===N:"WORKTREE_BRANCH"===t.scope&&t.worktreeId===w)},[J,N,R,q,w]),ef=async()=>{let t=en&&"FAILURE"===ea?null:Number(ei);if(null!==t&&(!Number.isInteger(t)||t<1||t>100))return void _(T("limitError"));let a=[];for(let e of eg){let t=`workflow:${e.id}`;if(ee.has(t)){a.push({workflowId:e.workflowId,workflowRunId:Y?null:e.id,jobName:null});continue}for(let t of e.jobNames)ee.has(`job:${e.id}:${t}`)&&a.push({workflowId:e.workflowId,workflowRunId:Y?null:e.id,jobName:t})}if(!Q&&0===a.length)return void _(T("targetRequired"));let s=R?"REPOSITORY":Y&&N?"PULL_REQUEST":Y?"WORKTREE_BRANCH":"WORKFLOW_RUN";O(!0);try{await (0,b.controlPlaneRequest)(`mutation SaveGitHubAutoRetryRule($input: SaveGitHubAutoRetryRuleInput!) {
21
21
  saveGitHubAutoRetryRule(input: $input) { ${y} }
22
22
  }`,{input:{id:V,scope:s,codebaseRepositoryId:e,repositoryGithubId:S??null,worktreeId:Y?w??null:null,branch:Y?k??null:null,pullRequestNumber:Y?N??null:null,allWorkflows:Y&&Q,mode:ea,retryLimit:t,failureStrategy:eo,targets:a}}),_(null),G(null),await ep()}catch(e){_(e instanceof Error?e.message:String(e))}finally{O(!1)}},ev=async e=>{try{await (0,b.controlPlaneRequest)(`mutation SetGitHubAutoRetryRuleEnabled($id: ID!, $enabled: Boolean!) {
23
23
  setGitHubAutoRetryRuleEnabled(id: $id, enabled: $enabled) { id enabled status }
24
- }`,{id:e.id,enabled:!e.enabled}),await ep()}catch(e){_(e instanceof Error?e.message:String(e))}},ej=async e=>{try{await (0,b.controlPlaneRequest)("mutation DeleteGitHubAutoRetryRule($id: ID!) { deleteGitHubAutoRetryRule(id: $id) }",{id:e}),await ep()}catch(e){_(e instanceof Error?e.message:String(e))}},eb=async e=>{let t="WORKFLOW_RUN"!==e.scope;if(t&&0===z.length){L(!0),_(null);try{await eh()}catch(e){_(e instanceof Error?e.message:String(e));return}finally{L(!1)}}G(e.id),X(t),Z(e.allWorkflows),es(e.mode),er(String(e.retryLimit??3)),el("FAILURE"===e.mode&&null===e.retryLimit),ed(e.failureStrategy),et(new Set(e.targets.map(e=>{let a=t?e.workflowId:e.workflowRunId;return e.jobName?`job:${a}:${e.jobName}`:`workflow:${a}`})))};return(0,t.jsxs)(m.Dialog,{onOpenChange:D,open:P,children:[(0,t.jsx)(m.DialogTrigger,{asChild:!0,children:E??(0,t.jsxs)(p.Button,{size:"sm",variant:"outline",children:[(0,t.jsx)(r.RotateCcw,{})," ",T("autoRetry")]})}),(0,t.jsxs)(m.DialogContent,{className:"max-h-[90vh] grid-cols-[minmax(0,1fr)] overflow-y-auto sm:max-w-2xl",children:[(0,t.jsxs)(m.DialogHeader,{children:[(0,t.jsx)(m.DialogTitle,{children:T("title")}),(0,t.jsx)(m.DialogDescription,{children:T("description")})]}),M?(0,t.jsx)(c.Alert,{variant:"destructive",children:(0,t.jsx)(c.AlertDescription,{children:M})}):null,B?(0,t.jsxs)("div",{className:"flex items-center gap-2 py-6 text-sm text-muted-foreground",children:[(0,t.jsx)(v.Spinner,{})," ",T("loading")]}):(0,t.jsxs)("div",{className:"space-y-5",children:[F?null:(0,t.jsx)(c.Alert,{children:(0,t.jsx)(c.AlertDescription,{children:T("credentialsRequired")})}),C&&!R?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:T("scope")}),(0,t.jsxs)(j.ToggleGroup,{onValueChange:e=>{if(!e)return;let t="future"===e;X(t),Z(t),t&&0===z.length&&eh().catch(e=>_(e instanceof Error?e.message:String(e))),et(t?new Set:new Set(J.map(e=>`workflow:${e.id}`)))},type:"single",value:Y?"future":"current",variant:"outline",children:[(0,t.jsx)(j.ToggleGroupItem,{value:"current",children:T("currentRuns")}),(0,t.jsx)(j.ToggleGroupItem,{value:"future",children:T("futureRuns")})]})]}):null,(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:T("targets")}),Y?(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-md border p-3",children:[(0,t.jsx)(h.Checkbox,{checked:Q,onCheckedChange:e=>Z(!0===e)}),(0,t.jsx)("span",{className:"font-medium",children:T("allWorkflows")})]}):null,Q?null:(0,t.jsxs)("div",{className:"max-h-64 space-y-2 overflow-y-auto rounded-md border p-2",children:[eg.map(e=>(0,t.jsxs)("div",{className:"rounded-md border p-2",children:[(0,t.jsxs)("label",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(h.Checkbox,{checked:ee.has(`workflow:${e.id}`),onCheckedChange:t=>{var a,s;return a=e.id,s=!0===t,void et(e=>{let t=new Set(e),i=`workflow:${a}`;if(s)for(let e of(t.add(i),t))e.startsWith(`job:${a}:`)&&t.delete(e);else t.delete(i);return t})}}),e.name]}),e.jobNames.length?(0,t.jsx)("div",{className:"ml-6 mt-2 space-y-1",children:e.jobNames.map(a=>(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(h.Checkbox,{checked:ee.has(`job:${e.id}:${a}`),onCheckedChange:t=>{var s,i;return s=e.id,i=!0===t,void et(e=>{let t=new Set(e);t.delete(`workflow:${s}`);let r=`job:${s}:${a}`;return i?t.add(r):t.delete(r),t})}}),a]},a))}):null]},e.id)),eg.length?null:(0,t.jsx)("p",{className:"p-2 text-sm text-muted-foreground",children:T("noWorkflows")})]})]}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:T("mode")}),(0,t.jsxs)(f.Select,{value:ea,onValueChange:e=>es(e),children:[(0,t.jsx)(f.SelectTrigger,{children:(0,t.jsx)(f.SelectValue,{})}),(0,t.jsxs)(f.SelectContent,{children:[(0,t.jsx)(f.SelectItem,{value:"FAILURE",children:T("failureMode")}),(0,t.jsx)(f.SelectItem,{value:"COUNT",children:T("countMode")})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{htmlFor:"auto-retry-limit",children:T("retryLimit")}),(0,t.jsx)(g.Input,{disabled:"FAILURE"===ea&&en,id:"auto-retry-limit",max:100,min:1,onChange:e=>er(e.target.value),type:"number",value:ei}),"FAILURE"===ea?(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(h.Checkbox,{checked:en,onCheckedChange:e=>el(!0===e)}),T("unlimited")]}):null]})]}),"FAILURE"===ea?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:T("failureStrategy")}),(0,t.jsxs)(f.Select,{value:eo,onValueChange:e=>ed(e),children:[(0,t.jsx)(f.SelectTrigger,{children:(0,t.jsx)(f.SelectValue,{})}),(0,t.jsxs)(f.SelectContent,{children:[(0,t.jsx)(f.SelectItem,{value:"FAILED_JOBS",children:T("failedJobs")}),(0,t.jsx)(f.SelectItem,{value:"ALL_JOBS",children:T("allJobs")})]})]})]}):null,ex.length?(0,t.jsxs)("div",{className:"space-y-2 border-t pt-4",children:[(0,t.jsx)(x.Label,{children:T("savedRules")}),ex.map(e=>(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3 rounded-md border p-3",children:[(0,t.jsxs)("div",{className:"min-w-0 space-y-1",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)(u.Badge,{variant:e.enabled?"default":"secondary",children:T(`statuses.${e.status}`)}),(0,t.jsx)("span",{className:"text-sm font-medium",children:T(`scopes.${e.scope}`)})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:T("ruleProgress",{retries:e.executions.reduce((e,t)=>e+t.automaticRetries,0),executions:e.executions.length})}),e.lastError?(0,t.jsx)("p",{className:"text-xs text-destructive",children:e.lastError}):null]}),(0,t.jsxs)("div",{className:"flex gap-1",children:[(0,t.jsx)(p.Button,{"aria-label":T("edit"),onClick:()=>void eb(e),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(s.Pencil,{})}),(0,t.jsx)(p.Button,{"aria-label":e.enabled?T("pause"):T("resume"),onClick:()=>void ev(e),size:"icon-sm",variant:"ghost",children:e.enabled?(0,t.jsx)(a.Pause,{}):(0,t.jsx)(i.Play,{})}),(0,t.jsx)(p.Button,{"aria-label":T("delete"),onClick:()=>void ej(e.id),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(l.Trash2,{})})]})]},e.id))]}):null]}),(0,t.jsxs)(m.DialogFooter,{children:[(0,t.jsx)(p.Button,{onClick:()=>D(!1),variant:"outline",children:T("close")}),(0,t.jsxs)(p.Button,{disabled:B||$||!F,onClick:()=>void ef(),children:[$?(0,t.jsx)(v.Spinner,{}):(0,t.jsx)(n.Save,{})," ",T("save")]})]})]})]})}])},52253,e=>{"use strict";var t=e.i(843476),a=e.i(688194),s=e.i(77071),i=e.i(741120);let r=(0,e.i(456420).default)("scan-search",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]]);var n=e.i(573474),l=e.i(861745),o=e.i(948148),d=e.i(271645),c=e.i(929592),u=e.i(519455),p=e.i(257428),h=e.i(793479),m=e.i(110204),g=e.i(967489),x=e.i(987968),f=e.i(637611),v=e.i(360583);let j=new Set(["SUCCEEDED","FAILED","CANCELLED","TIMED_OUT"]);e.s(["DEFAULT_EXPORT_SETTINGS",0,{method:"DEBUGGING",signingStyle:"AUTOMATIC",teamId:null,signingCertificate:null,provisioningProfiles:{},uploadSymbols:!0,manageAppVersionAndBuildNumber:!0,testFlightInternalTestingOnly:!1,stripSwiftSymbols:!0,thinning:null,iCloudContainerEnvironment:null,distributionBundleIdentifier:null},"ExportSettingsForm",0,function({value:e,onChange:b,onParseSigningRequirements:y,disabled:S=!1}){let I=(0,o.useTranslations)("builds"),C=(0,o.useTranslations)("provisioningProfiles"),w=(0,l.useLocale)(),[k,N]=(0,d.useState)(()=>Object.keys(e.provisioningProfiles).map(e=>({bundleId:e,name:e,target:e,platform:null,teamId:null,provisioningProfileSpecifier:null}))),[R,A]=(0,d.useState)(!1),[E,T]=(0,d.useState)(!1),[P,D]=(0,d.useState)(null),[B,L]=(0,d.useState)(""),[$,O]=(0,d.useState)(()=>new Set(Object.keys(e.provisioningProfiles))),M=(0,d.useId)(),[_,q]=(0,d.useState)(null),[U,V]=(0,d.useState)(null),[G,F]=(0,d.useState)([]),[H,z]=(0,d.useState)(!1),W=(0,d.useCallback)(async()=>{try{let e=await (0,f.controlPlaneRequest)(`query ExportSigningInventory {
24
+ }`,{id:e.id,enabled:!e.enabled}),await ep()}catch(e){_(e instanceof Error?e.message:String(e))}},ej=async e=>{try{await (0,b.controlPlaneRequest)("mutation DeleteGitHubAutoRetryRule($id: ID!) { deleteGitHubAutoRetryRule(id: $id) }",{id:e}),await ep()}catch(e){_(e instanceof Error?e.message:String(e))}},eb=async e=>{let t="WORKFLOW_RUN"!==e.scope;if(t&&0===z.length){$(!0),_(null);try{await eh()}catch(e){_(e instanceof Error?e.message:String(e));return}finally{$(!1)}}G(e.id),X(t),Z(e.allWorkflows),es(e.mode),er(String(e.retryLimit??3)),el("FAILURE"===e.mode&&null===e.retryLimit),ed(e.failureStrategy),et(new Set(e.targets.map(e=>{let a=t?e.workflowId:e.workflowRunId;return e.jobName?`job:${a}:${e.jobName}`:`workflow:${a}`})))};return(0,t.jsxs)(m.Dialog,{onOpenChange:D,open:P,children:[(0,t.jsx)(m.DialogTrigger,{asChild:!0,children:E??(0,t.jsxs)(p.Button,{size:"sm",variant:"outline",children:[(0,t.jsx)(r.RotateCcw,{})," ",T("autoRetry")]})}),(0,t.jsxs)(m.DialogContent,{className:"max-h-[90vh] grid-cols-[minmax(0,1fr)] overflow-y-auto sm:max-w-2xl",children:[(0,t.jsxs)(m.DialogHeader,{children:[(0,t.jsx)(m.DialogTitle,{children:T("title")}),(0,t.jsx)(m.DialogDescription,{children:T("description")})]}),M?(0,t.jsx)(c.Alert,{variant:"destructive",children:(0,t.jsx)(c.AlertDescription,{children:M})}):null,B?(0,t.jsxs)("div",{className:"flex items-center gap-2 py-6 text-sm text-muted-foreground",children:[(0,t.jsx)(v.Spinner,{})," ",T("loading")]}):(0,t.jsxs)("div",{className:"space-y-5",children:[F?null:(0,t.jsx)(c.Alert,{children:(0,t.jsx)(c.AlertDescription,{children:T("credentialsRequired")})}),C&&!R?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:T("scope")}),(0,t.jsxs)(j.ToggleGroup,{onValueChange:e=>{if(!e)return;let t="future"===e;X(t),Z(t),t&&0===z.length&&eh().catch(e=>_(e instanceof Error?e.message:String(e))),et(t?new Set:new Set(J.map(e=>`workflow:${e.id}`)))},type:"single",value:Y?"future":"current",variant:"outline",children:[(0,t.jsx)(j.ToggleGroupItem,{value:"current",children:T("currentRuns")}),(0,t.jsx)(j.ToggleGroupItem,{value:"future",children:T("futureRuns")})]})]}):null,(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:T("targets")}),Y?(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-md border p-3",children:[(0,t.jsx)(h.Checkbox,{checked:Q,onCheckedChange:e=>Z(!0===e)}),(0,t.jsx)("span",{className:"font-medium",children:T("allWorkflows")})]}):null,Q?null:(0,t.jsxs)("div",{className:"max-h-64 space-y-2 overflow-y-auto rounded-md border p-2",children:[eg.map(e=>(0,t.jsxs)("div",{className:"rounded-md border p-2",children:[(0,t.jsxs)("label",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(h.Checkbox,{checked:ee.has(`workflow:${e.id}`),onCheckedChange:t=>{var a,s;return a=e.id,s=!0===t,void et(e=>{let t=new Set(e),i=`workflow:${a}`;if(s)for(let e of(t.add(i),t))e.startsWith(`job:${a}:`)&&t.delete(e);else t.delete(i);return t})}}),e.name]}),e.jobNames.length?(0,t.jsx)("div",{className:"ml-6 mt-2 space-y-1",children:e.jobNames.map(a=>(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(h.Checkbox,{checked:ee.has(`job:${e.id}:${a}`),onCheckedChange:t=>{var s,i;return s=e.id,i=!0===t,void et(e=>{let t=new Set(e);t.delete(`workflow:${s}`);let r=`job:${s}:${a}`;return i?t.add(r):t.delete(r),t})}}),a]},a))}):null]},e.id)),eg.length?null:(0,t.jsx)("p",{className:"p-2 text-sm text-muted-foreground",children:T("noWorkflows")})]})]}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:T("mode")}),(0,t.jsxs)(f.Select,{value:ea,onValueChange:e=>es(e),children:[(0,t.jsx)(f.SelectTrigger,{children:(0,t.jsx)(f.SelectValue,{})}),(0,t.jsxs)(f.SelectContent,{children:[(0,t.jsx)(f.SelectItem,{value:"FAILURE",children:T("failureMode")}),(0,t.jsx)(f.SelectItem,{value:"COUNT",children:T("countMode")})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{htmlFor:"auto-retry-limit",children:T("retryLimit")}),(0,t.jsx)(g.Input,{disabled:"FAILURE"===ea&&en,id:"auto-retry-limit",max:100,min:1,onChange:e=>er(e.target.value),type:"number",value:ei}),"FAILURE"===ea?(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(h.Checkbox,{checked:en,onCheckedChange:e=>el(!0===e)}),T("unlimited")]}):null]})]}),"FAILURE"===ea?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(x.Label,{children:T("failureStrategy")}),(0,t.jsxs)(f.Select,{value:eo,onValueChange:e=>ed(e),children:[(0,t.jsx)(f.SelectTrigger,{children:(0,t.jsx)(f.SelectValue,{})}),(0,t.jsxs)(f.SelectContent,{children:[(0,t.jsx)(f.SelectItem,{value:"FAILED_JOBS",children:T("failedJobs")}),(0,t.jsx)(f.SelectItem,{value:"ALL_JOBS",children:T("allJobs")})]})]})]}):null,ex.length?(0,t.jsxs)("div",{className:"space-y-2 border-t pt-4",children:[(0,t.jsx)(x.Label,{children:T("savedRules")}),ex.map(e=>(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3 rounded-md border p-3",children:[(0,t.jsxs)("div",{className:"min-w-0 space-y-1",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)(u.Badge,{variant:e.enabled?"default":"secondary",children:T(`statuses.${e.status}`)}),(0,t.jsx)("span",{className:"text-sm font-medium",children:T(`scopes.${e.scope}`)})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:T("ruleProgress",{retries:e.executions.reduce((e,t)=>e+t.automaticRetries,0),executions:e.executions.length})}),e.lastError?(0,t.jsx)("p",{className:"text-xs text-destructive",children:e.lastError}):null]}),(0,t.jsxs)("div",{className:"flex gap-1",children:[(0,t.jsx)(p.Button,{"aria-label":T("edit"),onClick:()=>void eb(e),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(s.Pencil,{})}),(0,t.jsx)(p.Button,{"aria-label":e.enabled?T("pause"):T("resume"),onClick:()=>void ev(e),size:"icon-sm",variant:"ghost",children:e.enabled?(0,t.jsx)(a.Pause,{}):(0,t.jsx)(i.Play,{})}),(0,t.jsx)(p.Button,{"aria-label":T("delete"),onClick:()=>void ej(e.id),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(l.Trash2,{})})]})]},e.id))]}):null]}),(0,t.jsxs)(m.DialogFooter,{children:[(0,t.jsx)(p.Button,{onClick:()=>D(!1),variant:"outline",children:T("close")}),(0,t.jsxs)(p.Button,{disabled:B||L||!F,onClick:()=>void ef(),children:[L?(0,t.jsx)(v.Spinner,{}):(0,t.jsx)(n.Save,{})," ",T("save")]})]})]})]})}])},52253,e=>{"use strict";var t=e.i(843476),a=e.i(688194),s=e.i(77071),i=e.i(741120);let r=(0,e.i(456420).default)("scan-search",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]]);var n=e.i(573474),l=e.i(861745),o=e.i(948148),d=e.i(271645),c=e.i(929592),u=e.i(519455),p=e.i(257428),h=e.i(793479),m=e.i(110204),g=e.i(967489),x=e.i(987968),f=e.i(637611),v=e.i(360583);let j=new Set(["SUCCEEDED","FAILED","CANCELLED","TIMED_OUT"]);e.s(["DEFAULT_EXPORT_SETTINGS",0,{method:"DEBUGGING",signingStyle:"AUTOMATIC",teamId:null,signingCertificate:null,provisioningProfiles:{},uploadSymbols:!0,manageAppVersionAndBuildNumber:!0,testFlightInternalTestingOnly:!1,stripSwiftSymbols:!0,thinning:null,iCloudContainerEnvironment:null,distributionBundleIdentifier:null},"ExportSettingsForm",0,function({value:e,onChange:b,onParseSigningRequirements:y,disabled:S=!1}){let I=(0,o.useTranslations)("builds"),C=(0,o.useTranslations)("provisioningProfiles"),w=(0,l.useLocale)(),[k,N]=(0,d.useState)(()=>Object.keys(e.provisioningProfiles).map(e=>({bundleId:e,name:e,target:e,platform:null,teamId:null,provisioningProfileSpecifier:null}))),[R,A]=(0,d.useState)(!1),[E,T]=(0,d.useState)(!1),[P,D]=(0,d.useState)(null),[B,$]=(0,d.useState)(""),[L,O]=(0,d.useState)(()=>new Set(Object.keys(e.provisioningProfiles))),M=(0,d.useId)(),[_,q]=(0,d.useState)(null),[U,V]=(0,d.useState)(null),[G,F]=(0,d.useState)([]),[H,z]=(0,d.useState)(!1),W=(0,d.useCallback)(async()=>{try{let e=await (0,f.controlPlaneRequest)(`query ExportSigningInventory {
25
25
  signingAgents { supported }
26
26
  signingCertificates { sha1 name teamId hasPrivateKey installedAgents { id } }
27
27
  signingProfiles {
@@ -34,7 +34,7 @@
34
34
  agentJob(id: $id) { id agentId status error }
35
35
  }`,{id:e});t.agentJob&&J(t.agentJob)}catch{}}))};a();let s=window.setInterval(()=>void a(),2e3);return()=>{t.forEach(e=>e()),window.clearInterval(s)}},[J,K]),(0,d.useEffect)(()=>{if(!G.length||!G.every(e=>j.has(e.status)))return;let e=window.setTimeout(()=>{W().then(()=>{let e=G.filter(e=>"SUCCEEDED"!==e.status);e.length&&V(e.map(e=>e.error||`${e.agentId}: ${e.status}`).join("; ")),F([])})},0);return()=>window.clearTimeout(e)},[W,G]);let Y=async()=>{z(!0),V(null),F([]);try{let e=await (0,f.controlPlaneRequest)(`mutation RefreshExportSigningInventory {
36
36
  refreshSigningAssets { id agentId status error }
37
- }`);F(e.refreshSigningAssets),e.refreshSigningAssets.length||V(C("noRefreshAgents"))}catch(e){V(e instanceof Error?e.message:String(e))}finally{z(!1)}},X=H||G.some(e=>!j.has(e.status)),Q=G.filter(e=>j.has(e.status)).length,Z=(0,d.useMemo)(()=>[...new Set([..._?.certificates??[],..._?.profiles??[]].flatMap(e=>e.teamId??[]))],[_]),ee=_?.certificates.find(t=>t.sha1===e.signingCertificate),et=Object.values(e.provisioningProfiles),ea=et.flatMap(e=>{let t=_?.profiles.find(t=>t.uuid===e);return t?[t]:[]}),es=et.length>0&&ea.length===et.length&&ea.every(e=>e.certificateSha1s.length>0),ei=t=>es?ea.every(e=>e.certificateSha1s.map(e=>e.toUpperCase()).includes(t.sha1.toUpperCase())):!e.teamId||t.teamId===e.teamId,er=(_?.certificates??[]).filter(e=>e.hasPrivateKey).sort((e,t)=>Number(ei(t))-Number(ei(e))||e.name.localeCompare(t.name)),en=er.some(t=>t.sha1===e.signingCertificate),el=(t,a)=>b({...e,[t]:a}),eo=(t,s=e.teamId)=>(_?.profiles??[]).filter(i=>{var r,n;return i.profileType===a.EXPORT_METHOD_PROFILE_TYPES[e.method]&&!i.expired&&(0,a.profileCoversBundle)(i.bundleId,t.bundleId)&&(r=i.platforms,!(n=t.platform)||0===r.length||("watchOS"===n?["watchOS","iOS"]:"visionOS"===n?["visionOS","xrOS"]:[n]).some(e=>r.includes(e)))&&(!s||!i.teamId||i.teamId===s)}).sort((e,t)=>(t.expiresAt??"").localeCompare(e.expiresAt??"")),ed=async()=>{if(y){T(!0),D(null);try{let t=await y(),a=new Set(t.map(e=>e.bundleId)),s=k.filter(e=>$.has(e.bundleId)&&!a.has(e.bundleId)),i=[...t,...s];N(i),O(e=>new Set([...e].filter(e=>!a.has(e)))),A(!0);let r=[...new Set(t.flatMap(e=>e.teamId??[]))],n=e.teamId??(1===r.length?r[0]:null),l=Object.fromEntries(i.flatMap(t=>{let a=eo(t,n),s=e.provisioningProfiles[t.bundleId],i=t.provisioningProfileSpecifier,r=(s?_?.profiles.find(e=>e.uuid===s&&!e.expired)??s:null)??a.find(e=>e.uuid===i||e.name===i)??a[0];return r?[[t.bundleId,"string"==typeof r?r:r.uuid]]:[]}));b({...e,teamId:n,provisioningProfiles:l})}catch(e){D(e instanceof Error?e.message:String(e))}finally{T(!1)}}};return(0,t.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)] gap-4 rounded-xl border p-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)] gap-4 sm:col-span-2 sm:grid-cols-3",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{children:I("distributionMethod")}),(0,t.jsxs)(g.Select,{disabled:S,onValueChange:e=>el("method",e),value:e.method,children:[(0,t.jsx)(g.SelectTrigger,{children:(0,t.jsx)(g.SelectValue,{})}),(0,t.jsx)(g.SelectContent,{children:a.BUILD_EXPORT_METHODS.map(e=>(0,t.jsx)(g.SelectItem,{value:e,children:I(`exportMethod.${e}`)},e))})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{children:I("signingStyle")}),(0,t.jsxs)(g.Select,{disabled:S,onValueChange:e=>el("signingStyle",e),value:e.signingStyle,children:[(0,t.jsx)(g.SelectTrigger,{children:(0,t.jsx)(g.SelectValue,{})}),(0,t.jsxs)(g.SelectContent,{children:[(0,t.jsx)(g.SelectItem,{value:"AUTOMATIC",children:I("automatic")}),(0,t.jsx)(g.SelectItem,{value:"MANUAL",children:I("manual")})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{children:I("developmentTeam")}),Z.length?(0,t.jsxs)(g.Select,{disabled:S,onValueChange:e=>el("teamId",e),value:e.teamId??"",children:[(0,t.jsx)(g.SelectTrigger,{children:(0,t.jsx)(g.SelectValue,{placeholder:"ABCDE12345"})}),(0,t.jsx)(g.SelectContent,{children:Z.map(e=>(0,t.jsx)(g.SelectItem,{value:e,children:e},e))})]}):(0,t.jsx)(h.Input,{disabled:S,onChange:e=>el("teamId",e.target.value||null),placeholder:"ABCDE12345",value:e.teamId??""})]})]}),(0,t.jsxs)("div",{className:"space-y-2 sm:col-span-2",children:[(0,t.jsx)(m.Label,{children:I("signingCertificate")}),_?.certificates.length?(0,t.jsxs)(g.Select,{disabled:S,onValueChange:e=>el("signingCertificate","AUTOMATIC"===e?null:e),value:e.signingCertificate??"AUTOMATIC",children:[(0,t.jsx)(g.SelectTrigger,{className:"w-full min-w-0",children:(0,t.jsx)(g.SelectValue,{})}),(0,t.jsxs)(g.SelectContent,{children:[(0,t.jsx)(g.SelectItem,{value:"AUTOMATIC",children:I("certificateAutomatic")}),e.signingCertificate&&!en&&(0,t.jsxs)(g.SelectItem,{value:e.signingCertificate,children:[e.signingCertificate," · ",I("savedValueUnavailable")]}),er.map(e=>(0,t.jsxs)(g.SelectItem,{className:ei(e)?void 0:"text-muted-foreground",value:e.sha1,children:[e.name," · ",e.sha1.slice(0,10),"…",!ei(e)&&` \xb7 ${I("certificateMayNotMatch")}`]},e.sha1))]})]}):(0,t.jsx)(h.Input,{disabled:S,onChange:e=>el("signingCertificate",e.target.value||null),placeholder:I("certificateAutomatic"),value:e.signingCertificate??""})]}),ee&&_&&ee.installedAgents.length<_.agentCount&&(0,t.jsx)(c.Alert,{className:"sm:col-span-2",children:(0,t.jsx)(c.AlertDescription,{children:I("signingAssetCoverageWarning",{installed:ee.installedAgents.length,total:_.agentCount})})}),"MANUAL"===e.signingStyle&&(0,t.jsxs)("div",{className:"space-y-2 sm:col-span-2",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(m.Label,{children:I("provisioningProfiles")}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:I("parseProvisioningProfilesHelp")})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(u.Button,{disabled:S||E||X||!_,onClick:()=>void Y(),size:"sm",type:"button",variant:"outline",children:[(0,t.jsx)(i.RefreshCw,{className:X?"animate-spin":void 0}),C("refresh")]}),y&&(0,t.jsxs)(u.Button,{disabled:S||E||X||!_,onClick:()=>void ed(),size:"sm",type:"button",variant:"outline",children:[E?(0,t.jsx)(x.Spinner,{}):(0,t.jsx)(r,{}),I(R?"reparseProvisioningProfiles":"parseProvisioningProfiles")]})]})]}),G.length>0&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:C("refreshProgress",{complete:Q,total:G.length})}),U&&(0,t.jsx)(c.Alert,{variant:"destructive",children:(0,t.jsx)(c.AlertDescription,{children:U})}),(0,t.jsxs)("div",{className:"grid gap-2 rounded-lg border border-dashed p-3 sm:grid-cols-[minmax(0,1fr)_auto]",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{htmlFor:M,children:I("manualBundleIdentifier")}),(0,t.jsx)(h.Input,{disabled:S,id:M,onChange:e=>L(e.target.value),placeholder:I("manualBundleIdentifierPlaceholder"),value:B}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:I("manualBundleIdentifierHelp")})]}),(0,t.jsxs)(u.Button,{className:"sm:self-end",disabled:S||!B.trim()||k.some(e=>e.bundleId===B.trim()),onClick:()=>{let t=B.trim();!t||k.some(e=>e.bundleId===t)||(N(a=>[...a,{bundleId:t,name:t,target:t,platform:null,teamId:e.teamId,provisioningProfileSpecifier:null}]),O(e=>new Set(e).add(t)),L(""))},type:"button",variant:"outline",children:[(0,t.jsx)(s.Plus,{}),I("addBundleIdentifier")]})]}),P&&(0,t.jsx)(c.Alert,{variant:"destructive",children:(0,t.jsx)(c.AlertDescription,{children:P})}),!k.length&&R&&(0,t.jsx)("p",{className:"rounded-lg border border-dashed p-4 text-sm text-muted-foreground",children:I("noSigningRequirements")}),!k.length&&!R&&(0,t.jsx)("p",{className:"rounded-lg border border-dashed p-4 text-sm text-muted-foreground",children:I("parseProvisioningProfilesEmpty")}),k.map(a=>{let s,i=eo(a),r=new Set(i.map(e=>e.uuid)),l=(s=new Set(eo(a).map(e=>e.uuid)),(_?.profiles??[]).filter(e=>!e.expired).sort((e,t)=>Number(s.has(t.uuid))-Number(s.has(e.uuid))||(t.expiresAt??"").localeCompare(e.expiresAt??"")||e.name.localeCompare(t.name))),o=e.provisioningProfiles[a.bundleId]??"",d=l.some(e=>e.uuid===o);return(0,t.jsxs)("div",{className:"rounded-lg border p-3",children:[(0,t.jsxs)("div",{className:"mb-2 flex items-start justify-between gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:a.name}),(0,t.jsx)("p",{className:"break-all font-mono text-xs text-muted-foreground",children:a.bundleId}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:[a.target,a.platform,a.teamId].filter(Boolean).join(" · ")})]}),$.has(a.bundleId)&&(0,t.jsx)(u.Button,{"aria-label":I("removeBundleIdentifier",{bundleId:a.bundleId}),disabled:S,onClick:()=>{var t;let s;return t=a.bundleId,N(e=>e.filter(e=>e.bundleId!==t)),O(e=>{let a=new Set(e);return a.delete(t),a}),s={...e.provisioningProfiles},void(delete s[t],el("provisioningProfiles",s))},size:"icon-sm",type:"button",variant:"ghost",children:(0,t.jsx)(n.Trash2,{})})]}),(0,t.jsxs)(g.Select,{disabled:S||!_,onValueChange:t=>el("provisioningProfiles",{...e.provisioningProfiles,[a.bundleId]:t}),value:o,children:[(0,t.jsx)(g.SelectTrigger,{className:"w-full min-w-0",children:(0,t.jsx)(g.SelectValue,{placeholder:I("selectProfile")})}),(0,t.jsxs)(g.SelectContent,{children:[o&&!d&&(0,t.jsxs)(g.SelectItem,{value:o,children:[o," · ",I("savedValueUnavailable")]}),l.map(e=>{let a;return(0,t.jsxs)(g.SelectItem,{className:r.has(e.uuid)?void 0:"text-muted-foreground",value:e.uuid,children:[(a=e.expiresAt?(0,v.formatDateValue)(e.expiresAt,"short",{locale:w,showTime:!1}):null)?`${e.name} — ${a}`:e.name,!r.has(e.uuid)&&` \xb7 ${I("profileMayNotMatch")}`]},e.uuid)})]})]}),!i.length&&(0,t.jsx)("p",{className:"mt-1 text-xs text-destructive",children:I("noMatchingProfiles")})]},a.bundleId)})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{children:I("thinning")}),(0,t.jsx)(h.Input,{disabled:S,onChange:e=>el("thinning",e.target.value||null),placeholder:"<none> / <thin-for-all-variants>",value:e.thinning??""})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{children:I("iCloudEnvironment")}),(0,t.jsxs)(g.Select,{disabled:S,onValueChange:e=>el("iCloudContainerEnvironment","NONE"===e?null:e),value:e.iCloudContainerEnvironment??"NONE",children:[(0,t.jsx)(g.SelectTrigger,{children:(0,t.jsx)(g.SelectValue,{})}),(0,t.jsxs)(g.SelectContent,{children:[(0,t.jsx)(g.SelectItem,{value:"NONE",children:"—"}),(0,t.jsx)(g.SelectItem,{value:"Development",children:"Development"}),(0,t.jsx)(g.SelectItem,{value:"Production",children:"Production"})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2 sm:col-span-2",children:[(0,t.jsx)(m.Label,{children:I("distributionBundleIdentifier")}),(0,t.jsx)(h.Input,{disabled:S,onChange:e=>el("distributionBundleIdentifier",e.target.value||null),value:e.distributionBundleIdentifier??""})]}),[["uploadSymbols","uploadSymbols"],["manageAppVersionAndBuildNumber","manageBuildNumber"],["testFlightInternalTestingOnly","internalTestFlightOnly"],["stripSwiftSymbols","stripSwiftSymbols"]].map(([a,s])=>(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(p.Checkbox,{checked:e[a],disabled:S,onCheckedChange:e=>el(a,!!e)}),I(s)]},a)),(0,t.jsx)("p",{className:"text-xs text-muted-foreground sm:col-span-2",children:I("localExportOnly")})]})}],52253)},390615,e=>{"use strict";var t=e.i(843476),a=e.i(711241),s=e.i(835079),i=e.i(856522),r=e.i(948148),n=e.i(271645),l=e.i(778434),o=e.i(955370),d=e.i(716327),c=e.i(93384),u=e.i(77071),p=e.i(741120),h=e.i(250832),m=e.i(573474),g=e.i(861745),x=e.i(929592),f=e.i(487486),v=e.i(519455),j=e.i(515288),b=e.i(257428),y=e.i(755146),S=e.i(776639),I=e.i(82612),C=e.i(793479),w=e.i(110204),k=e.i(967489),N=e.i(987968),R=e.i(624687),A=e.i(462777),E=e.i(637611),T=e.i(360583),P=e.i(687862),D=e.i(688194),B=e.i(52253);let L=`
37
+ }`);F(e.refreshSigningAssets),e.refreshSigningAssets.length||V(C("noRefreshAgents"))}catch(e){V(e instanceof Error?e.message:String(e))}finally{z(!1)}},X=H||G.some(e=>!j.has(e.status)),Q=G.filter(e=>j.has(e.status)).length,Z=(0,d.useMemo)(()=>[...new Set([..._?.certificates??[],..._?.profiles??[]].flatMap(e=>e.teamId??[]))],[_]),ee=_?.certificates.find(t=>t.sha1===e.signingCertificate),et=Object.values(e.provisioningProfiles),ea=et.flatMap(e=>{let t=_?.profiles.find(t=>t.uuid===e);return t?[t]:[]}),es=et.length>0&&ea.length===et.length&&ea.every(e=>e.certificateSha1s.length>0),ei=t=>es?ea.every(e=>e.certificateSha1s.map(e=>e.toUpperCase()).includes(t.sha1.toUpperCase())):!e.teamId||t.teamId===e.teamId,er=(_?.certificates??[]).filter(e=>e.hasPrivateKey).sort((e,t)=>Number(ei(t))-Number(ei(e))||e.name.localeCompare(t.name)),en=er.some(t=>t.sha1===e.signingCertificate),el=(t,a)=>b({...e,[t]:a}),eo=(t,s=e.teamId)=>(_?.profiles??[]).filter(i=>{var r,n;return i.profileType===a.EXPORT_METHOD_PROFILE_TYPES[e.method]&&!i.expired&&(0,a.profileCoversBundle)(i.bundleId,t.bundleId)&&(r=i.platforms,!(n=t.platform)||0===r.length||("watchOS"===n?["watchOS","iOS"]:"visionOS"===n?["visionOS","xrOS"]:[n]).some(e=>r.includes(e)))&&(!s||!i.teamId||i.teamId===s)}).sort((e,t)=>(t.expiresAt??"").localeCompare(e.expiresAt??"")),ed=async()=>{if(y){T(!0),D(null);try{let t=await y(),a=new Set(t.map(e=>e.bundleId)),s=k.filter(e=>L.has(e.bundleId)&&!a.has(e.bundleId)),i=[...t,...s];N(i),O(e=>new Set([...e].filter(e=>!a.has(e)))),A(!0);let r=[...new Set(t.flatMap(e=>e.teamId??[]))],n=e.teamId??(1===r.length?r[0]:null),l=Object.fromEntries(i.flatMap(t=>{let a=eo(t,n),s=e.provisioningProfiles[t.bundleId],i=t.provisioningProfileSpecifier,r=(s?_?.profiles.find(e=>e.uuid===s&&!e.expired)??s:null)??a.find(e=>e.uuid===i||e.name===i)??a[0];return r?[[t.bundleId,"string"==typeof r?r:r.uuid]]:[]}));b({...e,teamId:n,provisioningProfiles:l})}catch(e){D(e instanceof Error?e.message:String(e))}finally{T(!1)}}};return(0,t.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)] gap-4 rounded-xl border p-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)] gap-4 sm:col-span-2 sm:grid-cols-3",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{children:I("distributionMethod")}),(0,t.jsxs)(g.Select,{disabled:S,onValueChange:e=>el("method",e),value:e.method,children:[(0,t.jsx)(g.SelectTrigger,{children:(0,t.jsx)(g.SelectValue,{})}),(0,t.jsx)(g.SelectContent,{children:a.BUILD_EXPORT_METHODS.map(e=>(0,t.jsx)(g.SelectItem,{value:e,children:I(`exportMethod.${e}`)},e))})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{children:I("signingStyle")}),(0,t.jsxs)(g.Select,{disabled:S,onValueChange:e=>el("signingStyle",e),value:e.signingStyle,children:[(0,t.jsx)(g.SelectTrigger,{children:(0,t.jsx)(g.SelectValue,{})}),(0,t.jsxs)(g.SelectContent,{children:[(0,t.jsx)(g.SelectItem,{value:"AUTOMATIC",children:I("automatic")}),(0,t.jsx)(g.SelectItem,{value:"MANUAL",children:I("manual")})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{children:I("developmentTeam")}),Z.length?(0,t.jsxs)(g.Select,{disabled:S,onValueChange:e=>el("teamId",e),value:e.teamId??"",children:[(0,t.jsx)(g.SelectTrigger,{children:(0,t.jsx)(g.SelectValue,{placeholder:"ABCDE12345"})}),(0,t.jsx)(g.SelectContent,{children:Z.map(e=>(0,t.jsx)(g.SelectItem,{value:e,children:e},e))})]}):(0,t.jsx)(h.Input,{disabled:S,onChange:e=>el("teamId",e.target.value||null),placeholder:"ABCDE12345",value:e.teamId??""})]})]}),(0,t.jsxs)("div",{className:"space-y-2 sm:col-span-2",children:[(0,t.jsx)(m.Label,{children:I("signingCertificate")}),_?.certificates.length?(0,t.jsxs)(g.Select,{disabled:S,onValueChange:e=>el("signingCertificate","AUTOMATIC"===e?null:e),value:e.signingCertificate??"AUTOMATIC",children:[(0,t.jsx)(g.SelectTrigger,{className:"w-full min-w-0",children:(0,t.jsx)(g.SelectValue,{})}),(0,t.jsxs)(g.SelectContent,{children:[(0,t.jsx)(g.SelectItem,{value:"AUTOMATIC",children:I("certificateAutomatic")}),e.signingCertificate&&!en&&(0,t.jsxs)(g.SelectItem,{value:e.signingCertificate,children:[e.signingCertificate," · ",I("savedValueUnavailable")]}),er.map(e=>(0,t.jsxs)(g.SelectItem,{className:ei(e)?void 0:"text-muted-foreground",value:e.sha1,children:[e.name," · ",e.sha1.slice(0,10),"…",!ei(e)&&` \xb7 ${I("certificateMayNotMatch")}`]},e.sha1))]})]}):(0,t.jsx)(h.Input,{disabled:S,onChange:e=>el("signingCertificate",e.target.value||null),placeholder:I("certificateAutomatic"),value:e.signingCertificate??""})]}),ee&&_&&ee.installedAgents.length<_.agentCount&&(0,t.jsx)(c.Alert,{className:"sm:col-span-2",children:(0,t.jsx)(c.AlertDescription,{children:I("signingAssetCoverageWarning",{installed:ee.installedAgents.length,total:_.agentCount})})}),"MANUAL"===e.signingStyle&&(0,t.jsxs)("div",{className:"space-y-2 sm:col-span-2",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(m.Label,{children:I("provisioningProfiles")}),(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:I("parseProvisioningProfilesHelp")})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(u.Button,{disabled:S||E||X||!_,onClick:()=>void Y(),size:"sm",type:"button",variant:"outline",children:[(0,t.jsx)(i.RefreshCw,{className:X?"animate-spin":void 0}),C("refresh")]}),y&&(0,t.jsxs)(u.Button,{disabled:S||E||X||!_,onClick:()=>void ed(),size:"sm",type:"button",variant:"outline",children:[E?(0,t.jsx)(x.Spinner,{}):(0,t.jsx)(r,{}),I(R?"reparseProvisioningProfiles":"parseProvisioningProfiles")]})]})]}),G.length>0&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:C("refreshProgress",{complete:Q,total:G.length})}),U&&(0,t.jsx)(c.Alert,{variant:"destructive",children:(0,t.jsx)(c.AlertDescription,{children:U})}),(0,t.jsxs)("div",{className:"grid gap-2 rounded-lg border border-dashed p-3 sm:grid-cols-[minmax(0,1fr)_auto]",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{htmlFor:M,children:I("manualBundleIdentifier")}),(0,t.jsx)(h.Input,{disabled:S,id:M,onChange:e=>$(e.target.value),placeholder:I("manualBundleIdentifierPlaceholder"),value:B}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:I("manualBundleIdentifierHelp")})]}),(0,t.jsxs)(u.Button,{className:"sm:self-end",disabled:S||!B.trim()||k.some(e=>e.bundleId===B.trim()),onClick:()=>{let t=B.trim();!t||k.some(e=>e.bundleId===t)||(N(a=>[...a,{bundleId:t,name:t,target:t,platform:null,teamId:e.teamId,provisioningProfileSpecifier:null}]),O(e=>new Set(e).add(t)),$(""))},type:"button",variant:"outline",children:[(0,t.jsx)(s.Plus,{}),I("addBundleIdentifier")]})]}),P&&(0,t.jsx)(c.Alert,{variant:"destructive",children:(0,t.jsx)(c.AlertDescription,{children:P})}),!k.length&&R&&(0,t.jsx)("p",{className:"rounded-lg border border-dashed p-4 text-sm text-muted-foreground",children:I("noSigningRequirements")}),!k.length&&!R&&(0,t.jsx)("p",{className:"rounded-lg border border-dashed p-4 text-sm text-muted-foreground",children:I("parseProvisioningProfilesEmpty")}),k.map(a=>{let s,i=eo(a),r=new Set(i.map(e=>e.uuid)),l=(s=new Set(eo(a).map(e=>e.uuid)),(_?.profiles??[]).filter(e=>!e.expired).sort((e,t)=>Number(s.has(t.uuid))-Number(s.has(e.uuid))||(t.expiresAt??"").localeCompare(e.expiresAt??"")||e.name.localeCompare(t.name))),o=e.provisioningProfiles[a.bundleId]??"",d=l.some(e=>e.uuid===o);return(0,t.jsxs)("div",{className:"rounded-lg border p-3",children:[(0,t.jsxs)("div",{className:"mb-2 flex items-start justify-between gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:a.name}),(0,t.jsx)("p",{className:"break-all font-mono text-xs text-muted-foreground",children:a.bundleId}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:[a.target,a.platform,a.teamId].filter(Boolean).join(" · ")})]}),L.has(a.bundleId)&&(0,t.jsx)(u.Button,{"aria-label":I("removeBundleIdentifier",{bundleId:a.bundleId}),disabled:S,onClick:()=>{var t;let s;return t=a.bundleId,N(e=>e.filter(e=>e.bundleId!==t)),O(e=>{let a=new Set(e);return a.delete(t),a}),s={...e.provisioningProfiles},void(delete s[t],el("provisioningProfiles",s))},size:"icon-sm",type:"button",variant:"ghost",children:(0,t.jsx)(n.Trash2,{})})]}),(0,t.jsxs)(g.Select,{disabled:S||!_,onValueChange:t=>el("provisioningProfiles",{...e.provisioningProfiles,[a.bundleId]:t}),value:o,children:[(0,t.jsx)(g.SelectTrigger,{className:"w-full min-w-0",children:(0,t.jsx)(g.SelectValue,{placeholder:I("selectProfile")})}),(0,t.jsxs)(g.SelectContent,{children:[o&&!d&&(0,t.jsxs)(g.SelectItem,{value:o,children:[o," · ",I("savedValueUnavailable")]}),l.map(e=>{let a;return(0,t.jsxs)(g.SelectItem,{className:r.has(e.uuid)?void 0:"text-muted-foreground",value:e.uuid,children:[(a=e.expiresAt?(0,v.formatDateValue)(e.expiresAt,"short",{locale:w,showTime:!1}):null)?`${e.name} — ${a}`:e.name,!r.has(e.uuid)&&` \xb7 ${I("profileMayNotMatch")}`]},e.uuid)})]})]}),!i.length&&(0,t.jsx)("p",{className:"mt-1 text-xs text-destructive",children:I("noMatchingProfiles")})]},a.bundleId)})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{children:I("thinning")}),(0,t.jsx)(h.Input,{disabled:S,onChange:e=>el("thinning",e.target.value||null),placeholder:"<none> / <thin-for-all-variants>",value:e.thinning??""})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(m.Label,{children:I("iCloudEnvironment")}),(0,t.jsxs)(g.Select,{disabled:S,onValueChange:e=>el("iCloudContainerEnvironment","NONE"===e?null:e),value:e.iCloudContainerEnvironment??"NONE",children:[(0,t.jsx)(g.SelectTrigger,{children:(0,t.jsx)(g.SelectValue,{})}),(0,t.jsxs)(g.SelectContent,{children:[(0,t.jsx)(g.SelectItem,{value:"NONE",children:"—"}),(0,t.jsx)(g.SelectItem,{value:"Development",children:"Development"}),(0,t.jsx)(g.SelectItem,{value:"Production",children:"Production"})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2 sm:col-span-2",children:[(0,t.jsx)(m.Label,{children:I("distributionBundleIdentifier")}),(0,t.jsx)(h.Input,{disabled:S,onChange:e=>el("distributionBundleIdentifier",e.target.value||null),value:e.distributionBundleIdentifier??""})]}),[["uploadSymbols","uploadSymbols"],["manageAppVersionAndBuildNumber","manageBuildNumber"],["testFlightInternalTestingOnly","internalTestFlightOnly"],["stripSwiftSymbols","stripSwiftSymbols"]].map(([a,s])=>(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(p.Checkbox,{checked:e[a],disabled:S,onCheckedChange:e=>el(a,!!e)}),I(s)]},a)),(0,t.jsx)("p",{className:"text-xs text-muted-foreground sm:col-span-2",children:I("localExportOnly")})]})}],52253)},390615,e=>{"use strict";var t=e.i(843476),a=e.i(711241),s=e.i(835079),i=e.i(856522),r=e.i(948148),n=e.i(271645),l=e.i(778434),o=e.i(955370),d=e.i(716327),c=e.i(93384),u=e.i(77071),p=e.i(741120),h=e.i(250832),m=e.i(573474),g=e.i(861745),x=e.i(929592),f=e.i(487486),v=e.i(519455),j=e.i(515288),b=e.i(257428),y=e.i(755146),S=e.i(776639),I=e.i(82612),C=e.i(793479),w=e.i(110204),k=e.i(967489),N=e.i(987968),R=e.i(624687),A=e.i(462777),E=e.i(637611),T=e.i(360583),P=e.i(687862),D=e.i(688194),B=e.i(52253);let $=`
38
38
  id type
39
39
  configurations {
40
40
  id name iconKey scheme buildConfiguration defaultAction advancedSettings autoExport exportSettings createdAt updatedAt
@@ -45,8 +45,8 @@
45
45
  position
46
46
  script { id name preBuildScript postBuildScript enabledByDefault timeoutSeconds failureBehavior }
47
47
  }
48
- `;function $({codebaseId:e,checkouts:a}){let s=(0,r.useTranslations)("builds"),i=(0,g.useLocale)(),[l,o]=(0,n.useState)(a?.find(e=>e.available)?.codebaseId??e),[d,y]=(0,n.useState)(null),[S,C]=(0,n.useState)([]),[w,R]=(0,n.useState)(null),[D,B]=(0,n.useState)(!0),[M,_]=(0,n.useState)(!1),[q,U]=(0,n.useState)(null),[V,G]=(0,n.useState)(null),[F,H]=(0,n.useState)(!1),z=(0,n.useCallback)(async()=>{try{let e=await (0,E.controlPlaneRequest)(`query IosProjectSection($codebaseId: ID!) {
49
- iosAppProject(codebaseId: $codebaseId) { ${L} }
48
+ `;function L({codebaseId:e,checkouts:a}){let s=(0,r.useTranslations)("builds"),i=(0,g.useLocale)(),[l,o]=(0,n.useState)(a?.find(e=>e.available)?.codebaseId??e),[d,y]=(0,n.useState)(null),[S,C]=(0,n.useState)([]),[w,R]=(0,n.useState)(null),[D,B]=(0,n.useState)(!0),[M,_]=(0,n.useState)(!1),[q,U]=(0,n.useState)(null),[V,G]=(0,n.useState)(null),[F,H]=(0,n.useState)(!1),z=(0,n.useCallback)(async()=>{try{let e=await (0,E.controlPlaneRequest)(`query IosProjectSection($codebaseId: ID!) {
49
+ iosAppProject(codebaseId: $codebaseId) { ${$} }
50
50
  buildScripts { id name preBuildScript postBuildScript enabledByDefault timeoutSeconds failureBehavior }
51
51
  worktreeOverview {
52
52
  agents { codebases { codebase { id } worktrees { id primary } } }
@@ -57,9 +57,9 @@
57
57
  reparseBuildConfiguration(configurationId: $configurationId, worktreeId: $worktreeId, requestId: $requestId) { id status }
58
58
  }`,{configurationId:e.id,worktreeId:w,requestId:(0,A.createClientId)()}),await z()}catch(e){U(e instanceof Error?e.message:String(e))}finally{_(!1)}}},K=async e=>{_(!0);try{await (0,E.controlPlaneRequest)("mutation DeleteBuildConfiguration($id: ID!) { deleteBuildConfiguration(id: $id) }",{id:e}),await z()}catch(e){U(e instanceof Error?e.message:String(e))}finally{_(!1)}},Y=async(e,t)=>{let a=d?.allowedScripts.map(e=>e.script.id)??[],s=t?[...a,e]:a.filter(t=>t!==e);try{await (0,E.controlPlaneRequest)(`mutation SetAllowedBuildScripts($codebaseId: ID!, $scriptIds: [ID!]!) {
59
59
  setCodebaseBuildScripts(codebaseId: $codebaseId, scriptIds: $scriptIds) { id }
60
- }`,{codebaseId:l,scriptIds:s}),await z()}catch(e){U(e instanceof Error?e.message:String(e))}};return D?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,t.jsx)(N.Spinner,{})," ",s("loading")]}):(0,t.jsxs)("div",{className:"space-y-5",children:[q&&(0,t.jsx)(x.Alert,{variant:"destructive",children:(0,t.jsx)(x.AlertDescription,{children:q})}),a&&a.length>0&&(0,t.jsxs)(j.Card,{children:[(0,t.jsx)(j.CardHeader,{children:(0,t.jsx)(j.CardTitle,{children:s("parseCheckout")})}),(0,t.jsxs)(j.CardContent,{className:"space-y-2",children:[(0,t.jsxs)(k.Select,{disabled:M,onValueChange:e=>{B(!0),o(e)},value:l,children:[(0,t.jsx)(k.SelectTrigger,{"aria-label":s("parseCheckout"),className:"w-full min-w-0",children:(0,t.jsx)(k.SelectValue,{})}),(0,t.jsx)(k.SelectContent,{children:a.map(e=>(0,t.jsxs)(k.SelectItem,{disabled:!e.available,value:e.codebaseId,children:[e.label,e.available?"":` \xb7 ${s("checkoutUnavailable")}`]},e.codebaseId))})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:s("parseCheckoutDescription")})]})]}),d?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(x.Alert,{children:(0,t.jsx)(x.AlertDescription,{children:s("sharedProjectDescription")})}),(0,t.jsxs)(j.Card,{children:[(0,t.jsxs)(j.CardHeader,{className:"flex-row items-center justify-between",children:[(0,t.jsx)(j.CardTitle,{children:s("buildConfigurations")}),(0,t.jsxs)(v.Button,{disabled:!w,onClick:()=>{G(null),H(!0)},size:"sm",children:[(0,t.jsx)(u.Plus,{})," ",s("newConfiguration")]})]}),(0,t.jsx)(j.CardContent,{children:d.configurations.length?(0,t.jsx)("div",{className:"grid gap-3 lg:grid-cols-2",children:d.configurations.map(e=>(0,t.jsx)(j.Card,{children:(0,t.jsxs)(j.CardContent,{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(P.ConfigurationIcon,{iconKey:e.iconKey}),e.name]}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:e.source.relativePath})]}),(0,t.jsx)(f.Badge,{variant:e.observation?.status==="ERROR"||e.observation?.status==="INVALID"?"destructive":"outline",children:s(`parseStatuses.${e.observation?.status??"UNPARSED"}`)})]}),(0,t.jsxs)("div",{className:"rounded-lg border bg-muted/20 p-3 text-sm",children:[(0,t.jsxs)("p",{children:[e.scheme," ·"," ",e.buildConfiguration]}),(0,t.jsxs)("p",{className:"mt-1 text-xs text-muted-foreground",children:[e.observation?.lastParsedAt?s("lastParsed",{value:(0,T.formatDateValue)(e.observation.lastParsedAt,"short",{locale:i})}):s("neverParsed"),e.observation?.stale?` \xb7 ${s("stale")}`:""]}),e.observation?.error&&(0,t.jsx)("p",{className:"mt-1 text-xs text-destructive",children:e.observation.error})]}),(0,t.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,t.jsxs)(v.Button,{disabled:M||!w,onClick:()=>void J(e),size:"sm",variant:"outline",children:[(0,t.jsx)(p.RefreshCw,{})," ",s("reparse")]}),(0,t.jsxs)(v.Button,{onClick:()=>{G(e),H(!0)},size:"sm",variant:"outline",children:[(0,t.jsx)(h.Settings2,{})," ",s("edit")]}),(0,t.jsx)(v.Button,{"aria-label":s("deleteConfiguration"),disabled:M,onClick:()=>void K(e.id),size:"icon-sm",variant:"destructive",children:(0,t.jsx)(m.Trash2,{})})]})]})},e.id))}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:s("noConfigurations")})})]}),(0,t.jsxs)(j.Card,{children:[(0,t.jsx)(j.CardHeader,{children:(0,t.jsx)(j.CardTitle,{children:s("allowedScripts")})}),(0,t.jsx)(j.CardContent,{className:"space-y-2",children:S.length?S.map(e=>{let a=d.allowedScripts.some(t=>t.script.id===e.id);return(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-lg border p-2",children:[(0,t.jsx)(b.Checkbox,{checked:a,onCheckedChange:t=>void Y(e.id,!!t)}),(0,t.jsx)("span",{className:"text-sm",children:e.name}),e.enabledByDefault&&(0,t.jsx)(f.Badge,{variant:"outline",children:s("defaultEnabled")})]},e.id)}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:s("createScriptsOnBuildsPage")})})]})]}):(0,t.jsxs)(I.Empty,{className:"border py-12",children:[(0,t.jsxs)(I.EmptyHeader,{children:[(0,t.jsx)(I.EmptyMedia,{variant:"icon",children:(0,t.jsx)(c.Hammer,{})}),(0,t.jsx)(I.EmptyTitle,{children:s("addIosProject")}),(0,t.jsx)(I.EmptyDescription,{children:s("addIosProjectDescription")})]}),(0,t.jsxs)(v.Button,{disabled:M,onClick:()=>void W(),children:[M?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(u.Plus,{})," ",s("addIosProject")]})]}),F&&w&&(0,t.jsx)(O,{codebaseId:l,configuration:V,onOpenChange:H,onSaved:z,open:F,worktreeId:w})]})}function O({codebaseId:e,worktreeId:a,configuration:s,open:i,onOpenChange:l,onSaved:c}){let u=(0,r.useTranslations)("builds"),[h,m]=(0,n.useState)(s?.name??""),[g,I]=(0,n.useState)(s?.iconKey??"none"),[T,L]=(0,n.useState)([]),[$,M]=(0,n.useState)(s?.source.relativePath??""),[_,q]=(0,n.useState)(s?.source.kind??"PROJECT"),[U,V]=(0,n.useState)(s?.observation?{source:s.source,schemes:s.observation.schemes,configurations:s.observation.configurations,testPlans:s.observation.testPlans,signingRequirements:[],headSha:s.observation.headSha,xcodeVersion:s.observation.xcodeVersion}:null),[G,F]=(0,n.useState)(s?.observation?.status??"UNPARSED"),[H,z]=(0,n.useState)(s?.observation?.stale??!1),[W,J]=(0,n.useState)(s?.scheme??""),[K,Y]=(0,n.useState)(s?.buildConfiguration??""),[X,Q]=(0,n.useState)(s?.defaultAction??"BUILD"),[Z,ee]=(0,n.useState)(s?.defaultAction==="ARCHIVE"&&s.autoExport),[et,ea]=(0,n.useState)({...B.DEFAULT_EXPORT_SETTINGS,...s?.exportSettings??{}}),[es,ei]=(0,n.useState)(JSON.stringify(s?.advancedSettings??{},null,2)),[er,en]=(0,n.useState)(s?.advancedSettings?.parseTestResults!==!1),[el,eo]=(0,n.useState)("string"==typeof s?.advancedSettings?.testPlan?s.advancedSettings.testPlan:"__SCHEME_DEFAULT__"),[ed,ec]=(0,n.useState)(!1),[eu,ep]=(0,n.useState)(!1),[eh,em]=(0,n.useState)(!1),[eg,ex]=(0,n.useState)(null),ef=(0,n.useCallback)(async()=>{ec(!0);try{let e=await (0,E.controlPlaneRequest)(`mutation DiscoverBuildSources($worktreeId: ID!, $requestId: ID!) {
60
+ }`,{codebaseId:l,scriptIds:s}),await z()}catch(e){U(e instanceof Error?e.message:String(e))}};return D?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,t.jsx)(N.Spinner,{})," ",s("loading")]}):(0,t.jsxs)("div",{className:"space-y-5",children:[q&&(0,t.jsx)(x.Alert,{variant:"destructive",children:(0,t.jsx)(x.AlertDescription,{children:q})}),a&&a.length>0&&(0,t.jsxs)(j.Card,{children:[(0,t.jsx)(j.CardHeader,{children:(0,t.jsx)(j.CardTitle,{children:s("parseCheckout")})}),(0,t.jsxs)(j.CardContent,{className:"space-y-2",children:[(0,t.jsxs)(k.Select,{disabled:M,onValueChange:e=>{B(!0),o(e)},value:l,children:[(0,t.jsx)(k.SelectTrigger,{"aria-label":s("parseCheckout"),className:"w-full min-w-0",children:(0,t.jsx)(k.SelectValue,{})}),(0,t.jsx)(k.SelectContent,{children:a.map(e=>(0,t.jsxs)(k.SelectItem,{disabled:!e.available,value:e.codebaseId,children:[e.label,e.available?"":` \xb7 ${s("checkoutUnavailable")}`]},e.codebaseId))})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:s("parseCheckoutDescription")})]})]}),d?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(x.Alert,{children:(0,t.jsx)(x.AlertDescription,{children:s("sharedProjectDescription")})}),(0,t.jsxs)(j.Card,{children:[(0,t.jsxs)(j.CardHeader,{className:"flex-row items-center justify-between",children:[(0,t.jsx)(j.CardTitle,{children:s("buildConfigurations")}),(0,t.jsxs)(v.Button,{disabled:!w,onClick:()=>{G(null),H(!0)},size:"sm",children:[(0,t.jsx)(u.Plus,{})," ",s("newConfiguration")]})]}),(0,t.jsx)(j.CardContent,{children:d.configurations.length?(0,t.jsx)("div",{className:"grid gap-3 lg:grid-cols-2",children:d.configurations.map(e=>(0,t.jsx)(j.Card,{children:(0,t.jsxs)(j.CardContent,{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(P.ConfigurationIcon,{iconKey:e.iconKey}),e.name]}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:e.source.relativePath})]}),(0,t.jsx)(f.Badge,{variant:e.observation?.status==="ERROR"||e.observation?.status==="INVALID"?"destructive":"outline",children:s(`parseStatuses.${e.observation?.status??"UNPARSED"}`)})]}),(0,t.jsxs)("div",{className:"rounded-lg border bg-muted/20 p-3 text-sm",children:[(0,t.jsxs)("p",{children:[e.scheme," ·"," ",e.buildConfiguration]}),(0,t.jsxs)("p",{className:"mt-1 text-xs text-muted-foreground",children:[e.observation?.lastParsedAt?s("lastParsed",{value:(0,T.formatDateValue)(e.observation.lastParsedAt,"short",{locale:i})}):s("neverParsed"),e.observation?.stale?` \xb7 ${s("stale")}`:""]}),e.observation?.error&&(0,t.jsx)("p",{className:"mt-1 text-xs text-destructive",children:e.observation.error})]}),(0,t.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,t.jsxs)(v.Button,{disabled:M||!w,onClick:()=>void J(e),size:"sm",variant:"outline",children:[(0,t.jsx)(p.RefreshCw,{})," ",s("reparse")]}),(0,t.jsxs)(v.Button,{onClick:()=>{G(e),H(!0)},size:"sm",variant:"outline",children:[(0,t.jsx)(h.Settings2,{})," ",s("edit")]}),(0,t.jsx)(v.Button,{"aria-label":s("deleteConfiguration"),disabled:M,onClick:()=>void K(e.id),size:"icon-sm",variant:"destructive",children:(0,t.jsx)(m.Trash2,{})})]})]})},e.id))}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:s("noConfigurations")})})]}),(0,t.jsxs)(j.Card,{children:[(0,t.jsx)(j.CardHeader,{children:(0,t.jsx)(j.CardTitle,{children:s("allowedScripts")})}),(0,t.jsx)(j.CardContent,{className:"space-y-2",children:S.length?S.map(e=>{let a=d.allowedScripts.some(t=>t.script.id===e.id);return(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-lg border p-2",children:[(0,t.jsx)(b.Checkbox,{checked:a,onCheckedChange:t=>void Y(e.id,!!t)}),(0,t.jsx)("span",{className:"text-sm",children:e.name}),e.enabledByDefault&&(0,t.jsx)(f.Badge,{variant:"outline",children:s("defaultEnabled")})]},e.id)}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:s("createScriptsOnBuildsPage")})})]})]}):(0,t.jsxs)(I.Empty,{className:"border py-12",children:[(0,t.jsxs)(I.EmptyHeader,{children:[(0,t.jsx)(I.EmptyMedia,{variant:"icon",children:(0,t.jsx)(c.Hammer,{})}),(0,t.jsx)(I.EmptyTitle,{children:s("addIosProject")}),(0,t.jsx)(I.EmptyDescription,{children:s("addIosProjectDescription")})]}),(0,t.jsxs)(v.Button,{disabled:M,onClick:()=>void W(),children:[M?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(u.Plus,{})," ",s("addIosProject")]})]}),F&&w&&(0,t.jsx)(O,{codebaseId:l,configuration:V,onOpenChange:H,onSaved:z,open:F,worktreeId:w})]})}function O({codebaseId:e,worktreeId:a,configuration:s,open:i,onOpenChange:l,onSaved:c}){let u=(0,r.useTranslations)("builds"),[h,m]=(0,n.useState)(s?.name??""),[g,I]=(0,n.useState)(s?.iconKey??"none"),[T,$]=(0,n.useState)([]),[L,M]=(0,n.useState)(s?.source.relativePath??""),[_,q]=(0,n.useState)(s?.source.kind??"PROJECT"),[U,V]=(0,n.useState)(s?.observation?{source:s.source,schemes:s.observation.schemes,configurations:s.observation.configurations,testPlans:s.observation.testPlans,signingRequirements:[],headSha:s.observation.headSha,xcodeVersion:s.observation.xcodeVersion}:null),[G,F]=(0,n.useState)(s?.observation?.status??"UNPARSED"),[H,z]=(0,n.useState)(s?.observation?.stale??!1),[W,J]=(0,n.useState)(s?.scheme??""),[K,Y]=(0,n.useState)(s?.buildConfiguration??""),[X,Q]=(0,n.useState)(s?.defaultAction??"BUILD"),[Z,ee]=(0,n.useState)(s?.defaultAction==="ARCHIVE"&&s.autoExport),[et,ea]=(0,n.useState)({...B.DEFAULT_EXPORT_SETTINGS,...s?.exportSettings??{}}),[es,ei]=(0,n.useState)(JSON.stringify(s?.advancedSettings??{},null,2)),[er,en]=(0,n.useState)(s?.advancedSettings?.parseTestResults!==!1),[el,eo]=(0,n.useState)("string"==typeof s?.advancedSettings?.testPlan?s.advancedSettings.testPlan:"__SCHEME_DEFAULT__"),[ed,ec]=(0,n.useState)(!1),[eu,ep]=(0,n.useState)(!1),[eh,em]=(0,n.useState)(!1),[eg,ex]=(0,n.useState)(null),ef=(0,n.useCallback)(async()=>{ec(!0);try{let e=await (0,E.controlPlaneRequest)(`mutation DiscoverBuildSources($worktreeId: ID!, $requestId: ID!) {
61
61
  discoverBuildSources(worktreeId: $worktreeId, requestId: $requestId) { kind relativePath }
62
- }`,{worktreeId:a,requestId:(0,A.createClientId)()});L(e.discoverBuildSources)}catch(e){ex(e instanceof Error?e.message:String(e))}finally{ec(!1)}},[a]);(0,n.useEffect)(()=>{let e=window.setTimeout(()=>void ef(),0);return()=>window.clearTimeout(e)},[ef]);let ev=async(e,t)=>{ep(!0),ex(null);try{let s=await (0,E.controlPlaneRequest)(`mutation InspectBuildSource($input: InspectBuildSourceInput!) {
62
+ }`,{worktreeId:a,requestId:(0,A.createClientId)()});$(e.discoverBuildSources)}catch(e){ex(e instanceof Error?e.message:String(e))}finally{ec(!1)}},[a]);(0,n.useEffect)(()=>{let e=window.setTimeout(()=>void ef(),0);return()=>window.clearTimeout(e)},[ef]);let ev=async(e,t)=>{ep(!0),ex(null);try{let s=await (0,E.controlPlaneRequest)(`mutation InspectBuildSource($input: InspectBuildSourceInput!) {
63
63
  inspectBuildSource(input: $input) {
64
64
  source { kind relativePath }
65
65
  schemes configurations testPlans headSha xcodeVersion
@@ -67,17 +67,17 @@
67
67
  bundleId name target platform teamId provisioningProfileSpecifier
68
68
  }
69
69
  }
70
- }`,{input:{worktreeId:a,sourceKind:e.kind,sourcePath:e.relativePath,scheme:t||null,configuration:null,requestId:(0,A.createClientId)()}});V(s.inspectBuildSource),F("VALID"),z(!1),M(e.relativePath),q(e.kind),t||(J(s.inspectBuildSource.schemes[0]??W),Y(s.inspectBuildSource.configurations[0]??K))}catch(e){F("ERROR"),z(!!U),ex(e instanceof Error?e.message:String(e))}finally{ep(!1)}},ej=async()=>{if(!$||!W||!K)throw Error(u("selectSigningSourceFirst"));return(await (0,E.controlPlaneRequest)(`mutation InspectBuildSigningRequirements($input: InspectBuildSourceInput!) {
70
+ }`,{input:{worktreeId:a,sourceKind:e.kind,sourcePath:e.relativePath,scheme:t||null,configuration:null,requestId:(0,A.createClientId)()}});V(s.inspectBuildSource),F("VALID"),z(!1),M(e.relativePath),q(e.kind),t||(J(s.inspectBuildSource.schemes[0]??W),Y(s.inspectBuildSource.configurations[0]??K))}catch(e){F("ERROR"),z(!!U),ex(e instanceof Error?e.message:String(e))}finally{ep(!1)}},ej=async()=>{if(!L||!W||!K)throw Error(u("selectSigningSourceFirst"));return(await (0,E.controlPlaneRequest)(`mutation InspectBuildSigningRequirements($input: InspectBuildSourceInput!) {
71
71
  inspectBuildSource(input: $input) {
72
72
  signingRequirements {
73
73
  bundleId name target platform teamId provisioningProfileSpecifier
74
74
  }
75
75
  }
76
- }`,{input:{worktreeId:a,sourceKind:_,sourcePath:$,scheme:W,configuration:K,requestId:(0,A.createClientId)()}})).inspectBuildSource.signingRequirements},eb=async()=>{em(!0),ex(null);try{let t;try{if(!(t=JSON.parse(es))||"object"!=typeof t||Array.isArray(t))throw Error()}catch{throw Error(u("advancedJsonInvalid"))}t={...t,testPlan:"__SCHEME_DEFAULT__"===el?null:el,parseTestResults:er};let i=await (0,E.controlPlaneRequest)(`mutation SaveBuildConfiguration($input: SaveBuildConfigurationInput!) {
76
+ }`,{input:{worktreeId:a,sourceKind:_,sourcePath:L,scheme:W,configuration:K,requestId:(0,A.createClientId)()}})).inspectBuildSource.signingRequirements},eb=async()=>{em(!0),ex(null);try{let t;try{if(!(t=JSON.parse(es))||"object"!=typeof t||Array.isArray(t))throw Error()}catch{throw Error(u("advancedJsonInvalid"))}t={...t,testPlan:"__SCHEME_DEFAULT__"===el?null:el,parseTestResults:er};let i=await (0,E.controlPlaneRequest)(`mutation SaveBuildConfiguration($input: SaveBuildConfigurationInput!) {
77
77
  saveBuildConfiguration(input: $input) { id }
78
- }`,{input:{id:s?.id??null,codebaseId:e,name:h,iconKey:"none"===g?null:g,sourceKind:_,sourcePath:$,scheme:W,buildConfiguration:K,defaultAction:X,advancedSettings:t,autoExport:"ARCHIVE"===X&&Z,exportSettings:et}});await (0,E.controlPlaneRequest)(`mutation ReparseSavedBuildConfiguration($configurationId: ID!, $worktreeId: ID!, $requestId: ID!) {
78
+ }`,{input:{id:s?.id??null,codebaseId:e,name:h,iconKey:"none"===g?null:g,sourceKind:_,sourcePath:L,scheme:W,buildConfiguration:K,defaultAction:X,advancedSettings:t,autoExport:"ARCHIVE"===X&&Z,exportSettings:et}});await (0,E.controlPlaneRequest)(`mutation ReparseSavedBuildConfiguration($configurationId: ID!, $worktreeId: ID!, $requestId: ID!) {
79
79
  reparseBuildConfiguration(configurationId: $configurationId, worktreeId: $worktreeId, requestId: $requestId) { id status }
80
- }`,{configurationId:i.saveBuildConfiguration.id,worktreeId:a,requestId:(0,A.createClientId)()}),await c(),l(!1)}catch(e){ex(e instanceof Error?e.message:String(e))}finally{em(!1)}};return(0,t.jsx)(S.Dialog,{onOpenChange:l,open:i,children:(0,t.jsxs)(S.DialogContent,{className:"max-h-[90vh] grid-cols-[minmax(0,1fr)] overflow-y-auto sm:max-w-5xl",children:[(0,t.jsxs)(S.DialogHeader,{children:[(0,t.jsx)(S.DialogTitle,{children:s?u("editConfiguration"):u("newConfiguration")}),(0,t.jsx)(S.DialogDescription,{children:u("configurationDescription")})]}),eg&&(0,t.jsx)(x.Alert,{variant:"destructive",children:(0,t.jsx)(x.AlertDescription,{children:eg})}),(0,t.jsxs)("div",{className:"space-y-5",children:[(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{htmlFor:"configuration-name",children:u("name")}),(0,t.jsx)(C.Input,{id:"configuration-name",onChange:e=>m(e.target.value),value:h})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{htmlFor:"configuration-icon",children:u("icon")}),(0,t.jsxs)(y.DropdownMenu,{children:[(0,t.jsx)(y.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)(v.Button,{"aria-label":`${u("icon")}: ${u(`configurationIcons.${g}`)}`,className:"justify-between",id:"configuration-icon",type:"button",variant:"outline",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2",children:["none"===g?(0,t.jsx)(o.CircleOff,{className:"size-4 shrink-0"}):(0,t.jsx)(P.ConfigurationIcon,{iconKey:g}),(0,t.jsx)("span",{className:"truncate",children:u(`configurationIcons.${g}`)})]}),(0,t.jsx)(d.ChevronDown,{className:"text-muted-foreground"})]})}),(0,t.jsx)(y.DropdownMenuContent,{align:"start",className:"min-w-56",children:(0,t.jsx)(y.DropdownMenuRadioGroup,{onValueChange:I,value:g,children:["none",...D.BUILD_CONFIGURATION_ICON_KEYS].map(e=>(0,t.jsxs)(y.DropdownMenuRadioItem,{value:e,children:["none"===e?(0,t.jsx)(o.CircleOff,{className:"size-4"}):(0,t.jsx)(P.ConfigurationIcon,{iconKey:e}),u(`configurationIcons.${e}`)]},e))})})]})]})]}),(0,t.jsx)(j.Card,{children:(0,t.jsxs)(j.CardContent,{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:u("source")}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:$||u("selectSource")})]}),U&&(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[H&&(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:u("stale")}),(0,t.jsx)(f.Badge,{variant:"VALID"===G?"outline":"destructive",children:u(`parseStatuses.${G}`)})]})]}),(0,t.jsxs)(k.Select,{disabled:ed||eu,onValueChange:e=>{let t=T.find(t=>t.relativePath===e);t&&ev(t)},value:T.some(e=>e.relativePath===$)?$:"",children:[(0,t.jsx)(k.SelectTrigger,{children:(0,t.jsx)(k.SelectValue,{placeholder:ed?u("loadingSources"):u("selectSource")})}),(0,t.jsx)(k.SelectContent,{children:T.map(e=>(0,t.jsx)(k.SelectItem,{value:e.relativePath,children:e.relativePath},e.relativePath))})]}),U&&(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:u("scheme")}),(0,t.jsxs)(k.Select,{onValueChange:e=>{J(e),ev(U.source,e)},value:W,children:[(0,t.jsx)(k.SelectTrigger,{children:(0,t.jsx)(k.SelectValue,{})}),(0,t.jsxs)(k.SelectContent,{children:[W&&!U.schemes.includes(W)&&(0,t.jsxs)(k.SelectItem,{value:W,children:[W," · ",u("savedValueUnavailable")]}),U.schemes.map(e=>(0,t.jsx)(k.SelectItem,{value:e,children:e},e))]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:u("configuration")}),(0,t.jsxs)(k.Select,{onValueChange:Y,value:K,children:[(0,t.jsx)(k.SelectTrigger,{children:(0,t.jsx)(k.SelectValue,{})}),(0,t.jsxs)(k.SelectContent,{children:[K&&!U.configurations.includes(K)&&(0,t.jsxs)(k.SelectItem,{value:K,children:[K," ·"," ",u("savedValueUnavailable")]}),U.configurations.map(e=>(0,t.jsx)(k.SelectItem,{value:e,children:e},e))]})]})]})]}),(0,t.jsxs)(v.Button,{disabled:!$||eu,onClick:()=>void ev({kind:_,relativePath:$},W),size:"sm",variant:"outline",children:[eu?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(p.RefreshCw,{})," ",u("reparse")]})]})}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:u("defaultAction")}),(0,t.jsxs)(k.Select,{onValueChange:e=>{Q(e),"ARCHIVE"!==e&&ee(!1)},value:X,children:[(0,t.jsx)(k.SelectTrigger,{children:(0,t.jsx)(k.SelectValue,{})}),(0,t.jsx)(k.SelectContent,{children:["BUILD","TEST","ANALYZE","ARCHIVE","BUILD_FOR_TESTING","TEST_WITHOUT_BUILDING"].map(e=>(0,t.jsx)(k.SelectItem,{value:e,children:u(`actions.${e}`)},e))})]})]}),"ARCHIVE"===X&&(0,t.jsxs)("section",{className:"space-y-3",children:[(0,t.jsxs)("label",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(b.Checkbox,{checked:Z,onCheckedChange:e=>ee(!!e)}),u("autoExport")]}),Z&&(0,t.jsx)(B.ExportSettingsForm,{onChange:ea,onParseSigningRequirements:ej,value:et},`${_}:${$}:${W}:${K}`)]}),["TEST","BUILD_FOR_TESTING","TEST_WITHOUT_BUILDING"].includes(X)&&(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:u("testPlan")}),(0,t.jsxs)(k.Select,{onValueChange:eo,value:el,children:[(0,t.jsx)(k.SelectTrigger,{children:(0,t.jsx)(k.SelectValue,{})}),(0,t.jsxs)(k.SelectContent,{children:[(0,t.jsx)(k.SelectItem,{value:"__SCHEME_DEFAULT__",children:u("schemeDefaultTestPlan")}),"__SCHEME_DEFAULT__"!==el&&!U?.testPlans.includes(el)&&(0,t.jsxs)(k.SelectItem,{value:el,children:[el," · ",u("savedValueUnavailable")]}),U?.testPlans.map(e=>(0,t.jsx)(k.SelectItem,{value:e,children:e},e))]})]})]}),(0,t.jsxs)("details",{className:"rounded-xl border p-3",children:[(0,t.jsx)("summary",{className:"cursor-pointer font-medium",children:u("advancedSettings")}),(0,t.jsxs)("div",{className:"mt-3 space-y-2",children:[(0,t.jsxs)("label",{className:"flex items-center gap-2 pb-2",children:[(0,t.jsx)(b.Checkbox,{checked:er,onCheckedChange:e=>en(!!e)}),u("parseTestResults")]}),(0,t.jsx)(w.Label,{htmlFor:"configuration-advanced-json",children:u("advancedJson")}),(0,t.jsx)(R.Textarea,{className:"font-mono text-xs",id:"configuration-advanced-json",onChange:e=>ei(e.target.value),rows:10,value:es})]})]})]}),(0,t.jsxs)(S.DialogFooter,{children:[(0,t.jsx)(v.Button,{onClick:()=>l(!1),variant:"outline",children:u("cancel")}),(0,t.jsxs)(v.Button,{disabled:eh||eu||!h.trim()||!$||!W||!K,onClick:()=>void eb(),children:[eh&&(0,t.jsx)(N.Spinner,{})," ",u("save")]})]})]})})}var M=e.i(9197),_=e.i(677572),q=e.i(520133);let U=`
80
+ }`,{configurationId:i.saveBuildConfiguration.id,worktreeId:a,requestId:(0,A.createClientId)()}),await c(),l(!1)}catch(e){ex(e instanceof Error?e.message:String(e))}finally{em(!1)}};return(0,t.jsx)(S.Dialog,{onOpenChange:l,open:i,children:(0,t.jsxs)(S.DialogContent,{className:"max-h-[90vh] grid-cols-[minmax(0,1fr)] overflow-y-auto sm:max-w-5xl",children:[(0,t.jsxs)(S.DialogHeader,{children:[(0,t.jsx)(S.DialogTitle,{children:s?u("editConfiguration"):u("newConfiguration")}),(0,t.jsx)(S.DialogDescription,{children:u("configurationDescription")})]}),eg&&(0,t.jsx)(x.Alert,{variant:"destructive",children:(0,t.jsx)(x.AlertDescription,{children:eg})}),(0,t.jsxs)("div",{className:"space-y-5",children:[(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{htmlFor:"configuration-name",children:u("name")}),(0,t.jsx)(C.Input,{id:"configuration-name",onChange:e=>m(e.target.value),value:h})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{htmlFor:"configuration-icon",children:u("icon")}),(0,t.jsxs)(y.DropdownMenu,{children:[(0,t.jsx)(y.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)(v.Button,{"aria-label":`${u("icon")}: ${u(`configurationIcons.${g}`)}`,className:"justify-between",id:"configuration-icon",type:"button",variant:"outline",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2",children:["none"===g?(0,t.jsx)(o.CircleOff,{className:"size-4 shrink-0"}):(0,t.jsx)(P.ConfigurationIcon,{iconKey:g}),(0,t.jsx)("span",{className:"truncate",children:u(`configurationIcons.${g}`)})]}),(0,t.jsx)(d.ChevronDown,{className:"text-muted-foreground"})]})}),(0,t.jsx)(y.DropdownMenuContent,{align:"start",className:"min-w-56",children:(0,t.jsx)(y.DropdownMenuRadioGroup,{onValueChange:I,value:g,children:["none",...D.BUILD_CONFIGURATION_ICON_KEYS].map(e=>(0,t.jsxs)(y.DropdownMenuRadioItem,{value:e,children:["none"===e?(0,t.jsx)(o.CircleOff,{className:"size-4"}):(0,t.jsx)(P.ConfigurationIcon,{iconKey:e}),u(`configurationIcons.${e}`)]},e))})})]})]})]}),(0,t.jsx)(j.Card,{children:(0,t.jsxs)(j.CardContent,{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:u("source")}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:L||u("selectSource")})]}),U&&(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[H&&(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:u("stale")}),(0,t.jsx)(f.Badge,{variant:"VALID"===G?"outline":"destructive",children:u(`parseStatuses.${G}`)})]})]}),(0,t.jsxs)(k.Select,{disabled:ed||eu,onValueChange:e=>{let t=T.find(t=>t.relativePath===e);t&&ev(t)},value:T.some(e=>e.relativePath===L)?L:"",children:[(0,t.jsx)(k.SelectTrigger,{children:(0,t.jsx)(k.SelectValue,{placeholder:ed?u("loadingSources"):u("selectSource")})}),(0,t.jsx)(k.SelectContent,{children:T.map(e=>(0,t.jsx)(k.SelectItem,{value:e.relativePath,children:e.relativePath},e.relativePath))})]}),U&&(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:u("scheme")}),(0,t.jsxs)(k.Select,{onValueChange:e=>{J(e),ev(U.source,e)},value:W,children:[(0,t.jsx)(k.SelectTrigger,{children:(0,t.jsx)(k.SelectValue,{})}),(0,t.jsxs)(k.SelectContent,{children:[W&&!U.schemes.includes(W)&&(0,t.jsxs)(k.SelectItem,{value:W,children:[W," · ",u("savedValueUnavailable")]}),U.schemes.map(e=>(0,t.jsx)(k.SelectItem,{value:e,children:e},e))]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:u("configuration")}),(0,t.jsxs)(k.Select,{onValueChange:Y,value:K,children:[(0,t.jsx)(k.SelectTrigger,{children:(0,t.jsx)(k.SelectValue,{})}),(0,t.jsxs)(k.SelectContent,{children:[K&&!U.configurations.includes(K)&&(0,t.jsxs)(k.SelectItem,{value:K,children:[K," ·"," ",u("savedValueUnavailable")]}),U.configurations.map(e=>(0,t.jsx)(k.SelectItem,{value:e,children:e},e))]})]})]})]}),(0,t.jsxs)(v.Button,{disabled:!L||eu,onClick:()=>void ev({kind:_,relativePath:L},W),size:"sm",variant:"outline",children:[eu?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(p.RefreshCw,{})," ",u("reparse")]})]})}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:u("defaultAction")}),(0,t.jsxs)(k.Select,{onValueChange:e=>{Q(e),"ARCHIVE"!==e&&ee(!1)},value:X,children:[(0,t.jsx)(k.SelectTrigger,{children:(0,t.jsx)(k.SelectValue,{})}),(0,t.jsx)(k.SelectContent,{children:["BUILD","TEST","ANALYZE","ARCHIVE","BUILD_FOR_TESTING","TEST_WITHOUT_BUILDING"].map(e=>(0,t.jsx)(k.SelectItem,{value:e,children:u(`actions.${e}`)},e))})]})]}),"ARCHIVE"===X&&(0,t.jsxs)("section",{className:"space-y-3",children:[(0,t.jsxs)("label",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(b.Checkbox,{checked:Z,onCheckedChange:e=>ee(!!e)}),u("autoExport")]}),Z&&(0,t.jsx)(B.ExportSettingsForm,{onChange:ea,onParseSigningRequirements:ej,value:et},`${_}:${L}:${W}:${K}`)]}),["TEST","BUILD_FOR_TESTING","TEST_WITHOUT_BUILDING"].includes(X)&&(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:u("testPlan")}),(0,t.jsxs)(k.Select,{onValueChange:eo,value:el,children:[(0,t.jsx)(k.SelectTrigger,{children:(0,t.jsx)(k.SelectValue,{})}),(0,t.jsxs)(k.SelectContent,{children:[(0,t.jsx)(k.SelectItem,{value:"__SCHEME_DEFAULT__",children:u("schemeDefaultTestPlan")}),"__SCHEME_DEFAULT__"!==el&&!U?.testPlans.includes(el)&&(0,t.jsxs)(k.SelectItem,{value:el,children:[el," · ",u("savedValueUnavailable")]}),U?.testPlans.map(e=>(0,t.jsx)(k.SelectItem,{value:e,children:e},e))]})]})]}),(0,t.jsxs)("details",{className:"rounded-xl border p-3",children:[(0,t.jsx)("summary",{className:"cursor-pointer font-medium",children:u("advancedSettings")}),(0,t.jsxs)("div",{className:"mt-3 space-y-2",children:[(0,t.jsxs)("label",{className:"flex items-center gap-2 pb-2",children:[(0,t.jsx)(b.Checkbox,{checked:er,onCheckedChange:e=>en(!!e)}),u("parseTestResults")]}),(0,t.jsx)(w.Label,{htmlFor:"configuration-advanced-json",children:u("advancedJson")}),(0,t.jsx)(R.Textarea,{className:"font-mono text-xs",id:"configuration-advanced-json",onChange:e=>ei(e.target.value),rows:10,value:es})]})]})]}),(0,t.jsxs)(S.DialogFooter,{children:[(0,t.jsx)(v.Button,{onClick:()=>l(!1),variant:"outline",children:u("cancel")}),(0,t.jsxs)(v.Button,{disabled:eh||eu||!h.trim()||!L||!W||!K,onClick:()=>void eb(),children:[eh&&(0,t.jsx)(N.Spinner,{})," ",u("save")]})]})]})})}var M=e.i(9197),_=e.i(677572),q=e.i(520133);let U=`
81
81
  id canonicalOrigin displayOrigin name description jiraBranchRegex keepBaseBranchUpToDate createdAt updatedAt
82
82
  skillGroups { id name }
83
83
  quickActionWorkflows { id name description enabled quickActionKind quickActionRepositories { id name } }
@@ -87,11 +87,11 @@
87
87
  agent { ${l.AGENT_FIELDS} }
88
88
  activeJob { ${l.JOB_FIELDS} }
89
89
  }
90
- `;e.s(["RepositoryDetailPage",0,function({repositoryId:e}){let l=(0,r.useTranslations)("codebases"),o=(0,r.useTranslations)("builds"),[d,c]=(0,n.useState)(null),[u,p]=(0,n.useState)([]),[h,m]=(0,n.useState)(!0),[g,f]=(0,n.useState)(!1),[y,S]=(0,n.useState)(null),[k,A]=(0,n.useState)(null),[T,P]=(0,n.useState)(""),[D,B]=(0,n.useState)(""),[L,O]=(0,n.useState)(""),[V,G]=(0,n.useState)(!0),[F,H]=(0,n.useState)([]),[z,W]=(0,n.useState)([]),J=(0,n.useCallback)(e=>{c(e),P(e.name),B(e.description),O(e.jiraBranchRegex??""),G(e.keepBaseBranchUpToDate),H(e.skillGroups?.map(e=>e.id)??[]),W(e.quickActionWorkflows??[])},[]),K=(0,n.useCallback)(async()=>{try{let t=await (0,E.controlPlaneRequest)(`query RepositoryDetail($id: ID!) {
90
+ `;e.s(["RepositoryDetailPage",0,function({repositoryId:e}){let l=(0,r.useTranslations)("codebases"),o=(0,r.useTranslations)("builds"),[d,c]=(0,n.useState)(null),[u,p]=(0,n.useState)([]),[h,m]=(0,n.useState)(!0),[g,f]=(0,n.useState)(!1),[y,S]=(0,n.useState)(null),[k,A]=(0,n.useState)(null),[T,P]=(0,n.useState)(""),[D,B]=(0,n.useState)(""),[$,O]=(0,n.useState)(""),[V,G]=(0,n.useState)(!0),[F,H]=(0,n.useState)([]),[z,W]=(0,n.useState)([]),J=(0,n.useCallback)(e=>{c(e),P(e.name),B(e.description),O(e.jiraBranchRegex??""),G(e.keepBaseBranchUpToDate),H(e.skillGroups?.map(e=>e.id)??[]),W(e.quickActionWorkflows??[])},[]),K=(0,n.useCallback)(async()=>{try{let t=await (0,E.controlPlaneRequest)(`query RepositoryDetail($id: ID!) {
91
91
  codebaseRepository(id: $id) { ${U} }
92
92
  skillsOverview { groups { id name } }
93
93
  }`,{id:e});t.codebaseRepository?J(t.codebaseRepository):c(null),p(t.skillsOverview?.groups??[]),S(null)}catch(e){S(e instanceof Error?e.message:String(e))}finally{m(!1)}},[J,e]);(0,n.useEffect)(()=>{let t=window.setTimeout(()=>void K(),0),a=(0,E.controlPlaneSubscriptions)().subscribe({query:`subscription RepositoryDetailChanged {
94
94
  codebaseOverviewChanged { repositoryId }
95
95
  }`},{next:t=>{let a=t.data?.codebaseOverviewChanged;a&&a.repositoryId!==e||K()},error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(t),a()}},[K,e]);let Y=async e=>{if(e.preventDefault(),d){f(!0),S(null),A(null);try{await (0,E.controlPlaneRequest)(`mutation UpdateCodebaseRepository($input: UpdateCodebaseRepositoryInput!) {
96
96
  updateCodebaseRepository(input: $input) { id }
97
- }`,{input:{id:d.id,name:T,description:D,jiraBranchRegex:L||null,keepBaseBranchUpToDate:V,skillGroupIds:F}}),await K(),A(l("repositorySaved"))}catch(e){S(e instanceof Error?e.message:String(e))}finally{f(!1)}}};if(h)return(0,t.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(N.Spinner,{})," ",l("loadingRepository")]});if(!d)return(0,t.jsxs)(I.Empty,{className:"mx-auto max-w-6xl border py-12",children:[(0,t.jsxs)(I.EmptyHeader,{children:[(0,t.jsx)(I.EmptyMedia,{variant:"icon",children:(0,t.jsx)(s.FolderGit2,{})}),(0,t.jsx)(I.EmptyTitle,{children:l("repositoryNotFound")}),(0,t.jsx)(I.EmptyDescription,{children:l("repositoryNotFoundDescription")})]}),(0,t.jsx)(v.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(q.Link,{href:"/codebases",children:[(0,t.jsx)(a.ArrowLeft,{})," ",l("backToCodebases")]})})]});let X=d.codebases.map(e=>({codebaseId:e.id,label:`${e.agent.name} \xb7 ${e.folder}`,available:"ONLINE"===e.agent.connectionStatus&&"AVAILABLE"===e.availability}));return(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-6xl flex-col gap-6",children:[(0,t.jsx)("div",{children:(0,t.jsx)(v.Button,{asChild:!0,className:"-ml-2",size:"sm",variant:"ghost",children:(0,t.jsxs)(q.Link,{href:"/codebases",children:[(0,t.jsx)(a.ArrowLeft,{})," ",l("backToCodebases")]})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:l("editTitle")}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:d.displayOrigin}),(0,t.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:l("repositorySharedDescription")})]}),y&&(0,t.jsx)(x.Alert,{variant:"destructive",children:(0,t.jsx)(x.AlertDescription,{children:y})}),k&&(0,t.jsx)(x.Alert,{children:(0,t.jsx)(x.AlertDescription,{children:k})}),(0,t.jsxs)(_.Tabs,{defaultValue:"details",children:[(0,t.jsxs)(_.TabsList,{children:[(0,t.jsx)(_.TabsTrigger,{value:"details",children:l("repositoryDetails")}),(0,t.jsx)(_.TabsTrigger,{value:"ios-app",children:o("iosApp")}),(0,t.jsx)(_.TabsTrigger,{value:"auto-retry",children:l("autoRetry")}),(0,t.jsx)(_.TabsTrigger,{value:"quick-actions",children:l("quickActions")})]}),(0,t.jsx)(_.TabsContent,{value:"details",children:(0,t.jsx)("form",{className:"space-y-5",onSubmit:Y,children:(0,t.jsxs)(j.Card,{children:[(0,t.jsxs)(j.CardHeader,{children:[(0,t.jsx)(j.CardTitle,{children:l("repositoryDetails")}),(0,t.jsx)(j.CardDescription,{children:l("repositoryDetailsDescription")})]}),(0,t.jsxs)(j.CardContent,{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{htmlFor:"repository-name",children:l("name")}),(0,t.jsx)(C.Input,{id:"repository-name",maxLength:120,onChange:e=>P(e.target.value),required:!0,value:T})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{htmlFor:"repository-jira-regex",children:l("jiraBranchRegex")}),(0,t.jsx)(C.Input,{id:"repository-jira-regex",onChange:e=>O(e.target.value),placeholder:l("inheritDefaultRegex"),value:L}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:l("jiraBranchRegexHelp")})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{htmlFor:"repository-description",children:l("repositoryDescription")}),(0,t.jsx)(R.Textarea,{id:"repository-description",maxLength:2e3,onChange:e=>B(e.target.value),value:D})]}),(0,t.jsxs)("div",{className:"flex items-start gap-3 rounded-lg border p-3",children:[(0,t.jsx)(b.Checkbox,{checked:V,className:"mt-0.5",id:"repository-keep-base-branch-up-to-date",onCheckedChange:e=>G(!0===e)}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)(w.Label,{htmlFor:"repository-keep-base-branch-up-to-date",children:l("keepBaseBranchUpToDate")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:l("keepBaseBranchUpToDateHelp")})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:l("skillGroups")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:l("skillGroupsHelp")}),(0,t.jsxs)("div",{className:"max-h-56 space-y-1 overflow-auto rounded-lg border p-2",children:[u.map(e=>(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-md px-2 py-1.5 hover:bg-muted",children:[(0,t.jsx)(b.Checkbox,{checked:F.includes(e.id),onCheckedChange:t=>H(a=>!0===t?[...new Set([...a,e.id])]:a.filter(t=>t!==e.id))}),e.name]},e.id)),!u.length&&(0,t.jsx)("p",{className:"px-2 py-1 text-sm text-muted-foreground",children:l("noSkillGroups")})]})]}),(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsxs)(v.Button,{disabled:g||!T.trim(),type:"submit",children:[g?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(i.Save,{})," ",l("save")]})})]})]})})}),(0,t.jsx)(_.TabsContent,{value:"ios-app",children:(0,t.jsx)($,{checkouts:X,codebaseId:X[0]?.codebaseId??""})}),(0,t.jsx)(_.TabsContent,{value:"auto-retry",children:(0,t.jsxs)(j.Card,{children:[(0,t.jsxs)(j.CardHeader,{children:[(0,t.jsx)(j.CardTitle,{children:l("autoRetry")}),(0,t.jsx)(j.CardDescription,{children:l("autoRetryDescription")})]}),(0,t.jsx)(j.CardContent,{children:d.canonicalOrigin.startsWith("github.com/")?(0,t.jsx)(M.AutoRetryDialog,{codebaseRepositoryId:d.id,repositoryMode:!0,requestSource:"CODEBASE_REPOSITORY"}):(0,t.jsx)(x.Alert,{children:(0,t.jsx)(x.AlertDescription,{children:l("autoRetryGitHubOnly")})})})]})}),(0,t.jsx)(_.TabsContent,{value:"quick-actions",children:(0,t.jsxs)(j.Card,{children:[(0,t.jsxs)(j.CardHeader,{children:[(0,t.jsx)(j.CardTitle,{children:l("quickActions")}),(0,t.jsx)(j.CardDescription,{children:l("repositoryQuickActionsDescription")})]}),(0,t.jsxs)(j.CardContent,{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"max-h-80 space-y-1 overflow-auto rounded-lg border p-2",children:[z.map(e=>(0,t.jsx)(q.Link,{className:"flex items-start gap-2 rounded-md px-2 py-2 hover:bg-muted",href:`/workflows/${e.id}`,children:(0,t.jsxs)("span",{className:"min-w-0",children:[(0,t.jsxs)("span",{className:"flex flex-wrap items-center gap-2 text-sm font-medium",children:[e.name,(0,t.jsx)("span",{className:"text-xs font-normal text-muted-foreground",children:l(`quickActionKinds.${e.quickActionKind}`)}),(0,t.jsx)("span",{className:"text-xs font-normal text-muted-foreground",children:e.quickActionRepositories.length?l("limitedRepositories",{count:e.quickActionRepositories.length}):l("allRepositories")}),!e.enabled&&(0,t.jsx)("span",{className:"text-xs font-normal text-muted-foreground",children:l("workflowPaused")})]}),e.description&&(0,t.jsx)("span",{className:"block text-xs text-muted-foreground",children:e.description})]})},e.id)),!z.length&&(0,t.jsx)("p",{className:"px-2 py-1 text-sm text-muted-foreground",children:l("noWorkflows")})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:l("quickActionEligibility")})]})]})})]})]})}],390615)}]);
97
+ }`,{input:{id:d.id,name:T,description:D,jiraBranchRegex:$||null,keepBaseBranchUpToDate:V,skillGroupIds:F}}),await K(),A(l("repositorySaved"))}catch(e){S(e instanceof Error?e.message:String(e))}finally{f(!1)}}};if(h)return(0,t.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(N.Spinner,{})," ",l("loadingRepository")]});if(!d)return(0,t.jsxs)(I.Empty,{className:"mx-auto max-w-6xl border py-12",children:[(0,t.jsxs)(I.EmptyHeader,{children:[(0,t.jsx)(I.EmptyMedia,{variant:"icon",children:(0,t.jsx)(s.FolderGit2,{})}),(0,t.jsx)(I.EmptyTitle,{children:l("repositoryNotFound")}),(0,t.jsx)(I.EmptyDescription,{children:l("repositoryNotFoundDescription")})]}),(0,t.jsx)(v.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(q.Link,{href:"/codebases",children:[(0,t.jsx)(a.ArrowLeft,{})," ",l("backToCodebases")]})})]});let X=d.codebases.map(e=>({codebaseId:e.id,label:`${e.agent.name} \xb7 ${e.folder}`,available:"ONLINE"===e.agent.connectionStatus&&"AVAILABLE"===e.availability}));return(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-6xl flex-col gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:l("editTitle")}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:d.displayOrigin}),(0,t.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:l("repositorySharedDescription")})]}),y&&(0,t.jsx)(x.Alert,{variant:"destructive",children:(0,t.jsx)(x.AlertDescription,{children:y})}),k&&(0,t.jsx)(x.Alert,{children:(0,t.jsx)(x.AlertDescription,{children:k})}),(0,t.jsxs)(_.Tabs,{defaultValue:"details",children:[(0,t.jsxs)(_.TabsList,{children:[(0,t.jsx)(_.TabsTrigger,{value:"details",children:l("repositoryDetails")}),(0,t.jsx)(_.TabsTrigger,{value:"ios-app",children:o("iosApp")}),(0,t.jsx)(_.TabsTrigger,{value:"auto-retry",children:l("autoRetry")}),(0,t.jsx)(_.TabsTrigger,{value:"quick-actions",children:l("quickActions")})]}),(0,t.jsx)(_.TabsContent,{value:"details",children:(0,t.jsx)("form",{className:"space-y-5",onSubmit:Y,children:(0,t.jsxs)(j.Card,{children:[(0,t.jsxs)(j.CardHeader,{children:[(0,t.jsx)(j.CardTitle,{children:l("repositoryDetails")}),(0,t.jsx)(j.CardDescription,{children:l("repositoryDetailsDescription")})]}),(0,t.jsxs)(j.CardContent,{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{htmlFor:"repository-name",children:l("name")}),(0,t.jsx)(C.Input,{id:"repository-name",maxLength:120,onChange:e=>P(e.target.value),required:!0,value:T})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{htmlFor:"repository-jira-regex",children:l("jiraBranchRegex")}),(0,t.jsx)(C.Input,{id:"repository-jira-regex",onChange:e=>O(e.target.value),placeholder:l("inheritDefaultRegex"),value:$}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:l("jiraBranchRegexHelp")})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{htmlFor:"repository-description",children:l("repositoryDescription")}),(0,t.jsx)(R.Textarea,{id:"repository-description",maxLength:2e3,onChange:e=>B(e.target.value),value:D})]}),(0,t.jsxs)("div",{className:"flex items-start gap-3 rounded-lg border p-3",children:[(0,t.jsx)(b.Checkbox,{checked:V,className:"mt-0.5",id:"repository-keep-base-branch-up-to-date",onCheckedChange:e=>G(!0===e)}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)(w.Label,{htmlFor:"repository-keep-base-branch-up-to-date",children:l("keepBaseBranchUpToDate")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:l("keepBaseBranchUpToDateHelp")})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(w.Label,{children:l("skillGroups")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:l("skillGroupsHelp")}),(0,t.jsxs)("div",{className:"max-h-56 space-y-1 overflow-auto rounded-lg border p-2",children:[u.map(e=>(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-md px-2 py-1.5 hover:bg-muted",children:[(0,t.jsx)(b.Checkbox,{checked:F.includes(e.id),onCheckedChange:t=>H(a=>!0===t?[...new Set([...a,e.id])]:a.filter(t=>t!==e.id))}),e.name]},e.id)),!u.length&&(0,t.jsx)("p",{className:"px-2 py-1 text-sm text-muted-foreground",children:l("noSkillGroups")})]})]}),(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsxs)(v.Button,{disabled:g||!T.trim(),type:"submit",children:[g?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(i.Save,{})," ",l("save")]})})]})]})})}),(0,t.jsx)(_.TabsContent,{value:"ios-app",children:(0,t.jsx)(L,{checkouts:X,codebaseId:X[0]?.codebaseId??""})}),(0,t.jsx)(_.TabsContent,{value:"auto-retry",children:(0,t.jsxs)(j.Card,{children:[(0,t.jsxs)(j.CardHeader,{children:[(0,t.jsx)(j.CardTitle,{children:l("autoRetry")}),(0,t.jsx)(j.CardDescription,{children:l("autoRetryDescription")})]}),(0,t.jsx)(j.CardContent,{children:d.canonicalOrigin.startsWith("github.com/")?(0,t.jsx)(M.AutoRetryDialog,{codebaseRepositoryId:d.id,repositoryMode:!0,requestSource:"CODEBASE_REPOSITORY"}):(0,t.jsx)(x.Alert,{children:(0,t.jsx)(x.AlertDescription,{children:l("autoRetryGitHubOnly")})})})]})}),(0,t.jsx)(_.TabsContent,{value:"quick-actions",children:(0,t.jsxs)(j.Card,{children:[(0,t.jsxs)(j.CardHeader,{children:[(0,t.jsx)(j.CardTitle,{children:l("quickActions")}),(0,t.jsx)(j.CardDescription,{children:l("repositoryQuickActionsDescription")})]}),(0,t.jsxs)(j.CardContent,{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"max-h-80 space-y-1 overflow-auto rounded-lg border p-2",children:[z.map(e=>(0,t.jsx)(q.Link,{className:"flex items-start gap-2 rounded-md px-2 py-2 hover:bg-muted",href:`/workflows/${e.id}`,children:(0,t.jsxs)("span",{className:"min-w-0",children:[(0,t.jsxs)("span",{className:"flex flex-wrap items-center gap-2 text-sm font-medium",children:[e.name,(0,t.jsx)("span",{className:"text-xs font-normal text-muted-foreground",children:l(`quickActionKinds.${e.quickActionKind}`)}),(0,t.jsx)("span",{className:"text-xs font-normal text-muted-foreground",children:e.quickActionRepositories.length?l("limitedRepositories",{count:e.quickActionRepositories.length}):l("allRepositories")}),!e.enabled&&(0,t.jsx)("span",{className:"text-xs font-normal text-muted-foreground",children:l("workflowPaused")})]}),e.description&&(0,t.jsx)("span",{className:"block text-xs text-muted-foreground",children:e.description})]})},e.id)),!z.length&&(0,t.jsx)("p",{className:"px-2 py-1 text-sm text-muted-foreground",children:l("noWorkflows")})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:l("quickActionEligibility")})]})]})})]})]})}],390615)}]);
@@ -0,0 +1,57 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,340953,e=>{"use strict";var t=e.i(843476),r=e.i(271645),i=e.i(30030),n=e.i(820783),s=e.i(326999),a=e.i(981140),l=Object.defineProperty,o=(e,t)=>l(e,"name",{value:t,configurable:!0}),[d,c]=(0,i.createContextScope)("AlertDialog",[s.createDialogScope]),u=(0,s.createDialogScope)(),p=o(e=>{let{__scopeAlertDialog:r,...i}=e,n=u(r);return(0,t.jsx)(s.Root,{...n,...i,modal:!0})},"AlertDialog"),f=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:i,...n}=e,a=u(i);return(0,t.jsx)(s.Trigger,{...a,...n,ref:r})},"AlertDialogTrigger")),m=o(e=>{let{__scopeAlertDialog:r,...i}=e,n=u(r);return(0,t.jsx)(s.Portal,{...n,...i})},"AlertDialogPortal"),h=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:i,...n}=e,a=u(i);return(0,t.jsx)(s.Overlay,{...a,...n,ref:r})},"AlertDialogOverlay")),[g,x]=d("AlertDialogContent"),k=r.forwardRef(o(function(e,i){let{__scopeAlertDialog:l,children:o,...d}=e,c=u(l),p=r.useRef(null),f=(0,n.useComposedRefs)(i,p),m=r.useRef(null);return(0,t.jsx)(g,{scope:l,cancelRef:m,children:(0,t.jsx)(s.Content,{role:"alertdialog",...c,...d,ref:f,onOpenAutoFocus:(0,a.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),m.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:o})})},"AlertDialogContent")),j=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:i,...n}=e,a=u(i);return(0,t.jsx)(s.Title,{...a,...n,ref:r})},"AlertDialogTitle")),w=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:i,...n}=e,a=u(i);return(0,t.jsx)(s.Description,{...a,...n,ref:r})},"AlertDialogDescription")),b=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:i,...n}=e,a=u(i);return(0,t.jsx)(s.Close,{...a,...n,ref:r})},"AlertDialogAction")),v=r.forwardRef(o(function(e,r){let{__scopeAlertDialog:i,...a}=e,{cancelRef:l}=x("AlertDialogCancel",i),o=u(i),d=(0,n.useComposedRefs)(r,l);return(0,t.jsx)(s.Close,{...o,...a,ref:d})},"AlertDialogCancel"));e.s(["Action",0,b,"AlertDialog",0,p,"AlertDialogAction",0,b,"AlertDialogCancel",0,v,"AlertDialogContent",0,k,"AlertDialogDescription",0,w,"AlertDialogOverlay",0,h,"AlertDialogPortal",0,m,"AlertDialogTitle",0,j,"AlertDialogTrigger",0,f,"Cancel",0,v,"Content",0,k,"Description",0,w,"Overlay",0,h,"Portal",0,m,"Root",0,p,"Title",0,j,"Trigger",0,f,"createAlertDialogScope",0,c],691162);var y=e.i(691162),y=y,C=e.i(975157),S=e.i(519455);function N({...e}){return(0,t.jsx)(y.Root,{"data-slot":"alert-dialog",...e})}function A({...e}){return(0,t.jsx)(y.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function I({...e}){return(0,t.jsx)(y.Portal,{"data-slot":"alert-dialog-portal",...e})}function D({className:e,...r}){return(0,t.jsx)(y.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,C.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...r})}function L({className:e,size:r="default",...i}){return(0,t.jsxs)(I,{children:[(0,t.jsx)(D,{}),(0,t.jsx)(y.Content,{"data-slot":"alert-dialog-content","data-size":r,className:(0,C.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...i})]})}function R({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,C.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function $({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,C.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function T({className:e,...r}){return(0,t.jsx)(y.Title,{"data-slot":"alert-dialog-title",className:(0,C.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function O({className:e,...r}){return(0,t.jsx)(y.Description,{"data-slot":"alert-dialog-description",className:(0,C.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})}function E({className:e,variant:r="default",size:i="default",...n}){return(0,t.jsx)(S.Button,{variant:r,size:i,asChild:!0,children:(0,t.jsx)(y.Action,{"data-slot":"alert-dialog-action",className:(0,C.cn)(e),...n})})}function B({className:e,variant:r="outline",size:i="default",...n}){return(0,t.jsx)(S.Button,{variant:r,size:i,asChild:!0,children:(0,t.jsx)(y.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,C.cn)(e),...n})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:r,description:i,onConfirm:n,onOpenChange:s,open:a,title:l,trigger:o}){return(0,t.jsxs)(N,{onOpenChange:s,open:a,children:[o&&(0,t.jsx)(A,{asChild:!0,children:o}),(0,t.jsxs)(L,{children:[(0,t.jsxs)(R,{children:[(0,t.jsx)(T,{children:l}),(0,t.jsx)(O,{children:i})]}),(0,t.jsxs)($,{children:[(0,t.jsx)(B,{children:r}),(0,t.jsx)(E,{onClick:()=>void n(),variant:"destructive",children:e})]})]})]})}],340953)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},762368,e=>{"use strict";let t=(0,e.i(456420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["Download",0,t],762368)},832297,e=>{"use strict";var t=e.i(187921);e.s(["CirclePlay",()=>t.default])},997778,e=>{"use strict";var t=e.i(843476),r=e.i(948148),i=e.i(271645),n=e.i(755146);e.s(["WorkflowChoiceMenu",0,function({button:e,choices:s,hasPlainTrigger:a=!1,onRun:l}){let o=(0,r.useTranslations)("workflows");return s.length?(0,t.jsxs)(n.DropdownMenu,{children:[(0,t.jsx)(n.DropdownMenuTrigger,{asChild:!0,children:e}),(0,t.jsxs)(n.DropdownMenuContent,{align:"start",className:"max-w-64",children:[a&&(0,t.jsx)(n.DropdownMenuItem,{onSelect:()=>l(null),children:o("fullRun")}),s.map(e=>(0,t.jsx)(n.DropdownMenuItem,{onSelect:()=>l(e.key),children:(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"truncate",children:e.label}),e.description&&(0,t.jsx)("p",{className:"truncate text-xs text-muted-foreground",children:e.description})]})},e.key))]})]}):(0,i.cloneElement)(e,{onClick:()=>l(null)})}])},880181,596930,505624,e=>{"use strict";function t(e){return encodeURIComponent(e.trim())}function r(e){var r;let i=(r=e.url,!r?.startsWith("/")||r.startsWith("//")?null:r);if(i)return{href:i,external:!1};let n=e.kind.trim().toUpperCase(),s=e.resourceId.trim();if(!s)return null;let a="string"==typeof e.metadata?.runKind?e.metadata.runKind.toUpperCase():null,l="BUILD"===n?`/builds/${t(s)}`:"CODEBASE"===n?`/codebases/${t(s)}`:"JIRA_TICKET"===n?`/jira/tickets/${t(s)}`:"WORKTREE"===n?`/worktrees/${t(s)}`:"AGENT_RUN"===n&&"PLAN"===a?`/plans/${t(s)}`:"AGENT_RUN"===n&&"SESSION"===a?`/sessions/${t(s)}`:"PULL_REQUEST"===n?function(e){let r=e.lastIndexOf("#");if(r<1)return null;let i=e.slice(0,r),n=i.indexOf("/");if(n<1||n===i.length-1)return null;let s=Number(e.slice(r+1));return!Number.isInteger(s)||s<1?null:`/pull-requests/${t(i.slice(0,n))}/${t(i.slice(n+1))}/${s}`}(s):"AGENT_JOB"===n?`/jobs/${t(s)}`:"COMMAND_RUN"===n?`/commands/runs/${t(s)}`:"WORKFLOW_RUN"===n?`/workflows/runs/${t(s)}`:"SKILL_SYNC"===n?`/skills/sync/${t(s)}`:"SKILL"===n?`/skills/${t(s)}`:"IOS_DEVICE"===n?`/devices/${t(s)}`:"SIGNING_PROFILE"===n?`/provisioning-profiles/${t(s)}`:"PUSH_NOTIFICATION_BATCH"===n?"/push-notifications":"BUILD_DATA_COLLECTION"===n?"/build-data":"AGENT"===n?`/agents/${t(s)}`:"CODEBASE_REPOSITORY"===n?`/codebases/repositories/${t(s)}`:null;if(l)return{href:l,external:!1};let o=function(e){if(!e)return null;try{let t=new URL(e);return new Set(["http:","https:"]).has(t.protocol)?t.href:null}catch{return null}}(e.url);return o?{href:o,external:!0}:null}function i(e){let t=e.kind.trim().toUpperCase();return"AGENT_JOB"===t||"COMMAND_RUN"===t?30:"GITHUB_WORKFLOW_RUN"===t?20:10}function n(e){return e.map((e,t)=>({destination:r(e),index:t,link:e,time:e.createdAt instanceof Date?e.createdAt.getTime():Date.parse(e.createdAt??"")||0})).filter(e=>null!==e.destination).sort((e,t)=>i(e.link)-i(t.link)||t.time-e.time||t.index-e.index)[0]?.destination??null}function s(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function a(e){return"string"!=typeof e&&"number"!=typeof e?null:String(e).trim()||null}function l(e,t,r){return e.kind.trim().toUpperCase()===t.trim().toUpperCase()&&e.resourceId.trim()===r.trim()}e.i(672510),e.s(["githubJobResourceId",0,function(e,t){let r=e.trim(),i=t.trim();if(!r||!i)throw Error("GitHub job repository and job ID are required");return`${r}:job:${i}`},"githubPipelineResourceId",0,function(e,t,r){let i=e.trim(),n=t?.trim(),s=r.trim();if(!i||!n&&!s)throw Error("GitHub pipeline repository and provider ID are required");return`${i}:${n?"run":"check"}:${n||s}`},"preferredWorkflowResourceDestination",0,n,"workflowResourceDestination",0,r],596930),e.s(["currentPageWorkflowNodeIds",0,function(e,t,r){let i=new Set,n=new Map(e.attempts.map(e=>[e.id,e.nodeId]));for(let n of e.attempts)n.resourceLinks.some(e=>l(e,t,r))&&i.add(n.nodeId);for(let s of e.resourceLinks){if(!l(s,t,r))continue;let a=s.attemptId?n.get(s.attemptId):e.trigger?.nodeId;a&&i.add(a)}return i},"workflowRunNodeDestinations",0,function(e){let t=new Map;for(let r of[...e.attempts].sort((t,r)=>Number(r.generation===e.generation)-Number(t.generation===e.generation)||r.generation-t.generation||r.attempt-t.attempt||Number(!!t.iterationKey)-Number(!!r.iterationKey))){if(t.has(r.nodeId))continue;let e=function(e){let t=e.kind?.trim().toUpperCase()??"",r=s(e.output),i=s(r.value),n={...s(i.sessionPatch),...s(r.sessionPatch)};if(t.startsWith("JIRA_")){let e=a(i.key)??a(s(i.ticket).key)??a(s(n.ticket).key);return e?{kind:"JIRA_TICKET",resourceId:e}:null}if(t.startsWith("RUN_")){let e=a(i.id),t=a(i.kind)?.toUpperCase();return e&&("PLAN"===t||"SESSION"===t)?{kind:"AGENT_RUN",resourceId:e,metadata:{runKind:t}}:null}if(t.startsWith("WORKTREE_")){let e=a(s(n.worktree).id);return e?{kind:"WORKTREE",resourceId:e}:null}if(t.startsWith("CODEBASE_")){let e=a(s(n.codebase).id)??a(i.id);return e?{kind:"CODEBASE",resourceId:e}:null}if(t.startsWith("BUILD_")){let e=a(s(n.build).id)??a(i.id);return e?{kind:"BUILD",resourceId:e}:null}return null}(r),i=n(e?[...r.resourceLinks,e]:r.resourceLinks);i&&t.set(r.nodeId,i)}let r=n(e.resourceLinks.filter(({attemptId:e})=>!e));return e.trigger?.nodeId&&r&&t.set(e.trigger.nodeId,r),t}],880181);var o=e.i(271645),d=e.i(520133);e.s(["useOpenWorkflowDestination",0,function(){let e=(0,d.useRouter)();return(0,o.useCallback)(t=>{if(t){if(t.external)return void window.open(t.href,"_blank","noopener,noreferrer");e.push(t.href)}},[e])}],505624)},586592,e=>{"use strict";var t=e.i(843476),r=e.i(832297),i=e.i(482022),n=e.i(948148),s=e.i(271645),a=e.i(929592),l=e.i(487486),o=e.i(519455),d=e.i(515288),c=e.i(906197),u=e.i(520133),p=e.i(637611),f=e.i(880181),m=e.i(997778),h=e.i(505624),g=e.i(349049),x=e.i(399668);function k(e){return"string"==typeof e&&e.length>0?e:null}function j({run:e,onAnswered:r}){let i=(0,n.useTranslations)("workflows"),l=(0,x.useWorkflowLabels)(),[d,c]=(0,s.useState)({}),[f,m]=(0,s.useState)(!1),[h,g]=(0,s.useState)(null),w=(0,s.useMemo)(()=>e.attempts.flatMap(e=>(e.questionBatches??[]).flatMap(t=>{let r=k(t.id);if(!r||"PENDING"!==t.status)return[];let i=(Array.isArray(t.questions)?t.questions:[]).flatMap(e=>(function(e){if(!e||"object"!=typeof e||Array.isArray(e))return null;let t=k(e.id);if(!t)return null;let r=Array.isArray(e.options)?e.options:[];return{id:t,header:k(e.header),prompt:k(e.prompt)??"",multiSelect:!!e.multiSelect,options:r.flatMap(e=>{if(!e||"object"!=typeof e)return[];let t=k(e.label);return t?[{id:k(e.id)??t,label:t,description:k(e.description)}]:[]})}})(e)??[]);return i.length?[{id:r,kind:e.kind,questions:i}]:[]})),[e]);if(0===w.length)return null;let b=(e,t)=>`${e}:${t}`,v=async(e,t)=>{m(!0);try{await (0,p.controlPlaneRequest)("mutation AnswerWorkflowQuestion($batchId: ID!, $answers: JSON!) { answerWorkflowQuestion(batchId: $batchId, answers: $answers) { id status } }",{batchId:e.id,answers:Object.fromEntries(e.questions.map(e=>[e.id,{answers:t[e.id]??[]}]))}),c(t=>{let r={...t};for(let t of e.questions)delete r[b(e.id,t.id)];return r}),g(null),await r()}catch(e){g(e instanceof Error?e.message:String(e))}finally{m(!1)}};return(0,t.jsxs)("div",{className:"space-y-2",children:[h&&(0,t.jsx)(a.Alert,{variant:"destructive",children:(0,t.jsx)(a.AlertDescription,{children:h})}),w.map(r=>{let n=1===r.questions.length&&!r.questions[0].multiSelect,s=r.questions.every(e=>(d[b(r.id,e.id)]??[]).length>0);return(0,t.jsxs)("div",{className:"space-y-3 rounded-xl border border-amber-500/50 bg-amber-500/5 p-3",children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:i("questionFrom",{step:l.kind(r.kind)})}),r.questions.every(({options:e})=>e.length>0)?(0,t.jsxs)(t.Fragment,{children:[r.questions.map(e=>{let i=d[b(r.id,e.id)]??[];return(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e.header||e.prompt}),e.header&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e.prompt}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e.options.map((s,a)=>(0,t.jsx)(o.Button,{"aria-pressed":n?void 0:i.includes(s.label),disabled:f,onClick:()=>{n?v(r,{[e.id]:[s.label]}):c(t=>{let i=new Set(t[b(r.id,e.id)]??[]);return e.multiSelect?i.has(s.label)?i.delete(s.label):i.add(s.label):(i.clear(),i.add(s.label)),{...t,[b(r.id,e.id)]:[...i]}})},size:"sm",title:s.description??void 0,variant:i.includes(s.label)||n&&0===a?"default":"outline",children:s.label},s.id))})]},e.id)}),!n&&(0,t.jsx)(o.Button,{disabled:f||!s,onClick:()=>void v(r,Object.fromEntries(r.questions.map(e=>[e.id,d[b(r.id,e.id)]??[]]))),size:"sm",children:i("answer")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:r.questions[0].header||r.questions[0].prompt}),(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(u.Link,{href:`/workflows/runs/${e.id}`,children:i("answerOnRunPage")})})]})]},r.id)})]})}let w=`
2
+ id displayNumber workflowId triggerKind triggerSubjectKey status phase generation
3
+ sessionData sessionRevision blockedReason error queuedAt startedAt pausedAt finishedAt
4
+ workflow { id name }
5
+ trigger { nodeId }
6
+ version { id workflowId version name description schemaVersion definition contentHash publishedAt }
7
+ attempts {
8
+ id nodeId kind generation iterationKey attempt status phase input output error startedAt finishedAt supersededAt
9
+ resourceLinks { id attemptId kind resourceId label url metadata createdAt }
10
+ questionBatches {
11
+ id status
12
+ questions { id header prompt multiSelect options { id label description } }
13
+ }
14
+ }
15
+ resourceLinks { id attemptId kind resourceId label url metadata createdAt }
16
+ `;e.s(["WorkflowResourcePanel",0,function({resourceKind:e,resourceId:k,sessionData:b}){let v=(0,n.useTranslations)("workflows"),y=(0,x.useWorkflowLabels)(),C=(0,h.useOpenWorkflowDestination)(),[S,N]=(0,s.useState)([]),[A,I]=(0,s.useState)([]),[D,L]=(0,s.useState)(null),[R,$]=(0,s.useState)(null),T=(0,s.useCallback)(async()=>{try{let t=await (0,p.controlPlaneRequest)(`query ResourceWorkflows($kind: String!, $resourceId: ID!) {
17
+ workflowRunsForResource(kind: $kind, resourceId: $resourceId) { ${w} }
18
+ workflowsAcceptingResource(kind: $kind) {
19
+ id name description enabled
20
+ hasPlainTrigger(resourceKind: $kind)
21
+ triggerChoices(resourceKind: $kind) { key label description }
22
+ }
23
+ }`,{kind:e,resourceId:k});N(t.workflowRunsForResource),I(t.workflowsAcceptingResource),$(null)}catch(e){$(e instanceof Error?e.message:String(e))}},[k,e]);(0,s.useEffect)(()=>{let e=window.setTimeout(()=>void T(),0),t=(0,p.controlPlaneSubscriptions)().subscribe({query:"subscription ResourceWorkflowChanges { workflowsChanged { id } }"},{next:()=>void T(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),t()}},[T]);let O=async(t,r)=>{L(t);try{await (0,p.controlPlaneRequest)("mutation TriggerResourceWorkflow($input: TriggerWorkflowInput!) { triggerWorkflow(input: $input) { id } }",{input:{workflowId:t,sessionData:b,resourceKind:e,resourceId:k,subjectKey:`${e}:${k}`,choice:r}}),await T()}catch(e){$(e instanceof Error?e.message:String(e))}finally{L(null)}},E=S[0],B=(0,s.useMemo)(()=>E?(0,f.currentPageWorkflowNodeIds)(E,e,k):new Set,[E,k,e]),P=(0,s.useMemo)(()=>E?(0,f.workflowRunNodeDestinations)(E):new Map,[E]);return S.length||A.length||R?(0,t.jsxs)(d.Card,{children:[(0,t.jsxs)(d.CardHeader,{children:[(0,t.jsx)(d.CardTitle,{children:v("resourceWorkflows")}),(0,t.jsx)(d.CardDescription,{children:v("resourceWorkflowsDescription")}),(0,t.jsx)(d.CardAction,{children:(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(u.Link,{href:"/workflows",children:v("manageWorkflows")})})})]}),(0,t.jsxs)(d.CardContent,{className:"space-y-4",children:[R&&(0,t.jsx)(a.Alert,{variant:"destructive",children:(0,t.jsx)(a.AlertDescription,{children:R})}),A.length>0&&(0,t.jsx)(c.ItemGroup,{className:"gap-2",children:A.map(e=>(0,t.jsxs)(c.Item,{size:"sm",variant:"outline",children:[(0,t.jsxs)(c.ItemContent,{children:[(0,t.jsx)(c.ItemTitle,{children:e.name}),e.description&&(0,t.jsx)(c.ItemDescription,{children:e.description})]}),(0,t.jsx)(c.ItemActions,{children:(0,t.jsx)(m.WorkflowChoiceMenu,{button:(0,t.jsxs)(o.Button,{disabled:!e.enabled||null!==D,size:"sm",variant:"outline",children:[(0,t.jsx)(r.CirclePlay,{})," ",v("run")]}),choices:e.triggerChoices,hasPlainTrigger:e.hasPlainTrigger,onRun:t=>void O(e.id,t)})})]},e.id))}),E&&(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)(u.Link,{className:"font-medium hover:underline",href:`/workflows/runs/${E.id}`,children:[E.workflow.name," #",E.displayNumber]}),(0,t.jsx)(l.Badge,{variant:(0,g.workflowStatusVariant)(E.status),children:y.status(E.status)})]}),(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(u.Link,{href:`/workflows/runs/${E.id}`,children:[(0,t.jsx)(i.ExternalLink,{})," ",v("fullRun")]})})]}),(0,t.jsx)(j,{onAnswered:T,run:E}),(0,t.jsx)(g.WorkflowGraph,{attempts:E.attempts,compact:!0,currentPageNodeIds:B,definition:E.version.definition,destinations:P,generation:E.generation,onNodeClick:(e,{destination:t,locked:r})=>{r&&C(t)}}),S.length>1&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:S.slice(1,6).map(e=>(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(u.Link,{className:"gap-2",href:`/workflows/runs/${e.id}`,children:[(0,t.jsxs)("span",{children:["#",e.displayNumber," · ",e.workflow.name]}),(0,t.jsx)(l.Badge,{variant:(0,g.workflowStatusVariant)(e.status),children:y.status(e.status)})]})},e.id))})]})]})]}):null}],586592)},702143,e=>{"use strict";let t=`
24
+ id name description syncGlobally packageHash createdAt updatedAt
25
+ files { id path contentsBase64 executable contentHash createdAt updatedAt }
26
+ groups { id name createdAt updatedAt }
27
+ `,r=`
28
+ id kind status error createdAt updatedAt finishedAt
29
+ group { id name }
30
+ items {
31
+ id direction status sourceHash targetHash resolution candidatePackage error createdAt updatedAt
32
+ skill { id name description }
33
+ agent { id name hostname connectionStatus }
34
+ installation {
35
+ id scope rootKind rootPath skillName description packageHash fileCount totalBytes tracked consumers lastSeenAt
36
+ agent { id name hostname connectionStatus }
37
+ codebase { id folder repository { id name displayOrigin } }
38
+ worktree { id folder }
39
+ skill { id name packageHash }
40
+ }
41
+ }
42
+ `;e.s(["SKILL_FIELDS",0,t,"SKILL_SYNC_RUN_FIELDS",0,r])},150930,e=>{"use strict";var t=e.i(843476),r=e.i(762368),i=e.i(456420);let n=(0,i.default)("file-plus-corner",[["path",{d:"M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35",key:"17jvcc"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M14 19h6",key:"bvotb8"}],["path",{d:"M17 16v6",key:"18yu1i"}]]),s=(0,i.default)("pencil-line",[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);var a=e.i(856522),l=e.i(573474),o=e.i(948148),d=e.i(271645),c=e.i(340953),u=e.i(929592),p=e.i(519455),f=e.i(515288),m=e.i(257428),h=e.i(793479),g=e.i(110204),x=e.i(987968),k=e.i(624687),j=e.i(520133),w=e.i(637611),b=e.i(702143);function v(e){let t="";for(let r=0;r<e.length;r+=32768)t+=String.fromCharCode(...e.subarray(r,r+32768));return globalThis.btoa(t)}function y(e){let t=globalThis.atob(e);return Uint8Array.from(t,e=>e.charCodeAt(0))}function C(e){let t=y(e.contentsBase64);if(t.includes(0))return null;try{return new TextDecoder("utf-8",{fatal:!0}).decode(t)}catch{return null}}function S(e){return v(new TextEncoder().encode(e))}function N(e,t){return`---
43
+ name: ${e}
44
+ description: ${JSON.stringify(t)}
45
+ ---
46
+
47
+ # ${e}
48
+
49
+ Add skill instructions here.
50
+ `}e.s(["SkillDetailPage",0,function({skillId:e}){let i=(0,o.useTranslations)("skills"),A=(0,j.useRouter)(),I="new"===e,[D,L]=(0,d.useState)(I?"new-skill":""),[R,$]=(0,d.useState)(I?"Describe when this skill should be used.":""),[T,O]=(0,d.useState)(!0),[E,B]=(0,d.useState)([]),[P,_]=(0,d.useState)([]),[K,W]=(0,d.useState)(()=>I?[{path:"SKILL.md",contentsBase64:S(N("new-skill","Describe when this skill should be used.")),executable:!1}]:[]),[U,M]=(0,d.useState)("SKILL.md"),[q,z]=(0,d.useState)("SKILL.md"),[F,H]=(0,d.useState)(!I),[G,J]=(0,d.useState)(!1),[V,Q]=(0,d.useState)(null),Y=(0,d.useCallback)(async()=>{if(!I)try{let t=await (0,w.controlPlaneRequest)(`query SkillDetail($id: ID!) {
51
+ skill(id: $id) { ${b.SKILL_FIELDS} }
52
+ skillsOverview { groups { id name } }
53
+ }`,{id:e});if(!t.skill)throw Error(i("skillNotFound"));L(t.skill.name),$(t.skill.description),O(t.skill.syncGlobally),B(t.skill.groups.map(e=>e.id)),W(t.skill.files),_(t.skillsOverview.groups),M("SKILL.md"),z("SKILL.md")}catch(e){Q(e instanceof Error?e.message:String(e))}finally{H(!1)}},[I,e,i]);(0,d.useEffect)(()=>{if(I)return void(0,w.controlPlaneRequest)("query SkillGroups { skillsOverview { groups { id name } } }").then(e=>_(e.skillsOverview.groups));let e=window.setTimeout(()=>void Y(),0);return()=>window.clearTimeout(e)},[I,Y]);let X=K.find(e=>e.path===U)??null,Z=(0,d.useMemo)(()=>X?C(X):null,[X]),ee=(e,t)=>{W(r=>r.map(r=>{if("SKILL.md"!==r.path)return r;let i=C(r)??N(e,t);return{...r,contentsBase64:S(function(e,t,r){let i=e.replaceAll("\r\n","\n");if(!i.startsWith("---\n"))return N(t,r);let n=i.indexOf("\n---",4);if(n<0)return N(t,r);let s=i.slice(4,n).split("\n"),a=[],l=!1,o=!1;for(let e=0;e<s.length;e+=1){let i=s[e]??"";if(/^name:/.test(i)){a.push(`name: ${t}`),l=!0;continue}if(/^description:/.test(i)){if(a.push(`description: ${JSON.stringify(r)}`),o=!0,/^description:\s*[|>]/.test(i))for(;e+1<s.length&&/^\s/.test(s[e+1]??"");)e+=1;continue}a.push(i)}return l||a.unshift(`name: ${t}`),o||a.push(`description: ${JSON.stringify(r)}`),`---
54
+ ${a.join("\n")}
55
+ ---${i.slice(n+4)}`}(i,e,t))}}))},et=async()=>{J(!0);try{let t=await (0,w.controlPlaneRequest)(`mutation SaveSkill($input: SaveSkillInput!) {
56
+ saveSkill(input: $input) { id name }
57
+ }`,{input:{id:I?null:e,name:D,description:R,syncGlobally:T,groupIds:E,files:K.map(({path:e,contentsBase64:t,executable:r})=>({path:e,contentsBase64:t,executable:r}))}});A.replace(`/skills/${t.saveSkill.id}`)}catch(e){Q(e instanceof Error?e.message:String(e))}finally{J(!1)}},er=async()=>{J(!0);try{await (0,w.controlPlaneRequest)("mutation DeleteSkill($id: ID!) { deleteSkill(id: $id) }",{id:e}),A.push("/skills")}catch(e){Q(e instanceof Error?e.message:String(e)),J(!1)}},ei=async e=>{if(!e)return;let t=await Promise.all([...e].map(async e=>({path:e.name,contentsBase64:v(new Uint8Array(await e.arrayBuffer())),executable:!1})));W(e=>[...e.filter(e=>!t.some(t=>t.path===e.path)),...t]),t[0]&&(M(t[0].path),z(t[0].path))};return F?(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(x.Spinner,{})," ",i("loadingSkill")]}):(0,t.jsxs)("div",{className:"flex w-full flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,t.jsx)("div",{className:"flex items-center gap-3",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold",children:I?i("newSkill"):D}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:i("editorDescription")})]})}),(0,t.jsxs)("div",{className:"flex gap-2",children:[!I&&(0,t.jsx)(c.ConfirmationDialog,{actionLabel:i("delete"),cancelLabel:i("cancel"),description:i("deleteSkillDescription",{name:D}),onConfirm:er,title:i("deleteSkill"),trigger:(0,t.jsxs)(p.Button,{disabled:G,variant:"ghost",children:[(0,t.jsx)(l.Trash2,{})," ",i("delete")]})}),(0,t.jsxs)(p.Button,{disabled:G,onClick:()=>void et(),children:[G?(0,t.jsx)(x.Spinner,{}):(0,t.jsx)(a.Save,{})," ",i("saveSkill")]})]})]}),V&&(0,t.jsx)(u.Alert,{variant:"destructive",children:(0,t.jsx)(u.AlertDescription,{children:V})}),(0,t.jsx)(f.Card,{children:(0,t.jsxs)(f.CardContent,{className:"grid gap-4 pt-1 md:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(g.Label,{htmlFor:"skill-name",children:i("name")}),(0,t.jsx)(h.Input,{id:"skill-name",maxLength:64,onChange:e=>{let t=e.target.value;L(t),ee(t,R)},value:D})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(g.Label,{htmlFor:"skill-description",children:i("skillDescription")}),(0,t.jsx)(h.Input,{id:"skill-description",maxLength:1024,onChange:e=>{let t=e.target.value;$(t),ee(D,t)},value:R})]}),(0,t.jsxs)("div",{className:"flex items-start gap-3 rounded-lg border p-3 md:col-span-2",children:[(0,t.jsx)(m.Checkbox,{checked:T,id:"skill-global",onCheckedChange:e=>O(!0===e)}),(0,t.jsxs)("div",{children:[(0,t.jsx)(g.Label,{htmlFor:"skill-global",children:i("syncGlobally")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:i("syncGloballyHelp")})]})]}),(0,t.jsxs)("div",{className:"space-y-2 md:col-span-2",children:[(0,t.jsx)(g.Label,{children:i("groups")}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[P.map(e=>(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-md border px-3 py-2",children:[(0,t.jsx)(m.Checkbox,{checked:E.includes(e.id),onCheckedChange:t=>B(r=>!0===t?[...new Set([...r,e.id])]:r.filter(t=>t!==e.id))}),e.name]},e.id)),!P.length&&(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:i("noGroups")})]})]})]})}),(0,t.jsxs)("div",{className:"grid min-h-[32rem] gap-4 lg:grid-cols-[18rem_minmax(0,1fr)]",children:[(0,t.jsxs)(f.Card,{children:[(0,t.jsx)(f.CardHeader,{children:(0,t.jsx)(f.CardTitle,{children:i("packageFiles")})}),(0,t.jsxs)(f.CardContent,{className:"space-y-3",children:[(0,t.jsx)(h.Input,{"aria-label":i("addFiles"),multiple:!0,onChange:e=>void ei(e.target.files),type:"file"}),(0,t.jsx)("div",{className:"space-y-1",children:[...K].sort((e,t)=>e.path.localeCompare(t.path)).map(e=>(0,t.jsx)("button",{className:`block w-full rounded-md px-2 py-1.5 text-left font-mono text-xs ${U===e.path?"bg-primary text-primary-foreground":"hover:bg-muted"}`,onClick:()=>{M(e.path),z(e.path)},type:"button",children:e.path},e.path))})]})]}),(0,t.jsxs)(f.Card,{children:[(0,t.jsx)(f.CardHeader,{children:(0,t.jsxs)(f.CardTitle,{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,t.jsx)("span",{children:X?.path??i("selectFile")}),X&&(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsxs)(p.Button,{onClick:()=>{if(!X)return;let e=y(X.contentsBase64),t=new Blob([e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)]),r=URL.createObjectURL(t),i=document.createElement("a");i.href=r,i.download=X.path.split("/").at(-1)??X.path,i.click(),URL.revokeObjectURL(r)},size:"sm",variant:"outline",children:[(0,t.jsx)(r.Download,{})," ",i("download")]}),"SKILL.md"!==X.path&&(0,t.jsxs)(p.Button,{onClick:()=>{W(e=>e.filter(e=>e.path!==X.path)),M("SKILL.md"),z("SKILL.md")},size:"sm",variant:"ghost",children:[(0,t.jsx)(l.Trash2,{})," ",i("removeFile")]})]})]})}),(0,t.jsxs)(f.CardContent,{className:"space-y-3",children:[X&&"SKILL.md"!==X.path&&(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(h.Input,{onChange:e=>z(e.target.value),value:q}),(0,t.jsxs)(p.Button,{onClick:()=>{let e=q.trim().replaceAll("\\","/");if(X&&"SKILL.md"!==X.path&&e){if(K.some(t=>t.path===e))return void Q(i("duplicateFile"));W(t=>t.map(t=>t.path===X.path?{...t,path:e}:t)),M(e)}},variant:"outline",children:[(0,t.jsx)(s,{})," ",i("rename")]})]}),X&&(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(m.Checkbox,{checked:X.executable,onCheckedChange:e=>W(t=>t.map(t=>t.path===X.path?{...t,executable:!0===e}:t))}),i("executable")]}),X&&null!==Z?(0,t.jsx)(k.Textarea,{className:"min-h-[28rem] font-mono text-xs",onChange:e=>{let t=S(e.target.value);W(e=>e.map(e=>e.path===X.path?{...e,contentsBase64:t}:e))},spellCheck:!1,value:Z}):X?(0,t.jsxs)("div",{className:"rounded-lg border border-dashed p-10 text-center text-sm text-muted-foreground",children:[(0,t.jsx)(n,{className:"mx-auto mb-2"}),i("binaryFile")]}):null]})]})]})]})}],150930)}]);