@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
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./persistent-pty-y71avatq.js";
3
+ } from "./schema-jwcy2c2z.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service6,
13
- node: () => node9
12
+ Service: () => Service3,
13
+ node: () => node6
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service6 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service3 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service6, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service6.of({
27
+ return Service3.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node9 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
52
+ var node6 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
53
53
 
54
- export { Service6, node9, exports_update };
54
+ export { Service3, node6, exports_update };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./persistent-pty-gftt206x.js";
3
+ } from "./schema-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./schema-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info12,
12
+ Info: () => Info13,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info12 = Schema.Struct({
64
+ var Info13 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info12 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info12, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info13, exports_provider2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make15,
10
- render: () => render3
9
+ make: () => make13,
10
+ render: () => render2
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make15(tools) {
33
- return render3(system_default, tools);
32
+ function make13(tools) {
33
+ return render2(system_default, tools);
34
34
  }
35
- function render3(prompt, tools) {
35
+ function render2(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make15, render3, exports_system_prompt };
50
+ export { make13, render2, exports_system_prompt };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./persistent-pty-qaymkmh1.js";
3
+ } from "./schema-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-zrhm0kb5.js";
3
+ } from "./schema-3hf7z3yq.js";
4
4
  import {
5
- ID15
6
- } from "./persistent-pty-0axr4kr0.js";
5
+ ID18
6
+ } from "./schema-33n3bzdy.js";
7
7
  import {
8
8
  iife2
9
- } from "./persistent-pty-1kg9ymc8.js";
9
+ } from "./schema-1kg9ymc8.js";
10
10
  import {
11
11
  configuredSettings2
12
- } from "./persistent-pty-8hz2npkx.js";
12
+ } from "./schema-t16yqmmz.js";
13
13
 
14
14
  // src/plugin/provider/cloudflare-ai-gateway.ts
15
15
  import os from "os";
16
16
  import { Effect, Option, Schema } from "effect";
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Form } from "@opencode/schema/form";
19
- var providerID = ID15.make("cloudflare-ai-gateway");
19
+ var providerID = ID18.make("cloudflare-ai-gateway");
20
20
  var CloudflareAIGatewayPlugin2 = define({
21
21
  id: "opencode.provider.cloudflare.ai.gateway",
22
22
  effect: Effect.fn(function* (ctx) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./persistent-pty-0axr4kr0.js";
4
+ } from "./schema-33n3bzdy.js";
5
5
  import {
6
- ID14
7
- } from "./persistent-pty-hnc9qj7b.js";
6
+ ID17
7
+ } from "./schema-c3s2gn8c.js";
8
8
 
9
9
  // src/plugin/provider/openrouter.ts
10
10
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  evt.provider.update(item.provider.id, (provider) => {
22
22
  provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
23
23
  });
24
- for (const modelID of [ID14.make("gpt-5-chat-latest"), ID14.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID17.make("gpt-5-chat-latest"), ID17.make("openai/gpt-5-chat")]) {
25
25
  if (!item.models.has(modelID))
26
26
  continue;
27
27
  evt.model.update(item.provider.id, modelID, (model) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-zrhm0kb5.js";
3
+ } from "./schema-3hf7z3yq.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin36,
11
+ Plugin: () => Plugin3,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint3
13
+ endpoint: () => endpoint2
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint3 = "https://api.tavily.com/search";
18
+ var endpoint2 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin36 = define({
32
+ var Plugin3 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin36 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin36 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint3, Plugin36, exports_tavily };
80
+ export { endpoint2, Plugin3, exports_tavily };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./schema-922hggd3.js";
4
4
  import {
5
- Info18
6
- } from "./persistent-pty-f3ngv102.js";
5
+ Info8
6
+ } from "./schema-sez5jh81.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./schema-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info14
15
+ Info: () => Info7
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info18)
47
+ permission: Schema.optional(Info8)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info14 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info7 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info14, exports_agent3 };
74
+ export { Info7, exports_agent3 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  ephemeral2,
3
3
  Service79,
4
- node84
5
- } from "./persistent-pty-zd83r0vm.js";
4
+ node83
5
+ } from "./schema-g5rn0d52.js";
6
6
  import {
7
- Service67,
8
- node72
9
- } from "./persistent-pty-s586x74b.js";
7
+ Service78,
8
+ node82
9
+ } from "./schema-hj0g3228.js";
10
10
  import {
11
11
  __export
12
- } from "./persistent-pty-9rqn6x4v.js";
12
+ } from "./schema-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event11,
19
+ Event: () => Event7,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service57,
22
+ Service: () => Service48,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node62,
25
+ node: () => node51,
26
26
  resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service57 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service48 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event7 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service57, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service67;
80
+ const kv = yield* Service78;
81
81
  const bus = yield* Service79;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event7.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service57.of({
115
+ return Service48.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event11.Updated, {});
128
+ yield* bus.publish(Event7.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event7.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node62 = makeGlobalNode({ service: Service57, layer, deps: [httpClient, node72, node84] });
146
+ var node51 = makeGlobalNode({ service: Service48, layer, deps: [httpClient, node82, node83] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service57, Event11, inspect2, resolve3, node62, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service48, Event7, inspect2, resolve3, node51, exports_wellknown };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79,
3
- node84
4
- } from "./persistent-pty-zd83r0vm.js";
3
+ node83
4
+ } from "./schema-g5rn0d52.js";
5
5
  import {
6
6
  create3
7
- } from "./persistent-pty-kg06axw8.js";
7
+ } from "./schema-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./schema-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command5 = {};
14
14
  __export(exports_command5, {
15
15
  Command: () => exports_command5,
16
- Event: () => Event14,
16
+ Event: () => Event5,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info24,
19
- NotFoundError: () => NotFoundError9,
20
- Service: () => Service64,
21
- layer: () => layer22,
22
- node: () => node69
18
+ Info: () => Info16,
19
+ NotFoundError: () => NotFoundError6,
20
+ Service: () => Service43,
21
+ layer: () => layer18,
22
+ node: () => node46
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event14 } from "@opencode/schema/command";
28
- var Info24 = Command.Info;
27
+ import { Event as Event5 } from "@opencode/schema/command";
28
+ var Info16 = Command.Info;
29
29
 
30
- class NotFoundError9 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service64 extends Context.Service()("@opencode/Command") {
42
+ class Service43 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer22 = Layer.effect(Service64, Effect.gen(function* () {
44
+ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
45
45
  const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer22 = Layer.effect(Service64, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info24.make({
54
+ const info = (definition) => Info16.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service64.of({
58
+ return Service43.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer22 = Layer.effect(Service64, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError9({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node69 = makeLocationNode({
75
- service: Service64,
76
- layer: layer22,
77
- deps: [node84]
74
+ var node46 = makeLocationNode({
75
+ service: Service43,
76
+ layer: layer18,
77
+ deps: [node83]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info24, NotFoundError9, ExecutionError2, Service64, layer22, node69, exports_command5, Event14 };
89
+ export { Info16, NotFoundError6, ExecutionError2, Service43, layer18, node46, exports_command5, Event5 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-zrhm0kb5.js";
3
+ } from "./schema-3hf7z3yq.js";
4
4
  import {
5
5
  OAuth3,
6
- Service74
7
- } from "./persistent-pty-8gp97p59.js";
6
+ Service63
7
+ } from "./schema-gg2v66ak.js";
8
8
  import {
9
- ID12,
9
+ ID9,
10
10
  MethodID2
11
- } from "./persistent-pty-yag4m0hg.js";
11
+ } from "./schema-7f0264at.js";
12
12
  import {
13
- ID15
14
- } from "./persistent-pty-0axr4kr0.js";
13
+ ID18
14
+ } from "./schema-33n3bzdy.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
23
23
  var pollingSafetyMargin = 3000;
24
24
  var browserMethodID = MethodID2.make("browser");
25
25
  var deviceMethodID = MethodID2.make("device");
26
- var providerID = ID15.make("xai");
26
+ var providerID = ID18.make("xai");
27
27
  var Token = Schema.Struct({
28
28
  access_token: Schema.String,
29
29
  refresh_token: Schema.optional(Schema.String),
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
43
43
  });
44
44
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
45
45
  var device = (app) => ({
46
- integrationID: ID12.make("xai"),
46
+ integrationID: ID9.make("xai"),
47
47
  method: {
48
48
  id: deviceMethodID,
49
49
  type: "oauth",
@@ -68,8 +68,8 @@ var device = (app) => ({
68
68
  var XAIPlugin2 = define({
69
69
  id: "opencode.provider.xai",
70
70
  effect: Effect.fn(function* (ctx) {
71
- const credentials = yield* Service74;
72
- yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
71
+ const credentials = yield* Service63;
72
+ yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
73
73
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
74
74
  return Effect.void;
75
75
  return credentials.update(credential.id, {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./persistent-pty-qfa1cgps.js";
3
+ } from "./schema-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./persistent-pty-8p4f9s12.js";
6
+ } from "./schema-8p4f9s12.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service73
3
- } from "./persistent-pty-yxmjpxht.js";
2
+ Service61
3
+ } from "./schema-9n9wwhvc.js";
4
4
  import {
5
- Service59
6
- } from "./persistent-pty-y1eyp4h1.js";
5
+ Service52
6
+ } from "./schema-na2rb754.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./schema-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input14,
15
+ Input: () => Input13,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin47,
18
18
  QuestionTool: () => exports_question,
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input14 = Schema.Struct({
37
+ var Input13 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin47 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service73;
57
- const permission = yield* Service59;
56
+ const forms = yield* Service61;
57
+ const permission = yield* Service52;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name13,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input14,
62
+ input: Input13,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
118
+ export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./persistent-pty-mfhfdr54.js";
4
+ } from "./schema-mfhfdr54.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {