@opencode-ai/core 0.0.0-dev-19174 → 0.0.0-dev-19181

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 (775) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{shell-76scvvk8.js → app-04nymyew.js} +29 -29
  9. package/dist/chunks/{shell-0e0xafbb.js → app-0e0xafbb.js} +2 -2
  10. package/dist/chunks/{shell-1tq060df.js → app-0ft9cg2j.js} +6 -6
  11. package/dist/chunks/{shell-jqrqy21d.js → app-0n46b46t.js} +11 -11
  12. package/dist/chunks/{shell-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{shell-0s9ayhjt.js → app-0s9ayhjt.js} +1 -1
  14. package/dist/chunks/{shell-axh9mnjf.js → app-0taz3mjc.js} +14 -14
  15. package/dist/chunks/{shell-hn4sjpb5.js → app-10gpzbj0.js} +2 -2
  16. package/dist/chunks/{shell-hpbyysca.js → app-11zfvzac.js} +27 -27
  17. package/dist/chunks/{shell-ygrnprnw.js → app-13c094ja.js} +15 -15
  18. package/dist/chunks/{shell-7bfdkh1t.js → app-17fx0k0q.js} +18 -18
  19. package/dist/chunks/{shell-1ct4r87x.js → app-1ct4r87x.js} +1 -1
  20. package/dist/chunks/{shell-vdxzp0s5.js → app-1cweq60h.js} +23 -23
  21. package/dist/chunks/{shell-mvhtz5js.js → app-1k4ws4ty.js} +5 -5
  22. package/dist/chunks/{shell-21r38tys.js → app-21r38tys.js} +1 -1
  23. package/dist/chunks/{shell-344230wv.js → app-22ytshyy.js} +6 -6
  24. package/dist/chunks/{shell-nghta7n5.js → app-241twxbq.js} +38 -38
  25. package/dist/chunks/{shell-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{shell-nzfzr9h0.js → app-2amsxbr2.js} +43 -43
  27. package/dist/chunks/{shell-2ht70gj7.js → app-2ht70gj7.js} +1 -1
  28. package/dist/chunks/{shell-w0nm8ced.js → app-2vremtg6.js} +24 -24
  29. package/dist/chunks/{shell-pjedbq3k.js → app-3e147rt9.js} +9 -9
  30. package/dist/chunks/{shell-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{shell-3qzbfqsy.js → app-3qzbfqsy.js} +2 -2
  32. package/dist/chunks/{shell-9yq0qydf.js → app-3sd9qt72.js} +7 -7
  33. package/dist/chunks/{shell-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{shell-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{shell-n3m9wsvh.js → app-3vpahets.js} +26 -26
  36. package/dist/chunks/{shell-hm2ca2ns.js → app-40scemma.js} +22 -22
  37. package/dist/chunks/{shell-xnf7zpzd.js → app-40tvfwh5.js} +11 -11
  38. package/dist/chunks/{shell-rd7fx9p1.js → app-41f161pb.js} +14 -14
  39. package/dist/chunks/{shell-famd3pv6.js → app-41mncz27.js} +5 -5
  40. package/dist/chunks/{shell-454k5vzh.js → app-454k5vzh.js} +1 -1
  41. package/dist/chunks/{shell-2nz939r2.js → app-456303rs.js} +11 -11
  42. package/dist/chunks/{shell-02q19v1x.js → app-456nf4bc.js} +8 -8
  43. package/dist/chunks/{shell-g7csxrs7.js → app-4b1mthq9.js} +4 -4
  44. package/dist/chunks/{shell-7w2wm759.js → app-4f62ejdk.js} +20 -20
  45. package/dist/chunks/{shell-ygtbksd3.js → app-4prqn7xv.js} +32 -32
  46. package/dist/chunks/{shell-4r2nyarf.js → app-4r2nyarf.js} +1 -1
  47. package/dist/chunks/{shell-vh6gf742.js → app-4seer4n3.js} +7 -7
  48. package/dist/chunks/{shell-9t99dw5q.js → app-4x1g6k97.js} +1 -1
  49. package/dist/chunks/{shell-ddcwh8jf.js → app-53nd5drw.js} +6 -6
  50. package/dist/chunks/{shell-gfz2zenh.js → app-5904gm87.js} +22 -22
  51. package/dist/chunks/{shell-ef5f9nen.js → app-59cz6q6x.js} +6 -6
  52. package/dist/chunks/{shell-46e97tr7.js → app-5d4cs7v3.js} +10 -10
  53. package/dist/chunks/{shell-5daktx2q.js → app-5daktx2q.js} +1 -1
  54. package/dist/chunks/{shell-5fmxt4p5.js → app-5fmxt4p5.js} +1 -1
  55. package/dist/chunks/{shell-5jvc5tg2.js → app-5jvc5tg2.js} +1 -1
  56. package/dist/chunks/{shell-tmq14ezd.js → app-5wvgbp96.js} +36 -36
  57. package/dist/chunks/{shell-00aww1yf.js → app-5x14x66m.js} +2 -2
  58. package/dist/chunks/{shell-2qrq5jg3.js → app-61a3vjda.js} +3 -3
  59. package/dist/chunks/{shell-gvphy7jk.js → app-67dbm4zp.js} +6 -6
  60. package/dist/chunks/{shell-et79eehw.js → app-68pyy3e5.js} +7 -7
  61. package/dist/chunks/{shell-6kgc56n8.js → app-6cd6tdvt.js} +6 -6
  62. package/dist/chunks/{shell-a61ajdq9.js → app-6g1q2hdd.js} +14 -14
  63. package/dist/chunks/{shell-2402vzrj.js → app-6h73sxmp.js} +5 -5
  64. package/dist/chunks/{shell-ytpzjm8d.js → app-6n7vs3qv.js} +31 -31
  65. package/dist/chunks/{shell-r56wj6jx.js → app-6rgwnj84.js} +13 -13
  66. package/dist/chunks/{shell-711hfp6y.js → app-711hfp6y.js} +2 -2
  67. package/dist/chunks/{shell-72nftnjy.js → app-72nftnjy.js} +2 -2
  68. package/dist/chunks/{shell-3zzgc37f.js → app-72xb1avz.js} +15 -15
  69. package/dist/chunks/{shell-73tb2d7t.js → app-73tb2d7t.js} +1 -1
  70. package/dist/chunks/{shell-mtcjf44p.js → app-75yf2d83.js} +8 -8
  71. package/dist/chunks/{shell-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{shell-9kksqv7m.js → app-7cnkxtbd.js} +9 -9
  73. package/dist/chunks/{shell-2pqs5rb6.js → app-7mjejgxa.js} +28 -28
  74. package/dist/chunks/{shell-22jc9t4j.js → app-7myzn9fy.js} +10 -10
  75. package/dist/chunks/app-7zk4hah4.js +4 -0
  76. package/dist/chunks/{shell-5mm0tfy6.js → app-828he9z6.js} +52 -36
  77. package/dist/chunks/app-839ymwzf.js +22 -0
  78. package/dist/chunks/{shell-s9fwkeje.js → app-83rp9aqa.js} +10 -10
  79. package/dist/chunks/{shell-mpcfbaan.js → app-84t6g51t.js} +16 -16
  80. package/dist/chunks/{shell-6g84bqmx.js → app-88rt85wd.js} +22 -22
  81. package/dist/chunks/{shell-998dat6d.js → app-8bk2zzjm.js} +9 -9
  82. package/dist/chunks/{shell-8b1vkr5h.js → app-8e6swdk9.js} +297 -297
  83. package/dist/chunks/{shell-pxednv00.js → app-8ker6n7f.js} +5 -5
  84. package/dist/chunks/{shell-7haxhjsc.js → app-8spbxhn4.js} +1 -1
  85. package/dist/chunks/{shell-1h4a14by.js → app-90x1n3bd.js} +70 -70
  86. package/dist/chunks/{shell-y2cqme3r.js → app-93a8yfjt.js} +5 -5
  87. package/dist/chunks/{shell-18e1e1p1.js → app-93yhyjwm.js} +51 -51
  88. package/dist/chunks/{shell-qy387ach.js → app-9bqaxr83.js} +11 -11
  89. package/dist/chunks/{shell-xgbmxshw.js → app-9brvgznv.js} +14 -14
  90. package/dist/chunks/{shell-v623p3vn.js → app-9cn7kp7k.js} +8 -8
  91. package/dist/chunks/{shell-jv6tbxxe.js → app-9f52v7jd.js} +8 -8
  92. package/dist/chunks/{shell-ec2yajhv.js → app-9hhn40xk.js} +4 -4
  93. package/dist/chunks/{shell-sq68wjyr.js → app-9nv1rt96.js} +9 -9
  94. package/dist/chunks/{shell-9qm9egsn.js → app-9qm9egsn.js} +2 -2
  95. package/dist/chunks/{shell-ff1h9ct4.js → app-9x4j1p49.js} +24 -24
  96. package/dist/chunks/{shell-3jj6bjb6.js → app-a07sqv0b.js} +5 -5
  97. package/dist/chunks/{shell-za9jakaj.js → app-a52x4gjk.js} +9 -9
  98. package/dist/chunks/{shell-aaet6srn.js → app-aaet6srn.js} +2 -2
  99. package/dist/chunks/{shell-kthrd1n2.js → app-acr0vn06.js} +24 -24
  100. package/dist/chunks/{shell-74jy76yg.js → app-ajgsgqyb.js} +1 -1
  101. package/dist/chunks/{shell-ajtjthsy.js → app-ajtjthsy.js} +2 -2
  102. package/dist/chunks/{shell-12t3v3je.js → app-aqz4tv27.js} +23 -23
  103. package/dist/chunks/{shell-dpc689ym.js → app-arbehxbm.js} +16 -16
  104. package/dist/chunks/{shell-nxz3kcv2.js → app-b2a82tgj.js} +30 -30
  105. package/dist/chunks/{shell-wdhc4zn8.js → app-b3hfsjpn.js} +5 -5
  106. package/dist/chunks/{shell-j0h9s30t.js → app-b4b7p3j5.js} +13 -13
  107. package/dist/chunks/{shell-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{shell-kyb951k0.js → app-b8gzedky.js} +3 -3
  109. package/dist/chunks/{shell-b9wsbatv.js → app-b9wsbatv.js} +1 -1
  110. package/dist/chunks/{shell-h2sw8ea3.js → app-bca4xk29.js} +15 -15
  111. package/dist/chunks/{shell-cb182ger.js → app-bmj3d0ka.js} +7 -7
  112. package/dist/chunks/{shell-ng39vjdn.js → app-bqarnab4.js} +2 -2
  113. package/dist/chunks/{shell-74hfp9tv.js → app-bssf13fr.js} +31 -31
  114. package/dist/chunks/app-bwt7bpgq.js +18 -0
  115. package/dist/chunks/{shell-9nb3r9db.js → app-c2v1zyg3.js} +6 -6
  116. package/dist/chunks/{shell-c6trbygj.js → app-cc55107n.js} +4 -4
  117. package/dist/chunks/{shell-ftabj2dg.js → app-cz8be0q1.js} +28 -28
  118. package/dist/chunks/{shell-806j49yq.js → app-d216944b.js} +7 -7
  119. package/dist/chunks/{shell-d72308c8.js → app-d72308c8.js} +2 -2
  120. package/dist/chunks/{shell-s440spbv.js → app-de8cp1fg.js} +22 -22
  121. package/dist/chunks/{shell-rzq71d0k.js → app-dfcf8dsh.js} +20 -20
  122. package/dist/chunks/{shell-vnj6vh9c.js → app-dfns4ckt.js} +32 -32
  123. package/dist/chunks/{shell-2qzq6ga3.js → app-dhzp65aq.js} +11 -11
  124. package/dist/chunks/{shell-z3xgatyd.js → app-djtdz80w.js} +4 -4
  125. package/dist/chunks/{shell-y71avatq.js → app-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{shell-vqe9fq18.js → app-dpqq4n8f.js} +1 -1
  127. package/dist/chunks/{shell-7p203cgq.js → app-emtwgvxj.js} +24 -24
  128. package/dist/chunks/{shell-k6p8g4fk.js → app-er5cndkw.js} +57 -57
  129. package/dist/chunks/{shell-jx283wc3.js → app-f1m8ygb3.js} +11 -11
  130. package/dist/chunks/app-f3cn892e.js +247 -0
  131. package/dist/chunks/{shell-zj4p2a1k.js → app-fazyzkd8.js} +5 -5
  132. package/dist/chunks/{shell-h9ygsckj.js → app-fg4eb5cw.js} +46 -46
  133. package/dist/chunks/{shell-6hq5c2qk.js → app-fj1ykrdy.js} +24 -24
  134. package/dist/chunks/{shell-fg3wn8a9.js → app-fks45ynx.js} +87 -87
  135. package/dist/chunks/{shell-75p0zbr9.js → app-fqz8c7f9.js} +29 -29
  136. package/dist/chunks/{shell-hjp2pbpf.js → app-ftcadk3w.js} +1 -1
  137. package/dist/chunks/{shell-w794bvtj.js → app-fvh8qddj.js} +35 -35
  138. package/dist/chunks/{shell-292hg6qz.js → app-fvn82d8v.js} +7 -7
  139. package/dist/chunks/{shell-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{shell-fxypknc8.js → app-fxypknc8.js} +1 -1
  141. package/dist/chunks/{shell-kjrs54vr.js → app-g0h3g2y6.js} +19 -19
  142. package/dist/chunks/{shell-0sdspkc1.js → app-g11w9hv4.js} +36 -36
  143. package/dist/chunks/{shell-ycn3x014.js → app-g4fah38e.js} +13 -13
  144. package/dist/chunks/{shell-2yzeteq7.js → app-g7ekdnc2.js} +15 -15
  145. package/dist/chunks/{shell-6w7g5p5h.js → app-gb1rc5sc.js} +18 -18
  146. package/dist/chunks/{shell-s09ja0ad.js → app-gbanwdp8.js} +32 -32
  147. package/dist/chunks/{shell-5fc6d9pe.js → app-gbqbc70j.js} +23 -23
  148. package/dist/chunks/{shell-gp4zh27s.js → app-gcqp0jtf.js} +9 -9
  149. package/dist/chunks/{shell-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{shell-gdvy8fx6.js → app-gdvy8fx6.js} +1 -1
  151. package/dist/chunks/{shell-rzyn4jtv.js → app-h4cwhs5v.js} +1 -1
  152. package/dist/chunks/{shell-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{shell-n87qk14a.js → app-h7tdc4p8.js} +29 -29
  154. package/dist/chunks/{shell-p563rwwf.js → app-hajgtq0x.js} +35 -35
  155. package/dist/chunks/{shell-220n1ymv.js → app-hayfv2b5.js} +170 -170
  156. package/dist/chunks/{shell-heyhwy2w.js → app-heyhwy2w.js} +1 -1
  157. package/dist/chunks/{shell-58srr6fv.js → app-hjzzbmk8.js} +29 -29
  158. package/dist/chunks/{shell-1dh290mh.js → app-hpr60q3x.js} +14 -14
  159. package/dist/chunks/{shell-hrvm11jt.js → app-hrvm11jt.js} +3 -3
  160. package/dist/chunks/{shell-kvsjn1dr.js → app-hw4pv20g.js} +2 -2
  161. package/dist/chunks/{shell-31nvjq2v.js → app-hwemkwe8.js} +11 -11
  162. package/dist/chunks/{shell-78h3c2ja.js → app-hyzy990m.js} +6 -6
  163. package/dist/chunks/{shell-rpqdjjqf.js → app-jbkh0tb7.js} +12 -12
  164. package/dist/chunks/{shell-yw9364ag.js → app-jcyemy94.js} +4 -4
  165. package/dist/chunks/{shell-bcezcar3.js → app-je9hks3h.js} +5 -5
  166. package/dist/chunks/{shell-ewakhq0j.js → app-jg19dd05.js} +18 -18
  167. package/dist/chunks/{shell-pjjtcy2p.js → app-jp8chewc.js} +12 -12
  168. package/dist/chunks/{shell-k4bwy1x5.js → app-k4bwy1x5.js} +1 -1
  169. package/dist/chunks/{shell-0h07sdbh.js → app-k4zvwy7w.js} +23 -23
  170. package/dist/chunks/{shell-wsnh7t8r.js → app-kbjam7h1.js} +20 -20
  171. package/dist/chunks/{shell-nxrz604p.js → app-kbznjata.js} +9 -9
  172. package/dist/chunks/{shell-kg06axw8.js → app-kg06axw8.js} +1 -1
  173. package/dist/chunks/{shell-4za3avwx.js → app-kpn3khss.js} +7 -7
  174. package/dist/chunks/{shell-m05jjnz9.js → app-kzcd834w.js} +12 -12
  175. package/dist/chunks/{shell-a12tcaaf.js → app-m08rz2n6.js} +6 -6
  176. package/dist/chunks/{shell-bh35m6yh.js → app-m21fe36q.js} +7 -7
  177. package/dist/chunks/{shell-e83y27r5.js → app-m5w7j81k.js} +7 -7
  178. package/dist/chunks/{shell-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{shell-bzsb4ygm.js → app-me149q6c.js} +31 -31
  180. package/dist/chunks/{shell-gfz9gwkx.js → app-mekcq3pn.js} +18 -18
  181. package/dist/chunks/{shell-ggysapes.js → app-mjfhjmk5.js} +26 -26
  182. package/dist/chunks/{shell-95z3gcrg.js → app-msw86qcf.js} +4 -4
  183. package/dist/chunks/{shell-zg1tfnff.js → app-mya6twgv.js} +35 -35
  184. package/dist/chunks/{shell-g2fgb7sn.js → app-n3jkd22a.js} +4 -4
  185. package/dist/chunks/{shell-301db2e0.js → app-n48a5sdv.js} +28 -28
  186. package/dist/chunks/{shell-rzejcw32.js → app-n95nq84g.js} +5 -5
  187. package/dist/chunks/{shell-wkqpxhsk.js → app-ndjv4j8j.js} +10 -10
  188. package/dist/chunks/{shell-h8p6xf2n.js → app-nh0kgycx.js} +27 -27
  189. package/dist/chunks/{shell-0b65z5fp.js → app-nje80wxz.js} +5 -5
  190. package/dist/chunks/{shell-rh6wbg4w.js → app-npapp81d.js} +15 -15
  191. package/dist/chunks/{shell-xe4jdaw3.js → app-nqk9406z.js} +5 -5
  192. package/dist/chunks/{shell-8309kjat.js → app-nygk0pkd.js} +10 -10
  193. package/dist/chunks/{shell-a9detkdy.js → app-p5cx4qq5.js} +32 -32
  194. package/dist/chunks/{shell-2xs5s17b.js → app-p9r5yxxa.js} +4 -4
  195. package/dist/chunks/{shell-j935v87r.js → app-paphc93g.js} +2 -2
  196. package/dist/chunks/{shell-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{shell-pknna89w.js → app-pknna89w.js} +1 -1
  198. package/dist/chunks/{shell-pbhkjpds.js → app-pt34y05q.js} +8 -8
  199. package/dist/chunks/{shell-t0z8h93t.js → app-pvsq6e0y.js} +44 -44
  200. package/dist/chunks/{shell-bf0ztrs3.js → app-q2b1ymqp.js} +4 -4
  201. package/dist/chunks/{shell-863jw130.js → app-qev88vwh.js} +11 -11
  202. package/dist/chunks/{shell-qgn6gcr1.js → app-qgn6gcr1.js} +1 -1
  203. package/dist/chunks/{shell-5nzbd5n0.js → app-qnfdxy2e.js} +5 -5
  204. package/dist/chunks/{shell-dsfx0j74.js → app-qq0s42pd.js} +9 -9
  205. package/dist/chunks/{shell-1nqpxsj1.js → app-qrgjqevf.js} +13 -13
  206. package/dist/chunks/{shell-xay8nyhx.js → app-qrzxywk7.js} +9 -9
  207. package/dist/chunks/{shell-qsdy395h.js → app-qsdy395h.js} +1 -1
  208. package/dist/chunks/{shell-rh6rd7ag.js → app-r0msr716.js} +4 -4
  209. package/dist/chunks/{shell-r8dhm0tv.js → app-r8dhm0tv.js} +1 -1
  210. package/dist/chunks/{shell-eg1n48gj.js → app-raf8wtnx.js} +20 -20
  211. package/dist/chunks/{shell-759pz1a2.js → app-rjqxra3c.js} +8 -8
  212. package/dist/chunks/{shell-b94fcmr9.js → app-rpvck33q.js} +34 -34
  213. package/dist/chunks/{shell-gd25jggd.js → app-rw4nkp5j.js} +45 -45
  214. package/dist/chunks/{shell-wkjngxy5.js → app-rxbdfnq0.js} +3 -3
  215. package/dist/chunks/{shell-tabs974f.js → app-rykst88f.js} +12 -12
  216. package/dist/chunks/{shell-avja4xez.js → app-ryv3tfwp.js} +18 -18
  217. package/dist/chunks/{shell-76wr4mq2.js → app-rz31k017.js} +9 -9
  218. package/dist/chunks/{shell-dsf572e0.js → app-rzwcgm09.js} +4 -4
  219. package/dist/chunks/{shell-41k9cz4z.js → app-s8w5cjx7.js} +30 -30
  220. package/dist/chunks/{shell-sba4qhjf.js → app-sba4qhjf.js} +1 -1
  221. package/dist/chunks/{shell-45t9anda.js → app-sc524drs.js} +1 -1
  222. package/dist/chunks/{shell-xxtg5rsy.js → app-sj5n3trc.js} +34 -34
  223. package/dist/chunks/{shell-ttr1bger.js → app-smkpzyj7.js} +20 -20
  224. package/dist/chunks/{shell-ztjnpbp4.js → app-sr1rc1g2.js} +9 -9
  225. package/dist/chunks/{shell-t2cat712.js → app-ssg9qmrn.js} +11 -11
  226. package/dist/chunks/{shell-rdq9thdd.js → app-sv1sbqd5.js} +24 -24
  227. package/dist/chunks/{shell-2cnxy6r2.js → app-syegws57.js} +10 -10
  228. package/dist/chunks/{shell-w6h9pbxs.js → app-sygprj6n.js} +11 -11
  229. package/dist/chunks/{shell-m4bpwynw.js → app-szt7smwk.js} +8 -8
  230. package/dist/chunks/{shell-wn5mwez2.js → app-t5mvv7b6.js} +86 -86
  231. package/dist/chunks/{shell-83dvd1w2.js → app-t8jjz1g4.js} +53 -53
  232. package/dist/chunks/{shell-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{shell-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{shell-mn410wgw.js → app-teq0593w.js} +64 -64
  235. package/dist/chunks/{shell-tjykrgmx.js → app-tjykrgmx.js} +1 -1
  236. package/dist/chunks/{shell-6smwwksd.js → app-tnjwh1aj.js} +17 -17
  237. package/dist/chunks/{shell-nag7dxjf.js → app-tppvcy65.js} +5 -5
  238. package/dist/chunks/{shell-az9b9mm6.js → app-tpqecd3t.js} +4 -4
  239. package/dist/chunks/{shell-fqt4fs5w.js → app-trnhxq5y.js} +11 -11
  240. package/dist/chunks/{shell-c50658qd.js → app-tx9pkam9.js} +36 -36
  241. package/dist/chunks/{shell-6rbe69zm.js → app-txct46nv.js} +13 -13
  242. package/dist/chunks/{shell-bdrwax0s.js → app-v0mw94ex.js} +23 -23
  243. package/dist/chunks/{shell-dvf4z69w.js → app-vhzvdfbz.js} +27 -27
  244. package/dist/chunks/{shell-bpcc17t3.js → app-vs3g981p.js} +11 -11
  245. package/dist/chunks/{shell-esp3dmb3.js → app-vwg31drc.js} +3 -3
  246. package/dist/chunks/{shell-2xx188mn.js → app-vzcgnjed.js} +35 -35
  247. package/dist/chunks/{shell-zvpejf85.js → app-w2gndftq.js} +46 -46
  248. package/dist/chunks/{shell-6abnk40k.js → app-w3jym6ha.js} +6 -6
  249. package/dist/chunks/{shell-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{shell-5ctdmadx.js → app-w6s4nrrc.js} +8 -8
  251. package/dist/chunks/{shell-drz01ptw.js → app-w7z32673.js} +23 -23
  252. package/dist/chunks/{shell-vnwmzs4a.js → app-w8xr7nv8.js} +5 -5
  253. package/dist/chunks/{shell-yew4gc92.js → app-w9gyfm2s.js} +22 -22
  254. package/dist/chunks/{shell-ex76qa1h.js → app-wcwcztxs.js} +17 -17
  255. package/dist/chunks/{shell-wd87259q.js → app-wd87259q.js} +1 -1
  256. package/dist/chunks/{shell-4pb24dhv.js → app-wdgvf9wf.js} +15 -15
  257. package/dist/chunks/{shell-kja6ea6z.js → app-wf0xzsvt.js} +11 -11
  258. package/dist/chunks/{shell-ep81hxt4.js → app-wgyqb6cs.js} +7 -7
  259. package/dist/chunks/{shell-vkh6dqf1.js → app-wsa4fayw.js} +5 -5
  260. package/dist/chunks/{shell-htbxhgrz.js → app-wthvqgek.js} +14 -14
  261. package/dist/chunks/{shell-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{shell-4n9v30zw.js → app-x28zqaf0.js} +26 -26
  263. package/dist/chunks/{shell-ca4j1r4e.js → app-x44q8c7y.js} +18 -18
  264. package/dist/chunks/{shell-zzv1x10w.js → app-xq4mkaf1.js} +25 -25
  265. package/dist/chunks/{shell-r7cz99r0.js → app-xspqbexe.js} +19 -19
  266. package/dist/chunks/{shell-f77xc9wm.js → app-xvksmx2v.js} +22 -22
  267. package/dist/chunks/{shell-35r8yfzd.js → app-xvx5ymr3.js} +20 -20
  268. package/dist/chunks/{shell-mjs0kabc.js → app-y18mx0w9.js} +30 -30
  269. package/dist/chunks/{shell-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{shell-hd4bzg4a.js → app-y667m2fe.js} +23 -23
  271. package/dist/chunks/{shell-6wf5mw7w.js → app-y7xtxfz5.js} +29 -29
  272. package/dist/chunks/{shell-yfbd16n1.js → app-yfbd16n1.js} +2 -2
  273. package/dist/chunks/{shell-5qea4ewy.js → app-yq9z8ydh.js} +37 -37
  274. package/dist/chunks/{shell-m9q8vvrp.js → app-yxqhfdf1.js} +11 -11
  275. package/dist/chunks/{shell-cmwx9h7j.js → app-yz9reb46.js} +4 -4
  276. package/dist/chunks/{shell-z1k01bn4.js → app-z1k01bn4.js} +2 -2
  277. package/dist/chunks/{shell-20k6nhm9.js → app-z4yv9kjz.js} +24 -24
  278. package/dist/chunks/{shell-29x78va6.js → app-z63w68vq.js} +6 -6
  279. package/dist/chunks/{shell-5pdbny0n.js → app-z8ha6r0g.js} +10 -10
  280. package/dist/chunks/{shell-a9c7wcwq.js → app-zk1c1bcq.js} +12 -12
  281. package/dist/chunks/{shell-d8bdgt1m.js → app-zm0v3se3.js} +13 -13
  282. package/dist/chunks/{shell-8g67dwbc.js → app-zx51ac1r.js} +11 -11
  283. package/dist/chunks/{shell-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{shell-pxz8xz7s.js → app-zy9sz0a1.js} +9 -9
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +81 -81
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +114 -114
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +153 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +116 -116
  297. package/dist/config/plugin/image.js +114 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +114 -114
  300. package/dist/config/plugin/mcp.js +123 -123
  301. package/dist/config/plugin/policy.js +113 -113
  302. package/dist/config/plugin/provider.js +112 -112
  303. package/dist/config/plugin/reference.js +116 -116
  304. package/dist/config/plugin/shell.js +117 -117
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +134 -134
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +116 -116
  309. package/dist/config/plugin/tool-output.js +116 -116
  310. package/dist/config/plugin/websearch.js +114 -114
  311. package/dist/config/plugin/worktree.js +117 -117
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +118 -118
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +82 -82
  317. package/dist/database/database.js +68 -68
  318. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +15 -15
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +16 -16
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +77 -77
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +354 -354
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +3 -3
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +72 -72
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +4 -4
  414. package/dist/filesystem/location-watcher.js +214 -214
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +15 -15
  419. package/dist/filesystem.js +98 -98
  420. package/dist/form.js +84 -84
  421. package/dist/formatter/builtins.js +2 -2
  422. package/dist/formatter.js +84 -84
  423. package/dist/generate.js +90 -90
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +3 -3
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +347 -347
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +5 -5
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +83 -83
  454. package/dist/job.js +75 -75
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +86 -86
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +83 -83
  460. package/dist/location-services.js +346 -346
  461. package/dist/location.js +80 -80
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +102 -102
  464. package/dist/mcp/instructions.js +118 -118
  465. package/dist/mcp/oauth.js +2 -2
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +3 -3
  469. package/dist/model-resolver.js +85 -85
  470. package/dist/model.js +8 -8
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +78 -78
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +113 -113
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +82 -82
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +93 -93
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +211 -211
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +320 -320
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +7 -7
  490. package/dist/plugin/optimize.js +21 -0
  491. package/dist/plugin/plan.js +96 -96
  492. package/dist/plugin/promise.js +1 -1
  493. package/dist/plugin/provider/alibaba.js +2 -2
  494. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  495. package/dist/plugin/provider/anthropic.js +2 -2
  496. package/dist/plugin/provider/azure.js +117 -117
  497. package/dist/plugin/provider/cerebras.js +2 -2
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +113 -113
  502. package/dist/plugin/provider/dynamic.js +2 -2
  503. package/dist/plugin/provider/factory.js +1 -1
  504. package/dist/plugin/provider/gateway.js +2 -2
  505. package/dist/plugin/provider/github-copilot.js +79 -79
  506. package/dist/plugin/provider/gitlab.js +3 -3
  507. package/dist/plugin/provider/google-vertex.js +2 -2
  508. package/dist/plugin/provider/kilo.js +2 -2
  509. package/dist/plugin/provider/llmgateway.js +75 -75
  510. package/dist/plugin/provider/lmstudio.js +116 -116
  511. package/dist/plugin/provider/mistral.js +2 -2
  512. package/dist/plugin/provider/modal.js +78 -78
  513. package/dist/plugin/provider/nvidia.js +2 -2
  514. package/dist/plugin/provider/ollama.js +114 -114
  515. package/dist/plugin/provider/openai-compatible.js +1 -1
  516. package/dist/plugin/provider/openai.js +79 -79
  517. package/dist/plugin/provider/opencode.js +75 -75
  518. package/dist/plugin/provider/openrouter.js +3 -3
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/sap-ai-core.js +3 -3
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +2 -2
  525. package/dist/plugin/provider/vllm.js +116 -116
  526. package/dist/plugin/provider/xai.js +76 -76
  527. package/dist/plugin/provider/zenmux.js +2 -2
  528. package/dist/plugin/provider.js +154 -154
  529. package/dist/plugin/sdk.js +74 -74
  530. package/dist/plugin/service.js +5 -5
  531. package/dist/plugin/skill.js +131 -131
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +339 -339
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +111 -111
  539. package/dist/plugin/websearch/exa.js +5 -5
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +4 -4
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +4 -4
  545. package/dist/plugin.js +222 -222
  546. package/dist/project/schema.js +4 -4
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +81 -81
  549. package/dist/provider.js +7 -7
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +92 -92
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +86 -86
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +3 -3
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +91 -91
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +125 -125
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +215 -215
  569. package/dist/session/execution.js +120 -120
  570. package/dist/session/generate.js +146 -146
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +86 -86
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +77 -77
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +87 -87
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +124 -124
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +3 -3
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +223 -223
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +81 -81
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +119 -119
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +167 -167
  596. package/dist/session/shell.js +130 -130
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +73 -73
  600. package/dist/session/store.js +84 -84
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +203 -203
  603. package/dist/session/system-prompt.js +5 -5
  604. package/dist/session/title.js +149 -149
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +216 -216
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +211 -211
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +11 -11
  613. package/dist/shell.js +132 -132
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +106 -106
  617. package/dist/snapshot.js +84 -84
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +119 -119
  622. package/dist/tool/plugin/edit.js +112 -112
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +116 -116
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +206 -206
  631. package/dist/tool/plugin/skill.js +107 -107
  632. package/dist/tool/plugin/subagent.js +210 -210
  633. package/dist/tool/plugin/webfetch.js +106 -106
  634. package/dist/tool/plugin/websearch.js +104 -104
  635. package/dist/tool/plugin/write.js +116 -116
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +11 -11
  640. package/dist/types/plugin/{system-prompt.d.ts → optimize.d.ts} +4 -2
  641. package/dist/util/error.js +1 -1
  642. package/dist/util/iife.js +1 -1
  643. package/dist/util/lazy.js +1 -1
  644. package/dist/util/slug.js +1 -1
  645. package/dist/util/token.js +1 -1
  646. package/dist/util/which.js +1 -1
  647. package/dist/util/wildcard.js +1 -1
  648. package/dist/v1/config/agent.js +7 -7
  649. package/dist/v1/config/attachment.js +4 -4
  650. package/dist/v1/config/command.js +5 -5
  651. package/dist/v1/config/config.js +16 -16
  652. package/dist/v1/config/error.js +4 -4
  653. package/dist/v1/config/formatter.js +7 -7
  654. package/dist/v1/config/layout.js +1 -1
  655. package/dist/v1/config/lsp.js +5 -5
  656. package/dist/v1/config/mcp.js +4 -4
  657. package/dist/v1/config/migrate.js +4 -4
  658. package/dist/v1/config/permission.js +7 -7
  659. package/dist/v1/config/plugin.js +1 -1
  660. package/dist/v1/config/provider-options.js +1 -1
  661. package/dist/v1/config/provider.js +4 -4
  662. package/dist/v1/config/server.js +2 -2
  663. package/dist/v1/config/skills.js +3 -3
  664. package/dist/v1/permission.js +1 -1
  665. package/dist/vcs/patch.js +1 -1
  666. package/dist/vcs.js +85 -85
  667. package/dist/websearch.js +80 -80
  668. package/dist/wellknown/plugin.js +74 -74
  669. package/dist/wellknown.js +79 -79
  670. package/dist/workspace/driver.js +5 -5
  671. package/dist/workspace/sql.js +1 -1
  672. package/dist/workspace.js +78 -78
  673. package/dist/worktree/directory.js +4 -4
  674. package/dist/worktree/git.js +7 -7
  675. package/dist/worktree/refresh.js +338 -338
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree.js +89 -89
  678. package/package.json +7 -7
  679. package/dist/chunks/shell-3724gxzf.js +0 -247
  680. package/dist/chunks/shell-4v7qdvcn.js +0 -18
  681. package/dist/chunks/shell-mb6dchx6.js +0 -22
  682. package/dist/chunks/shell-mf5kcrna.js +0 -4
  683. package/dist/plugin/system-prompt.js +0 -17
  684. /package/dist/chunks/{shell-0fabt78z.js → app-0fabt78z.js} +0 -0
  685. /package/dist/chunks/{shell-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{shell-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{shell-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{shell-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{shell-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{shell-2710q6r3.js → app-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{shell-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{shell-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{shell-359p4xyc.js → app-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{shell-3asan66x.js → app-3asan66x.js} +0 -0
  695. /package/dist/chunks/{shell-3t738kvx.js → app-3t738kvx.js} +0 -0
  696. /package/dist/chunks/{shell-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{shell-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  698. /package/dist/chunks/{shell-41nvscxy.js → app-41nvscxy.js} +0 -0
  699. /package/dist/chunks/{shell-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{shell-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{shell-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  702. /package/dist/chunks/{shell-53557ph1.js → app-53557ph1.js} +0 -0
  703. /package/dist/chunks/{shell-550bvhaj.js → app-550bvhaj.js} +0 -0
  704. /package/dist/chunks/{shell-6prwharc.js → app-6prwharc.js} +0 -0
  705. /package/dist/chunks/{shell-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  706. /package/dist/chunks/{shell-7m9af43g.js → app-7m9af43g.js} +0 -0
  707. /package/dist/chunks/{shell-822emrt2.js → app-822emrt2.js} +0 -0
  708. /package/dist/chunks/{shell-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  709. /package/dist/chunks/{shell-8n3pysct.js → app-8n3pysct.js} +0 -0
  710. /package/dist/chunks/{shell-982e01ww.js → app-982e01ww.js} +0 -0
  711. /package/dist/chunks/{shell-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  712. /package/dist/chunks/{shell-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  713. /package/dist/chunks/{shell-a1tpkmh4.js → app-a1tpkmh4.js} +0 -0
  714. /package/dist/chunks/{shell-af5trqkr.js → app-af5trqkr.js} +0 -0
  715. /package/dist/chunks/{shell-afrmfg78.js → app-afrmfg78.js} +0 -0
  716. /package/dist/chunks/{shell-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  717. /package/dist/chunks/{shell-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  718. /package/dist/chunks/{shell-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  719. /package/dist/chunks/{shell-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  720. /package/dist/chunks/{shell-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  721. /package/dist/chunks/{shell-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  722. /package/dist/chunks/{shell-d9fn303g.js → app-d9fn303g.js} +0 -0
  723. /package/dist/chunks/{shell-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  724. /package/dist/chunks/{shell-dajrwvna.js → app-dajrwvna.js} +0 -0
  725. /package/dist/chunks/{shell-dap0rakb.js → app-dap0rakb.js} +0 -0
  726. /package/dist/chunks/{shell-df08tz66.js → app-df08tz66.js} +0 -0
  727. /package/dist/chunks/{shell-dy18nga0.js → app-dy18nga0.js} +0 -0
  728. /package/dist/chunks/{shell-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  729. /package/dist/chunks/{shell-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  730. /package/dist/chunks/{shell-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  731. /package/dist/chunks/{shell-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  732. /package/dist/chunks/{shell-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  733. /package/dist/chunks/{shell-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  734. /package/dist/chunks/{shell-faypxj3z.js → app-faypxj3z.js} +0 -0
  735. /package/dist/chunks/{shell-fd410y7t.js → app-fd410y7t.js} +0 -0
  736. /package/dist/chunks/{shell-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  737. /package/dist/chunks/{shell-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  738. /package/dist/chunks/{shell-g86h250q.js → app-g86h250q.js} +0 -0
  739. /package/dist/chunks/{shell-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  740. /package/dist/chunks/{shell-hk9envan.js → app-hk9envan.js} +0 -0
  741. /package/dist/chunks/{shell-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  742. /package/dist/chunks/{shell-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  743. /package/dist/chunks/{shell-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  744. /package/dist/chunks/{shell-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  745. /package/dist/chunks/{shell-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  746. /package/dist/chunks/{shell-mntxs535.js → app-mntxs535.js} +0 -0
  747. /package/dist/chunks/{shell-mp448xyj.js → app-mp448xyj.js} +0 -0
  748. /package/dist/chunks/{shell-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  749. /package/dist/chunks/{shell-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  750. /package/dist/chunks/{shell-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  751. /package/dist/chunks/{shell-njntx4h6.js → app-njntx4h6.js} +0 -0
  752. /package/dist/chunks/{shell-p8qxwesx.js → app-p8qxwesx.js} +0 -0
  753. /package/dist/chunks/{shell-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  754. /package/dist/chunks/{shell-q74kybfr.js → app-q74kybfr.js} +0 -0
  755. /package/dist/chunks/{shell-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  756. /package/dist/chunks/{shell-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  757. /package/dist/chunks/{shell-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  758. /package/dist/chunks/{shell-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  759. /package/dist/chunks/{shell-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  760. /package/dist/chunks/{shell-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  761. /package/dist/chunks/{shell-se0s1eqw.js → app-se0s1eqw.js} +0 -0
  762. /package/dist/chunks/{shell-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  763. /package/dist/chunks/{shell-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  764. /package/dist/chunks/{shell-twg0f83k.js → app-twg0f83k.js} +0 -0
  765. /package/dist/chunks/{shell-w803qqfp.js → app-w803qqfp.js} +0 -0
  766. /package/dist/chunks/{shell-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  767. /package/dist/chunks/{shell-wtztk69x.js → app-wtztk69x.js} +0 -0
  768. /package/dist/chunks/{shell-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  769. /package/dist/chunks/{shell-x1b8g1yb.js → app-x1b8g1yb.js} +0 -0
  770. /package/dist/chunks/{shell-x61499pn.js → app-x61499pn.js} +0 -0
  771. /package/dist/chunks/{shell-y44na4kk.js → app-y44na4kk.js} +0 -0
  772. /package/dist/chunks/{shell-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  773. /package/dist/chunks/{shell-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  774. /package/dist/chunks/{shell-z9919s4g.js → app-z9919s4g.js} +0 -0
  775. /package/dist/chunks/{shell-zbjnn3ac.js → app-zbjnn3ac.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./shell-p8qxwesx.js";
3
+ } from "./app-p8qxwesx.js";
4
4
  import {
5
5
  latest2,
6
- Service62
7
- } from "./shell-h9ygsckj.js";
6
+ Service43
7
+ } from "./app-fg4eb5cw.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./shell-2a5m3afh.js";
10
+ } from "./app-2a5m3afh.js";
11
11
  import {
12
- Service68
13
- } from "./shell-7p203cgq.js";
12
+ Service65
13
+ } from "./app-emtwgvxj.js";
14
14
  import {
15
15
  Service52
16
- } from "./shell-htbxhgrz.js";
16
+ } from "./app-wthvqgek.js";
17
17
  import {
18
18
  resolvePath2,
19
- Service51
20
- } from "./shell-mpcfbaan.js";
19
+ Service58
20
+ } from "./app-84t6g51t.js";
21
21
  import {
22
- Service42
23
- } from "./shell-mn410wgw.js";
22
+ Service68
23
+ } from "./app-teq0593w.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./shell-fxbjtjnd.js";
29
+ } from "./app-fxbjtjnd.js";
30
30
  import {
31
- Service76,
31
+ Service56,
32
32
  name15
33
- } from "./shell-ex76qa1h.js";
33
+ } from "./app-wcwcztxs.js";
34
34
  import {
35
- NotFoundError8,
36
- Service60
37
- } from "./shell-18e1e1p1.js";
35
+ NotFoundError4,
36
+ Service40
37
+ } from "./app-93yhyjwm.js";
38
38
  import {
39
- Service13
40
- } from "./shell-wn5mwez2.js";
39
+ Service20
40
+ } from "./app-t5mvv7b6.js";
41
41
  import {
42
42
  scan2
43
- } from "./shell-az9b9mm6.js";
43
+ } from "./app-tpqecd3t.js";
44
44
  import {
45
45
  __export
46
- } from "./shell-9rqn6x4v.js";
46
+ } from "./app-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
52
  Input: () => Input12,
53
- Plugin: () => Plugin16,
54
- ShellTool: () => exports_shell,
53
+ Plugin: () => Plugin42,
54
+ ShellTool: () => exports_shell2,
55
55
  name: () => name12
56
56
  });
57
57
  import { ToolFailure } from "@opencode-ai/ai";
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin16 = {
118
+ var Plugin42 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service13;
121
+ const sessions = yield* Service20;
122
122
  const jobs = yield* Service52;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service68;
125
- const mutation = yield* Service51;
126
- const shell = yield* Service60;
127
- const shellSelect = yield* Service76;
124
+ const environment = yield* Service65;
125
+ const mutation = yield* Service58;
126
+ const shell = yield* Service40;
127
+ const shellSelect = yield* Service56;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service42;
130
- const config = yield* Service62;
129
+ const permission = yield* Service68;
130
+ const config = yield* Service43;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -214,7 +214,7 @@ var Plugin16 = {
214
214
  const run = Effect.gen(function* () {
215
215
  const result = yield* shell.result(info);
216
216
  if (!result.capture)
217
- return yield* new NotFoundError8({ id: info.id });
217
+ return yield* new NotFoundError4({ id: info.id });
218
218
  const output = output2(result);
219
219
  return {
220
220
  ...output,
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin16, exports_shell };
269
+ export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin42, exports_shell2 };
@@ -1,128 +1,128 @@
1
1
  import {
2
2
  Metadata2,
3
- node39
4
- } from "./shell-m9q8vvrp.js";
3
+ node67
4
+ } from "./app-yxqhfdf1.js";
5
5
  import {
6
- Service79,
7
- node84
8
- } from "./shell-dpc689ym.js";
6
+ Service75,
7
+ node80
8
+ } from "./app-arbehxbm.js";
9
9
  import {
10
- ID7,
11
- Service53,
12
- node57
13
- } from "./shell-hpbyysca.js";
10
+ ID15,
11
+ Service71,
12
+ node76
13
+ } from "./app-11zfvzac.js";
14
14
  import {
15
- ID13
16
- } from "./shell-m4bpwynw.js";
15
+ ID10
16
+ } from "./app-szt7smwk.js";
17
17
  import {
18
- Service41,
19
- node45
20
- } from "./shell-kja6ea6z.js";
18
+ Service54,
19
+ node57
20
+ } from "./app-wf0xzsvt.js";
21
21
  import {
22
- ID12
23
- } from "./shell-pjjtcy2p.js";
22
+ ID9
23
+ } from "./app-jp8chewc.js";
24
24
  import {
25
- ID14,
25
+ ID8,
26
26
  OAuth3
27
- } from "./shell-xxtg5rsy.js";
27
+ } from "./app-sj5n3trc.js";
28
28
  import {
29
- ID9,
29
+ ID6,
30
30
  MethodID2,
31
31
  AttemptID2,
32
32
  Method2,
33
- Service57,
34
- node61
35
- } from "./shell-bzsb4ygm.js";
36
- import {
37
- Service40,
38
- node44
39
- } from "./shell-2pqs5rb6.js";
33
+ Service60,
34
+ node63
35
+ } from "./app-me149q6c.js";
40
36
  import {
41
37
  Service59,
42
- node63
43
- } from "./shell-4n9v30zw.js";
38
+ node62
39
+ } from "./app-7mjejgxa.js";
40
+ import {
41
+ Service50,
42
+ node53
43
+ } from "./app-x28zqaf0.js";
44
44
  import {
45
- Service78,
46
- node83
47
- } from "./shell-d8bdgt1m.js";
45
+ Service77,
46
+ node82
47
+ } from "./app-zm0v3se3.js";
48
48
  import {
49
49
  AbsolutePath2
50
- } from "./shell-p8qxwesx.js";
50
+ } from "./app-p8qxwesx.js";
51
51
  import {
52
52
  Info30,
53
53
  Ref4,
54
- Service72,
55
- node77
56
- } from "./shell-a61ajdq9.js";
54
+ Service73,
55
+ node78
56
+ } from "./app-6g1q2hdd.js";
57
57
  import {
58
- Service48,
59
- node52
60
- } from "./shell-22jc9t4j.js";
58
+ Service46,
59
+ node49
60
+ } from "./app-7myzn9fy.js";
61
61
  import {
62
- ID15
63
- } from "./shell-n87qk14a.js";
62
+ ID11
63
+ } from "./app-h7tdc4p8.js";
64
64
  import {
65
- Service22,
66
- node25
67
- } from "./shell-83dvd1w2.js";
65
+ Service36,
66
+ node39
67
+ } from "./app-t8jjz1g4.js";
68
68
  import {
69
- Service64,
70
- node68
71
- } from "./shell-5ctdmadx.js";
69
+ Service72,
70
+ node77
71
+ } from "./app-w6s4nrrc.js";
72
72
  import {
73
- Service42,
74
- node46
75
- } from "./shell-mn410wgw.js";
73
+ Service68,
74
+ node73
75
+ } from "./app-teq0593w.js";
76
76
  import {
77
- Service55,
78
- node59
79
- } from "./shell-s440spbv.js";
77
+ Service53,
78
+ node56
79
+ } from "./app-de8cp1fg.js";
80
80
  import {
81
- Source5,
82
- Service49,
83
- node53
84
- } from "./shell-74hfp9tv.js";
81
+ Source3,
82
+ Service48,
83
+ node51
84
+ } from "./app-bssf13fr.js";
85
85
  import {
86
- Info6,
87
- Service36,
88
- node40
89
- } from "./shell-ftabj2dg.js";
86
+ Info18,
87
+ Service49,
88
+ node52
89
+ } from "./app-cz8be0q1.js";
90
90
  import {
91
- Service13,
92
- node17
93
- } from "./shell-wn5mwez2.js";
91
+ Service20,
92
+ node24
93
+ } from "./app-t5mvv7b6.js";
94
94
  import {
95
- Service75,
96
- node80
97
- } from "./shell-6hq5c2qk.js";
95
+ Service55,
96
+ node58
97
+ } from "./app-fj1ykrdy.js";
98
98
  import {
99
- Service37,
100
- node41
101
- } from "./shell-gfz9gwkx.js";
99
+ Service51,
100
+ node54
101
+ } from "./app-mekcq3pn.js";
102
102
  import {
103
- Service33,
104
- node36
105
- } from "./shell-12t3v3je.js";
103
+ Service57,
104
+ node60
105
+ } from "./app-aqz4tv27.js";
106
106
  import {
107
- ID16,
108
- Service70,
109
- node75
110
- } from "./shell-n3m9wsvh.js";
107
+ ID12,
108
+ Service67,
109
+ node72
110
+ } from "./app-3vpahets.js";
111
111
  import {
112
112
  StrategyID2,
113
- Info11,
113
+ Info4,
114
114
  ListEntry3,
115
115
  UnsupportedLocationError2,
116
- Service56,
117
- node60
118
- } from "./shell-t0z8h93t.js";
116
+ Service18,
117
+ node22
118
+ } from "./app-pvsq6e0y.js";
119
119
  import {
120
- Service38,
121
- node42
122
- } from "./shell-ttr1bger.js";
120
+ Service19,
121
+ node23
122
+ } from "./app-smkpzyj7.js";
123
123
  import {
124
124
  __export
125
- } from "./shell-9rqn6x4v.js";
125
+ } from "./app-9rqn6x4v.js";
126
126
 
127
127
  // src/plugin/host.ts
128
128
  var exports_host = {};
@@ -140,28 +140,28 @@ var mutable = (value) => value;
140
140
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
141
141
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
142
142
  const app = yield* Metadata2;
143
- const agents = yield* Service53;
144
- const aisdk = yield* Service41;
145
- const catalog = yield* Service40;
146
- const commands = yield* Service59;
147
- const bus = yield* Service79;
148
- const integration = yield* Service57;
149
- const kv = yield* Service78;
150
- const mcp = yield* Service22;
151
- const location = yield* Service72;
152
- const reference = yield* Service49;
153
- const rpc = yield* Service37;
154
- const skill = yield* Service36;
155
- const tools = yield* Service55;
156
- const vcs = yield* Service33;
157
- const websearch = yield* Service70;
158
- const generate = yield* Service38;
159
- const permission = yield* Service42;
160
- const hooks = yield* Service64;
161
- const sessions = yield* Service13;
162
- const persistentPty = yield* Service75;
163
- const locations = yield* Service48;
164
- const worktrees = yield* Service56;
143
+ const agents = yield* Service71;
144
+ const aisdk = yield* Service54;
145
+ const catalog = yield* Service59;
146
+ const commands = yield* Service50;
147
+ const bus = yield* Service75;
148
+ const integration = yield* Service60;
149
+ const kv = yield* Service77;
150
+ const mcp = yield* Service36;
151
+ const location = yield* Service73;
152
+ const reference = yield* Service48;
153
+ const rpc = yield* Service51;
154
+ const skill = yield* Service49;
155
+ const tools = yield* Service53;
156
+ const vcs = yield* Service57;
157
+ const websearch = yield* Service67;
158
+ const generate = yield* Service19;
159
+ const permission = yield* Service68;
160
+ const hooks = yield* Service72;
161
+ const sessions = yield* Service20;
162
+ const persistentPty = yield* Service55;
163
+ const locations = yield* Service46;
164
+ const worktrees = yield* Service18;
165
165
  const locationInfo = () => new Info30({
166
166
  directory: location.directory,
167
167
  workspaceID: location.workspaceID,
@@ -169,7 +169,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
169
169
  });
170
170
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
171
171
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
172
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID15.make(input.location.workspace)
172
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
173
173
  });
174
174
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
175
175
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
@@ -181,16 +181,16 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
181
181
  return Effect.gen(function* () {
182
182
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
183
183
  const plugins = yield* Plugin.Service;
184
- const target = yield* Service56;
184
+ const target = yield* Service18;
185
185
  yield* plugins.awaitActivation;
186
186
  return yield* run(target);
187
187
  }).pipe(Effect.provide(locations.get(ref)));
188
188
  };
189
- const decodeWorktree = Schema.decodeUnknownEffect(Info11);
189
+ const decodeWorktree = Schema.decodeUnknownEffect(Info4);
190
190
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
191
191
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
192
- const location = yield* Service72;
193
- const agents = yield* Service53;
192
+ const location = yield* Service73;
193
+ const agents = yield* Service71;
194
194
  return {
195
195
  location: new Info30({
196
196
  directory: location.directory,
@@ -224,10 +224,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
224
224
  transform: (callback) => agents.transform((editor) => {
225
225
  callback({
226
226
  list: () => mutable(editor.list()),
227
- get: (id) => mutable(editor.get(ID7.make(id))),
228
- default: (id) => editor.default(id === undefined ? undefined : ID7.make(id)),
229
- update: (id, update) => editor.update(ID7.make(id), update),
230
- remove: (id) => editor.remove(ID7.make(id))
227
+ get: (id) => mutable(editor.get(ID15.make(id))),
228
+ default: (id) => editor.default(id === undefined ? undefined : ID15.make(id)),
229
+ update: (id, update) => editor.update(ID15.make(id), update),
230
+ remove: (id) => editor.remove(ID15.make(id))
231
231
  });
232
232
  })
233
233
  },
@@ -262,7 +262,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
262
262
  catalog: {
263
263
  provider: {
264
264
  list: () => response(catalog.provider.available()),
265
- get: (input) => catalog.provider.get(ID13.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
265
+ get: (input) => catalog.provider.get(ID10.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
266
266
  },
267
267
  model: {
268
268
  list: () => response(catalog.model.available()),
@@ -273,17 +273,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
273
273
  callback({
274
274
  provider: {
275
275
  list: () => mutable(editor.provider.list()),
276
- get: (id) => mutable(editor.provider.get(ID13.make(id))),
277
- update: (id, update) => editor.provider.update(ID13.make(id), update),
278
- remove: (id) => editor.provider.remove(ID13.make(id))
276
+ get: (id) => mutable(editor.provider.get(ID10.make(id))),
277
+ update: (id, update) => editor.provider.update(ID10.make(id), update),
278
+ remove: (id) => editor.provider.remove(ID10.make(id))
279
279
  },
280
280
  model: {
281
- get: (providerID, modelID) => mutable(editor.model.get(ID13.make(providerID), ID12.make(modelID))),
282
- update: (providerID, modelID, update) => editor.model.update(ID13.make(providerID), ID12.make(modelID), update),
283
- remove: (providerID, modelID) => editor.model.remove(ID13.make(providerID), ID12.make(modelID)),
281
+ get: (providerID, modelID) => mutable(editor.model.get(ID10.make(providerID), ID9.make(modelID))),
282
+ update: (providerID, modelID, update) => editor.model.update(ID10.make(providerID), ID9.make(modelID), update),
283
+ remove: (providerID, modelID) => editor.model.remove(ID10.make(providerID), ID9.make(modelID)),
284
284
  default: {
285
285
  get: editor.model.default.get,
286
- set: (providerID, modelID) => editor.model.default.set(ID13.make(providerID), ID12.make(modelID))
286
+ set: (providerID, modelID) => editor.model.default.set(ID10.make(providerID), ID9.make(modelID))
287
287
  }
288
288
  }
289
289
  });
@@ -307,10 +307,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
307
307
  },
308
308
  integration: {
309
309
  list: () => response(integration.list()),
310
- get: (input) => response(integration.get(ID9.make(input.integrationID))),
310
+ get: (input) => response(integration.get(ID6.make(input.integrationID))),
311
311
  connect: {
312
312
  key: (input) => integration.connection.key({
313
- integrationID: ID9.make(input.integrationID),
313
+ integrationID: ID6.make(input.integrationID),
314
314
  key: input.key,
315
315
  answer: input.answer,
316
316
  label: input.label
@@ -318,55 +318,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
318
318
  },
319
319
  oauth: {
320
320
  connect: (input) => response(integration.oauth.connect({
321
- integrationID: ID9.make(input.integrationID),
321
+ integrationID: ID6.make(input.integrationID),
322
322
  methodID: MethodID2.make(input.methodID),
323
323
  answer: input.answer,
324
324
  label: input.label
325
325
  })),
326
326
  status: (input) => response(integration.oauth.status({
327
- integrationID: ID9.make(input.integrationID),
327
+ integrationID: ID6.make(input.integrationID),
328
328
  attemptID: AttemptID2.make(input.attemptID)
329
329
  })),
330
330
  complete: (input) => integration.oauth.complete({
331
- integrationID: ID9.make(input.integrationID),
331
+ integrationID: ID6.make(input.integrationID),
332
332
  attemptID: AttemptID2.make(input.attemptID),
333
333
  code: input.code
334
334
  }),
335
335
  cancel: (input) => integration.oauth.cancel({
336
- integrationID: ID9.make(input.integrationID),
336
+ integrationID: ID6.make(input.integrationID),
337
337
  attemptID: AttemptID2.make(input.attemptID)
338
338
  })
339
339
  },
340
340
  command: {
341
341
  connect: (input) => response(integration.command.connect({
342
- integrationID: ID9.make(input.integrationID),
342
+ integrationID: ID6.make(input.integrationID),
343
343
  methodID: MethodID2.make(input.methodID),
344
344
  label: input.label
345
345
  })),
346
346
  status: (input) => response(integration.command.status({
347
- integrationID: ID9.make(input.integrationID),
347
+ integrationID: ID6.make(input.integrationID),
348
348
  attemptID: AttemptID2.make(input.attemptID)
349
349
  })),
350
350
  cancel: (input) => integration.command.cancel({
351
- integrationID: ID9.make(input.integrationID),
351
+ integrationID: ID6.make(input.integrationID),
352
352
  attemptID: AttemptID2.make(input.attemptID)
353
353
  })
354
354
  },
355
355
  reload: integration.reload,
356
356
  connection: {
357
- active: (id) => integration.connection.active(ID9.make(id)),
358
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID14.make(connection.id) } : connection)
357
+ active: (id) => integration.connection.active(ID6.make(id)),
358
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID8.make(connection.id) } : connection)
359
359
  },
360
360
  transform: (callback) => integration.transform((editor) => {
361
361
  callback({
362
362
  list: () => mutable(editor.list()),
363
- get: (id) => mutable(editor.get(ID9.make(id))),
364
- update: (id, update) => editor.update(ID9.make(id), update),
365
- remove: (id) => editor.remove(ID9.make(id)),
363
+ get: (id) => mutable(editor.get(ID6.make(id))),
364
+ update: (id, update) => editor.update(ID6.make(id), update),
365
+ remove: (id) => editor.remove(ID6.make(id)),
366
366
  method: {
367
- list: (id) => editor.method.list(ID9.make(id)),
367
+ list: (id) => editor.method.list(ID6.make(id)),
368
368
  update: (input) => editor.method.update(methodImplementation(input)),
369
- remove: (id, method) => editor.method.remove(ID9.make(id), Schema.decodeUnknownSync(Method2)(method))
369
+ remove: (id, method) => editor.method.remove(ID6.make(id), Schema.decodeUnknownSync(Method2)(method))
370
370
  }
371
371
  });
372
372
  })
@@ -376,8 +376,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
376
376
  const ref = locationRef(input);
377
377
  if (ref && !isCurrentLocation(ref))
378
378
  return Effect.gen(function* () {
379
- const location = yield* Service72;
380
- const mcp = yield* Service22;
379
+ const location = yield* Service73;
380
+ const mcp = yield* Service36;
381
381
  return {
382
382
  location: new Info30({
383
383
  directory: location.directory,
@@ -414,7 +414,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
414
414
  reload: reference.reload,
415
415
  transform: (callback) => reference.transform((editor) => {
416
416
  callback({
417
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source5)(source)),
417
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
418
418
  remove: editor.remove,
419
419
  list: editor.list,
420
420
  get: editor.get
@@ -428,7 +428,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
428
428
  callback({
429
429
  list: () => mutable(editor.list()),
430
430
  get: editor.get,
431
- add: (value) => editor.add(Schema.decodeUnknownSync(Info6)(value)),
431
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info18)(value)),
432
432
  update: editor.update,
433
433
  remove: editor.remove
434
434
  });
@@ -456,19 +456,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
456
456
  providers: () => response(websearch.providers()),
457
457
  query: (input) => response(websearch.query({
458
458
  query: input.query,
459
- providerID: input.providerID === undefined ? undefined : ID16.make(input.providerID)
459
+ providerID: input.providerID === undefined ? undefined : ID12.make(input.providerID)
460
460
  })),
461
461
  reload: websearch.reload,
462
462
  transform: (callback) => websearch.transform((editor) => {
463
463
  callback({
464
464
  add: (definition) => editor.add({
465
- id: ID16.make(definition.id),
465
+ id: ID12.make(definition.id),
466
466
  name: definition.name,
467
467
  execute: definition.execute
468
468
  }),
469
469
  default: {
470
470
  get: editor.default.get,
471
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID16.make(selection))
471
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID12.make(selection))
472
472
  }
473
473
  });
474
474
  })
@@ -514,29 +514,29 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
514
514
  return context;
515
515
  });
516
516
  var requirements3 = LayerNode.group([
517
- node39,
517
+ node67,
518
+ node76,
518
519
  node57,
519
- node45,
520
- node44,
521
- node63,
522
- node84,
523
- node61,
524
- node83,
525
- node25,
526
- node77,
520
+ node62,
527
521
  node53,
528
- node41,
529
- node40,
530
- node59,
531
- node36,
532
- node75,
533
- node60,
534
- node42,
535
- node46,
536
- node68,
537
- node17,
538
522
  node80,
539
- node52
523
+ node63,
524
+ node82,
525
+ node39,
526
+ node78,
527
+ node51,
528
+ node54,
529
+ node52,
530
+ node56,
531
+ node60,
532
+ node72,
533
+ node22,
534
+ node23,
535
+ node73,
536
+ node77,
537
+ node24,
538
+ node58,
539
+ node49
540
540
  ]);
541
541
  function storage2(kv, pluginID) {
542
542
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -563,7 +563,7 @@ function methodImplementation(input) {
563
563
  if ("authorize" in input) {
564
564
  const refresh = input.refresh;
565
565
  return {
566
- integrationID: ID9.make(input.integrationID),
566
+ integrationID: ID6.make(input.integrationID),
567
567
  method: { ...input.method, id: MethodID2.make(input.method.id) },
568
568
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
569
569
  if (authorization.mode === "auto") {
@@ -583,18 +583,18 @@ function methodImplementation(input) {
583
583
  }
584
584
  if (input.method.type === "env") {
585
585
  return {
586
- integrationID: ID9.make(input.integrationID),
586
+ integrationID: ID6.make(input.integrationID),
587
587
  method: input.method
588
588
  };
589
589
  }
590
590
  if (input.method.type === "command") {
591
591
  return {
592
- integrationID: ID9.make(input.integrationID),
592
+ integrationID: ID6.make(input.integrationID),
593
593
  method: { ...input.method, id: MethodID2.make(input.method.id) }
594
594
  };
595
595
  }
596
596
  return {
597
- integrationID: ID9.make(input.integrationID),
597
+ integrationID: ID6.make(input.integrationID),
598
598
  method: input.method
599
599
  };
600
600
  }