@opencode/core 0.0.0-dev-20577 → 0.0.0-dev-20579

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{command-hbqne9jm.js → models-dev-00z7knq4.js} +48 -48
  8. package/dist/chunks/{command-48cj2z6f.js → models-dev-02pnmv3p.js} +22 -22
  9. package/dist/chunks/{command-kp93eabn.js → models-dev-04sffrgv.js} +15 -15
  10. package/dist/chunks/{command-tj3amwcq.js → models-dev-065f5jqd.js} +18 -18
  11. package/dist/chunks/{command-cb8p8a9z.js → models-dev-0fh6f5vp.js} +9 -9
  12. package/dist/chunks/{command-nz49q0p3.js → models-dev-0hkfhkek.js} +33 -33
  13. package/dist/chunks/{command-wq97ata3.js → models-dev-0hv6rsw5.js} +31 -31
  14. package/dist/chunks/{command-0paq2nw3.js → models-dev-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{command-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{command-vx3jgdek.js → models-dev-143qq2q9.js} +3 -3
  17. package/dist/chunks/{command-69j91c1q.js → models-dev-15nepkqg.js} +8 -8
  18. package/dist/chunks/{command-rawzh9f5.js → models-dev-16rafmdt.js} +45 -45
  19. package/dist/chunks/{command-1dazxqgg.js → models-dev-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{command-1dvck2a7.js → models-dev-1dvck2a7.js} +2 -2
  21. package/dist/chunks/{command-dfajfnkg.js → models-dev-1ffrhb6a.js} +23 -23
  22. package/dist/chunks/{command-b1enpsaa.js → models-dev-21sd2q2p.js} +22 -22
  23. package/dist/chunks/{command-dm5ssyfm.js → models-dev-23r766dh.js} +38 -38
  24. package/dist/chunks/{command-yvd9mjph.js → models-dev-28pkm0f9.js} +8 -8
  25. package/dist/chunks/{command-2a5m3afh.js → models-dev-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{command-qgn6gcr1.js → models-dev-2k8khapm.js} +5 -5
  27. package/dist/chunks/{command-gs3s1a1g.js → models-dev-30846h32.js} +8 -8
  28. package/dist/chunks/{command-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
  29. package/dist/chunks/{command-0sqmrpn2.js → models-dev-3gk6d5bg.js} +33 -33
  30. package/dist/chunks/{command-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{command-s9spdbfy.js → models-dev-3pt1f740.js} +38 -38
  32. package/dist/chunks/{command-tfrvwkgh.js → models-dev-3r0f49pj.js} +10 -10
  33. package/dist/chunks/{command-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{command-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{command-jyrncrt6.js → models-dev-3wjay3ka.js} +23 -23
  36. package/dist/chunks/{command-jsf24svj.js → models-dev-3zqzd8hk.js} +42 -42
  37. package/dist/chunks/{command-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{command-gh3sjhhn.js → models-dev-414z3zsn.js} +14 -14
  39. package/dist/chunks/{command-04jjrec1.js → models-dev-44b5mvgm.js} +15 -15
  40. package/dist/chunks/{command-dm4vbrvx.js → models-dev-4556yem3.js} +2 -2
  41. package/dist/chunks/{command-6etn2fpm.js → models-dev-47zss2vy.js} +18 -18
  42. package/dist/chunks/{command-vqjs8hv7.js → models-dev-4bx1eqaf.js} +25 -25
  43. package/dist/chunks/{command-f18tyt2v.js → models-dev-4d76t1fx.js} +21 -21
  44. package/dist/chunks/{command-9kr67f7m.js → models-dev-4j1v512x.js} +33 -33
  45. package/dist/chunks/{command-4ts7tf6z.js → models-dev-4ts7tf6z.js} +2 -2
  46. package/dist/chunks/{command-54ma36ye.js → models-dev-54ma36ye.js} +1 -1
  47. package/dist/chunks/{command-1ygqh575.js → models-dev-56gdpj1q.js} +9 -9
  48. package/dist/chunks/{command-xfkkasph.js → models-dev-57b9ws8p.js} +7 -7
  49. package/dist/chunks/{command-rt384jmm.js → models-dev-5bmhz7h8.js} +20 -20
  50. package/dist/chunks/{command-k5vew2r0.js → models-dev-5bsdf67q.js} +20 -20
  51. package/dist/chunks/{command-ys3m2q03.js → models-dev-5c4z4tyd.js} +47 -47
  52. package/dist/chunks/{command-5daktx2q.js → models-dev-5daktx2q.js} +1 -1
  53. package/dist/chunks/{command-kfmjg78y.js → models-dev-5dsr6e61.js} +6 -6
  54. package/dist/chunks/{command-2y035twn.js → models-dev-5fsrq7yk.js} +13 -13
  55. package/dist/chunks/{command-4yhhdjvm.js → models-dev-5g2350sa.js} +16 -16
  56. package/dist/chunks/{command-5t3nmthw.js → models-dev-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{command-15nnh4s6.js → models-dev-5xmyk187.js} +3 -3
  58. package/dist/chunks/{command-h9hcchbf.js → models-dev-66376qmm.js} +88 -88
  59. package/dist/chunks/{command-669tq793.js → models-dev-669tq793.js} +1 -1
  60. package/dist/chunks/{command-jb4r1kxp.js → models-dev-67bex8mg.js} +16 -16
  61. package/dist/chunks/{command-h9rj7vgp.js → models-dev-67g972p8.js} +11 -11
  62. package/dist/chunks/{command-max5zner.js → models-dev-69ae2gc0.js} +33 -33
  63. package/dist/chunks/{command-q36shhmj.js → models-dev-6b584fx1.js} +12 -12
  64. package/dist/chunks/{command-759ca8qw.js → models-dev-6fgkgcg0.js} +22 -22
  65. package/dist/chunks/{command-m0kkpct9.js → models-dev-6g7n6n48.js} +5 -5
  66. package/dist/chunks/{command-5w6ne2rj.js → models-dev-6q44kjsg.js} +10 -10
  67. package/dist/chunks/{command-6xb47vfp.js → models-dev-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{command-qh49khd6.js → models-dev-6xkzja4k.js} +6 -6
  69. package/dist/chunks/{command-930nf9me.js → models-dev-707t01nb.js} +19 -19
  70. package/dist/chunks/{command-yr7n59b3.js → models-dev-70z09tsz.js} +11 -11
  71. package/dist/chunks/{command-71az546q.js → models-dev-71az546q.js} +2 -2
  72. package/dist/chunks/{command-6238m7q1.js → models-dev-72a3060e.js} +3 -3
  73. package/dist/chunks/{command-117ga8q0.js → models-dev-75t52x5s.js} +27 -27
  74. package/dist/chunks/{command-j6zg015w.js → models-dev-777x33ga.js} +43 -43
  75. package/dist/chunks/{command-hbj68pgm.js → models-dev-77pm2nty.js} +39 -39
  76. package/dist/chunks/{command-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{command-qkr42znk.js → models-dev-7qxz1a4h.js} +9 -9
  78. package/dist/chunks/{command-zeh40njd.js → models-dev-7re3496y.js} +180 -180
  79. package/dist/chunks/{command-r9w3djhf.js → models-dev-82rhge12.js} +9 -9
  80. package/dist/chunks/{command-84txncab.js → models-dev-84txncab.js} +1 -1
  81. package/dist/chunks/{command-w7620n11.js → models-dev-89v4egbf.js} +28 -28
  82. package/dist/chunks/{command-tsjzc549.js → models-dev-8ct0y6hk.js} +28 -28
  83. package/dist/chunks/{command-8d7r5vzw.js → models-dev-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{command-03xyy9gs.js → models-dev-8hkfkb27.js} +5 -5
  85. package/dist/chunks/{command-vmmvzryc.js → models-dev-8r052h48.js} +8 -8
  86. package/dist/chunks/{command-b9xnfexb.js → models-dev-8tfctm8b.js} +1 -1
  87. package/dist/chunks/{command-3haxx6pm.js → models-dev-8wxr6w3c.js} +22 -22
  88. package/dist/chunks/{command-y6k2xs97.js → models-dev-94ak9ask.js} +1 -1
  89. package/dist/chunks/{command-a03229d4.js → models-dev-9841pv10.js} +19 -19
  90. package/dist/chunks/{command-9e5bzkjp.js → models-dev-9e5bzkjp.js} +3 -3
  91. package/dist/chunks/{command-mydvvph4.js → models-dev-9ecvsxx5.js} +29 -29
  92. package/dist/chunks/{command-2rx8305r.js → models-dev-9fr4q37e.js} +24 -24
  93. package/dist/chunks/{command-93ygb5af.js → models-dev-9gea571p.js} +6 -6
  94. package/dist/chunks/{command-j0gyfj28.js → models-dev-9h1qtdky.js} +47 -47
  95. package/dist/chunks/{command-m9bwhd6g.js → models-dev-9nccr2nz.js} +24 -24
  96. package/dist/chunks/{command-5pyjqqve.js → models-dev-9pa8tak9.js} +2 -2
  97. package/dist/chunks/{command-18htcbrq.js → models-dev-9qx683h5.js} +9 -9
  98. package/dist/chunks/{command-swwzfrs7.js → models-dev-9xjshrng.js} +3 -3
  99. package/dist/chunks/{command-v04mbsyc.js → models-dev-a527gmk9.js} +7 -7
  100. package/dist/chunks/{command-mjymc32g.js → models-dev-a8bn8zg0.js} +4 -4
  101. package/dist/chunks/{command-aaet6srn.js → models-dev-aaet6srn.js} +2 -2
  102. package/dist/chunks/{command-1ytwep67.js → models-dev-ah58gg7p.js} +5 -5
  103. package/dist/chunks/{command-yp6aabyp.js → models-dev-amsd198e.js} +22 -22
  104. package/dist/chunks/{command-zfs8ae4p.js → models-dev-as7cf5zz.js} +4 -4
  105. package/dist/chunks/{command-ry3ffff2.js → models-dev-at1jtn93.js} +12 -12
  106. package/dist/chunks/{command-kenkf5s7.js → models-dev-b0w1x349.js} +48 -48
  107. package/dist/chunks/{command-cmkc9sfw.js → models-dev-b1tb8gws.js} +36 -36
  108. package/dist/chunks/{command-b6gygkdw.js → models-dev-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{command-q1dr63v1.js → models-dev-b76kedzd.js} +11 -11
  110. package/dist/chunks/{command-1n8tchc4.js → models-dev-b832nfdp.js} +22 -22
  111. package/dist/chunks/{command-4v7ngy20.js → models-dev-bp8fbaqn.js} +4 -4
  112. package/dist/chunks/{command-tgdgvz5m.js → models-dev-bw2wjxzg.js} +12 -12
  113. package/dist/chunks/{command-ygdna4kr.js → models-dev-bx0gyb4h.js} +5 -5
  114. package/dist/chunks/models-dev-by5v678g.js +18 -0
  115. package/dist/chunks/{command-c2qavkps.js → models-dev-c26tg910.js} +12 -12
  116. package/dist/chunks/{command-kz5zsevx.js → models-dev-c43encnq.js} +13 -13
  117. package/dist/chunks/{command-agq9zd11.js → models-dev-c9m7c5t2.js} +13 -13
  118. package/dist/chunks/{command-jfvphnye.js → models-dev-cd2ckykk.js} +33 -33
  119. package/dist/chunks/{command-6kz41x2h.js → models-dev-cdxjqe9v.js} +8 -8
  120. package/dist/chunks/{command-090p1w3a.js → models-dev-cerphmjy.js} +5 -5
  121. package/dist/chunks/{command-0e74cksd.js → models-dev-cgz3dhkc.js} +10 -10
  122. package/dist/chunks/{command-ck8npcm5.js → models-dev-chkwe70y.js} +11 -11
  123. package/dist/chunks/{command-bkwxdpdb.js → models-dev-ct9q0q83.js} +11 -11
  124. package/dist/chunks/{command-79qaa2kf.js → models-dev-cwa6csj7.js} +9 -9
  125. package/dist/chunks/{command-124e8td1.js → models-dev-cyef1244.js} +13 -13
  126. package/dist/chunks/{command-39yjv8hn.js → models-dev-d9p3jxc1.js} +45 -45
  127. package/dist/chunks/{command-rkrj05tv.js → models-dev-dpepwdxp.js} +35 -35
  128. package/dist/chunks/{command-mac87736.js → models-dev-dzd6gt19.js} +8 -8
  129. package/dist/chunks/{command-rkrkq154.js → models-dev-e1b8dpn9.js} +9 -9
  130. package/dist/chunks/{command-qp3v07n2.js → models-dev-e7710hd6.js} +5 -5
  131. package/dist/chunks/{command-w9czef0s.js → models-dev-e7ydkzjj.js} +7 -7
  132. package/dist/chunks/{command-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{command-14tdwscn.js → models-dev-enm6tv2q.js} +18 -18
  134. package/dist/chunks/{command-etq0c3wd.js → models-dev-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{command-e3ecsdy8.js → models-dev-etz1tp3f.js} +22 -22
  136. package/dist/chunks/{command-mj9cksj0.js → models-dev-f69hr2t8.js} +24 -24
  137. package/dist/chunks/{command-afdssyjb.js → models-dev-f73rjn58.js} +4 -4
  138. package/dist/chunks/{command-j34dxvpb.js → models-dev-fepbnb8j.js} +5 -5
  139. package/dist/chunks/{command-8rqycdgd.js → models-dev-fqb2p7cx.js} +7 -7
  140. package/dist/chunks/{command-jkwx8shz.js → models-dev-fszy1g6v.js} +11 -11
  141. package/dist/chunks/{command-kt2w57dr.js → models-dev-fyfa4fhw.js} +44 -44
  142. package/dist/chunks/{command-51rych25.js → models-dev-g1r3wepg.js} +75 -75
  143. package/dist/chunks/{command-6gwd6jt4.js → models-dev-g6xefnek.js} +5 -5
  144. package/dist/chunks/{command-dssbfrwz.js → models-dev-g6yfr6ja.js} +5 -5
  145. package/dist/chunks/{command-8htcd2rv.js → models-dev-g80ve2xz.js} +29 -29
  146. package/dist/chunks/{command-r8ys1pjh.js → models-dev-g9r9zbx9.js} +4 -4
  147. package/dist/chunks/{command-66c3eymz.js → models-dev-gaky33x9.js} +5 -5
  148. package/dist/chunks/{command-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{command-qkj8hkyk.js → models-dev-gvhmaxka.js} +44 -44
  150. package/dist/chunks/{command-rscwbd1b.js → models-dev-h08prmky.js} +15 -15
  151. package/dist/chunks/{command-h2b79v29.js → models-dev-h2b79v29.js} +2 -2
  152. package/dist/chunks/{command-f62qkzqr.js → models-dev-h4z1mxff.js} +5 -5
  153. package/dist/chunks/{command-e55nq1dx.js → models-dev-h6pyrv6e.js} +19 -19
  154. package/dist/chunks/{command-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{command-srkatn7d.js → models-dev-h6vzd6py.js} +28 -28
  156. package/dist/chunks/{command-hdy9dvcx.js → models-dev-hapxt7b6.js} +4 -4
  157. package/dist/chunks/{command-7rbxqkgq.js → models-dev-hcstjrnh.js} +32 -32
  158. package/dist/chunks/{command-fpecnkgp.js → models-dev-hg3614cy.js} +5 -5
  159. package/dist/chunks/{command-t18afxp3.js → models-dev-hmgc5cz7.js} +12 -12
  160. package/dist/chunks/{command-j74e336s.js → models-dev-hw0q1v6w.js} +13 -13
  161. package/dist/chunks/{command-gh22p3be.js → models-dev-hzbfr2zb.js} +29 -29
  162. package/dist/chunks/{command-j56e64zr.js → models-dev-j56e64zr.js} +1 -1
  163. package/dist/chunks/{command-hphxefgw.js → models-dev-j69age7f.js} +10 -10
  164. package/dist/chunks/{command-0vsnxwjm.js → models-dev-j8vmxrd4.js} +3 -3
  165. package/dist/chunks/{command-y6vx5mph.js → models-dev-jagm7tt7.js} +46 -46
  166. package/dist/chunks/models-dev-k0b2y79r.js +253 -0
  167. package/dist/chunks/{command-873y03zv.js → models-dev-k64rxz1r.js} +19 -19
  168. package/dist/chunks/{command-qqdfvssg.js → models-dev-k9qdemdz.js} +17 -17
  169. package/dist/chunks/{command-mq1114ms.js → models-dev-kb426ejq.js} +12 -12
  170. package/dist/chunks/{command-8fgecypx.js → models-dev-kg03ydgp.js} +9 -9
  171. package/dist/chunks/{command-2avtt150.js → models-dev-kjm0dggs.js} +23 -23
  172. package/dist/chunks/{command-bsprd9wx.js → models-dev-ktw141zw.js} +3 -3
  173. package/dist/chunks/{command-sh0fsxwf.js → models-dev-kyr28d2w.js} +11 -11
  174. package/dist/chunks/{command-cg85h34c.js → models-dev-kz287eh6.js} +4 -4
  175. package/dist/chunks/{command-m3fdjcah.js → models-dev-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{command-gpygzsz4.js → models-dev-m69jc7nt.js} +15 -15
  177. package/dist/chunks/{command-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{command-scgrse2b.js → models-dev-mha52fg8.js} +5 -5
  179. package/dist/chunks/{command-kb6vbnxp.js → models-dev-mhgx8wws.js} +4 -4
  180. package/dist/chunks/{command-qfaf6res.js → models-dev-n0vcjzwx.js} +22 -22
  181. package/dist/chunks/{command-g53c9fq7.js → models-dev-n8h5s4z5.js} +5 -5
  182. package/dist/chunks/{command-4m4650rm.js → models-dev-nbr98sng.js} +18 -18
  183. package/dist/chunks/{command-ncnm8wen.js → models-dev-ncnm8wen.js} +1 -1
  184. package/dist/chunks/{command-0y86tmwb.js → models-dev-nm4299rz.js} +6 -6
  185. package/dist/chunks/{command-43krc4bk.js → models-dev-nvxt8qcf.js} +9 -9
  186. package/dist/chunks/{command-f3e4f3ew.js → models-dev-nzcmq5s7.js} +15 -15
  187. package/dist/chunks/{command-r0wedrkd.js → models-dev-p3bfjnb3.js} +18 -18
  188. package/dist/chunks/{command-6q6vmr50.js → models-dev-p4ebz0q2.js} +3 -3
  189. package/dist/chunks/{command-n0pywpq4.js → models-dev-p5c89f54.js} +6 -6
  190. package/dist/chunks/{command-1zc1gz4g.js → models-dev-p6g1xawz.js} +23 -23
  191. package/dist/chunks/{command-5yzzbxa7.js → models-dev-pa8pe2x7.js} +8 -8
  192. package/dist/chunks/{command-evpm7vcg.js → models-dev-pd7n37kn.js} +33 -33
  193. package/dist/chunks/{command-denjr0qg.js → models-dev-pfsrde56.js} +3 -3
  194. package/dist/chunks/{command-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{command-pknna89w.js → models-dev-pknna89w.js} +1 -1
  196. package/dist/chunks/{command-1d727dm9.js → models-dev-pkx2dq04.js} +327 -327
  197. package/dist/chunks/{command-tet8e841.js → models-dev-pm50wqr4.js} +4 -4
  198. package/dist/chunks/{command-q0xm7vwc.js → models-dev-q0xm7vwc.js} +2 -2
  199. package/dist/chunks/{command-q43fwr5x.js → models-dev-q18332b7.js} +13 -13
  200. package/dist/chunks/{command-261teatt.js → models-dev-q93trqjw.js} +5 -5
  201. package/dist/chunks/{command-359sf8pg.js → models-dev-q97fzf0b.js} +21 -21
  202. package/dist/chunks/{command-4gm9b3mc.js → models-dev-qdtb2r9y.js} +88 -88
  203. package/dist/chunks/{command-7pjv18ns.js → models-dev-qesb4fb2.js} +10 -10
  204. package/dist/chunks/{command-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
  205. package/dist/chunks/{command-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
  206. package/dist/chunks/{command-s6grk335.js → models-dev-qt130byj.js} +37 -37
  207. package/dist/chunks/{command-zytxgpcz.js → models-dev-qvh9eqkc.js} +24 -24
  208. package/dist/chunks/{command-pz4bzxx2.js → models-dev-qvna2bbv.js} +29 -29
  209. package/dist/chunks/{command-a1gpj94z.js → models-dev-r5x6zcsm.js} +3 -3
  210. package/dist/chunks/{command-r8xr0va3.js → models-dev-r8xr0va3.js} +1 -1
  211. package/dist/chunks/{command-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{command-s8d7rejh.js → models-dev-rhjbct0v.js} +4 -4
  213. package/dist/chunks/{command-krz37b5z.js → models-dev-rkp0d28g.js} +55 -55
  214. package/dist/chunks/{command-xhvk1hh0.js → models-dev-rt73gy88.js} +4 -4
  215. package/dist/chunks/{command-fp6k91eh.js → models-dev-rtwceye3.js} +33 -33
  216. package/dist/chunks/{command-nf8njrqz.js → models-dev-s6yyz18a.js} +13 -13
  217. package/dist/chunks/{command-9xs2qmrx.js → models-dev-scwth786.js} +13 -13
  218. package/dist/chunks/{command-aaz61dev.js → models-dev-sk11m9ar.js} +25 -25
  219. package/dist/chunks/{command-62yts832.js → models-dev-snkpwrj1.js} +32 -32
  220. package/dist/chunks/{command-fkscjsp5.js → models-dev-sp7ve3f0.js} +11 -11
  221. package/dist/chunks/{command-en9mxp96.js → models-dev-srq8z0b0.js} +9 -9
  222. package/dist/chunks/{command-9898pk67.js → models-dev-sxmaz3jq.js} +24 -24
  223. package/dist/chunks/{command-bgtt2kw4.js → models-dev-t0nr6jrg.js} +31 -31
  224. package/dist/chunks/{command-44wsf4p6.js → models-dev-t8a4yqen.js} +5 -5
  225. package/dist/chunks/{command-0xf97k36.js → models-dev-t8kkt2nv.js} +11 -11
  226. package/dist/chunks/{command-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{command-tcezcvh9.js → models-dev-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{command-tdstcens.js → models-dev-tdstcens.js} +1 -1
  229. package/dist/chunks/{command-edajgpnh.js → models-dev-tfyyarmg.js} +14 -14
  230. package/dist/chunks/{command-xcng2btc.js → models-dev-tj0wg4nv.js} +5 -5
  231. package/dist/chunks/{command-a2w70vx4.js → models-dev-tsnhj991.js} +11 -11
  232. package/dist/chunks/{command-s9de47m6.js → models-dev-tv1qkmca.js} +20 -25
  233. package/dist/chunks/{command-43ya1ftk.js → models-dev-tvdvkfya.js} +40 -40
  234. package/dist/chunks/{command-s1jqa0rv.js → models-dev-tx4w3zvw.js} +14 -14
  235. package/dist/chunks/{command-s3qw8jyq.js → models-dev-v0t6dd4w.js} +18 -18
  236. package/dist/chunks/{command-gq98prpa.js → models-dev-v85q2xfv.js} +13 -13
  237. package/dist/chunks/{command-f2hjv5fy.js → models-dev-ve78naxq.js} +8 -8
  238. package/dist/chunks/{command-s4tt0pef.js → models-dev-veajjj4z.js} +8 -8
  239. package/dist/chunks/{command-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
  240. package/dist/chunks/{command-k2srk8cp.js → models-dev-vjtea3hn.js} +3 -3
  241. package/dist/chunks/{command-qgma0hvn.js → models-dev-vwgad00t.js} +10 -10
  242. package/dist/chunks/{command-2zqhm02j.js → models-dev-vxrd0dht.js} +9 -9
  243. package/dist/chunks/{command-vzcthcp8.js → models-dev-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{command-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
  245. package/dist/chunks/{command-xeqfr83e.js → models-dev-vzstn3vw.js} +28 -28
  246. package/dist/chunks/{command-jaa0b0hs.js → models-dev-w222d1b2.js} +17 -17
  247. package/dist/chunks/{command-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{command-n71h44cm.js → models-dev-w8mfq855.js} +13 -13
  249. package/dist/chunks/{command-py3kkmfq.js → models-dev-w92k2e0p.js} +8 -8
  250. package/dist/chunks/{command-wd87259q.js → models-dev-wd87259q.js} +1 -1
  251. package/dist/chunks/{command-ehq1cete.js → models-dev-we3tv5d1.js} +3 -3
  252. package/dist/chunks/{command-vkfdnwpx.js → models-dev-wj76ss2k.js} +4 -4
  253. package/dist/chunks/{command-a2ccr785.js → models-dev-wkcrcmm0.js} +16 -16
  254. package/dist/chunks/{command-wmh05qp9.js → models-dev-wp6ep95q.js} +35 -35
  255. package/dist/chunks/{command-hwc5fhjs.js → models-dev-wt5nmafz.js} +35 -35
  256. package/dist/chunks/{command-hndmfkfz.js → models-dev-x2qjtq82.js} +10 -10
  257. package/dist/chunks/{command-addxnjmp.js → models-dev-x661k3y3.js} +4 -4
  258. package/dist/chunks/models-dev-x7z75zrq.js +26 -0
  259. package/dist/chunks/{command-t2pgk753.js → models-dev-xdtzmxbg.js} +6 -6
  260. package/dist/chunks/{command-q8ejgrh7.js → models-dev-xh27xnk0.js} +11 -11
  261. package/dist/chunks/{command-xkntkrq7.js → models-dev-xkntkrq7.js} +2 -2
  262. package/dist/chunks/{command-364yjtd9.js → models-dev-xsqksm9t.js} +11 -11
  263. package/dist/chunks/{command-cb72tr97.js → models-dev-xx57t6qj.js} +21 -21
  264. package/dist/chunks/{command-22qzwdfx.js → models-dev-xx8ravma.js} +11 -11
  265. package/dist/chunks/{command-qxjc9qry.js → models-dev-xyafkbt0.js} +3 -3
  266. package/dist/chunks/{command-vps92m75.js → models-dev-y16p1w2y.js} +9 -9
  267. package/dist/chunks/{command-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{command-9fn597ry.js → models-dev-y5p3mzqv.js} +11 -11
  269. package/dist/chunks/{command-dpkg50ah.js → models-dev-y71avatq.js} +4 -4
  270. package/dist/chunks/{command-3ac3enw2.js → models-dev-ydrjdpcc.js} +22 -22
  271. package/dist/chunks/{command-4ampwn7w.js → models-dev-ydx2zdq6.js} +19 -19
  272. package/dist/chunks/{command-09e69a7b.js → models-dev-yf0pn2h0.js} +20 -20
  273. package/dist/chunks/{command-k1qrnqst.js → models-dev-yf10kn3d.js} +8 -8
  274. package/dist/chunks/{command-2g0f3sn5.js → models-dev-ygrc3zp9.js} +24 -24
  275. package/dist/chunks/{command-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{command-zz9x0err.js → models-dev-z2e87qev.js} +25 -25
  277. package/dist/chunks/{command-r1g3ttfx.js → models-dev-z7hhbxsd.js} +30 -30
  278. package/dist/chunks/{command-rjq8wmvv.js → models-dev-zfa7ynd8.js} +15 -15
  279. package/dist/chunks/{command-9p61zhgr.js → models-dev-zff80ehc.js} +16 -16
  280. package/dist/chunks/{command-xbvc458q.js → models-dev-zghtsczn.js} +8 -8
  281. package/dist/chunks/{command-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{command-zsr4wwhv.js → models-dev-zsr4wwhv.js} +1 -1
  283. package/dist/chunks/{command-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +83 -83
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +93 -93
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +94 -94
  422. package/dist/form.js +76 -76
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +97 -97
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +101 -101
  466. package/dist/mcp/instructions.js +127 -127
  467. package/dist/mcp/oauth.js +92 -87
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +100 -100
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +78 -78
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +88 -88
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +104 -104
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +115 -115
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +115 -115
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +115 -115
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +345 -345
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +6 -6
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +4 -4
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +86 -86
  553. package/dist/provider.js +99 -99
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +99 -99
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +91 -91
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +86 -86
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +1 -1
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +125 -125
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +162 -162
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +213 -213
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +209 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +15 -15
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +112 -112
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +114 -114
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +120 -120
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +111 -111
  639. package/dist/tool/plugin/subagent.js +210 -210
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/types/mcp/oauth.d.ts +1 -10
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +3 -3
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +3 -3
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +82 -82
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +79 -79
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +76 -76
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +8 -8
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +98 -98
  680. package/package.json +8 -8
  681. package/dist/chunks/command-13dwg0c6.js +0 -253
  682. package/dist/chunks/command-1x11rq2a.js +0 -18
  683. package/dist/chunks/command-bb7jf4d3.js +0 -26
  684. /package/dist/chunks/{command-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{command-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{command-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{command-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{command-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{command-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{command-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{command-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{command-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{command-34c7v6d4.js → models-dev-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{command-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{command-3asan66x.js → models-dev-3asan66x.js} +0 -0
  696. /package/dist/chunks/{command-3t0ybcrp.js → models-dev-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{command-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{command-3w5fmr99.js → models-dev-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{command-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{command-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{command-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{command-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{command-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{command-53557ph1.js → models-dev-53557ph1.js} +0 -0
  705. /package/dist/chunks/{command-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{command-5qd3pb7m.js → models-dev-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{command-6prwharc.js → models-dev-6prwharc.js} +0 -0
  708. /package/dist/chunks/{command-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{command-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{command-822emrt2.js → models-dev-822emrt2.js} +0 -0
  711. /package/dist/chunks/{command-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{command-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{command-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{command-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{command-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{command-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{command-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{command-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{command-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{command-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{command-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{command-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{command-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{command-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{command-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{command-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{command-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{command-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{command-df08tz66.js → models-dev-df08tz66.js} +0 -0
  730. /package/dist/chunks/{command-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{command-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{command-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{command-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{command-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{command-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{command-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{command-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{command-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{command-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{command-fxgpk5d8.js → models-dev-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{command-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{command-g86h250q.js → models-dev-g86h250q.js} +0 -0
  743. /package/dist/chunks/{command-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{command-gftt206x.js → models-dev-gftt206x.js} +0 -0
  745. /package/dist/chunks/{command-hjbc5kem.js → models-dev-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{command-hk9envan.js → models-dev-hk9envan.js} +0 -0
  747. /package/dist/chunks/{command-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{command-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{command-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{command-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{command-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{command-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{command-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{command-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{command-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{command-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{command-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{command-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{command-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{command-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{command-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{command-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{command-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{command-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{command-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{command-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{command-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{command-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{command-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{command-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{command-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{command-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{command-x61499pn.js → models-dev-x61499pn.js} +0 -0
  774. /package/dist/chunks/{command-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{command-y8cydn3q.js → models-dev-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{command-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{command-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{command-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{command-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{command-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./command-mq1114ms.js";
2
+ Service81,
3
+ node85
4
+ } from "./models-dev-kb426ejq.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./command-rdw6cm16.js";
8
+ } from "./models-dev-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./command-addxnjmp.js";
11
+ } from "./models-dev-x661k3y3.js";
12
12
  import {
13
- ID14,
14
- Service76,
15
- node80,
16
- Event18
17
- } from "./command-pz4bzxx2.js";
13
+ ID11,
14
+ Service72,
15
+ node76,
16
+ Event17
17
+ } from "./models-dev-qvna2bbv.js";
18
18
  import {
19
- Service78,
20
- node82
21
- } from "./command-edajgpnh.js";
19
+ Service77,
20
+ node81
21
+ } from "./models-dev-tfyyarmg.js";
22
22
  import {
23
23
  __export
24
- } from "./command-9rqn6x4v.js";
24
+ } from "./models-dev-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -38,13 +38,13 @@ __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
41
- Event: () => Event17,
42
- ID: () => ID13,
43
- Info: () => Info22,
41
+ Event: () => Event16,
42
+ ID: () => ID10,
43
+ Info: () => Info21,
44
44
  LoadError: () => LoadError3,
45
45
  Provider: () => exports_provider3,
46
46
  Request: () => Request3,
47
- Service: () => Service75,
47
+ Service: () => Service71,
48
48
  Settings: () => Settings2,
49
49
  Transport: () => Transport2,
50
50
  aisdk: () => aisdk2,
@@ -54,7 +54,7 @@ __export(exports_provider3, {
54
54
  mergeOverlay: () => mergeOverlay2,
55
55
  modelSettings: () => modelSettings2,
56
56
  nativeSettings: () => nativeSettings2,
57
- node: () => node79,
57
+ node: () => node75,
58
58
  packageName: () => packageName2,
59
59
  timeout: () => timeout2,
60
60
  timeouts: () => timeouts2
@@ -68,8 +68,8 @@ import { isRecord } from "@opencode/ai/utils/record";
68
68
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
69
69
  import { Credential } from "@opencode/schema/credential";
70
70
  import { freeze } from "immer";
71
- import { Event as Event17 } from "@opencode/schema/provider";
72
- var ID13 = Provider.ID;
71
+ import { Event as Event16 } from "@opencode/schema/provider";
72
+ var ID10 = Provider.ID;
73
73
  var AISDK_PREFIX2 = "aisdk:";
74
74
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
75
75
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -231,9 +231,9 @@ var Request3 = Provider.Request;
231
231
  var Compaction3 = Provider.Compaction;
232
232
  var Transport2 = Provider.Transport;
233
233
  var Settings2 = Provider.Settings;
234
- var Info22 = Provider.Info;
234
+ var Info21 = Provider.Info;
235
235
 
236
- class Service75 extends Context.Service()("@opencode/Provider") {
236
+ class Service71 extends Context.Service()("@opencode/Provider") {
237
237
  }
238
238
  var definitions = new WeakMap;
239
239
  function index(providerID, models) {
@@ -246,10 +246,10 @@ function index(providerID, models) {
246
246
  definitions.set(models, indexes);
247
247
  return result;
248
248
  }
249
- var layer = Layer.effect(Service75, Effect.gen(function* () {
250
- const bus = yield* Service83;
251
- const integrations = yield* Service76;
252
- const location = yield* Service78;
249
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
250
+ const bus = yield* Service81;
251
+ const integrations = yield* Service72;
252
+ const location = yield* Service77;
253
253
  const state = create3({
254
254
  name: "provider",
255
255
  initial: () => new Map,
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
260
260
  const current = records.get(id);
261
261
  if (current)
262
262
  return current;
263
- const added = { provider: Info22.empty(id), models: new Map };
263
+ const added = { provider: Info21.empty(id), models: new Map };
264
264
  records.set(id, added);
265
265
  maps.add(added.models);
266
266
  return added;
@@ -341,7 +341,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
341
341
  const available = Array.from(records.values()).filter((record) => {
342
342
  if (record.provider.activation === "disabled")
343
343
  return false;
344
- const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
344
+ const integration = byID.get(record.provider.integrationID ?? ID11.make(record.provider.id));
345
345
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
346
346
  return false;
347
347
  if (record.provider.activation === "enabled")
@@ -367,8 +367,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
367
367
  location: { directory: location.directory, workspaceID: location.workspaceID }
368
368
  });
369
369
  });
370
- yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
371
- return Service75.of({
370
+ yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
371
+ return Service71.of({
372
372
  transform: state.transform,
373
373
  reload: state.reload,
374
374
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -377,7 +377,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
377
377
  snapshot
378
378
  });
379
379
  }));
380
- var node79 = makeLocationNode({ service: Service75, layer, deps: [node87, node80, node82] });
380
+ var node75 = makeLocationNode({ service: Service71, layer, deps: [node85, node76, node81] });
381
381
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
382
382
  const module = yield* Effect.tryPromise({
383
383
  try: () => {
@@ -650,4 +650,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
650
650
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
651
651
  var decode = Schema2.decodeUnknownSync(Legacy);
652
652
 
653
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service75, node79, exports_provider3, Event17 };
653
+ export { rewrite2, native2, exports_aisdk_native, ID10, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service71, node75, exports_provider3, Event16 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./command-k2srk8cp.js";
4
+ } from "./models-dev-vjtea3hn.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./command-mq1114ms.js";
6
+ Service81,
7
+ node85
8
+ } from "./models-dev-kb426ejq.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./command-pknna89w.js";
11
+ } from "./models-dev-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./command-3zsf4n22.js";
14
+ } from "./models-dev-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./command-9rqn6x4v.js";
17
+ } from "./models-dev-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event21,
24
- ID: () => ID18,
25
- Info: () => Info29,
23
+ Event: () => Event18,
24
+ ID: () => ID12,
25
+ Info: () => Info24,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service82,
28
+ Service: () => Service73,
29
29
  Value: () => Value2,
30
- node: () => node86
30
+ node: () => node77
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID18 = Credential.ID;
37
+ var ID12 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event21 = Credential.Event;
41
+ var Event18 = Credential.Event;
42
42
 
43
- class Info29 extends Schema.Class("Credential.Info")({
44
- id: ID18,
43
+ class Info24 extends Schema.Class("Credential.Info")({
44
+ id: ID12,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service82 extends Context.Service()("@opencode/Credential") {
51
+ class Service73 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service82, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
- const bus = yield* Service83;
55
+ const bus = yield* Service81;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info29({
60
+ return new Info24({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service82.of({
71
+ return Service73.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info29({
80
- id: input.id ?? ID18.create(),
79
+ const credential = new Info24({
80
+ id: input.id ?? ID12.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
108
108
  type: credential.value.type,
109
109
  active: activated
110
110
  });
111
- yield* bus.publish(Event21.Updated, {}, { global: true });
111
+ yield* bus.publish(Event18.Updated, {}, { global: true });
112
112
  if (activated)
113
- yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
113
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
114
114
  return credential;
115
115
  }),
116
116
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
130
130
  })), Effect.orDie);
131
131
  if (integrationID) {
132
132
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
133
- yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
133
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
134
134
  }
135
135
  }),
136
136
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
162
162
  labelChanged: updates.label !== undefined && updates.label !== credential.label
163
163
  });
164
164
  if (updates.label !== undefined && updates.label !== credential.label)
165
- yield* bus.publish(Event21.Updated, {}, { global: true });
165
+ yield* bus.publish(Event18.Updated, {}, { global: true });
166
166
  }),
167
167
  remove: Effect.fn("Credential.remove")(function* (id) {
168
168
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
195
195
  active: removed.switched,
196
196
  ...removed.switched ? { replacementID: removed.credentialID } : {}
197
197
  });
198
- yield* bus.publish(Event21.Updated, {}, { global: true });
198
+ yield* bus.publish(Event18.Updated, {}, { global: true });
199
199
  if (removed.switched)
200
- yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
200
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
201
201
  })
202
202
  });
203
203
  }));
204
- var node86 = makeGlobalNode({ service: Service82, layer, deps: [node88, node87] });
204
+ var node77 = makeGlobalNode({ service: Service73, layer, deps: [node88, node85] });
205
205
 
206
- export { ID18, OAuth3, Key4, Value2, Event21, Info29, Service82, node86, exports_credential };
206
+ export { ID12, OAuth3, Key4, Value2, Event18, Info24, Service73, node77, exports_credential };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./models-dev-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./models-dev-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./models-dev-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -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 ID11 = Session.ID;
5
- var Info20 = Session.Info;
4
+ var ID18 = Session.ID;
5
+ var Info29 = Session.Info;
6
6
 
7
- export { ID11, Info20, SessionSchema2 };
7
+ export { ID18, Info29, SessionSchema2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./models-dev-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service33,
8
+ Service: () => Service39,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node36
10
+ node: () => node42
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service33 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service39 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service33, () => {
17
+ var layer = Layer.sync(Service39, () => {
18
18
  const environments = new Map;
19
- return Service33.of({
19
+ return Service39.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service33, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node36 = makeGlobalNode({ service: Service33, layer, deps: [] });
29
+ var node42 = makeGlobalNode({ service: Service39, layer, deps: [] });
30
30
 
31
- export { Service33, node36, exports_environment };
31
+ export { Service39, node42, exports_environment };
@@ -1,53 +1,53 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./command-mq1114ms.js";
2
+ Service81,
3
+ node85
4
+ } from "./models-dev-kb426ejq.js";
5
5
  import {
6
- node50
7
- } from "./command-yp6aabyp.js";
6
+ node51
7
+ } from "./models-dev-amsd198e.js";
8
8
  import {
9
- Service7,
10
- node8
11
- } from "./command-vqjs8hv7.js";
9
+ Service4,
10
+ node6
11
+ } from "./models-dev-4bx1eqaf.js";
12
12
  import {
13
- Service27
14
- } from "./command-1x11rq2a.js";
13
+ Service34
14
+ } from "./models-dev-by5v678g.js";
15
15
  import {
16
- node18,
17
- ID2
18
- } from "./command-b1enpsaa.js";
16
+ node25,
17
+ ID3
18
+ } from "./models-dev-21sd2q2p.js";
19
19
  import {
20
- Service2,
21
- node3
22
- } from "./command-5yzzbxa7.js";
20
+ Service6,
21
+ node8
22
+ } from "./models-dev-pa8pe2x7.js";
23
23
  import {
24
24
  requirements2,
25
25
  guarded2,
26
26
  list2
27
- } from "./command-1d727dm9.js";
27
+ } from "./models-dev-pkx2dq04.js";
28
28
  import {
29
- make3,
29
+ make4,
30
30
  LoadError2
31
- } from "./command-f2hjv5fy.js";
31
+ } from "./models-dev-ve78naxq.js";
32
32
  import {
33
33
  Updated2,
34
- Service3,
35
- node4
36
- } from "./command-kz5zsevx.js";
34
+ Service5,
35
+ node7
36
+ } from "./models-dev-c43encnq.js";
37
37
  import {
38
- Service4,
39
- node5
40
- } from "./command-r9w3djhf.js";
38
+ Service7,
39
+ node9
40
+ } from "./models-dev-82rhge12.js";
41
41
  import {
42
42
  __export
43
- } from "./command-9rqn6x4v.js";
43
+ } from "./models-dev-9rqn6x4v.js";
44
44
 
45
45
  // src/plugin/supervisor.ts
46
46
  var exports_supervisor = {};
47
47
  __export(exports_supervisor, {
48
48
  PluginSupervisor: () => exports_supervisor,
49
- layer: () => layer3,
50
- node: () => node2
49
+ layer: () => layer4,
50
+ node: () => node5
51
51
  });
52
52
  import { Event } from "@opencode/schema/config";
53
53
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
116
116
  failures: [
117
117
  ...failures.values(),
118
118
  ...ordered.filter(duplicate).map((plugin) => ({
119
- id: ID2.make(plugin.id),
119
+ id: ID3.make(plugin.id),
120
120
  source: plugin.source ?? { type: "builtin" },
121
121
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
122
122
  features: { server: true, ...plugin.features }
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  pending: [...pending]
126
126
  };
127
127
  });
128
- var layer3 = Layer.effectDiscard(Effect.gen(function* () {
129
- const registry = yield* Service27;
130
- const sdk = yield* Service3;
131
- const instance = yield* Service2;
132
- const sources = yield* Service7;
133
- const modules = yield* make3();
134
- const bus = yield* Service83;
135
- const updates = yield* Service4;
128
+ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
129
+ const registry = yield* Service34;
130
+ const sdk = yield* Service5;
131
+ const instance = yield* Service6;
132
+ const sources = yield* Service4;
133
+ const modules = yield* make4();
134
+ const bus = yield* Service81;
135
+ const updates = yield* Service7;
136
136
  const internal = yield* list2();
137
137
  let release = yield* registry.hold();
138
138
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -207,14 +207,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
207
207
  })), Effect.forkScoped({ startImmediately: true }));
208
208
  }));
209
209
  var nodeDeps = [
210
- node18,
211
- node4,
212
- node3,
210
+ node25,
211
+ node7,
213
212
  node8,
214
- node5,
215
- node87,
213
+ node6,
214
+ node9,
215
+ node85,
216
216
  Npm.node,
217
- node50,
217
+ node51,
218
218
  requirements2
219
219
  ];
220
220
  function pluginSource(target) {
@@ -222,6 +222,6 @@ function pluginSource(target) {
222
222
  return { type: "local", path: target };
223
223
  return { type: "package", target };
224
224
  }
225
- var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
225
+ var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
226
226
 
227
- export { layer3, node2, exports_supervisor };
227
+ export { layer4, node5, exports_supervisor };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./command-2a5m3afh.js";
5
+ } from "./models-dev-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./command-9rqn6x4v.js";
8
+ } from "./models-dev-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./command-qnc92qwc.js";
3
+ } from "./models-dev-qnc92qwc.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./command-h2b79v29.js";
6
+ } from "./models-dev-h2b79v29.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service78
3
- } from "./command-edajgpnh.js";
2
+ Service77
3
+ } from "./models-dev-tfyyarmg.js";
4
4
  import {
5
- Service43
6
- } from "./command-m9bwhd6g.js";
5
+ Service54
6
+ } from "./models-dev-9nccr2nz.js";
7
7
  import {
8
- Service39,
8
+ Service20,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./command-q43fwr5x.js";
11
+ } from "./models-dev-q18332b7.js";
12
12
  import {
13
- Service41
14
- } from "./command-04jjrec1.js";
13
+ Service19
14
+ } from "./models-dev-44b5mvgm.js";
15
15
  import {
16
- Service65
17
- } from "./command-kenkf5s7.js";
16
+ Service63
17
+ } from "./models-dev-b0w1x349.js";
18
18
  import {
19
- Service37,
19
+ Service13,
20
20
  resolvePath2
21
- } from "./command-r0wedrkd.js";
21
+ } from "./models-dev-p3bfjnb3.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./command-6prwharc.js";
24
+ } from "./models-dev-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./command-9rqn6x4v.js";
27
+ } from "./models-dev-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
@@ -32,7 +32,7 @@ __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
33
  Input: () => Input10,
34
34
  Output: () => Output7,
35
- Plugin: () => Plugin47,
35
+ Plugin: () => Plugin12,
36
36
  name: () => name10
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
@@ -103,15 +103,15 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin47 = {
106
+ var Plugin12 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service37;
110
- const fileMutation = yield* Service39;
111
- const environment = yield* Service43;
112
- const formatter = yield* Service41;
113
- const location = yield* Service78;
114
- const permission = yield* Service65;
109
+ const access = yield* Service13;
110
+ const fileMutation = yield* Service20;
111
+ const environment = yield* Service54;
112
+ const formatter = yield* Service19;
113
+ const location = yield* Service77;
114
+ const permission = yield* Service63;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
116
  name: name10,
117
117
  options: { codemode: false, permission: "edit" },
@@ -194,4 +194,4 @@ var Plugin47 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name10, Input10, Output7, Plugin47, exports_edit };
197
+ export { name10, Input10, Output7, Plugin12, exports_edit };