@opencode/core 0.0.0-dev-20398 → 0.0.0-dev-20399

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{workspace-t5e8vxk8.js → state-026a3pxx.js} +11 -11
  8. package/dist/chunks/{workspace-c30fjtmk.js → state-030jzqrs.js} +1 -1
  9. package/dist/chunks/{workspace-zcrspsvn.js → state-06x8he3q.js} +4 -4
  10. package/dist/chunks/{workspace-dq13ryft.js → state-0awtbsan.js} +11 -11
  11. package/dist/chunks/{workspace-4ns3h2re.js → state-0bsghn5e.js} +6 -6
  12. package/dist/chunks/{workspace-ak5a0kzr.js → state-0j6y2kgk.js} +11 -11
  13. package/dist/chunks/{workspace-qp5p97xj.js → state-0p4abda4.js} +5 -5
  14. package/dist/chunks/{workspace-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{workspace-ewphfzst.js → state-0wev32e0.js} +24 -24
  16. package/dist/chunks/{workspace-r8xr0va3.js → state-1acjjqhc.js} +4 -4
  17. package/dist/chunks/{workspace-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{workspace-738rsaaz.js → state-1fw2a5v8.js} +19 -19
  19. package/dist/chunks/{workspace-nqj0vx7j.js → state-1rfara83.js} +20 -20
  20. package/dist/chunks/{workspace-21r38tys.js → state-21r38tys.js} +1 -1
  21. package/dist/chunks/{workspace-7k7w0t17.js → state-22t6ymqa.js} +7 -7
  22. package/dist/chunks/{workspace-z63w68vq.js → state-29x78va6.js} +6 -6
  23. package/dist/chunks/{workspace-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{workspace-0jwsre1p.js → state-2k8khapm.js} +5 -5
  25. package/dist/chunks/{workspace-0z0w1t4g.js → state-325vrkv0.js} +5 -5
  26. package/dist/chunks/{workspace-4cr8wbhv.js → state-32s37th8.js} +37 -37
  27. package/dist/chunks/{workspace-hekxc47r.js → state-3556dn8t.js} +1 -1
  28. package/dist/chunks/{workspace-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  29. package/dist/chunks/{workspace-27dwx68b.js → state-3h8f8rgq.js} +15 -15
  30. package/dist/chunks/{workspace-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{workspace-fypr1q1t.js → state-3hts4nh5.js} +26 -26
  32. package/dist/chunks/{workspace-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  33. package/dist/chunks/{workspace-5nrew705.js → state-3tt1qkhr.js} +5 -5
  34. package/dist/chunks/{workspace-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{workspace-tr1cfvfg.js → state-3w4da0bf.js} +14 -14
  36. package/dist/chunks/{workspace-122c8bx5.js → state-3wtv5frj.js} +19 -19
  37. package/dist/chunks/{workspace-245saxk8.js → state-3xkzbdqd.js} +6 -6
  38. package/dist/chunks/{workspace-3zsf4n22.js → state-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{workspace-v1rn53eg.js → state-41h2mdr0.js} +32 -32
  40. package/dist/chunks/{workspace-dxgt103c.js → state-4238gvvk.js} +24 -24
  41. package/dist/chunks/{workspace-697fm79x.js → state-44pdqs77.js} +4 -4
  42. package/dist/chunks/{workspace-hg58jcw8.js → state-475vsxfq.js} +13 -13
  43. package/dist/chunks/{workspace-2vtrv38s.js → state-4wgy5v9e.js} +38 -38
  44. package/dist/chunks/{workspace-p6wxjpka.js → state-4z58m4b4.js} +4 -4
  45. package/dist/chunks/{workspace-warqdzak.js → state-518c5t7m.js} +8 -8
  46. package/dist/chunks/{workspace-aam5c1df.js → state-53t1r0k7.js} +41 -41
  47. package/dist/chunks/{workspace-54ma36ye.js → state-54ma36ye.js} +1 -1
  48. package/dist/chunks/{workspace-56gdpj1q.js → state-56gdpj1q.js} +2 -2
  49. package/dist/chunks/{workspace-57ez7d0k.js → state-57ez7d0k.js} +2 -2
  50. package/dist/chunks/{workspace-5kr27125.js → state-5d6rpvta.js} +27 -27
  51. package/dist/chunks/{workspace-5daktx2q.js → state-5daktx2q.js} +1 -1
  52. package/dist/chunks/{workspace-m6tdyvh6.js → state-5ptk6qrn.js} +317 -317
  53. package/dist/chunks/{workspace-thqfxy9w.js → state-5stztzc8.js} +24 -24
  54. package/dist/chunks/{workspace-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{workspace-ch8df2z8.js → state-5t6w898y.js} +10 -10
  56. package/dist/chunks/{workspace-2mhsvxbb.js → state-5xpznt2d.js} +4 -4
  57. package/dist/chunks/{workspace-b72fdrh6.js → state-5ynfe8h2.js} +180 -180
  58. package/dist/chunks/{workspace-a6mtbseh.js → state-63jfhv3x.js} +23 -23
  59. package/dist/chunks/{workspace-669tq793.js → state-669tq793.js} +1 -1
  60. package/dist/chunks/{workspace-q3t37ft6.js → state-6bsje7ws.js} +3 -3
  61. package/dist/chunks/{workspace-taeb6eb9.js → state-6h3ncj6c.js} +22 -22
  62. package/dist/chunks/{workspace-75my1bc5.js → state-6h3wybc7.js} +6 -6
  63. package/dist/chunks/{workspace-zn8qcmnt.js → state-6j71bdrn.js} +4 -4
  64. package/dist/chunks/{workspace-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{workspace-k50n3d3f.js → state-6s6k8698.js} +10 -10
  66. package/dist/chunks/{workspace-2c6xdacb.js → state-6t6v3d0p.js} +13 -13
  67. package/dist/chunks/{workspace-3b75yfvt.js → state-6zma4dqp.js} +8 -8
  68. package/dist/chunks/{workspace-zgh2pzwp.js → state-76x0exek.js} +7 -7
  69. package/dist/chunks/{workspace-4y1c62rq.js → state-7a5vwq9w.js} +11 -11
  70. package/dist/chunks/{workspace-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{workspace-9xqfwyza.js → state-7dabebq9.js} +20 -20
  72. package/dist/chunks/{workspace-7pr2hkwv.js → state-7pr2hkwv.js} +2 -2
  73. package/dist/chunks/{workspace-99xay3p1.js → state-7rwqf82v.js} +8 -8
  74. package/dist/chunks/{workspace-mvfsc1pv.js → state-7yh4e7ss.js} +3 -3
  75. package/dist/chunks/{workspace-35agz59w.js → state-7yqjxrmz.js} +6 -6
  76. package/dist/chunks/{workspace-xhz7tg1z.js → state-82nf7ed8.js} +19 -19
  77. package/dist/chunks/{workspace-84txncab.js → state-84txncab.js} +1 -1
  78. package/dist/chunks/{workspace-kryhrpz7.js → state-8ckcg3zf.js} +9 -9
  79. package/dist/chunks/{workspace-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{workspace-7g4kvh3x.js → state-8rnn6t2g.js} +21 -21
  81. package/dist/chunks/state-92scpske.js +26 -0
  82. package/dist/chunks/{workspace-94ek1h2f.js → state-94ek1h2f.js} +2 -2
  83. package/dist/chunks/{workspace-pytdjp30.js → state-9cc4b95v.js} +8 -8
  84. package/dist/chunks/{workspace-yhmwmrwb.js → state-9ehh8z5c.js} +1 -1
  85. package/dist/chunks/{workspace-kv92sdth.js → state-9g1bwmtd.js} +35 -35
  86. package/dist/chunks/{workspace-jt5815wc.js → state-9n655km2.js} +8 -8
  87. package/dist/chunks/state-9sh4wc5j.js +18 -0
  88. package/dist/chunks/{workspace-s0519hxg.js → state-9tsamph0.js} +25 -25
  89. package/dist/chunks/{workspace-g82dv60p.js → state-a1cedfep.js} +16 -16
  90. package/dist/chunks/{workspace-3d6gr008.js → state-a8k20txy.js} +8 -8
  91. package/dist/chunks/{workspace-aaet6srn.js → state-aaet6srn.js} +2 -2
  92. package/dist/chunks/{workspace-zjab1yz4.js → state-an0fjdax.js} +25 -25
  93. package/dist/chunks/{workspace-zk6h3hj4.js → state-anz1zs5v.js} +30 -30
  94. package/dist/chunks/{workspace-x1ge6kzr.js → state-aqxjtcsj.js} +11 -11
  95. package/dist/chunks/{workspace-hkfg6fzm.js → state-avm8jn6n.js} +5 -5
  96. package/dist/chunks/{workspace-e8qyrgb1.js → state-axs6pdy0.js} +5 -5
  97. package/dist/chunks/{workspace-9v95v08b.js → state-b3x448qn.js} +18 -18
  98. package/dist/chunks/{workspace-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{workspace-p2wfcwv1.js → state-b8vgw5fj.js} +12 -12
  100. package/dist/chunks/{workspace-wawkv6gp.js → state-b9tbzjbv.js} +13 -13
  101. package/dist/chunks/{workspace-k8e0krnc.js → state-bdqrk2vk.js} +8 -8
  102. package/dist/chunks/{workspace-rpmx6jxk.js → state-bvgg99d4.js} +10 -10
  103. package/dist/chunks/{workspace-v7j0gsse.js → state-bwa7sjpv.js} +5 -5
  104. package/dist/chunks/{workspace-mhy3cpmb.js → state-byw7mfcf.js} +30 -30
  105. package/dist/chunks/{workspace-4ggv27af.js → state-c2qp786d.js} +16 -16
  106. package/dist/chunks/{workspace-mvp6y4kk.js → state-c7rpvq7c.js} +32 -32
  107. package/dist/chunks/{workspace-vtvmnt90.js → state-cbjpdsvm.js} +44 -44
  108. package/dist/chunks/{workspace-paqa39xc.js → state-cc9yd0np.js} +17 -17
  109. package/dist/chunks/{workspace-cfsekr6v.js → state-cfsekr6v.js} +2 -2
  110. package/dist/chunks/{workspace-rvc96174.js → state-cgpscxj9.js} +20 -20
  111. package/dist/chunks/{workspace-r7ztjfc2.js → state-chasyyfh.js} +32 -32
  112. package/dist/chunks/{workspace-ckecvw8r.js → state-ckecvw8r.js} +2 -2
  113. package/dist/chunks/{workspace-yndndv21.js → state-cm2g4gk6.js} +17 -17
  114. package/dist/chunks/{workspace-tx9w5tca.js → state-cmmdg65p.js} +8 -8
  115. package/dist/chunks/{workspace-k8avv2s0.js → state-cp8b7tfh.js} +4 -4
  116. package/dist/chunks/{workspace-gbqnf5k7.js → state-crbh5ayy.js} +17 -17
  117. package/dist/chunks/{workspace-s4ba1b0c.js → state-cv56zjsy.js} +18 -18
  118. package/dist/chunks/{workspace-cwa6csj7.js → state-cwa6csj7.js} +2 -2
  119. package/dist/chunks/{workspace-wdd9v9bw.js → state-cwjmqj7d.js} +16 -16
  120. package/dist/chunks/{workspace-3305wtrr.js → state-d1fv27qq.js} +30 -30
  121. package/dist/chunks/{workspace-96qgkd05.js → state-d1xrdev2.js} +26 -26
  122. package/dist/chunks/{workspace-qygg07zd.js → state-d3nanzm1.js} +11 -11
  123. package/dist/chunks/{workspace-vjrpt9yw.js → state-d72h0ct2.js} +21 -21
  124. package/dist/chunks/{workspace-5vdg2x0v.js → state-d8nxzx5d.js} +17 -17
  125. package/dist/chunks/{workspace-h2r7bbkd.js → state-dhwr7h25.js} +11 -11
  126. package/dist/chunks/{workspace-dpkg50ah.js → state-dpkg50ah.js} +1 -1
  127. package/dist/chunks/{workspace-dmc329ks.js → state-dt3wvx3f.js} +25 -25
  128. package/dist/chunks/{workspace-23sq09vy.js → state-dwsv6nwq.js} +43 -43
  129. package/dist/chunks/{workspace-b50hafd3.js → state-e1d45rdw.js} +12 -12
  130. package/dist/chunks/{workspace-5qd3pb7m.js → state-e3qxr5gk.js} +2 -2
  131. package/dist/chunks/{workspace-evmfndqz.js → state-e6jwgc59.js} +25 -25
  132. package/dist/chunks/{workspace-mm5kxf07.js → state-e7710hd6.js} +8 -8
  133. package/dist/chunks/{workspace-jsg2wve5.js → state-e9akvjhf.js} +32 -32
  134. package/dist/chunks/{workspace-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{workspace-5r761qw1.js → state-emfaaa2t.js} +9 -9
  136. package/dist/chunks/{workspace-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{workspace-a1v7f3fw.js → state-etzxwssw.js} +45 -45
  138. package/dist/chunks/{workspace-5c4e2x2v.js → state-eyh1y9f4.js} +3 -3
  139. package/dist/chunks/{workspace-8cawbmvz.js → state-f9h36e2w.js} +18 -18
  140. package/dist/chunks/{workspace-ss2j0gq0.js → state-f9wz3e2s.js} +12 -12
  141. package/dist/chunks/{workspace-jca4demv.js → state-ff0svapt.js} +2 -2
  142. package/dist/chunks/{workspace-33t45k4a.js → state-fgprdtmf.js} +25 -25
  143. package/dist/chunks/{workspace-51rntths.js → state-fh2tfnch.js} +22 -22
  144. package/dist/chunks/{workspace-jvvc3tfq.js → state-fhff0x2d.js} +9 -9
  145. package/dist/chunks/{workspace-jfqtm2ew.js → state-fm2qvscf.js} +4 -4
  146. package/dist/chunks/{workspace-894m2vq6.js → state-fsyf11as.js} +4 -4
  147. package/dist/chunks/{workspace-tqsskj3t.js → state-g1ced42j.js} +22 -22
  148. package/dist/chunks/{workspace-g5w8qwbj.js → state-g5w8qwbj.js} +1 -1
  149. package/dist/chunks/{workspace-zpbhtbqv.js → state-g6yxzqxx.js} +17 -17
  150. package/dist/chunks/{workspace-qzys3dnp.js → state-g82hej27.js} +3 -3
  151. package/dist/chunks/{workspace-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{workspace-rw3f779p.js → state-gnwckkcb.js} +20 -20
  153. package/dist/chunks/{workspace-mks331qt.js → state-gptt3tzt.js} +15 -15
  154. package/dist/chunks/{workspace-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{workspace-6shy949s.js → state-gwdrm622.js} +10 -10
  156. package/dist/chunks/{workspace-cmr3nb6d.js → state-gwna2mhe.js} +11 -11
  157. package/dist/chunks/{workspace-x661k3y3.js → state-gx3a42a4.js} +4 -4
  158. package/dist/chunks/{workspace-pwhppv0e.js → state-gz4t4j50.js} +15 -15
  159. package/dist/chunks/{workspace-smk58g8k.js → state-h1yrgtr6.js} +24 -24
  160. package/dist/chunks/{workspace-8afn5zk0.js → state-h2aqvaqe.js} +11 -11
  161. package/dist/chunks/{workspace-tg4bq6gr.js → state-h6bjgbqg.js} +17 -17
  162. package/dist/chunks/{workspace-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{workspace-t5cp6m04.js → state-h73fwzy4.js} +9 -9
  164. package/dist/chunks/{workspace-arj7qem0.js → state-hbjnfksx.js} +10 -10
  165. package/dist/chunks/{workspace-2jtqe833.js → state-hgzmshwk.js} +30 -30
  166. package/dist/chunks/{workspace-yjptyezs.js → state-hnr5yq9h.js} +5 -5
  167. package/dist/chunks/{workspace-n561mkdf.js → state-hqqvrbf6.js} +5 -5
  168. package/dist/chunks/{workspace-qcjzmq4b.js → state-hsr4f390.js} +20 -20
  169. package/dist/chunks/{workspace-52x1cz85.js → state-j3d0563g.js} +85 -85
  170. package/dist/chunks/{workspace-j56e64zr.js → state-j56e64zr.js} +1 -1
  171. package/dist/chunks/{workspace-jewzahs7.js → state-jewzahs7.js} +1 -1
  172. package/dist/chunks/{workspace-6h0z1vpb.js → state-jgt16j01.js} +19 -19
  173. package/dist/chunks/{workspace-3x20xq07.js → state-jhb9dspf.js} +11 -11
  174. package/dist/chunks/{workspace-sppajst8.js → state-jj6avjan.js} +40 -40
  175. package/dist/chunks/{workspace-d5f8rd6t.js → state-jp4bxf0b.js} +48 -48
  176. package/dist/chunks/{workspace-3bzv13zg.js → state-jvp68s7q.js} +32 -32
  177. package/dist/chunks/{workspace-e11kraf3.js → state-jxebx42g.js} +37 -37
  178. package/dist/chunks/{workspace-gv0mwn3q.js → state-jytterhh.js} +4 -4
  179. package/dist/chunks/{workspace-td3fvbar.js → state-jzgb5xky.js} +13 -13
  180. package/dist/chunks/{workspace-6ez112yd.js → state-k1yhx0mf.js} +20 -20
  181. package/dist/chunks/{workspace-k3c624dm.js → state-k3c624dm.js} +3 -3
  182. package/dist/chunks/{workspace-h14pazmc.js → state-k5ghjtzv.js} +24 -24
  183. package/dist/chunks/{workspace-ccf7kcsf.js → state-ka9kg3q0.js} +36 -36
  184. package/dist/chunks/{workspace-byvjn8kr.js → state-kb4we5bm.js} +11 -11
  185. package/dist/chunks/{workspace-bjmm23yr.js → state-kg9rvkrr.js} +26 -26
  186. package/dist/chunks/{workspace-eb9tee3h.js → state-kkpyfm5t.js} +32 -32
  187. package/dist/chunks/{workspace-2zv0d058.js → state-kmy8da6b.js} +12 -12
  188. package/dist/chunks/{workspace-rf8vhkya.js → state-kn5am6yy.js} +44 -44
  189. package/dist/chunks/{workspace-m3fdjcah.js → state-m3fdjcah.js} +1 -1
  190. package/dist/chunks/{workspace-47dz9eqv.js → state-m48gk93k.js} +12 -12
  191. package/dist/chunks/{workspace-m58kmhef.js → state-m58kmhef.js} +2 -2
  192. package/dist/chunks/{workspace-mgs1xvkz.js → state-m5skzvyv.js} +6 -6
  193. package/dist/chunks/{workspace-gpxtreqh.js → state-m67aag9e.js} +24 -24
  194. package/dist/chunks/{workspace-4dqsm1e1.js → state-m6vzghbm.js} +11 -11
  195. package/dist/chunks/{workspace-0rvehtc6.js → state-m9s7qv8x.js} +32 -32
  196. package/dist/chunks/{workspace-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  197. package/dist/chunks/{workspace-j2m4wjjr.js → state-md2ktbcf.js} +12 -12
  198. package/dist/chunks/{workspace-46ktpsnz.js → state-mxy2bzd7.js} +34 -34
  199. package/dist/chunks/{workspace-2b8hfs1v.js → state-n73fkcwy.js} +11 -11
  200. package/dist/chunks/{workspace-akz6qyqp.js → state-ns8ct35d.js} +29 -29
  201. package/dist/chunks/{workspace-havz0yce.js → state-ns8p33ds.js} +15 -15
  202. package/dist/chunks/{workspace-9hnrqdac.js → state-p77z413r.js} +10 -10
  203. package/dist/chunks/{workspace-8v6pyhej.js → state-pa8pe2x7.js} +8 -8
  204. package/dist/chunks/{workspace-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{workspace-pknna89w.js → state-pknna89w.js} +1 -1
  206. package/dist/chunks/{workspace-m2d0j7c0.js → state-pnv527nz.js} +9 -9
  207. package/dist/chunks/{workspace-szqt16bj.js → state-pr5bwn0j.js} +2 -2
  208. package/dist/chunks/{workspace-4yyewpy4.js → state-pxz53wth.js} +4 -4
  209. package/dist/chunks/{workspace-jwy42cmn.js → state-q5gv92h7.js} +84 -84
  210. package/dist/chunks/{workspace-7bwrdj2h.js → state-q8f45dp9.js} +58 -58
  211. package/dist/chunks/{workspace-dj5x0smg.js → state-qbm7jezs.js} +6 -6
  212. package/dist/chunks/{workspace-p5wwawjr.js → state-qk0w6ykp.js} +3 -3
  213. package/dist/chunks/{workspace-qsdy395h.js → state-qsdy395h.js} +1 -1
  214. package/dist/chunks/{workspace-k13tx3tj.js → state-qvc7rwfe.js} +7 -7
  215. package/dist/chunks/{workspace-kwdkkgzf.js → state-qxz26mk9.js} +45 -45
  216. package/dist/chunks/{workspace-ka502fxe.js → state-r11gfdxy.js} +4 -4
  217. package/dist/chunks/{workspace-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{workspace-9mjcw1x4.js → state-rmyrmc3b.js} +37 -37
  219. package/dist/chunks/{workspace-wvx82hrx.js → state-rwbt1vvv.js} +5 -5
  220. package/dist/chunks/{workspace-f3vdtn1h.js → state-rzke9gk0.js} +51 -51
  221. package/dist/chunks/{workspace-5jxd7zt0.js → state-s2rv4ncm.js} +3 -3
  222. package/dist/chunks/{workspace-ejj9yqdn.js → state-s3cc2cs9.js} +3 -3
  223. package/dist/chunks/{workspace-ma43xv4k.js → state-s41z59kz.js} +24 -24
  224. package/dist/chunks/{workspace-yrznvahk.js → state-s4enseaf.js} +2 -2
  225. package/dist/chunks/{workspace-pzdpchm1.js → state-s72bj1y6.js} +9 -9
  226. package/dist/chunks/{workspace-wv396vej.js → state-s8d7rejh.js} +8 -8
  227. package/dist/chunks/{workspace-m2jam5tg.js → state-sa273yf3.js} +10 -10
  228. package/dist/chunks/{workspace-967vwg2b.js → state-sfn0p3x3.js} +16 -16
  229. package/dist/chunks/{workspace-r8dzz18n.js → state-sm77csgv.js} +3 -3
  230. package/dist/chunks/{workspace-npgtedzw.js → state-spb6tddc.js} +32 -32
  231. package/dist/chunks/{workspace-4mwpykj0.js → state-sxzvkvgj.js} +6 -6
  232. package/dist/chunks/{workspace-y671bed3.js → state-t0r3rek8.js} +3 -3
  233. package/dist/chunks/{workspace-6zf558dq.js → state-t6kcjggt.js} +18 -18
  234. package/dist/chunks/{workspace-r79jpe1g.js → state-tag6x3x4.js} +11 -11
  235. package/dist/chunks/{workspace-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{workspace-89znhe33.js → state-tcezcvh9.js} +4 -4
  237. package/dist/chunks/{workspace-tdstcens.js → state-tdstcens.js} +1 -1
  238. package/dist/chunks/{workspace-tegfh52t.js → state-thkpyy1e.js} +18 -18
  239. package/dist/chunks/{workspace-tvtrv512.js → state-tvtrv512.js} +1 -1
  240. package/dist/chunks/state-txavf3vy.js +252 -0
  241. package/dist/chunks/{workspace-s93payg9.js → state-vajs8ne8.js} +11 -11
  242. package/dist/chunks/{workspace-4h9d6nvh.js → state-vbmd7ks8.js} +6 -6
  243. package/dist/chunks/{workspace-vncycja5.js → state-ve4pfa0n.js} +4 -4
  244. package/dist/chunks/{workspace-veqvce7d.js → state-veqvce7d.js} +1 -1
  245. package/dist/chunks/{workspace-4ddn2pqd.js → state-vfgebdsx.js} +18 -18
  246. package/dist/chunks/{workspace-vpeks556.js → state-vg6qrb8m.js} +24 -24
  247. package/dist/chunks/{workspace-hp08bttr.js → state-vm3v4gr3.js} +13 -13
  248. package/dist/chunks/{workspace-jw80jp6b.js → state-vsp1fds9.js} +21 -21
  249. package/dist/chunks/{workspace-dm6h4s7a.js → state-vz2meb4r.js} +15 -15
  250. package/dist/chunks/{workspace-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{workspace-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{workspace-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{workspace-0ns9p4sx.js → state-w969batc.js} +20 -20
  254. package/dist/chunks/{workspace-wd3x2cqz.js → state-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{workspace-wd87259q.js → state-wd87259q.js} +1 -1
  256. package/dist/chunks/{workspace-p6jnp2a0.js → state-wfwxzv8g.js} +10 -10
  257. package/dist/chunks/{workspace-p1zpfjkz.js → state-wh176n5n.js} +5 -5
  258. package/dist/chunks/{workspace-xa0vpvsx.js → state-wh8p5p12.js} +47 -47
  259. package/dist/chunks/{workspace-4nzreyb4.js → state-wvvff302.js} +11 -11
  260. package/dist/chunks/{workspace-2e7n0e2w.js → state-ww4pz79z.js} +6 -6
  261. package/dist/chunks/{workspace-eyz64kwr.js → state-wyetx6hk.js} +9 -9
  262. package/dist/chunks/{workspace-q9hq8s49.js → state-x1c67pw4.js} +60 -60
  263. package/dist/chunks/{workspace-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{workspace-nhyes091.js → state-xcd3tayp.js} +13 -13
  265. package/dist/chunks/{workspace-32a3yqqf.js → state-xe9sg8zb.js} +11 -11
  266. package/dist/chunks/{workspace-mekbpgjx.js → state-xjtv0ejd.js} +18 -18
  267. package/dist/chunks/{workspace-4tmx85qt.js → state-xk6fmnkg.js} +17 -17
  268. package/dist/chunks/{workspace-xkntkrq7.js → state-xkntkrq7.js} +2 -2
  269. package/dist/chunks/{workspace-z4m3et2k.js → state-xq5cbp2j.js} +9 -9
  270. package/dist/chunks/{workspace-aa3f86tp.js → state-xsd4ddn1.js} +8 -8
  271. package/dist/chunks/{workspace-9dk6zdf2.js → state-xt02y0n1.js} +10 -10
  272. package/dist/chunks/{workspace-eesd84bm.js → state-xt29f2pd.js} +27 -27
  273. package/dist/chunks/{workspace-00akm4dw.js → state-xx0efrt7.js} +8 -8
  274. package/dist/chunks/{workspace-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{workspace-xf8yqmad.js → state-y56ehv6b.js} +9 -9
  276. package/dist/chunks/{workspace-j8m1p4p1.js → state-y5rf7nzv.js} +4 -4
  277. package/dist/chunks/{workspace-j06pf883.js → state-y8t82fx5.js} +12 -12
  278. package/dist/chunks/{workspace-p6sy89ab.js → state-ydhe5npn.js} +36 -36
  279. package/dist/chunks/{workspace-cbedt7wc.js → state-ym7mf8x8.js} +15 -15
  280. package/dist/chunks/{workspace-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{workspace-x2pxz3hd.js → state-yvq8qe6t.js} +17 -17
  282. package/dist/chunks/{workspace-z07pqspn.js → state-z07pqspn.js} +3 -3
  283. package/dist/chunks/{workspace-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{workspace-evbgk2k8.js → state-z3pw5915.js} +5 -5
  285. package/dist/chunks/{workspace-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{workspace-s3adnpjk.js → state-zf62gzsh.js} +5 -5
  287. package/dist/chunks/{workspace-1b4byddg.js → state-zgc61ws8.js} +5 -5
  288. package/dist/chunks/{workspace-h6ag0jgq.js → state-zgzqctvw.js} +11 -11
  289. package/dist/chunks/{workspace-bpjckgqn.js → state-zh8n6fvg.js} +3 -3
  290. package/dist/chunks/{workspace-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{workspace-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{workspace-6ysrkrkr.js → state-zxs6a24a.js} +8 -8
  293. package/dist/chunks/{workspace-bysjjcgg.js → state-zzd0v6bh.js} +16 -16
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +5 -5
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +81 -81
  299. package/dist/config/discovery.js +84 -84
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +213 -213
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +125 -125
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +142 -142
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +124 -124
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +85 -85
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +70 -70
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +2 -2
  427. package/dist/filesystem/location-watcher.js +228 -228
  428. package/dist/filesystem/protected.js +3 -3
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +104 -104
  433. package/dist/form.js +86 -86
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +6 -6
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +91 -91
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +83 -83
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +5 -5
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +89 -89
  467. package/dist/job.js +77 -77
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +89 -89
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +103 -103
  478. package/dist/mcp/instructions.js +129 -129
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +117 -117
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +100 -100
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +1 -1
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +124 -124
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +93 -93
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +137 -137
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +84 -84
  552. package/dist/plugin/vcs/hg.js +84 -84
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +228 -228
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +80 -80
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +99 -99
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +95 -95
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +135 -135
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +222 -222
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +154 -154
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +88 -88
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +230 -230
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +2 -2
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +211 -211
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +151 -151
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +215 -215
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +219 -219
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +105 -105
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +126 -126
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +216 -216
  651. package/dist/tool/plugin/skill.js +107 -107
  652. package/dist/tool/plugin/subagent.js +216 -216
  653. package/dist/tool/plugin/webfetch.js +110 -110
  654. package/dist/tool/plugin/websearch.js +110 -110
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +12 -12
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +93 -93
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +80 -80
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +78 -78
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/workspace-a2qxxydt.js +0 -252
  702. package/dist/chunks/workspace-qc068m1q.js +0 -18
  703. package/dist/chunks/workspace-rwr5atvc.js +0 -26
  704. /package/dist/chunks/{workspace-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{workspace-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{workspace-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{workspace-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{workspace-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{workspace-24dcb14g.js → state-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{workspace-2710q6r3.js → state-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{workspace-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{workspace-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{workspace-34c7v6d4.js → state-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{workspace-359p4xyc.js → state-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{workspace-3asan66x.js → state-3asan66x.js} +0 -0
  716. /package/dist/chunks/{workspace-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{workspace-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{workspace-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{workspace-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{workspace-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{workspace-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{workspace-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{workspace-53557ph1.js → state-53557ph1.js} +0 -0
  724. /package/dist/chunks/{workspace-550bvhaj.js → state-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{workspace-6prwharc.js → state-6prwharc.js} +0 -0
  726. /package/dist/chunks/{workspace-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{workspace-7m9af43g.js → state-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{workspace-822emrt2.js → state-822emrt2.js} +0 -0
  729. /package/dist/chunks/{workspace-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{workspace-8n3pysct.js → state-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{workspace-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{workspace-922hggd3.js → state-922hggd3.js} +0 -0
  733. /package/dist/chunks/{workspace-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{workspace-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{workspace-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{workspace-af5trqkr.js → state-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{workspace-afrmfg78.js → state-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{workspace-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{workspace-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{workspace-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{workspace-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{workspace-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{workspace-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{workspace-d9fn303g.js → state-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{workspace-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{workspace-dajrwvna.js → state-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{workspace-dap0rakb.js → state-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{workspace-df08tz66.js → state-df08tz66.js} +0 -0
  749. /package/dist/chunks/{workspace-dy18nga0.js → state-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{workspace-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{workspace-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{workspace-ec1grn59.js → state-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{workspace-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{workspace-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{workspace-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{workspace-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{workspace-faypxj3z.js → state-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{workspace-fd410y7t.js → state-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{workspace-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{workspace-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{workspace-g86h250q.js → state-g86h250q.js} +0 -0
  762. /package/dist/chunks/{workspace-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{workspace-gftt206x.js → state-gftt206x.js} +0 -0
  764. /package/dist/chunks/{workspace-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{workspace-hk9envan.js → state-hk9envan.js} +0 -0
  766. /package/dist/chunks/{workspace-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{workspace-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{workspace-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{workspace-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{workspace-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{workspace-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{workspace-mp448xyj.js → state-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{workspace-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{workspace-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{workspace-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{workspace-njntx4h6.js → state-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{workspace-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{workspace-q74kybfr.js → state-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{workspace-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{workspace-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{workspace-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{workspace-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{workspace-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{workspace-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{workspace-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{workspace-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{workspace-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{workspace-w803qqfp.js → state-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{workspace-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{workspace-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{workspace-wtztk69x.js → state-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{workspace-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{workspace-x61499pn.js → state-x61499pn.js} +0 -0
  794. /package/dist/chunks/{workspace-y44na4kk.js → state-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{workspace-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{workspace-y8f7s663.js → state-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{workspace-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{workspace-ym463w8f.js → state-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{workspace-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./workspace-922hggd3.js";
3
+ } from "./state-922hggd3.js";
4
4
  import {
5
- Service80,
6
- node84
7
- } from "./workspace-nhyes091.js";
5
+ Service76,
6
+ node80
7
+ } from "./state-xcd3tayp.js";
8
8
  import {
9
- Service71,
10
- node74
11
- } from "./workspace-tr1cfvfg.js";
9
+ Service63,
10
+ node66
11
+ } from "./state-3w4da0bf.js";
12
12
  import {
13
13
  isHome2,
14
- names4
15
- } from "./workspace-89znhe33.js";
14
+ names3
15
+ } from "./state-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./workspace-9rqn6x4v.js";
18
+ } from "./state-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options10,
25
- Service: () => Service70,
26
- configured: () => configured10,
24
+ Options: () => Options6,
25
+ Service: () => Service62,
26
+ configured: () => configured7,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer25,
29
- node: () => node73,
28
+ layer: () => layer22,
29
+ node: () => node65,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options10 = Schema.Struct({
38
+ var Options6 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service70 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service62 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service70, Effect.gen(function* () {
62
- const location = yield* Service80;
63
- const ripgrep = yield* Service71;
61
+ var ripgrepLayer2 = Layer.effect(Service62, Effect.gen(function* () {
62
+ const location = yield* Service76;
63
+ const ripgrep = yield* Service63;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service70, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service70, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service70.of({
108
+ return Service62.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service70, Effect.gen(function* () {
116
- const location = yield* Service80;
115
+ var fffLayer2 = Layer.effect(Service62, Effect.gen(function* () {
116
+ const location = yield* Service76;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service70, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service70.of({
129
+ return Service62.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service70.of({
134
+ return Service62.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service70, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer25 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service80;
177
+ var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service76;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured10(options) {
186
- return makeLocationNode({ service: Service70, layer: layer25(options), deps: [node84, node74] });
185
+ function configured7(options) {
186
+ return makeLocationNode({ service: Service62, layer: layer22(options), deps: [node80, node66] });
187
187
  }
188
- var node73 = configured10();
188
+ var node65 = configured7();
189
189
 
190
- export { Options10, Service70, ripgrepLayer2, fffLayer2, layer25, configured10, node73, exports_search };
190
+ export { Options6, Service62, ripgrepLayer2, fffLayer2, layer22, configured7, node65, exports_search };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./workspace-emrn6kk6.js";
7
+ } from "./state-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID16,
2
+ ID9,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./workspace-ewphfzst.js";
5
+ } from "./state-0wev32e0.js";
6
6
  import {
7
7
  merge2
8
- } from "./workspace-q9hq8s49.js";
8
+ } from "./state-x1c67pw4.js";
9
9
  import {
10
10
  __export
11
- } from "./workspace-9rqn6x4v.js";
11
+ } from "./state-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent2 = {};
15
15
  __export(exports_agent2, {
16
16
  AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin44
17
+ Plugin: () => Plugin49
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin44 = define({
93
+ var Plugin49 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin44 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID16.make("general"), (item) => {
103
+ editor.update(ID9.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID16.make("explore"), (item) => {
109
+ editor.update(ID9.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin44 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID16.make("compaction"), (item) => {
128
+ editor.update(ID9.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID16.make("title"), (item) => {
133
+ editor.update(ID9.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID16.make("summary"), (item) => {
140
+ editor.update(ID9.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin44 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin44, exports_agent2 };
151
+ export { Plugin49, exports_agent2 };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./workspace-ka502fxe.js";
4
+ } from "./state-r11gfdxy.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./workspace-nhyes091.js";
6
+ Service76,
7
+ node80
8
+ } from "./state-xcd3tayp.js";
9
9
  import {
10
- Service62,
10
+ Service70,
11
11
  login2,
12
- node65
13
- } from "./workspace-738rsaaz.js";
12
+ node73
13
+ } from "./state-1fw2a5v8.js";
14
14
  import {
15
15
  lazy2
16
- } from "./workspace-88xbtdfr.js";
16
+ } from "./state-88xbtdfr.js";
17
17
  import {
18
18
  __export
19
- } from "./workspace-9rqn6x4v.js";
19
+ } from "./state-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
- CreateInput: () => CreateInput2,
25
- Event: () => Event2,
24
+ CreateInput: () => CreateInput3,
25
+ Event: () => Event9,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID2,
28
- Info: () => Info2,
29
- NotFoundError: () => NotFoundError2,
27
+ ID: () => ID6,
28
+ Info: () => Info10,
29
+ NotFoundError: () => NotFoundError5,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service13,
31
+ Service: () => Service50,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node15
33
+ node: () => node52
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event2 } from "@opencode/schema/pty";
38
+ import { Event as Event9 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID2 = Pty.ID;
43
- var Info2 = Pty.Info;
44
- var CreateInput2 = Pty.CreateInput;
42
+ var ID6 = Pty.ID;
43
+ var Info10 = Pty.Info;
44
+ var CreateInput3 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID2
47
+ class NotFoundError5 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID6
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID2
53
+ ptyID: ID6
54
54
  }) {
55
55
  }
56
56
 
57
- class Service13 extends Context.Service()("@opencode/Pty") {
57
+ class Service50 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service13, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
60
60
  const bus = yield* Service83;
61
- const location = yield* Service80;
62
- const shell = yield* Service62;
61
+ const location = yield* Service76;
62
+ const shell = yield* Service70;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError2({ ptyID: id });
99
+ return yield* new NotFoundError5({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID2.ascending();
125
+ const id = ID6.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service13.of({ list, get, create, update, remove, write, attach });
270
+ return Service50.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node15 = makeLocationNode({
273
- service: Service13,
272
+ var node52 = makeLocationNode({
273
+ service: Service50,
274
274
  layer,
275
- deps: [node87, node84, node65]
275
+ deps: [node87, node80, node73]
276
276
  });
277
277
 
278
- export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node15, exports_pty, Event2 };
278
+ export { ID6, Info10, CreateInput3, UpdateInput2, NotFoundError5, ExitedError2, Service50, node52, exports_pty, Event9 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service52
4
- } from "./workspace-a1v7f3fw.js";
3
+ Service66
4
+ } from "./state-etzxwssw.js";
5
5
  import {
6
- Service51
7
- } from "./workspace-p2wfcwv1.js";
6
+ Service69
7
+ } from "./state-b8vgw5fj.js";
8
8
  import {
9
9
  observe2
10
- } from "./workspace-qsdy395h.js";
10
+ } from "./state-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./state-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin3
19
+ Plugin: () => Plugin13
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin3 = define({
23
+ var Plugin13 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service52;
27
- const output = yield* Service51;
26
+ const config = yield* Service66;
27
+ const output = yield* Service69;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin3 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin3, exports_tool_output };
41
+ export { Plugin13, exports_tool_output };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node48
5
- } from "./workspace-00akm4dw.js";
4
+ node55
5
+ } from "./state-xx0efrt7.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./workspace-p6wxjpka.js";
9
+ } from "./state-4z58m4b4.js";
10
10
  import {
11
- Service78,
12
- node82
13
- } from "./workspace-tx9w5tca.js";
11
+ Service73,
12
+ node76
13
+ } from "./state-cmmdg65p.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./workspace-q9hq8s49.js";
16
+ } from "./state-x1c67pw4.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./workspace-byvjn8kr.js";
19
+ } from "./state-kb4we5bm.js";
20
20
  import {
21
21
  Error2
22
- } from "./workspace-51rntths.js";
22
+ } from "./state-fh2tfnch.js";
23
23
  import {
24
24
  get5
25
- } from "./workspace-54ma36ye.js";
25
+ } from "./state-54ma36ye.js";
26
26
  import {
27
- Service28,
28
- node31
29
- } from "./workspace-t5e8vxk8.js";
27
+ Service26,
28
+ node30
29
+ } from "./state-026a3pxx.js";
30
30
  import {
31
31
  make16
32
- } from "./workspace-g5w8qwbj.js";
32
+ } from "./state-g5w8qwbj.js";
33
33
  import {
34
34
  toLLMMessages2
35
- } from "./workspace-hekxc47r.js";
35
+ } from "./state-3556dn8t.js";
36
36
  import {
37
37
  __export
38
- } from "./workspace-9rqn6x4v.js";
38
+ } from "./state-9rqn6x4v.js";
39
39
 
40
40
  // src/session/model-request.ts
41
41
  var exports_model_request = {};
42
42
  __export(exports_model_request, {
43
- Service: () => Service27,
43
+ Service: () => Service25,
44
44
  SessionModelRequest: () => exports_model_request,
45
45
  baseTranscript: () => baseTranscript2,
46
46
  boundImages: () => boundImages2,
47
- layer: () => layer10,
48
- node: () => node30,
47
+ layer: () => layer9,
48
+ node: () => node29,
49
49
  unsupportedParts: () => unsupportedParts2
50
50
  });
51
51
  import {
@@ -172,11 +172,11 @@ var boundImages2 = (messages) => {
172
172
  }));
173
173
  };
174
174
 
175
- class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
175
+ class Service25 extends Context.Service()("@opencode/SessionModelRequest") {
176
176
  }
177
- var layer10 = Layer.effect(Service27, Effect.gen(function* () {
178
- const hooks = yield* Service78;
179
- const transport = yield* Service28;
177
+ var layer9 = Layer.effect(Service25, Effect.gen(function* () {
178
+ const hooks = yield* Service73;
179
+ const transport = yield* Service26;
180
180
  const app = yield* Metadata2;
181
181
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
182
182
  const session = input.session;
@@ -282,17 +282,17 @@ var layer10 = Layer.effect(Service27, Effect.gen(function* () {
282
282
  };
283
283
  });
284
284
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
285
- return Service27.of({
285
+ return Service25.of({
286
286
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
287
287
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
288
288
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
289
289
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
290
290
  });
291
291
  }));
292
- var node30 = makeLocationNode({
293
- service: Service27,
294
- layer: layer10,
295
- deps: [node82, node31, node48]
292
+ var node29 = makeLocationNode({
293
+ service: Service25,
294
+ layer: layer9,
295
+ deps: [node76, node30, node55]
296
296
  });
297
297
 
298
- export { baseTranscript2, unsupportedParts2, boundImages2, Service27, layer10, node30, exports_model_request };
298
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service25, layer9, node29, exports_model_request };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./workspace-tvtrv512.js";
3
+ } from "./state-tvtrv512.js";
4
4
  import {
5
- Service55,
6
- node58
7
- } from "./workspace-9dk6zdf2.js";
5
+ Service80,
6
+ node84
7
+ } from "./state-xt02y0n1.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./workspace-gftt206x.js";
10
+ } from "./state-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./workspace-q3t37ft6.js";
13
+ } from "./state-6bsje7ws.js";
14
14
  import {
15
15
  __export
16
- } from "./workspace-9rqn6x4v.js";
16
+ } from "./state-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service45,
22
+ Service: () => Service43,
23
23
  make: () => make19,
24
- node: () => node47
24
+ node: () => node45
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
  var COMPLETED_LIMIT = 25;
53
53
 
54
- class Service45 extends Context.Service()("@opencode/Job") {
54
+ class Service43 extends Context.Service()("@opencode/Job") {
55
55
  }
56
56
  function snapshot(job) {
57
57
  return {
@@ -87,7 +87,7 @@ function decrementSession(input, sessionID) {
87
87
  return next;
88
88
  }
89
89
  var make19 = Effect.gen(function* () {
90
- const kv = yield* Service55;
90
+ const kv = yield* Service80;
91
91
  const state = {
92
92
  jobs: yield* SynchronizedRef.make(new Map),
93
93
  scope: yield* Scope.Scope
@@ -346,7 +346,7 @@ var make19 = Effect.gen(function* () {
346
346
  next.delete(entry[0]);
347
347
  return next;
348
348
  })));
349
- return Service45.of({
349
+ return Service43.of({
350
350
  get,
351
351
  start,
352
352
  wait,
@@ -358,7 +358,7 @@ var make19 = Effect.gen(function* () {
358
358
  completeBackground
359
359
  });
360
360
  });
361
- var layer = Layer.effect(Service45, make19);
362
- var node47 = makeGlobalNode({ service: Service45, layer, deps: [node58] });
361
+ var layer = Layer.effect(Service43, make19);
362
+ var node45 = makeGlobalNode({ service: Service43, layer, deps: [node84] });
363
363
 
364
- export { Service45, make19, node47, exports_job };
364
+ export { Service43, make19, node45, exports_job };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID6,
2
+ ID10,
3
3
  Family2
4
- } from "./workspace-2jtqe833.js";
4
+ } from "./state-hgzmshwk.js";
5
5
  import {
6
- Service52
7
- } from "./workspace-a1v7f3fw.js";
6
+ Service66
7
+ } from "./state-etzxwssw.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./workspace-2e7n0e2w.js";
10
+ } from "./state-ww4pz79z.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
45
45
  });
46
46
  var discovery = new Map;
47
47
  var discoveryLock = Semaphore.makeUnsafe(1);
48
- function make10(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
49
49
  return define({
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service52;
53
+ const config = yield* Service66;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make10(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  providers.models.update(providerID, item.model, (model) => {
80
- model.modelID = ID6.make(item.model);
80
+ model.modelID = ID10.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -151,7 +151,7 @@ function make10(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make10();
154
+ var OllamaPlugin2 = make8();
155
155
  function configured(entries, origin) {
156
156
  const settings = foldSettings2(entries, providerID, undefined);
157
157
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -170,4 +170,4 @@ function configured(entries, origin) {
170
170
  return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
171
171
  }
172
172
 
173
- export { make10, OllamaPlugin2 };
173
+ export { make8, OllamaPlugin2 };