@opencode/core 0.0.0-dev-21307 → 0.0.0-dev-21314

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 (796) 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 +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{repository-cache-7yyqgw31.js → session-02g8yb1z.js} +13 -13
  8. package/dist/chunks/{repository-cache-qh8vdwx1.js → session-07770t2t.js} +6 -6
  9. package/dist/chunks/{repository-cache-5cd6vznj.js → session-0c6p43cp.js} +6 -6
  10. package/dist/chunks/{repository-cache-0gdmqesm.js → session-0gdmqesm.js} +1 -1
  11. package/dist/chunks/{repository-cache-d4ex4t7m.js → session-0psg52y2.js} +24 -24
  12. package/dist/chunks/{repository-cache-0vbcp93d.js → session-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{repository-cache-m5ac8kwq.js → session-0xgrx95y.js} +26 -26
  14. package/dist/chunks/{repository-cache-zt0s3nmc.js → session-14hgbde8.js} +5 -5
  15. package/dist/chunks/{repository-cache-n2bfkdv4.js → session-14pg4h6h.js} +8 -8
  16. package/dist/chunks/session-15aq8qza.js +257 -0
  17. package/dist/chunks/{repository-cache-8hht930z.js → session-1bzr682y.js} +16 -16
  18. package/dist/chunks/{repository-cache-bzeyqsqd.js → session-1ep4rre3.js} +4 -4
  19. package/dist/chunks/{repository-cache-ywt8jp22.js → session-1ffvrpkg.js} +6 -6
  20. package/dist/chunks/{repository-cache-045nn9pc.js → session-1j6m29mr.js} +4 -4
  21. package/dist/chunks/{repository-cache-x91navb3.js → session-1nw3zm24.js} +5 -5
  22. package/dist/chunks/{repository-cache-5w4193mt.js → session-1ptcz1aw.js} +59 -59
  23. package/dist/chunks/{repository-cache-4y6kwa1w.js → session-1sgxfzw3.js} +14 -14
  24. package/dist/chunks/{repository-cache-nqx608f1.js → session-1v2qx10z.js} +9 -9
  25. package/dist/chunks/{repository-cache-213xhah1.js → session-1vy01fax.js} +3 -3
  26. package/dist/chunks/{repository-cache-q3s5c4wd.js → session-23kra5v4.js} +12 -12
  27. package/dist/chunks/{repository-cache-z6jgmdqw.js → session-2420hj0p.js} +30 -30
  28. package/dist/chunks/{repository-cache-kmj26603.js → session-25yddszk.js} +6 -6
  29. package/dist/chunks/{repository-cache-ntcd7r2c.js → session-29kdakx0.js} +15 -15
  30. package/dist/chunks/{repository-cache-7dqw4kz8.js → session-2k8khapm.js} +5 -5
  31. package/dist/chunks/{repository-cache-04se7enf.js → session-35epk4r0.js} +5 -5
  32. package/dist/chunks/{repository-cache-gbx5w9e0.js → session-37gc27dg.js} +48 -48
  33. package/dist/chunks/{repository-cache-2xfc23b2.js → session-37zydtf8.js} +24 -24
  34. package/dist/chunks/{repository-cache-3hepkmqq.js → session-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{repository-cache-3hwn7j4h.js → session-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{repository-cache-3smtnn6g.js → session-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{repository-cache-3tvqynh2.js → session-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{repository-cache-21fhc1jw.js → session-3w50xvmd.js} +8 -8
  39. package/dist/chunks/{repository-cache-x661k3y3.js → session-3y377wv9.js} +4 -4
  40. package/dist/chunks/{repository-cache-p8qee5dd.js → session-3yt14ahe.js} +6 -6
  41. package/dist/chunks/{repository-cache-v7h4apfv.js → session-3zktm4st.js} +12 -12
  42. package/dist/chunks/{repository-cache-3zsf4n22.js → session-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{repository-cache-rvjhec0b.js → session-43frtkeb.js} +26 -26
  44. package/dist/chunks/{repository-cache-pjhexp1d.js → session-46nb00bf.js} +11 -11
  45. package/dist/chunks/{repository-cache-z6c3x22d.js → session-47jkzegy.js} +5 -5
  46. package/dist/chunks/{repository-cache-1n5bn1zm.js → session-4bcztqfp.js} +19 -19
  47. package/dist/chunks/{repository-cache-m3n8w99j.js → session-4kk33tta.js} +2 -2
  48. package/dist/chunks/{repository-cache-0cg871e2.js → session-4m4myvej.js} +5 -5
  49. package/dist/chunks/{repository-cache-y56ehv6b.js → session-4nj4bn9q.js} +5 -5
  50. package/dist/chunks/{repository-cache-qj368rjp.js → session-52rp03wm.js} +9 -9
  51. package/dist/chunks/{repository-cache-dp622nh3.js → session-5eek9100.js} +19 -19
  52. package/dist/chunks/{repository-cache-7cd0cd1q.js → session-5h49dtg2.js} +22 -22
  53. package/dist/chunks/{repository-cache-7sdjsr81.js → session-5jszk2xw.js} +21 -21
  54. package/dist/chunks/{repository-cache-5m9w47nd.js → session-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{repository-cache-0dq0w1jq.js → session-5njtz3qm.js} +8 -8
  56. package/dist/chunks/{repository-cache-pa8pe2x7.js → session-5yzzbxa7.js} +8 -8
  57. package/dist/chunks/{repository-cache-6827pfxn.js → session-6827pfxn.js} +1 -1
  58. package/dist/chunks/{repository-cache-qkpkhkva.js → session-6thrtbgs.js} +11 -11
  59. package/dist/chunks/{repository-cache-b3pexw4z.js → session-6w6x9nqq.js} +5 -5
  60. package/dist/chunks/{repository-cache-6yncxzed.js → session-6x4m2wb8.js} +11 -11
  61. package/dist/chunks/{repository-cache-6xb47vfp.js → session-6xb47vfp.js} +1 -1
  62. package/dist/chunks/{repository-cache-8z19p36t.js → session-6zw2r5dj.js} +3 -3
  63. package/dist/chunks/{repository-cache-gy6q8pjn.js → session-71nj6hcx.js} +5 -5
  64. package/dist/chunks/{repository-cache-775gj3j1.js → session-775gj3j1.js} +2 -2
  65. package/dist/chunks/{repository-cache-xaf8j326.js → session-78jd07r2.js} +13 -13
  66. package/dist/chunks/{repository-cache-avhvgy5k.js → session-797s8g7v.js} +10 -10
  67. package/dist/chunks/{repository-cache-7bmhse3q.js → session-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{repository-cache-cyd8k6yp.js → session-7djx2bk3.js} +30 -30
  69. package/dist/chunks/{repository-cache-9mwy3bj8.js → session-7ge0sy1k.js} +18 -18
  70. package/dist/chunks/{repository-cache-zvjhkatg.js → session-7rwqf82v.js} +8 -8
  71. package/dist/chunks/{repository-cache-59m3023s.js → session-7t2yk244.js} +13 -13
  72. package/dist/chunks/{repository-cache-a20pjse5.js → session-7v6vae4w.js} +3 -3
  73. package/dist/chunks/{repository-cache-qbqbaz6q.js → session-80scg3y3.js} +4 -4
  74. package/dist/chunks/{repository-cache-84txncab.js → session-84txncab.js} +1 -1
  75. package/dist/chunks/{repository-cache-z4ev155g.js → session-86qjnnqk.js} +11 -11
  76. package/dist/chunks/{repository-cache-xn26nr4q.js → session-88hn0rhj.js} +39 -39
  77. package/dist/chunks/{repository-cache-ht6gncry.js → session-8akh696h.js} +15 -15
  78. package/dist/chunks/{repository-cache-q4fmv0xv.js → session-8dff8bqa.js} +5 -5
  79. package/dist/chunks/{repository-cache-tz4n1mmd.js → session-8gxqpgph.js} +4 -4
  80. package/dist/chunks/{repository-cache-vc7fmfhz.js → session-8hzf46d8.js} +12 -12
  81. package/dist/chunks/{repository-cache-8m6m0r52.js → session-8m6m0r52.js} +1 -1
  82. package/dist/chunks/{repository-cache-8mywswrd.js → session-8mywswrd.js} +1 -1
  83. package/dist/chunks/{repository-cache-69wpfr64.js → session-8pwke1r9.js} +6 -6
  84. package/dist/chunks/{repository-cache-vht2c7bf.js → session-8tv96w5n.js} +4 -4
  85. package/dist/chunks/{repository-cache-pg4vymq4.js → session-96ks7dsb.js} +24 -24
  86. package/dist/chunks/{repository-cache-4r9nnegq.js → session-9cksbnqm.js} +20 -20
  87. package/dist/chunks/{repository-cache-kb4h046s.js → session-9pay6nf1.js} +11 -11
  88. package/dist/chunks/{repository-cache-ahgrg4fe.js → session-a7v5357x.js} +39 -39
  89. package/dist/chunks/{repository-cache-scnkw924.js → session-awex745w.js} +20 -20
  90. package/dist/chunks/{repository-cache-xhfr7w54.js → session-baht5a7f.js} +25 -25
  91. package/dist/chunks/{repository-cache-mj2j2ta6.js → session-bbgk03y5.js} +26 -26
  92. package/dist/chunks/{repository-cache-52bg0ad9.js → session-bbq853ba.js} +25 -25
  93. package/dist/chunks/{repository-cache-vbybff9w.js → session-bgdj39ha.js} +21 -21
  94. package/dist/chunks/{repository-cache-ghbjgsw7.js → session-bsaxn52h.js} +43 -43
  95. package/dist/chunks/{repository-cache-ycy3dsx4.js → session-by8mmdze.js} +13 -13
  96. package/dist/chunks/{repository-cache-c1fqxshp.js → session-c1fqxshp.js} +3 -3
  97. package/dist/chunks/{repository-cache-hzrfc1p4.js → session-c2sed5cq.js} +2 -2
  98. package/dist/chunks/{repository-cache-t406dmjj.js → session-c4fk019e.js} +35 -35
  99. package/dist/chunks/{repository-cache-sjmbs52b.js → session-c54tsqp9.js} +53 -53
  100. package/dist/chunks/{repository-cache-f1qq7sr1.js → session-c67h1spr.js} +4 -4
  101. package/dist/chunks/{repository-cache-ysasxc1a.js → session-ch2bk5zb.js} +19 -19
  102. package/dist/chunks/{repository-cache-b89y6y9w.js → session-cqggc1c2.js} +32 -32
  103. package/dist/chunks/{repository-cache-pjxggghw.js → session-cxrde8tg.js} +83 -83
  104. package/dist/chunks/{repository-cache-1n1cqex2.js → session-d1ehftyt.js} +17 -17
  105. package/dist/chunks/{repository-cache-b47jeb7t.js → session-d2pksewe.js} +9 -9
  106. package/dist/chunks/{repository-cache-3frchmgr.js → session-d7ne5qeg.js} +25 -25
  107. package/dist/chunks/{repository-cache-2kpvexxf.js → session-d8n4fhj7.js} +191 -191
  108. package/dist/chunks/{repository-cache-thsfkehz.js → session-d9te6n0s.js} +24 -24
  109. package/dist/chunks/{repository-cache-ry5vqzb9.js → session-damjh02j.js} +13 -13
  110. package/dist/chunks/{repository-cache-cyzjpqgc.js → session-dhtv0h7a.js} +28 -28
  111. package/dist/chunks/{repository-cache-80gay8fv.js → session-dmbbmepx.js} +4 -4
  112. package/dist/chunks/{repository-cache-dpkg50ah.js → session-dpkg50ah.js} +1 -1
  113. package/dist/chunks/{repository-cache-dqkkx36v.js → session-dqkkx36v.js} +4 -4
  114. package/dist/chunks/{repository-cache-drwq78ky.js → session-drwq78ky.js} +1 -1
  115. package/dist/chunks/{repository-cache-ggn007s3.js → session-ds55a4pt.js} +24 -24
  116. package/dist/chunks/{repository-cache-56chjs90.js → session-dvbx8fwf.js} +18 -18
  117. package/dist/chunks/{repository-cache-fkkvv55g.js → session-dxkpj95f.js} +14 -14
  118. package/dist/chunks/{repository-cache-92e46w1f.js → session-dz9xz8v9.js} +12 -12
  119. package/dist/chunks/{repository-cache-zqfakkws.js → session-e2dv7ppq.js} +4 -4
  120. package/dist/chunks/{repository-cache-3k5zc895.js → session-e8e679h3.js} +5 -5
  121. package/dist/chunks/{repository-cache-y45edm1f.js → session-edp3xafe.js} +10 -10
  122. package/dist/chunks/{repository-cache-bwva9967.js → session-eds25nnt.js} +44 -44
  123. package/dist/chunks/{repository-cache-eej6y6fw.js → session-eej6y6fw.js} +2 -2
  124. package/dist/chunks/{repository-cache-g0yf6pzc.js → session-eesy0e1p.js} +33 -33
  125. package/dist/chunks/{repository-cache-ef5x83kb.js → session-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{repository-cache-7ep8m250.js → session-ef635fzj.js} +17 -17
  127. package/dist/chunks/{repository-cache-20tcdtxb.js → session-enk0yhn1.js} +10 -10
  128. package/dist/chunks/{repository-cache-0ar81yxa.js → session-esnzzcyr.js} +24 -24
  129. package/dist/chunks/{repository-cache-1xcax4md.js → session-ewwtztm3.js} +26 -26
  130. package/dist/chunks/{repository-cache-86m4f4y9.js → session-f44ek8sd.js} +4 -4
  131. package/dist/chunks/{repository-cache-xyx20s09.js → session-f4wq5gqb.js} +11 -11
  132. package/dist/chunks/{repository-cache-f8k7tqpr.js → session-f599k877.js} +14 -14
  133. package/dist/chunks/{repository-cache-s8pfr3sa.js → session-f79cx7ac.js} +18 -18
  134. package/dist/chunks/{repository-cache-y0pqx9ee.js → session-f9yxy0m4.js} +41 -41
  135. package/dist/chunks/{repository-cache-fcy631f0.js → session-fcy631f0.js} +1 -1
  136. package/dist/chunks/{repository-cache-68kcj400.js → session-fwwp496y.js} +32 -32
  137. package/dist/chunks/{repository-cache-3g0wgjny.js → session-g2hf8053.js} +23 -23
  138. package/dist/chunks/{repository-cache-n0qazxv2.js → session-g3yp498d.js} +93 -93
  139. package/dist/chunks/{repository-cache-n882j125.js → session-g54xzkr1.js} +34 -34
  140. package/dist/chunks/{repository-cache-gd4qta3r.js → session-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{repository-cache-36ceq5gy.js → session-ge7hzr6s.js} +10 -10
  142. package/dist/chunks/{repository-cache-bb4j8mte.js → session-gg7n7cq5.js} +18 -18
  143. package/dist/chunks/{repository-cache-c765mh8b.js → session-gjwgx2c5.js} +9 -9
  144. package/dist/chunks/{repository-cache-g14xsv6s.js → session-gp46n7z2.js} +25 -25
  145. package/dist/chunks/{repository-cache-8s4zq5p9.js → session-gs3s1a1g.js} +4 -4
  146. package/dist/chunks/{repository-cache-xt3a7zk5.js → session-gzdwz4a3.js} +24 -24
  147. package/dist/chunks/{repository-cache-6mwbv2j4.js → session-h0a2v749.js} +9 -9
  148. package/dist/chunks/{repository-cache-76ehfx7y.js → session-h2qvmc2h.js} +46 -46
  149. package/dist/chunks/{repository-cache-dn36g5j0.js → session-h49q8d6s.js} +26 -26
  150. package/dist/chunks/{repository-cache-kd5hk5hb.js → session-h6smha7e.js} +14 -14
  151. package/dist/chunks/{repository-cache-h6vf3j39.js → session-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{repository-cache-hgz4x7wa.js → session-hgz4x7wa.js} +1 -1
  153. package/dist/chunks/{repository-cache-z3eyvff3.js → session-hmez9bs2.js} +26 -26
  154. package/dist/chunks/{repository-cache-htyafsv3.js → session-hn4xx6fz.js} +23 -23
  155. package/dist/chunks/{repository-cache-khmqacep.js → session-hq3c8me3.js} +4 -4
  156. package/dist/chunks/{repository-cache-sd1g7zk7.js → session-hqv6b3hj.js} +46 -46
  157. package/dist/chunks/{repository-cache-8qk5d3q5.js → session-jet15fae.js} +28 -28
  158. package/dist/chunks/{repository-cache-d0ky7b2n.js → session-jhy0c2w1.js} +38 -38
  159. package/dist/chunks/{repository-cache-w29cs0xs.js → session-js7veaaa.js} +14 -14
  160. package/dist/chunks/{repository-cache-nhf4vs0f.js → session-jsqhg9pg.js} +7 -7
  161. package/dist/chunks/{repository-cache-axharnyz.js → session-jwvqdnb4.js} +32 -32
  162. package/dist/chunks/{repository-cache-xjqn2mzm.js → session-jzy7dktq.js} +5 -5
  163. package/dist/chunks/{repository-cache-drfn6gwd.js → session-k3jwsnas.js} +9 -9
  164. package/dist/chunks/{repository-cache-j2wmg2r4.js → session-kaaz2pqz.js} +12 -12
  165. package/dist/chunks/{repository-cache-9fkx84pm.js → session-kj6j32wh.js} +31 -31
  166. package/dist/chunks/{repository-cache-6yz0wx8n.js → session-kjdm35cs.js} +5 -5
  167. package/dist/chunks/{repository-cache-rccq1xcq.js → session-kjws9vxb.js} +36 -36
  168. package/dist/chunks/{repository-cache-xdf0ykp7.js → session-kr7s7jw4.js} +23 -23
  169. package/dist/chunks/{repository-cache-92m64p6f.js → session-krh48cfp.js} +16 -16
  170. package/dist/chunks/{repository-cache-qeew10aa.js → session-ks9wygpw.js} +21 -21
  171. package/dist/chunks/{repository-cache-kwb1v3vj.js → session-kwb1v3vj.js} +1 -1
  172. package/dist/chunks/{repository-cache-1b45vsnf.js → session-kxst37h1.js} +16 -16
  173. package/dist/chunks/{repository-cache-pdp9s7c9.js → session-m7w940qr.js} +8 -8
  174. package/dist/chunks/{repository-cache-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{repository-cache-px1ksxsk.js → session-ma9dkv0f.js} +17 -17
  176. package/dist/chunks/{repository-cache-maspj1v3.js → session-maspj1v3.js} +1 -1
  177. package/dist/chunks/{repository-cache-xf58effc.js → session-mfm47423.js} +13 -13
  178. package/dist/chunks/{repository-cache-e80seqcp.js → session-nma959mg.js} +3 -3
  179. package/dist/chunks/{repository-cache-ye1k03a4.js → session-nmckqh63.js} +3 -3
  180. package/dist/chunks/{repository-cache-1d5acrpd.js → session-np3jyw33.js} +1 -1
  181. package/dist/chunks/{repository-cache-zxcvat1v.js → session-nvqs6q9m.js} +17 -17
  182. package/dist/chunks/{repository-cache-0f8kejsb.js → session-nya7mvzv.js} +22 -22
  183. package/dist/chunks/{repository-cache-v13b12ef.js → session-nz56sr1f.js} +5 -5
  184. package/dist/chunks/{repository-cache-4xahkvr1.js → session-p1r0ca3p.js} +20 -20
  185. package/dist/chunks/{repository-cache-v5ysgbsj.js → session-p7rgkda9.js} +11 -11
  186. package/dist/chunks/{repository-cache-8bk6jfgk.js → session-p8evsf9g.js} +11 -11
  187. package/dist/chunks/{repository-cache-6dg8hvxd.js → session-pgyprfwm.js} +18 -18
  188. package/dist/chunks/{repository-cache-2hmm1e15.js → session-phrdbnb5.js} +23 -23
  189. package/dist/chunks/{repository-cache-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{repository-cache-v45pkn04.js → session-pjxg738y.js} +43 -43
  191. package/dist/chunks/{repository-cache-v8jthr7x.js → session-pk8zaavv.js} +26 -26
  192. package/dist/chunks/{repository-cache-pknna89w.js → session-pknna89w.js} +1 -1
  193. package/dist/chunks/{repository-cache-vd7s5kxy.js → session-pnkgzv4a.js} +5 -5
  194. package/dist/chunks/{repository-cache-8xebk442.js → session-pqtwa2sg.js} +43 -43
  195. package/dist/chunks/{repository-cache-wnr41wz0.js → session-prdsqtxg.js} +32 -32
  196. package/dist/chunks/{repository-cache-314kp7wc.js → session-py4ydd0q.js} +22 -22
  197. package/dist/chunks/{repository-cache-vp0bfksy.js → session-q0p071b0.js} +2 -2
  198. package/dist/chunks/{repository-cache-1yek6bdb.js → session-q0zspkt5.js} +23 -23
  199. package/dist/chunks/{repository-cache-95ncemsy.js → session-q34gkbzk.js} +7 -7
  200. package/dist/chunks/{repository-cache-b2492xjg.js → session-q6zp2pqa.js} +24 -24
  201. package/dist/chunks/{repository-cache-kxz1hg5v.js → session-qdpww7hp.js} +18 -18
  202. package/dist/chunks/{repository-cache-azxbdxcx.js → session-qdz5k9vp.js} +10 -10
  203. package/dist/chunks/{repository-cache-c38fscx1.js → session-qgj3wp86.js} +4 -4
  204. package/dist/chunks/{repository-cache-d0m33awg.js → session-qgmckqby.js} +9 -9
  205. package/dist/chunks/{repository-cache-qnc92qwc.js → session-qnc92qwc.js} +1 -1
  206. package/dist/chunks/{repository-cache-6t9tjhsk.js → session-qr1za0rd.js} +3 -3
  207. package/dist/chunks/{repository-cache-0rytgdhm.js → session-qrqfate7.js} +46 -46
  208. package/dist/chunks/{repository-cache-qsdy395h.js → session-qsdy395h.js} +1 -1
  209. package/dist/chunks/{repository-cache-ja1fgew7.js → session-qvvs38aa.js} +50 -50
  210. package/dist/chunks/{repository-cache-qdgns3yy.js → session-qy65zb1j.js} +8 -8
  211. package/dist/chunks/{repository-cache-kvp13sbf.js → session-r39bqfe1.js} +13 -13
  212. package/dist/chunks/{repository-cache-sfq9t108.js → session-r489rbmh.js} +20 -20
  213. package/dist/chunks/{repository-cache-ne4p9z9f.js → session-r4b54d4z.js} +16 -16
  214. package/dist/chunks/{repository-cache-8eb4w425.js → session-r4c363na.js} +15 -15
  215. package/dist/chunks/{repository-cache-54ma36ye.js → session-r94pvvab.js} +4 -4
  216. package/dist/chunks/{repository-cache-rdw6cm16.js → session-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{repository-cache-rert0e01.js → session-rert0e01.js} +2 -2
  218. package/dist/chunks/{repository-cache-rj3eygr5.js → session-rj3eygr5.js} +2 -2
  219. package/dist/chunks/{repository-cache-rkprpv83.js → session-rkprpv83.js} +2 -2
  220. package/dist/chunks/{repository-cache-vnqzk1gb.js → session-rq16f1jw.js} +3 -3
  221. package/dist/chunks/{repository-cache-1r08b1ze.js → session-s1ejbwm9.js} +11 -11
  222. package/dist/chunks/{repository-cache-ntm1cgex.js → session-s8q9kger.js} +19 -19
  223. package/dist/chunks/{repository-cache-sa8ekw3f.js → session-sa8ekw3f.js} +2 -2
  224. package/dist/chunks/{repository-cache-vpshk9t2.js → session-scfcjeer.js} +9 -9
  225. package/dist/chunks/{repository-cache-mh32msp7.js → session-sgt7k2k4.js} +2 -2
  226. package/dist/chunks/{repository-cache-b07jp80w.js → session-shttx1tf.js} +4 -4
  227. package/dist/chunks/{repository-cache-abshngws.js → session-stt02d3y.js} +13 -13
  228. package/dist/chunks/{repository-cache-f78sms3n.js → session-swfv1pfg.js} +32 -32
  229. package/dist/chunks/{repository-cache-fm2qvscf.js → session-sxz6gkc3.js} +7 -7
  230. package/dist/chunks/{repository-cache-syv4x271.js → session-syv4x271.js} +1 -1
  231. package/dist/chunks/{repository-cache-tazgh4e4.js → session-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{repository-cache-f1mpmm74.js → session-tbenmwhf.js} +3 -3
  233. package/dist/chunks/{repository-cache-tcezcvh9.js → session-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{repository-cache-tdstcens.js → session-tdstcens.js} +1 -1
  235. package/dist/chunks/{repository-cache-tm0kqsz3.js → session-tm0kqsz3.js} +1 -1
  236. package/dist/chunks/{repository-cache-kg45811x.js → session-tnj6rg6w.js} +10 -10
  237. package/dist/chunks/{repository-cache-td613cjm.js → session-tsq4bn52.js} +74 -74
  238. package/dist/chunks/{repository-cache-v210v162.js → session-tx0gtb9m.js} +9 -9
  239. package/dist/chunks/{repository-cache-tyytaxap.js → session-tyytaxap.js} +1 -1
  240. package/dist/chunks/{repository-cache-g686f6pq.js → session-v1vh7s4p.js} +9 -9
  241. package/dist/chunks/{repository-cache-bghdg7bn.js → session-v64zkvxt.js} +22 -22
  242. package/dist/chunks/{repository-cache-v7p4zvkq.js → session-v7p4zvkq.js} +2 -2
  243. package/dist/chunks/{repository-cache-5mv65mph.js → session-ve0j9bk6.js} +17 -17
  244. package/dist/chunks/{repository-cache-a2rpfkac.js → session-ve85v3xb.js} +4 -4
  245. package/dist/chunks/{repository-cache-veqvce7d.js → session-veqvce7d.js} +1 -1
  246. package/dist/chunks/{repository-cache-jwc1ahma.js → session-vfdqv3ee.js} +30 -30
  247. package/dist/chunks/{repository-cache-dsc6dxmh.js → session-vgzd9mgs.js} +7 -7
  248. package/dist/chunks/session-vsdyktar.js +18 -0
  249. package/dist/chunks/{repository-cache-vzs5sf6e.js → session-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{repository-cache-c63mpyjp.js → session-w23fc1td.js} +10 -10
  251. package/dist/chunks/{repository-cache-frp158f6.js → session-w3svmbxk.js} +12 -12
  252. package/dist/chunks/{repository-cache-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{repository-cache-wd87259q.js → session-wd87259q.js} +1 -1
  254. package/dist/chunks/{repository-cache-rma03sff.js → session-wfm1pds2.js} +9 -9
  255. package/dist/chunks/{repository-cache-sd8vqtn7.js → session-ws8k684n.js} +40 -40
  256. package/dist/chunks/{repository-cache-d5n8aweh.js → session-wsvjh7tt.js} +31 -31
  257. package/dist/chunks/{repository-cache-h1532brx.js → session-x0yhpn32.js} +31 -31
  258. package/dist/chunks/{repository-cache-hv879400.js → session-x5wrmng7.js} +8 -8
  259. package/dist/chunks/{repository-cache-3cs3gdnf.js → session-x75bq86t.js} +22 -22
  260. package/dist/chunks/{repository-cache-5d10bvnq.js → session-x84e8zg0.js} +4 -4
  261. package/dist/chunks/{repository-cache-p7a39gy5.js → session-xcd0eash.js} +6 -6
  262. package/dist/chunks/{repository-cache-vktwk5kv.js → session-xdx7acry.js} +9 -9
  263. package/dist/chunks/{repository-cache-fnkj6y17.js → session-xf4kanpa.js} +11 -11
  264. package/dist/chunks/{repository-cache-fyv9rghq.js → session-xjjjkywx.js} +3 -3
  265. package/dist/chunks/{repository-cache-3mkjzvwp.js → session-xpeshqab.js} +6 -6
  266. package/dist/chunks/{repository-cache-tyhwyzay.js → session-xry9jdq8.js} +9 -9
  267. package/dist/chunks/{repository-cache-w4twd3tw.js → session-xssg7psk.js} +24 -24
  268. package/dist/chunks/session-xww13zgw.js +26 -0
  269. package/dist/chunks/{repository-cache-2r2p8fzx.js → session-xycyqh7m.js} +28 -28
  270. package/dist/chunks/{repository-cache-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{repository-cache-593nqyk2.js → session-y1p6ax1j.js} +9 -9
  272. package/dist/chunks/{repository-cache-4rjz15yc.js → session-y30xd0nk.js} +54 -54
  273. package/dist/chunks/{repository-cache-vt8aqadh.js → session-yc8hc8f5.js} +8 -8
  274. package/dist/chunks/{repository-cache-yp2x3t23.js → session-yp2x3t23.js} +1 -1
  275. package/dist/chunks/{repository-cache-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{repository-cache-z18fegx4.js → session-z18fegx4.js} +1 -1
  277. package/dist/chunks/{repository-cache-e1mscf3d.js → session-z9sbqhmm.js} +24 -24
  278. package/dist/chunks/{repository-cache-srv5nkk5.js → session-zgsa76g2.js} +7 -7
  279. package/dist/chunks/session-zh95g90e.js +517 -0
  280. package/dist/chunks/{repository-cache-5zh2xrv1.js → session-zj1e5rys.js} +36 -36
  281. package/dist/chunks/{repository-cache-vppn3xvj.js → session-zk7b3ek0.js} +29 -29
  282. package/dist/chunks/{repository-cache-161qchch.js → session-zpd81yx7.js} +1 -1
  283. package/dist/chunks/{repository-cache-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{repository-cache-atfxxx72.js → session-zs6v24ss.js} +5 -5
  285. package/dist/chunks/{repository-cache-rjpvqnxg.js → session-ztady1js.js} +6 -6
  286. package/dist/chunks/{repository-cache-zxq2ej10.js → session-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 +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +87 -87
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +117 -117
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +85 -85
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +76 -76
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +219 -219
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +84 -84
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +108 -108
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +91 -91
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +136 -136
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +91 -91
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +131 -131
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +98 -98
  480. package/dist/models-dev.js +103 -103
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +86 -86
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +113 -113
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +3 -3
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +114 -114
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +116 -116
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +351 -351
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +4 -4
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +223 -223
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +92 -92
  562. package/dist/provider.js +99 -99
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +103 -103
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +3 -3
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +218 -218
  583. package/dist/session/execution.js +129 -129
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +95 -95
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +3 -3
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +107 -107
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +89 -89
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +159 -159
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +214 -214
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +212 -212
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +114 -114
  632. package/dist/snapshot.js +95 -95
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +130 -130
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +118 -118
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +116 -116
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +211 -211
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +110 -110
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +16 -16
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +84 -84
  680. package/dist/wellknown/plugin.js +76 -76
  681. package/dist/wellknown.js +81 -81
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +82 -82
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/repository-cache-1x11rq2a.js +0 -18
  692. package/dist/chunks/repository-cache-87b1qs38.js +0 -517
  693. package/dist/chunks/repository-cache-8egray66.js +0 -26
  694. package/dist/chunks/repository-cache-n48d28kv.js +0 -257
  695. /package/dist/chunks/{repository-cache-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{repository-cache-0zkw76rk.js → session-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{repository-cache-17cy0kzp.js → session-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{repository-cache-1cnp2v09.js → session-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{repository-cache-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{repository-cache-24dcb14g.js → session-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{repository-cache-2710q6r3.js → session-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{repository-cache-2axfhc9x.js → session-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{repository-cache-2bv980vf.js → session-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{repository-cache-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{repository-cache-359p4xyc.js → session-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{repository-cache-3asan66x.js → session-3asan66x.js} +0 -0
  707. /package/dist/chunks/{repository-cache-3t0ybcrp.js → session-3t0ybcrp.js} +0 -0
  708. /package/dist/chunks/{repository-cache-3v8g72cx.js → session-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{repository-cache-3wcehsnq.js → session-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{repository-cache-43n2bw4t.js → session-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{repository-cache-4knz6hnm.js → session-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{repository-cache-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{repository-cache-4y7fprxs.js → session-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{repository-cache-53557ph1.js → session-53557ph1.js} +0 -0
  715. /package/dist/chunks/{repository-cache-550bvhaj.js → session-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{repository-cache-6prwharc.js → session-6prwharc.js} +0 -0
  717. /package/dist/chunks/{repository-cache-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{repository-cache-7akdwqpd.js → session-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{repository-cache-7m9af43g.js → session-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{repository-cache-822emrt2.js → session-822emrt2.js} +0 -0
  721. /package/dist/chunks/{repository-cache-84wd9syh.js → session-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{repository-cache-88xbtdfr.js → session-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{repository-cache-8n3pysct.js → session-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{repository-cache-8wj87zfr.js → session-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{repository-cache-9a4afbnw.js → session-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{repository-cache-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{repository-cache-a6k6eb26.js → session-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{repository-cache-af5trqkr.js → session-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{repository-cache-afrmfg78.js → session-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{repository-cache-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{repository-cache-atq7p7m5.js → session-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{repository-cache-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{repository-cache-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{repository-cache-cf4snx6d.js → session-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{repository-cache-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{repository-cache-d9fn303g.js → session-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{repository-cache-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{repository-cache-dajrwvna.js → session-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{repository-cache-dap0rakb.js → session-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{repository-cache-df08tz66.js → session-df08tz66.js} +0 -0
  741. /package/dist/chunks/{repository-cache-dy18nga0.js → session-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{repository-cache-e3qxr5gk.js → session-e3qxr5gk.js} +0 -0
  743. /package/dist/chunks/{repository-cache-e5kj55wp.js → session-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{repository-cache-e73j6tqm.js → session-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{repository-cache-ec1grn59.js → session-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{repository-cache-eh3zwz77.js → session-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{repository-cache-emrn6kk6.js → session-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{repository-cache-f0mxakyp.js → session-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{repository-cache-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{repository-cache-faypxj3z.js → session-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{repository-cache-fd410y7t.js → session-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{repository-cache-g4wezp1m.js → session-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{repository-cache-g86h250q.js → session-g86h250q.js} +0 -0
  754. /package/dist/chunks/{repository-cache-gebd4c9n.js → session-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{repository-cache-gftt206x.js → session-gftt206x.js} +0 -0
  756. /package/dist/chunks/{repository-cache-hcxmzztb.js → session-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{repository-cache-hk9envan.js → session-hk9envan.js} +0 -0
  758. /package/dist/chunks/{repository-cache-j2ntwpah.js → session-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{repository-cache-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{repository-cache-jjkms2e6.js → session-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{repository-cache-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{repository-cache-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{repository-cache-jze0r7bz.js → session-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{repository-cache-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{repository-cache-m18g726c.js → session-m18g726c.js} +0 -0
  766. /package/dist/chunks/{repository-cache-mp448xyj.js → session-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{repository-cache-msx8hqn2.js → session-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{repository-cache-n05xt0ee.js → session-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{repository-cache-n3j8tn72.js → session-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{repository-cache-njntx4h6.js → session-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{repository-cache-pkyv6v7h.js → session-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{repository-cache-pyv0edze.js → session-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{repository-cache-q3sfg36h.js → session-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{repository-cache-q74kybfr.js → session-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{repository-cache-qaymkmh1.js → session-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{repository-cache-qb87gjwd.js → session-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{repository-cache-qfa1cgps.js → session-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{repository-cache-qg3g05ea.js → session-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{repository-cache-qrg20bc0.js → session-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{repository-cache-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{repository-cache-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{repository-cache-ssg3fenm.js → session-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{repository-cache-ve7vex1e.js → session-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{repository-cache-w803qqfp.js → session-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{repository-cache-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{repository-cache-wer8tq1h.js → session-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{repository-cache-wjj7prxr.js → session-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{repository-cache-wtztk69x.js → session-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{repository-cache-x0ckcb58.js → session-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{repository-cache-x61499pn.js → session-x61499pn.js} +0 -0
  791. /package/dist/chunks/{repository-cache-y44na4kk.js → session-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{repository-cache-y8f7s663.js → session-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{repository-cache-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{repository-cache-ym463w8f.js → session-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{repository-cache-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{repository-cache-z9919s4g.js → session-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
- ID12,
2
+ ID13,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./repository-cache-d5n8aweh.js";
7
+ } from "./session-wsvjh7tt.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-cache-9rqn6x4v.js";
10
+ } from "./session-9rqn6x4v.js";
11
11
 
12
12
  // src/aisdk.ts
13
13
  var exports_aisdk = {};
14
14
  __export(exports_aisdk, {
15
15
  AISDK: () => exports_aisdk,
16
16
  InitError: () => InitError2,
17
- Service: () => Service49,
17
+ Service: () => Service56,
18
18
  locationLayer: () => locationLayer2,
19
- node: () => node51
19
+ node: () => node58
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { APICallError } from "@ai-sdk/provider";
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
151
151
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
152
152
 
153
153
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
154
- providerID: ID12,
154
+ providerID: ID13,
155
155
  cause: Schema.Defect()
156
156
  }) {
157
157
  }
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service49 extends Context.Service()("@opencode/AISDK") {
162
+ class Service56 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service49, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service56, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service49, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service49.of({
202
+ const service = Service56.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
874
874
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
875
875
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
876
876
  }
877
- var node51 = makeLocationNode({ service: Service49, layer: locationLayer2, deps: [] });
877
+ var node58 = makeLocationNode({ service: Service56, layer: locationLayer2, deps: [] });
878
878
 
879
- export { InitError2, Service49, locationLayer2, node51, exports_aisdk };
879
+ export { InitError2, Service56, locationLayer2, node58, exports_aisdk };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service84,
4
- node88
5
- } from "./repository-cache-92e46w1f.js";
3
+ Service85,
4
+ node89
5
+ } from "./session-dz9xz8v9.js";
6
6
  import {
7
- Service72,
8
- node74
9
- } from "./repository-cache-20tcdtxb.js";
7
+ Service76,
8
+ node80
9
+ } from "./session-enk0yhn1.js";
10
10
  import {
11
11
  __export
12
- } from "./repository-cache-9rqn6x4v.js";
12
+ } from "./session-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
@@ -19,11 +19,11 @@ __export(exports_wellknown, {
19
19
  Event: () => Event15,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service68,
22
+ Service: () => Service75,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node70,
26
- resolve: () => resolve3
25
+ node: () => node79,
26
+ resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service68 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service75 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
51
  var Event15 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,10 +79,10 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service68, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service72;
85
- const bus = yield* Service84;
84
+ const kv = yield* Service76;
85
+ const bus = yield* Service85;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
88
88
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
116
116
  yield* bus.publish(Event15.Updated, {}, { global: true });
117
117
  return true;
118
118
  }, (effect) => lock.withPermit(effect));
119
- return Service68.of({
119
+ return Service75.of({
120
120
  entries: load,
121
121
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
122
122
  refresh,
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
157
157
  })
158
158
  });
159
159
  }));
160
- var node70 = makeGlobalNode({ service: Service68, layer, deps: [httpClient, node74, node88] });
160
+ var node79 = makeGlobalNode({ service: Service75, layer, deps: [httpClient, node80, node89] });
161
161
 
162
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service68, Event15, inspect2, resolve3, node70, exports_wellknown };
162
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service75, Event15, inspect2, resolve4, node79, exports_wellknown };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-cache-qdgns3yy.js";
3
+ } from "./session-qy65zb1j.js";
4
4
  import {
5
- Service84
6
- } from "./repository-cache-92e46w1f.js";
5
+ Service85
6
+ } from "./session-dz9xz8v9.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./repository-cache-9fkx84pm.js";
9
+ Event20
10
+ } from "./session-kj6j32wh.js";
11
11
  import {
12
- ID13,
12
+ ID16,
13
13
  MethodID2
14
- } from "./repository-cache-h1532brx.js";
14
+ } from "./session-x0yhpn32.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./repository-cache-pjvnvgmy.js";
18
+ } from "./session-pjvnvgmy.js";
19
19
  import {
20
- ID12,
20
+ ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./repository-cache-d5n8aweh.js";
23
+ } from "./session-wsvjh7tt.js";
24
24
  import {
25
- get5
26
- } from "./repository-cache-54ma36ye.js";
25
+ get4
26
+ } from "./session-r94pvvab.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./repository-cache-vht2c7bf.js";
29
+ } from "./session-8tv96w5n.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
50
50
  }));
51
51
  var decodeClaims = Schema.decodeUnknownOption(Claims);
52
52
  var browser = (app) => ({
53
- integrationID: ID13.make("openai"),
53
+ integrationID: ID16.make("openai"),
54
54
  method: {
55
55
  id: browserMethodID,
56
56
  type: "oauth",
@@ -123,7 +123,7 @@ function addressInUse(error) {
123
123
  return "code" in error && error.code === "EADDRINUSE";
124
124
  }
125
125
  var headless = (app) => ({
126
- integrationID: ID13.make("openai"),
126
+ integrationID: ID16.make("openai"),
127
127
  method: {
128
128
  id: headlessMethodID,
129
129
  type: "oauth",
@@ -168,7 +168,7 @@ var headless = (app) => ({
168
168
  var OpenAIPlugin2 = define({
169
169
  id: "opencode.provider.openai",
170
170
  effect: Effect.fn(function* (ctx) {
171
- const bus = yield* Service84;
171
+ const bus = yield* Service85;
172
172
  const loading = Semaphore.makeUnsafe(1);
173
173
  let chatgpt;
174
174
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -183,9 +183,9 @@ var OpenAIPlugin2 = define({
183
183
  editor.method.update(headless(ctx.app));
184
184
  });
185
185
  yield* load();
186
- const configured = yield* configuredSettings2(ID12.openai);
186
+ const configured = yield* configuredSettings2(ID13.openai);
187
187
  yield* ctx.provider.transform((providers) => {
188
- const item = providers.get(ID12.openai);
188
+ const item = providers.get(ID13.openai);
189
189
  if (!item)
190
190
  return;
191
191
  const account = chatgpt?.metadata?.accountID;
@@ -205,7 +205,7 @@ var OpenAIPlugin2 = define({
205
205
  });
206
206
  });
207
207
  yield* ctx.model.transform((models) => {
208
- for (const model of models.list(ID12.openai)) {
208
+ for (const model of models.list(ID13.openai)) {
209
209
  models.update(model.providerID, model.id, (draft) => {
210
210
  if (!chatgpt)
211
211
  return;
@@ -235,15 +235,15 @@ var OpenAIPlugin2 = define({
235
235
  return;
236
236
  }));
237
237
  evt.headers.originator = "opencode";
238
- evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
239
- }), { providerID: ID12.openai });
238
+ evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
239
+ }), { providerID: ID13.openai });
240
240
  const omitOutputLimit = (evt) => Effect.sync(() => {
241
241
  delete evt.options.maxTokens;
242
242
  });
243
243
  for (const name of ["context", "compaction"])
244
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
244
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
245
245
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
246
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
246
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
247
247
  })
248
248
  });
249
249
  function headers(contentType, app) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID13,
3
- Service77,
4
- node81
5
- } from "./repository-cache-h1532brx.js";
2
+ ID16,
3
+ Service82,
4
+ node86
5
+ } from "./session-x0yhpn32.js";
6
6
  import {
7
- ID12,
7
+ ID13,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service76,
19
- node80
20
- } from "./repository-cache-d5n8aweh.js";
18
+ Service78,
19
+ node82
20
+ } from "./session-wsvjh7tt.js";
21
21
  import {
22
- Service49,
23
- node51
24
- } from "./repository-cache-8bk6jfgk.js";
22
+ Service56,
23
+ node58
24
+ } from "./session-p8evsf9g.js";
25
25
  import {
26
- ID10,
26
+ ID11,
27
27
  VariantID2,
28
28
  Ref2,
29
29
  Service70,
30
- node72,
30
+ node73,
31
31
  supportsText2
32
- } from "./repository-cache-52bg0ad9.js";
32
+ } from "./session-bbq853ba.js";
33
33
  import {
34
34
  __export
35
- } from "./repository-cache-9rqn6x4v.js";
35
+ } from "./session-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service48,
44
+ Service: () => Service55,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer19,
52
- node: () => node50,
51
+ layer: () => layer22,
52
+ node: () => node57,
53
53
  resolveModel: () => resolveModel2,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
59
59
  import { Context, Effect, Layer, Schema, Struct } from "effect";
60
60
  import { Npm } from "@opencode/util/npm";
61
61
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
- providerID: ID12,
63
- modelID: ID10,
62
+ providerID: ID13,
63
+ modelID: ID11,
64
64
  variant: VariantID2
65
65
  }) {
66
66
  get message() {
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
69
69
  }
70
70
 
71
71
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
- providerID: ID12,
73
- modelID: ID10,
72
+ providerID: ID13,
73
+ modelID: ID11,
74
74
  package: Schema.String
75
75
  }) {
76
76
  get message() {
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
80
80
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
81
 
82
82
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
- providerID: ID12,
84
- modelID: ID10,
83
+ providerID: ID13,
84
+ modelID: ID11,
85
85
  package: Schema.String,
86
86
  detail: Schema.String
87
87
  }) {
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
91
91
  }
92
92
 
93
93
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
- providerID: ID12,
95
- modelID: ID10,
94
+ providerID: ID13,
95
+ modelID: ID11,
96
96
  package: Schema.String,
97
97
  phase: InitializationPhase2,
98
98
  detail: Schema.String
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
103
103
  }
104
104
 
105
105
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
- providerID: ID12,
107
- modelID: ID10,
106
+ providerID: ID13,
107
+ modelID: ID11,
108
108
  variables: Schema.Array(Schema.String)
109
109
  }) {
110
110
  get message() {
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
113
113
  }
114
114
 
115
115
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
- providerID: ID12,
117
- modelID: ID10,
116
+ providerID: ID13,
117
+ modelID: ID11,
118
118
  route: Schema.String
119
119
  }) {
120
120
  get message() {
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service48 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service55 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
234
234
  return tokenSettings(specifier, credential.access);
235
235
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
236
236
  return { auth: "sigv4" };
237
- if (model.providerID === ID12.azure)
237
+ if (model.providerID === ID13.azure)
238
238
  return tokenSettings(specifier, "azure-cli");
239
239
  return {};
240
240
  };
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
269
269
  };
270
270
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
271
271
  var hasPackage2 = (model) => Boolean(model.package);
272
- var layer19 = Layer.effect(Service48, Effect.gen(function* () {
273
- const providers = yield* Service76;
272
+ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
273
+ const providers = yield* Service78;
274
274
  const models = yield* Service70;
275
- const integrations = yield* Service77;
275
+ const integrations = yield* Service82;
276
276
  const npm = yield* Npm.Service;
277
- const aisdk = yield* Service49;
277
+ const aisdk = yield* Service56;
278
278
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
279
279
  const provider = yield* providers.get(selected.providerID);
280
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
280
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
281
281
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
282
282
  const selectedVariant = yield* withVariant2(selected, variant);
283
283
  const runtimeInfo = {
@@ -304,7 +304,7 @@ var layer19 = Layer.effect(Service48, Effect.gen(function* () {
304
304
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
305
305
  };
306
306
  });
307
- return Service48.of({
307
+ return Service55.of({
308
308
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
309
309
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
310
310
  if (!selected)
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
321
321
  const name = packageName2(packageName);
322
322
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
323
323
  }
324
- var node50 = makeLocationNode({
325
- service: Service48,
326
- layer: layer19,
327
- deps: [node80, node72, node81, Npm.node, node51]
324
+ var node57 = makeLocationNode({
325
+ service: Service55,
326
+ layer: layer22,
327
+ deps: [node82, node73, node86, Npm.node, node58]
328
328
  });
329
329
 
330
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service48, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node50, exports_model_resolver };
330
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service55, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node57, exports_model_resolver };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./repository-cache-92e46w1f.js";
2
+ Service85,
3
+ node89
4
+ } from "./session-dz9xz8v9.js";
5
5
  import {
6
6
  __export
7
- } from "./repository-cache-9rqn6x4v.js";
7
+ } from "./session-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event20,
15
+ Event: () => Event21,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
20
- Info: () => Info25,
19
+ ID: () => ID18,
20
+ Info: () => Info29,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError11,
23
+ NotFoundError: () => NotFoundError12,
24
24
  Reply: () => Reply3,
25
- Service: () => Service79,
25
+ Service: () => Service84,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer28,
29
- node: () => node83,
29
+ node: () => node88,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event20 } from "@opencode/schema/form";
36
+ import { Event as Event21 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
39
- var Info25 = Form.Info;
38
+ var ID18 = Form.ID;
39
+ var Info29 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
47
+ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID18
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID15
56
+ id: ID18
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID15
64
+ id: ID18
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID15,
72
+ id: ID18,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service79 extends Context.Service()("@opencode/Form") {
82
+ class Service84 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer28 = Layer.effect(Service79, Effect.gen(function* () {
85
- const bus = yield* Service84;
84
+ var layer28 = Layer.effect(Service84, Effect.gen(function* () {
85
+ const bus = yield* Service85;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID15.create();
93
+ const id = input.id ?? ID18.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service79, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service79.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service84.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node83 = makeLocationNode({ service: Service79, layer: layer28, deps: [node88] });
167
+ var node88 = makeLocationNode({ service: Service84, layer: layer28, deps: [node89] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer28, node83, validateAnswer2, validateFields2, exports_form, Event20 };
319
+ export { ID18, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service84, layer28, node88, validateAnswer2, validateFields2, exports_form, Event21 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./repository-cache-qfa1cgps.js";
3
+ } from "./session-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./repository-cache-sjmbs52b.js";
3
+ } from "./session-c54tsqp9.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin35
12
+ Plugin: () => Plugin26
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin35 = define({
32
+ var Plugin26 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin35, exports_plan };
108
+ export { Plugin26, exports_plan };