@opencode/core 0.0.0-dev-19311 → 0.0.0-dev-19312

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +69 -69
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{model-resolver-3y2vzd8j.js → instance-00mqm9kf.js} +1 -1
  9. package/dist/chunks/{model-resolver-qpt5r044.js → instance-01m43tcd.js} +6 -6
  10. package/dist/chunks/{model-resolver-hm085mrq.js → instance-02prr92s.js} +18 -18
  11. package/dist/chunks/{model-resolver-sath0g0v.js → instance-0fh0h7pk.js} +22 -22
  12. package/dist/chunks/{model-resolver-txf4gfjj.js → instance-0fkpnkf8.js} +55 -55
  13. package/dist/chunks/{model-resolver-1bs4t1p1.js → instance-0fmyca4z.js} +35 -35
  14. package/dist/chunks/{model-resolver-qgn6gcr1.js → instance-0jwsre1p.js} +5 -5
  15. package/dist/chunks/{model-resolver-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{model-resolver-0q0f95c6.js → instance-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{model-resolver-v03cbedv.js → instance-0tdqy1rc.js} +34 -34
  18. package/dist/chunks/{model-resolver-qvrt22yc.js → instance-0wyznna1.js} +148 -148
  19. package/dist/chunks/{model-resolver-5b8g7156.js → instance-0wzmrwkd.js} +19 -19
  20. package/dist/chunks/{model-resolver-vd56qj1s.js → instance-15gnn6as.js} +8 -8
  21. package/dist/chunks/{model-resolver-hg29js9c.js → instance-16aytt1n.js} +5 -5
  22. package/dist/chunks/{model-resolver-1dazxqgg.js → instance-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{model-resolver-0hpxrkyb.js → instance-1dfhrqqs.js} +5 -5
  24. package/dist/chunks/{model-resolver-mym5xwza.js → instance-1j6kaabx.js} +11 -11
  25. package/dist/chunks/{model-resolver-crvrtykq.js → instance-1q81et77.js} +17 -17
  26. package/dist/chunks/{model-resolver-smayg48v.js → instance-1rvhnqv5.js} +35 -35
  27. package/dist/chunks/{model-resolver-wk5z6jzv.js → instance-1tjg7tvh.js} +9 -9
  28. package/dist/chunks/{model-resolver-53kakmxw.js → instance-1vy6qrvb.js} +82 -82
  29. package/dist/chunks/instance-1x11rq2a.js +18 -0
  30. package/dist/chunks/{model-resolver-mfqp6xfm.js → instance-1ygqh575.js} +6 -6
  31. package/dist/chunks/{model-resolver-21r38tys.js → instance-21r38tys.js} +1 -1
  32. package/dist/chunks/{model-resolver-2a5m3afh.js → instance-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{model-resolver-m13kr8wx.js → instance-2aw5j9c6.js} +13 -13
  34. package/dist/chunks/{model-resolver-xse2fbac.js → instance-2bb7w9kh.js} +13 -13
  35. package/dist/chunks/{model-resolver-vyqn3nqs.js → instance-2y34zzjz.js} +4 -4
  36. package/dist/chunks/{model-resolver-v5p5jd5d.js → instance-3162azsb.js} +16 -16
  37. package/dist/chunks/{model-resolver-bzzsz1b8.js → instance-33dwjbkd.js} +11 -11
  38. package/dist/chunks/{model-resolver-gkjrds9h.js → instance-3c0qrp0f.js} +13 -13
  39. package/dist/chunks/{model-resolver-t294w80x.js → instance-3cwqxzyd.js} +27 -27
  40. package/dist/chunks/{model-resolver-tpqcq9ma.js → instance-3dfxe9v5.js} +30 -30
  41. package/dist/chunks/{model-resolver-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{model-resolver-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{model-resolver-2ekhvkds.js → instance-3pbjq009.js} +6 -6
  44. package/dist/chunks/{model-resolver-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{model-resolver-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{model-resolver-y1rdatpn.js → instance-3y6p9bpe.js} +30 -30
  47. package/dist/chunks/{model-resolver-qpp5wgcs.js → instance-4000ta01.js} +10 -10
  48. package/dist/chunks/{model-resolver-4am1wjpn.js → instance-4066mr2m.js} +1 -1
  49. package/dist/chunks/{model-resolver-a6y89zjg.js → instance-498gcqgt.js} +81 -81
  50. package/dist/chunks/{model-resolver-vazvxs3c.js → instance-4kmdsgf5.js} +10 -10
  51. package/dist/chunks/{model-resolver-ek34y162.js → instance-4wjenyrf.js} +5 -5
  52. package/dist/chunks/{model-resolver-7pvzsz6j.js → instance-50tjd5x0.js} +46 -46
  53. package/dist/chunks/{model-resolver-pkmavskt.js → instance-53x3k2qp.js} +4 -4
  54. package/dist/chunks/{model-resolver-pdc8edc9.js → instance-58gx7bcb.js} +25 -25
  55. package/dist/chunks/{model-resolver-5daktx2q.js → instance-5daktx2q.js} +1 -1
  56. package/dist/chunks/{model-resolver-fkvyrnmv.js → instance-5gadzevc.js} +2 -2
  57. package/dist/chunks/{model-resolver-t0x5rdq8.js → instance-5kptn8c0.js} +9 -9
  58. package/dist/chunks/{model-resolver-5t3nmthw.js → instance-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{model-resolver-5gvs0vy6.js → instance-60z2cpgg.js} +3 -3
  60. package/dist/chunks/{model-resolver-669tq793.js → instance-669tq793.js} +1 -1
  61. package/dist/chunks/{model-resolver-7htwxs73.js → instance-6bma3c50.js} +17 -17
  62. package/dist/chunks/{model-resolver-2402vzrj.js → instance-6h73sxmp.js} +5 -5
  63. package/dist/chunks/{model-resolver-6msgmcgs.js → instance-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{model-resolver-5a3e4t2e.js → instance-6p1mk903.js} +50 -50
  65. package/dist/chunks/{model-resolver-71q4at8m.js → instance-71q4at8m.js} +1 -1
  66. package/dist/chunks/{model-resolver-xzjqnjyt.js → instance-76myzc3f.js} +4 -4
  67. package/dist/chunks/{model-resolver-p905rm1f.js → instance-79r1wrqa.js} +1 -1
  68. package/dist/chunks/{model-resolver-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{model-resolver-qe26s0zb.js → instance-7m5f9412.js} +8 -8
  70. package/dist/chunks/{model-resolver-n95h4grp.js → instance-81k2kmnv.js} +15 -15
  71. package/dist/chunks/{model-resolver-awbdwcvp.js → instance-81swgkk7.js} +2 -2
  72. package/dist/chunks/{model-resolver-2gvahrj6.js → instance-85nckw6s.js} +9 -9
  73. package/dist/chunks/{model-resolver-8d7r5vzw.js → instance-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{model-resolver-23n5nc7p.js → instance-8f3y3fjc.js} +9 -9
  75. package/dist/chunks/{model-resolver-19aya85j.js → instance-8jpcqb93.js} +7 -7
  76. package/dist/chunks/{model-resolver-dj2t23y0.js → instance-8p4f9s12.js} +2 -2
  77. package/dist/chunks/{model-resolver-c68b4qab.js → instance-8pngxq2x.js} +10 -10
  78. package/dist/chunks/{model-resolver-ax70fxdt.js → instance-8qhww77c.js} +11 -11
  79. package/dist/chunks/{model-resolver-0v867qyd.js → instance-8ytfm0cx.js} +15 -15
  80. package/dist/chunks/{model-resolver-rz8cg23q.js → instance-947c2fz4.js} +33 -33
  81. package/dist/chunks/{model-resolver-2rw3mzdd.js → instance-9e5nbte5.js} +22 -22
  82. package/dist/chunks/{model-resolver-4sgjj86v.js → instance-9jdakqgh.js} +12 -12
  83. package/dist/chunks/{model-resolver-7g1znek2.js → instance-9kt49dv5.js} +4 -4
  84. package/dist/chunks/{model-resolver-gwgds8rz.js → instance-9zvjyx10.js} +23 -23
  85. package/dist/chunks/{model-resolver-5c4hm403.js → instance-a1bz86dw.js} +3 -3
  86. package/dist/chunks/{model-resolver-qja371g1.js → instance-a4cxjx0n.js} +18 -18
  87. package/dist/chunks/{model-resolver-2taagk0w.js → instance-a64ekrmv.js} +3 -3
  88. package/dist/chunks/{model-resolver-qqazqvjv.js → instance-a9r0cd7h.js} +11 -11
  89. package/dist/chunks/{model-resolver-aaet6srn.js → instance-aaet6srn.js} +2 -2
  90. package/dist/chunks/{model-resolver-3tkg1v6e.js → instance-aead911t.js} +21 -21
  91. package/dist/chunks/{model-resolver-rgst1ddg.js → instance-ah5t6eey.js} +11 -11
  92. package/dist/chunks/{model-resolver-6fb6cyfd.js → instance-akjy133e.js} +14 -14
  93. package/dist/chunks/{model-resolver-dj14fq5x.js → instance-avgac2hf.js} +15 -15
  94. package/dist/chunks/{model-resolver-qzt97rh9.js → instance-ax3qdz20.js} +33 -33
  95. package/dist/chunks/{model-resolver-b6gygkdw.js → instance-b6gygkdw.js} +2 -2
  96. package/dist/chunks/{model-resolver-dfe8djrf.js → instance-bct739vz.js} +4 -4
  97. package/dist/chunks/{model-resolver-y31b318c.js → instance-bha4atvq.js} +4 -4
  98. package/dist/chunks/{model-resolver-qnmw77rf.js → instance-bk92phqe.js} +5 -5
  99. package/dist/chunks/{model-resolver-eqhsskwv.js → instance-bzk45x5e.js} +4 -4
  100. package/dist/chunks/{model-resolver-cz2fjc0t.js → instance-c3kepfq8.js} +1 -1
  101. package/dist/chunks/instance-c6pebpj5.js +247 -0
  102. package/dist/chunks/{model-resolver-m0jqrx5p.js → instance-cfpkc3c9.js} +2 -2
  103. package/dist/chunks/{model-resolver-21gmtf5s.js → instance-cgd1k2r0.js} +17 -17
  104. package/dist/chunks/{model-resolver-7hd0m9s1.js → instance-cq53x2q6.js} +9 -9
  105. package/dist/chunks/{model-resolver-96jy3nrs.js → instance-cr3arcjg.js} +26 -26
  106. package/dist/chunks/{model-resolver-eez3sah5.js → instance-d94csp47.js} +26 -26
  107. package/dist/chunks/{model-resolver-jdh6s7jq.js → instance-dc76j9wz.js} +8 -8
  108. package/dist/chunks/{model-resolver-wbqy31zn.js → instance-dcj77ap2.js} +1 -1
  109. package/dist/chunks/{model-resolver-r1gq2p73.js → instance-dd8myhb5.js} +22 -22
  110. package/dist/chunks/{model-resolver-wtz344pq.js → instance-dk87e9as.js} +19 -19
  111. package/dist/chunks/{model-resolver-wzb930f5.js → instance-dqnm4g3a.js} +14 -14
  112. package/dist/chunks/{model-resolver-kbm5ywhv.js → instance-dv0zdqte.js} +28 -28
  113. package/dist/chunks/{model-resolver-rma5z0ck.js → instance-e0s0m8tm.js} +24 -24
  114. package/dist/chunks/{model-resolver-4tehx1tz.js → instance-e1kjazt8.js} +24 -24
  115. package/dist/chunks/{model-resolver-hjt4xg1x.js → instance-e82z9tr0.js} +7 -7
  116. package/dist/chunks/{model-resolver-s9yxznb6.js → instance-e9cy62py.js} +4 -4
  117. package/dist/chunks/{model-resolver-eaj1djv9.js → instance-eaj1djv9.js} +1 -1
  118. package/dist/chunks/{model-resolver-6jt15jam.js → instance-eeqcfs9e.js} +14 -14
  119. package/dist/chunks/{model-resolver-9yd8p6fr.js → instance-eh1hkw2t.js} +35 -35
  120. package/dist/chunks/{model-resolver-q5bwphvd.js → instance-ejt8n6vs.js} +15 -15
  121. package/dist/chunks/{model-resolver-nzwzy72p.js → instance-eq4db09p.js} +9 -9
  122. package/dist/chunks/{model-resolver-etq0c3wd.js → instance-etq0c3wd.js} +1 -1
  123. package/dist/chunks/{model-resolver-b1ajx0g1.js → instance-ezw0c3qh.js} +7 -7
  124. package/dist/chunks/{model-resolver-yp2x3t23.js → instance-f2n192rq.js} +4 -4
  125. package/dist/chunks/{model-resolver-f3ngv102.js → instance-f3ngv102.js} +1 -1
  126. package/dist/chunks/{model-resolver-hdnk95c8.js → instance-f828m53h.js} +2 -2
  127. package/dist/chunks/{model-resolver-fs30ryqv.js → instance-f8j8gcy8.js} +23 -23
  128. package/dist/chunks/{model-resolver-xmryvm6r.js → instance-fd5dxjst.js} +18 -18
  129. package/dist/chunks/{model-resolver-5reahhcp.js → instance-fdrxk5eh.js} +22 -22
  130. package/dist/chunks/{model-resolver-81rrwt6s.js → instance-ff0htmxq.js} +6 -6
  131. package/dist/chunks/{model-resolver-a9b9x376.js → instance-fncmky5k.js} +7 -7
  132. package/dist/chunks/{model-resolver-jfcm55kc.js → instance-ftqydj17.js} +10 -10
  133. package/dist/chunks/{model-resolver-sfzmaz10.js → instance-fw2hnj19.js} +17 -17
  134. package/dist/chunks/{model-resolver-fxbjtjnd.js → instance-fxbjtjnd.js} +1 -1
  135. package/dist/chunks/{model-resolver-51k0a2ck.js → instance-fypqkx2y.js} +38 -38
  136. package/dist/chunks/{model-resolver-aaxaqk19.js → instance-fzz1ppzm.js} +4 -4
  137. package/dist/chunks/{model-resolver-a71pjsc9.js → instance-g4qa8rgv.js} +18 -18
  138. package/dist/chunks/{model-resolver-np146xf0.js → instance-g88n7je5.js} +13 -13
  139. package/dist/chunks/{model-resolver-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{model-resolver-ma48de29.js → instance-gebtr55s.js} +5 -5
  141. package/dist/chunks/{model-resolver-px1hepbq.js → instance-gsx0ryk4.js} +9 -9
  142. package/dist/chunks/{model-resolver-acsehg7c.js → instance-gzq8gx27.js} +22 -22
  143. package/dist/chunks/{model-resolver-h03wrkyp.js → instance-h03wrkyp.js} +2 -2
  144. package/dist/chunks/{model-resolver-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
  145. package/dist/chunks/{model-resolver-d6axdhgm.js → instance-hfkm0xqc.js} +43 -43
  146. package/dist/chunks/{model-resolver-j7wqg36k.js → instance-hgk2hpch.js} +11 -11
  147. package/dist/chunks/{model-resolver-y6wtm4ga.js → instance-hjkq1yva.js} +13 -13
  148. package/dist/chunks/{model-resolver-vj4a8mq6.js → instance-hm0vq5pv.js} +3 -3
  149. package/dist/chunks/{model-resolver-cqnjb978.js → instance-hskvv487.js} +29 -29
  150. package/dist/chunks/{model-resolver-rzr29mjv.js → instance-hwh1rkay.js} +1 -1
  151. package/dist/chunks/{model-resolver-j15mfg1p.js → instance-j15mfg1p.js} +1 -1
  152. package/dist/chunks/{model-resolver-n6aetzp4.js → instance-j2m4m1t4.js} +40 -40
  153. package/dist/chunks/{model-resolver-j56e64zr.js → instance-j56e64zr.js} +1 -1
  154. package/dist/chunks/{model-resolver-v28yx9rk.js → instance-j5c3q8h5.js} +6 -6
  155. package/dist/chunks/{model-resolver-jrec0msh.js → instance-je42t0w9.js} +34 -34
  156. package/dist/chunks/{model-resolver-4f4xg237.js → instance-jj4bmggp.js} +10 -10
  157. package/dist/chunks/{model-resolver-13bj4jyc.js → instance-jjk7qn2b.js} +6 -6
  158. package/dist/chunks/{model-resolver-gmykmxzz.js → instance-jq2qsjbc.js} +14 -14
  159. package/dist/chunks/{model-resolver-ys435pyz.js → instance-jq8ys055.js} +9 -9
  160. package/dist/chunks/{model-resolver-2vs2nh1n.js → instance-jvf3yq6v.js} +4 -4
  161. package/dist/chunks/{model-resolver-3d05yrhf.js → instance-jx1r5ssp.js} +17 -17
  162. package/dist/chunks/{model-resolver-cm6p1s29.js → instance-jzqz1400.js} +20 -20
  163. package/dist/chunks/{model-resolver-6tdy5psv.js → instance-k2z98nwc.js} +24 -24
  164. package/dist/chunks/{model-resolver-yyw6y8kf.js → instance-k5hc94bg.js} +11 -11
  165. package/dist/chunks/{model-resolver-k7d0894y.js → instance-k7d0894y.js} +3 -3
  166. package/dist/chunks/{model-resolver-kg06axw8.js → instance-kg06axw8.js} +1 -1
  167. package/dist/chunks/{model-resolver-zsjw64s0.js → instance-kmv022h3.js} +1 -1
  168. package/dist/chunks/{model-resolver-y9ndmn06.js → instance-ktndeztc.js} +26 -26
  169. package/dist/chunks/{model-resolver-z6qgwyj5.js → instance-m12hp6p6.js} +3 -3
  170. package/dist/chunks/{model-resolver-868qdqs3.js → instance-m51efdwf.js} +11 -11
  171. package/dist/chunks/{model-resolver-pk6gzyws.js → instance-m5m2byhr.js} +22 -22
  172. package/dist/chunks/{model-resolver-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{model-resolver-j028xdjb.js → instance-mhkvc446.js} +3 -3
  174. package/dist/chunks/{model-resolver-mkcjrzeh.js → instance-mkcjrzeh.js} +1 -1
  175. package/dist/chunks/{model-resolver-k3drw8gy.js → instance-mscy8054.js} +11 -11
  176. package/dist/chunks/{model-resolver-7z7893y4.js → instance-mvevne1d.js} +9 -9
  177. package/dist/chunks/{model-resolver-4mq91456.js → instance-n1wztqq6.js} +2 -2
  178. package/dist/chunks/{model-resolver-c5m6q3p0.js → instance-n41t7tqk.js} +21 -21
  179. package/dist/chunks/{model-resolver-2gp30egj.js → instance-n4dpz9gx.js} +4 -4
  180. package/dist/chunks/{model-resolver-1r3p2k7g.js → instance-nb6xeg3e.js} +24 -24
  181. package/dist/chunks/{model-resolver-9wc31ee9.js → instance-nd0sb1nf.js} +9 -9
  182. package/dist/chunks/{model-resolver-d4bs6nh8.js → instance-nfv8fav6.js} +31 -31
  183. package/dist/chunks/{model-resolver-z3bd92a5.js → instance-nq2fgdnn.js} +24 -24
  184. package/dist/chunks/{model-resolver-76yzkxkp.js → instance-p0p3027a.js} +23 -23
  185. package/dist/chunks/{model-resolver-8ns0hvns.js → instance-p0qtp96g.js} +29 -29
  186. package/dist/chunks/{model-resolver-bhj4y43k.js → instance-p44d8wdy.js} +5 -5
  187. package/dist/chunks/{model-resolver-xjvpf4s6.js → instance-p4eg0sk5.js} +8 -8
  188. package/dist/chunks/{model-resolver-n93cvmfp.js → instance-p64wmhee.js} +33 -33
  189. package/dist/chunks/{model-resolver-p72z5xx6.js → instance-p72z5xx6.js} +2 -2
  190. package/dist/chunks/{model-resolver-9cbpths4.js → instance-penyehcw.js} +22 -22
  191. package/dist/chunks/{model-resolver-z7h0bx9a.js → instance-pew7ynfp.js} +15 -15
  192. package/dist/chunks/{model-resolver-xv77w4m4.js → instance-pjbxazhx.js} +21 -21
  193. package/dist/chunks/{model-resolver-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{model-resolver-pknna89w.js → instance-pknna89w.js} +1 -1
  195. package/dist/chunks/{model-resolver-gmnw41t9.js → instance-pkvxpfqr.js} +22 -22
  196. package/dist/chunks/{model-resolver-0jmjzee4.js → instance-pmar23ha.js} +15 -15
  197. package/dist/chunks/{model-resolver-w0cebxam.js → instance-q04dv65n.js} +6 -6
  198. package/dist/chunks/{model-resolver-983ft7s8.js → instance-q0pbtp0k.js} +9 -9
  199. package/dist/chunks/{model-resolver-gsv4ca8f.js → instance-q47s3gkn.js} +41 -41
  200. package/dist/chunks/{model-resolver-bd9nqr2t.js → instance-qcfsefxz.js} +5 -5
  201. package/dist/chunks/{model-resolver-0hxph87b.js → instance-qfp8jhvv.js} +11 -11
  202. package/dist/chunks/{model-resolver-jh3mr9fx.js → instance-qk6tq941.js} +4 -4
  203. package/dist/chunks/{model-resolver-dp2desqw.js → instance-qqrhxv6c.js} +22 -22
  204. package/dist/chunks/{model-resolver-qsdy395h.js → instance-qsdy395h.js} +1 -1
  205. package/dist/chunks/{model-resolver-fnb1tm2q.js → instance-qy5as2cw.js} +5 -5
  206. package/dist/chunks/{model-resolver-b3xbanpc.js → instance-rb9420nd.js} +8 -8
  207. package/dist/chunks/{model-resolver-w79zsp0s.js → instance-rfnzy394.js} +1 -1
  208. package/dist/chunks/{model-resolver-4sp1fpdf.js → instance-rh63tm4e.js} +14 -14
  209. package/dist/chunks/{model-resolver-snxhrb6z.js → instance-rz0qknjf.js} +5 -5
  210. package/dist/chunks/{model-resolver-cmj3wvnf.js → instance-rzsfqk7r.js} +18 -18
  211. package/dist/chunks/{model-resolver-daem90sq.js → instance-s11dp4cj.js} +44 -44
  212. package/dist/chunks/{model-resolver-7aa1cj5w.js → instance-s216njt5.js} +9 -9
  213. package/dist/chunks/instance-s3jy48p4.js +462 -0
  214. package/dist/chunks/{model-resolver-cdqe3acw.js → instance-s4anq1bw.js} +6 -6
  215. package/dist/chunks/{model-resolver-0sawsjns.js → instance-s9d0w252.js} +16 -16
  216. package/dist/chunks/{model-resolver-c0qy3m8p.js → instance-sgmah1tz.js} +15 -15
  217. package/dist/chunks/{model-resolver-fyymr9xg.js → instance-shh6fz4q.js} +4 -4
  218. package/dist/chunks/{model-resolver-v22jagvy.js → instance-smefw2pd.js} +11 -11
  219. package/dist/chunks/{model-resolver-8485p8c8.js → instance-stc7m7tv.js} +22 -22
  220. package/dist/chunks/{model-resolver-k8aynvez.js → instance-sy1rfask.js} +10 -10
  221. package/dist/chunks/{model-resolver-dy83786h.js → instance-szm1m0zv.js} +19 -19
  222. package/dist/chunks/{model-resolver-ez47arx5.js → instance-t0fxg8b9.js} +5 -5
  223. package/dist/chunks/{model-resolver-6hh8tjw2.js → instance-t2fc4mz5.js} +4 -4
  224. package/dist/chunks/{model-resolver-c1g6mvbq.js → instance-t69nnh3p.js} +6 -6
  225. package/dist/chunks/{model-resolver-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{model-resolver-tcezcvh9.js → instance-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{model-resolver-tdstcens.js → instance-tdstcens.js} +1 -1
  228. package/dist/chunks/{model-resolver-yyb7tjpc.js → instance-th5km1p3.js} +5 -5
  229. package/dist/chunks/{model-resolver-vxcpq89m.js → instance-ttjyywkc.js} +8 -8
  230. package/dist/chunks/{model-resolver-k8m05cxs.js → instance-tvm9pjcv.js} +16 -16
  231. package/dist/chunks/{model-resolver-tvtrv512.js → instance-tvtrv512.js} +1 -1
  232. package/dist/chunks/{model-resolver-p07p7dxg.js → instance-tvyjn9ew.js} +16 -16
  233. package/dist/chunks/{model-resolver-9t2yae5y.js → instance-v376vfgk.js} +8 -8
  234. package/dist/chunks/{model-resolver-ajztzy0x.js → instance-v3hh4rxq.js} +11 -11
  235. package/dist/chunks/{model-resolver-veqvce7d.js → instance-veqvce7d.js} +1 -1
  236. package/dist/chunks/{model-resolver-a3nnj4kk.js → instance-vg40sz7m.js} +46 -46
  237. package/dist/chunks/{model-resolver-m18gzt7g.js → instance-vwkptsq1.js} +30 -30
  238. package/dist/chunks/{model-resolver-vzcthcp8.js → instance-vzcthcp8.js} +1 -1
  239. package/dist/chunks/{model-resolver-paegk39x.js → instance-w1k39n5e.js} +4 -4
  240. package/dist/chunks/{model-resolver-bzvjbgc5.js → instance-w1w0h0f3.js} +15 -15
  241. package/dist/chunks/{model-resolver-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{model-resolver-wd87259q.js → instance-wd87259q.js} +1 -1
  243. package/dist/chunks/{model-resolver-35m6n0h8.js → instance-wexgdxw3.js} +9 -9
  244. package/dist/chunks/{model-resolver-nzcr7xy5.js → instance-wpk4n09p.js} +26 -26
  245. package/dist/chunks/{model-resolver-vs5zg3ka.js → instance-wqzt12sf.js} +9 -9
  246. package/dist/chunks/{model-resolver-ptbz0kzz.js → instance-wt8d0ad1.js} +20 -20
  247. package/dist/chunks/{model-resolver-nmrsa8tb.js → instance-wtkjyqjf.js} +21 -21
  248. package/dist/chunks/{model-resolver-70rhfn1p.js → instance-wyypj47g.js} +17 -17
  249. package/dist/chunks/{model-resolver-q15ghr61.js → instance-x0p4cgaw.js} +15 -15
  250. package/dist/chunks/{model-resolver-x1ezjp6w.js → instance-x1ezjp6w.js} +1 -1
  251. package/dist/chunks/{model-resolver-5xtgfte3.js → instance-x3et2xth.js} +4 -4
  252. package/dist/chunks/{model-resolver-x43y2vfs.js → instance-x43y2vfs.js} +2 -2
  253. package/dist/chunks/{model-resolver-fkjex2d7.js → instance-x6xh22k9.js} +35 -35
  254. package/dist/chunks/instance-xa73t4nm.js +22 -0
  255. package/dist/chunks/{model-resolver-rswbxkdz.js → instance-xdec0jgj.js} +18 -18
  256. package/dist/chunks/{model-resolver-dz4bsems.js → instance-xmsv29db.js} +6 -6
  257. package/dist/chunks/{model-resolver-v2p4rfxw.js → instance-xqrmy91b.js} +6 -6
  258. package/dist/chunks/{model-resolver-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
  259. package/dist/chunks/{model-resolver-y71avatq.js → instance-y71avatq.js} +1 -1
  260. package/dist/chunks/{model-resolver-1mtcg6ar.js → instance-y86t833z.js} +23 -23
  261. package/dist/chunks/{model-resolver-xpbmavdy.js → instance-ydgpny73.js} +68 -68
  262. package/dist/chunks/{model-resolver-v5hpcsb0.js → instance-yjptyezs.js} +5 -5
  263. package/dist/chunks/{model-resolver-h7gdqzd6.js → instance-yk2ak6d8.js} +6 -6
  264. package/dist/chunks/{model-resolver-yrhqyw5v.js → instance-yrhqyw5v.js} +1 -1
  265. package/dist/chunks/{model-resolver-yrznvahk.js → instance-yrznvahk.js} +2 -2
  266. package/dist/chunks/{model-resolver-7ptgkj9x.js → instance-ytkdpvbf.js} +30 -30
  267. package/dist/chunks/{model-resolver-94mafesx.js → instance-ytp6sm1e.js} +22 -22
  268. package/dist/chunks/{model-resolver-n7qdmp8m.js → instance-yxbx8b1t.js} +17 -17
  269. package/dist/chunks/{model-resolver-z6ccwhj9.js → instance-yz0abg76.js} +30 -30
  270. package/dist/chunks/{model-resolver-423zw90g.js → instance-z00pjy0h.js} +8 -8
  271. package/dist/chunks/{model-resolver-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
  272. package/dist/chunks/{model-resolver-bv56xrks.js → instance-z1f4gy9p.js} +8 -8
  273. package/dist/chunks/{model-resolver-x0e6qwje.js → instance-z5szsvcr.js} +13 -13
  274. package/dist/chunks/{model-resolver-z63w68vq.js → instance-z63w68vq.js} +2 -2
  275. package/dist/chunks/{model-resolver-h94x1q5y.js → instance-z7xj2rat.js} +3 -3
  276. package/dist/chunks/{model-resolver-hmyxjnbw.js → instance-z8db85t7.js} +13 -13
  277. package/dist/chunks/instance-z926abd4.js +4 -0
  278. package/dist/chunks/{model-resolver-r8er4w6q.js → instance-za6kma0e.js} +15 -15
  279. package/dist/chunks/{model-resolver-jzhcgjv7.js → instance-ze5ksjrg.js} +13 -13
  280. package/dist/chunks/{model-resolver-y397pytd.js → instance-ze5v0a14.js} +8 -8
  281. package/dist/chunks/{model-resolver-rq775frq.js → instance-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{model-resolver-sz79wj9p.js → instance-zj91daq9.js} +11 -11
  283. package/dist/chunks/{model-resolver-vn05ks9g.js → instance-zmbrasps.js} +11 -11
  284. package/dist/chunks/{model-resolver-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{model-resolver-0aq3bv6p.js → instance-ztj0rm6a.js} +24 -24
  286. package/dist/chunks/{model-resolver-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +79 -79
  291. package/dist/config/discovery.js +77 -77
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +117 -117
  295. package/dist/config/plugin/command.js +209 -209
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +115 -115
  300. package/dist/config/plugin/instruction.js +85 -85
  301. package/dist/config/plugin/location-watcher.js +115 -115
  302. package/dist/config/plugin/mcp.js +126 -126
  303. package/dist/config/plugin/policy.js +114 -114
  304. package/dist/config/plugin/provider.js +113 -113
  305. package/dist/config/plugin/reference.js +117 -117
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +97 -97
  308. package/dist/config/plugin/skill.js +136 -136
  309. package/dist/config/plugin/snapshot.js +115 -115
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +113 -113
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +81 -81
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration.gen.js +47 -47
  383. package/dist/database/migration.js +49 -49
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +77 -77
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +360 -360
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +88 -88
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +90 -90
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +68 -68
  407. package/dist/file-access.js +99 -99
  408. package/dist/file-mutation.js +89 -89
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.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/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +99 -99
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +96 -96
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +82 -82
  426. package/dist/generate.js +91 -91
  427. package/dist/git.js +7 -7
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +7 -7
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +352 -352
  452. package/dist/instruction-discovery.js +83 -83
  453. package/dist/instructions/builtins.js +82 -82
  454. package/dist/instructions/index.js +1 -1
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +86 -86
  457. package/dist/job.js +75 -75
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +71 -71
  460. package/dist/location-activity.js +130 -130
  461. package/dist/location-mutation.js +99 -99
  462. package/dist/location-service-map.js +83 -83
  463. package/dist/location-services.js +349 -349
  464. package/dist/location.js +80 -80
  465. package/dist/mcp/client.js +86 -86
  466. package/dist/mcp/index.js +103 -103
  467. package/dist/mcp/instructions.js +122 -122
  468. package/dist/mcp/oauth.js +3 -3
  469. package/dist/mcp/stdio.js +85 -85
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +7 -7
  472. package/dist/model-resolver.js +86 -86
  473. package/dist/model.js +10 -10
  474. package/dist/models-dev.js +86 -86
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +78 -78
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +94 -94
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +84 -84
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +73 -73
  484. package/dist/plugin/agent.js +99 -99
  485. package/dist/plugin/command.js +96 -96
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +213 -213
  488. package/dist/plugin/instance.js +3 -3
  489. package/dist/plugin/internal.js +323 -323
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +75 -75
  492. package/dist/plugin/module.js +5 -5
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +97 -97
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/alibaba.js +2 -2
  497. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  498. package/dist/plugin/provider/anthropic.js +2 -2
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +114 -114
  505. package/dist/plugin/provider/digitalocean.js +79 -79
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +80 -80
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/mistral.js +2 -2
  516. package/dist/plugin/provider/modal.js +79 -79
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +117 -117
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +80 -80
  521. package/dist/plugin/provider/opencode.js +76 -76
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +117 -117
  530. package/dist/plugin/provider/xai.js +77 -77
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +70 -70
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +133 -133
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +82 -82
  541. package/dist/plugin/vcs/hg.js +82 -82
  542. package/dist/plugin/warming.js +112 -112
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +79 -79
  553. package/dist/provider.js +5 -5
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +94 -94
  558. package/dist/reference/instructions.js +84 -84
  559. package/dist/reference.js +84 -84
  560. package/dist/repository-cache.js +76 -76
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +91 -91
  564. package/dist/rpc.js +81 -81
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +72 -72
  567. package/dist/session/compaction.js +127 -127
  568. package/dist/session/context.js +147 -147
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +3 -3
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +216 -216
  573. package/dist/session/execution.js +120 -120
  574. package/dist/session/generate.js +146 -146
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +82 -82
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +77 -77
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +92 -92
  581. package/dist/session/message-updater.js +4 -4
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +113 -113
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +126 -126
  586. package/dist/session/projector.js +84 -84
  587. package/dist/session/prompt.js +100 -100
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +85 -85
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +225 -225
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +86 -86
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +110 -110
  597. package/dist/session/runner/step.js +121 -121
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +1 -1
  600. package/dist/session/session.js +169 -169
  601. package/dist/session/shell.js +131 -131
  602. package/dist/session/skill.js +98 -98
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +73 -73
  605. package/dist/session/store.js +85 -85
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +205 -205
  608. package/dist/session/system-prompt.js +5 -5
  609. package/dist/session/title.js +151 -151
  610. package/dist/session/to-session-error.js +107 -107
  611. package/dist/session/transfer.js +213 -213
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +205 -205
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +11 -11
  618. package/dist/shell.js +133 -133
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +100 -100
  621. package/dist/skill.js +105 -105
  622. package/dist/snapshot.js +84 -84
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +121 -121
  627. package/dist/tool/plugin/edit.js +115 -115
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +116 -116
  630. package/dist/tool/plugin/grep.js +120 -120
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +117 -117
  633. package/dist/tool/plugin/question.js +98 -98
  634. package/dist/tool/plugin/read.js +119 -119
  635. package/dist/tool/plugin/shell.js +210 -210
  636. package/dist/tool/plugin/skill.js +106 -106
  637. package/dist/tool/plugin/subagent.js +214 -214
  638. package/dist/tool/plugin/webfetch.js +103 -103
  639. package/dist/tool/plugin/websearch.js +105 -105
  640. package/dist/tool/plugin/write.js +111 -111
  641. package/dist/tool/read-filesystem.js +96 -96
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +11 -11
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +3 -3
  656. package/dist/v1/config/config.js +14 -14
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +3 -3
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +1 -1
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +1 -1
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +85 -85
  672. package/dist/websearch.js +80 -80
  673. package/dist/wellknown/plugin.js +74 -74
  674. package/dist/wellknown.js +77 -77
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +78 -78
  678. package/dist/worktree/directory.js +4 -4
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +341 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +91 -91
  683. package/package.json +8 -8
  684. package/dist/chunks/model-resolver-0mesazry.js +0 -4
  685. package/dist/chunks/model-resolver-27ajfczk.js +0 -247
  686. package/dist/chunks/model-resolver-6nbzjb56.js +0 -462
  687. package/dist/chunks/model-resolver-rap9a73h.js +0 -18
  688. package/dist/chunks/model-resolver-z6nw9z3j.js +0 -22
  689. /package/dist/chunks/{model-resolver-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{model-resolver-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{model-resolver-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{model-resolver-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{model-resolver-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{model-resolver-2710q6r3.js → instance-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{model-resolver-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{model-resolver-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{model-resolver-2f04pwep.js → instance-2f04pwep.js} +0 -0
  698. /package/dist/chunks/{model-resolver-359p4xyc.js → instance-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{model-resolver-3asan66x.js → instance-3asan66x.js} +0 -0
  700. /package/dist/chunks/{model-resolver-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{model-resolver-3w5fmr99.js → instance-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{model-resolver-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{model-resolver-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{model-resolver-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{model-resolver-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{model-resolver-53557ph1.js → instance-53557ph1.js} +0 -0
  707. /package/dist/chunks/{model-resolver-550bvhaj.js → instance-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{model-resolver-6prwharc.js → instance-6prwharc.js} +0 -0
  709. /package/dist/chunks/{model-resolver-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{model-resolver-7m9af43g.js → instance-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{model-resolver-822emrt2.js → instance-822emrt2.js} +0 -0
  712. /package/dist/chunks/{model-resolver-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{model-resolver-8n3pysct.js → instance-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{model-resolver-922hggd3.js → instance-922hggd3.js} +0 -0
  715. /package/dist/chunks/{model-resolver-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{model-resolver-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{model-resolver-a1tpkmh4.js → instance-a1tpkmh4.js} +0 -0
  718. /package/dist/chunks/{model-resolver-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{model-resolver-af5trqkr.js → instance-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{model-resolver-afrmfg78.js → instance-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{model-resolver-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{model-resolver-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{model-resolver-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{model-resolver-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{model-resolver-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{model-resolver-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{model-resolver-d9fn303g.js → instance-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{model-resolver-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{model-resolver-dajrwvna.js → instance-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{model-resolver-dap0rakb.js → instance-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{model-resolver-df08tz66.js → instance-df08tz66.js} +0 -0
  732. /package/dist/chunks/{model-resolver-dy18nga0.js → instance-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{model-resolver-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{model-resolver-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{model-resolver-ec1grn59.js → instance-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{model-resolver-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{model-resolver-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{model-resolver-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{model-resolver-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{model-resolver-faypxj3z.js → instance-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{model-resolver-fd410y7t.js → instance-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{model-resolver-fxgpk5d8.js → instance-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{model-resolver-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{model-resolver-g86h250q.js → instance-g86h250q.js} +0 -0
  745. /package/dist/chunks/{model-resolver-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{model-resolver-gftt206x.js → instance-gftt206x.js} +0 -0
  747. /package/dist/chunks/{model-resolver-hjbc5kem.js → instance-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{model-resolver-hk9envan.js → instance-hk9envan.js} +0 -0
  749. /package/dist/chunks/{model-resolver-hrnqkpcd.js → instance-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{model-resolver-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{model-resolver-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{model-resolver-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{model-resolver-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{model-resolver-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{model-resolver-mp448xyj.js → instance-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{model-resolver-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{model-resolver-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{model-resolver-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{model-resolver-njntx4h6.js → instance-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{model-resolver-paphc93g.js → instance-paphc93g.js} +0 -0
  761. /package/dist/chunks/{model-resolver-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{model-resolver-q74kybfr.js → instance-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{model-resolver-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{model-resolver-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{model-resolver-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{model-resolver-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{model-resolver-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{model-resolver-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{model-resolver-sk3qaz4a.js → instance-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{model-resolver-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{model-resolver-twg0f83k.js → instance-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{model-resolver-w803qqfp.js → instance-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{model-resolver-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{model-resolver-wtztk69x.js → instance-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{model-resolver-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{model-resolver-x61499pn.js → instance-x61499pn.js} +0 -0
  777. /package/dist/chunks/{model-resolver-y44na4kk.js → instance-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{model-resolver-y8cydn3q.js → instance-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{model-resolver-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{model-resolver-ym463w8f.js → instance-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{model-resolver-z9919s4g.js → instance-z9919s4g.js} +0 -0
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service78,
3
3
  node83
4
- } from "./model-resolver-9t2yae5y.js";
4
+ } from "./instance-v376vfgk.js";
5
5
  import {
6
- Service38,
7
- node42
8
- } from "./model-resolver-5a3e4t2e.js";
6
+ Service35,
7
+ node39
8
+ } from "./instance-6p1mk903.js";
9
9
  import {
10
10
  Service71,
11
11
  node76
12
- } from "./model-resolver-5reahhcp.js";
12
+ } from "./instance-fdrxk5eh.js";
13
13
  import {
14
- Service67,
15
- node72
16
- } from "./model-resolver-dp2desqw.js";
14
+ Service56,
15
+ node60
16
+ } from "./instance-qqrhxv6c.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./instance-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service37,
26
- layer: () => layer15,
27
- name: () => name14,
25
+ Service: () => Service34,
26
+ layer: () => layer14,
27
+ name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node41
29
+ node: () => node38
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service37 extends Context.Service()("@opencode/McpTool") {
38
+ class Service34 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer15 = Layer.effect(Service37, Effect.gen(function* () {
41
- const mcp = yield* Service38;
42
- const tools = yield* Service67;
40
+ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
41
+ const mcp = yield* Service35;
42
+ const tools = yield* Service56;
43
43
  const bus = yield* Service78;
44
44
  const permission = yield* Service71;
45
45
  const lock = Semaphore.makeUnsafe(1);
@@ -62,7 +62,7 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
62
62
  output: tool.outputSchema ?? {},
63
63
  execute: (input, context) => Effect.gen(function* () {
64
64
  yield* permission.assert({
65
- action: name14(tool.server, tool.name),
65
+ action: name13(tool.server, tool.name),
66
66
  resources: ["*"],
67
67
  save: ["*"],
68
68
  metadata: {},
@@ -99,7 +99,7 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
99
99
  output: result.structured ?? (text === "" ? null : text),
100
100
  ...content.length === 0 ? {} : { content }
101
101
  };
102
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
102
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
103
103
  });
104
104
  }
105
105
  });
@@ -112,12 +112,12 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
112
112
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
113
113
  const updates = yield* PubSub.subscribe(changes);
114
114
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
115
- return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
115
+ return Service34.of({ flush: Effect.asVoid(Fiber.await(initial)) });
116
116
  }));
117
- var node41 = makeLocationNode({
118
- service: Service37,
119
- layer: layer15,
120
- deps: [node72, node42, node83, node76]
117
+ var node38 = makeLocationNode({
118
+ service: Service34,
119
+ layer: layer14,
120
+ deps: [node60, node39, node83, node76]
121
121
  });
122
122
 
123
- export { namespace2, name14, Service37, layer15, node41, exports_mcp3 };
123
+ export { namespace2, name13, Service34, layer14, node38, exports_mcp3 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./instance-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service80,
10
- node: () => node85
9
+ Service: () => Service75,
10
+ node: () => node80
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service80 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service75 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service80, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service80.of({ has, register, trigger });
57
+ return Service75.of({ has, register, trigger });
58
58
  }));
59
- var node85 = makeLocationNode({ service: Service80, layer, deps: [] });
59
+ var node80 = makeLocationNode({ service: Service75, layer, deps: [] });
60
60
 
61
- export { Service80, node85, exports_hooks };
61
+ export { Service75, node80, exports_hooks };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./model-resolver-c1g6mvbq.js";
4
+ } from "./instance-t69nnh3p.js";
5
5
 
6
6
  // src/plugin/provider/zenmux.ts
7
7
  import { Effect } from "effect";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service78,
3
3
  node83
4
- } from "./model-resolver-9t2yae5y.js";
4
+ } from "./instance-v376vfgk.js";
5
5
  import {
6
6
  create3
7
- } from "./model-resolver-kg06axw8.js";
7
+ } from "./instance-kg06axw8.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./model-resolver-5reahhcp.js";
10
+ } from "./instance-fdrxk5eh.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./instance-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event17,
21
- ID: () => ID12,
22
- Info: () => Info26,
20
+ Event: () => Event7,
21
+ ID: () => ID5,
22
+ Info: () => Info8,
23
23
  Name: () => Name2,
24
- Service: () => Service70,
24
+ Service: () => Service47,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node75,
29
+ node: () => node50,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event17 } from "@opencode/schema/skill";
37
+ import { Event as Event7 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info26 = Skill.Info;
43
- var ID12 = Skill.ID;
42
+ var Info8 = Skill.Info;
43
+ var ID5 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service70 extends Context.Service()("@opencode/Skill") {
74
+ class Service47 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service70, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
77
77
  const bus = yield* Service78;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID12.make(id)),
83
+ get: (id) => editor.skills.get(ID5.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID12.make(id));
88
+ const current = editor.skills.get(ID5.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID12.make(id);
92
+ current.id = ID5.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID12.make(id));
95
+ editor.skills.delete(ID5.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service70.of({
100
+ return Service47.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node75 = makeLocationNode({
112
- service: Service70,
111
+ var node50 = makeLocationNode({
112
+ service: Service47,
113
113
  layer,
114
114
  deps: [node83]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info26, ID12, Name2, available2, toModelOutput3, prepare3, Service70, node75, exports_skill5, Event17 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID5, Name2, available2, toModelOutput3, prepare3, Service47, node50, exports_skill5, Event7 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service78
3
- } from "./model-resolver-9t2yae5y.js";
3
+ } from "./instance-v376vfgk.js";
4
4
  import {
5
- Service58
6
- } from "./model-resolver-np146xf0.js";
5
+ Service68
6
+ } from "./instance-g88n7je5.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./model-resolver-kg06axw8.js";
12
+ } from "./instance-kg06axw8.js";
13
13
  import {
14
- Service33,
14
+ Service27,
15
15
  awaitActivation2
16
- } from "./model-resolver-rap9a73h.js";
16
+ } from "./instance-1x11rq2a.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./model-resolver-qvrt22yc.js";
21
+ } from "./instance-0wyznna1.js";
22
22
  import {
23
23
  __export
24
- } from "./model-resolver-9rqn6x4v.js";
24
+ } from "./instance-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
29
  Event: () => Event3,
30
- ID: () => ID3,
31
- Info: () => Info3,
30
+ ID: () => ID2,
31
+ Info: () => Info2,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service33,
33
+ Service: () => Service27,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node17
37
+ node: () => node22
38
38
  });
39
- import { Event as Event3, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event3, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service33, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
44
44
  const bus = yield* Service78;
45
- const kv = yield* Service58;
45
+ const kv = yield* Service68;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service33.of({
208
+ return Service27.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node17 = Node.makeLocationNode({
226
- service: Service33,
225
+ var node22 = Node.makeLocationNode({
226
+ service: Service27,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node17, exports_plugin2, Event3, ID3, Info3, Source2, State2 };
231
+ export { node22, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service79
3
- } from "./model-resolver-868qdqs3.js";
2
+ Service80
3
+ } from "./instance-m51efdwf.js";
4
4
  import {
5
- Service42
6
- } from "./model-resolver-81rrwt6s.js";
5
+ Service45
6
+ } from "./instance-ff0htmxq.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./model-resolver-rap9a73h.js";
9
+ } from "./instance-1x11rq2a.js";
10
10
  import {
11
11
  provenance2
12
- } from "./model-resolver-paegk39x.js";
12
+ } from "./instance-w1k39n5e.js";
13
13
  import {
14
14
  preview2
15
- } from "./model-resolver-vd56qj1s.js";
15
+ } from "./instance-15gnn6as.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./model-resolver-z6ccwhj9.js";
18
+ } from "./instance-yz0abg76.js";
19
19
  import {
20
- Service28
21
- } from "./model-resolver-a6y89zjg.js";
20
+ Service26
21
+ } from "./instance-498gcqgt.js";
22
22
  import {
23
23
  __export
24
- } from "./model-resolver-9rqn6x4v.js";
24
+ } from "./instance-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate2 = {};
@@ -32,12 +32,12 @@ __export(exports_generate2, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service42;
36
- const database = yield* Service79;
35
+ const instances = yield* Service45;
36
+ const database = yield* Service80;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service28;
40
+ const context = yield* Service26;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./model-resolver-2a5m3afh.js";
3
+ } from "./instance-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./model-resolver-922hggd3.js";
6
+ } from "./instance-922hggd3.js";
7
7
  import {
8
- Service75
9
- } from "./model-resolver-6fb6cyfd.js";
8
+ Service76
9
+ } from "./instance-akjy133e.js";
10
10
  import {
11
- Service64
12
- } from "./model-resolver-6tdy5psv.js";
11
+ Service51
12
+ } from "./instance-k2z98nwc.js";
13
13
  import {
14
- Service25
15
- } from "./model-resolver-gmykmxzz.js";
14
+ Service16
15
+ } from "./instance-jq2qsjbc.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./model-resolver-nmrsa8tb.js";
21
+ } from "./instance-wtkjyqjf.js";
22
22
  import {
23
23
  Service71
24
- } from "./model-resolver-5reahhcp.js";
24
+ } from "./instance-fdrxk5eh.js";
25
25
  import {
26
- Service69
27
- } from "./model-resolver-q5bwphvd.js";
26
+ Service17
27
+ } from "./instance-ejt8n6vs.js";
28
28
  import {
29
29
  __export
30
- } from "./model-resolver-9rqn6x4v.js";
30
+ } from "./instance-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input12,
37
- Output: () => Output8,
36
+ Input: () => Input11,
37
+ Output: () => Output7,
38
38
  Plugin: () => Plugin43,
39
- name: () => name12,
39
+ name: () => name11,
40
40
  toModelContent: () => toModelContent6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name12 = "glob";
46
- var Input12 = Schema.Struct({
45
+ var name11 = "glob";
46
+ var Input11 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,7 +55,7 @@ var Input12 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output8 = Schema.Array(Entry2);
58
+ var Output7 = Schema.Array(Entry2);
59
59
  var toModelContent6 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
@@ -66,24 +66,24 @@ var toModelContent6 = (entries, truncated = false) => {
66
66
  var Plugin43 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service64;
70
- const ripgrep = yield* Service25;
71
- const location = yield* Service75;
72
- const access = yield* Service69;
69
+ const environment = yield* Service51;
70
+ const ripgrep = yield* Service16;
71
+ const location = yield* Service76;
72
+ const access = yield* Service17;
73
73
  const permission = yield* Service71;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name12,
75
+ name: name11,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input12,
79
- output: Output8,
78
+ input: Input11,
79
+ output: Output7,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name12,
86
+ action: name11,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -125,4 +125,4 @@ var Plugin43 = {
125
125
  })
126
126
  };
127
127
 
128
- export { name12, Input12, Output8, toModelContent6, Plugin43, exports_glob };
128
+ export { name11, Input11, Output7, toModelContent6, Plugin43, exports_glob };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service78,
3
3
  node83
4
- } from "./model-resolver-9t2yae5y.js";
4
+ } from "./instance-v376vfgk.js";
5
5
  import {
6
6
  environment2
7
- } from "./model-resolver-bzvjbgc5.js";
7
+ } from "./instance-w1w0h0f3.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./model-resolver-sk3qaz4a.js";
10
+ } from "./instance-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./instance-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
20
- Options: () => Options2,
19
+ NotFoundError: () => NotFoundError2,
20
+ Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service17,
23
- UnavailableError: () => UnavailableError3,
24
- configured: () => configured2,
22
+ Service: () => Service19,
23
+ UnavailableError: () => UnavailableError2,
24
+ configured: () => configured3,
25
25
  layer: () => layer9,
26
- node: () => node21
26
+ node: () => node23
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options2 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service17 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service19 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* () {
53
53
  const bus = yield* Service78;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError2({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service17.of({
242
+ return Service19.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -256,16 +256,16 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
256
256
  });
257
257
  }));
258
258
  var layer9 = makeLayer();
259
- var configured2 = (options) => makeGlobalNode({
260
- service: Service17,
259
+ var configured3 = (options) => makeGlobalNode({
260
+ service: Service19,
261
261
  layer: options === undefined ? layer9 : makeLayer(options),
262
262
  deps: [node83, Global.node]
263
263
  });
264
- var node21 = configured2();
264
+ var node23 = configured3();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options2, UnavailableError3, NotFoundError3, Service17, layer9, configured2, node21, exports_persistent_pty, Handoff2 };
304
+ export { Options3, UnavailableError2, NotFoundError2, Service19, layer9, configured3, node23, exports_persistent_pty, Handoff2 };