conductor-oss 0.2.3 → 0.2.5

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 (211) hide show
  1. package/dist/commands/start.d.ts.map +1 -1
  2. package/dist/commands/start.js +4 -0
  3. package/dist/commands/start.js.map +1 -1
  4. package/dist/index.js +1 -1
  5. package/node_modules/@conductor-oss/core/dist/__tests__/board-watcher-support-files.test.d.ts +2 -0
  6. package/node_modules/@conductor-oss/core/dist/__tests__/board-watcher-support-files.test.d.ts.map +1 -0
  7. package/node_modules/@conductor-oss/core/dist/__tests__/board-watcher-support-files.test.js +122 -0
  8. package/node_modules/@conductor-oss/core/dist/__tests__/board-watcher-support-files.test.js.map +1 -0
  9. package/node_modules/@conductor-oss/core/dist/__tests__/project-paths.test.d.ts +2 -0
  10. package/node_modules/@conductor-oss/core/dist/__tests__/project-paths.test.d.ts.map +1 -0
  11. package/node_modules/@conductor-oss/core/dist/__tests__/project-paths.test.js +48 -0
  12. package/node_modules/@conductor-oss/core/dist/__tests__/project-paths.test.js.map +1 -0
  13. package/node_modules/@conductor-oss/core/dist/board-diagnostics.d.ts.map +1 -1
  14. package/node_modules/@conductor-oss/core/dist/board-diagnostics.js +12 -2
  15. package/node_modules/@conductor-oss/core/dist/board-diagnostics.js.map +1 -1
  16. package/node_modules/@conductor-oss/core/dist/board-watcher.d.ts +14 -0
  17. package/node_modules/@conductor-oss/core/dist/board-watcher.d.ts.map +1 -1
  18. package/node_modules/@conductor-oss/core/dist/board-watcher.js +97 -39
  19. package/node_modules/@conductor-oss/core/dist/board-watcher.js.map +1 -1
  20. package/node_modules/@conductor-oss/core/dist/config.d.ts.map +1 -1
  21. package/node_modules/@conductor-oss/core/dist/config.js +2 -1
  22. package/node_modules/@conductor-oss/core/dist/config.js.map +1 -1
  23. package/node_modules/@conductor-oss/core/dist/index.d.ts +3 -2
  24. package/node_modules/@conductor-oss/core/dist/index.d.ts.map +1 -1
  25. package/node_modules/@conductor-oss/core/dist/index.js +2 -1
  26. package/node_modules/@conductor-oss/core/dist/index.js.map +1 -1
  27. package/node_modules/@conductor-oss/core/dist/project-paths.d.ts +2 -0
  28. package/node_modules/@conductor-oss/core/dist/project-paths.d.ts.map +1 -0
  29. package/node_modules/@conductor-oss/core/dist/project-paths.js +67 -0
  30. package/node_modules/@conductor-oss/core/dist/project-paths.js.map +1 -0
  31. package/node_modules/@conductor-oss/core/package.json +1 -1
  32. package/node_modules/@conductor-oss/plugin-agent-amp/dist/index.js +1 -1
  33. package/node_modules/@conductor-oss/plugin-agent-amp/package.json +2 -2
  34. package/node_modules/@conductor-oss/plugin-agent-ccr/dist/index.js +1 -1
  35. package/node_modules/@conductor-oss/plugin-agent-ccr/package.json +2 -2
  36. package/node_modules/@conductor-oss/plugin-agent-claude-code/dist/index.js +1 -1
  37. package/node_modules/@conductor-oss/plugin-agent-claude-code/package.json +2 -2
  38. package/node_modules/@conductor-oss/plugin-agent-codex/dist/index.js +1 -1
  39. package/node_modules/@conductor-oss/plugin-agent-codex/package.json +2 -2
  40. package/node_modules/@conductor-oss/plugin-agent-cursor-cli/dist/index.js +1 -1
  41. package/node_modules/@conductor-oss/plugin-agent-cursor-cli/package.json +2 -2
  42. package/node_modules/@conductor-oss/plugin-agent-droid/dist/index.js +1 -1
  43. package/node_modules/@conductor-oss/plugin-agent-droid/package.json +2 -2
  44. package/node_modules/@conductor-oss/plugin-agent-gemini/dist/index.js +1 -1
  45. package/node_modules/@conductor-oss/plugin-agent-gemini/package.json +2 -2
  46. package/node_modules/@conductor-oss/plugin-agent-github-copilot/dist/index.js +1 -1
  47. package/node_modules/@conductor-oss/plugin-agent-github-copilot/package.json +2 -2
  48. package/node_modules/@conductor-oss/plugin-agent-opencode/dist/index.js +1 -1
  49. package/node_modules/@conductor-oss/plugin-agent-opencode/package.json +2 -2
  50. package/node_modules/@conductor-oss/plugin-agent-qwen-code/dist/index.js +1 -1
  51. package/node_modules/@conductor-oss/plugin-agent-qwen-code/package.json +2 -2
  52. package/node_modules/@conductor-oss/plugin-mcp-server/dist/index.js +1 -1
  53. package/node_modules/@conductor-oss/plugin-mcp-server/package.json +2 -2
  54. package/node_modules/@conductor-oss/plugin-notifier-desktop/dist/index.js +1 -1
  55. package/node_modules/@conductor-oss/plugin-notifier-desktop/package.json +2 -2
  56. package/node_modules/@conductor-oss/plugin-notifier-discord/dist/index.js +1 -1
  57. package/node_modules/@conductor-oss/plugin-notifier-discord/package.json +2 -2
  58. package/node_modules/@conductor-oss/plugin-runtime-tmux/dist/index.js +1 -1
  59. package/node_modules/@conductor-oss/plugin-runtime-tmux/package.json +2 -2
  60. package/node_modules/@conductor-oss/plugin-scm-github/dist/index.js +1 -1
  61. package/node_modules/@conductor-oss/plugin-scm-github/package.json +2 -2
  62. package/node_modules/@conductor-oss/plugin-terminal-web/dist/index.js +1 -1
  63. package/node_modules/@conductor-oss/plugin-terminal-web/package.json +2 -2
  64. package/node_modules/@conductor-oss/plugin-tracker-github/dist/index.js +1 -1
  65. package/node_modules/@conductor-oss/plugin-tracker-github/package.json +2 -2
  66. package/node_modules/@conductor-oss/plugin-webhook/package.json +2 -2
  67. package/node_modules/@conductor-oss/plugin-workspace-worktree/dist/index.js +1 -1
  68. package/node_modules/@conductor-oss/plugin-workspace-worktree/package.json +2 -2
  69. package/package.json +21 -21
  70. package/web/.next/standalone/packages/web/.next/BUILD_ID +1 -1
  71. package/web/.next/standalone/packages/web/.next/build-manifest.json +2 -2
  72. package/web/.next/standalone/packages/web/.next/server/app/_global-error.html +2 -2
  73. package/web/.next/standalone/packages/web/.next/server/app/_global-error.rsc +1 -1
  74. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  75. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  76. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  77. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  78. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  79. package/web/.next/standalone/packages/web/.next/server/app/_not-found.html +1 -1
  80. package/web/.next/standalone/packages/web/.next/server/app/_not-found.rsc +1 -1
  81. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  82. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  83. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  84. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  85. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  86. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  87. package/web/.next/standalone/packages/web/.next/server/app/api/boards/route.js +1 -1
  88. package/web/.next/standalone/packages/web/.next/server/app/api/boards/route.js.nft.json +1 -1
  89. package/web/.next/standalone/packages/web/.next/server/app/api/preferences/route.js +3 -3
  90. package/web/.next/standalone/packages/web/.next/server/app/api/preferences/route.js.nft.json +1 -1
  91. package/web/.next/standalone/packages/web/.next/server/app/api/repositories/route.js +2 -2
  92. package/web/.next/standalone/packages/web/.next/server/app/api/repositories/route.js.nft.json +1 -1
  93. package/web/.next/standalone/packages/web/.next/server/app/api/spawn/route.js +1 -1
  94. package/web/.next/standalone/packages/web/.next/server/app/api/spawn/route.js.nft.json +1 -1
  95. package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/route.js +1 -1
  96. package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/route.js.nft.json +1 -1
  97. package/web/.next/standalone/packages/web/.next/server/app/index.html +1 -1
  98. package/web/.next/standalone/packages/web/.next/server/app/index.rsc +1 -1
  99. package/web/.next/standalone/packages/web/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  100. package/web/.next/standalone/packages/web/.next/server/app/index.segments/_full.segment.rsc +1 -1
  101. package/web/.next/standalone/packages/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
  102. package/web/.next/standalone/packages/web/.next/server/app/index.segments/_index.segment.rsc +1 -1
  103. package/web/.next/standalone/packages/web/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  104. package/web/.next/standalone/packages/web/.next/server/chunks/1bc17_next_dist_esm_build_templates_app-route_34b04c2b.js +1 -1
  105. package/web/.next/standalone/packages/web/.next/server/chunks/1bc17_next_dist_esm_build_templates_app-route_b41c4976.js +1 -1
  106. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__005aa909._.js +1 -1
  107. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__03ff76ee._.js +1 -1
  108. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__07ec6d5c._.js +1 -1
  109. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__0a0f0f01._.js +1 -1
  110. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__0ad3545b._.js +1 -1
  111. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__0e59a166._.js +3 -0
  112. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__13ad088c._.js +1 -1
  113. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__14b1d4a3._.js +1 -1
  114. package/web/.next/standalone/packages/web/.next/server/chunks/{[root-of-the-server]__1cd55204._.js → [root-of-the-server]__1bc4f8f5._.js} +1 -1
  115. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__1f626a16._.js +1 -1
  116. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__2062aaab._.js +1 -1
  117. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__206c3d8a._.js +1 -1
  118. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__2556a816._.js +1 -1
  119. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__3fde7043._.js +1 -1
  120. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__44606e04._.js +1 -1
  121. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__48875cbb._.js +1 -1
  122. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__4ac9d639._.js +1 -1
  123. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__4c3fb752._.js +1 -1
  124. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__4dab6a6a._.js +1 -1
  125. package/web/.next/standalone/packages/web/.next/server/chunks/{[root-of-the-server]__8ca91fef._.js → [root-of-the-server]__53970b23._.js} +2 -2
  126. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__544326ac._.js +1 -1
  127. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__54a218f0._.js +1 -1
  128. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__54a76cd2._.js +1 -1
  129. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__5661ca72._.js +1 -1
  130. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__5cd49624._.js +1 -1
  131. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__5d124f64._.js +3 -0
  132. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__5e0533de._.js +1 -1
  133. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__62608541._.js +1 -1
  134. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__6d62709d._.js +1 -1
  135. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__6f6826fa._.js +3 -0
  136. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__749331b0._.js +1 -1
  137. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__778e46a1._.js +1 -1
  138. package/web/.next/standalone/packages/web/.next/server/chunks/{[root-of-the-server]__c9c79703._.js → [root-of-the-server]__7e505454._.js} +1 -1
  139. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__7e6ea46e._.js +1 -1
  140. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__84362910._.js +1 -1
  141. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__848eb266._.js +1 -1
  142. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__8596d782._.js +1 -1
  143. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__881858fa._.js +1 -1
  144. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__885e3a00._.js +1 -1
  145. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__8c519453._.js +1 -1
  146. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__96633022._.js +1 -1
  147. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__98697e45._.js +1 -1
  148. package/web/.next/standalone/packages/web/.next/server/chunks/{[root-of-the-server]__6b396859._.js → [root-of-the-server]__9b62b450._.js} +1 -1
  149. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__9f36b7ec._.js +1 -1
  150. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__a44f91a4._.js +1 -1
  151. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__afa79f55._.js +1 -1
  152. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__b057f7b2._.js +1 -1
  153. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__b091b8bc._.js +3 -0
  154. package/web/.next/standalone/packages/web/.next/server/chunks/{[root-of-the-server]__c6c755b1._.js → [root-of-the-server]__b3f4ff98._.js} +1 -1
  155. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__b59abfbd._.js +1 -1
  156. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__bea07e07._.js +1 -1
  157. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__c8618cb1._.js +1 -1
  158. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__caf8e7cb._.js +1 -1
  159. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__cb112606._.js +1 -1
  160. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__cc74ea40._.js +1 -1
  161. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__cd3692a0._.js +1 -1
  162. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__cf3cdecd._.js +1 -1
  163. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__d09e7a99._.js +1 -1
  164. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__d538c110._.js +1 -1
  165. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__d93447b9._.js +1 -1
  166. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__dda8eac1._.js +1 -1
  167. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__e113f6df._.js +1 -1
  168. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__e2573a77._.js +1 -1
  169. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__e308bb89._.js +1 -1
  170. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__e4976f6d._.js +3 -0
  171. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__ef773ea6._.js +1 -1
  172. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__f0d15920._.js +1 -1
  173. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__f47a2a9e._.js +1 -1
  174. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__f48eb2d4._.js +1 -1
  175. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__f6a8bbd9._.js +12 -12
  176. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__faceea9b._.js +1 -1
  177. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__fb6ab669._.js +1 -1
  178. package/web/.next/standalone/packages/web/.next/server/chunks/packages_core_dist_index_cdd30418.js +1 -1
  179. package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-amp_dist_index_bf3d8239.js +1 -1
  180. package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-ccr_dist_index_69cbf726.js +1 -1
  181. package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-claude-code_dist_index_31314e43.js +1 -1
  182. package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-cursor-cli_dist_index_8d5cc426.js +1 -1
  183. package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-droid_dist_index_f731227a.js +1 -1
  184. package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-gemini_dist_index_b2d219e8.js +1 -1
  185. package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-github-copilot_dist_index_9f80cb45.js +1 -1
  186. package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-opencode_dist_index_7c7015da.js +1 -1
  187. package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_agent-qwen-code_dist_index_46dd8653.js +1 -1
  188. package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_notifier-desktop_dist_index_ef3473f0.js +1 -1
  189. package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_notifier-discord_dist_index_34257226.js +1 -1
  190. package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_scm-github_dist_index_3b5a621e.js +1 -1
  191. package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_terminal-web_dist_index_1e0706d3.js +1 -1
  192. package/web/.next/standalone/packages/web/.next/server/chunks/packages_plugins_tracker-github_dist_index_2d7af62f.js +1 -1
  193. package/web/.next/standalone/packages/web/.next/server/pages/404.html +1 -1
  194. package/web/.next/standalone/packages/web/.next/server/pages/500.html +2 -2
  195. package/web/.next/standalone/packages/web/src/app/api/preferences/route.ts +7 -3
  196. package/web/.next/standalone/packages/web/src/app/api/repositories/route.ts +7 -2
  197. package/web/.next/standalone/packages/web/src/app/api/spawn/route.ts +7 -2
  198. package/web/.next/standalone/packages/web/src/app/api/workspaces/route.ts +16 -4
  199. package/web/.next/standalone/packages/web/src/lib/projectConfigSync.ts +57 -9
  200. package/web/.next/standalone/packages/web/tsconfig.tsbuildinfo +1 -1
  201. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__22609b55._.js +0 -3
  202. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__c3b5cb01._.js +0 -3
  203. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__cfb45c10._.js +0 -3
  204. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__ee0dea96._.js +0 -3
  205. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__f1ccd6fd._.js +0 -3
  206. /package/web/.next/standalone/packages/web/.next/static/{NkapotuwrwSJq04fXtieC → 2lp61OU9Asm88Hx_JCL5e}/_buildManifest.js +0 -0
  207. /package/web/.next/standalone/packages/web/.next/static/{NkapotuwrwSJq04fXtieC → 2lp61OU9Asm88Hx_JCL5e}/_clientMiddlewareManifest.json +0 -0
  208. /package/web/.next/standalone/packages/web/.next/static/{NkapotuwrwSJq04fXtieC → 2lp61OU9Asm88Hx_JCL5e}/_ssgManifest.js +0 -0
  209. /package/web/.next/static/{NkapotuwrwSJq04fXtieC → 2lp61OU9Asm88Hx_JCL5e}/_buildManifest.js +0 -0
  210. /package/web/.next/static/{NkapotuwrwSJq04fXtieC → 2lp61OU9Asm88Hx_JCL5e}/_clientMiddlewareManifest.json +0 -0
  211. /package/web/.next/static/{NkapotuwrwSJq04fXtieC → 2lp61OU9Asm88Hx_JCL5e}/_ssgManifest.js +0 -0
@@ -1,4 +1,4 @@
1
- module.exports=[74533,(e,t,a)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,a)=>{t.exports=e.x("node:util",()=>require("node:util"))},66680,(e,t,a)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},12714,(e,t,a)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},1457,(e,t,a)=>{t.exports=e.x("node:readline",()=>require("node:readline"))},74857,e=>{"use strict";e.i(20435);var t=e.i(45629),a=e.i(74533),r=e.i(2157),n=e.i(12714),i=e.i(60526),s=e.i(50227),o=e.i(1457),l=e.i(12057),u=e.i(66680);let p=(0,l.promisify)(a.execFile),d=function(){for(let e of[process.env.CODEX_BIN,"/opt/homebrew/bin/codex","/usr/local/bin/codex","/usr/bin/codex"].filter(Boolean))if((0,r.existsSync)(e))return e;return"codex"}(),c=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}(),m=(0,s.join)((0,i.homedir)(),".conductor","bin"),f={name:"codex",slot:"agent",description:"Agent plugin: OpenAI Codex CLI",version:"0.2.3"},h=`#!/usr/bin/env bash
1
+ module.exports=[74533,(e,t,a)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,a)=>{t.exports=e.x("node:util",()=>require("node:util"))},66680,(e,t,a)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},12714,(e,t,a)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},1457,(e,t,a)=>{t.exports=e.x("node:readline",()=>require("node:readline"))},74857,e=>{"use strict";e.i(20435);var t=e.i(45629),a=e.i(74533),r=e.i(2157),n=e.i(12714),i=e.i(60526),s=e.i(50227),o=e.i(1457),l=e.i(12057),u=e.i(66680);let p=(0,l.promisify)(a.execFile),d=function(){for(let e of[process.env.CODEX_BIN,"/opt/homebrew/bin/codex","/usr/local/bin/codex","/usr/bin/codex"].filter(Boolean))if((0,r.existsSync)(e))return e;return"codex"}(),c=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(e))return e;return"tmux"}(),m=(0,s.join)((0,i.homedir)(),".conductor","bin"),f={name:"codex",slot:"agent",description:"Agent plugin: OpenAI Codex CLI",version:"0.2.5"},h=`#!/usr/bin/env bash
2
2
  # conductor-metadata-helper — shared by gh/git wrappers
3
3
  # Provides: update_claw_metadata <key> <value>
4
4
 
@@ -1,3 +1,3 @@
1
- module.exports=[66680,(t,e,a)=>{e.exports=t.x("node:crypto",()=>require("node:crypto"))},36340,(t,e,a)=>{e.exports=t.x("node:timers/promises",()=>require("node:timers/promises"))},80565,t=>{"use strict";var e=t.i(74533),a=t.i(12057),n=t.i(36340),i=t.i(66680),r=t.i(2157),s=t.i(60526),o=t.i(50227);let c=(0,a.promisify)(e.execFile),u=function(){for(let t of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(t))return t;return"tmux"}(),d={name:"tmux",slot:"runtime",description:"Runtime plugin: tmux sessions",version:"0.2.3"},l=/^[a-zA-Z0-9_-]+$/;async function m(...t){let{stdout:e}=await c(u,t,{timeout:3e4});return e.trimEnd()}function y(){return{name:"tmux",async create(t){var e=t.sessionId;if(!l.test(e))throw Error(`Invalid session ID "${e}": must match ${l}`);let a=t.sessionId,c=[];for(let[e,a]of Object.entries(t.environment??{}))c.push("-e",`${e}=${a}`);await m("new-session","-d","-s",a,"-c",t.workspacePath,...c);try{if(t.launchCommand.length>200){let e=`claw-launch-${(0,i.randomUUID)().slice(0,8)}`,c=(0,o.join)((0,s.tmpdir)(),`claw-launch-${(0,i.randomUUID)()}.txt`);(0,r.writeFileSync)(c,t.launchCommand,{encoding:"utf-8",mode:384});try{await m("load-buffer","-b",e,c),await m("paste-buffer","-b",e,"-t",a,"-d")}finally{try{(0,r.unlinkSync)(c)}catch{}}await (0,n.setTimeout)(300),await m("send-keys","-t",a,"Enter")}else await m("send-keys","-t",a,t.launchCommand,"Enter")}catch(e){try{await m("kill-session","-t",a)}catch{}let t=e instanceof Error?e.message:String(e);throw Error(`Failed to send launch command to session "${a}": ${t}`,{cause:e})}for(let t of[8e3,12e3,16e3,2e4,25e3,3e4])(0,n.setTimeout)(t).then(()=>m("send-keys","-t",a,"Enter").catch(()=>{}));return{id:a,runtimeName:"tmux",data:{createdAt:Date.now(),workspacePath:t.workspacePath}}},async destroy(t){try{await m("kill-session","-t",t.id)}catch{}},async sendMessage(t,e){if(await m("send-keys","-t",t.id,"C-u"),e.includes("\n")||e.length>200){let a=`claw-${(0,i.randomUUID)()}`,n=(0,o.join)((0,s.tmpdir)(),`claw-send-${(0,i.randomUUID)()}.txt`);(0,r.writeFileSync)(n,e,{encoding:"utf-8",mode:384});try{await m("load-buffer","-b",a,n),await m("paste-buffer","-b",a,"-t",t.id,"-d")}finally{try{(0,r.unlinkSync)(n)}catch{}try{await m("delete-buffer","-b",a)}catch{}}}else await m("send-keys","-t",t.id,"-l",e);await (0,n.setTimeout)(300),await m("send-keys","-t",t.id,"Enter")},async getOutput(t,e=50){try{return await m("capture-pane","-t",t.id,"-p","-S",`-${e}`)}catch{return""}},async isAlive(t){try{return await m("has-session","-t",t.id),!0}catch{return!1}},getAttachInfo:async t=>({type:"tmux",target:t.id,command:`${u} attach -t ${t.id}`})}}t.s(["create",()=>y,"default",0,{manifest:d,create:y},"manifest",0,d])}];
1
+ module.exports=[66680,(t,e,a)=>{e.exports=t.x("node:crypto",()=>require("node:crypto"))},36340,(t,e,a)=>{e.exports=t.x("node:timers/promises",()=>require("node:timers/promises"))},80565,t=>{"use strict";var e=t.i(74533),a=t.i(12057),n=t.i(36340),i=t.i(66680),r=t.i(2157),s=t.i(60526),o=t.i(50227);let c=(0,a.promisify)(e.execFile),u=function(){for(let t of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,r.existsSync)(t))return t;return"tmux"}(),d={name:"tmux",slot:"runtime",description:"Runtime plugin: tmux sessions",version:"0.2.5"},l=/^[a-zA-Z0-9_-]+$/;async function m(...t){let{stdout:e}=await c(u,t,{timeout:3e4});return e.trimEnd()}function y(){return{name:"tmux",async create(t){var e=t.sessionId;if(!l.test(e))throw Error(`Invalid session ID "${e}": must match ${l}`);let a=t.sessionId,c=[];for(let[e,a]of Object.entries(t.environment??{}))c.push("-e",`${e}=${a}`);await m("new-session","-d","-s",a,"-c",t.workspacePath,...c);try{if(t.launchCommand.length>200){let e=`claw-launch-${(0,i.randomUUID)().slice(0,8)}`,c=(0,o.join)((0,s.tmpdir)(),`claw-launch-${(0,i.randomUUID)()}.txt`);(0,r.writeFileSync)(c,t.launchCommand,{encoding:"utf-8",mode:384});try{await m("load-buffer","-b",e,c),await m("paste-buffer","-b",e,"-t",a,"-d")}finally{try{(0,r.unlinkSync)(c)}catch{}}await (0,n.setTimeout)(300),await m("send-keys","-t",a,"Enter")}else await m("send-keys","-t",a,t.launchCommand,"Enter")}catch(e){try{await m("kill-session","-t",a)}catch{}let t=e instanceof Error?e.message:String(e);throw Error(`Failed to send launch command to session "${a}": ${t}`,{cause:e})}for(let t of[8e3,12e3,16e3,2e4,25e3,3e4])(0,n.setTimeout)(t).then(()=>m("send-keys","-t",a,"Enter").catch(()=>{}));return{id:a,runtimeName:"tmux",data:{createdAt:Date.now(),workspacePath:t.workspacePath}}},async destroy(t){try{await m("kill-session","-t",t.id)}catch{}},async sendMessage(t,e){if(await m("send-keys","-t",t.id,"C-u"),e.includes("\n")||e.length>200){let a=`claw-${(0,i.randomUUID)()}`,n=(0,o.join)((0,s.tmpdir)(),`claw-send-${(0,i.randomUUID)()}.txt`);(0,r.writeFileSync)(n,e,{encoding:"utf-8",mode:384});try{await m("load-buffer","-b",a,n),await m("paste-buffer","-b",a,"-t",t.id,"-d")}finally{try{(0,r.unlinkSync)(n)}catch{}try{await m("delete-buffer","-b",a)}catch{}}}else await m("send-keys","-t",t.id,"-l",e);await (0,n.setTimeout)(300),await m("send-keys","-t",t.id,"Enter")},async getOutput(t,e=50){try{return await m("capture-pane","-t",t.id,"-p","-S",`-${e}`)}catch{return""}},async isAlive(t){try{return await m("has-session","-t",t.id),!0}catch{return!1}},getAttachInfo:async t=>({type:"tmux",target:t.id,command:`${u} attach -t ${t.id}`})}}t.s(["create",()=>y,"default",0,{manifest:d,create:y},"manifest",0,d])}];
2
2
 
3
3
  //# sourceMappingURL=%5Broot-of-the-server%5D__fb6ab669._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[72939,e=>{"use strict";e.i(20435);var a=e.i(45629),r=e.i(33498),t=e.i(15965),i=e.i(64564),o=e.i(54185),s=e.i(31212),d=e.i(28738),n=e.i(69485),l=e.i(77646),S=e.i(5453),c=e.i(81425),g=e.i(38969),T=e.i(64348);e.s(["BASE_AGENT_PROMPT",()=>n.BASE_AGENT_PROMPT,"CI_STATUS",()=>a.CI_STATUS,"DEFAULT_COLUMN_ALIASES",()=>T.DEFAULT_COLUMN_ALIASES,"DEFAULT_READY_THRESHOLD_MS",()=>a.DEFAULT_READY_THRESHOLD_MS,"NON_RESTORABLE_STATUSES",()=>a.NON_RESTORABLE_STATUSES,"PR_STATE",()=>a.PR_STATE,"SESSION_STATUS",()=>a.SESSION_STATUS,"SessionNotRestorableError",()=>a.SessionNotRestorableError,"TERMINAL_ACTIVITIES",()=>a.TERMINAL_ACTIVITIES,"TERMINAL_STATUSES",()=>a.TERMINAL_STATUSES,"WorkspaceMissingError",()=>a.WorkspaceMissingError,"boardEntriesToPaths",()=>g.boardEntriesToPaths,"buildBoardProjectMap",()=>c.buildBoardProjectMap,"buildConductorBoard",()=>t.buildConductorBoard,"buildConductorYaml",()=>t.buildConductorYaml,"buildProjectConfigRecord",()=>t.buildProjectConfigRecord,"buildPrompt",()=>n.buildPrompt,"createBoardWatcher",()=>c.createBoardWatcher,"createLifecycleManager",()=>d.createLifecycleManager,"createPluginRegistry",()=>i.createPluginRegistry,"createSessionManager",()=>s.createSessionManager,"defaultAliasMapping",()=>g.defaultAliasMapping,"deleteMetadata",()=>o.deleteMetadata,"discoverBoards",()=>c.discoverBoards,"expandHome",()=>S.expandHome,"findConfig",()=>r.findConfig,"findConfigFile",()=>r.findConfigFile,"generateConfigHash",()=>S.generateConfigHash,"generateInstanceId",()=>S.generateInstanceId,"generateProjectId",()=>S.generateProjectId,"generateSessionName",()=>S.generateSessionName,"generateSessionPrefix",()=>S.generateSessionPrefix,"generateTmuxName",()=>S.generateTmuxName,"getArchiveDir",()=>S.getArchiveDir,"getDefaultConfig",()=>r.getDefaultConfig,"getOriginFilePath",()=>S.getOriginFilePath,"getProjectBaseDir",()=>S.getProjectBaseDir,"getSessionsDir",()=>S.getSessionsDir,"getUncheckedTasks",()=>T.getUncheckedTasks,"getWorktreesDir",()=>S.getWorktreesDir,"isIssueNotFoundError",()=>a.isIssueNotFoundError,"isRestorable",()=>a.isRestorable,"isTerminalSession",()=>a.isTerminalSession,"listMetadata",()=>o.listMetadata,"loadConfig",()=>r.loadConfig,"loadConfigWithPath",()=>r.loadConfigWithPath,"parseBoardSections",()=>T.parseBoardSections,"parseBoardStatus",()=>g.parseBoardStatus,"parseChecklistItems",()=>T.parseChecklistItems,"parseTmuxName",()=>S.parseTmuxName,"readArchivedMetadataRaw",()=>o.readArchivedMetadataRaw,"readLastJsonlEntry",()=>l.readLastJsonlEntry,"readMetadataRaw",()=>o.readMetadataRaw,"readRecentWatcherActions",()=>g.readRecentWatcherActions,"recordWatcherAction",()=>g.recordWatcherAction,"reserveSessionId",()=>o.reserveSessionId,"resolveBoardAliasesForPath",()=>g.resolveBoardAliasesForPath,"resolveColumnsFromBoard",()=>T.resolveColumnsFromBoard,"shellEscape",()=>a.shellEscape,"updateMetadata",()=>o.updateMetadata,"validateAndStoreOrigin",()=>S.validateAndStoreOrigin,"validateConfig",()=>r.validateConfig,"validateUrl",()=>l.validateUrl,"writeMetadata",()=>o.writeMetadata])}];
1
+ module.exports=[72939,e=>{"use strict";e.i(20435);var a=e.i(45629),r=e.i(33498),t=e.i(15965),i=e.i(64564),o=e.i(54185),s=e.i(31212),n=e.i(28738),d=e.i(69485),l=e.i(77646),c=e.i(5453),S=e.i(80754),g=e.i(81425),T=e.i(38969),A=e.i(64348);e.s(["BASE_AGENT_PROMPT",()=>d.BASE_AGENT_PROMPT,"CI_STATUS",()=>a.CI_STATUS,"DEFAULT_COLUMN_ALIASES",()=>A.DEFAULT_COLUMN_ALIASES,"DEFAULT_READY_THRESHOLD_MS",()=>a.DEFAULT_READY_THRESHOLD_MS,"NON_RESTORABLE_STATUSES",()=>a.NON_RESTORABLE_STATUSES,"PR_STATE",()=>a.PR_STATE,"SESSION_STATUS",()=>a.SESSION_STATUS,"SessionNotRestorableError",()=>a.SessionNotRestorableError,"TERMINAL_ACTIVITIES",()=>a.TERMINAL_ACTIVITIES,"TERMINAL_STATUSES",()=>a.TERMINAL_STATUSES,"WorkspaceMissingError",()=>a.WorkspaceMissingError,"boardEntriesToPaths",()=>T.boardEntriesToPaths,"buildBoardProjectMap",()=>g.buildBoardProjectMap,"buildConductorBoard",()=>t.buildConductorBoard,"buildConductorYaml",()=>t.buildConductorYaml,"buildProjectConfigRecord",()=>t.buildProjectConfigRecord,"buildPrompt",()=>d.buildPrompt,"createBoardWatcher",()=>g.createBoardWatcher,"createLifecycleManager",()=>n.createLifecycleManager,"createPluginRegistry",()=>i.createPluginRegistry,"createSessionManager",()=>s.createSessionManager,"defaultAliasMapping",()=>T.defaultAliasMapping,"deleteMetadata",()=>o.deleteMetadata,"discoverBoards",()=>g.discoverBoards,"expandHome",()=>c.expandHome,"findConfig",()=>r.findConfig,"findConfigFile",()=>r.findConfigFile,"generateConfigHash",()=>c.generateConfigHash,"generateInstanceId",()=>c.generateInstanceId,"generateProjectId",()=>c.generateProjectId,"generateSessionName",()=>c.generateSessionName,"generateSessionPrefix",()=>c.generateSessionPrefix,"generateTmuxName",()=>c.generateTmuxName,"getArchiveDir",()=>c.getArchiveDir,"getDefaultConfig",()=>r.getDefaultConfig,"getOriginFilePath",()=>c.getOriginFilePath,"getProjectBaseDir",()=>c.getProjectBaseDir,"getSessionsDir",()=>c.getSessionsDir,"getUncheckedTasks",()=>A.getUncheckedTasks,"getWorktreesDir",()=>c.getWorktreesDir,"isIssueNotFoundError",()=>a.isIssueNotFoundError,"isRestorable",()=>a.isRestorable,"isTerminalSession",()=>a.isTerminalSession,"listMetadata",()=>o.listMetadata,"loadConfig",()=>r.loadConfig,"loadConfigWithPath",()=>r.loadConfigWithPath,"parseBoardSections",()=>A.parseBoardSections,"parseBoardStatus",()=>T.parseBoardStatus,"parseChecklistItems",()=>A.parseChecklistItems,"parseTmuxName",()=>c.parseTmuxName,"readArchivedMetadataRaw",()=>o.readArchivedMetadataRaw,"readLastJsonlEntry",()=>l.readLastJsonlEntry,"readMetadataRaw",()=>o.readMetadataRaw,"readRecentWatcherActions",()=>T.readRecentWatcherActions,"recordWatcherAction",()=>T.recordWatcherAction,"reserveSessionId",()=>o.reserveSessionId,"resolveBoardAliasesForPath",()=>T.resolveBoardAliasesForPath,"resolveColumnsFromBoard",()=>A.resolveColumnsFromBoard,"resolveConfiguredProjectPath",()=>S.resolveConfiguredProjectPath,"shellEscape",()=>a.shellEscape,"syncWorkspaceSupportFiles",()=>g.syncWorkspaceSupportFiles,"updateMetadata",()=>o.updateMetadata,"validateAndStoreOrigin",()=>c.validateAndStoreOrigin,"validateConfig",()=>r.validateConfig,"validateUrl",()=>l.validateUrl,"writeMetadata",()=>o.writeMetadata])}];
2
2
 
3
3
  //# sourceMappingURL=packages_core_dist_index_cdd30418.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[91336,t=>{"use strict";t.i(20435);var e=t.i(45629),n=t.i(74533),i=t.i(2157);let r=(0,t.i(12057).promisify)(n.execFile),l=["amp","amp-cli"],s=function(){for(let t of[process.env.AMP_BIN,...l.flatMap(t=>[`/opt/homebrew/bin/${t}`,`/usr/local/bin/${t}`,`/usr/bin/${t}`,`/bin/${t}`])].filter(Boolean))if((0,i.existsSync)(t))return t;return l[0]??"amp"}(),a=function(){for(let t of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,i.existsSync)(t))return t;return"tmux"}();async function u(t,e=30){if("tmux"!==t.runtimeName||!t.id)return null;try{let{stdout:n}=await r(a,["capture-pane","-t",t.id,"-p","-l",String(e)],{timeout:5e3});return n}catch{return null}}function o(t){if(!t.trim())return"idle";let e=t.trim().split("\n"),n=[...e].reverse().find(t=>""!==t.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let i=e.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(i)||/do you want|confirm|approve|proceed/i.test(i)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function m(t){try{if("tmux"===t.runtimeName&&t.id){let{stdout:e}=await r(a,["list-panes","-t",t.id,"-F","#{pane_tty}"],{timeout:3e4}),n=e.trim().split("\n").map(t=>t.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:i}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(n.map(t=>t.replace(/^\/dev\//,""))),s="amp".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${s}(?:\\s|$)`);for(let t of i.split("\n")){let e=t.trimStart().split(/\s+/);if(e.length<3||!l.has(e[1]??""))continue;let n=e.slice(2).join(" ");if(u.test(n))return parseInt(e[0]??"0",10)}return null}let e=t.data.pid,n="number"==typeof e?e:Number(e);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(t){if(t instanceof Error&&"code"in t&&"EPERM"===t.code)return n;return null}}catch{return null}}let c={name:"amp",slot:"agent",description:"Agent plugin: Amp CLI",version:"0.2.3"};function p(){return{name:"amp",processName:"amp",promptDelivery:"inline",getLaunchCommand(t){let n=[s];return t.prompt&&n.push((0,e.shellEscape)(t.prompt)),n.join(" ")},getEnvironment(t){let e={};return e.CO_SESSION_ID=t.sessionId,t.issueId&&(e.CO_ISSUE_ID=t.issueId),e},detectActivity:t=>o(t),async getActivityState(t){let e=new Date;if(!t.runtimeHandle||!await m(t.runtimeHandle))return{state:"exited",timestamp:e};let n=await u(t.runtimeHandle);if(!n)return{state:"active",timestamp:e};let i=o(n);return{state:"idle"===i?"ready":i,timestamp:e}},isProcessRunning:async t=>null!==await m(t),async getSessionInfo(t){if(!t.runtimeHandle)return null;let e=await u(t.runtimeHandle,80);if(!e)return null;let n=e.trim().split("\n").map(t=>t.trim()).filter(t=>t.length>0).filter(t=>!/^[❯>$#]\s*$/.test(t)).slice(-1)[0]??null;return n?{summary:n.substring(0,280),summaryIsFallback:!0,agentSessionId:t.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(t,e){}}}t.s(["create",()=>p,"default",0,{manifest:c,create:p},"manifest",0,c])}];
1
+ module.exports=[91336,t=>{"use strict";t.i(20435);var e=t.i(45629),n=t.i(74533),i=t.i(2157);let r=(0,t.i(12057).promisify)(n.execFile),l=["amp","amp-cli"],s=function(){for(let t of[process.env.AMP_BIN,...l.flatMap(t=>[`/opt/homebrew/bin/${t}`,`/usr/local/bin/${t}`,`/usr/bin/${t}`,`/bin/${t}`])].filter(Boolean))if((0,i.existsSync)(t))return t;return l[0]??"amp"}(),a=function(){for(let t of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,i.existsSync)(t))return t;return"tmux"}();async function u(t,e=30){if("tmux"!==t.runtimeName||!t.id)return null;try{let{stdout:n}=await r(a,["capture-pane","-t",t.id,"-p","-l",String(e)],{timeout:5e3});return n}catch{return null}}function o(t){if(!t.trim())return"idle";let e=t.trim().split("\n"),n=[...e].reverse().find(t=>""!==t.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let i=e.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(i)||/do you want|confirm|approve|proceed/i.test(i)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function m(t){try{if("tmux"===t.runtimeName&&t.id){let{stdout:e}=await r(a,["list-panes","-t",t.id,"-F","#{pane_tty}"],{timeout:3e4}),n=e.trim().split("\n").map(t=>t.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:i}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(n.map(t=>t.replace(/^\/dev\//,""))),s="amp".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),u=RegExp(`(?:^|/)${s}(?:\\s|$)`);for(let t of i.split("\n")){let e=t.trimStart().split(/\s+/);if(e.length<3||!l.has(e[1]??""))continue;let n=e.slice(2).join(" ");if(u.test(n))return parseInt(e[0]??"0",10)}return null}let e=t.data.pid,n="number"==typeof e?e:Number(e);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(t){if(t instanceof Error&&"code"in t&&"EPERM"===t.code)return n;return null}}catch{return null}}let c={name:"amp",slot:"agent",description:"Agent plugin: Amp CLI",version:"0.2.5"};function p(){return{name:"amp",processName:"amp",promptDelivery:"inline",getLaunchCommand(t){let n=[s];return t.prompt&&n.push((0,e.shellEscape)(t.prompt)),n.join(" ")},getEnvironment(t){let e={};return e.CO_SESSION_ID=t.sessionId,t.issueId&&(e.CO_ISSUE_ID=t.issueId),e},detectActivity:t=>o(t),async getActivityState(t){let e=new Date;if(!t.runtimeHandle||!await m(t.runtimeHandle))return{state:"exited",timestamp:e};let n=await u(t.runtimeHandle);if(!n)return{state:"active",timestamp:e};let i=o(n);return{state:"idle"===i?"ready":i,timestamp:e}},isProcessRunning:async t=>null!==await m(t),async getSessionInfo(t){if(!t.runtimeHandle)return null;let e=await u(t.runtimeHandle,80);if(!e)return null;let n=e.trim().split("\n").map(t=>t.trim()).filter(t=>t.length>0).filter(t=>!/^[❯>$#]\s*$/.test(t)).slice(-1)[0]??null;return n?{summary:n.substring(0,280),summaryIsFallback:!0,agentSessionId:t.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(t,e){}}}t.s(["create",()=>p,"default",0,{manifest:c,create:p},"manifest",0,c])}];
2
2
 
3
3
  //# sourceMappingURL=packages_plugins_agent-amp_dist_index_bf3d8239.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[11048,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),i=e.i(2157);let r=(0,e.i(12057).promisify)(n.execFile),l=["ccr"],s=function(){for(let e of[process.env.CCR_BIN,...l.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,i.existsSync)(e))return e;return l[0]??"ccr"}(),u=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,i.existsSync)(e))return e;return"tmux"}();async function a(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await r(u,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function o(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let i=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(i)||/do you want|confirm|approve|proceed/i.test(i)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await r(u,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:i}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(n.map(e=>e.replace(/^\/dev\//,""))),s="ccr".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),a=RegExp(`(?:^|/)${s}(?:\\s|$)`);for(let e of i.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!l.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(a.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let m={name:"ccr",slot:"agent",description:"Agent plugin: Claude Code Router",version:"0.2.3"};function p(){return{name:"ccr",processName:"ccr",promptDelivery:"inline",getLaunchCommand(e){let n=[s];return e.prompt&&n.push((0,t.shellEscape)(e.prompt)),n.join(" ")},getEnvironment(e){let t={};return t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t},detectActivity:e=>o(e),async getActivityState(e){let t=new Date;if(!e.runtimeHandle||!await c(e.runtimeHandle))return{state:"exited",timestamp:t};let n=await a(e.runtimeHandle);if(!n)return{state:"active",timestamp:t};let i=o(n);return{state:"idle"===i?"ready":i,timestamp:t}},isProcessRunning:async e=>null!==await c(e),async getSessionInfo(e){if(!e.runtimeHandle)return null;let t=await a(e.runtimeHandle,80);if(!t)return null;let n=t.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).filter(e=>!/^[❯>$#]\s*$/.test(e)).slice(-1)[0]??null;return n?{summary:n.substring(0,280),summaryIsFallback:!0,agentSessionId:e.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(e,t){}}}e.s(["create",()=>p,"default",0,{manifest:m,create:p},"manifest",0,m])}];
1
+ module.exports=[11048,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),i=e.i(2157);let r=(0,e.i(12057).promisify)(n.execFile),l=["ccr"],s=function(){for(let e of[process.env.CCR_BIN,...l.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,i.existsSync)(e))return e;return l[0]??"ccr"}(),u=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,i.existsSync)(e))return e;return"tmux"}();async function a(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await r(u,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function o(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let i=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(i)||/do you want|confirm|approve|proceed/i.test(i)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await r(u,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:i}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(n.map(e=>e.replace(/^\/dev\//,""))),s="ccr".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),a=RegExp(`(?:^|/)${s}(?:\\s|$)`);for(let e of i.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!l.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(a.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let m={name:"ccr",slot:"agent",description:"Agent plugin: Claude Code Router",version:"0.2.5"};function p(){return{name:"ccr",processName:"ccr",promptDelivery:"inline",getLaunchCommand(e){let n=[s];return e.prompt&&n.push((0,t.shellEscape)(e.prompt)),n.join(" ")},getEnvironment(e){let t={};return t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t},detectActivity:e=>o(e),async getActivityState(e){let t=new Date;if(!e.runtimeHandle||!await c(e.runtimeHandle))return{state:"exited",timestamp:t};let n=await a(e.runtimeHandle);if(!n)return{state:"active",timestamp:t};let i=o(n);return{state:"idle"===i?"ready":i,timestamp:t}},isProcessRunning:async e=>null!==await c(e),async getSessionInfo(e){if(!e.runtimeHandle)return null;let t=await a(e.runtimeHandle,80);if(!t)return null;let n=t.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).filter(e=>!/^[❯>$#]\s*$/.test(e)).slice(-1)[0]??null;return n?{summary:n.substring(0,280),summaryIsFallback:!0,agentSessionId:e.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(e,t){}}}e.s(["create",()=>p,"default",0,{manifest:m,create:p},"manifest",0,m])}];
2
2
 
3
3
  //# sourceMappingURL=packages_plugins_agent-ccr_dist_index_69cbf726.js.map
@@ -120,6 +120,6 @@ fi
120
120
 
121
121
  echo '{}'
122
122
  exit 0
123
- `,m={name:"claude-code",slot:"agent",description:"Agent plugin: Claude Code CLI",version:"0.2.3"};function d(e){return e.replace(/\\/g,"/").replace(/:/g,"").replace(/[/.]/g,"-")}async function h(e){let t;try{t=await (0,s.readdir)(e)}catch{return null}let a=t.filter(e=>e.endsWith(".jsonl")&&!e.startsWith("agent-"));if(0===a.length)return null;let r=await Promise.all(a.map(async t=>{let a=(0,n.join)(e,t);try{let e=await (0,s.stat)(a);return{path:a,mtime:e.mtimeMs}}catch{return{path:a,mtime:0}}}));return r.sort((e,t)=>t.mtime-e.mtime),r[0]?.path??null}async function f(e,t=131072){let a,r;try{let{size:i=0}=await (0,s.stat)(e);if(r=Math.max(0,i-t),0===r)a=await (0,s.readFile)(e,"utf-8");else{let t=await (0,s.open)(e,"r");try{let e=i-r,s=Buffer.allocUnsafe(e);await t.read(s,0,e,r),a=s.toString("utf-8")}finally{await t.close()}}}catch{return[]}let i=a.indexOf("\n"),n=r>0&&i>=0?a.slice(i+1):a,o=[];for(let e of n.split("\n")){let t=e.trim();if(t)try{let e=JSON.parse(t);"object"!=typeof e||null===e||Array.isArray(e)||o.push(e)}catch{}}return o}async function y(e){try{let t,a=await (0,s.stat)(e),r=a.mtime,i=Math.max(0,a.size-8192);if(0===i)t=await (0,s.readFile)(e,"utf-8");else{let r=await (0,s.open)(e,"r");try{let e=a.size-i,s=Buffer.allocUnsafe(e);await r.read(s,0,e,i),t=s.toString("utf-8")}finally{await r.close()}}let n=t.trim().split("\n");for(let e=n.length-1;e>=0;e--){let t=n[e]?.trim();if(t)try{let e=JSON.parse(t);if("string"==typeof e.type)return{lastType:e.type,modifiedAt:r}}catch{continue}}return null}catch{return null}}async function g(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await c(u,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),a=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===a.length)return null;let{stdout:s}=await c("ps",["-eo","pid,tty,args"],{timeout:3e4}),r=new Set(a.map(e=>e.replace(/^\/dev\//,""))),i=/(?:^|\/)claude(?:\s|$)/;for(let e of s.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!r.has(t[1]??""))continue;let a=t.slice(2).join(" ");if(i.test(a))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,a="number"==typeof t?t:Number(t);if(Number.isFinite(a)&&a>0)try{return process.kill(a,0),a}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return a}return null}catch{return null}}async function _(e,t){let a=(0,n.join)(e,".claude"),i=(0,n.join)(a,"settings.json"),o=(0,n.join)(a,"metadata-updater.sh");try{await (0,s.mkdir)(a,{recursive:!0})}catch{}await (0,s.writeFile)(o,p,"utf-8"),await (0,s.chmod)(o,493);let l={};if((0,r.existsSync)(i))try{let e=await (0,s.readFile)(i,"utf-8");l=JSON.parse(e)}catch{}let c=l.hooks??{},u=c.PostToolUse??[],m=-1,d=-1;for(let e=0;e<u.length;e++){let t=u[e];if("object"!=typeof t||null===t||Array.isArray(t))continue;let a=t.hooks;if(Array.isArray(a)){for(let t=0;t<a.length;t++){let s=a[t];if(!("object"!=typeof s||null===s||Array.isArray(s))&&"string"==typeof s.command&&s.command.includes("metadata-updater.sh")){m=e,d=t;break}}if(m>=0)break}}-1===m?u.push({matcher:"Bash",hooks:[{type:"command",command:t,timeout:5e3}]}):u[m].hooks[d].command=t,c.PostToolUse=u,l.hooks=c,await (0,s.writeFile)(i,JSON.stringify(l,null,2)+"\n","utf-8")}async function $(e){let t=(0,n.join)(e,".claude");await (0,s.mkdir)(t,{recursive:!0});let a=(0,n.join)(t,"settings.local.json");try{await (0,s.readFile)(a,"utf-8")}catch{let e=JSON.stringify({permissions:{allow:["Bash(*)","Read(*)","Write(*)","Edit(*)","Glob(*)","Grep(*)","WebFetch(*)","WebSearch(*)"]}},null,2);await (0,s.writeFile)(a,e,"utf-8")}}function w(){return{name:"claude-code",processName:"claude",promptDelivery:"post-launch",getLaunchCommand(e){let a=["claude"];"skip"===e.permissions&&a.push("--dangerously-skip-permissions");let s=e.model??"claude-sonnet-4-6";if(a.push("--model",(0,t.shellEscape)(s)),e.systemPromptFile?a.push("--append-system-prompt",`"$(cat ${(0,t.shellEscape)(e.systemPromptFile)})"`):e.systemPrompt&&a.push("--append-system-prompt",(0,t.shellEscape)(e.systemPrompt)),e.workspacePath&&e.mcpServers&&Object.keys(e.mcpServers).length>0){let s=(0,n.join)(e.workspacePath,".claude","mcp.json");a.push("--mcp-config",(0,t.shellEscape)(s))}return`unset ANTHROPIC_API_KEY 2>/dev/null; ${a.join(" ")}`},getEnvironment(e){let t={};return t.CLAUDECODE="",t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t.PATH=`${l}:${process.env.PATH??"/usr/bin:/bin"}`,t.ANTHROPIC_API_KEY="",t},detectActivity:e=>(function(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),a=t[t.length-1]?.trim()??"";if(/^[>$#]\s*$/.test(a))return"idle";let s=t.slice(-5).join("\n");return/Do you want to proceed\?/i.test(s)||/\(Y\)es.*\(N\)o/i.test(s)||/bypass.*permissions/i.test(s)?"waiting_input":"active"})(e),isProcessRunning:async e=>null!==await g(e),async getActivityState(e,t){let a=new Date;if(!e.runtimeHandle||!await this.isProcessRunning(e.runtimeHandle))return{state:"exited",timestamp:a};if(!e.workspacePath)return null;let s=d(e.workspacePath),r=(0,n.join)((0,i.homedir)(),".claude","projects",s),o=await h(r);if(!o)return null;let l=await y(o);if(!l)return null;let c=Date.now()-l.modifiedAt.getTime(),u=l.modifiedAt;switch(l.lastType){case"user":case"tool_use":case"progress":case"assistant":case"system":default:return{state:c>(t??6e4)?"idle":"active",timestamp:u};case"summary":return{state:"ready",timestamp:u};case"result":case"permission_request":return{state:"waiting_input",timestamp:u};case"error":return{state:"blocked",timestamp:u}}},async getSessionInfo(e){if(!e.workspacePath)return null;let t=d(e.workspacePath),a=(0,n.join)((0,i.homedir)(),".claude","projects",t),s=await h(a);if(!s)return null;let r=await f(s);if(0===r.length)return null;let o=(0,n.basename)(s,".jsonl"),l=function(e){for(let t=e.length-1;t>=0;t--){let a=e[t];if(a?.type==="summary"&&a.summary)return{summary:a.summary,isFallback:!1}}for(let t=e.length-1;t>=0;t--){let a=e[t],s=a?.message?.content;if("string"==typeof s&&s.trim()&&(a?.type==="assistant"||a?.type==="result")){let e=s.replace(/\s+/g," ").trim();if(e.length>0)return{summary:e.length>200?e.substring(0,200)+"...":e,isFallback:!0}}}for(let t of e)if(t?.type==="user"&&t.message?.content&&"string"==typeof t.message.content){let e=t.message.content.replace(/\s+/g," ").trim();if(!e||e.startsWith("You are an AI coding agent managed by Conductor")||e.startsWith("## CRITICAL: Fully Autonomous Operation"))continue;return{summary:e.length>160?e.substring(0,160)+"...":e,isFallback:!0}}return null}(r);return{summary:l?.summary??null,summaryIsFallback:l?.isFallback,agentSessionId:o,cost:function(e){let t=0,a=0,s=0;for(let r of e)"number"==typeof r.costUSD?s+=r.costUSD:"number"==typeof r.estimatedCostUsd&&(s+=r.estimatedCostUsd),r.usage?(t+=r.usage.input_tokens??0,t+=r.usage.cache_read_input_tokens??0,t+=r.usage.cache_creation_input_tokens??0,a+=r.usage.output_tokens??0):("number"==typeof r.inputTokens&&(t+=r.inputTokens),"number"==typeof r.outputTokens&&(a+=r.outputTokens));if(0!==t||0!==a||0!==s)return 0===s&&(t>0||a>0)&&(s=t/1e6*3+a/1e6*15),{inputTokens:t,outputTokens:a,estimatedCostUsd:s}}(r)}},async getRestoreCommand(e,a){if(!e.workspacePath)return null;let s=d(e.workspacePath),r=(0,n.join)((0,i.homedir)(),".claude","projects",s),o=await h(r);if(!o)return null;let l=(0,n.basename)(o,".jsonl");if(!l)return null;let c=["claude","--resume",(0,t.shellEscape)(l)];return a.agentConfig?.permissions==="skip"&&c.push("--dangerously-skip-permissions"),a.agentConfig?.model&&c.push("--model",(0,t.shellEscape)(a.agentConfig.model)),c.join(" ")},async setupWorkspaceHooks(e,t){await $(e);let a=(0,n.join)(e,".claude","metadata-updater.sh");if(await _(e,a),t.mcpServers&&Object.keys(t.mcpServers).length>0){let a=(0,n.join)(e,".claude");await (0,s.mkdir)(a,{recursive:!0});let r={mcpServers:t.mcpServers};await (0,s.writeFile)((0,n.join)(a,"mcp.json"),JSON.stringify(r,null,2),"utf-8")}},async postLaunchSetup(e){if(!e.workspacePath)return;await $(e.workspacePath);let t=(0,n.join)(e.workspacePath,".claude","metadata-updater.sh");await _(e.workspacePath,t)}}}e.s(["create",()=>w,"default",0,{manifest:m,create:w},"manifest",0,m,"toClaudeProjectPath",()=>d])}];
123
+ `,m={name:"claude-code",slot:"agent",description:"Agent plugin: Claude Code CLI",version:"0.2.5"};function d(e){return e.replace(/\\/g,"/").replace(/:/g,"").replace(/[/.]/g,"-")}async function h(e){let t;try{t=await (0,s.readdir)(e)}catch{return null}let a=t.filter(e=>e.endsWith(".jsonl")&&!e.startsWith("agent-"));if(0===a.length)return null;let r=await Promise.all(a.map(async t=>{let a=(0,n.join)(e,t);try{let e=await (0,s.stat)(a);return{path:a,mtime:e.mtimeMs}}catch{return{path:a,mtime:0}}}));return r.sort((e,t)=>t.mtime-e.mtime),r[0]?.path??null}async function f(e,t=131072){let a,r;try{let{size:i=0}=await (0,s.stat)(e);if(r=Math.max(0,i-t),0===r)a=await (0,s.readFile)(e,"utf-8");else{let t=await (0,s.open)(e,"r");try{let e=i-r,s=Buffer.allocUnsafe(e);await t.read(s,0,e,r),a=s.toString("utf-8")}finally{await t.close()}}}catch{return[]}let i=a.indexOf("\n"),n=r>0&&i>=0?a.slice(i+1):a,o=[];for(let e of n.split("\n")){let t=e.trim();if(t)try{let e=JSON.parse(t);"object"!=typeof e||null===e||Array.isArray(e)||o.push(e)}catch{}}return o}async function y(e){try{let t,a=await (0,s.stat)(e),r=a.mtime,i=Math.max(0,a.size-8192);if(0===i)t=await (0,s.readFile)(e,"utf-8");else{let r=await (0,s.open)(e,"r");try{let e=a.size-i,s=Buffer.allocUnsafe(e);await r.read(s,0,e,i),t=s.toString("utf-8")}finally{await r.close()}}let n=t.trim().split("\n");for(let e=n.length-1;e>=0;e--){let t=n[e]?.trim();if(t)try{let e=JSON.parse(t);if("string"==typeof e.type)return{lastType:e.type,modifiedAt:r}}catch{continue}}return null}catch{return null}}async function g(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await c(u,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),a=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===a.length)return null;let{stdout:s}=await c("ps",["-eo","pid,tty,args"],{timeout:3e4}),r=new Set(a.map(e=>e.replace(/^\/dev\//,""))),i=/(?:^|\/)claude(?:\s|$)/;for(let e of s.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!r.has(t[1]??""))continue;let a=t.slice(2).join(" ");if(i.test(a))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,a="number"==typeof t?t:Number(t);if(Number.isFinite(a)&&a>0)try{return process.kill(a,0),a}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return a}return null}catch{return null}}async function _(e,t){let a=(0,n.join)(e,".claude"),i=(0,n.join)(a,"settings.json"),o=(0,n.join)(a,"metadata-updater.sh");try{await (0,s.mkdir)(a,{recursive:!0})}catch{}await (0,s.writeFile)(o,p,"utf-8"),await (0,s.chmod)(o,493);let l={};if((0,r.existsSync)(i))try{let e=await (0,s.readFile)(i,"utf-8");l=JSON.parse(e)}catch{}let c=l.hooks??{},u=c.PostToolUse??[],m=-1,d=-1;for(let e=0;e<u.length;e++){let t=u[e];if("object"!=typeof t||null===t||Array.isArray(t))continue;let a=t.hooks;if(Array.isArray(a)){for(let t=0;t<a.length;t++){let s=a[t];if(!("object"!=typeof s||null===s||Array.isArray(s))&&"string"==typeof s.command&&s.command.includes("metadata-updater.sh")){m=e,d=t;break}}if(m>=0)break}}-1===m?u.push({matcher:"Bash",hooks:[{type:"command",command:t,timeout:5e3}]}):u[m].hooks[d].command=t,c.PostToolUse=u,l.hooks=c,await (0,s.writeFile)(i,JSON.stringify(l,null,2)+"\n","utf-8")}async function $(e){let t=(0,n.join)(e,".claude");await (0,s.mkdir)(t,{recursive:!0});let a=(0,n.join)(t,"settings.local.json");try{await (0,s.readFile)(a,"utf-8")}catch{let e=JSON.stringify({permissions:{allow:["Bash(*)","Read(*)","Write(*)","Edit(*)","Glob(*)","Grep(*)","WebFetch(*)","WebSearch(*)"]}},null,2);await (0,s.writeFile)(a,e,"utf-8")}}function w(){return{name:"claude-code",processName:"claude",promptDelivery:"post-launch",getLaunchCommand(e){let a=["claude"];"skip"===e.permissions&&a.push("--dangerously-skip-permissions");let s=e.model??"claude-sonnet-4-6";if(a.push("--model",(0,t.shellEscape)(s)),e.systemPromptFile?a.push("--append-system-prompt",`"$(cat ${(0,t.shellEscape)(e.systemPromptFile)})"`):e.systemPrompt&&a.push("--append-system-prompt",(0,t.shellEscape)(e.systemPrompt)),e.workspacePath&&e.mcpServers&&Object.keys(e.mcpServers).length>0){let s=(0,n.join)(e.workspacePath,".claude","mcp.json");a.push("--mcp-config",(0,t.shellEscape)(s))}return`unset ANTHROPIC_API_KEY 2>/dev/null; ${a.join(" ")}`},getEnvironment(e){let t={};return t.CLAUDECODE="",t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t.PATH=`${l}:${process.env.PATH??"/usr/bin:/bin"}`,t.ANTHROPIC_API_KEY="",t},detectActivity:e=>(function(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),a=t[t.length-1]?.trim()??"";if(/^[>$#]\s*$/.test(a))return"idle";let s=t.slice(-5).join("\n");return/Do you want to proceed\?/i.test(s)||/\(Y\)es.*\(N\)o/i.test(s)||/bypass.*permissions/i.test(s)?"waiting_input":"active"})(e),isProcessRunning:async e=>null!==await g(e),async getActivityState(e,t){let a=new Date;if(!e.runtimeHandle||!await this.isProcessRunning(e.runtimeHandle))return{state:"exited",timestamp:a};if(!e.workspacePath)return null;let s=d(e.workspacePath),r=(0,n.join)((0,i.homedir)(),".claude","projects",s),o=await h(r);if(!o)return null;let l=await y(o);if(!l)return null;let c=Date.now()-l.modifiedAt.getTime(),u=l.modifiedAt;switch(l.lastType){case"user":case"tool_use":case"progress":case"assistant":case"system":default:return{state:c>(t??6e4)?"idle":"active",timestamp:u};case"summary":return{state:"ready",timestamp:u};case"result":case"permission_request":return{state:"waiting_input",timestamp:u};case"error":return{state:"blocked",timestamp:u}}},async getSessionInfo(e){if(!e.workspacePath)return null;let t=d(e.workspacePath),a=(0,n.join)((0,i.homedir)(),".claude","projects",t),s=await h(a);if(!s)return null;let r=await f(s);if(0===r.length)return null;let o=(0,n.basename)(s,".jsonl"),l=function(e){for(let t=e.length-1;t>=0;t--){let a=e[t];if(a?.type==="summary"&&a.summary)return{summary:a.summary,isFallback:!1}}for(let t=e.length-1;t>=0;t--){let a=e[t],s=a?.message?.content;if("string"==typeof s&&s.trim()&&(a?.type==="assistant"||a?.type==="result")){let e=s.replace(/\s+/g," ").trim();if(e.length>0)return{summary:e.length>200?e.substring(0,200)+"...":e,isFallback:!0}}}for(let t of e)if(t?.type==="user"&&t.message?.content&&"string"==typeof t.message.content){let e=t.message.content.replace(/\s+/g," ").trim();if(!e||e.startsWith("You are an AI coding agent managed by Conductor")||e.startsWith("## CRITICAL: Fully Autonomous Operation"))continue;return{summary:e.length>160?e.substring(0,160)+"...":e,isFallback:!0}}return null}(r);return{summary:l?.summary??null,summaryIsFallback:l?.isFallback,agentSessionId:o,cost:function(e){let t=0,a=0,s=0;for(let r of e)"number"==typeof r.costUSD?s+=r.costUSD:"number"==typeof r.estimatedCostUsd&&(s+=r.estimatedCostUsd),r.usage?(t+=r.usage.input_tokens??0,t+=r.usage.cache_read_input_tokens??0,t+=r.usage.cache_creation_input_tokens??0,a+=r.usage.output_tokens??0):("number"==typeof r.inputTokens&&(t+=r.inputTokens),"number"==typeof r.outputTokens&&(a+=r.outputTokens));if(0!==t||0!==a||0!==s)return 0===s&&(t>0||a>0)&&(s=t/1e6*3+a/1e6*15),{inputTokens:t,outputTokens:a,estimatedCostUsd:s}}(r)}},async getRestoreCommand(e,a){if(!e.workspacePath)return null;let s=d(e.workspacePath),r=(0,n.join)((0,i.homedir)(),".claude","projects",s),o=await h(r);if(!o)return null;let l=(0,n.basename)(o,".jsonl");if(!l)return null;let c=["claude","--resume",(0,t.shellEscape)(l)];return a.agentConfig?.permissions==="skip"&&c.push("--dangerously-skip-permissions"),a.agentConfig?.model&&c.push("--model",(0,t.shellEscape)(a.agentConfig.model)),c.join(" ")},async setupWorkspaceHooks(e,t){await $(e);let a=(0,n.join)(e,".claude","metadata-updater.sh");if(await _(e,a),t.mcpServers&&Object.keys(t.mcpServers).length>0){let a=(0,n.join)(e,".claude");await (0,s.mkdir)(a,{recursive:!0});let r={mcpServers:t.mcpServers};await (0,s.writeFile)((0,n.join)(a,"mcp.json"),JSON.stringify(r,null,2),"utf-8")}},async postLaunchSetup(e){if(!e.workspacePath)return;await $(e.workspacePath);let t=(0,n.join)(e.workspacePath,".claude","metadata-updater.sh");await _(e.workspacePath,t)}}}e.s(["create",()=>w,"default",0,{manifest:m,create:w},"manifest",0,m,"toClaudeProjectPath",()=>d])}];
124
124
 
125
125
  //# sourceMappingURL=packages_plugins_agent-claude-code_dist_index_31314e43.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[25106,t=>{"use strict";t.i(20435);var e=t.i(45629),r=t.i(74533),n=t.i(2157);let i=(0,t.i(12057).promisify)(r.execFile),l=["cursor","cursor-cli"],s=function(){for(let t of[process.env.CURSOR_CLI_BIN,...l.flatMap(t=>[`/opt/homebrew/bin/${t}`,`/usr/local/bin/${t}`,`/usr/bin/${t}`,`/bin/${t}`])].filter(Boolean))if((0,n.existsSync)(t))return t;return l[0]??"cursor"}(),u=function(){for(let t of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(t))return t;return"tmux"}();async function a(t,e=30){if("tmux"!==t.runtimeName||!t.id)return null;try{let{stdout:r}=await i(u,["capture-pane","-t",t.id,"-p","-l",String(e)],{timeout:5e3});return r}catch{return null}}function o(t){if(!t.trim())return"idle";let e=t.trim().split("\n"),r=[...e].reverse().find(t=>""!==t.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(r))return"idle";let n=e.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(n)||/do you want|confirm|approve|proceed/i.test(n)?"waiting_input":/^(done|complete|finished|exiting)/i.test(r)?"idle":"active"}async function c(t){try{if("tmux"===t.runtimeName&&t.id){let{stdout:e}=await i(u,["list-panes","-t",t.id,"-F","#{pane_tty}"],{timeout:3e4}),r=e.trim().split("\n").map(t=>t.trim()).filter(Boolean);if(0===r.length)return null;let{stdout:n}=await i("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(r.map(t=>t.replace(/^\/dev\//,""))),s="cursor".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),a=RegExp(`(?:^|/)${s}(?:\\s|$)`);for(let t of n.split("\n")){let e=t.trimStart().split(/\s+/);if(e.length<3||!l.has(e[1]??""))continue;let r=e.slice(2).join(" ");if(a.test(r))return parseInt(e[0]??"0",10)}return null}let e=t.data.pid,r="number"==typeof e?e:Number(e);if(!Number.isFinite(r)||r<=0)return null;try{return process.kill(r,0),r}catch(t){if(t instanceof Error&&"code"in t&&"EPERM"===t.code)return r;return null}}catch{return null}}let m={name:"cursor-cli",slot:"agent",description:"Agent plugin: Cursor CLI",version:"0.2.3"};function p(){return{name:"cursor-cli",processName:"cursor",promptDelivery:"inline",getLaunchCommand(t){let r=[s];return t.prompt&&r.push((0,e.shellEscape)(t.prompt)),r.join(" ")},getEnvironment(t){let e={};return e.CO_SESSION_ID=t.sessionId,t.issueId&&(e.CO_ISSUE_ID=t.issueId),e},detectActivity:t=>o(t),async getActivityState(t){let e=new Date;if(!t.runtimeHandle||!await c(t.runtimeHandle))return{state:"exited",timestamp:e};let r=await a(t.runtimeHandle);if(!r)return{state:"active",timestamp:e};let n=o(r);return{state:"idle"===n?"ready":n,timestamp:e}},isProcessRunning:async t=>null!==await c(t),async getSessionInfo(t){if(!t.runtimeHandle)return null;let e=await a(t.runtimeHandle,80);if(!e)return null;let r=e.trim().split("\n").map(t=>t.trim()).filter(t=>t.length>0).filter(t=>!/^[❯>$#]\s*$/.test(t)).slice(-1)[0]??null;return r?{summary:r.substring(0,280),summaryIsFallback:!0,agentSessionId:t.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(t,e){}}}t.s(["create",()=>p,"default",0,{manifest:m,create:p},"manifest",0,m])}];
1
+ module.exports=[25106,t=>{"use strict";t.i(20435);var e=t.i(45629),r=t.i(74533),n=t.i(2157);let i=(0,t.i(12057).promisify)(r.execFile),l=["cursor","cursor-cli"],s=function(){for(let t of[process.env.CURSOR_CLI_BIN,...l.flatMap(t=>[`/opt/homebrew/bin/${t}`,`/usr/local/bin/${t}`,`/usr/bin/${t}`,`/bin/${t}`])].filter(Boolean))if((0,n.existsSync)(t))return t;return l[0]??"cursor"}(),u=function(){for(let t of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(t))return t;return"tmux"}();async function a(t,e=30){if("tmux"!==t.runtimeName||!t.id)return null;try{let{stdout:r}=await i(u,["capture-pane","-t",t.id,"-p","-l",String(e)],{timeout:5e3});return r}catch{return null}}function o(t){if(!t.trim())return"idle";let e=t.trim().split("\n"),r=[...e].reverse().find(t=>""!==t.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(r))return"idle";let n=e.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(n)||/do you want|confirm|approve|proceed/i.test(n)?"waiting_input":/^(done|complete|finished|exiting)/i.test(r)?"idle":"active"}async function c(t){try{if("tmux"===t.runtimeName&&t.id){let{stdout:e}=await i(u,["list-panes","-t",t.id,"-F","#{pane_tty}"],{timeout:3e4}),r=e.trim().split("\n").map(t=>t.trim()).filter(Boolean);if(0===r.length)return null;let{stdout:n}=await i("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(r.map(t=>t.replace(/^\/dev\//,""))),s="cursor".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),a=RegExp(`(?:^|/)${s}(?:\\s|$)`);for(let t of n.split("\n")){let e=t.trimStart().split(/\s+/);if(e.length<3||!l.has(e[1]??""))continue;let r=e.slice(2).join(" ");if(a.test(r))return parseInt(e[0]??"0",10)}return null}let e=t.data.pid,r="number"==typeof e?e:Number(e);if(!Number.isFinite(r)||r<=0)return null;try{return process.kill(r,0),r}catch(t){if(t instanceof Error&&"code"in t&&"EPERM"===t.code)return r;return null}}catch{return null}}let m={name:"cursor-cli",slot:"agent",description:"Agent plugin: Cursor CLI",version:"0.2.5"};function p(){return{name:"cursor-cli",processName:"cursor",promptDelivery:"inline",getLaunchCommand(t){let r=[s];return t.prompt&&r.push((0,e.shellEscape)(t.prompt)),r.join(" ")},getEnvironment(t){let e={};return e.CO_SESSION_ID=t.sessionId,t.issueId&&(e.CO_ISSUE_ID=t.issueId),e},detectActivity:t=>o(t),async getActivityState(t){let e=new Date;if(!t.runtimeHandle||!await c(t.runtimeHandle))return{state:"exited",timestamp:e};let r=await a(t.runtimeHandle);if(!r)return{state:"active",timestamp:e};let n=o(r);return{state:"idle"===n?"ready":n,timestamp:e}},isProcessRunning:async t=>null!==await c(t),async getSessionInfo(t){if(!t.runtimeHandle)return null;let e=await a(t.runtimeHandle,80);if(!e)return null;let r=e.trim().split("\n").map(t=>t.trim()).filter(t=>t.length>0).filter(t=>!/^[❯>$#]\s*$/.test(t)).slice(-1)[0]??null;return r?{summary:r.substring(0,280),summaryIsFallback:!0,agentSessionId:t.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(t,e){}}}t.s(["create",()=>p,"default",0,{manifest:m,create:p},"manifest",0,m])}];
2
2
 
3
3
  //# sourceMappingURL=packages_plugins_agent-cursor-cli_dist_index_8d5cc426.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[86010,t=>{"use strict";t.i(20435);var e=t.i(45629),i=t.i(74533),n=t.i(2157);let r=(0,t.i(12057).promisify)(i.execFile),l=["droid"],s=function(){for(let t of[process.env.DROID_BIN,...l.flatMap(t=>[`/opt/homebrew/bin/${t}`,`/usr/local/bin/${t}`,`/usr/bin/${t}`,`/bin/${t}`])].filter(Boolean))if((0,n.existsSync)(t))return t;return l[0]??"droid"}(),u=function(){for(let t of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(t))return t;return"tmux"}();async function a(t,e=30){if("tmux"!==t.runtimeName||!t.id)return null;try{let{stdout:i}=await r(u,["capture-pane","-t",t.id,"-p","-l",String(e)],{timeout:5e3});return i}catch{return null}}function o(t){if(!t.trim())return"idle";let e=t.trim().split("\n"),i=[...e].reverse().find(t=>""!==t.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(i))return"idle";let n=e.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(n)||/do you want|confirm|approve|proceed/i.test(n)?"waiting_input":/^(done|complete|finished|exiting)/i.test(i)?"idle":"active"}async function m(t){try{if("tmux"===t.runtimeName&&t.id){let{stdout:e}=await r(u,["list-panes","-t",t.id,"-F","#{pane_tty}"],{timeout:3e4}),i=e.trim().split("\n").map(t=>t.trim()).filter(Boolean);if(0===i.length)return null;let{stdout:n}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(i.map(t=>t.replace(/^\/dev\//,""))),s="droid".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),a=RegExp(`(?:^|/)${s}(?:\\s|$)`);for(let t of n.split("\n")){let e=t.trimStart().split(/\s+/);if(e.length<3||!l.has(e[1]??""))continue;let i=e.slice(2).join(" ");if(a.test(i))return parseInt(e[0]??"0",10)}return null}let e=t.data.pid,i="number"==typeof e?e:Number(e);if(!Number.isFinite(i)||i<=0)return null;try{return process.kill(i,0),i}catch(t){if(t instanceof Error&&"code"in t&&"EPERM"===t.code)return i;return null}}catch{return null}}let c={name:"droid",slot:"agent",description:"Agent plugin: Factory Droid CLI",version:"0.2.3"};function d(){return{name:"droid",processName:"droid",promptDelivery:"inline",getLaunchCommand(t){let i=[s];return t.prompt&&i.push((0,e.shellEscape)(t.prompt)),i.join(" ")},getEnvironment(t){let e={};return e.CO_SESSION_ID=t.sessionId,t.issueId&&(e.CO_ISSUE_ID=t.issueId),e},detectActivity:t=>o(t),async getActivityState(t){let e=new Date;if(!t.runtimeHandle||!await m(t.runtimeHandle))return{state:"exited",timestamp:e};let i=await a(t.runtimeHandle);if(!i)return{state:"active",timestamp:e};let n=o(i);return{state:"idle"===n?"ready":n,timestamp:e}},isProcessRunning:async t=>null!==await m(t),async getSessionInfo(t){if(!t.runtimeHandle)return null;let e=await a(t.runtimeHandle,80);if(!e)return null;let i=e.trim().split("\n").map(t=>t.trim()).filter(t=>t.length>0).filter(t=>!/^[❯>$#]\s*$/.test(t)).slice(-1)[0]??null;return i?{summary:i.substring(0,280),summaryIsFallback:!0,agentSessionId:t.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(t,e){}}}t.s(["create",()=>d,"default",0,{manifest:c,create:d},"manifest",0,c])}];
1
+ module.exports=[86010,t=>{"use strict";t.i(20435);var e=t.i(45629),i=t.i(74533),n=t.i(2157);let r=(0,t.i(12057).promisify)(i.execFile),l=["droid"],s=function(){for(let t of[process.env.DROID_BIN,...l.flatMap(t=>[`/opt/homebrew/bin/${t}`,`/usr/local/bin/${t}`,`/usr/bin/${t}`,`/bin/${t}`])].filter(Boolean))if((0,n.existsSync)(t))return t;return l[0]??"droid"}(),u=function(){for(let t of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(t))return t;return"tmux"}();async function a(t,e=30){if("tmux"!==t.runtimeName||!t.id)return null;try{let{stdout:i}=await r(u,["capture-pane","-t",t.id,"-p","-l",String(e)],{timeout:5e3});return i}catch{return null}}function o(t){if(!t.trim())return"idle";let e=t.trim().split("\n"),i=[...e].reverse().find(t=>""!==t.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(i))return"idle";let n=e.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(n)||/do you want|confirm|approve|proceed/i.test(n)?"waiting_input":/^(done|complete|finished|exiting)/i.test(i)?"idle":"active"}async function m(t){try{if("tmux"===t.runtimeName&&t.id){let{stdout:e}=await r(u,["list-panes","-t",t.id,"-F","#{pane_tty}"],{timeout:3e4}),i=e.trim().split("\n").map(t=>t.trim()).filter(Boolean);if(0===i.length)return null;let{stdout:n}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(i.map(t=>t.replace(/^\/dev\//,""))),s="droid".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),a=RegExp(`(?:^|/)${s}(?:\\s|$)`);for(let t of n.split("\n")){let e=t.trimStart().split(/\s+/);if(e.length<3||!l.has(e[1]??""))continue;let i=e.slice(2).join(" ");if(a.test(i))return parseInt(e[0]??"0",10)}return null}let e=t.data.pid,i="number"==typeof e?e:Number(e);if(!Number.isFinite(i)||i<=0)return null;try{return process.kill(i,0),i}catch(t){if(t instanceof Error&&"code"in t&&"EPERM"===t.code)return i;return null}}catch{return null}}let c={name:"droid",slot:"agent",description:"Agent plugin: Factory Droid CLI",version:"0.2.5"};function d(){return{name:"droid",processName:"droid",promptDelivery:"inline",getLaunchCommand(t){let i=[s];return t.prompt&&i.push((0,e.shellEscape)(t.prompt)),i.join(" ")},getEnvironment(t){let e={};return e.CO_SESSION_ID=t.sessionId,t.issueId&&(e.CO_ISSUE_ID=t.issueId),e},detectActivity:t=>o(t),async getActivityState(t){let e=new Date;if(!t.runtimeHandle||!await m(t.runtimeHandle))return{state:"exited",timestamp:e};let i=await a(t.runtimeHandle);if(!i)return{state:"active",timestamp:e};let n=o(i);return{state:"idle"===n?"ready":n,timestamp:e}},isProcessRunning:async t=>null!==await m(t),async getSessionInfo(t){if(!t.runtimeHandle)return null;let e=await a(t.runtimeHandle,80);if(!e)return null;let i=e.trim().split("\n").map(t=>t.trim()).filter(t=>t.length>0).filter(t=>!/^[❯>$#]\s*$/.test(t)).slice(-1)[0]??null;return i?{summary:i.substring(0,280),summaryIsFallback:!0,agentSessionId:t.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(t,e){}}}t.s(["create",()=>d,"default",0,{manifest:c,create:d},"manifest",0,c])}];
2
2
 
3
3
  //# sourceMappingURL=packages_plugins_agent-droid_dist_index_f731227a.js.map
@@ -1,4 +1,4 @@
1
- module.exports=[67433,e=>{"use strict";e.i(20435);var t=e.i(45629),i=e.i(74533),a=e.i(2157),n=e.i(12714),r=e.i(60526),s=e.i(50227),l=e.i(12057),o=e.i(66680);let u=(0,l.promisify)(i.execFile),c=function(){for(let e of[process.env.GEMINI_BIN,"/opt/homebrew/bin/gemini","/usr/local/bin/gemini","/usr/bin/gemini"].filter(Boolean))if((0,a.existsSync)(e))return e;return"gemini"}(),m=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,a.existsSync)(e))return e;return"tmux"}(),d=(0,s.join)((0,r.homedir)(),".conductor","bin"),p={name:"gemini",slot:"agent",description:"Agent plugin: Google Gemini CLI",version:"0.2.3"},$=`#!/usr/bin/env bash
1
+ module.exports=[67433,e=>{"use strict";e.i(20435);var t=e.i(45629),i=e.i(74533),a=e.i(2157),n=e.i(12714),r=e.i(60526),s=e.i(50227),l=e.i(12057),o=e.i(66680);let u=(0,l.promisify)(i.execFile),c=function(){for(let e of[process.env.GEMINI_BIN,"/opt/homebrew/bin/gemini","/usr/local/bin/gemini","/usr/bin/gemini"].filter(Boolean))if((0,a.existsSync)(e))return e;return"gemini"}(),m=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,a.existsSync)(e))return e;return"tmux"}(),d=(0,s.join)((0,r.homedir)(),".conductor","bin"),p={name:"gemini",slot:"agent",description:"Agent plugin: Google Gemini CLI",version:"0.2.5"},$=`#!/usr/bin/env bash
2
2
  update_claw_metadata() {
3
3
  local key="$1" value="$2"
4
4
  local data_dir="\${AO_DATA_DIR:-}" session="\${AO_SESSION:-}"
@@ -1,3 +1,3 @@
1
- module.exports=[97081,t=>{"use strict";t.i(20435);var e=t.i(45629),i=t.i(74533),n=t.i(2157);let r=(0,t.i(12057).promisify)(i.execFile),l=["github-copilot","copilot","gh-copilot"],u=function(){for(let t of[process.env.GITHUB_COPILOT_BIN,...l.flatMap(t=>[`/opt/homebrew/bin/${t}`,`/usr/local/bin/${t}`,`/usr/bin/${t}`,`/bin/${t}`])].filter(Boolean))if((0,n.existsSync)(t))return t;return l[0]??"github-copilot"}(),s=function(){for(let t of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(t))return t;return"tmux"}();async function o(t,e=30){if("tmux"!==t.runtimeName||!t.id)return null;try{let{stdout:i}=await r(s,["capture-pane","-t",t.id,"-p","-l",String(e)],{timeout:5e3});return i}catch{return null}}function a(t){if(!t.trim())return"idle";let e=t.trim().split("\n"),i=[...e].reverse().find(t=>""!==t.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(i))return"idle";let n=e.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(n)||/do you want|confirm|approve|proceed/i.test(n)?"waiting_input":/^(done|complete|finished|exiting)/i.test(i)?"idle":"active"}async function c(t){try{if("tmux"===t.runtimeName&&t.id){let{stdout:e}=await r(s,["list-panes","-t",t.id,"-F","#{pane_tty}"],{timeout:3e4}),i=e.trim().split("\n").map(t=>t.trim()).filter(Boolean);if(0===i.length)return null;let{stdout:n}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(i.map(t=>t.replace(/^\/dev\//,""))),u="github-copilot".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),o=RegExp(`(?:^|/)${u}(?:\\s|$)`);for(let t of n.split("\n")){let e=t.trimStart().split(/\s+/);if(e.length<3||!l.has(e[1]??""))continue;let i=e.slice(2).join(" ");if(o.test(i))return parseInt(e[0]??"0",10)}return null}let e=t.data.pid,i="number"==typeof e?e:Number(e);if(!Number.isFinite(i)||i<=0)return null;try{return process.kill(i,0),i}catch(t){if(t instanceof Error&&"code"in t&&"EPERM"===t.code)return i;return null}}catch{return null}}let m={name:"github-copilot",slot:"agent",description:"Agent plugin: GitHub Copilot CLI",version:"0.2.3"};function p(){return{name:"github-copilot",processName:"github-copilot",promptDelivery:"inline",getLaunchCommand(t){let i=[u];return t.prompt&&i.push((0,e.shellEscape)(t.prompt)),i.join(" ")},getEnvironment(t){let e={};return e.CO_SESSION_ID=t.sessionId,t.issueId&&(e.CO_ISSUE_ID=t.issueId),e},detectActivity:t=>a(t),async getActivityState(t){let e=new Date;if(!t.runtimeHandle||!await c(t.runtimeHandle))return{state:"exited",timestamp:e};let i=await o(t.runtimeHandle);if(!i)return{state:"active",timestamp:e};let n=a(i);return{state:"idle"===n?"ready":n,timestamp:e}},isProcessRunning:async t=>null!==await c(t),async getSessionInfo(t){if(!t.runtimeHandle)return null;let e=await o(t.runtimeHandle,80);if(!e)return null;let i=e.trim().split("\n").map(t=>t.trim()).filter(t=>t.length>0).filter(t=>!/^[❯>$#]\s*$/.test(t)).slice(-1)[0]??null;return i?{summary:i.substring(0,280),summaryIsFallback:!0,agentSessionId:t.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(t,e){}}}t.s(["create",()=>p,"default",0,{manifest:m,create:p},"manifest",0,m])}];
1
+ module.exports=[97081,t=>{"use strict";t.i(20435);var e=t.i(45629),i=t.i(74533),n=t.i(2157);let r=(0,t.i(12057).promisify)(i.execFile),l=["github-copilot","copilot","gh-copilot"],u=function(){for(let t of[process.env.GITHUB_COPILOT_BIN,...l.flatMap(t=>[`/opt/homebrew/bin/${t}`,`/usr/local/bin/${t}`,`/usr/bin/${t}`,`/bin/${t}`])].filter(Boolean))if((0,n.existsSync)(t))return t;return l[0]??"github-copilot"}(),s=function(){for(let t of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,n.existsSync)(t))return t;return"tmux"}();async function o(t,e=30){if("tmux"!==t.runtimeName||!t.id)return null;try{let{stdout:i}=await r(s,["capture-pane","-t",t.id,"-p","-l",String(e)],{timeout:5e3});return i}catch{return null}}function a(t){if(!t.trim())return"idle";let e=t.trim().split("\n"),i=[...e].reverse().find(t=>""!==t.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(i))return"idle";let n=e.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(n)||/do you want|confirm|approve|proceed/i.test(n)?"waiting_input":/^(done|complete|finished|exiting)/i.test(i)?"idle":"active"}async function c(t){try{if("tmux"===t.runtimeName&&t.id){let{stdout:e}=await r(s,["list-panes","-t",t.id,"-F","#{pane_tty}"],{timeout:3e4}),i=e.trim().split("\n").map(t=>t.trim()).filter(Boolean);if(0===i.length)return null;let{stdout:n}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(i.map(t=>t.replace(/^\/dev\//,""))),u="github-copilot".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),o=RegExp(`(?:^|/)${u}(?:\\s|$)`);for(let t of n.split("\n")){let e=t.trimStart().split(/\s+/);if(e.length<3||!l.has(e[1]??""))continue;let i=e.slice(2).join(" ");if(o.test(i))return parseInt(e[0]??"0",10)}return null}let e=t.data.pid,i="number"==typeof e?e:Number(e);if(!Number.isFinite(i)||i<=0)return null;try{return process.kill(i,0),i}catch(t){if(t instanceof Error&&"code"in t&&"EPERM"===t.code)return i;return null}}catch{return null}}let m={name:"github-copilot",slot:"agent",description:"Agent plugin: GitHub Copilot CLI",version:"0.2.5"};function p(){return{name:"github-copilot",processName:"github-copilot",promptDelivery:"inline",getLaunchCommand(t){let i=[u];return t.prompt&&i.push((0,e.shellEscape)(t.prompt)),i.join(" ")},getEnvironment(t){let e={};return e.CO_SESSION_ID=t.sessionId,t.issueId&&(e.CO_ISSUE_ID=t.issueId),e},detectActivity:t=>a(t),async getActivityState(t){let e=new Date;if(!t.runtimeHandle||!await c(t.runtimeHandle))return{state:"exited",timestamp:e};let i=await o(t.runtimeHandle);if(!i)return{state:"active",timestamp:e};let n=a(i);return{state:"idle"===n?"ready":n,timestamp:e}},isProcessRunning:async t=>null!==await c(t),async getSessionInfo(t){if(!t.runtimeHandle)return null;let e=await o(t.runtimeHandle,80);if(!e)return null;let i=e.trim().split("\n").map(t=>t.trim()).filter(t=>t.length>0).filter(t=>!/^[❯>$#]\s*$/.test(t)).slice(-1)[0]??null;return i?{summary:i.substring(0,280),summaryIsFallback:!0,agentSessionId:t.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(t,e){}}}t.s(["create",()=>p,"default",0,{manifest:m,create:p},"manifest",0,m])}];
2
2
 
3
3
  //# sourceMappingURL=packages_plugins_agent-github-copilot_dist_index_9f80cb45.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[52216,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),i=e.i(2157);let r=(0,e.i(12057).promisify)(n.execFile),l=["opencode","open-code"],s=function(){for(let e of[process.env.OPEN_CODE_BIN,...l.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,i.existsSync)(e))return e;return l[0]??"opencode"}(),u=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,i.existsSync)(e))return e;return"tmux"}();async function o(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await r(u,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let i=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(i)||/do you want|confirm|approve|proceed/i.test(i)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await r(u,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:i}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(n.map(e=>e.replace(/^\/dev\//,""))),s="opencode".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),o=RegExp(`(?:^|/)${s}(?:\\s|$)`);for(let e of i.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!l.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(o.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let m={name:"opencode",slot:"agent",description:"Agent plugin: OpenCode CLI",version:"0.2.3"};function p(){return{name:"opencode",processName:"opencode",promptDelivery:"inline",getLaunchCommand(e){let n=[s];return e.prompt&&n.push((0,t.shellEscape)(e.prompt)),n.join(" ")},getEnvironment(e){let t={};return t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t},detectActivity:e=>a(e),async getActivityState(e){let t=new Date;if(!e.runtimeHandle||!await c(e.runtimeHandle))return{state:"exited",timestamp:t};let n=await o(e.runtimeHandle);if(!n)return{state:"active",timestamp:t};let i=a(n);return{state:"idle"===i?"ready":i,timestamp:t}},isProcessRunning:async e=>null!==await c(e),async getSessionInfo(e){if(!e.runtimeHandle)return null;let t=await o(e.runtimeHandle,80);if(!t)return null;let n=t.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).filter(e=>!/^[❯>$#]\s*$/.test(e)).slice(-1)[0]??null;return n?{summary:n.substring(0,280),summaryIsFallback:!0,agentSessionId:e.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(e,t){}}}e.s(["create",()=>p,"default",0,{manifest:m,create:p},"manifest",0,m])}];
1
+ module.exports=[52216,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),i=e.i(2157);let r=(0,e.i(12057).promisify)(n.execFile),l=["opencode","open-code"],s=function(){for(let e of[process.env.OPEN_CODE_BIN,...l.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,i.existsSync)(e))return e;return l[0]??"opencode"}(),u=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,i.existsSync)(e))return e;return"tmux"}();async function o(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await r(u,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function a(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let i=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(i)||/do you want|confirm|approve|proceed/i.test(i)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await r(u,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:i}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(n.map(e=>e.replace(/^\/dev\//,""))),s="opencode".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),o=RegExp(`(?:^|/)${s}(?:\\s|$)`);for(let e of i.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!l.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(o.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let m={name:"opencode",slot:"agent",description:"Agent plugin: OpenCode CLI",version:"0.2.5"};function p(){return{name:"opencode",processName:"opencode",promptDelivery:"inline",getLaunchCommand(e){let n=[s];return e.prompt&&n.push((0,t.shellEscape)(e.prompt)),n.join(" ")},getEnvironment(e){let t={};return t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t},detectActivity:e=>a(e),async getActivityState(e){let t=new Date;if(!e.runtimeHandle||!await c(e.runtimeHandle))return{state:"exited",timestamp:t};let n=await o(e.runtimeHandle);if(!n)return{state:"active",timestamp:t};let i=a(n);return{state:"idle"===i?"ready":i,timestamp:t}},isProcessRunning:async e=>null!==await c(e),async getSessionInfo(e){if(!e.runtimeHandle)return null;let t=await o(e.runtimeHandle,80);if(!t)return null;let n=t.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).filter(e=>!/^[❯>$#]\s*$/.test(e)).slice(-1)[0]??null;return n?{summary:n.substring(0,280),summaryIsFallback:!0,agentSessionId:e.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(e,t){}}}e.s(["create",()=>p,"default",0,{manifest:m,create:p},"manifest",0,m])}];
2
2
 
3
3
  //# sourceMappingURL=packages_plugins_agent-opencode_dist_index_7c7015da.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[92781,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),i=e.i(2157);let r=(0,e.i(12057).promisify)(n.execFile),l=["qwen-code"],s=function(){for(let e of[process.env.QWEN_CODE_BIN,...l.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,i.existsSync)(e))return e;return l[0]??"qwen-code"}(),u=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,i.existsSync)(e))return e;return"tmux"}();async function a(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await r(u,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function o(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let i=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(i)||/do you want|confirm|approve|proceed/i.test(i)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await r(u,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:i}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(n.map(e=>e.replace(/^\/dev\//,""))),s="qwen-code".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),a=RegExp(`(?:^|/)${s}(?:\\s|$)`);for(let e of i.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!l.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(a.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let m={name:"qwen-code",slot:"agent",description:"Agent plugin: Qwen Code CLI",version:"0.2.3"};function p(){return{name:"qwen-code",processName:"qwen-code",promptDelivery:"inline",getLaunchCommand(e){let n=[s];return e.prompt&&n.push((0,t.shellEscape)(e.prompt)),n.join(" ")},getEnvironment(e){let t={};return t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t},detectActivity:e=>o(e),async getActivityState(e){let t=new Date;if(!e.runtimeHandle||!await c(e.runtimeHandle))return{state:"exited",timestamp:t};let n=await a(e.runtimeHandle);if(!n)return{state:"active",timestamp:t};let i=o(n);return{state:"idle"===i?"ready":i,timestamp:t}},isProcessRunning:async e=>null!==await c(e),async getSessionInfo(e){if(!e.runtimeHandle)return null;let t=await a(e.runtimeHandle,80);if(!t)return null;let n=t.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).filter(e=>!/^[❯>$#]\s*$/.test(e)).slice(-1)[0]??null;return n?{summary:n.substring(0,280),summaryIsFallback:!0,agentSessionId:e.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(e,t){}}}e.s(["create",()=>p,"default",0,{manifest:m,create:p},"manifest",0,m])}];
1
+ module.exports=[92781,e=>{"use strict";e.i(20435);var t=e.i(45629),n=e.i(74533),i=e.i(2157);let r=(0,e.i(12057).promisify)(n.execFile),l=["qwen-code"],s=function(){for(let e of[process.env.QWEN_CODE_BIN,...l.flatMap(e=>[`/opt/homebrew/bin/${e}`,`/usr/local/bin/${e}`,`/usr/bin/${e}`,`/bin/${e}`])].filter(Boolean))if((0,i.existsSync)(e))return e;return l[0]??"qwen-code"}(),u=function(){for(let e of[process.env.TMUX_BIN,"/opt/homebrew/bin/tmux","/usr/local/bin/tmux","/usr/bin/tmux","/bin/tmux"].filter(Boolean))if((0,i.existsSync)(e))return e;return"tmux"}();async function a(e,t=30){if("tmux"!==e.runtimeName||!e.id)return null;try{let{stdout:n}=await r(u,["capture-pane","-t",e.id,"-p","-l",String(t)],{timeout:5e3});return n}catch{return null}}function o(e){if(!e.trim())return"idle";let t=e.trim().split("\n"),n=[...t].reverse().find(e=>""!==e.trim())?.trim()??"";if(/^[❯>$#]\s*$/.test(n))return"idle";let i=t.slice(-8).join("\n");return/\(y\)es.*\(n\)o/i.test(i)||/do you want|confirm|approve|proceed/i.test(i)?"waiting_input":/^(done|complete|finished|exiting)/i.test(n)?"idle":"active"}async function c(e){try{if("tmux"===e.runtimeName&&e.id){let{stdout:t}=await r(u,["list-panes","-t",e.id,"-F","#{pane_tty}"],{timeout:3e4}),n=t.trim().split("\n").map(e=>e.trim()).filter(Boolean);if(0===n.length)return null;let{stdout:i}=await r("ps",["-eo","pid,tty,args"],{timeout:3e4}),l=new Set(n.map(e=>e.replace(/^\/dev\//,""))),s="qwen-code".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),a=RegExp(`(?:^|/)${s}(?:\\s|$)`);for(let e of i.split("\n")){let t=e.trimStart().split(/\s+/);if(t.length<3||!l.has(t[1]??""))continue;let n=t.slice(2).join(" ");if(a.test(n))return parseInt(t[0]??"0",10)}return null}let t=e.data.pid,n="number"==typeof t?t:Number(t);if(!Number.isFinite(n)||n<=0)return null;try{return process.kill(n,0),n}catch(e){if(e instanceof Error&&"code"in e&&"EPERM"===e.code)return n;return null}}catch{return null}}let m={name:"qwen-code",slot:"agent",description:"Agent plugin: Qwen Code CLI",version:"0.2.5"};function p(){return{name:"qwen-code",processName:"qwen-code",promptDelivery:"inline",getLaunchCommand(e){let n=[s];return e.prompt&&n.push((0,t.shellEscape)(e.prompt)),n.join(" ")},getEnvironment(e){let t={};return t.CO_SESSION_ID=e.sessionId,e.issueId&&(t.CO_ISSUE_ID=e.issueId),t},detectActivity:e=>o(e),async getActivityState(e){let t=new Date;if(!e.runtimeHandle||!await c(e.runtimeHandle))return{state:"exited",timestamp:t};let n=await a(e.runtimeHandle);if(!n)return{state:"active",timestamp:t};let i=o(n);return{state:"idle"===i?"ready":i,timestamp:t}},isProcessRunning:async e=>null!==await c(e),async getSessionInfo(e){if(!e.runtimeHandle)return null;let t=await a(e.runtimeHandle,80);if(!t)return null;let n=t.trim().split("\n").map(e=>e.trim()).filter(e=>e.length>0).filter(e=>!/^[❯>$#]\s*$/.test(e)).slice(-1)[0]??null;return n?{summary:n.substring(0,280),summaryIsFallback:!0,agentSessionId:e.id}:null},getRestoreCommand:async()=>null,async setupWorkspaceHooks(e,t){}}}e.s(["create",()=>p,"default",0,{manifest:m,create:p},"manifest",0,m])}];
2
2
 
3
3
  //# sourceMappingURL=packages_plugins_agent-qwen-code_dist_index_46dd8653.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[70178,e=>{"use strict";var t=e.i(74533),i=e.i(60526);let o={name:"desktop",slot:"notifier",description:"Notifier plugin: desktop notifications (macOS + Linux)",version:"0.2.3"};function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function r(e){let i="boolean"!=typeof e?.sound||e.sound;return{name:"desktop",async notify(e){var o,r;let s,a=(s="urgent"===e.priority?"URGENT":"Conductor",`${s} [${e.sessionId}]`),c=e.message,l=(o=e.priority,!!i&&"urgent"===o);try{await (r={sound:l},new Promise((e,i)=>{{let o=n(a),s=n(c),l=r.sound?' sound name "default"':"",d=`display notification "${s}" with title "${o}"${l}`;(0,t.execFile)("osascript",["-e",d],t=>{t?i(t):e()})}}))}catch(t){let e=t instanceof Error?t.message:String(t);console.error(`[notifier-desktop] Failed to send notification: ${e}`)}}}}(0,i.platform)(),e.s(["create",()=>r,"default",0,{manifest:o,create:r},"manifest",0,o])}];
1
+ module.exports=[70178,e=>{"use strict";var t=e.i(74533),i=e.i(60526);let o={name:"desktop",slot:"notifier",description:"Notifier plugin: desktop notifications (macOS + Linux)",version:"0.2.5"};function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function r(e){let i="boolean"!=typeof e?.sound||e.sound;return{name:"desktop",async notify(e){var o,r;let s,a=(s="urgent"===e.priority?"URGENT":"Conductor",`${s} [${e.sessionId}]`),c=e.message,l=(o=e.priority,!!i&&"urgent"===o);try{await (r={sound:l},new Promise((e,i)=>{{let o=n(a),s=n(c),l=r.sound?' sound name "default"':"",d=`display notification "${s}" with title "${o}"${l}`;(0,t.execFile)("osascript",["-e",d],t=>{t?i(t):e()})}}))}catch(t){let e=t instanceof Error?t.message:String(t);console.error(`[notifier-desktop] Failed to send notification: ${e}`)}}}}(0,i.platform)(),e.s(["create",()=>r,"default",0,{manifest:o,create:r},"manifest",0,o])}];
2
2
 
3
3
  //# sourceMappingURL=packages_plugins_notifier-desktop_dist_index_ef3473f0.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[1222,t=>{"use strict";let e={name:"discord",slot:"notifier",description:"Notifier plugin: Discord via REST API",version:"0.2.3"};async function s(t,e,s){let i=`https://discord.com/api/v10/channels/${t}/messages`,r=await fetch(i,{method:"POST",headers:{Authorization:`Bot ${e}`,"Content-Type":"application/json"},body:JSON.stringify(s)});if(!r.ok){let t=await r.text().catch(()=>"unknown error");throw Error(`Discord API error ${r.status}: ${t}`)}}function i(t){let e=t?.channelId,i=t?.tokenEnvVar??"DISCORD_BOT_TOKEN";return e?{name:"discord",async notify(t){let r=process.env[i];if(!r)return void console.warn(`[notifier-discord] ${i} not set, skipping notification`);try{var n;let i,a,o=(i=(n=t.type).startsWith("session.spawned")?"🚀":n.startsWith("session.working")?"⚙️":n.startsWith("session.exited")?"🏁":n.startsWith("session.killed")?"💀":n.startsWith("session.stuck")?"🪫":n.startsWith("session.needs_input")?"⏳":n.startsWith("session.errored")?"💥":n.startsWith("pr.created")?"📬":n.startsWith("pr.merged")?"🎉":n.startsWith("pr.closed")?"🚫":n.startsWith("ci.passing")?"✅":n.startsWith("ci.failing")?"❌":n.startsWith("ci.fix_sent")?"🔧":n.startsWith("review.approved")?"👍":n.startsWith("review.changes_requested")?"📝":n.startsWith("review.pending")?"👀":n.startsWith("merge.ready")?"🟢":n.startsWith("merge.completed")?"🏆":n.startsWith("merge.conflicts")?"⚠️":n.startsWith("reaction.")?"⚡":n.startsWith("summary.")?"📊":"📢",(a=[]).push({name:"Session",value:`\`${t.sessionId}\``,inline:!0}),a.push({name:"Project",value:`\`${t.projectId}\``,inline:!0}),a.push({name:"Event",value:`\`${t.type}\``,inline:!0}),t.data.url&&"string"==typeof t.data.url&&a.push({name:"URL",value:t.data.url,inline:!1}),t.data.branch&&"string"==typeof t.data.branch&&a.push({name:"Branch",value:`\`${t.data.branch}\``,inline:!0}),{title:`${i} ${t.type.replace(/\./g," ").replace(/\b\w/g,t=>t.toUpperCase())}`,description:t.message,color:function(t){switch(t){case"urgent":return 0xff0000;case"action":return 0xff8c00;case"warning":return 0xffd700;default:return 5793266}}(t.priority),fields:a,timestamp:t.timestamp.toISOString(),footer:{text:`Conductor | ${t.priority}`}});await s(e,r,{embeds:[o]})}catch(e){let t=e instanceof Error?e.message:String(e);console.error(`[notifier-discord] Failed to send notification: ${t}`)}}}:(console.warn("[notifier-discord] No channelId configured — Discord notifications disabled."),console.warn("[notifier-discord] Set plugins.discord.channelId in conductor.yaml"),{name:"discord",async notify(){}})}t.s(["create",()=>i,"default",0,{manifest:e,create:i},"manifest",0,e])}];
1
+ module.exports=[1222,t=>{"use strict";let e={name:"discord",slot:"notifier",description:"Notifier plugin: Discord via REST API",version:"0.2.5"};async function s(t,e,s){let i=`https://discord.com/api/v10/channels/${t}/messages`,r=await fetch(i,{method:"POST",headers:{Authorization:`Bot ${e}`,"Content-Type":"application/json"},body:JSON.stringify(s)});if(!r.ok){let t=await r.text().catch(()=>"unknown error");throw Error(`Discord API error ${r.status}: ${t}`)}}function i(t){let e=t?.channelId,i=t?.tokenEnvVar??"DISCORD_BOT_TOKEN";return e?{name:"discord",async notify(t){let r=process.env[i];if(!r)return void console.warn(`[notifier-discord] ${i} not set, skipping notification`);try{var n;let i,a,o=(i=(n=t.type).startsWith("session.spawned")?"🚀":n.startsWith("session.working")?"⚙️":n.startsWith("session.exited")?"🏁":n.startsWith("session.killed")?"💀":n.startsWith("session.stuck")?"🪫":n.startsWith("session.needs_input")?"⏳":n.startsWith("session.errored")?"💥":n.startsWith("pr.created")?"📬":n.startsWith("pr.merged")?"🎉":n.startsWith("pr.closed")?"🚫":n.startsWith("ci.passing")?"✅":n.startsWith("ci.failing")?"❌":n.startsWith("ci.fix_sent")?"🔧":n.startsWith("review.approved")?"👍":n.startsWith("review.changes_requested")?"📝":n.startsWith("review.pending")?"👀":n.startsWith("merge.ready")?"🟢":n.startsWith("merge.completed")?"🏆":n.startsWith("merge.conflicts")?"⚠️":n.startsWith("reaction.")?"⚡":n.startsWith("summary.")?"📊":"📢",(a=[]).push({name:"Session",value:`\`${t.sessionId}\``,inline:!0}),a.push({name:"Project",value:`\`${t.projectId}\``,inline:!0}),a.push({name:"Event",value:`\`${t.type}\``,inline:!0}),t.data.url&&"string"==typeof t.data.url&&a.push({name:"URL",value:t.data.url,inline:!1}),t.data.branch&&"string"==typeof t.data.branch&&a.push({name:"Branch",value:`\`${t.data.branch}\``,inline:!0}),{title:`${i} ${t.type.replace(/\./g," ").replace(/\b\w/g,t=>t.toUpperCase())}`,description:t.message,color:function(t){switch(t){case"urgent":return 0xff0000;case"action":return 0xff8c00;case"warning":return 0xffd700;default:return 5793266}}(t.priority),fields:a,timestamp:t.timestamp.toISOString(),footer:{text:`Conductor | ${t.priority}`}});await s(e,r,{embeds:[o]})}catch(e){let t=e instanceof Error?e.message:String(e);console.error(`[notifier-discord] Failed to send notification: ${t}`)}}}:(console.warn("[notifier-discord] No channelId configured — Discord notifications disabled."),console.warn("[notifier-discord] Set plugins.discord.channelId in conductor.yaml"),{name:"discord",async notify(){}})}t.s(["create",()=>i,"default",0,{manifest:e,create:i},"manifest",0,e])}];
2
2
 
3
3
  //# sourceMappingURL=packages_plugins_notifier-discord_dist_index_34257226.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[402,e=>{"use strict";var t=e.i(74533);let r=(0,e.i(12057).promisify)(t.execFile);async function n(e){try{let{stdout:t}=await r("gh",e,{maxBuffer:0xa00000,timeout:3e4});return t.trim()}catch(r){let t=r instanceof Error?r.message:String(r);if(t.includes("rate limit")||t.includes("403")||t.includes("secondary rate"))throw Error(`gh rate limited: ${e.slice(0,3).join(" ")}`,{cause:r});throw Error(`gh ${e.slice(0,3).join(" ")} failed: ${t}`,{cause:r})}}function i(e,t){try{return JSON.parse(e)}catch{throw Error(`Failed to parse gh output for ${t}: ${e.slice(0,200)}`)}}function a(e){return`${e.owner}/${e.repo}`}let s={name:"github",slot:"scm",description:"SCM plugin: GitHub PRs, CI checks, reviews, merge readiness",version:"0.2.3"};function o(){return{name:"github",async detectPR(e,t){if(!e.branch)return null;let r=t.repo.split("/");if(2!==r.length||!r[0]||!r[1])throw Error(`Invalid repo format "${t.repo}", expected "owner/repo"`);let[a,s]=r;try{let r=await n(["pr","list","--repo",t.repo,"--head",e.branch,"--json","number,url,title,headRefName,baseRefName,isDraft","--limit","1"]),o=i(r,"detectPR");if(0===o.length)return null;let l=o[0];return{number:l.number,url:l.url,title:l.title,owner:a,repo:s,branch:l.headRefName,baseBranch:l.baseRefName,isDraft:l.isDraft}}catch{return null}},async getPRState(e){let t=i(await n(["pr","view",String(e.number),"--repo",a(e),"--json","state"]),"getPRState").state.toUpperCase();return"MERGED"===t?"merged":"CLOSED"===t?"closed":"open"},async mergePR(e,t="squash"){await n(["pr","merge",String(e.number),"--repo",a(e),"rebase"===t?"--rebase":"merge"===t?"--merge":"--squash","--delete-branch"])},async closePR(e){await n(["pr","close",String(e.number),"--repo",a(e)])},async getCIChecks(e){try{let t=await n(["pr","checks",String(e.number),"--repo",a(e),"--json","name,state,link"]);return i(t,"getCIChecks").map(e=>{let t,r=e.state?.toUpperCase();return t="PENDING"===r||"QUEUED"===r?"pending":"IN_PROGRESS"===r?"running":"SUCCESS"===r?"passed":"FAILURE"===r||"TIMED_OUT"===r||"CANCELLED"===r||"ACTION_REQUIRED"===r?"failed":"SKIPPED"===r||"NEUTRAL"===r?"skipped":"failed",{name:e.name,status:t,url:e.link||void 0}})}catch(e){throw Error("Failed to fetch CI checks",{cause:e})}},async getCISummary(e){let t;try{t=await this.getCIChecks(e)}catch(t){if((t instanceof Error?t.message:String(t)).includes("rate limit"))return"pending";try{let t=await this.getPRState(e);if("merged"===t||"closed"===t)return"none"}catch{return"pending"}return"failing"}return 0===t.length?"none":t.some(e=>"failed"===e.status)?"failing":t.some(e=>"pending"===e.status||"running"===e.status)?"pending":t.some(e=>"passed"===e.status)?"passing":"none"},getReviews:async e=>i(await n(["pr","view",String(e.number),"--repo",a(e),"--json","reviews"]),"getReviews").reviews.map(e=>{let t,r=e.state?.toUpperCase();return t="APPROVED"===r?"approved":"CHANGES_REQUESTED"===r?"changes_requested":"DISMISSED"===r?"dismissed":"PENDING"===r?"pending":"commented",{author:e.author?.login??"unknown",state:t,body:e.body||void 0,submittedAt:function(e){if(!e)return new Date(0);let t=new Date(e);return isNaN(t.getTime())?new Date(0):t}(e.submittedAt)}}),async getReviewDecision(e){let t=(i(await n(["pr","view",String(e.number),"--repo",a(e),"--json","reviewDecision"]),"getReviewDecision").reviewDecision??"").toUpperCase();return"APPROVED"===t?"approved":"CHANGES_REQUESTED"===t?"changes_requested":"REVIEW_REQUIRED"===t?"pending":"none"},async getDeploymentPreviewUrl(e){try{let{stdout:t}=await r("gh",["pr","checks",String(e.number),"--repo",a(e),"--json","name,link,state"],{timeout:15e3,maxBuffer:2097152}),n=i(t.trim(),"getDeploymentPreviewUrl"),s=/vercel|netlify|preview|deploy/i,o=/vercel\.app|netlify\.app|preview/i;for(let e of n)if(s.test(e.name)&&e.link&&o.test(e.link))return e.link;return null}catch{return null}},async getMergeability(e){let t=[];if("merged"===await this.getPRState(e))return{mergeable:!0,ciPassing:!0,approved:!0,noConflicts:!0,blockers:[]};let r=i(await n(["pr","view",String(e.number),"--repo",a(e),"--json","mergeable,reviewDecision,mergeStateStatus,isDraft"]),"getMergeability"),s=await this.getCISummary(e),o="passing"===s||"none"===s;o||t.push(`CI is ${s}`);let l=(r.reviewDecision??"").toUpperCase();"CHANGES_REQUESTED"===l?t.push("Changes requested in review"):"REVIEW_REQUIRED"===l&&t.push("Review required");let u=(r.mergeable??"").toUpperCase(),c=(r.mergeStateStatus??"").toUpperCase();return"CONFLICTING"===u?t.push("Merge conflicts"):("UNKNOWN"===u||""===u)&&t.push("Merge status unknown (GitHub is computing)"),"BEHIND"===c?t.push("Branch is behind base branch"):"BLOCKED"===c?t.push("Merge is blocked by branch protection"):"UNSTABLE"===c&&t.push("Required checks are failing"),r.isDraft&&t.push("PR is still a draft"),{mergeable:0===t.length,ciPassing:o,approved:"APPROVED"===l,noConflicts:"MERGEABLE"===u,blockers:t}}}}e.s(["create",()=>o,"default",0,{manifest:s,create:o},"manifest",0,s])}];
1
+ module.exports=[402,e=>{"use strict";var t=e.i(74533);let r=(0,e.i(12057).promisify)(t.execFile);async function n(e){try{let{stdout:t}=await r("gh",e,{maxBuffer:0xa00000,timeout:3e4});return t.trim()}catch(r){let t=r instanceof Error?r.message:String(r);if(t.includes("rate limit")||t.includes("403")||t.includes("secondary rate"))throw Error(`gh rate limited: ${e.slice(0,3).join(" ")}`,{cause:r});throw Error(`gh ${e.slice(0,3).join(" ")} failed: ${t}`,{cause:r})}}function i(e,t){try{return JSON.parse(e)}catch{throw Error(`Failed to parse gh output for ${t}: ${e.slice(0,200)}`)}}function a(e){return`${e.owner}/${e.repo}`}let s={name:"github",slot:"scm",description:"SCM plugin: GitHub PRs, CI checks, reviews, merge readiness",version:"0.2.5"};function o(){return{name:"github",async detectPR(e,t){if(!e.branch)return null;let r=t.repo.split("/");if(2!==r.length||!r[0]||!r[1])throw Error(`Invalid repo format "${t.repo}", expected "owner/repo"`);let[a,s]=r;try{let r=await n(["pr","list","--repo",t.repo,"--head",e.branch,"--json","number,url,title,headRefName,baseRefName,isDraft","--limit","1"]),o=i(r,"detectPR");if(0===o.length)return null;let l=o[0];return{number:l.number,url:l.url,title:l.title,owner:a,repo:s,branch:l.headRefName,baseBranch:l.baseRefName,isDraft:l.isDraft}}catch{return null}},async getPRState(e){let t=i(await n(["pr","view",String(e.number),"--repo",a(e),"--json","state"]),"getPRState").state.toUpperCase();return"MERGED"===t?"merged":"CLOSED"===t?"closed":"open"},async mergePR(e,t="squash"){await n(["pr","merge",String(e.number),"--repo",a(e),"rebase"===t?"--rebase":"merge"===t?"--merge":"--squash","--delete-branch"])},async closePR(e){await n(["pr","close",String(e.number),"--repo",a(e)])},async getCIChecks(e){try{let t=await n(["pr","checks",String(e.number),"--repo",a(e),"--json","name,state,link"]);return i(t,"getCIChecks").map(e=>{let t,r=e.state?.toUpperCase();return t="PENDING"===r||"QUEUED"===r?"pending":"IN_PROGRESS"===r?"running":"SUCCESS"===r?"passed":"FAILURE"===r||"TIMED_OUT"===r||"CANCELLED"===r||"ACTION_REQUIRED"===r?"failed":"SKIPPED"===r||"NEUTRAL"===r?"skipped":"failed",{name:e.name,status:t,url:e.link||void 0}})}catch(e){throw Error("Failed to fetch CI checks",{cause:e})}},async getCISummary(e){let t;try{t=await this.getCIChecks(e)}catch(t){if((t instanceof Error?t.message:String(t)).includes("rate limit"))return"pending";try{let t=await this.getPRState(e);if("merged"===t||"closed"===t)return"none"}catch{return"pending"}return"failing"}return 0===t.length?"none":t.some(e=>"failed"===e.status)?"failing":t.some(e=>"pending"===e.status||"running"===e.status)?"pending":t.some(e=>"passed"===e.status)?"passing":"none"},getReviews:async e=>i(await n(["pr","view",String(e.number),"--repo",a(e),"--json","reviews"]),"getReviews").reviews.map(e=>{let t,r=e.state?.toUpperCase();return t="APPROVED"===r?"approved":"CHANGES_REQUESTED"===r?"changes_requested":"DISMISSED"===r?"dismissed":"PENDING"===r?"pending":"commented",{author:e.author?.login??"unknown",state:t,body:e.body||void 0,submittedAt:function(e){if(!e)return new Date(0);let t=new Date(e);return isNaN(t.getTime())?new Date(0):t}(e.submittedAt)}}),async getReviewDecision(e){let t=(i(await n(["pr","view",String(e.number),"--repo",a(e),"--json","reviewDecision"]),"getReviewDecision").reviewDecision??"").toUpperCase();return"APPROVED"===t?"approved":"CHANGES_REQUESTED"===t?"changes_requested":"REVIEW_REQUIRED"===t?"pending":"none"},async getDeploymentPreviewUrl(e){try{let{stdout:t}=await r("gh",["pr","checks",String(e.number),"--repo",a(e),"--json","name,link,state"],{timeout:15e3,maxBuffer:2097152}),n=i(t.trim(),"getDeploymentPreviewUrl"),s=/vercel|netlify|preview|deploy/i,o=/vercel\.app|netlify\.app|preview/i;for(let e of n)if(s.test(e.name)&&e.link&&o.test(e.link))return e.link;return null}catch{return null}},async getMergeability(e){let t=[];if("merged"===await this.getPRState(e))return{mergeable:!0,ciPassing:!0,approved:!0,noConflicts:!0,blockers:[]};let r=i(await n(["pr","view",String(e.number),"--repo",a(e),"--json","mergeable,reviewDecision,mergeStateStatus,isDraft"]),"getMergeability"),s=await this.getCISummary(e),o="passing"===s||"none"===s;o||t.push(`CI is ${s}`);let l=(r.reviewDecision??"").toUpperCase();"CHANGES_REQUESTED"===l?t.push("Changes requested in review"):"REVIEW_REQUIRED"===l&&t.push("Review required");let u=(r.mergeable??"").toUpperCase(),c=(r.mergeStateStatus??"").toUpperCase();return"CONFLICTING"===u?t.push("Merge conflicts"):("UNKNOWN"===u||""===u)&&t.push("Merge status unknown (GitHub is computing)"),"BEHIND"===c?t.push("Branch is behind base branch"):"BLOCKED"===c?t.push("Merge is blocked by branch protection"):"UNSTABLE"===c&&t.push("Required checks are failing"),r.isDraft&&t.push("PR is still a draft"),{mergeable:0===t.length,ciPassing:o,approved:"APPROVED"===l,noConflicts:"MERGEABLE"===u,blockers:t}}}}e.s(["create",()=>o,"default",0,{manifest:s,create:o},"manifest",0,s])}];
2
2
 
3
3
  //# sourceMappingURL=packages_plugins_scm-github_dist_index_3b5a621e.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[39172,e=>{"use strict";var r=e.i(74533);let n={name:"web",slot:"terminal",description:"Terminal plugin: web terminal via browser",version:"0.2.3"};function o(e){let n=e?.dashboardUrl??"http://localhost:3000";return{name:"web",async openSession(e){let o=`${n}/sessions/${e.id}`;try{await new Promise((e,n)=>{(0,r.execFile)("open",[o],r=>{r?n(r):e()})})}catch(n){let r=n instanceof Error?n.message:String(n);console.error(`[terminal-web] Failed to open browser: ${r}`),console.log(`[terminal-web] Session ${e.id} terminal available at ${o}`)}},async openAll(e){if(0===e.length)return;let o=`${n}/sessions`;try{await new Promise((e,n)=>{(0,r.execFile)("open",[o],r=>{r?n(r):e()})})}catch(n){let r=n instanceof Error?n.message:String(n);console.error(`[terminal-web] Failed to open browser: ${r}`),console.log(`[terminal-web] ${e.length} sessions available at ${o}`)}}}}e.s(["create",()=>o,"default",0,{manifest:n,create:o},"manifest",0,n])}];
1
+ module.exports=[39172,e=>{"use strict";var r=e.i(74533);let n={name:"web",slot:"terminal",description:"Terminal plugin: web terminal via browser",version:"0.2.5"};function o(e){let n=e?.dashboardUrl??"http://localhost:3000";return{name:"web",async openSession(e){let o=`${n}/sessions/${e.id}`;try{await new Promise((e,n)=>{(0,r.execFile)("open",[o],r=>{r?n(r):e()})})}catch(n){let r=n instanceof Error?n.message:String(n);console.error(`[terminal-web] Failed to open browser: ${r}`),console.log(`[terminal-web] Session ${e.id} terminal available at ${o}`)}},async openAll(e){if(0===e.length)return;let o=`${n}/sessions`;try{await new Promise((e,n)=>{(0,r.execFile)("open",[o],r=>{r?n(r):e()})})}catch(n){let r=n instanceof Error?n.message:String(n);console.error(`[terminal-web] Failed to open browser: ${r}`),console.log(`[terminal-web] ${e.length} sessions available at ${o}`)}}}}e.s(["create",()=>o,"default",0,{manifest:n,create:o},"manifest",0,n])}];
2
2
 
3
3
  //# sourceMappingURL=packages_plugins_terminal-web_dist_index_1e0706d3.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[62440,e=>{"use strict";var t=e.i(74533);let s=(0,e.i(12057).promisify)(t.execFile);async function r(e){try{let{stdout:t}=await s("gh",e,{maxBuffer:0xa00000,timeout:3e4});return t.trim()}catch(s){let t=s instanceof Error?s.message:String(s);throw Error(`gh ${e.slice(0,3).join(" ")} failed: ${t}`,{cause:s})}}let a={name:"github",slot:"tracker",description:"Tracker plugin: GitHub Issues",version:"0.2.3"};function i(){return{name:"github",async getIssue(e,t){var s,a;let i,o=await r(["issue","view",e,"--repo",t.repo,"--json","number,title,body,url,state,stateReason,labels"]);try{i=JSON.parse(o)}catch{throw Error(`Failed to parse gh output for getIssue: ${o.slice(0,200)}`)}return{id:String(i.number),title:i.title,description:i.body??"",url:i.url,state:(s=i.state,a=i.stateReason,"CLOSED"===s.toUpperCase()?a?.toUpperCase()==="NOT_PLANNED"?"cancelled":"closed":"open"),labels:i.labels.map(e=>e.name)}},async isCompleted(e,t){let s,a=await r(["issue","view",e,"--repo",t.repo,"--json","state"]);try{s=JSON.parse(a)}catch{throw Error(`Failed to parse gh output for isCompleted: ${a.slice(0,200)}`)}return"CLOSED"===s.state.toUpperCase()},issueUrl(e,t){let s=e.replace(/^#/,"");return`https://github.com/${t.repo}/issues/${s}`},branchName(e,t){let s=e.replace(/^#/,""),r=t.sessionPrefix||"feat";return`${r}/${s}-${e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"").slice(0,40)}`},async generatePrompt(e,t){let s=await this.getIssue(e,t),r=[`You are working on GitHub issue #${s.id}: ${s.title}`,`Issue URL: ${s.url}`,""];return s.labels.length>0&&r.push(`Labels: ${s.labels.join(", ")}`),s.description&&r.push("## Description","",s.description),r.push("","Please implement the changes described in this issue. When done, commit and push your changes."),r.join("\n")}}}e.s(["create",()=>i,"default",0,{manifest:a,create:i},"manifest",0,a])}];
1
+ module.exports=[62440,e=>{"use strict";var t=e.i(74533);let s=(0,e.i(12057).promisify)(t.execFile);async function r(e){try{let{stdout:t}=await s("gh",e,{maxBuffer:0xa00000,timeout:3e4});return t.trim()}catch(s){let t=s instanceof Error?s.message:String(s);throw Error(`gh ${e.slice(0,3).join(" ")} failed: ${t}`,{cause:s})}}let a={name:"github",slot:"tracker",description:"Tracker plugin: GitHub Issues",version:"0.2.5"};function i(){return{name:"github",async getIssue(e,t){var s,a;let i,o=await r(["issue","view",e,"--repo",t.repo,"--json","number,title,body,url,state,stateReason,labels"]);try{i=JSON.parse(o)}catch{throw Error(`Failed to parse gh output for getIssue: ${o.slice(0,200)}`)}return{id:String(i.number),title:i.title,description:i.body??"",url:i.url,state:(s=i.state,a=i.stateReason,"CLOSED"===s.toUpperCase()?a?.toUpperCase()==="NOT_PLANNED"?"cancelled":"closed":"open"),labels:i.labels.map(e=>e.name)}},async isCompleted(e,t){let s,a=await r(["issue","view",e,"--repo",t.repo,"--json","state"]);try{s=JSON.parse(a)}catch{throw Error(`Failed to parse gh output for isCompleted: ${a.slice(0,200)}`)}return"CLOSED"===s.state.toUpperCase()},issueUrl(e,t){let s=e.replace(/^#/,"");return`https://github.com/${t.repo}/issues/${s}`},branchName(e,t){let s=e.replace(/^#/,""),r=t.sessionPrefix||"feat";return`${r}/${s}-${e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"").slice(0,40)}`},async generatePrompt(e,t){let s=await this.getIssue(e,t),r=[`You are working on GitHub issue #${s.id}: ${s.title}`,`Issue URL: ${s.url}`,""];return s.labels.length>0&&r.push(`Labels: ${s.labels.join(", ")}`),s.description&&r.push("## Description","",s.description),r.push("","Please implement the changes described in this issue. When done, commit and push your changes."),r.join("\n")}}}e.s(["create",()=>i,"default",0,{manifest:a,create:i},"manifest",0,a])}];
2
2
 
3
3
  //# sourceMappingURL=packages_plugins_tracker-github_dist_index_2d7af62f.js.map
@@ -1 +1 @@
1
- <!DOCTYPE html><!--NkapotuwrwSJq04fXtieC--><html lang="en" class="tomorrow_a2464713-module__EiLYZq__variable jetbrains_mono_ceb45f79-module__540KyW__variable dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/e7bb96d7efad8e32.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/f6e6f480ea7f2bb3.js"/><script src="/_next/static/chunks/9b799cd7eb9a34ff.js" async=""></script><script src="/_next/static/chunks/a0faf637ed06e6dd.js" async=""></script><script src="/_next/static/chunks/aa7fa62da7ba831e.js" async=""></script><script src="/_next/static/chunks/1619024e63c86037.js" async=""></script><script src="/_next/static/chunks/turbopack-c3449aaab622f98c.js" async=""></script><script src="/_next/static/chunks/4372fb4d7779cd64.js" async=""></script><script src="/_next/static/chunks/f4b0696cca48db82.js" async=""></script><script src="/_next/static/chunks/341731e546f4657a.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Conductor</title><meta name="description" content="Multi-agent orchestrator dashboard"/><script>try{var t=localStorage.getItem("conductor-theme");var e=document.documentElement;e.classList.remove("light","dark");e.classList.add(t==="light"||t==="dark"?t:"dark")}catch{}</script><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="bg-[var(--bg-canvas)] text-[var(--text-strong)] antialiased"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/f6e6f480ea7f2bb3.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[46770,[\"/_next/static/chunks/4372fb4d7779cd64.js\",\"/_next/static/chunks/f4b0696cca48db82.js\",\"/_next/static/chunks/341731e546f4657a.js\"],\"ThemeProvider\"]\n3:I[81110,[\"/_next/static/chunks/4372fb4d7779cd64.js\",\"/_next/static/chunks/f4b0696cca48db82.js\",\"/_next/static/chunks/341731e546f4657a.js\"],\"default\"]\n4:I[8603,[\"/_next/static/chunks/4372fb4d7779cd64.js\",\"/_next/static/chunks/f4b0696cca48db82.js\",\"/_next/static/chunks/341731e546f4657a.js\"],\"default\"]\n5:I[16839,[\"/_next/static/chunks/4372fb4d7779cd64.js\",\"/_next/static/chunks/f4b0696cca48db82.js\",\"/_next/static/chunks/341731e546f4657a.js\"],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n8:I[16839,[\"/_next/static/chunks/4372fb4d7779cd64.js\",\"/_next/static/chunks/f4b0696cca48db82.js\",\"/_next/static/chunks/341731e546f4657a.js\"],\"ViewportBoundary\"]\na:I[16839,[\"/_next/static/chunks/4372fb4d7779cd64.js\",\"/_next/static/chunks/f4b0696cca48db82.js\",\"/_next/static/chunks/341731e546f4657a.js\"],\"MetadataBoundary\"]\nc:I[56561,[\"/_next/static/chunks/4372fb4d7779cd64.js\",\"/_next/static/chunks/f4b0696cca48db82.js\",\"/_next/static/chunks/341731e546f4657a.js\"],\"default\"]\n:HL[\"/_next/static/chunks/e7bb96d7efad8e32.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"NkapotuwrwSJq04fXtieC\",\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/e7bb96d7efad8e32.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/4372fb4d7779cd64.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/f4b0696cca48db82.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/341731e546f4657a.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"tomorrow_a2464713-module__EiLYZq__variable jetbrains_mono_ceb45f79-module__540KyW__variable dark\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var t=localStorage.getItem(\\\"conductor-theme\\\");var e=document.documentElement;e.classList.remove(\\\"light\\\",\\\"dark\\\");e.classList.add(t===\\\"light\\\"||t===\\\"dark\\\"?t:\\\"dark\\\")}catch{}\"}}]}],[\"$\",\"body\",null,{\"className\":\"bg-[var(--bg-canvas)] text-[var(--text-strong)] antialiased\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@7\"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"7:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"Conductor\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Multi-agent orchestrator dashboard\"}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><!--2lp61OU9Asm88Hx_JCL5e--><html lang="en" class="tomorrow_a2464713-module__EiLYZq__variable jetbrains_mono_ceb45f79-module__540KyW__variable dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/e7bb96d7efad8e32.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/f6e6f480ea7f2bb3.js"/><script src="/_next/static/chunks/9b799cd7eb9a34ff.js" async=""></script><script src="/_next/static/chunks/a0faf637ed06e6dd.js" async=""></script><script src="/_next/static/chunks/aa7fa62da7ba831e.js" async=""></script><script src="/_next/static/chunks/1619024e63c86037.js" async=""></script><script src="/_next/static/chunks/turbopack-c3449aaab622f98c.js" async=""></script><script src="/_next/static/chunks/4372fb4d7779cd64.js" async=""></script><script src="/_next/static/chunks/f4b0696cca48db82.js" async=""></script><script src="/_next/static/chunks/341731e546f4657a.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Conductor</title><meta name="description" content="Multi-agent orchestrator dashboard"/><script>try{var t=localStorage.getItem("conductor-theme");var e=document.documentElement;e.classList.remove("light","dark");e.classList.add(t==="light"||t==="dark"?t:"dark")}catch{}</script><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="bg-[var(--bg-canvas)] text-[var(--text-strong)] antialiased"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/f6e6f480ea7f2bb3.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[46770,[\"/_next/static/chunks/4372fb4d7779cd64.js\",\"/_next/static/chunks/f4b0696cca48db82.js\",\"/_next/static/chunks/341731e546f4657a.js\"],\"ThemeProvider\"]\n3:I[81110,[\"/_next/static/chunks/4372fb4d7779cd64.js\",\"/_next/static/chunks/f4b0696cca48db82.js\",\"/_next/static/chunks/341731e546f4657a.js\"],\"default\"]\n4:I[8603,[\"/_next/static/chunks/4372fb4d7779cd64.js\",\"/_next/static/chunks/f4b0696cca48db82.js\",\"/_next/static/chunks/341731e546f4657a.js\"],\"default\"]\n5:I[16839,[\"/_next/static/chunks/4372fb4d7779cd64.js\",\"/_next/static/chunks/f4b0696cca48db82.js\",\"/_next/static/chunks/341731e546f4657a.js\"],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n8:I[16839,[\"/_next/static/chunks/4372fb4d7779cd64.js\",\"/_next/static/chunks/f4b0696cca48db82.js\",\"/_next/static/chunks/341731e546f4657a.js\"],\"ViewportBoundary\"]\na:I[16839,[\"/_next/static/chunks/4372fb4d7779cd64.js\",\"/_next/static/chunks/f4b0696cca48db82.js\",\"/_next/static/chunks/341731e546f4657a.js\"],\"MetadataBoundary\"]\nc:I[56561,[\"/_next/static/chunks/4372fb4d7779cd64.js\",\"/_next/static/chunks/f4b0696cca48db82.js\",\"/_next/static/chunks/341731e546f4657a.js\"],\"default\"]\n:HL[\"/_next/static/chunks/e7bb96d7efad8e32.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"2lp61OU9Asm88Hx_JCL5e\",\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/e7bb96d7efad8e32.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/4372fb4d7779cd64.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/f4b0696cca48db82.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/341731e546f4657a.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"tomorrow_a2464713-module__EiLYZq__variable jetbrains_mono_ceb45f79-module__540KyW__variable dark\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"try{var t=localStorage.getItem(\\\"conductor-theme\\\");var e=document.documentElement;e.classList.remove(\\\"light\\\",\\\"dark\\\");e.classList.add(t===\\\"light\\\"||t===\\\"dark\\\"?t:\\\"dark\\\")}catch{}\"}}]}],[\"$\",\"body\",null,{\"className\":\"bg-[var(--bg-canvas)] text-[var(--text-strong)] antialiased\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@7\"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"7:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"Conductor\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Multi-agent orchestrator dashboard\"}]]\n"])</script></body></html>
@@ -1,2 +1,2 @@
1
- <!DOCTYPE html><!--NkapotuwrwSJq04fXtieC--><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/f6e6f480ea7f2bb3.js"/><script src="/_next/static/chunks/9b799cd7eb9a34ff.js" async=""></script><script src="/_next/static/chunks/a0faf637ed06e6dd.js" async=""></script><script src="/_next/static/chunks/aa7fa62da7ba831e.js" async=""></script><script src="/_next/static/chunks/1619024e63c86037.js" async=""></script><script src="/_next/static/chunks/turbopack-c3449aaab622f98c.js" async=""></script><script src="/_next/static/chunks/341731e546f4657a.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: Internal Server Error.</title><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}
2
- @media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/f6e6f480ea7f2bb3.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[81110,[\"/_next/static/chunks/341731e546f4657a.js\"],\"default\"]\n3:I[8603,[\"/_next/static/chunks/341731e546f4657a.js\"],\"default\"]\n4:I[16839,[\"/_next/static/chunks/341731e546f4657a.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[16839,[\"/_next/static/chunks/341731e546f4657a.js\"],\"ViewportBoundary\"]\n9:I[16839,[\"/_next/static/chunks/341731e546f4657a.js\"],\"MetadataBoundary\"]\nb:I[56561,[\"/_next/static/chunks/341731e546f4657a.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"NkapotuwrwSJq04fXtieC\",\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"title\",null,{\"children\":\"500: Internal Server Error.\"}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"lineHeight\":\"48px\"},\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"paddingRight\":23,\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\"},\"children\":\"500\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"28px\"},\"children\":\"Internal Server Error.\"}]}]]}]}]}]]}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/341731e546f4657a.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\na:[]\n"])</script></body></html>
1
+ <!DOCTYPE html><!--2lp61OU9Asm88Hx_JCL5e--><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/f6e6f480ea7f2bb3.js"/><script src="/_next/static/chunks/9b799cd7eb9a34ff.js" async=""></script><script src="/_next/static/chunks/a0faf637ed06e6dd.js" async=""></script><script src="/_next/static/chunks/aa7fa62da7ba831e.js" async=""></script><script src="/_next/static/chunks/1619024e63c86037.js" async=""></script><script src="/_next/static/chunks/turbopack-c3449aaab622f98c.js" async=""></script><script src="/_next/static/chunks/341731e546f4657a.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: Internal Server Error.</title><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}
2
+ @media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/f6e6f480ea7f2bb3.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[81110,[\"/_next/static/chunks/341731e546f4657a.js\"],\"default\"]\n3:I[8603,[\"/_next/static/chunks/341731e546f4657a.js\"],\"default\"]\n4:I[16839,[\"/_next/static/chunks/341731e546f4657a.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[16839,[\"/_next/static/chunks/341731e546f4657a.js\"],\"ViewportBoundary\"]\n9:I[16839,[\"/_next/static/chunks/341731e546f4657a.js\"],\"MetadataBoundary\"]\nb:I[56561,[\"/_next/static/chunks/341731e546f4657a.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"2lp61OU9Asm88Hx_JCL5e\",\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"title\",null,{\"children\":\"500: Internal Server Error.\"}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"lineHeight\":\"48px\"},\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"paddingRight\":23,\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\"},\"children\":\"500\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"28px\"},\"children\":\"Internal Server Error.\"}]}]]}]}]}]]}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/341731e546f4657a.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\na:[]\n"])</script></body></html>
@@ -1,10 +1,10 @@
1
1
  import { type NextRequest, NextResponse } from "next/server";
2
2
  import { readFile, writeFile } from "node:fs/promises";
3
3
  import { parse, stringify } from "yaml";
4
- import type { UserPreferences } from "@conductor-oss/core";
4
+ import { syncWorkspaceSupportFiles, type UserPreferences } from "@conductor-oss/core";
5
5
  import { getServices, invalidateServicesCache } from "@/lib/services";
6
6
  import { guardApiAccess, guardApiActionAccess } from "@/lib/auth";
7
- import { syncAllProjectLocalConfigs } from "@/lib/projectConfigSync";
7
+ import { normalizeRootProjectPaths, syncAllProjectLocalConfigs } from "@/lib/projectConfigSync";
8
8
 
9
9
  export const dynamic = "force-dynamic";
10
10
 
@@ -158,6 +158,7 @@ export async function PUT(request: NextRequest) {
158
158
  }
159
159
 
160
160
  nextRoot["preferences"] = nextPreferences;
161
+ await normalizeRootProjectPaths(nextRoot);
161
162
 
162
163
  const updatedYaml = stringify(nextRoot, {
163
164
  lineWidth: 0,
@@ -167,8 +168,11 @@ export async function PUT(request: NextRequest) {
167
168
 
168
169
  try {
169
170
  invalidateServicesCache("preferences updated");
170
- const { config: refreshedConfig } = await getServices();
171
+ const { config: refreshedConfig, registry } = await getServices();
171
172
  await syncAllProjectLocalConfigs(refreshedConfig as unknown as Record<string, unknown>);
173
+ syncWorkspaceSupportFiles(refreshedConfig, {
174
+ agentNames: registry.list("agent").map((agent) => agent.name),
175
+ });
172
176
  } catch (err) {
173
177
  await writeFile(configPath, originalConfigRaw, "utf8");
174
178
  invalidateServicesCache("preferences update rollback");
@@ -6,9 +6,10 @@ import { promisify } from "node:util";
6
6
  import { basename, dirname, extname, join, resolve } from "node:path";
7
7
  import { homedir } from "node:os";
8
8
  import { parse, stringify } from "yaml";
9
+ import { syncWorkspaceSupportFiles } from "@conductor-oss/core";
9
10
  import { getServices, invalidateServicesCache } from "@/lib/services";
10
11
  import { guardApiAccess, guardApiActionAccess } from "@/lib/auth";
11
- import { syncProjectLocalConfig } from "@/lib/projectConfigSync";
12
+ import { normalizeRootProjectPaths, syncProjectLocalConfig } from "@/lib/projectConfigSync";
12
13
 
13
14
  export const dynamic = "force-dynamic";
14
15
 
@@ -370,14 +371,18 @@ export async function PUT(request: NextRequest) {
370
371
 
371
372
  nextProjects[id] = nextProject;
372
373
  nextRoot["projects"] = nextProjects;
374
+ await normalizeRootProjectPaths(nextRoot);
373
375
 
374
376
  const updatedYaml = stringify(nextRoot, { lineWidth: 0 });
375
377
  await writeFile(configPath, updatedYaml, "utf8");
376
378
 
377
379
  try {
378
380
  invalidateServicesCache("repository settings updated");
379
- const { config: refreshedConfig } = await getServices();
381
+ const { config: refreshedConfig, registry } = await getServices();
380
382
  await syncProjectLocalConfig(refreshedConfig as unknown as Record<string, unknown>, id);
383
+ syncWorkspaceSupportFiles(refreshedConfig, {
384
+ agentNames: registry.list("agent").map((agent) => agent.name),
385
+ });
381
386
  } catch (err) {
382
387
  await writeFile(configPath, originalConfigRaw, "utf8");
383
388
  invalidateServicesCache("repository settings update rollback");