@opencode/core 0.0.0-dev-19503 → 0.0.0-dev-19506

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 (778) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{file-t550f9t1.js → catalog-02nrjc1r.js} +8 -8
  9. package/dist/chunks/{file-embw8kgh.js → catalog-06x8he3q.js} +4 -4
  10. package/dist/chunks/{file-4y66k410.js → catalog-0ajdgxne.js} +5 -5
  11. package/dist/chunks/{file-6djd1gzm.js → catalog-0d9x3d3d.js} +6 -6
  12. package/dist/chunks/{file-f4d4r4a6.js → catalog-0eh3yka3.js} +19 -19
  13. package/dist/chunks/{file-7ebn0nc0.js → catalog-0ft9cg2j.js} +6 -6
  14. package/dist/chunks/{file-0paq2nw3.js → catalog-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{file-0q0f95c6.js → catalog-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{file-jfqp9qt8.js → catalog-0st9n7we.js} +3 -3
  17. package/dist/chunks/{file-jtq2znwy.js → catalog-100840d2.js} +24 -24
  18. package/dist/chunks/{file-4p8799rk.js → catalog-1d8nyk1s.js} +14 -14
  19. package/dist/chunks/{file-1dazxqgg.js → catalog-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{file-2nv7jv6x.js → catalog-1ghwhpxv.js} +15 -15
  21. package/dist/chunks/{file-88sz8qcd.js → catalog-1hc11dc4.js} +4 -4
  22. package/dist/chunks/{file-fzsrmebp.js → catalog-1q930z6k.js} +22 -22
  23. package/dist/chunks/{file-7ek6x336.js → catalog-20tp6ykn.js} +167 -167
  24. package/dist/chunks/{file-21r38tys.js → catalog-21r38tys.js} +1 -1
  25. package/dist/chunks/{file-6h73sxmp.js → catalog-2402vzrj.js} +5 -5
  26. package/dist/chunks/{file-qpcnk2ce.js → catalog-27kynfr9.js} +68 -68
  27. package/dist/chunks/{file-2a5m3afh.js → catalog-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{file-9fvpfb58.js → catalog-2c9abtxg.js} +11 -11
  29. package/dist/chunks/{file-f8vm562w.js → catalog-2k536ypt.js} +5 -5
  30. package/dist/chunks/{file-pg0dvyvk.js → catalog-2k9t5jt1.js} +12 -12
  31. package/dist/chunks/{file-9p11ca5c.js → catalog-2pvk2fw9.js} +25 -25
  32. package/dist/chunks/{file-fschw3aw.js → catalog-2q8xpyyd.js} +4 -4
  33. package/dist/chunks/{file-2ve45fd6.js → catalog-2ve45fd6.js} +2 -2
  34. package/dist/chunks/{file-g4adkwgc.js → catalog-2vxstxdz.js} +4 -4
  35. package/dist/chunks/{file-7s83vr9a.js → catalog-2x7cych0.js} +23 -23
  36. package/dist/chunks/{file-9524tstc.js → catalog-33mewpyb.js} +3 -3
  37. package/dist/chunks/{file-nze65y9n.js → catalog-34dxdks9.js} +25 -25
  38. package/dist/chunks/{file-1j7qs22q.js → catalog-35kk67hj.js} +36 -36
  39. package/dist/chunks/{file-j9n5fxav.js → catalog-35pk5389.js} +18 -18
  40. package/dist/chunks/{file-fzxbqhyn.js → catalog-39t56ws4.js} +39 -39
  41. package/dist/chunks/{file-7j62yvdk.js → catalog-39yh2y93.js} +17 -17
  42. package/dist/chunks/{file-hq8zt1th.js → catalog-3c1tgrea.js} +6 -6
  43. package/dist/chunks/{file-r12ptjs8.js → catalog-3d1cjsm7.js} +27 -27
  44. package/dist/chunks/{file-3fc6dm20.js → catalog-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{file-3hepkmqq.js → catalog-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{file-t83d2b0d.js → catalog-3k53vc2x.js} +9 -9
  47. package/dist/chunks/{file-b3wkxfg9.js → catalog-3q1jyqhd.js} +1 -1
  48. package/dist/chunks/{file-3smtnn6g.js → catalog-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{file-3tvqynh2.js → catalog-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{file-fepbzpny.js → catalog-46ctkvr6.js} +20 -20
  51. package/dist/chunks/{file-4786se8r.js → catalog-4786se8r.js} +1 -1
  52. package/dist/chunks/{file-737983wq.js → catalog-49hrpkdk.js} +4 -4
  53. package/dist/chunks/{file-7yzymgne.js → catalog-4b30a42t.js} +17 -17
  54. package/dist/chunks/{file-v4cav7rx.js → catalog-4cmb9enr.js} +30 -30
  55. package/dist/chunks/{file-ea0j55ct.js → catalog-4kdhngev.js} +2 -2
  56. package/dist/chunks/{file-5f2tz19k.js → catalog-4tdnxzbn.js} +17 -17
  57. package/dist/chunks/{file-g6nh8byg.js → catalog-4vs6efvm.js} +7 -7
  58. package/dist/chunks/{file-v65drjb8.js → catalog-54zaz3g6.js} +8 -8
  59. package/dist/chunks/{file-56gdpj1q.js → catalog-56gdpj1q.js} +2 -2
  60. package/dist/chunks/{file-fxtthhfd.js → catalog-5a6m8f9a.js} +23 -23
  61. package/dist/chunks/{file-5daktx2q.js → catalog-5daktx2q.js} +1 -1
  62. package/dist/chunks/{file-j6frhm8p.js → catalog-5h3w3d4e.js} +5 -5
  63. package/dist/chunks/{file-g3n6es57.js → catalog-5kptn8c0.js} +9 -9
  64. package/dist/chunks/{file-5t3nmthw.js → catalog-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{file-vmtte7pc.js → catalog-615v7cwf.js} +53 -53
  66. package/dist/chunks/{file-b4ssmz4r.js → catalog-6178vqjw.js} +9 -9
  67. package/dist/chunks/{file-669tq793.js → catalog-669tq793.js} +1 -1
  68. package/dist/chunks/{file-y9n3sh8b.js → catalog-6az0k8v4.js} +11 -11
  69. package/dist/chunks/{file-5trk58xb.js → catalog-6m8y77r5.js} +8 -8
  70. package/dist/chunks/{file-6msgmcgs.js → catalog-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{file-dc8d22k9.js → catalog-6qvnkqyv.js} +19 -19
  72. package/dist/chunks/{file-631z4xzt.js → catalog-6sr2ffg0.js} +44 -44
  73. package/dist/chunks/{file-1sxt24ag.js → catalog-6t8hcs61.js} +33 -33
  74. package/dist/chunks/{file-q4jqhhxd.js → catalog-70tpys2p.js} +86 -86
  75. package/dist/chunks/{file-71q4at8m.js → catalog-71q4at8m.js} +1 -1
  76. package/dist/chunks/{file-j7w4f3hr.js → catalog-77kgmss4.js} +27 -27
  77. package/dist/chunks/{file-7bmhse3q.js → catalog-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{file-cwq9bbm8.js → catalog-7cp3ngcm.js} +27 -27
  79. package/dist/chunks/{file-8trdseqr.js → catalog-7hxs3egg.js} +32 -32
  80. package/dist/chunks/{file-9bj2cvf7.js → catalog-7qq57c1m.js} +9 -9
  81. package/dist/chunks/{file-r6x8jqph.js → catalog-7s08acyf.js} +26 -26
  82. package/dist/chunks/{file-4sv526vh.js → catalog-80tbned8.js} +11 -11
  83. package/dist/chunks/{file-81swgkk7.js → catalog-81swgkk7.js} +2 -2
  84. package/dist/chunks/{file-0p2zh9q8.js → catalog-82pt8syc.js} +30 -30
  85. package/dist/chunks/{file-844ef7ks.js → catalog-844ef7ks.js} +1 -1
  86. package/dist/chunks/{file-ktw3pdy7.js → catalog-85255ppm.js} +25 -25
  87. package/dist/chunks/{file-egqavg4q.js → catalog-87r09b0p.js} +15 -15
  88. package/dist/chunks/{file-4nwkg5vr.js → catalog-8a0b7fze.js} +2 -2
  89. package/dist/chunks/{file-rq9x2xtg.js → catalog-8d02t69k.js} +25 -25
  90. package/dist/chunks/{file-8d7r5vzw.js → catalog-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{file-0x6jhfyd.js → catalog-8dwx0wyg.js} +36 -36
  92. package/dist/chunks/{file-z51k40g3.js → catalog-8e2be5x3.js} +2 -2
  93. package/dist/chunks/{file-4zj9va87.js → catalog-8g83qwz1.js} +28 -28
  94. package/dist/chunks/{file-2rnktxfb.js → catalog-8ncxre87.js} +44 -44
  95. package/dist/chunks/{file-8p4f9s12.js → catalog-8p4f9s12.js} +2 -2
  96. package/dist/chunks/{file-tw0jne9w.js → catalog-8s4wrv6z.js} +19 -19
  97. package/dist/chunks/{file-bw0vgseb.js → catalog-97h7kfy1.js} +8 -8
  98. package/dist/chunks/{file-hp075dpy.js → catalog-9d8v8ke2.js} +7 -7
  99. package/dist/chunks/{file-2zpcf09p.js → catalog-9dhyqv6n.js} +11 -11
  100. package/dist/chunks/{file-hp277x20.js → catalog-9jd6gdwh.js} +31 -31
  101. package/dist/chunks/{file-7r53ar6y.js → catalog-9mc00xsa.js} +9 -9
  102. package/dist/chunks/{file-r9030hxj.js → catalog-9ndgejs0.js} +9 -9
  103. package/dist/chunks/{file-3yjg5mh2.js → catalog-9vs0xtad.js} +3 -3
  104. package/dist/chunks/{file-nd9hg1xj.js → catalog-a06z6dg8.js} +24 -24
  105. package/dist/chunks/{file-a1bz86dw.js → catalog-a1bz86dw.js} +3 -3
  106. package/dist/chunks/{file-gptjq5xf.js → catalog-a3457skp.js} +26 -26
  107. package/dist/chunks/{file-aaet6srn.js → catalog-aaet6srn.js} +2 -2
  108. package/dist/chunks/{file-qrdc2j4b.js → catalog-ansp9v5s.js} +23 -23
  109. package/dist/chunks/{file-km5917gx.js → catalog-ar7d2gdc.js} +51 -51
  110. package/dist/chunks/{file-qryaexwa.js → catalog-as21fg6w.js} +35 -35
  111. package/dist/chunks/{file-qbejwr8p.js → catalog-av1vdf1t.js} +32 -32
  112. package/dist/chunks/{file-d678zc2k.js → catalog-axqcdv2d.js} +3 -3
  113. package/dist/chunks/{file-e3z6xmzm.js → catalog-ayhdv494.js} +9 -9
  114. package/dist/chunks/{file-5dmv5s4a.js → catalog-b24n8q6t.js} +34 -34
  115. package/dist/chunks/{file-b6gygkdw.js → catalog-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{file-0p4j4cv0.js → catalog-b8b3f19r.js} +9 -9
  117. package/dist/chunks/{file-8n54f2ta.js → catalog-bwqemmcy.js} +20 -20
  118. package/dist/chunks/{file-v32yr9d8.js → catalog-c5erwwx0.js} +3 -3
  119. package/dist/chunks/{file-3yycxr83.js → catalog-c8ybyaw7.js} +13 -13
  120. package/dist/chunks/{file-14vdq9mv.js → catalog-cb98cfvp.js} +14 -14
  121. package/dist/chunks/{file-cvfevwhc.js → catalog-cdhqkse9.js} +11 -11
  122. package/dist/chunks/{file-cfpkc3c9.js → catalog-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{file-8cbmhaq5.js → catalog-cg45paqr.js} +1 -1
  124. package/dist/chunks/{file-epq9ds0r.js → catalog-cmjccx99.js} +60 -60
  125. package/dist/chunks/{file-3tc3fw1n.js → catalog-crm7m9ze.js} +20 -20
  126. package/dist/chunks/{file-0gw11f53.js → catalog-cyzajxxm.js} +23 -23
  127. package/dist/chunks/{file-7hkvzewv.js → catalog-cz2rt84b.js} +10 -10
  128. package/dist/chunks/{file-cza9j1er.js → catalog-cza9j1er.js} +1 -1
  129. package/dist/chunks/{file-wjtjjmd0.js → catalog-d3h909cw.js} +11 -11
  130. package/dist/chunks/{file-y67y16g8.js → catalog-d4tx6er0.js} +22 -22
  131. package/dist/chunks/{file-cyf7cx3n.js → catalog-dhjmfj2m.js} +18 -18
  132. package/dist/chunks/{file-3w2b2yj4.js → catalog-dj9sq318.js} +5 -5
  133. package/dist/chunks/{file-aksfce1s.js → catalog-dmy52nw1.js} +14 -14
  134. package/dist/chunks/{file-jwcy2c2z.js → catalog-dpkg50ah.js} +4 -4
  135. package/dist/chunks/{file-2t17ewj5.js → catalog-drrcka83.js} +18 -18
  136. package/dist/chunks/{file-dw1fjyb0.js → catalog-dw1fjyb0.js} +1 -1
  137. package/dist/chunks/{file-dxpt5v4a.js → catalog-dywb0nnh.js} +297 -297
  138. package/dist/chunks/{file-neb913ap.js → catalog-dzyasay6.js} +8 -8
  139. package/dist/chunks/{file-e17bkqjz.js → catalog-e17bkqjz.js} +1 -1
  140. package/dist/chunks/{file-ea8nv0r7.js → catalog-ea8nv0r7.js} +2 -2
  141. package/dist/chunks/{file-ec8389mk.js → catalog-ec8389mk.js} +1 -1
  142. package/dist/chunks/{file-jjcqt8zt.js → catalog-en5qyw6g.js} +7 -7
  143. package/dist/chunks/{file-z91f3yc5.js → catalog-enw6c2wm.js} +29 -29
  144. package/dist/chunks/{file-zjsxw8xc.js → catalog-erhy9pk7.js} +23 -23
  145. package/dist/chunks/{file-fcnjngqh.js → catalog-esvwx42b.js} +33 -33
  146. package/dist/chunks/{file-etq0c3wd.js → catalog-etq0c3wd.js} +1 -1
  147. package/dist/chunks/{file-2n6t0d3f.js → catalog-evpex7pv.js} +13 -13
  148. package/dist/chunks/{file-wpmxaqyc.js → catalog-f2gse5fy.js} +6 -6
  149. package/dist/chunks/{file-yp2x3t23.js → catalog-f2n192rq.js} +4 -4
  150. package/dist/chunks/{file-f828m53h.js → catalog-f828m53h.js} +2 -2
  151. package/dist/chunks/{file-zbqyvn6w.js → catalog-ferwhf5k.js} +18 -18
  152. package/dist/chunks/{file-fxbjtjnd.js → catalog-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{file-szgy4byf.js → catalog-fxqygnfa.js} +4 -4
  154. package/dist/chunks/{file-g14zqp48.js → catalog-g14zqp48.js} +1 -1
  155. package/dist/chunks/{file-t8eheybj.js → catalog-g2s678q8.js} +35 -35
  156. package/dist/chunks/{file-3fj0ehej.js → catalog-g3hefyhg.js} +43 -43
  157. package/dist/chunks/{file-pp59n8pp.js → catalog-g40785jx.js} +24 -24
  158. package/dist/chunks/{file-pfjv880m.js → catalog-gbn0488z.js} +46 -46
  159. package/dist/chunks/{file-gd4qta3r.js → catalog-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{file-h03wrkyp.js → catalog-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{file-axvk3tbf.js → catalog-h2mv4fvy.js} +16 -16
  162. package/dist/chunks/{file-h6vf3j39.js → catalog-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{file-0pnmq97r.js → catalog-hb54p5yb.js} +16 -16
  164. package/dist/chunks/{file-d4jn0akt.js → catalog-hcbgn65v.js} +27 -27
  165. package/dist/chunks/{file-wpqth83p.js → catalog-hs6emqb7.js} +4 -4
  166. package/dist/chunks/{file-j56e64zr.js → catalog-j56e64zr.js} +1 -1
  167. package/dist/chunks/{file-jeanpfns.js → catalog-jeanpfns.js} +1 -1
  168. package/dist/chunks/{file-1r0yq1wn.js → catalog-jrekdh0e.js} +17 -17
  169. package/dist/chunks/{file-c9n252bm.js → catalog-kc1sdjz6.js} +11 -11
  170. package/dist/chunks/{file-rry1cpvn.js → catalog-ke2e09m8.js} +13 -13
  171. package/dist/chunks/{file-kg06axw8.js → catalog-kg06axw8.js} +1 -1
  172. package/dist/chunks/{file-ax4359t5.js → catalog-krfa0jkh.js} +22 -22
  173. package/dist/chunks/{file-y2vrj84a.js → catalog-kt5w8vxh.js} +10 -10
  174. package/dist/chunks/{file-vsp1fds9.js → catalog-kvvk39gs.js} +21 -21
  175. package/dist/chunks/{file-w727stb0.js → catalog-kzm76jg0.js} +31 -31
  176. package/dist/chunks/{file-da2mbxce.js → catalog-m6he0ab9.js} +17 -17
  177. package/dist/chunks/{file-h60zwq4m.js → catalog-m7y3f53v.js} +4 -4
  178. package/dist/chunks/{file-6jnybvqn.js → catalog-m86bnw2c.js} +9 -9
  179. package/dist/chunks/{file-m9w0rfyh.js → catalog-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{file-akadabsh.js → catalog-mfbjfwhw.js} +15 -15
  181. package/dist/chunks/{file-s3h59be2.js → catalog-mm236x98.js} +24 -24
  182. package/dist/chunks/{file-ah6b56rd.js → catalog-mvs8a40b.js} +9 -9
  183. package/dist/chunks/{file-szbdehq3.js → catalog-mwy0n3d8.js} +31 -31
  184. package/dist/chunks/{file-hbakxq5y.js → catalog-naxpjzwf.js} +17 -17
  185. package/dist/chunks/{file-j3ktvrzf.js → catalog-nd7e7p6j.js} +26 -26
  186. package/dist/chunks/{file-gzbkpp9m.js → catalog-ndqtf2h8.js} +6 -6
  187. package/dist/chunks/{file-nhy5jxhy.js → catalog-nhy5jxhy.js} +1 -1
  188. package/dist/chunks/{file-aq71ck84.js → catalog-npdjprar.js} +13 -13
  189. package/dist/chunks/{file-nv5vn7qx.js → catalog-nv5vn7qx.js} +2 -2
  190. package/dist/chunks/{file-24a117tm.js → catalog-nvddp2jr.js} +9 -9
  191. package/dist/chunks/{file-79xwf2jn.js → catalog-nww7dr0b.js} +12 -12
  192. package/dist/chunks/{file-9m3d1h1h.js → catalog-nzqeca5y.js} +4 -4
  193. package/dist/chunks/{file-yt0fqk68.js → catalog-p44d8wdy.js} +5 -5
  194. package/dist/chunks/{file-j935v87r.js → catalog-paphc93g.js} +2 -2
  195. package/dist/chunks/{file-yq0x5dd5.js → catalog-pc2bv4aw.js} +15 -15
  196. package/dist/chunks/{file-verq85zk.js → catalog-pf9p9b3r.js} +4 -4
  197. package/dist/chunks/{file-yz3h3ntp.js → catalog-ph51feyp.js} +15 -15
  198. package/dist/chunks/{file-pjvnvgmy.js → catalog-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{file-pknna89w.js → catalog-pknna89w.js} +1 -1
  200. package/dist/chunks/{file-an7cqtb7.js → catalog-pmr4s4kc.js} +4 -4
  201. package/dist/chunks/{file-hnjcq03z.js → catalog-pnr6823z.js} +23 -23
  202. package/dist/chunks/{file-y4x12v72.js → catalog-ppht2n4g.js} +12 -12
  203. package/dist/chunks/{file-r1m6q3fm.js → catalog-prnbh1rd.js} +16 -16
  204. package/dist/chunks/{file-9pgc3c9f.js → catalog-ptdkvqj8.js} +3 -3
  205. package/dist/chunks/{file-gbe8bvty.js → catalog-q8v8tnc1.js} +8 -8
  206. package/dist/chunks/{file-egqspz5t.js → catalog-qb80b4fh.js} +14 -14
  207. package/dist/chunks/{file-7dqw4kz8.js → catalog-qgn6gcr1.js} +5 -5
  208. package/dist/chunks/{file-0gjrpm4q.js → catalog-qgzmpy9d.js} +19 -19
  209. package/dist/chunks/{file-qefhz522.js → catalog-qh5p97jn.js} +11 -11
  210. package/dist/chunks/{file-qmy7xtej.js → catalog-qmy7xtej.js} +1 -1
  211. package/dist/chunks/{file-vczh7xgt.js → catalog-qncbnjry.js} +20 -20
  212. package/dist/chunks/{file-qsdy395h.js → catalog-qsdy395h.js} +1 -1
  213. package/dist/chunks/{file-7yh4e7ss.js → catalog-r5x6zcsm.js} +3 -3
  214. package/dist/chunks/{file-r9mregkx.js → catalog-r9mregkx.js} +2 -2
  215. package/dist/chunks/catalog-rap9a73h.js +18 -0
  216. package/dist/chunks/{file-cn0yhb7k.js → catalog-rhjznqe6.js} +11 -11
  217. package/dist/chunks/{file-91p1v22t.js → catalog-rmdyxgmk.js} +8 -8
  218. package/dist/chunks/{file-3yknbgq7.js → catalog-rrbzdy6m.js} +13 -13
  219. package/dist/chunks/{file-865r9qcv.js → catalog-rw3yshec.js} +8 -8
  220. package/dist/chunks/{file-yqfy31rq.js → catalog-spj4rg7b.js} +13 -13
  221. package/dist/chunks/{file-rxe92ft5.js → catalog-svkvn5vy.js} +26 -26
  222. package/dist/chunks/{file-ydn3gg3r.js → catalog-szd80md9.js} +5 -5
  223. package/dist/chunks/{file-ma15yhyh.js → catalog-t71v2ka4.js} +5 -5
  224. package/dist/chunks/{file-pnfpsavj.js → catalog-t7c4qe2q.js} +5 -5
  225. package/dist/chunks/{file-gt8btckc.js → catalog-t9b942h9.js} +32 -32
  226. package/dist/chunks/{file-tazgh4e4.js → catalog-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{file-tcezcvh9.js → catalog-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{file-tdstcens.js → catalog-tdstcens.js} +1 -1
  229. package/dist/chunks/{file-tgqjfyja.js → catalog-tgqjfyja.js} +1 -1
  230. package/dist/chunks/{file-gv6a8nnw.js → catalog-th5km1p3.js} +5 -5
  231. package/dist/chunks/{file-8x96bj0m.js → catalog-tkmwgdpd.js} +4 -4
  232. package/dist/chunks/{file-xv4b1b4q.js → catalog-tpf47t0n.js} +47 -47
  233. package/dist/chunks/{file-6fex6vem.js → catalog-tsyh7etm.js} +4 -4
  234. package/dist/chunks/{file-tvtrv512.js → catalog-tvtrv512.js} +1 -1
  235. package/dist/chunks/{file-bd7brtc3.js → catalog-ty93vz5r.js} +9 -9
  236. package/dist/chunks/{file-svxygcjw.js → catalog-v2f6dcv3.js} +2 -2
  237. package/dist/chunks/{file-2hpfm54d.js → catalog-v7a36af2.js} +8 -8
  238. package/dist/chunks/{file-vsctkjm2.js → catalog-vchs5s93.js} +18 -18
  239. package/dist/chunks/{file-veqvce7d.js → catalog-veqvce7d.js} +1 -1
  240. package/dist/chunks/{file-zpjvc3ac.js → catalog-vm2qaa3d.js} +12 -12
  241. package/dist/chunks/{file-wgpg5g3d.js → catalog-vm9a092s.js} +18 -18
  242. package/dist/chunks/{file-6jyhw6dt.js → catalog-vnk10vcz.js} +24 -24
  243. package/dist/chunks/{file-9gy04t1n.js → catalog-vphz6f65.js} +63 -63
  244. package/dist/chunks/{file-x9vpcgg3.js → catalog-vq366y3r.js} +30 -30
  245. package/dist/chunks/{file-dcbb9xhy.js → catalog-vqf9e0dc.js} +10 -10
  246. package/dist/chunks/{file-vzcthcp8.js → catalog-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{file-w3wsvvr9.js → catalog-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{file-g0m6rrr1.js → catalog-w7pn3sr0.js} +23 -23
  249. package/dist/chunks/{file-2kpnaqjr.js → catalog-wadkepq2.js} +21 -21
  250. package/dist/chunks/{file-p1nm93x7.js → catalog-wbkyxrgf.js} +5 -5
  251. package/dist/chunks/{file-wd87259q.js → catalog-wd87259q.js} +1 -1
  252. package/dist/chunks/{file-sp0cj90t.js → catalog-wnvd00xx.js} +21 -21
  253. package/dist/chunks/{file-87deq66t.js → catalog-wtz46evs.js} +8 -8
  254. package/dist/chunks/{file-3kff94q5.js → catalog-wxmbf8jb.js} +11 -11
  255. package/dist/chunks/{file-x1ezjp6w.js → catalog-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{file-4j7j5868.js → catalog-x2gqbzrc.js} +3 -3
  257. package/dist/chunks/{file-qp9w0mn5.js → catalog-x609r0mq.js} +13 -13
  258. package/dist/chunks/{file-map7vc9e.js → catalog-x77cb90n.js} +4 -4
  259. package/dist/chunks/{file-4d8pxj8c.js → catalog-xhbedwbw.js} +31 -31
  260. package/dist/chunks/{file-zts5fb25.js → catalog-xn9jxgmv.js} +11 -11
  261. package/dist/chunks/{file-x060fdep.js → catalog-xr2f4p5f.js} +91 -91
  262. package/dist/chunks/{file-5m8ed8y5.js → catalog-xr6neyrm.js} +25 -25
  263. package/dist/chunks/catalog-xtpdeg7b.js +247 -0
  264. package/dist/chunks/{file-y1fvbwt7.js → catalog-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{file-c4a2d4g2.js → catalog-y27a5n37.js} +5 -5
  266. package/dist/chunks/{file-vj15hgm9.js → catalog-y52vz011.js} +8 -8
  267. package/dist/chunks/{file-z9qams9d.js → catalog-ycpjmz0e.js} +9 -9
  268. package/dist/chunks/{file-4t8p017q.js → catalog-ycth0a37.js} +13 -13
  269. package/dist/chunks/{file-fbm4qtpf.js → catalog-yhvahxsm.js} +13 -13
  270. package/dist/chunks/{file-pndtw5qe.js → catalog-yp72p6ry.js} +46 -46
  271. package/dist/chunks/{file-yrhqyw5v.js → catalog-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{file-s4enseaf.js → catalog-yrznvahk.js} +2 -2
  273. package/dist/chunks/{file-cf9snega.js → catalog-yw61z5xf.js} +29 -29
  274. package/dist/chunks/{file-8cypfrbh.js → catalog-yyszrz3j.js} +4 -4
  275. package/dist/chunks/{file-z0bkrqjs.js → catalog-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{file-1ac4bme3.js → catalog-z2yczqcp.js} +5 -5
  277. package/dist/chunks/{file-29x78va6.js → catalog-z63w68vq.js} +6 -6
  278. package/dist/chunks/{file-3ra6k2ma.js → catalog-z7hdpy7x.js} +9 -9
  279. package/dist/chunks/{file-q043d12m.js → catalog-z8rw9kn4.js} +11 -11
  280. package/dist/chunks/{file-zeh9ct20.js → catalog-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{file-drjkjrg9.js → catalog-zf2hrsja.js} +6 -6
  282. package/dist/chunks/{file-t6xdqw2p.js → catalog-zfkj2kxx.js} +9 -9
  283. package/dist/chunks/{file-n3ehebhz.js → catalog-zq81vz9n.js} +12 -12
  284. package/dist/chunks/{file-zr2ceqn5.js → catalog-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{file-amkbtr58.js → catalog-zr5scsq3.js} +15 -15
  286. package/dist/chunks/{file-zxq2ej10.js → catalog-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +82 -82
  291. package/dist/config/discovery.js +78 -78
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +116 -116
  295. package/dist/config/plugin/command.js +208 -208
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +86 -86
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +115 -115
  304. package/dist/config/plugin/provider.js +114 -114
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +98 -98
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +112 -112
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +120 -120
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +84 -84
  319. package/dist/database/database.js +73 -73
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +78 -78
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +360 -360
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +89 -89
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +91 -91
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +73 -73
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +90 -90
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +217 -217
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +100 -100
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +99 -99
  424. package/dist/form.js +83 -83
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +83 -83
  427. package/dist/generate.js +94 -94
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +82 -82
  454. package/dist/instructions/builtins.js +83 -83
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +85 -85
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +134 -134
  462. package/dist/location-mutation.js +100 -100
  463. package/dist/location-service-map.js +84 -84
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +85 -85
  466. package/dist/mcp/client.js +87 -87
  467. package/dist/mcp/index.js +104 -104
  468. package/dist/mcp/instructions.js +117 -117
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +86 -86
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +87 -87
  474. package/dist/model.js +6 -6
  475. package/dist/models-dev.js +87 -87
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +111 -111
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +87 -87
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +98 -98
  486. package/dist/plugin/command.js +93 -93
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +214 -214
  489. package/dist/plugin/instance.js +1 -1
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  492. package/dist/plugin/models-dev.js +76 -76
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +98 -98
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/azure.js +119 -119
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +115 -115
  505. package/dist/plugin/provider/digitalocean.js +80 -80
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +81 -81
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +77 -77
  514. package/dist/plugin/provider/lmstudio.js +118 -118
  515. package/dist/plugin/provider/modal.js +80 -80
  516. package/dist/plugin/provider/nvidia.js +2 -2
  517. package/dist/plugin/provider/ollama.js +118 -118
  518. package/dist/plugin/provider/openai-compatible.js +1 -1
  519. package/dist/plugin/provider/openai.js +79 -79
  520. package/dist/plugin/provider/opencode.js +80 -80
  521. package/dist/plugin/provider/openrouter.js +3 -3
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +116 -116
  530. package/dist/plugin/provider/xai.js +78 -78
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +132 -132
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +338 -338
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +83 -83
  541. package/dist/plugin/vcs/hg.js +83 -83
  542. package/dist/plugin/warming.js +111 -111
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +4 -4
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +219 -219
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +80 -80
  553. package/dist/provider.js +1 -1
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +89 -89
  558. package/dist/reference/instructions.js +85 -85
  559. package/dist/reference.js +87 -87
  560. package/dist/repository-cache.js +77 -77
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +94 -94
  564. package/dist/rpc.js +82 -82
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +130 -130
  568. package/dist/session/context.js +148 -148
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +7 -7
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +220 -220
  573. package/dist/session/execution.js +125 -125
  574. package/dist/session/generate.js +149 -149
  575. package/dist/session/history.js +15 -15
  576. package/dist/session/inbox.js +87 -87
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +78 -78
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +93 -93
  581. package/dist/session/message-updater.js +4 -4
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +114 -114
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +127 -127
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +101 -101
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +86 -86
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +226 -226
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +87 -87
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +111 -111
  597. package/dist/session/runner/step.js +120 -120
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +168 -168
  601. package/dist/session/shell.js +132 -132
  602. package/dist/session/skill.js +99 -99
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +74 -74
  605. package/dist/session/store.js +86 -86
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +204 -204
  608. package/dist/session/system-prompt.js +1 -1
  609. package/dist/session/title.js +148 -148
  610. package/dist/session/to-session-error.js +108 -108
  611. package/dist/session/transfer.js +219 -219
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +214 -214
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +9 -9
  618. package/dist/shell.js +134 -134
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +99 -99
  621. package/dist/skill.js +106 -106
  622. package/dist/snapshot.js +89 -89
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +118 -118
  627. package/dist/tool/plugin/edit.js +116 -116
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +121 -121
  630. package/dist/tool/plugin/grep.js +121 -121
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +118 -118
  633. package/dist/tool/plugin/question.js +99 -99
  634. package/dist/tool/plugin/read.js +122 -122
  635. package/dist/tool/plugin/shell.js +213 -213
  636. package/dist/tool/plugin/skill.js +107 -107
  637. package/dist/tool/plugin/subagent.js +215 -215
  638. package/dist/tool/plugin/webfetch.js +104 -104
  639. package/dist/tool/plugin/websearch.js +106 -106
  640. package/dist/tool/plugin/write.js +118 -118
  641. package/dist/tool/read-filesystem.js +97 -97
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +13 -13
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +7 -7
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +3 -3
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +4 -4
  658. package/dist/v1/config/formatter.js +5 -5
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +5 -5
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +86 -86
  672. package/dist/websearch.js +81 -81
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +78 -78
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +79 -79
  678. package/dist/worktree/directory.js +4 -4
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +341 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +90 -90
  683. package/package.json +8 -8
  684. package/dist/chunks/file-h591h6nq.js +0 -247
  685. package/dist/chunks/file-ht5y0zrb.js +0 -18
  686. /package/dist/chunks/{file-0mesazry.js → catalog-0mesazry.js} +0 -0
  687. /package/dist/chunks/{file-0qkdqm5v.js → catalog-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{file-0zkw76rk.js → catalog-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{file-17cy0kzp.js → catalog-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{file-1cnp2v09.js → catalog-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{file-1kg9ymc8.js → catalog-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{file-2710q6r3.js → catalog-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{file-2axfhc9x.js → catalog-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{file-2c3vjs8z.js → catalog-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{file-359p4xyc.js → catalog-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{file-3asan66x.js → catalog-3asan66x.js} +0 -0
  697. /package/dist/chunks/{file-3v8g72cx.js → catalog-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{file-3w5fmr99.js → catalog-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{file-3wcehsnq.js → catalog-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{file-43n2bw4t.js → catalog-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{file-4knz6hnm.js → catalog-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{file-4vcrnpx2.js → catalog-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{file-4y7fprxs.js → catalog-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{file-53557ph1.js → catalog-53557ph1.js} +0 -0
  705. /package/dist/chunks/{file-550bvhaj.js → catalog-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{file-6prwharc.js → catalog-6prwharc.js} +0 -0
  707. /package/dist/chunks/{file-7akdwqpd.js → catalog-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{file-7m9af43g.js → catalog-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{file-822emrt2.js → catalog-822emrt2.js} +0 -0
  710. /package/dist/chunks/{file-88xbtdfr.js → catalog-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{file-8n3pysct.js → catalog-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{file-922hggd3.js → catalog-922hggd3.js} +0 -0
  713. /package/dist/chunks/{file-9a4afbnw.js → catalog-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{file-9rqn6x4v.js → catalog-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{file-a6k6eb26.js → catalog-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{file-af5trqkr.js → catalog-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{file-afrmfg78.js → catalog-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{file-aqzs7mqg.js → catalog-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{file-atq7p7m5.js → catalog-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{file-bkyjaxrp.js → catalog-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{file-bmr6ed5q.js → catalog-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{file-cf4snx6d.js → catalog-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{file-cvy3z8tj.js → catalog-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{file-d9fn303g.js → catalog-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{file-d9jj8t3e.js → catalog-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{file-dajrwvna.js → catalog-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{file-dap0rakb.js → catalog-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{file-df08tz66.js → catalog-df08tz66.js} +0 -0
  729. /package/dist/chunks/{file-dy18nga0.js → catalog-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{file-e5kj55wp.js → catalog-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{file-e73j6tqm.js → catalog-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{file-ec1grn59.js → catalog-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{file-eh3zwz77.js → catalog-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{file-emrn6kk6.js → catalog-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{file-f0mxakyp.js → catalog-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{file-f6n9ztr4.js → catalog-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{file-faypxj3z.js → catalog-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{file-fd410y7t.js → catalog-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{file-fxgpk5d8.js → catalog-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{file-g4wezp1m.js → catalog-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{file-g86h250q.js → catalog-g86h250q.js} +0 -0
  742. /package/dist/chunks/{file-gebd4c9n.js → catalog-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{file-gftt206x.js → catalog-gftt206x.js} +0 -0
  744. /package/dist/chunks/{file-hjbc5kem.js → catalog-hjbc5kem.js} +0 -0
  745. /package/dist/chunks/{file-hk9envan.js → catalog-hk9envan.js} +0 -0
  746. /package/dist/chunks/{file-hrnqkpcd.js → catalog-hrnqkpcd.js} +0 -0
  747. /package/dist/chunks/{file-j2ntwpah.js → catalog-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{file-j5zkgpj8.js → catalog-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{file-jr7sbwjy.js → catalog-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{file-jwfs4k6c.js → catalog-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{file-jzg6c2d5.js → catalog-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{file-mp448xyj.js → catalog-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{file-msx8hqn2.js → catalog-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{file-n05xt0ee.js → catalog-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{file-n3j8tn72.js → catalog-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{file-njntx4h6.js → catalog-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{file-q3sfg36h.js → catalog-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{file-q74kybfr.js → catalog-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{file-qaymkmh1.js → catalog-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{file-qb87gjwd.js → catalog-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{file-qfa1cgps.js → catalog-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{file-qrg20bc0.js → catalog-qrg20bc0.js} +0 -0
  763. /package/dist/chunks/{file-rcb2kzg1.js → catalog-rcb2kzg1.js} +0 -0
  764. /package/dist/chunks/{file-sdp7kfr6.js → catalog-sdp7kfr6.js} +0 -0
  765. /package/dist/chunks/{file-sk3qaz4a.js → catalog-sk3qaz4a.js} +0 -0
  766. /package/dist/chunks/{file-ssg3fenm.js → catalog-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{file-twg0f83k.js → catalog-twg0f83k.js} +0 -0
  768. /package/dist/chunks/{file-w803qqfp.js → catalog-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{file-wer8tq1h.js → catalog-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{file-wtztk69x.js → catalog-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{file-x0ckcb58.js → catalog-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{file-x61499pn.js → catalog-x61499pn.js} +0 -0
  773. /package/dist/chunks/{file-y44na4kk.js → catalog-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{file-y8cydn3q.js → catalog-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{file-y8f7s663.js → catalog-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{file-ygaqb7jw.js → catalog-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{file-ym463w8f.js → catalog-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{file-z9919s4g.js → catalog-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./file-yz3h3ntp.js";
2
+ Service80,
3
+ node85
4
+ } from "./catalog-ph51feyp.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./file-3hepkmqq.js";
7
+ } from "./catalog-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./file-9rqn6x4v.js";
10
+ } from "./catalog-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service73,
17
- node: () => node77
16
+ Service: () => Service74,
17
+ node: () => node79
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service73 extends Context.Service()("@opencode/KV") {
22
+ class Service74 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service73, Effect.gen(function* () {
25
- const db = (yield* Service79).db;
26
- return Service73.of({
24
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
25
+ const db = (yield* Service80).db;
26
+ return Service74.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node77 = makeGlobalNode({ service: Service73, layer, deps: [node83] });
54
+ var node79 = makeGlobalNode({ service: Service74, layer, deps: [node85] });
55
55
 
56
- export { Service73, node77, exports_kv };
56
+ export { Service74, node79, exports_kv };
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./file-b4ssmz4r.js";
5
+ } from "./catalog-6178vqjw.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./file-epq9ds0r.js";
8
+ } from "./catalog-cmjccx99.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./file-szbdehq3.js";
11
+ } from "./catalog-mwy0n3d8.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -18,7 +18,7 @@ import {
18
18
  ModelInitializationError2,
19
19
  UnresolvedProviderVariablesError2,
20
20
  UnsupportedCompactionError2
21
- } from "./file-4t8p017q.js";
21
+ } from "./catalog-ycth0a37.js";
22
22
 
23
23
  // src/session/to-session-error.ts
24
24
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./file-vsctkjm2.js";
2
+ Service79,
3
+ node84
4
+ } from "./catalog-vchs5s93.js";
5
5
  import {
6
6
  environment2
7
- } from "./file-3yknbgq7.js";
7
+ } from "./catalog-rrbzdy6m.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./file-sk3qaz4a.js";
10
+ } from "./catalog-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./file-9rqn6x4v.js";
13
+ } from "./catalog-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: () => NotFoundError4,
20
- Options: () => Options6,
19
+ NotFoundError: () => NotFoundError3,
20
+ Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service43,
23
- UnavailableError: () => UnavailableError3,
24
- configured: () => configured6,
25
- layer: () => layer17,
26
- node: () => node47
22
+ Service: () => Service19,
23
+ UnavailableError: () => UnavailableError2,
24
+ configured: () => configured3,
25
+ layer: () => layer9,
26
+ node: () => node23
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,22 +35,22 @@ 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
- var Options6 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service43 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service19 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* () {
53
- const bus = yield* Service78;
52
+ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* () {
53
+ const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError4({ ptyID: id });
75
+ return yield* new NotFoundError3({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service43.of({
242
+ return Service19.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer17 = makeLayer();
259
- var configured6 = (options) => makeGlobalNode({
260
- service: Service43,
261
- layer: options === undefined ? layer17 : makeLayer(options),
262
- deps: [node82, Global.node]
258
+ var layer9 = makeLayer();
259
+ var configured3 = (options) => makeGlobalNode({
260
+ service: Service19,
261
+ layer: options === undefined ? layer9 : makeLayer(options),
262
+ deps: [node84, Global.node]
263
263
  });
264
- var node47 = configured6();
264
+ var node23 = configured3();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options6, UnavailableError3, NotFoundError4, Service43, layer17, configured6, node47, exports_persistent_pty, Handoff2 };
304
+ export { Options3, UnavailableError2, NotFoundError3, Service19, layer9, configured3, node23, exports_persistent_pty, Handoff2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-922hggd3.js";
3
+ } from "./catalog-922hggd3.js";
4
4
  import {
5
- Info20
6
- } from "./file-vsp1fds9.js";
5
+ Info9
6
+ } from "./catalog-kvvk39gs.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./catalog-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent4 = {};
13
- __export(exports_agent4, {
14
- ConfigAgentV1: () => exports_agent4,
15
- Info: () => Info16
12
+ var exports_agent3 = {};
13
+ __export(exports_agent3, {
14
+ ConfigAgentV1: () => exports_agent3,
15
+ Info: () => Info8
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info20)
47
+ permission: Schema.optional(Info9)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info16 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info8 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info16, exports_agent4 };
74
+ export { Info8, exports_agent3 };
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID13,
3
- Info26,
2
+ ID14,
3
+ Info28,
4
4
  SessionSchema2
5
- } from "./file-3yjg5mh2.js";
5
+ } from "./catalog-9vs0xtad.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./file-922hggd3.js";
8
+ } from "./catalog-922hggd3.js";
9
9
  import {
10
- Service79,
11
- node83
12
- } from "./file-yz3h3ntp.js";
10
+ Service80,
11
+ node85
12
+ } from "./catalog-ph51feyp.js";
13
13
  import {
14
14
  isSynced2,
15
- Service78,
16
- node82
17
- } from "./file-vsctkjm2.js";
15
+ Service79,
16
+ node84
17
+ } from "./catalog-vchs5s93.js";
18
18
  import {
19
- Service76,
20
- node80
21
- } from "./file-nze65y9n.js";
19
+ Service77,
20
+ node82
21
+ } from "./catalog-34dxdks9.js";
22
22
  import {
23
- Service50,
24
- node53
25
- } from "./file-hq8zt1th.js";
23
+ Service41,
24
+ node44
25
+ } from "./catalog-3c1tgrea.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./file-ec1grn59.js";
28
+ } from "./catalog-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./file-a1bz86dw.js";
31
+ } from "./catalog-a1bz86dw.js";
32
32
  import {
33
- node51
34
- } from "./file-j3ktvrzf.js";
33
+ node45
34
+ } from "./catalog-nd7e7p6j.js";
35
35
  import {
36
36
  current2
37
- } from "./file-szgy4byf.js";
37
+ } from "./catalog-fxqygnfa.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./file-8n54f2ta.js";
40
+ } from "./catalog-bwqemmcy.js";
41
41
  import {
42
42
  Slug2
43
- } from "./file-gebd4c9n.js";
43
+ } from "./catalog-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node24
47
- } from "./file-pp59n8pp.js";
46
+ node35
47
+ } from "./catalog-g40785jx.js";
48
48
  import {
49
49
  Metadata2,
50
- node84
51
- } from "./file-q043d12m.js";
50
+ node78
51
+ } from "./catalog-z8rw9kn4.js";
52
52
  import {
53
- NotFoundError6,
53
+ NotFoundError9,
54
54
  MessageNotFoundError2,
55
55
  ForkEmptyError2,
56
56
  MessageDecodeError2,
@@ -61,50 +61,50 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./file-b4ssmz4r.js";
64
+ } from "./catalog-6178vqjw.js";
65
65
  import {
66
- ListInput4,
67
- Service56,
68
- node59
69
- } from "./file-0gjrpm4q.js";
66
+ ListInput5,
67
+ Service70,
68
+ node74
69
+ } from "./catalog-qgzmpy9d.js";
70
70
  import {
71
- Service51,
72
- node54
73
- } from "./file-da2mbxce.js";
71
+ Service43,
72
+ node46
73
+ } from "./catalog-m6he0ab9.js";
74
74
  import {
75
- Service46,
76
- node50
77
- } from "./file-2rnktxfb.js";
75
+ Service38,
76
+ node42
77
+ } from "./catalog-8ncxre87.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./file-5t3nmthw.js";
80
+ } from "./catalog-5t3nmthw.js";
81
81
  import {
82
- Service22,
83
- node27
84
- } from "./file-qefhz522.js";
82
+ Service30,
83
+ node34
84
+ } from "./catalog-qh5p97jn.js";
85
85
  import {
86
86
  generate3
87
- } from "./file-2t17ewj5.js";
87
+ } from "./catalog-drrcka83.js";
88
88
  import {
89
89
  execute2
90
- } from "./file-865r9qcv.js";
90
+ } from "./catalog-rw3yshec.js";
91
91
  import {
92
92
  DestinationNotFoundError2,
93
93
  DestinationNotDirectoryError2,
94
94
  DestinationUnavailableError2,
95
- Service19,
96
- node23
97
- } from "./file-9gy04t1n.js";
95
+ Service22,
96
+ node26
97
+ } from "./catalog-vphz6f65.js";
98
98
  import {
99
- Service64,
100
- node67
101
- } from "./file-91p1v22t.js";
99
+ Service36,
100
+ node40
101
+ } from "./catalog-rmdyxgmk.js";
102
102
  import {
103
103
  make12
104
- } from "./file-5dmv5s4a.js";
104
+ } from "./catalog-b24n8q6t.js";
105
105
  import {
106
106
  __export
107
- } from "./file-9rqn6x4v.js";
107
+ } from "./catalog-9rqn6x4v.js";
108
108
 
109
109
  // src/session.ts
110
110
  var exports_session = {};
@@ -115,21 +115,21 @@ __export(exports_session, {
115
115
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
116
116
  DestinationNotFoundError: () => DestinationNotFoundError2,
117
117
  DestinationUnavailableError: () => DestinationUnavailableError2,
118
- ID: () => ID13,
118
+ ID: () => ID14,
119
119
  InboxConflictError: () => InboxConflictError2,
120
- Info: () => Info26,
120
+ Info: () => Info28,
121
121
  ListAnchor: () => ListAnchor2,
122
- ListInput: () => ListInput2,
122
+ ListInput: () => ListInput3,
123
123
  MessageDecodeError: () => MessageDecodeError2,
124
124
  MessageNotFoundError: () => MessageNotFoundError2,
125
- NotFoundError: () => NotFoundError6,
125
+ NotFoundError: () => NotFoundError9,
126
126
  PromptConflictError: () => PromptConflictError2,
127
- Service: () => Service17,
127
+ Service: () => Service21,
128
128
  Session: () => exports_session,
129
129
  SessionSchema: () => SessionSchema2,
130
130
  SkillNotFoundError: () => SkillNotFoundError2,
131
131
  SyntheticConflictError: () => SyntheticConflictError2,
132
- node: () => node21
132
+ node: () => node25
133
133
  });
134
134
  import { Effect, Layer, Schema, Context, Stream } from "effect";
135
135
  import { LLMClient } from "@opencode/ai";
@@ -139,26 +139,26 @@ import { Model } from "@opencode/schema/model";
139
139
  import path from "path";
140
140
  import { Node } from "@opencode/util/effect/app-node";
141
141
  import { FSUtil } from "@opencode/util/fs-util";
142
- var ListInput2 = ListInput4;
143
- class Service17 extends Context.Service()("@opencode/Session") {
142
+ var ListInput3 = ListInput5;
143
+ class Service21 extends Context.Service()("@opencode/Session") {
144
144
  }
145
- var layer = Layer.effect(Service17, Effect.gen(function* () {
145
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
146
146
  const app = yield* Metadata2;
147
- const database = yield* Service79;
147
+ const database = yield* Service80;
148
148
  const db = database.db;
149
- const bus = yield* Service78;
150
- const projects = yield* Service76;
151
- const execution = yield* Service46;
149
+ const bus = yield* Service79;
150
+ const projects = yield* Service77;
151
+ const execution = yield* Service38;
152
152
  const llm = yield* LLMClient.Service;
153
- const transport = yield* Service22;
154
- const store = yield* Service56;
155
- const instances = yield* Service50;
156
- const moves = yield* Service19;
157
- const jobs = yield* Service51;
158
- const environments = yield* Service64;
153
+ const transport = yield* Service30;
154
+ const store = yield* Service70;
155
+ const instances = yield* Service41;
156
+ const moves = yield* Service22;
157
+ const jobs = yield* Service43;
158
+ const environments = yield* Service36;
159
159
  const sessions = yield* make12();
160
160
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
161
- const result = Service17.of({
161
+ const result = Service21.of({
162
162
  create: Effect.fn("Session.create")(function* (input) {
163
163
  const sessionID = input.id ?? SessionSchema2.ID.create();
164
164
  const recorded = yield* store.get(sessionID);
@@ -166,7 +166,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
166
166
  return recorded;
167
167
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
168
168
  if (input.parentID && parent === undefined)
169
- return yield* new NotFoundError6({ sessionID: input.parentID });
169
+ return yield* new NotFoundError9({ sessionID: input.parentID });
170
170
  const location = parent?.location ?? input.location;
171
171
  if (location === undefined)
172
172
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -260,11 +260,11 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
260
260
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
261
261
  generate: Effect.fn("Session.generate")(function* (input) {
262
262
  const session = yield* result.get(input.sessionID);
263
- return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service79, database), Effect.provideService(LLMClient.Service, llm));
263
+ return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
264
264
  }),
265
265
  command: Effect.fn("Session.command")(function* (input) {
266
266
  const session = yield* result.get(input.sessionID);
267
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service50, instances));
267
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service41, instances));
268
268
  }),
269
269
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
270
270
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -305,26 +305,26 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
305
305
  });
306
306
  return result;
307
307
  }));
308
- var node21 = Node.makeGlobalNode({
309
- service: Service17,
308
+ var node25 = Node.makeGlobalNode({
309
+ service: Service21,
310
310
  layer,
311
311
  deps: [
312
- node54,
313
- node67,
314
- node83,
312
+ node46,
313
+ node40,
314
+ node85,
315
+ node84,
315
316
  node82,
316
- node80,
317
- node50,
318
- node27,
317
+ node42,
318
+ node34,
319
319
  llmClient2,
320
- node59,
321
- node53,
322
- node51,
323
- node23,
324
- node24,
320
+ node74,
321
+ node44,
322
+ node45,
323
+ node26,
324
+ node35,
325
325
  FSUtil.node,
326
- node84
326
+ node78
327
327
  ]
328
328
  });
329
329
 
330
- export { ListAnchor2, ListInput2, Service17, node21, exports_session };
330
+ export { ListAnchor2, ListInput3, Service21, node25, exports_session };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./file-5t3nmthw.js";
3
+ } from "./catalog-5t3nmthw.js";
4
4
  import {
5
- Service52,
6
- node55
7
- } from "./file-w727stb0.js";
5
+ Service57,
6
+ node61
7
+ } from "./catalog-kzm76jg0.js";
8
8
  import {
9
9
  __export
10
- } from "./file-9rqn6x4v.js";
10
+ } from "./catalog-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate2 = {};
14
- __export(exports_generate2, {
15
- Generate: () => exports_generate2,
13
+ var exports_generate = {};
14
+ __export(exports_generate, {
15
+ Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service31,
18
- UnavailableError: () => UnavailableError2,
19
- layer: () => layer15,
20
- node: () => node35
17
+ Service: () => Service20,
18
+ UnavailableError: () => UnavailableError3,
19
+ layer: () => layer10,
20
+ node: () => node24
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service31 extends Context.Service()("@opencode/Generate") {
36
+ class Service20 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer15 = Layer.effect(Service31, Effect.gen(function* () {
38
+ var layer10 = Layer.effect(Service20, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service52;
40
+ const resolver = yield* Service57;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -47,28 +47,28 @@ var layer15 = Layer.effect(Service31, Effect.gen(function* () {
47
47
  "SessionRunnerModel.UnresolvedProviderVariablesError",
48
48
  "SessionRunnerModel.UnsupportedCompactionError"
49
49
  ], (error) => {
50
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
50
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
51
51
  return Effect.fail(mapped);
52
52
  }));
53
53
  if (!resolved)
54
54
  return yield* new ModelSelectionError2({
55
55
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
56
56
  });
57
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
57
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
58
58
  message: error.message,
59
59
  service: resolved.ref.providerID
60
60
  })));
61
61
  return response.text;
62
62
  });
63
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
63
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service31.of({ text });
66
+ return Service20.of({ text });
67
67
  }));
68
- var node35 = makeLocationNode({
69
- service: Service31,
70
- layer: layer15,
71
- deps: [node55, llmClient2]
68
+ var node24 = makeLocationNode({
69
+ service: Service20,
70
+ layer: layer10,
71
+ deps: [node61, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError2, Service31, layer15, node35, exports_generate2 };
74
+ export { ModelSelectionError2, UnavailableError3, Service20, layer10, node24, exports_generate };