commandmate 0.39.1 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (600) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +250 -243
  3. package/.next/app-path-routes-manifest.json +31 -30
  4. package/.next/build-manifest.json +2 -2
  5. package/.next/prerender-manifest.json +15 -15
  6. package/.next/required-server-files.json +1 -1
  7. package/.next/routes-manifest.json +8 -0
  8. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  9. package/.next/server/app/api/agents/update/route_client-reference-manifest.js +1 -1
  10. package/.next/server/app/api/agents/versions/route_client-reference-manifest.js +1 -1
  11. package/.next/server/app/api/app/release-notes/route_client-reference-manifest.js +1 -1
  12. package/.next/server/app/api/app/update/route_client-reference-manifest.js +1 -1
  13. package/.next/server/app/api/app/update-check/route.js +1 -1
  14. package/.next/server/app/api/app/update-check/route_client-reference-manifest.js +1 -1
  15. package/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
  16. package/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  17. package/.next/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
  18. package/.next/server/app/api/capabilities/route.js +1 -1
  19. package/.next/server/app/api/capabilities/route_client-reference-manifest.js +1 -1
  20. package/.next/server/app/api/daily-summary/route_client-reference-manifest.js +1 -1
  21. package/.next/server/app/api/daily-summary/status/route_client-reference-manifest.js +1 -1
  22. package/.next/server/app/api/external-apps/[id]/health/route_client-reference-manifest.js +1 -1
  23. package/.next/server/app/api/external-apps/[id]/route_client-reference-manifest.js +1 -1
  24. package/.next/server/app/api/external-apps/route_client-reference-manifest.js +1 -1
  25. package/.next/server/app/api/fs/browse/route_client-reference-manifest.js +1 -1
  26. package/.next/server/app/api/fs/recent-paths/route_client-reference-manifest.js +1 -1
  27. package/.next/server/app/api/hooks/agent-event/route.js.nft.json +1 -1
  28. package/.next/server/app/api/hooks/agent-event/route_client-reference-manifest.js +1 -1
  29. package/.next/server/app/api/hooks/claude-done/route.js +1 -1
  30. package/.next/server/app/api/hooks/claude-done/route.js.nft.json +1 -1
  31. package/.next/server/app/api/hooks/claude-done/route_client-reference-manifest.js +1 -1
  32. package/.next/server/app/api/hooks/permission-request/route.js.nft.json +1 -1
  33. package/.next/server/app/api/hooks/permission-request/route_client-reference-manifest.js +1 -1
  34. package/.next/server/app/api/metrics/vibe/route_client-reference-manifest.js +1 -1
  35. package/.next/server/app/api/ollama/models/route_client-reference-manifest.js +1 -1
  36. package/.next/server/app/api/push/escalation/route_client-reference-manifest.js +1 -1
  37. package/.next/server/app/api/push/subscriptions/route_client-reference-manifest.js +1 -1
  38. package/.next/server/app/api/push/vapid/route_client-reference-manifest.js +1 -1
  39. package/.next/server/app/api/relays/[relayId]/cancel/route.js.nft.json +1 -1
  40. package/.next/server/app/api/relays/[relayId]/cancel/route_client-reference-manifest.js +1 -1
  41. package/.next/server/app/api/relays/route.js.nft.json +1 -1
  42. package/.next/server/app/api/relays/route_client-reference-manifest.js +1 -1
  43. package/.next/server/app/api/remote/pair/route_client-reference-manifest.js +1 -1
  44. package/.next/server/app/api/repositories/[id]/route_client-reference-manifest.js +1 -1
  45. package/.next/server/app/api/repositories/clone/[jobId]/route.js +1 -1
  46. package/.next/server/app/api/repositories/clone/[jobId]/route.js.nft.json +1 -1
  47. package/.next/server/app/api/repositories/clone/[jobId]/route_client-reference-manifest.js +1 -1
  48. package/.next/server/app/api/repositories/clone/route.js +1 -1
  49. package/.next/server/app/api/repositories/clone/route.js.nft.json +1 -1
  50. package/.next/server/app/api/repositories/clone/route_client-reference-manifest.js +1 -1
  51. package/.next/server/app/api/repositories/excluded/route_client-reference-manifest.js +1 -1
  52. package/.next/server/app/api/repositories/restore/route.js +1 -1
  53. package/.next/server/app/api/repositories/restore/route.js.nft.json +1 -1
  54. package/.next/server/app/api/repositories/restore/route_client-reference-manifest.js +1 -1
  55. package/.next/server/app/api/repositories/route.js +1 -1
  56. package/.next/server/app/api/repositories/route.js.nft.json +1 -1
  57. package/.next/server/app/api/repositories/route_client-reference-manifest.js +1 -1
  58. package/.next/server/app/api/repositories/scan/route.js +1 -1
  59. package/.next/server/app/api/repositories/scan/route.js.nft.json +1 -1
  60. package/.next/server/app/api/repositories/scan/route_client-reference-manifest.js +1 -1
  61. package/.next/server/app/api/repositories/sync/route.js +1 -1
  62. package/.next/server/app/api/repositories/sync/route.js.nft.json +1 -1
  63. package/.next/server/app/api/repositories/sync/route_client-reference-manifest.js +1 -1
  64. package/.next/server/app/api/repositories/validate-path/route_client-reference-manifest.js +1 -1
  65. package/.next/server/app/api/settings/default-agents/route.js +1 -1
  66. package/.next/server/app/api/settings/default-agents/route.js.nft.json +1 -1
  67. package/.next/server/app/api/settings/default-agents/route_client-reference-manifest.js +1 -1
  68. package/.next/server/app/api/settings/default-surface-mode/route_client-reference-manifest.js +1 -1
  69. package/.next/server/app/api/sidebar/group-order/route_client-reference-manifest.js +1 -1
  70. package/.next/server/app/api/skills/[id]/route_client-reference-manifest.js +1 -1
  71. package/.next/server/app/api/skills/installations/route_client-reference-manifest.js +1 -1
  72. package/.next/server/app/api/skills/operations/route_client-reference-manifest.js +1 -1
  73. package/.next/server/app/api/skills/reindex/route_client-reference-manifest.js +1 -1
  74. package/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  75. package/.next/server/app/api/slash-commands/route_client-reference-manifest.js +1 -1
  76. package/.next/server/app/api/tasks/[taskId]/cancel/route_client-reference-manifest.js +1 -1
  77. package/.next/server/app/api/tasks/[taskId]/route_client-reference-manifest.js +1 -1
  78. package/.next/server/app/api/templates/[id]/route_client-reference-manifest.js +1 -1
  79. package/.next/server/app/api/templates/route_client-reference-manifest.js +1 -1
  80. package/.next/server/app/api/verification/runs/[runId]/route_client-reference-manifest.js +1 -1
  81. package/.next/server/app/api/verification/runs/route_client-reference-manifest.js +1 -1
  82. package/.next/server/app/api/worktrees/[id]/auto-yes/route.js +1 -1
  83. package/.next/server/app/api/worktrees/[id]/auto-yes/route.js.nft.json +1 -1
  84. package/.next/server/app/api/worktrees/[id]/auto-yes/route_client-reference-manifest.js +1 -1
  85. package/.next/server/app/api/worktrees/[id]/capture/route.js +1 -1
  86. package/.next/server/app/api/worktrees/[id]/capture/route.js.nft.json +1 -1
  87. package/.next/server/app/api/worktrees/[id]/capture/route_client-reference-manifest.js +1 -1
  88. package/.next/server/app/api/worktrees/[id]/clear-composer/route.js +1 -1
  89. package/.next/server/app/api/worktrees/[id]/clear-composer/route.js.nft.json +1 -1
  90. package/.next/server/app/api/worktrees/[id]/clear-composer/route_client-reference-manifest.js +1 -1
  91. package/.next/server/app/api/worktrees/[id]/cli-reference/route_client-reference-manifest.js +1 -1
  92. package/.next/server/app/api/worktrees/[id]/cli-tool/route_client-reference-manifest.js +1 -1
  93. package/.next/server/app/api/worktrees/[id]/cmate/schedules/route.js +2 -2
  94. package/.next/server/app/api/worktrees/[id]/cmate/schedules/route.js.nft.json +1 -1
  95. package/.next/server/app/api/worktrees/[id]/cmate/schedules/route_client-reference-manifest.js +1 -1
  96. package/.next/server/app/api/worktrees/[id]/current-output/route.js +1 -1
  97. package/.next/server/app/api/worktrees/[id]/current-output/route.js.nft.json +1 -1
  98. package/.next/server/app/api/worktrees/[id]/current-output/route_client-reference-manifest.js +1 -1
  99. package/.next/server/app/api/worktrees/[id]/direct-input/route.js +1 -0
  100. package/.next/server/app/api/worktrees/[id]/direct-input/route.js.nft.json +1 -0
  101. package/.next/server/app/api/worktrees/[id]/direct-input/route_client-reference-manifest.js +1 -0
  102. package/.next/server/app/api/worktrees/[id]/env/route_client-reference-manifest.js +1 -1
  103. package/.next/server/app/api/worktrees/[id]/execution-logs/[logId]/route_client-reference-manifest.js +1 -1
  104. package/.next/server/app/api/worktrees/[id]/execution-logs/route_client-reference-manifest.js +1 -1
  105. package/.next/server/app/api/worktrees/[id]/files/[...path]/route_client-reference-manifest.js +1 -1
  106. package/.next/server/app/api/worktrees/[id]/git/branch/create/route_client-reference-manifest.js +1 -1
  107. package/.next/server/app/api/worktrees/[id]/git/branch/delete/route_client-reference-manifest.js +1 -1
  108. package/.next/server/app/api/worktrees/[id]/git/branches/route_client-reference-manifest.js +1 -1
  109. package/.next/server/app/api/worktrees/[id]/git/checkout/route_client-reference-manifest.js +1 -1
  110. package/.next/server/app/api/worktrees/[id]/git/commit/route_client-reference-manifest.js +1 -1
  111. package/.next/server/app/api/worktrees/[id]/git/diff/route_client-reference-manifest.js +1 -1
  112. package/.next/server/app/api/worktrees/[id]/git/fetch/route_client-reference-manifest.js +1 -1
  113. package/.next/server/app/api/worktrees/[id]/git/log/route_client-reference-manifest.js +1 -1
  114. package/.next/server/app/api/worktrees/[id]/git/pull/route_client-reference-manifest.js +1 -1
  115. package/.next/server/app/api/worktrees/[id]/git/push/route_client-reference-manifest.js +1 -1
  116. package/.next/server/app/api/worktrees/[id]/git/reset/route_client-reference-manifest.js +1 -1
  117. package/.next/server/app/api/worktrees/[id]/git/revert/route_client-reference-manifest.js +1 -1
  118. package/.next/server/app/api/worktrees/[id]/git/show/[commitHash]/route_client-reference-manifest.js +1 -1
  119. package/.next/server/app/api/worktrees/[id]/git/stage/route_client-reference-manifest.js +1 -1
  120. package/.next/server/app/api/worktrees/[id]/git/staged/route_client-reference-manifest.js +1 -1
  121. package/.next/server/app/api/worktrees/[id]/git/stash/[index]/route_client-reference-manifest.js +1 -1
  122. package/.next/server/app/api/worktrees/[id]/git/stash/apply/route_client-reference-manifest.js +1 -1
  123. package/.next/server/app/api/worktrees/[id]/git/stash/pop/route_client-reference-manifest.js +1 -1
  124. package/.next/server/app/api/worktrees/[id]/git/stash/push/route_client-reference-manifest.js +1 -1
  125. package/.next/server/app/api/worktrees/[id]/git/stash/route_client-reference-manifest.js +1 -1
  126. package/.next/server/app/api/worktrees/[id]/git/status/route_client-reference-manifest.js +1 -1
  127. package/.next/server/app/api/worktrees/[id]/git/unstage/route_client-reference-manifest.js +1 -1
  128. package/.next/server/app/api/worktrees/[id]/git/working-diff/route_client-reference-manifest.js +1 -1
  129. package/.next/server/app/api/worktrees/[id]/instances/notes/route_client-reference-manifest.js +1 -1
  130. package/.next/server/app/api/worktrees/[id]/instances/opencode/route.js.nft.json +1 -1
  131. package/.next/server/app/api/worktrees/[id]/instances/opencode/route_client-reference-manifest.js +1 -1
  132. package/.next/server/app/api/worktrees/[id]/interrupt/route.js +1 -1
  133. package/.next/server/app/api/worktrees/[id]/interrupt/route.js.nft.json +1 -1
  134. package/.next/server/app/api/worktrees/[id]/interrupt/route_client-reference-manifest.js +1 -1
  135. package/.next/server/app/api/worktrees/[id]/kill-session/route.js +1 -1
  136. package/.next/server/app/api/worktrees/[id]/kill-session/route.js.nft.json +1 -1
  137. package/.next/server/app/api/worktrees/[id]/kill-session/route_client-reference-manifest.js +1 -1
  138. package/.next/server/app/api/worktrees/[id]/logs/[filename]/route_client-reference-manifest.js +1 -1
  139. package/.next/server/app/api/worktrees/[id]/logs/route_client-reference-manifest.js +1 -1
  140. package/.next/server/app/api/worktrees/[id]/marp-render/route_client-reference-manifest.js +1 -1
  141. package/.next/server/app/api/worktrees/[id]/memos/[memoId]/route_client-reference-manifest.js +1 -1
  142. package/.next/server/app/api/worktrees/[id]/memos/route_client-reference-manifest.js +1 -1
  143. package/.next/server/app/api/worktrees/[id]/messages/route_client-reference-manifest.js +1 -1
  144. package/.next/server/app/api/worktrees/[id]/opencode/diff/route_client-reference-manifest.js +1 -1
  145. package/.next/server/app/api/worktrees/[id]/opencode/session/route_client-reference-manifest.js +1 -1
  146. package/.next/server/app/api/worktrees/[id]/opencode/share/route_client-reference-manifest.js +1 -1
  147. package/.next/server/app/api/worktrees/[id]/prompt-response/route.js +1 -1
  148. package/.next/server/app/api/worktrees/[id]/prompt-response/route.js.nft.json +1 -1
  149. package/.next/server/app/api/worktrees/[id]/prompt-response/route_client-reference-manifest.js +1 -1
  150. package/.next/server/app/api/worktrees/[id]/resolve-target/route_client-reference-manifest.js +1 -1
  151. package/.next/server/app/api/worktrees/[id]/respond/route.js +1 -1
  152. package/.next/server/app/api/worktrees/[id]/respond/route.js.nft.json +1 -1
  153. package/.next/server/app/api/worktrees/[id]/respond/route_client-reference-manifest.js +1 -1
  154. package/.next/server/app/api/worktrees/[id]/route.js +1 -1
  155. package/.next/server/app/api/worktrees/[id]/route.js.nft.json +1 -1
  156. package/.next/server/app/api/worktrees/[id]/route_client-reference-manifest.js +1 -1
  157. package/.next/server/app/api/worktrees/[id]/schedules/[scheduleId]/route_client-reference-manifest.js +1 -1
  158. package/.next/server/app/api/worktrees/[id]/schedules/active/route.js +1 -1
  159. package/.next/server/app/api/worktrees/[id]/schedules/active/route.js.nft.json +1 -1
  160. package/.next/server/app/api/worktrees/[id]/schedules/active/route_client-reference-manifest.js +1 -1
  161. package/.next/server/app/api/worktrees/[id]/schedules/route_client-reference-manifest.js +1 -1
  162. package/.next/server/app/api/worktrees/[id]/search/route_client-reference-manifest.js +1 -1
  163. package/.next/server/app/api/worktrees/[id]/send/route.js +1 -1
  164. package/.next/server/app/api/worktrees/[id]/send/route.js.nft.json +1 -1
  165. package/.next/server/app/api/worktrees/[id]/send/route_client-reference-manifest.js +1 -1
  166. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route.js +1 -1
  167. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route.js.nft.json +1 -1
  168. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route_client-reference-manifest.js +1 -1
  169. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/install/route_client-reference-manifest.js +1 -1
  170. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/plan/route_client-reference-manifest.js +1 -1
  171. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall/route_client-reference-manifest.js +1 -1
  172. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route_client-reference-manifest.js +1 -1
  173. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update/route_client-reference-manifest.js +1 -1
  174. package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update-plan/route_client-reference-manifest.js +1 -1
  175. package/.next/server/app/api/worktrees/[id]/skills/route_client-reference-manifest.js +1 -1
  176. package/.next/server/app/api/worktrees/[id]/slash-commands/route_client-reference-manifest.js +1 -1
  177. package/.next/server/app/api/worktrees/[id]/special-keys/route.js +1 -1
  178. package/.next/server/app/api/worktrees/[id]/special-keys/route.js.nft.json +1 -1
  179. package/.next/server/app/api/worktrees/[id]/special-keys/route_client-reference-manifest.js +1 -1
  180. package/.next/server/app/api/worktrees/[id]/tasks/route_client-reference-manifest.js +1 -1
  181. package/.next/server/app/api/worktrees/[id]/terminal/route.js +1 -1
  182. package/.next/server/app/api/worktrees/[id]/terminal/route.js.nft.json +1 -1
  183. package/.next/server/app/api/worktrees/[id]/terminal/route_client-reference-manifest.js +1 -1
  184. package/.next/server/app/api/worktrees/[id]/timers/history/route_client-reference-manifest.js +1 -1
  185. package/.next/server/app/api/worktrees/[id]/timers/route.js +1 -1
  186. package/.next/server/app/api/worktrees/[id]/timers/route.js.nft.json +1 -1
  187. package/.next/server/app/api/worktrees/[id]/timers/route_client-reference-manifest.js +1 -1
  188. package/.next/server/app/api/worktrees/[id]/todos/[todoId]/route_client-reference-manifest.js +1 -1
  189. package/.next/server/app/api/worktrees/[id]/todos/route_client-reference-manifest.js +1 -1
  190. package/.next/server/app/api/worktrees/[id]/tree/[...path]/route_client-reference-manifest.js +1 -1
  191. package/.next/server/app/api/worktrees/[id]/tree/route_client-reference-manifest.js +1 -1
  192. package/.next/server/app/api/worktrees/[id]/upload/[...path]/route_client-reference-manifest.js +1 -1
  193. package/.next/server/app/api/worktrees/[id]/verify/config/route_client-reference-manifest.js +1 -1
  194. package/.next/server/app/api/worktrees/[id]/verify/route_client-reference-manifest.js +1 -1
  195. package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route_client-reference-manifest.js +1 -1
  196. package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/route_client-reference-manifest.js +1 -1
  197. package/.next/server/app/api/worktrees/[id]/verify/runs/route_client-reference-manifest.js +1 -1
  198. package/.next/server/app/api/worktrees/[id]/viewed/route_client-reference-manifest.js +1 -1
  199. package/.next/server/app/api/worktrees/apply-default-agents/route_client-reference-manifest.js +1 -1
  200. package/.next/server/app/api/worktrees/route.js +1 -1
  201. package/.next/server/app/api/worktrees/route.js.nft.json +1 -1
  202. package/.next/server/app/api/worktrees/route_client-reference-manifest.js +1 -1
  203. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  204. package/.next/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
  205. package/.next/server/app/more/page_client-reference-manifest.js +1 -1
  206. package/.next/server/app/offline/page_client-reference-manifest.js +1 -1
  207. package/.next/server/app/page_client-reference-manifest.js +1 -1
  208. package/.next/server/app/proxy/[...path]/route_client-reference-manifest.js +1 -1
  209. package/.next/server/app/repositories/page_client-reference-manifest.js +1 -1
  210. package/.next/server/app/review/page.js +1 -1
  211. package/.next/server/app/review/page_client-reference-manifest.js +1 -1
  212. package/.next/server/app/sessions/page.js +1 -1
  213. package/.next/server/app/sessions/page.js.nft.json +1 -1
  214. package/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
  215. package/.next/server/app/skills/[skillId]/page_client-reference-manifest.js +1 -1
  216. package/.next/server/app/skills/installed/page_client-reference-manifest.js +1 -1
  217. package/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  218. package/.next/server/app/worktrees/[id]/files/[...path]/page_client-reference-manifest.js +1 -1
  219. package/.next/server/app/worktrees/[id]/page.js +10 -10
  220. package/.next/server/app/worktrees/[id]/page.js.nft.json +1 -1
  221. package/.next/server/app/worktrees/[id]/page_client-reference-manifest.js +1 -1
  222. package/.next/server/app/worktrees/[id]/terminal/page_client-reference-manifest.js +1 -1
  223. package/.next/server/app-paths-manifest.json +31 -30
  224. package/.next/server/chunks/2119.js +1 -1
  225. package/.next/server/chunks/2445.js +1 -1
  226. package/.next/server/chunks/252.js +1 -0
  227. package/.next/server/chunks/2816.js +1 -1
  228. package/.next/server/chunks/3241.js +1 -1
  229. package/.next/server/chunks/3323.js +1 -1
  230. package/.next/server/chunks/4443.js +1 -1
  231. package/.next/server/chunks/5164.js +1 -1
  232. package/.next/server/chunks/6130.js +1 -1
  233. package/.next/server/chunks/650.js +1 -1
  234. package/.next/server/chunks/6661.js +1 -1
  235. package/.next/server/chunks/6793.js +1 -1
  236. package/.next/server/chunks/7685.js +1 -1
  237. package/.next/server/chunks/7905.js +1 -1
  238. package/.next/server/chunks/8581.js +29 -29
  239. package/.next/server/chunks/8673.js +14 -0
  240. package/.next/server/chunks/8728.js +4 -3
  241. package/.next/server/chunks/8800.js +1 -1
  242. package/.next/server/chunks/9080.js +1 -1
  243. package/.next/server/chunks/9731.js +2 -2
  244. package/.next/server/chunks/9882.js +3 -3
  245. package/.next/server/middleware-manifest.json +5 -5
  246. package/.next/server/pages/500.html +1 -1
  247. package/.next/server/server-reference-manifest.json +1 -1
  248. package/.next/static/chunks/{1642-fb2e176aaadbd137.js → 1642-767aed8e7c61ef7f.js} +1 -1
  249. package/.next/static/chunks/{2407-9ac8b6188ddbb119.js → 2407-e259744922e0834c.js} +1 -1
  250. package/.next/static/chunks/{2619-04bc32f026a0d946.js → 2619-a305ad4810f1393a.js} +1 -1
  251. package/.next/static/chunks/4768-979c8a03bed218e7.js +1 -0
  252. package/.next/static/chunks/7705-25076b57224da370.js +1 -0
  253. package/.next/static/chunks/{8165-d3b7c8a7aa776bc7.js → 8165-8944f74c53f3021f.js} +1 -1
  254. package/.next/static/chunks/8606-9a381b996f9b6834.js +1 -0
  255. package/.next/static/chunks/9619-22adf5367c4b7080.js +1 -0
  256. package/.next/static/chunks/app/api/agents/update/{route-70779af8b4c8259a.js → route-0468c3c4baa46028.js} +1 -1
  257. package/.next/static/chunks/app/api/agents/versions/{route-70779af8b4c8259a.js → route-0468c3c4baa46028.js} +1 -1
  258. package/.next/static/chunks/app/api/app/release-notes/{route-70779af8b4c8259a.js → route-0468c3c4baa46028.js} +1 -1
  259. package/.next/static/chunks/app/api/app/update/route-0468c3c4baa46028.js +1 -0
  260. package/.next/static/chunks/app/api/app/update-check/{route-70779af8b4c8259a.js → route-0468c3c4baa46028.js} +1 -1
  261. package/.next/static/chunks/app/api/auth/login/route-0468c3c4baa46028.js +1 -0
  262. package/.next/static/chunks/app/api/auth/logout/route-0468c3c4baa46028.js +1 -0
  263. package/.next/static/chunks/app/api/auth/status/route-0468c3c4baa46028.js +1 -0
  264. package/.next/static/chunks/app/api/capabilities/route-0468c3c4baa46028.js +1 -0
  265. package/.next/static/chunks/app/api/daily-summary/route-0468c3c4baa46028.js +1 -0
  266. package/.next/static/chunks/app/api/daily-summary/status/route-0468c3c4baa46028.js +1 -0
  267. package/.next/static/chunks/app/api/external-apps/[id]/health/route-0468c3c4baa46028.js +1 -0
  268. package/.next/static/chunks/app/api/external-apps/[id]/route-0468c3c4baa46028.js +1 -0
  269. package/.next/static/chunks/app/api/external-apps/route-0468c3c4baa46028.js +1 -0
  270. package/.next/static/chunks/app/api/fs/browse/route-0468c3c4baa46028.js +1 -0
  271. package/.next/static/chunks/app/api/fs/recent-paths/route-0468c3c4baa46028.js +1 -0
  272. package/.next/static/chunks/app/api/hooks/agent-event/route-0468c3c4baa46028.js +1 -0
  273. package/.next/static/chunks/app/api/hooks/claude-done/route-0468c3c4baa46028.js +1 -0
  274. package/.next/static/chunks/app/api/hooks/permission-request/route-0468c3c4baa46028.js +1 -0
  275. package/.next/static/chunks/app/api/metrics/vibe/route-0468c3c4baa46028.js +1 -0
  276. package/.next/static/chunks/app/api/ollama/models/route-0468c3c4baa46028.js +1 -0
  277. package/.next/static/chunks/app/api/push/escalation/route-0468c3c4baa46028.js +1 -0
  278. package/.next/static/chunks/app/api/push/subscriptions/route-0468c3c4baa46028.js +1 -0
  279. package/.next/static/chunks/app/api/push/vapid/route-0468c3c4baa46028.js +1 -0
  280. package/.next/static/chunks/app/api/relays/[relayId]/cancel/route-0468c3c4baa46028.js +1 -0
  281. package/.next/static/chunks/app/api/relays/route-0468c3c4baa46028.js +1 -0
  282. package/.next/static/chunks/app/api/remote/pair/route-0468c3c4baa46028.js +1 -0
  283. package/.next/static/chunks/app/api/repositories/[id]/route-0468c3c4baa46028.js +1 -0
  284. package/.next/static/chunks/app/api/repositories/clone/[jobId]/route-0468c3c4baa46028.js +1 -0
  285. package/.next/static/chunks/app/api/repositories/clone/route-0468c3c4baa46028.js +1 -0
  286. package/.next/static/chunks/app/api/repositories/excluded/route-0468c3c4baa46028.js +1 -0
  287. package/.next/static/chunks/app/api/repositories/restore/route-0468c3c4baa46028.js +1 -0
  288. package/.next/static/chunks/app/api/repositories/route-0468c3c4baa46028.js +1 -0
  289. package/.next/static/chunks/app/api/repositories/scan/route-0468c3c4baa46028.js +1 -0
  290. package/.next/static/chunks/app/api/repositories/sync/route-0468c3c4baa46028.js +1 -0
  291. package/.next/static/chunks/app/api/repositories/validate-path/route-0468c3c4baa46028.js +1 -0
  292. package/.next/static/chunks/app/api/settings/default-agents/route-0468c3c4baa46028.js +1 -0
  293. package/.next/static/chunks/app/api/settings/default-surface-mode/route-0468c3c4baa46028.js +1 -0
  294. package/.next/static/chunks/app/api/sidebar/group-order/route-0468c3c4baa46028.js +1 -0
  295. package/.next/static/chunks/app/api/skills/[id]/route-0468c3c4baa46028.js +1 -0
  296. package/.next/static/chunks/app/api/skills/installations/route-0468c3c4baa46028.js +1 -0
  297. package/.next/static/chunks/app/api/skills/operations/route-0468c3c4baa46028.js +1 -0
  298. package/.next/static/chunks/app/api/skills/reindex/route-0468c3c4baa46028.js +1 -0
  299. package/.next/static/chunks/app/api/skills/route-0468c3c4baa46028.js +1 -0
  300. package/.next/static/chunks/app/api/slash-commands/route-0468c3c4baa46028.js +1 -0
  301. package/.next/static/chunks/app/api/tasks/[taskId]/cancel/route-0468c3c4baa46028.js +1 -0
  302. package/.next/static/chunks/app/api/tasks/[taskId]/route-0468c3c4baa46028.js +1 -0
  303. package/.next/static/chunks/app/api/templates/[id]/route-0468c3c4baa46028.js +1 -0
  304. package/.next/static/chunks/app/api/templates/route-0468c3c4baa46028.js +1 -0
  305. package/.next/static/chunks/app/api/verification/runs/[runId]/route-0468c3c4baa46028.js +1 -0
  306. package/.next/static/chunks/app/api/verification/runs/route-0468c3c4baa46028.js +1 -0
  307. package/.next/static/chunks/app/api/worktrees/[id]/auto-yes/route-0468c3c4baa46028.js +1 -0
  308. package/.next/static/chunks/app/api/worktrees/[id]/capture/route-0468c3c4baa46028.js +1 -0
  309. package/.next/static/chunks/app/api/worktrees/[id]/clear-composer/route-0468c3c4baa46028.js +1 -0
  310. package/.next/static/chunks/app/api/worktrees/[id]/cli-reference/route-0468c3c4baa46028.js +1 -0
  311. package/.next/static/chunks/app/api/worktrees/[id]/cli-tool/route-0468c3c4baa46028.js +1 -0
  312. package/.next/static/chunks/app/api/worktrees/[id]/cmate/schedules/route-0468c3c4baa46028.js +1 -0
  313. package/.next/static/chunks/app/api/worktrees/[id]/current-output/route-0468c3c4baa46028.js +1 -0
  314. package/.next/static/chunks/app/api/worktrees/[id]/direct-input/route-0468c3c4baa46028.js +1 -0
  315. package/.next/static/chunks/app/api/worktrees/[id]/env/route-0468c3c4baa46028.js +1 -0
  316. package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/[logId]/route-0468c3c4baa46028.js +1 -0
  317. package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/route-0468c3c4baa46028.js +1 -0
  318. package/.next/static/chunks/app/api/worktrees/[id]/files/[...path]/route-0468c3c4baa46028.js +1 -0
  319. package/.next/static/chunks/app/api/worktrees/[id]/git/branch/create/route-0468c3c4baa46028.js +1 -0
  320. package/.next/static/chunks/app/api/worktrees/[id]/git/branch/delete/route-0468c3c4baa46028.js +1 -0
  321. package/.next/static/chunks/app/api/worktrees/[id]/git/branches/route-0468c3c4baa46028.js +1 -0
  322. package/.next/static/chunks/app/api/worktrees/[id]/git/checkout/route-0468c3c4baa46028.js +1 -0
  323. package/.next/static/chunks/app/api/worktrees/[id]/git/commit/route-0468c3c4baa46028.js +1 -0
  324. package/.next/static/chunks/app/api/worktrees/[id]/git/diff/route-0468c3c4baa46028.js +1 -0
  325. package/.next/static/chunks/app/api/worktrees/[id]/git/fetch/route-0468c3c4baa46028.js +1 -0
  326. package/.next/static/chunks/app/api/worktrees/[id]/git/log/route-0468c3c4baa46028.js +1 -0
  327. package/.next/static/chunks/app/api/worktrees/[id]/git/pull/route-0468c3c4baa46028.js +1 -0
  328. package/.next/static/chunks/app/api/worktrees/[id]/git/push/route-0468c3c4baa46028.js +1 -0
  329. package/.next/static/chunks/app/api/worktrees/[id]/git/reset/route-0468c3c4baa46028.js +1 -0
  330. package/.next/static/chunks/app/api/worktrees/[id]/git/revert/route-0468c3c4baa46028.js +1 -0
  331. package/.next/static/chunks/app/api/worktrees/[id]/git/show/[commitHash]/route-0468c3c4baa46028.js +1 -0
  332. package/.next/static/chunks/app/api/worktrees/[id]/git/stage/route-0468c3c4baa46028.js +1 -0
  333. package/.next/static/chunks/app/api/worktrees/[id]/git/staged/route-0468c3c4baa46028.js +1 -0
  334. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/[index]/route-0468c3c4baa46028.js +1 -0
  335. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/apply/route-0468c3c4baa46028.js +1 -0
  336. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/pop/route-0468c3c4baa46028.js +1 -0
  337. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/push/route-0468c3c4baa46028.js +1 -0
  338. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/route-0468c3c4baa46028.js +1 -0
  339. package/.next/static/chunks/app/api/worktrees/[id]/git/status/route-0468c3c4baa46028.js +1 -0
  340. package/.next/static/chunks/app/api/worktrees/[id]/git/unstage/route-0468c3c4baa46028.js +1 -0
  341. package/.next/static/chunks/app/api/worktrees/[id]/git/working-diff/route-0468c3c4baa46028.js +1 -0
  342. package/.next/static/chunks/app/api/worktrees/[id]/instances/notes/route-0468c3c4baa46028.js +1 -0
  343. package/.next/static/chunks/app/api/worktrees/[id]/instances/opencode/route-0468c3c4baa46028.js +1 -0
  344. package/.next/static/chunks/app/api/worktrees/[id]/interrupt/route-0468c3c4baa46028.js +1 -0
  345. package/.next/static/chunks/app/api/worktrees/[id]/kill-session/route-0468c3c4baa46028.js +1 -0
  346. package/.next/static/chunks/app/api/worktrees/[id]/logs/[filename]/route-0468c3c4baa46028.js +1 -0
  347. package/.next/static/chunks/app/api/worktrees/[id]/logs/route-0468c3c4baa46028.js +1 -0
  348. package/.next/static/chunks/app/api/worktrees/[id]/marp-render/route-0468c3c4baa46028.js +1 -0
  349. package/.next/static/chunks/app/api/worktrees/[id]/memos/[memoId]/route-0468c3c4baa46028.js +1 -0
  350. package/.next/static/chunks/app/api/worktrees/[id]/memos/route-0468c3c4baa46028.js +1 -0
  351. package/.next/static/chunks/app/api/worktrees/[id]/messages/route-0468c3c4baa46028.js +1 -0
  352. package/.next/static/chunks/app/api/worktrees/[id]/opencode/diff/route-0468c3c4baa46028.js +1 -0
  353. package/.next/static/chunks/app/api/worktrees/[id]/opencode/session/route-0468c3c4baa46028.js +1 -0
  354. package/.next/static/chunks/app/api/worktrees/[id]/opencode/share/route-0468c3c4baa46028.js +1 -0
  355. package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/route-0468c3c4baa46028.js +1 -0
  356. package/.next/static/chunks/app/api/worktrees/[id]/resolve-target/route-0468c3c4baa46028.js +1 -0
  357. package/.next/static/chunks/app/api/worktrees/[id]/respond/route-0468c3c4baa46028.js +1 -0
  358. package/.next/static/chunks/app/api/worktrees/[id]/route-0468c3c4baa46028.js +1 -0
  359. package/.next/static/chunks/app/api/worktrees/[id]/schedules/[scheduleId]/route-0468c3c4baa46028.js +1 -0
  360. package/.next/static/chunks/app/api/worktrees/[id]/schedules/active/route-0468c3c4baa46028.js +1 -0
  361. package/.next/static/chunks/app/api/worktrees/[id]/schedules/route-0468c3c4baa46028.js +1 -0
  362. package/.next/static/chunks/app/api/worktrees/[id]/search/route-0468c3c4baa46028.js +1 -0
  363. package/.next/static/chunks/app/api/worktrees/[id]/send/route-0468c3c4baa46028.js +1 -0
  364. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route-0468c3c4baa46028.js +1 -0
  365. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/install/route-0468c3c4baa46028.js +1 -0
  366. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/plan/route-0468c3c4baa46028.js +1 -0
  367. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall/route-0468c3c4baa46028.js +1 -0
  368. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route-0468c3c4baa46028.js +1 -0
  369. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update/route-0468c3c4baa46028.js +1 -0
  370. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update-plan/route-0468c3c4baa46028.js +1 -0
  371. package/.next/static/chunks/app/api/worktrees/[id]/skills/route-0468c3c4baa46028.js +1 -0
  372. package/.next/static/chunks/app/api/worktrees/[id]/slash-commands/route-0468c3c4baa46028.js +1 -0
  373. package/.next/static/chunks/app/api/worktrees/[id]/special-keys/route-0468c3c4baa46028.js +1 -0
  374. package/.next/static/chunks/app/api/worktrees/[id]/tasks/route-0468c3c4baa46028.js +1 -0
  375. package/.next/static/chunks/app/api/worktrees/[id]/terminal/route-0468c3c4baa46028.js +1 -0
  376. package/.next/static/chunks/app/api/worktrees/[id]/timers/history/route-0468c3c4baa46028.js +1 -0
  377. package/.next/static/chunks/app/api/worktrees/[id]/timers/route-0468c3c4baa46028.js +1 -0
  378. package/.next/static/chunks/app/api/worktrees/[id]/todos/[todoId]/route-0468c3c4baa46028.js +1 -0
  379. package/.next/static/chunks/app/api/worktrees/[id]/todos/route-0468c3c4baa46028.js +1 -0
  380. package/.next/static/chunks/app/api/worktrees/[id]/tree/[...path]/route-0468c3c4baa46028.js +1 -0
  381. package/.next/static/chunks/app/api/worktrees/[id]/tree/route-0468c3c4baa46028.js +1 -0
  382. package/.next/static/chunks/app/api/worktrees/[id]/upload/[...path]/route-0468c3c4baa46028.js +1 -0
  383. package/.next/static/chunks/app/api/worktrees/[id]/verify/config/route-0468c3c4baa46028.js +1 -0
  384. package/.next/static/chunks/app/api/worktrees/[id]/verify/route-0468c3c4baa46028.js +1 -0
  385. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route-0468c3c4baa46028.js +1 -0
  386. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/route-0468c3c4baa46028.js +1 -0
  387. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/route-0468c3c4baa46028.js +1 -0
  388. package/.next/static/chunks/app/api/worktrees/[id]/viewed/route-0468c3c4baa46028.js +1 -0
  389. package/.next/static/chunks/app/api/worktrees/apply-default-agents/route-0468c3c4baa46028.js +1 -0
  390. package/.next/static/chunks/app/api/worktrees/route-0468c3c4baa46028.js +1 -0
  391. package/.next/static/chunks/app/layout-b90cce6a51c91f4c.js +1 -0
  392. package/.next/static/chunks/app/manifest.webmanifest/route-0468c3c4baa46028.js +1 -0
  393. package/.next/static/chunks/app/proxy/[...path]/route-0468c3c4baa46028.js +1 -0
  394. package/.next/static/chunks/app/review/page-30616daa1dc595c2.js +1 -0
  395. package/.next/static/chunks/app/sessions/page-1a8ba152bbcb9efb.js +1 -0
  396. package/.next/static/chunks/app/worktrees/[id]/layout-0468c3c4baa46028.js +1 -0
  397. package/.next/static/chunks/app/worktrees/[id]/page-e9ebdcd317b62e4a.js +1 -0
  398. package/.next/static/chunks/app/worktrees/[id]/terminal/{page-373ea37b16d930c7.js → page-c601f3b3ece6557e.js} +1 -1
  399. package/.next/static/css/974314e796232f53.css +1 -0
  400. package/.next/trace +13 -13
  401. package/.next/types/app/api/worktrees/[id]/direct-input/route.ts +347 -0
  402. package/.next/types/routes.d.ts +2 -1
  403. package/.next/types/validator.ts +9 -0
  404. package/dist/cli/commands/ls.d.ts.map +1 -1
  405. package/dist/cli/commands/ls.js +9 -0
  406. package/dist/cli/commands/peers.d.ts.map +1 -1
  407. package/dist/cli/commands/peers.js +4 -0
  408. package/dist/cli/commands/send.d.ts.map +1 -1
  409. package/dist/cli/commands/send.js +20 -6
  410. package/dist/cli/config/model-validation.d.ts +22 -0
  411. package/dist/cli/config/model-validation.d.ts.map +1 -1
  412. package/dist/cli/config/model-validation.js +35 -1
  413. package/dist/cli/types/api-responses.d.ts +11 -0
  414. package/dist/cli/types/api-responses.d.ts.map +1 -1
  415. package/dist/lib/detection/status-reason.d.ts +13 -0
  416. package/dist/lib/detection/status-reason.d.ts.map +1 -1
  417. package/dist/lib/detection/status-reason.js +13 -0
  418. package/dist/lib/detection/tools/verified-against.d.ts +74 -5
  419. package/dist/lib/detection/tools/verified-against.d.ts.map +1 -1
  420. package/dist/lib/detection/tools/verified-against.js +74 -5
  421. package/dist/server/locales/en/worktree.json +58 -0
  422. package/dist/server/locales/ja/worktree.json +58 -0
  423. package/dist/server/src/config/claude-constants.js +27 -0
  424. package/dist/server/src/lib/cli-tools/base.js +2 -1
  425. package/dist/server/src/lib/cli-tools/claude.js +5 -1
  426. package/dist/server/src/lib/cli-tools/command-code.js +5 -1
  427. package/dist/server/src/lib/cli-tools/direct-input.js +22 -0
  428. package/dist/server/src/lib/cmate-cli-tool-parser.js +31 -0
  429. package/dist/server/src/lib/detection/cli-patterns.js +44 -5
  430. package/dist/server/src/lib/detection/selection-shape.js +274 -19
  431. package/dist/server/src/lib/detection/status-detector.js +2 -0
  432. package/dist/server/src/lib/detection/status-reason.js +13 -0
  433. package/dist/server/src/lib/detection/tools/codex/cli-patterns.js +67 -27
  434. package/dist/server/src/lib/detection/tools/codex/detect.js +18 -3
  435. package/dist/server/src/lib/detection/tools/command-code/detect.js +46 -0
  436. package/dist/server/src/lib/detection/tools/command-code/dialog.js +116 -25
  437. package/dist/server/src/lib/detection/tools/verified-against.js +74 -5
  438. package/dist/server/src/lib/detection/tui-detection-frame.js +18 -3
  439. package/dist/server/src/lib/polling/auto-yes-resolver.js +8 -0
  440. package/dist/server/src/lib/prompt-answer-sender.js +255 -1
  441. package/dist/server/src/lib/realtime-snippet.js +53 -0
  442. package/dist/server/src/lib/session/claude-session.js +19 -2
  443. package/dist/server/src/lib/session/current-output-builder.js +4 -1
  444. package/dist/server/src/lib/session/status-mapping.js +58 -8
  445. package/dist/server/src/lib/tmux/key-sequence.js +27 -1
  446. package/dist/server/src/lib/tmux/tmux-control-client.js +26 -3
  447. package/dist/server/src/lib/tmux/tmux.js +64 -3
  448. package/dist/server/src/types/direct-input.js +113 -0
  449. package/dist/server/src/types/sidebar.js +67 -7
  450. package/dist/server/src/types/terminal-keys.js +33 -1
  451. package/dist/types/terminal-keys.d.ts +28 -1
  452. package/dist/types/terminal-keys.d.ts.map +1 -1
  453. package/dist/types/terminal-keys.js +33 -1
  454. package/package.json +1 -1
  455. package/release-notes/0.40.0.json +69 -0
  456. package/.next/server/chunks/6092.js +0 -14
  457. package/.next/static/chunks/4768-0ad5eb716bed5de9.js +0 -1
  458. package/.next/static/chunks/8606-e893c1dab6fb81bc.js +0 -1
  459. package/.next/static/chunks/9619-7bc0e9524f0773b5.js +0 -1
  460. package/.next/static/chunks/982-edf98d9d54c5ce9b.js +0 -1
  461. package/.next/static/chunks/app/api/app/update/route-70779af8b4c8259a.js +0 -1
  462. package/.next/static/chunks/app/api/auth/login/route-70779af8b4c8259a.js +0 -1
  463. package/.next/static/chunks/app/api/auth/logout/route-70779af8b4c8259a.js +0 -1
  464. package/.next/static/chunks/app/api/auth/status/route-70779af8b4c8259a.js +0 -1
  465. package/.next/static/chunks/app/api/capabilities/route-70779af8b4c8259a.js +0 -1
  466. package/.next/static/chunks/app/api/daily-summary/route-70779af8b4c8259a.js +0 -1
  467. package/.next/static/chunks/app/api/daily-summary/status/route-70779af8b4c8259a.js +0 -1
  468. package/.next/static/chunks/app/api/external-apps/[id]/health/route-70779af8b4c8259a.js +0 -1
  469. package/.next/static/chunks/app/api/external-apps/[id]/route-70779af8b4c8259a.js +0 -1
  470. package/.next/static/chunks/app/api/external-apps/route-70779af8b4c8259a.js +0 -1
  471. package/.next/static/chunks/app/api/fs/browse/route-70779af8b4c8259a.js +0 -1
  472. package/.next/static/chunks/app/api/fs/recent-paths/route-70779af8b4c8259a.js +0 -1
  473. package/.next/static/chunks/app/api/hooks/agent-event/route-70779af8b4c8259a.js +0 -1
  474. package/.next/static/chunks/app/api/hooks/claude-done/route-70779af8b4c8259a.js +0 -1
  475. package/.next/static/chunks/app/api/hooks/permission-request/route-70779af8b4c8259a.js +0 -1
  476. package/.next/static/chunks/app/api/metrics/vibe/route-70779af8b4c8259a.js +0 -1
  477. package/.next/static/chunks/app/api/ollama/models/route-70779af8b4c8259a.js +0 -1
  478. package/.next/static/chunks/app/api/push/escalation/route-70779af8b4c8259a.js +0 -1
  479. package/.next/static/chunks/app/api/push/subscriptions/route-70779af8b4c8259a.js +0 -1
  480. package/.next/static/chunks/app/api/push/vapid/route-70779af8b4c8259a.js +0 -1
  481. package/.next/static/chunks/app/api/relays/[relayId]/cancel/route-70779af8b4c8259a.js +0 -1
  482. package/.next/static/chunks/app/api/relays/route-70779af8b4c8259a.js +0 -1
  483. package/.next/static/chunks/app/api/remote/pair/route-70779af8b4c8259a.js +0 -1
  484. package/.next/static/chunks/app/api/repositories/[id]/route-70779af8b4c8259a.js +0 -1
  485. package/.next/static/chunks/app/api/repositories/clone/[jobId]/route-70779af8b4c8259a.js +0 -1
  486. package/.next/static/chunks/app/api/repositories/clone/route-70779af8b4c8259a.js +0 -1
  487. package/.next/static/chunks/app/api/repositories/excluded/route-70779af8b4c8259a.js +0 -1
  488. package/.next/static/chunks/app/api/repositories/restore/route-70779af8b4c8259a.js +0 -1
  489. package/.next/static/chunks/app/api/repositories/route-70779af8b4c8259a.js +0 -1
  490. package/.next/static/chunks/app/api/repositories/scan/route-70779af8b4c8259a.js +0 -1
  491. package/.next/static/chunks/app/api/repositories/sync/route-70779af8b4c8259a.js +0 -1
  492. package/.next/static/chunks/app/api/repositories/validate-path/route-70779af8b4c8259a.js +0 -1
  493. package/.next/static/chunks/app/api/settings/default-agents/route-70779af8b4c8259a.js +0 -1
  494. package/.next/static/chunks/app/api/settings/default-surface-mode/route-70779af8b4c8259a.js +0 -1
  495. package/.next/static/chunks/app/api/sidebar/group-order/route-70779af8b4c8259a.js +0 -1
  496. package/.next/static/chunks/app/api/skills/[id]/route-70779af8b4c8259a.js +0 -1
  497. package/.next/static/chunks/app/api/skills/installations/route-70779af8b4c8259a.js +0 -1
  498. package/.next/static/chunks/app/api/skills/operations/route-70779af8b4c8259a.js +0 -1
  499. package/.next/static/chunks/app/api/skills/reindex/route-70779af8b4c8259a.js +0 -1
  500. package/.next/static/chunks/app/api/skills/route-70779af8b4c8259a.js +0 -1
  501. package/.next/static/chunks/app/api/slash-commands/route-70779af8b4c8259a.js +0 -1
  502. package/.next/static/chunks/app/api/tasks/[taskId]/cancel/route-70779af8b4c8259a.js +0 -1
  503. package/.next/static/chunks/app/api/tasks/[taskId]/route-70779af8b4c8259a.js +0 -1
  504. package/.next/static/chunks/app/api/templates/[id]/route-70779af8b4c8259a.js +0 -1
  505. package/.next/static/chunks/app/api/templates/route-70779af8b4c8259a.js +0 -1
  506. package/.next/static/chunks/app/api/verification/runs/[runId]/route-70779af8b4c8259a.js +0 -1
  507. package/.next/static/chunks/app/api/verification/runs/route-70779af8b4c8259a.js +0 -1
  508. package/.next/static/chunks/app/api/worktrees/[id]/auto-yes/route-70779af8b4c8259a.js +0 -1
  509. package/.next/static/chunks/app/api/worktrees/[id]/capture/route-70779af8b4c8259a.js +0 -1
  510. package/.next/static/chunks/app/api/worktrees/[id]/clear-composer/route-70779af8b4c8259a.js +0 -1
  511. package/.next/static/chunks/app/api/worktrees/[id]/cli-reference/route-70779af8b4c8259a.js +0 -1
  512. package/.next/static/chunks/app/api/worktrees/[id]/cli-tool/route-70779af8b4c8259a.js +0 -1
  513. package/.next/static/chunks/app/api/worktrees/[id]/cmate/schedules/route-70779af8b4c8259a.js +0 -1
  514. package/.next/static/chunks/app/api/worktrees/[id]/current-output/route-70779af8b4c8259a.js +0 -1
  515. package/.next/static/chunks/app/api/worktrees/[id]/env/route-70779af8b4c8259a.js +0 -1
  516. package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/[logId]/route-70779af8b4c8259a.js +0 -1
  517. package/.next/static/chunks/app/api/worktrees/[id]/execution-logs/route-70779af8b4c8259a.js +0 -1
  518. package/.next/static/chunks/app/api/worktrees/[id]/files/[...path]/route-70779af8b4c8259a.js +0 -1
  519. package/.next/static/chunks/app/api/worktrees/[id]/git/branch/create/route-70779af8b4c8259a.js +0 -1
  520. package/.next/static/chunks/app/api/worktrees/[id]/git/branch/delete/route-70779af8b4c8259a.js +0 -1
  521. package/.next/static/chunks/app/api/worktrees/[id]/git/branches/route-70779af8b4c8259a.js +0 -1
  522. package/.next/static/chunks/app/api/worktrees/[id]/git/checkout/route-70779af8b4c8259a.js +0 -1
  523. package/.next/static/chunks/app/api/worktrees/[id]/git/commit/route-70779af8b4c8259a.js +0 -1
  524. package/.next/static/chunks/app/api/worktrees/[id]/git/diff/route-70779af8b4c8259a.js +0 -1
  525. package/.next/static/chunks/app/api/worktrees/[id]/git/fetch/route-70779af8b4c8259a.js +0 -1
  526. package/.next/static/chunks/app/api/worktrees/[id]/git/log/route-70779af8b4c8259a.js +0 -1
  527. package/.next/static/chunks/app/api/worktrees/[id]/git/pull/route-70779af8b4c8259a.js +0 -1
  528. package/.next/static/chunks/app/api/worktrees/[id]/git/push/route-70779af8b4c8259a.js +0 -1
  529. package/.next/static/chunks/app/api/worktrees/[id]/git/reset/route-70779af8b4c8259a.js +0 -1
  530. package/.next/static/chunks/app/api/worktrees/[id]/git/revert/route-70779af8b4c8259a.js +0 -1
  531. package/.next/static/chunks/app/api/worktrees/[id]/git/show/[commitHash]/route-70779af8b4c8259a.js +0 -1
  532. package/.next/static/chunks/app/api/worktrees/[id]/git/stage/route-70779af8b4c8259a.js +0 -1
  533. package/.next/static/chunks/app/api/worktrees/[id]/git/staged/route-70779af8b4c8259a.js +0 -1
  534. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/[index]/route-70779af8b4c8259a.js +0 -1
  535. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/apply/route-70779af8b4c8259a.js +0 -1
  536. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/pop/route-70779af8b4c8259a.js +0 -1
  537. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/push/route-70779af8b4c8259a.js +0 -1
  538. package/.next/static/chunks/app/api/worktrees/[id]/git/stash/route-70779af8b4c8259a.js +0 -1
  539. package/.next/static/chunks/app/api/worktrees/[id]/git/status/route-70779af8b4c8259a.js +0 -1
  540. package/.next/static/chunks/app/api/worktrees/[id]/git/unstage/route-70779af8b4c8259a.js +0 -1
  541. package/.next/static/chunks/app/api/worktrees/[id]/git/working-diff/route-70779af8b4c8259a.js +0 -1
  542. package/.next/static/chunks/app/api/worktrees/[id]/instances/notes/route-70779af8b4c8259a.js +0 -1
  543. package/.next/static/chunks/app/api/worktrees/[id]/instances/opencode/route-70779af8b4c8259a.js +0 -1
  544. package/.next/static/chunks/app/api/worktrees/[id]/interrupt/route-70779af8b4c8259a.js +0 -1
  545. package/.next/static/chunks/app/api/worktrees/[id]/kill-session/route-70779af8b4c8259a.js +0 -1
  546. package/.next/static/chunks/app/api/worktrees/[id]/logs/[filename]/route-70779af8b4c8259a.js +0 -1
  547. package/.next/static/chunks/app/api/worktrees/[id]/logs/route-70779af8b4c8259a.js +0 -1
  548. package/.next/static/chunks/app/api/worktrees/[id]/marp-render/route-70779af8b4c8259a.js +0 -1
  549. package/.next/static/chunks/app/api/worktrees/[id]/memos/[memoId]/route-70779af8b4c8259a.js +0 -1
  550. package/.next/static/chunks/app/api/worktrees/[id]/memos/route-70779af8b4c8259a.js +0 -1
  551. package/.next/static/chunks/app/api/worktrees/[id]/messages/route-70779af8b4c8259a.js +0 -1
  552. package/.next/static/chunks/app/api/worktrees/[id]/opencode/diff/route-70779af8b4c8259a.js +0 -1
  553. package/.next/static/chunks/app/api/worktrees/[id]/opencode/session/route-70779af8b4c8259a.js +0 -1
  554. package/.next/static/chunks/app/api/worktrees/[id]/opencode/share/route-70779af8b4c8259a.js +0 -1
  555. package/.next/static/chunks/app/api/worktrees/[id]/prompt-response/route-70779af8b4c8259a.js +0 -1
  556. package/.next/static/chunks/app/api/worktrees/[id]/resolve-target/route-70779af8b4c8259a.js +0 -1
  557. package/.next/static/chunks/app/api/worktrees/[id]/respond/route-70779af8b4c8259a.js +0 -1
  558. package/.next/static/chunks/app/api/worktrees/[id]/route-70779af8b4c8259a.js +0 -1
  559. package/.next/static/chunks/app/api/worktrees/[id]/schedules/[scheduleId]/route-70779af8b4c8259a.js +0 -1
  560. package/.next/static/chunks/app/api/worktrees/[id]/schedules/active/route-70779af8b4c8259a.js +0 -1
  561. package/.next/static/chunks/app/api/worktrees/[id]/schedules/route-70779af8b4c8259a.js +0 -1
  562. package/.next/static/chunks/app/api/worktrees/[id]/search/route-70779af8b4c8259a.js +0 -1
  563. package/.next/static/chunks/app/api/worktrees/[id]/send/route-70779af8b4c8259a.js +0 -1
  564. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route-70779af8b4c8259a.js +0 -1
  565. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/install/route-70779af8b4c8259a.js +0 -1
  566. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/plan/route-70779af8b4c8259a.js +0 -1
  567. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall/route-70779af8b4c8259a.js +0 -1
  568. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route-70779af8b4c8259a.js +0 -1
  569. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update/route-70779af8b4c8259a.js +0 -1
  570. package/.next/static/chunks/app/api/worktrees/[id]/skills/[skillId]/update-plan/route-70779af8b4c8259a.js +0 -1
  571. package/.next/static/chunks/app/api/worktrees/[id]/skills/route-70779af8b4c8259a.js +0 -1
  572. package/.next/static/chunks/app/api/worktrees/[id]/slash-commands/route-70779af8b4c8259a.js +0 -1
  573. package/.next/static/chunks/app/api/worktrees/[id]/special-keys/route-70779af8b4c8259a.js +0 -1
  574. package/.next/static/chunks/app/api/worktrees/[id]/tasks/route-70779af8b4c8259a.js +0 -1
  575. package/.next/static/chunks/app/api/worktrees/[id]/terminal/route-70779af8b4c8259a.js +0 -1
  576. package/.next/static/chunks/app/api/worktrees/[id]/timers/history/route-70779af8b4c8259a.js +0 -1
  577. package/.next/static/chunks/app/api/worktrees/[id]/timers/route-70779af8b4c8259a.js +0 -1
  578. package/.next/static/chunks/app/api/worktrees/[id]/todos/[todoId]/route-70779af8b4c8259a.js +0 -1
  579. package/.next/static/chunks/app/api/worktrees/[id]/todos/route-70779af8b4c8259a.js +0 -1
  580. package/.next/static/chunks/app/api/worktrees/[id]/tree/[...path]/route-70779af8b4c8259a.js +0 -1
  581. package/.next/static/chunks/app/api/worktrees/[id]/tree/route-70779af8b4c8259a.js +0 -1
  582. package/.next/static/chunks/app/api/worktrees/[id]/upload/[...path]/route-70779af8b4c8259a.js +0 -1
  583. package/.next/static/chunks/app/api/worktrees/[id]/verify/config/route-70779af8b4c8259a.js +0 -1
  584. package/.next/static/chunks/app/api/worktrees/[id]/verify/route-70779af8b4c8259a.js +0 -1
  585. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route-70779af8b4c8259a.js +0 -1
  586. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/[runId]/route-70779af8b4c8259a.js +0 -1
  587. package/.next/static/chunks/app/api/worktrees/[id]/verify/runs/route-70779af8b4c8259a.js +0 -1
  588. package/.next/static/chunks/app/api/worktrees/[id]/viewed/route-70779af8b4c8259a.js +0 -1
  589. package/.next/static/chunks/app/api/worktrees/apply-default-agents/route-70779af8b4c8259a.js +0 -1
  590. package/.next/static/chunks/app/api/worktrees/route-70779af8b4c8259a.js +0 -1
  591. package/.next/static/chunks/app/layout-542d075e9d7cc541.js +0 -1
  592. package/.next/static/chunks/app/manifest.webmanifest/route-70779af8b4c8259a.js +0 -1
  593. package/.next/static/chunks/app/proxy/[...path]/route-70779af8b4c8259a.js +0 -1
  594. package/.next/static/chunks/app/review/page-8ed49e2edcc7667b.js +0 -1
  595. package/.next/static/chunks/app/sessions/page-56f6a2466dd0479d.js +0 -1
  596. package/.next/static/chunks/app/worktrees/[id]/layout-70779af8b4c8259a.js +0 -1
  597. package/.next/static/chunks/app/worktrees/[id]/page-760408096ad697b4.js +0 -1
  598. package/.next/static/css/b4aaf81d10efdd00.css +0 -1
  599. /package/.next/static/{7Ge9-hsqlip_Z6bhEnVkd → o3mZdwNhCks6IlcAOPinc}/_buildManifest.js +0 -0
  600. /package/.next/static/{7Ge9-hsqlip_Z6bhEnVkd → o3mZdwNhCks6IlcAOPinc}/_ssgManifest.js +0 -0
@@ -0,0 +1,347 @@
1
+ // File: /home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/direct-input/route.ts
2
+ import * as entry from '../../../../../../../src/app/api/worktrees/[id]/direct-input/route.js'
3
+ import type { NextRequest } from 'next/server.js'
4
+
5
+ type TEntry = typeof import('../../../../../../../src/app/api/worktrees/[id]/direct-input/route.js')
6
+
7
+ type SegmentParams<T extends Object = any> = T extends Record<string, any>
8
+ ? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
9
+ : T
10
+
11
+ // Check that the entry is a valid entry
12
+ checkFields<Diff<{
13
+ GET?: Function
14
+ HEAD?: Function
15
+ OPTIONS?: Function
16
+ POST?: Function
17
+ PUT?: Function
18
+ DELETE?: Function
19
+ PATCH?: Function
20
+ config?: {}
21
+ generateStaticParams?: Function
22
+ revalidate?: RevalidateRange<TEntry> | false
23
+ dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
24
+ dynamicParams?: boolean
25
+ fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
26
+ preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
27
+ runtime?: 'nodejs' | 'experimental-edge' | 'edge'
28
+ maxDuration?: number
29
+
30
+ }, TEntry, ''>>()
31
+
32
+ type RouteContext = { params: Promise<SegmentParams> }
33
+ // Check the prop type of the entry function
34
+ if ('GET' in entry) {
35
+ checkFields<
36
+ Diff<
37
+ ParamCheck<Request | NextRequest>,
38
+ {
39
+ __tag__: 'GET'
40
+ __param_position__: 'first'
41
+ __param_type__: FirstArg<MaybeField<TEntry, 'GET'>>
42
+ },
43
+ 'GET'
44
+ >
45
+ >()
46
+ checkFields<
47
+ Diff<
48
+ ParamCheck<RouteContext>,
49
+ {
50
+ __tag__: 'GET'
51
+ __param_position__: 'second'
52
+ __param_type__: SecondArg<MaybeField<TEntry, 'GET'>>
53
+ },
54
+ 'GET'
55
+ >
56
+ >()
57
+
58
+ checkFields<
59
+ Diff<
60
+ {
61
+ __tag__: 'GET',
62
+ __return_type__: Response | void | never | Promise<Response | void | never>
63
+ },
64
+ {
65
+ __tag__: 'GET',
66
+ __return_type__: ReturnType<MaybeField<TEntry, 'GET'>>
67
+ },
68
+ 'GET'
69
+ >
70
+ >()
71
+ }
72
+ // Check the prop type of the entry function
73
+ if ('HEAD' in entry) {
74
+ checkFields<
75
+ Diff<
76
+ ParamCheck<Request | NextRequest>,
77
+ {
78
+ __tag__: 'HEAD'
79
+ __param_position__: 'first'
80
+ __param_type__: FirstArg<MaybeField<TEntry, 'HEAD'>>
81
+ },
82
+ 'HEAD'
83
+ >
84
+ >()
85
+ checkFields<
86
+ Diff<
87
+ ParamCheck<RouteContext>,
88
+ {
89
+ __tag__: 'HEAD'
90
+ __param_position__: 'second'
91
+ __param_type__: SecondArg<MaybeField<TEntry, 'HEAD'>>
92
+ },
93
+ 'HEAD'
94
+ >
95
+ >()
96
+
97
+ checkFields<
98
+ Diff<
99
+ {
100
+ __tag__: 'HEAD',
101
+ __return_type__: Response | void | never | Promise<Response | void | never>
102
+ },
103
+ {
104
+ __tag__: 'HEAD',
105
+ __return_type__: ReturnType<MaybeField<TEntry, 'HEAD'>>
106
+ },
107
+ 'HEAD'
108
+ >
109
+ >()
110
+ }
111
+ // Check the prop type of the entry function
112
+ if ('OPTIONS' in entry) {
113
+ checkFields<
114
+ Diff<
115
+ ParamCheck<Request | NextRequest>,
116
+ {
117
+ __tag__: 'OPTIONS'
118
+ __param_position__: 'first'
119
+ __param_type__: FirstArg<MaybeField<TEntry, 'OPTIONS'>>
120
+ },
121
+ 'OPTIONS'
122
+ >
123
+ >()
124
+ checkFields<
125
+ Diff<
126
+ ParamCheck<RouteContext>,
127
+ {
128
+ __tag__: 'OPTIONS'
129
+ __param_position__: 'second'
130
+ __param_type__: SecondArg<MaybeField<TEntry, 'OPTIONS'>>
131
+ },
132
+ 'OPTIONS'
133
+ >
134
+ >()
135
+
136
+ checkFields<
137
+ Diff<
138
+ {
139
+ __tag__: 'OPTIONS',
140
+ __return_type__: Response | void | never | Promise<Response | void | never>
141
+ },
142
+ {
143
+ __tag__: 'OPTIONS',
144
+ __return_type__: ReturnType<MaybeField<TEntry, 'OPTIONS'>>
145
+ },
146
+ 'OPTIONS'
147
+ >
148
+ >()
149
+ }
150
+ // Check the prop type of the entry function
151
+ if ('POST' in entry) {
152
+ checkFields<
153
+ Diff<
154
+ ParamCheck<Request | NextRequest>,
155
+ {
156
+ __tag__: 'POST'
157
+ __param_position__: 'first'
158
+ __param_type__: FirstArg<MaybeField<TEntry, 'POST'>>
159
+ },
160
+ 'POST'
161
+ >
162
+ >()
163
+ checkFields<
164
+ Diff<
165
+ ParamCheck<RouteContext>,
166
+ {
167
+ __tag__: 'POST'
168
+ __param_position__: 'second'
169
+ __param_type__: SecondArg<MaybeField<TEntry, 'POST'>>
170
+ },
171
+ 'POST'
172
+ >
173
+ >()
174
+
175
+ checkFields<
176
+ Diff<
177
+ {
178
+ __tag__: 'POST',
179
+ __return_type__: Response | void | never | Promise<Response | void | never>
180
+ },
181
+ {
182
+ __tag__: 'POST',
183
+ __return_type__: ReturnType<MaybeField<TEntry, 'POST'>>
184
+ },
185
+ 'POST'
186
+ >
187
+ >()
188
+ }
189
+ // Check the prop type of the entry function
190
+ if ('PUT' in entry) {
191
+ checkFields<
192
+ Diff<
193
+ ParamCheck<Request | NextRequest>,
194
+ {
195
+ __tag__: 'PUT'
196
+ __param_position__: 'first'
197
+ __param_type__: FirstArg<MaybeField<TEntry, 'PUT'>>
198
+ },
199
+ 'PUT'
200
+ >
201
+ >()
202
+ checkFields<
203
+ Diff<
204
+ ParamCheck<RouteContext>,
205
+ {
206
+ __tag__: 'PUT'
207
+ __param_position__: 'second'
208
+ __param_type__: SecondArg<MaybeField<TEntry, 'PUT'>>
209
+ },
210
+ 'PUT'
211
+ >
212
+ >()
213
+
214
+ checkFields<
215
+ Diff<
216
+ {
217
+ __tag__: 'PUT',
218
+ __return_type__: Response | void | never | Promise<Response | void | never>
219
+ },
220
+ {
221
+ __tag__: 'PUT',
222
+ __return_type__: ReturnType<MaybeField<TEntry, 'PUT'>>
223
+ },
224
+ 'PUT'
225
+ >
226
+ >()
227
+ }
228
+ // Check the prop type of the entry function
229
+ if ('DELETE' in entry) {
230
+ checkFields<
231
+ Diff<
232
+ ParamCheck<Request | NextRequest>,
233
+ {
234
+ __tag__: 'DELETE'
235
+ __param_position__: 'first'
236
+ __param_type__: FirstArg<MaybeField<TEntry, 'DELETE'>>
237
+ },
238
+ 'DELETE'
239
+ >
240
+ >()
241
+ checkFields<
242
+ Diff<
243
+ ParamCheck<RouteContext>,
244
+ {
245
+ __tag__: 'DELETE'
246
+ __param_position__: 'second'
247
+ __param_type__: SecondArg<MaybeField<TEntry, 'DELETE'>>
248
+ },
249
+ 'DELETE'
250
+ >
251
+ >()
252
+
253
+ checkFields<
254
+ Diff<
255
+ {
256
+ __tag__: 'DELETE',
257
+ __return_type__: Response | void | never | Promise<Response | void | never>
258
+ },
259
+ {
260
+ __tag__: 'DELETE',
261
+ __return_type__: ReturnType<MaybeField<TEntry, 'DELETE'>>
262
+ },
263
+ 'DELETE'
264
+ >
265
+ >()
266
+ }
267
+ // Check the prop type of the entry function
268
+ if ('PATCH' in entry) {
269
+ checkFields<
270
+ Diff<
271
+ ParamCheck<Request | NextRequest>,
272
+ {
273
+ __tag__: 'PATCH'
274
+ __param_position__: 'first'
275
+ __param_type__: FirstArg<MaybeField<TEntry, 'PATCH'>>
276
+ },
277
+ 'PATCH'
278
+ >
279
+ >()
280
+ checkFields<
281
+ Diff<
282
+ ParamCheck<RouteContext>,
283
+ {
284
+ __tag__: 'PATCH'
285
+ __param_position__: 'second'
286
+ __param_type__: SecondArg<MaybeField<TEntry, 'PATCH'>>
287
+ },
288
+ 'PATCH'
289
+ >
290
+ >()
291
+
292
+ checkFields<
293
+ Diff<
294
+ {
295
+ __tag__: 'PATCH',
296
+ __return_type__: Response | void | never | Promise<Response | void | never>
297
+ },
298
+ {
299
+ __tag__: 'PATCH',
300
+ __return_type__: ReturnType<MaybeField<TEntry, 'PATCH'>>
301
+ },
302
+ 'PATCH'
303
+ >
304
+ >()
305
+ }
306
+
307
+ // Check the arguments and return type of the generateStaticParams function
308
+ if ('generateStaticParams' in entry) {
309
+ checkFields<Diff<{ params: SegmentParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
310
+ checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
311
+ }
312
+
313
+ export interface PageProps {
314
+ params?: Promise<SegmentParams>
315
+ searchParams?: Promise<any>
316
+ }
317
+ export interface LayoutProps {
318
+ children?: React.ReactNode
319
+
320
+ params?: Promise<SegmentParams>
321
+ }
322
+
323
+ // =============
324
+ // Utility types
325
+ type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
326
+
327
+ // If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
328
+ type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
329
+ type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
330
+
331
+ type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
332
+ type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
333
+ type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
334
+
335
+ type ParamCheck<T> = {
336
+ __tag__: string
337
+ __param_position__: string
338
+ __param_type__: T
339
+ }
340
+
341
+ function checkFields<_ extends { [k in keyof any]: never }>() {}
342
+
343
+ // https://github.com/sindresorhus/type-fest
344
+ type Numeric = number | bigint
345
+ type Zero = 0 | 0n
346
+ type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
347
+ type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'
@@ -2,7 +2,7 @@
2
2
  // Do not edit this file manually
3
3
 
4
4
  type AppRoutes = "/" | "/login" | "/more" | "/offline" | "/repositories" | "/review" | "/sessions" | "/skills" | "/skills/[skillId]" | "/skills/installed" | "/worktrees/[id]" | "/worktrees/[id]/files/[...path]" | "/worktrees/[id]/terminal"
5
- type AppRouteHandlerRoutes = "/api/agents/update" | "/api/agents/versions" | "/api/app/release-notes" | "/api/app/update" | "/api/app/update-check" | "/api/auth/login" | "/api/auth/logout" | "/api/auth/status" | "/api/capabilities" | "/api/daily-summary" | "/api/daily-summary/status" | "/api/external-apps" | "/api/external-apps/[id]" | "/api/external-apps/[id]/health" | "/api/fs/browse" | "/api/fs/recent-paths" | "/api/hooks/agent-event" | "/api/hooks/claude-done" | "/api/hooks/permission-request" | "/api/metrics/vibe" | "/api/ollama/models" | "/api/push/escalation" | "/api/push/subscriptions" | "/api/push/vapid" | "/api/relays" | "/api/relays/[relayId]/cancel" | "/api/remote/pair" | "/api/repositories" | "/api/repositories/[id]" | "/api/repositories/clone" | "/api/repositories/clone/[jobId]" | "/api/repositories/excluded" | "/api/repositories/restore" | "/api/repositories/scan" | "/api/repositories/sync" | "/api/repositories/validate-path" | "/api/settings/default-agents" | "/api/settings/default-surface-mode" | "/api/sidebar/group-order" | "/api/skills" | "/api/skills/[id]" | "/api/skills/installations" | "/api/skills/operations" | "/api/skills/reindex" | "/api/slash-commands" | "/api/tasks/[taskId]" | "/api/tasks/[taskId]/cancel" | "/api/templates" | "/api/templates/[id]" | "/api/verification/runs" | "/api/verification/runs/[runId]" | "/api/worktrees" | "/api/worktrees/[id]" | "/api/worktrees/[id]/auto-yes" | "/api/worktrees/[id]/capture" | "/api/worktrees/[id]/clear-composer" | "/api/worktrees/[id]/cli-reference" | "/api/worktrees/[id]/cli-tool" | "/api/worktrees/[id]/cmate/schedules" | "/api/worktrees/[id]/current-output" | "/api/worktrees/[id]/env" | "/api/worktrees/[id]/execution-logs" | "/api/worktrees/[id]/execution-logs/[logId]" | "/api/worktrees/[id]/files/[...path]" | "/api/worktrees/[id]/git/branch/create" | "/api/worktrees/[id]/git/branch/delete" | "/api/worktrees/[id]/git/branches" | "/api/worktrees/[id]/git/checkout" | "/api/worktrees/[id]/git/commit" | "/api/worktrees/[id]/git/diff" | "/api/worktrees/[id]/git/fetch" | "/api/worktrees/[id]/git/log" | "/api/worktrees/[id]/git/pull" | "/api/worktrees/[id]/git/push" | "/api/worktrees/[id]/git/reset" | "/api/worktrees/[id]/git/revert" | "/api/worktrees/[id]/git/show/[commitHash]" | "/api/worktrees/[id]/git/stage" | "/api/worktrees/[id]/git/staged" | "/api/worktrees/[id]/git/stash" | "/api/worktrees/[id]/git/stash/[index]" | "/api/worktrees/[id]/git/stash/apply" | "/api/worktrees/[id]/git/stash/pop" | "/api/worktrees/[id]/git/stash/push" | "/api/worktrees/[id]/git/status" | "/api/worktrees/[id]/git/unstage" | "/api/worktrees/[id]/git/working-diff" | "/api/worktrees/[id]/instances/notes" | "/api/worktrees/[id]/instances/opencode" | "/api/worktrees/[id]/interrupt" | "/api/worktrees/[id]/kill-session" | "/api/worktrees/[id]/logs" | "/api/worktrees/[id]/logs/[filename]" | "/api/worktrees/[id]/marp-render" | "/api/worktrees/[id]/memos" | "/api/worktrees/[id]/memos/[memoId]" | "/api/worktrees/[id]/messages" | "/api/worktrees/[id]/opencode/diff" | "/api/worktrees/[id]/opencode/session" | "/api/worktrees/[id]/opencode/share" | "/api/worktrees/[id]/prompt-response" | "/api/worktrees/[id]/resolve-target" | "/api/worktrees/[id]/respond" | "/api/worktrees/[id]/schedules" | "/api/worktrees/[id]/schedules/[scheduleId]" | "/api/worktrees/[id]/schedules/active" | "/api/worktrees/[id]/search" | "/api/worktrees/[id]/send" | "/api/worktrees/[id]/skills" | "/api/worktrees/[id]/skills/[skillId]/git-workflow" | "/api/worktrees/[id]/skills/[skillId]/install" | "/api/worktrees/[id]/skills/[skillId]/plan" | "/api/worktrees/[id]/skills/[skillId]/uninstall" | "/api/worktrees/[id]/skills/[skillId]/uninstall-plan" | "/api/worktrees/[id]/skills/[skillId]/update" | "/api/worktrees/[id]/skills/[skillId]/update-plan" | "/api/worktrees/[id]/slash-commands" | "/api/worktrees/[id]/special-keys" | "/api/worktrees/[id]/tasks" | "/api/worktrees/[id]/terminal" | "/api/worktrees/[id]/timers" | "/api/worktrees/[id]/timers/history" | "/api/worktrees/[id]/todos" | "/api/worktrees/[id]/todos/[todoId]" | "/api/worktrees/[id]/tree" | "/api/worktrees/[id]/tree/[...path]" | "/api/worktrees/[id]/upload/[...path]" | "/api/worktrees/[id]/verify" | "/api/worktrees/[id]/verify/config" | "/api/worktrees/[id]/verify/runs" | "/api/worktrees/[id]/verify/runs/[runId]" | "/api/worktrees/[id]/verify/runs/[runId]/cancel" | "/api/worktrees/[id]/viewed" | "/api/worktrees/apply-default-agents" | "/proxy/[...path]"
5
+ type AppRouteHandlerRoutes = "/api/agents/update" | "/api/agents/versions" | "/api/app/release-notes" | "/api/app/update" | "/api/app/update-check" | "/api/auth/login" | "/api/auth/logout" | "/api/auth/status" | "/api/capabilities" | "/api/daily-summary" | "/api/daily-summary/status" | "/api/external-apps" | "/api/external-apps/[id]" | "/api/external-apps/[id]/health" | "/api/fs/browse" | "/api/fs/recent-paths" | "/api/hooks/agent-event" | "/api/hooks/claude-done" | "/api/hooks/permission-request" | "/api/metrics/vibe" | "/api/ollama/models" | "/api/push/escalation" | "/api/push/subscriptions" | "/api/push/vapid" | "/api/relays" | "/api/relays/[relayId]/cancel" | "/api/remote/pair" | "/api/repositories" | "/api/repositories/[id]" | "/api/repositories/clone" | "/api/repositories/clone/[jobId]" | "/api/repositories/excluded" | "/api/repositories/restore" | "/api/repositories/scan" | "/api/repositories/sync" | "/api/repositories/validate-path" | "/api/settings/default-agents" | "/api/settings/default-surface-mode" | "/api/sidebar/group-order" | "/api/skills" | "/api/skills/[id]" | "/api/skills/installations" | "/api/skills/operations" | "/api/skills/reindex" | "/api/slash-commands" | "/api/tasks/[taskId]" | "/api/tasks/[taskId]/cancel" | "/api/templates" | "/api/templates/[id]" | "/api/verification/runs" | "/api/verification/runs/[runId]" | "/api/worktrees" | "/api/worktrees/[id]" | "/api/worktrees/[id]/auto-yes" | "/api/worktrees/[id]/capture" | "/api/worktrees/[id]/clear-composer" | "/api/worktrees/[id]/cli-reference" | "/api/worktrees/[id]/cli-tool" | "/api/worktrees/[id]/cmate/schedules" | "/api/worktrees/[id]/current-output" | "/api/worktrees/[id]/direct-input" | "/api/worktrees/[id]/env" | "/api/worktrees/[id]/execution-logs" | "/api/worktrees/[id]/execution-logs/[logId]" | "/api/worktrees/[id]/files/[...path]" | "/api/worktrees/[id]/git/branch/create" | "/api/worktrees/[id]/git/branch/delete" | "/api/worktrees/[id]/git/branches" | "/api/worktrees/[id]/git/checkout" | "/api/worktrees/[id]/git/commit" | "/api/worktrees/[id]/git/diff" | "/api/worktrees/[id]/git/fetch" | "/api/worktrees/[id]/git/log" | "/api/worktrees/[id]/git/pull" | "/api/worktrees/[id]/git/push" | "/api/worktrees/[id]/git/reset" | "/api/worktrees/[id]/git/revert" | "/api/worktrees/[id]/git/show/[commitHash]" | "/api/worktrees/[id]/git/stage" | "/api/worktrees/[id]/git/staged" | "/api/worktrees/[id]/git/stash" | "/api/worktrees/[id]/git/stash/[index]" | "/api/worktrees/[id]/git/stash/apply" | "/api/worktrees/[id]/git/stash/pop" | "/api/worktrees/[id]/git/stash/push" | "/api/worktrees/[id]/git/status" | "/api/worktrees/[id]/git/unstage" | "/api/worktrees/[id]/git/working-diff" | "/api/worktrees/[id]/instances/notes" | "/api/worktrees/[id]/instances/opencode" | "/api/worktrees/[id]/interrupt" | "/api/worktrees/[id]/kill-session" | "/api/worktrees/[id]/logs" | "/api/worktrees/[id]/logs/[filename]" | "/api/worktrees/[id]/marp-render" | "/api/worktrees/[id]/memos" | "/api/worktrees/[id]/memos/[memoId]" | "/api/worktrees/[id]/messages" | "/api/worktrees/[id]/opencode/diff" | "/api/worktrees/[id]/opencode/session" | "/api/worktrees/[id]/opencode/share" | "/api/worktrees/[id]/prompt-response" | "/api/worktrees/[id]/resolve-target" | "/api/worktrees/[id]/respond" | "/api/worktrees/[id]/schedules" | "/api/worktrees/[id]/schedules/[scheduleId]" | "/api/worktrees/[id]/schedules/active" | "/api/worktrees/[id]/search" | "/api/worktrees/[id]/send" | "/api/worktrees/[id]/skills" | "/api/worktrees/[id]/skills/[skillId]/git-workflow" | "/api/worktrees/[id]/skills/[skillId]/install" | "/api/worktrees/[id]/skills/[skillId]/plan" | "/api/worktrees/[id]/skills/[skillId]/uninstall" | "/api/worktrees/[id]/skills/[skillId]/uninstall-plan" | "/api/worktrees/[id]/skills/[skillId]/update" | "/api/worktrees/[id]/skills/[skillId]/update-plan" | "/api/worktrees/[id]/slash-commands" | "/api/worktrees/[id]/special-keys" | "/api/worktrees/[id]/tasks" | "/api/worktrees/[id]/terminal" | "/api/worktrees/[id]/timers" | "/api/worktrees/[id]/timers/history" | "/api/worktrees/[id]/todos" | "/api/worktrees/[id]/todos/[todoId]" | "/api/worktrees/[id]/tree" | "/api/worktrees/[id]/tree/[...path]" | "/api/worktrees/[id]/upload/[...path]" | "/api/worktrees/[id]/verify" | "/api/worktrees/[id]/verify/config" | "/api/worktrees/[id]/verify/runs" | "/api/worktrees/[id]/verify/runs/[runId]" | "/api/worktrees/[id]/verify/runs/[runId]/cancel" | "/api/worktrees/[id]/viewed" | "/api/worktrees/apply-default-agents" | "/proxy/[...path]"
6
6
  type PageRoutes = never
7
7
  type LayoutRoutes = "/" | "/worktrees/[id]"
8
8
  type RedirectRoutes = never
@@ -72,6 +72,7 @@ interface ParamMap {
72
72
  "/api/worktrees/[id]/cli-tool": { "id": string; }
73
73
  "/api/worktrees/[id]/cmate/schedules": { "id": string; }
74
74
  "/api/worktrees/[id]/current-output": { "id": string; }
75
+ "/api/worktrees/[id]/direct-input": { "id": string; }
75
76
  "/api/worktrees/[id]/env": { "id": string; }
76
77
  "/api/worktrees/[id]/execution-logs": { "id": string; }
77
78
  "/api/worktrees/[id]/execution-logs/[logId]": { "id": string; "logId": string; }
@@ -686,6 +686,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
686
686
  type __Unused = __Check
687
687
  }
688
688
 
689
+ // Validate ../../src/app/api/worktrees/[id]/direct-input/route.ts
690
+ {
691
+ type __IsExpected<Specific extends RouteHandlerConfig<"/api/worktrees/[id]/direct-input">> = Specific
692
+ const handler = {} as typeof import("../../src/app/api/worktrees/[id]/direct-input/route.js")
693
+ type __Check = __IsExpected<typeof handler>
694
+ // @ts-ignore
695
+ type __Unused = __Check
696
+ }
697
+
689
698
  // Validate ../../src/app/api/worktrees/[id]/env/route.ts
690
699
  {
691
700
  type __IsExpected<Specific extends RouteHandlerConfig<"/api/worktrees/[id]/env">> = Specific
@@ -1 +1 @@
1
- {"version":3,"file":"ls.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/ls.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,KAAK,EAAwB,YAAY,EAAE,MAAM,wBAAwB,CAAC;AA0BjF,uEAAuE;AACvE,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AAErF;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAEjF;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IACxD,uBAAuB,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC;CACnE;AAoFD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAUlE;AAoOD;;;GAGG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAkFzC"}
1
+ {"version":3,"file":"ls.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/ls.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,KAAK,EAAwB,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAmCjF,uEAAuE;AACvE,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AAErF;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAEjF;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IACxD,uBAAuB,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC;CACnE;AAoFD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAUlE;AAoOD;;;GAGG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAkFzC"}
@@ -22,6 +22,15 @@ const session_name_1 = require("../../lib/cli-tools/session-name");
22
22
  * Deliberately still the three-way boolean branch (design DR3-005 says so in as
23
23
  * many words): Issue #1926 adds a reason column beside this, not a fourth
24
24
  * branch inside it. The status vocabulary is unchanged.
25
+ *
26
+ * Issue #2775: a session whose frame no rule could classify reaches this row
27
+ * with `isProcessing: false` (the server stopped projecting the detector's
28
+ * floor onto "it is working"), so it prints `ready`, not `running` — the same
29
+ * answer the sidebar's `deriveCliStatus` gives it. The vocabulary has no
30
+ * "cannot tell" and is not widened for it: operators and the orchestrate
31
+ * recipes read this column positionally. What says "this `ready` is a fallback"
32
+ * is the REASON beside it, which names the floor with `(no evidence)` — and
33
+ * `--json` carries `sessionStatusByCli.<tool>.isUnclassified`.
25
34
  */
26
35
  function deriveStatus(wt) {
27
36
  if (wt.isWaitingForResponse)
@@ -1 +1 @@
1
- {"version":3,"file":"peers.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/peers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,EAAiB,YAAY,EAAwB,MAAM,wBAAwB,CAAC;AAIhG,OAAO,EAML,KAAK,eAAe,EACrB,MAAM,UAAU,CAAC;AAElB;;;;;;;;GAQG;AACH,UAAU,gBAAiB,SAAQ,YAAY;IAC7C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,kCAAkC;AAClC,UAAU,OAAO;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,MAAM,EAAE,OAAO,CAAC;IAChB,2DAA2D;IAC3D,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB;AAuED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAC3B,SAAS,EAAE,gBAAgB,EAAE,EAC7B,QAAQ,EAAE,eAAe,EACzB,MAAM,EAAE,MAAM,GACb,OAAO,EAAE,CAuBX;AAoBD,wBAAgB,kBAAkB,IAAI,OAAO,CAkE5C"}
1
+ {"version":3,"file":"peers.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/peers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,EAAiB,YAAY,EAAwB,MAAM,wBAAwB,CAAC;AAIhG,OAAO,EAML,KAAK,eAAe,EACrB,MAAM,UAAU,CAAC;AAElB;;;;;;;;GAQG;AACH,UAAU,gBAAiB,SAAQ,YAAY;IAC7C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,kCAAkC;AAClC,UAAU,OAAO;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,MAAM,EAAE,OAAO,CAAC;IAChB,2DAA2D;IAC3D,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB;AA2ED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAC3B,SAAS,EAAE,gBAAgB,EAAE,EAC7B,QAAQ,EAAE,eAAe,EACzB,MAAM,EAAE,MAAM,GACb,OAAO,EAAE,CAuBX;AAoBD,wBAAgB,kBAAkB,IAAI,OAAO,CAkE5C"}
@@ -38,6 +38,10 @@ const whoami_1 = require("./whoami");
38
38
  * over three booleans, and the alternative — exporting `deriveStatus` from a
39
39
  * command module so another command module can import it — couples two
40
40
  * commands to save nothing. The vocabulary itself is pinned by `ls`'s own tests.
41
+ *
42
+ * Issue #2775: an unclassified session arrives with `isProcessing: false` and
43
+ * so reads `ready` here exactly as it does in `ls` — never `running`, which
44
+ * would tell the asking agent to wait on a pane nothing could read.
41
45
  */
42
46
  function deriveStatus(wt) {
43
47
  if (wt.isWaitingForResponse)
@@ -1 +1 @@
1
- {"version":3,"file":"send.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/send.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA+MpC,wBAAgB,iBAAiB,IAAI,OAAO,CA0P3C"}
1
+ {"version":3,"file":"send.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/send.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAmNpC,wBAAgB,iBAAiB,IAAI,OAAO,CA2Q3C"}
@@ -163,7 +163,8 @@ function createSendCommand() {
163
163
  .option('--instance <id>', `${agent_target_options_1.INSTANCE_OPTION_DESCRIPTION} ${instances_1.INSTANCE_ALIAS_HELP_SUFFIX}`)
164
164
  .option('--agent <agent>', agent_target_options_1.AGENT_OPTION_DESCRIPTION)
165
165
  .option('--register', 'Register the --instance session into the agent-instance roster (needs --agent unless the instance id is itself a CLI tool id)')
166
- .option('--model <model>', 'Specify AI model for Copilot or Antigravity agent')
166
+ .option('--model <model>', 'Specify AI model for a Copilot, Antigravity or Claude agent. For Antigravity and Claude it is a launch'
167
+ + ' flag: it applies only when this send starts the session, and a running session answers 400')
167
168
  .option('--auto-yes', 'Enable auto-yes before sending (session-wide, no policy guard; for unattended runs prefer --contract with an autoYes policy)')
168
169
  .option('--duration <duration>', `Auto-yes duration (${duration_constants_1.ALLOWED_DURATIONS.join(', ')})`)
169
170
  .option('--stop-pattern <pattern>', 'Auto-yes stop pattern (regex). Matched against terminal output; cannot block commands (use the task contract\'s autoYes.denyPatterns for that)')
@@ -264,15 +265,22 @@ worktree and send a short message that tells the agent to read that file.
264
265
  // not repeating `--agent copilot` — the tool-dependent option was being
265
266
  // validated before the tool was known (design §4 D5 決定 3). Still ahead
266
267
  // of every side effect: resolution only reads.
268
+ //
269
+ // Issue #2771: claude joins the list. `agent` is undefined when neither
270
+ // --instance nor --agent was given, and the server would then pick the
271
+ // worktree's default tool — which the CLI cannot know, so it cannot pick
272
+ // a validator either. The target has to be named.
267
273
  if (options.model) {
268
- if (agent !== 'copilot' && agent !== 'antigravity') {
269
- console.error('Error: --model option requires --agent copilot or --agent antigravity'
274
+ if (agent !== 'copilot' && agent !== 'antigravity' && agent !== 'claude') {
275
+ console.error('Error: --model option requires --agent copilot, --agent antigravity or --agent claude'
270
276
  + ' (or an --instance registered as one)');
271
277
  process.exit(types_1.ExitCode.CONFIG_ERROR);
272
278
  }
273
279
  const modelValidation = agent === 'antigravity'
274
280
  ? (0, model_validation_1.validateAntigravityModelName)(options.model)
275
- : (0, model_validation_1.validateCopilotModelName)(options.model);
281
+ : agent === 'claude'
282
+ ? (0, model_validation_1.validateClaudeModelName)(options.model)
283
+ : (0, model_validation_1.validateCopilotModelName)(options.model);
276
284
  if (!modelValidation.valid) {
277
285
  console.error(`Error: Invalid model name: ${modelValidation.reason}`);
278
286
  process.exit(types_1.ExitCode.CONFIG_ERROR);
@@ -291,7 +299,13 @@ worktree and send a short message that tells the agent to read that file.
291
299
  console.log(taskId);
292
300
  }
293
301
  // --auto-yes: enable auto-yes first (unless --model is specified, then after send) [DR2-02]
294
- if (options.autoYes && !options.model) {
302
+ //
303
+ // Issue #2771: claude is the exception to the exception. The deferral
304
+ // exists so Auto-Yes does not answer copilot's `/model` interaction; a
305
+ // claude model is a launch flag with no interaction to protect, and a
306
+ // contract send must have Auto-Yes on BEFORE the worker starts working.
307
+ const deferAutoYes = Boolean(options.model) && agent !== 'claude';
308
+ if (options.autoYes && !deferAutoYes) {
295
309
  await enableAutoYes(client, worktreeId, options, autoYesDurationMs, agent, instanceId);
296
310
  }
297
311
  // Issue #2377: the relay is registered BEFORE the message goes out, so a
@@ -373,7 +387,7 @@ worktree and send a short message that tells the agent to read that file.
373
387
  }
374
388
  // Issue #576: Enable auto-yes AFTER send when --model is specified
375
389
  // This avoids auto-yes interfering with the /model command interaction
376
- if (options.autoYes && options.model) {
390
+ if (options.autoYes && deferAutoYes) {
377
391
  await enableAutoYes(client, worktreeId, options, autoYesDurationMs, agent, instanceId);
378
392
  }
379
393
  }
@@ -2,6 +2,7 @@
2
2
  * Model Validation (CLI subset copy)
3
3
  * Issue #588: Subset of cmate-cli-tool-parser.ts for CLI build (DR2-002)
4
4
  * Issue #989: Added Antigravity model name validation (Phase B)
5
+ * Issue #2771: Added Claude model name validation
5
6
  *
6
7
  * This file duplicates MODEL_NAME_PATTERN, MAX_MODEL_NAME_LENGTH,
7
8
  * ANTIGRAVITY_MODEL_NAME_PATTERN, MAX_ANTIGRAVITY_MODEL_NAME_LENGTH,
@@ -53,4 +54,25 @@ export declare function validateAntigravityModelName(modelName: string): {
53
54
  valid: boolean;
54
55
  reason?: string;
55
56
  };
57
+ /**
58
+ * Claude model name allowed pattern (CLI subset copy).
59
+ * Must match claude-constants.ts CLAUDE_MODEL_NAME_PATTERN exactly.
60
+ */
61
+ export declare const CLAUDE_MODEL_NAME_PATTERN: RegExp;
62
+ /**
63
+ * Maximum Claude model name length.
64
+ * Must match claude-constants.ts MAX_CLAUDE_MODEL_NAME_LENGTH exactly.
65
+ */
66
+ export declare const MAX_CLAUDE_MODEL_NAME_LENGTH = 128;
67
+ /**
68
+ * Validate a Claude model name (reject approach).
69
+ * Must produce identical results to cmate-cli-tool-parser.ts validateClaudeModelName().
70
+ *
71
+ * @param modelName - Model name to validate
72
+ * @returns Validation result
73
+ */
74
+ export declare function validateClaudeModelName(modelName: string): {
75
+ valid: boolean;
76
+ reason?: string;
77
+ };
56
78
  //# sourceMappingURL=model-validation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"model-validation.d.ts","sourceRoot":"","sources":["../../../src/cli/config/model-validation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AACH,eAAO,MAAM,kBAAkB,QAAoC,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAc/F;AAED;;;GAGG;AACH,eAAO,MAAM,8BAA8B,QAAqC,CAAC;AAEjF;;;GAGG;AACH,eAAO,MAAM,iCAAiC,MAAM,CAAC;AAErD;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAcnG"}
1
+ {"version":3,"file":"model-validation.d.ts","sourceRoot":"","sources":["../../../src/cli/config/model-validation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;;GAGG;AACH,eAAO,MAAM,kBAAkB,QAAoC,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAc/F;AAED;;;GAGG;AACH,eAAO,MAAM,8BAA8B,QAAqC,CAAC;AAEjF;;;GAGG;AACH,eAAO,MAAM,iCAAiC,MAAM,CAAC;AAErD;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAcnG;AAED;;;GAGG;AACH,eAAO,MAAM,yBAAyB,QAAwC,CAAC;AAE/E;;;GAGG;AACH,eAAO,MAAM,4BAA4B,MAAM,CAAC;AAEhD;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAc9F"}
@@ -3,6 +3,7 @@
3
3
  * Model Validation (CLI subset copy)
4
4
  * Issue #588: Subset of cmate-cli-tool-parser.ts for CLI build (DR2-002)
5
5
  * Issue #989: Added Antigravity model name validation (Phase B)
6
+ * Issue #2771: Added Claude model name validation
6
7
  *
7
8
  * This file duplicates MODEL_NAME_PATTERN, MAX_MODEL_NAME_LENGTH,
8
9
  * ANTIGRAVITY_MODEL_NAME_PATTERN, MAX_ANTIGRAVITY_MODEL_NAME_LENGTH,
@@ -13,9 +14,10 @@
13
14
  * ensures these values stay in sync with the canonical source.
14
15
  */
15
16
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.MAX_ANTIGRAVITY_MODEL_NAME_LENGTH = exports.ANTIGRAVITY_MODEL_NAME_PATTERN = exports.MAX_MODEL_NAME_LENGTH = exports.MODEL_NAME_PATTERN = void 0;
17
+ exports.MAX_CLAUDE_MODEL_NAME_LENGTH = exports.CLAUDE_MODEL_NAME_PATTERN = exports.MAX_ANTIGRAVITY_MODEL_NAME_LENGTH = exports.ANTIGRAVITY_MODEL_NAME_PATTERN = exports.MAX_MODEL_NAME_LENGTH = exports.MODEL_NAME_PATTERN = void 0;
17
18
  exports.validateCopilotModelName = validateCopilotModelName;
18
19
  exports.validateAntigravityModelName = validateAntigravityModelName;
20
+ exports.validateClaudeModelName = validateClaudeModelName;
19
21
  /**
20
22
  * Copilot model name allowed pattern.
21
23
  * Must match copilot-constants.ts MODEL_NAME_PATTERN exactly.
@@ -80,3 +82,35 @@ function validateAntigravityModelName(modelName) {
80
82
  }
81
83
  return { valid: true };
82
84
  }
85
+ /**
86
+ * Claude model name allowed pattern (CLI subset copy).
87
+ * Must match claude-constants.ts CLAUDE_MODEL_NAME_PATTERN exactly.
88
+ */
89
+ exports.CLAUDE_MODEL_NAME_PATTERN = /^[a-zA-Z0-9][a-zA-Z0-9\-._/:@[\]]*$/;
90
+ /**
91
+ * Maximum Claude model name length.
92
+ * Must match claude-constants.ts MAX_CLAUDE_MODEL_NAME_LENGTH exactly.
93
+ */
94
+ exports.MAX_CLAUDE_MODEL_NAME_LENGTH = 128;
95
+ /**
96
+ * Validate a Claude model name (reject approach).
97
+ * Must produce identical results to cmate-cli-tool-parser.ts validateClaudeModelName().
98
+ *
99
+ * @param modelName - Model name to validate
100
+ * @returns Validation result
101
+ */
102
+ function validateClaudeModelName(modelName) {
103
+ if (/[\x00-\x1f\x7f]/.test(modelName)) {
104
+ return { valid: false, reason: 'Model name contains control characters' };
105
+ }
106
+ if (modelName.trim() === '') {
107
+ return { valid: false, reason: 'Model name must not be empty' };
108
+ }
109
+ if (!exports.CLAUDE_MODEL_NAME_PATTERN.test(modelName)) {
110
+ return { valid: false, reason: 'Model name contains invalid characters' };
111
+ }
112
+ if (modelName.length > exports.MAX_CLAUDE_MODEL_NAME_LENGTH) {
113
+ return { valid: false, reason: `Model name exceeds ${exports.MAX_CLAUDE_MODEL_NAME_LENGTH} characters` };
114
+ }
115
+ return { valid: true };
116
+ }
@@ -59,6 +59,17 @@ export interface WorktreeItem {
59
59
  * prints in its REASON column.
60
60
  */
61
61
  sessionStatusReason?: string;
62
+ /**
63
+ * No rule could classify this tool's frame at all (Issue #2775).
64
+ *
65
+ * The server's `isUnclassifiedFrame` — the fact `capture --json` publishes
66
+ * as `isUnclassifiedActive`. Such a session is published with
67
+ * `isProcessing: false`, so `commandmate ls` / `peers` print `ready` for it
68
+ * rather than `running`; the REASON column still names the floor
69
+ * (`default (no evidence)` …). Present only when true, and absent from a
70
+ * server older than #2775 — which still sends `isProcessing: true` here.
71
+ */
72
+ isUnclassified?: boolean;
62
73
  /**
63
74
  * The last status anything could positively confirm for this tool, or
64
75
  * absent (Issue #1926, design §7).