@opencode/core 0.0.0-dev-21541 → 0.0.0-dev-21556

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{workspace-cah5dkv9.js → filesystem-028swf18.js} +11 -11
  8. package/dist/chunks/{workspace-2b6qkcs0.js → filesystem-02vhp1nx.js} +50 -50
  9. package/dist/chunks/{workspace-034tev2y.js → filesystem-034tev2y.js} +2 -2
  10. package/dist/chunks/{workspace-gn585jta.js → filesystem-0f67byd1.js} +5 -5
  11. package/dist/chunks/{workspace-dtmbvn3g.js → filesystem-0mjdzdxd.js} +5 -5
  12. package/dist/chunks/{workspace-cbartrqj.js → filesystem-0q608b5f.js} +16 -16
  13. package/dist/chunks/{workspace-keqvyq2w.js → filesystem-0se0c77j.js} +4 -4
  14. package/dist/chunks/{workspace-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{workspace-xf8yqmad.js → filesystem-11dqjexa.js} +9 -9
  16. package/dist/chunks/{workspace-9qj6rkp4.js → filesystem-126zz3q1.js} +3 -3
  17. package/dist/chunks/{workspace-1ep2p91f.js → filesystem-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{workspace-jyhwqdka.js → filesystem-1g6janhj.js} +20 -20
  19. package/dist/chunks/{workspace-w0rc49da.js → filesystem-1p1p7tgy.js} +33 -33
  20. package/dist/chunks/{workspace-a94rjkpn.js → filesystem-1qjvw4y4.js} +7 -7
  21. package/dist/chunks/{workspace-8x4e5kq0.js → filesystem-1sf913kj.js} +25 -25
  22. package/dist/chunks/{workspace-drdx3kxz.js → filesystem-1sqqfm6b.js} +11 -11
  23. package/dist/chunks/{workspace-z34erevr.js → filesystem-1sr9fzxh.js} +6 -6
  24. package/dist/chunks/{workspace-3chvherp.js → filesystem-1waq66yh.js} +4 -4
  25. package/dist/chunks/{workspace-3b7e46vg.js → filesystem-1z98e4c3.js} +35 -35
  26. package/dist/chunks/{workspace-0tjpvapw.js → filesystem-242ky9er.js} +10 -10
  27. package/dist/chunks/{workspace-st7p3hwb.js → filesystem-27bs79w9.js} +2 -2
  28. package/dist/chunks/{workspace-k0a3z2qz.js → filesystem-29qym6xz.js} +4 -4
  29. package/dist/chunks/{workspace-va6mm9z7.js → filesystem-2a3m6met.js} +12 -12
  30. package/dist/chunks/{workspace-gm6mk2m9.js → filesystem-2g49mxwr.js} +12 -12
  31. package/dist/chunks/{workspace-qgn6gcr1.js → filesystem-2k8khapm.js} +5 -5
  32. package/dist/chunks/{workspace-s1sewrz2.js → filesystem-2wv0qy41.js} +24 -24
  33. package/dist/chunks/{workspace-h7jf40e2.js → filesystem-2z2h29k5.js} +15 -15
  34. package/dist/chunks/{workspace-76skp782.js → filesystem-328ypx93.js} +22 -22
  35. package/dist/chunks/filesystem-36kqp0j3.js +523 -0
  36. package/dist/chunks/{workspace-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{workspace-3hwn7j4h.js → filesystem-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{workspace-2phre6gr.js → filesystem-3p8bby9p.js} +17 -17
  39. package/dist/chunks/{workspace-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{workspace-p1apbq8w.js → filesystem-3y03y7vv.js} +11 -11
  41. package/dist/chunks/{workspace-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{workspace-4myb3554.js → filesystem-400872z1.js} +20 -20
  43. package/dist/chunks/{workspace-vsv97a0e.js → filesystem-45pdh49v.js} +24 -24
  44. package/dist/chunks/filesystem-45th5jwr.js +18 -0
  45. package/dist/chunks/{workspace-qby9dwvd.js → filesystem-4e8vs6eh.js} +8 -8
  46. package/dist/chunks/{workspace-zet3czjw.js → filesystem-4h1zccz9.js} +11 -11
  47. package/dist/chunks/{workspace-n8nk40tj.js → filesystem-4m9n96wx.js} +24 -24
  48. package/dist/chunks/{workspace-jjrctdmw.js → filesystem-4qfhrk35.js} +14 -14
  49. package/dist/chunks/{workspace-w2h15q85.js → filesystem-4xpgt2w9.js} +5 -5
  50. package/dist/chunks/{workspace-54ma36ye.js → filesystem-54ma36ye.js} +1 -1
  51. package/dist/chunks/{workspace-zx59jank.js → filesystem-573jag1d.js} +4 -4
  52. package/dist/chunks/{workspace-j6jn98s4.js → filesystem-591k6mra.js} +6 -6
  53. package/dist/chunks/{workspace-gs67eedh.js → filesystem-5bg7ay96.js} +28 -28
  54. package/dist/chunks/{workspace-5x8rsm2f.js → filesystem-5ddxr1dn.js} +24 -24
  55. package/dist/chunks/{workspace-tvgxg3g6.js → filesystem-5jfh860z.js} +4 -4
  56. package/dist/chunks/{workspace-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{workspace-e3qxr5gk.js → filesystem-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{workspace-m6fea7hh.js → filesystem-5saf3c2d.js} +11 -11
  59. package/dist/chunks/{workspace-q40yvqvp.js → filesystem-5sbgwf3f.js} +5 -5
  60. package/dist/chunks/{workspace-t3hn50w1.js → filesystem-5y3cvn6v.js} +8 -8
  61. package/dist/chunks/{workspace-efxx8rk8.js → filesystem-63zyt423.js} +13 -13
  62. package/dist/chunks/{workspace-6827pfxn.js → filesystem-6827pfxn.js} +1 -1
  63. package/dist/chunks/{workspace-zaq7yc5h.js → filesystem-6g6nf04w.js} +2 -2
  64. package/dist/chunks/{workspace-1rd0hf05.js → filesystem-6gda7trc.js} +18 -18
  65. package/dist/chunks/{workspace-8dh2j701.js → filesystem-6j7dwqsx.js} +11 -11
  66. package/dist/chunks/{workspace-kgjxwjg5.js → filesystem-6kwr73dn.js} +21 -21
  67. package/dist/chunks/{workspace-6xb47vfp.js → filesystem-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{workspace-qhd9gkgf.js → filesystem-6zhaf8kp.js} +9 -9
  69. package/dist/chunks/{workspace-5g57z1ma.js → filesystem-76p14g35.js} +4 -4
  70. package/dist/chunks/{workspace-775gj3j1.js → filesystem-775gj3j1.js} +2 -2
  71. package/dist/chunks/{workspace-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{workspace-1p07q0wb.js → filesystem-7fkffz83.js} +2 -2
  73. package/dist/chunks/{workspace-ayabmdkg.js → filesystem-7q4dk8at.js} +24 -24
  74. package/dist/chunks/{workspace-n8mct725.js → filesystem-7vnmjcnk.js} +2 -2
  75. package/dist/chunks/{workspace-5fec3t3w.js → filesystem-81f7vt2z.js} +8 -8
  76. package/dist/chunks/{workspace-ncqfdwrq.js → filesystem-81gkh252.js} +16 -16
  77. package/dist/chunks/{workspace-8yp4rne4.js → filesystem-82a5zyy8.js} +11 -11
  78. package/dist/chunks/{workspace-84txncab.js → filesystem-84txncab.js} +1 -1
  79. package/dist/chunks/{workspace-h90v2x9d.js → filesystem-86qzxe6p.js} +4 -4
  80. package/dist/chunks/{workspace-qssh8sag.js → filesystem-8b6rm75k.js} +46 -46
  81. package/dist/chunks/{workspace-s1v8awss.js → filesystem-8c364tr5.js} +3 -3
  82. package/dist/chunks/{workspace-0z8yhdqv.js → filesystem-8g0yt8dy.js} +69 -69
  83. package/dist/chunks/{workspace-5ggmzyjq.js → filesystem-8m2msbn3.js} +32 -32
  84. package/dist/chunks/{workspace-8m6m0r52.js → filesystem-8m6m0r52.js} +1 -1
  85. package/dist/chunks/{workspace-9dmx38dk.js → filesystem-8myfktms.js} +21 -21
  86. package/dist/chunks/{workspace-8mywswrd.js → filesystem-8mywswrd.js} +1 -1
  87. package/dist/chunks/{workspace-3byrw2k0.js → filesystem-8ndffx4j.js} +9 -9
  88. package/dist/chunks/{workspace-m28avgzz.js → filesystem-8ngy3mqv.js} +15 -15
  89. package/dist/chunks/{workspace-g1z83s7x.js → filesystem-8w8x3cmh.js} +43 -43
  90. package/dist/chunks/{workspace-y6rf4qat.js → filesystem-8wy82xn4.js} +34 -34
  91. package/dist/chunks/{workspace-tzprbfj6.js → filesystem-8wyta6jv.js} +10 -10
  92. package/dist/chunks/{workspace-1fnk0qcx.js → filesystem-8ya1vr8t.js} +13 -13
  93. package/dist/chunks/{workspace-r9s8agc4.js → filesystem-93be92en.js} +32 -32
  94. package/dist/chunks/{workspace-fx7mmp1n.js → filesystem-93p4vdsy.js} +22 -22
  95. package/dist/chunks/{workspace-wb9ff8bn.js → filesystem-979fg1jj.js} +20 -20
  96. package/dist/chunks/{workspace-hp24smfg.js → filesystem-9893enz5.js} +11 -11
  97. package/dist/chunks/{workspace-6h1z9x2t.js → filesystem-98z44by5.js} +23 -23
  98. package/dist/chunks/{workspace-998yhzzq.js → filesystem-998yhzzq.js} +3 -3
  99. package/dist/chunks/{workspace-6gzxrv04.js → filesystem-9fjp44j3.js} +16 -16
  100. package/dist/chunks/{workspace-ffvkjqdt.js → filesystem-9gcsz2p2.js} +9 -9
  101. package/dist/chunks/{workspace-gv7ndrzx.js → filesystem-9jabj0jk.js} +4 -4
  102. package/dist/chunks/{workspace-f3crtseh.js → filesystem-9m4ve779.js} +4 -4
  103. package/dist/chunks/{workspace-9wev2pgg.js → filesystem-9wev2pgg.js} +1 -1
  104. package/dist/chunks/{workspace-074m64dp.js → filesystem-9yvejhhv.js} +20 -20
  105. package/dist/chunks/{workspace-g9vnk3jz.js → filesystem-a2dbqtpr.js} +16 -16
  106. package/dist/chunks/{workspace-6s9zvkg6.js → filesystem-a56ettrm.js} +11 -11
  107. package/dist/chunks/{workspace-css516a4.js → filesystem-aaf0tqjs.js} +3 -3
  108. package/dist/chunks/{workspace-xjzqkwqn.js → filesystem-afgz2svm.js} +13 -13
  109. package/dist/chunks/{workspace-b10f7vcz.js → filesystem-are0chd1.js} +6 -6
  110. package/dist/chunks/{workspace-ayjs7tqn.js → filesystem-ayjs7tqn.js} +2 -2
  111. package/dist/chunks/{workspace-80ea5f6r.js → filesystem-azr9yky1.js} +30 -30
  112. package/dist/chunks/{workspace-b11a7tx7.js → filesystem-b11a7tx7.js} +1 -1
  113. package/dist/chunks/{workspace-zfm65xnk.js → filesystem-b2hzfzr1.js} +8 -8
  114. package/dist/chunks/{workspace-p8dm3ep0.js → filesystem-b7c09qga.js} +5 -5
  115. package/dist/chunks/{workspace-j6p3x2qe.js → filesystem-bdbdb37z.js} +51 -51
  116. package/dist/chunks/{workspace-9sbtww25.js → filesystem-bg1zss7r.js} +33 -33
  117. package/dist/chunks/{workspace-bry36w7y.js → filesystem-bg57z5ae.js} +16 -16
  118. package/dist/chunks/{workspace-fcyg4h47.js → filesystem-bhhtdc9d.js} +5 -5
  119. package/dist/chunks/{workspace-zcfdnc2q.js → filesystem-bj2d5s9t.js} +26 -26
  120. package/dist/chunks/{workspace-wjr9rjd7.js → filesystem-bjx1sjef.js} +6 -6
  121. package/dist/chunks/{workspace-kc8eh7pk.js → filesystem-bkc947cz.js} +36 -36
  122. package/dist/chunks/filesystem-btej2qac.js +257 -0
  123. package/dist/chunks/{workspace-bzeyqsqd.js → filesystem-bzeyqsqd.js} +1 -1
  124. package/dist/chunks/{workspace-r4fxfztp.js → filesystem-c35ra91z.js} +31 -31
  125. package/dist/chunks/{workspace-1bzs4kqq.js → filesystem-chveay43.js} +18 -18
  126. package/dist/chunks/{workspace-je188k40.js → filesystem-chxb0k6t.js} +23 -23
  127. package/dist/chunks/{workspace-91p1v22t.js → filesystem-cq9vh2fv.js} +8 -8
  128. package/dist/chunks/{workspace-ewxdsezr.js → filesystem-cqw872z8.js} +29 -29
  129. package/dist/chunks/{workspace-cr9hweqv.js → filesystem-cr9hweqv.js} +2 -2
  130. package/dist/chunks/{workspace-132rhf2q.js → filesystem-cz5fe6tg.js} +23 -23
  131. package/dist/chunks/{workspace-gky04n8p.js → filesystem-d3yv44qs.js} +19 -19
  132. package/dist/chunks/{workspace-47xvp063.js → filesystem-d7wa81mb.js} +17 -17
  133. package/dist/chunks/{workspace-15wxq0kj.js → filesystem-d869kc9t.js} +8 -8
  134. package/dist/chunks/{workspace-daz98v5x.js → filesystem-dkp7y90n.js} +28 -28
  135. package/dist/chunks/{workspace-dpkg50ah.js → filesystem-dpkg50ah.js} +1 -1
  136. package/dist/chunks/{workspace-ggk6kvmh.js → filesystem-dxbacq08.js} +21 -21
  137. package/dist/chunks/{workspace-tr7gnt89.js → filesystem-e2z0k8kw.js} +11 -11
  138. package/dist/chunks/{workspace-2xebcxdz.js → filesystem-e71bjph2.js} +14 -14
  139. package/dist/chunks/{workspace-eej6y6fw.js → filesystem-eej6y6fw.js} +2 -2
  140. package/dist/chunks/{workspace-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{workspace-bxxa49vs.js → filesystem-epeyn0qs.js} +28 -28
  142. package/dist/chunks/{workspace-hhn6cs7f.js → filesystem-eq13jef3.js} +25 -25
  143. package/dist/chunks/{workspace-jvf3yq6v.js → filesystem-f73rjn58.js} +4 -4
  144. package/dist/chunks/{workspace-ansnh6at.js → filesystem-f8h5648v.js} +10 -10
  145. package/dist/chunks/{workspace-fcy631f0.js → filesystem-fcy631f0.js} +1 -1
  146. package/dist/chunks/{workspace-7zyx6fzq.js → filesystem-fd592q7h.js} +19 -19
  147. package/dist/chunks/{workspace-j90sh0vw.js → filesystem-fjdpyz7x.js} +88 -88
  148. package/dist/chunks/{workspace-bbyyxdtc.js → filesystem-fm3t8chm.js} +18 -18
  149. package/dist/chunks/{workspace-dq407baf.js → filesystem-fn9t717r.js} +6 -6
  150. package/dist/chunks/{workspace-xghm9m12.js → filesystem-fpyn1g9k.js} +18 -18
  151. package/dist/chunks/{workspace-36cygfdp.js → filesystem-fwt7vey7.js} +8 -8
  152. package/dist/chunks/{workspace-qa3qhgw8.js → filesystem-g8d3gcyj.js} +7 -7
  153. package/dist/chunks/{workspace-c3jpadc8.js → filesystem-gb398jef.js} +5 -5
  154. package/dist/chunks/{workspace-c7kxmbtf.js → filesystem-gc65y9s2.js} +17 -17
  155. package/dist/chunks/{workspace-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{workspace-2egnw719.js → filesystem-gg68t3hz.js} +12 -12
  157. package/dist/chunks/{workspace-pbjcynf2.js → filesystem-gj0f7hmv.js} +11 -11
  158. package/dist/chunks/{workspace-rmja0r51.js → filesystem-gmb516bh.js} +10 -10
  159. package/dist/chunks/{workspace-g6h99m46.js → filesystem-gs856eh7.js} +1 -1
  160. package/dist/chunks/{workspace-abc6j8jm.js → filesystem-gwj0vhyb.js} +32 -32
  161. package/dist/chunks/{workspace-07sqsv9w.js → filesystem-h2ettege.js} +7 -7
  162. package/dist/chunks/{workspace-rdp8b27p.js → filesystem-h32rg1s2.js} +12 -12
  163. package/dist/chunks/{workspace-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{workspace-h8vwnyd8.js → filesystem-h8vwnyd8.js} +1 -1
  165. package/dist/chunks/{workspace-gcb5g84z.js → filesystem-ha3bx9by.js} +40 -40
  166. package/dist/chunks/{workspace-x683dpmx.js → filesystem-hd48n6ar.js} +33 -33
  167. package/dist/chunks/{workspace-hgz4x7wa.js → filesystem-hgz4x7wa.js} +1 -1
  168. package/dist/chunks/{workspace-0xx3ns2v.js → filesystem-hsmb96zs.js} +19 -19
  169. package/dist/chunks/{workspace-e6g20fz5.js → filesystem-jjfs97vk.js} +30 -30
  170. package/dist/chunks/{workspace-n56c0sd4.js → filesystem-jmv89t63.js} +42 -42
  171. package/dist/chunks/{workspace-xg0qp6eg.js → filesystem-jp01ts1z.js} +11 -11
  172. package/dist/chunks/{workspace-wbnh8gjc.js → filesystem-k5ggreqd.js} +5 -5
  173. package/dist/chunks/{workspace-t18r7gq3.js → filesystem-kb25sj3q.js} +52 -52
  174. package/dist/chunks/{workspace-98bt88c5.js → filesystem-kbhdv85b.js} +15 -15
  175. package/dist/chunks/{workspace-4jhg1r7p.js → filesystem-kh6bv03q.js} +13 -13
  176. package/dist/chunks/{workspace-khmqacep.js → filesystem-khmqacep.js} +1 -1
  177. package/dist/chunks/{workspace-m22m6tzf.js → filesystem-kjv4pfpn.js} +12 -12
  178. package/dist/chunks/{workspace-qv9b3h9n.js → filesystem-kvmjtnbr.js} +32 -32
  179. package/dist/chunks/{workspace-kwb1v3vj.js → filesystem-kwb1v3vj.js} +1 -1
  180. package/dist/chunks/{workspace-aar2av7x.js → filesystem-m0hzqf10.js} +6 -6
  181. package/dist/chunks/{workspace-r6k9he64.js → filesystem-m6r8hh6a.js} +14 -14
  182. package/dist/chunks/{workspace-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{workspace-maspj1v3.js → filesystem-maspj1v3.js} +1 -1
  184. package/dist/chunks/{workspace-z71n2avg.js → filesystem-mbw2zwxv.js} +4 -4
  185. package/dist/chunks/{workspace-e2t3pw6w.js → filesystem-mbynq3pt.js} +17 -17
  186. package/dist/chunks/{workspace-etgqrbqm.js → filesystem-mctgdp4w.js} +29 -29
  187. package/dist/chunks/{workspace-73a41k9m.js → filesystem-medva3v3.js} +41 -41
  188. package/dist/chunks/{workspace-g9ay48z2.js → filesystem-mn8trjc8.js} +5 -5
  189. package/dist/chunks/{workspace-9nygwmwc.js → filesystem-mr7jwncp.js} +23 -23
  190. package/dist/chunks/{workspace-8mr27nf4.js → filesystem-mrb3pdj1.js} +4 -4
  191. package/dist/chunks/{workspace-bwq0z05b.js → filesystem-mvgnf8hp.js} +22 -22
  192. package/dist/chunks/{workspace-fstg4fsa.js → filesystem-mx44zc9z.js} +24 -24
  193. package/dist/chunks/{workspace-4gx1jjxq.js → filesystem-n19gt92d.js} +45 -45
  194. package/dist/chunks/{workspace-n6mrmtb3.js → filesystem-n6mrmtb3.js} +1 -1
  195. package/dist/chunks/{workspace-ynrxtasp.js → filesystem-na6gcdt8.js} +20 -20
  196. package/dist/chunks/{workspace-etj2j5tt.js → filesystem-nc6zk1r7.js} +24 -24
  197. package/dist/chunks/{workspace-pwrxqpxd.js → filesystem-nnpwh0my.js} +18 -18
  198. package/dist/chunks/{workspace-xy9gzbcy.js → filesystem-ns9nx42n.js} +18 -18
  199. package/dist/chunks/{workspace-n5d3v4c5.js → filesystem-nv560stn.js} +3 -3
  200. package/dist/chunks/{workspace-cmwkp3r5.js → filesystem-p37cw4rj.js} +8 -8
  201. package/dist/chunks/{workspace-gmce5qqj.js → filesystem-p4hdtfs4.js} +1 -1
  202. package/dist/chunks/{workspace-s305gxse.js → filesystem-p76v2pnh.js} +43 -43
  203. package/dist/chunks/{workspace-0ss1ygn7.js → filesystem-pc1v25hk.js} +3 -3
  204. package/dist/chunks/{workspace-xv7z1ba5.js → filesystem-pec85awn.js} +21 -21
  205. package/dist/chunks/{workspace-k4814axw.js → filesystem-pez308bj.js} +17 -17
  206. package/dist/chunks/{workspace-zqt4wd7s.js → filesystem-pfq93rbg.js} +8 -8
  207. package/dist/chunks/{workspace-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{workspace-pknna89w.js → filesystem-pknna89w.js} +1 -1
  209. package/dist/chunks/{workspace-mcqdwfqb.js → filesystem-pntdjgj5.js} +11 -11
  210. package/dist/chunks/{workspace-y6e8h1xc.js → filesystem-pr4qgnr7.js} +23 -23
  211. package/dist/chunks/{workspace-76475ja5.js → filesystem-pw2zv200.js} +28 -28
  212. package/dist/chunks/{workspace-2ec29r6m.js → filesystem-pz87hs4r.js} +4 -4
  213. package/dist/chunks/{workspace-e89xj288.js → filesystem-q17z9dx8.js} +5 -5
  214. package/dist/chunks/{workspace-3eyct666.js → filesystem-q2m888qa.js} +37 -37
  215. package/dist/chunks/{workspace-h6tfspxq.js → filesystem-q9n4taz4.js} +12 -12
  216. package/dist/chunks/{workspace-s6ckz0hn.js → filesystem-qdvnf0ks.js} +11 -11
  217. package/dist/chunks/{workspace-6n72fwwd.js → filesystem-qey1j5h6.js} +26 -26
  218. package/dist/chunks/{workspace-be4f7z37.js → filesystem-qp797tjx.js} +89 -89
  219. package/dist/chunks/{workspace-qp7m8750.js → filesystem-qp7m8750.js} +3 -3
  220. package/dist/chunks/{workspace-vm8sweqc.js → filesystem-qpk6w0sf.js} +4 -4
  221. package/dist/chunks/{workspace-57b9ws8p.js → filesystem-qqeeq2t9.js} +4 -4
  222. package/dist/chunks/{workspace-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
  223. package/dist/chunks/{workspace-aq552fny.js → filesystem-qtvz41fz.js} +195 -195
  224. package/dist/chunks/{workspace-db8n8p1c.js → filesystem-qx9ba4sp.js} +31 -31
  225. package/dist/chunks/{workspace-d4he2qe1.js → filesystem-r2m716tb.js} +9 -9
  226. package/dist/chunks/{workspace-q8rwc74j.js → filesystem-r4vchsx7.js} +26 -26
  227. package/dist/chunks/{workspace-7ycdgr6s.js → filesystem-r5wxk7rn.js} +15 -15
  228. package/dist/chunks/{workspace-y7nndgyc.js → filesystem-ra67jj04.js} +9 -9
  229. package/dist/chunks/{workspace-c48qrqrp.js → filesystem-rb1cnjjp.js} +20 -20
  230. package/dist/chunks/{workspace-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
  231. package/dist/chunks/{workspace-ynmknp8q.js → filesystem-ryh741tj.js} +9 -9
  232. package/dist/chunks/{workspace-9z8cn46p.js → filesystem-s06pmf3q.js} +6 -6
  233. package/dist/chunks/{workspace-rzp7a2t4.js → filesystem-s5ckyk9d.js} +11 -11
  234. package/dist/chunks/{workspace-ae239eb7.js → filesystem-s73jzx7y.js} +39 -39
  235. package/dist/chunks/{workspace-sb9g34e0.js → filesystem-s80bpp8r.js} +8 -8
  236. package/dist/chunks/{workspace-0gdmqesm.js → filesystem-s8d7rejh.js} +4 -4
  237. package/dist/chunks/filesystem-smhs581c.js +26 -0
  238. package/dist/chunks/{workspace-e4n1ebq2.js → filesystem-sqeeta82.js} +3 -3
  239. package/dist/chunks/{workspace-8xnx0mnd.js → filesystem-sv72chne.js} +8 -8
  240. package/dist/chunks/{workspace-dbe25myc.js → filesystem-sxpag4wm.js} +14 -14
  241. package/dist/chunks/{workspace-2ahabfrv.js → filesystem-szszjrwy.js} +4 -4
  242. package/dist/chunks/{workspace-yfattsqw.js → filesystem-t7a1f2y6.js} +17 -17
  243. package/dist/chunks/{workspace-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{workspace-tcezcvh9.js → filesystem-tcezcvh9.js} +1 -1
  245. package/dist/chunks/{workspace-tdstcens.js → filesystem-tdstcens.js} +1 -1
  246. package/dist/chunks/{workspace-mx9vqzsb.js → filesystem-tegs1ycp.js} +6 -6
  247. package/dist/chunks/{workspace-mzmvkc7j.js → filesystem-tpv3en06.js} +26 -26
  248. package/dist/chunks/{workspace-tyytaxap.js → filesystem-tyytaxap.js} +1 -1
  249. package/dist/chunks/{workspace-yefhp8xd.js → filesystem-v1w8mgqr.js} +11 -11
  250. package/dist/chunks/{workspace-eg33xqqg.js → filesystem-v2y4kgk1.js} +47 -47
  251. package/dist/chunks/{workspace-v7p4zvkq.js → filesystem-v7p4zvkq.js} +2 -2
  252. package/dist/chunks/{workspace-ffq1c2je.js → filesystem-vc9x991w.js} +18 -18
  253. package/dist/chunks/{workspace-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
  254. package/dist/chunks/{workspace-nzg504jb.js → filesystem-vk7a0qve.js} +15 -15
  255. package/dist/chunks/{workspace-38phfjcn.js → filesystem-vktwk5kv.js} +9 -9
  256. package/dist/chunks/{workspace-wjst284m.js → filesystem-vwt6h3tz.js} +4 -4
  257. package/dist/chunks/{workspace-nvxqht09.js → filesystem-vx3jgdek.js} +3 -3
  258. package/dist/chunks/{workspace-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
  259. package/dist/chunks/{workspace-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{workspace-bqszwq89.js → filesystem-w5zzhgd0.js} +6 -6
  261. package/dist/chunks/{workspace-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
  262. package/dist/chunks/{workspace-wd87259q.js → filesystem-wd87259q.js} +1 -1
  263. package/dist/chunks/{workspace-dex2drwj.js → filesystem-wq8gz3e1.js} +10 -10
  264. package/dist/chunks/{workspace-rqgw4wbf.js → filesystem-wqhwg8sr.js} +45 -45
  265. package/dist/chunks/{workspace-mshsb7tz.js → filesystem-x08z24be.js} +15 -15
  266. package/dist/chunks/{workspace-3y377wv9.js → filesystem-x661k3y3.js} +4 -4
  267. package/dist/chunks/{workspace-5gwxr4wz.js → filesystem-x8j4awb7.js} +26 -26
  268. package/dist/chunks/{workspace-s4gy3dj7.js → filesystem-xab8tp7k.js} +16 -16
  269. package/dist/chunks/{workspace-s8ch1s93.js → filesystem-xfraezgp.js} +33 -33
  270. package/dist/chunks/{workspace-pzzw2hqw.js → filesystem-xng5v1sj.js} +7 -7
  271. package/dist/chunks/{workspace-r29avfkz.js → filesystem-xrrvmzfg.js} +9 -9
  272. package/dist/chunks/{workspace-pmpp0nb4.js → filesystem-xt7gh04x.js} +26 -26
  273. package/dist/chunks/{workspace-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{workspace-srp09zfw.js → filesystem-y7w5x3t0.js} +14 -14
  275. package/dist/chunks/{workspace-gwaf4cyv.js → filesystem-yv1na398.js} +5 -5
  276. package/dist/chunks/{workspace-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{workspace-ea9zv6cw.js → filesystem-z4xmyae6.js} +13 -13
  278. package/dist/chunks/{workspace-t2s68hp7.js → filesystem-z6r6yped.js} +22 -22
  279. package/dist/chunks/{workspace-fk85bsrp.js → filesystem-z9r12f9w.js} +11 -11
  280. package/dist/chunks/{workspace-maers0pd.js → filesystem-zapavctn.js} +3 -3
  281. package/dist/chunks/{workspace-kccjhh93.js → filesystem-zgbfmbmk.js} +5 -5
  282. package/dist/chunks/{workspace-pcs4hp0r.js → filesystem-zhfa0hft.js} +14 -14
  283. package/dist/chunks/{workspace-neqjwg63.js → filesystem-zn5evjtn.js} +35 -35
  284. package/dist/chunks/{workspace-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{workspace-hcgv7z9w.js → filesystem-zryx1e9j.js} +9 -9
  286. package/dist/chunks/{workspace-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{workspace-5tgqe19z.js → filesystem-zys69r9h.js} +56 -56
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  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 +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +115 -115
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +91 -91
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +91 -91
  470. package/dist/managed-policy.js +4 -4
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +138 -138
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +117 -117
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +90 -90
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +223 -223
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +90 -90
  563. package/dist/provider.js +99 -99
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +136 -136
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +130 -130
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +97 -97
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +95 -95
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +165 -165
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +208 -208
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +216 -216
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +15 -15
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +95 -95
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +137 -137
  638. package/dist/tool/plugin/edit.js +120 -120
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +124 -124
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +122 -122
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +215 -215
  648. package/dist/tool/plugin/skill.js +111 -111
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/todo.js +136 -136
  651. package/dist/tool/plugin/webfetch.js +107 -107
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +104 -104
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +5 -5
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +93 -93
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +90 -90
  677. package/dist/websearch.js +86 -86
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +83 -83
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +84 -84
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +102 -102
  688. package/package.json +8 -8
  689. package/dist/chunks/workspace-7jmfkexa.js +0 -26
  690. package/dist/chunks/workspace-by5v678g.js +0 -18
  691. package/dist/chunks/workspace-stn147wg.js +0 -257
  692. package/dist/chunks/workspace-y76gxhjg.js +0 -523
  693. /package/dist/chunks/{workspace-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{workspace-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{workspace-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{workspace-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{workspace-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{workspace-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{workspace-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
  700. /package/dist/chunks/{workspace-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{workspace-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{workspace-3asan66x.js → filesystem-3asan66x.js} +0 -0
  703. /package/dist/chunks/{workspace-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{workspace-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{workspace-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{workspace-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{workspace-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{workspace-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{workspace-53557ph1.js → filesystem-53557ph1.js} +0 -0
  710. /package/dist/chunks/{workspace-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{workspace-5fjb7ams.js → filesystem-5fjb7ams.js} +0 -0
  712. /package/dist/chunks/{workspace-6prwharc.js → filesystem-6prwharc.js} +0 -0
  713. /package/dist/chunks/{workspace-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{workspace-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{workspace-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{workspace-822emrt2.js → filesystem-822emrt2.js} +0 -0
  717. /package/dist/chunks/{workspace-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{workspace-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{workspace-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{workspace-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{workspace-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{workspace-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{workspace-a058387c.js → filesystem-a058387c.js} +0 -0
  724. /package/dist/chunks/{workspace-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{workspace-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{workspace-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{workspace-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{workspace-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{workspace-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{workspace-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{workspace-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{workspace-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{workspace-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{workspace-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{workspace-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{workspace-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{workspace-df08tz66.js → filesystem-df08tz66.js} +0 -0
  738. /package/dist/chunks/{workspace-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{workspace-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{workspace-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{workspace-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{workspace-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{workspace-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{workspace-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{workspace-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{workspace-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{workspace-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{workspace-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{workspace-g86h250q.js → filesystem-g86h250q.js} +0 -0
  750. /package/dist/chunks/{workspace-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{workspace-gftt206x.js → filesystem-gftt206x.js} +0 -0
  752. /package/dist/chunks/{workspace-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{workspace-hk9envan.js → filesystem-hk9envan.js} +0 -0
  754. /package/dist/chunks/{workspace-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{workspace-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{workspace-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{workspace-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{workspace-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{workspace-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{workspace-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{workspace-m18g726c.js → filesystem-m18g726c.js} +0 -0
  762. /package/dist/chunks/{workspace-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{workspace-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{workspace-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{workspace-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{workspace-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{workspace-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{workspace-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{workspace-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{workspace-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{workspace-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{workspace-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{workspace-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{workspace-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{workspace-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{workspace-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{workspace-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{workspace-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{workspace-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{workspace-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{workspace-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{workspace-wjj7prxr.js → filesystem-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{workspace-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{workspace-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{workspace-x61499pn.js → filesystem-x61499pn.js} +0 -0
  786. /package/dist/chunks/{workspace-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{workspace-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{workspace-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{workspace-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{workspace-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{workspace-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service67
4
- } from "./workspace-qssh8sag.js";
3
+ Service62
4
+ } from "./filesystem-8b6rm75k.js";
5
5
  import {
6
6
  observe2
7
- } from "./workspace-qsdy395h.js";
7
+ } from "./filesystem-qsdy395h.js";
8
8
  import {
9
- Service46
10
- } from "./workspace-t18r7gq3.js";
9
+ Service69
10
+ } from "./filesystem-kb25sj3q.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./filesystem-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/todo.ts
16
16
  var exports_todo = {};
17
17
  __export(exports_todo, {
18
18
  Info: () => Info2,
19
- Input: () => Input12,
19
+ Input: () => Input11,
20
20
  Output: () => Output8,
21
- Plugin: () => Plugin49,
21
+ Plugin: () => Plugin47,
22
22
  TodoTool: () => exports_todo,
23
- name: () => name12,
23
+ name: () => name11,
24
24
  summarize: () => summarize2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
@@ -37,14 +37,14 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
37
37
  `;
38
38
 
39
39
  // src/tool/plugin/todo.ts
40
- var name12 = "todowrite";
40
+ var name11 = "todowrite";
41
41
  var Info2 = Schema.Struct({
42
42
  content: Schema.String.annotate({ description: "Brief description of the task" }),
43
43
  status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
44
44
  description: "Current status of the task: pending, in_progress, completed, cancelled"
45
45
  })
46
46
  });
47
- var Input12 = Schema.Struct({
47
+ var Input11 = Schema.Struct({
48
48
  todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
49
49
  });
50
50
  var Output8 = Schema.Struct({
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
61
61
  const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
62
62
  return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
63
63
  };
64
- var Plugin49 = {
64
+ var Plugin47 = {
65
65
  id: "opencode.tool.todo",
66
66
  effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
67
- const config = yield* Service67;
68
- const permission = yield* Service46;
67
+ const config = yield* Service62;
68
+ const permission = yield* Service69;
69
69
  const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
70
70
  const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
71
71
  yield* ctx.tool.transform((editor) => {
72
72
  if (!enabled())
73
73
  return;
74
74
  editor.add({
75
- name: name12,
75
+ name: name11,
76
76
  options: { codemode: false },
77
77
  description: todowrite_default,
78
- input: Input12,
78
+ input: Input11,
79
79
  output: Output8,
80
80
  execute: (input, context) => permission.assert({
81
- action: name12,
81
+ action: name11,
82
82
  resources: ["*"],
83
83
  save: ["*"],
84
84
  sessionID: context.sessionID,
@@ -94,4 +94,4 @@ var Plugin49 = {
94
94
  })
95
95
  };
96
96
 
97
- export { name12, Info2, Input12, Output8, summarize2, Plugin49, exports_todo };
97
+ export { name11, Info2, Input11, Output8, summarize2, Plugin47, exports_todo };
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID11,
2
+ ID13,
3
3
  mergeOverlay2
4
- } from "./workspace-gs67eedh.js";
4
+ } from "./filesystem-5bg7ay96.js";
5
5
  import {
6
- ID10,
6
+ ID7,
7
7
  VariantID2,
8
- Info19,
8
+ Info17,
9
9
  compatibility2
10
- } from "./workspace-80ea5f6r.js";
10
+ } from "./filesystem-azr9yky1.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./filesystem-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models2 = {};
17
- __export(exports_models2, {
18
- ModalModels: () => exports_models2,
19
- derive: () => derive3,
20
- get: () => get3,
21
- load: () => load3
16
+ var exports_models = {};
17
+ __export(exports_models, {
18
+ ModalModels: () => exports_models,
19
+ derive: () => derive2,
20
+ get: () => get2,
21
+ load: () => load2
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID11.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get3(baseURL, apiKey, existing) {
58
- return derive3(baseURL, await load3(baseURL, apiKey), existing);
57
+ async function get2(baseURL, apiKey, existing) {
58
+ return derive2(baseURL, await load2(baseURL, apiKey), existing);
59
59
  }
60
- async function load3(baseURL, apiKey) {
60
+ async function load2(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive3(baseURL, remote, existing) {
74
+ function derive2(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID10.make(item.id);
78
+ const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID7.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info19.make({
98
- ...Info19.default(providerID, id),
97
+ return Info17.make({
98
+ ...Info17.default(providerID, id),
99
99
  id,
100
- modelID: ID10.make(remote.id),
100
+ modelID: ID7.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get3, load3, derive3, exports_models2 };
147
+ export { get2, load2, derive2, exports_models };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service64,
8
+ Service: () => Service44,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node67
10
+ node: () => node48
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service64 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service44 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service64, () => {
17
+ var layer = Layer.sync(Service44, () => {
18
18
  const environments = new Map;
19
- return Service64.of({
19
+ return Service44.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service64, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node67 = makeGlobalNode({ service: Service64, layer, deps: [] });
29
+ var node48 = makeGlobalNode({ service: Service44, layer, deps: [] });
30
30
 
31
- export { Service64, node67, exports_environment };
31
+ export { Service44, node48, exports_environment };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service73
3
- } from "./workspace-5x8rsm2f.js";
2
+ Service53
3
+ } from "./filesystem-5ddxr1dn.js";
4
4
  import {
5
- Service13,
5
+ Service41,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./workspace-1fnk0qcx.js";
8
+ } from "./filesystem-8ya1vr8t.js";
9
9
  import {
10
- Service17
11
- } from "./workspace-mshsb7tz.js";
10
+ Service15
11
+ } from "./filesystem-x08z24be.js";
12
12
  import {
13
- Service46
14
- } from "./workspace-t18r7gq3.js";
13
+ Service69
14
+ } from "./filesystem-kb25sj3q.js";
15
15
  import {
16
- Service15
17
- } from "./workspace-xy9gzbcy.js";
16
+ Service68
17
+ } from "./filesystem-ns9nx42n.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./workspace-6prwharc.js";
20
+ } from "./filesystem-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./workspace-9rqn6x4v.js";
23
+ } from "./filesystem-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input8,
29
- Output: () => Output6,
30
- Plugin: () => Plugin44,
28
+ Input: () => Input9,
29
+ Output: () => Output7,
30
+ Plugin: () => Plugin45,
31
31
  WriteTool: () => exports_write,
32
- name: () => name8,
32
+ name: () => name9,
33
33
  toModelContent: () => toModelContent5
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name8 = "write";
39
- var Input8 = Schema.Struct({
38
+ var name9 = "write";
39
+ var Input9 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output6 = Schema.Struct({
45
+ var Output7 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
51
  var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin44 = {
52
+ var Plugin45 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service15;
56
- const fileMutation = yield* Service13;
57
- const environment = yield* Service73;
58
- const formatter = yield* Service17;
59
- const permission = yield* Service46;
55
+ const access = yield* Service68;
56
+ const fileMutation = yield* Service41;
57
+ const environment = yield* Service53;
58
+ const formatter = yield* Service15;
59
+ const permission = yield* Service69;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name8,
61
+ name: name9,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input8,
69
- output: Output6,
68
+ input: Input9,
69
+ output: Output7,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
98
98
  })
99
99
  };
100
100
 
101
- export { name8, Input8, Output6, toModelContent5, Plugin44, exports_write };
101
+ export { name9, Input9, Output7, toModelContent5, Plugin45, exports_write };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./workspace-gftt206x.js";
3
+ } from "./filesystem-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./workspace-9rqn6x4v.js";
6
+ } from "./filesystem-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./workspace-tvgxg3g6.js";
4
+ } from "./filesystem-5jfh860z.js";
5
5
  import {
6
6
  create3
7
- } from "./workspace-rdw6cm16.js";
7
+ } from "./filesystem-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./workspace-t18r7gq3.js";
10
+ } from "./filesystem-kb25sj3q.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./filesystem-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event6,
21
- ID: () => ID4,
22
- Info: () => Info7,
20
+ Event: () => Event4,
21
+ ID: () => ID3,
22
+ Info: () => Info6,
23
23
  Name: () => Name2,
24
- Service: () => Service40,
24
+ Service: () => Service35,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
- available: () => available3,
29
- node: () => node43,
28
+ available: () => available2,
29
+ node: () => node38,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -35,15 +35,15 @@ import { FSUtil } from "@opencode/util/fs-util";
35
35
  import path from "path";
36
36
  import { Context, Effect, Layer } from "effect";
37
37
  import { Skill } from "@opencode/schema/skill";
38
- import { Event as Event6 } from "@opencode/schema/skill";
38
+ import { Event as Event4 } from "@opencode/schema/skill";
39
39
  var DirectorySource2 = Skill.DirectorySource;
40
40
  var UrlSource2 = Skill.UrlSource;
41
41
  var EmbeddedSource2 = Skill.EmbeddedSource;
42
42
  var Source3 = Skill.Source;
43
- var Info7 = Skill.Info;
44
- var ID4 = Skill.ID;
43
+ var Info6 = Skill.Info;
44
+ var ID3 = Skill.ID;
45
45
  var Name2 = Skill.Name;
46
- var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
+ var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
47
47
  var toModelOutput3 = (skill, files) => {
48
48
  const directory = path.dirname(skill.path);
49
49
  return [
@@ -78,21 +78,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
78
78
  };
79
79
  });
80
80
 
81
- class Service40 extends Context.Service()("@opencode/Skill") {
81
+ class Service35 extends Context.Service()("@opencode/Skill") {
82
82
  }
83
- var layer = Layer.effect(Service40, Effect.gen(function* () {
83
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
84
84
  const bus = yield* Service85;
85
85
  const state = create3({
86
86
  name: "skill",
87
87
  initial: () => ({ skills: new Map }),
88
88
  editor: (editor) => ({
89
89
  list: () => Array.from(editor.skills.values()),
90
- get: (id) => editor.skills.get(ID4.make(id)),
90
+ get: (id) => editor.skills.get(ID3.make(id)),
91
91
  add: (skill) => {
92
92
  editor.skills.set(skill.id, { ...skill });
93
93
  },
94
94
  update: (id, update) => {
95
- const key = ID4.make(id);
95
+ const key = ID3.make(id);
96
96
  const current = editor.skills.get(key);
97
97
  if (!current)
98
98
  return;
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
100
100
  current.id = key;
101
101
  },
102
102
  remove: (id) => {
103
- editor.skills.delete(ID4.make(id));
103
+ editor.skills.delete(ID3.make(id));
104
104
  }
105
105
  }),
106
106
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
107
107
  });
108
- return Service40.of({
108
+ return Service35.of({
109
109
  transform: state.transform,
110
110
  reload: state.reload,
111
111
  get: Effect.fn("Skill.get")(function* (id) {
@@ -116,10 +116,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node43 = makeLocationNode({
120
- service: Service40,
119
+ var node38 = makeLocationNode({
120
+ service: Service35,
121
121
  layer,
122
122
  deps: [node89]
123
123
  });
124
124
 
125
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID4, Name2, available3, toModelOutput3, prepare3, Service40, node43, exports_skill5, Event6 };
125
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID3, Name2, available2, toModelOutput3, prepare3, Service35, node38, exports_skill5, Event4 };
@@ -2,27 +2,27 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./workspace-z5v4ffb3.js";
5
+ } from "./filesystem-z5v4ffb3.js";
6
6
  import {
7
- Service73,
8
- node76
9
- } from "./workspace-5x8rsm2f.js";
7
+ Service53,
8
+ node57
9
+ } from "./filesystem-5ddxr1dn.js";
10
10
  import {
11
11
  Content3
12
- } from "./workspace-e6g20fz5.js";
12
+ } from "./filesystem-jjfs97vk.js";
13
13
  import {
14
14
  detect2
15
- } from "./workspace-9wev2pgg.js";
15
+ } from "./filesystem-9wev2pgg.js";
16
16
  import {
17
17
  __export
18
- } from "./workspace-9rqn6x4v.js";
18
+ } from "./filesystem-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
22
22
  __export(exports_read_filesystem, {
23
23
  BinaryFileError: () => BinaryFileError2,
24
24
  FileContent: () => FileContent2,
25
- ListEntry: () => ListEntry3,
25
+ ListEntry: () => ListEntry2,
26
26
  ListPage: () => ListPage2,
27
27
  MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
28
28
  MAX_READ_BYTES: () => MAX_READ_BYTES2,
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service39,
36
+ Service: () => Service31,
37
37
  TextPage: () => TextPage2,
38
- node: () => node42,
38
+ node: () => node34,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
101
101
  next: Schema.optionalKey(PositiveInt2)
102
102
  }) {
103
103
  }
104
- var ListEntry3 = Schema.Struct({
104
+ var ListEntry2 = Schema.Struct({
105
105
  path: RelativePath2,
106
106
  type: Schema.Literals(["file", "directory", "symlink"])
107
107
  }).annotate({ identifier: "ReadTool.ListEntry" });
108
108
 
109
109
  class ListPage2 extends Schema.Class("ReadTool.ListPage")({
110
110
  type: Schema.Literal("list-page"),
111
- entries: Schema.Array(ListEntry3),
111
+ entries: Schema.Array(ListEntry2),
112
112
  truncated: Schema.Boolean,
113
113
  next: Schema.optionalKey(PositiveInt2)
114
114
  }) {
115
115
  }
116
116
 
117
- class Service39 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service31 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -227,7 +227,7 @@ var list = (items, page) => {
227
227
  const offset = page.offset || 1;
228
228
  const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
229
229
  const visible = items.flatMap((item) => item.type === "other" ? [] : [
230
- ListEntry3.make({
230
+ ListEntry2.make({
231
231
  path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
232
232
  type: item.type
233
233
  })
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service39, Effect.gen(function* () {
334
- const environment = yield* Service73;
335
- return Service39.of({
333
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
334
+ const environment = yield* Service53;
335
+ return Service31.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node42 = makeLocationNode({ service: Service39, layer, deps: [node76] });
340
+ var node34 = makeLocationNode({ service: Service31, layer, deps: [node57] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service39, read2, node42, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service31, read2, node34, exports_read_filesystem };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service85
3
- } from "./workspace-tvgxg3g6.js";
3
+ } from "./filesystem-5jfh860z.js";
4
4
  import {
5
5
  key2
6
- } from "./workspace-3y377wv9.js";
6
+ } from "./filesystem-x661k3y3.js";
7
7
  import {
8
- Event20
9
- } from "./workspace-76475ja5.js";
8
+ Event17
9
+ } from "./filesystem-pw2zv200.js";
10
10
  import {
11
- ID16
12
- } from "./workspace-daz98v5x.js";
11
+ ID14
12
+ } from "./filesystem-dkp7y90n.js";
13
13
  import {
14
- ID11,
15
- Service71
16
- } from "./workspace-gs67eedh.js";
14
+ ID13,
15
+ Service77
16
+ } from "./filesystem-5bg7ay96.js";
17
17
  import {
18
- load3,
19
- derive3
20
- } from "./workspace-je188k40.js";
18
+ load2,
19
+ derive2
20
+ } from "./filesystem-chxb0k6t.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID11.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service71;
29
+ const providers = yield* Service77;
30
30
  const bus = yield* Service85;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load3(baseURL, apiKey),
48
+ try: () => load2(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });