@opencode/core 0.0.0-dev-19903 → 0.0.0-dev-19904

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{git-h90kht10.js → state-00zhev0m.js} +174 -174
  8. package/dist/chunks/{git-s8d7rejh.js → state-02nrjc1r.js} +8 -8
  9. package/dist/chunks/{git-9c1agytg.js → state-06av6aqk.js} +5 -5
  10. package/dist/chunks/{git-f0s9gk5b.js → state-07xyahhy.js} +37 -37
  11. package/dist/chunks/{git-xxh2e4wm.js → state-082a02mf.js} +30 -30
  12. package/dist/chunks/{git-12kty0ww.js → state-0b59w6b8.js} +28 -28
  13. package/dist/chunks/{git-qjy2jana.js → state-0bd7yhfg.js} +9 -9
  14. package/dist/chunks/{git-vvj93n9v.js → state-0dm5naev.js} +8 -8
  15. package/dist/chunks/{git-0f9afca0.js → state-0f9afca0.js} +2 -2
  16. package/dist/chunks/{git-eab04pkv.js → state-0j67avv1.js} +9 -9
  17. package/dist/chunks/{git-7dqw4kz8.js → state-0jwsre1p.js} +5 -5
  18. package/dist/chunks/state-0mesazry.js +4 -0
  19. package/dist/chunks/{git-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  20. package/dist/chunks/{git-0q0f95c6.js → state-0q0f95c6.js} +1 -1
  21. package/dist/chunks/{git-evdfgtfh.js → state-0rg4ktbj.js} +5 -5
  22. package/dist/chunks/{git-4shhyfcg.js → state-0sxvvb3w.js} +27 -27
  23. package/dist/chunks/{git-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{git-taaehm3f.js → state-1pch5d31.js} +16 -16
  25. package/dist/chunks/{git-racwxhen.js → state-20pcmxm3.js} +26 -26
  26. package/dist/chunks/{git-21r38tys.js → state-21r38tys.js} +1 -1
  27. package/dist/chunks/{git-2402vzrj.js → state-2402vzrj.js} +1 -1
  28. package/dist/chunks/{git-rweyqa6c.js → state-24n67b4a.js} +5 -5
  29. package/dist/chunks/{git-qj96v8ds.js → state-24x3edfr.js} +42 -42
  30. package/dist/chunks/{git-etvbk3nd.js → state-26gnd6ny.js} +15 -15
  31. package/dist/chunks/{git-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{git-1497xpph.js → state-2jfqkynx.js} +26 -26
  33. package/dist/chunks/{git-xrmjqyg6.js → state-2q15ef5p.js} +6 -6
  34. package/dist/chunks/{git-kznzvves.js → state-2zazyk1c.js} +18 -18
  35. package/dist/chunks/{git-2zpp5gqn.js → state-2zwyj5vg.js} +38 -38
  36. package/dist/chunks/{git-h25kgf1n.js → state-3bf73811.js} +16 -16
  37. package/dist/chunks/{git-7ac170kv.js → state-3c4e3q8d.js} +4 -4
  38. package/dist/chunks/{git-bqsqrc54.js → state-3djcpfd1.js} +13 -13
  39. package/dist/chunks/{git-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{git-fe8wzdxj.js → state-3hatapfr.js} +13 -13
  41. package/dist/chunks/{git-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{git-k9avtbwf.js → state-3ktbe3hf.js} +6 -6
  43. package/dist/chunks/{git-6bs3d6h5.js → state-3sb31twn.js} +6 -6
  44. package/dist/chunks/{git-jxmk1xaj.js → state-3sm54r8q.js} +14 -14
  45. package/dist/chunks/{git-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{git-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{git-2f0bjgcj.js → state-3w0fmcng.js} +5 -5
  48. package/dist/chunks/{git-xcg3csh5.js → state-3w9dm1p6.js} +35 -35
  49. package/dist/chunks/{git-q5p5e0z4.js → state-408pxxnj.js} +7 -7
  50. package/dist/chunks/{git-nrxvsan6.js → state-445gfy8g.js} +28 -28
  51. package/dist/chunks/{git-44ke2mar.js → state-44ke2mar.js} +2 -2
  52. package/dist/chunks/{git-hvw0c4dx.js → state-4742rsvj.js} +25 -25
  53. package/dist/chunks/{git-bf4h81wh.js → state-4ahg9bde.js} +68 -68
  54. package/dist/chunks/{git-bz85s9hh.js → state-4jc5c4h4.js} +1 -1
  55. package/dist/chunks/{git-b05f6c20.js → state-4rkm8bzg.js} +30 -30
  56. package/dist/chunks/{git-x73ycqwj.js → state-4rxpvwq1.js} +9 -9
  57. package/dist/chunks/{git-wfkwfyq3.js → state-4t1gg8ab.js} +29 -29
  58. package/dist/chunks/{git-1ygqh575.js → state-56gdpj1q.js} +9 -9
  59. package/dist/chunks/{git-kqefehct.js → state-56zn65x2.js} +25 -25
  60. package/dist/chunks/{git-57ez7d0k.js → state-57ez7d0k.js} +2 -2
  61. package/dist/chunks/{git-khvphsrh.js → state-58t1cv1c.js} +5 -5
  62. package/dist/chunks/{git-5c4hm403.js → state-5c4hm403.js} +3 -3
  63. package/dist/chunks/{git-5daktx2q.js → state-5daktx2q.js} +1 -1
  64. package/dist/chunks/{git-pjkk14hr.js → state-5kk03qhb.js} +14 -14
  65. package/dist/chunks/{git-th8ayh5h.js → state-5n2n84t7.js} +47 -47
  66. package/dist/chunks/{git-t9nx39d4.js → state-5ndhfjk8.js} +20 -20
  67. package/dist/chunks/{git-k1s32fvt.js → state-5qfhnn3s.js} +28 -28
  68. package/dist/chunks/{git-mn6tw3kw.js → state-5ry2patn.js} +87 -87
  69. package/dist/chunks/{git-zf50ty56.js → state-5szeem2z.js} +54 -54
  70. package/dist/chunks/{git-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{git-669tq793.js → state-669tq793.js} +1 -1
  72. package/dist/chunks/{git-yb6bkkrk.js → state-69hatrp6.js} +27 -27
  73. package/dist/chunks/{git-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{git-74rrnwt7.js → state-6t298p2h.js} +12 -12
  75. package/dist/chunks/{git-bpgsx570.js → state-6yzef1y4.js} +11 -11
  76. package/dist/chunks/{git-fmtkes5b.js → state-78g5pcpb.js} +30 -30
  77. package/dist/chunks/{git-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{git-e0vtkr8g.js → state-7zdrdht4.js} +6 -6
  79. package/dist/chunks/{git-bydnjh3t.js → state-82rhge12.js} +9 -9
  80. package/dist/chunks/{git-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{git-n69xsk8s.js → state-8fd6bm6b.js} +11 -11
  82. package/dist/chunks/{git-x5bjv211.js → state-8fj2zpf8.js} +3 -3
  83. package/dist/chunks/{git-7ytt51fn.js → state-8sph61ej.js} +17 -17
  84. package/dist/chunks/{git-3s5npdm4.js → state-8xz1pmc4.js} +31 -31
  85. package/dist/chunks/{git-y18wrbdh.js → state-8xzwannf.js} +4 -4
  86. package/dist/chunks/{git-bhjgvdqt.js → state-96kdhf6f.js} +28 -28
  87. package/dist/chunks/{git-027nwmzm.js → state-9v91qm1a.js} +11 -11
  88. package/dist/chunks/{git-vykevjvn.js → state-a694798e.js} +5 -5
  89. package/dist/chunks/{git-amrd2r7h.js → state-a7atkcpn.js} +30 -30
  90. package/dist/chunks/{git-aaet6srn.js → state-aaet6srn.js} +2 -2
  91. package/dist/chunks/{git-antav6gs.js → state-ae4fnj82.js} +5 -5
  92. package/dist/chunks/{git-dz8h4260.js → state-afvjkwnc.js} +5 -5
  93. package/dist/chunks/{git-b7m1r73f.js → state-akftsrpr.js} +42 -42
  94. package/dist/chunks/{git-4tffx8e7.js → state-ard29dtx.js} +19 -19
  95. package/dist/chunks/{git-m55gzfht.js → state-az14jj64.js} +33 -33
  96. package/dist/chunks/{git-svvemcs6.js → state-b04b8x2j.js} +5 -5
  97. package/dist/chunks/{git-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{git-g867j5rj.js → state-b7hq0td9.js} +36 -36
  99. package/dist/chunks/{git-0418zk9p.js → state-b8bdg5q4.js} +22 -22
  100. package/dist/chunks/{git-gna097a3.js → state-bcdacnkc.js} +7 -7
  101. package/dist/chunks/{git-3n5txjme.js → state-brx6f7c0.js} +20 -20
  102. package/dist/chunks/{git-chq224vk.js → state-brz97kxb.js} +8 -8
  103. package/dist/chunks/{git-gd9hx4w4.js → state-bwy0wnve.js} +32 -32
  104. package/dist/chunks/{git-042kb97t.js → state-c9ys2xqx.js} +18 -18
  105. package/dist/chunks/{git-j5jt9zep.js → state-cahkz71r.js} +11 -11
  106. package/dist/chunks/{git-5dy7ce51.js → state-ccdh9qtz.js} +5 -5
  107. package/dist/chunks/{git-n4r3xatb.js → state-ckf8nxjz.js} +4 -4
  108. package/dist/chunks/{git-q6hnthzh.js → state-ckzpwx1e.js} +31 -31
  109. package/dist/chunks/{git-cmwkp3r5.js → state-cmwkp3r5.js} +1 -1
  110. package/dist/chunks/{git-xgc3eqma.js → state-crj50ndq.js} +29 -29
  111. package/dist/chunks/{git-9x0v0705.js → state-da7rfe2v.js} +41 -41
  112. package/dist/chunks/{git-6k54t28w.js → state-dbm93dyc.js} +4 -4
  113. package/dist/chunks/{git-dj2t23y0.js → state-dj2t23y0.js} +2 -2
  114. package/dist/chunks/{git-c765mh8b.js → state-djszqvmq.js} +9 -9
  115. package/dist/chunks/{git-cc75p45k.js → state-dsvv60hh.js} +6 -6
  116. package/dist/chunks/{git-x7rt4n2a.js → state-dswh3rat.js} +13 -13
  117. package/dist/chunks/{git-dxj72tfx.js → state-dxj72tfx.js} +1 -1
  118. package/dist/chunks/{git-qb7gw741.js → state-e7nzk88m.js} +46 -46
  119. package/dist/chunks/state-ec2warxy.js +26 -0
  120. package/dist/chunks/{git-7z7az0f5.js → state-ec8389mk.js} +4 -4
  121. package/dist/chunks/{git-f912p73c.js → state-eds2t28z.js} +15 -15
  122. package/dist/chunks/{git-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{git-vv868sj3.js → state-ef61rkg5.js} +15 -15
  124. package/dist/chunks/{git-79r9ttys.js → state-eh40ahnx.js} +40 -40
  125. package/dist/chunks/{git-redjg7jq.js → state-enhayb15.js} +10 -10
  126. package/dist/chunks/{git-h811gqcx.js → state-envn6cbq.js} +22 -22
  127. package/dist/chunks/{git-tegs1ycp.js → state-eqkxs06z.js} +6 -6
  128. package/dist/chunks/{git-c9xfc2bp.js → state-erqyqkr7.js} +9 -9
  129. package/dist/chunks/{git-erw5rpbs.js → state-erw5rpbs.js} +2 -2
  130. package/dist/chunks/{git-a5ya2r9j.js → state-etp4kp2m.js} +11 -11
  131. package/dist/chunks/{git-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{git-g9dfax70.js → state-fbzdn206.js} +11 -11
  133. package/dist/chunks/{git-7csk8cvc.js → state-fd4fwae4.js} +8 -8
  134. package/dist/chunks/{git-yackpcce.js → state-fp7m90ch.js} +1 -1
  135. package/dist/chunks/{git-rcmcqx8y.js → state-fpjcj5z0.js} +24 -24
  136. package/dist/chunks/{git-pr382p6v.js → state-fsrn267a.js} +10 -10
  137. package/dist/chunks/{git-qstdfg4v.js → state-fve1b9pq.js} +18 -18
  138. package/dist/chunks/{git-jqnpsya4.js → state-fwrss4ad.js} +4 -4
  139. package/dist/chunks/{git-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{git-kmm845r5.js → state-fydfvvar.js} +4 -4
  141. package/dist/chunks/{git-a8vyjn7h.js → state-fzpgp42w.js} +14 -14
  142. package/dist/chunks/{git-ec8zkn27.js → state-g10yfvmw.js} +12 -12
  143. package/dist/chunks/{git-66np2a7g.js → state-g8cz2a0a.js} +20 -20
  144. package/dist/chunks/{git-c1hryaat.js → state-gbmt15v2.js} +13 -13
  145. package/dist/chunks/{git-2pfzsskh.js → state-gcjfqdjs.js} +13 -13
  146. package/dist/chunks/{git-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{git-r7cq5eaz.js → state-gjsbc86j.js} +23 -23
  148. package/dist/chunks/{git-r9g7xawp.js → state-gkefhj12.js} +5 -5
  149. package/dist/chunks/{git-ajk3q3qd.js → state-gmvqgtzg.js} +25 -25
  150. package/dist/chunks/{git-hf3bkrve.js → state-gr1f03ws.js} +9 -9
  151. package/dist/chunks/{git-en4haw52.js → state-gr6w9vkk.js} +10 -10
  152. package/dist/chunks/{git-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{git-3d0dewsp.js → state-h0qb8jnk.js} +26 -26
  154. package/dist/chunks/{git-h2r7bbkd.js → state-h2r7bbkd.js} +3 -3
  155. package/dist/chunks/{git-9mwc0pdy.js → state-h34b2p0g.js} +9 -9
  156. package/dist/chunks/{git-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{git-xzv80epr.js → state-h7466sjn.js} +11 -11
  158. package/dist/chunks/{git-hdnk95c8.js → state-hdnk95c8.js} +2 -2
  159. package/dist/chunks/{git-c8ncvz4f.js → state-hpv0vy0a.js} +21 -21
  160. package/dist/chunks/{git-g61ajybw.js → state-hwakma19.js} +33 -33
  161. package/dist/chunks/{git-4m9se1rc.js → state-j4ehyg90.js} +11 -11
  162. package/dist/chunks/{git-j56e64zr.js → state-j56e64zr.js} +1 -1
  163. package/dist/chunks/{git-jg18etp6.js → state-j5hbqz0e.js} +5 -5
  164. package/dist/chunks/{git-nng2ktcm.js → state-jca4demv.js} +2 -2
  165. package/dist/chunks/{git-pcsj30ra.js → state-jcajstdn.js} +21 -21
  166. package/dist/chunks/{git-a0038gx3.js → state-jdwbeweq.js} +28 -28
  167. package/dist/chunks/{git-0bgk8r0f.js → state-jkzpbdjq.js} +18 -18
  168. package/dist/chunks/{git-1nqgt6nd.js → state-jmngmkqa.js} +93 -93
  169. package/dist/chunks/{git-7gnmq8tb.js → state-jn4dfycx.js} +9 -9
  170. package/dist/chunks/{git-zcqy6b3d.js → state-jqnmewag.js} +16 -16
  171. package/dist/chunks/{git-jw80jp6b.js → state-jw80jp6b.js} +1 -1
  172. package/dist/chunks/{git-8gx1pm1h.js → state-jx6e651b.js} +19 -19
  173. package/dist/chunks/{git-ep9bxrrg.js → state-jxahb5yh.js} +16 -16
  174. package/dist/chunks/{git-bscb95cy.js → state-jz5sxy2v.js} +6 -6
  175. package/dist/chunks/{git-1cdpybwa.js → state-k0345fj3.js} +4 -4
  176. package/dist/chunks/{git-1sv95vc5.js → state-k294xaja.js} +8 -8
  177. package/dist/chunks/{git-k3c624dm.js → state-k3c624dm.js} +3 -3
  178. package/dist/chunks/{git-aqc681er.js → state-kbb6kjfx.js} +15 -15
  179. package/dist/chunks/{git-xb8n6r1f.js → state-kcr5bzs1.js} +17 -17
  180. package/dist/chunks/{git-351zfds2.js → state-kcv68n8h.js} +11 -11
  181. package/dist/chunks/{git-2k71kv7p.js → state-kkp8zx71.js} +4 -4
  182. package/dist/chunks/{git-m0jqrx5p.js → state-m0jqrx5p.js} +2 -2
  183. package/dist/chunks/{git-m3fdjcah.js → state-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{git-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{git-f7d7heb6.js → state-mjyq2s3q.js} +9 -9
  186. package/dist/chunks/{git-sd1eqffg.js → state-mkx85r9t.js} +16 -16
  187. package/dist/chunks/{git-by185h06.js → state-mm9chaq4.js} +9 -9
  188. package/dist/chunks/{git-1ktgcqzb.js → state-mvr5bn4j.js} +12 -12
  189. package/dist/chunks/{git-md3jg0qp.js → state-nvbct2xq.js} +16 -16
  190. package/dist/chunks/{git-7v4dc6hc.js → state-ny0kgn08.js} +2 -2
  191. package/dist/chunks/state-nzkkyty2.js +252 -0
  192. package/dist/chunks/{git-h6r3nrb9.js → state-nzyhnfxz.js} +4 -4
  193. package/dist/chunks/{git-qd25dy8f.js → state-p7yx2ddp.js} +313 -313
  194. package/dist/chunks/{git-pw9v3g6d.js → state-p84dsdfh.js} +8 -8
  195. package/dist/chunks/{git-z8wga6cg.js → state-pc0qmpcp.js} +25 -25
  196. package/dist/chunks/{git-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{git-pknna89w.js → state-pknna89w.js} +1 -1
  198. package/dist/chunks/{git-nq7qbqzc.js → state-pnv527nz.js} +9 -9
  199. package/dist/chunks/{git-dafrvj9y.js → state-q3jrktjg.js} +10 -10
  200. package/dist/chunks/{git-7w99qc9d.js → state-q3t37ft6.js} +3 -3
  201. package/dist/chunks/{git-bavzqnzq.js → state-q5v3cv76.js} +6 -6
  202. package/dist/chunks/{git-ntg2j34t.js → state-qh8vdwx1.js} +6 -6
  203. package/dist/chunks/{git-aff0tsqy.js → state-qjn69esg.js} +36 -36
  204. package/dist/chunks/{git-9dexqdqx.js → state-qnazj4rm.js} +3 -3
  205. package/dist/chunks/{git-b9czbbsq.js → state-qq4wxkpg.js} +4 -4
  206. package/dist/chunks/{git-qsdy395h.js → state-qsdy395h.js} +1 -1
  207. package/dist/chunks/{git-mdjvh782.js → state-qwgcfn1w.js} +11 -11
  208. package/dist/chunks/{git-hqrkv6hr.js → state-qx5nxg37.js} +11 -11
  209. package/dist/chunks/{git-jnz4hg19.js → state-qytv0kk9.js} +9 -9
  210. package/dist/chunks/{git-ewff9sb5.js → state-r2psd9ex.js} +19 -19
  211. package/dist/chunks/{git-kw6mn35p.js → state-r3gf3h6k.js} +30 -30
  212. package/dist/chunks/{git-73tb2d7t.js → state-r5x6zcsm.js} +3 -3
  213. package/dist/chunks/{git-hn65cvtk.js → state-r8hgcn7e.js} +13 -13
  214. package/dist/chunks/{git-r8xr0va3.js → state-r8xr0va3.js} +1 -1
  215. package/dist/chunks/{git-5cc6w1gd.js → state-raxe0qt4.js} +28 -28
  216. package/dist/chunks/{git-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{git-323vqbpc.js → state-reg39rye.js} +16 -16
  218. package/dist/chunks/{git-tz95769g.js → state-rgaa4eab.js} +52 -52
  219. package/dist/chunks/{git-e7nvtajr.js → state-rnvjvqpz.js} +11 -11
  220. package/dist/chunks/{git-vymzd7ej.js → state-s3dw44fc.js} +32 -32
  221. package/dist/chunks/{git-43st4rky.js → state-sapn1ja6.js} +13 -13
  222. package/dist/chunks/{git-h3df4jtv.js → state-sxe8pyvn.js} +17 -17
  223. package/dist/chunks/{git-rys2qa45.js → state-syrrgdn4.js} +29 -29
  224. package/dist/chunks/{git-q9df8xkf.js → state-sywfsqmm.js} +28 -28
  225. package/dist/chunks/{git-4bxxhqwz.js → state-t3he66w2.js} +19 -19
  226. package/dist/chunks/{git-aj065mjf.js → state-t50p445y.js} +6 -6
  227. package/dist/chunks/{git-d9skpm4z.js → state-t5mbwcqt.js} +30 -30
  228. package/dist/chunks/{git-hg1650sb.js → state-t86zkmz1.js} +44 -44
  229. package/dist/chunks/{git-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{git-p28j5sbe.js → state-tbz0fdvh.js} +5 -5
  231. package/dist/chunks/{git-tcezcvh9.js → state-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{git-tdstcens.js → state-tdstcens.js} +1 -1
  233. package/dist/chunks/{git-4e8vs6eh.js → state-thjxzeng.js} +8 -8
  234. package/dist/chunks/{git-qa3qhgw8.js → state-tkmwgdpd.js} +7 -7
  235. package/dist/chunks/{git-td0n94qx.js → state-tnz9rdk5.js} +13 -13
  236. package/dist/chunks/{git-tvtrv512.js → state-tvtrv512.js} +1 -1
  237. package/dist/chunks/{git-b11ys966.js → state-twk0bc43.js} +17 -17
  238. package/dist/chunks/{git-4gtmt3my.js → state-twtg7g1r.js} +9 -9
  239. package/dist/chunks/{git-yr0pwqb0.js → state-ty5rq330.js} +1 -1
  240. package/dist/chunks/{git-dfx8dwsp.js → state-vac75nvd.js} +3 -3
  241. package/dist/chunks/{git-h29bkcyj.js → state-vahzvnrh.js} +15 -15
  242. package/dist/chunks/{git-rzvbcmqs.js → state-vcep48s5.js} +20 -20
  243. package/dist/chunks/{git-veqvce7d.js → state-veqvce7d.js} +1 -1
  244. package/dist/chunks/{git-r98e92ep.js → state-vncycja5.js} +4 -4
  245. package/dist/chunks/{git-jr9kt5xd.js → state-vnp99bxh.js} +5 -5
  246. package/dist/chunks/{git-9syry2ev.js → state-vs49n45c.js} +34 -34
  247. package/dist/chunks/{git-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{git-06dxphr1.js → state-w1k39n5e.js} +4 -4
  249. package/dist/chunks/{git-dbfv870a.js → state-w3d1wx13.js} +24 -24
  250. package/dist/chunks/{git-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{git-15nepkqg.js → state-w3x9v1nk.js} +8 -8
  252. package/dist/chunks/{git-1s3p39g4.js → state-w4arg62q.js} +6 -6
  253. package/dist/chunks/{git-039wtrre.js → state-waym30vw.js} +17 -17
  254. package/dist/chunks/{git-wd87259q.js → state-wd87259q.js} +1 -1
  255. package/dist/chunks/{git-srmfg1be.js → state-wfea6jy1.js} +4 -4
  256. package/dist/chunks/{git-t0a8ey22.js → state-wnt0n0xb.js} +42 -42
  257. package/dist/chunks/{git-c0scma1y.js → state-x0vavgn5.js} +19 -19
  258. package/dist/chunks/{git-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{git-j7s8a3y2.js → state-x1vjt85b.js} +23 -23
  260. package/dist/chunks/{git-fhz5gfgy.js → state-x2d9qy7d.js} +5 -5
  261. package/dist/chunks/{git-bq7ckpt2.js → state-xa5vzajb.js} +21 -21
  262. package/dist/chunks/{git-q8nspep2.js → state-xbq29fg5.js} +12 -12
  263. package/dist/chunks/{git-xfkkasph.js → state-xfkkasph.js} +1 -1
  264. package/dist/chunks/{git-acpcwzyg.js → state-xgqe14p2.js} +3 -3
  265. package/dist/chunks/{git-ybg6ac8c.js → state-xp1ezwwp.js} +18 -18
  266. package/dist/chunks/{git-0fv61ecr.js → state-xqr0k8gk.js} +22 -22
  267. package/dist/chunks/{git-pt0j3tr7.js → state-xs7q27km.js} +17 -17
  268. package/dist/chunks/{git-d5ebx1tt.js → state-xw29n0bq.js} +17 -17
  269. package/dist/chunks/{git-6tbkcq8e.js → state-xwkvp7ty.js} +5 -5
  270. package/dist/chunks/{git-34ss5zky.js → state-y08awjjx.js} +10 -10
  271. package/dist/chunks/{git-649zx5ph.js → state-y1b03k3j.js} +49 -49
  272. package/dist/chunks/{git-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{git-dpkg50ah.js → state-y71avatq.js} +4 -4
  274. package/dist/chunks/{git-b3kcpas4.js → state-y811x3x5.js} +31 -31
  275. package/dist/chunks/{git-wbkyxrgf.js → state-yjptyezs.js} +5 -5
  276. package/dist/chunks/{git-xwvzvhz2.js → state-ypncs580.js} +20 -20
  277. package/dist/chunks/{git-p5dd841b.js → state-yr9qftvg.js} +21 -21
  278. package/dist/chunks/{git-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{git-yrznvahk.js → state-yrznvahk.js} +2 -2
  280. package/dist/chunks/{git-98mg7qvv.js → state-ywfcz4kd.js} +24 -24
  281. package/dist/chunks/{git-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{git-fafk06hg.js → state-z42db625.js} +29 -29
  283. package/dist/chunks/{git-z63w68vq.js → state-z63w68vq.js} +2 -2
  284. package/dist/chunks/{git-v7g90mm9.js → state-z6bwbw5f.js} +15 -15
  285. package/dist/chunks/{git-mrenjtm5.js → state-zdd71wfk.js} +28 -28
  286. package/dist/chunks/{git-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{git-94tx7stp.js → state-zn3ftspj.js} +8 -8
  288. package/dist/chunks/{git-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{git-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +141 -141
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +69 -69
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +222 -222
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +103 -103
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +104 -104
  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 +90 -90
  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/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +133 -133
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +84 -84
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +90 -90
  479. package/dist/model-resolver.js +95 -95
  480. package/dist/model.js +99 -99
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +110 -110
  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 +87 -87
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +103 -103
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/compaction.js +132 -132
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +1 -1
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +5 -5
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +91 -91
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +1 -1
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +345 -345
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +6 -6
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +4 -4
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +226 -226
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +83 -83
  561. package/dist/provider.js +100 -100
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +97 -97
  566. package/dist/reference/instructions.js +86 -86
  567. package/dist/reference.js +90 -90
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +96 -96
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +133 -133
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +222 -222
  582. package/dist/session/execution.js +123 -123
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +85 -85
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +125 -125
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +1 -1
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +113 -113
  606. package/dist/session/runner/step.js +123 -123
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +171 -171
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +74 -74
  614. package/dist/session/store.js +84 -84
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +1 -1
  618. package/dist/session/title.js +149 -149
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +222 -222
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +219 -219
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +9 -9
  627. package/dist/shell.js +137 -137
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +104 -104
  630. package/dist/skill.js +111 -111
  631. package/dist/snapshot.js +88 -88
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +126 -126
  636. package/dist/tool/plugin/edit.js +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +121 -121
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +102 -102
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +216 -216
  645. package/dist/tool/plugin/skill.js +112 -112
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +111 -111
  648. package/dist/tool/plugin/websearch.js +111 -111
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +12 -12
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +3 -3
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +5 -5
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +5 -5
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +2 -2
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +1 -1
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +92 -92
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +79 -79
  684. package/dist/wellknown/plugin.js +73 -73
  685. package/dist/wellknown.js +80 -80
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +8 -8
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +97 -97
  694. package/package.json +8 -8
  695. package/dist/chunks/git-1tm0r3ht.js +0 -4
  696. package/dist/chunks/git-atagsz1a.js +0 -26
  697. package/dist/chunks/git-ttez9jgf.js +0 -252
  698. /package/dist/chunks/{git-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{git-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{git-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{git-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{git-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{git-24dcb14g.js → state-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{git-2710q6r3.js → state-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{git-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{git-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{git-359p4xyc.js → state-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{git-3asan66x.js → state-3asan66x.js} +0 -0
  709. /package/dist/chunks/{git-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{git-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{git-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{git-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{git-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{git-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{git-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{git-53557ph1.js → state-53557ph1.js} +0 -0
  717. /package/dist/chunks/{git-550bvhaj.js → state-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{git-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
  719. /package/dist/chunks/{git-6prwharc.js → state-6prwharc.js} +0 -0
  720. /package/dist/chunks/{git-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{git-7m9af43g.js → state-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{git-822emrt2.js → state-822emrt2.js} +0 -0
  723. /package/dist/chunks/{git-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{git-8n3pysct.js → state-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{git-922hggd3.js → state-922hggd3.js} +0 -0
  726. /package/dist/chunks/{git-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{git-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{git-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{git-af5trqkr.js → state-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{git-afrmfg78.js → state-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{git-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{git-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{git-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{git-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{git-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{git-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{git-d9fn303g.js → state-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{git-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{git-dajrwvna.js → state-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{git-dap0rakb.js → state-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{git-df08tz66.js → state-df08tz66.js} +0 -0
  742. /package/dist/chunks/{git-dy18nga0.js → state-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{git-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{git-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{git-ec1grn59.js → state-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{git-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{git-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{git-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{git-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{git-faypxj3z.js → state-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{git-fd410y7t.js → state-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{git-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  753. /package/dist/chunks/{git-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{git-g86h250q.js → state-g86h250q.js} +0 -0
  755. /package/dist/chunks/{git-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{git-gftt206x.js → state-gftt206x.js} +0 -0
  757. /package/dist/chunks/{git-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  758. /package/dist/chunks/{git-hk9envan.js → state-hk9envan.js} +0 -0
  759. /package/dist/chunks/{git-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{git-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{git-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{git-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{git-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{git-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{git-mp448xyj.js → state-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{git-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{git-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{git-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{git-njntx4h6.js → state-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{git-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{git-q74kybfr.js → state-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{git-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{git-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{git-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{git-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{git-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{git-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{git-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{git-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  780. /package/dist/chunks/{git-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{git-twg0f83k.js → state-twg0f83k.js} +0 -0
  782. /package/dist/chunks/{git-w803qqfp.js → state-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{git-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{git-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{git-wtztk69x.js → state-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{git-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{git-x61499pn.js → state-x61499pn.js} +0 -0
  788. /package/dist/chunks/{git-y44na4kk.js → state-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{git-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  790. /package/dist/chunks/{git-y8f7s663.js → state-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{git-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{git-ym463w8f.js → state-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{git-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./git-md3jg0qp.js";
2
+ Service79,
3
+ node83
4
+ } from "./state-nvbct2xq.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./git-rdw6cm16.js";
8
+ } from "./state-rdw6cm16.js";
9
9
  import {
10
- Service79,
11
- node83
12
- } from "./git-pjkk14hr.js";
10
+ Service76,
11
+ node80
12
+ } from "./state-5kk03qhb.js";
13
13
  import {
14
14
  rewrite2,
15
- ID13,
15
+ ID8,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service75,
20
- node79,
21
- Event17
22
- } from "./git-xcg3csh5.js";
19
+ Service64,
20
+ node67,
21
+ Event15
22
+ } from "./state-3w9dm1p6.js";
23
23
  import {
24
24
  __export
25
- } from "./git-9rqn6x4v.js";
25
+ } from "./state-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,25 +30,25 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event16,
33
+ Event: () => Event14,
34
34
  Family: () => Family2,
35
- ID: () => ID12,
36
- Info: () => Info26,
35
+ ID: () => ID7,
36
+ Info: () => Info21,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service74,
40
+ Service: () => Service63,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
- node: () => node78,
43
+ node: () => node66,
44
44
  parse: () => parse5
45
45
  });
46
46
  import { Model } from "@opencode/schema/model";
47
47
  import { Context, Effect, Layer, Stream } from "effect";
48
48
  import { makeLocationNode } from "@opencode/util/effect/app-node";
49
49
  import { freeze } from "immer";
50
- import { Event as Event16 } from "@opencode/schema/model";
51
- var ID12 = Model.ID;
50
+ import { Event as Event14 } from "@opencode/schema/model";
51
+ var ID7 = Model.ID;
52
52
  var VariantID2 = Model.VariantID;
53
53
  var Family2 = Model.Family;
54
54
  var ReasoningField2 = Model.ReasoningField;
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
56
56
  var Capabilities2 = Model.Capabilities;
57
57
  var Cost2 = Model.Cost;
58
58
  var Ref2 = Model.Ref;
59
- var Info26 = Model.Info;
59
+ var Info21 = Model.Info;
60
60
 
61
- class Service74 extends Context.Service()("@opencode/Model") {
61
+ class Service63 extends Context.Service()("@opencode/Model") {
62
62
  }
63
- var layer = Layer.effect(Service74, Effect.gen(function* () {
64
- const providers = yield* Service75;
65
- const bus = yield* Service82;
66
- const location = yield* Service79;
63
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
64
+ const providers = yield* Service64;
65
+ const bus = yield* Service79;
66
+ const location = yield* Service76;
67
67
  let input;
68
68
  const state = create3({
69
69
  name: "model",
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
108
108
  const models = writable(providerID);
109
109
  if (!models)
110
110
  return;
111
- const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
111
+ const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
112
112
  update(model);
113
113
  model.id = modelID;
114
114
  model.providerID = providerID;
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
197
197
  location: { directory: location.directory, workspaceID: location.workspaceID }
198
198
  });
199
199
  });
200
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
- return Service74.of({
200
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
+ return Service63.of({
202
202
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
203
203
  reload,
204
204
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
217
217
  })
218
218
  });
219
219
  }));
220
- var node78 = makeLocationNode({ service: Service74, layer, deps: [node79, node86, node83] });
220
+ var node66 = makeLocationNode({ service: Service63, layer, deps: [node67, node83, node80] });
221
221
  function compatibility2(input) {
222
222
  if (typeof input === "string")
223
223
  return { reasoningField: input };
@@ -228,9 +228,9 @@ function compatibility2(input) {
228
228
  function parse5(input) {
229
229
  const index = input.indexOf("/");
230
230
  return {
231
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
232
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
231
+ providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
232
+ modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
233
233
  };
234
234
  }
235
235
 
236
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service74, node78, compatibility2, parse5, exports_model2, Event16 };
236
+ export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info21, Service63, node66, compatibility2, parse5, exports_model2, Event14 };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service81
3
- } from "./git-74rrnwt7.js";
2
+ Service78
3
+ } from "./state-6t298p2h.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./git-gv6a8nnw.js";
7
+ } from "./state-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./git-9rqn6x4v.js";
10
+ } from "./state-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  var make12 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service81;
23
+ const git = yield* Service78;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./git-2a5m3afh.js";
5
+ } from "./state-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./git-9rqn6x4v.js";
8
+ } from "./state-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,66 +1,66 @@
1
- import {
2
- Service82,
3
- node86
4
- } from "./git-md3jg0qp.js";
5
1
  import {
6
2
  Service79,
7
3
  node83
8
- } from "./git-pjkk14hr.js";
4
+ } from "./state-nvbct2xq.js";
5
+ import {
6
+ Service76,
7
+ node80
8
+ } from "./state-5kk03qhb.js";
9
9
  import {
10
- ID7
11
- } from "./git-1tm0r3ht.js";
10
+ ID2
11
+ } from "./state-0mesazry.js";
12
12
  import {
13
- Service57,
13
+ Service51,
14
14
  login2,
15
- node62
16
- } from "./git-td0n94qx.js";
15
+ node55
16
+ } from "./state-tnz9rdk5.js";
17
17
  import {
18
18
  lazy2
19
- } from "./git-88xbtdfr.js";
19
+ } from "./state-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./git-9rqn6x4v.js";
22
+ } from "./state-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput3,
28
- Event: () => Event13,
27
+ CreateInput: () => CreateInput2,
28
+ Event: () => Event2,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info20,
31
- NotFoundError: () => NotFoundError7,
30
+ Info: () => Info2,
31
+ NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service56,
33
+ Service: () => Service14,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node61
35
+ node: () => node16
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event13 } from "@opencode/schema/pty";
40
+ import { Event as Event2 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info20 = Pty.Info;
45
- var CreateInput3 = Pty.CreateInput;
44
+ var Info2 = Pty.Info;
45
+ var CreateInput2 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID7
48
+ class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID2
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID7
54
+ ptyID: ID2
55
55
  }) {
56
56
  }
57
57
 
58
- class Service56 extends Context.Service()("@opencode/Pty") {
58
+ class Service14 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service56, Effect.gen(function* () {
61
- const bus = yield* Service82;
62
- const location = yield* Service79;
63
- const shell = yield* Service57;
60
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
61
+ const bus = yield* Service79;
62
+ const location = yield* Service76;
63
+ const shell = yield* Service51;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError7({ ptyID: id });
100
+ return yield* new NotFoundError2({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID7.ascending();
126
+ const id = ID2.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service56.of({ list, get, create, update, remove, write, attach });
271
+ return Service14.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node61 = makeLocationNode({
274
- service: Service56,
273
+ var node16 = makeLocationNode({
274
+ service: Service14,
275
275
  layer,
276
- deps: [node86, node83, node62]
276
+ deps: [node83, node80, node55]
277
277
  });
278
278
 
279
- export { Info20, CreateInput3, UpdateInput2, NotFoundError7, ExitedError2, Service56, node61, exports_pty, Event13 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./git-88xbtdfr.js";
3
+ } from "./state-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./git-5qd3pb7m.js";
6
+ } from "./state-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event11,
14
+ Event: () => Event9,
15
15
  Native: () => Native3,
16
- Options: () => Options8,
17
- Service: () => Service54,
16
+ Options: () => Options7,
17
+ Service: () => Service46,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured10,
20
+ configured: () => configured6,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer21,
22
+ layer: () => layer17,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node59,
25
+ node: () => node49,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event11 = { Updated: FileSystem.Event.Changed };
36
+ var Event9 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options8 = Schema.Struct({
56
+ var Options7 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service54 extends Context.Service()("@opencode/Watcher") {
60
+ class Service46 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
65
+ var layer17 = (options) => Layer.effect(Service46, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service54.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service46.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service54.of({ subscribe });
108
+ return Service46.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer17().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service54).subscribe,
134
+ subscribe: Context.get(context, Service46).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service54, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service46, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured10(options) {
168
- return makeGlobalNode({ service: Service54, layer: layer21(options), deps: [nativeNode2] });
167
+ function configured6(options) {
168
+ return makeGlobalNode({ service: Service46, layer: layer17(options), deps: [nativeNode2] });
169
169
  }
170
- var node59 = configured10();
170
+ var node49 = configured6();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event11, hasNativeBinding2, Native3, Options8, Service54, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured10, node59, exports_watcher };
190
+ export { Event9, hasNativeBinding2, Native3, Options7, Service46, Test3, layer17, testLayer3, nativeLayer2, nativeNode2, configured6, node49, exports_watcher };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./git-f0mxakyp.js";
3
+ } from "./state-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./git-w3wsvvr9.js";
6
+ } from "./state-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./git-7bmhse3q.js";
9
+ } from "./state-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./git-cf4snx6d.js";
12
+ } from "./state-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./git-822emrt2.js";
15
+ } from "./state-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./git-wd87259q.js";
18
+ } from "./state-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./git-m9w0rfyh.js";
21
+ } from "./state-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./git-a5ya2r9j.js";
2
+ Service80,
3
+ node84
4
+ } from "./state-etp4kp2m.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make21,
8
+ make20,
9
9
  combine2
10
- } from "./git-s8d7rejh.js";
10
+ } from "./state-02nrjc1r.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./git-5c4hm403.js";
13
+ } from "./state-5c4hm403.js";
14
14
  import {
15
15
  __export
16
- } from "./git-9rqn6x4v.js";
16
+ } from "./state-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info5,
21
+ Info: () => Info6,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service30,
25
+ Service: () => Service27,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node34,
29
+ node: () => node31,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info5 = InstructionEntry.Info;
37
+ var Info6 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service30 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service27 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make21({
65
- key: Key3.make(`api/${entry.key}`),
64
+ var source = (entry) => make20({
65
+ key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,8 +75,8 @@ var source = (entry) => make21({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service30, Effect.gen(function* () {
79
- const { db } = yield* Service83;
78
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
79
+ const { db } = yield* Service80;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service30.of({ list, put, remove, load });
111
+ return Service27.of({ list, put, remove, load });
112
112
  }));
113
- var node34 = makeLocationNode({ service: Service30, layer, deps: [node87] });
113
+ var node31 = makeLocationNode({ service: Service27, layer, deps: [node84] });
114
114
 
115
- export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node34, exports_instruction_entry };
115
+ export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service27, node31, exports_instruction_entry };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service82
3
- } from "./git-md3jg0qp.js";
2
+ Service79
3
+ } from "./state-nvbct2xq.js";
4
4
  import {
5
- Service16,
6
- Event3
7
- } from "./git-9x0v0705.js";
5
+ Service49,
6
+ Event11
7
+ } from "./state-da7rfe2v.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service16;
33
- const bus = yield* Service82;
32
+ const modelsDev = yield* Service49;
33
+ const bus = yield* Service79;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
36
36
  for (const provider of loaded.data) {
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
63
63
  loaded.data = snapshots(data);
64
64
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
65
65
  };
66
- yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
66
+ yield* bus.subscribe(Event11.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
67
67
  const latest = yield* modelsDev.get();
68
68
  if (snapshots(latest) !== loaded.data)
69
69
  yield* apply(latest);