@opencode/core 0.0.0-dev-19284 → 0.0.0-dev-19285

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{pty-0hpxrkyb.js → reference-0hpxrkyb.js} +2 -2
  9. package/dist/chunks/{pty-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{pty-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
  11. package/dist/chunks/{pty-84c1s7yv.js → reference-18s2crhv.js} +23 -23
  12. package/dist/chunks/{pty-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
  13. package/dist/chunks/{pty-113zqzxk.js → reference-1hx3a7j4.js} +29 -29
  14. package/dist/chunks/{pty-kke37ydq.js → reference-1j68e3we.js} +15 -15
  15. package/dist/chunks/{pty-k15hmge1.js → reference-1n1re824.js} +18 -18
  16. package/dist/chunks/{pty-4ahbs3kp.js → reference-1s85ea80.js} +15 -15
  17. package/dist/chunks/{pty-nqh3n51t.js → reference-1vbqt11h.js} +12 -12
  18. package/dist/chunks/{pty-21r38tys.js → reference-21r38tys.js} +1 -1
  19. package/dist/chunks/{pty-myh2tnjz.js → reference-21tjen5n.js} +20 -20
  20. package/dist/chunks/{pty-7wabxp46.js → reference-231s2dv0.js} +20 -20
  21. package/dist/chunks/{pty-zy5ev4j8.js → reference-24p0y6dv.js} +20 -20
  22. package/dist/chunks/{pty-8nqvx115.js → reference-26n19ak3.js} +4 -4
  23. package/dist/chunks/{pty-hhqp0ev3.js → reference-27kr68t2.js} +4 -4
  24. package/dist/chunks/{pty-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{pty-s7kwm6zm.js → reference-2atv2341.js} +5 -5
  26. package/dist/chunks/{pty-hvw41qaw.js → reference-2bcpzs2r.js} +24 -24
  27. package/dist/chunks/{pty-7bfxxbhh.js → reference-2mpb3c7h.js} +3 -3
  28. package/dist/chunks/{pty-6tfkz8mw.js → reference-2q8hwwwc.js} +5 -5
  29. package/dist/chunks/{pty-xc71xt00.js → reference-3222fpmk.js} +5 -5
  30. package/dist/chunks/{pty-3c2gg74p.js → reference-35pawy1v.js} +9 -9
  31. package/dist/chunks/{pty-y37t65q2.js → reference-3g06hv1z.js} +10 -10
  32. package/dist/chunks/{pty-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{pty-m9g7kjz2.js → reference-3jf7jxvk.js} +1 -1
  34. package/dist/chunks/{pty-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{pty-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{pty-9ex99xm7.js → reference-3wqf40ez.js} +7 -7
  37. package/dist/chunks/{pty-1k9r8ajs.js → reference-43vjkkh2.js} +24 -24
  38. package/dist/chunks/{pty-bh0zzf2s.js → reference-4c2df9zx.js} +8 -8
  39. package/dist/chunks/{pty-52fdmm22.js → reference-4dp2399g.js} +61 -61
  40. package/dist/chunks/{pty-xfxn6gek.js → reference-4fk03y38.js} +1 -1
  41. package/dist/chunks/{pty-c4jwsn70.js → reference-4gpvdk2f.js} +14 -14
  42. package/dist/chunks/{pty-t2vdd8h0.js → reference-4q4p5end.js} +11 -11
  43. package/dist/chunks/{pty-n3hdt412.js → reference-4rh3z4xh.js} +13 -13
  44. package/dist/chunks/{pty-vewreb7k.js → reference-4zn0r1r4.js} +12 -12
  45. package/dist/chunks/{pty-2n7rzc9a.js → reference-525hap2p.js} +9 -9
  46. package/dist/chunks/{pty-qd417my5.js → reference-54gn6h9v.js} +1 -1
  47. package/dist/chunks/{pty-w31q4z5a.js → reference-56pr6y5x.js} +11 -11
  48. package/dist/chunks/{pty-5daktx2q.js → reference-5daktx2q.js} +1 -1
  49. package/dist/chunks/{pty-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
  50. package/dist/chunks/{pty-ef87s1j5.js → reference-5vb8t1df.js} +11 -11
  51. package/dist/chunks/{pty-92c83kr3.js → reference-636mnkjh.js} +15 -15
  52. package/dist/chunks/{pty-669tq793.js → reference-669tq793.js} +1 -1
  53. package/dist/chunks/{pty-sedetxkq.js → reference-6dxje0nq.js} +26 -26
  54. package/dist/chunks/{pty-2402vzrj.js → reference-6h73sxmp.js} +5 -5
  55. package/dist/chunks/{pty-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
  56. package/dist/chunks/{pty-z33n7yxw.js → reference-6q0ssdw5.js} +1 -1
  57. package/dist/chunks/{pty-bajakh74.js → reference-6tt5evqq.js} +4 -4
  58. package/dist/chunks/{pty-wm0z4180.js → reference-6xg3k3v3.js} +24 -24
  59. package/dist/chunks/{pty-x4kntfbn.js → reference-6ykfmbhh.js} +20 -20
  60. package/dist/chunks/{pty-71q4at8m.js → reference-71q4at8m.js} +1 -1
  61. package/dist/chunks/{pty-dw85xzsy.js → reference-73mg2vtt.js} +8 -8
  62. package/dist/chunks/{pty-evp6550k.js → reference-742bzcdy.js} +16 -16
  63. package/dist/chunks/{pty-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{pty-zwv60398.js → reference-7edp414f.js} +2 -2
  65. package/dist/chunks/{pty-h6dyyfam.js → reference-7gc0xae5.js} +169 -169
  66. package/dist/chunks/{pty-bf9a8ejx.js → reference-7jmqxgxn.js} +20 -20
  67. package/dist/chunks/{pty-wm433qqz.js → reference-7jshreb6.js} +44 -44
  68. package/dist/chunks/{pty-byz24ksx.js → reference-7k65wcnh.js} +32 -32
  69. package/dist/chunks/{pty-kt5w8vxh.js → reference-7zdm33ac.js} +10 -10
  70. package/dist/chunks/{pty-egb2azzx.js → reference-7zz35dhy.js} +26 -26
  71. package/dist/chunks/{pty-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
  72. package/dist/chunks/{pty-8p4f9s12.js → reference-8p4f9s12.js} +2 -2
  73. package/dist/chunks/{pty-hrvd6t1f.js → reference-8w9tvb25.js} +9 -9
  74. package/dist/chunks/{pty-yrc26zmc.js → reference-8xx08dm0.js} +24 -24
  75. package/dist/chunks/{pty-48jnmw64.js → reference-94ty58yj.js} +22 -22
  76. package/dist/chunks/{pty-k9zjg2m8.js → reference-95b6ghe6.js} +18 -18
  77. package/dist/chunks/reference-99pkb00s.js +247 -0
  78. package/dist/chunks/{pty-0v9511cz.js → reference-9fkctmz4.js} +4 -4
  79. package/dist/chunks/{pty-z5p19pf1.js → reference-9h2tqn78.js} +8 -8
  80. package/dist/chunks/{pty-xsasmzga.js → reference-9kcb9bfn.js} +5 -5
  81. package/dist/chunks/{pty-81swgkk7.js → reference-9pv0dm11.js} +9 -9
  82. package/dist/chunks/{pty-9ky66zz9.js → reference-9vs0xtad.js} +3 -3
  83. package/dist/chunks/{pty-aynpr8ab.js → reference-a1b3c13m.js} +5 -5
  84. package/dist/chunks/{pty-a1bz86dw.js → reference-a1bz86dw.js} +3 -3
  85. package/dist/chunks/{pty-2caq6pqh.js → reference-a3re5se6.js} +24 -24
  86. package/dist/chunks/{pty-1tr2mxv2.js → reference-a9m3pnym.js} +19 -19
  87. package/dist/chunks/{pty-wp2qtysx.js → reference-aa5yzmg3.js} +14 -14
  88. package/dist/chunks/{pty-aaet6srn.js → reference-aaet6srn.js} +2 -2
  89. package/dist/chunks/{pty-e6eyn984.js → reference-aagvpmpk.js} +23 -23
  90. package/dist/chunks/{pty-vxdaz8vr.js → reference-aerscydv.js} +3 -3
  91. package/dist/chunks/{pty-hxzmwa8h.js → reference-amv9spzy.js} +11 -11
  92. package/dist/chunks/{pty-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
  93. package/dist/chunks/{pty-sjnbwgen.js → reference-b7r85zma.js} +15 -15
  94. package/dist/chunks/{pty-0b0xam7s.js → reference-b89n2hrw.js} +28 -28
  95. package/dist/chunks/{pty-hqp75n2j.js → reference-c07ppws4.js} +35 -35
  96. package/dist/chunks/{pty-rhq1hhdm.js → reference-c8qcwh7c.js} +8 -8
  97. package/dist/chunks/{pty-hq506b09.js → reference-cf7t4tbm.js} +1 -1
  98. package/dist/chunks/{pty-cfpkc3c9.js → reference-cfpkc3c9.js} +2 -2
  99. package/dist/chunks/{pty-y49qrr0k.js → reference-d2kbg34c.js} +1 -1
  100. package/dist/chunks/{pty-vy69nfyt.js → reference-d688schs.js} +26 -26
  101. package/dist/chunks/{pty-j08yav90.js → reference-dee1kvxx.js} +18 -18
  102. package/dist/chunks/{pty-d4e3xrxv.js → reference-dwajp34v.js} +8 -8
  103. package/dist/chunks/{pty-rdyvw1h1.js → reference-dxahnrqk.js} +29 -29
  104. package/dist/chunks/{pty-9nepbqpa.js → reference-dyyz5283.js} +6 -6
  105. package/dist/chunks/{pty-pck3w1ab.js → reference-e6jkap1f.js} +4 -4
  106. package/dist/chunks/{pty-dm7hx1w0.js → reference-e7066wh1.js} +13 -13
  107. package/dist/chunks/{pty-5gpsw6jk.js → reference-e9q2tff6.js} +24 -24
  108. package/dist/chunks/{pty-cajdsvab.js → reference-eb08dgxh.js} +19 -19
  109. package/dist/chunks/{pty-0xxge0pj.js → reference-ed80ss5w.js} +41 -41
  110. package/dist/chunks/{pty-kqcsfhww.js → reference-eej0jtf5.js} +18 -18
  111. package/dist/chunks/{pty-ajnpj862.js → reference-eghhz9w3.js} +6 -6
  112. package/dist/chunks/{pty-53datcyd.js → reference-ehah1z4y.js} +36 -36
  113. package/dist/chunks/{pty-8kqe18cf.js → reference-ek2ekg50.js} +9 -9
  114. package/dist/chunks/{pty-73tb2d7t.js → reference-eq1pz5kg.js} +3 -3
  115. package/dist/chunks/{pty-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
  116. package/dist/chunks/{pty-8xyemkvq.js → reference-ewkfaene.js} +3 -3
  117. package/dist/chunks/{pty-7f7j5aqq.js → reference-f2n7c6vf.js} +7 -7
  118. package/dist/chunks/{pty-s8j6jbjj.js → reference-f3ngv102.js} +21 -21
  119. package/dist/chunks/{pty-azc0fw06.js → reference-f74zpcfx.js} +53 -53
  120. package/dist/chunks/{pty-f828m53h.js → reference-f828m53h.js} +2 -2
  121. package/dist/chunks/{pty-8dk8azxs.js → reference-f8gmmhdx.js} +5 -5
  122. package/dist/chunks/{pty-6rgk4ym7.js → reference-fbh8gv2m.js} +28 -28
  123. package/dist/chunks/{pty-efhysqvt.js → reference-fdhnxwqq.js} +15 -15
  124. package/dist/chunks/reference-fnzccmjb.js +22 -0
  125. package/dist/chunks/{pty-qba6esk9.js → reference-fschjpvb.js} +9 -9
  126. package/dist/chunks/{pty-j46t8cy3.js → reference-fsg64sxd.js} +30 -30
  127. package/dist/chunks/{pty-cte9ap30.js → reference-ftdzjz2b.js} +8 -8
  128. package/dist/chunks/{pty-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
  129. package/dist/chunks/{pty-0y9djfvb.js → reference-g0fwp05y.js} +3 -3
  130. package/dist/chunks/{pty-28v53sff.js → reference-g0h581t9.js} +10 -10
  131. package/dist/chunks/{pty-x0yh80ry.js → reference-g7yd2vxk.js} +13 -13
  132. package/dist/chunks/{pty-jfz1was4.js → reference-gabjygxp.js} +9 -9
  133. package/dist/chunks/{pty-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  134. package/dist/chunks/{pty-3fc6dm20.js → reference-gdvy8fx6.js} +4 -4
  135. package/dist/chunks/{pty-sthxgr5k.js → reference-gj7hfxsf.js} +25 -25
  136. package/dist/chunks/{pty-7108e3wm.js → reference-gk1e73sc.js} +23 -23
  137. package/dist/chunks/{pty-bd2sx3rh.js → reference-gxretbwa.js} +32 -32
  138. package/dist/chunks/{pty-9txcanwf.js → reference-gxy528pw.js} +34 -34
  139. package/dist/chunks/{pty-zyzh87z1.js → reference-gzedjxr8.js} +22 -22
  140. package/dist/chunks/{pty-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
  141. package/dist/chunks/{pty-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  142. package/dist/chunks/{pty-6jnybvqn.js → reference-h7ygw6q4.js} +9 -9
  143. package/dist/chunks/{pty-gq4yt5d9.js → reference-hdcwm5yn.js} +11 -11
  144. package/dist/chunks/{pty-jmm88pvs.js → reference-hdthj1pw.js} +11 -11
  145. package/dist/chunks/{pty-ye323zqv.js → reference-hj2q4vx8.js} +9 -9
  146. package/dist/chunks/{pty-fn6h20rm.js → reference-hx9b9j3y.js} +6 -6
  147. package/dist/chunks/reference-hxa7m5za.js +4 -0
  148. package/dist/chunks/{pty-nts3ktd3.js → reference-j460kft3.js} +16 -16
  149. package/dist/chunks/{pty-pxm7ex4k.js → reference-j4dwrdg1.js} +17 -17
  150. package/dist/chunks/{pty-j56e64zr.js → reference-j56e64zr.js} +1 -1
  151. package/dist/chunks/{pty-eegqa8a9.js → reference-jtxfv8d5.js} +33 -33
  152. package/dist/chunks/{pty-mx6z9c2k.js → reference-jzrkhfnx.js} +39 -39
  153. package/dist/chunks/{pty-ah0499c8.js → reference-k3fk1xw0.js} +28 -28
  154. package/dist/chunks/{pty-at7vj8xg.js → reference-k99e1z30.js} +304 -304
  155. package/dist/chunks/{pty-8tfpvtr7.js → reference-k9hy4w8j.js} +28 -28
  156. package/dist/chunks/{pty-c1zrx13f.js → reference-kcqzyg21.js} +16 -16
  157. package/dist/chunks/{pty-7kn1pjxe.js → reference-kd62wyh6.js} +13 -13
  158. package/dist/chunks/{pty-3yyqtq1k.js → reference-kdsmfbp6.js} +18 -18
  159. package/dist/chunks/{pty-gdm9bc2g.js → reference-kf4f65v3.js} +33 -33
  160. package/dist/chunks/{pty-kg06axw8.js → reference-kg06axw8.js} +1 -1
  161. package/dist/chunks/{pty-j32r0sby.js → reference-kmdd4s7w.js} +11 -11
  162. package/dist/chunks/{pty-y56ehv6b.js → reference-kpvyk30t.js} +9 -9
  163. package/dist/chunks/{pty-rw861jrs.js → reference-kvssg87c.js} +46 -46
  164. package/dist/chunks/{pty-7yqjxrmz.js → reference-kxpygcw9.js} +6 -6
  165. package/dist/chunks/{pty-kf7bhd8x.js → reference-m0zxgcxr.js} +4 -4
  166. package/dist/chunks/{pty-7t0ps460.js → reference-m17xag3b.js} +7 -7
  167. package/dist/chunks/{pty-vrpz8t5t.js → reference-m64xvjj1.js} +5 -5
  168. package/dist/chunks/{pty-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  169. package/dist/chunks/{pty-edafkgj2.js → reference-mdt4q1c1.js} +6 -6
  170. package/dist/chunks/{pty-1ygqh575.js → reference-mfqp6xfm.js} +6 -6
  171. package/dist/chunks/{pty-mq9k5emb.js → reference-mgqqkg93.js} +22 -22
  172. package/dist/chunks/{pty-mkcjrzeh.js → reference-mkcjrzeh.js} +1 -1
  173. package/dist/chunks/{pty-zmh1pv5f.js → reference-mp0hvknf.js} +17 -17
  174. package/dist/chunks/{pty-4f90fc6p.js → reference-mr7fas37.js} +19 -19
  175. package/dist/chunks/{pty-913yfcff.js → reference-mwdyx115.js} +16 -16
  176. package/dist/chunks/{pty-p0x0xsz0.js → reference-n8aw8tzz.js} +16 -16
  177. package/dist/chunks/{pty-cf3tj770.js → reference-ndqtf2h8.js} +6 -6
  178. package/dist/chunks/{pty-nhy5jxhy.js → reference-nhy5jxhy.js} +1 -1
  179. package/dist/chunks/{pty-rb4rdn3m.js → reference-npqmz80p.js} +47 -47
  180. package/dist/chunks/{pty-1katgxgp.js → reference-p8fr87mf.js} +35 -35
  181. package/dist/chunks/{pty-bccb6npm.js → reference-paegk39x.js} +4 -4
  182. package/dist/chunks/{pty-j935v87r.js → reference-paphc93g.js} +2 -2
  183. package/dist/chunks/{pty-c1ayfejr.js → reference-pcbr6txn.js} +13 -13
  184. package/dist/chunks/{pty-12y94dz0.js → reference-pch1g4ac.js} +11 -11
  185. package/dist/chunks/{pty-hjdzmzjx.js → reference-pgpmnqk3.js} +6 -6
  186. package/dist/chunks/reference-phz3h32g.js +18 -0
  187. package/dist/chunks/{pty-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  188. package/dist/chunks/{pty-vp5s6n4v.js → reference-pk0537y5.js} +30 -30
  189. package/dist/chunks/{pty-pknna89w.js → reference-pknna89w.js} +1 -1
  190. package/dist/chunks/{pty-cy209589.js → reference-pxw0hmvn.js} +7 -7
  191. package/dist/chunks/{pty-ahz4xwhq.js → reference-q14xand4.js} +30 -30
  192. package/dist/chunks/{pty-36yjp8yh.js → reference-q280h65c.js} +8 -8
  193. package/dist/chunks/{pty-2wzvf4j2.js → reference-q4t8wpc5.js} +83 -83
  194. package/dist/chunks/{pty-13egd5dp.js → reference-q815m6cj.js} +24 -24
  195. package/dist/chunks/{pty-at5d07az.js → reference-qa3qhgw8.js} +4 -4
  196. package/dist/chunks/{pty-p9e5f8hs.js → reference-qd5n9004.js} +4 -4
  197. package/dist/chunks/{pty-j4e3jsg7.js → reference-qfjjv7cg.js} +5 -5
  198. package/dist/chunks/{pty-fcrkznn8.js → reference-qgn6gcr1.js} +5 -5
  199. package/dist/chunks/{pty-mqgza0s1.js → reference-qgvsjnwz.js} +2 -2
  200. package/dist/chunks/{pty-7nfgfjsm.js → reference-qhcd119y.js} +9 -9
  201. package/dist/chunks/{pty-y65x3qsm.js → reference-qnsz7nh9.js} +5 -5
  202. package/dist/chunks/{pty-qsdy395h.js → reference-qsdy395h.js} +1 -1
  203. package/dist/chunks/{pty-5b8sybsb.js → reference-r0jrqcv3.js} +15 -15
  204. package/dist/chunks/{pty-r98e92ep.js → reference-r98e92ep.js} +1 -1
  205. package/dist/chunks/{pty-dcmqyx64.js → reference-rabzzrj7.js} +6 -6
  206. package/dist/chunks/{pty-f6h7dvp6.js → reference-rm18f88d.js} +9 -9
  207. package/dist/chunks/{pty-9qrd0ade.js → reference-rqwtk8m6.js} +39 -39
  208. package/dist/chunks/{pty-e430r8zt.js → reference-rrb33fnm.js} +11 -11
  209. package/dist/chunks/{pty-604mgw0e.js → reference-rrct5g06.js} +9 -9
  210. package/dist/chunks/{pty-ehvxp5zp.js → reference-ryf7tq05.js} +10 -10
  211. package/dist/chunks/{pty-by885ras.js → reference-s1dejaz5.js} +4 -4
  212. package/dist/chunks/{pty-pksqeybc.js → reference-s89drx3k.js} +25 -25
  213. package/dist/chunks/{pty-t550f9t1.js → reference-s8d7rejh.js} +4 -4
  214. package/dist/chunks/{pty-f90chkmn.js → reference-s8zy8myc.js} +5 -5
  215. package/dist/chunks/{pty-zcqf6png.js → reference-s90d8d6b.js} +6 -6
  216. package/dist/chunks/{pty-x0511brf.js → reference-sej7e0cf.js} +4 -4
  217. package/dist/chunks/{pty-1r92xkdd.js → reference-sewx0d8k.js} +11 -11
  218. package/dist/chunks/{pty-tt7t6gfm.js → reference-shrxzsvg.js} +13 -13
  219. package/dist/chunks/{pty-595vq8s1.js → reference-sj6nvtnr.js} +20 -20
  220. package/dist/chunks/{pty-qn39sdbb.js → reference-ss5t5285.js} +41 -41
  221. package/dist/chunks/{pty-vzrnynxw.js → reference-t37txjkj.js} +8 -8
  222. package/dist/chunks/{pty-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  223. package/dist/chunks/{pty-anj7ja7x.js → reference-tc3b2xqh.js} +25 -25
  224. package/dist/chunks/{pty-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  225. package/dist/chunks/{pty-tdstcens.js → reference-tdstcens.js} +1 -1
  226. package/dist/chunks/{pty-th5km1p3.js → reference-th5km1p3.js} +2 -2
  227. package/dist/chunks/{pty-a2fmrcfx.js → reference-tmx7d2y0.js} +4 -4
  228. package/dist/chunks/{pty-2f0bjgcj.js → reference-tn0aqsam.js} +5 -5
  229. package/dist/chunks/{pty-tvtrv512.js → reference-tvtrv512.js} +1 -1
  230. package/dist/chunks/{pty-0531sp94.js → reference-tx1bbn1t.js} +2 -2
  231. package/dist/chunks/{pty-n6nwjk4k.js → reference-v0tcdknz.js} +16 -16
  232. package/dist/chunks/{pty-map23pr4.js → reference-v1adv2wp.js} +22 -22
  233. package/dist/chunks/{pty-dv1qgsyq.js → reference-v4hmzr0r.js} +8 -8
  234. package/dist/chunks/{pty-1vx4skf5.js → reference-v7y6kmxs.js} +29 -29
  235. package/dist/chunks/{pty-qcbjdgb9.js → reference-v9p2d0aj.js} +24 -24
  236. package/dist/chunks/{pty-04b6k755.js → reference-vbbvjejc.js} +14 -14
  237. package/dist/chunks/{pty-veqvce7d.js → reference-veqvce7d.js} +1 -1
  238. package/dist/chunks/{pty-tffb36pg.js → reference-vgtqdgcp.js} +18 -18
  239. package/dist/chunks/{pty-sv2dresp.js → reference-vz98v2b4.js} +9 -9
  240. package/dist/chunks/{pty-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
  241. package/dist/chunks/{pty-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{pty-h457z9c3.js → reference-w4ysxmd8.js} +1 -1
  243. package/dist/chunks/{pty-1dtagjcf.js → reference-w6y4jrtq.js} +11 -11
  244. package/dist/chunks/{pty-t23qze4t.js → reference-w79zsp0s.js} +1 -1
  245. package/dist/chunks/{pty-vyyqyr61.js → reference-w9m4vsw7.js} +21 -21
  246. package/dist/chunks/{pty-1tq5sqwa.js → reference-w9xvayee.js} +9 -9
  247. package/dist/chunks/{pty-hcz3zddy.js → reference-wbkyxrgf.js} +5 -5
  248. package/dist/chunks/{pty-gy4xd5ae.js → reference-wcsysscr.js} +9 -9
  249. package/dist/chunks/{pty-wd87259q.js → reference-wd87259q.js} +1 -1
  250. package/dist/chunks/{pty-xt97pgbp.js → reference-we9eyqjp.js} +7 -7
  251. package/dist/chunks/{pty-w3ent86v.js → reference-wec9kj0s.js} +10 -10
  252. package/dist/chunks/{pty-wg42tg3h.js → reference-wg42tg3h.js} +2 -2
  253. package/dist/chunks/{pty-8gpb4ajr.js → reference-wk3sjerj.js} +11 -11
  254. package/dist/chunks/{pty-70vxa6pp.js → reference-wr1hnkrb.js} +12 -12
  255. package/dist/chunks/{pty-101th954.js → reference-x0ts5zjw.js} +27 -27
  256. package/dist/chunks/{pty-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{pty-x43y2vfs.js → reference-x43y2vfs.js} +2 -2
  258. package/dist/chunks/{pty-cq79sjzr.js → reference-x9qzeg26.js} +28 -28
  259. package/dist/chunks/{pty-3xfh4yeh.js → reference-xbvr7qd3.js} +32 -32
  260. package/dist/chunks/{pty-jaxrymj1.js → reference-xc6qfj0x.js} +32 -32
  261. package/dist/chunks/{pty-wwrx56v5.js → reference-xn1g4e4n.js} +3 -3
  262. package/dist/chunks/{pty-hn57h045.js → reference-xw0r27ex.js} +4 -4
  263. package/dist/chunks/{pty-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{pty-jn1j3vts.js → reference-y3501xtg.js} +9 -9
  265. package/dist/chunks/{pty-ze5v0a14.js → reference-y397pytd.js} +8 -8
  266. package/dist/chunks/{pty-1ayhfk3a.js → reference-y4h8j882.js} +79 -79
  267. package/dist/chunks/{pty-gmesheqj.js → reference-y5carwhs.js} +63 -63
  268. package/dist/chunks/{pty-dpkg50ah.js → reference-y71avatq.js} +4 -4
  269. package/dist/chunks/{pty-sxam9rt0.js → reference-yb4w2300.js} +4 -4
  270. package/dist/chunks/{pty-6e6v2scb.js → reference-yhx7fnrq.js} +27 -27
  271. package/dist/chunks/{pty-jv1xsv73.js → reference-ymxzgkec.js} +41 -41
  272. package/dist/chunks/{pty-yp2x3t23.js → reference-yp2x3t23.js} +1 -1
  273. package/dist/chunks/{pty-ee3krkrp.js → reference-ypgwc49d.js} +10 -10
  274. package/dist/chunks/{pty-7d0zm79z.js → reference-ypt602pg.js} +6 -6
  275. package/dist/chunks/{pty-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{pty-s4enseaf.js → reference-yrznvahk.js} +2 -2
  277. package/dist/chunks/{pty-e2ryeqwt.js → reference-yvdpqkmv.js} +20 -20
  278. package/dist/chunks/{pty-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{pty-dxt59c3z.js → reference-z2vp0ram.js} +11 -11
  280. package/dist/chunks/{pty-wfeey21d.js → reference-z4bnc0k3.js} +14 -14
  281. package/dist/chunks/{pty-29x78va6.js → reference-z63w68vq.js} +6 -6
  282. package/dist/chunks/{pty-3r153z9p.js → reference-z8d4gyxr.js} +53 -53
  283. package/dist/chunks/{pty-3gr3tgnk.js → reference-zag8ssnp.js} +26 -26
  284. package/dist/chunks/{pty-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{pty-gke4hfak.js → reference-zqcfszr7.js} +11 -11
  286. package/dist/chunks/{pty-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{pty-2h21rrjx.js → reference-zrgpjm4k.js} +20 -20
  288. package/dist/chunks/{pty-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +3 -3
  290. package/dist/codemode/instructions.js +3 -3
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +68 -68
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.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/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +216 -216
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +100 -100
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +91 -91
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -84
  459. package/dist/job.js +71 -71
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +128 -128
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +82 -82
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +105 -105
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +114 -114
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +76 -76
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +115 -115
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +156 -156
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +342 -342
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +220 -220
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +85 -85
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +94 -94
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +127 -127
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +213 -213
  575. package/dist/session/execution.js +122 -122
  576. package/dist/session/generate.js +148 -148
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +84 -84
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +75 -75
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +111 -111
  586. package/dist/session/model-transport.js +7 -7
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +108 -108
  599. package/dist/session/runner/step.js +121 -121
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +167 -167
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -71
  607. package/dist/session/store.js +83 -83
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +213 -213
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +100 -100
  623. package/dist/skill.js +107 -107
  624. package/dist/snapshot.js +86 -86
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +121 -121
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +116 -116
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +113 -113
  635. package/dist/tool/plugin/question.js +98 -98
  636. package/dist/tool/plugin/read.js +119 -119
  637. package/dist/tool/plugin/shell.js +212 -212
  638. package/dist/tool/plugin/skill.js +108 -108
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +105 -105
  641. package/dist/tool/plugin/websearch.js +109 -109
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +15 -15
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +1 -1
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +80 -80
  675. package/dist/wellknown/plugin.js +72 -72
  676. package/dist/wellknown.js +79 -79
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +5 -5
  682. package/dist/worktree/refresh.js +341 -341
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +91 -91
  685. package/package.json +8 -8
  686. package/dist/chunks/pty-5eypht73.js +0 -247
  687. package/dist/chunks/pty-hr9dp009.js +0 -4
  688. package/dist/chunks/pty-keyh8483.js +0 -22
  689. package/dist/chunks/pty-vnkjks7b.js +0 -18
  690. /package/dist/chunks/{pty-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{pty-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{pty-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{pty-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{pty-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{pty-2710q6r3.js → reference-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{pty-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{pty-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{pty-359p4xyc.js → reference-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{pty-3asan66x.js → reference-3asan66x.js} +0 -0
  700. /package/dist/chunks/{pty-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{pty-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{pty-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{pty-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{pty-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{pty-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{pty-53557ph1.js → reference-53557ph1.js} +0 -0
  707. /package/dist/chunks/{pty-550bvhaj.js → reference-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{pty-6prwharc.js → reference-6prwharc.js} +0 -0
  709. /package/dist/chunks/{pty-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{pty-7m9af43g.js → reference-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{pty-822emrt2.js → reference-822emrt2.js} +0 -0
  712. /package/dist/chunks/{pty-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{pty-8n3pysct.js → reference-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{pty-922hggd3.js → reference-922hggd3.js} +0 -0
  715. /package/dist/chunks/{pty-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{pty-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{pty-a1tpkmh4.js → reference-a1tpkmh4.js} +0 -0
  718. /package/dist/chunks/{pty-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{pty-af5trqkr.js → reference-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{pty-afrmfg78.js → reference-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{pty-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{pty-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{pty-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{pty-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{pty-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{pty-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{pty-d9fn303g.js → reference-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{pty-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{pty-dajrwvna.js → reference-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{pty-dap0rakb.js → reference-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{pty-df08tz66.js → reference-df08tz66.js} +0 -0
  732. /package/dist/chunks/{pty-dy18nga0.js → reference-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{pty-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{pty-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{pty-ec1grn59.js → reference-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{pty-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{pty-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{pty-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{pty-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{pty-faypxj3z.js → reference-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{pty-fd410y7t.js → reference-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{pty-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{pty-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{pty-g86h250q.js → reference-g86h250q.js} +0 -0
  745. /package/dist/chunks/{pty-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{pty-gftt206x.js → reference-gftt206x.js} +0 -0
  747. /package/dist/chunks/{pty-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{pty-hk9envan.js → reference-hk9envan.js} +0 -0
  749. /package/dist/chunks/{pty-hrnqkpcd.js → reference-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{pty-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{pty-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{pty-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{pty-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{pty-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{pty-mp448xyj.js → reference-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{pty-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{pty-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{pty-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{pty-njntx4h6.js → reference-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{pty-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{pty-q74kybfr.js → reference-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{pty-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{pty-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{pty-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{pty-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{pty-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{pty-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{pty-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{pty-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{pty-twg0f83k.js → reference-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{pty-w803qqfp.js → reference-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{pty-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{pty-wtztk69x.js → reference-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{pty-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{pty-x61499pn.js → reference-x61499pn.js} +0 -0
  776. /package/dist/chunks/{pty-y44na4kk.js → reference-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{pty-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{pty-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{pty-ym463w8f.js → reference-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{pty-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./pty-vxdaz8vr.js";
4
+ } from "./reference-aerscydv.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./pty-kf7bhd8x.js";
8
+ } from "./reference-m0zxgcxr.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./pty-pknna89w.js";
11
+ } from "./reference-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./pty-0q0f95c6.js";
14
+ } from "./reference-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./pty-9rqn6x4v.js";
17
+ } from "./reference-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event18,
24
- ID: () => ID12,
25
- Info: () => Info27,
23
+ Event: () => Event20,
24
+ ID: () => ID18,
25
+ Info: () => Info33,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service71,
28
+ Service: () => Service78,
29
29
  Value: () => Value2,
30
- node: () => node76
30
+ node: () => node83
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID12 = Credential.ID;
37
+ var ID18 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event18 = Credential.Event;
41
+ var Event20 = Credential.Event;
42
42
 
43
- class Info27 extends Schema.Class("Credential.Info")({
44
- id: ID12,
43
+ class Info33 extends Schema.Class("Credential.Info")({
44
+ id: ID18,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service71 extends Context.Service()("@opencode/Credential") {
51
+ class Service78 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service71, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
54
54
  const db = (yield* Service80).db;
55
55
  const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info27({
60
+ return new Info33({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service71.of({
71
+ return Service78.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info27({
80
- id: ID12.create(),
79
+ const credential = new Info33({
80
+ id: ID18.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event18.Updated, {}, { global: true });
105
- yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event20.Updated, {}, { global: true });
105
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event18.Updated, {}, { global: true });
157
+ yield* bus.publish(Event20.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event18.Updated, {}, { global: true });
190
+ yield* bus.publish(Event20.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node76 = makeGlobalNode({ service: Service71, layer, deps: [node85, node84] });
196
+ var node83 = makeGlobalNode({ service: Service78, layer, deps: [node85, node84] });
197
197
 
198
- export { ID12, OAuth3, Key4, Value2, Event18, Info27, Service71, node76, exports_credential };
198
+ export { ID18, OAuth3, Key4, Value2, Event20, Info33, Service78, node83, exports_credential };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service76,
3
- node81
4
- } from "./pty-nts3ktd3.js";
2
+ Service73,
3
+ node78
4
+ } from "./reference-j460kft3.js";
5
5
  import {
6
6
  create3
7
- } from "./pty-kg06axw8.js";
7
+ } from "./reference-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./reference-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service16,
17
- node: () => node19
16
+ Service: () => Service38,
17
+ node: () => node41
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service16 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service38 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service16, Effect.gen(function* () {
27
- const location = yield* Service76;
26
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
27
+ const location = yield* Service73;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service16.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service38.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node19 = makeLocationNode({
91
- service: Service16,
90
+ var node41 = makeLocationNode({
91
+ service: Service38,
92
92
  layer,
93
- deps: [node81, AppProcess.node]
93
+ deps: [node78, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service16, node19, exports_formatter2 };
96
+ export { Service38, node41, exports_formatter2 };
@@ -0,0 +1,22 @@
1
+ import {
2
+ Plugin21
3
+ } from "./reference-y397pytd.js";
4
+ import {
5
+ Plugin19
6
+ } from "./reference-qhcd119y.js";
7
+ import {
8
+ Plugin22
9
+ } from "./reference-525hap2p.js";
10
+ import {
11
+ Plugin20
12
+ } from "./reference-c8qcwh7c.js";
13
+
14
+ // src/plugin/websearch/index.ts
15
+ var WebSearchPlugins2 = [
16
+ Plugin21,
17
+ Plugin19,
18
+ Plugin22,
19
+ Plugin20
20
+ ];
21
+
22
+ export { WebSearchPlugins2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./pty-kg06axw8.js";
3
+ } from "./reference-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service36,
14
+ Service: () => Service43,
15
15
  SizeError: () => SizeError2,
16
- node: () => node40
16
+ node: () => node46
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service36 extends Context.Service()("@opencode/Image") {
45
+ class Service43 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service36, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service36.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service43.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node40 = makeLocationNode({ service: Service36, layer, deps: [] });
79
+ var node46 = makeLocationNode({ service: Service43, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service36, node40, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service43, node46, exports_image2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service80
3
- } from "./pty-vxdaz8vr.js";
3
+ } from "./reference-aerscydv.js";
4
4
  import {
5
5
  Service79
6
- } from "./pty-kf7bhd8x.js";
6
+ } from "./reference-m0zxgcxr.js";
7
7
  import {
8
- Service39
9
- } from "./pty-zcqf6png.js";
8
+ Service31
9
+ } from "./reference-s90d8d6b.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./pty-fxbjtjnd.js";
12
+ } from "./reference-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./pty-gftt206x.js";
15
+ } from "./reference-gftt206x.js";
16
16
  import {
17
- NotFoundError7,
17
+ NotFoundError8,
18
18
  MessageNotFoundError2,
19
19
  MessageNotAssistantError2,
20
20
  MessageIncompleteError2,
@@ -24,38 +24,38 @@ import {
24
24
  CompactionConflictError2,
25
25
  BusyError2,
26
26
  InboxConflictError2
27
- } from "./pty-ye323zqv.js";
27
+ } from "./reference-hj2q4vx8.js";
28
28
  import {
29
29
  SessionEvent2
30
- } from "./pty-ec1grn59.js";
30
+ } from "./reference-ec1grn59.js";
31
31
  import {
32
- Service53
33
- } from "./pty-c4jwsn70.js";
32
+ Service70
33
+ } from "./reference-4gpvdk2f.js";
34
34
  import {
35
35
  Delivery2,
36
36
  SyntheticPayload2,
37
- Service40
38
- } from "./pty-j08yav90.js";
37
+ Service30
38
+ } from "./reference-dee1kvxx.js";
39
39
  import {
40
- Service37
41
- } from "./pty-3xfh4yeh.js";
40
+ Service27
41
+ } from "./reference-xbvr7qd3.js";
42
42
  import {
43
43
  prepare2
44
- } from "./pty-p0x0xsz0.js";
44
+ } from "./reference-n8aw8tzz.js";
45
45
  import {
46
46
  stage2,
47
47
  clear2,
48
48
  commit2
49
- } from "./pty-e2ryeqwt.js";
49
+ } from "./reference-yvdpqkmv.js";
50
50
  import {
51
51
  start2
52
- } from "./pty-jfz1was4.js";
52
+ } from "./reference-gabjygxp.js";
53
53
  import {
54
54
  get4
55
- } from "./pty-1tq5sqwa.js";
55
+ } from "./reference-w9xvayee.js";
56
56
  import {
57
57
  __export
58
- } from "./pty-9rqn6x4v.js";
58
+ } from "./reference-9rqn6x4v.js";
59
59
 
60
60
  // src/session/session.ts
61
61
  var exports_session2 = {};
@@ -69,16 +69,16 @@ import { FSUtil } from "@opencode/util/fs-util";
69
69
  var make12 = Effect.fn("Session.make")(function* () {
70
70
  const bus = yield* Service79;
71
71
  const database = yield* Service80;
72
- const store = yield* Service53;
73
- const instances = yield* Service39;
74
- const execution = yield* Service37;
75
- const admission = yield* Service40;
72
+ const store = yield* Service70;
73
+ const instances = yield* Service31;
74
+ const execution = yield* Service27;
75
+ const admission = yield* Service30;
76
76
  const fs = yield* FSUtil.Service;
77
77
  const scope = yield* Scope.Scope;
78
78
  const get = Effect.fn("Session.get")(function* (sessionID) {
79
79
  const session = yield* store.get(sessionID);
80
80
  if (!session)
81
- return yield* new NotFoundError7({ sessionID });
81
+ return yield* new NotFoundError8({ sessionID });
82
82
  return session;
83
83
  });
84
84
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -154,7 +154,7 @@ var make12 = Effect.fn("Session.make")(function* () {
154
154
  });
155
155
  if (existing)
156
156
  return existing;
157
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service39, instances), Effect.provideService(FSUtil.Service, fs)));
157
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service31, instances), Effect.provideService(FSUtil.Service, fs)));
158
158
  if (session.revert)
159
159
  yield* commit2(bus, session);
160
160
  return yield* admission.admit({
@@ -170,7 +170,7 @@ var make12 = Effect.fn("Session.make")(function* () {
170
170
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
171
171
  const session = yield* get(sessionID);
172
172
  const running = yield* Effect.gen(function* () {
173
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service39, instances), Effect.tapError((error) => synthetic(sessionID, {
173
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service31, instances), Effect.tapError((error) => synthetic(sessionID, {
174
174
  text: `User shell command failed to start:
175
175
  ${input.command}
176
176
 
@@ -199,7 +199,7 @@ ${error.message}`,
199
199
  });
200
200
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
201
201
  const session = yield* get(sessionID);
202
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service39, instances));
202
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service31, instances));
203
203
  yield* bus.publish(SessionEvent2.Skill.Activated, {
204
204
  sessionID,
205
205
  id: skill.id,
@@ -256,13 +256,13 @@ ${error.message}`,
256
256
  const session = yield* get(sessionID);
257
257
  if (yield* execution.isActive(sessionID))
258
258
  return yield* new BusyError2({ sessionID });
259
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service39, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
259
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service31, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
260
260
  });
261
261
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
262
262
  const session = yield* get(sessionID);
263
263
  if (yield* execution.isActive(sessionID))
264
264
  return yield* new BusyError2({ sessionID });
265
- yield* clear2(session).pipe(Effect.provideService(Service39, instances), Effect.provideService(Service79, bus));
265
+ yield* clear2(session).pipe(Effect.provideService(Service31, instances), Effect.provideService(Service79, bus));
266
266
  return yield* execution.wake(sessionID);
267
267
  });
268
268
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./reference-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: () => Error4,
9
+ Error: () => Error5,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make18,
14
- node: () => node61,
13
+ make: () => make19,
14
+ node: () => node66,
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 Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error5 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 make18 = (driver) => driver;
32
+ var make19 = (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 node61 = registryNode2({});
47
+ var node66 = registryNode2({});
48
48
 
49
- export { Binding2, Error4, ProviderNotFound2, make18, RegistryService2, registry2, registryNode2, node61, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node66, exports_driver };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./pty-rw861jrs.js";
3
+ } from "./reference-kvssg87c.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./pty-twg0f83k.js";
6
+ } from "./reference-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./reference-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID13,
2
+ ID8,
3
3
  Family2
4
- } from "./pty-70vxa6pp.js";
4
+ } from "./reference-wr1hnkrb.js";
5
5
  import {
6
- Service68
7
- } from "./pty-qn39sdbb.js";
6
+ Service56
7
+ } from "./reference-ss5t5285.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./pty-cy209589.js";
10
+ } from "./reference-pxw0hmvn.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
45
45
  });
46
46
  var discovery = new Map;
47
47
  var discoveryLock = Semaphore.makeUnsafe(1);
48
- function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
49
49
  return define({
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service68;
53
+ const config = yield* Service56;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  catalog.model.update(providerID, item.model, (model) => {
80
- model.modelID = ID13.make(item.model);
80
+ model.modelID = ID8.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -151,7 +151,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make4();
154
+ var OllamaPlugin2 = make6();
155
155
  function configured(entries, origin) {
156
156
  const settings = foldSettings2(entries, providerID, undefined);
157
157
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -170,4 +170,4 @@ function configured(entries, origin) {
170
170
  return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
171
171
  }
172
172
 
173
- export { make4, OllamaPlugin2 };
173
+ export { make6, OllamaPlugin2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./pty-dpkg50ah.js";
3
+ } from "./reference-y71avatq.js";
4
4
  import {
5
- Service56,
6
- node59
7
- } from "./pty-1k9r8ajs.js";
5
+ Service60,
6
+ node64
7
+ } from "./reference-43vjkkh2.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./reference-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service18,
17
- node: () => node21,
16
+ Service: () => Service41,
17
+ node: () => node44,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service18 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service41 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service18, Effect.gen(function* () {
38
- const environment = yield* Service56;
37
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
38
+ const environment = yield* Service60;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service18.of({ withLock, write, writeTextPreservingBom });
59
+ return Service41.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node21 = makeLocationNode({ service: Service18, layer, deps: [node59] });
61
+ var node44 = makeLocationNode({ service: Service41, layer, deps: [node64] });
62
62
 
63
- export { Service18, readText2, syncTextBom2, node21, exports_file_mutation };
63
+ export { Service41, readText2, syncTextBom2, node44, exports_file_mutation };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service39
3
- } from "./pty-zcqf6png.js";
2
+ Service31
3
+ } from "./reference-s90d8d6b.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./pty-vnkjks7b.js";
6
+ } from "./reference-phz3h32g.js";
7
7
  import {
8
- Service48
9
- } from "./pty-rb4rdn3m.js";
8
+ Service45
9
+ } from "./reference-npqmz80p.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./pty-fxbjtjnd.js";
12
+ } from "./reference-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./pty-9rqn6x4v.js";
15
+ } from "./reference-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service39;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service48), instances.provide(input.session));
25
+ const instances = yield* Service31;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};