@opencode/core 0.0.0-dev-286 → 0.0.0-dev-287

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 (840) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +91 -91
  3. package/dist/aisdk-native.js +101 -101
  4. package/dist/aisdk.js +107 -107
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +83 -83
  7. package/dist/chunks/{worktree-q2nqdedq.js → snapshot-01x5qw2q.js} +9 -9
  8. package/dist/chunks/{worktree-034tev2y.js → snapshot-034tev2y.js} +2 -2
  9. package/dist/chunks/{worktree-t4zc915k.js → snapshot-04hfgynr.js} +17 -17
  10. package/dist/chunks/{worktree-gnm090bx.js → snapshot-054thd3h.js} +11 -11
  11. package/dist/chunks/{worktree-zay1k5wv.js → snapshot-070e0tpn.js} +17 -17
  12. package/dist/chunks/{worktree-hyns4byn.js → snapshot-07xh8nyv.js} +28 -28
  13. package/dist/chunks/{worktree-tx8ht019.js → snapshot-0fdchs18.js} +15 -15
  14. package/dist/chunks/{worktree-sqjzf8x2.js → snapshot-0j7gp832.js} +4 -4
  15. package/dist/chunks/{worktree-360wd41x.js → snapshot-0kgdmrak.js} +27 -27
  16. package/dist/chunks/{worktree-bda28c86.js → snapshot-0qe29vfs.js} +17 -17
  17. package/dist/chunks/{worktree-3wq0w81j.js → snapshot-0shtyb57.js} +22 -22
  18. package/dist/chunks/{worktree-80kgc7k1.js → snapshot-18856ak1.js} +32 -32
  19. package/dist/chunks/{worktree-1aqsckx4.js → snapshot-1aqsckx4.js} +1 -1
  20. package/dist/chunks/{worktree-1ep2p91f.js → snapshot-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{worktree-9t9nbwt3.js → snapshot-1hsgd8ch.js} +32 -32
  22. package/dist/chunks/{worktree-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{worktree-m7zsfgfm.js → snapshot-1ygds395.js} +21 -21
  24. package/dist/chunks/{worktree-1yq9hg58.js → snapshot-1yq9hg58.js} +1 -1
  25. package/dist/chunks/{worktree-gfhpa9gk.js → snapshot-1zwvgbbx.js} +43 -43
  26. package/dist/chunks/{worktree-204s3925.js → snapshot-204s3925.js} +1 -1
  27. package/dist/chunks/{worktree-b85szd7h.js → snapshot-216cdjjz.js} +12 -12
  28. package/dist/chunks/{worktree-9t20sdzg.js → snapshot-225e7873.js} +6 -6
  29. package/dist/chunks/{worktree-w2g8c1h4.js → snapshot-231nxj68.js} +40 -40
  30. package/dist/chunks/{worktree-qnqasnye.js → snapshot-26x8chrq.js} +6 -6
  31. package/dist/chunks/{worktree-6sayp01d.js → snapshot-2941zkdf.js} +27 -27
  32. package/dist/chunks/{worktree-0yrht1zy.js → snapshot-29z1cymp.js} +27 -27
  33. package/dist/chunks/{worktree-5w72mvse.js → snapshot-2hz06pja.js} +5 -5
  34. package/dist/chunks/{worktree-w66j29kr.js → snapshot-2qxh2eh1.js} +13 -13
  35. package/dist/chunks/{worktree-kgh589a5.js → snapshot-2r0v86d9.js} +13 -13
  36. package/dist/chunks/{worktree-b9bzekrm.js → snapshot-2xtzk7mm.js} +28 -28
  37. package/dist/chunks/{worktree-7w11hwx0.js → snapshot-38cqfa6z.js} +17 -17
  38. package/dist/chunks/{worktree-cgqrqfdd.js → snapshot-3a7nzvas.js} +11 -11
  39. package/dist/chunks/{worktree-ezgss49s.js → snapshot-3fycf4n6.js} +26 -26
  40. package/dist/chunks/{worktree-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{worktree-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
  42. package/dist/chunks/{worktree-8yazd8jn.js → snapshot-3pazngbb.js} +35 -35
  43. package/dist/chunks/{worktree-xmx7xj34.js → snapshot-3ryz99p0.js} +4 -4
  44. package/dist/chunks/{worktree-n73q7gnv.js → snapshot-3y7ph4ge.js} +23 -23
  45. package/dist/chunks/{worktree-mj3htrn7.js → snapshot-46c8y99h.js} +11 -11
  46. package/dist/chunks/{worktree-w8ps3wcc.js → snapshot-4a5xzjmk.js} +20 -20
  47. package/dist/chunks/{worktree-4dx1dgte.js → snapshot-4dx1dgte.js} +1 -1
  48. package/dist/chunks/{worktree-4gwbv0ae.js → snapshot-4h4vqn4t.js} +4 -4
  49. package/dist/chunks/{worktree-45hyrqvj.js → snapshot-4msmfn5s.js} +8 -8
  50. package/dist/chunks/{worktree-4pyp9zr9.js → snapshot-4pyp9zr9.js} +1 -1
  51. package/dist/chunks/{worktree-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
  52. package/dist/chunks/{worktree-spf8w817.js → snapshot-4zzembfn.js} +5 -5
  53. package/dist/chunks/{worktree-7a1k840q.js → snapshot-51gvghxj.js} +14 -14
  54. package/dist/chunks/{worktree-m7fyhed3.js → snapshot-51rnpyxb.js} +20 -20
  55. package/dist/chunks/{worktree-k0jpvv7x.js → snapshot-5hb443sc.js} +16 -16
  56. package/dist/chunks/{worktree-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{worktree-qr9qsn55.js → snapshot-60waktgz.js} +30 -30
  58. package/dist/chunks/{worktree-7fz6tcfs.js → snapshot-611gy84y.js} +20 -20
  59. package/dist/chunks/{worktree-6esdw8yj.js → snapshot-6esdw8yj.js} +1 -1
  60. package/dist/chunks/{worktree-9k2mwdeg.js → snapshot-6k6232hn.js} +4 -4
  61. package/dist/chunks/{worktree-3776k8q5.js → snapshot-6rqmms3d.js} +11 -11
  62. package/dist/chunks/{worktree-4pw98qd4.js → snapshot-6ss6ngz0.js} +4 -4
  63. package/dist/chunks/{worktree-18g90bpv.js → snapshot-6twykydk.js} +9 -9
  64. package/dist/chunks/{worktree-76cb1hcw.js → snapshot-76cb1hcw.js} +1 -1
  65. package/dist/chunks/{worktree-qk8rxpda.js → snapshot-79j6qarh.js} +8 -8
  66. package/dist/chunks/{worktree-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{worktree-jedcwhf5.js → snapshot-7dyq9a8a.js} +22 -22
  68. package/dist/chunks/{worktree-djd49kbm.js → snapshot-7j6as1n5.js} +2 -2
  69. package/dist/chunks/{worktree-7q0y7xkk.js → snapshot-7kaqz624.js} +11 -11
  70. package/dist/chunks/{worktree-7kr66rt3.js → snapshot-7kr66rt3.js} +1 -1
  71. package/dist/chunks/{worktree-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
  72. package/dist/chunks/{worktree-82h3a1kw.js → snapshot-7xmajcag.js} +22 -22
  73. package/dist/chunks/{worktree-860029p8.js → snapshot-7xymf1gv.js} +11 -11
  74. package/dist/chunks/{worktree-p65b0w7p.js → snapshot-7ys5edjy.js} +20 -20
  75. package/dist/chunks/{worktree-8jne4ghb.js → snapshot-80dydmy6.js} +18 -18
  76. package/dist/chunks/{worktree-k1xjwggj.js → snapshot-84anx1c1.js} +15 -15
  77. package/dist/chunks/{worktree-xr8j28en.js → snapshot-84mcn12y.js} +41 -41
  78. package/dist/chunks/{worktree-sfmvmqfk.js → snapshot-87pmwd6e.js} +3 -3
  79. package/dist/chunks/{worktree-25h84942.js → snapshot-8b3vzgkx.js} +4 -4
  80. package/dist/chunks/{worktree-wyeqency.js → snapshot-8fcbd70c.js} +7 -7
  81. package/dist/chunks/{worktree-qjgzc4b4.js → snapshot-8jztxfpf.js} +4 -4
  82. package/dist/chunks/{worktree-pqv6jrxt.js → snapshot-8ktw2vv7.js} +24 -24
  83. package/dist/chunks/{worktree-0v2kj0w9.js → snapshot-8s98z94r.js} +25 -25
  84. package/dist/chunks/{worktree-rbndg51d.js → snapshot-8shc1k29.js} +6 -6
  85. package/dist/chunks/{worktree-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
  86. package/dist/chunks/{worktree-mf3y8h86.js → snapshot-8y3xkh6a.js} +58 -58
  87. package/dist/chunks/{worktree-90zstvax.js → snapshot-90zstvax.js} +1 -1
  88. package/dist/chunks/{worktree-2db5r0en.js → snapshot-93q5pt8n.js} +5 -5
  89. package/dist/chunks/{worktree-95sp4hdf.js → snapshot-95sp4hdf.js} +1 -1
  90. package/dist/chunks/{worktree-hndjt1e9.js → snapshot-9a2mpknv.js} +11 -11
  91. package/dist/chunks/{worktree-3m85peyv.js → snapshot-9j10ey4x.js} +29 -29
  92. package/dist/chunks/{worktree-xrpfz6f8.js → snapshot-9r0x1bva.js} +9 -9
  93. package/dist/chunks/{worktree-07fp8s5y.js → snapshot-9s7aj0t8.js} +29 -29
  94. package/dist/chunks/{worktree-nxw21s73.js → snapshot-9vy8j3x2.js} +14 -14
  95. package/dist/chunks/{worktree-eyq3zjg1.js → snapshot-9ye5q05h.js} +1 -1
  96. package/dist/chunks/{worktree-rjdkgttt.js → snapshot-a46j35vk.js} +16 -16
  97. package/dist/chunks/{worktree-abbaypxx.js → snapshot-a4j6n3kj.js} +20 -20
  98. package/dist/chunks/{worktree-9yke2vdy.js → snapshot-a7hv09h9.js} +11 -11
  99. package/dist/chunks/{worktree-gg4yr8n1.js → snapshot-a8hyghjg.js} +21 -21
  100. package/dist/chunks/{worktree-pgkwnhrk.js → snapshot-aasdty3y.js} +30 -30
  101. package/dist/chunks/{worktree-97p996b3.js → snapshot-absbpnym.js} +11 -11
  102. package/dist/chunks/{worktree-x8mt7ajg.js → snapshot-ad7r7r6z.js} +32 -32
  103. package/dist/chunks/{worktree-71ygcs51.js → snapshot-amch935v.js} +19 -19
  104. package/dist/chunks/{worktree-w59ytyqq.js → snapshot-askp26bb.js} +9 -9
  105. package/dist/chunks/{worktree-ayjs7tqn.js → snapshot-ayjs7tqn.js} +2 -2
  106. package/dist/chunks/{worktree-hc4wny2n.js → snapshot-b69aeg09.js} +11 -11
  107. package/dist/chunks/{worktree-b6vsg801.js → snapshot-b6vsg801.js} +2 -2
  108. package/dist/chunks/{worktree-nnx8h4m9.js → snapshot-bf7v9sm1.js} +13 -13
  109. package/dist/chunks/{worktree-bstexjd6.js → snapshot-bstexjd6.js} +1 -1
  110. package/dist/chunks/{worktree-5w6mnkbc.js → snapshot-bvbryd13.js} +11 -11
  111. package/dist/chunks/{worktree-2rar789x.js → snapshot-c42zap2t.js} +11 -11
  112. package/dist/chunks/{worktree-cnj75yzs.js → snapshot-c5kjsz6q.js} +4 -4
  113. package/dist/chunks/{worktree-33e1kph9.js → snapshot-cczg5y8j.js} +13 -13
  114. package/dist/chunks/{worktree-d1r5081s.js → snapshot-ce5fknq2.js} +5 -5
  115. package/dist/chunks/{worktree-ts8fcpse.js → snapshot-cefjp1wr.js} +15 -15
  116. package/dist/chunks/{worktree-bgg6fpfq.js → snapshot-cs87y13h.js} +8 -8
  117. package/dist/chunks/{worktree-cwrgdav8.js → snapshot-cwrgdav8.js} +2 -2
  118. package/dist/chunks/{worktree-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
  119. package/dist/chunks/{worktree-thj7mhbr.js → snapshot-da06fgys.js} +15 -15
  120. package/dist/chunks/{worktree-cb1dvkmt.js → snapshot-dg3cm5hs.js} +14 -14
  121. package/dist/chunks/{worktree-dt77769w.js → snapshot-dt77769w.js} +1 -1
  122. package/dist/chunks/{worktree-sqx6yyec.js → snapshot-e4c2h7rv.js} +5 -5
  123. package/dist/chunks/{worktree-e834z07m.js → snapshot-e834z07m.js} +1 -1
  124. package/dist/chunks/{worktree-0b8vrwjw.js → snapshot-e92xqcgs.js} +35 -35
  125. package/dist/chunks/{worktree-gcye4jv7.js → snapshot-eahpwh8e.js} +4 -4
  126. package/dist/chunks/{worktree-qq6sz745.js → snapshot-efpt9zqt.js} +18 -18
  127. package/dist/chunks/{worktree-6nyhrb0p.js → snapshot-eft2x21j.js} +18 -18
  128. package/dist/chunks/{worktree-0q1r2kjj.js → snapshot-emcmxg9g.js} +22 -22
  129. package/dist/chunks/{worktree-xj8tbvnx.js → snapshot-eqbc6p9m.js} +43 -43
  130. package/dist/chunks/{worktree-vmfhgzt5.js → snapshot-eqmd2tfz.js} +7 -7
  131. package/dist/chunks/{worktree-neary136.js → snapshot-esezyxfc.js} +8 -8
  132. package/dist/chunks/{worktree-1y6cskgh.js → snapshot-ev8k392h.js} +39 -39
  133. package/dist/chunks/{worktree-81db11mx.js → snapshot-f62swmga.js} +15 -15
  134. package/dist/chunks/{worktree-2mh92g0w.js → snapshot-f94ey9xe.js} +11 -11
  135. package/dist/chunks/{worktree-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
  136. package/dist/chunks/{worktree-fg9p65nk.js → snapshot-fg9p65nk.js} +2 -2
  137. package/dist/chunks/{worktree-4m8q87vh.js → snapshot-fka08q05.js} +12 -12
  138. package/dist/chunks/{worktree-wp5xvy6f.js → snapshot-fkzmbmqm.js} +34 -34
  139. package/dist/chunks/{worktree-f7n1ssex.js → snapshot-fp83eet1.js} +9 -9
  140. package/dist/chunks/{worktree-0h8y3ex8.js → snapshot-fznmdakp.js} +4 -4
  141. package/dist/chunks/{worktree-mnsxfp09.js → snapshot-g6b7f38h.js} +14 -14
  142. package/dist/chunks/{worktree-rjtdrb56.js → snapshot-g85dk614.js} +14 -14
  143. package/dist/chunks/{worktree-d08zvrj3.js → snapshot-gct456j9.js} +9 -9
  144. package/dist/chunks/{worktree-9gmxhkaz.js → snapshot-gd69t8px.js} +12 -12
  145. package/dist/chunks/{worktree-7dtjcr74.js → snapshot-geabss8y.js} +21 -21
  146. package/dist/chunks/{worktree-xyg4a4db.js → snapshot-gfapne39.js} +5 -5
  147. package/dist/chunks/{worktree-df3kbw4d.js → snapshot-gmbafqg8.js} +16 -16
  148. package/dist/chunks/{worktree-pjb3r7bt.js → snapshot-grg4dqxx.js} +14 -14
  149. package/dist/chunks/{worktree-hgfegmhz.js → snapshot-hgfegmhz.js} +3 -3
  150. package/dist/chunks/{worktree-hh7kjqtw.js → snapshot-hh7kjqtw.js} +1 -1
  151. package/dist/chunks/{worktree-hpg1pkwy.js → snapshot-hpg1pkwy.js} +1 -1
  152. package/dist/chunks/{worktree-cbcbsb56.js → snapshot-hvvf9qw8.js} +6 -6
  153. package/dist/chunks/{worktree-z4ex9h9e.js → snapshot-hzmw3vrs.js} +11 -11
  154. package/dist/chunks/{worktree-jxvtabbt.js → snapshot-j1jds77h.js} +28 -28
  155. package/dist/chunks/{worktree-wacb14vy.js → snapshot-j3y2s533.js} +8 -8
  156. package/dist/chunks/{worktree-ag4vvxdv.js → snapshot-j5awqcra.js} +5 -5
  157. package/dist/chunks/{worktree-6xk3x19f.js → snapshot-j5fp2wkk.js} +85 -85
  158. package/dist/chunks/{worktree-ja63h2sr.js → snapshot-ja63h2sr.js} +2 -2
  159. package/dist/chunks/{worktree-yegyxjwk.js → snapshot-jedhzf2w.js} +48 -48
  160. package/dist/chunks/{worktree-jfaecv01.js → snapshot-jfaecv01.js} +1 -1
  161. package/dist/chunks/{worktree-2zp5a6yg.js → snapshot-jh74jycr.js} +3 -3
  162. package/dist/chunks/{worktree-2a9pjh68.js → snapshot-jk56naz6.js} +4 -4
  163. package/dist/chunks/{worktree-jpnvh877.js → snapshot-jk66j3kg.js} +10 -10
  164. package/dist/chunks/{worktree-4pzvwjr2.js → snapshot-jm2mtdfm.js} +4 -4
  165. package/dist/chunks/{worktree-ynq9889m.js → snapshot-jpcc61dj.js} +35 -35
  166. package/dist/chunks/{worktree-v8vd993n.js → snapshot-jphwvgs8.js} +8 -8
  167. package/dist/chunks/{worktree-0ex9mpwx.js → snapshot-jshrc2cw.js} +90 -90
  168. package/dist/chunks/{worktree-jtnps1zs.js → snapshot-jtnps1zs.js} +2 -2
  169. package/dist/chunks/{worktree-c1nvaaxv.js → snapshot-jv2ad532.js} +4 -4
  170. package/dist/chunks/{worktree-scmk72rv.js → snapshot-jv5ccajn.js} +5 -5
  171. package/dist/chunks/{worktree-d5k5mzsn.js → snapshot-jw6dp1eq.js} +29 -29
  172. package/dist/chunks/{worktree-zy2d75w1.js → snapshot-jx7g0qr7.js} +21 -21
  173. package/dist/chunks/{worktree-7dvsg837.js → snapshot-jyjv6vrg.js} +12 -12
  174. package/dist/chunks/{worktree-45dn5ykg.js → snapshot-k725emr3.js} +21 -21
  175. package/dist/chunks/{worktree-k814nvkf.js → snapshot-k814nvkf.js} +1 -1
  176. package/dist/chunks/{worktree-211v3ywx.js → snapshot-k96bjchk.js} +27 -27
  177. package/dist/chunks/{worktree-kcg78dnn.js → snapshot-kcg78dnn.js} +2 -2
  178. package/dist/chunks/{worktree-hk7hszd6.js → snapshot-kgyfb6et.js} +33 -33
  179. package/dist/chunks/{worktree-2j819t2x.js → snapshot-kryfa369.js} +25 -25
  180. package/dist/chunks/{worktree-2xfesqhp.js → snapshot-ksez4t81.js} +26 -26
  181. package/dist/chunks/{worktree-kt3bjfbg.js → snapshot-kt3bjfbg.js} +1 -1
  182. package/dist/chunks/{worktree-m1714858.js → snapshot-m1714858.js} +1 -1
  183. package/dist/chunks/{worktree-97jk9fzp.js → snapshot-m2858arc.js} +50 -50
  184. package/dist/chunks/{worktree-c9n14t9e.js → snapshot-m3nys68e.js} +9 -9
  185. package/dist/chunks/{worktree-fmvebq1c.js → snapshot-m5ggasza.js} +9 -9
  186. package/dist/chunks/{worktree-c1sj1bpn.js → snapshot-m827h4cm.js} +3 -3
  187. package/dist/chunks/{worktree-zn3yprmb.js → snapshot-m89vktg3.js} +13 -13
  188. package/dist/chunks/{worktree-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{worktree-mb7mbhnz.js → snapshot-mb7mbhnz.js} +3 -3
  190. package/dist/chunks/snapshot-me0dhgxs.js +18 -0
  191. package/dist/chunks/{worktree-erny1hp5.js → snapshot-mjszy0h5.js} +30 -30
  192. package/dist/chunks/{worktree-ssfehs1z.js → snapshot-mtkfycnh.js} +4 -4
  193. package/dist/chunks/{worktree-1wvf0ff0.js → snapshot-mxbmnhdw.js} +7 -7
  194. package/dist/chunks/{worktree-c325tjb6.js → snapshot-mycyzwd6.js} +16 -16
  195. package/dist/chunks/{worktree-7dwprhna.js → snapshot-n9xk0tfj.js} +43 -43
  196. package/dist/chunks/{worktree-nah043kf.js → snapshot-nah043kf.js} +1 -1
  197. package/dist/chunks/{worktree-fkc1f79k.js → snapshot-ndsa049r.js} +32 -32
  198. package/dist/chunks/{worktree-4pn94wwk.js → snapshot-ndyztvmw.js} +44 -44
  199. package/dist/chunks/{worktree-e1s0q7va.js → snapshot-nhgkvrhz.js} +5 -5
  200. package/dist/chunks/{worktree-nn94syh7.js → snapshot-njef46zj.js} +39 -39
  201. package/dist/chunks/{worktree-dgjy22zw.js → snapshot-npnecasp.js} +8 -8
  202. package/dist/chunks/{worktree-x46kzsvj.js → snapshot-nx42e9qw.js} +22 -22
  203. package/dist/chunks/{worktree-8d99dfzw.js → snapshot-nzeth2v7.js} +16 -16
  204. package/dist/chunks/{worktree-p015t6z3.js → snapshot-p015t6z3.js} +2 -2
  205. package/dist/chunks/{worktree-yx3jcsf5.js → snapshot-p7gcr6xd.js} +22 -22
  206. package/dist/chunks/{worktree-7n4tbjx2.js → snapshot-pe6ebwtq.js} +17 -17
  207. package/dist/chunks/{worktree-pknna89w.js → snapshot-pknna89w.js} +1 -1
  208. package/dist/chunks/{worktree-gvnfypps.js → snapshot-pqm0gw65.js} +16 -16
  209. package/dist/chunks/{worktree-0b2ad458.js → snapshot-pqq5ej44.js} +12 -12
  210. package/dist/chunks/{worktree-5knxw5zw.js → snapshot-ps4ybpaz.js} +341 -341
  211. package/dist/chunks/{worktree-2sctd9r8.js → snapshot-pt1qytmh.js} +17 -17
  212. package/dist/chunks/{worktree-09fe5ez7.js → snapshot-px317zgp.js} +9 -9
  213. package/dist/chunks/{worktree-y7rptanb.js → snapshot-q4gm1j6y.js} +8 -8
  214. package/dist/chunks/{worktree-chw17fk3.js → snapshot-qe0c135p.js} +16 -16
  215. package/dist/chunks/{worktree-qp7r0hxv.js → snapshot-qp7r0hxv.js} +1 -1
  216. package/dist/chunks/{worktree-d6cs52tr.js → snapshot-qpxsar3x.js} +24 -24
  217. package/dist/chunks/{worktree-qqvy8y24.js → snapshot-qqvy8y24.js} +1 -1
  218. package/dist/chunks/{worktree-2japvek7.js → snapshot-qs2r9sye.js} +2 -2
  219. package/dist/chunks/{worktree-qzm6q9ch.js → snapshot-qzm6q9ch.js} +6 -6
  220. package/dist/chunks/{worktree-dq4stdtd.js → snapshot-r2s7w9p5.js} +4 -4
  221. package/dist/chunks/{worktree-w2eysc6j.js → snapshot-r41sfy63.js} +6 -6
  222. package/dist/chunks/{worktree-r542h3bh.js → snapshot-r542h3bh.js} +1 -1
  223. package/dist/chunks/{worktree-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
  224. package/dist/chunks/snapshot-rdgpdk3a.js +26 -0
  225. package/dist/chunks/{worktree-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
  226. package/dist/chunks/{worktree-v0t96s7a.js → snapshot-s7kyse9r.js} +4 -4
  227. package/dist/chunks/{worktree-e324kbrg.js → snapshot-s9cz50wa.js} +8 -8
  228. package/dist/chunks/{worktree-sa3fpqfw.js → snapshot-sa3fpqfw.js} +2 -2
  229. package/dist/chunks/{worktree-hf8dhk55.js → snapshot-sanxznym.js} +16 -16
  230. package/dist/chunks/{worktree-532k8p5d.js → snapshot-skw3nab4.js} +5 -5
  231. package/dist/chunks/{worktree-mqcm7x31.js → snapshot-smrcs1yt.js} +17 -17
  232. package/dist/chunks/{worktree-650ewqdt.js → snapshot-sqrwb7ek.js} +3 -3
  233. package/dist/chunks/{worktree-svcy3p9a.js → snapshot-svcy3p9a.js} +1 -1
  234. package/dist/chunks/{worktree-923ftqyh.js → snapshot-t2hws329.js} +6 -6
  235. package/dist/chunks/{worktree-n6jcsk88.js → snapshot-tcsn7fpc.js} +9 -9
  236. package/dist/chunks/{worktree-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
  237. package/dist/chunks/{worktree-tm1e699v.js → snapshot-tnvq3v78.js} +9 -9
  238. package/dist/chunks/{worktree-m89858wj.js → snapshot-ts7mkfs9.js} +3 -3
  239. package/dist/chunks/{worktree-twssxy5n.js → snapshot-twssxy5n.js} +2 -2
  240. package/dist/chunks/{worktree-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
  241. package/dist/chunks/{worktree-b3mzhchz.js → snapshot-v4wzacvx.js} +32 -32
  242. package/dist/chunks/{worktree-zgntrsrs.js → snapshot-v6jepjqd.js} +14 -14
  243. package/dist/chunks/{worktree-sy53apyv.js → snapshot-vad1g313.js} +31 -31
  244. package/dist/chunks/{worktree-ec3b2sgd.js → snapshot-vaer57cf.js} +8 -8
  245. package/dist/chunks/{worktree-excj9cfq.js → snapshot-vgz459d4.js} +35 -35
  246. package/dist/chunks/{worktree-33e37e6x.js → snapshot-vh4h0yrs.js} +11 -11
  247. package/dist/chunks/{worktree-wa49e47f.js → snapshot-vkkn64ap.js} +7 -7
  248. package/dist/chunks/{worktree-f9201ej8.js → snapshot-vn855jk2.js} +27 -27
  249. package/dist/chunks/{worktree-3ndyf3yw.js → snapshot-vpeh2c4h.js} +43 -43
  250. package/dist/chunks/{worktree-rj9j3as3.js → snapshot-vrrm71xh.js} +56 -56
  251. package/dist/chunks/{worktree-8nt2cb5r.js → snapshot-vv6btxxh.js} +15 -15
  252. package/dist/chunks/snapshot-vw3fqt8n.js +257 -0
  253. package/dist/chunks/{worktree-chfqv0dp.js → snapshot-vz8fyt0a.js} +4 -4
  254. package/dist/chunks/{worktree-2mnk3cpz.js → snapshot-w3h37n3b.js} +4 -4
  255. package/dist/chunks/{worktree-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{worktree-wh471sqx.js → snapshot-w5qeaqdt.js} +3 -3
  257. package/dist/chunks/{worktree-s7xmnr8t.js → snapshot-w67s4ywc.js} +4 -4
  258. package/dist/chunks/{worktree-zwrzbpfr.js → snapshot-w68dkr85.js} +16 -16
  259. package/dist/chunks/{worktree-dr3d1mr5.js → snapshot-w6be7tfp.js} +18 -18
  260. package/dist/chunks/{worktree-e239qjg7.js → snapshot-w73wdpwy.js} +9 -9
  261. package/dist/chunks/{worktree-k536nnb8.js → snapshot-w89sbzn0.js} +3 -3
  262. package/dist/chunks/{worktree-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
  263. package/dist/chunks/{worktree-wd87259q.js → snapshot-wd87259q.js} +1 -1
  264. package/dist/chunks/{worktree-wegkxhrn.js → snapshot-wegkxhrn.js} +2 -2
  265. package/dist/chunks/{worktree-tf0tk0fq.js → snapshot-wmpfavpb.js} +25 -25
  266. package/dist/chunks/{worktree-s88qfkmz.js → snapshot-wmzygan7.js} +4 -4
  267. package/dist/chunks/{worktree-wnhgecwx.js → snapshot-wnhgecwx.js} +1 -1
  268. package/dist/chunks/{worktree-dyk9s1ne.js → snapshot-x7sfjysx.js} +4 -4
  269. package/dist/chunks/{worktree-b7wjnj3v.js → snapshot-xb87w9ea.js} +17 -17
  270. package/dist/chunks/{worktree-qqpbcr2p.js → snapshot-xt0z8zst.js} +4 -4
  271. package/dist/chunks/{worktree-tc90wnbk.js → snapshot-xv2swx2p.js} +46 -46
  272. package/dist/chunks/{worktree-1ktbs3mv.js → snapshot-xwc7yx52.js} +85 -85
  273. package/dist/chunks/{worktree-rg0cxenw.js → snapshot-y0er5eng.js} +2 -2
  274. package/dist/chunks/{worktree-7c9g9s0q.js → snapshot-y4tqh6rd.js} +7 -7
  275. package/dist/chunks/{worktree-hp6wkjcv.js → snapshot-y81dtq8s.js} +30 -30
  276. package/dist/chunks/{worktree-yxcs01xt.js → snapshot-y9j1a3y8.js} +18 -18
  277. package/dist/chunks/{worktree-yara3q77.js → snapshot-yara3q77.js} +2 -2
  278. package/dist/chunks/{worktree-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
  279. package/dist/chunks/{worktree-wm1vm6w0.js → snapshot-ybp67y4f.js} +11 -11
  280. package/dist/chunks/{worktree-666ta36x.js → snapshot-yda73aff.js} +13 -13
  281. package/dist/chunks/{worktree-160yv0cs.js → snapshot-ydsespw1.js} +4 -4
  282. package/dist/chunks/{worktree-rp6wgn9y.js → snapshot-ydsk09n6.js} +25 -25
  283. package/dist/chunks/{worktree-d4qb2rc3.js → snapshot-yh1frphp.js} +4 -4
  284. package/dist/chunks/{worktree-6h85yzk8.js → snapshot-yh2xa03z.js} +5 -5
  285. package/dist/chunks/{worktree-x5xpvpef.js → snapshot-yk05r3rx.js} +25 -25
  286. package/dist/chunks/{worktree-vqqftvvv.js → snapshot-yk34mwqb.js} +13 -13
  287. package/dist/chunks/{worktree-jr92mdzz.js → snapshot-ykxwe7zp.js} +11 -11
  288. package/dist/chunks/{worktree-1yhff8da.js → snapshot-yp9gc5tz.js} +14 -14
  289. package/dist/chunks/{worktree-n6jhfx9n.js → snapshot-ypmwhxqj.js} +28 -28
  290. package/dist/chunks/{worktree-h4yv4fhz.js → snapshot-ysadhm59.js} +184 -184
  291. package/dist/chunks/{worktree-bq56hyj9.js → snapshot-ytftszmd.js} +8 -8
  292. package/dist/chunks/{worktree-t2cdwvq5.js → snapshot-yz6b78je.js} +19 -19
  293. package/dist/chunks/{worktree-ava6h5x1.js → snapshot-z0bdh4f5.js} +6 -6
  294. package/dist/chunks/{worktree-kfkfrd1x.js → snapshot-zatamnbq.js} +16 -16
  295. package/dist/chunks/{worktree-37kqz87b.js → snapshot-ze6grkbw.js} +3 -3
  296. package/dist/chunks/{worktree-g0zebgfm.js → snapshot-zefbt337.js} +24 -24
  297. package/dist/chunks/{worktree-2f5kzt4v.js → snapshot-zeryz54m.js} +7 -7
  298. package/dist/chunks/{worktree-4bzxpxbh.js → snapshot-zgbwm5kp.js} +5 -5
  299. package/dist/chunks/{worktree-vjmsebym.js → snapshot-zh7bbm8x.js} +9 -9
  300. package/dist/chunks/{worktree-tmt7mk16.js → snapshot-zn9wbc5r.js} +33 -33
  301. package/dist/chunks/{worktree-s4d4pvet.js → snapshot-zr8ag1ct.js} +4 -4
  302. package/dist/chunks/{worktree-gf7njwar.js → snapshot-zwwwwdhn.js} +23 -23
  303. package/dist/codemode/catalog.js +1 -1
  304. package/dist/codemode/instructions.js +9 -9
  305. package/dist/codemode/tool.js +3 -3
  306. package/dist/codemode/web.js +1 -1
  307. package/dist/command.js +89 -89
  308. package/dist/config/discovery.js +94 -94
  309. package/dist/config/integration.js +3 -3
  310. package/dist/config/managed.js +1 -1
  311. package/dist/config/markdown.js +1 -1
  312. package/dist/config/normalize.js +111 -111
  313. package/dist/config/plugin/agent.js +131 -131
  314. package/dist/config/plugin/command.js +228 -228
  315. package/dist/config/plugin/compaction.js +169 -169
  316. package/dist/config/plugin/compatibility.js +149 -149
  317. package/dist/config/plugin/entry-observer.js +1 -1
  318. package/dist/config/plugin/formatter.js +130 -130
  319. package/dist/config/plugin/image.js +129 -129
  320. package/dist/config/plugin/instruction.js +129 -129
  321. package/dist/config/plugin/location-watcher.js +129 -129
  322. package/dist/config/plugin/mcp.js +138 -138
  323. package/dist/config/plugin/policy.js +129 -129
  324. package/dist/config/plugin/provider.js +129 -129
  325. package/dist/config/plugin/reference.js +131 -131
  326. package/dist/config/plugin/shell.js +131 -131
  327. package/dist/config/plugin/skill-file.js +145 -145
  328. package/dist/config/plugin/skill-scan.js +1 -1
  329. package/dist/config/plugin/skill.js +152 -152
  330. package/dist/config/plugin/snapshot.js +129 -129
  331. package/dist/config/plugin/source.js +132 -132
  332. package/dist/config/plugin/tool-output.js +130 -130
  333. package/dist/config/plugin/websearch.js +130 -130
  334. package/dist/config/plugin/worktree.js +131 -131
  335. package/dist/config/variable.js +1 -1
  336. package/dist/config/watch.js +1 -1
  337. package/dist/config.js +130 -130
  338. package/dist/console-access.js +1 -1
  339. package/dist/credential/sql.js +2 -2
  340. package/dist/credential.js +89 -89
  341. package/dist/database/database.js +82 -82
  342. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  343. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  344. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  345. package/dist/database/drizzle/index.js +15 -15
  346. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  347. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  348. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  349. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  350. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  351. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  352. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  353. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  354. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  355. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  356. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  357. package/dist/database/drizzle.js +16 -16
  358. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  359. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  360. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  361. package/dist/database/migration/20260225215848_workspace.js +1 -1
  362. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  363. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  364. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  365. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  366. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  367. package/dist/database/migration/20260323234822_events.js +1 -1
  368. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  369. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  370. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  371. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  372. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  373. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  374. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  375. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  376. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  377. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  378. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  379. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  380. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  381. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  382. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  383. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  384. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  385. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  386. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  387. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  388. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  389. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  390. package/dist/database/migration/20260611035744_credential.js +1 -1
  391. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  392. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  393. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  394. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  395. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  396. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  397. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  398. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  399. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  400. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  401. package/dist/database/migration/20260812213948_worktree.js +1 -1
  402. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  403. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  404. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  405. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  406. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  407. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  408. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  409. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  410. package/dist/database/migration/20261025123711_blob.js +1 -1
  411. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  412. package/dist/database/migration/20261026223005_schedule.js +1 -1
  413. package/dist/database/migration/20261029002625_session_part.js +1 -1
  414. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  415. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  416. package/dist/database/migration.gen.js +59 -59
  417. package/dist/database/migration.js +61 -61
  418. package/dist/database/path.js +2 -2
  419. package/dist/database/schema.gen.js +1 -1
  420. package/dist/database/schema.sql.js +1 -1
  421. package/dist/database/sqlite.bun.js +1 -1
  422. package/dist/database/sqlite.js +1 -1
  423. package/dist/database/sqlite.node.js +1 -1
  424. package/dist/database/sqlite.workerd.js +1 -1
  425. package/dist/database/v1-migration.bun.js +99 -99
  426. package/dist/database/v1-migration.js +1 -1
  427. package/dist/effect/app-node-builder.js +392 -392
  428. package/dist/effect/app-node-platform.js +2 -2
  429. package/dist/effect/keyed-mutex.js +3 -3
  430. package/dist/effect/websocket-constructor.js +1 -1
  431. package/dist/environment/driver.js +1 -1
  432. package/dist/environment/environment.js +105 -105
  433. package/dist/environment/exec-defaults.js +2 -2
  434. package/dist/environment/files.js +1 -1
  435. package/dist/environment/index.js +107 -107
  436. package/dist/environment/local.js +2 -2
  437. package/dist/environment/memory.js +2 -2
  438. package/dist/environment/unavailable.js +3 -3
  439. package/dist/event/sql.js +1 -1
  440. package/dist/event-logger.js +82 -82
  441. package/dist/file-access.js +155 -155
  442. package/dist/file-mutation.js +102 -102
  443. package/dist/file-retention.js +1 -1
  444. package/dist/filesystem/fff.bun.js +2 -2
  445. package/dist/filesystem/fff.js +1 -1
  446. package/dist/filesystem/fff.node.js +2 -2
  447. package/dist/filesystem/fff.workerd.js +2 -2
  448. package/dist/filesystem/file-watch.js +88 -88
  449. package/dist/filesystem/location-watcher-policy.js +6 -6
  450. package/dist/filesystem/location-watcher.js +239 -239
  451. package/dist/filesystem/protected.js +1 -1
  452. package/dist/filesystem/search.js +111 -111
  453. package/dist/filesystem/watcher-binding.js +1 -1
  454. package/dist/filesystem/watcher.js +9 -9
  455. package/dist/filesystem.js +114 -114
  456. package/dist/form.js +88 -88
  457. package/dist/formatter/builtins.js +4 -4
  458. package/dist/formatter.js +99 -99
  459. package/dist/generate.js +115 -115
  460. package/dist/git.js +11 -11
  461. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  462. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  463. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  464. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  465. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  466. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  467. package/dist/github-copilot/copilot-provider.js +17 -17
  468. package/dist/github-copilot/models.js +111 -111
  469. package/dist/github-copilot/openai-compatible-error.js +1 -1
  470. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  471. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  472. package/dist/github-copilot/responses/openai-error.js +1 -1
  473. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  474. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  475. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  476. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  477. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  478. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  479. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  480. package/dist/image/notice.js +3 -3
  481. package/dist/image/photon-normalize.js +1 -1
  482. package/dist/image/photon-worker.js +1 -1
  483. package/dist/image/photon.js +4 -4
  484. package/dist/image.js +6 -6
  485. package/dist/instance/service.js +5 -5
  486. package/dist/instance.js +383 -383
  487. package/dist/instruction-discovery.js +94 -94
  488. package/dist/instructions/builtins.js +99 -99
  489. package/dist/instructions/index.js +3 -3
  490. package/dist/integration/connection.js +1 -1
  491. package/dist/integration.js +93 -93
  492. package/dist/job.js +88 -88
  493. package/dist/kv/sql.js +2 -2
  494. package/dist/kv.js +83 -83
  495. package/dist/location-activity.js +171 -171
  496. package/dist/location-lifecycle.js +149 -149
  497. package/dist/location-service-map.js +98 -98
  498. package/dist/location-services.js +380 -380
  499. package/dist/location.js +97 -97
  500. package/dist/managed-policy.js +3 -3
  501. package/dist/mcp/client.js +103 -103
  502. package/dist/mcp/index.js +121 -121
  503. package/dist/mcp/instructions.js +175 -175
  504. package/dist/mcp/oauth.js +85 -85
  505. package/dist/mcp/socket-client.js +1 -1
  506. package/dist/mcp/stdio.js +102 -102
  507. package/dist/mime.js +1 -1
  508. package/dist/modal/models.js +111 -111
  509. package/dist/model-resolver.js +111 -111
  510. package/dist/model-retry.js +1 -1
  511. package/dist/model.js +110 -110
  512. package/dist/models-dev/v1.js +1 -1
  513. package/dist/models-dev.js +116 -116
  514. package/dist/oauth/page.js +1 -1
  515. package/dist/permission/saved.js +92 -92
  516. package/dist/permission/sql.js +5 -5
  517. package/dist/permission.js +152 -152
  518. package/dist/persistent-pty/binary.bun.js +1 -1
  519. package/dist/persistent-pty/daemon.js +1 -1
  520. package/dist/persistent-pty/index.js +98 -98
  521. package/dist/persistent-pty/pty-binding.js +1 -1
  522. package/dist/persistent-pty.js +85 -85
  523. package/dist/plugin/agent.js +86 -86
  524. package/dist/plugin/command.js +114 -114
  525. package/dist/plugin/goal.js +3 -3
  526. package/dist/plugin/hooks.js +5 -5
  527. package/dist/plugin/host.js +232 -232
  528. package/dist/plugin/identity.js +5 -5
  529. package/dist/plugin/instance.js +3 -3
  530. package/dist/plugin/internal.js +359 -359
  531. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  532. package/dist/plugin/models-dev.js +109 -109
  533. package/dist/plugin/module.js +128 -128
  534. package/dist/plugin/optimize.js +2 -2
  535. package/dist/plugin/plan.js +145 -145
  536. package/dist/plugin/promise.js +1 -1
  537. package/dist/plugin/provider/amazon-bedrock.js +103 -103
  538. package/dist/plugin/provider/azure.js +129 -129
  539. package/dist/plugin/provider/cerebras.js +1 -1
  540. package/dist/plugin/provider/chatgpt.js +129 -129
  541. package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
  542. package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
  543. package/dist/plugin/provider/configured.js +125 -125
  544. package/dist/plugin/provider/credential-settings.js +84 -84
  545. package/dist/plugin/provider/databricks.js +1 -1
  546. package/dist/plugin/provider/digitalocean.js +105 -105
  547. package/dist/plugin/provider/dynamic.js +2 -2
  548. package/dist/plugin/provider/github-copilot.js +107 -107
  549. package/dist/plugin/provider/gitlab.js +106 -106
  550. package/dist/plugin/provider/google-vertex.js +126 -126
  551. package/dist/plugin/provider/kilo.js +1 -1
  552. package/dist/plugin/provider/llmgateway.js +88 -88
  553. package/dist/plugin/provider/lmstudio.js +138 -138
  554. package/dist/plugin/provider/local.js +135 -135
  555. package/dist/plugin/provider/modal.js +104 -104
  556. package/dist/plugin/provider/neon.js +1 -1
  557. package/dist/plugin/provider/nvidia.js +1 -1
  558. package/dist/plugin/provider/ollama.js +138 -138
  559. package/dist/plugin/provider/openai-context-caps.js +102 -102
  560. package/dist/plugin/provider/openai.js +129 -129
  561. package/dist/plugin/provider/opencode.js +131 -131
  562. package/dist/plugin/provider/openrouter.js +103 -103
  563. package/dist/plugin/provider/poe.js +89 -89
  564. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  565. package/dist/plugin/provider/sap-ai-core.js +103 -103
  566. package/dist/plugin/provider/sdk-factory.js +1 -1
  567. package/dist/plugin/provider/snowflake-cortex.js +128 -128
  568. package/dist/plugin/provider/vllm.js +138 -138
  569. package/dist/plugin/provider/xai.js +103 -103
  570. package/dist/plugin/provider/zenmux.js +1 -1
  571. package/dist/plugin/provider.js +179 -179
  572. package/dist/plugin/sdk.js +86 -86
  573. package/dist/plugin/service.js +3 -3
  574. package/dist/plugin/skill.js +148 -148
  575. package/dist/plugin/source-directory.js +1 -1
  576. package/dist/plugin/supervisor.js +371 -371
  577. package/dist/plugin/tool-input-repair.js +4 -4
  578. package/dist/plugin/update.js +6 -6
  579. package/dist/plugin/vcs/git.js +98 -98
  580. package/dist/plugin/vcs/hg.js +98 -98
  581. package/dist/plugin/verbosity.js +105 -105
  582. package/dist/plugin/warming.js +127 -127
  583. package/dist/plugin/websearch/exa.js +7 -7
  584. package/dist/plugin/websearch/firecrawl.js +8 -8
  585. package/dist/plugin/websearch/index.js +9 -9
  586. package/dist/plugin/websearch/mcp.js +4 -4
  587. package/dist/plugin/websearch/parallel.js +8 -8
  588. package/dist/plugin/websearch/tavily.js +6 -6
  589. package/dist/plugin/websearch/tinyfish.js +6 -6
  590. package/dist/plugin.js +237 -237
  591. package/dist/project/icon.js +5 -5
  592. package/dist/project/schema.js +2 -2
  593. package/dist/project/sql.js +4 -4
  594. package/dist/project.js +96 -96
  595. package/dist/provider.js +107 -107
  596. package/dist/pty/protocol.js +1 -1
  597. package/dist/pty/ticket.js +1 -1
  598. package/dist/pty.js +100 -100
  599. package/dist/reference/instructions.js +98 -98
  600. package/dist/reference.js +102 -102
  601. package/dist/repository-cache.js +92 -92
  602. package/dist/repository.js +1 -1
  603. package/dist/ripgrep/binary.js +2 -2
  604. package/dist/ripgrep.js +109 -109
  605. package/dist/rpc.js +98 -98
  606. package/dist/schedule/check.js +237 -237
  607. package/dist/schedule/sql.js +6 -6
  608. package/dist/schedule.js +243 -243
  609. package/dist/schema.js +1 -1
  610. package/dist/session/affinity.js +1 -1
  611. package/dist/session/background.js +1 -1
  612. package/dist/session/blob.js +128 -128
  613. package/dist/session/command.js +84 -84
  614. package/dist/session/compaction.js +171 -171
  615. package/dist/session/context.js +195 -195
  616. package/dist/session/diff.js +100 -100
  617. package/dist/session/environment.js +5 -5
  618. package/dist/session/error.js +5 -5
  619. package/dist/session/event.js +1 -1
  620. package/dist/session/execution/restart.js +241 -241
  621. package/dist/session/execution.js +161 -161
  622. package/dist/session/generate.js +195 -195
  623. package/dist/session/history.js +135 -135
  624. package/dist/session/inbox.js +148 -148
  625. package/dist/session/info.js +3 -3
  626. package/dist/session/instruction-entry.js +89 -89
  627. package/dist/session/instruction-state.js +8 -8
  628. package/dist/session/instructions.js +140 -140
  629. package/dist/session/message-updater.js +2 -2
  630. package/dist/session/message.js +1 -1
  631. package/dist/session/model-request.js +162 -162
  632. package/dist/session/model-transport.js +9 -9
  633. package/dist/session/move.js +163 -163
  634. package/dist/session/projector.js +142 -142
  635. package/dist/session/prompt.js +147 -147
  636. package/dist/session/recent-text.js +1 -1
  637. package/dist/session/revert.js +138 -138
  638. package/dist/session/run-coordinator.js +3 -3
  639. package/dist/session/runner/index.js +3 -3
  640. package/dist/session/runner/llm.js +246 -246
  641. package/dist/session/runner/max-steps.js +1 -1
  642. package/dist/session/runner/model.js +112 -112
  643. package/dist/session/runner/publish-llm-event.js +148 -148
  644. package/dist/session/runner/retry.js +5 -5
  645. package/dist/session/runner/step.js +161 -161
  646. package/dist/session/runner/to-llm-message.js +136 -136
  647. package/dist/session/schema.js +5 -5
  648. package/dist/session/session.js +177 -177
  649. package/dist/session/shell.js +143 -143
  650. package/dist/session/skill.js +146 -146
  651. package/dist/session/sql.js +5 -5
  652. package/dist/session/stats.js +83 -83
  653. package/dist/session/store.js +141 -141
  654. package/dist/session/stored.js +2 -2
  655. package/dist/session/subagent-completion.js +3 -3
  656. package/dist/session/subagent-job.js +226 -226
  657. package/dist/session/system-prompt.js +5 -5
  658. package/dist/session/title.js +199 -199
  659. package/dist/session/to-session-error.js +147 -147
  660. package/dist/session/transfer.js +236 -236
  661. package/dist/session/usage.js +1 -1
  662. package/dist/session.js +230 -230
  663. package/dist/shell/parse.js +6 -6
  664. package/dist/shell/result.js +1 -1
  665. package/dist/shell/scan.js +1 -1
  666. package/dist/shell/select.js +11 -11
  667. package/dist/shell.js +145 -145
  668. package/dist/skill/discovery.js +6 -6
  669. package/dist/skill/instructions.js +150 -150
  670. package/dist/skill.js +155 -155
  671. package/dist/snapshot.js +105 -105
  672. package/dist/state.js +1 -1
  673. package/dist/tool/html-markdown.js +1 -1
  674. package/dist/tool/http-body.js +1 -1
  675. package/dist/tool/mcp.js +174 -174
  676. package/dist/tool/plugin/edit.js +163 -163
  677. package/dist/tool/plugin/file-diff.js +1 -1
  678. package/dist/tool/plugin/glob.js +167 -167
  679. package/dist/tool/plugin/grep.js +167 -167
  680. package/dist/tool/plugin/image-generate.js +236 -236
  681. package/dist/tool/plugin/mcp-resource.js +161 -161
  682. package/dist/tool/plugin/opencode.js +160 -160
  683. package/dist/tool/plugin/patch.js +165 -165
  684. package/dist/tool/plugin/question.js +145 -145
  685. package/dist/tool/plugin/read.js +168 -168
  686. package/dist/tool/plugin/schedule.js +243 -243
  687. package/dist/tool/plugin/shell.js +232 -232
  688. package/dist/tool/plugin/skill.js +156 -156
  689. package/dist/tool/plugin/subagent.js +233 -233
  690. package/dist/tool/plugin/todo.js +152 -152
  691. package/dist/tool/plugin/webfetch.js +152 -152
  692. package/dist/tool/plugin/websearch.js +154 -154
  693. package/dist/tool/plugin/write.js +165 -165
  694. package/dist/tool/read-filesystem.js +112 -112
  695. package/dist/tool/runtime.js +1 -1
  696. package/dist/tool-output.js +7 -7
  697. package/dist/tool.js +14 -14
  698. package/dist/usage-limits.js +99 -99
  699. package/dist/util/error-summary.js +1 -1
  700. package/dist/util/git-executable.js +3 -3
  701. package/dist/util/lazy.js +1 -1
  702. package/dist/util/slug.js +1 -1
  703. package/dist/util/token.js +1 -1
  704. package/dist/util/which.js +1 -1
  705. package/dist/util/wildcard.js +1 -1
  706. package/dist/v1/config/agent.js +5 -5
  707. package/dist/v1/config/command.js +3 -3
  708. package/dist/v1/config/mcp.js +4 -4
  709. package/dist/v1/config/migrate.js +104 -104
  710. package/dist/v1/config/permission.js +3 -3
  711. package/dist/v1/config/plugin.js +1 -1
  712. package/dist/v1/config/provider-options.js +1 -1
  713. package/dist/v1/config/provider.js +2 -2
  714. package/dist/variant.js +103 -103
  715. package/dist/vcs/patch.js +1 -1
  716. package/dist/vcs.js +101 -101
  717. package/dist/voice.js +98 -98
  718. package/dist/websearch.js +92 -92
  719. package/dist/wellknown/plugin.js +86 -86
  720. package/dist/wellknown.js +87 -87
  721. package/dist/workspace/driver.js +5 -5
  722. package/dist/workspace/sql.js +1 -1
  723. package/dist/workspace.js +92 -92
  724. package/dist/worktree/directory.js +2 -2
  725. package/dist/worktree/git.js +11 -11
  726. package/dist/worktree/sql.js +5 -5
  727. package/dist/worktree/strategies.js +101 -101
  728. package/dist/worktree.js +106 -106
  729. package/package.json +8 -8
  730. package/dist/chunks/worktree-f8ma18fn.js +0 -18
  731. package/dist/chunks/worktree-vnp0me3e.js +0 -257
  732. package/dist/chunks/worktree-z14rfht5.js +0 -26
  733. /package/dist/chunks/{worktree-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  734. /package/dist/chunks/{worktree-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  735. /package/dist/chunks/{worktree-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  736. /package/dist/chunks/{worktree-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  737. /package/dist/chunks/{worktree-1kah00gy.js → snapshot-1kah00gy.js} +0 -0
  738. /package/dist/chunks/{worktree-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  739. /package/dist/chunks/{worktree-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  740. /package/dist/chunks/{worktree-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
  741. /package/dist/chunks/{worktree-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  742. /package/dist/chunks/{worktree-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  743. /package/dist/chunks/{worktree-3asan66x.js → snapshot-3asan66x.js} +0 -0
  744. /package/dist/chunks/{worktree-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  745. /package/dist/chunks/{worktree-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  746. /package/dist/chunks/{worktree-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  747. /package/dist/chunks/{worktree-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  748. /package/dist/chunks/{worktree-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  749. /package/dist/chunks/{worktree-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  750. /package/dist/chunks/{worktree-53557ph1.js → snapshot-53557ph1.js} +0 -0
  751. /package/dist/chunks/{worktree-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  752. /package/dist/chunks/{worktree-5w3e23ze.js → snapshot-5w3e23ze.js} +0 -0
  753. /package/dist/chunks/{worktree-6prwharc.js → snapshot-6prwharc.js} +0 -0
  754. /package/dist/chunks/{worktree-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
  755. /package/dist/chunks/{worktree-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  756. /package/dist/chunks/{worktree-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  757. /package/dist/chunks/{worktree-7stb81gk.js → snapshot-7stb81gk.js} +0 -0
  758. /package/dist/chunks/{worktree-822emrt2.js → snapshot-822emrt2.js} +0 -0
  759. /package/dist/chunks/{worktree-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
  760. /package/dist/chunks/{worktree-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  761. /package/dist/chunks/{worktree-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  762. /package/dist/chunks/{worktree-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
  763. /package/dist/chunks/{worktree-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  764. /package/dist/chunks/{worktree-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  765. /package/dist/chunks/{worktree-a058387c.js → snapshot-a058387c.js} +0 -0
  766. /package/dist/chunks/{worktree-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  767. /package/dist/chunks/{worktree-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  768. /package/dist/chunks/{worktree-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  769. /package/dist/chunks/{worktree-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  770. /package/dist/chunks/{worktree-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  771. /package/dist/chunks/{worktree-beh6qq61.js → snapshot-beh6qq61.js} +0 -0
  772. /package/dist/chunks/{worktree-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  773. /package/dist/chunks/{worktree-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  774. /package/dist/chunks/{worktree-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  775. /package/dist/chunks/{worktree-cqv5kn06.js → snapshot-cqv5kn06.js} +0 -0
  776. /package/dist/chunks/{worktree-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  777. /package/dist/chunks/{worktree-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  778. /package/dist/chunks/{worktree-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  779. /package/dist/chunks/{worktree-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  780. /package/dist/chunks/{worktree-df08tz66.js → snapshot-df08tz66.js} +0 -0
  781. /package/dist/chunks/{worktree-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  782. /package/dist/chunks/{worktree-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  783. /package/dist/chunks/{worktree-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  784. /package/dist/chunks/{worktree-ean2d8b5.js → snapshot-ean2d8b5.js} +0 -0
  785. /package/dist/chunks/{worktree-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  786. /package/dist/chunks/{worktree-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  787. /package/dist/chunks/{worktree-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  788. /package/dist/chunks/{worktree-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  789. /package/dist/chunks/{worktree-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  790. /package/dist/chunks/{worktree-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  791. /package/dist/chunks/{worktree-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  792. /package/dist/chunks/{worktree-fkpq3x5p.js → snapshot-fkpq3x5p.js} +0 -0
  793. /package/dist/chunks/{worktree-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  794. /package/dist/chunks/{worktree-g86h250q.js → snapshot-g86h250q.js} +0 -0
  795. /package/dist/chunks/{worktree-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  796. /package/dist/chunks/{worktree-gftt206x.js → snapshot-gftt206x.js} +0 -0
  797. /package/dist/chunks/{worktree-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
  798. /package/dist/chunks/{worktree-hk9envan.js → snapshot-hk9envan.js} +0 -0
  799. /package/dist/chunks/{worktree-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  800. /package/dist/chunks/{worktree-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  801. /package/dist/chunks/{worktree-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  802. /package/dist/chunks/{worktree-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  803. /package/dist/chunks/{worktree-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  804. /package/dist/chunks/{worktree-jwr30sdr.js → snapshot-jwr30sdr.js} +0 -0
  805. /package/dist/chunks/{worktree-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
  806. /package/dist/chunks/{worktree-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  807. /package/dist/chunks/{worktree-m18g726c.js → snapshot-m18g726c.js} +0 -0
  808. /package/dist/chunks/{worktree-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  809. /package/dist/chunks/{worktree-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  810. /package/dist/chunks/{worktree-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  811. /package/dist/chunks/{worktree-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  812. /package/dist/chunks/{worktree-ncqqe42p.js → snapshot-ncqqe42p.js} +0 -0
  813. /package/dist/chunks/{worktree-nh4v3znn.js → snapshot-nh4v3znn.js} +0 -0
  814. /package/dist/chunks/{worktree-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  815. /package/dist/chunks/{worktree-p71gwv9c.js → snapshot-p71gwv9c.js} +0 -0
  816. /package/dist/chunks/{worktree-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  817. /package/dist/chunks/{worktree-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  818. /package/dist/chunks/{worktree-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  819. /package/dist/chunks/{worktree-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  820. /package/dist/chunks/{worktree-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  821. /package/dist/chunks/{worktree-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  822. /package/dist/chunks/{worktree-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  823. /package/dist/chunks/{worktree-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  824. /package/dist/chunks/{worktree-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  825. /package/dist/chunks/{worktree-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  826. /package/dist/chunks/{worktree-stkk57rt.js → snapshot-stkk57rt.js} +0 -0
  827. /package/dist/chunks/{worktree-t03h4f5z.js → snapshot-t03h4f5z.js} +0 -0
  828. /package/dist/chunks/{worktree-ty7weeps.js → snapshot-ty7weeps.js} +0 -0
  829. /package/dist/chunks/{worktree-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
  830. /package/dist/chunks/{worktree-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  831. /package/dist/chunks/{worktree-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  832. /package/dist/chunks/{worktree-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  833. /package/dist/chunks/{worktree-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  834. /package/dist/chunks/{worktree-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  835. /package/dist/chunks/{worktree-x61499pn.js → snapshot-x61499pn.js} +0 -0
  836. /package/dist/chunks/{worktree-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  837. /package/dist/chunks/{worktree-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  838. /package/dist/chunks/{worktree-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  839. /package/dist/chunks/{worktree-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
  840. /package/dist/chunks/{worktree-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./worktree-3776k8q5.js";
3
+ } from "./snapshot-6rqmms3d.js";
4
4
  import {
5
5
  Service86
6
- } from "./worktree-9yke2vdy.js";
6
+ } from "./snapshot-a7hv09h9.js";
7
7
  import {
8
- ID16,
8
+ ID17,
9
9
  Event19,
10
10
  Service80
11
- } from "./worktree-8jne4ghb.js";
11
+ } from "./snapshot-80dydmy6.js";
12
12
  import {
13
13
  key2
14
- } from "./worktree-95sp4hdf.js";
14
+ } from "./snapshot-95sp4hdf.js";
15
15
  import {
16
- ID14,
16
+ ID15,
17
17
  MethodID2
18
- } from "./worktree-yxcs01xt.js";
18
+ } from "./snapshot-y9j1a3y8.js";
19
19
  import {
20
20
  which2
21
- } from "./worktree-qaymkmh1.js";
21
+ } from "./snapshot-qaymkmh1.js";
22
22
  import {
23
- ID13,
23
+ ID14,
24
24
  Service77
25
- } from "./worktree-zy2d75w1.js";
25
+ } from "./snapshot-jx7g0qr7.js";
26
26
  import {
27
- ID12
28
- } from "./worktree-211v3ywx.js";
27
+ ID13
28
+ } from "./snapshot-k96bjchk.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./worktree-9k2mwdeg.js";
31
+ } from "./snapshot-6k6232hn.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,14 +63,14 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make7(endpoints = {
66
+ function make6(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID13.azure);
73
+ const configured = yield* configuredSettings2(ID14.azure);
74
74
  const processes = yield* AppProcess.Service;
75
75
  const bus = yield* Service86;
76
76
  const credentials = yield* Service80;
@@ -100,11 +100,11 @@ function make7(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID13.azure,
103
+ integrationID: ID14.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID13.azure,
107
+ integrationID: ID14.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make7(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID13.azure,
125
+ integrationID: ID14.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make7(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID13.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID14.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make7(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID13.azure))?.settings;
185
+ const settings = (yield* providers.get(ID14.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make7(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID14.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID14.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make7(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID14.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID14.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make7(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID13.azure);
243
+ const item = evt.get(ID14.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make7(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID14.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  if (!resourceName)
@@ -270,20 +270,20 @@ function make7(endpoints = {
270
270
  }
271
271
  if (!loaded.deployments)
272
272
  return;
273
- const catalog = models.list(ID13.azure);
273
+ const catalog = models.list(ID14.azure);
274
274
  const deployed = deployedModels(loaded.deployments, catalog);
275
275
  for (const model of catalog) {
276
276
  if (!deployed.has(model.id))
277
- models.remove(ID13.azure, model.id);
277
+ models.remove(ID14.azure, model.id);
278
278
  }
279
279
  for (const [id, model] of deployed) {
280
- models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
280
+ models.update(ID14.azure, id, (draft) => Object.assign(draft, model));
281
281
  }
282
282
  });
283
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
283
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
284
284
  yield* refresh().pipe(Effect.forkScoped);
285
285
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
286
- const connection = yield* ctx.integration.connection.active(ID13.azure);
286
+ const connection = yield* ctx.integration.connection.active(ID14.azure);
287
287
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
288
288
  return;
289
289
  })) : undefined;
@@ -295,7 +295,7 @@ function make7(endpoints = {
295
295
  return `Bearer ${current.access}`;
296
296
  });
297
297
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
298
- if (evt.model.providerID !== ID13.azure)
298
+ if (evt.model.providerID !== ID14.azure)
299
299
  return;
300
300
  const authorization = yield* bearer(evt.request.url);
301
301
  if (!authorization)
@@ -304,9 +304,9 @@ function make7(endpoints = {
304
304
  evt.request.headers.delete("x-api-key");
305
305
  evt.request.headers.set("authorization", authorization);
306
306
  evt.request.headers.set("user-agent", useragent2(ctx.app));
307
- }), { providerID: ID13.azure });
307
+ }), { providerID: ID14.azure });
308
308
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
309
- if (evt.model.providerID !== ID13.azure)
309
+ if (evt.model.providerID !== ID14.azure)
310
310
  return;
311
311
  const authorization = yield* bearer(evt.url);
312
312
  if (!authorization)
@@ -315,11 +315,11 @@ function make7(endpoints = {
315
315
  delete evt.headers["x-api-key"];
316
316
  evt.headers.authorization = authorization;
317
317
  evt.headers["user-agent"] = useragent2(ctx.app);
318
- }), { providerID: ID13.azure });
318
+ }), { providerID: ID14.azure });
319
319
  })
320
320
  });
321
321
  }
322
- var AzurePlugin2 = make7();
322
+ var AzurePlugin2 = make6();
323
323
  function resolveResourceName(settings, fallback) {
324
324
  const configured = settings?.resourceName;
325
325
  if (typeof configured === "string" && configured.trim() !== "")
@@ -349,11 +349,11 @@ function deployedModels(deployments, catalog) {
349
349
  const model = catalogModel(models, deployment);
350
350
  if (!model)
351
351
  return [];
352
- const id = ID12.make(deployment.name.toLowerCase());
352
+ const id = ID13.make(deployment.name.toLowerCase());
353
353
  const info = {
354
354
  ...structuredClone(model),
355
355
  id,
356
- modelID: ID12.make(deployment.name),
356
+ modelID: ID13.make(deployment.name),
357
357
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
358
358
  };
359
359
  return [[id, info]];
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
375
375
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
376
376
  }
377
377
 
378
- export { make7, AzurePlugin2 };
378
+ export { make6, AzurePlugin2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  policy3
3
- } from "./worktree-wnhgecwx.js";
3
+ } from "./snapshot-wnhgecwx.js";
4
4
  import {
5
5
  SessionEvent2
6
- } from "./worktree-ec1grn59.js";
6
+ } from "./snapshot-ec1grn59.js";
7
7
  import {
8
8
  __export
9
- } from "./worktree-9rqn6x4v.js";
9
+ } from "./snapshot-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make5,
16
+ make: () => make10,
17
17
  policy: () => policy2
18
18
  });
19
19
  import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
39
39
  return { retry: true, attempt: next.attempt, delay: normalized };
40
40
  });
41
41
  });
42
- var make5 = (bus, sessionID) => Effect.gen(function* () {
42
+ var make10 = (bus, sessionID) => Effect.gen(function* () {
43
43
  const decide = yield* policy2(sessionID);
44
44
  const wait = (input) => Effect.gen(function* () {
45
45
  const scheduled = yield* Clock.currentTimeMillis;
@@ -56,4 +56,4 @@ var make5 = (bus, sessionID) => Effect.gen(function* () {
56
56
  return { decide, wait };
57
57
  });
58
58
 
59
- export { isRetryable2, policy2, make5, exports_retry };
59
+ export { isRetryable2, policy2, make10, exports_retry };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service70,
3
- node73
4
- } from "./worktree-zwrzbpfr.js";
2
+ Service71,
3
+ node74
4
+ } from "./snapshot-w68dkr85.js";
5
5
  import {
6
- Service83,
7
- node86
8
- } from "./worktree-pjb3r7bt.js";
6
+ Service81,
7
+ node85
8
+ } from "./snapshot-grg4dqxx.js";
9
9
  import {
10
- Service69,
11
- node72
12
- } from "./worktree-3ndyf3yw.js";
10
+ Service70,
11
+ node73
12
+ } from "./snapshot-vpeh2c4h.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./worktree-6esdw8yj.js";
16
+ } from "./snapshot-6esdw8yj.js";
17
17
  import {
18
18
  __export
19
- } from "./worktree-9rqn6x4v.js";
19
+ } from "./snapshot-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service4,
25
+ Service: () => Service10,
26
26
  empty: () => empty2,
27
- layer: () => layer5,
28
- node: () => node6
27
+ layer: () => layer7,
28
+ node: () => node12
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service10 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
- const config = yield* Service69;
40
- const watcher = yield* Service70;
38
+ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
39
+ const config = yield* Service70;
40
+ const watcher = yield* Service71;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service83;
42
+ const location = yield* Service81;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service4.of({
61
+ return Service10.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node6 = makeLocationNode({
74
- service: Service4,
75
- layer: layer5,
76
- deps: [node72, FSUtil.node, node73, node86]
73
+ var node12 = makeLocationNode({
74
+ service: Service10,
75
+ layer: layer7,
76
+ deps: [node73, FSUtil.node, node74, node85]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service4,
80
- layer: Layer.succeed(Service4, Service4.of({
79
+ service: Service10,
80
+ layer: Layer.succeed(Service10, Service10.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -138,4 +138,4 @@ function isPluginSource(entries, file) {
138
138
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
139
139
  }
140
140
 
141
- export { Service4, layer5, node6, empty2, exports_source };
141
+ export { Service10, layer7, node12, empty2, exports_source };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service86,
3
- node89
4
- } from "./worktree-9yke2vdy.js";
3
+ node90
4
+ } from "./snapshot-a7hv09h9.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./worktree-bstexjd6.js";
11
+ } from "./snapshot-bstexjd6.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./worktree-z5v4ffb3.js";
14
+ } from "./snapshot-z5v4ffb3.js";
15
15
  import {
16
- Service41,
17
- node44
18
- } from "./worktree-abbaypxx.js";
16
+ Service49,
17
+ node52
18
+ } from "./snapshot-a4j6n3kj.js";
19
19
  import {
20
20
  changes2,
21
21
  create3
22
- } from "./worktree-204s3925.js";
22
+ } from "./snapshot-204s3925.js";
23
23
  import {
24
24
  __export
25
- } from "./worktree-9rqn6x4v.js";
25
+ } from "./snapshot-9rqn6x4v.js";
26
26
 
27
27
  // src/reference.ts
28
28
  var exports_reference2 = {};
29
29
  __export(exports_reference2, {
30
- Event: () => Event8,
30
+ Event: () => Event6,
31
31
  GitSource: () => GitSource2,
32
- Info: () => Info9,
32
+ Info: () => Info11,
33
33
  LocalSource: () => LocalSource2,
34
34
  Reference: () => exports_reference2,
35
- Service: () => Service40,
36
- Source: () => Source4,
37
- node: () => node43
35
+ Service: () => Service43,
36
+ Source: () => Source3,
37
+ node: () => node45
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import { Context, Effect, Layer, Scope } from "effect";
41
41
  import { Reference } from "@opencode/schema/reference";
42
42
  import { Global } from "@opencode/util/global";
43
- import { Event as Event8 } from "@opencode/schema/reference";
43
+ import { Event as Event6 } from "@opencode/schema/reference";
44
44
  var LocalSource2 = Reference.LocalSource;
45
45
  var GitSource2 = Reference.GitSource;
46
- var Source4 = Reference.Source;
47
- var Info9 = Reference.Info;
46
+ var Source3 = Reference.Source;
47
+ var Info11 = Reference.Info;
48
48
 
49
- class Service40 extends Context.Service()("@opencode/Reference") {
49
+ class Service43 extends Context.Service()("@opencode/Reference") {
50
50
  }
51
- var layer = Layer.effect(Service40, Effect.gen(function* () {
51
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
52
52
  const global = yield* Global.Service;
53
53
  const bus = yield* Service86;
54
- const cache = yield* Service41;
54
+ const cache = yield* Service49;
55
55
  const scope = yield* Scope.Scope;
56
56
  const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
57
57
  const info = {
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
61
61
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
62
62
  };
63
63
  if (source.type === "local")
64
- return [Info9.make({ ...info, path: source.path })];
64
+ return [Info11.make({ ...info, path: source.path })];
65
65
  const repository = parse4(source.repository);
66
66
  if (!repository || !isRemote2(repository))
67
67
  return [];
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
73
73
  }
74
74
  }
75
75
  return [
76
- Info9.make({
76
+ Info11.make({
77
77
  ...info,
78
78
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
79
79
  })
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
105
105
  }))
106
106
  });
107
107
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
108
- return Service40.of({
108
+ return Service43.of({
109
109
  transform: state.transform,
110
110
  reload: state.reload,
111
111
  list: Effect.fn("Reference.list")(function* () {
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
113
113
  })
114
114
  });
115
115
  }));
116
- var node43 = makeLocationNode({
117
- service: Service40,
116
+ var node45 = makeLocationNode({
117
+ service: Service43,
118
118
  layer,
119
- deps: [Global.node, node89, node44]
119
+ deps: [Global.node, node90, node52]
120
120
  });
121
121
 
122
- export { LocalSource2, GitSource2, Source4, Info9, Service40, node43, exports_reference2, Event8 };
122
+ export { LocalSource2, GitSource2, Source3, Info11, Service43, node45, exports_reference2, Event6 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./worktree-7stb81gk.js";
3
+ } from "./snapshot-7stb81gk.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin51,
11
+ Plugin: () => Plugin28,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin51 = define({
18
+ var Plugin28 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin51, exports_tool_input_repair };
123
+ export { Plugin28, exports_tool_input_repair };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./worktree-b85szd7h.js";
3
+ } from "./snapshot-216cdjjz.js";
4
4
  import {
5
- Service65
6
- } from "./worktree-tc90wnbk.js";
5
+ Service59
6
+ } from "./snapshot-xv2swx2p.js";
7
7
  import {
8
- Service19
9
- } from "./worktree-x5xpvpef.js";
8
+ Service58
9
+ } from "./snapshot-yk05r3rx.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./worktree-d4v9tmah.js";
12
+ } from "./snapshot-d4v9tmah.js";
13
13
  import {
14
14
  Info13,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./worktree-9t9nbwt3.js";
19
+ } from "./snapshot-1hsgd8ch.js";
20
20
  import {
21
21
  __export
22
- } from "./worktree-9rqn6x4v.js";
22
+ } from "./snapshot-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/opencode.ts
25
25
  var exports_opencode = {};
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin21,
30
+ Plugin: () => Plugin16,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -105,11 +105,11 @@ var ModelsOutput = Schema.Struct({
105
105
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
106
106
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
107
107
  });
108
- var Plugin21 = {
108
+ var Plugin16 = {
109
109
  id: "opencode.tools",
110
110
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
111
- const access = yield* Service19;
112
- const permission = yield* Service65;
111
+ const access = yield* Service58;
112
+ const permission = yield* Service59;
113
113
  const hook = (event) => Effect.sync(() => {
114
114
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
115
115
  });
@@ -258,4 +258,4 @@ function removeFailure(directory, error) {
258
258
  return `Unable to remove worktree ${directory}.`;
259
259
  }
260
260
 
261
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin21, exports_opencode };
261
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin16, exports_opencode };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service87,
3
- node90
4
- } from "./worktree-hndjt1e9.js";
3
+ node91
4
+ } from "./snapshot-9a2mpknv.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./worktree-mb7mbhnz.js";
8
+ } from "./snapshot-mb7mbhnz.js";
9
9
  import {
10
10
  decodeMessageRows2,
11
11
  decodeMessageRowsWithRefs2,
12
12
  load5
13
- } from "./worktree-q2nqdedq.js";
13
+ } from "./snapshot-01x5qw2q.js";
14
14
  import {
15
15
  fromRow2
16
- } from "./worktree-djd49kbm.js";
16
+ } from "./snapshot-7j6as1n5.js";
17
17
  import {
18
18
  __export
19
- } from "./worktree-9rqn6x4v.js";
19
+ } from "./snapshot-9rqn6x4v.js";
20
20
 
21
21
  // src/session/store.ts
22
22
  var exports_store = {};
23
23
  __export(exports_store, {
24
24
  ListInput: () => ListInput3,
25
- Service: () => Service67,
25
+ Service: () => Service61,
26
26
  SessionStore: () => exports_store,
27
- node: () => node70
27
+ node: () => node64
28
28
  });
29
29
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -54,9 +54,9 @@ var ListProjectInput = Schema.Struct({
54
54
  var ListAllInput = Schema.Struct(ListInputBase);
55
55
  var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
56
56
 
57
- class Service67 extends Context.Service()("@opencode/SessionStore") {
57
+ class Service61 extends Context.Service()("@opencode/SessionStore") {
58
58
  }
59
- var layer = Layer.effect(Service67, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
60
60
  const { db } = yield* Service87;
61
61
  const messageRows = Effect.fnUntraced(function* (input) {
62
62
  const direction = input.cursor?.direction ?? "next";
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
71
71
  return direction === "previous" ? rows.toReversed() : rows;
72
72
  });
73
73
  const messageRow = (messageID) => db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
74
- return Service67.of({
74
+ return Service61.of({
75
75
  get: Effect.fnUntraced(function* (sessionID) {
76
76
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
77
77
  return row ? fromRow2(row) : undefined;
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
143
143
  })
144
144
  });
145
145
  }));
146
- var node70 = makeGlobalNode({ service: Service67, layer, deps: [node90] });
146
+ var node64 = makeGlobalNode({ service: Service61, layer, deps: [node91] });
147
147
 
148
- export { ListInput3, Service67, node70, exports_store };
148
+ export { ListInput3, Service61, node64, exports_store };