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

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 (778) 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 +81 -81
  8. package/dist/chunks/{config-w9pb3kva.js → model-resolver-01q1wmsg.js} +27 -27
  9. package/dist/chunks/{config-90crsdqb.js → model-resolver-04nrqb8q.js} +20 -20
  10. package/dist/chunks/{config-dt746yqr.js → model-resolver-0ancwgef.js} +8 -8
  11. package/dist/chunks/{config-e6s6n12p.js → model-resolver-0bhzd4d6.js} +9 -8
  12. package/dist/chunks/{config-0e0xafbb.js → model-resolver-0e0xafbb.js} +2 -2
  13. package/dist/chunks/{config-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{config-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{config-aw45zfev.js → model-resolver-0q56w8vj.js} +13 -13
  16. package/dist/chunks/{config-yptt4r9g.js → model-resolver-0qr0cjqp.js} +31 -31
  17. package/dist/chunks/{config-0s9ayhjt.js → model-resolver-0s9ayhjt.js} +1 -1
  18. package/dist/chunks/{config-3wyqxhyv.js → model-resolver-0vcgwdj5.js} +38 -38
  19. package/dist/chunks/{config-btc4hvws.js → model-resolver-0xd2d7hb.js} +5 -5
  20. package/dist/chunks/{config-z3avqe8v.js → model-resolver-0xvppt2q.js} +17 -17
  21. package/dist/chunks/{config-x8nx6njd.js → model-resolver-15pjntb5.js} +15 -15
  22. package/dist/chunks/{config-mcqwb5cw.js → model-resolver-16hj88rm.js} +21 -21
  23. package/dist/chunks/{config-ms4p05rz.js → model-resolver-1bwaarmf.js} +4 -4
  24. package/dist/chunks/{config-1ct4r87x.js → model-resolver-1ct4r87x.js} +1 -1
  25. package/dist/chunks/{config-3h117gp9.js → model-resolver-1hy241bm.js} +3 -3
  26. package/dist/chunks/{config-511mjebb.js → model-resolver-1mvksd4s.js} +4 -4
  27. package/dist/chunks/{config-g0ae6at5.js → model-resolver-1nfczbs6.js} +28 -28
  28. package/dist/chunks/{config-dkk7a5wk.js → model-resolver-1rm0drdm.js} +2 -2
  29. package/dist/chunks/model-resolver-1tymz7y1.js +22 -0
  30. package/dist/chunks/{config-kztq1z52.js → model-resolver-1wj6fe6f.js} +40 -40
  31. package/dist/chunks/{config-n95nq84g.js → model-resolver-1ydgq2r4.js} +5 -5
  32. package/dist/chunks/{config-x05erqvs.js → model-resolver-1zsnv1c7.js} +8 -8
  33. package/dist/chunks/{config-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  34. package/dist/chunks/{config-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
  35. package/dist/chunks/{config-3camn5j0.js → model-resolver-25g0a3wm.js} +36 -36
  36. package/dist/chunks/{config-cjnqn6s5.js → model-resolver-29vm76e6.js} +24 -24
  37. package/dist/chunks/{config-z63w68vq.js → model-resolver-29x78va6.js} +6 -6
  38. package/dist/chunks/{config-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  39. package/dist/chunks/{config-y5nnwpyf.js → model-resolver-2ejk6t2t.js} +15 -15
  40. package/dist/chunks/{config-rvgz7n9z.js → model-resolver-2gqx3cqb.js} +17 -17
  41. package/dist/chunks/{config-2ht70gj7.js → model-resolver-2ht70gj7.js} +1 -1
  42. package/dist/chunks/{config-7dqw4kz8.js → model-resolver-2k8khapm.js} +5 -5
  43. package/dist/chunks/{config-2sg0crgm.js → model-resolver-2m5rhxa5.js} +6 -6
  44. package/dist/chunks/{config-bpnz08mb.js → model-resolver-2pgk7vty.js} +2 -2
  45. package/dist/chunks/{config-237jjh8r.js → model-resolver-2w6bfmvf.js} +1 -1
  46. package/dist/chunks/{config-qa6sfwtx.js → model-resolver-34rgtrgw.js} +10 -10
  47. package/dist/chunks/{config-cfsc9srb.js → model-resolver-36vsdr69.js} +8 -8
  48. package/dist/chunks/{config-wx6ek7p1.js → model-resolver-3b41mhr3.js} +11 -11
  49. package/dist/chunks/{config-kxdbpzvg.js → model-resolver-3cz2rdwz.js} +11 -11
  50. package/dist/chunks/{config-gdvy8fx6.js → model-resolver-3fc6dm20.js} +4 -4
  51. package/dist/chunks/{config-6vwm7pwz.js → model-resolver-3g3bkchr.js} +4 -4
  52. package/dist/chunks/{config-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  53. package/dist/chunks/{config-zre25x07.js → model-resolver-3mrm2hwf.js} +12 -12
  54. package/dist/chunks/{config-3qzbfqsy.js → model-resolver-3qzbfqsy.js} +2 -2
  55. package/dist/chunks/{config-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  56. package/dist/chunks/{config-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  57. package/dist/chunks/{config-5p8rkq6x.js → model-resolver-4325r94x.js} +3 -3
  58. package/dist/chunks/{config-454k5vzh.js → model-resolver-454k5vzh.js} +1 -1
  59. package/dist/chunks/{config-m92yr7es.js → model-resolver-45c840ky.js} +46 -46
  60. package/dist/chunks/{config-n6wnzfnt.js → model-resolver-4hdyv2zw.js} +9 -9
  61. package/dist/chunks/{config-mdgebrj3.js → model-resolver-4kbdx47m.js} +3 -3
  62. package/dist/chunks/{config-4r2nyarf.js → model-resolver-4r2nyarf.js} +1 -1
  63. package/dist/chunks/{config-11d5h6an.js → model-resolver-52z9exmq.js} +41 -41
  64. package/dist/chunks/{config-bwd8tstc.js → model-resolver-56293sgk.js} +9 -9
  65. package/dist/chunks/{config-7j5570x5.js → model-resolver-57smdxt4.js} +20 -20
  66. package/dist/chunks/{config-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  67. package/dist/chunks/{config-5fmxt4p5.js → model-resolver-5fmxt4p5.js} +1 -1
  68. package/dist/chunks/{config-5jvc5tg2.js → model-resolver-5jvc5tg2.js} +1 -1
  69. package/dist/chunks/{config-6cnprtbt.js → model-resolver-5mhvc9ws.js} +11 -11
  70. package/dist/chunks/{config-c570sca7.js → model-resolver-5qdzg6f9.js} +16 -16
  71. package/dist/chunks/{config-0sv942tj.js → model-resolver-6926ty5t.js} +8 -8
  72. package/dist/chunks/{config-5z9qstwn.js → model-resolver-6atxajng.js} +84 -84
  73. package/dist/chunks/{config-sj7pfbwb.js → model-resolver-6bktjyyc.js} +16 -16
  74. package/dist/chunks/{config-ztwscpt3.js → model-resolver-6eq76p0n.js} +9 -9
  75. package/dist/chunks/{config-06g3gz3d.js → model-resolver-6ks5kqks.js} +24 -24
  76. package/dist/chunks/{config-y6x1631j.js → model-resolver-6rb05nrd.js} +21 -21
  77. package/dist/chunks/{config-89eb7pds.js → model-resolver-6tt6g98m.js} +18 -18
  78. package/dist/chunks/{config-pcfe4ghh.js → model-resolver-6yj45qfn.js} +4 -4
  79. package/dist/chunks/{config-711hfp6y.js → model-resolver-711hfp6y.js} +2 -2
  80. package/dist/chunks/{config-72nftnjy.js → model-resolver-72nftnjy.js} +2 -2
  81. package/dist/chunks/{config-84e5sn9r.js → model-resolver-768z0hjh.js} +1 -1
  82. package/dist/chunks/{config-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{config-mbpc0r5e.js → model-resolver-7cm3k2ba.js} +16 -16
  84. package/dist/chunks/{config-8qxykv75.js → model-resolver-7fjq4tnf.js} +17 -17
  85. package/dist/chunks/{config-4cn8226d.js → model-resolver-7wxchhek.js} +26 -26
  86. package/dist/chunks/{config-4mj950mr.js → model-resolver-7x9n72sf.js} +13 -13
  87. package/dist/chunks/{config-ck970z52.js → model-resolver-84vg3atq.js} +10 -10
  88. package/dist/chunks/{config-wqk7r3qg.js → model-resolver-85mg7hhh.js} +29 -29
  89. package/dist/chunks/{config-909y75nz.js → model-resolver-8arm59qw.js} +26 -26
  90. package/dist/chunks/{config-zkhy5g3c.js → model-resolver-8b66w0av.js} +31 -31
  91. package/dist/chunks/{config-vhzdsqy0.js → model-resolver-8bcbmssv.js} +10 -10
  92. package/dist/chunks/{config-5sw9j7cb.js → model-resolver-8na2q2w3.js} +30 -30
  93. package/dist/chunks/{config-jh787hsq.js → model-resolver-8rk7xmhz.js} +27 -27
  94. package/dist/chunks/{config-n029d2mf.js → model-resolver-8vfmqbrd.js} +12 -12
  95. package/dist/chunks/{config-y2cqme3r.js → model-resolver-93a8yfjt.js} +5 -5
  96. package/dist/chunks/{config-75yf2d83.js → model-resolver-97f5v037.js} +8 -8
  97. package/dist/chunks/model-resolver-9ccst39j.js +460 -0
  98. package/dist/chunks/{config-wszjhsey.js → model-resolver-9cnab95r.js} +22 -22
  99. package/dist/chunks/{config-9qm9egsn.js → model-resolver-9qm9egsn.js} +2 -2
  100. package/dist/chunks/{config-a5nkh94p.js → model-resolver-9tjsbxxt.js} +4 -4
  101. package/dist/chunks/{config-zfqme3r2.js → model-resolver-9z09jxjk.js} +8 -8
  102. package/dist/chunks/{config-8w44y47c.js → model-resolver-a12rb003.js} +24 -24
  103. package/dist/chunks/{config-c6tw1r0q.js → model-resolver-a75v1xyy.js} +11 -11
  104. package/dist/chunks/{config-khzg4rw9.js → model-resolver-a9c7wcwq.js} +12 -12
  105. package/dist/chunks/{config-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  106. package/dist/chunks/{config-5qanm62w.js → model-resolver-agpxhpem.js} +47 -47
  107. package/dist/chunks/{config-ajtjthsy.js → model-resolver-ajtjthsy.js} +2 -2
  108. package/dist/chunks/{config-jbzcfc0w.js → model-resolver-amhrny11.js} +15 -15
  109. package/dist/chunks/{config-r98e92ep.js → model-resolver-an7cqtb7.js} +4 -4
  110. package/dist/chunks/{config-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{config-b9wsbatv.js → model-resolver-b9wsbatv.js} +1 -1
  112. package/dist/chunks/{config-bpdzwx5y.js → model-resolver-bc3eevve.js} +20 -20
  113. package/dist/chunks/{config-vpkbx0dt.js → model-resolver-bfenx2tw.js} +4 -4
  114. package/dist/chunks/{config-bcezcar3.js → model-resolver-bphmvjfp.js} +5 -5
  115. package/dist/chunks/{config-4n3dgrrb.js → model-resolver-bta0rsxr.js} +3 -3
  116. package/dist/chunks/{config-ffzahd1q.js → model-resolver-c05z1hzq.js} +7 -7
  117. package/dist/chunks/{config-rwqv0d5v.js → model-resolver-c1pc5gy5.js} +9 -9
  118. package/dist/chunks/{config-wdqf1a1r.js → model-resolver-c76spgvt.js} +6 -6
  119. package/dist/chunks/{config-qrf1196v.js → model-resolver-cp47cn18.js} +34 -34
  120. package/dist/chunks/{config-a6y8nfjs.js → model-resolver-cvvv77jg.js} +28 -28
  121. package/dist/chunks/{config-55v2ymrw.js → model-resolver-d1a1bt21.js} +5 -5
  122. package/dist/chunks/{config-1g8zrhqs.js → model-resolver-d44mvk5w.js} +6 -6
  123. package/dist/chunks/{config-d72308c8.js → model-resolver-d72308c8.js} +2 -2
  124. package/dist/chunks/{config-dn3mp5jr.js → model-resolver-d9hq9bdj.js} +9 -9
  125. package/dist/chunks/{config-5z3wefky.js → model-resolver-daj0k9by.js} +38 -38
  126. package/dist/chunks/{config-hcnaa5mc.js → model-resolver-dd6t7n6p.js} +19 -19
  127. package/dist/chunks/{config-zvt5dnpc.js → model-resolver-dhmh7aw6.js} +4 -4
  128. package/dist/chunks/{config-gfhv6fp9.js → model-resolver-dhsttevq.js} +20 -20
  129. package/dist/chunks/{config-67cp0t3n.js → model-resolver-dkbgd4kx.js} +9 -9
  130. package/dist/chunks/{config-pvze4eqr.js → model-resolver-ds7ysbcx.js} +49 -49
  131. package/dist/chunks/{config-4vxwgeaq.js → model-resolver-ebpav8ht.js} +33 -33
  132. package/dist/chunks/{config-eg4pr325.js → model-resolver-eg4pr325.js} +3 -3
  133. package/dist/chunks/{config-75my1bc5.js → model-resolver-f2gse5fy.js} +6 -6
  134. package/dist/chunks/{config-z1jkgvde.js → model-resolver-f2t11rgb.js} +16 -16
  135. package/dist/chunks/{config-tdpndm1c.js → model-resolver-fepbnb8j.js} +5 -5
  136. package/dist/chunks/{config-b27vhd2z.js → model-resolver-fm2qvscf.js} +4 -4
  137. package/dist/chunks/{config-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{config-fxypknc8.js → model-resolver-fxypknc8.js} +1 -1
  139. package/dist/chunks/{config-xnjnn6ck.js → model-resolver-fy6n5twb.js} +4 -4
  140. package/dist/chunks/{config-1n116cmy.js → model-resolver-fz1pdqz4.js} +9 -9
  141. package/dist/chunks/{config-w6cg0ec3.js → model-resolver-fzs22wv3.js} +10 -10
  142. package/dist/chunks/{config-95kzga43.js → model-resolver-g1qbfqak.js} +79 -79
  143. package/dist/chunks/{config-ztvw86cy.js → model-resolver-g869pf5g.js} +8 -8
  144. package/dist/chunks/{config-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{config-4gbf76z9.js → model-resolver-gfbnzf5x.js} +20 -20
  146. package/dist/chunks/{config-h0xakedw.js → model-resolver-gpvbfbv1.js} +19 -19
  147. package/dist/chunks/{config-9h90tm9n.js → model-resolver-gsfshahz.js} +30 -30
  148. package/dist/chunks/{config-jrfpqtb1.js → model-resolver-gt3w77ph.js} +12 -12
  149. package/dist/chunks/{config-6mjnften.js → model-resolver-gww66jkq.js} +24 -24
  150. package/dist/chunks/{config-fp0hvswx.js → model-resolver-gxc2v2ks.js} +14 -14
  151. package/dist/chunks/{config-xya7n0dd.js → model-resolver-h4ka1g8b.js} +47 -47
  152. package/dist/chunks/{config-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{config-5xcc0t2d.js → model-resolver-h8f15ghy.js} +33 -33
  154. package/dist/chunks/{config-4f0jyt0w.js → model-resolver-haqbnmr5.js} +4 -4
  155. package/dist/chunks/{config-0q383bzk.js → model-resolver-hdfh4kmr.js} +9 -9
  156. package/dist/chunks/{config-heyhwy2w.js → model-resolver-heyhwy2w.js} +1 -1
  157. package/dist/chunks/{config-f6e7rem1.js → model-resolver-hgwc40d2.js} +16 -16
  158. package/dist/chunks/{config-q4zymtb1.js → model-resolver-hm42kar1.js} +4 -4
  159. package/dist/chunks/{config-hrvm11jt.js → model-resolver-hrvm11jt.js} +3 -3
  160. package/dist/chunks/{config-paphc93g.js → model-resolver-j935v87r.js} +2 -2
  161. package/dist/chunks/{config-5g0g6sxf.js → model-resolver-jjv4cws2.js} +7 -7
  162. package/dist/chunks/{config-8pn7nfj1.js → model-resolver-jnmmvqjs.js} +1 -1
  163. package/dist/chunks/{config-jrkm11se.js → model-resolver-jpwcqcav.js} +1 -1
  164. package/dist/chunks/{config-twmtcs0e.js → model-resolver-jq2p7hez.js} +26 -26
  165. package/dist/chunks/model-resolver-jqh9b0xq.js +18 -0
  166. package/dist/chunks/{config-q3x5sxn7.js → model-resolver-jrr570aw.js} +9 -9
  167. package/dist/chunks/{config-fbfx65yb.js → model-resolver-jtb47g3a.js} +17 -17
  168. package/dist/chunks/{config-113zg7kv.js → model-resolver-k22h4khz.js} +15 -15
  169. package/dist/chunks/{config-k4bwy1x5.js → model-resolver-k4bwy1x5.js} +1 -1
  170. package/dist/chunks/{config-yzd93mfj.js → model-resolver-ka1d01ec.js} +5 -5
  171. package/dist/chunks/{config-c8jz2e4n.js → model-resolver-kbfs3jn6.js} +16 -16
  172. package/dist/chunks/{config-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
  173. package/dist/chunks/{config-hw4pv20g.js → model-resolver-kvsjn1dr.js} +2 -2
  174. package/dist/chunks/{config-qt1tjvnb.js → model-resolver-kwfjfb3x.js} +30 -30
  175. package/dist/chunks/{config-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{config-1ygqh575.js → model-resolver-mfqp6xfm.js} +6 -6
  177. package/dist/chunks/{config-7t23sfae.js → model-resolver-mh7ehz1v.js} +22 -22
  178. package/dist/chunks/{config-gmyhzdye.js → model-resolver-mj9y1f9w.js} +25 -25
  179. package/dist/chunks/{config-0ed3m1jk.js → model-resolver-mrca8mn9.js} +17 -17
  180. package/dist/chunks/{config-73tb2d7t.js → model-resolver-mvfsc1pv.js} +3 -3
  181. package/dist/chunks/{config-w4sy5vr6.js → model-resolver-n0qm516r.js} +10 -10
  182. package/dist/chunks/{config-4cshh5cf.js → model-resolver-n52wrphd.js} +20 -20
  183. package/dist/chunks/{config-6cp2jw9r.js → model-resolver-n7z8rwmy.js} +12 -12
  184. package/dist/chunks/{config-06qbn9zd.js → model-resolver-n8qe30xq.js} +9 -9
  185. package/dist/chunks/{config-08tvc40j.js → model-resolver-n9whx688.js} +3 -3
  186. package/dist/chunks/{config-e82z9tr0.js → model-resolver-nhy5jxhy.js} +7 -7
  187. package/dist/chunks/{config-p2rgpb9z.js → model-resolver-nj1fe1jb.js} +20 -20
  188. package/dist/chunks/{config-bva7vcjq.js → model-resolver-nv1jjwpd.js} +4 -4
  189. package/dist/chunks/{config-ktcvmpym.js → model-resolver-nvecvfg1.js} +43 -43
  190. package/dist/chunks/{config-g3zj0x2b.js → model-resolver-p3a8ybaq.js} +5 -5
  191. package/dist/chunks/model-resolver-p6v8s9en.js +247 -0
  192. package/dist/chunks/{config-rae26gbb.js → model-resolver-pae9v2p1.js} +8 -8
  193. package/dist/chunks/{config-y2gt4tn8.js → model-resolver-pbk0bgfv.js} +2 -2
  194. package/dist/chunks/{config-fjvydvzm.js → model-resolver-pjedbq3k.js} +4 -4
  195. package/dist/chunks/{config-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{config-kgc8thfg.js → model-resolver-pk1prh3n.js} +11 -11
  197. package/dist/chunks/{config-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  198. package/dist/chunks/{config-7yygr4vw.js → model-resolver-pmt5dx08.js} +57 -57
  199. package/dist/chunks/{config-1rfmywcm.js → model-resolver-pt7wq7x0.js} +1 -1
  200. package/dist/chunks/{config-6adkm6cr.js → model-resolver-pyj5p63s.js} +10 -10
  201. package/dist/chunks/{config-ektxve03.js → model-resolver-pzkjnmpb.js} +13 -13
  202. package/dist/chunks/{config-cm990fgz.js → model-resolver-q5kb97vr.js} +11 -11
  203. package/dist/chunks/{config-szgaehjq.js → model-resolver-q5pkwzxb.js} +17 -17
  204. package/dist/chunks/{config-mq9r6drf.js → model-resolver-qq0tkz6q.js} +3 -3
  205. package/dist/chunks/{config-2rgt7c3b.js → model-resolver-qqmc633y.js} +11 -11
  206. package/dist/chunks/{config-h397hkc6.js → model-resolver-qs4avvkb.js} +1 -1
  207. package/dist/chunks/{config-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  208. package/dist/chunks/{config-4zxvp4s8.js → model-resolver-qvpg2584.js} +11 -11
  209. package/dist/chunks/{config-fvanntqq.js → model-resolver-qz49fwgp.js} +4 -4
  210. package/dist/chunks/{config-t00n1yfv.js → model-resolver-r67ewn20.js} +8 -8
  211. package/dist/chunks/{config-r8dhm0tv.js → model-resolver-r8dhm0tv.js} +1 -1
  212. package/dist/chunks/{config-f2n192rq.js → model-resolver-r8xr0va3.js} +4 -4
  213. package/dist/chunks/{config-j80e9skv.js → model-resolver-rd9dg6mx.js} +11 -11
  214. package/dist/chunks/{config-kc8pqgtx.js → model-resolver-rese3z7z.js} +6 -6
  215. package/dist/chunks/{config-xjjjdr4d.js → model-resolver-rfwpvx00.js} +43 -43
  216. package/dist/chunks/{config-xpt98yma.js → model-resolver-rmgpg45v.js} +24 -24
  217. package/dist/chunks/{config-7gbsxqt2.js → model-resolver-rvb2zp0m.js} +8 -8
  218. package/dist/chunks/{config-n4h9vw0g.js → model-resolver-rz6a3sbe.js} +26 -26
  219. package/dist/chunks/{config-mecc0azh.js → model-resolver-sb2pm13j.js} +29 -29
  220. package/dist/chunks/{config-sba4qhjf.js → model-resolver-sba4qhjf.js} +1 -1
  221. package/dist/chunks/{config-sxq12nxh.js → model-resolver-sjdwkfxd.js} +34 -34
  222. package/dist/chunks/{config-sy7czwgb.js → model-resolver-smjktvs8.js} +6 -6
  223. package/dist/chunks/{config-8ktjr7xz.js → model-resolver-smnvvzmt.js} +15 -15
  224. package/dist/chunks/{config-2jjpr40g.js → model-resolver-t044qcb6.js} +5 -5
  225. package/dist/chunks/{config-9tj0rnrh.js → model-resolver-t35vvjm0.js} +14 -14
  226. package/dist/chunks/{config-q99m3398.js → model-resolver-t6yc1zyn.js} +6 -6
  227. package/dist/chunks/{config-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{config-xc5n2mhq.js → model-resolver-tbhhj5cs.js} +15 -15
  229. package/dist/chunks/{config-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{config-pwc5sxx6.js → model-resolver-tcfdn8aw.js} +24 -24
  231. package/dist/chunks/{config-tjykrgmx.js → model-resolver-tjykrgmx.js} +1 -1
  232. package/dist/chunks/{config-mqc5k020.js → model-resolver-tkb4f2r7.js} +15 -15
  233. package/dist/chunks/{config-tppvcy65.js → model-resolver-tppvcy65.js} +2 -2
  234. package/dist/chunks/{config-d9rpbp5n.js → model-resolver-trt9khgc.js} +24 -24
  235. package/dist/chunks/{config-yzendvqq.js → model-resolver-ve9vvn65.js} +22 -22
  236. package/dist/chunks/{config-bj6xkg51.js → model-resolver-vhpw989j.js} +16 -16
  237. package/dist/chunks/{config-794t4179.js → model-resolver-vj55tknd.js} +11 -11
  238. package/dist/chunks/{config-9ybgd8dh.js → model-resolver-vn39pvqa.js} +38 -38
  239. package/dist/chunks/{config-8dd5gh5g.js → model-resolver-vqebmn7g.js} +27 -27
  240. package/dist/chunks/{config-5rp8p5tq.js → model-resolver-vr2m7p38.js} +30 -30
  241. package/dist/chunks/model-resolver-w3vb4krt.js +4 -0
  242. package/dist/chunks/{config-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{config-4wdmqajx.js → model-resolver-w5fe4zgf.js} +23 -23
  244. package/dist/chunks/{config-j5cvhpj6.js → model-resolver-w7krw9hh.js} +10 -10
  245. package/dist/chunks/{config-a7ygzknp.js → model-resolver-w991kqb0.js} +8 -8
  246. package/dist/chunks/{config-v7mvzpxp.js → model-resolver-wcav6c40.js} +13 -13
  247. package/dist/chunks/{config-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  248. package/dist/chunks/{config-pe40p04d.js → model-resolver-wfwqxwhj.js} +9 -9
  249. package/dist/chunks/{config-eatef5sh.js → model-resolver-wgt7v56c.js} +19 -19
  250. package/dist/chunks/{config-0faacv9h.js → model-resolver-whrpd8wj.js} +5 -5
  251. package/dist/chunks/{config-h0zp9rha.js → model-resolver-wkm999c9.js} +14 -14
  252. package/dist/chunks/{config-rgsxhgxd.js → model-resolver-wnhc2w01.js} +26 -26
  253. package/dist/chunks/{config-7hfxww9t.js → model-resolver-wr9ysm64.js} +8 -8
  254. package/dist/chunks/{config-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{config-fhsnc0hn.js → model-resolver-x5da3ets.js} +15 -15
  256. package/dist/chunks/{config-xd3j2mtj.js → model-resolver-xaspcyx5.js} +160 -160
  257. package/dist/chunks/{config-zc4pefsx.js → model-resolver-xb1yhede.js} +18 -18
  258. package/dist/chunks/{config-6a55zhma.js → model-resolver-xd1gj6jr.js} +9 -9
  259. package/dist/chunks/{config-cevanw02.js → model-resolver-xf29bhrb.js} +25 -25
  260. package/dist/chunks/{config-8rk43p0s.js → model-resolver-xft3xkxh.js} +11 -11
  261. package/dist/chunks/{config-zgxqspyk.js → model-resolver-xgb46x83.js} +32 -32
  262. package/dist/chunks/{config-rrtr8q94.js → model-resolver-xjfjd024.js} +20 -20
  263. package/dist/chunks/{config-r5w2ssxe.js → model-resolver-xr5vwsd4.js} +9 -9
  264. package/dist/chunks/{config-96s1cz01.js → model-resolver-xz4sbw44.js} +63 -63
  265. package/dist/chunks/{config-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{config-y71avatq.js → model-resolver-y71avatq.js} +1 -1
  267. package/dist/chunks/{config-4p03f1qq.js → model-resolver-y86ghdgz.js} +3 -3
  268. package/dist/chunks/{config-a51qe2m1.js → model-resolver-ybnqsmq7.js} +9 -9
  269. package/dist/chunks/{config-mfm8exmb.js → model-resolver-ye01600q.js} +20 -20
  270. package/dist/chunks/{config-yfbd16n1.js → model-resolver-yfbd16n1.js} +2 -2
  271. package/dist/chunks/{config-wb545wbz.js → model-resolver-yj3e99fm.js} +1 -1
  272. package/dist/chunks/{config-c5x8pjfg.js → model-resolver-ymmafesq.js} +5 -5
  273. package/dist/chunks/{config-k0f82zt9.js → model-resolver-ypg1pkf2.js} +6 -6
  274. package/dist/chunks/{config-3g8r9y4m.js → model-resolver-yvnsnb9v.js} +24 -24
  275. package/dist/chunks/{config-8r0202fd.js → model-resolver-yzxcxw3p.js} +11 -11
  276. package/dist/chunks/{config-z1k01bn4.js → model-resolver-z1k01bn4.js} +2 -2
  277. package/dist/chunks/{config-0424b8g1.js → model-resolver-z3h7hm3n.js} +4 -4
  278. package/dist/chunks/{config-9ehtken5.js → model-resolver-z79mad95.js} +15 -15
  279. package/dist/chunks/{config-sez2sxvq.js → model-resolver-z8jfykz0.js} +11 -11
  280. package/dist/chunks/{config-z9dxnre0.js → model-resolver-z9pdm7mn.js} +43 -43
  281. package/dist/chunks/{config-pdw22why.js → model-resolver-zajwd6at.js} +5 -5
  282. package/dist/chunks/{config-zyherzjf.js → model-resolver-zf2pwqth.js} +10 -10
  283. package/dist/chunks/{config-pztjajpw.js → model-resolver-zgza400y.js} +7 -7
  284. package/dist/chunks/{config-zv54gy8z.js → model-resolver-zhptab2p.js} +6 -6
  285. package/dist/chunks/{config-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +3 -3
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +77 -77
  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 +206 -206
  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 +116 -116
  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 +113 -113
  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 +83 -83
  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 +68 -68
  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 +99 -99
  418. package/dist/filesystem/watcher-binding.js +3 -3
  419. package/dist/filesystem/watcher.js +15 -15
  420. package/dist/filesystem.js +96 -96
  421. package/dist/form.js +82 -82
  422. package/dist/formatter/builtins.js +4 -4
  423. package/dist/formatter.js +82 -82
  424. package/dist/generate.js +91 -91
  425. package/dist/git.js +3 -3
  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 +5 -5
  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 +129 -129
  459. package/dist/location-mutation.js +81 -81
  460. package/dist/location-service-map.js +83 -83
  461. package/dist/location-services.js +347 -347
  462. package/dist/location.js +80 -80
  463. package/dist/mcp/client.js +86 -86
  464. package/dist/mcp/index.js +101 -101
  465. package/dist/mcp/instructions.js +121 -121
  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 +8 -8
  472. package/dist/models-dev.js +86 -86
  473. package/dist/oauth/page.js +1 -1
  474. package/dist/permission/saved.js +78 -78
  475. package/dist/permission/sql.js +5 -5
  476. package/dist/permission.js +111 -111
  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 +76 -76
  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 +5 -5
  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 +7 -7
  491. package/dist/plugin/optimize.js +4 -4
  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 +117 -117
  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 +80 -80
  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 +70 -70
  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 +340 -340
  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 +6 -6
  545. package/dist/plugin/websearch/tavily.js +4 -4
  546. package/dist/plugin.js +217 -217
  547. package/dist/project/schema.js +2 -2
  548. package/dist/project/sql.js +4 -4
  549. package/dist/project.js +75 -75
  550. package/dist/provider.js +7 -7
  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 +94 -94
  555. package/dist/reference/instructions.js +82 -82
  556. package/dist/reference.js +86 -86
  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 +87 -87
  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 +215 -215
  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 +84 -84
  574. package/dist/session/info.js +3 -3
  575. package/dist/session/instruction-entry.js +77 -77
  576. package/dist/session/instruction-state.js +8 -8
  577. package/dist/session/instructions.js +91 -91
  578. package/dist/session/message-updater.js +2 -2
  579. package/dist/session/message.js +1 -1
  580. package/dist/session/model-request.js +110 -110
  581. package/dist/session/model-transport.js +7 -7
  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 +3 -3
  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 +82 -82
  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 +5 -5
  605. package/dist/session/title.js +150 -150
  606. package/dist/session/to-session-error.js +106 -106
  607. package/dist/session/transfer.js +208 -208
  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 +13 -13
  614. package/dist/shell.js +133 -133
  615. package/dist/skill/discovery.js +6 -6
  616. package/dist/skill/instructions.js +101 -101
  617. package/dist/skill.js +106 -106
  618. package/dist/snapshot.js +88 -88
  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 +112 -112
  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 +97 -97
  630. package/dist/tool/plugin/read.js +120 -120
  631. package/dist/tool/plugin/shell.js +209 -209
  632. package/dist/tool/plugin/skill.js +97 -97
  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 +106 -106
  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 +13 -13
  641. package/dist/types/project/schema.d.ts +1 -0
  642. package/dist/types/project.d.ts +1 -0
  643. package/dist/util/error-summary.js +1 -1
  644. package/dist/util/error.js +1 -1
  645. package/dist/util/iife.js +1 -1
  646. package/dist/util/lazy.js +1 -1
  647. package/dist/util/slug.js +1 -1
  648. package/dist/util/token.js +1 -1
  649. package/dist/util/which.js +1 -1
  650. package/dist/util/wildcard.js +1 -1
  651. package/dist/v1/config/agent.js +7 -7
  652. package/dist/v1/config/attachment.js +4 -4
  653. package/dist/v1/config/command.js +3 -3
  654. package/dist/v1/config/config.js +16 -16
  655. package/dist/v1/config/error.js +4 -4
  656. package/dist/v1/config/formatter.js +3 -3
  657. package/dist/v1/config/layout.js +1 -1
  658. package/dist/v1/config/lsp.js +3 -3
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +4 -4
  661. package/dist/v1/config/permission.js +7 -7
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/v1/config/server.js +2 -2
  666. package/dist/v1/config/skills.js +3 -3
  667. package/dist/v1/permission.js +1 -1
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +85 -85
  670. package/dist/websearch.js +82 -82
  671. package/dist/wellknown/plugin.js +74 -74
  672. package/dist/wellknown.js +79 -79
  673. package/dist/workspace/driver.js +5 -5
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +78 -78
  676. package/dist/worktree/directory.js +4 -4
  677. package/dist/worktree/git.js +7 -7
  678. package/dist/worktree/refresh.js +339 -339
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree.js +91 -91
  681. package/package.json +7 -7
  682. package/dist/chunks/config-35chk74t.js +0 -4
  683. package/dist/chunks/config-9zdhvgqs.js +0 -18
  684. package/dist/chunks/config-cjjzzp5t.js +0 -247
  685. package/dist/chunks/config-g5hp5s0s.js +0 -22
  686. package/dist/chunks/config-zw7n3jsf.js +0 -460
  687. /package/dist/chunks/{config-0fabt78z.js → model-resolver-0fabt78z.js} +0 -0
  688. /package/dist/chunks/{config-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{config-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{config-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{config-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{config-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{config-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{config-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{config-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{config-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{config-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  698. /package/dist/chunks/{config-3t738kvx.js → model-resolver-3t738kvx.js} +0 -0
  699. /package/dist/chunks/{config-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{config-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{config-41nvscxy.js → model-resolver-41nvscxy.js} +0 -0
  702. /package/dist/chunks/{config-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{config-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{config-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{config-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  706. /package/dist/chunks/{config-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{config-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  708. /package/dist/chunks/{config-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{config-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{config-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  711. /package/dist/chunks/{config-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{config-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{config-982e01ww.js → model-resolver-982e01ww.js} +0 -0
  714. /package/dist/chunks/{config-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{config-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{config-a1tpkmh4.js → model-resolver-a1tpkmh4.js} +0 -0
  717. /package/dist/chunks/{config-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{config-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{config-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{config-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{config-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{config-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{config-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{config-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{config-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{config-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{config-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{config-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{config-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  730. /package/dist/chunks/{config-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{config-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{config-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{config-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{config-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{config-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{config-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{config-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{config-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{config-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{config-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{config-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  742. /package/dist/chunks/{config-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{config-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  744. /package/dist/chunks/{config-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  745. /package/dist/chunks/{config-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  746. /package/dist/chunks/{config-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  747. /package/dist/chunks/{config-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  748. /package/dist/chunks/{config-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  749. /package/dist/chunks/{config-mntxs535.js → model-resolver-mntxs535.js} +0 -0
  750. /package/dist/chunks/{config-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  751. /package/dist/chunks/{config-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  752. /package/dist/chunks/{config-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  753. /package/dist/chunks/{config-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  754. /package/dist/chunks/{config-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  755. /package/dist/chunks/{config-p8qxwesx.js → model-resolver-p8qxwesx.js} +0 -0
  756. /package/dist/chunks/{config-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  757. /package/dist/chunks/{config-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  758. /package/dist/chunks/{config-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  759. /package/dist/chunks/{config-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  760. /package/dist/chunks/{config-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  761. /package/dist/chunks/{config-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  762. /package/dist/chunks/{config-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  763. /package/dist/chunks/{config-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  764. /package/dist/chunks/{config-se0s1eqw.js → model-resolver-se0s1eqw.js} +0 -0
  765. /package/dist/chunks/{config-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  766. /package/dist/chunks/{config-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{config-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
  768. /package/dist/chunks/{config-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{config-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{config-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{config-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{config-x1b8g1yb.js → model-resolver-x1b8g1yb.js} +0 -0
  773. /package/dist/chunks/{config-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  774. /package/dist/chunks/{config-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{config-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{config-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{config-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
  778. /package/dist/chunks/{config-zbjnn3ac.js → model-resolver-zbjnn3ac.js} +0 -0
@@ -1,69 +1,69 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./config-p8qxwesx.js";
3
+ } from "./model-resolver-p8qxwesx.js";
4
4
  import {
5
5
  WorktreeError2,
6
6
  node83
7
- } from "./config-eg4pr325.js";
7
+ } from "./model-resolver-eg4pr325.js";
8
8
  import {
9
9
  ID18
10
- } from "./config-tppvcy65.js";
10
+ } from "./model-resolver-tppvcy65.js";
11
11
  import {
12
12
  Slug2
13
- } from "./config-gebd4c9n.js";
13
+ } from "./model-resolver-gebd4c9n.js";
14
14
  import {
15
15
  Service80,
16
16
  node85
17
- } from "./config-mdgebrj3.js";
17
+ } from "./model-resolver-4kbdx47m.js";
18
18
  import {
19
19
  Service79,
20
20
  node84
21
- } from "./config-q4zymtb1.js";
21
+ } from "./model-resolver-hm42kar1.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./config-9qm9egsn.js";
24
+ } from "./model-resolver-9qm9egsn.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./config-ajtjthsy.js";
27
+ } from "./model-resolver-ajtjthsy.js";
28
28
  import {
29
- Service76,
30
- node81
31
- } from "./config-vhzdsqy0.js";
29
+ Service75,
30
+ node80
31
+ } from "./model-resolver-8bcbmssv.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
- canonical3
35
- } from "./config-y2cqme3r.js";
34
+ canonical2
35
+ } from "./model-resolver-93a8yfjt.js";
36
36
  import {
37
- make20
38
- } from "./config-67cp0t3n.js";
37
+ make12
38
+ } from "./model-resolver-dkbgd4kx.js";
39
39
  import {
40
40
  create3
41
- } from "./config-kg06axw8.js";
41
+ } from "./model-resolver-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./config-9rqn6x4v.js";
44
+ } from "./model-resolver-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput3,
49
+ CreateInput: () => CreateInput2,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event12,
53
- Info: () => Info11,
52
+ Event: () => Event6,
53
+ Info: () => Info3,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service61,
60
+ Service: () => Service24,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node66
66
+ node: () => node28
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -76,13 +76,13 @@ import { AppProcess } from "@opencode-ai/util/process";
76
76
  import { ChildProcess } from "effect/unstable/process";
77
77
  import { OperationError as OperationError2 } from "@opencode-ai/schema/worktree";
78
78
  var StrategyID2 = Worktree.StrategyID;
79
- var CreateInput3 = Worktree.CreateInput;
79
+ var CreateInput2 = Worktree.CreateInput;
80
80
  var RemoveInput2 = Worktree.RemoveInput;
81
81
  var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info11 = Worktree.Info;
85
+ var Info3 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event12 = Worktree.Event;
103
+ var Event6 = Worktree.Event;
104
104
 
105
- class Service61 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service24 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service61, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
109
  const database = yield* Service80;
110
110
  const db = database.db;
111
111
  const bus = yield* Service79;
112
112
  const processService = yield* AppProcess.Service;
113
- const location = yield* Service76;
113
+ const location = yield* Service75;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make20;
117
+ const gitStrategy = yield* make12;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event12.Updated, { projectID });
138
+ yield* bus.publish(Event6.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
161
161
  };
162
162
  const source = Effect.fnUntraced(function* (input) {
163
163
  const sourceDirectory = input ?? location.project.directory;
164
- const resolved = yield* canonical3(fs, sourceDirectory);
164
+ const resolved = yield* canonical2(fs, sourceDirectory);
165
165
  if ((yield* ops.find(resolved)) === undefined)
166
166
  return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
167
167
  return resolved;
@@ -193,8 +193,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
193
193
  sourceDirectory,
194
194
  branch: input.branch
195
195
  }).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
196
- const result = { directory: yield* canonical3(fs, created.directory) };
197
- if (result.directory !== (yield* canonical3(fs, worktreeDirectory)))
196
+ const result = { directory: yield* canonical2(fs, created.directory) };
197
+ if (result.directory !== (yield* canonical2(fs, worktreeDirectory)))
198
198
  return yield* new InvalidDirectoryError2({ directory: result.directory });
199
199
  yield* changed(yield* ops.create({
200
200
  directory: result.directory,
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
220
220
  });
221
221
  const remove = Effect.fn("Worktree.remove")(function* (input) {
222
222
  yield* local;
223
- const worktreeDirectory = yield* canonical3(fs, input.directory);
223
+ const worktreeDirectory = yield* canonical2(fs, input.directory);
224
224
  const stored = yield* ops.find(worktreeDirectory);
225
225
  if (!stored?.strategy)
226
226
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
@@ -241,7 +241,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
241
241
  for (const strategy of strategies) {
242
242
  const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
243
243
  for (const entry of entries) {
244
- const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
244
+ const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
245
245
  if (!directory || discovered.has(directory))
246
246
  continue;
247
247
  discovered.set(directory, {
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
259
259
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
260
260
  return changes;
261
261
  });
262
- return Service61.of({
262
+ return Service24.of({
263
263
  transform: state.transform,
264
264
  reload: state.reload,
265
265
  list: Effect.fn("Worktree.list")(function* () {
@@ -271,10 +271,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
271
271
  refresh
272
272
  });
273
273
  }));
274
- var node66 = makeLocationNode({
275
- service: Service61,
274
+ var node28 = makeLocationNode({
275
+ service: Service24,
276
276
  layer,
277
- deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
277
+ deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node80, Global.node]
278
278
  });
279
279
  function operationError(strategy, operation, error) {
280
280
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
284
284
  });
285
285
  }
286
286
 
287
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info11, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event12, Service61, node66, exports_worktree2, OperationError2 };
287
+ export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event6, Service24, node28, exports_worktree2, OperationError2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./config-p8qxwesx.js";
3
+ } from "./model-resolver-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info13
13
+ Info: () => Info18
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info13 = Schema.Struct({
30
+ var Info18 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info13, exports_attachment };
34
+ export { Image2, Info18, exports_attachment };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service63
4
- } from "./config-xjjjdr4d.js";
3
+ Service67
4
+ } from "./model-resolver-rfwpvx00.js";
5
5
  import {
6
6
  observe2
7
- } from "./config-qsdy395h.js";
7
+ } from "./model-resolver-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./config-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch = {};
14
14
  __export(exports_websearch, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin28
16
+ Plugin: () => Plugin7
17
17
  });
18
18
  import { define } from "@opencode-ai/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin28 = define({
20
+ var Plugin7 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service63;
23
+ const config = yield* Service67;
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 Plugin28 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin28, exports_websearch };
35
+ export { Plugin7, exports_websearch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -2,46 +2,46 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./config-2a5m3afh.js";
5
+ } from "./model-resolver-2a5m3afh.js";
6
6
  import {
7
- Service76
8
- } from "./config-vhzdsqy0.js";
7
+ Service75
8
+ } from "./model-resolver-8bcbmssv.js";
9
9
  import {
10
- Service52
11
- } from "./config-d9rpbp5n.js";
10
+ Service69
11
+ } from "./model-resolver-trt9khgc.js";
12
12
  import {
13
- Service15
14
- } from "./config-8ktjr7xz.js";
13
+ Service14
14
+ } from "./model-resolver-smnvvzmt.js";
15
15
  import {
16
- Service16,
16
+ Service22,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./config-v7mvzpxp.js";
19
+ } from "./model-resolver-wcav6c40.js";
20
20
  import {
21
21
  externalDirectoryPermission2,
22
22
  resolvePath2,
23
- Service62
24
- } from "./config-bj6xkg51.js";
23
+ Service21
24
+ } from "./model-resolver-vhpw989j.js";
25
25
  import {
26
- Service71
27
- } from "./config-7yygr4vw.js";
26
+ Service53
27
+ } from "./model-resolver-pmt5dx08.js";
28
28
  import {
29
29
  fileDiff2
30
- } from "./config-6prwharc.js";
30
+ } from "./model-resolver-6prwharc.js";
31
31
  import {
32
32
  __export
33
- } from "./config-9rqn6x4v.js";
33
+ } from "./model-resolver-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/patch.ts
36
36
  var exports_patch = {};
37
37
  __export(exports_patch, {
38
38
  Applied: () => Applied2,
39
- Input: () => Input4,
40
- Output: () => Output4,
39
+ Input: () => Input11,
40
+ Output: () => Output8,
41
41
  PatchTool: () => exports_patch,
42
- Plugin: () => Plugin34,
43
- name: () => name4,
44
- toModelContent: () => toModelContent3
42
+ Plugin: () => Plugin43,
43
+ name: () => name11,
44
+ toModelContent: () => toModelContent6
45
45
  });
46
46
  import { ToolFailure } from "@opencode-ai/ai";
47
47
  import { FileDiff } from "@opencode-ai/schema/file-diff";
@@ -86,8 +86,8 @@ It is important to remember:
86
86
  `;
87
87
 
88
88
  // src/tool/plugin/patch.ts
89
- var name4 = "patch";
90
- var Input4 = Schema.Struct({
89
+ var name11 = "patch";
90
+ var Input11 = Schema.Struct({
91
91
  patchText: Schema.String.annotate({
92
92
  description: "The full patch text describing add, update, and delete operations"
93
93
  })
@@ -97,30 +97,30 @@ var Applied2 = Schema.Struct({
97
97
  resource: Schema.String,
98
98
  target: Schema.String
99
99
  });
100
- var Output4 = Schema.Struct({
100
+ var Output8 = Schema.Struct({
101
101
  applied: Schema.Array(Applied2),
102
102
  files: Schema.Array(FileDiff.Info)
103
103
  });
104
- var toModelContent3 = (output) => [
104
+ var toModelContent6 = (output) => [
105
105
  "Success. Updated the following files:",
106
106
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
107
107
  ].join(`
108
108
  `);
109
- var Plugin34 = {
109
+ var Plugin43 = {
110
110
  id: "opencode.tool.patch",
111
111
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
112
- const environment = yield* Service52;
113
- const mutation = yield* Service62;
114
- const fileMutation = yield* Service16;
115
- const formatter = yield* Service15;
116
- const location = yield* Service76;
117
- const permission = yield* Service71;
112
+ const environment = yield* Service69;
113
+ const mutation = yield* Service21;
114
+ const fileMutation = yield* Service22;
115
+ const formatter = yield* Service14;
116
+ const location = yield* Service75;
117
+ const permission = yield* Service53;
118
118
  yield* ctx.tool.transform((editor) => editor.add({
119
- name: name4,
119
+ name: name11,
120
120
  options: { codemode: false, permission: "edit" },
121
121
  description: patch_default,
122
- input: Input4,
123
- output: Output4,
122
+ input: Input11,
123
+ output: Output8,
124
124
  execute: (input, context) => {
125
125
  const applied = [];
126
126
  const parsed = Patch.parse(input.patchText);
@@ -273,7 +273,7 @@ var Plugin34 = {
273
273
  return { applied, files };
274
274
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
275
275
  output,
276
- content: toModelContent3(output),
276
+ content: toModelContent6(output),
277
277
  metadata: { files: output.files }
278
278
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
279
279
  }
@@ -330,4 +330,4 @@ function trimDiff(diff) {
330
330
  `);
331
331
  }
332
332
 
333
- export { name4, Input4, Applied2, Output4, toModelContent3, Plugin34, exports_patch };
333
+ export { name11, Input11, Applied2, Output8, toModelContent6, Plugin43, exports_patch };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info23
5
- } from "./config-7gbsxqt2.js";
4
+ Info29
5
+ } from "./model-resolver-rvb2zp0m.js";
6
6
  import {
7
- Info22
8
- } from "./config-zre25x07.js";
7
+ Info28
8
+ } from "./model-resolver-3mrm2hwf.js";
9
9
  import {
10
10
  Service79,
11
11
  node84
12
- } from "./config-q4zymtb1.js";
12
+ } from "./model-resolver-hm42kar1.js";
13
13
  import {
14
14
  create3
15
- } from "./config-kg06axw8.js";
15
+ } from "./model-resolver-kg06axw8.js";
16
16
  import {
17
- ID10,
18
- Service68,
19
- node73
20
- } from "./config-g0ae6at5.js";
17
+ ID9,
18
+ Service61,
19
+ node65
20
+ } from "./model-resolver-1nfczbs6.js";
21
21
  import {
22
22
  __export
23
- } from "./config-9rqn6x4v.js";
23
+ } from "./model-resolver-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event10,
30
- Service: () => Service59,
29
+ Event: () => Event14,
30
+ Service: () => Service60,
31
31
  node: () => node64
32
32
  });
33
33
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode-ai/schema/catalog";
36
- import { Event as Event10 } from "@opencode-ai/schema/catalog";
36
+ import { Event as Event14 } from "@opencode-ai/schema/catalog";
37
37
 
38
- class Service59 extends Context.Service()("@opencode/Catalog") {
38
+ class Service60 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service59, Effect.gen(function* () {
40
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
41
41
  const bus = yield* Service79;
42
- const integrations = yield* Service68;
42
+ const integrations = yield* Service61;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
71
71
  let current = editor.providers.get(providerID);
72
72
  if (!current) {
73
73
  current = {
74
- provider: Info23.empty(providerID),
74
+ provider: Info29.empty(providerID),
75
75
  models: new Map
76
76
  };
77
77
  editor.providers.set(providerID, current);
@@ -89,12 +89,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
89
89
  let record = editor.providers.get(providerID);
90
90
  if (!record) {
91
91
  record = {
92
- provider: Info23.empty(providerID),
92
+ provider: Info29.empty(providerID),
93
93
  models: new Map
94
94
  };
95
95
  editor.providers.set(providerID, record);
96
96
  }
97
- const model = record.models.get(modelID) ?? Info22.default(providerID, modelID);
97
+ const model = record.models.get(modelID) ?? Info28.default(providerID, modelID);
98
98
  if (!record.models.has(modelID))
99
99
  record.models.set(modelID, model);
100
100
  fn(model);
@@ -128,7 +128,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
128
128
  }),
129
129
  available: Effect.fn("Catalog.provider.available")(function* () {
130
130
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
131
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID10.make(provider.id))));
131
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID9.make(provider.id))));
132
132
  })
133
133
  },
134
134
  model: {
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
183
183
  })
184
184
  }
185
185
  };
186
- return Service59.of(result);
186
+ return Service60.of(result);
187
187
  }));
188
188
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
189
- var node64 = makeLocationNode({ service: Service59, layer, deps: [node84, node73] });
189
+ var node64 = makeLocationNode({ service: Service60, layer, deps: [node84, node65] });
190
190
 
191
- export { Service59, node64, exports_catalog2, Event10 };
191
+ export { Service60, node64, exports_catalog2, Event14 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./config-2axfhc9x.js";
3
+ } from "./model-resolver-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
- var exports_error = {};
10
- __export(exports_error, {
11
- ConfigErrorV1: () => exports_error,
9
+ var exports_error2 = {};
10
+ __export(exports_error2, {
11
+ ConfigErrorV1: () => exports_error2,
12
12
  DirectoryTypoError: () => DirectoryTypoError2,
13
13
  FrontmatterError: () => FrontmatterError2,
14
14
  InvalidError: () => InvalidError2,
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
43
43
  remote: Schema.String
44
44
  });
45
45
 
46
- export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
46
+ export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./config-mdgebrj3.js";
4
+ } from "./model-resolver-4kbdx47m.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./config-d72308c8.js";
7
+ } from "./model-resolver-d72308c8.js";
8
8
  import {
9
9
  __export
10
- } from "./config-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID14,
17
- Info: () => Info27,
16
+ ID: () => ID7,
17
+ Info: () => Info11,
18
18
  ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service73,
21
- node: () => node78
20
+ Service: () => Service55,
21
+ node: () => node59
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode-ai/schema/project";
26
26
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode-ai/schema/permission-saved";
28
- var ID14 = PermissionSaved.ID;
29
- var Info27 = PermissionSaved.Info;
28
+ var ID7 = PermissionSaved.ID;
29
+ var Info11 = PermissionSaved.Info;
30
30
  var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service73 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service55 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service73, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
42
42
  const db = (yield* Service80).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID14.create(),
56
+ id: ID7.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service73.of({ list, add, remove });
65
+ return Service55.of({ list, add, remove });
66
66
  }));
67
- var node78 = makeGlobalNode({ service: Service73, layer, deps: [node85] });
67
+ var node59 = makeGlobalNode({ service: Service55, layer, deps: [node85] });
68
68
 
69
- export { ID14, Info27, ListInput5, AddInput2, Service73, node78, exports_saved };
69
+ export { ID7, Info11, ListInput5, AddInput2, Service55, node59, exports_saved };