@opencode/core 0.0.0-dev-19986 → 0.0.0-dev-19987

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  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/{model-qeaksvd1.js → state-07pd4vcj.js} +10 -10
  8. package/dist/chunks/{model-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  9. package/dist/chunks/{model-0q0f95c6.js → state-0q0f95c6.js} +1 -1
  10. package/dist/chunks/{model-b00xhfda.js → state-12n9xz34.js} +7 -7
  11. package/dist/chunks/{model-f32czd11.js → state-13ggeyh8.js} +11 -11
  12. package/dist/chunks/{model-z1hxv11z.js → state-14xcjfaz.js} +25 -25
  13. package/dist/chunks/{model-r8xr0va3.js → state-1acjjqhc.js} +4 -4
  14. package/dist/chunks/{model-1bbkgx8g.js → state-1bbkgx8g.js} +1 -1
  15. package/dist/chunks/{model-gcd43y7x.js → state-1chcdynj.js} +17 -17
  16. package/dist/chunks/{model-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{model-5bqdc31q.js → state-1j9zc48m.js} +3 -3
  18. package/dist/chunks/state-1tm0r3ht.js +4 -0
  19. package/dist/chunks/{model-1ygqh575.js → state-1ygqh575.js} +2 -2
  20. package/dist/chunks/{model-21r38tys.js → state-21r38tys.js} +1 -1
  21. package/dist/chunks/{model-6h73sxmp.js → state-2402vzrj.js} +5 -5
  22. package/dist/chunks/{model-j3s2z371.js → state-24dd53tp.js} +9 -9
  23. package/dist/chunks/{model-prkj3g34.js → state-24r7k6mc.js} +18 -18
  24. package/dist/chunks/{model-xxynqx5z.js → state-256nx13v.js} +3 -3
  25. package/dist/chunks/{model-cjwramev.js → state-258tza17.js} +6 -6
  26. package/dist/chunks/{model-2kkjm1by.js → state-26makf88.js} +39 -39
  27. package/dist/chunks/{model-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{model-0hf9g8pg.js → state-2a6rn6yr.js} +6 -6
  29. package/dist/chunks/{model-7rqh2ctm.js → state-2cqnphx6.js} +11 -11
  30. package/dist/chunks/{model-7fafv5n6.js → state-2df1zbc2.js} +30 -30
  31. package/dist/chunks/{model-h9dz8fj7.js → state-2e69wwha.js} +32 -32
  32. package/dist/chunks/{model-mxx22ze4.js → state-2fmt93mx.js} +9 -9
  33. package/dist/chunks/{model-a6zskm12.js → state-35k05k98.js} +31 -31
  34. package/dist/chunks/{model-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{model-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{model-qdbakdjh.js → state-3j9bgvtg.js} +5 -5
  37. package/dist/chunks/{model-rwy8m34b.js → state-3p323ymy.js} +5 -5
  38. package/dist/chunks/{model-hzvbkkwq.js → state-3rgktn1y.js} +5 -5
  39. package/dist/chunks/{model-x6348xh2.js → state-3sdc9e54.js} +11 -11
  40. package/dist/chunks/{model-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{model-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{model-4rdqryht.js → state-40rc7ac6.js} +5 -5
  43. package/dist/chunks/{model-m0ecvezt.js → state-43n7bj9p.js} +16 -16
  44. package/dist/chunks/{model-fkjmw100.js → state-44ke2mar.js} +6 -6
  45. package/dist/chunks/{model-4dgbcxzg.js → state-4dgbcxzg.js} +1 -1
  46. package/dist/chunks/{model-r76rkyqz.js → state-4dyvnqdf.js} +4 -4
  47. package/dist/chunks/{model-fh25xc84.js → state-4jm74est.js} +23 -23
  48. package/dist/chunks/{model-tygxfmr3.js → state-4rzsfdgf.js} +10 -10
  49. package/dist/chunks/{model-81swgkk7.js → state-4sn99hha.js} +7 -7
  50. package/dist/chunks/{model-7n4gz87d.js → state-4vpwrdft.js} +12 -12
  51. package/dist/chunks/{model-6xvp8w0a.js → state-4ysqm8zf.js} +18 -18
  52. package/dist/chunks/{model-pm021q3e.js → state-54tz6as1.js} +9 -9
  53. package/dist/chunks/{model-ctmp0cgk.js → state-567a7rs0.js} +30 -30
  54. package/dist/chunks/{model-0asf0tv2.js → state-589961pp.js} +35 -35
  55. package/dist/chunks/{model-csf2jhsg.js → state-5c0f1prt.js} +4 -4
  56. package/dist/chunks/{model-5daktx2q.js → state-5daktx2q.js} +1 -1
  57. package/dist/chunks/{model-vkvppane.js → state-5g1k2x2w.js} +19 -19
  58. package/dist/chunks/{model-gfvsdv7e.js → state-5gt7xfyw.js} +9 -9
  59. package/dist/chunks/{model-e3qxr5gk.js → state-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{model-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{model-c4szcb1p.js → state-5vyyk18a.js} +25 -25
  62. package/dist/chunks/{model-9hn6k4tm.js → state-5yzzbxa7.js} +8 -8
  63. package/dist/chunks/{model-sv1t6xhr.js → state-63xxrs1k.js} +5 -5
  64. package/dist/chunks/{model-669tq793.js → state-669tq793.js} +1 -1
  65. package/dist/chunks/{model-1dvkw6kv.js → state-68bmj4r5.js} +24 -24
  66. package/dist/chunks/{model-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{model-mrkn01vt.js → state-6wdhtwwf.js} +21 -21
  68. package/dist/chunks/{model-gr7kh44d.js → state-774g8ja7.js} +11 -11
  69. package/dist/chunks/{model-43y4pgnj.js → state-7a0djmqj.js} +3 -3
  70. package/dist/chunks/{model-2hj9r0q6.js → state-7bazm11g.js} +46 -46
  71. package/dist/chunks/{model-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{model-1vnz04j6.js → state-7bx1s60a.js} +95 -95
  73. package/dist/chunks/{model-szsw9c27.js → state-7e0d1mpp.js} +3 -3
  74. package/dist/chunks/{model-gjrpp66z.js → state-7hvzkmeb.js} +11 -11
  75. package/dist/chunks/{model-7w3s9kd0.js → state-7w3s9kd0.js} +1 -1
  76. package/dist/chunks/{model-09bq7etx.js → state-82gwmp8p.js} +13 -13
  77. package/dist/chunks/{model-376qmtdk.js → state-85e1v2sb.js} +16 -16
  78. package/dist/chunks/{model-tcezcvh9.js → state-89znhe33.js} +4 -4
  79. package/dist/chunks/{model-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{model-mg0wqdec.js → state-8h1rar5v.js} +26 -26
  81. package/dist/chunks/{model-7v1f06d3.js → state-8nar0chc.js} +12 -12
  82. package/dist/chunks/{model-dj2t23y0.js → state-8p4f9s12.js} +2 -2
  83. package/dist/chunks/{model-yv2nec7k.js → state-8xz4k282.js} +13 -13
  84. package/dist/chunks/{model-b0g5qfh4.js → state-920akmr8.js} +13 -13
  85. package/dist/chunks/{model-ce5fknq2.js → state-94s48bjb.js} +5 -5
  86. package/dist/chunks/{model-3nyzas2y.js → state-969v6yxw.js} +4 -4
  87. package/dist/chunks/{model-0vqy8ggk.js → state-9a3ps1ng.js} +60 -60
  88. package/dist/chunks/{model-911xaqx0.js → state-9a5q7tkv.js} +24 -24
  89. package/dist/chunks/{model-qvm8zske.js → state-9bt3zpnc.js} +46 -46
  90. package/dist/chunks/{model-k1eqknct.js → state-9gsqbh9p.js} +15 -15
  91. package/dist/chunks/{model-36tt9758.js → state-9q1s0tyn.js} +15 -15
  92. package/dist/chunks/{model-qwh6hz7y.js → state-9wev4xx9.js} +10 -10
  93. package/dist/chunks/{model-tnvaxyve.js → state-9x6v8nxw.js} +25 -25
  94. package/dist/chunks/{model-5c4hm403.js → state-a1bz86dw.js} +3 -3
  95. package/dist/chunks/{model-ac4jjyh9.js → state-a549hgdk.js} +22 -22
  96. package/dist/chunks/{model-aaet6srn.js → state-aaet6srn.js} +2 -2
  97. package/dist/chunks/state-aee32p22.js +252 -0
  98. package/dist/chunks/{model-nxhqveyz.js → state-af04s6ss.js} +5 -5
  99. package/dist/chunks/{model-ry0fdc19.js → state-aj2z9raa.js} +1 -1
  100. package/dist/chunks/{model-11dqjexa.js → state-ajdjch6h.js} +9 -9
  101. package/dist/chunks/{model-mh1qkymb.js → state-ajvrh1yc.js} +4 -4
  102. package/dist/chunks/{model-2jxgcw4v.js → state-amgg2zvk.js} +10 -10
  103. package/dist/chunks/{model-85qenhzt.js → state-axpfp605.js} +37 -37
  104. package/dist/chunks/{model-jxdt7bj1.js → state-b25x8xnb.js} +2 -2
  105. package/dist/chunks/{model-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{model-8xb42w3d.js → state-b7ew3pv2.js} +68 -68
  107. package/dist/chunks/{model-vp67155v.js → state-bbfste2n.js} +6 -6
  108. package/dist/chunks/{model-s05x4jm2.js → state-beg6ypph.js} +23 -23
  109. package/dist/chunks/{model-38zbz3tv.js → state-bxa5630a.js} +9 -9
  110. package/dist/chunks/{model-rq7amxn9.js → state-bzbmf0ke.js} +22 -22
  111. package/dist/chunks/{model-bt0xyq03.js → state-ccfnnbbv.js} +11 -11
  112. package/dist/chunks/{model-zmekhh4v.js → state-cdzfnnfc.js} +6 -6
  113. package/dist/chunks/{model-m0jqrx5p.js → state-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{model-fab8hzt3.js → state-cq37gk0t.js} +4 -4
  115. package/dist/chunks/{model-cpy6gm2a.js → state-cqg8v4c7.js} +6 -6
  116. package/dist/chunks/{model-mgtgxz5r.js → state-cvfdeyxj.js} +17 -17
  117. package/dist/chunks/{model-kwrjnxj7.js → state-dedzzeqk.js} +9 -9
  118. package/dist/chunks/{model-kqsk5bay.js → state-dfeghqnh.js} +15 -15
  119. package/dist/chunks/{model-k7kjyac2.js → state-dsambs2d.js} +1 -1
  120. package/dist/chunks/{model-3aq06pgr.js → state-dsybc7nn.js} +15 -15
  121. package/dist/chunks/{model-1kf1zw0p.js → state-dx8srcfp.js} +27 -27
  122. package/dist/chunks/{model-02x3fxhb.js → state-e0j28ztz.js} +14 -14
  123. package/dist/chunks/{model-68y7phbn.js → state-e23w9d35.js} +12 -12
  124. package/dist/chunks/{model-5z7mvqc9.js → state-e2ntgy55.js} +10 -10
  125. package/dist/chunks/{model-mjqa7j4g.js → state-e2qnmkmv.js} +16 -16
  126. package/dist/chunks/{model-yynber98.js → state-e5fdxfkw.js} +10 -10
  127. package/dist/chunks/{model-kst9mf61.js → state-ec6wrcn5.js} +31 -31
  128. package/dist/chunks/{model-3ythc6yv.js → state-ec87kc5z.js} +4 -4
  129. package/dist/chunks/{model-0qxdwqj8.js → state-ecneytc0.js} +19 -19
  130. package/dist/chunks/{model-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{model-hckbve9z.js → state-ejwjq12k.js} +33 -33
  132. package/dist/chunks/{model-erw5rpbs.js → state-erw5rpbs.js} +2 -2
  133. package/dist/chunks/{model-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{model-wb2crypr.js → state-f35htakt.js} +9 -9
  135. package/dist/chunks/{model-axmvebxj.js → state-f3ngv102.js} +21 -21
  136. package/dist/chunks/{model-hdnk95c8.js → state-f828m53h.js} +2 -2
  137. package/dist/chunks/{model-as3fcxs1.js → state-fa2zpvfy.js} +82 -82
  138. package/dist/chunks/{model-f5gy8qwh.js → state-fw2v9256.js} +8 -8
  139. package/dist/chunks/{model-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{model-kbsrxwde.js → state-g4dbe96p.js} +23 -23
  141. package/dist/chunks/{model-r097esf4.js → state-g61g38x8.js} +20 -20
  142. package/dist/chunks/{model-1kpjy7fz.js → state-g6rzw7q6.js} +25 -25
  143. package/dist/chunks/{model-wgczap0h.js → state-g82jw6gg.js} +4 -4
  144. package/dist/chunks/{model-4ywpd5fw.js → state-gc4k3fky.js} +16 -16
  145. package/dist/chunks/{model-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{model-cbyzv88m.js → state-ggcakazf.js} +11 -11
  147. package/dist/chunks/{model-cpneeje0.js → state-gjwgx2c5.js} +9 -9
  148. package/dist/chunks/{model-744mfh37.js → state-gmgjpvnn.js} +37 -37
  149. package/dist/chunks/{model-4x08tbr8.js → state-gnrsfd5m.js} +30 -30
  150. package/dist/chunks/{model-9r166ngg.js → state-grehnhs0.js} +5 -5
  151. package/dist/chunks/{model-bn88dpwe.js → state-grp8hrc0.js} +5 -5
  152. package/dist/chunks/{model-g7q8d3rw.js → state-gsm7z1g1.js} +13 -13
  153. package/dist/chunks/{model-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{model-7e8yzj3r.js → state-h3c9f1nz.js} +11 -11
  155. package/dist/chunks/{model-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{model-qdkgm6eb.js → state-h7dhztqn.js} +30 -30
  157. package/dist/chunks/{model-rw2zfnw1.js → state-hcp58akx.js} +39 -39
  158. package/dist/chunks/{model-x3eddfcp.js → state-hk9vqsvv.js} +11 -11
  159. package/dist/chunks/{model-0h34xgtp.js → state-hkcwzywy.js} +29 -29
  160. package/dist/chunks/{model-1984k6t2.js → state-j2e42xvh.js} +17 -17
  161. package/dist/chunks/{model-j56e64zr.js → state-j56e64zr.js} +1 -1
  162. package/dist/chunks/{model-jea9yeya.js → state-jdwnx8pe.js} +41 -41
  163. package/dist/chunks/{model-yh63eb9v.js → state-jf72b1az.js} +26 -26
  164. package/dist/chunks/{model-4817rykz.js → state-jf8j6bh6.js} +7 -7
  165. package/dist/chunks/{model-b5yj1c48.js → state-jjd79y98.js} +17 -17
  166. package/dist/chunks/{model-z1eznz97.js → state-jmp1cgqn.js} +32 -32
  167. package/dist/chunks/state-jqh9b0xq.js +18 -0
  168. package/dist/chunks/{model-ebdyxsk8.js → state-jt5zqcnj.js} +22 -22
  169. package/dist/chunks/{model-j7ym9e45.js → state-jv4eadh7.js} +5 -5
  170. package/dist/chunks/{model-dpkg50ah.js → state-jwcy2c2z.js} +4 -4
  171. package/dist/chunks/{model-jck6t8kb.js → state-jxkpjs94.js} +47 -47
  172. package/dist/chunks/{model-nzks3jc8.js → state-k3c624dm.js} +3 -3
  173. package/dist/chunks/{model-te4j4s1y.js → state-k5ecf9q0.js} +41 -41
  174. package/dist/chunks/{model-9ga41e26.js → state-k9eqq2e9.js} +17 -17
  175. package/dist/chunks/{model-ajmr5gq8.js → state-kd9z5t9k.js} +58 -58
  176. package/dist/chunks/{model-2kpwbvjk.js → state-khdh8nas.js} +28 -28
  177. package/dist/chunks/{model-m3fdjcah.js → state-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{model-ze5v0a14.js → state-m3zza4qd.js} +8 -8
  179. package/dist/chunks/{model-ky3seynh.js → state-m7va1g8x.js} +2 -2
  180. package/dist/chunks/{model-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{model-xnr76jvj.js → state-maj0r7ss.js} +23 -23
  182. package/dist/chunks/{model-09ez71p6.js → state-mb0j4q21.js} +8 -8
  183. package/dist/chunks/{model-efdt01wf.js → state-mgaev69e.js} +19 -19
  184. package/dist/chunks/{model-acyp9nmy.js → state-mvbvb2ym.js} +4 -4
  185. package/dist/chunks/{model-y94sa969.js → state-n0h0amn2.js} +24 -24
  186. package/dist/chunks/{model-zrsgf04b.js → state-n3xehdaz.js} +10 -10
  187. package/dist/chunks/{model-h9x5fspw.js → state-nbhnp41v.js} +16 -16
  188. package/dist/chunks/{model-9dnmtttn.js → state-ncvzejv0.js} +21 -21
  189. package/dist/chunks/{model-t1fsmxc3.js → state-nejw5358.js} +32 -32
  190. package/dist/chunks/{model-cdpzgvn4.js → state-nfafr5xt.js} +9 -9
  191. package/dist/chunks/{model-zy42tfqg.js → state-nj0t66hd.js} +9 -9
  192. package/dist/chunks/{model-x816vrn9.js → state-p0smjn4a.js} +34 -34
  193. package/dist/chunks/{model-tbz0fdvh.js → state-p28j5sbe.js} +5 -5
  194. package/dist/chunks/{model-hmw3pr0d.js → state-p6hvzet5.js} +3 -3
  195. package/dist/chunks/{model-gdnmvhtd.js → state-p7kban1t.js} +25 -25
  196. package/dist/chunks/{model-8dn5gfvq.js → state-pdb37evm.js} +10 -10
  197. package/dist/chunks/{model-xfjax5kj.js → state-phjaars8.js} +6 -6
  198. package/dist/chunks/{model-sjb5616m.js → state-pjd8p6gf.js} +38 -38
  199. package/dist/chunks/{model-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{model-pknna89w.js → state-pknna89w.js} +1 -1
  201. package/dist/chunks/{model-qwjmgwmn.js → state-pnaxc6j9.js} +8 -8
  202. package/dist/chunks/{model-zkj5scrh.js → state-pnrmr4rz.js} +5 -5
  203. package/dist/chunks/{model-y3ss1vq6.js → state-pwr8kbjj.js} +12 -12
  204. package/dist/chunks/{model-yw7r4j3y.js → state-q8m5at2c.js} +3 -3
  205. package/dist/chunks/{model-3c2za3af.js → state-qbke3kgq.js} +24 -24
  206. package/dist/chunks/{model-b1rwpjt2.js → state-qdjw24f7.js} +33 -33
  207. package/dist/chunks/{model-yhhb1kw1.js → state-qe2799nx.js} +23 -23
  208. package/dist/chunks/{model-2k8khapm.js → state-qgn6gcr1.js} +5 -5
  209. package/dist/chunks/{model-qsdy395h.js → state-qsdy395h.js} +1 -1
  210. package/dist/chunks/{model-xngczjm7.js → state-qt4daa5e.js} +36 -36
  211. package/dist/chunks/{model-y1qqcj8h.js → state-qvb3nf84.js} +8 -8
  212. package/dist/chunks/{model-szck2fw2.js → state-qvtz2jxg.js} +8 -8
  213. package/dist/chunks/{model-7z8m4jdr.js → state-r6zy1qmr.js} +12 -12
  214. package/dist/chunks/{model-r98e92ep.js → state-r98e92ep.js} +1 -1
  215. package/dist/chunks/{model-a2ew8a62.js → state-ratrq7cm.js} +4 -4
  216. package/dist/chunks/{model-vnrw16qp.js → state-rdvzw9t8.js} +17 -17
  217. package/dist/chunks/{model-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{model-rhjbct0v.js → state-rhjbct0v.js} +1 -1
  219. package/dist/chunks/{model-5k87bj0k.js → state-rs95eanb.js} +34 -34
  220. package/dist/chunks/{model-ynv8jnc3.js → state-rvaqgq0f.js} +4 -4
  221. package/dist/chunks/{model-fm317nwr.js → state-rzd4jsfj.js} +14 -14
  222. package/dist/chunks/{model-fawkavha.js → state-s3qbv9e3.js} +12 -12
  223. package/dist/chunks/{model-5tpwjqwz.js → state-s418py6z.js} +35 -35
  224. package/dist/chunks/{model-f50x3b3s.js → state-s8a6xw4k.js} +13 -13
  225. package/dist/chunks/{model-q91y1k20.js → state-sat5e2rs.js} +6 -6
  226. package/dist/chunks/{model-0y5n2msm.js → state-satmk7yw.js} +5 -5
  227. package/dist/chunks/{model-nqkhhm1a.js → state-shqb7w7j.js} +11 -11
  228. package/dist/chunks/{model-8rps6qd7.js → state-stxdqzsk.js} +25 -25
  229. package/dist/chunks/{model-pdbha7qx.js → state-t8rwn89y.js} +43 -43
  230. package/dist/chunks/{model-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{model-dpwc31n5.js → state-td6ehhd6.js} +20 -20
  232. package/dist/chunks/{model-tdstcens.js → state-tdstcens.js} +1 -1
  233. package/dist/chunks/{model-vbfgae2j.js → state-tjedn1bk.js} +4 -4
  234. package/dist/chunks/{model-40k8kmwx.js → state-tkwnk4jh.js} +7 -7
  235. package/dist/chunks/{model-2qp6y8xf.js → state-tn0aqsam.js} +5 -5
  236. package/dist/chunks/{model-jxd6phk9.js → state-tnwmy3fn.js} +3 -3
  237. package/dist/chunks/{model-gwc5p263.js → state-tpjhxhtx.js} +3 -3
  238. package/dist/chunks/{model-tvtrv512.js → state-tvtrv512.js} +1 -1
  239. package/dist/chunks/{model-b05n7962.js → state-tz4g707y.js} +33 -33
  240. package/dist/chunks/{model-0w0pfv64.js → state-v51m7ygs.js} +8 -8
  241. package/dist/chunks/{model-0arxtjdz.js → state-vcb4zatg.js} +7 -7
  242. package/dist/chunks/{model-veqvce7d.js → state-veqvce7d.js} +1 -1
  243. package/dist/chunks/{model-qnttz4bc.js → state-vfqx7caj.js} +13 -13
  244. package/dist/chunks/{model-bba39dcq.js → state-vjbq76n5.js} +24 -24
  245. package/dist/chunks/{model-3trq1tgd.js → state-vmea8g6y.js} +13 -13
  246. package/dist/chunks/{model-9xwr79ss.js → state-vmvde4w9.js} +16 -16
  247. package/dist/chunks/{model-dr7gxcgm.js → state-vq0pq1hf.js} +10 -10
  248. package/dist/chunks/{model-821c2grm.js → state-vsgqqedx.js} +12 -12
  249. package/dist/chunks/{model-80vk4pbp.js → state-vtt0yr3x.js} +12 -12
  250. package/dist/chunks/{model-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{model-w1gdqckm.js → state-w1vgrpj6.js} +6 -6
  252. package/dist/chunks/{model-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{model-rf8gwv68.js → state-w94gdkfg.js} +9 -9
  254. package/dist/chunks/{model-k9a0313z.js → state-wavy99wc.js} +11 -11
  255. package/dist/chunks/{model-wd87259q.js → state-wd87259q.js} +1 -1
  256. package/dist/chunks/{model-kt6y54za.js → state-wday4843.js} +11 -11
  257. package/dist/chunks/{model-rdm5x9bh.js → state-ww9qvp54.js} +5 -5
  258. package/dist/chunks/{model-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{model-agxh3jj7.js → state-x392k3xw.js} +15 -15
  260. package/dist/chunks/{model-n3khnxxm.js → state-x6zehq8q.js} +26 -26
  261. package/dist/chunks/{model-s5kb3k8e.js → state-x704vwdd.js} +12 -12
  262. package/dist/chunks/{model-drwq78ky.js → state-xfkkasph.js} +4 -4
  263. package/dist/chunks/{model-233tjdzm.js → state-xgq75542.js} +4 -4
  264. package/dist/chunks/{model-99ggta0x.js → state-xk69ahjq.js} +169 -169
  265. package/dist/chunks/{model-22dh126j.js → state-xns7fgqg.js} +6 -6
  266. package/dist/chunks/{model-x9hs8p79.js → state-xsjeyn3d.js} +15 -15
  267. package/dist/chunks/{model-3n7m2hk2.js → state-xxbqrttr.js} +27 -27
  268. package/dist/chunks/{model-0hna2yy5.js → state-xzx5fa3q.js} +49 -49
  269. package/dist/chunks/{model-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{model-m5hyj67z.js → state-ydm596x3.js} +14 -14
  271. package/dist/chunks/{model-tj1f8e25.js → state-ye639aav.js} +15 -15
  272. package/dist/chunks/{model-510m7gjw.js → state-yjptyezs.js} +5 -5
  273. package/dist/chunks/{model-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{model-s4enseaf.js → state-yrznvahk.js} +2 -2
  275. package/dist/chunks/{model-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{model-r014f9z3.js → state-z24r31ms.js} +22 -22
  277. package/dist/chunks/{model-7zc7y866.js → state-z2v46jm6.js} +25 -25
  278. package/dist/chunks/{model-mphgtbj1.js → state-z3nay82g.js} +9 -9
  279. package/dist/chunks/{model-hk86mw2f.js → state-z45g6xtg.js} +304 -304
  280. package/dist/chunks/{model-29x78va6.js → state-z63w68vq.js} +6 -6
  281. package/dist/chunks/{model-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{model-zbpatq1k.js → state-zepzj8t0.js} +28 -28
  283. package/dist/chunks/{model-3r1htj1f.js → state-zghndv56.js} +25 -25
  284. package/dist/chunks/{model-6drgx612.js → state-zh2phv9k.js} +10 -10
  285. package/dist/chunks/{model-jpeemenq.js → state-zh7z2axx.js} +4 -4
  286. package/dist/chunks/{model-ts2x07a1.js → state-zhq6vg7a.js} +1 -1
  287. package/dist/chunks/{model-ey7qv34p.js → state-zj8f3y17.js} +27 -27
  288. package/dist/chunks/{model-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{model-baaqp4zd.js → state-zvt5dnpc.js} +4 -4
  290. package/dist/chunks/{model-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{model-0kxajatb.js → state-zz26p3g5.js} +11 -11
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +82 -82
  297. package/dist/config/discovery.js +83 -83
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +105 -105
  300. package/dist/config/plugin/agent.js +122 -122
  301. package/dist/config/plugin/command.js +211 -211
  302. package/dist/config/plugin/compaction.js +159 -159
  303. package/dist/config/plugin/compatibility.js +140 -140
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +123 -123
  306. package/dist/config/plugin/image.js +122 -122
  307. package/dist/config/plugin/instruction.js +89 -89
  308. package/dist/config/plugin/location-watcher.js +122 -122
  309. package/dist/config/plugin/mcp.js +129 -129
  310. package/dist/config/plugin/policy.js +123 -123
  311. package/dist/config/plugin/provider.js +122 -122
  312. package/dist/config/plugin/reference.js +124 -124
  313. package/dist/config/plugin/shell.js +124 -124
  314. package/dist/config/plugin/skill-file.js +101 -101
  315. package/dist/config/plugin/skill.js +143 -143
  316. package/dist/config/plugin/snapshot.js +122 -122
  317. package/dist/config/plugin/source.js +123 -123
  318. package/dist/config/plugin/tool-output.js +124 -124
  319. package/dist/config/plugin/websearch.js +123 -123
  320. package/dist/config/plugin/worktree.js +124 -124
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +127 -127
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +76 -76
  326. package/dist/database/database.js +65 -65
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration.gen.js +48 -48
  391. package/dist/database/migration.js +50 -50
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +75 -75
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +92 -92
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +92 -92
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +73 -73
  415. package/dist/file-access.js +103 -103
  416. package/dist/file-mutation.js +93 -93
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +224 -224
  426. package/dist/filesystem/protected.js +3 -3
  427. package/dist/filesystem/search.js +102 -102
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +107 -107
  431. package/dist/form.js +73 -73
  432. package/dist/formatter/builtins.js +2 -2
  433. package/dist/formatter.js +84 -84
  434. package/dist/generate.js +104 -104
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +98 -98
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +360 -360
  460. package/dist/instruction-discovery.js +84 -84
  461. package/dist/instructions/builtins.js +86 -86
  462. package/dist/instructions/index.js +1 -1
  463. package/dist/integration/connection.js +1 -1
  464. package/dist/integration.js +79 -79
  465. package/dist/job.js +78 -78
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +72 -72
  468. package/dist/location-activity.js +134 -134
  469. package/dist/location-lifecycle.js +105 -105
  470. package/dist/location-mutation.js +103 -103
  471. package/dist/location-service-map.js +85 -85
  472. package/dist/location-services.js +357 -357
  473. package/dist/location.js +84 -84
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +90 -90
  476. package/dist/mcp/index.js +107 -107
  477. package/dist/mcp/instructions.js +125 -125
  478. package/dist/mcp/oauth.js +74 -74
  479. package/dist/mcp/stdio.js +89 -89
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +98 -98
  482. package/dist/model-resolver.js +97 -97
  483. package/dist/model.js +95 -95
  484. package/dist/models-dev.js +106 -106
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +79 -79
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +114 -114
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +87 -87
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +74 -74
  494. package/dist/plugin/agent.js +101 -101
  495. package/dist/plugin/command.js +96 -96
  496. package/dist/plugin/compaction.js +130 -130
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +217 -217
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +331 -331
  502. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  503. package/dist/plugin/models-dev.js +95 -95
  504. package/dist/plugin/module.js +5 -5
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +101 -101
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  509. package/dist/plugin/provider/azure.js +121 -121
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +118 -118
  515. package/dist/plugin/provider/digitalocean.js +92 -92
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +92 -92
  520. package/dist/plugin/provider/gitlab.js +90 -90
  521. package/dist/plugin/provider/google-vertex.js +89 -89
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +76 -76
  524. package/dist/plugin/provider/lmstudio.js +121 -121
  525. package/dist/plugin/provider/modal.js +91 -91
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +121 -121
  528. package/dist/plugin/provider/openai.js +93 -93
  529. package/dist/plugin/provider/opencode.js +93 -93
  530. package/dist/plugin/provider/openrouter.js +90 -90
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +77 -77
  533. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  534. package/dist/plugin/provider/sap-ai-core.js +90 -90
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +89 -89
  539. package/dist/plugin/provider/vllm.js +121 -121
  540. package/dist/plugin/provider/xai.js +90 -90
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +159 -159
  543. package/dist/plugin/sdk.js +69 -69
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +138 -138
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +346 -346
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +83 -83
  551. package/dist/plugin/vcs/hg.js +83 -83
  552. package/dist/plugin/warming.js +120 -120
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +2 -2
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +228 -228
  561. package/dist/project/schema.js +6 -6
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +85 -85
  564. package/dist/provider.js +92 -92
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +3 -3
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +97 -97
  569. package/dist/reference/instructions.js +88 -88
  570. package/dist/reference.js +90 -90
  571. package/dist/repository-cache.js +80 -80
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +96 -96
  575. package/dist/rpc.js +81 -81
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +73 -73
  578. package/dist/session/compaction.js +133 -133
  579. package/dist/session/context.js +151 -151
  580. package/dist/session/diff.js +87 -87
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +223 -223
  585. package/dist/session/execution.js +127 -127
  586. package/dist/session/generate.js +152 -152
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +87 -87
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +78 -78
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +92 -92
  593. package/dist/session/message-updater.js +4 -4
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +118 -118
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +129 -129
  598. package/dist/session/projector.js +85 -85
  599. package/dist/session/prompt.js +104 -104
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +89 -89
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +228 -228
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +97 -97
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +113 -113
  609. package/dist/session/runner/step.js +123 -123
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +171 -171
  613. package/dist/session/shell.js +137 -137
  614. package/dist/session/skill.js +102 -102
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +72 -72
  617. package/dist/session/store.js +84 -84
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +209 -209
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +155 -155
  622. package/dist/session/to-session-error.js +110 -110
  623. package/dist/session/transfer.js +219 -219
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +219 -219
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +9 -9
  630. package/dist/shell.js +139 -139
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +104 -104
  633. package/dist/skill.js +109 -109
  634. package/dist/snapshot.js +90 -90
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +124 -124
  639. package/dist/tool/plugin/edit.js +119 -119
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +123 -123
  642. package/dist/tool/plugin/grep.js +123 -123
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +121 -121
  645. package/dist/tool/plugin/question.js +100 -100
  646. package/dist/tool/plugin/read.js +124 -124
  647. package/dist/tool/plugin/shell.js +216 -216
  648. package/dist/tool/plugin/skill.js +112 -112
  649. package/dist/tool/plugin/subagent.js +214 -214
  650. package/dist/tool/plugin/webfetch.js +103 -103
  651. package/dist/tool/plugin/websearch.js +113 -113
  652. package/dist/tool/plugin/write.js +121 -121
  653. package/dist/tool/read-filesystem.js +99 -99
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +16 -16
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +7 -7
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +4 -4
  671. package/dist/v1/config/formatter.js +1 -1
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +5 -5
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +91 -91
  676. package/dist/v1/config/permission.js +7 -7
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +1 -1
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +90 -90
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +88 -88
  686. package/dist/websearch.js +79 -79
  687. package/dist/wellknown/plugin.js +75 -75
  688. package/dist/wellknown.js +80 -80
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +79 -79
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +8 -8
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +88 -88
  696. package/dist/worktree.js +97 -97
  697. package/package.json +8 -8
  698. package/dist/chunks/model-0mesazry.js +0 -4
  699. package/dist/chunks/model-h2z4ejvh.js +0 -252
  700. package/dist/chunks/model-vsdyktar.js +0 -18
  701. /package/dist/chunks/{model-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{model-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{model-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{model-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{model-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{model-24dcb14g.js → state-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{model-2710q6r3.js → state-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{model-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{model-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{model-359p4xyc.js → state-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{model-3asan66x.js → state-3asan66x.js} +0 -0
  712. /package/dist/chunks/{model-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{model-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{model-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{model-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{model-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{model-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{model-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{model-53557ph1.js → state-53557ph1.js} +0 -0
  720. /package/dist/chunks/{model-550bvhaj.js → state-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{model-6prwharc.js → state-6prwharc.js} +0 -0
  722. /package/dist/chunks/{model-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{model-7m9af43g.js → state-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{model-822emrt2.js → state-822emrt2.js} +0 -0
  725. /package/dist/chunks/{model-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{model-8n3pysct.js → state-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{model-922hggd3.js → state-922hggd3.js} +0 -0
  728. /package/dist/chunks/{model-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{model-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{model-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{model-af5trqkr.js → state-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{model-afrmfg78.js → state-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{model-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{model-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{model-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{model-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{model-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{model-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{model-d9fn303g.js → state-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{model-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{model-dajrwvna.js → state-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{model-dap0rakb.js → state-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{model-df08tz66.js → state-df08tz66.js} +0 -0
  744. /package/dist/chunks/{model-dy18nga0.js → state-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{model-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{model-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{model-ec1grn59.js → state-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{model-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{model-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{model-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{model-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{model-faypxj3z.js → state-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{model-fd410y7t.js → state-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{model-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{model-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{model-g86h250q.js → state-g86h250q.js} +0 -0
  757. /package/dist/chunks/{model-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{model-gftt206x.js → state-gftt206x.js} +0 -0
  759. /package/dist/chunks/{model-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{model-hk9envan.js → state-hk9envan.js} +0 -0
  761. /package/dist/chunks/{model-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{model-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{model-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{model-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{model-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{model-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{model-mp448xyj.js → state-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{model-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{model-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{model-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{model-njntx4h6.js → state-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{model-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{model-q74kybfr.js → state-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{model-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{model-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{model-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{model-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{model-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{model-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{model-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{model-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{model-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{model-twg0f83k.js → state-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{model-w803qqfp.js → state-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{model-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{model-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{model-wtztk69x.js → state-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{model-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{model-x61499pn.js → state-x61499pn.js} +0 -0
  790. /package/dist/chunks/{model-y44na4kk.js → state-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{model-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{model-y8f7s663.js → state-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{model-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{model-ym463w8f.js → state-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{model-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID14,
2
+ ID13,
3
3
  Service74,
4
4
  node78
5
- } from "./model-3aq06pgr.js";
5
+ } from "./state-dsybc7nn.js";
6
6
  import {
7
- ID13,
7
+ ID12,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -14,21 +14,21 @@ import {
14
14
  mergeHeaders2,
15
15
  Service73,
16
16
  node77
17
- } from "./model-r014f9z3.js";
17
+ } from "./state-z24r31ms.js";
18
18
  import {
19
- Service55,
20
- node58
21
- } from "./model-x6348xh2.js";
19
+ Service64,
20
+ node68
21
+ } from "./state-3sdc9e54.js";
22
22
  import {
23
- ID12,
23
+ ID11,
24
24
  VariantID2,
25
25
  Ref2,
26
26
  Service72,
27
27
  node76
28
- } from "./model-y94sa969.js";
28
+ } from "./state-n0h0amn2.js";
29
29
  import {
30
30
  __export
31
- } from "./model-9rqn6x4v.js";
31
+ } from "./state-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError3,
38
38
  ModelInitializationError: () => ModelInitializationError3,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service54,
40
+ Service: () => Service63,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError3,
44
44
  VariantUnavailableError: () => VariantUnavailableError3,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer22,
48
- node: () => node57,
47
+ layer: () => layer24,
48
+ node: () => node67,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
55
55
  import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
- providerID: ID13,
59
- modelID: ID12,
58
+ providerID: ID12,
59
+ modelID: ID11,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
65
65
  }
66
66
 
67
67
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
- providerID: ID13,
69
- modelID: ID12,
68
+ providerID: ID12,
69
+ modelID: ID11,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
- providerID: ID13,
80
- modelID: ID12,
79
+ providerID: ID12,
80
+ modelID: ID11,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  }
88
88
 
89
89
  class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
- providerID: ID13,
91
- modelID: ID12,
90
+ providerID: ID12,
91
+ modelID: ID11,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
99
99
  }
100
100
 
101
101
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
- providerID: ID13,
103
- modelID: ID12,
102
+ providerID: ID12,
103
+ modelID: ID11,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
109
109
  }
110
110
 
111
111
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
- providerID: ID13,
113
- modelID: ID12,
112
+ providerID: ID12,
113
+ modelID: ID11,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service54 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service63 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer22 = Layer.effect(Service54, Effect.gen(function* () {
261
+ var layer24 = Layer.effect(Service63, Effect.gen(function* () {
262
262
  const providers = yield* Service73;
263
263
  const models = yield* Service72;
264
264
  const integrations = yield* Service74;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service55;
266
+ const aisdk = yield* Service64;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
269
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
270
270
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
271
271
  const selectedVariant = yield* withVariant2(selected, variant);
272
272
  const runtimeInfo = {
@@ -292,7 +292,7 @@ var layer22 = Layer.effect(Service54, Effect.gen(function* () {
292
292
  transport: provider?.settings?.transport
293
293
  };
294
294
  });
295
- return Service54.of({
295
+ return Service63.of({
296
296
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
297
297
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
298
298
  if (!selected)
@@ -309,10 +309,10 @@ function usesAPIKeyAuth(packageName) {
309
309
  const name = packageName2(packageName);
310
310
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
311
311
  }
312
- var node57 = makeLocationNode({
313
- service: Service54,
314
- layer: layer22,
315
- deps: [node77, node76, node78, Npm.node, node58]
312
+ var node67 = makeLocationNode({
313
+ service: Service63,
314
+ layer: layer24,
315
+ deps: [node77, node76, node78, Npm.node, node68]
316
316
  });
317
317
 
318
- export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service54, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node57, exports_model_resolver };
318
+ export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service63, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node67, exports_model_resolver };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service61,
3
- node64,
2
+ Service77,
3
+ node81,
4
4
  canonical3
5
- } from "./model-cdpzgvn4.js";
5
+ } from "./state-nfafr5xt.js";
6
6
  import {
7
- Service53,
8
- node56
9
- } from "./model-0hf9g8pg.js";
7
+ Service47,
8
+ node49
9
+ } from "./state-2a6rn6yr.js";
10
10
  import {
11
- Service16
12
- } from "./model-1dvkw6kv.js";
11
+ Service20
12
+ } from "./state-68bmj4r5.js";
13
13
  import {
14
14
  layer2
15
- } from "./model-h2z4ejvh.js";
15
+ } from "./state-aee32p22.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service61, Effect.gen(function* () {
20
+ return Layer.effect(Service77, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service16);
30
+ const lifecycle = Context.get(exit.value, Service20);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node56.replace(Layer.succeed(Service53, {
57
+ node49.replace(Layer.succeed(Service47, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node64.replace(Layer.succeed(Service61, map))
61
+ node81.replace(Layer.succeed(Service77, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./model-5daktx2q.js";
3
+ } from "./state-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./model-922hggd3.js";
6
+ } from "./state-922hggd3.js";
7
7
  import {
8
- ID6,
8
+ ID5,
9
9
  Name2
10
- } from "./model-n3khnxxm.js";
10
+ } from "./state-x6zehq8q.js";
11
11
  import {
12
12
  __export
13
- } from "./model-9rqn6x4v.js";
13
+ } from "./state-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID6.make(id),
58
+ id: ID5.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./model-0vqy8ggk.js";
3
+ } from "./state-9a3ps1ng.js";
4
4
  import {
5
5
  __export
6
- } from "./model-9rqn6x4v.js";
6
+ } from "./state-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin16
12
+ Plugin: () => Plugin14
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin16 = define({
32
+ var Plugin14 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin16, exports_plan };
109
+ export { Plugin14, exports_plan };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./model-gftt206x.js";
3
+ } from "./state-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./model-xxynqx5z.js";
6
+ } from "./state-256nx13v.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./model-wb2crypr.js";
9
+ } from "./state-f35htakt.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./model-rhjbct0v.js";
13
+ } from "./state-rhjbct0v.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./model-5c4hm403.js";
16
+ } from "./state-a1bz86dw.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./model-fab8hzt3.js";
20
+ } from "./state-cq37gk0t.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./model-csf2jhsg.js";
25
+ } from "./state-5c0f1prt.js";
26
26
  import {
27
27
  __export
28
- } from "./model-9rqn6x4v.js";
28
+ } from "./state-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load4,
38
+ load: () => load5,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-922hggd3.js";
4
+ } from "./state-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node86
10
- } from "./model-68y7phbn.js";
8
+ Service80,
9
+ node84
10
+ } from "./state-e23w9d35.js";
11
11
  import {
12
- Service77,
13
- node81
14
- } from "./model-02x3fxhb.js";
12
+ Service78,
13
+ node82
14
+ } from "./state-e0j28ztz.js";
15
15
  import {
16
16
  create3
17
- } from "./model-rdw6cm16.js";
17
+ } from "./state-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./model-9rqn6x4v.js";
20
+ } from "./state-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error3,
26
- ID: () => ID5,
27
- Service: () => Service44,
26
+ ID: () => ID4,
27
+ Service: () => Service48,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node47,
30
- noopLayer: () => noopLayer2
29
+ node: () => node50,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
39
  class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service44 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service48 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service44, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service80;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service77;
52
+ const location = yield* Service78;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID4.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service48.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node47 = makeLocationNode({
144
- service: Service44,
143
+ var node50 = makeLocationNode({
144
+ service: Service48,
145
145
  layer,
146
- deps: [FSUtil.node, node86, Global.node, node81]
146
+ deps: [FSUtil.node, node84, Global.node, node82]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service44, Service44.of({
148
+ var noopLayer3 = Layer.succeed(Service48, Service48.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -163,4 +163,4 @@ function failure(operation, cause) {
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error3, Service44, node47, noopLayer2, exports_snapshot2 };
166
+ export { ID4, Error3, Service48, node50, noopLayer3, exports_snapshot2 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./model-dpkg50ah.js";
3
+ } from "./state-jwcy2c2z.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./model-fawkavha.js";
5
+ Service81,
6
+ node85
7
+ } from "./state-s3qbv9e3.js";
8
8
  import {
9
- Event19,
9
+ Event20,
10
10
  Service76,
11
11
  node80
12
- } from "./model-ebdyxsk8.js";
12
+ } from "./state-jt5zqcnj.js";
13
13
  import {
14
- Service77,
15
- node81
16
- } from "./model-02x3fxhb.js";
14
+ Service78,
15
+ node82
16
+ } from "./state-e0j28ztz.js";
17
17
  import {
18
- Service69,
19
- node72
20
- } from "./model-bba39dcq.js";
18
+ Service59,
19
+ node62
20
+ } from "./state-vjbq76n5.js";
21
21
  import {
22
- ID15,
22
+ ID14,
23
23
  Service75,
24
24
  node79
25
- } from "./model-4ywpd5fw.js";
25
+ } from "./state-gc4k3fky.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./model-rdw6cm16.js";
29
+ } from "./state-rdw6cm16.js";
30
30
  import {
31
- ID14,
31
+ ID13,
32
32
  MethodID2,
33
33
  Service74,
34
34
  node78
35
- } from "./model-3aq06pgr.js";
35
+ } from "./state-dsybc7nn.js";
36
36
  import {
37
37
  __export
38
- } from "./model-9rqn6x4v.js";
38
+ } from "./state-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError5,
45
- Options: () => Options5,
44
+ NotFoundError: () => NotFoundError3,
45
+ Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service36,
53
+ Service: () => Service32,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured5,
57
- layer: () => layer14,
58
- node: () => node39
56
+ configured: () => configured4,
57
+ layer: () => layer12,
58
+ node: () => node36
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -93,18 +93,18 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service36 extends Context.Service()("@opencode/MCP") {
96
+ class Service32 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
- var Options5 = Schema.Struct({
98
+ var Options4 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
100
100
  name: Schema.String,
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
105
- const location = yield* Service77;
106
- const environment = yield* Service69;
107
- const bus = yield* Service83;
104
+ var layer12 = (options) => Layer.effect(Service32, Effect.gen(function* () {
105
+ const location = yield* Service78;
106
+ const environment = yield* Service59;
107
+ const bus = yield* Service81;
108
108
  const forms = yield* Service75;
109
109
  const integration = yield* Service74;
110
110
  const credentials = yield* Service76;
@@ -119,7 +119,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
119
119
  return;
120
120
  const remote = entry.config;
121
121
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
122
- const integrationID = ID14.make(suffix);
122
+ const integrationID = ID13.make(suffix);
123
123
  entry.integrationID = integrationID;
124
124
  owned.add(integrationID);
125
125
  const methodID = MethodID2.make(suffix);
@@ -144,7 +144,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
144
144
  const name = ServerName2.make(server);
145
145
  const entry = entries.get(name);
146
146
  if (!entry)
147
- return yield* new NotFoundError5({ server: name });
147
+ return yield* new NotFoundError3({ server: name });
148
148
  return { name, entry };
149
149
  });
150
150
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -156,7 +156,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
156
156
  const elicitation = {
157
157
  create: (input) => Effect.gen(function* () {
158
158
  if (input.params.mode === "url") {
159
- const formID = ID15.create();
159
+ const formID = ID14.create();
160
160
  const elicitationID = input.params.elicitationId;
161
161
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
162
162
  if (key)
@@ -240,7 +240,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
240
240
  entry.scope = scope;
241
241
  const authProvider = yield* connectProvider(entry);
242
242
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
243
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service69, environment), Scope.provide(scope));
243
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service59, environment), Scope.provide(scope));
244
244
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
245
245
  if (Exit.isSuccess(result)) {
246
246
  entry.client = result.value.connection;
@@ -365,7 +365,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
365
365
  yield* startServer(name, entry);
366
366
  }).pipe(locks.withLock(name));
367
367
  });
368
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
368
+ fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
369
369
  const state = create3({
370
370
  name: "mcp",
371
371
  initial: () => ({
@@ -391,7 +391,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
391
391
  }),
392
392
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
393
393
  });
394
- return Service36.of({
394
+ return Service32.of({
395
395
  transform: state.transform,
396
396
  reload: state.reload,
397
397
  servers: Effect.fn("MCP.servers")(function* () {
@@ -510,14 +510,14 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
510
510
  })
511
511
  });
512
512
  }));
513
- function configured5(options) {
513
+ function configured4(options) {
514
514
  return makeLocationNode({
515
- service: Service36,
516
- layer: layer14(options),
517
- deps: [node81, node72, node87, node79, node78, node80]
515
+ service: Service32,
516
+ layer: layer12(options),
517
+ deps: [node82, node62, node85, node79, node78, node80]
518
518
  });
519
519
  }
520
- var node39 = configured5();
520
+ var node36 = configured4();
521
521
  function toElicitationField(key, property, required) {
522
522
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
523
523
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
568
568
  }
569
569
  }
570
570
 
571
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service36, Options5, layer14, configured5, node39, exports_mcp4 };
571
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service32, Options4, layer12, configured4, node36, exports_mcp4 };