@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,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,340953,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(30030),r=e.i(820783),n=e.i(326999),i=e.i(981140),l=Object.defineProperty,o=(e,t)=>l(e,"name",{value:t,configurable:!0}),[d,c]=(0,s.createContextScope)("AlertDialog",[n.createDialogScope]),u=(0,n.createDialogScope)(),h=o(e=>{let{__scopeAlertDialog:a,...s}=e,r=u(a);return(0,t.jsx)(n.Root,{...r,...s,modal:!0})},"AlertDialog"),m=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:s,...r}=e,i=u(s);return(0,t.jsx)(n.Trigger,{...i,...r,ref:a})},"AlertDialogTrigger")),p=o(e=>{let{__scopeAlertDialog:a,...s}=e,r=u(a);return(0,t.jsx)(n.Portal,{...r,...s})},"AlertDialogPortal"),x=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:s,...r}=e,i=u(s);return(0,t.jsx)(n.Overlay,{...i,...r,ref:a})},"AlertDialogOverlay")),[f,g]=d("AlertDialogContent"),j=a.forwardRef(o(function(e,s){let{__scopeAlertDialog:l,children:o,...d}=e,c=u(l),h=a.useRef(null),m=(0,r.useComposedRefs)(s,h),p=a.useRef(null);return(0,t.jsx)(f,{scope:l,cancelRef:p,children:(0,t.jsx)(n.Content,{role:"alertdialog",...c,...d,ref:m,onOpenAutoFocus:(0,i.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:o})})},"AlertDialogContent")),b=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:s,...r}=e,i=u(s);return(0,t.jsx)(n.Title,{...i,...r,ref:a})},"AlertDialogTitle")),v=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:s,...r}=e,i=u(s);return(0,t.jsx)(n.Description,{...i,...r,ref:a})},"AlertDialogDescription")),C=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:s,...r}=e,i=u(s);return(0,t.jsx)(n.Close,{...i,...r,ref:a})},"AlertDialogAction")),w=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:s,...i}=e,{cancelRef:l}=g("AlertDialogCancel",s),o=u(s),d=(0,r.useComposedRefs)(a,l);return(0,t.jsx)(n.Close,{...o,...i,ref:d})},"AlertDialogCancel"));e.s(["Action",0,C,"AlertDialog",0,h,"AlertDialogAction",0,C,"AlertDialogCancel",0,w,"AlertDialogContent",0,j,"AlertDialogDescription",0,v,"AlertDialogOverlay",0,x,"AlertDialogPortal",0,p,"AlertDialogTitle",0,b,"AlertDialogTrigger",0,m,"Cancel",0,w,"Content",0,j,"Description",0,v,"Overlay",0,x,"Portal",0,p,"Root",0,h,"Title",0,b,"Trigger",0,m,"createAlertDialogScope",0,c],691162);var y=e.i(691162),y=y,k=e.i(975157),N=e.i(519455);function A({...e}){return(0,t.jsx)(y.Root,{"data-slot":"alert-dialog",...e})}function D({...e}){return(0,t.jsx)(y.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function S({...e}){return(0,t.jsx)(y.Portal,{"data-slot":"alert-dialog-portal",...e})}function I({className:e,...a}){return(0,t.jsx)(y.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,k.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),...a})}function T({className:e,size:a="default",...s}){return(0,t.jsxs)(S,{children:[(0,t.jsx)(I,{}),(0,t.jsx)(y.Content,{"data-slot":"alert-dialog-content","data-size":a,className:(0,k.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),...s})]})}function E({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,k.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),...a})}function B({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,k.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),...a})}function R({className:e,...a}){return(0,t.jsx)(y.Title,{"data-slot":"alert-dialog-title",className:(0,k.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),...a})}function O({className:e,...a}){return(0,t.jsx)(y.Description,{"data-slot":"alert-dialog-description",className:(0,k.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...a})}function $({className:e,variant:a="default",size:s="default",...r}){return(0,t.jsx)(N.Button,{variant:a,size:s,asChild:!0,children:(0,t.jsx)(y.Action,{"data-slot":"alert-dialog-action",className:(0,k.cn)(e),...r})})}function L({className:e,variant:a="outline",size:s="default",...r}){return(0,t.jsx)(N.Button,{variant:a,size:s,asChild:!0,children:(0,t.jsx)(y.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,k.cn)(e),...r})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:s,onConfirm:r,onOpenChange:n,open:i,title:l,trigger:o}){return(0,t.jsxs)(A,{onOpenChange:n,open:i,children:[o&&(0,t.jsx)(D,{asChild:!0,children:o}),(0,t.jsxs)(T,{children:[(0,t.jsxs)(E,{children:[(0,t.jsx)(R,{children:l}),(0,t.jsx)(O,{children:s})]}),(0,t.jsxs)(B,{children:[(0,t.jsx)(L,{children:a}),(0,t.jsx)($,{onClick:()=>void r(),variant:"destructive",children:e})]})]})]})}],340953)},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 r=(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",...n}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,s.cn)(r({variant:a,className:e})),...n})},"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})}])},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)},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),a=e.i(948148),s=e.i(271645),r=e.i(755146);e.s(["WorkflowChoiceMenu",0,function({button:e,choices:n,hasPlainTrigger:i=!1,onRun:l}){let o=(0,a.useTranslations)("workflows");return n.length?(0,t.jsxs)(r.DropdownMenu,{children:[(0,t.jsx)(r.DropdownMenuTrigger,{asChild:!0,children:e}),(0,t.jsxs)(r.DropdownMenuContent,{align:"start",className:"max-w-64",children:[i&&(0,t.jsx)(r.DropdownMenuItem,{onSelect:()=>l(null),children:o("fullRun")}),n.map(e=>(0,t.jsx)(r.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,s.cloneElement)(e,{onClick:()=>l(null)})}])},880181,596930,505624,e=>{"use strict";function t(e){return encodeURIComponent(e.trim())}function a(e){var a;let s=(a=e.url,!a?.startsWith("/")||a.startsWith("//")?null:a);if(s)return{href:s,external:!1};let r=e.kind.trim().toUpperCase(),n=e.resourceId.trim();if(!n)return null;let i="string"==typeof e.metadata?.runKind?e.metadata.runKind.toUpperCase():null,l="BUILD"===r?`/builds/${t(n)}`:"CODEBASE"===r?`/codebases/${t(n)}`:"JIRA_TICKET"===r?`/jira/tickets/${t(n)}`:"WORKTREE"===r?`/worktrees/${t(n)}`:"AGENT_RUN"===r&&"PLAN"===i?`/plans/${t(n)}`:"AGENT_RUN"===r&&"SESSION"===i?`/sessions/${t(n)}`:"PULL_REQUEST"===r?function(e){let a=e.lastIndexOf("#");if(a<1)return null;let s=e.slice(0,a),r=s.indexOf("/");if(r<1||r===s.length-1)return null;let n=Number(e.slice(a+1));return!Number.isInteger(n)||n<1?null:`/pull-requests/${t(s.slice(0,r))}/${t(s.slice(r+1))}/${n}`}(n):"AGENT_JOB"===r?`/jobs/${t(n)}`:"COMMAND_RUN"===r?`/commands/runs/${t(n)}`:"WORKFLOW_RUN"===r?`/workflows/runs/${t(n)}`:"SKILL_SYNC"===r?`/skills/sync/${t(n)}`:"SKILL"===r?`/skills/${t(n)}`:"IOS_DEVICE"===r?`/devices/${t(n)}`:"SIGNING_PROFILE"===r?`/provisioning-profiles/${t(n)}`:"PUSH_NOTIFICATION_BATCH"===r?"/push-notifications":"BUILD_DATA_COLLECTION"===r?"/build-data":"AGENT"===r?`/agents/${t(n)}`:"CODEBASE_REPOSITORY"===r?`/codebases/repositories/${t(n)}`: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 s(e){let t=e.kind.trim().toUpperCase();return"AGENT_JOB"===t||"COMMAND_RUN"===t?30:"GITHUB_WORKFLOW_RUN"===t?20:10}function r(e){return e.map((e,t)=>({destination:a(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)=>s(e.link)-s(t.link)||t.time-e.time||t.index-e.index)[0]?.destination??null}function n(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function i(e){return"string"!=typeof e&&"number"!=typeof e?null:String(e).trim()||null}function l(e,t,a){return e.kind.trim().toUpperCase()===t.trim().toUpperCase()&&e.resourceId.trim()===a.trim()}e.i(672510),e.s(["githubJobResourceId",0,function(e,t){let a=e.trim(),s=t.trim();if(!a||!s)throw Error("GitHub job repository and job ID are required");return`${a}:job:${s}`},"githubPipelineResourceId",0,function(e,t,a){let s=e.trim(),r=t?.trim(),n=a.trim();if(!s||!r&&!n)throw Error("GitHub pipeline repository and provider ID are required");return`${s}:${r?"run":"check"}:${r||n}`},"preferredWorkflowResourceDestination",0,r,"workflowResourceDestination",0,a],596930),e.s(["currentPageWorkflowNodeIds",0,function(e,t,a){let s=new Set,r=new Map(e.attempts.map(e=>[e.id,e.nodeId]));for(let r of e.attempts)r.resourceLinks.some(e=>l(e,t,a))&&s.add(r.nodeId);for(let n of e.resourceLinks){if(!l(n,t,a))continue;let i=n.attemptId?r.get(n.attemptId):e.trigger?.nodeId;i&&s.add(i)}return s},"workflowRunNodeDestinations",0,function(e){let t=new Map;for(let a of[...e.attempts].sort((t,a)=>Number(a.generation===e.generation)-Number(t.generation===e.generation)||a.generation-t.generation||a.attempt-t.attempt||Number(!!t.iterationKey)-Number(!!a.iterationKey))){if(t.has(a.nodeId))continue;let e=function(e){let t=e.kind?.trim().toUpperCase()??"",a=n(e.output),s=n(a.value),r={...n(s.sessionPatch),...n(a.sessionPatch)};if(t.startsWith("JIRA_")){let e=i(s.key)??i(n(s.ticket).key)??i(n(r.ticket).key);return e?{kind:"JIRA_TICKET",resourceId:e}:null}if(t.startsWith("RUN_")){let e=i(s.id),t=i(s.kind)?.toUpperCase();return e&&("PLAN"===t||"SESSION"===t)?{kind:"AGENT_RUN",resourceId:e,metadata:{runKind:t}}:null}if(t.startsWith("WORKTREE_")){let e=i(n(r.worktree).id);return e?{kind:"WORKTREE",resourceId:e}:null}if(t.startsWith("CODEBASE_")){let e=i(n(r.codebase).id)??i(s.id);return e?{kind:"CODEBASE",resourceId:e}:null}if(t.startsWith("BUILD_")){let e=i(n(r.build).id)??i(s.id);return e?{kind:"BUILD",resourceId:e}:null}return null}(a),s=r(e?[...a.resourceLinks,e]:a.resourceLinks);s&&t.set(a.nodeId,s)}let a=r(e.resourceLinks.filter(({attemptId:e})=>!e));return e.trigger?.nodeId&&a&&t.set(e.trigger.nodeId,a),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),a=e.i(832297),s=e.i(482022),r=e.i(948148),n=e.i(271645),i=e.i(929592),l=e.i(487486),o=e.i(519455),d=e.i(515288),c=e.i(906197),u=e.i(520133),h=e.i(637611),m=e.i(880181),p=e.i(997778),x=e.i(505624),f=e.i(349049),g=e.i(399668);function j(e){return"string"==typeof e&&e.length>0?e:null}function b({run:e,onAnswered:a}){let s=(0,r.useTranslations)("workflows"),l=(0,g.useWorkflowLabels)(),[d,c]=(0,n.useState)({}),[m,p]=(0,n.useState)(!1),[x,f]=(0,n.useState)(null),v=(0,n.useMemo)(()=>e.attempts.flatMap(e=>(e.questionBatches??[]).flatMap(t=>{let a=j(t.id);if(!a||"PENDING"!==t.status)return[];let s=(Array.isArray(t.questions)?t.questions:[]).flatMap(e=>(function(e){if(!e||"object"!=typeof e||Array.isArray(e))return null;let t=j(e.id);if(!t)return null;let a=Array.isArray(e.options)?e.options:[];return{id:t,header:j(e.header),prompt:j(e.prompt)??"",multiSelect:!!e.multiSelect,options:a.flatMap(e=>{if(!e||"object"!=typeof e)return[];let t=j(e.label);return t?[{id:j(e.id)??t,label:t,description:j(e.description)}]:[]})}})(e)??[]);return s.length?[{id:a,kind:e.kind,questions:s}]:[]})),[e]);if(0===v.length)return null;let C=(e,t)=>`${e}:${t}`,w=async(e,t)=>{p(!0);try{await (0,h.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 a={...t};for(let t of e.questions)delete a[C(e.id,t.id)];return a}),f(null),await a()}catch(e){f(e instanceof Error?e.message:String(e))}finally{p(!1)}};return(0,t.jsxs)("div",{className:"space-y-2",children:[x&&(0,t.jsx)(i.Alert,{variant:"destructive",children:(0,t.jsx)(i.AlertDescription,{children:x})}),v.map(a=>{let r=1===a.questions.length&&!a.questions[0].multiSelect,n=a.questions.every(e=>(d[C(a.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:s("questionFrom",{step:l.kind(a.kind)})}),a.questions.every(({options:e})=>e.length>0)?(0,t.jsxs)(t.Fragment,{children:[a.questions.map(e=>{let s=d[C(a.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((n,i)=>(0,t.jsx)(o.Button,{"aria-pressed":r?void 0:s.includes(n.label),disabled:m,onClick:()=>{r?w(a,{[e.id]:[n.label]}):c(t=>{let s=new Set(t[C(a.id,e.id)]??[]);return e.multiSelect?s.has(n.label)?s.delete(n.label):s.add(n.label):(s.clear(),s.add(n.label)),{...t,[C(a.id,e.id)]:[...s]}})},size:"sm",title:n.description??void 0,variant:s.includes(n.label)||r&&0===i?"default":"outline",children:n.label},n.id))})]},e.id)}),!r&&(0,t.jsx)(o.Button,{disabled:m||!n,onClick:()=>void w(a,Object.fromEntries(a.questions.map(e=>[e.id,d[C(a.id,e.id)]??[]]))),size:"sm",children:s("answer")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:a.questions[0].header||a.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:s("answerOnRunPage")})})]})]},a.id)})]})}let v=`
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,340953,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(30030),r=e.i(820783),n=e.i(326999),i=e.i(981140),l=Object.defineProperty,o=(e,t)=>l(e,"name",{value:t,configurable:!0}),[d,c]=(0,s.createContextScope)("AlertDialog",[n.createDialogScope]),u=(0,n.createDialogScope)(),h=o(e=>{let{__scopeAlertDialog:a,...s}=e,r=u(a);return(0,t.jsx)(n.Root,{...r,...s,modal:!0})},"AlertDialog"),m=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:s,...r}=e,i=u(s);return(0,t.jsx)(n.Trigger,{...i,...r,ref:a})},"AlertDialogTrigger")),p=o(e=>{let{__scopeAlertDialog:a,...s}=e,r=u(a);return(0,t.jsx)(n.Portal,{...r,...s})},"AlertDialogPortal"),x=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:s,...r}=e,i=u(s);return(0,t.jsx)(n.Overlay,{...i,...r,ref:a})},"AlertDialogOverlay")),[f,g]=d("AlertDialogContent"),j=a.forwardRef(o(function(e,s){let{__scopeAlertDialog:l,children:o,...d}=e,c=u(l),h=a.useRef(null),m=(0,r.useComposedRefs)(s,h),p=a.useRef(null);return(0,t.jsx)(f,{scope:l,cancelRef:p,children:(0,t.jsx)(n.Content,{role:"alertdialog",...c,...d,ref:m,onOpenAutoFocus:(0,i.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:o})})},"AlertDialogContent")),b=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:s,...r}=e,i=u(s);return(0,t.jsx)(n.Title,{...i,...r,ref:a})},"AlertDialogTitle")),v=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:s,...r}=e,i=u(s);return(0,t.jsx)(n.Description,{...i,...r,ref:a})},"AlertDialogDescription")),C=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:s,...r}=e,i=u(s);return(0,t.jsx)(n.Close,{...i,...r,ref:a})},"AlertDialogAction")),w=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:s,...i}=e,{cancelRef:l}=g("AlertDialogCancel",s),o=u(s),d=(0,r.useComposedRefs)(a,l);return(0,t.jsx)(n.Close,{...o,...i,ref:d})},"AlertDialogCancel"));e.s(["Action",0,C,"AlertDialog",0,h,"AlertDialogAction",0,C,"AlertDialogCancel",0,w,"AlertDialogContent",0,j,"AlertDialogDescription",0,v,"AlertDialogOverlay",0,x,"AlertDialogPortal",0,p,"AlertDialogTitle",0,b,"AlertDialogTrigger",0,m,"Cancel",0,w,"Content",0,j,"Description",0,v,"Overlay",0,x,"Portal",0,p,"Root",0,h,"Title",0,b,"Trigger",0,m,"createAlertDialogScope",0,c],691162);var y=e.i(691162),y=y,k=e.i(975157),N=e.i(519455);function A({...e}){return(0,t.jsx)(y.Root,{"data-slot":"alert-dialog",...e})}function D({...e}){return(0,t.jsx)(y.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function S({...e}){return(0,t.jsx)(y.Portal,{"data-slot":"alert-dialog-portal",...e})}function I({className:e,...a}){return(0,t.jsx)(y.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,k.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),...a})}function T({className:e,size:a="default",...s}){return(0,t.jsxs)(S,{children:[(0,t.jsx)(I,{}),(0,t.jsx)(y.Content,{"data-slot":"alert-dialog-content","data-size":a,className:(0,k.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),...s})]})}function E({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,k.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),...a})}function B({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,k.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),...a})}function R({className:e,...a}){return(0,t.jsx)(y.Title,{"data-slot":"alert-dialog-title",className:(0,k.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),...a})}function O({className:e,...a}){return(0,t.jsx)(y.Description,{"data-slot":"alert-dialog-description",className:(0,k.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...a})}function $({className:e,variant:a="default",size:s="default",...r}){return(0,t.jsx)(N.Button,{variant:a,size:s,asChild:!0,children:(0,t.jsx)(y.Action,{"data-slot":"alert-dialog-action",className:(0,k.cn)(e),...r})})}function L({className:e,variant:a="outline",size:s="default",...r}){return(0,t.jsx)(N.Button,{variant:a,size:s,asChild:!0,children:(0,t.jsx)(y.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,k.cn)(e),...r})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:s,onConfirm:r,onOpenChange:n,open:i,title:l,trigger:o}){return(0,t.jsxs)(A,{onOpenChange:n,open:i,children:[o&&(0,t.jsx)(D,{asChild:!0,children:o}),(0,t.jsxs)(T,{children:[(0,t.jsxs)(E,{children:[(0,t.jsx)(R,{children:l}),(0,t.jsx)(O,{children:s})]}),(0,t.jsxs)(B,{children:[(0,t.jsx)(L,{children:a}),(0,t.jsx)($,{onClick:()=>void r(),variant:"destructive",children:e})]})]})]})}],340953)},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 r=(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",...n}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,s.cn)(r({variant:a,className:e})),...n})},"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})}])},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),a=e.i(948148),s=e.i(271645),r=e.i(755146);e.s(["WorkflowChoiceMenu",0,function({button:e,choices:n,hasPlainTrigger:i=!1,onRun:l}){let o=(0,a.useTranslations)("workflows");return n.length?(0,t.jsxs)(r.DropdownMenu,{children:[(0,t.jsx)(r.DropdownMenuTrigger,{asChild:!0,children:e}),(0,t.jsxs)(r.DropdownMenuContent,{align:"start",className:"max-w-64",children:[i&&(0,t.jsx)(r.DropdownMenuItem,{onSelect:()=>l(null),children:o("fullRun")}),n.map(e=>(0,t.jsx)(r.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,s.cloneElement)(e,{onClick:()=>l(null)})}])},880181,596930,505624,e=>{"use strict";function t(e){return encodeURIComponent(e.trim())}function a(e){var a;let s=(a=e.url,!a?.startsWith("/")||a.startsWith("//")?null:a);if(s)return{href:s,external:!1};let r=e.kind.trim().toUpperCase(),n=e.resourceId.trim();if(!n)return null;let i="string"==typeof e.metadata?.runKind?e.metadata.runKind.toUpperCase():null,l="BUILD"===r?`/builds/${t(n)}`:"CODEBASE"===r?`/codebases/${t(n)}`:"JIRA_TICKET"===r?`/jira/tickets/${t(n)}`:"WORKTREE"===r?`/worktrees/${t(n)}`:"AGENT_RUN"===r&&"PLAN"===i?`/plans/${t(n)}`:"AGENT_RUN"===r&&"SESSION"===i?`/sessions/${t(n)}`:"PULL_REQUEST"===r?function(e){let a=e.lastIndexOf("#");if(a<1)return null;let s=e.slice(0,a),r=s.indexOf("/");if(r<1||r===s.length-1)return null;let n=Number(e.slice(a+1));return!Number.isInteger(n)||n<1?null:`/pull-requests/${t(s.slice(0,r))}/${t(s.slice(r+1))}/${n}`}(n):"AGENT_JOB"===r?`/jobs/${t(n)}`:"COMMAND_RUN"===r?`/commands/runs/${t(n)}`:"WORKFLOW_RUN"===r?`/workflows/runs/${t(n)}`:"SKILL_SYNC"===r?`/skills/sync/${t(n)}`:"SKILL"===r?`/skills/${t(n)}`:"IOS_DEVICE"===r?`/devices/${t(n)}`:"SIGNING_PROFILE"===r?`/provisioning-profiles/${t(n)}`:"PUSH_NOTIFICATION_BATCH"===r?"/push-notifications":"BUILD_DATA_COLLECTION"===r?"/build-data":"AGENT"===r?`/agents/${t(n)}`:"CODEBASE_REPOSITORY"===r?`/codebases/repositories/${t(n)}`: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 s(e){let t=e.kind.trim().toUpperCase();return"AGENT_JOB"===t||"COMMAND_RUN"===t?30:"GITHUB_WORKFLOW_RUN"===t?20:10}function r(e){return e.map((e,t)=>({destination:a(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)=>s(e.link)-s(t.link)||t.time-e.time||t.index-e.index)[0]?.destination??null}function n(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function i(e){return"string"!=typeof e&&"number"!=typeof e?null:String(e).trim()||null}function l(e,t,a){return e.kind.trim().toUpperCase()===t.trim().toUpperCase()&&e.resourceId.trim()===a.trim()}e.i(672510),e.s(["githubJobResourceId",0,function(e,t){let a=e.trim(),s=t.trim();if(!a||!s)throw Error("GitHub job repository and job ID are required");return`${a}:job:${s}`},"githubPipelineResourceId",0,function(e,t,a){let s=e.trim(),r=t?.trim(),n=a.trim();if(!s||!r&&!n)throw Error("GitHub pipeline repository and provider ID are required");return`${s}:${r?"run":"check"}:${r||n}`},"preferredWorkflowResourceDestination",0,r,"workflowResourceDestination",0,a],596930),e.s(["currentPageWorkflowNodeIds",0,function(e,t,a){let s=new Set,r=new Map(e.attempts.map(e=>[e.id,e.nodeId]));for(let r of e.attempts)r.resourceLinks.some(e=>l(e,t,a))&&s.add(r.nodeId);for(let n of e.resourceLinks){if(!l(n,t,a))continue;let i=n.attemptId?r.get(n.attemptId):e.trigger?.nodeId;i&&s.add(i)}return s},"workflowRunNodeDestinations",0,function(e){let t=new Map;for(let a of[...e.attempts].sort((t,a)=>Number(a.generation===e.generation)-Number(t.generation===e.generation)||a.generation-t.generation||a.attempt-t.attempt||Number(!!t.iterationKey)-Number(!!a.iterationKey))){if(t.has(a.nodeId))continue;let e=function(e){let t=e.kind?.trim().toUpperCase()??"",a=n(e.output),s=n(a.value),r={...n(s.sessionPatch),...n(a.sessionPatch)};if(t.startsWith("JIRA_")){let e=i(s.key)??i(n(s.ticket).key)??i(n(r.ticket).key);return e?{kind:"JIRA_TICKET",resourceId:e}:null}if(t.startsWith("RUN_")){let e=i(s.id),t=i(s.kind)?.toUpperCase();return e&&("PLAN"===t||"SESSION"===t)?{kind:"AGENT_RUN",resourceId:e,metadata:{runKind:t}}:null}if(t.startsWith("WORKTREE_")){let e=i(n(r.worktree).id);return e?{kind:"WORKTREE",resourceId:e}:null}if(t.startsWith("CODEBASE_")){let e=i(n(r.codebase).id)??i(s.id);return e?{kind:"CODEBASE",resourceId:e}:null}if(t.startsWith("BUILD_")){let e=i(n(r.build).id)??i(s.id);return e?{kind:"BUILD",resourceId:e}:null}return null}(a),s=r(e?[...a.resourceLinks,e]:a.resourceLinks);s&&t.set(a.nodeId,s)}let a=r(e.resourceLinks.filter(({attemptId:e})=>!e));return e.trigger?.nodeId&&a&&t.set(e.trigger.nodeId,a),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),a=e.i(832297),s=e.i(482022),r=e.i(948148),n=e.i(271645),i=e.i(929592),l=e.i(487486),o=e.i(519455),d=e.i(515288),c=e.i(906197),u=e.i(520133),h=e.i(637611),m=e.i(880181),p=e.i(997778),x=e.i(505624),f=e.i(349049),g=e.i(399668);function j(e){return"string"==typeof e&&e.length>0?e:null}function b({run:e,onAnswered:a}){let s=(0,r.useTranslations)("workflows"),l=(0,g.useWorkflowLabels)(),[d,c]=(0,n.useState)({}),[m,p]=(0,n.useState)(!1),[x,f]=(0,n.useState)(null),v=(0,n.useMemo)(()=>e.attempts.flatMap(e=>(e.questionBatches??[]).flatMap(t=>{let a=j(t.id);if(!a||"PENDING"!==t.status)return[];let s=(Array.isArray(t.questions)?t.questions:[]).flatMap(e=>(function(e){if(!e||"object"!=typeof e||Array.isArray(e))return null;let t=j(e.id);if(!t)return null;let a=Array.isArray(e.options)?e.options:[];return{id:t,header:j(e.header),prompt:j(e.prompt)??"",multiSelect:!!e.multiSelect,options:a.flatMap(e=>{if(!e||"object"!=typeof e)return[];let t=j(e.label);return t?[{id:j(e.id)??t,label:t,description:j(e.description)}]:[]})}})(e)??[]);return s.length?[{id:a,kind:e.kind,questions:s}]:[]})),[e]);if(0===v.length)return null;let C=(e,t)=>`${e}:${t}`,w=async(e,t)=>{p(!0);try{await (0,h.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 a={...t};for(let t of e.questions)delete a[C(e.id,t.id)];return a}),f(null),await a()}catch(e){f(e instanceof Error?e.message:String(e))}finally{p(!1)}};return(0,t.jsxs)("div",{className:"space-y-2",children:[x&&(0,t.jsx)(i.Alert,{variant:"destructive",children:(0,t.jsx)(i.AlertDescription,{children:x})}),v.map(a=>{let r=1===a.questions.length&&!a.questions[0].multiSelect,n=a.questions.every(e=>(d[C(a.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:s("questionFrom",{step:l.kind(a.kind)})}),a.questions.every(({options:e})=>e.length>0)?(0,t.jsxs)(t.Fragment,{children:[a.questions.map(e=>{let s=d[C(a.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((n,i)=>(0,t.jsx)(o.Button,{"aria-pressed":r?void 0:s.includes(n.label),disabled:m,onClick:()=>{r?w(a,{[e.id]:[n.label]}):c(t=>{let s=new Set(t[C(a.id,e.id)]??[]);return e.multiSelect?s.has(n.label)?s.delete(n.label):s.add(n.label):(s.clear(),s.add(n.label)),{...t,[C(a.id,e.id)]:[...s]}})},size:"sm",title:n.description??void 0,variant:s.includes(n.label)||r&&0===i?"default":"outline",children:n.label},n.id))})]},e.id)}),!r&&(0,t.jsx)(o.Button,{disabled:m||!n,onClick:()=>void w(a,Object.fromEntries(a.questions.map(e=>[e.id,d[C(a.id,e.id)]??[]]))),size:"sm",children:s("answer")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:a.questions[0].header||a.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:s("answerOnRunPage")})})]})]},a.id)})]})}let v=`
2
2
  id displayNumber workflowId triggerKind triggerSubjectKey status phase generation
3
3
  sessionData sessionRevision blockedReason error queuedAt startedAt pausedAt finishedAt
4
4
  workflow { id name }
@@ -20,7 +20,7 @@
20
20
  hasPlainTrigger(resourceKind: $kind)
21
21
  triggerChoices(resourceKind: $kind) { key label description }
22
22
  }
23
- }`,{kind:e,resourceId:j});A(t.workflowRunsForResource),S(t.workflowsAcceptingResource),B(null)}catch(e){B(e instanceof Error?e.message:String(e))}},[j,e]);(0,n.useEffect)(()=>{let e=window.setTimeout(()=>void R(),0),t=(0,h.controlPlaneSubscriptions)().subscribe({query:"subscription ResourceWorkflowChanges { workflowsChanged { id } }"},{next:()=>void R(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),t()}},[R]);let O=async(t,a)=>{T(t);try{await (0,h.controlPlaneRequest)("mutation TriggerResourceWorkflow($input: TriggerWorkflowInput!) { triggerWorkflow(input: $input) { id } }",{input:{workflowId:t,sessionData:C,resourceKind:e,resourceId:j,subjectKey:`${e}:${j}`,choice:a}}),await R()}catch(e){B(e instanceof Error?e.message:String(e))}finally{T(null)}},$=N[0],L=(0,n.useMemo)(()=>$?(0,m.currentPageWorkflowNodeIds)($,e,j):new Set,[$,j,e]),_=(0,n.useMemo)(()=>$?(0,m.workflowRunNodeDestinations)($):new Map,[$]);return N.length||D.length||E?(0,t.jsxs)(d.Card,{children:[(0,t.jsxs)(d.CardHeader,{children:[(0,t.jsx)(d.CardTitle,{children:w("resourceWorkflows")}),(0,t.jsx)(d.CardDescription,{children:w("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:w("manageWorkflows")})})})]}),(0,t.jsxs)(d.CardContent,{className:"space-y-4",children:[E&&(0,t.jsx)(i.Alert,{variant:"destructive",children:(0,t.jsx)(i.AlertDescription,{children:E})}),D.length>0&&(0,t.jsx)(c.ItemGroup,{className:"gap-2",children:D.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)(p.WorkflowChoiceMenu,{button:(0,t.jsxs)(o.Button,{disabled:!e.enabled||null!==I,size:"sm",variant:"outline",children:[(0,t.jsx)(a.CirclePlay,{})," ",w("run")]}),choices:e.triggerChoices,hasPlainTrigger:e.hasPlainTrigger,onRun:t=>void O(e.id,t)})})]},e.id))}),$&&(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/${$.id}`,children:[$.workflow.name," #",$.displayNumber]}),(0,t.jsx)(l.Badge,{variant:(0,f.workflowStatusVariant)($.status),children:y.status($.status)})]}),(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(u.Link,{href:`/workflows/runs/${$.id}`,children:[(0,t.jsx)(s.ExternalLink,{})," ",w("fullRun")]})})]}),(0,t.jsx)(b,{onAnswered:R,run:$}),(0,t.jsx)(f.WorkflowGraph,{attempts:$.attempts,compact:!0,currentPageNodeIds:L,definition:$.version.definition,destinations:_,generation:$.generation,onNodeClick:(e,{destination:t,locked:a})=>{a&&k(t)}}),N.length>1&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:N.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,f.workflowStatusVariant)(e.status),children:y.status(e.status)})]})},e.id))})]})]})]}):null}],586592)},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)},225780,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(716327),r=e.i(434322),n=e.i(487486),i=e.i(975157);function l({patch:e,truncated:a=!1,truncatedLabel:s,className:r}){return(0,t.jsxs)("div",{className:(0,i.cn)("overflow-auto rounded-md border bg-neutral-950 font-mono text-xs text-neutral-100",r),children:[e.split("\n").map((e,a)=>(0,t.jsx)("div",{className:(0,i.cn)("min-w-max px-3 whitespace-pre",e.startsWith("+")&&!e.startsWith("+++")&&"bg-emerald-950/70 text-emerald-200",e.startsWith("-")&&!e.startsWith("---")&&"bg-red-950/70 text-red-200",e.startsWith("@@")&&"bg-blue-950/60 text-blue-200"),children:e||" "},`${a}:${e}`)),a&&s&&(0,t.jsx)("p",{className:"border-t p-2 text-amber-300",children:s})]})}e.s(["ExpandablePatchView",0,function({patch:e,className:o}){let d=(0,a.useMemo)(()=>(function(e){let t=e.split("\n"),a=[],s=[];for(let e of t)e.startsWith("diff --git ")&&s.length&&(a.push(s),s=[]),s.push(e);return s.some(Boolean)&&a.push(s),a.map((e,t)=>{let a=e.find(e=>e.startsWith("diff --git ")),s=a?.match(/^diff --git a\/(.+) b\/(.+)$/),r=s?.[1],n=s?.[2],i=e.some(e=>e.startsWith("new file mode")),l=e.some(e=>e.startsWith("deleted file mode")),o=e.some(e=>e.startsWith("rename from ")),d=n??e.find(e=>e.startsWith("+++ "))?.replace(/^\+\+\+ (?:b\/)?/,"")??r??`Patch ${t+1}`;return{key:`${r??""}:${d}:${t}`,path:d,patch:e.join("\n"),additions:e.filter(e=>e.startsWith("+")&&!e.startsWith("+++")).length,deletions:e.filter(e=>e.startsWith("-")&&!e.startsWith("---")).length,status:i?"A":l?"D":o?"R":"M"}})})(e),[e]),[c,u]=(0,a.useState)(new Set);return(0,t.jsx)("div",{className:(0,i.cn)("divide-y overflow-hidden rounded-md border",o),children:d.map(e=>{let a=c.has(e.key);return(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{"aria-expanded":a,className:"flex min-h-8 w-full items-center gap-2 px-2 py-1.5 text-left hover:bg-muted/40",onClick:()=>u(t=>{let a=new Set(t);return a.has(e.key)?a.delete(e.key):a.add(e.key),a}),type:"button",children:[(0,t.jsx)(s.ChevronDown,{className:(0,i.cn)("size-3.5 shrink-0 transition-transform",a&&"rotate-180")}),(0,t.jsx)(r.FileCode2,{className:"size-4 shrink-0 text-muted-foreground"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",children:e.path}),(0,t.jsx)(n.Badge,{className:"h-5 px-1.5",variant:"outline",children:e.status}),(0,t.jsxs)("span",{className:"text-xs text-emerald-600 tabular-nums",children:["+",e.additions]}),(0,t.jsxs)("span",{className:"text-xs text-red-600 tabular-nums",children:["−",e.deletions]})]}),a&&(0,t.jsx)("div",{className:"border-t bg-muted/10 p-3",children:(0,t.jsx)(l,{patch:e.patch})})]},e.key)})})},"PatchView",0,l])},456539,e=>{"use strict";var t=e.i(144716);e.s(["ChevronUp",()=>t.default])},899101,e=>{"use strict";var t=e.i(843476),a=e.i(421645);let s=(0,e.i(456420).default)("archive-restore",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h2",key:"tvwodi"}],["path",{d:"M20 8v11a2 2 0 0 1-2 2h-2",key:"1gkqxj"}],["path",{d:"m9 15 3-3 3 3",key:"1pd0qc"}],["path",{d:"M12 12v9",key:"192myk"}]]);var r=e.i(711241),n=e.i(689664),i=e.i(716327),l=e.i(456539),o=e.i(508734),d=e.i(762368),c=e.i(269846),u=e.i(741120),h=e.i(566595),m=e.i(250832),p=e.i(573474),x=e.i(948148),f=e.i(271645),g=e.i(778434),j=e.i(340953),b=e.i(929592),v=e.i(487486),C=e.i(519455),w=e.i(515288),y=e.i(816484),k=e.i(82612),N=e.i(793479),A=e.i(225780),D=e.i(967489),S=e.i(987968),I=e.i(784774),T=e.i(677572),E=e.i(520133),B=e.i(462777),R=e.i(637611),O=e.i(975157);let $=`
23
+ }`,{kind:e,resourceId:j});A(t.workflowRunsForResource),S(t.workflowsAcceptingResource),B(null)}catch(e){B(e instanceof Error?e.message:String(e))}},[j,e]);(0,n.useEffect)(()=>{let e=window.setTimeout(()=>void R(),0),t=(0,h.controlPlaneSubscriptions)().subscribe({query:"subscription ResourceWorkflowChanges { workflowsChanged { id } }"},{next:()=>void R(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),t()}},[R]);let O=async(t,a)=>{T(t);try{await (0,h.controlPlaneRequest)("mutation TriggerResourceWorkflow($input: TriggerWorkflowInput!) { triggerWorkflow(input: $input) { id } }",{input:{workflowId:t,sessionData:C,resourceKind:e,resourceId:j,subjectKey:`${e}:${j}`,choice:a}}),await R()}catch(e){B(e instanceof Error?e.message:String(e))}finally{T(null)}},$=N[0],L=(0,n.useMemo)(()=>$?(0,m.currentPageWorkflowNodeIds)($,e,j):new Set,[$,j,e]),_=(0,n.useMemo)(()=>$?(0,m.workflowRunNodeDestinations)($):new Map,[$]);return N.length||D.length||E?(0,t.jsxs)(d.Card,{children:[(0,t.jsxs)(d.CardHeader,{children:[(0,t.jsx)(d.CardTitle,{children:w("resourceWorkflows")}),(0,t.jsx)(d.CardDescription,{children:w("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:w("manageWorkflows")})})})]}),(0,t.jsxs)(d.CardContent,{className:"space-y-4",children:[E&&(0,t.jsx)(i.Alert,{variant:"destructive",children:(0,t.jsx)(i.AlertDescription,{children:E})}),D.length>0&&(0,t.jsx)(c.ItemGroup,{className:"gap-2",children:D.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)(p.WorkflowChoiceMenu,{button:(0,t.jsxs)(o.Button,{disabled:!e.enabled||null!==I,size:"sm",variant:"outline",children:[(0,t.jsx)(a.CirclePlay,{})," ",w("run")]}),choices:e.triggerChoices,hasPlainTrigger:e.hasPlainTrigger,onRun:t=>void O(e.id,t)})})]},e.id))}),$&&(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/${$.id}`,children:[$.workflow.name," #",$.displayNumber]}),(0,t.jsx)(l.Badge,{variant:(0,f.workflowStatusVariant)($.status),children:y.status($.status)})]}),(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(u.Link,{href:`/workflows/runs/${$.id}`,children:[(0,t.jsx)(s.ExternalLink,{})," ",w("fullRun")]})})]}),(0,t.jsx)(b,{onAnswered:R,run:$}),(0,t.jsx)(f.WorkflowGraph,{attempts:$.attempts,compact:!0,currentPageNodeIds:L,definition:$.version.definition,destinations:_,generation:$.generation,onNodeClick:(e,{destination:t,locked:a})=>{a&&k(t)}}),N.length>1&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:N.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,f.workflowStatusVariant)(e.status),children:y.status(e.status)})]})},e.id))})]})]})]}):null}],586592)},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)},225780,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(716327),r=e.i(434322),n=e.i(487486),i=e.i(975157);function l({patch:e,truncated:a=!1,truncatedLabel:s,className:r}){return(0,t.jsxs)("div",{className:(0,i.cn)("overflow-auto rounded-md border bg-neutral-950 font-mono text-xs text-neutral-100",r),children:[e.split("\n").map((e,a)=>(0,t.jsx)("div",{className:(0,i.cn)("min-w-max px-3 whitespace-pre",e.startsWith("+")&&!e.startsWith("+++")&&"bg-emerald-950/70 text-emerald-200",e.startsWith("-")&&!e.startsWith("---")&&"bg-red-950/70 text-red-200",e.startsWith("@@")&&"bg-blue-950/60 text-blue-200"),children:e||" "},`${a}:${e}`)),a&&s&&(0,t.jsx)("p",{className:"border-t p-2 text-amber-300",children:s})]})}e.s(["ExpandablePatchView",0,function({patch:e,className:o}){let d=(0,a.useMemo)(()=>(function(e){let t=e.split("\n"),a=[],s=[];for(let e of t)e.startsWith("diff --git ")&&s.length&&(a.push(s),s=[]),s.push(e);return s.some(Boolean)&&a.push(s),a.map((e,t)=>{let a=e.find(e=>e.startsWith("diff --git ")),s=a?.match(/^diff --git a\/(.+) b\/(.+)$/),r=s?.[1],n=s?.[2],i=e.some(e=>e.startsWith("new file mode")),l=e.some(e=>e.startsWith("deleted file mode")),o=e.some(e=>e.startsWith("rename from ")),d=n??e.find(e=>e.startsWith("+++ "))?.replace(/^\+\+\+ (?:b\/)?/,"")??r??`Patch ${t+1}`;return{key:`${r??""}:${d}:${t}`,path:d,patch:e.join("\n"),additions:e.filter(e=>e.startsWith("+")&&!e.startsWith("+++")).length,deletions:e.filter(e=>e.startsWith("-")&&!e.startsWith("---")).length,status:i?"A":l?"D":o?"R":"M"}})})(e),[e]),[c,u]=(0,a.useState)(new Set);return(0,t.jsx)("div",{className:(0,i.cn)("divide-y overflow-hidden rounded-md border",o),children:d.map(e=>{let a=c.has(e.key);return(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{"aria-expanded":a,className:"flex min-h-8 w-full items-center gap-2 px-2 py-1.5 text-left hover:bg-muted/40",onClick:()=>u(t=>{let a=new Set(t);return a.has(e.key)?a.delete(e.key):a.add(e.key),a}),type:"button",children:[(0,t.jsx)(s.ChevronDown,{className:(0,i.cn)("size-3.5 shrink-0 transition-transform",a&&"rotate-180")}),(0,t.jsx)(r.FileCode2,{className:"size-4 shrink-0 text-muted-foreground"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",children:e.path}),(0,t.jsx)(n.Badge,{className:"h-5 px-1.5",variant:"outline",children:e.status}),(0,t.jsxs)("span",{className:"text-xs text-emerald-600 tabular-nums",children:["+",e.additions]}),(0,t.jsxs)("span",{className:"text-xs text-red-600 tabular-nums",children:["−",e.deletions]})]}),a&&(0,t.jsx)("div",{className:"border-t bg-muted/10 p-3",children:(0,t.jsx)(l,{patch:e.patch})})]},e.key)})})},"PatchView",0,l])},456539,e=>{"use strict";var t=e.i(144716);e.s(["ChevronUp",()=>t.default])},899101,e=>{"use strict";var t=e.i(843476),a=e.i(421645);let s=(0,e.i(456420).default)("archive-restore",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h2",key:"tvwodi"}],["path",{d:"M20 8v11a2 2 0 0 1-2 2h-2",key:"1gkqxj"}],["path",{d:"m9 15 3-3 3 3",key:"1pd0qc"}],["path",{d:"M12 12v9",key:"192myk"}]]);var r=e.i(711241),n=e.i(689664),i=e.i(716327),l=e.i(456539),o=e.i(508734),d=e.i(762368),c=e.i(269846),u=e.i(741120),h=e.i(566595),m=e.i(250832),p=e.i(573474),x=e.i(948148),f=e.i(271645),g=e.i(778434),j=e.i(340953),b=e.i(929592),v=e.i(487486),C=e.i(519455),w=e.i(515288),y=e.i(816484),k=e.i(82612),N=e.i(793479),A=e.i(225780),D=e.i(967489),S=e.i(987968),I=e.i(784774),T=e.i(677572),E=e.i(520133),B=e.i(462777),R=e.i(637611),O=e.i(975157);let $=`
24
24
  id folder observedOrigin branch headSha upstream ahead behind syncState availability
25
25
  statusError defaultBranch localBranches remoteBranches lastCheckedAt lastFetchedAt lastFetchAttemptAt lastFetchError
26
26
  agent { ${g.AGENT_FIELDS} }
@@ -47,4 +47,4 @@
47
47
  runCodebaseGitOperation(input: $input) { ${g.JOB_FIELDS} }
48
48
  }`,{input:{codebaseId:e,operation:t,...a,requestId:(0,B.createClientId)()}});l(e=>e?{...e,activeJob:r.runCodebaseGitOperation}:e),W(s("operationQueued"))}catch(e){O(e instanceof Error?e.message:String(e))}},Y=async t=>{let a=q[t.oid];if(a?.open)return void U(e=>({...e,[t.oid]:{...a,open:!1}}));if(a?.diff)return void U(e=>({...e,[t.oid]:{...a,open:!0}}));U(e=>({...e,[t.oid]:{open:!0,loading:!0}})),N(!0);try{let a=await (0,R.controlPlaneRequest)(`mutation InspectCodebaseStash($input: InspectCodebaseStashInput!) {
49
49
  inspectCodebaseStash(input: $input) { oid patch truncated }
50
- }`,{input:{codebaseId:e,stashOid:t.oid,requestId:(0,B.createClientId)()}});U(e=>({...e,[t.oid]:{open:!0,loading:!1,diff:a.inspectCodebaseStash}}))}catch(e){U(a=>({...a,[t.oid]:{open:!0,loading:!1,error:e instanceof Error?e.message:String(e)}}))}finally{N(!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)(S.Spinner,{})," ",s("loading")]});if(!i)return(0,t.jsxs)(k.Empty,{className:"mx-auto max-w-6xl border py-12",children:[(0,t.jsxs)(k.EmptyHeader,{children:[(0,t.jsx)(k.EmptyTitle,{children:s("notFound")}),(0,t.jsx)(k.EmptyDescription,{children:s("notFoundDescription")})]}),(0,t.jsx)(C.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(E.Link,{href:"/codebases",children:[(0,t.jsx)(r.ArrowLeft,{})," ",s("back")]})})]});let X=_(i),Z=X&&i.agent.capabilities.includes(a.CODEBASE_GIT_OPERATION_JOB_KIND),ee=!!K||j,et=o?.branches.filter(e=>e.local)??[],ea=o?.branches.filter(e=>e.remote)??[];return(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-6xl flex-col gap-6",children:[(0,t.jsx)("div",{children:(0,t.jsx)(C.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(E.Link,{href:"/codebases",children:[(0,t.jsx)(r.ArrowLeft,{})," ",s("back")]})})}),A&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:A})}),I&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:I})}),M&&(0,t.jsx)(b.Alert,{children:(0,t.jsx)(b.AlertDescription,{children:M})}),(!X||!Z)&&(0,t.jsx)(b.Alert,{children:(0,t.jsx)(b.AlertDescription,{children:"OFFLINE"===i.agent.connectionStatus?s("offlineReadOnly"):"AVAILABLE"!==i.availability?i.statusError||n(`availability.${i.availability}`):s("unsupportedReadOnly")})}),(0,t.jsx)(w.Card,{children:(0,t.jsxs)(w.CardContent,{className:"space-y-5",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:i.repository.name}),(0,t.jsx)(v.Badge,{children:n(`sync.${i.syncState}`)}),o?.dirty&&(0,t.jsx)(v.Badge,{variant:"destructive",children:s("dirty")})]}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:i.folder}),(0,t.jsxs)("p",{className:"mt-1 text-sm text-muted-foreground",children:[i.agent.name," · ",i.agent.hostname]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(C.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(E.Link,{href:`/codebases/repositories/${i.repository.id}`,children:[(0,t.jsx)(m.Settings2,{})," ",s("repositorySettings")]})}),(0,t.jsxs)(C.Button,{disabled:ee||"ONLINE"!==i.agent.connectionStatus||!i.agent.capabilities.includes(a.CODEBASE_REFRESH_JOB_KIND),onClick:()=>void V("refreshCodebases"),variant:"outline",children:[ee?(0,t.jsx)(S.Spinner,{}):(0,t.jsx)(u.RefreshCw,{})," ",s("refresh")]}),(0,t.jsxs)(C.Button,{disabled:ee||"ONLINE"!==i.agent.connectionStatus||"AVAILABLE"!==i.availability||!i.agent.capabilities.includes(a.CODEBASE_FETCH_JOB_KIND),onClick:()=>void V("fetchCodebases"),variant:"outline",children:[K?.kind===a.CODEBASE_FETCH_JOB_KIND?(0,t.jsx)(S.Spinner,{}):(0,t.jsx)(d.Download,{})," ",s("fetch")]})]})]}),(0,t.jsxs)("dl",{className:"grid gap-3 text-sm sm:grid-cols-2",children:[(0,t.jsx)(H,{label:s("origin"),value:i.observedOrigin,mono:!0}),(0,t.jsx)(H,{label:s("currentBranch"),value:i.branch??n("detached"),mono:!0}),(0,t.jsx)(H,{label:s("upstream"),value:i.upstream??n("none"),mono:!0}),(0,t.jsx)(H,{label:s("lastFetched"),small:!0,value:(0,t.jsx)(y.DateTime,{fallback:n("never"),value:i.lastFetchedAt})})]}),K&&(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(S.Spinner,{})," ",s("activeOperation",{kind:K.kind})]})]})}),(0,t.jsxs)(T.Tabs,{defaultValue:"branches",children:[(0,t.jsxs)(T.TabsList,{children:[(0,t.jsx)(T.TabsTrigger,{value:"branches",children:s("branches",{count:o?.branches.length??0})}),(0,t.jsx)(T.TabsTrigger,{value:"stashes",children:s("stashes",{count:o?.stashes.length??0})})]}),(0,t.jsxs)(T.TabsContent,{className:"space-y-6",value:"branches",children:[(0,t.jsx)(F,{branches:et,busy:ee,canOperate:Z,defaultBranch:i.defaultBranch,dirty:!!o?.dirty,kind:"local",onOperation:Q}),(0,t.jsx)(F,{branches:ea,busy:ee,canOperate:Z,defaultBranch:i.defaultBranch,dirty:!!o?.dirty,kind:"remote",onOperation:Q}),o?.branchesTruncated&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:s("branchesTruncated")})]}),(0,t.jsx)(T.TabsContent,{value:"stashes",children:(0,t.jsx)(z,{busy:ee,canOperate:Z,diffs:q,onOperation:Q,onToggleDiff:Y,stashes:o?.stashes??[],truncated:!!o?.stashesTruncated})})]})]})}],899101)}]);
50
+ }`,{input:{codebaseId:e,stashOid:t.oid,requestId:(0,B.createClientId)()}});U(e=>({...e,[t.oid]:{open:!0,loading:!1,diff:a.inspectCodebaseStash}}))}catch(e){U(a=>({...a,[t.oid]:{open:!0,loading:!1,error:e instanceof Error?e.message:String(e)}}))}finally{N(!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)(S.Spinner,{})," ",s("loading")]});if(!i)return(0,t.jsxs)(k.Empty,{className:"mx-auto max-w-6xl border py-12",children:[(0,t.jsxs)(k.EmptyHeader,{children:[(0,t.jsx)(k.EmptyTitle,{children:s("notFound")}),(0,t.jsx)(k.EmptyDescription,{children:s("notFoundDescription")})]}),(0,t.jsx)(C.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(E.Link,{href:"/codebases",children:[(0,t.jsx)(r.ArrowLeft,{})," ",s("back")]})})]});let X=_(i),Z=X&&i.agent.capabilities.includes(a.CODEBASE_GIT_OPERATION_JOB_KIND),ee=!!K||j,et=o?.branches.filter(e=>e.local)??[],ea=o?.branches.filter(e=>e.remote)??[];return(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-6xl flex-col gap-6",children:[A&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:A})}),I&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:I})}),M&&(0,t.jsx)(b.Alert,{children:(0,t.jsx)(b.AlertDescription,{children:M})}),(!X||!Z)&&(0,t.jsx)(b.Alert,{children:(0,t.jsx)(b.AlertDescription,{children:"OFFLINE"===i.agent.connectionStatus?s("offlineReadOnly"):"AVAILABLE"!==i.availability?i.statusError||n(`availability.${i.availability}`):s("unsupportedReadOnly")})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:i.repository.name}),(0,t.jsx)(v.Badge,{children:n(`sync.${i.syncState}`)}),o?.dirty&&(0,t.jsx)(v.Badge,{variant:"destructive",children:s("dirty")})]}),(0,t.jsxs)("p",{className:"mt-1 text-sm text-muted-foreground",children:[i.agent.name," · ",i.agent.hostname]}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:i.folder})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(C.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(E.Link,{href:`/codebases/repositories/${i.repository.id}`,children:[(0,t.jsx)(m.Settings2,{})," ",s("repositorySettings")]})}),(0,t.jsxs)(C.Button,{disabled:ee||"ONLINE"!==i.agent.connectionStatus||!i.agent.capabilities.includes(a.CODEBASE_REFRESH_JOB_KIND),onClick:()=>void V("refreshCodebases"),variant:"outline",children:[ee?(0,t.jsx)(S.Spinner,{}):(0,t.jsx)(u.RefreshCw,{})," ",s("refresh")]}),(0,t.jsxs)(C.Button,{disabled:ee||"ONLINE"!==i.agent.connectionStatus||"AVAILABLE"!==i.availability||!i.agent.capabilities.includes(a.CODEBASE_FETCH_JOB_KIND),onClick:()=>void V("fetchCodebases"),variant:"outline",children:[K?.kind===a.CODEBASE_FETCH_JOB_KIND?(0,t.jsx)(S.Spinner,{}):(0,t.jsx)(d.Download,{})," ",s("fetch")]})]})]}),(0,t.jsx)(w.Card,{children:(0,t.jsxs)(w.CardContent,{className:"space-y-5",children:[(0,t.jsxs)("dl",{className:"grid gap-3 text-sm sm:grid-cols-2",children:[(0,t.jsx)(H,{label:s("origin"),value:i.observedOrigin,mono:!0}),(0,t.jsx)(H,{label:s("currentBranch"),value:i.branch??n("detached"),mono:!0}),(0,t.jsx)(H,{label:s("upstream"),value:i.upstream??n("none"),mono:!0}),(0,t.jsx)(H,{label:s("lastFetched"),small:!0,value:(0,t.jsx)(y.DateTime,{fallback:n("never"),value:i.lastFetchedAt})})]}),K&&(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(S.Spinner,{})," ",s("activeOperation",{kind:K.kind})]})]})}),(0,t.jsxs)(T.Tabs,{defaultValue:"branches",children:[(0,t.jsxs)(T.TabsList,{children:[(0,t.jsx)(T.TabsTrigger,{value:"branches",children:s("branches",{count:o?.branches.length??0})}),(0,t.jsx)(T.TabsTrigger,{value:"stashes",children:s("stashes",{count:o?.stashes.length??0})})]}),(0,t.jsxs)(T.TabsContent,{className:"space-y-6",value:"branches",children:[(0,t.jsx)(F,{branches:et,busy:ee,canOperate:Z,defaultBranch:i.defaultBranch,dirty:!!o?.dirty,kind:"local",onOperation:Q}),(0,t.jsx)(F,{branches:ea,busy:ee,canOperate:Z,defaultBranch:i.defaultBranch,dirty:!!o?.dirty,kind:"remote",onOperation:Q}),o?.branchesTruncated&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:s("branchesTruncated")})]}),(0,t.jsx)(T.TabsContent,{value:"stashes",children:(0,t.jsx)(z,{busy:ee,canOperate:Z,diffs:q,onOperation:Q,onToggleDiff:Y,stashes:o?.stashes??[],truncated:!!o?.stashesTruncated})})]})]})}],899101)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,396661,e=>{"use strict";e.s(["mergeClasses",0,(...e)=>e.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()])},871987,388973,e=>{"use strict";e.s(["default",0,{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}],871987),e.s(["hasA11yProp",0,e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1}],388973)},505014,e=>{"use strict";var t=e.i(271645),n=e.i(871987),r=e.i(388973),o=e.i(396661);let i=(0,t.createContext)({}),u=(0,t.forwardRef)(({color:e,size:u,strokeWidth:a,absoluteStrokeWidth:c,className:s="",children:l,iconNode:d,...f},m)=>{let{size:v=24,strokeWidth:p=2,absoluteStrokeWidth:h=!1,color:y="currentColor",className:b=""}=(0,t.useContext)(i)??{},E=c??h?24*Number(a??p)/Number(u??v):a??p;return(0,t.createElement)("svg",{ref:m,...n.default,width:u??v??n.default.width,height:u??v??n.default.height,stroke:e??y,strokeWidth:E,className:(0,o.mergeClasses)("lucide",b,s),...!l&&!(0,r.hasA11yProp)(f)&&{"aria-hidden":"true"},...f},[...d.map(([e,n])=>(0,t.createElement)(e,n)),...Array.isArray(l)?l:[l]])});e.s(["default",0,u],505014)},248425,e=>{"use strict";var t=e.i(271645),n=e.i(174080),r=e.i(991918),o=e.i(843476),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=(0,r.createSlot)(`Primitive.${n}`),u=t.forwardRef((e,t)=>{let{asChild:r,...u}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(r?i:n,{...u,ref:t})});return u.displayName=`Primitive.${n}`,{...e,[n]:u}},{});e.s(["Primitive",0,i,"dispatchDiscreteCustomEvent",0,function(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}])},981140,e=>{"use strict";var t=Object.defineProperty,n=(e,n)=>t(e,"name",{value:n,configurable:!0}),r=!!("u">typeof window&&window.document&&window.document.createElement);function o(e,t,{checkForDefaultPrevented:r=!0}={}){return n(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function i(e){if(!r)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function u(e){return"IFRAME"===e.tagName}n(o,"composeEventHandlers"),n(function(e){if(!r)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),n(i,"getOwnerDocument"),n(function e(t,n=!1){let{activeElement:r}=i(t);if(!r?.nodeName)return null;if(u(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=i(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),n(u,"isFrame"),e.s(["composeEventHandlers",0,o])},30030,e=>{"use strict";var t=e.i(271645),n=e.i(843476);e.s(["createContextScope",0,function(e,r=[]){let o=[],i=()=>{let n=o.map(e=>t.createContext(e));return function(r){let o=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(r,i){let u=t.createContext(i);u.displayName=r+"Context";let a=o.length;o=[...o,i];let c=r=>{let{scope:o,children:i,...c}=r,s=o?.[e]?.[a]||u,l=t.useMemo(()=>c,Object.values(c));return(0,n.jsx)(s.Provider,{value:l,children:i})};return c.displayName=r+"Provider",[c,function(n,o,c={}){let{optional:s=!1}=c,l=o?.[e]?.[a]||u,d=t.useContext(l);if(d)return d;if(void 0!==i)return i;if(!s)throw Error(`\`${n}\` must be used within \`${r}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])}};return r.scopeName=n.scopeName,r}(i,...r)]}])},30207,e=>{"use strict";var t=e.i(271645);e.s(["useCallbackRef",0,function(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}])},726330,e=>{"use strict";var t,n=e.i(271645),r=e.i(981140),o=e.i(248425),i=e.i(820783),u=e.i(30207),a=e.i(843476),c=Object.defineProperty,s=(e,t)=>c(e,"name",{value:t,configurable:!0}),l="dismissableLayer.update",d=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),f=n.forwardRef(s(function(e,c){let{disableOutsidePointerEvents:f=!1,deferPointerDownOutside:m=!1,onEscapeKeyDown:v,onPointerDownOutside:b,onFocusOutside:E,onInteractOutside:g,onDismiss:w,...S}=e,C=n.useContext(d),[N,R]=n.useState(null),L=N?.ownerDocument??globalThis?.document,[,O]=n.useState({}),P=(0,i.useComposedRefs)(c,R),k=Array.from(C.layers),[T]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),A=T?k.indexOf(T):-1,M=N?k.indexOf(N):-1,D=C.layersWithOutsidePointerEventsDisabled.size>0,x=M>=A,I=n.useRef(!1),F=p(e=>{b?.(e),g?.(e),e.defaultPrevented||w?.()},{ownerDocument:L,deferPointerDownOutside:m,isDeferredPointerDownOutsideRef:I,dismissableSurfaces:C.dismissableSurfaces,shouldHandlePointerDownOutside:n.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...C.branches].some(t=>t.contains(e));return x&&!t},[C.branches,x])}),W=h(e=>{if(m&&I.current)return;let t=e.target;![...C.branches].some(e=>e.contains(t))&&(E?.(e),g?.(e),e.defaultPrevented||w?.())},L),_=!!N&&M===k.length-1,j=(0,u.useCallbackRef)(e=>{"Escape"===e.key&&(v?.(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))});return n.useEffect(()=>{if(_)return L.addEventListener("keydown",j,{capture:!0}),()=>L.removeEventListener("keydown",j,{capture:!0})},[L,_,j]),n.useEffect(()=>{if(N)return f&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(t=L.body.style.pointerEvents,L.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(N)),C.layers.add(N),y(),()=>{f&&(C.layersWithOutsidePointerEventsDisabled.delete(N),0===C.layersWithOutsidePointerEventsDisabled.size&&(L.body.style.pointerEvents=t))}},[N,L,f,C]),n.useEffect(()=>()=>{N&&(C.layers.delete(N),C.layersWithOutsidePointerEventsDisabled.delete(N),y())},[N,C]),n.useEffect(()=>{let e=s(()=>O({}),"handleUpdate");return document.addEventListener(l,e),()=>document.removeEventListener(l,e)},[]),(0,a.jsx)(o.Primitive.div,{...S,ref:P,style:{pointerEvents:D?x?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,W.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,W.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,F.onPointerDownCapture)})},"DismissableLayer"));function m(){let e=n.useContext(d),[t,r]=n.useState(null);return n.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),r}s(m,"useDismissableLayerSurface");var v=s(()=>!0,"IS_TRUE");function p(e,t){let{ownerDocument:r=globalThis?.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:c=v}=t,l=(0,u.useCallbackRef)(e),d=n.useRef(!1),f=n.useRef(!1),m=n.useRef(new Map),p=n.useRef(()=>{});return n.useEffect(()=>{function e(){f.current=!1,i.current=!1,m.current.clear()}function t(){return Array.from(m.current.values()).some(Boolean)}function n(e){if(!f.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||m.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{f.current&&p.current()},0)}function u(e){f.current&&m.current.set(e.type,!1)}s(e,"resetOutsideInteraction"),s(t,"isOutsideInteractionIntercepted"),s(n,"handleInteractionCapture"),s(u,"handleInteractionBubble");let v=s(n=>{if(n.target&&!d.current){let u=function(){r.removeEventListener("click",p.current);let n=t();e(),n||b("dismissableLayer.pointerDownOutside",l,a,{discrete:!0})};if(s(u,"handleAndDispatchPointerDownOutsideEvent"),!c(n.target)){r.removeEventListener("click",p.current),e(),d.current=!1;return}let a={originalEvent:n};f.current=!0,i.current=o&&0===n.button,m.current.clear(),o&&0===n.button?(r.removeEventListener("click",p.current),p.current=u,r.addEventListener("click",p.current,{once:!0})):u()}else r.removeEventListener("click",p.current),e();d.current=!1},"handlePointerDown"),h=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of h)r.addEventListener(e,n,!0),r.addEventListener(e,u);let y=window.setTimeout(()=>{r.addEventListener("pointerdown",v)},0);return()=>{for(let e of(window.clearTimeout(y),r.removeEventListener("pointerdown",v),r.removeEventListener("click",p.current),h))r.removeEventListener(e,n,!0),r.removeEventListener(e,u)}},[r,l,o,i,a,c]),{onPointerDownCapture:s(()=>d.current=!0,"onPointerDownCapture")}}function h(e,t=globalThis?.document){let r=(0,u.useCallbackRef)(e),o=n.useRef(!1);return n.useEffect(()=>{let e=s(e=>{e.target&&!o.current&&b("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:s(()=>o.current=!0,"onFocusCapture"),onBlurCapture:s(()=>o.current=!1,"onBlurCapture")}}function y(){let e=new CustomEvent(l);document.dispatchEvent(e)}function b(e,t,n,{discrete:r}){let i=n.originalEvent.target,u=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,o.dispatchDiscreteCustomEvent)(i,u):i.dispatchEvent(u)}s(p,"usePointerDownOutside"),s(h,"useFocusOutside"),s(y,"dispatchUpdate"),s(b,"handleAndDispatchCustomEvent"),e.s(["DismissableLayer",0,f,"useDismissableLayerSurface",0,m])},934620,e=>{"use strict";var t=e.i(271645),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,n])},635804,e=>{"use strict";var t=e.i(271645),n=e.i(934620);e.s(["useSize",0,function(e){let[r,o]=t.useState(void 0);return(0,n.useLayoutEffect)(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,r;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,r=t.blockSize}else n=e.offsetWidth,r=e.offsetHeight;o({width:n,height:r})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}o(void 0)},[e]),r}])},774606,e=>{"use strict";var t=e.i(271645),n=e.i(174080),r=e.i(248425),o=e.i(934620),i=e.i(843476),u=Object.defineProperty,a=t.forwardRef(u(function(e,u){let{container:a,...c}=e,[s,l]=t.useState(!1);(0,o.useLayoutEffect)(()=>l(!0),[]);let d=a||s&&globalThis?.document?.body;return d?n.createPortal((0,i.jsx)(r.Primitive.div,{...c,ref:u}),d):null},"name",{value:"Portal",configurable:!0}));e.s(["Portal",0,a])},296626,e=>{"use strict";var t=e.i(271645),n=e.i(934620),r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0});function i(e,n){return t.useReducer((e,t)=>n[e][t]??e,e)}o(i,"useStateMachine");var u=o(e=>{let{present:n,children:r}=e,o=a(n),i="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),u=s(o.ref,d(i));return"function"==typeof r||o.isPresent?t.cloneElement(i,{ref:u}):null},"Presence");function a(e){let[r,u]=t.useState(),a=t.useRef(null),c=t.useRef(e),s=t.useRef("none"),d=t.useRef(void 0),[f,m]=i(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===f?(s.current=d.current??l(a.current),d.current=void 0):s.current="none"},[f]),(0,n.useLayoutEffect)(()=>{let t=a.current,n=c.current;if(n!==e){let r=s.current,o=l(t);e?(d.current=o,m("MOUNT")):"none"===o||t?.display==="none"?m("UNMOUNT"):n&&r!==o?m("ANIMATION_OUT"):m("UNMOUNT"),c.current=e}},[e,m]),(0,n.useLayoutEffect)(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=o(n=>{let o=l(a.current).includes(CSS.escape(n.animationName));if(n.target===r&&o&&(m("ANIMATION_END"),!c.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},"handleAnimationEnd"),i=o(e=>{e.target===r&&(s.current=l(a.current))},"handleAnimationStart");return r.addEventListener("animationstart",i),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",i),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}m("ANIMATION_END")},[r,m]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);a.current=t,d.current=l(t)}else a.current=null;u(e)},[])}}function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...e){let n=t.useRef(e);return n.current=e,t.useCallback(e=>{let t=n.current,r=!1,o=t.map(t=>{let n=c(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<o.length;e++){let n=o[e];"function"==typeof n?n():c(t[e],null)}}},[])}function l(e){return e?.animationName||"none"}function d(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}o(a,"usePresence"),o(c,"setRef"),o(s,"useStableComposedRefs"),o(l,"getAnimationName"),o(d,"getElementRef"),e.s(["Presence",0,u])},705844,e=>{"use strict";e.s(["IS_DEVELOPMENT",0,!1])},369340,e=>{"use strict";var t=e.i(271645),n=e.i(705844),r=e.i(934620),o=t[" useEffectEvent ".trim().toString()],i=t[" useInsertionEffect ".trim().toString()],u=Object.defineProperty,a=(e,t)=>u(e,"name",{value:t,configurable:!0}),c=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function s({prop:e,defaultProp:r,onChange:o=a(()=>{},"onChange"),caller:i}){let[u,c,f]=l({defaultProp:r,onChange:o}),m=void 0!==e,v=m?e:u;if(n.IS_DEVELOPMENT){let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==m){let t=m?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}n.current=m},[m,i])}return[v,t.useCallback(t=>{if(m){let n=d(t)?t(e):t;n!==e&&f.current?.(n)}else c(t)},[m,e,c,f])]}function l({defaultProp:e,onChange:n}){let[r,o]=t.useState(e),i=t.useRef(r),u=t.useRef(n);return c(()=>{u.current=n},[n]),t.useEffect(()=>{i.current!==r&&(u.current?.(r),i.current=r)},[r,i]),[r,o,u]}function d(e){return"function"==typeof e}a(s,"useControllableState"),a(l,"useUncontrolledState"),a(d,"isFunction");var f=Symbol("RADIX:SYNC_STATE");a(function(e,u,a,c){let{prop:s,defaultProp:l,onChange:d,caller:m}=u,v=void 0!==s,p=function(e){if("function"==typeof o)return o(e);let n=t.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof i?i(()=>{n.current=e}):(0,r.useLayoutEffect)(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}(d);if(n.IS_DEVELOPMENT){let e=t.useRef(void 0!==s);t.useEffect(()=>{let t=e.current;if(t!==v){let e=v?"controlled":"uncontrolled";console.warn(`${m} is changing from ${t?"controlled":"uncontrolled"} to ${e}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}e.current=v},[v,m])}let h=[{...a,state:l}];c&&h.push(c);let[y,b]=t.useReducer((t,n)=>{if(n.type===f)return{...t,state:n.state};let r=e(t,n);return v&&!Object.is(r.state,t.state)&&p(r.state),r},...h),E=y.state,g=t.useRef(E);t.useEffect(()=>{g.current!==E&&(g.current=E,v||p(E))},[E,g,v]);let w=t.useMemo(()=>void 0!==s?{...y,state:s}:y,[y,s]);return t.useEffect(()=>{v&&!Object.is(s,y.state)&&b({type:f,state:s})},[s,y.state,v]),[w,b]},"useControllableStateReducer"),e.s(["useControllableState",0,s],369340)},303536,e=>{"use strict";var t=e.i(271645),n=0,r=null;function o(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}e.s(["useFocusGuards",0,function(){t.useEffect(()=>{r||(r={start:o(),end:o()});let{start:e,end:t}=r;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),n++,()=>{1===n&&(r?.start.remove(),r?.end.remove(),r=null),n=Math.max(0,n-1)}},[])}])},765491,e=>{"use strict";var t=e.i(271645),n=e.i(820783),r=e.i(248425),o=e.i(30207),i=e.i(843476),u=Object.defineProperty,a=(e,t)=>u(e,"name",{value:t,configurable:!0}),c="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",l={bubbles:!1,cancelable:!0},d=t.forwardRef(a(function(e,u){let{loop:d=!1,trapped:p=!1,onMountAutoFocus:h,onUnmountAutoFocus:y,...g}=e,[w,C]=t.useState(null),N=(0,o.useCallbackRef)(h),R=(0,o.useCallbackRef)(y),L=t.useRef(null),O=(0,n.useComposedRefs)(u,C),P=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(p){let e=function(e){if(P.paused||!w)return;let t=e.target;w.contains(t)?L.current=t:b(L.current,{select:!0})},t=function(e){if(P.paused||!w)return;let t=e.relatedTarget;null!==t&&(w.contains(t)||b(L.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&b(w)};a(e,"handleFocusIn"),a(t,"handleFocusOut"),a(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return w&&r.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[p,w,P.paused]),t.useEffect(()=>{if(w){E.add(P);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(c,l);w.addEventListener(c,N),w.dispatchEvent(t),t.defaultPrevented||(f(S(v(w)),{select:!0}),document.activeElement===e&&b(w))}return()=>{w.removeEventListener(c,N),setTimeout(()=>{let t=new CustomEvent(s,l);w.addEventListener(s,R),w.dispatchEvent(t),t.defaultPrevented||b(e??document.body,{select:!0}),w.removeEventListener(s,R),E.remove(P)},0)}}},[w,N,R,P]);let k=t.useCallback(e=>{if(!d&&!p||P.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[r,o]=m(t);r&&o?e.shiftKey||n!==o?e.shiftKey&&n===r&&(e.preventDefault(),d&&b(o,{select:!0})):(e.preventDefault(),d&&b(r,{select:!0})):n===t&&e.preventDefault()}},[d,p,P.paused]);return(0,i.jsx)(r.Primitive.div,{tabIndex:-1,...g,ref:O,onKeyDown:k})},"FocusScope"));function f(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(b(r,{select:t}),document.activeElement!==n)return}function m(e){let t=v(e);return[p(t,e),p(t.reverse(),e)]}function v(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):h(r,{upTo:t})))return r}function h(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function y(e){return e instanceof HTMLInputElement&&"select"in e}function b(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&y(e)&&t&&e.select()}}a(f,"focusFirst"),a(m,"getTabbableEdges"),a(v,"getTabbableCandidates"),a(p,"findVisible"),a(h,"isHidden"),a(y,"isSelectableInput"),a(b,"focus");var E=g();function g(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=w(e,t)).unshift(t)},remove(t){e=w(e,t),e[0]?.resume()}}}function w(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function S(e){return e.filter(e=>"A"!==e.tagName)}a(g,"createFocusScopesStack"),a(w,"arrayRemove"),a(S,"removeLinks"),e.s(["FocusScope",0,d])},610772,e=>{"use strict";var t=e.i(271645),n=e.i(934620),r=t[" useId ".trim().toString()]||(()=>void 0),o=0;e.s(["useId",0,function(e){let[i,u]=t.useState(r());return(0,n.useLayoutEffect)(()=>{e||u(e=>e??String(o++))},[e]),e||(i?`radix-${i}`:"")}])},186312,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,i=function(e){return e&&(e.host||i(e.parentNode))},u=function(e,u,a,c){var s=(Array.isArray(e)?e:[e]).map(function(e){if(u.contains(e))return e;var t=i(e);return t&&u.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",u,". Doing nothing"),null)}).filter(function(e){return!!e});r[a]||(r[a]=new WeakMap);var l=r[a],d=[],f=new Set,m=new Set(s),v=function(e){!e||f.has(e)||(f.add(e),v(e.parentNode))};s.forEach(v);var p=function(e){!e||m.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))p(e);else try{var r=e.getAttribute(c),o=null!==r&&"false"!==r,i=(t.get(e)||0)+1,u=(l.get(e)||0)+1;t.set(e,i),l.set(e,u),d.push(e),1===i&&o&&n.set(e,!0),1===u&&e.setAttribute(a,"true"),o||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return p(u),f.clear(),o++,function(){d.forEach(function(e){var r=t.get(e)-1,o=l.get(e)-1;t.set(e,r),l.set(e,o),r||(n.has(e)||e.removeAttribute(c),n.delete(e)),o||e.removeAttribute(a)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),u(r,o,n,"aria-hidden")):function(){return null}}])},985369,e=>{"use strict";var t,n,r,o,i,u,a,c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var l=("function"==typeof SuppressedError&&SuppressedError,e.i(271645)),d="right-scroll-bar-position",f="width-before-scroll-bar";function m(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var v="u">typeof window?l.useLayoutEffect:l.useEffect,p=new WeakMap,h=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],o=!1,i={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var i=function(){var n=t;t=[],n.forEach(e)},u=function(){return Promise.resolve().then(i)};u(),r={push:function(e){t.push(e),u()},filter:function(e){return t=t.filter(e),r}}}}).options=c({async:!0,ssr:!1},t),i),y=function(){},b=l.forwardRef(function(e,t){var n,r,o,i,u=l.useRef(null),a=l.useState({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:y}),d=a[0],f=a[1],b=e.forwardProps,E=e.children,g=e.className,w=e.removeScrollBar,S=e.enabled,C=e.shards,N=e.sideCar,R=e.noRelative,L=e.noIsolation,O=e.inert,P=e.allowPinchZoom,k=e.as,T=e.gapMode,A=s(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=(n=[u,t],r=function(e){return n.forEach(function(t){return m(t,e)})},(o=(0,l.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,v(function(){var e=p.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||m(e,null)}),r.forEach(function(e){t.has(e)||m(e,o)})}p.set(i,n)},[n]),i),D=c(c({},A),d);return l.createElement(l.Fragment,null,S&&l.createElement(N,{sideCar:h,removeScrollBar:w,shards:C,noRelative:R,noIsolation:L,inert:O,setCallbacks:f,allowPinchZoom:!!P,lockRef:u,gapMode:T}),b?l.cloneElement(l.Children.only(E),c(c({},D),{ref:M})):l.createElement(void 0===k?"div":k,c({},D,{className:g,ref:M}),E))});b.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},b.classNames={fullWidth:f,zeroRight:d};var E=function(e){var t=e.sideCar,n=s(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return l.createElement(r,c({},n))};E.isSideCarExport=!0;var g=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=a||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},w=function(){var e=g();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},S=function(){var e=w();return function(t){return e(t.styles,t.dynamic),null}},C={left:0,top:0,right:0,gap:0},N=function(e){return parseInt(e||"",10)||0},R=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[N(n),N(r),N(o)]},L=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return C;var t=R(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},O=S(),P="data-scroll-locked",k=function(e,t,n,r){var o=e.left,i=e.top,u=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(P,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(u,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(d," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(f," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n right: 0 ").concat(r,";\n }\n \n .").concat(f," .").concat(f," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(P,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},T=function(){var e=parseInt(document.body.getAttribute(P)||"0",10);return isFinite(e)?e:0},A=function(){l.useEffect(function(){return document.body.setAttribute(P,(T()+1).toString()),function(){var e=T()-1;e<=0?document.body.removeAttribute(P):document.body.setAttribute(P,e.toString())}},[])},M=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;A();var i=l.useMemo(function(){return L(o)},[o]);return l.createElement(O,{styles:k(i,!t,o,n?"":"!important")})},D=!1;if("u">typeof window)try{var x=Object.defineProperty({},"passive",{get:function(){return D=!0,!0}});window.addEventListener("test",x,x),window.removeEventListener("test",x,x)}catch(e){D=!1}var I=!!D&&{passive:!1},F=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},W=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),_(e,r)){var o=j(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},_=function(e,t){return"v"===e?F(t,"overflowY"):F(t,"overflowX")},j=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},B=function(e,t,n,r,o){var i,u=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=u*r,c=n.target,s=t.contains(c),l=!1,d=a>0,f=0,m=0;do{if(!c)break;var v=j(e,c),p=v[0],h=v[1]-v[2]-u*p;(p||h)&&_(e,c)&&(f+=h,m+=p);var y=c.parentNode;c=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!s&&c!==document.body||s&&(t.contains(c)||t===c))return d&&(o&&1>Math.abs(f)||!o&&a>f)?l=!0:!d&&(o&&1>Math.abs(m)||!o&&-a>m)&&(l=!0),l},U=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$=function(e){return[e.deltaX,e.deltaY]},H=function(e){return e&&"current"in e?e.current:e},z=0,K=[];let V=(u=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(z++)[0],i=l.useState(S)[0],u=l.useRef(e);l.useEffect(function(){u.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(H),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!u.current.allowPinchZoom;var o,i=U(e),a=n.current,c="deltaX"in e?e.deltaX:a[0]-i[0],s="deltaY"in e?e.deltaY:a[1]-i[1],l=e.target,d=Math.abs(c)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===l.type)return!1;var f=window.getSelection(),m=f&&f.anchorNode;if(m&&(m===l||m.contains(l)))return!1;var v=W(d,l);if(!v)return!0;if(v?o=d:(o="v"===d?"h":"v",v=W(d,l)),!v)return!1;if(!r.current&&"changedTouches"in e&&(c||s)&&(r.current=o),!o)return!0;var p=r.current||o;return B(p,t,e,"h"===p?c:s,!0)},[]),c=l.useCallback(function(e){if(K.length&&K[K.length-1]===i){var n="deltaY"in e?$(e):U(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(u.current.shards||[]).map(H).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?a(e,o[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=l.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=l.useCallback(function(e){n.current=U(e),r.current=void 0},[]),f=l.useCallback(function(t){s(t.type,$(t),t.target,a(t,e.lockRef.current))},[]),m=l.useCallback(function(t){s(t.type,U(t),t.target,a(t,e.lockRef.current))},[]);l.useEffect(function(){return K.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",c,I),document.addEventListener("touchmove",c,I),document.addEventListener("touchstart",d,I),function(){K=K.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,I),document.removeEventListener("touchmove",c,I),document.removeEventListener("touchstart",d,I)}},[]);var v=e.removeScrollBar,p=e.inert;return l.createElement(l.Fragment,null,p?l.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?l.createElement(M,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},h.useMedium(u),E);var X=l.forwardRef(function(e,t){return l.createElement(b,c({},e,{ref:t,sideCar:V}))});X.classNames=b.classNames,e.s(["RemoveScroll",0,X],985369)}]);
@@ -0,0 +1,55 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,832297,e=>{"use strict";var t=e.i(187921);e.s(["CirclePlay",()=>t.default])},997778,e=>{"use strict";var t=e.i(843476),n=e.i(948148),i=e.i(271645),s=e.i(755146);e.s(["WorkflowChoiceMenu",0,function({button:e,choices:a,hasPlainTrigger:r=!1,onRun:l}){let o=(0,n.useTranslations)("workflows");return a.length?(0,t.jsxs)(s.DropdownMenu,{children:[(0,t.jsx)(s.DropdownMenuTrigger,{asChild:!0,children:e}),(0,t.jsxs)(s.DropdownMenuContent,{align:"start",className:"max-w-64",children:[r&&(0,t.jsx)(s.DropdownMenuItem,{onSelect:()=>l(null),children:o("fullRun")}),a.map(e=>(0,t.jsx)(s.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 n(e){var n;let i=(n=e.url,!n?.startsWith("/")||n.startsWith("//")?null:n);if(i)return{href:i,external:!1};let s=e.kind.trim().toUpperCase(),a=e.resourceId.trim();if(!a)return null;let r="string"==typeof e.metadata?.runKind?e.metadata.runKind.toUpperCase():null,l="BUILD"===s?`/builds/${t(a)}`:"CODEBASE"===s?`/codebases/${t(a)}`:"JIRA_TICKET"===s?`/jira/tickets/${t(a)}`:"WORKTREE"===s?`/worktrees/${t(a)}`:"AGENT_RUN"===s&&"PLAN"===r?`/plans/${t(a)}`:"AGENT_RUN"===s&&"SESSION"===r?`/sessions/${t(a)}`:"PULL_REQUEST"===s?function(e){let n=e.lastIndexOf("#");if(n<1)return null;let i=e.slice(0,n),s=i.indexOf("/");if(s<1||s===i.length-1)return null;let a=Number(e.slice(n+1));return!Number.isInteger(a)||a<1?null:`/pull-requests/${t(i.slice(0,s))}/${t(i.slice(s+1))}/${a}`}(a):"AGENT_JOB"===s?`/jobs/${t(a)}`:"COMMAND_RUN"===s?`/commands/runs/${t(a)}`:"WORKFLOW_RUN"===s?`/workflows/runs/${t(a)}`:"SKILL_SYNC"===s?`/skills/sync/${t(a)}`:"SKILL"===s?`/skills/${t(a)}`:"IOS_DEVICE"===s?`/devices/${t(a)}`:"SIGNING_PROFILE"===s?`/provisioning-profiles/${t(a)}`:"PUSH_NOTIFICATION_BATCH"===s?"/push-notifications":"BUILD_DATA_COLLECTION"===s?"/build-data":"AGENT"===s?`/agents/${t(a)}`:"CODEBASE_REPOSITORY"===s?`/codebases/repositories/${t(a)}`: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 s(e){return e.map((e,t)=>({destination:n(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 a(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function r(e){return"string"!=typeof e&&"number"!=typeof e?null:String(e).trim()||null}function l(e,t,n){return e.kind.trim().toUpperCase()===t.trim().toUpperCase()&&e.resourceId.trim()===n.trim()}e.i(672510),e.s(["githubJobResourceId",0,function(e,t){let n=e.trim(),i=t.trim();if(!n||!i)throw Error("GitHub job repository and job ID are required");return`${n}:job:${i}`},"githubPipelineResourceId",0,function(e,t,n){let i=e.trim(),s=t?.trim(),a=n.trim();if(!i||!s&&!a)throw Error("GitHub pipeline repository and provider ID are required");return`${i}:${s?"run":"check"}:${s||a}`},"preferredWorkflowResourceDestination",0,s,"workflowResourceDestination",0,n],596930),e.s(["currentPageWorkflowNodeIds",0,function(e,t,n){let i=new Set,s=new Map(e.attempts.map(e=>[e.id,e.nodeId]));for(let s of e.attempts)s.resourceLinks.some(e=>l(e,t,n))&&i.add(s.nodeId);for(let a of e.resourceLinks){if(!l(a,t,n))continue;let r=a.attemptId?s.get(a.attemptId):e.trigger?.nodeId;r&&i.add(r)}return i},"workflowRunNodeDestinations",0,function(e){let t=new Map;for(let n of[...e.attempts].sort((t,n)=>Number(n.generation===e.generation)-Number(t.generation===e.generation)||n.generation-t.generation||n.attempt-t.attempt||Number(!!t.iterationKey)-Number(!!n.iterationKey))){if(t.has(n.nodeId))continue;let e=function(e){let t=e.kind?.trim().toUpperCase()??"",n=a(e.output),i=a(n.value),s={...a(i.sessionPatch),...a(n.sessionPatch)};if(t.startsWith("JIRA_")){let e=r(i.key)??r(a(i.ticket).key)??r(a(s.ticket).key);return e?{kind:"JIRA_TICKET",resourceId:e}:null}if(t.startsWith("RUN_")){let e=r(i.id),t=r(i.kind)?.toUpperCase();return e&&("PLAN"===t||"SESSION"===t)?{kind:"AGENT_RUN",resourceId:e,metadata:{runKind:t}}:null}if(t.startsWith("WORKTREE_")){let e=r(a(s.worktree).id);return e?{kind:"WORKTREE",resourceId:e}:null}if(t.startsWith("CODEBASE_")){let e=r(a(s.codebase).id)??r(i.id);return e?{kind:"CODEBASE",resourceId:e}:null}if(t.startsWith("BUILD_")){let e=r(a(s.build).id)??r(i.id);return e?{kind:"BUILD",resourceId:e}:null}return null}(n),i=s(e?[...n.resourceLinks,e]:n.resourceLinks);i&&t.set(n.nodeId,i)}let n=s(e.resourceLinks.filter(({attemptId:e})=>!e));return e.trigger?.nodeId&&n&&t.set(e.trigger.nodeId,n),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),n=e.i(832297),i=e.i(482022),s=e.i(948148),a=e.i(271645),r=e.i(929592),l=e.i(487486),o=e.i(519455),d=e.i(515288),c=e.i(906197),u=e.i(520133),m=e.i(637611),p=e.i(880181),h=e.i(997778),x=e.i(505624),f=e.i(349049),g=e.i(399668);function j(e){return"string"==typeof e&&e.length>0?e:null}function k({run:e,onAnswered:n}){let i=(0,s.useTranslations)("workflows"),l=(0,g.useWorkflowLabels)(),[d,c]=(0,a.useState)({}),[p,h]=(0,a.useState)(!1),[x,f]=(0,a.useState)(null),w=(0,a.useMemo)(()=>e.attempts.flatMap(e=>(e.questionBatches??[]).flatMap(t=>{let n=j(t.id);if(!n||"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=j(e.id);if(!t)return null;let n=Array.isArray(e.options)?e.options:[];return{id:t,header:j(e.header),prompt:j(e.prompt)??"",multiSelect:!!e.multiSelect,options:n.flatMap(e=>{if(!e||"object"!=typeof e)return[];let t=j(e.label);return t?[{id:j(e.id)??t,label:t,description:j(e.description)}]:[]})}})(e)??[]);return i.length?[{id:n,kind:e.kind,questions:i}]:[]})),[e]);if(0===w.length)return null;let b=(e,t)=>`${e}:${t}`,y=async(e,t)=>{h(!0);try{await (0,m.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 n={...t};for(let t of e.questions)delete n[b(e.id,t.id)];return n}),f(null),await n()}catch(e){f(e instanceof Error?e.message:String(e))}finally{h(!1)}};return(0,t.jsxs)("div",{className:"space-y-2",children:[x&&(0,t.jsx)(r.Alert,{variant:"destructive",children:(0,t.jsx)(r.AlertDescription,{children:x})}),w.map(n=>{let s=1===n.questions.length&&!n.questions[0].multiSelect,a=n.questions.every(e=>(d[b(n.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(n.kind)})}),n.questions.every(({options:e})=>e.length>0)?(0,t.jsxs)(t.Fragment,{children:[n.questions.map(e=>{let i=d[b(n.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((a,r)=>(0,t.jsx)(o.Button,{"aria-pressed":s?void 0:i.includes(a.label),disabled:p,onClick:()=>{s?y(n,{[e.id]:[a.label]}):c(t=>{let i=new Set(t[b(n.id,e.id)]??[]);return e.multiSelect?i.has(a.label)?i.delete(a.label):i.add(a.label):(i.clear(),i.add(a.label)),{...t,[b(n.id,e.id)]:[...i]}})},size:"sm",title:a.description??void 0,variant:i.includes(a.label)||s&&0===r?"default":"outline",children:a.label},a.id))})]},e.id)}),!s&&(0,t.jsx)(o.Button,{disabled:p||!a,onClick:()=>void y(n,Object.fromEntries(n.questions.map(e=>[e.id,d[b(n.id,e.id)]??[]]))),size:"sm",children:i("answer")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:n.questions[0].header||n.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")})})]})]},n.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:j,sessionData:b}){let y=(0,s.useTranslations)("workflows"),S=(0,g.useWorkflowLabels)(),v=(0,x.useOpenWorkflowDestination)(),[C,N]=(0,a.useState)([]),[I,A]=(0,a.useState)([]),[L,T]=(0,a.useState)(null),[R,E]=(0,a.useState)(null),D=(0,a.useCallback)(async()=>{try{let t=await (0,m.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:j});N(t.workflowRunsForResource),A(t.workflowsAcceptingResource),E(null)}catch(e){E(e instanceof Error?e.message:String(e))}},[j,e]);(0,a.useEffect)(()=>{let e=window.setTimeout(()=>void D(),0),t=(0,m.controlPlaneSubscriptions)().subscribe({query:"subscription ResourceWorkflowChanges { workflowsChanged { id } }"},{next:()=>void D(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(e),t()}},[D]);let P=async(t,n)=>{T(t);try{await (0,m.controlPlaneRequest)("mutation TriggerResourceWorkflow($input: TriggerWorkflowInput!) { triggerWorkflow(input: $input) { id } }",{input:{workflowId:t,sessionData:b,resourceKind:e,resourceId:j,subjectKey:`${e}:${j}`,choice:n}}),await D()}catch(e){E(e instanceof Error?e.message:String(e))}finally{T(null)}},B=C[0],$=(0,a.useMemo)(()=>B?(0,p.currentPageWorkflowNodeIds)(B,e,j):new Set,[B,j,e]),_=(0,a.useMemo)(()=>B?(0,p.workflowRunNodeDestinations)(B):new Map,[B]);return C.length||I.length||R?(0,t.jsxs)(d.Card,{children:[(0,t.jsxs)(d.CardHeader,{children:[(0,t.jsx)(d.CardTitle,{children:y("resourceWorkflows")}),(0,t.jsx)(d.CardDescription,{children:y("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:y("manageWorkflows")})})})]}),(0,t.jsxs)(d.CardContent,{className:"space-y-4",children:[R&&(0,t.jsx)(r.Alert,{variant:"destructive",children:(0,t.jsx)(r.AlertDescription,{children:R})}),I.length>0&&(0,t.jsx)(c.ItemGroup,{className:"gap-2",children:I.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)(h.WorkflowChoiceMenu,{button:(0,t.jsxs)(o.Button,{disabled:!e.enabled||null!==L,size:"sm",variant:"outline",children:[(0,t.jsx)(n.CirclePlay,{})," ",y("run")]}),choices:e.triggerChoices,hasPlainTrigger:e.hasPlainTrigger,onRun:t=>void P(e.id,t)})})]},e.id))}),B&&(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/${B.id}`,children:[B.workflow.name," #",B.displayNumber]}),(0,t.jsx)(l.Badge,{variant:(0,f.workflowStatusVariant)(B.status),children:S.status(B.status)})]}),(0,t.jsx)(o.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(u.Link,{href:`/workflows/runs/${B.id}`,children:[(0,t.jsx)(i.ExternalLink,{})," ",y("fullRun")]})})]}),(0,t.jsx)(k,{onAnswered:D,run:B}),(0,t.jsx)(f.WorkflowGraph,{attempts:B.attempts,compact:!0,currentPageNodeIds:$,definition:B.version.definition,destinations:_,generation:B.generation,onNodeClick:(e,{destination:t,locked:n})=>{n&&v(t)}}),C.length>1&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:C.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,f.workflowStatusVariant)(e.status),children:S.status(e.status)})]})},e.id))})]})]})]}):null}],586592)},131460,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-down-to-line",[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]]);e.s(["ArrowDownToLine",0,t],131460)},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
+ `,n=`
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,n])},170428,e=>{"use strict";let t=(0,e.i(456420).default)("git-compare-arrows",[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M12 6h5a2 2 0 0 1 2 2v7",key:"1yj91y"}],["path",{d:"m15 9-3-3 3-3",key:"1lwv8l"}],["circle",{cx:"19",cy:"18",r:"3",key:"1qljk2"}],["path",{d:"M12 18H7a2 2 0 0 1-2-2V9",key:"16sdep"}],["path",{d:"m9 15 3 3-3 3",key:"1m3kbl"}]]);e.s(["GitCompareArrows",0,t],170428)},629864,e=>{"use strict";var t=e.i(843476),n=e.i(131460),i=e.i(456420);let s=(0,i.default)("arrow-up-from-line",[["path",{d:"m18 9-6-6-6 6",key:"kcunyi"}],["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 21h14",key:"11awu3"}]]);var a=e.i(689664),r=e.i(170428),l=e.i(21357);let o=(0,i.default)("skip-forward",[["path",{d:"M21 4v16",key:"7j8fe9"}],["path",{d:"M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z",key:"zs4d6"}]]);var d=e.i(573474),c=e.i(948148),u=e.i(271645),m=e.i(929592),p=e.i(487486),h=e.i(519455),x=e.i(515288),f=e.i(257428),g=e.i(776639),j=e.i(793479),k=e.i(110204),w=e.i(967489),b=e.i(987968),y=e.i(784774),S=e.i(624687),v=e.i(637611),C=e.i(702143);let N="__none__",I={SCAN:0,READ:1,APPLY:2};function A(e){let t=window.atob(e);return Uint8Array.from(t,e=>e.charCodeAt(0))}function L(e){if(!e)return null;let t=A(e.contentsBase64);if(t.includes(0))return null;try{return new TextDecoder("utf-8",{fatal:!0}).decode(t)}catch{return null}}function T(e){return e.toLocaleLowerCase().split("_").map(e=>e.charAt(0).toLocaleUpperCase()+e.slice(1)).join(" ")}function R({file:e,missingLabel:n,binaryLabel:i,executableLabel:s}){if(!e)return(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:n});let a=L(e);return null===a?(0,t.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,t.jsx)("p",{children:i}),(0,t.jsxs)("p",{children:[A(e.contentsBase64).byteLength.toLocaleString()," B"]}),e.executable&&(0,t.jsx)(p.Badge,{variant:"outline",children:s})]}):(0,t.jsx)("pre",{className:"max-h-64 overflow-auto whitespace-pre-wrap rounded-md border bg-muted/30 p-3 font-mono text-xs",children:a})}e.s(["SkillSyncPage",0,function({runId:e}){let i=(0,c.useTranslations)("skills"),E=(0,c.useTranslations)("status"),[D,P]=(0,u.useState)(null),[B,$]=(0,u.useState)([]),[_,O]=(0,u.useState)(!0),[K,M]=(0,u.useState)(!1),[U,q]=(0,u.useState)(null),[W,F]=(0,u.useState)(null),[H,G]=(0,u.useState)([]),[z,Y]=(0,u.useState)([]),[V,J]=(0,u.useState)("SKILL.md"),[Q,X]=(0,u.useState)("SKILL.md"),[Z,ee]=(0,u.useState)(!1),[et,en]=(0,u.useState)({}),ei=(0,u.useCallback)(async()=>{try{let t=await (0,v.controlPlaneRequest)(`query SkillSyncRun($id: ID!) {
43
+ skillSyncRun(id: $id) { ${C.SKILL_SYNC_RUN_FIELDS} }
44
+ skillsOverview { groups { id name } }
45
+ }`,{id:e});if(!t.skillSyncRun)throw Error(i("syncRunNotFound"));P(t.skillSyncRun),$(t.skillsOverview.groups),q(null)}catch(e){q(e instanceof Error?e.message:String(e))}finally{O(!1)}},[e,i]);(0,u.useEffect)(()=>{let t=window.setTimeout(()=>void ei(),0),n=window.setInterval(()=>void ei(),1e4),i=(0,v.controlPlaneSubscriptions)().subscribe({query:`subscription SkillSyncRunChanged($runId: ID!) {
46
+ skillSyncRunChanged(runId: $runId) { ${C.SKILL_SYNC_RUN_FIELDS} }
47
+ }`,variables:{runId:e}},{next:e=>e.data?.skillSyncRunChanged&&P(e.data.skillSyncRunChanged),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(t),window.clearInterval(n),i()}},[ei,e]);let es=(0,u.useMemo)(()=>D?.items.filter(e=>!["SCAN","READ","APPLY"].includes(e.direction))??[],[D]),ea=(0,u.useMemo)(()=>{let e=new Map;for(let t of D?.items??[]){if(!["SCAN","READ","APPLY"].includes(t.direction))continue;let n=t.agent?.id??t.id,i=e.get(n),s=I[t.direction]??0,a=i?I[i.direction]??0:-1;(!i||s>a||s===a&&t.updatedAt>i.updatedAt)&&e.set(n,t)}return[...e.values()]},[D]),er=(0,u.useMemo)(()=>ea.filter(e=>"PENDING"===e.status),[ea]),el=(0,u.useMemo)(()=>W?.candidatePackage?.package?.files??[],[W]),eo=(0,u.useMemo)(()=>[...new Set([...H,...el,...z].map(e=>e.path))].sort((e,t)=>e.localeCompare(t)),[H,z,el]),ed=H.find(e=>e.path===V),ec=el.find(e=>e.path===V),eu=z.find(e=>e.path===V),em=async(e,t,n)=>{M(!0);try{let i=n?.package,s=await (0,v.controlPlaneRequest)(`mutation ResolveSkillSyncItem($input: ResolveSkillSyncItemInput!) {
48
+ resolveSkillSyncItem(input: $input) { ${C.SKILL_SYNC_RUN_FIELDS} }
49
+ }`,{input:{itemId:e.id,resolution:t,groupId:et[e.id]||null,package:i?{name:i.name,description:i.description,files:i.files}:null}});P(s.resolveSkillSyncItem),F(null),q(null)}catch(e){q(e instanceof Error?e.message:String(e))}finally{M(!1)}},ep=async()=>{M(!0);try{let t=await (0,v.controlPlaneRequest)(`mutation ApplySkillSync($runId: ID!) {
50
+ applySkillSync(runId: $runId) { ${C.SKILL_SYNC_RUN_FIELDS} }
51
+ }`,{runId:e});P(t.applySkillSync)}catch(e){q(e instanceof Error?e.message:String(e))}finally{M(!1)}},eh=async()=>{M(!0);try{let t=await (0,v.controlPlaneRequest)(`mutation SkipPendingSkillSync($runId: ID!) {
52
+ skipPendingSkillSync(runId: $runId) { ${C.SKILL_SYNC_RUN_FIELDS} }
53
+ }`,{runId:e});P(t.skipPendingSkillSync),q(null)}catch(e){q(e instanceof Error?e.message:String(e))}finally{M(!1)}},ex=async e=>{let t=e.candidatePackage?.package;if(t&&(F(e),Y(t.files.map(e=>({...e}))),J("SKILL.md"),X("SKILL.md"),G([]),e.skill)){ee(!0);try{let t=await (0,v.controlPlaneRequest)(`query ConflictDatabasePackage($id: ID!) {
54
+ skill(id: $id) { files { path contentsBase64 executable } }
55
+ }`,{id:e.skill.id});G(t.skill?.files??[])}catch(e){q(e instanceof Error?e.message:String(e))}finally{ee(!1)}}},ef=async()=>{if(!W?.candidatePackage?.package)return;let e=W.candidatePackage.package;await em(W,"MANUAL",{...W.candidatePackage,package:{...e,files:z}})},eg=async e=>{if(!e)return;let t=await Promise.all([...e].map(async e=>({path:e.name,contentsBase64:function(e){let t="";for(let n=0;n<e.length;n+=32768)t+=String.fromCharCode(...e.subarray(n,n+32768));return window.btoa(t)}(new Uint8Array(await e.arrayBuffer())),executable:!1})));Y(e=>[...e.filter(e=>!t.some(t=>t.path===e.path)),...t]),t[0]&&(J(t[0].path),X(t[0].path))};return _||!D?(0,t.jsxs)("div",{className:"flex gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(b.Spinner,{})," ",i("loadingSync")]}):(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("syncTitle")}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:D.group?i("syncGroupName",{name:D.group.name}):i("syncAllDescription")})]})}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(p.Badge,{variant:"SUCCEEDED"===D.status?"secondary":"outline",children:T(D.status)}),er.length>0&&(0,t.jsxs)(h.Button,{disabled:K,onClick:()=>void eh(),variant:"outline",children:[K?(0,t.jsx)(b.Spinner,{}):(0,t.jsx)(o,{})," ",i("skipPendingClients")]}),(0,t.jsxs)(h.Button,{disabled:K||!["READY","PARTIAL"].includes(D.status),onClick:()=>void ep(),children:[K?(0,t.jsx)(b.Spinner,{}):(0,t.jsx)(l.Play,{})," ",i("applySync")]})]})]}),U&&(0,t.jsx)(m.Alert,{variant:"destructive",children:(0,t.jsx)(m.AlertDescription,{children:U})}),ea.length>0&&(0,t.jsxs)(x.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(x.CardHeader,{children:[(0,t.jsx)(x.CardTitle,{children:i("syncAgents")}),(0,t.jsx)(x.CardDescription,{children:i("syncAgentsDescription")})]}),(0,t.jsx)(x.CardContent,{className:"px-0",children:(0,t.jsxs)(y.Table,{children:[(0,t.jsx)(y.TableHeader,{children:(0,t.jsxs)(y.TableRow,{children:[(0,t.jsx)(y.TableHead,{children:i("agent")}),(0,t.jsx)(y.TableHead,{children:i("connection")}),(0,t.jsx)(y.TableHead,{children:i("operation")}),(0,t.jsx)(y.TableHead,{children:i("syncStatus")})]})}),(0,t.jsx)(y.TableBody,{children:ea.map(e=>{let n=e.agent?.connectionStatus==="ONLINE";return(0,t.jsxs)(y.TableRow,{children:[(0,t.jsx)(y.TableCell,{className:"font-medium",children:e.agent?.name??i("unknownAgent")}),(0,t.jsx)(y.TableCell,{children:(0,t.jsx)(p.Badge,{className:n?"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":void 0,variant:n?"outline":"secondary",children:E(n?"online":"offline")})}),(0,t.jsx)(y.TableCell,{children:(0,t.jsx)(p.Badge,{variant:"outline",children:T(e.direction)})}),(0,t.jsx)(y.TableCell,{children:(0,t.jsx)(p.Badge,{variant:"FAILED"===e.status?"destructive":"COMPLETE"===e.status||"SUCCEEDED"===e.status?"secondary":"outline",children:T(e.status)})})]},e.id)})})]})})]}),(0,t.jsxs)(x.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(x.CardHeader,{children:[(0,t.jsx)(x.CardTitle,{children:i("syncChanges")}),(0,t.jsx)(x.CardDescription,{children:i("syncChangesDescription")})]}),(0,t.jsx)(x.CardContent,{className:"px-0",children:(0,t.jsxs)(y.Table,{children:[(0,t.jsx)(y.TableHeader,{children:(0,t.jsxs)(y.TableRow,{children:[(0,t.jsx)(y.TableHead,{children:i("change")}),(0,t.jsx)(y.TableHead,{children:i("name")}),(0,t.jsx)(y.TableHead,{children:i("agent")}),(0,t.jsx)(y.TableHead,{children:i("location")}),(0,t.jsx)(y.TableHead,{children:i("status")}),(0,t.jsx)(y.TableHead,{children:i("resolution")})]})}),(0,t.jsxs)(y.TableBody,{children:[es.map(e=>{var l;let o=e.candidatePackage?.projectGroupRequired,c="IMPORT"===e.direction&&e.installation&&!e.installation.tracked;return(0,t.jsxs)(y.TableRow,{children:[(0,t.jsx)(y.TableCell,{children:(0,t.jsxs)(p.Badge,{className:"gap-1",variant:"CONFLICT"===e.direction?"destructive":"outline",children:["IMPORT"===(l=e.direction)?(0,t.jsx)(n.ArrowDownToLine,{}):"EXPORT"===l?(0,t.jsx)(s,{}):"DELETE_REDUNDANT"===l?(0,t.jsx)(d.Trash2,{}):"CONFLICT"===l?(0,t.jsx)(r.GitCompareArrows,{}):(0,t.jsx)(a.Check,{})," ",T(e.direction)]})}),(0,t.jsx)(y.TableCell,{className:"font-medium",children:e.skill?.name??e.installation?.skillName??"—"}),(0,t.jsx)(y.TableCell,{children:e.agent?.name??e.installation?.agent.name??"—"}),(0,t.jsx)(y.TableCell,{className:"max-w-md whitespace-normal font-mono text-xs",children:e.installation?.rootPath??i("newSharedLocation")}),(0,t.jsx)(y.TableCell,{children:(0,t.jsx)(p.Badge,{variant:"BLOCKED"===e.status?"destructive":"READY"===e.status||"COMPLETE"===e.status?"secondary":"outline",children:T(e.status)})}),(0,t.jsxs)(y.TableCell,{children:[o&&"BLOCKED"===e.status&&(0,t.jsxs)(w.Select,{onValueChange:t=>en(n=>({...n,[e.id]:t===N?"":t})),value:et[e.id]||N,children:[(0,t.jsx)(w.SelectTrigger,{className:"mb-1 w-full min-w-48",size:"sm",children:(0,t.jsx)(w.SelectValue,{placeholder:i("chooseGroup")})}),(0,t.jsxs)(w.SelectContent,{align:"start",children:[(0,t.jsx)(w.SelectItem,{value:N,children:i("chooseGroup")}),B.map(e=>(0,t.jsx)(w.SelectItem,{value:e.id,children:e.name},e.id))]})]}),"BLOCKED"===e.status?(0,t.jsxs)("div",{className:"flex flex-wrap gap-1",children:[e.skill&&(0,t.jsx)(h.Button,{disabled:K,onClick:()=>void em(e,"DATABASE"),size:"sm",variant:"outline",children:i("useDatabase")}),e.candidatePackage?.package&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.Button,{disabled:K||o&&!et[e.id],onClick:()=>void em(e,"TARGET"),size:"sm",variant:"outline",children:i("useTarget")}),(0,t.jsxs)(h.Button,{disabled:K,onClick:()=>void ex(e),size:"sm",variant:"outline",children:[(0,t.jsx)(r.GitCompareArrows,{})," ",i("compareAndResolve")]})]}),c&&(0,t.jsxs)(h.Button,{disabled:K,onClick:()=>void em(e,"DELETE"),size:"sm",variant:"destructive",children:[(0,t.jsx)(d.Trash2,{})," ",i("deleteClientCopy")]}),(0,t.jsx)(h.Button,{disabled:K,onClick:()=>void em(e,"SKIP"),size:"sm",variant:"outline",children:i("skip")})]}):c&&"READY"===e.status?(0,t.jsxs)(h.Button,{disabled:K,onClick:()=>void em(e,"DELETE"),size:"sm",variant:"destructive",children:[(0,t.jsx)(d.Trash2,{})," ",i("deleteClientCopy")]}):e.resolution?T(e.resolution):"—"]})]},e.id)}),!es.length&&(0,t.jsx)(y.TableRow,{children:(0,t.jsx)(y.TableCell,{className:"py-10 text-center text-muted-foreground",colSpan:6,children:"PREPARING"===D.status?i("scanningAgents"):i("noSyncChanges")})})]})]})})]}),(0,t.jsx)(g.Dialog,{onOpenChange:e=>{e||(F(null),G([]),Y([]))},open:!!W,children:(0,t.jsxs)(g.DialogContent,{className:"flex max-h-[92vh] flex-col overflow-hidden sm:max-w-6xl",children:[(0,t.jsxs)(g.DialogHeader,{className:"shrink-0",children:[(0,t.jsx)(g.DialogTitle,{children:i("manualResolution")}),(0,t.jsx)(g.DialogDescription,{children:i("manualResolutionDescription")})]}),(0,t.jsxs)("div",{className:"flex shrink-0 flex-wrap gap-2",children:[(0,t.jsxs)(h.Button,{disabled:!H.length||Z,onClick:()=>Y(H.map(e=>({...e}))),size:"sm",variant:"outline",children:[Z?(0,t.jsx)(b.Spinner,{}):(0,t.jsx)(n.ArrowDownToLine,{})," ",i("startFromDatabase")]}),(0,t.jsxs)(h.Button,{disabled:!el.length,onClick:()=>Y(el.map(e=>({...e}))),size:"sm",variant:"outline",children:[(0,t.jsx)(n.ArrowDownToLine,{})," ",i("startFromTarget")]}),(0,t.jsx)(h.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(k.Label,{className:"cursor-pointer",htmlFor:"manual-package-upload",children:i("addFiles")})}),(0,t.jsx)(j.Input,{className:"sr-only",id:"manual-package-upload",multiple:!0,onChange:e=>void eg(e.currentTarget.files),type:"file"})]}),(0,t.jsxs)("div",{className:"grid min-h-0 flex-1 gap-4 overflow-y-auto lg:grid-cols-[14rem_minmax(0,1fr)]",children:[(0,t.jsxs)("div",{className:"space-y-1 rounded-md border p-2",children:[(0,t.jsx)("p",{className:"px-2 py-1 text-xs font-medium text-muted-foreground",children:i("packageFiles")}),eo.map(e=>(0,t.jsx)("button",{className:`block w-full truncate rounded px-2 py-1.5 text-left font-mono text-xs ${e===V?"bg-accent text-accent-foreground":"hover:bg-muted"}`,onClick:()=>{J(e),X(e)},type:"button",children:e},e))]}),(0,t.jsxs)("div",{className:"min-w-0 space-y-4",children:[(0,t.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,t.jsxs)("div",{className:"min-w-0 space-y-2",children:[(0,t.jsx)(k.Label,{children:i("databaseVersion")}),Z?(0,t.jsx)(b.Spinner,{}):(0,t.jsx)(R,{binaryLabel:i("binaryPreview"),executableLabel:i("executable"),file:ed,missingLabel:i("missingFile")})]}),(0,t.jsxs)("div",{className:"min-w-0 space-y-2",children:[(0,t.jsx)(k.Label,{children:i("targetVersion")}),(0,t.jsx)(R,{binaryLabel:i("binaryPreview"),executableLabel:i("executable"),file:ec,missingLabel:i("missingFile")})]})]}),(0,t.jsxs)("div",{className:"space-y-3 rounded-md border p-3",children:[(0,t.jsx)(k.Label,{children:i("resultVersion")}),eu?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-end gap-2",children:[(0,t.jsxs)("div",{className:"min-w-64 flex-1 space-y-1",children:[(0,t.jsx)(k.Label,{htmlFor:"manual-file-path",children:i("filePath")}),(0,t.jsx)(j.Input,{id:"manual-file-path",onChange:e=>X(e.target.value),value:Q})]}),(0,t.jsx)(h.Button,{disabled:!Q.trim()||Q.trim()!==eu.path&&z.some(e=>e.path===Q.trim()),onClick:()=>{let e=Q.trim().replaceAll("\\","/");!eu||!e||e!==eu.path&&z.some(t=>t.path===e)||(Y(t=>t.map(t=>t.path===eu.path?{...t,path:e}:t)),J(e),X(e))},variant:"outline",children:i("rename")}),(0,t.jsxs)(k.Label,{className:"flex h-8 items-center gap-2 rounded-lg border px-3",children:[(0,t.jsx)(f.Checkbox,{checked:eu.executable,onCheckedChange:e=>Y(t=>t.map(t=>t.path===eu.path?{...t,executable:!0===e}:t))}),i("executable")]}),(0,t.jsxs)(h.Button,{disabled:"SKILL.md"===eu.path,onClick:()=>{Y(e=>e.filter(e=>e.path!==eu.path));let e=eo.find(e=>e!==eu.path);J(e??"SKILL.md"),X(e??"SKILL.md")},variant:"destructive",children:[(0,t.jsx)(d.Trash2,{})," ",i("removeFile")]})]}),null===L(eu)?(0,t.jsxs)("div",{className:"space-y-2 rounded-md bg-muted/30 p-3 text-sm text-muted-foreground",children:[(0,t.jsx)("p",{children:i("binaryFile")}),(0,t.jsxs)("p",{children:[A(eu.contentsBase64).byteLength.toLocaleString()," ","B"]})]}):(0,t.jsx)(S.Textarea,{className:"min-h-48 font-mono text-xs",onChange:e=>Y(t=>t.map(t=>t.path===eu.path?{...t,contentsBase64:function(e){let t=new TextEncoder().encode(e),n="";for(let e of t)n+=String.fromCharCode(e);return window.btoa(n)}(e.target.value)}:t)),value:L(eu)??""})]}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:i("missingResultFile")})]})]})]}),(0,t.jsx)(g.DialogFooter,{className:"shrink-0",children:(0,t.jsxs)(h.Button,{disabled:K||!z.some(e=>"SKILL.md"===e.path)||W?.candidatePackage?.projectGroupRequired===!0&&!et[W.id],onClick:()=>void ef(),children:[K&&(0,t.jsx)(b.Spinner,{})," ",i("useManualVersion")]})})]})})]})}],629864)}]);
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,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)},82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let n=(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,r.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,r.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,r.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...s}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,r.cn)(n({variant:a,className:e})),...s})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,r.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},340953,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(30030),n=e.i(820783),s=e.i(326999),i=e.i(981140),l=Object.defineProperty,o=(e,t)=>l(e,"name",{value:t,configurable:!0}),[d,c]=(0,r.createContextScope)("AlertDialog",[s.createDialogScope]),u=(0,s.createDialogScope)(),m=o(e=>{let{__scopeAlertDialog:a,...r}=e,n=u(a);return(0,t.jsx)(s.Root,{...n,...r,modal:!0})},"AlertDialog"),h=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...n}=e,i=u(r);return(0,t.jsx)(s.Trigger,{...i,...n,ref:a})},"AlertDialogTrigger")),p=o(e=>{let{__scopeAlertDialog:a,...r}=e,n=u(a);return(0,t.jsx)(s.Portal,{...n,...r})},"AlertDialogPortal"),g=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...n}=e,i=u(r);return(0,t.jsx)(s.Overlay,{...i,...n,ref:a})},"AlertDialogOverlay")),[x,f]=d("AlertDialogContent"),j=a.forwardRef(o(function(e,r){let{__scopeAlertDialog:l,children:o,...d}=e,c=u(l),m=a.useRef(null),h=(0,n.useComposedRefs)(r,m),p=a.useRef(null);return(0,t.jsx)(x,{scope:l,cancelRef:p,children:(0,t.jsx)(s.Content,{role:"alertdialog",...c,...d,ref:h,onOpenAutoFocus:(0,i.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:o})})},"AlertDialogContent")),v=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...n}=e,i=u(r);return(0,t.jsx)(s.Title,{...i,...n,ref:a})},"AlertDialogTitle")),y=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...n}=e,i=u(r);return(0,t.jsx)(s.Description,{...i,...n,ref:a})},"AlertDialogDescription")),A=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...n}=e,i=u(r);return(0,t.jsx)(s.Close,{...i,...n,ref:a})},"AlertDialogAction")),b=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...i}=e,{cancelRef:l}=f("AlertDialogCancel",r),o=u(r),d=(0,n.useComposedRefs)(a,l);return(0,t.jsx)(s.Close,{...o,...i,ref:d})},"AlertDialogCancel"));e.s(["Action",0,A,"AlertDialog",0,m,"AlertDialogAction",0,A,"AlertDialogCancel",0,b,"AlertDialogContent",0,j,"AlertDialogDescription",0,y,"AlertDialogOverlay",0,g,"AlertDialogPortal",0,p,"AlertDialogTitle",0,v,"AlertDialogTrigger",0,h,"Cancel",0,b,"Content",0,j,"Description",0,y,"Overlay",0,g,"Portal",0,p,"Root",0,m,"Title",0,v,"Trigger",0,h,"createAlertDialogScope",0,c],691162);var N=e.i(691162),N=N,C=e.i(975157),k=e.i(519455);function D({...e}){return(0,t.jsx)(N.Root,{"data-slot":"alert-dialog",...e})}function I({...e}){return(0,t.jsx)(N.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function E({...e}){return(0,t.jsx)(N.Portal,{"data-slot":"alert-dialog-portal",...e})}function w({className:e,...a}){return(0,t.jsx)(N.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),...a})}function S({className:e,size:a="default",...r}){return(0,t.jsxs)(E,{children:[(0,t.jsx)(w,{}),(0,t.jsx)(N.Content,{"data-slot":"alert-dialog-content","data-size":a,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),...r})]})}function R({className:e,...a}){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),...a})}function M({className:e,...a}){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),...a})}function T({className:e,...a}){return(0,t.jsx)(N.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),...a})}function O({className:e,...a}){return(0,t.jsx)(N.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),...a})}function _({className:e,variant:a="default",size:r="default",...n}){return(0,t.jsx)(k.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(N.Action,{"data-slot":"alert-dialog-action",className:(0,C.cn)(e),...n})})}function L({className:e,variant:a="outline",size:r="default",...n}){return(0,t.jsx)(k.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(N.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,C.cn)(e),...n})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:r,onConfirm:n,onOpenChange:s,open:i,title:l,trigger:o}){return(0,t.jsxs)(D,{onOpenChange:s,open:i,children:[o&&(0,t.jsx)(I,{asChild:!0,children:o}),(0,t.jsxs)(S,{children:[(0,t.jsxs)(R,{children:[(0,t.jsx)(T,{children:l}),(0,t.jsx)(O,{children:r})]}),(0,t.jsxs)(M,{children:[(0,t.jsx)(L,{children:a}),(0,t.jsx)(_,{onClick:()=>void n(),variant:"destructive",children:e})]})]})]})}],340953)},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),r=e.i(456420);let n=(0,r.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 s=e.i(876561);let i=(0,r.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,r.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,r.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,r.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 m=(0,r.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,r.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 p=e.i(21357);let g=(0,r.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),j=e.i(328623),v=e.i(604139);let y=(0,r.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 A=e.i(747925);let b={apple:a.Apple,"app-window":n,archive:s.Archive,beaker:i,box:l,bug:o,code:d.Code2,gauge:c,hammer:u.Hammer,layers:m,package:h,play:p.Play,rocket:g,shield:x.ShieldCheck,smartphone:f.Smartphone,sparkles:j.Sparkles,terminal:v.Terminal,"test-tube":y,wrench:A.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let a=b[e];return a?(0,t.jsx)(a,{"aria-hidden":!0,className:"size-4"}):null}],687862)},489002,e=>{"use strict";let t=(0,e.i(456420).default)("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);e.s(["CircleStop",0,t],489002)},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"])},183691,e=>{"use strict";let t=`
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let n=(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,r.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,r.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,r.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...s}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,r.cn)(n({variant:a,className:e})),...s})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,r.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},340953,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(30030),n=e.i(820783),s=e.i(326999),i=e.i(981140),l=Object.defineProperty,o=(e,t)=>l(e,"name",{value:t,configurable:!0}),[d,c]=(0,r.createContextScope)("AlertDialog",[s.createDialogScope]),u=(0,s.createDialogScope)(),m=o(e=>{let{__scopeAlertDialog:a,...r}=e,n=u(a);return(0,t.jsx)(s.Root,{...n,...r,modal:!0})},"AlertDialog"),h=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...n}=e,i=u(r);return(0,t.jsx)(s.Trigger,{...i,...n,ref:a})},"AlertDialogTrigger")),p=o(e=>{let{__scopeAlertDialog:a,...r}=e,n=u(a);return(0,t.jsx)(s.Portal,{...n,...r})},"AlertDialogPortal"),g=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...n}=e,i=u(r);return(0,t.jsx)(s.Overlay,{...i,...n,ref:a})},"AlertDialogOverlay")),[x,f]=d("AlertDialogContent"),j=a.forwardRef(o(function(e,r){let{__scopeAlertDialog:l,children:o,...d}=e,c=u(l),m=a.useRef(null),h=(0,n.useComposedRefs)(r,m),p=a.useRef(null);return(0,t.jsx)(x,{scope:l,cancelRef:p,children:(0,t.jsx)(s.Content,{role:"alertdialog",...c,...d,ref:h,onOpenAutoFocus:(0,i.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:o})})},"AlertDialogContent")),v=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...n}=e,i=u(r);return(0,t.jsx)(s.Title,{...i,...n,ref:a})},"AlertDialogTitle")),y=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...n}=e,i=u(r);return(0,t.jsx)(s.Description,{...i,...n,ref:a})},"AlertDialogDescription")),A=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...n}=e,i=u(r);return(0,t.jsx)(s.Close,{...i,...n,ref:a})},"AlertDialogAction")),b=a.forwardRef(o(function(e,a){let{__scopeAlertDialog:r,...i}=e,{cancelRef:l}=f("AlertDialogCancel",r),o=u(r),d=(0,n.useComposedRefs)(a,l);return(0,t.jsx)(s.Close,{...o,...i,ref:d})},"AlertDialogCancel"));e.s(["Action",0,A,"AlertDialog",0,m,"AlertDialogAction",0,A,"AlertDialogCancel",0,b,"AlertDialogContent",0,j,"AlertDialogDescription",0,y,"AlertDialogOverlay",0,g,"AlertDialogPortal",0,p,"AlertDialogTitle",0,v,"AlertDialogTrigger",0,h,"Cancel",0,b,"Content",0,j,"Description",0,y,"Overlay",0,g,"Portal",0,p,"Root",0,m,"Title",0,v,"Trigger",0,h,"createAlertDialogScope",0,c],691162);var N=e.i(691162),N=N,C=e.i(975157),k=e.i(519455);function D({...e}){return(0,t.jsx)(N.Root,{"data-slot":"alert-dialog",...e})}function I({...e}){return(0,t.jsx)(N.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function E({...e}){return(0,t.jsx)(N.Portal,{"data-slot":"alert-dialog-portal",...e})}function w({className:e,...a}){return(0,t.jsx)(N.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),...a})}function S({className:e,size:a="default",...r}){return(0,t.jsxs)(E,{children:[(0,t.jsx)(w,{}),(0,t.jsx)(N.Content,{"data-slot":"alert-dialog-content","data-size":a,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),...r})]})}function R({className:e,...a}){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),...a})}function M({className:e,...a}){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),...a})}function T({className:e,...a}){return(0,t.jsx)(N.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),...a})}function O({className:e,...a}){return(0,t.jsx)(N.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),...a})}function _({className:e,variant:a="default",size:r="default",...n}){return(0,t.jsx)(k.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(N.Action,{"data-slot":"alert-dialog-action",className:(0,C.cn)(e),...n})})}function L({className:e,variant:a="outline",size:r="default",...n}){return(0,t.jsx)(k.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(N.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,C.cn)(e),...n})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:r,onConfirm:n,onOpenChange:s,open:i,title:l,trigger:o}){return(0,t.jsxs)(D,{onOpenChange:s,open:i,children:[o&&(0,t.jsx)(I,{asChild:!0,children:o}),(0,t.jsxs)(S,{children:[(0,t.jsxs)(R,{children:[(0,t.jsx)(T,{children:l}),(0,t.jsx)(O,{children:r})]}),(0,t.jsxs)(M,{children:[(0,t.jsx)(L,{children:a}),(0,t.jsx)(_,{onClick:()=>void n(),variant:"destructive",children:e})]})]})]})}],340953)},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),r=e.i(456420);let n=(0,r.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 s=e.i(876561);let i=(0,r.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,r.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,r.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,r.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 m=(0,r.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,r.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 p=e.i(21357);let g=(0,r.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),j=e.i(328623),v=e.i(604139);let y=(0,r.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 A=e.i(747925);let b={apple:a.Apple,"app-window":n,archive:s.Archive,beaker:i,box:l,bug:o,code:d.Code2,gauge:c,hammer:u.Hammer,layers:m,package:h,play:p.Play,rocket:g,shield:x.ShieldCheck,smartphone:f.Smartphone,sparkles:j.Sparkles,terminal:v.Terminal,"test-tube":y,wrench:A.Wrench};e.s(["ConfigurationIcon",0,function({iconKey:e}){if(!e)return null;let a=b[e];return a?(0,t.jsx)(a,{"aria-hidden":!0,className:"size-4"}):null}],687862)},489002,e=>{"use strict";let t=(0,e.i(456420).default)("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);e.s(["CircleStop",0,t],489002)},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"])},183691,e=>{"use strict";let t=`
2
2
  id name description script targetKind targetAgentId targetRepositoryId
3
3
  restartPolicy restartLimit quickActionEnabled quickActionIconKey quickActionButtonVariant
4
4
  notificationsEnabled
@@ -20,4 +20,4 @@
20
20
  browseAgentDirectory(input: $input) {
21
21
  path parentPath homePath truncated entries { name path hidden }
22
22
  }
23
- }`,{input:{agentId:e,path:t,requestId:(0,p.createClientId)()}});if(a!==M.current)return;k(r.browseAgentDirectory),j?.(r.browseAgentDirectory.path),R(null)}catch(e){if(a!==M.current)return;R(e instanceof Error?e.message:String(e))}finally{a===M.current&&w(!1)}},[e,j]);if((0,o.useEffect)(()=>{if(!f)return;let e=window.setTimeout(()=>void T(f),0);return()=>window.clearTimeout(e)},[T,f]),(0,o.useEffect)(()=>()=>{M.current+=1},[]),!C)return(0,t.jsxs)("div",{className:"space-y-3",children:[S&&(0,t.jsx)(d.Alert,{variant:"destructive",children:(0,t.jsx)(d.AlertDescription,{children:S})}),(0,t.jsxs)(c.Button,{disabled:E||x,onClick:()=>void T(null),type:"button",variant:"outline",children:[E?(0,t.jsx)(h.Spinner,{}):(0,t.jsx)(n,{})," ",r??N("browseHome")]})]});let O="/"===(b=C.path)?[{label:"/",path:"/"}]:[{label:"/",path:"/"},...b.split("/").filter(Boolean).map((e,t,a)=>({label:e,path:`/${a.slice(0,t+1).join("/")}`}))];return(0,t.jsxs)("div",{className:"space-y-3 rounded-lg border p-3",children:[S&&(0,t.jsx)(d.Alert,{variant:"destructive",children:(0,t.jsx)(d.AlertDescription,{children:S})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-1",children:[(0,t.jsx)(c.Button,{"aria-label":N("home"),disabled:E||x,onClick:()=>void T(C.homePath),size:"icon-sm",type:"button",variant:"ghost",children:(0,t.jsx)(i,{})}),O.map((e,r)=>(0,t.jsxs)("span",{className:"flex items-center",children:[r>0&&(0,t.jsx)(a.ChevronRight,{className:"size-3 text-muted-foreground"}),(0,t.jsx)(c.Button,{disabled:E||x,onClick:()=>void T(e.path),size:"sm",type:"button",variant:"ghost",children:e.label})]},e.path))]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(u.Checkbox,{checked:D,id:`show-hidden-${e}`,onCheckedChange:e=>I(!!e)}),(0,t.jsx)(m.Label,{htmlFor:`show-hidden-${e}`,children:N("showHidden")})]}),(0,t.jsx)("div",{className:"max-h-64 overflow-y-auto rounded-md border",children:C.entries.filter(e=>D||!e.hidden).map(e=>(0,t.jsxs)(c.Button,{className:"h-auto w-full justify-start rounded-none border-b px-3 py-2 last:border-0",disabled:E||x,onClick:()=>void T(e.path),size:"sm",type:"button",variant:"ghost",children:[(0,t.jsx)(n,{className:"size-4"})," ",e.name]},e.path))}),C.truncated&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:N("truncated")}),v&&A&&(0,t.jsxs)(c.Button,{disabled:E||x,onClick:()=>void v(C.path),type:"button",children:[x?(0,t.jsx)(h.Spinner,{}):y??(0,t.jsx)(s,{})," ",A]})]})}],874801)},997695,e=>{"use strict";var t=e.i(843476),a=e.i(489002),r=e.i(948148),n=e.i(271645),s=e.i(929592),i=e.i(519455),l=e.i(515288),o=e.i(987968),d=e.i(520133),c=e.i(637611),u=e.i(975157),m=e.i(778434),h=e.i(675926);e.s(["JobMonitor",0,function({jobId:e,compact:p=!1}){let g=(0,r.useTranslations)("jobs"),[x,f]=(0,n.useState)(null),[j,v]=(0,n.useState)([]),[y,A]=(0,n.useState)(!0),[b,N]=(0,n.useState)(null),C=(0,n.useRef)(null),k=(0,n.useRef)(!0),D=(0,n.useCallback)(async()=>{try{let t=await (0,c.controlPlaneRequest)(`query Job($id: ID!) { agentJob(id: $id) { ${m.JOB_FIELDS} } agentJobLogs(jobId: $id) { ${m.JOB_LOG_FIELDS} } }`,{id:e});f(t.agentJob),v(t.agentJobLogs),N(null)}catch(e){N(e instanceof Error?e.message:String(e))}finally{A(!1)}},[e]);(0,n.useEffect)(()=>{let t=window.setTimeout(()=>void D(),0),a=(0,c.controlPlaneSubscriptions)(),r=a.subscribe({query:`subscription JobChanged($jobId: ID!) { agentJobChanged(jobId: $jobId) { ${m.JOB_FIELDS} } }`,variables:{jobId:e}},{next:e=>e.data?.agentJobChanged&&f(e.data.agentJobChanged),error:()=>void 0,complete:()=>void 0}),n=a.subscribe({query:`subscription JobLog($jobId: ID!) { agentJobLogAdded(jobId: $jobId) { ${m.JOB_LOG_FIELDS} } }`,variables:{jobId:e}},{next:e=>{let t=e.data?.agentJobLogAdded;t&&v(e=>e.some(e=>e.sequence===t.sequence)?e:[...e,t].sort((e,t)=>e.sequence-t.sequence))},error:()=>void 0,complete:()=>void 0});return()=>{r(),n(),window.clearTimeout(t)}},[e,D]),(0,n.useEffect)(()=>{k.current&&C.current?.scrollTo({top:C.current.scrollHeight})},[j]);let I=async()=>{try{let t=await (0,c.controlPlaneRequest)(`mutation Cancel($jobId: ID!) { cancelAgentJob(jobId: $jobId) { ${m.JOB_FIELDS} } }`,{jobId:e});f(t.cancelAgentJob),N(null)}catch(e){N(e instanceof Error?e.message:String(e))}};return b?(0,t.jsx)(s.Alert,{variant:"destructive",children:(0,t.jsx)(s.AlertDescription,{children:b})}):y?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(o.Spinner,{}),g("loading")]}):x?(0,t.jsx)(l.Card,{className:(0,u.cn)(p?"[--card-spacing:--spacing(4)]":void 0),children:(0,t.jsxs)(l.CardContent,{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("h2",{className:"font-medium",children:x.kind}),(0,t.jsx)(h.StatusBadge,{status:x.status})]}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:x.id})]}),(0,t.jsxs)("div",{className:"flex gap-2",children:[p&&(0,t.jsx)(i.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(d.Link,{href:`/jobs/${x.id}`,children:g("open")})}),("QUEUED"===x.status||"RUNNING"===x.status)&&(0,t.jsxs)(i.Button,{onClick:()=>void I(),size:"sm",variant:"destructive",children:[(0,t.jsx)(a.CircleStop,{}),g("cancel")]})]})]}),x.error&&(0,t.jsx)(s.Alert,{className:"mt-3",variant:"destructive",children:(0,t.jsx)(s.AlertDescription,{children:x.error})}),(0,t.jsx)("div",{ref:C,className:(0,u.cn)("mt-4 overflow-auto rounded-lg border bg-zinc-950 p-3 font-mono text-xs leading-5 text-zinc-100",p?"h-80":"h-[32rem]"),onScroll:e=>{let t=e.currentTarget;k.current=t.scrollHeight-t.scrollTop-t.clientHeight<24},children:0===j.length?(0,t.jsx)("span",{className:"text-zinc-500",children:g("waiting")}):j.map(e=>(0,t.jsxs)("div",{className:(0,u.cn)("whitespace-pre-wrap break-all","STDERR"===e.stream&&"text-amber-300","SYSTEM"===e.stream&&"text-sky-300"),children:[(0,t.jsx)("span",{className:"mr-2 select-none text-zinc-600",children:String(e.sequence).padStart(4,"0")}),e.message]},e.id))})]})}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:g("notFound")})}])}]);
23
+ }`,{input:{agentId:e,path:t,requestId:(0,p.createClientId)()}});if(a!==M.current)return;k(r.browseAgentDirectory),j?.(r.browseAgentDirectory.path),R(null)}catch(e){if(a!==M.current)return;R(e instanceof Error?e.message:String(e))}finally{a===M.current&&w(!1)}},[e,j]);if((0,o.useEffect)(()=>{if(!f)return;let e=window.setTimeout(()=>void T(f),0);return()=>window.clearTimeout(e)},[T,f]),(0,o.useEffect)(()=>()=>{M.current+=1},[]),!C)return(0,t.jsxs)("div",{className:"space-y-3",children:[S&&(0,t.jsx)(d.Alert,{variant:"destructive",children:(0,t.jsx)(d.AlertDescription,{children:S})}),(0,t.jsxs)(c.Button,{disabled:E||x,onClick:()=>void T(null),type:"button",variant:"outline",children:[E?(0,t.jsx)(h.Spinner,{}):(0,t.jsx)(n,{})," ",r??N("browseHome")]})]});let O="/"===(b=C.path)?[{label:"/",path:"/"}]:[{label:"/",path:"/"},...b.split("/").filter(Boolean).map((e,t,a)=>({label:e,path:`/${a.slice(0,t+1).join("/")}`}))];return(0,t.jsxs)("div",{className:"space-y-3 rounded-lg border p-3",children:[S&&(0,t.jsx)(d.Alert,{variant:"destructive",children:(0,t.jsx)(d.AlertDescription,{children:S})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-1",children:[(0,t.jsx)(c.Button,{"aria-label":N("home"),disabled:E||x,onClick:()=>void T(C.homePath),size:"icon-sm",type:"button",variant:"ghost",children:(0,t.jsx)(i,{})}),O.map((e,r)=>(0,t.jsxs)("span",{className:"flex items-center",children:[r>0&&(0,t.jsx)(a.ChevronRight,{className:"size-3 text-muted-foreground"}),(0,t.jsx)(c.Button,{disabled:E||x,onClick:()=>void T(e.path),size:"sm",type:"button",variant:"ghost",children:e.label})]},e.path))]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(u.Checkbox,{checked:D,id:`show-hidden-${e}`,onCheckedChange:e=>I(!!e)}),(0,t.jsx)(m.Label,{htmlFor:`show-hidden-${e}`,children:N("showHidden")})]}),(0,t.jsx)("div",{className:"max-h-64 overflow-y-auto rounded-md border",children:C.entries.filter(e=>D||!e.hidden).map(e=>(0,t.jsxs)(c.Button,{className:"h-auto w-full justify-start rounded-none border-b px-3 py-2 last:border-0",disabled:E||x,onClick:()=>void T(e.path),size:"sm",type:"button",variant:"ghost",children:[(0,t.jsx)(n,{className:"size-4"})," ",e.name]},e.path))}),C.truncated&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:N("truncated")}),v&&A&&(0,t.jsxs)(c.Button,{disabled:E||x,onClick:()=>void v(C.path),type:"button",children:[x?(0,t.jsx)(h.Spinner,{}):y??(0,t.jsx)(s,{})," ",A]})]})}],874801)},997695,e=>{"use strict";var t=e.i(843476),a=e.i(489002),r=e.i(948148),n=e.i(271645),s=e.i(929592),i=e.i(519455),l=e.i(515288),o=e.i(987968),d=e.i(520133),c=e.i(637611),u=e.i(975157),m=e.i(778434),h=e.i(675926);e.s(["JobMonitor",0,function({jobId:e,compact:p=!1}){let g=(0,r.useTranslations)("jobs"),[x,f]=(0,n.useState)(null),[j,v]=(0,n.useState)([]),[y,A]=(0,n.useState)(!0),[b,N]=(0,n.useState)(null),C=(0,n.useRef)(null),k=(0,n.useRef)(!0),D=(0,n.useCallback)(async()=>{try{let t=await (0,c.controlPlaneRequest)(`query Job($id: ID!) { agentJob(id: $id) { ${m.JOB_FIELDS} } agentJobLogs(jobId: $id) { ${m.JOB_LOG_FIELDS} } }`,{id:e});f(t.agentJob),v(t.agentJobLogs),N(null)}catch(e){N(e instanceof Error?e.message:String(e))}finally{A(!1)}},[e]);(0,n.useEffect)(()=>{let t=window.setTimeout(()=>void D(),0),a=(0,c.controlPlaneSubscriptions)(),r=a.subscribe({query:`subscription JobChanged($jobId: ID!) { agentJobChanged(jobId: $jobId) { ${m.JOB_FIELDS} } }`,variables:{jobId:e}},{next:e=>e.data?.agentJobChanged&&f(e.data.agentJobChanged),error:()=>void 0,complete:()=>void 0}),n=a.subscribe({query:`subscription JobLog($jobId: ID!) { agentJobLogAdded(jobId: $jobId) { ${m.JOB_LOG_FIELDS} } }`,variables:{jobId:e}},{next:e=>{let t=e.data?.agentJobLogAdded;t&&v(e=>e.some(e=>e.sequence===t.sequence)?e:[...e,t].sort((e,t)=>e.sequence-t.sequence))},error:()=>void 0,complete:()=>void 0});return()=>{r(),n(),window.clearTimeout(t)}},[e,D]),(0,n.useEffect)(()=>{k.current&&C.current?.scrollTo({top:C.current.scrollHeight})},[j]);let I=async()=>{try{let t=await (0,c.controlPlaneRequest)(`mutation Cancel($jobId: ID!) { cancelAgentJob(jobId: $jobId) { ${m.JOB_FIELDS} } }`,{jobId:e});f(t.cancelAgentJob),N(null)}catch(e){N(e instanceof Error?e.message:String(e))}};if(b)return(0,t.jsx)(s.Alert,{variant:"destructive",children:(0,t.jsx)(s.AlertDescription,{children:b})});if(y)return(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(o.Spinner,{}),g("loading")]});if(!x)return(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:g("notFound")});let E=(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[p?(0,t.jsx)("h2",{className:"font-medium",children:x.kind}):(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:x.kind}),(0,t.jsx)(h.StatusBadge,{status:x.status})]}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:x.id})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[p&&(0,t.jsx)(i.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(d.Link,{href:`/jobs/${x.id}`,children:g("open")})}),("QUEUED"===x.status||"RUNNING"===x.status)&&(0,t.jsxs)(i.Button,{onClick:()=>void I(),size:p?"sm":"default",variant:"destructive",children:[(0,t.jsx)(a.CircleStop,{}),g("cancel")]})]})]}),w=(0,t.jsxs)(t.Fragment,{children:[x.error&&(0,t.jsx)(s.Alert,{variant:"destructive",children:(0,t.jsx)(s.AlertDescription,{children:x.error})}),(0,t.jsx)("div",{ref:C,className:(0,u.cn)("overflow-auto rounded-lg border bg-zinc-950 p-3 font-mono text-xs leading-5 text-zinc-100",p?"h-80":"h-[32rem]"),onScroll:e=>{let t=e.currentTarget;k.current=t.scrollHeight-t.scrollTop-t.clientHeight<24},children:0===j.length?(0,t.jsx)("span",{className:"text-zinc-500",children:g("waiting")}):j.map(e=>(0,t.jsxs)("div",{className:(0,u.cn)("whitespace-pre-wrap break-all","STDERR"===e.stream&&"text-amber-300","SYSTEM"===e.stream&&"text-sky-300"),children:[(0,t.jsx)("span",{className:"mr-2 select-none text-zinc-600",children:String(e.sequence).padStart(4,"0")}),e.message]},e.id))})]});return p?(0,t.jsx)(l.Card,{className:"[--card-spacing:--spacing(4)]",children:(0,t.jsxs)(l.CardContent,{className:"space-y-3",children:[E,w]})}):(0,t.jsxs)("div",{className:"flex w-full flex-col gap-6",children:[E,(0,t.jsx)(l.Card,{children:(0,t.jsx)(l.CardContent,{className:"space-y-3",children:w})})]})}])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,489002,e=>{"use strict";let t=(0,e.i(456420).default)("circle-stop",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]]);e.s(["CircleStop",0,t],489002)},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"])},675926,e=>{"use strict";var t=e.i(843476),s=e.i(948148),r=e.i(487486),a=e.i(975157);e.s(["StatusBadge",0,function({status:e}){let i=(0,s.useTranslations)("status"),n="ONLINE"===e||"RUNNING"===e||"SUCCEEDED"===e,c="FAILED"===e||"TIMED_OUT"===e;return(0,t.jsx)(r.Badge,{className:(0,a.cn)(n&&"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",c&&"border-destructive/30 bg-destructive/10 text-destructive"),variant:n||c?"outline":"secondary",children:i(e.toLowerCase())})}])},997695,e=>{"use strict";var t=e.i(843476),s=e.i(489002),r=e.i(948148),a=e.i(271645),i=e.i(929592),n=e.i(519455),c=e.i(515288),o=e.i(987968),l=e.i(520133),d=e.i(637611),u=e.i(975157),m=e.i(778434),x=e.i(675926);e.s(["JobMonitor",0,function({jobId:e,compact:g=!1}){let h=(0,r.useTranslations)("jobs"),[b,p]=(0,a.useState)(null),[j,f]=(0,a.useState)([]),[v,S]=(0,a.useState)(!0),[y,I]=(0,a.useState)(null),D=(0,a.useRef)(null),N=(0,a.useRef)(!0),E=(0,a.useCallback)(async()=>{try{let t=await (0,d.controlPlaneRequest)(`query Job($id: ID!) { agentJob(id: $id) { ${m.JOB_FIELDS} } agentJobLogs(jobId: $id) { ${m.JOB_LOG_FIELDS} } }`,{id:e});p(t.agentJob),f(t.agentJobLogs),I(null)}catch(e){I(e instanceof Error?e.message:String(e))}finally{S(!1)}},[e]);(0,a.useEffect)(()=>{let t=window.setTimeout(()=>void E(),0),s=(0,d.controlPlaneSubscriptions)(),r=s.subscribe({query:`subscription JobChanged($jobId: ID!) { agentJobChanged(jobId: $jobId) { ${m.JOB_FIELDS} } }`,variables:{jobId:e}},{next:e=>e.data?.agentJobChanged&&p(e.data.agentJobChanged),error:()=>void 0,complete:()=>void 0}),a=s.subscribe({query:`subscription JobLog($jobId: ID!) { agentJobLogAdded(jobId: $jobId) { ${m.JOB_LOG_FIELDS} } }`,variables:{jobId:e}},{next:e=>{let t=e.data?.agentJobLogAdded;t&&f(e=>e.some(e=>e.sequence===t.sequence)?e:[...e,t].sort((e,t)=>e.sequence-t.sequence))},error:()=>void 0,complete:()=>void 0});return()=>{r(),a(),window.clearTimeout(t)}},[e,E]),(0,a.useEffect)(()=>{N.current&&D.current?.scrollTo({top:D.current.scrollHeight})},[j]);let J=async()=>{try{let t=await (0,d.controlPlaneRequest)(`mutation Cancel($jobId: ID!) { cancelAgentJob(jobId: $jobId) { ${m.JOB_FIELDS} } }`,{jobId:e});p(t.cancelAgentJob),I(null)}catch(e){I(e instanceof Error?e.message:String(e))}};if(y)return(0,t.jsx)(i.Alert,{variant:"destructive",children:(0,t.jsx)(i.AlertDescription,{children:y})});if(v)return(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(o.Spinner,{}),h("loading")]});if(!b)return(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:h("notFound")});let A=(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[g?(0,t.jsx)("h2",{className:"font-medium",children:b.kind}):(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:b.kind}),(0,t.jsx)(x.StatusBadge,{status:b.status})]}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:b.id})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[g&&(0,t.jsx)(n.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(l.Link,{href:`/jobs/${b.id}`,children:h("open")})}),("QUEUED"===b.status||"RUNNING"===b.status)&&(0,t.jsxs)(n.Button,{onClick:()=>void J(),size:g?"sm":"default",variant:"destructive",children:[(0,t.jsx)(s.CircleStop,{}),h("cancel")]})]})]}),C=(0,t.jsxs)(t.Fragment,{children:[b.error&&(0,t.jsx)(i.Alert,{variant:"destructive",children:(0,t.jsx)(i.AlertDescription,{children:b.error})}),(0,t.jsx)("div",{ref:D,className:(0,u.cn)("overflow-auto rounded-lg border bg-zinc-950 p-3 font-mono text-xs leading-5 text-zinc-100",g?"h-80":"h-[32rem]"),onScroll:e=>{let t=e.currentTarget;N.current=t.scrollHeight-t.scrollTop-t.clientHeight<24},children:0===j.length?(0,t.jsx)("span",{className:"text-zinc-500",children:h("waiting")}):j.map(e=>(0,t.jsxs)("div",{className:(0,u.cn)("whitespace-pre-wrap break-all","STDERR"===e.stream&&"text-amber-300","SYSTEM"===e.stream&&"text-sky-300"),children:[(0,t.jsx)("span",{className:"mr-2 select-none text-zinc-600",children:String(e.sequence).padStart(4,"0")}),e.message]},e.id))})]});return g?(0,t.jsx)(c.Card,{className:"[--card-spacing:--spacing(4)]",children:(0,t.jsxs)(c.CardContent,{className:"space-y-3",children:[A,C]})}):(0,t.jsxs)("div",{className:"flex w-full flex-col gap-6",children:[A,(0,t.jsx)(c.Card,{children:(0,t.jsx)(c.CardContent,{className:"space-y-3",children:C})})]})}])}]);