@opencode/core 0.0.0-dev-21309 → 0.0.0-dev-21317

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{form-mnxav5te.js → rpc-00jxnzb9.js} +5 -5
  8. package/dist/chunks/{form-csrxhvh8.js → rpc-01eq5551.js} +50 -50
  9. package/dist/chunks/{form-cg02sn39.js → rpc-02ap8j7c.js} +16 -16
  10. package/dist/chunks/{form-d5hbq9vh.js → rpc-08pm112b.js} +37 -37
  11. package/dist/chunks/{form-y56ehv6b.js → rpc-0996nyz8.js} +9 -9
  12. package/dist/chunks/{form-f6adby2b.js → rpc-0b3mjyaj.js} +30 -30
  13. package/dist/chunks/{form-nzq7ck9f.js → rpc-0hf9g8pg.js} +6 -6
  14. package/dist/chunks/{form-pkbhwwsm.js → rpc-0hy8befc.js} +21 -21
  15. package/dist/chunks/{form-jh2ps5wy.js → rpc-0jsbygf3.js} +11 -11
  16. package/dist/chunks/{form-0vbcp93d.js → rpc-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{form-mysqzpg8.js → rpc-0w14remh.js} +1 -1
  18. package/dist/chunks/{form-p5y15tvy.js → rpc-1g16v4dv.js} +16 -16
  19. package/dist/chunks/{form-0ab2r5bc.js → rpc-1mrh27g9.js} +20 -20
  20. package/dist/chunks/{form-6wr7nzx9.js → rpc-1rnp160z.js} +149 -149
  21. package/dist/chunks/{form-q47bt154.js → rpc-1ve1hva8.js} +15 -15
  22. package/dist/chunks/{form-sd97kvfg.js → rpc-1vm2jr1m.js} +14 -14
  23. package/dist/chunks/{form-7cs0wf9y.js → rpc-2b3xhh1f.js} +9 -9
  24. package/dist/chunks/{form-79kzwjp8.js → rpc-2csyvhj5.js} +11 -11
  25. package/dist/chunks/{form-1j8r0rfw.js → rpc-2s32b1pm.js} +2 -2
  26. package/dist/chunks/{form-6yfxq52g.js → rpc-2ywtyz89.js} +3 -3
  27. package/dist/chunks/{form-s12ckd47.js → rpc-33v3hd7n.js} +10 -10
  28. package/dist/chunks/{form-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  29. package/dist/chunks/{form-3hwn7j4h.js → rpc-3hwn7j4h.js} +2 -2
  30. package/dist/chunks/{form-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
  31. package/dist/chunks/{form-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
  32. package/dist/chunks/{form-8xnpz133.js → rpc-3vydj3kq.js} +5 -5
  33. package/dist/chunks/{form-7p3wxydp.js → rpc-3zmp6mvq.js} +24 -24
  34. package/dist/chunks/{form-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
  35. package/dist/chunks/{form-ddjvg64n.js → rpc-4032msc3.js} +14 -14
  36. package/dist/chunks/{form-qha5ekyp.js → rpc-4586qpea.js} +4 -4
  37. package/dist/chunks/{form-2q9fknbq.js → rpc-45z2phwr.js} +8 -8
  38. package/dist/chunks/{form-bkschzhq.js → rpc-4bgz7na6.js} +13 -13
  39. package/dist/chunks/{form-2xh5ht5h.js → rpc-4ej1p9w4.js} +3 -3
  40. package/dist/chunks/{form-v5rm5t0z.js → rpc-4hqc72tv.js} +11 -11
  41. package/dist/chunks/{form-gcywmqd1.js → rpc-4kvrjvaf.js} +8 -8
  42. package/dist/chunks/{form-54ma36ye.js → rpc-54ma36ye.js} +1 -1
  43. package/dist/chunks/{form-a6rgdr89.js → rpc-58hz9pw6.js} +29 -29
  44. package/dist/chunks/{form-zk2qw2pd.js → rpc-5bjhv7bx.js} +13 -13
  45. package/dist/chunks/{form-64hwtt3x.js → rpc-5dsat6dj.js} +9 -9
  46. package/dist/chunks/{form-6emxyc9g.js → rpc-5fgmhshs.js} +1 -1
  47. package/dist/chunks/{form-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
  48. package/dist/chunks/{form-0592574k.js → rpc-5pczf1s7.js} +8 -8
  49. package/dist/chunks/{form-ydgbnz16.js → rpc-5qrjjsm0.js} +1 -1
  50. package/dist/chunks/{form-43xx6kda.js → rpc-5rw40y9k.js} +22 -22
  51. package/dist/chunks/{form-x07jzsrz.js → rpc-5tqfz9j8.js} +16 -16
  52. package/dist/chunks/{form-6827pfxn.js → rpc-6827pfxn.js} +1 -1
  53. package/dist/chunks/{form-4553w93m.js → rpc-6e5y98rw.js} +2 -2
  54. package/dist/chunks/{form-5tp7cf11.js → rpc-6f0mpgjx.js} +4 -4
  55. package/dist/chunks/{form-ryr25ayn.js → rpc-6hh8tjw2.js} +4 -4
  56. package/dist/chunks/{form-0y3k7j43.js → rpc-6q7pxhem.js} +4 -4
  57. package/dist/chunks/{form-apsw5g4h.js → rpc-6thh7prw.js} +10 -10
  58. package/dist/chunks/{form-6xb47vfp.js → rpc-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{form-01w6r3jz.js → rpc-70wbgdde.js} +5 -5
  60. package/dist/chunks/{form-eh6ej367.js → rpc-76rvckpe.js} +5 -5
  61. package/dist/chunks/{form-4jctyxs9.js → rpc-76yfn11e.js} +21 -21
  62. package/dist/chunks/{form-775gj3j1.js → rpc-775gj3j1.js} +2 -2
  63. package/dist/chunks/{form-z3yspz9a.js → rpc-77a8pby6.js} +26 -26
  64. package/dist/chunks/{form-g66bevh5.js → rpc-79dmsh4f.js} +13 -13
  65. package/dist/chunks/{form-7evdcjn1.js → rpc-7a74wjkd.js} +4 -4
  66. package/dist/chunks/{form-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{form-2k8khapm.js → rpc-7dqw4kz8.js} +5 -5
  68. package/dist/chunks/{form-3cswzw9g.js → rpc-7gzma787.js} +7 -7
  69. package/dist/chunks/{form-jkjnadar.js → rpc-7hx68391.js} +24 -24
  70. package/dist/chunks/{form-px6wq6dz.js → rpc-7jj686hc.js} +21 -21
  71. package/dist/chunks/{form-jxvnzpw8.js → rpc-7pgfbpgc.js} +24 -24
  72. package/dist/chunks/{form-gyv5agwd.js → rpc-7tv5fpf7.js} +2 -2
  73. package/dist/chunks/{form-zc34vfrd.js → rpc-7vws6z87.js} +12 -12
  74. package/dist/chunks/{form-84txncab.js → rpc-84txncab.js} +1 -1
  75. package/dist/chunks/{form-tbmac1c7.js → rpc-86qzxe6p.js} +4 -4
  76. package/dist/chunks/{form-p008bemp.js → rpc-88sybas5.js} +17 -17
  77. package/dist/chunks/{form-as472svt.js → rpc-893fyb3c.js} +12 -12
  78. package/dist/chunks/{form-njv48zzv.js → rpc-895gdsnd.js} +16 -16
  79. package/dist/chunks/{form-8fd1zqwe.js → rpc-8brhn7pv.js} +85 -85
  80. package/dist/chunks/{form-m2ymgz0z.js → rpc-8d6fvqda.js} +33 -33
  81. package/dist/chunks/{form-a8nkje97.js → rpc-8frgrze6.js} +11 -11
  82. package/dist/chunks/{form-admdf9qy.js → rpc-8fvc1552.js} +30 -30
  83. package/dist/chunks/{form-8m6m0r52.js → rpc-8m6m0r52.js} +1 -1
  84. package/dist/chunks/{form-8mywswrd.js → rpc-8mywswrd.js} +1 -1
  85. package/dist/chunks/{form-k35dez0d.js → rpc-8t9rjyy6.js} +11 -11
  86. package/dist/chunks/{form-z9qyhhpt.js → rpc-972jds6k.js} +8 -8
  87. package/dist/chunks/{form-xqqvwv5j.js → rpc-9p6wdtc7.js} +16 -16
  88. package/dist/chunks/{form-mtxvdp9r.js → rpc-9q9ehedv.js} +17 -17
  89. package/dist/chunks/{form-5vfyv2px.js → rpc-9tk9j4pe.js} +29 -29
  90. package/dist/chunks/{form-qpkfbzpg.js → rpc-9z8xgd1b.js} +15 -15
  91. package/dist/chunks/{form-a20pjse5.js → rpc-a20pjse5.js} +3 -3
  92. package/dist/chunks/{form-01yb7a9a.js → rpc-a28109tc.js} +17 -17
  93. package/dist/chunks/{form-pcymg39e.js → rpc-aha1yb52.js} +24 -24
  94. package/dist/chunks/{form-n8nt0na6.js → rpc-anrp8nyn.js} +24 -24
  95. package/dist/chunks/{form-zygegkxh.js → rpc-b6ksnx6d.js} +19 -19
  96. package/dist/chunks/{form-ww5ckzyq.js → rpc-bbdjexyb.js} +21 -21
  97. package/dist/chunks/{form-159j6g8a.js → rpc-bc1qbg2y.js} +50 -50
  98. package/dist/chunks/{form-kk8h1mek.js → rpc-bc9tah8j.js} +8 -8
  99. package/dist/chunks/{form-zx85k7gh.js → rpc-benkh0ne.js} +7 -7
  100. package/dist/chunks/{form-ywt8jp22.js → rpc-bjx1sjef.js} +9 -9
  101. package/dist/chunks/{form-149ww98r.js → rpc-bx9tw11q.js} +6 -6
  102. package/dist/chunks/{form-65f8ybtn.js → rpc-by7vy9ry.js} +14 -14
  103. package/dist/chunks/{form-t2gndjp3.js → rpc-byfnn1yt.js} +7 -7
  104. package/dist/chunks/{form-1ep4rre3.js → rpc-bzeyqsqd.js} +4 -4
  105. package/dist/chunks/{form-c1fqxshp.js → rpc-c1fqxshp.js} +3 -3
  106. package/dist/chunks/{form-bmdqnj6f.js → rpc-ccnr14qc.js} +11 -11
  107. package/dist/chunks/{form-3e4a7xxm.js → rpc-cdpaedqb.js} +11 -11
  108. package/dist/chunks/{form-2yt4cmmc.js → rpc-ch6w3xdz.js} +4 -4
  109. package/dist/chunks/{form-p4mj4rdp.js → rpc-cmwkp3r5.js} +8 -8
  110. package/dist/chunks/{form-evdvhfzx.js → rpc-cq9r63kb.js} +25 -25
  111. package/dist/chunks/{form-gnzn9cn5.js → rpc-cr81ydc1.js} +4 -4
  112. package/dist/chunks/{form-7049gnx3.js → rpc-csqy2ej0.js} +29 -29
  113. package/dist/chunks/{form-wj1kajne.js → rpc-ct53serg.js} +8 -8
  114. package/dist/chunks/{form-1rydqggj.js → rpc-cyaf7x2b.js} +36 -36
  115. package/dist/chunks/{form-y98rys2n.js → rpc-cyawa949.js} +11 -11
  116. package/dist/chunks/{form-k9hrtvd5.js → rpc-czvnsba0.js} +9 -9
  117. package/dist/chunks/{form-2sejkfem.js → rpc-d4he2qe1.js} +9 -9
  118. package/dist/chunks/{form-zhgq12gm.js → rpc-davd2qck.js} +30 -30
  119. package/dist/chunks/{form-addxnjmp.js → rpc-db2wf4at.js} +4 -4
  120. package/dist/chunks/{form-w8reh54w.js → rpc-dchhc6c0.js} +6 -6
  121. package/dist/chunks/{form-ybax1fzm.js → rpc-dgbwxr57.js} +2 -2
  122. package/dist/chunks/{form-ec9r64eb.js → rpc-dn3c1mcf.js} +36 -36
  123. package/dist/chunks/{form-m0j93tdc.js → rpc-dpa5xhb4.js} +21 -21
  124. package/dist/chunks/{form-xfkkasph.js → rpc-drwq78ky.js} +4 -4
  125. package/dist/chunks/{form-6jgeearj.js → rpc-dsdptgac.js} +8 -8
  126. package/dist/chunks/{form-mtrbqqrq.js → rpc-dtqg9ce1.js} +5 -5
  127. package/dist/chunks/{form-nem0pv7t.js → rpc-e3gdw1r1.js} +25 -25
  128. package/dist/chunks/{form-rhjbct0v.js → rpc-eaj1djv9.js} +8 -8
  129. package/dist/chunks/{form-5hmkpywb.js → rpc-ecwjgqwb.js} +31 -31
  130. package/dist/chunks/{form-eej6y6fw.js → rpc-eej6y6fw.js} +2 -2
  131. package/dist/chunks/{form-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{form-kn8ghv8t.js → rpc-enftz5nt.js} +167 -167
  133. package/dist/chunks/{form-0rtp69vm.js → rpc-enkv1cah.js} +10 -10
  134. package/dist/chunks/{form-7ztexanv.js → rpc-f15bp7fc.js} +15 -15
  135. package/dist/chunks/{form-293yhkqp.js → rpc-f4rze370.js} +5 -5
  136. package/dist/chunks/{form-bvr6saty.js → rpc-f5arb8be.js} +22 -22
  137. package/dist/chunks/{form-da7xf5ay.js → rpc-f7wb66b8.js} +27 -27
  138. package/dist/chunks/{form-phtk6n36.js → rpc-fav346qz.js} +45 -45
  139. package/dist/chunks/{form-fcy631f0.js → rpc-fcy631f0.js} +1 -1
  140. package/dist/chunks/{form-t16svwyk.js → rpc-fjat486w.js} +20 -20
  141. package/dist/chunks/{form-e0qnmsg8.js → rpc-ftm64v0w.js} +24 -24
  142. package/dist/chunks/{form-8a6hh32g.js → rpc-g1p1atpp.js} +10 -10
  143. package/dist/chunks/{form-2ztv3xbn.js → rpc-g255r8kb.js} +3 -3
  144. package/dist/chunks/{form-kjdm35cs.js → rpc-g6yfr6ja.js} +5 -5
  145. package/dist/chunks/{form-yf054wvd.js → rpc-g7yr8gcf.js} +20 -20
  146. package/dist/chunks/{form-kjf4kcws.js → rpc-g8xp5ryd.js} +17 -17
  147. package/dist/chunks/{form-my6mv4rd.js → rpc-gbtxxg6d.js} +26 -26
  148. package/dist/chunks/{form-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{form-bt0xk3k9.js → rpc-gec39g60.js} +37 -37
  150. package/dist/chunks/{form-jz13mca3.js → rpc-ggbh8asv.js} +28 -28
  151. package/dist/chunks/{form-b674v2dg.js → rpc-gj71zhbs.js} +5 -5
  152. package/dist/chunks/{form-mr25sape.js → rpc-gyyzyjff.js} +24 -24
  153. package/dist/chunks/{form-weqnn3ye.js → rpc-h1p8pfjz.js} +87 -87
  154. package/dist/chunks/{form-e86gnere.js → rpc-h1sbay6j.js} +10 -10
  155. package/dist/chunks/{form-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{form-aspe32j5.js → rpc-h9v1428w.js} +20 -20
  157. package/dist/chunks/{form-p4ye8mev.js → rpc-hde8myxm.js} +6 -6
  158. package/dist/chunks/{form-hgz4x7wa.js → rpc-hgz4x7wa.js} +1 -1
  159. package/dist/chunks/{form-f8bcsxje.js → rpc-hkq80jaq.js} +2 -2
  160. package/dist/chunks/{form-1w2wqhfv.js → rpc-hq3c8me3.js} +4 -4
  161. package/dist/chunks/{form-ezrgp273.js → rpc-hqqv916v.js} +23 -23
  162. package/dist/chunks/{form-fv12q9k0.js → rpc-hrfx14v9.js} +13 -13
  163. package/dist/chunks/{form-88yja26d.js → rpc-hw77q6fs.js} +9 -9
  164. package/dist/chunks/{form-31fkayz7.js → rpc-hy1sb00p.js} +30 -30
  165. package/dist/chunks/{form-m1z5ek08.js → rpc-hyay7qq8.js} +8 -8
  166. package/dist/chunks/{form-jytfn6ja.js → rpc-j0cdr2fc.js} +8 -8
  167. package/dist/chunks/{form-b12fh71z.js → rpc-j6ktnsbj.js} +5 -5
  168. package/dist/chunks/{form-pf1b2z5t.js → rpc-jhsnzz9y.js} +32 -32
  169. package/dist/chunks/{form-46wtzjjz.js → rpc-jr66w75k.js} +3 -3
  170. package/dist/chunks/{form-f93vdewn.js → rpc-jsba75yt.js} +6 -6
  171. package/dist/chunks/{form-prcpq60y.js → rpc-jwwcvrfa.js} +8 -8
  172. package/dist/chunks/{form-9bj0dwv2.js → rpc-k142x1ht.js} +7 -7
  173. package/dist/chunks/{form-rwm5vee1.js → rpc-k76fn4kw.js} +4 -4
  174. package/dist/chunks/{form-dke6jjmt.js → rpc-k9vfwqcy.js} +1 -1
  175. package/dist/chunks/{form-g2jr9t01.js → rpc-kc4pmtd7.js} +15 -15
  176. package/dist/chunks/{form-wfa292tn.js → rpc-kpc1hm91.js} +9 -9
  177. package/dist/chunks/{form-5c36xey0.js → rpc-kw8539bv.js} +18 -18
  178. package/dist/chunks/{form-kwb1v3vj.js → rpc-kwb1v3vj.js} +1 -1
  179. package/dist/chunks/{form-xp2zd69v.js → rpc-kyn2zspx.js} +20 -20
  180. package/dist/chunks/{form-fn8k43nn.js → rpc-m772a2nk.js} +23 -23
  181. package/dist/chunks/{form-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{form-maspj1v3.js → rpc-maspj1v3.js} +1 -1
  183. package/dist/chunks/{form-mpzfxbse.js → rpc-megydfs1.js} +3 -3
  184. package/dist/chunks/{form-9pkymny3.js → rpc-mmpzk464.js} +15 -15
  185. package/dist/chunks/{form-ttfrdszx.js → rpc-n0aztcqq.js} +22 -22
  186. package/dist/chunks/{form-pw1h6ks1.js → rpc-nd22kdkt.js} +25 -25
  187. package/dist/chunks/{form-7nqnfc0d.js → rpc-ndq3tns3.js} +19 -19
  188. package/dist/chunks/{form-w78b8eew.js → rpc-nfaj7hc4.js} +8 -8
  189. package/dist/chunks/{form-phf263fg.js → rpc-njexvj4x.js} +48 -48
  190. package/dist/chunks/{form-m7nc2rpb.js → rpc-nrnz1hj7.js} +50 -50
  191. package/dist/chunks/{form-fww2ha2b.js → rpc-nw0vbtkz.js} +10 -10
  192. package/dist/chunks/{form-e3abpcc4.js → rpc-nxwp04ag.js} +16 -16
  193. package/dist/chunks/{form-v13b12ef.js → rpc-nz56sr1f.js} +5 -5
  194. package/dist/chunks/{form-7t193933.js → rpc-p7ewv77c.js} +2 -2
  195. package/dist/chunks/{form-5kmmw6ns.js → rpc-pb6e7513.js} +31 -31
  196. package/dist/chunks/{form-ze75yzft.js → rpc-pedttwxr.js} +8 -8
  197. package/dist/chunks/{form-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{form-pknna89w.js → rpc-pknna89w.js} +1 -1
  199. package/dist/chunks/{form-f532e7gj.js → rpc-pqhm9z8g.js} +16 -16
  200. package/dist/chunks/{form-522p3b9e.js → rpc-pzkkvw2v.js} +5 -5
  201. package/dist/chunks/{form-e6pqykgy.js → rpc-q2rh4y1n.js} +4 -4
  202. package/dist/chunks/{form-ppf9jb57.js → rpc-q2wkjcq3.js} +11 -11
  203. package/dist/chunks/{form-se8s5apy.js → rpc-q3ctsp6k.js} +13 -13
  204. package/dist/chunks/{form-exp1944n.js → rpc-q5acm4m4.js} +16 -16
  205. package/dist/chunks/{form-r9vpxkp0.js → rpc-q65b0zw3.js} +41 -41
  206. package/dist/chunks/{form-fs6b610g.js → rpc-qc67d349.js} +11 -11
  207. package/dist/chunks/{form-zn6cgmq1.js → rpc-qjfd8twb.js} +32 -32
  208. package/dist/chunks/{form-qnc92qwc.js → rpc-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{form-qsdy395h.js → rpc-qsdy395h.js} +1 -1
  210. package/dist/chunks/{form-3d7d73y7.js → rpc-qv0sc65t.js} +6 -6
  211. package/dist/chunks/{form-0n8a0ffz.js → rpc-qzm6q9ch.js} +6 -6
  212. package/dist/chunks/{form-sxcaecc0.js → rpc-r2z489rp.js} +3 -3
  213. package/dist/chunks/{form-21r3m04z.js → rpc-r7vb4k0a.js} +14 -14
  214. package/dist/chunks/{form-k5yp4jza.js → rpc-rccf3xte.js} +38 -38
  215. package/dist/chunks/{form-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{form-rert0e01.js → rpc-rert0e01.js} +2 -2
  217. package/dist/chunks/{form-rj3eygr5.js → rpc-rj3eygr5.js} +2 -2
  218. package/dist/chunks/{form-1tmtn4f0.js → rpc-rjnv3zd2.js} +20 -20
  219. package/dist/chunks/{form-py3kkmfq.js → rpc-rkprpv83.js} +2 -2
  220. package/dist/chunks/{form-rmb1gw6x.js → rpc-rptgsz2k.js} +21 -21
  221. package/dist/chunks/{form-3a2zxt72.js → rpc-s4b91j0y.js} +14 -14
  222. package/dist/chunks/{form-sa8ekw3f.js → rpc-sa8ekw3f.js} +2 -2
  223. package/dist/chunks/{form-vygwap6r.js → rpc-sce1vgyn.js} +3 -3
  224. package/dist/chunks/{form-6s0a03gm.js → rpc-spdyatzf.js} +24 -24
  225. package/dist/chunks/{form-6f7em8tn.js → rpc-sq13d96m.js} +13 -13
  226. package/dist/chunks/{form-58072hz9.js → rpc-ss358qx3.js} +3 -3
  227. package/dist/chunks/{form-gr6bp44c.js → rpc-stw4zx2z.js} +17 -17
  228. package/dist/chunks/{form-ycwe7tdf.js → rpc-sw038fb9.js} +18 -18
  229. package/dist/chunks/{form-50rkvycx.js → rpc-sygj34gt.js} +22 -22
  230. package/dist/chunks/{form-syv4x271.js → rpc-syv4x271.js} +1 -1
  231. package/dist/chunks/{form-8tp1gwdj.js → rpc-t3p0q4cs.js} +32 -32
  232. package/dist/chunks/{form-7pqmk9b7.js → rpc-t8yrtgjx.js} +11 -11
  233. package/dist/chunks/{form-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{form-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{form-b7jha8hs.js → rpc-td2fazyb.js} +7 -7
  236. package/dist/chunks/{form-tdstcens.js → rpc-tdstcens.js} +1 -1
  237. package/dist/chunks/{form-7c4aq7s6.js → rpc-teyvr9pn.js} +13 -13
  238. package/dist/chunks/{form-09rh3qbs.js → rpc-tgv1vth5.js} +17 -17
  239. package/dist/chunks/{form-tm0kqsz3.js → rpc-tm0kqsz3.js} +1 -1
  240. package/dist/chunks/{form-dq407baf.js → rpc-tt8gc4fv.js} +6 -6
  241. package/dist/chunks/{form-waskdk5r.js → rpc-txm3e8qz.js} +4 -4
  242. package/dist/chunks/{form-dgct1c5d.js → rpc-tynxprqf.js} +9 -9
  243. package/dist/chunks/{form-ccjfg0tr.js → rpc-tyttjw0w.js} +33 -33
  244. package/dist/chunks/{form-tyytaxap.js → rpc-tyytaxap.js} +1 -1
  245. package/dist/chunks/{form-v210v162.js → rpc-v210v162.js} +2 -2
  246. package/dist/chunks/{form-v7p4zvkq.js → rpc-v7p4zvkq.js} +2 -2
  247. package/dist/chunks/{form-bgc5ggmx.js → rpc-v7z2bvyd.js} +4 -4
  248. package/dist/chunks/{form-zt93p4vm.js → rpc-veff5j2c.js} +19 -19
  249. package/dist/chunks/{form-veqvce7d.js → rpc-veqvce7d.js} +1 -1
  250. package/dist/chunks/{form-2r00bf87.js → rpc-vnb8gzb8.js} +18 -18
  251. package/dist/chunks/rpc-vnkjks7b.js +18 -0
  252. package/dist/chunks/{form-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{form-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{form-f0ftzx98.js → rpc-w8djw5a7.js} +9 -9
  255. package/dist/chunks/{form-wd87259q.js → rpc-wd87259q.js} +1 -1
  256. package/dist/chunks/{form-byehbd7c.js → rpc-wddqga6e.js} +9 -9
  257. package/dist/chunks/{form-ze4ea8mz.js → rpc-wgcwex3a.js} +11 -11
  258. package/dist/chunks/{form-745spws3.js → rpc-wr93r6cw.js} +25 -25
  259. package/dist/chunks/{form-440je11f.js → rpc-wwrfz3b0.js} +27 -27
  260. package/dist/chunks/{form-bc1hz80r.js → rpc-x0t5pnxf.js} +16 -16
  261. package/dist/chunks/{form-hdzv5k9p.js → rpc-x9bjgwq0.js} +11 -11
  262. package/dist/chunks/{form-zjfytr3m.js → rpc-xhht67kb.js} +18 -18
  263. package/dist/chunks/{form-w56rxd4n.js → rpc-xjz1052a.js} +13 -13
  264. package/dist/chunks/{form-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{form-dpkg50ah.js → rpc-y71avatq.js} +4 -4
  266. package/dist/chunks/{form-d7x0sh0y.js → rpc-y7nndgyc.js} +9 -9
  267. package/dist/chunks/{form-960ccn17.js → rpc-y9sqk9tm.js} +325 -325
  268. package/dist/chunks/{form-jdmw2rsk.js → rpc-yhvd17me.js} +19 -19
  269. package/dist/chunks/{form-h4bnd9mc.js → rpc-ymek8a0n.js} +11 -11
  270. package/dist/chunks/{form-1acjjqhc.js → rpc-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{form-djdfaxd1.js → rpc-yy4dw9jz.js} +39 -39
  272. package/dist/chunks/{form-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{form-z18fegx4.js → rpc-z18fegx4.js} +1 -1
  274. package/dist/chunks/{form-9q9cc4yk.js → rpc-z2595r2k.js} +13 -13
  275. package/dist/chunks/{form-8p4v04p7.js → rpc-z5xa59k4.js} +3 -3
  276. package/dist/chunks/{form-7y1apa1f.js → rpc-z9eaewrq.js} +12 -12
  277. package/dist/chunks/{form-rgy0q2mm.js → rpc-zezswsb1.js} +9 -9
  278. package/dist/chunks/rpc-zgrqbn7y.js +26 -0
  279. package/dist/chunks/{form-ysn0w3pq.js → rpc-zjx3dfpq.js} +57 -57
  280. package/dist/chunks/{form-g091zayf.js → rpc-zkdr3trz.js} +22 -22
  281. package/dist/chunks/{form-dys7k0s0.js → rpc-zq01xz8r.js} +8 -8
  282. package/dist/chunks/{form-m8xah3g8.js → rpc-zqq0bw5m.js} +15 -15
  283. package/dist/chunks/{form-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{form-e9hz0076.js → rpc-zrhb62f8.js} +12 -12
  285. package/dist/chunks/{form-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{form-5b351nnx.js → rpc-zz959vma.js} +9 -9
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +116 -116
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +87 -87
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +215 -215
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +88 -88
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +106 -106
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +133 -133
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +83 -83
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +131 -131
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +113 -113
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +92 -92
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +114 -114
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +123 -123
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +116 -116
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +223 -223
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +82 -82
  562. package/dist/provider.js +97 -97
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +134 -134
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +215 -215
  583. package/dist/session/execution.js +129 -129
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +97 -97
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +223 -223
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +153 -153
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +208 -208
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +214 -214
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +9 -9
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +114 -114
  632. package/dist/snapshot.js +95 -95
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +130 -130
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +118 -118
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +122 -122
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +207 -207
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +114 -114
  651. package/dist/tool/plugin/websearch.js +110 -110
  652. package/dist/tool/plugin/write.js +122 -122
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +16 -16
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  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 +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +89 -89
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +84 -84
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +81 -81
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +82 -82
  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 +98 -98
  690. package/package.json +8 -8
  691. package/dist/chunks/form-m40er8qz.js +0 -26
  692. package/dist/chunks/form-n95b3jav.js +0 -18
  693. /package/dist/chunks/{form-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{form-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{form-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{form-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{form-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{form-24dcb14g.js → rpc-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{form-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{form-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{form-2bv980vf.js → rpc-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{form-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{form-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{form-3asan66x.js → rpc-3asan66x.js} +0 -0
  705. /package/dist/chunks/{form-3t0ybcrp.js → rpc-3t0ybcrp.js} +0 -0
  706. /package/dist/chunks/{form-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{form-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{form-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{form-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{form-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{form-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{form-53557ph1.js → rpc-53557ph1.js} +0 -0
  713. /package/dist/chunks/{form-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{form-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{form-6prwharc.js → rpc-6prwharc.js} +0 -0
  716. /package/dist/chunks/{form-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{form-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{form-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{form-822emrt2.js → rpc-822emrt2.js} +0 -0
  720. /package/dist/chunks/{form-84wd9syh.js → rpc-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{form-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{form-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{form-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{form-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{form-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{form-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{form-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{form-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{form-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{form-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{form-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{form-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{form-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{form-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{form-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{form-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{form-dajrwvna.js → rpc-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{form-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{form-df08tz66.js → rpc-df08tz66.js} +0 -0
  740. /package/dist/chunks/{form-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{form-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{form-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{form-ec1grn59.js → rpc-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{form-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{form-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{form-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{form-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{form-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{form-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{form-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{form-g86h250q.js → rpc-g86h250q.js} +0 -0
  752. /package/dist/chunks/{form-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{form-gftt206x.js → rpc-gftt206x.js} +0 -0
  754. /package/dist/chunks/{form-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{form-hk9envan.js → rpc-hk9envan.js} +0 -0
  756. /package/dist/chunks/{form-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{form-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{form-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{form-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{form-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{form-jze0r7bz.js → rpc-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{form-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{form-m18g726c.js → rpc-m18g726c.js} +0 -0
  764. /package/dist/chunks/{form-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{form-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{form-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{form-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{form-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{form-pkyv6v7h.js → rpc-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{form-pyv0edze.js → rpc-pyv0edze.js} +0 -0
  771. /package/dist/chunks/{form-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{form-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{form-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{form-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{form-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{form-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{form-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{form-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{form-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{form-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{form-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{form-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{form-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{form-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{form-wjj7prxr.js → rpc-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{form-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{form-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{form-x61499pn.js → rpc-x61499pn.js} +0 -0
  789. /package/dist/chunks/{form-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{form-y8f7s663.js → rpc-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{form-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{form-ym463w8f.js → rpc-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{form-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{form-z9919s4g.js → rpc-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./form-5tp7cf11.js";
4
+ } from "./rpc-6f0mpgjx.js";
5
5
  import {
6
6
  environment2
7
- } from "./form-w56rxd4n.js";
7
+ } from "./rpc-xjz1052a.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./form-3t0ybcrp.js";
10
+ } from "./rpc-3t0ybcrp.js";
11
11
  import {
12
12
  __export
13
- } from "./form-9rqn6x4v.js";
13
+ } from "./rpc-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError6,
20
- Options: () => Options6,
19
+ NotFoundError: () => NotFoundError3,
20
+ Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service50,
23
- UnavailableError: () => UnavailableError4,
24
- available: () => available3,
25
- configured: () => configured6,
26
- layer: () => layer21,
27
- node: () => node53
22
+ Service: () => Service29,
23
+ UnavailableError: () => UnavailableError2,
24
+ available: () => available2,
25
+ configured: () => configured3,
26
+ layer: () => layer14,
27
+ node: () => node32
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -35,25 +35,25 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- import { available as available3 } from "#persistent-pty-binary";
39
- var Options6 = Schema.Struct({
38
+ import { available as available2 } from "#persistent-pty-binary";
39
+ var Options3 = Schema.Struct({
40
40
  handoff: Schema.optional(Handoff),
41
41
  root: Schema.optional(Schema.String)
42
42
  });
43
43
 
44
- class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
44
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
45
45
  message: Schema.String
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
+ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
50
50
  ptyID: Pty.ID
51
51
  }) {
52
52
  }
53
53
 
54
- class Service50 extends Context.Service()("@opencode/PersistentPty") {
54
+ class Service29 extends Context.Service()("@opencode/PersistentPty") {
55
55
  }
56
- var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* () {
56
+ var makeLayer = (options = {}) => Layer.effect(Service29, Effect.gen(function* () {
57
57
  const bus = yield* Service85;
58
58
  const global = yield* Global.Service;
59
59
  const context = yield* Effect.context();
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* (
76
76
  const get = Effect.fn("PersistentPty.get")(function* (id) {
77
77
  const found = (yield* list()).find((terminal) => terminal.id === id);
78
78
  if (!found)
79
- return yield* new NotFoundError6({ ptyID: id });
79
+ return yield* new NotFoundError3({ ptyID: id });
80
80
  return found;
81
81
  });
82
82
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* (
166
166
  });
167
167
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
168
168
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
169
- return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
169
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
170
170
  const id = current.get(sessionID);
171
171
  if (!id)
172
172
  return null;
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* (
243
243
  detach: attachment.detach
244
244
  };
245
245
  });
246
- return Service50.of({
246
+ return Service29.of({
247
247
  list,
248
248
  get,
249
249
  create,
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* (
259
259
  attach
260
260
  });
261
261
  }));
262
- var layer21 = makeLayer();
263
- var configured6 = (options) => makeGlobalNode({
264
- service: Service50,
265
- layer: options === undefined ? layer21 : makeLayer(options),
262
+ var layer14 = makeLayer();
263
+ var configured3 = (options) => makeGlobalNode({
264
+ service: Service29,
265
+ layer: options === undefined ? layer14 : makeLayer(options),
266
266
  deps: [node89, Global.node]
267
267
  });
268
- var node53 = configured6();
268
+ var node32 = configured3();
269
269
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
270
270
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
271
- var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
272
- var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
271
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
272
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
273
273
  function toInfo(value) {
274
274
  const status = value.lifecycle.status;
275
275
  return {
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options6, UnavailableError4, NotFoundError6, Service50, layer21, configured6, node53, exports_persistent_pty, Handoff2, available3 };
304
+ export { Options3, UnavailableError2, NotFoundError3, Service29, layer14, configured3, node32, exports_persistent_pty, Handoff2, available2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82
3
- } from "./form-f8bcsxje.js";
3
+ } from "./rpc-hkq80jaq.js";
4
4
  import {
5
- Service53
6
- } from "./form-k5yp4jza.js";
5
+ Service47
6
+ } from "./rpc-rccf3xte.js";
7
7
  import {
8
- Service18
9
- } from "./form-y98rys2n.js";
8
+ Service35
9
+ } from "./rpc-cyawa949.js";
10
10
  import {
11
- make4
12
- } from "./form-sxcaecc0.js";
11
+ make9
12
+ } from "./rpc-r2z489rp.js";
13
13
  import {
14
14
  observe2
15
- } from "./form-qsdy395h.js";
15
+ } from "./rpc-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./form-9rqn6x4v.js";
18
+ } from "./rpc-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/formatter.ts
21
21
  var exports_formatter = {};
22
22
  __export(exports_formatter, {
23
23
  ConfigFormatterPlugin: () => exports_formatter,
24
- Plugin: () => Plugin24
24
+ Plugin: () => Plugin23
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { FSUtil } from "@opencode/util/fs-util";
@@ -29,11 +29,11 @@ import { Global } from "@opencode/util/global";
29
29
  import { Npm } from "@opencode/util/npm";
30
30
  import { AppProcess } from "@opencode/util/process";
31
31
  import { Effect } from "effect";
32
- var Plugin24 = define({
32
+ var Plugin23 = define({
33
33
  id: "opencode.config.formatter",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const config = yield* Service53;
36
- const formatter = yield* Service18;
35
+ const config = yield* Service47;
36
+ const formatter = yield* Service35;
37
37
  const fs = yield* FSUtil.Service;
38
38
  const global = yield* Global.Service;
39
39
  const location = yield* Service82;
@@ -44,7 +44,7 @@ var Plugin24 = define({
44
44
  const configured = resolve(loaded.entries);
45
45
  if (!configured)
46
46
  return;
47
- const builtIns = make4({
47
+ const builtIns = make9({
48
48
  directory: location.directory,
49
49
  worktree: location.project.directory,
50
50
  fs,
@@ -85,4 +85,4 @@ function resolve(entries) {
85
85
  }, undefined);
86
86
  }
87
87
 
88
- export { Plugin24, exports_formatter };
88
+ export { Plugin23, exports_formatter };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./form-pyv0edze.js";
4
+ } from "./rpc-pyv0edze.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./form-syv4x271.js";
8
+ } from "./rpc-syv4x271.js";
9
9
  import {
10
10
  __export
11
- } from "./form-9rqn6x4v.js";
11
+ } from "./rpc-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./form-z5v4ffb3.js";
5
+ } from "./rpc-z5v4ffb3.js";
6
6
  import {
7
- Service56,
8
- node59
9
- } from "./form-rmb1gw6x.js";
7
+ Service64,
8
+ node67
9
+ } from "./rpc-rptgsz2k.js";
10
10
  import {
11
- Content2
12
- } from "./form-5kmmw6ns.js";
11
+ Content3
12
+ } from "./rpc-pb6e7513.js";
13
13
  import {
14
14
  detect2
15
- } from "./form-3smtnn6g.js";
15
+ } from "./rpc-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./form-9rqn6x4v.js";
18
+ } from "./rpc-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service6,
36
+ Service: () => Service13,
37
37
  TextPage: () => TextPage2,
38
- node: () => node8,
38
+ node: () => node15,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content2.fields
92
+ ...Content3.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service13 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service6, Effect.gen(function* () {
334
- const environment = yield* Service56;
335
- return Service6.of({
333
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
334
+ const environment = yield* Service64;
335
+ return Service13.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node8 = makeLocationNode({ service: Service6, layer, deps: [node59] });
340
+ var node15 = makeLocationNode({ service: Service13, layer, deps: [node67] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node8, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service13, read2, node15, exports_read_filesystem };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make20,
4
+ make21,
5
5
  diffByKey2
6
- } from "./form-rhjbct0v.js";
6
+ } from "./rpc-eaj1djv9.js";
7
7
  import {
8
- ID6,
8
+ ID4,
9
9
  Name2,
10
- available2,
11
- Service47,
12
- node50
13
- } from "./form-e0qnmsg8.js";
10
+ available3,
11
+ Service38,
12
+ node42
13
+ } from "./rpc-ftm64v0w.js";
14
14
  import {
15
15
  __export
16
- } from "./form-9rqn6x4v.js";
16
+ } from "./rpc-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions3 = {};
20
- __export(exports_instructions3, {
21
- Service: () => Service33,
22
- SkillInstructions: () => exports_instructions3,
23
- node: () => node36
19
+ var exports_instructions2 = {};
20
+ __export(exports_instructions2, {
21
+ Service: () => Service19,
22
+ SkillInstructions: () => exports_instructions2,
23
+ node: () => node23
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID6,
28
+ id: ID4,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,15 +60,15 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service33 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service19 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service33, Effect.gen(function* () {
66
- const skills = yield* Service47;
67
- return Service33.of({
65
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
66
+ const skills = yield* Service38;
67
+ return Service19.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
- const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
- return make20({
71
- key: Key3.make("core/skill-guidance"),
69
+ const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
+ return make21({
71
+ key: Key4.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
74
74
  render: {
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node36 = makeLocationNode({ service: Service33, layer, deps: [node50] });
83
+ var node23 = makeLocationNode({ service: Service19, layer, deps: [node42] });
84
84
 
85
- export { Service33, node36, exports_instructions3 };
85
+ export { Service19, node23, exports_instructions2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./form-775gj3j1.js";
3
+ } from "./rpc-775gj3j1.js";
4
4
  import {
5
- ID14,
6
- Service78,
7
- node81
8
- } from "./form-admdf9qy.js";
5
+ ID10,
6
+ Service70,
7
+ node74
8
+ } from "./rpc-8fvc1552.js";
9
9
  import {
10
10
  __export
11
- } from "./form-9rqn6x4v.js";
11
+ } from "./rpc-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service22,
18
- UnavailableError: () => UnavailableError2,
17
+ Service: () => Service33,
18
+ UnavailableError: () => UnavailableError4,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer11,
21
- node: () => node24
20
+ layer: () => layer16,
21
+ node: () => node36
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,36 +31,36 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError4 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service22 extends Context.Service()("@opencode/Voice") {
40
+ class Service33 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer11 = Layer.effect(Service22, Effect.gen(function* () {
42
+ var layer16 = Layer.effect(Service33, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service78;
44
+ const integrations = yield* Service70;
45
45
  const session = Effect.fn("Voice.session")(function* (input) {
46
46
  const engine = Realtime.engine(input.model);
47
47
  if (!engine)
48
48
  return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
49
- const connection = (yield* integrations.get(ID14.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
50
- const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: engine.provider, message: error.message }))) : undefined;
49
+ const connection = (yield* integrations.get(ID10.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
50
+ const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ service: engine.provider, message: error.message }))) : undefined;
51
51
  if (credential?.type !== "key")
52
- return yield* new UnavailableError2({
52
+ return yield* new UnavailableError4({
53
53
  service: engine.provider,
54
54
  message: missingKeyMessage[engine.provider]
55
55
  });
56
- return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: engine.provider })));
56
+ return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: engine.provider })));
57
57
  });
58
- return Service22.of({ session });
58
+ return Service33.of({ session });
59
59
  }));
60
- var node24 = makeLocationNode({
61
- service: Service22,
62
- layer: layer11,
63
- deps: [node81, requestExecutor2]
60
+ var node36 = makeLocationNode({
61
+ service: Service33,
62
+ layer: layer16,
63
+ deps: [node74, requestExecutor2]
64
64
  });
65
65
  var missingKeyMessage = {
66
66
  openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
@@ -68,4 +68,4 @@ var missingKeyMessage = {
68
68
  google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
69
69
  };
70
70
 
71
- export { InvalidRequestError2, UnavailableError2, Service22, layer11, node24, exports_voice };
71
+ export { InvalidRequestError2, UnavailableError4, Service33, layer16, node36, exports_voice };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service65,
3
- node68
4
- } from "./form-bc1hz80r.js";
2
+ Service56,
3
+ node59
4
+ } from "./rpc-x0t5pnxf.js";
5
5
  import {
6
- Service28,
7
- node31
8
- } from "./form-weqnn3ye.js";
6
+ Service15,
7
+ node18
8
+ } from "./rpc-h1p8pfjz.js";
9
9
  import {
10
10
  text2,
11
11
  deliver2
12
- } from "./form-6xb47vfp.js";
12
+ } from "./rpc-6xb47vfp.js";
13
13
  import {
14
14
  __export
15
- } from "./form-9rqn6x4v.js";
15
+ } from "./rpc-9rqn6x4v.js";
16
16
 
17
17
  // src/session/subagent-job.ts
18
18
  var exports_subagent_job = {};
19
19
  __export(exports_subagent_job, {
20
- Service: () => Service10,
20
+ Service: () => Service12,
21
21
  SubagentJob: () => exports_subagent_job,
22
- node: () => node12
22
+ node: () => node14
23
23
  });
24
24
  import { Context, Effect, Layer, Scope } from "effect";
25
25
  import { Node } from "@opencode/util/effect/app-node";
26
- class Service10 extends Context.Service()("@opencode/SubagentJob") {
26
+ class Service12 extends Context.Service()("@opencode/SubagentJob") {
27
27
  }
28
28
  var make = Effect.gen(function* () {
29
- const sessions = yield* Service28;
30
- const jobs = yield* Service65;
29
+ const sessions = yield* Service15;
30
+ const jobs = yield* Service56;
31
31
  const scope = yield* Scope.Scope;
32
32
  const context = yield* Effect.context();
33
33
  const notifications = new Set;
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
42
42
  yield* deliver2(sessions, jobs, { ...info, recovery });
43
43
  }).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
44
44
  });
45
- return Service10.of({
45
+ return Service12.of({
46
46
  start: (recovery) => jobs.start({
47
47
  id: recovery.childSessionID,
48
48
  type: "subagent",
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
64
64
  notify
65
65
  });
66
66
  });
67
- var node12 = Node.makeGlobalNode({
68
- service: Service10,
69
- layer: Layer.effect(Service10, make),
70
- deps: [node31, node68]
67
+ var node14 = Node.makeGlobalNode({
68
+ service: Service12,
69
+ layer: Layer.effect(Service12, make),
70
+ deps: [node18, node59]
71
71
  });
72
72
 
73
- export { Service10, node12, exports_subagent_job };
73
+ export { Service12, node14, exports_subagent_job };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./form-addxnjmp.js";
3
+ } from "./rpc-db2wf4at.js";
4
4
  import {
5
5
  Service85
6
- } from "./form-5tp7cf11.js";
6
+ } from "./rpc-6f0mpgjx.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./form-31fkayz7.js";
9
+ Event16
10
+ } from "./rpc-hy1sb00p.js";
11
11
  import {
12
- ID14,
12
+ ID10,
13
13
  MethodID2
14
- } from "./form-admdf9qy.js";
14
+ } from "./rpc-8fvc1552.js";
15
15
  import {
16
16
  ID9,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service70
20
- } from "./form-7p3wxydp.js";
19
+ Service69
20
+ } from "./rpc-3zmp6mvq.js";
21
21
  import {
22
- ID8
23
- } from "./form-mr25sape.js";
22
+ ID5
23
+ } from "./rpc-gyyzyjff.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./form-k9hrtvd5.js";
27
+ } from "./rpc-czvnsba0.js";
28
28
  import {
29
29
  useragent2
30
- } from "./form-ppf9jb57.js";
30
+ } from "./rpc-q2wkjcq3.js";
31
31
  import {
32
- ID12
33
- } from "./form-4jctyxs9.js";
32
+ ID15
33
+ } from "./rpc-76yfn11e.js";
34
34
  import {
35
35
  get5
36
- } from "./form-54ma36ye.js";
36
+ } from "./rpc-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID14.make("github-copilot"),
68
+ integrationID: ID10.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,7 +163,7 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service70;
166
+ const providers = yield* Service69;
167
167
  const bus = yield* Service85;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
@@ -230,14 +230,14 @@ var GithubCopilotPlugin2 = define({
230
230
  }
231
231
  });
232
232
  yield* ctx.model.transform((models) => {
233
- if (models.get(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
234
- models.update(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
233
+ if (models.get(ID9.githubCopilot, ID5.make("gpt-5-chat-latest"))) {
234
+ models.update(ID9.githubCopilot, ID5.make("gpt-5-chat-latest"), (model) => {
235
235
  model.enabled = false;
236
236
  });
237
237
  }
238
238
  });
239
239
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
240
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
240
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
241
  yield* refresh().pipe(Effect.forkScoped);
242
242
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
243
243
  if (evt.model.providerID !== ID9.githubCopilot)
@@ -265,7 +265,7 @@ var GithubCopilotPlugin2 = define({
265
265
  return;
266
266
  if (!loaded.baseURL || !loaded.token || !loaded.models)
267
267
  return;
268
- const agent = yield* ctx.agent.get({ agentID: ID12.make("title") }).pipe(Effect.orElseSucceed(() => {
268
+ const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
271
  if (agent?.data.model)