@opencode/core 0.0.0-dev-21799 → 0.0.0-dev-21800

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{bus-7asyzf2g.js → form-02hjb68z.js} +3 -3
  8. package/dist/chunks/{bus-0ss1ygn7.js → form-033a0jkt.js} +3 -3
  9. package/dist/chunks/{bus-32s59e8p.js → form-0421tmwc.js} +9 -9
  10. package/dist/chunks/{bus-n2gw1p1h.js → form-0de0nmh0.js} +27 -27
  11. package/dist/chunks/{bus-ck5p2rrt.js → form-0e10z5fj.js} +6 -6
  12. package/dist/chunks/{bus-jsfyz6c7.js → form-0es6nja8.js} +24 -24
  13. package/dist/chunks/{bus-djxd8yth.js → form-0h9bs85x.js} +9 -9
  14. package/dist/chunks/{bus-bxet2tb6.js → form-0mmhxb94.js} +5 -5
  15. package/dist/chunks/{bus-92kck2y6.js → form-0mpj81pq.js} +20 -20
  16. package/dist/chunks/{bus-1bfxbsya.js → form-0s6xfy83.js} +45 -45
  17. package/dist/chunks/{bus-8dg1xc6q.js → form-0tw7w02j.js} +3 -3
  18. package/dist/chunks/{bus-32dt8sm6.js → form-1gvxmx3x.js} +13 -13
  19. package/dist/chunks/{bus-4a6yhs14.js → form-1j3q5f1b.js} +4 -4
  20. package/dist/chunks/{bus-n6mnvtfa.js → form-1kqbdeg9.js} +24 -24
  21. package/dist/chunks/{bus-c75w93q9.js → form-1mz0hg4w.js} +43 -43
  22. package/dist/chunks/{bus-1x2knyw4.js → form-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{bus-31wms35x.js → form-202bxvr4.js} +8 -8
  24. package/dist/chunks/{bus-hyqz6d44.js → form-25cs5nez.js} +8 -8
  25. package/dist/chunks/{bus-1ep2p91f.js → form-27w5k9zf.js} +2 -2
  26. package/dist/chunks/{bus-2hsj2n0v.js → form-2abq9rn1.js} +21 -21
  27. package/dist/chunks/{bus-5gxhssq1.js → form-2fpg1r86.js} +6 -6
  28. package/dist/chunks/{bus-vsnnaxjq.js → form-2mbjfaxd.js} +4 -4
  29. package/dist/chunks/{bus-2z1j29yd.js → form-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{bus-9ewhr0ht.js → form-2zw8q38q.js} +16 -16
  31. package/dist/chunks/{bus-3f2zwfeg.js → form-3418rxn8.js} +4 -4
  32. package/dist/chunks/{bus-tkhnpy0n.js → form-35z82n4m.js} +15 -15
  33. package/dist/chunks/{bus-agqd6nxz.js → form-36qx82yz.js} +2 -2
  34. package/dist/chunks/{bus-ayjs7tqn.js → form-3cbjf1nt.js} +2 -2
  35. package/dist/chunks/{bus-3hepkmqq.js → form-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{bus-3nnrz6f6.js → form-3nnrz6f6.js} +1 -1
  37. package/dist/chunks/{bus-2jtphcac.js → form-3vrw48hq.js} +17 -17
  38. package/dist/chunks/{bus-t0w4g24n.js → form-43k8zwa9.js} +5 -5
  39. package/dist/chunks/{bus-ny95kkac.js → form-443gxb00.js} +33 -33
  40. package/dist/chunks/{bus-qd8axg02.js → form-4900y2mg.js} +18 -18
  41. package/dist/chunks/{bus-575d3vht.js → form-49tazegd.js} +24 -24
  42. package/dist/chunks/{bus-ztjhcqny.js → form-4b160a05.js} +33 -33
  43. package/dist/chunks/{bus-f026ckt4.js → form-4bj59q6n.js} +189 -189
  44. package/dist/chunks/{bus-7nw9b7yf.js → form-4j1hff5b.js} +17 -17
  45. package/dist/chunks/{bus-syn3ds3q.js → form-4se4h2v4.js} +7 -7
  46. package/dist/chunks/{bus-4v008n1t.js → form-4v008n1t.js} +1 -1
  47. package/dist/chunks/{bus-6020gc76.js → form-504b0z1d.js} +35 -35
  48. package/dist/chunks/{bus-fj5cqmpq.js → form-518pc71g.js} +43 -43
  49. package/dist/chunks/{bus-3f6xt6nq.js → form-57mrygtr.js} +30 -30
  50. package/dist/chunks/{bus-hxbrq7ky.js → form-5gc3gx18.js} +15 -15
  51. package/dist/chunks/{bus-5m9w47nd.js → form-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{bus-vxp3kcg3.js → form-5nrew705.js} +5 -5
  53. package/dist/chunks/{bus-3amawdtd.js → form-5nx9zxzz.js} +14 -14
  54. package/dist/chunks/{bus-b0bk1qcn.js → form-5v4fjzaq.js} +18 -18
  55. package/dist/chunks/{bus-8fwy8ndr.js → form-5y540sh8.js} +8 -8
  56. package/dist/chunks/{bus-e5qvdp4b.js → form-5ze4n4sg.js} +35 -35
  57. package/dist/chunks/{bus-1yq9hg58.js → form-5zrxpy3q.js} +5 -5
  58. package/dist/chunks/{bus-pf3djhp1.js → form-62c0v1tw.js} +33 -33
  59. package/dist/chunks/{bus-6esdw8yj.js → form-6esdw8yj.js} +1 -1
  60. package/dist/chunks/{bus-era634b9.js → form-6jh9wyah.js} +21 -21
  61. package/dist/chunks/{bus-6pjqjmy2.js → form-6pjqjmy2.js} +1 -1
  62. package/dist/chunks/{bus-mkcsh4cz.js → form-6xaqvsrs.js} +9 -9
  63. package/dist/chunks/{bus-wqn1yeqd.js → form-6yvmzeyy.js} +11 -11
  64. package/dist/chunks/{bus-cfbvvs1c.js → form-72czzjvn.js} +12 -12
  65. package/dist/chunks/{bus-76cb1hcw.js → form-76cb1hcw.js} +1 -1
  66. package/dist/chunks/{bus-nah043kf.js → form-770pw0s1.js} +4 -4
  67. package/dist/chunks/{bus-9s68rp0p.js → form-77pzky32.js} +17 -17
  68. package/dist/chunks/{bus-7bmhse3q.js → form-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{bus-dbx6pzfq.js → form-7p111ra0.js} +8 -8
  70. package/dist/chunks/{bus-mkdbjcmh.js → form-7tymy24s.js} +4 -4
  71. package/dist/chunks/{bus-dt400r1m.js → form-7vk1qfcv.js} +5 -5
  72. package/dist/chunks/{bus-7w2ypzdf.js → form-7w2ypzdf.js} +1 -1
  73. package/dist/chunks/{bus-trgp8ev6.js → form-7zbjpcgf.js} +32 -32
  74. package/dist/chunks/{bus-af0k6e03.js → form-81sb882e.js} +9 -9
  75. package/dist/chunks/{bus-1w9k09te.js → form-8aa3rj35.js} +22 -22
  76. package/dist/chunks/{bus-x4kknryj.js → form-8gfg5k83.js} +11 -11
  77. package/dist/chunks/{bus-pnwjjc01.js → form-8kt5nrfk.js} +12 -12
  78. package/dist/chunks/{bus-828gze2h.js → form-8nm5n31t.js} +20 -20
  79. package/dist/chunks/{bus-z6w87tzw.js → form-8s42wndc.js} +12 -12
  80. package/dist/chunks/{bus-8wtp7s3z.js → form-8wtp7s3z.js} +1 -1
  81. package/dist/chunks/{bus-91rj84md.js → form-91rj84md.js} +1 -1
  82. package/dist/chunks/{bus-skdc7twy.js → form-9ap36caz.js} +26 -26
  83. package/dist/chunks/{bus-cg98qzes.js → form-9qkkem2t.js} +23 -23
  84. package/dist/chunks/{bus-kwxbdf35.js → form-9tc86wb5.js} +24 -24
  85. package/dist/chunks/{bus-ehpc9aq8.js → form-9y8pfte4.js} +18 -18
  86. package/dist/chunks/{bus-wfcfzn3b.js → form-a0mbnczp.js} +26 -26
  87. package/dist/chunks/{bus-034tev2y.js → form-aj7mw0zk.js} +2 -2
  88. package/dist/chunks/{bus-34mc4f69.js → form-aksd0eqj.js} +33 -33
  89. package/dist/chunks/{bus-njsc6rzh.js → form-ayqdz43p.js} +11 -11
  90. package/dist/chunks/{bus-b0mv4wxm.js → form-b0mv4wxm.js} +2 -2
  91. package/dist/chunks/{bus-n8mjpvcm.js → form-b1crm3cf.js} +43 -43
  92. package/dist/chunks/{bus-7nvnk78q.js → form-b2swvwa1.js} +33 -33
  93. package/dist/chunks/{bus-b6vsg801.js → form-b6vsg801.js} +2 -2
  94. package/dist/chunks/{bus-1j9syxkg.js → form-b7yb02yv.js} +5 -5
  95. package/dist/chunks/{bus-thj7kx78.js → form-bdsby7g0.js} +7 -7
  96. package/dist/chunks/{bus-2jrcf1tj.js → form-bf47wrzc.js} +9 -9
  97. package/dist/chunks/{bus-zzdv5d93.js → form-bjhzkqyk.js} +4 -4
  98. package/dist/chunks/{bus-a93vqh6w.js → form-bjx81z2n.js} +45 -45
  99. package/dist/chunks/{bus-q9jq76k6.js → form-bk72g9n5.js} +19 -19
  100. package/dist/chunks/{bus-jmwryt6t.js → form-bp8166w3.js} +8 -8
  101. package/dist/chunks/{bus-xbewfx7c.js → form-bqjkv61t.js} +6 -6
  102. package/dist/chunks/{bus-mjftkp2a.js → form-braepac4.js} +28 -28
  103. package/dist/chunks/{bus-vb1053xg.js → form-bsm4yj1q.js} +5 -5
  104. package/dist/chunks/{bus-bstexjd6.js → form-bstexjd6.js} +1 -1
  105. package/dist/chunks/{bus-nex2766x.js → form-bx023ayb.js} +15 -15
  106. package/dist/chunks/{bus-mkzms3ra.js → form-c53m598j.js} +13 -13
  107. package/dist/chunks/{bus-az9wb5vh.js → form-cbcw5jdv.js} +14 -14
  108. package/dist/chunks/{bus-mef2v0hb.js → form-cf2bvegq.js} +40 -40
  109. package/dist/chunks/{bus-h7qqxn3z.js → form-cpfpnv00.js} +5 -5
  110. package/dist/chunks/{bus-akqrtxca.js → form-cq7by30v.js} +9 -9
  111. package/dist/chunks/{bus-an9c9kb2.js → form-d4vw6k95.js} +14 -14
  112. package/dist/chunks/form-d77dj7jw.js +18 -0
  113. package/dist/chunks/{bus-7gvxqv4d.js → form-d7w06rve.js} +26 -26
  114. package/dist/chunks/{bus-t3z4fh6a.js → form-dbg2e74s.js} +11 -11
  115. package/dist/chunks/{bus-2bev0qfp.js → form-dgcghd4q.js} +14 -14
  116. package/dist/chunks/{bus-tz3qh6bj.js → form-djck26ns.js} +1 -1
  117. package/dist/chunks/{bus-h8vhq97h.js → form-dkk62k64.js} +21 -21
  118. package/dist/chunks/{bus-hj7n8j55.js → form-dkq45mty.js} +3 -3
  119. package/dist/chunks/{bus-qzw8kg5z.js → form-dpcgzjbf.js} +30 -30
  120. package/dist/chunks/{bus-nb9f99as.js → form-dq0jjp1j.js} +22 -22
  121. package/dist/chunks/{bus-998yhzzq.js → form-dvj9ct8m.js} +3 -3
  122. package/dist/chunks/{bus-e834z07m.js → form-e834z07m.js} +1 -1
  123. package/dist/chunks/{bus-j7naznmb.js → form-ebvnp4a0.js} +17 -17
  124. package/dist/chunks/{bus-n9p72mjb.js → form-ebwp6ca3.js} +2 -2
  125. package/dist/chunks/{bus-5a5619qn.js → form-ecv950bf.js} +17 -17
  126. package/dist/chunks/{bus-8k2rgs9p.js → form-efye4wxz.js} +10 -10
  127. package/dist/chunks/{bus-1k7qz9q5.js → form-en3a7p48.js} +9 -9
  128. package/dist/chunks/{bus-f29p2v8h.js → form-ewnzmz0y.js} +28 -28
  129. package/dist/chunks/{bus-f2e2a0hz.js → form-f61gwnre.js} +11 -11
  130. package/dist/chunks/{bus-qbhbqa7t.js → form-f6ydp9jt.js} +52 -52
  131. package/dist/chunks/{bus-fffv3p7h.js → form-fffv3p7h.js} +1 -1
  132. package/dist/chunks/{bus-rmwg6517.js → form-ffg4nk5v.js} +21 -21
  133. package/dist/chunks/{bus-xdz0a60a.js → form-fgc19361.js} +5 -5
  134. package/dist/chunks/{bus-50gfh4d7.js → form-fke86k08.js} +16 -16
  135. package/dist/chunks/{bus-ksrgejfs.js → form-fp9hrh53.js} +27 -27
  136. package/dist/chunks/{bus-j01hj8py.js → form-fpepjkf7.js} +2 -2
  137. package/dist/chunks/{bus-vqjdwf3w.js → form-fv302xas.js} +19 -19
  138. package/dist/chunks/{bus-g5h9c0rr.js → form-g5h9c0rr.js} +2 -2
  139. package/dist/chunks/{bus-cb2ed4nn.js → form-g5w7bwk1.js} +36 -36
  140. package/dist/chunks/{bus-cw3xprgn.js → form-g656cbyf.js} +19 -19
  141. package/dist/chunks/{bus-7j2sygsw.js → form-g82sjckm.js} +10 -10
  142. package/dist/chunks/{bus-1njsdcyp.js → form-gf1tscqt.js} +16 -16
  143. package/dist/chunks/{bus-4gr5td8y.js → form-gfavbhs2.js} +23 -23
  144. package/dist/chunks/{bus-gq5fh3wz.js → form-gfm2g1r0.js} +25 -25
  145. package/dist/chunks/{bus-d4v9tmah.js → form-gn8tkhbf.js} +2 -2
  146. package/dist/chunks/{bus-0washmxq.js → form-gp9gf7jx.js} +3 -3
  147. package/dist/chunks/{bus-pxj2herr.js → form-gqy1905p.js} +19 -19
  148. package/dist/chunks/{bus-ka01146j.js → form-h2xt6wet.js} +6 -6
  149. package/dist/chunks/{bus-p4stbfde.js → form-h9b0ss67.js} +23 -23
  150. package/dist/chunks/{bus-8xq71q48.js → form-ha3txm3a.js} +4 -4
  151. package/dist/chunks/form-hpzh5cr9.js +26 -0
  152. package/dist/chunks/{bus-e76r8gh4.js → form-hr9cza2g.js} +15 -15
  153. package/dist/chunks/{bus-j113cymg.js → form-j113cymg.js} +1 -1
  154. package/dist/chunks/{bus-v6a3varz.js → form-j37rmggz.js} +23 -23
  155. package/dist/chunks/{bus-5wp410p3.js → form-j6h7yvwn.js} +18 -18
  156. package/dist/chunks/{bus-vjtwvj7e.js → form-jc1psbyz.js} +20 -20
  157. package/dist/chunks/{bus-e5dqjz6v.js → form-jneg3k74.js} +4 -4
  158. package/dist/chunks/{bus-6xqtcmxs.js → form-jr1j5bze.js} +5 -5
  159. package/dist/chunks/{bus-7rag2784.js → form-jtf5yvtr.js} +7 -7
  160. package/dist/chunks/{bus-k7dpec9v.js → form-jwwge8xs.js} +12 -12
  161. package/dist/chunks/{bus-jphwvgs8.js → form-jxb3gtw0.js} +8 -8
  162. package/dist/chunks/{bus-6twykydk.js → form-k302pdnh.js} +9 -9
  163. package/dist/chunks/{bus-zgctp3t4.js → form-k7rxqqn4.js} +8 -8
  164. package/dist/chunks/{bus-k814nvkf.js → form-k814nvkf.js} +1 -1
  165. package/dist/chunks/{bus-e1ebsv1y.js → form-kgm25kxq.js} +18 -18
  166. package/dist/chunks/{bus-2665jbwr.js → form-khsrtdw5.js} +19 -19
  167. package/dist/chunks/{bus-160yv0cs.js → form-kmzgegqq.js} +8 -8
  168. package/dist/chunks/{bus-hew6naq5.js → form-kstv1z45.js} +11 -11
  169. package/dist/chunks/{bus-kt3bjfbg.js → form-kt3bjfbg.js} +1 -1
  170. package/dist/chunks/{bus-ds7crdch.js → form-kxadc7dx.js} +4 -4
  171. package/dist/chunks/{bus-8mgvafr1.js → form-kzprjqer.js} +11 -11
  172. package/dist/chunks/{bus-m1714858.js → form-m1714858.js} +1 -1
  173. package/dist/chunks/{bus-mzhk1ssh.js → form-m3rt4n16.js} +12 -12
  174. package/dist/chunks/{bus-zj8y7a4j.js → form-m56nnkz7.js} +4 -4
  175. package/dist/chunks/{bus-8dh0vs4v.js → form-m5ycwyg0.js} +2 -2
  176. package/dist/chunks/{bus-1pszgch9.js → form-m8s6zs3q.js} +6 -6
  177. package/dist/chunks/{bus-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{bus-maspj1v3.js → form-maspj1v3.js} +1 -1
  179. package/dist/chunks/{bus-9bhv2far.js → form-mfazgctd.js} +11 -11
  180. package/dist/chunks/{bus-zysm0ng8.js → form-mfg8gex4.js} +15 -15
  181. package/dist/chunks/{bus-2kg89srt.js → form-mmx1mfjr.js} +4 -4
  182. package/dist/chunks/{bus-2d6j2x8s.js → form-mxqegms8.js} +43 -43
  183. package/dist/chunks/{bus-n0p0277s.js → form-n0p0277s.js} +1 -1
  184. package/dist/chunks/{bus-acb1b57m.js → form-n98epqcg.js} +25 -25
  185. package/dist/chunks/{bus-yy2jcnkw.js → form-nc9xfdq7.js} +7 -7
  186. package/dist/chunks/{bus-8tgysywa.js → form-ndqzk6tc.js} +31 -31
  187. package/dist/chunks/{bus-kd5rhgxk.js → form-ngjf4jxk.js} +12 -12
  188. package/dist/chunks/{bus-p015t6z3.js → form-p015t6z3.js} +2 -2
  189. package/dist/chunks/{bus-c6x7d2ts.js → form-p0tsr9h6.js} +4 -4
  190. package/dist/chunks/{bus-yth42b8q.js → form-p35g19ew.js} +44 -44
  191. package/dist/chunks/{bus-k2abm4dq.js → form-p83a0njd.js} +33 -33
  192. package/dist/chunks/{bus-pknna89w.js → form-pknna89w.js} +1 -1
  193. package/dist/chunks/{bus-38xznjs4.js → form-pta84ypa.js} +8 -8
  194. package/dist/chunks/{bus-4vh1jrr3.js → form-ptbh3pce.js} +18 -18
  195. package/dist/chunks/{bus-s7cwnsdq.js → form-pwcmqnv6.js} +51 -51
  196. package/dist/chunks/{bus-petq1ecb.js → form-q0f28206.js} +10 -10
  197. package/dist/chunks/{bus-938aw1cc.js → form-q79gyas9.js} +24 -24
  198. package/dist/chunks/{bus-5jyzdfdp.js → form-q8axm0b6.js} +1 -1
  199. package/dist/chunks/{bus-0p88zpcm.js → form-qd7v5spn.js} +4 -4
  200. package/dist/chunks/{bus-4hmqv3dg.js → form-qdckhfvx.js} +22 -22
  201. package/dist/chunks/{bus-qjgzc4b4.js → form-qjgzc4b4.js} +1 -1
  202. package/dist/chunks/{bus-za8j9kr3.js → form-qkghfb1m.js} +89 -89
  203. package/dist/chunks/{bus-phgcvxz9.js → form-qp8t9fx2.js} +11 -11
  204. package/dist/chunks/{bus-r0yr0wbs.js → form-r0yr0wbs.js} +1 -1
  205. package/dist/chunks/{bus-w2eysc6j.js → form-r41sfy63.js} +6 -6
  206. package/dist/chunks/{bus-r542h3bh.js → form-r542h3bh.js} +1 -1
  207. package/dist/chunks/{bus-rgwqxpz0.js → form-r658k6r9.js} +21 -21
  208. package/dist/chunks/{bus-kf47bq4t.js → form-r7k9z7cv.js} +323 -323
  209. package/dist/chunks/{bus-rb9dy4dg.js → form-rb9dy4dg.js} +1 -1
  210. package/dist/chunks/{bus-jbp3fq04.js → form-rdmv0akp.js} +14 -14
  211. package/dist/chunks/{bus-d2r03a97.js → form-rekntzzt.js} +3 -3
  212. package/dist/chunks/{bus-8sz8b50m.js → form-rhjvhekr.js} +4 -4
  213. package/dist/chunks/{bus-aemg0w6p.js → form-rmm3vtp2.js} +17 -17
  214. package/dist/chunks/{bus-1kashhxp.js → form-rnhyqk91.js} +18 -18
  215. package/dist/chunks/{bus-evk4ejbw.js → form-rp2hzysp.js} +10 -10
  216. package/dist/chunks/{bus-9qx86p98.js → form-rpgjqsg9.js} +20 -20
  217. package/dist/chunks/{bus-rt5dr6hb.js → form-rt5dr6hb.js} +1 -1
  218. package/dist/chunks/{bus-s78fym6c.js → form-rtnxtb24.js} +11 -11
  219. package/dist/chunks/{bus-944chywr.js → form-rvz41am7.js} +5 -5
  220. package/dist/chunks/{bus-4tqs0jzk.js → form-s4f8ct6t.js} +4 -4
  221. package/dist/chunks/{bus-sa3fpqfw.js → form-sa3fpqfw.js} +2 -2
  222. package/dist/chunks/{bus-21pdxbx2.js → form-shdhkr49.js} +6 -6
  223. package/dist/chunks/{bus-21g64681.js → form-sk4rcz4v.js} +30 -30
  224. package/dist/chunks/{bus-8czeycrx.js → form-sp43gwv2.js} +14 -14
  225. package/dist/chunks/{bus-sqjzf8x2.js → form-sqjzf8x2.js} +1 -1
  226. package/dist/chunks/{bus-nypgcgf3.js → form-ssfc5kf6.js} +56 -56
  227. package/dist/chunks/{bus-ssfehs1z.js → form-ssfehs1z.js} +1 -1
  228. package/dist/chunks/{bus-kjh8rrq6.js → form-t2ztbpje.js} +4 -4
  229. package/dist/chunks/{bus-xvk38nmq.js → form-t6fwpnvd.js} +18 -18
  230. package/dist/chunks/{bus-d7ke2zsv.js → form-t6zv3t7w.js} +35 -35
  231. package/dist/chunks/{bus-cmqmfdz6.js → form-t7je23h6.js} +21 -21
  232. package/dist/chunks/{bus-0ks2n9jf.js → form-tasvem1v.js} +6 -6
  233. package/dist/chunks/{bus-gyz363jb.js → form-tb6jrghd.js} +20 -20
  234. package/dist/chunks/{bus-tczq8hjw.js → form-tczq8hjw.js} +1 -1
  235. package/dist/chunks/{bus-twv2r8f4.js → form-twv2r8f4.js} +2 -2
  236. package/dist/chunks/{bus-gs8m0426.js → form-twvgeg0c.js} +7 -7
  237. package/dist/chunks/{bus-87bd8ecw.js → form-ty2r1ah4.js} +10 -10
  238. package/dist/chunks/{bus-v2r1d0zg.js → form-v2r1d0zg.js} +1 -1
  239. package/dist/chunks/{bus-b6a9raah.js → form-v69f37bj.js} +27 -27
  240. package/dist/chunks/{bus-vd3b3yk9.js → form-vd3b3yk9.js} +1 -1
  241. package/dist/chunks/{bus-veqvce7d.js → form-veqvce7d.js} +1 -1
  242. package/dist/chunks/{bus-fya0vmjt.js → form-vgsxebfn.js} +10 -10
  243. package/dist/chunks/{bus-fbeje3j4.js → form-vhnfgg21.js} +8 -8
  244. package/dist/chunks/{bus-m37sd98t.js → form-vmfhgzt5.js} +4 -4
  245. package/dist/chunks/{bus-9n0km4x2.js → form-vp3f7txe.js} +14 -14
  246. package/dist/chunks/{bus-zb5gs1ba.js → form-vwdfpcvx.js} +3 -3
  247. package/dist/chunks/{bus-623n6t0x.js → form-vwss2sv6.js} +24 -24
  248. package/dist/chunks/{bus-frvfbmdp.js → form-vzmjdaw1.js} +9 -9
  249. package/dist/chunks/{bus-ybhwsy6b.js → form-w3ns5rkg.js} +45 -45
  250. package/dist/chunks/{bus-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{bus-2eq3kb9b.js → form-w6byfr8d.js} +23 -23
  252. package/dist/chunks/{bus-sy8wf0bt.js → form-w6d7jzdm.js} +34 -34
  253. package/dist/chunks/{bus-d390zwf3.js → form-w7frmj75.js} +11 -11
  254. package/dist/chunks/{bus-wakvkjy4.js → form-wakvkjy4.js} +1 -1
  255. package/dist/chunks/{bus-ydwpppea.js → form-wb32cm0h.js} +5 -5
  256. package/dist/chunks/{bus-wd87259q.js → form-wd87259q.js} +1 -1
  257. package/dist/chunks/{bus-qygd4nc5.js → form-wdffqmgj.js} +8 -8
  258. package/dist/chunks/{bus-wdv0vama.js → form-wdv0vama.js} +2 -2
  259. package/dist/chunks/{bus-prkpw7v5.js → form-whhxszaf.js} +14 -14
  260. package/dist/chunks/form-wkj84943.js +261 -0
  261. package/dist/chunks/{bus-wr3re1en.js → form-wr3re1en.js} +1 -1
  262. package/dist/chunks/{bus-6r1jx35z.js → form-wysrktan.js} +7 -7
  263. package/dist/chunks/{bus-phpbvyrj.js → form-x0yqbyz4.js} +18 -18
  264. package/dist/chunks/{bus-g1tbcgaf.js → form-x2x5zj05.js} +17 -17
  265. package/dist/chunks/{bus-878x64va.js → form-x59sy6my.js} +87 -87
  266. package/dist/chunks/{bus-5p32nay5.js → form-x83ywg7g.js} +28 -28
  267. package/dist/chunks/{bus-s9f1b4gk.js → form-x8h9qnt8.js} +11 -11
  268. package/dist/chunks/{bus-9n059q0a.js → form-xg7y1tnh.js} +15 -15
  269. package/dist/chunks/{bus-kasrxtf2.js → form-xh7yb18e.js} +32 -32
  270. package/dist/chunks/{bus-xkfczkpn.js → form-xkfczkpn.js} +3 -3
  271. package/dist/chunks/{bus-0w2jttgf.js → form-xnctb0t2.js} +2 -2
  272. package/dist/chunks/{bus-45szfbjt.js → form-xr0fdn46.js} +11 -11
  273. package/dist/chunks/{bus-33zxs5g9.js → form-xyznvzfj.js} +4 -4
  274. package/dist/chunks/{bus-ta7bxye8.js → form-y6asfd6w.js} +32 -32
  275. package/dist/chunks/{bus-pzdmxvfw.js → form-y7r7kv14.js} +40 -40
  276. package/dist/chunks/{bus-yb20nhc3.js → form-yb20nhc3.js} +1 -1
  277. package/dist/chunks/{bus-8314gx8s.js → form-yhzfnwqx.js} +69 -69
  278. package/dist/chunks/{bus-r8hpns5j.js → form-ywgtt5qa.js} +13 -13
  279. package/dist/chunks/{bus-q2w5xen3.js → form-z028gk7z.js} +13 -13
  280. package/dist/chunks/{bus-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{bus-evxg6w44.js → form-z2w0x2ee.js} +42 -42
  282. package/dist/chunks/{bus-dwasj5q9.js → form-z2y0gft8.js} +3 -3
  283. package/dist/chunks/{bus-z38nccrw.js → form-z38nccrw.js} +1 -1
  284. package/dist/chunks/{bus-nym9wyb3.js → form-z41z05dk.js} +6 -6
  285. package/dist/chunks/{bus-z3jsq4rh.js → form-zc3z0s1e.js} +16 -16
  286. package/dist/chunks/{bus-dyjhv7x6.js → form-zgaxvjwc.js} +22 -22
  287. package/dist/chunks/{bus-zkg84ctx.js → form-zkg84ctx.js} +1 -1
  288. package/dist/chunks/{bus-vdsw612c.js → form-zkyyckpa.js} +24 -24
  289. package/dist/chunks/{bus-0fpq4f58.js → form-zv1k8n0h.js} +11 -11
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +87 -87
  295. package/dist/config/discovery.js +87 -87
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +104 -104
  298. package/dist/config/plugin/agent.js +120 -120
  299. package/dist/config/plugin/command.js +216 -216
  300. package/dist/config/plugin/compaction.js +157 -157
  301. package/dist/config/plugin/compatibility.js +137 -137
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +119 -119
  304. package/dist/config/plugin/image.js +118 -118
  305. package/dist/config/plugin/instruction.js +118 -118
  306. package/dist/config/plugin/location-watcher.js +120 -120
  307. package/dist/config/plugin/mcp.js +127 -127
  308. package/dist/config/plugin/policy.js +119 -119
  309. package/dist/config/plugin/provider.js +118 -118
  310. package/dist/config/plugin/reference.js +120 -120
  311. package/dist/config/plugin/shell.js +118 -118
  312. package/dist/config/plugin/skill-file.js +107 -107
  313. package/dist/config/plugin/skill-scan.js +3 -3
  314. package/dist/config/plugin/skill.js +140 -140
  315. package/dist/config/plugin/snapshot.js +118 -118
  316. package/dist/config/plugin/source.js +121 -121
  317. package/dist/config/plugin/tool-output.js +119 -119
  318. package/dist/config/plugin/websearch.js +117 -117
  319. package/dist/config/plugin/worktree.js +120 -120
  320. package/dist/config/variable.js +1 -1
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +123 -123
  323. package/dist/console-access.js +1 -1
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +87 -87
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  392. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  393. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  394. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  395. package/dist/database/migration.gen.js +53 -53
  396. package/dist/database/migration.js +55 -55
  397. package/dist/database/path.js +2 -2
  398. package/dist/database/schema.gen.js +1 -1
  399. package/dist/database/schema.sql.js +1 -1
  400. package/dist/database/sqlite.bun.js +1 -1
  401. package/dist/database/sqlite.js +1 -1
  402. package/dist/database/sqlite.node.js +1 -1
  403. package/dist/database/sqlite.workerd.js +1 -1
  404. package/dist/database/v1-migration.bun.js +97 -97
  405. package/dist/database/v1-migration.js +1 -1
  406. package/dist/effect/app-node-builder.js +374 -374
  407. package/dist/effect/app-node-platform.js +2 -2
  408. package/dist/effect/keyed-mutex.js +1 -1
  409. package/dist/effect/websocket-constructor.js +1 -1
  410. package/dist/environment/driver.js +1 -1
  411. package/dist/environment/environment.js +98 -98
  412. package/dist/environment/exec-defaults.js +2 -2
  413. package/dist/environment/files.js +1 -1
  414. package/dist/environment/index.js +100 -100
  415. package/dist/environment/local.js +2 -2
  416. package/dist/environment/memory.js +2 -2
  417. package/dist/environment/unavailable.js +1 -1
  418. package/dist/event/sql.js +1 -1
  419. package/dist/event-logger.js +74 -74
  420. package/dist/file-access.js +109 -109
  421. package/dist/file-mutation.js +99 -99
  422. package/dist/file-retention.js +1 -1
  423. package/dist/filesystem/fff.bun.js +2 -2
  424. package/dist/filesystem/fff.js +1 -1
  425. package/dist/filesystem/fff.node.js +2 -2
  426. package/dist/filesystem/fff.workerd.js +2 -2
  427. package/dist/filesystem/location-watcher-policy.js +6 -6
  428. package/dist/filesystem/location-watcher.js +229 -229
  429. package/dist/filesystem/protected.js +1 -1
  430. package/dist/filesystem/search.js +102 -102
  431. package/dist/filesystem/watcher-binding.js +1 -1
  432. package/dist/filesystem/watcher.js +11 -11
  433. package/dist/filesystem.js +107 -107
  434. package/dist/form.js +84 -84
  435. package/dist/formatter/builtins.js +4 -4
  436. package/dist/formatter.js +92 -92
  437. package/dist/generate.js +110 -110
  438. package/dist/git.js +11 -11
  439. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  440. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  441. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  443. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  444. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  445. package/dist/github-copilot/copilot-provider.js +17 -17
  446. package/dist/github-copilot/models.js +104 -104
  447. package/dist/github-copilot/openai-compatible-error.js +1 -1
  448. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  449. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  450. package/dist/github-copilot/responses/openai-error.js +1 -1
  451. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  452. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  453. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  454. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  455. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +365 -365
  462. package/dist/instruction-discovery.js +88 -88
  463. package/dist/instructions/builtins.js +92 -92
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +93 -93
  467. package/dist/job.js +80 -80
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +77 -77
  470. package/dist/location-activity.js +158 -158
  471. package/dist/location-lifecycle.js +112 -112
  472. package/dist/location-service-map.js +91 -91
  473. package/dist/location-services.js +362 -362
  474. package/dist/location.js +94 -94
  475. package/dist/managed-policy.js +2 -2
  476. package/dist/mcp/client.js +96 -96
  477. package/dist/mcp/index.js +114 -114
  478. package/dist/mcp/instructions.js +141 -141
  479. package/dist/mcp/oauth.js +82 -82
  480. package/dist/mcp/socket-client.js +1 -1
  481. package/dist/mcp/stdio.js +95 -95
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +104 -104
  484. package/dist/model-resolver.js +104 -104
  485. package/dist/model-retry.js +1 -1
  486. package/dist/model.js +105 -105
  487. package/dist/models-dev.js +108 -108
  488. package/dist/oauth/page.js +1 -1
  489. package/dist/permission/saved.js +86 -86
  490. package/dist/permission/sql.js +5 -5
  491. package/dist/permission.js +114 -114
  492. package/dist/persistent-pty/binary.bun.js +1 -1
  493. package/dist/persistent-pty/daemon.js +1 -1
  494. package/dist/persistent-pty/index.js +92 -92
  495. package/dist/persistent-pty/pty-binding.js +1 -1
  496. package/dist/persistent-pty.js +79 -79
  497. package/dist/plugin/agent.js +80 -80
  498. package/dist/plugin/command.js +107 -107
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +220 -220
  501. package/dist/plugin/identity.js +5 -5
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +335 -335
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +101 -101
  506. package/dist/plugin/module.js +119 -119
  507. package/dist/plugin/optimize.js +2 -2
  508. package/dist/plugin/plan.js +107 -107
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  511. package/dist/plugin/provider/azure.js +118 -118
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/chatgpt.js +118 -118
  514. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  515. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  516. package/dist/plugin/provider/cohere.js +2 -2
  517. package/dist/plugin/provider/configured.js +114 -114
  518. package/dist/plugin/provider/databricks.js +1 -1
  519. package/dist/plugin/provider/digitalocean.js +98 -98
  520. package/dist/plugin/provider/dynamic.js +2 -2
  521. package/dist/plugin/provider/factory.js +1 -1
  522. package/dist/plugin/provider/github-copilot.js +100 -100
  523. package/dist/plugin/provider/gitlab.js +98 -98
  524. package/dist/plugin/provider/google-vertex.js +115 -115
  525. package/dist/plugin/provider/kilo.js +1 -1
  526. package/dist/plugin/provider/llmgateway.js +82 -82
  527. package/dist/plugin/provider/lmstudio.js +127 -127
  528. package/dist/plugin/provider/local.js +124 -124
  529. package/dist/plugin/provider/modal.js +97 -97
  530. package/dist/plugin/provider/neon.js +1 -1
  531. package/dist/plugin/provider/nvidia.js +1 -1
  532. package/dist/plugin/provider/ollama.js +127 -127
  533. package/dist/plugin/provider/openai-context-caps.js +95 -95
  534. package/dist/plugin/provider/openai.js +118 -118
  535. package/dist/plugin/provider/opencode.js +104 -104
  536. package/dist/plugin/provider/openrouter.js +96 -96
  537. package/dist/plugin/provider/perplexity.js +2 -2
  538. package/dist/plugin/provider/poe.js +83 -83
  539. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  540. package/dist/plugin/provider/sap-ai-core.js +96 -96
  541. package/dist/plugin/provider/sdk-factory.js +1 -1
  542. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  543. package/dist/plugin/provider/vercel.js +95 -95
  544. package/dist/plugin/provider/vllm.js +127 -127
  545. package/dist/plugin/provider/xai.js +96 -96
  546. package/dist/plugin/provider/zenmux.js +1 -1
  547. package/dist/plugin/provider.js +171 -171
  548. package/dist/plugin/sdk.js +80 -80
  549. package/dist/plugin/service.js +3 -3
  550. package/dist/plugin/skill.js +136 -136
  551. package/dist/plugin/source-directory.js +1 -1
  552. package/dist/plugin/supervisor.js +354 -354
  553. package/dist/plugin/tool-input-repair.js +4 -4
  554. package/dist/plugin/update.js +6 -6
  555. package/dist/plugin/vcs/git.js +91 -91
  556. package/dist/plugin/vcs/hg.js +91 -91
  557. package/dist/plugin/verbosity.js +98 -98
  558. package/dist/plugin/warming.js +116 -116
  559. package/dist/plugin/websearch/exa.js +7 -7
  560. package/dist/plugin/websearch/firecrawl.js +6 -6
  561. package/dist/plugin/websearch/index.js +9 -9
  562. package/dist/plugin/websearch/mcp.js +4 -4
  563. package/dist/plugin/websearch/parallel.js +8 -8
  564. package/dist/plugin/websearch/tavily.js +6 -6
  565. package/dist/plugin/websearch/tinyfish.js +8 -8
  566. package/dist/plugin.js +231 -231
  567. package/dist/project/schema.js +8 -8
  568. package/dist/project/sql.js +4 -4
  569. package/dist/project.js +93 -93
  570. package/dist/provider.js +104 -104
  571. package/dist/pty/protocol.js +1 -1
  572. package/dist/pty/ticket.js +1 -1
  573. package/dist/pty.js +103 -103
  574. package/dist/reference/instructions.js +92 -92
  575. package/dist/reference.js +94 -94
  576. package/dist/repository-cache.js +86 -86
  577. package/dist/repository.js +1 -1
  578. package/dist/ripgrep/binary.js +2 -2
  579. package/dist/ripgrep.js +100 -100
  580. package/dist/rpc.js +91 -91
  581. package/dist/schema.js +1 -1
  582. package/dist/session/affinity.js +1 -1
  583. package/dist/session/command.js +78 -78
  584. package/dist/session/compaction.js +139 -139
  585. package/dist/session/context.js +167 -167
  586. package/dist/session/diff.js +93 -93
  587. package/dist/session/environment.js +5 -5
  588. package/dist/session/error.js +5 -5
  589. package/dist/session/event.js +1 -1
  590. package/dist/session/execution/restart.js +223 -223
  591. package/dist/session/execution.js +133 -133
  592. package/dist/session/generate.js +167 -167
  593. package/dist/session/history.js +13 -13
  594. package/dist/session/inbox.js +95 -95
  595. package/dist/session/info.js +3 -3
  596. package/dist/session/instruction-entry.js +83 -83
  597. package/dist/session/instruction-state.js +8 -8
  598. package/dist/session/instructions.js +102 -102
  599. package/dist/session/message-updater.js +2 -2
  600. package/dist/session/message.js +1 -1
  601. package/dist/session/model-request.js +125 -125
  602. package/dist/session/model-transport.js +9 -9
  603. package/dist/session/move.js +135 -135
  604. package/dist/session/projector.js +93 -93
  605. package/dist/session/prompt.js +110 -110
  606. package/dist/session/recent-text.js +1 -1
  607. package/dist/session/revert.js +99 -99
  608. package/dist/session/run-coordinator.js +1 -1
  609. package/dist/session/runner/index.js +3 -3
  610. package/dist/session/runner/llm.js +233 -233
  611. package/dist/session/runner/max-steps.js +1 -1
  612. package/dist/session/runner/model.js +105 -105
  613. package/dist/session/runner/publish-llm-event.js +118 -118
  614. package/dist/session/runner/retry.js +5 -5
  615. package/dist/session/runner/step.js +131 -131
  616. package/dist/session/runner/to-llm-message.js +14 -14
  617. package/dist/session/schema.js +5 -5
  618. package/dist/session/session.js +167 -167
  619. package/dist/session/shell.js +132 -132
  620. package/dist/session/skill.js +108 -108
  621. package/dist/session/sql.js +5 -5
  622. package/dist/session/stats.js +77 -77
  623. package/dist/session/store.js +89 -89
  624. package/dist/session/subagent-completion.js +1 -1
  625. package/dist/session/subagent-job.js +214 -214
  626. package/dist/session/system-prompt.js +3 -3
  627. package/dist/session/title.js +171 -171
  628. package/dist/session/to-session-error.js +117 -117
  629. package/dist/session/transfer.js +219 -219
  630. package/dist/session/usage.js +1 -1
  631. package/dist/session.js +218 -218
  632. package/dist/shell/parse.js +8 -8
  633. package/dist/shell/result.js +1 -1
  634. package/dist/shell/scan.js +1 -1
  635. package/dist/shell/select.js +13 -13
  636. package/dist/shell.js +132 -132
  637. package/dist/skill/discovery.js +6 -6
  638. package/dist/skill/instructions.js +112 -112
  639. package/dist/skill.js +117 -117
  640. package/dist/snapshot.js +98 -98
  641. package/dist/state.js +1 -1
  642. package/dist/tool/html-markdown.js +1 -1
  643. package/dist/tool/http-body.js +1 -1
  644. package/dist/tool/mcp.js +140 -140
  645. package/dist/tool/plugin/edit.js +125 -125
  646. package/dist/tool/plugin/file-diff.js +1 -1
  647. package/dist/tool/plugin/glob.js +129 -129
  648. package/dist/tool/plugin/grep.js +129 -129
  649. package/dist/tool/plugin/mcp-resource.js +129 -129
  650. package/dist/tool/plugin/opencode.js +114 -114
  651. package/dist/tool/plugin/patch.js +119 -119
  652. package/dist/tool/plugin/question.js +106 -106
  653. package/dist/tool/plugin/read.js +130 -130
  654. package/dist/tool/plugin/shell.js +217 -217
  655. package/dist/tool/plugin/skill.js +116 -116
  656. package/dist/tool/plugin/subagent.js +221 -221
  657. package/dist/tool/plugin/todo.js +140 -140
  658. package/dist/tool/plugin/webfetch.js +110 -110
  659. package/dist/tool/plugin/websearch.js +117 -117
  660. package/dist/tool/plugin/write.js +127 -127
  661. package/dist/tool/read-filesystem.js +107 -107
  662. package/dist/tool/runtime.js +1 -1
  663. package/dist/tool-output.js +7 -7
  664. package/dist/tool.js +12 -12
  665. package/dist/usage-limits.js +93 -93
  666. package/dist/util/error-summary.js +1 -1
  667. package/dist/util/git-executable.js +3 -3
  668. package/dist/util/lazy.js +1 -1
  669. package/dist/util/slug.js +1 -1
  670. package/dist/util/token.js +1 -1
  671. package/dist/util/which.js +1 -1
  672. package/dist/util/wildcard.js +1 -1
  673. package/dist/v1/config/agent.js +7 -7
  674. package/dist/v1/config/command.js +3 -3
  675. package/dist/v1/config/mcp.js +2 -2
  676. package/dist/v1/config/migrate.js +97 -97
  677. package/dist/v1/config/permission.js +3 -3
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/variant.js +98 -98
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +94 -94
  684. package/dist/voice.js +92 -92
  685. package/dist/websearch.js +86 -86
  686. package/dist/wellknown/plugin.js +80 -80
  687. package/dist/wellknown.js +83 -83
  688. package/dist/workspace/driver.js +7 -7
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +84 -84
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +11 -11
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +94 -94
  695. package/dist/worktree.js +105 -105
  696. package/package.json +8 -8
  697. package/dist/chunks/bus-39h0ag18.js +0 -26
  698. package/dist/chunks/bus-6bshxcsx.js +0 -18
  699. package/dist/chunks/bus-paz7j9b8.js +0 -261
  700. /package/dist/chunks/{bus-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{bus-0zkw76rk.js → form-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{bus-17cy0kzp.js → form-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{bus-1cnp2v09.js → form-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{bus-24dcb14g.js → form-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{bus-2710q6r3.js → form-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{bus-2bv980vf.js → form-2bv980vf.js} +0 -0
  707. /package/dist/chunks/{bus-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{bus-359p4xyc.js → form-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{bus-3asan66x.js → form-3asan66x.js} +0 -0
  710. /package/dist/chunks/{bus-3v8g72cx.js → form-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{bus-3wcehsnq.js → form-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{bus-43n2bw4t.js → form-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{bus-4knz6hnm.js → form-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{bus-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{bus-4y7fprxs.js → form-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{bus-53557ph1.js → form-53557ph1.js} +0 -0
  717. /package/dist/chunks/{bus-550bvhaj.js → form-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{bus-6prwharc.js → form-6prwharc.js} +0 -0
  719. /package/dist/chunks/{bus-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
  720. /package/dist/chunks/{bus-7akdwqpd.js → form-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{bus-7m9af43g.js → form-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{bus-822emrt2.js → form-822emrt2.js} +0 -0
  723. /package/dist/chunks/{bus-84wd9syh.js → form-84wd9syh.js} +0 -0
  724. /package/dist/chunks/{bus-88xbtdfr.js → form-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{bus-8n3pysct.js → form-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{bus-8wj87zfr.js → form-8wj87zfr.js} +0 -0
  727. /package/dist/chunks/{bus-9a4afbnw.js → form-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{bus-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{bus-a058387c.js → form-a058387c.js} +0 -0
  730. /package/dist/chunks/{bus-a6k6eb26.js → form-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{bus-af5trqkr.js → form-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{bus-afrmfg78.js → form-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{bus-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{bus-atq7p7m5.js → form-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{bus-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{bus-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{bus-cf4snx6d.js → form-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{bus-cqv5kn06.js → form-cqv5kn06.js} +0 -0
  739. /package/dist/chunks/{bus-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{bus-d9fn303g.js → form-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{bus-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{bus-dajrwvna.js → form-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{bus-dap0rakb.js → form-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{bus-df08tz66.js → form-df08tz66.js} +0 -0
  745. /package/dist/chunks/{bus-dy18nga0.js → form-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{bus-e3qxr5gk.js → form-e3qxr5gk.js} +0 -0
  747. /package/dist/chunks/{bus-e5kj55wp.js → form-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{bus-e73j6tqm.js → form-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{bus-ec1grn59.js → form-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{bus-eh3zwz77.js → form-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{bus-emrn6kk6.js → form-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{bus-f0mxakyp.js → form-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{bus-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{bus-faypxj3z.js → form-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{bus-fd410y7t.js → form-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{bus-g4wezp1m.js → form-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{bus-g86h250q.js → form-g86h250q.js} +0 -0
  758. /package/dist/chunks/{bus-gebd4c9n.js → form-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{bus-gftt206x.js → form-gftt206x.js} +0 -0
  760. /package/dist/chunks/{bus-hcxmzztb.js → form-hcxmzztb.js} +0 -0
  761. /package/dist/chunks/{bus-hk9envan.js → form-hk9envan.js} +0 -0
  762. /package/dist/chunks/{bus-j2ntwpah.js → form-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{bus-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{bus-jjkms2e6.js → form-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{bus-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{bus-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{bus-jwr30sdr.js → form-jwr30sdr.js} +0 -0
  768. /package/dist/chunks/{bus-jze0r7bz.js → form-jze0r7bz.js} +0 -0
  769. /package/dist/chunks/{bus-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{bus-m18g726c.js → form-m18g726c.js} +0 -0
  771. /package/dist/chunks/{bus-mp448xyj.js → form-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{bus-msx8hqn2.js → form-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{bus-n05xt0ee.js → form-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{bus-n3j8tn72.js → form-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{bus-njntx4h6.js → form-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{bus-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
  777. /package/dist/chunks/{bus-q3sfg36h.js → form-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{bus-q74kybfr.js → form-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{bus-qaymkmh1.js → form-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{bus-qb87gjwd.js → form-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{bus-qfa1cgps.js → form-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{bus-qg3g05ea.js → form-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{bus-qrg20bc0.js → form-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{bus-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{bus-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{bus-sjmm3wxa.js → form-sjmm3wxa.js} +0 -0
  787. /package/dist/chunks/{bus-ssg3fenm.js → form-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{bus-ve7vex1e.js → form-ve7vex1e.js} +0 -0
  789. /package/dist/chunks/{bus-w803qqfp.js → form-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{bus-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{bus-wer8tq1h.js → form-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{bus-wjj7prxr.js → form-wjj7prxr.js} +0 -0
  793. /package/dist/chunks/{bus-wtztk69x.js → form-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{bus-x0ckcb58.js → form-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{bus-x61499pn.js → form-x61499pn.js} +0 -0
  796. /package/dist/chunks/{bus-y44na4kk.js → form-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{bus-y8f7s663.js → form-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{bus-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{bus-ym463w8f.js → form-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{bus-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
  801. /package/dist/chunks/{bus-z9919s4g.js → form-z9919s4g.js} +0 -0
@@ -1,115 +1,115 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./bus-hj7n8j55.js";
4
+ } from "./form-dkq45mty.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./bus-5a5619qn.js";
6
+ Service81,
7
+ node85
8
+ } from "./form-ecv950bf.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref2,
12
- Service78,
13
- node82
14
- } from "./bus-trgp8ev6.js";
12
+ Service76,
13
+ node80
14
+ } from "./form-7zbjpcgf.js";
15
15
  import {
16
- ID9,
17
- Service66,
18
- node69
19
- } from "./bus-1w9k09te.js";
16
+ ID18,
17
+ Service85,
18
+ node89
19
+ } from "./form-8aa3rj35.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./bus-21pdxbx2.js";
22
+ } from "./form-shdhkr49.js";
23
23
  import {
24
24
  combine2
25
- } from "./bus-e5dqjz6v.js";
25
+ } from "./form-jneg3k74.js";
26
26
  import {
27
27
  entriesForRunner2
28
- } from "./bus-gs8m0426.js";
28
+ } from "./form-twvgeg0c.js";
29
29
  import {
30
- Service63,
31
- node66
32
- } from "./bus-pnwjjc01.js";
30
+ Service51,
31
+ node54
32
+ } from "./form-8kt5nrfk.js";
33
33
  import {
34
34
  merge2
35
- } from "./bus-yth42b8q.js";
35
+ } from "./form-p35g19ew.js";
36
36
  import {
37
- make14
38
- } from "./bus-45szfbjt.js";
37
+ make13
38
+ } from "./form-xr0fdn46.js";
39
39
  import {
40
- Service48,
41
- node51
42
- } from "./bus-p4stbfde.js";
43
- import {
44
- Service33,
45
- node37
46
- } from "./bus-1njsdcyp.js";
40
+ Service71,
41
+ node75
42
+ } from "./form-h9b0ss67.js";
47
43
  import {
48
- Service43,
49
- node46
50
- } from "./bus-4hmqv3dg.js";
51
- import {
52
- Service36,
53
- node40
54
- } from "./bus-8tgysywa.js";
44
+ Service30,
45
+ node33
46
+ } from "./form-gf1tscqt.js";
55
47
  import {
56
48
  Service35,
57
- node39
58
- } from "./bus-xvk38nmq.js";
49
+ node38
50
+ } from "./form-qdckhfvx.js";
59
51
  import {
60
52
  Service32,
61
- node36
62
- } from "./bus-hxbrq7ky.js";
53
+ node35
54
+ } from "./form-ndqzk6tc.js";
63
55
  import {
64
- Service34,
65
- node38
66
- } from "./bus-dyjhv7x6.js";
56
+ Service31,
57
+ node34
58
+ } from "./form-t6fwpnvd.js";
67
59
  import {
68
- Service29,
69
- node33
70
- } from "./bus-e76r8gh4.js";
60
+ Service25,
61
+ node29
62
+ } from "./form-5gc3gx18.js";
71
63
  import {
72
- Service30,
73
- node34
74
- } from "./bus-3f6xt6nq.js";
64
+ Service24,
65
+ node28
66
+ } from "./form-zgaxvjwc.js";
75
67
  import {
76
- Service56,
77
- node59
78
- } from "./bus-2jtphcac.js";
68
+ Service26,
69
+ node30
70
+ } from "./form-hr9cza2g.js";
71
+ import {
72
+ Service28,
73
+ node31
74
+ } from "./form-57mrygtr.js";
75
+ import {
76
+ Service48,
77
+ node51
78
+ } from "./form-3vrw48hq.js";
79
79
  import {
80
80
  __export
81
- } from "./bus-9rqn6x4v.js";
81
+ } from "./form-9rqn6x4v.js";
82
82
 
83
83
  // src/session/context.ts
84
84
  var exports_context = {};
85
85
  __export(exports_context, {
86
- Service: () => Service28,
86
+ Service: () => Service23,
87
87
  SessionContext: () => exports_context,
88
- node: () => node32
88
+ node: () => node27
89
89
  });
90
90
  import { Context, Effect, Layer } from "effect";
91
91
  import { makeLocationNode } from "@opencode/util/effect/app-node";
92
- class Service28 extends Context.Service()("@opencode/SessionContext") {
92
+ class Service23 extends Context.Service()("@opencode/SessionContext") {
93
93
  }
94
- var layer = Layer.effect(Service28, Effect.gen(function* () {
95
- const agents = yield* Service66;
96
- const builtins = yield* Service33;
97
- const model = yield* Service78;
94
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
95
+ const agents = yield* Service85;
96
+ const builtins = yield* Service30;
97
+ const model = yield* Service76;
98
98
  const db = (yield* Service87).db;
99
- const discovery = yield* Service48;
100
- const entries = yield* Service29;
101
- const location = yield* Service80;
102
- const mcpInstructions = yield* Service35;
103
- const mcpTools = yield* Service36;
104
- const models = yield* Service56;
105
- const request = yield* Service30;
106
- const referenceInstructions = yield* Service32;
107
- const skillInstructions = yield* Service34;
108
- const store = yield* Service63;
109
- const registry = yield* Service43;
99
+ const discovery = yield* Service71;
100
+ const entries = yield* Service26;
101
+ const location = yield* Service81;
102
+ const mcpInstructions = yield* Service31;
103
+ const mcpTools = yield* Service32;
104
+ const models = yield* Service48;
105
+ const request = yield* Service28;
106
+ const referenceInstructions = yield* Service25;
107
+ const skillInstructions = yield* Service24;
108
+ const store = yield* Service51;
109
+ const registry = yield* Service35;
110
110
  const resolveModel = (session) => models.resolve(session, model.available);
111
111
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
112
- const agent = yield* agents.get(ID9.make("title"));
112
+ const agent = yield* agents.get(ID18.make("title"));
113
113
  if (!agent)
114
114
  return;
115
115
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
168
168
  session,
169
169
  agent: { ...agent, info: agent.info },
170
170
  instructions: combine2([
171
- make14(loaded.tools.codeModeCatalog),
171
+ make13(loaded.tools.codeModeCatalog),
172
172
  loaded.mcp,
173
173
  loaded.references,
174
174
  loaded.skills,
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
191
191
  tools: selection.tools
192
192
  };
193
193
  });
194
- return Service28.of({ select, load, resolveModel, selectTitle, request });
194
+ return Service23.of({ select, load, resolveModel, selectTitle, request });
195
195
  }));
196
196
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
197
197
  var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
199
199
  const rank = (id) => info.variants.findIndex((item) => item.id === id);
200
200
  return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
201
201
  };
202
- var node32 = makeLocationNode({
203
- service: Service28,
202
+ var node27 = makeLocationNode({
203
+ service: Service23,
204
204
  layer,
205
205
  deps: [
206
- node69,
207
- node82,
206
+ node89,
207
+ node80,
208
208
  node91,
209
- node37,
210
- node51,
211
209
  node33,
212
- node84,
213
- node39,
214
- node40,
215
- node36,
216
- node59,
210
+ node75,
211
+ node30,
212
+ node85,
217
213
  node34,
218
- node66,
219
- node38,
220
- node46
214
+ node35,
215
+ node29,
216
+ node51,
217
+ node31,
218
+ node54,
219
+ node28,
220
+ node38
221
221
  ]
222
222
  });
223
223
 
224
- export { Service28, node32, exports_context };
224
+ export { Service23, node27, exports_context };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./bus-hj7n8j55.js";
4
+ } from "./form-dkq45mty.js";
5
5
  import {
6
6
  Service86,
7
7
  node90
8
- } from "./bus-8sz8b50m.js";
8
+ } from "./form-rhjvhekr.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./bus-pknna89w.js";
11
+ } from "./form-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./bus-m1714858.js";
14
+ } from "./form-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./bus-9rqn6x4v.js";
17
+ } from "./form-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
23
+ Event: () => Event17,
24
24
  External: () => External2,
25
- ID: () => ID17,
26
- Info: () => Info29,
25
+ ID: () => ID14,
26
+ Info: () => Info25,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service84,
29
+ Service: () => Service80,
30
30
  Value: () => Value2,
31
- node: () => node88
31
+ node: () => node84
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -36,31 +36,31 @@ import { Credential } from "@opencode/schema/credential";
36
36
  import { CredentialLegacy } from "@opencode/schema/credential-legacy";
37
37
  import { Integration } from "@opencode/schema/integration";
38
38
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
39
- var ID17 = Credential.ID;
39
+ var ID14 = Credential.ID;
40
40
  var OAuth3 = Credential.OAuth;
41
41
  var Key4 = Credential.Key;
42
42
  var External2 = Credential.External;
43
43
  var Value2 = Credential.Value;
44
- var Event19 = Credential.Event;
44
+ var Event17 = Credential.Event;
45
45
 
46
- class Info29 extends Schema.Class("Credential.Info")({
47
- id: ID17,
46
+ class Info25 extends Schema.Class("Credential.Info")({
47
+ id: ID14,
48
48
  integrationID: Integration.ID,
49
49
  label: Schema.String,
50
50
  value: Value2
51
51
  }) {
52
52
  }
53
53
 
54
- class Service84 extends Context.Service()("@opencode/Credential") {
54
+ class Service80 extends Context.Service()("@opencode/Credential") {
55
55
  }
56
- var layer = Layer.effect(Service84, Effect.gen(function* () {
56
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
57
57
  const db = (yield* Service87).db;
58
58
  const bus = yield* Service86;
59
59
  const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
60
60
  const stored = (row) => {
61
61
  if (!row.integration_id)
62
62
  return;
63
- return new Info29({
63
+ return new Info25({
64
64
  id: row.id,
65
65
  integrationID: row.integration_id,
66
66
  label: row.label,
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
71
71
  const credential = stored(row);
72
72
  return credential ? [credential] : [];
73
73
  });
74
- return Service84.of({
74
+ return Service80.of({
75
75
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
77
77
  get: Effect.fn("Credential.get")(function* (id) {
@@ -79,8 +79,8 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
79
79
  return row ? stored(row) : undefined;
80
80
  }),
81
81
  create: Effect.fn("Credential.create")(function* (input) {
82
- const credential = new Info29({
83
- id: input.id ?? ID17.create(),
82
+ const credential = new Info25({
83
+ id: input.id ?? ID14.create(),
84
84
  integrationID: input.integrationID,
85
85
  label: input.label ?? "default",
86
86
  value: input.value
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
111
111
  type: credential.value.type,
112
112
  active: activated
113
113
  });
114
- yield* bus.publish(Event19.Updated, {}, { global: true });
114
+ yield* bus.publish(Event17.Updated, {}, { global: true });
115
115
  if (activated)
116
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
+ yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
117
117
  return credential;
118
118
  }),
119
119
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
133
133
  })), Effect.orDie);
134
134
  if (integrationID) {
135
135
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
136
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
136
+ yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
137
137
  }
138
138
  }),
139
139
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
165
165
  labelChanged: updates.label !== undefined && updates.label !== credential.label
166
166
  });
167
167
  if (updates.label !== undefined && updates.label !== credential.label)
168
- yield* bus.publish(Event19.Updated, {}, { global: true });
168
+ yield* bus.publish(Event17.Updated, {}, { global: true });
169
169
  }),
170
170
  remove: Effect.fn("Credential.remove")(function* (id) {
171
171
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
198
198
  active: removed.switched,
199
199
  ...removed.switched ? { replacementID: removed.credentialID } : {}
200
200
  });
201
- yield* bus.publish(Event19.Updated, {}, { global: true });
201
+ yield* bus.publish(Event17.Updated, {}, { global: true });
202
202
  if (removed.switched)
203
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
+ yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
204
204
  })
205
205
  });
206
206
  }));
207
- var node88 = makeGlobalNode({ service: Service84, layer, deps: [node91, node90] });
207
+ var node84 = makeGlobalNode({ service: Service80, layer, deps: [node91, node90] });
208
208
 
209
- export { ID17, OAuth3, Key4, External2, Value2, Event19, Info29, Service84, node88, exports_credential };
209
+ export { ID14, OAuth3, Key4, External2, Value2, Event17, Info25, Service80, node84, exports_credential };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service74
4
- } from "./bus-ybhwsy6b.js";
3
+ Service63
4
+ } from "./form-w3ns5rkg.js";
5
5
  import {
6
- Service47
7
- } from "./bus-ny95kkac.js";
6
+ Service70
7
+ } from "./form-443gxb00.js";
8
8
  import {
9
9
  observe2
10
- } from "./bus-6pjqjmy2.js";
10
+ } from "./form-6pjqjmy2.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./form-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin26
19
+ Plugin: () => Plugin44
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin26 = define({
23
+ var Plugin44 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service74;
27
- const snapshot = yield* Service47;
26
+ const config = yield* Service63;
27
+ const snapshot = yield* Service70;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin26 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin26, exports_snapshot };
38
+ export { Plugin44, exports_snapshot };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./bus-5a5619qn.js";
2
+ Service81,
3
+ node85
4
+ } from "./form-ecv950bf.js";
5
5
  import {
6
6
  create3
7
- } from "./bus-vd3b3yk9.js";
7
+ } from "./form-vd3b3yk9.js";
8
8
  import {
9
9
  __export
10
- } from "./bus-9rqn6x4v.js";
10
+ } from "./form-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service14,
17
- node: () => node16
16
+ Service: () => Service13,
17
+ node: () => node15
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service14 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service13 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service14, Effect.gen(function* () {
27
- const location = yield* Service80;
26
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
27
+ const location = yield* Service81;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service14.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service13.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node16 = makeLocationNode({
91
- service: Service14,
90
+ var node15 = makeLocationNode({
91
+ service: Service13,
92
92
  layer,
93
- deps: [node84, AppProcess.node]
93
+ deps: [node85, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service14, node16, exports_formatter2 };
96
+ export { Service13, node15, exports_formatter2 };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service80
3
- } from "./bus-5a5619qn.js";
2
+ Service81
3
+ } from "./form-ecv950bf.js";
4
4
  import {
5
- Service70
6
- } from "./bus-jsfyz6c7.js";
5
+ Service65
6
+ } from "./form-0es6nja8.js";
7
7
  import {
8
- Service15,
8
+ Service18,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./bus-mkzms3ra.js";
11
+ } from "./form-c53m598j.js";
12
12
  import {
13
- Service14
14
- } from "./bus-9n059q0a.js";
13
+ Service13
14
+ } from "./form-xg7y1tnh.js";
15
15
  import {
16
- Service61
17
- } from "./bus-yth42b8q.js";
16
+ Service50
17
+ } from "./form-p35g19ew.js";
18
18
  import {
19
- Service13,
19
+ Service14,
20
20
  resolvePath2
21
- } from "./bus-phpbvyrj.js";
21
+ } from "./form-x0yqbyz4.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./bus-6prwharc.js";
24
+ } from "./form-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./bus-9rqn6x4v.js";
27
+ } from "./form-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input6,
34
- Output: () => Output5,
35
- Plugin: () => Plugin9,
36
- name: () => name6
33
+ Input: () => Input9,
34
+ Output: () => Output7,
35
+ Plugin: () => Plugin11,
36
+ name: () => name9
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name6 = "edit";
43
- var Input6 = Schema.Struct({
42
+ var name9 = "edit";
43
+ var Input9 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input6 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output5 = Schema.Struct({
53
+ var Output7 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin9 = {
193
+ var Plugin11 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service13;
197
- const fileMutation = yield* Service15;
198
- const environment = yield* Service70;
199
- const formatter = yield* Service14;
200
- const location = yield* Service80;
201
- const permission = yield* Service61;
196
+ const access = yield* Service14;
197
+ const fileMutation = yield* Service18;
198
+ const environment = yield* Service65;
199
+ const formatter = yield* Service13;
200
+ const location = yield* Service81;
201
+ const permission = yield* Service50;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name6,
203
+ name: name9,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input6,
207
- output: Output5,
206
+ input: Input9,
207
+ output: Output7,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin9 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name6, Input6, Output5, Plugin9, exports_edit };
279
+ export { name9, Input9, Output7, Plugin11, exports_edit };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./bus-sjmm3wxa.js";
4
+ } from "./form-sjmm3wxa.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./bus-91rj84md.js";
8
+ } from "./form-91rj84md.js";
9
9
  import {
10
10
  __export
11
- } from "./bus-9rqn6x4v.js";
11
+ } from "./form-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./bus-z5v4ffb3.js";
4
+ } from "./form-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./bus-zb5gs1ba.js";
7
+ } from "./form-vwdfpcvx.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";