@opencode/core 0.0.0-dev-19514 → 0.0.0-dev-19517

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{file-0gsjhwbw.js → model-00pw3h10.js} +27 -27
  9. package/dist/chunks/{file-1dgfjwgv.js → model-01ebgy6x.js} +25 -25
  10. package/dist/chunks/{file-0a423ajn.js → model-01zqne1p.js} +43 -43
  11. package/dist/chunks/{file-fs5r8wpj.js → model-0393spk4.js} +23 -23
  12. package/dist/chunks/{file-m3krncyp.js → model-08y7zr51.js} +15 -15
  13. package/dist/chunks/{file-4y66k410.js → model-0ajdgxne.js} +5 -5
  14. package/dist/chunks/{file-cn02216x.js → model-0dbz5dpj.js} +3 -3
  15. package/dist/chunks/{file-0gdmqesm.js → model-0gdmqesm.js} +1 -1
  16. package/dist/chunks/{file-tm7zr4pr.js → model-0gr7cw0d.js} +4 -4
  17. package/dist/chunks/{file-rjjwk750.js → model-0hw9gmp4.js} +56 -56
  18. package/dist/chunks/model-0mesazry.js +4 -0
  19. package/dist/chunks/{file-0paq2nw3.js → model-0paq2nw3.js} +1 -1
  20. package/dist/chunks/{file-0q0f95c6.js → model-0q0f95c6.js} +1 -1
  21. package/dist/chunks/{file-bvr7grfh.js → model-0qbfsv0x.js} +4 -4
  22. package/dist/chunks/{file-fdma6z5m.js → model-11qz0t8e.js} +8 -8
  23. package/dist/chunks/{file-j2xqzd67.js → model-18ercc3f.js} +45 -45
  24. package/dist/chunks/{file-b27vhd2z.js → model-19vf66h0.js} +4 -4
  25. package/dist/chunks/{file-nxer0yad.js → model-1acjjqhc.js} +4 -4
  26. package/dist/chunks/{file-j028xdjb.js → model-1bbkgx8g.js} +3 -3
  27. package/dist/chunks/{file-0dzcdmmm.js → model-1d13423j.js} +9 -9
  28. package/dist/chunks/{file-1dazxqgg.js → model-1dazxqgg.js} +2 -2
  29. package/dist/chunks/{file-qr42g2ex.js → model-1mty6vw9.js} +12 -12
  30. package/dist/chunks/{file-t3v0vag8.js → model-1wtaecq5.js} +7 -7
  31. package/dist/chunks/{file-56gdpj1q.js → model-1ygqh575.js} +9 -9
  32. package/dist/chunks/{file-21r38tys.js → model-21r38tys.js} +1 -1
  33. package/dist/chunks/{file-2402vzrj.js → model-2402vzrj.js} +1 -1
  34. package/dist/chunks/{file-kym9c2x0.js → model-25yd6z24.js} +9 -9
  35. package/dist/chunks/{file-9khdf5s3.js → model-2653mqwd.js} +10 -10
  36. package/dist/chunks/{file-msq0jde0.js → model-26ym7a2d.js} +4 -4
  37. package/dist/chunks/{file-z63w68vq.js → model-29x78va6.js} +6 -6
  38. package/dist/chunks/{file-2a5m3afh.js → model-2a5m3afh.js} +1 -1
  39. package/dist/chunks/{file-m6cttsv8.js → model-2eknmf3c.js} +12 -12
  40. package/dist/chunks/{file-3w0fmcng.js → model-2f0bjgcj.js} +5 -5
  41. package/dist/chunks/{file-fqtt6ran.js → model-2g4vvh0x.js} +17 -17
  42. package/dist/chunks/{file-2scwh29m.js → model-33r7arbr.js} +39 -39
  43. package/dist/chunks/{file-21tk25ps.js → model-34ytdzas.js} +1 -1
  44. package/dist/chunks/{file-gdvy8fx6.js → model-3fc6dm20.js} +4 -4
  45. package/dist/chunks/{file-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{file-xz25bmqh.js → model-3j9mgshd.js} +24 -24
  47. package/dist/chunks/{file-br4mb8ra.js → model-3q7h00b9.js} +27 -27
  48. package/dist/chunks/{file-v1sethzn.js → model-3qtwe70s.js} +20 -20
  49. package/dist/chunks/{file-0rymwcrg.js → model-3skdg1nm.js} +32 -32
  50. package/dist/chunks/{file-3smtnn6g.js → model-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{file-3tvqynh2.js → model-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{file-pw6rbwyw.js → model-427hzfby.js} +6 -6
  53. package/dist/chunks/{file-7n50n386.js → model-47ms443m.js} +7 -7
  54. package/dist/chunks/{file-gy7w27zy.js → model-47th8ec4.js} +11 -11
  55. package/dist/chunks/{file-zvsn794g.js → model-49dhn78k.js} +10 -10
  56. package/dist/chunks/{file-xx4ze2dw.js → model-4crb2xwh.js} +9 -9
  57. package/dist/chunks/{file-hv3f10xw.js → model-4f5d4waw.js} +15 -15
  58. package/dist/chunks/{file-fzthsjy4.js → model-4fq18jmq.js} +18 -18
  59. package/dist/chunks/{file-3jrr9nrh.js → model-4s650q2q.js} +4 -4
  60. package/dist/chunks/{file-fg1gh0c9.js → model-4wbg1ywa.js} +35 -35
  61. package/dist/chunks/{file-qjrh95de.js → model-4wdant8n.js} +4 -4
  62. package/dist/chunks/{file-8j5k38c8.js → model-5bs4txnv.js} +8 -8
  63. package/dist/chunks/{file-5daktx2q.js → model-5daktx2q.js} +1 -1
  64. package/dist/chunks/{file-5vpje3g0.js → model-5j19hd5e.js} +16 -16
  65. package/dist/chunks/{file-q6vwf3nd.js → model-5m0dtv2d.js} +6 -6
  66. package/dist/chunks/{file-e6hd9jay.js → model-5mdrv3hm.js} +6 -6
  67. package/dist/chunks/{file-5t3nmthw.js → model-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{file-t0r7fcbn.js → model-5vtpc8vp.js} +27 -27
  69. package/dist/chunks/{file-8secz49e.js → model-61jhnvfj.js} +32 -32
  70. package/dist/chunks/{file-3kwdbmfv.js → model-64bd1qya.js} +21 -21
  71. package/dist/chunks/{file-669tq793.js → model-669tq793.js} +1 -1
  72. package/dist/chunks/{file-6d9mz4vp.js → model-6ck2t1rv.js} +9 -9
  73. package/dist/chunks/{file-71eqg07f.js → model-6fcggqzm.js} +17 -17
  74. package/dist/chunks/{file-mtjmqs8n.js → model-6h7ssv2c.js} +16 -16
  75. package/dist/chunks/{file-qmj11y7g.js → model-6hdpz7r5.js} +20 -20
  76. package/dist/chunks/{file-6msgmcgs.js → model-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{file-8g5hs4np.js → model-6ra2j2vw.js} +41 -41
  78. package/dist/chunks/{file-30f1x3mc.js → model-6s4by8s0.js} +13 -13
  79. package/dist/chunks/{file-td8ytyxd.js → model-6ten4jdj.js} +11 -11
  80. package/dist/chunks/{file-71q4at8m.js → model-71q4at8m.js} +1 -1
  81. package/dist/chunks/{file-ekkfxm1b.js → model-7925xp00.js} +15 -15
  82. package/dist/chunks/{file-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{file-h6f2rjkg.js → model-7mv990wx.js} +13 -13
  84. package/dist/chunks/{file-y2rgym3m.js → model-7qq57c1m.js} +9 -9
  85. package/dist/chunks/{file-pxt4kznk.js → model-7wdjtyr9.js} +3 -3
  86. package/dist/chunks/{file-t2mvn8e2.js → model-7ydv0qnt.js} +16 -16
  87. package/dist/chunks/{file-dwvzh0g2.js → model-7yqnf43w.js} +6 -6
  88. package/dist/chunks/{file-detsjsfs.js → model-89z7vhwa.js} +37 -37
  89. package/dist/chunks/{file-tcezcvh9.js → model-89znhe33.js} +4 -4
  90. package/dist/chunks/{file-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{file-1j388zrc.js → model-8gt682ks.js} +27 -27
  92. package/dist/chunks/{file-8p4f9s12.js → model-8p4f9s12.js} +2 -2
  93. package/dist/chunks/model-91t0qgnn.js +22 -0
  94. package/dist/chunks/{file-xte6ahy5.js → model-95a4nxen.js} +15 -15
  95. package/dist/chunks/{file-q19rd6y7.js → model-970yf2am.js} +9 -9
  96. package/dist/chunks/{file-fh5t8s2q.js → model-9c2qq6zd.js} +1 -1
  97. package/dist/chunks/{file-fjszsmnf.js → model-9p7k60b1.js} +4 -4
  98. package/dist/chunks/{file-skmtrd5n.js → model-9qbkfj45.js} +26 -26
  99. package/dist/chunks/{file-jm6kzkv1.js → model-9wc403zm.js} +5 -5
  100. package/dist/chunks/{file-v9me9bjc.js → model-9wt1dgrq.js} +15 -15
  101. package/dist/chunks/model-9zdhvgqs.js +18 -0
  102. package/dist/chunks/{file-a1bz86dw.js → model-a1bz86dw.js} +3 -3
  103. package/dist/chunks/{file-40bxqg89.js → model-a5fqa70n.js} +11 -11
  104. package/dist/chunks/{file-qvb3nf84.js → model-a5xy8rps.js} +8 -8
  105. package/dist/chunks/{file-nv4467mr.js → model-a8hpxnmk.js} +13 -13
  106. package/dist/chunks/{file-pdy8tdap.js → model-aa9jsfqg.js} +294 -294
  107. package/dist/chunks/{file-aaet6srn.js → model-aaet6srn.js} +2 -2
  108. package/dist/chunks/{file-v1gbks79.js → model-af350n58.js} +40 -40
  109. package/dist/chunks/{file-mj63ee6j.js → model-afw0evk7.js} +23 -23
  110. package/dist/chunks/{file-dfe8djrf.js → model-an7cqtb7.js} +4 -4
  111. package/dist/chunks/{file-3g5458vk.js → model-aqtmwthd.js} +37 -37
  112. package/dist/chunks/{file-jwadv04f.js → model-av9b8y59.js} +32 -32
  113. package/dist/chunks/{file-hkfg6fzm.js → model-avm8jn6n.js} +5 -5
  114. package/dist/chunks/{file-p33ejz0k.js → model-b10jyp57.js} +1 -1
  115. package/dist/chunks/{file-b6gygkdw.js → model-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{file-jzzy94zk.js → model-bda9rjxj.js} +9 -9
  117. package/dist/chunks/{file-t4fqcf9n.js → model-bev58rz9.js} +24 -24
  118. package/dist/chunks/{file-hy7ma9dc.js → model-bjgvxsns.js} +23 -23
  119. package/dist/chunks/{file-cyfhm506.js → model-bwmrk78f.js} +17 -17
  120. package/dist/chunks/{file-ba5k2znj.js → model-bzfw32px.js} +9 -9
  121. package/dist/chunks/{file-6h539xbt.js → model-c11jf028.js} +8 -8
  122. package/dist/chunks/{file-akrnn5pm.js → model-c23d720g.js} +11 -11
  123. package/dist/chunks/{file-6h09v0nk.js → model-ca43bk3t.js} +28 -28
  124. package/dist/chunks/{file-d9s96shc.js → model-cdf4b59p.js} +49 -49
  125. package/dist/chunks/{file-g6fqja2m.js → model-cdxne2ts.js} +10 -10
  126. package/dist/chunks/{file-cfpkc3c9.js → model-cfpkc3c9.js} +2 -2
  127. package/dist/chunks/{file-yb2a0x4v.js → model-cgtmrgbf.js} +10 -10
  128. package/dist/chunks/{file-vbz5sa67.js → model-cmm96jj5.js} +36 -36
  129. package/dist/chunks/{file-tpw6cwsb.js → model-cmwkp3r5.js} +8 -8
  130. package/dist/chunks/{file-52hm8910.js → model-cnkpq623.js} +9 -9
  131. package/dist/chunks/{file-msprhwgy.js → model-d0dbw1j5.js} +22 -22
  132. package/dist/chunks/{file-s8b69be9.js → model-d5c48xqa.js} +8 -8
  133. package/dist/chunks/{file-jj3qxa52.js → model-ddt2bs9e.js} +4 -4
  134. package/dist/chunks/{file-5ppegk2h.js → model-dw1xw5kf.js} +5 -5
  135. package/dist/chunks/{file-pv06hj7d.js → model-dwax96b2.js} +2 -2
  136. package/dist/chunks/{file-dkkjpy3x.js → model-e09967m1.js} +15 -15
  137. package/dist/chunks/{file-pxs9g58w.js → model-e3mczv1f.js} +47 -47
  138. package/dist/chunks/{file-ar7nfc0b.js → model-e4dz0fmv.js} +24 -24
  139. package/dist/chunks/{file-f6x64a2f.js → model-emy07np5.js} +21 -21
  140. package/dist/chunks/{file-fbgw5egt.js → model-ennqj48b.js} +88 -88
  141. package/dist/chunks/{file-etq0c3wd.js → model-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{file-ky6wt9x3.js → model-evy1cf6y.js} +8 -8
  143. package/dist/chunks/{file-gyaee7jp.js → model-f33hbkq0.js} +20 -20
  144. package/dist/chunks/{file-f828m53h.js → model-f828m53h.js} +2 -2
  145. package/dist/chunks/{file-n01rjve2.js → model-f8ndr4p9.js} +19 -19
  146. package/dist/chunks/{file-84zt2byv.js → model-fhs97t90.js} +9 -9
  147. package/dist/chunks/{file-g02cz0vt.js → model-fnnbcqtc.js} +18 -18
  148. package/dist/chunks/{file-7hkbksc5.js → model-frrmzkpb.js} +17 -17
  149. package/dist/chunks/{file-da2m7fje.js → model-fs6bp36w.js} +5 -5
  150. package/dist/chunks/{file-fxbjtjnd.js → model-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{file-vm34h1x5.js → model-fxd0s1jx.js} +8 -8
  152. package/dist/chunks/{file-mvdg3mfe.js → model-g2y161wv.js} +8 -8
  153. package/dist/chunks/{file-6kb1ngvr.js → model-g500fjm7.js} +1 -1
  154. package/dist/chunks/{file-g7hhbneb.js → model-g5p9v76r.js} +18 -18
  155. package/dist/chunks/{file-hy9khhh5.js → model-g8bpgwc7.js} +4 -4
  156. package/dist/chunks/{file-gd4qta3r.js → model-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{file-715w4jb6.js → model-gdkxy9zr.js} +9 -9
  158. package/dist/chunks/{file-v6v8ttny.js → model-ggcxy6ha.js} +25 -25
  159. package/dist/chunks/{file-048xp89v.js → model-ggtjpswj.js} +15 -15
  160. package/dist/chunks/{file-0kenkm4y.js → model-gmnnjgny.js} +5 -5
  161. package/dist/chunks/{file-gv6a8nnw.js → model-gv6a8nnw.js} +2 -2
  162. package/dist/chunks/{file-qtptnsh1.js → model-gy4p1xkh.js} +1 -1
  163. package/dist/chunks/{file-h03wrkyp.js → model-h03wrkyp.js} +2 -2
  164. package/dist/chunks/{file-x4fh1qwh.js → model-h378ch1a.js} +26 -26
  165. package/dist/chunks/{file-h6vf3j39.js → model-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{file-1288mpm8.js → model-hacxhjzv.js} +58 -58
  167. package/dist/chunks/{file-0r7yqxbf.js → model-hcz3zddy.js} +5 -5
  168. package/dist/chunks/{file-858qdcc3.js → model-hdbg4dz4.js} +12 -12
  169. package/dist/chunks/{file-26m15rn7.js → model-hk6wyp9w.js} +32 -32
  170. package/dist/chunks/{file-rfkfgx1j.js → model-hm6af37m.js} +2 -2
  171. package/dist/chunks/{file-wd6ep4mh.js → model-hy1g3bgf.js} +1 -1
  172. package/dist/chunks/{file-mbpbw8jh.js → model-j11b5gx2.js} +13 -13
  173. package/dist/chunks/{file-kt5w8vxh.js → model-j55g5gc5.js} +10 -10
  174. package/dist/chunks/{file-j56e64zr.js → model-j56e64zr.js} +1 -1
  175. package/dist/chunks/{file-sv08ktng.js → model-j8hv5r0n.js} +13 -13
  176. package/dist/chunks/{file-paphc93g.js → model-j935v87r.js} +2 -2
  177. package/dist/chunks/{file-92vqf0gg.js → model-jg0hsq4w.js} +14 -14
  178. package/dist/chunks/{file-g83qpwmz.js → model-jvz76js5.js} +3 -3
  179. package/dist/chunks/{file-dpkg50ah.js → model-jwcy2c2z.js} +4 -4
  180. package/dist/chunks/{file-40p7j5ff.js → model-jwvj9vdn.js} +19 -19
  181. package/dist/chunks/{file-h6t3ct0z.js → model-k5jh3d8v.js} +46 -46
  182. package/dist/chunks/{file-365b2wx5.js → model-k9scmdec.js} +173 -173
  183. package/dist/chunks/{file-t7f26a2p.js → model-kfchwe9z.js} +24 -24
  184. package/dist/chunks/{file-kg06axw8.js → model-kg06axw8.js} +1 -1
  185. package/dist/chunks/{file-jsa2395n.js → model-kjcjq4b3.js} +26 -26
  186. package/dist/chunks/{file-37yfqsb0.js → model-km3xepye.js} +11 -11
  187. package/dist/chunks/{file-v8xrsrn8.js → model-kn2e7a30.js} +6 -6
  188. package/dist/chunks/{file-rny9rhyh.js → model-kx7xa2sp.js} +4 -4
  189. package/dist/chunks/{file-tjr0drtg.js → model-kyf2eze9.js} +12 -12
  190. package/dist/chunks/{file-c0n50874.js → model-m3j98nth.js} +11 -11
  191. package/dist/chunks/{file-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{file-07ch4k8a.js → model-mtgrzfqg.js} +27 -27
  193. package/dist/chunks/{file-nw0z258d.js → model-n5wh41er.js} +15 -15
  194. package/dist/chunks/{file-903gnre9.js → model-n6zxgjsd.js} +11 -11
  195. package/dist/chunks/{file-jrpprbm6.js → model-ndaxx38h.js} +16 -16
  196. package/dist/chunks/{file-xy0cewe0.js → model-ng8mejvs.js} +11 -11
  197. package/dist/chunks/{file-p6yzb5ay.js → model-nhy5jxhy.js} +4 -4
  198. package/dist/chunks/{file-rqnks7rh.js → model-njr1pezb.js} +4 -4
  199. package/dist/chunks/{file-eg10bheh.js → model-nq6g47t1.js} +23 -23
  200. package/dist/chunks/{file-hh50gg05.js → model-nsexsark.js} +5 -5
  201. package/dist/chunks/{file-23mbrqv5.js → model-nv5vn7qx.js} +2 -2
  202. package/dist/chunks/{file-mv3cm7pe.js → model-nwywsssq.js} +16 -16
  203. package/dist/chunks/model-p57y74xn.js +247 -0
  204. package/dist/chunks/{file-4we3c2am.js → model-pagpqc31.js} +19 -19
  205. package/dist/chunks/{file-25nfakxt.js → model-pfhdynjr.js} +29 -29
  206. package/dist/chunks/{file-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{file-pknna89w.js → model-pknna89w.js} +1 -1
  208. package/dist/chunks/{file-pef5zs3s.js → model-pnsrke6y.js} +19 -19
  209. package/dist/chunks/{file-qeden6pr.js → model-pw609sjz.js} +23 -23
  210. package/dist/chunks/{file-h9n27kr1.js → model-px95k3y4.js} +59 -59
  211. package/dist/chunks/{file-r8vf1f61.js → model-q0awa4pk.js} +6 -6
  212. package/dist/chunks/{file-kmv05cyx.js → model-qf49agjw.js} +31 -31
  213. package/dist/chunks/{file-7dqw4kz8.js → model-qgn6gcr1.js} +5 -5
  214. package/dist/chunks/{file-hhzb4w78.js → model-qkevazrs.js} +9 -9
  215. package/dist/chunks/{file-e5y2w16d.js → model-qqmmpd78.js} +13 -13
  216. package/dist/chunks/{file-mpvjdhq3.js → model-qqt871ed.js} +38 -38
  217. package/dist/chunks/{file-qsdy395h.js → model-qsdy395h.js} +1 -1
  218. package/dist/chunks/{file-f49kx7ec.js → model-r08zwg3r.js} +18 -18
  219. package/dist/chunks/{file-v1h457r3.js → model-r608fp9k.js} +9 -9
  220. package/dist/chunks/{file-wpm2rk0p.js → model-r7nsrefv.js} +6 -6
  221. package/dist/chunks/{file-r9mregkx.js → model-r9mregkx.js} +2 -2
  222. package/dist/chunks/{file-g9t7qa9y.js → model-rbzvkf7k.js} +32 -32
  223. package/dist/chunks/{file-znf35ddy.js → model-rfxdn812.js} +43 -43
  224. package/dist/chunks/{file-ep6qz3j5.js → model-rsb1fe67.js} +5 -5
  225. package/dist/chunks/{file-81swgkk7.js → model-rsym84ch.js} +7 -7
  226. package/dist/chunks/{file-h3fx38h7.js → model-rtrzf183.js} +28 -28
  227. package/dist/chunks/{file-jxyz68eg.js → model-rwdp7x1n.js} +9 -9
  228. package/dist/chunks/{file-aw9hkdyd.js → model-s437nttj.js} +27 -27
  229. package/dist/chunks/{file-yrznvahk.js → model-s4enseaf.js} +2 -2
  230. package/dist/chunks/{file-r4aah319.js → model-s77a7x78.js} +14 -14
  231. package/dist/chunks/{file-qj8eh1ht.js → model-s8j6jbjj.js} +21 -21
  232. package/dist/chunks/{file-frwpyczr.js → model-s9yxznb6.js} +4 -4
  233. package/dist/chunks/{file-edqnm9wa.js → model-sd864pem.js} +13 -13
  234. package/dist/chunks/{file-np6jr823.js → model-sn1q4jhb.js} +14 -14
  235. package/dist/chunks/{file-9z0v2yqn.js → model-sp4p9hk5.js} +22 -22
  236. package/dist/chunks/{file-0bcfzsmy.js → model-sqetbg69.js} +7 -7
  237. package/dist/chunks/{file-779r4x49.js → model-stbyfcvy.js} +17 -17
  238. package/dist/chunks/{file-4p6bmny6.js → model-sypghty7.js} +10 -10
  239. package/dist/chunks/{file-tazgh4e4.js → model-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{file-tdstcens.js → model-tdstcens.js} +1 -1
  241. package/dist/chunks/{file-h2fpsr6d.js → model-tj0j24wc.js} +8 -8
  242. package/dist/chunks/{file-rzmkrbvb.js → model-trn0ebkj.js} +2 -2
  243. package/dist/chunks/{file-tvtrv512.js → model-tvtrv512.js} +1 -1
  244. package/dist/chunks/{file-7rxw70p2.js → model-tyhtmtb1.js} +13 -13
  245. package/dist/chunks/{file-jfahe5dm.js → model-v2bqrexr.js} +7 -7
  246. package/dist/chunks/{file-1vtz46z8.js → model-v5w9803s.js} +8 -8
  247. package/dist/chunks/{file-wywpfvj8.js → model-v8bbbck7.js} +24 -24
  248. package/dist/chunks/{file-veqvce7d.js → model-veqvce7d.js} +1 -1
  249. package/dist/chunks/{file-fhqc3h92.js → model-vj40030b.js} +30 -30
  250. package/dist/chunks/{file-epd1fg1b.js → model-vkxpz7g2.js} +4 -4
  251. package/dist/chunks/{file-hn612hq8.js → model-vnk050b0.js} +87 -87
  252. package/dist/chunks/{file-5n5g9tme.js → model-vs57cc1w.js} +13 -13
  253. package/dist/chunks/{file-b7kmpk6t.js → model-vstdng3x.js} +51 -51
  254. package/dist/chunks/{file-ee39sspt.js → model-vvqyasfx.js} +37 -37
  255. package/dist/chunks/{file-embs9rr0.js → model-vvx5a9vg.js} +21 -21
  256. package/dist/chunks/{file-vzcthcp8.js → model-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{file-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{file-pfq1ksym.js → model-w8xr7nv8.js} +5 -5
  259. package/dist/chunks/{file-wd87259q.js → model-wd87259q.js} +1 -1
  260. package/dist/chunks/{file-915t83ht.js → model-wn601hgc.js} +8 -8
  261. package/dist/chunks/{file-xc694gh7.js → model-wtbqz04z.js} +6 -6
  262. package/dist/chunks/{file-x1ezjp6w.js → model-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{file-sj50v99f.js → model-x5wa15pd.js} +21 -21
  264. package/dist/chunks/{file-96v5c2p5.js → model-xb43fy6r.js} +23 -23
  265. package/dist/chunks/{file-3yqybkx7.js → model-xcs774s4.js} +15 -15
  266. package/dist/chunks/{file-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{file-3ec5gh45.js → model-y5aw8mtm.js} +12 -12
  268. package/dist/chunks/{file-bj61hnyg.js → model-yn2b00qa.js} +17 -17
  269. package/dist/chunks/{file-gmmhsxfs.js → model-yqbkvtfa.js} +32 -32
  270. package/dist/chunks/{file-yrhqyw5v.js → model-yrhqyw5v.js} +1 -1
  271. package/dist/chunks/{file-dedq8wa1.js → model-ysj42rak.js} +11 -11
  272. package/dist/chunks/{file-gmprtwsb.js → model-yyfky2bj.js} +1 -1
  273. package/dist/chunks/{file-ye1tt27n.js → model-yzf6cb4v.js} +37 -37
  274. package/dist/chunks/{file-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{file-7rd885s9.js → model-z1bp4kmj.js} +24 -24
  276. package/dist/chunks/{file-nrafk414.js → model-z1cqpf8w.js} +29 -29
  277. package/dist/chunks/{file-8a2qdx2a.js → model-zcqf6png.js} +6 -6
  278. package/dist/chunks/{file-ma9yb35x.js → model-zde5750y.js} +9 -9
  279. package/dist/chunks/{file-zeh9ct20.js → model-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{file-a3rvyvck.js → model-zfcp8yb0.js} +3 -3
  281. package/dist/chunks/{file-m6qbstta.js → model-znfzvn2k.js} +3 -3
  282. package/dist/chunks/{file-g67wee21.js → model-zpn9qnw3.js} +4 -4
  283. package/dist/chunks/{file-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{file-rgy7ctyq.js → model-zrs7pmt3.js} +6 -6
  285. package/dist/chunks/{file-9cfgjn1d.js → model-zs4k4bm4.js} +15 -15
  286. package/dist/chunks/{file-zxq2ej10.js → model-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{file-bm7vyjfb.js → model-zzsqbm8r.js} +11 -11
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +82 -82
  292. package/dist/config/discovery.js +80 -80
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +210 -210
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +119 -119
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +135 -135
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +118 -118
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +116 -116
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +118 -118
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +78 -78
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +73 -73
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +217 -217
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +11 -11
  424. package/dist/filesystem.js +103 -103
  425. package/dist/form.js +81 -81
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +83 -83
  428. package/dist/generate.js +90 -90
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +1 -1
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +132 -132
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +82 -82
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +83 -83
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +104 -104
  469. package/dist/mcp/instructions.js +123 -123
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +4 -4
  476. package/dist/models-dev.js +81 -81
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +111 -111
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +81 -81
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +100 -100
  487. package/dist/plugin/command.js +97 -97
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +116 -116
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -118
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +79 -79
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +118 -118
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +338 -338
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +113 -113
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +6 -6
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin.js +221 -221
  551. package/dist/project/schema.js +6 -6
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +84 -84
  554. package/dist/provider.js +3 -3
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +95 -95
  559. package/dist/reference/instructions.js +85 -85
  560. package/dist/reference.js +87 -87
  561. package/dist/repository-cache.js +73 -73
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +92 -92
  565. package/dist/rpc.js +82 -82
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -73
  568. package/dist/session/compaction.js +126 -126
  569. package/dist/session/context.js +148 -148
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +7 -7
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +220 -220
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +147 -147
  576. package/dist/session/history.js +15 -15
  577. package/dist/session/inbox.js +87 -87
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +78 -78
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +93 -93
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +114 -114
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +127 -127
  587. package/dist/session/projector.js +85 -85
  588. package/dist/session/prompt.js +101 -101
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +86 -86
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +87 -87
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +109 -109
  598. package/dist/session/runner/step.js +120 -120
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +170 -170
  602. package/dist/session/shell.js +132 -132
  603. package/dist/session/skill.js +99 -99
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +72 -72
  606. package/dist/session/store.js +86 -86
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +204 -204
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +152 -152
  611. package/dist/session/to-session-error.js +108 -108
  612. package/dist/session/transfer.js +216 -216
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +214 -214
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +11 -11
  619. package/dist/shell.js +134 -134
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +103 -103
  622. package/dist/skill.js +108 -108
  623. package/dist/snapshot.js +89 -89
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +122 -122
  628. package/dist/tool/plugin/edit.js +116 -116
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +121 -121
  631. package/dist/tool/plugin/grep.js +121 -121
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +118 -118
  634. package/dist/tool/plugin/question.js +101 -101
  635. package/dist/tool/plugin/read.js +122 -122
  636. package/dist/tool/plugin/shell.js +213 -213
  637. package/dist/tool/plugin/skill.js +109 -109
  638. package/dist/tool/plugin/subagent.js +215 -215
  639. package/dist/tool/plugin/webfetch.js +108 -108
  640. package/dist/tool/plugin/websearch.js +106 -106
  641. package/dist/tool/plugin/write.js +116 -116
  642. package/dist/tool/read-filesystem.js +97 -97
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +15 -15
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +7 -7
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +3 -3
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +4 -4
  659. package/dist/v1/config/formatter.js +5 -5
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +5 -5
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +4 -4
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +3 -3
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +86 -86
  673. package/dist/websearch.js +83 -83
  674. package/dist/wellknown/plugin.js +73 -73
  675. package/dist/wellknown.js +78 -78
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +77 -77
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +7 -7
  681. package/dist/worktree/refresh.js +339 -339
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +92 -92
  684. package/package.json +8 -8
  685. package/dist/chunks/file-1x11rq2a.js +0 -18
  686. package/dist/chunks/file-86de9m55.js +0 -22
  687. package/dist/chunks/file-qtvmxc8s.js +0 -4
  688. package/dist/chunks/file-zb4ha1kd.js +0 -247
  689. /package/dist/chunks/{file-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{file-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{file-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{file-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{file-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{file-2710q6r3.js → model-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{file-2axfhc9x.js → model-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{file-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{file-359p4xyc.js → model-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{file-3asan66x.js → model-3asan66x.js} +0 -0
  699. /package/dist/chunks/{file-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{file-3w5fmr99.js → model-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{file-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{file-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{file-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{file-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{file-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{file-53557ph1.js → model-53557ph1.js} +0 -0
  707. /package/dist/chunks/{file-550bvhaj.js → model-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{file-6prwharc.js → model-6prwharc.js} +0 -0
  709. /package/dist/chunks/{file-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{file-7m9af43g.js → model-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{file-822emrt2.js → model-822emrt2.js} +0 -0
  712. /package/dist/chunks/{file-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{file-8n3pysct.js → model-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{file-922hggd3.js → model-922hggd3.js} +0 -0
  715. /package/dist/chunks/{file-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{file-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{file-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{file-af5trqkr.js → model-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{file-afrmfg78.js → model-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{file-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{file-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{file-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{file-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{file-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{file-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{file-d9fn303g.js → model-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{file-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{file-dajrwvna.js → model-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{file-dap0rakb.js → model-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{file-df08tz66.js → model-df08tz66.js} +0 -0
  731. /package/dist/chunks/{file-dy18nga0.js → model-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{file-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{file-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{file-ec1grn59.js → model-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{file-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{file-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{file-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{file-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{file-faypxj3z.js → model-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{file-fd410y7t.js → model-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{file-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{file-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{file-g86h250q.js → model-g86h250q.js} +0 -0
  744. /package/dist/chunks/{file-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{file-gftt206x.js → model-gftt206x.js} +0 -0
  746. /package/dist/chunks/{file-hjbc5kem.js → model-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{file-hk9envan.js → model-hk9envan.js} +0 -0
  748. /package/dist/chunks/{file-hrnqkpcd.js → model-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{file-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{file-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{file-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{file-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{file-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{file-mp448xyj.js → model-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{file-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{file-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{file-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{file-njntx4h6.js → model-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{file-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{file-q74kybfr.js → model-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{file-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{file-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{file-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{file-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{file-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{file-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{file-sk3qaz4a.js → model-sk3qaz4a.js} +0 -0
  768. /package/dist/chunks/{file-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{file-twg0f83k.js → model-twg0f83k.js} +0 -0
  770. /package/dist/chunks/{file-w803qqfp.js → model-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{file-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{file-wtztk69x.js → model-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{file-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{file-x61499pn.js → model-x61499pn.js} +0 -0
  775. /package/dist/chunks/{file-y44na4kk.js → model-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{file-y8cydn3q.js → model-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{file-y8f7s663.js → model-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{file-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{file-ym463w8f.js → model-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{file-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-922hggd3.js";
4
+ } from "./model-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./file-dpkg50ah.js";
7
+ } from "./model-jwcy2c2z.js";
8
8
  import {
9
9
  __export
10
- } from "./file-9rqn6x4v.js";
10
+ } from "./model-9rqn6x4v.js";
11
11
 
12
12
  // src/git.ts
13
13
  var exports_git3 = {};
@@ -15,11 +15,11 @@ __export(exports_git3, {
15
15
  Git: () => exports_git3,
16
16
  OperationError: () => OperationError3,
17
17
  Repository: () => Repository2,
18
- Service: () => Service78,
18
+ Service: () => Service76,
19
19
  TreeID: () => TreeID2,
20
20
  Worktree: () => Worktree2,
21
21
  WorktreeError: () => WorktreeError2,
22
- node: () => node83
22
+ node: () => node81
23
23
  });
24
24
  import path from "path";
25
25
  import { Context, Effect, Layer, Schema } from "effect";
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
85
85
  }) {
86
86
  }
87
87
 
88
- class Service78 extends Context.Service()("@opencode/Git") {
88
+ class Service76 extends Context.Service()("@opencode/Git") {
89
89
  }
90
- var layer = Layer.effect(Service78, Effect.gen(function* () {
90
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
91
91
  const fs = yield* FSUtil.Service;
92
92
  const proc = yield* AppProcess.Service;
93
93
  const locks = makeUnsafe2();
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
409
409
  kind: index === 0 ? "main" : "linked"
410
410
  }));
411
411
  });
412
- return Service78.of({
412
+ return Service76.of({
413
413
  repo: { discover, clone, create },
414
414
  remote: { get: remote },
415
415
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
425
425
  }
426
426
  });
427
427
  }));
428
- var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
428
+ var node81 = makeGlobalNode({ service: Service76, layer, deps: [FSUtil.node, AppProcess.node] });
429
429
  function run(cwd, proc, args) {
430
430
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
431
431
  }
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
450
450
  return path.resolve(cwd, normalized);
451
451
  }
452
452
 
453
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
453
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service76, node81, exports_git3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-9khdf5s3.js";
3
+ } from "./model-2653mqwd.js";
4
4
  import {
5
- Service79
6
- } from "./file-3ec5gh45.js";
5
+ Service77
6
+ } from "./model-y5aw8mtm.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event18
10
- } from "./file-4we3c2am.js";
10
+ } from "./model-pagpqc31.js";
11
11
  import {
12
- ID9,
12
+ ID10,
13
13
  MethodID2
14
- } from "./file-07ch4k8a.js";
14
+ } from "./model-mtgrzfqg.js";
15
15
  import {
16
- ID13
17
- } from "./file-rqnks7rh.js";
16
+ ID14
17
+ } from "./model-njr1pezb.js";
18
18
  import {
19
19
  Family2
20
- } from "./file-h2fpsr6d.js";
20
+ } from "./model-tj0j24wc.js";
21
21
  import {
22
22
  bootstrap2
23
- } from "./file-pjvnvgmy.js";
23
+ } from "./model-pjvnvgmy.js";
24
24
 
25
25
  // src/plugin/provider/digitalocean.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
28
28
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
29
- var providerID = ID13.make("digitalocean");
30
- var integrationID = ID9.make("digitalocean");
29
+ var providerID = ID14.make("digitalocean");
30
+ var integrationID = ID10.make("digitalocean");
31
31
  var methodID = MethodID2.make("browser");
32
32
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
33
33
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -115,7 +115,7 @@ var oauth = {
115
115
  var DigitalOceanPlugin2 = define({
116
116
  id: "opencode.provider.digitalocean",
117
117
  effect: Effect.fn(function* (ctx) {
118
- const bus = yield* Service79;
118
+ const bus = yield* Service77;
119
119
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
120
120
  const loading = Semaphore.makeUnsafe(1);
121
121
  const loaded = { routers: [] };
@@ -1,9 +1,9 @@
1
1
  // src/filesystem/watcher-binding.ts
2
2
  import { createRequire } from "node:module";
3
- function load2() {
3
+ function load3() {
4
4
  const require2 = createRequire(import.meta.url);
5
5
  const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
6
6
  return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
7
7
  }
8
8
 
9
- export { load2 };
9
+ export { load3 };
@@ -2,17 +2,17 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-922hggd3.js";
5
+ } from "./model-922hggd3.js";
6
6
  import {
7
- Service74,
8
- node78
9
- } from "./file-xz25bmqh.js";
7
+ Service72,
8
+ node76
9
+ } from "./model-3j9mgshd.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./file-8d7r5vzw.js";
12
+ } from "./model-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./file-9rqn6x4v.js";
15
+ } from "./model-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service73,
24
- node: () => node77
23
+ Service: () => Service71,
24
+ node: () => node75
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service73 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service71 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service73, Effect.gen(function* () {
67
- const environment = yield* Service74;
66
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
67
+ const environment = yield* Service72;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service73.of({
95
+ return Service71.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node77 = makeLocationNode({ service: Service73, layer, deps: [node78, RipgrepBinary2.node] });
178
+ var node75 = makeLocationNode({ service: Service71, layer, deps: [node76, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service73, node77, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service71, node75, exports_ripgrep };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./file-pxs9g58w.js";
3
+ } from "./model-e3mczv1f.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./file-twg0f83k.js";
6
+ } from "./model-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./model-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make23,
9
+ make: () => make21,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make23 = () => Effect.sync(makeUnsafe2);
29
+ var make21 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make23, exports_keyed_mutex };
31
+ export { makeUnsafe2, make21, exports_keyed_mutex };
@@ -1,48 +1,48 @@
1
1
  import {
2
- Service79
3
- } from "./file-3ec5gh45.js";
2
+ Service77
3
+ } from "./model-y5aw8mtm.js";
4
4
  import {
5
- Service62
6
- } from "./file-g6fqja2m.js";
5
+ Service79
6
+ } from "./model-cdxne2ts.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./file-kg06axw8.js";
12
+ } from "./model-kg06axw8.js";
13
13
  import {
14
- Service27,
14
+ Service30,
15
15
  awaitActivation2
16
- } from "./file-1x11rq2a.js";
16
+ } from "./model-9zdhvgqs.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./file-365b2wx5.js";
21
+ } from "./model-k9scmdec.js";
22
22
  import {
23
23
  __export
24
- } from "./file-9rqn6x4v.js";
24
+ } from "./model-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
29
  Event: () => Event4,
30
- ID: () => ID2,
31
- Info: () => Info2,
30
+ ID: () => ID3,
31
+ Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service27,
33
+ Service: () => Service30,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
37
  node: () => node21
38
38
  });
39
- import { Event as Event4, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service27, Effect.gen(function* () {
44
- const bus = yield* Service79;
45
- const kv = yield* Service62;
43
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
44
+ const bus = yield* Service77;
45
+ const kv = yield* Service79;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service27.of({
208
+ return Service30.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -223,9 +223,9 @@ function slotInfo(slot) {
223
223
  };
224
224
  }
225
225
  var node21 = Node.makeLocationNode({
226
- service: Service27,
226
+ service: Service30,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node21, exports_plugin2, Event4, ID2, Info2, Source2, State2 };
231
+ export { node21, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./file-922hggd3.js";
3
+ } from "./model-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service52
7
- } from "./file-j2xqzd67.js";
6
+ Service61
7
+ } from "./model-18ercc3f.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./file-2a5m3afh.js";
10
+ } from "./model-2a5m3afh.js";
11
11
  import {
12
- Service74
13
- } from "./file-xz25bmqh.js";
12
+ Service72
13
+ } from "./model-3j9mgshd.js";
14
14
  import {
15
- Service61
16
- } from "./file-cyfhm506.js";
15
+ Service78
16
+ } from "./model-bwmrk78f.js";
17
17
  import {
18
- Service56
19
- } from "./file-h9n27kr1.js";
18
+ Service41
19
+ } from "./model-px95k3y4.js";
20
20
  import {
21
- Service55,
21
+ Service13,
22
22
  resolvePath2
23
- } from "./file-g7hhbneb.js";
23
+ } from "./model-g5p9v76r.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./file-fxbjtjnd.js";
29
+ } from "./model-fxbjtjnd.js";
30
30
  import {
31
- Service72,
31
+ Service65,
32
32
  name15
33
- } from "./file-ekkfxm1b.js";
33
+ } from "./model-7925xp00.js";
34
34
  import {
35
- NotFoundError4,
36
- Service40
37
- } from "./file-d9s96shc.js";
35
+ NotFoundError9,
36
+ Service58
37
+ } from "./model-cdf4b59p.js";
38
38
  import {
39
- Service22
40
- } from "./file-fbgw5egt.js";
39
+ Service18
40
+ } from "./model-ennqj48b.js";
41
41
  import {
42
42
  scan2
43
- } from "./file-3jrr9nrh.js";
43
+ } from "./model-4s650q2q.js";
44
44
  import {
45
45
  __export
46
- } from "./file-9rqn6x4v.js";
46
+ } from "./model-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input8,
53
- Plugin: () => Plugin9,
54
- ShellTool: () => exports_shell,
55
- name: () => name8
52
+ Input: () => Input9,
53
+ Plugin: () => Plugin40,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name9
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name8 = "shell";
59
+ var name9 = "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 Input8 = Schema.Struct({
73
+ var Input9 = 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 Plugin9 = {
118
+ var Plugin40 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service22;
122
- const jobs = yield* Service61;
121
+ const sessions = yield* Service18;
122
+ const jobs = yield* Service78;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service74;
125
- const access = yield* Service55;
126
- const shell = yield* Service40;
127
- const shellSelect = yield* Service72;
124
+ const environment = yield* Service72;
125
+ const access = yield* Service13;
126
+ const shell = yield* Service58;
127
+ const shellSelect = yield* Service65;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service56;
130
- const config = yield* Service52;
129
+ const permission = yield* Service41;
130
+ const config = yield* Service61;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin9 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name8,
149
+ action: name9,
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 Plugin9 = {
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: name8,
186
+ name: name9,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input8,
189
+ input: Input9,
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 Plugin9 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError4({ id: info.id });
208
+ return yield* new NotFoundError9({ 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: name8,
222
+ type: name9,
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
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
252
- const tool = event.tools[name8];
252
+ const tool = event.tools[name9];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
257
257
  })
258
258
  };
259
259
 
260
- export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin9, exports_shell };
260
+ export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin40, exports_shell2 };