@opencode/core 0.0.0-dev-20828 → 0.0.0-dev-20830

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{form-fs0s4xdc.js → state-0557p3be.js} +34 -34
  8. package/dist/chunks/{form-782zrs06.js → state-0cg871e2.js} +5 -5
  9. package/dist/chunks/{form-g9w77p2h.js → state-0dfgejyr.js} +8 -8
  10. package/dist/chunks/{form-7dqw4kz8.js → state-0jwsre1p.js} +5 -5
  11. package/dist/chunks/{form-bhx0crjq.js → state-0nafeyy2.js} +17 -17
  12. package/dist/chunks/{form-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{form-n8vdnqrc.js → state-0r3c1bmw.js} +5 -5
  14. package/dist/chunks/{form-98byex5e.js → state-0sakkys5.js} +10 -10
  15. package/dist/chunks/{form-0vbcp93d.js → state-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{form-msrmpw8q.js → state-0ww3hhrw.js} +4 -4
  17. package/dist/chunks/{form-4t145sc8.js → state-11ca2t5k.js} +46 -46
  18. package/dist/chunks/{form-674crf5e.js → state-171hx01y.js} +15 -15
  19. package/dist/chunks/{form-f2n192rq.js → state-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{form-n22ba5av.js → state-1hrrgg86.js} +329 -329
  21. package/dist/chunks/{form-tqp03w29.js → state-1jpgqh2z.js} +22 -22
  22. package/dist/chunks/{form-7qxdy3ab.js → state-1msdpkf3.js} +12 -12
  23. package/dist/chunks/{form-fsbk27r1.js → state-1nzh38e4.js} +9 -9
  24. package/dist/chunks/{form-57ys8d4d.js → state-1p1kcw92.js} +11 -11
  25. package/dist/chunks/{form-nx8rb7q9.js → state-1v5f3sf1.js} +13 -13
  26. package/dist/chunks/{form-e9gv8add.js → state-1xzgq0dt.js} +13 -13
  27. package/dist/chunks/{form-m1aw2hct.js → state-1yceajqh.js} +24 -24
  28. package/dist/chunks/{form-410ssy4d.js → state-24myjta5.js} +6 -6
  29. package/dist/chunks/{form-j3th3ztc.js → state-29c6hkck.js} +8 -8
  30. package/dist/chunks/{form-k1s8dyb0.js → state-2fr77vvd.js} +25 -25
  31. package/dist/chunks/{form-n6kqnd83.js → state-2j0vym9z.js} +12 -12
  32. package/dist/chunks/{form-t1dawjzh.js → state-2ktf0ed2.js} +8 -8
  33. package/dist/chunks/{form-fzb4jpac.js → state-2p5arddx.js} +13 -13
  34. package/dist/chunks/{form-7yfmjjmm.js → state-2qhyej25.js} +19 -19
  35. package/dist/chunks/{form-7gra0nqm.js → state-2r93mh4x.js} +5 -5
  36. package/dist/chunks/{form-2vvh33eb.js → state-2vvh33eb.js} +2 -2
  37. package/dist/chunks/{form-7pggkc53.js → state-2wy3czpc.js} +1 -1
  38. package/dist/chunks/{form-jmq43kgc.js → state-2zxcz0hw.js} +25 -25
  39. package/dist/chunks/{form-qxq0nqwk.js → state-35rvysyk.js} +3 -3
  40. package/dist/chunks/{form-b1pkt330.js → state-36n3adjp.js} +31 -31
  41. package/dist/chunks/{form-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{form-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{form-3hwn7j4h.js → state-3hwn7j4h.js} +2 -2
  44. package/dist/chunks/{form-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{form-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{form-chk1c479.js → state-3y03j49s.js} +9 -9
  47. package/dist/chunks/{form-g4m1e4g9.js → state-3yqqv8dh.js} +36 -36
  48. package/dist/chunks/{form-3zsf4n22.js → state-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{form-8v5x19vh.js → state-42y89c4e.js} +24 -24
  50. package/dist/chunks/{form-zwvaegnk.js → state-4g85bg4y.js} +15 -15
  51. package/dist/chunks/{form-njy67wa0.js → state-4gbdxvwm.js} +17 -17
  52. package/dist/chunks/{form-q1gp456n.js → state-4tm360fx.js} +11 -11
  53. package/dist/chunks/{form-2ccvkpx1.js → state-4ts7tf6z.js} +2 -2
  54. package/dist/chunks/{form-81key8bf.js → state-4v653aq5.js} +4 -4
  55. package/dist/chunks/{form-wgngrczc.js → state-50jyrsbn.js} +17 -17
  56. package/dist/chunks/{form-f5qn9b68.js → state-51wkfrt1.js} +5 -5
  57. package/dist/chunks/{form-54ma36ye.js → state-54ma36ye.js} +1 -1
  58. package/dist/chunks/{form-pspzh9gr.js → state-58peq4z0.js} +3 -3
  59. package/dist/chunks/{form-kqzz1msf.js → state-5av0yrf2.js} +24 -24
  60. package/dist/chunks/{form-e1b8n3gh.js → state-5jsc8r4j.js} +11 -11
  61. package/dist/chunks/{form-5m9w47nd.js → state-5m9w47nd.js} +1 -1
  62. package/dist/chunks/{form-e3qxr5gk.js → state-5qd3pb7m.js} +2 -2
  63. package/dist/chunks/{form-whbg0208.js → state-5zrs708t.js} +16 -16
  64. package/dist/chunks/{form-706phk7x.js → state-63db42yp.js} +2 -2
  65. package/dist/chunks/{form-02txvjnv.js → state-6ee6mja4.js} +11 -11
  66. package/dist/chunks/{form-6xb47vfp.js → state-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{form-8wrxqz42.js → state-6xpm1twa.js} +9 -9
  68. package/dist/chunks/{form-zcywpsge.js → state-72cj47zm.js} +11 -11
  69. package/dist/chunks/{form-xnbwxy24.js → state-72xps0ff.js} +28 -28
  70. package/dist/chunks/{form-wnt7wp6b.js → state-77nza94r.js} +13 -13
  71. package/dist/chunks/{form-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{form-vfvdkzh7.js → state-7mtsxbrk.js} +18 -18
  73. package/dist/chunks/{form-gd0tnyjc.js → state-7zt5x37y.js} +1 -1
  74. package/dist/chunks/{form-2ngk0dg2.js → state-82qb1t6x.js} +11 -11
  75. package/dist/chunks/{form-z8x0h9ra.js → state-83exb234.js} +26 -26
  76. package/dist/chunks/{form-hg2p2a9v.js → state-83tfp6t6.js} +17 -17
  77. package/dist/chunks/{form-he2v6sv2.js → state-8472ey6f.js} +27 -27
  78. package/dist/chunks/{form-84txncab.js → state-84txncab.js} +1 -1
  79. package/dist/chunks/{form-t1t87xhv.js → state-87bedf94.js} +11 -11
  80. package/dist/chunks/{form-dw864gpf.js → state-88xma3a9.js} +11 -11
  81. package/dist/chunks/{form-tcezcvh9.js → state-89znhe33.js} +4 -4
  82. package/dist/chunks/{form-25cs5cen.js → state-8aaqm6qj.js} +8 -8
  83. package/dist/chunks/{form-g23t6sg1.js → state-8enzew06.js} +34 -34
  84. package/dist/chunks/{form-8m6m0r52.js → state-8m6m0r52.js} +1 -1
  85. package/dist/chunks/{form-rkprpv83.js → state-8sze2n9a.js} +6 -6
  86. package/dist/chunks/{form-ggjznnsd.js → state-8v02gd0t.js} +8 -8
  87. package/dist/chunks/{form-91qna3x0.js → state-91qna3x0.js} +3 -3
  88. package/dist/chunks/{form-dsn3h2gd.js → state-944h6gfv.js} +29 -29
  89. package/dist/chunks/{form-q84ycsvd.js → state-9a7pyw65.js} +33 -33
  90. package/dist/chunks/{form-9n6wwvty.js → state-9bm5c0md.js} +19 -19
  91. package/dist/chunks/{form-an2yc5xr.js → state-9bxt77bv.js} +57 -57
  92. package/dist/chunks/{form-69h1251q.js → state-9f40cav3.js} +8 -8
  93. package/dist/chunks/{form-hgmkvm58.js → state-9ndy2hht.js} +15 -15
  94. package/dist/chunks/{form-m6wf1b27.js → state-9qd4mbdw.js} +66 -66
  95. package/dist/chunks/{form-adtep242.js → state-9rbc7h43.js} +16 -16
  96. package/dist/chunks/state-9zdhvgqs.js +18 -0
  97. package/dist/chunks/{form-j85eagxk.js → state-a0x3wzs7.js} +31 -31
  98. package/dist/chunks/{form-sazevqmq.js → state-a5ah3nzf.js} +20 -20
  99. package/dist/chunks/{form-w7m721xm.js → state-a7e5kesa.js} +2 -2
  100. package/dist/chunks/{form-hwtfb5gf.js → state-adnxhg2x.js} +33 -33
  101. package/dist/chunks/{form-secas1cc.js → state-adrw5mdv.js} +83 -83
  102. package/dist/chunks/{form-ny06cy4w.js → state-ahqtxjpt.js} +13 -13
  103. package/dist/chunks/{form-9b9geqmr.js → state-ayty09pp.js} +25 -25
  104. package/dist/chunks/{form-dtnvqxqd.js → state-b3d5k4tq.js} +11 -11
  105. package/dist/chunks/{form-3ebsda8f.js → state-b7ag9snz.js} +44 -44
  106. package/dist/chunks/{form-0eta6zh7.js → state-b7e85k7b.js} +24 -24
  107. package/dist/chunks/{form-ssbwjptr.js → state-b8zqr6yd.js} +11 -11
  108. package/dist/chunks/{form-tdc7v4mg.js → state-b96c8sgz.js} +45 -45
  109. package/dist/chunks/{form-wvx6w4rx.js → state-bgvakscb.js} +15 -15
  110. package/dist/chunks/{form-ff7y9y3v.js → state-bh3znjnz.js} +22 -22
  111. package/dist/chunks/{form-02xddtc0.js → state-bxkmvfck.js} +25 -25
  112. package/dist/chunks/{form-rj3eygr5.js → state-c41wscbt.js} +2 -2
  113. package/dist/chunks/{form-2sejkfem.js → state-c765mh8b.js} +9 -9
  114. package/dist/chunks/{form-sa8ekw3f.js → state-c8ax2afj.js} +2 -2
  115. package/dist/chunks/{form-wynsndej.js → state-ccx2wqdd.js} +8 -8
  116. package/dist/chunks/{form-k4tq5x53.js → state-cfnx7scx.js} +49 -49
  117. package/dist/chunks/{form-espmheeq.js → state-cfyzhaat.js} +11 -11
  118. package/dist/chunks/{form-2krnjfyp.js → state-cg9scsxc.js} +35 -35
  119. package/dist/chunks/{form-q0dgg3zj.js → state-ckxmgpbg.js} +24 -24
  120. package/dist/chunks/{form-kqxat9ja.js → state-cnv8w6dz.js} +87 -87
  121. package/dist/chunks/{form-t5h642bt.js → state-cwmk4gds.js} +7 -7
  122. package/dist/chunks/{form-e4fpj63v.js → state-cyzep8tn.js} +4 -4
  123. package/dist/chunks/{form-zwdvdw98.js → state-d2m5w5xb.js} +42 -42
  124. package/dist/chunks/{form-372hk0sy.js → state-d5nwps6r.js} +1 -1
  125. package/dist/chunks/{form-addxnjmp.js → state-db2wf4at.js} +4 -4
  126. package/dist/chunks/{form-edv7wmg4.js → state-dfam6ca0.js} +10 -10
  127. package/dist/chunks/{form-dmbwbvhk.js → state-djj1n09f.js} +7 -7
  128. package/dist/chunks/{form-bnwvdr8k.js → state-dp1z867b.js} +27 -27
  129. package/dist/chunks/{form-v36zy0wa.js → state-dyabj6q8.js} +13 -13
  130. package/dist/chunks/{form-dr78sty6.js → state-e5wg3wb1.js} +21 -21
  131. package/dist/chunks/{form-tj99qrza.js → state-e6g20vae.js} +24 -24
  132. package/dist/chunks/{form-setc7ajv.js → state-e8vwfchq.js} +9 -9
  133. package/dist/chunks/{form-s8d7rejh.js → state-eaj1djv9.js} +6 -6
  134. package/dist/chunks/{form-a2ew8a62.js → state-edrmdtr5.js} +7 -7
  135. package/dist/chunks/{form-eej6y6fw.js → state-eej6y6fw.js} +2 -2
  136. package/dist/chunks/{form-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{form-daeg89qt.js → state-efpar2mq.js} +3 -3
  138. package/dist/chunks/{form-5jpna63x.js → state-ej0jrn3e.js} +11 -11
  139. package/dist/chunks/{form-pk42rxm6.js → state-emzsebxx.js} +6 -6
  140. package/dist/chunks/{form-c1fqxshp.js → state-es1vcfrp.js} +3 -3
  141. package/dist/chunks/{form-s6kxze16.js → state-esc9b6cf.js} +7 -7
  142. package/dist/chunks/{form-p7s7eag1.js → state-f06gwrsq.js} +8 -8
  143. package/dist/chunks/{form-407zx9f2.js → state-f80x16a8.js} +13 -13
  144. package/dist/chunks/{form-7deejnv5.js → state-fbw9agv5.js} +29 -29
  145. package/dist/chunks/{form-gmvqaxcm.js → state-fdqap5k5.js} +178 -178
  146. package/dist/chunks/{form-h4svzz1k.js → state-ftz7pznp.js} +10 -10
  147. package/dist/chunks/{form-dbqktatz.js → state-gaabptfq.js} +23 -23
  148. package/dist/chunks/{form-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{form-b0ynatpn.js → state-ghhxwymr.js} +10 -10
  150. package/dist/chunks/{form-z2qbjhyn.js → state-ghrzdqqx.js} +5 -5
  151. package/dist/chunks/{form-ce02pvrk.js → state-ghsw8zx7.js} +15 -15
  152. package/dist/chunks/{form-gk8qb678.js → state-gk8qb678.js} +1 -1
  153. package/dist/chunks/{form-v6gtewkg.js → state-gtx4ax2e.js} +45 -45
  154. package/dist/chunks/{form-4z58m4b4.js → state-gw7cjrad.js} +4 -4
  155. package/dist/chunks/{form-602550ez.js → state-h40gvhgm.js} +24 -24
  156. package/dist/chunks/{form-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{form-h7s7r6s9.js → state-h7s7r6s9.js} +2 -2
  158. package/dist/chunks/{form-kt428qqn.js → state-h93dctaq.js} +11 -11
  159. package/dist/chunks/{form-c2ms8fjw.js → state-h986hd8g.js} +18 -18
  160. package/dist/chunks/{form-v241zgxx.js → state-hazngtky.js} +1 -1
  161. package/dist/chunks/{form-ymgkxg7n.js → state-hcv80w8f.js} +11 -11
  162. package/dist/chunks/{form-6zz246r9.js → state-hd86p3k8.js} +4 -4
  163. package/dist/chunks/{form-5r61v62t.js → state-hdn8e5hd.js} +4 -4
  164. package/dist/chunks/{form-drac6928.js → state-hdxgsgcv.js} +5 -5
  165. package/dist/chunks/{form-hgz4x7wa.js → state-hgz4x7wa.js} +1 -1
  166. package/dist/chunks/{form-zcrspsvn.js → state-hn57h045.js} +4 -4
  167. package/dist/chunks/{form-j56e64zr.js → state-j56e64zr.js} +1 -1
  168. package/dist/chunks/{form-wyazd03e.js → state-j9z6me7c.js} +9 -9
  169. package/dist/chunks/{form-95ff9q6w.js → state-jjneh92f.js} +13 -13
  170. package/dist/chunks/{form-ns6yht8e.js → state-jjw261ry.js} +13 -13
  171. package/dist/chunks/{form-5dgjn14j.js → state-jnft9wxv.js} +8 -8
  172. package/dist/chunks/{form-ppqr5nhx.js → state-jqd3eecq.js} +9 -9
  173. package/dist/chunks/{form-kz0fxtr4.js → state-jqpbgzsk.js} +10 -10
  174. package/dist/chunks/{form-mns24rw2.js → state-jvmjd6nh.js} +17 -17
  175. package/dist/chunks/{form-eb5pm11b.js → state-jznafckq.js} +11 -11
  176. package/dist/chunks/{form-t49c1kc0.js → state-k0b9ft2z.js} +11 -11
  177. package/dist/chunks/{form-67fm9hxb.js → state-k6dq7md3.js} +17 -17
  178. package/dist/chunks/{form-7vrsjqpj.js → state-k8ktzaxx.js} +16 -16
  179. package/dist/chunks/{form-q266kqc1.js → state-k9jq8a9f.js} +26 -26
  180. package/dist/chunks/{form-1p9yx0fe.js → state-kg8sbxbz.js} +21 -21
  181. package/dist/chunks/{form-1w2wqhfv.js → state-khmqacep.js} +4 -4
  182. package/dist/chunks/{form-jewzahs7.js → state-kkp8zx71.js} +4 -4
  183. package/dist/chunks/{form-kkjh6fan.js → state-krdw763r.js} +32 -32
  184. package/dist/chunks/{form-53qd1f5j.js → state-krjewr0x.js} +31 -31
  185. package/dist/chunks/{form-hbmkw9wp.js → state-krmj6tzy.js} +20 -20
  186. package/dist/chunks/{form-6w4z75dy.js → state-m3gr93j5.js} +14 -14
  187. package/dist/chunks/{form-kada6eax.js → state-m93cgr6s.js} +6 -6
  188. package/dist/chunks/{form-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{form-1c5kbjh1.js → state-mnvbn3nr.js} +6 -6
  190. package/dist/chunks/{form-25gtbz14.js → state-mxwkr8w2.js} +9 -9
  191. package/dist/chunks/{form-eq967g2h.js → state-n5my2xp1.js} +15 -15
  192. package/dist/chunks/{form-dypjmpy5.js → state-n8axfj05.js} +5 -5
  193. package/dist/chunks/{form-3hq3wkzn.js → state-ndkkganb.js} +20 -20
  194. package/dist/chunks/{form-7mehp2db.js → state-nh7hmz05.js} +5 -5
  195. package/dist/chunks/{form-0r7ekek2.js → state-ny5dcp87.js} +27 -27
  196. package/dist/chunks/{form-98kmy8hf.js → state-nza4bhrq.js} +8 -8
  197. package/dist/chunks/{form-p4mj4rdp.js → state-pa8pe2x7.js} +8 -8
  198. package/dist/chunks/{form-4vm585d8.js → state-pdhsfkgt.js} +14 -14
  199. package/dist/chunks/{form-phz50fbd.js → state-phz50fbd.js} +2 -2
  200. package/dist/chunks/{form-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{form-pknna89w.js → state-pknna89w.js} +1 -1
  202. package/dist/chunks/{form-c95arbvr.js → state-px6rtfw4.js} +12 -12
  203. package/dist/chunks/{form-hkffa77z.js → state-pyg4v0b6.js} +4 -4
  204. package/dist/chunks/{form-kb4rw88y.js → state-pz9yt98x.js} +7 -7
  205. package/dist/chunks/{form-0j77ygfz.js → state-q0xm7vwc.js} +6 -6
  206. package/dist/chunks/{form-yqhrhpcs.js → state-qjcd7mbq.js} +19 -19
  207. package/dist/chunks/{form-qnc92qwc.js → state-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{form-dvs6amxs.js → state-qp0mnk5r.js} +3 -3
  209. package/dist/chunks/{form-ny6t9171.js → state-qp1byhys.js} +1 -1
  210. package/dist/chunks/{form-qsdy395h.js → state-qsdy395h.js} +1 -1
  211. package/dist/chunks/{form-3jp0e4zv.js → state-qv34d5f9.js} +13 -13
  212. package/dist/chunks/{form-aps8hww0.js → state-r02hbddp.js} +18 -18
  213. package/dist/chunks/{form-cdv4x00t.js → state-r96659h9.js} +36 -36
  214. package/dist/chunks/{form-y0e8a50k.js → state-rc1szs54.js} +6 -6
  215. package/dist/chunks/{form-v797c0nk.js → state-rccpv2ye.js} +18 -18
  216. package/dist/chunks/{form-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{form-7v1qqt5d.js → state-rg9sha5m.js} +7 -7
  218. package/dist/chunks/{form-85zcaa4a.js → state-rjjk3vjj.js} +20 -20
  219. package/dist/chunks/{form-83dsgdpz.js → state-rpgyk1wb.js} +16 -16
  220. package/dist/chunks/{form-qn2g7fdy.js → state-rxg074bj.js} +22 -22
  221. package/dist/chunks/{form-t0pyhqcw.js → state-s5qxm7c2.js} +11 -11
  222. package/dist/chunks/{form-t286ahc8.js → state-sc2t89x6.js} +12 -12
  223. package/dist/chunks/{form-n7d88tpn.js → state-ss358qx3.js} +3 -3
  224. package/dist/chunks/{form-5rzwp8tz.js → state-sxcaecc0.js} +3 -3
  225. package/dist/chunks/{form-syv4x271.js → state-syv4x271.js} +1 -1
  226. package/dist/chunks/{form-d71bthh7.js → state-t2y7bdcw.js} +15 -15
  227. package/dist/chunks/{form-2nkr91ag.js → state-t8neg7x7.js} +33 -33
  228. package/dist/chunks/{form-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{form-tdstcens.js → state-tdstcens.js} +1 -1
  230. package/dist/chunks/{form-rert0e01.js → state-tkb22qbm.js} +2 -2
  231. package/dist/chunks/{form-78540c8n.js → state-tvwsnpay.js} +5 -5
  232. package/dist/chunks/{form-1j6m29mr.js → state-txm3e8qz.js} +9 -9
  233. package/dist/chunks/{form-tyytaxap.js → state-tyytaxap.js} +1 -1
  234. package/dist/chunks/{form-v0es1rhs.js → state-v0es1rhs.js} +2 -2
  235. package/dist/chunks/{form-v7p4zvkq.js → state-v7p4zvkq.js} +2 -2
  236. package/dist/chunks/{form-pf6b5592.js → state-vbv3keym.js} +11 -11
  237. package/dist/chunks/{form-veqvce7d.js → state-veqvce7d.js} +1 -1
  238. package/dist/chunks/{form-51f5btjf.js → state-vqfzq50h.js} +6 -6
  239. package/dist/chunks/{form-gbw80gmv.js → state-vv5tc97j.js} +2 -2
  240. package/dist/chunks/{form-8kb1mg34.js → state-vvdwz8bp.js} +4 -4
  241. package/dist/chunks/{form-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
  242. package/dist/chunks/{form-q941vmqq.js → state-vztm24v3.js} +46 -46
  243. package/dist/chunks/{form-h83xjv7f.js → state-w39jehkq.js} +5 -5
  244. package/dist/chunks/{form-8w44vpkn.js → state-w3ajezp3.js} +16 -16
  245. package/dist/chunks/{form-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{form-ft3bm8wc.js → state-w88g6rmw.js} +5 -5
  247. package/dist/chunks/{form-endy3sye.js → state-w8zb7k19.js} +11 -11
  248. package/dist/chunks/{form-wd87259q.js → state-wd87259q.js} +1 -1
  249. package/dist/chunks/{form-wk5z6jzv.js → state-wjqb2vp5.js} +9 -9
  250. package/dist/chunks/{form-xhgknps5.js → state-wm17x2yg.js} +15 -15
  251. package/dist/chunks/{form-5ppwfcxb.js → state-wrt27mz2.js} +11 -11
  252. package/dist/chunks/{form-2b63rq0n.js → state-wtdq1xvb.js} +17 -17
  253. package/dist/chunks/{form-nvc3frs4.js → state-wzkn9px2.js} +6 -6
  254. package/dist/chunks/{form-c8gen4ss.js → state-x119eg88.js} +30 -30
  255. package/dist/chunks/{form-tmnkkjp7.js → state-x1hcexjc.js} +3 -3
  256. package/dist/chunks/{form-fg21g81d.js → state-x372j2ps.js} +30 -30
  257. package/dist/chunks/{form-p9tm5ycc.js → state-x39s0e6k.js} +16 -16
  258. package/dist/chunks/{form-am0cn9r6.js → state-x4adhrm2.js} +43 -43
  259. package/dist/chunks/{form-8d86b3ha.js → state-x52x10kp.js} +17 -17
  260. package/dist/chunks/{form-rzbjs5ks.js → state-x63y8anf.js} +4 -4
  261. package/dist/chunks/{form-tnmf4dev.js → state-xbg4wfgw.js} +9 -9
  262. package/dist/chunks/{form-drwq78ky.js → state-xfkkasph.js} +4 -4
  263. package/dist/chunks/{form-zz7jjxnj.js → state-xjk7skpn.js} +23 -23
  264. package/dist/chunks/{form-jvqd6gcq.js → state-xsmtq4qf.js} +8 -8
  265. package/dist/chunks/{form-85fyjh0d.js → state-xw7yq2vg.js} +32 -32
  266. package/dist/chunks/{form-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{form-26h36xx0.js → state-y2yc1hmv.js} +155 -155
  268. package/dist/chunks/{form-espax8zg.js → state-y5rf7nzv.js} +4 -4
  269. package/dist/chunks/{form-y71avatq.js → state-y71avatq.js} +1 -1
  270. package/dist/chunks/{form-ffsmct6j.js → state-ybtjykms.js} +9 -9
  271. package/dist/chunks/{form-psfd2gfy.js → state-yknhy38n.js} +50 -50
  272. package/dist/chunks/{form-a81m50dc.js → state-ykry54sk.js} +30 -30
  273. package/dist/chunks/{form-4tvwpn9h.js → state-ywszk2jg.js} +5 -5
  274. package/dist/chunks/{form-ywt8jp22.js → state-ywt8jp22.js} +2 -2
  275. package/dist/chunks/{form-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{form-d32kv9sd.js → state-z0xmsghh.js} +23 -23
  277. package/dist/chunks/{form-c2j9akp4.js → state-z3a8mnsb.js} +45 -45
  278. package/dist/chunks/{form-y0kth46m.js → state-z88250gw.js} +22 -22
  279. package/dist/chunks/{form-dyk8dg4h.js → state-z89zfw7h.js} +28 -28
  280. package/dist/chunks/{form-qst3dbrw.js → state-zcwza7b0.js} +6 -6
  281. package/dist/chunks/{form-v7htmggb.js → state-zj4r7vbk.js} +3 -3
  282. package/dist/chunks/{form-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{form-8gjqxw1x.js → state-zx4tn7qt.js} +3 -3
  284. package/dist/chunks/{form-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{form-zyk1yjk8.js → state-zyk1yjk8.js} +2 -2
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +87 -87
  291. package/dist/config/discovery.js +86 -86
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +118 -118
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +118 -118
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +120 -120
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +139 -139
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +115 -115
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +119 -119
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +123 -123
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +87 -87
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +367 -367
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +97 -97
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +3 -3
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +72 -72
  412. package/dist/file-access.js +106 -106
  413. package/dist/file-mutation.js +96 -96
  414. package/dist/file-retention.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +220 -220
  421. package/dist/filesystem/protected.js +3 -3
  422. package/dist/filesystem/search.js +105 -105
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +108 -108
  426. package/dist/form.js +86 -86
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +103 -103
  430. package/dist/git.js +6 -6
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +93 -93
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +87 -87
  455. package/dist/instructions/builtins.js +89 -89
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +89 -89
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +73 -73
  462. package/dist/location-activity.js +133 -133
  463. package/dist/location-lifecycle.js +109 -109
  464. package/dist/location-service-map.js +88 -88
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +83 -83
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +109 -109
  470. package/dist/mcp/instructions.js +131 -131
  471. package/dist/mcp/oauth.js +80 -80
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +93 -93
  475. package/dist/model-resolver.js +100 -100
  476. package/dist/model.js +102 -102
  477. package/dist/models-dev.js +109 -109
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +84 -84
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +119 -119
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +90 -90
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +76 -76
  488. package/dist/plugin/command.js +102 -102
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +119 -119
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +127 -127
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +125 -125
  523. package/dist/plugin/provider/openai.js +97 -97
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +125 -125
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +78 -78
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +134 -134
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +346 -346
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +6 -6
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +2 -2
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +6 -6
  555. package/dist/plugin.js +224 -224
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +82 -82
  559. package/dist/provider.js +103 -103
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +101 -101
  563. package/dist/reference/instructions.js +89 -89
  564. package/dist/reference.js +91 -91
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +99 -99
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +1 -1
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +137 -137
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +216 -216
  580. package/dist/session/execution.js +127 -127
  581. package/dist/session/generate.js +154 -154
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +88 -88
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +81 -81
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +120 -120
  591. package/dist/session/model-transport.js +7 -7
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +2 -2
  604. package/dist/session/runner/step.js +125 -125
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +166 -166
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +105 -105
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +89 -89
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +207 -207
  615. package/dist/session/system-prompt.js +3 -3
  616. package/dist/session/title.js +157 -157
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +209 -209
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +215 -215
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +134 -134
  626. package/dist/skill/discovery.js +2 -2
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +116 -116
  629. package/dist/snapshot.js +91 -91
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +130 -130
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +126 -126
  637. package/dist/tool/plugin/grep.js +126 -126
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +118 -118
  641. package/dist/tool/plugin/question.js +105 -105
  642. package/dist/tool/plugin/read.js +127 -127
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +115 -115
  645. package/dist/tool/plugin/subagent.js +214 -214
  646. package/dist/tool/plugin/webfetch.js +112 -112
  647. package/dist/tool/plugin/websearch.js +114 -114
  648. package/dist/tool/plugin/write.js +124 -124
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +16 -16
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +95 -95
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +91 -91
  674. package/dist/websearch.js +84 -84
  675. package/dist/wellknown/plugin.js +78 -78
  676. package/dist/wellknown.js +81 -81
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +84 -84
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +100 -100
  685. package/package.json +8 -8
  686. package/dist/chunks/form-by5v678g.js +0 -18
  687. /package/dist/chunks/{form-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{form-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{form-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{form-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{form-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{form-24dcb14g.js → state-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{form-2710q6r3.js → state-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{form-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{form-2bv980vf.js → state-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{form-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{form-359p4xyc.js → state-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{form-3asan66x.js → state-3asan66x.js} +0 -0
  699. /package/dist/chunks/{form-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{form-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{form-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{form-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{form-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{form-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{form-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{form-53557ph1.js → state-53557ph1.js} +0 -0
  707. /package/dist/chunks/{form-550bvhaj.js → state-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{form-6prwharc.js → state-6prwharc.js} +0 -0
  709. /package/dist/chunks/{form-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{form-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{form-7m9af43g.js → state-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{form-822emrt2.js → state-822emrt2.js} +0 -0
  713. /package/dist/chunks/{form-84wd9syh.js → state-84wd9syh.js} +0 -0
  714. /package/dist/chunks/{form-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{form-8n3pysct.js → state-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{form-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  717. /package/dist/chunks/{form-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{form-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{form-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{form-af5trqkr.js → state-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{form-afrmfg78.js → state-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{form-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{form-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{form-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{form-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{form-bw78ga2c.js → state-bw78ga2c.js} +0 -0
  727. /package/dist/chunks/{form-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{form-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{form-d9fn303g.js → state-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{form-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{form-dajrwvna.js → state-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{form-dap0rakb.js → state-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{form-df08tz66.js → state-df08tz66.js} +0 -0
  734. /package/dist/chunks/{form-dy18nga0.js → state-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{form-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{form-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{form-ec1grn59.js → state-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{form-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{form-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{form-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{form-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{form-faypxj3z.js → state-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{form-fd410y7t.js → state-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{form-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{form-g86h250q.js → state-g86h250q.js} +0 -0
  746. /package/dist/chunks/{form-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{form-gftt206x.js → state-gftt206x.js} +0 -0
  748. /package/dist/chunks/{form-hk9envan.js → state-hk9envan.js} +0 -0
  749. /package/dist/chunks/{form-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{form-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{form-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{form-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{form-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{form-jze0r7bz.js → state-jze0r7bz.js} +0 -0
  755. /package/dist/chunks/{form-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{form-m18g726c.js → state-m18g726c.js} +0 -0
  757. /package/dist/chunks/{form-mp448xyj.js → state-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{form-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{form-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{form-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{form-njntx4h6.js → state-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{form-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
  763. /package/dist/chunks/{form-pyv0edze.js → state-pyv0edze.js} +0 -0
  764. /package/dist/chunks/{form-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{form-q74kybfr.js → state-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{form-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{form-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{form-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{form-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  770. /package/dist/chunks/{form-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{form-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{form-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{form-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{form-ve7vex1e.js → state-ve7vex1e.js} +0 -0
  775. /package/dist/chunks/{form-w803qqfp.js → state-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{form-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{form-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{form-wtztk69x.js → state-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{form-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{form-x61499pn.js → state-x61499pn.js} +0 -0
  781. /package/dist/chunks/{form-y44na4kk.js → state-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{form-y8f7s663.js → state-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{form-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{form-ym463w8f.js → state-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{form-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
  786. /package/dist/chunks/{form-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./form-2bv980vf.js";
3
+ } from "./state-2bv980vf.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./form-g4wezp1m.js";
6
+ } from "./state-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./form-x61499pn.js";
9
+ } from "./state-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./form-af5trqkr.js";
12
+ } from "./state-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./form-afrmfg78.js";
15
+ } from "./state-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./form-x0ckcb58.js";
18
+ } from "./state-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./form-z5v4ffb3.js";
5
+ } from "./state-z5v4ffb3.js";
6
6
  import {
7
- Service49,
8
- node51
9
- } from "./form-dr78sty6.js";
7
+ Service64,
8
+ node66
9
+ } from "./state-e5wg3wb1.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./form-gk8qb678.js";
12
+ } from "./state-gk8qb678.js";
13
13
  import {
14
14
  __export
15
- } from "./form-9rqn6x4v.js";
15
+ } from "./state-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service18,
24
- node: () => node20
23
+ Service: () => Service63,
24
+ node: () => node65
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service18 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service63 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service18, Effect.gen(function* () {
67
- const environment = yield* Service49;
66
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
67
+ const environment = yield* Service64;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service18.of({
95
+ return Service63.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node20 = makeLocationNode({ service: Service18, layer, deps: [node51, RipgrepBinary2.node] });
178
+ var node65 = makeLocationNode({ service: Service63, layer, deps: [node66, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service18, node20, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service63, node65, exports_ripgrep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service84
3
- } from "./form-8kb1mg34.js";
3
+ } from "./state-vvdwz8bp.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./form-he2v6sv2.js";
6
+ } from "./state-8472ey6f.js";
7
7
  import {
8
- Service20,
9
- Event3
10
- } from "./form-cdv4x00t.js";
8
+ Service69,
9
+ Event13
10
+ } from "./state-r96659h9.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -32,7 +32,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
32
32
  var ModelsDevPlugin2 = define({
33
33
  id: "opencode.models.dev",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const modelsDev = yield* Service20;
35
+ const modelsDev = yield* Service69;
36
36
  const bus = yield* Service84;
37
37
  const loaded = { data: snapshots(yield* modelsDev.get()) };
38
38
  yield* ctx.integration.transform((integrations) => {
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
66
66
  loaded.data = snapshots(data);
67
67
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
68
68
  };
69
- yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event13.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
70
70
  const latest = yield* modelsDev.get();
71
71
  if (snapshots(latest) !== loaded.data)
72
72
  yield* apply(latest);
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service84
3
- } from "./form-8kb1mg34.js";
3
+ } from "./state-vvdwz8bp.js";
4
4
  import {
5
- Service70
6
- } from "./form-8wrxqz42.js";
5
+ Service71
6
+ } from "./state-6xpm1twa.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./form-rdw6cm16.js";
12
+ } from "./state-rdw6cm16.js";
13
13
  import {
14
- Service34,
14
+ Service30,
15
15
  awaitActivation2
16
- } from "./form-by5v678g.js";
16
+ } from "./state-9zdhvgqs.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./form-gmvqaxcm.js";
21
+ } from "./state-fdqap5k5.js";
22
22
  import {
23
23
  __export
24
- } from "./form-9rqn6x4v.js";
24
+ } from "./state-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event4,
30
- ID: () => ID2,
31
- Info: () => Info2,
29
+ Event: () => Event3,
30
+ ID: () => ID3,
31
+ Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service34,
33
+ Service: () => Service30,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node25
37
+ node: () => node18
38
38
  });
39
- import { Event as Event4, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event3, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service34, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
44
44
  const bus = yield* Service84;
45
- const kv = yield* Service70;
45
+ const kv = yield* Service71;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service34.of({
208
+ return Service30.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node25 = Node.makeLocationNode({
226
- service: Service34,
225
+ var node18 = Node.makeLocationNode({
226
+ service: Service30,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node25, exports_plugin2, Event4, ID2, Info2, Source2, State2 };
231
+ export { node18, exports_plugin2, Event3, ID3, Info3, Source2, State2 };
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./form-v7htmggb.js";
4
+ } from "./state-zj4r7vbk.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service84,
8
8
  node88
9
- } from "./form-8kb1mg34.js";
9
+ } from "./state-vvdwz8bp.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./form-ec1grn59.js";
12
+ } from "./state-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./form-gftt206x.js";
15
+ } from "./state-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./form-h7s7r6s9.js";
18
+ } from "./state-h7s7r6s9.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./form-z5v4ffb3.js";
22
+ } from "./state-z5v4ffb3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./form-rj3eygr5.js";
25
+ } from "./state-c41wscbt.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./form-c1fqxshp.js";
30
+ } from "./state-es1vcfrp.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./form-c2ms8fjw.js";
36
+ } from "./state-h986hd8g.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./form-hkffa77z.js";
42
+ } from "./state-pyg4v0b6.js";
43
43
  import {
44
44
  initialize2
45
- } from "./form-ce02pvrk.js";
45
+ } from "./state-ghsw8zx7.js";
46
46
  import {
47
47
  Slug2
48
- } from "./form-gebd4c9n.js";
48
+ } from "./state-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./form-9rqn6x4v.js";
51
+ } from "./state-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node28
58
+ node: () => node24
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
467
467
  return publishSessionUsage(db, bus, event.data.sessionID);
468
468
  }), Effect.forkScoped({ startImmediately: true }));
469
469
  }));
470
- var node28 = makeGlobalNode({ name: "session-projector", layer, deps: [node88, node89] });
470
+ var node24 = makeGlobalNode({ name: "session-projector", layer, deps: [node88, node89] });
471
471
 
472
- export { SessionAlreadyProjected2, node28, exports_projector };
472
+ export { SessionAlreadyProjected2, node24, exports_projector };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./form-espmheeq.js";
3
+ } from "./state-cfyzhaat.js";
4
4
  import {
5
5
  Service84
6
- } from "./form-8kb1mg34.js";
6
+ } from "./state-vvdwz8bp.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./form-c8gen4ss.js";
9
+ Event17
10
+ } from "./state-x119eg88.js";
11
11
  import {
12
12
  key2
13
- } from "./form-addxnjmp.js";
13
+ } from "./state-db2wf4at.js";
14
14
  import {
15
- ID14,
15
+ ID10,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./form-a81m50dc.js";
18
+ } from "./state-ykry54sk.js";
19
19
  import {
20
- Service19
21
- } from "./form-98byex5e.js";
20
+ Service15
21
+ } from "./state-0sakkys5.js";
22
22
  import {
23
- ID13,
23
+ ID9,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./form-7deejnv5.js";
26
+ } from "./state-fbw9agv5.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./form-he2v6sv2.js";
29
+ } from "./state-8472ey6f.js";
30
30
  import {
31
- ID3,
31
+ ID5,
32
32
  Input14,
33
33
  Response2
34
- } from "./form-1p9yx0fe.js";
34
+ } from "./state-kg8sbxbz.js";
35
35
 
36
36
  // src/plugin/provider/opencode.ts
37
37
  import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
47
47
  var RemoteResponse = Schema.Struct({
48
48
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
49
49
  websearch: Schema.Struct({
50
- providerID: ID3
50
+ providerID: ID5
51
51
  }).pipe(Schema.optional),
52
52
  mcp: Schema.Struct({
53
53
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -105,7 +105,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
105
105
  }
106
106
  function oauth(http) {
107
107
  return {
108
- integrationID: ID14.make("opencode"),
108
+ integrationID: ID10.make("opencode"),
109
109
  method: {
110
110
  id: methodID,
111
111
  type: "oauth",
@@ -172,7 +172,7 @@ var OpencodePlugin2 = define({
172
172
  const bus = yield* Service84;
173
173
  const client = yield* HttpClient.HttpClient;
174
174
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
175
- const managed = yield* Service19;
175
+ const managed = yield* Service15;
176
176
  const scope = yield* Scope.Scope;
177
177
  const loading = Semaphore.makeUnsafe(1);
178
178
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -221,7 +221,7 @@ var OpencodePlugin2 = define({
221
221
  providers.update(providerID, (provider) => {
222
222
  if (source && source.provider !== provider)
223
223
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
224
- provider.integrationID = ID14.make("opencode");
224
+ provider.integrationID = ID10.make("opencode");
225
225
  if (item.canonical !== undefined)
226
226
  provider.canonical = item.canonical;
227
227
  if (item.name !== undefined)
@@ -287,7 +287,7 @@ var OpencodePlugin2 = define({
287
287
  sourceConnection: snapshot.connection
288
288
  });
289
289
  }
290
- const item = providers.get(ID13.opencode);
290
+ const item = providers.get(ID9.opencode);
291
291
  if (!item)
292
292
  return;
293
293
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -299,7 +299,7 @@ var OpencodePlugin2 = define({
299
299
  });
300
300
  });
301
301
  yield* ctx.model.transform((models) => {
302
- const item = models.provider.get(ID13.opencode);
302
+ const item = models.provider.get(ID9.opencode);
303
303
  if (!item)
304
304
  return;
305
305
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -388,10 +388,10 @@ var OpencodePlugin2 = define({
388
388
  });
389
389
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
390
390
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
391
- explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
391
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
392
392
  });
393
393
  yield* guard(snapshot);
394
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
394
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
395
395
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
396
396
  })
397
397
  });
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./form-gd4qta3r.js";
3
+ } from "./state-gd4qta3r.js";
4
4
  import {
5
5
  create3
6
- } from "./form-rdw6cm16.js";
6
+ } from "./state-rdw6cm16.js";
7
7
  import {
8
8
  __export
9
- } from "./form-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service48,
18
+ Service: () => Service50,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node50
21
+ node: () => node52
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service48 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service50 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service48, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service48.of({
119
+ return Service50.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node50 = makeLocationNode({
137
- service: Service48,
136
+ var node52 = makeLocationNode({
137
+ service: Service50,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service48, node50, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service50, node52, exports_tool_output2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service81
3
- } from "./form-gbw80gmv.js";
3
+ } from "./state-vv5tc97j.js";
4
4
  import {
5
- ID12,
5
+ ID8,
6
6
  Family2
7
- } from "./form-he2v6sv2.js";
7
+ } from "./state-8472ey6f.js";
8
8
  import {
9
- Service67
10
- } from "./form-am0cn9r6.js";
9
+ Service51
10
+ } from "./state-x4adhrm2.js";
11
11
  import {
12
- Service49
13
- } from "./form-dr78sty6.js";
12
+ Service64
13
+ } from "./state-e5wg3wb1.js";
14
14
  import {
15
15
  spawner2
16
- } from "./form-1w2wqhfv.js";
16
+ } from "./state-khmqacep.js";
17
17
  import {
18
18
  foldSettings2
19
- } from "./form-410ssy4d.js";
19
+ } from "./state-24myjta5.js";
20
20
 
21
21
  // src/plugin/provider/local.ts
22
22
  import { define } from "@opencode/plugin/effect/plugin";
@@ -32,8 +32,8 @@ function createLocalProviderPlugin2(input) {
32
32
  id: input.id,
33
33
  effect: Effect.fn(function* (ctx) {
34
34
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
35
- const config = yield* Service67;
36
- const environment = yield* Effect.serviceOption(Service49);
35
+ const config = yield* Service51;
36
+ const environment = yield* Effect.serviceOption(Service64);
37
37
  const location = yield* Effect.serviceOption(Service81);
38
38
  const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
39
39
  const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
63
63
  for (const item of loaded.models) {
64
64
  const spec = input.model(item);
65
65
  providers.models.update(input.providerID, spec.id, (model) => {
66
- model.modelID = ID12.make(spec.id);
66
+ model.modelID = ID8.make(spec.id);
67
67
  model.name = spec.name || spec.id;
68
68
  model.family = spec.family ? Family2.make(spec.family) : undefined;
69
69
  model.capabilities = {
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID10 = Session.ID;
5
- var Info14 = Session.Info;
4
+ var ID16 = Session.ID;
5
+ var Info26 = Session.Info;
6
6
 
7
- export { ID10, Info14, SessionSchema2 };
7
+ export { ID16, Info26, SessionSchema2 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./form-qaymkmh1.js";
3
+ } from "./state-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/process";
8
- function make6(input) {
8
+ function make4(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make6 };
264
+ export { make4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};