@opencode/core 0.0.0-dev-19473 → 0.0.0-dev-19482

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 (785) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  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 +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{location-mutation-x1acgrry.js → shell-04n8fpsx.js} +4 -4
  9. package/dist/chunks/{location-mutation-xs4at11g.js → shell-0cy5jdh3.js} +13 -13
  10. package/dist/chunks/{location-mutation-tx5ssvyf.js → shell-0dyc37yz.js} +34 -34
  11. package/dist/chunks/{location-mutation-w42cbfa6.js → shell-0fn5g1dw.js} +35 -35
  12. package/dist/chunks/{location-mutation-agmzpsk8.js → shell-0gm9s4gg.js} +16 -16
  13. package/dist/chunks/shell-0mesazry.js +4 -0
  14. package/dist/chunks/{location-mutation-b0zc3rxt.js → shell-0nmk1nfg.js} +12 -12
  15. package/dist/chunks/{location-mutation-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{location-mutation-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{location-mutation-02s21fhq.js → shell-0w0gm0da.js} +9 -9
  18. package/dist/chunks/{location-mutation-g6475k52.js → shell-191q2am9.js} +20 -20
  19. package/dist/chunks/{location-mutation-dz0bcr2c.js → shell-1b9za8k8.js} +4 -4
  20. package/dist/chunks/{location-mutation-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{location-mutation-1fz31grg.js → shell-1jbxxpzt.js} +8 -8
  22. package/dist/chunks/{location-mutation-7b5bs947.js → shell-1v0k12rn.js} +16 -16
  23. package/dist/chunks/{location-mutation-gq0ew8qh.js → shell-1vqdrp7h.js} +34 -34
  24. package/dist/chunks/{location-mutation-21r38tys.js → shell-21r38tys.js} +1 -1
  25. package/dist/chunks/{location-mutation-2jmaghvr.js → shell-23pqda6t.js} +4 -4
  26. package/dist/chunks/{location-mutation-jkdy99p7.js → shell-23xgc4jt.js} +37 -37
  27. package/dist/chunks/{location-mutation-2402vzrj.js → shell-2402vzrj.js} +1 -1
  28. package/dist/chunks/{location-mutation-n08mrxbn.js → shell-259cm5a5.js} +10 -10
  29. package/dist/chunks/{location-mutation-ep73h3z1.js → shell-29mdqam5.js} +1 -1
  30. package/dist/chunks/{location-mutation-brkb7bcy.js → shell-29wksdc9.js} +13 -13
  31. package/dist/chunks/{location-mutation-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{location-mutation-6jnybvqn.js → shell-2bt6bea8.js} +9 -9
  33. package/dist/chunks/{location-mutation-2k8khapm.js → shell-2k8khapm.js} +1 -1
  34. package/dist/chunks/{location-mutation-kx709rat.js → shell-2rkdvd01.js} +9 -9
  35. package/dist/chunks/{location-mutation-x5ny37kg.js → shell-2x9qsqkq.js} +9 -9
  36. package/dist/chunks/{location-mutation-wr1twpvv.js → shell-31y3jm9t.js} +15 -15
  37. package/dist/chunks/{location-mutation-x5agxrzj.js → shell-332whr7y.js} +33 -33
  38. package/dist/chunks/{location-mutation-tgamz6xd.js → shell-36cew03x.js} +30 -30
  39. package/dist/chunks/{location-mutation-xzdkxzdn.js → shell-389yrpaj.js} +18 -18
  40. package/dist/chunks/{location-mutation-z45aar89.js → shell-3anxtp47.js} +58 -58
  41. package/dist/chunks/{location-mutation-5z1pcq32.js → shell-3f7mbqst.js} +8 -8
  42. package/dist/chunks/{location-mutation-gdvy8fx6.js → shell-3fc6dm20.js} +4 -4
  43. package/dist/chunks/{location-mutation-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{location-mutation-04fa0zte.js → shell-3hktcy2m.js} +17 -17
  45. package/dist/chunks/{location-mutation-1q0a1vdp.js → shell-3kq47whm.js} +18 -18
  46. package/dist/chunks/{location-mutation-haj9q169.js → shell-3m27cd08.js} +30 -30
  47. package/dist/chunks/{location-mutation-18cztcj7.js → shell-3rx2nwvc.js} +3 -3
  48. package/dist/chunks/{location-mutation-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{location-mutation-t51qk8jz.js → shell-3t8eac1t.js} +21 -21
  50. package/dist/chunks/{location-mutation-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{location-mutation-dchdcshb.js → shell-42xebk03.js} +23 -23
  52. package/dist/chunks/{location-mutation-e0cx5qc7.js → shell-4861qdfa.js} +9 -9
  53. package/dist/chunks/{location-mutation-296ksaqc.js → shell-4aebnyy9.js} +11 -11
  54. package/dist/chunks/{location-mutation-fkqsehyz.js → shell-4q01a3y3.js} +20 -20
  55. package/dist/chunks/shell-4v7qdvcn.js +18 -0
  56. package/dist/chunks/{location-mutation-mt6v2s5x.js → shell-4vxtq0ga.js} +19 -19
  57. package/dist/chunks/{location-mutation-ccppxhm9.js → shell-4w1d5wb3.js} +16 -16
  58. package/dist/chunks/{location-mutation-4y66k410.js → shell-4y66k410.js} +2 -2
  59. package/dist/chunks/{location-mutation-4yg7xpeb.js → shell-512rfa6p.js} +2 -2
  60. package/dist/chunks/{location-mutation-mfqp6xfm.js → shell-56gdpj1q.js} +6 -6
  61. package/dist/chunks/{location-mutation-5daktx2q.js → shell-5daktx2q.js} +1 -1
  62. package/dist/chunks/{location-mutation-gsv5r6kf.js → shell-5ffkwt1e.js} +15 -15
  63. package/dist/chunks/{location-mutation-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{location-mutation-tb9k42r5.js → shell-5vn45h4e.js} +24 -24
  65. package/dist/chunks/{location-mutation-pb6b52mq.js → shell-61jgdnn9.js} +4 -4
  66. package/dist/chunks/{location-mutation-1cbphejb.js → shell-654qzmht.js} +11 -11
  67. package/dist/chunks/{location-mutation-669tq793.js → shell-669tq793.js} +1 -1
  68. package/dist/chunks/{location-mutation-tys5kznf.js → shell-672zjrs9.js} +11 -11
  69. package/dist/chunks/{location-mutation-9b2f9zrq.js → shell-6djc8d4v.js} +55 -55
  70. package/dist/chunks/{location-mutation-wpm2rk0p.js → shell-6ea2fwcg.js} +6 -6
  71. package/dist/chunks/{location-mutation-bh0f28bz.js → shell-6ec7m0j6.js} +23 -23
  72. package/dist/chunks/{location-mutation-twzh2p7z.js → shell-6j93tkf6.js} +34 -34
  73. package/dist/chunks/{location-mutation-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{location-mutation-8hgn0vw2.js → shell-6paxgs6k.js} +9 -9
  75. package/dist/chunks/{location-mutation-pe2r03fm.js → shell-6w2332aj.js} +10 -10
  76. package/dist/chunks/{location-mutation-az1fhpt6.js → shell-715pgvxv.js} +13 -13
  77. package/dist/chunks/{location-mutation-6qff4d9y.js → shell-71b9e1h9.js} +17 -17
  78. package/dist/chunks/{location-mutation-71q4at8m.js → shell-71q4at8m.js} +1 -1
  79. package/dist/chunks/{location-mutation-ft05p3sn.js → shell-73n9zkes.js} +9 -9
  80. package/dist/chunks/{location-mutation-mvfsc1pv.js → shell-73tb2d7t.js} +3 -3
  81. package/dist/chunks/{location-mutation-hqxy6dek.js → shell-757464b7.js} +8 -8
  82. package/dist/chunks/shell-75fbrjyy.js +462 -0
  83. package/dist/chunks/{location-mutation-85wb08hb.js → shell-7a14zr6p.js} +11 -11
  84. package/dist/chunks/{location-mutation-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{location-mutation-5rd5fnze.js → shell-7bsq4hvy.js} +77 -77
  86. package/dist/chunks/{location-mutation-6hk6hw99.js → shell-7gtrf76q.js} +20 -20
  87. package/dist/chunks/{location-mutation-ead3g9p8.js → shell-7gvwkz6m.js} +5 -5
  88. package/dist/chunks/{location-mutation-2d6j2h4j.js → shell-7ny3kv6n.js} +8 -8
  89. package/dist/chunks/{location-mutation-jmz1vw1c.js → shell-7x5zvdqa.js} +24 -24
  90. package/dist/chunks/{location-mutation-dp6dfv2y.js → shell-7y5sgbz2.js} +16 -16
  91. package/dist/chunks/{location-mutation-04zt81gk.js → shell-8377ydh1.js} +7 -7
  92. package/dist/chunks/{location-mutation-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{location-mutation-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
  94. package/dist/chunks/{location-mutation-r5t0jnx0.js → shell-8wmav03j.js} +10 -10
  95. package/dist/chunks/{location-mutation-jx4tp4ea.js → shell-8xy1g1m8.js} +15 -15
  96. package/dist/chunks/{location-mutation-wj6yf6jc.js → shell-938d64v3.js} +6 -6
  97. package/dist/chunks/{location-mutation-2wts5qzq.js → shell-97h7kfy1.js} +8 -8
  98. package/dist/chunks/{location-mutation-c8sngd2z.js → shell-9cp1yb9s.js} +4 -4
  99. package/dist/chunks/{location-mutation-63zxe2e6.js → shell-9ejs86te.js} +26 -26
  100. package/dist/chunks/{location-mutation-6fz87ewy.js → shell-9fgx6pd5.js} +14 -14
  101. package/dist/chunks/{location-mutation-qmr73083.js → shell-9h3amn4q.js} +1 -1
  102. package/dist/chunks/{location-mutation-vng2d7qe.js → shell-9wc1evxj.js} +22 -22
  103. package/dist/chunks/{location-mutation-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
  104. package/dist/chunks/{location-mutation-b8ymqkg2.js → shell-a4nqgkt6.js} +2 -2
  105. package/dist/chunks/{location-mutation-h7dpqqdj.js → shell-a4x50hwg.js} +25 -25
  106. package/dist/chunks/{location-mutation-aaet6srn.js → shell-aaet6srn.js} +2 -2
  107. package/dist/chunks/{location-mutation-y7jb9f2a.js → shell-adhzpfb7.js} +30 -30
  108. package/dist/chunks/{location-mutation-80e0yyk8.js → shell-ak72jphr.js} +10 -10
  109. package/dist/chunks/{location-mutation-mb6hfgj3.js → shell-amj36hnk.js} +14 -14
  110. package/dist/chunks/{location-mutation-7b15y959.js → shell-asmz7wyz.js} +8 -8
  111. package/dist/chunks/{location-mutation-b6qrdxz2.js → shell-b19dgzvs.js} +1 -1
  112. package/dist/chunks/{location-mutation-7zpxrbmk.js → shell-b1sq7v9m.js} +30 -30
  113. package/dist/chunks/{location-mutation-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{location-mutation-xhmq8qgk.js → shell-b8b3f19r.js} +9 -9
  115. package/dist/chunks/{location-mutation-cq37gk0t.js → shell-bha4atvq.js} +4 -4
  116. package/dist/chunks/{location-mutation-n97nf603.js → shell-bjke5af1.js} +11 -11
  117. package/dist/chunks/{location-mutation-z9s3hg1t.js → shell-bw668rws.js} +24 -24
  118. package/dist/chunks/{location-mutation-wa2y7qva.js → shell-bx61q0p6.js} +27 -27
  119. package/dist/chunks/{location-mutation-c156ep7e.js → shell-c156ep7e.js} +2 -2
  120. package/dist/chunks/{location-mutation-7bt6nz5z.js → shell-c255b86t.js} +20 -20
  121. package/dist/chunks/{location-mutation-a4exdnt3.js → shell-c3w8sn3d.js} +4 -4
  122. package/dist/chunks/{location-mutation-f9bavhm2.js → shell-cek2cznd.js} +1 -1
  123. package/dist/chunks/{location-mutation-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{location-mutation-12h4n3rk.js → shell-cjmk82ph.js} +47 -47
  125. package/dist/chunks/{location-mutation-81swgkk7.js → shell-cntxze1n.js} +9 -9
  126. package/dist/chunks/{location-mutation-637tx434.js → shell-csveq9pc.js} +25 -25
  127. package/dist/chunks/{location-mutation-sz1p02ts.js → shell-cxq7hy6v.js} +17 -17
  128. package/dist/chunks/{location-mutation-5cd9q45n.js → shell-d52p5a3y.js} +17 -17
  129. package/dist/chunks/{location-mutation-zj09a0ew.js → shell-d8nc1xcx.js} +4 -4
  130. package/dist/chunks/shell-dad7qjyt.js +22 -0
  131. package/dist/chunks/{location-mutation-z8md75e6.js → shell-dghm81pm.js} +45 -45
  132. package/dist/chunks/{location-mutation-jvyfkbwy.js → shell-dhtqz3j8.js} +23 -23
  133. package/dist/chunks/{location-mutation-y71avatq.js → shell-dpkg50ah.js} +4 -4
  134. package/dist/chunks/{location-mutation-man06fk9.js → shell-dya1x8f2.js} +5 -5
  135. package/dist/chunks/{location-mutation-1n20r6fn.js → shell-e119c6wb.js} +4 -4
  136. package/dist/chunks/{location-mutation-rhjbct0v.js → shell-eaj1djv9.js} +8 -8
  137. package/dist/chunks/{location-mutation-qskqt98q.js → shell-ekj7r0kp.js} +10 -10
  138. package/dist/chunks/{location-mutation-sf7shepb.js → shell-enq4mbeq.js} +28 -28
  139. package/dist/chunks/{location-mutation-hknm424e.js → shell-epxwh5rt.js} +25 -25
  140. package/dist/chunks/{location-mutation-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{location-mutation-tn0aqsam.js → shell-evbgk2k8.js} +5 -5
  142. package/dist/chunks/{location-mutation-dzn5j78v.js → shell-f0fgzphd.js} +9 -9
  143. package/dist/chunks/{location-mutation-yp2x3t23.js → shell-f2n192rq.js} +4 -4
  144. package/dist/chunks/{location-mutation-kgd24eq0.js → shell-f3rhz1g8.js} +69 -69
  145. package/dist/chunks/{location-mutation-70nf62s1.js → shell-f40x834m.js} +16 -16
  146. package/dist/chunks/{location-mutation-f828m53h.js → shell-f828m53h.js} +2 -2
  147. package/dist/chunks/{location-mutation-smrf4wxt.js → shell-fdeq67q0.js} +7 -7
  148. package/dist/chunks/{location-mutation-gvphacjb.js → shell-fe9854a7.js} +12 -12
  149. package/dist/chunks/{location-mutation-jfqtm2ew.js → shell-fm2qvscf.js} +4 -4
  150. package/dist/chunks/{location-mutation-sv9bpgvh.js → shell-fmxbrafm.js} +5 -5
  151. package/dist/chunks/{location-mutation-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{location-mutation-571yh8bb.js → shell-fzgk925k.js} +11 -11
  153. package/dist/chunks/{location-mutation-f2jpp81c.js → shell-fzmz3zsx.js} +4 -4
  154. package/dist/chunks/{location-mutation-0kw5trp8.js → shell-g0jbyvt7.js} +9 -9
  155. package/dist/chunks/{location-mutation-bawp00e5.js → shell-gb75dd12.js} +9 -9
  156. package/dist/chunks/{location-mutation-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{location-mutation-q5q9511b.js → shell-gdbnz73m.js} +11 -11
  158. package/dist/chunks/{location-mutation-fw83hase.js → shell-gjmwt3yh.js} +18 -18
  159. package/dist/chunks/{location-mutation-4hzrtyw9.js → shell-gm14zrge.js} +3 -3
  160. package/dist/chunks/{location-mutation-2n26ff9a.js → shell-gnp2cdh9.js} +8 -8
  161. package/dist/chunks/{location-mutation-ky16kd9n.js → shell-gqcgtd7m.js} +7 -7
  162. package/dist/chunks/{location-mutation-m70sbz6t.js → shell-gst7axd9.js} +4 -4
  163. package/dist/chunks/{location-mutation-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
  164. package/dist/chunks/{location-mutation-qwhswr8m.js → shell-gvmwhjkb.js} +41 -41
  165. package/dist/chunks/{location-mutation-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
  166. package/dist/chunks/{location-mutation-x6ft23h3.js → shell-h5mtjt0m.js} +37 -37
  167. package/dist/chunks/{location-mutation-77rvk4xz.js → shell-h6mds1av.js} +38 -38
  168. package/dist/chunks/{location-mutation-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{location-mutation-b7wncpqh.js → shell-h8aw6exk.js} +27 -27
  170. package/dist/chunks/{location-mutation-jv01nqvq.js → shell-hnr5yq9h.js} +5 -5
  171. package/dist/chunks/{location-mutation-747qv6w8.js → shell-hr0by3dc.js} +24 -24
  172. package/dist/chunks/{location-mutation-pwd7dmcs.js → shell-hvgm9eqs.js} +39 -39
  173. package/dist/chunks/{location-mutation-cqbr1vk1.js → shell-hxqw5f62.js} +5 -5
  174. package/dist/chunks/{location-mutation-qkj99dmd.js → shell-hz0670sp.js} +32 -32
  175. package/dist/chunks/{location-mutation-j0qfb1wd.js → shell-j2x4pfpm.js} +8 -8
  176. package/dist/chunks/{location-mutation-e32h91zq.js → shell-j3gzjeh1.js} +15 -15
  177. package/dist/chunks/{location-mutation-d9wr29te.js → shell-j4xvd28z.js} +23 -23
  178. package/dist/chunks/{location-mutation-j56e64zr.js → shell-j56e64zr.js} +1 -1
  179. package/dist/chunks/{location-mutation-7w99qc9d.js → shell-j7wq2tw5.js} +3 -3
  180. package/dist/chunks/{location-mutation-spt9fbav.js → shell-j8zzr2am.js} +5 -5
  181. package/dist/chunks/{location-mutation-eqzc4rd8.js → shell-jmm61hn9.js} +33 -33
  182. package/dist/chunks/{location-mutation-4jmw8br6.js → shell-jq0xap4z.js} +9 -9
  183. package/dist/chunks/{location-mutation-d71nv30s.js → shell-jte6my49.js} +11 -11
  184. package/dist/chunks/{location-mutation-9zmx7hkd.js → shell-jvcjtfdj.js} +5 -5
  185. package/dist/chunks/{location-mutation-t2md336t.js → shell-jx9pvz9q.js} +21 -21
  186. package/dist/chunks/{location-mutation-n1sh6d89.js → shell-jyf8w563.js} +28 -28
  187. package/dist/chunks/{location-mutation-ra3qct3x.js → shell-ka2k270b.js} +8 -8
  188. package/dist/chunks/{location-mutation-kg06axw8.js → shell-kg06axw8.js} +1 -1
  189. package/dist/chunks/{location-mutation-qr27hz8v.js → shell-knd1qvh0.js} +4 -4
  190. package/dist/chunks/{location-mutation-v8ch97zc.js → shell-m43qeqsy.js} +1 -1
  191. package/dist/chunks/{location-mutation-g47jg2vw.js → shell-m9j2dexz.js} +6 -6
  192. package/dist/chunks/{location-mutation-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{location-mutation-mkcjrzeh.js → shell-mkcjrzeh.js} +1 -1
  194. package/dist/chunks/{location-mutation-snf8m0c5.js → shell-mme1bqhm.js} +22 -22
  195. package/dist/chunks/{location-mutation-h0h2ngkj.js → shell-mvvn0xpn.js} +40 -40
  196. package/dist/chunks/{location-mutation-nmjqh6cp.js → shell-mypwhdkk.js} +6 -6
  197. package/dist/chunks/{location-mutation-asqcfpfy.js → shell-n47h4z4n.js} +18 -18
  198. package/dist/chunks/{location-mutation-ap3k7sg2.js → shell-n9bzgvrq.js} +17 -17
  199. package/dist/chunks/{location-mutation-j1fbmsb9.js → shell-nbegex03.js} +18 -18
  200. package/dist/chunks/shell-nbtt6k6e.js +247 -0
  201. package/dist/chunks/{location-mutation-jy16bfac.js → shell-nc3fjawf.js} +1 -1
  202. package/dist/chunks/{location-mutation-e82z9tr0.js → shell-nhy5jxhy.js} +7 -7
  203. package/dist/chunks/{location-mutation-89w2cmtz.js → shell-nsnmc6vq.js} +4 -4
  204. package/dist/chunks/{location-mutation-6kyz0a76.js → shell-nv5vn7qx.js} +4 -4
  205. package/dist/chunks/{location-mutation-5dxs6qr8.js → shell-nx3vg62n.js} +7 -7
  206. package/dist/chunks/{location-mutation-53xfefbr.js → shell-p5zja7w3.js} +20 -20
  207. package/dist/chunks/{location-mutation-83fqv4x7.js → shell-p688tfyr.js} +15 -15
  208. package/dist/chunks/{location-mutation-j935v87r.js → shell-paphc93g.js} +2 -2
  209. package/dist/chunks/{location-mutation-k52252t7.js → shell-pck3w1ab.js} +4 -4
  210. package/dist/chunks/{location-mutation-d3m4r55y.js → shell-pe83jqzf.js} +11 -11
  211. package/dist/chunks/{location-mutation-mjagy123.js → shell-pfq1ksym.js} +5 -5
  212. package/dist/chunks/{location-mutation-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{location-mutation-pknna89w.js → shell-pknna89w.js} +1 -1
  214. package/dist/chunks/{location-mutation-jmpfh3z1.js → shell-ppkgn7jr.js} +7 -7
  215. package/dist/chunks/{location-mutation-pgw3y3wg.js → shell-q0jfp978.js} +15 -15
  216. package/dist/chunks/{location-mutation-wjr16z6c.js → shell-q95phfw2.js} +8 -8
  217. package/dist/chunks/{location-mutation-gm2zqcej.js → shell-qfcxkg9x.js} +3 -3
  218. package/dist/chunks/{location-mutation-8ynr4gjm.js → shell-qfehbndj.js} +21 -21
  219. package/dist/chunks/{location-mutation-asn1qnte.js → shell-qfzde7bh.js} +6 -6
  220. package/dist/chunks/{location-mutation-3e7ffj60.js → shell-qm9qwyxs.js} +38 -38
  221. package/dist/chunks/{location-mutation-qsdy395h.js → shell-qsdy395h.js} +1 -1
  222. package/dist/chunks/{location-mutation-e6wc2y3c.js → shell-qse8x9va.js} +41 -41
  223. package/dist/chunks/{location-mutation-j8q1z7ne.js → shell-qwkytnft.js} +9 -9
  224. package/dist/chunks/{location-mutation-0r11rtsk.js → shell-qyxzwjwr.js} +12 -12
  225. package/dist/chunks/{location-mutation-vzr156n0.js → shell-r4gvnsqg.js} +20 -20
  226. package/dist/chunks/{location-mutation-r9mregkx.js → shell-r9mregkx.js} +2 -2
  227. package/dist/chunks/{location-mutation-gx1zhcta.js → shell-rfnzy394.js} +1 -1
  228. package/dist/chunks/{location-mutation-5t8mrke1.js → shell-rfwb5caz.js} +7 -7
  229. package/dist/chunks/{location-mutation-hm89ty9d.js → shell-rgzjdtpz.js} +8 -8
  230. package/dist/chunks/{location-mutation-jnpghpvp.js → shell-rkgfyfhg.js} +26 -26
  231. package/dist/chunks/{location-mutation-3936rd12.js → shell-rs9gpnz9.js} +9 -9
  232. package/dist/chunks/{location-mutation-xqbw2bk3.js → shell-ryq1d4nq.js} +5 -5
  233. package/dist/chunks/{location-mutation-j1ggw692.js → shell-s3p732vg.js} +20 -20
  234. package/dist/chunks/{location-mutation-e8b04kk5.js → shell-see2wqs9.js} +6 -6
  235. package/dist/chunks/{location-mutation-49w8mb30.js → shell-srhw5zxk.js} +11 -11
  236. package/dist/chunks/{location-mutation-kxvrt3nb.js → shell-ss07yt36.js} +9 -9
  237. package/dist/chunks/{location-mutation-xvkxhetf.js → shell-sykm9ny3.js} +14 -14
  238. package/dist/chunks/{location-mutation-t0x5rdq8.js → shell-t0x5rdq8.js} +2 -2
  239. package/dist/chunks/{location-mutation-feypdcbr.js → shell-t2js6s8h.js} +7 -7
  240. package/dist/chunks/{location-mutation-912kd3r4.js → shell-t4mdcchx.js} +6 -6
  241. package/dist/chunks/{location-mutation-ve2fbp41.js → shell-t7m3zm2g.js} +44 -44
  242. package/dist/chunks/{location-mutation-fschjpvb.js → shell-t89hfesc.js} +9 -9
  243. package/dist/chunks/{location-mutation-pjsmk15p.js → shell-t97t2t7r.js} +17 -17
  244. package/dist/chunks/{location-mutation-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  245. package/dist/chunks/{location-mutation-89znhe33.js → shell-tcezcvh9.js} +4 -4
  246. package/dist/chunks/{location-mutation-tdstcens.js → shell-tdstcens.js} +1 -1
  247. package/dist/chunks/{location-mutation-tvtrv512.js → shell-tvtrv512.js} +1 -1
  248. package/dist/chunks/{location-mutation-t54ryj5x.js → shell-tyxx41mz.js} +24 -24
  249. package/dist/chunks/{location-mutation-a796k6fq.js → shell-v0rxpvp8.js} +34 -34
  250. package/dist/chunks/{location-mutation-342kvb74.js → shell-v76skvps.js} +17 -17
  251. package/dist/chunks/{location-mutation-fcqvj3n7.js → shell-v7sgzh50.js} +15 -15
  252. package/dist/chunks/{location-mutation-fm8wb4j7.js → shell-v9dy98q8.js} +23 -23
  253. package/dist/chunks/{location-mutation-bct739vz.js → shell-ve4pfa0n.js} +4 -4
  254. package/dist/chunks/{location-mutation-veqvce7d.js → shell-veqvce7d.js} +1 -1
  255. package/dist/chunks/{location-mutation-k7kh0egq.js → shell-vjvqmxr3.js} +28 -28
  256. package/dist/chunks/{location-mutation-wncr9p85.js → shell-vs31b0rs.js} +26 -26
  257. package/dist/chunks/{location-mutation-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{location-mutation-64kphnzf.js → shell-w1k39n5e.js} +4 -4
  259. package/dist/chunks/{location-mutation-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{location-mutation-f671wqhj.js → shell-w79gqzfd.js} +24 -24
  261. package/dist/chunks/{location-mutation-wd87259q.js → shell-wd87259q.js} +1 -1
  262. package/dist/chunks/{location-mutation-p0vh84wg.js → shell-wf190fkx.js} +17 -17
  263. package/dist/chunks/{location-mutation-btzz461g.js → shell-wpvxq4mk.js} +5 -5
  264. package/dist/chunks/{location-mutation-31dz7cp4.js → shell-wyam1r5m.js} +1 -1
  265. package/dist/chunks/{location-mutation-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{location-mutation-85rbpgj8.js → shell-x3vadacb.js} +10 -10
  267. package/dist/chunks/{location-mutation-tsf1qnrv.js → shell-x56sq1v7.js} +26 -26
  268. package/dist/chunks/{location-mutation-nng2ktcm.js → shell-xg9t41r3.js} +2 -2
  269. package/dist/chunks/{location-mutation-s3gbpz7c.js → shell-xkpcsvae.js} +20 -20
  270. package/dist/chunks/{location-mutation-xh1q604s.js → shell-xpky65xt.js} +6 -6
  271. package/dist/chunks/{location-mutation-c5c7sgyy.js → shell-xtwh079d.js} +9 -9
  272. package/dist/chunks/{location-mutation-1ah30sey.js → shell-xvs1sa11.js} +5 -5
  273. package/dist/chunks/{location-mutation-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{location-mutation-c8e2bgmv.js → shell-y2d29fce.js} +24 -24
  275. package/dist/chunks/{location-mutation-ncsxxtr1.js → shell-yb9t9wk7.js} +18 -18
  276. package/dist/chunks/{location-mutation-j6efsrek.js → shell-ycbn6r48.js} +41 -41
  277. package/dist/chunks/{location-mutation-zn1jgpf6.js → shell-ydpamykn.js} +6 -6
  278. package/dist/chunks/{location-mutation-7kemcmc0.js → shell-yj9j0m2y.js} +160 -160
  279. package/dist/chunks/{location-mutation-jefma2gq.js → shell-yjqv8qmq.js} +10 -10
  280. package/dist/chunks/{location-mutation-7thdeaez.js → shell-ymem0t2p.js} +24 -24
  281. package/dist/chunks/{location-mutation-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{location-mutation-s4enseaf.js → shell-yrznvahk.js} +2 -2
  283. package/dist/chunks/{location-mutation-exy6h62f.js → shell-yxdv66k0.js} +13 -13
  284. package/dist/chunks/{location-mutation-tfdq7ztr.js → shell-yxq5295s.js} +29 -29
  285. package/dist/chunks/{location-mutation-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{location-mutation-29x78va6.js → shell-z63w68vq.js} +6 -6
  287. package/dist/chunks/{location-mutation-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{location-mutation-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{location-mutation-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +3 -3
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +80 -80
  294. package/dist/config/discovery.js +80 -80
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +116 -116
  298. package/dist/config/plugin/command.js +208 -208
  299. package/dist/config/plugin/compaction.js +156 -156
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +118 -118
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +86 -86
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +115 -115
  307. package/dist/config/plugin/provider.js +114 -114
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +117 -117
  310. package/dist/config/plugin/skill-file.js +98 -98
  311. package/dist/config/plugin/skill.js +135 -135
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +116 -116
  314. package/dist/config/plugin/tool-output.js +118 -118
  315. package/dist/config/plugin/websearch.js +114 -114
  316. package/dist/config/plugin/worktree.js +119 -119
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +116 -116
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +84 -84
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +363 -363
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +89 -89
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +91 -91
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +100 -100
  412. package/dist/file-mutation.js +88 -88
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +2 -2
  421. package/dist/filesystem/location-watcher.js +223 -223
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +100 -100
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +11 -11
  426. package/dist/filesystem.js +103 -103
  427. package/dist/form.js +85 -85
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +83 -83
  430. package/dist/generate.js +94 -94
  431. package/dist/git.js +7 -7
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +3 -3
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +354 -354
  456. package/dist/instruction-discovery.js +82 -82
  457. package/dist/instructions/builtins.js +81 -81
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +76 -76
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +129 -129
  465. package/dist/location-mutation.js +100 -100
  466. package/dist/location-service-map.js +82 -82
  467. package/dist/location-services.js +351 -351
  468. package/dist/location.js +83 -83
  469. package/dist/mcp/client.js +87 -87
  470. package/dist/mcp/index.js +96 -96
  471. package/dist/mcp/instructions.js +123 -123
  472. package/dist/mcp/oauth.js +3 -3
  473. package/dist/mcp/stdio.js +86 -86
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +3 -3
  476. package/dist/model-resolver.js +83 -83
  477. package/dist/model.js +6 -6
  478. package/dist/models-dev.js +79 -79
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +81 -81
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +113 -113
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +87 -87
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +98 -98
  489. package/dist/plugin/command.js +95 -95
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +214 -214
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +325 -325
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +76 -76
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +98 -98
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/alibaba.js +2 -2
  501. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  502. package/dist/plugin/provider/anthropic.js +2 -2
  503. package/dist/plugin/provider/azure.js +119 -119
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +115 -115
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +116 -116
  519. package/dist/plugin/provider/mistral.js +2 -2
  520. package/dist/plugin/provider/modal.js +80 -80
  521. package/dist/plugin/provider/nvidia.js +2 -2
  522. package/dist/plugin/provider/ollama.js +116 -116
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +79 -79
  525. package/dist/plugin/provider/opencode.js +80 -80
  526. package/dist/plugin/provider/openrouter.js +3 -3
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +3 -3
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +2 -2
  534. package/dist/plugin/provider/vllm.js +118 -118
  535. package/dist/plugin/provider/xai.js +78 -78
  536. package/dist/plugin/provider/zenmux.js +2 -2
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +73 -73
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +134 -134
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +342 -342
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +4 -4
  545. package/dist/plugin/vcs/git.js +83 -83
  546. package/dist/plugin/vcs/hg.js +83 -83
  547. package/dist/plugin/warming.js +113 -113
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +8 -8
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin.js +225 -225
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +84 -84
  558. package/dist/provider.js +7 -7
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +95 -95
  563. package/dist/reference/instructions.js +85 -85
  564. package/dist/reference.js +87 -87
  565. package/dist/repository-cache.js +77 -77
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +94 -94
  569. package/dist/rpc.js +82 -82
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +128 -128
  573. package/dist/session/context.js +146 -146
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +214 -214
  578. package/dist/session/execution.js +125 -125
  579. package/dist/session/generate.js +149 -149
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +87 -87
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +93 -93
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +112 -112
  589. package/dist/session/model-transport.js +3 -3
  590. package/dist/session/move.js +123 -123
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +101 -101
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +86 -86
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +87 -87
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +111 -111
  602. package/dist/session/runner/step.js +120 -120
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +168 -168
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +99 -99
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +206 -206
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +148 -148
  615. package/dist/session/to-session-error.js +108 -108
  616. package/dist/session/transfer.js +210 -210
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +210 -210
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +11 -11
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +99 -99
  626. package/dist/skill.js +108 -108
  627. package/dist/snapshot.js +89 -89
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +120 -120
  632. package/dist/tool/plugin/edit.js +116 -116
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +121 -121
  635. package/dist/tool/plugin/grep.js +119 -119
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +118 -118
  638. package/dist/tool/plugin/question.js +97 -97
  639. package/dist/tool/plugin/read.js +120 -120
  640. package/dist/tool/plugin/shell.js +211 -211
  641. package/dist/tool/plugin/skill.js +109 -109
  642. package/dist/tool/plugin/subagent.js +215 -215
  643. package/dist/tool/plugin/webfetch.js +108 -108
  644. package/dist/tool/plugin/websearch.js +108 -108
  645. package/dist/tool/plugin/write.js +118 -118
  646. package/dist/tool/read-filesystem.js +97 -97
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +6 -6
  649. package/dist/tool.js +13 -13
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +3 -3
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +3 -3
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +4 -4
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +1 -1
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +86 -86
  677. package/dist/websearch.js +81 -81
  678. package/dist/wellknown/plugin.js +75 -75
  679. package/dist/wellknown.js +78 -78
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +79 -79
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +5 -5
  685. package/dist/worktree/refresh.js +343 -343
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree.js +90 -90
  688. package/package.json +8 -8
  689. package/dist/chunks/location-mutation-6anyb8h7.js +0 -247
  690. package/dist/chunks/location-mutation-hxa7m5za.js +0 -4
  691. package/dist/chunks/location-mutation-pf31ssb9.js +0 -18
  692. package/dist/chunks/location-mutation-w0hyv3ry.js +0 -22
  693. package/dist/chunks/location-mutation-x8eemgzv.js +0 -462
  694. /package/dist/chunks/{location-mutation-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{location-mutation-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{location-mutation-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{location-mutation-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{location-mutation-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{location-mutation-2710q6r3.js → shell-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{location-mutation-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{location-mutation-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{location-mutation-359p4xyc.js → shell-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{location-mutation-3asan66x.js → shell-3asan66x.js} +0 -0
  704. /package/dist/chunks/{location-mutation-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{location-mutation-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{location-mutation-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{location-mutation-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{location-mutation-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{location-mutation-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{location-mutation-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{location-mutation-53557ph1.js → shell-53557ph1.js} +0 -0
  712. /package/dist/chunks/{location-mutation-550bvhaj.js → shell-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{location-mutation-6prwharc.js → shell-6prwharc.js} +0 -0
  714. /package/dist/chunks/{location-mutation-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{location-mutation-7m9af43g.js → shell-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{location-mutation-822emrt2.js → shell-822emrt2.js} +0 -0
  717. /package/dist/chunks/{location-mutation-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{location-mutation-8n3pysct.js → shell-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{location-mutation-922hggd3.js → shell-922hggd3.js} +0 -0
  720. /package/dist/chunks/{location-mutation-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{location-mutation-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{location-mutation-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{location-mutation-af5trqkr.js → shell-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{location-mutation-afrmfg78.js → shell-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{location-mutation-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{location-mutation-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{location-mutation-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{location-mutation-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{location-mutation-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{location-mutation-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{location-mutation-d9fn303g.js → shell-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{location-mutation-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{location-mutation-dajrwvna.js → shell-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{location-mutation-dap0rakb.js → shell-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{location-mutation-df08tz66.js → shell-df08tz66.js} +0 -0
  736. /package/dist/chunks/{location-mutation-dy18nga0.js → shell-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{location-mutation-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{location-mutation-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{location-mutation-ec1grn59.js → shell-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{location-mutation-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{location-mutation-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{location-mutation-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{location-mutation-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{location-mutation-faypxj3z.js → shell-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{location-mutation-fd410y7t.js → shell-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{location-mutation-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{location-mutation-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{location-mutation-g86h250q.js → shell-g86h250q.js} +0 -0
  749. /package/dist/chunks/{location-mutation-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{location-mutation-gftt206x.js → shell-gftt206x.js} +0 -0
  751. /package/dist/chunks/{location-mutation-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  752. /package/dist/chunks/{location-mutation-hk9envan.js → shell-hk9envan.js} +0 -0
  753. /package/dist/chunks/{location-mutation-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
  754. /package/dist/chunks/{location-mutation-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{location-mutation-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{location-mutation-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{location-mutation-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{location-mutation-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{location-mutation-mp448xyj.js → shell-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{location-mutation-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{location-mutation-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{location-mutation-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{location-mutation-njntx4h6.js → shell-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{location-mutation-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{location-mutation-q74kybfr.js → shell-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{location-mutation-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{location-mutation-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{location-mutation-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{location-mutation-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{location-mutation-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{location-mutation-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{location-mutation-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{location-mutation-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{location-mutation-twg0f83k.js → shell-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{location-mutation-w803qqfp.js → shell-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{location-mutation-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{location-mutation-wtztk69x.js → shell-wtztk69x.js} +0 -0
  778. /package/dist/chunks/{location-mutation-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  779. /package/dist/chunks/{location-mutation-x61499pn.js → shell-x61499pn.js} +0 -0
  780. /package/dist/chunks/{location-mutation-y44na4kk.js → shell-y44na4kk.js} +0 -0
  781. /package/dist/chunks/{location-mutation-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  782. /package/dist/chunks/{location-mutation-y8f7s663.js → shell-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{location-mutation-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{location-mutation-ym463w8f.js → shell-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{location-mutation-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-mutation-d3m4r55y.js";
3
+ } from "./shell-pe83jqzf.js";
4
4
  import {
5
5
  call2
6
- } from "./location-mutation-mfqp6xfm.js";
6
+ } from "./shell-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
- } from "./location-mutation-9rqn6x4v.js";
9
+ } from "./shell-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin24,
14
+ Plugin: () => Plugin32,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin24 = define({
40
+ var Plugin32 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin24 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin24 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint4, Plugin24, exports_firecrawl };
80
+ export { endpoint2, Plugin32, exports_firecrawl };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service76
3
- } from "./location-mutation-agmzpsk8.js";
2
+ Service73
3
+ } from "./shell-0gm9s4gg.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2,
9
9
  chunksByFile2
10
- } from "./location-mutation-tazgh4e4.js";
10
+ } from "./shell-tazgh4e4.js";
11
11
  import {
12
12
  DiffError2
13
- } from "./location-mutation-g6475k52.js";
13
+ } from "./shell-191q2am9.js";
14
14
  import {
15
15
  __export
16
- } from "./location-mutation-9rqn6x4v.js";
16
+ } from "./shell-9rqn6x4v.js";
17
17
 
18
18
  // src/plugin/vcs/git.ts
19
19
  var exports_git = {};
20
20
  __export(exports_git, {
21
- Plugin: () => Plugin20,
21
+ Plugin: () => Plugin36,
22
22
  VcsGitPlugin: () => exports_git
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { Effect } from "effect";
26
26
  import { ChildProcess } from "effect/unstable/process";
27
27
  import { AppProcess } from "@opencode/util/process";
28
- var Plugin20 = define({
28
+ var Plugin36 = define({
29
29
  id: "opencode.vcs.git",
30
30
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
31
- const location = yield* Service76;
31
+ const location = yield* Service73;
32
32
  if (location.vcs?.type !== "git")
33
33
  return;
34
34
  const processes = yield* AppProcess.Service;
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
467
467
  return yield* diffAgainstRef(ctx, ref, options);
468
468
  });
469
469
 
470
- export { Plugin20, exports_git };
470
+ export { Plugin36, exports_git };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-mutation-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
- Service76
6
- } from "./location-mutation-agmzpsk8.js";
5
+ Service73
6
+ } from "./shell-0gm9s4gg.js";
7
7
  import {
8
- Service60
9
- } from "./location-mutation-j6efsrek.js";
8
+ Service61
9
+ } from "./shell-ycbn6r48.js";
10
10
  import {
11
- Service40
12
- } from "./location-mutation-eqzc4rd8.js";
11
+ Service44
12
+ } from "./shell-jmm61hn9.js";
13
13
  import {
14
14
  observe2
15
- } from "./location-mutation-qsdy395h.js";
15
+ } from "./shell-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./location-mutation-9rqn6x4v.js";
18
+ } from "./shell-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin11
24
+ Plugin: () => Plugin8
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin11 = define({
30
+ var Plugin8 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service60;
34
- const location = yield* Service76;
33
+ const config = yield* Service61;
34
+ const location = yield* Service73;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service40;
36
+ const worktrees = yield* Service44;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin11 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin11, exports_worktree };
51
+ export { Plugin8, exports_worktree };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-mutation-922hggd3.js";
4
+ } from "./shell-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service78,
9
- node83
10
- } from "./location-mutation-jefma2gq.js";
8
+ Service75,
9
+ node80
10
+ } from "./shell-yjqv8qmq.js";
11
11
  import {
12
- Service76,
13
- node81
14
- } from "./location-mutation-agmzpsk8.js";
12
+ Service73,
13
+ node78
14
+ } from "./shell-0gm9s4gg.js";
15
15
  import {
16
16
  create3
17
- } from "./location-mutation-kg06axw8.js";
17
+ } from "./shell-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./location-mutation-9rqn6x4v.js";
20
+ } from "./shell-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID3,
27
- Service: () => Service31,
25
+ Error: () => Error4,
26
+ ID: () => ID4,
27
+ Service: () => Service46,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node35,
30
- noopLayer: () => noopLayer2
29
+ node: () => node49,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID3 } from "@opencode/schema/snapshot";
37
+ import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service31 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service46 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service31, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
50
+ const git = yield* Service75;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service73;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID3.make(yield* git.tree.capture({
85
+ return ID4.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
122
122
  for (const [file, snapshot] of input.files) {
123
123
  const absolute = path.resolve(worktree, file);
124
124
  if (!FSUtil.contains(worktree, absolute))
125
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
125
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
126
126
  files.set(file, TreeID2.make(snapshot));
127
127
  }
128
128
  return files;
129
129
  });
130
130
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
131
131
  if (!enabled())
132
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
132
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
133
133
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
134
134
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
135
135
  });
136
- return Service31.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
136
+ return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
137
137
  }).pipe(Effect.withSpan("Snapshot.boot")));
138
- var node35 = makeLocationNode({
139
- service: Service31,
138
+ var node49 = makeLocationNode({
139
+ service: Service46,
140
140
  layer,
141
- deps: [FSUtil.node, node83, Global.node, node81]
141
+ deps: [FSUtil.node, node80, Global.node, node78]
142
142
  });
143
- var noopLayer2 = Layer.succeed(Service31, Service31.of({
143
+ var noopLayer3 = Layer.succeed(Service46, Service46.of({
144
144
  transform: () => Effect.succeed({ dispose: Effect.void }),
145
145
  reload: () => Effect.void,
146
146
  capture: () => Effect.undefined,
@@ -149,13 +149,13 @@ var noopLayer2 = Layer.succeed(Service31, Service31.of({
149
149
  restore: () => Effect.void
150
150
  }));
151
151
  function failure(operation, cause) {
152
- if (cause instanceof Error2 && cause.operation === operation)
152
+ if (cause instanceof Error4 && cause.operation === operation)
153
153
  return cause;
154
- return new Error2({
154
+ return new Error4({
155
155
  operation,
156
156
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
157
157
  cause
158
158
  });
159
159
  }
160
160
 
161
- export { ID3, Error2, Service31, node35, noopLayer2, exports_snapshot2 };
161
+ export { ID4, Error4, Service46, node49, noopLayer3, exports_snapshot2 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./location-mutation-4hzrtyw9.js";
4
+ } from "./shell-gm14zrge.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./location-mutation-89w2cmtz.js";
8
+ } from "./shell-nsnmc6vq.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-mutation-pknna89w.js";
11
+ } from "./shell-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-mutation-0q0f95c6.js";
14
+ } from "./shell-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./location-mutation-9rqn6x4v.js";
17
+ } from "./shell-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event18,
24
- ID: () => ID13,
25
- Info: () => Info27,
26
- Key: () => Key4,
23
+ Event: () => Event15,
24
+ ID: () => ID11,
25
+ Info: () => Info25,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service70,
28
+ Service: () => Service67,
29
29
  Value: () => Value2,
30
- node: () => node74
30
+ node: () => node71
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID13 = Credential.ID;
37
+ var ID11 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event18 = Credential.Event;
41
+ var Event15 = Credential.Event;
42
42
 
43
- class Info27 extends Schema.Class("Credential.Info")({
44
- id: ID13,
43
+ class Info25 extends Schema.Class("Credential.Info")({
44
+ id: ID11,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service70 extends Context.Service()("@opencode/Credential") {
51
+ class Service67 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service70, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
54
54
  const db = (yield* Service80).db;
55
55
  const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info27({
60
+ return new Info25({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service70.of({
71
+ return Service67.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info27({
80
- id: ID13.create(),
79
+ const credential = new Info25({
80
+ id: ID11.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event18.Updated, {}, { global: true });
105
- yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event15.Updated, {}, { global: true });
105
+ yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event18.Updated, {}, { global: true });
157
+ yield* bus.publish(Event15.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event18.Updated, {}, { global: true });
190
+ yield* bus.publish(Event15.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node74 = makeGlobalNode({ service: Service70, layer, deps: [node85, node84] });
196
+ var node71 = makeGlobalNode({ service: Service67, layer, deps: [node85, node84] });
197
197
 
198
- export { ID13, OAuth3, Key4, Value2, Event18, Info27, Service70, node74, exports_credential };
198
+ export { ID11, OAuth3, Key3, Value2, Event15, Info25, Service67, node71, exports_credential };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./location-mutation-89w2cmtz.js";
4
+ } from "./shell-nsnmc6vq.js";
5
5
  import {
6
6
  create3
7
- } from "./location-mutation-kg06axw8.js";
7
+ } from "./shell-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./location-mutation-9rqn6x4v.js";
10
+ } from "./shell-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event8,
16
+ Event: () => Event13,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info10,
18
+ Info: () => Info11,
19
19
  NotFoundError: () => NotFoundError5,
20
- Service: () => Service47,
21
- layer: () => layer20,
22
- node: () => node51
20
+ Service: () => Service56,
21
+ layer: () => layer21,
22
+ node: () => node59
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event8 } from "@opencode/schema/command";
28
- var Info10 = Command.Info;
27
+ import { Event as Event13 } from "@opencode/schema/command";
28
+ var Info11 = Command.Info;
29
29
 
30
30
  class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service47 extends Context.Service()("@opencode/Command") {
42
+ class Service56 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer20 = Layer.effect(Service47, Effect.gen(function* () {
44
+ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
45
45
  const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service47, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info10.make({
54
+ const info = (definition) => Info11.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service47.of({
58
+ return Service56.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -71,9 +71,9 @@ var layer20 = Layer.effect(Service47, Effect.gen(function* () {
71
71
  })
72
72
  });
73
73
  }));
74
- var node51 = makeLocationNode({
75
- service: Service47,
76
- layer: layer20,
74
+ var node59 = makeLocationNode({
75
+ service: Service56,
76
+ layer: layer21,
77
77
  deps: [node84]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info10, NotFoundError5, ExecutionError2, Service47, layer20, node51, exports_command4, Event8 };
89
+ export { Info11, NotFoundError5, ExecutionError2, Service56, layer21, node59, exports_command4, Event13 };