@opencode/core 0.0.0-dev-355 → 0.0.0-dev-360

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 (543) hide show
  1. package/dist/agent.js +78 -78
  2. package/dist/aisdk-native.js +80 -80
  3. package/dist/aisdk.js +85 -85
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +69 -69
  6. package/dist/chunks/{managed-policy-t4yx2rky.js → managed-policy-00fx7j5c.js} +15 -15
  7. package/dist/chunks/{managed-policy-yzw5d0av.js → managed-policy-00pxn4bd.js} +10 -10
  8. package/dist/chunks/{managed-policy-dr0rs2xp.js → managed-policy-0dn1yphj.js} +195 -195
  9. package/dist/chunks/{managed-policy-5tn1y83c.js → managed-policy-0ez55h6z.js} +4 -4
  10. package/dist/chunks/{managed-policy-gctj0z7k.js → managed-policy-0m15b9c1.js} +4 -4
  11. package/dist/chunks/managed-policy-0p898jtz.js +26 -0
  12. package/dist/chunks/{managed-policy-2x7r0f3m.js → managed-policy-1mpk1ara.js} +19 -19
  13. package/dist/chunks/{managed-policy-m03f1x9p.js → managed-policy-1mwahr68.js} +1 -1
  14. package/dist/chunks/{managed-policy-s0srsftn.js → managed-policy-1ykyerhw.js} +21 -21
  15. package/dist/chunks/{managed-policy-vmqe41cb.js → managed-policy-20pht57w.js} +3 -3
  16. package/dist/chunks/{managed-policy-8b3vzgkx.js → managed-policy-25h84942.js} +3 -3
  17. package/dist/chunks/{managed-policy-cpc60jjn.js → managed-policy-2e07j09f.js} +16 -16
  18. package/dist/chunks/{managed-policy-bsdan8ex.js → managed-policy-2pnpws6z.js} +23 -23
  19. package/dist/chunks/{managed-policy-11pyra5g.js → managed-policy-2y5j90j5.js} +32 -32
  20. package/dist/chunks/{managed-policy-3raxg473.js → managed-policy-30kktm6y.js} +23 -23
  21. package/dist/chunks/{managed-policy-0nya5dy2.js → managed-policy-3121tyy5.js} +5 -5
  22. package/dist/chunks/{managed-policy-pnwsrq7c.js → managed-policy-33nxrdr5.js} +9 -9
  23. package/dist/chunks/{managed-policy-rrc2vz85.js → managed-policy-39615p30.js} +14 -14
  24. package/dist/chunks/{managed-policy-5x1ng7wb.js → managed-policy-39xwsyw8.js} +6 -6
  25. package/dist/chunks/{managed-policy-6v74jygm.js → managed-policy-3c0437bz.js} +11 -11
  26. package/dist/chunks/{managed-policy-nv9k8p4n.js → managed-policy-3ftdatfp.js} +3 -3
  27. package/dist/chunks/{managed-policy-chbq5xd6.js → managed-policy-3nsvn3qd.js} +4 -4
  28. package/dist/chunks/{managed-policy-drt3gbxv.js → managed-policy-3ptna5xg.js} +4 -4
  29. package/dist/chunks/managed-policy-3t5ccfg2.js +539 -0
  30. package/dist/chunks/{managed-policy-z0b170et.js → managed-policy-3w7p7eaa.js} +8 -8
  31. package/dist/chunks/{managed-policy-nnmm0w4p.js → managed-policy-3w895kgp.js} +18 -18
  32. package/dist/chunks/{managed-policy-zr81ag5j.js → managed-policy-3zeyn1sh.js} +11 -11
  33. package/dist/chunks/{managed-policy-677zxbpd.js → managed-policy-4aggytkt.js} +16 -16
  34. package/dist/chunks/{managed-policy-8cg7mtm3.js → managed-policy-4d2dtj2f.js} +3 -3
  35. package/dist/chunks/{managed-policy-3j7my4jc.js → managed-policy-4fbzvnkg.js} +1 -1
  36. package/dist/chunks/{managed-policy-2pfvsp26.js → managed-policy-4fvd22vc.js} +13 -13
  37. package/dist/chunks/{managed-policy-j41g7s1w.js → managed-policy-4gf7gge9.js} +5 -5
  38. package/dist/chunks/{managed-policy-p34qee05.js → managed-policy-4kvezjxd.js} +53 -53
  39. package/dist/chunks/{managed-policy-ngbaxw0x.js → managed-policy-4m678s02.js} +10 -10
  40. package/dist/chunks/{managed-policy-tg7s7b5t.js → managed-policy-4v8skfv1.js} +3 -3
  41. package/dist/chunks/{managed-policy-v9385mjb.js → managed-policy-4xnfw7gs.js} +22 -22
  42. package/dist/chunks/{managed-policy-memmdkn0.js → managed-policy-51c4hzeh.js} +69 -69
  43. package/dist/chunks/{managed-policy-09htpdq8.js → managed-policy-52zf3ryw.js} +1 -1
  44. package/dist/chunks/{managed-policy-ryekpbgv.js → managed-policy-53s0p5hq.js} +6 -6
  45. package/dist/chunks/{managed-policy-jt927r8x.js → managed-policy-56v67pvx.js} +10 -10
  46. package/dist/chunks/{managed-policy-vt2d6wap.js → managed-policy-5ckkk9bj.js} +3 -3
  47. package/dist/chunks/{managed-policy-w2eysc6j.js → managed-policy-5enarcya.js} +4 -4
  48. package/dist/chunks/{managed-policy-0exwhxnj.js → managed-policy-5pf90gbk.js} +13 -13
  49. package/dist/chunks/{managed-policy-qfdetvt9.js → managed-policy-5qjahbs7.js} +13 -13
  50. package/dist/chunks/{managed-policy-yg8ahdeb.js → managed-policy-5vjvebcw.js} +44 -44
  51. package/dist/chunks/{managed-policy-msd2a3qm.js → managed-policy-5zetbzm5.js} +1 -1
  52. package/dist/chunks/{managed-policy-ntjndndw.js → managed-policy-654x7yzp.js} +15 -15
  53. package/dist/chunks/{managed-policy-8xkn4akv.js → managed-policy-679ep0cz.js} +9 -9
  54. package/dist/chunks/{managed-policy-dzmeyxpm.js → managed-policy-6k4p53c4.js} +86 -86
  55. package/dist/chunks/{managed-policy-qvtm1f9z.js → managed-policy-6nsp1hch.js} +19 -19
  56. package/dist/chunks/{managed-policy-5cce1w9d.js → managed-policy-6sdem09p.js} +13 -13
  57. package/dist/chunks/{managed-policy-edgrr010.js → managed-policy-6y2ptdyb.js} +1 -1
  58. package/dist/chunks/{managed-policy-a0yz26ze.js → managed-policy-70b91y90.js} +41 -41
  59. package/dist/chunks/{managed-policy-13w6ybrz.js → managed-policy-726zqhgd.js} +47 -47
  60. package/dist/chunks/{managed-policy-b46pyqdy.js → managed-policy-78ytgxen.js} +10 -10
  61. package/dist/chunks/{managed-policy-m3g4sgcy.js → managed-policy-7e7988gh.js} +7 -7
  62. package/dist/chunks/{managed-policy-gjgwqcba.js → managed-policy-7ve1t3n0.js} +22 -22
  63. package/dist/chunks/{managed-policy-qjbth495.js → managed-policy-7wnfk6gy.js} +23 -23
  64. package/dist/chunks/{managed-policy-kv323n4c.js → managed-policy-7wtdn1g8.js} +35 -35
  65. package/dist/chunks/{managed-policy-sy4xarwe.js → managed-policy-84pp956a.js} +10 -10
  66. package/dist/chunks/{managed-policy-dm96v471.js → managed-policy-862ghcnc.js} +44 -44
  67. package/dist/chunks/{managed-policy-4tgxq4wm.js → managed-policy-88tearyr.js} +50 -50
  68. package/dist/chunks/{managed-policy-yts2a8qm.js → managed-policy-8ex0w787.js} +3 -3
  69. package/dist/chunks/{managed-policy-gngw7g2s.js → managed-policy-8ja7m345.js} +28 -28
  70. package/dist/chunks/{managed-policy-gv3gx93w.js → managed-policy-8srhw74s.js} +3 -3
  71. package/dist/chunks/{managed-policy-2hmajwep.js → managed-policy-95pm1j5b.js} +17 -17
  72. package/dist/chunks/{managed-policy-s6h2s3rz.js → managed-policy-95sp4hdf.js} +3 -3
  73. package/dist/chunks/{managed-policy-y9cx934m.js → managed-policy-97kr14ga.js} +21 -21
  74. package/dist/chunks/{managed-policy-b9m4jzkq.js → managed-policy-98d5nq0a.js} +4 -4
  75. package/dist/chunks/{managed-policy-7xpvxp2y.js → managed-policy-9e2she93.js} +7 -7
  76. package/dist/chunks/{managed-policy-fnxs6vtz.js → managed-policy-9kywdm83.js} +23 -23
  77. package/dist/chunks/{managed-policy-87gvg0a0.js → managed-policy-9r0cabze.js} +16 -16
  78. package/dist/chunks/{managed-policy-b6c60c1v.js → managed-policy-9vyzxdt4.js} +8 -8
  79. package/dist/chunks/{managed-policy-wabm22eq.js → managed-policy-9z65j8st.js} +40 -40
  80. package/dist/chunks/{managed-policy-7yrj8xks.js → managed-policy-a08ktxzt.js} +33 -33
  81. package/dist/chunks/{managed-policy-jv4a27p2.js → managed-policy-a6gn1kd1.js} +20 -20
  82. package/dist/chunks/{managed-policy-7614g9cd.js → managed-policy-acsz629t.js} +24 -24
  83. package/dist/chunks/{managed-policy-pavzsgq8.js → managed-policy-aepw0b6p.js} +12 -12
  84. package/dist/chunks/{managed-policy-8hfctyyf.js → managed-policy-akx7fhq1.js} +6 -6
  85. package/dist/chunks/{managed-policy-gq9rvz9h.js → managed-policy-an7nq9v6.js} +12 -12
  86. package/dist/chunks/{managed-policy-rxjh50d4.js → managed-policy-anzvheda.js} +91 -91
  87. package/dist/chunks/{managed-policy-5cg6g8ft.js → managed-policy-apv9mt11.js} +31 -31
  88. package/dist/chunks/{managed-policy-axe3mf62.js → managed-policy-arz7hw7x.js} +3 -3
  89. package/dist/chunks/{managed-policy-svzsvdng.js → managed-policy-azeff8cy.js} +19 -19
  90. package/dist/chunks/{managed-policy-nvj34tc6.js → managed-policy-b1pszpj9.js} +9 -9
  91. package/dist/chunks/{managed-policy-4zpq2btv.js → managed-policy-b3kmd4mj.js} +4 -4
  92. package/dist/chunks/{managed-policy-yh6ks7t5.js → managed-policy-b77837t1.js} +7 -7
  93. package/dist/chunks/{managed-policy-gr9j8g1s.js → managed-policy-b7s8g6yr.js} +10 -10
  94. package/dist/chunks/{managed-policy-yq2fbvdd.js → managed-policy-b8dt3yzy.js} +8 -8
  95. package/dist/chunks/{managed-policy-7gkv1w5n.js → managed-policy-bask9rw9.js} +16 -16
  96. package/dist/chunks/{managed-policy-0c3x5mmw.js → managed-policy-be0wmwv5.js} +7 -7
  97. package/dist/chunks/{managed-policy-7tgsj2ey.js → managed-policy-bsfxdvvt.js} +6 -6
  98. package/dist/chunks/{managed-policy-tzp7gddb.js → managed-policy-c84j9kfj.js} +4 -4
  99. package/dist/chunks/{managed-policy-c5h69n0a.js → managed-policy-cjj2btwh.js} +1 -1
  100. package/dist/chunks/{managed-policy-0ahs07zn.js → managed-policy-cpvd08na.js} +3 -3
  101. package/dist/chunks/{managed-policy-evr76v84.js → managed-policy-cwbpdf7n.js} +3 -3
  102. package/dist/chunks/{managed-policy-xf2m19e3.js → managed-policy-d021hvhj.js} +22 -22
  103. package/dist/chunks/{managed-policy-7q7kx5g5.js → managed-policy-d082y1w6.js} +3 -3
  104. package/dist/chunks/{managed-policy-0kp44r8v.js → managed-policy-d1c7txc5.js} +1 -1
  105. package/dist/chunks/{managed-policy-6yt02x6s.js → managed-policy-d3da6sq9.js} +34 -34
  106. package/dist/chunks/{managed-policy-ra6js1h8.js → managed-policy-ddvn7d3w.js} +7 -7
  107. package/dist/chunks/{managed-policy-fn6vwd7v.js → managed-policy-dgy090gd.js} +3 -3
  108. package/dist/chunks/{managed-policy-ngcdy70d.js → managed-policy-dx3j12yd.js} +45 -45
  109. package/dist/chunks/{managed-policy-rbg54dp1.js → managed-policy-e45fk36t.js} +3 -3
  110. package/dist/chunks/{managed-policy-8x9y3wj0.js → managed-policy-e496zp5r.js} +7 -7
  111. package/dist/chunks/{managed-policy-2d18vb37.js → managed-policy-egr8wc85.js} +19 -19
  112. package/dist/chunks/{managed-policy-tw6km0zc.js → managed-policy-ejv1m27g.js} +46 -46
  113. package/dist/chunks/{managed-policy-kqyk658n.js → managed-policy-emyxh9zd.js} +38 -38
  114. package/dist/chunks/{managed-policy-chgrs643.js → managed-policy-eq80e3bn.js} +5 -5
  115. package/dist/chunks/{managed-policy-nwjkfwc1.js → managed-policy-eranzbd3.js} +25 -25
  116. package/dist/chunks/{managed-policy-fp8qmr14.js → managed-policy-ez1mwgrk.js} +16 -16
  117. package/dist/chunks/{managed-policy-2dkjcnxp.js → managed-policy-ezna1kdx.js} +4 -4
  118. package/dist/chunks/{managed-policy-gm8bcebx.js → managed-policy-f248dtbq.js} +4 -4
  119. package/dist/chunks/{managed-policy-1yq9hg58.js → managed-policy-f35f93zp.js} +4 -4
  120. package/dist/chunks/{managed-policy-ttamz1z5.js → managed-policy-fbnrjevw.js} +9 -9
  121. package/dist/chunks/{managed-policy-w1hvwc50.js → managed-policy-ff98wwhc.js} +21 -21
  122. package/dist/chunks/{managed-policy-mr0kez6w.js → managed-policy-fh6yqggw.js} +7 -7
  123. package/dist/chunks/{managed-policy-rg0fjkdq.js → managed-policy-fk0fzfdt.js} +9 -9
  124. package/dist/chunks/{managed-policy-46f0n3mz.js → managed-policy-fs81h3jt.js} +7 -7
  125. package/dist/chunks/{managed-policy-scmk72rv.js → managed-policy-ftv7f0h4.js} +3 -3
  126. package/dist/chunks/{managed-policy-ev3zcxk3.js → managed-policy-fyh03zct.js} +1 -1
  127. package/dist/chunks/{managed-policy-bp7ggn9c.js → managed-policy-g35p3w0d.js} +17 -17
  128. package/dist/chunks/{managed-policy-dn8c34gg.js → managed-policy-g8adbywj.js} +30 -30
  129. package/dist/chunks/{managed-policy-gep8wh7y.js → managed-policy-g8swrvnn.js} +33 -33
  130. package/dist/chunks/{managed-policy-fw9gz695.js → managed-policy-gds09g4b.js} +42 -42
  131. package/dist/chunks/{managed-policy-j5y2avbr.js → managed-policy-gk8vay7z.js} +17 -17
  132. package/dist/chunks/{managed-policy-na2p7d06.js → managed-policy-gnccyfxb.js} +38 -38
  133. package/dist/chunks/{managed-policy-5m110vqw.js → managed-policy-gvn3f3gf.js} +36 -36
  134. package/dist/chunks/{managed-policy-r2p6g2q1.js → managed-policy-gwvs57w6.js} +8 -8
  135. package/dist/chunks/{managed-policy-qncnsg79.js → managed-policy-gzw4xxzr.js} +18 -18
  136. package/dist/chunks/{managed-policy-axsmrxj2.js → managed-policy-h8j8hrk6.js} +6 -6
  137. package/dist/chunks/{managed-policy-h382f8tg.js → managed-policy-h8rtbqgs.js} +32 -32
  138. package/dist/chunks/{managed-policy-npr5d5bn.js → managed-policy-h9tmec5j.js} +16 -16
  139. package/dist/chunks/{managed-policy-rqq4mjft.js → managed-policy-hh19szvy.js} +7 -7
  140. package/dist/chunks/{managed-policy-shg116xf.js → managed-policy-hty97zw0.js} +3 -3
  141. package/dist/chunks/{managed-policy-bktkba0q.js → managed-policy-jgd59f7e.js} +5 -5
  142. package/dist/chunks/{managed-policy-7a2bwsmz.js → managed-policy-jy2czfqv.js} +3 -3
  143. package/dist/chunks/{managed-policy-1m3wvmpv.js → managed-policy-jyqx92zg.js} +4 -4
  144. package/dist/chunks/{managed-policy-qsdghx1p.js → managed-policy-k3cx6fhe.js} +3 -3
  145. package/dist/chunks/{managed-policy-50kxyvzf.js → managed-policy-k3gdctbe.js} +9 -9
  146. package/dist/chunks/{managed-policy-cmypnb63.js → managed-policy-kf7yecx5.js} +34 -34
  147. package/dist/chunks/{managed-policy-3g148s1m.js → managed-policy-kzh081j6.js} +24 -24
  148. package/dist/chunks/{managed-policy-zb6ab1v1.js → managed-policy-m8aw8crw.js} +9 -9
  149. package/dist/chunks/{managed-policy-meb59cap.js → managed-policy-m8wvz71k.js} +33 -33
  150. package/dist/chunks/{managed-policy-301zw7a8.js → managed-policy-m9bvz1xb.js} +3 -3
  151. package/dist/chunks/{managed-policy-v9jbzfq6.js → managed-policy-mdew9s65.js} +2 -2
  152. package/dist/chunks/{managed-policy-wq4nqtd2.js → managed-policy-mfs2cw6h.js} +11 -11
  153. package/dist/chunks/{managed-policy-g3mnxttw.js → managed-policy-mg936kbs.js} +28 -28
  154. package/dist/chunks/{managed-policy-bqa8ney4.js → managed-policy-mrpnjyvf.js} +7 -7
  155. package/dist/chunks/{managed-policy-jfy3r84g.js → managed-policy-myzme4zf.js} +8 -8
  156. package/dist/chunks/{managed-policy-szd7q828.js → managed-policy-n5wje2ht.js} +7 -7
  157. package/dist/chunks/{managed-policy-m0j6s1s2.js → managed-policy-n8s0y8c9.js} +18 -18
  158. package/dist/chunks/{managed-policy-5c0ay57s.js → managed-policy-nemnqzpn.js} +3 -3
  159. package/dist/chunks/{managed-policy-gr79f0h4.js → managed-policy-nh61dyqa.js} +13 -13
  160. package/dist/chunks/{managed-policy-19ra4j57.js → managed-policy-nmvtk8pw.js} +34 -34
  161. package/dist/chunks/{managed-policy-rjm4cfws.js → managed-policy-nn2203hf.js} +25 -25
  162. package/dist/chunks/{managed-policy-f1kswy8d.js → managed-policy-nn9vx4b3.js} +8 -8
  163. package/dist/chunks/{managed-policy-rzdnk3g6.js → managed-policy-nntmgp2m.js} +4 -4
  164. package/dist/chunks/{managed-policy-jbhdsrfy.js → managed-policy-npn4ysng.js} +10 -10
  165. package/dist/chunks/{managed-policy-7f39s14e.js → managed-policy-nwtvxrk7.js} +39 -39
  166. package/dist/chunks/{managed-policy-czwy3yzx.js → managed-policy-nyxvvj5y.js} +6 -6
  167. package/dist/chunks/{managed-policy-w50e04pv.js → managed-policy-p4xrf3v3.js} +33 -33
  168. package/dist/chunks/{managed-policy-r0chqwjk.js → managed-policy-p80db9m6.js} +19 -19
  169. package/dist/chunks/{managed-policy-na4m6azm.js → managed-policy-ph0tf0ph.js} +12 -12
  170. package/dist/chunks/{managed-policy-s3n585rv.js → managed-policy-pjxxd0tq.js} +28 -28
  171. package/dist/chunks/{managed-policy-t0dcc9fc.js → managed-policy-pkthxjgs.js} +11 -11
  172. package/dist/chunks/{managed-policy-tfcs9jg5.js → managed-policy-pmenavs3.js} +30 -30
  173. package/dist/chunks/{managed-policy-z2bgjz14.js → managed-policy-ppngp76y.js} +23 -23
  174. package/dist/chunks/{managed-policy-fg9p65nk.js → managed-policy-prq7xxp2.js} +4 -4
  175. package/dist/chunks/{managed-policy-5rz96m0v.js → managed-policy-prwdsx4e.js} +5 -5
  176. package/dist/chunks/{managed-policy-p59vkkbe.js → managed-policy-pvpn29rk.js} +9 -9
  177. package/dist/chunks/{managed-policy-yvv8rcn4.js → managed-policy-pznt48t8.js} +43 -43
  178. package/dist/chunks/{managed-policy-952e4ypq.js → managed-policy-q2g9e0wm.js} +15 -15
  179. package/dist/chunks/{managed-policy-gn6qas9s.js → managed-policy-q3qhbnrq.js} +7 -7
  180. package/dist/chunks/{managed-policy-0j1hn0v5.js → managed-policy-qgszjrgp.js} +50 -50
  181. package/dist/chunks/{managed-policy-p2tvx8t7.js → managed-policy-qvtnw8rj.js} +8 -8
  182. package/dist/chunks/{managed-policy-f1rz58n2.js → managed-policy-r3nbggc1.js} +22 -22
  183. package/dist/chunks/{managed-policy-vyjz7kgq.js → managed-policy-r45vdydb.js} +15 -15
  184. package/dist/chunks/{managed-policy-pqg1n5x7.js → managed-policy-r4myysgd.js} +15 -15
  185. package/dist/chunks/{managed-policy-w0kpx8b2.js → managed-policy-rjnxbc3v.js} +17 -17
  186. package/dist/chunks/{managed-policy-a9gbcbk6.js → managed-policy-rppm5c81.js} +9 -9
  187. package/dist/chunks/{managed-policy-9hx1hw3k.js → managed-policy-rtm080pk.js} +18 -18
  188. package/dist/chunks/{managed-policy-97tsyh9q.js → managed-policy-s0m7zkjy.js} +11 -11
  189. package/dist/chunks/{managed-policy-dbccrw1t.js → managed-policy-s2pfznc4.js} +5 -5
  190. package/dist/chunks/{managed-policy-09xtg6dh.js → managed-policy-s5chsxke.js} +7 -7
  191. package/dist/chunks/{managed-policy-7238w2mc.js → managed-policy-s5vtxg18.js} +8 -8
  192. package/dist/chunks/{managed-policy-9j7zhwfa.js → managed-policy-s9mgb1sy.js} +1 -1
  193. package/dist/chunks/{managed-policy-qq3x3gsn.js → managed-policy-sbmacpxg.js} +31 -31
  194. package/dist/chunks/{managed-policy-r6hfzmwj.js → managed-policy-sbs4fxj5.js} +9 -9
  195. package/dist/chunks/{managed-policy-es8q0qfk.js → managed-policy-scxw0c41.js} +7 -7
  196. package/dist/chunks/{managed-policy-yb9wrz09.js → managed-policy-sd7ye422.js} +3 -3
  197. package/dist/chunks/{managed-policy-kq14pwqr.js → managed-policy-sfmwmx3y.js} +22 -22
  198. package/dist/chunks/{managed-policy-s7r98v9s.js → managed-policy-snnnv1ed.js} +39 -39
  199. package/dist/chunks/{managed-policy-0j7gp832.js → managed-policy-sqjzf8x2.js} +3 -3
  200. package/dist/chunks/{managed-policy-43vtf5ez.js → managed-policy-sv909n4y.js} +1 -1
  201. package/dist/chunks/{managed-policy-342x44y2.js → managed-policy-sxnptmk6.js} +21 -21
  202. package/dist/chunks/{managed-policy-a8sz7btp.js → managed-policy-syxgt7hj.js} +16 -16
  203. package/dist/chunks/{managed-policy-ndpcgwxm.js → managed-policy-t0jawx5w.js} +10 -10
  204. package/dist/chunks/{managed-policy-6r3p3n96.js → managed-policy-t3jf6x5r.js} +5 -5
  205. package/dist/chunks/{managed-policy-nnsgq7r2.js → managed-policy-tazjvz8j.js} +14 -14
  206. package/dist/chunks/{managed-policy-pm0m0915.js → managed-policy-tghwpxvy.js} +6 -6
  207. package/dist/chunks/{managed-policy-9m4qvb7h.js → managed-policy-thk52jvy.js} +25 -25
  208. package/dist/chunks/{managed-policy-qxk5146j.js → managed-policy-thmnjmx0.js} +20 -20
  209. package/dist/chunks/{managed-policy-fttttc4d.js → managed-policy-tm2grc99.js} +16 -16
  210. package/dist/chunks/{managed-policy-99ck8jks.js → managed-policy-tpd3143z.js} +5 -5
  211. package/dist/chunks/{managed-policy-rhkan3j9.js → managed-policy-trvtaa3q.js} +1 -1
  212. package/dist/chunks/{managed-policy-g4nf7z75.js → managed-policy-v289x162.js} +14 -14
  213. package/dist/chunks/{managed-policy-m3kvqs0d.js → managed-policy-vdjr5psn.js} +5 -5
  214. package/dist/chunks/{managed-policy-aesfxpby.js → managed-policy-veh29cvg.js} +36 -36
  215. package/dist/chunks/{managed-policy-12jq7ca1.js → managed-policy-vh150vf7.js} +16 -16
  216. package/dist/chunks/{managed-policy-rnnvhnyd.js → managed-policy-vj308eb4.js} +25 -25
  217. package/dist/chunks/{managed-policy-2bvfvv2f.js → managed-policy-vp2s2yka.js} +9 -9
  218. package/dist/chunks/{managed-policy-vvv61zch.js → managed-policy-vq8xgzqd.js} +26 -26
  219. package/dist/chunks/{managed-policy-zmp3xgvf.js → managed-policy-vrn1pf1v.js} +15 -15
  220. package/dist/chunks/{managed-policy-2gg6rc14.js → managed-policy-vrzaf89h.js} +12 -12
  221. package/dist/chunks/{managed-policy-vq0qa3sh.js → managed-policy-vt4r9rmy.js} +7 -7
  222. package/dist/chunks/{managed-policy-871z2bcy.js → managed-policy-vx8r5nvb.js} +16 -16
  223. package/dist/chunks/{managed-policy-9q8g9sv8.js → managed-policy-w35wzz9x.js} +3 -3
  224. package/dist/chunks/{managed-policy-6w2evtem.js → managed-policy-w49nkgzd.js} +10 -10
  225. package/dist/chunks/{managed-policy-mar5fkdv.js → managed-policy-wbhszs8a.js} +15 -15
  226. package/dist/chunks/{managed-policy-nq4nx86v.js → managed-policy-wc9ab0k6.js} +21 -21
  227. package/dist/chunks/{managed-policy-gp2j5m4a.js → managed-policy-wfs84ra6.js} +6 -6
  228. package/dist/chunks/{managed-policy-v8vd993n.js → managed-policy-wgvnftve.js} +7 -7
  229. package/dist/chunks/{managed-policy-ktnj6s6m.js → managed-policy-wmmtq209.js} +25 -25
  230. package/dist/chunks/{managed-policy-dv96216k.js → managed-policy-wn77a8c9.js} +3 -3
  231. package/dist/chunks/{managed-policy-bf1eawsr.js → managed-policy-wnxc6ztx.js} +14 -14
  232. package/dist/chunks/{managed-policy-hk70k2n5.js → managed-policy-wscq8e5a.js} +8 -8
  233. package/dist/chunks/{managed-policy-s0ryy5f2.js → managed-policy-wtdrtnme.js} +9 -9
  234. package/dist/chunks/{managed-policy-z87ddsz1.js → managed-policy-wvp9g99s.js} +12 -12
  235. package/dist/chunks/{managed-policy-cw5vsa54.js → managed-policy-x238ctd3.js} +8 -8
  236. package/dist/chunks/{managed-policy-mcc078bm.js → managed-policy-x8pn77yk.js} +29 -29
  237. package/dist/chunks/{managed-policy-z19jtcrd.js → managed-policy-x99tb5f1.js} +17 -17
  238. package/dist/chunks/{managed-policy-x93fa6v5.js → managed-policy-x9fn6984.js} +10 -10
  239. package/dist/chunks/{managed-policy-0wwtt1v4.js → managed-policy-xea05nf5.js} +27 -27
  240. package/dist/chunks/{managed-policy-f7cq85kc.js → managed-policy-xgaq24t7.js} +27 -27
  241. package/dist/chunks/{managed-policy-m89y74mg.js → managed-policy-xss38zbz.js} +1 -1
  242. package/dist/chunks/{managed-policy-xq7fqyqm.js → managed-policy-xsvks309.js} +21 -21
  243. package/dist/chunks/managed-policy-yc9fq4e8.js +16 -0
  244. package/dist/chunks/{managed-policy-b21h08s4.js → managed-policy-yctvh1cp.js} +16 -16
  245. package/dist/chunks/{managed-policy-js1877xv.js → managed-policy-yczyz3qg.js} +30 -30
  246. package/dist/chunks/{managed-policy-xvqq26aw.js → managed-policy-yepgas63.js} +7 -7
  247. package/dist/chunks/managed-policy-yh8m6s3q.js +257 -0
  248. package/dist/chunks/{managed-policy-kjx7nxp1.js → managed-policy-yhsh2wx7.js} +4 -4
  249. package/dist/chunks/{managed-policy-j6ddadsn.js → managed-policy-yrqkv67x.js} +13 -13
  250. package/dist/chunks/{managed-policy-efm4fks5.js → managed-policy-ywaqe4tb.js} +25 -25
  251. package/dist/chunks/{managed-policy-0f9f120t.js → managed-policy-z47pg1fq.js} +12 -12
  252. package/dist/chunks/{managed-policy-3mcfa6v5.js → managed-policy-zc7pmk1j.js} +11 -11
  253. package/dist/chunks/{managed-policy-kexf90ff.js → managed-policy-zcfzkv6k.js} +13 -13
  254. package/dist/chunks/{managed-policy-x1fpqxa0.js → managed-policy-ze9pm62v.js} +4 -4
  255. package/dist/chunks/{managed-policy-e2pyhyep.js → managed-policy-zee9eqmc.js} +12 -12
  256. package/dist/chunks/{managed-policy-j828s1jm.js → managed-policy-zejpc0ts.js} +11 -11
  257. package/dist/chunks/{managed-policy-crzbtfky.js → managed-policy-zg145z9d.js} +23 -23
  258. package/dist/chunks/{managed-policy-hryjy69m.js → managed-policy-zpk91qsy.js} +12 -12
  259. package/dist/chunks/{managed-policy-7mjyqtes.js → managed-policy-zse9yxbs.js} +24 -24
  260. package/dist/codemode/execution.js +5 -5
  261. package/dist/codemode/fetch.js +116 -116
  262. package/dist/codemode/instructions.js +8 -8
  263. package/dist/codemode/tool.js +122 -122
  264. package/dist/command.js +78 -78
  265. package/dist/config/discovery.js +76 -76
  266. package/dist/config/integration.js +5 -5
  267. package/dist/config/normalize.js +89 -89
  268. package/dist/config/plugin/agent.js +104 -104
  269. package/dist/config/plugin/command.js +194 -194
  270. package/dist/config/plugin/compaction.js +137 -137
  271. package/dist/config/plugin/compatibility.js +119 -119
  272. package/dist/config/plugin/formatter.js +104 -104
  273. package/dist/config/plugin/image.js +104 -104
  274. package/dist/config/plugin/instruction.js +105 -105
  275. package/dist/config/plugin/location-watcher.js +106 -106
  276. package/dist/config/plugin/mcp.js +112 -112
  277. package/dist/config/plugin/policy.js +104 -104
  278. package/dist/config/plugin/provider.js +104 -104
  279. package/dist/config/plugin/reference.js +106 -106
  280. package/dist/config/plugin/shell.js +106 -106
  281. package/dist/config/plugin/skill-file.js +116 -116
  282. package/dist/config/plugin/skill.js +122 -122
  283. package/dist/config/plugin/snapshot.js +104 -104
  284. package/dist/config/plugin/source.js +105 -105
  285. package/dist/config/plugin/tool-output.js +105 -105
  286. package/dist/config/plugin/websearch.js +105 -105
  287. package/dist/config/plugin/worktree.js +106 -106
  288. package/dist/config.js +110 -110
  289. package/dist/credential.js +77 -77
  290. package/dist/database/database.js +67 -67
  291. package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
  292. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  293. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  294. package/dist/database/drizzle/index.js +10 -10
  295. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  296. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  297. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  298. package/dist/database/drizzle.js +10 -10
  299. package/dist/database/migration.gen.js +46 -46
  300. package/dist/database/migration.js +48 -48
  301. package/dist/database/v1-migration.bun.js +25 -25
  302. package/dist/effect/app-node-builder.js +267 -267
  303. package/dist/effect/keyed-mutex.js +3 -3
  304. package/dist/environment/environment.js +84 -84
  305. package/dist/environment/index.js +86 -86
  306. package/dist/event-logger.js +14 -14
  307. package/dist/file-access.js +127 -127
  308. package/dist/file-mutation.js +87 -87
  309. package/dist/filesystem/file-watch.js +18 -18
  310. package/dist/filesystem/location-watcher-policy.js +5 -5
  311. package/dist/filesystem/location-watcher.js +210 -210
  312. package/dist/filesystem/search.js +90 -90
  313. package/dist/filesystem/watcher.js +9 -9
  314. package/dist/filesystem.js +93 -93
  315. package/dist/form.js +76 -76
  316. package/dist/formatter.js +80 -80
  317. package/dist/generate.js +95 -95
  318. package/dist/git.js +7 -7
  319. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  320. package/dist/github-copilot/copilot-provider.js +3 -3
  321. package/dist/github-copilot/models.js +82 -82
  322. package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
  323. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  324. package/dist/image/notice.js +3 -3
  325. package/dist/image/photon.js +1 -1
  326. package/dist/image.js +5 -5
  327. package/dist/instance/service.js +5 -5
  328. package/dist/instance.js +360 -360
  329. package/dist/instruction-discovery.js +77 -77
  330. package/dist/instructions/builtins.js +81 -81
  331. package/dist/instructions/index.js +3 -3
  332. package/dist/integration/connection.js +3 -3
  333. package/dist/integration.js +82 -82
  334. package/dist/job.js +72 -72
  335. package/dist/kv.js +68 -68
  336. package/dist/location-activity.js +78 -78
  337. package/dist/location-lifecycle.js +121 -121
  338. package/dist/location-service-map.js +80 -80
  339. package/dist/location-services.js +358 -358
  340. package/dist/location.js +81 -81
  341. package/dist/managed-policy.js +2 -2
  342. package/dist/mcp/client.js +19 -19
  343. package/dist/mcp/index.js +97 -97
  344. package/dist/mcp/instructions.js +151 -151
  345. package/dist/mcp/oauth.js +14 -14
  346. package/dist/mcp/stdio.js +83 -83
  347. package/dist/modal/models.js +82 -82
  348. package/dist/model-resolver.js +89 -89
  349. package/dist/model.js +91 -91
  350. package/dist/models-dev.js +98 -98
  351. package/dist/permission/saved.js +72 -72
  352. package/dist/permission.js +122 -122
  353. package/dist/persistent-pty/index.js +82 -82
  354. package/dist/persistent-pty.js +68 -68
  355. package/dist/plugin/agent.js +69 -69
  356. package/dist/plugin/command.js +90 -90
  357. package/dist/plugin/goal.js +3 -3
  358. package/dist/plugin/hooks.js +5 -5
  359. package/dist/plugin/host.js +201 -201
  360. package/dist/plugin/identity.js +5 -5
  361. package/dist/plugin/instance.js +5 -5
  362. package/dist/plugin/internal.js +337 -337
  363. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  364. package/dist/plugin/models-dev.js +87 -87
  365. package/dist/plugin/module.js +103 -103
  366. package/dist/plugin/optimize.js +4 -4
  367. package/dist/plugin/plan.js +117 -117
  368. package/dist/plugin/provider/amazon-bedrock.js +82 -82
  369. package/dist/plugin/provider/azure.js +105 -105
  370. package/dist/plugin/provider/chatgpt.js +103 -103
  371. package/dist/plugin/provider/claude-agent/aisdk.js +92 -92
  372. package/dist/plugin/provider/claude-agent/claude/query-options.js +3 -3
  373. package/dist/plugin/provider/claude-agent/claude/session.js +2 -2
  374. package/dist/plugin/provider/claude-agent/claude/sessions.js +9 -9
  375. package/dist/plugin/provider/claude-agent/claude/status.js +6 -6
  376. package/dist/plugin/provider/claude-agent/index.js +113 -113
  377. package/dist/plugin/provider/claude-agent/instructions.js +91 -91
  378. package/dist/plugin/provider/claude-agent/integration.js +86 -86
  379. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  380. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +5 -5
  381. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +5 -5
  382. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  383. package/dist/plugin/provider/claude-agent/provider.js +85 -85
  384. package/dist/plugin/provider/claude-agent/session.js +88 -88
  385. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  386. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  387. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  388. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  389. package/dist/plugin/provider/cloudflare-ai-gateway.js +103 -103
  390. package/dist/plugin/provider/cloudflare-workers-ai.js +103 -103
  391. package/dist/plugin/provider/configured.js +101 -101
  392. package/dist/plugin/provider/credential-settings.js +68 -68
  393. package/dist/plugin/provider/digitalocean.js +83 -83
  394. package/dist/plugin/provider/github-copilot.js +85 -85
  395. package/dist/plugin/provider/gitlab.js +84 -84
  396. package/dist/plugin/provider/google-vertex.js +102 -102
  397. package/dist/plugin/provider/llmgateway.js +71 -71
  398. package/dist/plugin/provider/lmstudio.js +113 -113
  399. package/dist/plugin/provider/local.js +110 -110
  400. package/dist/plugin/provider/modal.js +83 -83
  401. package/dist/plugin/provider/ollama.js +113 -113
  402. package/dist/plugin/provider/openai-context-caps.js +81 -81
  403. package/dist/plugin/provider/openai.js +105 -105
  404. package/dist/plugin/provider/opencode.js +105 -105
  405. package/dist/plugin/provider/openrouter.js +82 -82
  406. package/dist/plugin/provider/poe.js +71 -71
  407. package/dist/plugin/provider/sap-ai-core.js +81 -81
  408. package/dist/plugin/provider/snowflake-cortex.js +103 -103
  409. package/dist/plugin/provider/vllm.js +113 -113
  410. package/dist/plugin/provider/xai.js +82 -82
  411. package/dist/plugin/provider.js +169 -169
  412. package/dist/plugin/sdk.js +70 -70
  413. package/dist/plugin/service.js +3 -3
  414. package/dist/plugin/skill.js +120 -120
  415. package/dist/plugin/supervisor.js +347 -347
  416. package/dist/plugin/tool-input-repair.js +3 -3
  417. package/dist/plugin/update.js +6 -6
  418. package/dist/plugin/vcs/git.js +79 -79
  419. package/dist/plugin/vcs/hg.js +79 -79
  420. package/dist/plugin/verbosity.js +84 -84
  421. package/dist/plugin/warming.js +103 -103
  422. package/dist/plugin/websearch/exa.js +6 -6
  423. package/dist/plugin/websearch/firecrawl.js +7 -7
  424. package/dist/plugin/websearch/index.js +8 -8
  425. package/dist/plugin/websearch/mcp.js +3 -3
  426. package/dist/plugin/websearch/parallel.js +7 -7
  427. package/dist/plugin/websearch/tavily.js +4 -4
  428. package/dist/plugin/websearch/tinyfish.js +7 -7
  429. package/dist/plugin.js +211 -211
  430. package/dist/project/icon.js +1 -1
  431. package/dist/project/schema.js +7 -7
  432. package/dist/project.js +82 -82
  433. package/dist/provider.js +90 -90
  434. package/dist/pty.js +91 -91
  435. package/dist/reference/instructions.js +82 -82
  436. package/dist/reference.js +82 -82
  437. package/dist/repository-cache.js +75 -75
  438. package/dist/ripgrep.js +85 -85
  439. package/dist/rpc.js +80 -80
  440. package/dist/schedule/check.js +205 -205
  441. package/dist/schedule.js +218 -218
  442. package/dist/session/blob.js +102 -102
  443. package/dist/session/command.js +69 -69
  444. package/dist/session/compaction.js +138 -138
  445. package/dist/session/context.js +167 -167
  446. package/dist/session/diff.js +79 -79
  447. package/dist/session/environment.js +5 -5
  448. package/dist/session/error.js +2 -2
  449. package/dist/session/execution/restart.js +131 -131
  450. package/dist/session/execution.js +135 -135
  451. package/dist/session/generate.js +168 -168
  452. package/dist/session/history.js +107 -107
  453. package/dist/session/inbox.js +120 -120
  454. package/dist/session/info.js +2 -2
  455. package/dist/session/instruction-entry.js +71 -71
  456. package/dist/session/instruction-state.js +2 -2
  457. package/dist/session/instructions.js +114 -114
  458. package/dist/session/model-request.js +138 -138
  459. package/dist/session/model-transport.js +7 -7
  460. package/dist/session/move.js +134 -134
  461. package/dist/session/projector.js +113 -113
  462. package/dist/session/prompt.js +119 -119
  463. package/dist/session/revert.js +110 -110
  464. package/dist/session/run-coordinator.js +3 -3
  465. package/dist/session/runner/index.js +3 -3
  466. package/dist/session/runner/llm.js +209 -209
  467. package/dist/session/runner/model.js +90 -90
  468. package/dist/session/runner/publish-llm-event.js +120 -120
  469. package/dist/session/runner/step.js +129 -129
  470. package/dist/session/runner/to-llm-message.js +108 -108
  471. package/dist/session/schema.js +5 -5
  472. package/dist/session/session.js +148 -148
  473. package/dist/session/shell.js +118 -118
  474. package/dist/session/skill.js +118 -118
  475. package/dist/session/stats.js +10 -10
  476. package/dist/session/store.js +113 -113
  477. package/dist/session/stored.js +3 -3
  478. package/dist/session/subagent-completion.js +3 -3
  479. package/dist/session/subagent-job.js +191 -191
  480. package/dist/session/system-prompt.js +5 -5
  481. package/dist/session/title.js +164 -164
  482. package/dist/session/to-session-error.js +119 -119
  483. package/dist/session/transfer.js +128 -128
  484. package/dist/session.js +200 -200
  485. package/dist/shell/parse.js +3 -3
  486. package/dist/shell/select.js +14 -14
  487. package/dist/shell.js +121 -121
  488. package/dist/skill/discovery.js +5 -5
  489. package/dist/skill/instructions.js +122 -122
  490. package/dist/skill.js +127 -127
  491. package/dist/snapshot.js +86 -86
  492. package/dist/tool/mcp.js +150 -150
  493. package/dist/tool/plugin/edit.js +130 -130
  494. package/dist/tool/plugin/glob.js +138 -138
  495. package/dist/tool/plugin/grep.js +138 -138
  496. package/dist/tool/plugin/image-generate.js +204 -204
  497. package/dist/tool/plugin/mcp-resource.js +132 -132
  498. package/dist/tool/plugin/opencode.js +132 -132
  499. package/dist/tool/plugin/patch.js +136 -136
  500. package/dist/tool/plugin/question.js +119 -119
  501. package/dist/tool/plugin/read.js +133 -133
  502. package/dist/tool/plugin/schedule.js +209 -209
  503. package/dist/tool/plugin/shell.js +200 -200
  504. package/dist/tool/plugin/skill.js +124 -124
  505. package/dist/tool/plugin/subagent.js +202 -202
  506. package/dist/tool/plugin/todo.js +123 -123
  507. package/dist/tool/plugin/webfetch.js +124 -124
  508. package/dist/tool/plugin/websearch.js +124 -124
  509. package/dist/tool/plugin/write.js +132 -132
  510. package/dist/tool/read-filesystem.js +91 -91
  511. package/dist/tool-output.js +5 -5
  512. package/dist/tool.js +130 -130
  513. package/dist/usage-limits.js +81 -81
  514. package/dist/v1/config/agent.js +6 -6
  515. package/dist/v1/config/command.js +3 -3
  516. package/dist/v1/config/mcp.js +3 -3
  517. package/dist/v1/config/migrate.js +82 -82
  518. package/dist/v1/config/permission.js +3 -3
  519. package/dist/v1/config/plugin.js +3 -3
  520. package/dist/v1/config/provider.js +3 -3
  521. package/dist/variant.js +84 -84
  522. package/dist/vcs.js +82 -82
  523. package/dist/voice.js +75 -75
  524. package/dist/websearch.js +78 -78
  525. package/dist/wellknown/plugin.js +71 -71
  526. package/dist/wellknown.js +76 -76
  527. package/dist/workspace/driver.js +5 -5
  528. package/dist/workspace.js +76 -76
  529. package/dist/worktree/directory.js +1 -1
  530. package/dist/worktree/git.js +7 -7
  531. package/dist/worktree/strategies.js +82 -82
  532. package/dist/worktree.js +90 -90
  533. package/package.json +8 -8
  534. package/dist/chunks/managed-policy-bmtx4gk1.js +0 -26
  535. package/dist/chunks/managed-policy-cpdsp3va.js +0 -16
  536. package/dist/chunks/managed-policy-wnehvpwn.js +0 -539
  537. package/dist/chunks/managed-policy-y1ymskfp.js +0 -257
  538. /package/dist/chunks/{managed-policy-d6v0v4m3.js → managed-policy-816ehvty.js} +0 -0
  539. /package/dist/chunks/{managed-policy-qt4dfm0j.js → managed-policy-9mpf12xv.js} +0 -0
  540. /package/dist/chunks/{managed-policy-d4v9tmah.js → managed-policy-gn8tkhbf.js} +0 -0
  541. /package/dist/chunks/{managed-policy-23kefcxh.js → managed-policy-ma48de29.js} +0 -0
  542. /package/dist/chunks/{managed-policy-qkw2jr9b.js → managed-policy-pxtfkpje.js} +0 -0
  543. /package/dist/chunks/{managed-policy-3cy6ygha.js → managed-policy-t74aepq9.js} +0 -0
@@ -3,13 +3,13 @@ import {
3
3
  llmClient2
4
4
  } from "./managed-policy-p015t6z3.js";
5
5
  import {
6
- Service76,
7
- node78
8
- } from "./managed-policy-gep8wh7y.js";
6
+ Service79,
7
+ node82
8
+ } from "./managed-policy-g8swrvnn.js";
9
9
  import {
10
- Service60,
11
- node62
12
- } from "./managed-policy-dm96v471.js";
10
+ Service70,
11
+ node72
12
+ } from "./managed-policy-862ghcnc.js";
13
13
  import {
14
14
  retryOneShot2
15
15
  } from "./managed-policy-wnhgecwx.js";
@@ -18,18 +18,18 @@ import {
18
18
  } from "./managed-policy-9rqn6x4v.js";
19
19
 
20
20
  // src/generate.ts
21
- var exports_generate2 = {};
22
- __export(exports_generate2, {
23
- Generate: () => exports_generate2,
21
+ var exports_generate = {};
22
+ __export(exports_generate, {
23
+ Generate: () => exports_generate,
24
24
  InvalidRequestError: () => InvalidRequestError3,
25
25
  ModelNotFoundError: () => ModelNotFoundError2,
26
26
  ProviderFailure: () => ProviderFailure2,
27
27
  ProviderRequestError: () => ProviderRequestError2,
28
- Service: () => Service37,
29
- UnavailableError: () => UnavailableError5,
28
+ Service: () => Service23,
29
+ UnavailableError: () => UnavailableError4,
30
30
  UnsupportedModelError: () => UnsupportedModelError2,
31
- layer: () => layer18,
32
- node: () => node40
31
+ layer: () => layer11,
32
+ node: () => node26
33
33
  });
34
34
  import { Decision, DecisionClient, Image, ImageClient, LLM, LLMClient, Media } from "@opencode/ai/effect";
35
35
  import { Money } from "@opencode/schema/money";
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
37
37
  import { Context, Effect, Layer, Schema } from "effect";
38
38
  import { RequestExecutor } from "@opencode/ai/route";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- class UnavailableError5 extends Schema.TaggedError()("Generate.UnavailableError", {
40
+ class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
41
41
  message: Schema.String,
42
42
  service: Schema.optional(Schema.String)
43
43
  }) {
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
81
81
  }) {
82
82
  }
83
83
 
84
- class Service37 extends Context.Service()("@opencode/Generate") {
84
+ class Service23 extends Context.Service()("@opencode/Generate") {
85
85
  }
86
- var layer18 = Layer.effect(Service37, Effect.gen(function* () {
86
+ var layer11 = Layer.effect(Service23, Effect.gen(function* () {
87
87
  const llm = yield* LLMClient.Service;
88
- const resolver = yield* Service60;
89
- const models = yield* Service76;
88
+ const resolver = yield* Service70;
89
+ const models = yield* Service79;
90
90
  const executor = yield* RequestExecutor.Service;
91
91
  const images = yield* ImageClient.Service;
92
92
  const decisionClient = yield* DecisionClient.Service;
@@ -98,11 +98,11 @@ var layer18 = Layer.effect(Service37, Effect.gen(function* () {
98
98
  "SessionRunnerModel.ModelInitializationError",
99
99
  "SessionRunnerModel.UnresolvedProviderVariablesError",
100
100
  "SessionRunnerModel.UnsupportedCompactionError"
101
- ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError5({ message: error.message, service: error.providerID }))));
101
+ ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError4({ message: error.message, service: error.providerID }))));
102
102
  if (!resolved && input.model)
103
103
  return yield* missing(input.model, "chat");
104
104
  if (!resolved)
105
- return yield* new UnavailableError5({ message: "No model specified and no supported model is available" });
105
+ return yield* new UnavailableError4({ message: "No model specified and no supported model is available" });
106
106
  const response = yield* llm.generate(LLM.request({
107
107
  model: resolved.model,
108
108
  prompt: input.prompt,
@@ -162,8 +162,8 @@ var layer18 = Layer.effect(Service37, Effect.gen(function* () {
162
162
  ...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
163
163
  };
164
164
  });
165
- const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError5({ message: "Generation credentials are unavailable" })));
166
- return Service37.of({
165
+ const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
166
+ return Service23.of({
167
167
  text: (input) => credentials(runText(input)),
168
168
  image: (input) => credentials(image(input)),
169
169
  decisions: (input) => credentials(decisions(input))
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
215
215
  return "overloaded";
216
216
  return "provider";
217
217
  }
218
- var node40 = makeLocationNode({
219
- service: Service37,
220
- layer: layer18,
221
- deps: [node62, node78, llmClient2, requestExecutor2]
218
+ var node26 = makeLocationNode({
219
+ service: Service23,
220
+ layer: layer11,
221
+ deps: [node72, node82, llmClient2, requestExecutor2]
222
222
  });
223
223
 
224
- export { UnavailableError5, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service37, layer18, node40, exports_generate2 };
224
+ export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service23, layer11, node26, exports_generate };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./managed-policy-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./managed-policy-axe3mf62.js";
7
+ } from "./managed-policy-arz7hw7x.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -2,13 +2,13 @@ import {
2
2
  RelativePath2
3
3
  } from "./managed-policy-z5v4ffb3.js";
4
4
  import {
5
- Service81,
6
- node83
7
- } from "./managed-policy-vyjz7kgq.js";
5
+ Service84,
6
+ node87
7
+ } from "./managed-policy-r45vdydb.js";
8
8
  import {
9
- Service63,
9
+ Service64,
10
10
  node65
11
- } from "./managed-policy-nvj34tc6.js";
11
+ } from "./managed-policy-b1pszpj9.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
@@ -21,11 +21,11 @@ import {
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Service: () => Service36,
25
- configured: () => configured5,
24
+ Service: () => Service43,
25
+ configured: () => configured3,
26
26
  fffLayer: () => fffLayer2,
27
27
  makeFffLayer: () => makeFffLayer2,
28
- node: () => node39
28
+ node: () => node46
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import path from "path";
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
33
33
  import { Fff } from "#fff";
34
34
  import fuzzysort from "fuzzysort";
35
35
  import { FileSystem } from "@opencode/schema/filesystem";
36
- class Service36 extends Context.Service()("@opencode/FileSystem/Search") {
36
+ class Service43 extends Context.Service()("@opencode/FileSystem/Search") {
37
37
  }
38
38
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
39
39
  function emptyIndex() {
@@ -52,9 +52,9 @@ function search(index, input) {
52
52
  });
53
53
  });
54
54
  }
55
- var ripgrepLayer = Layer.effect(Service36, Effect.gen(function* () {
56
- const location = yield* Service81;
57
- const ripgrep = yield* Service63;
55
+ var ripgrepLayer = Layer.effect(Service43, Effect.gen(function* () {
56
+ const location = yield* Service84;
57
+ const ripgrep = yield* Service64;
58
58
  const scope = yield* Scope.Scope;
59
59
  const clock = yield* Clock.Clock;
60
60
  const home = isHome2(location.directory);
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service36, Effect.gen(function* () {
99
99
  Deferred.doneUnsafe(attempt, exit);
100
100
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
101
101
  });
102
- return Service36.of({
102
+ return Service43.of({
103
103
  find: (input) => Effect.gen(function* () {
104
104
  yield* refresh;
105
105
  return search(index, input);
@@ -119,8 +119,8 @@ function createPicker(create, directory) {
119
119
  return { ok: false, error };
120
120
  }
121
121
  }
122
- var makeFffLayer2 = (create) => Layer.effect(Service36, Effect.gen(function* () {
123
- const location = yield* Service81;
122
+ var makeFffLayer2 = (create) => Layer.effect(Service43, Effect.gen(function* () {
123
+ const location = yield* Service84;
124
124
  let state;
125
125
  yield* Effect.addFinalizer(() => Effect.sync(() => {
126
126
  if (typeof state === "object" && state.result.ok)
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service36, Effect.gen(function* ()
152
152
  }
153
153
  return current.result.value;
154
154
  });
155
- return Service36.of({
155
+ return Service43.of({
156
156
  find: (input) => Effect.gen(function* () {
157
157
  const finder = yield* picker;
158
158
  if (!finder)
@@ -200,16 +200,16 @@ var makeFffLayer2 = (create) => Layer.effect(Service36, Effect.gen(function* ()
200
200
  }));
201
201
  var fffLayer2 = makeFffLayer2(Fff.create);
202
202
  var layer = (options) => Layer.unwrap(Effect.gen(function* () {
203
- const location = yield* Service81;
203
+ const location = yield* Service84;
204
204
  if (location.workspaceID)
205
205
  return ripgrepLayer;
206
206
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
207
207
  return ripgrepLayer;
208
208
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
209
209
  }));
210
- function configured5(options) {
211
- return makeLocationNode({ service: Service36, layer: layer(options), deps: [node83, node65] });
210
+ function configured3(options) {
211
+ return makeLocationNode({ service: Service43, layer: layer(options), deps: [node87, node65] });
212
212
  }
213
- var node39 = configured5();
213
+ var node46 = configured3();
214
214
 
215
- export { Service36, makeFffLayer2, fffLayer2, configured5, node39, exports_search };
215
+ export { Service43, makeFffLayer2, fffLayer2, configured3, node46, exports_search };
@@ -0,0 +1,16 @@
1
+ import {
2
+ __export
3
+ } from "./managed-policy-9rqn6x4v.js";
4
+
5
+ // src/codemode/execution.ts
6
+ var exports_execution2 = {};
7
+ __export(exports_execution2, {
8
+ CodeModeExecution: () => exports_execution2,
9
+ Service: () => Service50
10
+ });
11
+ import { Context } from "effect";
12
+
13
+ class Service50 extends Context.Service()("@opencode/CodeModeExecution") {
14
+ }
15
+
16
+ export { Service50, exports_execution2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./managed-policy-jbhdsrfy.js";
3
+ } from "./managed-policy-npn4ysng.js";
4
4
  import {
5
- Service86
6
- } from "./managed-policy-bf1eawsr.js";
5
+ Service87
6
+ } from "./managed-policy-wnxc6ztx.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./managed-policy-tfcs9jg5.js";
9
+ Event18
10
+ } from "./managed-policy-pmenavs3.js";
11
11
  import {
12
- ID15,
12
+ ID17,
13
13
  MethodID2
14
- } from "./managed-policy-dn8c34gg.js";
14
+ } from "./managed-policy-g8adbywj.js";
15
15
  import {
16
- ID14
17
- } from "./managed-policy-qq3x3gsn.js";
16
+ ID16
17
+ } from "./managed-policy-sbmacpxg.js";
18
18
  import {
19
- ID13,
19
+ ID15,
20
20
  Family2
21
- } from "./managed-policy-gep8wh7y.js";
21
+ } from "./managed-policy-g8swrvnn.js";
22
22
  import {
23
23
  bootstrap2
24
24
  } from "./managed-policy-yb20nhc3.js";
@@ -27,8 +27,8 @@ import {
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
30
- var providerID = ID14.make("digitalocean");
31
- var integrationID = ID15.make("digitalocean");
30
+ var providerID = ID16.make("digitalocean");
31
+ var integrationID = ID17.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -116,7 +116,7 @@ var oauth = {
116
116
  var DigitalOceanPlugin2 = define({
117
117
  id: "opencode.provider.digitalocean",
118
118
  effect: Effect.fn(function* (ctx) {
119
- const bus = yield* Service86;
119
+ const bus = yield* Service87;
120
120
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
121
121
  const loading = Semaphore.makeUnsafe(1);
122
122
  const loaded = { routers: [] };
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID13.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID15.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.forkScoped);
164
164
  })
165
165
  });
@@ -5,13 +5,13 @@ import {
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service88,
9
- node91
10
- } from "./managed-policy-7238w2mc.js";
8
+ Service86,
9
+ node89
10
+ } from "./managed-policy-s5vtxg18.js";
11
11
  import {
12
- Service81,
13
- node83
14
- } from "./managed-policy-vyjz7kgq.js";
12
+ Service84,
13
+ node87
14
+ } from "./managed-policy-r45vdydb.js";
15
15
  import {
16
16
  create4
17
17
  } from "./managed-policy-40y6dtc2.js";
@@ -22,34 +22,34 @@ import {
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID7,
27
- Service: () => Service33,
25
+ Error: () => Error3,
26
+ ID: () => ID12,
27
+ Service: () => Service62,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node36,
30
- noopLayer: () => noopLayer2
29
+ node: () => node63,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID7 } from "@opencode/schema/snapshot";
37
+ import { ID as ID12 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service33 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service62 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service33, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service88;
50
+ const git = yield* Service86;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service81;
52
+ const location = yield* Service84;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create4({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID7.make(tree);
99
+ return ID12.make(tree);
100
100
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
101
101
  });
102
102
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
141
141
  for (const [file, snapshot] of input.files) {
142
142
  const absolute = path.resolve(worktree, file);
143
143
  if (!FSUtil.contains(worktree, absolute))
144
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
144
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
145
145
  files.set(file, TreeID2.make(snapshot));
146
146
  }
147
147
  return files;
148
148
  });
149
149
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
150
150
  if (!enabled())
151
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
151
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
152
152
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
153
153
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  });
155
- return Service33.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
155
+ return Service62.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
156
  }).pipe(Effect.withSpan("Snapshot.boot")));
157
- var node36 = makeLocationNode({
158
- service: Service33,
157
+ var node63 = makeLocationNode({
158
+ service: Service62,
159
159
  layer,
160
- deps: [FSUtil.node, node91, Global.node, node83]
160
+ deps: [FSUtil.node, node89, Global.node, node87]
161
161
  });
162
- var noopLayer2 = Layer.succeed(Service33, Service33.of({
162
+ var noopLayer3 = Layer.succeed(Service62, Service62.of({
163
163
  transform: () => Effect.succeed({ dispose: Effect.void }),
164
164
  reload: () => Effect.void,
165
165
  capture: () => Effect.undefined,
@@ -168,13 +168,13 @@ var noopLayer2 = Layer.succeed(Service33, Service33.of({
168
168
  restore: () => Effect.void
169
169
  }));
170
170
  function failure(operation, cause) {
171
- if (cause instanceof Error2 && cause.operation === operation)
171
+ if (cause instanceof Error3 && cause.operation === operation)
172
172
  return cause;
173
- return new Error2({
173
+ return new Error3({
174
174
  operation,
175
175
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
176
176
  cause
177
177
  });
178
178
  }
179
179
 
180
- export { ID7, Error2, Service33, node36, noopLayer2, exports_snapshot2 };
180
+ export { ID12, Error3, Service62, node63, noopLayer3, exports_snapshot2 };
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service40,
14
+ Service: () => Service51,
15
15
  SizeError: () => SizeError2,
16
- node: () => node42
16
+ node: () => node52
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service40 extends Context.Service()("@opencode/Image") {
45
+ class Service51 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service40, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
48
48
  const state = create4({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service40.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service51.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node42 = makeLocationNode({ service: Service40, layer, deps: [] });
79
+ var node52 = makeLocationNode({ service: Service51, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service40, node42, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service51, node52, exports_image2 };