@opencode/core 0.0.0-dev-21097 → 0.0.0-dev-21099

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{filesystem-pwj5rdcd.js → instance-02pcd3mv.js} +11 -11
  8. package/dist/chunks/{filesystem-vv3y69gp.js → instance-07hrmx0v.js} +14 -14
  9. package/dist/chunks/{filesystem-b674v2dg.js → instance-0bwnrbmb.js} +5 -5
  10. package/dist/chunks/{filesystem-hejvtsvz.js → instance-0c75tskb.js} +25 -25
  11. package/dist/chunks/{filesystem-xchnq1rw.js → instance-0e0cfdnf.js} +21 -21
  12. package/dist/chunks/{filesystem-h1fzt65m.js → instance-0eygq2qe.js} +23 -23
  13. package/dist/chunks/{filesystem-0vbcp93d.js → instance-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{filesystem-w27sj3yr.js → instance-127bf6n0.js} +11 -11
  15. package/dist/chunks/{filesystem-yp2x3t23.js → instance-1acjjqhc.js} +4 -4
  16. package/dist/chunks/{filesystem-s23t0sgf.js → instance-1gbawmnh.js} +14 -14
  17. package/dist/chunks/{filesystem-jng0nqkb.js → instance-1n700na1.js} +8 -8
  18. package/dist/chunks/{filesystem-bnh99ys5.js → instance-1p0bnafd.js} +28 -28
  19. package/dist/chunks/{filesystem-0vgd89nm.js → instance-1shb4axq.js} +187 -187
  20. package/dist/chunks/{filesystem-vbfgae2j.js → instance-1y283654.js} +4 -4
  21. package/dist/chunks/{filesystem-3y4449r3.js → instance-2305ynaa.js} +11 -11
  22. package/dist/chunks/{filesystem-cccqwvbx.js → instance-232m6n2g.js} +20 -20
  23. package/dist/chunks/{filesystem-9b8xs5my.js → instance-23c51vh1.js} +25 -25
  24. package/dist/chunks/{filesystem-2sqqht4f.js → instance-25epb70h.js} +14 -14
  25. package/dist/chunks/{filesystem-p27m0357.js → instance-267rdfpx.js} +26 -26
  26. package/dist/chunks/{filesystem-wb3rjyn9.js → instance-29mjmzb9.js} +11 -11
  27. package/dist/chunks/{filesystem-rsbgpcf1.js → instance-2bry28ra.js} +13 -13
  28. package/dist/chunks/{filesystem-qrrhb8ky.js → instance-2m563psq.js} +15 -15
  29. package/dist/chunks/{filesystem-1zc40608.js → instance-2s5awdyv.js} +22 -22
  30. package/dist/chunks/{filesystem-7vfecp73.js → instance-2zj16vbw.js} +6 -6
  31. package/dist/chunks/{filesystem-0jnpagrx.js → instance-34mtkh67.js} +14 -14
  32. package/dist/chunks/{filesystem-80450aj3.js → instance-3bzv9pys.js} +38 -38
  33. package/dist/chunks/{filesystem-07t7mezg.js → instance-3ctrce4h.js} +9 -9
  34. package/dist/chunks/{filesystem-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{filesystem-krmw70tg.js → instance-3ge2q0gs.js} +11 -11
  36. package/dist/chunks/{filesystem-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{filesystem-3hwn7j4h.js → instance-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{filesystem-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{filesystem-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{filesystem-3zsf4n22.js → instance-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{filesystem-hvgxnq90.js → instance-40xykbd8.js} +31 -31
  42. package/dist/chunks/{filesystem-p6am81vq.js → instance-46zqej79.js} +4 -4
  43. package/dist/chunks/{filesystem-p0zp6289.js → instance-4fzef2sb.js} +11 -11
  44. package/dist/chunks/{filesystem-30d532ky.js → instance-4ve67wsf.js} +21 -21
  45. package/dist/chunks/{filesystem-h233cewe.js → instance-4x940bbd.js} +29 -29
  46. package/dist/chunks/{filesystem-etjpps74.js → instance-52fm113n.js} +5 -5
  47. package/dist/chunks/{filesystem-54ma36ye.js → instance-54ma36ye.js} +1 -1
  48. package/dist/chunks/{filesystem-pxp5dr2j.js → instance-59ghbda3.js} +17 -17
  49. package/dist/chunks/{filesystem-asnhnvp7.js → instance-5am97tkc.js} +32 -32
  50. package/dist/chunks/{filesystem-rrzb2chc.js → instance-5b7hgm3k.js} +23 -23
  51. package/dist/chunks/{filesystem-8ykay6nk.js → instance-5g4y1a69.js} +61 -61
  52. package/dist/chunks/{filesystem-2ktf0ed2.js → instance-5gzjtbzb.js} +8 -8
  53. package/dist/chunks/{filesystem-6ts2tav8.js → instance-5j7y2f2r.js} +32 -32
  54. package/dist/chunks/{filesystem-5m9w47nd.js → instance-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{filesystem-n0w3kzrq.js → instance-5pgk4d1b.js} +24 -24
  56. package/dist/chunks/{filesystem-nma959mg.js → instance-5rzwp8tz.js} +3 -3
  57. package/dist/chunks/{filesystem-jws6fkes.js → instance-6pc27hjz.js} +4 -4
  58. package/dist/chunks/{filesystem-x5wezabh.js → instance-6ppq11ms.js} +9 -9
  59. package/dist/chunks/{filesystem-46aw7twt.js → instance-6w35fctz.js} +22 -22
  60. package/dist/chunks/{filesystem-6xb47vfp.js → instance-6xb47vfp.js} +1 -1
  61. package/dist/chunks/{filesystem-qsm41c2f.js → instance-6xmgmz7x.js} +15 -15
  62. package/dist/chunks/{filesystem-2ep0sb47.js → instance-6zpgyj16.js} +57 -57
  63. package/dist/chunks/{filesystem-k8fcjj7a.js → instance-71sd8a42.js} +1 -1
  64. package/dist/chunks/{filesystem-775gj3j1.js → instance-775gj3j1.js} +2 -2
  65. package/dist/chunks/{filesystem-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{filesystem-snhtq5rh.js → instance-7k4az683.js} +34 -34
  67. package/dist/chunks/{filesystem-02vvp44e.js → instance-7mfsncfk.js} +18 -18
  68. package/dist/chunks/{filesystem-07tryz20.js → instance-7vmctcp2.js} +43 -43
  69. package/dist/chunks/{filesystem-g6j9qx6r.js → instance-824gn3ys.js} +119 -100
  70. package/dist/chunks/{filesystem-w1eejvng.js → instance-84txncab.js} +5 -5
  71. package/dist/chunks/{filesystem-xv8zrgj9.js → instance-85fw9maw.js} +21 -21
  72. package/dist/chunks/{filesystem-zpfff07x.js → instance-8985b1a6.js} +4 -4
  73. package/dist/chunks/{filesystem-89znhe33.js → instance-89znhe33.js} +1 -1
  74. package/dist/chunks/{filesystem-z3q6x25t.js → instance-8b37ym5m.js} +10 -10
  75. package/dist/chunks/{filesystem-587x5jpz.js → instance-8h479pk7.js} +4 -4
  76. package/dist/chunks/{filesystem-8m6m0r52.js → instance-8m6m0r52.js} +1 -1
  77. package/dist/chunks/{filesystem-f59v3rfb.js → instance-8m84705y.js} +5 -5
  78. package/dist/chunks/{filesystem-7m1c1jsp.js → instance-8qw7pxzt.js} +33 -33
  79. package/dist/chunks/{filesystem-9hn6k4tm.js → instance-8v6pyhej.js} +8 -8
  80. package/dist/chunks/{filesystem-91qna3x0.js → instance-91qna3x0.js} +3 -3
  81. package/dist/chunks/{filesystem-xg2nbbpt.js → instance-95z6fv9b.js} +15 -15
  82. package/dist/chunks/{filesystem-w631yebr.js → instance-9a1k9g3n.js} +24 -24
  83. package/dist/chunks/{filesystem-4etmdyck.js → instance-9kfxcdfw.js} +2 -2
  84. package/dist/chunks/{filesystem-y4n9nk6t.js → instance-9sh20y9v.js} +13 -13
  85. package/dist/chunks/{filesystem-hs93bp8x.js → instance-9w7n7shh.js} +13 -13
  86. package/dist/chunks/{filesystem-r8e07nrn.js → instance-a0z514k5.js} +18 -18
  87. package/dist/chunks/{filesystem-e784kar7.js → instance-aaex48tb.js} +6 -6
  88. package/dist/chunks/{filesystem-p7fhmwf4.js → instance-acq6b9fv.js} +24 -24
  89. package/dist/chunks/{filesystem-gervhfxb.js → instance-ahkz17h5.js} +10 -10
  90. package/dist/chunks/{filesystem-vnm30m0d.js → instance-ajmv5nbv.js} +33 -33
  91. package/dist/chunks/{filesystem-ftdzjz2b.js → instance-aqb881vk.js} +8 -8
  92. package/dist/chunks/{filesystem-08a66mj2.js → instance-at0ccb8d.js} +32 -32
  93. package/dist/chunks/{filesystem-h6160avj.js → instance-atx9zh8t.js} +14 -14
  94. package/dist/chunks/{filesystem-r9w3djhf.js → instance-b0dgvpy7.js} +9 -9
  95. package/dist/chunks/{filesystem-gar365x9.js → instance-b1858sz3.js} +32 -32
  96. package/dist/chunks/{filesystem-0wcknnjt.js → instance-bbv3mhz8.js} +29 -29
  97. package/dist/chunks/{filesystem-xw0n9vxc.js → instance-bmcm4fj6.js} +8 -8
  98. package/dist/chunks/{filesystem-n448072v.js → instance-brjqm64a.js} +16 -16
  99. package/dist/chunks/{filesystem-fcea241w.js → instance-bt3c5eex.js} +19 -19
  100. package/dist/chunks/{filesystem-es1vcfrp.js → instance-c1fqxshp.js} +3 -3
  101. package/dist/chunks/{filesystem-1as1zqq3.js → instance-c2daa5vw.js} +32 -32
  102. package/dist/chunks/{filesystem-ss358qx3.js → instance-c2sed5cq.js} +3 -3
  103. package/dist/chunks/instance-c34z7nbb.js +26 -0
  104. package/dist/chunks/{filesystem-9bcmbpes.js → instance-c4xjxyca.js} +23 -23
  105. package/dist/chunks/{filesystem-snsprfj8.js → instance-c6gzrvvf.js} +11 -11
  106. package/dist/chunks/{filesystem-bfkxme06.js → instance-c7zb5h48.js} +4 -4
  107. package/dist/chunks/{filesystem-w5mg0pm7.js → instance-cb241p16.js} +36 -36
  108. package/dist/chunks/{filesystem-whpp4bmr.js → instance-ceagnxsq.js} +17 -17
  109. package/dist/chunks/{filesystem-kxcagzjw.js → instance-ck1wx2ez.js} +11 -11
  110. package/dist/chunks/{filesystem-c60ns7m9.js → instance-ckh0gbrw.js} +11 -11
  111. package/dist/chunks/{filesystem-0gw8y1qr.js → instance-cqxnvb5y.js} +28 -28
  112. package/dist/chunks/{filesystem-mwb5krxt.js → instance-cxc3bdbf.js} +13 -13
  113. package/dist/chunks/{filesystem-9vty051d.js → instance-czpwz1rq.js} +4 -4
  114. package/dist/chunks/{filesystem-6aa49561.js → instance-dg3mjkm1.js} +18 -18
  115. package/dist/chunks/{filesystem-gmq0q1jy.js → instance-djp2fycw.js} +40 -40
  116. package/dist/chunks/{filesystem-zzc2rv2c.js → instance-djx1mwnr.js} +33 -33
  117. package/dist/chunks/{filesystem-psxqp789.js → instance-dkbtan51.js} +17 -17
  118. package/dist/chunks/{filesystem-dqxsqydv.js → instance-dqxsqydv.js} +1 -1
  119. package/dist/chunks/{filesystem-qqeeq2t9.js → instance-drwq78ky.js} +7 -7
  120. package/dist/chunks/{filesystem-4xpgt2w9.js → instance-dssbfrwz.js} +5 -5
  121. package/dist/chunks/{filesystem-6nh6exr1.js → instance-dy6r3xfz.js} +15 -15
  122. package/dist/chunks/{filesystem-vgpzwg9s.js → instance-e0x4ttdp.js} +6 -6
  123. package/dist/chunks/{filesystem-38e2jam4.js → instance-ea04m9va.js} +19 -19
  124. package/dist/chunks/{filesystem-tc9gbqqd.js → instance-eb7a064p.js} +14 -14
  125. package/dist/chunks/{filesystem-tnebjsbp.js → instance-ecm3t2qm.js} +7 -7
  126. package/dist/chunks/{filesystem-4fty74w9.js → instance-ed2af551.js} +32 -32
  127. package/dist/chunks/{filesystem-eej6y6fw.js → instance-eej6y6fw.js} +2 -2
  128. package/dist/chunks/{filesystem-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{filesystem-kecqjjhm.js → instance-eh6ej367.js} +5 -5
  130. package/dist/chunks/{filesystem-6f38f3cc.js → instance-end80c8k.js} +6 -6
  131. package/dist/chunks/{filesystem-ng3918dk.js → instance-es4zr9pq.js} +8 -8
  132. package/dist/chunks/{filesystem-2k8khapm.js → instance-esafk7q3.js} +5 -5
  133. package/dist/chunks/{filesystem-gpcre8d6.js → instance-esdpvets.js} +30 -30
  134. package/dist/chunks/{filesystem-kjazax3b.js → instance-evtefrbt.js} +36 -36
  135. package/dist/chunks/{filesystem-x0hd6zgn.js → instance-f6v6wbhb.js} +29 -29
  136. package/dist/chunks/{filesystem-er3z8nt6.js → instance-f719k1b1.js} +11 -11
  137. package/dist/chunks/{filesystem-7jv8pth4.js → instance-fabmkk17.js} +9 -9
  138. package/dist/chunks/{filesystem-03h44krc.js → instance-fbyy0mex.js} +16 -16
  139. package/dist/chunks/{filesystem-jf5sn25e.js → instance-ff6302r3.js} +9 -9
  140. package/dist/chunks/{filesystem-q9atvw7t.js → instance-fjzmqsy4.js} +19 -19
  141. package/dist/chunks/{filesystem-d9kkddyy.js → instance-fknhp1f0.js} +15 -15
  142. package/dist/chunks/{filesystem-cv183kbd.js → instance-fmdneypy.js} +16 -16
  143. package/dist/chunks/instance-fnen5n8v.js +513 -0
  144. package/dist/chunks/{filesystem-0937mx8x.js → instance-fp9bakwp.js} +44 -44
  145. package/dist/chunks/{filesystem-y22x406f.js → instance-fpcv2s7e.js} +9 -9
  146. package/dist/chunks/{filesystem-8yqpp134.js → instance-fpqpb0jh.js} +38 -38
  147. package/dist/chunks/{filesystem-ft3hqk2c.js → instance-ft3hqk2c.js} +2 -2
  148. package/dist/chunks/{filesystem-r1ttj1d9.js → instance-fvwcn869.js} +13 -13
  149. package/dist/chunks/instance-g2mnarth.js +257 -0
  150. package/dist/chunks/{filesystem-6qbgvnkf.js → instance-g5yckxe7.js} +18 -18
  151. package/dist/chunks/{filesystem-zz6ecdv6.js → instance-g6752xp8.js} +45 -45
  152. package/dist/chunks/{filesystem-xydsqsh2.js → instance-gcnhbd6s.js} +7 -7
  153. package/dist/chunks/{filesystem-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{filesystem-gfxpx5cc.js → instance-ged0btwt.js} +24 -24
  155. package/dist/chunks/{filesystem-t09p28ev.js → instance-gjj0w8vm.js} +5 -5
  156. package/dist/chunks/{filesystem-f1tb1czw.js → instance-gp5qrrfc.js} +19 -19
  157. package/dist/chunks/{filesystem-cmn490qh.js → instance-gr6p6gfz.js} +5 -5
  158. package/dist/chunks/{filesystem-jmqc0pby.js → instance-gvswa42f.js} +36 -36
  159. package/dist/chunks/{filesystem-8jd28ff9.js → instance-gwhq7dkj.js} +34 -34
  160. package/dist/chunks/{filesystem-rnh8gmer.js → instance-h3yj0vvr.js} +3 -3
  161. package/dist/chunks/{filesystem-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{filesystem-31xfzrxg.js → instance-h7s7r6s9.js} +5 -5
  163. package/dist/chunks/{filesystem-507yxzag.js → instance-h9gkrpkv.js} +23 -23
  164. package/dist/chunks/{filesystem-hgz4x7wa.js → instance-hgz4x7wa.js} +1 -1
  165. package/dist/chunks/{filesystem-v9ehyc5m.js → instance-hrqqw0d2.js} +22 -22
  166. package/dist/chunks/{filesystem-8v19xmhz.js → instance-hzbz069y.js} +10 -10
  167. package/dist/chunks/{filesystem-9by2vwm0.js → instance-j10209x8.js} +13 -13
  168. package/dist/chunks/{filesystem-qcbxq7s7.js → instance-jkpzgnzm.js} +22 -22
  169. package/dist/chunks/{filesystem-2h6st6ba.js → instance-k3zs8mk3.js} +3 -3
  170. package/dist/chunks/{filesystem-sqefph0y.js → instance-k82gsvwq.js} +12 -12
  171. package/dist/chunks/{filesystem-wyr73qy8.js → instance-kahtq0rm.js} +89 -89
  172. package/dist/chunks/{filesystem-2gtamfpm.js → instance-kg1zk48k.js} +47 -47
  173. package/dist/chunks/{filesystem-khmqacep.js → instance-khmqacep.js} +1 -1
  174. package/dist/chunks/{filesystem-vnv3p9p5.js → instance-km2r5eqx.js} +9 -9
  175. package/dist/chunks/{filesystem-k0zqc70v.js → instance-kptkzqz4.js} +9 -9
  176. package/dist/chunks/{filesystem-pyg4v0b6.js → instance-kqx1b4hy.js} +4 -4
  177. package/dist/chunks/{filesystem-cd1b78pt.js → instance-kswzf6rg.js} +18 -18
  178. package/dist/chunks/{filesystem-h1am710r.js → instance-kw4werpp.js} +4 -4
  179. package/dist/chunks/{filesystem-kwb1v3vj.js → instance-kwb1v3vj.js} +1 -1
  180. package/dist/chunks/{filesystem-6bd2pqzr.js → instance-m23ar8n0.js} +9 -9
  181. package/dist/chunks/{filesystem-1aewdh01.js → instance-m4afxs0m.js} +30 -30
  182. package/dist/chunks/{filesystem-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{filesystem-maspj1v3.js → instance-maspj1v3.js} +1 -1
  184. package/dist/chunks/{filesystem-63db42yp.js → instance-mb14aw74.js} +2 -2
  185. package/dist/chunks/{filesystem-2jsc7m5t.js → instance-mk17ft8p.js} +17 -17
  186. package/dist/chunks/{filesystem-nqvhkxhf.js → instance-mka49qzg.js} +45 -45
  187. package/dist/chunks/{filesystem-cabhyt31.js → instance-mm64xe51.js} +45 -45
  188. package/dist/chunks/{filesystem-8y31xnqm.js → instance-mtrbqqrq.js} +5 -5
  189. package/dist/chunks/{filesystem-acxvbeq8.js → instance-my9thjhg.js} +28 -28
  190. package/dist/chunks/{filesystem-knwnc4qv.js → instance-mythxaj4.js} +28 -28
  191. package/dist/chunks/{filesystem-833djyrt.js → instance-nbqm0g43.js} +9 -9
  192. package/dist/chunks/{filesystem-yd6d2jvs.js → instance-ne2g8w1g.js} +6 -6
  193. package/dist/chunks/{filesystem-cqp2d08n.js → instance-nqe267qb.js} +5 -5
  194. package/dist/chunks/{filesystem-8xnfn94n.js → instance-ntsywmmy.js} +5 -5
  195. package/dist/chunks/{filesystem-3tpgyx3s.js → instance-nw1564rn.js} +5 -5
  196. package/dist/chunks/{filesystem-fqhbsnr5.js → instance-nw53exab.js} +8 -8
  197. package/dist/chunks/{filesystem-3dn5pc9v.js → instance-p5c6qk6w.js} +5 -5
  198. package/dist/chunks/instance-pf31ssb9.js +18 -0
  199. package/dist/chunks/{filesystem-bxqk5pf5.js → instance-phz50fbd.js} +9 -9
  200. package/dist/chunks/{filesystem-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{filesystem-pknna89w.js → instance-pknna89w.js} +1 -1
  202. package/dist/chunks/{filesystem-7zt5x37y.js → instance-pnzf6mjf.js} +1 -1
  203. package/dist/chunks/{filesystem-waskdk5r.js → instance-pp79t3cy.js} +4 -4
  204. package/dist/chunks/{filesystem-7j94k27c.js → instance-ptx7arng.js} +12 -12
  205. package/dist/chunks/{filesystem-caryx1m1.js → instance-q1r1wbh3.js} +76 -76
  206. package/dist/chunks/{filesystem-tz4n1mmd.js → instance-q5asdkn4.js} +4 -4
  207. package/dist/chunks/{filesystem-bztb4x3p.js → instance-q5thtecy.js} +28 -28
  208. package/dist/chunks/{filesystem-d041t0xd.js → instance-qhtc6pnq.js} +20 -20
  209. package/dist/chunks/{filesystem-qnc92qwc.js → instance-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{filesystem-qsdy395h.js → instance-qsdy395h.js} +1 -1
  211. package/dist/chunks/{filesystem-qnw0xb2y.js → instance-qyb77jn5.js} +19 -19
  212. package/dist/chunks/{filesystem-st3966jx.js → instance-r30g5e8x.js} +24 -24
  213. package/dist/chunks/{filesystem-w4dthrcw.js → instance-r4rakwfx.js} +16 -16
  214. package/dist/chunks/{filesystem-78t2d834.js → instance-r7x6gt3g.js} +20 -20
  215. package/dist/chunks/{filesystem-z4axm6qf.js → instance-rbc3hwcr.js} +17 -17
  216. package/dist/chunks/{filesystem-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{filesystem-1gb4vmd8.js → instance-re8xb6b7.js} +23 -23
  218. package/dist/chunks/{filesystem-tkb22qbm.js → instance-rert0e01.js} +2 -2
  219. package/dist/chunks/{filesystem-eaj1djv9.js → instance-rhjbct0v.js} +8 -8
  220. package/dist/chunks/{filesystem-c41wscbt.js → instance-rj3eygr5.js} +2 -2
  221. package/dist/chunks/{filesystem-4c8xdwe5.js → instance-rmh16r2t.js} +8 -8
  222. package/dist/chunks/{filesystem-facj0jna.js → instance-rt0r1pkw.js} +46 -46
  223. package/dist/chunks/{filesystem-t2j1t4km.js → instance-rv4krrex.js} +13 -13
  224. package/dist/chunks/{filesystem-gat4z9ax.js → instance-ry6831an.js} +9 -9
  225. package/dist/chunks/{filesystem-kfvqva61.js → instance-rzyeq4f0.js} +20 -20
  226. package/dist/chunks/{filesystem-mx10gvt2.js → instance-s53t415q.js} +42 -42
  227. package/dist/chunks/{filesystem-c8ax2afj.js → instance-sa8ekw3f.js} +2 -2
  228. package/dist/chunks/{filesystem-vwm3tg4g.js → instance-spyvaxrp.js} +24 -24
  229. package/dist/chunks/{filesystem-rjjgdj0z.js → instance-ssqht3zz.js} +18 -18
  230. package/dist/chunks/{filesystem-h57ncv5h.js → instance-sxtr224w.js} +50 -50
  231. package/dist/chunks/{filesystem-syv4x271.js → instance-syv4x271.js} +1 -1
  232. package/dist/chunks/{filesystem-ztce92cm.js → instance-t3et87n4.js} +11 -11
  233. package/dist/chunks/{filesystem-ce60aw2j.js → instance-t5xcttng.js} +11 -11
  234. package/dist/chunks/{filesystem-t2fc4mz5.js → instance-t6vsspdg.js} +7 -7
  235. package/dist/chunks/{filesystem-nr0ethte.js → instance-tatr8t94.js} +51 -51
  236. package/dist/chunks/{filesystem-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{filesystem-e2b4yt8m.js → instance-tb1y6b1q.js} +3 -3
  238. package/dist/chunks/{filesystem-tdstcens.js → instance-tdstcens.js} +1 -1
  239. package/dist/chunks/{filesystem-x8paxjda.js → instance-tj808qj3.js} +5 -5
  240. package/dist/chunks/{filesystem-27tz6dez.js → instance-tjxj6aya.js} +10 -10
  241. package/dist/chunks/{filesystem-tm0kqsz3.js → instance-tm0kqsz3.js} +1 -1
  242. package/dist/chunks/{filesystem-jzf8tgw8.js → instance-tqgdrysy.js} +1 -1
  243. package/dist/chunks/{filesystem-tyytaxap.js → instance-tyytaxap.js} +1 -1
  244. package/dist/chunks/{filesystem-v0es1rhs.js → instance-v0es1rhs.js} +2 -2
  245. package/dist/chunks/{filesystem-7df8kt0s.js → instance-v639mppr.js} +32 -32
  246. package/dist/chunks/{filesystem-v7p4zvkq.js → instance-v7p4zvkq.js} +2 -2
  247. package/dist/chunks/{filesystem-74m5w1sy.js → instance-vdmrxs2w.js} +13 -13
  248. package/dist/chunks/{filesystem-veqvce7d.js → instance-veqvce7d.js} +1 -1
  249. package/dist/chunks/{filesystem-3xc93c34.js → instance-vtwem28b.js} +32 -32
  250. package/dist/chunks/{filesystem-p68pcfcq.js → instance-vxawt6an.js} +35 -35
  251. package/dist/chunks/{filesystem-vvq1tzt4.js → instance-vza8906b.js} +24 -24
  252. package/dist/chunks/{filesystem-vzs5sf6e.js → instance-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{filesystem-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{filesystem-wd87259q.js → instance-wd87259q.js} +1 -1
  255. package/dist/chunks/{filesystem-5xhg0e0e.js → instance-wfh2jnc0.js} +28 -28
  256. package/dist/chunks/{filesystem-xbs74qd7.js → instance-wjzp5aeh.js} +25 -25
  257. package/dist/chunks/{filesystem-5s363vnc.js → instance-x36ftd0t.js} +4 -4
  258. package/dist/chunks/{filesystem-ymre1dc4.js → instance-x56w00d7.js} +22 -22
  259. package/dist/chunks/{filesystem-vf9g0jar.js → instance-x5ta20vj.js} +50 -50
  260. package/dist/chunks/{filesystem-db2wf4at.js → instance-x661k3y3.js} +4 -4
  261. package/dist/chunks/{filesystem-jcs24wp4.js → instance-xm1fa1s6.js} +25 -25
  262. package/dist/chunks/{filesystem-57m81f9p.js → instance-xsqk2kv2.js} +35 -35
  263. package/dist/chunks/{filesystem-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{filesystem-44ak30pa.js → instance-y5rf7nzv.js} +4 -4
  265. package/dist/chunks/{filesystem-dpkg50ah.js → instance-y71avatq.js} +4 -4
  266. package/dist/chunks/{filesystem-0et1tp1z.js → instance-y7e6j8a3.js} +8 -8
  267. package/dist/chunks/{filesystem-419nhwmz.js → instance-y8sbnv07.js} +14 -14
  268. package/dist/chunks/{filesystem-gw7cjrad.js → instance-yrcj3v3g.js} +4 -4
  269. package/dist/chunks/{filesystem-gvbfp7vz.js → instance-yv0vqey5.js} +5 -5
  270. package/dist/chunks/{filesystem-bjx1sjef.js → instance-ywt8jp22.js} +9 -9
  271. package/dist/chunks/{filesystem-69p1xp33.js → instance-ywyx2haj.js} +17 -17
  272. package/dist/chunks/{filesystem-5x8621rx.js → instance-z06dqtsc.js} +28 -28
  273. package/dist/chunks/{filesystem-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{filesystem-qnjek3yh.js → instance-z5sfynej.js} +4 -4
  275. package/dist/chunks/{filesystem-71802bng.js → instance-zde058jh.js} +29 -29
  276. package/dist/chunks/{filesystem-p7a39gy5.js → instance-zdwe30dy.js} +6 -6
  277. package/dist/chunks/{filesystem-v3dgmss6.js → instance-zhpzfnnm.js} +13 -6
  278. package/dist/chunks/{filesystem-7hzqa16b.js → instance-zkv9kzbd.js} +8 -8
  279. package/dist/chunks/{filesystem-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{filesystem-dtncp1ka.js → instance-zx98sy1b.js} +21 -21
  281. package/dist/chunks/{filesystem-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{filesystem-wmx5fypc.js → instance-zyhasg2x.js} +14 -14
  283. package/dist/chunks/{filesystem-b3f8fkhc.js → instance-zyk1yjk8.js} +5 -5
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +87 -87
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +116 -116
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +1 -1
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +87 -87
  318. package/dist/database/database.js +72 -72
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +81 -81
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +367 -367
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +76 -76
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +2 -2
  418. package/dist/filesystem/location-watcher.js +214 -214
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +106 -106
  424. package/dist/form.js +86 -86
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +101 -101
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +358 -358
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +355 -355
  464. package/dist/location.js +87 -87
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +109 -109
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +101 -101
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +104 -104
  475. package/dist/models-dev.js +109 -109
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +84 -84
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +115 -115
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +90 -90
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +78 -78
  486. package/dist/plugin/command.js +104 -104
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +211 -211
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +329 -329
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +117 -117
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +116 -116
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +116 -116
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +112 -112
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +113 -113
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +125 -125
  516. package/dist/plugin/provider/local.js +122 -122
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +125 -125
  521. package/dist/plugin/provider/openai.js +116 -116
  522. package/dist/plugin/provider/opencode.js +100 -100
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +125 -125
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +168 -168
  535. package/dist/plugin/sdk.js +78 -78
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +134 -134
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +348 -348
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +114 -114
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin/websearch/tinyfish.js +6 -6
  553. package/dist/plugin.js +214 -214
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +86 -86
  557. package/dist/provider.js +103 -103
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +99 -99
  561. package/dist/reference/instructions.js +91 -91
  562. package/dist/reference.js +91 -91
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +99 -99
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +135 -135
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +217 -217
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +154 -154
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +90 -90
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +79 -79
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +224 -224
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +127 -127
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +162 -162
  606. package/dist/session/shell.js +130 -130
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +77 -77
  610. package/dist/session/store.js +89 -89
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +205 -205
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +216 -216
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +211 -209
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +11 -11
  623. package/dist/shell.js +130 -130
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +114 -114
  627. package/dist/snapshot.js +93 -93
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +130 -130
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +124 -124
  635. package/dist/tool/plugin/grep.js +126 -126
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +122 -122
  639. package/dist/tool/plugin/question.js +107 -107
  640. package/dist/tool/plugin/read.js +125 -125
  641. package/dist/tool/plugin/shell.js +210 -210
  642. package/dist/tool/plugin/skill.js +115 -115
  643. package/dist/tool/plugin/subagent.js +212 -212
  644. package/dist/tool/plugin/webfetch.js +114 -114
  645. package/dist/tool/plugin/websearch.js +116 -116
  646. package/dist/tool/plugin/write.js +124 -124
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +16 -16
  651. package/dist/types/session/error.d.ts +4 -0
  652. package/dist/types/session.d.ts +13 -5
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +95 -95
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +91 -91
  674. package/dist/voice.js +90 -90
  675. package/dist/websearch.js +86 -86
  676. package/dist/wellknown/plugin.js +78 -78
  677. package/dist/wellknown.js +83 -83
  678. package/dist/workspace/driver.js +7 -7
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +84 -84
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +10 -10
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +91 -91
  685. package/dist/worktree.js +98 -98
  686. package/package.json +8 -8
  687. package/dist/chunks/filesystem-1x11rq2a.js +0 -18
  688. package/dist/chunks/filesystem-cj4w0vz2.js +0 -26
  689. package/dist/chunks/filesystem-esv2y23e.js +0 -513
  690. package/dist/chunks/filesystem-f18w82cy.js +0 -257
  691. /package/dist/chunks/{filesystem-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{filesystem-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{filesystem-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{filesystem-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{filesystem-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{filesystem-24dcb14g.js → instance-24dcb14g.js} +0 -0
  697. /package/dist/chunks/{filesystem-2710q6r3.js → instance-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{filesystem-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{filesystem-2bv980vf.js → instance-2bv980vf.js} +0 -0
  700. /package/dist/chunks/{filesystem-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{filesystem-359p4xyc.js → instance-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{filesystem-3asan66x.js → instance-3asan66x.js} +0 -0
  703. /package/dist/chunks/{filesystem-3t0ybcrp.js → instance-3t0ybcrp.js} +0 -0
  704. /package/dist/chunks/{filesystem-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{filesystem-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{filesystem-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{filesystem-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{filesystem-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{filesystem-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{filesystem-53557ph1.js → instance-53557ph1.js} +0 -0
  711. /package/dist/chunks/{filesystem-550bvhaj.js → instance-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{filesystem-5qd3pb7m.js → instance-5qd3pb7m.js} +0 -0
  713. /package/dist/chunks/{filesystem-6prwharc.js → instance-6prwharc.js} +0 -0
  714. /package/dist/chunks/{filesystem-6q2bdcd1.js → instance-6q2bdcd1.js} +0 -0
  715. /package/dist/chunks/{filesystem-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{filesystem-7m9af43g.js → instance-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{filesystem-822emrt2.js → instance-822emrt2.js} +0 -0
  718. /package/dist/chunks/{filesystem-84wd9syh.js → instance-84wd9syh.js} +0 -0
  719. /package/dist/chunks/{filesystem-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{filesystem-8n3pysct.js → instance-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{filesystem-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
  722. /package/dist/chunks/{filesystem-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{filesystem-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{filesystem-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{filesystem-af5trqkr.js → instance-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{filesystem-afrmfg78.js → instance-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{filesystem-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{filesystem-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{filesystem-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{filesystem-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{filesystem-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{filesystem-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{filesystem-d9fn303g.js → instance-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{filesystem-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{filesystem-dajrwvna.js → instance-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{filesystem-dap0rakb.js → instance-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{filesystem-df08tz66.js → instance-df08tz66.js} +0 -0
  738. /package/dist/chunks/{filesystem-dy18nga0.js → instance-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{filesystem-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{filesystem-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{filesystem-ec1grn59.js → instance-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{filesystem-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{filesystem-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{filesystem-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{filesystem-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{filesystem-faypxj3z.js → instance-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{filesystem-fd410y7t.js → instance-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{filesystem-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{filesystem-g86h250q.js → instance-g86h250q.js} +0 -0
  750. /package/dist/chunks/{filesystem-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{filesystem-gftt206x.js → instance-gftt206x.js} +0 -0
  752. /package/dist/chunks/{filesystem-hcxmzztb.js → instance-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{filesystem-hk9envan.js → instance-hk9envan.js} +0 -0
  754. /package/dist/chunks/{filesystem-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{filesystem-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{filesystem-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{filesystem-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{filesystem-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{filesystem-jze0r7bz.js → instance-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{filesystem-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{filesystem-m18g726c.js → instance-m18g726c.js} +0 -0
  762. /package/dist/chunks/{filesystem-mp448xyj.js → instance-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{filesystem-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{filesystem-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{filesystem-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{filesystem-njntx4h6.js → instance-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{filesystem-pkyv6v7h.js → instance-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{filesystem-pyv0edze.js → instance-pyv0edze.js} +0 -0
  769. /package/dist/chunks/{filesystem-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{filesystem-q74kybfr.js → instance-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{filesystem-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{filesystem-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{filesystem-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{filesystem-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{filesystem-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{filesystem-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{filesystem-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{filesystem-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{filesystem-ve7vex1e.js → instance-ve7vex1e.js} +0 -0
  780. /package/dist/chunks/{filesystem-w803qqfp.js → instance-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{filesystem-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{filesystem-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{filesystem-wjj7prxr.js → instance-wjj7prxr.js} +0 -0
  784. /package/dist/chunks/{filesystem-wtztk69x.js → instance-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{filesystem-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{filesystem-x61499pn.js → instance-x61499pn.js} +0 -0
  787. /package/dist/chunks/{filesystem-y44na4kk.js → instance-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{filesystem-y8f7s663.js → instance-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{filesystem-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{filesystem-ym463w8f.js → instance-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{filesystem-z5v4ffb3.js → instance-z5v4ffb3.js} +0 -0
  792. /package/dist/chunks/{filesystem-z9919s4g.js → instance-z9919s4g.js} +0 -0
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./instance-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./filesystem-0gw8y1qr.js";
6
+ } from "./instance-cqxnvb5y.js";
7
7
  import {
8
- Service82,
9
- node86
10
- } from "./filesystem-2sqqht4f.js";
8
+ Service79,
9
+ node83
10
+ } from "./instance-25epb70h.js";
11
11
  import {
12
- Service77,
13
- node81
14
- } from "./filesystem-2ep0sb47.js";
12
+ Service66,
13
+ node69
14
+ } from "./instance-6zpgyj16.js";
15
15
  import {
16
16
  __export
17
- } from "./filesystem-9rqn6x4v.js";
17
+ } from "./instance-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service76,
26
- node: () => node80,
25
+ Service: () => Service33,
26
+ node: () => node36,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service76 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service33 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service76, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service82;
55
- const permission = yield* Service77;
54
+ const location = yield* Service79;
55
+ const permission = yield* Service66;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service76.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service33.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node80 = makeLocationNode({ service: Service76, layer, deps: [FSUtil.node, node86, node81] });
106
+ var node36 = makeLocationNode({ service: Service33, layer, deps: [FSUtil.node, node83, node69] });
107
107
 
108
- export { Kind2, ResolveInput2, Service76, resolvePath2, node80, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service33, resolvePath2, node36, exports_file_access };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service70
4
- } from "./filesystem-57m81f9p.js";
3
+ Service73
4
+ } from "./instance-xsqk2kv2.js";
5
5
  import {
6
- Service56
7
- } from "./filesystem-vf9g0jar.js";
6
+ Service35
7
+ } from "./instance-x5ta20vj.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service70;
12
+ const providers = yield* Service73;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service56);
14
+ const service = yield* Effect.serviceOption(Service35);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./filesystem-hgz4x7wa.js";
6
+ } from "./instance-hgz4x7wa.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./filesystem-eej6y6fw.js";
9
+ } from "./instance-eej6y6fw.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./filesystem-3hwn7j4h.js";
12
+ } from "./instance-3hwn7j4h.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./filesystem-v7p4zvkq.js";
15
+ } from "./instance-v7p4zvkq.js";
16
16
  import {
17
- Service82,
18
- node86
19
- } from "./filesystem-2sqqht4f.js";
17
+ Service79,
18
+ node83
19
+ } from "./instance-25epb70h.js";
20
20
  import {
21
- Service63,
22
- node65
23
- } from "./filesystem-hvgxnq90.js";
21
+ Service43,
22
+ node46
23
+ } from "./instance-40xykbd8.js";
24
24
  import {
25
25
  __export
26
- } from "./filesystem-9rqn6x4v.js";
26
+ } from "./instance-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service62,
33
- node: () => node64
32
+ Service: () => Service42,
33
+ node: () => node45
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound3,
46
- Service: () => Service62,
46
+ Service: () => Service42,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node64,
52
+ node: () => node45,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service62 extends Context.Service()("@opencode/Environment") {
61
+ class Service42 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service62, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service82;
66
- const workspace = yield* Service63;
65
+ const location = yield* Service79;
66
+ const workspace = yield* Service43;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service62.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service42.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node64 = makeLocationNode({
71
- service: Service62,
70
+ var node45 = makeLocationNode({
71
+ service: Service42,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node86, node65]
73
+ deps: [CrossSpawnSpawner.node, node83, node46]
74
74
  });
75
75
 
76
- export { Service62, node64, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service42, node45, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  match2
3
- } from "./filesystem-y1fvbwt7.js";
3
+ } from "./instance-y1fvbwt7.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./instance-9rqn6x4v.js";
7
7
 
8
8
  // src/managed-policy.ts
9
9
  var exports_managed_policy = {};
10
10
  __export(exports_managed_policy, {
11
11
  ManagedPolicy: () => exports_managed_policy,
12
- Service: () => Service15,
12
+ Service: () => Service29,
13
13
  decision: () => decision2,
14
- layer: () => layer9,
15
- node: () => node18,
14
+ layer: () => layer14,
15
+ node: () => node32,
16
16
  statements: () => statements2
17
17
  });
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
 
22
- class Service15 extends Context.Service()("@opencode/ManagedPolicy") {
22
+ class Service29 extends Context.Service()("@opencode/ManagedPolicy") {
23
23
  }
24
- var layer9 = Layer.effect(Service15, Effect.gen(function* () {
24
+ var layer14 = Layer.effect(Service29, Effect.gen(function* () {
25
25
  const changes = yield* PubSub.unbounded();
26
26
  const state = { current: { statements: [] } };
27
- return Service15.of({
27
+ return Service29.of({
28
28
  changes: () => Stream.fromPubSub(changes),
29
29
  current: () => state.current,
30
30
  set: (next) => Effect.gen(function* () {
@@ -36,7 +36,7 @@ var layer9 = Layer.effect(Service15, Effect.gen(function* () {
36
36
  })
37
37
  });
38
38
  }));
39
- var node18 = makeGlobalNode({ service: Service15, layer: layer9, deps: [] });
39
+ var node32 = makeGlobalNode({ service: Service29, layer: layer14, deps: [] });
40
40
  function statements2(entries, organization) {
41
41
  return [
42
42
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
50
50
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
51
51
  }
52
52
 
53
- export { Service15, layer9, node18, statements2, decision2, exports_managed_policy };
53
+ export { Service29, layer14, node32, statements2, decision2, exports_managed_policy };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node79
5
- } from "./filesystem-27tz6dez.js";
4
+ node76
5
+ } from "./instance-tjxj6aya.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./filesystem-gw7cjrad.js";
9
+ } from "./instance-yrcj3v3g.js";
10
10
  import {
11
- Service80,
12
- node84
13
- } from "./filesystem-2ktf0ed2.js";
11
+ Service86,
12
+ node90
13
+ } from "./instance-5gzjtbzb.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./filesystem-2ep0sb47.js";
16
+ } from "./instance-6zpgyj16.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./filesystem-vv3y69gp.js";
19
+ } from "./instance-07hrmx0v.js";
20
20
  import {
21
- Error3
22
- } from "./filesystem-xbs74qd7.js";
21
+ Error5
22
+ } from "./instance-wjzp5aeh.js";
23
23
  import {
24
24
  get5
25
- } from "./filesystem-54ma36ye.js";
25
+ } from "./instance-54ma36ye.js";
26
26
  import {
27
- Service26,
28
- node30
29
- } from "./filesystem-ce60aw2j.js";
27
+ Service22,
28
+ node26
29
+ } from "./instance-t5xcttng.js";
30
30
  import {
31
- make13
32
- } from "./filesystem-qqeeq2t9.js";
31
+ make14
32
+ } from "./instance-drwq78ky.js";
33
33
  import {
34
34
  toLLMMessages2
35
- } from "./filesystem-7zt5x37y.js";
35
+ } from "./instance-pnzf6mjf.js";
36
36
  import {
37
37
  __export
38
- } from "./filesystem-9rqn6x4v.js";
38
+ } from "./instance-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: () => Service25,
43
+ Service: () => Service21,
44
44
  SessionModelRequest: () => exports_model_request,
45
45
  baseTranscript: () => baseTranscript2,
46
46
  boundImages: () => boundImages2,
47
- layer: () => layer12,
48
- node: () => node29,
47
+ layer: () => layer11,
48
+ node: () => node25,
49
49
  outputLimit: () => outputLimit2,
50
50
  unsupportedParts: () => unsupportedParts2
51
51
  });
@@ -83,7 +83,7 @@ var baseTranscript2 = (input) => {
83
83
  return {
84
84
  providerMetadataKey,
85
85
  system: [
86
- input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
86
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
87
87
  input.initial
88
88
  ].filter((part) => part.length > 0).map(SystemPart.make),
89
89
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
156
156
  });
157
157
  };
158
158
 
159
- class Service25 extends Context.Service()("@opencode/SessionModelRequest") {
159
+ class Service21 extends Context.Service()("@opencode/SessionModelRequest") {
160
160
  }
161
- var layer12 = Layer.effect(Service25, Effect.gen(function* () {
162
- const hooks = yield* Service80;
163
- const transport = yield* Service26;
161
+ var layer11 = Layer.effect(Service21, Effect.gen(function* () {
162
+ const hooks = yield* Service86;
163
+ const transport = yield* Service22;
164
164
  const app = yield* Metadata2;
165
165
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
166
166
  const session = input.session;
@@ -168,7 +168,7 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
168
168
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
169
169
  const tools = input.tools ?? {
170
170
  definitions: [],
171
- execute: () => new Error3({ message: "Tools are not available for this request" })
171
+ execute: () => new Error5({ message: "Tools are not available for this request" })
172
172
  };
173
173
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
174
174
  const shaped = yield* shape({
@@ -265,17 +265,17 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
265
265
  };
266
266
  });
267
267
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
268
- return Service25.of({
268
+ return Service21.of({
269
269
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
270
270
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
271
271
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
272
272
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
273
273
  });
274
274
  }));
275
- var node29 = makeLocationNode({
276
- service: Service25,
277
- layer: layer12,
278
- deps: [node84, node30, node79]
275
+ var node25 = makeLocationNode({
276
+ service: Service21,
277
+ layer: layer11,
278
+ deps: [node90, node26, node76]
279
279
  });
280
280
 
281
- export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service25, layer12, node29, exports_model_request };
281
+ export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service21, layer11, node25, exports_model_request };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./instance-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
7
7
  __export(exports_driver, {
8
8
  Binding: () => Binding2,
9
- Error: () => Error5,
9
+ Error: () => Error3,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make19,
14
- node: () => node66,
13
+ make: () => make15,
14
+ node: () => node47,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
20
20
  var Binding2 = Schema.Record(Schema.String, Schema.Json);
21
21
 
22
- class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error3 extends Schema.TaggedError()("WorkspaceDriver.Error", {
23
23
  message: Schema.optional(Schema.String),
24
24
  cause: Schema.optional(Schema.Defect())
25
25
  }) {
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make19 = (driver) => driver;
32
+ var make15 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node66 = registryNode2({});
47
+ var node47 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node66, exports_driver };
49
+ export { Binding2, Error3, ProviderNotFound2, make15, RegistryService2, registry2, registryNode2, node47, exports_driver };
@@ -1,47 +1,47 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./filesystem-03h44krc.js";
2
+ Service82,
3
+ node86
4
+ } from "./instance-fbyy0mex.js";
5
5
  import {
6
- Service29,
7
- node32
8
- } from "./filesystem-nr0ethte.js";
6
+ Service25,
7
+ node29
8
+ } from "./instance-tatr8t94.js";
9
9
  import {
10
- Service77,
11
- node81
12
- } from "./filesystem-2ep0sb47.js";
10
+ Service66,
11
+ node69
12
+ } from "./instance-6zpgyj16.js";
13
13
  import {
14
- Service39,
15
- node41
16
- } from "./filesystem-xbs74qd7.js";
14
+ Service84,
15
+ node88
16
+ } from "./instance-wjzp5aeh.js";
17
17
  import {
18
18
  __export
19
- } from "./filesystem-9rqn6x4v.js";
19
+ } from "./instance-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service28,
26
- layer: () => layer14,
27
- name: () => name14,
25
+ Service: () => Service17,
26
+ layer: () => layer10,
27
+ name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node31
29
+ node: () => node20
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service28 extends Context.Service()("@opencode/McpTool") {
38
+ class Service17 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer14 = Layer.effect(Service28, Effect.gen(function* () {
41
- const mcp = yield* Service29;
42
- const tools = yield* Service39;
43
- const bus = yield* Service84;
44
- const permission = yield* Service77;
40
+ var layer10 = Layer.effect(Service17, Effect.gen(function* () {
41
+ const mcp = yield* Service25;
42
+ const tools = yield* Service84;
43
+ const bus = yield* Service82;
44
+ const permission = yield* Service66;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name14(tool.server, tool.name),
59
+ action: name13(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: { input: input ?? {} },
@@ -105,7 +105,7 @@ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service17.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node31 = makeLocationNode({
124
- service: Service28,
125
- layer: layer14,
126
- deps: [node41, node32, node88, node81]
123
+ var node20 = makeLocationNode({
124
+ service: Service17,
125
+ layer: layer10,
126
+ deps: [node88, node29, node86, node69]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service28, layer14, node31, exports_mcp3 };
129
+ export { namespace2, name13, Service17, layer10, node20, exports_mcp3 };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service82
3
- } from "./filesystem-2sqqht4f.js";
2
+ Service79
3
+ } from "./instance-25epb70h.js";
4
4
  import {
5
- ID8,
5
+ ID12,
6
6
  Family2
7
- } from "./filesystem-jmqc0pby.js";
7
+ } from "./instance-gvswa42f.js";
8
8
  import {
9
- Service56
10
- } from "./filesystem-vf9g0jar.js";
9
+ Service35
10
+ } from "./instance-x5ta20vj.js";
11
11
  import {
12
- Service62
13
- } from "./filesystem-p7fhmwf4.js";
12
+ Service42
13
+ } from "./instance-acq6b9fv.js";
14
14
  import {
15
15
  spawner2
16
- } from "./filesystem-khmqacep.js";
16
+ } from "./instance-khmqacep.js";
17
17
  import {
18
18
  foldSettings2
19
- } from "./filesystem-e784kar7.js";
19
+ } from "./instance-aaex48tb.js";
20
20
 
21
21
  // src/plugin/provider/local.ts
22
22
  import { define } from "@opencode/plugin/effect/plugin";
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
32
32
  id: input.id,
33
33
  effect: Effect.fn(function* (ctx) {
34
34
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
35
- const config = yield* Service56;
36
- const environment = yield* Effect.serviceOption(Service62);
37
- const location = yield* Effect.serviceOption(Service82);
35
+ const config = yield* Service35;
36
+ const environment = yield* Effect.serviceOption(Service42);
37
+ const location = yield* Effect.serviceOption(Service79);
38
38
  const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
39
39
  const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
40
40
  const loaded = { models: [], hash: "[]" };
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
63
63
  for (const item of loaded.models) {
64
64
  const spec = input.model(item);
65
65
  providers.models.update(input.providerID, spec.id, (model) => {
66
- model.modelID = ID8.make(spec.id);
66
+ model.modelID = ID12.make(spec.id);
67
67
  model.name = spec.name || spec.id;
68
68
  model.family = spec.family ? Family2.make(spec.family) : undefined;
69
69
  model.capabilities = {
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./filesystem-dpkg50ah.js";
3
+ } from "./instance-y71avatq.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./instance-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service4,
13
- node: () => node5
12
+ Service: () => Service11,
13
+ node: () => node13
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service4 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service11 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service4, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service4.of({
27
+ return Service11.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
52
+ var node13 = makeGlobalNode({ service: Service11, layer, deps: [Npm.node] });
53
53
 
54
- export { Service4, node5, exports_update };
54
+ export { Service11, node13, exports_update };