@opencode/core 0.0.0-dev-19528 → 0.0.0-dev-19530

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  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 +74 -74
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{file-jcgwdjtk.js → model-0247gmrw.js} +17 -17
  9. package/dist/chunks/{file-pvfkhdr6.js → model-03y65m91.js} +4 -4
  10. package/dist/chunks/{file-0artwwxx.js → model-0artwwxx.js} +1 -1
  11. package/dist/chunks/{file-6ah4wrp0.js → model-0cebr7hk.js} +4 -4
  12. package/dist/chunks/{file-p6dq1g3m.js → model-0d16ff4w.js} +30 -30
  13. package/dist/chunks/{file-en7aa967.js → model-0m04t0a0.js} +16 -16
  14. package/dist/chunks/{file-0paq2nw3.js → model-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{file-0pb75hch.js → model-0pb75hch.js} +1 -1
  16. package/dist/chunks/{file-0q0f95c6.js → model-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{file-jkhg65pf.js → model-0s3pzcqz.js} +8 -8
  18. package/dist/chunks/{file-cs88ywcc.js → model-0sfsr3zt.js} +20 -20
  19. package/dist/chunks/{file-qhyy3z7t.js → model-0snep097.js} +23 -23
  20. package/dist/chunks/{file-bscb95cy.js → model-19yq3b24.js} +6 -6
  21. package/dist/chunks/{file-gd8cvna8.js → model-1cd9yk0n.js} +20 -20
  22. package/dist/chunks/{file-mv3cjtdy.js → model-1crpa11v.js} +32 -32
  23. package/dist/chunks/{file-1dazxqgg.js → model-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{file-s2297spr.js → model-1f3wjap0.js} +23 -23
  25. package/dist/chunks/{file-5wn696jm.js → model-1gbs1kbt.js} +9 -9
  26. package/dist/chunks/{file-qbkv1r9x.js → model-1kcksn9e.js} +30 -30
  27. package/dist/chunks/{file-hxbh4fj6.js → model-1v6ba5ez.js} +16 -16
  28. package/dist/chunks/{file-sd4j1pxm.js → model-20355881.js} +9 -9
  29. package/dist/chunks/{file-219neeqh.js → model-219neeqh.js} +2 -2
  30. package/dist/chunks/{file-21r38tys.js → model-21r38tys.js} +1 -1
  31. package/dist/chunks/{file-6wfz0872.js → model-257a402r.js} +13 -13
  32. package/dist/chunks/{file-cqy54w6w.js → model-25gn6xf8.js} +8 -8
  33. package/dist/chunks/{file-265kqrgy.js → model-265kqrgy.js} +1 -1
  34. package/dist/chunks/{file-2a5m3afh.js → model-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{file-1szq9ecp.js → model-2fwd9rb4.js} +13 -13
  36. package/dist/chunks/{file-0jwsre1p.js → model-2k8khapm.js} +5 -5
  37. package/dist/chunks/{file-9d5tvsq8.js → model-2xrspd6r.js} +22 -22
  38. package/dist/chunks/{file-z7g31g5b.js → model-31jd4e8t.js} +1 -1
  39. package/dist/chunks/{file-33n3bzdy.js → model-33n3bzdy.js} +1 -1
  40. package/dist/chunks/{file-mfqp6xfm.js → model-33w4ejhs.js} +9 -9
  41. package/dist/chunks/{file-ab9238g2.js → model-35agz59w.js} +6 -6
  42. package/dist/chunks/{file-35wynegs.js → model-35wynegs.js} +2 -2
  43. package/dist/chunks/{file-84kam919.js → model-3ad4bd0a.js} +7 -7
  44. package/dist/chunks/{file-rs36rx17.js → model-3d6q6ejm.js} +22 -22
  45. package/dist/chunks/{file-gdvy8fx6.js → model-3fc6dm20.js} +4 -4
  46. package/dist/chunks/{file-frwkzbx8.js → model-3hdw1vhc.js} +54 -54
  47. package/dist/chunks/{file-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{file-6e2rzpgk.js → model-3hf7z3yq.js} +11 -11
  49. package/dist/chunks/{file-y8p3zjbc.js → model-3rqkssp8.js} +8 -8
  50. package/dist/chunks/{file-3smtnn6g.js → model-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{file-3tvqynh2.js → model-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{file-tn0aqsam.js → model-3w0fmcng.js} +5 -5
  53. package/dist/chunks/{file-818pfwc9.js → model-45fdndrg.js} +8 -8
  54. package/dist/chunks/{file-xb0gqag0.js → model-4mddsdbt.js} +19 -19
  55. package/dist/chunks/{file-4y66k410.js → model-4y66k410.js} +2 -2
  56. package/dist/chunks/{file-7673p22n.js → model-5akxe5k1.js} +5 -5
  57. package/dist/chunks/{file-s07qazfk.js → model-5b2dqtre.js} +7 -7
  58. package/dist/chunks/{file-rsdf2nvv.js → model-5c0f1prt.js} +4 -4
  59. package/dist/chunks/{file-5daktx2q.js → model-5daktx2q.js} +1 -1
  60. package/dist/chunks/{file-csv2z0zd.js → model-5hac0djz.js} +296 -296
  61. package/dist/chunks/{file-qn41sexy.js → model-5kqd1r0d.js} +88 -88
  62. package/dist/chunks/{file-zs2arz1s.js → model-5nyvja88.js} +14 -14
  63. package/dist/chunks/{file-1zhrd577.js → model-5q82gfck.js} +7 -7
  64. package/dist/chunks/{file-h3jtbnzr.js → model-5rgh8ask.js} +20 -20
  65. package/dist/chunks/{file-5t3nmthw.js → model-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{file-0jtbt960.js → model-5tgjep30.js} +4 -4
  67. package/dist/chunks/{file-669tq793.js → model-669tq793.js} +1 -1
  68. package/dist/chunks/{file-r2hc3hm0.js → model-677w9byw.js} +10 -10
  69. package/dist/chunks/{file-wxpbfje7.js → model-6895yszx.js} +15 -15
  70. package/dist/chunks/{file-539jk4fq.js → model-6bsje7ws.js} +3 -3
  71. package/dist/chunks/{file-04amdepk.js → model-6csep4d6.js} +24 -24
  72. package/dist/chunks/{file-2402vzrj.js → model-6h73sxmp.js} +5 -5
  73. package/dist/chunks/{file-6jnybvqn.js → model-6jnybvqn.js} +2 -2
  74. package/dist/chunks/{file-fk07q997.js → model-6kny798m.js} +30 -30
  75. package/dist/chunks/{file-6msgmcgs.js → model-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{file-9v254cxg.js → model-6pnccst9.js} +23 -23
  77. package/dist/chunks/{file-x02aksw7.js → model-6psebnbx.js} +28 -28
  78. package/dist/chunks/{file-s0gw9m46.js → model-6rbveq4m.js} +4 -4
  79. package/dist/chunks/{file-1x75wf9g.js → model-6vq97qmv.js} +5 -5
  80. package/dist/chunks/{file-70d2s7af.js → model-70d2s7af.js} +1 -1
  81. package/dist/chunks/{file-71q4at8m.js → model-71q4at8m.js} +1 -1
  82. package/dist/chunks/{file-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{file-8wsye86r.js → model-7m5f9412.js} +8 -8
  84. package/dist/chunks/{file-zte42zvw.js → model-7pkhtfns.js} +12 -12
  85. package/dist/chunks/{file-k1vfbhap.js → model-7y4pbgtc.js} +15 -15
  86. package/dist/chunks/{file-tcezcvh9.js → model-89znhe33.js} +4 -4
  87. package/dist/chunks/{file-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{file-14qwvs7b.js → model-8e5vt1qx.js} +28 -28
  89. package/dist/chunks/{file-gytrcvhg.js → model-8n9190v4.js} +9 -9
  90. package/dist/chunks/{file-8p4f9s12.js → model-8p4f9s12.js} +2 -2
  91. package/dist/chunks/{file-dkbmr5pe.js → model-91xeb72v.js} +11 -11
  92. package/dist/chunks/{file-m95xzgpp.js → model-91y7rpnn.js} +4 -4
  93. package/dist/chunks/{file-7f05ey4a.js → model-97mdmb9a.js} +18 -18
  94. package/dist/chunks/{file-fpv6qd1b.js → model-99em0p16.js} +8 -8
  95. package/dist/chunks/{file-q79ez36s.js → model-9d3a58tj.js} +13 -13
  96. package/dist/chunks/{file-rfw2p3w1.js → model-9n8nxpxn.js} +22 -22
  97. package/dist/chunks/{file-41mmd9y1.js → model-9q9jdv8e.js} +32 -32
  98. package/dist/chunks/{file-7cewpcy1.js → model-9s353mxg.js} +18 -18
  99. package/dist/chunks/{file-f2pfnty7.js → model-a04ypazz.js} +37 -37
  100. package/dist/chunks/{file-02tcf4dd.js → model-a0mw1hja.js} +15 -15
  101. package/dist/chunks/{file-a1bz86dw.js → model-a1bz86dw.js} +3 -3
  102. package/dist/chunks/{file-7gch6zg2.js → model-a5r6p83p.js} +19 -19
  103. package/dist/chunks/{file-ajvgy2xn.js → model-a6kqfaee.js} +9 -9
  104. package/dist/chunks/{file-htmns1y3.js → model-a9759q1q.js} +6 -6
  105. package/dist/chunks/{file-aaet6srn.js → model-aaet6srn.js} +2 -2
  106. package/dist/chunks/{file-zcf49hx1.js → model-ajegdr06.js} +24 -24
  107. package/dist/chunks/{file-jv85zyec.js → model-aqjqj2ff.js} +6 -6
  108. package/dist/chunks/{file-ghe2dkz9.js → model-atjxpbab.js} +37 -37
  109. package/dist/chunks/{file-vyk9kkx4.js → model-ayv404k4.js} +4 -4
  110. package/dist/chunks/{file-wx9wy1qm.js → model-b3t12aqp.js} +1 -1
  111. package/dist/chunks/{file-b6gygkdw.js → model-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{file-fxqygnfa.js → model-bajakh74.js} +4 -4
  113. package/dist/chunks/{file-z5ktvhxm.js → model-bgtgk6cp.js} +9 -9
  114. package/dist/chunks/{file-zvrekwpq.js → model-brp8zeym.js} +6 -6
  115. package/dist/chunks/{file-6gegejpr.js → model-bv88jg6f.js} +37 -37
  116. package/dist/chunks/{file-p4ncety1.js → model-bvg29jbq.js} +18 -18
  117. package/dist/chunks/{file-fhzfzy7c.js → model-bvha1vq7.js} +10 -10
  118. package/dist/chunks/{file-8eaqqbf0.js → model-bya8prfn.js} +6 -6
  119. package/dist/chunks/{file-4t3xbkmp.js → model-bya8x26g.js} +8 -8
  120. package/dist/chunks/{file-h1pzvny1.js → model-bz2p45ry.js} +28 -28
  121. package/dist/chunks/{file-j00tdnw6.js → model-c0pa16pn.js} +6 -6
  122. package/dist/chunks/{file-h1jj9pag.js → model-c179hq9v.js} +38 -38
  123. package/dist/chunks/{file-x0cdxhvm.js → model-c462van6.js} +31 -31
  124. package/dist/chunks/{file-wd251cp4.js → model-c5nvra9m.js} +2 -2
  125. package/dist/chunks/{file-31z4jcxr.js → model-cebcabsx.js} +57 -57
  126. package/dist/chunks/{file-cfpkc3c9.js → model-cfpkc3c9.js} +2 -2
  127. package/dist/chunks/{file-d3gk90dh.js → model-cq9pat89.js} +26 -26
  128. package/dist/chunks/{file-cvtmmhw6.js → model-cvtmmhw6.js} +1 -1
  129. package/dist/chunks/{file-kf46snkd.js → model-cw6d4prj.js} +17 -17
  130. package/dist/chunks/{file-22g66rc5.js → model-czs7xmcn.js} +15 -15
  131. package/dist/chunks/{file-9ennmngc.js → model-cztasbnk.js} +16 -16
  132. package/dist/chunks/{file-x64f48yq.js → model-dgdas7td.js} +18 -18
  133. package/dist/chunks/{file-6t0q9r78.js → model-dn3t1y0q.js} +38 -38
  134. package/dist/chunks/{file-5trk58xb.js → model-dnc4tg6k.js} +8 -8
  135. package/dist/chunks/{file-vesrk8bq.js → model-dq8fe4ed.js} +9 -9
  136. package/dist/chunks/{file-1a4wx43g.js → model-dwgpa5q5.js} +28 -28
  137. package/dist/chunks/{file-26b1weyt.js → model-e4f6pw00.js} +25 -25
  138. package/dist/chunks/{file-910fycqc.js → model-e5yeyj5b.js} +11 -11
  139. package/dist/chunks/{file-qjnxxf51.js → model-e6hmchc5.js} +5 -5
  140. package/dist/chunks/{file-0ynyzna2.js → model-e758m3vy.js} +12 -12
  141. package/dist/chunks/{file-etq0c3wd.js → model-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{file-zad2r4qh.js → model-ev82ehxs.js} +24 -24
  143. package/dist/chunks/{file-fege0r9h.js → model-exatzf7p.js} +18 -18
  144. package/dist/chunks/{file-e6z0mwk1.js → model-f1zva5d5.js} +5 -5
  145. package/dist/chunks/{file-d9h41z9h.js → model-f24vq1c7.js} +27 -27
  146. package/dist/chunks/{file-f828m53h.js → model-f828m53h.js} +2 -2
  147. package/dist/chunks/{file-v5j4d43x.js → model-ff0svapt.js} +2 -2
  148. package/dist/chunks/{file-s23yxtty.js → model-fvkgc8rm.js} +13 -13
  149. package/dist/chunks/{file-fxbjtjnd.js → model-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{file-cd4k6mez.js → model-g3vfgj64.js} +13 -13
  151. package/dist/chunks/model-gbadjzag.js +4 -0
  152. package/dist/chunks/{file-gd4qta3r.js → model-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{file-414nmt5b.js → model-gg3hj2sp.js} +22 -22
  154. package/dist/chunks/{file-e6mw24qv.js → model-gkt6z8r9.js} +20 -20
  155. package/dist/chunks/{file-gv6a8nnw.js → model-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{file-h03wrkyp.js → model-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{file-0r9tn05x.js → model-h56egzzg.js} +4 -4
  158. package/dist/chunks/{file-h6vf3j39.js → model-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{file-f06f3n70.js → model-hjejd8rj.js} +13 -13
  160. package/dist/chunks/{file-shrpy2d8.js → model-hq8zt1th.js} +6 -6
  161. package/dist/chunks/{file-kp8nr7sd.js → model-htza7hdd.js} +24 -24
  162. package/dist/chunks/{file-rtd9zf3v.js → model-hxevvepb.js} +47 -47
  163. package/dist/chunks/{file-d0xr2htc.js → model-hyhy14jr.js} +25 -25
  164. package/dist/chunks/{file-vt5pzj5z.js → model-j181hgc5.js} +10 -10
  165. package/dist/chunks/{file-j56e64zr.js → model-j56e64zr.js} +1 -1
  166. package/dist/chunks/{file-pm2x09cs.js → model-jerxsvsx.js} +29 -29
  167. package/dist/chunks/{file-xwbwee27.js → model-jj5vypy3.js} +36 -36
  168. package/dist/chunks/{file-43q9fha5.js → model-jv3cv6p3.js} +10 -10
  169. package/dist/chunks/{file-y71avatq.js → model-jwcy2c2z.js} +4 -4
  170. package/dist/chunks/{file-47hzwb35.js → model-jx3c22rf.js} +11 -11
  171. package/dist/chunks/{file-kg06axw8.js → model-kg06axw8.js} +1 -1
  172. package/dist/chunks/{file-6tn8gt44.js → model-m7bfq9wr.js} +7 -7
  173. package/dist/chunks/{file-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{file-d2yvvzw2.js → model-mb2y4s57.js} +12 -12
  175. package/dist/chunks/{file-ydee2bp2.js → model-mdy2tqts.js} +43 -43
  176. package/dist/chunks/{file-mhkvc446.js → model-mhkvc446.js} +1 -1
  177. package/dist/chunks/{file-arxy3m15.js → model-mkhznv56.js} +9 -9
  178. package/dist/chunks/{file-q1r1ttcv.js → model-mtc9q228.js} +31 -31
  179. package/dist/chunks/{file-esj243wz.js → model-mwr2btvq.js} +9 -9
  180. package/dist/chunks/{file-mz6ae2yf.js → model-mz6ae2yf.js} +1 -1
  181. package/dist/chunks/{file-78qgck3m.js → model-n4m2mkxj.js} +12 -12
  182. package/dist/chunks/{file-dakg7qy7.js → model-n649fndv.js} +5 -5
  183. package/dist/chunks/{file-4dc4y0ze.js → model-n7hjcbvg.js} +11 -11
  184. package/dist/chunks/{file-4wgca9tc.js → model-ncxt770z.js} +8 -8
  185. package/dist/chunks/{file-47gsdddb.js → model-nhy5jxhy.js} +5 -5
  186. package/dist/chunks/{file-3ws8f5dp.js → model-nn17eg7m.js} +23 -23
  187. package/dist/chunks/{file-40s62c95.js → model-nncchp3m.js} +5 -5
  188. package/dist/chunks/model-nnzt82h0.js +26 -0
  189. package/dist/chunks/{file-50qh24n3.js → model-npevzfsy.js} +11 -11
  190. package/dist/chunks/{file-prbnmmzj.js → model-nv5vn7qx.js} +8 -8
  191. package/dist/chunks/{file-rya1a4hz.js → model-p2h53nt6.js} +26 -26
  192. package/dist/chunks/{file-xt5erzss.js → model-p52t23z3.js} +38 -38
  193. package/dist/chunks/{file-y1k8ht98.js → model-p6sp61vg.js} +34 -34
  194. package/dist/chunks/{file-qx7mza5y.js → model-p87gvwbv.js} +12 -12
  195. package/dist/chunks/{file-b1rr2bsg.js → model-pdy42dnd.js} +29 -29
  196. package/dist/chunks/{file-kv8awt1x.js → model-phc8pspp.js} +3 -3
  197. package/dist/chunks/model-phz3h32g.js +18 -0
  198. package/dist/chunks/{file-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{file-pknna89w.js → model-pknna89w.js} +1 -1
  200. package/dist/chunks/{file-nhkphzvf.js → model-pqwf4bge.js} +2 -2
  201. package/dist/chunks/{file-zc8d7jvw.js → model-ps77swb3.js} +3 -3
  202. package/dist/chunks/{file-jxmh29vv.js → model-pwqcks32.js} +5 -5
  203. package/dist/chunks/{file-hsypa6ar.js → model-px2sqpay.js} +14 -14
  204. package/dist/chunks/{file-vh74bm19.js → model-q13p9eja.js} +17 -17
  205. package/dist/chunks/{file-9p392py6.js → model-q44n8009.js} +17 -17
  206. package/dist/chunks/{file-trt71rst.js → model-qa2mkktq.js} +36 -36
  207. package/dist/chunks/{file-dnrxcw6z.js → model-qbngxwj5.js} +20 -20
  208. package/dist/chunks/{file-3z7p1693.js → model-qfpa574x.js} +16 -16
  209. package/dist/chunks/model-qj7q8b1b.js +247 -0
  210. package/dist/chunks/{file-g190xswt.js → model-qj8eh1ht.js} +4 -4
  211. package/dist/chunks/{file-35bt1vh1.js → model-qrq421eh.js} +22 -22
  212. package/dist/chunks/{file-qsdy395h.js → model-qsdy395h.js} +1 -1
  213. package/dist/chunks/{file-w4s8a7wb.js → model-qwrxphsy.js} +16 -16
  214. package/dist/chunks/{file-rkzx19zq.js → model-r0gpwmmm.js} +15 -15
  215. package/dist/chunks/{file-5eb8dst9.js → model-r0ztwh7r.js} +68 -68
  216. package/dist/chunks/{file-22km3b5w.js → model-r8x9m1qg.js} +28 -28
  217. package/dist/chunks/{file-r9mregkx.js → model-r9mregkx.js} +2 -2
  218. package/dist/chunks/{file-n3ztrd94.js → model-rr6fm4cb.js} +32 -32
  219. package/dist/chunks/{file-xwwz9aqf.js → model-s0esgemt.js} +4 -4
  220. package/dist/chunks/{file-hvbks3tt.js → model-s8bz6z4k.js} +8 -8
  221. package/dist/chunks/{file-ahr8cyhk.js → model-se0t50fj.js} +20 -20
  222. package/dist/chunks/{file-gf2pd57e.js → model-sgfa6f2r.js} +4 -4
  223. package/dist/chunks/{file-v8h4em9y.js → model-sh0rasge.js} +47 -47
  224. package/dist/chunks/{file-sp4mxhmb.js → model-sp8m6a9q.js} +9 -9
  225. package/dist/chunks/{file-4en15s67.js → model-sxwk9xb8.js} +22 -22
  226. package/dist/chunks/{file-fjmrr6sh.js → model-t0x5rdq8.js} +9 -9
  227. package/dist/chunks/{file-02nrjc1r.js → model-t550f9t1.js} +8 -8
  228. package/dist/chunks/{file-1t7r1zm4.js → model-t8na6qa3.js} +15 -15
  229. package/dist/chunks/{file-tazgh4e4.js → model-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{file-tdstcens.js → model-tdstcens.js} +1 -1
  231. package/dist/chunks/{file-xvqmdntd.js → model-tsfgabrd.js} +41 -41
  232. package/dist/chunks/{file-rbfaw35k.js → model-ttzta52k.js} +34 -34
  233. package/dist/chunks/{file-tvtrv512.js → model-tvtrv512.js} +1 -1
  234. package/dist/chunks/{file-c03p6rem.js → model-v0pkrfgq.js} +11 -11
  235. package/dist/chunks/{file-2hyh68ab.js → model-v4hmzr0r.js} +8 -8
  236. package/dist/chunks/{file-sxz6gkc3.js → model-v5dkyp31.js} +7 -7
  237. package/dist/chunks/{file-zd5ckerx.js → model-v6a8s5gf.js} +26 -26
  238. package/dist/chunks/{file-fezapags.js → model-v7bpw0rx.js} +16 -16
  239. package/dist/chunks/{file-veqvce7d.js → model-veqvce7d.js} +1 -1
  240. package/dist/chunks/{file-93t9nhp2.js → model-vf5jgz4g.js} +40 -40
  241. package/dist/chunks/{file-b1ngvqv8.js → model-vfqqz6ex.js} +9 -9
  242. package/dist/chunks/{file-k4qrwsy9.js → model-vg018stg.js} +50 -50
  243. package/dist/chunks/{file-j83byb14.js → model-vncycja5.js} +4 -4
  244. package/dist/chunks/{file-25tefzdk.js → model-vshq87yh.js} +32 -32
  245. package/dist/chunks/{file-gvraedsa.js → model-vtjb7z8s.js} +24 -24
  246. package/dist/chunks/{file-vzcthcp8.js → model-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{file-s9yxznb6.js → model-vze96k0n.js} +4 -4
  248. package/dist/chunks/{file-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{file-yaq7yvs3.js → model-w5me5d90.js} +14 -14
  250. package/dist/chunks/{file-rmn58emj.js → model-w6tw9skw.js} +11 -11
  251. package/dist/chunks/{file-wavq5vqb.js → model-wavq5vqb.js} +1 -1
  252. package/dist/chunks/{file-wbysn9an.js → model-wb1tzt4d.js} +27 -27
  253. package/dist/chunks/{file-1nqf8bjr.js → model-wbq0a8cf.js} +33 -33
  254. package/dist/chunks/{file-wd87259q.js → model-wd87259q.js} +1 -1
  255. package/dist/chunks/{file-fcfzvh6j.js → model-wgwrm75m.js} +156 -156
  256. package/dist/chunks/{file-6wnv8xsn.js → model-whsrbek6.js} +11 -11
  257. package/dist/chunks/{file-a5w130rq.js → model-wmf56hzh.js} +9 -9
  258. package/dist/chunks/{file-dm7r3pc5.js → model-wwcafvtr.js} +15 -15
  259. package/dist/chunks/{file-8qvgnq7a.js → model-wycsdkc3.js} +9 -9
  260. package/dist/chunks/{file-x1ezjp6w.js → model-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{file-1x57ve2g.js → model-xkc587sw.js} +15 -15
  262. package/dist/chunks/{file-vc991s6b.js → model-xtd5dz6n.js} +89 -89
  263. package/dist/chunks/{file-x7wsddgn.js → model-xzzk44db.js} +15 -15
  264. package/dist/chunks/{file-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{file-34va41r1.js → model-y2bvvrzc.js} +15 -15
  266. package/dist/chunks/{file-cqbh7drg.js → model-y5mrfvw4.js} +5 -5
  267. package/dist/chunks/{file-3sv6egn8.js → model-y7gk6gsz.js} +7 -7
  268. package/dist/chunks/{file-nbddwgy7.js → model-y7gn77t5.js} +9 -9
  269. package/dist/chunks/{file-z5h77yjr.js → model-y7j7ndb6.js} +47 -47
  270. package/dist/chunks/{file-5gachfgg.js → model-yeqyw0z5.js} +9 -9
  271. package/dist/chunks/{file-nfqbq3x1.js → model-yhq7b4d8.js} +11 -11
  272. package/dist/chunks/{file-c4p1vnej.js → model-ymca8mtq.js} +12 -12
  273. package/dist/chunks/{file-1acjjqhc.js → model-yp2x3t23.js} +4 -4
  274. package/dist/chunks/{file-yrhqyw5v.js → model-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{file-yrznvahk.js → model-yrznvahk.js} +2 -2
  276. package/dist/chunks/{file-pecb0brz.js → model-yt0fqk68.js} +5 -5
  277. package/dist/chunks/{file-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{file-z63w68vq.js → model-z63w68vq.js} +2 -2
  279. package/dist/chunks/{file-0j7zpftg.js → model-z9pwsk94.js} +13 -13
  280. package/dist/chunks/{file-k76fn4kw.js → model-zav06jzw.js} +4 -4
  281. package/dist/chunks/{file-mrde2rj2.js → model-zc27a7bm.js} +4 -4
  282. package/dist/chunks/{file-ce0m10b2.js → model-zdrvw4c2.js} +27 -27
  283. package/dist/chunks/{file-zeh9ct20.js → model-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{file-kb4a3nmp.js → model-zm3pd5tb.js} +46 -46
  285. package/dist/chunks/{file-s1cnfe1p.js → model-znz7rtxh.js} +11 -11
  286. package/dist/chunks/{file-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{file-zxq2ej10.js → model-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +84 -84
  292. package/dist/config/discovery.js +80 -80
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +210 -210
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +119 -119
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +118 -118
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +116 -116
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +120 -120
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +82 -82
  320. package/dist/database/database.js +71 -71
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +360 -360
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +73 -73
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +221 -221
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +103 -103
  425. package/dist/form.js +83 -83
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +83 -83
  428. package/dist/generate.js +92 -92
  429. package/dist/git.js +5 -5
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +130 -130
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +80 -80
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +83 -83
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +106 -106
  469. package/dist/mcp/instructions.js +123 -123
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +10 -10
  476. package/dist/models-dev.js +87 -87
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +81 -81
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +103 -103
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +87 -87
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +100 -100
  487. package/dist/plugin/command.js +97 -97
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +118 -118
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -118
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +81 -81
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +118 -118
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +132 -132
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +339 -339
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +113 -113
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +6 -6
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +225 -225
  552. package/dist/project/schema.js +4 -4
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +84 -84
  555. package/dist/provider.js +1 -1
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +95 -95
  560. package/dist/reference/instructions.js +83 -83
  561. package/dist/reference.js +85 -85
  562. package/dist/repository-cache.js +77 -77
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +94 -94
  566. package/dist/rpc.js +82 -82
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +130 -130
  570. package/dist/session/context.js +148 -148
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +3 -3
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +220 -220
  575. package/dist/session/execution.js +123 -123
  576. package/dist/session/generate.js +147 -147
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +89 -89
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +78 -78
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +93 -93
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +112 -112
  586. package/dist/session/model-transport.js +7 -7
  587. package/dist/session/move.js +127 -127
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +101 -101
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +86 -86
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +226 -226
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +87 -87
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +111 -111
  599. package/dist/session/runner/step.js +120 -120
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +170 -170
  603. package/dist/session/shell.js +132 -132
  604. package/dist/session/skill.js +99 -99
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +72 -72
  607. package/dist/session/store.js +86 -86
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +204 -204
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +150 -150
  612. package/dist/session/to-session-error.js +108 -108
  613. package/dist/session/transfer.js +217 -217
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +212 -212
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +15 -15
  620. package/dist/shell.js +134 -134
  621. package/dist/skill/discovery.js +2 -2
  622. package/dist/skill/instructions.js +101 -101
  623. package/dist/skill.js +104 -104
  624. package/dist/snapshot.js +87 -87
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +122 -122
  629. package/dist/tool/plugin/edit.js +112 -112
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +121 -121
  632. package/dist/tool/plugin/grep.js +121 -121
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +118 -118
  635. package/dist/tool/plugin/question.js +99 -99
  636. package/dist/tool/plugin/read.js +122 -122
  637. package/dist/tool/plugin/shell.js +213 -213
  638. package/dist/tool/plugin/skill.js +109 -109
  639. package/dist/tool/plugin/subagent.js +213 -213
  640. package/dist/tool/plugin/webfetch.js +106 -106
  641. package/dist/tool/plugin/websearch.js +104 -104
  642. package/dist/tool/plugin/write.js +118 -118
  643. package/dist/tool/read-filesystem.js +97 -97
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +86 -86
  674. package/dist/websearch.js +75 -75
  675. package/dist/wellknown/plugin.js +75 -75
  676. package/dist/wellknown.js +80 -80
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +77 -77
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +340 -340
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +92 -92
  685. package/package.json +8 -8
  686. package/dist/chunks/file-0mesazry.js +0 -4
  687. package/dist/chunks/file-1x11rq2a.js +0 -18
  688. package/dist/chunks/file-2nc0627s.js +0 -26
  689. package/dist/chunks/file-emt1axv0.js +0 -247
  690. /package/dist/chunks/{file-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{file-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{file-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{file-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{file-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{file-2710q6r3.js → model-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{file-2axfhc9x.js → model-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{file-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{file-359p4xyc.js → model-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{file-3asan66x.js → model-3asan66x.js} +0 -0
  700. /package/dist/chunks/{file-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{file-3w5fmr99.js → model-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{file-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{file-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{file-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{file-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{file-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{file-53557ph1.js → model-53557ph1.js} +0 -0
  708. /package/dist/chunks/{file-550bvhaj.js → model-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{file-6prwharc.js → model-6prwharc.js} +0 -0
  710. /package/dist/chunks/{file-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{file-7m9af43g.js → model-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{file-822emrt2.js → model-822emrt2.js} +0 -0
  713. /package/dist/chunks/{file-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{file-8n3pysct.js → model-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{file-922hggd3.js → model-922hggd3.js} +0 -0
  716. /package/dist/chunks/{file-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{file-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{file-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{file-af5trqkr.js → model-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{file-afrmfg78.js → model-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{file-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{file-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{file-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{file-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{file-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{file-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{file-d9fn303g.js → model-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{file-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{file-dajrwvna.js → model-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{file-dap0rakb.js → model-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{file-df08tz66.js → model-df08tz66.js} +0 -0
  732. /package/dist/chunks/{file-dy18nga0.js → model-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{file-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{file-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{file-ec1grn59.js → model-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{file-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{file-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{file-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{file-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{file-faypxj3z.js → model-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{file-fd410y7t.js → model-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{file-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{file-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{file-g86h250q.js → model-g86h250q.js} +0 -0
  745. /package/dist/chunks/{file-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{file-gftt206x.js → model-gftt206x.js} +0 -0
  747. /package/dist/chunks/{file-hjbc5kem.js → model-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{file-hk9envan.js → model-hk9envan.js} +0 -0
  749. /package/dist/chunks/{file-hrnqkpcd.js → model-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{file-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{file-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{file-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{file-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{file-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{file-mp448xyj.js → model-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{file-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{file-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{file-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{file-njntx4h6.js → model-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{file-paphc93g.js → model-paphc93g.js} +0 -0
  761. /package/dist/chunks/{file-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{file-q74kybfr.js → model-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{file-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{file-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{file-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{file-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{file-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{file-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{file-sk3qaz4a.js → model-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{file-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{file-twg0f83k.js → model-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{file-w803qqfp.js → model-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{file-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{file-wtztk69x.js → model-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{file-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{file-x61499pn.js → model-x61499pn.js} +0 -0
  777. /package/dist/chunks/{file-y44na4kk.js → model-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{file-y8cydn3q.js → model-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{file-y8f7s663.js → model-y8f7s663.js} +0 -0
  780. /package/dist/chunks/{file-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{file-ym463w8f.js → model-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{file-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID13
3
- } from "./file-zad2r4qh.js";
2
+ ID11
3
+ } from "./model-ev82ehxs.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./file-922hggd3.js";
6
+ } from "./model-922hggd3.js";
7
7
  import {
8
- Info15
9
- } from "./file-818pfwc9.js";
8
+ Info11
9
+ } from "./model-45fdndrg.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./file-s0gw9m46.js";
12
+ } from "./model-6rbveq4m.js";
13
13
  import {
14
14
  latest2,
15
- Service38
16
- } from "./file-v8h4em9y.js";
15
+ Service42
16
+ } from "./model-sh0rasge.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./file-5daktx2q.js";
19
+ } from "./model-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./file-9rqn6x4v.js";
22
+ } from "./model-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent = {};
26
- __export(exports_agent, {
27
- ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin15
25
+ var exports_agent2 = {};
26
+ __export(exports_agent2, {
27
+ ConfigAgentPlugin: () => exports_agent2,
28
+ Plugin: () => Plugin31
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info15);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin15 = define({
47
+ var Plugin31 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service38;
50
+ const config = yield* Service42;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin15 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID13.make(configuredDefault));
79
+ editor.default(ID11.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID13.make(id);
85
+ const agentID = ID11.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin15, exports_agent };
164
+ export { Plugin31, exports_agent2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-922hggd3.js";
3
+ } from "./model-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./model-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./file-ec1grn59.js";
3
+ } from "./model-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./file-tdstcens.js";
6
+ } from "./model-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./file-33n3bzdy.js";
4
+ } from "./model-33n3bzdy.js";
5
5
  import {
6
- ID7
7
- } from "./file-zte42zvw.js";
6
+ ID17
7
+ } from "./model-7pkhtfns.js";
8
8
 
9
9
  // src/plugin/provider/openrouter.ts
10
10
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  evt.provider.update(item.provider.id, (provider) => {
22
22
  provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
23
23
  });
24
- for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID17.make("gpt-5-chat-latest"), ID17.make("openai/gpt-5-chat")]) {
25
25
  if (!item.models.has(modelID))
26
26
  continue;
27
27
  evt.model.update(item.provider.id, modelID, (model) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service79,
4
- node84
5
- } from "./file-fezapags.js";
3
+ Service73,
4
+ node77
5
+ } from "./model-v7bpw0rx.js";
6
6
  import {
7
7
  __export
8
- } from "./file-9rqn6x4v.js";
8
+ } from "./model-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: () => Service7,
15
15
  Updated: () => Updated2,
16
- layer: () => layer6,
17
- node: () => node8
16
+ layer: () => layer5,
17
+ node: () => node10
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 Service7 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer6 = Layer.effect(Service5, Effect.gen(function* () {
26
- const bus = yield* Service79;
25
+ var layer5 = Layer.effect(Service7, Effect.gen(function* () {
26
+ const bus = yield* Service73;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service5.of({
29
+ return Service7.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, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node8 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node84] });
36
+ var node10 = makeGlobalNode({ service: Service7, layer: layer5, deps: [node77] });
37
37
 
38
- export { Updated2, Service5, layer6, node8, exports_sdk };
38
+ export { Updated2, Service7, layer5, node10, exports_sdk };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service54,
10
- node: () => node58
9
+ Service: () => Service50,
10
+ node: () => node53
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service54 extends Context.Service()("@opencode/Instance") {
16
+ class Service50 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node58 = LayerNode.unbound(Service54, Node.tags.values.global);
18
+ var node53 = LayerNode.unbound(Service50, Node.tags.values.global);
19
19
 
20
- export { Service54, node58, exports_service2 };
20
+ export { Service50, node53, exports_service2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-922hggd3.js";
3
+ } from "./model-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./file-g190xswt.js";
6
+ } from "./model-qj8eh1ht.js";
7
7
  import {
8
- Info15
9
- } from "./file-818pfwc9.js";
8
+ Info11
9
+ } from "./model-45fdndrg.js";
10
10
  import {
11
- Info17
12
- } from "./file-tn0aqsam.js";
11
+ Info15
12
+ } from "./model-3w0fmcng.js";
13
13
  import {
14
- Info13
15
- } from "./file-sxz6gkc3.js";
14
+ Info12
15
+ } from "./model-v5dkyp31.js";
16
16
  import {
17
- Info10
18
- } from "./file-pecb0brz.js";
17
+ Info17
18
+ } from "./model-yt0fqk68.js";
19
19
  import {
20
20
  Spec2
21
- } from "./file-0jwsre1p.js";
21
+ } from "./model-2k8khapm.js";
22
22
  import {
23
- Info9
24
- } from "./file-qjnxxf51.js";
23
+ Info13
24
+ } from "./model-e6hmchc5.js";
25
25
  import {
26
- Info8
27
- } from "./file-ydee2bp2.js";
26
+ Info10
27
+ } from "./model-mdy2tqts.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./file-s0gw9m46.js";
36
+ } from "./model-6rbveq4m.js";
37
37
  import {
38
38
  __export
39
- } from "./file-9rqn6x4v.js";
39
+ } from "./model-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info12, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info10, value, path, diagnostics);
228
+ const server = decodeValue(Info17, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info9, raw, path, diagnostics);
424
+ const provider = decodeValue(Info13, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./file-fezapags.js";
2
+ Service73,
3
+ node77
4
+ } from "./model-v7bpw0rx.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./file-w4s8a7wb.js";
6
+ Service69,
7
+ node73
8
+ } from "./model-qwrxphsy.js";
9
9
  import {
10
- ID13,
11
- Service70,
12
- node74
13
- } from "./file-zad2r4qh.js";
10
+ ID11,
11
+ Service61,
12
+ node64
13
+ } from "./model-ev82ehxs.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./file-kv8awt1x.js";
16
+ } from "./model-phc8pspp.js";
17
17
  import {
18
- Service68,
19
- node72
20
- } from "./file-1t7r1zm4.js";
18
+ Service59,
19
+ node62
20
+ } from "./model-t8na6qa3.js";
21
21
  import {
22
22
  match2
23
- } from "./file-y1fvbwt7.js";
23
+ } from "./model-y1fvbwt7.js";
24
24
  import {
25
- Service69,
26
- node73
27
- } from "./file-x64f48yq.js";
25
+ Service60,
26
+ node63
27
+ } from "./model-dgdas7td.js";
28
28
  import {
29
- Service71,
30
- node75
31
- } from "./file-5trk58xb.js";
29
+ Service76,
30
+ node80
31
+ } from "./model-dnc4tg6k.js";
32
32
  import {
33
33
  __export
34
- } from "./file-9rqn6x4v.js";
34
+ } from "./model-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,8 +42,8 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event17,
46
- ID: () => ID11,
45
+ Event: () => Event15,
46
+ ID: () => ID9,
47
47
  NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
49
  Reply: () => Reply3,
@@ -51,20 +51,20 @@ __export(exports_permission2, {
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service67,
54
+ Service: () => Service58,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node71
58
+ node: () => node61
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event17 } from "@opencode/schema/permission";
64
+ import { Event as Event15 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID11 = Permission.ID;
67
+ var ID9 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID11.pipe(Schema.optional),
80
+ id: ID9.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID13.pipe(Schema.optional)
82
+ agent: ID11.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID11,
85
+ requestID: ID9,
86
86
  reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID11,
90
+ id: ID9,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID11
114
+ requestID: ID9
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service67 extends Context.Service()("@opencode/Permission") {
128
+ class Service58 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service67, Effect.gen(function* () {
131
- const bus = yield* Service79;
132
- const location = yield* Service75;
133
- const agents = yield* Service70;
134
- const sessions = yield* Service68;
135
- const saved = yield* Service69;
136
- const hooks = yield* Service71;
130
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
131
+ const bus = yield* Service73;
132
+ const location = yield* Service69;
133
+ const agents = yield* Service61;
134
+ const sessions = yield* Service59;
135
+ const saved = yield* Service60;
136
+ const hooks = yield* Service76;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID11.create(),
183
+ id: input.id ?? ID9.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service67.of({ ask, assert, reply, get, forSession, list });
286
+ return Service58.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node71 = makeLocationNode({
289
- service: Service67,
288
+ var node61 = makeLocationNode({
289
+ service: Service58,
290
290
  layer,
291
- deps: [node84, node80, node74, node72, node73, node75]
291
+ deps: [node77, node73, node64, node62, node63, node80]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID11, Source5, Request2, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service67, node71, exports_permission2, Rule3, Ruleset2, Event17 };
294
+ export { PermissionEffect, ID9, Source5, Request2, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service58, node61, exports_permission2, Rule3, Ruleset2, Event15 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  empty3,
5
- make20,
5
+ make19,
6
6
  diffByKey2
7
- } from "./file-02nrjc1r.js";
7
+ } from "./model-t550f9t1.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./file-rtd9zf3v.js";
10
+ } from "./model-hxevvepb.js";
11
11
  import {
12
- Service31,
13
- node35
14
- } from "./file-frwkzbx8.js";
12
+ Service26,
13
+ node30
14
+ } from "./model-3hdw1vhc.js";
15
15
  import {
16
16
  namespace2,
17
- name14
18
- } from "./file-mv3cjtdy.js";
17
+ name13
18
+ } from "./model-1crpa11v.js";
19
19
  import {
20
20
  __export
21
- } from "./file-9rqn6x4v.js";
21
+ } from "./model-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
- var exports_instructions4 = {};
25
- __export(exports_instructions4, {
26
- McpInstructions: () => exports_instructions4,
27
- Service: () => Service29,
28
- layer: () => layer12,
29
- node: () => node33
24
+ var exports_instructions5 = {};
25
+ __export(exports_instructions5, {
26
+ McpInstructions: () => exports_instructions5,
27
+ Service: () => Service21,
28
+ layer: () => layer8,
29
+ node: () => node26
30
30
  });
31
31
  import { makeLocationNode } from "@opencode/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,17 +62,17 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service29 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service21 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer12 = Layer.effect(Service29, Effect.gen(function* () {
68
- const mcp = yield* Service31;
69
- return Service29.of({
67
+ var layer8 = Layer.effect(Service21, Effect.gen(function* () {
68
+ const mcp = yield* Service26;
69
+ return Service21.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
- const source = (value) => make20({
75
- key: Key4.make("core/mcp-guidance"),
74
+ const source = (value) => make19({
75
+ key: Key3.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
78
78
  render: {
@@ -90,7 +90,7 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
90
90
  const codemode = owned[0]?.codemode !== false;
91
91
  if (codemode && !canExecute)
92
92
  return [];
93
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
93
+ if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
94
94
  return [];
95
95
  return [
96
96
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node33 = makeLocationNode({ service: Service29, layer: layer12, deps: [node35] });
103
+ var node26 = makeLocationNode({ service: Service21, layer: layer8, deps: [node30] });
104
104
 
105
- export { Service29, layer12, node33, exports_instructions4 };
105
+ export { Service21, layer8, node26, exports_instructions5 };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID7,
2
+ ID17,
3
3
  Family2
4
- } from "./file-zte42zvw.js";
4
+ } from "./model-7pkhtfns.js";
5
5
  import {
6
- Service38
7
- } from "./file-v8h4em9y.js";
6
+ Service42
7
+ } from "./model-sh0rasge.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./file-s07qazfk.js";
10
+ } from "./model-5b2dqtre.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
45
45
  });
46
46
  var discovery = new Map;
47
47
  var discoveryLock = Semaphore.makeUnsafe(1);
48
- function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
49
49
  return define({
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service38;
53
+ const config = yield* Service42;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  catalog.model.update(providerID, item.model, (model) => {
80
- model.modelID = ID7.make(item.model);
80
+ model.modelID = ID17.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -151,7 +151,7 @@ function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make8();
154
+ var OllamaPlugin2 = make6();
155
155
  function configured(entries, origin) {
156
156
  const settings = foldSettings2(entries, providerID, undefined);
157
157
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -170,4 +170,4 @@ function configured(entries, origin) {
170
170
  return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
171
171
  }
172
172
 
173
- export { make8, OllamaPlugin2 };
173
+ export { make6, OllamaPlugin2 };