@opencode/core 0.0.0-dev-21340 → 0.0.0-dev-21351

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{form-mmjb59xw.js → command-05095fa7.js} +12 -12
  8. package/dist/chunks/{form-43833zpv.js → command-09kr4fhv.js} +7 -7
  9. package/dist/chunks/{form-zswrtyyf.js → command-0c8wkbnb.js} +15 -15
  10. package/dist/chunks/{form-5wr9n5bc.js → command-0cz7970t.js} +18 -18
  11. package/dist/chunks/{form-rq76fwbg.js → command-0grvjp2e.js} +19 -19
  12. package/dist/chunks/{form-ngv1hrws.js → command-0n4gbw3s.js} +11 -11
  13. package/dist/chunks/{form-15nepkqg.js → command-0t9wd588.js} +8 -8
  14. package/dist/chunks/{form-mc39ckc0.js → command-0vb0cg2n.js} +16 -16
  15. package/dist/chunks/{form-0vbcp93d.js → command-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{form-sagdypxn.js → command-0x8wbs59.js} +11 -11
  17. package/dist/chunks/{form-1krmxpby.js → command-0xg0skbm.js} +4 -4
  18. package/dist/chunks/{form-dtkj6t2x.js → command-0xgt1t5f.js} +33 -33
  19. package/dist/chunks/{form-qc22nsxb.js → command-0yfyxnbj.js} +15 -15
  20. package/dist/chunks/{form-whms72wd.js → command-0z7w8q86.js} +43 -43
  21. package/dist/chunks/{form-dbt3qtfn.js → command-1387w9ct.js} +24 -24
  22. package/dist/chunks/{form-rvqf1hhw.js → command-15zv62fh.js} +22 -22
  23. package/dist/chunks/{form-y7nndgyc.js → command-1jdt266a.js} +9 -9
  24. package/dist/chunks/{form-e7a0tnjd.js → command-1ks1qykk.js} +10 -10
  25. package/dist/chunks/{form-2tzz6wa4.js → command-1xcqb8y9.js} +52 -52
  26. package/dist/chunks/{form-t0pyhqcw.js → command-1yd7h3h8.js} +11 -11
  27. package/dist/chunks/{form-8xh436hj.js → command-220na3xh.js} +4 -4
  28. package/dist/chunks/{form-hhm4rk5s.js → command-251hxpd6.js} +2 -2
  29. package/dist/chunks/{form-qwert80r.js → command-27mk30s9.js} +11 -11
  30. package/dist/chunks/{form-vzs67vbf.js → command-27qsxf2d.js} +86 -86
  31. package/dist/chunks/{form-adnpvf0n.js → command-2a4xmc3t.js} +75 -75
  32. package/dist/chunks/{form-a4f079eb.js → command-2a88t129.js} +26 -26
  33. package/dist/chunks/{form-2wzyh2nh.js → command-2gcctbpp.js} +20 -20
  34. package/dist/chunks/{form-7refdtwv.js → command-2gdhf4ep.js} +2 -2
  35. package/dist/chunks/{form-tprmfzaq.js → command-2ht9mx02.js} +15 -15
  36. package/dist/chunks/{form-wegah70x.js → command-2qmdv9pq.js} +44 -44
  37. package/dist/chunks/{form-rense280.js → command-2xgs0rjp.js} +15 -15
  38. package/dist/chunks/{form-he8gezxy.js → command-37eaq4pg.js} +20 -20
  39. package/dist/chunks/{form-fh8k3p5m.js → command-385fh67q.js} +15 -15
  40. package/dist/chunks/{form-q0n5p59x.js → command-3gaxmgjd.js} +9 -9
  41. package/dist/chunks/{form-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{form-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
  43. package/dist/chunks/{form-99x6s37t.js → command-3k0bgyc5.js} +32 -32
  44. package/dist/chunks/{form-yq6kw6eg.js → command-3r1d6b2h.js} +32 -32
  45. package/dist/chunks/{form-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{form-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{form-vjawge7b.js → command-3yqrkyy4.js} +23 -23
  48. package/dist/chunks/{form-3zsf4n22.js → command-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{form-3xzhnrg0.js → command-48jj4jxg.js} +23 -23
  50. package/dist/chunks/command-4v7qdvcn.js +18 -0
  51. package/dist/chunks/{form-92swnv4m.js → command-4w5f3qm5.js} +8 -8
  52. package/dist/chunks/{form-ym4b2kva.js → command-4xfaac4p.js} +13 -13
  53. package/dist/chunks/{form-1tcnrg0s.js → command-4zhk6gck.js} +19 -19
  54. package/dist/chunks/{form-bgg5jk8p.js → command-53216tw9.js} +4 -4
  55. package/dist/chunks/{form-tg63fvkh.js → command-56y3az4a.js} +16 -16
  56. package/dist/chunks/{form-65qcyyma.js → command-5c7wq0sw.js} +7 -7
  57. package/dist/chunks/{form-rpqs4zrr.js → command-5fp6vwb6.js} +15 -15
  58. package/dist/chunks/{form-5m9w47nd.js → command-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{form-hfnb13cj.js → command-5mh3tc9m.js} +1 -1
  60. package/dist/chunks/{form-e3qxr5gk.js → command-5qd3pb7m.js} +2 -2
  61. package/dist/chunks/{form-j73xx5v2.js → command-5s6h66r9.js} +12 -12
  62. package/dist/chunks/{form-2jybnyep.js → command-5xnwhm0z.js} +16 -16
  63. package/dist/chunks/{form-2aqgybcp.js → command-604rtc6f.js} +29 -29
  64. package/dist/chunks/{form-0bmnjpfs.js → command-622w9434.js} +6 -6
  65. package/dist/chunks/{form-67k81bmf.js → command-67kdra4q.js} +3 -3
  66. package/dist/chunks/{form-6827pfxn.js → command-6827pfxn.js} +1 -1
  67. package/dist/chunks/{form-8hpy5qx6.js → command-6c31gg04.js} +32 -32
  68. package/dist/chunks/{form-n8p3yyy1.js → command-6jtaxcks.js} +13 -13
  69. package/dist/chunks/{form-6pc27hjz.js → command-6pc27hjz.js} +2 -2
  70. package/dist/chunks/{form-jqd7rvfh.js → command-6qjch3xb.js} +3 -3
  71. package/dist/chunks/{form-eeeprd1m.js → command-6rm67adk.js} +13 -13
  72. package/dist/chunks/{form-54bvb9cj.js → command-6tphwxvp.js} +27 -27
  73. package/dist/chunks/{form-6xb47vfp.js → command-6xb47vfp.js} +1 -1
  74. package/dist/chunks/command-6ydndmq1.js +257 -0
  75. package/dist/chunks/{form-775gj3j1.js → command-775gj3j1.js} +2 -2
  76. package/dist/chunks/{form-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{form-5xhehs7n.js → command-7fydwwh4.js} +10 -10
  78. package/dist/chunks/{form-kbs0fn1w.js → command-7hw33090.js} +25 -25
  79. package/dist/chunks/{form-wdfe9bpp.js → command-7wkzvct8.js} +5 -5
  80. package/dist/chunks/{form-84txncab.js → command-84txncab.js} +1 -1
  81. package/dist/chunks/{form-0p4mvthy.js → command-84ze4qhs.js} +15 -15
  82. package/dist/chunks/{form-pfq1ksym.js → command-8dff8bqa.js} +5 -5
  83. package/dist/chunks/{form-8m6m0r52.js → command-8m6m0r52.js} +1 -1
  84. package/dist/chunks/{form-8mywswrd.js → command-8mywswrd.js} +1 -1
  85. package/dist/chunks/{form-0s7awbhn.js → command-8rzhxpaa.js} +3 -3
  86. package/dist/chunks/{form-tvq4fmk2.js → command-93fzsdqz.js} +9 -9
  87. package/dist/chunks/{form-je3wc35j.js → command-94hhby22.js} +14 -14
  88. package/dist/chunks/{form-ct5beqmq.js → command-98mtcx2z.js} +10 -10
  89. package/dist/chunks/{form-mddns072.js → command-9fyafw4g.js} +14 -14
  90. package/dist/chunks/{form-j2ahjm38.js → command-9mfdrtvq.js} +9 -9
  91. package/dist/chunks/{form-am8khs7c.js → command-9rwhmys3.js} +37 -37
  92. package/dist/chunks/{form-tpr2dqt6.js → command-9tpen41z.js} +35 -35
  93. package/dist/chunks/{form-a20pjse5.js → command-a20pjse5.js} +3 -3
  94. package/dist/chunks/{form-361k30qc.js → command-a8hjw2pw.js} +30 -30
  95. package/dist/chunks/{form-jdthh91w.js → command-an728vdg.js} +21 -21
  96. package/dist/chunks/{form-kwqx9ezn.js → command-an9279zr.js} +18 -18
  97. package/dist/chunks/{form-zpq5tdxv.js → command-aphfpn53.js} +26 -26
  98. package/dist/chunks/{form-78y8a3rg.js → command-asa9eaah.js} +12 -12
  99. package/dist/chunks/{form-tv2qmm1m.js → command-avssq4vf.js} +19 -19
  100. package/dist/chunks/{form-h9eccewq.js → command-b32ay7gd.js} +8 -8
  101. package/dist/chunks/{form-b89refpb.js → command-baqyxak2.js} +4 -4
  102. package/dist/chunks/{form-360h9knm.js → command-bb572888.js} +13 -13
  103. package/dist/chunks/{form-j9dnpnxm.js → command-bb705aa1.js} +67 -67
  104. package/dist/chunks/{form-2ypbq784.js → command-bg0682zv.js} +5 -5
  105. package/dist/chunks/{form-61s75xk5.js → command-bgvrfqm6.js} +8 -8
  106. package/dist/chunks/{form-bjx1sjef.js → command-bjx1sjef.js} +2 -2
  107. package/dist/chunks/{form-7dx0mp5a.js → command-bmgh3q8m.js} +4 -4
  108. package/dist/chunks/{form-962zhnx1.js → command-brds95yc.js} +32 -32
  109. package/dist/chunks/{form-g6f94y0n.js → command-bsksjwvt.js} +17 -17
  110. package/dist/chunks/{form-d2edjj1v.js → command-bx3v92m9.js} +14 -14
  111. package/dist/chunks/{form-02sakfs1.js → command-bxcc14q9.js} +9 -9
  112. package/dist/chunks/{form-1ep4rre3.js → command-bzeyqsqd.js} +4 -4
  113. package/dist/chunks/{form-ztter523.js → command-c198g0h1.js} +3 -3
  114. package/dist/chunks/{form-c1fqxshp.js → command-c1fqxshp.js} +3 -3
  115. package/dist/chunks/{form-a8nkje97.js → command-ce60aw2j.js} +11 -11
  116. package/dist/chunks/{form-2sejkfem.js → command-cpneeje0.js} +9 -9
  117. package/dist/chunks/{form-5e1pzs32.js → command-d43tgzm4.js} +9 -9
  118. package/dist/chunks/{form-wz9398tt.js → command-d7ndwx9z.js} +46 -46
  119. package/dist/chunks/{form-55xzanda.js → command-da69ngs0.js} +21 -21
  120. package/dist/chunks/{form-svvda557.js → command-db5a3xpd.js} +10 -10
  121. package/dist/chunks/{form-yy1b5byj.js → command-djc2hdbm.js} +8 -8
  122. package/dist/chunks/{form-6yb97afg.js → command-dpsmw30v.js} +6 -6
  123. package/dist/chunks/{form-drwq78ky.js → command-drwq78ky.js} +1 -1
  124. package/dist/chunks/{form-4fw7esra.js → command-dsmb6j4j.js} +4 -4
  125. package/dist/chunks/{form-91js1pam.js → command-e234ef09.js} +18 -18
  126. package/dist/chunks/{form-vep9yay1.js → command-e7gxy7fd.js} +4 -4
  127. package/dist/chunks/{form-e80seqcp.js → command-e80seqcp.js} +1 -1
  128. package/dist/chunks/{form-4eh83hae.js → command-ed65y2xt.js} +23 -23
  129. package/dist/chunks/{form-eej6y6fw.js → command-eej6y6fw.js} +2 -2
  130. package/dist/chunks/{form-zerhytxa.js → command-ef4pq4rq.js} +13 -13
  131. package/dist/chunks/{form-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{form-v70j0478.js → command-exg57wy8.js} +15 -15
  133. package/dist/chunks/{form-cf8mxv8s.js → command-f4b1a4m9.js} +25 -25
  134. package/dist/chunks/{form-4n9d0tgx.js → command-f4j6r664.js} +41 -41
  135. package/dist/chunks/{form-me4kkzkr.js → command-fb1vsn26.js} +4 -4
  136. package/dist/chunks/{form-fcy631f0.js → command-fcy631f0.js} +1 -1
  137. package/dist/chunks/{form-h71w788e.js → command-fdms3n6w.js} +9 -9
  138. package/dist/chunks/{form-nzndyyrp.js → command-fgvq5ykp.js} +42 -42
  139. package/dist/chunks/{form-g454qmhn.js → command-fhnqh9t2.js} +36 -36
  140. package/dist/chunks/{form-fn9t717r.js → command-fn9t717r.js} +3 -3
  141. package/dist/chunks/{form-w1xdw7re.js → command-fvgp290g.js} +8 -8
  142. package/dist/chunks/{form-wgefzgwt.js → command-g2eyzg35.js} +18 -18
  143. package/dist/chunks/{form-n9z01exy.js → command-g3kxpvs4.js} +16 -16
  144. package/dist/chunks/{form-g8j30dqw.js → command-g54sgenx.js} +17 -17
  145. package/dist/chunks/{form-3n1993ym.js → command-g5wn2q2s.js} +11 -11
  146. package/dist/chunks/{form-tekdv28b.js → command-g73w5qej.js} +16 -16
  147. package/dist/chunks/{form-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{form-6xwkk55c.js → command-gd86bjwa.js} +9 -9
  149. package/dist/chunks/{form-dk6zbvkj.js → command-gj65pq0y.js} +2 -2
  150. package/dist/chunks/{form-ckh33p24.js → command-gt2z1exm.js} +24 -24
  151. package/dist/chunks/{form-1hqqab4s.js → command-gzwfafjp.js} +11 -11
  152. package/dist/chunks/{form-a3c7ahw6.js → command-h6310vsd.js} +4 -4
  153. package/dist/chunks/{form-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{form-kcvspnct.js → command-haej02k4.js} +10 -10
  155. package/dist/chunks/{form-px1ej7j2.js → command-hey9g07n.js} +23 -23
  156. package/dist/chunks/{form-bqsaj0qs.js → command-hfdh5dc7.js} +16 -16
  157. package/dist/chunks/{form-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
  158. package/dist/chunks/{form-h48rpa6y.js → command-hhhc48xm.js} +11 -11
  159. package/dist/chunks/{form-fxaymqdw.js → command-hq3c8me3.js} +4 -4
  160. package/dist/chunks/{form-trya7axm.js → command-hsjvmpjh.js} +8 -8
  161. package/dist/chunks/{form-zqjsn67b.js → command-hsn4nmqy.js} +7 -7
  162. package/dist/chunks/{form-2nragry7.js → command-hxz3bp73.js} +15 -15
  163. package/dist/chunks/{form-cr0bat6b.js → command-j03zn41z.js} +16 -16
  164. package/dist/chunks/{form-ymx7xvyq.js → command-j1ps5swj.js} +23 -23
  165. package/dist/chunks/{form-ardm1wrc.js → command-j36hwdkw.js} +47 -47
  166. package/dist/chunks/{form-55m81wnp.js → command-j6ktnsbj.js} +12 -12
  167. package/dist/chunks/{form-s90dqpw7.js → command-jb04bhbq.js} +13 -13
  168. package/dist/chunks/{form-rc9vttjd.js → command-jkndgnpn.js} +17 -17
  169. package/dist/chunks/{form-80zvrhj7.js → command-jq52wte9.js} +26 -26
  170. package/dist/chunks/{form-ebkydghs.js → command-k253d0v5.js} +6 -6
  171. package/dist/chunks/{form-zcrspsvn.js → command-k76fn4kw.js} +4 -4
  172. package/dist/chunks/{form-1n047p2a.js → command-kb1k1n05.js} +18 -18
  173. package/dist/chunks/{form-jhyjs82x.js → command-kg4apzy2.js} +26 -26
  174. package/dist/chunks/{form-kwb1v3vj.js → command-kwb1v3vj.js} +1 -1
  175. package/dist/chunks/{form-r4gn9rws.js → command-m7etpe19.js} +37 -37
  176. package/dist/chunks/{form-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{form-maspj1v3.js → command-maspj1v3.js} +1 -1
  178. package/dist/chunks/{form-27jfxer4.js → command-mc8h1syp.js} +3 -3
  179. package/dist/chunks/{form-tp68cw24.js → command-mh22khwx.js} +18 -18
  180. package/dist/chunks/{form-50aa1a66.js → command-mn47nv5k.js} +36 -36
  181. package/dist/chunks/{form-7zzdk6j1.js → command-mnrpn436.js} +320 -320
  182. package/dist/chunks/{form-rp9znzbk.js → command-mswa6128.js} +1 -1
  183. package/dist/chunks/{form-jm9pv4jw.js → command-mw6y76xd.js} +11 -11
  184. package/dist/chunks/{form-xkhfjrgz.js → command-my4zabxr.js} +3 -3
  185. package/dist/chunks/{form-6n9djq0h.js → command-n07afgf2.js} +11 -11
  186. package/dist/chunks/{form-bvdpv0z0.js → command-n135qwgn.js} +28 -28
  187. package/dist/chunks/{form-n2fddagm.js → command-n21ct7b2.js} +10 -10
  188. package/dist/chunks/{form-0qaxnjep.js → command-n7t3y450.js} +11 -11
  189. package/dist/chunks/{form-qcws3hz9.js → command-n88bvnwb.js} +10 -10
  190. package/dist/chunks/{form-wkx7yw3s.js → command-naw4xxfq.js} +24 -24
  191. package/dist/chunks/{form-jcj17ehp.js → command-nbpkwy47.js} +14 -14
  192. package/dist/chunks/{form-jevsscxn.js → command-njn2n5jy.js} +9 -9
  193. package/dist/chunks/{form-tq73j5ey.js → command-p26dmfsa.js} +5 -5
  194. package/dist/chunks/{form-cmwkp3r5.js → command-p37cw4rj.js} +8 -8
  195. package/dist/chunks/{form-xxxym934.js → command-pct1c8gm.js} +4 -4
  196. package/dist/chunks/{form-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{form-pknna89w.js → command-pknna89w.js} +1 -1
  198. package/dist/chunks/{form-pkj8hqbd.js → command-pp79t3cy.js} +9 -9
  199. package/dist/chunks/{form-xed4prex.js → command-pp9jn5kx.js} +20 -20
  200. package/dist/chunks/{form-rt5r8wym.js → command-pvzb71g5.js} +33 -33
  201. package/dist/chunks/{form-482mympf.js → command-qggje9jn.js} +32 -32
  202. package/dist/chunks/{form-fcrkznn8.js → command-qgn6gcr1.js} +5 -5
  203. package/dist/chunks/{form-y6qsrq0m.js → command-qjk7pmd1.js} +5 -5
  204. package/dist/chunks/{form-jfqtm2ew.js → command-qm0v3jhh.js} +7 -7
  205. package/dist/chunks/{form-qnc92qwc.js → command-qnc92qwc.js} +1 -1
  206. package/dist/chunks/{form-vawf6b6n.js → command-qr7b2z7s.js} +4 -4
  207. package/dist/chunks/{form-qsdy395h.js → command-qsdy395h.js} +1 -1
  208. package/dist/chunks/{form-54ma36ye.js → command-r94pvvab.js} +4 -4
  209. package/dist/chunks/{form-xx4eqekj.js → command-rdtz8wvy.js} +36 -36
  210. package/dist/chunks/{form-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{form-rert0e01.js → command-rert0e01.js} +2 -2
  212. package/dist/chunks/{form-16ptnzp4.js → command-rhyqmwwc.js} +29 -29
  213. package/dist/chunks/{form-rj3eygr5.js → command-rj3eygr5.js} +2 -2
  214. package/dist/chunks/{form-h0et906m.js → command-rmf492z6.js} +36 -36
  215. package/dist/chunks/{form-pk9fe0rg.js → command-rmh16r2t.js} +11 -11
  216. package/dist/chunks/{form-5g85rz3q.js → command-rtjf12cr.js} +24 -24
  217. package/dist/chunks/{form-b0frvc6a.js → command-rwpvq48k.js} +26 -26
  218. package/dist/chunks/{form-cqfbx4h9.js → command-rx89xx9n.js} +3 -3
  219. package/dist/chunks/{form-nb3eeafx.js → command-s10de7sg.js} +46 -46
  220. package/dist/chunks/{form-ykbgc1mn.js → command-s4nj2b0b.js} +8 -8
  221. package/dist/chunks/{form-0gdmqesm.js → command-s8d7rejh.js} +4 -4
  222. package/dist/chunks/{form-sa8ekw3f.js → command-sa8ekw3f.js} +2 -2
  223. package/dist/chunks/{form-aza9mb39.js → command-sjq0w1dy.js} +14 -14
  224. package/dist/chunks/{form-syv4x271.js → command-syv4x271.js} +1 -1
  225. package/dist/chunks/{form-p4g7pjpc.js → command-sz18dr9d.js} +5 -5
  226. package/dist/chunks/{form-nvbqagkz.js → command-t1nb18tz.js} +30 -30
  227. package/dist/chunks/{form-jbr6yd38.js → command-t62r8r49.js} +14 -14
  228. package/dist/chunks/{form-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{form-tcezcvh9.js → command-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{form-tdstcens.js → command-tdstcens.js} +1 -1
  231. package/dist/chunks/{form-rsrjg9aq.js → command-tjdqweme.js} +175 -175
  232. package/dist/chunks/{form-9sjyw1m6.js → command-tkq9v61v.js} +7 -7
  233. package/dist/chunks/{form-tm0kqsz3.js → command-tm0kqsz3.js} +1 -1
  234. package/dist/chunks/{form-wptgs5cr.js → command-tw95hwns.js} +50 -50
  235. package/dist/chunks/{form-tyytaxap.js → command-tyytaxap.js} +1 -1
  236. package/dist/chunks/{form-n68wnkf7.js → command-v0t8kgzm.js} +20 -20
  237. package/dist/chunks/{form-v13b12ef.js → command-v13b12ef.js} +2 -2
  238. package/dist/chunks/{form-0javqkgf.js → command-v210v162.js} +9 -9
  239. package/dist/chunks/{form-hxpm8s3f.js → command-v2ns1dvt.js} +6 -6
  240. package/dist/chunks/{form-man6r55w.js → command-v2xqde73.js} +11 -11
  241. package/dist/chunks/{form-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
  242. package/dist/chunks/{form-pbtbray8.js → command-v9tzeyfp.js} +20 -20
  243. package/dist/chunks/{form-kzbxs04q.js → command-vb39zxh1.js} +20 -20
  244. package/dist/chunks/{form-veqvce7d.js → command-veqvce7d.js} +1 -1
  245. package/dist/chunks/{form-0bkg5nam.js → command-vgye044z.js} +34 -34
  246. package/dist/chunks/{form-frnhj82z.js → command-vjtq7ejx.js} +11 -11
  247. package/dist/chunks/{form-g2brvksk.js → command-vjtswx8y.js} +27 -27
  248. package/dist/chunks/{form-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{form-dhb2hta4.js → command-w1ba7bfx.js} +5 -5
  250. package/dist/chunks/{form-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{form-bbk4sw4d.js → command-w7sew22p.js} +17 -17
  252. package/dist/chunks/{form-f3rpkqey.js → command-wa1x5gqd.js} +29 -29
  253. package/dist/chunks/{form-wd87259q.js → command-wd87259q.js} +1 -1
  254. package/dist/chunks/{form-ez4eysx7.js → command-wktdpkdp.js} +25 -25
  255. package/dist/chunks/{form-pww2q2ts.js → command-wn1z5f4t.js} +1 -1
  256. package/dist/chunks/{form-s7vrpya1.js → command-wzmp8b6n.js} +5 -5
  257. package/dist/chunks/{form-b2zs7akg.js → command-x2h8bnd2.js} +36 -36
  258. package/dist/chunks/{form-4krksnp0.js → command-x3568k2f.js} +24 -24
  259. package/dist/chunks/{form-1v8j23j1.js → command-x4t6fkjq.js} +43 -43
  260. package/dist/chunks/{form-addxnjmp.js → command-x661k3y3.js} +4 -4
  261. package/dist/chunks/{form-zkdxs0f7.js → command-xfyaaxy5.js} +5 -5
  262. package/dist/chunks/{form-bvse6ds2.js → command-xq96cc1n.js} +19 -19
  263. package/dist/chunks/{form-egwezsn2.js → command-xw5dbgmb.js} +35 -35
  264. package/dist/chunks/{form-6yz0wx8n.js → command-y0jhh126.js} +5 -5
  265. package/dist/chunks/{form-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{form-y71avatq.js → command-y71avatq.js} +1 -1
  267. package/dist/chunks/{form-r2zk8jj2.js → command-ye5e9ygh.js} +11 -11
  268. package/dist/chunks/{form-4mwpykj0.js → command-yf4jcbx9.js} +6 -6
  269. package/dist/chunks/{form-qne3fa44.js → command-ygdna4kr.js} +5 -5
  270. package/dist/chunks/{form-4hfeq7yc.js → command-yj7k2rcj.js} +3 -3
  271. package/dist/chunks/{form-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  272. package/dist/chunks/{form-z18fegx4.js → command-z18fegx4.js} +1 -1
  273. package/dist/chunks/{form-abnya1q3.js → command-z1q23cxf.js} +14 -14
  274. package/dist/chunks/{form-6wg7wrda.js → command-z2qvtray.js} +4 -4
  275. package/dist/chunks/{form-aat25gmm.js → command-z71zmefb.js} +21 -21
  276. package/dist/chunks/{form-0r36wfjw.js → command-z8bsayw1.js} +21 -21
  277. package/dist/chunks/{form-kgash78d.js → command-z8gf1a03.js} +4 -4
  278. package/dist/chunks/{form-fbvxegff.js → command-zj1ec9ty.js} +3 -3
  279. package/dist/chunks/{form-7f8j414w.js → command-zpavnpw0.js} +21 -21
  280. package/dist/chunks/{form-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{form-kbymfr7p.js → command-zr2ps911.js} +11 -11
  282. package/dist/chunks/{form-54q14agg.js → command-zrqhmf6p.js} +15 -15
  283. package/dist/chunks/{form-t4t28t75.js → command-zrw8628a.js} +18 -18
  284. package/dist/chunks/{form-kmgdj4b7.js → command-zs18rbfx.js} +5 -5
  285. package/dist/chunks/{form-0jqywv5j.js → command-zvsvprng.js} +11 -11
  286. package/dist/chunks/{form-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{form-cd4peczh.js → command-zydxjw4b.js} +30 -30
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +206 -206
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +114 -114
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +134 -134
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +219 -219
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +108 -108
  429. package/dist/form.js +80 -80
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +108 -108
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.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 +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +83 -83
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +136 -136
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +131 -131
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +96 -96
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +113 -113
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +92 -92
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +123 -123
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +132 -132
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +223 -223
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +90 -90
  563. package/dist/provider.js +95 -95
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +103 -103
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +3 -3
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +136 -136
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +215 -215
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +157 -157
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +95 -95
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -225
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +3 -3
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +162 -162
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +107 -107
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +206 -206
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +159 -159
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +211 -211
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +212 -212
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +116 -116
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +130 -130
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +205 -205
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +213 -213
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +112 -112
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +88 -88
  680. package/dist/websearch.js +84 -84
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +3 -3
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +82 -82
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +98 -98
  691. package/package.json +8 -8
  692. package/dist/chunks/form-9sh4wc5j.js +0 -18
  693. package/dist/chunks/form-ymafgmrd.js +0 -257
  694. /package/dist/chunks/{form-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{form-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{form-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{form-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{form-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{form-24dcb14g.js → command-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{form-2710q6r3.js → command-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{form-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{form-2bv980vf.js → command-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{form-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{form-359p4xyc.js → command-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{form-3asan66x.js → command-3asan66x.js} +0 -0
  706. /package/dist/chunks/{form-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{form-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{form-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{form-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{form-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{form-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{form-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{form-53557ph1.js → command-53557ph1.js} +0 -0
  714. /package/dist/chunks/{form-550bvhaj.js → command-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{form-6prwharc.js → command-6prwharc.js} +0 -0
  716. /package/dist/chunks/{form-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{form-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{form-7m9af43g.js → command-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{form-822emrt2.js → command-822emrt2.js} +0 -0
  720. /package/dist/chunks/{form-84wd9syh.js → command-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{form-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{form-8n3pysct.js → command-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{form-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{form-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{form-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{form-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{form-af5trqkr.js → command-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{form-afrmfg78.js → command-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{form-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{form-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{form-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{form-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{form-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{form-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{form-d9fn303g.js → command-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{form-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{form-dajrwvna.js → command-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{form-dap0rakb.js → command-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{form-df08tz66.js → command-df08tz66.js} +0 -0
  740. /package/dist/chunks/{form-dy18nga0.js → command-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{form-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{form-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{form-ec1grn59.js → command-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{form-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{form-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{form-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{form-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{form-faypxj3z.js → command-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{form-fd410y7t.js → command-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{form-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{form-g86h250q.js → command-g86h250q.js} +0 -0
  752. /package/dist/chunks/{form-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{form-gftt206x.js → command-gftt206x.js} +0 -0
  754. /package/dist/chunks/{form-hcxmzztb.js → command-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{form-hk9envan.js → command-hk9envan.js} +0 -0
  756. /package/dist/chunks/{form-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{form-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{form-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{form-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{form-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{form-jze0r7bz.js → command-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{form-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{form-m18g726c.js → command-m18g726c.js} +0 -0
  764. /package/dist/chunks/{form-mp448xyj.js → command-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{form-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{form-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{form-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{form-njntx4h6.js → command-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{form-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{form-pyv0edze.js → command-pyv0edze.js} +0 -0
  771. /package/dist/chunks/{form-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{form-q74kybfr.js → command-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{form-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{form-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{form-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{form-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{form-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{form-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{form-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{form-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{form-ve7vex1e.js → command-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{form-w803qqfp.js → command-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{form-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{form-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{form-wjj7prxr.js → command-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{form-wtztk69x.js → command-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{form-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{form-x61499pn.js → command-x61499pn.js} +0 -0
  789. /package/dist/chunks/{form-y44na4kk.js → command-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{form-y8f7s663.js → command-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{form-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{form-ym463w8f.js → command-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{form-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{form-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./form-88xbtdfr.js";
3
+ } from "./command-88xbtdfr.js";
4
4
  import {
5
- load5
6
- } from "./form-e3qxr5gk.js";
5
+ load4
6
+ } from "./command-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./form-9rqn6x4v.js";
9
+ } from "./command-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event14,
14
+ Event: () => Event4,
15
15
  Native: () => Native3,
16
- Options: () => Options9,
17
- Service: () => Service74,
16
+ Options: () => Options6,
17
+ Service: () => Service36,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured11,
20
+ configured: () => configured6,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer27,
22
+ layer: () => layer18,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node78,
25
+ node: () => node39,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event14 = { Updated: FileSystem.Event.Changed };
36
+ var Event4 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load5());
39
+ return createWrapper(load4());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options9 = Schema.Struct({
56
+ var Options6 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service74 extends Context.Service()("@opencode/Watcher") {
60
+ class Service36 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer27 = (options) => Layer.effect(Service74, Effect.gen(function* () {
65
+ var layer18 = (options) => Layer.effect(Service36, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service74.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service36.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer27 = (options) => Layer.effect(Service74, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service74.of({ subscribe });
108
+ return Service36.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer27().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service74).subscribe,
134
+ subscribe: Context.get(context, Service36).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service74, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service36, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured11(options) {
168
- return makeGlobalNode({ service: Service74, layer: layer27(options), deps: [nativeNode2] });
167
+ function configured6(options) {
168
+ return makeGlobalNode({ service: Service36, layer: layer18(options), deps: [nativeNode2] });
169
169
  }
170
- var node78 = configured11();
170
+ var node39 = configured6();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event14, hasNativeBinding2, Native3, Options9, Service74, Test3, layer27, testLayer3, nativeLayer2, nativeNode2, configured11, node78, exports_watcher };
190
+ export { Event4, hasNativeBinding2, Native3, Options6, Service36, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured6, node39, exports_watcher };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make18,
4
+ make21,
5
5
  diffByKey2
6
- } from "./form-0gdmqesm.js";
6
+ } from "./command-s8d7rejh.js";
7
7
  import {
8
- ID4,
8
+ ID6,
9
9
  Name2,
10
- available2,
11
- Service37,
12
- node40
13
- } from "./form-zpq5tdxv.js";
10
+ available3,
11
+ Service67,
12
+ node71
13
+ } from "./command-aphfpn53.js";
14
14
  import {
15
15
  __export
16
- } from "./form-9rqn6x4v.js";
16
+ } from "./command-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions2 = {};
20
- __export(exports_instructions2, {
21
- Service: () => Service27,
22
- SkillInstructions: () => exports_instructions2,
23
- node: () => node31
19
+ var exports_instructions5 = {};
20
+ __export(exports_instructions5, {
21
+ Service: () => Service32,
22
+ SkillInstructions: () => exports_instructions5,
23
+ node: () => node35
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID4,
28
+ id: ID6,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,14 +60,14 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service27 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service32 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service27, Effect.gen(function* () {
66
- const skills = yield* Service37;
67
- return Service27.of({
65
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
66
+ const skills = yield* Service67;
67
+ return Service32.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
- const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
- return make18({
69
+ const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
+ return make21({
71
71
  key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node31 = makeLocationNode({ service: Service27, layer, deps: [node40] });
83
+ var node35 = makeLocationNode({ service: Service32, layer, deps: [node71] });
84
84
 
85
- export { Service27, node31, exports_instructions2 };
85
+ export { Service32, node35, exports_instructions5 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./form-z5v4ffb3.js";
3
+ } from "./command-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service10,
11
+ Service: () => Service14,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node12
13
+ node: () => node16
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service14 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service10, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service10.of({
66
+ return Service14.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node16 = makeGlobalNode({ service: Service14, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service10, node12, exports_discovery };
155
+ export { Service14, node16, exports_discovery };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  match2
3
- } from "./form-y1fvbwt7.js";
3
+ } from "./command-y1fvbwt7.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/managed-policy.ts
9
9
  var exports_managed_policy = {};
10
10
  __export(exports_managed_policy, {
11
11
  ManagedPolicy: () => exports_managed_policy,
12
- Service: () => Service18,
12
+ Service: () => Service47,
13
13
  decision: () => decision2,
14
- layer: () => layer11,
15
- node: () => node20,
14
+ layer: () => layer21,
15
+ node: () => node50,
16
16
  statements: () => statements2
17
17
  });
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
 
22
- class Service18 extends Context.Service()("@opencode/ManagedPolicy") {
22
+ class Service47 extends Context.Service()("@opencode/ManagedPolicy") {
23
23
  }
24
- var layer11 = Layer.effect(Service18, Effect.gen(function* () {
24
+ var layer21 = Layer.effect(Service47, Effect.gen(function* () {
25
25
  const changes = yield* PubSub.unbounded();
26
26
  const state = { current: { statements: [] } };
27
- return Service18.of({
27
+ return Service47.of({
28
28
  changes: () => Stream.fromPubSub(changes),
29
29
  current: () => state.current,
30
30
  set: (next) => Effect.gen(function* () {
@@ -36,7 +36,7 @@ var layer11 = Layer.effect(Service18, Effect.gen(function* () {
36
36
  })
37
37
  });
38
38
  }));
39
- var node20 = makeGlobalNode({ service: Service18, layer: layer11, deps: [] });
39
+ var node50 = makeGlobalNode({ service: Service47, layer: layer21, deps: [] });
40
40
  function statements2(entries, organization) {
41
41
  return [
42
42
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
50
50
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
51
51
  }
52
52
 
53
- export { Service18, layer11, node20, statements2, decision2, exports_managed_policy };
53
+ export { Service47, layer21, node50, statements2, decision2, exports_managed_policy };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./form-27jfxer4.js";
4
+ } from "./command-mc8h1syp.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./form-7dx0mp5a.js";
8
+ } from "./command-bmgh3q8m.js";
9
9
  import {
10
- Service43,
11
- node45
12
- } from "./form-4mwpykj0.js";
10
+ Service54,
11
+ node56
12
+ } from "./command-yf4jcbx9.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./form-z5v4ffb3.js";
16
+ } from "./command-z5v4ffb3.js";
17
17
  import {
18
- Service82,
19
- node86
20
- } from "./form-whms72wd.js";
18
+ Service83,
19
+ node87
20
+ } from "./command-0z7w8q86.js";
21
21
  import {
22
22
  Ref4
23
- } from "./form-2jybnyep.js";
23
+ } from "./command-5xnwhm0z.js";
24
24
  import {
25
- Service72,
26
- node75
27
- } from "./form-q0n5p59x.js";
25
+ Service60,
26
+ node63
27
+ } from "./command-3gaxmgjd.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./form-gftt206x.js";
30
+ } from "./command-gftt206x.js";
31
31
  import {
32
32
  NotFoundError9
33
- } from "./form-4hfeq7yc.js";
33
+ } from "./command-yj7k2rcj.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./form-ec1grn59.js";
36
+ } from "./command-ec1grn59.js";
37
37
  import {
38
- Service41
39
- } from "./form-zcrspsvn.js";
38
+ Service51
39
+ } from "./command-k76fn4kw.js";
40
40
  import {
41
- Service58,
42
- node60
43
- } from "./form-tg63fvkh.js";
41
+ Service70,
42
+ node74
43
+ } from "./command-56y3az4a.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service42,
48
- node44,
47
+ Service53,
48
+ node55,
49
49
  moveIDs2
50
- } from "./form-7f8j414w.js";
50
+ } from "./command-zpavnpw0.js";
51
51
  import {
52
- Service40,
53
- node43
54
- } from "./form-50aa1a66.js";
52
+ Service50,
53
+ node53
54
+ } from "./command-mn47nv5k.js";
55
55
  import {
56
- node29
57
- } from "./form-g8j30dqw.js";
56
+ node28
57
+ } from "./command-g54sgenx.js";
58
58
  import {
59
59
  __export
60
- } from "./form-9rqn6x4v.js";
60
+ } from "./command-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: () => Service25,
68
+ Service: () => Service24,
69
69
  SessionMove: () => exports_move,
70
- node: () => node28
70
+ node: () => node27
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 Service25 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service24 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service25, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service82;
92
- const locations = yield* Service72;
93
- const store = yield* Service58;
94
- const execution = yield* Service40;
95
- const instances = yield* Service43;
96
- const admission = yield* Service42;
91
+ const projects = yield* Service83;
92
+ const locations = yield* Service60;
93
+ const store = yield* Service70;
94
+ const execution = yield* Service50;
95
+ const instances = yield* Service54;
96
+ const admission = yield* Service53;
97
97
  const database = yield* Service86;
98
98
  const bus = yield* Service85;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service41.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service51.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service25.of({
136
+ return Service24.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(Service25, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node28 = makeGlobalNode({
167
- service: Service25,
166
+ var node27 = makeGlobalNode({
167
+ service: Service24,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node86,
173
- node75,
174
- node60,
175
- node43,
176
- node45,
177
- node44,
172
+ node87,
173
+ node63,
174
+ node74,
175
+ node53,
176
+ node56,
177
+ node55,
178
178
  node90,
179
179
  node89,
180
- node29
180
+ node28
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node28, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service24, node27, exports_move };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./form-gd4qta3r.js";
3
+ } from "./command-gd4qta3r.js";
4
4
  import {
5
5
  create3
6
- } from "./form-rdw6cm16.js";
6
+ } from "./command-rdw6cm16.js";
7
7
  import {
8
8
  __export
9
- } from "./form-9rqn6x4v.js";
9
+ } from "./command-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service48,
18
+ Service: () => Service43,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node50
21
+ node: () => node46
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service48 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service43 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service48, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service48.of({
119
+ return Service43.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node50 = makeLocationNode({
137
- service: Service48,
136
+ var node46 = makeLocationNode({
137
+ service: Service43,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service48, node50, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service43, node46, exports_tool_output2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID13
3
- } from "./form-kwqx9ezn.js";
2
+ ID12
3
+ } from "./command-an9279zr.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./form-bgg5jk8p.js";
6
+ } from "./command-53216tw9.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
10
10
  import { isArrayNonEmpty } from "effect/Array";
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Form } from "@opencode/schema/form";
13
- var providerID = ID13.make("cloudflare-ai-gateway");
13
+ var providerID = ID12.make("cloudflare-ai-gateway");
14
14
  var accountIdField = Form.StringField.make({
15
15
  type: "string",
16
16
  key: "accountId",
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./form-z5v4ffb3.js";
4
+ } from "./command-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./form-xkhfjrgz.js";
7
+ } from "./command-my4zabxr.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service73
3
- } from "./form-nb3eeafx.js";
2
+ Service35
3
+ } from "./command-s10de7sg.js";
4
4
  import {
5
- Service9
6
- } from "./form-am8khs7c.js";
5
+ Service10
6
+ } from "./command-9rwhmys3.js";
7
7
  import {
8
8
  observe2
9
- } from "./form-qsdy395h.js";
9
+ } from "./command-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./form-9rqn6x4v.js";
12
+ } from "./command-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin36
18
+ Plugin: () => Plugin37
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin36 = define({
22
+ var Plugin37 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service73;
26
- const compaction = yield* Service9;
25
+ const config = yield* Service35;
26
+ const compaction = yield* Service10;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin36 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin36, exports_compaction };
42
+ export { Plugin37, exports_compaction };