@opencode-ai/core 0.0.0-dev-19202 → 0.0.0-dev-19205

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 (775) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  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-fy6n5twb.js → workspace-03vfzkzq.js} +4 -4
  9. package/dist/chunks/{model-resolver-0e0xafbb.js → workspace-0e0xafbb.js} +2 -2
  10. package/dist/chunks/{model-resolver-ebpav8ht.js → workspace-0hmtqxr6.js} +33 -33
  11. package/dist/chunks/{model-resolver-xr5vwsd4.js → workspace-0myjdyv6.js} +9 -9
  12. package/dist/chunks/{model-resolver-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{model-resolver-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{model-resolver-0s9ayhjt.js → workspace-0s9ayhjt.js} +1 -1
  15. package/dist/chunks/{model-resolver-r8xr0va3.js → workspace-1acjjqhc.js} +4 -4
  16. package/dist/chunks/{model-resolver-mvfsc1pv.js → workspace-1bbkgx8g.js} +3 -3
  17. package/dist/chunks/{model-resolver-nj1fe1jb.js → workspace-1cngsnb6.js} +20 -20
  18. package/dist/chunks/{model-resolver-1ct4r87x.js → workspace-1ct4r87x.js} +1 -1
  19. package/dist/chunks/{model-resolver-qq0tkz6q.js → workspace-1nk2mnc0.js} +3 -3
  20. package/dist/chunks/{model-resolver-zhptab2p.js → workspace-1nn7y83w.js} +6 -6
  21. package/dist/chunks/{model-resolver-z3h7hm3n.js → workspace-1p8bnmch.js} +4 -4
  22. package/dist/chunks/{model-resolver-6tt6g98m.js → workspace-1vvbdqbr.js} +20 -20
  23. package/dist/chunks/{model-resolver-21r38tys.js → workspace-21r38tys.js} +1 -1
  24. package/dist/chunks/{model-resolver-2402vzrj.js → workspace-2402vzrj.js} +1 -1
  25. package/dist/chunks/{model-resolver-7x9n72sf.js → workspace-271bx2e5.js} +13 -13
  26. package/dist/chunks/{model-resolver-amhrny11.js → workspace-28rw05gp.js} +15 -15
  27. package/dist/chunks/{model-resolver-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{model-resolver-zajwd6at.js → workspace-2ady357n.js} +5 -5
  29. package/dist/chunks/{model-resolver-tcfdn8aw.js → workspace-2ahv2hha.js} +24 -24
  30. package/dist/chunks/{model-resolver-2ht70gj7.js → workspace-2ht70gj7.js} +1 -1
  31. package/dist/chunks/{model-resolver-2k8khapm.js → workspace-2k8khapm.js} +1 -1
  32. package/dist/chunks/{model-resolver-yj3e99fm.js → workspace-2rcaaecz.js} +1 -1
  33. package/dist/chunks/{model-resolver-d9hq9bdj.js → workspace-2t2kmzm4.js} +9 -9
  34. package/dist/chunks/{model-resolver-1mvksd4s.js → workspace-2x6b75ng.js} +4 -4
  35. package/dist/chunks/{model-resolver-cvvv77jg.js → workspace-35ddpz83.js} +27 -27
  36. package/dist/chunks/{model-resolver-36vsdr69.js → workspace-36vsdr69.js} +2 -2
  37. package/dist/chunks/{model-resolver-0q56w8vj.js → workspace-3ay2m3f4.js} +7 -7
  38. package/dist/chunks/{model-resolver-ka1d01ec.js → workspace-3cm4x8pz.js} +5 -5
  39. package/dist/chunks/{model-resolver-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{model-resolver-0xd2d7hb.js → workspace-3g2y1byn.js} +5 -5
  41. package/dist/chunks/{model-resolver-w5fe4zgf.js → workspace-3h4fnpgw.js} +19 -19
  42. package/dist/chunks/{model-resolver-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{model-resolver-9z09jxjk.js → workspace-3hszvgvz.js} +8 -8
  44. package/dist/chunks/{model-resolver-n7z8rwmy.js → workspace-3pmbcp29.js} +12 -12
  45. package/dist/chunks/{model-resolver-2gqx3cqb.js → workspace-3pxrk450.js} +7 -7
  46. package/dist/chunks/{model-resolver-3qzbfqsy.js → workspace-3qzbfqsy.js} +2 -2
  47. package/dist/chunks/{model-resolver-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{model-resolver-6yj45qfn.js → workspace-3tvaxgfx.js} +4 -4
  49. package/dist/chunks/{model-resolver-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{model-resolver-7fjq4tnf.js → workspace-3vc8p5k6.js} +15 -15
  51. package/dist/chunks/{model-resolver-trt9khgc.js → workspace-3yfazbhv.js} +24 -24
  52. package/dist/chunks/{model-resolver-pt7wq7x0.js → workspace-42my878b.js} +1 -1
  53. package/dist/chunks/{model-resolver-454k5vzh.js → workspace-454k5vzh.js} +1 -1
  54. package/dist/chunks/{model-resolver-p3a8ybaq.js → workspace-4fzx0x4v.js} +5 -5
  55. package/dist/chunks/{model-resolver-z79mad95.js → workspace-4m93txkv.js} +9 -9
  56. package/dist/chunks/{model-resolver-6rb05nrd.js → workspace-4ns6x4rf.js} +21 -21
  57. package/dist/chunks/{model-resolver-6bktjyyc.js → workspace-4p7rp1jt.js} +13 -13
  58. package/dist/chunks/{model-resolver-jq2p7hez.js → workspace-4pp1x3ye.js} +23 -23
  59. package/dist/chunks/{model-resolver-4r2nyarf.js → workspace-4r2nyarf.js} +1 -1
  60. package/dist/chunks/{model-resolver-jpwcqcav.js → workspace-4rpbkfyg.js} +1 -1
  61. package/dist/chunks/{model-resolver-a9c7wcwq.js → workspace-4w2mesf2.js} +12 -12
  62. package/dist/chunks/{model-resolver-gsfshahz.js → workspace-4wzn6ynj.js} +20 -20
  63. package/dist/chunks/{model-resolver-a75v1xyy.js → workspace-5359xvc8.js} +11 -11
  64. package/dist/chunks/{model-resolver-dhsttevq.js → workspace-55fasg25.js} +20 -20
  65. package/dist/chunks/{model-resolver-xd1gj6jr.js → workspace-5ckspze9.js} +9 -9
  66. package/dist/chunks/{model-resolver-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  67. package/dist/chunks/{model-resolver-5fmxt4p5.js → workspace-5fmxt4p5.js} +1 -1
  68. package/dist/chunks/{model-resolver-5jvc5tg2.js → workspace-5jvc5tg2.js} +1 -1
  69. package/dist/chunks/{model-resolver-c76spgvt.js → workspace-5meqwk0k.js} +4 -4
  70. package/dist/chunks/{model-resolver-52z9exmq.js → workspace-5pe0hmxx.js} +39 -39
  71. package/dist/chunks/{model-resolver-t35vvjm0.js → workspace-5sg91gv8.js} +11 -11
  72. package/dist/chunks/{model-resolver-vr2m7p38.js → workspace-5y7zc6aq.js} +30 -30
  73. package/dist/chunks/{model-resolver-wr9ysm64.js → workspace-60jjdk7y.js} +9 -9
  74. package/dist/chunks/{model-resolver-h8f15ghy.js → workspace-65crtejd.js} +35 -35
  75. package/dist/chunks/{model-resolver-daj0k9by.js → workspace-6btbfb8s.js} +38 -38
  76. package/dist/chunks/{model-resolver-fm2qvscf.js → workspace-6hh8tjw2.js} +4 -4
  77. package/dist/chunks/{model-resolver-6ks5kqks.js → workspace-6hnqpqne.js} +24 -24
  78. package/dist/chunks/{model-resolver-dd6t7n6p.js → workspace-6mj9xsav.js} +13 -13
  79. package/dist/chunks/{model-resolver-n0qm516r.js → workspace-6qwb5pya.js} +10 -10
  80. package/dist/chunks/{model-resolver-fepbnb8j.js → workspace-6vq97qmv.js} +5 -5
  81. package/dist/chunks/{model-resolver-xjfjd024.js → workspace-6zrzqgzk.js} +17 -17
  82. package/dist/chunks/{model-resolver-711hfp6y.js → workspace-711hfp6y.js} +2 -2
  83. package/dist/chunks/{model-resolver-72nftnjy.js → workspace-72nftnjy.js} +2 -2
  84. package/dist/chunks/{model-resolver-jnmmvqjs.js → workspace-79xc10f4.js} +1 -1
  85. package/dist/chunks/{model-resolver-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{model-resolver-cp47cn18.js → workspace-7dhzh695.js} +28 -28
  87. package/dist/chunks/{model-resolver-kwfjfb3x.js → workspace-7p5wxxxx.js} +24 -24
  88. package/dist/chunks/{model-resolver-g869pf5g.js → workspace-7p6a67hm.js} +8 -8
  89. package/dist/chunks/{model-resolver-d1a1bt21.js → workspace-7tfg2zmn.js} +5 -5
  90. package/dist/chunks/{model-resolver-2m5rhxa5.js → workspace-7vxh8h3h.js} +6 -6
  91. package/dist/chunks/{model-resolver-k22h4khz.js → workspace-7x9ad5fb.js} +12 -12
  92. package/dist/chunks/{model-resolver-pmt5dx08.js → workspace-81nm525f.js} +54 -54
  93. package/dist/chunks/{model-resolver-pzkjnmpb.js → workspace-85x8f8aa.js} +13 -13
  94. package/dist/chunks/{model-resolver-7cm3k2ba.js → workspace-85xbc70q.js} +16 -16
  95. package/dist/chunks/{model-resolver-xz4sbw44.js → workspace-883yd3e0.js} +59 -59
  96. package/dist/chunks/{model-resolver-04nrqb8q.js → workspace-8f46hmee.js} +20 -20
  97. package/dist/chunks/{model-resolver-1bwaarmf.js → workspace-8gq481r1.js} +4 -4
  98. package/dist/chunks/{model-resolver-5qdzg6f9.js → workspace-8rvhm2ed.js} +15 -15
  99. package/dist/chunks/{model-resolver-a12rb003.js → workspace-8tz2fejb.js} +24 -24
  100. package/dist/chunks/{model-resolver-45c840ky.js → workspace-8xd7p2c8.js} +46 -46
  101. package/dist/chunks/{model-resolver-4325r94x.js → workspace-8zy2gh99.js} +3 -3
  102. package/dist/chunks/{model-resolver-sb2pm13j.js → workspace-92rbr2mf.js} +32 -32
  103. package/dist/chunks/{model-resolver-93a8yfjt.js → workspace-93a8yfjt.js} +2 -2
  104. package/dist/chunks/{model-resolver-vhpw989j.js → workspace-94hfyg4q.js} +16 -16
  105. package/dist/chunks/{model-resolver-97f5v037.js → workspace-97f5v037.js} +1 -1
  106. package/dist/chunks/{model-resolver-z9pdm7mn.js → workspace-99xnga9r.js} +43 -43
  107. package/dist/chunks/{model-resolver-6926ty5t.js → workspace-9cnpj473.js} +8 -8
  108. package/dist/chunks/{model-resolver-f2t11rgb.js → workspace-9fhbt2be.js} +18 -18
  109. package/dist/chunks/{model-resolver-q5kb97vr.js → workspace-9hc93zyr.js} +11 -11
  110. package/dist/chunks/workspace-9m2n3md9.js +247 -0
  111. package/dist/chunks/{model-resolver-d44mvk5w.js → workspace-9ppnsynd.js} +6 -6
  112. package/dist/chunks/{model-resolver-9qm9egsn.js → workspace-9qm9egsn.js} +2 -2
  113. package/dist/chunks/workspace-9r1rwy3c.js +460 -0
  114. package/dist/chunks/{model-resolver-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  115. package/dist/chunks/{model-resolver-qqmc633y.js → workspace-afv5t5ae.js} +11 -11
  116. package/dist/chunks/{model-resolver-xaspcyx5.js → workspace-ahrrvtaa.js} +166 -166
  117. package/dist/chunks/{model-resolver-ajtjthsy.js → workspace-ajtjthsy.js} +2 -2
  118. package/dist/chunks/{model-resolver-vn39pvqa.js → workspace-amczc845.js} +37 -37
  119. package/dist/chunks/{model-resolver-xft3xkxh.js → workspace-axzt4st2.js} +11 -11
  120. package/dist/chunks/{model-resolver-2w6bfmvf.js → workspace-b0z70ywn.js} +1 -1
  121. package/dist/chunks/{model-resolver-wfwqxwhj.js → workspace-b6bbhee8.js} +9 -9
  122. package/dist/chunks/{model-resolver-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  123. package/dist/chunks/{model-resolver-b9wsbatv.js → workspace-b9wsbatv.js} +1 -1
  124. package/dist/chunks/{model-resolver-an7cqtb7.js → workspace-bct739vz.js} +4 -4
  125. package/dist/chunks/{model-resolver-z8jfykz0.js → workspace-bjppfg2a.js} +10 -10
  126. package/dist/chunks/{model-resolver-pae9v2p1.js → workspace-bjs50m4b.js} +8 -8
  127. package/dist/chunks/{model-resolver-bphmvjfp.js → workspace-bphmvjfp.js} +2 -2
  128. package/dist/chunks/{model-resolver-16hj88rm.js → workspace-bsg25x2z.js} +19 -19
  129. package/dist/chunks/{model-resolver-yvnsnb9v.js → workspace-bykg0h2w.js} +22 -22
  130. package/dist/chunks/{model-resolver-pjedbq3k.js → workspace-c576t1j6.js} +7 -7
  131. package/dist/chunks/{model-resolver-mrca8mn9.js → workspace-cmd5jf8k.js} +15 -15
  132. package/dist/chunks/{model-resolver-0ancwgef.js → workspace-cx0fx8se.js} +5 -5
  133. package/dist/chunks/{model-resolver-hm42kar1.js → workspace-d4tfyaan.js} +4 -4
  134. package/dist/chunks/{model-resolver-mj9y1f9w.js → workspace-d711ctq6.js} +25 -25
  135. package/dist/chunks/{model-resolver-d72308c8.js → workspace-d72308c8.js} +2 -2
  136. package/dist/chunks/{model-resolver-dhmh7aw6.js → workspace-ddt2bs9e.js} +4 -4
  137. package/dist/chunks/{model-resolver-1rm0drdm.js → workspace-de8s0qqs.js} +2 -2
  138. package/dist/chunks/{model-resolver-haqbnmr5.js → workspace-dhyjrgft.js} +4 -4
  139. package/dist/chunks/{model-resolver-whrpd8wj.js → workspace-dj748nyr.js} +5 -5
  140. package/dist/chunks/{model-resolver-bfenx2tw.js → workspace-drmgzmfy.js} +4 -4
  141. package/dist/chunks/{model-resolver-xb1yhede.js → workspace-dzqzmdsn.js} +15 -15
  142. package/dist/chunks/{model-resolver-2ejk6t2t.js → workspace-edvaqj4j.js} +17 -17
  143. package/dist/chunks/{model-resolver-eg4pr325.js → workspace-eg4pr325.js} +3 -3
  144. package/dist/chunks/{model-resolver-qvpg2584.js → workspace-emjf39gq.js} +11 -11
  145. package/dist/chunks/{model-resolver-n52wrphd.js → workspace-f0fy18t3.js} +20 -20
  146. package/dist/chunks/{model-resolver-3mrm2hwf.js → workspace-f4g7wt00.js} +10 -10
  147. package/dist/chunks/{model-resolver-yzxcxw3p.js → workspace-f5emzv0f.js} +11 -11
  148. package/dist/chunks/{model-resolver-kbfs3jn6.js → workspace-far2rsft.js} +16 -16
  149. package/dist/chunks/{model-resolver-hgwc40d2.js → workspace-fbvatgqx.js} +18 -18
  150. package/dist/chunks/{model-resolver-qs4avvkb.js → workspace-fhvjqr7f.js} +1 -1
  151. package/dist/chunks/{model-resolver-qz49fwgp.js → workspace-fvanntqq.js} +4 -4
  152. package/dist/chunks/{model-resolver-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{model-resolver-fxypknc8.js → workspace-fxypknc8.js} +1 -1
  154. package/dist/chunks/{model-resolver-rvb2zp0m.js → workspace-g19vc6v7.js} +6 -6
  155. package/dist/chunks/{model-resolver-7wxchhek.js → workspace-g2fmcnne.js} +26 -26
  156. package/dist/chunks/{model-resolver-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{model-resolver-2pgk7vty.js → workspace-gpkgrk3z.js} +2 -2
  158. package/dist/chunks/{model-resolver-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{model-resolver-heyhwy2w.js → workspace-heyhwy2w.js} +1 -1
  160. package/dist/chunks/workspace-hh05q5c4.js +22 -0
  161. package/dist/chunks/{model-resolver-nv1jjwpd.js → workspace-hr77wr0b.js} +4 -4
  162. package/dist/chunks/{model-resolver-hrvm11jt.js → workspace-hrvm11jt.js} +3 -3
  163. package/dist/chunks/{model-resolver-kvsjn1dr.js → workspace-hw4pv20g.js} +2 -2
  164. package/dist/chunks/{model-resolver-mh7ehz1v.js → workspace-hyd6a1dg.js} +21 -21
  165. package/dist/chunks/{model-resolver-c05z1hzq.js → workspace-j11eh89n.js} +7 -7
  166. package/dist/chunks/{model-resolver-25g0a3wm.js → workspace-j1hn46j4.js} +36 -36
  167. package/dist/chunks/{model-resolver-ymmafesq.js → workspace-jf5tw5w7.js} +5 -5
  168. package/dist/chunks/{model-resolver-768z0hjh.js → workspace-jp5dra8g.js} +1 -1
  169. package/dist/chunks/{model-resolver-k4bwy1x5.js → workspace-k4bwy1x5.js} +1 -1
  170. package/dist/chunks/{model-resolver-xgb46x83.js → workspace-k6rrywxw.js} +32 -32
  171. package/dist/chunks/{model-resolver-sjdwkfxd.js → workspace-k82d1k56.js} +32 -32
  172. package/dist/chunks/{model-resolver-kg06axw8.js → workspace-kg06axw8.js} +1 -1
  173. package/dist/chunks/{model-resolver-ypg1pkf2.js → workspace-kj9qd3t9.js} +6 -6
  174. package/dist/chunks/{model-resolver-pk1prh3n.js → workspace-kjj7vg4z.js} +11 -11
  175. package/dist/chunks/{model-resolver-rese3z7z.js → workspace-kn073nsz.js} +6 -6
  176. package/dist/chunks/{model-resolver-6eq76p0n.js → workspace-m27hrjtw.js} +9 -9
  177. package/dist/chunks/{model-resolver-0bhzd4d6.js → workspace-m44s4ae7.js} +8 -8
  178. package/dist/chunks/{model-resolver-c1pc5gy5.js → workspace-m8f081sj.js} +9 -9
  179. package/dist/chunks/{model-resolver-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{model-resolver-1wj6fe6f.js → workspace-ma1ffcb4.js} +32 -32
  181. package/dist/chunks/{model-resolver-zgza400y.js → workspace-ma1hsyqq.js} +7 -7
  182. package/dist/chunks/{model-resolver-tbhhj5cs.js → workspace-mah8zyxa.js} +15 -15
  183. package/dist/chunks/{model-resolver-x5da3ets.js → workspace-mcz55ydv.js} +15 -15
  184. package/dist/chunks/{model-resolver-wcav6c40.js → workspace-mebjn8ym.js} +13 -13
  185. package/dist/chunks/{model-resolver-mfqp6xfm.js → workspace-mfqp6xfm.js} +2 -2
  186. package/dist/chunks/{model-resolver-9tjsbxxt.js → workspace-mwb1rh8h.js} +4 -4
  187. package/dist/chunks/{model-resolver-8b66w0av.js → workspace-mzq59fwg.js} +27 -27
  188. package/dist/chunks/{model-resolver-jjv4cws2.js → workspace-n0pwvc8d.js} +7 -7
  189. package/dist/chunks/{model-resolver-n8qe30xq.js → workspace-n8qe30xq.js} +2 -2
  190. package/dist/chunks/{model-resolver-agpxhpem.js → workspace-ndbqskvj.js} +47 -47
  191. package/dist/chunks/{model-resolver-3g3bkchr.js → workspace-ngmekjny.js} +4 -4
  192. package/dist/chunks/{model-resolver-gfbnzf5x.js → workspace-nh4ndjrr.js} +20 -20
  193. package/dist/chunks/{model-resolver-nhy5jxhy.js → workspace-nhy5jxhy.js} +1 -1
  194. package/dist/chunks/{model-resolver-1ydgq2r4.js → workspace-nkd0m12v.js} +5 -5
  195. package/dist/chunks/{model-resolver-n9whx688.js → workspace-nsk2d1xz.js} +3 -3
  196. package/dist/chunks/{model-resolver-pbk0bgfv.js → workspace-nxj5ea3t.js} +2 -2
  197. package/dist/chunks/{model-resolver-zf2pwqth.js → workspace-nxqkj03p.js} +10 -10
  198. package/dist/chunks/{model-resolver-g1qbfqak.js → workspace-p28j91f1.js} +79 -79
  199. package/dist/chunks/{model-resolver-8na2q2w3.js → workspace-p2cy59ta.js} +32 -32
  200. package/dist/chunks/{model-resolver-9cnab95r.js → workspace-pa20sa4h.js} +22 -22
  201. package/dist/chunks/{model-resolver-j935v87r.js → workspace-paphc93g.js} +2 -2
  202. package/dist/chunks/{model-resolver-56293sgk.js → workspace-pfbznffx.js} +9 -9
  203. package/dist/chunks/{model-resolver-8bcbmssv.js → workspace-pfgzwmcs.js} +10 -10
  204. package/dist/chunks/{model-resolver-xf29bhrb.js → workspace-pjhc3vrw.js} +25 -25
  205. package/dist/chunks/{model-resolver-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{model-resolver-pknna89w.js → workspace-pknna89w.js} +1 -1
  207. package/dist/chunks/{model-resolver-rz6a3sbe.js → workspace-pnpzjwqk.js} +22 -22
  208. package/dist/chunks/{model-resolver-1zsnv1c7.js → workspace-prf0khpv.js} +8 -8
  209. package/dist/chunks/{model-resolver-85mg7hhh.js → workspace-pw75w6wp.js} +27 -27
  210. package/dist/chunks/{model-resolver-pyj5p63s.js → workspace-pyfyb4h2.js} +10 -10
  211. package/dist/chunks/workspace-qdyb70sk.js +18 -0
  212. package/dist/chunks/{model-resolver-y86ghdgz.js → workspace-qgmahjq5.js} +3 -3
  213. package/dist/chunks/{model-resolver-8vfmqbrd.js → workspace-qqhry4hf.js} +25 -25
  214. package/dist/chunks/{model-resolver-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  215. package/dist/chunks/{model-resolver-ds7ysbcx.js → workspace-r5ef8gce.js} +48 -48
  216. package/dist/chunks/{model-resolver-4hdyv2zw.js → workspace-r82j2j5s.js} +9 -9
  217. package/dist/chunks/{model-resolver-r8dhm0tv.js → workspace-r8dhm0tv.js} +1 -1
  218. package/dist/chunks/{model-resolver-01q1wmsg.js → workspace-r8rw83k9.js} +15 -15
  219. package/dist/chunks/{model-resolver-3b41mhr3.js → workspace-radsv5bn.js} +11 -11
  220. package/dist/chunks/{model-resolver-rmgpg45v.js → workspace-rnaezqx7.js} +24 -24
  221. package/dist/chunks/{model-resolver-15pjntb5.js → workspace-s3wt6vds.js} +10 -10
  222. package/dist/chunks/{model-resolver-sba4qhjf.js → workspace-sba4qhjf.js} +1 -1
  223. package/dist/chunks/{model-resolver-jtb47g3a.js → workspace-sbrc3g05.js} +13 -13
  224. package/dist/chunks/{model-resolver-jrr570aw.js → workspace-sd6hqhqe.js} +9 -9
  225. package/dist/chunks/{model-resolver-t044qcb6.js → workspace-sj94kzgm.js} +8 -8
  226. package/dist/chunks/{model-resolver-smnvvzmt.js → workspace-sjedy0tv.js} +18 -18
  227. package/dist/chunks/{model-resolver-8arm59qw.js → workspace-sthbfsvd.js} +26 -26
  228. package/dist/chunks/{model-resolver-34rgtrgw.js → workspace-sw8m2hmk.js} +7 -7
  229. package/dist/chunks/{model-resolver-8rk7xmhz.js → workspace-t8c6dkjz.js} +30 -30
  230. package/dist/chunks/{model-resolver-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{model-resolver-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{model-resolver-r67ewn20.js → workspace-tcvwtwdv.js} +8 -8
  233. package/dist/chunks/{model-resolver-ybnqsmq7.js → workspace-tdv1x8ch.js} +11 -11
  234. package/dist/chunks/{model-resolver-tkb4f2r7.js → workspace-tf9n79be.js} +15 -15
  235. package/dist/chunks/{model-resolver-tjykrgmx.js → workspace-tjykrgmx.js} +1 -1
  236. package/dist/chunks/{model-resolver-0qr0cjqp.js → workspace-tp4ca0ax.js} +33 -33
  237. package/dist/chunks/{model-resolver-tppvcy65.js → workspace-tppvcy65.js} +2 -2
  238. package/dist/chunks/{model-resolver-vqebmn7g.js → workspace-tsvywdvc.js} +24 -24
  239. package/dist/chunks/{model-resolver-t6yc1zyn.js → workspace-tx5ymanw.js} +9 -9
  240. package/dist/chunks/{model-resolver-fz1pdqz4.js → workspace-tynz9yxk.js} +8 -8
  241. package/dist/chunks/{model-resolver-hdfh4kmr.js → workspace-v432x66a.js} +9 -9
  242. package/dist/chunks/{model-resolver-nvecvfg1.js → workspace-vwd9ve21.js} +31 -31
  243. package/dist/chunks/{model-resolver-1hy241bm.js → workspace-vwwkt776.js} +3 -3
  244. package/dist/chunks/{model-resolver-gxc2v2ks.js → workspace-vy6h5a2r.js} +11 -11
  245. package/dist/chunks/{model-resolver-smjktvs8.js → workspace-vz6qr5p1.js} +6 -6
  246. package/dist/chunks/{model-resolver-84vg3atq.js → workspace-w1ym465x.js} +10 -10
  247. package/dist/chunks/{model-resolver-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{model-resolver-w991kqb0.js → workspace-wckzh42d.js} +18 -18
  249. package/dist/chunks/{model-resolver-wd87259q.js → workspace-wd87259q.js} +1 -1
  250. package/dist/chunks/{model-resolver-bc3eevve.js → workspace-wkm1m5t3.js} +16 -16
  251. package/dist/chunks/{model-resolver-29vm76e6.js → workspace-wp7kaye5.js} +25 -25
  252. package/dist/chunks/{model-resolver-gww66jkq.js → workspace-wpcfp9tf.js} +22 -22
  253. package/dist/chunks/{model-resolver-gt3w77ph.js → workspace-wpm9ga6w.js} +19 -19
  254. package/dist/chunks/{model-resolver-rd9dg6mx.js → workspace-x0dx6k02.js} +8 -8
  255. package/dist/chunks/{model-resolver-w7krw9hh.js → workspace-x154ebjh.js} +10 -10
  256. package/dist/chunks/{model-resolver-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{model-resolver-3cz2rdwz.js → workspace-x7m1j1fp.js} +11 -11
  258. package/dist/chunks/{model-resolver-57smdxt4.js → workspace-xcdna4jd.js} +15 -15
  259. package/dist/chunks/{model-resolver-wnhc2w01.js → workspace-xrryncgn.js} +24 -24
  260. package/dist/chunks/{model-resolver-0vcgwdj5.js → workspace-xsa9y6rb.js} +24 -24
  261. package/dist/chunks/{model-resolver-5mhvc9ws.js → workspace-y0v6q609.js} +11 -11
  262. package/dist/chunks/{model-resolver-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{model-resolver-y71avatq.js → workspace-y71avatq.js} +1 -1
  264. package/dist/chunks/{model-resolver-h4ka1g8b.js → workspace-y7e6xj4q.js} +50 -50
  265. package/dist/chunks/{model-resolver-gpvbfbv1.js → workspace-y7qh7890.js} +19 -19
  266. package/dist/chunks/{model-resolver-4kbdx47m.js → workspace-yf54mt1p.js} +3 -3
  267. package/dist/chunks/{model-resolver-yfbd16n1.js → workspace-yfbd16n1.js} +2 -2
  268. package/dist/chunks/{model-resolver-q5pkwzxb.js → workspace-ygys01m5.js} +17 -17
  269. package/dist/chunks/{model-resolver-ve9vvn65.js → workspace-yhkdd2kz.js} +18 -18
  270. package/dist/chunks/{model-resolver-ye01600q.js → workspace-yk8npxfk.js} +20 -20
  271. package/dist/chunks/{model-resolver-vj55tknd.js → workspace-ytf4r5bp.js} +11 -11
  272. package/dist/chunks/{model-resolver-fzs22wv3.js → workspace-yvj5jp1z.js} +8 -8
  273. package/dist/chunks/{model-resolver-wgt7v56c.js → workspace-z0sbs2re.js} +12 -12
  274. package/dist/chunks/{model-resolver-bta0rsxr.js → workspace-z10vnmxm.js} +3 -3
  275. package/dist/chunks/{model-resolver-z1k01bn4.js → workspace-z1k01bn4.js} +2 -2
  276. package/dist/chunks/{model-resolver-29x78va6.js → workspace-z63w68vq.js} +6 -6
  277. package/dist/chunks/{model-resolver-rfwpvx00.js → workspace-z8vgejr7.js} +39 -39
  278. package/dist/chunks/{model-resolver-1nfczbs6.js → workspace-zarjf3s7.js} +24 -24
  279. package/dist/chunks/{model-resolver-dkbgd4kx.js → workspace-zgzs5n0b.js} +6 -6
  280. package/dist/chunks/{model-resolver-f2gse5fy.js → workspace-zkhm2pfg.js} +6 -6
  281. package/dist/chunks/{model-resolver-wkm999c9.js → workspace-zn8trsas.js} +16 -16
  282. package/dist/chunks/{model-resolver-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{model-resolver-0xvppt2q.js → workspace-zxsw3nsr.js} +17 -17
  284. package/dist/chunks/{model-resolver-6atxajng.js → workspace-zzd0j898.js} +85 -85
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +79 -79
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +115 -115
  293. package/dist/config/plugin/command.js +206 -206
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +115 -115
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +115 -115
  300. package/dist/config/plugin/mcp.js +122 -122
  301. package/dist/config/plugin/policy.js +114 -114
  302. package/dist/config/plugin/provider.js +113 -113
  303. package/dist/config/plugin/reference.js +117 -117
  304. package/dist/config/plugin/shell.js +116 -116
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +133 -133
  307. package/dist/config/plugin/snapshot.js +115 -115
  308. package/dist/config/plugin/source.js +111 -111
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +113 -113
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +117 -117
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +79 -79
  317. package/dist/database/database.js +64 -64
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +74 -74
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +359 -359
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +1 -1
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +68 -68
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +4 -4
  414. package/dist/filesystem/location-watcher.js +217 -217
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +13 -13
  419. package/dist/filesystem.js +96 -96
  420. package/dist/form.js +82 -82
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +84 -84
  423. package/dist/generate.js +91 -91
  424. package/dist/git.js +3 -3
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +3 -3
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +350 -350
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +1 -1
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +84 -84
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +127 -127
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +81 -81
  460. package/dist/location-services.js +347 -347
  461. package/dist/location.js +80 -80
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +103 -103
  464. package/dist/mcp/instructions.js +121 -121
  465. package/dist/mcp/oauth.js +3 -3
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +3 -3
  469. package/dist/model-resolver.js +86 -86
  470. package/dist/model.js +6 -6
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +80 -80
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +107 -107
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +82 -82
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +94 -94
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +212 -212
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +321 -321
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +5 -5
  490. package/dist/plugin/optimize.js +2 -2
  491. package/dist/plugin/plan.js +96 -96
  492. package/dist/plugin/promise.js +1 -1
  493. package/dist/plugin/provider/alibaba.js +2 -2
  494. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  495. package/dist/plugin/provider/anthropic.js +2 -2
  496. package/dist/plugin/provider/azure.js +118 -118
  497. package/dist/plugin/provider/cerebras.js +2 -2
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +114 -114
  502. package/dist/plugin/provider/dynamic.js +2 -2
  503. package/dist/plugin/provider/factory.js +1 -1
  504. package/dist/plugin/provider/gateway.js +2 -2
  505. package/dist/plugin/provider/github-copilot.js +80 -80
  506. package/dist/plugin/provider/gitlab.js +3 -3
  507. package/dist/plugin/provider/google-vertex.js +2 -2
  508. package/dist/plugin/provider/kilo.js +2 -2
  509. package/dist/plugin/provider/llmgateway.js +76 -76
  510. package/dist/plugin/provider/lmstudio.js +117 -117
  511. package/dist/plugin/provider/mistral.js +2 -2
  512. package/dist/plugin/provider/modal.js +79 -79
  513. package/dist/plugin/provider/nvidia.js +2 -2
  514. package/dist/plugin/provider/ollama.js +115 -115
  515. package/dist/plugin/provider/openai-compatible.js +1 -1
  516. package/dist/plugin/provider/openai.js +78 -78
  517. package/dist/plugin/provider/opencode.js +76 -76
  518. package/dist/plugin/provider/openrouter.js +3 -3
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/sap-ai-core.js +3 -3
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +2 -2
  525. package/dist/plugin/provider/vllm.js +117 -117
  526. package/dist/plugin/provider/xai.js +77 -77
  527. package/dist/plugin/provider/zenmux.js +2 -2
  528. package/dist/plugin/provider.js +155 -155
  529. package/dist/plugin/sdk.js +72 -72
  530. package/dist/plugin/service.js +3 -3
  531. package/dist/plugin/skill.js +130 -130
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +336 -336
  534. package/dist/plugin/update.js +2 -2
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +112 -112
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +2 -2
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin.js +219 -219
  546. package/dist/project/schema.js +2 -2
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +75 -75
  549. package/dist/provider.js +5 -5
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +1 -1
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +92 -92
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +84 -84
  556. package/dist/repository-cache.js +74 -74
  557. package/dist/repository.js +1 -1
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +93 -93
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +126 -126
  564. package/dist/session/context.js +146 -146
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +215 -215
  569. package/dist/session/execution.js +123 -123
  570. package/dist/session/generate.js +147 -147
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +86 -86
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +77 -77
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +87 -87
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +125 -125
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +3 -3
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +224 -224
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +86 -86
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +2 -2
  592. package/dist/session/runner/step.js +118 -118
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +168 -168
  596. package/dist/session/shell.js +131 -131
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +71 -71
  600. package/dist/session/store.js +84 -84
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +202 -202
  603. package/dist/session/system-prompt.js +1 -1
  604. package/dist/session/title.js +148 -148
  605. package/dist/session/to-session-error.js +106 -106
  606. package/dist/session/transfer.js +208 -208
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +210 -210
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +13 -13
  613. package/dist/shell.js +133 -133
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +106 -106
  617. package/dist/snapshot.js +88 -88
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +118 -118
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +117 -117
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +116 -116
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +203 -203
  631. package/dist/tool/plugin/skill.js +105 -105
  632. package/dist/tool/plugin/subagent.js +213 -213
  633. package/dist/tool/plugin/webfetch.js +104 -104
  634. package/dist/tool/plugin/websearch.js +106 -106
  635. package/dist/tool/plugin/write.js +116 -116
  636. package/dist/tool/read-filesystem.js +92 -92
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +11 -11
  640. package/dist/util/error-summary.js +1 -1
  641. package/dist/util/error.js +1 -1
  642. package/dist/util/iife.js +1 -1
  643. package/dist/util/lazy.js +1 -1
  644. package/dist/util/slug.js +1 -1
  645. package/dist/util/token.js +1 -1
  646. package/dist/util/which.js +1 -1
  647. package/dist/util/wildcard.js +1 -1
  648. package/dist/v1/config/agent.js +7 -7
  649. package/dist/v1/config/attachment.js +4 -4
  650. package/dist/v1/config/command.js +3 -3
  651. package/dist/v1/config/config.js +16 -16
  652. package/dist/v1/config/error.js +4 -4
  653. package/dist/v1/config/formatter.js +5 -5
  654. package/dist/v1/config/layout.js +1 -1
  655. package/dist/v1/config/lsp.js +3 -3
  656. package/dist/v1/config/mcp.js +4 -4
  657. package/dist/v1/config/migrate.js +4 -4
  658. package/dist/v1/config/permission.js +7 -7
  659. package/dist/v1/config/plugin.js +1 -1
  660. package/dist/v1/config/provider-options.js +1 -1
  661. package/dist/v1/config/provider.js +4 -4
  662. package/dist/v1/config/server.js +2 -2
  663. package/dist/v1/config/skills.js +3 -3
  664. package/dist/v1/permission.js +1 -1
  665. package/dist/vcs/patch.js +1 -1
  666. package/dist/vcs.js +85 -85
  667. package/dist/websearch.js +82 -82
  668. package/dist/wellknown/plugin.js +74 -74
  669. package/dist/wellknown.js +79 -79
  670. package/dist/workspace/driver.js +3 -3
  671. package/dist/workspace/sql.js +1 -1
  672. package/dist/workspace.js +78 -78
  673. package/dist/worktree/directory.js +2 -2
  674. package/dist/worktree/git.js +7 -7
  675. package/dist/worktree/refresh.js +337 -337
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree.js +89 -89
  678. package/package.json +7 -7
  679. package/dist/chunks/model-resolver-1tymz7y1.js +0 -22
  680. package/dist/chunks/model-resolver-9ccst39j.js +0 -460
  681. package/dist/chunks/model-resolver-jqh9b0xq.js +0 -18
  682. package/dist/chunks/model-resolver-p6v8s9en.js +0 -247
  683. /package/dist/chunks/{model-resolver-0fabt78z.js → workspace-0fabt78z.js} +0 -0
  684. /package/dist/chunks/{model-resolver-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{model-resolver-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{model-resolver-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{model-resolver-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{model-resolver-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{model-resolver-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{model-resolver-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{model-resolver-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{model-resolver-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{model-resolver-3asan66x.js → workspace-3asan66x.js} +0 -0
  694. /package/dist/chunks/{model-resolver-3t738kvx.js → workspace-3t738kvx.js} +0 -0
  695. /package/dist/chunks/{model-resolver-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{model-resolver-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  697. /package/dist/chunks/{model-resolver-41nvscxy.js → workspace-41nvscxy.js} +0 -0
  698. /package/dist/chunks/{model-resolver-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{model-resolver-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{model-resolver-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  701. /package/dist/chunks/{model-resolver-53557ph1.js → workspace-53557ph1.js} +0 -0
  702. /package/dist/chunks/{model-resolver-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  703. /package/dist/chunks/{model-resolver-6prwharc.js → workspace-6prwharc.js} +0 -0
  704. /package/dist/chunks/{model-resolver-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  705. /package/dist/chunks/{model-resolver-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  706. /package/dist/chunks/{model-resolver-822emrt2.js → workspace-822emrt2.js} +0 -0
  707. /package/dist/chunks/{model-resolver-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  708. /package/dist/chunks/{model-resolver-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  709. /package/dist/chunks/{model-resolver-982e01ww.js → workspace-982e01ww.js} +0 -0
  710. /package/dist/chunks/{model-resolver-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  711. /package/dist/chunks/{model-resolver-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  712. /package/dist/chunks/{model-resolver-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
  713. /package/dist/chunks/{model-resolver-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  714. /package/dist/chunks/{model-resolver-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  715. /package/dist/chunks/{model-resolver-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  716. /package/dist/chunks/{model-resolver-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  717. /package/dist/chunks/{model-resolver-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  718. /package/dist/chunks/{model-resolver-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  719. /package/dist/chunks/{model-resolver-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  720. /package/dist/chunks/{model-resolver-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  721. /package/dist/chunks/{model-resolver-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  722. /package/dist/chunks/{model-resolver-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  723. /package/dist/chunks/{model-resolver-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  724. /package/dist/chunks/{model-resolver-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  725. /package/dist/chunks/{model-resolver-df08tz66.js → workspace-df08tz66.js} +0 -0
  726. /package/dist/chunks/{model-resolver-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  727. /package/dist/chunks/{model-resolver-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  728. /package/dist/chunks/{model-resolver-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  729. /package/dist/chunks/{model-resolver-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  730. /package/dist/chunks/{model-resolver-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  731. /package/dist/chunks/{model-resolver-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  732. /package/dist/chunks/{model-resolver-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  733. /package/dist/chunks/{model-resolver-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  734. /package/dist/chunks/{model-resolver-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  735. /package/dist/chunks/{model-resolver-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  736. /package/dist/chunks/{model-resolver-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  737. /package/dist/chunks/{model-resolver-g86h250q.js → workspace-g86h250q.js} +0 -0
  738. /package/dist/chunks/{model-resolver-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  739. /package/dist/chunks/{model-resolver-hk9envan.js → workspace-hk9envan.js} +0 -0
  740. /package/dist/chunks/{model-resolver-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  741. /package/dist/chunks/{model-resolver-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  742. /package/dist/chunks/{model-resolver-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  743. /package/dist/chunks/{model-resolver-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  744. /package/dist/chunks/{model-resolver-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  745. /package/dist/chunks/{model-resolver-mntxs535.js → workspace-mntxs535.js} +0 -0
  746. /package/dist/chunks/{model-resolver-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  747. /package/dist/chunks/{model-resolver-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  748. /package/dist/chunks/{model-resolver-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  749. /package/dist/chunks/{model-resolver-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  750. /package/dist/chunks/{model-resolver-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  751. /package/dist/chunks/{model-resolver-p8qxwesx.js → workspace-p8qxwesx.js} +0 -0
  752. /package/dist/chunks/{model-resolver-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  753. /package/dist/chunks/{model-resolver-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  754. /package/dist/chunks/{model-resolver-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  755. /package/dist/chunks/{model-resolver-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  756. /package/dist/chunks/{model-resolver-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  757. /package/dist/chunks/{model-resolver-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  758. /package/dist/chunks/{model-resolver-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  759. /package/dist/chunks/{model-resolver-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  760. /package/dist/chunks/{model-resolver-se0s1eqw.js → workspace-se0s1eqw.js} +0 -0
  761. /package/dist/chunks/{model-resolver-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  762. /package/dist/chunks/{model-resolver-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  763. /package/dist/chunks/{model-resolver-twg0f83k.js → workspace-twg0f83k.js} +0 -0
  764. /package/dist/chunks/{model-resolver-w3vb4krt.js → workspace-w3vb4krt.js} +0 -0
  765. /package/dist/chunks/{model-resolver-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  766. /package/dist/chunks/{model-resolver-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  767. /package/dist/chunks/{model-resolver-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  768. /package/dist/chunks/{model-resolver-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  769. /package/dist/chunks/{model-resolver-x1b8g1yb.js → workspace-x1b8g1yb.js} +0 -0
  770. /package/dist/chunks/{model-resolver-x61499pn.js → workspace-x61499pn.js} +0 -0
  771. /package/dist/chunks/{model-resolver-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  772. /package/dist/chunks/{model-resolver-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  773. /package/dist/chunks/{model-resolver-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  774. /package/dist/chunks/{model-resolver-z9919s4g.js → workspace-z9919s4g.js} +0 -0
  775. /package/dist/chunks/{model-resolver-zbjnn3ac.js → workspace-zbjnn3ac.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
- ID16,
2
+ ID15,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./model-resolver-rvb2zp0m.js";
8
+ } from "./workspace-g19vc6v7.js";
9
9
  import {
10
- Service59,
11
- node63
12
- } from "./model-resolver-3cz2rdwz.js";
10
+ Service42,
11
+ node45
12
+ } from "./workspace-x7m1j1fp.js";
13
13
  import {
14
14
  map2
15
- } from "./model-resolver-1rm0drdm.js";
15
+ } from "./workspace-de8s0qqs.js";
16
16
  import {
17
- ID15,
17
+ ID14,
18
18
  VariantID2,
19
19
  Ref3
20
- } from "./model-resolver-3mrm2hwf.js";
20
+ } from "./workspace-f4g7wt00.js";
21
21
  import {
22
- ID9,
23
- Service61,
24
- node65
25
- } from "./model-resolver-1nfczbs6.js";
22
+ ID12,
23
+ Service70,
24
+ node75
25
+ } from "./workspace-zarjf3s7.js";
26
26
  import {
27
- Service60,
28
- node64
29
- } from "./model-resolver-29vm76e6.js";
27
+ Service69,
28
+ node74
29
+ } from "./workspace-wp7kaye5.js";
30
30
  import {
31
31
  __export
32
- } from "./model-resolver-9rqn6x4v.js";
32
+ } from "./workspace-9rqn6x4v.js";
33
33
 
34
34
  // src/model-resolver.ts
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service58,
38
+ Service: () => Service41,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedPackageError: () => UnsupportedPackageError3,
41
41
  VariantUnavailableError: () => VariantUnavailableError3,
42
42
  fromCatalogModel: () => fromCatalogModel2,
43
43
  hasPackage: () => hasPackage2,
44
- layer: () => layer22,
45
- node: () => node62,
44
+ layer: () => layer18,
45
+ node: () => node44,
46
46
  resolveModel: () => resolveModel2,
47
47
  withVariant: () => withVariant2
48
48
  });
@@ -52,8 +52,8 @@ import { Auth } from "@opencode-ai/ai/route";
52
52
  import { Context, Effect, Layer, Schema, Struct } from "effect";
53
53
  import { Npm } from "@opencode-ai/util/npm";
54
54
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
55
- providerID: ID16,
56
- modelID: ID15,
55
+ providerID: ID15,
56
+ modelID: ID14,
57
57
  variant: VariantID2
58
58
  }) {
59
59
  get message() {
@@ -62,8 +62,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
62
62
  }
63
63
 
64
64
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
65
- providerID: ID16,
66
- modelID: ID15,
65
+ providerID: ID15,
66
+ modelID: ID14,
67
67
  package: Schema.String
68
68
  }) {
69
69
  get message() {
@@ -72,8 +72,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
72
72
  }
73
73
 
74
74
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
75
- providerID: ID16,
76
- modelID: ID15,
75
+ providerID: ID15,
76
+ modelID: ID14,
77
77
  variables: Schema.Array(Schema.String)
78
78
  }) {
79
79
  get message() {
@@ -81,7 +81,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
81
81
  }
82
82
  }
83
83
 
84
- class Service58 extends Context.Service()("@opencode/ModelResolver") {
84
+ class Service41 extends Context.Service()("@opencode/ModelResolver") {
85
85
  }
86
86
  var withVariant2 = (model, variantID) => {
87
87
  const id = variantID === "default" ? undefined : variantID;
@@ -203,14 +203,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
203
203
  });
204
204
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
205
205
  var hasPackage2 = (model) => Boolean(model.package);
206
- var layer22 = Layer.effect(Service58, Effect.gen(function* () {
207
- const catalog = yield* Service60;
208
- const integrations = yield* Service61;
206
+ var layer18 = Layer.effect(Service41, Effect.gen(function* () {
207
+ const catalog = yield* Service69;
208
+ const integrations = yield* Service70;
209
209
  const npm = yield* Npm.Service;
210
- const aisdk = yield* Service59;
210
+ const aisdk = yield* Service42;
211
211
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
212
212
  const provider = yield* catalog.provider.get(selected.providerID);
213
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
213
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
214
214
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
215
215
  const runtimeInfo = yield* withVariant2(selected, variant);
216
216
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -230,7 +230,7 @@ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
230
230
  limit: selected.limit
231
231
  };
232
232
  });
233
- return Service58.of({
233
+ return Service41.of({
234
234
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
235
235
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
236
236
  if (!selected)
@@ -247,10 +247,10 @@ function usesAPIKeyAuth(packageName) {
247
247
  const name = packageName2(packageName);
248
248
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode-ai/ai/providers/openai" || name?.startsWith("@opencode-ai/ai/providers/openai/") === true || name === "@opencode-ai/ai/providers/anthropic" || name === "@opencode-ai/ai/providers/anthropic-compatible" || name === "@opencode-ai/ai/providers/cerebras" || name === "@opencode-ai/ai/providers/deepinfra" || name === "@opencode-ai/ai/providers/openai-compatible" || name === "@opencode-ai/ai/providers/google" || name === "@opencode-ai/ai/providers/groq" || name === "@opencode-ai/ai/providers/mistral" || name === "@opencode-ai/ai/providers/togetherai" || name === "@opencode-ai/ai/providers/xai" || name === "@opencode-ai/ai/providers/openrouter" || name === "@opencode-ai/ai/providers/azure" || name?.startsWith("@opencode-ai/ai/providers/azure/") === true;
249
249
  }
250
- var node62 = makeLocationNode({
251
- service: Service58,
252
- layer: layer22,
253
- deps: [node64, node65, Npm.node, node63]
250
+ var node44 = makeLocationNode({
251
+ service: Service41,
252
+ layer: layer18,
253
+ deps: [node74, node75, Npm.node, node45]
254
254
  });
255
255
 
256
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node62, exports_model_resolver };
256
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service41, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer18, node44, exports_model_resolver };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service62
3
- } from "./model-resolver-tcfdn8aw.js";
2
+ Service71
3
+ } from "./workspace-2ahv2hha.js";
4
4
  import {
5
- Service53
6
- } from "./model-resolver-pmt5dx08.js";
5
+ Service62
6
+ } from "./workspace-81nm525f.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input14,
15
+ Input: () => Input13,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin45,
18
18
  QuestionTool: () => exports_question,
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input14 = Schema.Struct({
37
+ var Input13 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin45 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service62;
57
- const permission = yield* Service53;
56
+ const forms = yield* Service71;
57
+ const permission = yield* Service62;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name13,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input14,
62
+ input: Input13,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
118
+ export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./model-resolver-rvb2zp0m.js";
4
+ } from "./workspace-g19vc6v7.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service49
3
- } from "./model-resolver-smjktvs8.js";
2
+ Service38
3
+ } from "./workspace-vz6qr5p1.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./model-resolver-jqh9b0xq.js";
6
+ } from "./workspace-qdyb70sk.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./model-resolver-4hdyv2zw.js";
9
+ } from "./workspace-r82j2j5s.js";
10
10
  import {
11
- Service41
12
- } from "./model-resolver-6ks5kqks.js";
11
+ Service61
12
+ } from "./workspace-6hnqpqne.js";
13
13
  import {
14
14
  __export
15
- } from "./model-resolver-9rqn6x4v.js";
15
+ } from "./workspace-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service49;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
25
+ const instances = yield* Service38;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service61), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./model-resolver-2a5m3afh.js";
5
+ } from "./workspace-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./model-resolver-9rqn6x4v.js";
8
+ } from "./workspace-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info21
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info21 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info21 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info21, exports_skills };
21
+ export { Info16, exports_skills };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service79
3
- } from "./model-resolver-hm42kar1.js";
3
+ } from "./workspace-d4tfyaan.js";
4
4
  import {
5
5
  OAuth3,
6
6
  Event19
7
- } from "./model-resolver-gsfshahz.js";
7
+ } from "./workspace-4wzn6ynj.js";
8
8
  import {
9
- ID9,
9
+ ID12,
10
10
  MethodID2
11
- } from "./model-resolver-1nfczbs6.js";
11
+ } from "./workspace-zarjf3s7.js";
12
12
  import {
13
- ID16,
13
+ ID15,
14
14
  aisdk2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2
17
- } from "./model-resolver-rvb2zp0m.js";
17
+ } from "./workspace-g19vc6v7.js";
18
18
 
19
19
  // src/plugin/provider/opencode.ts
20
20
  import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
@@ -44,7 +44,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
44
44
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
45
45
  function oauth(http) {
46
46
  return {
47
- integrationID: ID9.make("opencode"),
47
+ integrationID: ID12.make("opencode"),
48
48
  method: {
49
49
  id: methodID,
50
50
  type: "oauth",
@@ -112,7 +112,7 @@ var OpencodePlugin2 = define({
112
112
  catalog.provider.update(providerID, (provider) => {
113
113
  if (source && source.provider !== provider)
114
114
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
115
- provider.integrationID = ID9.make("opencode");
115
+ provider.integrationID = ID12.make("opencode");
116
116
  if (item.canonical !== undefined)
117
117
  provider.canonical = item.canonical;
118
118
  if (item.name !== undefined)
@@ -175,7 +175,7 @@ var OpencodePlugin2 = define({
175
175
  });
176
176
  }
177
177
  }
178
- const item = catalog.provider.get(ID16.opencode);
178
+ const item = catalog.provider.get(ID15.opencode);
179
179
  if (!item)
180
180
  return;
181
181
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
196
196
  }
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
199
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  })
201
201
  });
202
202
  function fetchProviders(http, value) {
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service4,
9
+ Service: () => Service6,
10
10
  bound: () => bound2,
11
- node: () => node6
11
+ node: () => node8
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service6 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node6 = makeLocationNode({
19
- service: Service4,
18
+ var node8 = makeLocationNode({
19
+ service: Service6,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
29
+ return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service4, node6, bound2, exports_instance2 };
32
+ export { Service6, node8, bound2, exports_instance2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./model-resolver-mntxs535.js";
3
+ } from "./workspace-mntxs535.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/session/runner/retry.ts
9
9
  var exports_retry = {};
@@ -1,50 +1,50 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./model-resolver-hm42kar1.js";
4
+ } from "./workspace-d4tfyaan.js";
5
5
  import {
6
6
  llmClient2
7
- } from "./model-resolver-0e0xafbb.js";
7
+ } from "./workspace-0e0xafbb.js";
8
8
  import {
9
9
  SessionEvent2
10
- } from "./model-resolver-mntxs535.js";
10
+ } from "./workspace-mntxs535.js";
11
11
  import {
12
12
  create3
13
- } from "./model-resolver-kg06axw8.js";
13
+ } from "./workspace-kg06axw8.js";
14
14
  import {
15
15
  toLLMMessages2
16
- } from "./model-resolver-zbjnn3ac.js";
16
+ } from "./workspace-zbjnn3ac.js";
17
17
  import {
18
18
  baseTranscript2,
19
19
  unsupportedParts2
20
- } from "./model-resolver-85mg7hhh.js";
20
+ } from "./workspace-pw75w6wp.js";
21
21
  import {
22
22
  isRetryable2,
23
23
  policy2
24
- } from "./model-resolver-bphmvjfp.js";
24
+ } from "./workspace-bphmvjfp.js";
25
25
  import {
26
26
  toSessionError2
27
- } from "./model-resolver-3g3bkchr.js";
27
+ } from "./workspace-ngmekjny.js";
28
28
  import {
29
29
  estimate2
30
- } from "./model-resolver-h6vf3j39.js";
30
+ } from "./workspace-h6vf3j39.js";
31
31
  import {
32
32
  record2,
33
33
  add2
34
- } from "./model-resolver-tjykrgmx.js";
34
+ } from "./workspace-tjykrgmx.js";
35
35
  import {
36
36
  __export
37
- } from "./model-resolver-9rqn6x4v.js";
37
+ } from "./workspace-9rqn6x4v.js";
38
38
 
39
39
  // src/session/compaction.ts
40
40
  var exports_compaction2 = {};
41
41
  __export(exports_compaction2, {
42
- Service: () => Service8,
42
+ Service: () => Service9,
43
43
  SessionCompaction: () => exports_compaction2,
44
44
  buildPrompt: () => buildPrompt2,
45
45
  estimateTokens: () => estimateTokens2,
46
46
  layer: () => layer6,
47
- node: () => node11,
47
+ node: () => node12,
48
48
  serializeToolContent: () => serializeToolContent2,
49
49
  truncateToolOutput: () => truncateToolOutput2
50
50
  });
@@ -108,7 +108,7 @@ var SUMMARY_RULES = `Rules:
108
108
  var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
109
109
  `).filter((line) => line.startsWith("##"));
110
110
 
111
- class Service8 extends Context.Service()("@opencode/SessionCompaction") {
111
+ class Service9 extends Context.Service()("@opencode/SessionCompaction") {
112
112
  }
113
113
  var estimateTokens2 = (input) => {
114
114
  const index = input.messages.findLastIndex((message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0);
@@ -262,7 +262,7 @@ var buildPrompt2 = (update) => {
262
262
  };
263
263
  var hasSummarySection = (summary) => summary.split(`
264
264
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
265
- var layer6 = Layer.effect(Service8, Effect.gen(function* () {
265
+ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
266
266
  const bus = yield* Service79;
267
267
  const llm = yield* LLMClient.Service;
268
268
  const state = create3({
@@ -479,7 +479,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
479
479
  })
480
480
  }));
481
481
  });
482
- return Service8.of({
482
+ return Service9.of({
483
483
  transform: state.transform,
484
484
  reload: state.reload,
485
485
  enabled: () => state.get().auto,
@@ -488,10 +488,10 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
488
488
  compactManual
489
489
  });
490
490
  }));
491
- var node11 = makeLocationNode({
492
- service: Service8,
491
+ var node12 = makeLocationNode({
492
+ service: Service9,
493
493
  layer: layer6,
494
494
  deps: [node84, llmClient2]
495
495
  });
496
496
 
497
- export { Service8, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node11, exports_compaction2 };
497
+ export { Service9, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction2 };
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./model-resolver-3t738kvx.js";
7
+ } from "./workspace-3t738kvx.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./model-resolver-72nftnjy.js";
11
+ } from "./workspace-72nftnjy.js";
12
12
  import {
13
13
  create3
14
- } from "./model-resolver-kg06axw8.js";
14
+ } from "./workspace-kg06axw8.js";
15
15
  import {
16
- Service52,
17
- node56
18
- } from "./model-resolver-hdfh4kmr.js";
16
+ Service32,
17
+ node36
18
+ } from "./workspace-v432x66a.js";
19
19
  import {
20
- Service73,
21
- node78
22
- } from "./model-resolver-r67ewn20.js";
20
+ Service66,
21
+ node70
22
+ } from "./workspace-tcvwtwdv.js";
23
23
  import {
24
24
  match2
25
- } from "./model-resolver-y1fvbwt7.js";
25
+ } from "./workspace-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./model-resolver-9rqn6x4v.js";
28
+ } from "./workspace-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,10 +35,10 @@ __export(exports_tool, {
35
35
  Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service51,
38
+ Service: () => Service31,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node55
41
+ node: () => node35
42
42
  });
43
43
  import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode-ai/schema/tool";
44
44
  import { ToolDefinition } from "@opencode-ai/ai";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service51 extends Context.Service()("@opencode/Tool") {
54
+ class Service31 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service51, Effect.gen(function* () {
57
- const hooks = yield* Service73;
58
- const image = yield* Service52;
56
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
57
+ const hooks = yield* Service66;
58
+ const image = yield* Service32;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service51.of({
183
+ return Service31.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -262,10 +262,10 @@ function namespaceError(name) {
262
262
  return;
263
263
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
264
264
  }
265
- var node55 = makeLocationNode({
266
- service: Service51,
265
+ var node35 = makeLocationNode({
266
+ service: Service31,
267
267
  layer,
268
- deps: [node78, node56]
268
+ deps: [node70, node36]
269
269
  });
270
270
 
271
- export { RegistrationError2, Service51, node55, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
271
+ export { RegistrationError2, Service31, node35, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
- var exports_formatter3 = {};
7
- __export(exports_formatter3, {
8
- ConfigFormatterV1: () => exports_formatter3,
6
+ var exports_formatter2 = {};
7
+ __export(exports_formatter2, {
8
+ ConfigFormatterV1: () => exports_formatter2,
9
9
  Entry: () => Entry3,
10
- Info: () => Info19
10
+ Info: () => Info17
11
11
  });
12
12
  import { Schema } from "effect";
13
13
  var Entry3 = Schema.Struct({
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info19 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info17 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
20
20
 
21
- export { Entry3, Info19, exports_formatter3 };
21
+ export { Entry3, Info17, exports_formatter2 };