@opencode/core 0.0.0-dev-21318 → 0.0.0-dev-21325

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{persistent-pty-0rhcgknv.js → workspace-00bpreyp.js} +5 -5
  8. package/dist/chunks/{persistent-pty-nz47wyzy.js → workspace-0axw4cdg.js} +13 -13
  9. package/dist/chunks/{persistent-pty-77awh5p4.js → workspace-0bbp34cp.js} +17 -17
  10. package/dist/chunks/{persistent-pty-20hv8fes.js → workspace-0ce32fr4.js} +36 -36
  11. package/dist/chunks/{persistent-pty-zjtrsxny.js → workspace-0cg871e2.js} +5 -5
  12. package/dist/chunks/{persistent-pty-ez3v055x.js → workspace-0dd87czj.js} +7 -7
  13. package/dist/chunks/{persistent-pty-am4eehff.js → workspace-0m50r3dd.js} +6 -6
  14. package/dist/chunks/{persistent-pty-0nndfddn.js → workspace-0qwg22c0.js} +26 -26
  15. package/dist/chunks/{persistent-pty-0vbcp93d.js → workspace-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{persistent-pty-fjr4y1sz.js → workspace-0w5f9s8v.js} +35 -35
  17. package/dist/chunks/{persistent-pty-jyj86nsz.js → workspace-0ye85ewf.js} +13 -13
  18. package/dist/chunks/{persistent-pty-f6pky1vc.js → workspace-0yw4a88g.js} +26 -26
  19. package/dist/chunks/{persistent-pty-qnjyk5by.js → workspace-129qsmff.js} +38 -38
  20. package/dist/chunks/{persistent-pty-9md2mt7s.js → workspace-14jssy00.js} +24 -24
  21. package/dist/chunks/{persistent-pty-h03re434.js → workspace-15rpx8aj.js} +10 -10
  22. package/dist/chunks/{persistent-pty-eajddnhb.js → workspace-1eejkkq1.js} +10 -10
  23. package/dist/chunks/{persistent-pty-9eq17axm.js → workspace-1n7e9j67.js} +9 -9
  24. package/dist/chunks/{persistent-pty-qeee8n96.js → workspace-1r5er5gw.js} +2 -2
  25. package/dist/chunks/{persistent-pty-0jwsre1p.js → workspace-2k8khapm.js} +5 -5
  26. package/dist/chunks/{persistent-pty-x9yke5vr.js → workspace-2k98hq88.js} +14 -14
  27. package/dist/chunks/{persistent-pty-yysedm6f.js → workspace-2rcafj7k.js} +21 -21
  28. package/dist/chunks/{persistent-pty-t4q75hqt.js → workspace-2tr0nx32.js} +3 -3
  29. package/dist/chunks/{persistent-pty-emhr29ne.js → workspace-2ya4c35z.js} +15 -15
  30. package/dist/chunks/{persistent-pty-q2mbf3pn.js → workspace-2z794wvw.js} +20 -20
  31. package/dist/chunks/{persistent-pty-k41hn50r.js → workspace-33vm7gkt.js} +16 -16
  32. package/dist/chunks/{persistent-pty-6wqpa5p1.js → workspace-34bwsn1r.js} +15 -15
  33. package/dist/chunks/{persistent-pty-6znwa2ze.js → workspace-35hset4p.js} +16 -14
  34. package/dist/chunks/{persistent-pty-25yddszk.js → workspace-395q6j9z.js} +6 -6
  35. package/dist/chunks/{persistent-pty-d4a9a1gx.js → workspace-39v18tkx.js} +14 -14
  36. package/dist/chunks/{persistent-pty-a8nkje97.js → workspace-3a2jzke2.js} +7 -7
  37. package/dist/chunks/{persistent-pty-amtxxzg7.js → workspace-3a9ms3hh.js} +23 -23
  38. package/dist/chunks/{persistent-pty-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{persistent-pty-3hwn7j4h.js → workspace-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{persistent-pty-17d5gh3d.js → workspace-3m1j57ch.js} +32 -32
  41. package/dist/chunks/{persistent-pty-hq42ga31.js → workspace-3scc1v2h.js} +4 -4
  42. package/dist/chunks/{persistent-pty-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{persistent-pty-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{persistent-pty-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{persistent-pty-adeqnqa8.js → workspace-487xqpbs.js} +1 -1
  46. package/dist/chunks/workspace-48ncedfj.js +517 -0
  47. package/dist/chunks/{persistent-pty-btd9bnp8.js → workspace-4c9c6ycn.js} +14 -14
  48. package/dist/chunks/{persistent-pty-sqmmasjp.js → workspace-4drn66za.js} +19 -19
  49. package/dist/chunks/{persistent-pty-eamzdkr9.js → workspace-4qh62hyz.js} +6 -6
  50. package/dist/chunks/{persistent-pty-vh14538p.js → workspace-4xxbrg9e.js} +16 -16
  51. package/dist/chunks/{persistent-pty-54ma36ye.js → workspace-54ma36ye.js} +1 -1
  52. package/dist/chunks/{persistent-pty-n0kentm7.js → workspace-56nvstf3.js} +45 -45
  53. package/dist/chunks/{persistent-pty-vrrq7v3g.js → workspace-57myy5jh.js} +5 -5
  54. package/dist/chunks/{persistent-pty-5b77hntt.js → workspace-5b77hntt.js} +4 -4
  55. package/dist/chunks/{persistent-pty-sk770vk8.js → workspace-5efe86tm.js} +19 -19
  56. package/dist/chunks/{persistent-pty-j0aph1pe.js → workspace-5etnctqg.js} +11 -11
  57. package/dist/chunks/{persistent-pty-s2z0d44b.js → workspace-5fec3t3w.js} +9 -9
  58. package/dist/chunks/{persistent-pty-eqefekej.js → workspace-5m4xzttx.js} +4 -4
  59. package/dist/chunks/{persistent-pty-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{persistent-pty-g0fh3ss2.js → workspace-5tze7dnz.js} +18 -18
  61. package/dist/chunks/{persistent-pty-xxsrzv4p.js → workspace-64ydq5vx.js} +36 -36
  62. package/dist/chunks/{persistent-pty-carh3x97.js → workspace-66q175pd.js} +30 -30
  63. package/dist/chunks/{persistent-pty-6827pfxn.js → workspace-6827pfxn.js} +1 -1
  64. package/dist/chunks/{persistent-pty-vy5j2tyc.js → workspace-68rzgjzt.js} +1 -1
  65. package/dist/chunks/{persistent-pty-rq7yc33n.js → workspace-6as2835f.js} +2 -2
  66. package/dist/chunks/{persistent-pty-55vsgkjg.js → workspace-6fdt7xdh.js} +12 -12
  67. package/dist/chunks/{persistent-pty-zz9094w6.js → workspace-6r4011t4.js} +17 -17
  68. package/dist/chunks/{persistent-pty-r66vvgts.js → workspace-6vmw9wnm.js} +30 -30
  69. package/dist/chunks/{persistent-pty-6xb47vfp.js → workspace-6xb47vfp.js} +1 -1
  70. package/dist/chunks/{persistent-pty-9mawegkx.js → workspace-6yjzvzz7.js} +148 -148
  71. package/dist/chunks/{persistent-pty-0fjq3n4t.js → workspace-70rrh1jt.js} +18 -18
  72. package/dist/chunks/{persistent-pty-s6an5wth.js → workspace-7125243h.js} +22 -22
  73. package/dist/chunks/{persistent-pty-qaswbwd2.js → workspace-724pece3.js} +20 -20
  74. package/dist/chunks/{persistent-pty-wbk0qewy.js → workspace-73wr0wn5.js} +6 -6
  75. package/dist/chunks/{persistent-pty-775gj3j1.js → workspace-775gj3j1.js} +2 -2
  76. package/dist/chunks/{persistent-pty-k0y4bd87.js → workspace-7bmg41hz.js} +24 -24
  77. package/dist/chunks/{persistent-pty-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{persistent-pty-5z5javj1.js → workspace-7d0zaa3e.js} +33 -33
  79. package/dist/chunks/{persistent-pty-vqeemvyx.js → workspace-7j1qnw50.js} +14 -14
  80. package/dist/chunks/{persistent-pty-fcs9x2eq.js → workspace-7nmzr4tw.js} +16 -16
  81. package/dist/chunks/{persistent-pty-zft5sqdw.js → workspace-7sqmcx2n.js} +19 -19
  82. package/dist/chunks/{persistent-pty-s33waz5b.js → workspace-816wrsdg.js} +15 -15
  83. package/dist/chunks/{persistent-pty-k2e5s4re.js → workspace-836dar0r.js} +18 -18
  84. package/dist/chunks/{persistent-pty-84txncab.js → workspace-84txncab.js} +1 -1
  85. package/dist/chunks/{persistent-pty-m662wk7b.js → workspace-85b50y94.js} +3 -3
  86. package/dist/chunks/{persistent-pty-bmc8ajke.js → workspace-8k9sf03v.js} +20 -20
  87. package/dist/chunks/{persistent-pty-8m6m0r52.js → workspace-8m6m0r52.js} +1 -1
  88. package/dist/chunks/{persistent-pty-g4f8ytex.js → workspace-8mc96dk8.js} +7 -7
  89. package/dist/chunks/{persistent-pty-8mywswrd.js → workspace-8mywswrd.js} +1 -1
  90. package/dist/chunks/{persistent-pty-rrt0a0ha.js → workspace-8n9x2wf6.js} +3 -3
  91. package/dist/chunks/{persistent-pty-rkprpv83.js → workspace-8sze2n9a.js} +6 -6
  92. package/dist/chunks/{persistent-pty-j6hdhn3t.js → workspace-9168hh8v.js} +4 -4
  93. package/dist/chunks/{persistent-pty-y40k0vp3.js → workspace-96bcdxrb.js} +16 -16
  94. package/dist/chunks/{persistent-pty-983z13s5.js → workspace-975jhw57.js} +11 -11
  95. package/dist/chunks/{persistent-pty-1wsnph7m.js → workspace-9ey36q4m.js} +9 -9
  96. package/dist/chunks/{persistent-pty-me0hkc2z.js → workspace-9gvb7e77.js} +11 -11
  97. package/dist/chunks/{persistent-pty-a5v8ppv0.js → workspace-9m2z5enk.js} +11 -11
  98. package/dist/chunks/{persistent-pty-a20pjse5.js → workspace-a20pjse5.js} +3 -3
  99. package/dist/chunks/{persistent-pty-edrmdtr5.js → workspace-a2ew8a62.js} +7 -7
  100. package/dist/chunks/{persistent-pty-3h7b0ae1.js → workspace-a3540p22.js} +3 -3
  101. package/dist/chunks/{persistent-pty-cb7pdjkb.js → workspace-abme7df5.js} +32 -32
  102. package/dist/chunks/{persistent-pty-x661k3y3.js → workspace-addxnjmp.js} +4 -4
  103. package/dist/chunks/{persistent-pty-035sr1nw.js → workspace-akdg9baw.js} +20 -20
  104. package/dist/chunks/{persistent-pty-q7468z42.js → workspace-aztr5199.js} +21 -21
  105. package/dist/chunks/{persistent-pty-6e60yqyp.js → workspace-ba3ye61h.js} +26 -26
  106. package/dist/chunks/{persistent-pty-7ht1svp9.js → workspace-be6ka8gp.js} +11 -11
  107. package/dist/chunks/{persistent-pty-2jqwmjzy.js → workspace-betwgrzy.js} +6 -6
  108. package/dist/chunks/{persistent-pty-23zvew7z.js → workspace-bfv9bv9k.js} +6 -6
  109. package/dist/chunks/{persistent-pty-t7errb51.js → workspace-bhkqcsz5.js} +6 -6
  110. package/dist/chunks/{persistent-pty-m9sgcpcv.js → workspace-bhwn3mdf.js} +4 -4
  111. package/dist/chunks/{persistent-pty-whb9jbcp.js → workspace-bm8any7a.js} +13 -13
  112. package/dist/chunks/{persistent-pty-2cd9y53g.js → workspace-bncanr8s.js} +17 -17
  113. package/dist/chunks/{persistent-pty-n26v5e0b.js → workspace-bpa5zts5.js} +22 -22
  114. package/dist/chunks/{persistent-pty-bzeyqsqd.js → workspace-bzeyqsqd.js} +1 -1
  115. package/dist/chunks/{persistent-pty-c41wscbt.js → workspace-c41wscbt.js} +2 -2
  116. package/dist/chunks/{persistent-pty-4zvfssd5.js → workspace-c4vz8ygb.js} +15 -15
  117. package/dist/chunks/{persistent-pty-c8ax2afj.js → workspace-c8ax2afj.js} +2 -2
  118. package/dist/chunks/{persistent-pty-w7vq87x6.js → workspace-ck2p3d1n.js} +16 -16
  119. package/dist/chunks/{persistent-pty-3y24yfnm.js → workspace-ckxsmqkn.js} +9 -9
  120. package/dist/chunks/{persistent-pty-tpw6cwsb.js → workspace-cmwkp3r5.js} +8 -8
  121. package/dist/chunks/{persistent-pty-7k2k32yg.js → workspace-cp9v0ke2.js} +9 -9
  122. package/dist/chunks/workspace-csaj70e7.js +257 -0
  123. package/dist/chunks/{persistent-pty-tv4xwgy3.js → workspace-d4cpb889.js} +24 -24
  124. package/dist/chunks/{persistent-pty-cwa6csj7.js → workspace-d4he2qe1.js} +9 -9
  125. package/dist/chunks/{persistent-pty-3f2ed3kj.js → workspace-dbws17em.js} +46 -46
  126. package/dist/chunks/{persistent-pty-qkt0m9pt.js → workspace-dfk2fy4x.js} +27 -27
  127. package/dist/chunks/workspace-dhzfkndg.js +26 -0
  128. package/dist/chunks/{persistent-pty-sxvetcyn.js → workspace-dtqb8q68.js} +28 -28
  129. package/dist/chunks/{persistent-pty-3dk6vdcf.js → workspace-dzmd97ab.js} +10 -10
  130. package/dist/chunks/{persistent-pty-5qd3pb7m.js → workspace-e3qxr5gk.js} +2 -2
  131. package/dist/chunks/{persistent-pty-n87gffhn.js → workspace-e75nwzcy.js} +9 -9
  132. package/dist/chunks/{persistent-pty-yp2x3t23.js → workspace-e7gxy7fd.js} +2 -12
  133. package/dist/chunks/{persistent-pty-phvw6tnp.js → workspace-e8ajnka6.js} +23 -23
  134. package/dist/chunks/{persistent-pty-r2z489rp.js → workspace-ed1g29hy.js} +3 -3
  135. package/dist/chunks/{persistent-pty-x6msxz42.js → workspace-eddee9wq.js} +21 -21
  136. package/dist/chunks/{persistent-pty-eej6y6fw.js → workspace-eej6y6fw.js} +2 -2
  137. package/dist/chunks/{persistent-pty-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{persistent-pty-4e4yjs3s.js → workspace-ema7vtfw.js} +1 -1
  139. package/dist/chunks/{persistent-pty-s670sq9m.js → workspace-epmjqtn9.js} +6 -6
  140. package/dist/chunks/{persistent-pty-es1vcfrp.js → workspace-es1vcfrp.js} +3 -3
  141. package/dist/chunks/{persistent-pty-3ssz1k3q.js → workspace-ez7s6tte.js} +8 -8
  142. package/dist/chunks/{persistent-pty-nyydq7ew.js → workspace-f2d84ktx.js} +5 -5
  143. package/dist/chunks/{persistent-pty-4ghta6c5.js → workspace-f7taj08h.js} +12 -12
  144. package/dist/chunks/{persistent-pty-cjx84n6d.js → workspace-fbwehany.js} +24 -24
  145. package/dist/chunks/{persistent-pty-fcy631f0.js → workspace-fcy631f0.js} +1 -1
  146. package/dist/chunks/{persistent-pty-j4fafyv9.js → workspace-fj1y8zh4.js} +14 -14
  147. package/dist/chunks/{persistent-pty-nd4tfyg0.js → workspace-g686f6pq.js} +9 -9
  148. package/dist/chunks/{persistent-pty-edx5d1yh.js → workspace-g6fhhb6h.js} +9 -9
  149. package/dist/chunks/{persistent-pty-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{persistent-pty-b39zvbqb.js → workspace-gd8r8nhp.js} +14 -14
  151. package/dist/chunks/{persistent-pty-a546n9dx.js → workspace-gjg41fb3.js} +1 -1
  152. package/dist/chunks/{persistent-pty-y8p4cb47.js → workspace-gp18yva6.js} +18 -18
  153. package/dist/chunks/{persistent-pty-q37amjjg.js → workspace-grvpncm1.js} +8 -8
  154. package/dist/chunks/{persistent-pty-v40z4tye.js → workspace-gvywkdtv.js} +44 -44
  155. package/dist/chunks/{persistent-pty-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{persistent-pty-hsnnjyxg.js → workspace-ha9ebeck.js} +18 -18
  157. package/dist/chunks/{persistent-pty-xcd0eash.js → workspace-hdab2k61.js} +6 -6
  158. package/dist/chunks/{persistent-pty-jfp883ba.js → workspace-hfee8c4k.js} +3 -3
  159. package/dist/chunks/{persistent-pty-sqk4q3nv.js → workspace-hfg4raen.js} +11 -11
  160. package/dist/chunks/{persistent-pty-hgz4x7wa.js → workspace-hgz4x7wa.js} +1 -1
  161. package/dist/chunks/{persistent-pty-yf9n42xk.js → workspace-hkfp1kbx.js} +6 -6
  162. package/dist/chunks/{persistent-pty-xda8t08s.js → workspace-hkr9khf6.js} +15 -15
  163. package/dist/chunks/{persistent-pty-g8mv3vbb.js → workspace-j6ktnsbj.js} +12 -12
  164. package/dist/chunks/{persistent-pty-tcyndk34.js → workspace-jekwsxa3.js} +13 -13
  165. package/dist/chunks/{persistent-pty-wgahhr0x.js → workspace-jnsr04qk.js} +8 -8
  166. package/dist/chunks/{persistent-pty-rs9qg7cf.js → workspace-jrnftmvm.js} +9 -9
  167. package/dist/chunks/{persistent-pty-asnz67s1.js → workspace-jthjdk0j.js} +32 -32
  168. package/dist/chunks/{persistent-pty-gbe60986.js → workspace-jw98zwm9.js} +12 -12
  169. package/dist/chunks/{persistent-pty-aqebbdxj.js → workspace-k189p03s.js} +18 -18
  170. package/dist/chunks/{persistent-pty-36qpgp0j.js → workspace-k80rnbms.js} +3 -3
  171. package/dist/chunks/{persistent-pty-xnc4q7tf.js → workspace-kaz9m2wt.js} +19 -19
  172. package/dist/chunks/{persistent-pty-ep3f3pzc.js → workspace-kby4jqsa.js} +86 -86
  173. package/dist/chunks/{persistent-pty-hq3c8me3.js → workspace-khmqacep.js} +4 -4
  174. package/dist/chunks/{persistent-pty-mgx30ams.js → workspace-khwgh4fa.js} +13 -13
  175. package/dist/chunks/{persistent-pty-n2srvep7.js → workspace-kkp8zx71.js} +4 -4
  176. package/dist/chunks/{persistent-pty-k9rjnmc5.js → workspace-kntmrtbr.js} +4 -4
  177. package/dist/chunks/{persistent-pty-kwb1v3vj.js → workspace-kwb1v3vj.js} +1 -1
  178. package/dist/chunks/{persistent-pty-pah6vszw.js → workspace-kyz0dcnm.js} +66 -66
  179. package/dist/chunks/{persistent-pty-6d7mtdks.js → workspace-m3zz1pbm.js} +42 -42
  180. package/dist/chunks/{persistent-pty-mxnmfhj8.js → workspace-m7gpjmsn.js} +21 -21
  181. package/dist/chunks/{persistent-pty-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{persistent-pty-maspj1v3.js → workspace-maspj1v3.js} +1 -1
  183. package/dist/chunks/{persistent-pty-5wfxtdqx.js → workspace-mh62zmc2.js} +8 -8
  184. package/dist/chunks/{persistent-pty-fs2f0xkk.js → workspace-mnnf39w5.js} +21 -21
  185. package/dist/chunks/{persistent-pty-514z3gf3.js → workspace-ms7jp0yr.js} +10 -10
  186. package/dist/chunks/{persistent-pty-38963ezr.js → workspace-mwes9mjk.js} +7 -7
  187. package/dist/chunks/{persistent-pty-ty2f7v9a.js → workspace-n663b2j1.js} +10 -10
  188. package/dist/chunks/workspace-n95b3jav.js +18 -0
  189. package/dist/chunks/{persistent-pty-93c0dbkk.js → workspace-nd71w6g8.js} +5 -5
  190. package/dist/chunks/{persistent-pty-2688anfm.js → workspace-np3pwsmz.js} +19 -19
  191. package/dist/chunks/{persistent-pty-nz56sr1f.js → workspace-nz56sr1f.js} +2 -2
  192. package/dist/chunks/{persistent-pty-na1s3jgb.js → workspace-p99p8xsn.js} +21 -21
  193. package/dist/chunks/{persistent-pty-eksc9b63.js → workspace-p9bsq7m2.js} +11 -11
  194. package/dist/chunks/{persistent-pty-7nskfpwv.js → workspace-pck8dycb.js} +24 -24
  195. package/dist/chunks/{persistent-pty-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{persistent-pty-pknna89w.js → workspace-pknna89w.js} +1 -1
  197. package/dist/chunks/{persistent-pty-j15m0rxy.js → workspace-prxnrnem.js} +7 -7
  198. package/dist/chunks/{persistent-pty-3r96jsjz.js → workspace-pvx62cma.js} +12 -12
  199. package/dist/chunks/{persistent-pty-6bazcnan.js → workspace-q1askysg.js} +14 -14
  200. package/dist/chunks/{persistent-pty-z0gbbqnd.js → workspace-q3c4f1my.js} +33 -33
  201. package/dist/chunks/{persistent-pty-1t2v27cd.js → workspace-q6nve0by.js} +41 -41
  202. package/dist/chunks/{persistent-pty-5r7ac250.js → workspace-q74m295h.js} +5 -5
  203. package/dist/chunks/{persistent-pty-qnc92qwc.js → workspace-qnc92qwc.js} +1 -1
  204. package/dist/chunks/{persistent-pty-ygdna4kr.js → workspace-qne3fa44.js} +5 -5
  205. package/dist/chunks/{persistent-pty-j1ycnkr6.js → workspace-qs9m684n.js} +4 -4
  206. package/dist/chunks/{persistent-pty-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  207. package/dist/chunks/{persistent-pty-mm2wf4xp.js → workspace-qtjmb4ab.js} +53 -53
  208. package/dist/chunks/{persistent-pty-9a5j5arz.js → workspace-qwz8s9r3.js} +3 -3
  209. package/dist/chunks/{persistent-pty-45swxcnn.js → workspace-qxyst2j3.js} +28 -28
  210. package/dist/chunks/{persistent-pty-3gdz7m67.js → workspace-rd7mwgeg.js} +39 -39
  211. package/dist/chunks/{persistent-pty-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{persistent-pty-h9rm1rrn.js → workspace-rf80fxgj.js} +5 -5
  213. package/dist/chunks/{persistent-pty-24f3f4ex.js → workspace-rfr6z38x.js} +2 -2
  214. package/dist/chunks/{persistent-pty-5mz3x8vb.js → workspace-rg6srhxk.js} +27 -27
  215. package/dist/chunks/{persistent-pty-5tad8fcc.js → workspace-rjncrwa9.js} +13 -13
  216. package/dist/chunks/{persistent-pty-4y7j986s.js → workspace-rpjgfq5s.js} +9 -9
  217. package/dist/chunks/{persistent-pty-1p3zcfwq.js → workspace-rz8vj7wk.js} +11 -11
  218. package/dist/chunks/{persistent-pty-0996nyz8.js → workspace-s1kvmffy.js} +9 -9
  219. package/dist/chunks/{persistent-pty-ydkcdr9n.js → workspace-s5m70yjn.js} +28 -28
  220. package/dist/chunks/{persistent-pty-8058wneq.js → workspace-s5zm3kz6.js} +15 -15
  221. package/dist/chunks/{persistent-pty-ef9fmmj9.js → workspace-sbcg8x13.js} +9 -9
  222. package/dist/chunks/{persistent-pty-sm301jd3.js → workspace-sc4cwva4.js} +5 -5
  223. package/dist/chunks/{persistent-pty-w1w1g3rz.js → workspace-sd1a0922.js} +11 -11
  224. package/dist/chunks/{persistent-pty-x39rm370.js → workspace-sfm14d1e.js} +21 -21
  225. package/dist/chunks/{persistent-pty-cpccs97c.js → workspace-sg2n288w.js} +33 -33
  226. package/dist/chunks/{persistent-pty-5y480sgp.js → workspace-sk5hrgtc.js} +8 -8
  227. package/dist/chunks/{persistent-pty-jg4qz7te.js → workspace-sqwt51e4.js} +24 -24
  228. package/dist/chunks/{persistent-pty-er69x7n9.js → workspace-sv7642z1.js} +42 -42
  229. package/dist/chunks/{persistent-pty-syv4x271.js → workspace-syv4x271.js} +1 -1
  230. package/dist/chunks/{persistent-pty-t1ndffwz.js → workspace-szyc73at.js} +11 -11
  231. package/dist/chunks/{persistent-pty-t550f9t1.js → workspace-t550f9t1.js} +1 -1
  232. package/dist/chunks/{persistent-pty-33b5xt83.js → workspace-t9g5qx6x.js} +3 -3
  233. package/dist/chunks/{persistent-pty-sx8q409h.js → workspace-tanf9p38.js} +50 -50
  234. package/dist/chunks/{persistent-pty-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{persistent-pty-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{persistent-pty-tdstcens.js → workspace-tdstcens.js} +1 -1
  237. package/dist/chunks/{persistent-pty-5xqqgpy7.js → workspace-tjkhcpzj.js} +6 -6
  238. package/dist/chunks/{persistent-pty-2saep75g.js → workspace-tjqn214s.js} +8 -8
  239. package/dist/chunks/{persistent-pty-vpzmhxff.js → workspace-tk9s4v6e.js} +9 -9
  240. package/dist/chunks/{persistent-pty-tkb22qbm.js → workspace-tkb22qbm.js} +2 -2
  241. package/dist/chunks/{persistent-pty-tm0kqsz3.js → workspace-tm0kqsz3.js} +1 -1
  242. package/dist/chunks/{persistent-pty-mk51tt9h.js → workspace-tqt8bre9.js} +13 -13
  243. package/dist/chunks/{persistent-pty-v9dvedb1.js → workspace-tvanmaph.js} +13 -13
  244. package/dist/chunks/{persistent-pty-makc3bj9.js → workspace-tvpcregj.js} +14 -14
  245. package/dist/chunks/{persistent-pty-tyytaxap.js → workspace-tyytaxap.js} +1 -1
  246. package/dist/chunks/{persistent-pty-x8ga927e.js → workspace-v210v162.js} +7 -7
  247. package/dist/chunks/{persistent-pty-v7p4zvkq.js → workspace-v7p4zvkq.js} +2 -2
  248. package/dist/chunks/{persistent-pty-9m1d1fqb.js → workspace-vbdmbvtf.js} +9 -9
  249. package/dist/chunks/{persistent-pty-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  250. package/dist/chunks/{persistent-pty-5bes61s4.js → workspace-vez48pfx.js} +47 -47
  251. package/dist/chunks/{persistent-pty-mxfgkdzc.js → workspace-vfextq23.js} +16 -16
  252. package/dist/chunks/{persistent-pty-mywch70t.js → workspace-vfnd3k6z.js} +36 -36
  253. package/dist/chunks/{persistent-pty-ny7egkeb.js → workspace-vfs981a1.js} +34 -34
  254. package/dist/chunks/{persistent-pty-vhgfq7sf.js → workspace-vk5se0kv.js} +20 -20
  255. package/dist/chunks/{persistent-pty-86sh86sv.js → workspace-vvvbxd1g.js} +15 -15
  256. package/dist/chunks/{persistent-pty-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
  257. package/dist/chunks/{persistent-pty-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{persistent-pty-ye0tt9gc.js → workspace-wa8h6qzv.js} +4 -4
  259. package/dist/chunks/{persistent-pty-wd87259q.js → workspace-wd87259q.js} +1 -1
  260. package/dist/chunks/{persistent-pty-1fj32kga.js → workspace-weqr8f9h.js} +6 -6
  261. package/dist/chunks/{persistent-pty-vqsk1a30.js → workspace-wjkmnf2c.js} +15 -15
  262. package/dist/chunks/{persistent-pty-drdy3fh6.js → workspace-x1h8xjp6.js} +4 -4
  263. package/dist/chunks/{persistent-pty-8e9wk3v6.js → workspace-x22cxzrs.js} +2 -2
  264. package/dist/chunks/{persistent-pty-b5wyey98.js → workspace-x4mvkh9e.js} +33 -33
  265. package/dist/chunks/{persistent-pty-pzs9fcbn.js → workspace-xahh758q.js} +84 -84
  266. package/dist/chunks/{persistent-pty-fx5bd5w2.js → workspace-xed622nd.js} +24 -24
  267. package/dist/chunks/{persistent-pty-pv0cg4pn.js → workspace-xejgt214.js} +13 -13
  268. package/dist/chunks/{persistent-pty-drwq78ky.js → workspace-xfkkasph.js} +4 -4
  269. package/dist/chunks/{persistent-pty-xaazkcd4.js → workspace-xvm099w8.js} +19 -19
  270. package/dist/chunks/{persistent-pty-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{persistent-pty-wa9g86nq.js → workspace-y5rf7nzv.js} +4 -4
  272. package/dist/chunks/{persistent-pty-y71avatq.js → workspace-y71avatq.js} +1 -1
  273. package/dist/chunks/{persistent-pty-mb1r8vg9.js → workspace-y9ajbnt7.js} +29 -29
  274. package/dist/chunks/{persistent-pty-3cqwnyj9.js → workspace-ynmknp8q.js} +11 -11
  275. package/dist/chunks/{persistent-pty-msxpg58k.js → workspace-yrp0ypz1.js} +3 -3
  276. package/dist/chunks/{persistent-pty-1ffvrpkg.js → workspace-ywt8jp22.js} +6 -6
  277. package/dist/chunks/{persistent-pty-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{persistent-pty-4071dj26.js → workspace-z0efhj86.js} +8 -8
  279. package/dist/chunks/{persistent-pty-583x3kah.js → workspace-z0w4h7pg.js} +15 -15
  280. package/dist/chunks/{persistent-pty-z18fegx4.js → workspace-z18fegx4.js} +1 -1
  281. package/dist/chunks/{persistent-pty-t4b6mted.js → workspace-z2rrnsn5.js} +2 -2
  282. package/dist/chunks/{persistent-pty-rzs3gq0x.js → workspace-z733aene.js} +8 -8
  283. package/dist/chunks/{persistent-pty-hsm9kfyy.js → workspace-z7jj2nw1.js} +20 -20
  284. package/dist/chunks/{persistent-pty-k76fn4kw.js → workspace-zav06jzw.js} +4 -4
  285. package/dist/chunks/{persistent-pty-0jmk01at.js → workspace-zqwp0gg4.js} +17 -17
  286. package/dist/chunks/{persistent-pty-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{persistent-pty-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +208 -208
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +81 -81
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +219 -219
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +100 -100
  429. package/dist/form.js +82 -82
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +106 -106
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +147 -147
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +129 -129
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +98 -98
  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 +111 -111
  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 +90 -90
  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 +212 -212
  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 +104 -104
  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 +114 -114
  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 +100 -100
  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 +168 -168
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  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 +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +223 -223
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +90 -90
  563. package/dist/provider.js +97 -97
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +103 -103
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +91 -91
  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 +138 -138
  578. package/dist/session/context.js +155 -155
  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 +215 -215
  584. package/dist/session/execution.js +129 -129
  585. package/dist/session/generate.js +157 -157
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +93 -93
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  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 +120 -120
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +131 -131
  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 +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -225
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +126 -126
  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 +164 -164
  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 +206 -206
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +157 -157
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +211 -211
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +212 -212
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +95 -95
  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 +130 -130
  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 +124 -124
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +122 -122
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +211 -211
  648. package/dist/tool/plugin/skill.js +107 -107
  649. package/dist/tool/plugin/subagent.js +213 -213
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +112 -112
  652. package/dist/tool/plugin/websearch.js +114 -114
  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 +5 -5
  657. package/dist/tool.js +14 -14
  658. package/dist/types/job.d.ts +1 -0
  659. package/dist/types/location-activity.d.ts +2 -1
  660. package/dist/types/session/execution.d.ts +2 -5
  661. package/dist/types/session/run-coordinator.d.ts +2 -5
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/error.js +1 -1
  664. package/dist/util/git-executable.js +2 -2
  665. package/dist/util/iife.js +1 -1
  666. package/dist/util/lazy.js +1 -1
  667. package/dist/util/slug.js +1 -1
  668. package/dist/util/token.js +1 -1
  669. package/dist/util/which.js +1 -1
  670. package/dist/util/wildcard.js +1 -1
  671. package/dist/v1/config/agent.js +7 -7
  672. package/dist/v1/config/command.js +5 -5
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +94 -94
  676. package/dist/v1/config/permission.js +7 -7
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/variant.js +95 -95
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +91 -91
  683. package/dist/voice.js +88 -88
  684. package/dist/websearch.js +84 -84
  685. package/dist/wellknown/plugin.js +78 -78
  686. package/dist/wellknown.js +79 -79
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +84 -84
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +91 -91
  694. package/dist/worktree.js +100 -100
  695. package/package.json +8 -8
  696. package/dist/chunks/persistent-pty-5wm8vv17.js +0 -257
  697. package/dist/chunks/persistent-pty-9sh4wc5j.js +0 -18
  698. package/dist/chunks/persistent-pty-a3q4bfq8.js +0 -26
  699. package/dist/chunks/persistent-pty-rety19fn.js +0 -517
  700. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-24dcb14g.js → workspace-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-2bv980vf.js → workspace-2bv980vf.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-3asan66x.js → workspace-3asan66x.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-3t0ybcrp.js → workspace-3t0ybcrp.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-53557ph1.js → workspace-53557ph1.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-6prwharc.js → workspace-6prwharc.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-822emrt2.js → workspace-822emrt2.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-84wd9syh.js → workspace-84wd9syh.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-df08tz66.js → workspace-df08tz66.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-g86h250q.js → workspace-g86h250q.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-gftt206x.js → workspace-gftt206x.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-hcxmzztb.js → workspace-hcxmzztb.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-hk9envan.js → workspace-hk9envan.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-jze0r7bz.js → workspace-jze0r7bz.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-m18g726c.js → workspace-m18g726c.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-pkyv6v7h.js → workspace-pkyv6v7h.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-pyv0edze.js → workspace-pyv0edze.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-ve7vex1e.js → workspace-ve7vex1e.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-wjj7prxr.js → workspace-wjj7prxr.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-x61499pn.js → workspace-x61499pn.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-y8f7s663.js → workspace-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{persistent-pty-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
  800. /package/dist/chunks/{persistent-pty-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./persistent-pty-hq42ga31.js";
4
+ } from "./workspace-3scc1v2h.js";
5
5
  import {
6
6
  __export
7
- } from "./persistent-pty-9rqn6x4v.js";
7
+ } from "./workspace-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -17,16 +17,16 @@ __export(exports_form, {
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
19
  ID: () => ID15,
20
- Info: () => Info25,
20
+ Info: () => Info26,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError10,
23
+ NotFoundError: () => NotFoundError11,
24
24
  Reply: () => Reply3,
25
- Service: () => Service75,
25
+ Service: () => Service80,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer27,
29
- node: () => node78,
28
+ layer: () => layer28,
29
+ node: () => node84,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
@@ -36,7 +36,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
38
  var ID15 = Form.ID;
39
- var Info25 = Form.Info;
39
+ var Info26 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,7 +44,7 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
47
+ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
48
  id: ID15
49
49
  }) {
50
50
  get message() {
@@ -79,16 +79,16 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service75 extends Context.Service()("@opencode/Form") {
82
+ class Service80 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service75, Effect.gen(function* () {
84
+ var layer28 = Layer.effect(Service80, 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 NotFoundError10({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
93
  const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service75, 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 Service75.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service80.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node78 = makeLocationNode({ service: Service75, layer: layer27, deps: [node89] });
167
+ var node84 = makeLocationNode({ service: Service80, 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, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer27, node78, validateAnswer2, validateFields2, exports_form, Event20 };
319
+ export { ID15, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service80, layer28, node84, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./persistent-pty-z5v4ffb3.js";
5
+ } from "./workspace-z5v4ffb3.js";
6
6
  import {
7
- Service80,
8
- node83
9
- } from "./persistent-pty-fx5bd5w2.js";
7
+ Service71,
8
+ node73
9
+ } from "./workspace-xed622nd.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./persistent-pty-maspj1v3.js";
12
+ } from "./workspace-maspj1v3.js";
13
13
  import {
14
14
  __export
15
- } from "./persistent-pty-9rqn6x4v.js";
15
+ } from "./workspace-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service79,
24
- node: () => node82
23
+ Service: () => Service21,
24
+ node: () => node23
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service79 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service21 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service79, Effect.gen(function* () {
67
- const environment = yield* Service80;
66
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
67
+ const environment = yield* Service71;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service79.of({
95
+ return Service21.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node82 = makeLocationNode({ service: Service79, layer, deps: [node83, RipgrepBinary2.node] });
178
+ var node23 = makeLocationNode({ service: Service21, layer, deps: [node73, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service79, node82, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service21, node23, exports_ripgrep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./persistent-pty-sx8q409h.js";
3
+ } from "./workspace-tanf9p38.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./persistent-pty-pkyv6v7h.js";
6
+ } from "./workspace-pkyv6v7h.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID9
3
- } from "./persistent-pty-s6an5wth.js";
2
+ ID8
3
+ } from "./workspace-7125243h.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./persistent-pty-z5v4ffb3.js";
6
+ } from "./workspace-z5v4ffb3.js";
7
7
  import {
8
- Info7
9
- } from "./persistent-pty-3cqwnyj9.js";
8
+ Info15
9
+ } from "./workspace-ynmknp8q.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./persistent-pty-k9rjnmc5.js";
12
+ } from "./workspace-kntmrtbr.js";
13
13
  import {
14
14
  latest2,
15
- Service39
16
- } from "./persistent-pty-er69x7n9.js";
15
+ Service67
16
+ } from "./workspace-sv7642z1.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./persistent-pty-8m6m0r52.js";
19
+ } from "./workspace-8m6m0r52.js";
20
20
  import {
21
21
  __export
22
- } from "./persistent-pty-9rqn6x4v.js";
22
+ } from "./workspace-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent2 = {};
26
- __export(exports_agent2, {
27
- ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin38
25
+ var exports_agent = {};
26
+ __export(exports_agent, {
27
+ ConfigAgentPlugin: () => exports_agent,
28
+ Plugin: () => Plugin9
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info7);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info15);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin38 = define({
47
+ var Plugin9 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service39;
50
+ const config = yield* Service67;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin38 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID9.make(configuredDefault));
79
+ editor.default(ID8.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID9.make(id);
85
+ const agentID = ID8.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin38, exports_agent2 };
164
+ export { Plugin9, exports_agent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service39
4
- } from "./persistent-pty-er69x7n9.js";
3
+ Service67
4
+ } from "./workspace-sv7642z1.js";
5
5
  import {
6
6
  __export
7
- } from "./persistent-pty-9rqn6x4v.js";
7
+ } from "./workspace-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin26,
12
+ Plugin: () => Plugin49,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin26 = define({
22
+ var Plugin49 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service39;
25
+ const config = yield* Service67;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin26 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin26, exports_warming };
99
+ export { Plugin49, exports_warming };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/session/recent-text.ts
6
6
  var exports_recent_text = {};
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID8 = Session.ID;
5
- var Info17 = Session.Info;
4
+ var ID9 = Session.ID;
5
+ var Info19 = Session.Info;
6
6
 
7
- export { ID8, Info17, SessionSchema2 };
7
+ export { ID9, Info19, SessionSchema2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./persistent-pty-drwq78ky.js";
3
+ } from "./workspace-xfkkasph.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin3,
16
+ OpenAIPlugin: () => OpenAIPlugin2,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./persistent-pty-3r96jsjz.js";
3
+ } from "./workspace-pvx62cma.js";
4
4
 
5
5
  // src/plugin/provider/vllm.ts
6
6
  import { Effect, Schema } from "effect";
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
11
11
  max_model_len: Schema.NullOr(Schema.Int)
12
12
  });
13
13
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
14
- var make5 = createLocalProviderPlugin2({
14
+ var make6 = createLocalProviderPlugin2({
15
15
  id: "opencode.provider.vllm",
16
16
  providerID,
17
17
  name: "vLLM",
@@ -26,6 +26,6 @@ var make5 = createLocalProviderPlugin2({
26
26
  context: item.max_model_len
27
27
  })
28
28
  });
29
- var VLLMPlugin2 = make5();
29
+ var VLLMPlugin2 = make6();
30
30
 
31
- export { make5, VLLMPlugin2 };
31
+ export { make6, VLLMPlugin2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./persistent-pty-3h7b0ae1.js";
4
+ } from "./workspace-a3540p22.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./persistent-pty-hq42ga31.js";
8
+ } from "./workspace-3scc1v2h.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./persistent-pty-pknna89w.js";
11
+ } from "./workspace-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./persistent-pty-3zsf4n22.js";
14
+ } from "./workspace-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./persistent-pty-9rqn6x4v.js";
17
+ } from "./workspace-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
@@ -23,12 +23,12 @@ __export(exports_credential, {
23
23
  Event: () => Event19,
24
24
  External: () => External2,
25
25
  ID: () => ID14,
26
- Info: () => Info24,
26
+ Info: () => Info25,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service74,
29
+ Service: () => Service79,
30
30
  Value: () => Value2,
31
- node: () => node77
31
+ node: () => node83
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -43,7 +43,7 @@ var External2 = Credential.External;
43
43
  var Value2 = Credential.Value;
44
44
  var Event19 = Credential.Event;
45
45
 
46
- class Info24 extends Schema.Class("Credential.Info")({
46
+ class Info25 extends Schema.Class("Credential.Info")({
47
47
  id: ID14,
48
48
  integrationID: Integration.ID,
49
49
  label: Schema.String,
@@ -51,16 +51,16 @@ class Info24 extends Schema.Class("Credential.Info")({
51
51
  }) {
52
52
  }
53
53
 
54
- class Service74 extends Context.Service()("@opencode/Credential") {
54
+ class Service79 extends Context.Service()("@opencode/Credential") {
55
55
  }
56
- var layer = Layer.effect(Service74, Effect.gen(function* () {
56
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
57
57
  const db = (yield* Service86).db;
58
58
  const bus = yield* Service85;
59
59
  const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
60
60
  const stored = (row) => {
61
61
  if (!row.integration_id)
62
62
  return;
63
- return new Info24({
63
+ return new Info25({
64
64
  id: row.id,
65
65
  integrationID: row.integration_id,
66
66
  label: row.label,
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
71
71
  const credential = stored(row);
72
72
  return credential ? [credential] : [];
73
73
  });
74
- return Service74.of({
74
+ return Service79.of({
75
75
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
77
77
  get: Effect.fn("Credential.get")(function* (id) {
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
79
79
  return row ? stored(row) : undefined;
80
80
  }),
81
81
  create: Effect.fn("Credential.create")(function* (input) {
82
- const credential = new Info24({
82
+ const credential = new Info25({
83
83
  id: input.id ?? ID14.create(),
84
84
  integrationID: input.integrationID,
85
85
  label: input.label ?? "default",
@@ -204,6 +204,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
204
204
  })
205
205
  });
206
206
  }));
207
- var node77 = makeGlobalNode({ service: Service74, layer, deps: [node90, node89] });
207
+ var node83 = makeGlobalNode({ service: Service79, layer, deps: [node90, node89] });
208
208
 
209
- export { ID14, OAuth3, Key4, External2, Value2, Event19, Info24, Service74, node77, exports_credential };
209
+ export { ID14, OAuth3, Key4, External2, Value2, Event19, Info25, Service79, node83, exports_credential };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./persistent-pty-tazgh4e4.js";
3
+ } from "./workspace-tazgh4e4.js";
4
4
  import {
5
- ID5,
6
- Service49
7
- } from "./persistent-pty-z0gbbqnd.js";
5
+ ID16,
6
+ Service81
7
+ } from "./workspace-q3c4f1my.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./persistent-pty-rrt0a0ha.js";
10
+ } from "./workspace-8n9x2wf6.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./persistent-pty-5xqqgpy7.js";
13
+ } from "./workspace-tjkhcpzj.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./persistent-pty-es1vcfrp.js";
16
+ } from "./workspace-es1vcfrp.js";
17
17
  import {
18
18
  __export
19
- } from "./persistent-pty-9rqn6x4v.js";
19
+ } from "./workspace-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service49;
84
+ const snapshot = yield* Service81;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID5.make(from),
91
- to: ID5.make(to),
90
+ from: ID16.make(from),
91
+ to: ID16.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -3,21 +3,21 @@ import {
3
3
  removed2,
4
4
  make19,
5
5
  diffByKey2
6
- } from "./persistent-pty-t550f9t1.js";
6
+ } from "./workspace-t550f9t1.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize3,
10
10
  namespaceLine2
11
- } from "./persistent-pty-z18fegx4.js";
11
+ } from "./workspace-z18fegx4.js";
12
12
  import {
13
13
  __export
14
- } from "./persistent-pty-9rqn6x4v.js";
14
+ } from "./workspace-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions5 = {};
18
- __export(exports_instructions5, {
19
- CodeModeInstructions: () => exports_instructions5,
20
- make: () => make13,
17
+ var exports_instructions3 = {};
18
+ __export(exports_instructions3, {
19
+ CodeModeInstructions: () => exports_instructions3,
20
+ make: () => make14,
21
21
  render: () => render2,
22
22
  update: () => update3
23
23
  });
@@ -111,7 +111,7 @@ ${render2(current)}`;
111
111
  }
112
112
  var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
- var make13 = (inventory) => {
114
+ var make14 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize3(inventory);
116
116
  return make19({
117
117
  key,
@@ -125,4 +125,4 @@ var make13 = (inventory) => {
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update3, make13, exports_instructions5 };
128
+ export { render2, update3, make14, exports_instructions3 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service39
3
- } from "./persistent-pty-er69x7n9.js";
2
+ Service67
3
+ } from "./workspace-sv7642z1.js";
4
4
  import {
5
- Service78
6
- } from "./persistent-pty-4y7j986s.js";
5
+ Service46
6
+ } from "./workspace-rpjgfq5s.js";
7
7
  import {
8
8
  observe2
9
- } from "./persistent-pty-qsdy395h.js";
9
+ } from "./workspace-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./persistent-pty-9rqn6x4v.js";
12
+ } from "./workspace-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin44
18
+ Plugin: () => Plugin14
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin44 = define({
22
+ var Plugin14 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service39;
26
- const image = yield* Service78;
25
+ const config = yield* Service67;
26
+ const image = yield* Service46;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin44 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin44, exports_image };
46
+ export { Plugin14, exports_image };