@opencode/core 0.0.0-dev-21102 → 0.0.0-dev-21104

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 (790) 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/{file-mutation-4pxfaks0.js → session-028vz2zd.js} +4 -4
  8. package/dist/chunks/{file-mutation-yv1g7dvw.js → session-0h9k4q61.js} +17 -17
  9. package/dist/chunks/{file-mutation-q19wpyyh.js → session-0hxy9fcr.js} +32 -32
  10. package/dist/chunks/{file-mutation-kqx1b4hy.js → session-0n5ns49k.js} +4 -4
  11. package/dist/chunks/{file-mutation-78mmz05e.js → session-0p7wg4pc.js} +3 -3
  12. package/dist/chunks/{file-mutation-0vbcp93d.js → session-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{file-mutation-es633c8d.js → session-0z1w82cr.js} +16 -16
  14. package/dist/chunks/{file-mutation-f9twm2pk.js → session-11s75zap.js} +26 -26
  15. package/dist/chunks/{file-mutation-6qbfyeq4.js → session-16wezk93.js} +5 -5
  16. package/dist/chunks/{file-mutation-py1s82by.js → session-17e91py3.js} +9 -9
  17. package/dist/chunks/{file-mutation-4x8f5qrc.js → session-17v47ejv.js} +69 -69
  18. package/dist/chunks/{file-mutation-yp2x3t23.js → session-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{file-mutation-6et16byz.js → session-1rkb8xsp.js} +4 -4
  20. package/dist/chunks/{file-mutation-4p0ag926.js → session-1rtfdfrs.js} +9 -9
  21. package/dist/chunks/{file-mutation-sjsq85cv.js → session-1s4vk71q.js} +20 -20
  22. package/dist/chunks/{file-mutation-zj24t7xr.js → session-1xcbmx00.js} +5 -5
  23. package/dist/chunks/{file-mutation-y6mhz57t.js → session-277eer69.js} +4 -4
  24. package/dist/chunks/{file-mutation-zx5swzrd.js → session-2d7sq6jn.js} +9 -9
  25. package/dist/chunks/{file-mutation-w80w7egq.js → session-2edzsrqt.js} +20 -20
  26. package/dist/chunks/{file-mutation-vnrbpqt1.js → session-2j2482ad.js} +25 -25
  27. package/dist/chunks/{file-mutation-86hr6tyx.js → session-2vgjj4bf.js} +16 -16
  28. package/dist/chunks/{file-mutation-4y2jths2.js → session-2zqkn9jz.js} +8 -8
  29. package/dist/chunks/{file-mutation-w31qasc1.js → session-3650f14j.js} +7 -7
  30. package/dist/chunks/{file-mutation-vx06kqgv.js → session-36k85s9g.js} +13 -13
  31. package/dist/chunks/{file-mutation-3fc6dm20.js → session-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{file-mutation-ze4328nr.js → session-3gse6p2p.js} +11 -11
  33. package/dist/chunks/{file-mutation-3hepkmqq.js → session-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{file-mutation-3hwn7j4h.js → session-3hwn7j4h.js} +2 -2
  35. package/dist/chunks/{file-mutation-3smtnn6g.js → session-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{file-mutation-3tvqynh2.js → session-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{file-mutation-rp1sxpnt.js → session-3x6q11gd.js} +4 -4
  38. package/dist/chunks/{file-mutation-3zsf4n22.js → session-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{file-mutation-a0ngmh7v.js → session-400ng3ga.js} +29 -29
  40. package/dist/chunks/{file-mutation-cz1vwcws.js → session-45aa4w9j.js} +2 -2
  41. package/dist/chunks/{file-mutation-wq2exejj.js → session-48jhjk5h.js} +36 -36
  42. package/dist/chunks/{file-mutation-crygnby0.js → session-4d41n9pm.js} +3 -3
  43. package/dist/chunks/{file-mutation-eac7ec6d.js → session-4jmg1rte.js} +6 -6
  44. package/dist/chunks/{file-mutation-tms097mr.js → session-4kgt4rsm.js} +20 -20
  45. package/dist/chunks/{file-mutation-ed01axam.js → session-4r52s04b.js} +6 -6
  46. package/dist/chunks/{file-mutation-wyfpybhz.js → session-4vqah187.js} +24 -24
  47. package/dist/chunks/{file-mutation-ab0v7xqg.js → session-50axe8a2.js} +11 -11
  48. package/dist/chunks/{file-mutation-54ma36ye.js → session-54ma36ye.js} +1 -1
  49. package/dist/chunks/{file-mutation-v38qq1xq.js → session-59kkfkjk.js} +3 -3
  50. package/dist/chunks/{file-mutation-k9rqwrkg.js → session-5dzn7ppg.js} +11 -11
  51. package/dist/chunks/{file-mutation-5m9w47nd.js → session-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{file-mutation-9az4rgkb.js → session-5n5b7a2e.js} +24 -24
  53. package/dist/chunks/{file-mutation-wq5jrx1v.js → session-5ps9jfts.js} +42 -42
  54. package/dist/chunks/{file-mutation-e3qxr5gk.js → session-5qd3pb7m.js} +2 -2
  55. package/dist/chunks/session-5sm1n49m.js +513 -0
  56. package/dist/chunks/{file-mutation-tr1j93sp.js → session-5sq4602s.js} +14 -14
  57. package/dist/chunks/{file-mutation-6axq4ad7.js → session-5tfadpcf.js} +13 -13
  58. package/dist/chunks/{file-mutation-ckc5xesv.js → session-6h926rj3.js} +47 -47
  59. package/dist/chunks/{file-mutation-zm7ab947.js → session-6jm7j7qt.js} +20 -20
  60. package/dist/chunks/{file-mutation-wrmx1wd8.js → session-6njpkwr5.js} +18 -18
  61. package/dist/chunks/{file-mutation-y8p3zjbc.js → session-6px0fncs.js} +6 -6
  62. package/dist/chunks/{file-mutation-e7a0tnjd.js → session-6vmd7p6h.js} +9 -9
  63. package/dist/chunks/{file-mutation-6xb47vfp.js → session-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{file-mutation-yqc6bamn.js → session-6xcvt31d.js} +1 -1
  65. package/dist/chunks/{file-mutation-pgvws8e3.js → session-6zhcx1rd.js} +82 -82
  66. package/dist/chunks/{file-mutation-cyz4rac1.js → session-77140qkf.js} +17 -17
  67. package/dist/chunks/{file-mutation-775gj3j1.js → session-775gj3j1.js} +2 -2
  68. package/dist/chunks/{file-mutation-mnv5anne.js → session-79a5xhmv.js} +15 -15
  69. package/dist/chunks/{file-mutation-7bmhse3q.js → session-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{file-mutation-9cd83t7f.js → session-7e99v8js.js} +17 -17
  71. package/dist/chunks/{file-mutation-rg5vjzce.js → session-7ma6b7ht.js} +13 -13
  72. package/dist/chunks/{file-mutation-emew9pj0.js → session-7q89g76x.js} +18 -18
  73. package/dist/chunks/{file-mutation-e236apxg.js → session-82e44ayv.js} +3 -3
  74. package/dist/chunks/{file-mutation-84txncab.js → session-84txncab.js} +1 -1
  75. package/dist/chunks/{file-mutation-sqxd4b6a.js → session-8ekk0vp1.js} +12 -12
  76. package/dist/chunks/{file-mutation-jvf3yq6v.js → session-8gxqpgph.js} +4 -4
  77. package/dist/chunks/{file-mutation-53rh8r92.js → session-8k6m3f86.js} +15 -15
  78. package/dist/chunks/{file-mutation-8m6m0r52.js → session-8m6m0r52.js} +1 -1
  79. package/dist/chunks/{file-mutation-zj0rakt4.js → session-8nawd7vj.js} +25 -25
  80. package/dist/chunks/{file-mutation-ettnqe8w.js → session-8p95hcj0.js} +7 -7
  81. package/dist/chunks/{file-mutation-v4r9rrgr.js → session-8rr9cgnv.js} +17 -17
  82. package/dist/chunks/{file-mutation-yk3k7trf.js → session-8ta2ke8b.js} +3 -3
  83. package/dist/chunks/{file-mutation-6rm5yzkt.js → session-8wasap3g.js} +4 -4
  84. package/dist/chunks/{file-mutation-xqevex3y.js → session-8yst4g1x.js} +22 -22
  85. package/dist/chunks/{file-mutation-bh35h2a4.js → session-94p4mq0b.js} +27 -27
  86. package/dist/chunks/{file-mutation-fssat8nd.js → session-9c8hs4gf.js} +12 -12
  87. package/dist/chunks/{file-mutation-bhja2czc.js → session-9dsax77p.js} +41 -41
  88. package/dist/chunks/{file-mutation-hgpde3vb.js → session-9kjwr1bj.js} +17 -17
  89. package/dist/chunks/{file-mutation-1vq8waa3.js → session-9sab7zf7.js} +21 -21
  90. package/dist/chunks/session-9sh4wc5j.js +18 -0
  91. package/dist/chunks/{file-mutation-1pw9daj1.js → session-9x2bx73k.js} +14 -14
  92. package/dist/chunks/{file-mutation-7f067m2e.js → session-a3pwpyd3.js} +4 -4
  93. package/dist/chunks/{file-mutation-b81ahfje.js → session-ac0kc9a7.js} +20 -20
  94. package/dist/chunks/{file-mutation-addxnjmp.js → session-addxnjmp.js} +1 -1
  95. package/dist/chunks/{file-mutation-a5cb3rxh.js → session-affsz7rm.js} +4 -4
  96. package/dist/chunks/{file-mutation-qze06xta.js → session-axqmpksw.js} +33 -33
  97. package/dist/chunks/{file-mutation-hvb11wac.js → session-axrfe593.js} +8 -8
  98. package/dist/chunks/{file-mutation-xfh984c1.js → session-b1kx6zr2.js} +15 -15
  99. package/dist/chunks/{file-mutation-zyk1yjk8.js → session-b3f8fkhc.js} +5 -5
  100. package/dist/chunks/{file-mutation-gv0fvrxd.js → session-bbvg4aj6.js} +14 -14
  101. package/dist/chunks/{file-mutation-31cd2ng7.js → session-bdkv4wd5.js} +5 -5
  102. package/dist/chunks/{file-mutation-vgbe0hx2.js → session-bfv9bv9k.js} +6 -6
  103. package/dist/chunks/{file-mutation-ahjtwsk1.js → session-bgxbbvbk.js} +11 -11
  104. package/dist/chunks/{file-mutation-bjzecbrs.js → session-bh7bdks7.js} +5 -5
  105. package/dist/chunks/{file-mutation-y45dsw3d.js → session-bhdk16by.js} +31 -31
  106. package/dist/chunks/{file-mutation-wjr9rjd7.js → session-bjx1sjef.js} +6 -6
  107. package/dist/chunks/{file-mutation-1j6m29mr.js → session-bmr56wjg.js} +9 -9
  108. package/dist/chunks/{file-mutation-vaer15sz.js → session-bx08gw9n.js} +12 -12
  109. package/dist/chunks/{file-mutation-c1fqxshp.js → session-c1fqxshp.js} +3 -3
  110. package/dist/chunks/{file-mutation-9qtbwzwj.js → session-c1v03wcp.js} +4 -4
  111. package/dist/chunks/{file-mutation-7x9m82rv.js → session-c2qztg18.js} +9 -9
  112. package/dist/chunks/{file-mutation-xtxypabt.js → session-c5ggqzvz.js} +5 -5
  113. package/dist/chunks/{file-mutation-nr90a0dt.js → session-cahfpmqz.js} +44 -44
  114. package/dist/chunks/{file-mutation-83nvk7gf.js → session-ch4d9mhg.js} +14 -14
  115. package/dist/chunks/{file-mutation-nteb4xfc.js → session-cjtp7t4m.js} +9 -9
  116. package/dist/chunks/{file-mutation-0a45r66e.js → session-cmryhbtm.js} +8 -8
  117. package/dist/chunks/{file-mutation-np2zj9yp.js → session-cp42sj37.js} +31 -31
  118. package/dist/chunks/{file-mutation-av34pvd4.js → session-cr0wjcx7.js} +16 -16
  119. package/dist/chunks/{file-mutation-2mq1h16s.js → session-cwa6csj7.js} +9 -9
  120. package/dist/chunks/{file-mutation-8nhf552q.js → session-cyyn8b75.js} +11 -11
  121. package/dist/chunks/{file-mutation-yh7kjdpc.js → session-d43tgzm4.js} +9 -9
  122. package/dist/chunks/{file-mutation-dt4y2tq7.js → session-dfwcm8s4.js} +19 -19
  123. package/dist/chunks/{file-mutation-6gke9jm0.js → session-dhg5tdjx.js} +25 -25
  124. package/dist/chunks/{file-mutation-10bapksq.js → session-dj1vr2rc.js} +45 -45
  125. package/dist/chunks/{file-mutation-44gm7dpy.js → session-dj95qvah.js} +12 -12
  126. package/dist/chunks/{file-mutation-fg22vpm1.js → session-djxjhtpa.js} +20 -20
  127. package/dist/chunks/{file-mutation-6n4qjbg5.js → session-dk3bb8xe.js} +18 -18
  128. package/dist/chunks/{file-mutation-395y8vmn.js → session-dkbdqgve.js} +26 -26
  129. package/dist/chunks/{file-mutation-kna85462.js → session-dppc1d27.js} +24 -24
  130. package/dist/chunks/{file-mutation-dqxsqydv.js → session-dqxsqydv.js} +1 -1
  131. package/dist/chunks/{file-mutation-gjvt2sw1.js → session-dscw6zgr.js} +24 -24
  132. package/dist/chunks/{file-mutation-p42hj8p8.js → session-dv1qgsyq.js} +8 -8
  133. package/dist/chunks/{file-mutation-kvwqxrwb.js → session-dxpt7zgz.js} +13 -13
  134. package/dist/chunks/{file-mutation-dhww0s6x.js → session-dyrvb49w.js} +1 -1
  135. package/dist/chunks/{file-mutation-qhj8gsw7.js → session-e4yefha8.js} +15 -15
  136. package/dist/chunks/{file-mutation-6n6k1agq.js → session-e82m7wpc.js} +27 -27
  137. package/dist/chunks/{file-mutation-9tk0xbhp.js → session-e8x5fadv.js} +16 -16
  138. package/dist/chunks/{file-mutation-s0xd9fk5.js → session-ec1m929s.js} +11 -11
  139. package/dist/chunks/{file-mutation-eej6y6fw.js → session-eej6y6fw.js} +2 -2
  140. package/dist/chunks/{file-mutation-ef5x83kb.js → session-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{file-mutation-jc9d9mw1.js → session-eg428ztj.js} +16 -16
  142. package/dist/chunks/{file-mutation-0vhb79zx.js → session-ekr3d3wn.js} +44 -44
  143. package/dist/chunks/{file-mutation-vx9tn3ww.js → session-epg0ywp9.js} +27 -27
  144. package/dist/chunks/{file-mutation-v9ym5vkf.js → session-ewfysnty.js} +25 -25
  145. package/dist/chunks/{file-mutation-3nn61x4m.js → session-f13253fz.js} +14 -14
  146. package/dist/chunks/{file-mutation-x5wrmng7.js → session-fan8xm03.js} +11 -11
  147. package/dist/chunks/{file-mutation-atmskjxw.js → session-fh9xxv3t.js} +23 -23
  148. package/dist/chunks/{file-mutation-qa3qhgw8.js → session-fqb2p7cx.js} +4 -4
  149. package/dist/chunks/{file-mutation-523zf4ny.js → session-fst6bshg.js} +11 -11
  150. package/dist/chunks/{file-mutation-h2m7wh0c.js → session-ftmqwck5.js} +11 -11
  151. package/dist/chunks/{file-mutation-32qfxbms.js → session-g131fprf.js} +8 -8
  152. package/dist/chunks/{file-mutation-5vma4t00.js → session-g57505q5.js} +11 -11
  153. package/dist/chunks/{file-mutation-kjd40bgk.js → session-g686f6pq.js} +9 -9
  154. package/dist/chunks/{file-mutation-8kpxa52r.js → session-g8f49myy.js} +173 -173
  155. package/dist/chunks/{file-mutation-cqbnrm9h.js → session-g8mkxt29.js} +16 -16
  156. package/dist/chunks/{file-mutation-86qjnnqk.js → session-g8ytx0e6.js} +11 -11
  157. package/dist/chunks/{file-mutation-gd4qta3r.js → session-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{file-mutation-z6c3x22d.js → session-gj71zhbs.js} +5 -5
  159. package/dist/chunks/{file-mutation-kecerxq6.js → session-gyrvczyf.js} +5 -5
  160. package/dist/chunks/{file-mutation-h6vf3j39.js → session-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{file-mutation-31xfzrxg.js → session-h7s7r6s9.js} +5 -5
  162. package/dist/chunks/{file-mutation-kp1hjqcq.js → session-hcv7wq8e.js} +11 -11
  163. package/dist/chunks/{file-mutation-hgz4x7wa.js → session-hgz4x7wa.js} +1 -1
  164. package/dist/chunks/{file-mutation-khmqacep.js → session-hq3c8me3.js} +4 -4
  165. package/dist/chunks/{file-mutation-dpdqynsp.js → session-hxe36jtj.js} +25 -25
  166. package/dist/chunks/{file-mutation-vx3jgdek.js → session-hzrfc1p4.js} +3 -3
  167. package/dist/chunks/{file-mutation-91qna3x0.js → session-j09zfasm.js} +3 -3
  168. package/dist/chunks/{file-mutation-34yg83yr.js → session-j125ymr3.js} +13 -13
  169. package/dist/chunks/{file-mutation-zz5c3g14.js → session-j3cqg9vr.js} +9 -9
  170. package/dist/chunks/{file-mutation-e3xy4e71.js → session-j4qz6ybp.js} +8 -8
  171. package/dist/chunks/{file-mutation-mrp1vw8h.js → session-jbdted36.js} +18 -18
  172. package/dist/chunks/{file-mutation-wdbsdckj.js → session-jg5dd0tz.js} +31 -31
  173. package/dist/chunks/{file-mutation-3zzm0etj.js → session-jvy3q0g6.js} +26 -26
  174. package/dist/chunks/{file-mutation-2njd48f3.js → session-jw0wced5.js} +4 -4
  175. package/dist/chunks/{file-mutation-ykbenvtt.js → session-jxezq2bv.js} +15 -15
  176. package/dist/chunks/{file-mutation-egyn2h7c.js → session-k0q9y07y.js} +7 -7
  177. package/dist/chunks/{file-mutation-tjn2qjgm.js → session-k3x8bpwg.js} +17 -17
  178. package/dist/chunks/{file-mutation-ns6qmrtd.js → session-k5zv1nx4.js} +20 -20
  179. package/dist/chunks/{file-mutation-m6078mdh.js → session-k81em4a1.js} +42 -42
  180. package/dist/chunks/{file-mutation-4ekscj25.js → session-kecqjjhm.js} +5 -5
  181. package/dist/chunks/{file-mutation-928exejz.js → session-kefdww3n.js} +13 -13
  182. package/dist/chunks/{file-mutation-qqrcrv2d.js → session-kq2n3xvx.js} +11 -11
  183. package/dist/chunks/{file-mutation-0bn0sq9n.js → session-kr417dca.js} +13 -13
  184. package/dist/chunks/{file-mutation-jfnyz2cb.js → session-kramf95g.js} +18 -18
  185. package/dist/chunks/{file-mutation-kwb1v3vj.js → session-kwb1v3vj.js} +1 -1
  186. package/dist/chunks/{file-mutation-z6szz84x.js → session-kx0a4q3k.js} +17 -17
  187. package/dist/chunks/{file-mutation-2ee1qjw3.js → session-m11mp5yh.js} +20 -20
  188. package/dist/chunks/{file-mutation-ym72szr7.js → session-m21m6a6e.js} +34 -34
  189. package/dist/chunks/{file-mutation-rsk8b1r9.js → session-m83wvsht.js} +14 -14
  190. package/dist/chunks/{file-mutation-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{file-mutation-maspj1v3.js → session-maspj1v3.js} +1 -1
  192. package/dist/chunks/{file-mutation-yewqjc3q.js → session-mexea5e3.js} +8 -8
  193. package/dist/chunks/{file-mutation-8xdknktr.js → session-mmfyj663.js} +6 -6
  194. package/dist/chunks/session-mx61tthx.js +257 -0
  195. package/dist/chunks/{file-mutation-nbe12rbe.js → session-n48db4tv.js} +11 -11
  196. package/dist/chunks/{file-mutation-jxwk72h5.js → session-ngq632jh.js} +5 -5
  197. package/dist/chunks/{file-mutation-fqtvmpfq.js → session-ngts6ef0.js} +8 -8
  198. package/dist/chunks/{file-mutation-mq9ghvnj.js → session-ngtvk8kc.js} +16 -16
  199. package/dist/chunks/{file-mutation-h9wp8z5w.js → session-nxe4pcap.js} +4 -4
  200. package/dist/chunks/{file-mutation-paerxhb0.js → session-paj0pdrk.js} +13 -13
  201. package/dist/chunks/{file-mutation-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{file-mutation-pknna89w.js → session-pknna89w.js} +1 -1
  203. package/dist/chunks/{file-mutation-82s76q1y.js → session-pnhga7rv.js} +4 -4
  204. package/dist/chunks/{file-mutation-7gzvat6z.js → session-pt9tn29g.js} +18 -18
  205. package/dist/chunks/{file-mutation-6pc27hjz.js → session-py3kkmfq.js} +6 -6
  206. package/dist/chunks/{file-mutation-fcrkznn8.js → session-qgn6gcr1.js} +5 -5
  207. package/dist/chunks/{file-mutation-6qr2hpa3.js → session-qj7ggmya.js} +27 -27
  208. package/dist/chunks/{file-mutation-bdwftekd.js → session-qmfxk8yj.js} +24 -24
  209. package/dist/chunks/{file-mutation-qnc92qwc.js → session-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{file-mutation-atcakhwd.js → session-qns7vbsq.js} +15 -15
  211. package/dist/chunks/{file-mutation-qsdy395h.js → session-qsdy395h.js} +1 -1
  212. package/dist/chunks/{file-mutation-0kqmzpgj.js → session-qzwtedfz.js} +4 -4
  213. package/dist/chunks/{file-mutation-e80seqcp.js → session-r2z489rp.js} +3 -3
  214. package/dist/chunks/{file-mutation-y35511gd.js → session-r669e83c.js} +16 -16
  215. package/dist/chunks/{file-mutation-6b5qcyht.js → session-rd0yyfjt.js} +11 -11
  216. package/dist/chunks/{file-mutation-4byykzwt.js → session-rdg5xtmn.js} +10 -10
  217. package/dist/chunks/{file-mutation-rdw6cm16.js → session-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{file-mutation-rert0e01.js → session-rert0e01.js} +2 -2
  219. package/dist/chunks/{file-mutation-rj3eygr5.js → session-rj3eygr5.js} +2 -2
  220. package/dist/chunks/{file-mutation-r1rs5fcg.js → session-rmyya8cp.js} +9 -9
  221. package/dist/chunks/{file-mutation-831szrnr.js → session-rqpp628f.js} +47 -47
  222. package/dist/chunks/{file-mutation-24ashckt.js → session-rrc2w5mq.js} +33 -33
  223. package/dist/chunks/{file-mutation-mw3zb6qd.js → session-rwrfwdzg.js} +3 -3
  224. package/dist/chunks/{file-mutation-stdh1w8b.js → session-s1mtfv6s.js} +11 -11
  225. package/dist/chunks/{file-mutation-bbsgqxz3.js → session-s3vgnvt1.js} +5 -5
  226. package/dist/chunks/{file-mutation-sa8ekw3f.js → session-sa8ekw3f.js} +2 -2
  227. package/dist/chunks/{file-mutation-bbzjnv7y.js → session-scd429p4.js} +46 -46
  228. package/dist/chunks/{file-mutation-r6twsrbc.js → session-sczzfbt2.js} +10 -10
  229. package/dist/chunks/{file-mutation-jpqkz8s9.js → session-sm9veqfv.js} +50 -50
  230. package/dist/chunks/{file-mutation-3h7vgc1c.js → session-swr4hk66.js} +21 -21
  231. package/dist/chunks/{file-mutation-syv4x271.js → session-syv4x271.js} +1 -1
  232. package/dist/chunks/{file-mutation-mjagy123.js → session-t0sqncza.js} +5 -5
  233. package/dist/chunks/{file-mutation-34pqwryj.js → session-t4ak2b1q.js} +20 -20
  234. package/dist/chunks/{file-mutation-rhjbct0v.js → session-t550f9t1.js} +4 -4
  235. package/dist/chunks/{file-mutation-tazgh4e4.js → session-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{file-mutation-tcezcvh9.js → session-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{file-mutation-tdstcens.js → session-tdstcens.js} +1 -1
  238. package/dist/chunks/{file-mutation-whepmyc8.js → session-tgh3evcp.js} +1 -1
  239. package/dist/chunks/{file-mutation-tm0kqsz3.js → session-tm0kqsz3.js} +1 -1
  240. package/dist/chunks/{file-mutation-tyytaxap.js → session-tyytaxap.js} +1 -1
  241. package/dist/chunks/{file-mutation-t3zmyd3w.js → session-tzr482z0.js} +31 -31
  242. package/dist/chunks/{file-mutation-v0es1rhs.js → session-v0es1rhs.js} +2 -2
  243. package/dist/chunks/{file-mutation-v7p4zvkq.js → session-v7p4zvkq.js} +2 -2
  244. package/dist/chunks/{file-mutation-veqvce7d.js → session-veqvce7d.js} +1 -1
  245. package/dist/chunks/{file-mutation-1nbyw85c.js → session-vfefmkej.js} +19 -19
  246. package/dist/chunks/{file-mutation-yzmsvx3n.js → session-vhdc5dwg.js} +11 -11
  247. package/dist/chunks/{file-mutation-5pyjqqve.js → session-vjjaysxc.js} +2 -2
  248. package/dist/chunks/{file-mutation-z8abfd22.js → session-vvxb08w0.js} +40 -40
  249. package/dist/chunks/{file-mutation-vzs5sf6e.js → session-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{file-mutation-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{file-mutation-3zy697b6.js → session-w3x9v1nk.js} +8 -8
  252. package/dist/chunks/{file-mutation-wd87259q.js → session-wd87259q.js} +1 -1
  253. package/dist/chunks/{file-mutation-tk14y25j.js → session-wh6zw745.js} +5 -5
  254. package/dist/chunks/{file-mutation-j58c5xyq.js → session-wk5z6jzv.js} +9 -9
  255. package/dist/chunks/{file-mutation-1ja1wxmc.js → session-wnk72qpq.js} +5 -5
  256. package/dist/chunks/{file-mutation-xjpvrdvq.js → session-wqmp8a7j.js} +10 -10
  257. package/dist/chunks/{file-mutation-cng1644r.js → session-x1a9vp4h.js} +15 -15
  258. package/dist/chunks/{file-mutation-whmxtv1k.js → session-x31magnd.js} +24 -24
  259. package/dist/chunks/{file-mutation-s9hmt3s5.js → session-x6badc55.js} +2 -2
  260. package/dist/chunks/{file-mutation-svvw92nk.js → session-x82jgv5k.js} +34 -34
  261. package/dist/chunks/session-xc8rkb9z.js +26 -0
  262. package/dist/chunks/{file-mutation-mx9vqzsb.js → session-xcd0eash.js} +6 -6
  263. package/dist/chunks/{file-mutation-drwq78ky.js → session-xfkkasph.js} +4 -4
  264. package/dist/chunks/{file-mutation-bwtsbp89.js → session-xjpaefgf.js} +16 -16
  265. package/dist/chunks/{file-mutation-ab17c7dx.js → session-xkzhpn5t.js} +10 -10
  266. package/dist/chunks/{file-mutation-vhs7bsm8.js → session-xvvnzekr.js} +84 -84
  267. package/dist/chunks/{file-mutation-cba5y8md.js → session-xx1fd4ja.js} +3 -3
  268. package/dist/chunks/{file-mutation-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{file-mutation-dpkg50ah.js → session-y71avatq.js} +4 -4
  270. package/dist/chunks/{file-mutation-f8g1y2jp.js → session-y87t9fp6.js} +19 -19
  271. package/dist/chunks/{file-mutation-3xmz25ae.js → session-yd5337z5.js} +6 -6
  272. package/dist/chunks/{file-mutation-xvjf424w.js → session-yft71f72.js} +11 -11
  273. package/dist/chunks/{file-mutation-ag0c998m.js → session-yn31e96s.js} +21 -21
  274. package/dist/chunks/{file-mutation-cry3q34q.js → session-yvtsx50k.js} +20 -20
  275. package/dist/chunks/{file-mutation-atrg28jh.js → session-yy7rb4gy.js} +33 -33
  276. package/dist/chunks/{file-mutation-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{file-mutation-qskc9fng.js → session-z10vw5g9.js} +11 -11
  278. package/dist/chunks/{file-mutation-bddt2pqj.js → session-z5crsmww.js} +11 -11
  279. package/dist/chunks/{file-mutation-qcf9sep0.js → session-zf3pj1s8.js} +7 -7
  280. package/dist/chunks/{file-mutation-5xeyj92j.js → session-zns8d6gc.js} +5 -5
  281. package/dist/chunks/{file-mutation-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{file-mutation-s7p2cp87.js → session-zrsvcpf8.js} +22 -22
  283. package/dist/chunks/{file-mutation-7apm8bw6.js → session-zx1mjfhk.js} +18 -18
  284. package/dist/chunks/{file-mutation-zxq2ej10.js → session-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +116 -116
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  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 +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +1 -1
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +81 -81
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +367 -367
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +97 -97
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +72 -72
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +104 -104
  425. package/dist/form.js +78 -78
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +103 -103
  429. package/dist/git.js +6 -6
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +93 -93
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.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 +358 -358
  453. package/dist/instruction-discovery.js +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +85 -85
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +355 -355
  465. package/dist/location.js +83 -83
  466. package/dist/managed-policy.js +6 -6
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +99 -99
  469. package/dist/mcp/instructions.js +127 -127
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +98 -98
  476. package/dist/models-dev.js +107 -107
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +113 -113
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +88 -88
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +78 -78
  487. package/dist/plugin/command.js +104 -104
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +211 -211
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +329 -329
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +117 -117
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +116 -116
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +116 -116
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +112 -112
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +113 -113
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +125 -125
  517. package/dist/plugin/provider/local.js +122 -122
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +125 -125
  522. package/dist/plugin/provider/openai.js +118 -118
  523. package/dist/plugin/provider/opencode.js +100 -100
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +125 -125
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +168 -168
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +346 -346
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +114 -114
  547. package/dist/plugin/websearch/exa.js +5 -5
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +222 -222
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +82 -82
  558. package/dist/provider.js +97 -97
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +101 -101
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +93 -93
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +97 -97
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +137 -137
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +3 -3
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +214 -214
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +90 -90
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +79 -79
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +224 -224
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +130 -130
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +89 -89
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +205 -205
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +157 -157
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +207 -207
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +209 -209
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +132 -132
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +114 -114
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +130 -130
  633. package/dist/tool/plugin/edit.js +120 -120
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +118 -118
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +122 -122
  640. package/dist/tool/plugin/question.js +107 -107
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +210 -210
  643. package/dist/tool/plugin/skill.js +107 -107
  644. package/dist/tool/plugin/subagent.js +210 -210
  645. package/dist/tool/plugin/webfetch.js +110 -110
  646. package/dist/tool/plugin/websearch.js +110 -110
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/voice.js +88 -88
  674. package/dist/websearch.js +86 -86
  675. package/dist/wellknown/plugin.js +78 -78
  676. package/dist/wellknown.js +83 -83
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +80 -80
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +100 -100
  685. package/package.json +8 -8
  686. package/dist/chunks/file-mutation-1e0042jk.js +0 -513
  687. package/dist/chunks/file-mutation-49n22trf.js +0 -257
  688. package/dist/chunks/file-mutation-jqh9b0xq.js +0 -18
  689. package/dist/chunks/file-mutation-pgrantrc.js +0 -26
  690. /package/dist/chunks/{file-mutation-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{file-mutation-0zkw76rk.js → session-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{file-mutation-17cy0kzp.js → session-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{file-mutation-1cnp2v09.js → session-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{file-mutation-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{file-mutation-24dcb14g.js → session-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{file-mutation-2710q6r3.js → session-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{file-mutation-2axfhc9x.js → session-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{file-mutation-2bv980vf.js → session-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{file-mutation-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{file-mutation-359p4xyc.js → session-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{file-mutation-3asan66x.js → session-3asan66x.js} +0 -0
  702. /package/dist/chunks/{file-mutation-3t0ybcrp.js → session-3t0ybcrp.js} +0 -0
  703. /package/dist/chunks/{file-mutation-3v8g72cx.js → session-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{file-mutation-3wcehsnq.js → session-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{file-mutation-43n2bw4t.js → session-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{file-mutation-4knz6hnm.js → session-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{file-mutation-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{file-mutation-4y7fprxs.js → session-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{file-mutation-53557ph1.js → session-53557ph1.js} +0 -0
  710. /package/dist/chunks/{file-mutation-550bvhaj.js → session-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{file-mutation-6prwharc.js → session-6prwharc.js} +0 -0
  712. /package/dist/chunks/{file-mutation-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{file-mutation-7akdwqpd.js → session-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{file-mutation-7m9af43g.js → session-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{file-mutation-822emrt2.js → session-822emrt2.js} +0 -0
  716. /package/dist/chunks/{file-mutation-84wd9syh.js → session-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{file-mutation-88xbtdfr.js → session-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{file-mutation-8n3pysct.js → session-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{file-mutation-8wj87zfr.js → session-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{file-mutation-9a4afbnw.js → session-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{file-mutation-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{file-mutation-a6k6eb26.js → session-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{file-mutation-af5trqkr.js → session-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{file-mutation-afrmfg78.js → session-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{file-mutation-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{file-mutation-atq7p7m5.js → session-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{file-mutation-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{file-mutation-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{file-mutation-cf4snx6d.js → session-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{file-mutation-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{file-mutation-d9fn303g.js → session-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{file-mutation-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{file-mutation-dajrwvna.js → session-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{file-mutation-dap0rakb.js → session-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{file-mutation-df08tz66.js → session-df08tz66.js} +0 -0
  736. /package/dist/chunks/{file-mutation-dy18nga0.js → session-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{file-mutation-e5kj55wp.js → session-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{file-mutation-e73j6tqm.js → session-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{file-mutation-ec1grn59.js → session-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{file-mutation-eh3zwz77.js → session-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{file-mutation-emrn6kk6.js → session-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{file-mutation-f0mxakyp.js → session-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{file-mutation-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{file-mutation-faypxj3z.js → session-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{file-mutation-fd410y7t.js → session-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{file-mutation-g4wezp1m.js → session-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{file-mutation-g86h250q.js → session-g86h250q.js} +0 -0
  748. /package/dist/chunks/{file-mutation-gebd4c9n.js → session-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{file-mutation-gftt206x.js → session-gftt206x.js} +0 -0
  750. /package/dist/chunks/{file-mutation-hcxmzztb.js → session-hcxmzztb.js} +0 -0
  751. /package/dist/chunks/{file-mutation-hk9envan.js → session-hk9envan.js} +0 -0
  752. /package/dist/chunks/{file-mutation-j2ntwpah.js → session-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{file-mutation-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{file-mutation-jjkms2e6.js → session-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{file-mutation-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{file-mutation-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{file-mutation-jze0r7bz.js → session-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{file-mutation-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{file-mutation-m18g726c.js → session-m18g726c.js} +0 -0
  760. /package/dist/chunks/{file-mutation-mp448xyj.js → session-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{file-mutation-msx8hqn2.js → session-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{file-mutation-n05xt0ee.js → session-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{file-mutation-n3j8tn72.js → session-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{file-mutation-njntx4h6.js → session-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{file-mutation-pkyv6v7h.js → session-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{file-mutation-pyv0edze.js → session-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{file-mutation-q3sfg36h.js → session-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{file-mutation-q74kybfr.js → session-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{file-mutation-qaymkmh1.js → session-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{file-mutation-qb87gjwd.js → session-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{file-mutation-qfa1cgps.js → session-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{file-mutation-qg3g05ea.js → session-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{file-mutation-qrg20bc0.js → session-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{file-mutation-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{file-mutation-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{file-mutation-ssg3fenm.js → session-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{file-mutation-ve7vex1e.js → session-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{file-mutation-w803qqfp.js → session-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{file-mutation-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{file-mutation-wer8tq1h.js → session-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{file-mutation-wjj7prxr.js → session-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{file-mutation-wtztk69x.js → session-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{file-mutation-x0ckcb58.js → session-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{file-mutation-x61499pn.js → session-x61499pn.js} +0 -0
  785. /package/dist/chunks/{file-mutation-y44na4kk.js → session-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{file-mutation-y8f7s663.js → session-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{file-mutation-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{file-mutation-ym463w8f.js → session-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{file-mutation-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{file-mutation-z9919s4g.js → session-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-s0xd9fk5.js";
3
+ } from "./session-ec1m929s.js";
4
4
  import {
5
5
  Service85
6
- } from "./file-mutation-a5cb3rxh.js";
6
+ } from "./session-affsz7rm.js";
7
7
  import {
8
- ID15,
8
+ ID14,
9
9
  Event19,
10
- Service80
11
- } from "./file-mutation-cqbnrm9h.js";
10
+ Service79
11
+ } from "./session-g8mkxt29.js";
12
12
  import {
13
13
  key2
14
- } from "./file-mutation-addxnjmp.js";
14
+ } from "./session-addxnjmp.js";
15
15
  import {
16
- ID14,
16
+ ID13,
17
17
  MethodID2
18
- } from "./file-mutation-ag0c998m.js";
18
+ } from "./session-yn31e96s.js";
19
19
  import {
20
20
  which2
21
- } from "./file-mutation-qaymkmh1.js";
21
+ } from "./session-qaymkmh1.js";
22
22
  import {
23
- ID13,
24
- Service78
25
- } from "./file-mutation-b81ahfje.js";
23
+ ID12,
24
+ Service77
25
+ } from "./session-ac0kc9a7.js";
26
26
  import {
27
- ID12
28
- } from "./file-mutation-1vq8waa3.js";
27
+ ID11
28
+ } from "./session-9sab7zf7.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./file-mutation-eac7ec6d.js";
31
+ } from "./session-4jmg1rte.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make9(endpoints = {
66
+ function make7(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID13.azure);
73
+ const configured = yield* configuredSettings2(ID12.azure);
74
74
  const processes = yield* AppProcess.Service;
75
75
  const bus = yield* Service85;
76
- const credentials = yield* Service80;
77
- const providers = yield* Service78;
76
+ const credentials = yield* Service79;
77
+ const providers = yield* Service77;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make9(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID13.azure,
103
+ integrationID: ID12.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID13.azure,
107
+ integrationID: ID12.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make9(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID13.azure,
125
+ integrationID: ID12.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make9(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID13.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make9(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID13.azure))?.settings;
185
+ const settings = (yield* providers.get(ID12.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make9(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make9(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make9(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID13.azure);
243
+ const item = evt.get(ID12.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make9(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  for (const model of models.list(item.provider.id)) {
@@ -263,20 +263,20 @@ function make9(endpoints = {
263
263
  }
264
264
  if (!loaded.deployments)
265
265
  return;
266
- const catalog = models.list(ID13.azure);
266
+ const catalog = models.list(ID12.azure);
267
267
  const deployed = deployedModels(loaded.deployments, catalog);
268
268
  for (const model of catalog) {
269
269
  if (!deployed.has(model.id))
270
- models.remove(ID13.azure, model.id);
270
+ models.remove(ID12.azure, model.id);
271
271
  }
272
272
  for (const [id, model] of deployed) {
273
- models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
273
+ models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
274
274
  }
275
275
  });
276
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
276
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
277
277
  yield* refresh().pipe(Effect.forkScoped);
278
278
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
279
- const connection = yield* ctx.integration.connection.active(ID13.azure);
279
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
280
280
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
281
281
  return;
282
282
  })) : undefined;
@@ -288,7 +288,7 @@ function make9(endpoints = {
288
288
  return `Bearer ${current.access}`;
289
289
  });
290
290
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
291
- if (evt.model.providerID !== ID13.azure)
291
+ if (evt.model.providerID !== ID12.azure)
292
292
  return;
293
293
  const authorization = yield* bearer(evt.request.url);
294
294
  if (!authorization)
@@ -297,9 +297,9 @@ function make9(endpoints = {
297
297
  evt.request.headers.delete("x-api-key");
298
298
  evt.request.headers.set("authorization", authorization);
299
299
  evt.request.headers.set("user-agent", useragent2(ctx.app));
300
- }), { providerID: ID13.azure });
300
+ }), { providerID: ID12.azure });
301
301
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
302
- if (evt.model.providerID !== ID13.azure)
302
+ if (evt.model.providerID !== ID12.azure)
303
303
  return;
304
304
  const authorization = yield* bearer(evt.url);
305
305
  if (!authorization)
@@ -308,11 +308,11 @@ function make9(endpoints = {
308
308
  delete evt.headers["x-api-key"];
309
309
  evt.headers.authorization = authorization;
310
310
  evt.headers["user-agent"] = useragent2(ctx.app);
311
- }), { providerID: ID13.azure });
311
+ }), { providerID: ID12.azure });
312
312
  })
313
313
  });
314
314
  }
315
- var AzurePlugin2 = make9();
315
+ var AzurePlugin2 = make7();
316
316
  function resolveResourceName(settings, fallback) {
317
317
  const configured = settings?.resourceName;
318
318
  if (typeof configured === "string" && configured.trim() !== "")
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
342
342
  const model = catalogModel(models, deployment);
343
343
  if (!model)
344
344
  return [];
345
- const id = ID12.make(deployment.name.toLowerCase());
345
+ const id = ID11.make(deployment.name.toLowerCase());
346
346
  const info = {
347
347
  ...structuredClone(model),
348
348
  id,
349
- modelID: ID12.make(deployment.name),
349
+ modelID: ID11.make(deployment.name),
350
350
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
351
351
  };
352
352
  return [[id, info]];
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
368
368
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
369
369
  }
370
370
 
371
- export { make9, AzurePlugin2 };
371
+ export { make7, AzurePlugin2 };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-mutation-z5v4ffb3.js";
5
+ } from "./session-z5v4ffb3.js";
6
6
  import {
7
7
  Service82,
8
8
  node86
9
- } from "./file-mutation-s9hmt3s5.js";
9
+ } from "./session-x6badc55.js";
10
10
  import {
11
- Service15,
12
- node17
13
- } from "./file-mutation-zj0rakt4.js";
11
+ Service25,
12
+ node28
13
+ } from "./session-8nawd7vj.js";
14
14
  import {
15
15
  __export
16
- } from "./file-mutation-9rqn6x4v.js";
16
+ } from "./session-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event2,
27
+ Event: () => Event7,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError2,
34
+ NotFoundError: () => NotFoundError3,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service14,
36
+ Service: () => Service24,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node16
40
+ node: () => node27
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event2 = FileSystem.Event;
108
+ var Event7 = FileSystem.Event;
109
109
 
110
- class Service14 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service24 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service24, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
114
  const location = yield* Service82;
115
- const search = yield* Service15;
115
+ const search = yield* Service25;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError2({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError2({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError2({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service14.of({
134
+ return Service24.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError2({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError3({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
147
147
  }),
148
148
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
149
149
  const directory = path.resolve(location.directory, input.path ?? ".");
150
- const missing = new NotFoundError2({ path: RelativePath2.make(input.path ?? ".") });
150
+ const missing = new NotFoundError3({ path: RelativePath2.make(input.path ?? ".") });
151
151
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
152
152
  if (info.type !== "Directory")
153
153
  return yield* missing;
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node16 = makeLocationNode({
175
- service: Service14,
174
+ var node27 = makeLocationNode({
175
+ service: Service24,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node86, node17]
177
+ deps: [FSUtil.node, node86, node28]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service24, node27, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-z5v4ffb3.js";
3
+ } from "./session-z5v4ffb3.js";
4
4
  import {
5
5
  Service82
6
- } from "./file-mutation-s9hmt3s5.js";
6
+ } from "./session-x6badc55.js";
7
7
  import {
8
- Service24
9
- } from "./file-mutation-ykbenvtt.js";
8
+ Service26
9
+ } from "./session-jxezq2bv.js";
10
10
  import {
11
- Service12
12
- } from "./file-mutation-y35511gd.js";
11
+ Service6
12
+ } from "./session-r669e83c.js";
13
13
  import {
14
14
  NotFound3
15
- } from "./file-mutation-hgz4x7wa.js";
15
+ } from "./session-hgz4x7wa.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service13
27
- } from "./file-mutation-cng1644r.js";
26
+ Service7
27
+ } from "./session-x1a9vp4h.js";
28
28
  import {
29
29
  __export
30
- } from "./file-mutation-9rqn6x4v.js";
30
+ } from "./session-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input7,
36
- Plugin: () => Plugin42,
35
+ Input: () => Input12,
36
+ Plugin: () => Plugin30,
37
37
  ReadTool: () => exports_read,
38
- name: () => name7,
39
- toModelContent: () => toModelContent5
38
+ name: () => name12,
39
+ toModelContent: () => toModelContent6
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name7 = "read";
45
+ var name12 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input7 = LocationInput;
56
+ var Input12 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin42 = {
58
+ var Plugin30 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service13;
62
- const access = yield* Service24;
63
- const sessionInstructions = yield* Service12;
61
+ const reader = yield* Service7;
62
+ const access = yield* Service26;
63
+ const sessionInstructions = yield* Service6;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service82;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name7,
67
+ name: name12,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input7,
70
+ input: Input12,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -113,7 +113,7 @@ var Plugin42 = {
113
113
  return { output: result.content, path: result.path };
114
114
  }).pipe(Effect.map((result) => ({
115
115
  output: result.output,
116
- content: toModelContent5(result.path, input.offset, result.output),
116
+ content: toModelContent6(result.path, input.offset, result.output),
117
117
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
118
118
  })), Effect.mapError((error) => {
119
119
  if (error instanceof ToolFailure)
@@ -146,7 +146,7 @@ ${suggestions.join(`
146
146
  });
147
147
  })
148
148
  };
149
- var toModelContent5 = (path, offset, output) => {
149
+ var toModelContent6 = (path, offset, output) => {
150
150
  if (output.type === "file" && output.encoding === "base64")
151
151
  return [
152
152
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name7, Input7, Plugin42, toModelContent5, exports_read };
185
+ export { name12, Input12, Plugin30, toModelContent6, exports_read };
@@ -2,17 +2,17 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-mutation-z5v4ffb3.js";
5
+ } from "./session-z5v4ffb3.js";
6
6
  import {
7
- Service74,
8
- node77
9
- } from "./file-mutation-3h7vgc1c.js";
7
+ Service71,
8
+ node74
9
+ } from "./session-swr4hk66.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./file-mutation-maspj1v3.js";
12
+ } from "./session-maspj1v3.js";
13
13
  import {
14
14
  __export
15
- } from "./file-mutation-9rqn6x4v.js";
15
+ } from "./session-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service17,
24
- node: () => node19
23
+ Service: () => Service27,
24
+ node: () => node30
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service17 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service27 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service17, Effect.gen(function* () {
67
- const environment = yield* Service74;
66
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
67
+ const environment = yield* Service71;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service17.of({
95
+ return Service27.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node19 = makeLocationNode({ service: Service17, layer, deps: [node77, RipgrepBinary2.node] });
178
+ var node30 = makeLocationNode({ service: Service27, layer, deps: [node74, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service17, node19, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service27, node30, exports_ripgrep };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-mutation-z5v4ffb3.js";
3
+ } from "./session-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info17
7
- } from "./file-mutation-1j6m29mr.js";
6
+ Info11
7
+ } from "./session-bmr56wjg.js";
8
8
  import {
9
9
  __export
10
- } from "./file-mutation-9rqn6x4v.js";
10
+ } from "./session-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- ConfigAgentV1: () => exports_agent4,
16
- Info: () => Info16
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ ConfigAgentV1: () => exports_agent3,
16
+ Info: () => Info8
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info17)
48
+ permission: Schema.optional(Info11)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info16 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info8 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info16, exports_agent4 };
72
+ export { Info8, exports_agent3 };