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

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 +5 -5
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{workspace-svpqbh55.js → model-resolver-05bpx1t2.js} +10 -10
  8. package/dist/chunks/{workspace-mfhfdr54.js → model-resolver-06dxphr1.js} +4 -4
  9. package/dist/chunks/{workspace-3838ekre.js → model-resolver-0m0tvs7x.js} +4 -4
  10. package/dist/chunks/model-resolver-0mesazry.js +4 -0
  11. package/dist/chunks/{workspace-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{workspace-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{workspace-twm8s0v6.js → model-resolver-0q9638wm.js} +16 -16
  14. package/dist/chunks/{workspace-857crm20.js → model-resolver-0v8afgdk.js} +20 -20
  15. package/dist/chunks/{workspace-e43vk65n.js → model-resolver-0wqmnehs.js} +21 -21
  16. package/dist/chunks/{workspace-7fpdhx8y.js → model-resolver-0x7w7yjj.js} +91 -91
  17. package/dist/chunks/{workspace-sqkfb9wh.js → model-resolver-0xghfzx7.js} +11 -11
  18. package/dist/chunks/{workspace-5ah12t62.js → model-resolver-115tzmsk.js} +3 -3
  19. package/dist/chunks/{workspace-fwwk8vbp.js → model-resolver-11dqjexa.js} +9 -9
  20. package/dist/chunks/{workspace-ce8etdrj.js → model-resolver-133zv6hb.js} +1 -1
  21. package/dist/chunks/{workspace-avc8n21j.js → model-resolver-13q063b0.js} +8 -8
  22. package/dist/chunks/{workspace-xhhx516y.js → model-resolver-16xb7hp4.js} +26 -26
  23. package/dist/chunks/{workspace-1acjjqhc.js → model-resolver-1acjjqhc.js} +1 -1
  24. package/dist/chunks/{workspace-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{workspace-epb4w8jv.js → model-resolver-1eqqj5b6.js} +24 -24
  26. package/dist/chunks/{workspace-ge7qjysf.js → model-resolver-1fgfndcs.js} +14 -14
  27. package/dist/chunks/{workspace-46kfxrdk.js → model-resolver-1g07qj94.js} +30 -30
  28. package/dist/chunks/{workspace-qa3qhgw8.js → model-resolver-1g7epwpd.js} +7 -7
  29. package/dist/chunks/{workspace-t04jp1as.js → model-resolver-1mqp8f91.js} +30 -30
  30. package/dist/chunks/{workspace-t45trqgm.js → model-resolver-1n6eeek5.js} +12 -12
  31. package/dist/chunks/{workspace-kwv0msad.js → model-resolver-1qr453ff.js} +85 -85
  32. package/dist/chunks/{workspace-wssc7tyq.js → model-resolver-1t9c4b87.js} +26 -26
  33. package/dist/chunks/{workspace-56gdpj1q.js → model-resolver-1ygqh575.js} +9 -9
  34. package/dist/chunks/{workspace-rag3edqr.js → model-resolver-21mj3dgx.js} +34 -34
  35. package/dist/chunks/{workspace-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  36. package/dist/chunks/{workspace-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
  37. package/dist/chunks/{workspace-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  38. package/dist/chunks/{workspace-1b4r2z2j.js → model-resolver-2bkr1xer.js} +53 -53
  39. package/dist/chunks/{workspace-d8nc1xcx.js → model-resolver-2evyaa68.js} +4 -4
  40. package/dist/chunks/{workspace-57ez7d0k.js → model-resolver-2fgn2we9.js} +9 -9
  41. package/dist/chunks/{workspace-n69p783e.js → model-resolver-2h84f8r1.js} +1 -1
  42. package/dist/chunks/{workspace-g8j4ctvn.js → model-resolver-2r8ft4tw.js} +2 -2
  43. package/dist/chunks/{workspace-ejgp49jg.js → model-resolver-302aywek.js} +22 -22
  44. package/dist/chunks/{workspace-pn3cc07s.js → model-resolver-30846h32.js} +8 -8
  45. package/dist/chunks/{workspace-8r0skts4.js → model-resolver-330b90y3.js} +28 -28
  46. package/dist/chunks/{workspace-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{workspace-357e4jec.js → model-resolver-3fxkvrnp.js} +11 -11
  48. package/dist/chunks/{workspace-a2m7fzmh.js → model-resolver-3gjeg5xr.js} +12 -12
  49. package/dist/chunks/{workspace-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{workspace-vbrdpthe.js → model-resolver-3q1d0z61.js} +6 -6
  51. package/dist/chunks/{workspace-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{workspace-r79m9za8.js → model-resolver-3syvqavp.js} +9 -9
  53. package/dist/chunks/{workspace-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  54. package/dist/chunks/{workspace-tz2bjj40.js → model-resolver-3w0fmcng.js} +5 -5
  55. package/dist/chunks/{workspace-0qn3s7y6.js → model-resolver-3w4ewrwk.js} +9 -9
  56. package/dist/chunks/{workspace-ejevs9sw.js → model-resolver-3xxdkst7.js} +15 -15
  57. package/dist/chunks/{workspace-pr971s7g.js → model-resolver-43ahs7k8.js} +3 -3
  58. package/dist/chunks/{workspace-hdm8jbsf.js → model-resolver-442kn1aa.js} +19 -19
  59. package/dist/chunks/{workspace-te18sgca.js → model-resolver-47hapfj2.js} +20 -20
  60. package/dist/chunks/{workspace-342mg198.js → model-resolver-49r2655e.js} +10 -10
  61. package/dist/chunks/{workspace-cg72rvag.js → model-resolver-4d6kgwwt.js} +8 -8
  62. package/dist/chunks/{workspace-4dgbcxzg.js → model-resolver-4dgbcxzg.js} +1 -1
  63. package/dist/chunks/{workspace-8z9aqbjr.js → model-resolver-4rbr99e5.js} +4 -4
  64. package/dist/chunks/{workspace-jw80jp6b.js → model-resolver-50mzsvk4.js} +4 -4
  65. package/dist/chunks/{workspace-rtv6ahp9.js → model-resolver-5bdbc12f.js} +6 -6
  66. package/dist/chunks/{workspace-rp7dq0jc.js → model-resolver-5bvvre9n.js} +6 -6
  67. package/dist/chunks/{workspace-5c4hm403.js → model-resolver-5c4hm403.js} +3 -3
  68. package/dist/chunks/{workspace-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  69. package/dist/chunks/{workspace-afps5b8n.js → model-resolver-5ge5ntkv.js} +2 -2
  70. package/dist/chunks/{workspace-7t824xx2.js → model-resolver-5h6w6v98.js} +23 -23
  71. package/dist/chunks/{workspace-04y2rkk2.js → model-resolver-5hssebmz.js} +6 -6
  72. package/dist/chunks/{workspace-w118tzke.js → model-resolver-5hxd3nfe.js} +3 -3
  73. package/dist/chunks/{workspace-sv23krr8.js → model-resolver-5qsdg0y7.js} +24 -24
  74. package/dist/chunks/{workspace-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  75. package/dist/chunks/{workspace-n5ff45t7.js → model-resolver-60as4dx3.js} +20 -20
  76. package/dist/chunks/{workspace-6pmq8b1f.js → model-resolver-636gmhwa.js} +43 -43
  77. package/dist/chunks/{workspace-669tq793.js → model-resolver-669tq793.js} +1 -1
  78. package/dist/chunks/{workspace-0gptwf17.js → model-resolver-6eqynsgf.js} +19 -19
  79. package/dist/chunks/{workspace-vmm0d4j2.js → model-resolver-6fmyjk66.js} +21 -21
  80. package/dist/chunks/{workspace-pm2w02ap.js → model-resolver-6frsr8qs.js} +17 -17
  81. package/dist/chunks/{workspace-1v57fm2m.js → model-resolver-6m8f443c.js} +7 -7
  82. package/dist/chunks/{workspace-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  83. package/dist/chunks/{workspace-vrpz8t5t.js → model-resolver-70y17xeh.js} +5 -5
  84. package/dist/chunks/{workspace-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{workspace-0jwsre1p.js → model-resolver-7dqw4kz8.js} +5 -5
  86. package/dist/chunks/{workspace-9n314x6j.js → model-resolver-7hjq573z.js} +15 -15
  87. package/dist/chunks/{workspace-qvb3nf84.js → model-resolver-7j2qha59.js} +8 -8
  88. package/dist/chunks/{workspace-berxm3qr.js → model-resolver-821by267.js} +7 -7
  89. package/dist/chunks/{workspace-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{workspace-xqq38mk8.js → model-resolver-8e6v1gzw.js} +34 -34
  91. package/dist/chunks/{workspace-byhenq9m.js → model-resolver-8gw7hntm.js} +13 -13
  92. package/dist/chunks/{workspace-q5asdkn4.js → model-resolver-8gxqpgph.js} +4 -4
  93. package/dist/chunks/{workspace-fszp41pp.js → model-resolver-8p8fqdjb.js} +6 -6
  94. package/dist/chunks/{workspace-ta339n92.js → model-resolver-8tcwmm4z.js} +12 -12
  95. package/dist/chunks/{workspace-8nhzdh16.js → model-resolver-985n0a3v.js} +8 -8
  96. package/dist/chunks/{workspace-a84sqmex.js → model-resolver-9ag5djza.js} +3 -3
  97. package/dist/chunks/{workspace-gwphwnjy.js → model-resolver-9bzvwb7r.js} +10 -10
  98. package/dist/chunks/{workspace-5xtgfte3.js → model-resolver-9hn6k4tm.js} +8 -8
  99. package/dist/chunks/{workspace-zq22gkb0.js → model-resolver-9rjxcf4s.js} +9 -9
  100. package/dist/chunks/{workspace-4ejejf2p.js → model-resolver-a0858690.js} +11 -11
  101. package/dist/chunks/{workspace-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  102. package/dist/chunks/{workspace-2sezm37j.js → model-resolver-afjpdfdw.js} +9 -9
  103. package/dist/chunks/{workspace-v3ryxckp.js → model-resolver-agym5kke.js} +46 -46
  104. package/dist/chunks/{workspace-adykyd42.js → model-resolver-ahhj99d2.js} +14 -14
  105. package/dist/chunks/{workspace-m0ned3ze.js → model-resolver-atw7h3x9.js} +10 -10
  106. package/dist/chunks/{workspace-ynpw39jf.js → model-resolver-av47bmrc.js} +14 -14
  107. package/dist/chunks/{workspace-j699j8bt.js → model-resolver-b09hzw3k.js} +2 -2
  108. package/dist/chunks/{workspace-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{workspace-crekkz1m.js → model-resolver-b7rmz7dj.js} +14 -14
  110. package/dist/chunks/{workspace-0me4z1n8.js → model-resolver-b7vycytf.js} +16 -16
  111. package/dist/chunks/{workspace-31gccvh4.js → model-resolver-b9kdhzyq.js} +15 -15
  112. package/dist/chunks/{workspace-bpy2r9c4.js → model-resolver-bg3244xz.js} +15 -15
  113. package/dist/chunks/{workspace-4m58q416.js → model-resolver-btxmggav.js} +47 -47
  114. package/dist/chunks/{workspace-fch79rh9.js → model-resolver-bz85s9hh.js} +1 -1
  115. package/dist/chunks/{workspace-6as31qen.js → model-resolver-c44r8hhs.js} +10 -10
  116. package/dist/chunks/{workspace-h72e87dw.js → model-resolver-c48cwedc.js} +1 -1
  117. package/dist/chunks/{workspace-waexrdgv.js → model-resolver-c4wqv7k3.js} +33 -33
  118. package/dist/chunks/{workspace-vcryphxd.js → model-resolver-cah21tc8.js} +8 -8
  119. package/dist/chunks/{workspace-2mkhnbvz.js → model-resolver-cavhxt7x.js} +28 -28
  120. package/dist/chunks/{workspace-dhtzjjzz.js → model-resolver-cf1x67r7.js} +1 -1
  121. package/dist/chunks/{workspace-11kb2ryy.js → model-resolver-cf2zwr71.js} +20 -20
  122. package/dist/chunks/{workspace-7wh8xm2m.js → model-resolver-cgm9r2q3.js} +15 -15
  123. package/dist/chunks/{workspace-cwa6csj7.js → model-resolver-cwa6csj7.js} +2 -2
  124. package/dist/chunks/{workspace-gv66gg0x.js → model-resolver-cyhsea0k.js} +5 -5
  125. package/dist/chunks/{workspace-cka6kvq6.js → model-resolver-d4j0zdza.js} +16 -16
  126. package/dist/chunks/{workspace-w8vega6y.js → model-resolver-d9bx1agn.js} +4 -4
  127. package/dist/chunks/{workspace-hcxmrj2a.js → model-resolver-dcqzdpn7.js} +11 -11
  128. package/dist/chunks/{workspace-dj2t23y0.js → model-resolver-dj2t23y0.js} +2 -2
  129. package/dist/chunks/{workspace-z1va2kz6.js → model-resolver-dmsqs59m.js} +3 -3
  130. package/dist/chunks/{workspace-dpkg50ah.js → model-resolver-dpkg50ah.js} +1 -1
  131. package/dist/chunks/{workspace-90bky85a.js → model-resolver-e1q5pbg3.js} +40 -40
  132. package/dist/chunks/{workspace-je7c2t6y.js → model-resolver-e5xpd6yj.js} +6 -6
  133. package/dist/chunks/{workspace-p00q0h88.js → model-resolver-e66w66e0.js} +20 -20
  134. package/dist/chunks/{workspace-7fzvq14v.js → model-resolver-e9197vrp.js} +34 -34
  135. package/dist/chunks/{workspace-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{workspace-0t9d6x9s.js → model-resolver-ef861y8h.js} +22 -22
  137. package/dist/chunks/{workspace-rk7bc7ed.js → model-resolver-efgaas88.js} +32 -32
  138. package/dist/chunks/{workspace-c7yg1ngd.js → model-resolver-enwhvmwb.js} +10 -10
  139. package/dist/chunks/model-resolver-epegjq71.js +252 -0
  140. package/dist/chunks/{workspace-r5x6zcsm.js → model-resolver-eq1pz5kg.js} +3 -3
  141. package/dist/chunks/{workspace-erw5rpbs.js → model-resolver-erw5rpbs.js} +2 -2
  142. package/dist/chunks/{workspace-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{workspace-qvxdy1p7.js → model-resolver-f0x0s4x5.js} +1 -1
  144. package/dist/chunks/{workspace-c3nqgy48.js → model-resolver-f3r6a36m.js} +23 -23
  145. package/dist/chunks/{workspace-jmphe03k.js → model-resolver-fab8hzt3.js} +4 -4
  146. package/dist/chunks/{workspace-0kkgx1hv.js → model-resolver-fgq6rdwq.js} +5 -5
  147. package/dist/chunks/{workspace-fdc34wrr.js → model-resolver-fjccm0sw.js} +24 -24
  148. package/dist/chunks/{workspace-8ycrq1wj.js → model-resolver-fnq9tzhn.js} +30 -30
  149. package/dist/chunks/{workspace-79psx6ha.js → model-resolver-fvh6y88j.js} +18 -18
  150. package/dist/chunks/{workspace-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{workspace-8kae62x2.js → model-resolver-gchrb8vs.js} +5 -5
  152. package/dist/chunks/{workspace-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{workspace-xbpzf4zn.js → model-resolver-gg802qrt.js} +11 -11
  154. package/dist/chunks/{workspace-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{workspace-rfe2qg2a.js → model-resolver-h5cj5dem.js} +17 -17
  156. package/dist/chunks/{workspace-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{workspace-hdnk95c8.js → model-resolver-hdnk95c8.js} +2 -2
  158. package/dist/chunks/model-resolver-ht5y0zrb.js +18 -0
  159. package/dist/chunks/{workspace-9hckxq4k.js → model-resolver-hw5aqd1g.js} +8 -8
  160. package/dist/chunks/{workspace-4n7sevkh.js → model-resolver-hyf7bjak.js} +24 -24
  161. package/dist/chunks/{workspace-4n9bywtw.js → model-resolver-hz1mhzfh.js} +6 -6
  162. package/dist/chunks/{workspace-m6v93gq1.js → model-resolver-hz39a88h.js} +27 -27
  163. package/dist/chunks/{workspace-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  164. package/dist/chunks/{workspace-wdh627yk.js → model-resolver-jw14ppbh.js} +12 -12
  165. package/dist/chunks/{workspace-fffkv7qf.js → model-resolver-k1c74kvt.js} +15 -15
  166. package/dist/chunks/{workspace-ra0m4r42.js → model-resolver-k31ypr3h.js} +6 -6
  167. package/dist/chunks/{workspace-5jv9rtqx.js → model-resolver-k7822xv0.js} +27 -27
  168. package/dist/chunks/{workspace-rackk5d8.js → model-resolver-krawv8h4.js} +17 -17
  169. package/dist/chunks/{workspace-b8qvbf28.js → model-resolver-kwxm6asy.js} +4 -4
  170. package/dist/chunks/{workspace-m0jqrx5p.js → model-resolver-m0jqrx5p.js} +2 -2
  171. package/dist/chunks/{workspace-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  172. package/dist/chunks/{workspace-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{workspace-xam54x1y.js → model-resolver-mddgbemq.js} +18 -18
  174. package/dist/chunks/{workspace-gn97k1b0.js → model-resolver-n810d9f4.js} +6 -6
  175. package/dist/chunks/{workspace-ek42fa6x.js → model-resolver-n93j4s2c.js} +25 -25
  176. package/dist/chunks/{workspace-h7krgpah.js → model-resolver-n9w42s1q.js} +11 -11
  177. package/dist/chunks/{workspace-1xam1b6j.js → model-resolver-nbxdrwjw.js} +47 -47
  178. package/dist/chunks/{workspace-h2r7bbkd.js → model-resolver-nbzsj80d.js} +8 -8
  179. package/dist/chunks/{workspace-asfqdkpb.js → model-resolver-nc9v3jx5.js} +149 -149
  180. package/dist/chunks/{workspace-tn8p7ecq.js → model-resolver-nf80skmj.js} +10 -10
  181. package/dist/chunks/{workspace-0tgtrx77.js → model-resolver-nn97278r.js} +15 -15
  182. package/dist/chunks/{workspace-hmyzz8y0.js → model-resolver-npba7pfw.js} +20 -20
  183. package/dist/chunks/{workspace-nzks3jc8.js → model-resolver-nzks3jc8.js} +3 -3
  184. package/dist/chunks/{workspace-p28j5sbe.js → model-resolver-p28j5sbe.js} +2 -2
  185. package/dist/chunks/{workspace-hdm3sk1y.js → model-resolver-p7nftz6b.js} +34 -34
  186. package/dist/chunks/{workspace-0f9afca0.js → model-resolver-pecb0brz.js} +5 -5
  187. package/dist/chunks/{workspace-7pncbcke.js → model-resolver-pfzrvarp.js} +4 -4
  188. package/dist/chunks/{workspace-qed8dvxx.js → model-resolver-pga14111.js} +9 -9
  189. package/dist/chunks/{workspace-7nd7t3y6.js → model-resolver-phqer4q0.js} +41 -41
  190. package/dist/chunks/{workspace-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{workspace-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  192. package/dist/chunks/{workspace-xwchxfcw.js → model-resolver-pnnqzn53.js} +8 -8
  193. package/dist/chunks/{workspace-x5rn7qjp.js → model-resolver-ppte1p09.js} +20 -20
  194. package/dist/chunks/{workspace-ks40ppne.js → model-resolver-pqbcvpxd.js} +13 -13
  195. package/dist/chunks/{workspace-j4n38w1e.js → model-resolver-pyejz7ph.js} +15 -15
  196. package/dist/chunks/{workspace-w19jy31r.js → model-resolver-pz7a6r4w.js} +3 -3
  197. package/dist/chunks/{workspace-6dev9rqa.js → model-resolver-q29b2gah.js} +3 -3
  198. package/dist/chunks/{workspace-9btd272k.js → model-resolver-qc51xf0a.js} +26 -26
  199. package/dist/chunks/{workspace-yt3hy1g9.js → model-resolver-qdbakdjh.js} +5 -5
  200. package/dist/chunks/{workspace-nscznvay.js → model-resolver-qg0jgkcp.js} +9 -9
  201. package/dist/chunks/{workspace-2znr0nan.js → model-resolver-qn9jv2jm.js} +24 -24
  202. package/dist/chunks/{workspace-57b9ws8p.js → model-resolver-qqeeq2t9.js} +4 -4
  203. package/dist/chunks/{workspace-17zqg50h.js → model-resolver-qqrtcnkc.js} +24 -24
  204. package/dist/chunks/{workspace-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  205. package/dist/chunks/{workspace-2xmpv3m6.js → model-resolver-qxfgkbem.js} +10 -10
  206. package/dist/chunks/{workspace-9tb0v2yh.js → model-resolver-qxpavsr8.js} +66 -66
  207. package/dist/chunks/{workspace-rpery1mk.js → model-resolver-qye67he0.js} +15 -15
  208. package/dist/chunks/{workspace-24xg1x4z.js → model-resolver-r04fb0ma.js} +19 -19
  209. package/dist/chunks/{workspace-374v8g3a.js → model-resolver-r0tjgr50.js} +22 -22
  210. package/dist/chunks/{workspace-e6hd9jay.js → model-resolver-r33ff4dw.js} +6 -6
  211. package/dist/chunks/{workspace-2438drjd.js → model-resolver-r841few8.js} +9 -9
  212. package/dist/chunks/{workspace-ydpabj6e.js → model-resolver-r8v8adjt.js} +24 -24
  213. package/dist/chunks/{workspace-6sc0ns97.js → model-resolver-rayjs69j.js} +9 -9
  214. package/dist/chunks/{workspace-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{workspace-a414py93.js → model-resolver-rejt6bp0.js} +20 -20
  216. package/dist/chunks/{workspace-t550f9t1.js → model-resolver-rhjbct0v.js} +4 -4
  217. package/dist/chunks/{workspace-3fe6bt6f.js → model-resolver-rjy92yfz.js} +15 -15
  218. package/dist/chunks/{workspace-ydm93f9x.js → model-resolver-rk9t7fxt.js} +8 -8
  219. package/dist/chunks/{workspace-4mtpks84.js → model-resolver-rq9sfwah.js} +22 -22
  220. package/dist/chunks/{workspace-qmrp7vx8.js → model-resolver-rzd1prf9.js} +27 -27
  221. package/dist/chunks/{workspace-g3ns9rat.js → model-resolver-rztfdspk.js} +20 -20
  222. package/dist/chunks/{workspace-mrekswpf.js → model-resolver-s2ebsh4k.js} +15 -15
  223. package/dist/chunks/{workspace-9yzdvftt.js → model-resolver-scgm85f3.js} +12 -12
  224. package/dist/chunks/{workspace-kexq2ab1.js → model-resolver-smp5hqs3.js} +5 -5
  225. package/dist/chunks/{workspace-5smvddr8.js → model-resolver-sqnsaxnr.js} +10 -10
  226. package/dist/chunks/{workspace-wxg1tfxb.js → model-resolver-srv6jbph.js} +2 -2
  227. package/dist/chunks/{workspace-y7f35ff5.js → model-resolver-ss4xmamw.js} +16 -16
  228. package/dist/chunks/{workspace-f2we9qpp.js → model-resolver-ssv7vh4d.js} +13 -13
  229. package/dist/chunks/{workspace-n882b035.js → model-resolver-t85xqwrf.js} +11 -11
  230. package/dist/chunks/{workspace-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{workspace-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{workspace-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  233. package/dist/chunks/model-resolver-tjen3va7.js +492 -0
  234. package/dist/chunks/{workspace-qxge5qk3.js → model-resolver-tmvpfzkm.js} +3 -3
  235. package/dist/chunks/{workspace-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  236. package/dist/chunks/{workspace-9aza1f1x.js → model-resolver-v0y6s5p7.js} +44 -44
  237. package/dist/chunks/{workspace-rdp84m7y.js → model-resolver-v27m40rm.js} +33 -33
  238. package/dist/chunks/{workspace-1y283654.js → model-resolver-vbfgae2j.js} +4 -4
  239. package/dist/chunks/{workspace-sx1n432n.js → model-resolver-ve4pfa0n.js} +4 -4
  240. package/dist/chunks/{workspace-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  241. package/dist/chunks/{workspace-6p1etxq2.js → model-resolver-vjf65k2b.js} +9 -9
  242. package/dist/chunks/{workspace-t0mtj9sp.js → model-resolver-vstc3933.js} +20 -20
  243. package/dist/chunks/{workspace-x1w6bk3j.js → model-resolver-vvjdmnc6.js} +16 -16
  244. package/dist/chunks/{workspace-e1pmkxcv.js → model-resolver-vw3e9fxe.js} +8 -8
  245. package/dist/chunks/{workspace-bxbnev26.js → model-resolver-vxkc1n72.js} +30 -30
  246. package/dist/chunks/{workspace-j8zzr2am.js → model-resolver-vyqn3nqs.js} +6 -6
  247. package/dist/chunks/{workspace-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{workspace-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{workspace-6vdste0b.js → model-resolver-w48fcq56.js} +10 -10
  250. package/dist/chunks/{workspace-pxfs15kn.js → model-resolver-w52zt19p.js} +41 -41
  251. package/dist/chunks/{workspace-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  252. package/dist/chunks/{workspace-bm5d57fs.js → model-resolver-wk759sqm.js} +27 -27
  253. package/dist/chunks/{workspace-1s7b1csw.js → model-resolver-wkn3809p.js} +10 -10
  254. package/dist/chunks/{workspace-347p2yks.js → model-resolver-wqedn24d.js} +9 -9
  255. package/dist/chunks/{workspace-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{workspace-y201z2mx.js → model-resolver-x4zwv76m.js} +4 -4
  257. package/dist/chunks/{workspace-j3enmtp4.js → model-resolver-x5860ntt.js} +41 -41
  258. package/dist/chunks/{workspace-as71pn4z.js → model-resolver-x87aptrd.js} +12 -12
  259. package/dist/chunks/{workspace-z0zyb1s8.js → model-resolver-x9159bxd.js} +50 -50
  260. package/dist/chunks/{workspace-n8dykrk6.js → model-resolver-xcd0eash.js} +6 -6
  261. package/dist/chunks/{workspace-cn886m9x.js → model-resolver-xe6cmgbq.js} +9 -9
  262. package/dist/chunks/{workspace-j13v91pw.js → model-resolver-xgsfyewx.js} +4 -4
  263. package/dist/chunks/{workspace-48nt27tg.js → model-resolver-xkmv5agz.js} +13 -13
  264. package/dist/chunks/{workspace-avrvke37.js → model-resolver-xnyqt6gv.js} +9 -9
  265. package/dist/chunks/{workspace-pg93v6jv.js → model-resolver-xpax8x5w.js} +7 -7
  266. package/dist/chunks/{workspace-mnfv1s1b.js → model-resolver-xs1r8498.js} +13 -13
  267. package/dist/chunks/{workspace-7r3ygdmz.js → model-resolver-xs8wfhd6.js} +9 -9
  268. package/dist/chunks/{workspace-8s9gdvz1.js → model-resolver-xvw3exqc.js} +13 -13
  269. package/dist/chunks/{workspace-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{workspace-pk2244jm.js → model-resolver-y6f0p4jw.js} +3 -3
  271. package/dist/chunks/{workspace-jj1193c7.js → model-resolver-y8r1zn9y.js} +6 -6
  272. package/dist/chunks/{workspace-e624nkeg.js → model-resolver-ye6dhg8n.js} +28 -28
  273. package/dist/chunks/{workspace-qn4ba14w.js → model-resolver-yjptyezs.js} +5 -5
  274. package/dist/chunks/{workspace-c34eff8t.js → model-resolver-yndsq8dt.js} +38 -38
  275. package/dist/chunks/{workspace-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{workspace-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
  277. package/dist/chunks/{workspace-p79yh7x8.js → model-resolver-yw50seq0.js} +23 -23
  278. package/dist/chunks/model-resolver-yzmdswv1.js +26 -0
  279. package/dist/chunks/{workspace-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{workspace-w6x78c9c.js → model-resolver-z0f6wna2.js} +11 -11
  281. package/dist/chunks/{workspace-rysm8zhq.js → model-resolver-z491n86c.js} +3 -3
  282. package/dist/chunks/{workspace-405nw1q2.js → model-resolver-z4fy0qdv.js} +15 -15
  283. package/dist/chunks/{workspace-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
  284. package/dist/chunks/{workspace-zdn3zq9y.js → model-resolver-zccdra3h.js} +9 -9
  285. package/dist/chunks/{workspace-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{workspace-t15k3d3j.js → model-resolver-zejyxjry.js} +35 -35
  287. package/dist/chunks/{workspace-3tq5qxbk.js → model-resolver-zqx8wcya.js} +6 -6
  288. package/dist/chunks/{workspace-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{workspace-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  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 +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  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 +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  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 +143 -143
  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 +127 -127
  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 +368 -368
  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 +99 -99
  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 +224 -224
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -102
  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 +81 -81
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +104 -104
  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 +90 -90
  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 +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +80 -80
  459. package/dist/instructions/builtins.js +84 -84
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +79 -79
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +99 -99
  469. package/dist/location-service-map.js +85 -85
  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 +105 -105
  474. package/dist/mcp/instructions.js +125 -125
  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 +90 -90
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +97 -97
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +79 -79
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +108 -108
  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 +87 -87
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +103 -103
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/compaction.js +132 -132
  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 +5 -5
  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 +4 -4
  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 +93 -93
  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 +121 -121
  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 +75 -75
  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 +5 -5
  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 +6 -6
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +4 -4
  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 +92 -92
  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 +127 -127
  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 +220 -220
  582. package/dist/session/execution.js +125 -125
  583. package/dist/session/generate.js +152 -152
  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 +116 -116
  593. package/dist/session/model-transport.js +7 -7
  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 +1 -1
  600. package/dist/session/runner/index.js +3 -3
  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 +171 -171
  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 +86 -86
  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 +3 -3
  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 +217 -217
  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 +107 -107
  631. package/dist/snapshot.js +90 -90
  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 +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +121 -121
  639. package/dist/tool/plugin/grep.js +115 -115
  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 +118 -118
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +112 -112
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +109 -109
  648. package/dist/tool/plugin/websearch.js +107 -107
  649. package/dist/tool/plugin/write.js +117 -117
  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 +14 -14
  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 +5 -5
  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 +5 -5
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  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 +3 -3
  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 +88 -88
  683. package/dist/websearch.js +81 -81
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +78 -78
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  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/workspace-6dqdswvk.js +0 -252
  696. package/dist/chunks/workspace-6r3amyyd.js +0 -4
  697. package/dist/chunks/workspace-mjcsnwzf.js +0 -492
  698. package/dist/chunks/workspace-rap9a73h.js +0 -18
  699. package/dist/chunks/workspace-wjzzwpk8.js +0 -26
  700. /package/dist/chunks/{workspace-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{workspace-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{workspace-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{workspace-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{workspace-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{workspace-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{workspace-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{workspace-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{workspace-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{workspace-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{workspace-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  711. /package/dist/chunks/{workspace-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{workspace-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{workspace-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{workspace-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{workspace-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{workspace-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{workspace-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{workspace-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  719. /package/dist/chunks/{workspace-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{workspace-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{workspace-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  722. /package/dist/chunks/{workspace-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{workspace-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{workspace-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  725. /package/dist/chunks/{workspace-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{workspace-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{workspace-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  728. /package/dist/chunks/{workspace-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{workspace-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{workspace-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{workspace-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{workspace-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{workspace-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{workspace-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{workspace-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{workspace-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{workspace-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{workspace-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{workspace-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{workspace-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{workspace-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{workspace-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{workspace-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  744. /package/dist/chunks/{workspace-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{workspace-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{workspace-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{workspace-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{workspace-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{workspace-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{workspace-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{workspace-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{workspace-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{workspace-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{workspace-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{workspace-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{workspace-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  757. /package/dist/chunks/{workspace-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{workspace-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  759. /package/dist/chunks/{workspace-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{workspace-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  761. /package/dist/chunks/{workspace-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{workspace-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{workspace-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{workspace-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{workspace-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{workspace-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{workspace-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{workspace-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{workspace-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{workspace-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{workspace-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{workspace-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{workspace-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{workspace-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{workspace-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{workspace-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{workspace-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{workspace-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{workspace-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{workspace-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{workspace-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{workspace-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{workspace-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{workspace-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{workspace-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{workspace-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{workspace-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{workspace-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{workspace-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  790. /package/dist/chunks/{workspace-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{workspace-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{workspace-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{workspace-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{workspace-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{workspace-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service78,
3
- node82,
2
+ Service54,
3
+ node56,
4
4
  canonical3
5
- } from "./workspace-qed8dvxx.js";
5
+ } from "./model-resolver-pga14111.js";
6
6
  import {
7
- Service56,
8
- node58
9
- } from "./workspace-n8dykrk6.js";
7
+ Service52,
8
+ node54
9
+ } from "./model-resolver-xcd0eash.js";
10
10
  import {
11
- Service16
12
- } from "./workspace-qmrp7vx8.js";
11
+ Service21
12
+ } from "./model-resolver-rzd1prf9.js";
13
13
  import {
14
14
  layer2
15
- } from "./workspace-6dqdswvk.js";
15
+ } from "./model-resolver-epegjq71.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service78, Effect.gen(function* () {
20
+ return Layer.effect(Service54, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service16);
30
+ const lifecycle = Context.get(exit.value, Service21);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node58.replace(Layer.succeed(Service56, {
57
+ node54.replace(Layer.succeed(Service52, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node82.replace(Layer.succeed(Service78, map))
61
+ node56.replace(Layer.succeed(Service54, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service54,
9
+ Service: () => Service49,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service54 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service49 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service54, exports_runner };
18
+ export { DrainResult2, Service49, exports_runner };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service71
4
- } from "./workspace-0gptwf17.js";
3
+ Service73
4
+ } from "./model-resolver-6eqynsgf.js";
5
5
  import {
6
- Service47
7
- } from "./workspace-pxfs15kn.js";
6
+ Service55
7
+ } from "./model-resolver-w52zt19p.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service71;
12
+ const providers = yield* Service73;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service47);
14
+ const service = yield* Effect.serviceOption(Service55);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./workspace-0gptwf17.js";
4
+ } from "./model-resolver-6eqynsgf.js";
5
5
  import {
6
6
  latest2,
7
- Service47
8
- } from "./workspace-pxfs15kn.js";
7
+ Service55
8
+ } from "./model-resolver-w52zt19p.js";
9
9
  import {
10
- resolve3
11
- } from "./workspace-jj1193c7.js";
10
+ resolve2
11
+ } from "./model-resolver-y8r1zn9y.js";
12
12
  import {
13
13
  observe2
14
- } from "./workspace-qsdy395h.js";
14
+ } from "./model-resolver-qsdy395h.js";
15
15
  import {
16
16
  __export
17
- } from "./workspace-9rqn6x4v.js";
17
+ } from "./model-resolver-9rqn6x4v.js";
18
18
 
19
19
  // src/config/plugin/provider.ts
20
20
  var exports_provider = {};
21
21
  __export(exports_provider, {
22
22
  ConfigProviderPlugin: () => exports_provider,
23
- Plugin: () => Plugin29
23
+ Plugin: () => Plugin33
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Money } from "@opencode/schema/money";
27
27
  import { Effect } from "effect";
28
- var Plugin29 = define({
28
+ var Plugin33 = define({
29
29
  id: "opencode.config.provider",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service47;
31
+ const config = yield* Service55;
32
32
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
33
33
  yield* ctx.integration.transform((integrations) => {
34
34
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -177,7 +177,7 @@ var Plugin29 = define({
177
177
  if (config.variants === undefined && !source?.base)
178
178
  models.update(providerID, id, (model) => {
179
179
  model.variants = [
180
- ...resolve3({
180
+ ...resolve2({
181
181
  ...model,
182
182
  package: model.package ?? models.provider.get(providerID)?.provider.package
183
183
  })
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
192
192
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
193
193
  }
194
194
 
195
- export { Plugin29, exports_provider };
195
+ export { Plugin33, exports_provider };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service47
4
- } from "./workspace-pxfs15kn.js";
3
+ Service55
4
+ } from "./model-resolver-w52zt19p.js";
5
5
  import {
6
6
  observe2
7
- } from "./workspace-qsdy395h.js";
7
+ } from "./model-resolver-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./workspace-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch2 = {};
14
14
  __export(exports_websearch2, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin31
16
+ Plugin: () => Plugin44
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin31 = define({
20
+ var Plugin44 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service47;
23
+ const config = yield* Service55;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin31 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin31, exports_websearch2 };
35
+ export { Plugin44, exports_websearch2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ID12
3
- } from "./workspace-0gptwf17.js";
3
+ } from "./model-resolver-6eqynsgf.js";
4
4
  import {
5
5
  iife2
6
- } from "./workspace-1kg9ymc8.js";
6
+ } from "./model-resolver-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./workspace-fszp41pp.js";
9
+ } from "./model-resolver-8p8fqdjb.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-ai-gateway.ts
12
12
  import { Effect } from "effect";
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./workspace-pr971s7g.js";
4
+ } from "./model-resolver-43ahs7k8.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./workspace-3hepkmqq.js";
7
+ } from "./model-resolver-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./workspace-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service67,
17
- node: () => node69
16
+ Service: () => Service60,
17
+ node: () => node62
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service67 extends Context.Service()("@opencode/KV") {
22
+ class Service60 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service67, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
25
25
  const db = (yield* Service83).db;
26
- return Service67.of({
26
+ return Service60.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node69 = makeGlobalNode({ service: Service67, layer, deps: [node87] });
54
+ var node62 = makeGlobalNode({ service: Service60, layer, deps: [node87] });
55
55
 
56
- export { Service67, node69, exports_kv };
56
+ export { Service60, node62, exports_kv };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service4,
9
+ Service: () => Service3,
10
10
  bound: () => bound2,
11
- node: () => node6
11
+ node: () => node4
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service3 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node6 = makeLocationNode({
19
- service: Service4,
18
+ var node4 = makeLocationNode({
19
+ service: Service3,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
29
+ return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service4, node6, bound2, exports_instance2 };
32
+ export { Service3, node4, bound2, exports_instance2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./workspace-gn97k1b0.js";
3
+ } from "./model-resolver-n810d9f4.js";
4
4
  import {
5
5
  call2
6
- } from "./workspace-56gdpj1q.js";
6
+ } from "./model-resolver-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./workspace-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin37,
14
+ Plugin: () => Plugin5,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint5
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin37 = define({
40
+ var Plugin5 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin37 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin37 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint5, Plugin37, exports_firecrawl };
80
+ export { endpoint4, Plugin5, exports_firecrawl };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./workspace-tazgh4e4.js";
3
+ } from "./model-resolver-tazgh4e4.js";
4
4
  import {
5
- ID3,
6
- Service38
7
- } from "./workspace-rk7bc7ed.js";
5
+ ID4,
6
+ Service39
7
+ } from "./model-resolver-efgaas88.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./workspace-pk2244jm.js";
10
+ } from "./model-resolver-y6f0p4jw.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./workspace-je7c2t6y.js";
13
+ } from "./model-resolver-e5xpd6yj.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./workspace-5c4hm403.js";
16
+ } from "./model-resolver-5c4hm403.js";
17
17
  import {
18
18
  __export
19
- } from "./workspace-9rqn6x4v.js";
19
+ } from "./model-resolver-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service38;
84
+ const snapshot = yield* Service39;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID3.make(from),
91
- to: ID3.make(to),
90
+ from: ID4.make(from),
91
+ to: ID4.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./workspace-2a5m3afh.js";
5
+ } from "./model-resolver-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./workspace-9rqn6x4v.js";
8
+ } from "./model-resolver-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./workspace-gn97k1b0.js";
3
+ } from "./model-resolver-n810d9f4.js";
4
4
  import {
5
5
  call2
6
- } from "./workspace-56gdpj1q.js";
6
+ } from "./model-resolver-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./workspace-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin36,
14
+ Plugin: () => Plugin4,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint3
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint4 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint3 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin36 = define({
36
+ var Plugin4 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin36 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin36 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint4, Plugin36, exports_tinyfish };
76
+ export { endpoint3, Plugin4, exports_tinyfish };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./workspace-j13v91pw.js";
4
+ } from "./model-resolver-xgsfyewx.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./workspace-cka6kvq6.js";
6
+ Service77,
7
+ node80
8
+ } from "./model-resolver-d4j0zdza.js";
9
9
  import {
10
- Service45,
11
- node48
12
- } from "./workspace-17zqg50h.js";
10
+ Service61,
11
+ node63
12
+ } from "./model-resolver-qqrtcnkc.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./workspace-gd4qta3r.js";
15
+ } from "./model-resolver-gd4qta3r.js";
16
16
  import {
17
- Service77,
17
+ Service47,
18
18
  args2,
19
- node81
20
- } from "./workspace-374v8g3a.js";
19
+ node50
20
+ } from "./model-resolver-r0tjgr50.js";
21
21
  import {
22
- Service63,
23
- node65
24
- } from "./workspace-pn3cc07s.js";
22
+ Service67,
23
+ node70
24
+ } from "./model-resolver-30846h32.js";
25
25
  import {
26
- Service41,
27
- node44
28
- } from "./workspace-qvb3nf84.js";
26
+ Service45,
27
+ node48
28
+ } from "./model-resolver-7j2qha59.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./workspace-pk2244jm.js";
31
+ } from "./model-resolver-y6f0p4jw.js";
32
32
  import {
33
33
  latest2,
34
- Service47,
35
- node50
36
- } from "./workspace-pxfs15kn.js";
34
+ Service55,
35
+ node57
36
+ } from "./model-resolver-w52zt19p.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./workspace-as71pn4z.js";
40
+ } from "./model-resolver-x87aptrd.js";
41
41
  import {
42
42
  __export
43
- } from "./workspace-9rqn6x4v.js";
43
+ } from "./model-resolver-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError4,
49
+ NotFoundError: () => NotFoundError6,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service40,
51
+ Service: () => Service44,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node43
54
+ node: () => node47
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service40 extends Context.Service()("@opencode/Shell") {
73
+ class Service44 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service40, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service44, Effect.gen(function* () {
90
90
  const bus = yield* Service82;
91
- const location = yield* Service79;
91
+ const location = yield* Service77;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service77;
94
- const environment = yield* Service45;
95
- const hooks = yield* Service63;
96
- const environments = yield* Service41;
97
- const config = yield* Service47;
93
+ const shell = yield* Service47;
94
+ const environment = yield* Service61;
95
+ const hooks = yield* Service67;
96
+ const environments = yield* Service45;
97
+ const config = yield* Service55;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError4({ id });
118
+ return yield* new NotFoundError6({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError4({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError6({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service40.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service44.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node43 = makeLocationNode({
320
- service: Service40,
319
+ var node47 = makeLocationNode({
320
+ service: Service44,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node86,
324
- node83,
324
+ node80,
325
325
  Global.node,
326
- node81,
327
- node48,
328
- node65,
329
- node44,
330
326
  node50,
327
+ node63,
328
+ node70,
329
+ node48,
330
+ node57,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError4, RETENTION2, DIRECTORY2, Service40, cleanup2, node43, exports_shell4 };
335
+ export { NotFoundError6, RETENTION2, DIRECTORY2, Service44, cleanup2, node47, exports_shell4 };