@opencode/core 0.0.0-dev-20361 → 0.0.0-dev-20363

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  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 +69 -69
  7. package/dist/chunks/{generate-et8frtwb.js → model-resolver-00bdd51n.js} +10 -10
  8. package/dist/chunks/{generate-r8rnv0jj.js → model-resolver-04shvbr1.js} +12 -12
  9. package/dist/chunks/{generate-9pj3ea5v.js → model-resolver-0703wr40.js} +4 -4
  10. package/dist/chunks/{generate-ra6s1qz5.js → model-resolver-08yw13zg.js} +12 -12
  11. package/dist/chunks/{generate-znsx74x0.js → model-resolver-0bfcnrg1.js} +1 -1
  12. package/dist/chunks/{generate-j79x0brg.js → model-resolver-0c6c0zmn.js} +18 -18
  13. package/dist/chunks/{generate-hhdwea2n.js → model-resolver-0ehkc6b3.js} +7 -7
  14. package/dist/chunks/{generate-137qhyq7.js → model-resolver-0np6v5dx.js} +43 -43
  15. package/dist/chunks/{generate-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{generate-te4qgv7b.js → model-resolver-0t1a536w.js} +7 -7
  17. package/dist/chunks/{generate-vhb3z7p9.js → model-resolver-159a3x2j.js} +32 -32
  18. package/dist/chunks/{generate-j3b8pxcj.js → model-resolver-166cxnzt.js} +25 -25
  19. package/dist/chunks/{generate-mhkvc446.js → model-resolver-1bbkgx8g.js} +3 -3
  20. package/dist/chunks/{generate-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{generate-5n14brjt.js → model-resolver-1ep2by6j.js} +31 -31
  22. package/dist/chunks/{generate-gqvhrk1p.js → model-resolver-1gtysh3b.js} +11 -11
  23. package/dist/chunks/{generate-gw9vfp6d.js → model-resolver-1jtc7t2n.js} +22 -22
  24. package/dist/chunks/{generate-arndb05z.js → model-resolver-1mjwcf4w.js} +6 -6
  25. package/dist/chunks/{generate-f1tyew74.js → model-resolver-1tw0n30a.js} +15 -15
  26. package/dist/chunks/{generate-1ygqh575.js → model-resolver-1ygqh575.js} +2 -2
  27. package/dist/chunks/{generate-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  28. package/dist/chunks/{generate-zbt9zsvy.js → model-resolver-23ypespv.js} +17 -17
  29. package/dist/chunks/{generate-dsbv4z0s.js → model-resolver-24bjdznb.js} +17 -17
  30. package/dist/chunks/{generate-3gapehae.js → model-resolver-28fee37h.js} +27 -27
  31. package/dist/chunks/{generate-1wwdvsgc.js → model-resolver-28rwb4xv.js} +13 -13
  32. package/dist/chunks/{generate-h9pnpq88.js → model-resolver-29qym6xz.js} +4 -4
  33. package/dist/chunks/{generate-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{generate-7s2tn799.js → model-resolver-2aet7wja.js} +8 -8
  35. package/dist/chunks/{generate-7bja5kqe.js → model-resolver-2e7f4xd3.js} +25 -25
  36. package/dist/chunks/{generate-t0sqncza.js → model-resolver-2hg7qvzt.js} +5 -5
  37. package/dist/chunks/{generate-q0raz0xt.js → model-resolver-2kewd2va.js} +9 -9
  38. package/dist/chunks/{generate-2h131gfv.js → model-resolver-2veb1275.js} +35 -35
  39. package/dist/chunks/{generate-apn8f15b.js → model-resolver-2y34zzjz.js} +9 -9
  40. package/dist/chunks/{generate-j46cqjxg.js → model-resolver-2zf1ybhy.js} +3 -3
  41. package/dist/chunks/{generate-j8afcsyc.js → model-resolver-30krspkn.js} +4 -4
  42. package/dist/chunks/{generate-n6cha630.js → model-resolver-31v28kev.js} +5 -5
  43. package/dist/chunks/{generate-kjsvp2pq.js → model-resolver-35me4pqp.js} +43 -43
  44. package/dist/chunks/{generate-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{generate-zst2aaa9.js → model-resolver-3g9hx9d8.js} +45 -45
  46. package/dist/chunks/{generate-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{generate-cdm0dq9n.js → model-resolver-3ppptnan.js} +6 -6
  48. package/dist/chunks/{generate-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{generate-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{generate-ag9w8cw1.js → model-resolver-3w2b2yj4.js} +5 -5
  51. package/dist/chunks/{generate-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{generate-52vqgt0f.js → model-resolver-468xcx49.js} +11 -11
  53. package/dist/chunks/{generate-z1t43wf9.js → model-resolver-4dcsf2r8.js} +5 -5
  54. package/dist/chunks/{generate-4x9ewffz.js → model-resolver-4ff0zxak.js} +30 -30
  55. package/dist/chunks/{generate-ssy44phe.js → model-resolver-4g0mdtwh.js} +14 -14
  56. package/dist/chunks/{generate-wgnhx3xw.js → model-resolver-4m9kpkhr.js} +21 -21
  57. package/dist/chunks/{generate-k4abns9x.js → model-resolver-4mwtbdcy.js} +23 -23
  58. package/dist/chunks/{generate-x2rw7g36.js → model-resolver-4n607a2z.js} +5 -5
  59. package/dist/chunks/{generate-xper0bhy.js → model-resolver-50p21jsy.js} +11 -11
  60. package/dist/chunks/{generate-dqvb69t0.js → model-resolver-54gavh75.js} +83 -83
  61. package/dist/chunks/{generate-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
  62. package/dist/chunks/{generate-57ez7d0k.js → model-resolver-57ez7d0k.js} +2 -2
  63. package/dist/chunks/{generate-63m9xggh.js → model-resolver-57p4zcxx.js} +17 -17
  64. package/dist/chunks/{generate-c54qn10r.js → model-resolver-59ps16wq.js} +6 -6
  65. package/dist/chunks/{generate-jexxy024.js → model-resolver-5cmxdwv8.js} +3 -3
  66. package/dist/chunks/{generate-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  67. package/dist/chunks/{generate-btppnszc.js → model-resolver-5dzgzdgv.js} +22 -22
  68. package/dist/chunks/{generate-ddjyqeqz.js → model-resolver-5gb54438.js} +11 -11
  69. package/dist/chunks/{generate-rtweafxj.js → model-resolver-5ghb1wcz.js} +17 -17
  70. package/dist/chunks/{generate-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
  71. package/dist/chunks/{generate-5633drez.js → model-resolver-5qkfabj9.js} +20 -20
  72. package/dist/chunks/{generate-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{generate-ez6a7f19.js → model-resolver-655b29a3.js} +24 -24
  74. package/dist/chunks/{generate-669tq793.js → model-resolver-669tq793.js} +1 -1
  75. package/dist/chunks/{generate-7bftgs18.js → model-resolver-66gm3q6y.js} +4 -4
  76. package/dist/chunks/{generate-h71w788e.js → model-resolver-6hjx5zpb.js} +9 -9
  77. package/dist/chunks/{generate-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  78. package/dist/chunks/{generate-jws6fkes.js → model-resolver-6pc27hjz.js} +4 -4
  79. package/dist/chunks/{generate-asmv1htq.js → model-resolver-6pjg54et.js} +15 -15
  80. package/dist/chunks/{generate-xcmrs36j.js → model-resolver-6pzm3pmc.js} +15 -15
  81. package/dist/chunks/{generate-x76h38gv.js → model-resolver-6rq2rdm3.js} +34 -34
  82. package/dist/chunks/{generate-k45ah5vd.js → model-resolver-6rq91kkb.js} +22 -22
  83. package/dist/chunks/{generate-zv45bf8x.js → model-resolver-774mep86.js} +2 -2
  84. package/dist/chunks/{generate-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{generate-a0q0x2br.js → model-resolver-7f1fjr73.js} +35 -35
  86. package/dist/chunks/{generate-jfcw678q.js → model-resolver-7fpqa9rm.js} +13 -13
  87. package/dist/chunks/{generate-9bvjat3n.js → model-resolver-7k895je9.js} +25 -25
  88. package/dist/chunks/{generate-yzeejkfr.js → model-resolver-7nnscm86.js} +20 -20
  89. package/dist/chunks/{generate-h55chb60.js → model-resolver-7vckzw94.js} +9 -9
  90. package/dist/chunks/{generate-jz6c2g7k.js → model-resolver-7z7t5xg0.js} +2 -2
  91. package/dist/chunks/{generate-pxhak851.js → model-resolver-7zdrdht4.js} +6 -6
  92. package/dist/chunks/{generate-qktdvtk9.js → model-resolver-7zrz2ht7.js} +9 -9
  93. package/dist/chunks/{generate-84txncab.js → model-resolver-84txncab.js} +1 -1
  94. package/dist/chunks/{generate-kvge6qe2.js → model-resolver-85ja8bjp.js} +20 -20
  95. package/dist/chunks/{generate-eahhehpg.js → model-resolver-86qzxe6p.js} +4 -4
  96. package/dist/chunks/{generate-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  97. package/dist/chunks/{generate-n8w64hgs.js → model-resolver-8dhmwpck.js} +9 -9
  98. package/dist/chunks/{generate-3pncb000.js → model-resolver-8k0g7am2.js} +11 -11
  99. package/dist/chunks/{generate-2c14t6ee.js → model-resolver-8s79h2zs.js} +25 -25
  100. package/dist/chunks/{generate-782xyd0k.js → model-resolver-8w6zmm29.js} +8 -8
  101. package/dist/chunks/{generate-94ek1h2f.js → model-resolver-94ek1h2f.js} +2 -2
  102. package/dist/chunks/{generate-5xtgfte3.js → model-resolver-9hn6k4tm.js} +8 -8
  103. package/dist/chunks/{generate-mtqbjg7z.js → model-resolver-9n3n2vac.js} +9 -9
  104. package/dist/chunks/{generate-tazfts3e.js → model-resolver-9pwyx6vy.js} +8 -8
  105. package/dist/chunks/{generate-yyr25rwn.js → model-resolver-9q2chv03.js} +3 -3
  106. package/dist/chunks/{generate-a46v4e4v.js → model-resolver-a2ew8a62.js} +4 -4
  107. package/dist/chunks/{generate-1h0ntq3z.js → model-resolver-aads351p.js} +1 -1
  108. package/dist/chunks/{generate-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  109. package/dist/chunks/{generate-2re9wx64.js → model-resolver-ahwzhwa3.js} +5 -5
  110. package/dist/chunks/model-resolver-ap5sg23v.js +252 -0
  111. package/dist/chunks/{generate-yxnc9je5.js → model-resolver-awc5gjgd.js} +17 -17
  112. package/dist/chunks/{generate-k1qrnqst.js → model-resolver-b00xvs8t.js} +8 -8
  113. package/dist/chunks/{generate-0m1hjkr9.js → model-resolver-b23z4qnb.js} +7 -7
  114. package/dist/chunks/{generate-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{generate-gnq7tvv0.js → model-resolver-b9e5m5kw.js} +16 -16
  116. package/dist/chunks/{generate-xtt422ve.js → model-resolver-beb0xpyw.js} +10 -10
  117. package/dist/chunks/{generate-qhx40mea.js → model-resolver-bf6sfhxg.js} +24 -24
  118. package/dist/chunks/{generate-qac5j8jk.js → model-resolver-bw2q4erb.js} +36 -36
  119. package/dist/chunks/{generate-0ag8d68y.js → model-resolver-bzpc8ntm.js} +17 -17
  120. package/dist/chunks/{generate-7qtea46p.js → model-resolver-bzx9a2az.js} +20 -20
  121. package/dist/chunks/{generate-71cfveas.js → model-resolver-c0xnxeca.js} +27 -27
  122. package/dist/chunks/{generate-smyv73yd.js → model-resolver-c1jg21sb.js} +11 -11
  123. package/dist/chunks/{generate-c1k7n5xw.js → model-resolver-c48kjqxw.js} +27 -27
  124. package/dist/chunks/{generate-q67tqqz3.js → model-resolver-c75ppnt9.js} +25 -25
  125. package/dist/chunks/{generate-w7907s39.js → model-resolver-cepnprts.js} +21 -21
  126. package/dist/chunks/{generate-ckecvw8r.js → model-resolver-ckecvw8r.js} +2 -2
  127. package/dist/chunks/{generate-3zpz61n9.js → model-resolver-cm63mksd.js} +9 -9
  128. package/dist/chunks/{generate-k9v3gyrk.js → model-resolver-cp17smcp.js} +40 -40
  129. package/dist/chunks/{generate-3ymnsx2y.js → model-resolver-cp5p8nw7.js} +23 -23
  130. package/dist/chunks/{generate-6anwy9fs.js → model-resolver-cpy6gm2a.js} +5 -5
  131. package/dist/chunks/{generate-jbkn1qdd.js → model-resolver-cqy5fkq0.js} +33 -33
  132. package/dist/chunks/{generate-28586spg.js → model-resolver-ctwrx9qj.js} +14 -14
  133. package/dist/chunks/{generate-6hdxzw8t.js → model-resolver-d3qasn01.js} +6 -6
  134. package/dist/chunks/{generate-9vh74ph3.js → model-resolver-d4wmmjrt.js} +20 -20
  135. package/dist/chunks/{generate-azvwj0fe.js → model-resolver-dcgx96r3.js} +23 -23
  136. package/dist/chunks/{generate-k2px01h0.js → model-resolver-df54n7py.js} +12 -12
  137. package/dist/chunks/{generate-3j8sdtpz.js → model-resolver-dfe8djrf.js} +4 -4
  138. package/dist/chunks/{generate-yd3jw23x.js → model-resolver-dj1dwqym.js} +3 -3
  139. package/dist/chunks/{generate-xkntkrq7.js → model-resolver-dmqcgk4z.js} +5 -5
  140. package/dist/chunks/{generate-qqeeq2t9.js → model-resolver-drwq78ky.js} +7 -7
  141. package/dist/chunks/{generate-wzvwwwtc.js → model-resolver-dxmvrbpm.js} +29 -29
  142. package/dist/chunks/{generate-z5a9h27f.js → model-resolver-e08max4g.js} +3 -3
  143. package/dist/chunks/{generate-dpt32np6.js → model-resolver-e23sc63z.js} +4 -4
  144. package/dist/chunks/{generate-rhjbct0v.js → model-resolver-eaj1djv9.js} +8 -8
  145. package/dist/chunks/{generate-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
  146. package/dist/chunks/{generate-269d0mcm.js → model-resolver-ef43s285.js} +32 -32
  147. package/dist/chunks/{generate-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{generate-kmyx2sbj.js → model-resolver-ep6z9mt6.js} +11 -11
  149. package/dist/chunks/{generate-cfafq1xv.js → model-resolver-eq302p8g.js} +13 -13
  150. package/dist/chunks/{generate-rpfbxaa7.js → model-resolver-eqhdj52w.js} +22 -22
  151. package/dist/chunks/{generate-vkzgvsaw.js → model-resolver-et0bpsn8.js} +57 -57
  152. package/dist/chunks/{generate-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  153. package/dist/chunks/{generate-magsh8sv.js → model-resolver-f1vyadhg.js} +20 -20
  154. package/dist/chunks/{generate-yp2x3t23.js → model-resolver-f2n192rq.js} +4 -4
  155. package/dist/chunks/{generate-qkt0mxxe.js → model-resolver-f4bg3nw3.js} +84 -84
  156. package/dist/chunks/{generate-mvvgbvx5.js → model-resolver-f5snpwwp.js} +8 -8
  157. package/dist/chunks/{generate-bknrv093.js → model-resolver-fc1e038s.js} +13 -13
  158. package/dist/chunks/{generate-7dqw4kz8.js → model-resolver-fcrkznn8.js} +5 -5
  159. package/dist/chunks/{generate-xz17nvmj.js → model-resolver-fdvr1ndy.js} +11 -11
  160. package/dist/chunks/{generate-9rdrv7ss.js → model-resolver-fg989vxx.js} +13 -13
  161. package/dist/chunks/{generate-cjwramev.js → model-resolver-ftdzjz2b.js} +6 -6
  162. package/dist/chunks/{generate-t3w4twfb.js → model-resolver-fvhcjjbk.js} +9 -9
  163. package/dist/chunks/{generate-kkndcpqr.js → model-resolver-fwfvrmc2.js} +4 -4
  164. package/dist/chunks/{generate-8bsdq35e.js → model-resolver-g0s9wgrg.js} +20 -20
  165. package/dist/chunks/{generate-wnjg8cq9.js → model-resolver-g4x4az7d.js} +3 -3
  166. package/dist/chunks/{generate-xvp1j2dc.js → model-resolver-g5agzp2h.js} +5 -5
  167. package/dist/chunks/{generate-4xky6n3z.js → model-resolver-g87rxxst.js} +22 -22
  168. package/dist/chunks/{generate-emesakwd.js → model-resolver-g8stq3ct.js} +15 -15
  169. package/dist/chunks/{generate-cym1wyth.js → model-resolver-ga76bh3d.js} +67 -67
  170. package/dist/chunks/{generate-401kh7j2.js → model-resolver-gbs6jbhw.js} +6 -6
  171. package/dist/chunks/{generate-pgperwgr.js → model-resolver-gbzb20p6.js} +8 -8
  172. package/dist/chunks/{generate-mk5c8h6r.js → model-resolver-gd38j8rb.js} +172 -172
  173. package/dist/chunks/{generate-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  174. package/dist/chunks/{generate-wp1nbt91.js → model-resolver-gdj9fwxj.js} +19 -19
  175. package/dist/chunks/{generate-4yq8704b.js → model-resolver-ghdxkhwt.js} +30 -30
  176. package/dist/chunks/{generate-vy4zg7qh.js → model-resolver-gmjq4p6e.js} +5 -5
  177. package/dist/chunks/{generate-55ed9ppa.js → model-resolver-gnnmkja3.js} +30 -30
  178. package/dist/chunks/{generate-620zpmpb.js → model-resolver-gp4df2gz.js} +3 -3
  179. package/dist/chunks/{generate-mptgk8ew.js → model-resolver-gse0ck6f.js} +3 -3
  180. package/dist/chunks/{generate-t2az9yje.js → model-resolver-gst7axd9.js} +4 -4
  181. package/dist/chunks/{generate-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
  182. package/dist/chunks/{generate-7cwwemrn.js → model-resolver-gv9h81mr.js} +9 -9
  183. package/dist/chunks/{generate-xd93e145.js → model-resolver-h46w06ap.js} +6 -6
  184. package/dist/chunks/{generate-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  185. package/dist/chunks/{generate-0g0872c8.js → model-resolver-hkw89x8s.js} +3 -3
  186. package/dist/chunks/{generate-g8m0a0fc.js → model-resolver-hqmtd9gn.js} +13 -13
  187. package/dist/chunks/{generate-wtgt14fk.js → model-resolver-hy7m1jes.js} +14 -14
  188. package/dist/chunks/{generate-6seya0vx.js → model-resolver-j2g46p4m.js} +12 -12
  189. package/dist/chunks/{generate-qg0jgkcp.js → model-resolver-j3s2z371.js} +9 -9
  190. package/dist/chunks/{generate-2mgjv0a7.js → model-resolver-j47s30d1.js} +5 -5
  191. package/dist/chunks/{generate-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  192. package/dist/chunks/{generate-fpn16xgt.js → model-resolver-j5qm3aa4.js} +43 -43
  193. package/dist/chunks/{generate-a4e6jaw7.js → model-resolver-jtdedrsn.js} +14 -14
  194. package/dist/chunks/{generate-k3c624dm.js → model-resolver-k3c624dm.js} +3 -3
  195. package/dist/chunks/{generate-8rc9khtm.js → model-resolver-k7tpzzsk.js} +28 -28
  196. package/dist/chunks/{generate-9pvxkkw3.js → model-resolver-kan6af9e.js} +24 -24
  197. package/dist/chunks/{generate-1sq11vt2.js → model-resolver-kd9s81d6.js} +20 -20
  198. package/dist/chunks/{generate-g0htbh8p.js → model-resolver-kdhg8fn5.js} +10 -10
  199. package/dist/chunks/{generate-1q6agpkc.js → model-resolver-kf4rtjcm.js} +11 -11
  200. package/dist/chunks/{generate-p1gamy9h.js → model-resolver-kg0ttabr.js} +17 -17
  201. package/dist/chunks/{generate-3ad885dn.js → model-resolver-m101sbdj.js} +9 -9
  202. package/dist/chunks/{generate-nav4wwqp.js → model-resolver-m1t05dsh.js} +1 -1
  203. package/dist/chunks/{generate-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  204. package/dist/chunks/{generate-2q66m20k.js → model-resolver-m3ma28tp.js} +48 -48
  205. package/dist/chunks/{generate-1t36cnam.js → model-resolver-m5389yyj.js} +5 -5
  206. package/dist/chunks/{generate-bz31k0m7.js → model-resolver-m6cmkatr.js} +41 -41
  207. package/dist/chunks/{generate-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  208. package/dist/chunks/{generate-6sr3ve8g.js → model-resolver-magykp64.js} +21 -21
  209. package/dist/chunks/{generate-s4qvy6da.js → model-resolver-mrrz849e.js} +11 -11
  210. package/dist/chunks/{generate-h06zvkf4.js → model-resolver-my6ay15n.js} +13 -13
  211. package/dist/chunks/{generate-h316b9n0.js → model-resolver-n3vygs5b.js} +9 -9
  212. package/dist/chunks/{generate-bpa17nke.js → model-resolver-nz2kpe5e.js} +26 -26
  213. package/dist/chunks/{generate-yqwday8d.js → model-resolver-p0h2zwcj.js} +16 -16
  214. package/dist/chunks/{generate-sra9araw.js → model-resolver-p44d8wdy.js} +5 -5
  215. package/dist/chunks/{generate-jwz4x6p9.js → model-resolver-pgfqyy1c.js} +26 -26
  216. package/dist/chunks/{generate-phz3h32g.js → model-resolver-phz3h32g.js} +1 -1
  217. package/dist/chunks/{generate-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  218. package/dist/chunks/{generate-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  219. package/dist/chunks/{generate-cfba12s0.js → model-resolver-prn2zde5.js} +16 -16
  220. package/dist/chunks/{generate-6kgmmmcp.js → model-resolver-q0gq5wzg.js} +11 -11
  221. package/dist/chunks/{generate-nhshtkhx.js → model-resolver-qb6wrr0k.js} +37 -37
  222. package/dist/chunks/{generate-daepexh6.js → model-resolver-qe3aawgt.js} +3 -3
  223. package/dist/chunks/{generate-8csxj5r3.js → model-resolver-qfnwxhdd.js} +11 -11
  224. package/dist/chunks/{generate-5rx44j2k.js → model-resolver-qp883ga4.js} +42 -42
  225. package/dist/chunks/model-resolver-qpym6rz7.js +507 -0
  226. package/dist/chunks/{generate-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  227. package/dist/chunks/{generate-46sb35mq.js → model-resolver-qsf3p1yr.js} +10 -10
  228. package/dist/chunks/{generate-zr95g3fb.js → model-resolver-qskvc41q.js} +10 -10
  229. package/dist/chunks/{generate-5manytmk.js → model-resolver-qy439gdh.js} +24 -24
  230. package/dist/chunks/{generate-d7zsbx7j.js → model-resolver-r1tct7zd.js} +11 -11
  231. package/dist/chunks/{generate-c765mh8b.js → model-resolver-r2m716tb.js} +5 -5
  232. package/dist/chunks/{generate-2x1dfb4g.js → model-resolver-r475mjjc.js} +20 -20
  233. package/dist/chunks/{generate-8hy9en8e.js → model-resolver-r88fpew6.js} +9 -9
  234. package/dist/chunks/{generate-kmg0ctnh.js → model-resolver-r938b5ge.js} +29 -29
  235. package/dist/chunks/{generate-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  236. package/dist/chunks/{generate-8t60vhkw.js → model-resolver-rwectdn3.js} +13 -13
  237. package/dist/chunks/{generate-h9wp8z5w.js → model-resolver-s30fyz93.js} +4 -4
  238. package/dist/chunks/model-resolver-sfae06wy.js +26 -0
  239. package/dist/chunks/{generate-7dwngxrb.js → model-resolver-sg94zqbj.js} +24 -24
  240. package/dist/chunks/{generate-f4yc8xxh.js → model-resolver-sx2mqjyc.js} +33 -33
  241. package/dist/chunks/{generate-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{generate-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{generate-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  244. package/dist/chunks/{generate-288h1877.js → model-resolver-tm4vaxsf.js} +17 -17
  245. package/dist/chunks/{generate-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  246. package/dist/chunks/{generate-qwjmgwmn.js → model-resolver-tx9w5tca.js} +8 -8
  247. package/dist/chunks/{generate-4g39nh95.js → model-resolver-v5g0yskm.js} +2 -2
  248. package/dist/chunks/{generate-xky8qqen.js → model-resolver-v850jb5g.js} +11 -11
  249. package/dist/chunks/{generate-b6dxgyqp.js → model-resolver-v9k22ypw.js} +7 -7
  250. package/dist/chunks/{generate-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  251. package/dist/chunks/{generate-rav9e4bf.js → model-resolver-vkt5fbj2.js} +8 -8
  252. package/dist/chunks/{generate-sccx0yvr.js → model-resolver-vm8x5jsh.js} +26 -26
  253. package/dist/chunks/{generate-a3r4dcrj.js → model-resolver-vmgq4x8b.js} +2 -2
  254. package/dist/chunks/{generate-e8bnxdhk.js → model-resolver-vqyyvx1k.js} +10 -10
  255. package/dist/chunks/{generate-t6xfj4xa.js → model-resolver-vxv26dz1.js} +50 -50
  256. package/dist/chunks/{generate-9g5c7gye.js → model-resolver-vynr67b8.js} +17 -17
  257. package/dist/chunks/{generate-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{generate-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  259. package/dist/chunks/{generate-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{generate-zyy8xd5z.js → model-resolver-w8s93tvm.js} +15 -15
  261. package/dist/chunks/{generate-3gsbm4gg.js → model-resolver-wcjgahxv.js} +10 -10
  262. package/dist/chunks/{generate-wd3x2cqz.js → model-resolver-wd3x2cqz.js} +2 -2
  263. package/dist/chunks/{generate-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  264. package/dist/chunks/{generate-86k1dhwd.js → model-resolver-wdyvcfat.js} +25 -25
  265. package/dist/chunks/{generate-k0hzrm3v.js → model-resolver-wgvqggrf.js} +4 -4
  266. package/dist/chunks/{generate-mvksx64m.js → model-resolver-wq4mmp7m.js} +4 -4
  267. package/dist/chunks/{generate-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{generate-6hcagxvr.js → model-resolver-x2y5scjf.js} +12 -12
  269. package/dist/chunks/{generate-0wrn0h38.js → model-resolver-x7pmfb8f.js} +31 -31
  270. package/dist/chunks/{generate-9nantg5p.js → model-resolver-x9vnjyzm.js} +24 -24
  271. package/dist/chunks/{generate-7zbrh5tq.js → model-resolver-x9zyqvt6.js} +26 -26
  272. package/dist/chunks/{generate-6tnzqxfz.js → model-resolver-xt9rxswa.js} +4 -4
  273. package/dist/chunks/{generate-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{generate-hnb8nmvn.js → model-resolver-y5c83qxw.js} +5 -5
  275. package/dist/chunks/{generate-n79ymqnj.js → model-resolver-y64m485r.js} +8 -8
  276. package/dist/chunks/{generate-dnxkq42g.js → model-resolver-y6bex35g.js} +4 -4
  277. package/dist/chunks/{generate-y71avatq.js → model-resolver-y71avatq.js} +1 -1
  278. package/dist/chunks/{generate-wbkyxrgf.js → model-resolver-yjptyezs.js} +5 -5
  279. package/dist/chunks/{generate-s62cygkh.js → model-resolver-ynz18txh.js} +9 -9
  280. package/dist/chunks/{generate-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{generate-s4enseaf.js → model-resolver-yrznvahk.js} +2 -2
  282. package/dist/chunks/{generate-2e9mgspx.js → model-resolver-yv77sh0a.js} +5 -5
  283. package/dist/chunks/{generate-z07pqspn.js → model-resolver-z07pqspn.js} +3 -3
  284. package/dist/chunks/{generate-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{generate-ap3j0wzh.js → model-resolver-z4fx9cvt.js} +7 -7
  286. package/dist/chunks/{generate-29x78va6.js → model-resolver-z63w68vq.js} +6 -6
  287. package/dist/chunks/{generate-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{generate-r3cfpwkz.js → model-resolver-zfhy6jfb.js} +5 -5
  289. package/dist/chunks/{generate-sgzjm3r6.js → model-resolver-zmqb8676.js} +5 -5
  290. package/dist/chunks/{generate-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{generate-jb9mn43j.js → model-resolver-zw9m0b6f.js} +19 -19
  292. package/dist/chunks/{generate-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  293. package/dist/chunks/{generate-ztzjtmz1.js → model-resolver-zzd4ahet.js} +11 -11
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +11 -11
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +81 -81
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +213 -213
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +121 -121
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +142 -142
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +120 -120
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +85 -85
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +70 -70
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +4 -4
  427. package/dist/filesystem/location-watcher.js +222 -222
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +102 -102
  433. package/dist/form.js +84 -84
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +101 -101
  437. package/dist/git.js +6 -6
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +91 -91
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +5 -5
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +87 -87
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +107 -107
  478. package/dist/mcp/instructions.js +127 -127
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +96 -96
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +117 -117
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +98 -98
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +93 -93
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +74 -74
  545. package/dist/plugin/service.js +1 -1
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +354 -354
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +91 -91
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +2 -2
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +226 -226
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +80 -80
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +99 -99
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +95 -95
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +133 -133
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +222 -222
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +152 -152
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +88 -88
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +93 -93
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +118 -118
  598. package/dist/session/model-transport.js +7 -7
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +209 -209
  622. package/dist/session/system-prompt.js +5 -5
  623. package/dist/session/title.js +157 -157
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +215 -215
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +219 -219
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +128 -128
  641. package/dist/tool/plugin/edit.js +118 -118
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +216 -216
  651. package/dist/tool/plugin/skill.js +111 -111
  652. package/dist/tool/plugin/subagent.js +220 -220
  653. package/dist/tool/plugin/webfetch.js +110 -110
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +114 -114
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +16 -16
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +7 -7
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +3 -3
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +85 -85
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +78 -78
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +98 -98
  700. package/package.json +8 -8
  701. package/dist/chunks/generate-2xexx0cn.js +0 -507
  702. package/dist/chunks/generate-fnkhvjm5.js +0 -26
  703. package/dist/chunks/generate-gz4nb8qn.js +0 -252
  704. /package/dist/chunks/{generate-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{generate-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{generate-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{generate-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{generate-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{generate-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{generate-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{generate-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{generate-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{generate-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{generate-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{generate-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  716. /package/dist/chunks/{generate-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{generate-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{generate-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{generate-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{generate-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{generate-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{generate-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{generate-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  724. /package/dist/chunks/{generate-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{generate-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  726. /package/dist/chunks/{generate-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{generate-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{generate-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  729. /package/dist/chunks/{generate-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{generate-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{generate-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{generate-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  733. /package/dist/chunks/{generate-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{generate-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{generate-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{generate-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{generate-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{generate-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{generate-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{generate-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{generate-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{generate-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{generate-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{generate-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{generate-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{generate-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{generate-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{generate-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  749. /package/dist/chunks/{generate-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{generate-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{generate-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{generate-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{generate-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{generate-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{generate-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{generate-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{generate-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{generate-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{generate-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{generate-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{generate-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  762. /package/dist/chunks/{generate-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{generate-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  764. /package/dist/chunks/{generate-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{generate-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  766. /package/dist/chunks/{generate-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{generate-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{generate-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{generate-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{generate-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{generate-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{generate-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{generate-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{generate-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{generate-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{generate-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{generate-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{generate-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{generate-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{generate-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{generate-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{generate-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{generate-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{generate-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{generate-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{generate-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{generate-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{generate-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{generate-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{generate-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{generate-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{generate-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{generate-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  794. /package/dist/chunks/{generate-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{generate-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{generate-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{generate-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{generate-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{generate-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./generate-daepexh6.js";
4
+ } from "./model-resolver-qe3aawgt.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make20,
8
+ make21,
9
9
  combine2
10
- } from "./generate-rhjbct0v.js";
10
+ } from "./model-resolver-eaj1djv9.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./generate-z07pqspn.js";
13
+ } from "./model-resolver-z07pqspn.js";
14
14
  import {
15
15
  __export
16
- } from "./generate-9rqn6x4v.js";
16
+ } from "./model-resolver-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info4,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service21,
25
+ Service: () => Service26,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node25,
29
+ node: () => node29,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info4 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service21 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service26 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make20({
65
- key: Key3.make(`api/${entry.key}`),
64
+ var source = (entry) => make21({
65
+ key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,7 +75,7 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service21, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service21.of({ list, put, remove, load });
111
+ return Service26.of({ list, put, remove, load });
112
112
  }));
113
- var node25 = makeLocationNode({ service: Service21, layer, deps: [node88] });
113
+ var node29 = makeLocationNode({ service: Service26, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service21, node25, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node29, exports_instruction_entry };
@@ -1,9 +1,9 @@
1
1
  // src/filesystem/watcher-binding.ts
2
2
  import { createRequire } from "node:module";
3
- function load5() {
3
+ function load4() {
4
4
  const require2 = createRequire(import.meta.url);
5
5
  const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
6
6
  return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
7
7
  }
8
8
 
9
- export { load5 };
9
+ export { load4 };
@@ -2,27 +2,27 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./generate-922hggd3.js";
5
+ } from "./model-resolver-922hggd3.js";
6
6
  import {
7
7
  Service80,
8
8
  node84
9
- } from "./generate-zv45bf8x.js";
9
+ } from "./model-resolver-774mep86.js";
10
10
  import {
11
- Service40,
12
- node43
13
- } from "./generate-86k1dhwd.js";
11
+ Service43,
12
+ node45
13
+ } from "./model-resolver-wdyvcfat.js";
14
14
  import {
15
15
  __export
16
- } from "./generate-9rqn6x4v.js";
16
+ } from "./model-resolver-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content2,
21
+ Content: () => Content3,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  Entry: () => Entry2,
25
- Event: () => Event6,
25
+ Event: () => Event7,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
@@ -31,11 +31,11 @@ __export(exports_filesystem, {
31
31
  Match: () => Match2,
32
32
  NotFoundError: () => NotFoundError5,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service39,
34
+ Service: () => Service42,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node42
38
+ node: () => node44
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -55,7 +55,7 @@ class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
58
- var Content2 = Schema.Struct({
58
+ var Content3 = Schema.Struct({
59
59
  uri: Schema.String,
60
60
  name: Schema.String.pipe(Schema.optional),
61
61
  content: Schema.String,
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event6 = FileSystem.Event;
88
+ var Event7 = FileSystem.Event;
89
89
 
90
- class Service39 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service42 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
94
  const location = yield* Service80;
95
- const search = yield* Service40;
95
+ const search = yield* Service43;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,7 +103,7 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service39.of({
106
+ return Service42.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
109
  const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node42 = makeLocationNode({
144
- service: Service39,
143
+ var node44 = makeLocationNode({
144
+ service: Service42,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node84, node43]
146
+ deps: [FSUtil.node, node84, node45]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service39, node42, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service42, node44, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./generate-y8cydn3q.js";
3
+ } from "./model-resolver-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./generate-9pj3ea5v.js";
4
+ } from "./model-resolver-0703wr40.js";
5
5
  import {
6
6
  create3
7
- } from "./generate-rdw6cm16.js";
7
+ } from "./model-resolver-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./generate-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent3 = {};
14
- __export(exports_agent3, {
15
- Agent: () => exports_agent3,
13
+ var exports_agent4 = {};
14
+ __export(exports_agent4, {
15
+ Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event13,
18
- ID: () => ID9,
19
- Info: () => Info13,
17
+ Event: () => Event20,
18
+ ID: () => ID15,
19
+ Info: () => Info30,
20
20
  Name: () => Name3,
21
- Service: () => Service60,
21
+ Service: () => Service79,
22
22
  defaultID: () => defaultID2,
23
- node: () => node63
23
+ node: () => node83
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event13 } from "@opencode/schema/agent";
30
+ import { Event as Event20 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID9 = Agent.ID;
33
+ var ID15 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID9.make("build");
35
+ var defaultID2 = ID15.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info13 = Agent.Info;
37
+ var Info30 = Agent.Info;
38
38
 
39
- class Service60 extends Context.Service()("@opencode/Agent") {
39
+ class Service79 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service60, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
42
42
  const bus = yield* Service83;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info13.default(id);
60
+ const defaults = Info30.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID9.make("build")));
82
+ const build = selectable(data.agents.get(ID15.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service60.of({
91
+ return Service79.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID9.make(id));
99
+ return state.get().agents.get(ID15.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID9.make(id);
104
+ const selected = ID15.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node63 = makeLocationNode({ service: Service60, layer, deps: [node87, Global.node] });
119
+ var node83 = makeLocationNode({ service: Service79, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID9, Name3, defaultID2, Color2, Info13, Service60, node63, exports_agent3, Event13 };
121
+ export { ID15, Name3, defaultID2, Color2, Info30, Service79, node83, exports_agent4, Event20 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./generate-ym463w8f.js";
3
+ } from "./model-resolver-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./generate-jb9mn43j.js";
3
+ } from "./model-resolver-zw9m0b6f.js";
4
4
  import {
5
5
  lazy2
6
- } from "./generate-88xbtdfr.js";
6
+ } from "./model-resolver-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./generate-y1fvbwt7.js";
9
+ } from "./model-resolver-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./generate-9rqn6x4v.js";
12
+ } from "./model-resolver-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./generate-y71avatq.js";
3
+ } from "./model-resolver-y71avatq.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service6,
13
- node: () => node8
12
+ Service: () => Service4,
13
+ node: () => node5
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service6 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service4 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service6, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service4, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service6.of({
27
+ return Service4.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node8 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
52
+ var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
53
53
 
54
- export { Service6, node8, exports_update };
54
+ export { Service4, node5, exports_update };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./generate-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,9 +1,9 @@
1
1
  import {
2
- render2
3
- } from "./generate-qqeeq2t9.js";
2
+ render3
3
+ } from "./model-resolver-drwq78ky.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
424
424
  const system = event.system[0];
425
425
  if (!system)
426
426
  return;
427
- const rendered = render2(template, Object.keys(event.tools));
427
+ const rendered = render3(template, Object.keys(event.tools));
428
428
  const text = mode === "append" ? `${system.text}
429
429
 
430
430
  ${rendered}` : rendered;
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./generate-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
- Info10,
6
- ID6,
5
+ Info6,
6
+ ID4,
7
7
  Name2
8
- } from "./generate-9nantg5p.js";
8
+ } from "./model-resolver-x9vnjyzm.js";
9
9
  import {
10
- Service63
11
- } from "./generate-k9v3gyrk.js";
10
+ Service58
11
+ } from "./model-resolver-cp17smcp.js";
12
12
  import {
13
13
  __export
14
- } from "./generate-9rqn6x4v.js";
14
+ } from "./model-resolver-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill = {};
18
18
  __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin17,
21
+ Plugin: () => Plugin11,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill
24
24
  });
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin17 = define({
428
+ var Plugin11 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info10.make({
434
- id: ID6.make("opencode"),
433
+ editor.add(Info6.make({
434
+ id: ID4.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info10.make({
441
- id: ID6.make("report"),
440
+ editor.add(Info6.make({
441
+ id: ID4.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service63;
469
+ const config = yield* Service58;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin17, exports_skill };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin11, exports_skill };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./generate-3pncb000.js";
3
+ } from "./model-resolver-8k0g7am2.js";
4
4
  import {
5
5
  Service83
6
- } from "./generate-9pj3ea5v.js";
6
+ } from "./model-resolver-0703wr40.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./generate-4yq8704b.js";
9
+ Event17
10
+ } from "./model-resolver-ghdxkhwt.js";
11
11
  import {
12
- ID14,
12
+ ID10,
13
13
  MethodID2
14
- } from "./generate-4x9ewffz.js";
14
+ } from "./model-resolver-4ff0zxak.js";
15
15
  import {
16
- ID13
17
- } from "./generate-kmg0ctnh.js";
16
+ ID9
17
+ } from "./model-resolver-r938b5ge.js";
18
18
  import {
19
- ID12,
19
+ ID8,
20
20
  Family2
21
- } from "./generate-71cfveas.js";
21
+ } from "./model-resolver-c0xnxeca.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./generate-pjvnvgmy.js";
24
+ } from "./model-resolver-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
30
- var providerID = ID13.make("digitalocean");
31
- var integrationID = ID14.make("digitalocean");
30
+ var providerID = ID9.make("digitalocean");
31
+ var integrationID = ID10.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";
@@ -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(ID12.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID8.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(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
164
164
  })
165
165
  });