@opencode/core 0.0.0-dev-21821 → 0.0.0-dev-21824

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 (807) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{state-r2y2r2h5.js → model-resolver-0ak2zsy7.js} +10 -10
  8. package/dist/chunks/{state-503es954.js → model-resolver-0b24q0cx.js} +16 -16
  9. package/dist/chunks/{state-49xna53c.js → model-resolver-0jc0zze9.js} +9 -9
  10. package/dist/chunks/{state-jrwc8w57.js → model-resolver-0mpqe4g5.js} +14 -14
  11. package/dist/chunks/{state-b7jmvbzq.js → model-resolver-0z2x41ky.js} +17 -17
  12. package/dist/chunks/{state-exhg2pyt.js → model-resolver-10efznhb.js} +13 -13
  13. package/dist/chunks/{state-4k1t9mxy.js → model-resolver-10pb4aek.js} +13 -13
  14. package/dist/chunks/{state-49chts1v.js → model-resolver-11y6r1g0.js} +20 -20
  15. package/dist/chunks/{state-tv6f3a3e.js → model-resolver-12vp2fj6.js} +21 -21
  16. package/dist/chunks/{state-hy8c1z76.js → model-resolver-160yv0cs.js} +8 -8
  17. package/dist/chunks/{state-2pqdxqk3.js → model-resolver-1bcx7d2f.js} +8 -8
  18. package/dist/chunks/{state-yjdnphb5.js → model-resolver-1s53h09z.js} +17 -17
  19. package/dist/chunks/{state-tr3b758d.js → model-resolver-1sbnnat1.js} +15 -15
  20. package/dist/chunks/{state-gtxfg6p1.js → model-resolver-1t4kmtd0.js} +11 -11
  21. package/dist/chunks/{state-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{state-nqykckqs.js → model-resolver-1y1rj8zc.js} +28 -28
  23. package/dist/chunks/{state-5ez0dp37.js → model-resolver-228bjbav.js} +2 -2
  24. package/dist/chunks/{state-1ep2p91f.js → model-resolver-27w5k9zf.js} +2 -2
  25. package/dist/chunks/{state-fw65n7rt.js → model-resolver-29twwrpw.js} +19 -19
  26. package/dist/chunks/{state-m1w08pzq.js → model-resolver-2nasskxr.js} +35 -35
  27. package/dist/chunks/{state-ggp1yva8.js → model-resolver-2t8c4xp2.js} +8 -8
  28. package/dist/chunks/{state-2z1j29yd.js → model-resolver-2z1j29yd.js} +1 -1
  29. package/dist/chunks/{state-w87973gh.js → model-resolver-33fvch51.js} +1 -1
  30. package/dist/chunks/{state-s4fqh25a.js → model-resolver-39teg3wn.js} +28 -28
  31. package/dist/chunks/{state-ayjs7tqn.js → model-resolver-3cbjf1nt.js} +2 -2
  32. package/dist/chunks/{state-hdnjkj1d.js → model-resolver-3d1a3cpa.js} +19 -19
  33. package/dist/chunks/{state-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{state-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
  35. package/dist/chunks/{state-ce5fknq2.js → model-resolver-3tt1qkhr.js} +5 -5
  36. package/dist/chunks/{state-jjx6aha5.js → model-resolver-3wyhrqfb.js} +8 -8
  37. package/dist/chunks/{state-6avyng2x.js → model-resolver-3x2erv17.js} +6 -6
  38. package/dist/chunks/{state-40za9wsf.js → model-resolver-40za9wsf.js} +2 -2
  39. package/dist/chunks/{state-c5stsejj.js → model-resolver-418q3ycz.js} +56 -56
  40. package/dist/chunks/{state-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
  41. package/dist/chunks/{state-zap846dn.js → model-resolver-4wb8q865.js} +27 -27
  42. package/dist/chunks/{state-4xvmh7wp.js → model-resolver-4xvmh7wp.js} +3 -3
  43. package/dist/chunks/{state-gtz18rwj.js → model-resolver-5cy8hwkn.js} +19 -19
  44. package/dist/chunks/{state-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  45. package/dist/chunks/{state-st147jaz.js → model-resolver-5nb7nmf0.js} +13 -13
  46. package/dist/chunks/{state-4kpnky1c.js → model-resolver-5nbxbk6s.js} +10 -10
  47. package/dist/chunks/{state-hvwvq3df.js → model-resolver-5r72z9dp.js} +5 -5
  48. package/dist/chunks/{state-mpd21h1g.js → model-resolver-5wcnt0wa.js} +9 -9
  49. package/dist/chunks/{state-4eknyzsm.js → model-resolver-5znn373e.js} +3 -3
  50. package/dist/chunks/{state-p7vhpwh8.js → model-resolver-5zrxpy3q.js} +5 -5
  51. package/dist/chunks/{state-4awm4drz.js → model-resolver-5zwkbtbg.js} +12 -12
  52. package/dist/chunks/{state-61ennm6n.js → model-resolver-61ennm6n.js} +1 -1
  53. package/dist/chunks/{state-adc3yk6d.js → model-resolver-61fq8ets.js} +20 -20
  54. package/dist/chunks/{state-qgrec3y3.js → model-resolver-630f2syh.js} +41 -41
  55. package/dist/chunks/{state-5t1vec6f.js → model-resolver-63ye1ehg.js} +10 -10
  56. package/dist/chunks/{state-rfhngetd.js → model-resolver-65q1a8c2.js} +2 -2
  57. package/dist/chunks/{state-dta660tg.js → model-resolver-69z9tmq3.js} +11 -11
  58. package/dist/chunks/{state-94q7ag8d.js → model-resolver-6ejkr8wa.js} +23 -23
  59. package/dist/chunks/{state-6esdw8yj.js → model-resolver-6esdw8yj.js} +1 -1
  60. package/dist/chunks/{state-j9e6sx0d.js → model-resolver-6jm5dfm3.js} +9 -9
  61. package/dist/chunks/{state-80jbgczm.js → model-resolver-6k9kp4xt.js} +16 -16
  62. package/dist/chunks/{state-6pjqjmy2.js → model-resolver-6pjqjmy2.js} +1 -1
  63. package/dist/chunks/{state-76cb1hcw.js → model-resolver-76cb1hcw.js} +1 -1
  64. package/dist/chunks/{state-2rqvw2mf.js → model-resolver-78dab631.js} +32 -32
  65. package/dist/chunks/{state-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{state-2ppa869z.js → model-resolver-7eq1vvbj.js} +10 -10
  67. package/dist/chunks/{state-8371pj2x.js → model-resolver-7j9fhv60.js} +6 -6
  68. package/dist/chunks/{state-jvnvsvj6.js → model-resolver-7jehd3qf.js} +15 -15
  69. package/dist/chunks/{state-wc8m166b.js → model-resolver-7jtzgymz.js} +2 -2
  70. package/dist/chunks/{state-4349p72q.js → model-resolver-7m6e6bj4.js} +46 -46
  71. package/dist/chunks/{state-c8gsdbv5.js → model-resolver-7nbsn3c1.js} +11 -11
  72. package/dist/chunks/{state-p5k0b6xz.js → model-resolver-7qnz14k0.js} +42 -42
  73. package/dist/chunks/{state-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
  74. package/dist/chunks/{state-dad9fjtp.js → model-resolver-7whwbhx2.js} +2 -2
  75. package/dist/chunks/model-resolver-7ydrh6n0.js +517 -0
  76. package/dist/chunks/{state-wh4zer6t.js → model-resolver-803gsyg1.js} +21 -21
  77. package/dist/chunks/{state-0zn7pq1y.js → model-resolver-82ja67e9.js} +8 -8
  78. package/dist/chunks/{state-weh1a0nb.js → model-resolver-83w2q382.js} +30 -30
  79. package/dist/chunks/{state-bktwhx9z.js → model-resolver-86cab14v.js} +18 -18
  80. package/dist/chunks/{state-0czbrqz1.js → model-resolver-8eyz045r.js} +47 -47
  81. package/dist/chunks/{state-vnxcbc78.js → model-resolver-8h7ezeqv.js} +5 -5
  82. package/dist/chunks/{state-xbhwtc00.js → model-resolver-8j00d0n5.js} +12 -12
  83. package/dist/chunks/{state-ady00g1q.js → model-resolver-8kqcsjtz.js} +14 -14
  84. package/dist/chunks/{state-rddythdj.js → model-resolver-8m56m6bs.js} +13 -13
  85. package/dist/chunks/{state-80e17k03.js → model-resolver-8qhr1qgv.js} +15 -15
  86. package/dist/chunks/{state-xemekp33.js → model-resolver-8sktcs9h.js} +4 -4
  87. package/dist/chunks/{state-3dsdetck.js → model-resolver-8t76f5pn.js} +6 -6
  88. package/dist/chunks/{state-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
  89. package/dist/chunks/{state-pjwfm23k.js → model-resolver-8y5hzfxe.js} +11 -11
  90. package/dist/chunks/{state-91rj84md.js → model-resolver-91rj84md.js} +1 -1
  91. package/dist/chunks/{state-p02wxyye.js → model-resolver-9bp57grk.js} +52 -52
  92. package/dist/chunks/{state-9cx9sm2q.js → model-resolver-9cx9sm2q.js} +1 -1
  93. package/dist/chunks/{state-vyzzfsct.js → model-resolver-9hpb6mzf.js} +15 -15
  94. package/dist/chunks/{state-sf02nxf4.js → model-resolver-af84d9dx.js} +13 -13
  95. package/dist/chunks/{state-szcgc7h4.js → model-resolver-afmnpta1.js} +5 -5
  96. package/dist/chunks/{state-wfrb9j0d.js → model-resolver-afwwx8by.js} +15 -15
  97. package/dist/chunks/{state-hb48s5x4.js → model-resolver-ah5t8643.js} +29 -29
  98. package/dist/chunks/{state-034tev2y.js → model-resolver-aj7mw0zk.js} +2 -2
  99. package/dist/chunks/{state-ncs6r1yk.js → model-resolver-akea24pr.js} +18 -18
  100. package/dist/chunks/{state-12k1n0af.js → model-resolver-asn1derg.js} +14 -14
  101. package/dist/chunks/{state-81jtk0d4.js → model-resolver-atw6zx0t.js} +30 -30
  102. package/dist/chunks/{state-b0mv4wxm.js → model-resolver-b0mv4wxm.js} +2 -2
  103. package/dist/chunks/{state-9bgr5st8.js → model-resolver-b45qxgvc.js} +11 -11
  104. package/dist/chunks/{state-g3azxf0z.js → model-resolver-b53a2435.js} +18 -18
  105. package/dist/chunks/{state-b6vsg801.js → model-resolver-b6vsg801.js} +2 -2
  106. package/dist/chunks/{state-4q1b57yv.js → model-resolver-bf131yvm.js} +4 -4
  107. package/dist/chunks/model-resolver-bnarqm09.js +261 -0
  108. package/dist/chunks/{state-sjc7ghj1.js → model-resolver-bqqm0g8t.js} +6 -6
  109. package/dist/chunks/{state-bstexjd6.js → model-resolver-bstexjd6.js} +1 -1
  110. package/dist/chunks/{state-ya7cyy7h.js → model-resolver-bt2mfhwt.js} +5 -5
  111. package/dist/chunks/{state-73sjrw23.js → model-resolver-bx5t9whz.js} +23 -23
  112. package/dist/chunks/model-resolver-bzdg4g04.js +26 -0
  113. package/dist/chunks/{state-8zstk8sy.js → model-resolver-c4ryf7as.js} +28 -28
  114. package/dist/chunks/{state-efrp7n2x.js → model-resolver-c7sh4d0v.js} +11 -11
  115. package/dist/chunks/{state-963r0pdn.js → model-resolver-c8j7dx8q.js} +11 -11
  116. package/dist/chunks/{state-rercxft0.js → model-resolver-c9k0snj5.js} +27 -27
  117. package/dist/chunks/{state-ssfehs1z.js → model-resolver-c9t2ty9q.js} +4 -4
  118. package/dist/chunks/{state-vcckamen.js → model-resolver-ccftg0qn.js} +24 -24
  119. package/dist/chunks/{state-4nw1g1b0.js → model-resolver-chmj2sz0.js} +17 -17
  120. package/dist/chunks/{state-k0jqhfwc.js → model-resolver-d3774dqa.js} +18 -18
  121. package/dist/chunks/{state-d4v9tmah.js → model-resolver-d4v9tmah.js} +2 -2
  122. package/dist/chunks/{state-yc5f64c4.js → model-resolver-d599j5f6.js} +5 -5
  123. package/dist/chunks/{state-hjqfsptq.js → model-resolver-daht94gm.js} +1 -1
  124. package/dist/chunks/{state-yee4tpcm.js → model-resolver-dat5z7dd.js} +19 -19
  125. package/dist/chunks/{state-hq40j3p6.js → model-resolver-db579ykn.js} +52 -47
  126. package/dist/chunks/{state-k8m6h63c.js → model-resolver-dczsttdk.js} +9 -9
  127. package/dist/chunks/{state-emxrw28n.js → model-resolver-deqbajdy.js} +1 -1
  128. package/dist/chunks/{state-998yhzzq.js → model-resolver-dvj9ct8m.js} +3 -3
  129. package/dist/chunks/{state-mj0wev1x.js → model-resolver-e2ne77ac.js} +2 -2
  130. package/dist/chunks/{state-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
  131. package/dist/chunks/{state-e834z07m.js → model-resolver-e834z07m.js} +1 -1
  132. package/dist/chunks/{state-xhqtt1yk.js → model-resolver-ec0dmxm2.js} +8 -8
  133. package/dist/chunks/{state-w9w8mt4n.js → model-resolver-emq6awqh.js} +4 -4
  134. package/dist/chunks/{state-3tmwm9va.js → model-resolver-esjvkzj3.js} +4 -4
  135. package/dist/chunks/{state-y24xrewf.js → model-resolver-ey1k9yry.js} +18 -18
  136. package/dist/chunks/{state-0me3cbze.js → model-resolver-f2sxmxc4.js} +37 -37
  137. package/dist/chunks/{state-2v7qkbf0.js → model-resolver-f6fgqg68.js} +24 -24
  138. package/dist/chunks/{state-f9aw19jy.js → model-resolver-f6tpkka6.js} +12 -12
  139. package/dist/chunks/{state-mdn8gtgh.js → model-resolver-f7g3fwn3.js} +24 -24
  140. package/dist/chunks/{state-bha90fza.js → model-resolver-fa91c1bh.js} +29 -29
  141. package/dist/chunks/{state-rvpcsj93.js → model-resolver-fcj36fpe.js} +21 -21
  142. package/dist/chunks/{state-7qcnp0x1.js → model-resolver-fe77ttzw.js} +11 -11
  143. package/dist/chunks/{state-pbrfva61.js → model-resolver-ffcdgexk.js} +8 -8
  144. package/dist/chunks/{state-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
  145. package/dist/chunks/{state-rcsw1nba.js → model-resolver-fkj6e9em.js} +29 -29
  146. package/dist/chunks/{state-hta0w01s.js → model-resolver-frqrgtcd.js} +151 -151
  147. package/dist/chunks/{state-gmbrqcch.js → model-resolver-fvqqv4et.js} +21 -21
  148. package/dist/chunks/{state-s81f7mnr.js → model-resolver-fxkq0y0b.js} +23 -23
  149. package/dist/chunks/{state-44asjrm9.js → model-resolver-g1bhyb56.js} +8 -8
  150. package/dist/chunks/{state-g5h9c0rr.js → model-resolver-g5h9c0rr.js} +2 -2
  151. package/dist/chunks/{state-9zkm52pa.js → model-resolver-g6jpb364.js} +32 -32
  152. package/dist/chunks/{state-06w9ffrv.js → model-resolver-g7esga4v.js} +4 -4
  153. package/dist/chunks/{state-rpazx2zk.js → model-resolver-gds3y6dw.js} +7 -7
  154. package/dist/chunks/{state-1c10trcx.js → model-resolver-gr17tpj8.js} +21 -21
  155. package/dist/chunks/{state-15n1g7v8.js → model-resolver-gzqxm82s.js} +10 -10
  156. package/dist/chunks/{state-8csxm7jm.js → model-resolver-h2dp6rby.js} +9 -9
  157. package/dist/chunks/{state-hdfrs5mg.js → model-resolver-hdfrs5mg.js} +2 -2
  158. package/dist/chunks/{state-33rsf8jw.js → model-resolver-hdjrjngx.js} +32 -32
  159. package/dist/chunks/{state-adchpjjx.js → model-resolver-hjg8p6dt.js} +18 -18
  160. package/dist/chunks/{state-gdb2frqz.js → model-resolver-hm3czf85.js} +1 -1
  161. package/dist/chunks/{state-ceyjc8ge.js → model-resolver-hvan4r9d.js} +21 -21
  162. package/dist/chunks/{state-c4970w7t.js → model-resolver-hvvf9qw8.js} +6 -6
  163. package/dist/chunks/{state-evc2jewf.js → model-resolver-hwcbxmjp.js} +13 -13
  164. package/dist/chunks/{state-7va89kx5.js → model-resolver-hy3y5vxb.js} +11 -11
  165. package/dist/chunks/{state-n1qenrmb.js → model-resolver-hz3jmkcm.js} +3 -3
  166. package/dist/chunks/{state-mzbswx4t.js → model-resolver-hzrfc1p4.js} +3 -3
  167. package/dist/chunks/{state-j113cymg.js → model-resolver-j113cymg.js} +1 -1
  168. package/dist/chunks/{state-w1dt9w7y.js → model-resolver-j2fby693.js} +13 -13
  169. package/dist/chunks/{state-d4ba0d7d.js → model-resolver-j2sak5a4.js} +11 -11
  170. package/dist/chunks/{state-ta944qmn.js → model-resolver-j6c6q1qg.js} +35 -35
  171. package/dist/chunks/{state-vj4r112x.js → model-resolver-j7ztxdyv.js} +18 -18
  172. package/dist/chunks/{state-qxq90j3e.js → model-resolver-jctb9d8a.js} +6 -6
  173. package/dist/chunks/model-resolver-jztn5z23.js +18 -0
  174. package/dist/chunks/{state-e07q2w5p.js → model-resolver-k17y3afg.js} +6 -6
  175. package/dist/chunks/{state-k814nvkf.js → model-resolver-k814nvkf.js} +1 -1
  176. package/dist/chunks/{state-5bbtdh0c.js → model-resolver-kf9wr7tw.js} +24 -24
  177. package/dist/chunks/{state-w6p76wxk.js → model-resolver-kmam2x31.js} +12 -12
  178. package/dist/chunks/{state-4xa8m40g.js → model-resolver-ksez1xmc.js} +21 -21
  179. package/dist/chunks/{state-kt3bjfbg.js → model-resolver-kt3bjfbg.js} +1 -1
  180. package/dist/chunks/{state-06nwrmf6.js → model-resolver-kxkntq3g.js} +8 -8
  181. package/dist/chunks/{state-m1714858.js → model-resolver-m1714858.js} +1 -1
  182. package/dist/chunks/{state-m4cs48c6.js → model-resolver-m3xvpryp.js} +50 -50
  183. package/dist/chunks/{state-pr30wrsr.js → model-resolver-m5regarp.js} +3 -3
  184. package/dist/chunks/{state-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{state-jefw9j3y.js → model-resolver-masd7ga8.js} +4 -4
  186. package/dist/chunks/{state-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
  187. package/dist/chunks/{state-g3kbmw45.js → model-resolver-mb2fjdtf.js} +33 -33
  188. package/dist/chunks/{state-w04hajkc.js → model-resolver-me7kxg3j.js} +8 -8
  189. package/dist/chunks/{state-djjzzs3c.js → model-resolver-mn53dk4j.js} +3 -3
  190. package/dist/chunks/{state-0gcad0bv.js → model-resolver-mna4ccr2.js} +6 -6
  191. package/dist/chunks/{state-h1ps7867.js → model-resolver-mpz4w9bp.js} +18 -18
  192. package/dist/chunks/{state-aev3k5yp.js → model-resolver-mqawjeef.js} +12 -12
  193. package/dist/chunks/{state-0af46afc.js → model-resolver-ms888k1z.js} +9 -9
  194. package/dist/chunks/{state-acqd5mw7.js → model-resolver-msntj4bj.js} +12 -12
  195. package/dist/chunks/{state-771e9tr6.js → model-resolver-mzkm9t0w.js} +3 -3
  196. package/dist/chunks/{state-nah043kf.js → model-resolver-nah043kf.js} +1 -1
  197. package/dist/chunks/{state-5x6g3p31.js → model-resolver-nkhqptws.js} +23 -23
  198. package/dist/chunks/{state-q8ydsxx6.js → model-resolver-nphq4awb.js} +7 -7
  199. package/dist/chunks/{state-70bbkc3v.js → model-resolver-nr4h8hhe.js} +3 -3
  200. package/dist/chunks/{state-bfs9yhh1.js → model-resolver-nwf2p7qx.js} +21 -21
  201. package/dist/chunks/{state-30b52wnj.js → model-resolver-nxh2s6jf.js} +23 -23
  202. package/dist/chunks/{state-p015t6z3.js → model-resolver-p015t6z3.js} +2 -2
  203. package/dist/chunks/{state-4vmx2553.js → model-resolver-p5hnaym9.js} +33 -33
  204. package/dist/chunks/{state-77xnrh6j.js → model-resolver-pch3hz0d.js} +4 -4
  205. package/dist/chunks/{state-jt25wn2n.js → model-resolver-pg8q45fa.js} +7 -7
  206. package/dist/chunks/{state-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  207. package/dist/chunks/{state-cypkeheb.js → model-resolver-pp4ewjef.js} +15 -15
  208. package/dist/chunks/{state-87s5319w.js → model-resolver-pqwj4rse.js} +9 -9
  209. package/dist/chunks/{state-hqncm972.js → model-resolver-pzp2gaxy.js} +11 -11
  210. package/dist/chunks/{state-4c4w8c1g.js → model-resolver-q25re44e.js} +3 -3
  211. package/dist/chunks/{state-90c15hge.js → model-resolver-q5bt1w9a.js} +11 -11
  212. package/dist/chunks/{state-r67xb15b.js → model-resolver-q8rfhkjm.js} +2 -2
  213. package/dist/chunks/{state-gnqjpr12.js → model-resolver-qckrz8jc.js} +3 -3
  214. package/dist/chunks/{state-x4pq83ar.js → model-resolver-qdr526kf.js} +3 -3
  215. package/dist/chunks/{state-gvr1nqb0.js → model-resolver-qk22s80r.js} +14 -14
  216. package/dist/chunks/{state-4z26ga1z.js → model-resolver-qvakvk9r.js} +19 -19
  217. package/dist/chunks/{state-mqcadzqw.js → model-resolver-qvw98tg0.js} +5 -5
  218. package/dist/chunks/{state-qyq8h28g.js → model-resolver-qyq8h28g.js} +1 -1
  219. package/dist/chunks/{state-r0yr0wbs.js → model-resolver-r0yr0wbs.js} +1 -1
  220. package/dist/chunks/{state-51j4br5n.js → model-resolver-r31y8xxz.js} +28 -28
  221. package/dist/chunks/{state-r542h3bh.js → model-resolver-r542h3bh.js} +1 -1
  222. package/dist/chunks/{state-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{state-scz350ws.js → model-resolver-rckcvcrm.js} +22 -22
  224. package/dist/chunks/{state-q52p07dj.js → model-resolver-rcpyc0ca.js} +5 -5
  225. package/dist/chunks/{state-ygmx28v3.js → model-resolver-rejxp4z0.js} +24 -24
  226. package/dist/chunks/{state-amh70zsf.js → model-resolver-rgj5zy3t.js} +45 -45
  227. package/dist/chunks/{state-ygjj23b0.js → model-resolver-rqs3weq5.js} +8 -8
  228. package/dist/chunks/{state-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
  229. package/dist/chunks/{state-ch4a6gtw.js → model-resolver-rxrz6b15.js} +2 -2
  230. package/dist/chunks/{state-b945bzec.js → model-resolver-rypfym0z.js} +14 -14
  231. package/dist/chunks/{state-tmt05c3b.js → model-resolver-rzgd3z9h.js} +11 -11
  232. package/dist/chunks/{state-y79xrw0m.js → model-resolver-s6ttgfdk.js} +21 -21
  233. package/dist/chunks/{state-h54749ae.js → model-resolver-s7hdmqvc.js} +7 -7
  234. package/dist/chunks/{state-tm5er3st.js → model-resolver-s8m3mb5a.js} +13 -13
  235. package/dist/chunks/{state-sa3fpqfw.js → model-resolver-sa3fpqfw.js} +2 -2
  236. package/dist/chunks/{state-xt3e85c7.js → model-resolver-scz2dc1h.js} +13 -13
  237. package/dist/chunks/{state-y9dcbvc0.js → model-resolver-smcjsr17.js} +11 -11
  238. package/dist/chunks/{state-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
  239. package/dist/chunks/{state-fa13985z.js → model-resolver-t2tc5r6d.js} +6 -6
  240. package/dist/chunks/{state-j02e2ssa.js → model-resolver-tb5m0pzj.js} +29 -29
  241. package/dist/chunks/{state-e9rg68ej.js → model-resolver-tbtqmx60.js} +2 -2
  242. package/dist/chunks/{state-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
  243. package/dist/chunks/{state-ew0y3ary.js → model-resolver-tsp66mz8.js} +38 -38
  244. package/dist/chunks/{state-twv2r8f4.js → model-resolver-twv2r8f4.js} +2 -2
  245. package/dist/chunks/{state-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
  246. package/dist/chunks/{state-vyycp0en.js → model-resolver-v842z5bm.js} +4 -4
  247. package/dist/chunks/{state-ptmtz89k.js → model-resolver-vcx0q4qn.js} +27 -27
  248. package/dist/chunks/{state-rt6z3ksq.js → model-resolver-vcx56sb0.js} +6 -6
  249. package/dist/chunks/{state-vd3b3yk9.js → model-resolver-vd3b3yk9.js} +1 -1
  250. package/dist/chunks/{state-wttyt2c5.js → model-resolver-vdasrjze.js} +26 -26
  251. package/dist/chunks/{state-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  252. package/dist/chunks/{state-vgk61ywp.js → model-resolver-vgk61ywp.js} +2 -2
  253. package/dist/chunks/{state-q6n1xzyn.js → model-resolver-vjqpxba6.js} +87 -87
  254. package/dist/chunks/{state-972xsrgc.js → model-resolver-vkkqkfme.js} +14 -14
  255. package/dist/chunks/{state-vrcsa8qx.js → model-resolver-vrcsa8qx.js} +2 -2
  256. package/dist/chunks/{state-d7fjdp3y.js → model-resolver-w362tghn.js} +22 -22
  257. package/dist/chunks/{state-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{state-ay9v92pn.js → model-resolver-w72ah3vp.js} +4 -4
  259. package/dist/chunks/{state-zxyxvdmp.js → model-resolver-w7c0w3yt.js} +18 -18
  260. package/dist/chunks/{state-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
  261. package/dist/chunks/{state-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  262. package/dist/chunks/{state-992fen1c.js → model-resolver-we45g5b8.js} +47 -47
  263. package/dist/chunks/{state-q5wyhmvf.js → model-resolver-wp39e252.js} +19 -19
  264. package/dist/chunks/{state-wr3re1en.js → model-resolver-wr3re1en.js} +1 -1
  265. package/dist/chunks/{state-br0kkpnn.js → model-resolver-wtgq8nqm.js} +4 -4
  266. package/dist/chunks/{state-h7wan55b.js → model-resolver-wz387nhs.js} +14 -14
  267. package/dist/chunks/{state-x4dm9tkt.js → model-resolver-x1fxt013.js} +15 -15
  268. package/dist/chunks/{state-rdrpd67x.js → model-resolver-x3t9xer4.js} +7 -7
  269. package/dist/chunks/{state-mwta5nj0.js → model-resolver-x5xqqq2t.js} +4 -4
  270. package/dist/chunks/{state-x8nvjgx0.js → model-resolver-x8nvjgx0.js} +1 -1
  271. package/dist/chunks/{state-54kk5jnt.js → model-resolver-xaj9bxpr.js} +29 -29
  272. package/dist/chunks/{state-dzff6n8n.js → model-resolver-xge113x8.js} +8 -8
  273. package/dist/chunks/{state-fhr2s1er.js → model-resolver-xgzatw4h.js} +15 -15
  274. package/dist/chunks/{state-gp8afgt9.js → model-resolver-xhrj57em.js} +26 -26
  275. package/dist/chunks/{state-0cwttbeb.js → model-resolver-xk05dnhf.js} +17 -17
  276. package/dist/chunks/{state-1arg9991.js → model-resolver-xp82r058.js} +11 -11
  277. package/dist/chunks/{state-f0kzxy20.js → model-resolver-xrqjfmtn.js} +29 -29
  278. package/dist/chunks/{state-2kxtsxrk.js → model-resolver-xw34nzzk.js} +3 -3
  279. package/dist/chunks/{state-qg5qwe27.js → model-resolver-xy47wren.js} +92 -92
  280. package/dist/chunks/{state-h3b857xk.js → model-resolver-y00x4xpa.js} +4 -4
  281. package/dist/chunks/{state-gfjw3g11.js → model-resolver-y2rsaeas.js} +42 -42
  282. package/dist/chunks/{state-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
  283. package/dist/chunks/{state-jfeae8gq.js → model-resolver-ym4mb7j3.js} +11 -11
  284. package/dist/chunks/{state-n8emybve.js → model-resolver-ywa96x82.js} +11 -11
  285. package/dist/chunks/{state-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{state-z38nccrw.js → model-resolver-z38nccrw.js} +1 -1
  287. package/dist/chunks/{state-dyf500ns.js → model-resolver-z799v63j.js} +26 -26
  288. package/dist/chunks/{state-h5tcmygr.js → model-resolver-z8gatmq1.js} +39 -39
  289. package/dist/chunks/{state-4p9b4r2p.js → model-resolver-z9cvf2rv.js} +16 -16
  290. package/dist/chunks/{state-qkreem8c.js → model-resolver-zbs8468w.js} +75 -75
  291. package/dist/chunks/{state-zkg84ctx.js → model-resolver-zkg84ctx.js} +1 -1
  292. package/dist/chunks/{state-kbdzx3mw.js → model-resolver-zskq6z57.js} +12 -12
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +87 -87
  299. package/dist/config/integration.js +5 -5
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +104 -104
  302. package/dist/config/plugin/agent.js +118 -118
  303. package/dist/config/plugin/command.js +214 -214
  304. package/dist/config/plugin/compaction.js +157 -157
  305. package/dist/config/plugin/compatibility.js +137 -137
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +119 -119
  308. package/dist/config/plugin/image.js +118 -118
  309. package/dist/config/plugin/instruction.js +118 -118
  310. package/dist/config/plugin/location-watcher.js +118 -118
  311. package/dist/config/plugin/mcp.js +125 -125
  312. package/dist/config/plugin/policy.js +120 -120
  313. package/dist/config/plugin/provider.js +119 -119
  314. package/dist/config/plugin/reference.js +120 -120
  315. package/dist/config/plugin/shell.js +120 -120
  316. package/dist/config/plugin/skill-file.js +107 -107
  317. package/dist/config/plugin/skill-scan.js +1 -1
  318. package/dist/config/plugin/skill.js +140 -140
  319. package/dist/config/plugin/snapshot.js +118 -118
  320. package/dist/config/plugin/source.js +121 -121
  321. package/dist/config/plugin/tool-output.js +119 -119
  322. package/dist/config/plugin/websearch.js +119 -119
  323. package/dist/config/plugin/worktree.js +120 -120
  324. package/dist/config/variable.js +1 -1
  325. package/dist/config/watch.js +1 -1
  326. package/dist/config.js +123 -123
  327. package/dist/console-access.js +1 -1
  328. package/dist/credential/sql.js +2 -2
  329. package/dist/credential.js +81 -81
  330. package/dist/database/database.js +74 -74
  331. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  332. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  333. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  334. package/dist/database/drizzle/index.js +13 -13
  335. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  338. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  343. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  345. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  346. package/dist/database/drizzle.js +14 -14
  347. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  348. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  349. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  350. package/dist/database/migration/20260225215848_workspace.js +1 -1
  351. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  352. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  353. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  354. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  355. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  356. package/dist/database/migration/20260323234822_events.js +1 -1
  357. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  358. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  359. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  360. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  361. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  362. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  363. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  364. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  365. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  366. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  367. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  368. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  369. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  370. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  371. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  372. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  373. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  374. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  375. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  376. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  377. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  378. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  379. package/dist/database/migration/20260611035744_credential.js +1 -1
  380. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  381. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  382. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  383. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  384. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  385. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  386. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  387. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  388. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  389. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  390. package/dist/database/migration/20260812213948_worktree.js +1 -1
  391. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  392. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  393. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  394. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  395. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  396. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  397. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  398. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  399. package/dist/database/migration.gen.js +53 -53
  400. package/dist/database/migration.js +55 -55
  401. package/dist/database/path.js +2 -2
  402. package/dist/database/schema.gen.js +1 -1
  403. package/dist/database/schema.sql.js +1 -1
  404. package/dist/database/sqlite.bun.js +1 -1
  405. package/dist/database/sqlite.js +1 -1
  406. package/dist/database/sqlite.node.js +1 -1
  407. package/dist/database/sqlite.workerd.js +1 -1
  408. package/dist/database/v1-migration.bun.js +93 -93
  409. package/dist/database/v1-migration.js +1 -1
  410. package/dist/effect/app-node-builder.js +376 -376
  411. package/dist/effect/app-node-platform.js +2 -2
  412. package/dist/effect/keyed-mutex.js +1 -1
  413. package/dist/effect/websocket-constructor.js +1 -1
  414. package/dist/environment/driver.js +1 -1
  415. package/dist/environment/environment.js +98 -98
  416. package/dist/environment/exec-defaults.js +2 -2
  417. package/dist/environment/files.js +1 -1
  418. package/dist/environment/index.js +100 -100
  419. package/dist/environment/local.js +2 -2
  420. package/dist/environment/memory.js +2 -2
  421. package/dist/environment/unavailable.js +1 -1
  422. package/dist/event/sql.js +1 -1
  423. package/dist/event-logger.js +78 -78
  424. package/dist/file-access.js +109 -109
  425. package/dist/file-mutation.js +99 -99
  426. package/dist/file-retention.js +1 -1
  427. package/dist/filesystem/fff.bun.js +2 -2
  428. package/dist/filesystem/fff.js +1 -1
  429. package/dist/filesystem/fff.node.js +2 -2
  430. package/dist/filesystem/fff.workerd.js +2 -2
  431. package/dist/filesystem/location-watcher-policy.js +2 -2
  432. package/dist/filesystem/location-watcher.js +227 -227
  433. package/dist/filesystem/protected.js +1 -1
  434. package/dist/filesystem/search.js +104 -104
  435. package/dist/filesystem/watcher-binding.js +3 -3
  436. package/dist/filesystem/watcher.js +11 -11
  437. package/dist/filesystem.js +107 -107
  438. package/dist/form.js +78 -78
  439. package/dist/formatter/builtins.js +2 -2
  440. package/dist/formatter.js +92 -92
  441. package/dist/generate.js +110 -110
  442. package/dist/git.js +11 -11
  443. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  444. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  445. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  446. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  447. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  448. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  449. package/dist/github-copilot/copilot-provider.js +17 -17
  450. package/dist/github-copilot/models.js +104 -104
  451. package/dist/github-copilot/openai-compatible-error.js +1 -1
  452. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  453. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  454. package/dist/github-copilot/responses/openai-error.js +1 -1
  455. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  456. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  457. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  458. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  459. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  460. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  461. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  462. package/dist/image/photon.js +2 -2
  463. package/dist/image.js +6 -6
  464. package/dist/instance/service.js +5 -5
  465. package/dist/instance.js +367 -367
  466. package/dist/instruction-discovery.js +88 -88
  467. package/dist/instructions/builtins.js +92 -92
  468. package/dist/instructions/index.js +3 -3
  469. package/dist/integration/connection.js +1 -1
  470. package/dist/integration.js +85 -85
  471. package/dist/job.js +80 -80
  472. package/dist/kv/sql.js +2 -2
  473. package/dist/kv.js +77 -77
  474. package/dist/location-activity.js +161 -161
  475. package/dist/location-lifecycle.js +112 -112
  476. package/dist/location-service-map.js +91 -91
  477. package/dist/location-services.js +364 -364
  478. package/dist/location.js +86 -86
  479. package/dist/managed-policy.js +9 -9
  480. package/dist/mcp/client.js +97 -96
  481. package/dist/mcp/index.js +114 -114
  482. package/dist/mcp/instructions.js +143 -143
  483. package/dist/mcp/oauth.js +82 -82
  484. package/dist/mcp/socket-client.js +1 -1
  485. package/dist/mcp/stdio.js +95 -95
  486. package/dist/mime.js +1 -1
  487. package/dist/modal/models.js +104 -104
  488. package/dist/model-resolver.js +104 -104
  489. package/dist/model-retry.js +1 -1
  490. package/dist/model.js +103 -103
  491. package/dist/models-dev.js +112 -112
  492. package/dist/oauth/page.js +1 -1
  493. package/dist/permission/saved.js +86 -86
  494. package/dist/permission/sql.js +5 -5
  495. package/dist/permission.js +120 -120
  496. package/dist/persistent-pty/binary.bun.js +1 -1
  497. package/dist/persistent-pty/daemon.js +1 -1
  498. package/dist/persistent-pty/index.js +92 -92
  499. package/dist/persistent-pty/pty-binding.js +1 -1
  500. package/dist/persistent-pty.js +79 -79
  501. package/dist/plugin/agent.js +78 -78
  502. package/dist/plugin/command.js +105 -105
  503. package/dist/plugin/hooks.js +5 -5
  504. package/dist/plugin/host.js +222 -222
  505. package/dist/plugin/identity.js +5 -5
  506. package/dist/plugin/instance.js +5 -5
  507. package/dist/plugin/internal.js +337 -337
  508. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  509. package/dist/plugin/models-dev.js +101 -101
  510. package/dist/plugin/module.js +120 -120
  511. package/dist/plugin/optimize.js +2 -2
  512. package/dist/plugin/plan.js +107 -107
  513. package/dist/plugin/promise.js +1 -1
  514. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  515. package/dist/plugin/provider/azure.js +118 -118
  516. package/dist/plugin/provider/cerebras.js +1 -1
  517. package/dist/plugin/provider/chatgpt.js +118 -118
  518. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  519. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  520. package/dist/plugin/provider/cohere.js +2 -2
  521. package/dist/plugin/provider/configured.js +114 -114
  522. package/dist/plugin/provider/databricks.js +1 -1
  523. package/dist/plugin/provider/digitalocean.js +98 -98
  524. package/dist/plugin/provider/dynamic.js +2 -2
  525. package/dist/plugin/provider/factory.js +1 -1
  526. package/dist/plugin/provider/github-copilot.js +100 -100
  527. package/dist/plugin/provider/gitlab.js +98 -98
  528. package/dist/plugin/provider/google-vertex.js +115 -115
  529. package/dist/plugin/provider/kilo.js +1 -1
  530. package/dist/plugin/provider/llmgateway.js +82 -82
  531. package/dist/plugin/provider/lmstudio.js +127 -127
  532. package/dist/plugin/provider/local.js +124 -124
  533. package/dist/plugin/provider/modal.js +97 -97
  534. package/dist/plugin/provider/neon.js +1 -1
  535. package/dist/plugin/provider/nvidia.js +1 -1
  536. package/dist/plugin/provider/ollama.js +127 -127
  537. package/dist/plugin/provider/openai-context-caps.js +95 -95
  538. package/dist/plugin/provider/openai.js +118 -118
  539. package/dist/plugin/provider/opencode-legacy.js +103 -103
  540. package/dist/plugin/provider/opencode.js +124 -124
  541. package/dist/plugin/provider/openrouter.js +96 -96
  542. package/dist/plugin/provider/perplexity.js +2 -2
  543. package/dist/plugin/provider/poe.js +83 -83
  544. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  545. package/dist/plugin/provider/sap-ai-core.js +96 -96
  546. package/dist/plugin/provider/sdk-factory.js +1 -1
  547. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  548. package/dist/plugin/provider/vercel.js +95 -95
  549. package/dist/plugin/provider/vllm.js +125 -125
  550. package/dist/plugin/provider/xai.js +96 -96
  551. package/dist/plugin/provider/zenmux.js +1 -1
  552. package/dist/plugin/provider.js +175 -175
  553. package/dist/plugin/sdk.js +78 -78
  554. package/dist/plugin/service.js +3 -3
  555. package/dist/plugin/skill.js +134 -134
  556. package/dist/plugin/source-directory.js +1 -1
  557. package/dist/plugin/supervisor.js +356 -356
  558. package/dist/plugin/tool-input-repair.js +4 -4
  559. package/dist/plugin/update.js +4 -4
  560. package/dist/plugin/vcs/git.js +91 -91
  561. package/dist/plugin/vcs/hg.js +91 -91
  562. package/dist/plugin/verbosity.js +98 -98
  563. package/dist/plugin/warming.js +116 -116
  564. package/dist/plugin/websearch/exa.js +5 -5
  565. package/dist/plugin/websearch/firecrawl.js +6 -6
  566. package/dist/plugin/websearch/index.js +9 -9
  567. package/dist/plugin/websearch/mcp.js +2 -2
  568. package/dist/plugin/websearch/parallel.js +6 -6
  569. package/dist/plugin/websearch/tavily.js +4 -4
  570. package/dist/plugin/websearch/tinyfish.js +6 -6
  571. package/dist/plugin.js +231 -231
  572. package/dist/project/schema.js +2 -2
  573. package/dist/project/sql.js +4 -4
  574. package/dist/project.js +85 -85
  575. package/dist/provider.js +98 -98
  576. package/dist/pty/protocol.js +1 -1
  577. package/dist/pty/ticket.js +1 -1
  578. package/dist/pty.js +101 -101
  579. package/dist/reference/instructions.js +94 -94
  580. package/dist/reference.js +96 -96
  581. package/dist/repository-cache.js +86 -86
  582. package/dist/repository.js +1 -1
  583. package/dist/ripgrep/binary.js +2 -2
  584. package/dist/ripgrep.js +102 -102
  585. package/dist/rpc.js +91 -91
  586. package/dist/schema.js +1 -1
  587. package/dist/session/affinity.js +1 -1
  588. package/dist/session/command.js +78 -78
  589. package/dist/session/compaction.js +141 -141
  590. package/dist/session/context.js +167 -167
  591. package/dist/session/diff.js +93 -93
  592. package/dist/session/environment.js +5 -5
  593. package/dist/session/error.js +5 -5
  594. package/dist/session/event.js +1 -1
  595. package/dist/session/execution/restart.js +226 -226
  596. package/dist/session/execution.js +133 -133
  597. package/dist/session/generate.js +169 -169
  598. package/dist/session/history.js +15 -15
  599. package/dist/session/inbox.js +97 -97
  600. package/dist/session/info.js +3 -3
  601. package/dist/session/instruction-entry.js +83 -83
  602. package/dist/session/instruction-state.js +8 -8
  603. package/dist/session/instructions.js +102 -102
  604. package/dist/session/message-updater.js +2 -2
  605. package/dist/session/message.js +1 -1
  606. package/dist/session/model-request.js +125 -125
  607. package/dist/session/model-transport.js +9 -9
  608. package/dist/session/move.js +135 -135
  609. package/dist/session/projector.js +93 -93
  610. package/dist/session/prompt.js +110 -110
  611. package/dist/session/recent-text.js +1 -1
  612. package/dist/session/revert.js +99 -99
  613. package/dist/session/run-coordinator.js +3 -3
  614. package/dist/session/runner/index.js +3 -3
  615. package/dist/session/runner/llm.js +233 -233
  616. package/dist/session/runner/max-steps.js +1 -1
  617. package/dist/session/runner/model.js +105 -105
  618. package/dist/session/runner/publish-llm-event.js +118 -118
  619. package/dist/session/runner/retry.js +3 -3
  620. package/dist/session/runner/step.js +131 -131
  621. package/dist/session/runner/to-llm-message.js +14 -14
  622. package/dist/session/schema.js +5 -5
  623. package/dist/session/session.js +167 -167
  624. package/dist/session/shell.js +132 -132
  625. package/dist/session/skill.js +108 -108
  626. package/dist/session/sql.js +5 -5
  627. package/dist/session/stats.js +79 -79
  628. package/dist/session/store.js +89 -89
  629. package/dist/session/subagent-completion.js +1 -1
  630. package/dist/session/subagent-job.js +214 -214
  631. package/dist/session/system-prompt.js +3 -3
  632. package/dist/session/title.js +171 -171
  633. package/dist/session/to-session-error.js +117 -117
  634. package/dist/session/transfer.js +222 -222
  635. package/dist/session/usage.js +1 -1
  636. package/dist/session.js +218 -218
  637. package/dist/shell/parse.js +6 -6
  638. package/dist/shell/result.js +1 -1
  639. package/dist/shell/scan.js +1 -1
  640. package/dist/shell/select.js +9 -9
  641. package/dist/shell.js +134 -134
  642. package/dist/skill/discovery.js +2 -2
  643. package/dist/skill/instructions.js +112 -112
  644. package/dist/skill.js +119 -119
  645. package/dist/snapshot.js +98 -98
  646. package/dist/state.js +1 -1
  647. package/dist/tool/html-markdown.js +1 -1
  648. package/dist/tool/http-body.js +1 -1
  649. package/dist/tool/mcp.js +142 -142
  650. package/dist/tool/plugin/edit.js +123 -123
  651. package/dist/tool/plugin/file-diff.js +1 -1
  652. package/dist/tool/plugin/glob.js +125 -125
  653. package/dist/tool/plugin/grep.js +129 -129
  654. package/dist/tool/plugin/mcp-resource.js +129 -129
  655. package/dist/tool/plugin/opencode.js +114 -114
  656. package/dist/tool/plugin/patch.js +123 -123
  657. package/dist/tool/plugin/question.js +110 -110
  658. package/dist/tool/plugin/read.js +126 -126
  659. package/dist/tool/plugin/shell.js +219 -219
  660. package/dist/tool/plugin/skill.js +118 -118
  661. package/dist/tool/plugin/subagent.js +221 -221
  662. package/dist/tool/plugin/todo.js +138 -138
  663. package/dist/tool/plugin/webfetch.js +116 -116
  664. package/dist/tool/plugin/websearch.js +119 -119
  665. package/dist/tool/plugin/write.js +125 -125
  666. package/dist/tool/read-filesystem.js +107 -107
  667. package/dist/tool/runtime.js +1 -1
  668. package/dist/tool-output.js +7 -7
  669. package/dist/tool.js +14 -14
  670. package/dist/types/mcp/client.d.ts +2 -0
  671. package/dist/usage-limits.js +91 -91
  672. package/dist/util/error-summary.js +1 -1
  673. package/dist/util/git-executable.js +3 -3
  674. package/dist/util/lazy.js +1 -1
  675. package/dist/util/slug.js +1 -1
  676. package/dist/util/token.js +1 -1
  677. package/dist/util/which.js +1 -1
  678. package/dist/util/wildcard.js +1 -1
  679. package/dist/v1/config/agent.js +5 -5
  680. package/dist/v1/config/command.js +3 -3
  681. package/dist/v1/config/mcp.js +6 -6
  682. package/dist/v1/config/migrate.js +97 -97
  683. package/dist/v1/config/permission.js +7 -7
  684. package/dist/v1/config/plugin.js +3 -3
  685. package/dist/v1/config/provider-options.js +1 -1
  686. package/dist/v1/config/provider.js +4 -4
  687. package/dist/variant.js +96 -96
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +94 -94
  690. package/dist/voice.js +88 -88
  691. package/dist/websearch.js +88 -88
  692. package/dist/wellknown/plugin.js +80 -80
  693. package/dist/wellknown.js +81 -81
  694. package/dist/workspace/driver.js +7 -7
  695. package/dist/workspace/sql.js +1 -1
  696. package/dist/workspace.js +84 -84
  697. package/dist/worktree/directory.js +2 -2
  698. package/dist/worktree/git.js +11 -11
  699. package/dist/worktree/sql.js +5 -5
  700. package/dist/worktree/strategies.js +94 -94
  701. package/dist/worktree.js +103 -103
  702. package/package.json +8 -8
  703. package/dist/chunks/state-21kyany4.js +0 -261
  704. package/dist/chunks/state-28779zxv.js +0 -26
  705. package/dist/chunks/state-99dpys38.js +0 -517
  706. package/dist/chunks/state-a610t88q.js +0 -18
  707. /package/dist/chunks/{state-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  708. /package/dist/chunks/{state-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  709. /package/dist/chunks/{state-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  710. /package/dist/chunks/{state-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  711. /package/dist/chunks/{state-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{state-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{state-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  714. /package/dist/chunks/{state-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{state-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{state-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  717. /package/dist/chunks/{state-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{state-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{state-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{state-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{state-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{state-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{state-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  724. /package/dist/chunks/{state-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{state-5fjb7ams.js → model-resolver-5fjb7ams.js} +0 -0
  726. /package/dist/chunks/{state-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  727. /package/dist/chunks/{state-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  728. /package/dist/chunks/{state-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{state-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{state-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  731. /package/dist/chunks/{state-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  732. /package/dist/chunks/{state-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  733. /package/dist/chunks/{state-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  734. /package/dist/chunks/{state-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  735. /package/dist/chunks/{state-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{state-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{state-a058387c.js → model-resolver-a058387c.js} +0 -0
  738. /package/dist/chunks/{state-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  739. /package/dist/chunks/{state-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  740. /package/dist/chunks/{state-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  741. /package/dist/chunks/{state-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  742. /package/dist/chunks/{state-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  743. /package/dist/chunks/{state-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  744. /package/dist/chunks/{state-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  745. /package/dist/chunks/{state-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  746. /package/dist/chunks/{state-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
  747. /package/dist/chunks/{state-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  748. /package/dist/chunks/{state-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  749. /package/dist/chunks/{state-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  750. /package/dist/chunks/{state-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  751. /package/dist/chunks/{state-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  752. /package/dist/chunks/{state-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  753. /package/dist/chunks/{state-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  754. /package/dist/chunks/{state-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  755. /package/dist/chunks/{state-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  756. /package/dist/chunks/{state-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  757. /package/dist/chunks/{state-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  758. /package/dist/chunks/{state-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  759. /package/dist/chunks/{state-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  760. /package/dist/chunks/{state-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  761. /package/dist/chunks/{state-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  762. /package/dist/chunks/{state-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  763. /package/dist/chunks/{state-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  764. /package/dist/chunks/{state-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  765. /package/dist/chunks/{state-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  766. /package/dist/chunks/{state-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  767. /package/dist/chunks/{state-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  768. /package/dist/chunks/{state-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  769. /package/dist/chunks/{state-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  770. /package/dist/chunks/{state-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  771. /package/dist/chunks/{state-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  772. /package/dist/chunks/{state-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  773. /package/dist/chunks/{state-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  774. /package/dist/chunks/{state-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
  775. /package/dist/chunks/{state-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
  776. /package/dist/chunks/{state-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  777. /package/dist/chunks/{state-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  778. /package/dist/chunks/{state-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  779. /package/dist/chunks/{state-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  780. /package/dist/chunks/{state-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  781. /package/dist/chunks/{state-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  782. /package/dist/chunks/{state-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  783. /package/dist/chunks/{state-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
  784. /package/dist/chunks/{state-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  785. /package/dist/chunks/{state-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  786. /package/dist/chunks/{state-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  787. /package/dist/chunks/{state-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  788. /package/dist/chunks/{state-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  789. /package/dist/chunks/{state-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  790. /package/dist/chunks/{state-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  791. /package/dist/chunks/{state-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  792. /package/dist/chunks/{state-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  793. /package/dist/chunks/{state-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  794. /package/dist/chunks/{state-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  795. /package/dist/chunks/{state-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  796. /package/dist/chunks/{state-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  797. /package/dist/chunks/{state-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  798. /package/dist/chunks/{state-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
  799. /package/dist/chunks/{state-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  800. /package/dist/chunks/{state-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  801. /package/dist/chunks/{state-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  802. /package/dist/chunks/{state-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  803. /package/dist/chunks/{state-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  804. /package/dist/chunks/{state-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  805. /package/dist/chunks/{state-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  806. /package/dist/chunks/{state-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  807. /package/dist/chunks/{state-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service86,
4
- node90
5
- } from "./state-4p9b4r2p.js";
3
+ Service85,
4
+ node89
5
+ } from "./model-resolver-z9cvf2rv.js";
6
6
  import {
7
7
  __export
8
- } from "./state-9rqn6x4v.js";
8
+ } from "./model-resolver-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service5,
14
+ Service: () => Service4,
15
15
  Updated: () => Updated2,
16
- layer: () => layer4,
16
+ layer: () => layer5,
17
17
  node: () => node6
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service5 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service4 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer4 = Layer.effect(Service5, Effect.gen(function* () {
26
- const bus = yield* Service86;
25
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
26
+ const bus = yield* Service85;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service5.of({
29
+ return Service4.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node6 = makeGlobalNode({ service: Service5, layer: layer4, deps: [node90] });
36
+ var node6 = makeGlobalNode({ service: Service4, layer: layer5, deps: [node89] });
37
37
 
38
- export { Updated2, Service5, layer4, node6, exports_sdk };
38
+ export { Updated2, Service4, layer5, node6, exports_sdk };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  lazy2
3
- } from "./state-88xbtdfr.js";
3
+ } from "./model-resolver-88xbtdfr.js";
4
4
  import {
5
- load4
6
- } from "./state-5qd3pb7m.js";
5
+ load5
6
+ } from "./model-resolver-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./state-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Native: () => Native3,
15
- Service: () => Service63,
15
+ Service: () => Service52,
16
16
  Test: () => Test3,
17
17
  Watcher: () => exports_watcher,
18
- configured: () => configured10,
18
+ configured: () => configured7,
19
19
  hasNativeBinding: () => hasNativeBinding2,
20
- layer: () => layer26,
20
+ layer: () => layer20,
21
21
  nativeLayer: () => nativeLayer2,
22
- node: () => node67,
22
+ node: () => node54,
23
23
  testLayer: () => testLayer3
24
24
  });
25
25
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -31,7 +31,7 @@ import path from "path";
31
31
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
32
32
  var watcher = lazy2(() => {
33
33
  try {
34
- return createWrapper(load4());
34
+ return createWrapper(load5());
35
35
  } catch {
36
36
  return;
37
37
  }
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
49
49
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
50
50
  }
51
51
 
52
- class Service63 extends Context.Service()("@opencode/Watcher") {
52
+ class Service52 extends Context.Service()("@opencode/Watcher") {
53
53
  }
54
54
 
55
55
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
56
56
  }
57
- var layer26 = (options) => Layer.effect(Service63, Effect.gen(function* () {
57
+ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
58
58
  if (options?.enabled === false) {
59
- return Service63.of({ subscribe: () => Effect.succeed(Stream.empty) });
59
+ return Service52.of({ subscribe: () => Effect.succeed(Stream.empty) });
60
60
  }
61
61
  const native = yield* Native3;
62
62
  const watchers = yield* RcMap.make({
@@ -97,7 +97,7 @@ var layer26 = (options) => Layer.effect(Service63, Effect.gen(function* () {
97
97
  return Stream.fromSubscription(subscription);
98
98
  }));
99
99
  });
100
- return Service63.of({ subscribe });
100
+ return Service52.of({ subscribe });
101
101
  }));
102
102
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
103
103
  const subscriptions = [];
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
121
121
  };
122
122
  })
123
123
  });
124
- const context = yield* Layer.build(layer26().pipe(Layer.provide(Layer.succeed(Native3, native))));
124
+ const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
125
125
  const test = Test3.of({
126
- subscribe: Context.get(context, Service63).subscribe,
126
+ subscribe: Context.get(context, Service52).subscribe,
127
127
  emit: (update) => Effect.sync(() => {
128
128
  const target = path.resolve(update.path);
129
129
  active.forEach((matches, publish) => {
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
133
133
  }),
134
134
  subscriptions: () => Effect.sync(() => [...subscriptions])
135
135
  });
136
- return Context.empty().pipe(Context.add(Service63, test), Context.add(Test3, test));
136
+ return Context.empty().pipe(Context.add(Service52, test), Context.add(Test3, test));
137
137
  }));
138
138
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
139
139
  subscribe: (input) => {
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
156
156
  }
157
157
  }));
158
158
  var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
159
- function configured10(options) {
160
- return makeGlobalNode({ service: Service63, layer: layer26(options), deps: [nativeNode] });
159
+ function configured7(options) {
160
+ return makeGlobalNode({ service: Service52, layer: layer20(options), deps: [nativeNode] });
161
161
  }
162
- var node67 = configured10();
162
+ var node54 = configured7();
163
163
  function subscribeDirectory(native, backend, directory, ignore, publish) {
164
164
  if (!native || !backend) {
165
165
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
179
179
  }).pipe(Effect.as(undefined))));
180
180
  }
181
181
 
182
- export { hasNativeBinding2, Native3, Service63, Test3, layer26, testLayer3, nativeLayer2, configured10, node67, exports_watcher };
182
+ export { hasNativeBinding2, Native3, Service52, Test3, layer20, testLayer3, nativeLayer2, configured7, node54, exports_watcher };
@@ -1,50 +1,50 @@
1
1
  import {
2
2
  Service71
3
- } from "./state-g3azxf0z.js";
3
+ } from "./model-resolver-b53a2435.js";
4
4
  import {
5
5
  Ref2,
6
- Service73
7
- } from "./state-30b52wnj.js";
6
+ Service77
7
+ } from "./model-resolver-nxh2s6jf.js";
8
8
  import {
9
9
  latest2,
10
- Service62
11
- } from "./state-p5k0b6xz.js";
10
+ Service51
11
+ } from "./model-resolver-7qnz14k0.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./state-mzbswx4t.js";
14
+ } from "./model-resolver-hzrfc1p4.js";
15
15
  import {
16
- Service53
17
- } from "./state-gvr1nqb0.js";
16
+ Service62
17
+ } from "./model-resolver-qk22s80r.js";
18
18
  import {
19
19
  evaluate2,
20
- Service68
21
- } from "./state-m4cs48c6.js";
20
+ Service42
21
+ } from "./model-resolver-m3xvpryp.js";
22
22
  import {
23
- Service27
24
- } from "./state-qg5qwe27.js";
23
+ Service17
24
+ } from "./model-resolver-xy47wren.js";
25
25
  import {
26
26
  NO_TEXT2
27
- } from "./state-sqjzf8x2.js";
27
+ } from "./model-resolver-sqjzf8x2.js";
28
28
  import {
29
- Service11
30
- } from "./state-4z26ga1z.js";
29
+ Service8
30
+ } from "./model-resolver-qvakvk9r.js";
31
31
  import {
32
32
  __export
33
- } from "./state-9rqn6x4v.js";
33
+ } from "./model-resolver-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/subagent.ts
36
36
  var exports_subagent = {};
37
37
  __export(exports_subagent, {
38
- Input: () => Input7,
39
- Output: () => Output6,
40
- Plugin: () => Plugin43,
38
+ Input: () => Input4,
39
+ Output: () => Output3,
40
+ Plugin: () => Plugin20,
41
41
  SubagentTool: () => exports_subagent,
42
- description: () => description2,
43
- name: () => name7
42
+ description: () => description3,
43
+ name: () => name4
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai/effect";
46
46
  import { Effect, Predicate, Schema } from "effect";
47
- var name7 = "subagent";
47
+ var name4 = "subagent";
48
48
  var backgroundResult = (sessionID) => ({
49
49
  sessionID,
50
50
  status: "running",
@@ -55,7 +55,7 @@ var backgroundResult = (sessionID) => ({
55
55
  ].join(`
56
56
  `)
57
57
  });
58
- var Input7 = Schema.Struct({
58
+ var Input4 = Schema.Struct({
59
59
  agent: Schema.String.annotate({
60
60
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
61
61
  }),
@@ -71,12 +71,12 @@ var Input7 = Schema.Struct({
71
71
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
72
72
  })
73
73
  });
74
- var Output6 = Schema.Struct({
74
+ var Output3 = Schema.Struct({
75
75
  sessionID: SessionSchema2.ID,
76
76
  status: Schema.Literals(["completed", "running"]),
77
77
  output: Schema.String
78
78
  });
79
- var description2 = [
79
+ var description3 = [
80
80
  "Spawns an agent in a child session to work on the specified task.",
81
81
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
82
82
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -85,16 +85,16 @@ var description2 = [
85
85
  "Use background only for independent work that can run while you continue elsewhere."
86
86
  ].join(`
87
87
  `);
88
- var Plugin43 = {
88
+ var Plugin20 = {
89
89
  id: "opencode.tool.subagent",
90
90
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
91
- const sessions = yield* Service27;
92
- const jobs = yield* Service53;
91
+ const sessions = yield* Service17;
92
+ const jobs = yield* Service62;
93
93
  const agents = yield* Service71;
94
- const config = yield* Service62;
95
- const permission = yield* Service68;
96
- const models = yield* Service73;
97
- const subagents = yield* Service11;
94
+ const config = yield* Service51;
95
+ const permission = yield* Service42;
96
+ const models = yield* Service77;
97
+ const subagents = yield* Service8;
98
98
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
99
99
  const ref = yield* Effect.try({
100
100
  try: () => Ref2.parse(input),
@@ -114,11 +114,11 @@ var Plugin43 = {
114
114
  return ref;
115
115
  });
116
116
  yield* ctx.tool.transform((editor) => editor.add({
117
- name: name7,
117
+ name: name4,
118
118
  options: { codemode: false },
119
- description: description2,
120
- input: Input7,
121
- output: Output6,
119
+ description: description3,
120
+ input: Input4,
121
+ output: Output3,
122
122
  execute: (input, context) => Effect.gen(function* () {
123
123
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
124
124
  let current = parent;
@@ -138,7 +138,7 @@ var Plugin43 = {
138
138
  if (agent.mode === "primary")
139
139
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
140
140
  yield* permission.assert({
141
- action: name7,
141
+ action: name4,
142
142
  resources: [agent.id],
143
143
  save: [agent.id],
144
144
  sessionID: context.sessionID,
@@ -217,7 +217,7 @@ ${output.output}
217
217
  })))
218
218
  })).pipe(Effect.orDie);
219
219
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
220
- if (event.tool !== name7 || !Predicate.isObject(event.input))
220
+ if (event.tool !== name4 || !Predicate.isObject(event.input))
221
221
  return;
222
222
  if (event.input.model !== "" && event.input.sessionID !== "")
223
223
  return;
@@ -229,13 +229,13 @@ ${output.output}
229
229
  event.input = input;
230
230
  }));
231
231
  const hook = (event) => Effect.gen(function* () {
232
- const tool = event.tools[name7];
232
+ const tool = event.tools[name4];
233
233
  if (!tool)
234
234
  return;
235
235
  const selected = yield* agents.resolve(event.agent);
236
236
  if (!selected)
237
237
  return;
238
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
238
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
239
  if (available.length === 0)
240
240
  return;
241
241
  tool.description = [
@@ -252,4 +252,4 @@ ${output.output}
252
252
  })
253
253
  };
254
254
 
255
- export { name7, Input7, Output6, description2, Plugin43, exports_subagent };
255
+ export { name4, Input4, Output3, description3, Plugin20, exports_subagent };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service62
3
- } from "./state-p5k0b6xz.js";
2
+ Service51
3
+ } from "./model-resolver-7qnz14k0.js";
4
4
  import {
5
- Service39
6
- } from "./state-hq40j3p6.js";
5
+ Service26
6
+ } from "./model-resolver-db579ykn.js";
7
7
  import {
8
8
  __export
9
- } from "./state-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin25,
15
+ Plugin: () => Plugin37,
16
16
  register: () => register3
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin25 = define({
20
+ var Plugin37 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register3(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register3 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service62;
28
- const mcp = yield* Service39;
27
+ const config = yield* Service51;
28
+ const mcp = yield* Service26;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register3 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin25, register3, exports_mcp2 };
49
+ export { Plugin37, register3, exports_mcp2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  kept2
3
- } from "./state-v2r1d0zg.js";
3
+ } from "./model-resolver-v2r1d0zg.js";
4
4
  import {
5
5
  NativeWindow2
6
- } from "./state-2ppa869z.js";
6
+ } from "./model-resolver-7eq1vvbj.js";
7
7
 
8
8
  // src/session/runner/to-llm-message.ts
9
9
  import {
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
  import {
5
5
  Service83
6
- } from "./state-5ez0dp37.js";
6
+ } from "./model-resolver-228bjbav.js";
7
7
  import {
8
- Service62
9
- } from "./state-p5k0b6xz.js";
8
+ Service51
9
+ } from "./model-resolver-7qnz14k0.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./state-bha90fza.js";
13
+ } from "./model-resolver-fa91c1bh.js";
14
14
  import {
15
15
  observe2
16
- } from "./state-6pjqjmy2.js";
16
+ } from "./model-resolver-6pjqjmy2.js";
17
17
  import {
18
18
  __export
19
- } from "./state-9rqn6x4v.js";
19
+ } from "./model-resolver-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin34
25
+ Plugin: () => Plugin41
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin34 = define({
31
+ var Plugin41 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service62;
34
+ const config = yield* Service51;
35
35
  const location = yield* Service83;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin34, exports_reference };
75
+ export { Plugin41, exports_reference };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./state-61ennm6n.js";
3
+ } from "./model-resolver-61ennm6n.js";
4
4
  import {
5
- Service86
6
- } from "./state-4p9b4r2p.js";
5
+ Service85
6
+ } from "./model-resolver-z9cvf2rv.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event18
10
- } from "./state-0cwttbeb.js";
10
+ } from "./model-resolver-xk05dnhf.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./state-bfs9yhh1.js";
14
+ } from "./model-resolver-nwf2p7qx.js";
15
15
  import {
16
16
  ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service79
20
- } from "./state-gtz18rwj.js";
19
+ Service78
20
+ } from "./model-resolver-5cy8hwkn.js";
21
21
  import {
22
- ID11
23
- } from "./state-30b52wnj.js";
22
+ ID12
23
+ } from "./model-resolver-nxh2s6jf.js";
24
24
  import {
25
- load3,
26
- derive3
27
- } from "./state-b7jmvbzq.js";
25
+ load2,
26
+ derive2
27
+ } from "./model-resolver-0z2x41ky.js";
28
28
  import {
29
29
  useragent2
30
- } from "./state-c8gsdbv5.js";
30
+ } from "./model-resolver-7nbsn3c1.js";
31
31
  import {
32
- ID9
33
- } from "./state-g3azxf0z.js";
32
+ ID10
33
+ } from "./model-resolver-b53a2435.js";
34
34
  import {
35
35
  get5
36
- } from "./state-3nnrz6f6.js";
36
+ } from "./model-resolver-3nnrz6f6.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { isRecord } from "@opencode/ai/utils/record";
@@ -164,8 +164,8 @@ var oauth = (app) => ({
164
164
  var GithubCopilotPlugin2 = define({
165
165
  id: "opencode.provider.github.copilot",
166
166
  effect: Effect.fn(function* (ctx) {
167
- const providers = yield* Service79;
168
- const bus = yield* Service86;
167
+ const providers = yield* Service78;
168
+ const bus = yield* Service85;
169
169
  const loading = Semaphore.makeUnsafe(1);
170
170
  const loaded = {};
171
171
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -183,7 +183,7 @@ var GithubCopilotPlugin2 = define({
183
183
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
184
184
  const provider = yield* providers.get(ID13.githubCopilot);
185
185
  const remote = yield* Effect.tryPromise({
186
- try: () => load3(url, {
186
+ try: () => load2(url, {
187
187
  ...provider?.headers,
188
188
  Authorization: `Bearer ${credential.refresh}`,
189
189
  "User-Agent": useragent2(ctx.app),
@@ -209,7 +209,7 @@ var GithubCopilotPlugin2 = define({
209
209
  if (loaded.models) {
210
210
  evt.add({
211
211
  info: item.provider,
212
- models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
212
+ models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
213
213
  sourceConnection: loaded.connection
214
214
  });
215
215
  return;
@@ -231,8 +231,8 @@ var GithubCopilotPlugin2 = define({
231
231
  }
232
232
  });
233
233
  yield* ctx.model.transform((models) => {
234
- if (models.get(ID13.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
235
- models.update(ID13.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
234
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
235
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
236
236
  model.enabled = false;
237
237
  });
238
238
  }
@@ -266,7 +266,7 @@ var GithubCopilotPlugin2 = define({
266
266
  return;
267
267
  if (!loaded.baseURL || !loaded.token || !loaded.models)
268
268
  return;
269
- const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
269
+ const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
270
270
  return;
271
271
  }));
272
272
  if (agent?.data.model)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service51
3
- } from "./state-c4970w7t.js";
2
+ Service40
3
+ } from "./model-resolver-hvvf9qw8.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./state-a610t88q.js";
6
+ } from "./model-resolver-jztn5z23.js";
7
7
  import {
8
- Service54
9
- } from "./state-992fen1c.js";
8
+ Service48
9
+ } from "./model-resolver-we45g5b8.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./state-k814nvkf.js";
12
+ } from "./model-resolver-k814nvkf.js";
13
13
  import {
14
14
  __export
15
- } from "./state-9rqn6x4v.js";
15
+ } from "./model-resolver-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service51;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service54), instances.provide(input.session));
25
+ const instances = yield* Service40;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service48), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,