@opencode/core 0.0.0-dev-20122 → 0.0.0-dev-20124

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +3 -3
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{form-eaj1djv9.js → model-resolver-02nrjc1r.js} +4 -4
  8. package/dist/chunks/{form-aawwprjn.js → model-resolver-04hnx7m6.js} +15 -15
  9. package/dist/chunks/{form-qzbrf7bg.js → model-resolver-0gbss3fx.js} +25 -25
  10. package/dist/chunks/{form-v2pac2r5.js → model-resolver-0jfh7z55.js} +43 -43
  11. package/dist/chunks/{form-7kh9t2x9.js → model-resolver-0kg3x5km.js} +13 -13
  12. package/dist/chunks/model-resolver-0mesazry.js +4 -0
  13. package/dist/chunks/{form-d973bnhm.js → model-resolver-0mz149mz.js} +24 -24
  14. package/dist/chunks/{form-2nm7czc6.js → model-resolver-0ng4kf97.js} +32 -32
  15. package/dist/chunks/{form-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{form-t821byxs.js → model-resolver-0q26a2b3.js} +18 -18
  17. package/dist/chunks/{form-kbqjp078.js → model-resolver-0ryd0fps.js} +5 -5
  18. package/dist/chunks/{form-df9m9s24.js → model-resolver-0tdm3y21.js} +8 -8
  19. package/dist/chunks/{form-e1ge5bzw.js → model-resolver-0v374yjc.js} +5 -5
  20. package/dist/chunks/{form-athnqdtn.js → model-resolver-156whzkq.js} +2 -2
  21. package/dist/chunks/{form-y59c554b.js → model-resolver-173t7wcz.js} +8 -8
  22. package/dist/chunks/{form-jc019x40.js → model-resolver-19518qm9.js} +11 -11
  23. package/dist/chunks/{form-yp2x3t23.js → model-resolver-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{form-9nchh937.js → model-resolver-1d64zjtd.js} +5 -5
  25. package/dist/chunks/{form-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{form-yxy54gdd.js → model-resolver-1g3fhskv.js} +20 -20
  27. package/dist/chunks/{form-wgzgkxwc.js → model-resolver-1k3s6syq.js} +3 -3
  28. package/dist/chunks/{form-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  29. package/dist/chunks/{form-3tf6s7ys.js → model-resolver-26mdse20.js} +18 -18
  30. package/dist/chunks/{form-3sbxp6tx.js → model-resolver-27z1xvbk.js} +14 -14
  31. package/dist/chunks/{form-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{form-4x440zej.js → model-resolver-2dznbxmy.js} +12 -12
  33. package/dist/chunks/{form-q3t37ft6.js → model-resolver-2f04pwep.js} +2 -2
  34. package/dist/chunks/{form-4e3gxew0.js → model-resolver-2f9f9n6j.js} +30 -30
  35. package/dist/chunks/{form-xt8hymbd.js → model-resolver-2gmwjqmv.js} +19 -19
  36. package/dist/chunks/{form-1btp8ks2.js → model-resolver-2j85j1qq.js} +4 -4
  37. package/dist/chunks/{form-vktwk5kv.js → model-resolver-2kewd2va.js} +9 -9
  38. package/dist/chunks/{form-9dchs00j.js → model-resolver-2n8bv8kh.js} +3 -3
  39. package/dist/chunks/{form-w3p83eb3.js → model-resolver-33vhehfz.js} +6 -6
  40. package/dist/chunks/{form-ez2rjd67.js → model-resolver-36qt8gf5.js} +17 -17
  41. package/dist/chunks/{form-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{form-ms2t0q15.js → model-resolver-3fp3xcnb.js} +9 -9
  43. package/dist/chunks/{form-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{form-vvvad8t8.js → model-resolver-3pm9m3n0.js} +11 -11
  45. package/dist/chunks/{form-y9mp5nec.js → model-resolver-3rf7mzjq.js} +81 -81
  46. package/dist/chunks/{form-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{form-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{form-p6pqqm51.js → model-resolver-3vvy9r1q.js} +15 -15
  49. package/dist/chunks/{form-0m4fayrh.js → model-resolver-3y72t5s0.js} +22 -22
  50. package/dist/chunks/{form-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{form-pyzra7ce.js → model-resolver-40a4pq3k.js} +3 -3
  52. package/dist/chunks/{form-0h1pcqkr.js → model-resolver-49fmtcj3.js} +30 -30
  53. package/dist/chunks/{form-jewzahs7.js → model-resolver-4bm5ja14.js} +4 -4
  54. package/dist/chunks/{form-g6aremgq.js → model-resolver-4m9cw4aw.js} +7 -7
  55. package/dist/chunks/{form-r5vn3hc9.js → model-resolver-4p21y445.js} +11 -11
  56. package/dist/chunks/{form-fwk5mrsc.js → model-resolver-4qqzqwb9.js} +5 -5
  57. package/dist/chunks/{form-1a88t1cf.js → model-resolver-4rqrtqc5.js} +8 -8
  58. package/dist/chunks/{form-8g3862tg.js → model-resolver-4s2padma.js} +7 -7
  59. package/dist/chunks/{form-37s12vcn.js → model-resolver-4xbskmpe.js} +5 -5
  60. package/dist/chunks/{form-a1a50ys5.js → model-resolver-4xz89tjk.js} +5 -5
  61. package/dist/chunks/{form-ckecvw8r.js → model-resolver-54tcyq79.js} +2 -2
  62. package/dist/chunks/{form-76gtnb8q.js → model-resolver-569et0xs.js} +24 -24
  63. package/dist/chunks/{form-56gdpj1q.js → model-resolver-56gdpj1q.js} +2 -2
  64. package/dist/chunks/{form-whsef500.js → model-resolver-58c90p9y.js} +2 -2
  65. package/dist/chunks/{form-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  66. package/dist/chunks/{form-eq23s0y6.js → model-resolver-5e19p4dw.js} +5 -5
  67. package/dist/chunks/{form-pdrmbr6g.js → model-resolver-5jbstfnb.js} +24 -24
  68. package/dist/chunks/{form-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  69. package/dist/chunks/{form-a1f9yram.js → model-resolver-63ctpfk7.js} +23 -23
  70. package/dist/chunks/{form-669tq793.js → model-resolver-669tq793.js} +1 -1
  71. package/dist/chunks/{form-qx79v5w3.js → model-resolver-6dr7817k.js} +19 -19
  72. package/dist/chunks/{form-2402vzrj.js → model-resolver-6h73sxmp.js} +5 -5
  73. package/dist/chunks/{form-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{form-jws6fkes.js → model-resolver-6pc27hjz.js} +4 -4
  75. package/dist/chunks/{form-xgysng5w.js → model-resolver-6vra413r.js} +10 -10
  76. package/dist/chunks/{form-zgc6s8pn.js → model-resolver-6yqr96vd.js} +35 -35
  77. package/dist/chunks/{form-6m7d9qer.js → model-resolver-6zpb3hvq.js} +7 -7
  78. package/dist/chunks/{form-sj0vvp2d.js → model-resolver-7161yw90.js} +7 -7
  79. package/dist/chunks/{form-sj9mxrb8.js → model-resolver-72f6taeg.js} +26 -26
  80. package/dist/chunks/{form-zjm534cg.js → model-resolver-778t764x.js} +43 -43
  81. package/dist/chunks/{form-hzxtr8vy.js → model-resolver-79skyr14.js} +11 -11
  82. package/dist/chunks/{form-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{form-nkrban15.js → model-resolver-7bxnc6x6.js} +11 -11
  84. package/dist/chunks/{form-hax32ey3.js → model-resolver-7c5c7hvy.js} +13 -13
  85. package/dist/chunks/{form-t4eddnay.js → model-resolver-7d0nz2vs.js} +18 -18
  86. package/dist/chunks/{form-zk8c4w5t.js → model-resolver-7d2a7xbs.js} +5 -5
  87. package/dist/chunks/{form-xcg1dsv0.js → model-resolver-7efmbnhw.js} +7 -7
  88. package/dist/chunks/{form-5b9mpv4n.js → model-resolver-7kj39dgh.js} +8 -8
  89. package/dist/chunks/{form-3ktbe3hf.js → model-resolver-7p797550.js} +3 -3
  90. package/dist/chunks/{form-9s9y5h84.js → model-resolver-7x6bmn48.js} +23 -23
  91. package/dist/chunks/{form-q4wawhcq.js → model-resolver-7ygvs13g.js} +5 -5
  92. package/dist/chunks/{form-2wtv2rb3.js → model-resolver-80rghvf4.js} +26 -26
  93. package/dist/chunks/{form-bn0s77k4.js → model-resolver-87qhefk3.js} +15 -15
  94. package/dist/chunks/{form-89znhe33.js → model-resolver-89znhe33.js} +1 -1
  95. package/dist/chunks/{form-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{form-gyvmabzh.js → model-resolver-8h519gpd.js} +6 -6
  97. package/dist/chunks/{form-ywny6fh7.js → model-resolver-8kqr9rea.js} +4 -4
  98. package/dist/chunks/{form-aw3daxpn.js → model-resolver-8n3bkser.js} +16 -16
  99. package/dist/chunks/{form-kbsq9ezz.js → model-resolver-8p1ggxfh.js} +10 -10
  100. package/dist/chunks/{form-a672mv5g.js → model-resolver-8xxayhk6.js} +8 -8
  101. package/dist/chunks/{form-cpj0znwe.js → model-resolver-8z00fdkb.js} +4 -4
  102. package/dist/chunks/{form-rzh66cxz.js → model-resolver-9018cb23.js} +31 -31
  103. package/dist/chunks/{form-7bp3xrzr.js → model-resolver-93kvt1p5.js} +4 -4
  104. package/dist/chunks/{form-6fb0y946.js → model-resolver-9amkr7ky.js} +9 -9
  105. package/dist/chunks/{form-te626b0r.js → model-resolver-9egj2258.js} +6 -6
  106. package/dist/chunks/{form-30k0bhdj.js → model-resolver-9gdecscc.js} +7 -7
  107. package/dist/chunks/{form-4qnavm6k.js → model-resolver-9hk60pt8.js} +26 -26
  108. package/dist/chunks/{form-zwhv3kbh.js → model-resolver-9kbkhne8.js} +21 -21
  109. package/dist/chunks/{form-y4x532kp.js → model-resolver-9qkca2k4.js} +30 -30
  110. package/dist/chunks/{form-ksgwayv1.js → model-resolver-9ssqh1pf.js} +37 -37
  111. package/dist/chunks/{form-d1nhwr0v.js → model-resolver-a3ykbbws.js} +11 -11
  112. package/dist/chunks/{form-nfq98v04.js → model-resolver-a48a702n.js} +25 -25
  113. package/dist/chunks/{form-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  114. package/dist/chunks/{form-x828grpm.js → model-resolver-afcq0tqz.js} +28 -28
  115. package/dist/chunks/{form-azfvrb33.js → model-resolver-agd0d5z2.js} +29 -29
  116. package/dist/chunks/{form-b8r8eafh.js → model-resolver-ak724xxd.js} +30 -30
  117. package/dist/chunks/{form-th8982s6.js → model-resolver-ar21n6zh.js} +15 -15
  118. package/dist/chunks/{form-nww71kaf.js → model-resolver-b18rdbr5.js} +15 -15
  119. package/dist/chunks/{form-ryr25ayn.js → model-resolver-b27vhd2z.js} +4 -4
  120. package/dist/chunks/{form-sexe7gff.js → model-resolver-b3825faf.js} +17 -17
  121. package/dist/chunks/{form-j22znp5c.js → model-resolver-b62ps4b3.js} +8 -8
  122. package/dist/chunks/{form-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  123. package/dist/chunks/{form-qsxf26yz.js → model-resolver-bdqrk2vk.js} +6 -6
  124. package/dist/chunks/{form-a4gvvsd2.js → model-resolver-bfd0r08e.js} +12 -12
  125. package/dist/chunks/{form-n4cqhk9j.js → model-resolver-bfgskg5r.js} +21 -21
  126. package/dist/chunks/{form-z07pqspn.js → model-resolver-bjtzbw4r.js} +3 -3
  127. package/dist/chunks/{form-1nbgbc1n.js → model-resolver-bkfeammj.js} +25 -25
  128. package/dist/chunks/{form-pd955mpa.js → model-resolver-bsf62bbk.js} +11 -11
  129. package/dist/chunks/{form-4wjh6a8j.js → model-resolver-bt1446pf.js} +21 -21
  130. package/dist/chunks/{form-jxcp7hjz.js → model-resolver-bykc32a6.js} +5 -5
  131. package/dist/chunks/{form-2e9ax0t8.js → model-resolver-chh4w0bc.js} +10 -10
  132. package/dist/chunks/{form-br0tr5aq.js → model-resolver-cmwkp3r5.js} +8 -8
  133. package/dist/chunks/{form-kxpygcw9.js → model-resolver-cqg8v4c7.js} +6 -6
  134. package/dist/chunks/{form-9rv7m9ct.js → model-resolver-cqxgg118.js} +22 -22
  135. package/dist/chunks/{form-3kaacc1j.js → model-resolver-csnfj2b0.js} +28 -28
  136. package/dist/chunks/{form-dh8e7anf.js → model-resolver-cvnss5v6.js} +30 -30
  137. package/dist/chunks/{form-asn1qnte.js → model-resolver-d0k1g5nx.js} +6 -6
  138. package/dist/chunks/{form-cpny6163.js → model-resolver-d23g84s9.js} +17 -17
  139. package/dist/chunks/{form-kxdmnbtc.js → model-resolver-d6ggdbw1.js} +11 -11
  140. package/dist/chunks/{form-57ez7d0k.js → model-resolver-d9s573fh.js} +2 -2
  141. package/dist/chunks/{form-dpkg50ah.js → model-resolver-dpkg50ah.js} +1 -1
  142. package/dist/chunks/{form-qqeeq2t9.js → model-resolver-drwq78ky.js} +7 -7
  143. package/dist/chunks/{form-vtmhyb6r.js → model-resolver-dvt6vme3.js} +34 -34
  144. package/dist/chunks/{form-6grzz0f0.js → model-resolver-dyhdt8jb.js} +4 -4
  145. package/dist/chunks/{form-k2d86hj7.js → model-resolver-e8m9yhze.js} +18 -18
  146. package/dist/chunks/{form-2q8e2f41.js → model-resolver-e8r9fk8v.js} +5 -5
  147. package/dist/chunks/{form-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
  148. package/dist/chunks/{form-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  149. package/dist/chunks/{form-3eavv4sq.js → model-resolver-emgtyv65.js} +6 -6
  150. package/dist/chunks/{form-6j3ma1kd.js → model-resolver-emmx8e90.js} +25 -25
  151. package/dist/chunks/{form-z1thhf2m.js → model-resolver-es2axtbg.js} +3 -3
  152. package/dist/chunks/{form-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  153. package/dist/chunks/{form-np8fhtmp.js → model-resolver-f3r70g5j.js} +5 -5
  154. package/dist/chunks/{form-588424d7.js → model-resolver-fed82zpn.js} +29 -29
  155. package/dist/chunks/{form-4w5arkxr.js → model-resolver-fg4tf8ta.js} +8 -8
  156. package/dist/chunks/{form-56t2kez4.js → model-resolver-fh6ss5gb.js} +13 -13
  157. package/dist/chunks/{form-v657ew0y.js → model-resolver-fhhby8rf.js} +8 -8
  158. package/dist/chunks/{form-tx9w5tca.js → model-resolver-fqtvmpfq.js} +8 -8
  159. package/dist/chunks/{form-axp4ehpq.js → model-resolver-ft7xjps2.js} +8 -8
  160. package/dist/chunks/{form-sc9sthng.js → model-resolver-fxnvxn2a.js} +9 -9
  161. package/dist/chunks/{form-yrmcn5j6.js → model-resolver-fzft6rk9.js} +31 -31
  162. package/dist/chunks/{form-e37h8kwf.js → model-resolver-g17wn8cw.js} +12 -12
  163. package/dist/chunks/{form-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  164. package/dist/chunks/{form-94ek1h2f.js → model-resolver-gfvb90ym.js} +2 -2
  165. package/dist/chunks/{form-eeaf82dq.js → model-resolver-gn2hfjap.js} +8 -8
  166. package/dist/chunks/{form-735zz4k9.js → model-resolver-gw5a5t0z.js} +9 -9
  167. package/dist/chunks/{form-ra4n65wq.js → model-resolver-gzq5apsj.js} +4 -4
  168. package/dist/chunks/{form-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{form-tjh223rc.js → model-resolver-hdhk3cs9.js} +11 -11
  170. package/dist/chunks/{form-hm1j9vky.js → model-resolver-hep603q0.js} +9 -9
  171. package/dist/chunks/model-resolver-ht5y0zrb.js +18 -0
  172. package/dist/chunks/{form-4zxd817m.js → model-resolver-j1k7yznt.js} +44 -44
  173. package/dist/chunks/{form-xwra8hym.js → model-resolver-j4amppr9.js} +166 -166
  174. package/dist/chunks/{form-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  175. package/dist/chunks/{form-dbxp6268.js → model-resolver-j9fve04j.js} +7 -7
  176. package/dist/chunks/{form-xy96rd98.js → model-resolver-jb2d0ras.js} +26 -26
  177. package/dist/chunks/{form-7ekfrejk.js → model-resolver-jw8j7y7p.js} +3 -3
  178. package/dist/chunks/{form-q46vkzna.js → model-resolver-jygqzb3h.js} +8 -8
  179. package/dist/chunks/{form-4538h11c.js → model-resolver-jzn2qkj6.js} +7 -7
  180. package/dist/chunks/{form-nzks3jc8.js → model-resolver-k3c624dm.js} +3 -3
  181. package/dist/chunks/{form-nc773sft.js → model-resolver-k4nv4f3v.js} +1 -1
  182. package/dist/chunks/{form-k9d40v1y.js → model-resolver-k9d40v1y.js} +1 -1
  183. package/dist/chunks/{form-nwmpqe59.js → model-resolver-kbq1152n.js} +13 -13
  184. package/dist/chunks/{form-ep6z9mt6.js → model-resolver-kfvedqw3.js} +8 -8
  185. package/dist/chunks/{form-ac8vvvjp.js → model-resolver-kmaq4q5p.js} +28 -28
  186. package/dist/chunks/{form-hnr8f6ws.js → model-resolver-kmx0na6r.js} +4 -4
  187. package/dist/chunks/{form-wn8w70ps.js → model-resolver-kz7p30d5.js} +9 -9
  188. package/dist/chunks/{form-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{form-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{form-k86c2mv3.js → model-resolver-mdggx82f.js} +6 -6
  191. package/dist/chunks/{form-magykp64.js → model-resolver-mjymc32g.js} +4 -4
  192. package/dist/chunks/{form-psj6ade8.js → model-resolver-mv035zws.js} +18 -18
  193. package/dist/chunks/{form-r5x6zcsm.js → model-resolver-mvfsc1pv.js} +3 -3
  194. package/dist/chunks/{form-qg0jgkcp.js → model-resolver-mvn2r3z4.js} +9 -9
  195. package/dist/chunks/{form-f5gy8qwh.js → model-resolver-mxmchy46.js} +8 -8
  196. package/dist/chunks/{form-m77z4j91.js → model-resolver-myb1y6vq.js} +41 -41
  197. package/dist/chunks/{form-ppvdsf14.js → model-resolver-mztje66g.js} +28 -28
  198. package/dist/chunks/{form-4mymzvyc.js → model-resolver-n7a0dxy8.js} +4 -4
  199. package/dist/chunks/{form-607q5haz.js → model-resolver-n97pwnhd.js} +12 -12
  200. package/dist/chunks/{form-h2n552qs.js → model-resolver-nna5qp8a.js} +4 -4
  201. package/dist/chunks/{form-4yzhh2ma.js → model-resolver-nrpdyjdp.js} +25 -25
  202. package/dist/chunks/{form-9ve3q3sw.js → model-resolver-p49rk7zg.js} +6 -6
  203. package/dist/chunks/{form-y2nra5ch.js → model-resolver-p95nf0hr.js} +8 -8
  204. package/dist/chunks/{form-51h9320s.js → model-resolver-pb97dx7z.js} +11 -11
  205. package/dist/chunks/{form-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{form-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  207. package/dist/chunks/{form-5xa5ry74.js → model-resolver-pm44etjj.js} +31 -31
  208. package/dist/chunks/{form-ax5enk7z.js → model-resolver-pr8smg67.js} +18 -18
  209. package/dist/chunks/{form-wd3x2cqz.js → model-resolver-psazpmmj.js} +2 -2
  210. package/dist/chunks/{form-wn8n2sm9.js → model-resolver-ptfyc8rg.js} +82 -82
  211. package/dist/chunks/{form-vncycja5.js → model-resolver-q2b1ymqp.js} +4 -4
  212. package/dist/chunks/{form-0pk5wkp1.js → model-resolver-q5v28ps9.js} +20 -20
  213. package/dist/chunks/{form-3kbtp577.js → model-resolver-qcmdtp8c.js} +9 -9
  214. package/dist/chunks/{form-607tc6va.js → model-resolver-qgn6gcr1.js} +5 -5
  215. package/dist/chunks/{form-gjfj64nw.js → model-resolver-qh8wc3pe.js} +18 -18
  216. package/dist/chunks/{form-mn66ztkm.js → model-resolver-qkdvh7fa.js} +9 -9
  217. package/dist/chunks/{form-8se06a21.js → model-resolver-qmb29zc9.js} +24 -24
  218. package/dist/chunks/{form-qmqgtz8f.js → model-resolver-qmqgtz8f.js} +2 -2
  219. package/dist/chunks/{form-rz2133kf.js → model-resolver-qq6mbj5a.js} +43 -43
  220. package/dist/chunks/{form-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  221. package/dist/chunks/{form-6v4da530.js → model-resolver-qw3sg1b0.js} +3 -3
  222. package/dist/chunks/{form-p81kvp9s.js → model-resolver-qxjcrr5t.js} +5 -5
  223. package/dist/chunks/{form-kthhpwze.js → model-resolver-r0pftj6c.js} +23 -23
  224. package/dist/chunks/{form-221hq43v.js → model-resolver-r5b1nhw7.js} +22 -22
  225. package/dist/chunks/{form-5es5e7v6.js → model-resolver-r94xmz3e.js} +3 -3
  226. package/dist/chunks/{form-3ndj74bm.js → model-resolver-ra46vd3y.js} +15 -15
  227. package/dist/chunks/{form-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  228. package/dist/chunks/{form-5nr010d7.js → model-resolver-rgwzaj5r.js} +26 -26
  229. package/dist/chunks/{form-tz4n1mmd.js → model-resolver-rpg9c19m.js} +4 -4
  230. package/dist/chunks/{form-zeh9ct20.js → model-resolver-rq775frq.js} +2 -2
  231. package/dist/chunks/{form-hqp49fb7.js → model-resolver-s0ga44w9.js} +3 -3
  232. package/dist/chunks/{form-7yjz701f.js → model-resolver-s5vxn3hm.js} +13 -13
  233. package/dist/chunks/{form-1x3py7wd.js → model-resolver-s7d3q35h.js} +4 -4
  234. package/dist/chunks/{form-jca4demv.js → model-resolver-s8610hey.js} +2 -2
  235. package/dist/chunks/{form-8wd6m01p.js → model-resolver-sar4f7bt.js} +20 -20
  236. package/dist/chunks/{form-y56ehv6b.js → model-resolver-sk2hk6tq.js} +9 -9
  237. package/dist/chunks/model-resolver-sn674wr2.js +26 -0
  238. package/dist/chunks/{form-sqy4ahhk.js → model-resolver-sqy4ahhk.js} +1 -1
  239. package/dist/chunks/{form-mqkg4htg.js → model-resolver-ss6wnmcn.js} +14 -14
  240. package/dist/chunks/{form-s1veqp5v.js → model-resolver-swhhnpja.js} +5 -5
  241. package/dist/chunks/{form-kzrykkrg.js → model-resolver-sxvnd2nr.js} +32 -32
  242. package/dist/chunks/{form-xsxzmn3v.js → model-resolver-sy26cvr2.js} +8 -8
  243. package/dist/chunks/{form-qksar9gz.js → model-resolver-t8916jym.js} +33 -33
  244. package/dist/chunks/{form-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  245. package/dist/chunks/{form-h41e8hs0.js → model-resolver-tdghhcp4.js} +9 -9
  246. package/dist/chunks/{form-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  247. package/dist/chunks/{form-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  248. package/dist/chunks/{form-bdn25p9a.js → model-resolver-v4hswpd3.js} +71 -71
  249. package/dist/chunks/{form-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  250. package/dist/chunks/{form-pj65myvz.js → model-resolver-vfm0y0bg.js} +23 -23
  251. package/dist/chunks/{form-9xbr60h2.js → model-resolver-vg07qq75.js} +9 -9
  252. package/dist/chunks/{form-6ccf5npz.js → model-resolver-vr7k8aqm.js} +33 -33
  253. package/dist/chunks/{form-rnnf6gaf.js → model-resolver-vsfsehjp.js} +16 -16
  254. package/dist/chunks/{form-pgk9ksh3.js → model-resolver-vtjxg7xx.js} +22 -22
  255. package/dist/chunks/{form-z70jygrh.js → model-resolver-vvb15rdk.js} +11 -11
  256. package/dist/chunks/{form-m04dk8y5.js → model-resolver-vxhnyb9j.js} +48 -48
  257. package/dist/chunks/{form-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{form-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  259. package/dist/chunks/{form-ezy28dwm.js → model-resolver-w0mbtrs6.js} +5 -5
  260. package/dist/chunks/{form-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{form-g11s8h7b.js → model-resolver-w5efcytb.js} +13 -13
  262. package/dist/chunks/{form-md5m8r63.js → model-resolver-w8xrrrrv.js} +1 -1
  263. package/dist/chunks/{form-tq44v1fn.js → model-resolver-w9m2hjqa.js} +25 -25
  264. package/dist/chunks/{form-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  265. package/dist/chunks/{form-5cwanv0v.js → model-resolver-wfdevf9j.js} +9 -9
  266. package/dist/chunks/{form-1xjsffm6.js → model-resolver-x0jpbkmn.js} +19 -19
  267. package/dist/chunks/{form-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{form-ejzycjk2.js → model-resolver-x520n2qy.js} +43 -43
  269. package/dist/chunks/{form-z7ak3ykt.js → model-resolver-x8acjjg9.js} +28 -28
  270. package/dist/chunks/model-resolver-x8rsv9gq.js +252 -0
  271. package/dist/chunks/{form-nf4ctf0a.js → model-resolver-xhg1wmas.js} +34 -34
  272. package/dist/chunks/{form-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
  273. package/dist/chunks/{form-j3z4wjnn.js → model-resolver-xwnzkdf1.js} +17 -17
  274. package/dist/chunks/{form-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{form-ht5pt6gr.js → model-resolver-y2r7qy0e.js} +13 -13
  276. package/dist/chunks/{form-01t23f4b.js → model-resolver-y3f947ba.js} +53 -53
  277. package/dist/chunks/{form-ep289ss5.js → model-resolver-yb0aafdb.js} +43 -43
  278. package/dist/chunks/{form-gb91ftzw.js → model-resolver-yecfnvqz.js} +17 -17
  279. package/dist/chunks/{form-4648wvm6.js → model-resolver-yh08wsj3.js} +9 -9
  280. package/dist/chunks/{form-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{form-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
  282. package/dist/chunks/{form-gv6a8nnw.js → model-resolver-yyb7tjpc.js} +2 -2
  283. package/dist/chunks/{form-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{form-355m1cvc.js → model-resolver-z1dymymf.js} +17 -17
  285. package/dist/chunks/{form-g4qa31mr.js → model-resolver-z3mr859t.js} +5 -5
  286. package/dist/chunks/{form-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
  287. package/dist/chunks/{form-nv60c3se.js → model-resolver-zg1ez3dq.js} +302 -302
  288. package/dist/chunks/{form-azr7q1a0.js → model-resolver-zj1cah0a.js} +31 -31
  289. package/dist/chunks/{form-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{form-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{form-2czmnem8.js → model-resolver-zytbb0rs.js} +51 -51
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +83 -83
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +121 -121
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +142 -142
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +120 -120
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +124 -124
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +81 -81
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +93 -93
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +2 -2
  426. package/dist/filesystem/location-watcher.js +225 -225
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +11 -11
  431. package/dist/filesystem.js +100 -100
  432. package/dist/form.js +80 -80
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +84 -84
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  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 +108 -108
  478. package/dist/mcp/instructions.js +128 -128
  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 +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +97 -97
  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 +105 -105
  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 +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +100 -100
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +2 -2
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  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 +93 -93
  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 +77 -77
  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 +120 -120
  529. package/dist/plugin/provider/openai.js +92 -92
  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 +78 -78
  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 +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +137 -137
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +348 -348
  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/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +6 -6
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +227 -227
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +97 -97
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +98 -98
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +134 -134
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +151 -151
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +115 -115
  597. package/dist/session/model-transport.js +5 -5
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +1 -1
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +3 -3
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +5 -5
  622. package/dist/session/title.js +154 -154
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +219 -219
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +214 -214
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +101 -101
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +125 -125
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +101 -101
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +215 -215
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +74 -74
  690. package/dist/wellknown.js +77 -77
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +78 -78
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +98 -98
  699. package/package.json +8 -8
  700. package/dist/chunks/form-879vjq03.js +0 -252
  701. package/dist/chunks/form-dd1amwh8.js +0 -26
  702. package/dist/chunks/form-hxa7m5za.js +0 -4
  703. package/dist/chunks/form-pf31ssb9.js +0 -18
  704. /package/dist/chunks/{form-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{form-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{form-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{form-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{form-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{form-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{form-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{form-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{form-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{form-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{form-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{form-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  716. /package/dist/chunks/{form-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{form-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{form-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{form-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{form-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{form-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{form-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{form-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  724. /package/dist/chunks/{form-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{form-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{form-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  727. /package/dist/chunks/{form-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{form-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{form-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  730. /package/dist/chunks/{form-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{form-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{form-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{form-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  734. /package/dist/chunks/{form-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{form-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{form-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{form-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{form-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{form-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{form-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{form-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{form-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{form-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{form-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{form-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{form-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{form-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{form-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{form-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  750. /package/dist/chunks/{form-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{form-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{form-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{form-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{form-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{form-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{form-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{form-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{form-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{form-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{form-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{form-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{form-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  763. /package/dist/chunks/{form-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{form-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  765. /package/dist/chunks/{form-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{form-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  767. /package/dist/chunks/{form-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{form-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{form-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{form-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{form-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{form-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{form-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{form-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{form-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{form-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{form-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{form-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{form-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{form-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{form-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{form-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{form-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{form-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{form-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{form-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{form-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{form-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{form-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{form-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{form-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{form-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{form-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{form-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  795. /package/dist/chunks/{form-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{form-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{form-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{form-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{form-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{form-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./form-rnnf6gaf.js";
2
+ Service82,
3
+ node86
4
+ } from "./model-resolver-vsfsehjp.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./form-whsef500.js";
8
+ } from "./model-resolver-58c90p9y.js";
9
9
  import {
10
- ID16,
11
- Service79,
12
- node83
13
- } from "./form-d973bnhm.js";
10
+ ID15,
11
+ Service75,
12
+ node79
13
+ } from "./model-resolver-0mz149mz.js";
14
14
  import {
15
15
  NotFoundError10
16
- } from "./form-3ktbe3hf.js";
16
+ } from "./model-resolver-7p797550.js";
17
17
  import {
18
- Service76,
19
- node80
20
- } from "./form-cpny6163.js";
18
+ Service74,
19
+ node78
20
+ } from "./model-resolver-d23g84s9.js";
21
21
  import {
22
22
  match2
23
- } from "./form-y1fvbwt7.js";
23
+ } from "./model-resolver-y1fvbwt7.js";
24
24
  import {
25
- Service77,
26
- node81
27
- } from "./form-sexe7gff.js";
25
+ Service73,
26
+ node77
27
+ } from "./model-resolver-b3825faf.js";
28
28
  import {
29
- Service78,
30
- node82
31
- } from "./form-tx9w5tca.js";
29
+ Service76,
30
+ node80
31
+ } from "./model-resolver-fqtvmpfq.js";
32
32
  import {
33
33
  __export
34
- } from "./form-9rqn6x4v.js";
34
+ } from "./model-resolver-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,7 +42,7 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event19,
45
+ Event: () => Event18,
46
46
  ID: () => ID13,
47
47
  NotFoundError: () => NotFoundError9,
48
48
  Permission: () => exports_permission2,
@@ -51,17 +51,17 @@ __export(exports_permission2, {
51
51
  Request: () => Request3,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service75,
54
+ Service: () => Service72,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node79
58
+ node: () => node76
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event19 } from "@opencode/schema/permission";
64
+ import { Event as Event18 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
67
  var ID13 = Permission.ID;
@@ -79,7 +79,7 @@ var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
80
  id: ID13.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID16.pipe(Schema.optional)
82
+ agent: ID15.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
85
  requestID: ID13,
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service75 extends Context.Service()("@opencode/Permission") {
128
+ class Service72 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service75, Effect.gen(function* () {
131
- const bus = yield* Service83;
130
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
131
+ const bus = yield* Service82;
132
132
  const location = yield* Service80;
133
- const agents = yield* Service79;
134
- const sessions = yield* Service76;
135
- const saved = yield* Service77;
136
- const hooks = yield* Service78;
133
+ const agents = yield* Service75;
134
+ const sessions = yield* Service74;
135
+ const saved = yield* Service73;
136
+ const hooks = yield* Service76;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service75.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service72.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node79 = makeLocationNode({
303
- service: Service75,
302
+ var node76 = makeLocationNode({
303
+ service: Service72,
304
304
  layer,
305
- deps: [node87, node84, node83, node80, node81, node82]
305
+ deps: [node86, node84, node79, node78, node77, node80]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service75, node79, exports_permission2, Rule3, Ruleset2, Event19 };
308
+ export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service72, node76, exports_permission2, Rule3, Ruleset2, Event18 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Key4,
3
3
  removed2,
4
- make21,
4
+ make20,
5
5
  diffByKey2
6
- } from "./form-eaj1djv9.js";
6
+ } from "./model-resolver-02nrjc1r.js";
7
7
  import {
8
- ID4,
8
+ ID12,
9
9
  Name2,
10
10
  available2,
11
- Service49,
12
- node52
13
- } from "./form-ppvdsf14.js";
11
+ Service71,
12
+ node75
13
+ } from "./model-resolver-mztje66g.js";
14
14
  import {
15
15
  __export
16
- } from "./form-9rqn6x4v.js";
16
+ } from "./model-resolver-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
19
  var exports_instructions3 = {};
@@ -25,7 +25,7 @@ __export(exports_instructions3, {
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID4,
28
+ id: ID12,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -63,11 +63,11 @@ var update = (previous, current) => {
63
63
  class Service20 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
65
  var layer = Layer.effect(Service20, Effect.gen(function* () {
66
- const skills = yield* Service49;
66
+ const skills = yield* Service71;
67
67
  return Service20.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
69
  const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
- return make21({
70
+ return make20({
71
71
  key: Key4.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node24 = makeLocationNode({ service: Service20, layer, deps: [node52] });
83
+ var node24 = makeLocationNode({ service: Service20, layer, deps: [node75] });
84
84
 
85
85
  export { Service20, node24, exports_instructions3 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./form-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
5
  Service80,
6
6
  node84
7
- } from "./form-whsef500.js";
7
+ } from "./model-resolver-58c90p9y.js";
8
8
  import {
9
- Service65,
10
- node68
11
- } from "./form-ax5enk7z.js";
9
+ Service49,
10
+ node53
11
+ } from "./model-resolver-pr8smg67.js";
12
12
  import {
13
13
  isHome2,
14
14
  names4
15
- } from "./form-89znhe33.js";
15
+ } from "./model-resolver-89znhe33.js";
16
16
  import {
17
17
  __export
18
- } from "./form-9rqn6x4v.js";
18
+ } from "./model-resolver-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options9,
25
- Service: () => Service64,
26
- configured: () => configured9,
24
+ Options: () => Options10,
25
+ Service: () => Service48,
26
+ configured: () => configured10,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer23,
29
- node: () => node67,
28
+ layer: () => layer21,
29
+ node: () => node52,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options9 = Schema.Struct({
38
+ var Options10 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service64 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service48 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service64, Effect.gen(function* () {
61
+ var ripgrepLayer2 = Layer.effect(Service48, Effect.gen(function* () {
62
62
  const location = yield* Service80;
63
- const ripgrep = yield* Service65;
63
+ const ripgrep = yield* Service49;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service64, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service64.of({
108
+ return Service48.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service64, Effect.gen(function* () {
115
+ var fffLayer2 = Layer.effect(Service48, Effect.gen(function* () {
116
116
  const location = yield* Service80;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service64, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service64.of({
129
+ return Service48.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service64.of({
134
+ return Service48.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service64, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer23 = (options) => Layer.unwrap(Effect.gen(function* () {
177
+ var layer21 = (options) => Layer.unwrap(Effect.gen(function* () {
178
178
  const location = yield* Service80;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
@@ -182,9 +182,9 @@ var layer23 = (options) => Layer.unwrap(Effect.gen(function* () {
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured9(options) {
186
- return makeLocationNode({ service: Service64, layer: layer23(options), deps: [node84, node68] });
185
+ function configured10(options) {
186
+ return makeLocationNode({ service: Service48, layer: layer21(options), deps: [node84, node53] });
187
187
  }
188
- var node67 = configured9();
188
+ var node52 = configured10();
189
189
 
190
- export { Options9, Service64, ripgrepLayer2, fffLayer2, layer23, configured9, node67, exports_search };
190
+ export { Options10, Service48, ripgrepLayer2, fffLayer2, layer21, configured10, node52, exports_search };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./form-2a5m3afh.js";
5
+ } from "./model-resolver-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./form-9rqn6x4v.js";
8
+ } from "./model-resolver-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  key2
3
- } from "./form-cpj0znwe.js";
3
+ } from "./model-resolver-8z00fdkb.js";
4
4
  import {
5
- Service83
6
- } from "./form-rnnf6gaf.js";
5
+ Service82
6
+ } from "./model-resolver-vsfsehjp.js";
7
7
  import {
8
8
  OAuth3,
9
- Event14
10
- } from "./form-588424d7.js";
9
+ Event15
10
+ } from "./model-resolver-fed82zpn.js";
11
11
  import {
12
- ID8,
12
+ ID7,
13
13
  MethodID2
14
- } from "./form-2wtv2rb3.js";
14
+ } from "./model-resolver-80rghvf4.js";
15
15
  import {
16
- ID7,
16
+ ID6,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service58
20
- } from "./form-5nr010d7.js";
19
+ Service60
20
+ } from "./model-resolver-rgwzaj5r.js";
21
21
  import {
22
- ID6
23
- } from "./form-3kaacc1j.js";
22
+ ID5
23
+ } from "./model-resolver-csnfj2b0.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./form-r5vn3hc9.js";
27
+ } from "./model-resolver-4p21y445.js";
28
28
  import {
29
29
  useragent2
30
- } from "./form-ezy28dwm.js";
30
+ } from "./model-resolver-w0mbtrs6.js";
31
31
 
32
32
  // src/plugin/provider/github-copilot.ts
33
33
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
59
59
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
60
60
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
61
61
  var oauth = (app) => ({
62
- integrationID: ID8.make("github-copilot"),
62
+ integrationID: ID7.make("github-copilot"),
63
63
  method: {
64
64
  id: methodID,
65
65
  type: "oauth",
@@ -157,8 +157,8 @@ var oauth = (app) => ({
157
157
  var GithubCopilotPlugin2 = define({
158
158
  id: "opencode.provider.github.copilot",
159
159
  effect: Effect.fn(function* (ctx) {
160
- const providers = yield* Service58;
161
- const bus = yield* Service83;
160
+ const providers = yield* Service60;
161
+ const bus = yield* Service82;
162
162
  const loading = Semaphore.makeUnsafe(1);
163
163
  const loaded = {};
164
164
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
173
173
  return;
174
174
  }
175
175
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
176
- const provider = yield* providers.get(ID7.githubCopilot);
176
+ const provider = yield* providers.get(ID6.githubCopilot);
177
177
  const remote = yield* Effect.tryPromise({
178
178
  try: () => load2(url, {
179
179
  ...provider?.headers,
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
194
194
  editor.method.update(oauth(ctx.app));
195
195
  });
196
196
  yield* ctx.provider.transform((evt) => {
197
- const item = evt.get(ID7.githubCopilot);
197
+ const item = evt.get(ID6.githubCopilot);
198
198
  if (!item)
199
199
  return;
200
200
  if (loaded.models) {
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
214
214
  }
215
215
  });
216
216
  yield* ctx.model.transform((models) => {
217
- if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
218
- models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
217
+ if (models.get(ID6.githubCopilot, ID5.make("gpt-5-chat-latest"))) {
218
+ models.update(ID6.githubCopilot, ID5.make("gpt-5-chat-latest"), (model) => {
219
219
  model.enabled = false;
220
220
  });
221
221
  }
222
222
  });
223
223
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
224
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* refresh().pipe(Effect.forkScoped);
226
226
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
227
- if (evt.model.providerID !== ID7.githubCopilot)
227
+ if (evt.model.providerID !== ID6.githubCopilot)
228
228
  return;
229
229
  if (evt.package !== "@ai-sdk/github-copilot")
230
230
  return;
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
233
233
  evt.sdk = mod.createOpenaiCompatible(evt.options);
234
234
  }));
235
235
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
236
- if (evt.model.providerID !== ID7.githubCopilot)
236
+ if (evt.model.providerID !== ID6.githubCopilot)
237
237
  return;
238
238
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
239
239
  return;
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
243
243
  evt.headers["X-Interaction-Id"] = evt.sessionID;
244
244
  if (interaction !== "conversation-agent")
245
245
  evt.headers["x-initiator"] = "agent";
246
- }), { providerID: ID7.githubCopilot });
246
+ }), { providerID: ID6.githubCopilot });
247
247
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
248
- if (evt.model.providerID !== ID7.githubCopilot)
248
+ if (evt.model.providerID !== ID6.githubCopilot)
249
249
  return;
250
250
  const token = evt.request.headers.get("x-api-key");
251
251
  if (!token)
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
253
253
  const text = yield* Effect.promise(() => evt.request.clone().text());
254
254
  const body = Option.getOrUndefined(decodeBody(text));
255
255
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
256
- }), { providerID: ID7.githubCopilot });
256
+ }), { providerID: ID6.githubCopilot });
257
257
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
258
- if (evt.model.providerID !== ID7.githubCopilot)
258
+ if (evt.model.providerID !== ID6.githubCopilot)
259
259
  return;
260
260
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
261
261
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,58 +1,58 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./form-rnnf6gaf.js";
2
+ Service82,
3
+ node86
4
+ } from "./model-resolver-vsfsehjp.js";
5
5
  import {
6
- Service73,
7
- node77
8
- } from "./form-9s9y5h84.js";
6
+ Service62,
7
+ node65
8
+ } from "./model-resolver-7x6bmn48.js";
9
9
  import {
10
10
  Service81,
11
11
  node85
12
- } from "./form-3ndj74bm.js";
12
+ } from "./model-resolver-ra46vd3y.js";
13
13
  import {
14
14
  Ref4,
15
15
  Service80,
16
16
  node84
17
- } from "./form-whsef500.js";
17
+ } from "./model-resolver-58c90p9y.js";
18
18
  import {
19
19
  canonical3
20
- } from "./form-hm1j9vky.js";
20
+ } from "./model-resolver-hep603q0.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./form-ec1grn59.js";
24
- import {
25
- Service75,
26
- node79
27
- } from "./form-ksgwayv1.js";
23
+ } from "./model-resolver-ec1grn59.js";
28
24
  import {
29
25
  Service72,
30
26
  node76
31
- } from "./form-mqkg4htg.js";
27
+ } from "./model-resolver-9ssqh1pf.js";
28
+ import {
29
+ Service36,
30
+ node40
31
+ } from "./model-resolver-ss6wnmcn.js";
32
32
  import {
33
33
  __export
34
- } from "./form-9rqn6x4v.js";
34
+ } from "./model-resolver-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service71,
41
- node: () => node75
40
+ Service: () => Service35,
41
+ node: () => node39
42
42
  });
43
43
  import { Context, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service71 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service35 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service71, Effect.gen(function* () {
51
- const bus = yield* Service83;
50
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
51
+ const bus = yield* Service82;
52
52
  const location = yield* Service80;
53
- const permission = yield* Service75;
54
- const forms = yield* Service73;
55
- const rpc = yield* Service72;
53
+ const permission = yield* Service72;
54
+ const forms = yield* Service62;
55
+ const rpc = yield* Service36;
56
56
  const project = yield* Service81;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
75
75
  location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
76
76
  });
77
77
  }).pipe(Effect.uninterruptible));
78
- return Service71.of({
78
+ return Service35.of({
79
79
  isClosed: () => closed,
80
80
  shutdown
81
81
  });
82
82
  }));
83
- var node75 = makeLocationNode({
84
- service: Service71,
83
+ var node39 = makeLocationNode({
84
+ service: Service35,
85
85
  layer,
86
- deps: [node87, node84, node79, node85, node77, node76]
86
+ deps: [node86, node84, node76, node85, node65, node40]
87
87
  });
88
88
 
89
- export { Service71, node75, exports_location_lifecycle };
89
+ export { Service35, node39, exports_location_lifecycle };