@opencode/core 0.0.0-dev-20169 → 0.0.0-dev-20170

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  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 +73 -73
  7. package/dist/chunks/{mime-89bb6baa.js → pty-00832hy7.js} +8 -8
  8. package/dist/chunks/{mime-4pwxaf10.js → pty-07yh2w3s.js} +6 -6
  9. package/dist/chunks/{mime-0996nyz8.js → pty-0996nyz8.js} +2 -2
  10. package/dist/chunks/{mime-mbdf20a3.js → pty-0f7yvzkx.js} +10 -10
  11. package/dist/chunks/{mime-r33ff4dw.js → pty-0ft9cg2j.js} +6 -6
  12. package/dist/chunks/{mime-58m92xrk.js → pty-0hbp2t3w.js} +23 -23
  13. package/dist/chunks/{mime-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{mime-e6hmchc5.js → pty-0r7yqxbf.js} +5 -5
  15. package/dist/chunks/{mime-5796tcck.js → pty-17y8z6sp.js} +3 -3
  16. package/dist/chunks/{mime-bf4gbvg4.js → pty-1813d5zh.js} +11 -11
  17. package/dist/chunks/{mime-yp2x3t23.js → pty-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{mime-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{mime-mvksx64m.js → pty-1ed2t66p.js} +4 -4
  20. package/dist/chunks/{mime-ddzkc74p.js → pty-1hpkc3d9.js} +20 -20
  21. package/dist/chunks/{mime-f5gy8qwh.js → pty-1p7f10vm.js} +8 -8
  22. package/dist/chunks/{mime-qr124z36.js → pty-1sxsykr6.js} +8 -8
  23. package/dist/chunks/{mime-6gb804jb.js → pty-1w51kcab.js} +29 -29
  24. package/dist/chunks/{mime-56gdpj1q.js → pty-1ygqh575.js} +9 -9
  25. package/dist/chunks/{mime-21r38tys.js → pty-21r38tys.js} +1 -1
  26. package/dist/chunks/{mime-mzqhsy22.js → pty-221x7bq0.js} +17 -17
  27. package/dist/chunks/{mime-6h73sxmp.js → pty-2402vzrj.js} +5 -5
  28. package/dist/chunks/{mime-7e3zd5d4.js → pty-27ra7qpk.js} +20 -20
  29. package/dist/chunks/{mime-6asax46e.js → pty-27xgxgv2.js} +51 -51
  30. package/dist/chunks/{mime-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{mime-0r9gc419.js → pty-2bc87pvv.js} +7 -7
  32. package/dist/chunks/{mime-r205r7v3.js → pty-2dejz1mq.js} +35 -35
  33. package/dist/chunks/{mime-ccksk4yj.js → pty-2gds47hr.js} +15 -15
  34. package/dist/chunks/{mime-djgw09t3.js → pty-2h9st16x.js} +14 -14
  35. package/dist/chunks/{mime-qgn6gcr1.js → pty-2k8khapm.js} +5 -5
  36. package/dist/chunks/{mime-cwa6csj7.js → pty-2sejkfem.js} +9 -9
  37. package/dist/chunks/{mime-ghw31w7j.js → pty-2v6ca730.js} +10 -10
  38. package/dist/chunks/{mime-d15a5crh.js → pty-33yknepq.js} +30 -30
  39. package/dist/chunks/{mime-empm8ahp.js → pty-36agyrng.js} +20 -20
  40. package/dist/chunks/{mime-t3wpcfc0.js → pty-372k5868.js} +24 -24
  41. package/dist/chunks/{mime-tw1e01ej.js → pty-37bbksa5.js} +68 -68
  42. package/dist/chunks/{mime-bz63ghv0.js → pty-3bbgm4hs.js} +24 -24
  43. package/dist/chunks/{mime-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{mime-zmb1q919.js → pty-3fqt7tyn.js} +30 -30
  45. package/dist/chunks/{mime-fxfxepgh.js → pty-3gnkk110.js} +6 -6
  46. package/dist/chunks/{mime-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{mime-3h23es9p.js → pty-3p6y7fhg.js} +42 -42
  48. package/dist/chunks/{mime-qczqf1dc.js → pty-3pb9a38v.js} +26 -26
  49. package/dist/chunks/{mime-16cax9zb.js → pty-3pbjq009.js} +8 -8
  50. package/dist/chunks/{mime-nr80y6k7.js → pty-3rkt7740.js} +24 -24
  51. package/dist/chunks/{mime-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{mime-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{mime-wwz2c70k.js → pty-3vnaarfk.js} +12 -12
  54. package/dist/chunks/{mime-t5a2hf0x.js → pty-3vqxbr3s.js} +10 -10
  55. package/dist/chunks/{mime-ywvtc5g7.js → pty-3yakcpj9.js} +28 -28
  56. package/dist/chunks/{mime-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  57. package/dist/chunks/{mime-zy1hsbqs.js → pty-40y54r5c.js} +3 -3
  58. package/dist/chunks/{mime-ec7jv6ne.js → pty-41tapkvj.js} +46 -46
  59. package/dist/chunks/{mime-4xvevn0r.js → pty-45tygp0h.js} +33 -33
  60. package/dist/chunks/{mime-sdaymwv4.js → pty-45y21gs0.js} +15 -15
  61. package/dist/chunks/{mime-dhcd5s6n.js → pty-47erbzba.js} +14 -14
  62. package/dist/chunks/{mime-0ryd0fps.js → pty-4n607a2z.js} +5 -5
  63. package/dist/chunks/{mime-j26kfq5v.js → pty-4xgaqrq2.js} +13 -13
  64. package/dist/chunks/{mime-me0b0vjg.js → pty-4z2qm7e6.js} +10 -10
  65. package/dist/chunks/{mime-ckecvw8r.js → pty-54tcyq79.js} +2 -2
  66. package/dist/chunks/{mime-jqfs4f8t.js → pty-54xnztgb.js} +44 -44
  67. package/dist/chunks/{mime-xr349t4n.js → pty-571ezfbc.js} +8 -8
  68. package/dist/chunks/{mime-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
  69. package/dist/chunks/{mime-0s890w15.js → pty-5ar2sckv.js} +5 -5
  70. package/dist/chunks/{mime-ck42neey.js → pty-5b0bje4b.js} +36 -36
  71. package/dist/chunks/{mime-5daktx2q.js → pty-5daktx2q.js} +1 -1
  72. package/dist/chunks/{mime-fya34y6j.js → pty-5dmpnzwe.js} +15 -15
  73. package/dist/chunks/{mime-r55vasa2.js → pty-5mtzsd3b.js} +4 -4
  74. package/dist/chunks/{mime-r6fqv44t.js → pty-5n2dsd6w.js} +13 -13
  75. package/dist/chunks/{mime-neam7ak9.js → pty-5nqyfg55.js} +27 -27
  76. package/dist/chunks/{mime-ennxz5nn.js → pty-5rt6txf8.js} +13 -13
  77. package/dist/chunks/{mime-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  78. package/dist/chunks/{mime-6ka24jaf.js → pty-60t26s16.js} +17 -17
  79. package/dist/chunks/{mime-hvt58z0f.js → pty-60vycrkp.js} +32 -32
  80. package/dist/chunks/{mime-669tq793.js → pty-669tq793.js} +1 -1
  81. package/dist/chunks/{mime-qmp029tv.js → pty-67d35v68.js} +13 -13
  82. package/dist/chunks/{mime-ak9msbxp.js → pty-6d6xcght.js} +6 -6
  83. package/dist/chunks/{mime-xjzvydkr.js → pty-6d77vjf5.js} +26 -26
  84. package/dist/chunks/{mime-p0bpn1a8.js → pty-6dxfrfn6.js} +37 -37
  85. package/dist/chunks/{mime-xdfcdmq0.js → pty-6kspbkqh.js} +24 -24
  86. package/dist/chunks/{mime-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  87. package/dist/chunks/{mime-wbbqzpfk.js → pty-6rm04a4d.js} +8 -8
  88. package/dist/chunks/{mime-mvfsc1pv.js → pty-73tb2d7t.js} +3 -3
  89. package/dist/chunks/{mime-gs4bd3ck.js → pty-75wwy8y2.js} +13 -13
  90. package/dist/chunks/{mime-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  91. package/dist/chunks/{mime-hp23trsw.js → pty-7e8n9cs3.js} +38 -38
  92. package/dist/chunks/{mime-gk9fhfww.js → pty-7end9xac.js} +32 -32
  93. package/dist/chunks/{mime-6qx8bc3d.js → pty-7febzfrp.js} +25 -25
  94. package/dist/chunks/pty-7fj5dwt0.js +18 -0
  95. package/dist/chunks/{mime-rdhh766h.js → pty-7fnyxttq.js} +4 -4
  96. package/dist/chunks/{mime-tme7ypnb.js → pty-7w357n7h.js} +18 -18
  97. package/dist/chunks/{mime-fk8kps10.js → pty-7xxh74w6.js} +11 -11
  98. package/dist/chunks/{mime-eq9tcww4.js → pty-7y7dz3xh.js} +26 -26
  99. package/dist/chunks/{mime-wmras1aj.js → pty-8anx25cs.js} +22 -22
  100. package/dist/chunks/{mime-mbh094q3.js → pty-8d0p2m37.js} +5 -5
  101. package/dist/chunks/{mime-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  102. package/dist/chunks/{mime-prpf8ftn.js → pty-8kjs0e52.js} +2 -2
  103. package/dist/chunks/{mime-fydjrjbk.js → pty-8njz7rt2.js} +22 -22
  104. package/dist/chunks/{mime-pjwpcx5g.js → pty-8vrhx02r.js} +39 -39
  105. package/dist/chunks/{mime-phfznvh9.js → pty-8wqe6q5q.js} +65 -65
  106. package/dist/chunks/{mime-1fw2a5v8.js → pty-8yen0vmk.js} +13 -13
  107. package/dist/chunks/{mime-mb4xa1j6.js → pty-979hjcpa.js} +36 -36
  108. package/dist/chunks/{mime-ybhbtxjg.js → pty-97fmyryk.js} +3 -3
  109. package/dist/chunks/pty-99kmt16y.js +26 -0
  110. package/dist/chunks/{mime-vqm199mj.js → pty-99taak7k.js} +30 -30
  111. package/dist/chunks/{mime-sc7svgdt.js → pty-9by0nc1z.js} +22 -22
  112. package/dist/chunks/{mime-909p1r3q.js → pty-9gea571p.js} +6 -6
  113. package/dist/chunks/{mime-jpva2q9q.js → pty-9gh63tf7.js} +11 -11
  114. package/dist/chunks/{mime-a3r4dcrj.js → pty-9kmbd9mt.js} +2 -2
  115. package/dist/chunks/{mime-vzqv0rzd.js → pty-9kzv5r3t.js} +5 -5
  116. package/dist/chunks/{mime-1cn8p0vk.js → pty-9wbp47sd.js} +3 -3
  117. package/dist/chunks/{mime-8b6wz1s2.js → pty-9x77fmbz.js} +4 -4
  118. package/dist/chunks/{mime-0gs1t9y7.js → pty-9zdcvzy0.js} +30 -30
  119. package/dist/chunks/{mime-5cta56rp.js → pty-a2ywx13m.js} +1 -1
  120. package/dist/chunks/{mime-j8m1p4p1.js → pty-a3c7ahw6.js} +4 -4
  121. package/dist/chunks/{mime-aaet6srn.js → pty-aaet6srn.js} +2 -2
  122. package/dist/chunks/{mime-t7vjw3g9.js → pty-afp6dc07.js} +10 -10
  123. package/dist/chunks/{mime-9nj21xqc.js → pty-ag3twsq1.js} +5 -5
  124. package/dist/chunks/{mime-dx066ber.js → pty-avjan795.js} +9 -9
  125. package/dist/chunks/{mime-t2fc4mz5.js → pty-b27vhd2z.js} +4 -4
  126. package/dist/chunks/{mime-ew79ghek.js → pty-b4xp5b4g.js} +6 -6
  127. package/dist/chunks/{mime-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  128. package/dist/chunks/{mime-chwtr2e5.js → pty-bbdm7xgf.js} +19 -19
  129. package/dist/chunks/{mime-bemp11m2.js → pty-bc0ha7f3.js} +73 -73
  130. package/dist/chunks/{mime-x960xs2s.js → pty-bc1mwsm1.js} +31 -31
  131. package/dist/chunks/{mime-f6rek99c.js → pty-bh8ht1d2.js} +7 -7
  132. package/dist/chunks/{mime-z07pqspn.js → pty-bjtzbw4r.js} +3 -3
  133. package/dist/chunks/{mime-acp8wmh6.js → pty-bv318s69.js} +19 -19
  134. package/dist/chunks/{mime-fqvsmr7a.js → pty-c4n9gx9q.js} +17 -17
  135. package/dist/chunks/{mime-8pkr1zz8.js → pty-c72g4n35.js} +5 -5
  136. package/dist/chunks/{mime-rs4eeekc.js → pty-c9fqa78w.js} +9 -9
  137. package/dist/chunks/{mime-cvh6twbq.js → pty-cbamtmth.js} +10 -10
  138. package/dist/chunks/{mime-1dybw484.js → pty-cgtg3r0q.js} +336 -336
  139. package/dist/chunks/{mime-z19932rd.js → pty-ch9yp1pz.js} +27 -27
  140. package/dist/chunks/{mime-mk2tfswv.js → pty-cj3sqp0r.js} +11 -11
  141. package/dist/chunks/{mime-5r6fx1qs.js → pty-ckqn5b0t.js} +19 -19
  142. package/dist/chunks/{mime-nsandnz2.js → pty-cx803r68.js} +4 -4
  143. package/dist/chunks/{mime-xbmsj09z.js → pty-dfncrten.js} +10 -10
  144. package/dist/chunks/{mime-m6nec9qq.js → pty-dg2cj1yd.js} +4 -4
  145. package/dist/chunks/{mime-h99x4ah1.js → pty-dnh4eggc.js} +32 -32
  146. package/dist/chunks/{mime-bm3m92rh.js → pty-dq0v80fr.js} +12 -12
  147. package/dist/chunks/{mime-r2de5yng.js → pty-dv4smdre.js} +20 -20
  148. package/dist/chunks/{mime-vyqn3nqs.js → pty-dwvzh0g2.js} +6 -6
  149. package/dist/chunks/{mime-1qspzcx3.js → pty-dwwvf93g.js} +11 -11
  150. package/dist/chunks/{mime-492avacy.js → pty-e2n265pm.js} +8 -8
  151. package/dist/chunks/{mime-rhjbct0v.js → pty-eaj1djv9.js} +8 -8
  152. package/dist/chunks/{mime-b6fp2acj.js → pty-ebzz9p7s.js} +35 -35
  153. package/dist/chunks/{mime-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
  154. package/dist/chunks/{mime-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  155. package/dist/chunks/{mime-ck4n2qmk.js → pty-eg2tb1rm.js} +11 -11
  156. package/dist/chunks/{mime-jg3tkmqv.js → pty-eh24cpx8.js} +22 -22
  157. package/dist/chunks/{mime-cmx4q0sw.js → pty-eqdtwbsd.js} +3 -3
  158. package/dist/chunks/{mime-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  159. package/dist/chunks/{mime-96172wp9.js → pty-ew0v584s.js} +23 -23
  160. package/dist/chunks/{mime-ryps5y1f.js → pty-exr53306.js} +29 -29
  161. package/dist/chunks/{mime-zc2nbk21.js → pty-ezqh9axr.js} +23 -23
  162. package/dist/chunks/{mime-yd0n98jr.js → pty-f3eh0ser.js} +35 -35
  163. package/dist/chunks/{mime-g190xswt.js → pty-f3ngv102.js} +4 -4
  164. package/dist/chunks/{mime-zvt5dnpc.js → pty-f73rjn58.js} +4 -4
  165. package/dist/chunks/{mime-jq7v6dgk.js → pty-f76fhdgf.js} +5 -5
  166. package/dist/chunks/{mime-4fewzrdd.js → pty-fjwmcm9g.js} +7 -7
  167. package/dist/chunks/{mime-ywg7ry4y.js → pty-fne9b88m.js} +4 -4
  168. package/dist/chunks/{mime-n2we63qy.js → pty-fwpk2wm7.js} +14 -14
  169. package/dist/chunks/{mime-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  170. package/dist/chunks/{mime-4nxa3yrp.js → pty-gfmqcfkq.js} +13 -13
  171. package/dist/chunks/{mime-94ek1h2f.js → pty-gfvb90ym.js} +2 -2
  172. package/dist/chunks/{mime-n4djqr79.js → pty-gje89n48.js} +22 -22
  173. package/dist/chunks/{mime-dyynjqpa.js → pty-gnk6yzfx.js} +37 -37
  174. package/dist/chunks/{mime-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  175. package/dist/chunks/{mime-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  176. package/dist/chunks/{mime-d1ejf2a0.js → pty-hx5dphvg.js} +48 -48
  177. package/dist/chunks/{mime-0e9d45z6.js → pty-hxf9ag7d.js} +40 -40
  178. package/dist/chunks/{mime-d6h5jf52.js → pty-j1dhetpm.js} +11 -11
  179. package/dist/chunks/{mime-j56e64zr.js → pty-j56e64zr.js} +1 -1
  180. package/dist/chunks/{mime-44ykbs4n.js → pty-jd6az1p0.js} +11 -11
  181. package/dist/chunks/{mime-mv8r48y5.js → pty-jmr301rc.js} +24 -24
  182. package/dist/chunks/{mime-vv7f1353.js → pty-jrm07jrz.js} +18 -18
  183. package/dist/chunks/{mime-gyn306pg.js → pty-jy93wyqx.js} +22 -22
  184. package/dist/chunks/{mime-ebhn8wwf.js → pty-jyb2y6gr.js} +17 -17
  185. package/dist/chunks/{mime-vt049zkw.js → pty-jzsws37g.js} +16 -16
  186. package/dist/chunks/{mime-k3c624dm.js → pty-k3c624dm.js} +3 -3
  187. package/dist/chunks/{mime-j9ty9cws.js → pty-k53npxr2.js} +1 -1
  188. package/dist/chunks/{mime-ta6q38yf.js → pty-kahn2df4.js} +15 -15
  189. package/dist/chunks/{mime-dtb55fr6.js → pty-kba9tdab.js} +10 -10
  190. package/dist/chunks/{mime-x8wvmgka.js → pty-ke9c0zby.js} +47 -47
  191. package/dist/chunks/{mime-6x3df6m5.js → pty-kehatjqj.js} +15 -15
  192. package/dist/chunks/{mime-t0dhg9xm.js → pty-kjhqpjf5.js} +3 -3
  193. package/dist/chunks/{mime-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  194. package/dist/chunks/{mime-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{mime-jexxy024.js → pty-mf9m2v67.js} +3 -3
  196. package/dist/chunks/{mime-h0jd11tf.js → pty-mg0z7gqm.js} +5 -5
  197. package/dist/chunks/{mime-xjzb32y7.js → pty-mja4j6rb.js} +15 -15
  198. package/dist/chunks/{mime-q1tmktbx.js → pty-mqvas0bz.js} +11 -11
  199. package/dist/chunks/{mime-j1nzbrzj.js → pty-mrz2mfwp.js} +27 -27
  200. package/dist/chunks/{mime-3sz51aqf.js → pty-mv4t038k.js} +12 -12
  201. package/dist/chunks/{mime-bdn7vv49.js → pty-n158bs7w.js} +9 -9
  202. package/dist/chunks/{mime-8cmactcw.js → pty-nb301scj.js} +6 -6
  203. package/dist/chunks/{mime-4mj1cvph.js → pty-nefa8w28.js} +23 -23
  204. package/dist/chunks/{mime-aq494hqz.js → pty-nekn4kj4.js} +14 -14
  205. package/dist/chunks/{mime-t73dcxme.js → pty-nfzmfrje.js} +6 -6
  206. package/dist/chunks/{mime-0x4ra8ng.js → pty-nndwhze1.js} +15 -15
  207. package/dist/chunks/{mime-84zt2byv.js → pty-nq7qbqzc.js} +9 -9
  208. package/dist/chunks/{mime-d2aac7k2.js → pty-nxhqveyz.js} +5 -5
  209. package/dist/chunks/{mime-9g6mcpc9.js → pty-nzfzj4ee.js} +24 -24
  210. package/dist/chunks/{mime-thpvyx44.js → pty-p7656wpr.js} +30 -30
  211. package/dist/chunks/{mime-p42hj8p8.js → pty-pa8pe2x7.js} +8 -8
  212. package/dist/chunks/{mime-vps92m75.js → pty-ph20cxtq.js} +9 -9
  213. package/dist/chunks/{mime-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/pty-pjz83rka.js +252 -0
  215. package/dist/chunks/{mime-pknna89w.js → pty-pknna89w.js} +1 -1
  216. package/dist/chunks/{mime-ax1mpjb7.js → pty-prc9mp0v.js} +27 -27
  217. package/dist/chunks/{mime-wd3x2cqz.js → pty-psazpmmj.js} +2 -2
  218. package/dist/chunks/{mime-nyrwqgn4.js → pty-pwf03s6r.js} +5 -11
  219. package/dist/chunks/{mime-8sze2n9a.js → pty-py3kkmfq.js} +6 -6
  220. package/dist/chunks/{mime-xpxhmcar.js → pty-q4qsq2r1.js} +9 -9
  221. package/dist/chunks/{mime-ce49hgg3.js → pty-qgyvxnrz.js} +3 -3
  222. package/dist/chunks/{mime-vs4a43ce.js → pty-qmjzgd7a.js} +46 -46
  223. package/dist/chunks/{mime-qsdy395h.js → pty-qsdy395h.js} +1 -1
  224. package/dist/chunks/{mime-mw0cehm6.js → pty-qsra982x.js} +3 -3
  225. package/dist/chunks/{mime-fbfwk3fg.js → pty-qy4pzfzt.js} +5 -5
  226. package/dist/chunks/{mime-ghghsxj7.js → pty-r0841nan.js} +19 -19
  227. package/dist/chunks/{mime-axrwawvg.js → pty-r0kh7xsn.js} +9 -9
  228. package/dist/chunks/{mime-1a49mg8n.js → pty-r369ybd3.js} +19 -19
  229. package/dist/chunks/{mime-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{mime-txm26eb2.js → pty-rgr7zy8c.js} +22 -22
  231. package/dist/chunks/{mime-scnv85zn.js → pty-rt925ear.js} +11 -11
  232. package/dist/chunks/{mime-2xqf92me.js → pty-rw780tjq.js} +1 -1
  233. package/dist/chunks/{mime-vg1ctdtm.js → pty-rx2zrev4.js} +19 -19
  234. package/dist/chunks/{mime-70dy1mpp.js → pty-se2405xg.js} +8 -8
  235. package/dist/chunks/{mime-jwm73ahz.js → pty-ss96nb5e.js} +8 -8
  236. package/dist/chunks/{mime-dj9sq318.js → pty-t0fxg8b9.js} +5 -5
  237. package/dist/chunks/{mime-s3mp4eq0.js → pty-t1kj1ks6.js} +13 -13
  238. package/dist/chunks/{mime-xf3wnvpw.js → pty-t70hw2aa.js} +35 -35
  239. package/dist/chunks/{mime-2qtvb2sf.js → pty-t9ag37r3.js} +24 -24
  240. package/dist/chunks/{mime-0v53mg2y.js → pty-t9zs3egg.js} +4 -4
  241. package/dist/chunks/{mime-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{mime-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{mime-tdstcens.js → pty-tdstcens.js} +1 -1
  244. package/dist/chunks/{mime-xjyydmb8.js → pty-te7gyzaz.js} +9 -9
  245. package/dist/chunks/{mime-ybfnsx4m.js → pty-tjedn1bk.js} +4 -4
  246. package/dist/chunks/{mime-tvtrv512.js → pty-tvtrv512.js} +1 -1
  247. package/dist/chunks/{mime-246wn8dt.js → pty-twrb86q2.js} +14 -14
  248. package/dist/chunks/{mime-amtxatrd.js → pty-tx7gh1kr.js} +41 -41
  249. package/dist/chunks/{mime-cs3vqxz8.js → pty-v2fqb831.js} +5 -5
  250. package/dist/chunks/{mime-f9hgfqpn.js → pty-v64esaz8.js} +18 -18
  251. package/dist/chunks/{mime-f4d0s1t2.js → pty-v6aqgby1.js} +16 -16
  252. package/dist/chunks/{mime-veqvce7d.js → pty-veqvce7d.js} +1 -1
  253. package/dist/chunks/{mime-1kppbkx0.js → pty-vfcs7mkg.js} +25 -25
  254. package/dist/chunks/{mime-qed5jbce.js → pty-vp2t77bj.js} +5 -5
  255. package/dist/chunks/{mime-rmk2c50f.js → pty-vxp3kcg3.js} +5 -5
  256. package/dist/chunks/{mime-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{mime-x0k0k3nk.js → pty-vzqmaqpm.js} +20 -20
  258. package/dist/chunks/{mime-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  259. package/dist/chunks/{mime-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{mime-qrmaq0pw.js → pty-w6xjr483.js} +13 -13
  261. package/dist/chunks/{mime-4a39hndw.js → pty-w6yz6n38.js} +175 -175
  262. package/dist/chunks/{mime-wd87259q.js → pty-wd87259q.js} +1 -1
  263. package/dist/chunks/{mime-ae1n2vcd.js → pty-wvtedn3t.js} +4 -4
  264. package/dist/chunks/{mime-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{mime-6260z82e.js → pty-x45rtsks.js} +19 -19
  266. package/dist/chunks/{mime-dmy463da.js → pty-x4z8t7mn.js} +15 -15
  267. package/dist/chunks/{mime-07xxyaze.js → pty-x6k9b9cw.js} +20 -20
  268. package/dist/chunks/{mime-py5b7878.js → pty-x6vvseye.js} +9 -9
  269. package/dist/chunks/{mime-8fvtg4q1.js → pty-xazd4z7p.js} +22 -22
  270. package/dist/chunks/{mime-2735jr6x.js → pty-xbps7699.js} +12 -12
  271. package/dist/chunks/{mime-xfkkasph.js → pty-xfkkasph.js} +1 -1
  272. package/dist/chunks/{mime-xkntkrq7.js → pty-xkntkrq7.js} +2 -2
  273. package/dist/chunks/{mime-ww571ven.js → pty-xt0qjtha.js} +22 -22
  274. package/dist/chunks/{mime-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{mime-y71avatq.js → pty-y71avatq.js} +1 -1
  276. package/dist/chunks/{mime-4v0ac6w2.js → pty-y8vthjxv.js} +12 -12
  277. package/dist/chunks/{mime-2y6wvzw1.js → pty-ycxstv38.js} +8 -8
  278. package/dist/chunks/{mime-denbd3k6.js → pty-yhwy8nw2.js} +33 -33
  279. package/dist/chunks/{mime-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{mime-yrznvahk.js → pty-yrznvahk.js} +2 -2
  281. package/dist/chunks/{mime-ykbetyw3.js → pty-yttzf3nj.js} +4 -4
  282. package/dist/chunks/{mime-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{mime-byjwxeqw.js → pty-z1swwevk.js} +44 -44
  284. package/dist/chunks/{mime-z63w68vq.js → pty-z63w68vq.js} +2 -2
  285. package/dist/chunks/{mime-xdsb90ts.js → pty-z9ftkqee.js} +9 -9
  286. package/dist/chunks/{mime-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{mime-547acfmc.js → pty-zn493atz.js} +10 -10
  288. package/dist/chunks/{mime-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{mime-cmmdg65p.js → pty-zrq8kphx.js} +8 -8
  290. package/dist/chunks/{mime-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{mime-rpka6xkw.js → pty-zz3dkezh.js} +23 -23
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +79 -79
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +214 -214
  302. package/dist/config/plugin/compaction.js +162 -162
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +132 -132
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +126 -126
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +372 -372
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +227 -227
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +97 -97
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +98 -98
  432. package/dist/form.js +82 -82
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +83 -83
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +85 -85
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +102 -102
  478. package/dist/mcp/instructions.js +126 -126
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +102 -102
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +111 -111
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +84 -84
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +101 -101
  497. package/dist/plugin/compaction.js +133 -133
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +334 -334
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +351 -351
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +2 -2
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +5 -5
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +6 -6
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +6 -6
  562. package/dist/plugin.js +225 -225
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +84 -84
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/schema.js +1 -1
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +96 -96
  571. package/dist/reference/instructions.js +85 -85
  572. package/dist/reference.js +91 -91
  573. package/dist/repository-cache.js +81 -81
  574. package/dist/repository.js +3 -3
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +95 -95
  577. package/dist/rpc.js +86 -86
  578. package/dist/schema.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +132 -132
  581. package/dist/session/context.js +148 -148
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +3 -3
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +221 -221
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +151 -151
  589. package/dist/session/history.js +13 -13
  590. package/dist/session/inbox.js +88 -88
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +77 -77
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +119 -119
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +126 -126
  600. package/dist/session/projector.js +84 -84
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +114 -114
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +210 -210
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +154 -154
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +217 -217
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +212 -212
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +9 -9
  632. package/dist/shell.js +138 -138
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +101 -101
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +121 -121
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +120 -120
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +116 -116
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +101 -101
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +217 -217
  651. package/dist/tool/plugin/skill.js +109 -109
  652. package/dist/tool/plugin/subagent.js +215 -215
  653. package/dist/tool/plugin/webfetch.js +112 -112
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +120 -120
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +14 -14
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +14 -14
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +3 -3
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +80 -80
  690. package/dist/wellknown/plugin.js +74 -74
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +98 -98
  700. package/package.json +8 -8
  701. package/dist/chunks/mime-0rjbbhdn.js +0 -252
  702. package/dist/chunks/mime-f81tjggh.js +0 -18
  703. package/dist/chunks/mime-gv3av4nc.js +0 -26
  704. /package/dist/chunks/{mime-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{mime-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{mime-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{mime-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{mime-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{mime-24dcb14g.js → pty-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{mime-2710q6r3.js → pty-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{mime-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{mime-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{mime-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{mime-359p4xyc.js → pty-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{mime-3asan66x.js → pty-3asan66x.js} +0 -0
  716. /package/dist/chunks/{mime-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{mime-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{mime-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{mime-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{mime-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{mime-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{mime-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{mime-53557ph1.js → pty-53557ph1.js} +0 -0
  724. /package/dist/chunks/{mime-550bvhaj.js → pty-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{mime-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{mime-6kdq0pjd.js → pty-6kdq0pjd.js} +0 -0
  727. /package/dist/chunks/{mime-6prwharc.js → pty-6prwharc.js} +0 -0
  728. /package/dist/chunks/{mime-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{mime-7m9af43g.js → pty-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{mime-822emrt2.js → pty-822emrt2.js} +0 -0
  731. /package/dist/chunks/{mime-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{mime-8n3pysct.js → pty-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{mime-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{mime-922hggd3.js → pty-922hggd3.js} +0 -0
  735. /package/dist/chunks/{mime-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{mime-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{mime-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{mime-af5trqkr.js → pty-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{mime-afrmfg78.js → pty-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{mime-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{mime-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{mime-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{mime-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{mime-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{mime-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{mime-d9fn303g.js → pty-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{mime-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{mime-dajrwvna.js → pty-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{mime-dap0rakb.js → pty-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{mime-df08tz66.js → pty-df08tz66.js} +0 -0
  751. /package/dist/chunks/{mime-dy18nga0.js → pty-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{mime-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{mime-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{mime-ec1grn59.js → pty-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{mime-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{mime-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{mime-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{mime-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{mime-faypxj3z.js → pty-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{mime-fd410y7t.js → pty-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{mime-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{mime-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{mime-g86h250q.js → pty-g86h250q.js} +0 -0
  764. /package/dist/chunks/{mime-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{mime-gftt206x.js → pty-gftt206x.js} +0 -0
  766. /package/dist/chunks/{mime-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{mime-hk9envan.js → pty-hk9envan.js} +0 -0
  768. /package/dist/chunks/{mime-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{mime-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{mime-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{mime-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{mime-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{mime-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{mime-mp448xyj.js → pty-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{mime-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{mime-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{mime-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{mime-njntx4h6.js → pty-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{mime-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{mime-q74kybfr.js → pty-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{mime-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{mime-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{mime-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{mime-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{mime-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{mime-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{mime-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{mime-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{mime-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{mime-w803qqfp.js → pty-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{mime-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{mime-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{mime-wtztk69x.js → pty-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{mime-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{mime-x61499pn.js → pty-x61499pn.js} +0 -0
  796. /package/dist/chunks/{mime-y44na4kk.js → pty-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{mime-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{mime-y8f7s663.js → pty-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{mime-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{mime-ym463w8f.js → pty-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{mime-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./mime-3sz51aqf.js";
2
+ Service83,
3
+ node87
4
+ } from "./pty-mv4t038k.js";
5
5
  import {
6
- Key4,
7
- Service75,
8
- node78
9
- } from "./mime-4xvevn0r.js";
6
+ Key3,
7
+ Service72,
8
+ node75
9
+ } from "./pty-45tygp0h.js";
10
10
  import {
11
11
  create3
12
- } from "./mime-rdw6cm16.js";
12
+ } from "./pty-rdw6cm16.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./mime-2qtvb2sf.js";
16
+ } from "./pty-t9ag37r3.js";
17
17
  import {
18
18
  __export
19
- } from "./mime-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -31,17 +31,17 @@ __export(exports_integration, {
31
31
  CommandAttemptStatus: () => CommandAttemptStatus2,
32
32
  CommandMethod: () => CommandMethod2,
33
33
  EnvMethod: () => EnvMethod2,
34
- Event: () => Event18,
35
- ID: () => ID13,
36
- Info: () => Info28,
34
+ Event: () => Event16,
35
+ ID: () => ID12,
36
+ Info: () => Info27,
37
37
  Integration: () => exports_integration,
38
38
  KeyMethod: () => KeyMethod2,
39
39
  Method: () => Method2,
40
40
  MethodID: () => MethodID2,
41
41
  OAuthMethod: () => OAuthMethod2,
42
42
  Ref: () => Ref3,
43
- Service: () => Service74,
44
- node: () => node77
43
+ Service: () => Service71,
44
+ node: () => node74
45
45
  });
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import {
@@ -62,8 +62,8 @@ import {
62
62
  import { Integration } from "@opencode/schema/integration";
63
63
  import { AppProcess } from "@opencode/util/process";
64
64
  import { ChildProcess } from "effect/unstable/process";
65
- import { Event as Event18 } from "@opencode/schema/integration";
66
- var ID13 = Integration.ID;
65
+ import { Event as Event16 } from "@opencode/schema/integration";
66
+ var ID12 = Integration.ID;
67
67
  var MethodID2 = Integration.MethodID;
68
68
  var AttemptID2 = Integration.AttemptID;
69
69
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
71
71
  var KeyMethod2 = Integration.KeyMethod;
72
72
  var EnvMethod2 = Integration.EnvMethod;
73
73
  var Method2 = Integration.Method;
74
- var Info28 = Integration.Info;
74
+ var Info27 = Integration.Info;
75
75
  var Attempt2 = Integration.Attempt;
76
76
  var AttemptStatus2 = Integration.AttemptStatus;
77
77
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -94,20 +94,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
94
94
  }
95
95
 
96
96
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
97
- integrationID: ID13,
97
+ integrationID: ID12,
98
98
  attemptID: AttemptID2
99
99
  }) {
100
100
  }
101
101
  var Ref3 = Integration.Ref;
102
102
 
103
- class Service74 extends Context.Service()("@opencode/Integration") {
103
+ class Service71 extends Context.Service()("@opencode/Integration") {
104
104
  }
105
105
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
106
106
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
107
107
  var scrubInterval = Duration.seconds(30);
108
- var layer = Layer.effect(Service74, Effect.gen(function* () {
109
- const credentials = yield* Service75;
110
- const bus = yield* Service82;
108
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
109
+ const credentials = yield* Service72;
110
+ const bus = yield* Service83;
111
111
  const processes = yield* AppProcess.Service;
112
112
  const scope = yield* Scope.Scope;
113
113
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
201
201
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
202
202
  return [...credentials, ...env];
203
203
  };
204
- const project = (entry, connections) => Info28.make({
204
+ const project = (entry, connections) => Info27.make({
205
205
  id: entry.ref.id,
206
206
  name: entry.ref.name,
207
207
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
285
285
  const persistence = yield* createCredential({
286
286
  integrationID: attempt.integrationID,
287
287
  label: attempt.label,
288
- value: Key4.make({ type: "key", key: exit.value })
288
+ value: Key3.make({ type: "key", key: exit.value })
289
289
  }).pipe(Effect.asVoid, Effect.exit);
290
290
  const settledAt = yield* Clock.currentTimeMillis;
291
291
  const terminal = Exit.isSuccess(persistence) ? {
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
431
431
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
432
432
  return CommandAttempt2.make({ attemptID, time });
433
433
  });
434
- return Service74.of({
434
+ return Service71.of({
435
435
  transform: state.transform,
436
436
  reload: state.reload,
437
437
  revision: state.revision,
@@ -453,7 +453,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
453
453
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
454
454
  if (connection.type === "env") {
455
455
  const key = process.env[connection.name];
456
- return key ? Key4.make({ type: "key", key }) : undefined;
456
+ return key ? Key3.make({ type: "key", key }) : undefined;
457
457
  }
458
458
  const credential = yield* credentials.get(connection.id);
459
459
  if (!credential)
@@ -486,7 +486,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
486
486
  yield* createCredential({
487
487
  integrationID: input.integrationID,
488
488
  label: input.label,
489
- value: Key4.make({
489
+ value: Key3.make({
490
490
  type: "key",
491
491
  key: input.key,
492
492
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
580
580
  }
581
581
  });
582
582
  }));
583
- var node77 = makeLocationNode({
584
- service: Service74,
583
+ var node74 = makeLocationNode({
584
+ service: Service71,
585
585
  layer,
586
- deps: [node78, node86, AppProcess.node]
586
+ deps: [node75, node87, AppProcess.node]
587
587
  });
588
588
 
589
- export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service74, node77, exports_integration, Event18 };
589
+ export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info27, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service71, node74, exports_integration, Event16 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./mime-3sz51aqf.js";
2
+ Service83,
3
+ node87
4
+ } from "./pty-mv4t038k.js";
5
5
  import {
6
6
  environment2
7
- } from "./mime-1fw2a5v8.js";
7
+ } from "./pty-8yen0vmk.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./mime-sk3qaz4a.js";
10
+ } from "./pty-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./mime-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
19
  NotFoundError: () => NotFoundError3,
20
- Options: () => Options3,
20
+ Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service23,
23
- UnavailableError: () => UnavailableError3,
24
- configured: () => configured3,
22
+ Service: () => Service19,
23
+ UnavailableError: () => UnavailableError2,
24
+ configured: () => configured4,
25
25
  layer: () => layer10,
26
- node: () => node26
26
+ node: () => node22
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,9 +35,9 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
@@ -47,10 +47,10 @@ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError",
47
47
  }) {
48
48
  }
49
49
 
50
- class Service23 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service19 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
53
- const bus = yield* Service82;
52
+ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* () {
53
+ const bus = yield* Service83;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service23.of({
242
+ return Service19.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -256,16 +256,16 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
256
256
  });
257
257
  }));
258
258
  var layer10 = makeLayer();
259
- var configured3 = (options) => makeGlobalNode({
260
- service: Service23,
259
+ var configured4 = (options) => makeGlobalNode({
260
+ service: Service19,
261
261
  layer: options === undefined ? layer10 : makeLayer(options),
262
- deps: [node86, Global.node]
262
+ deps: [node87, Global.node]
263
263
  });
264
- var node26 = configured3();
264
+ var node22 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError3, NotFoundError3, Service23, layer10, configured3, node26, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError2, NotFoundError3, Service19, layer10, configured4, node22, exports_persistent_pty, Handoff2 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./pty-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service38,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service38 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service38.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service38, awaitActivation2, exports_service };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./mime-550bvhaj.js";
3
+ } from "./pty-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./mime-j5zkgpj8.js";
6
+ } from "./pty-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./mime-3asan66x.js";
9
+ } from "./pty-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./mime-rmk2c50f.js";
12
+ } from "./pty-vxp3kcg3.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./mime-922hggd3.js";
3
+ } from "./pty-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./mime-jg3tkmqv.js";
6
+ } from "./pty-eh24cpx8.js";
7
7
  import {
8
- Service79,
9
- node83
10
- } from "./mime-246wn8dt.js";
8
+ Service80,
9
+ node84
10
+ } from "./pty-twrb86q2.js";
11
11
  import {
12
- Service63,
13
- node66
14
- } from "./mime-6asax46e.js";
12
+ Service61,
13
+ node64
14
+ } from "./pty-27xgxgv2.js";
15
15
  import {
16
16
  __export
17
- } from "./mime-9rqn6x4v.js";
17
+ } from "./pty-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,9 +22,9 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service18,
25
+ Service: () => Service22,
26
26
  externalDirectoryPermission: () => externalDirectoryPermission2,
27
- node: () => node20,
27
+ node: () => node25,
28
28
  resolvePath: () => resolvePath2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
43
43
  save: [input.save]
44
44
  });
45
45
 
46
- class Service18 extends Context.Service()("@opencode/FileAccess") {
46
+ class Service22 extends Context.Service()("@opencode/FileAccess") {
47
47
  }
48
48
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
49
49
  const normalized = FSUtil.windowsPath(input);
@@ -55,10 +55,10 @@ var invocation = (context) => ({
55
55
  agent: context.agent,
56
56
  source: { type: "tool", messageID: context.messageID, id: context.id }
57
57
  });
58
- var layer = Layer.effect(Service18, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
59
59
  const fs = yield* FSUtil.Service;
60
- const location = yield* Service79;
61
- const permission = yield* Service63;
60
+ const location = yield* Service80;
61
+ const permission = yield* Service61;
62
62
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
63
63
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
64
64
  const worktree = path.resolve(location.project.directory);
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
107
107
  });
108
108
  return target;
109
109
  });
110
- return Service18.of({ resolve, authorizeExternal, authorizeRead });
110
+ return Service22.of({ resolve, authorizeExternal, authorizeRead });
111
111
  }));
112
- var node20 = makeLocationNode({ service: Service18, layer, deps: [FSUtil.node, node83, node66] });
112
+ var node25 = makeLocationNode({ service: Service22, layer, deps: [FSUtil.node, node84, node64] });
113
113
 
114
- export { Kind2, ResolveInput2, externalDirectoryPermission2, Service18, resolvePath2, node20, exports_file_access };
114
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, Service22, resolvePath2, node25, exports_file_access };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service55
3
- } from "./mime-byjwxeqw.js";
2
+ Service51
3
+ } from "./pty-z1swwevk.js";
4
4
  import {
5
- Service72
6
- } from "./mime-vps92m75.js";
5
+ Service44
6
+ } from "./pty-ph20cxtq.js";
7
7
  import {
8
8
  observe2
9
- } from "./mime-qsdy395h.js";
9
+ } from "./pty-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./mime-9rqn6x4v.js";
12
+ } from "./pty-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin12
18
+ Plugin: () => Plugin37
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin12 = define({
22
+ var Plugin37 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service55;
26
- const image = yield* Service72;
25
+ const config = yield* Service51;
26
+ const image = yield* Service44;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin12 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin12, exports_image };
46
+ export { Plugin37, exports_image };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./mime-ce49hgg3.js";
4
+ } from "./pty-qgyvxnrz.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./mime-3sz51aqf.js";
6
+ Service83,
7
+ node87
8
+ } from "./pty-mv4t038k.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./mime-5t3nmthw.js";
11
+ } from "./pty-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./mime-ec1grn59.js";
14
+ } from "./pty-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./mime-m6nec9qq.js";
20
+ } from "./pty-dg2cj1yd.js";
21
21
  import {
22
22
  load5
23
- } from "./mime-2y6wvzw1.js";
23
+ } from "./pty-ycxstv38.js";
24
24
  import {
25
25
  create3
26
- } from "./mime-rdw6cm16.js";
26
+ } from "./pty-rdw6cm16.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./mime-j9ty9cws.js";
29
+ } from "./pty-k53npxr2.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./mime-zmb1q919.js";
34
+ } from "./pty-3fqt7tyn.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./mime-nsandnz2.js";
37
+ } from "./pty-cx803r68.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./mime-8cmactcw.js";
41
+ } from "./pty-nb301scj.js";
42
42
  import {
43
43
  estimate2
44
- } from "./mime-h6vf3j39.js";
44
+ } from "./pty-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./mime-tdstcens.js";
49
+ } from "./pty-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./mime-9rqn6x4v.js";
52
+ } from "./pty-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction3 = {};
56
56
  __export(exports_compaction3, {
57
- Service: () => Service8,
57
+ Service: () => Service9,
58
58
  SessionCompaction: () => exports_compaction3,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
61
  layer: () => layer6,
62
- node: () => node10,
62
+ node: () => node11,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service8 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service9 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -298,8 +298,8 @@ var buildPrompt2 = (update, legacy = false) => {
298
298
  };
299
299
  var hasSummarySection = (summary) => summary.split(`
300
300
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
301
- var layer6 = Layer.effect(Service8, Effect.gen(function* () {
302
- const bus = yield* Service82;
301
+ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
302
+ const bus = yield* Service83;
303
303
  const llm = yield* LLMClient.Service;
304
304
  const db = (yield* Service84).db;
305
305
  const state = create3({
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
606
606
  }
607
607
  }));
608
608
  });
609
- return Service8.of({
609
+ return Service9.of({
610
610
  transform: state.transform,
611
611
  reload: state.reload,
612
612
  enabled: () => state.get().auto,
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
615
615
  compactManual
616
616
  });
617
617
  }));
618
- var node10 = makeLocationNode({
619
- service: Service8,
618
+ var node11 = makeLocationNode({
619
+ service: Service9,
620
620
  layer: layer6,
621
- deps: [node86, node88, llmClient2]
621
+ deps: [node87, node88, llmClient2]
622
622
  });
623
623
 
624
- export { Service8, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node10, exports_compaction3 };
624
+ export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node11, exports_compaction3 };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID7,
2
+ ID11,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./mime-xf3wnvpw.js";
5
+ } from "./pty-t70hw2aa.js";
6
6
  import {
7
- ID6,
7
+ ID10,
8
8
  VariantID2,
9
9
  Family2,
10
- Info19
11
- } from "./mime-r205r7v3.js";
10
+ Info24
11
+ } from "./pty-2dejz1mq.js";
12
12
  import {
13
13
  __export
14
- } from "./mime-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- derive: () => derive3,
21
- get: () => get3,
22
- load: () => load3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ derive: () => derive2,
21
+ get: () => get2,
22
+ load: () => load2
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get3(baseURL, headers, existing) {
72
- return derive3(baseURL, await load3(baseURL, headers), existing);
71
+ async function get2(baseURL, headers, existing) {
72
+ return derive2(baseURL, await load2(baseURL, headers), existing);
73
73
  }
74
- async function load3(baseURL, headers) {
74
+ async function load2(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive3(baseURL, remote, existing) {
86
+ function derive2(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID6.make(id);
97
+ const key = ID10.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info19.make({
122
- ...Info19.default(ID7.githubCopilot, id),
121
+ return Info24.make({
122
+ ...Info24.default(ID11.githubCopilot, id),
123
123
  id,
124
- modelID: ID6.make(remote.id),
125
- providerID: ID7.githubCopilot,
124
+ modelID: ID10.make(remote.id),
125
+ providerID: ID11.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get3, load3, derive3, exports_models2 };
200
+ export { get2, load2, derive2, exports_models };