commandmate 0.49.3 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (877) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +454 -408
  3. package/.next/app-path-routes-manifest.json +19 -13
  4. package/.next/build-manifest.json +5 -5
  5. package/.next/prerender-manifest.json +9 -9
  6. package/.next/react-loadable-manifest.json +1 -1
  7. package/.next/required-server-files.json +1 -1
  8. package/.next/routes-manifest.json +32 -0
  9. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/api/agents/update/route_client-reference-manifest.js +1 -1
  11. package/.next/server/app/api/agents/versions/route_client-reference-manifest.js +1 -1
  12. package/.next/server/app/api/app/release-notes/route_client-reference-manifest.js +1 -1
  13. package/.next/server/app/api/app/update/route_client-reference-manifest.js +1 -1
  14. package/.next/server/app/api/app/update-check/route_client-reference-manifest.js +1 -1
  15. package/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
  16. package/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  17. package/.next/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
  18. package/.next/server/app/api/capabilities/route.js +1 -1
  19. package/.next/server/app/api/capabilities/route_client-reference-manifest.js +1 -1
  20. package/.next/server/app/api/daily-summary/route.js +1 -1
  21. package/.next/server/app/api/daily-summary/route.js.nft.json +1 -1
  22. package/.next/server/app/api/daily-summary/route_client-reference-manifest.js +1 -1
  23. package/.next/server/app/api/daily-summary/status/route.js +1 -1
  24. package/.next/server/app/api/daily-summary/status/route.js.nft.json +1 -1
  25. package/.next/server/app/api/daily-summary/status/route_client-reference-manifest.js +1 -1
  26. package/.next/server/app/api/external-apps/[id]/health/route_client-reference-manifest.js +1 -1
  27. package/.next/server/app/api/external-apps/[id]/route_client-reference-manifest.js +1 -1
  28. package/.next/server/app/api/external-apps/route_client-reference-manifest.js +1 -1
  29. package/.next/server/app/api/fs/browse/route_client-reference-manifest.js +1 -1
  30. package/.next/server/app/api/fs/recent-paths/route_client-reference-manifest.js +1 -1
  31. package/.next/server/app/api/hooks/agent-event/route.js +1 -103
  32. package/.next/server/app/api/hooks/agent-event/route.js.nft.json +1 -1
  33. package/.next/server/app/api/hooks/agent-event/route_client-reference-manifest.js +1 -1
  34. package/.next/server/app/api/hooks/claude-done/route.js +2 -2
  35. package/.next/server/app/api/hooks/claude-done/route.js.nft.json +1 -1
  36. package/.next/server/app/api/hooks/claude-done/route_client-reference-manifest.js +1 -1
  37. package/.next/server/app/api/hooks/permission-request/route.js +1 -1
  38. package/.next/server/app/api/hooks/permission-request/route.js.nft.json +1 -1
  39. package/.next/server/app/api/hooks/permission-request/route_client-reference-manifest.js +1 -1
  40. package/.next/server/app/api/metrics/vibe/route_client-reference-manifest.js +1 -1
  41. package/.next/server/app/api/ollama/models/route_client-reference-manifest.js +1 -1
  42. package/.next/server/app/api/push/escalation/route.js +1 -1
  43. package/.next/server/app/api/push/escalation/route.js.nft.json +1 -1
  44. package/.next/server/app/api/push/escalation/route_client-reference-manifest.js +1 -1
  45. package/.next/server/app/api/push/subscriptions/route.js +1 -1
  46. package/.next/server/app/api/push/subscriptions/route_client-reference-manifest.js +1 -1
  47. package/.next/server/app/api/push/vapid/route.js +1 -1
  48. package/.next/server/app/api/push/vapid/route.js.nft.json +1 -1
  49. package/.next/server/app/api/push/vapid/route_client-reference-manifest.js +1 -1
  50. package/.next/server/app/api/relays/[relayId]/cancel/route.js +1 -1
  51. package/.next/server/app/api/relays/[relayId]/cancel/route.js.nft.json +1 -1
  52. package/.next/server/app/api/relays/[relayId]/cancel/route_client-reference-manifest.js +1 -1
  53. package/.next/server/app/api/relays/[relayId]/resolve/route.js +1 -1
  54. package/.next/server/app/api/relays/[relayId]/resolve/route.js.nft.json +1 -1
  55. package/.next/server/app/api/relays/[relayId]/resolve/route_client-reference-manifest.js +1 -1
  56. package/.next/server/app/api/relays/[relayId]/route.js +1 -1
  57. package/.next/server/app/api/relays/[relayId]/route_client-reference-manifest.js +1 -1
  58. package/.next/server/app/api/relays/route.js +1 -1
  59. package/.next/server/app/api/relays/route.js.nft.json +1 -1
  60. package/.next/server/app/api/relays/route_client-reference-manifest.js +1 -1
  61. package/.next/server/app/api/remote/pair/route.js +2 -2
  62. package/.next/server/app/api/remote/pair/route_client-reference-manifest.js +1 -1
  63. package/.next/server/app/api/repositories/[id]/role-defaults/route.js +1 -0
  64. package/.next/server/app/api/repositories/[id]/role-defaults/route.js.nft.json +1 -0
  65. package/.next/server/app/api/repositories/[id]/role-defaults/route_client-reference-manifest.js +1 -0
  66. package/.next/server/app/api/repositories/[id]/route_client-reference-manifest.js +1 -1
  67. package/.next/server/app/api/repositories/clone/[jobId]/route.js +1 -1
  68. package/.next/server/app/api/repositories/clone/[jobId]/route.js.nft.json +1 -1
  69. package/.next/server/app/api/repositories/clone/[jobId]/route_client-reference-manifest.js +1 -1
  70. package/.next/server/app/api/repositories/clone/route.js +1 -1
  71. package/.next/server/app/api/repositories/clone/route.js.nft.json +1 -1
  72. package/.next/server/app/api/repositories/clone/route_client-reference-manifest.js +1 -1
  73. package/.next/server/app/api/repositories/excluded/route_client-reference-manifest.js +1 -1
  74. package/.next/server/app/api/repositories/restore/route.js +1 -1
  75. package/.next/server/app/api/repositories/restore/route.js.nft.json +1 -1
  76. package/.next/server/app/api/repositories/restore/route_client-reference-manifest.js +1 -1
  77. package/.next/server/app/api/repositories/route.js +1 -1
  78. package/.next/server/app/api/repositories/route.js.nft.json +1 -1
  79. package/.next/server/app/api/repositories/route_client-reference-manifest.js +1 -1
  80. package/.next/server/app/api/repositories/scan/route.js +1 -1
  81. package/.next/server/app/api/repositories/scan/route.js.nft.json +1 -1
  82. package/.next/server/app/api/repositories/scan/route_client-reference-manifest.js +1 -1
  83. package/.next/server/app/api/repositories/sync/route.js +1 -1
  84. package/.next/server/app/api/repositories/sync/route.js.nft.json +1 -1
  85. package/.next/server/app/api/repositories/sync/route_client-reference-manifest.js +1 -1
  86. package/.next/server/app/api/repositories/validate-path/route.js +1 -1
  87. package/.next/server/app/api/repositories/validate-path/route_client-reference-manifest.js +1 -1
  88. package/.next/server/app/api/roles/[id]/route.js +1 -0
  89. package/.next/server/app/api/roles/[id]/route.js.nft.json +1 -0
  90. package/.next/server/app/api/roles/[id]/route_client-reference-manifest.js +1 -0
  91. package/.next/server/app/api/roles/route.js +1 -0
  92. package/.next/server/app/api/roles/route.js.nft.json +1 -0
  93. package/.next/server/app/api/roles/route_client-reference-manifest.js +1 -0
  94. package/.next/server/app/api/settings/agent-role-defaults/route.js +1 -0
  95. package/.next/server/app/api/settings/agent-role-defaults/route.js.nft.json +1 -0
  96. package/.next/server/app/api/settings/agent-role-defaults/route_client-reference-manifest.js +1 -0
  97. package/.next/server/app/api/settings/default-agents/route.js +1 -1
  98. package/.next/server/app/api/settings/default-agents/route.js.nft.json +1 -1
  99. package/.next/server/app/api/settings/default-agents/route_client-reference-manifest.js +1 -1
  100. package/.next/server/app/api/settings/default-surface-mode/route_client-reference-manifest.js +1 -1
  101. package/.next/server/app/api/sidebar/group-order/route_client-reference-manifest.js +1 -1
  102. package/.next/server/app/api/skills/[id]/route_client-reference-manifest.js +1 -1
  103. package/.next/server/app/api/skills/installations/route_client-reference-manifest.js +1 -1
  104. package/.next/server/app/api/skills/operations/route_client-reference-manifest.js +1 -1
  105. package/.next/server/app/api/skills/reindex/route_client-reference-manifest.js +1 -1
  106. package/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  107. package/.next/server/app/api/slash-commands/route.js +1 -1
  108. package/.next/server/app/api/slash-commands/route_client-reference-manifest.js +1 -1
  109. package/.next/server/app/api/tasks/[taskId]/cancel/route_client-reference-manifest.js +1 -1
  110. package/.next/server/app/api/tasks/[taskId]/route.js +1 -1
  111. package/.next/server/app/api/tasks/[taskId]/route_client-reference-manifest.js +1 -1
  112. package/.next/server/app/api/templates/[id]/route_client-reference-manifest.js +1 -1
  113. package/.next/server/app/api/templates/route_client-reference-manifest.js +1 -1
  114. package/.next/server/app/api/verification/runs/[runId]/route.js +1 -1
  115. package/.next/server/app/api/verification/runs/[runId]/route_client-reference-manifest.js +1 -1
  116. package/.next/server/app/api/verification/runs/route.js +1 -1
  117. package/.next/server/app/api/verification/runs/route_client-reference-manifest.js +1 -1
  118. package/.next/server/app/api/worktrees/[id]/auto-yes/route.js +1 -1
  119. package/.next/server/app/api/worktrees/[id]/auto-yes/route.js.nft.json +1 -1
  120. package/.next/server/app/api/worktrees/[id]/auto-yes/route_client-reference-manifest.js +1 -1
  121. package/.next/server/app/api/worktrees/[id]/capture/route.js +1 -1
  122. package/.next/server/app/api/worktrees/[id]/capture/route.js.nft.json +1 -1
  123. package/.next/server/app/api/worktrees/[id]/capture/route_client-reference-manifest.js +1 -1
  124. package/.next/server/app/api/worktrees/[id]/clear-composer/route.js +1 -1
  125. package/.next/server/app/api/worktrees/[id]/clear-composer/route.js.nft.json +1 -1
  126. package/.next/server/app/api/worktrees/[id]/clear-composer/route_client-reference-manifest.js +1 -1
  127. package/.next/server/app/api/worktrees/[id]/cli-reference/route.js +1 -1
  128. package/.next/server/app/api/worktrees/[id]/cli-reference/route_client-reference-manifest.js +1 -1
  129. package/.next/server/app/api/worktrees/[id]/cli-tool/route.js +1 -1
  130. package/.next/server/app/api/worktrees/[id]/cli-tool/route_client-reference-manifest.js +1 -1
  131. package/.next/server/app/api/worktrees/[id]/cmate/schedules/route.js +3 -3
  132. package/.next/server/app/api/worktrees/[id]/cmate/schedules/route.js.nft.json +1 -1
  133. package/.next/server/app/api/worktrees/[id]/cmate/schedules/route_client-reference-manifest.js +1 -1
  134. package/.next/server/app/api/worktrees/[id]/current-output/route.js +1 -1
  135. package/.next/server/app/api/worktrees/[id]/current-output/route.js.nft.json +1 -1
  136. package/.next/server/app/api/worktrees/[id]/current-output/route_client-reference-manifest.js +1 -1
  137. package/.next/server/app/api/worktrees/[id]/direct-input/route.js +1 -1
  138. package/.next/server/app/api/worktrees/[id]/direct-input/route.js.nft.json +1 -1
  139. package/.next/server/app/api/worktrees/[id]/direct-input/route_client-reference-manifest.js +1 -1
  140. package/.next/server/app/api/worktrees/[id]/env/route.js +1 -1
  141. package/.next/server/app/api/worktrees/[id]/env/route_client-reference-manifest.js +1 -1
  142. package/.next/server/app/api/worktrees/[id]/execution-logs/[logId]/route.js +1 -1
  143. package/.next/server/app/api/worktrees/[id]/execution-logs/[logId]/route_client-reference-manifest.js +1 -1
  144. package/.next/server/app/api/worktrees/[id]/execution-logs/route.js +2 -2
  145. package/.next/server/app/api/worktrees/[id]/execution-logs/route.js.nft.json +1 -1
  146. package/.next/server/app/api/worktrees/[id]/execution-logs/route_client-reference-manifest.js +1 -1
  147. package/.next/server/app/api/worktrees/[id]/files/[...path]/route_client-reference-manifest.js +1 -1
  148. package/.next/server/app/api/worktrees/[id]/git/branch/create/route.js +1 -1
  149. package/.next/server/app/api/worktrees/[id]/git/branch/create/route_client-reference-manifest.js +1 -1
  150. package/.next/server/app/api/worktrees/[id]/git/branch/delete/route.js +1 -1
  151. package/.next/server/app/api/worktrees/[id]/git/branch/delete/route_client-reference-manifest.js +1 -1
  152. package/.next/server/app/api/worktrees/[id]/git/branches/route.js +1 -1
  153. package/.next/server/app/api/worktrees/[id]/git/branches/route_client-reference-manifest.js +1 -1
  154. package/.next/server/app/api/worktrees/[id]/git/checkout/route.js +1 -1
  155. package/.next/server/app/api/worktrees/[id]/git/checkout/route_client-reference-manifest.js +1 -1
  156. package/.next/server/app/api/worktrees/[id]/git/commit/route.js +1 -1
  157. package/.next/server/app/api/worktrees/[id]/git/commit/route_client-reference-manifest.js +1 -1
  158. package/.next/server/app/api/worktrees/[id]/git/diff/route.js +1 -1
  159. package/.next/server/app/api/worktrees/[id]/git/diff/route_client-reference-manifest.js +1 -1
  160. package/.next/server/app/api/worktrees/[id]/git/fetch/route.js +1 -1
  161. package/.next/server/app/api/worktrees/[id]/git/fetch/route_client-reference-manifest.js +1 -1
  162. package/.next/server/app/api/worktrees/[id]/git/log/route.js +1 -1
  163. package/.next/server/app/api/worktrees/[id]/git/log/route_client-reference-manifest.js +1 -1
  164. package/.next/server/app/api/worktrees/[id]/git/pull/route.js +1 -1
  165. package/.next/server/app/api/worktrees/[id]/git/pull/route_client-reference-manifest.js +1 -1
  166. package/.next/server/app/api/worktrees/[id]/git/push/route.js +1 -1
  167. package/.next/server/app/api/worktrees/[id]/git/push/route_client-reference-manifest.js +1 -1
  168. package/.next/server/app/api/worktrees/[id]/git/reset/route.js +1 -1
  169. package/.next/server/app/api/worktrees/[id]/git/reset/route_client-reference-manifest.js +1 -1
  170. package/.next/server/app/api/worktrees/[id]/git/revert/route.js +1 -1
  171. package/.next/server/app/api/worktrees/[id]/git/revert/route_client-reference-manifest.js +1 -1
  172. package/.next/server/app/api/worktrees/[id]/git/show/[commitHash]/route.js +1 -1
  173. package/.next/server/app/api/worktrees/[id]/git/show/[commitHash]/route_client-reference-manifest.js +1 -1
  174. package/.next/server/app/api/worktrees/[id]/git/stage/route.js +1 -1
  175. package/.next/server/app/api/worktrees/[id]/git/stage/route_client-reference-manifest.js +1 -1
  176. package/.next/server/app/api/worktrees/[id]/git/staged/route.js +1 -1
  177. package/.next/server/app/api/worktrees/[id]/git/staged/route_client-reference-manifest.js +1 -1
  178. package/.next/server/app/api/worktrees/[id]/git/stash/[index]/route.js +1 -1
  179. package/.next/server/app/api/worktrees/[id]/git/stash/[index]/route_client-reference-manifest.js +1 -1
  180. package/.next/server/app/api/worktrees/[id]/git/stash/apply/route.js +1 -1
  181. package/.next/server/app/api/worktrees/[id]/git/stash/apply/route_client-reference-manifest.js +1 -1
  182. package/.next/server/app/api/worktrees/[id]/git/stash/pop/route.js +1 -1
  183. package/.next/server/app/api/worktrees/[id]/git/stash/pop/route_client-reference-manifest.js +1 -1
  184. package/.next/server/app/api/worktrees/[id]/git/stash/push/route.js +1 -1
  185. package/.next/server/app/api/worktrees/[id]/git/stash/push/route_client-reference-manifest.js +1 -1
  186. package/.next/server/app/api/worktrees/[id]/git/stash/route.js +1 -1
  187. package/.next/server/app/api/worktrees/[id]/git/stash/route_client-reference-manifest.js +1 -1
  188. package/.next/server/app/api/worktrees/[id]/git/status/route.js +1 -1
  189. package/.next/server/app/api/worktrees/[id]/git/status/route_client-reference-manifest.js +1 -1
  190. package/.next/server/app/api/worktrees/[id]/git/unstage/route.js +1 -1
  191. package/.next/server/app/api/worktrees/[id]/git/unstage/route_client-reference-manifest.js +1 -1
  192. package/.next/server/app/api/worktrees/[id]/git/working-diff/route.js +1 -1
  193. package/.next/server/app/api/worktrees/[id]/git/working-diff/route_client-reference-manifest.js +1 -1
  194. package/.next/server/app/api/worktrees/[id]/instances/notes/route.js +1 -1
  195. package/.next/server/app/api/worktrees/[id]/instances/notes/route_client-reference-manifest.js +1 -1
  196. package/.next/server/app/api/worktrees/[id]/instances/opencode/route.js +1 -1
  197. package/.next/server/app/api/worktrees/[id]/instances/opencode/route.js.nft.json +1 -1
  198. package/.next/server/app/api/worktrees/[id]/instances/opencode/route_client-reference-manifest.js +1 -1
  199. package/.next/server/app/api/worktrees/[id]/instances/roles/route.js +1 -0
  200. package/.next/server/app/api/worktrees/[id]/instances/roles/route.js.nft.json +1 -0
  201. package/.next/server/app/api/worktrees/[id]/instances/roles/route_client-reference-manifest.js +1 -0
  202. package/.next/server/app/api/worktrees/[id]/instances/roles/settle/route.js +1 -0
  203. package/.next/server/app/api/worktrees/[id]/instances/roles/settle/route.js.nft.json +1 -0
  204. package/.next/server/app/api/worktrees/[id]/instances/roles/settle/route_client-reference-manifest.js +1 -0
  205. package/.next/server/app/api/worktrees/[id]/interrupt/route.js +1 -1
  206. package/.next/server/app/api/worktrees/[id]/interrupt/route.js.nft.json +1 -1
  207. package/.next/server/app/api/worktrees/[id]/interrupt/route_client-reference-manifest.js +1 -1
  208. package/.next/server/app/api/worktrees/[id]/kill-session/route.js +2 -2
  209. package/.next/server/app/api/worktrees/[id]/kill-session/route.js.nft.json +1 -1
  210. package/.next/server/app/api/worktrees/[id]/kill-session/route_client-reference-manifest.js +1 -1
  211. package/.next/server/app/api/worktrees/[id]/logs/[filename]/route_client-reference-manifest.js +1 -1
  212. package/.next/server/app/api/worktrees/[id]/logs/route_client-reference-manifest.js +1 -1
  213. package/.next/server/app/api/worktrees/[id]/marp-render/route.js +1 -1
  214. package/.next/server/app/api/worktrees/[id]/marp-render/route_client-reference-manifest.js +1 -1
  215. package/.next/server/app/api/worktrees/[id]/memos/[memoId]/route.js +1 -1
  216. package/.next/server/app/api/worktrees/[id]/memos/[memoId]/route_client-reference-manifest.js +1 -1
  217. package/.next/server/app/api/worktrees/[id]/memos/route.js +1 -1
  218. package/.next/server/app/api/worktrees/[id]/memos/route_client-reference-manifest.js +1 -1
  219. package/.next/server/app/api/worktrees/[id]/messages/route.js +1 -1
  220. package/.next/server/app/api/worktrees/[id]/messages/route_client-reference-manifest.js +1 -1
  221. package/.next/server/app/api/worktrees/[id]/opencode/diff/route_client-reference-manifest.js +1 -1
  222. package/.next/server/app/api/worktrees/[id]/opencode/session/route.js +1 -1
  223. package/.next/server/app/api/worktrees/[id]/opencode/session/route.js.nft.json +1 -1
  224. package/.next/server/app/api/worktrees/[id]/opencode/session/route_client-reference-manifest.js +1 -1
  225. package/.next/server/app/api/worktrees/[id]/opencode/share/route.js +1 -1
  226. package/.next/server/app/api/worktrees/[id]/opencode/share/route.js.nft.json +1 -1
  227. package/.next/server/app/api/worktrees/[id]/opencode/share/route_client-reference-manifest.js +1 -1
  228. package/.next/server/app/api/worktrees/[id]/prompt-response/route.js +1 -1
  229. package/.next/server/app/api/worktrees/[id]/prompt-response/route.js.nft.json +1 -1
  230. package/.next/server/app/api/worktrees/[id]/prompt-response/route_client-reference-manifest.js +1 -1
  231. package/.next/server/app/api/worktrees/[id]/prompt-response/strict/route.js +1 -1
  232. package/.next/server/app/api/worktrees/[id]/prompt-response/strict/route.js.nft.json +1 -1
  233. package/.next/server/app/api/worktrees/[id]/prompt-response/strict/route_client-reference-manifest.js +1 -1
  234. package/.next/server/app/api/worktrees/[id]/resolve-target/route.js +1 -1
  235. package/.next/server/app/api/worktrees/[id]/resolve-target/route_client-reference-manifest.js +1 -1
  236. package/.next/server/app/api/worktrees/[id]/respond/route.js +1 -1
  237. package/.next/server/app/api/worktrees/[id]/respond/route.js.nft.json +1 -1
  238. package/.next/server/app/api/worktrees/[id]/respond/route_client-reference-manifest.js +1 -1
  239. package/.next/server/app/api/worktrees/[id]/route.js +1 -1
  240. package/.next/server/app/api/worktrees/[id]/route.js.nft.json +1 -1
  241. package/.next/server/app/api/worktrees/[id]/route_client-reference-manifest.js +1 -1
  242. package/.next/server/app/api/worktrees/[id]/schedules/[scheduleId]/route.js +2 -2
  243. package/.next/server/app/api/worktrees/[id]/schedules/[scheduleId]/route.js.nft.json +1 -1
  244. package/.next/server/app/api/worktrees/[id]/schedules/[scheduleId]/route_client-reference-manifest.js +1 -1
  245. package/.next/server/app/api/worktrees/[id]/schedules/active/route.js +2 -2
  246. package/.next/server/app/api/worktrees/[id]/schedules/active/route.js.nft.json +1 -1
  247. package/.next/server/app/api/worktrees/[id]/schedules/active/route_client-reference-manifest.js +1 -1
  248. package/.next/server/app/api/worktrees/[id]/schedules/route.js +2 -2
  249. package/.next/server/app/api/worktrees/[id]/schedules/route.js.nft.json +1 -1
  250. package/.next/server/app/api/worktrees/[id]/schedules/route_client-reference-manifest.js +1 -1
  251. package/.next/server/app/api/worktrees/[id]/search/route_client-reference-manifest.js +1 -1
  252. package/.next/server/app/api/worktrees/[id]/send/route.js +1 -1
  253. package/.next/server/app/api/worktrees/[id]/send/route.js.nft.json +1 -1
  254. package/.next/server/app/api/worktrees/[id]/send/route_client-reference-manifest.js +1 -1
  255. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route.js +3 -104
  256. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route.js.nft.json +1 -1
  257. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route_client-reference-manifest.js +1 -1
  258. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/install/route.js +1 -1
  259. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/install/route.js.nft.json +1 -1
  260. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/install/route_client-reference-manifest.js +1 -1
  261. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/plan/route.js +1 -1
  262. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/plan/route.js.nft.json +1 -1
  263. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/plan/route_client-reference-manifest.js +1 -1
  264. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall/route.js +1 -1
  265. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall/route.js.nft.json +1 -1
  266. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall/route_client-reference-manifest.js +1 -1
  267. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route.js +1 -1
  268. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route.js.nft.json +1 -1
  269. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route_client-reference-manifest.js +1 -1
  270. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update/route.js +1 -1
  271. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update/route.js.nft.json +1 -1
  272. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update/route_client-reference-manifest.js +1 -1
  273. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update-plan/route.js +1 -1
  274. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update-plan/route.js.nft.json +1 -1
  275. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update-plan/route_client-reference-manifest.js +1 -1
  276. package/.next/server/app/api/worktrees/[id]/skills/route.js +1 -1
  277. package/.next/server/app/api/worktrees/[id]/skills/route_client-reference-manifest.js +1 -1
  278. package/.next/server/app/api/worktrees/[id]/slash-commands/route.js +1 -1
  279. package/.next/server/app/api/worktrees/[id]/slash-commands/route.js.nft.json +1 -1
  280. package/.next/server/app/api/worktrees/[id]/slash-commands/route_client-reference-manifest.js +1 -1
  281. package/.next/server/app/api/worktrees/[id]/special-keys/route.js +1 -1
  282. package/.next/server/app/api/worktrees/[id]/special-keys/route.js.nft.json +1 -1
  283. package/.next/server/app/api/worktrees/[id]/special-keys/route_client-reference-manifest.js +1 -1
  284. package/.next/server/app/api/worktrees/[id]/tasks/route.js +2 -2
  285. package/.next/server/app/api/worktrees/[id]/tasks/route.js.nft.json +1 -1
  286. package/.next/server/app/api/worktrees/[id]/tasks/route_client-reference-manifest.js +1 -1
  287. package/.next/server/app/api/worktrees/[id]/terminal/route.js +1 -103
  288. package/.next/server/app/api/worktrees/[id]/terminal/route.js.nft.json +1 -1
  289. package/.next/server/app/api/worktrees/[id]/terminal/route_client-reference-manifest.js +1 -1
  290. package/.next/server/app/api/worktrees/[id]/timers/history/route.js +1 -1
  291. package/.next/server/app/api/worktrees/[id]/timers/history/route_client-reference-manifest.js +1 -1
  292. package/.next/server/app/api/worktrees/[id]/timers/route.js +1 -1
  293. package/.next/server/app/api/worktrees/[id]/timers/route.js.nft.json +1 -1
  294. package/.next/server/app/api/worktrees/[id]/timers/route_client-reference-manifest.js +1 -1
  295. package/.next/server/app/api/worktrees/[id]/todos/[todoId]/route_client-reference-manifest.js +1 -1
  296. package/.next/server/app/api/worktrees/[id]/todos/route_client-reference-manifest.js +1 -1
  297. package/.next/server/app/api/worktrees/[id]/tree/[...path]/route_client-reference-manifest.js +1 -1
  298. package/.next/server/app/api/worktrees/[id]/tree/route_client-reference-manifest.js +1 -1
  299. package/.next/server/app/api/worktrees/[id]/upload/[...path]/route_client-reference-manifest.js +1 -1
  300. package/.next/server/app/api/worktrees/[id]/verify/config/route.js +1 -1
  301. package/.next/server/app/api/worktrees/[id]/verify/config/route_client-reference-manifest.js +1 -1
  302. package/.next/server/app/api/worktrees/[id]/verify/route.js +1 -1
  303. package/.next/server/app/api/worktrees/[id]/verify/route.js.nft.json +1 -1
  304. package/.next/server/app/api/worktrees/[id]/verify/route_client-reference-manifest.js +1 -1
  305. package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route.js +1 -1
  306. package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route.js.nft.json +1 -1
  307. package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route_client-reference-manifest.js +1 -1
  308. package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/route.js +1 -1
  309. package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/route_client-reference-manifest.js +1 -1
  310. package/.next/server/app/api/worktrees/[id]/verify/runs/route.js +1 -1
  311. package/.next/server/app/api/worktrees/[id]/verify/runs/route_client-reference-manifest.js +1 -1
  312. package/.next/server/app/api/worktrees/[id]/viewed/route.js +1 -1
  313. package/.next/server/app/api/worktrees/[id]/viewed/route_client-reference-manifest.js +1 -1
  314. package/.next/server/app/api/worktrees/apply-default-agents/route_client-reference-manifest.js +1 -1
  315. package/.next/server/app/api/worktrees/route.js +1 -1
  316. package/.next/server/app/api/worktrees/route.js.nft.json +1 -1
  317. package/.next/server/app/api/worktrees/route_client-reference-manifest.js +1 -1
  318. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  319. package/.next/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
  320. package/.next/server/app/more/page.js +1 -1
  321. package/.next/server/app/more/page_client-reference-manifest.js +1 -1
  322. package/.next/server/app/offline/page_client-reference-manifest.js +1 -1
  323. package/.next/server/app/page_client-reference-manifest.js +1 -1
  324. package/.next/server/app/proxy/[...path]/route_client-reference-manifest.js +1 -1
  325. package/.next/server/app/repositories/page.js +2 -2
  326. package/.next/server/app/repositories/page_client-reference-manifest.js +1 -1
  327. package/.next/server/app/review/page.js +1 -1
  328. package/.next/server/app/review/page_client-reference-manifest.js +1 -1
  329. package/.next/server/app/sessions/page.js +1 -1
  330. package/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
  331. package/.next/server/app/skills/[skillId]/page_client-reference-manifest.js +1 -1
  332. package/.next/server/app/skills/installed/page_client-reference-manifest.js +1 -1
  333. package/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  334. package/.next/server/app/worktrees/[id]/files/[...path]/page_client-reference-manifest.js +1 -1
  335. package/.next/server/app/worktrees/[id]/page.js +11 -11
  336. package/.next/server/app/worktrees/[id]/page_client-reference-manifest.js +1 -1
  337. package/.next/server/app/worktrees/[id]/terminal/page_client-reference-manifest.js +1 -1
  338. package/.next/server/app-paths-manifest.json +19 -13
  339. package/.next/server/chunks/1184.js +5 -0
  340. package/.next/server/chunks/1501.js +5 -5
  341. package/.next/server/chunks/1656.js +2 -2
  342. package/.next/server/chunks/1957.js +2 -2
  343. package/.next/server/chunks/1990.js +103 -0
  344. package/.next/server/chunks/2119.js +1 -1
  345. package/.next/server/chunks/2404.js +1 -1
  346. package/.next/server/chunks/2445.js +1 -1
  347. package/.next/server/chunks/2819.js +1 -0
  348. package/.next/server/chunks/2897.js +1 -1
  349. package/.next/server/chunks/3042.js +2 -0
  350. package/.next/server/chunks/3241.js +1 -1
  351. package/.next/server/chunks/3294.js +3 -0
  352. package/.next/server/chunks/3417.js +1 -1
  353. package/.next/server/chunks/3480.js +1 -1
  354. package/.next/server/chunks/3505.js +2 -6
  355. package/.next/server/chunks/3543.js +1 -1
  356. package/.next/server/chunks/3801.js +2 -2
  357. package/.next/server/chunks/3945.js +1 -1
  358. package/.next/server/chunks/4207.js +1 -1
  359. package/.next/server/chunks/454.js +1 -0
  360. package/.next/server/chunks/4645.js +1 -0
  361. package/.next/server/chunks/4911.js +1 -1
  362. package/.next/server/chunks/5350.js +6 -2
  363. package/.next/server/chunks/5354.js +1 -1
  364. package/.next/server/chunks/5571.js +1 -1
  365. package/.next/server/chunks/6009.js +12 -0
  366. package/.next/server/chunks/6130.js +1 -1
  367. package/.next/server/chunks/6285.js +1 -1
  368. package/.next/server/chunks/6401.js +1 -1
  369. package/.next/server/chunks/6486.js +2 -2
  370. package/.next/server/chunks/6569.js +1 -0
  371. package/.next/server/chunks/6781.js +1 -1
  372. package/.next/server/chunks/6793.js +4 -4
  373. package/.next/server/chunks/696.js +3 -0
  374. package/.next/server/chunks/7023.js +3 -3
  375. package/.next/server/chunks/{9702.js → 7083.js} +1 -1
  376. package/.next/server/chunks/741.js +1 -0
  377. package/.next/server/chunks/7662.js +1 -0
  378. package/.next/server/chunks/7905.js +1 -1
  379. package/.next/server/chunks/8143.js +33 -0
  380. package/.next/server/chunks/8581.js +6 -6
  381. package/.next/server/chunks/8728.js +2 -2
  382. package/.next/server/chunks/8782.js +1 -1
  383. package/.next/server/chunks/8807.js +97 -10
  384. package/.next/server/chunks/8918.js +3 -105
  385. package/.next/server/chunks/8955.js +1 -0
  386. package/.next/server/chunks/923.js +1 -0
  387. package/.next/server/chunks/9390.js +2 -2
  388. package/.next/server/chunks/9627.js +5 -5
  389. package/.next/server/chunks/973.js +1 -0
  390. package/.next/server/chunks/9731.js +3 -3
  391. package/.next/server/middleware-build-manifest.js +1 -1
  392. package/.next/server/middleware-manifest.json +5 -5
  393. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  394. package/.next/server/pages/500.html +1 -1
  395. package/.next/server/server-reference-manifest.json +1 -1
  396. package/.next/static/chunks/2314-2c9d587a27e8f731.js +1 -0
  397. package/.next/static/chunks/2407-ee881c99e218975b.js +1 -0
  398. package/.next/static/chunks/3931-24d7e245a93feb25.js +1 -0
  399. package/.next/static/chunks/4548-9afa02fd18afa6c7.js +1 -0
  400. package/.next/static/chunks/{5794-7975b8e51e731b19.js → 5794-38b3b504b3d97e04.js} +1 -1
  401. package/.next/static/chunks/{6966-d8dc6032410ffaba.js → 6966-dbfa4a43397f8c6d.js} +1 -1
  402. package/.next/static/chunks/7090-28e83f5a0efdb3b4.js +1 -0
  403. package/.next/static/chunks/7229.016d007c467a3600.js +1 -0
  404. package/.next/static/chunks/{8407-35bbfc84793d7004.js → 8407-dd6a8062fc449899.js} +1 -1
  405. package/.next/static/chunks/app/api/agents/update/route-476063c3571b81dd.js +1 -0
  406. package/.next/static/chunks/app/api/agents/versions/route-476063c3571b81dd.js +1 -0
  407. package/.next/static/chunks/app/api/app/release-notes/route-476063c3571b81dd.js +1 -0
  408. package/.next/static/chunks/app/api/app/update/route-476063c3571b81dd.js +1 -0
  409. package/.next/static/chunks/app/api/app/update-check/route-476063c3571b81dd.js +1 -0
  410. package/.next/static/chunks/app/api/auth/login/route-476063c3571b81dd.js +1 -0
  411. package/.next/static/chunks/app/api/auth/logout/route-476063c3571b81dd.js +1 -0
  412. package/.next/static/chunks/app/api/auth/status/route-476063c3571b81dd.js +1 -0
  413. package/.next/static/chunks/app/api/capabilities/route-476063c3571b81dd.js +1 -0
  414. package/.next/static/chunks/app/api/daily-summary/route-476063c3571b81dd.js +1 -0
  415. package/.next/static/chunks/app/api/daily-summary/status/route-476063c3571b81dd.js +1 -0
  416. package/.next/static/chunks/app/api/external-apps/[id]/health/route-476063c3571b81dd.js +1 -0
  417. package/.next/static/chunks/app/api/external-apps/[id]/route-476063c3571b81dd.js +1 -0
  418. package/.next/static/chunks/app/api/external-apps/route-476063c3571b81dd.js +1 -0
  419. package/.next/static/chunks/app/api/fs/browse/route-476063c3571b81dd.js +1 -0
  420. package/.next/static/chunks/app/api/fs/recent-paths/route-476063c3571b81dd.js +1 -0
  421. package/.next/static/chunks/app/api/hooks/agent-event/route-476063c3571b81dd.js +1 -0
  422. package/.next/static/chunks/app/api/hooks/claude-done/route-476063c3571b81dd.js +1 -0
  423. package/.next/static/chunks/app/api/hooks/permission-request/route-476063c3571b81dd.js +1 -0
  424. package/.next/static/chunks/app/api/metrics/vibe/route-476063c3571b81dd.js +1 -0
  425. package/.next/static/chunks/app/api/ollama/models/route-476063c3571b81dd.js +1 -0
  426. package/.next/static/chunks/app/api/push/escalation/route-476063c3571b81dd.js +1 -0
  427. package/.next/static/chunks/app/api/push/subscriptions/route-476063c3571b81dd.js +1 -0
  428. package/.next/static/chunks/app/api/push/vapid/route-476063c3571b81dd.js +1 -0
  429. package/.next/static/chunks/app/api/relays/[relayId]/cancel/route-476063c3571b81dd.js +1 -0
  430. package/.next/static/chunks/app/api/relays/[relayId]/resolve/route-476063c3571b81dd.js +1 -0
  431. package/.next/static/chunks/app/api/relays/[relayId]/route-476063c3571b81dd.js +1 -0
  432. package/.next/static/chunks/app/api/relays/route-476063c3571b81dd.js +1 -0
  433. package/.next/static/chunks/app/api/remote/pair/route-476063c3571b81dd.js +1 -0
  434. package/.next/static/chunks/app/api/repositories/[id]/role-defaults/route-476063c3571b81dd.js +1 -0
  435. package/.next/static/chunks/app/api/repositories/[id]/route-476063c3571b81dd.js +1 -0
  436. package/.next/static/chunks/app/api/repositories/clone/[jobId]/route-476063c3571b81dd.js +1 -0
  437. package/.next/static/chunks/app/api/repositories/clone/route-476063c3571b81dd.js +1 -0
  438. package/.next/static/chunks/app/api/repositories/excluded/route-476063c3571b81dd.js +1 -0
  439. package/.next/static/chunks/app/api/repositories/restore/route-476063c3571b81dd.js +1 -0
  440. package/.next/static/chunks/app/api/repositories/route-476063c3571b81dd.js +1 -0
  441. package/.next/static/chunks/app/api/repositories/scan/route-476063c3571b81dd.js +1 -0
  442. package/.next/static/chunks/app/api/repositories/sync/route-476063c3571b81dd.js +1 -0
  443. package/.next/static/chunks/app/api/repositories/validate-path/route-476063c3571b81dd.js +1 -0
  444. package/.next/static/chunks/app/api/roles/[id]/route-476063c3571b81dd.js +1 -0
  445. package/.next/static/chunks/app/api/roles/route-476063c3571b81dd.js +1 -0
  446. package/.next/static/chunks/app/api/settings/agent-role-defaults/route-476063c3571b81dd.js +1 -0
  447. package/.next/static/chunks/app/api/settings/default-agents/route-476063c3571b81dd.js +1 -0
  448. package/.next/static/chunks/app/api/settings/default-surface-mode/route-476063c3571b81dd.js +1 -0
  449. package/.next/static/chunks/app/api/sidebar/group-order/route-476063c3571b81dd.js +1 -0
  450. package/.next/static/chunks/app/api/skills/[id]/route-476063c3571b81dd.js +1 -0
  451. package/.next/static/chunks/app/api/skills/installations/route-476063c3571b81dd.js +1 -0
  452. package/.next/static/chunks/app/api/skills/operations/route-476063c3571b81dd.js +1 -0
  453. package/.next/static/chunks/app/api/skills/reindex/route-476063c3571b81dd.js +1 -0
  454. package/.next/static/chunks/app/api/skills/route-476063c3571b81dd.js +1 -0
  455. package/.next/static/chunks/app/api/slash-commands/route-476063c3571b81dd.js +1 -0
  456. package/.next/static/chunks/app/api/tasks/[taskId]/cancel/route-476063c3571b81dd.js +1 -0
  457. package/.next/static/chunks/app/api/tasks/[taskId]/route-476063c3571b81dd.js +1 -0
  458. package/.next/static/chunks/app/api/templates/[id]/route-476063c3571b81dd.js +1 -0
  459. package/.next/static/chunks/app/api/templates/route-476063c3571b81dd.js +1 -0
  460. package/.next/static/chunks/app/api/verification/runs/[runId]/route-476063c3571b81dd.js +1 -0
  461. package/.next/static/chunks/app/api/verification/runs/route-476063c3571b81dd.js +1 -0
  462. package/.next/static/chunks/app/api/worktrees/[id]/auto-yes/route-476063c3571b81dd.js +1 -0
  463. package/.next/static/chunks/app/api/worktrees/[id]/capture/route-476063c3571b81dd.js +1 -0
  464. package/.next/static/chunks/app/api/worktrees/[id]/clear-composer/route-476063c3571b81dd.js +1 -0
  465. package/.next/static/chunks/app/api/worktrees/[id]/cli-reference/route-476063c3571b81dd.js +1 -0
  466. package/.next/static/chunks/app/api/worktrees/[id]/cli-tool/route-476063c3571b81dd.js +1 -0
  467. package/.next/static/chunks/app/api/worktrees/[id]/cmate/schedules/route-476063c3571b81dd.js +1 -0
  468. package/.next/static/chunks/app/api/worktrees/[id]/current-output/route-476063c3571b81dd.js +1 -0
  469. package/.next/static/chunks/app/api/worktrees/[id]/direct-input/route-476063c3571b81dd.js +1 -0
  470. package/.next/static/chunks/app/api/worktrees/[id]/env/route-476063c3571b81dd.js +1 -0
  471. package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/[logId]/route-476063c3571b81dd.js +1 -0
  472. package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/route-476063c3571b81dd.js +1 -0
  473. package/.next/static/chunks/app/api/worktrees/[id]/files/[...path]/route-476063c3571b81dd.js +1 -0
  474. package/.next/static/chunks/app/api/worktrees/[id]/git/branch/create/route-476063c3571b81dd.js +1 -0
  475. package/.next/static/chunks/app/api/worktrees/[id]/git/branch/delete/route-476063c3571b81dd.js +1 -0
  476. package/.next/static/chunks/app/api/worktrees/[id]/git/branches/route-476063c3571b81dd.js +1 -0
  477. package/.next/static/chunks/app/api/worktrees/[id]/git/checkout/route-476063c3571b81dd.js +1 -0
  478. package/.next/static/chunks/app/api/worktrees/[id]/git/commit/route-476063c3571b81dd.js +1 -0
  479. package/.next/static/chunks/app/api/worktrees/[id]/git/diff/route-476063c3571b81dd.js +1 -0
  480. package/.next/static/chunks/app/api/worktrees/[id]/git/fetch/route-476063c3571b81dd.js +1 -0
  481. package/.next/static/chunks/app/api/worktrees/[id]/git/log/route-476063c3571b81dd.js +1 -0
  482. package/.next/static/chunks/app/api/worktrees/[id]/git/pull/route-476063c3571b81dd.js +1 -0
  483. package/.next/static/chunks/app/api/worktrees/[id]/git/push/route-476063c3571b81dd.js +1 -0
  484. package/.next/static/chunks/app/api/worktrees/[id]/git/reset/route-476063c3571b81dd.js +1 -0
  485. package/.next/static/chunks/app/api/worktrees/[id]/git/revert/route-476063c3571b81dd.js +1 -0
  486. package/.next/static/chunks/app/api/worktrees/[id]/git/show/[commitHash]/route-476063c3571b81dd.js +1 -0
  487. package/.next/static/chunks/app/api/worktrees/[id]/git/stage/route-476063c3571b81dd.js +1 -0
  488. package/.next/static/chunks/app/api/worktrees/[id]/git/staged/route-476063c3571b81dd.js +1 -0
  489. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/[index]/route-476063c3571b81dd.js +1 -0
  490. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/apply/route-476063c3571b81dd.js +1 -0
  491. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/pop/route-476063c3571b81dd.js +1 -0
  492. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/push/route-476063c3571b81dd.js +1 -0
  493. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/route-476063c3571b81dd.js +1 -0
  494. package/.next/static/chunks/app/api/worktrees/[id]/git/status/route-476063c3571b81dd.js +1 -0
  495. package/.next/static/chunks/app/api/worktrees/[id]/git/unstage/route-476063c3571b81dd.js +1 -0
  496. package/.next/static/chunks/app/api/worktrees/[id]/git/working-diff/route-476063c3571b81dd.js +1 -0
  497. package/.next/static/chunks/app/api/worktrees/[id]/instances/notes/route-476063c3571b81dd.js +1 -0
  498. package/.next/static/chunks/app/api/worktrees/[id]/instances/opencode/route-476063c3571b81dd.js +1 -0
  499. package/.next/static/chunks/app/api/worktrees/[id]/instances/roles/route-476063c3571b81dd.js +1 -0
  500. package/.next/static/chunks/app/api/worktrees/[id]/instances/roles/settle/route-476063c3571b81dd.js +1 -0
  501. package/.next/static/chunks/app/api/worktrees/[id]/interrupt/route-476063c3571b81dd.js +1 -0
  502. package/.next/static/chunks/app/api/worktrees/[id]/kill-session/route-476063c3571b81dd.js +1 -0
  503. package/.next/static/chunks/app/api/worktrees/[id]/logs/[filename]/route-476063c3571b81dd.js +1 -0
  504. package/.next/static/chunks/app/api/worktrees/[id]/logs/route-476063c3571b81dd.js +1 -0
  505. package/.next/static/chunks/app/api/worktrees/[id]/marp-render/route-476063c3571b81dd.js +1 -0
  506. package/.next/static/chunks/app/api/worktrees/[id]/memos/[memoId]/route-476063c3571b81dd.js +1 -0
  507. package/.next/static/chunks/app/api/worktrees/[id]/memos/route-476063c3571b81dd.js +1 -0
  508. package/.next/static/chunks/app/api/worktrees/[id]/messages/route-476063c3571b81dd.js +1 -0
  509. package/.next/static/chunks/app/api/worktrees/[id]/opencode/diff/route-476063c3571b81dd.js +1 -0
  510. package/.next/static/chunks/app/api/worktrees/[id]/opencode/session/route-476063c3571b81dd.js +1 -0
  511. package/.next/static/chunks/app/api/worktrees/[id]/opencode/share/route-476063c3571b81dd.js +1 -0
  512. package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/route-476063c3571b81dd.js +1 -0
  513. package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/strict/route-476063c3571b81dd.js +1 -0
  514. package/.next/static/chunks/app/api/worktrees/[id]/resolve-target/route-476063c3571b81dd.js +1 -0
  515. package/.next/static/chunks/app/api/worktrees/[id]/respond/route-476063c3571b81dd.js +1 -0
  516. package/.next/static/chunks/app/api/worktrees/[id]/route-476063c3571b81dd.js +1 -0
  517. package/.next/static/chunks/app/api/worktrees/[id]/schedules/[scheduleId]/route-476063c3571b81dd.js +1 -0
  518. package/.next/static/chunks/app/api/worktrees/[id]/schedules/active/route-476063c3571b81dd.js +1 -0
  519. package/.next/static/chunks/app/api/worktrees/[id]/schedules/route-476063c3571b81dd.js +1 -0
  520. package/.next/static/chunks/app/api/worktrees/[id]/search/route-476063c3571b81dd.js +1 -0
  521. package/.next/static/chunks/app/api/worktrees/[id]/send/route-476063c3571b81dd.js +1 -0
  522. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route-476063c3571b81dd.js +1 -0
  523. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/install/route-476063c3571b81dd.js +1 -0
  524. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/plan/route-476063c3571b81dd.js +1 -0
  525. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall/route-476063c3571b81dd.js +1 -0
  526. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route-476063c3571b81dd.js +1 -0
  527. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update/route-476063c3571b81dd.js +1 -0
  528. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update-plan/route-476063c3571b81dd.js +1 -0
  529. package/.next/static/chunks/app/api/worktrees/[id]/skills/route-476063c3571b81dd.js +1 -0
  530. package/.next/static/chunks/app/api/worktrees/[id]/slash-commands/route-476063c3571b81dd.js +1 -0
  531. package/.next/static/chunks/app/api/worktrees/[id]/special-keys/route-476063c3571b81dd.js +1 -0
  532. package/.next/static/chunks/app/api/worktrees/[id]/tasks/route-476063c3571b81dd.js +1 -0
  533. package/.next/static/chunks/app/api/worktrees/[id]/terminal/route-476063c3571b81dd.js +1 -0
  534. package/.next/static/chunks/app/api/worktrees/[id]/timers/history/route-476063c3571b81dd.js +1 -0
  535. package/.next/static/chunks/app/api/worktrees/[id]/timers/route-476063c3571b81dd.js +1 -0
  536. package/.next/static/chunks/app/api/worktrees/[id]/todos/[todoId]/route-476063c3571b81dd.js +1 -0
  537. package/.next/static/chunks/app/api/worktrees/[id]/todos/route-476063c3571b81dd.js +1 -0
  538. package/.next/static/chunks/app/api/worktrees/[id]/tree/[...path]/route-476063c3571b81dd.js +1 -0
  539. package/.next/static/chunks/app/api/worktrees/[id]/tree/route-476063c3571b81dd.js +1 -0
  540. package/.next/static/chunks/app/api/worktrees/[id]/upload/[...path]/route-476063c3571b81dd.js +1 -0
  541. package/.next/static/chunks/app/api/worktrees/[id]/verify/config/route-476063c3571b81dd.js +1 -0
  542. package/.next/static/chunks/app/api/worktrees/[id]/verify/route-476063c3571b81dd.js +1 -0
  543. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route-476063c3571b81dd.js +1 -0
  544. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/route-476063c3571b81dd.js +1 -0
  545. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/route-476063c3571b81dd.js +1 -0
  546. package/.next/static/chunks/app/api/worktrees/[id]/viewed/route-476063c3571b81dd.js +1 -0
  547. package/.next/static/chunks/app/api/worktrees/apply-default-agents/route-476063c3571b81dd.js +1 -0
  548. package/.next/static/chunks/app/api/worktrees/route-476063c3571b81dd.js +1 -0
  549. package/.next/static/chunks/app/layout-7bf800fcc5e025b1.js +1 -0
  550. package/.next/static/chunks/app/manifest.webmanifest/route-476063c3571b81dd.js +1 -0
  551. package/.next/static/chunks/app/more/{page-ff5af5ca48774c89.js → page-e8f5780f6e4fb657.js} +1 -1
  552. package/.next/static/chunks/app/{page-b4863bfe0452e09d.js → page-869f353a4ac4e15b.js} +1 -1
  553. package/.next/static/chunks/app/proxy/[...path]/route-476063c3571b81dd.js +1 -0
  554. package/.next/static/chunks/app/repositories/page-bedb505687010f18.js +1 -0
  555. package/.next/static/chunks/app/review/page-87c4a9b0de50fa80.js +1 -0
  556. package/.next/static/chunks/app/sessions/{page-c6eb7c02db2f4c80.js → page-82ca46793789fce4.js} +1 -1
  557. package/.next/static/chunks/app/worktrees/[id]/layout-476063c3571b81dd.js +1 -0
  558. package/.next/static/chunks/app/worktrees/[id]/page-570eb79fbbd1a934.js +1 -0
  559. package/.next/static/chunks/{webpack-838df0273b03af19.js → webpack-16b1a3143fa42ca0.js} +1 -1
  560. package/.next/static/css/d4f2c9522cf1b449.css +1 -0
  561. package/.next/static/z4d8-5MaLkoD-4EhueZwk/_buildManifest.js +1 -0
  562. package/.next/trace +14 -13
  563. package/.next/types/app/api/repositories/[id]/role-defaults/route.ts +347 -0
  564. package/.next/types/app/api/roles/[id]/route.ts +347 -0
  565. package/.next/types/app/api/roles/route.ts +347 -0
  566. package/.next/types/app/api/settings/agent-role-defaults/route.ts +347 -0
  567. package/.next/types/app/api/worktrees/[id]/instances/roles/route.ts +347 -0
  568. package/.next/types/app/api/worktrees/[id]/instances/roles/settle/route.ts +347 -0
  569. package/.next/types/routes.d.ts +7 -1
  570. package/.next/types/validator.ts +54 -0
  571. package/dist/cli/commands/instances.d.ts +1 -0
  572. package/dist/cli/commands/instances.d.ts.map +1 -1
  573. package/dist/cli/commands/instances.js +290 -33
  574. package/dist/cli/commands/message-dispatch.d.ts +25 -3
  575. package/dist/cli/commands/message-dispatch.d.ts.map +1 -1
  576. package/dist/cli/commands/message-dispatch.js +26 -6
  577. package/dist/cli/commands/relays.d.ts +5 -0
  578. package/dist/cli/commands/relays.d.ts.map +1 -1
  579. package/dist/cli/commands/relays.js +37 -1
  580. package/dist/cli/commands/roles.d.ts +11 -0
  581. package/dist/cli/commands/roles.d.ts.map +1 -0
  582. package/dist/cli/commands/roles.js +392 -0
  583. package/dist/cli/commands/send.d.ts.map +1 -1
  584. package/dist/cli/commands/send.js +526 -38
  585. package/dist/cli/docs/agent-operations.d.ts +1 -1
  586. package/dist/cli/docs/agent-operations.d.ts.map +1 -1
  587. package/dist/cli/docs/agent-operations.js +91 -3
  588. package/dist/cli/index.d.ts +4 -0
  589. package/dist/cli/index.d.ts.map +1 -1
  590. package/dist/cli/index.js +6 -0
  591. package/dist/cli/types/api-responses.d.ts +54 -0
  592. package/dist/cli/types/api-responses.d.ts.map +1 -1
  593. package/dist/cli/types/index.d.ts +38 -0
  594. package/dist/cli/types/index.d.ts.map +1 -1
  595. package/dist/cli/types/index.js +15 -1
  596. package/dist/cli/utils/agent-instances.d.ts +29 -1
  597. package/dist/cli/utils/agent-instances.d.ts.map +1 -1
  598. package/dist/cli/utils/agent-instances.js +67 -7
  599. package/dist/cli/utils/agent-roles.d.ts +75 -0
  600. package/dist/cli/utils/agent-roles.d.ts.map +1 -0
  601. package/dist/cli/utils/agent-roles.js +238 -0
  602. package/dist/cli/utils/api-client-errors.d.ts +23 -1
  603. package/dist/cli/utils/api-client-errors.d.ts.map +1 -1
  604. package/dist/cli/utils/api-client-errors.js +14 -2
  605. package/dist/cli/utils/api-client.d.ts +8 -0
  606. package/dist/cli/utils/api-client.d.ts.map +1 -1
  607. package/dist/cli/utils/api-client.js +13 -1
  608. package/dist/cli/utils/role-failure.d.ts +31 -0
  609. package/dist/cli/utils/role-failure.d.ts.map +1 -0
  610. package/dist/cli/utils/role-failure.js +90 -0
  611. package/dist/cli/utils/role-input.d.ts +16 -0
  612. package/dist/cli/utils/role-input.d.ts.map +1 -0
  613. package/dist/cli/utils/role-input.js +78 -0
  614. package/dist/cli/utils/security-logger.d.ts +17 -0
  615. package/dist/cli/utils/security-logger.d.ts.map +1 -1
  616. package/dist/cli/utils/security-logger.js +44 -5
  617. package/dist/lib/detection/tools/verified-against.d.ts +16 -0
  618. package/dist/lib/detection/tools/verified-against.d.ts.map +1 -1
  619. package/dist/lib/detection/tools/verified-against.js +16 -0
  620. package/dist/lib/session/send-attempt-types.d.ts +4 -0
  621. package/dist/lib/session/send-attempt-types.d.ts.map +1 -1
  622. package/dist/lib/verification/verify-config.d.ts +22 -0
  623. package/dist/lib/verification/verify-config.d.ts.map +1 -1
  624. package/dist/lib/verification/verify-config.js +32 -2
  625. package/dist/server/locales/en/worktree.json +25 -6
  626. package/dist/server/locales/ja/worktree.json +25 -6
  627. package/dist/server/src/config/safe-directory.js +30 -0
  628. package/dist/server/src/lib/agent-roles/adapters.js +174 -0
  629. package/dist/server/src/lib/agent-roles/artifacts.js +638 -0
  630. package/dist/server/src/lib/agent-roles/composition.js +222 -0
  631. package/dist/server/src/lib/agent-roles/fingerprint.js +21 -0
  632. package/dist/server/src/lib/agent-roles/jsonc.js +85 -0
  633. package/dist/server/src/lib/agent-roles/launch-errors.js +58 -0
  634. package/dist/server/src/lib/agent-roles/pane-env.js +63 -0
  635. package/dist/server/src/lib/agent-roles/resolve.js +375 -0
  636. package/dist/server/src/lib/agent-roles/toml-basic.js +140 -0
  637. package/dist/server/src/lib/agent-roles/unicode.js +16 -0
  638. package/dist/server/src/lib/agent-roles/validation.js +61 -0
  639. package/dist/server/src/lib/cli-tools/antigravity.js +39 -6
  640. package/dist/server/src/lib/cli-tools/base.js +63 -5
  641. package/dist/server/src/lib/cli-tools/claude-auto-default-nudge.js +141 -0
  642. package/dist/server/src/lib/cli-tools/claude.js +7 -1
  643. package/dist/server/src/lib/cli-tools/codex.js +134 -21
  644. package/dist/server/src/lib/cli-tools/command-code.js +24 -1
  645. package/dist/server/src/lib/cli-tools/copilot.js +36 -7
  646. package/dist/server/src/lib/cli-tools/gemini.js +37 -3
  647. package/dist/server/src/lib/cli-tools/launch-answer-skips.js +76 -0
  648. package/dist/server/src/lib/cli-tools/opencode-v2.js +10 -0
  649. package/dist/server/src/lib/cli-tools/opencode.js +58 -7
  650. package/dist/server/src/lib/cli-tools/submit-composer-read.js +24 -4
  651. package/dist/server/src/lib/cli-tools/vibe-local.js +25 -1
  652. package/dist/server/src/lib/db/agent-instances-db.js +53 -0
  653. package/dist/server/src/lib/db/agent-roles-db.js +409 -0
  654. package/dist/server/src/lib/db/agent-session-cost-sampler.js +3 -2
  655. package/dist/server/src/lib/db/db-instance.js +7 -37
  656. package/dist/server/src/lib/db/migrations/index.js +4 -0
  657. package/dist/server/src/lib/db/migrations/runner.js +1 -1
  658. package/dist/server/src/lib/db/migrations/v64-agent-roles.js +123 -0
  659. package/dist/server/src/lib/db/migrations/v65-agent-instance-creation-keys.js +42 -0
  660. package/dist/server/src/lib/db/relay-db.js +35 -0
  661. package/dist/server/src/lib/detection/cli-patterns.js +13 -3
  662. package/dist/server/src/lib/detection/model-info-extractor.js +1 -1
  663. package/dist/server/src/lib/detection/tools/claude/patterns.js +76 -0
  664. package/dist/server/src/lib/detection/tools/codex/cli-patterns.js +5 -0
  665. package/dist/server/src/lib/detection/tools/codex/detect.js +5 -1
  666. package/dist/server/src/lib/detection/tools/codex/patterns.js +52 -2
  667. package/dist/server/src/lib/detection/tools/codex/prompt.js +23 -3
  668. package/dist/server/src/lib/detection/tools/opencode/detect.js +30 -15
  669. package/dist/server/src/lib/detection/tools/opencode/patterns.js +268 -7
  670. package/dist/server/src/lib/detection/tools/opencode/readiness.js +16 -7
  671. package/dist/server/src/lib/detection/tools/opencode-v2/detect.js +51 -15
  672. package/dist/server/src/lib/detection/tools/opencode-v2/patterns.js +195 -11
  673. package/dist/server/src/lib/detection/tools/run-detection.js +5 -2
  674. package/dist/server/src/lib/detection/tools/verified-against.js +16 -0
  675. package/dist/server/src/lib/detection/tools/vibe-local/readiness.js +22 -0
  676. package/dist/server/src/lib/git/git-common-dir.js +192 -0
  677. package/dist/server/src/lib/hooks/hook-settings-generator.js +8 -2
  678. package/dist/server/src/lib/hooks/sources/copilot/hook-settings.js +31 -1
  679. package/dist/server/src/lib/hooks/sources/launch-command.js +31 -8
  680. package/dist/server/src/lib/hooks/sources/opencode/client.js +20 -0
  681. package/dist/server/src/lib/hooks/sources/opencode-v2/client.js +24 -0
  682. package/dist/server/src/lib/hooks/sources/opencode-v2/history.js +208 -35
  683. package/dist/server/src/lib/hooks/sources/opencode-v2/secrets.js +7 -1
  684. package/dist/server/src/lib/hooks/sources/opencode-v2/subscription.js +117 -2
  685. package/dist/server/src/lib/job-executor.js +18 -1
  686. package/dist/server/src/lib/polling/response-checker-extraction-steps.js +58 -4
  687. package/dist/server/src/lib/polling/response-checker.js +32 -7
  688. package/dist/server/src/lib/relay/relay-delivery-block.js +150 -0
  689. package/dist/server/src/lib/relay/relay-delivery.js +59 -2
  690. package/dist/server/src/lib/response-cleaner.js +13 -3
  691. package/dist/server/src/lib/response-extractor.js +38 -3
  692. package/dist/server/src/lib/session/agent-session-lifecycle.js +9 -1
  693. package/dist/server/src/lib/session/claude-executor.js +13 -1
  694. package/dist/server/src/lib/session/claude-session.js +109 -13
  695. package/dist/server/src/lib/session/instance-input-lock.js +93 -4
  696. package/dist/server/src/lib/session/role-launch.js +722 -0
  697. package/dist/server/src/lib/session/send-attempt-state.js +7 -0
  698. package/dist/server/src/lib/session/send-user-message.js +6 -0
  699. package/dist/server/src/lib/session/session-generation-archive.js +7 -8
  700. package/dist/server/src/lib/session/session-launch-flight.js +33 -1
  701. package/dist/server/src/lib/session/worktree-session-reconcile.js +5 -0
  702. package/dist/server/src/lib/test-run-detection.js +53 -0
  703. package/dist/server/src/lib/tmux/read-mode.js +4 -0
  704. package/dist/server/src/lib/tmux/session-hook-scripts.js +36 -4
  705. package/dist/server/src/lib/tui-accumulator.js +14 -5
  706. package/dist/server/src/lib/verification/env-clean-gate.js +117 -12
  707. package/dist/server/src/lib/verification/gate-runner.js +9 -8
  708. package/dist/server/src/lib/verification/verify-config.js +32 -2
  709. package/dist/server/src/types/agent-roles.js +56 -0
  710. package/dist/types/agent-roles.d.ts +351 -0
  711. package/dist/types/agent-roles.d.ts.map +1 -0
  712. package/dist/types/agent-roles.js +56 -0
  713. package/docs/en/user-guide/webapp-guide.md +16 -0
  714. package/package.json +2 -1
  715. package/release-notes/0.50.0.json +113 -0
  716. package/.next/server/chunks/1308.js +0 -1
  717. package/.next/server/chunks/4490.js +0 -1
  718. package/.next/server/chunks/4936.js +0 -1
  719. package/.next/server/chunks/610.js +0 -1
  720. package/.next/server/chunks/6119.js +0 -1
  721. package/.next/server/chunks/7491.js +0 -3
  722. package/.next/server/chunks/7926.js +0 -1
  723. package/.next/server/chunks/9360.js +0 -2
  724. package/.next/server/chunks/9584.js +0 -1
  725. package/.next/static/LNfVZiq6FZwKsV7L9Mi6M/_buildManifest.js +0 -1
  726. package/.next/static/chunks/2407-87ec01332344ec2b.js +0 -1
  727. package/.next/static/chunks/344-e1cefd00787060e4.js +0 -1
  728. package/.next/static/chunks/3931-3ef48b8d97357282.js +0 -1
  729. package/.next/static/chunks/7229.7f0f5a7032b612b4.js +0 -1
  730. package/.next/static/chunks/8165-263172c17ae8e8c3.js +0 -1
  731. package/.next/static/chunks/app/api/agents/update/route-96fc12d400b49b13.js +0 -1
  732. package/.next/static/chunks/app/api/agents/versions/route-96fc12d400b49b13.js +0 -1
  733. package/.next/static/chunks/app/api/app/release-notes/route-96fc12d400b49b13.js +0 -1
  734. package/.next/static/chunks/app/api/app/update/route-96fc12d400b49b13.js +0 -1
  735. package/.next/static/chunks/app/api/app/update-check/route-96fc12d400b49b13.js +0 -1
  736. package/.next/static/chunks/app/api/auth/login/route-96fc12d400b49b13.js +0 -1
  737. package/.next/static/chunks/app/api/auth/logout/route-96fc12d400b49b13.js +0 -1
  738. package/.next/static/chunks/app/api/auth/status/route-96fc12d400b49b13.js +0 -1
  739. package/.next/static/chunks/app/api/capabilities/route-96fc12d400b49b13.js +0 -1
  740. package/.next/static/chunks/app/api/daily-summary/route-96fc12d400b49b13.js +0 -1
  741. package/.next/static/chunks/app/api/daily-summary/status/route-96fc12d400b49b13.js +0 -1
  742. package/.next/static/chunks/app/api/external-apps/[id]/health/route-96fc12d400b49b13.js +0 -1
  743. package/.next/static/chunks/app/api/external-apps/[id]/route-96fc12d400b49b13.js +0 -1
  744. package/.next/static/chunks/app/api/external-apps/route-96fc12d400b49b13.js +0 -1
  745. package/.next/static/chunks/app/api/fs/browse/route-96fc12d400b49b13.js +0 -1
  746. package/.next/static/chunks/app/api/fs/recent-paths/route-96fc12d400b49b13.js +0 -1
  747. package/.next/static/chunks/app/api/hooks/agent-event/route-96fc12d400b49b13.js +0 -1
  748. package/.next/static/chunks/app/api/hooks/claude-done/route-96fc12d400b49b13.js +0 -1
  749. package/.next/static/chunks/app/api/hooks/permission-request/route-96fc12d400b49b13.js +0 -1
  750. package/.next/static/chunks/app/api/metrics/vibe/route-96fc12d400b49b13.js +0 -1
  751. package/.next/static/chunks/app/api/ollama/models/route-96fc12d400b49b13.js +0 -1
  752. package/.next/static/chunks/app/api/push/escalation/route-96fc12d400b49b13.js +0 -1
  753. package/.next/static/chunks/app/api/push/subscriptions/route-96fc12d400b49b13.js +0 -1
  754. package/.next/static/chunks/app/api/push/vapid/route-96fc12d400b49b13.js +0 -1
  755. package/.next/static/chunks/app/api/relays/[relayId]/cancel/route-96fc12d400b49b13.js +0 -1
  756. package/.next/static/chunks/app/api/relays/[relayId]/resolve/route-96fc12d400b49b13.js +0 -1
  757. package/.next/static/chunks/app/api/relays/[relayId]/route-96fc12d400b49b13.js +0 -1
  758. package/.next/static/chunks/app/api/relays/route-96fc12d400b49b13.js +0 -1
  759. package/.next/static/chunks/app/api/remote/pair/route-96fc12d400b49b13.js +0 -1
  760. package/.next/static/chunks/app/api/repositories/[id]/route-96fc12d400b49b13.js +0 -1
  761. package/.next/static/chunks/app/api/repositories/clone/[jobId]/route-96fc12d400b49b13.js +0 -1
  762. package/.next/static/chunks/app/api/repositories/clone/route-96fc12d400b49b13.js +0 -1
  763. package/.next/static/chunks/app/api/repositories/excluded/route-96fc12d400b49b13.js +0 -1
  764. package/.next/static/chunks/app/api/repositories/restore/route-96fc12d400b49b13.js +0 -1
  765. package/.next/static/chunks/app/api/repositories/route-96fc12d400b49b13.js +0 -1
  766. package/.next/static/chunks/app/api/repositories/scan/route-96fc12d400b49b13.js +0 -1
  767. package/.next/static/chunks/app/api/repositories/sync/route-96fc12d400b49b13.js +0 -1
  768. package/.next/static/chunks/app/api/repositories/validate-path/route-96fc12d400b49b13.js +0 -1
  769. package/.next/static/chunks/app/api/settings/default-agents/route-96fc12d400b49b13.js +0 -1
  770. package/.next/static/chunks/app/api/settings/default-surface-mode/route-96fc12d400b49b13.js +0 -1
  771. package/.next/static/chunks/app/api/sidebar/group-order/route-96fc12d400b49b13.js +0 -1
  772. package/.next/static/chunks/app/api/skills/[id]/route-96fc12d400b49b13.js +0 -1
  773. package/.next/static/chunks/app/api/skills/installations/route-96fc12d400b49b13.js +0 -1
  774. package/.next/static/chunks/app/api/skills/operations/route-96fc12d400b49b13.js +0 -1
  775. package/.next/static/chunks/app/api/skills/reindex/route-96fc12d400b49b13.js +0 -1
  776. package/.next/static/chunks/app/api/skills/route-96fc12d400b49b13.js +0 -1
  777. package/.next/static/chunks/app/api/slash-commands/route-96fc12d400b49b13.js +0 -1
  778. package/.next/static/chunks/app/api/tasks/[taskId]/cancel/route-96fc12d400b49b13.js +0 -1
  779. package/.next/static/chunks/app/api/tasks/[taskId]/route-96fc12d400b49b13.js +0 -1
  780. package/.next/static/chunks/app/api/templates/[id]/route-96fc12d400b49b13.js +0 -1
  781. package/.next/static/chunks/app/api/templates/route-96fc12d400b49b13.js +0 -1
  782. package/.next/static/chunks/app/api/verification/runs/[runId]/route-96fc12d400b49b13.js +0 -1
  783. package/.next/static/chunks/app/api/verification/runs/route-96fc12d400b49b13.js +0 -1
  784. package/.next/static/chunks/app/api/worktrees/[id]/auto-yes/route-96fc12d400b49b13.js +0 -1
  785. package/.next/static/chunks/app/api/worktrees/[id]/capture/route-96fc12d400b49b13.js +0 -1
  786. package/.next/static/chunks/app/api/worktrees/[id]/clear-composer/route-96fc12d400b49b13.js +0 -1
  787. package/.next/static/chunks/app/api/worktrees/[id]/cli-reference/route-96fc12d400b49b13.js +0 -1
  788. package/.next/static/chunks/app/api/worktrees/[id]/cli-tool/route-96fc12d400b49b13.js +0 -1
  789. package/.next/static/chunks/app/api/worktrees/[id]/cmate/schedules/route-96fc12d400b49b13.js +0 -1
  790. package/.next/static/chunks/app/api/worktrees/[id]/current-output/route-96fc12d400b49b13.js +0 -1
  791. package/.next/static/chunks/app/api/worktrees/[id]/direct-input/route-96fc12d400b49b13.js +0 -1
  792. package/.next/static/chunks/app/api/worktrees/[id]/env/route-96fc12d400b49b13.js +0 -1
  793. package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/[logId]/route-96fc12d400b49b13.js +0 -1
  794. package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/route-96fc12d400b49b13.js +0 -1
  795. package/.next/static/chunks/app/api/worktrees/[id]/files/[...path]/route-96fc12d400b49b13.js +0 -1
  796. package/.next/static/chunks/app/api/worktrees/[id]/git/branch/create/route-96fc12d400b49b13.js +0 -1
  797. package/.next/static/chunks/app/api/worktrees/[id]/git/branch/delete/route-96fc12d400b49b13.js +0 -1
  798. package/.next/static/chunks/app/api/worktrees/[id]/git/branches/route-96fc12d400b49b13.js +0 -1
  799. package/.next/static/chunks/app/api/worktrees/[id]/git/checkout/route-96fc12d400b49b13.js +0 -1
  800. package/.next/static/chunks/app/api/worktrees/[id]/git/commit/route-96fc12d400b49b13.js +0 -1
  801. package/.next/static/chunks/app/api/worktrees/[id]/git/diff/route-96fc12d400b49b13.js +0 -1
  802. package/.next/static/chunks/app/api/worktrees/[id]/git/fetch/route-96fc12d400b49b13.js +0 -1
  803. package/.next/static/chunks/app/api/worktrees/[id]/git/log/route-96fc12d400b49b13.js +0 -1
  804. package/.next/static/chunks/app/api/worktrees/[id]/git/pull/route-96fc12d400b49b13.js +0 -1
  805. package/.next/static/chunks/app/api/worktrees/[id]/git/push/route-96fc12d400b49b13.js +0 -1
  806. package/.next/static/chunks/app/api/worktrees/[id]/git/reset/route-96fc12d400b49b13.js +0 -1
  807. package/.next/static/chunks/app/api/worktrees/[id]/git/revert/route-96fc12d400b49b13.js +0 -1
  808. package/.next/static/chunks/app/api/worktrees/[id]/git/show/[commitHash]/route-96fc12d400b49b13.js +0 -1
  809. package/.next/static/chunks/app/api/worktrees/[id]/git/stage/route-96fc12d400b49b13.js +0 -1
  810. package/.next/static/chunks/app/api/worktrees/[id]/git/staged/route-96fc12d400b49b13.js +0 -1
  811. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/[index]/route-96fc12d400b49b13.js +0 -1
  812. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/apply/route-96fc12d400b49b13.js +0 -1
  813. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/pop/route-96fc12d400b49b13.js +0 -1
  814. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/push/route-96fc12d400b49b13.js +0 -1
  815. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/route-96fc12d400b49b13.js +0 -1
  816. package/.next/static/chunks/app/api/worktrees/[id]/git/status/route-96fc12d400b49b13.js +0 -1
  817. package/.next/static/chunks/app/api/worktrees/[id]/git/unstage/route-96fc12d400b49b13.js +0 -1
  818. package/.next/static/chunks/app/api/worktrees/[id]/git/working-diff/route-96fc12d400b49b13.js +0 -1
  819. package/.next/static/chunks/app/api/worktrees/[id]/instances/notes/route-96fc12d400b49b13.js +0 -1
  820. package/.next/static/chunks/app/api/worktrees/[id]/instances/opencode/route-96fc12d400b49b13.js +0 -1
  821. package/.next/static/chunks/app/api/worktrees/[id]/interrupt/route-96fc12d400b49b13.js +0 -1
  822. package/.next/static/chunks/app/api/worktrees/[id]/kill-session/route-96fc12d400b49b13.js +0 -1
  823. package/.next/static/chunks/app/api/worktrees/[id]/logs/[filename]/route-96fc12d400b49b13.js +0 -1
  824. package/.next/static/chunks/app/api/worktrees/[id]/logs/route-96fc12d400b49b13.js +0 -1
  825. package/.next/static/chunks/app/api/worktrees/[id]/marp-render/route-96fc12d400b49b13.js +0 -1
  826. package/.next/static/chunks/app/api/worktrees/[id]/memos/[memoId]/route-96fc12d400b49b13.js +0 -1
  827. package/.next/static/chunks/app/api/worktrees/[id]/memos/route-96fc12d400b49b13.js +0 -1
  828. package/.next/static/chunks/app/api/worktrees/[id]/messages/route-96fc12d400b49b13.js +0 -1
  829. package/.next/static/chunks/app/api/worktrees/[id]/opencode/diff/route-96fc12d400b49b13.js +0 -1
  830. package/.next/static/chunks/app/api/worktrees/[id]/opencode/session/route-96fc12d400b49b13.js +0 -1
  831. package/.next/static/chunks/app/api/worktrees/[id]/opencode/share/route-96fc12d400b49b13.js +0 -1
  832. package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/route-96fc12d400b49b13.js +0 -1
  833. package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/strict/route-96fc12d400b49b13.js +0 -1
  834. package/.next/static/chunks/app/api/worktrees/[id]/resolve-target/route-96fc12d400b49b13.js +0 -1
  835. package/.next/static/chunks/app/api/worktrees/[id]/respond/route-96fc12d400b49b13.js +0 -1
  836. package/.next/static/chunks/app/api/worktrees/[id]/route-96fc12d400b49b13.js +0 -1
  837. package/.next/static/chunks/app/api/worktrees/[id]/schedules/[scheduleId]/route-96fc12d400b49b13.js +0 -1
  838. package/.next/static/chunks/app/api/worktrees/[id]/schedules/active/route-96fc12d400b49b13.js +0 -1
  839. package/.next/static/chunks/app/api/worktrees/[id]/schedules/route-96fc12d400b49b13.js +0 -1
  840. package/.next/static/chunks/app/api/worktrees/[id]/search/route-96fc12d400b49b13.js +0 -1
  841. package/.next/static/chunks/app/api/worktrees/[id]/send/route-96fc12d400b49b13.js +0 -1
  842. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route-96fc12d400b49b13.js +0 -1
  843. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/install/route-96fc12d400b49b13.js +0 -1
  844. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/plan/route-96fc12d400b49b13.js +0 -1
  845. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall/route-96fc12d400b49b13.js +0 -1
  846. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route-96fc12d400b49b13.js +0 -1
  847. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update/route-96fc12d400b49b13.js +0 -1
  848. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update-plan/route-96fc12d400b49b13.js +0 -1
  849. package/.next/static/chunks/app/api/worktrees/[id]/skills/route-96fc12d400b49b13.js +0 -1
  850. package/.next/static/chunks/app/api/worktrees/[id]/slash-commands/route-96fc12d400b49b13.js +0 -1
  851. package/.next/static/chunks/app/api/worktrees/[id]/special-keys/route-96fc12d400b49b13.js +0 -1
  852. package/.next/static/chunks/app/api/worktrees/[id]/tasks/route-96fc12d400b49b13.js +0 -1
  853. package/.next/static/chunks/app/api/worktrees/[id]/terminal/route-96fc12d400b49b13.js +0 -1
  854. package/.next/static/chunks/app/api/worktrees/[id]/timers/history/route-96fc12d400b49b13.js +0 -1
  855. package/.next/static/chunks/app/api/worktrees/[id]/timers/route-96fc12d400b49b13.js +0 -1
  856. package/.next/static/chunks/app/api/worktrees/[id]/todos/[todoId]/route-96fc12d400b49b13.js +0 -1
  857. package/.next/static/chunks/app/api/worktrees/[id]/todos/route-96fc12d400b49b13.js +0 -1
  858. package/.next/static/chunks/app/api/worktrees/[id]/tree/[...path]/route-96fc12d400b49b13.js +0 -1
  859. package/.next/static/chunks/app/api/worktrees/[id]/tree/route-96fc12d400b49b13.js +0 -1
  860. package/.next/static/chunks/app/api/worktrees/[id]/upload/[...path]/route-96fc12d400b49b13.js +0 -1
  861. package/.next/static/chunks/app/api/worktrees/[id]/verify/config/route-96fc12d400b49b13.js +0 -1
  862. package/.next/static/chunks/app/api/worktrees/[id]/verify/route-96fc12d400b49b13.js +0 -1
  863. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route-96fc12d400b49b13.js +0 -1
  864. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/route-96fc12d400b49b13.js +0 -1
  865. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/route-96fc12d400b49b13.js +0 -1
  866. package/.next/static/chunks/app/api/worktrees/[id]/viewed/route-96fc12d400b49b13.js +0 -1
  867. package/.next/static/chunks/app/api/worktrees/apply-default-agents/route-96fc12d400b49b13.js +0 -1
  868. package/.next/static/chunks/app/api/worktrees/route-96fc12d400b49b13.js +0 -1
  869. package/.next/static/chunks/app/layout-b9d8aef70e4f17b2.js +0 -1
  870. package/.next/static/chunks/app/manifest.webmanifest/route-96fc12d400b49b13.js +0 -1
  871. package/.next/static/chunks/app/proxy/[...path]/route-96fc12d400b49b13.js +0 -1
  872. package/.next/static/chunks/app/repositories/page-71f5a5ac29b0370d.js +0 -1
  873. package/.next/static/chunks/app/review/page-ff3efb96fdf9bb4b.js +0 -1
  874. package/.next/static/chunks/app/worktrees/[id]/layout-96fc12d400b49b13.js +0 -1
  875. package/.next/static/chunks/app/worktrees/[id]/page-f6a151304860b549.js +0 -1
  876. package/.next/static/css/c1e307d05daf93b6.css +0 -1
  877. /package/.next/static/{LNfVZiq6FZwKsV7L9Mi6M → z4d8-5MaLkoD-4EhueZwk}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../../.git/FETCH_HEAD","../../../../../../../locales/en/notifications.json","../../../../../../../locales/en/worktree.json","../../../../../../../locales/ja/notifications.json","../../../../../../../locales/ja/worktree.json","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/server/route-kind.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../scripts/hooks/cmate-agent-event.sh","../../../../../../package.json","../../../../../chunks/1191.js","../../../../../chunks/1356.js","../../../../../chunks/1501.js","../../../../../chunks/1503.js","../../../../../chunks/1601.js","../../../../../chunks/1634.js","../../../../../chunks/1656.js","../../../../../chunks/1719.js","../../../../../chunks/1957.js","../../../../../chunks/2119.js","../../../../../chunks/2445.js","../../../../../chunks/252.js","../../../../../chunks/255.js","../../../../../chunks/2710.js","../../../../../chunks/2839.js","../../../../../chunks/2897.js","../../../../../chunks/3241.js","../../../../../chunks/3480.js","../../../../../chunks/3505.js","../../../../../chunks/3722.js","../../../../../chunks/3801.js","../../../../../chunks/3897.js","../../../../../chunks/406.js","../../../../../chunks/4390.js","../../../../../chunks/4490.js","../../../../../chunks/4936.js","../../../../../chunks/5220.js","../../../../../chunks/5350.js","../../../../../chunks/5456.js","../../../../../chunks/6065.js","../../../../../chunks/610.js","../../../../../chunks/6119.js","../../../../../chunks/641.js","../../../../../chunks/6486.js","../../../../../chunks/6781.js","../../../../../chunks/6784.js","../../../../../chunks/7491.js","../../../../../chunks/7905.js","../../../../../chunks/7926.js","../../../../../chunks/8728.js","../../../../../chunks/8791.js","../../../../../chunks/8800.js","../../../../../chunks/8807.js","../../../../../chunks/8918.js","../../../../../chunks/9169.js","../../../../../chunks/9390.js","../../../../../chunks/9627.js","../../../../../chunks/9731.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../../.git/FETCH_HEAD","../../../../../../../locales/en/notifications.json","../../../../../../../locales/en/worktree.json","../../../../../../../locales/ja/notifications.json","../../../../../../../locales/ja/worktree.json","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/server/route-kind.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../scripts/hooks/cmate-agent-event.sh","../../../../../../package.json","../../../../../chunks/1184.js","../../../../../chunks/1191.js","../../../../../chunks/1356.js","../../../../../chunks/1501.js","../../../../../chunks/1503.js","../../../../../chunks/1601.js","../../../../../chunks/1634.js","../../../../../chunks/1656.js","../../../../../chunks/1719.js","../../../../../chunks/1957.js","../../../../../chunks/1990.js","../../../../../chunks/2119.js","../../../../../chunks/2445.js","../../../../../chunks/252.js","../../../../../chunks/255.js","../../../../../chunks/2710.js","../../../../../chunks/2839.js","../../../../../chunks/2897.js","../../../../../chunks/3241.js","../../../../../chunks/3294.js","../../../../../chunks/3480.js","../../../../../chunks/3505.js","../../../../../chunks/3722.js","../../../../../chunks/3801.js","../../../../../chunks/3897.js","../../../../../chunks/406.js","../../../../../chunks/4390.js","../../../../../chunks/4645.js","../../../../../chunks/5220.js","../../../../../chunks/5350.js","../../../../../chunks/5456.js","../../../../../chunks/6009.js","../../../../../chunks/6065.js","../../../../../chunks/641.js","../../../../../chunks/6486.js","../../../../../chunks/6569.js","../../../../../chunks/6781.js","../../../../../chunks/6784.js","../../../../../chunks/696.js","../../../../../chunks/741.js","../../../../../chunks/7662.js","../../../../../chunks/7905.js","../../../../../chunks/8143.js","../../../../../chunks/8728.js","../../../../../chunks/8791.js","../../../../../chunks/8800.js","../../../../../chunks/8807.js","../../../../../chunks/8918.js","../../../../../chunks/8955.js","../../../../../chunks/9169.js","../../../../../chunks/923.js","../../../../../chunks/9390.js","../../../../../chunks/9627.js","../../../../../chunks/9731.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/worktrees/[id]/send/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3809":{"*":{"id":"37397","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"55524","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"23252":{"*":{"id":"3890","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"19941","name":"*","chunks":[],"async":false}},"28876":{"*":{"id":"9042","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"46617":{"*":{"id":"44131","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"96908","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"39800","name":"*","chunks":[],"async":false}},"57101":{"*":{"id":"28393","name":"*","chunks":[],"async":false}},"62805":{"*":{"id":"14997","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"26636","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"21350","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"50302","name":"*","chunks":[],"async":false}},"88201":{"*":{"id":"31017","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"3425","name":"*","chunks":[],"async":false}},"89957":{"*":{"id":"46368","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"88710","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/global-error.tsx":{"id":54062,"name":"*","chunks":["2407","static/chunks/2407-87ec01332344ec2b.js","4219","static/chunks/app/global-error-49f765ecb7fd6527.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/sans.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-sans/Geist-Variable.woff2\",\"variable\":\"--font-geist-sans\",\"weight\":\"100 900\"}],\"variableName\":\"GeistSans\"}":{"id":22311,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-35bbfc84793d7004.js","2407","static/chunks/2407-87ec01332344ec2b.js","344","static/chunks/344-e1cefd00787060e4.js","7636","static/chunks/7636-a48cf0f7110250c5.js","6966","static/chunks/6966-d8dc6032410ffaba.js","8165","static/chunks/8165-263172c17ae8e8c3.js","7197","static/chunks/7197-ed3b3d99ac3bd450.js","5794","static/chunks/5794-7975b8e51e731b19.js","7177","static/chunks/app/layout-b9d8aef70e4f17b2.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/mono.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-mono/GeistMono-Variable.woff2\",\"variable\":\"--font-geist-mono\",\"adjustFontFallback\":false,\"fallback\":[\"ui-monospace\",\"SFMono-Regular\",\"Roboto Mono\",\"Menlo\",\"Monaco\",\"Liberation Mono\",\"DejaVu Sans Mono\",\"Courier New\",\"monospace\"],\"weight\":\"100 900\"}],\"variableName\":\"GeistMono\"}":{"id":7183,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-35bbfc84793d7004.js","2407","static/chunks/2407-87ec01332344ec2b.js","344","static/chunks/344-e1cefd00787060e4.js","7636","static/chunks/7636-a48cf0f7110250c5.js","6966","static/chunks/6966-d8dc6032410ffaba.js","8165","static/chunks/8165-263172c17ae8e8c3.js","7197","static/chunks/7197-ed3b3d99ac3bd450.js","5794","static/chunks/5794-7975b8e51e731b19.js","7177","static/chunks/app/layout-b9d8aef70e4f17b2.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/globals.css":{"id":13673,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-35bbfc84793d7004.js","2407","static/chunks/2407-87ec01332344ec2b.js","344","static/chunks/344-e1cefd00787060e4.js","7636","static/chunks/7636-a48cf0f7110250c5.js","6966","static/chunks/6966-d8dc6032410ffaba.js","8165","static/chunks/8165-263172c17ae8e8c3.js","7197","static/chunks/7197-ed3b3d99ac3bd450.js","5794","static/chunks/5794-7975b8e51e731b19.js","7177","static/chunks/app/layout-b9d8aef70e4f17b2.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/layout/AppShellGate.tsx":{"id":28876,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-35bbfc84793d7004.js","2407","static/chunks/2407-87ec01332344ec2b.js","344","static/chunks/344-e1cefd00787060e4.js","7636","static/chunks/7636-a48cf0f7110250c5.js","6966","static/chunks/6966-d8dc6032410ffaba.js","8165","static/chunks/8165-263172c17ae8e8c3.js","7197","static/chunks/7197-ed3b3d99ac3bd450.js","5794","static/chunks/5794-7975b8e51e731b19.js","7177","static/chunks/app/layout-b9d8aef70e4f17b2.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":23252,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-35bbfc84793d7004.js","2407","static/chunks/2407-87ec01332344ec2b.js","344","static/chunks/344-e1cefd00787060e4.js","7636","static/chunks/7636-a48cf0f7110250c5.js","6966","static/chunks/6966-d8dc6032410ffaba.js","8165","static/chunks/8165-263172c17ae8e8c3.js","7197","static/chunks/7197-ed3b3d99ac3bd450.js","5794","static/chunks/5794-7975b8e51e731b19.js","7177","static/chunks/app/layout-b9d8aef70e4f17b2.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/error.tsx":{"id":50960,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","2407","static/chunks/2407-87ec01332344ec2b.js","8039","static/chunks/app/error-d9a7067074e7f460.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":3809,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4209","static/chunks/app/loading-db675c84e696591f.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/login/page.tsx":{"id":70462,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/pwa/OfflineReconnectButton.tsx":{"id":33258,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":57101,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/page.tsx":{"id":89957,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","8407","static/chunks/8407-35bbfc84793d7004.js","2407","static/chunks/2407-87ec01332344ec2b.js","344","static/chunks/344-e1cefd00787060e4.js","7636","static/chunks/7636-a48cf0f7110250c5.js","6966","static/chunks/6966-d8dc6032410ffaba.js","8974","static/chunks/app/page-b4863bfe0452e09d.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/repositories/page.tsx":{"id":24502,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/review/page.tsx":{"id":17442,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/[skillId]/page.tsx":{"id":89675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/installed/page.tsx":{"id":72754,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/sessions/page.tsx":{"id":46617,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/page.tsx":{"id":99898,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/files/[...path]/page.tsx":{"id":82743,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":62805,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/terminal/page.tsx":{"id":88201,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/CommandMate/CommandMate/src/":[],"/home/runner/work/CommandMate/CommandMate/src/app/global-error":[],"/home/runner/work/CommandMate/CommandMate/src/app/layout":[{"inlined":false,"path":"static/css/531c1fcb1e69d47b.css"},{"inlined":false,"path":"static/css/c1e307d05daf93b6.css"}],"/home/runner/work/CommandMate/CommandMate/src/app/error":[],"/home/runner/work/CommandMate/CommandMate/src/app/loading":[],"/home/runner/work/CommandMate/CommandMate/src/app/page":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/route":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/route":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/send/route":[]},"rscModuleMapping":{"3809":{"*":{"id":"53523","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"13673":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"96494","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"23252":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"28876":{"*":{"id":"29966","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"46617":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"5682","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"64182","name":"*","chunks":[],"async":false}},"57101":{"*":{"id":"12319","name":"*","chunks":[],"async":false}},"62805":{"*":{"id":"7874","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"15109","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"81021","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"69624","name":"*","chunks":[],"async":false}},"88201":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"1133","name":"*","chunks":[],"async":false}},"89957":{"*":{"id":"60967","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"74080","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/worktrees/[id]/send/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3809":{"*":{"id":"37397","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"55524","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"23252":{"*":{"id":"3890","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"28876":{"*":{"id":"9042","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"46617":{"*":{"id":"44131","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"96908","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"39800","name":"*","chunks":[],"async":false}},"57101":{"*":{"id":"28393","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"64407":{"*":{"id":"80169","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"26636","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"21350","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"50302","name":"*","chunks":[],"async":false}},"88201":{"*":{"id":"31017","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"3425","name":"*","chunks":[],"async":false}},"89957":{"*":{"id":"46368","name":"*","chunks":[],"async":false}},"91816":{"*":{"id":"43121","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"88710","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/global-error.tsx":{"id":54062,"name":"*","chunks":["2407","static/chunks/2407-ee881c99e218975b.js","4219","static/chunks/app/global-error-49f765ecb7fd6527.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/sans.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-sans/Geist-Variable.woff2\",\"variable\":\"--font-geist-sans\",\"weight\":\"100 900\"}],\"variableName\":\"GeistSans\"}":{"id":22311,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-dd6a8062fc449899.js","2407","static/chunks/2407-ee881c99e218975b.js","4548","static/chunks/4548-9afa02fd18afa6c7.js","7636","static/chunks/7636-a48cf0f7110250c5.js","6966","static/chunks/6966-dbfa4a43397f8c6d.js","2314","static/chunks/2314-2c9d587a27e8f731.js","7090","static/chunks/7090-28e83f5a0efdb3b4.js","7197","static/chunks/7197-ed3b3d99ac3bd450.js","5794","static/chunks/5794-38b3b504b3d97e04.js","7177","static/chunks/app/layout-7bf800fcc5e025b1.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/mono.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-mono/GeistMono-Variable.woff2\",\"variable\":\"--font-geist-mono\",\"adjustFontFallback\":false,\"fallback\":[\"ui-monospace\",\"SFMono-Regular\",\"Roboto Mono\",\"Menlo\",\"Monaco\",\"Liberation Mono\",\"DejaVu Sans Mono\",\"Courier New\",\"monospace\"],\"weight\":\"100 900\"}],\"variableName\":\"GeistMono\"}":{"id":7183,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-dd6a8062fc449899.js","2407","static/chunks/2407-ee881c99e218975b.js","4548","static/chunks/4548-9afa02fd18afa6c7.js","7636","static/chunks/7636-a48cf0f7110250c5.js","6966","static/chunks/6966-dbfa4a43397f8c6d.js","2314","static/chunks/2314-2c9d587a27e8f731.js","7090","static/chunks/7090-28e83f5a0efdb3b4.js","7197","static/chunks/7197-ed3b3d99ac3bd450.js","5794","static/chunks/5794-38b3b504b3d97e04.js","7177","static/chunks/app/layout-7bf800fcc5e025b1.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/globals.css":{"id":13673,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-dd6a8062fc449899.js","2407","static/chunks/2407-ee881c99e218975b.js","4548","static/chunks/4548-9afa02fd18afa6c7.js","7636","static/chunks/7636-a48cf0f7110250c5.js","6966","static/chunks/6966-dbfa4a43397f8c6d.js","2314","static/chunks/2314-2c9d587a27e8f731.js","7090","static/chunks/7090-28e83f5a0efdb3b4.js","7197","static/chunks/7197-ed3b3d99ac3bd450.js","5794","static/chunks/5794-38b3b504b3d97e04.js","7177","static/chunks/app/layout-7bf800fcc5e025b1.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/layout/AppShellGate.tsx":{"id":28876,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-dd6a8062fc449899.js","2407","static/chunks/2407-ee881c99e218975b.js","4548","static/chunks/4548-9afa02fd18afa6c7.js","7636","static/chunks/7636-a48cf0f7110250c5.js","6966","static/chunks/6966-dbfa4a43397f8c6d.js","2314","static/chunks/2314-2c9d587a27e8f731.js","7090","static/chunks/7090-28e83f5a0efdb3b4.js","7197","static/chunks/7197-ed3b3d99ac3bd450.js","5794","static/chunks/5794-38b3b504b3d97e04.js","7177","static/chunks/app/layout-7bf800fcc5e025b1.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":23252,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-dd6a8062fc449899.js","2407","static/chunks/2407-ee881c99e218975b.js","4548","static/chunks/4548-9afa02fd18afa6c7.js","7636","static/chunks/7636-a48cf0f7110250c5.js","6966","static/chunks/6966-dbfa4a43397f8c6d.js","2314","static/chunks/2314-2c9d587a27e8f731.js","7090","static/chunks/7090-28e83f5a0efdb3b4.js","7197","static/chunks/7197-ed3b3d99ac3bd450.js","5794","static/chunks/5794-38b3b504b3d97e04.js","7177","static/chunks/app/layout-7bf800fcc5e025b1.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/error.tsx":{"id":50960,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","2407","static/chunks/2407-ee881c99e218975b.js","8039","static/chunks/app/error-d9a7067074e7f460.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":3809,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4209","static/chunks/app/loading-db675c84e696591f.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/login/page.tsx":{"id":70462,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/pwa/OfflineReconnectButton.tsx":{"id":33258,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/page.tsx":{"id":89957,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","8407","static/chunks/8407-dd6a8062fc449899.js","2407","static/chunks/2407-ee881c99e218975b.js","4548","static/chunks/4548-9afa02fd18afa6c7.js","7636","static/chunks/7636-a48cf0f7110250c5.js","6966","static/chunks/6966-dbfa4a43397f8c6d.js","8974","static/chunks/app/page-869f353a4ac4e15b.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":57101,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/review/page.tsx":{"id":17442,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/repositories/page.tsx":{"id":91816,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/[skillId]/page.tsx":{"id":89675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/sessions/page.tsx":{"id":46617,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/installed/page.tsx":{"id":72754,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/page.tsx":{"id":99898,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":64407,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/files/[...path]/page.tsx":{"id":82743,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/terminal/page.tsx":{"id":88201,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/CommandMate/CommandMate/src/":[],"/home/runner/work/CommandMate/CommandMate/src/app/global-error":[],"/home/runner/work/CommandMate/CommandMate/src/app/layout":[{"inlined":false,"path":"static/css/531c1fcb1e69d47b.css"},{"inlined":false,"path":"static/css/d4f2c9522cf1b449.css"}],"/home/runner/work/CommandMate/CommandMate/src/app/error":[],"/home/runner/work/CommandMate/CommandMate/src/app/loading":[],"/home/runner/work/CommandMate/CommandMate/src/app/page":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/route":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/route":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/send/route":[]},"rscModuleMapping":{"3809":{"*":{"id":"53523","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"13673":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"96494","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"23252":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"28876":{"*":{"id":"29966","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"46617":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"5682","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"64182","name":"*","chunks":[],"async":false}},"57101":{"*":{"id":"12319","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"64407":{"*":{"id":"7874","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"15109","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"81021","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"69624","name":"*","chunks":[],"async":false}},"88201":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"1133","name":"*","chunks":[],"async":false}},"89957":{"*":{"id":"60967","name":"*","chunks":[],"async":false}},"91816":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"74080","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var a={};a.id=865,a.ids=[865,7926],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},826:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>aC,patchFetch:()=>aB,routeModule:()=>ax,serverHooks:()=>aA,workAsyncStorage:()=>ay,workUnitAsyncStorage:()=>az});var d={};c.r(d),c.d(d,{POST:()=>av,dynamic:()=>an});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(34679),u=c(51356),v=c(10641),w=c(72626),x=c(88807),y=c(27289),z=c(63271),A=c(32002),B=c(31990),C=c(13075),D=c(92328),E=c(55511),F=c(29021),G=c(33873),H=c.n(G),I=c(65417),J=c(46065),K=c(39988),L=c(26833),M=c(59082),N=c(2412),O=c(96210),P=c(33095),Q=c(52710),R=c(55926),S=c(79646);let T=(0,c(28354).promisify)(S.execFile);async function U(a,b){try{let{stdout:c}=await T("gh",["pr","list","--head",b,"--state","open","--json","url","--limit","1"],{cwd:a,timeout:3e4}),d=JSON.parse(c);if(Array.isArray(d)&&d.length>0){let a=d[0].url;if("string"==typeof a&&a.startsWith("https://"))return a}return null}catch{return null}}async function V(a){let b=["pr","create","--draft","--head",a.head,"--title",a.title,"--body",a.body];null!==a.base&&b.push("--base",a.base);try{let{stdout:c}=await T("gh",b,{cwd:a.worktreePath,timeout:3e4}),d=c.split("\n").map(a=>a.trim()).find(a=>a.startsWith("https://"));if(void 0===d)return{ok:!1,reason:"failed",detail:"gh pr create printed no pull request URL"};return{ok:!0,url:d}}catch(a){if(a?.code==="ENOENT")return{ok:!1,reason:"tool_missing",detail:"gh is not installed"};return{ok:!1,reason:"failed",detail:a instanceof Error?a.message:String(a)}}}var W=c(44440);let X=(0,w.h)("skills/git-workflow"),Y={INDEX_NOT_CLEAN:"SKILL_GIT_INDEX_NOT_CLEAN",HEAD_UNSUPPORTED:"SKILL_GIT_HEAD_UNSUPPORTED",BRANCH_EXISTS:"SKILL_GIT_BRANCH_EXISTS",ACTIVE_SESSION:"SKILL_GIT_ACTIVE_SESSION",PROTECTED_BRANCH:"SKILL_GIT_PROTECTED_BRANCH",REMOTE_MISSING:"SKILL_GIT_REMOTE_MISSING",TARGET_DRIFTED:"SKILL_GIT_TARGET_DRIFTED",UNOWNED_STAGED_PATH:"SKILL_GIT_UNOWNED_STAGED_PATH",RECEIPT_UNREADABLE:"SKILL_GIT_RECEIPT_UNREADABLE",PUSH_FAILED:"SKILL_GIT_PUSH_FAILED",PR_TOOL_MISSING:"SKILL_GIT_PR_TOOL_MISSING",PR_FAILED:"SKILL_GIT_PR_FAILED"},Z={[Y.INDEX_NOT_CLEAN]:409,[Y.HEAD_UNSUPPORTED]:409,[Y.BRANCH_EXISTS]:409,[Y.ACTIVE_SESSION]:409,[Y.PROTECTED_BRANCH]:409,[Y.REMOTE_MISSING]:409,[Y.TARGET_DRIFTED]:409,[Y.UNOWNED_STAGED_PATH]:409,[Y.RECEIPT_UNREADABLE]:409,[Y.PUSH_FAILED]:502,[Y.PR_TOOL_MISSING]:409,[Y.PR_FAILED]:502};class $ extends Error{constructor(a,b){super(`Skill git workflow rejected: ${a}`),this.code=a,this.detail=b,this.name="SkillGitWorkflowError"}get status(){return Z[this.code]}}function _(a,b){throw new $(a,b)}function aa(a,b){return b.some(b=>a===b||a.startsWith(`${b}/`))}function ab(a){return a.split("\0").filter(a=>a.length>0)}async function ac(a){return ab(await (0,J.rS)(["diff","--cached","--name-only","-z"],a,I.Ev))}async function ad(a){let b=ab(await (0,J.rS)(["diff","--cached","--name-status","-z"],a,I.Ev)),c=[];for(let a=0;a<b.length;){let d=b[a];d.startsWith("R")||d.startsWith("C")?(void 0!==b[a+1]&&c.push({status:"D",path:b[a+1]}),void 0!==b[a+2]&&c.push({status:"A",path:b[a+2]}),a+=3):(void 0!==b[a+1]&&c.push({status:d,path:b[a+1]}),a+=2)}return c}async function ae(a,b){let c=await (0,J.Bc)(["rev-parse","--verify","--quiet",`refs/heads/${b}`],a);return null!==c&&c.length>0}async function af(a){let b=await (0,J.Bc)(["remote"],a);return null===b?[]:b.split("\n").map(a=>a.trim()).filter(a=>a.length>0)}async function ag(a){let{worktreePath:b,skillId:c,version:d,mode:e,activeSessions:f}=a,g=a.remote??"origin",h=await (0,P.M$)(b);("attached"!==h.headState||null===h.branch||null===h.headCommit)&&_(Y.HEAD_UNSUPPORTED,{headState:h.headState});let i=await ac(b);i.length>0&&_(Y.INDEX_NOT_CLEAN,{stagedCount:i.length}),a.push&&((await af(b)).includes(g)||_(Y.REMOTE_MISSING,{remote:g}));let j=await (0,N.tR)(b);if("current_branch"===e)return a.push&&null!==j&&j===h.branch&&_(Y.PROTECTED_BRANCH,{branch:h.branch}),{mode:e,branch:h.branch,baseBranch:j,headCommit:h.headCommit,branchCreated:!1,remote:g};f.length>0&&_(Y.ACTIVE_SESSION,{sessionCount:f.length});let k=function(a,b){let c=b.toLowerCase().replace(/[^a-z0-9.]+/g,"-").replace(/\.{2,}/g,".").replace(/^[-.]+|[-.]+$/g,""),d=`skills/install-${a}${c?`-v${c}`:""}`;if(d.length>200||d.includes("..")||d.endsWith(".lock")||/[\s~^:?*[\\]/.test(d))throw new $(Y.BRANCH_EXISTS,{branch:d});return d}(c,d);await ae(b,k)&&_(Y.BRANCH_EXISTS,{branch:k});let l=h.branch;return await (0,K.lY)(b,{name:k,from:h.headCommit}),await (0,J.dX)(b,async()=>{await (0,J.rS)(["switch",k,"--"],b,I.Ev)}),{mode:e,branch:k,baseBranch:l,headCommit:h.headCommit,branchCreated:!0,remote:g}}let ah=/^[0-9a-f]{48}$/,ai=new Map,aj={low:"low(低)",moderate:"moderate(中)",high:"high(高)"};function ak(a){return(0,R.f$)(a)}function al(a,b){return 0===a.length?b:a.map(a=>`- ${ak(a)}`).join("\n")}async function am(a){let{worktreePath:b,target:c,receipt:d}=a,e=function(a){let b=(0,Q.Pw)(a),c=[];for(let d of b)for(let b of(c.push(`${d}/${Q.zi}`),a.files))c.push(`${d}/${b.path}`);return{roots:[...b],files:c.sort()}}(d),f=new Set(e.files),g=await (0,P.M$)(b);("attached"!==g.headState||null===g.branch||null===g.headCommit)&&_(Y.HEAD_UNSUPPORTED,{headState:g.headState}),g.branch!==c.branch&&_(Y.TARGET_DRIFTED,{expected:c.branch,actual:g.branch});let h=(await ac(b)).filter(a=>!aa(a,e.roots));h.length>0&&_(Y.INDEX_NOT_CLEAN,{stagedCount:h.length}),await (0,L.Iz)(b,e.roots);let i=await ad(b);for(let a of i)aa(a.path,e.roots)||_(Y.UNOWNED_STAGED_PATH,{path:a.path}),"D"===a.status||f.has(a.path)||_(Y.UNOWNED_STAGED_PATH,{path:a.path});let j=i.map(a=>a.path).sort(),k=!1;if(j.length>0)try{await (0,L.om)(b,function(a){let b=(0,Q.Pw)(a);return`feat(skills): install ${a.skill_id} v${a.version}
1
+ "use strict";(()=>{var a={};a.id=865,a.ids=[463,865,8955],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},826:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>aC,patchFetch:()=>aB,routeModule:()=>ax,serverHooks:()=>aA,workAsyncStorage:()=>ay,workUnitAsyncStorage:()=>az});var d={};c.r(d),c.d(d,{POST:()=>av,dynamic:()=>an});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(34679),u=c(51356),v=c(10641),w=c(72626),x=c(88807),y=c(27289),z=c(63271),A=c(32002),B=c(31990),C=c(13075),D=c(92328),E=c(55511),F=c(29021),G=c(33873),H=c.n(G),I=c(65417),J=c(46065),K=c(39988),L=c(26833),M=c(59082),N=c(2412),O=c(96210),P=c(33095),Q=c(52710),R=c(55926),S=c(79646);let T=(0,c(28354).promisify)(S.execFile);async function U(a,b){try{let{stdout:c}=await T("gh",["pr","list","--head",b,"--state","open","--json","url","--limit","1"],{cwd:a,timeout:3e4}),d=JSON.parse(c);if(Array.isArray(d)&&d.length>0){let a=d[0].url;if("string"==typeof a&&a.startsWith("https://"))return a}return null}catch{return null}}async function V(a){let b=["pr","create","--draft","--head",a.head,"--title",a.title,"--body",a.body];null!==a.base&&b.push("--base",a.base);try{let{stdout:c}=await T("gh",b,{cwd:a.worktreePath,timeout:3e4}),d=c.split("\n").map(a=>a.trim()).find(a=>a.startsWith("https://"));if(void 0===d)return{ok:!1,reason:"failed",detail:"gh pr create printed no pull request URL"};return{ok:!0,url:d}}catch(a){if(a?.code==="ENOENT")return{ok:!1,reason:"tool_missing",detail:"gh is not installed"};return{ok:!1,reason:"failed",detail:a instanceof Error?a.message:String(a)}}}var W=c(44440);let X=(0,w.h)("skills/git-workflow"),Y={INDEX_NOT_CLEAN:"SKILL_GIT_INDEX_NOT_CLEAN",HEAD_UNSUPPORTED:"SKILL_GIT_HEAD_UNSUPPORTED",BRANCH_EXISTS:"SKILL_GIT_BRANCH_EXISTS",ACTIVE_SESSION:"SKILL_GIT_ACTIVE_SESSION",PROTECTED_BRANCH:"SKILL_GIT_PROTECTED_BRANCH",REMOTE_MISSING:"SKILL_GIT_REMOTE_MISSING",TARGET_DRIFTED:"SKILL_GIT_TARGET_DRIFTED",UNOWNED_STAGED_PATH:"SKILL_GIT_UNOWNED_STAGED_PATH",RECEIPT_UNREADABLE:"SKILL_GIT_RECEIPT_UNREADABLE",PUSH_FAILED:"SKILL_GIT_PUSH_FAILED",PR_TOOL_MISSING:"SKILL_GIT_PR_TOOL_MISSING",PR_FAILED:"SKILL_GIT_PR_FAILED"},Z={[Y.INDEX_NOT_CLEAN]:409,[Y.HEAD_UNSUPPORTED]:409,[Y.BRANCH_EXISTS]:409,[Y.ACTIVE_SESSION]:409,[Y.PROTECTED_BRANCH]:409,[Y.REMOTE_MISSING]:409,[Y.TARGET_DRIFTED]:409,[Y.UNOWNED_STAGED_PATH]:409,[Y.RECEIPT_UNREADABLE]:409,[Y.PUSH_FAILED]:502,[Y.PR_TOOL_MISSING]:409,[Y.PR_FAILED]:502};class $ extends Error{constructor(a,b){super(`Skill git workflow rejected: ${a}`),this.code=a,this.detail=b,this.name="SkillGitWorkflowError"}get status(){return Z[this.code]}}function _(a,b){throw new $(a,b)}function aa(a,b){return b.some(b=>a===b||a.startsWith(`${b}/`))}function ab(a){return a.split("\0").filter(a=>a.length>0)}async function ac(a){return ab(await (0,J.rS)(["diff","--cached","--name-only","-z"],a,I.Ev))}async function ad(a){let b=ab(await (0,J.rS)(["diff","--cached","--name-status","-z"],a,I.Ev)),c=[];for(let a=0;a<b.length;){let d=b[a];d.startsWith("R")||d.startsWith("C")?(void 0!==b[a+1]&&c.push({status:"D",path:b[a+1]}),void 0!==b[a+2]&&c.push({status:"A",path:b[a+2]}),a+=3):(void 0!==b[a+1]&&c.push({status:d,path:b[a+1]}),a+=2)}return c}async function ae(a,b){let c=await (0,J.Bc)(["rev-parse","--verify","--quiet",`refs/heads/${b}`],a);return null!==c&&c.length>0}async function af(a){let b=await (0,J.Bc)(["remote"],a);return null===b?[]:b.split("\n").map(a=>a.trim()).filter(a=>a.length>0)}async function ag(a){let{worktreePath:b,skillId:c,version:d,mode:e,activeSessions:f}=a,g=a.remote??"origin",h=await (0,P.M$)(b);("attached"!==h.headState||null===h.branch||null===h.headCommit)&&_(Y.HEAD_UNSUPPORTED,{headState:h.headState});let i=await ac(b);i.length>0&&_(Y.INDEX_NOT_CLEAN,{stagedCount:i.length}),a.push&&((await af(b)).includes(g)||_(Y.REMOTE_MISSING,{remote:g}));let j=await (0,N.tR)(b);if("current_branch"===e)return a.push&&null!==j&&j===h.branch&&_(Y.PROTECTED_BRANCH,{branch:h.branch}),{mode:e,branch:h.branch,baseBranch:j,headCommit:h.headCommit,branchCreated:!1,remote:g};f.length>0&&_(Y.ACTIVE_SESSION,{sessionCount:f.length});let k=function(a,b){let c=b.toLowerCase().replace(/[^a-z0-9.]+/g,"-").replace(/\.{2,}/g,".").replace(/^[-.]+|[-.]+$/g,""),d=`skills/install-${a}${c?`-v${c}`:""}`;if(d.length>200||d.includes("..")||d.endsWith(".lock")||/[\s~^:?*[\\]/.test(d))throw new $(Y.BRANCH_EXISTS,{branch:d});return d}(c,d);await ae(b,k)&&_(Y.BRANCH_EXISTS,{branch:k});let l=h.branch;return await (0,K.lY)(b,{name:k,from:h.headCommit}),await (0,J.dX)(b,async()=>{await (0,J.rS)(["switch",k,"--"],b,I.Ev)}),{mode:e,branch:k,baseBranch:l,headCommit:h.headCommit,branchCreated:!0,remote:g}}let ah=/^[0-9a-f]{48}$/,ai=new Map,aj={low:"low(低)",moderate:"moderate(中)",high:"high(高)"};function ak(a){return(0,R.f$)(a)}function al(a,b){return 0===a.length?b:a.map(a=>`- ${ak(a)}`).join("\n")}async function am(a){let{worktreePath:b,target:c,receipt:d}=a,e=function(a){let b=(0,Q.Pw)(a),c=[];for(let d of b)for(let b of(c.push(`${d}/${Q.zi}`),a.files))c.push(`${d}/${b.path}`);return{roots:[...b],files:c.sort()}}(d),f=new Set(e.files),g=await (0,P.M$)(b);("attached"!==g.headState||null===g.branch||null===g.headCommit)&&_(Y.HEAD_UNSUPPORTED,{headState:g.headState}),g.branch!==c.branch&&_(Y.TARGET_DRIFTED,{expected:c.branch,actual:g.branch});let h=(await ac(b)).filter(a=>!aa(a,e.roots));h.length>0&&_(Y.INDEX_NOT_CLEAN,{stagedCount:h.length}),await (0,L.Iz)(b,e.roots);let i=await ad(b);for(let a of i)aa(a.path,e.roots)||_(Y.UNOWNED_STAGED_PATH,{path:a.path}),"D"===a.status||f.has(a.path)||_(Y.UNOWNED_STAGED_PATH,{path:a.path});let j=i.map(a=>a.path).sort(),k=!1;if(j.length>0)try{await (0,L.om)(b,function(a){let b=(0,Q.Pw)(a);return`feat(skills): install ${a.skill_id} v${a.version}
2
2
 
3
3
  Skill: ${a.skill_id}
4
4
  Version: ${a.version}
@@ -15,106 +15,5 @@ Install roots: ${b.join(", ")}`}(d),!1),k=!0}catch(a){if(!(a instanceof z.mZ))th
15
15
  - **artifact SHA-256**: \`${b.artifact.sha256}\`
16
16
 
17
17
  インストール前に artifact のダイジェストとパッケージ構造を検証済みです。パッケージ内のスクリプトは導入時に実行されません。`),h.push(["## テスト結果\n",al((a.validations??[]).map(a=>`${a.label}: ${a.outcome}`),"- 自動テストは実行していません(導入操作のみ)")].join("\n")),h.push(["## 差分サマリ\n",`- **ブランチ**: \`${d.branch}\`${d.baseBranch?` ← base \`${d.baseBranch}\``:""}`,`- **導入先**: ${f.map(a=>`\`${a}\``).join(", ")}`,`- **変更ファイル数**: ${e.length}`,"",al(e.map(a=>`\`${ak(a)}\``),"- (変更なし)")].join("\n")),h.push(["## Agent互換性\n",al(b.agent_compatibility.map(a=>`${a.agent}: ${a.support}${a.evidence?` — ${a.evidence}`:""}`),"- 情報なし")].join("\n"));let i=h.join("\n\n");return i.length>6e4?`${i.slice(0,6e4)}
18
- …`:i}({receipt:d,manifest:a.manifest,target:c,changedPaths:j,validations:a.validations})});return q.ok||(X.warn("skill-git-pr-create-failed",{branch:c.branch,reason:q.reason,error:(0,R.f$)(q.detail)}),_("tool_missing"===q.reason?Y.PR_TOOL_MISSING:Y.PR_FAILED,{branch:c.branch})),m.pullRequestUrl=q.url,m}let an="force-dynamic",ao=(0,w.h)("api/worktrees/[id]/skills/[skillId]/git-workflow"),ap=["path","paths","pathspec","files","worktreePath","repositoryPath","installRoot","branch","baseBranch","remoteUrl","commitMessage","force"],aq=["phase","mode","version","push","createPullRequest","remote","workflowToken"],ar=["current_branch","dedicated_branch"],as=/^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/;function at(a){return{ok:!1,response:(0,D.En)("SKILL_GIT_INVALID_BODY",a,400)}}async function au(a){let b;try{b=JSON.parse(await a.text())}catch{return at("Malformed JSON body.")}if(null===b||"object"!=typeof b||Array.isArray(b))return at("Body must be a JSON object.");let c=b;for(let a of Object.keys(c)){if(ap.includes(a))return{ok:!1,response:(0,D.En)("SKILL_GIT_INPUT_REJECTED","The commit target is resolved by the server and cannot be supplied by the client.",400)};if(!aq.includes(a))return at("Unknown field in body.")}if("prepare"===c.phase){let{mode:a,version:b,remote:d}=c;return"string"==typeof a&&ar.includes(a)?"string"!=typeof b||0===b.length||b.length>64?at("Field `version` must name the version being installed."):void 0===d||"string"==typeof d&&as.test(d)?{ok:!0,body:{phase:"prepare",mode:a,version:b,push:!0===c.push,remote:"string"==typeof d?d:void 0}}:at("Field `remote` has an unsupported format."):at("Field `mode` must be `current_branch` or `dedicated_branch`.")}if("apply"===c.phase){let{workflowToken:a}=c;if("string"!=typeof a||!ah.test(a))return at("Field `workflowToken` must be a token issued by the prepare phase.");let b=!0===c.push,d=!0===c.createPullRequest;return d&&!b?at("A pull request requires `push` to be true."):{ok:!0,body:{phase:"apply",workflowToken:a,push:b,createPullRequest:d}}}return at("Field `phase` must be `prepare` or `apply`.")}async function av(a,{params:b}){try{let{id:d,skillId:e}=await b,f=(0,y.z)(d),g=(0,y.t)(f);if(g instanceof v.NextResponse)return g;let h=(0,C.jH)(e);if(!h.ok)return(0,D.En)(h.errors[0].code,"Invalid Skill ID.",400);let i=await au(a);if(!i.ok)return i.response;if("prepare"===i.body.phase){var c;let a=await ag({worktreePath:g.path,skillId:h.value,version:i.body.version,mode:i.body.mode,activeSessions:await aw(g.id,g.selectedAgents),push:i.body.push,remote:i.body.remote}),b={workflowToken:function(a,b,c){let d=Date.now();for(let[a,b]of ai)b.expiresAt<=d&&ai.delete(a);for(;ai.size>=32;){let a=ai.keys().next();if(a.done)break;ai.delete(a.value)}let e=(0,E.randomBytes)(24).toString("hex");return ai.set(e,{worktreeId:a,skillId:b,target:c,expiresAt:d+18e5}),e}(g.id,h.value,a),target:{mode:(c=a).mode,branch:c.branch,baseBranch:c.baseBranch,headCommit:c.headCommit,branchCreated:c.branchCreated,remote:c.remote}};return v.NextResponse.json(b,{headers:D.Ai})}let j=function(a,b){ah.test(a)||_(Y.TARGET_DRIFTED,{reason:"unknown_token"});let c=ai.get(a);return(void 0===c||c.expiresAt<=Date.now()||c.worktreeId!==b.worktreeId||c.skillId!==b.skillId)&&(ai.delete(a),_(Y.TARGET_DRIFTED,{reason:"unknown_token"})),c.target}(i.body.workflowToken,{worktreeId:g.id,skillId:h.value}),k=function(a,b){let c,d;try{c=(0,P.cu)(a,b)}catch{_(Y.RECEIPT_UNREADABLE,{skillId:b})}try{d=JSON.parse((0,F.readFileSync)(H().join(c,Q.zi),"utf8"))}catch{_(Y.RECEIPT_UNREADABLE,{skillId:b})}let e=(0,C.Jg)(d);e.ok||_(Y.RECEIPT_UNREADABLE,{skillId:b});let f=null;try{let a=(0,W.an)((0,F.readFileSync)(H().join(c,O.KH),"utf8")),b=(0,C.bX)(a);f=b.ok?b.value:null}catch{f=null}return{receipt:e.value,manifest:f}}(g.path,h.value),l=await am({worktreePath:g.path,target:j,receipt:k.receipt,manifest:k.manifest,push:i.body.push,createPullRequest:i.body.createPullRequest});return v.NextResponse.json({result:l},{headers:D.Ai})}catch(a){if(a instanceof $)return(0,D.En)(a.code,"The Skill git workflow was rejected.",a.status);return(0,z.x7)(a,"skill-git-workflow")}}async function aw(a,b){let c=(0,A.e)((0,x.getDbInstance)(),a,b);return(await Promise.all(c.map(async b=>{try{return await (0,B.K1)(a,b.cliTool,b.id)?b.id:null}catch(b){return ao.debug("skill-git-session-probe-failed",{worktreeId:a,error:b instanceof Error?b.name:"unknown"}),null}}))).filter(a=>null!==a)}let ax=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/worktrees/[id]/skills/[skillId]/git-workflow/route",pathname:"/api/worktrees/[id]/skills/[skillId]/git-workflow",filename:"route",bundlePath:"app/api/worktrees/[id]/skills/[skillId]/git-workflow/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:ay,workUnitAsyncStorage:az,serverHooks:aA}=ax;function aB(){return(0,g.patchFetch)({workAsyncStorage:ay,workUnitAsyncStorage:az})}async function aC(a,b,c){var d;let e="/api/worktrees/[id]/skills/[skillId]/git-workflow/route";"/index"===e&&(e="/");let g=await ax.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,params:w,nextConfig:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!z.routes[D]&&(ax.isDev||(0,t.isRouteCacheOwner)(D,ax.cacheOwner,z.routes[D])),G=!!(z.dynamicRoutes[E]||F);if(G&&!y){let a=z.dynamicRoutes[E];if(a&&!1===a.fallback&&!F)throw new s.NoFallbackError}let H=null;!G||ax.isDev||y||(H="/index"===(H=D)?"/":H);let I=!0===ax.isDev||!G,J=G&&!I,K=a.method||"GET",L=(0,i.getTracer)(),M=L.getActiveScopeSpan(),N={params:w,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!x.experimental.cacheComponents,authInterrupts:!!x.experimental.authInterrupts},supportsDynamicResponse:I,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=x.experimental)?void 0:d.cacheLife,isRevalidate:J,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>ax.onRequestError(a,b,d,A)},sharedContext:{buildId:v}},O=new k.NodeNextRequest(a),P=new k.NodeNextResponse(b),Q=l.NextRequestAdapter.fromNodeNextRequest(O,(0,l.signalFromNodeResponse)(b));try{let d=async c=>ax.handle(Q,N).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=L.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${K} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${K} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=N.renderOpts.fetchMetrics;let i=N.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=N.renderOpts.collectedTags;if(!G)return await (0,o.I)(O,P,e,N.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==N.renderOpts.collectedRevalidate&&!(N.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&N.renderOpts.collectedRevalidate,d=void 0===N.renderOpts.collectedExpire||N.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:N.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await ax.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:J,isOnDemandRevalidate:B})},A),b}},l=await ax.handleResponse({req:a,nextConfig:x,cacheKey:H,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!G)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&G||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(O,P,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};M?await g(M):await L.withPropagatedContext(a.headers,()=>L.trace(m.BaseServerSpan.handleRequest,{spanName:`${K} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":K,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await ax.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:J,isOnDemandRevalidate:B})}),G)throw b;return await (0,o.I)(O,P,new Response(null,{status:500})),null}}},2412:(a,b,c)=>{c.d(b,{Qb:()=>f,tR:()=>g});var d=c(46065);let e=Symbol("default-branch-unresolved");async function f(a){let b=await (0,d.Bc)(["symbolic-ref","refs/remotes/origin/HEAD","--short"],a);if(null===b)return e;let c=b.trim();return c.startsWith("origin/")?c.slice(7):null}async function g(a){let b=await f(a);return"string"==typeof b?b:null}},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},16698:a=>{a.exports=require("node:async_hooks")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{a.exports=require("process")},21820:a=>{a.exports=require("os")},22354:(a,b,c)=>{c.d(b,{F0:()=>j.F,K9:()=>e.K9,VM:()=>d.VM,_0:()=>f._0,c1:()=>k.c,o:()=>i.o,vm:()=>h.v,y_:()=>g.y_});var d=c(70096);c(66101);var e=c(45567);c(57510),c(38367);var f=c(25071),g=c(50474),h=c(70997),i=c(77904),j=c(76835),k=c(2734)},26833:(a,b,c)=>{c.d(b,{Iz:()=>g,X0:()=>h,om:()=>i});var d=c(65417),e=c(46065),f=c(63271);async function g(a,b){await (0,e.dX)(a,async()=>{await (0,e.rS)(["add","--",...b],a,d.Ev)})}async function h(a,b){await (0,e.dX)(a,async()=>{await (0,e.rS)(["restore","--staged","--",...b],a,d.Ev)})}async function i(a,b,c){await (0,e.dX)(a,async()=>{let g=["commit","-m",b];c&&g.push("--amend"),g.push("--");try{await (0,e.rS)(g,a,d.Ev)}catch(b){let a=b instanceof Error?b.message:"";if(/nothing to commit|no changes added to commit|nothing added to commit/i.test(a))throw new f.mZ("Nothing to commit");throw b}})}},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31990:(a,b,c)=>{c.d(b,{Wh:()=>V,WD:()=>W,Lw:()=>$,Qj:()=>U,K1:()=>T,N5:()=>Z,UM:()=>Y,eB:()=>X});var d=c(12693),e=c(72626),f=c(79892);let g={streamingOutput:!1,explicitResize:!1,snapshotFallback:!0};class h{async unsubscribe(){}}class i{async ensureSession(a,b){await (0,f.N)(a)||await (0,f.jw)(a,b)}async sessionExists(a){return(0,f.N)(a)}async sendInput(a,b){await (0,f.V1)(a,b)}async sendSpecialKey(a,b){if("Escape"!==b&&"C-c"!==b&&"C-d"!==b&&"C-m"!==b&&"Enter"!==b)throw Error(`Unsupported special key for PollingTmuxTransport: ${b}`);await (0,f.ds)(a,b)}async resize(){throw Error("PollingTmuxTransport does not support explicit resize")}async captureSnapshot(a,b){return(0,f.Xg)(a,b)}async subscribe(){return new h}getCapabilities(){return g}async killSession(a){return(0,f.fY)(a)}}let j=null;var k=c(93997),l=c(79646),m=c(28354),n=c(31442),o=c(29021),p=c(21820),q=c(33873),r=c(16983);let s="cm-live-restore.sh",t="cm-live-delegate.sh",u="cm-auto-popup.sh",v=`#!/bin/sh
19
- # CommandMate live-attach restore (Issue #2317) — generated file, edits are overwritten.
20
- #
21
- # sh ~/.commandmate/bin/${s} <session> [control_mode] [width] [height]
22
- #
23
- # Pins the session's window back to CommandMate's canvas once no human client is
24
- # attached to it any more. Safe to run when nothing is delegated: it then simply
25
- # re-applies the geometry the session already has.
26
- set -u
27
-
28
- SESSION="\${1:-}"
29
- CONTROL_MODE="\${2:-0}"
30
- WIDTH="\${3:-${r.Jn}}"
31
- HEIGHT="\${4:-${r.sO}}"
32
-
33
- case "$SESSION" in
34
- ${n.HL}*) ;;
35
- *) exit 0 ;;
36
- esac
37
-
38
- # A control-mode client detaching is CommandMate's own transport reconnecting,
39
- # not the human leaving. Doing the restore here would fight the human's attach.
40
- if [ "$CONTROL_MODE" = "1" ]; then
41
- exit 0
42
- fi
43
-
44
- # Anyone left who is NOT a control client? Then the geometry is still theirs.
45
- HUMANS=$(tmux list-clients -t "=$SESSION:" -F '#{client_control_mode}' 2>/dev/null \\
46
- | grep -c -v '^1$') || HUMANS=0
47
- if [ "\${HUMANS:-0}" -gt 0 ]; then
48
- exit 0
49
- fi
50
-
51
- tmux set-window-option -t "=$SESSION:" window-size manual 2>/dev/null || exit 0
52
- tmux resize-window -t "=$SESSION:" -x "$WIDTH" -y "$HEIGHT" 2>/dev/null || true
53
- tmux set-option -u -t "=$SESSION:" @cm_delegated 2>/dev/null || true
54
- `,w="[0-9a-f]".repeat(8),x=`#!/bin/sh
55
- # CommandMate live-attach delegate (Issue #2317) — generated file, edits are overwritten.
56
- #
57
- # sh ~/.commandmate/bin/${t} <session> <control_mode> [client]
58
- #
59
- # Hands the session's window from CommandMate's pinned canvas to the terminal
60
- # that just attached, so an alternate-screen agent re-lays-out and its transcript
61
- # becomes readable. Installed as a session-scoped \`client-attached[0]\` hook only
62
- # when CM_LIVE_ATTACH_HOOK=on; \`commandmate attach --live\` does the same two
63
- # writes itself and needs no hook.
64
- #
65
- # The window is put back by whoever notices the human is gone first: the CLI on
66
- # return from attach-session, or the server's status poll. This script never
67
- # restores — the attach edge is the only edge tmux 3.5a lets a session-scoped
68
- # hook see.
69
- set -u
70
-
71
- SESSION="\${1:-}"
72
- CONTROL_MODE="\${2:-0}"
73
-
74
- case "$SESSION" in
75
- ${n.HL}claude-*|${n.HL}${w}-claude-*) ;;
76
- *) exit 0 ;;
77
- esac
78
-
79
- # A control-mode client is CommandMate's own transport. Handing it the geometry
80
- # would resize the canvas to whatever that connection negotiated, which is the
81
- # #1163 regression this whole feature is built to avoid.
82
- if [ "$CONTROL_MODE" = "1" ]; then
83
- exit 0
84
- fi
85
-
86
- # Raised BEFORE the size change, so a status poll landing between the two sees
87
- # "delegated, still pinned" rather than "not delegated, 44 rows".
88
- tmux set-option -t "=$SESSION:" @cm_delegated 1 2>/dev/null || exit 0
89
- tmux set-window-option -t "=$SESSION:" window-size latest 2>/dev/null || true
90
- `,y=`#!/bin/sh
91
- # CommandMate auto read popup (Issue #2317) — generated file, edits are overwritten.
92
- #
93
- # sh ~/.commandmate/bin/${u} <session> <control_mode> <client>
94
- #
95
- # Opens the following transcript popup for a human client attaching to a
96
- # CommandMate session. Never opens for a control-mode client.
97
- set -u
98
-
99
- SESSION="\${1:-}"
100
- CONTROL_MODE="\${2:-0}"
101
- CLIENT="\${3:-}"
102
-
103
- case "$SESSION" in
104
- ${n.HL}*) ;;
105
- *) exit 0 ;;
106
- esac
107
-
108
- if [ "$CONTROL_MODE" = "1" ]; then
109
- exit 0
110
- fi
111
-
112
- PAGER_SCRIPT="$HOME/.commandmate/bin/cm-read-pane.sh"
113
- [ -x "$PAGER_SCRIPT" ] || exit 0
114
-
115
- if [ -n "$CLIENT" ]; then
116
- tmux display-popup -c "$CLIENT" -w 90% -h 85% -E "sh \\"$PAGER_SCRIPT\\" --follow \\"$SESSION\\"" 2>/dev/null || true
117
- else
118
- tmux display-popup -w 90% -h 85% -E "sh \\"$PAGER_SCRIPT\\" --follow \\"$SESSION\\"" 2>/dev/null || true
119
- fi
120
- `;function z(a,b){let c,d=(0,q.join)((0,q.join)((0,p.homedir)(),".commandmate","bin"),a);if((0,o.mkdirSync)((0,q.dirname)(d),{recursive:!0}),(0,o.existsSync)(d))try{c=(0,o.readFileSync)(d,"utf-8")}catch{c=void 0}return c!==b&&(0,o.writeFileSync)(d,b,{mode:493}),(0,o.chmodSync)(d,493),d}var A=c(83598),B=c(36925);let C=(0,m.promisify)(l.execFile),D=(0,e.h)("tmux-session-hooks"),E=(0,B.v)("__cmEnsuredSessionHooks",()=>new Set);async function F(a){if((0,n.N_)(a)&&!E.has(a)){E.add(a);try{if((0,n.gM)()&&(0,n.n9)(a)){z(s,v);let b=(0,n.Rr)(a,z(t,x));b&&await C("tmux",b,{timeout:5e3})}else await C("tmux",(0,n.g4)(a),{timeout:5e3});if((0,n.jx)()){let b=(0,n.Ls)(a,z(u,y));b&&await C("tmux",b,{timeout:5e3})}else await C("tmux",(0,n.sL)(a),{timeout:5e3})}catch(b){D.debug("session-hooks:reconcile-failed",{sessionName:a,error:b instanceof Error?b.message:String(b)})}}}async function G(a){try{if(!await (0,A.Us)(a)||await (0,A.Fh)(a))return!1;for(let b of(0,n.RS)(a))await C("tmux",b,{timeout:5e3});return D.info("session-hooks:geometry-restored",{sessionName:a}),!0}catch(b){return D.debug("session-hooks:geometry-restore-failed",{sessionName:a,error:b instanceof Error?b.message:String(b)}),!1}}let H=(0,m.promisify)(l.execFile),I=(0,e.h)("tmux-session-status"),J=(0,B.v)("__cmPublishedTmuxStatus",()=>new Map),K=(0,B.v)("__cmClearedTmuxStatus",()=>new Set);async function L(a){let{sessionName:b,worktreeId:c,cliToolId:d,instanceId:e,status:f}=a;if(!(0,n.om)())return K.has(b)||(K.add(b),await N(b)),"disabled";let g=J.get(b);if(g&&g.status===f&&g.worktreeId===c&&g.cliToolId===d&&g.instanceId===e)return"unchanged";let h=(a.now??new Date).toISOString(),i=[[n.eC,f],[n.jp,c],[n.wv,d],[n.L0,e],[n.tx,h]];try{for(let[a,c]of i)await H("tmux",(0,n.ND)(b,a,c),{timeout:5e3});return J.set(b,{status:f,worktreeId:c,cliToolId:d,instanceId:e}),await M(b),"written"}catch(a){return J.delete(b),I.debug("session-status:write-failed",{sessionName:b,error:a instanceof Error?a.message:String(a)}),"error"}}async function M(a){try{let{stdout:b}=await H("tmux",(0,n.Ys)(a,"status-right"),{timeout:5e3}),c=b.trim();if(""!==c&&!c.includes(n.lY))return I.debug("session-status:status-right-user-owned",{sessionName:a,existing:c}),!1;return""===c&&await H("tmux",(0,n.KB)(a,n.lY),{timeout:5e3}),!0}catch(b){return I.debug("session-status:status-right-failed",{sessionName:a,error:b instanceof Error?b.message:String(b)}),!1}}async function N(a){for(let b of(J.delete(a),n.bq))try{await H("tmux",(0,n.cD)(a,b),{timeout:5e3})}catch{}try{let{stdout:b}=await H("tmux",(0,n.Ys)(a,"status-right"),{timeout:5e3});b.includes(n.lY)&&await H("tmux",(0,n.$D)(a),{timeout:5e3})}catch{}}let O=(0,e.h)("cli-session");function P(a){globalThis.__captureFrameMetaSink?.getStore()?.(a)}function Q(a){globalThis.__captureHeadCutSink?.getStore()?.(a)}function R(){return j||(j=new i),j}function S(a,b,c){let e=d.CLIToolManager.getInstance().getTool(b),f=e.getSessionName(a,c);return{cliTool:e,sessionName:f}}async function T(a,b,c){let{sessionName:d}=S(a,b,c);return R().sessionExists(d)}async function U(a,b,c){let{sessionName:d}=S(a,b,c);return(0,f.p$)(d)}async function V(a,b,c=1e3,d){let e=O.withContext({worktreeId:a,cliToolId:b});e.debug("captureSessionOutput:start",{requestedLines:c});let{cliTool:f,sessionName:g}=S(a,b,d),h=R();try{let a=await (0,k.aq)(g,c,async()=>{if(!await h.sessionExists(g))throw Error(`${f.name} session ${g} does not exist`);return await h.captureSnapshot(g,{startLine:-k.xE})},P,Q);return e.debug("captureSessionOutput:success",{actualLines:a.split("\n").length,lastFewLines:a.split("\n").slice(-3).join(" | ")}),a}catch(b){let a=b instanceof Error?b.message:String(b);if(a.includes("does not exist"))throw e.debug("captureSessionOutput:sessionNotFound",{sessionName:g}),b;throw e.error("captureSessionOutput:failed",{error:a}),Error(`Failed to capture ${f.name} output: ${a}`)}}async function W(a,b,c=5e3,d){let e=O.withContext({worktreeId:a,cliToolId:b});e.debug("captureSessionOutputFresh:start",{requestedLines:c});let{cliTool:f,sessionName:g}=S(a,b,d),h=R(),i=(0,k.XD)(g),j=Date.now();try{let a=await h.captureSnapshot(g,{startLine:-c});a.length>0?(0,k.Ws)(g,i)&&(0,k.vF)(g,a,c,j):(0,k.gm)(g),P({fetchStartedAt:j,source:"fetched"});let b=globalThis.__captureHeadCutSink?.getStore();return b&&b((0,k.AW)(a,c)),(0,k.wd)(a,c)}catch(b){(0,k.gm)(g);let a=b instanceof Error?b.message:String(b);throw e.error("captureSessionOutputFresh:failed",{error:a}),Error(`Failed to capture ${f.name} output: ${a}`)}}async function X(a,b,c,d){if("Up"!==c&&"Down"!==c&&"Enter"!==c)throw Error(`Unsupported answer key: ${String(c)}`);let{sessionName:e}=S(a,b,d);try{await (0,f.KB)(e,[c])}finally{(0,k.gm)(e)}}async function Y(a,b,c){let{sessionName:d}=S(a,b,c);return(0,f.Hg)(d)}async function Z(a){await F(a.sessionName),(0,n.n9)(a.sessionName)&&await G(a.sessionName),await L(a)}function $(a){J.delete(a),K.delete(a),E.delete(a),(0,A.G9)(a)}},32002:(a,b,c)=>{c.d(b,{e:()=>h});var d=c(56791),e=c(26923),f=c(52201),g=c(15194);function h(a,b,c){let h=(0,d.getAgentInstances)(a,b);return h.length>0?h:(0,g.lu)((0,f.eG)({worktree:c,appSettings:(0,e.Ds)(a)}))}},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},39988:(a,b,c)=>{c.d(b,{SN:()=>n,jr:()=>i,lY:()=>m,nX:()=>l});var d=c(65417),e=c(46065),f=c(2412),g=c(63271);function h(a){let b=new Map;if(!a)return b;let c=null;for(let d of a.split("\n")){let a=d.trimEnd();if(a.startsWith("worktree "))c=a.slice(9).trim();else if(a.startsWith("branch ")&&c){let d=a.slice(7).trim(),e=d.startsWith("refs/heads/")?d.slice(11):d;e&&b.set(e,c)}else""===a&&(c=null)}return b}async function i(a,b="local"){let c="local"===b||"all"===b,d="remote"===b||"all"===b,[f,g,j,k,l]=await Promise.all([c?(0,e.Bc)(["branch","--list"],a):Promise.resolve(""),d?(0,e.Bc)(["branch","-r"],a):Promise.resolve(""),(0,e.Bc)(["symbolic-ref","refs/remotes/origin/HEAD","--short"],a),(0,e.Bc)(["worktree","list","--porcelain"],a),(0,e.Bc)(["for-each-ref","--format=%(refname:short)%09%(upstream:short)%09%(upstream:track)","refs/heads"],a)]),m=j?j.trim():null,n=h(k??""),o=function(a){let b=new Map;if(!a)return b;for(let c of a.split("\n")){if(!c.trim())continue;let[a,d="",e=""]=c.split(" ");if(!a)continue;let f=d.trim()||null,g=null;if(f){let a=e.match(/ahead (\d+)/),b=e.match(/behind (\d+)/);a||b?g={ahead:a?parseInt(a[1],10):0,behind:b?parseInt(b[1],10):0}:/gone/.test(e)||(g={ahead:0,behind:0})}b.set(a,{upstream:f,aheadBehind:g})}return b}(l??""),p=[];if(c)for(let{name:a,isCurrent:b}of function(a){let b=[];if(!a)return b;for(let c of a.split("\n")){let a=c.trimEnd();if(!a.trim())continue;let d=a.startsWith("* "),e=a.replace(/^[*+]?\s+/,"").trim();!e||e.startsWith("(")||b.push({name:e,isCurrent:d})}return b}(f??"")){let c=o.get(a);p.push({name:a,isCurrent:b,isRemote:!1,isDefault:null!==m&&m===`origin/${a}`,upstream:c?.upstream??null,aheadBehind:c?.aheadBehind??null,checkedOutWorktreePath:n.get(a)??null})}if(d)for(let a of function(a){let b=[];if(!a)return b;for(let c of a.split("\n")){let a=c.trim();a&&(a.includes("->")||b.push(a))}return b}(g??""))p.push({name:a,isCurrent:!1,isRemote:!0,isDefault:null!==m&&m===a,upstream:null,aheadBehind:null,checkedOutWorktreePath:null});return p}async function j(a,b){let c=await (0,e.Bc)(["worktree","list","--porcelain"],a);if(null===c)return null;let d=h(c).get(b);return d&&d!==a?d:null}function k(a){if(a instanceof g.y0||a instanceof g.wo||a instanceof g.rI)throw a;let b=a instanceof Error?a.message:String(a),c=a?.stderr??"",d=`${c} ${b}`;if(/did not match|not a valid ref|not found|unknown revision|invalid reference|couldn't find remote ref/i.test(d))throw new g.ur("Branch not found");throw a}async function l(a,b){let{branch:c,createIfMissing:f=!1,from:h,force:i=!1}=b,l=await j(a,c);if(l)throw new g.oK("Branch is checked out in another worktree",l);if(!i){let b=await (0,e.Bc)(["status","--porcelain"],a);if(null===b)throw new g.y0("Could not verify working tree state");if(b.length>0)throw new g.d_("Working tree has uncommitted changes")}await (0,e.dX)(a,async()=>{let b;f?(b=["switch","-c",c],h&&b.push(h),b.push("--")):b=c.startsWith("origin/")?["switch","-c",c.slice(7),"--track",c,"--"]:i?["checkout","-f",c,"--"]:["switch",c,"--"];try{await (0,e.rS)(b,a,d.Ev)}catch(a){k(a)}})}async function m(a,b){let{name:c,from:f}=b;await (0,e.dX)(a,async()=>{let b=["branch",c];f&&b.push(f),b.push("--");try{await (0,e.rS)(b,a,d.Ev)}catch(a){k(a)}})}async function n(a,b){let{name:c,force:h=!1}=b,i=await (0,e.Bc)(["rev-parse","--abbrev-ref","HEAD"],a);if(null!==i&&i.trim()===c)throw new g.MC("Cannot delete the current branch");let j=await (0,f.tR)(a);if(null!==j&&j===c)throw new g.qb("Cannot delete the default branch");await (0,e.dX)(a,async()=>{try{await (0,e.rS)(["branch",h?"-D":"-d",c,"--"],a,d.Ev)}catch(d){let a=d instanceof Error?d.message:String(d),b=d?.stderr??"",c=`${b} ${a}`;if(/not fully merged/i.test(c))throw new g.A6("Branch is not fully merged");k(d)}})}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50474:(a,b,c)=>{c.d(b,{y_:()=>d});function d(a){var b=a.noDecision;switch(b.kind){case"proceeds":return{safe:!0,blocksForMs:0,summary:"the agent continues with its own approval flow"};case"blocks":return{safe:!1,blocksForMs:null,summary:"the agent waits indefinitely; nothing else will unblock it"};case"blocksUntil":return{safe:!1,blocksForMs:b.timeoutMs,summary:`the agent waits up to ${b.timeoutMs}ms before continuing`}}}},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},59082:(a,b,c)=>{c.d(b,{C4:()=>l,FW:()=>j,Iz:()=>k,Z3:()=>m});var d=c(65417),e=c(72626),f=c(46065),g=c(2412),h=c(63271);let i=(0,e.h)("git-remote");async function j(a,b){let{remote:c="origin",prune:e}=b,g=["fetch"];e&&g.push("--prune"),g.push(c,"--"),await (0,f.sl)(g,a,d.dw)}async function k(a,b,c){await (0,f.rS)(["remote","add",b,c],a,5e3)}async function l(a,b){let{remote:c="origin",branch:e,rebase:g,ffOnly:h}=b;return(0,f.dX)(a,async()=>{let b=["pull"];return g&&b.push("--rebase"),h&&b.push("--ff-only"),b.push(c),e&&b.push(e),b.push("--"),(0,f.mY)(b,a,d.A$,!0)})}async function m(a,b){let{remote:c="origin",branch:e,force:j,forceWithLease:k,setUpstream:l}=b;if(j||k){let b=await (0,g.tR)(a);if(null!==b&&b===e)throw new h.rm;i.warn("git:danger:force-push",{operation:"push",worktreePath:a,branch:e,forceWithLease:!0===k,timestamp:new Date().toISOString()})}await (0,f.dX)(a,async()=>{let b=["push"];k?b.push("--force-with-lease"):j&&b.push("--force"),l&&b.push("-u"),b.push(c,`${e}:refs/heads/${e}`,"--"),await (0,f.sl)(b,a,d.fL)})}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73495:(a,b,c)=>{c.d(b,{Me:()=>h});let d="don['’]t",e=["deny",/^No(?:,|$)/],f={claude:[["allow-once",/^Yes$/],["allow-persistent",/^Yes, and always allow\b/],["mode-change",/^Yes, allow all edits\b/],["mode-change",/^Yes, and switch to\b/],e],codex:[["allow-once",/^Yes$/],["allow-once",/^Yes, proceed\b/],["allow-once",/^Allow(?:\s{2,}|$)/],["allow-persistent",RegExp(`^Yes, and ${d} ask again\\b`)],["allow-persistent",/^Always allow\b/],["mode-change",/^Ask for approval\b/],["mode-change",/^Approve for me\b/],["mode-change",/^Full Access\b/],["deny",/^Cancel\b/],e],antigravity:[["allow-once",/^Yes$/],["allow-once",/^Yes, run command$/],["allow-once",/^Yes, allow creation$/],["allow-persistent",/^Yes, and always allow\b/],e],"command-code":[["allow-once",/^Yes$/],["allow-persistent",RegExp(`^Yes, ${d} ask again\\b`)],["mode-change",/^Yes, allow all edits\b/],e],copilot:[["allow-once",/^Yes$/],["allow-persistent",RegExp(`^Yes, and ${d} ask again\\b`)],["mode-change",/^Manual\b/],["mode-change",/^Allow all\b/],e]},g=Object.values(f).flat();function h(a,b){let c=void 0===b?g:f[b]??null;if(null===c)return{kind:"not-a-permission-dialog"};let d=a.map(a=>(function(a,b){let c=b.trim();for(let[b,d]of a)if(d.test(c))return b;return"unknown"})(c,a.label));if(!d.some(a=>"allow-once"===a||"allow-persistent"===a||"mode-change"===a))return{kind:"not-a-permission-dialog"};let e=a.filter((a,b)=>"allow-once"===d[b]);return 1===e.length?{kind:"allow-once",option:e[0]}:{kind:"unidentified",allowOnceCount:e.length}}Object.keys(f)},74075:a=>{a.exports=require("zlib")},77598:a=>{a.exports=require("node:crypto")},79428:a=>{a.exports=require("buffer")},79551:a=>{a.exports=require("url")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},81630:a=>{a.exports=require("http")},83997:a=>{a.exports=require("tty")},84297:a=>{a.exports=require("async_hooks")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[3897,641,3722,4390,9627,8807,406,6065,4490,9169,2897,1957,8791,7491,3505,252,9390,8800,7905,255,9731,5456,2710,463,9360],()=>b(b.s=826));module.exports=c})();
18
+ …`:i}({receipt:d,manifest:a.manifest,target:c,changedPaths:j,validations:a.validations})});return q.ok||(X.warn("skill-git-pr-create-failed",{branch:c.branch,reason:q.reason,error:(0,R.f$)(q.detail)}),_("tool_missing"===q.reason?Y.PR_TOOL_MISSING:Y.PR_FAILED,{branch:c.branch})),m.pullRequestUrl=q.url,m}let an="force-dynamic",ao=(0,w.h)("api/worktrees/[id]/skills/[skillId]/git-workflow"),ap=["path","paths","pathspec","files","worktreePath","repositoryPath","installRoot","branch","baseBranch","remoteUrl","commitMessage","force"],aq=["phase","mode","version","push","createPullRequest","remote","workflowToken"],ar=["current_branch","dedicated_branch"],as=/^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/;function at(a){return{ok:!1,response:(0,D.En)("SKILL_GIT_INVALID_BODY",a,400)}}async function au(a){let b;try{b=JSON.parse(await a.text())}catch{return at("Malformed JSON body.")}if(null===b||"object"!=typeof b||Array.isArray(b))return at("Body must be a JSON object.");let c=b;for(let a of Object.keys(c)){if(ap.includes(a))return{ok:!1,response:(0,D.En)("SKILL_GIT_INPUT_REJECTED","The commit target is resolved by the server and cannot be supplied by the client.",400)};if(!aq.includes(a))return at("Unknown field in body.")}if("prepare"===c.phase){let{mode:a,version:b,remote:d}=c;return"string"==typeof a&&ar.includes(a)?"string"!=typeof b||0===b.length||b.length>64?at("Field `version` must name the version being installed."):void 0===d||"string"==typeof d&&as.test(d)?{ok:!0,body:{phase:"prepare",mode:a,version:b,push:!0===c.push,remote:"string"==typeof d?d:void 0}}:at("Field `remote` has an unsupported format."):at("Field `mode` must be `current_branch` or `dedicated_branch`.")}if("apply"===c.phase){let{workflowToken:a}=c;if("string"!=typeof a||!ah.test(a))return at("Field `workflowToken` must be a token issued by the prepare phase.");let b=!0===c.push,d=!0===c.createPullRequest;return d&&!b?at("A pull request requires `push` to be true."):{ok:!0,body:{phase:"apply",workflowToken:a,push:b,createPullRequest:d}}}return at("Field `phase` must be `prepare` or `apply`.")}async function av(a,{params:b}){try{let{id:d,skillId:e}=await b,f=(0,y.z)(d),g=(0,y.t)(f);if(g instanceof v.NextResponse)return g;let h=(0,C.jH)(e);if(!h.ok)return(0,D.En)(h.errors[0].code,"Invalid Skill ID.",400);let i=await au(a);if(!i.ok)return i.response;if("prepare"===i.body.phase){var c;let a=await ag({worktreePath:g.path,skillId:h.value,version:i.body.version,mode:i.body.mode,activeSessions:await aw(g.id,g.selectedAgents),push:i.body.push,remote:i.body.remote}),b={workflowToken:function(a,b,c){let d=Date.now();for(let[a,b]of ai)b.expiresAt<=d&&ai.delete(a);for(;ai.size>=32;){let a=ai.keys().next();if(a.done)break;ai.delete(a.value)}let e=(0,E.randomBytes)(24).toString("hex");return ai.set(e,{worktreeId:a,skillId:b,target:c,expiresAt:d+18e5}),e}(g.id,h.value,a),target:{mode:(c=a).mode,branch:c.branch,baseBranch:c.baseBranch,headCommit:c.headCommit,branchCreated:c.branchCreated,remote:c.remote}};return v.NextResponse.json(b,{headers:D.Ai})}let j=function(a,b){ah.test(a)||_(Y.TARGET_DRIFTED,{reason:"unknown_token"});let c=ai.get(a);return(void 0===c||c.expiresAt<=Date.now()||c.worktreeId!==b.worktreeId||c.skillId!==b.skillId)&&(ai.delete(a),_(Y.TARGET_DRIFTED,{reason:"unknown_token"})),c.target}(i.body.workflowToken,{worktreeId:g.id,skillId:h.value}),k=function(a,b){let c,d;try{c=(0,P.cu)(a,b)}catch{_(Y.RECEIPT_UNREADABLE,{skillId:b})}try{d=JSON.parse((0,F.readFileSync)(H().join(c,Q.zi),"utf8"))}catch{_(Y.RECEIPT_UNREADABLE,{skillId:b})}let e=(0,C.Jg)(d);e.ok||_(Y.RECEIPT_UNREADABLE,{skillId:b});let f=null;try{let a=(0,W.an)((0,F.readFileSync)(H().join(c,O.KH),"utf8")),b=(0,C.bX)(a);f=b.ok?b.value:null}catch{f=null}return{receipt:e.value,manifest:f}}(g.path,h.value),l=await am({worktreePath:g.path,target:j,receipt:k.receipt,manifest:k.manifest,push:i.body.push,createPullRequest:i.body.createPullRequest});return v.NextResponse.json({result:l},{headers:D.Ai})}catch(a){if(a instanceof $)return(0,D.En)(a.code,"The Skill git workflow was rejected.",a.status);return(0,z.x7)(a,"skill-git-workflow")}}async function aw(a,b){let c=(0,A.e)((0,x.getDbInstance)(),a,b);return(await Promise.all(c.map(async b=>{try{return await (0,B.K1)(a,b.cliTool,b.id)?b.id:null}catch(b){return ao.debug("skill-git-session-probe-failed",{worktreeId:a,error:b instanceof Error?b.name:"unknown"}),null}}))).filter(a=>null!==a)}let ax=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/worktrees/[id]/skills/[skillId]/git-workflow/route",pathname:"/api/worktrees/[id]/skills/[skillId]/git-workflow",filename:"route",bundlePath:"app/api/worktrees/[id]/skills/[skillId]/git-workflow/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:ay,workUnitAsyncStorage:az,serverHooks:aA}=ax;function aB(){return(0,g.patchFetch)({workAsyncStorage:ay,workUnitAsyncStorage:az})}async function aC(a,b,c){var d;let e="/api/worktrees/[id]/skills/[skillId]/git-workflow/route";"/index"===e&&(e="/");let g=await ax.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,params:w,nextConfig:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!z.routes[D]&&(ax.isDev||(0,t.isRouteCacheOwner)(D,ax.cacheOwner,z.routes[D])),G=!!(z.dynamicRoutes[E]||F);if(G&&!y){let a=z.dynamicRoutes[E];if(a&&!1===a.fallback&&!F)throw new s.NoFallbackError}let H=null;!G||ax.isDev||y||(H="/index"===(H=D)?"/":H);let I=!0===ax.isDev||!G,J=G&&!I,K=a.method||"GET",L=(0,i.getTracer)(),M=L.getActiveScopeSpan(),N={params:w,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!x.experimental.cacheComponents,authInterrupts:!!x.experimental.authInterrupts},supportsDynamicResponse:I,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=x.experimental)?void 0:d.cacheLife,isRevalidate:J,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>ax.onRequestError(a,b,d,A)},sharedContext:{buildId:v}},O=new k.NodeNextRequest(a),P=new k.NodeNextResponse(b),Q=l.NextRequestAdapter.fromNodeNextRequest(O,(0,l.signalFromNodeResponse)(b));try{let d=async c=>ax.handle(Q,N).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=L.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${K} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${K} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=N.renderOpts.fetchMetrics;let i=N.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=N.renderOpts.collectedTags;if(!G)return await (0,o.I)(O,P,e,N.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==N.renderOpts.collectedRevalidate&&!(N.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&N.renderOpts.collectedRevalidate,d=void 0===N.renderOpts.collectedExpire||N.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:N.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await ax.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:J,isOnDemandRevalidate:B})},A),b}},l=await ax.handleResponse({req:a,nextConfig:x,cacheKey:H,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!G)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&G||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(O,P,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};M?await g(M):await L.withPropagatedContext(a.headers,()=>L.trace(m.BaseServerSpan.handleRequest,{spanName:`${K} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":K,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await ax.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:J,isOnDemandRevalidate:B})}),G)throw b;return await (0,o.I)(O,P,new Response(null,{status:500})),null}}},2412:(a,b,c)=>{c.d(b,{Qb:()=>f,tR:()=>g});var d=c(46065);let e=Symbol("default-branch-unresolved");async function f(a){let b=await (0,d.Bc)(["symbolic-ref","refs/remotes/origin/HEAD","--short"],a);if(null===b)return e;let c=b.trim();return c.startsWith("origin/")?c.slice(7):null}async function g(a){let b=await f(a);return"string"==typeof b?b:null}},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3421:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(71237),e=c(55088),f=c(17679);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},16698:a=>{a.exports=require("node:async_hooks")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{a.exports=require("process")},21820:a=>{a.exports=require("os")},22354:(a,b,c)=>{c.d(b,{F0:()=>i.F,VM:()=>d.VM,_0:()=>e._0,c1:()=>j.c,o:()=>h.o,vm:()=>g.v,y_:()=>f.y_});var d=c(70096);c(66101),c(45567),c(57510),c(38367);var e=c(25071),f=c(50474),g=c(70997),h=c(77904),i=c(76835),j=c(2734)},26833:(a,b,c)=>{c.d(b,{Iz:()=>g,X0:()=>h,om:()=>i});var d=c(65417),e=c(46065),f=c(63271);async function g(a,b){await (0,e.dX)(a,async()=>{await (0,e.rS)(["add","--",...b],a,d.Ev)})}async function h(a,b){await (0,e.dX)(a,async()=>{await (0,e.rS)(["restore","--staged","--",...b],a,d.Ev)})}async function i(a,b,c){await (0,e.dX)(a,async()=>{let g=["commit","-m",b];c&&g.push("--amend"),g.push("--");try{await (0,e.rS)(g,a,d.Ev)}catch(b){let a=b instanceof Error?b.message:"";if(/nothing to commit|no changes added to commit|nothing added to commit/i.test(a))throw new f.mZ("Nothing to commit");throw b}})}},27289:(a,b,c)=>{c.d(b,{t:()=>j,z:()=>i});var d=c(10641),e=c(88807),f=c(56791),g=c(95506),h=c(66007);function i(a){if(!a)return a;try{if(!(0,h.h6)(a))return a;let b=(0,e.getDbInstance)();return(0,g.l0)(b,a)??a}catch{return a}}function j(a){if(!(0,h.h6)(a))return d.NextResponse.json({error:"Invalid worktree ID format"},{status:400});let b=(0,e.getDbInstance)(),c=(0,f.getWorktreeById)(b,i(a));return c||d.NextResponse.json({error:"Worktree not found"},{status:404})}},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32002:(a,b,c)=>{c.d(b,{e:()=>h});var d=c(56791),e=c(26923),f=c(52201),g=c(15194);function h(a,b,c){let h=(0,d.getAgentInstances)(a,b);return h.length>0?h:(0,g.lu)((0,f.eG)({worktree:c,appSettings:(0,e.Ds)(a)}))}},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},39988:(a,b,c)=>{c.d(b,{SN:()=>n,jr:()=>i,lY:()=>m,nX:()=>l});var d=c(65417),e=c(46065),f=c(2412),g=c(63271);function h(a){let b=new Map;if(!a)return b;let c=null;for(let d of a.split("\n")){let a=d.trimEnd();if(a.startsWith("worktree "))c=a.slice(9).trim();else if(a.startsWith("branch ")&&c){let d=a.slice(7).trim(),e=d.startsWith("refs/heads/")?d.slice(11):d;e&&b.set(e,c)}else""===a&&(c=null)}return b}async function i(a,b="local"){let c="local"===b||"all"===b,d="remote"===b||"all"===b,[f,g,j,k,l]=await Promise.all([c?(0,e.Bc)(["branch","--list"],a):Promise.resolve(""),d?(0,e.Bc)(["branch","-r"],a):Promise.resolve(""),(0,e.Bc)(["symbolic-ref","refs/remotes/origin/HEAD","--short"],a),(0,e.Bc)(["worktree","list","--porcelain"],a),(0,e.Bc)(["for-each-ref","--format=%(refname:short)%09%(upstream:short)%09%(upstream:track)","refs/heads"],a)]),m=j?j.trim():null,n=h(k??""),o=function(a){let b=new Map;if(!a)return b;for(let c of a.split("\n")){if(!c.trim())continue;let[a,d="",e=""]=c.split(" ");if(!a)continue;let f=d.trim()||null,g=null;if(f){let a=e.match(/ahead (\d+)/),b=e.match(/behind (\d+)/);a||b?g={ahead:a?parseInt(a[1],10):0,behind:b?parseInt(b[1],10):0}:/gone/.test(e)||(g={ahead:0,behind:0})}b.set(a,{upstream:f,aheadBehind:g})}return b}(l??""),p=[];if(c)for(let{name:a,isCurrent:b}of function(a){let b=[];if(!a)return b;for(let c of a.split("\n")){let a=c.trimEnd();if(!a.trim())continue;let d=a.startsWith("* "),e=a.replace(/^[*+]?\s+/,"").trim();!e||e.startsWith("(")||b.push({name:e,isCurrent:d})}return b}(f??"")){let c=o.get(a);p.push({name:a,isCurrent:b,isRemote:!1,isDefault:null!==m&&m===`origin/${a}`,upstream:c?.upstream??null,aheadBehind:c?.aheadBehind??null,checkedOutWorktreePath:n.get(a)??null})}if(d)for(let a of function(a){let b=[];if(!a)return b;for(let c of a.split("\n")){let a=c.trim();a&&(a.includes("->")||b.push(a))}return b}(g??""))p.push({name:a,isCurrent:!1,isRemote:!0,isDefault:null!==m&&m===a,upstream:null,aheadBehind:null,checkedOutWorktreePath:null});return p}async function j(a,b){let c=await (0,e.Bc)(["worktree","list","--porcelain"],a);if(null===c)return null;let d=h(c).get(b);return d&&d!==a?d:null}function k(a){if(a instanceof g.y0||a instanceof g.wo||a instanceof g.rI)throw a;let b=a instanceof Error?a.message:String(a),c=a?.stderr??"",d=`${c} ${b}`;if(/did not match|not a valid ref|not found|unknown revision|invalid reference|couldn't find remote ref/i.test(d))throw new g.ur("Branch not found");throw a}async function l(a,b){let{branch:c,createIfMissing:f=!1,from:h,force:i=!1}=b,l=await j(a,c);if(l)throw new g.oK("Branch is checked out in another worktree",l);if(!i){let b=await (0,e.Bc)(["status","--porcelain"],a);if(null===b)throw new g.y0("Could not verify working tree state");if(b.length>0)throw new g.d_("Working tree has uncommitted changes")}await (0,e.dX)(a,async()=>{let b;f?(b=["switch","-c",c],h&&b.push(h),b.push("--")):b=c.startsWith("origin/")?["switch","-c",c.slice(7),"--track",c,"--"]:i?["checkout","-f",c,"--"]:["switch",c,"--"];try{await (0,e.rS)(b,a,d.Ev)}catch(a){k(a)}})}async function m(a,b){let{name:c,from:f}=b;await (0,e.dX)(a,async()=>{let b=["branch",c];f&&b.push(f),b.push("--");try{await (0,e.rS)(b,a,d.Ev)}catch(a){k(a)}})}async function n(a,b){let{name:c,force:h=!1}=b,i=await (0,e.Bc)(["rev-parse","--abbrev-ref","HEAD"],a);if(null!==i&&i.trim()===c)throw new g.MC("Cannot delete the current branch");let j=await (0,f.tR)(a);if(null!==j&&j===c)throw new g.qb("Cannot delete the default branch");await (0,e.dX)(a,async()=>{try{await (0,e.rS)(["branch",h?"-D":"-d",c,"--"],a,d.Ev)}catch(d){let a=d instanceof Error?d.message:String(d),b=d?.stderr??"",c=`${b} ${a}`;if(/not fully merged/i.test(c))throw new g.A6("Branch is not fully merged");k(d)}})}},40371:a=>{a.exports=require("vm")},44440:(a,b,c)=>{c.d(b,{an:()=>l,pM:()=>m,pg:()=>h});var d=c(75359);let e={BYTES_LIMIT:"SKILL_YAML_BYTES_LIMIT",DEPTH_LIMIT:"SKILL_YAML_DEPTH_LIMIT",NODE_LIMIT:"SKILL_YAML_NODE_LIMIT",SCALAR_LIMIT:"SKILL_YAML_SCALAR_LIMIT",ALIAS_FORBIDDEN:"SKILL_YAML_ALIAS_FORBIDDEN",MERGE_KEY_FORBIDDEN:"SKILL_YAML_MERGE_KEY_FORBIDDEN",TAG_FORBIDDEN:"SKILL_YAML_TAG_FORBIDDEN",DUPLICATE_KEY:"SKILL_YAML_DUPLICATE_KEY",FORBIDDEN_KEY:"SKILL_YAML_FORBIDDEN_KEY",MULTIPLE_DOCUMENTS:"SKILL_YAML_MULTIPLE_DOCUMENTS",ENCODING:"SKILL_YAML_ENCODING",UNSUPPORTED:"SKILL_YAML_UNSUPPORTED",SYNTAX:"SKILL_YAML_SYNTAX"},f={[e.BYTES_LIMIT]:"YAML document exceeds the size limit",[e.DEPTH_LIMIT]:"YAML document is nested too deeply",[e.NODE_LIMIT]:"YAML document has too many nodes",[e.SCALAR_LIMIT]:"YAML scalar exceeds the length limit",[e.ALIAS_FORBIDDEN]:"YAML anchors and aliases are not accepted",[e.MERGE_KEY_FORBIDDEN]:"YAML merge keys are not accepted",[e.TAG_FORBIDDEN]:"YAML tags are not accepted",[e.DUPLICATE_KEY]:"YAML mapping declares the same key twice",[e.FORBIDDEN_KEY]:"YAML mapping uses a forbidden key",[e.MULTIPLE_DOCUMENTS]:"YAML stream carries more than one document",[e.ENCODING]:"YAML document is not valid UTF-8 text",[e.UNSUPPORTED]:"YAML document uses an unsupported construct",[e.SYNTAX]:"YAML document could not be parsed"};class g extends Error{constructor(a,b){super(f[a]),this.name="SkillYamlError",this.code=a,void 0!==b&&(this.line=b)}}function h(a){return a instanceof g}let i=/^(?:"(?:[^"\\]|\\.)*"|'(?:[^']|'')*'|[A-Za-z_][A-Za-z0-9_.-]*)[ \t]*:(?:[ \t]|$)/;function j(a){let b=null;for(let c=0;c<a.length;c++){let d=a[c];if('"'===b)"\\"===d?c++:'"'===d&&(b=null);else if("'"===b)"'"===d&&(b=null);else if('"'===d||"'"===d)b=d;else if("#"===d&&(0===c||" "===a[c-1]||" "===a[c-1]))return a.slice(0,c)}return a}class k{constructor(a,b){this.cursor=0,this.nodes=0,this.documentEnded=!1,this.documentStarted=!1,this.lines=a,this.profile=b}parseDocument(){let a=this.peek();if(!a)return null;if(0!==a.indent)throw new g(e.SYNTAX,a.number);let b=this.parseNode(0,1);this.skipToSignificant();let c=this.peek();if(c)throw new g(e.SYNTAX,c.number);return b}skipToSignificant(){for(;this.cursor<this.lines.length;){let a=this.lines[this.cursor];if(!a.significant){this.cursor++;continue}let b=a.content.trim();if("..."===b){this.documentEnded=!0,this.cursor++;continue}if("---"===b){if(this.documentStarted)throw new g(e.MULTIPLE_DOCUMENTS,a.number);this.documentStarted=!0,this.cursor++;continue}if(this.documentEnded)throw new g(e.MULTIPLE_DOCUMENTS,a.number);this.documentStarted=!0;return}}peek(){return this.skipToSignificant(),this.cursor<this.lines.length?this.lines[this.cursor]:null}countNode(a){if(this.nodes++,this.nodes>this.profile.maxNodes)throw new g(e.NODE_LIMIT,a.number)}checkDepth(a,b){if(a>this.profile.maxDepth)throw new g(e.DEPTH_LIMIT,b.number)}parseNode(a,b){let c=this.peek();return c?(this.checkDepth(b,c),this.isSequenceEntry(c.content)?this.parseSequence(a,b):this.parseMapping(a,b)):null}isSequenceEntry(a){return"-"===a||a.startsWith("- ")}parseMapping(a,b){let c=Object.create(null),d=new Set;for(;;){let f=this.peek();if(!f||f.indent<a)break;if(f.indent>a||this.isSequenceEntry(f.content))throw new g(e.SYNTAX,f.number);this.countNode(f);let h=this.readKey(f);if(d.has(h)&&!this.profile.allowDuplicateKeys)throw new g(e.DUPLICATE_KEY,f.number);d.add(h);let i=f.content.indexOf(":",this.keyTokenLength(f.content)),k=j(f.content.slice(i+1)).trim();this.cursor++,c[h]=this.parseValue(k,a,b,f)}return c}parseSequence(a,b){let c=[];for(;;){let d=this.peek();if(!d||d.indent<a)break;if(d.indent>a)throw new g(e.SYNTAX,d.number);if(!this.isSequenceEntry(d.content))break;this.countNode(d);let f="-"===d.content?"":d.content.slice(2),h=d.content.length-f.length,k=j(f).trim();if(""===k){this.cursor++,c.push(this.parseIndentedValue(a,b+1,d));continue}if(this.isSequenceEntry(k))throw new g(e.UNSUPPORTED,d.number);if(i.test(f.trimStart())){let e=a+h+(f.length-f.trimStart().length);d.indent=e,d.content=f.trimStart(),this.checkDepth(b+1,d),c.push(this.parseMapping(e,b+1));continue}this.cursor++,this.countNode(d),c.push(this.parseScalar(k,d))}return c}keyTokenLength(a){if(a.startsWith('"')||a.startsWith("'")){let b=a[0];for(let c=1;c<a.length;c++){if('"'===b&&"\\"===a[c]){c++;continue}if(a[c]===b)return c+1}}return 0}readKey(a){let b=a.content;if(b.startsWith("<<"))throw new g(e.MERGE_KEY_FORBIDDEN,a.number);if(b.startsWith("&")||b.startsWith("*"))throw new g(e.ALIAS_FORBIDDEN,a.number);if(b.startsWith("!"))throw new g(e.TAG_FORBIDDEN,a.number);if(b.startsWith("?")||b.startsWith("[")||b.startsWith("{"))throw new g(e.UNSUPPORTED,a.number);if(!i.test(b))throw new g(e.SYNTAX,a.number);let c=this.keyTokenLength(b),d=b.indexOf(":",c),f=b.slice(0,d).trim(),h=f.startsWith('"')||f.startsWith("'")?this.parseQuoted(f,a):f;if(h.length>this.profile.maxScalarLength)throw new g(e.SCALAR_LIMIT,a.number);if(this.profile.forbiddenKeys.includes(h))throw new g(e.FORBIDDEN_KEY,a.number);return h}parseValue(a,b,c,d){if(""===a){let a=this.peek();return a&&a.indent===b&&this.isSequenceEntry(a.content)?(this.checkDepth(c+1,a),this.parseSequence(b,c+1)):this.parseIndentedValue(b,c+1,d)}return"|"===a[0]||">"===a[0]?this.parseBlockScalar(a,b,d):(this.countNode(d),this.parseScalar(a,d))}parseIndentedValue(a,b,c){let d=this.peek();return!d||d.indent<=a?(this.countNode(c),null):(this.checkDepth(b,d),this.parseNode(d.indent,b))}parseScalar(a,b){if(a.startsWith("&")||a.startsWith("*"))throw new g(e.ALIAS_FORBIDDEN,b.number);if(a.startsWith("!"))throw new g(e.TAG_FORBIDDEN,b.number);if("[]"===a)return this.countNode(b),[];if("{}"===a)return this.countNode(b),Object.create(null);if(a.startsWith("[")||a.startsWith("{")||a.startsWith("%")||a.startsWith("`"))throw new g(e.UNSUPPORTED,b.number);if(a.startsWith('"')||a.startsWith("'")){let c=this.parseQuoted(a,b);return this.checkScalarLength(c,b),c}return this.checkScalarLength(a,b),this.resolvePlain(a)}checkScalarLength(a,b){if(a.length>this.profile.maxScalarLength)throw new g(e.SCALAR_LIMIT,b.number)}resolvePlain(a){if("~"===a||"null"===a||"Null"===a||"NULL"===a)return null;if("true"===a||"True"===a||"TRUE"===a)return!0;if("false"===a||"False"===a||"FALSE"===a)return!1;if(/^-?(?:0|[1-9][0-9]*)$/.test(a)){let b=Number(a);return Number.isSafeInteger(b)?b:a}return/^-?(?:0|[1-9][0-9]*)\.[0-9]+$/.test(a)?Number(a):a}parseQuoted(a,b){let c=a[0];if(a.length<2||!a.endsWith(c))throw new g(e.SYNTAX,b.number);let d=a.slice(1,-1);if("'"===c){let a="";for(let c=0;c<d.length;c++){if("'"===d[c]){if("'"!==d[c+1])throw new g(e.SYNTAX,b.number);c++}a+=d[c]}return a}let f="";for(let a=0;a<d.length;a++){let c=d[a];if("\\"!==c){if('"'===c)throw new g(e.SYNTAX,b.number);f+=c;continue}let h=d[++a];switch(h){case'"':case"\\":case"/":f+=h;break;case"n":f+="\n";break;case"t":f+=" ";break;case"r":f+="\r";break;case"u":{let c=d.slice(a+1,a+5);if(!/^[0-9a-fA-F]{4}$/.test(c))throw new g(e.SYNTAX,b.number);f+=String.fromCharCode(parseInt(c,16)),a+=4;break}default:throw new g(e.UNSUPPORTED,b.number)}}return f}parseBlockScalar(a,b,c){let d,f=/^([|>])([-+]?)$/.exec(a.trim());if(!f)throw new g(e.UNSUPPORTED,c.number);let[,h,i]=f,j=[],k=-1;for(;this.cursor<this.lines.length;){let a=this.lines[this.cursor],c=""===a.raw.trim();if(!c&&a.indent<=b)break;c||-1!==k||(k=a.indent),j.push(c?"":a.raw.slice(k)),this.cursor++}for(;j.length>0&&""===j[j.length-1];)j.pop();return this.countNode(c),d="|"===h?j.join("\n"):j.reduce((a,b,c)=>{if(0===c)return b;let d=j[c-1];return""===b||""===d?`${a}
19
+ ${b}`:`${a} ${b}`},""),"-"!==i&&j.length>0&&(d+="\n"),this.checkScalarLength(d,c),d}}function l(a,b=d.WL){if(b.allowAliases||b.allowCustomTags)throw new g(e.UNSUPPORTED);return new k(function(a){if(a.includes("\uFEFF"))throw new g(e.ENCODING);let b=a.replace(/\r\n/g,"\n");if(b.includes("\r"))throw new g(e.ENCODING);let c=[],d=b.split("\n");for(let a=0;a<d.length;a++){let b=d[a],f=a+1;for(let a=0;a<b.length;a++){let c=b.charCodeAt(a);if(c<32&&9!==c||127===c)throw new g(e.ENCODING,f)}let h=0;for(;h<b.length&&" "===b[h];)h++;if(" "===b[h])throw new g(e.SYNTAX,f);let i=b.slice(h);c.push({number:f,raw:b,indent:h,content:i,significant:i.length>0&&!i.startsWith("#")})}return c}(function(a,b){if(("string"==typeof a?Buffer.byteLength(a,"utf8"):a.byteLength)>b)throw new g(e.BYTES_LIMIT);if("string"==typeof a)return a;try{return new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!1}).decode(a)}catch{throw new g(e.ENCODING)}}(a,b.maxBytes)),b).parseDocument()}function m(a,b=d.WL){let c=a.replace(/\r\n/g,"\n");if(!c.startsWith("---\n"))return null;let e=c.indexOf("\n---",3);return -1===e?null:l(c.slice(4,e+1),b)}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50474:(a,b,c)=>{c.d(b,{y_:()=>d});function d(a){var b=a.noDecision;switch(b.kind){case"proceeds":return{safe:!0,blocksForMs:0,summary:"the agent continues with its own approval flow"};case"blocks":return{safe:!1,blocksForMs:null,summary:"the agent waits indefinitely; nothing else will unblock it"};case"blocksUntil":return{safe:!1,blocksForMs:b.timeoutMs,summary:`the agent waits up to ${b.timeoutMs}ms before continuing`}}}},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},59082:(a,b,c)=>{c.d(b,{C4:()=>l,FW:()=>j,Iz:()=>k,Z3:()=>m});var d=c(65417),e=c(72626),f=c(46065),g=c(2412),h=c(63271);let i=(0,e.h)("git-remote");async function j(a,b){let{remote:c="origin",prune:e}=b,g=["fetch"];e&&g.push("--prune"),g.push(c,"--"),await (0,f.sl)(g,a,d.dw)}async function k(a,b,c){await (0,f.rS)(["remote","add",b,c],a,5e3)}async function l(a,b){let{remote:c="origin",branch:e,rebase:g,ffOnly:h}=b;return(0,f.dX)(a,async()=>{let b=["pull"];return g&&b.push("--rebase"),h&&b.push("--ff-only"),b.push(c),e&&b.push(e),b.push("--"),(0,f.mY)(b,a,d.A$,!0)})}async function m(a,b){let{remote:c="origin",branch:e,force:j,forceWithLease:k,setUpstream:l}=b;if(j||k){let b=await (0,g.tR)(a);if(null!==b&&b===e)throw new h.rm;i.warn("git:danger:force-push",{operation:"push",worktreePath:a,branch:e,forceWithLease:!0===k,timestamp:new Date().toISOString()})}await (0,f.dX)(a,async()=>{let b=["push"];k?b.push("--force-with-lease"):j&&b.push("--force"),l&&b.push("-u"),b.push(c,`${e}:refs/heads/${e}`,"--"),await (0,f.sl)(b,a,d.fL)})}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73495:(a,b,c)=>{c.d(b,{Me:()=>h});let d="don['’]t",e=["deny",/^No(?:,|$)/],f={claude:[["allow-once",/^Yes$/],["allow-persistent",/^Yes, and always allow\b/],["mode-change",/^Yes, allow all edits\b/],["mode-change",/^Yes, and switch to\b/],e],codex:[["allow-once",/^Yes$/],["allow-once",/^Yes, proceed\b/],["allow-once",/^Allow(?:\s{2,}|$)/],["allow-persistent",RegExp(`^Yes, and ${d} ask again\\b`)],["allow-persistent",/^Always allow\b/],["mode-change",/^Ask for approval\b/],["mode-change",/^Approve for me\b/],["mode-change",/^Full Access\b/],["deny",/^Cancel\b/],e],antigravity:[["allow-once",/^Yes$/],["allow-once",/^Yes, run command$/],["allow-once",/^Yes, allow creation$/],["allow-persistent",/^Yes, and always allow\b/],e],"command-code":[["allow-once",/^Yes$/],["allow-persistent",RegExp(`^Yes, ${d} ask again\\b`)],["mode-change",/^Yes, allow all edits\b/],e],copilot:[["allow-once",/^Yes$/],["allow-persistent",RegExp(`^Yes, and ${d} ask again\\b`)],["mode-change",/^Manual\b/],["mode-change",/^Allow all\b/],e]},g=Object.values(f).flat();function h(a,b){let c=void 0===b?g:f[b]??null;if(null===c)return{kind:"not-a-permission-dialog"};let d=a.map(a=>(function(a,b){let c=b.trim();for(let[b,d]of a)if(d.test(c))return b;return"unknown"})(c,a.label));if(!d.some(a=>"allow-once"===a||"allow-persistent"===a||"mode-change"===a))return{kind:"not-a-permission-dialog"};let e=a.filter((a,b)=>"allow-once"===d[b]);return 1===e.length?{kind:"allow-once",option:e[0]}:{kind:"unidentified",allowOnceCount:e.length}}Object.keys(f)},74075:a=>{a.exports=require("zlib")},74505:(a,b,c)=>{c.d(b,{jE:()=>B,aJ:()=>w,su:()=>E,kI:()=>u,Ni:()=>D}),c(15194);var d=c(96210);let e={discovery:"skills.compatibility.axis.discovery",invocation:"skills.compatibility.axis.invocation"},f={verified:"skills.compatibility.axisOutcome.verified",unsupported:"skills.compatibility.axisOutcome.unsupported",unknown:"skills.compatibility.axisOutcome.unknown"},g={mechanical:"skills.compatibility.evidenceKind.mechanical",self_report:"skills.compatibility.evidenceKind.selfReport",not_measured:"skills.compatibility.evidenceKind.notMeasured"},h={outcome:"unknown",evidenceKind:"not_measured",labelKey:f.unknown,evidenceKindKey:g.not_measured,limitationKey:null},i={SESSION_RESTART:"skills.compatibility.reload.sessionRestart",SESSION_RESTART_NO_SLASH:"skills.compatibility.reload.sessionRestartNoSlash",PICKED_UP_LIVE:"skills.compatibility.reload.pickedUpLive",UNKNOWN:"skills.compatibility.reload.unknown"},j={NO_SLASH_COMMAND:"skills.compatibility.limitation.noSlashCommand"},k="https://github.com/Kewton/CommandMate/issues/1513#issuecomment-5083878264",l="2026-07-26",m="2026-09-05";function n(a){return{agent:a,discoveryRoots:[],discovery:h,invocation:h,testedVersion:null,testedDate:null,evidenceSource:null,reloadKey:i.UNKNOWN,skipReasonKey:"skills.compatibility.skipReason.notMeasured"}}let o=[{agent:"claude",discoveryRoots:[d.td],discovery:{outcome:"verified",evidenceKind:"mechanical",labelKey:f.verified,evidenceKindKey:g.mechanical,limitationKey:null},invocation:{outcome:"verified",evidenceKind:"mechanical",labelKey:f.verified,evidenceKindKey:g.mechanical,limitationKey:null},testedVersion:"2.1.220",testedDate:l,evidenceSource:k,reloadKey:i.SESSION_RESTART,skipReasonKey:null},{agent:"codex",discoveryRoots:[d.Co],discovery:{outcome:"verified",evidenceKind:"self_report",labelKey:f.verified,evidenceKindKey:g.self_report,limitationKey:null},invocation:{outcome:"unsupported",evidenceKind:"mechanical",labelKey:f.unsupported,evidenceKindKey:g.mechanical,limitationKey:j.NO_SLASH_COMMAND},testedVersion:"0.145.0",testedDate:l,evidenceSource:k,reloadKey:i.SESSION_RESTART_NO_SLASH,skipReasonKey:null},n("gemini"),n("vibe-local"),{agent:"opencode",discoveryRoots:[d.Co,d.td],discovery:{outcome:"verified",evidenceKind:"mechanical",labelKey:f.verified,evidenceKindKey:g.mechanical,limitationKey:null},invocation:{outcome:"verified",evidenceKind:"mechanical",labelKey:f.verified,evidenceKindKey:g.mechanical,limitationKey:j.NO_SLASH_COMMAND},testedVersion:"1.18.22",testedDate:"2026-08-25",evidenceSource:"https://github.com/Kewton/CommandMate/blob/main/docs/design/opencode-server-live-verification.md#11-issue-2036--2037-opencode-11822-2026-08-25",reloadKey:i.SESSION_RESTART,skipReasonKey:null},{agent:"copilot",discoveryRoots:[d.Co,d.td],discovery:{outcome:"verified",evidenceKind:"mechanical",labelKey:f.verified,evidenceKindKey:g.mechanical,limitationKey:null},invocation:{outcome:"verified",evidenceKind:"mechanical",labelKey:f.verified,evidenceKindKey:g.mechanical,limitationKey:null},testedVersion:"1.0.83",testedDate:m,evidenceSource:"https://github.com/Kewton/CommandMate/blob/main/docs/reference/skill-agent-compatibility.md#9-gemini--copilot-probe-log-issue-2302",reloadKey:i.UNKNOWN,skipReasonKey:null},n("antigravity"),{agent:"command-code",discoveryRoots:[d.Co],discovery:{outcome:"verified",evidenceKind:"mechanical",labelKey:f.verified,evidenceKindKey:g.mechanical,limitationKey:null},invocation:{outcome:"verified",evidenceKind:"mechanical",labelKey:f.verified,evidenceKindKey:g.mechanical,limitationKey:null},testedVersion:"1.49.0",testedDate:m,evidenceSource:"https://github.com/Kewton/CommandMate/blob/main/docs/reference/skill-agent-compatibility.md#8-command-code-probe-log-issue-2302",reloadKey:i.SESSION_RESTART,skipReasonKey:null},{agent:"opencode-v2",discoveryRoots:[d.Co,d.td],discovery:{outcome:"verified",evidenceKind:"mechanical",labelKey:f.verified,evidenceKindKey:g.mechanical,limitationKey:null},invocation:{outcome:"verified",evidenceKind:"mechanical",labelKey:f.verified,evidenceKindKey:g.mechanical,limitationKey:j.NO_SLASH_COMMAND},testedVersion:"2.0.18",testedDate:"2026-09-29",evidenceSource:"https://github.com/Kewton/CommandMate/blob/main/docs/reference/skill-agent-compatibility.md#10-opencode-v2-probe-log-issue-2975",reloadKey:i.PICKED_UP_LIVE,skipReasonKey:null}],p=/^\d{4}-\d{2}-\d{2}$/;function q(a,b){if(null===a.testedDate||!p.test(a.testedDate))return null;let c=Date.parse(`${a.testedDate}T00:00:00Z`),d=b.getTime();return Number.isNaN(c)||Number.isNaN(d)?null:Math.max(0,Math.floor((d-c)/864e5))}var r=c(36931);let s={SATISFIED:"SKILL_COMPAT_SATISFIED",HOST_VERSION_OUT_OF_RANGE:"SKILL_COMPAT_HOST_VERSION_OUT_OF_RANGE",HOST_VERSION_UNKNOWN:"SKILL_COMPAT_HOST_VERSION_UNKNOWN",RANGE_UNSUPPORTED:"SKILL_COMPAT_RANGE_UNSUPPORTED"},t={[s.SATISFIED]:"skills.compatibility.reason.satisfied",[s.HOST_VERSION_OUT_OF_RANGE]:"skills.compatibility.reason.hostVersionOutOfRange",[s.HOST_VERSION_UNKNOWN]:"skills.compatibility.reason.hostVersionUnknown",[s.RANGE_UNSUPPORTED]:"skills.compatibility.reason.rangeUnsupported"};function u(a){if("string"!=typeof a)return null;let b=a.trim();return 0===b.length||"0.0.0"===b||null===(0,r.IX)(b)?null:b}function v(a,b,c,d){return{status:a,reasonCode:b,messageKey:t[b],message:function(a,b,c){switch(a){case s.SATISFIED:return`CommandMate ${c} satisfies the required range "${b}".`;case s.HOST_VERSION_OUT_OF_RANGE:return`This Skill requires CommandMate "${b}", but CommandMate ${c} is running.`;case s.HOST_VERSION_UNKNOWN:return`The running CommandMate version could not be determined, so compatibility with "${b}" is unverified.`;case s.RANGE_UNSUPPORTED:return`This Skill declares the unsupported CommandMate version range "${b}", so compatibility is unverified.`}}(b,c,d),requiredRange:c,currentVersion:d}}function w(a,b){var c=a.compatibility.commandmate;let d="string"==typeof c?c:"";return(0,r.LE)(d)?null===b?v("unknown",s.HOST_VERSION_UNKNOWN,d,null):(0,r.Qk)(b,d)?v("compatible",s.SATISFIED,d,b):v("incompatible",s.HOST_VERSION_OUT_OF_RANGE,d,b):v("unknown",s.RANGE_UNSUPPORTED,d,b??null)}let x={CONFIRMED:"SKILL_AGENT_EVIDENCE_CONFIRMED",RESTRICTED:"SKILL_AGENT_EVIDENCE_RESTRICTED",STALE_DECLARATION:"SKILL_AGENT_EVIDENCE_STALE_DECLARATION",UNVERIFIED:"SKILL_AGENT_EVIDENCE_UNVERIFIED"},y={[x.CONFIRMED]:"skills.compatibility.verification.confirmed",[x.RESTRICTED]:"skills.compatibility.verification.restricted",[x.STALE_DECLARATION]:"skills.compatibility.verification.staleDeclaration",[x.UNVERIFIED]:"skills.compatibility.verification.unverified"},z={unsupported:0,unknown:1,commandmate_runtime:2,native:3};function A(a,b){return{axis:a,axisKey:e[a],outcome:b.outcome,outcomeKey:b.labelKey,evidenceKind:b.evidenceKind,evidenceKindKey:b.evidenceKindKey,limitationKey:b.limitationKey}}function B(a,b=new Date){return a.map(a=>(function(a,b){var c;let e=(c=a.agent,o.find(a=>a.agent===c)??null),f={agent:a.agent,evidence:a.evidence,declaredSupport:a.support,declaredLabelKey:d.Wy[a.support]};if(null===e||"not_measured"===e.discovery.evidenceKind)return{...f,support:a.support,labelKey:d.Wy[a.support],verification:x.UNVERIFIED,verificationKey:y[x.UNVERIFIED],measured:null,skipReasonKey:e?.skipReasonKey??null,reloadKey:e?.reloadKey??i.UNKNOWN};let{support:g,verification:h}=function(a,b){let c=z[a],d=z[b];return d<c?{support:b,verification:x.RESTRICTED}:d>c?{support:a,verification:x.STALE_DECLARATION}:{support:a,verification:x.CONFIRMED}}(a.support,function(a){switch(a.discovery.outcome){case"verified":return"native";case"unsupported":return"unsupported";case"unknown":return"unknown"}}(e));return{...f,support:g,labelKey:d.Wy[g],verification:h,verificationKey:y[h],measured:{discovery:A("discovery",e.discovery),invocation:A("invocation",e.invocation),discoveryRoots:[...e.discoveryRoots],testedVersion:e.testedVersion,testedDate:e.testedDate,evidenceSource:e.evidenceSource,ageDays:q(e,b),stale:function(a,b,c=180){let d=q(a,b);return null!==d&&d>c}(e,b)},skipReasonKey:null,reloadKey:e.reloadKey}})(a,b))}let C={HIGHEST_COMPATIBLE:"SKILL_RECOMMEND_HIGHEST_COMPATIBLE",LATEST_UNVERIFIED:"SKILL_RECOMMEND_LATEST_UNVERIFIED",NONE_COMPATIBLE:"SKILL_RECOMMEND_NONE_COMPATIBLE",NO_VERSIONS:"SKILL_RECOMMEND_NO_VERSIONS"};function D(a,b){let{currentVersion:c,includePrerelease:d=!1}=b,e=a.versions.map(a=>({version:a,prerelease:function(a){let b=(0,r.IX)(a);return null!==b&&b.prerelease.length>0}(a.version),compatibility:w(a,c)})).filter(a=>d||!a.prerelease).sort((a,b)=>(0,r.Cg)(b.version.version,a.version.version)??0);if(0===e.length)return{versions:e,recommended:null,reasonCode:C.NO_VERSIONS};let f=e.find(a=>"compatible"===a.compatibility.status);if(f)return{versions:e,recommended:f,reasonCode:C.HIGHEST_COMPATIBLE};if(null===c){let b=e.find(b=>b.version.version===a.latest)??e[0];return{versions:e,recommended:b,reasonCode:C.LATEST_UNVERIFIED}}return{versions:e,recommended:null,reasonCode:C.NONE_COMPATIBLE}}function E(a,b){return a.entries.find(a=>a.id===b)??null}},77598:a=>{a.exports=require("node:crypto")},79428:a=>{a.exports=require("buffer")},79551:a=>{a.exports=require("url")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},81630:a=>{a.exports=require("http")},83530:(a,b,c)=>{c.d(b,{FH:()=>l,fV:()=>k,iK:()=>i,y4:()=>h});var d=c(73753),e=c(28274),f=c(15194);let g="claude",h="instance_tool_conflict";function i(a,b,c={}){let{instanceId:d,requestedCliTool:g}=c;if(!d)return g?{cliToolId:g,instanceId:g,resolvedBy:"explicit"}:j(a,b,void 0);let h=(0,e.BN)(a,b,d);if(h&&(0,f.hR)(h.cliTool)){let a={cliToolId:h.cliTool,instanceId:d,resolvedBy:"roster"};return g&&g!==h.cliTool&&(a.conflict={instanceId:d,rosterCliTool:h.cliTool,requestedCliTool:g}),a}return g?(0,f.hR)(d)&&g!==d?{cliToolId:d,instanceId:d,resolvedBy:"primary",conflict:{instanceId:d,rosterCliTool:d,requestedCliTool:g,primaryAnchor:!0}}:{cliToolId:g,instanceId:d,resolvedBy:"explicit"}:(0,f.hR)(d)?{cliToolId:d,instanceId:d,resolvedBy:"primary"}:j(a,b,d)}function j(a,b,c){let e=(0,d.getWorktreeById)(a,b),h=e?.cliToolId;return h&&(0,f.hR)(h)?{cliToolId:h,instanceId:c??h,resolvedBy:"worktree-default"}:{cliToolId:g,instanceId:c??g,resolvedBy:"fallback"}}function k(a,b,c={}){let d=i(a,b,c);return d.conflict?{ok:!1,error:h,conflict:d.conflict}:{ok:!0,target:d}}function l(a){return a.primaryAnchor?`Agent instance '${a.instanceId}' is the primary instance of ${a.rosterCliTool}, but ${a.requestedCliTool} was requested. Omit the agent, pass ${a.rosterCliTool}, or target a ${a.requestedCliTool} instance instead.`:`Agent instance '${a.instanceId}' is registered as ${a.rosterCliTool}, but ${a.requestedCliTool} was requested. Omit the agent, pass ${a.rosterCliTool}, or update the instance's roster entry.`}},83997:a=>{a.exports=require("tty")},84297:a=>{a.exports=require("async_hooks")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")},92328:(a,b,c)=>{c.d(b,{Ai:()=>i,En:()=>j,Jv:()=>f,Qs:()=>h,rt:()=>k});var d=c(10641),e=c(74505);function f(a){return{schemaVersion:a.catalog.schema_version,fetchedAt:a.fetchedAt,revalidatedAt:a.revalidatedAt,stale:a.stale,offline:a.offline,state:a.state,staleReason:a.staleReason,source:{...a.source}}}function g(a){let{version:b,prerelease:c,compatibility:d}=a;return{version:b.version,changelog:b.changelog,publishedAt:b.published_at,declaredRisk:b.declared_risk,prerelease:c,source:{repository:b.source.repository,ref:b.source.ref,commit:b.source.commit},artifact:{assetName:b.artifact.asset_name,sha256:b.artifact.sha256,size:b.artifact.size,format:b.artifact.format},compatibility:{commandmate:d,agents:(0,e.jE)(b.compatibility.agents)}}}function h(a,b){let c=(0,e.Ni)(a,{currentVersion:b.currentVersion,includePrerelease:b.includePrerelease}),d=a.versions.find(b=>b.version===a.latest),f=c.recommended?.compatibility??c.versions[0]?.compatibility??(d?(0,e.aJ)(d,b.currentVersion):null);return{id:a.id,name:a.name,summary:a.summary,provider:{...a.provider},license:a.license,homepage:a.homepage??null,keywords:a.keywords?[...a.keywords]:[],latest:a.latest,recommendedVersion:c.recommended?.version.version??null,recommendedReason:c.reasonCode,compatibility:f,versions:c.versions.map(g)}}let i={"Cache-Control":"no-store, no-cache, must-revalidate",Pragma:"no-cache"};function j(a,b,c){return d.NextResponse.json({error:b,code:a},{status:c,headers:i})}function k(a){return"true"===a.searchParams.get("prerelease")}},94735:a=>{a.exports=require("events")},95736:(a,b,c)=>{a.exports=c(44870)}};var b=require("../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[3897,641,3722,696,4390,9627,8807,406,6065,741,8143,1184,9169,6009,2897,1957,8791,3294,3505,252,9390,8800,7662,7905,255,9731,1990,5456,2710],()=>b(b.s=826));module.exports=c})();