@opencode/core 0.0.0-dev-20085 → 0.0.0-dev-20086

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{location-ya2d1jd1.js → state-02cj0pc8.js} +16 -16
  8. package/dist/chunks/{location-pnpk2aj1.js → state-07rdd209.js} +15 -15
  9. package/dist/chunks/{location-r42cf70c.js → state-0erg9wwv.js} +22 -22
  10. package/dist/chunks/{location-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{location-patgj9rf.js → state-0tmgye68.js} +9 -9
  12. package/dist/chunks/{location-q9sjfa10.js → state-0wey50z9.js} +18 -18
  13. package/dist/chunks/{location-hsw8f0yd.js → state-103sd08j.js} +30 -30
  14. package/dist/chunks/{location-j5208yae.js → state-10jtetaj.js} +4 -4
  15. package/dist/chunks/{location-cppnyjvh.js → state-12as4csw.js} +4 -4
  16. package/dist/chunks/{location-pf25tzn7.js → state-12p4qwq0.js} +14 -14
  17. package/dist/chunks/{location-ztyqrv9d.js → state-14qvxy67.js} +4 -4
  18. package/dist/chunks/{location-15t8dppg.js → state-1bmsx0zf.js} +5 -5
  19. package/dist/chunks/{location-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{location-t7w8r238.js → state-1em0vfhe.js} +10 -10
  21. package/dist/chunks/{location-b97tvfr3.js → state-1px9a8xa.js} +30 -30
  22. package/dist/chunks/{location-5ncth405.js → state-1s1ztnqh.js} +14 -14
  23. package/dist/chunks/{location-5ej7x3ry.js → state-1vtry6ap.js} +11 -11
  24. package/dist/chunks/{location-56gdpj1q.js → state-1ygqh575.js} +9 -9
  25. package/dist/chunks/{location-21r38tys.js → state-21r38tys.js} +1 -1
  26. package/dist/chunks/{location-wq6ect1f.js → state-22r3fh08.js} +10 -10
  27. package/dist/chunks/{location-entyswmt.js → state-271vm2mc.js} +141 -141
  28. package/dist/chunks/{location-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{location-h50xqkc8.js → state-2akz4pff.js} +20 -20
  30. package/dist/chunks/{location-j87tpa1r.js → state-2cdppye1.js} +9 -9
  31. package/dist/chunks/{location-d47kqq9a.js → state-2gsn04w3.js} +33 -33
  32. package/dist/chunks/{location-sjghecny.js → state-2r4f9961.js} +20 -20
  33. package/dist/chunks/{location-ct98n74x.js → state-2wh0tznn.js} +28 -28
  34. package/dist/chunks/{location-w4z3ay81.js → state-331q5pgp.js} +24 -24
  35. package/dist/chunks/{location-nneme6j2.js → state-37pjvmwd.js} +9 -9
  36. package/dist/chunks/{location-tr6856ra.js → state-384gf1m7.js} +24 -24
  37. package/dist/chunks/{location-fsfa9jkm.js → state-38zhvv5q.js} +9 -9
  38. package/dist/chunks/{location-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{location-5xpznt2d.js → state-3fmtxraa.js} +4 -4
  40. package/dist/chunks/{location-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{location-m4xgzfwx.js → state-3pt3xjye.js} +3 -3
  42. package/dist/chunks/{location-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{location-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{location-5cpn9dpm.js → state-3tza3sf4.js} +54 -54
  45. package/dist/chunks/{location-xtjem3bf.js → state-3xe0jx7r.js} +5 -5
  46. package/dist/chunks/{location-3zsf4n22.js → state-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{location-vmfra14x.js → state-3ztzj39p.js} +15 -15
  48. package/dist/chunks/{location-823tjzjk.js → state-40e94ye7.js} +26 -26
  49. package/dist/chunks/{location-n34v5czf.js → state-44849632.js} +13 -13
  50. package/dist/chunks/{location-zd30eb5w.js → state-4n607a2z.js} +5 -5
  51. package/dist/chunks/{location-1ezynbde.js → state-4ncjv8c3.js} +32 -32
  52. package/dist/chunks/{location-4eq8w0dz.js → state-4nzwy074.js} +4 -4
  53. package/dist/chunks/{location-20td3mps.js → state-4qv3yyzg.js} +10 -10
  54. package/dist/chunks/{location-kh1y2j6w.js → state-527n1w5n.js} +7 -7
  55. package/dist/chunks/{location-3ppptnan.js → state-52hb404k.js} +6 -6
  56. package/dist/chunks/{location-81swgkk7.js → state-57ez7d0k.js} +7 -7
  57. package/dist/chunks/{location-8adg00cn.js → state-580xtat9.js} +12 -12
  58. package/dist/chunks/{location-5daktx2q.js → state-5daktx2q.js} +1 -1
  59. package/dist/chunks/{location-5ekn9679.js → state-5ekn9679.js} +1 -1
  60. package/dist/chunks/{location-ek0wagzw.js → state-5gftdx11.js} +39 -39
  61. package/dist/chunks/{location-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{location-3jycfehx.js → state-5vmwkxe9.js} +22 -22
  63. package/dist/chunks/{location-5wdb16a6.js → state-637kffsg.js} +24 -24
  64. package/dist/chunks/{location-ex35gdgj.js → state-63cq5ear.js} +11 -11
  65. package/dist/chunks/{location-agbx9p6n.js → state-64dtqc3f.js} +3 -3
  66. package/dist/chunks/{location-669tq793.js → state-669tq793.js} +1 -1
  67. package/dist/chunks/{location-qfc6rmg7.js → state-6f09tcf1.js} +33 -33
  68. package/dist/chunks/{location-2402vzrj.js → state-6h73sxmp.js} +5 -5
  69. package/dist/chunks/state-6mkgf16q.js +252 -0
  70. package/dist/chunks/{location-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{location-w4605gqt.js → state-6n2eehmw.js} +18 -18
  72. package/dist/chunks/{location-7fkffz83.js → state-6pc27hjz.js} +8 -8
  73. package/dist/chunks/{location-fhqkm81b.js → state-6q87yf47.js} +13 -13
  74. package/dist/chunks/{location-65k8mysp.js → state-6qsj15fd.js} +9 -9
  75. package/dist/chunks/{location-fxpcrhf7.js → state-6s8wj2t2.js} +4 -4
  76. package/dist/chunks/{location-c4yydncf.js → state-6w1rts7e.js} +4 -4
  77. package/dist/chunks/{location-t3fjjczq.js → state-6xjd4qpp.js} +87 -87
  78. package/dist/chunks/{location-p01c8egr.js → state-6xxehmv1.js} +16 -16
  79. package/dist/chunks/{location-4vt3p759.js → state-72c7x5rd.js} +3 -3
  80. package/dist/chunks/{location-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{location-2k8khapm.js → state-7dqw4kz8.js} +5 -5
  82. package/dist/chunks/{location-q8wm0n5k.js → state-7wrqfeey.js} +43 -43
  83. package/dist/chunks/{location-nw2nz702.js → state-7z7az0f5.js} +4 -4
  84. package/dist/chunks/{location-z38r829x.js → state-7z9wgydg.js} +7 -7
  85. package/dist/chunks/{location-ajv0zg1h.js → state-821ss22x.js} +48 -48
  86. package/dist/chunks/{location-exq908em.js → state-86dam8yv.js} +15 -15
  87. package/dist/chunks/{location-0be1sdj9.js → state-87df55d3.js} +13 -13
  88. package/dist/chunks/{location-gd27z9a0.js → state-87qk2fb2.js} +13 -13
  89. package/dist/chunks/{location-7qzds7mm.js → state-892zz8qj.js} +2 -2
  90. package/dist/chunks/{location-299n82gd.js → state-8d0p2m37.js} +8 -8
  91. package/dist/chunks/{location-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{location-sr7rg3r5.js → state-8hm487hb.js} +17 -17
  93. package/dist/chunks/{location-e98q8pr4.js → state-8tt36ewb.js} +24 -24
  94. package/dist/chunks/{location-0xx80p0r.js → state-8w6y8kk9.js} +18 -18
  95. package/dist/chunks/{location-7ksxvdee.js → state-8zz3fhf5.js} +30 -30
  96. package/dist/chunks/{location-94ek1h2f.js → state-94ek1h2f.js} +2 -2
  97. package/dist/chunks/{location-jz0a01nb.js → state-96frkt8z.js} +7 -7
  98. package/dist/chunks/{location-6mmgh4xg.js → state-9aq5295b.js} +5 -5
  99. package/dist/chunks/{location-j68tbxz2.js → state-9g7qqvsb.js} +69 -69
  100. package/dist/chunks/{location-czfptnv9.js → state-9hn6k4tm.js} +8 -8
  101. package/dist/chunks/{location-x3b624sb.js → state-9smb885v.js} +25 -25
  102. package/dist/chunks/{location-m7p8stnt.js → state-9zch71dn.js} +24 -24
  103. package/dist/chunks/{location-b09hzw3k.js → state-a3r4dcrj.js} +2 -2
  104. package/dist/chunks/{location-jw80jp6b.js → state-a8bn8zg0.js} +4 -4
  105. package/dist/chunks/{location-nhacqrek.js → state-a8tm1nmv.js} +11 -11
  106. package/dist/chunks/{location-aaet6srn.js → state-aaet6srn.js} +2 -2
  107. package/dist/chunks/{location-10tgmh5f.js → state-ab3q5qw2.js} +30 -30
  108. package/dist/chunks/{location-jhczez2b.js → state-addr2z3b.js} +12 -12
  109. package/dist/chunks/{location-jvm2qc0w.js → state-aesvhg1d.js} +43 -43
  110. package/dist/chunks/{location-pe51w29c.js → state-ahze9mkv.js} +10 -10
  111. package/dist/chunks/{location-dq5m8eys.js → state-ash9qzxk.js} +8 -8
  112. package/dist/chunks/{location-za0666pm.js → state-b2rczs3a.js} +1 -1
  113. package/dist/chunks/{location-prtkmv61.js → state-b4xx7p0v.js} +8 -8
  114. package/dist/chunks/{location-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{location-0v53mg2y.js → state-bct739vz.js} +4 -4
  116. package/dist/chunks/{location-9b00c1fb.js → state-bgs9y14h.js} +5 -5
  117. package/dist/chunks/{location-gymhtc5c.js → state-bgte5q86.js} +6 -6
  118. package/dist/chunks/{location-jax2wzap.js → state-bhnryp6n.js} +26 -26
  119. package/dist/chunks/{location-wt2q29jj.js → state-bswpvtym.js} +8 -8
  120. package/dist/chunks/{location-bt20w6w8.js → state-bwgpf6kh.js} +21 -21
  121. package/dist/chunks/{location-b11dy6b6.js → state-bxxr9cq6.js} +17 -17
  122. package/dist/chunks/{location-m92eggrv.js → state-cbm7rw8j.js} +24 -24
  123. package/dist/chunks/{location-e3x56sfv.js → state-cfm9g534.js} +8 -8
  124. package/dist/chunks/{location-dt3dk03m.js → state-chjpp9jv.js} +22 -22
  125. package/dist/chunks/{location-hvga15ca.js → state-cjagda2z.js} +25 -25
  126. package/dist/chunks/{location-ckecvw8r.js → state-ckecvw8r.js} +2 -2
  127. package/dist/chunks/{location-gst7axd9.js → state-ckf8nxjz.js} +4 -4
  128. package/dist/chunks/{location-7gdmqp75.js → state-d2jcr80b.js} +9 -9
  129. package/dist/chunks/{location-4bm5ja14.js → state-d858xzj7.js} +4 -4
  130. package/dist/chunks/{location-hsk8na3b.js → state-dbs1cfk5.js} +17 -17
  131. package/dist/chunks/{location-56dkfrzf.js → state-dg2cj1yd.js} +4 -4
  132. package/dist/chunks/{location-3bsjcbdv.js → state-dhw6r217.js} +20 -20
  133. package/dist/chunks/{location-dj9sq318.js → state-dj9sq318.js} +2 -2
  134. package/dist/chunks/{location-cwa6csj7.js → state-djszqvmq.js} +9 -9
  135. package/dist/chunks/{location-k5f5svak.js → state-dmcwwrzf.js} +41 -41
  136. package/dist/chunks/{location-07vz9eek.js → state-dnndpd67.js} +18 -18
  137. package/dist/chunks/{location-t6s2bers.js → state-dnrkp1py.js} +33 -33
  138. package/dist/chunks/{location-y5df08dr.js → state-dq0v80fr.js} +12 -12
  139. package/dist/chunks/{location-663rft7j.js → state-dq47ydgj.js} +11 -11
  140. package/dist/chunks/{location-p2wnajn4.js → state-dqpqvfc1.js} +22 -22
  141. package/dist/chunks/{location-qqeeq2t9.js → state-drwq78ky.js} +7 -7
  142. package/dist/chunks/{location-ymyrvvg4.js → state-dsdkcqh1.js} +10 -10
  143. package/dist/chunks/{location-kqyggb01.js → state-dxs7zpw7.js} +22 -22
  144. package/dist/chunks/{location-0r7yqxbf.js → state-e6hmchc5.js} +5 -5
  145. package/dist/chunks/{location-qekrwnkg.js → state-eef7h5va.js} +8 -8
  146. package/dist/chunks/{location-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  147. package/dist/chunks/{location-mfwxmvth.js → state-en8wy5tc.js} +6 -6
  148. package/dist/chunks/{location-a7s3m6jr.js → state-epb60yey.js} +26 -26
  149. package/dist/chunks/{location-zn9tdbcz.js → state-eqrfgmgr.js} +38 -38
  150. package/dist/chunks/{location-erw5rpbs.js → state-erw5rpbs.js} +2 -2
  151. package/dist/chunks/{location-1fbwpdat.js → state-es9xe94t.js} +6 -6
  152. package/dist/chunks/{location-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  153. package/dist/chunks/{location-y6an656x.js → state-ezbzr521.js} +29 -29
  154. package/dist/chunks/{location-kp8q1t60.js → state-fdms3n6w.js} +9 -9
  155. package/dist/chunks/{location-mtq6xxnx.js → state-fdv30zvt.js} +4 -4
  156. package/dist/chunks/{location-3pe7sts8.js → state-fhs97t90.js} +9 -9
  157. package/dist/chunks/{location-z1hg6mkq.js → state-ftffmgpp.js} +25 -25
  158. package/dist/chunks/{location-2415p9az.js → state-fv5cfh7k.js} +11 -11
  159. package/dist/chunks/{location-e4nckkcb.js → state-g4w6jwnj.js} +3 -3
  160. package/dist/chunks/{location-xf3q38nz.js → state-g5vp43hv.js} +4 -4
  161. package/dist/chunks/{location-yy0073zb.js → state-g6h7bsxt.js} +14 -14
  162. package/dist/chunks/{location-4pcxhhnw.js → state-g9a672k8.js} +8 -8
  163. package/dist/chunks/{location-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  164. package/dist/chunks/{location-7e14ztgh.js → state-ggydwk5a.js} +29 -29
  165. package/dist/chunks/{location-3q97q53x.js → state-gj2fds2z.js} +12 -12
  166. package/dist/chunks/{location-6yvxz189.js → state-gpk600j1.js} +15 -15
  167. package/dist/chunks/{location-n5ege220.js → state-gv189fdt.js} +4 -4
  168. package/dist/chunks/{location-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  169. package/dist/chunks/{location-e6v038b2.js → state-gvz217w8.js} +14 -14
  170. package/dist/chunks/{location-4dgbcxzg.js → state-h6r3nrb9.js} +4 -4
  171. package/dist/chunks/{location-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  172. package/dist/chunks/{location-j56e64zr.js → state-j56e64zr.js} +1 -1
  173. package/dist/chunks/{location-y6f0p4jw.js → state-jexxy024.js} +3 -3
  174. package/dist/chunks/{location-5tv5qkzz.js → state-jmx7yt6q.js} +3 -3
  175. package/dist/chunks/{location-yxdrajt4.js → state-jrfdjycb.js} +14 -14
  176. package/dist/chunks/{location-acwcyef3.js → state-jtjd9btn.js} +15 -15
  177. package/dist/chunks/{location-r8s9jegn.js → state-k1jc7js8.js} +28 -28
  178. package/dist/chunks/{location-nzks3jc8.js → state-k3c624dm.js} +3 -3
  179. package/dist/chunks/{location-sfntmzm9.js → state-k53npxr2.js} +1 -1
  180. package/dist/chunks/{location-zkqfv669.js → state-k7hn9ts1.js} +11 -11
  181. package/dist/chunks/{location-fet78f29.js → state-kbhz4k7s.js} +6 -6
  182. package/dist/chunks/{location-0cggee6v.js → state-khz59kc2.js} +17 -17
  183. package/dist/chunks/{location-kfkc9c0x.js → state-ksg5ge3c.js} +11 -11
  184. package/dist/chunks/{location-veq8ynv9.js → state-kv8zgwe7.js} +1 -1
  185. package/dist/chunks/{location-m3fdjcah.js → state-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{location-rykbncrs.js → state-m46seram.js} +20 -20
  187. package/dist/chunks/{location-s41xhwbz.js → state-m5qjvym0.js} +16 -16
  188. package/dist/chunks/{location-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{location-j028xdjb.js → state-mhkvc446.js} +3 -3
  190. package/dist/chunks/{location-jzpaswe0.js → state-mp6axp2d.js} +17 -17
  191. package/dist/chunks/{location-ekx4vqp6.js → state-mpsr4xxv.js} +8 -8
  192. package/dist/chunks/{location-bn158v02.js → state-my5aw7sa.js} +8 -8
  193. package/dist/chunks/{location-8v644s20.js → state-n436yt00.js} +33 -33
  194. package/dist/chunks/{location-ncbbtkwf.js → state-n45qbav7.js} +2 -2
  195. package/dist/chunks/{location-80fr4qvs.js → state-n98mt2bs.js} +1 -1
  196. package/dist/chunks/{location-69ksqbae.js → state-ngxakx5z.js} +29 -29
  197. package/dist/chunks/{location-fbst5knr.js → state-nh5efkqv.js} +9 -9
  198. package/dist/chunks/{location-8nv3jfj1.js → state-nj1j17x6.js} +8 -8
  199. package/dist/chunks/{location-j7bc97tj.js → state-nj4z6qgz.js} +3 -3
  200. package/dist/chunks/{location-v8d91504.js → state-njbb07ax.js} +15 -15
  201. package/dist/chunks/{location-yt9ppsef.js → state-nkf0pzw4.js} +13 -13
  202. package/dist/chunks/{location-g8fhvq2m.js → state-nrx107y4.js} +19 -19
  203. package/dist/chunks/{location-hkfg6fzm.js → state-nxhqveyz.js} +5 -5
  204. package/dist/chunks/{location-425trzk5.js → state-nybzzdwf.js} +26 -26
  205. package/dist/chunks/{location-3tbrhkpf.js → state-p1m5akjg.js} +10 -10
  206. package/dist/chunks/{location-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{location-pknna89w.js → state-pknna89w.js} +1 -1
  208. package/dist/chunks/{location-g4k2agg3.js → state-prk02b1h.js} +21 -21
  209. package/dist/chunks/{location-39jngy68.js → state-q0jqcs2e.js} +27 -27
  210. package/dist/chunks/{location-exwd0g1v.js → state-q994nwkr.js} +6 -6
  211. package/dist/chunks/state-qc068m1q.js +18 -0
  212. package/dist/chunks/{location-510j4sx9.js → state-qkrrfaax.js} +27 -27
  213. package/dist/chunks/{location-et0rkxxj.js → state-qp3v07n2.js} +8 -8
  214. package/dist/chunks/{location-qsdy395h.js → state-qsdy395h.js} +1 -1
  215. package/dist/chunks/{location-qwjmgwmn.js → state-qwjmgwmn.js} +1 -1
  216. package/dist/chunks/{location-p0b4ytnr.js → state-r33ff4dw.js} +4 -4
  217. package/dist/chunks/{location-8n0e00gn.js → state-r860wnh4.js} +1 -1
  218. package/dist/chunks/{location-f2n192rq.js → state-r8xr0va3.js} +4 -4
  219. package/dist/chunks/{location-ccgajyj8.js → state-r9tfwnqk.js} +1 -1
  220. package/dist/chunks/{location-d5abmdrp.js → state-rdve76c1.js} +11 -11
  221. package/dist/chunks/{location-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{location-qk71rcx1.js → state-rhg03jha.js} +18 -18
  223. package/dist/chunks/{location-s8d7rejh.js → state-rhjbct0v.js} +4 -4
  224. package/dist/chunks/{location-ank4y774.js → state-rxp8vwqb.js} +14 -14
  225. package/dist/chunks/{location-dvyep1m7.js → state-rycbktba.js} +3 -3
  226. package/dist/chunks/{location-9dpjnxjc.js → state-s0gvgf44.js} +21 -21
  227. package/dist/chunks/{location-j91rrrky.js → state-s2zjj5p9.js} +16 -16
  228. package/dist/chunks/{location-6wxnkzs8.js → state-sc9th92v.js} +16 -16
  229. package/dist/chunks/{location-mr00fy69.js → state-scad059f.js} +47 -47
  230. package/dist/chunks/{location-gn490qph.js → state-sfr5ve0q.js} +15 -15
  231. package/dist/chunks/{location-1442abdc.js → state-smmy5npd.js} +24 -24
  232. package/dist/chunks/{location-6s1xemfg.js → state-t15fh6tg.js} +9 -9
  233. package/dist/chunks/{location-z6m55pwm.js → state-t3dtk66s.js} +20 -20
  234. package/dist/chunks/{location-t4fafjp8.js → state-t6msp11s.js} +6 -6
  235. package/dist/chunks/{location-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{location-tcezcvh9.js → state-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{location-tdstcens.js → state-tdstcens.js} +1 -1
  238. package/dist/chunks/{location-knmp4th1.js → state-tmgek03n.js} +37 -37
  239. package/dist/chunks/state-tp76zfa1.js +26 -0
  240. package/dist/chunks/{location-5e5hg0r6.js → state-tr7ttk42.js} +23 -23
  241. package/dist/chunks/{location-yfgdvjxw.js → state-trg234vc.js} +27 -27
  242. package/dist/chunks/{location-hqqgzrh2.js → state-ttkne1yr.js} +28 -28
  243. package/dist/chunks/{location-ed9cmwbs.js → state-tvqfr44j.js} +20 -20
  244. package/dist/chunks/{location-tvtrv512.js → state-tvtrv512.js} +1 -1
  245. package/dist/chunks/{location-0gzrs4vr.js → state-vchqcv40.js} +10 -10
  246. package/dist/chunks/{location-veqvce7d.js → state-veqvce7d.js} +1 -1
  247. package/dist/chunks/{location-xp52apj9.js → state-vgbaqptb.js} +3 -3
  248. package/dist/chunks/{location-knw98kde.js → state-vpwpbydj.js} +12 -12
  249. package/dist/chunks/{location-82rbf7r8.js → state-vssbqz3f.js} +6 -6
  250. package/dist/chunks/{location-vtxr0yy2.js → state-vtxr0yy2.js} +2 -2
  251. package/dist/chunks/{location-ah5h6pvz.js → state-vyj7e0dj.js} +38 -38
  252. package/dist/chunks/{location-tyekajp6.js → state-vyxryegc.js} +35 -35
  253. package/dist/chunks/{location-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{location-hnqy8at0.js → state-w2fbgn6w.js} +21 -21
  255. package/dist/chunks/{location-1ej0zjcx.js → state-w2gpeyga.js} +10 -10
  256. package/dist/chunks/{location-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{location-6j0vxgq2.js → state-w5mngq82.js} +1 -1
  258. package/dist/chunks/{location-jfte3fvh.js → state-w6wc4w52.js} +327 -327
  259. package/dist/chunks/{location-wd3x2cqz.js → state-wd3x2cqz.js} +2 -2
  260. package/dist/chunks/{location-wd87259q.js → state-wd87259q.js} +1 -1
  261. package/dist/chunks/{location-8d139r9t.js → state-wgzsnxjh.js} +14 -14
  262. package/dist/chunks/{location-34wh1aps.js → state-wm0kxxzy.js} +11 -11
  263. package/dist/chunks/{location-p73bmswt.js → state-ws3tx48n.js} +89 -89
  264. package/dist/chunks/{location-bk9jcfvp.js → state-ww31mshw.js} +23 -23
  265. package/dist/chunks/{location-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{location-6a3k1kcn.js → state-x46s54wc.js} +3 -3
  267. package/dist/chunks/{location-m4ekmekt.js → state-x69hm2n9.js} +20 -20
  268. package/dist/chunks/{location-v9e0t7pe.js → state-x7gyst7m.js} +11 -11
  269. package/dist/chunks/{location-106msdn7.js → state-x9ftw283.js} +44 -44
  270. package/dist/chunks/{location-psfkb9dc.js → state-xcfbfb3r.js} +24 -24
  271. package/dist/chunks/{location-nyyym469.js → state-xhvbz364.js} +16 -16
  272. package/dist/chunks/{location-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{location-y71avatq.js → state-y71avatq.js} +1 -1
  274. package/dist/chunks/{location-vhvgae7m.js → state-y7x142mt.js} +8 -8
  275. package/dist/chunks/{location-e5xpd6yj.js → state-ybhbtxjg.js} +6 -6
  276. package/dist/chunks/{location-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{location-yrznvahk.js → state-yrznvahk.js} +2 -2
  278. package/dist/chunks/{location-2hr5nhwa.js → state-yvvvp4gn.js} +8 -8
  279. package/dist/chunks/{location-z07pqspn.js → state-z07pqspn.js} +3 -3
  280. package/dist/chunks/{location-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{location-z63w68vq.js → state-z63w68vq.js} +2 -2
  282. package/dist/chunks/{location-nnfr3pzh.js → state-za95q0ey.js} +15 -15
  283. package/dist/chunks/{location-yz9t4t24.js → state-zaxbaxp3.js} +13 -13
  284. package/dist/chunks/{location-knwdp628.js → state-zdnfnbnt.js} +32 -32
  285. package/dist/chunks/{location-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{location-5tpf5zh9.js → state-zhfw9w26.js} +28 -28
  287. package/dist/chunks/{location-g5v68nd6.js → state-zpx8x5b1.js} +15 -15
  288. package/dist/chunks/{location-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{location-n4watymm.js → state-zw06ysnm.js} +9 -9
  290. package/dist/chunks/{location-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +83 -83
  296. package/dist/config/discovery.js +82 -82
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +125 -125
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +162 -162
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +123 -123
  308. package/dist/config/plugin/mcp.js +132 -132
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +125 -125
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +142 -142
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +124 -124
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +81 -81
  325. package/dist/database/database.js +66 -66
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  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 +76 -76
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +371 -371
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +70 -70
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  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 +225 -225
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +102 -102
  431. package/dist/form.js +82 -82
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +103 -103
  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 +99 -99
  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 +362 -362
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +84 -84
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-mutation.js +104 -104
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +108 -108
  477. package/dist/mcp/instructions.js +128 -128
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +78 -78
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +107 -107
  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 +82 -82
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +101 -101
  496. package/dist/plugin/compaction.js +133 -133
  497. package/dist/plugin/hooks.js +1 -1
  498. package/dist/plugin/host.js +218 -218
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +333 -333
  502. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  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 +93 -93
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +77 -77
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +120 -120
  528. package/dist/plugin/provider/openai.js +94 -94
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +78 -78
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +160 -160
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +348 -348
  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 +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +6 -6
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  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 +225 -225
  561. package/dist/project/schema.js +6 -6
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +88 -88
  564. package/dist/provider.js +97 -97
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +92 -92
  569. package/dist/reference/instructions.js +87 -87
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +132 -132
  579. package/dist/session/context.js +152 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +221 -221
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +153 -153
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +90 -90
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +119 -119
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  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 +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +114 -114
  609. package/dist/session/runner/step.js +126 -126
  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 +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +85 -85
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +208 -208
  620. package/dist/session/system-prompt.js +5 -5
  621. package/dist/session/title.js +154 -154
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +217 -217
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +218 -218
  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 +15 -15
  630. package/dist/shell.js +138 -138
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +112 -112
  634. package/dist/snapshot.js +91 -91
  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 +125 -125
  639. package/dist/tool/plugin/edit.js +118 -118
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +118 -118
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +116 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +118 -118
  646. package/dist/tool/plugin/question.js +103 -103
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +217 -217
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/webfetch.js +112 -112
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/attachment.js +2 -2
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +2 -2
  672. package/dist/v1/config/formatter.js +3 -3
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +3 -3
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +3 -3
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +91 -91
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +84 -84
  688. package/dist/wellknown/plugin.js +74 -74
  689. package/dist/wellknown.js +81 -81
  690. package/dist/workspace/driver.js +7 -7
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +80 -80
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +96 -96
  698. package/package.json +8 -8
  699. package/dist/chunks/location-8mqjhp6w.js +0 -252
  700. package/dist/chunks/location-gyce5qg1.js +0 -18
  701. package/dist/chunks/location-n5t9rnsg.js +0 -26
  702. /package/dist/chunks/{location-0mesazry.js → state-0mesazry.js} +0 -0
  703. /package/dist/chunks/{location-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{location-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{location-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{location-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{location-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{location-24dcb14g.js → state-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{location-2710q6r3.js → state-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{location-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{location-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{location-34c7v6d4.js → state-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{location-359p4xyc.js → state-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{location-3asan66x.js → state-3asan66x.js} +0 -0
  715. /package/dist/chunks/{location-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{location-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{location-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{location-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{location-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{location-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{location-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{location-53557ph1.js → state-53557ph1.js} +0 -0
  723. /package/dist/chunks/{location-550bvhaj.js → state-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{location-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{location-6prwharc.js → state-6prwharc.js} +0 -0
  726. /package/dist/chunks/{location-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{location-7m9af43g.js → state-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{location-822emrt2.js → state-822emrt2.js} +0 -0
  729. /package/dist/chunks/{location-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{location-8n3pysct.js → state-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{location-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{location-922hggd3.js → state-922hggd3.js} +0 -0
  733. /package/dist/chunks/{location-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{location-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{location-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{location-af5trqkr.js → state-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{location-afrmfg78.js → state-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{location-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{location-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{location-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{location-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{location-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{location-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{location-d9fn303g.js → state-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{location-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{location-dajrwvna.js → state-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{location-dap0rakb.js → state-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{location-df08tz66.js → state-df08tz66.js} +0 -0
  749. /package/dist/chunks/{location-dy18nga0.js → state-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{location-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{location-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{location-ec1grn59.js → state-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{location-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{location-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{location-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{location-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{location-faypxj3z.js → state-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{location-fd410y7t.js → state-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{location-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{location-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{location-g86h250q.js → state-g86h250q.js} +0 -0
  762. /package/dist/chunks/{location-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{location-gftt206x.js → state-gftt206x.js} +0 -0
  764. /package/dist/chunks/{location-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{location-hk9envan.js → state-hk9envan.js} +0 -0
  766. /package/dist/chunks/{location-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{location-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{location-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{location-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{location-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{location-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{location-mp448xyj.js → state-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{location-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{location-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{location-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{location-njntx4h6.js → state-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{location-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{location-q74kybfr.js → state-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{location-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{location-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{location-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{location-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{location-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{location-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{location-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{location-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{location-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{location-w803qqfp.js → state-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{location-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{location-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{location-wtztk69x.js → state-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{location-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{location-x61499pn.js → state-x61499pn.js} +0 -0
  794. /package/dist/chunks/{location-y44na4kk.js → state-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{location-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{location-y8f7s663.js → state-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{location-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{location-ym463w8f.js → state-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{location-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID12
3
- } from "./location-yfgdvjxw.js";
3
+ } from "./state-trg234vc.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ID12
3
- } from "./location-yfgdvjxw.js";
3
+ } from "./state-trg234vc.js";
4
4
  import {
5
- Service50
6
- } from "./location-q8wm0n5k.js";
5
+ Service51
6
+ } from "./state-7wrqfeey.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./location-exwd0g1v.js";
9
+ } from "./state-q994nwkr.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service50;
29
+ const config = yield* Service51;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make5();
115
+ var VLLMPlugin2 = make4();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make5, VLLMPlugin2 };
137
+ export { make4, VLLMPlugin2 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./location-2a5m3afh.js";
5
+ } from "./state-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./location-9rqn6x4v.js";
8
+ } from "./state-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info15
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info15 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info15, exports_skills };
21
+ export { Info16, exports_skills };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./location-eh3zwz77.js";
3
+ } from "./state-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./location-e73j6tqm.js";
6
+ } from "./state-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./location-3wcehsnq.js";
9
+ } from "./state-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./location-dap0rakb.js";
12
+ } from "./state-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./location-4y7fprxs.js";
15
+ } from "./state-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-2415p9az.js";
3
+ } from "./state-fv5cfh7k.js";
4
4
  import {
5
5
  call2
6
- } from "./location-56gdpj1q.js";
6
+ } from "./state-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./location-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin39,
14
+ Plugin: () => Plugin7,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
16
  endpoint: () => endpoint6
17
17
  });
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin39 = define({
40
+ var Plugin7 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -77,4 +77,4 @@ var Plugin39 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin39, exports_firecrawl };
80
+ export { endpoint6, Plugin7, exports_firecrawl };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-cppnyjvh.js";
4
+ } from "./state-12as4csw.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./location-rdw6cm16.js";
8
+ } from "./state-rdw6cm16.js";
9
9
  import {
10
10
  ID14,
11
- Service75,
12
- node79,
13
- Event17
14
- } from "./location-r42cf70c.js";
11
+ Service77,
12
+ node81,
13
+ Event18
14
+ } from "./state-0erg9wwv.js";
15
15
  import {
16
16
  key2
17
- } from "./location-4dgbcxzg.js";
17
+ } from "./state-h6r3nrb9.js";
18
18
  import {
19
- Service79,
20
- node83
21
- } from "./location-nyyym469.js";
19
+ Service80,
20
+ node84
21
+ } from "./state-xhvbz364.js";
22
22
  import {
23
23
  __export
24
- } from "./location-9rqn6x4v.js";
24
+ } from "./state-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -37,13 +37,13 @@ var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
- Event: () => Event16,
40
+ Event: () => Event17,
41
41
  ID: () => ID13,
42
- Info: () => Info26,
42
+ Info: () => Info27,
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
45
  Request: () => Request3,
46
- Service: () => Service74,
46
+ Service: () => Service76,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -53,7 +53,7 @@ __export(exports_provider3, {
53
53
  mergeOverlay: () => mergeOverlay2,
54
54
  modelSettings: () => modelSettings2,
55
55
  nativeSettings: () => nativeSettings2,
56
- node: () => node78,
56
+ node: () => node80,
57
57
  packageName: () => packageName2
58
58
  });
59
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -64,7 +64,7 @@ import { isRecord } from "@opencode/ai/utils/record";
64
64
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
65
65
  import { Credential } from "@opencode/schema/credential";
66
66
  import { freeze } from "immer";
67
- import { Event as Event16 } from "@opencode/schema/provider";
67
+ import { Event as Event17 } from "@opencode/schema/provider";
68
68
  var ID13 = Provider.ID;
69
69
  var AISDK_PREFIX2 = "aisdk:";
70
70
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
@@ -210,9 +210,9 @@ var Request3 = Provider.Request;
210
210
  var Compaction3 = Provider.Compaction;
211
211
  var Transport2 = Provider.Transport;
212
212
  var Settings2 = Provider.Settings;
213
- var Info26 = Provider.Info;
213
+ var Info27 = Provider.Info;
214
214
 
215
- class Service74 extends Context.Service()("@opencode/Provider") {
215
+ class Service76 extends Context.Service()("@opencode/Provider") {
216
216
  }
217
217
  var definitions = new WeakMap;
218
218
  function index(providerID, models) {
@@ -225,10 +225,10 @@ function index(providerID, models) {
225
225
  definitions.set(models, indexes);
226
226
  return result;
227
227
  }
228
- var layer = Layer.effect(Service74, Effect.gen(function* () {
228
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
229
229
  const bus = yield* Service83;
230
- const integrations = yield* Service75;
231
- const location = yield* Service79;
230
+ const integrations = yield* Service77;
231
+ const location = yield* Service80;
232
232
  const state = create3({
233
233
  name: "provider",
234
234
  initial: () => new Map,
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
239
239
  const current = records.get(id);
240
240
  if (current)
241
241
  return current;
242
- const added = { provider: Info26.empty(id), models: new Map };
242
+ const added = { provider: Info27.empty(id), models: new Map };
243
243
  records.set(id, added);
244
244
  maps.add(added.models);
245
245
  return added;
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
346
346
  location: { directory: location.directory, workspaceID: location.workspaceID }
347
347
  });
348
348
  });
349
- yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
- return Service74.of({
349
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
+ return Service76.of({
351
351
  transform: state.transform,
352
352
  reload: state.reload,
353
353
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
356
356
  snapshot
357
357
  });
358
358
  }));
359
- var node78 = makeLocationNode({ service: Service74, layer, deps: [node87, node79, node83] });
359
+ var node80 = makeLocationNode({ service: Service76, layer, deps: [node87, node81, node84] });
360
360
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
361
361
  const module = yield* Effect.tryPromise({
362
362
  try: () => {
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
616
616
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
617
617
  var decode = Schema2.decodeUnknownSync(Legacy);
618
618
 
619
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info26, Service74, node78, exports_provider3, Event16 };
619
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service76, node80, exports_provider3, Event17 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./location-gftt206x.js";
3
+ } from "./state-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./location-y6f0p4jw.js";
6
+ } from "./state-jexxy024.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./location-e5xpd6yj.js";
9
+ } from "./state-ybhbtxjg.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./location-s8d7rejh.js";
13
+ } from "./state-rhjbct0v.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./location-z07pqspn.js";
16
+ } from "./state-z07pqspn.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./location-5xpznt2d.js";
20
+ } from "./state-3fmtxraa.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./location-56dkfrzf.js";
25
+ } from "./state-dg2cj1yd.js";
26
26
  import {
27
27
  __export
28
- } from "./location-9rqn6x4v.js";
28
+ } from "./state-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-cppnyjvh.js";
4
+ } from "./state-12as4csw.js";
5
5
  import {
6
6
  create3
7
- } from "./location-rdw6cm16.js";
7
+ } from "./state-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./state-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command5 = {};
14
14
  __export(exports_command5, {
15
15
  Command: () => exports_command5,
16
- Event: () => Event21,
16
+ Event: () => Event12,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info34,
19
- NotFoundError: () => NotFoundError11,
20
- Service: () => Service82,
21
- layer: () => layer25,
22
- node: () => node86
18
+ Info: () => Info20,
19
+ NotFoundError: () => NotFoundError7,
20
+ Service: () => Service66,
21
+ layer: () => layer24,
22
+ node: () => node70
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event21 } from "@opencode/schema/command";
28
- var Info34 = Command.Info;
27
+ import { Event as Event12 } from "@opencode/schema/command";
28
+ var Info20 = Command.Info;
29
29
 
30
- class NotFoundError11 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service82 extends Context.Service()("@opencode/Command") {
42
+ class Service66 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer25 = Layer.effect(Service82, Effect.gen(function* () {
44
+ var layer24 = Layer.effect(Service66, Effect.gen(function* () {
45
45
  const bus = yield* Service83;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer25 = Layer.effect(Service82, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info34.make({
54
+ const info = (definition) => Info20.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service82.of({
58
+ return Service66.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer25 = Layer.effect(Service82, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError11({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node86 = makeLocationNode({
75
- service: Service82,
76
- layer: layer25,
74
+ var node70 = makeLocationNode({
75
+ service: Service66,
76
+ layer: layer24,
77
77
  deps: [node87]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info34, NotFoundError11, ExecutionError2, Service82, layer25, node86, exports_command5, Event21 };
89
+ export { Info20, NotFoundError7, ExecutionError2, Service66, layer24, node70, exports_command5, Event12 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  ID13,
3
3
  mergeOverlay2
4
- } from "./location-jax2wzap.js";
4
+ } from "./state-bhnryp6n.js";
5
5
  import {
6
6
  ID12,
7
7
  VariantID2,
8
- Info25,
8
+ Info26,
9
9
  compatibility2
10
- } from "./location-yfgdvjxw.js";
10
+ } from "./state-trg234vc.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./state-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models = {};
17
- __export(exports_models, {
18
- ModalModels: () => exports_models,
19
- derive: () => derive2,
20
- get: () => get2,
21
- load: () => load2
16
+ var exports_models2 = {};
17
+ __export(exports_models2, {
18
+ ModalModels: () => exports_models2,
19
+ derive: () => derive3,
20
+ get: () => get3,
21
+ load: () => load3
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get2(baseURL, apiKey, existing) {
58
- return derive2(baseURL, await load2(baseURL, apiKey), existing);
57
+ async function get3(baseURL, apiKey, existing) {
58
+ return derive3(baseURL, await load3(baseURL, apiKey), existing);
59
59
  }
60
- async function load2(baseURL, apiKey) {
60
+ async function load3(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,7 +71,7 @@ async function load2(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive2(baseURL, remote, existing) {
74
+ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
@@ -94,8 +94,8 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info25.make({
98
- ...Info25.default(providerID, id),
97
+ return Info26.make({
98
+ ...Info26.default(providerID, id),
99
99
  id,
100
100
  modelID: ID12.make(remote.id),
101
101
  providerID,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get2, load2, derive2, exports_models };
147
+ export { get3, load3, derive3, exports_models2 };
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./location-cppnyjvh.js";
5
+ } from "./state-12as4csw.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make21,
10
+ make20,
11
11
  diffByKey2
12
- } from "./location-s8d7rejh.js";
12
+ } from "./state-rhjbct0v.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./location-922hggd3.js";
15
+ } from "./state-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./location-rdw6cm16.js";
18
+ } from "./state-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./location-9rqn6x4v.js";
21
+ } from "./state-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event6,
26
+ Event: () => Event8,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options5,
30
- Service: () => Service43,
31
- configured: () => configured5,
32
- layer: () => layer19,
33
- node: () => node45
29
+ Options: () => Options7,
30
+ Service: () => Service50,
31
+ configured: () => configured9,
32
+ layer: () => layer18,
33
+ node: () => node55
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event6 = {
45
+ var Event8 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options5 = Schema.Struct({
48
+ var Options7 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service50 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer19 = (options) => Layer.effect(Service43, Effect.gen(function* () {
55
+ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
56
56
  const bus = yield* Service83;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,9 +72,9 @@ var layer19 = (options) => Layer.effect(Service43, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make21({
77
+ const source = (value) => make20({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer19 = (options) => Layer.effect(Service43, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service43.of({
93
+ return Service50.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer19 = (options) => Layer.effect(Service43, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured5(options) {
107
+ function configured9(options) {
108
108
  return makeLocationNode({
109
- service: Service43,
110
- layer: layer19(options),
109
+ service: Service50,
110
+ layer: layer18(options),
111
111
  deps: [node87]
112
112
  });
113
113
  }
114
- var node45 = configured5();
114
+ var node55 = configured9();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event6, Options5, Service43, layer19, configured5, node45, exports_instruction_discovery };
145
+ export { File2, Event8, Options7, Service50, layer18, configured9, node55, exports_instruction_discovery };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./state-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: () => Error3,
9
+ Error: () => Error4,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make19,
14
- node: () => node56,
13
+ make: () => make17,
14
+ node: () => node53,
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 Error3 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
23
23
  message: Schema.optional(Schema.String),
24
24
  cause: Schema.optional(Schema.Defect())
25
25
  }) {
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make19 = (driver) => driver;
32
+ var make17 = (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 node56 = registryNode2({});
47
+ var node53 = registryNode2({});
48
48
 
49
- export { Binding2, Error3, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node56, exports_driver };
49
+ export { Binding2, Error4, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node53, exports_driver };