@opencode/core 0.0.0-dev-19843 → 0.0.0-dev-19846

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{model-resolver-qye67he0.js → project-02n9c88k.js} +12 -12
  8. package/dist/chunks/{model-resolver-b9kdhzyq.js → project-0340qvks.js} +15 -15
  9. package/dist/chunks/{model-resolver-pfzrvarp.js → project-09739knt.js} +4 -4
  10. package/dist/chunks/{model-resolver-pecb0brz.js → project-0f9afca0.js} +5 -5
  11. package/dist/chunks/{model-resolver-1t9c4b87.js → project-0p5z90ds.js} +26 -26
  12. package/dist/chunks/{model-resolver-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{model-resolver-0q0f95c6.js → project-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{model-resolver-9ag5djza.js → project-0t0zwx0v.js} +5 -5
  15. package/dist/chunks/{model-resolver-6fmyjk66.js → project-0xqmy87r.js} +21 -21
  16. package/dist/chunks/{model-resolver-w48fcq56.js → project-0xvyxy1g.js} +15 -15
  17. package/dist/chunks/{model-resolver-yndsq8dt.js → project-1b59rhj7.js} +38 -38
  18. package/dist/chunks/{model-resolver-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{model-resolver-e1q5pbg3.js → project-1j0dje54.js} +39 -39
  20. package/dist/chunks/{model-resolver-dcqzdpn7.js → project-1j8agrvv.js} +11 -11
  21. package/dist/chunks/{model-resolver-2r8ft4tw.js → project-1jwtn2yg.js} +5 -5
  22. package/dist/chunks/{model-resolver-rk9t7fxt.js → project-1kq8tgzp.js} +8 -8
  23. package/dist/chunks/{model-resolver-qxfgkbem.js → project-1pd75zc4.js} +7 -7
  24. package/dist/chunks/{model-resolver-ss4xmamw.js → project-1znrxg4s.js} +12 -12
  25. package/dist/chunks/{model-resolver-21r38tys.js → project-21r38tys.js} +1 -1
  26. package/dist/chunks/{model-resolver-2402vzrj.js → project-2402vzrj.js} +1 -1
  27. package/dist/chunks/{model-resolver-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{model-resolver-qxpavsr8.js → project-2e1vq0y7.js} +65 -65
  29. package/dist/chunks/{model-resolver-8p8fqdjb.js → project-2h05jbbb.js} +6 -6
  30. package/dist/chunks/{model-resolver-115tzmsk.js → project-2hnm7rwd.js} +3 -3
  31. package/dist/chunks/{model-resolver-0x7w7yjj.js → project-2ht24x3n.js} +81 -81
  32. package/dist/chunks/{model-resolver-xkmv5agz.js → project-2jncbks8.js} +17 -17
  33. package/dist/chunks/{model-resolver-3syvqavp.js → project-2q8c0gm7.js} +9 -9
  34. package/dist/chunks/{model-resolver-13q063b0.js → project-2re9my94.js} +15 -15
  35. package/dist/chunks/{model-resolver-ssv7vh4d.js → project-31vws00a.js} +10 -10
  36. package/dist/chunks/{model-resolver-1ygqh575.js → project-33w4ejhs.js} +6 -6
  37. package/dist/chunks/{model-resolver-0m0tvs7x.js → project-3838ekre.js} +4 -4
  38. package/dist/chunks/{model-resolver-npba7pfw.js → project-3ax8ey8r.js} +20 -20
  39. package/dist/chunks/{model-resolver-btxmggav.js → project-3c3ytqpt.js} +45 -45
  40. package/dist/chunks/{model-resolver-1fgfndcs.js → project-3df1y0p8.js} +12 -12
  41. package/dist/chunks/{model-resolver-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{model-resolver-8gw7hntm.js → project-3fvk8wgj.js} +11 -11
  43. package/dist/chunks/{model-resolver-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{model-resolver-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{model-resolver-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{model-resolver-fnq9tzhn.js → project-428dsdgf.js} +24 -24
  47. package/dist/chunks/{model-resolver-r0tjgr50.js → project-45tdjxr7.js} +22 -22
  48. package/dist/chunks/{model-resolver-qdbakdjh.js → project-4a6jpjer.js} +5 -5
  49. package/dist/chunks/{model-resolver-v0y6s5p7.js → project-4cf1csag.js} +44 -44
  50. package/dist/chunks/{model-resolver-5h6w6v98.js → project-4kthemsz.js} +21 -21
  51. package/dist/chunks/{model-resolver-xgsfyewx.js → project-4mjrvyqz.js} +4 -4
  52. package/dist/chunks/{model-resolver-tmvpfzkm.js → project-4rttj77g.js} +3 -3
  53. package/dist/chunks/{model-resolver-3w4ewrwk.js → project-50w8bcqe.js} +9 -9
  54. package/dist/chunks/{model-resolver-yjptyezs.js → project-510m7gjw.js} +5 -5
  55. package/dist/chunks/{model-resolver-1qr453ff.js → project-52571pyr.js} +88 -88
  56. package/dist/chunks/{model-resolver-2fgn2we9.js → project-57ez7d0k.js} +9 -9
  57. package/dist/chunks/{model-resolver-06dxphr1.js → project-5c0f1prt.js} +4 -4
  58. package/dist/chunks/{model-resolver-5daktx2q.js → project-5daktx2q.js} +1 -1
  59. package/dist/chunks/{model-resolver-krawv8h4.js → project-5nbh07yk.js} +17 -17
  60. package/dist/chunks/{model-resolver-z4fy0qdv.js → project-5r3hq516.js} +17 -17
  61. package/dist/chunks/{model-resolver-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{model-resolver-yw50seq0.js → project-5v0tmc5d.js} +10 -10
  63. package/dist/chunks/{model-resolver-60as4dx3.js → project-5xnbcw5n.js} +17 -17
  64. package/dist/chunks/{model-resolver-3fxkvrnp.js → project-637svkes.js} +15 -15
  65. package/dist/chunks/{model-resolver-pga14111.js → project-65fmhb37.js} +8 -8
  66. package/dist/chunks/{model-resolver-669tq793.js → project-669tq793.js} +1 -1
  67. package/dist/chunks/{model-resolver-442kn1aa.js → project-684d09rt.js} +24 -24
  68. package/dist/chunks/project-68vj9s6j.js +252 -0
  69. package/dist/chunks/{model-resolver-nbxdrwjw.js → project-6bfnyyfc.js} +47 -47
  70. package/dist/chunks/{model-resolver-gg802qrt.js → project-6frkz0t9.js} +11 -11
  71. package/dist/chunks/{model-resolver-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{model-resolver-nbzsj80d.js → project-6n88yxkj.js} +8 -8
  73. package/dist/chunks/{model-resolver-x4zwv76m.js → project-6p35vfa4.js} +4 -4
  74. package/dist/chunks/{model-resolver-c4wqv7k3.js → project-6ps9zqp2.js} +31 -31
  75. package/dist/chunks/{model-resolver-wqedn24d.js → project-6qxcg912.js} +9 -9
  76. package/dist/chunks/{model-resolver-zccdra3h.js → project-6tw46rbw.js} +9 -9
  77. package/dist/chunks/{model-resolver-cf1x67r7.js → project-72nbf9pp.js} +3 -3
  78. package/dist/chunks/{model-resolver-scgm85f3.js → project-74rrnwt7.js} +12 -12
  79. package/dist/chunks/{model-resolver-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{model-resolver-qqrtcnkc.js → project-7bx1sm4z.js} +24 -24
  81. package/dist/chunks/{model-resolver-7j2qha59.js → project-7dbmnfn4.js} +8 -8
  82. package/dist/chunks/{model-resolver-0wqmnehs.js → project-7dr66c2p.js} +21 -21
  83. package/dist/chunks/{model-resolver-8e6v1gzw.js → project-7g46xrmt.js} +34 -34
  84. package/dist/chunks/{model-resolver-afjpdfdw.js → project-7nbswp8v.js} +9 -9
  85. package/dist/chunks/{model-resolver-vyqn3nqs.js → project-7w3s9kd0.js} +4 -4
  86. package/dist/chunks/{model-resolver-9rjxcf4s.js → project-7wq30qzy.js} +9 -9
  87. package/dist/chunks/{model-resolver-8tcwmm4z.js → project-81pha9jc.js} +12 -12
  88. package/dist/chunks/{model-resolver-3q1d0z61.js → project-81sjjchp.js} +6 -6
  89. package/dist/chunks/{model-resolver-w52zt19p.js → project-83adyyr5.js} +41 -41
  90. package/dist/chunks/{model-resolver-b7vycytf.js → project-87kbdynr.js} +16 -16
  91. package/dist/chunks/{model-resolver-6eqynsgf.js → project-89tr5x57.js} +30 -30
  92. package/dist/chunks/{model-resolver-gchrb8vs.js → project-8czk929k.js} +5 -5
  93. package/dist/chunks/{model-resolver-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{model-resolver-8gxqpgph.js → project-8gxqpgph.js} +1 -1
  95. package/dist/chunks/{model-resolver-cavhxt7x.js → project-8kw72tn7.js} +15 -15
  96. package/dist/chunks/{model-resolver-xs8wfhd6.js → project-8n7qzcm3.js} +12 -12
  97. package/dist/chunks/{model-resolver-dj2t23y0.js → project-8p4f9s12.js} +2 -2
  98. package/dist/chunks/{model-resolver-2h84f8r1.js → project-8qv6fygy.js} +1 -1
  99. package/dist/chunks/{model-resolver-9bzvwb7r.js → project-9jw9f6a3.js} +10 -10
  100. package/dist/chunks/{model-resolver-k7822xv0.js → project-9nf5h2pw.js} +16 -16
  101. package/dist/chunks/{model-resolver-atw7h3x9.js → project-9y6q7jxd.js} +10 -10
  102. package/dist/chunks/{model-resolver-bg3244xz.js → project-9zj7b8kh.js} +15 -15
  103. package/dist/chunks/{model-resolver-5c4hm403.js → project-a1bz86dw.js} +3 -3
  104. package/dist/chunks/{model-resolver-b09hzw3k.js → project-a3r4dcrj.js} +2 -2
  105. package/dist/chunks/{model-resolver-vjf65k2b.js → project-a9h8knd5.js} +11 -11
  106. package/dist/chunks/{model-resolver-aaet6srn.js → project-aaet6srn.js} +2 -2
  107. package/dist/chunks/{model-resolver-302aywek.js → project-ack5b9kg.js} +22 -22
  108. package/dist/chunks/{model-resolver-vxkc1n72.js → project-ag0gjjxr.js} +29 -29
  109. package/dist/chunks/{model-resolver-21mj3dgx.js → project-art4n687.js} +44 -44
  110. package/dist/chunks/{model-resolver-rztfdspk.js → project-as8mjwtf.js} +17 -17
  111. package/dist/chunks/{model-resolver-1g7epwpd.js → project-b27vhd2z.js} +5 -5
  112. package/dist/chunks/{model-resolver-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{model-resolver-5ge5ntkv.js → project-b836arpr.js} +2 -2
  114. package/dist/chunks/{model-resolver-qc51xf0a.js → project-b9stce80.js} +20 -20
  115. package/dist/chunks/{model-resolver-hz1mhzfh.js → project-bcbwapbv.js} +6 -6
  116. package/dist/chunks/{model-resolver-rejt6bp0.js → project-beva1xqy.js} +35 -35
  117. package/dist/chunks/{model-resolver-fgq6rdwq.js → project-bgpcryq4.js} +5 -5
  118. package/dist/chunks/{model-resolver-fjccm0sw.js → project-bm43pffw.js} +22 -22
  119. package/dist/chunks/{model-resolver-cgm9r2q3.js → project-bxxa70d5.js} +20 -20
  120. package/dist/chunks/{model-resolver-hw5aqd1g.js → project-bz2stzrr.js} +7 -7
  121. package/dist/chunks/{model-resolver-m0jqrx5p.js → project-cfpkc3c9.js} +2 -2
  122. package/dist/chunks/{model-resolver-sqnsaxnr.js → project-cmsgpt83.js} +23 -23
  123. package/dist/chunks/{model-resolver-47hapfj2.js → project-cscvjawy.js} +18 -18
  124. package/dist/chunks/{model-resolver-cwa6csj7.js → project-cwa6csj7.js} +2 -2
  125. package/dist/chunks/{model-resolver-av47bmrc.js → project-czx70qgk.js} +24 -24
  126. package/dist/chunks/{model-resolver-a0858690.js → project-d21ps0yb.js} +11 -11
  127. package/dist/chunks/{model-resolver-636gmhwa.js → project-d3r7jxc2.js} +39 -39
  128. package/dist/chunks/{model-resolver-dpkg50ah.js → project-dpkg50ah.js} +1 -1
  129. package/dist/chunks/{model-resolver-0xghfzx7.js → project-dqpc7aqh.js} +11 -11
  130. package/dist/chunks/{model-resolver-qqeeq2t9.js → project-drwq78ky.js} +7 -7
  131. package/dist/chunks/{model-resolver-e66w66e0.js → project-ds1tkbfk.js} +20 -20
  132. package/dist/chunks/{model-resolver-6m8f443c.js → project-dskjyb59.js} +7 -7
  133. package/dist/chunks/{model-resolver-9hn6k4tm.js → project-dv1qgsyq.js} +4 -4
  134. package/dist/chunks/{model-resolver-efgaas88.js → project-dvwx623d.js} +24 -24
  135. package/dist/chunks/{model-resolver-c48cwedc.js → project-eenk6a9p.js} +5 -5
  136. package/dist/chunks/{model-resolver-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{model-resolver-1g07qj94.js → project-entwmdpz.js} +35 -35
  138. package/dist/chunks/{model-resolver-eq1pz5kg.js → project-eq1pz5kg.js} +1 -1
  139. package/dist/chunks/{model-resolver-erw5rpbs.js → project-erw5rpbs.js} +2 -2
  140. package/dist/chunks/{model-resolver-n9w42s1q.js → project-etbwh060.js} +11 -11
  141. package/dist/chunks/{model-resolver-rq9sfwah.js → project-etj4zdky.js} +22 -22
  142. package/dist/chunks/{model-resolver-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{model-resolver-nf80skmj.js → project-f1vhv4y2.js} +16 -16
  144. package/dist/chunks/{model-resolver-330b90y3.js → project-f3jfe5hw.js} +25 -25
  145. package/dist/chunks/{model-resolver-x87aptrd.js → project-f80scn8v.js} +12 -12
  146. package/dist/chunks/{model-resolver-hdnk95c8.js → project-f828m53h.js} +2 -2
  147. package/dist/chunks/{model-resolver-r8v8adjt.js → project-f9qeaf72.js} +30 -30
  148. package/dist/chunks/{model-resolver-ye6dhg8n.js → project-fc5rx0ss.js} +28 -28
  149. package/dist/chunks/{model-resolver-7dqw4kz8.js → project-fcrkznn8.js} +5 -5
  150. package/dist/chunks/{model-resolver-49r2655e.js → project-ft5embp4.js} +10 -10
  151. package/dist/chunks/{model-resolver-11dqjexa.js → project-fwwk8vbp.js} +9 -9
  152. package/dist/chunks/{model-resolver-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{model-resolver-smp5hqs3.js → project-fxpfvwpz.js} +8 -8
  154. package/dist/chunks/{model-resolver-f3r6a36m.js → project-g1dt0wsk.js} +23 -23
  155. package/dist/chunks/project-gbadjzag.js +4 -0
  156. package/dist/chunks/{model-resolver-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{model-resolver-xcd0eash.js → project-gjmk74th.js} +5 -5
  158. package/dist/chunks/{model-resolver-3xxdkst7.js → project-gnxekzmr.js} +15 -15
  159. package/dist/chunks/{model-resolver-xe6cmgbq.js → project-gp173rva.js} +11 -11
  160. package/dist/chunks/{model-resolver-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{model-resolver-4dgbcxzg.js → project-h6r3nrb9.js} +4 -4
  162. package/dist/chunks/{model-resolver-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{model-resolver-k31ypr3h.js → project-he710hpz.js} +6 -6
  164. package/dist/chunks/{model-resolver-kwxm6asy.js → project-hf12faft.js} +4 -4
  165. package/dist/chunks/{model-resolver-fab8hzt3.js → project-hfdr1yjj.js} +4 -4
  166. package/dist/chunks/{model-resolver-pnnqzn53.js → project-ht97wvte.js} +8 -8
  167. package/dist/chunks/{model-resolver-enwhvmwb.js → project-hzps6v82.js} +7 -7
  168. package/dist/chunks/{model-resolver-z0f6wna2.js → project-hzwch198.js} +11 -11
  169. package/dist/chunks/{model-resolver-r33ff4dw.js → project-j15mfg1p.js} +4 -4
  170. package/dist/chunks/{model-resolver-j56e64zr.js → project-j56e64zr.js} +1 -1
  171. package/dist/chunks/{model-resolver-hz39a88h.js → project-j8q8jte2.js} +27 -27
  172. package/dist/chunks/{model-resolver-h5cj5dem.js → project-j9kntj8d.js} +25 -25
  173. package/dist/chunks/{model-resolver-0v8afgdk.js → project-jd632q10.js} +17 -17
  174. package/dist/chunks/{model-resolver-y6f0p4jw.js → project-jexxy024.js} +3 -3
  175. package/dist/chunks/{model-resolver-v27m40rm.js → project-jx33ms3p.js} +26 -26
  176. package/dist/chunks/{model-resolver-50mzsvk4.js → project-k2h4r4s0.js} +4 -4
  177. package/dist/chunks/{model-resolver-nzks3jc8.js → project-k3c624dm.js} +3 -3
  178. package/dist/chunks/{model-resolver-cyhsea0k.js → project-k5m0fz1p.js} +8 -8
  179. package/dist/chunks/{model-resolver-rayjs69j.js → project-kkj9rsjh.js} +22 -22
  180. package/dist/chunks/{model-resolver-zqx8wcya.js → project-knb7evpn.js} +4 -4
  181. package/dist/chunks/{model-resolver-0q9638wm.js → project-kt08d52r.js} +27 -27
  182. package/dist/chunks/{model-resolver-pz7a6r4w.js → project-kvs24rry.js} +5 -5
  183. package/dist/chunks/project-m01yfwga.js +26 -0
  184. package/dist/chunks/{model-resolver-5hxd3nfe.js → project-m3ap3m3h.js} +5 -5
  185. package/dist/chunks/{model-resolver-m3fdjcah.js → project-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{model-resolver-x9159bxd.js → project-m44bfvz1.js} +40 -40
  187. package/dist/chunks/{model-resolver-vw3e9fxe.js → project-m85m39ae.js} +8 -8
  188. package/dist/chunks/{model-resolver-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{model-resolver-70y17xeh.js → project-ma48de29.js} +5 -5
  190. package/dist/chunks/{model-resolver-phqer4q0.js → project-mk02b788.js} +37 -37
  191. package/dist/chunks/{model-resolver-1eqqj5b6.js → project-mpyeq7xq.js} +22 -22
  192. package/dist/chunks/{model-resolver-2evyaa68.js → project-mqy0jkn2.js} +4 -4
  193. package/dist/chunks/{model-resolver-5bdbc12f.js → project-mqzwkyay.js} +6 -6
  194. package/dist/chunks/{model-resolver-xvw3exqc.js → project-mvhgjtyh.js} +13 -13
  195. package/dist/chunks/{model-resolver-4rbr99e5.js → project-mwfvmtj3.js} +4 -4
  196. package/dist/chunks/{model-resolver-43ahs7k8.js → project-mwvxd4dr.js} +3 -3
  197. package/dist/chunks/{model-resolver-p7nftz6b.js → project-n7bbcbn9.js} +29 -29
  198. package/dist/chunks/{model-resolver-zejyxjry.js → project-n8rwxk9x.js} +29 -29
  199. package/dist/chunks/{model-resolver-n93j4s2c.js → project-nk9mvamb.js} +17 -17
  200. package/dist/chunks/{model-resolver-ppte1p09.js → project-ny0ejabc.js} +23 -23
  201. package/dist/chunks/{model-resolver-p28j5sbe.js → project-p28j5sbe.js} +2 -2
  202. package/dist/chunks/{model-resolver-n810d9f4.js → project-p487xezt.js} +11 -11
  203. package/dist/chunks/{model-resolver-r841few8.js → project-p89rncfr.js} +9 -9
  204. package/dist/chunks/project-pf31ssb9.js +18 -0
  205. package/dist/chunks/{model-resolver-4d6kgwwt.js → project-pfcen09k.js} +8 -8
  206. package/dist/chunks/{model-resolver-srv6jbph.js → project-pfkswgt7.js} +4 -4
  207. package/dist/chunks/{model-resolver-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{model-resolver-pknna89w.js → project-pknna89w.js} +1 -1
  209. package/dist/chunks/{model-resolver-qg0jgkcp.js → project-pnv527nz.js} +9 -9
  210. package/dist/chunks/{model-resolver-qn9jv2jm.js → project-pq12zp18.js} +32 -32
  211. package/dist/chunks/{model-resolver-133zv6hb.js → project-prnhk7xm.js} +1 -1
  212. package/dist/chunks/{model-resolver-t85xqwrf.js → project-pte49nrz.js} +11 -11
  213. package/dist/chunks/{model-resolver-d9bx1agn.js → project-ptzgakd6.js} +4 -4
  214. package/dist/chunks/{model-resolver-985n0a3v.js → project-py4hfr94.js} +8 -8
  215. package/dist/chunks/{model-resolver-xs1r8498.js → project-q5neczsw.js} +13 -13
  216. package/dist/chunks/{model-resolver-wk759sqm.js → project-q8dgzeae.js} +30 -30
  217. package/dist/chunks/{model-resolver-d4j0zdza.js → project-qbkfx3nh.js} +16 -16
  218. package/dist/chunks/{model-resolver-agym5kke.js → project-qnfry43t.js} +47 -47
  219. package/dist/chunks/{model-resolver-qsdy395h.js → project-qsdy395h.js} +1 -1
  220. package/dist/chunks/{model-resolver-30846h32.js → project-qwjmgwmn.js} +8 -8
  221. package/dist/chunks/{model-resolver-5qsdg0y7.js → project-r1t2j85f.js} +24 -24
  222. package/dist/chunks/{model-resolver-1acjjqhc.js → project-r8xr0va3.js} +4 -4
  223. package/dist/chunks/{model-resolver-k1c74kvt.js → project-rc52wyyz.js} +30 -30
  224. package/dist/chunks/{model-resolver-rdw6cm16.js → project-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{model-resolver-pqbcvpxd.js → project-re4grerh.js} +13 -13
  226. package/dist/chunks/{model-resolver-16xb7hp4.js → project-rk07zaj4.js} +26 -26
  227. package/dist/chunks/{model-resolver-1n6eeek5.js → project-rmf7mdc6.js} +16 -16
  228. package/dist/chunks/{model-resolver-vvjdmnc6.js → project-rpzhdcbd.js} +16 -16
  229. package/dist/chunks/{model-resolver-821by267.js → project-rrc51wka.js} +7 -7
  230. package/dist/chunks/{model-resolver-hyf7bjak.js → project-rre8h2tn.js} +24 -24
  231. package/dist/chunks/{model-resolver-1mqp8f91.js → project-s0zv74y6.js} +30 -30
  232. package/dist/chunks/{model-resolver-rhjbct0v.js → project-s8d7rejh.js} +4 -4
  233. package/dist/chunks/{model-resolver-nn97278r.js → project-scpykyjp.js} +15 -15
  234. package/dist/chunks/{model-resolver-e9197vrp.js → project-sgzwzkja.js} +36 -36
  235. package/dist/chunks/{model-resolver-5hssebmz.js → project-sq85k8fn.js} +11 -11
  236. package/dist/chunks/{model-resolver-dmsqs59m.js → project-szbzb6j5.js} +5 -5
  237. package/dist/chunks/{model-resolver-rjy92yfz.js → project-t6dxs0q6.js} +12 -12
  238. package/dist/chunks/{model-resolver-r04fb0ma.js → project-t6xa7fbd.js} +19 -19
  239. package/dist/chunks/{model-resolver-cah21tc8.js → project-t809k1vg.js} +10 -10
  240. package/dist/chunks/{model-resolver-b7rmz7dj.js → project-t96rnwez.js} +14 -14
  241. package/dist/chunks/{model-resolver-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{model-resolver-tcezcvh9.js → project-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{model-resolver-tdstcens.js → project-tdstcens.js} +1 -1
  244. package/dist/chunks/{model-resolver-fvh6y88j.js → project-tdtg4dez.js} +18 -18
  245. package/dist/chunks/{model-resolver-xpax8x5w.js → project-tvs0a824.js} +7 -7
  246. package/dist/chunks/{model-resolver-tvtrv512.js → project-tvtrv512.js} +1 -1
  247. package/dist/chunks/{model-resolver-ve4pfa0n.js → project-ve4pfa0n.js} +1 -1
  248. package/dist/chunks/{model-resolver-veqvce7d.js → project-veqvce7d.js} +1 -1
  249. package/dist/chunks/{model-resolver-vstc3933.js → project-vkd0h23s.js} +20 -20
  250. package/dist/chunks/{model-resolver-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{model-resolver-wkn3809p.js → project-w1095t62.js} +10 -10
  252. package/dist/chunks/{model-resolver-pyejz7ph.js → project-w2qjgwbm.js} +15 -15
  253. package/dist/chunks/{model-resolver-f0x0s4x5.js → project-w382z4ym.js} +3 -3
  254. package/dist/chunks/{model-resolver-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{model-resolver-wd87259q.js → project-wd87259q.js} +1 -1
  256. package/dist/chunks/project-wexrd5e5.js +492 -0
  257. package/dist/chunks/{model-resolver-nc9v3jx5.js → project-wf8n87rb.js} +176 -176
  258. package/dist/chunks/{model-resolver-7hjq573z.js → project-whd746f3.js} +15 -15
  259. package/dist/chunks/{model-resolver-05bpx1t2.js → project-wrn1hqgr.js} +23 -23
  260. package/dist/chunks/{model-resolver-z491n86c.js → project-wt7cwq24.js} +3 -3
  261. package/dist/chunks/{model-resolver-5bvvre9n.js → project-wxzxtg60.js} +4 -4
  262. package/dist/chunks/{model-resolver-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{model-resolver-cf2zwr71.js → project-x3pygry0.js} +22 -22
  264. package/dist/chunks/{model-resolver-c44r8hhs.js → project-x4srw6h4.js} +17 -17
  265. package/dist/chunks/{model-resolver-6frsr8qs.js → project-xevgfq4n.js} +15 -15
  266. package/dist/chunks/{model-resolver-rzd1prf9.js → project-xhrkwm7p.js} +27 -27
  267. package/dist/chunks/{model-resolver-q29b2gah.js → project-xjf4b6a1.js} +3 -3
  268. package/dist/chunks/{model-resolver-3gjeg5xr.js → project-xjnr36r5.js} +11 -11
  269. package/dist/chunks/{model-resolver-ef861y8h.js → project-xjy6841a.js} +19 -19
  270. package/dist/chunks/{model-resolver-mddgbemq.js → project-xnyswzzw.js} +23 -23
  271. package/dist/chunks/{model-resolver-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{model-resolver-s2ebsh4k.js → project-y31mwd8k.js} +18 -18
  273. package/dist/chunks/{model-resolver-x5860ntt.js → project-y7sgk7fq.js} +43 -43
  274. package/dist/chunks/{model-resolver-e5xpd6yj.js → project-ybhbtxjg.js} +6 -6
  275. package/dist/chunks/{model-resolver-2bkr1xer.js → project-yqn39ntr.js} +44 -44
  276. package/dist/chunks/{model-resolver-jw14ppbh.js → project-yr3xevt1.js} +18 -18
  277. package/dist/chunks/{model-resolver-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{model-resolver-yrznvahk.js → project-yrznvahk.js} +2 -2
  279. package/dist/chunks/{model-resolver-vbfgae2j.js → project-z0aj456m.js} +4 -4
  280. package/dist/chunks/{model-resolver-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{model-resolver-3w0fmcng.js → project-z3pw5915.js} +5 -5
  282. package/dist/chunks/{model-resolver-z63w68vq.js → project-z63w68vq.js} +2 -2
  283. package/dist/chunks/{model-resolver-ahhj99d2.js → project-z9cmzz47.js} +11 -11
  284. package/dist/chunks/{model-resolver-zeh9ct20.js → project-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{model-resolver-bz85s9hh.js → project-zhq6vg7a.js} +1 -1
  286. package/dist/chunks/{model-resolver-xnyqt6gv.js → project-zq0jz1g1.js} +9 -9
  287. package/dist/chunks/{model-resolver-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{model-resolver-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{model-resolver-y8r1zn9y.js → project-zz1fy56t.js} +6 -6
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +124 -124
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +141 -141
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +125 -125
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +82 -82
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +363 -363
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +2 -2
  423. package/dist/filesystem/location-watcher.js +226 -226
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +96 -96
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +101 -101
  429. package/dist/form.js +75 -75
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +100 -100
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +3 -3
  457. package/dist/instance.js +357 -357
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +128 -128
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +83 -83
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +86 -86
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +103 -103
  474. package/dist/mcp/instructions.js +123 -123
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +98 -98
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +99 -99
  481. package/dist/models-dev.js +98 -98
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +77 -77
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +104 -104
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +81 -81
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +101 -101
  492. package/dist/plugin/command.js +98 -98
  493. package/dist/plugin/compaction.js +130 -130
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +3 -3
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +91 -91
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +119 -119
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +73 -73
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +228 -228
  558. package/dist/project/schema.js +8 -8
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +87 -87
  561. package/dist/provider.js +98 -98
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +97 -97
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +88 -88
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +94 -94
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +133 -133
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +218 -218
  582. package/dist/session/execution.js +123 -123
  583. package/dist/session/generate.js +150 -150
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +87 -87
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +1 -1
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +113 -113
  606. package/dist/session/runner/step.js +125 -125
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +169 -169
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +72 -72
  614. package/dist/session/store.js +84 -84
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +5 -5
  618. package/dist/session/title.js +155 -155
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +216 -216
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +215 -215
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +15 -15
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +104 -104
  630. package/dist/skill.js +109 -109
  631. package/dist/snapshot.js +88 -88
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +122 -122
  636. package/dist/tool/plugin/edit.js +117 -117
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +123 -123
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +100 -100
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +104 -104
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +111 -111
  648. package/dist/tool/plugin/websearch.js +109 -109
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +12 -12
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +3 -3
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +3 -3
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +1 -1
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +92 -92
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +86 -86
  683. package/dist/websearch.js +79 -79
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +80 -80
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +77 -77
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +97 -97
  694. package/package.json +8 -8
  695. package/dist/chunks/model-resolver-0mesazry.js +0 -4
  696. package/dist/chunks/model-resolver-epegjq71.js +0 -252
  697. package/dist/chunks/model-resolver-ht5y0zrb.js +0 -18
  698. package/dist/chunks/model-resolver-tjen3va7.js +0 -492
  699. package/dist/chunks/model-resolver-yzmdswv1.js +0 -26
  700. /package/dist/chunks/{model-resolver-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{model-resolver-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{model-resolver-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{model-resolver-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{model-resolver-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{model-resolver-24dcb14g.js → project-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{model-resolver-2710q6r3.js → project-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{model-resolver-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{model-resolver-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{model-resolver-359p4xyc.js → project-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{model-resolver-3asan66x.js → project-3asan66x.js} +0 -0
  711. /package/dist/chunks/{model-resolver-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{model-resolver-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{model-resolver-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{model-resolver-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{model-resolver-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{model-resolver-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{model-resolver-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{model-resolver-53557ph1.js → project-53557ph1.js} +0 -0
  719. /package/dist/chunks/{model-resolver-550bvhaj.js → project-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{model-resolver-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{model-resolver-6prwharc.js → project-6prwharc.js} +0 -0
  722. /package/dist/chunks/{model-resolver-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{model-resolver-7m9af43g.js → project-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{model-resolver-822emrt2.js → project-822emrt2.js} +0 -0
  725. /package/dist/chunks/{model-resolver-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{model-resolver-8n3pysct.js → project-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{model-resolver-922hggd3.js → project-922hggd3.js} +0 -0
  728. /package/dist/chunks/{model-resolver-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{model-resolver-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{model-resolver-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{model-resolver-af5trqkr.js → project-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{model-resolver-afrmfg78.js → project-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{model-resolver-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{model-resolver-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{model-resolver-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{model-resolver-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{model-resolver-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{model-resolver-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{model-resolver-d9fn303g.js → project-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{model-resolver-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{model-resolver-dajrwvna.js → project-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{model-resolver-dap0rakb.js → project-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{model-resolver-df08tz66.js → project-df08tz66.js} +0 -0
  744. /package/dist/chunks/{model-resolver-dy18nga0.js → project-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{model-resolver-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{model-resolver-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{model-resolver-ec1grn59.js → project-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{model-resolver-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{model-resolver-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{model-resolver-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{model-resolver-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{model-resolver-faypxj3z.js → project-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{model-resolver-fd410y7t.js → project-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{model-resolver-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{model-resolver-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{model-resolver-g86h250q.js → project-g86h250q.js} +0 -0
  757. /package/dist/chunks/{model-resolver-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{model-resolver-gftt206x.js → project-gftt206x.js} +0 -0
  759. /package/dist/chunks/{model-resolver-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{model-resolver-hk9envan.js → project-hk9envan.js} +0 -0
  761. /package/dist/chunks/{model-resolver-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{model-resolver-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{model-resolver-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{model-resolver-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{model-resolver-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{model-resolver-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{model-resolver-mp448xyj.js → project-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{model-resolver-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{model-resolver-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{model-resolver-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{model-resolver-njntx4h6.js → project-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{model-resolver-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{model-resolver-q74kybfr.js → project-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{model-resolver-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{model-resolver-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{model-resolver-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{model-resolver-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{model-resolver-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{model-resolver-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{model-resolver-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{model-resolver-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{model-resolver-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{model-resolver-twg0f83k.js → project-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{model-resolver-w803qqfp.js → project-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{model-resolver-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{model-resolver-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{model-resolver-wtztk69x.js → project-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{model-resolver-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{model-resolver-x61499pn.js → project-x61499pn.js} +0 -0
  790. /package/dist/chunks/{model-resolver-y44na4kk.js → project-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{model-resolver-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{model-resolver-y8f7s663.js → project-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{model-resolver-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{model-resolver-ym463w8f.js → project-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{model-resolver-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-resolver-922hggd3.js";
4
+ } from "./project-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service79,
9
- node82
10
- } from "./model-resolver-scgm85f3.js";
8
+ Service81,
9
+ node85
10
+ } from "./project-74rrnwt7.js";
11
11
  import {
12
- Service77,
13
- node80
14
- } from "./model-resolver-d4j0zdza.js";
12
+ Service79,
13
+ node83
14
+ } from "./project-qbkfx3nh.js";
15
15
  import {
16
16
  create3
17
- } from "./model-resolver-rdw6cm16.js";
17
+ } from "./project-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./model-resolver-9rqn6x4v.js";
20
+ } from "./project-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error4,
26
- ID: () => ID4,
27
- Service: () => Service39,
26
+ ID: () => ID5,
27
+ Service: () => Service42,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node42,
29
+ node: () => node46,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,7 +34,7 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID4 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
39
  class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
@@ -43,13 +43,13 @@ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service39 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service42 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service39, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service79;
50
+ const git = yield* Service81;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service77;
52
+ const location = yield* Service79;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID4.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service39.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node42 = makeLocationNode({
144
- service: Service39,
143
+ var node46 = makeLocationNode({
144
+ service: Service42,
145
145
  layer,
146
- deps: [FSUtil.node, node82, Global.node, node80]
146
+ deps: [FSUtil.node, node85, Global.node, node83]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service39, Service39.of({
148
+ var noopLayer2 = Layer.succeed(Service42, Service42.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -163,4 +163,4 @@ function failure(operation, cause) {
163
163
  });
164
164
  }
165
165
 
166
- export { ID4, Error4, Service39, node42, noopLayer2, exports_snapshot2 };
166
+ export { ID5, Error4, Service42, node46, noopLayer2, exports_snapshot2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./model-resolver-6eqynsgf.js";
2
+ ID13
3
+ } from "./project-89tr5x57.js";
4
4
 
5
5
  // src/plugin/provider/google-vertex.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.provider.transform((evt) => {
26
26
  for (const item of evt.list()) {
27
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
27
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
28
28
  continue;
29
29
  const project = resolveProject(item.provider.settings ?? {});
30
30
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
42
42
  });
43
43
  yield* ctx.model.transform((models) => {
44
44
  for (const item of models.provider.list()) {
45
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
45
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
46
46
  continue;
47
47
  const project = resolveProject(item.provider.settings ?? {});
48
48
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
59
59
  }
60
60
  });
61
61
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
62
- if (evt.model.providerID !== ID12.googleVertex)
62
+ if (evt.model.providerID !== ID13.googleVertex)
63
63
  return;
64
64
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
65
65
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./model-resolver-qaymkmh1.js";
3
+ } from "./project-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./model-resolver-2a5m3afh.js";
3
+ } from "./project-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./model-resolver-922hggd3.js";
6
+ } from "./project-922hggd3.js";
7
7
  import {
8
- Service77
9
- } from "./model-resolver-d4j0zdza.js";
8
+ Service79
9
+ } from "./project-qbkfx3nh.js";
10
10
  import {
11
- Service61
12
- } from "./model-resolver-qqrtcnkc.js";
11
+ Service59
12
+ } from "./project-7bx1sm4z.js";
13
13
  import {
14
- Service20
15
- } from "./model-resolver-b7rmz7dj.js";
14
+ Service16
15
+ } from "./project-t96rnwez.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./model-resolver-16xb7hp4.js";
21
+ } from "./project-rk07zaj4.js";
22
22
  import {
23
- Service64
24
- } from "./model-resolver-x9159bxd.js";
23
+ Service67
24
+ } from "./project-m44bfvz1.js";
25
25
  import {
26
- Service17
27
- } from "./model-resolver-jw14ppbh.js";
26
+ Service66
27
+ } from "./project-yr3xevt1.js";
28
28
  import {
29
29
  __export
30
- } from "./model-resolver-9rqn6x4v.js";
30
+ } from "./project-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input7,
37
- Output: () => Output6,
38
- Plugin: () => Plugin25,
39
- name: () => name7,
40
- toModelContent: () => toModelContent5
36
+ Input: () => Input3,
37
+ Output: () => Output3,
38
+ Plugin: () => Plugin3,
39
+ name: () => name3,
40
+ toModelContent: () => toModelContent2
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name7 = "glob";
46
- var Input7 = Schema.Struct({
45
+ var name3 = "glob";
46
+ var Input3 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input7 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output6 = Schema.Array(Entry2);
59
- var toModelContent5 = (entries, truncated = false) => {
58
+ var Output3 = Schema.Array(Entry2);
59
+ var toModelContent2 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin25 = {
66
+ var Plugin3 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service61;
70
- const ripgrep = yield* Service20;
71
- const location = yield* Service77;
72
- const access = yield* Service17;
73
- const permission = yield* Service64;
69
+ const environment = yield* Service59;
70
+ const ripgrep = yield* Service16;
71
+ const location = yield* Service79;
72
+ const access = yield* Service66;
73
+ const permission = yield* Service67;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name7,
75
+ name: name3,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input7,
79
- output: Output6,
78
+ input: Input3,
79
+ output: Output3,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name7,
86
+ action: name3,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin25 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name7, Input7, Output6, toModelContent5, Plugin25, exports_glob };
128
+ export { name3, Input3, Output3, toModelContent2, Plugin3, exports_glob };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./model-resolver-qaymkmh1.js";
3
+ } from "./project-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./model-resolver-ec1grn59.js";
3
+ } from "./project-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./model-resolver-tdstcens.js";
6
+ } from "./project-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service55
4
- } from "./model-resolver-w52zt19p.js";
3
+ Service64
4
+ } from "./project-83adyyr5.js";
5
5
  import {
6
- Service39
7
- } from "./model-resolver-efgaas88.js";
6
+ Service42
7
+ } from "./project-dvwx623d.js";
8
8
  import {
9
9
  observe2
10
- } from "./model-resolver-qsdy395h.js";
10
+ } from "./project-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./project-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin35
19
+ Plugin: () => Plugin40
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin35 = define({
23
+ var Plugin40 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service55;
27
- const snapshot = yield* Service39;
26
+ const config = yield* Service64;
27
+ const snapshot = yield* Service42;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin35 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin35, exports_snapshot };
38
+ export { Plugin40, exports_snapshot };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./model-resolver-43ahs7k8.js";
4
+ } from "./project-mwvxd4dr.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./model-resolver-dpkg50ah.js";
7
+ } from "./project-dpkg50ah.js";
8
8
  import {
9
9
  Service82,
10
10
  node86
11
- } from "./model-resolver-xgsfyewx.js";
11
+ } from "./project-4mjrvyqz.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./model-resolver-ec1grn59.js";
14
+ } from "./project-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./model-resolver-gftt206x.js";
17
+ } from "./project-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./model-resolver-y6f0p4jw.js";
20
+ } from "./project-jexxy024.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./model-resolver-5c4hm403.js";
24
+ } from "./project-a1bz86dw.js";
25
25
  import {
26
26
  __export
27
- } from "./model-resolver-9rqn6x4v.js";
27
+ } from "./project-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,7 +32,7 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info8,
35
+ Info: () => Info10,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer18,
49
- list: () => list4,
50
- make: () => make16,
48
+ layer: () => layer20,
49
+ list: () => list3,
50
+ make: () => make17,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node52,
53
+ node: () => node53,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info8,
68
+ Info as Info10,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -153,7 +153,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
153
153
 
154
154
  class Service50 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make16 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make17 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service83;
158
158
  const db = database.db;
159
159
  const bus = yield* Service82;
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info8.make({
176
+ }).pipe(Effect.map((event) => Info10.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -193,7 +193,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list4(db, sessionID),
221
+ list: (sessionID) => list3(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer18 = Layer.effect(Service50, make16());
231
- var node52 = makeGlobalNode({ service: Service50, layer: layer18, deps: [node87, node86] });
230
+ var layer20 = Layer.effect(Service50, make17());
231
+ var node53 = makeGlobalNode({ service: Service50, layer: layer20, deps: [node87, node86] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service50, make16, layer18, node52, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info10, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service50, make17, layer20, node53, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82
3
- } from "./model-resolver-xgsfyewx.js";
3
+ } from "./project-4mjrvyqz.js";
4
4
  import {
5
5
  OAuth3,
6
- Event18
7
- } from "./model-resolver-ye6dhg8n.js";
6
+ Event20
7
+ } from "./project-fc5rx0ss.js";
8
8
  import {
9
- ID13,
9
+ ID14,
10
10
  MethodID2
11
- } from "./model-resolver-h5cj5dem.js";
11
+ } from "./project-j9kntj8d.js";
12
12
  import {
13
13
  key2
14
- } from "./model-resolver-4dgbcxzg.js";
14
+ } from "./project-h6r3nrb9.js";
15
15
  import {
16
- ID12,
16
+ ID13,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2
19
- } from "./model-resolver-6eqynsgf.js";
19
+ } from "./project-89tr5x57.js";
20
20
  import {
21
- ID6,
21
+ ID4,
22
22
  Input14,
23
23
  Response2
24
- } from "./model-resolver-5h6w6v98.js";
24
+ } from "./project-4kthemsz.js";
25
25
 
26
26
  // src/plugin/provider/opencode.ts
27
27
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -35,7 +35,7 @@ var methodID = MethodID2.make("device");
35
35
  var RemoteResponse = Schema.Struct({
36
36
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
37
37
  websearch: Schema.Struct({
38
- providerID: ID6
38
+ providerID: ID4
39
39
  }).pipe(Schema.optional)
40
40
  });
41
41
  var Device = Schema.Struct({
@@ -57,7 +57,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
57
57
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
58
58
  function oauth(http) {
59
59
  return {
60
- integrationID: ID13.make("opencode"),
60
+ integrationID: ID14.make("opencode"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -137,7 +137,7 @@ var OpencodePlugin2 = define({
137
137
  providers.update(providerID, (provider) => {
138
138
  if (source && source.provider !== provider)
139
139
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
140
- provider.integrationID = ID13.make("opencode");
140
+ provider.integrationID = ID14.make("opencode");
141
141
  if (item.canonical !== undefined)
142
142
  provider.canonical = item.canonical;
143
143
  if (item.name !== undefined)
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
207
207
  sourceConnection: snapshot.connection
208
208
  });
209
209
  }
210
- const item = providers.get(ID12.opencode);
210
+ const item = providers.get(ID13.opencode);
211
211
  if (!item)
212
212
  return;
213
213
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -219,7 +219,7 @@ var OpencodePlugin2 = define({
219
219
  });
220
220
  });
221
221
  yield* ctx.model.transform((models) => {
222
- const item = models.provider.get(ID12.opencode);
222
+ const item = models.provider.get(ID13.opencode);
223
223
  if (!item)
224
224
  return;
225
225
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -274,7 +274,7 @@ var OpencodePlugin2 = define({
274
274
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
275
275
  });
276
276
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
277
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
277
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
278
278
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
279
279
  })
280
280
  });