@opencode/core 0.0.0-dev-21528 → 0.0.0-dev-21541

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{ripgrep-034tev2y.js → workspace-034tev2y.js} +2 -2
  8. package/dist/chunks/{ripgrep-52gmg6gk.js → workspace-074m64dp.js} +20 -20
  9. package/dist/chunks/{ripgrep-f0s1k55d.js → workspace-07sqsv9w.js} +7 -7
  10. package/dist/chunks/{ripgrep-eaj1djv9.js → workspace-0gdmqesm.js} +8 -8
  11. package/dist/chunks/{ripgrep-pc1v25hk.js → workspace-0ss1ygn7.js} +3 -3
  12. package/dist/chunks/{ripgrep-x874k1t8.js → workspace-0tjpvapw.js} +10 -10
  13. package/dist/chunks/{ripgrep-0vbcp93d.js → workspace-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{ripgrep-9qxkzfze.js → workspace-0xx3ns2v.js} +22 -22
  15. package/dist/chunks/{ripgrep-pq7a6r0e.js → workspace-0z8yhdqv.js} +65 -65
  16. package/dist/chunks/{ripgrep-3qs99gjb.js → workspace-132rhf2q.js} +25 -24
  17. package/dist/chunks/{ripgrep-0rhcgknv.js → workspace-15wxq0kj.js} +8 -8
  18. package/dist/chunks/{ripgrep-8hf7gczp.js → workspace-1bzs4kqq.js} +21 -21
  19. package/dist/chunks/{ripgrep-1ep2p91f.js → workspace-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{ripgrep-ak2q6qgs.js → workspace-1fnk0qcx.js} +13 -13
  21. package/dist/chunks/{ripgrep-8sze2n9a.js → workspace-1p07q0wb.js} +8 -8
  22. package/dist/chunks/{ripgrep-qs8w2ksw.js → workspace-1rd0hf05.js} +18 -18
  23. package/dist/chunks/{ripgrep-vxg243jx.js → workspace-2ahabfrv.js} +4 -4
  24. package/dist/chunks/{ripgrep-pf494cc8.js → workspace-2b6qkcs0.js} +50 -50
  25. package/dist/chunks/{ripgrep-ywryrc1x.js → workspace-2ec29r6m.js} +4 -4
  26. package/dist/chunks/{ripgrep-wfyym0nk.js → workspace-2egnw719.js} +14 -14
  27. package/dist/chunks/{ripgrep-j2hyxy1e.js → workspace-2phre6gr.js} +23 -24
  28. package/dist/chunks/{ripgrep-g7hwtxxj.js → workspace-2xebcxdz.js} +14 -14
  29. package/dist/chunks/{ripgrep-gd6ja0kz.js → workspace-36cygfdp.js} +11 -11
  30. package/dist/chunks/{ripgrep-gr1f03ws.js → workspace-38phfjcn.js} +9 -9
  31. package/dist/chunks/{ripgrep-3842yvza.js → workspace-3b7e46vg.js} +36 -36
  32. package/dist/chunks/{ripgrep-nhe1x14z.js → workspace-3byrw2k0.js} +9 -9
  33. package/dist/chunks/{ripgrep-4314yh8e.js → workspace-3chvherp.js} +4 -4
  34. package/dist/chunks/{ripgrep-h4542y1d.js → workspace-3eyct666.js} +34 -34
  35. package/dist/chunks/{ripgrep-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{ripgrep-3hwn7j4h.js → workspace-3hwn7j4h.js} +2 -2
  37. package/dist/chunks/{ripgrep-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{ripgrep-gqtdsdt7.js → workspace-3y377wv9.js} +4 -4
  39. package/dist/chunks/{ripgrep-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{ripgrep-sb5w5fqd.js → workspace-47xvp063.js} +17 -17
  41. package/dist/chunks/{ripgrep-wf8m51n0.js → workspace-4gx1jjxq.js} +45 -45
  42. package/dist/chunks/{ripgrep-eya67jsr.js → workspace-4jhg1r7p.js} +13 -13
  43. package/dist/chunks/{ripgrep-b46x1qag.js → workspace-4myb3554.js} +20 -20
  44. package/dist/chunks/{ripgrep-r94pvvab.js → workspace-54ma36ye.js} +4 -4
  45. package/dist/chunks/{ripgrep-xfkkasph.js → workspace-57b9ws8p.js} +7 -7
  46. package/dist/chunks/{ripgrep-mqqhst8y.js → workspace-5fec3t3w.js} +9 -9
  47. package/dist/chunks/{ripgrep-5g57z1ma.js → workspace-5g57z1ma.js} +1 -1
  48. package/dist/chunks/{ripgrep-eft6wwca.js → workspace-5ggmzyjq.js} +35 -35
  49. package/dist/chunks/{ripgrep-gfvcc5jk.js → workspace-5gwxr4wz.js} +23 -23
  50. package/dist/chunks/{ripgrep-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{ripgrep-dznbw734.js → workspace-5tgqe19z.js} +55 -55
  52. package/dist/chunks/{ripgrep-644y02x9.js → workspace-5x8rsm2f.js} +24 -24
  53. package/dist/chunks/{ripgrep-6827pfxn.js → workspace-6827pfxn.js} +1 -1
  54. package/dist/chunks/{ripgrep-tc46500c.js → workspace-6gzxrv04.js} +16 -16
  55. package/dist/chunks/{ripgrep-rcwd9s5q.js → workspace-6h1z9x2t.js} +28 -28
  56. package/dist/chunks/{ripgrep-epbjas11.js → workspace-6n72fwwd.js} +29 -29
  57. package/dist/chunks/{ripgrep-f0n6e319.js → workspace-6s9zvkg6.js} +14 -14
  58. package/dist/chunks/{ripgrep-6xb47vfp.js → workspace-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{ripgrep-10c60s01.js → workspace-73a41k9m.js} +26 -27
  60. package/dist/chunks/{ripgrep-252xprac.js → workspace-76475ja5.js} +30 -30
  61. package/dist/chunks/{ripgrep-9g0nchv4.js → workspace-76skp782.js} +22 -22
  62. package/dist/chunks/{ripgrep-775gj3j1.js → workspace-775gj3j1.js} +2 -2
  63. package/dist/chunks/{ripgrep-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  64. package/dist/chunks/workspace-7jmfkexa.js +26 -0
  65. package/dist/chunks/{ripgrep-5t2kw4pk.js → workspace-7ycdgr6s.js} +15 -15
  66. package/dist/chunks/{ripgrep-yk55vtb2.js → workspace-7zyx6fzq.js} +23 -23
  67. package/dist/chunks/{ripgrep-01mpbv93.js → workspace-80ea5f6r.js} +32 -32
  68. package/dist/chunks/{ripgrep-84txncab.js → workspace-84txncab.js} +1 -1
  69. package/dist/chunks/{ripgrep-6fx9ws93.js → workspace-8dh2j701.js} +21 -21
  70. package/dist/chunks/{ripgrep-8m6m0r52.js → workspace-8m6m0r52.js} +1 -1
  71. package/dist/chunks/{ripgrep-z03qmy9y.js → workspace-8mr27nf4.js} +4 -4
  72. package/dist/chunks/{ripgrep-8mywswrd.js → workspace-8mywswrd.js} +1 -1
  73. package/dist/chunks/{ripgrep-1jjmp4ry.js → workspace-8x4e5kq0.js} +27 -30
  74. package/dist/chunks/{ripgrep-1jbzqkv3.js → workspace-8xnx0mnd.js} +8 -8
  75. package/dist/chunks/{ripgrep-rcdfc04v.js → workspace-8yp4rne4.js} +11 -11
  76. package/dist/chunks/{ripgrep-y72zmemf.js → workspace-91p1v22t.js} +8 -8
  77. package/dist/chunks/{ripgrep-4rv5m1hd.js → workspace-98bt88c5.js} +20 -20
  78. package/dist/chunks/{ripgrep-998yhzzq.js → workspace-998yhzzq.js} +3 -3
  79. package/dist/chunks/{ripgrep-w81ytvh4.js → workspace-9dmx38dk.js} +21 -21
  80. package/dist/chunks/{ripgrep-s247n0z7.js → workspace-9nygwmwc.js} +27 -27
  81. package/dist/chunks/{ripgrep-0z5rwn5b.js → workspace-9qj6rkp4.js} +5 -5
  82. package/dist/chunks/{ripgrep-k35zjkf6.js → workspace-9sbtww25.js} +36 -36
  83. package/dist/chunks/{ripgrep-9wev2pgg.js → workspace-9wev2pgg.js} +1 -1
  84. package/dist/chunks/{ripgrep-mw7fnh7a.js → workspace-9z8cn46p.js} +6 -6
  85. package/dist/chunks/{ripgrep-3t0ybcrp.js → workspace-a058387c.js} +4 -2
  86. package/dist/chunks/{ripgrep-jy7marrj.js → workspace-a94rjkpn.js} +7 -7
  87. package/dist/chunks/{ripgrep-z37bqphs.js → workspace-aar2av7x.js} +6 -6
  88. package/dist/chunks/{ripgrep-0n64x4tw.js → workspace-abc6j8jm.js} +32 -32
  89. package/dist/chunks/{ripgrep-rk26gw9b.js → workspace-ae239eb7.js} +44 -44
  90. package/dist/chunks/{ripgrep-c00cthjb.js → workspace-ansnh6at.js} +10 -10
  91. package/dist/chunks/{ripgrep-z4tnrsa6.js → workspace-aq552fny.js} +179 -179
  92. package/dist/chunks/{ripgrep-vewkg1sw.js → workspace-ayabmdkg.js} +24 -25
  93. package/dist/chunks/{ripgrep-xw9fg8fb.js → workspace-ayjs7tqn.js} +3 -3
  94. package/dist/chunks/{ripgrep-zhbt7eq1.js → workspace-b10f7vcz.js} +6 -6
  95. package/dist/chunks/{ripgrep-b11a7tx7.js → workspace-b11a7tx7.js} +1 -1
  96. package/dist/chunks/{ripgrep-crvmmsgx.js → workspace-bbyyxdtc.js} +18 -18
  97. package/dist/chunks/{ripgrep-p353fx2f.js → workspace-be4f7z37.js} +83 -87
  98. package/dist/chunks/{ripgrep-ygd2mcpa.js → workspace-bqszwq89.js} +8 -8
  99. package/dist/chunks/{ripgrep-r2610tc4.js → workspace-bry36w7y.js} +20 -20
  100. package/dist/chunks/{ripgrep-v9fefnh7.js → workspace-bwq0z05b.js} +25 -27
  101. package/dist/chunks/{ripgrep-30exac31.js → workspace-bxxa49vs.js} +26 -26
  102. package/dist/chunks/workspace-by5v678g.js +18 -0
  103. package/dist/chunks/{ripgrep-bzeyqsqd.js → workspace-bzeyqsqd.js} +1 -1
  104. package/dist/chunks/{ripgrep-mah98xap.js → workspace-c3jpadc8.js} +5 -5
  105. package/dist/chunks/{ripgrep-s7025g3c.js → workspace-c48qrqrp.js} +20 -20
  106. package/dist/chunks/{ripgrep-cqqcamvx.js → workspace-c7kxmbtf.js} +17 -17
  107. package/dist/chunks/{ripgrep-gkymdc6s.js → workspace-cah5dkv9.js} +11 -11
  108. package/dist/chunks/{ripgrep-c1gpv2mk.js → workspace-cbartrqj.js} +10 -10
  109. package/dist/chunks/{ripgrep-p37cw4rj.js → workspace-cmwkp3r5.js} +8 -8
  110. package/dist/chunks/{ripgrep-942tz9ab.js → workspace-cr9hweqv.js} +5 -5
  111. package/dist/chunks/{ripgrep-7gs737wr.js → workspace-css516a4.js} +6 -6
  112. package/dist/chunks/{ripgrep-2sejkfem.js → workspace-d4he2qe1.js} +9 -9
  113. package/dist/chunks/{ripgrep-qkhw7n0g.js → workspace-daz98v5x.js} +32 -32
  114. package/dist/chunks/{ripgrep-q6s3sz9j.js → workspace-db8n8p1c.js} +39 -41
  115. package/dist/chunks/{ripgrep-1x7nm4pt.js → workspace-dbe25myc.js} +11 -11
  116. package/dist/chunks/{ripgrep-1kr28b9y.js → workspace-dex2drwj.js} +14 -14
  117. package/dist/chunks/{ripgrep-y71avatq.js → workspace-dpkg50ah.js} +4 -4
  118. package/dist/chunks/{ripgrep-fn9t717r.js → workspace-dq407baf.js} +6 -6
  119. package/dist/chunks/{ripgrep-q7x4taa7.js → workspace-drdx3kxz.js} +13 -13
  120. package/dist/chunks/{ripgrep-zg0hshr1.js → workspace-dtmbvn3g.js} +5 -5
  121. package/dist/chunks/{ripgrep-6z448gwt.js → workspace-e2t3pw6w.js} +17 -17
  122. package/dist/chunks/{ripgrep-5qd3pb7m.js → workspace-e3qxr5gk.js} +2 -2
  123. package/dist/chunks/{ripgrep-r4fxm0j1.js → workspace-e4n1ebq2.js} +3 -3
  124. package/dist/chunks/{ripgrep-h0164j0a.js → workspace-e6g20fz5.js} +23 -23
  125. package/dist/chunks/{ripgrep-za6yq9hg.js → workspace-e89xj288.js} +5 -5
  126. package/dist/chunks/{ripgrep-7n3ryd6m.js → workspace-ea9zv6cw.js} +13 -13
  127. package/dist/chunks/{ripgrep-eej6y6fw.js → workspace-eej6y6fw.js} +2 -2
  128. package/dist/chunks/{ripgrep-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{ripgrep-8b5ta5tp.js → workspace-efxx8rk8.js} +13 -13
  130. package/dist/chunks/{ripgrep-98ann1j5.js → workspace-eg33xqqg.js} +47 -47
  131. package/dist/chunks/{ripgrep-qg4e8vdn.js → workspace-etgqrbqm.js} +32 -32
  132. package/dist/chunks/{ripgrep-71syg536.js → workspace-etj2j5tt.js} +21 -21
  133. package/dist/chunks/{ripgrep-9gg87rr4.js → workspace-ewxdsezr.js} +32 -32
  134. package/dist/chunks/{ripgrep-nq7ffrj9.js → workspace-f3crtseh.js} +4 -4
  135. package/dist/chunks/{ripgrep-fcy631f0.js → workspace-fcy631f0.js} +1 -1
  136. package/dist/chunks/{ripgrep-47jkzegy.js → workspace-fcyg4h47.js} +7 -11
  137. package/dist/chunks/{ripgrep-36n1s7v8.js → workspace-ffq1c2je.js} +25 -25
  138. package/dist/chunks/{ripgrep-41fykjt6.js → workspace-ffvkjqdt.js} +9 -9
  139. package/dist/chunks/{ripgrep-xsbswz4w.js → workspace-fk85bsrp.js} +11 -11
  140. package/dist/chunks/{ripgrep-zh0x9fg3.js → workspace-fstg4fsa.js} +15 -15
  141. package/dist/chunks/{ripgrep-ss64yk7e.js → workspace-fx7mmp1n.js} +28 -28
  142. package/dist/chunks/{ripgrep-3dk8yxk5.js → workspace-g1z83s7x.js} +47 -47
  143. package/dist/chunks/{ripgrep-m58m10rk.js → workspace-g6h99m46.js} +1 -1
  144. package/dist/chunks/{ripgrep-1t3k43qg.js → workspace-g9ay48z2.js} +5 -5
  145. package/dist/chunks/{ripgrep-de70dmzp.js → workspace-g9vnk3jz.js} +19 -20
  146. package/dist/chunks/{ripgrep-9g0wqaaz.js → workspace-gcb5g84z.js} +32 -32
  147. package/dist/chunks/{ripgrep-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{ripgrep-0vh2wh8r.js → workspace-ggk6kvmh.js} +23 -23
  149. package/dist/chunks/{ripgrep-b38r71wk.js → workspace-gky04n8p.js} +17 -17
  150. package/dist/chunks/{ripgrep-zdhd8t02.js → workspace-gm6mk2m9.js} +12 -12
  151. package/dist/chunks/{ripgrep-6bc70xnv.js → workspace-gmce5qqj.js} +1 -1
  152. package/dist/chunks/{ripgrep-cqz5yx1g.js → workspace-gn585jta.js} +5 -5
  153. package/dist/chunks/{ripgrep-hbprad8z.js → workspace-gs67eedh.js} +38 -35
  154. package/dist/chunks/{ripgrep-a171qt9a.js → workspace-gv7ndrzx.js} +4 -4
  155. package/dist/chunks/{ripgrep-5w5a4wvv.js → workspace-gwaf4cyv.js} +10 -10
  156. package/dist/chunks/{ripgrep-k6k9nh3f.js → workspace-h6tfspxq.js} +14 -14
  157. package/dist/chunks/{ripgrep-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{ripgrep-h6pdp2g8.js → workspace-h7jf40e2.js} +13 -13
  159. package/dist/chunks/{ripgrep-syv4x271.js → workspace-h8vwnyd8.js} +4 -2
  160. package/dist/chunks/{ripgrep-dj68pnee.js → workspace-h90v2x9d.js} +4 -4
  161. package/dist/chunks/{ripgrep-3x7f1rzc.js → workspace-hcgv7z9w.js} +9 -9
  162. package/dist/chunks/{ripgrep-hgz4x7wa.js → workspace-hgz4x7wa.js} +1 -1
  163. package/dist/chunks/{ripgrep-ttnk9ntm.js → workspace-hhn6cs7f.js} +23 -23
  164. package/dist/chunks/{ripgrep-8ra0dv5t.js → workspace-hp24smfg.js} +14 -14
  165. package/dist/chunks/{ripgrep-sa6168g2.js → workspace-j6jn98s4.js} +6 -6
  166. package/dist/chunks/{ripgrep-2qn0jgtg.js → workspace-j6p3x2qe.js} +56 -57
  167. package/dist/chunks/{ripgrep-mjsx87f0.js → workspace-j90sh0vw.js} +79 -79
  168. package/dist/chunks/{ripgrep-nxeywbky.js → workspace-je188k40.js} +23 -23
  169. package/dist/chunks/{ripgrep-2awrrk9p.js → workspace-jjrctdmw.js} +15 -15
  170. package/dist/chunks/{ripgrep-zcrspsvn.js → workspace-jvf3yq6v.js} +4 -4
  171. package/dist/chunks/{ripgrep-x1833xj2.js → workspace-jyhwqdka.js} +18 -18
  172. package/dist/chunks/{ripgrep-zy43x3f1.js → workspace-k0a3z2qz.js} +4 -4
  173. package/dist/chunks/{ripgrep-ja3v411g.js → workspace-k4814axw.js} +17 -17
  174. package/dist/chunks/{ripgrep-4pq9qanv.js → workspace-kc8eh7pk.js} +38 -38
  175. package/dist/chunks/{ripgrep-t4jxebhw.js → workspace-kccjhh93.js} +5 -5
  176. package/dist/chunks/{ripgrep-h4bqh5zx.js → workspace-keqvyq2w.js} +4 -4
  177. package/dist/chunks/{ripgrep-tppgbmaa.js → workspace-kgjxwjg5.js} +11 -11
  178. package/dist/chunks/{ripgrep-ny8edt06.js → workspace-khmqacep.js} +4 -4
  179. package/dist/chunks/{ripgrep-kwb1v3vj.js → workspace-kwb1v3vj.js} +1 -1
  180. package/dist/chunks/{ripgrep-xwkencv2.js → workspace-m22m6tzf.js} +12 -12
  181. package/dist/chunks/{ripgrep-75qa566n.js → workspace-m28avgzz.js} +17 -17
  182. package/dist/chunks/{ripgrep-82zcy4t3.js → workspace-m6fea7hh.js} +10 -10
  183. package/dist/chunks/{ripgrep-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{ripgrep-01shgzdc.js → workspace-maers0pd.js} +6 -6
  185. package/dist/chunks/{ripgrep-maspj1v3.js → workspace-maspj1v3.js} +1 -1
  186. package/dist/chunks/{ripgrep-qger05k9.js → workspace-mcqdwfqb.js} +11 -11
  187. package/dist/chunks/{ripgrep-7gxjxwcg.js → workspace-mshsb7tz.js} +15 -15
  188. package/dist/chunks/{ripgrep-51f5btjf.js → workspace-mx9vqzsb.js} +6 -6
  189. package/dist/chunks/{ripgrep-jc1xwfbq.js → workspace-mzmvkc7j.js} +26 -26
  190. package/dist/chunks/{ripgrep-6nd0dxps.js → workspace-n56c0sd4.js} +42 -42
  191. package/dist/chunks/{ripgrep-g75wcaan.js → workspace-n5d3v4c5.js} +3 -3
  192. package/dist/chunks/{ripgrep-z18fegx4.js → workspace-n6mrmtb3.js} +2 -10
  193. package/dist/chunks/{ripgrep-hh4ravdp.js → workspace-n8mct725.js} +2 -2
  194. package/dist/chunks/{ripgrep-5cvjwq3s.js → workspace-n8nk40tj.js} +26 -26
  195. package/dist/chunks/{ripgrep-kvapg1n1.js → workspace-ncqfdwrq.js} +19 -19
  196. package/dist/chunks/{ripgrep-xf5qsyy6.js → workspace-neqjwg63.js} +34 -34
  197. package/dist/chunks/{ripgrep-pt1ss6jy.js → workspace-nvxqht09.js} +3 -3
  198. package/dist/chunks/{ripgrep-xkhk1g30.js → workspace-nzg504jb.js} +15 -15
  199. package/dist/chunks/{ripgrep-mqjjpdbh.js → workspace-p1apbq8w.js} +11 -11
  200. package/dist/chunks/{ripgrep-jpjpmxdq.js → workspace-p8dm3ep0.js} +5 -5
  201. package/dist/chunks/{ripgrep-a8nkje97.js → workspace-pbjcynf2.js} +11 -11
  202. package/dist/chunks/{ripgrep-rew48swg.js → workspace-pcs4hp0r.js} +14 -14
  203. package/dist/chunks/{ripgrep-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{ripgrep-pknna89w.js → workspace-pknna89w.js} +1 -1
  205. package/dist/chunks/{ripgrep-sye62zz8.js → workspace-pmpp0nb4.js} +26 -26
  206. package/dist/chunks/{ripgrep-jwm9r2mk.js → workspace-pwrxqpxd.js} +18 -18
  207. package/dist/chunks/{ripgrep-6ze0vk8j.js → workspace-pzzw2hqw.js} +7 -7
  208. package/dist/chunks/{ripgrep-hpwndzcc.js → workspace-q40yvqvp.js} +5 -5
  209. package/dist/chunks/{ripgrep-52cc258v.js → workspace-q8rwc74j.js} +18 -18
  210. package/dist/chunks/{ripgrep-ryr25ayn.js → workspace-qa3qhgw8.js} +4 -4
  211. package/dist/chunks/{ripgrep-thjxzeng.js → workspace-qby9dwvd.js} +8 -8
  212. package/dist/chunks/{ripgrep-0jwsre1p.js → workspace-qgn6gcr1.js} +5 -5
  213. package/dist/chunks/{ripgrep-5qsp4wg3.js → workspace-qhd9gkgf.js} +12 -12
  214. package/dist/chunks/{ripgrep-02mvvr71.js → workspace-qp7m8750.js} +3 -3
  215. package/dist/chunks/{ripgrep-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  216. package/dist/chunks/{ripgrep-d39q5djw.js → workspace-qssh8sag.js} +46 -46
  217. package/dist/chunks/{ripgrep-zj9sjr7a.js → workspace-qv9b3h9n.js} +34 -34
  218. package/dist/chunks/{ripgrep-4323h7yk.js → workspace-r29avfkz.js} +9 -9
  219. package/dist/chunks/{ripgrep-8p6qz19e.js → workspace-r4fxfztp.js} +28 -28
  220. package/dist/chunks/{ripgrep-qbvfc74m.js → workspace-r6k9he64.js} +18 -18
  221. package/dist/chunks/{ripgrep-knfx0005.js → workspace-r9s8agc4.js} +34 -34
  222. package/dist/chunks/{ripgrep-gsy1tnq9.js → workspace-rdp8b27p.js} +19 -19
  223. package/dist/chunks/{ripgrep-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{ripgrep-zvnbwra8.js → workspace-rmja0r51.js} +10 -10
  225. package/dist/chunks/{ripgrep-vn93zb4z.js → workspace-rqgw4wbf.js} +45 -45
  226. package/dist/chunks/{ripgrep-cvmnawzf.js → workspace-rzp7a2t4.js} +11 -11
  227. package/dist/chunks/{ripgrep-k06ywqkh.js → workspace-s1sewrz2.js} +19 -19
  228. package/dist/chunks/{ripgrep-rb2qm7yc.js → workspace-s1v8awss.js} +3 -3
  229. package/dist/chunks/{ripgrep-c1menwye.js → workspace-s305gxse.js} +44 -44
  230. package/dist/chunks/{ripgrep-srrvx50p.js → workspace-s4gy3dj7.js} +16 -16
  231. package/dist/chunks/{ripgrep-5sk42kyx.js → workspace-s6ckz0hn.js} +11 -11
  232. package/dist/chunks/{ripgrep-1w3jgprt.js → workspace-s8ch1s93.js} +35 -36
  233. package/dist/chunks/{ripgrep-02vamycj.js → workspace-sb9g34e0.js} +5 -5
  234. package/dist/chunks/{ripgrep-fja19q0n.js → workspace-srp09zfw.js} +14 -14
  235. package/dist/chunks/{ripgrep-e1eg6kc1.js → workspace-st7p3hwb.js} +9 -12
  236. package/dist/chunks/workspace-stn147wg.js +257 -0
  237. package/dist/chunks/{ripgrep-pdjnt312.js → workspace-t18r7gq3.js} +56 -56
  238. package/dist/chunks/{ripgrep-40dgfgpg.js → workspace-t2s68hp7.js} +19 -19
  239. package/dist/chunks/{ripgrep-b79mf2wv.js → workspace-t3hn50w1.js} +5 -5
  240. package/dist/chunks/{ripgrep-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{ripgrep-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{ripgrep-tdstcens.js → workspace-tdstcens.js} +1 -1
  243. package/dist/chunks/{ripgrep-w1t606zy.js → workspace-tr7gnt89.js} +11 -11
  244. package/dist/chunks/{ripgrep-cdd3neqk.js → workspace-tvgxg3g6.js} +4 -4
  245. package/dist/chunks/{ripgrep-tyytaxap.js → workspace-tyytaxap.js} +1 -1
  246. package/dist/chunks/{ripgrep-6w56n6fk.js → workspace-tzprbfj6.js} +10 -10
  247. package/dist/chunks/{ripgrep-v7p4zvkq.js → workspace-v7p4zvkq.js} +2 -2
  248. package/dist/chunks/{ripgrep-afm8gjtq.js → workspace-va6mm9z7.js} +12 -12
  249. package/dist/chunks/{ripgrep-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  250. package/dist/chunks/{ripgrep-7r3p37an.js → workspace-vm8sweqc.js} +4 -4
  251. package/dist/chunks/{ripgrep-6cg5s87t.js → workspace-vsv97a0e.js} +25 -25
  252. package/dist/chunks/{ripgrep-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{ripgrep-7s3x24kv.js → workspace-w0rc49da.js} +30 -30
  254. package/dist/chunks/{ripgrep-wh6zw745.js → workspace-w2h15q85.js} +5 -5
  255. package/dist/chunks/{ripgrep-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{ripgrep-wakvkjy4.js → workspace-wakvkjy4.js} +1 -1
  257. package/dist/chunks/{ripgrep-xemxb09e.js → workspace-wb9ff8bn.js} +20 -20
  258. package/dist/chunks/{ripgrep-51cc7nn0.js → workspace-wbnh8gjc.js} +5 -5
  259. package/dist/chunks/{ripgrep-wd87259q.js → workspace-wd87259q.js} +1 -1
  260. package/dist/chunks/{ripgrep-1ffvrpkg.js → workspace-wjr9rjd7.js} +9 -9
  261. package/dist/chunks/{ripgrep-qsa492eb.js → workspace-wjst284m.js} +4 -4
  262. package/dist/chunks/{ripgrep-pf4vj2x2.js → workspace-x683dpmx.js} +32 -32
  263. package/dist/chunks/{ripgrep-0jq9fyba.js → workspace-xf8yqmad.js} +9 -9
  264. package/dist/chunks/{ripgrep-xjchawe4.js → workspace-xg0qp6eg.js} +11 -11
  265. package/dist/chunks/{ripgrep-f6md5hft.js → workspace-xghm9m12.js} +15 -15
  266. package/dist/chunks/{ripgrep-0p01dw92.js → workspace-xjzqkwqn.js} +13 -13
  267. package/dist/chunks/{ripgrep-vg6tgr51.js → workspace-xv7z1ba5.js} +18 -18
  268. package/dist/chunks/{ripgrep-n8c97awd.js → workspace-xy9gzbcy.js} +18 -18
  269. package/dist/chunks/{ripgrep-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{ripgrep-d4epdn84.js → workspace-y6e8h1xc.js} +25 -25
  271. package/dist/chunks/{ripgrep-gtrnswr7.js → workspace-y6rf4qat.js} +34 -34
  272. package/dist/chunks/{ripgrep-77w5wkn6.js → workspace-y76gxhjg.js} +331 -331
  273. package/dist/chunks/{ripgrep-bacj9t34.js → workspace-y7nndgyc.js} +9 -9
  274. package/dist/chunks/{ripgrep-5dgwy7vk.js → workspace-yefhp8xd.js} +11 -11
  275. package/dist/chunks/{ripgrep-3n7ky5ef.js → workspace-yfattsqw.js} +17 -17
  276. package/dist/chunks/{ripgrep-059731j3.js → workspace-ynmknp8q.js} +11 -11
  277. package/dist/chunks/{ripgrep-vp0mm0kc.js → workspace-ynrxtasp.js} +23 -26
  278. package/dist/chunks/{ripgrep-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{ripgrep-z7bf8532.js → workspace-z34erevr.js} +9 -9
  280. package/dist/chunks/{ripgrep-5czmpw7c.js → workspace-z71n2avg.js} +4 -4
  281. package/dist/chunks/{ripgrep-cd921w3g.js → workspace-zaq7yc5h.js} +4 -3
  282. package/dist/chunks/{ripgrep-3epxp6vs.js → workspace-zcfdnc2q.js} +29 -31
  283. package/dist/chunks/{ripgrep-a9rqmse4.js → workspace-zet3czjw.js} +16 -16
  284. package/dist/chunks/{ripgrep-a733a65v.js → workspace-zfm65xnk.js} +8 -8
  285. package/dist/chunks/{ripgrep-ehzasdw1.js → workspace-zqt4wd7s.js} +20 -20
  286. package/dist/chunks/{ripgrep-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{ripgrep-vm4m688h.js → workspace-zx59jank.js} +6 -7
  288. package/dist/chunks/{ripgrep-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -3
  290. package/dist/codemode/instructions.js +11 -11
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +85 -85
  294. package/dist/config/discovery.js +84 -84
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +101 -101
  297. package/dist/config/plugin/agent.js +118 -118
  298. package/dist/config/plugin/command.js +214 -214
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +117 -117
  303. package/dist/config/plugin/image.js +116 -116
  304. package/dist/config/plugin/instruction.js +116 -116
  305. package/dist/config/plugin/location-watcher.js +116 -116
  306. package/dist/config/plugin/mcp.js +125 -125
  307. package/dist/config/plugin/policy.js +117 -117
  308. package/dist/config/plugin/provider.js +116 -116
  309. package/dist/config/plugin/reference.js +118 -118
  310. package/dist/config/plugin/shell.js +118 -118
  311. package/dist/config/plugin/skill-file.js +104 -104
  312. package/dist/config/plugin/skill-scan.js +1 -1
  313. package/dist/config/plugin/skill.js +138 -138
  314. package/dist/config/plugin/snapshot.js +116 -116
  315. package/dist/config/plugin/source.js +119 -119
  316. package/dist/config/plugin/tool-output.js +117 -117
  317. package/dist/config/plugin/websearch.js +117 -117
  318. package/dist/config/plugin/worktree.js +118 -118
  319. package/dist/config/variable.js +1 -1
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +121 -121
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +87 -87
  324. package/dist/database/database.js +68 -68
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  390. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  391. package/dist/database/migration.gen.js +51 -51
  392. package/dist/database/migration.js +53 -53
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +78 -78
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +369 -369
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +95 -95
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +97 -97
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +3 -3
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +72 -72
  416. package/dist/file-access.js +106 -106
  417. package/dist/file-mutation.js +96 -96
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +225 -225
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +101 -101
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +11 -11
  429. package/dist/filesystem.js +104 -104
  430. package/dist/form.js +88 -88
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +105 -105
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +101 -101
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +360 -360
  458. package/dist/instruction-discovery.js +86 -86
  459. package/dist/instructions/builtins.js +89 -89
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +91 -91
  463. package/dist/job.js +80 -80
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +75 -75
  466. package/dist/location-activity.js +156 -156
  467. package/dist/location-lifecycle.js +109 -109
  468. package/dist/location-service-map.js +88 -88
  469. package/dist/location-services.js +357 -357
  470. package/dist/location.js +91 -91
  471. package/dist/managed-policy.js +8 -8
  472. package/dist/mcp/client.js +93 -93
  473. package/dist/mcp/index.js +111 -111
  474. package/dist/mcp/instructions.js +140 -140
  475. package/dist/mcp/oauth.js +80 -80
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +101 -101
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +109 -109
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +121 -121
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +88 -88
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +104 -104
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +332 -332
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai.js +118 -118
  529. package/dist/plugin/provider/opencode.js +103 -103
  530. package/dist/plugin/provider/openrouter.js +93 -93
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +81 -81
  533. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  534. package/dist/plugin/provider/sap-ai-core.js +93 -93
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  537. package/dist/plugin/provider/vercel.js +92 -92
  538. package/dist/plugin/provider/vllm.js +125 -125
  539. package/dist/plugin/provider/xai.js +93 -93
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +170 -170
  542. package/dist/plugin/sdk.js +78 -78
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +132 -132
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +351 -351
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +88 -88
  550. package/dist/plugin/vcs/hg.js +88 -88
  551. package/dist/plugin/verbosity.js +95 -95
  552. package/dist/plugin/warming.js +114 -114
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +4 -4
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +229 -229
  561. package/dist/project/schema.js +8 -8
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +92 -92
  564. package/dist/provider.js +103 -103
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +101 -101
  568. package/dist/reference/instructions.js +91 -91
  569. package/dist/reference.js +93 -93
  570. package/dist/repository-cache.js +83 -83
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +99 -99
  574. package/dist/rpc.js +88 -88
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +3 -3
  577. package/dist/session/command.js +76 -76
  578. package/dist/session/compaction.js +136 -136
  579. package/dist/session/context.js +160 -160
  580. package/dist/session/diff.js +90 -90
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +218 -218
  585. package/dist/session/execution.js +128 -128
  586. package/dist/session/generate.js +164 -164
  587. package/dist/session/history.js +15 -17
  588. package/dist/session/inbox.js +91 -91
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +81 -81
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +99 -99
  593. package/dist/session/message-updater.js +4 -4
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +122 -122
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +132 -132
  598. package/dist/session/projector.js +91 -91
  599. package/dist/session/prompt.js +107 -107
  600. package/dist/session/recent-text.js +1 -1
  601. package/dist/session/revert.js +96 -96
  602. package/dist/session/run-coordinator.js +1 -1
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +101 -101
  607. package/dist/session/runner/publish-llm-event.js +116 -116
  608. package/dist/session/runner/retry.js +5 -5
  609. package/dist/session/runner/step.js +128 -128
  610. package/dist/session/runner/to-llm-message.js +14 -14
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +165 -165
  613. package/dist/session/shell.js +130 -130
  614. package/dist/session/skill.js +107 -107
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +75 -75
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +212 -212
  620. package/dist/session/system-prompt.js +5 -5
  621. package/dist/session/title.js +168 -168
  622. package/dist/session/to-session-error.js +114 -114
  623. package/dist/session/transfer.js +213 -213
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +214 -212
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +132 -132
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +109 -109
  633. package/dist/skill.js +114 -114
  634. package/dist/snapshot.js +93 -93
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +139 -139
  639. package/dist/tool/plugin/edit.js +122 -122
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +126 -126
  643. package/dist/tool/plugin/mcp-resource.js +126 -126
  644. package/dist/tool/plugin/opencode.js +111 -111
  645. package/dist/tool/plugin/patch.js +124 -124
  646. package/dist/tool/plugin/question.js +105 -105
  647. package/dist/tool/plugin/read.js +127 -127
  648. package/dist/tool/plugin/shell.js +217 -217
  649. package/dist/tool/plugin/skill.js +115 -115
  650. package/dist/tool/plugin/subagent.js +211 -211
  651. package/dist/tool/plugin/todo.js +138 -138
  652. package/dist/tool/plugin/webfetch.js +113 -113
  653. package/dist/tool/plugin/websearch.js +116 -116
  654. package/dist/tool/plugin/write.js +124 -124
  655. package/dist/tool/read-filesystem.js +102 -102
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +7 -7
  658. package/dist/tool.js +16 -16
  659. package/dist/types/agent.d.ts +1 -1
  660. package/dist/types/codemode/catalog.d.ts +7 -8
  661. package/dist/types/codemode/tool.d.ts +1 -7
  662. package/dist/types/persistent-pty/daemon.d.ts +39 -21
  663. package/dist/types/session/history.d.ts +0 -5
  664. package/dist/types/session/runner/publish-llm-event.d.ts +3 -3
  665. package/dist/types/session.d.ts +38 -38
  666. package/dist/types/v1/config/migrate.d.ts +2 -28
  667. package/dist/types/worktree/sql.d.ts +1 -1
  668. package/dist/util/error-summary.js +1 -1
  669. package/dist/util/git-executable.js +2 -2
  670. package/dist/util/lazy.js +1 -1
  671. package/dist/util/slug.js +1 -1
  672. package/dist/util/token.js +1 -1
  673. package/dist/util/which.js +1 -1
  674. package/dist/util/wildcard.js +1 -1
  675. package/dist/v1/config/agent.js +7 -7
  676. package/dist/v1/config/command.js +3 -3
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +94 -94
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/variant.js +95 -95
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +89 -89
  686. package/dist/voice.js +88 -88
  687. package/dist/websearch.js +84 -84
  688. package/dist/wellknown/plugin.js +78 -78
  689. package/dist/wellknown.js +81 -81
  690. package/dist/workspace/driver.js +7 -7
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +82 -82
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +8 -8
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +87 -87
  697. package/dist/worktree.js +96 -96
  698. package/package.json +8 -8
  699. package/dist/chunks/ripgrep-73kg42pk.js +0 -26
  700. package/dist/chunks/ripgrep-ddq52evp.js +0 -257
  701. package/dist/chunks/ripgrep-jqh9b0xq.js +0 -18
  702. /package/dist/chunks/{ripgrep-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{ripgrep-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{ripgrep-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{ripgrep-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{ripgrep-24dcb14g.js → workspace-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{ripgrep-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{ripgrep-2bv980vf.js → workspace-2bv980vf.js} +0 -0
  709. /package/dist/chunks/{ripgrep-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{ripgrep-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{ripgrep-3asan66x.js → workspace-3asan66x.js} +0 -0
  712. /package/dist/chunks/{ripgrep-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{ripgrep-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{ripgrep-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{ripgrep-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{ripgrep-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{ripgrep-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{ripgrep-53557ph1.js → workspace-53557ph1.js} +0 -0
  719. /package/dist/chunks/{ripgrep-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{ripgrep-5fjb7ams.js → workspace-5fjb7ams.js} +0 -0
  721. /package/dist/chunks/{ripgrep-6prwharc.js → workspace-6prwharc.js} +0 -0
  722. /package/dist/chunks/{ripgrep-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
  723. /package/dist/chunks/{ripgrep-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{ripgrep-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{ripgrep-822emrt2.js → workspace-822emrt2.js} +0 -0
  726. /package/dist/chunks/{ripgrep-84wd9syh.js → workspace-84wd9syh.js} +0 -0
  727. /package/dist/chunks/{ripgrep-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{ripgrep-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{ripgrep-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{ripgrep-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{ripgrep-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{ripgrep-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{ripgrep-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{ripgrep-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{ripgrep-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{ripgrep-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{ripgrep-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{ripgrep-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{ripgrep-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{ripgrep-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{ripgrep-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{ripgrep-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{ripgrep-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{ripgrep-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{ripgrep-df08tz66.js → workspace-df08tz66.js} +0 -0
  746. /package/dist/chunks/{ripgrep-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{ripgrep-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{ripgrep-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{ripgrep-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{ripgrep-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{ripgrep-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{ripgrep-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{ripgrep-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{ripgrep-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{ripgrep-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{ripgrep-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{ripgrep-g86h250q.js → workspace-g86h250q.js} +0 -0
  758. /package/dist/chunks/{ripgrep-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{ripgrep-gftt206x.js → workspace-gftt206x.js} +0 -0
  760. /package/dist/chunks/{ripgrep-hcxmzztb.js → workspace-hcxmzztb.js} +0 -0
  761. /package/dist/chunks/{ripgrep-hk9envan.js → workspace-hk9envan.js} +0 -0
  762. /package/dist/chunks/{ripgrep-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{ripgrep-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{ripgrep-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{ripgrep-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{ripgrep-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{ripgrep-jze0r7bz.js → workspace-jze0r7bz.js} +0 -0
  768. /package/dist/chunks/{ripgrep-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{ripgrep-m18g726c.js → workspace-m18g726c.js} +0 -0
  770. /package/dist/chunks/{ripgrep-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{ripgrep-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{ripgrep-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{ripgrep-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{ripgrep-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{ripgrep-pkyv6v7h.js → workspace-pkyv6v7h.js} +0 -0
  776. /package/dist/chunks/{ripgrep-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{ripgrep-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{ripgrep-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{ripgrep-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{ripgrep-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{ripgrep-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{ripgrep-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{ripgrep-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{ripgrep-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{ripgrep-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{ripgrep-ve7vex1e.js → workspace-ve7vex1e.js} +0 -0
  787. /package/dist/chunks/{ripgrep-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{ripgrep-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{ripgrep-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{ripgrep-wjj7prxr.js → workspace-wjj7prxr.js} +0 -0
  791. /package/dist/chunks/{ripgrep-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{ripgrep-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{ripgrep-x61499pn.js → workspace-x61499pn.js} +0 -0
  794. /package/dist/chunks/{ripgrep-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{ripgrep-y8f7s663.js → workspace-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{ripgrep-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{ripgrep-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{ripgrep-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
  799. /package/dist/chunks/{ripgrep-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./ripgrep-z5v4ffb3.js";
3
+ } from "./workspace-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./ripgrep-xwkencv2.js";
6
+ } from "./workspace-m22m6tzf.js";
7
7
  import {
8
8
  Slug2
9
- } from "./ripgrep-gebd4c9n.js";
9
+ } from "./workspace-gebd4c9n.js";
10
10
  import {
11
11
  Service86,
12
12
  node90
13
- } from "./ripgrep-rb2qm7yc.js";
13
+ } from "./workspace-s1v8awss.js";
14
14
  import {
15
15
  Service85,
16
16
  node89
17
- } from "./ripgrep-cdd3neqk.js";
17
+ } from "./workspace-tvgxg3g6.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./ripgrep-034tev2y.js";
20
+ } from "./workspace-034tev2y.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./ripgrep-xw9fg8fb.js";
23
+ } from "./workspace-ayjs7tqn.js";
24
24
  import {
25
- ID17,
26
- NotFoundError12
27
- } from "./ripgrep-3dk8yxk5.js";
25
+ ID14,
26
+ NotFoundError11
27
+ } from "./workspace-g1z83s7x.js";
28
28
  import {
29
- Ref4
30
- } from "./ripgrep-3n7ky5ef.js";
29
+ Ref3
30
+ } from "./workspace-yfattsqw.js";
31
31
  import {
32
- Service48,
33
- node50
34
- } from "./ripgrep-gkymdc6s.js";
32
+ Service54,
33
+ node56
34
+ } from "./workspace-cah5dkv9.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./ripgrep-0vbcp93d.js";
38
+ } from "./workspace-0vbcp93d.js";
39
39
  import {
40
40
  Service21
41
- } from "./ripgrep-tppgbmaa.js";
41
+ } from "./workspace-kgjxwjg5.js";
42
42
  import {
43
43
  __export
44
- } from "./ripgrep-9rqn6x4v.js";
44
+ } from "./workspace-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput3,
49
+ CreateInput: () => CreateInput2,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event5,
53
- Info: () => Info6,
52
+ Event: () => Event4,
53
+ Info: () => Info4,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry2,
@@ -73,13 +73,13 @@ import { AppProcess } from "@opencode/util/process";
73
73
  import { ChildProcess } from "effect/process";
74
74
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
- var CreateInput3 = Worktree.CreateInput;
76
+ var CreateInput2 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info6 = Worktree.Info;
78
+ var Info4 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
80
  var ListEntry2 = Worktree.ListEntry;
81
81
 
82
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
82
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID14, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
84
84
 
85
85
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -90,7 +90,7 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event5 = Worktree.Event;
93
+ var Event4 = Worktree.Event;
94
94
 
95
95
  class Service20 extends Context.Service()("@opencode/Worktree") {
96
96
  }
@@ -100,11 +100,11 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
100
100
  const db = database.db;
101
101
  const bus = yield* Service85;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service48;
103
+ const locations = yield* Service54;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
107
- return yield* new NotFoundError12({ projectID });
107
+ return yield* new NotFoundError11({ projectID });
108
108
  return row;
109
109
  });
110
110
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
113
113
  if (current?.directory === directory)
114
114
  return current.get();
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
- const context = yield* locations.contextEffect(Ref4.make({ directory }));
116
+ const context = yield* locations.contextEffect(Ref3.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
118
  return Context.get(context, Service21).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event5.Updated, { projectID });
122
+ yield* bus.publish(Event4.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
205
205
  if (!stored?.strategy)
206
206
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
207
207
  const settings = yield* load(row.worktree, current);
208
- const strategy = yield* getStrategy(StrategyID2.make(stored.strategy), settings.strategies);
208
+ const strategy = yield* getStrategy(stored.strategy, settings.strategies);
209
209
  yield* strategy.remove({
210
210
  directory: worktreeDirectory,
211
211
  force: input.force
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
259
259
  var node23 = Node.makeGlobalNode({
260
260
  service: Service20,
261
261
  layer,
262
- deps: [FSUtil.node, node89, node90, AppProcess.node, node50]
262
+ deps: [FSUtil.node, node89, node90, AppProcess.node, node56]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput3, RemoveInput2, Info6, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service20, node23, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput2, RemoveInput2, Info4, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service20, node23, exports_worktree2, OperationError2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./ripgrep-82zcy4t3.js";
3
+ } from "./workspace-m6fea7hh.js";
4
4
  import {
5
5
  Service85
6
- } from "./ripgrep-cdd3neqk.js";
6
+ } from "./workspace-tvgxg3g6.js";
7
7
  import {
8
8
  OAuth3,
9
- Event14,
10
- Service66
11
- } from "./ripgrep-252xprac.js";
9
+ Event20,
10
+ Service84
11
+ } from "./workspace-76475ja5.js";
12
12
  import {
13
- ID7,
13
+ ID16,
14
14
  MethodID2
15
- } from "./ripgrep-qkhw7n0g.js";
15
+ } from "./workspace-daz98v5x.js";
16
16
  import {
17
- ID6,
17
+ ID11,
18
18
  mergeOverlay2
19
- } from "./ripgrep-hbprad8z.js";
19
+ } from "./workspace-gs67eedh.js";
20
20
  import {
21
- ID5,
21
+ ID10,
22
22
  VariantID2,
23
- Info16
24
- } from "./ripgrep-01mpbv93.js";
23
+ Info19
24
+ } from "./workspace-80ea5f6r.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./ripgrep-pjvnvgmy.js";
28
+ } from "./workspace-pjvnvgmy.js";
29
29
  import {
30
- get4
31
- } from "./ripgrep-r94pvvab.js";
30
+ get5
31
+ } from "./workspace-54ma36ye.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./ripgrep-zhbt7eq1.js";
34
+ } from "./workspace-b10f7vcz.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
43
43
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
44
44
  var resource = "https://api.openai.com/v1";
45
45
  var tokenSharingScope = "chatgpt.tokens.use.direct";
46
- var providerID = ID6.openai;
47
- var integrationID = ID7.make("openai");
46
+ var providerID = ID11.openai;
47
+ var integrationID = ID16.make("openai");
48
48
  var methodID = MethodID2.make("chatgpt-token-sharing");
49
49
  var modelCacheKey = (clientID) => `models:${clientID}`;
50
50
  var fallbackModels = new Set([
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
180
180
  id: "opencode.provider.chatgpt",
181
181
  effect: Effect.fn(function* (ctx) {
182
182
  const bus = yield* Service85;
183
- const credentials = yield* Service66;
183
+ const credentials = yield* Service84;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let chatgpt;
186
186
  let source;
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
195
195
  yield* ctx.integration.transform((editor) => {
196
196
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
197
197
  });
198
- yield* Effect.forEach(yield* credentials.list(ID7.make("openai")), (entry) => {
198
+ yield* Effect.forEach(yield* credentials.list(ID16.make("openai")), (entry) => {
199
199
  const value = entry.value;
200
200
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
201
201
  return Effect.void;
@@ -224,7 +224,7 @@ var ChatGPTPlugin2 = define({
224
224
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
225
225
  return;
226
226
  }));
227
- evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
227
+ evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
228
228
  evt.headers["thread-id"] = evt.sessionID;
229
229
  evt.headers["x-client-request-id"] = evt.sessionID;
230
230
  }), { providerID });
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
268
268
  }
269
269
  });
270
270
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
271
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
271
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
272
272
  })
273
273
  });
274
274
  function headers(app) {
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
325
325
  const found = byID.get(model.modelID);
326
326
  return found ? [deriveModel(found, model)] : [];
327
327
  }),
328
- ...remote.filter((model) => !known.has(ID5.make(model.slug))).map((model) => deriveModel(model, Info16.default(ID6.openai, ID5.make(model.slug))))
328
+ ...remote.filter((model) => !known.has(ID10.make(model.slug))).map((model) => deriveModel(model, Info19.default(ID11.openai, ID10.make(model.slug))))
329
329
  ];
330
330
  }
331
331
  function deriveModel(remote, previous) {
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./ripgrep-z5v4ffb3.js";
5
+ } from "./workspace-z5v4ffb3.js";
6
6
  import {
7
- Service69,
8
- node72
9
- } from "./ripgrep-644y02x9.js";
7
+ Service73,
8
+ node76
9
+ } from "./workspace-5x8rsm2f.js";
10
10
  import {
11
- Content2
12
- } from "./ripgrep-h0164j0a.js";
11
+ Content3
12
+ } from "./workspace-e6g20fz5.js";
13
13
  import {
14
14
  detect2
15
- } from "./ripgrep-9wev2pgg.js";
15
+ } from "./workspace-9wev2pgg.js";
16
16
  import {
17
17
  __export
18
- } from "./ripgrep-9rqn6x4v.js";
18
+ } from "./workspace-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service31,
36
+ Service: () => Service39,
37
37
  TextPage: () => TextPage2,
38
- node: () => node34,
38
+ node: () => node42,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content2.fields
92
+ ...Content3.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service31 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service39 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service31, Effect.gen(function* () {
334
- const environment = yield* Service69;
335
- return Service31.of({
333
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
334
+ const environment = yield* Service73;
335
+ return Service39.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node34 = makeLocationNode({ service: Service31, layer, deps: [node72] });
340
+ var node42 = makeLocationNode({ service: Service39, layer, deps: [node76] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service31, read2, node34, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service39, read2, node42, exports_read_filesystem };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID6,
2
+ ID11,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  timeouts2,
6
6
  mergeOverlay2
7
- } from "./ripgrep-hbprad8z.js";
7
+ } from "./workspace-gs67eedh.js";
8
8
  import {
9
9
  stringify2
10
- } from "./ripgrep-5fjb7ams.js";
10
+ } from "./workspace-5fjb7ams.js";
11
11
  import {
12
12
  __export
13
- } from "./ripgrep-9rqn6x4v.js";
13
+ } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/aisdk.ts
16
16
  var exports_aisdk = {};
17
17
  __export(exports_aisdk, {
18
18
  AISDK: () => exports_aisdk,
19
19
  InitError: () => InitError2,
20
- Service: () => Service55,
20
+ Service: () => Service56,
21
21
  locationLayer: () => locationLayer2,
22
- node: () => node57
22
+ node: () => node58
23
23
  });
24
24
  import { makeLocationNode } from "@opencode/util/effect/app-node";
25
25
  import { APICallError } from "@ai-sdk/provider";
@@ -156,7 +156,7 @@ function throughMiddleware(store, send, input, init) {
156
156
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
157
157
 
158
158
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
159
- providerID: ID6,
159
+ providerID: ID11,
160
160
  cause: Schema.Defect()
161
161
  }) {
162
162
  }
@@ -164,9 +164,9 @@ function initError(providerID) {
164
164
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
165
165
  }
166
166
 
167
- class Service55 extends Context.Service()("@opencode/AISDK") {
167
+ class Service56 extends Context.Service()("@opencode/AISDK") {
168
168
  }
169
- var locationLayer2 = Layer.effect(Service55, Effect.gen(function* () {
169
+ var locationLayer2 = Layer.effect(Service56, Effect.gen(function* () {
170
170
  let sdkHooks = [];
171
171
  let languageHooks = [];
172
172
  const languages = new Map;
@@ -204,7 +204,7 @@ var locationLayer2 = Layer.effect(Service55, Effect.gen(function* () {
204
204
  }
205
205
  return event;
206
206
  });
207
- const service = Service55.of({
207
+ const service = Service56.of({
208
208
  hook: {
209
209
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
210
210
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -870,6 +870,6 @@ function providerErrorMessage(error) {
870
870
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
871
871
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
872
872
  }
873
- var node57 = makeLocationNode({ service: Service55, layer: locationLayer2, deps: [] });
873
+ var node58 = makeLocationNode({ service: Service56, layer: locationLayer2, deps: [] });
874
874
 
875
- export { InitError2, Service55, locationLayer2, node57, exports_aisdk };
875
+ export { InitError2, Service56, locationLayer2, node58, exports_aisdk };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./ripgrep-hbprad8z.js";
4
+ } from "./workspace-gs67eedh.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./ripgrep-pdjnt312.js";
3
+ } from "./workspace-t18r7gq3.js";
4
4
  import {
5
5
  __export
6
- } from "./ripgrep-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin30
12
+ Plugin: () => Plugin31
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin30 = define({
32
+ var Plugin31 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin30, exports_plan };
108
+ export { Plugin31, exports_plan };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./ripgrep-cdd3neqk.js";
4
+ } from "./workspace-tvgxg3g6.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./ripgrep-rdw6cm16.js";
8
+ } from "./workspace-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./ripgrep-gqtdsdt7.js";
11
+ } from "./workspace-3y377wv9.js";
12
12
  import {
13
- ID7,
14
- Service65,
15
- node68,
16
- Event13
17
- } from "./ripgrep-qkhw7n0g.js";
13
+ ID16,
14
+ Service82,
15
+ node86,
16
+ Event18
17
+ } from "./workspace-daz98v5x.js";
18
18
  import {
19
- Service78,
20
- node82
21
- } from "./ripgrep-3n7ky5ef.js";
19
+ Service77,
20
+ node81
21
+ } from "./workspace-yfattsqw.js";
22
22
  import {
23
23
  __export
24
- } from "./ripgrep-9rqn6x4v.js";
24
+ } from "./workspace-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -39,13 +39,13 @@ __export(exports_provider3, {
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
41
41
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
42
- Event: () => Event12,
43
- ID: () => ID6,
44
- Info: () => Info17,
42
+ Event: () => Event15,
43
+ ID: () => ID11,
44
+ Info: () => Info20,
45
45
  LoadError: () => LoadError3,
46
46
  Provider: () => exports_provider3,
47
- Request: () => Request2,
48
- Service: () => Service64,
47
+ Request: () => Request3,
48
+ Service: () => Service71,
49
49
  Settings: () => Settings2,
50
50
  Transport: () => Transport2,
51
51
  aisdk: () => aisdk2,
@@ -57,7 +57,7 @@ __export(exports_provider3, {
57
57
  mergeOverlay: () => mergeOverlay2,
58
58
  modelSettings: () => modelSettings2,
59
59
  nativeSettings: () => nativeSettings2,
60
- node: () => node67,
60
+ node: () => node74,
61
61
  packageName: () => packageName2,
62
62
  timeout: () => timeout2,
63
63
  timeouts: () => timeouts2
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
71
71
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
72
72
  import { Credential } from "@opencode/schema/credential";
73
73
  import { freeze } from "immer";
74
- import { Event as Event12 } from "@opencode/schema/provider";
75
- var ID6 = Provider.ID;
74
+ import { Event as Event15 } from "@opencode/schema/provider";
75
+ var ID11 = Provider.ID;
76
76
  var AISDK_PREFIX2 = "aisdk:";
77
77
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
78
78
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -259,15 +259,18 @@ function mergeOverlay2(base, overlay) {
259
259
  return overlay && decodeJsonRecord({ ...overlay });
260
260
  if (overlay === undefined)
261
261
  return decodeJsonRecord({ ...base });
262
- return decodeJsonRecord(Object.fromEntries(new Set([...Object.keys(base), ...Object.keys(overlay)]).values().map((key) => {
262
+ return decodeJsonRecord(mergeRecord(base, overlay));
263
+ }
264
+ function mergeRecord(base, overlay) {
265
+ return Object.fromEntries(new Set([...Object.keys(base), ...Object.keys(overlay)]).values().map((key) => {
263
266
  const left = base[key];
264
267
  const right = overlay[key];
265
268
  if (right === undefined)
266
269
  return [key, left];
267
270
  if (isRecord(left) && isRecord(right))
268
- return [key, mergeOverlay2(left, right) ?? {}];
271
+ return [key, mergeRecord(left, right)];
269
272
  return [key, right];
270
- })));
273
+ }));
271
274
  }
272
275
  function mergeHeaders2(base, overlay) {
273
276
  if (base === undefined)
@@ -279,13 +282,13 @@ function mergeHeaders2(base, overlay) {
279
282
  return result;
280
283
  }, new Map).values());
281
284
  }
282
- var Request2 = Provider.Request;
285
+ var Request3 = Provider.Request;
283
286
  var Compaction3 = Provider.Compaction;
284
287
  var Transport2 = Provider.Transport;
285
288
  var Settings2 = Provider.Settings;
286
- var Info17 = Provider.Info;
289
+ var Info20 = Provider.Info;
287
290
 
288
- class Service64 extends Context.Service()("@opencode/Provider") {
291
+ class Service71 extends Context.Service()("@opencode/Provider") {
289
292
  }
290
293
  var definitions = new WeakMap;
291
294
  function index(providerID, models) {
@@ -298,10 +301,10 @@ function index(providerID, models) {
298
301
  definitions.set(models, indexes);
299
302
  return result;
300
303
  }
301
- var layer = Layer.effect(Service64, Effect.gen(function* () {
304
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
302
305
  const bus = yield* Service85;
303
- const integrations = yield* Service65;
304
- const location = yield* Service78;
306
+ const integrations = yield* Service82;
307
+ const location = yield* Service77;
305
308
  const state = create3({
306
309
  name: "provider",
307
310
  initial: () => new Map,
@@ -312,7 +315,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
312
315
  const current = records.get(id);
313
316
  if (current)
314
317
  return current;
315
- const added = { provider: Info17.empty(id), models: new Map };
318
+ const added = { provider: Info20.empty(id), models: new Map };
316
319
  records.set(id, added);
317
320
  maps.add(added.models);
318
321
  return added;
@@ -393,7 +396,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
393
396
  const available = Array.from(records.values()).filter((record) => {
394
397
  if (record.provider.activation === "disabled")
395
398
  return false;
396
- const integration = byID.get(record.provider.integrationID ?? ID7.make(record.provider.id));
399
+ const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
397
400
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
398
401
  return false;
399
402
  if (record.provider.activation === "enabled")
@@ -419,8 +422,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
419
422
  location: { directory: location.directory, workspaceID: location.workspaceID }
420
423
  });
421
424
  });
422
- yield* bus.subscribe([Event13.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
423
- return Service64.of({
425
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
426
+ return Service71.of({
424
427
  transform: state.transform,
425
428
  reload: state.reload,
426
429
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -429,7 +432,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
429
432
  snapshot
430
433
  });
431
434
  }));
432
- var node67 = makeLocationNode({ service: Service64, layer, deps: [node89, node68, node82] });
435
+ var node74 = makeLocationNode({ service: Service71, layer, deps: [node89, node86, node81] });
433
436
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
434
437
  const module = yield* Effect.tryPromise({
435
438
  try: () => {
@@ -699,4 +702,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
699
702
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
700
703
  var decode = Schema2.decodeUnknownSync(Legacy);
701
704
 
702
- export { rewrite2, native2, exports_aisdk_native, ID6, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info17, Service64, node67, exports_provider3, Event12 };
705
+ export { rewrite2, native2, exports_aisdk_native, ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info20, Service71, node74, exports_provider3, Event15 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./ripgrep-ec1grn59.js";
3
+ } from "./workspace-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./ripgrep-tdstcens.js";
6
+ } from "./workspace-tdstcens.js";
7
7
  import {
8
8
  stringify2
9
- } from "./ripgrep-5fjb7ams.js";
9
+ } from "./workspace-5fjb7ams.js";
10
10
  import {
11
11
  contentFilterError2
12
- } from "./ripgrep-mah98xap.js";
12
+ } from "./workspace-c3jpadc8.js";
13
13
 
14
14
  // src/session/runner/publish-llm-event.ts
15
15
  import { isRecord } from "@opencode/ai/utils/record";