@opencode/core 0.0.0-dev-21647 → 0.0.0-dev-21651

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 (791) 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 +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{filesystem-034tev2y.js → persistent-pty-034tev2y.js} +2 -2
  8. package/dist/chunks/{filesystem-z0dwbekb.js → persistent-pty-04qzb6ng.js} +18 -18
  9. package/dist/chunks/{filesystem-d6xvjcm1.js → persistent-pty-0a4e2wep.js} +18 -18
  10. package/dist/chunks/{filesystem-nm4qwr9s.js → persistent-pty-0gxwnce6.js} +14 -14
  11. package/dist/chunks/{filesystem-6mf4mhq6.js → persistent-pty-0r8hms5j.js} +22 -22
  12. package/dist/chunks/{filesystem-jbszwdvq.js → persistent-pty-0vawvjhj.js} +6 -6
  13. package/dist/chunks/{filesystem-s3jvwajm.js → persistent-pty-10jwkg0d.js} +20 -20
  14. package/dist/chunks/{filesystem-96t1we0v.js → persistent-pty-14x9rdgq.js} +24 -24
  15. package/dist/chunks/{filesystem-gv029hbs.js → persistent-pty-1689f439.js} +5 -5
  16. package/dist/chunks/{filesystem-c5093bv4.js → persistent-pty-18qnwgya.js} +2 -2
  17. package/dist/chunks/{filesystem-1ep2p91f.js → persistent-pty-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{filesystem-dztq030m.js → persistent-pty-1h6ms3ts.js} +37 -37
  19. package/dist/chunks/{filesystem-9fcy9jas.js → persistent-pty-1ncazf2z.js} +19 -19
  20. package/dist/chunks/{filesystem-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{filesystem-5j88v3fz.js → persistent-pty-1xxray5a.js} +23 -23
  22. package/dist/chunks/{filesystem-c8666r4c.js → persistent-pty-1z6jjy5p.js} +6 -6
  23. package/dist/chunks/{filesystem-5xy94632.js → persistent-pty-231a8wys.js} +8 -8
  24. package/dist/chunks/{filesystem-bxr1hg8m.js → persistent-pty-26d30kmm.js} +28 -28
  25. package/dist/chunks/{filesystem-5crs9zmq.js → persistent-pty-27zy431c.js} +4 -4
  26. package/dist/chunks/{filesystem-0zwy0wgk.js → persistent-pty-2aabkt2r.js} +11 -11
  27. package/dist/chunks/{filesystem-vq9exjc4.js → persistent-pty-2bky7t1z.js} +70 -70
  28. package/dist/chunks/{filesystem-jg76350t.js → persistent-pty-2dwppexq.js} +46 -46
  29. package/dist/chunks/{filesystem-jqefqkzj.js → persistent-pty-2ex3p3f1.js} +14 -14
  30. package/dist/chunks/{filesystem-nd5d6z5j.js → persistent-pty-2f50b9jg.js} +1 -1
  31. package/dist/chunks/{filesystem-c6mtb9s1.js → persistent-pty-2hep2db8.js} +11 -11
  32. package/dist/chunks/{filesystem-z0qqz9cx.js → persistent-pty-2m6p7yk7.js} +19 -19
  33. package/dist/chunks/{filesystem-j4jzjbre.js → persistent-pty-2xk6ct32.js} +21 -21
  34. package/dist/chunks/{filesystem-2z1j29yd.js → persistent-pty-2z1j29yd.js} +1 -1
  35. package/dist/chunks/{filesystem-0d5pkr3t.js → persistent-pty-3837d0nm.js} +5 -5
  36. package/dist/chunks/{filesystem-0mt6tx3t.js → persistent-pty-3b8pv6kk.js} +24 -24
  37. package/dist/chunks/{filesystem-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{filesystem-r0dtc59e.js → persistent-pty-3k9f0r09.js} +24 -24
  39. package/dist/chunks/{filesystem-7xg2jm5b.js → persistent-pty-3kdbrncp.js} +5 -5
  40. package/dist/chunks/{filesystem-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
  41. package/dist/chunks/{filesystem-c4h1hzvn.js → persistent-pty-3pjdfsqh.js} +8 -8
  42. package/dist/chunks/{filesystem-n5q96v35.js → persistent-pty-3y9jhrfk.js} +15 -15
  43. package/dist/chunks/{filesystem-jz901ekc.js → persistent-pty-3z6cn8x0.js} +17 -17
  44. package/dist/chunks/{filesystem-ap3xe38h.js → persistent-pty-437171mk.js} +9 -9
  45. package/dist/chunks/{filesystem-ztmrs8ra.js → persistent-pty-44etcz8n.js} +5 -5
  46. package/dist/chunks/{filesystem-kw6yrzx1.js → persistent-pty-4b0snw21.js} +12 -12
  47. package/dist/chunks/{filesystem-7qh21x13.js → persistent-pty-4ccqqpnm.js} +4 -4
  48. package/dist/chunks/{filesystem-x6h7fa0f.js → persistent-pty-4dzz3k2c.js} +13 -13
  49. package/dist/chunks/{filesystem-c9vjxdk9.js → persistent-pty-4h1ntjay.js} +7 -7
  50. package/dist/chunks/{filesystem-7rh6cm1k.js → persistent-pty-4jq3hvv0.js} +8 -8
  51. package/dist/chunks/{filesystem-f9ntwk7j.js → persistent-pty-4nnbnrz1.js} +11 -11
  52. package/dist/chunks/{filesystem-m5jcjszt.js → persistent-pty-4pa8nav4.js} +3 -3
  53. package/dist/chunks/{filesystem-x934s5n8.js → persistent-pty-4s573z1s.js} +4 -4
  54. package/dist/chunks/{filesystem-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
  55. package/dist/chunks/{filesystem-5t0hnzkm.js → persistent-pty-4v888qby.js} +10 -10
  56. package/dist/chunks/{filesystem-4xvmh7wp.js → persistent-pty-4xvmh7wp.js} +3 -3
  57. package/dist/chunks/{filesystem-wcsf77ep.js → persistent-pty-506rfma8.js} +14 -14
  58. package/dist/chunks/{filesystem-0m63avf2.js → persistent-pty-53fkqhzs.js} +14 -14
  59. package/dist/chunks/{filesystem-t271sy58.js → persistent-pty-57y9frfy.js} +11 -11
  60. package/dist/chunks/{filesystem-8n969cs1.js → persistent-pty-5dzbshvg.js} +4 -4
  61. package/dist/chunks/{filesystem-r41sfy63.js → persistent-pty-5enarcya.js} +9 -9
  62. package/dist/chunks/{filesystem-wzfzr50j.js → persistent-pty-5kfkg5r8.js} +12 -12
  63. package/dist/chunks/{filesystem-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{filesystem-ytj9cq62.js → persistent-pty-5r569r17.js} +13 -13
  65. package/dist/chunks/{filesystem-s4r347cv.js → persistent-pty-5s24fm1p.js} +14 -14
  66. package/dist/chunks/{filesystem-krc69tyh.js → persistent-pty-5vgcj10y.js} +6 -6
  67. package/dist/chunks/{filesystem-p7vhpwh8.js → persistent-pty-5zrxpy3q.js} +5 -5
  68. package/dist/chunks/{filesystem-kphdvy8n.js → persistent-pty-603avsaw.js} +11 -11
  69. package/dist/chunks/{filesystem-n4d18xwc.js → persistent-pty-630bcr6j.js} +13 -13
  70. package/dist/chunks/{filesystem-9dk4f4hb.js → persistent-pty-64tk1142.js} +2 -2
  71. package/dist/chunks/{filesystem-jawcrgg3.js → persistent-pty-65xym8dq.js} +26 -26
  72. package/dist/chunks/{filesystem-009tt1tc.js → persistent-pty-66hjg21n.js} +24 -24
  73. package/dist/chunks/{filesystem-6esdw8yj.js → persistent-pty-6esdw8yj.js} +1 -1
  74. package/dist/chunks/{filesystem-pkyesxg1.js → persistent-pty-6g0s59t4.js} +16 -16
  75. package/dist/chunks/{filesystem-6pjqjmy2.js → persistent-pty-6pjqjmy2.js} +1 -1
  76. package/dist/chunks/{filesystem-bhxt7mnn.js → persistent-pty-6wm2ekws.js} +21 -21
  77. package/dist/chunks/{filesystem-w8qtt4th.js → persistent-pty-76cb1hcw.js} +4 -4
  78. package/dist/chunks/{filesystem-nvexje8a.js → persistent-pty-77ffb5fa.js} +5 -5
  79. package/dist/chunks/{filesystem-tpm1qpxt.js → persistent-pty-799ckdtf.js} +9 -9
  80. package/dist/chunks/{filesystem-0pcpg2vk.js → persistent-pty-79fsmkt2.js} +10 -10
  81. package/dist/chunks/{filesystem-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{filesystem-n32wkzbx.js → persistent-pty-7q3wyea1.js} +30 -30
  83. package/dist/chunks/{filesystem-7qzzp3th.js → persistent-pty-7vhe8rph.js} +17 -17
  84. package/dist/chunks/{filesystem-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
  85. package/dist/chunks/{filesystem-ytxs1176.js → persistent-pty-7xcfq1ha.js} +6 -6
  86. package/dist/chunks/{filesystem-d70em1ty.js → persistent-pty-7yz8t82k.js} +5 -5
  87. package/dist/chunks/{filesystem-zgjcgapj.js → persistent-pty-8rcbafry.js} +3 -3
  88. package/dist/chunks/{filesystem-68fc5fjq.js → persistent-pty-8tqac9jx.js} +8 -8
  89. package/dist/chunks/{filesystem-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
  90. package/dist/chunks/{filesystem-sdcxcfrs.js → persistent-pty-8xz0jfv3.js} +4 -4
  91. package/dist/chunks/{filesystem-sz9hkbm4.js → persistent-pty-8y3ed661.js} +6 -6
  92. package/dist/chunks/{filesystem-5s5rpxk9.js → persistent-pty-8zn70gxd.js} +43 -43
  93. package/dist/chunks/{filesystem-91rj84md.js → persistent-pty-91rj84md.js} +1 -1
  94. package/dist/chunks/{filesystem-ymrtwgat.js → persistent-pty-96jdb81n.js} +3 -3
  95. package/dist/chunks/{filesystem-2wyfsdtp.js → persistent-pty-97arjhc9.js} +18 -18
  96. package/dist/chunks/{filesystem-998yhzzq.js → persistent-pty-998yhzzq.js} +3 -3
  97. package/dist/chunks/{filesystem-jzdzfwts.js → persistent-pty-9e7skq3b.js} +54 -54
  98. package/dist/chunks/{filesystem-58me5448.js → persistent-pty-9k8g54ar.js} +14 -14
  99. package/dist/chunks/{filesystem-xnj8czy5.js → persistent-pty-9mw7dhxy.js} +49 -49
  100. package/dist/chunks/{filesystem-53ehtthp.js → persistent-pty-9nc01p2h.js} +13 -13
  101. package/dist/chunks/{filesystem-jchrqzf6.js → persistent-pty-9p9xqj3m.js} +8 -8
  102. package/dist/chunks/{filesystem-8d63q4vm.js → persistent-pty-a4316p25.js} +29 -29
  103. package/dist/chunks/{filesystem-cq8031fv.js → persistent-pty-a4ab7jhs.js} +3 -3
  104. package/dist/chunks/{filesystem-jwndhsk1.js → persistent-pty-a4extrcm.js} +15 -15
  105. package/dist/chunks/{filesystem-5q1nw5b2.js → persistent-pty-a9ya4442.js} +32 -32
  106. package/dist/chunks/{filesystem-tj5yfdht.js → persistent-pty-acqhz89c.js} +35 -35
  107. package/dist/chunks/{filesystem-z1448dy0.js → persistent-pty-ak32zwvb.js} +11 -11
  108. package/dist/chunks/{filesystem-pvrft5am.js → persistent-pty-amwp0aeg.js} +49 -49
  109. package/dist/chunks/{filesystem-51x4aarj.js → persistent-pty-ap300940.js} +4 -4
  110. package/dist/chunks/{filesystem-s626qfae.js → persistent-pty-ar2j3j0f.js} +4 -4
  111. package/dist/chunks/{filesystem-74z5myxc.js → persistent-pty-avrfdzax.js} +13 -13
  112. package/dist/chunks/{filesystem-ayjs7tqn.js → persistent-pty-ayjs7tqn.js} +2 -2
  113. package/dist/chunks/{filesystem-b0mv4wxm.js → persistent-pty-b0mv4wxm.js} +2 -2
  114. package/dist/chunks/{filesystem-6kzpt8m6.js → persistent-pty-b0wr9pq4.js} +16 -16
  115. package/dist/chunks/{filesystem-6rvpfmay.js → persistent-pty-b25rcpjn.js} +5 -5
  116. package/dist/chunks/{filesystem-8tv6we1q.js → persistent-pty-b3dt0wfc.js} +85 -85
  117. package/dist/chunks/{filesystem-r1esf721.js → persistent-pty-b430ghfg.js} +48 -48
  118. package/dist/chunks/{filesystem-b6vsg801.js → persistent-pty-b6vsg801.js} +2 -2
  119. package/dist/chunks/{filesystem-avbcnn8s.js → persistent-pty-br64vc86.js} +4 -4
  120. package/dist/chunks/{filesystem-bstexjd6.js → persistent-pty-bstexjd6.js} +1 -1
  121. package/dist/chunks/{filesystem-6mw02xdg.js → persistent-pty-c0ahb6m2.js} +48 -48
  122. package/dist/chunks/{filesystem-v44g1jae.js → persistent-pty-c3cfh5w6.js} +9 -9
  123. package/dist/chunks/{filesystem-8j8gppkv.js → persistent-pty-c3z1dwp4.js} +32 -32
  124. package/dist/chunks/{filesystem-9nkjg9qd.js → persistent-pty-c4970w7t.js} +6 -6
  125. package/dist/chunks/{filesystem-zqz3yng3.js → persistent-pty-c5mdmb7d.js} +7 -7
  126. package/dist/chunks/{filesystem-nnv5zz39.js → persistent-pty-c97kafxv.js} +23 -23
  127. package/dist/chunks/{filesystem-d2887f8n.js → persistent-pty-c9t2ty9q.js} +4 -4
  128. package/dist/chunks/{filesystem-7zfzjnyd.js → persistent-pty-cmtp12gq.js} +9 -9
  129. package/dist/chunks/{filesystem-xggf8f2k.js → persistent-pty-cn8x8bav.js} +9 -9
  130. package/dist/chunks/{filesystem-y2sesghw.js → persistent-pty-csnq1vx8.js} +4 -4
  131. package/dist/chunks/{filesystem-d2dx6a7h.js → persistent-pty-d2dx6a7h.js} +1 -1
  132. package/dist/chunks/{filesystem-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
  133. package/dist/chunks/{filesystem-brp8afje.js → persistent-pty-d622t3vc.js} +18 -18
  134. package/dist/chunks/persistent-pty-d77dj7jw.js +18 -0
  135. package/dist/chunks/{filesystem-d8qd4w10.js → persistent-pty-d8qd4w10.js} +3 -3
  136. package/dist/chunks/persistent-pty-ddefqdxn.js +257 -0
  137. package/dist/chunks/{filesystem-pc1v25hk.js → persistent-pty-dh62xe4r.js} +3 -3
  138. package/dist/chunks/persistent-pty-dj18ndtz.js +26 -0
  139. package/dist/chunks/{filesystem-997dsrmm.js → persistent-pty-dkq45v8d.js} +8 -8
  140. package/dist/chunks/{filesystem-6vgp65ky.js → persistent-pty-dpy78jr7.js} +28 -28
  141. package/dist/chunks/{filesystem-4zdy853b.js → persistent-pty-dpyjajp2.js} +16 -16
  142. package/dist/chunks/{filesystem-e834z07m.js → persistent-pty-e834z07m.js} +1 -1
  143. package/dist/chunks/{filesystem-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{filesystem-0rk2tx64.js → persistent-pty-ep8g8f2q.js} +24 -24
  145. package/dist/chunks/{filesystem-jk3vvd6z.js → persistent-pty-epts1v3z.js} +16 -16
  146. package/dist/chunks/{filesystem-gxpe1m6c.js → persistent-pty-epv93m9y.js} +15 -15
  147. package/dist/chunks/{filesystem-hfc7xfzf.js → persistent-pty-etps9a87.js} +19 -19
  148. package/dist/chunks/{filesystem-qh4tvjey.js → persistent-pty-evvj0048.js} +6 -6
  149. package/dist/chunks/{filesystem-spsj76tb.js → persistent-pty-f2m57aq3.js} +7 -7
  150. package/dist/chunks/{filesystem-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
  151. package/dist/chunks/{filesystem-9b28cy4d.js → persistent-pty-fvc4bqe2.js} +5 -5
  152. package/dist/chunks/{filesystem-fznmdakp.js → persistent-pty-fznmdakp.js} +1 -1
  153. package/dist/chunks/{filesystem-ym2fpx9j.js → persistent-pty-fzppqy49.js} +337 -337
  154. package/dist/chunks/{filesystem-vbcm6ahj.js → persistent-pty-g45kmxae.js} +12 -12
  155. package/dist/chunks/{filesystem-g5h9c0rr.js → persistent-pty-g5h9c0rr.js} +2 -2
  156. package/dist/chunks/{filesystem-t6cdgaq6.js → persistent-pty-gbkbh0za.js} +30 -30
  157. package/dist/chunks/{filesystem-nxdk44b7.js → persistent-pty-gd1vvcjv.js} +9 -9
  158. package/dist/chunks/{filesystem-dnmtmk4w.js → persistent-pty-gsnt20he.js} +19 -19
  159. package/dist/chunks/{filesystem-bkna9k4r.js → persistent-pty-gtwwgaxd.js} +19 -19
  160. package/dist/chunks/{filesystem-3e0wzh8b.js → persistent-pty-h1fcnfrv.js} +11 -11
  161. package/dist/chunks/{filesystem-mz3a5edd.js → persistent-pty-h4ja5x6t.js} +6 -6
  162. package/dist/chunks/{filesystem-4whg3jbc.js → persistent-pty-h9gq6eq0.js} +2 -2
  163. package/dist/chunks/{filesystem-36nwec3d.js → persistent-pty-hffck5p6.js} +33 -33
  164. package/dist/chunks/{filesystem-padq4g58.js → persistent-pty-hqqyr421.js} +25 -25
  165. package/dist/chunks/{filesystem-0cjz94q6.js → persistent-pty-hsn14kaz.js} +50 -50
  166. package/dist/chunks/{filesystem-j113cymg.js → persistent-pty-j113cymg.js} +1 -1
  167. package/dist/chunks/{filesystem-h0d2nkz7.js → persistent-pty-j4mbz3fw.js} +7 -7
  168. package/dist/chunks/{filesystem-5cn61jve.js → persistent-pty-j975cw6z.js} +4 -4
  169. package/dist/chunks/{filesystem-yawxmpnv.js → persistent-pty-jc99n3kj.js} +18 -18
  170. package/dist/chunks/{filesystem-6kjtmk7q.js → persistent-pty-jcq455ft.js} +9 -9
  171. package/dist/chunks/{filesystem-t3gbfrqn.js → persistent-pty-jefvzq89.js} +11 -11
  172. package/dist/chunks/{filesystem-efr9f7w8.js → persistent-pty-jfjbts63.js} +5 -5
  173. package/dist/chunks/{filesystem-grrps705.js → persistent-pty-jmz0pryv.js} +17 -17
  174. package/dist/chunks/{filesystem-s1rp2hzf.js → persistent-pty-jrqenxex.js} +14 -14
  175. package/dist/chunks/{filesystem-j3228jtb.js → persistent-pty-k0c2abhw.js} +13 -13
  176. package/dist/chunks/{filesystem-3spxaejg.js → persistent-pty-k6e6yg7w.js} +40 -40
  177. package/dist/chunks/{filesystem-k814nvkf.js → persistent-pty-k814nvkf.js} +1 -1
  178. package/dist/chunks/{filesystem-dk5xnaxx.js → persistent-pty-kedzwwnr.js} +4 -4
  179. package/dist/chunks/{filesystem-qtm30naq.js → persistent-pty-kgeqanye.js} +9 -9
  180. package/dist/chunks/{filesystem-r3f67wnp.js → persistent-pty-kjzbhe9f.js} +28 -28
  181. package/dist/chunks/{filesystem-nq8bay0y.js → persistent-pty-knck272c.js} +27 -27
  182. package/dist/chunks/{filesystem-d9nsghbd.js → persistent-pty-kqnnmbvx.js} +36 -36
  183. package/dist/chunks/{filesystem-s9v9gzsc.js → persistent-pty-kzatpa33.js} +36 -36
  184. package/dist/chunks/{filesystem-m1714858.js → persistent-pty-m1714858.js} +1 -1
  185. package/dist/chunks/{filesystem-g7esga4v.js → persistent-pty-m37sd98t.js} +7 -7
  186. package/dist/chunks/{filesystem-t3rfzc0n.js → persistent-pty-m3kqm4cm.js} +2 -2
  187. package/dist/chunks/{filesystem-jpvfv4j9.js → persistent-pty-m8qqb4k3.js} +36 -36
  188. package/dist/chunks/{filesystem-bchnzv4a.js → persistent-pty-m9458166.js} +30 -30
  189. package/dist/chunks/{filesystem-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{filesystem-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
  191. package/dist/chunks/{filesystem-amdzwm80.js → persistent-pty-mb72d0pe.js} +5 -5
  192. package/dist/chunks/{filesystem-89hkn2ck.js → persistent-pty-mcbaxyan.js} +14 -14
  193. package/dist/chunks/{filesystem-tzkvb7j5.js → persistent-pty-mgn9jeqr.js} +86 -86
  194. package/dist/chunks/{filesystem-0v552w6g.js → persistent-pty-mgqesnpe.js} +10 -10
  195. package/dist/chunks/{filesystem-v81ymy3c.js → persistent-pty-mqpc6sp9.js} +18 -18
  196. package/dist/chunks/{filesystem-fn89k98g.js → persistent-pty-mr4m2xt3.js} +30 -30
  197. package/dist/chunks/{filesystem-gyabndjg.js → persistent-pty-msgnwe08.js} +4 -4
  198. package/dist/chunks/{filesystem-n0p0277s.js → persistent-pty-n0p0277s.js} +1 -1
  199. package/dist/chunks/{filesystem-d1cerpfm.js → persistent-pty-n8km3ktm.js} +21 -21
  200. package/dist/chunks/{filesystem-kba41hf4.js → persistent-pty-n8ys9nef.js} +23 -23
  201. package/dist/chunks/{filesystem-ffejy4wd.js → persistent-pty-n9qkr232.js} +9 -9
  202. package/dist/chunks/{filesystem-770pw0s1.js → persistent-pty-nah043kf.js} +4 -4
  203. package/dist/chunks/{filesystem-w96mkmzg.js → persistent-pty-nbtna00v.js} +27 -27
  204. package/dist/chunks/{filesystem-vgqfs1n2.js → persistent-pty-ncjgtf7q.js} +11 -11
  205. package/dist/chunks/{filesystem-bdsrgrhy.js → persistent-pty-nf6qtgmx.js} +15 -15
  206. package/dist/chunks/{filesystem-st4qtcsw.js → persistent-pty-nvk1va1n.js} +33 -33
  207. package/dist/chunks/{filesystem-p015t6z3.js → persistent-pty-p015t6z3.js} +2 -2
  208. package/dist/chunks/{filesystem-p0tsr9h6.js → persistent-pty-p0tsr9h6.js} +1 -1
  209. package/dist/chunks/{filesystem-m7sf20d3.js → persistent-pty-p5fvs1tf.js} +32 -32
  210. package/dist/chunks/{filesystem-tfeyr919.js → persistent-pty-p8zvtb4f.js} +15 -15
  211. package/dist/chunks/{filesystem-jfm4fjtg.js → persistent-pty-pb7j0m6g.js} +15 -15
  212. package/dist/chunks/{filesystem-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  213. package/dist/chunks/{filesystem-rfg9rte0.js → persistent-pty-pnb0v8tr.js} +16 -16
  214. package/dist/chunks/{filesystem-xqg92hb0.js → persistent-pty-ptp6ncr1.js} +29 -29
  215. package/dist/chunks/{filesystem-tg0gd36c.js → persistent-pty-q7hewr9v.js} +22 -22
  216. package/dist/chunks/{filesystem-qjgzc4b4.js → persistent-pty-qjgzc4b4.js} +1 -1
  217. package/dist/chunks/{filesystem-zj4f4v9r.js → persistent-pty-qkzpeykj.js} +21 -21
  218. package/dist/chunks/{filesystem-gsdn6242.js → persistent-pty-qq9errcn.js} +32 -32
  219. package/dist/chunks/{filesystem-etk19sk0.js → persistent-pty-qqef8819.js} +29 -29
  220. package/dist/chunks/{filesystem-kpjnnt0y.js → persistent-pty-qwe9t09h.js} +34 -34
  221. package/dist/chunks/{filesystem-b0e0ha1k.js → persistent-pty-qycnq4qn.js} +17 -17
  222. package/dist/chunks/{filesystem-f33ds01d.js → persistent-pty-qyt594kh.js} +24 -24
  223. package/dist/chunks/{filesystem-r0yr0wbs.js → persistent-pty-r0yr0wbs.js} +1 -1
  224. package/dist/chunks/{filesystem-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
  225. package/dist/chunks/{filesystem-ar426sjr.js → persistent-pty-rf77k6n7.js} +21 -21
  226. package/dist/chunks/{filesystem-18g90bpv.js → persistent-pty-rmt6m6se.js} +5 -5
  227. package/dist/chunks/{filesystem-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
  228. package/dist/chunks/{filesystem-zwqbvap5.js → persistent-pty-rth52m3v.js} +22 -22
  229. package/dist/chunks/{filesystem-fwvkg7a4.js → persistent-pty-s2dg58v9.js} +11 -11
  230. package/dist/chunks/{filesystem-vq1ppevj.js → persistent-pty-s6p20e1k.js} +8 -8
  231. package/dist/chunks/{filesystem-c8j7dx8q.js → persistent-pty-s9ty2h8k.js} +11 -11
  232. package/dist/chunks/{filesystem-arsn7stx.js → persistent-pty-sd1t0gyg.js} +1 -1
  233. package/dist/chunks/{filesystem-sqjzf8x2.js → persistent-pty-sqjzf8x2.js} +1 -1
  234. package/dist/chunks/{filesystem-6vawrx7p.js → persistent-pty-ssg99487.js} +31 -31
  235. package/dist/chunks/{filesystem-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{filesystem-v5hpj9dd.js → persistent-pty-tg1vr1qt.js} +8 -8
  237. package/dist/chunks/{filesystem-nttn14j9.js → persistent-pty-tmd1r8tg.js} +4 -4
  238. package/dist/chunks/{filesystem-51r6w5tg.js → persistent-pty-tndygt87.js} +9 -9
  239. package/dist/chunks/{filesystem-tw8zr1ps.js → persistent-pty-tw8zr1ps.js} +1 -1
  240. package/dist/chunks/{filesystem-twv2r8f4.js → persistent-pty-twv2r8f4.js} +2 -2
  241. package/dist/chunks/{filesystem-7jc9rsv4.js → persistent-pty-v1smpbvx.js} +20 -20
  242. package/dist/chunks/{filesystem-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
  243. package/dist/chunks/{filesystem-nk6d3n00.js → persistent-pty-v568fy96.js} +44 -44
  244. package/dist/chunks/{filesystem-vd3b3yk9.js → persistent-pty-vd3b3yk9.js} +1 -1
  245. package/dist/chunks/{filesystem-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  246. package/dist/chunks/{filesystem-rvmjpzp1.js → persistent-pty-vm0wcjea.js} +10 -10
  247. package/dist/chunks/{filesystem-8ryk0bb9.js → persistent-pty-vrpz8t5t.js} +5 -5
  248. package/dist/chunks/{filesystem-fwbqpq8p.js → persistent-pty-vt63w9ze.js} +17 -17
  249. package/dist/chunks/{filesystem-1n1y95ae.js → persistent-pty-vxsjar9r.js} +9 -9
  250. package/dist/chunks/{filesystem-8kvpvnp7.js → persistent-pty-w2jp9fqe.js} +30 -30
  251. package/dist/chunks/{filesystem-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{filesystem-jmf5ej32.js → persistent-pty-w7s37af3.js} +7 -7
  253. package/dist/chunks/{filesystem-fwp9mfc9.js → persistent-pty-w9w8mt4n.js} +4 -4
  254. package/dist/chunks/{filesystem-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
  255. package/dist/chunks/{filesystem-gmjwgw4f.js → persistent-pty-wbrbrqnn.js} +3 -3
  256. package/dist/chunks/{filesystem-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  257. package/dist/chunks/{filesystem-ae59h7aq.js → persistent-pty-wgxpxc97.js} +43 -43
  258. package/dist/chunks/{filesystem-sm3pn1yy.js → persistent-pty-wjfsv5vx.js} +184 -184
  259. package/dist/chunks/{filesystem-vnxwgqtp.js → persistent-pty-wjj9j73p.js} +32 -32
  260. package/dist/chunks/{filesystem-chey27p8.js → persistent-pty-wqb48wsw.js} +45 -45
  261. package/dist/chunks/{filesystem-b59295hw.js → persistent-pty-ws8qaw4q.js} +21 -21
  262. package/dist/chunks/{filesystem-356ycsz0.js → persistent-pty-ww71evjc.js} +20 -20
  263. package/dist/chunks/{filesystem-wckc0zrx.js → persistent-pty-xcarn5dh.js} +4 -4
  264. package/dist/chunks/{filesystem-k7zas86q.js → persistent-pty-xcawzme1.js} +20 -20
  265. package/dist/chunks/{filesystem-5pn4ypd0.js → persistent-pty-xmb6acqt.js} +8 -8
  266. package/dist/chunks/{filesystem-98mxgbz2.js → persistent-pty-xqtsmx9f.js} +15 -15
  267. package/dist/chunks/{filesystem-qg8qtdad.js → persistent-pty-xx92f0z9.js} +3 -3
  268. package/dist/chunks/{filesystem-dbkw9y8f.js → persistent-pty-xz8jn1n5.js} +45 -45
  269. package/dist/chunks/{filesystem-gj87f6s9.js → persistent-pty-xzhmj86d.js} +4 -4
  270. package/dist/chunks/{filesystem-1zaw68ze.js → persistent-pty-y4rx9zcm.js} +20 -20
  271. package/dist/chunks/{filesystem-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
  272. package/dist/chunks/{filesystem-v93w9dtv.js → persistent-pty-ypqy3h3f.js} +13 -13
  273. package/dist/chunks/{filesystem-tx3h81rw.js → persistent-pty-yte8j0g9.js} +14 -14
  274. package/dist/chunks/{filesystem-4d5fcr8w.js → persistent-pty-yw5cr2kg.js} +25 -25
  275. package/dist/chunks/{filesystem-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{filesystem-5qv54f7z.js → persistent-pty-z18nf20h.js} +9 -9
  277. package/dist/chunks/{filesystem-z38nccrw.js → persistent-pty-z38nccrw.js} +1 -1
  278. package/dist/chunks/{filesystem-9zhqcg1r.js → persistent-pty-z5dq5ktq.js} +26 -26
  279. package/dist/chunks/{filesystem-sejvc57q.js → persistent-pty-z5ya83ez.js} +22 -22
  280. package/dist/chunks/{filesystem-4h7a260j.js → persistent-pty-z600r55a.js} +35 -35
  281. package/dist/chunks/{filesystem-f9r434at.js → persistent-pty-z6k1srac.js} +7 -7
  282. package/dist/chunks/{filesystem-8mm41x9v.js → persistent-pty-zgfrp2wc.js} +26 -26
  283. package/dist/chunks/{filesystem-zkg84ctx.js → persistent-pty-zkg84ctx.js} +1 -1
  284. package/dist/chunks/{filesystem-bx21rrrk.js → persistent-pty-zkvx2ye6.js} +19 -19
  285. package/dist/chunks/{filesystem-bvkwt3vh.js → persistent-pty-zntgk0c3.js} +19 -19
  286. package/dist/chunks/{filesystem-n8gn2k8w.js → persistent-pty-zx0t21mj.js} +13 -13
  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 +85 -85
  292. package/dist/config/discovery.js +86 -86
  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 +214 -214
  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 +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +87 -87
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +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 +94 -94
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  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 +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +221 -221
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +104 -104
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +109 -109
  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 +360 -360
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +73 -73
  464. package/dist/location-activity.js +156 -156
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +89 -89
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +140 -140
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/socket-client.js +1 -1
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +115 -115
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +92 -92
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +102 -102
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +132 -132
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +90 -90
  563. package/dist/provider.js +103 -103
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +95 -95
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +89 -89
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +136 -136
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +130 -130
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +97 -97
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +163 -163
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +218 -218
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +15 -15
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +4 -4
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +110 -110
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +137 -137
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +217 -217
  648. package/dist/tool/plugin/skill.js +115 -115
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/todo.js +136 -136
  651. package/dist/tool/plugin/webfetch.js +115 -115
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +3 -3
  666. package/dist/v1/config/command.js +1 -1
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +1 -1
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +95 -95
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +90 -90
  677. package/dist/websearch.js +84 -84
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +83 -83
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +84 -84
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +8 -8
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +94 -94
  688. package/package.json +8 -8
  689. package/dist/chunks/filesystem-00ve6mdn.js +0 -18
  690. package/dist/chunks/filesystem-9ycsyq8d.js +0 -257
  691. package/dist/chunks/filesystem-mpdatzvn.js +0 -26
  692. /package/dist/chunks/{filesystem-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{filesystem-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{filesystem-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{filesystem-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{filesystem-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  697. /package/dist/chunks/{filesystem-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{filesystem-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{filesystem-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{filesystem-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{filesystem-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  702. /package/dist/chunks/{filesystem-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{filesystem-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{filesystem-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{filesystem-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{filesystem-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{filesystem-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{filesystem-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  709. /package/dist/chunks/{filesystem-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{filesystem-5fjb7ams.js → persistent-pty-5fjb7ams.js} +0 -0
  711. /package/dist/chunks/{filesystem-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  712. /package/dist/chunks/{filesystem-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  713. /package/dist/chunks/{filesystem-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{filesystem-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{filesystem-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{filesystem-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  717. /package/dist/chunks/{filesystem-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{filesystem-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{filesystem-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{filesystem-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{filesystem-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{filesystem-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{filesystem-a058387c.js → persistent-pty-a058387c.js} +0 -0
  724. /package/dist/chunks/{filesystem-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{filesystem-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{filesystem-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{filesystem-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{filesystem-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{filesystem-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{filesystem-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{filesystem-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{filesystem-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{filesystem-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{filesystem-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{filesystem-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{filesystem-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{filesystem-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  738. /package/dist/chunks/{filesystem-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{filesystem-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{filesystem-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{filesystem-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{filesystem-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{filesystem-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{filesystem-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{filesystem-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{filesystem-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{filesystem-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{filesystem-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{filesystem-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  750. /package/dist/chunks/{filesystem-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{filesystem-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  752. /package/dist/chunks/{filesystem-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{filesystem-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  754. /package/dist/chunks/{filesystem-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{filesystem-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{filesystem-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{filesystem-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{filesystem-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{filesystem-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{filesystem-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{filesystem-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
  762. /package/dist/chunks/{filesystem-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{filesystem-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{filesystem-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{filesystem-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{filesystem-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{filesystem-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{filesystem-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{filesystem-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{filesystem-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{filesystem-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{filesystem-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{filesystem-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{filesystem-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{filesystem-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{filesystem-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{filesystem-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{filesystem-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{filesystem-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{filesystem-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{filesystem-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{filesystem-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{filesystem-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{filesystem-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{filesystem-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  786. /package/dist/chunks/{filesystem-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{filesystem-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{filesystem-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{filesystem-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{filesystem-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{filesystem-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./filesystem-7qh21x13.js";
4
+ } from "./persistent-pty-4ccqqpnm.js";
5
5
  import {
6
- Service79,
7
- node82
8
- } from "./filesystem-padq4g58.js";
6
+ Service72,
7
+ node76
8
+ } from "./persistent-pty-hqqyr421.js";
9
9
  import {
10
- Service81,
11
- node84
12
- } from "./filesystem-5s5rpxk9.js";
10
+ Service83,
11
+ node87
12
+ } from "./persistent-pty-8zn70gxd.js";
13
13
  import {
14
14
  Ref4,
15
- Service80,
16
- node83
17
- } from "./filesystem-jk3vvd6z.js";
15
+ Service82,
16
+ node86
17
+ } from "./persistent-pty-epts1v3z.js";
18
18
  import {
19
19
  canonical3
20
- } from "./filesystem-ffejy4wd.js";
20
+ } from "./persistent-pty-n9qkr232.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./filesystem-ec1grn59.js";
23
+ } from "./persistent-pty-ec1grn59.js";
24
24
  import {
25
- Service60,
26
- node62
27
- } from "./filesystem-xnj8czy5.js";
25
+ Service76,
26
+ node80
27
+ } from "./persistent-pty-9mw7dhxy.js";
28
28
  import {
29
- Service58,
30
- node60
31
- } from "./filesystem-98mxgbz2.js";
29
+ Service23,
30
+ node26
31
+ } from "./persistent-pty-xqtsmx9f.js";
32
32
  import {
33
33
  __export
34
- } from "./filesystem-9rqn6x4v.js";
34
+ } from "./persistent-pty-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service57,
41
- node: () => node59
40
+ Service: () => Service14,
41
+ node: () => node16
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service57 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service14 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service57, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
51
51
  const bus = yield* Service85;
52
- const location = yield* Service80;
53
- const permission = yield* Service60;
54
- const forms = yield* Service79;
55
- const rpc = yield* Service58;
56
- const project = yield* Service81;
52
+ const location = yield* Service82;
53
+ const permission = yield* Service76;
54
+ const forms = yield* Service72;
55
+ const rpc = yield* Service23;
56
+ const project = yield* Service83;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service57.of({
83
+ return Service14.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
- var node59 = makeLocationNode({
89
- service: Service57,
88
+ var node16 = makeLocationNode({
89
+ service: Service14,
90
90
  layer,
91
- deps: [node89, node83, node62, node84, node82, node60]
91
+ deps: [node89, node86, node80, node87, node76, node26]
92
92
  });
93
93
 
94
- export { Service57, node59, exports_location_lifecycle };
94
+ export { Service14, node16, exports_location_lifecycle };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./filesystem-7qh21x13.js";
4
+ } from "./persistent-pty-4ccqqpnm.js";
5
5
  import {
6
6
  __export
7
- } from "./filesystem-9rqn6x4v.js";
7
+ } from "./persistent-pty-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event18,
15
+ Event: () => Event15,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID14,
20
- Info: () => Info24,
19
+ ID: () => ID11,
20
+ Info: () => Info21,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError11,
24
- Reply: () => Reply3,
25
- Service: () => Service79,
23
+ NotFoundError: () => NotFoundError8,
24
+ Reply: () => Reply2,
25
+ Service: () => Service72,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer27,
29
- node: () => node82,
29
+ node: () => node76,
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 Event18 } from "@opencode/schema/form";
36
+ import { Event as Event15 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID14 = Form.ID;
39
- var Info24 = Form.Info;
38
+ var ID11 = Form.ID;
39
+ var Info21 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply3 = Form.Reply;
45
+ var Reply2 = Form.Reply;
46
46
 
47
- class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID14
47
+ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID11
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: ID14
56
+ id: ID11
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: ID14
64
+ id: ID11
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: ID14,
72
+ id: ID11,
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 Service72 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service79, Effect.gen(function* () {
84
+ var layer27 = Layer.effect(Service72, Effect.gen(function* () {
85
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 NotFoundError8({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID14.create();
93
+ const id = input.id ?? ID11.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 layer27 = 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 Service72.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node82 = makeLocationNode({ service: Service79, layer: layer27, deps: [node89] });
167
+ var node76 = makeLocationNode({ service: Service72, layer: layer27, 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 { ID14, Info24, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer27, node82, validateAnswer2, validateFields2, exports_form, Event18 };
319
+ export { ID11, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service72, layer27, node76, validateAnswer2, validateFields2, exports_form, Event15 };
@@ -1,153 +1,153 @@
1
1
  import {
2
2
  _20260127222353_familiar_lady_ursula_default
3
- } from "./filesystem-jzg6c2d5.js";
3
+ } from "./persistent-pty-jzg6c2d5.js";
4
4
  import {
5
5
  _20260211171708_add_project_commands_default
6
- } from "./filesystem-q3sfg36h.js";
6
+ } from "./persistent-pty-q3sfg36h.js";
7
7
  import {
8
8
  _20260213144116_wakeful_the_professor_default
9
- } from "./filesystem-1cnp2v09.js";
9
+ } from "./persistent-pty-1cnp2v09.js";
10
10
  import {
11
11
  _20260225215848_workspace_default
12
- } from "./filesystem-rcb2kzg1.js";
12
+ } from "./persistent-pty-rcb2kzg1.js";
13
13
  import {
14
14
  _20260227213759_add_session_workspace_id_default
15
- } from "./filesystem-msx8hqn2.js";
15
+ } from "./persistent-pty-msx8hqn2.js";
16
16
  import {
17
17
  _20260228203230_blue_harpoon_default
18
- } from "./filesystem-bkyjaxrp.js";
18
+ } from "./persistent-pty-bkyjaxrp.js";
19
19
  import {
20
20
  _20260303231226_add_workspace_fields_default
21
- } from "./filesystem-g86h250q.js";
21
+ } from "./persistent-pty-g86h250q.js";
22
22
  import {
23
23
  _20260309230000_move_org_to_state_default
24
- } from "./filesystem-jr7sbwjy.js";
24
+ } from "./persistent-pty-jr7sbwjy.js";
25
25
  import {
26
26
  _20260312043431_session_message_cursor_default
27
- } from "./filesystem-7m9af43g.js";
27
+ } from "./persistent-pty-7m9af43g.js";
28
28
  import {
29
29
  _20260323234822_events_default
30
- } from "./filesystem-j2ntwpah.js";
30
+ } from "./persistent-pty-j2ntwpah.js";
31
31
  import {
32
32
  _20260410174513_workspace_name_default
33
- } from "./filesystem-njntx4h6.js";
33
+ } from "./persistent-pty-njntx4h6.js";
34
34
  import {
35
35
  _20260413175956_chief_energizer_default
36
- } from "./filesystem-qrg20bc0.js";
36
+ } from "./persistent-pty-qrg20bc0.js";
37
37
  import {
38
38
  _20260423070820_add_icon_url_override_default
39
- } from "./filesystem-z9919s4g.js";
39
+ } from "./persistent-pty-z9919s4g.js";
40
40
  import {
41
41
  _20260427172553_slow_nightmare_default
42
- } from "./filesystem-43n2bw4t.js";
42
+ } from "./persistent-pty-43n2bw4t.js";
43
43
  import {
44
44
  _20260428004200_add_session_path_default
45
- } from "./filesystem-n3j8tn72.js";
45
+ } from "./persistent-pty-n3j8tn72.js";
46
46
  import {
47
47
  _20260501142318_next_venus_default
48
- } from "./filesystem-d9jj8t3e.js";
48
+ } from "./persistent-pty-d9jj8t3e.js";
49
49
  import {
50
50
  _20260504145000_add_sync_owner_default
51
- } from "./filesystem-fd410y7t.js";
51
+ } from "./persistent-pty-fd410y7t.js";
52
52
  import {
53
53
  _20260507164347_add_workspace_time_default
54
- } from "./filesystem-e5kj55wp.js";
54
+ } from "./persistent-pty-e5kj55wp.js";
55
55
  import {
56
56
  _20260510033149_session_usage_default
57
- } from "./filesystem-f6n9ztr4.js";
57
+ } from "./persistent-pty-f6n9ztr4.js";
58
58
  import {
59
59
  _20260511000411_data_migration_state_default
60
- } from "./filesystem-q74kybfr.js";
60
+ } from "./persistent-pty-q74kybfr.js";
61
61
  import {
62
62
  _20260511173437_session_metadata_default
63
- } from "./filesystem-53557ph1.js";
63
+ } from "./persistent-pty-53557ph1.js";
64
64
  import {
65
65
  _20260601010001_normalize_storage_paths_default
66
- } from "./filesystem-7akdwqpd.js";
66
+ } from "./persistent-pty-7akdwqpd.js";
67
67
  import {
68
68
  _20260601202201_amazing_prowler_default
69
- } from "./filesystem-wer8tq1h.js";
69
+ } from "./persistent-pty-wer8tq1h.js";
70
70
  import {
71
71
  _20260602002951_lowly_union_jack_default
72
- } from "./filesystem-wtztk69x.js";
72
+ } from "./persistent-pty-wtztk69x.js";
73
73
  import {
74
74
  _20260602182828_add_project_directories_default
75
- } from "./filesystem-ssg3fenm.js";
75
+ } from "./persistent-pty-ssg3fenm.js";
76
76
  import {
77
77
  _20260603001617_session_message_projection_indexes_default
78
- } from "./filesystem-2c3vjs8z.js";
78
+ } from "./persistent-pty-2c3vjs8z.js";
79
79
  import {
80
80
  _20260603040000_session_message_projection_order_default
81
- } from "./filesystem-17cy0kzp.js";
81
+ } from "./persistent-pty-17cy0kzp.js";
82
82
  import {
83
83
  _20260603141458_session_input_inbox_default
84
- } from "./filesystem-hk9envan.js";
84
+ } from "./persistent-pty-hk9envan.js";
85
85
  import {
86
86
  _20260603160727_jittery_ezekiel_stane_default
87
- } from "./filesystem-w803qqfp.js";
87
+ } from "./persistent-pty-w803qqfp.js";
88
88
  import {
89
89
  _20260604172448_event_sourced_session_input_default
90
- } from "./filesystem-jwfs4k6c.js";
90
+ } from "./persistent-pty-jwfs4k6c.js";
91
91
  import {
92
92
  _20260605003541_add_session_context_snapshot_default
93
- } from "./filesystem-mp448xyj.js";
93
+ } from "./persistent-pty-mp448xyj.js";
94
94
  import {
95
95
  _20260605042240_add_context_epoch_agent_default
96
- } from "./filesystem-aqzs7mqg.js";
96
+ } from "./persistent-pty-aqzs7mqg.js";
97
97
  import {
98
98
  _20260611035744_credential_default
99
- } from "./filesystem-ygaqb7jw.js";
99
+ } from "./persistent-pty-ygaqb7jw.js";
100
100
  import {
101
101
  _20260611192811_lush_chimera_default
102
- } from "./filesystem-8n3pysct.js";
102
+ } from "./persistent-pty-8n3pysct.js";
103
103
  import {
104
104
  _20260612174303_project_dir_strategy_default
105
- } from "./filesystem-d9fn303g.js";
105
+ } from "./persistent-pty-d9fn303g.js";
106
106
  import {
107
107
  _20260622142730_simplify_session_context_epoch_default
108
- } from "./filesystem-cvy3z8tj.js";
108
+ } from "./persistent-pty-cvy3z8tj.js";
109
109
  import {
110
110
  _20260622170816_reset_v2_session_state_default
111
- } from "./filesystem-9a4afbnw.js";
111
+ } from "./persistent-pty-9a4afbnw.js";
112
112
  import {
113
113
  _20260622202450_simplify_session_input_default
114
- } from "./filesystem-n05xt0ee.js";
114
+ } from "./persistent-pty-n05xt0ee.js";
115
115
  import {
116
116
  _20260804233008_loose_psylocke_default
117
- } from "./filesystem-sdp7kfr6.js";
117
+ } from "./persistent-pty-sdp7kfr6.js";
118
118
  import {
119
119
  _20260805200742_import_legacy_credentials_default
120
- } from "./filesystem-a6k6eb26.js";
120
+ } from "./persistent-pty-a6k6eb26.js";
121
121
  import {
122
122
  _20260808023530_workspace_domain_default
123
- } from "./filesystem-4knz6hnm.js";
123
+ } from "./persistent-pty-4knz6hnm.js";
124
124
  import {
125
125
  _20260811161259_execution_claim_attempts_default
126
- } from "./filesystem-df08tz66.js";
126
+ } from "./persistent-pty-df08tz66.js";
127
127
  import {
128
128
  _20260812181746_session_inbox_default
129
- } from "./filesystem-bmr6ed5q.js";
129
+ } from "./persistent-pty-bmr6ed5q.js";
130
130
  import {
131
131
  _20260812213948_worktree_default
132
- } from "./filesystem-atq7p7m5.js";
132
+ } from "./persistent-pty-atq7p7m5.js";
133
133
  import {
134
134
  _20260819222447_session_viewed_state_default
135
- } from "./filesystem-qb87gjwd.js";
135
+ } from "./persistent-pty-qb87gjwd.js";
136
136
  import {
137
137
  _20260823191254_nullable_workspace_binding_default
138
- } from "./filesystem-359p4xyc.js";
138
+ } from "./persistent-pty-359p4xyc.js";
139
139
  import {
140
140
  _20260910120000_clear_v1_session_permission_default
141
- } from "./filesystem-y8f7s663.js";
141
+ } from "./persistent-pty-y8f7s663.js";
142
142
  import {
143
143
  _20260923013825_project_time_active_default
144
- } from "./filesystem-8wj87zfr.js";
144
+ } from "./persistent-pty-8wj87zfr.js";
145
145
  import {
146
146
  _20261007190000_azure_cli_external_credential_default
147
- } from "./filesystem-84wd9syh.js";
147
+ } from "./persistent-pty-84wd9syh.js";
148
148
  import {
149
149
  _20261010180456_project_time_archived_default
150
- } from "./filesystem-m18g726c.js";
150
+ } from "./persistent-pty-m18g726c.js";
151
151
 
152
152
  // src/database/migration.gen.ts
153
153
  var migrations2 = [
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./filesystem-gftt206x.js";
3
+ } from "./persistent-pty-gftt206x.js";
4
4
  import {
5
5
  MessageDecodeError2
6
- } from "./filesystem-ytxs1176.js";
6
+ } from "./persistent-pty-7xcfq1ha.js";
7
7
  import {
8
8
  InitializationBlocked2,
9
9
  read3
10
- } from "./filesystem-jchrqzf6.js";
10
+ } from "./persistent-pty-9p9xqj3m.js";
11
11
  import {
12
12
  SessionMessageTable2
13
- } from "./filesystem-998yhzzq.js";
13
+ } from "./persistent-pty-998yhzzq.js";
14
14
  import {
15
15
  initial2,
16
16
  preview3
17
- } from "./filesystem-dk5xnaxx.js";
17
+ } from "./persistent-pty-kedzwwnr.js";
18
18
  import {
19
19
  messageToText2
20
- } from "./filesystem-v2r1d0zg.js";
20
+ } from "./persistent-pty-v2r1d0zg.js";
21
21
  import {
22
22
  __export
23
- } from "./filesystem-9rqn6x4v.js";
23
+ } from "./persistent-pty-9rqn6x4v.js";
24
24
 
25
25
  // src/session/history.ts
26
26
  var exports_history = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin28,
9
+ Plugin: () => Plugin34,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin28 = define({
25
+ var Plugin34 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin28 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin28, exports_identity };
38
+ export { identity2, Plugin34, exports_identity };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service85
3
- } from "./filesystem-7qh21x13.js";
3
+ } from "./persistent-pty-4ccqqpnm.js";
4
4
  import {
5
- ID13,
6
- Event17,
7
- Service78
8
- } from "./filesystem-t6cdgaq6.js";
5
+ ID12,
6
+ Event16,
7
+ Service73
8
+ } from "./persistent-pty-gbkbh0za.js";
9
9
  import {
10
- ID11
11
- } from "./filesystem-vnxwgqtp.js";
10
+ ID9
11
+ } from "./persistent-pty-wjj9j73p.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./filesystem-qh4tvjey.js";
14
+ } from "./persistent-pty-evvj0048.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service78;
44
+ const credentials = yield* Service73;
45
45
  const bus = yield* Service85;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
51
51
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
52
52
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
53
53
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
54
- const configured = (yield* configuredSettings2(ID11.googleVertex)) ?? {};
54
+ const configured = (yield* configuredSettings2(ID9.googleVertex)) ?? {};
55
55
  const projects = Array.from(new Set([
56
56
  resolveProject(configured),
57
57
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
65
65
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
- const connection = yield* ctx.integration.connection.active(ID11.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
68
+ const connection = yield* ctx.integration.connection.active(ID9.googleVertex);
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID12.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
74
74
  const selected = { settings: yield* load() };
75
75
  const settingsFor = (provider) => ({
76
76
  ...provider.settings,
77
- ...(provider.integrationID ?? provider.id) === ID11.googleVertex ? selected.settings : {}
77
+ ...(provider.integrationID ?? provider.id) === ID9.googleVertex ? selected.settings : {}
78
78
  });
79
79
  yield* ctx.integration.transform((editor) => {
80
80
  editor.method.update({
81
- integrationID: ID11.googleVertex,
81
+ integrationID: ID9.googleVertex,
82
82
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
83
83
  });
84
84
  editor.method.update({
85
- integrationID: ID11.googleVertex,
85
+ integrationID: ID9.googleVertex,
86
86
  method: {
87
87
  id: ADC_METHOD,
88
88
  type: "external",
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
120
120
  });
121
121
  yield* ctx.provider.transform((evt) => {
122
122
  for (const item of evt.list()) {
123
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
123
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
124
124
  continue;
125
125
  const settings = settingsFor(item.provider);
126
126
  const project = resolveProject(settings);
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
139
139
  });
140
140
  yield* ctx.model.transform((models) => {
141
141
  for (const item of models.provider.list()) {
142
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
142
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
143
143
  continue;
144
144
  const settings = settingsFor(item.provider);
145
145
  const project = resolveProject(settings);
@@ -157,7 +157,7 @@ var GoogleVertexPlugin2 = define({
157
157
  }
158
158
  }
159
159
  });
160
- yield* bus.subscribe([Event17.Updated, Event17.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
160
+ yield* bus.subscribe([Event16.Updated, Event16.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
161
161
  const next = yield* load();
162
162
  if (JSON.stringify(next) === JSON.stringify(selected.settings))
163
163
  return;