@opencode/core 0.0.0-dev-21703 → 0.0.0-dev-21708

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{vcs-99cj8zr2.js → agent-00n6seg6.js} +35 -35
  8. package/dist/chunks/{vcs-pbtkdcp0.js → agent-01crwgf8.js} +7 -7
  9. package/dist/chunks/{vcs-v34k8dr0.js → agent-02kv643b.js} +17 -17
  10. package/dist/chunks/{vcs-034tev2y.js → agent-034tev2y.js} +2 -2
  11. package/dist/chunks/{vcs-vb9pfrew.js → agent-036gtng7.js} +10 -10
  12. package/dist/chunks/{vcs-cw16pp1j.js → agent-0aydfmfd.js} +12 -12
  13. package/dist/chunks/{vcs-6f6h7c2t.js → agent-0bxps2dt.js} +30 -30
  14. package/dist/chunks/{vcs-v0yw3gr0.js → agent-0cpnqkys.js} +5 -5
  15. package/dist/chunks/{vcs-fznmdakp.js → agent-0h8y3ex8.js} +4 -4
  16. package/dist/chunks/{vcs-n39q19g8.js → agent-0p88zpcm.js} +4 -4
  17. package/dist/chunks/{vcs-3yws84f3.js → agent-0pes53yc.js} +45 -45
  18. package/dist/chunks/{vcs-71v1yb5p.js → agent-0teydma5.js} +17 -17
  19. package/dist/chunks/{vcs-1ep2p91f.js → agent-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{vcs-c5c0bz0t.js → agent-1q5awywt.js} +5 -5
  21. package/dist/chunks/{vcs-34zfme1g.js → agent-1vpzeawt.js} +20 -20
  22. package/dist/chunks/{vcs-1x2knyw4.js → agent-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{vcs-1y0wdj51.js → agent-1y0wdj51.js} +1 -1
  24. package/dist/chunks/{vcs-hnacnv9c.js → agent-1zsaqb4r.js} +9 -9
  25. package/dist/chunks/{vcs-46qzr04y.js → agent-2cxr0spy.js} +14 -14
  26. package/dist/chunks/{vcs-5hvygcnt.js → agent-2fhsvw3b.js} +10 -10
  27. package/dist/chunks/{vcs-530a82th.js → agent-2j4fkc1b.js} +11 -11
  28. package/dist/chunks/{vcs-b1zh1j4f.js → agent-2rb0wgje.js} +61 -61
  29. package/dist/chunks/{vcs-gag6a473.js → agent-2yj94xj3.js} +13 -13
  30. package/dist/chunks/{vcs-2z1j29yd.js → agent-2z1j29yd.js} +1 -1
  31. package/dist/chunks/{vcs-jw20qntp.js → agent-30wk5qzn.js} +5 -5
  32. package/dist/chunks/{vcs-hch4wa3n.js → agent-34s5tdcd.js} +4 -4
  33. package/dist/chunks/{vcs-bgwvksk6.js → agent-3e6zmnwb.js} +19 -19
  34. package/dist/chunks/{vcs-ff97cw60.js → agent-3fq3g97k.js} +4 -4
  35. package/dist/chunks/{vcs-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{vcs-254hq818.js → agent-3hg15haz.js} +48 -48
  37. package/dist/chunks/{vcs-3nnrz6f6.js → agent-3nnrz6f6.js} +1 -1
  38. package/dist/chunks/{vcs-3wffcd5s.js → agent-3s89fne6.js} +22 -22
  39. package/dist/chunks/{vcs-tbynrmzc.js → agent-3wx5r2aw.js} +87 -87
  40. package/dist/chunks/{vcs-dyg9d8gn.js → agent-43pxryb4.js} +33 -33
  41. package/dist/chunks/{vcs-hdmztdx8.js → agent-45wkcxp1.js} +23 -23
  42. package/dist/chunks/{vcs-ex08epxr.js → agent-4edy420v.js} +9 -9
  43. package/dist/chunks/{vcs-jmdhtxe0.js → agent-4fqqg07t.js} +32 -32
  44. package/dist/chunks/{vcs-vt7gs0sa.js → agent-4n19pvv2.js} +28 -28
  45. package/dist/chunks/{vcs-g8q9wv7c.js → agent-4q4hrjc3.js} +11 -11
  46. package/dist/chunks/{vcs-4v008n1t.js → agent-4v008n1t.js} +1 -1
  47. package/dist/chunks/{vcs-4xvmh7wp.js → agent-4xvmh7wp.js} +3 -3
  48. package/dist/chunks/{vcs-5x8br9fm.js → agent-5465mdww.js} +26 -26
  49. package/dist/chunks/{vcs-z61xbmm9.js → agent-58wwcftr.js} +16 -16
  50. package/dist/chunks/{vcs-kn7j2k6k.js → agent-5agv5pnb.js} +9 -9
  51. package/dist/chunks/{vcs-1r2244sv.js → agent-5e5fd4m6.js} +5 -5
  52. package/dist/chunks/{vcs-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{vcs-bnjqvjjm.js → agent-5pr0e8th.js} +5 -5
  54. package/dist/chunks/{vcs-ep7q3v7p.js → agent-5sgdhf0y.js} +50 -50
  55. package/dist/chunks/{vcs-abk8akr1.js → agent-5sgw76x3.js} +24 -24
  56. package/dist/chunks/{vcs-ah756314.js → agent-5vk473bb.js} +14 -14
  57. package/dist/chunks/{vcs-r47ja65p.js → agent-5y6gyw07.js} +18 -18
  58. package/dist/chunks/{vcs-87rf06dy.js → agent-5zmew617.js} +27 -27
  59. package/dist/chunks/{vcs-p7vhpwh8.js → agent-5zrxpy3q.js} +5 -5
  60. package/dist/chunks/{vcs-0rcrzzvr.js → agent-605j6g36.js} +35 -35
  61. package/dist/chunks/{vcs-6esdw8yj.js → agent-6esdw8yj.js} +1 -1
  62. package/dist/chunks/{vcs-6pjqjmy2.js → agent-6pjqjmy2.js} +1 -1
  63. package/dist/chunks/{vcs-2fmpy7yj.js → agent-6rgwxkf7.js} +18 -18
  64. package/dist/chunks/{vcs-68t33k5k.js → agent-6t50jf2k.js} +15 -15
  65. package/dist/chunks/{vcs-7fyt61ge.js → agent-6w1z0ptf.js} +4 -4
  66. package/dist/chunks/{vcs-42b1cham.js → agent-70e5j6cm.js} +26 -26
  67. package/dist/chunks/{vcs-xkmedc5t.js → agent-731c8v1k.js} +42 -42
  68. package/dist/chunks/{vcs-w8qtt4th.js → agent-76cb1hcw.js} +4 -4
  69. package/dist/chunks/{vcs-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{vcs-3gvxgqww.js → agent-7df5b9k0.js} +27 -27
  71. package/dist/chunks/{vcs-p63vsd4p.js → agent-7fhznn00.js} +37 -37
  72. package/dist/chunks/{vcs-1zjbdtxw.js → agent-7kaqzwxm.js} +14 -14
  73. package/dist/chunks/{vcs-6fg5chfs.js → agent-7kk9vmc1.js} +31 -31
  74. package/dist/chunks/{vcs-q15q0jep.js → agent-7mw2rj4h.js} +9 -9
  75. package/dist/chunks/{vcs-7w2ypzdf.js → agent-7w2ypzdf.js} +1 -1
  76. package/dist/chunks/{vcs-xqvtd8tg.js → agent-81g59q3k.js} +4 -4
  77. package/dist/chunks/{vcs-536wrdac.js → agent-83xm0yd3.js} +11 -11
  78. package/dist/chunks/{vcs-mvpchj3s.js → agent-84rbnah8.js} +24 -24
  79. package/dist/chunks/{vcs-6b49fqw0.js → agent-860hyfcr.js} +17 -17
  80. package/dist/chunks/{vcs-5t6a11tz.js → agent-8avgn4nh.js} +20 -20
  81. package/dist/chunks/{vcs-qjgzc4b4.js → agent-8jztxfpf.js} +4 -4
  82. package/dist/chunks/{vcs-c3wzxa47.js → agent-8k8r57g4.js} +8 -8
  83. package/dist/chunks/{vcs-8wtp7s3z.js → agent-8wtp7s3z.js} +1 -1
  84. package/dist/chunks/{vcs-3ze3q6mf.js → agent-8yms0qqj.js} +11 -11
  85. package/dist/chunks/{vcs-91rj84md.js → agent-91rj84md.js} +1 -1
  86. package/dist/chunks/{vcs-998yhzzq.js → agent-998yhzzq.js} +3 -3
  87. package/dist/chunks/{vcs-s20e5wsv.js → agent-9egmy7ex.js} +35 -35
  88. package/dist/chunks/{vcs-kxcz00f7.js → agent-9mea8krd.js} +21 -21
  89. package/dist/chunks/{vcs-zpxa3g5c.js → agent-9q3bjtf0.js} +20 -20
  90. package/dist/chunks/{vcs-pja5mqfm.js → agent-9q7rnr6m.js} +9 -9
  91. package/dist/chunks/{vcs-yqtnzwzq.js → agent-a56egb6w.js} +5 -5
  92. package/dist/chunks/{vcs-qc5pkzrw.js → agent-ab61cr6d.js} +14 -14
  93. package/dist/chunks/{vcs-07zevav5.js → agent-ac2jg0km.js} +53 -53
  94. package/dist/chunks/{vcs-dgeqmw5w.js → agent-asx4crfn.js} +28 -28
  95. package/dist/chunks/{vcs-jjs45sef.js → agent-awmbx144.js} +13 -13
  96. package/dist/chunks/{vcs-ayjs7tqn.js → agent-ayjs7tqn.js} +2 -2
  97. package/dist/chunks/{vcs-2b76hbf1.js → agent-aywq2m6b.js} +11 -11
  98. package/dist/chunks/{vcs-b0mv4wxm.js → agent-b0mv4wxm.js} +2 -2
  99. package/dist/chunks/{vcs-f931xhwa.js → agent-b39xeefv.js} +37 -37
  100. package/dist/chunks/{vcs-b50rsrab.js → agent-b50rsrab.js} +2 -2
  101. package/dist/chunks/{vcs-b6vsg801.js → agent-b6vsg801.js} +2 -2
  102. package/dist/chunks/{vcs-jjec1xd0.js → agent-b7mz4wb4.js} +2 -2
  103. package/dist/chunks/{vcs-d9msb9sj.js → agent-ba699vex.js} +15 -15
  104. package/dist/chunks/{vcs-eeb2rd94.js → agent-bc3gms31.js} +21 -21
  105. package/dist/chunks/{vcs-bstexjd6.js → agent-bstexjd6.js} +1 -1
  106. package/dist/chunks/{vcs-rek8exz1.js → agent-c1nwn41d.js} +32 -32
  107. package/dist/chunks/{vcs-exm49mxx.js → agent-c22xs6zs.js} +11 -11
  108. package/dist/chunks/{vcs-c3cfh5w6.js → agent-c3cfh5w6.js} +2 -2
  109. package/dist/chunks/{vcs-1kt6mkhz.js → agent-c9nnf1dt.js} +7 -7
  110. package/dist/chunks/{vcs-c9t2ty9q.js → agent-c9t2ty9q.js} +1 -1
  111. package/dist/chunks/{vcs-vpnrak8v.js → agent-cb7xvab4.js} +20 -20
  112. package/dist/chunks/{vcs-deqy3kpa.js → agent-cbva7xm7.js} +22 -22
  113. package/dist/chunks/{vcs-btxkkvbe.js → agent-cn8d63zf.js} +8 -8
  114. package/dist/chunks/{vcs-41sv4bbj.js → agent-cr8qxe6d.js} +16 -16
  115. package/dist/chunks/{vcs-9mere5t7.js → agent-cv2j9yha.js} +13 -13
  116. package/dist/chunks/{vcs-h4tb54mh.js → agent-cw4wsck5.js} +21 -21
  117. package/dist/chunks/{vcs-1t40x6tf.js → agent-d2jy9c0j.js} +4 -4
  118. package/dist/chunks/{vcs-d4v9tmah.js → agent-d4v9tmah.js} +2 -2
  119. package/dist/chunks/{vcs-7jxjvf9t.js → agent-d8mgxzbr.js} +32 -32
  120. package/dist/chunks/{vcs-nfggw9da.js → agent-dwm0n3p0.js} +5 -5
  121. package/dist/chunks/{vcs-8vh6kwmg.js → agent-dy4xqx41.js} +50 -50
  122. package/dist/chunks/{vcs-kwc19jgx.js → agent-dza0thjn.js} +18 -18
  123. package/dist/chunks/{vcs-m22273wf.js → agent-e1x5hgfw.js} +3 -3
  124. package/dist/chunks/{vcs-vs6edpr4.js → agent-e1yvprzr.js} +24 -24
  125. package/dist/chunks/{vcs-kdjksvwe.js → agent-e3cpefx3.js} +30 -30
  126. package/dist/chunks/{vcs-9p9xqj3m.js → agent-e5dqjz6v.js} +8 -8
  127. package/dist/chunks/{vcs-e834z07m.js → agent-e834z07m.js} +1 -1
  128. package/dist/chunks/{vcs-skwe01yc.js → agent-ea9qy1vr.js} +22 -22
  129. package/dist/chunks/{vcs-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{vcs-maar8wck.js → agent-egqc00n5.js} +9 -9
  131. package/dist/chunks/{vcs-b5g50cq8.js → agent-ejyk05z4.js} +23 -23
  132. package/dist/chunks/{vcs-kmzgegqq.js → agent-enkpkfwx.js} +8 -8
  133. package/dist/chunks/{vcs-eq3fc1qc.js → agent-eq3fc1qc.js} +2 -2
  134. package/dist/chunks/{vcs-7cx8wp0a.js → agent-eqh43b5v.js} +9 -9
  135. package/dist/chunks/{vcs-d3r8edvw.js → agent-ercvtcgz.js} +4 -4
  136. package/dist/chunks/{vcs-h3b857xk.js → agent-erjptbv1.js} +4 -4
  137. package/dist/chunks/{vcs-yqpwreg0.js → agent-et6331cw.js} +47 -47
  138. package/dist/chunks/{vcs-n3bkb5q1.js → agent-ez1g32xq.js} +8 -8
  139. package/dist/chunks/{vcs-pg0ng17h.js → agent-f3xvtd5f.js} +14 -14
  140. package/dist/chunks/{vcs-8zyq9cqv.js → agent-f56tfzs6.js} +344 -344
  141. package/dist/chunks/{vcs-fffv3p7h.js → agent-fffv3p7h.js} +1 -1
  142. package/dist/chunks/{vcs-9cbnrx2n.js → agent-fp2kss3x.js} +6 -6
  143. package/dist/chunks/{vcs-n9tasrvf.js → agent-g0mjfn9f.js} +12 -12
  144. package/dist/chunks/{vcs-vzmjdaw1.js → agent-g1ay4zd8.js} +9 -9
  145. package/dist/chunks/{vcs-g5h9c0rr.js → agent-g5h9c0rr.js} +2 -2
  146. package/dist/chunks/{vcs-pe8zxjjb.js → agent-g7yg2z4y.js} +8 -8
  147. package/dist/chunks/{vcs-baw7bc8n.js → agent-g9jwm955.js} +1 -1
  148. package/dist/chunks/agent-gbftmgpj.js +26 -0
  149. package/dist/chunks/{vcs-rmt6m6se.js → agent-gcjdgkn2.js} +9 -9
  150. package/dist/chunks/{vcs-1crk60dk.js → agent-gm52qjxn.js} +15 -15
  151. package/dist/chunks/{vcs-2cyz7x39.js → agent-gtwwf5qc.js} +24 -24
  152. package/dist/chunks/{vcs-jtp9x085.js → agent-gwff6e0f.js} +26 -26
  153. package/dist/chunks/{vcs-pe678q2q.js → agent-h84cj61w.js} +2 -2
  154. package/dist/chunks/{vcs-38h2fn7g.js → agent-hm143rc2.js} +3 -3
  155. package/dist/chunks/{vcs-en4cswrv.js → agent-ht7bz1sv.js} +25 -25
  156. package/dist/chunks/{vcs-j113cymg.js → agent-j113cymg.js} +1 -1
  157. package/dist/chunks/{vcs-ayg1wwbx.js → agent-j5pyptyp.js} +25 -25
  158. package/dist/chunks/{vcs-ftn2x50x.js → agent-j8ka3dj3.js} +33 -33
  159. package/dist/chunks/{vcs-90n99h22.js → agent-jmt4g3es.js} +6 -6
  160. package/dist/chunks/{vcs-cps5zgbh.js → agent-k5g4ndkg.js} +38 -38
  161. package/dist/chunks/{vcs-k814nvkf.js → agent-k814nvkf.js} +1 -1
  162. package/dist/chunks/{vcs-2dzqnr5m.js → agent-k8sgxmwq.js} +29 -29
  163. package/dist/chunks/{vcs-8c677wsw.js → agent-kwwqhmte.js} +31 -31
  164. package/dist/chunks/{vcs-m1714858.js → agent-m1714858.js} +1 -1
  165. package/dist/chunks/{vcs-ggbcva3z.js → agent-m96zp2x3.js} +5 -5
  166. package/dist/chunks/{vcs-0xfwnfde.js → agent-m9tz8kfk.js} +18 -18
  167. package/dist/chunks/{vcs-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  168. package/dist/chunks/{vcs-maspj1v3.js → agent-maspj1v3.js} +1 -1
  169. package/dist/chunks/{vcs-rcbk8nhg.js → agent-mkr1zw4c.js} +25 -25
  170. package/dist/chunks/{vcs-7c486ac5.js → agent-mv2fkptf.js} +8 -8
  171. package/dist/chunks/{vcs-v94mhwh5.js → agent-mvrp1pf2.js} +13 -13
  172. package/dist/chunks/{vcs-jrtmv02s.js → agent-mwam2bxf.js} +24 -24
  173. package/dist/chunks/{vcs-3bhgvgs9.js → agent-my1p2r7g.js} +22 -22
  174. package/dist/chunks/{vcs-n0p0277s.js → agent-n0p0277s.js} +1 -1
  175. package/dist/chunks/{vcs-wtk09v7c.js → agent-n7j6jkwh.js} +24 -24
  176. package/dist/chunks/{vcs-rdsms1bd.js → agent-nae82sp2.js} +25 -25
  177. package/dist/chunks/{vcs-770pw0s1.js → agent-nah043kf.js} +4 -4
  178. package/dist/chunks/{vcs-yxdc7d4s.js → agent-nbwnjq76.js} +8 -8
  179. package/dist/chunks/{vcs-jcd0g2s4.js → agent-njstssvg.js} +20 -20
  180. package/dist/chunks/{vcs-dbqrmbed.js → agent-npyprqtv.js} +6 -6
  181. package/dist/chunks/{vcs-tw1cfj00.js → agent-nq3tx4x1.js} +44 -44
  182. package/dist/chunks/{vcs-vdc7b2sf.js → agent-nt0vz67d.js} +11 -11
  183. package/dist/chunks/{vcs-qz7bsaqe.js → agent-nwvcypp6.js} +11 -11
  184. package/dist/chunks/{vcs-p015t6z3.js → agent-p015t6z3.js} +2 -2
  185. package/dist/chunks/{vcs-dh62xe4r.js → agent-pc1v25hk.js} +3 -3
  186. package/dist/chunks/{vcs-bbkbvbs4.js → agent-pdjy0dkv.js} +1 -1
  187. package/dist/chunks/{vcs-pknna89w.js → agent-pknna89w.js} +1 -1
  188. package/dist/chunks/{vcs-f1kyj18j.js → agent-prpkhwe7.js} +55 -55
  189. package/dist/chunks/{vcs-aypkeb6d.js → agent-pwb927wa.js} +89 -89
  190. package/dist/chunks/{vcs-48kw51zw.js → agent-pyzjd10w.js} +3 -3
  191. package/dist/chunks/{vcs-ggkz6eda.js → agent-q2dycjj6.js} +9 -9
  192. package/dist/chunks/{vcs-10ygv7zj.js → agent-q431msev.js} +9 -9
  193. package/dist/chunks/{vcs-s12jh10e.js → agent-q6vmwcr3.js} +8 -8
  194. package/dist/chunks/{vcs-m5fkg57x.js → agent-qa2bc9h6.js} +33 -33
  195. package/dist/chunks/{vcs-m68y8hd5.js → agent-qdjpasa6.js} +17 -17
  196. package/dist/chunks/{vcs-vh9aq6dc.js → agent-qe4f2n8q.js} +28 -28
  197. package/dist/chunks/{vcs-xxjtdm9r.js → agent-qps3wf85.js} +11 -11
  198. package/dist/chunks/{vcs-gkt35az7.js → agent-qrsf94hb.js} +14 -14
  199. package/dist/chunks/agent-qsxt5pmn.js +257 -0
  200. package/dist/chunks/{vcs-r0yr0wbs.js → agent-r0yr0wbs.js} +1 -1
  201. package/dist/chunks/{vcs-m33a7njg.js → agent-r649t70p.js} +34 -34
  202. package/dist/chunks/{vcs-8xw1gbxj.js → agent-r6g963jp.js} +25 -25
  203. package/dist/chunks/{vcs-r1k9m3eb.js → agent-r6wgv8c9.js} +4 -4
  204. package/dist/chunks/{vcs-5q1dgqbh.js → agent-r8vff35f.js} +36 -36
  205. package/dist/chunks/{vcs-szbkmyzk.js → agent-r9jvn0me.js} +19 -19
  206. package/dist/chunks/{vcs-rb9dy4dg.js → agent-rb9dy4dg.js} +1 -1
  207. package/dist/chunks/{vcs-pz16wjas.js → agent-rm4sw271.js} +4 -4
  208. package/dist/chunks/{vcs-5ahgw1dr.js → agent-rpd03b69.js} +15 -15
  209. package/dist/chunks/{vcs-rt5dr6hb.js → agent-rt5dr6hb.js} +1 -1
  210. package/dist/chunks/{vcs-0rq01gt9.js → agent-s1cekj41.js} +5 -5
  211. package/dist/chunks/{vcs-6s6a40zb.js → agent-s5ckv70a.js} +13 -13
  212. package/dist/chunks/{vcs-ar2j3j0f.js → agent-s626qfae.js} +4 -4
  213. package/dist/chunks/{vcs-azfbc7ga.js → agent-sdskc420.js} +187 -187
  214. package/dist/chunks/{vcs-k0nmcfh6.js → agent-se8z0af6.js} +4 -4
  215. package/dist/chunks/{vcs-dtqdhp9c.js → agent-sfayrj8h.js} +15 -15
  216. package/dist/chunks/{vcs-bmvcqawa.js → agent-sg8mkp01.js} +47 -47
  217. package/dist/chunks/{vcs-k46f9xjt.js → agent-shygem95.js} +22 -22
  218. package/dist/chunks/{vcs-a7hcemwv.js → agent-spa8vgy8.js} +6 -6
  219. package/dist/chunks/{vcs-sqjzf8x2.js → agent-sqjzf8x2.js} +1 -1
  220. package/dist/chunks/{vcs-v9085ex6.js → agent-syd85nze.js} +4 -4
  221. package/dist/chunks/{vcs-j75hfe7b.js → agent-t34k7vdx.js} +23 -23
  222. package/dist/chunks/{vcs-t8v8tvff.js → agent-t81h9cx6.js} +23 -23
  223. package/dist/chunks/{vcs-dzznqqbs.js → agent-tbmp9t5p.js} +12 -12
  224. package/dist/chunks/{vcs-4ytg8f8f.js → agent-tc4kyz8e.js} +2 -2
  225. package/dist/chunks/{vcs-tczq8hjw.js → agent-tczq8hjw.js} +1 -1
  226. package/dist/chunks/{vcs-mhmq597p.js → agent-tf78gtve.js} +17 -17
  227. package/dist/chunks/{vcs-e553kem5.js → agent-tha6crsv.js} +21 -21
  228. package/dist/chunks/{vcs-kw8s18nw.js → agent-tr53db22.js} +38 -38
  229. package/dist/chunks/{vcs-tw8zr1ps.js → agent-tw8zr1ps.js} +1 -1
  230. package/dist/chunks/{vcs-twv2r8f4.js → agent-twv2r8f4.js} +2 -2
  231. package/dist/chunks/{vcs-xpmys0j9.js → agent-tybz541q.js} +25 -25
  232. package/dist/chunks/{vcs-v60pntgq.js → agent-tzwfb695.js} +33 -33
  233. package/dist/chunks/{vcs-v2r1d0zg.js → agent-v2r1d0zg.js} +1 -1
  234. package/dist/chunks/{vcs-dbya8kmy.js → agent-v6pnwzcj.js} +77 -77
  235. package/dist/chunks/{vcs-wsf6rpby.js → agent-v7v3rrns.js} +9 -9
  236. package/dist/chunks/{vcs-q11fyp6d.js → agent-v8w832qv.js} +19 -19
  237. package/dist/chunks/{vcs-vd3b3yk9.js → agent-vd3b3yk9.js} +1 -1
  238. package/dist/chunks/{vcs-veqvce7d.js → agent-veqvce7d.js} +1 -1
  239. package/dist/chunks/{vcs-g7esga4v.js → agent-vmfhgzt5.js} +5 -5
  240. package/dist/chunks/{vcs-gbv88pv7.js → agent-vq55ta2w.js} +12 -12
  241. package/dist/chunks/{vcs-hx7vxw9c.js → agent-vwac03cp.js} +6 -6
  242. package/dist/chunks/{vcs-wjy5h13p.js → agent-vxgn3e9c.js} +16 -16
  243. package/dist/chunks/{vcs-xg28gvg7.js → agent-w1b192n3.js} +14 -14
  244. package/dist/chunks/{vcs-kj1j79ct.js → agent-w1w7qgbq.js} +11 -11
  245. package/dist/chunks/{vcs-40za9wsf.js → agent-w2eysc6j.js} +9 -9
  246. package/dist/chunks/{vcs-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{vcs-dwspvcwq.js → agent-w5t7bbyx.js} +13 -13
  248. package/dist/chunks/{vcs-cneb3d70.js → agent-w75qjcvt.js} +8 -8
  249. package/dist/chunks/{vcs-wakvkjy4.js → agent-wakvkjy4.js} +1 -1
  250. package/dist/chunks/{vcs-wd87259q.js → agent-wd87259q.js} +1 -1
  251. package/dist/chunks/{vcs-skfx7z6k.js → agent-wdk09kh3.js} +14 -14
  252. package/dist/chunks/{vcs-3wyhrqfb.js → agent-wgvnftve.js} +8 -8
  253. package/dist/chunks/{vcs-wwye013q.js → agent-wmjzvx4b.js} +7 -7
  254. package/dist/chunks/{vcs-za6w1b0s.js → agent-x1kqdqv8.js} +7 -7
  255. package/dist/chunks/{vcs-3xhcmk8x.js → agent-x29zv49r.js} +14 -14
  256. package/dist/chunks/{vcs-8ba3wsfr.js → agent-x7nn8z2j.js} +11 -11
  257. package/dist/chunks/{vcs-ndxwzmcc.js → agent-xf07g6fp.js} +36 -36
  258. package/dist/chunks/{vcs-nz2z8868.js → agent-xfrhb91r.js} +41 -41
  259. package/dist/chunks/{vcs-4qxmg69m.js → agent-xk6cct51.js} +37 -37
  260. package/dist/chunks/{vcs-x8a5m77f.js → agent-xkv91zbc.js} +22 -22
  261. package/dist/chunks/{vcs-tasvem1v.js → agent-xkympmbz.js} +6 -6
  262. package/dist/chunks/{vcs-1wp5yz2q.js → agent-xmdjjv6p.js} +15 -15
  263. package/dist/chunks/{vcs-wnaab4d3.js → agent-xpx0a1hv.js} +36 -36
  264. package/dist/chunks/{vcs-prd8gnhb.js → agent-xsact9zs.js} +4 -4
  265. package/dist/chunks/{vcs-s8vdmeb0.js → agent-xw0c0mqp.js} +10 -10
  266. package/dist/chunks/{vcs-nqqb3qew.js → agent-xxf3k3sy.js} +14 -14
  267. package/dist/chunks/{vcs-p3yv1tbb.js → agent-y8hmd8bf.js} +13 -13
  268. package/dist/chunks/{vcs-k6xzj90s.js → agent-ya0bzcwn.js} +27 -27
  269. package/dist/chunks/{vcs-yb20nhc3.js → agent-yb20nhc3.js} +1 -1
  270. package/dist/chunks/{vcs-prajgvp7.js → agent-yhhb56re.js} +16 -16
  271. package/dist/chunks/{vcs-kj8zjydm.js → agent-yjkkab03.js} +6 -6
  272. package/dist/chunks/{vcs-b1xsayxh.js → agent-yn9h7jnh.js} +7 -7
  273. package/dist/chunks/{vcs-xa1dtvk7.js → agent-yqmxxt9c.js} +6 -6
  274. package/dist/chunks/{vcs-z8nn4snw.js → agent-ysw37sry.js} +47 -47
  275. package/dist/chunks/{vcs-jqqpsq7t.js → agent-yyd0z27r.js} +17 -17
  276. package/dist/chunks/{vcs-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{vcs-m6qs7jjd.js → agent-z0te8qnm.js} +13 -13
  278. package/dist/chunks/{vcs-247ftevp.js → agent-z1b9nwea.js} +6 -6
  279. package/dist/chunks/{vcs-z38nccrw.js → agent-z38nccrw.js} +1 -1
  280. package/dist/chunks/agent-z7bdqmx5.js +18 -0
  281. package/dist/chunks/{vcs-njnvzz52.js → agent-z8hxvef0.js} +41 -41
  282. package/dist/chunks/{vcs-gzphd3qt.js → agent-zav2k54e.js} +4 -4
  283. package/dist/chunks/{vcs-4239rm3w.js → agent-zcv9t832.js} +20 -20
  284. package/dist/chunks/{vcs-zkg84ctx.js → agent-zkg84ctx.js} +1 -1
  285. package/dist/chunks/{vcs-jpq8vy5m.js → agent-zqfy40s7.js} +24 -24
  286. package/dist/chunks/{vcs-9wdb4fag.js → agent-ztngrg4w.js} +18 -18
  287. package/dist/chunks/{vcs-vw4tn0tb.js → agent-zxrxde13.js} +18 -18
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  323. package/dist/database/database.js +74 -74
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +92 -92
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +82 -82
  458. package/dist/instructions/builtins.js +87 -87
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +159 -159
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +87 -87
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +140 -140
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +101 -101
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +103 -103
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +82 -82
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +113 -113
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +90 -90
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +104 -104
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai-context-caps.js +92 -92
  529. package/dist/plugin/provider/openai.js +116 -116
  530. package/dist/plugin/provider/opencode.js +103 -103
  531. package/dist/plugin/provider/openrouter.js +93 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +93 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +92 -92
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +93 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +171 -171
  543. package/dist/plugin/sdk.js +78 -78
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +134 -134
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +352 -352
  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 +88 -88
  551. package/dist/plugin/vcs/hg.js +88 -88
  552. package/dist/plugin/verbosity.js +95 -95
  553. package/dist/plugin/warming.js +114 -114
  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 +6 -6
  561. package/dist/plugin.js +225 -225
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +86 -86
  565. package/dist/provider.js +103 -103
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +101 -101
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +83 -83
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +99 -99
  575. package/dist/rpc.js +88 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +138 -138
  580. package/dist/session/context.js +164 -164
  581. package/dist/session/diff.js +90 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +130 -130
  587. package/dist/session/generate.js +166 -166
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +93 -93
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +99 -99
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +122 -122
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +132 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +107 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +96 -96
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +102 -102
  608. package/dist/session/runner/publish-llm-event.js +116 -116
  609. package/dist/session/runner/retry.js +5 -5
  610. package/dist/session/runner/step.js +128 -128
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +165 -165
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +77 -77
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +168 -168
  623. package/dist/session/to-session-error.js +114 -114
  624. package/dist/session/transfer.js +220 -220
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +212 -212
  627. package/dist/shell/parse.js +8 -8
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +130 -130
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +109 -109
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +95 -95
  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 +139 -139
  640. package/dist/tool/plugin/edit.js +122 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +126 -126
  643. package/dist/tool/plugin/grep.js +120 -120
  644. package/dist/tool/plugin/mcp-resource.js +124 -124
  645. package/dist/tool/plugin/opencode.js +111 -111
  646. package/dist/tool/plugin/patch.js +124 -124
  647. package/dist/tool/plugin/question.js +107 -107
  648. package/dist/tool/plugin/read.js +127 -127
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +115 -115
  654. package/dist/tool/plugin/websearch.js +116 -116
  655. package/dist/tool/plugin/write.js +124 -124
  656. package/dist/tool/read-filesystem.js +104 -104
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +14 -14
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/mcp.js +2 -2
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +1 -1
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +2 -2
  675. package/dist/variant.js +95 -95
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +86 -86
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +102 -102
  690. package/package.json +8 -8
  691. package/dist/chunks/vcs-89ps0kn4.js +0 -26
  692. package/dist/chunks/vcs-ezna1kdx.js +0 -18
  693. package/dist/chunks/vcs-zrej7bp7.js +0 -257
  694. /package/dist/chunks/{vcs-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{vcs-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{vcs-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{vcs-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{vcs-24dcb14g.js → agent-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{vcs-2710q6r3.js → agent-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{vcs-2bv980vf.js → agent-2bv980vf.js} +0 -0
  701. /package/dist/chunks/{vcs-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{vcs-359p4xyc.js → agent-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{vcs-3asan66x.js → agent-3asan66x.js} +0 -0
  704. /package/dist/chunks/{vcs-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{vcs-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{vcs-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{vcs-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{vcs-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{vcs-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{vcs-53557ph1.js → agent-53557ph1.js} +0 -0
  711. /package/dist/chunks/{vcs-550bvhaj.js → agent-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{vcs-5fjb7ams.js → agent-5fjb7ams.js} +0 -0
  713. /package/dist/chunks/{vcs-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{vcs-6prwharc.js → agent-6prwharc.js} +0 -0
  715. /package/dist/chunks/{vcs-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
  716. /package/dist/chunks/{vcs-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{vcs-7m9af43g.js → agent-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{vcs-822emrt2.js → agent-822emrt2.js} +0 -0
  719. /package/dist/chunks/{vcs-84wd9syh.js → agent-84wd9syh.js} +0 -0
  720. /package/dist/chunks/{vcs-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{vcs-8n3pysct.js → agent-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{vcs-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  723. /package/dist/chunks/{vcs-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{vcs-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{vcs-a058387c.js → agent-a058387c.js} +0 -0
  726. /package/dist/chunks/{vcs-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{vcs-af5trqkr.js → agent-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{vcs-afrmfg78.js → agent-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{vcs-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{vcs-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{vcs-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{vcs-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{vcs-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{vcs-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{vcs-d9fn303g.js → agent-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{vcs-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{vcs-dajrwvna.js → agent-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{vcs-dap0rakb.js → agent-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{vcs-df08tz66.js → agent-df08tz66.js} +0 -0
  740. /package/dist/chunks/{vcs-dy18nga0.js → agent-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{vcs-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{vcs-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{vcs-ec1grn59.js → agent-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{vcs-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{vcs-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{vcs-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{vcs-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{vcs-faypxj3z.js → agent-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{vcs-fd410y7t.js → agent-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{vcs-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{vcs-g86h250q.js → agent-g86h250q.js} +0 -0
  752. /package/dist/chunks/{vcs-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{vcs-gftt206x.js → agent-gftt206x.js} +0 -0
  754. /package/dist/chunks/{vcs-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{vcs-hk9envan.js → agent-hk9envan.js} +0 -0
  756. /package/dist/chunks/{vcs-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{vcs-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{vcs-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{vcs-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{vcs-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{vcs-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{vcs-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{vcs-m18g726c.js → agent-m18g726c.js} +0 -0
  764. /package/dist/chunks/{vcs-mp448xyj.js → agent-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{vcs-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{vcs-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{vcs-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{vcs-njntx4h6.js → agent-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{vcs-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{vcs-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{vcs-q74kybfr.js → agent-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{vcs-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{vcs-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{vcs-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{vcs-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{vcs-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{vcs-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{vcs-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{vcs-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{vcs-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{vcs-w803qqfp.js → agent-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{vcs-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{vcs-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{vcs-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
  785. /package/dist/chunks/{vcs-wtztk69x.js → agent-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{vcs-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{vcs-x61499pn.js → agent-x61499pn.js} +0 -0
  788. /package/dist/chunks/{vcs-y44na4kk.js → agent-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{vcs-y8f7s663.js → agent-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{vcs-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{vcs-ym463w8f.js → agent-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{vcs-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
  793. /package/dist/chunks/{vcs-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,67 +1,67 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./vcs-z5v4ffb3.js";
3
+ } from "./agent-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./vcs-dzznqqbs.js";
6
+ } from "./agent-tbmp9t5p.js";
7
7
  import {
8
8
  Slug2
9
- } from "./vcs-gebd4c9n.js";
9
+ } from "./agent-gebd4c9n.js";
10
10
  import {
11
- Service84,
12
- node88
13
- } from "./vcs-9mere5t7.js";
11
+ Service86,
12
+ node90
13
+ } from "./agent-cv2j9yha.js";
14
14
  import {
15
- Service83,
16
- node87
17
- } from "./vcs-wjy5h13p.js";
15
+ Service85,
16
+ node89
17
+ } from "./agent-vxgn3e9c.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./vcs-034tev2y.js";
20
+ } from "./agent-034tev2y.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./vcs-ayjs7tqn.js";
23
+ } from "./agent-ayjs7tqn.js";
24
24
  import {
25
25
  ID17,
26
26
  NotFoundError12
27
- } from "./vcs-vh9aq6dc.js";
27
+ } from "./agent-qe4f2n8q.js";
28
28
  import {
29
29
  Ref4
30
- } from "./vcs-3xhcmk8x.js";
30
+ } from "./agent-x29zv49r.js";
31
31
  import {
32
- Service78,
33
- node82
34
- } from "./vcs-q15q0jep.js";
32
+ Service81,
33
+ node85
34
+ } from "./agent-7mw2rj4h.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./vcs-d4v9tmah.js";
38
+ } from "./agent-d4v9tmah.js";
39
39
  import {
40
- Service15
41
- } from "./vcs-eeb2rd94.js";
40
+ Service80
41
+ } from "./agent-bc3gms31.js";
42
42
  import {
43
43
  __export
44
- } from "./vcs-9rqn6x4v.js";
44
+ } from "./agent-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput2,
49
+ CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event3,
53
- Info: () => Info4,
52
+ Event: () => Event19,
53
+ Info: () => Info26,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
- ListEntry: () => ListEntry2,
56
+ ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service14,
59
+ Service: () => Service79,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node17
64
+ node: () => node83
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -73,11 +73,11 @@ import { AppProcess } from "@opencode/util/process";
73
73
  import { ChildProcess } from "effect/process";
74
74
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
- var CreateInput2 = Worktree.CreateInput;
76
+ var CreateInput3 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info4 = Worktree.Info;
78
+ var Info26 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
- var ListEntry2 = Worktree.ListEntry;
80
+ var ListEntry3 = Worktree.ListEntry;
81
81
 
82
82
  class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event3 = Worktree.Event;
93
+ var Event19 = Worktree.Event;
94
94
 
95
- class Service14 extends Context.Service()("@opencode/Worktree") {
95
+ class Service79 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service14, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const database = yield* Service84;
99
+ const database = yield* Service86;
100
100
  const db = database.db;
101
- const bus = yield* Service83;
101
+ const bus = yield* Service85;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service78;
103
+ const locations = yield* Service81;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
116
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service15).get();
118
+ return Context.get(context, Service80).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event3.Updated, { projectID });
122
+ yield* bus.publish(Event19.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service14.of({
249
+ return Service79.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node17 = Node.makeGlobalNode({
260
- service: Service14,
259
+ var node83 = Node.makeGlobalNode({
260
+ service: Service79,
261
261
  layer,
262
- deps: [FSUtil.node, node87, node88, AppProcess.node, node82]
262
+ deps: [FSUtil.node, node89, node90, AppProcess.node, node85]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput2, RemoveInput2, Info4, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event3, Service14, node17, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput3, RemoveInput2, Info26, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event19, Service79, node83, exports_worktree2, OperationError2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names4,
10
+ names: () => names3,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names4() {
44
+ function names3() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names4, paths2, exports_protected };
63
+ export { isHome2, names3, paths2, exports_protected };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./vcs-emrn6kk6.js";
5
+ } from "./agent-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./vcs-wjy5h13p.js";
2
+ Service85,
3
+ node89
4
+ } from "./agent-vxgn3e9c.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./vcs-bstexjd6.js";
11
+ } from "./agent-bstexjd6.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./vcs-z5v4ffb3.js";
14
+ } from "./agent-z5v4ffb3.js";
15
15
  import {
16
- Service42,
17
- node44
18
- } from "./vcs-4239rm3w.js";
16
+ Service45,
17
+ node48
18
+ } from "./agent-zcv9t832.js";
19
19
  import {
20
20
  create3
21
- } from "./vcs-vd3b3yk9.js";
21
+ } from "./agent-vd3b3yk9.js";
22
22
  import {
23
23
  __export
24
- } from "./vcs-9rqn6x4v.js";
24
+ } from "./agent-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event5,
29
+ Event: () => Event6,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info7,
31
+ Info: () => Info5,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service41,
34
+ Service: () => Service38,
35
35
  Source: () => Source3,
36
- node: () => node43
36
+ node: () => node41
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event5 } from "@opencode/schema/reference";
42
+ import { Event as Event6 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source3 = Reference.Source;
46
- var Info7 = Reference.Info;
46
+ var Info5 = Reference.Info;
47
47
 
48
- class Service41 extends Context.Service()("@opencode/Reference") {
48
+ class Service38 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service41, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service83;
53
- const cache = yield* Service42;
52
+ const bus = yield* Service85;
53
+ const cache = yield* Service45;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info7.make({ ...info, path: source.path })];
63
+ return [Info5.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info7.make({
75
+ Info5.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service41.of({
107
+ return Service38.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node43 = makeLocationNode({
116
- service: Service41,
115
+ var node41 = makeLocationNode({
116
+ service: Service38,
117
117
  layer,
118
- deps: [Global.node, node87, node44]
118
+ deps: [Global.node, node89, node48]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info7, Service41, node43, exports_reference2, Event5 };
121
+ export { LocalSource2, GitSource2, Source3, Info5, Service38, node41, exports_reference2, Event6 };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  useragent2
3
- } from "./vcs-qz7bsaqe.js";
3
+ } from "./agent-nwvcypp6.js";
4
4
  import {
5
- Service83
6
- } from "./vcs-wjy5h13p.js";
5
+ Service85
6
+ } from "./agent-vxgn3e9c.js";
7
7
  import {
8
8
  OAuth3,
9
- Event14
10
- } from "./vcs-5q1dgqbh.js";
9
+ Event18
10
+ } from "./agent-r8vff35f.js";
11
11
  import {
12
12
  key2
13
- } from "./vcs-ar2j3j0f.js";
13
+ } from "./agent-s626qfae.js";
14
14
  import {
15
- ID8,
15
+ ID14,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./vcs-ftn2x50x.js";
18
+ } from "./agent-j8ka3dj3.js";
19
19
  import {
20
- Service86
21
- } from "./vcs-5hvygcnt.js";
20
+ Service20
21
+ } from "./agent-2fhsvw3b.js";
22
22
  import {
23
- ID6,
23
+ ID13,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./vcs-s20e5wsv.js";
26
+ } from "./agent-9egmy7ex.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./vcs-0rcrzzvr.js";
29
+ } from "./agent-605j6g36.js";
30
30
  import {
31
31
  supports2,
32
- resolve2
33
- } from "./vcs-xa1dtvk7.js";
32
+ resolve4
33
+ } from "./agent-yqmxxt9c.js";
34
34
  import {
35
35
  InvalidRequestError2,
36
- UnavailableError2,
37
- Service18
38
- } from "./vcs-abk8akr1.js";
36
+ UnavailableError3,
37
+ Service60
38
+ } from "./agent-5sgw76x3.js";
39
39
  import {
40
- ID11,
41
- Input15,
40
+ ID3,
41
+ Input14,
42
42
  Response2
43
- } from "./vcs-vt7gs0sa.js";
43
+ } from "./agent-4n19pvv2.js";
44
44
 
45
45
  // src/plugin/provider/opencode.ts
46
46
  import {
@@ -78,7 +78,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
78
78
  var RemoteResponse = Schema.Struct({
79
79
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
80
80
  websearch: Schema.Struct({
81
- providerID: ID11
81
+ providerID: ID3
82
82
  }).pipe(Schema.optional),
83
83
  mcp: Schema.Struct({
84
84
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -136,7 +136,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
136
136
  }
137
137
  function oauth(http) {
138
138
  return {
139
- integrationID: ID8.make("opencode"),
139
+ integrationID: ID14.make("opencode"),
140
140
  method: {
141
141
  id: methodID,
142
142
  type: "oauth",
@@ -201,11 +201,11 @@ var OpencodePlugin2 = define({
201
201
  id: "opencode.provider.opencode",
202
202
  effect: Effect.fn(function* (ctx) {
203
203
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
204
- const bus = yield* Service83;
204
+ const bus = yield* Service85;
205
205
  const client = yield* HttpClient.HttpClient;
206
206
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
207
- const managed = yield* Service86;
208
- const voice = yield* Service18;
207
+ const managed = yield* Service20;
208
+ const voice = yield* Service60;
209
209
  const scope = yield* Scope.Scope;
210
210
  const loading = Semaphore.makeUnsafe(1);
211
211
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -257,22 +257,22 @@ var OpencodePlugin2 = define({
257
257
  }).pipe(Effect.provideService(FetchHttpClient.RequestInit, { redirect: "error" }), Effect.scoped, Effect.timeoutOrElse({
258
258
  duration: Duration.seconds(20),
259
259
  orElse: () => Effect.fail(new Error("OpenCode Console didn't answer in time"))
260
- }), Effect.mapError((cause) => new UnavailableError2({
260
+ }), Effect.mapError((cause) => new UnavailableError3({
261
261
  service: "opencode",
262
262
  message: cause instanceof Error ? cause.message : String(cause)
263
263
  })), Effect.flatMap((reply) => {
264
264
  if (reply.status >= 200 && reply.status < 300)
265
265
  return Effect.succeed(reply.text);
266
266
  if (reply.status === 401)
267
- return Effect.fail(new UnavailableError2({ service: "opencode", message: `${signedOutMessage}.` }));
267
+ return Effect.fail(new UnavailableError3({ service: "opencode", message: `${signedOutMessage}.` }));
268
268
  const message = Option.getOrUndefined(Schema.decodeUnknownOption(InferenceError)(reply.text))?.error.message ?? `OpenCode Console refused the voice request (HTTP ${reply.status})`;
269
- return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new UnavailableError2({ service: "opencode", message }));
269
+ return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new UnavailableError3({ service: "opencode", message }));
270
270
  }));
271
271
  return {
272
272
  integration: "opencode",
273
273
  models: offer.models,
274
274
  workspace: offer.workspace,
275
- session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new UnavailableError2({
275
+ session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new UnavailableError3({
276
276
  service: "opencode",
277
277
  message: "OpenCode Console returned an invalid voice session"
278
278
  })))), Effect.map((created) => ({
@@ -306,7 +306,7 @@ var OpencodePlugin2 = define({
306
306
  providers.update(providerID, (provider) => {
307
307
  if (source && source.provider !== provider)
308
308
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
309
- provider.integrationID = ID8.make("opencode");
309
+ provider.integrationID = ID14.make("opencode");
310
310
  if (item.canonical !== undefined)
311
311
  provider.canonical = item.canonical;
312
312
  if (item.name !== undefined)
@@ -344,7 +344,7 @@ var OpencodePlugin2 = define({
344
344
  providers.models.update(providerID, modelID, (model) => {
345
345
  if (config.capabilities?.reasoning !== undefined)
346
346
  model.variants = [
347
- ...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
347
+ ...resolve4({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
348
348
  ];
349
349
  for (const variant of config.variants ?? []) {
350
350
  let existing = model.variants.find((item) => item.id === variant.id);
@@ -380,7 +380,7 @@ var OpencodePlugin2 = define({
380
380
  sourceConnection: snapshot.connection
381
381
  });
382
382
  }
383
- const item = providers.get(ID6.opencode);
383
+ const item = providers.get(ID13.opencode);
384
384
  if (!item)
385
385
  return;
386
386
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -392,7 +392,7 @@ var OpencodePlugin2 = define({
392
392
  });
393
393
  });
394
394
  yield* ctx.model.transform((models) => {
395
- const item = models.provider.get(ID6.opencode);
395
+ const item = models.provider.get(ID13.opencode);
396
396
  if (!item)
397
397
  return;
398
398
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -420,7 +420,7 @@ var OpencodePlugin2 = define({
420
420
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
421
421
  const token = credential.type === "oauth" ? credential.access : credential.key;
422
422
  const server = yield* normalizeServer(serverUrl(credential));
423
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
423
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
424
424
  query: input.query,
425
425
  providerID: descriptor.providerID
426
426
  }));
@@ -481,7 +481,7 @@ var OpencodePlugin2 = define({
481
481
  });
482
482
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
483
483
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
484
- explainers = yield* Effect.forEach(next.connection ? new Set([ID6.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
484
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
485
485
  });
486
486
  yield* guard(snapshot);
487
487
  const polling = yield* FiberHandle.make();
@@ -492,7 +492,7 @@ var OpencodePlugin2 = define({
492
492
  onlyIfMissing: true
493
493
  });
494
494
  });
495
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
495
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
496
496
  yield* poll();
497
497
  })
498
498
  });
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID14,
2
+ ID10,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./vcs-3wffcd5s.js";
5
+ } from "./agent-3s89fne6.js";
6
6
  import {
7
7
  __export
8
- } from "./vcs-9rqn6x4v.js";
8
+ } from "./agent-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
- var exports_agent = {};
12
- __export(exports_agent, {
13
- AgentPlugin: () => exports_agent,
14
- Plugin: () => Plugin18
11
+ var exports_agent2 = {};
12
+ __export(exports_agent2, {
13
+ AgentPlugin: () => exports_agent2,
14
+ Plugin: () => Plugin48
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -57,7 +57,7 @@ Rules:
57
57
  - Never ask questions or add new questions
58
58
  - If the conversation ends with an unanswered question to the user, preserve that exact question
59
59
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
60
- var Plugin18 = define({
60
+ var Plugin48 = define({
61
61
  id: "opencode.agent",
62
62
  effect: Effect.fn(function* (ctx) {
63
63
  yield* ctx.agent.transform((editor) => {
@@ -67,32 +67,32 @@ var Plugin18 = define({
67
67
  item.mode = "primary";
68
68
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
69
69
  });
70
- editor.update(ID14.make("general"), (item) => {
70
+ editor.update(ID10.make("general"), (item) => {
71
71
  item.name = Name3.make("General");
72
72
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
73
73
  item.mode = "subagent";
74
74
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
75
75
  });
76
- editor.update(ID14.make("explore"), (item) => {
76
+ editor.update(ID10.make("explore"), (item) => {
77
77
  item.name = Name3.make("Explore");
78
78
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
79
79
  item.system = PROMPT_EXPLORE;
80
80
  item.mode = "subagent";
81
81
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
82
82
  });
83
- editor.update(ID14.make("compaction"), (item) => {
83
+ editor.update(ID10.make("compaction"), (item) => {
84
84
  item.name = Name3.make("Compaction");
85
85
  item.mode = "primary";
86
86
  item.hidden = true;
87
87
  });
88
- editor.update(ID14.make("title"), (item) => {
88
+ editor.update(ID10.make("title"), (item) => {
89
89
  item.name = Name3.make("Title");
90
90
  item.mode = "primary";
91
91
  item.hidden = true;
92
92
  item.system = PROMPT_TITLE;
93
93
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
94
94
  });
95
- editor.update(ID14.make("summary"), (item) => {
95
+ editor.update(ID10.make("summary"), (item) => {
96
96
  item.name = Name3.make("Summary");
97
97
  item.mode = "primary";
98
98
  item.hidden = true;
@@ -103,4 +103,4 @@ var Plugin18 = define({
103
103
  })
104
104
  });
105
105
 
106
- export { Plugin18, exports_agent };
106
+ export { Plugin48, exports_agent2 };