@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,31 +1,31 @@
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
  create3
7
- } from "./persistent-pty-rdw6cm16.js";
7
+ } from "./workspace-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./workspace-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command5 = {};
14
- __export(exports_command5, {
15
- Command: () => exports_command5,
13
+ var exports_command4 = {};
14
+ __export(exports_command4, {
15
+ Command: () => exports_command4,
16
16
  Event: () => Event7,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info12,
18
+ Info: () => Info8,
19
19
  NotFoundError: () => NotFoundError5,
20
- Service: () => Service43,
21
- layer: () => layer19,
22
- node: () => node46
20
+ Service: () => Service42,
21
+ layer: () => layer17,
22
+ node: () => node45
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  import { Event as Event7 } from "@opencode/schema/command";
28
- var Info12 = Command.Info;
28
+ var Info8 = Command.Info;
29
29
 
30
30
  class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service43 extends Context.Service()("@opencode/Command") {
42
+ class Service42 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer19 = Layer.effect(Service43, Effect.gen(function* () {
44
+ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
45
45
  const bus = yield* Service85;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service43, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info12.make({
54
+ const info = (definition) => Info8.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service43.of({
58
+ return Service42.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -71,9 +71,9 @@ var layer19 = Layer.effect(Service43, Effect.gen(function* () {
71
71
  })
72
72
  });
73
73
  }));
74
- var node46 = makeLocationNode({
75
- service: Service43,
76
- layer: layer19,
74
+ var node45 = makeLocationNode({
75
+ service: Service42,
76
+ layer: layer17,
77
77
  deps: [node89]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info12, NotFoundError5, ExecutionError2, Service43, layer19, node46, exports_command5, Event7 };
89
+ export { Info8, NotFoundError5, ExecutionError2, Service42, layer17, node45, exports_command4, Event7 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./persistent-pty-gftt206x.js";
3
+ } from "./workspace-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-z5v4ffb3.js";
3
+ } from "./workspace-z5v4ffb3.js";
4
4
  import {
5
- node86
6
- } from "./persistent-pty-g8mv3vbb.js";
5
+ node88
6
+ } from "./workspace-j6ktnsbj.js";
7
7
  import {
8
- Service81,
9
- node84
10
- } from "./persistent-pty-vh14538p.js";
8
+ Service82,
9
+ node86
10
+ } from "./workspace-4xxbrg9e.js";
11
11
  import {
12
12
  create3
13
- } from "./persistent-pty-rdw6cm16.js";
13
+ } from "./workspace-rdw6cm16.js";
14
14
  import {
15
- make15
16
- } from "./persistent-pty-q37amjjg.js";
15
+ make12
16
+ } from "./workspace-grvpncm1.js";
17
17
  import {
18
18
  __export
19
- } from "./persistent-pty-9rqn6x4v.js";
19
+ } from "./workspace-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service48,
24
+ Service: () => Service26,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node51
26
+ node: () => node29
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service48 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service26 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service48, Effect.gen(function* () {
37
- const location = yield* Service81;
36
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
37
+ const location = yield* Service82;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make15;
39
+ const git = yield* make12;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service48.of({ ...state, directory: location.directory });
58
+ return Service26.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node51 = makeLocationNode({
61
- service: Service48,
60
+ var node29 = makeLocationNode({
61
+ service: Service26,
62
62
  layer,
63
- deps: [node84, Global.node, node86, FSUtil.node]
63
+ deps: [node86, Global.node, node88, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service48, node51, exports_strategies };
66
+ export { Service26, node29, exports_strategies };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-t1ndffwz.js";
3
+ } from "./workspace-szyc73at.js";
4
4
  import {
5
5
  Service85
6
- } from "./persistent-pty-hq42ga31.js";
6
+ } from "./workspace-3scc1v2h.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19,
10
- Service74
11
- } from "./persistent-pty-y40k0vp3.js";
10
+ Service79
11
+ } from "./workspace-96bcdxrb.js";
12
12
  import {
13
13
  ID13,
14
14
  MethodID2,
15
- Service73
16
- } from "./persistent-pty-yysedm6f.js";
15
+ Service78
16
+ } from "./workspace-2rcafj7k.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./persistent-pty-pjvnvgmy.js";
20
+ } from "./workspace-pjvnvgmy.js";
21
21
  import {
22
22
  ID12
23
- } from "./persistent-pty-n26v5e0b.js";
23
+ } from "./workspace-bpa5zts5.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./persistent-pty-eamzdkr9.js";
26
+ } from "./workspace-4qh62hyz.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service74;
57
- const integrations = yield* Service73;
56
+ const credentials = yield* Service79;
57
+ const integrations = yield* Service78;
58
58
  const bus = yield* Service85;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./persistent-pty-88xbtdfr.js";
3
+ } from "./workspace-88xbtdfr.js";
4
4
  import {
5
- load4
6
- } from "./persistent-pty-5qd3pb7m.js";
5
+ load5
6
+ } from "./workspace-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event5,
14
+ Event: () => Event13,
15
15
  Native: () => Native3,
16
- Options: () => Options5,
17
- Service: () => Service40,
16
+ Options: () => Options7,
17
+ Service: () => Service68,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured5,
20
+ configured: () => configured7,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer18,
22
+ layer: () => layer25,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node43,
25
+ node: () => node70,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event5 = { Updated: FileSystem.Event.Changed };
36
+ var Event13 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load4());
39
+ return createWrapper(load5());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options5 = Schema.Struct({
56
+ var Options7 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service40 extends Context.Service()("@opencode/Watcher") {
60
+ class Service68 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
65
+ var layer25 = (options) => Layer.effect(Service68, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service40.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service40.of({ subscribe });
108
+ return Service68.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service40).subscribe,
134
+ subscribe: Context.get(context, Service68).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service40, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service68, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured5(options) {
168
- return makeGlobalNode({ service: Service40, layer: layer18(options), deps: [nativeNode2] });
167
+ function configured7(options) {
168
+ return makeGlobalNode({ service: Service68, layer: layer25(options), deps: [nativeNode2] });
169
169
  }
170
- var node43 = configured5();
170
+ var node70 = configured7();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event5, hasNativeBinding2, Native3, Options5, Service40, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured5, node43, exports_watcher };
190
+ export { Event13, hasNativeBinding2, Native3, Options7, Service68, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured7, node70, exports_watcher };
@@ -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/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./persistent-pty-qfa1cgps.js";
3
+ } from "./workspace-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service85
3
- } from "./persistent-pty-hq42ga31.js";
3
+ } from "./workspace-3scc1v2h.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./persistent-pty-mxnmfhj8.js";
6
+ } from "./workspace-m7gpjmsn.js";
7
7
  import {
8
- Service65,
9
- Event13
10
- } from "./persistent-pty-carh3x97.js";
8
+ Service74,
9
+ Event15
10
+ } from "./workspace-66q175pd.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
38
38
  var ModelsDevPlugin2 = define({
39
39
  id: "opencode.models.dev",
40
40
  effect: Effect.fn(function* (ctx) {
41
- const modelsDev = yield* Service65;
41
+ const modelsDev = yield* Service74;
42
42
  const bus = yield* Service85;
43
43
  const loaded = { data: snapshots(yield* modelsDev.get()) };
44
44
  yield* ctx.integration.transform((integrations) => {
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
72
72
  loaded.data = snapshots(data);
73
73
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
74
74
  };
75
- yield* bus.subscribe(Event13.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
75
+ yield* bus.subscribe(Event15.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
76
76
  const latest = yield* modelsDev.get();
77
77
  if (snapshots(latest) !== loaded.data)
78
78
  yield* apply(latest);
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service81
3
- } from "./persistent-pty-vh14538p.js";
2
+ Service82
3
+ } from "./workspace-4xxbrg9e.js";
4
4
  import {
5
5
  ID11,
6
6
  Family2
7
- } from "./persistent-pty-mxnmfhj8.js";
7
+ } from "./workspace-m7gpjmsn.js";
8
8
  import {
9
- Service39
10
- } from "./persistent-pty-er69x7n9.js";
9
+ Service67
10
+ } from "./workspace-sv7642z1.js";
11
11
  import {
12
- Service80
13
- } from "./persistent-pty-fx5bd5w2.js";
12
+ Service71
13
+ } from "./workspace-xed622nd.js";
14
14
  import {
15
15
  spawner2
16
- } from "./persistent-pty-hq3c8me3.js";
16
+ } from "./workspace-khmqacep.js";
17
17
  import {
18
18
  foldSettings2
19
- } from "./persistent-pty-eamzdkr9.js";
19
+ } from "./workspace-4qh62hyz.js";
20
20
 
21
21
  // src/plugin/provider/local.ts
22
22
  import { define } from "@opencode/plugin/effect/plugin";
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
32
32
  id: input.id,
33
33
  effect: Effect.fn(function* (ctx) {
34
34
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
35
- const config = yield* Service39;
36
- const environment = yield* Effect.serviceOption(Service80);
37
- const location = yield* Effect.serviceOption(Service81);
35
+ const config = yield* Service67;
36
+ const environment = yield* Effect.serviceOption(Service71);
37
+ const location = yield* Effect.serviceOption(Service82);
38
38
  const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
39
39
  const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
40
40
  const loaded = { models: [], hash: "[]" };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./persistent-pty-zr2ceqn5.js";
3
+ } from "./workspace-zr2ceqn5.js";
4
4
  import {
5
- Service40
6
- } from "./persistent-pty-7nskfpwv.js";
5
+ Service68
6
+ } from "./workspace-pck8dycb.js";
7
7
  import {
8
- Service39
9
- } from "./persistent-pty-er69x7n9.js";
8
+ Service67
9
+ } from "./workspace-sv7642z1.js";
10
10
  import {
11
- Service64,
11
+ Service20,
12
12
  statements2,
13
13
  decision2
14
- } from "./persistent-pty-h03re434.js";
14
+ } from "./workspace-15rpx8aj.js";
15
15
  import {
16
16
  __export
17
- } from "./persistent-pty-9rqn6x4v.js";
17
+ } from "./workspace-9rqn6x4v.js";
18
18
 
19
19
  // src/plugin/module.ts
20
20
  var exports_module = {};
21
21
  __export(exports_module, {
22
22
  LoadError: () => LoadError2,
23
23
  PluginModule: () => exports_module,
24
- make: () => make8
24
+ make: () => make10
25
25
  });
26
26
  import { Host } from "@opencode/plugin/host";
27
27
  import { createPluginSources } from "@opencode/plugin/source";
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
30
30
  import path from "path";
31
31
  import { stat } from "node:fs/promises";
32
32
  import { fileURLToPath, pathToFileURL } from "url";
33
- var make8 = Effect.fn("PluginModule.make")(function* () {
34
- const config = yield* Service39;
35
- const managed = yield* Service64;
36
- const watcher = yield* Service40;
33
+ var make10 = Effect.fn("PluginModule.make")(function* () {
34
+ const config = yield* Service67;
35
+ const managed = yield* Service20;
36
+ const watcher = yield* Service68;
37
37
  const scope = yield* Effect.scope;
38
38
  const runPromise = yield* FiberSet.makeRuntimePromise();
39
39
  const changes = yield* PubSub.unbounded();
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
118
118
  };
119
119
  });
120
120
 
121
- export { make8, LoadError2, exports_module };
121
+ export { make10, LoadError2, exports_module };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./persistent-pty-z5v4ffb3.js";
4
+ } from "./workspace-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service83,
9
- node86
10
- } from "./persistent-pty-g8mv3vbb.js";
8
+ Service84,
9
+ node88
10
+ } from "./workspace-j6ktnsbj.js";
11
11
  import {
12
- Service81,
13
- node84
14
- } from "./persistent-pty-vh14538p.js";
12
+ Service82,
13
+ node86
14
+ } from "./workspace-4xxbrg9e.js";
15
15
  import {
16
16
  create3
17
- } from "./persistent-pty-rdw6cm16.js";
17
+ } from "./workspace-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./persistent-pty-9rqn6x4v.js";
20
+ } from "./workspace-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID5,
27
- Service: () => Service49,
25
+ Error: () => Error5,
26
+ ID: () => ID16,
27
+ Service: () => Service81,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node52,
30
- noopLayer: () => noopLayer2
29
+ node: () => node85,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID16 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error5 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service49 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service81 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service49, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service83;
50
+ const git = yield* Service84;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service81;
52
+ const location = yield* Service82;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID5.make(tree);
99
+ return ID16.make(tree);
100
100
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
101
101
  });
102
102
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
136
136
  for (const [file, snapshot] of input.files) {
137
137
  const absolute = path.resolve(worktree, file);
138
138
  if (!FSUtil.contains(worktree, absolute))
139
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
139
+ return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
140
140
  files.set(file, TreeID2.make(snapshot));
141
141
  }
142
142
  return files;
143
143
  });
144
144
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
145
145
  if (!enabled())
146
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
146
+ return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
147
147
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
148
148
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
149
149
  });
150
- return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
150
+ return Service81.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
151
151
  }).pipe(Effect.withSpan("Snapshot.boot")));
152
- var node52 = makeLocationNode({
153
- service: Service49,
152
+ var node85 = makeLocationNode({
153
+ service: Service81,
154
154
  layer,
155
- deps: [FSUtil.node, node86, Global.node, node84]
155
+ deps: [FSUtil.node, node88, Global.node, node86]
156
156
  });
157
- var noopLayer2 = Layer.succeed(Service49, Service49.of({
157
+ var noopLayer3 = Layer.succeed(Service81, Service81.of({
158
158
  transform: () => Effect.succeed({ dispose: Effect.void }),
159
159
  reload: () => Effect.void,
160
160
  capture: () => Effect.undefined,
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service49, Service49.of({
163
163
  restore: () => Effect.void
164
164
  }));
165
165
  function failure(operation, cause) {
166
- if (cause instanceof Error3 && cause.operation === operation)
166
+ if (cause instanceof Error5 && cause.operation === operation)
167
167
  return cause;
168
- return new Error3({
168
+ return new Error5({
169
169
  operation,
170
170
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
171
171
  cause
172
172
  });
173
173
  }
174
174
 
175
- export { ID5, Error3, Service49, node52, noopLayer2, exports_snapshot2 };
175
+ export { ID16, Error5, Service81, node85, noopLayer3, exports_snapshot2 };