@opencode/core 0.0.0-dev-20446 → 0.0.0-dev-20447

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{repository-cache-eybz4adf.js → file-mutation-02mpmyt3.js} +10 -10
  8. package/dist/chunks/{repository-cache-3s1wsaeq.js → file-mutation-06g4wx6w.js} +25 -25
  9. package/dist/chunks/file-mutation-06tx6k5j.js +252 -0
  10. package/dist/chunks/{repository-cache-wqcy1a6q.js → file-mutation-085sjypf.js} +17 -17
  11. package/dist/chunks/{repository-cache-58s7bv4e.js → file-mutation-0a17sqc3.js} +34 -34
  12. package/dist/chunks/{repository-cache-g9n5gn8p.js → file-mutation-0d4sk4n7.js} +4 -4
  13. package/dist/chunks/{repository-cache-0j77ygfz.js → file-mutation-0j77ygfz.js} +2 -2
  14. package/dist/chunks/{repository-cache-40f2545g.js → file-mutation-0nrysaxf.js} +30 -30
  15. package/dist/chunks/{repository-cache-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{repository-cache-9qk0q36h.js → file-mutation-0tq54tbr.js} +18 -18
  17. package/dist/chunks/{repository-cache-e35ah7hw.js → file-mutation-0v60q3fy.js} +24 -24
  18. package/dist/chunks/{repository-cache-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
  19. package/dist/chunks/{repository-cache-2fxbb402.js → file-mutation-0vy6ky8v.js} +6 -6
  20. package/dist/chunks/{repository-cache-dzydyd9h.js → file-mutation-0ynzvma6.js} +48 -48
  21. package/dist/chunks/{repository-cache-n37c4crj.js → file-mutation-11dqjexa.js} +9 -9
  22. package/dist/chunks/{repository-cache-p1p3hvby.js → file-mutation-123f91sp.js} +3 -3
  23. package/dist/chunks/{repository-cache-v41jw1xq.js → file-mutation-19xqmxzb.js} +40 -40
  24. package/dist/chunks/{repository-cache-yp2x3t23.js → file-mutation-1acjjqhc.js} +4 -4
  25. package/dist/chunks/{repository-cache-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{repository-cache-1dvck2a7.js → file-mutation-1dvck2a7.js} +2 -2
  27. package/dist/chunks/{repository-cache-v49gtp01.js → file-mutation-1pvcwerr.js} +28 -28
  28. package/dist/chunks/{repository-cache-btec747f.js → file-mutation-1q5awywt.js} +5 -5
  29. package/dist/chunks/{repository-cache-2jmaghvr.js → file-mutation-1tq060df.js} +6 -6
  30. package/dist/chunks/{repository-cache-e61dah1y.js → file-mutation-1w1mvqv8.js} +25 -25
  31. package/dist/chunks/{repository-cache-qmp8ys2a.js → file-mutation-1y159n3z.js} +22 -22
  32. package/dist/chunks/{repository-cache-1ygqh575.js → file-mutation-1ygqh575.js} +2 -2
  33. package/dist/chunks/{repository-cache-21r38tys.js → file-mutation-21r38tys.js} +1 -1
  34. package/dist/chunks/{repository-cache-mre670nb.js → file-mutation-27dfp4c1.js} +14 -14
  35. package/dist/chunks/{repository-cache-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{repository-cache-2ccvkpx1.js → file-mutation-2ccvkpx1.js} +2 -2
  37. package/dist/chunks/{repository-cache-mwka8kak.js → file-mutation-2gskh1mm.js} +11 -11
  38. package/dist/chunks/{repository-cache-f3gqgk1j.js → file-mutation-2gsmrbz9.js} +23 -23
  39. package/dist/chunks/{repository-cache-as7cf5zz.js → file-mutation-2m8jawch.js} +4 -4
  40. package/dist/chunks/{repository-cache-0z5qyjxf.js → file-mutation-2yj7y96g.js} +18 -11
  41. package/dist/chunks/{repository-cache-10h2grd6.js → file-mutation-30c7dxhs.js} +10 -10
  42. package/dist/chunks/{repository-cache-48frr5ey.js → file-mutation-30p2g8gp.js} +26 -26
  43. package/dist/chunks/{repository-cache-8mk2n5b3.js → file-mutation-32e2vp4w.js} +19 -19
  44. package/dist/chunks/{repository-cache-hzbq48p7.js → file-mutation-350d91h4.js} +9 -9
  45. package/dist/chunks/{repository-cache-706phk7x.js → file-mutation-35ja2k0w.js} +2 -2
  46. package/dist/chunks/{repository-cache-d7q3t8ht.js → file-mutation-3amr84rd.js} +7 -7
  47. package/dist/chunks/{repository-cache-fqpgqbak.js → file-mutation-3btptz78.js} +41 -41
  48. package/dist/chunks/{repository-cache-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
  49. package/dist/chunks/{repository-cache-0qb7pa1n.js → file-mutation-3fcjbxc2.js} +8 -8
  50. package/dist/chunks/{repository-cache-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{repository-cache-pedjrwj0.js → file-mutation-3kcqw2gn.js} +49 -49
  52. package/dist/chunks/{repository-cache-v6evfva1.js → file-mutation-3mrv89nd.js} +8 -8
  53. package/dist/chunks/{repository-cache-7fv9049a.js → file-mutation-3nqcgnfp.js} +22 -22
  54. package/dist/chunks/{repository-cache-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  55. package/dist/chunks/{repository-cache-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  56. package/dist/chunks/{repository-cache-3v5tjer0.js → file-mutation-3v5tjer0.js} +2 -2
  57. package/dist/chunks/{repository-cache-t4wnk216.js → file-mutation-3wnc7ezj.js} +3 -3
  58. package/dist/chunks/{repository-cache-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
  59. package/dist/chunks/{repository-cache-1d5ct0zc.js → file-mutation-405tx1tk.js} +17 -17
  60. package/dist/chunks/file-mutation-45th5jwr.js +18 -0
  61. package/dist/chunks/{repository-cache-822vy19y.js → file-mutation-4afe6db8.js} +20 -20
  62. package/dist/chunks/{repository-cache-ydvbazfr.js → file-mutation-4efz7qwp.js} +41 -41
  63. package/dist/chunks/{repository-cache-hx7zmtxv.js → file-mutation-4fz4aa1m.js} +87 -87
  64. package/dist/chunks/{repository-cache-dm4xrbzk.js → file-mutation-4t613dbc.js} +8 -8
  65. package/dist/chunks/{repository-cache-ha4q6k7g.js → file-mutation-4vksx2dy.js} +37 -37
  66. package/dist/chunks/{repository-cache-m4emmwet.js → file-mutation-4vsx94mh.js} +18 -18
  67. package/dist/chunks/{repository-cache-0s60x6wy.js → file-mutation-53km52nr.js} +18 -18
  68. package/dist/chunks/{repository-cache-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
  69. package/dist/chunks/{repository-cache-rax07w26.js → file-mutation-5bc6zw84.js} +28 -28
  70. package/dist/chunks/{repository-cache-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  71. package/dist/chunks/{repository-cache-4z58m4b4.js → file-mutation-5dkn69vz.js} +4 -4
  72. package/dist/chunks/{repository-cache-4eda5p0n.js → file-mutation-5jjb9dgy.js} +15 -15
  73. package/dist/chunks/{repository-cache-0a1ad31p.js → file-mutation-5sek2qac.js} +27 -27
  74. package/dist/chunks/{repository-cache-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
  75. package/dist/chunks/{repository-cache-f0m8zgz7.js → file-mutation-5ymnsk7v.js} +312 -312
  76. package/dist/chunks/{repository-cache-hqc76sze.js → file-mutation-5zv360p8.js} +14 -14
  77. package/dist/chunks/{repository-cache-8gn7nf7w.js → file-mutation-60we6e45.js} +11 -11
  78. package/dist/chunks/{repository-cache-669tq793.js → file-mutation-669tq793.js} +1 -1
  79. package/dist/chunks/{repository-cache-x9qtnq71.js → file-mutation-69ntycvm.js} +11 -11
  80. package/dist/chunks/{repository-cache-kq1ref1h.js → file-mutation-6p76pz0z.js} +3 -3
  81. package/dist/chunks/{repository-cache-a1jg4bqm.js → file-mutation-6s3vd56s.js} +11 -11
  82. package/dist/chunks/{repository-cache-hkyvzcah.js → file-mutation-6z0j0ya3.js} +15 -15
  83. package/dist/chunks/{repository-cache-71az546q.js → file-mutation-71az546q.js} +2 -2
  84. package/dist/chunks/{repository-cache-4epeq83n.js → file-mutation-794rba6m.js} +8 -8
  85. package/dist/chunks/{repository-cache-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{repository-cache-9tc8fk2g.js → file-mutation-7cffbw4q.js} +22 -22
  87. package/dist/chunks/{repository-cache-69jzkc3x.js → file-mutation-7ja2kgyj.js} +24 -24
  88. package/dist/chunks/{repository-cache-rtb06bvf.js → file-mutation-7kan1wr8.js} +3 -3
  89. package/dist/chunks/{repository-cache-s39a1knw.js → file-mutation-7kpmht8a.js} +44 -44
  90. package/dist/chunks/{repository-cache-fjabd4vm.js → file-mutation-7mmecq5g.js} +73 -73
  91. package/dist/chunks/{repository-cache-j0032p6g.js → file-mutation-7rrbrwx8.js} +9 -9
  92. package/dist/chunks/{repository-cache-re4wmejr.js → file-mutation-7wxzh9zb.js} +33 -33
  93. package/dist/chunks/{repository-cache-nfqw6mz9.js → file-mutation-7z5nhnbg.js} +18 -18
  94. package/dist/chunks/{repository-cache-w1eejvng.js → file-mutation-84txncab.js} +5 -5
  95. package/dist/chunks/{repository-cache-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{repository-cache-hrbcf8x8.js → file-mutation-8mpnm3sv.js} +3 -3
  97. package/dist/chunks/{repository-cache-32dhwnjc.js → file-mutation-8mrd4kgm.js} +13 -13
  98. package/dist/chunks/{repository-cache-j2nvzb5v.js → file-mutation-8nf5g5ke.js} +25 -25
  99. package/dist/chunks/{repository-cache-8aw8tj9n.js → file-mutation-8pxr3grp.js} +15 -15
  100. package/dist/chunks/{repository-cache-kpqjj4ny.js → file-mutation-8qm2jr24.js} +34 -34
  101. package/dist/chunks/{repository-cache-zwc7jy6c.js → file-mutation-91kxkj6b.js} +5 -5
  102. package/dist/chunks/{repository-cache-8ht81e1j.js → file-mutation-93pcty3d.js} +11 -11
  103. package/dist/chunks/{repository-cache-3rbph65y.js → file-mutation-971jmbxj.js} +45 -45
  104. package/dist/chunks/{repository-cache-yfksphsg.js → file-mutation-9abq96ts.js} +13 -13
  105. package/dist/chunks/{repository-cache-9e5bzkjp.js → file-mutation-9e5bzkjp.js} +3 -3
  106. package/dist/chunks/{repository-cache-5m5yrm4y.js → file-mutation-9ws1drfh.js} +8 -8
  107. package/dist/chunks/{repository-cache-9esanb1h.js → file-mutation-a1r0v0hv.js} +29 -29
  108. package/dist/chunks/{repository-cache-4v7ngy20.js → file-mutation-a3c7ahw6.js} +4 -4
  109. package/dist/chunks/{repository-cache-jfqtm2ew.js → file-mutation-a46v4e4v.js} +4 -4
  110. package/dist/chunks/{repository-cache-a04262f3.js → file-mutation-a70kq73z.js} +1 -1
  111. package/dist/chunks/{repository-cache-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  112. package/dist/chunks/{repository-cache-h3g3cs7p.js → file-mutation-ab26tb5m.js} +4 -4
  113. package/dist/chunks/{repository-cache-4429sr8a.js → file-mutation-abfvgvhb.js} +21 -21
  114. package/dist/chunks/{repository-cache-c2st8pk7.js → file-mutation-afvrez62.js} +5 -5
  115. package/dist/chunks/{repository-cache-wn1kxzz7.js → file-mutation-ah7gyhk7.js} +10 -10
  116. package/dist/chunks/{repository-cache-vsp1fds9.js → file-mutation-axmvebxj.js} +4 -4
  117. package/dist/chunks/{repository-cache-scgrse2b.js → file-mutation-b3f8fkhc.js} +5 -5
  118. package/dist/chunks/{repository-cache-py3kkmfq.js → file-mutation-b4twkq7r.js} +6 -6
  119. package/dist/chunks/{repository-cache-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  120. package/dist/chunks/{repository-cache-8aaqm6qj.js → file-mutation-b6syrwy2.js} +8 -8
  121. package/dist/chunks/{repository-cache-y23ntya0.js → file-mutation-b8de2ks2.js} +50 -50
  122. package/dist/chunks/{repository-cache-qxnn7y6z.js → file-mutation-b8z0wsc0.js} +8 -8
  123. package/dist/chunks/{repository-cache-ngpj616s.js → file-mutation-b9hxxmm4.js} +36 -36
  124. package/dist/chunks/{repository-cache-1gd6spct.js → file-mutation-bfnsmjbw.js} +5 -5
  125. package/dist/chunks/{repository-cache-qcrnsjqj.js → file-mutation-bg2mdfm2.js} +25 -25
  126. package/dist/chunks/{repository-cache-s8vhzyp4.js → file-mutation-bs25rvjd.js} +53 -53
  127. package/dist/chunks/{repository-cache-7kfsqtmt.js → file-mutation-c1c4mmyf.js} +12 -12
  128. package/dist/chunks/{repository-cache-cgkqc5k9.js → file-mutation-c4b2jm8a.js} +24 -24
  129. package/dist/chunks/{repository-cache-gpzeq7j5.js → file-mutation-cddhvfrj.js} +20 -20
  130. package/dist/chunks/{repository-cache-n57qrn3a.js → file-mutation-ck0ahkdp.js} +8 -8
  131. package/dist/chunks/{repository-cache-agkhkqzj.js → file-mutation-crerbey2.js} +13 -13
  132. package/dist/chunks/{repository-cache-b7gejjdn.js → file-mutation-cxbpb961.js} +15 -15
  133. package/dist/chunks/{repository-cache-8w5vxsg3.js → file-mutation-cxj5rg6j.js} +15 -15
  134. package/dist/chunks/{repository-cache-dg2gsbnn.js → file-mutation-d3etny0e.js} +22 -22
  135. package/dist/chunks/{repository-cache-cfpp34xq.js → file-mutation-d3tahmry.js} +45 -45
  136. package/dist/chunks/{repository-cache-yzt1bx7e.js → file-mutation-d8pxmj6e.js} +30 -30
  137. package/dist/chunks/{repository-cache-wqkf1g1x.js → file-mutation-df30mp1e.js} +15 -15
  138. package/dist/chunks/{repository-cache-0mrd04w5.js → file-mutation-dfb5xyy8.js} +33 -33
  139. package/dist/chunks/{repository-cache-3j8sdtpz.js → file-mutation-dfe8djrf.js} +4 -4
  140. package/dist/chunks/{repository-cache-xkntkrq7.js → file-mutation-dmqcgk4z.js} +5 -5
  141. package/dist/chunks/{repository-cache-mpk0rfs5.js → file-mutation-dnxkq42g.js} +4 -4
  142. package/dist/chunks/{repository-cache-dpkg50ah.js → file-mutation-dpkg50ah.js} +1 -1
  143. package/dist/chunks/{repository-cache-g63fbaar.js → file-mutation-dq7nnhr6.js} +7 -7
  144. package/dist/chunks/{repository-cache-qne3fa44.js → file-mutation-dvz3zpm9.js} +5 -5
  145. package/dist/chunks/{repository-cache-gex2px6h.js → file-mutation-dw2p03ct.js} +3 -3
  146. package/dist/chunks/{repository-cache-q8406f75.js → file-mutation-e2sbw8kj.js} +10 -10
  147. package/dist/chunks/{repository-cache-n48q0swr.js → file-mutation-eaateh2a.js} +11 -11
  148. package/dist/chunks/{repository-cache-8sgzw3p1.js → file-mutation-eer3hyzn.js} +3 -3
  149. package/dist/chunks/{repository-cache-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
  150. package/dist/chunks/{repository-cache-k64zxjm6.js → file-mutation-efefhkab.js} +10 -10
  151. package/dist/chunks/{repository-cache-gh5z95q3.js → file-mutation-en9mxp96.js} +9 -9
  152. package/dist/chunks/{repository-cache-a1gpj94z.js → file-mutation-eq1pz5kg.js} +3 -3
  153. package/dist/chunks/{repository-cache-ymcgbes0.js → file-mutation-es0mp7kp.js} +4 -4
  154. package/dist/chunks/{repository-cache-pw9d3wh8.js → file-mutation-etg83xpv.js} +19 -19
  155. package/dist/chunks/{repository-cache-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
  156. package/dist/chunks/{repository-cache-nb17w2yx.js → file-mutation-exgzb2ef.js} +9 -9
  157. package/dist/chunks/{repository-cache-g0kjp75c.js → file-mutation-f2c481pc.js} +12 -12
  158. package/dist/chunks/{repository-cache-g41awwxy.js → file-mutation-f471j0ph.js} +20 -20
  159. package/dist/chunks/{repository-cache-f7t5kd0c.js → file-mutation-f4teqsxm.js} +37 -37
  160. package/dist/chunks/{repository-cache-bsxd6m7c.js → file-mutation-f8knjmwx.js} +7 -7
  161. package/dist/chunks/{repository-cache-expxz8xq.js → file-mutation-faxrmdye.js} +12 -12
  162. package/dist/chunks/{repository-cache-qgn6gcr1.js → file-mutation-fcrkznn8.js} +5 -5
  163. package/dist/chunks/{repository-cache-63s895d0.js → file-mutation-fdxwsxq8.js} +22 -22
  164. package/dist/chunks/{repository-cache-qsr9synt.js → file-mutation-fhz5gfgy.js} +5 -5
  165. package/dist/chunks/{repository-cache-kzhakyvk.js → file-mutation-fj4szt4h.js} +2 -2
  166. package/dist/chunks/{repository-cache-dhr91br8.js → file-mutation-frx098gj.js} +5 -5
  167. package/dist/chunks/{repository-cache-jk5jtrba.js → file-mutation-fw9nps2q.js} +51 -51
  168. package/dist/chunks/{repository-cache-8f2ehy9w.js → file-mutation-g1m3h83e.js} +23 -23
  169. package/dist/chunks/{repository-cache-xfkkasph.js → file-mutation-g5w8qwbj.js} +4 -4
  170. package/dist/chunks/{repository-cache-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  171. package/dist/chunks/{repository-cache-t81m24cw.js → file-mutation-gddej1j8.js} +9 -9
  172. package/dist/chunks/{repository-cache-v30h9xz5.js → file-mutation-ge03txwd.js} +20 -20
  173. package/dist/chunks/{repository-cache-169shjta.js → file-mutation-gh2amhk9.js} +11 -11
  174. package/dist/chunks/{repository-cache-7x28tdrb.js → file-mutation-gv52jf4x.js} +20 -20
  175. package/dist/chunks/{repository-cache-n8c291r7.js → file-mutation-gzbkpp9m.js} +6 -6
  176. package/dist/chunks/{repository-cache-2rk6k8vg.js → file-mutation-h17jjak5.js} +14 -14
  177. package/dist/chunks/{repository-cache-h2b79v29.js → file-mutation-h2b79v29.js} +2 -2
  178. package/dist/chunks/{repository-cache-mk49qygx.js → file-mutation-h2nds8g1.js} +15 -15
  179. package/dist/chunks/{repository-cache-aq1q7s3w.js → file-mutation-h50deg1f.js} +11 -11
  180. package/dist/chunks/{repository-cache-3556dn8t.js → file-mutation-h5w29vws.js} +1 -1
  181. package/dist/chunks/{repository-cache-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  182. package/dist/chunks/{repository-cache-0zvk9z0h.js → file-mutation-hb8c03b1.js} +13 -13
  183. package/dist/chunks/{repository-cache-tavta0y2.js → file-mutation-hbr9pfg0.js} +21 -21
  184. package/dist/chunks/{repository-cache-fsaqawm2.js → file-mutation-hnjhetmx.js} +6 -6
  185. package/dist/chunks/{repository-cache-k4vx4kqq.js → file-mutation-hqkfa61k.js} +33 -33
  186. package/dist/chunks/{repository-cache-091f0rd0.js → file-mutation-hs94awhq.js} +43 -43
  187. package/dist/chunks/{repository-cache-tk14y25j.js → file-mutation-j29a7fks.js} +5 -5
  188. package/dist/chunks/{repository-cache-kxsrbhnp.js → file-mutation-j3636f00.js} +23 -23
  189. package/dist/chunks/{repository-cache-mnkrz2st.js → file-mutation-j4rcav1h.js} +5 -5
  190. package/dist/chunks/{repository-cache-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
  191. package/dist/chunks/{repository-cache-86qzxe6p.js → file-mutation-j5rxtxht.js} +4 -4
  192. package/dist/chunks/{repository-cache-j5w2yx54.js → file-mutation-j5w2yx54.js} +1 -1
  193. package/dist/chunks/{repository-cache-kb6vbnxp.js → file-mutation-j8afcsyc.js} +4 -4
  194. package/dist/chunks/{repository-cache-3g7y17n3.js → file-mutation-j8cgstsh.js} +15 -15
  195. package/dist/chunks/{repository-cache-7vwcfb7e.js → file-mutation-jbjey0e3.js} +8 -8
  196. package/dist/chunks/{repository-cache-4ag3f9xz.js → file-mutation-jmqs9vhh.js} +3 -3
  197. package/dist/chunks/{repository-cache-7gh65m6s.js → file-mutation-jntaw98r.js} +8 -8
  198. package/dist/chunks/file-mutation-jvksfb2n.js +507 -0
  199. package/dist/chunks/{repository-cache-vgb18m5f.js → file-mutation-jw2tn658.js} +31 -31
  200. package/dist/chunks/file-mutation-k2aq9crv.js +26 -0
  201. package/dist/chunks/{repository-cache-k3c624dm.js → file-mutation-k3c624dm.js} +3 -3
  202. package/dist/chunks/{repository-cache-22f357wt.js → file-mutation-k8s7jp5m.js} +6 -6
  203. package/dist/chunks/{repository-cache-8zq1pfr0.js → file-mutation-k9yb22rs.js} +9 -9
  204. package/dist/chunks/{repository-cache-e8nmz9dx.js → file-mutation-kvdhyq3q.js} +3 -3
  205. package/dist/chunks/{repository-cache-bjzxe3qz.js → file-mutation-kwq42dss.js} +12 -12
  206. package/dist/chunks/{repository-cache-gzj36dnw.js → file-mutation-m1hwfr34.js} +23 -23
  207. package/dist/chunks/{repository-cache-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
  208. package/dist/chunks/{repository-cache-37sfe3bm.js → file-mutation-m69d1h5c.js} +14 -14
  209. package/dist/chunks/{repository-cache-e93vysgz.js → file-mutation-m7xn29b6.js} +4 -4
  210. package/dist/chunks/{repository-cache-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  211. package/dist/chunks/{repository-cache-mazbtkaa.js → file-mutation-mazbtkaa.js} +2 -2
  212. package/dist/chunks/{repository-cache-skpsgn3k.js → file-mutation-mde00trs.js} +36 -36
  213. package/dist/chunks/{repository-cache-r8ebqbsc.js → file-mutation-mmegcj2n.js} +5 -5
  214. package/dist/chunks/{repository-cache-963rbvmp.js → file-mutation-mpyws8re.js} +9 -9
  215. package/dist/chunks/{repository-cache-9nkwfwgn.js → file-mutation-mtcp9gxf.js} +17 -17
  216. package/dist/chunks/{repository-cache-2w25bewv.js → file-mutation-mv8qn0d1.js} +13 -13
  217. package/dist/chunks/{repository-cache-br52dth2.js → file-mutation-nkmhzjn0.js} +5 -5
  218. package/dist/chunks/{repository-cache-dtrxyetv.js → file-mutation-nmh5hv95.js} +5 -5
  219. package/dist/chunks/{repository-cache-wscpecpd.js → file-mutation-nmv5v3dc.js} +21 -21
  220. package/dist/chunks/{repository-cache-n7d88tpn.js → file-mutation-nvxqht09.js} +3 -3
  221. package/dist/chunks/{repository-cache-e9266ee7.js → file-mutation-nx97ad9f.js} +22 -22
  222. package/dist/chunks/{repository-cache-cmwkp3r5.js → file-mutation-p37cw4rj.js} +8 -8
  223. package/dist/chunks/{repository-cache-htpvgqrd.js → file-mutation-p558d1j2.js} +8 -8
  224. package/dist/chunks/{repository-cache-n032fvft.js → file-mutation-p5c89f54.js} +6 -6
  225. package/dist/chunks/{repository-cache-jk54fhp7.js → file-mutation-pjm11dy8.js} +11 -11
  226. package/dist/chunks/{repository-cache-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  227. package/dist/chunks/{repository-cache-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  228. package/dist/chunks/{repository-cache-37ea9c2d.js → file-mutation-pn3cc07s.js} +8 -8
  229. package/dist/chunks/{repository-cache-9aqqzffj.js → file-mutation-pnppyfvq.js} +18 -18
  230. package/dist/chunks/{repository-cache-jpeemenq.js → file-mutation-q3gt93a2.js} +4 -4
  231. package/dist/chunks/{repository-cache-5fwyrf5z.js → file-mutation-q4de835y.js} +36 -36
  232. package/dist/chunks/{repository-cache-zmsbhx8q.js → file-mutation-q8ckvk3w.js} +23 -23
  233. package/dist/chunks/{repository-cache-zdy34q02.js → file-mutation-qchbb8jr.js} +13 -13
  234. package/dist/chunks/{repository-cache-vf3z480h.js → file-mutation-qjv8x3xg.js} +28 -28
  235. package/dist/chunks/{repository-cache-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
  236. package/dist/chunks/{repository-cache-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  237. package/dist/chunks/{repository-cache-tntmnmab.js → file-mutation-qsfy776b.js} +176 -176
  238. package/dist/chunks/{repository-cache-n7qbnv1j.js → file-mutation-qvmrrkn4.js} +12 -12
  239. package/dist/chunks/{repository-cache-3by35n0t.js → file-mutation-qzx0ab9v.js} +5 -5
  240. package/dist/chunks/{repository-cache-c765mh8b.js → file-mutation-r2m716tb.js} +5 -5
  241. package/dist/chunks/{repository-cache-hs1x7rht.js → file-mutation-r44petzp.js} +12 -12
  242. package/dist/chunks/{repository-cache-n0rv915y.js → file-mutation-r4ra9f67.js} +17 -17
  243. package/dist/chunks/{repository-cache-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
  244. package/dist/chunks/{repository-cache-yrerq1n3.js → file-mutation-rjd8b1f0.js} +7 -7
  245. package/dist/chunks/{repository-cache-3bg5g8q7.js → file-mutation-s6qqwf79.js} +29 -29
  246. package/dist/chunks/{repository-cache-m0ecvezt.js → file-mutation-smcmy5n9.js} +15 -15
  247. package/dist/chunks/{repository-cache-ekeagaff.js → file-mutation-srx8aqwq.js} +21 -21
  248. package/dist/chunks/{repository-cache-j83nw7fd.js → file-mutation-ssx3rgd2.js} +32 -32
  249. package/dist/chunks/{repository-cache-rhjbct0v.js → file-mutation-t550f9t1.js} +4 -4
  250. package/dist/chunks/{repository-cache-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  251. package/dist/chunks/{repository-cache-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
  252. package/dist/chunks/{repository-cache-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  253. package/dist/chunks/{repository-cache-ysypycvb.js → file-mutation-ttb5pqry.js} +1 -1
  254. package/dist/chunks/{repository-cache-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
  255. package/dist/chunks/{repository-cache-gtm34f6g.js → file-mutation-txq1wgms.js} +24 -24
  256. package/dist/chunks/{repository-cache-ca7w653e.js → file-mutation-tz4n1mmd.js} +4 -4
  257. package/dist/chunks/{repository-cache-n9esafc3.js → file-mutation-v5ganw7f.js} +20 -20
  258. package/dist/chunks/{repository-cache-0j4x3pky.js → file-mutation-vc1fft1y.js} +20 -20
  259. package/dist/chunks/{repository-cache-x3d3jna2.js → file-mutation-vcxjdkvk.js} +7 -7
  260. package/dist/chunks/{repository-cache-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  261. package/dist/chunks/{repository-cache-5q9xfknq.js → file-mutation-vestgjg2.js} +10 -10
  262. package/dist/chunks/{repository-cache-ryhnjg92.js → file-mutation-vr6q59r9.js} +30 -30
  263. package/dist/chunks/{repository-cache-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
  264. package/dist/chunks/{repository-cache-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
  265. package/dist/chunks/{repository-cache-5we7r0eg.js → file-mutation-w1ad28wa.js} +6 -6
  266. package/dist/chunks/{repository-cache-zbrkq2e1.js → file-mutation-w2kzc4js.js} +7 -7
  267. package/dist/chunks/{repository-cache-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  268. package/dist/chunks/{repository-cache-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  269. package/dist/chunks/{repository-cache-pr2h8h86.js → file-mutation-wgbd6vqr.js} +11 -11
  270. package/dist/chunks/{repository-cache-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
  271. package/dist/chunks/{repository-cache-beprb18x.js → file-mutation-x4fwfb4w.js} +9 -9
  272. package/dist/chunks/{repository-cache-j9me29bk.js → file-mutation-x9r28hpy.js} +11 -11
  273. package/dist/chunks/{repository-cache-a6964z1k.js → file-mutation-xge32yc5.js} +43 -43
  274. package/dist/chunks/{repository-cache-76ymgwed.js → file-mutation-xs0sd5xy.js} +9 -9
  275. package/dist/chunks/{repository-cache-6bkwpg0x.js → file-mutation-xy26ekgv.js} +12 -12
  276. package/dist/chunks/{repository-cache-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{repository-cache-e7k2h18t.js → file-mutation-y7qwnmy1.js} +11 -11
  278. package/dist/chunks/{repository-cache-vxhhv58t.js → file-mutation-yb42xt1h.js} +22 -22
  279. package/dist/chunks/{repository-cache-t9ra34wt.js → file-mutation-yckxb0kb.js} +7 -7
  280. package/dist/chunks/{repository-cache-b005zpx3.js → file-mutation-ygs5atcy.js} +20 -20
  281. package/dist/chunks/{repository-cache-myh7k9xx.js → file-mutation-yj11y499.js} +41 -41
  282. package/dist/chunks/{repository-cache-5c68v4c5.js → file-mutation-yjhj7111.js} +10 -10
  283. package/dist/chunks/{repository-cache-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
  284. package/dist/chunks/{repository-cache-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{repository-cache-376dc42v.js → file-mutation-z2w5m8mv.js} +24 -24
  286. package/dist/chunks/{repository-cache-25ex5bj3.js → file-mutation-z6cfb29r.js} +14 -14
  287. package/dist/chunks/{repository-cache-vxfyztn0.js → file-mutation-zfg8098r.js} +7 -7
  288. package/dist/chunks/{repository-cache-kryraq7m.js → file-mutation-zh2r3c6m.js} +82 -82
  289. package/dist/chunks/{repository-cache-gjnx9fp9.js → file-mutation-zqjw1a65.js} +26 -26
  290. package/dist/chunks/{repository-cache-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{repository-cache-zav7rf1m.js → file-mutation-zsfb27kr.js} +25 -25
  292. package/dist/chunks/{repository-cache-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +121 -121
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +128 -128
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +77 -77
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +366 -366
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +100 -100
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/location-watcher-policy.js +4 -4
  425. package/dist/filesystem/location-watcher.js +228 -228
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +97 -97
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +98 -98
  431. package/dist/form.js +80 -80
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +103 -103
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +1 -1
  459. package/dist/instance.js +359 -359
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +85 -85
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +87 -87
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +135 -135
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +360 -360
  472. package/dist/location.js +85 -85
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +127 -127
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +99 -99
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +102 -102
  483. package/dist/models-dev.js +107 -107
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +82 -82
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +107 -107
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +88 -88
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +102 -102
  494. package/dist/plugin/command.js +100 -100
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +219 -219
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +335 -335
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +122 -122
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/chatgpt.js +93 -93
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +95 -95
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +78 -78
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +120 -120
  527. package/dist/plugin/provider/openai.js +95 -95
  528. package/dist/plugin/provider/opencode.js +96 -96
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +79 -79
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +120 -120
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +163 -163
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +139 -139
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +354 -354
  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 +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +5 -5
  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 +2 -2
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +230 -230
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +84 -84
  564. package/dist/provider.js +99 -99
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +99 -99
  568. package/dist/reference/instructions.js +89 -89
  569. package/dist/reference.js +87 -87
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +135 -135
  579. package/dist/session/context.js +153 -153
  580. package/dist/session/diff.js +88 -88
  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 +225 -225
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +152 -152
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +88 -88
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +77 -77
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +93 -93
  593. package/dist/session/message-updater.js +4 -4
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +118 -118
  596. package/dist/session/model-transport.js +7 -7
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +232 -232
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +113 -113
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +211 -211
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +157 -157
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +221 -221
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +219 -219
  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 +11 -11
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +108 -108
  634. package/dist/snapshot.js +91 -91
  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 +126 -126
  639. package/dist/tool/plugin/edit.js +120 -120
  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 +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +117 -117
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +101 -101
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +216 -216
  649. package/dist/tool/plugin/skill.js +111 -111
  650. package/dist/tool/plugin/subagent.js +220 -220
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +116 -116
  654. package/dist/tool/read-filesystem.js +96 -96
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +12 -12
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +2 -2
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +3 -3
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/variant.js +91 -91
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +89 -89
  686. package/dist/websearch.js +82 -82
  687. package/dist/wellknown/plugin.js +74 -74
  688. package/dist/wellknown.js +79 -79
  689. package/dist/workspace/driver.js +7 -7
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +80 -80
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +89 -89
  696. package/dist/worktree.js +98 -98
  697. package/package.json +8 -8
  698. package/dist/chunks/repository-cache-93qh2cqg.js +0 -507
  699. package/dist/chunks/repository-cache-at67ztw2.js +0 -26
  700. package/dist/chunks/repository-cache-cqtfknxy.js +0 -252
  701. package/dist/chunks/repository-cache-v1faaxn9.js +0 -18
  702. /package/dist/chunks/{repository-cache-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{repository-cache-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{repository-cache-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{repository-cache-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{repository-cache-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{repository-cache-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{repository-cache-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{repository-cache-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{repository-cache-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{repository-cache-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
  712. /package/dist/chunks/{repository-cache-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{repository-cache-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  714. /package/dist/chunks/{repository-cache-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{repository-cache-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{repository-cache-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{repository-cache-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{repository-cache-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{repository-cache-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{repository-cache-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{repository-cache-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  722. /package/dist/chunks/{repository-cache-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{repository-cache-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  724. /package/dist/chunks/{repository-cache-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{repository-cache-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{repository-cache-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  727. /package/dist/chunks/{repository-cache-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{repository-cache-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{repository-cache-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{repository-cache-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{repository-cache-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{repository-cache-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{repository-cache-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{repository-cache-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{repository-cache-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{repository-cache-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{repository-cache-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{repository-cache-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{repository-cache-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{repository-cache-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{repository-cache-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{repository-cache-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{repository-cache-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{repository-cache-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{repository-cache-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  746. /package/dist/chunks/{repository-cache-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{repository-cache-e3qxr5gk.js → file-mutation-e3qxr5gk.js} +0 -0
  748. /package/dist/chunks/{repository-cache-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{repository-cache-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{repository-cache-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{repository-cache-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{repository-cache-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{repository-cache-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{repository-cache-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{repository-cache-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{repository-cache-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{repository-cache-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{repository-cache-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{repository-cache-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  760. /package/dist/chunks/{repository-cache-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{repository-cache-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  762. /package/dist/chunks/{repository-cache-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{repository-cache-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  764. /package/dist/chunks/{repository-cache-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{repository-cache-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{repository-cache-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{repository-cache-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{repository-cache-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{repository-cache-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{repository-cache-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{repository-cache-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{repository-cache-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{repository-cache-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{repository-cache-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{repository-cache-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{repository-cache-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{repository-cache-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{repository-cache-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{repository-cache-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{repository-cache-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{repository-cache-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{repository-cache-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{repository-cache-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{repository-cache-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{repository-cache-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{repository-cache-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{repository-cache-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{repository-cache-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{repository-cache-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{repository-cache-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{repository-cache-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  792. /package/dist/chunks/{repository-cache-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{repository-cache-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{repository-cache-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{repository-cache-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{repository-cache-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{repository-cache-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
  798. /package/dist/chunks/{repository-cache-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./repository-cache-expxz8xq.js";
2
+ Service82,
3
+ node86
4
+ } from "./file-mutation-faxrmdye.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./repository-cache-25ex5bj3.js";
6
+ Service79,
7
+ node83
8
+ } from "./file-mutation-z6cfb29r.js";
9
9
  import {
10
- ID9,
11
- Service57,
12
- node59
13
- } from "./repository-cache-9tc8fk2g.js";
10
+ ID8,
11
+ Service53,
12
+ node55
13
+ } from "./file-mutation-7cffbw4q.js";
14
14
  import {
15
- NotFoundError8
16
- } from "./repository-cache-22f357wt.js";
15
+ NotFoundError7
16
+ } from "./file-mutation-k8s7jp5m.js";
17
17
  import {
18
- Service55,
19
- node57
20
- } from "./repository-cache-2rk6k8vg.js";
18
+ Service52,
19
+ node54
20
+ } from "./file-mutation-h17jjak5.js";
21
21
  import {
22
22
  match2
23
- } from "./repository-cache-y1fvbwt7.js";
23
+ } from "./file-mutation-y1fvbwt7.js";
24
24
  import {
25
- Service56,
26
- node58
27
- } from "./repository-cache-1d5ct0zc.js";
25
+ Service51,
26
+ node53
27
+ } from "./file-mutation-405tx1tk.js";
28
28
  import {
29
- Service58,
30
- node60
31
- } from "./repository-cache-37ea9c2d.js";
29
+ Service63,
30
+ node65
31
+ } from "./file-mutation-pn3cc07s.js";
32
32
  import {
33
33
  __export
34
- } from "./repository-cache-9rqn6x4v.js";
34
+ } from "./file-mutation-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission = {};
@@ -43,19 +43,19 @@ __export(exports_permission, {
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
45
  Event: () => Event10,
46
- ID: () => ID7,
47
- NotFoundError: () => NotFoundError7,
46
+ ID: () => ID6,
47
+ NotFoundError: () => NotFoundError6,
48
48
  Permission: () => exports_permission,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service54,
54
+ Service: () => Service50,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node56
58
+ node: () => node52
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
@@ -64,7 +64,7 @@ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission"
64
64
  import { Event as Event10 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID7 = Permission.ID;
67
+ var ID6 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID7.pipe(Schema.optional),
80
+ id: ID6.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID9.pipe(Schema.optional)
82
+ agent: ID8.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID7,
85
+ requestID: ID6,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID7,
90
+ id: ID6,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID7
113
+ class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID6
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service54 extends Context.Service()("@opencode/Permission") {
128
+ class Service50 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service54, Effect.gen(function* () {
131
- const bus = yield* Service83;
132
- const location = yield* Service80;
133
- const agents = yield* Service57;
134
- const sessions = yield* Service55;
135
- const saved = yield* Service56;
136
- const hooks = yield* Service58;
130
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
131
+ const bus = yield* Service82;
132
+ const location = yield* Service79;
133
+ const agents = yield* Service53;
134
+ const sessions = yield* Service52;
135
+ const saved = yield* Service51;
136
+ const hooks = yield* Service63;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError8({ sessionID });
159
+ return yield* new NotFoundError7({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID7.create(),
189
+ id: input.id ?? ID6.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID7.create(), effect: "deny" };
214
+ return { id: input.id ?? ID6.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError7({ requestID: input.requestID });
245
+ return yield* new NotFoundError6({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service54.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service50.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node56 = makeLocationNode({
303
- service: Service54,
302
+ var node52 = makeLocationNode({
303
+ service: Service50,
304
304
  layer,
305
- deps: [node87, node84, node59, node57, node58, node60]
305
+ deps: [node86, node83, node55, node54, node53, node65]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service54, node56, exports_permission, Rule2, Ruleset2, Event10 };
308
+ export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service50, node52, exports_permission, Rule2, Ruleset2, Event10 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./repository-cache-hrbcf8x8.js";
4
+ } from "./file-mutation-8mpnm3sv.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./repository-cache-dpkg50ah.js";
7
+ } from "./file-mutation-dpkg50ah.js";
8
8
  import {
9
- Service83,
10
- node87
11
- } from "./repository-cache-expxz8xq.js";
9
+ Service82,
10
+ node86
11
+ } from "./file-mutation-faxrmdye.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./repository-cache-ec1grn59.js";
14
+ } from "./file-mutation-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./repository-cache-gftt206x.js";
17
+ } from "./file-mutation-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./repository-cache-n7d88tpn.js";
20
+ } from "./file-mutation-nvxqht09.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./repository-cache-9e5bzkjp.js";
24
+ } from "./file-mutation-9e5bzkjp.js";
25
25
  import {
26
26
  __export
27
- } from "./repository-cache-9rqn6x4v.js";
27
+ } from "./file-mutation-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info7,
35
+ Info: () => Info5,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service34,
40
+ Service: () => Service37,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer16,
48
+ layer: () => layer17,
49
49
  list: () => list3,
50
- make: () => make17,
50
+ make: () => make18,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node36,
53
+ node: () => node39,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info7,
68
+ Info as Info5,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service34 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service37 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make17 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make18 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service84;
158
158
  const db = database.db;
159
- const bus = yield* Service83;
159
+ const bus = yield* Service82;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info7.make({
176
+ }).pipe(Effect.map((event) => Info5.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer16 = Layer.effect(Service34, make17());
231
- var node36 = makeGlobalNode({ service: Service34, layer: layer16, deps: [node88, node87] });
230
+ var layer17 = Layer.effect(Service37, make18());
231
+ var node39 = makeGlobalNode({ service: Service37, layer: layer17, deps: [node88, node86] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service34, make17, layer16, node36, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info5, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service37, make18, layer17, node39, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make15,
9
+ make: () => make16,
10
10
  render: () => render3
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make15(tools) {
32
+ function make16(tools) {
33
33
  return render3(system_default, tools);
34
34
  }
35
35
  function render3(prompt, tools) {
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make15, render3, exports_system_prompt };
50
+ export { make16, render3, exports_system_prompt };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./repository-cache-25ex5bj3.js";
3
+ } from "./file-mutation-z6cfb29r.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service52,
12
+ Service: () => Service45,
13
13
  canonical: () => canonical3,
14
- node: () => node54,
14
+ node: () => node47,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service52 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service45 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service52, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service45, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node54 = LayerNode.unbound(Service52, Node.tags.values.global);
27
+ var node47 = LayerNode.unbound(Service45, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service52;
29
+ const locations = yield* Service45;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service52, node54, reload2, canonical3, exports_location_service_map };
48
+ export { Service45, node47, reload2, canonical3, exports_location_service_map };
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service83
3
- } from "./repository-cache-expxz8xq.js";
2
+ Service82
3
+ } from "./file-mutation-faxrmdye.js";
4
4
  import {
5
- Service45
6
- } from "./repository-cache-j83nw7fd.js";
5
+ Service68
6
+ } from "./file-mutation-ssx3rgd2.js";
7
7
  import {
8
8
  Error2
9
- } from "./repository-cache-vxhhv58t.js";
9
+ } from "./file-mutation-yb42xt1h.js";
10
10
  import {
11
- Service70
12
- } from "./repository-cache-6bkwpg0x.js";
11
+ Service62
12
+ } from "./file-mutation-xy26ekgv.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./repository-cache-22f357wt.js";
15
+ } from "./file-mutation-k8s7jp5m.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./repository-cache-ec1grn59.js";
18
+ } from "./file-mutation-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./repository-cache-dhr91br8.js";
21
+ } from "./file-mutation-frx098gj.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./repository-cache-tdstcens.js";
24
+ } from "./file-mutation-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./repository-cache-gex2px6h.js";
27
+ } from "./file-mutation-dw2p03ct.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./repository-cache-scgrse2b.js";
30
+ } from "./file-mutation-b3f8fkhc.js";
31
31
  import {
32
32
  __export
33
- } from "./repository-cache-9rqn6x4v.js";
33
+ } from "./file-mutation-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make3
40
+ make: () => make9
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make3 = Effect.gen(function* () {
55
- const bus = yield* Service83;
54
+ var make9 = Effect.gen(function* () {
55
+ const bus = yield* Service82;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service45;
58
- const toolOutput = yield* Service70;
57
+ const snapshots = yield* Service68;
58
+ const toolOutput = yield* Service62;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -216,4 +216,4 @@ var classifyToolExits = (settled, runs) => {
216
216
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
217
217
  };
218
218
 
219
- export { Outcome2, make3, exports_step };
219
+ export { Outcome2, make9, exports_step };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured8,
11
- layer: () => layer23,
12
- make: () => make21,
13
- node: () => node66,
10
+ configured: () => configured9,
11
+ layer: () => layer22,
12
+ make: () => make22,
13
+ node: () => node74,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make21()
19
+ defaultValue: () => make22()
20
20
  });
21
- function make21(input = {}) {
21
+ function make22(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make21(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer23 = (input) => Layer.succeed(Metadata2, make21(input));
32
- var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
33
- var node66 = configured8();
31
+ var layer22 = (input) => Layer.succeed(Metadata2, make22(input));
32
+ var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer22(input), deps: [] });
33
+ var node74 = configured9();
34
34
 
35
- export { Metadata2, make21, useragent2, layer23, configured8, node66, exports_app };
35
+ export { Metadata2, make22, useragent2, layer22, configured9, node74, exports_app };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-cache-169shjta.js";
3
+ } from "./file-mutation-gh2amhk9.js";
4
4
  import {
5
- Service83
6
- } from "./repository-cache-expxz8xq.js";
5
+ Service82
6
+ } from "./file-mutation-faxrmdye.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./repository-cache-3g7y17n3.js";
10
+ } from "./file-mutation-j8cgstsh.js";
11
11
  import {
12
- ID13,
12
+ ID14,
13
13
  MethodID2
14
- } from "./repository-cache-3bg5g8q7.js";
14
+ } from "./file-mutation-s6qqwf79.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./repository-cache-pjvnvgmy.js";
18
+ } from "./file-mutation-pjvnvgmy.js";
19
19
  import {
20
- ID12,
20
+ ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./repository-cache-f0m8zgz7.js";
23
+ } from "./file-mutation-5ymnsk7v.js";
24
24
  import {
25
25
  get5
26
- } from "./repository-cache-54ma36ye.js";
26
+ } from "./file-mutation-54ma36ye.js";
27
27
 
28
28
  // src/plugin/provider/openai.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
47
47
  }));
48
48
  var decodeClaims = Schema.decodeUnknownOption(Claims);
49
49
  var browser = (app) => ({
50
- integrationID: ID13.make("openai"),
50
+ integrationID: ID14.make("openai"),
51
51
  method: {
52
52
  id: browserMethodID,
53
53
  type: "oauth",
@@ -120,7 +120,7 @@ function addressInUse(error) {
120
120
  return "code" in error && error.code === "EADDRINUSE";
121
121
  }
122
122
  var headless = (app) => ({
123
- integrationID: ID13.make("openai"),
123
+ integrationID: ID14.make("openai"),
124
124
  method: {
125
125
  id: headlessMethodID,
126
126
  type: "oauth",
@@ -162,10 +162,10 @@ var headless = (app) => ({
162
162
  }),
163
163
  refresh: (value) => refresh(headlessMethodID, value, app)
164
164
  });
165
- var OpenAIPlugin2 = define({
165
+ var OpenAIPlugin3 = define({
166
166
  id: "opencode.provider.openai",
167
167
  effect: Effect.fn(function* (ctx) {
168
- const bus = yield* Service83;
168
+ const bus = yield* Service82;
169
169
  const loading = Semaphore.makeUnsafe(1);
170
170
  let chatgpt;
171
171
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -181,7 +181,7 @@ var OpenAIPlugin2 = define({
181
181
  });
182
182
  yield* load();
183
183
  yield* ctx.provider.transform((providers) => {
184
- const item = providers.get(ID12.openai);
184
+ const item = providers.get(ID13.openai);
185
185
  if (!item)
186
186
  return;
187
187
  const account = chatgpt?.metadata?.accountID;
@@ -200,7 +200,7 @@ var OpenAIPlugin2 = define({
200
200
  });
201
201
  });
202
202
  yield* ctx.model.transform((models) => {
203
- for (const model of models.list(ID12.openai)) {
203
+ for (const model of models.list(ID13.openai)) {
204
204
  models.update(model.providerID, model.id, (draft) => {
205
205
  if (!chatgpt)
206
206
  return;
@@ -231,14 +231,14 @@ var OpenAIPlugin2 = define({
231
231
  }));
232
232
  evt.headers.originator = "opencode";
233
233
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
234
- }), { providerID: ID12.openai });
234
+ }), { providerID: ID13.openai });
235
235
  const omitOutputLimit = (evt) => Effect.sync(() => {
236
236
  delete evt.options.maxTokens;
237
237
  });
238
238
  for (const name of ["context", "compaction"])
239
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
239
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  })
243
243
  });
244
244
  function headers(contentType, app) {
@@ -329,4 +329,4 @@ function claim(token) {
329
329
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
330
330
  }
331
331
 
332
- export { OpenAIPlugin2 };
332
+ export { OpenAIPlugin3 };