@opencode/core 0.0.0-dev-19973 → 0.0.0-dev-19974

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 +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{file-xrtgkc4g.js → command-0601qg4c.js} +11 -11
  8. package/dist/chunks/{file-z6wymv09.js → command-0dtckawb.js} +13 -13
  9. package/dist/chunks/{file-jhmep02j.js → command-0fxyxxca.js} +11 -11
  10. package/dist/chunks/{file-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{file-0q0f95c6.js → command-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{file-31g0t493.js → command-0repjh3r.js} +147 -147
  13. package/dist/chunks/{file-0cv69rnt.js → command-12ppvwww.js} +11 -11
  14. package/dist/chunks/{file-xx275nmg.js → command-15ecbz73.js} +15 -15
  15. package/dist/chunks/{file-w29rsy53.js → command-18fjrjyv.js} +17 -17
  16. package/dist/chunks/{file-k0hsyzpz.js → command-19wqcg6g.js} +29 -29
  17. package/dist/chunks/{file-g50hb2qv.js → command-1dard8rw.js} +11 -11
  18. package/dist/chunks/{file-1dazxqgg.js → command-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{file-apamx443.js → command-1fmn7nca.js} +29 -29
  20. package/dist/chunks/{file-kyhsppsx.js → command-1jqpcwdd.js} +13 -13
  21. package/dist/chunks/{file-9b3xwcj2.js → command-1vc7h4bf.js} +17 -17
  22. package/dist/chunks/{file-tq3e67kz.js → command-1wnwcw7r.js} +11 -11
  23. package/dist/chunks/{file-1ygqh575.js → command-1ygqh575.js} +2 -2
  24. package/dist/chunks/{file-sf73ykr8.js → command-21bs846c.js} +17 -17
  25. package/dist/chunks/{file-21r38tys.js → command-21r38tys.js} +1 -1
  26. package/dist/chunks/{file-dfrxsycg.js → command-29ebz4cy.js} +21 -21
  27. package/dist/chunks/{file-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{file-2evyaa68.js → command-2evyaa68.js} +1 -1
  29. package/dist/chunks/{file-95tjqs8s.js → command-2m0t44q9.js} +17 -17
  30. package/dist/chunks/{file-rp8jz6x1.js → command-35agz59w.js} +4 -4
  31. package/dist/chunks/{file-4n607a2z.js → command-3801kdgp.js} +5 -5
  32. package/dist/chunks/{file-f2tc9nf8.js → command-395exzp5.js} +35 -35
  33. package/dist/chunks/{file-a1mse3js.js → command-3f7xan5b.js} +4 -4
  34. package/dist/chunks/{file-3fc6dm20.js → command-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{file-b97kwyb9.js → command-3gafegkz.js} +6 -6
  36. package/dist/chunks/{file-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{file-vbcz9h2j.js → command-3ktbe3hf.js} +9 -9
  38. package/dist/chunks/{file-hwe7x4em.js → command-3ppptnan.js} +6 -6
  39. package/dist/chunks/{file-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{file-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{file-r81z0f2d.js → command-3x4n1p4b.js} +11 -11
  42. package/dist/chunks/{file-mmr7bq34.js → command-44ke2mar.js} +8 -8
  43. package/dist/chunks/{file-8r9at6cd.js → command-44ksrw62.js} +13 -13
  44. package/dist/chunks/{file-2n16nqjf.js → command-4dkr59gj.js} +3 -3
  45. package/dist/chunks/{file-7xyrrtj6.js → command-4drgpw32.js} +5 -5
  46. package/dist/chunks/{file-5v4jjjtv.js → command-4gv05ame.js} +11 -11
  47. package/dist/chunks/{file-ryt7pzqc.js → command-4jc5c4h4.js} +1 -1
  48. package/dist/chunks/{file-40n69t94.js → command-4qm7m3m6.js} +26 -26
  49. package/dist/chunks/{file-6ktwvsfe.js → command-57aypccr.js} +3 -3
  50. package/dist/chunks/{file-1vh0nr0y.js → command-5arbc4sb.js} +50 -50
  51. package/dist/chunks/{file-a1bz86dw.js → command-5c4hm403.js} +3 -3
  52. package/dist/chunks/{file-nes099kr.js → command-5cry9dbs.js} +43 -43
  53. package/dist/chunks/{file-5daktx2q.js → command-5daktx2q.js} +1 -1
  54. package/dist/chunks/{file-1b58hg41.js → command-5esk5nf6.js} +17 -17
  55. package/dist/chunks/{file-p84jq1z2.js → command-5fygez4p.js} +5 -5
  56. package/dist/chunks/{file-rhxny31y.js → command-5mjt82ds.js} +24 -24
  57. package/dist/chunks/{file-e3qxr5gk.js → command-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{file-dps3wts7.js → command-5qmpb97a.js} +6 -6
  59. package/dist/chunks/{file-h1jwkh9k.js → command-5r8re7cq.js} +5 -5
  60. package/dist/chunks/{file-5t3nmthw.js → command-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{file-ch7awch3.js → command-5v6q8ws3.js} +28 -28
  62. package/dist/chunks/{file-vkt5fbj2.js → command-5we7r0eg.js} +5 -5
  63. package/dist/chunks/{file-669tq793.js → command-669tq793.js} +1 -1
  64. package/dist/chunks/{file-d72r6y07.js → command-69zdqv0e.js} +9 -9
  65. package/dist/chunks/{file-xw79ec0z.js → command-6axvzsm7.js} +21 -21
  66. package/dist/chunks/{file-p6zm9yar.js → command-6bnbyxfg.js} +9 -9
  67. package/dist/chunks/{file-tzxd4jrh.js → command-6dbd9kfr.js} +4 -4
  68. package/dist/chunks/{file-6h73sxmp.js → command-6h73sxmp.js} +1 -1
  69. package/dist/chunks/{file-61ngkm40.js → command-6jt6hkba.js} +25 -25
  70. package/dist/chunks/{file-6msgmcgs.js → command-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{file-mfg2tgr6.js → command-6pj7x9ww.js} +12 -12
  72. package/dist/chunks/{file-xejrq3dz.js → command-6yd319e0.js} +46 -46
  73. package/dist/chunks/{file-6144aq34.js → command-76vyv3fa.js} +12 -12
  74. package/dist/chunks/{file-ebz4tpb1.js → command-77hk7r89.js} +6 -6
  75. package/dist/chunks/{file-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{file-ty8hjbwp.js → command-7nvpgp18.js} +26 -26
  77. package/dist/chunks/{file-fw4wab6g.js → command-7rx5b338.js} +9 -9
  78. package/dist/chunks/{file-gvjzk8t4.js → command-7s37cbtz.js} +10 -10
  79. package/dist/chunks/{file-wf2yx5re.js → command-7y0fda1f.js} +10 -10
  80. package/dist/chunks/{file-x4zvqetd.js → command-80agk8qd.js} +35 -35
  81. package/dist/chunks/{file-kv5v901h.js → command-85gr95dm.js} +59 -59
  82. package/dist/chunks/{file-tjedn1bk.js → command-86qzxe6p.js} +4 -4
  83. package/dist/chunks/{file-tcezcvh9.js → command-89znhe33.js} +4 -4
  84. package/dist/chunks/{file-tsf2j8dc.js → command-8a6kxmc8.js} +43 -43
  85. package/dist/chunks/{file-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{file-t13qry64.js → command-8gxjxfk7.js} +25 -25
  87. package/dist/chunks/{file-9k9rc8dk.js → command-8qby4p94.js} +47 -47
  88. package/dist/chunks/{file-4s6t339e.js → command-92rkebfh.js} +19 -19
  89. package/dist/chunks/{file-ahd542yp.js → command-97w5rk9e.js} +8 -8
  90. package/dist/chunks/{file-fh0r6x4j.js → command-98r14yx2.js} +13 -13
  91. package/dist/chunks/{file-y98520v9.js → command-9bh1kbwm.js} +37 -37
  92. package/dist/chunks/{file-5nqjkrmw.js → command-9jyavp4h.js} +8 -8
  93. package/dist/chunks/{file-93gey591.js → command-9ksxqh2k.js} +2 -2
  94. package/dist/chunks/{file-q5n1ccmn.js → command-9tb5hr0v.js} +20 -20
  95. package/dist/chunks/{file-65ttj00x.js → command-9xv0kghy.js} +4 -4
  96. package/dist/chunks/{file-agqdc7j7.js → command-a16afrr2.js} +3 -3
  97. package/dist/chunks/{file-aaet6srn.js → command-aaet6srn.js} +2 -2
  98. package/dist/chunks/{file-av1qv8sp.js → command-aht6b1gw.js} +11 -11
  99. package/dist/chunks/{file-zbfspryx.js → command-azsbfkqj.js} +20 -20
  100. package/dist/chunks/{file-t5h7y91k.js → command-b3h4hk8s.js} +170 -170
  101. package/dist/chunks/{file-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{file-90h6t2z6.js → command-b91y5b0n.js} +20 -20
  103. package/dist/chunks/{file-phh6ekdg.js → command-bbn46np6.js} +37 -37
  104. package/dist/chunks/{file-vh1ek12h.js → command-bc7r1051.js} +8 -8
  105. package/dist/chunks/{file-yzsh5ekf.js → command-beq4zdab.js} +11 -11
  106. package/dist/chunks/{file-nc8ss6ew.js → command-bkt6pkzv.js} +25 -25
  107. package/dist/chunks/{file-kzbpe9h1.js → command-bp02r99k.js} +4 -4
  108. package/dist/chunks/{file-w5tatzgg.js → command-brmtm7cf.js} +11 -11
  109. package/dist/chunks/{file-vp6gs366.js → command-bvrm6sd3.js} +16 -16
  110. package/dist/chunks/{file-w310ddjz.js → command-c27g0cwe.js} +16 -16
  111. package/dist/chunks/{file-6cnxk7mx.js → command-c68rk66j.js} +8 -8
  112. package/dist/chunks/{file-m4b5czg0.js → command-ca4wybjn.js} +6 -6
  113. package/dist/chunks/{file-3w1rnthq.js → command-cb9ss0ge.js} +9 -9
  114. package/dist/chunks/{file-k1qrnqst.js → command-cd0z4qvb.js} +8 -8
  115. package/dist/chunks/{file-1w6hh1p9.js → command-ceer43ev.js} +6 -6
  116. package/dist/chunks/{file-xqrmy91b.js → command-cnkj3bkk.js} +6 -6
  117. package/dist/chunks/{file-rpnnp4qr.js → command-csmtma2g.js} +16 -16
  118. package/dist/chunks/{file-qmqgtz8f.js → command-cwa6csj7.js} +9 -9
  119. package/dist/chunks/{file-cxqahwfd.js → command-d4kvcxbh.js} +17 -17
  120. package/dist/chunks/{file-x5117sxm.js → command-d8vs3fz8.js} +25 -25
  121. package/dist/chunks/{file-57ez7d0k.js → command-d9s573fh.js} +2 -2
  122. package/dist/chunks/{file-8p4f9s12.js → command-dj2t23y0.js} +2 -2
  123. package/dist/chunks/{file-d50t6vt6.js → command-dj7ydz2q.js} +1 -1
  124. package/dist/chunks/{file-h8bbzknd.js → command-dm0bbnwt.js} +12 -12
  125. package/dist/chunks/{file-v5bym671.js → command-dnm7xxeh.js} +5 -5
  126. package/dist/chunks/{file-dbv4bwgz.js → command-dtyshr95.js} +20 -20
  127. package/dist/chunks/{file-gs3psw06.js → command-e0378qy6.js} +9 -9
  128. package/dist/chunks/{file-293f31c0.js → command-e23rwaaf.js} +30 -30
  129. package/dist/chunks/{file-ekrar7jz.js → command-e64hjbz6.js} +10 -10
  130. package/dist/chunks/{file-tesavvmz.js → command-eac26f80.js} +29 -29
  131. package/dist/chunks/{file-t550f9t1.js → command-eaj1djv9.js} +8 -8
  132. package/dist/chunks/{file-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{file-s96a3jht.js → command-ejhgf7w3.js} +13 -13
  134. package/dist/chunks/{file-mvka64fw.js → command-en452bs7.js} +24 -24
  135. package/dist/chunks/{file-yg9zx5fs.js → command-eqbz22z4.js} +35 -35
  136. package/dist/chunks/{file-erw5rpbs.js → command-erw5rpbs.js} +2 -2
  137. package/dist/chunks/{file-2k8khapm.js → command-esafk7q3.js} +5 -5
  138. package/dist/chunks/{file-etq0c3wd.js → command-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{file-tn0aqsam.js → command-ez47arx5.js} +5 -5
  140. package/dist/chunks/{file-q4td18zp.js → command-f2wfspan.js} +6 -6
  141. package/dist/chunks/{file-43d7fjw1.js → command-f3t28nxc.js} +7 -7
  142. package/dist/chunks/{file-kk9q0gyc.js → command-f41ena25.js} +9 -9
  143. package/dist/chunks/{file-6v1qfv2f.js → command-fb3kqv53.js} +42 -42
  144. package/dist/chunks/{file-4nj4bn9q.js → command-fdms3n6w.js} +9 -9
  145. package/dist/chunks/{file-25m4ah6t.js → command-fdv30zvt.js} +4 -4
  146. package/dist/chunks/{file-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{file-gj2nqsbr.js → command-fxjzx9zk.js} +2 -2
  148. package/dist/chunks/{file-qa9wg7wp.js → command-fyxvyc63.js} +16 -16
  149. package/dist/chunks/{file-tt15avaa.js → command-g2aavtfc.js} +3 -3
  150. package/dist/chunks/{file-4ze6gm64.js → command-gb73r5q4.js} +30 -30
  151. package/dist/chunks/{file-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{file-45vp9cex.js → command-gezbrf6h.js} +6 -6
  153. package/dist/chunks/{file-jvf3yq6v.js → command-gst7axd9.js} +4 -4
  154. package/dist/chunks/{file-y4jyg05x.js → command-gzk0z5t1.js} +43 -43
  155. package/dist/chunks/{file-sfpvnmyj.js → command-h47e2fat.js} +22 -22
  156. package/dist/chunks/{file-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{file-xjnjfb63.js → command-ha7xgv60.js} +32 -32
  158. package/dist/chunks/{file-f828m53h.js → command-hdnk95c8.js} +2 -2
  159. package/dist/chunks/{file-ax6pb1z3.js → command-hm4csw6w.js} +15 -15
  160. package/dist/chunks/{file-vhv9mknt.js → command-hng4xen5.js} +29 -29
  161. package/dist/chunks/{file-sq0f3j6x.js → command-hqn1z470.js} +18 -18
  162. package/dist/chunks/{file-43d6rre2.js → command-hvf8bzx3.js} +15 -15
  163. package/dist/chunks/{file-d6sz2yz3.js → command-j1h0x3qm.js} +4 -4
  164. package/dist/chunks/{file-j56e64zr.js → command-j56e64zr.js} +1 -1
  165. package/dist/chunks/{file-szgvf7b7.js → command-j84y35zg.js} +1 -1
  166. package/dist/chunks/{file-5nb2d01r.js → command-jca4demv.js} +2 -2
  167. package/dist/chunks/{file-zzqh9mjf.js → command-jm23qt55.js} +18 -18
  168. package/dist/chunks/{file-37es8sy9.js → command-jndgkwdf.js} +9 -9
  169. package/dist/chunks/{file-8emmqy2y.js → command-js89hyr4.js} +76 -76
  170. package/dist/chunks/{file-18gsyhex.js → command-jshnnbm0.js} +3 -3
  171. package/dist/chunks/{file-6m42r3np.js → command-jw80jp6b.js} +21 -21
  172. package/dist/chunks/{file-af04s6ss.js → command-jwbqhvyy.js} +5 -5
  173. package/dist/chunks/{file-mx5etkqw.js → command-k0gxj95r.js} +33 -33
  174. package/dist/chunks/{file-8yaymg6a.js → command-k409y6k1.js} +5 -5
  175. package/dist/chunks/{file-bf79bfp2.js → command-k6jsebqw.js} +16 -16
  176. package/dist/chunks/{file-ewjewney.js → command-k6w958j5.js} +8 -8
  177. package/dist/chunks/{file-wtfd7wae.js → command-kkf65y6a.js} +27 -27
  178. package/dist/chunks/{file-1qxb3sk8.js → command-kw5v92fn.js} +20 -20
  179. package/dist/chunks/{file-f3rghsp8.js → command-kz87xe09.js} +26 -26
  180. package/dist/chunks/{file-cfpkc3c9.js → command-m0jqrx5p.js} +2 -2
  181. package/dist/chunks/{file-jmpfrrst.js → command-m2k7mg07.js} +11 -11
  182. package/dist/chunks/{file-m3fdjcah.js → command-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{file-ns454he7.js → command-m4j94d0w.js} +13 -13
  184. package/dist/chunks/{file-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{file-gdt4cbd6.js → command-m9wnxg74.js} +26 -26
  186. package/dist/chunks/{file-mhkvc446.js → command-mhkvc446.js} +1 -1
  187. package/dist/chunks/{file-naj50rvz.js → command-mqzwkyay.js} +8 -8
  188. package/dist/chunks/{file-arr0yzrh.js → command-mt1xf8xq.js} +4 -4
  189. package/dist/chunks/{file-qg0jgkcp.js → command-mvn2r3z4.js} +9 -9
  190. package/dist/chunks/{file-k3ahcn2y.js → command-mwch1h7x.js} +26 -26
  191. package/dist/chunks/{file-xc5qzd8z.js → command-n80jc431.js} +17 -17
  192. package/dist/chunks/{file-feb7qkw1.js → command-ngne8dfe.js} +2 -2
  193. package/dist/chunks/{file-0jt3tb20.js → command-njkzccyn.js} +7 -7
  194. package/dist/chunks/{file-jbw7zkpy.js → command-nnbzrd8n.js} +22 -22
  195. package/dist/chunks/{file-6yjt3wjz.js → command-np4grtax.js} +21 -21
  196. package/dist/chunks/{file-hh8ms2yj.js → command-ny7zsgxc.js} +10 -10
  197. package/dist/chunks/{file-k3c624dm.js → command-nzks3jc8.js} +3 -3
  198. package/dist/chunks/{file-h6r3nrb9.js → command-nzyhnfxz.js} +4 -4
  199. package/dist/chunks/{file-p28j5sbe.js → command-p28j5sbe.js} +2 -2
  200. package/dist/chunks/{file-p37cw4rj.js → command-p37cw4rj.js} +1 -1
  201. package/dist/chunks/{file-sjr3sdb5.js → command-p504gj3f.js} +8 -8
  202. package/dist/chunks/{file-1s2a2y7p.js → command-pdhkkygs.js} +11 -11
  203. package/dist/chunks/{file-m7kehd4x.js → command-ph5q8xzv.js} +10 -10
  204. package/dist/chunks/{file-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{file-pknna89w.js → command-pknna89w.js} +1 -1
  206. package/dist/chunks/{file-3vc4dk59.js → command-pm3aw8jw.js} +25 -25
  207. package/dist/chunks/{file-e0rvsnry.js → command-pn2fvd3j.js} +12 -12
  208. package/dist/chunks/{file-hj28bw27.js → command-q0r7cvmx.js} +14 -14
  209. package/dist/chunks/{file-38bdef71.js → command-q29a3mzv.js} +15 -15
  210. package/dist/chunks/{file-rj6d5p5e.js → command-q3t37ft6.js} +3 -3
  211. package/dist/chunks/{file-wnmqtqbz.js → command-q5nw5m1n.js} +9 -9
  212. package/dist/chunks/{file-kxfr8scb.js → command-qbznwwr3.js} +5 -5
  213. package/dist/chunks/{file-agnfd28k.js → command-qcqngy56.js} +20 -20
  214. package/dist/chunks/{file-whx7epc8.js → command-qmawctgv.js} +11 -11
  215. package/dist/chunks/{file-dt2zx11c.js → command-qmk2rxp5.js} +5 -5
  216. package/dist/chunks/{file-mt9jjf2t.js → command-qnv6wqrn.js} +88 -88
  217. package/dist/chunks/{file-qsdy395h.js → command-qsdy395h.js} +1 -1
  218. package/dist/chunks/{file-rbh1x862.js → command-qsmad8q5.js} +25 -25
  219. package/dist/chunks/{file-tfm34hws.js → command-qv6qez6w.js} +11 -11
  220. package/dist/chunks/{file-npr18s3r.js → command-qvx74awb.js} +7 -7
  221. package/dist/chunks/{file-e8qn9sht.js → command-r5b2g718.js} +33 -33
  222. package/dist/chunks/{file-cqymy0yn.js → command-r60jn89m.js} +17 -17
  223. package/dist/chunks/{file-hrnxc6yg.js → command-rahj5xg6.js} +11 -11
  224. package/dist/chunks/{file-q0y6x0zh.js → command-rc2rdsk3.js} +12 -12
  225. package/dist/chunks/{file-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  226. package/dist/chunks/{file-ywxvr4rb.js → command-rgbassad.js} +23 -23
  227. package/dist/chunks/{file-hsr3srte.js → command-rkwepmqr.js} +12 -12
  228. package/dist/chunks/{file-zeh9ct20.js → command-rq775frq.js} +2 -2
  229. package/dist/chunks/{file-rj3kjn4t.js → command-rqmc9bz6.js} +4 -4
  230. package/dist/chunks/{file-ryrq8653.js → command-rsnh7qyx.js} +5 -5
  231. package/dist/chunks/{file-0dvw3k89.js → command-rtbgd8vv.js} +12 -12
  232. package/dist/chunks/{file-607q5haz.js → command-s2ynmxvy.js} +5 -5
  233. package/dist/chunks/{file-jyjec5pm.js → command-sds13m34.js} +15 -15
  234. package/dist/chunks/{file-djr0a131.js → command-sf8s250z.js} +27 -27
  235. package/dist/chunks/{file-apyffp7r.js → command-st8d6rzm.js} +43 -43
  236. package/dist/chunks/{file-52sgb6yw.js → command-svt8e23h.js} +30 -30
  237. package/dist/chunks/{file-6fhr0pkt.js → command-szncdaef.js} +6 -6
  238. package/dist/chunks/{file-0r7yqxbf.js → command-t3swkhbg.js} +5 -5
  239. package/dist/chunks/{file-ve4pfa0n.js → command-t9zs3egg.js} +4 -4
  240. package/dist/chunks/{file-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{file-tdstcens.js → command-tdstcens.js} +1 -1
  242. package/dist/chunks/{file-14fc18qr.js → command-tg765z21.js} +9 -9
  243. package/dist/chunks/{file-03ddm2ac.js → command-tqnd21xx.js} +24 -24
  244. package/dist/chunks/{file-tvtrv512.js → command-tvtrv512.js} +1 -1
  245. package/dist/chunks/{file-d2c2nyzk.js → command-tx9w5tca.js} +8 -8
  246. package/dist/chunks/{file-xba06r7e.js → command-v5g5v3ws.js} +18 -18
  247. package/dist/chunks/{file-4fr18w13.js → command-v7bs4fwn.js} +14 -14
  248. package/dist/chunks/{file-ttfkrrt2.js → command-vbaxqaky.js} +10 -10
  249. package/dist/chunks/{file-veqvce7d.js → command-veqvce7d.js} +1 -1
  250. package/dist/chunks/command-vnkjks7b.js +18 -0
  251. package/dist/chunks/{file-2xcgp7gj.js → command-vtpa8adt.js} +29 -29
  252. package/dist/chunks/{file-vzcthcp8.js → command-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{file-va8zjbfm.js → command-w0825h81.js} +321 -321
  254. package/dist/chunks/{file-13dfa88x.js → command-w0cjdr4y.js} +26 -26
  255. package/dist/chunks/{file-bccb6npm.js → command-w1k39n5e.js} +4 -4
  256. package/dist/chunks/{file-k95xev6m.js → command-w1kts72e.js} +7 -7
  257. package/dist/chunks/{file-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{file-wd87259q.js → command-wd87259q.js} +1 -1
  259. package/dist/chunks/{file-hvkdp02p.js → command-wgzvszfr.js} +24 -24
  260. package/dist/chunks/{file-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{file-wf34z6h5.js → command-x6k8vawk.js} +14 -14
  262. package/dist/chunks/{file-qqeeq2t9.js → command-xfkkasph.js} +7 -7
  263. package/dist/chunks/{file-fhjb7rt8.js → command-xh0mn2db.js} +4 -4
  264. package/dist/chunks/{file-wzm9vhk7.js → command-xydhn12a.js} +3 -3
  265. package/dist/chunks/{file-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{file-3ez6024g.js → command-y1q6eyqb.js} +16 -16
  267. package/dist/chunks/{file-bajakh74.js → command-y31b318c.js} +4 -4
  268. package/dist/chunks/{file-frz1fex2.js → command-y32hsvj3.js} +26 -26
  269. package/dist/chunks/{file-ye3wrgze.js → command-y64kjv5k.js} +21 -21
  270. package/dist/chunks/{file-dpkg50ah.js → command-y71avatq.js} +4 -4
  271. package/dist/chunks/{file-eq5e5q4h.js → command-y91g1rqk.js} +5 -5
  272. package/dist/chunks/{file-pcz5gy8z.js → command-ycrff0sc.js} +14 -14
  273. package/dist/chunks/{file-m0v7jzh4.js → command-ycytvwgt.js} +28 -28
  274. package/dist/chunks/{file-1acjjqhc.js → command-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{file-wqq4yjck.js → command-ypwyy9wb.js} +13 -13
  276. package/dist/chunks/{file-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{file-s4enseaf.js → command-yrznvahk.js} +2 -2
  278. package/dist/chunks/{file-kdx6w3mz.js → command-ytjd48j9.js} +16 -16
  279. package/dist/chunks/{file-xksa7wvh.js → command-yx0qkvav.js} +59 -59
  280. package/dist/chunks/{file-gv6a8nnw.js → command-yyb7tjpc.js} +2 -2
  281. package/dist/chunks/{file-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{file-ayqs356k.js → command-z0pamjge.js} +48 -48
  283. package/dist/chunks/{file-3kdhhx66.js → command-z3qta96q.js} +5 -5
  284. package/dist/chunks/{file-29x78va6.js → command-z63w68vq.js} +6 -6
  285. package/dist/chunks/{file-85h6gxgt.js → command-z7t8qwge.js} +5 -5
  286. package/dist/chunks/{file-sp7z2078.js → command-zg4hrway.js} +17 -17
  287. package/dist/chunks/{file-j30jdxv7.js → command-zqcfqxpy.js} +24 -24
  288. package/dist/chunks/{file-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{file-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  290. package/dist/chunks/command-zyyeags5.js +26 -0
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +82 -82
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +124 -124
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.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/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +226 -226
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +85 -85
  431. package/dist/formatter/builtins.js +2 -2
  432. package/dist/formatter.js +88 -88
  433. package/dist/generate.js +100 -100
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +82 -82
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +76 -76
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +80 -80
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +127 -127
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +90 -90
  481. package/dist/model-resolver.js +97 -97
  482. package/dist/model.js +97 -97
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +81 -81
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +118 -118
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +85 -85
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +101 -101
  494. package/dist/plugin/command.js +96 -96
  495. package/dist/plugin/compaction.js +130 -130
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +1 -1
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +69 -69
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +138 -138
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +348 -348
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +83 -83
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +5 -5
  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 +6 -6
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +224 -224
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +79 -79
  563. package/dist/provider.js +100 -100
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +91 -91
  568. package/dist/reference/instructions.js +86 -86
  569. package/dist/reference.js +90 -90
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +133 -133
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +7 -7
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +220 -220
  584. package/dist/session/execution.js +125 -125
  585. package/dist/session/generate.js +150 -150
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +87 -87
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +76 -76
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +116 -116
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  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 +228 -228
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +111 -111
  608. package/dist/session/runner/step.js +123 -123
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +86 -86
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +207 -207
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +149 -149
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +213 -213
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +219 -219
  625. package/dist/shell/parse.js +6 -6
  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 +139 -139
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +106 -106
  632. package/dist/skill.js +105 -105
  633. package/dist/snapshot.js +90 -90
  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 +126 -126
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +123 -123
  641. package/dist/tool/plugin/grep.js +123 -123
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +115 -115
  644. package/dist/tool/plugin/question.js +104 -104
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +216 -216
  647. package/dist/tool/plugin/skill.js +112 -112
  648. package/dist/tool/plugin/subagent.js +218 -218
  649. package/dist/tool/plugin/webfetch.js +109 -109
  650. package/dist/tool/plugin/websearch.js +113 -113
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +99 -99
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +16 -16
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +4 -4
  670. package/dist/v1/config/formatter.js +7 -7
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +3 -3
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +7 -7
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +92 -92
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +83 -83
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +80 -80
  688. package/dist/workspace/driver.js +7 -7
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -79
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +95 -95
  696. package/package.json +8 -8
  697. package/dist/chunks/file-j1yvacg2.js +0 -26
  698. package/dist/chunks/file-pf31ssb9.js +0 -18
  699. /package/dist/chunks/{file-0mesazry.js → command-0mesazry.js} +0 -0
  700. /package/dist/chunks/{file-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{file-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{file-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{file-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{file-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{file-24dcb14g.js → command-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{file-2710q6r3.js → command-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{file-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{file-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{file-359p4xyc.js → command-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{file-3asan66x.js → command-3asan66x.js} +0 -0
  711. /package/dist/chunks/{file-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{file-3w5fmr99.js → command-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{file-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{file-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{file-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{file-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{file-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{file-53557ph1.js → command-53557ph1.js} +0 -0
  719. /package/dist/chunks/{file-550bvhaj.js → command-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{file-6prwharc.js → command-6prwharc.js} +0 -0
  721. /package/dist/chunks/{file-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{file-7m9af43g.js → command-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{file-822emrt2.js → command-822emrt2.js} +0 -0
  724. /package/dist/chunks/{file-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{file-8n3pysct.js → command-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{file-922hggd3.js → command-922hggd3.js} +0 -0
  727. /package/dist/chunks/{file-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{file-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{file-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{file-af5trqkr.js → command-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{file-afrmfg78.js → command-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{file-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{file-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{file-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{file-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{file-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{file-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{file-d9fn303g.js → command-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{file-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{file-dajrwvna.js → command-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{file-dap0rakb.js → command-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{file-df08tz66.js → command-df08tz66.js} +0 -0
  743. /package/dist/chunks/{file-dy18nga0.js → command-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{file-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{file-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{file-ec1grn59.js → command-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{file-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{file-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{file-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{file-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{file-faypxj3z.js → command-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{file-fd410y7t.js → command-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{file-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{file-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{file-g86h250q.js → command-g86h250q.js} +0 -0
  756. /package/dist/chunks/{file-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{file-gftt206x.js → command-gftt206x.js} +0 -0
  758. /package/dist/chunks/{file-hjbc5kem.js → command-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{file-hk9envan.js → command-hk9envan.js} +0 -0
  760. /package/dist/chunks/{file-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{file-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{file-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{file-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{file-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{file-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{file-mp448xyj.js → command-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{file-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{file-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{file-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{file-njntx4h6.js → command-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{file-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{file-q74kybfr.js → command-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{file-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{file-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{file-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{file-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{file-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{file-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{file-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{file-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{file-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{file-twg0f83k.js → command-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{file-w803qqfp.js → command-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{file-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{file-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{file-wtztk69x.js → command-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{file-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{file-x61499pn.js → command-x61499pn.js} +0 -0
  789. /package/dist/chunks/{file-y44na4kk.js → command-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{file-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{file-y8f7s663.js → command-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{file-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{file-ym463w8f.js → command-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{file-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service44
3
- } from "./file-hwe7x4em.js";
2
+ Service40
3
+ } from "./command-3ppptnan.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./file-pf31ssb9.js";
6
+ } from "./command-vnkjks7b.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./file-vbcz9h2j.js";
9
+ } from "./command-3ktbe3hf.js";
10
10
  import {
11
- Service38
12
- } from "./file-zzqh9mjf.js";
11
+ Service33
12
+ } from "./command-jm23qt55.js";
13
13
  import {
14
14
  __export
15
- } from "./file-9rqn6x4v.js";
15
+ } from "./command-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service44;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
25
+ const instances = yield* Service40;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service33), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID9,
3
- Service54
4
- } from "./file-rhxny31y.js";
2
+ ID16,
3
+ Service79
4
+ } from "./command-5mjt82ds.js";
5
5
  import {
6
6
  Service80
7
- } from "./file-gj2nqsbr.js";
7
+ } from "./command-fxjzx9zk.js";
8
8
  import {
9
- Service55
10
- } from "./file-apyffp7r.js";
9
+ Service47
10
+ } from "./command-st8d6rzm.js";
11
11
  import {
12
- Service60,
12
+ Service51,
13
13
  args2
14
- } from "./file-4s6t339e.js";
14
+ } from "./command-92rkebfh.js";
15
15
  import {
16
- Service21
17
- } from "./file-mt9jjf2t.js";
16
+ Service19
17
+ } from "./command-qnv6wqrn.js";
18
18
  import {
19
19
  make10
20
- } from "./file-vh1ek12h.js";
20
+ } from "./command-bc7r1051.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./file-5daktx2q.js";
23
+ } from "./command-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./file-9rqn6x4v.js";
26
+ } from "./command-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
29
  var exports_command2 = {};
30
30
  __export(exports_command2, {
31
31
  ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin34
32
+ Plugin: () => Plugin41
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin34 = define({
44
+ var Plugin41 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service55;
47
+ const config = yield* Service47;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -56,9 +56,9 @@ var Plugin34 = define({
56
56
  });
57
57
  const location = yield* Service80;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service60;
60
- const sessions = yield* Service21;
61
- const agents = yield* Service54;
59
+ const shell = yield* Service51;
60
+ const sessions = yield* Service19;
61
+ const agents = yield* Service79;
62
62
  const subagents = yield* make10;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
@@ -80,7 +80,7 @@ var Plugin34 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID16.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin34, exports_command2 };
207
+ export { Plugin41, exports_command2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./file-5t3nmthw.js";
3
+ } from "./command-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service28,
11
+ Service: () => Service29,
12
12
  SessionModelTransport: () => exports_model_transport,
13
13
  layer: () => layer11,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node31
15
+ node: () => node32
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service29 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service28.of({ bind, close, closeAll });
370
+ return Service29.of({ bind, close, closeAll });
371
371
  }));
372
372
  var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node31 = makeGlobalNode({ service: Service28, layer: layer11, deps: [webSocketConstructor2] });
375
+ var node32 = makeGlobalNode({ service: Service29, layer: layer11, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service28, makeLayer2, layer11, node31, exports_model_transport };
377
+ export { Service29, makeLayer2, layer11, node32, exports_model_transport };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-5v4jjjtv.js";
3
+ } from "./command-4gv05ame.js";
4
4
  import {
5
- ID12
6
- } from "./file-2xcgp7gj.js";
5
+ ID9
6
+ } from "./command-vtpa8adt.js";
7
7
 
8
8
  // src/plugin/provider/gitlab.ts
9
9
  import os from "os";
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
33
33
  });
34
34
  }));
35
35
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
36
- if (evt.model.providerID !== ID12.gitlab)
36
+ if (evt.model.providerID !== ID9.gitlab)
37
37
  return;
38
38
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
39
39
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./file-3w5fmr99.js";
7
+ } from "./command-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./file-k3c624dm.js";
11
+ } from "./command-nzks3jc8.js";
12
12
  import {
13
13
  create3
14
- } from "./file-rdw6cm16.js";
14
+ } from "./command-rdw6cm16.js";
15
15
  import {
16
- Service37,
17
- node41
18
- } from "./file-gs3psw06.js";
16
+ Service62,
17
+ node66
18
+ } from "./command-e0378qy6.js";
19
19
  import {
20
- Service53,
21
- node56
22
- } from "./file-d2c2nyzk.js";
20
+ Service78,
21
+ node82
22
+ } from "./command-tx9w5tca.js";
23
23
  import {
24
24
  match2
25
- } from "./file-y1fvbwt7.js";
25
+ } from "./command-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./file-9rqn6x4v.js";
28
+ } from "./command-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content3,
35
- Error: () => Error3,
34
+ Content: () => Content2,
35
+ Error: () => Error2,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service36,
38
+ Service: () => Service32,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node39
41
+ node: () => node35
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service36 extends Context.Service()("@opencode/Tool") {
54
+ class Service32 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service36, Effect.gen(function* () {
57
- const hooks = yield* Service53;
58
- const image = yield* Service37;
56
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
57
+ const hooks = yield* Service78;
58
+ const image = yield* Service62;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service36.of({
187
+ return Service32.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node39 = makeLocationNode({
277
- service: Service36,
276
+ var node35 = makeLocationNode({
277
+ service: Service32,
278
278
  layer,
279
- deps: [node56, node41]
279
+ deps: [node82, node66]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service36, node39, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service32, node35, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-922hggd3.js";
3
+ } from "./command-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID9,
2
+ ID16,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./file-rhxny31y.js";
5
+ } from "./command-5mjt82ds.js";
6
6
  import {
7
7
  merge2
8
- } from "./file-xksa7wvh.js";
8
+ } from "./command-yx0qkvav.js";
9
9
  import {
10
10
  __export
11
- } from "./file-9rqn6x4v.js";
11
+ } from "./command-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent = {};
15
15
  __export(exports_agent, {
16
16
  AgentPlugin: () => exports_agent,
17
- Plugin: () => Plugin10
17
+ Plugin: () => Plugin17
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin10 = define({
93
+ var Plugin17 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin10 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID9.make("general"), (item) => {
103
+ editor.update(ID16.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID9.make("explore"), (item) => {
109
+ editor.update(ID16.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin10 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID9.make("compaction"), (item) => {
128
+ editor.update(ID16.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID9.make("title"), (item) => {
133
+ editor.update(ID16.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID9.make("summary"), (item) => {
140
+ editor.update(ID16.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin10 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin10, exports_agent };
151
+ export { Plugin17, exports_agent };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./file-922hggd3.js";
3
+ } from "./command-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service55
7
- } from "./file-apyffp7r.js";
6
+ Service47
7
+ } from "./command-st8d6rzm.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./file-2a5m3afh.js";
10
+ } from "./command-2a5m3afh.js";
11
11
  import {
12
- Service69
13
- } from "./file-ye3wrgze.js";
12
+ Service59
13
+ } from "./command-y64kjv5k.js";
14
14
  import {
15
- Service46
16
- } from "./file-xx275nmg.js";
15
+ Service43
16
+ } from "./command-15ecbz73.js";
17
17
  import {
18
- Service50
19
- } from "./file-xksa7wvh.js";
18
+ Service75
19
+ } from "./command-yx0qkvav.js";
20
20
  import {
21
- Service49,
21
+ Service61,
22
22
  resolvePath2
23
- } from "./file-43d6rre2.js";
23
+ } from "./command-hvf8bzx3.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./file-fxbjtjnd.js";
29
+ } from "./command-fxbjtjnd.js";
30
30
  import {
31
- Service60,
31
+ Service51,
32
32
  name15
33
- } from "./file-4s6t339e.js";
33
+ } from "./command-92rkebfh.js";
34
34
  import {
35
- NotFoundError5,
36
- Service34
37
- } from "./file-tsf2j8dc.js";
35
+ NotFoundError4,
36
+ Service44
37
+ } from "./command-8a6kxmc8.js";
38
38
  import {
39
- Service21
40
- } from "./file-mt9jjf2t.js";
39
+ Service19
40
+ } from "./command-qnv6wqrn.js";
41
41
  import {
42
42
  scan2
43
- } from "./file-arr0yzrh.js";
43
+ } from "./command-mt1xf8xq.js";
44
44
  import {
45
45
  __export
46
- } from "./file-9rqn6x4v.js";
46
+ } from "./command-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input6,
53
- Plugin: () => Plugin40,
54
- ShellTool: () => exports_shell2,
55
- name: () => name6
52
+ Input: () => Input12,
53
+ Plugin: () => Plugin29,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name12
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name6 = "shell";
59
+ var name12 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input6 = Schema.Struct({
73
+ var Input12 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin40 = {
118
+ var Plugin29 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service21;
122
- const jobs = yield* Service46;
121
+ const sessions = yield* Service19;
122
+ const jobs = yield* Service43;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service69;
125
- const access = yield* Service49;
126
- const shell = yield* Service34;
127
- const shellSelect = yield* Service60;
124
+ const environment = yield* Service59;
125
+ const access = yield* Service61;
126
+ const shell = yield* Service44;
127
+ const shellSelect = yield* Service51;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service50;
130
- const config = yield* Service55;
129
+ const permission = yield* Service75;
130
+ const config = yield* Service47;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin40 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name6,
149
+ action: name12,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin40 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name6,
186
+ name: name12,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input6,
189
+ input: Input12,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin40 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError5({ id: info.id });
208
+ return yield* new NotFoundError4({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name6,
222
+ type: name12,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name6];
252
+ const tool = event.tools[name12];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin40, exports_shell2 };
263
+ export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin29, exports_shell };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service55
3
- } from "./file-apyffp7r.js";
2
+ Service47
3
+ } from "./command-st8d6rzm.js";
4
4
  import {
5
- Service13
6
- } from "./file-k1qrnqst.js";
5
+ Service73
6
+ } from "./command-cd0z4qvb.js";
7
7
  import {
8
8
  match2
9
- } from "./file-y1fvbwt7.js";
9
+ } from "./command-y1fvbwt7.js";
10
10
  import {
11
11
  observe2
12
- } from "./file-qsdy395h.js";
12
+ } from "./command-qsdy395h.js";
13
13
  import {
14
14
  __export
15
- } from "./file-9rqn6x4v.js";
15
+ } from "./command-9rqn6x4v.js";
16
16
 
17
17
  // src/config/plugin/policy.ts
18
18
  var exports_policy = {};
19
19
  __export(exports_policy, {
20
20
  ConfigPolicyPlugin: () => exports_policy,
21
- Plugin: () => Plugin27
21
+ Plugin: () => Plugin45
22
22
  });
23
23
  import { define } from "@opencode/plugin/effect/plugin";
24
24
  import { Effect } from "effect";
25
- var Plugin27 = define({
25
+ var Plugin45 = define({
26
26
  id: "opencode.config.policy",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service55;
29
- const managed = yield* Service13;
28
+ const config = yield* Service47;
29
+ const managed = yield* Service73;
30
30
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
31
31
  const policies = () => {
32
32
  const organization = managed.current();
@@ -57,4 +57,4 @@ var Plugin27 = define({
57
57
  })
58
58
  });
59
59
 
60
- export { Plugin27, exports_policy };
60
+ export { Plugin45, exports_policy };