@opencode/core 0.0.0-dev-19595 → 0.0.0-dev-19596

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  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 +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{persistent-pty-yzzaphg0.js → schema-02nqk1b9.js} +4 -4
  9. package/dist/chunks/{persistent-pty-s8d7rejh.js → schema-02nrjc1r.js} +8 -8
  10. package/dist/chunks/{persistent-pty-cw8m5w0x.js → schema-0artwwxx.js} +3 -3
  11. package/dist/chunks/{persistent-pty-9nw0mbe1.js → schema-0e0qwbc3.js} +32 -32
  12. package/dist/chunks/{persistent-pty-hk10kj8x.js → schema-0n4jht4c.js} +18 -18
  13. package/dist/chunks/{persistent-pty-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{persistent-pty-enks4xxx.js → schema-0pb75hch.js} +5 -5
  15. package/dist/chunks/{persistent-pty-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{persistent-pty-rvxgyzv0.js → schema-100j1g9v.js} +31 -31
  17. package/dist/chunks/{persistent-pty-2gj877a4.js → schema-14a1bm7w.js} +22 -22
  18. package/dist/chunks/{persistent-pty-jt82t686.js → schema-14getyrd.js} +24 -24
  19. package/dist/chunks/{persistent-pty-7m5f9412.js → schema-15nepkqg.js} +7 -7
  20. package/dist/chunks/{persistent-pty-aa476z6j.js → schema-160w9f8h.js} +4 -4
  21. package/dist/chunks/{persistent-pty-a8axnbpa.js → schema-16502g6j.js} +22 -22
  22. package/dist/chunks/{persistent-pty-b6thfyg0.js → schema-17ccpqma.js} +20 -20
  23. package/dist/chunks/{persistent-pty-40ykk5rq.js → schema-1cbk4m95.js} +12 -12
  24. package/dist/chunks/{persistent-pty-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{persistent-pty-d1qe38wd.js → schema-1gr0tcdy.js} +4 -4
  26. package/dist/chunks/{persistent-pty-758t4wd9.js → schema-1pqwnjx4.js} +24 -24
  27. package/dist/chunks/{persistent-pty-r0cp9c3a.js → schema-1qghmjy0.js} +3 -3
  28. package/dist/chunks/{persistent-pty-56gdpj1q.js → schema-1ygqh575.js} +9 -9
  29. package/dist/chunks/{persistent-pty-06tybfx6.js → schema-219neeqh.js} +5 -5
  30. package/dist/chunks/{persistent-pty-21r38tys.js → schema-21r38tys.js} +1 -1
  31. package/dist/chunks/{persistent-pty-2402vzrj.js → schema-2402vzrj.js} +1 -1
  32. package/dist/chunks/{persistent-pty-kz70mmnm.js → schema-265kqrgy.js} +1 -1
  33. package/dist/chunks/{persistent-pty-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{persistent-pty-7qbafv54.js → schema-2bvm5bng.js} +5 -5
  35. package/dist/chunks/schema-2rnk416m.js +247 -0
  36. package/dist/chunks/{persistent-pty-5aeq7032.js → schema-2xmxfdkw.js} +13 -13
  37. package/dist/chunks/{persistent-pty-a3gkz02n.js → schema-30c1nq7z.js} +6 -6
  38. package/dist/chunks/{persistent-pty-0axr4kr0.js → schema-33n3bzdy.js} +6 -6
  39. package/dist/chunks/{persistent-pty-d4eh0prg.js → schema-352w66m8.js} +9 -9
  40. package/dist/chunks/{persistent-pty-1nvffc7z.js → schema-35hkzk16.js} +7 -7
  41. package/dist/chunks/{persistent-pty-01375378.js → schema-35wynegs.js} +2 -2
  42. package/dist/chunks/{persistent-pty-r33ff4dw.js → schema-3a6re68j.js} +6 -6
  43. package/dist/chunks/{persistent-pty-44zaeaht.js → schema-3dmtdf19.js} +10 -10
  44. package/dist/chunks/{persistent-pty-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{persistent-pty-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{persistent-pty-zrhm0kb5.js → schema-3hf7z3yq.js} +11 -11
  47. package/dist/chunks/{persistent-pty-mm6h0sq5.js → schema-3p2ed7sd.js} +20 -20
  48. package/dist/chunks/{persistent-pty-b1gy5zdm.js → schema-3qte0bkw.js} +11 -11
  49. package/dist/chunks/{persistent-pty-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{persistent-pty-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{persistent-pty-rq1dwzcr.js → schema-460nzhf0.js} +13 -13
  52. package/dist/chunks/{persistent-pty-q5rhn9x0.js → schema-46kds8gk.js} +15 -15
  53. package/dist/chunks/{persistent-pty-qj8patcw.js → schema-49m0b0hg.js} +12 -12
  54. package/dist/chunks/{persistent-pty-s8hds3n7.js → schema-4n7x7n3b.js} +41 -41
  55. package/dist/chunks/{persistent-pty-hfdr1yjj.js → schema-4p8fzzdy.js} +4 -4
  56. package/dist/chunks/{persistent-pty-j91288an.js → schema-57kf9cn6.js} +11 -11
  57. package/dist/chunks/{persistent-pty-kh1txrez.js → schema-59fjh03s.js} +9 -9
  58. package/dist/chunks/{persistent-pty-5daktx2q.js → schema-5daktx2q.js} +1 -1
  59. package/dist/chunks/{persistent-pty-83x3c1cr.js → schema-5rs2mggp.js} +11 -11
  60. package/dist/chunks/{persistent-pty-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{persistent-pty-7dqw4kz8.js → schema-607tc6va.js} +5 -5
  62. package/dist/chunks/{persistent-pty-9fpgstc4.js → schema-61tweh31.js} +11 -11
  63. package/dist/chunks/{persistent-pty-669tq793.js → schema-669tq793.js} +1 -1
  64. package/dist/chunks/{persistent-pty-pdps0bse.js → schema-6756pezh.js} +12 -12
  65. package/dist/chunks/{persistent-pty-csdaj16z.js → schema-6bsje7ws.js} +3 -3
  66. package/dist/chunks/{persistent-pty-tx9qvpbt.js → schema-6kyz0a76.js} +8 -8
  67. package/dist/chunks/{persistent-pty-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{persistent-pty-2wacw76k.js → schema-6sk8rnq7.js} +40 -40
  69. package/dist/chunks/{persistent-pty-mnqckem1.js → schema-6z8qh9hd.js} +9 -9
  70. package/dist/chunks/{persistent-pty-8baymvr8.js → schema-70d2s7af.js} +1 -1
  71. package/dist/chunks/{persistent-pty-71q4at8m.js → schema-71q4at8m.js} +1 -1
  72. package/dist/chunks/{persistent-pty-r5x6zcsm.js → schema-73tb2d7t.js} +3 -3
  73. package/dist/chunks/{persistent-pty-ch16p0qp.js → schema-74jczd3p.js} +6 -6
  74. package/dist/chunks/{persistent-pty-156rc272.js → schema-7a8p0xnb.js} +15 -15
  75. package/dist/chunks/{persistent-pty-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{persistent-pty-2ww59eqx.js → schema-7cdavrgt.js} +16 -16
  77. package/dist/chunks/{persistent-pty-9w4ppqge.js → schema-7d2a7xbs.js} +5 -5
  78. package/dist/chunks/{persistent-pty-yag4m0hg.js → schema-7f0264at.js} +30 -30
  79. package/dist/chunks/{persistent-pty-avan7d23.js → schema-7h6eczm7.js} +17 -17
  80. package/dist/chunks/{persistent-pty-5s1ew4p0.js → schema-7hztb8a6.js} +10 -10
  81. package/dist/chunks/{persistent-pty-a3sm1a4h.js → schema-7j034exa.js} +13 -13
  82. package/dist/chunks/{persistent-pty-r12607a7.js → schema-7vgg5bre.js} +20 -20
  83. package/dist/chunks/{persistent-pty-844ef7ks.js → schema-844ef7ks.js} +1 -1
  84. package/dist/chunks/{persistent-pty-tt6wxkxp.js → schema-88jrr0c1.js} +20 -20
  85. package/dist/chunks/{persistent-pty-tcezcvh9.js → schema-89znhe33.js} +4 -4
  86. package/dist/chunks/{persistent-pty-e3db9cm6.js → schema-8b5a8700.js} +28 -28
  87. package/dist/chunks/{persistent-pty-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{persistent-pty-vj87fc1v.js → schema-8g7dzdwc.js} +11 -11
  89. package/dist/chunks/{persistent-pty-dmcv08zt.js → schema-8hqm76n9.js} +16 -16
  90. package/dist/chunks/{persistent-pty-8p4f9s12.js → schema-8p4f9s12.js} +2 -2
  91. package/dist/chunks/{persistent-pty-tfna5j6r.js → schema-8tasdpw9.js} +17 -17
  92. package/dist/chunks/{persistent-pty-0nvtj8my.js → schema-8tpwn33w.js} +4 -4
  93. package/dist/chunks/{persistent-pty-y75c90f9.js → schema-94wn97cy.js} +6 -6
  94. package/dist/chunks/{persistent-pty-s2q6918b.js → schema-9776sn27.js} +10 -10
  95. package/dist/chunks/{persistent-pty-70znhec0.js → schema-9cdcqr3z.js} +24 -24
  96. package/dist/chunks/{persistent-pty-gar1hgen.js → schema-9cwdscm4.js} +6 -6
  97. package/dist/chunks/{persistent-pty-cjjk0ngx.js → schema-9cwgx80s.js} +17 -17
  98. package/dist/chunks/{persistent-pty-pbkjeet7.js → schema-9ee4bqq5.js} +18 -18
  99. package/dist/chunks/{persistent-pty-kfekjm9s.js → schema-9n8afz82.js} +18 -18
  100. package/dist/chunks/{persistent-pty-yxmjpxht.js → schema-9n9wwhvc.js} +25 -25
  101. package/dist/chunks/{persistent-pty-gk7f333q.js → schema-9xbky303.js} +60 -60
  102. package/dist/chunks/{persistent-pty-vexsgc0a.js → schema-9xdtwryq.js} +16 -16
  103. package/dist/chunks/{persistent-pty-a1bz86dw.js → schema-a1bz86dw.js} +3 -3
  104. package/dist/chunks/{persistent-pty-hz420t0m.js → schema-a2mmkps9.js} +27 -27
  105. package/dist/chunks/{persistent-pty-4xcpnpvy.js → schema-a3dxz99s.js} +11 -11
  106. package/dist/chunks/{persistent-pty-16mp2rsj.js → schema-a9bb11qt.js} +5 -5
  107. package/dist/chunks/{persistent-pty-aaet6srn.js → schema-aaet6srn.js} +2 -2
  108. package/dist/chunks/{persistent-pty-g25g5a4k.js → schema-ak553geh.js} +26 -26
  109. package/dist/chunks/{persistent-pty-crfr8jm1.js → schema-aqd42mcz.js} +10 -10
  110. package/dist/chunks/{persistent-pty-067daj8h.js → schema-aqqw58sn.js} +32 -32
  111. package/dist/chunks/{persistent-pty-ayn42wpr.js → schema-b11403r6.js} +4 -4
  112. package/dist/chunks/{persistent-pty-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{persistent-pty-41ysy2js.js → schema-b83gcn6t.js} +25 -25
  114. package/dist/chunks/{persistent-pty-marnn1hp.js → schema-bdqrk2vk.js} +7 -7
  115. package/dist/chunks/{persistent-pty-c24ss25q.js → schema-bfn7mtpr.js} +13 -13
  116. package/dist/chunks/{persistent-pty-pqsh7sw8.js → schema-bnf5aq9z.js} +18 -18
  117. package/dist/chunks/schema-bsgewm40.js +26 -0
  118. package/dist/chunks/{persistent-pty-2zw4rjvd.js → schema-bswyt25e.js} +9 -9
  119. package/dist/chunks/{persistent-pty-jcyd57qm.js → schema-c09skazh.js} +9 -9
  120. package/dist/chunks/{persistent-pty-qwgwmjpf.js → schema-c1660zyq.js} +4 -4
  121. package/dist/chunks/{persistent-pty-hnc9qj7b.js → schema-c3s2gn8c.js} +12 -12
  122. package/dist/chunks/{persistent-pty-admsvzww.js → schema-c5nvra9m.js} +4 -4
  123. package/dist/chunks/{persistent-pty-3w2b2yj4.js → schema-c78bbtc9.js} +5 -5
  124. package/dist/chunks/{persistent-pty-cfpkc3c9.js → schema-cfpkc3c9.js} +2 -2
  125. package/dist/chunks/schema-ckp1ht4p.js +466 -0
  126. package/dist/chunks/{persistent-pty-gsx0ryk4.js → schema-crptryd9.js} +9 -9
  127. package/dist/chunks/{persistent-pty-t7n9q6bq.js → schema-ctmr8zqa.js} +4 -4
  128. package/dist/chunks/{persistent-pty-jjefxv93.js → schema-cvnh4hxe.js} +11 -11
  129. package/dist/chunks/{persistent-pty-xbh0n0bt.js → schema-cvtmmhw6.js} +1 -1
  130. package/dist/chunks/{persistent-pty-74vtdart.js → schema-cwtxttrt.js} +15 -15
  131. package/dist/chunks/{persistent-pty-xwy7nsbm.js → schema-cxnfc116.js} +14 -14
  132. package/dist/chunks/{persistent-pty-57e9z27j.js → schema-cyhsea0k.js} +5 -5
  133. package/dist/chunks/{persistent-pty-xbh1yte2.js → schema-cyyebbpd.js} +20 -20
  134. package/dist/chunks/{persistent-pty-j0x671y3.js → schema-d4d34sqm.js} +17 -17
  135. package/dist/chunks/{persistent-pty-wzsbb5hr.js → schema-d6e8k2gz.js} +34 -34
  136. package/dist/chunks/{persistent-pty-4jkr53zg.js → schema-dcrj6gad.js} +20 -20
  137. package/dist/chunks/{persistent-pty-3ydh67fs.js → schema-dm8kv9e9.js} +47 -47
  138. package/dist/chunks/{persistent-pty-9zswys26.js → schema-dtsq3qdh.js} +9 -9
  139. package/dist/chunks/{persistent-pty-e5nv3ght.js → schema-e5nv3ght.js} +2 -2
  140. package/dist/chunks/{persistent-pty-qn4ba14w.js → schema-e6hmchc5.js} +5 -5
  141. package/dist/chunks/{persistent-pty-hjt4xg1x.js → schema-e82z9tr0.js} +7 -7
  142. package/dist/chunks/{persistent-pty-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  143. package/dist/chunks/{persistent-pty-pedsh274.js → schema-eng2bkh5.js} +6 -6
  144. package/dist/chunks/{persistent-pty-zb4p73ts.js → schema-eq6c3fte.js} +4 -4
  145. package/dist/chunks/{persistent-pty-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{persistent-pty-wh1sxcy7.js → schema-ew8epg43.js} +8 -8
  147. package/dist/chunks/{persistent-pty-c1495ybz.js → schema-eyqq4r43.js} +8 -8
  148. package/dist/chunks/{persistent-pty-t6apg4xb.js → schema-f3fywrrk.js} +19 -19
  149. package/dist/chunks/{persistent-pty-rvsh4nhd.js → schema-f4ygn7kd.js} +23 -23
  150. package/dist/chunks/{persistent-pty-dqhps3gd.js → schema-f6agekp8.js} +11 -11
  151. package/dist/chunks/{persistent-pty-f828m53h.js → schema-f828m53h.js} +2 -2
  152. package/dist/chunks/{persistent-pty-gwmaab63.js → schema-fay8vjw6.js} +11 -11
  153. package/dist/chunks/{persistent-pty-fch79rh9.js → schema-fch79rh9.js} +1 -1
  154. package/dist/chunks/{persistent-pty-nc5bxtt4.js → schema-febxpxrj.js} +9 -9
  155. package/dist/chunks/{persistent-pty-tyqkzprt.js → schema-ff0svapt.js} +2 -2
  156. package/dist/chunks/{persistent-pty-sg67attt.js → schema-fnt00pdw.js} +90 -90
  157. package/dist/chunks/{persistent-pty-g25n9e5v.js → schema-fvwtc7m7.js} +6 -6
  158. package/dist/chunks/{persistent-pty-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
  159. package/dist/chunks/{persistent-pty-zd83r0vm.js → schema-g5rn0d52.js} +11 -11
  160. package/dist/chunks/{persistent-pty-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{persistent-pty-jpej03b4.js → schema-gd8pphrc.js} +1 -1
  162. package/dist/chunks/{persistent-pty-8gp97p59.js → schema-gg2v66ak.js} +32 -32
  163. package/dist/chunks/{persistent-pty-a23yy72n.js → schema-gj03f4ek.js} +12 -12
  164. package/dist/chunks/{persistent-pty-n5hgnsg4.js → schema-gj5yqrt5.js} +8 -8
  165. package/dist/chunks/{persistent-pty-h03wrkyp.js → schema-h03wrkyp.js} +2 -2
  166. package/dist/chunks/{persistent-pty-xta415tq.js → schema-h2ksjayj.js} +28 -28
  167. package/dist/chunks/{persistent-pty-205snssp.js → schema-h6ar4aba.js} +19 -19
  168. package/dist/chunks/{persistent-pty-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{persistent-pty-22cd4xtf.js → schema-hhgwwrzt.js} +42 -42
  170. package/dist/chunks/{persistent-pty-s586x74b.js → schema-hj0g3228.js} +11 -11
  171. package/dist/chunks/{persistent-pty-brpq8yh8.js → schema-hjnnbnbb.js} +9 -9
  172. package/dist/chunks/{persistent-pty-s8zy8myc.js → schema-hkfg6fzm.js} +5 -5
  173. package/dist/chunks/{persistent-pty-zahra9jy.js → schema-hv9ta9e9.js} +27 -27
  174. package/dist/chunks/{persistent-pty-vpesspm9.js → schema-j0kcbam5.js} +17 -17
  175. package/dist/chunks/{persistent-pty-j56e64zr.js → schema-j56e64zr.js} +1 -1
  176. package/dist/chunks/{persistent-pty-rjncv4cx.js → schema-j5dzb3vg.js} +11 -11
  177. package/dist/chunks/{persistent-pty-28m91z5w.js → schema-jb92a43k.js} +52 -52
  178. package/dist/chunks/{persistent-pty-z2d75gdc.js → schema-jj8s0vwv.js} +22 -22
  179. package/dist/chunks/{persistent-pty-0vt4hkwr.js → schema-jr3e8pb9.js} +5 -5
  180. package/dist/chunks/{persistent-pty-y71avatq.js → schema-jwcy2c2z.js} +4 -4
  181. package/dist/chunks/{persistent-pty-cq5jfqfc.js → schema-jxbxppp8.js} +26 -26
  182. package/dist/chunks/{persistent-pty-kyjj2hpk.js → schema-k5ahzgcr.js} +25 -25
  183. package/dist/chunks/{persistent-pty-08c87ar3.js → schema-k7ytje6f.js} +16 -16
  184. package/dist/chunks/{persistent-pty-496zq10v.js → schema-k7yxbrfp.js} +36 -36
  185. package/dist/chunks/{persistent-pty-6kckr5h4.js → schema-kdmcvb0r.js} +4 -4
  186. package/dist/chunks/{persistent-pty-kg06axw8.js → schema-kg06axw8.js} +1 -1
  187. package/dist/chunks/{persistent-pty-nnrfkqda.js → schema-kgt4jx9n.js} +17 -17
  188. package/dist/chunks/{persistent-pty-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{persistent-pty-mfhfdr54.js → schema-mfhfdr54.js} +1 -1
  190. package/dist/chunks/{persistent-pty-pwxeempz.js → schema-mh093k67.js} +18 -18
  191. package/dist/chunks/{persistent-pty-9qxgj1yn.js → schema-mp0exg3w.js} +11 -11
  192. package/dist/chunks/{persistent-pty-k8jcpvvr.js → schema-mw7ftrc1.js} +47 -47
  193. package/dist/chunks/{persistent-pty-tvhq06z0.js → schema-mx4nfnwv.js} +3 -3
  194. package/dist/chunks/{persistent-pty-fhnehbw5.js → schema-mz6ae2yf.js} +1 -1
  195. package/dist/chunks/{persistent-pty-y1eyp4h1.js → schema-na2rb754.js} +45 -45
  196. package/dist/chunks/{persistent-pty-xqmeh0zh.js → schema-nkszaa5g.js} +17 -17
  197. package/dist/chunks/{persistent-pty-nqm8jas2.js → schema-nnaq0ssc.js} +34 -34
  198. package/dist/chunks/{persistent-pty-p8ad8txy.js → schema-nrzpy080.js} +32 -32
  199. package/dist/chunks/{persistent-pty-1j73jf0y.js → schema-nsc0z153.js} +15 -15
  200. package/dist/chunks/{persistent-pty-wbjq657r.js → schema-nsy21xt9.js} +41 -41
  201. package/dist/chunks/{persistent-pty-g8r6989n.js → schema-nvck40qe.js} +8 -8
  202. package/dist/chunks/{persistent-pty-s8hqqq62.js → schema-nwejh57z.js} +21 -21
  203. package/dist/chunks/{persistent-pty-aemcnybr.js → schema-p8ee7rnh.js} +11 -11
  204. package/dist/chunks/{persistent-pty-vrn1sxtn.js → schema-p8rnrv0y.js} +6 -6
  205. package/dist/chunks/{persistent-pty-qm01ndw7.js → schema-pdamhna9.js} +10 -10
  206. package/dist/chunks/{persistent-pty-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{persistent-pty-pknna89w.js → schema-pknna89w.js} +1 -1
  208. package/dist/chunks/{persistent-pty-y3qvm77n.js → schema-pta0m0y2.js} +10 -10
  209. package/dist/chunks/{persistent-pty-5765z361.js → schema-q53mw4kv.js} +11 -11
  210. package/dist/chunks/{persistent-pty-4bdgx2my.js → schema-qcyk0ctz.js} +14 -14
  211. package/dist/chunks/{persistent-pty-k165hmq5.js → schema-qdeq33kz.js} +18 -18
  212. package/dist/chunks/schema-qdyb70sk.js +18 -0
  213. package/dist/chunks/{persistent-pty-wydq2hf7.js → schema-qgtwsm4a.js} +41 -41
  214. package/dist/chunks/{persistent-pty-72v2qqr0.js → schema-qjkj1w27.js} +5 -5
  215. package/dist/chunks/{persistent-pty-07bs0vjz.js → schema-qpv0n9y2.js} +13 -13
  216. package/dist/chunks/{persistent-pty-0wy9zd5d.js → schema-qpxa9xfm.js} +11 -11
  217. package/dist/chunks/{persistent-pty-vvgctfdq.js → schema-qr42g2ex.js} +12 -12
  218. package/dist/chunks/{persistent-pty-qsdy395h.js → schema-qsdy395h.js} +1 -1
  219. package/dist/chunks/{persistent-pty-znp8765m.js → schema-r66k216p.js} +22 -22
  220. package/dist/chunks/{persistent-pty-cztn7rx7.js → schema-r9asyhme.js} +11 -11
  221. package/dist/chunks/{persistent-pty-r9mregkx.js → schema-r9mregkx.js} +2 -2
  222. package/dist/chunks/{persistent-pty-x49tpfx8.js → schema-rggx3fk4.js} +8 -8
  223. package/dist/chunks/{persistent-pty-jav6p6ha.js → schema-s32qcjvy.js} +39 -39
  224. package/dist/chunks/{persistent-pty-f3ngv102.js → schema-sez5jh81.js} +4 -4
  225. package/dist/chunks/{persistent-pty-c5gn303e.js → schema-shh6fz4q.js} +4 -4
  226. package/dist/chunks/{persistent-pty-wk8vywde.js → schema-skkcpn4x.js} +17 -17
  227. package/dist/chunks/{persistent-pty-pmr4s4kc.js → schema-sx1n432n.js} +4 -4
  228. package/dist/chunks/{persistent-pty-fmcf9gbb.js → schema-sxj88q7q.js} +36 -36
  229. package/dist/chunks/{persistent-pty-dyznf783.js → schema-sxwejk34.js} +57 -57
  230. package/dist/chunks/{persistent-pty-4mdcdt6k.js → schema-szvcpp15.js} +37 -37
  231. package/dist/chunks/{persistent-pty-p1wf2k30.js → schema-t0x5rdq8.js} +9 -9
  232. package/dist/chunks/{persistent-pty-8hz2npkx.js → schema-t16yqmmz.js} +7 -7
  233. package/dist/chunks/{persistent-pty-9fxcdvg0.js → schema-t2tp6kph.js} +9 -9
  234. package/dist/chunks/{persistent-pty-pdn6mkhs.js → schema-t46k7n4n.js} +27 -27
  235. package/dist/chunks/{persistent-pty-g8d3gcyj.js → schema-t6vsspdg.js} +4 -4
  236. package/dist/chunks/{persistent-pty-w5dgsa5w.js → schema-t9qn8q8w.js} +8 -8
  237. package/dist/chunks/{persistent-pty-9vcfs5dg.js → schema-tax233da.js} +13 -13
  238. package/dist/chunks/{persistent-pty-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{persistent-pty-tdstcens.js → schema-tdstcens.js} +1 -1
  240. package/dist/chunks/{persistent-pty-km3hm7vc.js → schema-tgp4vj3e.js} +25 -25
  241. package/dist/chunks/{persistent-pty-gv6a8nnw.js → schema-th5km1p3.js} +5 -5
  242. package/dist/chunks/{persistent-pty-tcmfg0c6.js → schema-ttvjx6p5.js} +18 -18
  243. package/dist/chunks/{persistent-pty-tvtrv512.js → schema-tvtrv512.js} +1 -1
  244. package/dist/chunks/{persistent-pty-858znxdh.js → schema-tz9c6nnc.js} +15 -15
  245. package/dist/chunks/{persistent-pty-axcfkn0b.js → schema-varphpm5.js} +28 -28
  246. package/dist/chunks/{persistent-pty-0kbrq2j8.js → schema-vazxaftq.js} +15 -15
  247. package/dist/chunks/{persistent-pty-veqvce7d.js → schema-veqvce7d.js} +1 -1
  248. package/dist/chunks/{persistent-pty-rycxbs55.js → schema-vrf9z43g.js} +26 -26
  249. package/dist/chunks/{persistent-pty-q8nw8w0b.js → schema-vve3ffxw.js} +32 -32
  250. package/dist/chunks/{persistent-pty-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{persistent-pty-9yr2yfq4.js → schema-vzm76b3t.js} +6 -6
  252. package/dist/chunks/{persistent-pty-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{persistent-pty-yzpqraws.js → schema-w4cz4w8n.js} +2 -2
  254. package/dist/chunks/{persistent-pty-zy1ry69w.js → schema-w52sm2v7.js} +37 -37
  255. package/dist/chunks/{persistent-pty-xf4dwdmn.js → schema-w5np17bk.js} +32 -32
  256. package/dist/chunks/{persistent-pty-1nfpt5r1.js → schema-wavq5vqb.js} +1 -1
  257. package/dist/chunks/{persistent-pty-dx72tz9d.js → schema-wb1a395f.js} +26 -26
  258. package/dist/chunks/{persistent-pty-wd87259q.js → schema-wd87259q.js} +1 -1
  259. package/dist/chunks/{persistent-pty-rsfa6j5g.js → schema-wpcmngey.js} +9 -9
  260. package/dist/chunks/{persistent-pty-qtj6hy35.js → schema-wtx5fp6w.js} +40 -40
  261. package/dist/chunks/{persistent-pty-81swgkk7.js → schema-x00t4nfm.js} +9 -9
  262. package/dist/chunks/{persistent-pty-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{persistent-pty-zmjtwb5q.js → schema-xafa45y0.js} +21 -21
  264. package/dist/chunks/{persistent-pty-476tty53.js → schema-xcz5qpew.js} +16 -16
  265. package/dist/chunks/{persistent-pty-6rx7art5.js → schema-xr4pykw3.js} +16 -16
  266. package/dist/chunks/{persistent-pty-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{persistent-pty-07yh2w3s.js → schema-y5dj3dxk.js} +6 -6
  268. package/dist/chunks/{persistent-pty-496ptbe5.js → schema-y9ytwzzt.js} +45 -45
  269. package/dist/chunks/{persistent-pty-8rr4encj.js → schema-yaj99xd7.js} +18 -18
  270. package/dist/chunks/{persistent-pty-1bsf6wqz.js → schema-yea1wtgt.js} +87 -87
  271. package/dist/chunks/{persistent-pty-xv814t3x.js → schema-yfbgkrwe.js} +11 -11
  272. package/dist/chunks/{persistent-pty-67z4309q.js → schema-yh4as7xh.js} +26 -26
  273. package/dist/chunks/{persistent-pty-mm04bz81.js → schema-yn73hxa9.js} +19 -19
  274. package/dist/chunks/{persistent-pty-1acjjqhc.js → schema-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{persistent-pty-dpz13x6g.js → schema-yp37mb71.js} +24 -24
  276. package/dist/chunks/{persistent-pty-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{persistent-pty-yrznvahk.js → schema-yrznvahk.js} +2 -2
  278. package/dist/chunks/{persistent-pty-0c4p4pyk.js → schema-yzesgjc2.js} +27 -27
  279. package/dist/chunks/{persistent-pty-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{persistent-pty-z63w68vq.js → schema-z63w68vq.js} +2 -2
  281. package/dist/chunks/{persistent-pty-2p4phcfp.js → schema-zdyqqjkd.js} +173 -173
  282. package/dist/chunks/{persistent-pty-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{persistent-pty-svxpmbmv.js → schema-zf2yj53h.js} +17 -17
  284. package/dist/chunks/{persistent-pty-xqrmvh4d.js → schema-zm862yqt.js} +34 -34
  285. package/dist/chunks/{persistent-pty-9z190z2h.js → schema-zpbz1axx.js} +8 -8
  286. package/dist/chunks/{persistent-pty-tspgchm8.js → schema-zqk4v51d.js} +23 -23
  287. package/dist/chunks/{persistent-pty-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{persistent-pty-kz993g5t.js → schema-zwv68h5q.js} +7 -7
  289. package/dist/chunks/{persistent-pty-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +83 -83
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +121 -121
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +137 -137
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +120 -120
  303. package/dist/config/plugin/image.js +119 -119
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +121 -121
  306. package/dist/config/plugin/mcp.js +130 -130
  307. package/dist/config/plugin/policy.js +118 -118
  308. package/dist/config/plugin/provider.js +117 -117
  309. package/dist/config/plugin/reference.js +121 -121
  310. package/dist/config/plugin/shell.js +119 -119
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +140 -140
  313. package/dist/config/plugin/snapshot.js +119 -119
  314. package/dist/config/plugin/source.js +121 -121
  315. package/dist/config/plugin/tool-output.js +121 -121
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +122 -122
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +123 -123
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +71 -71
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +365 -365
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +71 -71
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +225 -225
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +107 -107
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +90 -90
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +3 -3
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +356 -356
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +135 -135
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +87 -87
  468. package/dist/location-services.js +353 -353
  469. package/dist/location.js +88 -88
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +124 -124
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +3 -3
  477. package/dist/model-resolver.js +87 -87
  478. package/dist/model.js +8 -8
  479. package/dist/models-dev.js +87 -87
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +79 -79
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +106 -106
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +85 -85
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +103 -103
  490. package/dist/plugin/command.js +100 -100
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +216 -216
  493. package/dist/plugin/instance.js +1 -1
  494. package/dist/plugin/internal.js +327 -327
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +76 -76
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +4 -4
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +80 -80
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +81 -81
  524. package/dist/plugin/provider/opencode.js +80 -80
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +78 -78
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +159 -159
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +137 -137
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +344 -344
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +5 -5
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +223 -223
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +87 -87
  558. package/dist/provider.js +5 -5
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +91 -91
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +88 -88
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +96 -96
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +133 -133
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +3 -3
  576. package/dist/session/error.js +3 -3
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +221 -221
  579. package/dist/session/execution.js +128 -128
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +87 -87
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +96 -96
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +117 -117
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +130 -130
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +1 -1
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +87 -87
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +114 -114
  603. package/dist/session/runner/step.js +123 -123
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +172 -172
  607. package/dist/session/shell.js +134 -134
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +72 -72
  611. package/dist/session/store.js +86 -86
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +209 -209
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +149 -149
  616. package/dist/session/to-session-error.js +111 -111
  617. package/dist/session/transfer.js +218 -218
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +217 -217
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +9 -9
  624. package/dist/shell.js +132 -132
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +104 -104
  627. package/dist/skill.js +105 -105
  628. package/dist/snapshot.js +90 -90
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +123 -123
  633. package/dist/tool/plugin/edit.js +119 -119
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +123 -123
  636. package/dist/tool/plugin/grep.js +123 -123
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +121 -121
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +214 -214
  642. package/dist/tool/plugin/skill.js +112 -112
  643. package/dist/tool/plugin/subagent.js +218 -218
  644. package/dist/tool/plugin/webfetch.js +111 -111
  645. package/dist/tool/plugin/websearch.js +111 -111
  646. package/dist/tool/plugin/write.js +121 -121
  647. package/dist/tool/read-filesystem.js +99 -99
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +15 -15
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +5 -5
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +5 -5
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +4 -4
  670. package/dist/v1/config/permission.js +3 -3
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +83 -83
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +78 -78
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +4 -4
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/refresh.js +343 -343
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +91 -91
  690. package/package.json +8 -8
  691. package/dist/chunks/persistent-pty-by5v678g.js +0 -18
  692. package/dist/chunks/persistent-pty-e6mws8mz.js +0 -26
  693. package/dist/chunks/persistent-pty-nn38a0fv.js +0 -247
  694. package/dist/chunks/persistent-pty-rt91ng8c.js +0 -466
  695. /package/dist/chunks/{persistent-pty-0mesazry.js → schema-0mesazry.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-2710q6r3.js → schema-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-359p4xyc.js → schema-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-3asan66x.js → schema-3asan66x.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-53557ph1.js → schema-53557ph1.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-550bvhaj.js → schema-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-6prwharc.js → schema-6prwharc.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-7m9af43g.js → schema-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-822emrt2.js → schema-822emrt2.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-8n3pysct.js → schema-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-922hggd3.js → schema-922hggd3.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-af5trqkr.js → schema-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-afrmfg78.js → schema-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-d9fn303g.js → schema-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-dajrwvna.js → schema-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-dap0rakb.js → schema-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-df08tz66.js → schema-df08tz66.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-dy18nga0.js → schema-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-ec1grn59.js → schema-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-faypxj3z.js → schema-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-fd410y7t.js → schema-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-g86h250q.js → schema-g86h250q.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-gftt206x.js → schema-gftt206x.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-hk9envan.js → schema-hk9envan.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-hrnqkpcd.js → schema-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-mp448xyj.js → schema-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-njntx4h6.js → schema-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-paphc93g.js → schema-paphc93g.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-q74kybfr.js → schema-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-twg0f83k.js → schema-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-w803qqfp.js → schema-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-wtztk69x.js → schema-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-x61499pn.js → schema-x61499pn.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-y44na4kk.js → schema-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-y8f7s663.js → schema-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-ym463w8f.js → schema-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./persistent-pty-2a5m3afh.js";
5
+ } from "./schema-2a5m3afh.js";
6
6
  import {
7
- Service76
8
- } from "./persistent-pty-wk8vywde.js";
7
+ Service70
8
+ } from "./schema-skkcpn4x.js";
9
9
  import {
10
- Service51
11
- } from "./persistent-pty-70znhec0.js";
10
+ Service68
11
+ } from "./schema-9cdcqr3z.js";
12
12
  import {
13
- Service75
14
- } from "./persistent-pty-tcmfg0c6.js";
13
+ Service15
14
+ } from "./schema-ttvjx6p5.js";
15
15
  import {
16
- Service13,
16
+ Service14,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./persistent-pty-5aeq7032.js";
19
+ } from "./schema-2xmxfdkw.js";
20
20
  import {
21
- Service59
22
- } from "./persistent-pty-y1eyp4h1.js";
21
+ Service52
22
+ } from "./schema-na2rb754.js";
23
23
  import {
24
- Service58,
24
+ Service51,
25
25
  resolvePath2
26
- } from "./persistent-pty-kfekjm9s.js";
26
+ } from "./schema-9n8afz82.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./persistent-pty-6prwharc.js";
29
+ } from "./schema-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./persistent-pty-9rqn6x4v.js";
32
+ } from "./schema-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input6,
39
- Output: () => Output5,
38
+ Input: () => Input3,
39
+ Output: () => Output3,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin26,
42
- name: () => name6,
43
- toModelContent: () => toModelContent4
41
+ Plugin: () => Plugin36,
42
+ name: () => name3,
43
+ toModelContent: () => toModelContent2
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name6 = "patch";
89
- var Input6 = Schema.Struct({
88
+ var name3 = "patch";
89
+ var Input3 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output5 = Schema.Struct({
99
+ var Output3 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent4 = (output) => [
103
+ var toModelContent2 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin26 = {
108
+ var Plugin36 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service51;
112
- const access = yield* Service58;
113
- const fileMutation = yield* Service13;
114
- const formatter = yield* Service75;
115
- const location = yield* Service76;
116
- const permission = yield* Service59;
111
+ const environment = yield* Service68;
112
+ const access = yield* Service51;
113
+ const fileMutation = yield* Service14;
114
+ const formatter = yield* Service15;
115
+ const location = yield* Service70;
116
+ const permission = yield* Service52;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name6,
118
+ name: name3,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input6,
122
- output: Output5,
121
+ input: Input3,
122
+ output: Output3,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin26 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent4(output),
269
+ content: toModelContent2(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name6, Input6, Applied2, Output5, toModelContent4, Plugin26, exports_patch };
329
+ export { name3, Input3, Applied2, Output3, toModelContent2, Plugin36, exports_patch };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
- node85
4
- } from "./persistent-pty-aemcnybr.js";
3
+ node84
4
+ } from "./schema-p8ee7rnh.js";
5
5
  import {
6
6
  Service79,
7
- node84
8
- } from "./persistent-pty-zd83r0vm.js";
7
+ node83
8
+ } from "./schema-g5rn0d52.js";
9
9
  import {
10
- Service48,
11
- node52
12
- } from "./persistent-pty-9yr2yfq4.js";
10
+ Service34,
11
+ node37
12
+ } from "./schema-vzm76b3t.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./persistent-pty-922hggd3.js";
16
+ } from "./schema-922hggd3.js";
17
17
  import {
18
- Service77,
19
- node82
20
- } from "./persistent-pty-2wacw76k.js";
18
+ Service71,
19
+ node75
20
+ } from "./schema-6sk8rnq7.js";
21
21
  import {
22
- Ref4
23
- } from "./persistent-pty-wk8vywde.js";
22
+ Ref3
23
+ } from "./schema-skkcpn4x.js";
24
24
  import {
25
- Service50,
26
- node54
27
- } from "./persistent-pty-qj8patcw.js";
25
+ Service35,
26
+ node38
27
+ } from "./schema-49m0b0hg.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./persistent-pty-gftt206x.js";
30
+ } from "./schema-gftt206x.js";
31
31
  import {
32
32
  NotFoundError8
33
- } from "./persistent-pty-r0cp9c3a.js";
33
+ } from "./schema-1qghmjy0.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./persistent-pty-ec1grn59.js";
36
+ } from "./schema-ec1grn59.js";
37
37
  import {
38
- Service45
39
- } from "./persistent-pty-t7n9q6bq.js";
38
+ Service31
39
+ } from "./schema-ctmr8zqa.js";
40
40
  import {
41
- Service60,
42
- node65
43
- } from "./persistent-pty-74vtdart.js";
41
+ Service53,
42
+ node56
43
+ } from "./schema-cwtxttrt.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service46,
48
- node50,
47
+ Service32,
48
+ node35,
49
49
  moveIDs2
50
- } from "./persistent-pty-znp8765m.js";
50
+ } from "./schema-r66k216p.js";
51
51
  import {
52
- Service44,
53
- node49
54
- } from "./persistent-pty-qtj6hy35.js";
52
+ Service30,
53
+ node34
54
+ } from "./schema-wtx5fp6w.js";
55
55
  import {
56
- node29
57
- } from "./persistent-pty-pqsh7sw8.js";
56
+ node22
57
+ } from "./schema-bnf5aq9z.js";
58
58
  import {
59
59
  __export
60
- } from "./persistent-pty-9rqn6x4v.js";
60
+ } from "./schema-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service24,
68
+ Service: () => Service17,
69
69
  SessionMove: () => exports_move,
70
- node: () => node28
70
+ node: () => node21
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,17 +83,17 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service24 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service17 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service24, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service77;
92
- const locations = yield* Service50;
93
- const store = yield* Service60;
94
- const execution = yield* Service44;
95
- const instances = yield* Service48;
96
- const admission = yield* Service46;
91
+ const projects = yield* Service71;
92
+ const locations = yield* Service35;
93
+ const store = yield* Service53;
94
+ const execution = yield* Service30;
95
+ const instances = yield* Service34;
96
+ const admission = yield* Service32;
97
97
  const database = yield* Service80;
98
98
  const bus = yield* Service79;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref4.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref3.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service45.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service31.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service24.of({
136
+ return Service17.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node28 = makeGlobalNode({
167
- service: Service24,
166
+ var node21 = makeGlobalNode({
167
+ service: Service17,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node82,
173
- node54,
174
- node65,
175
- node49,
176
- node52,
177
- node50,
178
- node85,
172
+ node75,
173
+ node38,
174
+ node56,
175
+ node34,
176
+ node37,
177
+ node35,
179
178
  node84,
180
- node29
179
+ node83,
180
+ node22
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service24, node28, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service17, node21, exports_move };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./persistent-pty-2a5m3afh.js";
3
+ } from "./schema-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./persistent-pty-922hggd3.js";
6
+ } from "./schema-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./persistent-pty-wk8vywde.js";
8
+ Service70
9
+ } from "./schema-skkcpn4x.js";
10
10
  import {
11
- Service51
12
- } from "./persistent-pty-70znhec0.js";
11
+ Service68
12
+ } from "./schema-9cdcqr3z.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service18
16
- } from "./persistent-pty-8rr4encj.js";
15
+ Service67
16
+ } from "./schema-yaj99xd7.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry2,
21
+ Entry4,
22
22
  Match2
23
- } from "./persistent-pty-xf4dwdmn.js";
23
+ } from "./schema-w5np17bk.js";
24
24
  import {
25
- Service59
26
- } from "./persistent-pty-y1eyp4h1.js";
25
+ Service52
26
+ } from "./schema-na2rb754.js";
27
27
  import {
28
- Service58
29
- } from "./persistent-pty-kfekjm9s.js";
28
+ Service51
29
+ } from "./schema-9n8afz82.js";
30
30
  import {
31
31
  __export
32
- } from "./persistent-pty-9rqn6x4v.js";
32
+ } from "./schema-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input8,
39
- Output: () => Output6,
40
- Plugin: () => Plugin28,
41
- name: () => name8,
42
- toModelContent: () => toModelContent5
38
+ Input: () => Input4,
39
+ Output: () => Output4,
40
+ Plugin: () => Plugin37,
41
+ name: () => name4,
42
+ toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name8 = "grep";
48
- var Input8 = Schema.Struct({
47
+ var name4 = "grep";
48
+ var Input4 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input8 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output6 = Schema.Array(Match2);
69
- var toModelContent5 = (matches, truncated = false) => {
68
+ var Output4 = Schema.Array(Match2);
69
+ var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin28 = {
86
+ var Plugin37 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service51;
90
- const ripgrep = yield* Service18;
91
- const location = yield* Service76;
92
- const access = yield* Service58;
93
- const permission = yield* Service59;
89
+ const environment = yield* Service68;
90
+ const ripgrep = yield* Service67;
91
+ const location = yield* Service70;
92
+ const access = yield* Service51;
93
+ const permission = yield* Service52;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name8,
95
+ name: name4,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input8,
99
- output: Output6,
98
+ input: Input4,
99
+ output: Output4,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name8,
105
+ action: name4,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -136,7 +136,7 @@ var Plugin28 = {
136
136
  }))
137
137
  }), Effect.map((result) => result.map((match) => Match2.make({
138
138
  ...match,
139
- entry: Entry2.make({
139
+ entry: Entry4.make({
140
140
  ...match.entry,
141
141
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
142
142
  })
@@ -144,7 +144,7 @@ var Plugin28 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent5(result.matches.map((match) => ({
147
+ content: toModelContent3(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin28 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name8, Input8, Output6, toModelContent5, Plugin28, exports_grep };
157
+ export { name4, Input4, Output4, toModelContent3, Plugin37, exports_grep };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./persistent-pty-kg06axw8.js";
3
+ } from "./schema-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service9,
13
- node: () => node12
12
+ Service: () => Service12,
13
+ node: () => node15
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service9, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service9.of({
44
+ return Service12.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node12 = makeLocationNode({ service: Service9, layer, deps: [] });
51
+ var node15 = makeLocationNode({ service: Service12, layer, deps: [] });
52
52
 
53
- export { Service9, node12, exports_location_watcher_policy };
53
+ export { Service12, node15, exports_location_watcher_policy };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  mergeOverlay2
3
- } from "./persistent-pty-0axr4kr0.js";
3
+ } from "./schema-33n3bzdy.js";
4
4
  import {
5
- Service70
6
- } from "./persistent-pty-67z4309q.js";
5
+ Service59
6
+ } from "./schema-yh4as7xh.js";
7
7
  import {
8
- Service55
9
- } from "./persistent-pty-3ydh67fs.js";
8
+ Service40
9
+ } from "./schema-dm8kv9e9.js";
10
10
 
11
11
  // src/plugin/provider/configured.ts
12
12
  import { Effect, Option } from "effect";
13
13
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
14
- const catalog = yield* Service70;
14
+ const catalog = yield* Service59;
15
15
  const current = (yield* catalog.provider.get(id))?.settings;
16
- const service = yield* Effect.serviceOption(Service55);
16
+ const service = yield* Effect.serviceOption(Service40);
17
17
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
18
18
  return foldSettings2(entries, id, current);
19
19
  });
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service48
3
- } from "./persistent-pty-9yr2yfq4.js";
2
+ Service34
3
+ } from "./schema-vzm76b3t.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./persistent-pty-by5v678g.js";
6
+ } from "./schema-qdyb70sk.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./persistent-pty-r0cp9c3a.js";
9
+ } from "./schema-1qghmjy0.js";
10
10
  import {
11
- Service36
12
- } from "./persistent-pty-2ww59eqx.js";
11
+ Service50
12
+ } from "./schema-7cdavrgt.js";
13
13
  import {
14
14
  __export
15
- } from "./persistent-pty-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* Service48;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
25
+ const instances = yield* Service34;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service50), 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 });