@opencode/core 0.0.0-dev-20332 → 0.0.0-dev-20335

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{location-v47bnj70.js → repository-0d42ryz0.js} +5 -5
  8. package/dist/chunks/{location-q4t44wz3.js → repository-0d66s06f.js} +20 -20
  9. package/dist/chunks/{location-s8d7rejh.js → repository-0gdmqesm.js} +4 -4
  10. package/dist/chunks/{location-3taabba9.js → repository-0k2n229t.js} +30 -30
  11. package/dist/chunks/{location-ccmvvhm9.js → repository-0mcex0vm.js} +46 -46
  12. package/dist/chunks/{location-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-2dk0h958.js → repository-0zxndn7z.js} +17 -17
  14. package/dist/chunks/{location-3d6pamsn.js → repository-14deg24w.js} +11 -11
  15. package/dist/chunks/{location-n4q62pja.js → repository-15rs1j4r.js} +16 -16
  16. package/dist/chunks/{location-k57g4mqh.js → repository-16vz77rp.js} +14 -14
  17. package/dist/chunks/{location-e9gcwejs.js → repository-177x5hfm.js} +22 -22
  18. package/dist/chunks/{location-ryry5wbd.js → repository-1bbp1d6c.js} +1 -1
  19. package/dist/chunks/{location-xx2ckhja.js → repository-1c5jrzvp.js} +16 -16
  20. package/dist/chunks/{location-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{location-4e8vs6eh.js → repository-1gfgk62c.js} +8 -8
  22. package/dist/chunks/{location-1k7nw2np.js → repository-1nhg81ky.js} +17 -17
  23. package/dist/chunks/{location-d956t663.js → repository-1sev21en.js} +4 -4
  24. package/dist/chunks/{location-jwpvd8r9.js → repository-1wb0x8n3.js} +8 -8
  25. package/dist/chunks/{location-f00515wj.js → repository-1wwpvd1c.js} +19 -19
  26. package/dist/chunks/{location-e19eaq7y.js → repository-1xpch1h6.js} +9 -9
  27. package/dist/chunks/{location-21r38tys.js → repository-21r38tys.js} +1 -1
  28. package/dist/chunks/{location-ky6yw5g0.js → repository-25kp255n.js} +12 -12
  29. package/dist/chunks/{location-z63w68vq.js → repository-29x78va6.js} +6 -6
  30. package/dist/chunks/{location-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{location-7jp52wrn.js → repository-2hqp8s59.js} +12 -12
  32. package/dist/chunks/{location-f1bvh024.js → repository-2jb0f4sx.js} +4 -4
  33. package/dist/chunks/{location-qgn6gcr1.js → repository-2k8khapm.js} +5 -5
  34. package/dist/chunks/{location-768gsh1v.js → repository-2p8k3371.js} +3 -3
  35. package/dist/chunks/{location-rk1r2hx8.js → repository-3556dn8t.js} +1 -1
  36. package/dist/chunks/{location-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{location-s5wrztbh.js → repository-3gxz2t13.js} +37 -37
  38. package/dist/chunks/{location-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{location-02e6a1xr.js → repository-3hwhnchq.js} +10 -10
  40. package/dist/chunks/{location-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{location-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{location-0j8kvx79.js → repository-3v0sd91a.js} +22 -22
  43. package/dist/chunks/{location-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{location-05fwr9d3.js → repository-44cd2caf.js} +35 -35
  45. package/dist/chunks/{location-mytbjss0.js → repository-4652gtcq.js} +26 -26
  46. package/dist/chunks/{location-nt4ws43p.js → repository-4crnhx2x.js} +10 -10
  47. package/dist/chunks/{location-95cvvvyw.js → repository-4enn4tzn.js} +9 -9
  48. package/dist/chunks/{location-dh3xf11m.js → repository-4j4dq07s.js} +8 -8
  49. package/dist/chunks/{location-cbh6g861.js → repository-4j6xyef2.js} +19 -19
  50. package/dist/chunks/{location-zfhqhftv.js → repository-4szb5sg6.js} +8 -8
  51. package/dist/chunks/{location-2yjkx9rh.js → repository-4z2cpt3j.js} +14 -14
  52. package/dist/chunks/{location-f29mbr7f.js → repository-4z58m4b4.js} +4 -4
  53. package/dist/chunks/{location-s22kpthy.js → repository-50d9sfsv.js} +18 -18
  54. package/dist/chunks/{location-54ma36ye.js → repository-54ma36ye.js} +1 -1
  55. package/dist/chunks/{location-1ygqh575.js → repository-56gdpj1q.js} +9 -9
  56. package/dist/chunks/{location-57ez7d0k.js → repository-57ez7d0k.js} +2 -2
  57. package/dist/chunks/{location-1s5awsvd.js → repository-588n7640.js} +9 -9
  58. package/dist/chunks/{location-1bfsfmvc.js → repository-5amwhyk8.js} +6 -6
  59. package/dist/chunks/{location-5daktx2q.js → repository-5daktx2q.js} +1 -1
  60. package/dist/chunks/{location-1v2cpr56.js → repository-5hcyjm69.js} +8 -8
  61. package/dist/chunks/{location-5fjen55d.js → repository-5kembwtx.js} +24 -24
  62. package/dist/chunks/{location-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{location-1me2azay.js → repository-5t80mpw4.js} +19 -19
  64. package/dist/chunks/{location-gx3evx6p.js → repository-5vh6m982.js} +22 -22
  65. package/dist/chunks/{location-50mzsvk4.js → repository-5wtwrezn.js} +21 -21
  66. package/dist/chunks/{location-hh3smdyr.js → repository-5xq3t6w1.js} +83 -83
  67. package/dist/chunks/{location-669tq793.js → repository-669tq793.js} +1 -1
  68. package/dist/chunks/{location-2a9ws08k.js → repository-6agef5e8.js} +2 -2
  69. package/dist/chunks/{location-sv9zqnbr.js → repository-6asekhfp.js} +25 -25
  70. package/dist/chunks/{location-dgchpn2c.js → repository-6cdq8sz3.js} +49 -49
  71. package/dist/chunks/{location-872key08.js → repository-6cnesaz1.js} +34 -34
  72. package/dist/chunks/{location-jjxrrmfz.js → repository-6g6nehze.js} +30 -30
  73. package/dist/chunks/{location-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{location-nbx7psha.js → repository-6qgczjnx.js} +48 -48
  75. package/dist/chunks/{location-2y8jjtjh.js → repository-7awdj4ds.js} +8 -8
  76. package/dist/chunks/{location-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{location-r3ewmwtm.js → repository-7gdfpyqw.js} +8 -8
  78. package/dist/chunks/{location-2rhe9xp4.js → repository-7mksp0wg.js} +18 -18
  79. package/dist/chunks/{location-9h352b91.js → repository-7rkyr6sz.js} +10 -10
  80. package/dist/chunks/{location-65y5gv5n.js → repository-7wcp0dp1.js} +9 -9
  81. package/dist/chunks/{location-3f0ygkn9.js → repository-7x182g3c.js} +13 -13
  82. package/dist/chunks/{location-ma15yhyh.js → repository-7xyrrtj6.js} +5 -5
  83. package/dist/chunks/{location-1bbkgx8g.js → repository-7yh4e7ss.js} +3 -3
  84. package/dist/chunks/{location-6anwy9fs.js → repository-7yqjxrmz.js} +6 -6
  85. package/dist/chunks/{location-a2ew8a62.js → repository-806j49yq.js} +4 -4
  86. package/dist/chunks/{location-84txncab.js → repository-84txncab.js} +1 -1
  87. package/dist/chunks/{location-sq9hdhx4.js → repository-86m3yb96.js} +25 -25
  88. package/dist/chunks/{location-xxk5ry2v.js → repository-87deq66t.js} +6 -6
  89. package/dist/chunks/{location-a0j7zc8d.js → repository-8b0rfz7c.js} +1 -1
  90. package/dist/chunks/{location-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{location-asr5c240.js → repository-8gtajd2c.js} +35 -35
  92. package/dist/chunks/{location-nbzsj80d.js → repository-8hgfhrm0.js} +11 -11
  93. package/dist/chunks/{location-gq4sc612.js → repository-8q2kdvn6.js} +22 -22
  94. package/dist/chunks/{location-86qzxe6p.js → repository-8tsdq50x.js} +4 -4
  95. package/dist/chunks/{location-d5s762pw.js → repository-91869f37.js} +27 -27
  96. package/dist/chunks/{location-gfvb90ym.js → repository-94ek1h2f.js} +2 -2
  97. package/dist/chunks/{location-y5bmmmc5.js → repository-95w30yp9.js} +20 -20
  98. package/dist/chunks/{location-4zx2nvpt.js → repository-9cvjrp9p.js} +4 -4
  99. package/dist/chunks/{location-tcc6ccqd.js → repository-9y6gpmex.js} +15 -15
  100. package/dist/chunks/{location-4tyy50z7.js → repository-9yegeevc.js} +18 -18
  101. package/dist/chunks/{location-fdms3n6w.js → repository-a3ftg8j6.js} +9 -9
  102. package/dist/chunks/{location-aaet6srn.js → repository-aaet6srn.js} +2 -2
  103. package/dist/chunks/{location-nsj03r65.js → repository-adpk0erv.js} +71 -71
  104. package/dist/chunks/{location-na0xys1v.js → repository-ah7atdab.js} +12 -12
  105. package/dist/chunks/{location-yataeycs.js → repository-ah8v3g6t.js} +11 -11
  106. package/dist/chunks/{location-7et7x3nj.js → repository-amrnnyta.js} +10 -10
  107. package/dist/chunks/{location-aaryx3hz.js → repository-an4zz5am.js} +14 -14
  108. package/dist/chunks/{location-e003b4c3.js → repository-aqryd466.js} +24 -24
  109. package/dist/chunks/{location-g60qj5yf.js → repository-arn5xykm.js} +2 -2
  110. package/dist/chunks/repository-b02qhphd.js +252 -0
  111. package/dist/chunks/{location-vd7rzxqf.js → repository-b4p19tx4.js} +5 -5
  112. package/dist/chunks/{location-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{location-kx2dxvka.js → repository-b78x4hqs.js} +14 -14
  114. package/dist/chunks/{location-zaj0f5yc.js → repository-bfm303mw.js} +4 -4
  115. package/dist/chunks/{location-t3th97kz.js → repository-bjcxr48j.js} +28 -28
  116. package/dist/chunks/{location-eab37ged.js → repository-bjpa3xan.js} +17 -17
  117. package/dist/chunks/{location-1z0tyxgk.js → repository-bkgqdper.js} +19 -19
  118. package/dist/chunks/{location-kytmjyy3.js → repository-bnhgcfss.js} +24 -24
  119. package/dist/chunks/{location-tvyjc43w.js → repository-bnzngw4e.js} +42 -42
  120. package/dist/chunks/{location-g86wtp00.js → repository-bwnx15mf.js} +55 -55
  121. package/dist/chunks/{location-gjwgx2c5.js → repository-c765mh8b.js} +9 -9
  122. package/dist/chunks/{location-3sy0yjgf.js → repository-c91ayza2.js} +24 -24
  123. package/dist/chunks/{location-yy0n8m79.js → repository-ccmf13nx.js} +15 -15
  124. package/dist/chunks/{location-mdngnccz.js → repository-ccqvcrpm.js} +18 -18
  125. package/dist/chunks/{location-54tcyq79.js → repository-ckecvw8r.js} +2 -2
  126. package/dist/chunks/{location-4wm3hfb6.js → repository-cp1npnye.js} +23 -23
  127. package/dist/chunks/{location-wm5q5x5p.js → repository-cp7v009q.js} +3 -3
  128. package/dist/chunks/{location-m32f1x6e.js → repository-cw8972wq.js} +13 -13
  129. package/dist/chunks/{location-wtebr0tv.js → repository-d3bs9tdw.js} +9 -9
  130. package/dist/chunks/{location-tg37w3py.js → repository-dkbdvgew.js} +5 -5
  131. package/dist/chunks/{location-dnxkq42g.js → repository-dnxkq42g.js} +1 -1
  132. package/dist/chunks/{location-z3pw5915.js → repository-dqmwfghx.js} +5 -5
  133. package/dist/chunks/{location-5qd3pb7m.js → repository-e3qxr5gk.js} +2 -2
  134. package/dist/chunks/{location-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
  135. package/dist/chunks/{location-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{location-8zefm95q.js → repository-eft2fq7z.js} +29 -29
  137. package/dist/chunks/{location-fsq7s6yz.js → repository-efz4qfm7.js} +9 -9
  138. package/dist/chunks/{location-7hg2a0kf.js → repository-eg45xm7b.js} +18 -18
  139. package/dist/chunks/{location-gv420m70.js → repository-ehmk2s93.js} +10 -10
  140. package/dist/chunks/{location-6zx481ey.js → repository-ej670j8y.js} +7 -7
  141. package/dist/chunks/{location-ttqh24zm.js → repository-embw8kgh.js} +4 -4
  142. package/dist/chunks/{location-et1vwb50.js → repository-enhmk9nd.js} +313 -313
  143. package/dist/chunks/{location-t6z4h4ef.js → repository-epd18y3s.js} +3 -3
  144. package/dist/chunks/{location-9gjvh9w7.js → repository-epnzmdpm.js} +14 -14
  145. package/dist/chunks/{location-4v7ngy20.js → repository-espax8zg.js} +4 -4
  146. package/dist/chunks/{location-2c22wpxs.js → repository-esvq6ems.js} +1 -1
  147. package/dist/chunks/{location-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{location-4etn4a9t.js → repository-f136476x.js} +16 -16
  149. package/dist/chunks/{location-a9mb7h9k.js → repository-f19qfh98.js} +7 -7
  150. package/dist/chunks/{location-qcn3qcd0.js → repository-f6hq4jm4.js} +42 -42
  151. package/dist/chunks/{location-d4tjmbxj.js → repository-fdkzaggf.js} +16 -16
  152. package/dist/chunks/{location-k75d9tpj.js → repository-fp6c7zsr.js} +30 -30
  153. package/dist/chunks/{location-qcewvjcq.js → repository-frwzdz0p.js} +2 -2
  154. package/dist/chunks/{location-ze5v0a14.js → repository-gc135ar8.js} +8 -8
  155. package/dist/chunks/{location-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{location-1pz63znb.js → repository-ge62tnff.js} +18 -18
  157. package/dist/chunks/{location-359gy9a3.js → repository-gjcmh5na.js} +30 -30
  158. package/dist/chunks/{location-jwwfgh84.js → repository-gmq1kaeg.js} +12 -12
  159. package/dist/chunks/{location-72fr57kk.js → repository-grmhakfb.js} +22 -22
  160. package/dist/chunks/{location-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{location-ams685p7.js → repository-gwzjmqr0.js} +3 -3
  162. package/dist/chunks/{location-23sxaqwc.js → repository-gzbkpp9m.js} +6 -6
  163. package/dist/chunks/{location-b68jqyy9.js → repository-h6qw6arq.js} +17 -17
  164. package/dist/chunks/{location-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{location-wbkyxrgf.js → repository-hcz3zddy.js} +5 -5
  166. package/dist/chunks/{location-221tqkqe.js → repository-hfdq9xfh.js} +38 -38
  167. package/dist/chunks/{location-kc0d3shj.js → repository-hm1b0gbb.js} +28 -28
  168. package/dist/chunks/{location-k31jet3a.js → repository-hstvm2rm.js} +21 -21
  169. package/dist/chunks/{location-j56e64zr.js → repository-j56e64zr.js} +1 -1
  170. package/dist/chunks/{location-1858jtnb.js → repository-j77nvagq.js} +20 -20
  171. package/dist/chunks/{location-1jwd9cqs.js → repository-jevn6b1b.js} +18 -18
  172. package/dist/chunks/{location-ypahm2w0.js → repository-jfz7kgha.js} +10 -10
  173. package/dist/chunks/{location-zt2wse74.js → repository-jkzkeyzq.js} +3 -3
  174. package/dist/chunks/{location-74cpa34g.js → repository-jpa7cehe.js} +16 -16
  175. package/dist/chunks/repository-jqh9b0xq.js +18 -0
  176. package/dist/chunks/{location-33fcxst2.js → repository-jrpxshtx.js} +30 -30
  177. package/dist/chunks/{location-g52yw51c.js → repository-jrvxvghc.js} +15 -15
  178. package/dist/chunks/{location-vmwz11wz.js → repository-k2mvq2xf.js} +3 -3
  179. package/dist/chunks/{location-nzks3jc8.js → repository-k3c624dm.js} +3 -3
  180. package/dist/chunks/{location-s083egkz.js → repository-k8ard8cz.js} +80 -80
  181. package/dist/chunks/{location-bnzwt7hj.js → repository-kbrbwa51.js} +1 -1
  182. package/dist/chunks/{location-wx12zf4r.js → repository-kgf2e1tk.js} +6 -6
  183. package/dist/chunks/{location-42f0htzm.js → repository-kye418mf.js} +12 -12
  184. package/dist/chunks/{location-7w64dbzf.js → repository-kz2hxhwe.js} +16 -16
  185. package/dist/chunks/{location-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{location-dchp67v4.js → repository-m7153hwt.js} +30 -30
  187. package/dist/chunks/{location-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{location-cy820888.js → repository-mj08mqq8.js} +7 -7
  189. package/dist/chunks/{location-913tdmgz.js → repository-msvxw073.js} +46 -46
  190. package/dist/chunks/{location-k1qrnqst.js → repository-mxr1v1s0.js} +8 -8
  191. package/dist/chunks/{location-g9nkqj1a.js → repository-my042x6s.js} +22 -22
  192. package/dist/chunks/{location-wr5k3gxd.js → repository-mzrbxmyd.js} +11 -11
  193. package/dist/chunks/{location-ewjxmwng.js → repository-n0snsaj8.js} +13 -13
  194. package/dist/chunks/{location-g11yarsy.js → repository-n1p8stbd.js} +11 -11
  195. package/dist/chunks/{location-zt4c6sfd.js → repository-n26pg8f3.js} +12 -12
  196. package/dist/chunks/{location-vsgdn61q.js → repository-n9kzwy15.js} +8 -8
  197. package/dist/chunks/{location-jpqr5ghe.js → repository-ng5pw36k.js} +8 -8
  198. package/dist/chunks/{location-631cxsgm.js → repository-njp7nbsm.js} +7 -7
  199. package/dist/chunks/{location-nng2ktcm.js → repository-nng2ktcm.js} +2 -2
  200. package/dist/chunks/{location-7b3n6txb.js → repository-npkye8kr.js} +135 -135
  201. package/dist/chunks/{location-j3s2z371.js → repository-nq7qbqzc.js} +9 -9
  202. package/dist/chunks/{location-1pcjwpaa.js → repository-nrsb7t6v.js} +37 -37
  203. package/dist/chunks/{location-bf6j3zq6.js → repository-nsdxmg59.js} +41 -41
  204. package/dist/chunks/{location-7gvwkz6m.js → repository-nxhqveyz.js} +5 -5
  205. package/dist/chunks/{location-2gh0pne0.js → repository-p3t27j1r.js} +13 -13
  206. package/dist/chunks/{location-p37cw4rj.js → repository-p42hj8p8.js} +8 -8
  207. package/dist/chunks/{location-0550q54d.js → repository-p540ebbs.js} +18 -18
  208. package/dist/chunks/{location-p5gnfa3n.js → repository-ph4v5nv3.js} +10 -10
  209. package/dist/chunks/{location-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{location-pknna89w.js → repository-pknna89w.js} +1 -1
  211. package/dist/chunks/{location-py3kkmfq.js → repository-py3kkmfq.js} +2 -2
  212. package/dist/chunks/{location-gecshvrx.js → repository-qesg53n6.js} +18 -18
  213. package/dist/chunks/{location-96rcg50q.js → repository-qnqdsnqy.js} +17 -17
  214. package/dist/chunks/{location-p5vt4w12.js → repository-qpedwap1.js} +20 -20
  215. package/dist/chunks/{location-qsdy395h.js → repository-qsdy395h.js} +1 -1
  216. package/dist/chunks/{location-4t90qbzd.js → repository-qx2z80z2.js} +6 -6
  217. package/dist/chunks/{location-nkbr3xyj.js → repository-qy7g33vm.js} +5 -5
  218. package/dist/chunks/{location-bf0ztrs3.js → repository-r98e92ep.js} +4 -4
  219. package/dist/chunks/{location-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{location-aad20b43.js → repository-rgzws67g.js} +21 -21
  221. package/dist/chunks/{location-0xr4jven.js → repository-rr68r3wr.js} +4 -4
  222. package/dist/chunks/{location-meh18akk.js → repository-rscpm148.js} +9 -9
  223. package/dist/chunks/{location-pnkgaxte.js → repository-s0wrr388.js} +5 -5
  224. package/dist/chunks/{location-3cteaq89.js → repository-s3525we2.js} +11 -11
  225. package/dist/chunks/{location-yrznvahk.js → repository-s4enseaf.js} +2 -2
  226. package/dist/chunks/{location-2d5t5e6c.js → repository-s7ftbfps.js} +6 -6
  227. package/dist/chunks/{location-zyxd3cry.js → repository-s7ts0s5b.js} +32 -32
  228. package/dist/chunks/{location-3pswvgk6.js → repository-smb3a1vy.js} +13 -13
  229. package/dist/chunks/{location-ed9n86pt.js → repository-spzctr33.js} +30 -30
  230. package/dist/chunks/{location-c8q14vds.js → repository-sr1f61nh.js} +23 -23
  231. package/dist/chunks/{location-c0c4g6cm.js → repository-ss8nxy6a.js} +33 -33
  232. package/dist/chunks/{location-n51wg4q9.js → repository-swxh916n.js} +9 -9
  233. package/dist/chunks/{location-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{location-mzywpf3p.js → repository-tazp3vs0.js} +4 -4
  235. package/dist/chunks/{location-shrpy2d8.js → repository-tcay1cqt.js} +6 -6
  236. package/dist/chunks/{location-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{location-snvbww7e.js → repository-td8xq64f.js} +29 -29
  238. package/dist/chunks/{location-tdstcens.js → repository-tdstcens.js} +1 -1
  239. package/dist/chunks/{location-hv4bgzk9.js → repository-tft3ktne.js} +10 -10
  240. package/dist/chunks/{location-ahsxsgn9.js → repository-tjp7nbbc.js} +1 -1
  241. package/dist/chunks/{location-mcvtpcr6.js → repository-tjtpwfd8.js} +11 -11
  242. package/dist/chunks/{location-svzh0x98.js → repository-tvqfpfee.js} +6 -6
  243. package/dist/chunks/{location-tvtrv512.js → repository-tvtrv512.js} +1 -1
  244. package/dist/chunks/{location-gc4fb455.js → repository-tx92n959.js} +4 -4
  245. package/dist/chunks/{location-3frysrkz.js → repository-tygebkv4.js} +18 -18
  246. package/dist/chunks/{location-w9gb1mzf.js → repository-v72s44yw.js} +11 -11
  247. package/dist/chunks/{location-smb7m2tf.js → repository-vctgtqyk.js} +8 -8
  248. package/dist/chunks/{location-veqvce7d.js → repository-veqvce7d.js} +1 -1
  249. package/dist/chunks/{location-z42abtxa.js → repository-vmzvv6jk.js} +11 -11
  250. package/dist/chunks/{location-gmjq4p6e.js → repository-vy4zg7qh.js} +5 -5
  251. package/dist/chunks/{location-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{location-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{location-hcr9xn5j.js → repository-w01ghv19.js} +14 -14
  254. package/dist/chunks/{location-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{location-psazpmmj.js → repository-wd3x2cqz.js} +2 -2
  256. package/dist/chunks/{location-wd87259q.js → repository-wd87259q.js} +1 -1
  257. package/dist/chunks/{location-0a9efqg1.js → repository-wfnh7d6s.js} +11 -11
  258. package/dist/chunks/{location-nfjrmqy5.js → repository-wpy48h4a.js} +11 -11
  259. package/dist/chunks/{location-wvjbag1w.js → repository-wr7z7pm1.js} +12 -12
  260. package/dist/chunks/{location-zefk2w7j.js → repository-wwwg9xe9.js} +15 -15
  261. package/dist/chunks/{location-qe750zdm.js → repository-wzwyn12v.js} +8 -8
  262. package/dist/chunks/{location-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{location-32ymn5e1.js → repository-x3drdvdf.js} +9 -9
  264. package/dist/chunks/{location-45ev0h4b.js → repository-x5sf7ath.js} +1 -1
  265. package/dist/chunks/{location-q78ntncr.js → repository-xew1cczc.js} +23 -23
  266. package/dist/chunks/{location-xfkkasph.js → repository-xfkkasph.js} +1 -1
  267. package/dist/chunks/{location-dmqcgk4z.js → repository-xkntkrq7.js} +5 -5
  268. package/dist/chunks/{location-prse58hf.js → repository-xs9p6a56.js} +3 -3
  269. package/dist/chunks/repository-xxzmwayv.js +26 -0
  270. package/dist/chunks/{location-84j8m7e3.js → repository-y0arntg5.js} +7 -7
  271. package/dist/chunks/{location-k7myrtme.js → repository-y16p1w2y.js} +9 -9
  272. package/dist/chunks/{location-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{location-y71avatq.js → repository-y71avatq.js} +1 -1
  274. package/dist/chunks/{location-cc748a61.js → repository-yarqv08n.js} +3 -3
  275. package/dist/chunks/{location-ap0c1ha6.js → repository-ymz6mr5d.js} +30 -30
  276. package/dist/chunks/{location-j1ep2ape.js → repository-ynaczmmt.js} +18 -18
  277. package/dist/chunks/{location-r8xr0va3.js → repository-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{location-fw3ksk4v.js → repository-yqs7fwh1.js} +6 -6
  279. package/dist/chunks/{location-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{location-r4vt6ek9.js → repository-ytsv5nsm.js} +26 -26
  281. package/dist/chunks/{location-bjtzbw4r.js → repository-z07pqspn.js} +3 -3
  282. package/dist/chunks/{location-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{location-bvxa250g.js → repository-z21br254.js} +11 -11
  284. package/dist/chunks/{location-405thefk.js → repository-zbttfwdc.js} +9 -9
  285. package/dist/chunks/{location-b2jxfxck.js → repository-zcxn7avd.js} +27 -27
  286. package/dist/chunks/{location-qdbakdjh.js → repository-zd30eb5w.js} +5 -5
  287. package/dist/chunks/{location-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{location-a3b6bg5k.js → repository-zjddxd3j.js} +12 -12
  289. package/dist/chunks/{location-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{location-grxcxy9j.js → repository-zvjhkatg.js} +8 -8
  291. package/dist/chunks/{location-zwxq93tf.js → repository-zx9zy5mt.js} +19 -19
  292. package/dist/chunks/{location-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +159 -159
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +122 -122
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +123 -123
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +77 -77
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +90 -90
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +228 -228
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +100 -100
  432. package/dist/form.js +72 -72
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +83 -83
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +1 -1
  465. package/dist/integration.js +81 -81
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +105 -105
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +94 -94
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +93 -93
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +354 -354
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +226 -226
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +93 -93
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +91 -91
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +87 -87
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +135 -135
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +7 -7
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +222 -222
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +15 -15
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +77 -77
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +1 -1
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +213 -213
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +213 -213
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +128 -128
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +121 -121
  649. package/dist/tool/plugin/shell.js +218 -218
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +218 -218
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +98 -98
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +12 -12
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +4 -4
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +7 -7
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +78 -78
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +79 -79
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +8 -8
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/location-57v02fd6.js +0 -26
  701. package/dist/chunks/location-m8n3k53h.js +0 -252
  702. package/dist/chunks/location-rap9a73h.js +0 -18
  703. /package/dist/chunks/{location-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{location-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{location-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{location-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{location-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{location-24dcb14g.js → repository-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{location-2710q6r3.js → repository-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{location-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{location-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{location-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{location-359p4xyc.js → repository-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{location-3asan66x.js → repository-3asan66x.js} +0 -0
  715. /package/dist/chunks/{location-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{location-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{location-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{location-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{location-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{location-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{location-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{location-53557ph1.js → repository-53557ph1.js} +0 -0
  723. /package/dist/chunks/{location-550bvhaj.js → repository-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{location-6prwharc.js → repository-6prwharc.js} +0 -0
  725. /package/dist/chunks/{location-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{location-7m9af43g.js → repository-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{location-7w99qc9d.js → repository-7w99qc9d.js} +0 -0
  728. /package/dist/chunks/{location-822emrt2.js → repository-822emrt2.js} +0 -0
  729. /package/dist/chunks/{location-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{location-8n3pysct.js → repository-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{location-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{location-922hggd3.js → repository-922hggd3.js} +0 -0
  733. /package/dist/chunks/{location-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{location-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{location-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{location-af5trqkr.js → repository-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{location-afrmfg78.js → repository-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{location-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{location-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{location-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{location-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{location-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{location-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{location-d9fn303g.js → repository-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{location-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{location-dajrwvna.js → repository-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{location-dap0rakb.js → repository-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{location-df08tz66.js → repository-df08tz66.js} +0 -0
  749. /package/dist/chunks/{location-dy18nga0.js → repository-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{location-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{location-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{location-ec1grn59.js → repository-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{location-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{location-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{location-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{location-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{location-faypxj3z.js → repository-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{location-fd410y7t.js → repository-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{location-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{location-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{location-g86h250q.js → repository-g86h250q.js} +0 -0
  762. /package/dist/chunks/{location-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{location-gftt206x.js → repository-gftt206x.js} +0 -0
  764. /package/dist/chunks/{location-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{location-hk9envan.js → repository-hk9envan.js} +0 -0
  766. /package/dist/chunks/{location-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{location-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{location-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{location-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{location-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{location-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{location-mp448xyj.js → repository-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{location-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{location-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{location-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{location-njntx4h6.js → repository-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{location-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{location-q74kybfr.js → repository-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{location-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{location-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{location-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{location-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{location-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{location-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{location-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{location-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{location-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{location-w803qqfp.js → repository-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{location-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{location-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{location-wtztk69x.js → repository-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{location-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{location-x61499pn.js → repository-x61499pn.js} +0 -0
  794. /package/dist/chunks/{location-y44na4kk.js → repository-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{location-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{location-y8f7s663.js → repository-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{location-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{location-ym463w8f.js → repository-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{location-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-zaj0f5yc.js";
4
+ } from "./repository-bfm303mw.js";
5
5
  import {
6
6
  create3
7
- } from "./location-rdw6cm16.js";
7
+ } from "./repository-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./repository-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- Agent: () => exports_agent4,
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
- Event: () => Event15,
18
- ID: () => ID11,
19
- Info: () => Info25,
17
+ Event: () => Event11,
18
+ ID: () => ID9,
19
+ Info: () => Info13,
20
20
  Name: () => Name3,
21
- Service: () => Service74,
21
+ Service: () => Service59,
22
22
  defaultID: () => defaultID2,
23
- node: () => node78
23
+ node: () => node61
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event15 } from "@opencode/schema/agent";
30
+ import { Event as Event11 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID11 = Agent.ID;
33
+ var ID9 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID11.make("build");
35
+ var defaultID2 = ID9.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info25 = Agent.Info;
37
+ var Info13 = Agent.Info;
38
38
 
39
- class Service74 extends Context.Service()("@opencode/Agent") {
39
+ class Service59 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service74, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
42
42
  const bus = yield* Service83;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info25.default(id);
60
+ const defaults = Info13.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID11.make("build")));
82
+ const build = selectable(data.agents.get(ID9.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service74.of({
91
+ return Service59.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID11.make(id));
99
+ return state.get().agents.get(ID9.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID11.make(id);
104
+ const selected = ID9.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node78 = makeLocationNode({ service: Service74, layer, deps: [node87, Global.node] });
119
+ var node61 = makeLocationNode({ service: Service59, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID11, Name3, defaultID2, Color2, Info25, Service74, node78, exports_agent4, Event15 };
121
+ export { ID9, Name3, defaultID2, Color2, Info13, Service59, node61, exports_agent3, Event11 };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID11,
3
- Service74
4
- } from "./location-kytmjyy3.js";
2
+ ID9,
3
+ Service59
4
+ } from "./repository-bnhgcfss.js";
5
5
  import {
6
6
  Ref2,
7
- Service75
8
- } from "./location-7hg2a0kf.js";
7
+ Service74
8
+ } from "./repository-eg45xm7b.js";
9
9
  import {
10
10
  latest2,
11
- Service59
12
- } from "./location-bf6j3zq6.js";
11
+ Service68
12
+ } from "./repository-nsdxmg59.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./location-7w99qc9d.js";
15
+ } from "./repository-7w99qc9d.js";
16
16
  import {
17
- Service57
18
- } from "./location-b68jqyy9.js";
17
+ Service62
18
+ } from "./repository-h6qw6arq.js";
19
19
  import {
20
20
  evaluate2,
21
- Service70
22
- } from "./location-g86wtp00.js";
21
+ Service56
22
+ } from "./repository-bwnx15mf.js";
23
23
  import {
24
- Service25
25
- } from "./location-s083egkz.js";
24
+ Service29
25
+ } from "./repository-k8ard8cz.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./location-x1ezjp6w.js";
28
+ } from "./repository-x1ezjp6w.js";
29
29
  import {
30
- make9
31
- } from "./location-0a9efqg1.js";
30
+ make5
31
+ } from "./repository-wfnh7d6s.js";
32
32
  import {
33
33
  __export
34
- } from "./location-9rqn6x4v.js";
34
+ } from "./repository-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input12,
40
- Output: () => Output8,
41
- Plugin: () => Plugin49,
39
+ Input: () => Input9,
40
+ Output: () => Output7,
41
+ Plugin: () => Plugin9,
42
42
  SubagentTool: () => exports_subagent,
43
43
  description: () => description5,
44
- name: () => name12
44
+ name: () => name9
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name12 = "subagent";
48
+ var name9 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input12 = Schema.Struct({
59
+ var Input9 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,7 +72,7 @@ var Input12 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output8 = Schema.Struct({
75
+ var Output7 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
@@ -86,16 +86,16 @@ var description5 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin49 = {
89
+ var Plugin9 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service25;
93
- const jobs = yield* Service57;
94
- const agents = yield* Service74;
95
- const config = yield* Service59;
96
- const permission = yield* Service70;
97
- const models = yield* Service75;
98
- const subagents = yield* make9;
92
+ const sessions = yield* Service29;
93
+ const jobs = yield* Service62;
94
+ const agents = yield* Service59;
95
+ const config = yield* Service68;
96
+ const permission = yield* Service56;
97
+ const models = yield* Service74;
98
+ const subagents = yield* make5;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin49 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name12,
118
+ name: name9,
119
119
  options: { codemode: false },
120
120
  description: description5,
121
- input: Input12,
122
- output: Output8,
121
+ input: Input9,
122
+ output: Output7,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin49 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name12,
142
+ action: name9,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin49 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID11.make(input.agent),
171
+ agent: ID9.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name12 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name9 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name12];
233
+ const tool = event.tools[name9];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name12, Input12, Output8, description5, Plugin49, exports_subagent };
256
+ export { name9, Input9, Output7, description5, Plugin9, exports_subagent };
@@ -1,70 +1,70 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-zaj0f5yc.js";
4
+ } from "./repository-bfm303mw.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./location-a3b6bg5k.js";
6
+ Service78,
7
+ node82
8
+ } from "./repository-zjddxd3j.js";
9
9
  import {
10
- ID11,
11
- Service74,
12
- node78
13
- } from "./location-kytmjyy3.js";
10
+ ID9,
11
+ Service59,
12
+ node61
13
+ } from "./repository-bnhgcfss.js";
14
14
  import {
15
- NotFoundError9
16
- } from "./location-32ymn5e1.js";
15
+ NotFoundError8
16
+ } from "./repository-x3drdvdf.js";
17
17
  import {
18
- Service72,
19
- node76
20
- } from "./location-74cpa34g.js";
18
+ Service57,
19
+ node59
20
+ } from "./repository-jpa7cehe.js";
21
21
  import {
22
22
  match2
23
- } from "./location-y1fvbwt7.js";
23
+ } from "./repository-y1fvbwt7.js";
24
24
  import {
25
- Service71,
26
- node75
27
- } from "./location-96rcg50q.js";
25
+ Service58,
26
+ node60
27
+ } from "./repository-qnqdsnqy.js";
28
28
  import {
29
- Service73,
30
- node77
31
- } from "./location-4e8vs6eh.js";
29
+ Service67,
30
+ node69
31
+ } from "./repository-1gfgk62c.js";
32
32
  import {
33
33
  __export
34
- } from "./location-9rqn6x4v.js";
34
+ } from "./repository-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission2 = {};
38
- __export(exports_permission2, {
37
+ var exports_permission = {};
38
+ __export(exports_permission, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event14,
46
- ID: () => ID8,
47
- NotFoundError: () => NotFoundError8,
48
- Permission: () => exports_permission2,
45
+ Event: () => Event10,
46
+ ID: () => ID7,
47
+ NotFoundError: () => NotFoundError7,
48
+ Permission: () => exports_permission,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule3,
52
+ Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service70,
54
+ Service: () => Service56,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node74
58
+ node: () => node58
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event14 } from "@opencode/schema/permission";
63
+ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event10 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID8 = Permission.ID;
67
+ var ID7 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID8.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID11.pipe(Schema.optional)
82
+ agent: ID9.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID8,
85
+ requestID: ID7,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID8,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID8
113
+ class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service70 extends Context.Service()("@opencode/Permission") {
128
+ class Service56 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service70, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
- const location = yield* Service80;
133
- const agents = yield* Service74;
134
- const sessions = yield* Service72;
135
- const saved = yield* Service71;
136
- const hooks = yield* Service73;
132
+ const location = yield* Service78;
133
+ const agents = yield* Service59;
134
+ const sessions = yield* Service57;
135
+ const saved = yield* Service58;
136
+ const hooks = yield* Service67;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError9({ sessionID });
159
+ return yield* new NotFoundError8({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID8.create(),
189
+ id: input.id ?? ID7.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID8.create(), effect: "deny" };
214
+ return { id: input.id ?? ID7.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError8({ requestID: input.requestID });
245
+ return yield* new NotFoundError7({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service70.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service56.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node74 = makeLocationNode({
303
- service: Service70,
302
+ var node58 = makeLocationNode({
303
+ service: Service56,
304
304
  layer,
305
- deps: [node87, node84, node78, node76, node75, node77]
305
+ deps: [node87, node82, node61, node59, node60, node69]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service70, node74, exports_permission2, Rule3, Ruleset2, Event14 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service56, node58, exports_permission, Rule2, Ruleset2, Event10 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./location-rdw6cm16.js";
3
+ } from "./repository-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service9,
13
- node: () => node10
12
+ Service: () => Service7,
13
+ node: () => node9
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service9, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service9.of({
44
+ return Service7.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node10 = makeLocationNode({ service: Service9, layer, deps: [] });
51
+ var node9 = makeLocationNode({ service: Service7, layer, deps: [] });
52
52
 
53
- export { Service9, node10, exports_location_watcher_policy };
53
+ export { Service7, node9, exports_location_watcher_policy };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./location-50mzsvk4.js";
6
+ } from "./repository-5wtwrezn.js";
7
7
  import {
8
- Info13
9
- } from "./location-nbzsj80d.js";
8
+ Info16
9
+ } from "./repository-8hgfhrm0.js";
10
10
  import {
11
- Info21
12
- } from "./location-z3pw5915.js";
11
+ Info23
12
+ } from "./repository-dqmwfghx.js";
13
13
  import {
14
- Info18
15
- } from "./location-a2ew8a62.js";
14
+ Info21
15
+ } from "./repository-806j49yq.js";
16
16
  import {
17
- Info19
18
- } from "./location-7gvwkz6m.js";
17
+ Info15
18
+ } from "./repository-nxhqveyz.js";
19
19
  import {
20
20
  Spec2
21
- } from "./location-qgn6gcr1.js";
21
+ } from "./repository-2k8khapm.js";
22
22
  import {
23
- Info15
24
- } from "./location-wbkyxrgf.js";
23
+ Info20
24
+ } from "./repository-hcz3zddy.js";
25
25
  import {
26
- Info12
27
- } from "./location-qcn3qcd0.js";
26
+ Info14
27
+ } from "./repository-f6hq4jm4.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./location-f1bvh024.js";
36
+ } from "./repository-2jb0f4sx.js";
37
37
  import {
38
38
  __export
39
- } from "./location-9rqn6x4v.js";
39
+ } from "./repository-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info12.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info14.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info21, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info23, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info18, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info21, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info19, value, path, diagnostics);
228
+ const server = decodeValue(Info15, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info15, raw, path, diagnostics);
424
+ const provider = decodeValue(Info20, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);