commandmate 0.48.0 → 0.49.1

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 (780) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +292 -285
  3. package/.next/app-path-routes-manifest.json +35 -34
  4. package/.next/build-manifest.json +2 -2
  5. package/.next/prerender-manifest.json +9 -9
  6. package/.next/required-server-files.json +1 -1
  7. package/.next/routes-manifest.json +8 -0
  8. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  9. package/.next/server/app/api/agents/update/route_client-reference-manifest.js +1 -1
  10. package/.next/server/app/api/agents/versions/route_client-reference-manifest.js +1 -1
  11. package/.next/server/app/api/app/release-notes/route_client-reference-manifest.js +1 -1
  12. package/.next/server/app/api/app/update/route_client-reference-manifest.js +1 -1
  13. package/.next/server/app/api/app/update-check/route_client-reference-manifest.js +1 -1
  14. package/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
  15. package/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  16. package/.next/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
  17. package/.next/server/app/api/capabilities/route.js +1 -1
  18. package/.next/server/app/api/capabilities/route_client-reference-manifest.js +1 -1
  19. package/.next/server/app/api/daily-summary/route_client-reference-manifest.js +1 -1
  20. package/.next/server/app/api/daily-summary/status/route_client-reference-manifest.js +1 -1
  21. package/.next/server/app/api/external-apps/[id]/health/route_client-reference-manifest.js +1 -1
  22. package/.next/server/app/api/external-apps/[id]/route_client-reference-manifest.js +1 -1
  23. package/.next/server/app/api/external-apps/route_client-reference-manifest.js +1 -1
  24. package/.next/server/app/api/fs/browse/route_client-reference-manifest.js +1 -1
  25. package/.next/server/app/api/fs/recent-paths/route_client-reference-manifest.js +1 -1
  26. package/.next/server/app/api/hooks/agent-event/route.js +2 -2
  27. package/.next/server/app/api/hooks/agent-event/route.js.nft.json +1 -1
  28. package/.next/server/app/api/hooks/agent-event/route_client-reference-manifest.js +1 -1
  29. package/.next/server/app/api/hooks/claude-done/route.js +2 -2
  30. package/.next/server/app/api/hooks/claude-done/route.js.nft.json +1 -1
  31. package/.next/server/app/api/hooks/claude-done/route_client-reference-manifest.js +1 -1
  32. package/.next/server/app/api/hooks/permission-request/route.js +1 -1
  33. package/.next/server/app/api/hooks/permission-request/route.js.nft.json +1 -1
  34. package/.next/server/app/api/hooks/permission-request/route_client-reference-manifest.js +1 -1
  35. package/.next/server/app/api/metrics/vibe/route_client-reference-manifest.js +1 -1
  36. package/.next/server/app/api/ollama/models/route_client-reference-manifest.js +1 -1
  37. package/.next/server/app/api/push/escalation/route.js +1 -1
  38. package/.next/server/app/api/push/escalation/route_client-reference-manifest.js +1 -1
  39. package/.next/server/app/api/push/subscriptions/route.js +1 -1
  40. package/.next/server/app/api/push/subscriptions/route_client-reference-manifest.js +1 -1
  41. package/.next/server/app/api/push/vapid/route.js +1 -1
  42. package/.next/server/app/api/push/vapid/route_client-reference-manifest.js +1 -1
  43. package/.next/server/app/api/relays/[relayId]/cancel/route.js +1 -1
  44. package/.next/server/app/api/relays/[relayId]/cancel/route.js.nft.json +1 -1
  45. package/.next/server/app/api/relays/[relayId]/cancel/route_client-reference-manifest.js +1 -1
  46. package/.next/server/app/api/relays/[relayId]/route.js +1 -0
  47. package/.next/server/app/api/relays/[relayId]/route.js.nft.json +1 -0
  48. package/.next/server/app/api/relays/[relayId]/route_client-reference-manifest.js +1 -0
  49. package/.next/server/app/api/relays/route.js +1 -1
  50. package/.next/server/app/api/relays/route.js.nft.json +1 -1
  51. package/.next/server/app/api/relays/route_client-reference-manifest.js +1 -1
  52. package/.next/server/app/api/remote/pair/route_client-reference-manifest.js +1 -1
  53. package/.next/server/app/api/repositories/[id]/route_client-reference-manifest.js +1 -1
  54. package/.next/server/app/api/repositories/clone/[jobId]/route.js +1 -1
  55. package/.next/server/app/api/repositories/clone/[jobId]/route.js.nft.json +1 -1
  56. package/.next/server/app/api/repositories/clone/[jobId]/route_client-reference-manifest.js +1 -1
  57. package/.next/server/app/api/repositories/clone/route.js +1 -1
  58. package/.next/server/app/api/repositories/clone/route.js.nft.json +1 -1
  59. package/.next/server/app/api/repositories/clone/route_client-reference-manifest.js +1 -1
  60. package/.next/server/app/api/repositories/excluded/route_client-reference-manifest.js +1 -1
  61. package/.next/server/app/api/repositories/restore/route.js +1 -1
  62. package/.next/server/app/api/repositories/restore/route.js.nft.json +1 -1
  63. package/.next/server/app/api/repositories/restore/route_client-reference-manifest.js +1 -1
  64. package/.next/server/app/api/repositories/route.js +1 -1
  65. package/.next/server/app/api/repositories/route.js.nft.json +1 -1
  66. package/.next/server/app/api/repositories/route_client-reference-manifest.js +1 -1
  67. package/.next/server/app/api/repositories/scan/route.js +1 -1
  68. package/.next/server/app/api/repositories/scan/route.js.nft.json +1 -1
  69. package/.next/server/app/api/repositories/scan/route_client-reference-manifest.js +1 -1
  70. package/.next/server/app/api/repositories/sync/route.js +1 -1
  71. package/.next/server/app/api/repositories/sync/route.js.nft.json +1 -1
  72. package/.next/server/app/api/repositories/sync/route_client-reference-manifest.js +1 -1
  73. package/.next/server/app/api/repositories/validate-path/route_client-reference-manifest.js +1 -1
  74. package/.next/server/app/api/settings/default-agents/route.js +1 -1
  75. package/.next/server/app/api/settings/default-agents/route.js.nft.json +1 -1
  76. package/.next/server/app/api/settings/default-agents/route_client-reference-manifest.js +1 -1
  77. package/.next/server/app/api/settings/default-surface-mode/route_client-reference-manifest.js +1 -1
  78. package/.next/server/app/api/sidebar/group-order/route_client-reference-manifest.js +1 -1
  79. package/.next/server/app/api/skills/[id]/route_client-reference-manifest.js +1 -1
  80. package/.next/server/app/api/skills/installations/route_client-reference-manifest.js +1 -1
  81. package/.next/server/app/api/skills/operations/route_client-reference-manifest.js +1 -1
  82. package/.next/server/app/api/skills/reindex/route_client-reference-manifest.js +1 -1
  83. package/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  84. package/.next/server/app/api/slash-commands/route_client-reference-manifest.js +1 -1
  85. package/.next/server/app/api/tasks/[taskId]/cancel/route_client-reference-manifest.js +1 -1
  86. package/.next/server/app/api/tasks/[taskId]/route.js +1 -1
  87. package/.next/server/app/api/tasks/[taskId]/route_client-reference-manifest.js +1 -1
  88. package/.next/server/app/api/templates/[id]/route_client-reference-manifest.js +1 -1
  89. package/.next/server/app/api/templates/route_client-reference-manifest.js +1 -1
  90. package/.next/server/app/api/verification/runs/[runId]/route.js +1 -1
  91. package/.next/server/app/api/verification/runs/[runId]/route_client-reference-manifest.js +1 -1
  92. package/.next/server/app/api/verification/runs/route.js +1 -1
  93. package/.next/server/app/api/verification/runs/route_client-reference-manifest.js +1 -1
  94. package/.next/server/app/api/worktrees/[id]/auto-yes/route.js +1 -1
  95. package/.next/server/app/api/worktrees/[id]/auto-yes/route.js.nft.json +1 -1
  96. package/.next/server/app/api/worktrees/[id]/auto-yes/route_client-reference-manifest.js +1 -1
  97. package/.next/server/app/api/worktrees/[id]/capture/route.js +1 -1
  98. package/.next/server/app/api/worktrees/[id]/capture/route.js.nft.json +1 -1
  99. package/.next/server/app/api/worktrees/[id]/capture/route_client-reference-manifest.js +1 -1
  100. package/.next/server/app/api/worktrees/[id]/clear-composer/route.js +1 -1
  101. package/.next/server/app/api/worktrees/[id]/clear-composer/route.js.nft.json +1 -1
  102. package/.next/server/app/api/worktrees/[id]/clear-composer/route_client-reference-manifest.js +1 -1
  103. package/.next/server/app/api/worktrees/[id]/cli-reference/route.js +1 -1
  104. package/.next/server/app/api/worktrees/[id]/cli-reference/route_client-reference-manifest.js +1 -1
  105. package/.next/server/app/api/worktrees/[id]/cli-tool/route.js +1 -1
  106. package/.next/server/app/api/worktrees/[id]/cli-tool/route_client-reference-manifest.js +1 -1
  107. package/.next/server/app/api/worktrees/[id]/cmate/schedules/route.js +1 -1
  108. package/.next/server/app/api/worktrees/[id]/cmate/schedules/route_client-reference-manifest.js +1 -1
  109. package/.next/server/app/api/worktrees/[id]/current-output/route.js +1 -1
  110. package/.next/server/app/api/worktrees/[id]/current-output/route.js.nft.json +1 -1
  111. package/.next/server/app/api/worktrees/[id]/current-output/route_client-reference-manifest.js +1 -1
  112. package/.next/server/app/api/worktrees/[id]/direct-input/route.js +1 -1
  113. package/.next/server/app/api/worktrees/[id]/direct-input/route.js.nft.json +1 -1
  114. package/.next/server/app/api/worktrees/[id]/direct-input/route_client-reference-manifest.js +1 -1
  115. package/.next/server/app/api/worktrees/[id]/env/route.js +1 -1
  116. package/.next/server/app/api/worktrees/[id]/env/route_client-reference-manifest.js +1 -1
  117. package/.next/server/app/api/worktrees/[id]/execution-logs/[logId]/route.js +1 -1
  118. package/.next/server/app/api/worktrees/[id]/execution-logs/[logId]/route_client-reference-manifest.js +1 -1
  119. package/.next/server/app/api/worktrees/[id]/execution-logs/route.js +1 -1
  120. package/.next/server/app/api/worktrees/[id]/execution-logs/route_client-reference-manifest.js +1 -1
  121. package/.next/server/app/api/worktrees/[id]/files/[...path]/route_client-reference-manifest.js +1 -1
  122. package/.next/server/app/api/worktrees/[id]/git/branch/create/route.js +1 -1
  123. package/.next/server/app/api/worktrees/[id]/git/branch/create/route_client-reference-manifest.js +1 -1
  124. package/.next/server/app/api/worktrees/[id]/git/branch/delete/route.js +1 -1
  125. package/.next/server/app/api/worktrees/[id]/git/branch/delete/route_client-reference-manifest.js +1 -1
  126. package/.next/server/app/api/worktrees/[id]/git/branches/route.js +1 -1
  127. package/.next/server/app/api/worktrees/[id]/git/branches/route_client-reference-manifest.js +1 -1
  128. package/.next/server/app/api/worktrees/[id]/git/checkout/route.js +1 -1
  129. package/.next/server/app/api/worktrees/[id]/git/checkout/route_client-reference-manifest.js +1 -1
  130. package/.next/server/app/api/worktrees/[id]/git/commit/route.js +1 -1
  131. package/.next/server/app/api/worktrees/[id]/git/commit/route_client-reference-manifest.js +1 -1
  132. package/.next/server/app/api/worktrees/[id]/git/diff/route.js +1 -1
  133. package/.next/server/app/api/worktrees/[id]/git/diff/route_client-reference-manifest.js +1 -1
  134. package/.next/server/app/api/worktrees/[id]/git/fetch/route.js +1 -1
  135. package/.next/server/app/api/worktrees/[id]/git/fetch/route_client-reference-manifest.js +1 -1
  136. package/.next/server/app/api/worktrees/[id]/git/log/route.js +1 -1
  137. package/.next/server/app/api/worktrees/[id]/git/log/route_client-reference-manifest.js +1 -1
  138. package/.next/server/app/api/worktrees/[id]/git/pull/route.js +1 -1
  139. package/.next/server/app/api/worktrees/[id]/git/pull/route_client-reference-manifest.js +1 -1
  140. package/.next/server/app/api/worktrees/[id]/git/push/route.js +1 -1
  141. package/.next/server/app/api/worktrees/[id]/git/push/route_client-reference-manifest.js +1 -1
  142. package/.next/server/app/api/worktrees/[id]/git/reset/route.js +1 -1
  143. package/.next/server/app/api/worktrees/[id]/git/reset/route_client-reference-manifest.js +1 -1
  144. package/.next/server/app/api/worktrees/[id]/git/revert/route.js +1 -1
  145. package/.next/server/app/api/worktrees/[id]/git/revert/route_client-reference-manifest.js +1 -1
  146. package/.next/server/app/api/worktrees/[id]/git/show/[commitHash]/route.js +1 -1
  147. package/.next/server/app/api/worktrees/[id]/git/show/[commitHash]/route_client-reference-manifest.js +1 -1
  148. package/.next/server/app/api/worktrees/[id]/git/stage/route.js +1 -1
  149. package/.next/server/app/api/worktrees/[id]/git/stage/route_client-reference-manifest.js +1 -1
  150. package/.next/server/app/api/worktrees/[id]/git/staged/route.js +1 -1
  151. package/.next/server/app/api/worktrees/[id]/git/staged/route_client-reference-manifest.js +1 -1
  152. package/.next/server/app/api/worktrees/[id]/git/stash/[index]/route.js +1 -1
  153. package/.next/server/app/api/worktrees/[id]/git/stash/[index]/route_client-reference-manifest.js +1 -1
  154. package/.next/server/app/api/worktrees/[id]/git/stash/apply/route.js +1 -1
  155. package/.next/server/app/api/worktrees/[id]/git/stash/apply/route_client-reference-manifest.js +1 -1
  156. package/.next/server/app/api/worktrees/[id]/git/stash/pop/route.js +1 -1
  157. package/.next/server/app/api/worktrees/[id]/git/stash/pop/route_client-reference-manifest.js +1 -1
  158. package/.next/server/app/api/worktrees/[id]/git/stash/push/route.js +1 -1
  159. package/.next/server/app/api/worktrees/[id]/git/stash/push/route_client-reference-manifest.js +1 -1
  160. package/.next/server/app/api/worktrees/[id]/git/stash/route.js +1 -1
  161. package/.next/server/app/api/worktrees/[id]/git/stash/route_client-reference-manifest.js +1 -1
  162. package/.next/server/app/api/worktrees/[id]/git/status/route.js +1 -1
  163. package/.next/server/app/api/worktrees/[id]/git/status/route_client-reference-manifest.js +1 -1
  164. package/.next/server/app/api/worktrees/[id]/git/unstage/route.js +1 -1
  165. package/.next/server/app/api/worktrees/[id]/git/unstage/route_client-reference-manifest.js +1 -1
  166. package/.next/server/app/api/worktrees/[id]/git/working-diff/route.js +1 -1
  167. package/.next/server/app/api/worktrees/[id]/git/working-diff/route_client-reference-manifest.js +1 -1
  168. package/.next/server/app/api/worktrees/[id]/instances/notes/route.js +1 -1
  169. package/.next/server/app/api/worktrees/[id]/instances/notes/route_client-reference-manifest.js +1 -1
  170. package/.next/server/app/api/worktrees/[id]/instances/opencode/route.js.nft.json +1 -1
  171. package/.next/server/app/api/worktrees/[id]/instances/opencode/route_client-reference-manifest.js +1 -1
  172. package/.next/server/app/api/worktrees/[id]/interrupt/route.js +1 -1
  173. package/.next/server/app/api/worktrees/[id]/interrupt/route.js.nft.json +1 -1
  174. package/.next/server/app/api/worktrees/[id]/interrupt/route_client-reference-manifest.js +1 -1
  175. package/.next/server/app/api/worktrees/[id]/kill-session/route.js +1 -1
  176. package/.next/server/app/api/worktrees/[id]/kill-session/route.js.nft.json +1 -1
  177. package/.next/server/app/api/worktrees/[id]/kill-session/route_client-reference-manifest.js +1 -1
  178. package/.next/server/app/api/worktrees/[id]/logs/[filename]/route.js +1 -1
  179. package/.next/server/app/api/worktrees/[id]/logs/[filename]/route_client-reference-manifest.js +1 -1
  180. package/.next/server/app/api/worktrees/[id]/logs/route.js +1 -1
  181. package/.next/server/app/api/worktrees/[id]/logs/route_client-reference-manifest.js +1 -1
  182. package/.next/server/app/api/worktrees/[id]/marp-render/route.js +1 -1
  183. package/.next/server/app/api/worktrees/[id]/marp-render/route_client-reference-manifest.js +1 -1
  184. package/.next/server/app/api/worktrees/[id]/memos/[memoId]/route.js +1 -1
  185. package/.next/server/app/api/worktrees/[id]/memos/[memoId]/route_client-reference-manifest.js +1 -1
  186. package/.next/server/app/api/worktrees/[id]/memos/route.js +1 -1
  187. package/.next/server/app/api/worktrees/[id]/memos/route_client-reference-manifest.js +1 -1
  188. package/.next/server/app/api/worktrees/[id]/messages/route.js +1 -1
  189. package/.next/server/app/api/worktrees/[id]/messages/route_client-reference-manifest.js +1 -1
  190. package/.next/server/app/api/worktrees/[id]/opencode/diff/route.js +1 -1
  191. package/.next/server/app/api/worktrees/[id]/opencode/diff/route_client-reference-manifest.js +1 -1
  192. package/.next/server/app/api/worktrees/[id]/opencode/session/route_client-reference-manifest.js +1 -1
  193. package/.next/server/app/api/worktrees/[id]/opencode/share/route_client-reference-manifest.js +1 -1
  194. package/.next/server/app/api/worktrees/[id]/prompt-response/route.js +1 -1
  195. package/.next/server/app/api/worktrees/[id]/prompt-response/route.js.nft.json +1 -1
  196. package/.next/server/app/api/worktrees/[id]/prompt-response/route_client-reference-manifest.js +1 -1
  197. package/.next/server/app/api/worktrees/[id]/prompt-response/strict/route.js +1 -1
  198. package/.next/server/app/api/worktrees/[id]/prompt-response/strict/route.js.nft.json +1 -1
  199. package/.next/server/app/api/worktrees/[id]/prompt-response/strict/route_client-reference-manifest.js +1 -1
  200. package/.next/server/app/api/worktrees/[id]/resolve-target/route.js +1 -1
  201. package/.next/server/app/api/worktrees/[id]/resolve-target/route_client-reference-manifest.js +1 -1
  202. package/.next/server/app/api/worktrees/[id]/respond/route.js +1 -1
  203. package/.next/server/app/api/worktrees/[id]/respond/route.js.nft.json +1 -1
  204. package/.next/server/app/api/worktrees/[id]/respond/route_client-reference-manifest.js +1 -1
  205. package/.next/server/app/api/worktrees/[id]/route.js +1 -1
  206. package/.next/server/app/api/worktrees/[id]/route.js.nft.json +1 -1
  207. package/.next/server/app/api/worktrees/[id]/route_client-reference-manifest.js +1 -1
  208. package/.next/server/app/api/worktrees/[id]/schedules/[scheduleId]/route.js +1 -1
  209. package/.next/server/app/api/worktrees/[id]/schedules/[scheduleId]/route_client-reference-manifest.js +1 -1
  210. package/.next/server/app/api/worktrees/[id]/schedules/active/route.js +1 -1
  211. package/.next/server/app/api/worktrees/[id]/schedules/active/route_client-reference-manifest.js +1 -1
  212. package/.next/server/app/api/worktrees/[id]/schedules/route.js +1 -1
  213. package/.next/server/app/api/worktrees/[id]/schedules/route_client-reference-manifest.js +1 -1
  214. package/.next/server/app/api/worktrees/[id]/search/route_client-reference-manifest.js +1 -1
  215. package/.next/server/app/api/worktrees/[id]/send/route.js +144 -1
  216. package/.next/server/app/api/worktrees/[id]/send/route.js.nft.json +1 -1
  217. package/.next/server/app/api/worktrees/[id]/send/route_client-reference-manifest.js +1 -1
  218. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route.js +3 -3
  219. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route.js.nft.json +1 -1
  220. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route_client-reference-manifest.js +1 -1
  221. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/install/route_client-reference-manifest.js +1 -1
  222. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/plan/route_client-reference-manifest.js +1 -1
  223. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall/route_client-reference-manifest.js +1 -1
  224. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route_client-reference-manifest.js +1 -1
  225. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update/route_client-reference-manifest.js +1 -1
  226. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update-plan/route_client-reference-manifest.js +1 -1
  227. package/.next/server/app/api/worktrees/[id]/skills/route.js +1 -1
  228. package/.next/server/app/api/worktrees/[id]/skills/route_client-reference-manifest.js +1 -1
  229. package/.next/server/app/api/worktrees/[id]/slash-commands/route.js +1 -1
  230. package/.next/server/app/api/worktrees/[id]/slash-commands/route_client-reference-manifest.js +1 -1
  231. package/.next/server/app/api/worktrees/[id]/special-keys/route.js +1 -1
  232. package/.next/server/app/api/worktrees/[id]/special-keys/route.js.nft.json +1 -1
  233. package/.next/server/app/api/worktrees/[id]/special-keys/route_client-reference-manifest.js +1 -1
  234. package/.next/server/app/api/worktrees/[id]/tasks/route.js +1 -1
  235. package/.next/server/app/api/worktrees/[id]/tasks/route_client-reference-manifest.js +1 -1
  236. package/.next/server/app/api/worktrees/[id]/terminal/route.js +103 -1
  237. package/.next/server/app/api/worktrees/[id]/terminal/route.js.nft.json +1 -1
  238. package/.next/server/app/api/worktrees/[id]/terminal/route_client-reference-manifest.js +1 -1
  239. package/.next/server/app/api/worktrees/[id]/timers/history/route.js +1 -1
  240. package/.next/server/app/api/worktrees/[id]/timers/history/route_client-reference-manifest.js +1 -1
  241. package/.next/server/app/api/worktrees/[id]/timers/route.js +1 -1
  242. package/.next/server/app/api/worktrees/[id]/timers/route.js.nft.json +1 -1
  243. package/.next/server/app/api/worktrees/[id]/timers/route_client-reference-manifest.js +1 -1
  244. package/.next/server/app/api/worktrees/[id]/todos/[todoId]/route.js +1 -1
  245. package/.next/server/app/api/worktrees/[id]/todos/[todoId]/route_client-reference-manifest.js +1 -1
  246. package/.next/server/app/api/worktrees/[id]/todos/route.js +1 -1
  247. package/.next/server/app/api/worktrees/[id]/todos/route_client-reference-manifest.js +1 -1
  248. package/.next/server/app/api/worktrees/[id]/tree/[...path]/route_client-reference-manifest.js +1 -1
  249. package/.next/server/app/api/worktrees/[id]/tree/route_client-reference-manifest.js +1 -1
  250. package/.next/server/app/api/worktrees/[id]/upload/[...path]/route_client-reference-manifest.js +1 -1
  251. package/.next/server/app/api/worktrees/[id]/verify/config/route.js +1 -1
  252. package/.next/server/app/api/worktrees/[id]/verify/config/route_client-reference-manifest.js +1 -1
  253. package/.next/server/app/api/worktrees/[id]/verify/route.js +1 -1
  254. package/.next/server/app/api/worktrees/[id]/verify/route_client-reference-manifest.js +1 -1
  255. package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route.js +1 -1
  256. package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route_client-reference-manifest.js +1 -1
  257. package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/route.js +1 -1
  258. package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/route_client-reference-manifest.js +1 -1
  259. package/.next/server/app/api/worktrees/[id]/verify/runs/route.js +1 -1
  260. package/.next/server/app/api/worktrees/[id]/verify/runs/route_client-reference-manifest.js +1 -1
  261. package/.next/server/app/api/worktrees/[id]/viewed/route.js +1 -1
  262. package/.next/server/app/api/worktrees/[id]/viewed/route_client-reference-manifest.js +1 -1
  263. package/.next/server/app/api/worktrees/apply-default-agents/route_client-reference-manifest.js +1 -1
  264. package/.next/server/app/api/worktrees/route.js +1 -1
  265. package/.next/server/app/api/worktrees/route.js.nft.json +1 -1
  266. package/.next/server/app/api/worktrees/route_client-reference-manifest.js +1 -1
  267. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  268. package/.next/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
  269. package/.next/server/app/more/page_client-reference-manifest.js +1 -1
  270. package/.next/server/app/offline/page_client-reference-manifest.js +1 -1
  271. package/.next/server/app/page_client-reference-manifest.js +1 -1
  272. package/.next/server/app/proxy/[...path]/route_client-reference-manifest.js +1 -1
  273. package/.next/server/app/repositories/page_client-reference-manifest.js +1 -1
  274. package/.next/server/app/review/page_client-reference-manifest.js +1 -1
  275. package/.next/server/app/sessions/page.js +1 -1
  276. package/.next/server/app/sessions/page.js.nft.json +1 -1
  277. package/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
  278. package/.next/server/app/skills/[skillId]/page.js +1 -1
  279. package/.next/server/app/skills/[skillId]/page.js.nft.json +1 -1
  280. package/.next/server/app/skills/[skillId]/page_client-reference-manifest.js +1 -1
  281. package/.next/server/app/skills/installed/page_client-reference-manifest.js +1 -1
  282. package/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  283. package/.next/server/app/worktrees/[id]/files/[...path]/page.js +2 -2
  284. package/.next/server/app/worktrees/[id]/files/[...path]/page.js.nft.json +1 -1
  285. package/.next/server/app/worktrees/[id]/files/[...path]/page_client-reference-manifest.js +1 -1
  286. package/.next/server/app/worktrees/[id]/page.js +11 -11
  287. package/.next/server/app/worktrees/[id]/page.js.nft.json +1 -1
  288. package/.next/server/app/worktrees/[id]/page_client-reference-manifest.js +1 -1
  289. package/.next/server/app/worktrees/[id]/terminal/page_client-reference-manifest.js +1 -1
  290. package/.next/server/app-paths-manifest.json +35 -34
  291. package/.next/server/chunks/1601.js +2 -2
  292. package/.next/server/chunks/1656.js +2 -2
  293. package/.next/server/chunks/2069.js +1 -0
  294. package/.next/server/chunks/2119.js +1 -1
  295. package/.next/server/chunks/2404.js +1 -1
  296. package/.next/server/chunks/2422.js +1 -1
  297. package/.next/server/chunks/2445.js +1 -1
  298. package/.next/server/chunks/2534.js +1 -1
  299. package/.next/server/chunks/3241.js +1 -1
  300. package/.next/server/chunks/3773.js +1 -0
  301. package/.next/server/chunks/3801.js +31 -0
  302. package/.next/server/chunks/4243.js +1 -1
  303. package/.next/server/chunks/4248.js +1 -1
  304. package/.next/server/chunks/5209.js +1 -1
  305. package/.next/server/chunks/5354.js +1 -1
  306. package/.next/server/chunks/{9130.js → 5630.js} +1 -1
  307. package/.next/server/chunks/5775.js +1 -0
  308. package/.next/server/chunks/610.js +1 -0
  309. package/.next/server/chunks/6119.js +1 -1
  310. package/.next/server/chunks/6130.js +1 -1
  311. package/.next/server/chunks/6401.js +1 -1
  312. package/.next/server/chunks/6486.js +1 -1
  313. package/.next/server/chunks/6781.js +1 -1
  314. package/.next/server/chunks/6808.js +4 -0
  315. package/.next/server/chunks/7023.js +14 -0
  316. package/.next/server/chunks/7604.js +2 -2
  317. package/.next/server/chunks/7905.js +1 -1
  318. package/.next/server/chunks/8581.js +16 -16
  319. package/.next/server/chunks/8728.js +3 -3
  320. package/.next/server/chunks/8782.js +1 -1
  321. package/.next/server/chunks/8791.js +1 -1
  322. package/.next/server/chunks/8807.js +63 -53
  323. package/.next/server/chunks/8918.js +103 -1
  324. package/.next/server/chunks/9198.js +144 -0
  325. package/.next/server/chunks/9390.js +1 -1
  326. package/.next/server/chunks/9584.js +1 -1
  327. package/.next/server/chunks/9627.js +4 -4
  328. package/.next/server/chunks/9731.js +3 -3
  329. package/.next/server/middleware-manifest.json +5 -5
  330. package/.next/server/pages/500.html +1 -1
  331. package/.next/server/server-reference-manifest.json +1 -1
  332. package/.next/static/chunks/1128-914c559913546bbc.js +1 -0
  333. package/.next/static/chunks/{2407-26139a8a2f1adbe8.js → 2407-675ba6b21844dc3b.js} +1 -1
  334. package/.next/static/chunks/{2619-a305ad4810f1393a.js → 2619-04bc32f026a0d946.js} +1 -1
  335. package/.next/static/chunks/{2863-f0121af1cbbedb3b.js → 2863-7173dc305dffc4f6.js} +1 -1
  336. package/.next/static/chunks/3931-1a1abab16248f14d.js +1 -0
  337. package/.next/static/chunks/6288-6fadbba6e84393b2.js +1 -0
  338. package/.next/static/chunks/7665-e9ef6e0a85b9fa49.js +1 -0
  339. package/.next/static/chunks/{8165-c68b3dc844210e6a.js → 8165-263172c17ae8e8c3.js} +1 -1
  340. package/.next/static/chunks/8606-ce17ffa77f39608e.js +1 -0
  341. package/.next/static/chunks/app/api/agents/update/route-a4f129c451de7859.js +1 -0
  342. package/.next/static/chunks/app/api/agents/versions/route-a4f129c451de7859.js +1 -0
  343. package/.next/static/chunks/app/api/app/release-notes/route-a4f129c451de7859.js +1 -0
  344. package/.next/static/chunks/app/api/app/update/route-a4f129c451de7859.js +1 -0
  345. package/.next/static/chunks/app/api/app/update-check/route-a4f129c451de7859.js +1 -0
  346. package/.next/static/chunks/app/api/auth/login/route-a4f129c451de7859.js +1 -0
  347. package/.next/static/chunks/app/api/auth/logout/route-a4f129c451de7859.js +1 -0
  348. package/.next/static/chunks/app/api/auth/status/route-a4f129c451de7859.js +1 -0
  349. package/.next/static/chunks/app/api/capabilities/route-a4f129c451de7859.js +1 -0
  350. package/.next/static/chunks/app/api/daily-summary/route-a4f129c451de7859.js +1 -0
  351. package/.next/static/chunks/app/api/daily-summary/status/route-a4f129c451de7859.js +1 -0
  352. package/.next/static/chunks/app/api/external-apps/[id]/health/route-a4f129c451de7859.js +1 -0
  353. package/.next/static/chunks/app/api/external-apps/[id]/route-a4f129c451de7859.js +1 -0
  354. package/.next/static/chunks/app/api/external-apps/route-a4f129c451de7859.js +1 -0
  355. package/.next/static/chunks/app/api/fs/browse/route-a4f129c451de7859.js +1 -0
  356. package/.next/static/chunks/app/api/fs/recent-paths/route-a4f129c451de7859.js +1 -0
  357. package/.next/static/chunks/app/api/hooks/agent-event/route-a4f129c451de7859.js +1 -0
  358. package/.next/static/chunks/app/api/hooks/claude-done/route-a4f129c451de7859.js +1 -0
  359. package/.next/static/chunks/app/api/hooks/permission-request/route-a4f129c451de7859.js +1 -0
  360. package/.next/static/chunks/app/api/metrics/vibe/route-a4f129c451de7859.js +1 -0
  361. package/.next/static/chunks/app/api/ollama/models/route-a4f129c451de7859.js +1 -0
  362. package/.next/static/chunks/app/api/push/escalation/route-a4f129c451de7859.js +1 -0
  363. package/.next/static/chunks/app/api/push/subscriptions/route-a4f129c451de7859.js +1 -0
  364. package/.next/static/chunks/app/api/push/vapid/route-a4f129c451de7859.js +1 -0
  365. package/.next/static/chunks/app/api/relays/[relayId]/cancel/route-a4f129c451de7859.js +1 -0
  366. package/.next/static/chunks/app/api/relays/[relayId]/route-a4f129c451de7859.js +1 -0
  367. package/.next/static/chunks/app/api/relays/route-a4f129c451de7859.js +1 -0
  368. package/.next/static/chunks/app/api/remote/pair/route-a4f129c451de7859.js +1 -0
  369. package/.next/static/chunks/app/api/repositories/[id]/route-a4f129c451de7859.js +1 -0
  370. package/.next/static/chunks/app/api/repositories/clone/[jobId]/route-a4f129c451de7859.js +1 -0
  371. package/.next/static/chunks/app/api/repositories/clone/route-a4f129c451de7859.js +1 -0
  372. package/.next/static/chunks/app/api/repositories/excluded/route-a4f129c451de7859.js +1 -0
  373. package/.next/static/chunks/app/api/repositories/restore/route-a4f129c451de7859.js +1 -0
  374. package/.next/static/chunks/app/api/repositories/route-a4f129c451de7859.js +1 -0
  375. package/.next/static/chunks/app/api/repositories/scan/route-a4f129c451de7859.js +1 -0
  376. package/.next/static/chunks/app/api/repositories/sync/route-a4f129c451de7859.js +1 -0
  377. package/.next/static/chunks/app/api/repositories/validate-path/route-a4f129c451de7859.js +1 -0
  378. package/.next/static/chunks/app/api/settings/default-agents/route-a4f129c451de7859.js +1 -0
  379. package/.next/static/chunks/app/api/settings/default-surface-mode/route-a4f129c451de7859.js +1 -0
  380. package/.next/static/chunks/app/api/sidebar/group-order/route-a4f129c451de7859.js +1 -0
  381. package/.next/static/chunks/app/api/skills/[id]/route-a4f129c451de7859.js +1 -0
  382. package/.next/static/chunks/app/api/skills/installations/route-a4f129c451de7859.js +1 -0
  383. package/.next/static/chunks/app/api/skills/operations/route-a4f129c451de7859.js +1 -0
  384. package/.next/static/chunks/app/api/skills/reindex/route-a4f129c451de7859.js +1 -0
  385. package/.next/static/chunks/app/api/skills/route-a4f129c451de7859.js +1 -0
  386. package/.next/static/chunks/app/api/slash-commands/route-a4f129c451de7859.js +1 -0
  387. package/.next/static/chunks/app/api/tasks/[taskId]/cancel/route-a4f129c451de7859.js +1 -0
  388. package/.next/static/chunks/app/api/tasks/[taskId]/route-a4f129c451de7859.js +1 -0
  389. package/.next/static/chunks/app/api/templates/[id]/route-a4f129c451de7859.js +1 -0
  390. package/.next/static/chunks/app/api/templates/route-a4f129c451de7859.js +1 -0
  391. package/.next/static/chunks/app/api/verification/runs/[runId]/route-a4f129c451de7859.js +1 -0
  392. package/.next/static/chunks/app/api/verification/runs/route-a4f129c451de7859.js +1 -0
  393. package/.next/static/chunks/app/api/worktrees/[id]/auto-yes/route-a4f129c451de7859.js +1 -0
  394. package/.next/static/chunks/app/api/worktrees/[id]/capture/route-a4f129c451de7859.js +1 -0
  395. package/.next/static/chunks/app/api/worktrees/[id]/clear-composer/route-a4f129c451de7859.js +1 -0
  396. package/.next/static/chunks/app/api/worktrees/[id]/cli-reference/route-a4f129c451de7859.js +1 -0
  397. package/.next/static/chunks/app/api/worktrees/[id]/cli-tool/route-a4f129c451de7859.js +1 -0
  398. package/.next/static/chunks/app/api/worktrees/[id]/cmate/schedules/route-a4f129c451de7859.js +1 -0
  399. package/.next/static/chunks/app/api/worktrees/[id]/current-output/route-a4f129c451de7859.js +1 -0
  400. package/.next/static/chunks/app/api/worktrees/[id]/direct-input/route-a4f129c451de7859.js +1 -0
  401. package/.next/static/chunks/app/api/worktrees/[id]/env/route-a4f129c451de7859.js +1 -0
  402. package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/[logId]/route-a4f129c451de7859.js +1 -0
  403. package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/route-a4f129c451de7859.js +1 -0
  404. package/.next/static/chunks/app/api/worktrees/[id]/files/[...path]/route-a4f129c451de7859.js +1 -0
  405. package/.next/static/chunks/app/api/worktrees/[id]/git/branch/create/route-a4f129c451de7859.js +1 -0
  406. package/.next/static/chunks/app/api/worktrees/[id]/git/branch/delete/route-a4f129c451de7859.js +1 -0
  407. package/.next/static/chunks/app/api/worktrees/[id]/git/branches/route-a4f129c451de7859.js +1 -0
  408. package/.next/static/chunks/app/api/worktrees/[id]/git/checkout/route-a4f129c451de7859.js +1 -0
  409. package/.next/static/chunks/app/api/worktrees/[id]/git/commit/route-a4f129c451de7859.js +1 -0
  410. package/.next/static/chunks/app/api/worktrees/[id]/git/diff/route-a4f129c451de7859.js +1 -0
  411. package/.next/static/chunks/app/api/worktrees/[id]/git/fetch/route-a4f129c451de7859.js +1 -0
  412. package/.next/static/chunks/app/api/worktrees/[id]/git/log/route-a4f129c451de7859.js +1 -0
  413. package/.next/static/chunks/app/api/worktrees/[id]/git/pull/route-a4f129c451de7859.js +1 -0
  414. package/.next/static/chunks/app/api/worktrees/[id]/git/push/route-a4f129c451de7859.js +1 -0
  415. package/.next/static/chunks/app/api/worktrees/[id]/git/reset/route-a4f129c451de7859.js +1 -0
  416. package/.next/static/chunks/app/api/worktrees/[id]/git/revert/route-a4f129c451de7859.js +1 -0
  417. package/.next/static/chunks/app/api/worktrees/[id]/git/show/[commitHash]/route-a4f129c451de7859.js +1 -0
  418. package/.next/static/chunks/app/api/worktrees/[id]/git/stage/route-a4f129c451de7859.js +1 -0
  419. package/.next/static/chunks/app/api/worktrees/[id]/git/staged/route-a4f129c451de7859.js +1 -0
  420. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/[index]/route-a4f129c451de7859.js +1 -0
  421. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/apply/route-a4f129c451de7859.js +1 -0
  422. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/pop/route-a4f129c451de7859.js +1 -0
  423. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/push/route-a4f129c451de7859.js +1 -0
  424. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/route-a4f129c451de7859.js +1 -0
  425. package/.next/static/chunks/app/api/worktrees/[id]/git/status/route-a4f129c451de7859.js +1 -0
  426. package/.next/static/chunks/app/api/worktrees/[id]/git/unstage/route-a4f129c451de7859.js +1 -0
  427. package/.next/static/chunks/app/api/worktrees/[id]/git/working-diff/route-a4f129c451de7859.js +1 -0
  428. package/.next/static/chunks/app/api/worktrees/[id]/instances/notes/route-a4f129c451de7859.js +1 -0
  429. package/.next/static/chunks/app/api/worktrees/[id]/instances/opencode/route-a4f129c451de7859.js +1 -0
  430. package/.next/static/chunks/app/api/worktrees/[id]/interrupt/route-a4f129c451de7859.js +1 -0
  431. package/.next/static/chunks/app/api/worktrees/[id]/kill-session/route-a4f129c451de7859.js +1 -0
  432. package/.next/static/chunks/app/api/worktrees/[id]/logs/[filename]/route-a4f129c451de7859.js +1 -0
  433. package/.next/static/chunks/app/api/worktrees/[id]/logs/route-a4f129c451de7859.js +1 -0
  434. package/.next/static/chunks/app/api/worktrees/[id]/marp-render/route-a4f129c451de7859.js +1 -0
  435. package/.next/static/chunks/app/api/worktrees/[id]/memos/[memoId]/route-a4f129c451de7859.js +1 -0
  436. package/.next/static/chunks/app/api/worktrees/[id]/memos/route-a4f129c451de7859.js +1 -0
  437. package/.next/static/chunks/app/api/worktrees/[id]/messages/route-a4f129c451de7859.js +1 -0
  438. package/.next/static/chunks/app/api/worktrees/[id]/opencode/diff/route-a4f129c451de7859.js +1 -0
  439. package/.next/static/chunks/app/api/worktrees/[id]/opencode/session/route-a4f129c451de7859.js +1 -0
  440. package/.next/static/chunks/app/api/worktrees/[id]/opencode/share/route-a4f129c451de7859.js +1 -0
  441. package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/route-a4f129c451de7859.js +1 -0
  442. package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/strict/route-a4f129c451de7859.js +1 -0
  443. package/.next/static/chunks/app/api/worktrees/[id]/resolve-target/route-a4f129c451de7859.js +1 -0
  444. package/.next/static/chunks/app/api/worktrees/[id]/respond/route-a4f129c451de7859.js +1 -0
  445. package/.next/static/chunks/app/api/worktrees/[id]/route-a4f129c451de7859.js +1 -0
  446. package/.next/static/chunks/app/api/worktrees/[id]/schedules/[scheduleId]/route-a4f129c451de7859.js +1 -0
  447. package/.next/static/chunks/app/api/worktrees/[id]/schedules/active/route-a4f129c451de7859.js +1 -0
  448. package/.next/static/chunks/app/api/worktrees/[id]/schedules/route-a4f129c451de7859.js +1 -0
  449. package/.next/static/chunks/app/api/worktrees/[id]/search/route-a4f129c451de7859.js +1 -0
  450. package/.next/static/chunks/app/api/worktrees/[id]/send/route-a4f129c451de7859.js +1 -0
  451. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route-a4f129c451de7859.js +1 -0
  452. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/install/route-a4f129c451de7859.js +1 -0
  453. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/plan/route-a4f129c451de7859.js +1 -0
  454. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall/route-a4f129c451de7859.js +1 -0
  455. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route-a4f129c451de7859.js +1 -0
  456. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update/route-a4f129c451de7859.js +1 -0
  457. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update-plan/route-a4f129c451de7859.js +1 -0
  458. package/.next/static/chunks/app/api/worktrees/[id]/skills/route-a4f129c451de7859.js +1 -0
  459. package/.next/static/chunks/app/api/worktrees/[id]/slash-commands/route-a4f129c451de7859.js +1 -0
  460. package/.next/static/chunks/app/api/worktrees/[id]/special-keys/route-a4f129c451de7859.js +1 -0
  461. package/.next/static/chunks/app/api/worktrees/[id]/tasks/route-a4f129c451de7859.js +1 -0
  462. package/.next/static/chunks/app/api/worktrees/[id]/terminal/route-a4f129c451de7859.js +1 -0
  463. package/.next/static/chunks/app/api/worktrees/[id]/timers/history/route-a4f129c451de7859.js +1 -0
  464. package/.next/static/chunks/app/api/worktrees/[id]/timers/route-a4f129c451de7859.js +1 -0
  465. package/.next/static/chunks/app/api/worktrees/[id]/todos/[todoId]/route-a4f129c451de7859.js +1 -0
  466. package/.next/static/chunks/app/api/worktrees/[id]/todos/route-a4f129c451de7859.js +1 -0
  467. package/.next/static/chunks/app/api/worktrees/[id]/tree/[...path]/route-a4f129c451de7859.js +1 -0
  468. package/.next/static/chunks/app/api/worktrees/[id]/tree/route-a4f129c451de7859.js +1 -0
  469. package/.next/static/chunks/app/api/worktrees/[id]/upload/[...path]/route-a4f129c451de7859.js +1 -0
  470. package/.next/static/chunks/app/api/worktrees/[id]/verify/config/route-a4f129c451de7859.js +1 -0
  471. package/.next/static/chunks/app/api/worktrees/[id]/verify/route-a4f129c451de7859.js +1 -0
  472. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route-a4f129c451de7859.js +1 -0
  473. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/route-a4f129c451de7859.js +1 -0
  474. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/route-a4f129c451de7859.js +1 -0
  475. package/.next/static/chunks/app/api/worktrees/[id]/viewed/route-a4f129c451de7859.js +1 -0
  476. package/.next/static/chunks/app/api/worktrees/apply-default-agents/route-a4f129c451de7859.js +1 -0
  477. package/.next/static/chunks/app/api/worktrees/route-a4f129c451de7859.js +1 -0
  478. package/.next/static/chunks/app/layout-8bfac4724277b47f.js +1 -0
  479. package/.next/static/chunks/app/manifest.webmanifest/route-a4f129c451de7859.js +1 -0
  480. package/.next/static/chunks/app/proxy/[...path]/route-a4f129c451de7859.js +1 -0
  481. package/.next/static/chunks/app/sessions/page-890fd50ec9739973.js +1 -0
  482. package/.next/static/chunks/app/skills/[skillId]/{page-52ba58712faf3378.js → page-cb6e74fd9a6a571d.js} +1 -1
  483. package/.next/static/chunks/app/worktrees/[id]/files/[...path]/page-704086656fb45699.js +1 -0
  484. package/.next/static/chunks/app/worktrees/[id]/layout-a4f129c451de7859.js +1 -0
  485. package/.next/static/chunks/app/worktrees/[id]/page-f6d3ab8185d93aae.js +1 -0
  486. package/.next/static/chunks/app/worktrees/[id]/terminal/{page-c601f3b3ece6557e.js → page-373ea37b16d930c7.js} +1 -1
  487. package/.next/static/css/c1e307d05daf93b6.css +1 -0
  488. package/.next/trace +13 -13
  489. package/.next/types/app/api/relays/[relayId]/route.ts +347 -0
  490. package/.next/types/routes.d.ts +2 -1
  491. package/.next/types/validator.ts +9 -0
  492. package/dist/cli/commands/ask.d.ts.map +1 -1
  493. package/dist/cli/commands/ask.js +178 -13
  494. package/dist/cli/commands/auto-yes.d.ts.map +1 -1
  495. package/dist/cli/commands/auto-yes.js +3 -5
  496. package/dist/cli/commands/capture.d.ts.map +1 -1
  497. package/dist/cli/commands/capture.js +5 -0
  498. package/dist/cli/commands/message-dispatch.d.ts +25 -5
  499. package/dist/cli/commands/message-dispatch.d.ts.map +1 -1
  500. package/dist/cli/commands/message-dispatch.js +92 -6
  501. package/dist/cli/commands/relays.d.ts +25 -2
  502. package/dist/cli/commands/relays.d.ts.map +1 -1
  503. package/dist/cli/commands/relays.js +69 -5
  504. package/dist/cli/commands/respond.d.ts +12 -0
  505. package/dist/cli/commands/respond.d.ts.map +1 -1
  506. package/dist/cli/commands/respond.js +63 -1
  507. package/dist/cli/commands/send.d.ts.map +1 -1
  508. package/dist/cli/commands/send.js +10 -10
  509. package/dist/cli/commands/verify.d.ts.map +1 -1
  510. package/dist/cli/commands/verify.js +8 -1
  511. package/dist/cli/commands/wait-hook-stop-settle.d.ts +66 -0
  512. package/dist/cli/commands/wait-hook-stop-settle.d.ts.map +1 -0
  513. package/dist/cli/commands/wait-hook-stop-settle.js +150 -0
  514. package/dist/cli/commands/wait-instance.d.ts +21 -0
  515. package/dist/cli/commands/wait-instance.d.ts.map +1 -0
  516. package/dist/cli/commands/wait-instance.js +41 -0
  517. package/dist/cli/commands/wait-notices.d.ts +87 -0
  518. package/dist/cli/commands/wait-notices.d.ts.map +1 -0
  519. package/dist/cli/commands/wait-notices.js +301 -0
  520. package/dist/cli/commands/wait-poll-bookkeeping.d.ts +15 -0
  521. package/dist/cli/commands/wait-poll-bookkeeping.d.ts.map +1 -0
  522. package/dist/cli/commands/wait-poll-bookkeeping.js +57 -0
  523. package/dist/cli/commands/wait-poll-state.d.ts +118 -0
  524. package/dist/cli/commands/wait-poll-state.d.ts.map +1 -0
  525. package/dist/cli/commands/wait-poll-state.js +6 -0
  526. package/dist/cli/commands/wait-timing.d.ts +46 -0
  527. package/dist/cli/commands/wait-timing.d.ts.map +1 -0
  528. package/dist/cli/commands/wait-timing.js +99 -0
  529. package/dist/cli/commands/wait-turn-boundary.d.ts +284 -0
  530. package/dist/cli/commands/wait-turn-boundary.d.ts.map +1 -0
  531. package/dist/cli/commands/wait-turn-boundary.js +427 -0
  532. package/dist/cli/commands/wait-verify.d.ts +50 -0
  533. package/dist/cli/commands/wait-verify.d.ts.map +1 -0
  534. package/dist/cli/commands/wait-verify.js +124 -0
  535. package/dist/cli/commands/wait.d.ts +6 -105
  536. package/dist/cli/commands/wait.d.ts.map +1 -1
  537. package/dist/cli/commands/wait.js +207 -959
  538. package/dist/cli/config/duration-constants.d.ts +16 -13
  539. package/dist/cli/config/duration-constants.d.ts.map +1 -1
  540. package/dist/cli/config/duration-constants.js +21 -21
  541. package/dist/cli/docs/agent-operations.d.ts +2 -2
  542. package/dist/cli/docs/agent-operations.d.ts.map +1 -1
  543. package/dist/cli/docs/agent-operations.js +25 -2
  544. package/dist/cli/types/api-responses.d.ts +76 -4
  545. package/dist/cli/types/api-responses.d.ts.map +1 -1
  546. package/dist/cli/utils/api-client.d.ts +15 -1
  547. package/dist/cli/utils/api-client.d.ts.map +1 -1
  548. package/dist/cli/utils/api-client.js +7 -1
  549. package/dist/cli/utils/reply-ledger.d.ts +79 -0
  550. package/dist/cli/utils/reply-ledger.d.ts.map +1 -1
  551. package/dist/cli/utils/reply-ledger.js +141 -1
  552. package/dist/cli/utils/verify-runner.d.ts +24 -1
  553. package/dist/cli/utils/verify-runner.d.ts.map +1 -1
  554. package/dist/cli/utils/verify-runner.js +54 -1
  555. package/dist/config/auto-yes-duration.d.ts +56 -0
  556. package/dist/config/auto-yes-duration.d.ts.map +1 -0
  557. package/dist/config/auto-yes-duration.js +76 -0
  558. package/dist/lib/session/send-attempt-types.d.ts +23 -1
  559. package/dist/lib/session/send-attempt-types.d.ts.map +1 -1
  560. package/dist/lib/session/send-attempt-types.js +9 -1
  561. package/dist/server/locales/en/worktree.json +18 -3
  562. package/dist/server/locales/ja/worktree.json +18 -3
  563. package/dist/server/src/config/auto-yes-config.js +14 -19
  564. package/dist/server/src/config/auto-yes-duration.js +76 -0
  565. package/dist/server/src/lib/auto-yes-poller.js +49 -10
  566. package/dist/server/src/lib/auto-yes-state.js +9 -2
  567. package/dist/server/src/lib/cli-tools/antigravity.js +40 -7
  568. package/dist/server/src/lib/cli-tools/codex.js +60 -11
  569. package/dist/server/src/lib/cli-tools/command-code-plan-review.js +24 -2
  570. package/dist/server/src/lib/cli-tools/copilot.js +120 -30
  571. package/dist/server/src/lib/cli-tools/gemini.js +28 -9
  572. package/dist/server/src/lib/cli-tools/opencode.js +55 -13
  573. package/dist/server/src/lib/cli-tools/submit-composer-read.js +580 -0
  574. package/dist/server/src/lib/cli-tools/submit-verified-sender.js +374 -516
  575. package/dist/server/src/lib/db/migrations/index.js +2 -0
  576. package/dist/server/src/lib/db/migrations/pre-migration-backup.js +266 -0
  577. package/dist/server/src/lib/db/migrations/runner.js +37 -4
  578. package/dist/server/src/lib/db/migrations/v62-session-relays-bind.js +102 -0
  579. package/dist/server/src/lib/db/relay-bind-db.js +437 -0
  580. package/dist/server/src/lib/db/relay-db.js +59 -96
  581. package/dist/server/src/lib/detection/composer-text.js +215 -11
  582. package/dist/server/src/lib/detection/prompt-detect-multiple-choice-chrome.js +193 -0
  583. package/dist/server/src/lib/detection/prompt-detect-multiple-choice.js +8 -191
  584. package/dist/server/src/lib/detection/upstream-faults.js +56 -5
  585. package/dist/server/src/lib/hooks/sources/opencode/client.js +12 -6
  586. package/dist/server/src/lib/hooks/structured-decision-response.js +1 -1
  587. package/dist/server/src/lib/polling/auto-yes-manual-answer.js +4 -2
  588. package/dist/server/src/lib/polling/response-checker.js +15 -16
  589. package/dist/server/src/lib/prompt-answer-errors.js +288 -0
  590. package/dist/server/src/lib/prompt-answer-sender.js +264 -288
  591. package/dist/server/src/lib/push/failure-episode-state.js +4 -1
  592. package/dist/server/src/lib/realtime/terminal-broadcast.js +1 -4
  593. package/dist/server/src/lib/realtime-snippet.js +54 -0
  594. package/dist/server/src/lib/relay/relay-bind.js +294 -0
  595. package/dist/server/src/lib/relay/relay-boot.js +51 -0
  596. package/dist/server/src/lib/relay/relay-bound-reply.js +519 -0
  597. package/dist/server/src/lib/relay/relay-delivery.js +134 -220
  598. package/dist/server/src/lib/relay/relay-messages.js +39 -4
  599. package/dist/server/src/lib/relay/relay-overlap.js +92 -0
  600. package/dist/server/src/lib/relay/relay-system-line.js +3 -2
  601. package/dist/server/src/lib/relay/types.js +12 -1
  602. package/dist/server/src/lib/session/agent-session-lifecycle.js +18 -0
  603. package/dist/server/src/lib/session/claude-session.js +41 -6
  604. package/dist/server/src/lib/session/composer-clear.js +109 -4
  605. package/dist/server/src/lib/session/current-output-builder.js +23 -6
  606. package/dist/server/src/lib/session/instance-input-lock.js +664 -0
  607. package/dist/server/src/lib/session/send-attempt-state.js +19 -1
  608. package/dist/server/src/lib/session/send-attempt-types.js +9 -1
  609. package/dist/server/src/lib/session/send-user-message.js +82 -13
  610. package/dist/server/src/lib/session/waiting-episode-state-ops.js +152 -0
  611. package/dist/server/src/lib/session/waiting-episode-state-store.js +202 -0
  612. package/dist/server/src/lib/session/waiting-episode-state-types.js +6 -0
  613. package/dist/server/src/lib/session/waiting-episode-state.js +26 -339
  614. package/dist/server/src/lib/tmux/tmux.js +25 -0
  615. package/dist/server/src/lib/verification/gate-runner.js +11 -4
  616. package/docs/en/user-guide/webapp-guide.md +15 -10
  617. package/package.json +1 -1
  618. package/release-notes/0.49.0.json +45 -0
  619. package/release-notes/0.49.1.json +66 -0
  620. package/.next/server/chunks/1210.js +0 -1
  621. package/.next/server/chunks/1945.js +0 -14
  622. package/.next/server/chunks/1990.js +0 -103
  623. package/.next/server/chunks/4194.js +0 -67
  624. package/.next/server/chunks/4280.js +0 -1
  625. package/.next/server/chunks/5845.js +0 -1
  626. package/.next/server/chunks/6722.js +0 -1
  627. package/.next/server/chunks/720.js +0 -103
  628. package/.next/server/chunks/936.js +0 -1
  629. package/.next/server/chunks/9540.js +0 -1
  630. package/.next/static/chunks/2099-c3e0ab70a1b95dd3.js +0 -1
  631. package/.next/static/chunks/5371-a549a0d2c2044d41.js +0 -1
  632. package/.next/static/chunks/6288-09feba367cc2c65e.js +0 -1
  633. package/.next/static/chunks/8606-cf6bdbff44a764cf.js +0 -1
  634. package/.next/static/chunks/9079-406b84d3cc891a87.js +0 -1
  635. package/.next/static/chunks/app/api/agents/update/route-c81284a9d8b35304.js +0 -1
  636. package/.next/static/chunks/app/api/agents/versions/route-c81284a9d8b35304.js +0 -1
  637. package/.next/static/chunks/app/api/app/release-notes/route-c81284a9d8b35304.js +0 -1
  638. package/.next/static/chunks/app/api/app/update/route-c81284a9d8b35304.js +0 -1
  639. package/.next/static/chunks/app/api/app/update-check/route-c81284a9d8b35304.js +0 -1
  640. package/.next/static/chunks/app/api/auth/login/route-c81284a9d8b35304.js +0 -1
  641. package/.next/static/chunks/app/api/auth/logout/route-c81284a9d8b35304.js +0 -1
  642. package/.next/static/chunks/app/api/auth/status/route-c81284a9d8b35304.js +0 -1
  643. package/.next/static/chunks/app/api/capabilities/route-c81284a9d8b35304.js +0 -1
  644. package/.next/static/chunks/app/api/daily-summary/route-c81284a9d8b35304.js +0 -1
  645. package/.next/static/chunks/app/api/daily-summary/status/route-c81284a9d8b35304.js +0 -1
  646. package/.next/static/chunks/app/api/external-apps/[id]/health/route-c81284a9d8b35304.js +0 -1
  647. package/.next/static/chunks/app/api/external-apps/[id]/route-c81284a9d8b35304.js +0 -1
  648. package/.next/static/chunks/app/api/external-apps/route-c81284a9d8b35304.js +0 -1
  649. package/.next/static/chunks/app/api/fs/browse/route-c81284a9d8b35304.js +0 -1
  650. package/.next/static/chunks/app/api/fs/recent-paths/route-c81284a9d8b35304.js +0 -1
  651. package/.next/static/chunks/app/api/hooks/agent-event/route-c81284a9d8b35304.js +0 -1
  652. package/.next/static/chunks/app/api/hooks/claude-done/route-c81284a9d8b35304.js +0 -1
  653. package/.next/static/chunks/app/api/hooks/permission-request/route-c81284a9d8b35304.js +0 -1
  654. package/.next/static/chunks/app/api/metrics/vibe/route-c81284a9d8b35304.js +0 -1
  655. package/.next/static/chunks/app/api/ollama/models/route-c81284a9d8b35304.js +0 -1
  656. package/.next/static/chunks/app/api/push/escalation/route-c81284a9d8b35304.js +0 -1
  657. package/.next/static/chunks/app/api/push/subscriptions/route-c81284a9d8b35304.js +0 -1
  658. package/.next/static/chunks/app/api/push/vapid/route-c81284a9d8b35304.js +0 -1
  659. package/.next/static/chunks/app/api/relays/[relayId]/cancel/route-c81284a9d8b35304.js +0 -1
  660. package/.next/static/chunks/app/api/relays/route-c81284a9d8b35304.js +0 -1
  661. package/.next/static/chunks/app/api/remote/pair/route-c81284a9d8b35304.js +0 -1
  662. package/.next/static/chunks/app/api/repositories/[id]/route-c81284a9d8b35304.js +0 -1
  663. package/.next/static/chunks/app/api/repositories/clone/[jobId]/route-c81284a9d8b35304.js +0 -1
  664. package/.next/static/chunks/app/api/repositories/clone/route-c81284a9d8b35304.js +0 -1
  665. package/.next/static/chunks/app/api/repositories/excluded/route-c81284a9d8b35304.js +0 -1
  666. package/.next/static/chunks/app/api/repositories/restore/route-c81284a9d8b35304.js +0 -1
  667. package/.next/static/chunks/app/api/repositories/route-c81284a9d8b35304.js +0 -1
  668. package/.next/static/chunks/app/api/repositories/scan/route-c81284a9d8b35304.js +0 -1
  669. package/.next/static/chunks/app/api/repositories/sync/route-c81284a9d8b35304.js +0 -1
  670. package/.next/static/chunks/app/api/repositories/validate-path/route-c81284a9d8b35304.js +0 -1
  671. package/.next/static/chunks/app/api/settings/default-agents/route-c81284a9d8b35304.js +0 -1
  672. package/.next/static/chunks/app/api/settings/default-surface-mode/route-c81284a9d8b35304.js +0 -1
  673. package/.next/static/chunks/app/api/sidebar/group-order/route-c81284a9d8b35304.js +0 -1
  674. package/.next/static/chunks/app/api/skills/[id]/route-c81284a9d8b35304.js +0 -1
  675. package/.next/static/chunks/app/api/skills/installations/route-c81284a9d8b35304.js +0 -1
  676. package/.next/static/chunks/app/api/skills/operations/route-c81284a9d8b35304.js +0 -1
  677. package/.next/static/chunks/app/api/skills/reindex/route-c81284a9d8b35304.js +0 -1
  678. package/.next/static/chunks/app/api/skills/route-c81284a9d8b35304.js +0 -1
  679. package/.next/static/chunks/app/api/slash-commands/route-c81284a9d8b35304.js +0 -1
  680. package/.next/static/chunks/app/api/tasks/[taskId]/cancel/route-c81284a9d8b35304.js +0 -1
  681. package/.next/static/chunks/app/api/tasks/[taskId]/route-c81284a9d8b35304.js +0 -1
  682. package/.next/static/chunks/app/api/templates/[id]/route-c81284a9d8b35304.js +0 -1
  683. package/.next/static/chunks/app/api/templates/route-c81284a9d8b35304.js +0 -1
  684. package/.next/static/chunks/app/api/verification/runs/[runId]/route-c81284a9d8b35304.js +0 -1
  685. package/.next/static/chunks/app/api/verification/runs/route-c81284a9d8b35304.js +0 -1
  686. package/.next/static/chunks/app/api/worktrees/[id]/auto-yes/route-c81284a9d8b35304.js +0 -1
  687. package/.next/static/chunks/app/api/worktrees/[id]/capture/route-c81284a9d8b35304.js +0 -1
  688. package/.next/static/chunks/app/api/worktrees/[id]/clear-composer/route-c81284a9d8b35304.js +0 -1
  689. package/.next/static/chunks/app/api/worktrees/[id]/cli-reference/route-c81284a9d8b35304.js +0 -1
  690. package/.next/static/chunks/app/api/worktrees/[id]/cli-tool/route-c81284a9d8b35304.js +0 -1
  691. package/.next/static/chunks/app/api/worktrees/[id]/cmate/schedules/route-c81284a9d8b35304.js +0 -1
  692. package/.next/static/chunks/app/api/worktrees/[id]/current-output/route-c81284a9d8b35304.js +0 -1
  693. package/.next/static/chunks/app/api/worktrees/[id]/direct-input/route-c81284a9d8b35304.js +0 -1
  694. package/.next/static/chunks/app/api/worktrees/[id]/env/route-c81284a9d8b35304.js +0 -1
  695. package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/[logId]/route-c81284a9d8b35304.js +0 -1
  696. package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/route-c81284a9d8b35304.js +0 -1
  697. package/.next/static/chunks/app/api/worktrees/[id]/files/[...path]/route-c81284a9d8b35304.js +0 -1
  698. package/.next/static/chunks/app/api/worktrees/[id]/git/branch/create/route-c81284a9d8b35304.js +0 -1
  699. package/.next/static/chunks/app/api/worktrees/[id]/git/branch/delete/route-c81284a9d8b35304.js +0 -1
  700. package/.next/static/chunks/app/api/worktrees/[id]/git/branches/route-c81284a9d8b35304.js +0 -1
  701. package/.next/static/chunks/app/api/worktrees/[id]/git/checkout/route-c81284a9d8b35304.js +0 -1
  702. package/.next/static/chunks/app/api/worktrees/[id]/git/commit/route-c81284a9d8b35304.js +0 -1
  703. package/.next/static/chunks/app/api/worktrees/[id]/git/diff/route-c81284a9d8b35304.js +0 -1
  704. package/.next/static/chunks/app/api/worktrees/[id]/git/fetch/route-c81284a9d8b35304.js +0 -1
  705. package/.next/static/chunks/app/api/worktrees/[id]/git/log/route-c81284a9d8b35304.js +0 -1
  706. package/.next/static/chunks/app/api/worktrees/[id]/git/pull/route-c81284a9d8b35304.js +0 -1
  707. package/.next/static/chunks/app/api/worktrees/[id]/git/push/route-c81284a9d8b35304.js +0 -1
  708. package/.next/static/chunks/app/api/worktrees/[id]/git/reset/route-c81284a9d8b35304.js +0 -1
  709. package/.next/static/chunks/app/api/worktrees/[id]/git/revert/route-c81284a9d8b35304.js +0 -1
  710. package/.next/static/chunks/app/api/worktrees/[id]/git/show/[commitHash]/route-c81284a9d8b35304.js +0 -1
  711. package/.next/static/chunks/app/api/worktrees/[id]/git/stage/route-c81284a9d8b35304.js +0 -1
  712. package/.next/static/chunks/app/api/worktrees/[id]/git/staged/route-c81284a9d8b35304.js +0 -1
  713. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/[index]/route-c81284a9d8b35304.js +0 -1
  714. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/apply/route-c81284a9d8b35304.js +0 -1
  715. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/pop/route-c81284a9d8b35304.js +0 -1
  716. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/push/route-c81284a9d8b35304.js +0 -1
  717. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/route-c81284a9d8b35304.js +0 -1
  718. package/.next/static/chunks/app/api/worktrees/[id]/git/status/route-c81284a9d8b35304.js +0 -1
  719. package/.next/static/chunks/app/api/worktrees/[id]/git/unstage/route-c81284a9d8b35304.js +0 -1
  720. package/.next/static/chunks/app/api/worktrees/[id]/git/working-diff/route-c81284a9d8b35304.js +0 -1
  721. package/.next/static/chunks/app/api/worktrees/[id]/instances/notes/route-c81284a9d8b35304.js +0 -1
  722. package/.next/static/chunks/app/api/worktrees/[id]/instances/opencode/route-c81284a9d8b35304.js +0 -1
  723. package/.next/static/chunks/app/api/worktrees/[id]/interrupt/route-c81284a9d8b35304.js +0 -1
  724. package/.next/static/chunks/app/api/worktrees/[id]/kill-session/route-c81284a9d8b35304.js +0 -1
  725. package/.next/static/chunks/app/api/worktrees/[id]/logs/[filename]/route-c81284a9d8b35304.js +0 -1
  726. package/.next/static/chunks/app/api/worktrees/[id]/logs/route-c81284a9d8b35304.js +0 -1
  727. package/.next/static/chunks/app/api/worktrees/[id]/marp-render/route-c81284a9d8b35304.js +0 -1
  728. package/.next/static/chunks/app/api/worktrees/[id]/memos/[memoId]/route-c81284a9d8b35304.js +0 -1
  729. package/.next/static/chunks/app/api/worktrees/[id]/memos/route-c81284a9d8b35304.js +0 -1
  730. package/.next/static/chunks/app/api/worktrees/[id]/messages/route-c81284a9d8b35304.js +0 -1
  731. package/.next/static/chunks/app/api/worktrees/[id]/opencode/diff/route-c81284a9d8b35304.js +0 -1
  732. package/.next/static/chunks/app/api/worktrees/[id]/opencode/session/route-c81284a9d8b35304.js +0 -1
  733. package/.next/static/chunks/app/api/worktrees/[id]/opencode/share/route-c81284a9d8b35304.js +0 -1
  734. package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/route-c81284a9d8b35304.js +0 -1
  735. package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/strict/route-c81284a9d8b35304.js +0 -1
  736. package/.next/static/chunks/app/api/worktrees/[id]/resolve-target/route-c81284a9d8b35304.js +0 -1
  737. package/.next/static/chunks/app/api/worktrees/[id]/respond/route-c81284a9d8b35304.js +0 -1
  738. package/.next/static/chunks/app/api/worktrees/[id]/route-c81284a9d8b35304.js +0 -1
  739. package/.next/static/chunks/app/api/worktrees/[id]/schedules/[scheduleId]/route-c81284a9d8b35304.js +0 -1
  740. package/.next/static/chunks/app/api/worktrees/[id]/schedules/active/route-c81284a9d8b35304.js +0 -1
  741. package/.next/static/chunks/app/api/worktrees/[id]/schedules/route-c81284a9d8b35304.js +0 -1
  742. package/.next/static/chunks/app/api/worktrees/[id]/search/route-c81284a9d8b35304.js +0 -1
  743. package/.next/static/chunks/app/api/worktrees/[id]/send/route-c81284a9d8b35304.js +0 -1
  744. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route-c81284a9d8b35304.js +0 -1
  745. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/install/route-c81284a9d8b35304.js +0 -1
  746. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/plan/route-c81284a9d8b35304.js +0 -1
  747. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall/route-c81284a9d8b35304.js +0 -1
  748. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route-c81284a9d8b35304.js +0 -1
  749. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update/route-c81284a9d8b35304.js +0 -1
  750. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update-plan/route-c81284a9d8b35304.js +0 -1
  751. package/.next/static/chunks/app/api/worktrees/[id]/skills/route-c81284a9d8b35304.js +0 -1
  752. package/.next/static/chunks/app/api/worktrees/[id]/slash-commands/route-c81284a9d8b35304.js +0 -1
  753. package/.next/static/chunks/app/api/worktrees/[id]/special-keys/route-c81284a9d8b35304.js +0 -1
  754. package/.next/static/chunks/app/api/worktrees/[id]/tasks/route-c81284a9d8b35304.js +0 -1
  755. package/.next/static/chunks/app/api/worktrees/[id]/terminal/route-c81284a9d8b35304.js +0 -1
  756. package/.next/static/chunks/app/api/worktrees/[id]/timers/history/route-c81284a9d8b35304.js +0 -1
  757. package/.next/static/chunks/app/api/worktrees/[id]/timers/route-c81284a9d8b35304.js +0 -1
  758. package/.next/static/chunks/app/api/worktrees/[id]/todos/[todoId]/route-c81284a9d8b35304.js +0 -1
  759. package/.next/static/chunks/app/api/worktrees/[id]/todos/route-c81284a9d8b35304.js +0 -1
  760. package/.next/static/chunks/app/api/worktrees/[id]/tree/[...path]/route-c81284a9d8b35304.js +0 -1
  761. package/.next/static/chunks/app/api/worktrees/[id]/tree/route-c81284a9d8b35304.js +0 -1
  762. package/.next/static/chunks/app/api/worktrees/[id]/upload/[...path]/route-c81284a9d8b35304.js +0 -1
  763. package/.next/static/chunks/app/api/worktrees/[id]/verify/config/route-c81284a9d8b35304.js +0 -1
  764. package/.next/static/chunks/app/api/worktrees/[id]/verify/route-c81284a9d8b35304.js +0 -1
  765. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route-c81284a9d8b35304.js +0 -1
  766. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/route-c81284a9d8b35304.js +0 -1
  767. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/route-c81284a9d8b35304.js +0 -1
  768. package/.next/static/chunks/app/api/worktrees/[id]/viewed/route-c81284a9d8b35304.js +0 -1
  769. package/.next/static/chunks/app/api/worktrees/apply-default-agents/route-c81284a9d8b35304.js +0 -1
  770. package/.next/static/chunks/app/api/worktrees/route-c81284a9d8b35304.js +0 -1
  771. package/.next/static/chunks/app/layout-46b4cbf07520d9b6.js +0 -1
  772. package/.next/static/chunks/app/manifest.webmanifest/route-c81284a9d8b35304.js +0 -1
  773. package/.next/static/chunks/app/proxy/[...path]/route-c81284a9d8b35304.js +0 -1
  774. package/.next/static/chunks/app/sessions/page-fb241bed579c67aa.js +0 -1
  775. package/.next/static/chunks/app/worktrees/[id]/files/[...path]/page-9cf1ecc59e36a004.js +0 -1
  776. package/.next/static/chunks/app/worktrees/[id]/layout-c81284a9d8b35304.js +0 -1
  777. package/.next/static/chunks/app/worktrees/[id]/page-cbc7749a33450cc5.js +0 -1
  778. package/.next/static/css/743f79ff19ab91e9.css +0 -1
  779. /package/.next/static/{PTlAswXLq8PAe2vUJ8dVP → fqfSDqQMweROeHUzOt_m1}/_buildManifest.js +0 -0
  780. /package/.next/static/{PTlAswXLq8PAe2vUJ8dVP → fqfSDqQMweROeHUzOt_m1}/_ssgManifest.js +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2099],{14524:(e,t,a)=>{a.d(t,{Rb:()=>n,wn:()=>o,yv:()=>r});let r=["recommended","careful"],n="recommended";function o(e){return"recommended"===e||"careful"===e}},38218:(e,t,a)=>{a.d(t,{D:()=>o,a:()=>c});var r=a(12115);let n=r.useLayoutEffect,o=768;function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{breakpoint:t=o}=e,[a,c]=(0,r.useState)(!1);return n(()=>{let e=window.matchMedia("(max-width: ".concat(t-1,"px)"));c(e.matches);let a=e=>{c(e.matches)};return e.addEventListener("change",a),()=>{e.removeEventListener("change",a)}},[t]),a}},76351:(e,t,a)=>{a.d(t,{z9:()=>o,$s:()=>i,t6:()=>c,Ni:()=>s,$B:()=>m,dR:()=>d,S9:()=>l,P0:()=>u});var r=a(82912),n=a.n(r);a(95704);let o=[36e5,108e5,288e5],c=36e5,s={36e5:"autoYes.durations.1h",108e5:"autoYes.durations.3h",288e5:"autoYes.durations.8h"};function d(e){return"number"==typeof e&&o.includes(e)}let i=1e3;function l(e){return(null==e?void 0:e.enabled)!==!0&&(null==e?void 0:e.stopReason)==="server-restart"}function u(e){if(e.length>500)return{valid:!1,error:"Pattern must be ".concat(500," characters or less")};if(!n()(e))return{valid:!1,error:"Pattern may cause performance issues (catastrophic backtracking detected)"};try{return new RegExp(e),{valid:!0}}catch(e){return{valid:!1,error:"Invalid regular expression syntax"}}}function m(e){let t=Math.max(0,e-Date.now()),a=Math.floor(t/36e5),r=Math.floor(t%36e5/6e4),n=Math.floor(t%6e4/1e3);return a>0?"".concat(a,":").concat(r.toString().padStart(2,"0"),":").concat(n.toString().padStart(2,"0")):"".concat(r.toString().padStart(2,"0"),":").concat(n.toString().padStart(2,"0"))}},76471:(e,t,a)=>{a.d(t,{Ej:()=>l,Jd:()=>s,Mq:()=>i,rH:()=>d});var r=a(95155),n=a(12115),o=a(18955),c=a(48481);let s="bg-transparent border-2 border-muted-foreground",d="status.unknown";function i(e,t){return!0===t&&"ready"===e}let l=(0,n.memo)(function(e){let{status:t,label:a,waitingKind:n,unclassified:l}=e,u=(0,o.c)("common"),m=i(t,l);return(0,r.jsx)(c.m,{"data-testid":"status-indicator",status:t,label:m?null!=a?a:u(d):a,waitingKind:n,size:"sm",className:m?s:void 0,"data-unclassified":m?"true":void 0})})},86068:(e,t,a)=>{a.d(t,{o:()=>c});var r=a(95155);a(12115);var n=a(18955),o=a(14524);function c(e){let{value:t,onChange:a,idPrefix:c="auto-yes-answer-mode",labelClassName:s="font-medium mb-2"}=e,d=(0,n.c)("autoYes"),i="".concat(c,"-label");return(0,r.jsxs)("div",{className:"text-sm text-foreground",children:[(0,r.jsx)("p",{className:s,id:i,children:d("answerModeLabel")}),(0,r.jsx)("div",{className:"flex flex-col gap-2",role:"radiogroup","aria-labelledby":i,"data-testid":"".concat(c,"-options"),children:o.yv.map(e=>(0,r.jsxs)("button",{type:"button",role:"radio","aria-checked":t===e,onClick:()=>a(e),className:"w-full py-2 px-3 text-left rounded-md border-2 transition-colors ".concat(t===e?"border-accent-600 bg-accent-50 dark:bg-accent-900/30 text-accent-700 dark:text-accent-400":"border-border bg-surface dark:bg-surface-2 text-foreground hover:border-muted-foreground"),style:{minHeight:"44px"},"data-testid":"".concat(c,"-").concat(e),children:[(0,r.jsx)("span",{className:"block text-sm font-medium",children:d("answerModes.".concat(e))}),(0,r.jsx)("span",{className:"block text-xs text-muted-foreground",children:d("answerModeDescriptions.".concat(e))})]},e))}),(0,r.jsx)("p",{className:"mt-2 text-xs text-muted-foreground","data-testid":"".concat(c,"-permission-note"),children:d("answerModePermissionNote")})]})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5371],{11620:(e,t,n)=>{n.d(t,{D:()=>i,c:()=>r});var l=n(12115);function r(e){return!!e&&e.split(" ").includes("language-mermaid")}function i(e){let t=l.Children.toArray(e)[0];if(!l.isValidElement(t))return!1;let n=t.props.className;return r("string"==typeof n?n:void 0)}},32388:(e,t,n)=>{n.d(t,{AY:()=>p});var l=n(95155),r=n(12115),i=n(67909),a=n(18955),o=n(3005),u=n(94271),s=n(11620),d=n(63453);let f=(0,i.default)(()=>Promise.all([n.e(221),n.e(1111),n.e(953)]).then(n.bind(n,90953)).then(e=>({default:e.MermaidDiagram})),{loadableGenerated:{webpack:()=>[90953]},ssr:!1,loading:function(){let e=(0,a.c)("worktree");return(0,l.jsxs)("div",{className:"mermaid-loading flex items-center gap-2 text-muted-foreground p-4",children:[(0,l.jsx)(o.y,{size:"sm"}),(0,l.jsx)("span",{children:e("mermaid.loading")})]})}}),c={[u.Zq]:"true"},h={[u.i5]:"true"};function g(e){let{code:t,node:n}=e,i=(0,a.c)("worktree"),[o,s]=(0,r.useState)(!1),g=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{var t;s("error"===e),null==(t=g.current)||t.dispatchEvent(new CustomEvent(u.Rb,{bubbles:!0}))},[]),m=t.endsWith("\n")?t.slice(0,-1):t,v=(0,r.useContext)(d.E),y=function(e){var t,n;let l=null==e?void 0:e.position,r=null==l||null==(t=l.start)?void 0:t.offset,i=null==l||null==(n=l.end)?void 0:n.offset;return"number"==typeof r&&"number"==typeof i?{start:r,end:i}:null}(n),b=y&&v?v(y.start):null,x=y&&v?v(y.end):null,w=null!==b&&null!==x&&x>b?{[u.i4]:String(b),[u.tz]:String(x)}:{};return(0,l.jsxs)("div",{ref:g,"data-testid":"mermaid-block-frame",className:"mermaid-block",children:[(0,l.jsx)("div",{...c,className:"mermaid-figure",children:(0,l.jsx)(f,{code:t,onRenderStateChange:p})}),(0,l.jsxs)("details",{"data-testid":"mermaid-source",className:"mermaid-source",open:o||void 0,children:[(0,l.jsx)("summary",{...c,children:i("mermaid.source")}),(0,l.jsx)("pre",{children:(0,l.jsx)("code",{...h,...w,children:m})})]})]})}function p(e){let{className:t,children:n,node:r}=e;if((0,s.c)(t)){let e=null==n?"":"string"==typeof n?n:Array.isArray(n)?n.map(e=>"string"==typeof e?e:"").join(""):String(n);return(0,l.jsx)(g,{code:e,node:r})}return(0,l.jsx)("code",{className:t,children:n})}},38152:(e,t,n)=>{n.d(t,{Ad:()=>i,Wo:()=>l,v5:()=>a});let l=e=>e,r=/^[ \t>]*$/;function i(e,t,n){if(e===t)return l;let i=[],a=0;for(let e of t.split("\n"))(!n||n.some(e=>a>=e.start&&a<e.end))&&i.push({start:a,text:e}),a+=e.length+1;let o=[],u=[],s=0,d=0;for(let t of e.split("\n")){let e=-1;for(let n=s;n<i.length;n++){let l=i[n].text;if(l.endsWith(t)&&r.test(l.slice(0,l.length-t.length))){e=n;break}}if(-1===e)return null;o.push(d),u.push(i[e].start+i[e].text.length-t.length),d+=t.length+1,s=e+1}return t=>{if(t<0||t>e.length)return null;let n=0,l=o.length-1;for(;n<l;){let e=n+l+1>>1;o[e]<=t?n=e:l=e-1}return u[n]+(t-o[n])}}function a(e,t){if(t.map(e=>e.text).join("\n")!==e)return null;if(0===t.length)return()=>null;let n=[],l=0;for(let e of t)n.push(l),l+=e.text.length+1;return l=>{if(l<0||l>e.length)return null;let r=0,i=n.length-1;for(;r<i;){let e=r+i+1>>1;n[e]<=l?r=e:i=e-1}let a=t[r].rawStart;return null===a?null:a+(l-n[r])}}},60322:(e,t,n)=>{n.d(t,{l:()=>r});let l=/\x1b\[[0-9;]*[a-zA-Z]|\x1b\][^\x07]*\x07|\[[0-9;]*m/g;async function r(e){var t;if(!e||0===e.trim().length)return;let n=e.replace(l,"");if(null==(t=navigator.clipboard)?void 0:t.writeText)try{await navigator.clipboard.writeText(n);return}catch(e){}let r=document.createElement("textarea");r.value=n,r.style.position="fixed",r.style.left="-9999px",r.style.top="-9999px",r.style.opacity="0",document.body.appendChild(r),r.focus(),r.select();try{document.execCommand("copy")}finally{document.body.removeChild(r)}}},63453:(e,t,n)=>{n.d(t,{E:()=>i});var l=n(12115),r=n(94271);let i=(0,l.createContext)(r.Wo)},94271:(e,t,n)=>{n.d(t,{Gw:()=>H,Wo:()=>N.Wo,Rb:()=>o,tz:()=>a,i4:()=>i,i5:()=>r,Zq:()=>l,Ad:()=>N.Ad,Gg:()=>J,aX:()=>G,fq:()=>U,HI:()=>$,eu:()=>D,p0:()=>_,po:()=>B});let l="data-search-skip",r="data-mermaid-source",i="data-mermaid-raw-start",a="data-mermaid-raw-end",o="commandmate:mermaid-block-settled";var u,s=n(14733),d=n(29833),f=n(99112);let c=/^( {0,3})(`{3,}|~{3,})(.*)$/,h=/^ {0,3}(?:[-*+]|\d{1,9}[.)]) {1,4}(?=`{3,}|~{3,})/;function g(e,t,n,l){let r=0;for(;r<l&&t+r<n&&" "===e[t+r];)r+=1;return r}let p=/^ {0,3}>[ \t]?/;function m(e,t,n){let l=0,r=t.start;for(;l<n;){let n=p.exec(e.slice(r,t.end));if(!n)break;r+=n[0].length,l+=1}return{depth:l,contentStart:r}}let v=null;function y(e){let t=e.filter(e=>e.end>e.start).sort((e,t)=>e.start-t.start),n=[];for(let e of t){let t=n[n.length-1];t&&e.start<=t.end?t.end=Math.max(t.end,e.end):n.push({...e})}return n}function b(e,t){let n=e.map(e=>({...e}));for(let e of t)n=n.flatMap(t=>{if(e.end<=t.start||e.start>=t.end)return[t];let n=[];return e.start>t.start&&n.push({start:t.start,end:e.start}),e.end<t.end&&n.push({start:e.end,end:t.end}),n});return n}function x(e,t,n){return e.map(e=>({start:Math.max(e.start,t),end:Math.min(e.end,n)})).filter(e=>e.end>e.start)}function w(e,t,n){return t.flatMap(t=>(function(e,t){let n=[];if(!t)return n;let l=0;for(;;){let r=e.indexOf(t,l);if(-1===r)return n;n.push(r),l=r+1}})(e.slice(t.start,t.end),n).filter(e=>t.start+e+n.length<=t.end).map(e=>t.start+e))}let E=(e,t)=>e.some(e=>t>=e.start&&t<e.end),S="data-search-section";var N=n(38152);let k=/&(?:#([0-9]{1,7})|#[xX]([0-9a-fA-F]{1,6})|([A-Za-z][A-Za-z0-9]{0,31}));/y,C=e=>/\s/.test(e),O=new Map;function I(e,t){var n,l;k.lastIndex=t;let r=k.exec(e);if(!r)return null;let i=t+r[0].length,a=void 0!==r[3]?function(e){let t=O.get(e);if(void 0!==t)return t;let n=null;if("undefined"!=typeof DOMParser){var l;let t=null!=(l=new DOMParser().parseFromString("<b>".concat(e,"</b>"),"text/html").body.textContent)?l:"";n=t!==e&&""!==t?t:null}return O.set(e,n),n}(r[0]):(l=Number.parseInt(null!=(n=r[1])?n:r[2],void 0!==r[1]?10:16))<9||11===l||l>13&&l<32||l>126&&l<160||l>55295&&l<57344||l>64975&&l<65008||(65535&l)==65535||(65535&l)==65534||l>1114111?"�":String.fromCodePoint(l);return null===a?null:{end:i,drawn:a}}let T="data-search-raw";function A(e){if(e.length%2!=0)return null;let t=[];for(let n=0;n<e.length;n+=2){let l=Number.parseInt(e[n],10),r=Number.parseInt(e[n+1],10);if(!Number.isInteger(l)||!Number.isInteger(r)||r<l)return null;t.push({start:l,end:r})}return t}function j(e,t,n){var l,r,i;let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null!=(u=null==(i=n[0])?void 0:i.start)?u:0;if(1===n.length&&t.slice(a,a+e.length)===e)return Array.from({length:e.length},(e,t)=>a+t);let o=null!=(r=null==(l=n[n.length-1])?void 0:l.end)?r:a,s=e=>n.findIndex(t=>e>=t.start&&e<t.end),d=function(e,l,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;for(let a=i;a<n.length;a++){if(n[a].end<=l)continue;if(n[a].start>=r)break;let i=t.indexOf(e,Math.max(l,n[a].start));if(-1!==i&&i<Math.min(n[a].end,r))return{idx:i,span:a}}return null},f=Array(e.length).fill(-1),c=a,h=0,g=[],p=a,m=(n,l,r)=>{for(let i=t.indexOf("&",n);-1!==i&&i<l;i=t.indexOf("&",i+1)){if(-1===s(i))continue;let n=I(t,i);if(n&&/^\s+$/.test(n.drawn)&&!(r+n.drawn.length>g.length)&&g.slice(r,r+n.drawn.length).map(t=>e[t]).join("")===n.drawn)return{idx:i,end:n.end,units:n.drawn.length}}return null},v=t=>{let n=p;for(let l=0;l<g.length;l++){let r=g[l],i=d(e[r],n,t),a=m(n,i?i.idx:t,l);if(a){for(let e=0;e<a.units;e++)f[g[l+e]]=a.idx;l+=a.units-1,n=a.end}else i&&(f[r]=i.idx,n=i.idx+1)}g=[]};for(let n=0;n<e.length;n++){let l,r=e[n];if(C(r)){0===g.length&&(p=c),g.push(n);continue}let i=c,a=null;for(;i<t.length&&-1!==s(i);){if(C(t[i])){i+=1;continue}let l="&"===t[i]?I(t,i):null;if(!l||e.startsWith(t.slice(i,l.end),n))break;if(/^\s+$/.test(l.drawn)){i=l.end;continue}e.startsWith(l.drawn,n)&&(a={start:i,end:l.end,length:l.drawn.length});break}let o=1;if(a)h=s(l=a.start),c=a.end,o=a.length;else{let e=d(r,Math.max(c,i),1/0,h);if(!e)return null;l=e.idx,h=e.span,c=l+1}v(l);for(let e=0;e<o;e++)f[n+e]=l;n+=o-1}return v(o),f}let M=/^[ \t>]*(`{3,}|~{3,})/,R=e=>"number"==typeof(null==e?void 0:e.offset)?e.offset:null;function W(e,t,n,l){if(void 0===l){let l=n(e),r=n(t);return null!==l&&null!==r&&r>=l?[{start:l,end:r}]:null}let r=[],i=e;for(let a=l.indexOf("\n",e);;a=l.indexOf("\n",a+1)){let e=-1===a||a>=t,l=n(i),o=n(e?t:a);if(null===l!=(null===o))return null;if(null!==l&&null!==o){let t=o+ +!e;if(t<l)return null;let n=r[r.length-1];n&&n.end===l?n.end=t:r.push({start:l,end:t})}if(e)return r.length>0?r:null;i=a+1}}function _(e){let t=(null==e?void 0:e.toRaw)===void 0?N.Wo:e.toRaw;return(n,l)=>{var r;let i=null!=(r=null==e?void 0:e.source)?r:"string"==typeof(null==l?void 0:l.value)?l.value:void 0;t&&function e(t,n,l){if("root"===t.type||"element"===t.type){if("element"===t.type){var r,i;let e=R(null==(r=t.position)?void 0:r.start),a=R(null==(i=t.position)?void 0:i.end),o=null===e||null===a?null:W(e,a,n,l);if(o){let e=[o.map(e=>"".concat(e.start,",").concat(e.end)).join(",")];for(let r of t.children)"text"===r.type&&e.push(...function(e,t,n){var l,r;let i=e.value.length,a=R(null==(l=e.position)?void 0:l.start),o=R(null==(r=e.position)?void 0:r.end),u=null===a||null===o?null:W(a,o,t,n);if(!u)return[",,".concat(i)];if(1===u.length||void 0===n||null===a||null===o)return["".concat(u[0].start,",").concat(u[0].end,",").concat(i)];let s=[];for(let e=n.indexOf("\n",a);-1!==e&&e<o;e=n.indexOf("\n",e+1))s.push(e);let d=e.value.split("\n");if(d.length!==s.length+1){let[e,...t]=u;return[["".concat(e.start,",").concat(e.end,",").concat(i),...t.map(e=>"".concat(e.start,",").concat(e.end))].join(",")]}return d.map((e,l)=>{let r=l===d.length-1,i=e.length+ +!r,u=W(0===l?a:s[l-1]+1,r?o:s[l],t,n);return u?"".concat(u[0].start,",").concat(u[0].end+ +!r,",").concat(i):",,".concat(i)})}(r,n,l));t.properties={...t.properties,dataSearchRaw:e.join(";")}}}for(let r of t.children)e(r,n,l)}}(n,t,i)}}function B(e){let t=e[T];return"string"==typeof t?{[T]:t}:{}}let F={highlightName:"terminal-search",currentHighlightName:"terminal-search-current",fallbackOverlayId:"terminal-search-fallback-overlay",fallbackOverlayBgColor:"rgba(255, 165, 0, 0.6)"},H={highlightName:"history-search",currentHighlightName:"history-search-current",fallbackOverlayId:"history-search-fallback-overlay",fallbackOverlayBgColor:"rgba(59, 130, 246, 0.6)"};function D(e){return{highlightName:"history-search-".concat(e),currentHighlightName:"history-search-current-".concat(e),fallbackOverlayId:"history-search-fallback-overlay-".concat(e),fallbackOverlayBgColor:H.fallbackOverlayBgColor}}function z(){return"undefined"!=typeof CSS&&null!==CSS&&"highlights"in CSS}let L=new Map;function q(e){var t;L.delete(e.highlightName),z()&&(CSS.highlights.delete(e.highlightName),CSS.highlights.delete(e.currentHighlightName)),null==(t=document.getElementById(e.fallbackOverlayId))||t.remove()}function X(e,t,n,o,u){var p,N,k;if(0===t.length){let t=L.get(o.highlightName);return(null==t||t.delete(e),t&&V(t),t&&0!==t.size)?(P(o,t),void Z(e,o)):void q(o)}let C=function(e){let t,n=[],r=0,i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,{acceptNode:e=>e.nodeType===Node.TEXT_NODE?NodeFilter.FILTER_ACCEPT:e.hasAttribute(l)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_SKIP});for(;t=i.nextNode();){var a,o;let e=t,l=null!=(o=null==(a=e.nodeValue)?void 0:a.length)?o:0;n.push({node:e,start:r,end:r+l}),r+=l}return n}(e),O=(null!=(N=(null==u?void 0:u.sourceText)!==void 0?function(e,t,n,l,o){let u=()=>(function(e,t,n,l){var r,i;if(!e.querySelector("[".concat(T,"]")))return null;let a=new Map;for(let n of t){let t=null==(r=n.node.parentElement)?void 0:r.closest("[".concat(T,"]"));if(!t||!e.contains(t))continue;let l=a.get(t);l?l.push(n):a.set(t,[n])}let o=new Int32Array(n.length).fill(-1),u=new Int32Array(n.length).fill(-1);for(let[e,t]of a){let l=function(e){let[t,...n]=e.split(";"),l=A(t.split(","));if(!l||0===l.length)return null;let r=[];for(let e of n){let[t,n,l,...i]=e.split(","),a=Number.parseInt(l,10);if(!Number.isInteger(a)||a<0)return null;if(""===t||""===n){r.push({start:null,end:null,length:a,spans:[]});continue}let o=A([t,n,...i]);if(!o)return null;r.push({start:o[0].start,end:o[o.length-1].end,length:a,spans:o})}return{start:l[0].start,end:l[l.length-1].end,spans:l,segments:r}}(null!=(i=e.getAttribute(T))?i:"");if(!l)continue;let r=t.map(e=>{var t;return null!=(t=e.node.nodeValue)?t:""}).join("");if(l.segments.reduce((e,t)=>e+t.length,0)!==r.length)continue;let a=[];for(let e of t)for(let t=e.start;t<e.end;t++)a.push(t);let s=l.start;if(M.exec(n.slice(l.start,l.end))){let e=n.indexOf("\n",l.start);s=-1===e?l.end:e+1}let d=0;for(let e of l.segments){let t=r.slice(d,d+e.length),i=null;null!==e.start&&null!==e.end?(i=j(t,n,e.spans))&&(s=Math.max(s,e.end)):""!==t.trim()&&(i=j(t,n,l.spans,s))&&i.length>0&&(s=i.reduce((e,t)=>Math.max(e,t+1),s)),null==i||i.forEach((e,l)=>{if(e<0||e>=o.length||-1!==o[e]||(o[e]=a[d+l],u[e]=a[d+l]+1,"&"!==n[e]))return;let r=l;for(;i[r+1]===e;)r+=1;if(i[r+1]===e+1)return;let s=I(n,e);s&&s.drawn.length===r-l+1&&t.startsWith(s.drawn,l)&&-1===u[s.end-1]&&(u[s.end-1]=a[d+r]+1)}),d+=e.length}}return l.map(e=>{if(e.end<=e.start||e.end>o.length)return null;let t=o[e.start],n=u[e.end-1];return -1!==t&&-1!==n&&n>t?{start:t,end:n}:null})})(e,t,n,l),p=function(e,t,n,l,o){let u=Array.from(e.querySelectorAll("[".concat(r,"]")));if(0===u.length)return null;let p=null,N=t.map(e=>{var t;return null!=(t=e.node.nodeValue)?t:""}).join(""),k=new Set(o.map(e=>e.key)),C=t=>{var n;let l=null==(n=t.nodeType===Node.TEXT_NODE?t.parentElement:t)?void 0:n.closest("[".concat(S,"]")),r=l&&e.contains(l)?l.getAttribute(S):null;return null!==r&&k.has(r)?r:""},O=new Map(o.map(e=>[e.key,y(e.ranges)])),I=y(o.flatMap(e=>e.ranges)),T=["",...k].map(e=>{let l=""===e?b([{start:0,end:n.length}],I):O.get(e),r=y(t.filter(t=>C(t.node)===e).map(e=>{let{start:t,end:n}=e;return{start:t,end:n}})),o=[];for(let n of u){if(C(n)!==e)continue;let l=t.filter(e=>n.contains(e.node));if(0===l.length)continue;let r=l[0].start,i=l[l.length-1].end;o.push({domStart:r,domEnd:i,text:N.slice(r,i),element:n})}let w=function(e,t,n){if(0===n.length)return null;let l=[];for(let u of n){var r,o;let n=Number.parseInt(null!=(r=u.element.getAttribute(i))?r:"",10),s=Number.parseInt(null!=(o=u.element.getAttribute(a))?o:"",10);if(!Number.isInteger(n)||!Number.isInteger(s)||!E(t,n))return null;let d=function(e,t,n,l){var r;if(!(t>=0&&n<=e.length&&t<n))return null;let i=e.slice(t,n);if(!/^(?:`{3,}|~{3,})/.test(i))return null;let a=i.split("\n"),o=l.length>0?l.split("\n"):[],u=a.length-1;if(o.length>0&&u!==o.length&&u!==o.length+1)return null;let s=[],d=t+a[0].length+1,f=0;for(let e=0;e<o.length;e++){let t=a[e+1],n=o[e];if(!t.endsWith(n))return null;s.push({rawStart:d+t.length-n.length,length:n.length,bodyOffset:f}),f+=n.length+1,d+=t.length+1}let c=(null!=(r=e.slice(e.lastIndexOf("\n",t-1)+1,t).match(/>/g))?r:[]).length;return{fenceStart:t,bodyStart:s.length>0?t+a[0].length+1:t+a[0].length,bodyEnd:s.length>0?s[s.length-1].rawStart+s[s.length-1].length:t+a[0].length,fenceEnd:n,body:l,quoteDepth:c,lines:s}}(e,n,s,u.text),f=l[l.length-1];if(!d||f&&d.fenceStart<f.fenceEnd)return null;l.push(d)}return l}(n,l,o),S=null!=w?w:(null!=p?p:p=function(e){let t=[],n=function(e){null!=v||(v=(0,d.l)().use(s.A).use(f.eT));let t=new Set;for(let l of function e(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if("code"===t.type)"mermaid"===t.lang&&n.push(t);else if("children"in t)for(let l of t.children)e(l,n);return n}(v.parse(e))){var n;let e=null==(n=l.position)?void 0:n.start.offset;void 0!==e&&t.add(e)}return t}(e),l=[],r=0;for(;r<=e.length;){let t=e.indexOf("\n",r),n=-1===t?e.length:t;if(l.push({start:r,end:n}),-1===t)break;r=t+1}for(let r=0;r<l.length;r++){let{depth:i,contentStart:a}=m(e,l[r],1/0),o=h.exec(e.slice(a,l[r].end)),u=o?o[0].length:0,s=c.exec(e.slice(a+u,l[r].end));if(!s)continue;let d=a+u+s[1].length;if(!n.has(d))continue;let f=s[1].length,p=s[2],v=s[3].trim();if("`"===p[0]&&v.includes("`"))continue;let y=new RegExp("^ {0,3}".concat("`"===p[0]?"`":"~","{").concat(p.length,",}[ \\t]*$")),b=[],x=r;for(let t=r+1;t<l.length;t++){let n=m(e,l[t],i);if(n.depth<i)break;let r=n.contentStart,a=l[t].end;if(u>0){let t=g(e,r,a,u);if(0!==e.slice(r,a).trim().length&&t<u)break;r+=t}if(x=t,y.test(e.slice(r,a)))break;r+=g(e,r,a,f),b.push({rawStart:r,length:a-r,bodyOffset:0})}if("mermaid"===v.split(/[ \t]/)[0]){let n=0;for(let e of b)e.bodyOffset=n,n+=e.length+1;let a=b.length>0?l[r+1].start:l[r].end,o=b.length>0?b[b.length-1].rawStart+b[b.length-1].length:a;t.push({fenceStart:l[r].start,bodyStart:a,bodyEnd:o,fenceEnd:l[x].end,body:b.map(t=>e.slice(t.rawStart,t.rawStart+t.length)).join("\n"),quoteDepth:i,lines:b})}r=x}return t}(n)).filter(e=>E(l,e.fenceStart)),k=[];if(w)w.forEach((e,t)=>k.push({fence:e,source:o[t]}));else if(S.length===o.length&&S.every((e,t)=>e.body===o[t].text))S.forEach((e,t)=>k.push({fence:e,source:o[t]}));else{let e=0;for(let t of o)for(let n=e;n<S.length;n++)if(S[n].body===t.text){k.push({fence:S[n],source:t}),e=n+1;break}}let T=y(S.map(e=>({start:e.fenceStart,end:e.fenceEnd}))),A=y(o.map(e=>({start:e.domStart,end:e.domEnd}))),j=[],M=0,R=0;for(let e of[...k.map(e=>({rawStart:e.fence.fenceStart,rawEnd:e.fence.fenceEnd,domStart:e.source.domStart,domEnd:e.source.domEnd})),{rawStart:1/0,rawEnd:0,domStart:1/0,domEnd:0}])j.push({raw:b(x(l,M,e.rawStart),T),dom:b(x(r,R,e.domStart),A),rawFrom:M,rawTo:e.rawStart}),M=e.rawEnd,R=e.domEnd;return{raw:l,fences:S,pairs:k,gaps:j}}),A=n.toLowerCase(),j=N.toLowerCase();return l.map(e=>{let t=e.end-e.start,n=T.find(t=>E(t.raw,e.start));if(!n)return null;let l=n.fences.find(t=>e.start>=t.fenceStart&&e.start<t.fenceEnd);if(l){let r=n.pairs.find(e=>e.fence===l);if(!r)return null;let i=l.lines.find(t=>e.start>=t.rawStart&&e.start<t.rawStart+t.length);if(!i)return null;let a=r.source.domStart+i.bodyOffset+(e.start-i.rawStart);return{start:a,end:Math.min(a+t,r.source.domEnd)}}let r=n.gaps.find(t=>e.start>=t.rawFrom&&e.start<t.rawTo);if(!r)return null;let i=A.slice(e.start,e.end),a=w(A,r.raw,i).indexOf(e.start),o=w(j,r.dom,i);return -1===a||a>=o.length?null:{start:o[a],end:o[a]+t}})}(e,t,n,l,o);if(!p)return u();let N=u();if(!N)return p;let k=Array.from(e.querySelectorAll("[".concat(r,"]"))).flatMap(e=>{let n=t.filter(t=>e.contains(t.node));return n.length>0?[{start:n[0].start,end:n[n.length-1].end}]:[]}),C=e=>k.some(t=>e.start<t.end&&e.end>t.start);return p.map((e,t)=>{if(e&&C(e))return e;let n=N[t];return n&&!C(n)?n:null})}(e,C,u.sourceText,t,null!=(p=u.sections)?p:[]):null)?N:t).map(e=>e?function(e,t,n){let l=document.createRange(),r=!1;for(let{node:i,start:a,end:o}of e)if(!r&&t<o&&t>=a&&(l.setStart(i,t-a),r=!0),r&&n<=o)return l.setEnd(i,n-a),l;return r?l:null}(C,e.start,e.end):null);O.forEach(t=>{t&&function(e,t){let n=e.startContainer,l=n.nodeType===Node.TEXT_NODE?n.parentElement:n,i=null==l?void 0:l.closest("details");i instanceof HTMLDetailsElement&&!i.open&&t.contains(i)&&i.querySelector("[".concat(r,"]"))&&(i.open=!0)}(t,e)});let R=null!=(k=O[n])?k:null,W=[];O.forEach((e,t)=>{t!==n&&e&&W.push(e)});let _=L.get(o.highlightName);if(_||(_=new Map,L.set(o.highlightName,_)),_.set(e,W),P(o,_,e),n>=0?function(e,t,n){let l=document.getElementById(n.fallbackOverlayId);if(l&&l.parentElement!==e&&(l.remove(),l=null),!t||"function"!=typeof t.getBoundingClientRect){null==l||l.remove();return}let r=t.getBoundingClientRect(),i=e.getBoundingClientRect();l?l.style.backgroundColor=n.fallbackOverlayBgColor:((l=document.createElement("div")).id=n.fallbackOverlayId,l.style.position="absolute",l.style.backgroundColor=n.fallbackOverlayBgColor,l.style.borderRadius="2px",l.style.pointerEvents="none",l.style.zIndex="5",e instanceof HTMLElement&&(e.style.position="relative"),e.appendChild(l)),l.style.top="".concat(r.top-i.top+e.scrollTop,"px"),l.style.left="".concat(r.left-i.left+e.scrollLeft,"px"),l.style.width="".concat(r.width,"px"),l.style.height="".concat(r.height,"px")}(e,R,o):Z(e,o),R){let e=R.startContainer,t=e.nodeType===Node.TEXT_NODE?e.parentElement:e;t&&"function"==typeof t.scrollIntoView&&t.scrollIntoView({block:"center",behavior:"smooth"})}}function P(e,t,n){if(V(t,n),!z())return;let l=Array.from(t.values()).flat();CSS.highlights.set(e.highlightName,new Highlight(...l)),CSS.highlights.delete(e.currentHighlightName)}function V(e,t){for(let n of Array.from(e.keys()))n===t||n.isConnected||e.delete(n)}function Z(e,t){let n=document.getElementById(t.fallbackOverlayId);n&&e.contains(n)&&n.remove()}function $(){q(F)}function G(e,t,n){X(e,t,n,F)}function U(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H;q(e)}function J(e,t,n){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:H,r=arguments.length>4?arguments[4]:void 0;X(e,t,n,l,r)}},99112:(e,t,n)=>{n.d(t,{eT:()=>s});var l=n(22133);let r=["**","__"],i=/^https?:\/\/./i;function a(e){return"object"==typeof e&&null!==e&&"string"==typeof e.type}function o(e,t){var n,l;let r=e.position;if(!r)return null;let i=null==(n=r.start)?void 0:n.offset,a=null==(l=r.end)?void 0:l.offset;return"number"!=typeof i||"number"!=typeof a||!Number.isInteger(i)||!Number.isInteger(a)||i<0||a<i||a>t.length?null:{start:i,end:a}}function u(e,t){var n;return{line:e.line,column:e.column+t,offset:(null!=(n=e.offset)?n:0)+t}}let s=Object.freeze([l.A,function(){return function(e,t){let n=function(e){if("string"==typeof e)return e;if("object"==typeof e&&null!==e){let t=e.value;if("string"==typeof t)return t}return null}(t);null!==n&&a(e)&&function e(t,n){let l=Array.isArray(t.children)?t:null;if(l)for(let t of(!function(e,t){let n=e.children;for(let e=0;e<n.length;e+=1){var l,s,d,f,c,h,g;let p=n[e];if(!a(p)||!function(e,t){if("link"!==e.type||null!==e.title&&void 0!==e.title)return!1;let n=e.url;if("string"!=typeof n||!i.test(n))return!1;let l=o(e,t);if(!l||t.slice(l.start,l.end)!==n)return!1;let r=e.children;if(!Array.isArray(r)||1!==r.length)return!1;let u=r[0];if(!a(u)||"text"!==u.type||u.value!==n)return!1;let s=o(u,t);return null!==s&&s.start===l.start&&s.end===l.end}(p,t))continue;let m=function(e){let t=function(e){for(let t=0;t<e.length;t+=1)if("()、。「」【】".includes(e[t]))return t;return -1}(e);if(t<=0)return null;let n=e.slice(0,t),l=r.find(e=>n.endsWith(e)),a=l?t-l.length:t;if(a<=0)return null;let o=e.slice(0,a);return i.test(o)?{keptUrl:o,tailText:e.slice(a),tailOffset:a,delimiter:null!=l?l:null}:null}(p.url);if(!m)continue;let v=o(p,t),y=null==(l=p.position)?void 0:l.start,b=null==(s=p.position)?void 0:s.end;if(!v||!y||!b)continue;let x=null!==m.delimiter&&function(e,t,n,l){if(!e||"text"!==e.type||"string"!=typeof e.value||!e.value.endsWith(t))return!1;let r=o(e,l);if(!r||r.end!==n)return!1;let i=l.slice(r.start,r.end);if(!i.endsWith(t))return!1;let a=i.length-t.length-1;return a<0||"\\"!==i[a]}(n[e-1],m.delimiter,v.start,t),w=x?m.tailText.slice(null!=(h=null==(d=m.delimiter)?void 0:d.length)?h:0):m.tailText,E=x?m.tailOffset+(null!=(g=null==(f=m.delimiter)?void 0:f.length)?g:0):m.tailOffset,S=u(y,m.keptUrl.length);p.url=m.keptUrl;let N=null==(c=p.children)?void 0:c[0];N&&(N.value=m.keptUrl,N.position={start:{...y},end:{...S}}),p.position={start:{...y},end:S};let k={type:"text",value:w,position:{start:u(y,E),end:{...b}}};if(x&&m.delimiter){let t=n[e-1],l=u(y,-m.delimiter.length),r={type:"strong",children:[p],position:{start:l,end:u(y,E)}},i=t.value.slice(0,-m.delimiter.length);0===i.length?(n.splice(e-1,1),e-=1):(t.value=i,t.position&&(t.position={...t.position,end:l})),n[e]=r}n.splice(e+1,0,k),e+=1}}(l,n),l.children))a(t)&&e(t,n)}(e,n)}}])}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6288],{5118:(e,t,s)=>{s.d(t,{G8:()=>N,OJ:()=>v,RF:()=>w,Uc:()=>R});var a=s(95155),l=s(12115),n=s(18955),r=s(36578),i=s(89451),d=s(10934),o=s(92254),c=s(5225);s(1226);var u=s(89715),x=s(57828),m=s(52056),p=s(65229),g=s(32388),h=s(11620),k=s(50666),f=s(38021),j=s(69352),b=s(76246),y=s(99112);let N=(0,l.memo)(function(e){let{content:t,onOpenFile:s,currentFilePath:n,worktreeId:u}=e,x=(0,l.useRef)(s);x.current=s;let m=(0,l.useRef)(n);m.current=n;let p=(0,l.useRef)(u);p.current=u;let N=(0,l.useCallback)((e,t)=>{let s=(0,j.d3)(t);if(s)switch((0,j.dj)(s)){case"anchor":break;case"external":e.preventDefault(),window.open(s,"_blank","noopener,noreferrer");break;case"relative":{e.preventDefault();let t=m.current,a=x.current;if(t&&a){let e=(0,j.WU)(t,s);e&&a(e)}}}},[]),w=(0,l.useMemo)(()=>({code:g.AY,pre:e=>{let{children:t}=e;return(0,h.D)(t)?(0,a.jsx)(a.Fragment,{children:t}):(0,a.jsx)(k.Ck,{children:(0,a.jsx)("pre",{className:"overflow-x-auto",children:t})})},img:e=>{var t,s,l,n;let{src:r,alt:i,width:d,height:o,...c}=e,u=null!=d?d:null==(s=c.node)||null==(t=s.properties)?void 0:t.width,x=null!=o?o:null==(n=c.node)||null==(l=n.properties)?void 0:l.height;if("string"==typeof r&&!r.startsWith("http://")&&!r.startsWith("https://")&&!r.startsWith("data:")){let e=m.current,t=p.current;if(e&&t){let s=(0,j.WU)(e,r);if(s){let e="/api/worktrees/".concat(t,"/files/").concat((0,b.o)(s));return(0,a.jsx)(f.n,{apiUrl:e,alt:null!=i?i:"",width:u,height:x})}}}return(0,a.jsx)("img",{src:r,alt:null!=i?i:"",width:u,height:x,style:{maxWidth:u||"100%"}})},a:e=>{let{href:t,children:s,...l}=e;return t?(0,a.jsx)("a",{...l,href:t,onClick:e=>N(e,t),children:s}):(0,a.jsx)("a",{...l,children:s})}}),[N]),v=(0,l.useMemo)(()=>[i.A,[d.A,j.uO],o.A,c.A],[]);return(0,a.jsx)(r.oz,{remarkPlugins:y.eT,rehypePlugins:v,components:w,children:t})}),w=(0,l.memo)(function(e){let{mobileTab:t,onTabChange:s}=e,l=(0,n.c)("worktree");return(0,a.jsxs)("div",{className:"flex border-b border-border",children:[(0,a.jsxs)("button",{"data-testid":"mobile-tab-editor",onClick:()=>s("editor"),className:"flex-1 py-2 text-sm font-medium ".concat("editor"===t?"text-accent-600 dark:text-accent-400 border-b-2 border-accent-600 dark:border-accent-400":"text-muted-foreground"),children:[(0,a.jsx)(u.A,{className:"h-4 w-4 inline-block mr-1"}),l("markdownPreview.editor")]}),(0,a.jsxs)("button",{"data-testid":"mobile-tab-preview",onClick:()=>s("preview"),className:"flex-1 py-2 text-sm font-medium ".concat("preview"===t?"text-accent-600 dark:text-accent-400 border-b-2 border-accent-600 dark:border-accent-400":"text-muted-foreground"),children:[(0,a.jsx)(x.A,{className:"h-4 w-4 inline-block mr-1"}),l("markdownPreview.preview")]})]})}),v=(0,l.memo)(function(e){let{isMobile:t}=e,s=(0,n.c)("worktree");return(0,a.jsxs)("div",{"data-testid":"maximize-hint",className:"flex items-center justify-center px-4 py-1 bg-muted text-muted-foreground text-xs",children:[s("markdownPreview.exitFullscreenHint")," ",t&&s("markdownPreview.exitFullscreenHintSwipe")]})}),R=(0,l.memo)(function(e){let{onDismiss:t}=e,s=(0,n.c)("worktree");return(0,a.jsxs)("div",{"data-testid":"large-file-warning",className:"flex items-center gap-2 px-4 py-2 bg-warning-subtle border-b border-warning-border text-warning-foreground text-sm",children:[(0,a.jsx)(m.A,{className:"h-4 w-4"}),s("markdownPreview.largeFileWarning"),(0,a.jsx)("button",{onClick:t,className:"ml-auto text-warning hover:text-warning",children:(0,a.jsx)(p.A,{className:"h-4 w-4"})})]})})},34380:(e,t,s)=>{s.d(t,{B:()=>T});var a=s(95155),l=s(12115),n=s(18955),r=s(48407),i=s(54014),d=s(74385),o=s(50825),c=s(37381);function u(e){var t,s,a,l,n;let r=e.agentInstances&&e.agentInstances.length>0?e.agentInstances.map(e=>e.alias||e.cliTool):null!=(s=e.selectedAgents)?s:e.cliToolId?[e.cliToolId]:[];return{id:e.id,name:e.name,repositoryName:null!=(a=e.repositoryDisplayName)?a:e.repositoryName,syncedBranch:null!=(l=e.branch)?l:null,liveBranch:null!=(n=null==(t=e.gitStatus)?void 0:t.currentBranch)?n:null,dirty:e.gitStatus&&!e.gitStatus.statusUnknown?e.gitStatus.isDirty:null,agents:[...new Set(r)],sessionRunning:!0===e.isSessionRunning}}let x={status:"loading",options:[]};async function m(e){let t=await fetch("/api/worktrees",{signal:e,headers:{Accept:"application/json"}});if(!t.ok)throw Error("HTTP ".concat(t.status));let s=await t.json(),a=null==s?void 0:s.worktrees;if(!Array.isArray(a))throw Error("Malformed worktree list");return a.map(u)}function p(e){let{selectedWorktreeId:t,onSelect:s,disabled:i=!1}=e,d=(0,n.c)("skills"),[o,u]=(0,l.useState)(x),[p,h]=(0,l.useState)(0);(0,l.useEffect)(()=>{let e=new AbortController;return u(x),m(e.signal).then(t=>{e.signal.aborted||u({status:"loaded",options:t})}).catch(()=>{e.signal.aborted||u({status:"error",options:[]})}),()=>e.abort()},[p]);let k=(0,l.useCallback)(()=>h(e=>e+1),[]);return"loading"===o.status?(0,a.jsxs)("div",{className:"space-y-2","data-testid":"skill-target-loading",children:[(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:d("target.loading")}),(0,a.jsx)(r.EA,{className:"h-24 w-full rounded-lg"})]}):"error"===o.status?(0,a.jsxs)(r.Zp,{className:"space-y-3","data-testid":"skill-target-error",children:[(0,a.jsx)(c.u,{tone:"danger",children:d("target.errorNotice")}),(0,a.jsx)(r.$n,{variant:"secondary",size:"sm",onClick:k,"data-testid":"skill-target-retry",children:d("target.retry")})]}):0===o.options.length?(0,a.jsx)(r.Zp,{"data-testid":"skill-target-empty",children:(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:d("target.empty")})}):(0,a.jsxs)("div",{className:"space-y-3","data-testid":"skill-target-selector",children:[(0,a.jsx)("div",{role:"radiogroup","aria-label":d("target.heading"),className:"space-y-2",children:o.options.map(e=>(0,a.jsx)(g,{option:e,selected:e.id===t,disabled:i,onSelect:s},e.id))}),(0,a.jsx)(c.u,{tone:"neutral","data-testid":"skill-target-branch-notice",children:d("target.branchFreshnessNotice")})]})}function g(e){var t;let{option:s,selected:l,disabled:i,onSelect:d}=e,o=(0,n.c)("skills"),c=null!=(t=s.liveBranch)?t:s.syncedBranch;return(0,a.jsxs)("button",{type:"button",role:"radio","aria-checked":l,disabled:i,onClick:()=>d(s.id),"data-testid":"skill-target-option-".concat(s.id),className:"w-full rounded-lg border px-3 py-2.5 text-left transition-colors disabled:cursor-not-allowed disabled:opacity-60 ".concat(l?"border-accent-500 bg-accent-50 dark:bg-accent-950/40":"border-border bg-card hover:bg-muted"),children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,a.jsx)("span",{className:"text-sm font-semibold text-foreground break-all",children:s.name}),l&&(0,a.jsx)(r.Ex,{variant:"info",children:o("target.selected")})]}),(0,a.jsxs)("dl",{className:"mt-1.5 grid grid-cols-1 gap-x-4 gap-y-1 sm:grid-cols-2",children:[(0,a.jsx)(h,{label:o("target.repository"),children:s.repositoryName}),(0,a.jsx)(h,{label:o("target.branch"),children:null!=c?c:o("target.branchUnknown")}),(0,a.jsx)(h,{label:o("target.agents"),children:s.agents.length>0?s.agents.join(", "):o("target.agentsNone")}),(0,a.jsx)(h,{label:o("target.workingTree"),children:o(null===s.dirty?"target.workingTreeUnknown":s.dirty?"target.workingTreeDirty":"target.workingTreeClean")})]}),s.sessionRunning&&(0,a.jsx)("p",{className:"mt-1.5 text-xs text-muted-foreground","data-testid":"skill-target-session-".concat(s.id),children:o("target.sessionRunning")})]})}function h(e){let{label:t,children:s}=e;return(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("dt",{className:"text-xs font-medium text-muted-foreground",children:t}),(0,a.jsx)("dd",{className:"text-xs text-foreground break-words",children:s})]})}var k=s(95584);function f(e){let{label:t,children:s}=e;return(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("dt",{className:"text-xs font-medium text-muted-foreground",children:t}),(0,a.jsx)("dd",{className:"mt-0.5 break-words text-sm text-foreground",children:s})]})}function j(e){let{level:t,kind:s,label:l}=e,i=(0,n.c)("skills");return(0,a.jsxs)(r.Ex,{variant:k.eK[t],"data-testid":"skill-plan-risk-".concat(s,"-").concat(t),children:[l,": ",i(k.pP[t])]})}function b(e){let{entry:t}=e,s=(0,n.c)("skills"),l=k.KL[t.reason];return(0,a.jsxs)("li",{className:"space-y-1.5 rounded-md border border-border px-3 py-2","data-testid":"skill-plan-file-".concat(t.path),children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,a.jsx)(r.Ex,{variant:k.tC[t.change],children:s(k.AS[t.change])}),(0,a.jsx)("span",{className:"break-all font-mono text-xs text-foreground",children:t.path}),t.generated&&(0,a.jsx)(r.Ex,{variant:"gray",children:s("plan.fileGenerated")})]}),l&&(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:s(l)}),t.gitIgnored&&(0,a.jsx)("p",{className:"text-xs text-warning-foreground",children:s("plan.gitIgnored")}),t.binary?(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:s("plan.diffBinary")}):t.diff?(0,a.jsxs)("details",{children:[(0,a.jsx)("summary",{className:"cursor-pointer text-xs text-accent-600 dark:text-accent-400",children:s("plan.diffToggle",{additions:t.additions,deletions:t.deletions})}),(0,a.jsx)("pre",{className:"mt-1 overflow-x-auto rounded bg-muted p-2 font-mono text-[11px] leading-snug text-foreground",children:t.diff}),t.diffTruncated&&(0,a.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:s("plan.diffTruncated")})]}):null]})}function y(e){var t,s,l;let{plan:i}=e,d=(0,n.c)("skills"),{target:o,skill:u}=i,x=u.compatibility.commandmate;return(0,a.jsxs)(r.Zp,{className:"space-y-4","data-testid":"skill-install-plan",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold text-foreground",children:d("plan.heading")}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:d("plan.expiresAt",{timestamp:i.expiresAt})})]}),(0,a.jsxs)("section",{className:"space-y-2",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:d("plan.targetHeading")}),(0,a.jsxs)("dl",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[(0,a.jsx)(f,{label:d("target.repository"),children:o.repositoryName}),(0,a.jsx)(f,{label:d("target.heading"),children:o.worktreeName}),(0,a.jsx)(f,{label:d("target.branch"),children:null!=(t=o.branch)?t:d("target.branchUnknown")}),(0,a.jsx)(f,{label:d("plan.headStateLabel"),children:d(null!=(s=k.kF[o.headState])?s:"plan.headState.unknown")}),(0,a.jsx)(f,{label:d("target.workingTree"),children:o.workingTreeUnknown?d("target.workingTreeStatusUnknown"):o.workingTreeDirty?d("target.workingTreeDirty"):d("target.workingTreeClean")}),(0,a.jsx)(f,{label:d("plan.installRoot"),children:(0,a.jsx)("span",{className:"break-all font-mono text-xs",children:(o.installRoots&&o.installRoots.length>0?o.installRoots:[o.installRoot]).map(e=>(0,a.jsx)("span",{className:"block",children:e},e))})}),(0,a.jsx)(f,{label:d("plan.existingInstall"),children:o.existingInstall?d("plan.existingInstallVersion",{version:o.existingInstall.version}):d("plan.existingInstallNone")}),(0,a.jsx)(f,{label:d("detail.recommendedVersion"),children:(0,a.jsx)("span",{className:"font-mono text-xs",children:u.version})})]})]}),(0,a.jsxs)("section",{className:"space-y-2","data-testid":"skill-plan-risk-section",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:d("plan.riskHeading")}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-1.5",children:[(0,a.jsx)(j,{level:u.declaredRisk,kind:"declared",label:d("plan.riskDeclared")}),(0,a.jsx)(j,{level:u.computedRisk,kind:"computed",label:d("plan.riskComputed")}),(0,a.jsx)(j,{level:u.effectiveRisk,kind:"effective",label:d("plan.riskEffective")})]}),(0,a.jsx)("p",{className:"break-words text-sm text-foreground",children:u.riskRationale}),(0,a.jsx)(c.u,{tone:"neutral",children:d("plan.riskNotice")})]}),(0,a.jsxs)("section",{className:"space-y-2","data-testid":"skill-plan-permissions",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:d("permissions.heading")}),u.declaredPermissions.length>0?(0,a.jsx)("div",{className:"flex flex-wrap gap-1.5",children:u.declaredPermissions.map(e=>(0,a.jsx)(r.Ex,{variant:"warning",children:k.z2[e]?d(k.z2[e]):e},e))}):(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:d("plan.permissionsNone")}),(0,a.jsx)(c.u,{tone:"warning",children:d("permissions.declarationOnlyNotice")})]}),(0,a.jsxs)("section",{className:"space-y-2","data-testid":"skill-plan-requirements",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:d("requirements.heading")}),0===u.requirements.commands.length&&0===u.requirements.networkHosts.length?(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:d("plan.requirementsNone")}):(0,a.jsxs)("dl",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[u.requirements.commands.length>0&&(0,a.jsx)(f,{label:d("plan.requirementsCommands"),children:u.requirements.commands.map(e=>{var t;return"".concat(e.name," ").concat(null!=(t=e.versionRange)?t:d("plan.commandAnyVersion"))}).join(", ")}),u.requirements.networkHosts.length>0&&(0,a.jsx)(f,{label:d("plan.requirementsHosts"),children:u.requirements.networkHosts.join(", ")})]})]}),(0,a.jsxs)("section",{className:"space-y-2","data-testid":"skill-plan-scripts",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:d("plan.scriptsHeading")}),0===u.executablePaths.length&&0===u.scriptPaths.length?(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:d("plan.scriptsNone")}):(0,a.jsx)("ul",{className:"space-y-1",children:[...new Set([...u.scriptPaths,...u.executablePaths])].map(e=>(0,a.jsx)("li",{className:"break-all font-mono text-xs text-foreground",children:e},e))})]}),"compatible"!==x.status&&(0,a.jsx)(c.u,{tone:"warning","data-testid":"skill-plan-compatibility-notice",children:d((0,k.e5)(x.messageKey),{range:x.requiredRange,currentVersion:null!=(l=x.currentVersion)?l:""})}),i.warnings.length>0&&(0,a.jsxs)("section",{className:"space-y-2","data-testid":"skill-plan-warnings",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:d("plan.warningsHeading")}),(0,a.jsx)("ul",{className:"space-y-1",children:i.warnings.map(e=>(0,a.jsx)("li",{className:"text-xs text-warning-foreground",children:k.RO[e]?d(k.RO[e]):e},e))})]}),(0,a.jsxs)("section",{className:"space-y-2","data-testid":"skill-plan-files",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:d("plan.filesHeading")}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground","data-testid":"skill-plan-stats",children:d("plan.stats",{added:i.stats.added,modified:i.stats.modified,unchanged:i.stats.unchanged,conflicted:i.stats.conflicted,unmanaged:i.stats.unmanaged})}),0===i.files.length?(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:d("plan.filesEmpty")}):(0,a.jsx)("ul",{className:"space-y-2",children:i.files.map(e=>(0,a.jsx)(b,{entry:e},e.path))})]}),i.blockers.length>0&&(0,a.jsxs)("section",{className:"space-y-2","data-testid":"skill-install-blockers",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold uppercase tracking-wide text-danger-foreground",children:d("plan.blockersHeading")}),(0,a.jsx)("ul",{className:"space-y-1",children:i.blockers.map(e=>{var t,s;return(0,a.jsxs)("li",{className:"text-xs text-danger-foreground",children:[e.path&&(0,a.jsx)("span",{className:"mr-1 break-all font-mono",children:e.path}),e.code.startsWith("skills.")?d((0,k.e5)(e.code),{range:x.requiredRange,currentVersion:null!=(t=x.currentVersion)?t:""}):k.KL[e.code]?d(k.KL[e.code]):e.code]},"".concat(e.code,":").concat(null!=(s=e.path)?s:""))})}),(0,a.jsx)(c.u,{tone:"danger",children:d("plan.blockedNotice")})]})]})}function N(e){let{entry:t}=e,s=(0,n.c)("skills"),l=k.Mj[t.disposition],i=k.hJ[t.reason];return(0,a.jsxs)("li",{className:"flex flex-wrap items-center gap-2","data-testid":"skill-uninstall-file-".concat(t.path),children:[(0,a.jsx)(r.Ex,{variant:"remove"===t.disposition?"info":"warning",children:l?s(l):t.disposition}),(0,a.jsx)("span",{className:"break-all font-mono text-xs text-foreground",children:t.path}),i&&(0,a.jsx)("span",{className:"text-xs text-muted-foreground",children:s(i)})]})}function w(e){var t;let{plan:s}=e,l=(0,n.c)("skills"),{target:d,skill:o}=s;return(0,a.jsxs)(r.Zp,{className:"space-y-4","data-testid":"skill-uninstall-plan",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold text-foreground",children:l("uninstall.heading")}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:l("uninstall.expiresAt",{timestamp:s.expiresAt})})]}),(0,a.jsxs)("dl",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[(0,a.jsx)(f,{label:l("target.repository"),children:d.repositoryName}),(0,a.jsx)(f,{label:l("target.heading"),children:d.worktreeName}),(0,a.jsx)(f,{label:l("target.branch"),children:null!=(t=d.branch)?t:l("target.branchUnknown")}),(0,a.jsx)(f,{label:l("uninstall.installedVersion"),children:(0,a.jsx)("span",{className:"font-mono text-xs",children:o.version||l("uninstall.versionUnknown")})}),(0,a.jsx)(f,{label:l("plan.installRoot"),children:(0,a.jsx)("span",{className:"break-all font-mono text-xs",children:d.installRoot})}),(0,a.jsx)(f,{label:l("target.workingTree"),children:d.workingTreeUnknown?l("target.workingTreeStatusUnknown"):d.workingTreeDirty?l("target.workingTreeDirty"):l("target.workingTreeClean")})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground","data-testid":"skill-uninstall-stats",children:l("uninstall.stats",{removable:s.stats.removable,modified:s.stats.modified,missing:s.stats.missing,unknown:s.stats.unknown,irregular:s.stats.irregular})}),(0,a.jsxs)("section",{className:"space-y-2",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:l("uninstall.removalsHeading")}),0===s.removals.length?(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l("uninstall.removalsEmpty")}):(0,a.jsx)("ul",{className:"space-y-1.5",children:s.removals.map(e=>(0,a.jsx)(N,{entry:e},e.path))})]}),(0,a.jsxs)("section",{className:"space-y-2",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:l("uninstall.retainedHeading")}),0===s.retained.length?(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l("uninstall.retainedEmpty")}):(0,a.jsx)("ul",{className:"space-y-1.5",children:s.retained.map(e=>(0,a.jsx)(N,{entry:e},e.path))})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[s.skill.agents.length>0&&(0,a.jsx)("div",{className:"flex flex-wrap gap-1.5","data-testid":"skill-uninstall-agents",children:s.skill.agents.map(e=>(0,a.jsx)(r.Ex,{variant:"gray",children:(0,i.f_)(e.agent)},e.agent))}),(0,a.jsx)(c.u,{tone:"neutral",children:l((0,k.e5)(s.nextActionKey))})]}),s.blockers.length>0&&(0,a.jsxs)("section",{className:"space-y-2","data-testid":"skill-uninstall-blockers",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold uppercase tracking-wide text-danger-foreground",children:l("uninstall.blockersHeading")}),(0,a.jsx)("ul",{className:"space-y-1",children:s.blockers.map(e=>{var t;return(0,a.jsxs)("li",{className:"text-xs text-danger-foreground",children:[e.path&&(0,a.jsx)("span",{className:"mr-1 break-all font-mono",children:e.path}),l((0,k.e5)(e.messageKey))]},"".concat(e.code,":").concat(null!=(t=e.path)?t:""))})})]})]})}var v=s(80130);let R={worktreeId:null,busy:null,installPlan:null,uninstallPlan:null,installResult:null,uninstallResult:null,riskAcknowledged:!1,failure:null};function C(e){return{...e,installPlan:null,uninstallPlan:null,installResult:null,uninstallResult:null,riskAcknowledged:!1,failure:null}}function A(e,t){return"".concat(e,"-").concat(t)}function I(e){let{failure:t}=e,s=(0,n.c)("skills");return(0,a.jsxs)("div",{className:"space-y-2","data-testid":"skill-operation-error",children:[(0,a.jsxs)(c.u,{tone:"danger",children:[(0,a.jsx)("p",{className:"font-medium",children:s("operation.errorHeading")}),(0,a.jsx)("p",{className:"mt-1",children:s((0,k.FW)(t.code))}),(0,a.jsx)("p",{className:"mt-1 break-words",children:s("state.errorCode",{code:t.code})})]}),t.nextActionKey&&(0,a.jsx)(c.u,{tone:"warning",children:s((0,k.e5)(t.nextActionKey))}),t.blockers&&t.blockers.length>0&&(0,a.jsx)("ul",{className:"space-y-1","data-testid":"skill-operation-error-blockers",children:t.blockers.map(e=>{var t;return(0,a.jsxs)("li",{className:"text-xs text-danger-foreground",children:[e.path&&(0,a.jsx)("span",{className:"mr-1 break-all font-mono",children:e.path}),s((0,k.e5)(e.messageKey))]},"".concat(e.code,":").concat(null!=(t=e.path)?t:""))})})]})}function P(e){let{agents:t,skillId:s,version:l}=e,r=(0,n.c)("skills");return 0===t.length?null:(0,a.jsxs)("div",{className:"space-y-1","data-testid":"skill-operation-reload",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:r("operation.reloadHeading")}),(0,a.jsx)("ul",{className:"space-y-1",children:t.map(e=>(0,a.jsx)("li",{className:"text-xs text-muted-foreground",children:r((0,k.e5)(e.messageKey),{agent:(0,i.f_)(e.agent),skillId:s,version:l})},e.agent))})]})}function T(e){var t;let{skillId:s,version:i,blockedReason:u,worktreeId:x,agents:m=[]}=e,g=(0,n.c)("skills"),[h,f]=(0,l.useState)(()=>x?{...R,worktreeId:x}:R),j=(0,l.useCallback)(e=>{f(t=>t.worktreeId===e?t:C({...t,worktreeId:e,busy:null}))},[]);(0,l.useEffect)(()=>{x&&j(x)},[x,j]);let b=(0,l.useCallback)(async()=>{let e=h.worktreeId;if(!e)return;f(e=>({...C(e),busy:"install-plan"}));let t=await (0,v.Q6)(e,s,{version:null!=i?i:void 0});f(e=>({...e,busy:null,installPlan:t.ok?t.data.plan:null,failure:t.ok?null:t.failure}))},[s,h.worktreeId,i]),N=(0,l.useCallback)(async()=>{let e=h.worktreeId,t=h.installPlan;if(!e||!t||t.requiresRiskAcknowledgement&&!h.riskAcknowledged)return;f(e=>({...e,busy:"install-apply",failure:null}));let a=await (0,v.Xi)(e,s,{planToken:t.token,version:t.skill.version,acknowledgeRisk:!!t.requiresRiskAcknowledgement||void 0,idempotencyKey:A("skill-install",t.token)});a.ok&&(0,d.k)(e),f(e=>({...e,busy:null,installPlan:a.ok?null:e.installPlan,installResult:a.ok?a.data:null,failure:a.ok?null:a.failure}))},[s,h.installPlan,h.riskAcknowledged,h.worktreeId]),T=(0,l.useCallback)(async()=>{let e=h.worktreeId;if(!e)return;f(e=>({...C(e),busy:"uninstall-plan"}));let t=await (0,v.hN)(e,s);f(e=>({...e,busy:null,uninstallPlan:t.ok?t.data.plan:null,failure:t.ok?null:t.failure}))},[s,h.worktreeId]),K=(0,l.useCallback)(async()=>{let e=h.worktreeId,t=h.uninstallPlan;if(!e||!t)return;f(e=>({...e,busy:"uninstall-apply",failure:null}));let a=await (0,v.E)(e,s,{planToken:t.token,idempotencyKey:A("skill-uninstall",t.token)});f(e=>({...e,busy:null,uninstallPlan:a.ok?null:e.uninstallPlan,uninstallResult:a.ok?a.data:null,failure:a.ok?null:a.failure}))},[s,h.uninstallPlan,h.worktreeId]),E=(0,l.useCallback)(()=>{f(e=>C(e))},[]),S=null!==h.busy,H=h.installPlan,q=h.uninstallPlan,D=null!=u?u:g(h.worktreeId?"plan.ready":"plan.chooseTarget"),U=null!==H&&H.requiresRiskAcknowledgement&&!h.riskAcknowledged;return(0,a.jsxs)("div",{className:"space-y-3","data-testid":"skill-install-panel",children:[!x&&(0,a.jsx)(p,{selectedWorktreeId:h.worktreeId,onSelect:j,disabled:S}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,a.jsx)(r.$n,{variant:"primary",disabled:S||null!==u||!h.worktreeId,onClick:b,"data-testid":"skill-install-action","aria-describedby":"skill-install-reason",children:g("install-plan"===h.busy?"plan.building":"plan.build")}),(0,a.jsx)(r.$n,{variant:"secondary",disabled:S||!h.worktreeId,onClick:T,"data-testid":"skill-uninstall-action",children:g("uninstall-plan"===h.busy?"uninstall.building":"uninstall.build")})]}),(0,a.jsx)("p",{id:"skill-install-reason",className:"text-sm text-muted-foreground","data-testid":"skill-install-reason",children:D}),m.length>0&&(0,a.jsxs)("div",{className:"space-y-1","data-testid":"skill-install-reload-preview",children:[(0,a.jsx)("h4",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:g("operation.reloadHeading")}),(0,a.jsx)("ul",{className:"space-y-1",children:m.map(e=>(0,a.jsx)(o.m,{agent:e,variant:"reload"},e.agent))})]}),h.failure&&(0,a.jsx)(I,{failure:h.failure}),H&&(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)(y,{plan:H}),H.requiresRiskAcknowledgement&&(0,a.jsxs)(r.Zp,{className:"space-y-3","data-testid":"skill-install-risk-acknowledgement",children:[(0,a.jsx)(c.u,{tone:"danger",children:g((0,k.e5)(null!=(t=H.riskAcknowledgementMessageKey)?t:"skills.plan.highRiskAcknowledgement"))}),(0,a.jsxs)("label",{className:"flex items-start gap-2 text-sm text-foreground",children:[(0,a.jsx)(r.Sc,{checked:h.riskAcknowledged,onCheckedChange:e=>f(t=>({...t,riskAcknowledged:!0===e})),disabled:S,"data-testid":"skill-install-risk-checkbox",className:"mt-0.5"}),(0,a.jsx)("span",{children:g("plan.acknowledgeLabel")})]})]}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,a.jsx)(r.$n,{variant:H.requiresRiskAcknowledgement?"danger":"primary",disabled:S||!H.installable||U,onClick:N,"data-testid":"skill-install-confirm",children:g("install-apply"===h.busy?"plan.confirming":"plan.confirm")}),(0,a.jsx)(r.$n,{variant:"ghost",disabled:S,onClick:E,"data-testid":"skill-install-discard",children:g("plan.discard")})]})]}),q&&(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)(w,{plan:q}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,a.jsx)(r.$n,{variant:"danger",disabled:S||!q.removable,onClick:K,"data-testid":"skill-uninstall-confirm",children:g("uninstall-apply"===h.busy?"uninstall.confirming":"uninstall.confirm")}),(0,a.jsx)(r.$n,{variant:"ghost",disabled:S,onClick:E,"data-testid":"skill-uninstall-discard",children:g("plan.discard")})]})]}),h.installResult&&(0,a.jsxs)(r.Zp,{className:"space-y-3","data-testid":"skill-install-result",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold text-foreground",children:g("operation.installedHeading")}),(0,a.jsx)(c.u,{tone:"info",children:g((0,k.e5)(h.installResult.operation.nextActionKey))}),h.installResult.operation.replayed&&(0,a.jsx)(c.u,{tone:"neutral","data-testid":"skill-operation-replayed",children:g("operation.replayNotice")}),h.installResult.install&&"files"in h.installResult.install&&(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:g("operation.filesWritten",{count:h.installResult.install.files.length})}),"reload"in h.installResult&&(0,a.jsx)(P,{agents:h.installResult.reload.agents,skillId:h.installResult.reload.skillId,version:h.installResult.reload.version}),(0,a.jsx)(r.$n,{variant:"secondary",size:"sm",onClick:E,"data-testid":"skill-operation-reset",children:g("operation.startOver")})]}),h.uninstallResult&&(0,a.jsxs)(r.Zp,{className:"space-y-3","data-testid":"skill-uninstall-result",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold text-foreground",children:g("operation.uninstalledHeading")}),(0,a.jsx)(c.u,{tone:"info",children:g((0,k.e5)(h.uninstallResult.operation.nextActionKey))}),h.uninstallResult.operation.replayed&&(0,a.jsx)(c.u,{tone:"neutral","data-testid":"skill-operation-replayed",children:g("operation.replayNotice")}),h.uninstallResult.uninstall&&"removedFiles"in h.uninstallResult.uninstall&&(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:g("operation.filesRemoved",{count:h.uninstallResult.uninstall.removedFiles.length})}),"reload"in h.uninstallResult&&(0,a.jsx)(P,{agents:h.uninstallResult.reload.agents,skillId:h.uninstallResult.reload.skillId,version:h.uninstallResult.reload.version}),(0,a.jsx)(r.$n,{variant:"secondary",size:"sm",onClick:E,"data-testid":"skill-operation-reset",children:g("operation.startOver")})]})]})}},50666:(e,t,s)=>{s.d(t,{Ck:()=>r});var a=s(95155),l=s(12115),n=s(53482);function r(e){let{children:t,as:s="div",className:r=""}=e,i=function e(t){return null==t||"boolean"==typeof t?"":"string"==typeof t?t:"number"==typeof t?String(t):Array.isArray(t)?t.map(e).join(""):l.isValidElement(t)?e(t.props.children):""}(t);if(!i||0===i.trim().length)return(0,a.jsx)(s,{className:r||void 0,children:t});let d="relative group ".concat("span"===s?"block ":"").concat(r).trim();return(0,a.jsxs)(s,{className:d,"data-testid":"code-block-with-copy",children:[t,(0,a.jsx)(n.i,{text:i,className:"absolute right-2 top-2 z-10 opacity-100 md:opacity-0 md:group-hover:opacity-100 md:group-focus-within:opacity-100 focus:opacity-100"})]})}},50825:(e,t,s)=>{s.d(t,{m:()=>o});var a=s(95155);s(12115);var l=s(18955),n=s(54014),r=s(37381),i=s(95584);function d(e){let{axis:t,agentName:s}=e,n=(0,l.c)("skills");return(0,a.jsxs)("li",{className:"text-xs text-muted-foreground","data-testid":"skill-agent-axis-".concat(t.axis),children:[(0,a.jsx)("span",{className:"font-medium text-foreground",children:n((0,i.e5)(t.axisKey))}),": ",(0,a.jsx)("span",{"data-testid":"skill-agent-axis-".concat(t.axis,"-").concat(t.outcome),children:n((0,i.e5)(t.outcomeKey))})," — ",n((0,i.e5)(t.evidenceKindKey)),t.limitationKey&&(0,a.jsx)("span",{className:"mt-0.5 block","data-testid":"skill-agent-axis-".concat(t.axis,"-limitation"),children:n((0,i.e5)(t.limitationKey),{agent:s})})]})}function o(e){var t;let{agent:s,variant:o="full"}=e,c=(0,l.c)("skills"),u=(0,n.f_)(s.agent),x=s.measured;return"reload"===o?(0,a.jsx)("li",{className:"text-xs text-muted-foreground","data-testid":"skill-agent-reload-".concat(s.agent),children:c((0,i.e5)(s.reloadKey),{agent:u})}):(0,a.jsxs)("div",{className:"space-y-1","data-testid":"skill-agent-evidence-".concat(s.agent),children:[(0,a.jsx)("p",{className:"text-xs font-medium text-foreground",children:u}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground break-words",children:c("compatibility.declaredLabel",{support:c((0,i.e5)(s.declaredLabelKey))})}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground break-words",children:[c("compatibility.evidence"),": ",s.evidence]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground break-words","data-testid":"skill-agent-verification-".concat(s.agent),children:c((0,i.e5)(s.verificationKey))}),x?(0,a.jsxs)("div",{className:"space-y-0.5 border-l-2 border-border pl-2",children:[(0,a.jsx)("p",{className:"text-xs font-medium text-foreground",children:c("compatibility.measuredHeading")}),(0,a.jsxs)("ul",{className:"space-y-0.5",children:[(0,a.jsx)(d,{axis:x.discovery,agentName:u}),(0,a.jsx)(d,{axis:x.invocation,agentName:u})]}),x.testedVersion&&(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:c("compatibility.testedVersion",{agent:u,version:x.testedVersion})}),x.testedDate&&(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:c("compatibility.testedDate",{date:x.testedDate})}),x.discoveryRoots.length>0&&(0,a.jsx)("p",{className:"text-xs text-muted-foreground break-all",children:c("compatibility.discoveryRoots",{roots:x.discoveryRoots.join(", ")})}),x.evidenceSource&&(0,a.jsxs)("p",{className:"text-xs text-muted-foreground break-all",children:[c("compatibility.evidenceSource"),": ",x.evidenceSource]}),x.stale&&(0,a.jsx)(r.u,{tone:"warning","data-testid":"skill-agent-evidence-stale-".concat(s.agent),children:c("compatibility.evidenceStale",{days:null!=(t=x.ageDays)?t:0})})]}):s.skipReasonKey&&(0,a.jsx)("p",{className:"text-xs text-muted-foreground break-words","data-testid":"skill-agent-skip-reason-".concat(s.agent),children:c((0,i.e5)(s.skipReasonKey))}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground break-words",children:[(0,a.jsx)("span",{className:"font-medium text-foreground",children:c("compatibility.reloadHeading",{agent:u})}),": ",c((0,i.e5)(s.reloadKey),{agent:u})]})]})}},53482:(e,t,s)=>{s.d(t,{i:()=>o});var a=s(95155),l=s(12115),n=s(60322),r=s(9900);function i(){return(0,a.jsx)("svg",{className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})})}function d(){return(0,a.jsx)("svg",{className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}function o(e){let{text:t,className:s="",label:o="Copy"}=e,[c,u]=(0,l.useState)(!1),x=(0,l.useRef)(null);(0,l.useEffect)(()=>()=>{x.current&&clearTimeout(x.current)},[]);let m=(0,l.useCallback)(async()=>{try{await (0,n.l)(t),u(!0),x.current&&clearTimeout(x.current),x.current=setTimeout(()=>u(!1),r.s7)}catch(e){}},[t]);return(0,a.jsxs)("button",{type:"button",onClick:m,className:"inline-flex items-center gap-1 rounded border border-border bg-surface px-2 py-0.5 text-[11px] font-medium text-foreground transition-colors hover:bg-muted ".concat(s),"aria-label":c?"Copied":o,title:c?"Copied!":o,children:[c?(0,a.jsx)(d,{}):(0,a.jsx)(i,{}),(0,a.jsx)("span",{children:c?"Copied":o})]})}},75333:(e,t,s)=>{s.d(t,{Xz:()=>o,qW:()=>c,uE:()=>u});var a=s(95155);s(12115);var l=s(18955),n=s(77801),r=s(48407),i=s(54014),d=s(95584);function o(e){let{status:t,className:s}=e,n=(0,l.c)("skills");return(0,a.jsx)(r.Ex,{variant:d.H$[t],className:s,"data-testid":"skill-compatibility-".concat(t),children:n(d.OV[t])})}function c(e){let{risk:t,className:s}=e,i=(0,l.c)("skills");return(0,a.jsxs)(r.Ex,{variant:d.eK[t],className:s,"data-testid":"skill-declared-risk-".concat(t),children:["high"===t&&(0,a.jsx)(n.A,{size:12,"aria-hidden":"true",className:"mr-1 shrink-0"}),i("risk.declaredLabel",{level:i(d.pP[t])})]})}function u(e){let{agent:t}=e,s=(0,l.c)("skills");return(0,a.jsxs)(r.Ex,{variant:d.Et[t.support],"data-testid":"skill-agent-".concat(t.agent,"-").concat(t.support),children:[(0,i.f_)(t.agent),": ",s((0,d.e5)(t.labelKey))]})}},99648:(e,t,s)=>{s.d(t,{Co:()=>a,Ms:()=>n,td:()=>l});let a=".agents/skills",l=".claude/skills",n="skills.permissions.declarationOnlyNotice"}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8606],{38606:(n,e,t)=>{t.d(e,{pu:()=>u,A7:()=>c,kA:()=>l,dw:()=>g,Pn:()=>p,px:()=>a,XK:()=>y});var i=t(54014),s=t(55449);function l(n){return n?n.isWaitingForResponse?"waiting":n.isProcessing?"running":n.isRunning?"ready":"idle":"idle"}function a(n){return(null==n?void 0:n.isUnclassified)===!0&&"ready"===l(n)}let r={start:"nextAction.start",sendMessage:"nextAction.sendMessage",approveReject:"nextAction.approveReject",replyToPrompt:"nextAction.replyToPrompt",checkStalled:"nextAction.checkStalled",running:"nextAction.running"},o="exited",u="unknown",d={idle:null,ready:"ready",running:"running",generating:"running",waiting:"waiting"};function c(n){if(!n)return"idle";let e=Object.values(n).filter(n=>void 0!==n);return 0===e.length?"idle":e.includes("waiting")?"waiting":e.includes("running")?"running":e.includes("generating")?"generating":e.includes("ready")?"ready":"idle"}function g(n,e,t,s){return n?Object.entries(n).map(n=>{var l;let[a,r]=n,o=null!=(l=null==e?void 0:e[a])?l:(0,i.f_)(a,a),d=null==t?void 0:t(a),c="ready"===r&&(null==s?void 0:s.has(a))?u:null!=r?r:"idle";return"".concat(o,": ").concat(c).concat(d?" (".concat(d,")"):"")}).join(", "):""}function p(n,e){return!!n&&!!e&&0!==e.length&&"ready"===c(n)&&e.some(e=>"ready"===n[e])}let f=["prompt","menu","unclassified"];function y(n){var e,t,u,g,y,v,w;let A=l(void 0!==n.isSessionRunning?{isRunning:null!=(e=n.isSessionRunning)&&e,isWaitingForResponse:null!=(t=n.isWaitingForResponse)&&t,isProcessing:null!=(u=n.isProcessing)&&u}:void 0),h=!!n.lastAssistantMessageAt&&(!n.lastViewedAt||new Date(n.lastAssistantMessageAt)>new Date(n.lastViewedAt)),{cliStatus:S,cliStatusLabels:m,exitedInstanceIds:R,unclassifiedInstanceIds:k}=function(n){var e,t,r,u,d,c,g;let p={},f={},y=[],v=[],w=n.sessionStatusByInstance;if(!w){for(let c of null!=(e=n.selectedAgents)?e:(0,s.sA)())p[c]=l(null==(t=n.sessionStatusByCli)?void 0:t[c]),f[c]=(0,i.oo)(c),(null==(u=n.sessionStatusByCli)||null==(r=u[c])?void 0:r.sessionStatusReason)===o&&y.push(c),a(null==(d=n.sessionStatusByCli)?void 0:d[c])&&v.push(c);return{cliStatus:p,cliStatusLabels:f,exitedInstanceIds:y,unclassifiedInstanceIds:v}}let A=n.agentInstances&&n.agentInstances.length>0?n.agentInstances:(0,i.lu)(null!=(c=n.selectedAgents)?c:(0,s.sA)()),h=new Set;for(let n of A)h.add(n.id),p[n.id]=l(w[n.id]),f[n.id]=(0,i.sw)(n),(null==(g=w[n.id])?void 0:g.sessionStatusReason)===o&&y.push(n.id),a(w[n.id])&&v.push(n.id);for(let[n,e]of Object.entries(w)){if(h.has(n))continue;let t=l(e);"idle"!==t&&(p[n]=t,f[n]=function(n){let e=i.XH.find(e=>n.startsWith("".concat(e,"-")));if(e){let t=n.slice(e.length+1);return"".concat((0,i.oo)(e)," ").concat(t)}return(0,i.f_)(n,n)}(n),a(e)&&v.push(n))}return{cliStatus:p,cliStatusLabels:f,exitedInstanceIds:y,unclassifiedInstanceIds:v}}(n),x=c(S),{waitingKind:j,awaitingInstruction:B}=function(n){var e,t,i;let s=Object.values(null!=(t=null!=(e=n.sessionStatusByInstance)?e:n.sessionStatusByCli)?t:{}).filter(n=>void 0!==n),l=!1,a=new Set;for(let n of s)n.awaitingInstruction&&(l=!0),n.waitingKind&&a.add(n.waitingKind);return{waitingKind:null!=(i=f.find(n=>a.has(n)))?i:null,awaitingInstruction:l}}(n),I=p(S,k);return{id:n.id,name:n.name,repositoryName:null!=(g=n.repositoryDisplayName)?g:n.repositoryName,status:A,hasUnread:h,lastActivity:n.updatedAt,lastActivityByInstance:n.lastActivityByInstance,description:n.description,cliStatus:S,cliStatusLabels:m,exitedInstanceIds:R,unclassifiedInstanceIds:k,worktreePath:n.path,worktreeStatus:null!=(y=n.status)?y:null,waitingKind:j,awaitingInstruction:B,nextActionKey:I?void 0:(v=d[x],w="waiting"===x?"approval":null,v&&"idle"!==v?"ready"===v?r.sendMessage:"waiting"===v&&"approval"===w?r.approveReject:"waiting"===v?r.replyToPrompt:(0,r.running):r.start)}}}}]);