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

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 (776) 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 +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{model-resolver-rz6a3sbe.js → schema-07j42s1r.js} +27 -27
  9. package/dist/chunks/{model-resolver-zgza400y.js → schema-093fyv1k.js} +7 -7
  10. package/dist/chunks/{model-resolver-9tjsbxxt.js → schema-09ywgxwg.js} +4 -4
  11. package/dist/chunks/{model-resolver-0e0xafbb.js → schema-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{model-resolver-qz49fwgp.js → schema-0ft9cg2j.js} +6 -6
  13. package/dist/chunks/{model-resolver-n8qe30xq.js → schema-0k45et74.js} +9 -9
  14. package/dist/chunks/{model-resolver-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{model-resolver-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{model-resolver-0s9ayhjt.js → schema-0s9ayhjt.js} +1 -1
  17. package/dist/chunks/{model-resolver-an7cqtb7.js → schema-0v53mg2y.js} +4 -4
  18. package/dist/chunks/{model-resolver-6tt6g98m.js → schema-0zwrqksf.js} +27 -27
  19. package/dist/chunks/{model-resolver-1hy241bm.js → schema-14hmenm3.js} +3 -3
  20. package/dist/chunks/{model-resolver-36vsdr69.js → schema-17hja9f4.js} +2 -2
  21. package/dist/chunks/{model-resolver-nj1fe1jb.js → schema-1cngsnb6.js} +20 -20
  22. package/dist/chunks/{model-resolver-1ct4r87x.js → schema-1ct4r87x.js} +1 -1
  23. package/dist/chunks/{model-resolver-z79mad95.js → schema-1gwd18eh.js} +15 -15
  24. package/dist/chunks/{model-resolver-fz1pdqz4.js → schema-1n116cmy.js} +9 -9
  25. package/dist/chunks/{model-resolver-rese3z7z.js → schema-1r3qjt1e.js} +6 -6
  26. package/dist/chunks/{model-resolver-mfqp6xfm.js → schema-1ygqh575.js} +6 -6
  27. package/dist/chunks/{model-resolver-0vcgwdj5.js → schema-21cmn8kp.js} +31 -31
  28. package/dist/chunks/{model-resolver-21r38tys.js → schema-21r38tys.js} +1 -1
  29. package/dist/chunks/{model-resolver-2402vzrj.js → schema-2402vzrj.js} +1 -1
  30. package/dist/chunks/{model-resolver-84vg3atq.js → schema-24m53bcx.js} +10 -10
  31. package/dist/chunks/{model-resolver-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{model-resolver-a12rb003.js → schema-2c3xm3da.js} +27 -27
  33. package/dist/chunks/{model-resolver-2ht70gj7.js → schema-2ht70gj7.js} +1 -1
  34. package/dist/chunks/{model-resolver-8na2q2w3.js → schema-2mx6efyd.js} +30 -30
  35. package/dist/chunks/{model-resolver-bfenx2tw.js → schema-37a01m6a.js} +4 -4
  36. package/dist/chunks/{model-resolver-4325r94x.js → schema-39ft7chd.js} +3 -3
  37. package/dist/chunks/{model-resolver-6ks5kqks.js → schema-3eb7wbw0.js} +16 -16
  38. package/dist/chunks/{model-resolver-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{model-resolver-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{model-resolver-ve9vvn65.js → schema-3pc61sa9.js} +16 -16
  41. package/dist/chunks/{model-resolver-3qzbfqsy.js → schema-3qzbfqsy.js} +2 -2
  42. package/dist/chunks/{model-resolver-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{model-resolver-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{model-resolver-vj55tknd.js → schema-3wgash5j.js} +11 -11
  45. package/dist/chunks/{model-resolver-n7z8rwmy.js → schema-3y49e5yw.js} +5 -5
  46. package/dist/chunks/{model-resolver-01q1wmsg.js → schema-40b1mf63.js} +24 -24
  47. package/dist/chunks/{model-resolver-nvecvfg1.js → schema-41wv91p8.js} +46 -46
  48. package/dist/chunks/{model-resolver-454k5vzh.js → schema-454k5vzh.js} +1 -1
  49. package/dist/chunks/{model-resolver-zhptab2p.js → schema-45m0rtr9.js} +4 -4
  50. package/dist/chunks/{model-resolver-c1pc5gy5.js → schema-4gpjzd3s.js} +7 -7
  51. package/dist/chunks/{model-resolver-pjedbq3k.js → schema-4jv7e9dq.js} +9 -9
  52. package/dist/chunks/{model-resolver-kbfs3jn6.js → schema-4m2jed3x.js} +21 -21
  53. package/dist/chunks/{model-resolver-4r2nyarf.js → schema-4r2nyarf.js} +1 -1
  54. package/dist/chunks/schema-4v7qdvcn.js +18 -0
  55. package/dist/chunks/{model-resolver-rvb2zp0m.js → schema-4z6b0fg6.js} +6 -6
  56. package/dist/chunks/{model-resolver-xz4sbw44.js → schema-556e61a8.js} +67 -67
  57. package/dist/chunks/{model-resolver-dhsttevq.js → schema-5a8v5aez.js} +23 -23
  58. package/dist/chunks/{model-resolver-5daktx2q.js → schema-5daktx2q.js} +1 -1
  59. package/dist/chunks/{model-resolver-5fmxt4p5.js → schema-5fmxt4p5.js} +1 -1
  60. package/dist/chunks/{model-resolver-5jvc5tg2.js → schema-5jvc5tg2.js} +1 -1
  61. package/dist/chunks/{model-resolver-yj3e99fm.js → schema-5k3f87xj.js} +1 -1
  62. package/dist/chunks/{model-resolver-haqbnmr5.js → schema-5mx1jh8x.js} +4 -4
  63. package/dist/chunks/{model-resolver-2gqx3cqb.js → schema-5zy72947.js} +12 -12
  64. package/dist/chunks/{model-resolver-rmgpg45v.js → schema-64zzwykz.js} +24 -24
  65. package/dist/chunks/{model-resolver-g869pf5g.js → schema-65ryvrbe.js} +8 -8
  66. package/dist/chunks/{model-resolver-04nrqb8q.js → schema-6h0kvyt4.js} +22 -22
  67. package/dist/chunks/{model-resolver-smnvvzmt.js → schema-6xwg1kq2.js} +14 -14
  68. package/dist/chunks/{model-resolver-1nfczbs6.js → schema-6zh5h8yb.js} +27 -27
  69. package/dist/chunks/{model-resolver-gsfshahz.js → schema-6zrja0ad.js} +15 -15
  70. package/dist/chunks/{model-resolver-711hfp6y.js → schema-711hfp6y.js} +2 -2
  71. package/dist/chunks/{model-resolver-72nftnjy.js → schema-72nftnjy.js} +2 -2
  72. package/dist/chunks/{model-resolver-q5pkwzxb.js → schema-73cq2v9r.js} +15 -15
  73. package/dist/chunks/{model-resolver-45c840ky.js → schema-7b8dx9px.js} +46 -46
  74. package/dist/chunks/{model-resolver-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{model-resolver-k22h4khz.js → schema-7d1ywxdq.js} +15 -15
  76. package/dist/chunks/{model-resolver-rfwpvx00.js → schema-7rncntgt.js} +41 -41
  77. package/dist/chunks/{model-resolver-0q56w8vj.js → schema-80h6nh5b.js} +13 -13
  78. package/dist/chunks/{model-resolver-qs4avvkb.js → schema-86s3977f.js} +1 -1
  79. package/dist/chunks/{model-resolver-gt3w77ph.js → schema-87rnt7vh.js} +23 -23
  80. package/dist/chunks/{model-resolver-ds7ysbcx.js → schema-8zpfkjy1.js} +45 -45
  81. package/dist/chunks/{model-resolver-jtb47g3a.js → schema-90m4gm2m.js} +11 -11
  82. package/dist/chunks/{model-resolver-93a8yfjt.js → schema-93a8yfjt.js} +2 -2
  83. package/dist/chunks/{model-resolver-f2t11rgb.js → schema-93cf1794.js} +20 -20
  84. package/dist/chunks/schema-961yp6je.js +247 -0
  85. package/dist/chunks/{model-resolver-97f5v037.js → schema-97f5v037.js} +1 -1
  86. package/dist/chunks/{model-resolver-hgwc40d2.js → schema-9d0vwzx2.js} +22 -22
  87. package/dist/chunks/{model-resolver-tbhhj5cs.js → schema-9d7a9gfd.js} +13 -13
  88. package/dist/chunks/{model-resolver-8vfmqbrd.js → schema-9djsb1x8.js} +26 -26
  89. package/dist/chunks/{model-resolver-1mvksd4s.js → schema-9efw28vt.js} +4 -4
  90. package/dist/chunks/{model-resolver-xft3xkxh.js → schema-9mqrsjz0.js} +7 -7
  91. package/dist/chunks/{model-resolver-9qm9egsn.js → schema-9qm9egsn.js} +2 -2
  92. package/dist/chunks/{model-resolver-hm42kar1.js → schema-9tphn1nx.js} +12 -12
  93. package/dist/chunks/{model-resolver-7fjq4tnf.js → schema-9wjcq4df.js} +20 -20
  94. package/dist/chunks/{model-resolver-z9pdm7mn.js → schema-a0szb7e4.js} +43 -43
  95. package/dist/chunks/{model-resolver-agpxhpem.js → schema-a844yy6x.js} +46 -46
  96. package/dist/chunks/{model-resolver-aaet6srn.js → schema-aaet6srn.js} +2 -2
  97. package/dist/chunks/{model-resolver-dhmh7aw6.js → schema-afdssyjb.js} +4 -4
  98. package/dist/chunks/{model-resolver-gfbnzf5x.js → schema-agx3smr6.js} +20 -20
  99. package/dist/chunks/{model-resolver-2pgk7vty.js → schema-ahxzhcff.js} +2 -2
  100. package/dist/chunks/{model-resolver-ajtjthsy.js → schema-ajtjthsy.js} +2 -2
  101. package/dist/chunks/{model-resolver-29vm76e6.js → schema-am18byef.js} +26 -26
  102. package/dist/chunks/{model-resolver-3mrm2hwf.js → schema-asb6ptdj.js} +4 -4
  103. package/dist/chunks/{model-resolver-n9whx688.js → schema-aw66b4d6.js} +3 -3
  104. package/dist/chunks/schema-b5q5y4vk.js +4 -0
  105. package/dist/chunks/{model-resolver-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{model-resolver-b9wsbatv.js → schema-b9wsbatv.js} +1 -1
  107. package/dist/chunks/{model-resolver-85mg7hhh.js → schema-bb44473r.js} +29 -29
  108. package/dist/chunks/{model-resolver-fy6n5twb.js → schema-bcv0c355.js} +4 -4
  109. package/dist/chunks/{model-resolver-ymmafesq.js → schema-bdc940rx.js} +5 -5
  110. package/dist/chunks/{model-resolver-8bcbmssv.js → schema-be2wa24j.js} +9 -9
  111. package/dist/chunks/{model-resolver-tcfdn8aw.js → schema-bewj0jz1.js} +27 -27
  112. package/dist/chunks/{model-resolver-smjktvs8.js → schema-bj23jw33.js} +6 -6
  113. package/dist/chunks/{model-resolver-g1qbfqak.js → schema-bjah300a.js} +89 -89
  114. package/dist/chunks/{model-resolver-bphmvjfp.js → schema-bsvvsrn1.js} +5 -5
  115. package/dist/chunks/{model-resolver-vn39pvqa.js → schema-c2wempx8.js} +33 -33
  116. package/dist/chunks/{model-resolver-c05z1hzq.js → schema-c4tn7jrr.js} +7 -7
  117. package/dist/chunks/{model-resolver-cvvv77jg.js → schema-ckw34yqz.js} +25 -25
  118. package/dist/chunks/{model-resolver-wkm999c9.js → schema-cmw5d376.js} +16 -16
  119. package/dist/chunks/{model-resolver-d72308c8.js → schema-d72308c8.js} +2 -2
  120. package/dist/chunks/{model-resolver-25g0a3wm.js → schema-d7xgky4f.js} +34 -34
  121. package/dist/chunks/{model-resolver-a75v1xyy.js → schema-dajxm5h5.js} +11 -11
  122. package/dist/chunks/{model-resolver-5mhvc9ws.js → schema-dezmnm3g.js} +6 -6
  123. package/dist/chunks/{model-resolver-0qr0cjqp.js → schema-dgmxpyc7.js} +35 -35
  124. package/dist/chunks/{model-resolver-dkbgd4kx.js → schema-dm7yrpwm.js} +5 -5
  125. package/dist/chunks/{model-resolver-amhrny11.js → schema-dq7298b6.js} +14 -14
  126. package/dist/chunks/{model-resolver-768z0hjh.js → schema-e5b0qn1c.js} +1 -1
  127. package/dist/chunks/{model-resolver-3b41mhr3.js → schema-e676a0th.js} +11 -11
  128. package/dist/chunks/{model-resolver-zf2pwqth.js → schema-e7bn8q6v.js} +8 -8
  129. package/dist/chunks/{model-resolver-x5da3ets.js → schema-e9099wq5.js} +13 -13
  130. package/dist/chunks/{model-resolver-rd9dg6mx.js → schema-egcppv5e.js} +11 -11
  131. package/dist/chunks/{model-resolver-6yj45qfn.js → schema-ehpz93s6.js} +4 -4
  132. package/dist/chunks/{model-resolver-z8jfykz0.js → schema-em6aehv4.js} +12 -12
  133. package/dist/chunks/{model-resolver-pyj5p63s.js → schema-emhpd4sz.js} +12 -12
  134. package/dist/chunks/{model-resolver-cp47cn18.js → schema-ezapnas2.js} +31 -31
  135. package/dist/chunks/{model-resolver-1ydgq2r4.js → schema-f0v448q8.js} +5 -5
  136. package/dist/chunks/{model-resolver-6bktjyyc.js → schema-f4v2r7ec.js} +15 -15
  137. package/dist/chunks/{model-resolver-qqmc633y.js → schema-f8nrn9y4.js} +11 -11
  138. package/dist/chunks/{model-resolver-wnhc2w01.js → schema-fc4enxm7.js} +29 -29
  139. package/dist/chunks/{model-resolver-2k8khapm.js → schema-fcrkznn8.js} +5 -5
  140. package/dist/chunks/{model-resolver-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{model-resolver-fxypknc8.js → schema-fxypknc8.js} +1 -1
  142. package/dist/chunks/{model-resolver-d9hq9bdj.js → schema-fztp1wx9.js} +9 -9
  143. package/dist/chunks/{model-resolver-d1a1bt21.js → schema-g41n1fn3.js} +5 -5
  144. package/dist/chunks/{model-resolver-daj0k9by.js → schema-g7bszxvd.js} +39 -39
  145. package/dist/chunks/{model-resolver-52z9exmq.js → schema-gamrqs60.js} +41 -41
  146. package/dist/chunks/{model-resolver-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{model-resolver-0ancwgef.js → schema-gvsnbjhz.js} +5 -5
  148. package/dist/chunks/{model-resolver-6926ty5t.js → schema-h58xcwpy.js} +8 -8
  149. package/dist/chunks/{model-resolver-z3h7hm3n.js → schema-h6h1436v.js} +4 -4
  150. package/dist/chunks/{model-resolver-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{model-resolver-9cnab95r.js → schema-h9wz0788.js} +21 -21
  152. package/dist/chunks/{model-resolver-xaspcyx5.js → schema-hd4qf47t.js} +159 -159
  153. package/dist/chunks/{model-resolver-hdfh4kmr.js → schema-hdt077bk.js} +9 -9
  154. package/dist/chunks/{model-resolver-heyhwy2w.js → schema-heyhwy2w.js} +1 -1
  155. package/dist/chunks/{model-resolver-2m5rhxa5.js → schema-hgbw4ehz.js} +6 -6
  156. package/dist/chunks/{model-resolver-8arm59qw.js → schema-hhnn4c8b.js} +26 -26
  157. package/dist/chunks/{model-resolver-ka1d01ec.js → schema-hjrjbgez.js} +5 -5
  158. package/dist/chunks/{model-resolver-nhy5jxhy.js → schema-hjt4xg1x.js} +4 -4
  159. package/dist/chunks/{model-resolver-nv1jjwpd.js → schema-hr77wr0b.js} +4 -4
  160. package/dist/chunks/{model-resolver-hrvm11jt.js → schema-hrvm11jt.js} +3 -3
  161. package/dist/chunks/{model-resolver-kvsjn1dr.js → schema-hw4pv20g.js} +2 -2
  162. package/dist/chunks/{model-resolver-56293sgk.js → schema-j4c6y7xz.js} +7 -7
  163. package/dist/chunks/{model-resolver-bc3eevve.js → schema-j871vxfc.js} +13 -13
  164. package/dist/chunks/{model-resolver-eg4pr325.js → schema-jasnfvjs.js} +10 -10
  165. package/dist/chunks/{model-resolver-h4ka1g8b.js → schema-jb2p1s8w.js} +58 -58
  166. package/dist/chunks/{model-resolver-0xvppt2q.js → schema-je3yzz2v.js} +17 -17
  167. package/dist/chunks/{model-resolver-ebpav8ht.js → schema-jqjtaz5x.js} +32 -32
  168. package/dist/chunks/{model-resolver-c76spgvt.js → schema-js8gy4m8.js} +6 -6
  169. package/dist/chunks/{model-resolver-n52wrphd.js → schema-jspp3pq5.js} +20 -20
  170. package/dist/chunks/{model-resolver-vqebmn7g.js → schema-k19yg70y.js} +18 -18
  171. package/dist/chunks/{model-resolver-k4bwy1x5.js → schema-k4bwy1x5.js} +1 -1
  172. package/dist/chunks/{model-resolver-6atxajng.js → schema-k85a8qr7.js} +83 -83
  173. package/dist/chunks/{model-resolver-yzxcxw3p.js → schema-kapgq2fk.js} +11 -11
  174. package/dist/chunks/{model-resolver-kg06axw8.js → schema-kg06axw8.js} +1 -1
  175. package/dist/chunks/schema-kjmp7mkn.js +22 -0
  176. package/dist/chunks/{model-resolver-yfbd16n1.js → schema-kk3rr3qh.js} +5 -5
  177. package/dist/chunks/{model-resolver-mrca8mn9.js → schema-kqh0jhv7.js} +16 -16
  178. package/dist/chunks/{model-resolver-ybnqsmq7.js → schema-m0ca63zf.js} +11 -11
  179. package/dist/chunks/{model-resolver-8rk7xmhz.js → schema-m0w27dsq.js} +12 -12
  180. package/dist/chunks/{model-resolver-16hj88rm.js → schema-m3w37zzb.js} +25 -25
  181. package/dist/chunks/{model-resolver-34rgtrgw.js → schema-m4z6zt1h.js} +8 -8
  182. package/dist/chunks/{model-resolver-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{model-resolver-ypg1pkf2.js → schema-mb3vb89x.js} +8 -8
  184. package/dist/chunks/{model-resolver-2w6bfmvf.js → schema-mcxg6pmm.js} +1 -1
  185. package/dist/chunks/{model-resolver-tkb4f2r7.js → schema-mdjcfwcf.js} +15 -15
  186. package/dist/chunks/{model-resolver-mvfsc1pv.js → schema-mhkvc446.js} +3 -3
  187. package/dist/chunks/{model-resolver-w991kqb0.js → schema-mkq4xp6j.js} +14 -14
  188. package/dist/chunks/{model-resolver-t35vvjm0.js → schema-mmk8z8vw.js} +14 -14
  189. package/dist/chunks/{model-resolver-5qdzg6f9.js → schema-msqd9fka.js} +15 -15
  190. package/dist/chunks/{model-resolver-n0qm516r.js → schema-n6n197mn.js} +5 -5
  191. package/dist/chunks/{model-resolver-jjv4cws2.js → schema-n6yd8jz8.js} +7 -7
  192. package/dist/chunks/{model-resolver-xf29bhrb.js → schema-n8fetsyk.js} +28 -28
  193. package/dist/chunks/{model-resolver-pbk0bgfv.js → schema-nd2v0w3y.js} +2 -2
  194. package/dist/chunks/{model-resolver-whrpd8wj.js → schema-nrfbs8zx.js} +3 -3
  195. package/dist/chunks/{model-resolver-4hdyv2zw.js → schema-nrsmc0cn.js} +9 -9
  196. package/dist/chunks/{model-resolver-trt9khgc.js → schema-nzvt3fe2.js} +21 -21
  197. package/dist/chunks/{model-resolver-3cz2rdwz.js → schema-p0h7e0yr.js} +11 -11
  198. package/dist/chunks/{model-resolver-pmt5dx08.js → schema-p234zevy.js} +54 -54
  199. package/dist/chunks/{model-resolver-r67ewn20.js → schema-p6j5rthq.js} +8 -8
  200. package/dist/chunks/{model-resolver-8b66w0av.js → schema-p6k3nzjq.js} +29 -29
  201. package/dist/chunks/{model-resolver-pae9v2p1.js → schema-pae9v2p1.js} +1 -1
  202. package/dist/chunks/{model-resolver-j935v87r.js → schema-paphc93g.js} +2 -2
  203. package/dist/chunks/{model-resolver-gpvbfbv1.js → schema-pgwnkrgp.js} +21 -21
  204. package/dist/chunks/{model-resolver-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{model-resolver-pknna89w.js → schema-pknna89w.js} +1 -1
  206. package/dist/chunks/{model-resolver-1bwaarmf.js → schema-pv06p42z.js} +2 -2
  207. package/dist/chunks/{model-resolver-6eq76p0n.js → schema-q31jhj7h.js} +9 -9
  208. package/dist/chunks/{model-resolver-15pjntb5.js → schema-qfnhs0ay.js} +10 -10
  209. package/dist/chunks/{model-resolver-p3a8ybaq.js → schema-qgpvk72g.js} +5 -5
  210. package/dist/chunks/{model-resolver-vr2m7p38.js → schema-qrs68m7n.js} +22 -22
  211. package/dist/chunks/{model-resolver-qsdy395h.js → schema-qsdy395h.js} +1 -1
  212. package/dist/chunks/{model-resolver-qvpg2584.js → schema-qt162p81.js} +7 -7
  213. package/dist/chunks/{model-resolver-wr9ysm64.js → schema-qwb6v2g5.js} +13 -13
  214. package/dist/chunks/{model-resolver-gww66jkq.js → schema-r5rd45ey.js} +22 -22
  215. package/dist/chunks/{model-resolver-qq0tkz6q.js → schema-r6xmjf87.js} +3 -3
  216. package/dist/chunks/{model-resolver-r8dhm0tv.js → schema-r8dhm0tv.js} +1 -1
  217. package/dist/chunks/{model-resolver-r8xr0va3.js → schema-r8xr0va3.js} +1 -1
  218. package/dist/chunks/{model-resolver-1wj6fe6f.js → schema-rd9hzhgp.js} +35 -35
  219. package/dist/chunks/{model-resolver-sjdwkfxd.js → schema-re10kf0s.js} +32 -32
  220. package/dist/chunks/{model-resolver-fepbnb8j.js → schema-rmm45jmv.js} +5 -5
  221. package/dist/chunks/{model-resolver-xd1gj6jr.js → schema-rrfj1sgp.js} +9 -9
  222. package/dist/chunks/{model-resolver-h8f15ghy.js → schema-rt5n18n0.js} +33 -33
  223. package/dist/chunks/{model-resolver-yvnsnb9v.js → schema-rtjpxz0x.js} +22 -22
  224. package/dist/chunks/{model-resolver-d44mvk5w.js → schema-s28f0v1e.js} +6 -6
  225. package/dist/chunks/{model-resolver-3g3bkchr.js → schema-s2x6mz9s.js} +4 -4
  226. package/dist/chunks/{model-resolver-pt7wq7x0.js → schema-s3eqpch7.js} +1 -1
  227. package/dist/chunks/{model-resolver-sba4qhjf.js → schema-sba4qhjf.js} +1 -1
  228. package/dist/chunks/{model-resolver-4kbdx47m.js → schema-sj2kvqyv.js} +3 -3
  229. package/dist/chunks/{model-resolver-mj9y1f9w.js → schema-skkjy97b.js} +25 -25
  230. package/dist/chunks/{model-resolver-7cm3k2ba.js → schema-sx5gpndv.js} +16 -16
  231. package/dist/chunks/{model-resolver-xb1yhede.js → schema-sxmdy6vf.js} +12 -12
  232. package/dist/chunks/{model-resolver-7x9n72sf.js → schema-t2a6e5ew.js} +13 -13
  233. package/dist/chunks/{model-resolver-gxc2v2ks.js → schema-t663bhz3.js} +14 -14
  234. package/dist/chunks/{model-resolver-f2gse5fy.js → schema-t6f921pt.js} +6 -6
  235. package/dist/chunks/{model-resolver-w5fe4zgf.js → schema-t8v72xqj.js} +16 -16
  236. package/dist/chunks/{model-resolver-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{model-resolver-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
  238. package/dist/chunks/schema-tdp3srjd.js +460 -0
  239. package/dist/chunks/{model-resolver-jrr570aw.js → schema-tgfk7sdg.js} +9 -9
  240. package/dist/chunks/{model-resolver-tjykrgmx.js → schema-tjykrgmx.js} +1 -1
  241. package/dist/chunks/{model-resolver-jpwcqcav.js → schema-tk66q7qw.js} +1 -1
  242. package/dist/chunks/{model-resolver-wcav6c40.js → schema-v0mbc4ay.js} +13 -13
  243. package/dist/chunks/{model-resolver-pzkjnmpb.js → schema-v48vyps0.js} +11 -11
  244. package/dist/chunks/{model-resolver-fm2qvscf.js → schema-v5dkyp31.js} +4 -4
  245. package/dist/chunks/{model-resolver-tppvcy65.js → schema-v60ecprk.js} +7 -7
  246. package/dist/chunks/{model-resolver-57smdxt4.js → schema-v66dqm9c.js} +20 -20
  247. package/dist/chunks/{model-resolver-mh7ehz1v.js → schema-veeef9vx.js} +23 -23
  248. package/dist/chunks/{model-resolver-w7krw9hh.js → schema-vg7tvm5c.js} +10 -10
  249. package/dist/chunks/{model-resolver-t044qcb6.js → schema-vhtv5nbw.js} +5 -5
  250. package/dist/chunks/{model-resolver-jq2p7hez.js → schema-vy1vc40s.js} +26 -26
  251. package/dist/chunks/{model-resolver-kwfjfb3x.js → schema-w0tfa8j9.js} +32 -32
  252. package/dist/chunks/{model-resolver-wgt7v56c.js → schema-w0w53vng.js} +19 -19
  253. package/dist/chunks/{model-resolver-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{model-resolver-dd6t7n6p.js → schema-w4t3ack1.js} +10 -10
  255. package/dist/chunks/{model-resolver-ye01600q.js → schema-w4trmh71.js} +20 -20
  256. package/dist/chunks/{model-resolver-wd87259q.js → schema-wd87259q.js} +1 -1
  257. package/dist/chunks/{model-resolver-sb2pm13j.js → schema-wjngnjtk.js} +30 -30
  258. package/dist/chunks/{model-resolver-xjfjd024.js → schema-wm2krekn.js} +20 -20
  259. package/dist/chunks/{model-resolver-a9c7wcwq.js → schema-wv7fyv62.js} +12 -12
  260. package/dist/chunks/{model-resolver-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{model-resolver-1zsnv1c7.js → schema-x4m3pksr.js} +11 -11
  262. package/dist/chunks/{model-resolver-t6yc1zyn.js → schema-xdrkt8m2.js} +9 -9
  263. package/dist/chunks/{model-resolver-7wxchhek.js → schema-xh9ptvna.js} +29 -29
  264. package/dist/chunks/{model-resolver-wfwqxwhj.js → schema-xqrwg3rf.js} +9 -9
  265. package/dist/chunks/{model-resolver-jnmmvqjs.js → schema-xqsy6kp0.js} +1 -1
  266. package/dist/chunks/{model-resolver-xr5vwsd4.js → schema-xr5vwsd4.js} +2 -2
  267. package/dist/chunks/{model-resolver-vhpw989j.js → schema-xy04q38t.js} +12 -12
  268. package/dist/chunks/{model-resolver-y86ghdgz.js → schema-y18qbtn0.js} +3 -3
  269. package/dist/chunks/{model-resolver-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{model-resolver-0xd2d7hb.js → schema-y4nzzd5t.js} +5 -5
  271. package/dist/chunks/{model-resolver-1rm0drdm.js → schema-y6nt3k22.js} +2 -2
  272. package/dist/chunks/{model-resolver-y71avatq.js → schema-y71avatq.js} +1 -1
  273. package/dist/chunks/{model-resolver-fzs22wv3.js → schema-yjf09y7w.js} +8 -8
  274. package/dist/chunks/{model-resolver-bta0rsxr.js → schema-yv168y4t.js} +3 -3
  275. package/dist/chunks/{model-resolver-0bhzd4d6.js → schema-yvgzfjz2.js} +37 -37
  276. package/dist/chunks/{model-resolver-z1k01bn4.js → schema-z1k01bn4.js} +2 -2
  277. package/dist/chunks/{model-resolver-6rb05nrd.js → schema-z26gprdf.js} +9 -9
  278. package/dist/chunks/{model-resolver-pk1prh3n.js → schema-z5bqgj44.js} +11 -11
  279. package/dist/chunks/{model-resolver-29x78va6.js → schema-z63w68vq.js} +6 -6
  280. package/dist/chunks/{model-resolver-xgb46x83.js → schema-z7ghswzh.js} +32 -32
  281. package/dist/chunks/{model-resolver-9z09jxjk.js → schema-zfqme3r2.js} +8 -8
  282. package/dist/chunks/{model-resolver-q5kb97vr.js → schema-zmjd9hv4.js} +14 -14
  283. package/dist/chunks/{model-resolver-zajwd6at.js → schema-zn2pq4p8.js} +5 -5
  284. package/dist/chunks/{model-resolver-2ejk6t2t.js → schema-zs90bmkf.js} +17 -17
  285. package/dist/chunks/{model-resolver-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +79 -79
  290. package/dist/config/discovery.js +77 -77
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +19 -19
  293. package/dist/config/plugin/agent.js +117 -117
  294. package/dist/config/plugin/command.js +208 -208
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +115 -115
  299. package/dist/config/plugin/instruction.js +85 -85
  300. package/dist/config/plugin/location-watcher.js +117 -117
  301. package/dist/config/plugin/mcp.js +126 -126
  302. package/dist/config/plugin/policy.js +114 -114
  303. package/dist/config/plugin/provider.js +113 -113
  304. package/dist/config/plugin/reference.js +117 -117
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +96 -96
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +115 -115
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +119 -119
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +75 -75
  318. package/dist/database/database.js +64 -64
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration.gen.js +47 -47
  382. package/dist/database/migration.js +49 -49
  383. package/dist/database/path.js +2 -2
  384. package/dist/database/schema.gen.js +1 -1
  385. package/dist/database/schema.sql.js +1 -1
  386. package/dist/database/sqlite.bun.js +1 -1
  387. package/dist/database/sqlite.js +1 -1
  388. package/dist/database/sqlite.node.js +1 -1
  389. package/dist/database/sqlite.workerd.js +1 -1
  390. package/dist/database/v1-migration.bun.js +74 -74
  391. package/dist/database/v1-migration.js +1 -1
  392. package/dist/effect/app-node-builder.js +359 -359
  393. package/dist/effect/app-node-platform.js +2 -2
  394. package/dist/effect/keyed-mutex.js +1 -1
  395. package/dist/effect/websocket-constructor.js +1 -1
  396. package/dist/environment/driver.js +1 -1
  397. package/dist/environment/environment.js +88 -88
  398. package/dist/environment/exec-defaults.js +2 -2
  399. package/dist/environment/files.js +1 -1
  400. package/dist/environment/index.js +90 -90
  401. package/dist/environment/local.js +2 -2
  402. package/dist/environment/memory.js +2 -2
  403. package/dist/environment/unavailable.js +1 -1
  404. package/dist/event/sql.js +1 -1
  405. package/dist/event-logger.js +72 -72
  406. package/dist/file-mutation.js +89 -89
  407. package/dist/file-retention.js +1 -1
  408. package/dist/file.js +1 -1
  409. package/dist/filesystem/fff.bun.js +2 -2
  410. package/dist/filesystem/fff.js +1 -1
  411. package/dist/filesystem/fff.node.js +2 -2
  412. package/dist/filesystem/fff.workerd.js +2 -2
  413. package/dist/filesystem/ignore.js +1 -1
  414. package/dist/filesystem/location-watcher-policy.js +6 -6
  415. package/dist/filesystem/location-watcher.js +221 -221
  416. package/dist/filesystem/protected.js +1 -1
  417. package/dist/filesystem/search.js +91 -91
  418. package/dist/filesystem/watcher-binding.js +3 -3
  419. package/dist/filesystem/watcher.js +13 -13
  420. package/dist/filesystem.js +92 -92
  421. package/dist/form.js +82 -82
  422. package/dist/formatter/builtins.js +4 -4
  423. package/dist/formatter.js +84 -84
  424. package/dist/generate.js +91 -91
  425. package/dist/git.js +7 -7
  426. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  427. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  428. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  430. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  432. package/dist/github-copilot/copilot-provider.js +17 -17
  433. package/dist/github-copilot/models.js +3 -3
  434. package/dist/github-copilot/openai-compatible-error.js +1 -1
  435. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  436. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  437. package/dist/github-copilot/responses/openai-error.js +1 -1
  438. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  439. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  440. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  441. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  442. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  445. package/dist/id/id.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +350 -350
  450. package/dist/instruction-discovery.js +79 -79
  451. package/dist/instructions/builtins.js +82 -82
  452. package/dist/instructions/index.js +1 -1
  453. package/dist/integration/connection.js +1 -1
  454. package/dist/integration.js +84 -84
  455. package/dist/job.js +77 -77
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +71 -71
  458. package/dist/location-activity.js +130 -130
  459. package/dist/location-mutation.js +81 -81
  460. package/dist/location-service-map.js +81 -81
  461. package/dist/location-services.js +347 -347
  462. package/dist/location.js +78 -78
  463. package/dist/mcp/client.js +86 -86
  464. package/dist/mcp/index.js +101 -101
  465. package/dist/mcp/instructions.js +119 -119
  466. package/dist/mcp/oauth.js +3 -3
  467. package/dist/mcp/stdio.js +85 -85
  468. package/dist/mime.js +1 -1
  469. package/dist/modal/models.js +3 -3
  470. package/dist/model-resolver.js +86 -86
  471. package/dist/model.js +2 -2
  472. package/dist/models-dev.js +86 -86
  473. package/dist/oauth/page.js +1 -1
  474. package/dist/permission/saved.js +80 -80
  475. package/dist/permission/sql.js +5 -5
  476. package/dist/permission.js +107 -107
  477. package/dist/persistent-pty/binary.bun.js +1 -1
  478. package/dist/persistent-pty/daemon.js +1 -1
  479. package/dist/persistent-pty/index.js +82 -82
  480. package/dist/persistent-pty/pty-binding.js +1 -1
  481. package/dist/persistent-pty.js +73 -73
  482. package/dist/plugin/agent.js +98 -98
  483. package/dist/plugin/command.js +96 -96
  484. package/dist/plugin/hooks.js +5 -5
  485. package/dist/plugin/host.js +212 -212
  486. package/dist/plugin/instance.js +1 -1
  487. package/dist/plugin/internal.js +321 -321
  488. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  489. package/dist/plugin/models-dev.js +75 -75
  490. package/dist/plugin/module.js +5 -5
  491. package/dist/plugin/optimize.js +2 -2
  492. package/dist/plugin/plan.js +96 -96
  493. package/dist/plugin/promise.js +1 -1
  494. package/dist/plugin/provider/alibaba.js +2 -2
  495. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  496. package/dist/plugin/provider/anthropic.js +2 -2
  497. package/dist/plugin/provider/azure.js +118 -118
  498. package/dist/plugin/provider/cerebras.js +2 -2
  499. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  500. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  501. package/dist/plugin/provider/cohere.js +2 -2
  502. package/dist/plugin/provider/configured.js +114 -114
  503. package/dist/plugin/provider/dynamic.js +2 -2
  504. package/dist/plugin/provider/factory.js +1 -1
  505. package/dist/plugin/provider/gateway.js +2 -2
  506. package/dist/plugin/provider/github-copilot.js +80 -80
  507. package/dist/plugin/provider/gitlab.js +3 -3
  508. package/dist/plugin/provider/google-vertex.js +2 -2
  509. package/dist/plugin/provider/kilo.js +2 -2
  510. package/dist/plugin/provider/llmgateway.js +76 -76
  511. package/dist/plugin/provider/lmstudio.js +115 -115
  512. package/dist/plugin/provider/mistral.js +2 -2
  513. package/dist/plugin/provider/modal.js +79 -79
  514. package/dist/plugin/provider/nvidia.js +2 -2
  515. package/dist/plugin/provider/ollama.js +117 -117
  516. package/dist/plugin/provider/openai-compatible.js +1 -1
  517. package/dist/plugin/provider/openai.js +78 -78
  518. package/dist/plugin/provider/opencode.js +76 -76
  519. package/dist/plugin/provider/openrouter.js +3 -3
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/sap-ai-core.js +3 -3
  522. package/dist/plugin/provider/sdk-factory.js +1 -1
  523. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  524. package/dist/plugin/provider/venice.js +2 -2
  525. package/dist/plugin/provider/vercel.js +2 -2
  526. package/dist/plugin/provider/vllm.js +117 -117
  527. package/dist/plugin/provider/xai.js +77 -77
  528. package/dist/plugin/provider/zenmux.js +2 -2
  529. package/dist/plugin/provider.js +155 -155
  530. package/dist/plugin/sdk.js +74 -74
  531. package/dist/plugin/service.js +3 -3
  532. package/dist/plugin/skill.js +132 -132
  533. package/dist/plugin/source-directory.js +1 -1
  534. package/dist/plugin/supervisor.js +336 -336
  535. package/dist/plugin/update.js +6 -6
  536. package/dist/plugin/variant.js +4 -4
  537. package/dist/plugin/vcs/git.js +82 -82
  538. package/dist/plugin/vcs/hg.js +82 -82
  539. package/dist/plugin/warming.js +112 -112
  540. package/dist/plugin/websearch/exa.js +7 -7
  541. package/dist/plugin/websearch/firecrawl.js +8 -8
  542. package/dist/plugin/websearch/index.js +8 -8
  543. package/dist/plugin/websearch/mcp.js +4 -4
  544. package/dist/plugin/websearch/parallel.js +8 -8
  545. package/dist/plugin/websearch/tavily.js +4 -4
  546. package/dist/plugin.js +219 -219
  547. package/dist/project/schema.js +6 -6
  548. package/dist/project/sql.js +4 -4
  549. package/dist/project.js +83 -83
  550. package/dist/provider.js +5 -5
  551. package/dist/pty/protocol.js +1 -1
  552. package/dist/pty/schema.js +3 -3
  553. package/dist/pty/ticket.js +1 -1
  554. package/dist/pty.js +92 -92
  555. package/dist/reference/instructions.js +84 -84
  556. package/dist/reference.js +84 -84
  557. package/dist/repository-cache.js +76 -76
  558. package/dist/repository.js +1 -1
  559. package/dist/ripgrep/binary.js +2 -2
  560. package/dist/ripgrep.js +91 -91
  561. package/dist/rpc.js +81 -81
  562. package/dist/schema.js +1 -1
  563. package/dist/session/command.js +72 -72
  564. package/dist/session/compaction.js +128 -128
  565. package/dist/session/context.js +146 -146
  566. package/dist/session/environment.js +5 -5
  567. package/dist/session/error.js +7 -7
  568. package/dist/session/event.js +1 -1
  569. package/dist/session/execution/restart.js +218 -218
  570. package/dist/session/execution.js +123 -123
  571. package/dist/session/generate.js +147 -147
  572. package/dist/session/history.js +14 -14
  573. package/dist/session/inbox.js +88 -88
  574. package/dist/session/info.js +3 -3
  575. package/dist/session/instruction-entry.js +75 -75
  576. package/dist/session/instruction-state.js +8 -8
  577. package/dist/session/instructions.js +91 -91
  578. package/dist/session/message-updater.js +4 -4
  579. package/dist/session/message.js +1 -1
  580. package/dist/session/model-request.js +112 -112
  581. package/dist/session/model-transport.js +9 -9
  582. package/dist/session/move.js +125 -125
  583. package/dist/session/projector.js +84 -84
  584. package/dist/session/prompt.js +99 -99
  585. package/dist/session/revert.js +85 -85
  586. package/dist/session/run-coordinator.js +1 -1
  587. package/dist/session/runner/index.js +3 -3
  588. package/dist/session/runner/llm.js +224 -224
  589. package/dist/session/runner/max-steps.js +1 -1
  590. package/dist/session/runner/model.js +86 -86
  591. package/dist/session/runner/publish-llm-event.js +3 -3
  592. package/dist/session/runner/retry.js +4 -4
  593. package/dist/session/runner/step.js +120 -120
  594. package/dist/session/runner/to-llm-message.js +1 -1
  595. package/dist/session/schema.js +5 -5
  596. package/dist/session/session.js +168 -168
  597. package/dist/session/shell.js +131 -131
  598. package/dist/session/skill.js +97 -97
  599. package/dist/session/sql.js +5 -5
  600. package/dist/session/stats.js +71 -71
  601. package/dist/session/store.js +84 -84
  602. package/dist/session/subagent-completion.js +1 -1
  603. package/dist/session/subagent-job.js +204 -204
  604. package/dist/session/system-prompt.js +3 -3
  605. package/dist/session/title.js +150 -150
  606. package/dist/session/to-session-error.js +106 -106
  607. package/dist/session/transfer.js +214 -214
  608. package/dist/session/usage.js +1 -1
  609. package/dist/session.js +210 -210
  610. package/dist/shell/parse.js +6 -6
  611. package/dist/shell/result.js +1 -1
  612. package/dist/shell/scan.js +1 -1
  613. package/dist/shell/select.js +15 -15
  614. package/dist/shell.js +133 -133
  615. package/dist/skill/discovery.js +2 -2
  616. package/dist/skill/instructions.js +101 -101
  617. package/dist/skill.js +98 -98
  618. package/dist/snapshot.js +86 -86
  619. package/dist/state.js +1 -1
  620. package/dist/tool/html-markdown.js +1 -1
  621. package/dist/tool/http-body.js +1 -1
  622. package/dist/tool/mcp.js +118 -118
  623. package/dist/tool/plugin/edit.js +114 -114
  624. package/dist/tool/plugin/file-diff.js +1 -1
  625. package/dist/tool/plugin/glob.js +117 -117
  626. package/dist/tool/plugin/grep.js +119 -119
  627. package/dist/tool/plugin/opencode.js +3 -3
  628. package/dist/tool/plugin/patch.js +116 -116
  629. package/dist/tool/plugin/question.js +95 -95
  630. package/dist/tool/plugin/read.js +120 -120
  631. package/dist/tool/plugin/shell.js +211 -211
  632. package/dist/tool/plugin/skill.js +107 -107
  633. package/dist/tool/plugin/subagent.js +213 -213
  634. package/dist/tool/plugin/webfetch.js +104 -104
  635. package/dist/tool/plugin/websearch.js +108 -108
  636. package/dist/tool/plugin/write.js +116 -116
  637. package/dist/tool/read-filesystem.js +96 -96
  638. package/dist/tool/runtime.js +1 -1
  639. package/dist/tool-output.js +8 -8
  640. package/dist/tool.js +11 -11
  641. package/dist/util/error-summary.js +1 -1
  642. package/dist/util/error.js +1 -1
  643. package/dist/util/iife.js +1 -1
  644. package/dist/util/lazy.js +1 -1
  645. package/dist/util/slug.js +1 -1
  646. package/dist/util/token.js +1 -1
  647. package/dist/util/which.js +1 -1
  648. package/dist/util/wildcard.js +1 -1
  649. package/dist/v1/config/agent.js +7 -7
  650. package/dist/v1/config/attachment.js +4 -4
  651. package/dist/v1/config/command.js +3 -3
  652. package/dist/v1/config/config.js +16 -16
  653. package/dist/v1/config/error.js +4 -4
  654. package/dist/v1/config/formatter.js +7 -7
  655. package/dist/v1/config/layout.js +1 -1
  656. package/dist/v1/config/lsp.js +5 -5
  657. package/dist/v1/config/mcp.js +4 -4
  658. package/dist/v1/config/migrate.js +4 -4
  659. package/dist/v1/config/permission.js +7 -7
  660. package/dist/v1/config/plugin.js +3 -3
  661. package/dist/v1/config/provider-options.js +1 -1
  662. package/dist/v1/config/provider.js +4 -4
  663. package/dist/v1/config/server.js +2 -2
  664. package/dist/v1/config/skills.js +3 -3
  665. package/dist/v1/permission.js +1 -1
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +85 -85
  668. package/dist/websearch.js +80 -80
  669. package/dist/wellknown/plugin.js +74 -74
  670. package/dist/wellknown.js +79 -79
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +78 -78
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +5 -5
  676. package/dist/worktree/refresh.js +337 -337
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree.js +91 -91
  679. package/package.json +7 -7
  680. package/dist/chunks/model-resolver-1tymz7y1.js +0 -22
  681. package/dist/chunks/model-resolver-9ccst39j.js +0 -460
  682. package/dist/chunks/model-resolver-jqh9b0xq.js +0 -18
  683. package/dist/chunks/model-resolver-p6v8s9en.js +0 -247
  684. package/dist/chunks/model-resolver-w3vb4krt.js +0 -4
  685. /package/dist/chunks/{model-resolver-0fabt78z.js → schema-0fabt78z.js} +0 -0
  686. /package/dist/chunks/{model-resolver-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{model-resolver-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{model-resolver-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{model-resolver-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{model-resolver-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{model-resolver-2710q6r3.js → schema-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{model-resolver-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{model-resolver-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{model-resolver-359p4xyc.js → schema-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{model-resolver-3asan66x.js → schema-3asan66x.js} +0 -0
  696. /package/dist/chunks/{model-resolver-3t738kvx.js → schema-3t738kvx.js} +0 -0
  697. /package/dist/chunks/{model-resolver-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{model-resolver-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{model-resolver-41nvscxy.js → schema-41nvscxy.js} +0 -0
  700. /package/dist/chunks/{model-resolver-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{model-resolver-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{model-resolver-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{model-resolver-53557ph1.js → schema-53557ph1.js} +0 -0
  704. /package/dist/chunks/{model-resolver-550bvhaj.js → schema-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{model-resolver-6prwharc.js → schema-6prwharc.js} +0 -0
  706. /package/dist/chunks/{model-resolver-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  707. /package/dist/chunks/{model-resolver-7m9af43g.js → schema-7m9af43g.js} +0 -0
  708. /package/dist/chunks/{model-resolver-822emrt2.js → schema-822emrt2.js} +0 -0
  709. /package/dist/chunks/{model-resolver-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  710. /package/dist/chunks/{model-resolver-8n3pysct.js → schema-8n3pysct.js} +0 -0
  711. /package/dist/chunks/{model-resolver-982e01ww.js → schema-982e01ww.js} +0 -0
  712. /package/dist/chunks/{model-resolver-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  713. /package/dist/chunks/{model-resolver-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  714. /package/dist/chunks/{model-resolver-a1tpkmh4.js → schema-a1tpkmh4.js} +0 -0
  715. /package/dist/chunks/{model-resolver-af5trqkr.js → schema-af5trqkr.js} +0 -0
  716. /package/dist/chunks/{model-resolver-afrmfg78.js → schema-afrmfg78.js} +0 -0
  717. /package/dist/chunks/{model-resolver-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  718. /package/dist/chunks/{model-resolver-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  719. /package/dist/chunks/{model-resolver-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  720. /package/dist/chunks/{model-resolver-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  721. /package/dist/chunks/{model-resolver-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  722. /package/dist/chunks/{model-resolver-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  723. /package/dist/chunks/{model-resolver-d9fn303g.js → schema-d9fn303g.js} +0 -0
  724. /package/dist/chunks/{model-resolver-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  725. /package/dist/chunks/{model-resolver-dajrwvna.js → schema-dajrwvna.js} +0 -0
  726. /package/dist/chunks/{model-resolver-dap0rakb.js → schema-dap0rakb.js} +0 -0
  727. /package/dist/chunks/{model-resolver-df08tz66.js → schema-df08tz66.js} +0 -0
  728. /package/dist/chunks/{model-resolver-dy18nga0.js → schema-dy18nga0.js} +0 -0
  729. /package/dist/chunks/{model-resolver-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  730. /package/dist/chunks/{model-resolver-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  731. /package/dist/chunks/{model-resolver-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  732. /package/dist/chunks/{model-resolver-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  733. /package/dist/chunks/{model-resolver-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  734. /package/dist/chunks/{model-resolver-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  735. /package/dist/chunks/{model-resolver-faypxj3z.js → schema-faypxj3z.js} +0 -0
  736. /package/dist/chunks/{model-resolver-fd410y7t.js → schema-fd410y7t.js} +0 -0
  737. /package/dist/chunks/{model-resolver-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  738. /package/dist/chunks/{model-resolver-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  739. /package/dist/chunks/{model-resolver-g86h250q.js → schema-g86h250q.js} +0 -0
  740. /package/dist/chunks/{model-resolver-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  741. /package/dist/chunks/{model-resolver-hk9envan.js → schema-hk9envan.js} +0 -0
  742. /package/dist/chunks/{model-resolver-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  743. /package/dist/chunks/{model-resolver-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  744. /package/dist/chunks/{model-resolver-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  745. /package/dist/chunks/{model-resolver-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  746. /package/dist/chunks/{model-resolver-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  747. /package/dist/chunks/{model-resolver-mntxs535.js → schema-mntxs535.js} +0 -0
  748. /package/dist/chunks/{model-resolver-mp448xyj.js → schema-mp448xyj.js} +0 -0
  749. /package/dist/chunks/{model-resolver-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  750. /package/dist/chunks/{model-resolver-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  751. /package/dist/chunks/{model-resolver-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  752. /package/dist/chunks/{model-resolver-njntx4h6.js → schema-njntx4h6.js} +0 -0
  753. /package/dist/chunks/{model-resolver-p8qxwesx.js → schema-p8qxwesx.js} +0 -0
  754. /package/dist/chunks/{model-resolver-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  755. /package/dist/chunks/{model-resolver-q74kybfr.js → schema-q74kybfr.js} +0 -0
  756. /package/dist/chunks/{model-resolver-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  757. /package/dist/chunks/{model-resolver-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  758. /package/dist/chunks/{model-resolver-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  759. /package/dist/chunks/{model-resolver-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  760. /package/dist/chunks/{model-resolver-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  761. /package/dist/chunks/{model-resolver-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  762. /package/dist/chunks/{model-resolver-se0s1eqw.js → schema-se0s1eqw.js} +0 -0
  763. /package/dist/chunks/{model-resolver-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  764. /package/dist/chunks/{model-resolver-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  765. /package/dist/chunks/{model-resolver-twg0f83k.js → schema-twg0f83k.js} +0 -0
  766. /package/dist/chunks/{model-resolver-w803qqfp.js → schema-w803qqfp.js} +0 -0
  767. /package/dist/chunks/{model-resolver-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  768. /package/dist/chunks/{model-resolver-wtztk69x.js → schema-wtztk69x.js} +0 -0
  769. /package/dist/chunks/{model-resolver-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  770. /package/dist/chunks/{model-resolver-x1b8g1yb.js → schema-x1b8g1yb.js} +0 -0
  771. /package/dist/chunks/{model-resolver-x61499pn.js → schema-x61499pn.js} +0 -0
  772. /package/dist/chunks/{model-resolver-y44na4kk.js → schema-y44na4kk.js} +0 -0
  773. /package/dist/chunks/{model-resolver-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  774. /package/dist/chunks/{model-resolver-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  775. /package/dist/chunks/{model-resolver-z9919s4g.js → schema-z9919s4g.js} +0 -0
  776. /package/dist/chunks/{model-resolver-zbjnn3ac.js → schema-zbjnn3ac.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./model-resolver-hm42kar1.js";
2
+ Service78,
3
+ node83
4
+ } from "./schema-9tphn1nx.js";
5
5
  import {
6
6
  Service75,
7
7
  node80
8
- } from "./model-resolver-8bcbmssv.js";
8
+ } from "./schema-be2wa24j.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./model-resolver-kg06axw8.js";
12
+ } from "./schema-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./model-resolver-tazgh4e4.js";
17
+ } from "./schema-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./model-resolver-9rqn6x4v.js";
20
+ } from "./schema-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info4,
29
+ Info: () => Info3,
30
30
  Mode: () => Mode2,
31
- Service: () => Service25,
31
+ Service: () => Service17,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node29
33
+ node: () => node21
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode-ai/schema/file-diff";
38
38
  import { FileSystem } from "@opencode-ai/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode-ai/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode-ai/schema/vcs";
40
40
  import { VcsEvent } from "@opencode-ai/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode-ai/util/fs-util";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service25 extends Context.Service()("@opencode/Vcs") {
48
+ class Service17 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service25, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
52
  const location = yield* Service75;
53
- const bus = yield* Service79;
53
+ const bus = yield* Service78;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service25.of({
118
+ return Service17.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node29 = makeLocationNode({
165
- service: Service25,
164
+ var node21 = makeLocationNode({
165
+ service: Service17,
166
166
  layer,
167
- deps: [FSUtil.node, node80, node84]
167
+ deps: [FSUtil.node, node80, node83]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service25, node29, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service17, node21, exports_vcs };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./model-resolver-emrn6kk6.js";
4
+ } from "./schema-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Service75
3
- } from "./model-resolver-8bcbmssv.js";
3
+ } from "./schema-be2wa24j.js";
4
4
  import {
5
- Service69
6
- } from "./model-resolver-trt9khgc.js";
5
+ Service55
6
+ } from "./schema-nzvt3fe2.js";
7
7
  import {
8
- Service22,
8
+ Service54,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./model-resolver-wcav6c40.js";
11
+ } from "./schema-v0mbc4ay.js";
12
12
  import {
13
- Service14
14
- } from "./model-resolver-smnvvzmt.js";
13
+ Service52
14
+ } from "./schema-6xwg1kq2.js";
15
15
  import {
16
16
  externalDirectoryPermission2,
17
17
  resolvePath2,
18
- Service21
19
- } from "./model-resolver-vhpw989j.js";
18
+ Service13
19
+ } from "./schema-xy04q38t.js";
20
20
  import {
21
- Service53
22
- } from "./model-resolver-pmt5dx08.js";
21
+ Service63
22
+ } from "./schema-p234zevy.js";
23
23
  import {
24
24
  fileDiff2
25
- } from "./model-resolver-6prwharc.js";
25
+ } from "./schema-6prwharc.js";
26
26
  import {
27
27
  __export
28
- } from "./model-resolver-9rqn6x4v.js";
28
+ } from "./schema-9rqn6x4v.js";
29
29
 
30
30
  // src/tool/plugin/edit.ts
31
31
  var exports_edit = {};
32
32
  __export(exports_edit, {
33
33
  EditTool: () => exports_edit,
34
- Input: () => Input7,
35
- Output: () => Output5,
36
- Plugin: () => Plugin38,
37
- name: () => name7
34
+ Input: () => Input12,
35
+ Output: () => Output8,
36
+ Plugin: () => Plugin26,
37
+ name: () => name12
38
38
  });
39
39
  import { ToolFailure } from "@opencode-ai/ai";
40
40
  import { FileDiff } from "@opencode-ai/schema/file-diff";
41
41
  import { Bom } from "@opencode-ai/util/bom";
42
42
  import { Effect, Schema } from "effect";
43
- var name7 = "edit";
44
- var Input7 = Schema.Struct({
43
+ var name12 = "edit";
44
+ var Input12 = Schema.Struct({
45
45
  path: Schema.String.annotate({
46
46
  description: "File to edit"
47
47
  }),
@@ -51,7 +51,7 @@ var Input7 = Schema.Struct({
51
51
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
52
52
  })
53
53
  });
54
- var Output5 = Schema.Struct({
54
+ var Output8 = Schema.Struct({
55
55
  files: Schema.Array(FileDiff.Info),
56
56
  replacements: Schema.Number
57
57
  });
@@ -104,21 +104,21 @@ var findLineOccurrences = (content, search) => {
104
104
  return result;
105
105
  }, []);
106
106
  };
107
- var Plugin38 = {
107
+ var Plugin26 = {
108
108
  id: "opencode.tool.edit",
109
109
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
110
- const mutation = yield* Service21;
111
- const fileMutation = yield* Service22;
112
- const environment = yield* Service69;
113
- const formatter = yield* Service14;
110
+ const mutation = yield* Service13;
111
+ const fileMutation = yield* Service54;
112
+ const environment = yield* Service55;
113
+ const formatter = yield* Service52;
114
114
  const location = yield* Service75;
115
- const permission = yield* Service53;
115
+ const permission = yield* Service63;
116
116
  yield* ctx.tool.transform((editor) => editor.add({
117
- name: name7,
117
+ name: name12,
118
118
  options: { codemode: false, permission: "edit" },
119
119
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
120
- input: Input7,
121
- output: Output5,
120
+ input: Input12,
121
+ output: Output8,
122
122
  execute: (input, context) => {
123
123
  return Effect.gen(function* () {
124
124
  const permissionSource = {
@@ -203,4 +203,4 @@ var Plugin38 = {
203
203
  })
204
204
  };
205
205
 
206
- export { name7, Input7, Output5, Plugin38, exports_edit };
206
+ export { name12, Input12, Output8, Plugin26, exports_edit };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID8
3
- } from "./model-resolver-a12rb003.js";
2
+ ID10
3
+ } from "./schema-2c3xm3da.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./model-resolver-p8qxwesx.js";
6
+ } from "./schema-p8qxwesx.js";
7
7
  import {
8
- Info16
9
- } from "./model-resolver-vj55tknd.js";
8
+ Info13
9
+ } from "./schema-3wgash5j.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./model-resolver-fy6n5twb.js";
12
+ } from "./schema-bcv0c355.js";
13
13
  import {
14
14
  latest2,
15
- Service67
16
- } from "./model-resolver-rfwpvx00.js";
15
+ Service46
16
+ } from "./schema-7rncntgt.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./model-resolver-5daktx2q.js";
19
+ } from "./schema-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./model-resolver-9rqn6x4v.js";
22
+ } from "./schema-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: () => Plugin12
25
+ var exports_agent2 = {};
26
+ __export(exports_agent2, {
27
+ ConfigAgentPlugin: () => exports_agent2,
28
+ Plugin: () => Plugin31
29
29
  });
30
30
  import { define } from "@opencode-ai/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode-ai/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(Info16);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info13);
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 Plugin12 = define({
47
+ var Plugin31 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service67;
50
+ const config = yield* Service46;
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 Plugin12 = 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(ID8.make(configuredDefault));
79
+ editor.default(ID10.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 = ID8.make(id);
85
+ const agentID = ID10.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -160,4 +160,4 @@ function decode(file, content) {
160
160
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
161
161
  }
162
162
 
163
- export { Plugin12, exports_agent };
163
+ export { Plugin31, exports_agent2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./model-resolver-gd4qta3r.js";
3
+ } from "./schema-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./model-resolver-k4bwy1x5.js";
6
+ } from "./schema-k4bwy1x5.js";
7
7
  import {
8
8
  create3
9
- } from "./model-resolver-kg06axw8.js";
9
+ } from "./schema-kg06axw8.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./schema-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service66,
21
+ Service: () => Service40,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node70
23
+ node: () => node44
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service66 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service40 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service66, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service66.of({
125
+ return Service40.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node70 = makeLocationNode({
143
- service: Service66,
142
+ var node44 = makeLocationNode({
143
+ service: Service40,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service66, node70, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service40, node44, exports_tool_output2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service67
4
- } from "./model-resolver-rfwpvx00.js";
3
+ Service46
4
+ } from "./schema-7rncntgt.js";
5
5
  import {
6
6
  observe2
7
- } from "./model-resolver-qsdy395h.js";
7
+ } from "./schema-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./schema-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
- var exports_websearch = {};
14
- __export(exports_websearch, {
15
- ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin7
13
+ var exports_websearch2 = {};
14
+ __export(exports_websearch2, {
15
+ ConfigWebSearchPlugin: () => exports_websearch2,
16
+ Plugin: () => Plugin41
17
17
  });
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin7 = define({
20
+ var Plugin41 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service67;
23
+ const config = yield* Service46;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin7 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin7, exports_websearch };
35
+ export { Plugin41, exports_websearch2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-qvpg2584.js";
3
+ } from "./schema-qt162p81.js";
4
4
  import {
5
5
  call2
6
- } from "./model-resolver-mfqp6xfm.js";
6
+ } from "./schema-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./schema-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin22,
14
+ Plugin: () => Plugin3,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint2
16
+ endpoint: () => endpoint3
17
17
  });
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint2 = "https://search.parallel.ai/mcp";
21
+ var endpoint3 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin22 = define({
50
+ var Plugin3 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin22 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint3, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin22 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint2, Plugin22, exports_parallel };
96
+ export { endpoint3, Plugin3, exports_parallel };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service62
3
- } from "./model-resolver-tcfdn8aw.js";
2
+ Service72
3
+ } from "./schema-bewj0jz1.js";
4
4
  import {
5
- Service53
6
- } from "./model-resolver-pmt5dx08.js";
5
+ Service63
6
+ } from "./schema-p234zevy.js";
7
7
  import {
8
- ID3,
8
+ ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service20
14
- } from "./model-resolver-mj9y1f9w.js";
13
+ Service22
14
+ } from "./schema-skkjy97b.js";
15
15
  import {
16
16
  __export
17
- } from "./model-resolver-9rqn6x4v.js";
17
+ } from "./schema-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch2 = {};
21
- __export(exports_websearch2, {
22
- Input: () => Input5,
20
+ var exports_websearch = {};
21
+ __export(exports_websearch, {
22
+ Input: () => Input10,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin36,
25
- WebSearchTool: () => exports_websearch2,
26
- description: () => description3,
27
- name: () => name5
24
+ Plugin: () => Plugin24,
25
+ WebSearchTool: () => exports_websearch,
26
+ description: () => description5,
27
+ name: () => name10
28
28
  });
29
29
  import { ToolFailure } from "@opencode-ai/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name5 = "websearch";
32
+ var name10 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input5 = Schema.Struct({
42
+ var Input10 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID3,
46
+ provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin36 = {
49
+ var Plugin24 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service53;
53
- const forms = yield* Service62;
54
- const websearch = yield* Service20;
52
+ const permission = yield* Service63;
53
+ const forms = yield* Service72;
54
+ const websearch = yield* Service22;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name5,
56
+ name: name10,
57
57
  options: { codemode: false },
58
- description: description3,
59
- input: Input5,
58
+ description: description5,
59
+ input: Input10,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name5,
63
+ action: name10,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
176
176
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name5];
179
+ delete event.tools[name10];
180
180
  }));
181
181
  })
182
182
  };
183
183
 
184
- export { name5, NO_RESULTS2, description3, Input5, Plugin36, exports_websearch2 };
184
+ export { name10, NO_RESULTS2, description5, Input10, Plugin24, exports_websearch };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service49
3
- } from "./model-resolver-smjktvs8.js";
2
+ Service60
3
+ } from "./schema-bj23jw33.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./model-resolver-jqh9b0xq.js";
6
+ } from "./schema-4v7qdvcn.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./model-resolver-4hdyv2zw.js";
9
+ } from "./schema-nrsmc0cn.js";
10
10
  import {
11
- Service41
12
- } from "./model-resolver-6ks5kqks.js";
11
+ Service43
12
+ } from "./schema-3eb7wbw0.js";
13
13
  import {
14
14
  __export
15
- } from "./model-resolver-9rqn6x4v.js";
15
+ } from "./schema-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* Service60;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service43), 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 });
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./model-resolver-rvb2zp0m.js";
4
+ } from "./schema-4z6b0fg6.js";
5
5
 
6
6
  // src/plugin/provider/kilo.ts
7
7
  import { Effect } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-p8qxwesx.js";
3
+ } from "./schema-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};