commandmate 0.33.1 → 0.33.2

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 (291) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +290 -290
  3. package/.next/app-path-routes-manifest.json +29 -29
  4. package/.next/build-manifest.json +5 -5
  5. package/.next/diagnostics/framework.json +1 -1
  6. package/.next/next-server.js.nft.json +1 -1
  7. package/.next/prerender-manifest.json +3 -3
  8. package/.next/required-server-files.json +1 -2
  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/update/route_client-reference-manifest.js +1 -1
  13. package/.next/server/app/api/app/update-check/route_client-reference-manifest.js +1 -1
  14. package/.next/server/app/api/assistant/conversation/route.js.nft.json +1 -1
  15. package/.next/server/app/api/assistant/conversation/route_client-reference-manifest.js +1 -1
  16. package/.next/server/app/api/assistant/current-output/route.js.nft.json +1 -1
  17. package/.next/server/app/api/assistant/current-output/route_client-reference-manifest.js +1 -1
  18. package/.next/server/app/api/assistant/messages/route.js +1 -1
  19. package/.next/server/app/api/assistant/messages/route.js.nft.json +1 -1
  20. package/.next/server/app/api/assistant/messages/route_client-reference-manifest.js +1 -1
  21. package/.next/server/app/api/assistant/session/route.js +1 -1
  22. package/.next/server/app/api/assistant/session/route.js.nft.json +1 -1
  23. package/.next/server/app/api/assistant/session/route_client-reference-manifest.js +1 -1
  24. package/.next/server/app/api/assistant/start/route.js +32 -1
  25. package/.next/server/app/api/assistant/start/route.js.nft.json +1 -1
  26. package/.next/server/app/api/assistant/start/route_client-reference-manifest.js +1 -1
  27. package/.next/server/app/api/assistant/terminal/route.js +33 -2
  28. package/.next/server/app/api/assistant/terminal/route.js.nft.json +1 -1
  29. package/.next/server/app/api/assistant/terminal/route_client-reference-manifest.js +1 -1
  30. package/.next/server/app/api/assistant/tools/route.js.nft.json +1 -1
  31. package/.next/server/app/api/assistant/tools/route_client-reference-manifest.js +1 -1
  32. package/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
  33. package/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  34. package/.next/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
  35. package/.next/server/app/api/capabilities/route_client-reference-manifest.js +1 -1
  36. package/.next/server/app/api/daily-summary/route_client-reference-manifest.js +1 -1
  37. package/.next/server/app/api/daily-summary/status/route_client-reference-manifest.js +1 -1
  38. package/.next/server/app/api/external-apps/[id]/health/route_client-reference-manifest.js +1 -1
  39. package/.next/server/app/api/external-apps/[id]/route_client-reference-manifest.js +1 -1
  40. package/.next/server/app/api/external-apps/route_client-reference-manifest.js +1 -1
  41. package/.next/server/app/api/fs/browse/route_client-reference-manifest.js +1 -1
  42. package/.next/server/app/api/fs/recent-paths/route_client-reference-manifest.js +1 -1
  43. package/.next/server/app/api/hooks/agent-event/route.js +1 -1
  44. package/.next/server/app/api/hooks/agent-event/route.js.nft.json +1 -1
  45. package/.next/server/app/api/hooks/agent-event/route_client-reference-manifest.js +1 -1
  46. package/.next/server/app/api/hooks/claude-done/route.js +2 -2
  47. package/.next/server/app/api/hooks/claude-done/route.js.nft.json +1 -1
  48. package/.next/server/app/api/hooks/claude-done/route_client-reference-manifest.js +1 -1
  49. package/.next/server/app/api/hooks/permission-request/route.js +1 -1
  50. package/.next/server/app/api/hooks/permission-request/route.js.nft.json +1 -1
  51. package/.next/server/app/api/hooks/permission-request/route_client-reference-manifest.js +1 -1
  52. package/.next/server/app/api/metrics/vibe/route_client-reference-manifest.js +1 -1
  53. package/.next/server/app/api/ollama/models/route_client-reference-manifest.js +1 -1
  54. package/.next/server/app/api/push/escalation/route.js +1 -1
  55. package/.next/server/app/api/push/escalation/route_client-reference-manifest.js +1 -1
  56. package/.next/server/app/api/push/subscriptions/route_client-reference-manifest.js +1 -1
  57. package/.next/server/app/api/push/vapid/route.js +1 -1
  58. package/.next/server/app/api/push/vapid/route_client-reference-manifest.js +1 -1
  59. package/.next/server/app/api/relays/[relayId]/cancel/route.js +1 -1
  60. package/.next/server/app/api/relays/[relayId]/cancel/route.js.nft.json +1 -1
  61. package/.next/server/app/api/relays/[relayId]/cancel/route_client-reference-manifest.js +1 -1
  62. package/.next/server/app/api/relays/route.js +1 -1
  63. package/.next/server/app/api/relays/route.js.nft.json +1 -1
  64. package/.next/server/app/api/relays/route_client-reference-manifest.js +1 -1
  65. package/.next/server/app/api/remote/pair/route_client-reference-manifest.js +1 -1
  66. package/.next/server/app/api/repositories/[id]/route_client-reference-manifest.js +1 -1
  67. package/.next/server/app/api/repositories/[id]/todos/[todoId]/route_client-reference-manifest.js +1 -1
  68. package/.next/server/app/api/repositories/[id]/todos/route_client-reference-manifest.js +1 -1
  69. package/.next/server/app/api/repositories/clone/[jobId]/route.js +1 -1
  70. package/.next/server/app/api/repositories/clone/[jobId]/route.js.nft.json +1 -1
  71. package/.next/server/app/api/repositories/clone/[jobId]/route_client-reference-manifest.js +1 -1
  72. package/.next/server/app/api/repositories/clone/route.js +1 -1
  73. package/.next/server/app/api/repositories/clone/route.js.nft.json +1 -1
  74. package/.next/server/app/api/repositories/clone/route_client-reference-manifest.js +1 -1
  75. package/.next/server/app/api/repositories/excluded/route_client-reference-manifest.js +1 -1
  76. package/.next/server/app/api/repositories/restore/route.js +1 -1
  77. package/.next/server/app/api/repositories/restore/route.js.nft.json +1 -1
  78. package/.next/server/app/api/repositories/restore/route_client-reference-manifest.js +1 -1
  79. package/.next/server/app/api/repositories/route.js +1 -1
  80. package/.next/server/app/api/repositories/route.js.nft.json +1 -1
  81. package/.next/server/app/api/repositories/route_client-reference-manifest.js +1 -1
  82. package/.next/server/app/api/repositories/scan/route.js +1 -1
  83. package/.next/server/app/api/repositories/scan/route.js.nft.json +1 -1
  84. package/.next/server/app/api/repositories/scan/route_client-reference-manifest.js +1 -1
  85. package/.next/server/app/api/repositories/sync/route.js +1 -1
  86. package/.next/server/app/api/repositories/sync/route.js.nft.json +1 -1
  87. package/.next/server/app/api/repositories/sync/route_client-reference-manifest.js +1 -1
  88. package/.next/server/app/api/repositories/validate-path/route_client-reference-manifest.js +1 -1
  89. package/.next/server/app/api/settings/default-agents/route.js.nft.json +1 -1
  90. package/.next/server/app/api/settings/default-agents/route_client-reference-manifest.js +1 -1
  91. package/.next/server/app/api/settings/default-surface-mode/route_client-reference-manifest.js +1 -1
  92. package/.next/server/app/api/sidebar/group-order/route_client-reference-manifest.js +1 -1
  93. package/.next/server/app/api/skills/[id]/route_client-reference-manifest.js +1 -1
  94. package/.next/server/app/api/skills/installations/route_client-reference-manifest.js +1 -1
  95. package/.next/server/app/api/skills/operations/route_client-reference-manifest.js +1 -1
  96. package/.next/server/app/api/skills/reindex/route_client-reference-manifest.js +1 -1
  97. package/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  98. package/.next/server/app/api/slash-commands/route_client-reference-manifest.js +1 -1
  99. package/.next/server/app/api/tasks/[taskId]/cancel/route_client-reference-manifest.js +1 -1
  100. package/.next/server/app/api/tasks/[taskId]/route_client-reference-manifest.js +1 -1
  101. package/.next/server/app/api/templates/[id]/route_client-reference-manifest.js +1 -1
  102. package/.next/server/app/api/templates/route_client-reference-manifest.js +1 -1
  103. package/.next/server/app/api/todos/route_client-reference-manifest.js +1 -1
  104. package/.next/server/app/api/verification/runs/[runId]/route_client-reference-manifest.js +1 -1
  105. package/.next/server/app/api/verification/runs/route_client-reference-manifest.js +1 -1
  106. package/.next/server/app/api/worktrees/[id]/auto-yes/route.js +1 -1
  107. package/.next/server/app/api/worktrees/[id]/auto-yes/route.js.nft.json +1 -1
  108. package/.next/server/app/api/worktrees/[id]/auto-yes/route_client-reference-manifest.js +1 -1
  109. package/.next/server/app/api/worktrees/[id]/capture/route.js.nft.json +1 -1
  110. package/.next/server/app/api/worktrees/[id]/capture/route_client-reference-manifest.js +1 -1
  111. package/.next/server/app/api/worktrees/[id]/clear-composer/route.js +1 -1
  112. package/.next/server/app/api/worktrees/[id]/clear-composer/route.js.nft.json +1 -1
  113. package/.next/server/app/api/worktrees/[id]/clear-composer/route_client-reference-manifest.js +1 -1
  114. package/.next/server/app/api/worktrees/[id]/cli-reference/route_client-reference-manifest.js +1 -1
  115. package/.next/server/app/api/worktrees/[id]/cli-tool/route_client-reference-manifest.js +1 -1
  116. package/.next/server/app/api/worktrees/[id]/cmate/schedules/route_client-reference-manifest.js +1 -1
  117. package/.next/server/app/api/worktrees/[id]/current-output/route.js +1 -1
  118. package/.next/server/app/api/worktrees/[id]/current-output/route.js.nft.json +1 -1
  119. package/.next/server/app/api/worktrees/[id]/current-output/route_client-reference-manifest.js +1 -1
  120. package/.next/server/app/api/worktrees/[id]/env/route_client-reference-manifest.js +1 -1
  121. package/.next/server/app/api/worktrees/[id]/execution-logs/[logId]/route_client-reference-manifest.js +1 -1
  122. package/.next/server/app/api/worktrees/[id]/execution-logs/route_client-reference-manifest.js +1 -1
  123. package/.next/server/app/api/worktrees/[id]/files/[...path]/route_client-reference-manifest.js +1 -1
  124. package/.next/server/app/api/worktrees/[id]/git/branch/create/route_client-reference-manifest.js +1 -1
  125. package/.next/server/app/api/worktrees/[id]/git/branch/delete/route_client-reference-manifest.js +1 -1
  126. package/.next/server/app/api/worktrees/[id]/git/branches/route_client-reference-manifest.js +1 -1
  127. package/.next/server/app/api/worktrees/[id]/git/checkout/route_client-reference-manifest.js +1 -1
  128. package/.next/server/app/api/worktrees/[id]/git/commit/route_client-reference-manifest.js +1 -1
  129. package/.next/server/app/api/worktrees/[id]/git/diff/route_client-reference-manifest.js +1 -1
  130. package/.next/server/app/api/worktrees/[id]/git/fetch/route_client-reference-manifest.js +1 -1
  131. package/.next/server/app/api/worktrees/[id]/git/log/route_client-reference-manifest.js +1 -1
  132. package/.next/server/app/api/worktrees/[id]/git/pull/route_client-reference-manifest.js +1 -1
  133. package/.next/server/app/api/worktrees/[id]/git/push/route_client-reference-manifest.js +1 -1
  134. package/.next/server/app/api/worktrees/[id]/git/reset/route_client-reference-manifest.js +1 -1
  135. package/.next/server/app/api/worktrees/[id]/git/revert/route_client-reference-manifest.js +1 -1
  136. package/.next/server/app/api/worktrees/[id]/git/show/[commitHash]/route_client-reference-manifest.js +1 -1
  137. package/.next/server/app/api/worktrees/[id]/git/stage/route_client-reference-manifest.js +1 -1
  138. package/.next/server/app/api/worktrees/[id]/git/staged/route_client-reference-manifest.js +1 -1
  139. package/.next/server/app/api/worktrees/[id]/git/stash/[index]/route_client-reference-manifest.js +1 -1
  140. package/.next/server/app/api/worktrees/[id]/git/stash/apply/route_client-reference-manifest.js +1 -1
  141. package/.next/server/app/api/worktrees/[id]/git/stash/pop/route_client-reference-manifest.js +1 -1
  142. package/.next/server/app/api/worktrees/[id]/git/stash/push/route_client-reference-manifest.js +1 -1
  143. package/.next/server/app/api/worktrees/[id]/git/stash/route_client-reference-manifest.js +1 -1
  144. package/.next/server/app/api/worktrees/[id]/git/status/route_client-reference-manifest.js +1 -1
  145. package/.next/server/app/api/worktrees/[id]/git/unstage/route_client-reference-manifest.js +1 -1
  146. package/.next/server/app/api/worktrees/[id]/git/working-diff/route_client-reference-manifest.js +1 -1
  147. package/.next/server/app/api/worktrees/[id]/instances/notes/route_client-reference-manifest.js +1 -1
  148. package/.next/server/app/api/worktrees/[id]/instances/opencode/route.js.nft.json +1 -1
  149. package/.next/server/app/api/worktrees/[id]/instances/opencode/route_client-reference-manifest.js +1 -1
  150. package/.next/server/app/api/worktrees/[id]/interrupt/route.js.nft.json +1 -1
  151. package/.next/server/app/api/worktrees/[id]/interrupt/route_client-reference-manifest.js +1 -1
  152. package/.next/server/app/api/worktrees/[id]/kill-session/route.js +1 -1
  153. package/.next/server/app/api/worktrees/[id]/kill-session/route.js.nft.json +1 -1
  154. package/.next/server/app/api/worktrees/[id]/kill-session/route_client-reference-manifest.js +1 -1
  155. package/.next/server/app/api/worktrees/[id]/logs/[filename]/route_client-reference-manifest.js +1 -1
  156. package/.next/server/app/api/worktrees/[id]/logs/route_client-reference-manifest.js +1 -1
  157. package/.next/server/app/api/worktrees/[id]/marp-render/route_client-reference-manifest.js +1 -1
  158. package/.next/server/app/api/worktrees/[id]/memos/[memoId]/route_client-reference-manifest.js +1 -1
  159. package/.next/server/app/api/worktrees/[id]/memos/route_client-reference-manifest.js +1 -1
  160. package/.next/server/app/api/worktrees/[id]/messages/route_client-reference-manifest.js +1 -1
  161. package/.next/server/app/api/worktrees/[id]/opencode/diff/route_client-reference-manifest.js +1 -1
  162. package/.next/server/app/api/worktrees/[id]/opencode/session/route_client-reference-manifest.js +1 -1
  163. package/.next/server/app/api/worktrees/[id]/opencode/share/route_client-reference-manifest.js +1 -1
  164. package/.next/server/app/api/worktrees/[id]/prompt-response/route.js +1 -1
  165. package/.next/server/app/api/worktrees/[id]/prompt-response/route.js.nft.json +1 -1
  166. package/.next/server/app/api/worktrees/[id]/prompt-response/route_client-reference-manifest.js +1 -1
  167. package/.next/server/app/api/worktrees/[id]/resolve-target/route_client-reference-manifest.js +1 -1
  168. package/.next/server/app/api/worktrees/[id]/respond/route.js +1 -1
  169. package/.next/server/app/api/worktrees/[id]/respond/route.js.nft.json +1 -1
  170. package/.next/server/app/api/worktrees/[id]/respond/route_client-reference-manifest.js +1 -1
  171. package/.next/server/app/api/worktrees/[id]/route.js +1 -1
  172. package/.next/server/app/api/worktrees/[id]/route.js.nft.json +1 -1
  173. package/.next/server/app/api/worktrees/[id]/route_client-reference-manifest.js +1 -1
  174. package/.next/server/app/api/worktrees/[id]/schedules/[scheduleId]/route_client-reference-manifest.js +1 -1
  175. package/.next/server/app/api/worktrees/[id]/schedules/active/route_client-reference-manifest.js +1 -1
  176. package/.next/server/app/api/worktrees/[id]/schedules/route_client-reference-manifest.js +1 -1
  177. package/.next/server/app/api/worktrees/[id]/search/route_client-reference-manifest.js +1 -1
  178. package/.next/server/app/api/worktrees/[id]/send/route.js +1 -1
  179. package/.next/server/app/api/worktrees/[id]/send/route.js.nft.json +1 -1
  180. package/.next/server/app/api/worktrees/[id]/send/route_client-reference-manifest.js +1 -1
  181. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route.js.nft.json +1 -1
  182. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route_client-reference-manifest.js +1 -1
  183. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/install/route_client-reference-manifest.js +1 -1
  184. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/plan/route_client-reference-manifest.js +1 -1
  185. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall/route_client-reference-manifest.js +1 -1
  186. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route_client-reference-manifest.js +1 -1
  187. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update/route_client-reference-manifest.js +1 -1
  188. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update-plan/route_client-reference-manifest.js +1 -1
  189. package/.next/server/app/api/worktrees/[id]/skills/route_client-reference-manifest.js +1 -1
  190. package/.next/server/app/api/worktrees/[id]/slash-commands/route_client-reference-manifest.js +1 -1
  191. package/.next/server/app/api/worktrees/[id]/special-keys/route.js +1 -1
  192. package/.next/server/app/api/worktrees/[id]/special-keys/route.js.nft.json +1 -1
  193. package/.next/server/app/api/worktrees/[id]/special-keys/route_client-reference-manifest.js +1 -1
  194. package/.next/server/app/api/worktrees/[id]/tasks/route_client-reference-manifest.js +1 -1
  195. package/.next/server/app/api/worktrees/[id]/terminal/route.js +103 -1
  196. package/.next/server/app/api/worktrees/[id]/terminal/route.js.nft.json +1 -1
  197. package/.next/server/app/api/worktrees/[id]/terminal/route_client-reference-manifest.js +1 -1
  198. package/.next/server/app/api/worktrees/[id]/timers/history/route_client-reference-manifest.js +1 -1
  199. package/.next/server/app/api/worktrees/[id]/timers/route.js +1 -1
  200. package/.next/server/app/api/worktrees/[id]/timers/route.js.nft.json +1 -1
  201. package/.next/server/app/api/worktrees/[id]/timers/route_client-reference-manifest.js +1 -1
  202. package/.next/server/app/api/worktrees/[id]/todos/[todoId]/route_client-reference-manifest.js +1 -1
  203. package/.next/server/app/api/worktrees/[id]/todos/route_client-reference-manifest.js +1 -1
  204. package/.next/server/app/api/worktrees/[id]/tree/[...path]/route_client-reference-manifest.js +1 -1
  205. package/.next/server/app/api/worktrees/[id]/tree/route_client-reference-manifest.js +1 -1
  206. package/.next/server/app/api/worktrees/[id]/upload/[...path]/route_client-reference-manifest.js +1 -1
  207. package/.next/server/app/api/worktrees/[id]/verify/config/route_client-reference-manifest.js +1 -1
  208. package/.next/server/app/api/worktrees/[id]/verify/route.js +1 -1
  209. package/.next/server/app/api/worktrees/[id]/verify/route_client-reference-manifest.js +1 -1
  210. package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route.js +1 -1
  211. package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route_client-reference-manifest.js +1 -1
  212. package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/route_client-reference-manifest.js +1 -1
  213. package/.next/server/app/api/worktrees/[id]/verify/runs/route_client-reference-manifest.js +1 -1
  214. package/.next/server/app/api/worktrees/[id]/viewed/route_client-reference-manifest.js +1 -1
  215. package/.next/server/app/api/worktrees/apply-default-agents/route_client-reference-manifest.js +1 -1
  216. package/.next/server/app/api/worktrees/route.js +1 -1
  217. package/.next/server/app/api/worktrees/route.js.nft.json +1 -1
  218. package/.next/server/app/api/worktrees/route_client-reference-manifest.js +1 -1
  219. package/.next/server/app/chat/page_client-reference-manifest.js +1 -1
  220. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  221. package/.next/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
  222. package/.next/server/app/more/page_client-reference-manifest.js +1 -1
  223. package/.next/server/app/offline/page_client-reference-manifest.js +1 -1
  224. package/.next/server/app/page_client-reference-manifest.js +1 -1
  225. package/.next/server/app/proxy/[...path]/route_client-reference-manifest.js +1 -1
  226. package/.next/server/app/repositories/page_client-reference-manifest.js +1 -1
  227. package/.next/server/app/review/page_client-reference-manifest.js +1 -1
  228. package/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
  229. package/.next/server/app/skills/[skillId]/page_client-reference-manifest.js +1 -1
  230. package/.next/server/app/skills/installed/page_client-reference-manifest.js +1 -1
  231. package/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  232. package/.next/server/app/worktrees/[id]/files/[...path]/page_client-reference-manifest.js +1 -1
  233. package/.next/server/app/worktrees/[id]/page.js +8 -8
  234. package/.next/server/app/worktrees/[id]/page_client-reference-manifest.js +1 -1
  235. package/.next/server/app/worktrees/[id]/terminal/page_client-reference-manifest.js +1 -1
  236. package/.next/server/app-paths-manifest.json +29 -29
  237. package/.next/server/chunks/1068.js +1 -0
  238. package/.next/server/chunks/1210.js +1 -1
  239. package/.next/server/chunks/1331.js +2 -2
  240. package/.next/server/chunks/1366.js +5 -3
  241. package/.next/server/chunks/1886.js +2 -2
  242. package/.next/server/chunks/2839.js +1 -0
  243. package/.next/server/chunks/3241.js +1 -1
  244. package/.next/server/chunks/3323.js +1 -0
  245. package/.next/server/chunks/3707.js +1 -1
  246. package/.next/server/chunks/3708.js +1 -1
  247. package/.next/server/chunks/4443.js +1 -1
  248. package/.next/server/chunks/5220.js +1 -1
  249. package/.next/server/chunks/595.js +2 -2
  250. package/.next/server/chunks/650.js +1 -0
  251. package/.next/server/chunks/6781.js +1 -0
  252. package/.next/server/chunks/6808.js +1 -0
  253. package/.next/server/chunks/6838.js +1 -1
  254. package/.next/server/chunks/7875.js +3 -3
  255. package/.next/server/chunks/8918.js +107 -5
  256. package/.next/server/middleware-build-manifest.js +1 -1
  257. package/.next/server/middleware-manifest.json +5 -5
  258. package/.next/server/pages/500.html +1 -1
  259. package/.next/server/server-reference-manifest.json +1 -1
  260. package/.next/server/src/middleware.js.map +1 -1
  261. package/.next/static/chunks/1255-7e5873f06b25e129.js +1 -0
  262. package/.next/static/chunks/{4718-2bc5cdf06573bf54.js → 4718-441a2af91f0374e9.js} +1 -1
  263. package/.next/static/chunks/app/worktrees/[id]/page-38edcd53e51f53b0.js +1 -0
  264. package/.next/static/chunks/{main-6092074a0dc78280.js → main-ac91ed6e71380841.js} +1 -1
  265. package/.next/trace +13 -14
  266. package/dist/server/src/lib/assistant-response-saver.js +168 -12
  267. package/dist/server/src/lib/hooks/sources/antigravity/history.js +204 -9
  268. package/dist/server/src/lib/hooks/sources/claude/history.js +29 -3
  269. package/dist/server/src/lib/hooks/sources/codex/history.js +29 -3
  270. package/dist/server/src/lib/hooks/sources/command-code/history.js +29 -3
  271. package/dist/server/src/lib/hooks/stop-history-capture.js +30 -4
  272. package/dist/server/src/lib/polling/response-checker.js +258 -9
  273. package/dist/server/src/lib/polling/response-poller-core.js +20 -0
  274. package/dist/server/src/lib/polling/structured-history-gate.js +26 -6
  275. package/dist/server/src/lib/response-cleaner.js +84 -0
  276. package/package.json +2 -2
  277. package/.next/server/chunks/21.js +0 -1
  278. package/.next/server/chunks/3086.js +0 -1
  279. package/.next/server/chunks/3270.js +0 -1
  280. package/.next/server/chunks/3925.js +0 -1
  281. package/.next/server/chunks/5043.js +0 -1
  282. package/.next/server/chunks/6306.js +0 -1
  283. package/.next/server/chunks/6363.js +0 -1
  284. package/.next/server/chunks/6491.js +0 -103
  285. package/.next/server/chunks/7890.js +0 -1
  286. package/.next/server/chunks/8063.js +0 -32
  287. package/.next/server/chunks/8687.js +0 -1
  288. package/.next/static/chunks/1255-8cb587d9170b45ed.js +0 -1
  289. package/.next/static/chunks/app/worktrees/[id]/page-13ca0ba551fe5cfb.js +0 -1
  290. /package/.next/static/{9lgw9hA727UMyFhXryGWG → 0a4qrU8WdUwQrlO4mfLMu}/_buildManifest.js +0 -0
  291. /package/.next/static/{9lgw9hA727UMyFhXryGWG → 0a4qrU8WdUwQrlO4mfLMu}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../data/cm.db","../../../../../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/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/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/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.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/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../scripts/hooks/cmate-agent-event.sh","../../../../../src/lib/relay/relay-delivery.ts","../../../../package.json","../../../chunks/1191.js","../../../chunks/1210.js","../../../chunks/1331.js","../../../chunks/1356.js","../../../chunks/1501.js","../../../chunks/1503.js","../../../chunks/1634.js","../../../chunks/1719.js","../../../chunks/1886.js","../../../chunks/2119.js","../../../chunks/243.js","../../../chunks/2445.js","../../../chunks/3077.js","../../../chunks/3086.js","../../../chunks/3241.js","../../../chunks/3480.js","../../../chunks/3707.js","../../../chunks/3722.js","../../../chunks/3925.js","../../../chunks/406.js","../../../chunks/4299.js","../../../chunks/4390.js","../../../chunks/4443.js","../../../chunks/5043.js","../../../chunks/5164.js","../../../chunks/5220.js","../../../chunks/595.js","../../../chunks/6065.js","../../../chunks/6306.js","../../../chunks/6337.js","../../../chunks/6363.js","../../../chunks/641.js","../../../chunks/6491.js","../../../chunks/6661.js","../../../chunks/6838.js","../../../chunks/7366.js","../../../chunks/7875.js","../../../chunks/7905.js","../../../chunks/8687.js","../../../chunks/8800.js","../../../chunks/8807.js","../../../chunks/8918.js","../../../chunks/9130.js","../../../chunks/9627.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../data/cm.db","../../../../../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/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/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/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.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/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../scripts/hooks/cmate-agent-event.sh","../../../../../src/lib/relay/relay-delivery.ts","../../../../package.json","../../../chunks/1068.js","../../../chunks/1191.js","../../../chunks/1210.js","../../../chunks/1331.js","../../../chunks/1356.js","../../../chunks/1501.js","../../../chunks/1503.js","../../../chunks/1634.js","../../../chunks/1719.js","../../../chunks/1886.js","../../../chunks/2119.js","../../../chunks/243.js","../../../chunks/2445.js","../../../chunks/2839.js","../../../chunks/3077.js","../../../chunks/3241.js","../../../chunks/3323.js","../../../chunks/3480.js","../../../chunks/3707.js","../../../chunks/3722.js","../../../chunks/406.js","../../../chunks/4299.js","../../../chunks/4390.js","../../../chunks/4443.js","../../../chunks/5164.js","../../../chunks/5220.js","../../../chunks/595.js","../../../chunks/6065.js","../../../chunks/6337.js","../../../chunks/641.js","../../../chunks/650.js","../../../chunks/6661.js","../../../chunks/6781.js","../../../chunks/6838.js","../../../chunks/7366.js","../../../chunks/7875.js","../../../chunks/7905.js","../../../chunks/8800.js","../../../chunks/8807.js","../../../chunks/8918.js","../../../chunks/9130.js","../../../chunks/9627.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/repositories/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}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"19941","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"80776","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"31017","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"96908","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"39800","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"27518","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}},"74500":{"*":{"id":"84168","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"36022","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"7821","name":"*","chunks":[],"async":false}},"86537":{"*":{"id":"2354","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"3425","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"22961","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":["4219","static/chunks/app/global-error-7b761b8e181ffc1f.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-2bc5cdf06573bf54.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-2bc5cdf06573bf54.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-2bc5cdf06573bf54.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":25772,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-2bc5cdf06573bf54.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/error.tsx":{"id":50960,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","8039","static/chunks/app/error-27ab04bce6545dae.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-c58ba2c3f4363277.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/chat/page.tsx":{"id":60675,"name":"*","chunks":[],"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":75590,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-827a64760bab8a3a.js","790","static/chunks/790-d8e6acd26e03679c.js","5694","static/chunks/5694-498765336d0b8c2b.js","9948","static/chunks/9948-d139e3e5dbecaf73.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","8019","static/chunks/8019-cbf130d0e6334d2d.js","4718","static/chunks/4718-2bc5cdf06573bf54.js","8361","static/chunks/8361-9bb887203c456edb.js","8974","static/chunks/app/page-022090bf6f932818.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":95775,"name":"*","chunks":[],"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/sessions/page.tsx":{"id":74500,"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/skills/page.tsx":{"id":99898,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":86537,"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":30036,"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/acd46e25427a2080.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/repositories/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}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"5682","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"64182","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"22516","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}},"74500":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"60967","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}},"86537":{"*":{"id":"7874","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"1133","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"12319","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/repositories/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}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"19941","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"80776","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"31017","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"96908","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"39800","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"27518","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}},"74500":{"*":{"id":"84168","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"36022","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"7821","name":"*","chunks":[],"async":false}},"86537":{"*":{"id":"2354","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"3425","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"22961","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":["4219","static/chunks/app/global-error-7b761b8e181ffc1f.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-441a2af91f0374e9.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-441a2af91f0374e9.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-441a2af91f0374e9.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":25772,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-441a2af91f0374e9.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/error.tsx":{"id":50960,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","8039","static/chunks/app/error-27ab04bce6545dae.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-c58ba2c3f4363277.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/chat/page.tsx":{"id":60675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/login/page.tsx":{"id":70462,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":95775,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/page.tsx":{"id":75590,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-827a64760bab8a3a.js","790","static/chunks/790-d8e6acd26e03679c.js","5694","static/chunks/5694-498765336d0b8c2b.js","9948","static/chunks/9948-d139e3e5dbecaf73.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","8019","static/chunks/8019-cbf130d0e6334d2d.js","4718","static/chunks/4718-441a2af91f0374e9.js","8361","static/chunks/8361-9bb887203c456edb.js","8974","static/chunks/app/page-022090bf6f932818.js"],"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/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/sessions/page.tsx":{"id":74500,"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/skills/page.tsx":{"id":99898,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":86537,"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":30036,"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/acd46e25427a2080.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/repositories/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}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"5682","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"64182","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"22516","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}},"74500":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"60967","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}},"86537":{"*":{"id":"7874","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"1133","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"12319","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"74080","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=8710,a.ids=[8710],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},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")},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")},23197:(a,b,c)=>{c.d(b,{$M:()=>e,H1:()=>d,q5:()=>f});let d="__global__",e=2e3,f=900},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")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},39435:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>J,patchFetch:()=>I,routeModule:()=>E,serverHooks:()=>H,workAsyncStorage:()=>F,workUnitAsyncStorage:()=>G});var d={};c.r(d),c.d(d,{POST:()=>D});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(51356),u=c(10641),v=c(33873),w=c.n(v),x=c(88807),y=c(82325),z=c(10406),A=c(44198),B=c(61068);let C=(0,c(72626).h)("api/repositories-scan");async function D(a){try{let{repositoryPath:b}=await a.json();if(!b||"string"!=typeof b)return u.NextResponse.json({error:"Repository path is required"},{status:400});let c=(0,A.Mk)(b);if(!c.ok)return u.NextResponse.json({error:`Invalid or unsafe repository path. Allowed roots: ${(0,A.xh)(c.roots)}`,reason:c.reason,roots:c.roots},{status:400});let d=c.resolvedPath,e=await (0,y.YM)(d);if(0===e.length)return u.NextResponse.json({error:"No worktrees found in the specified path. Make sure it is a valid git repository."},{status:404});let f=(0,x.getDbInstance)(),g=new Set;for(let a of e){let b=a.repositoryPath;!(!b||g.has(b))&&(g.add(b),(0,z.Dp)(f,b)||(0,z.vB)(f,{name:a.repositoryName||w().basename(b),path:b,cloneSource:"local",enabled:!0,visible:!0}))}let{syncResult:h,cleanupWarnings:i}=await (0,B.l7)(f,e);return u.NextResponse.json({success:!0,message:`Successfully scanned and added ${e.length} worktree(s)`,worktreeCount:e.length,repositoryPath:e[0].repositoryPath,repositoryName:e[0].repositoryName,deletedCount:h.deletedIds.length,cleanupWarnings:i},{status:200})}catch(b){C.error("repository:scan-failed",{error:b instanceof Error?b.message:String(b)});let a=b instanceof Error?b.message:"Failed to scan repository";return u.NextResponse.json({error:a},{status:500})}}let E=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/repositories/scan/route",pathname:"/api/repositories/scan",filename:"route",bundlePath:"app/api/repositories/scan/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/repositories/scan/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:F,workUnitAsyncStorage:G,serverHooks:H}=E;function I(){return(0,g.patchFetch)({workAsyncStorage:F,workUnitAsyncStorage:G})}async function J(a,b,c){var d;let e="/api/repositories/scan/route";"/index"===e&&(e="/");let g=await E.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:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:C}=g,D=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[D]||y.routes[C]);if(F&&!x){let a=!!y.routes[C],b=y.dynamicRoutes[D];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||E.isDev||x||(G="/index"===(G=C)?"/":G);let H=!0===E.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>E.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>E.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.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=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!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=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.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!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.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 E.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})},z),b}},l=await E.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.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",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&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")&&F||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)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await E.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},44198:(a,b,c)=>{c.d(b,{Ah:()=>l,EN:()=>k,Mk:()=>m,xh:()=>n});var d=c(33873),e=c.n(d),f=c(29021),g=c(87447),h=c(66007);let i=(0,c(72626).h)("fs/browse-roots"),j=new Set,k=500;function l(){let{CM_ROOT_DIR:a}=(0,g._$)(),b=(process.env.CM_BROWSE_ROOTS??"").split(",").map(a=>a.trim()).filter(a=>a.length>0&&!a.includes("\0")).map(a=>e().resolve(a)),c=[e().resolve(a),...b];for(let a of c)a!==e().parse(a).root||j.has(a)||(j.add(a),i.warn("browse-root:filesystem-root",{detail:"An allowed browse root spans the whole filesystem; narrow CM_BROWSE_ROOTS."}));return Array.from(new Set(c))}function m(a){let b=l();if("string"!=typeof a||""===a.trim()||a.includes("\0"))return{ok:!1,reason:"invalid",roots:b};let c=!1;for(let d of b){let e;if((0,f.existsSync)(d)){try{e=(0,h.b$)(a,d)}catch{continue}if(c=!0,(0,h.Px)(e,d))return{ok:!0,resolvedPath:e,root:d,roots:b}}}return{ok:!1,reason:c?"symlink-escape":"outside-roots",roots:b}}function n(a){return a.join(", ")}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},61068:(a,b,c)=>{c.d(b,{Nz:()=>u,EB:()=>v,l7:()=>x});var d=c(95220),e=c(45017),f=c(11099),g=c(85775),h=c(72626),i=c(43234),j=c(79892);let k=(0,h.h)("global-session-poller"),l=new Map,m=new Map;var n=c(93997),o=c(15194),p=c(23197),q=c(77093),r=c(82325);let s=(0,h.h)("session-cleanup");async function t(a,b){let c={worktreeId:a,sessionsKilled:[],sessionErrors:[],pollersStopped:[],pollerErrors:[]};for(let e of((0,n.pc)(),o.XH)){try{await b(a,e)&&(c.sessionsKilled.push(e),s.info("session:killed",{worktreeId:a,cliToolId:e}))}catch(d){let b=`${e}: ${(0,q.u1)(d)}`;c.sessionErrors.push(b),s.warn("session:kill-failed",{worktreeId:a,cliToolId:e,error:d instanceof Error?d.message:String(d)})}try{(0,d.stopPolling)(a,e),c.pollersStopped.push(`response-poller:${e}`)}catch(d){let b=`response-poller:${e}: ${(0,q.u1)(d)}`;c.pollerErrors.push(b),s.warn("response-poller:stop-failed",{worktreeId:a,cliToolId:e,error:d instanceof Error?d.message:String(d)})}}try{(0,e._C)(a),c.pollersStopped.push("auto-yes-poller")}catch(d){let b=`auto-yes-poller: ${(0,q.u1)(d)}`;c.pollerErrors.push(b),s.warn("auto-yes-poller:stop-failed",{worktreeId:a,error:d instanceof Error?d.message:String(d)})}try{(0,e.LP)(a),c.pollersStopped.push("auto-yes-state")}catch(d){let b=`auto-yes-state: ${(0,q.u1)(d)}`;c.pollerErrors.push(b),s.warn("auto-yes-state:delete-failed",{worktreeId:a,error:d instanceof Error?d.message:String(d)})}try{(0,f.Yg)(a),c.pollersStopped.push("schedule-manager")}catch(d){let b=`schedule-manager: ${(0,q.u1)(d)}`;c.pollerErrors.push(b),s.warn("schedule-manager:stop-failed",{worktreeId:a,error:d instanceof Error?d.message:String(d)})}try{(0,g.Tm)(a),c.pollersStopped.push("timer-manager")}catch(d){let b=`timer-manager: ${(0,q.u1)(d)}`;c.pollerErrors.push(b),s.warn("timer-manager:stop-failed",{worktreeId:a,error:d instanceof Error?d.message:String(d)})}return c}async function u(a,b){let c=await Promise.allSettled(a.map(a=>t(a,b))),d=[],e=[];for(let b=0;b<c.length;b++){let f=c[b],g=a[b];if("fulfilled"===f.status){let a=f.value;for(let b of(d.push(a),a.sessionErrors))e.push(`Session kill error (${g}): ${b}`);for(let b of a.pollerErrors)e.push(`Poller stop error (${g}): ${b}`)}else e.push(`Cleanup failed (${g}): ${(0,q.u1)(f.reason)}`)}return{results:d,warnings:e}}async function v(a,b){try{let c=i.CLIToolManager.getInstance().getTool(b);if(!await c.isRunning(a))return!1;let e=`${a}:${b}`;(0,d.clearPromptHashCache)(e);let f=c.getSessionName(a);return(0,j.fY)(f)}catch{return!1}}async function w(){for(let a of l.keys()){let b=l.get(a);b&&clearTimeout(b)}l.clear(),m.clear(),k.info("poll:all-stopped");let a=0,b=i.CLIToolManager.getInstance();for(let c of o.XH)try{let d=b.getTool(c).getSessionName(p.H1);await (0,j.N)(d)&&await (0,j.fY)(d)&&(a++,s.info("global-session:killed",{cliToolId:c,sessionName:d}))}catch(a){s.warn("global-session:kill-failed",{cliToolId:c,error:(0,q.u1)(a)})}return a}async function x(a,b){let c=(0,r.L0)(a,b);try{await w()}catch(a){s.warn("sync:global-cleanup-failed",{error:(0,q.u1)(a)})}let d=[];if(c.deletedIds.length>0)try{let a=await u(c.deletedIds,v);a.warnings.length>0&&(s.warn("sync:cleanup-warnings",{warnings:a.warnings}),d=[`${a.warnings.length} session cleanup warning(s) occurred`])}catch(a){s.error("sync:cleanup-failed",{error:(0,q.u1)(a)}),d=["Session cleanup encountered an error"]}return{syncResult:c,cleanupWarnings:d}}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:a=>{a.exports=require("zlib")},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")},82325:(a,b,c)=>{c.d(b,{Hz:()=>o,L0:()=>r,Mg:()=>s,YM:()=>p,Yp:()=>q});var d=c(79646),e=c(28354),f=c(29021),g=c.n(f),h=c(33873),i=c.n(h),j=c(23718),k=c(56791),l=c(72626),m=c(64185);let n=(0,l.h)("worktrees");function o(){let a=process.env.WORKTREE_REPOS;return a&&a.trim()?a.split(",").map(a=>a.trim()).filter(a=>a.length>0):[]}async function p(a){let b=(0,e.promisify)(d.exec);if(function(a){if(!a)return!1;try{return g().lstatSync(a),!1}catch(b){let a=b.code;return"ENOENT"===a||"ENOTDIR"===a}}(a))return n.warn("repository:scan-skipped-missing-dir",{repoPath:a}),[];try{let{stdout:c}=await b("git worktree list",{cwd:a}),d=function(a){if(!a||""===a.trim())return[];let b=a.trim().split("\n"),c=[];for(let a of b){let b=a.trim();if(!b)continue;let d=b.match(/^(.+?)\s+([a-z0-9]+)\s+(?:\[(.+?)\]|\(detached HEAD\))/);if(d){let[,a,b,e]=d;c.push({path:a.trim(),branch:e||`detached-${b}`,commit:b})}}return c}(c),e=i().resolve(a),f=i().basename(e);return(0,m.oZ)(e),d.map(a=>{let b=i().resolve(a.path);return{id:(0,j.ko)(b),name:a.branch,branch:a.branch,path:b,repositoryPath:e,repositoryName:f}}).filter(a=>["/etc","/root","/sys","/proc","/dev","/boot","/bin","/sbin","/usr/bin","/usr/sbin"].some(b=>a.path.startsWith(b))?(n.warn("worktree:unsafe-path-skipped",{path:a.path}),!1):!(a.path.includes("\0")||a.path.includes(".."))||(n.warn("worktree:malicious-path-skipped",{path:a.path}),!1))}catch(c){let a=c instanceof Error?c.message:String(c),b=c.code;if(a?.includes("not a git repository")||128===b)return[];throw c}}async function q(a){let b=await Promise.allSettled(a.map(async a=>{n.info("repository:scan-start",{repoPath:a});let b=await p(a);return n.info("repository:scan-complete",{repoPath:a,worktreeCount:b.length}),b})),c=[];for(let d=0;d<b.length;d++){let e=b[d];"fulfilled"===e.status?c.push(...e.value):n.error("repository:scan-failed",{repoPath:a[d],error:e.reason instanceof Error?e.reason.message:String(e.reason)})}return c}function r(a,b){if(0===b.length)return{deletedIds:[],upsertedCount:0};let c=[],d=0,e=new Map;for(let a of b){let b=a.repositoryPath||"";e.has(b)||e.set(b,[]),e.get(b).push(a)}let f=new Set([...(0,k.getAllWorktreeIds)(a),...(0,k.getAliasedWorktreeIds)(a)]),g=new Map((0,k.getAllWorktreePathIds)(a).map(a=>[i().resolve(a.path),a.id])),h=new Map,l=new Map;for(let[a,b]of g)h.set(a,new Set([b])),l.set(b,a);for(let b of(0,k.getAllWorktreeAliases)(a)){let a=l.get(b.worktreeId);a&&h.get(a)?.add(b.oldId)}let m=new Set(b.map(a=>i().resolve(a.path)));for(let[b,o]of e){if(!b)continue;let e=(0,k.getWorktreesByRepository)(a,b).filter(a=>!m.has(i().resolve(a.path))).map(a=>a.id);if(e.length>0){let b=(0,k.deleteWorktreesByIds)(a,e);for(let a of(c.push(...e),e)){f.delete(a);let b=l.get(a);void 0!==b&&(g.delete(b),h.delete(b))}n.info("worktree:cleanup",{deletedCount:b.deletedCount})}for(let b of o){let c=i().resolve(b.path),e=g.get(c),m=b.id,n=e??(m&&!f.has(m)?m:function(a,b,c){if(!c||0===c.size)return(0,j.ko)(a,b);let d=new Set(b);for(let a of c)d.delete(a);return(0,j.ko)(a,d)}(c,f,h.get(c)));f.add(n),g.set(c,n),l.set(n,c),(0,k.upsertWorktree)(a,{...b,id:n,name:b.branch??b.name}),d++}}return{deletedIds:c,upsertedCount:d}}function s(a,b){let c=new Set(b.map(a=>a.repositoryPath).filter(a=>!!a)),d=[];for(let b of(0,k.getRepositories)(a)){let e=b.path;if(!e||c.has(e)||function(a){if(!a)return!1;try{return g().existsSync(a)&&g().existsSync(i().join(a,".git"))}catch{return!0}}(e))continue;let f=(0,k.getWorktreesByRepository)(a,e).map(a=>a.id);if(0===f.length)continue;let h=(0,k.deleteWorktreesByIds)(a,f);d.push(...f),n.info("worktree:stale-repo-pruned",{repoPath:e,deletedCount:h.deletedCount})}return d}},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,[1331,641,3722,1356,1503,1634,243,4390,9627,8807,406,5164,6661,4299,1191,6838,9130,4443,8800,1719,7905,2119,2445,6337,1886,595,6491,8918,7875,3480,6363],()=>b(b.s=39435));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=8710,a.ids=[8710],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},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")},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")},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")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},39435:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>J,patchFetch:()=>I,routeModule:()=>E,serverHooks:()=>H,workAsyncStorage:()=>F,workUnitAsyncStorage:()=>G});var d={};c.r(d),c.d(d,{POST:()=>D});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(51356),u=c(10641),v=c(33873),w=c.n(v),x=c(88807),y=c(82325),z=c(10406),A=c(44198),B=c(61068);let C=(0,c(72626).h)("api/repositories-scan");async function D(a){try{let{repositoryPath:b}=await a.json();if(!b||"string"!=typeof b)return u.NextResponse.json({error:"Repository path is required"},{status:400});let c=(0,A.Mk)(b);if(!c.ok)return u.NextResponse.json({error:`Invalid or unsafe repository path. Allowed roots: ${(0,A.xh)(c.roots)}`,reason:c.reason,roots:c.roots},{status:400});let d=c.resolvedPath,e=await (0,y.YM)(d);if(0===e.length)return u.NextResponse.json({error:"No worktrees found in the specified path. Make sure it is a valid git repository."},{status:404});let f=(0,x.getDbInstance)(),g=new Set;for(let a of e){let b=a.repositoryPath;!(!b||g.has(b))&&(g.add(b),(0,z.Dp)(f,b)||(0,z.vB)(f,{name:a.repositoryName||w().basename(b),path:b,cloneSource:"local",enabled:!0,visible:!0}))}let{syncResult:h,cleanupWarnings:i}=await (0,B.l7)(f,e);return u.NextResponse.json({success:!0,message:`Successfully scanned and added ${e.length} worktree(s)`,worktreeCount:e.length,repositoryPath:e[0].repositoryPath,repositoryName:e[0].repositoryName,deletedCount:h.deletedIds.length,cleanupWarnings:i},{status:200})}catch(b){C.error("repository:scan-failed",{error:b instanceof Error?b.message:String(b)});let a=b instanceof Error?b.message:"Failed to scan repository";return u.NextResponse.json({error:a},{status:500})}}let E=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/repositories/scan/route",pathname:"/api/repositories/scan",filename:"route",bundlePath:"app/api/repositories/scan/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/repositories/scan/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:F,workUnitAsyncStorage:G,serverHooks:H}=E;function I(){return(0,g.patchFetch)({workAsyncStorage:F,workUnitAsyncStorage:G})}async function J(a,b,c){var d;let e="/api/repositories/scan/route";"/index"===e&&(e="/");let g=await E.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:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:C}=g,D=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[D]||y.routes[C]);if(F&&!x){let a=!!y.routes[C],b=y.dynamicRoutes[D];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||E.isDev||x||(G="/index"===(G=C)?"/":G);let H=!0===E.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>E.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>E.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.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=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!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=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.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!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.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 E.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})},z),b}},l=await E.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.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",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&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")&&F||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)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await E.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},44198:(a,b,c)=>{c.d(b,{Ah:()=>l,EN:()=>k,Mk:()=>m,xh:()=>n});var d=c(33873),e=c.n(d),f=c(29021),g=c(87447),h=c(66007);let i=(0,c(72626).h)("fs/browse-roots"),j=new Set,k=500;function l(){let{CM_ROOT_DIR:a}=(0,g._$)(),b=(process.env.CM_BROWSE_ROOTS??"").split(",").map(a=>a.trim()).filter(a=>a.length>0&&!a.includes("\0")).map(a=>e().resolve(a)),c=[e().resolve(a),...b];for(let a of c)a!==e().parse(a).root||j.has(a)||(j.add(a),i.warn("browse-root:filesystem-root",{detail:"An allowed browse root spans the whole filesystem; narrow CM_BROWSE_ROOTS."}));return Array.from(new Set(c))}function m(a){let b=l();if("string"!=typeof a||""===a.trim()||a.includes("\0"))return{ok:!1,reason:"invalid",roots:b};let c=!1;for(let d of b){let e;if((0,f.existsSync)(d)){try{e=(0,h.b$)(a,d)}catch{continue}if(c=!0,(0,h.Px)(e,d))return{ok:!0,resolvedPath:e,root:d,roots:b}}}return{ok:!1,reason:c?"symlink-escape":"outside-roots",roots:b}}function n(a){return a.join(", ")}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:a=>{a.exports=require("zlib")},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,[1331,641,3722,1356,1503,1634,243,4390,9627,8807,406,5164,6661,1191,4299,6838,9130,4443,8800,7905,1886,6337,1719,2119,2445,595,3323,8918,650,7875,3480,1068],()=>b(b.s=39435));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../data/cm.db","../../../../../../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/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/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/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.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/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../scripts/hooks/cmate-agent-event.sh","../../../../../../src/lib/relay/relay-delivery.ts","../../../../../package.json","../../../../chunks/1191.js","../../../../chunks/1210.js","../../../../chunks/1331.js","../../../../chunks/1356.js","../../../../chunks/1501.js","../../../../chunks/1503.js","../../../../chunks/1634.js","../../../../chunks/1719.js","../../../../chunks/1886.js","../../../../chunks/2119.js","../../../../chunks/243.js","../../../../chunks/2445.js","../../../../chunks/3077.js","../../../../chunks/3086.js","../../../../chunks/3241.js","../../../../chunks/3480.js","../../../../chunks/3707.js","../../../../chunks/3722.js","../../../../chunks/3925.js","../../../../chunks/406.js","../../../../chunks/4299.js","../../../../chunks/4390.js","../../../../chunks/4443.js","../../../../chunks/5043.js","../../../../chunks/5164.js","../../../../chunks/5220.js","../../../../chunks/595.js","../../../../chunks/6065.js","../../../../chunks/6306.js","../../../../chunks/6337.js","../../../../chunks/6363.js","../../../../chunks/641.js","../../../../chunks/6491.js","../../../../chunks/6661.js","../../../../chunks/6838.js","../../../../chunks/7366.js","../../../../chunks/7875.js","../../../../chunks/7905.js","../../../../chunks/8687.js","../../../../chunks/8800.js","../../../../chunks/8807.js","../../../../chunks/8918.js","../../../../chunks/9130.js","../../../../chunks/9627.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../data/cm.db","../../../../../../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/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/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/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.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/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../scripts/hooks/cmate-agent-event.sh","../../../../../../src/lib/relay/relay-delivery.ts","../../../../../package.json","../../../../chunks/1068.js","../../../../chunks/1191.js","../../../../chunks/1210.js","../../../../chunks/1331.js","../../../../chunks/1356.js","../../../../chunks/1501.js","../../../../chunks/1503.js","../../../../chunks/1634.js","../../../../chunks/1719.js","../../../../chunks/1886.js","../../../../chunks/2119.js","../../../../chunks/243.js","../../../../chunks/2445.js","../../../../chunks/2839.js","../../../../chunks/3077.js","../../../../chunks/3241.js","../../../../chunks/3323.js","../../../../chunks/3480.js","../../../../chunks/3707.js","../../../../chunks/3722.js","../../../../chunks/406.js","../../../../chunks/4299.js","../../../../chunks/4390.js","../../../../chunks/4443.js","../../../../chunks/5164.js","../../../../chunks/5220.js","../../../../chunks/595.js","../../../../chunks/6065.js","../../../../chunks/6337.js","../../../../chunks/641.js","../../../../chunks/650.js","../../../../chunks/6661.js","../../../../chunks/6781.js","../../../../chunks/6838.js","../../../../chunks/7366.js","../../../../chunks/7875.js","../../../../chunks/7905.js","../../../../chunks/8800.js","../../../../chunks/8807.js","../../../../chunks/8918.js","../../../../chunks/9130.js","../../../../chunks/9627.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/repositories/scan/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}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"19941","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"80776","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"31017","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"96908","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"39800","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"27518","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}},"74500":{"*":{"id":"84168","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"36022","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"7821","name":"*","chunks":[],"async":false}},"86537":{"*":{"id":"2354","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"3425","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"22961","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":["4219","static/chunks/app/global-error-7b761b8e181ffc1f.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-2bc5cdf06573bf54.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-2bc5cdf06573bf54.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-2bc5cdf06573bf54.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":25772,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-2bc5cdf06573bf54.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/error.tsx":{"id":50960,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","8039","static/chunks/app/error-27ab04bce6545dae.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-c58ba2c3f4363277.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/chat/page.tsx":{"id":60675,"name":"*","chunks":[],"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":75590,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-827a64760bab8a3a.js","790","static/chunks/790-d8e6acd26e03679c.js","5694","static/chunks/5694-498765336d0b8c2b.js","9948","static/chunks/9948-d139e3e5dbecaf73.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","8019","static/chunks/8019-cbf130d0e6334d2d.js","4718","static/chunks/4718-2bc5cdf06573bf54.js","8361","static/chunks/8361-9bb887203c456edb.js","8974","static/chunks/app/page-022090bf6f932818.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":95775,"name":"*","chunks":[],"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/sessions/page.tsx":{"id":74500,"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/skills/page.tsx":{"id":99898,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":86537,"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":30036,"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/acd46e25427a2080.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/repositories/route":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/repositories/scan/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}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"5682","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"64182","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"22516","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}},"74500":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"60967","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}},"86537":{"*":{"id":"7874","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"1133","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"12319","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/repositories/scan/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}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"19941","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"80776","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"31017","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"96908","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"39800","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"27518","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}},"74500":{"*":{"id":"84168","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"36022","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"7821","name":"*","chunks":[],"async":false}},"86537":{"*":{"id":"2354","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"3425","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"22961","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":["4219","static/chunks/app/global-error-7b761b8e181ffc1f.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-441a2af91f0374e9.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-441a2af91f0374e9.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-441a2af91f0374e9.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":25772,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","4718","static/chunks/4718-441a2af91f0374e9.js","4322","static/chunks/4322-dfd5a7119b5ba4fc.js","7177","static/chunks/app/layout-4c2f21e3f653ee4c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/error.tsx":{"id":50960,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","8039","static/chunks/app/error-27ab04bce6545dae.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-c58ba2c3f4363277.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/chat/page.tsx":{"id":60675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/login/page.tsx":{"id":70462,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":95775,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/page.tsx":{"id":75590,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-827a64760bab8a3a.js","790","static/chunks/790-d8e6acd26e03679c.js","5694","static/chunks/5694-498765336d0b8c2b.js","9948","static/chunks/9948-d139e3e5dbecaf73.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","8019","static/chunks/8019-cbf130d0e6334d2d.js","4718","static/chunks/4718-441a2af91f0374e9.js","8361","static/chunks/8361-9bb887203c456edb.js","8974","static/chunks/app/page-022090bf6f932818.js"],"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/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/sessions/page.tsx":{"id":74500,"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/skills/page.tsx":{"id":99898,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":86537,"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":30036,"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/acd46e25427a2080.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/repositories/route":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/repositories/scan/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}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"30036":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"5682","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"64182","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"22516","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}},"74500":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"60967","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}},"86537":{"*":{"id":"7874","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"1133","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"12319","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"74080","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=7560,a.ids=[7560],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},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")},16198:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>G,patchFetch:()=>F,routeModule:()=>B,serverHooks:()=>E,workAsyncStorage:()=>C,workUnitAsyncStorage:()=>D});var d={};c.r(d),c.d(d,{POST:()=>A});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(51356),u=c(10641),v=c(88807),w=c(82325),x=c(10406),y=c(61068);let z=(0,c(72626).h)("api/repositories-sync");async function A(){try{let a=(0,w.Hz)(),b=(0,v.getDbInstance)(),c=(0,x.Yg)(b).filter(a=>a.enabled).map(a=>a.path),d=[...new Set([...a,...c])];if(0===d.length)return u.NextResponse.json({error:"No repositories configured. Please set WORKTREE_REPOS or CM_ROOT_DIR environment variable."},{status:400});let{filteredPaths:e}=(0,x.$G)(b,d),f=await (0,w.Yp)(e),{syncResult:g,cleanupWarnings:h}=await (0,y.l7)(b,f),i=(0,w.Mg)(b,f),j=new Set(f.map(a=>a.repositoryPath));return u.NextResponse.json({success:!0,message:`Successfully synced ${f.length} worktree(s) from ${j.size} repository/repositories`,worktreeCount:f.length,repositoryCount:j.size,repositories:Array.from(j),deletedCount:g.deletedIds.length+i.length,cleanupWarnings:h},{status:200})}catch(b){z.error("repositories:sync-failed",{error:b instanceof Error?b.message:String(b)});let a=b instanceof Error?b.message:"Failed to sync repositories";return u.NextResponse.json({error:a},{status:500})}}let B=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/repositories/sync/route",pathname:"/api/repositories/sync",filename:"route",bundlePath:"app/api/repositories/sync/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/repositories/sync/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:C,workUnitAsyncStorage:D,serverHooks:E}=B;function F(){return(0,g.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:D})}async function G(a,b,c){var d;let e="/api/repositories/sync/route";"/index"===e&&(e="/");let g=await B.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:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||B.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===B.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>B.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>B.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.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=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&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=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.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!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.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 B.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})},z),b}},l=await B.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.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",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&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")&&F||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)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await B.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},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")},23197:(a,b,c)=>{c.d(b,{$M:()=>e,H1:()=>d,q5:()=>f});let d="__global__",e=2e3,f=900},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")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},61068:(a,b,c)=>{c.d(b,{Nz:()=>u,EB:()=>v,l7:()=>x});var d=c(95220),e=c(45017),f=c(11099),g=c(85775),h=c(72626),i=c(43234),j=c(79892);let k=(0,h.h)("global-session-poller"),l=new Map,m=new Map;var n=c(93997),o=c(15194),p=c(23197),q=c(77093),r=c(82325);let s=(0,h.h)("session-cleanup");async function t(a,b){let c={worktreeId:a,sessionsKilled:[],sessionErrors:[],pollersStopped:[],pollerErrors:[]};for(let e of((0,n.pc)(),o.XH)){try{await b(a,e)&&(c.sessionsKilled.push(e),s.info("session:killed",{worktreeId:a,cliToolId:e}))}catch(d){let b=`${e}: ${(0,q.u1)(d)}`;c.sessionErrors.push(b),s.warn("session:kill-failed",{worktreeId:a,cliToolId:e,error:d instanceof Error?d.message:String(d)})}try{(0,d.stopPolling)(a,e),c.pollersStopped.push(`response-poller:${e}`)}catch(d){let b=`response-poller:${e}: ${(0,q.u1)(d)}`;c.pollerErrors.push(b),s.warn("response-poller:stop-failed",{worktreeId:a,cliToolId:e,error:d instanceof Error?d.message:String(d)})}}try{(0,e._C)(a),c.pollersStopped.push("auto-yes-poller")}catch(d){let b=`auto-yes-poller: ${(0,q.u1)(d)}`;c.pollerErrors.push(b),s.warn("auto-yes-poller:stop-failed",{worktreeId:a,error:d instanceof Error?d.message:String(d)})}try{(0,e.LP)(a),c.pollersStopped.push("auto-yes-state")}catch(d){let b=`auto-yes-state: ${(0,q.u1)(d)}`;c.pollerErrors.push(b),s.warn("auto-yes-state:delete-failed",{worktreeId:a,error:d instanceof Error?d.message:String(d)})}try{(0,f.Yg)(a),c.pollersStopped.push("schedule-manager")}catch(d){let b=`schedule-manager: ${(0,q.u1)(d)}`;c.pollerErrors.push(b),s.warn("schedule-manager:stop-failed",{worktreeId:a,error:d instanceof Error?d.message:String(d)})}try{(0,g.Tm)(a),c.pollersStopped.push("timer-manager")}catch(d){let b=`timer-manager: ${(0,q.u1)(d)}`;c.pollerErrors.push(b),s.warn("timer-manager:stop-failed",{worktreeId:a,error:d instanceof Error?d.message:String(d)})}return c}async function u(a,b){let c=await Promise.allSettled(a.map(a=>t(a,b))),d=[],e=[];for(let b=0;b<c.length;b++){let f=c[b],g=a[b];if("fulfilled"===f.status){let a=f.value;for(let b of(d.push(a),a.sessionErrors))e.push(`Session kill error (${g}): ${b}`);for(let b of a.pollerErrors)e.push(`Poller stop error (${g}): ${b}`)}else e.push(`Cleanup failed (${g}): ${(0,q.u1)(f.reason)}`)}return{results:d,warnings:e}}async function v(a,b){try{let c=i.CLIToolManager.getInstance().getTool(b);if(!await c.isRunning(a))return!1;let e=`${a}:${b}`;(0,d.clearPromptHashCache)(e);let f=c.getSessionName(a);return(0,j.fY)(f)}catch{return!1}}async function w(){for(let a of l.keys()){let b=l.get(a);b&&clearTimeout(b)}l.clear(),m.clear(),k.info("poll:all-stopped");let a=0,b=i.CLIToolManager.getInstance();for(let c of o.XH)try{let d=b.getTool(c).getSessionName(p.H1);await (0,j.N)(d)&&await (0,j.fY)(d)&&(a++,s.info("global-session:killed",{cliToolId:c,sessionName:d}))}catch(a){s.warn("global-session:kill-failed",{cliToolId:c,error:(0,q.u1)(a)})}return a}async function x(a,b){let c=(0,r.L0)(a,b);try{await w()}catch(a){s.warn("sync:global-cleanup-failed",{error:(0,q.u1)(a)})}let d=[];if(c.deletedIds.length>0)try{let a=await u(c.deletedIds,v);a.warnings.length>0&&(s.warn("sync:cleanup-warnings",{warnings:a.warnings}),d=[`${a.warnings.length} session cleanup warning(s) occurred`])}catch(a){s.error("sync:cleanup-failed",{error:(0,q.u1)(a)}),d=["Session cleanup encountered an error"]}return{syncResult:c,cleanupWarnings:d}}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:a=>{a.exports=require("zlib")},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")},82325:(a,b,c)=>{c.d(b,{Hz:()=>o,L0:()=>r,Mg:()=>s,YM:()=>p,Yp:()=>q});var d=c(79646),e=c(28354),f=c(29021),g=c.n(f),h=c(33873),i=c.n(h),j=c(23718),k=c(56791),l=c(72626),m=c(64185);let n=(0,l.h)("worktrees");function o(){let a=process.env.WORKTREE_REPOS;return a&&a.trim()?a.split(",").map(a=>a.trim()).filter(a=>a.length>0):[]}async function p(a){let b=(0,e.promisify)(d.exec);if(function(a){if(!a)return!1;try{return g().lstatSync(a),!1}catch(b){let a=b.code;return"ENOENT"===a||"ENOTDIR"===a}}(a))return n.warn("repository:scan-skipped-missing-dir",{repoPath:a}),[];try{let{stdout:c}=await b("git worktree list",{cwd:a}),d=function(a){if(!a||""===a.trim())return[];let b=a.trim().split("\n"),c=[];for(let a of b){let b=a.trim();if(!b)continue;let d=b.match(/^(.+?)\s+([a-z0-9]+)\s+(?:\[(.+?)\]|\(detached HEAD\))/);if(d){let[,a,b,e]=d;c.push({path:a.trim(),branch:e||`detached-${b}`,commit:b})}}return c}(c),e=i().resolve(a),f=i().basename(e);return(0,m.oZ)(e),d.map(a=>{let b=i().resolve(a.path);return{id:(0,j.ko)(b),name:a.branch,branch:a.branch,path:b,repositoryPath:e,repositoryName:f}}).filter(a=>["/etc","/root","/sys","/proc","/dev","/boot","/bin","/sbin","/usr/bin","/usr/sbin"].some(b=>a.path.startsWith(b))?(n.warn("worktree:unsafe-path-skipped",{path:a.path}),!1):!(a.path.includes("\0")||a.path.includes(".."))||(n.warn("worktree:malicious-path-skipped",{path:a.path}),!1))}catch(c){let a=c instanceof Error?c.message:String(c),b=c.code;if(a?.includes("not a git repository")||128===b)return[];throw c}}async function q(a){let b=await Promise.allSettled(a.map(async a=>{n.info("repository:scan-start",{repoPath:a});let b=await p(a);return n.info("repository:scan-complete",{repoPath:a,worktreeCount:b.length}),b})),c=[];for(let d=0;d<b.length;d++){let e=b[d];"fulfilled"===e.status?c.push(...e.value):n.error("repository:scan-failed",{repoPath:a[d],error:e.reason instanceof Error?e.reason.message:String(e.reason)})}return c}function r(a,b){if(0===b.length)return{deletedIds:[],upsertedCount:0};let c=[],d=0,e=new Map;for(let a of b){let b=a.repositoryPath||"";e.has(b)||e.set(b,[]),e.get(b).push(a)}let f=new Set([...(0,k.getAllWorktreeIds)(a),...(0,k.getAliasedWorktreeIds)(a)]),g=new Map((0,k.getAllWorktreePathIds)(a).map(a=>[i().resolve(a.path),a.id])),h=new Map,l=new Map;for(let[a,b]of g)h.set(a,new Set([b])),l.set(b,a);for(let b of(0,k.getAllWorktreeAliases)(a)){let a=l.get(b.worktreeId);a&&h.get(a)?.add(b.oldId)}let m=new Set(b.map(a=>i().resolve(a.path)));for(let[b,o]of e){if(!b)continue;let e=(0,k.getWorktreesByRepository)(a,b).filter(a=>!m.has(i().resolve(a.path))).map(a=>a.id);if(e.length>0){let b=(0,k.deleteWorktreesByIds)(a,e);for(let a of(c.push(...e),e)){f.delete(a);let b=l.get(a);void 0!==b&&(g.delete(b),h.delete(b))}n.info("worktree:cleanup",{deletedCount:b.deletedCount})}for(let b of o){let c=i().resolve(b.path),e=g.get(c),m=b.id,n=e??(m&&!f.has(m)?m:function(a,b,c){if(!c||0===c.size)return(0,j.ko)(a,b);let d=new Set(b);for(let a of c)d.delete(a);return(0,j.ko)(a,d)}(c,f,h.get(c)));f.add(n),g.set(c,n),l.set(n,c),(0,k.upsertWorktree)(a,{...b,id:n,name:b.branch??b.name}),d++}}return{deletedIds:c,upsertedCount:d}}function s(a,b){let c=new Set(b.map(a=>a.repositoryPath).filter(a=>!!a)),d=[];for(let b of(0,k.getRepositories)(a)){let e=b.path;if(!e||c.has(e)||function(a){if(!a)return!1;try{return g().existsSync(a)&&g().existsSync(i().join(a,".git"))}catch{return!0}}(e))continue;let f=(0,k.getWorktreesByRepository)(a,e).map(a=>a.id);if(0===f.length)continue;let h=(0,k.deleteWorktreesByIds)(a,f);d.push(...f),n.info("worktree:stale-repo-pruned",{repoPath:e,deletedCount:h.deletedCount})}return d}},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,[1331,641,3722,1356,1503,1634,243,4390,9627,8807,406,5164,6661,4299,1191,6838,9130,4443,8800,1719,7905,2119,2445,6337,1886,595,6491,8918,7875,3480,6363],()=>b(b.s=16198));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=7560,a.ids=[7560],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},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")},16198:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>G,patchFetch:()=>F,routeModule:()=>B,serverHooks:()=>E,workAsyncStorage:()=>C,workUnitAsyncStorage:()=>D});var d={};c.r(d),c.d(d,{POST:()=>A});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(51356),u=c(10641),v=c(88807),w=c(82325),x=c(10406),y=c(61068);let z=(0,c(72626).h)("api/repositories-sync");async function A(){try{let a=(0,w.Hz)(),b=(0,v.getDbInstance)(),c=(0,x.Yg)(b).filter(a=>a.enabled).map(a=>a.path),d=[...new Set([...a,...c])];if(0===d.length)return u.NextResponse.json({error:"No repositories configured. Please set WORKTREE_REPOS or CM_ROOT_DIR environment variable."},{status:400});let{filteredPaths:e}=(0,x.$G)(b,d),f=await (0,w.Yp)(e),{syncResult:g,cleanupWarnings:h}=await (0,y.l7)(b,f),i=(0,w.Mg)(b,f),j=new Set(f.map(a=>a.repositoryPath));return u.NextResponse.json({success:!0,message:`Successfully synced ${f.length} worktree(s) from ${j.size} repository/repositories`,worktreeCount:f.length,repositoryCount:j.size,repositories:Array.from(j),deletedCount:g.deletedIds.length+i.length,cleanupWarnings:h},{status:200})}catch(b){z.error("repositories:sync-failed",{error:b instanceof Error?b.message:String(b)});let a=b instanceof Error?b.message:"Failed to sync repositories";return u.NextResponse.json({error:a},{status:500})}}let B=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/repositories/sync/route",pathname:"/api/repositories/sync",filename:"route",bundlePath:"app/api/repositories/sync/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/repositories/sync/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:C,workUnitAsyncStorage:D,serverHooks:E}=B;function F(){return(0,g.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:D})}async function G(a,b,c){var d;let e="/api/repositories/sync/route";"/index"===e&&(e="/");let g=await B.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:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||B.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===B.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>B.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>B.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.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=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&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=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.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!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.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 B.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})},z),b}},l=await B.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.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",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&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")&&F||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)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await B.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},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")},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")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:a=>{a.exports=require("zlib")},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,[1331,641,3722,1356,1503,1634,243,4390,9627,8807,406,5164,6661,1191,4299,6838,9130,4443,8800,7905,1886,6337,1719,2119,2445,595,3323,8918,650,7875,3480,1068],()=>b(b.s=16198));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../data/cm.db","../../../../../../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/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/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/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.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/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../scripts/hooks/cmate-agent-event.sh","../../../../../../src/lib/relay/relay-delivery.ts","../../../../../package.json","../../../../chunks/1191.js","../../../../chunks/1210.js","../../../../chunks/1331.js","../../../../chunks/1356.js","../../../../chunks/1501.js","../../../../chunks/1503.js","../../../../chunks/1634.js","../../../../chunks/1719.js","../../../../chunks/1886.js","../../../../chunks/2119.js","../../../../chunks/243.js","../../../../chunks/2445.js","../../../../chunks/3077.js","../../../../chunks/3086.js","../../../../chunks/3241.js","../../../../chunks/3480.js","../../../../chunks/3707.js","../../../../chunks/3722.js","../../../../chunks/3925.js","../../../../chunks/406.js","../../../../chunks/4299.js","../../../../chunks/4390.js","../../../../chunks/4443.js","../../../../chunks/5043.js","../../../../chunks/5164.js","../../../../chunks/5220.js","../../../../chunks/595.js","../../../../chunks/6065.js","../../../../chunks/6306.js","../../../../chunks/6337.js","../../../../chunks/6363.js","../../../../chunks/641.js","../../../../chunks/6491.js","../../../../chunks/6661.js","../../../../chunks/6838.js","../../../../chunks/7366.js","../../../../chunks/7875.js","../../../../chunks/7905.js","../../../../chunks/8687.js","../../../../chunks/8800.js","../../../../chunks/8807.js","../../../../chunks/8918.js","../../../../chunks/9130.js","../../../../chunks/9627.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../data/cm.db","../../../../../../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/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/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/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.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/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../scripts/hooks/cmate-agent-event.sh","../../../../../../src/lib/relay/relay-delivery.ts","../../../../../package.json","../../../../chunks/1068.js","../../../../chunks/1191.js","../../../../chunks/1210.js","../../../../chunks/1331.js","../../../../chunks/1356.js","../../../../chunks/1501.js","../../../../chunks/1503.js","../../../../chunks/1634.js","../../../../chunks/1719.js","../../../../chunks/1886.js","../../../../chunks/2119.js","../../../../chunks/243.js","../../../../chunks/2445.js","../../../../chunks/2839.js","../../../../chunks/3077.js","../../../../chunks/3241.js","../../../../chunks/3323.js","../../../../chunks/3480.js","../../../../chunks/3707.js","../../../../chunks/3722.js","../../../../chunks/406.js","../../../../chunks/4299.js","../../../../chunks/4390.js","../../../../chunks/4443.js","../../../../chunks/5164.js","../../../../chunks/5220.js","../../../../chunks/595.js","../../../../chunks/6065.js","../../../../chunks/6337.js","../../../../chunks/641.js","../../../../chunks/650.js","../../../../chunks/6661.js","../../../../chunks/6781.js","../../../../chunks/6838.js","../../../../chunks/7366.js","../../../../chunks/7875.js","../../../../chunks/7905.js","../../../../chunks/8800.js","../../../../chunks/8807.js","../../../../chunks/8918.js","../../../../chunks/9130.js","../../../../chunks/9627.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}