@opencode/core 0.0.0-dev-142 → 0.0.0-dev-146

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 (820) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +81 -81
  7. package/dist/chunks/{model-resolver-00j2jq49.js → formatter-00pktjsy.js} +21 -21
  8. package/dist/chunks/formatter-01awnnjy.js +511 -0
  9. package/dist/chunks/{model-resolver-g1rms717.js → formatter-02f3mwsw.js} +53 -53
  10. package/dist/chunks/{model-resolver-034tev2y.js → formatter-034tev2y.js} +2 -2
  11. package/dist/chunks/{model-resolver-ymz7p2c9.js → formatter-0f8tg23y.js} +3 -3
  12. package/dist/chunks/{model-resolver-mfc2a6rt.js → formatter-0jjwjx0v.js} +24 -24
  13. package/dist/chunks/{model-resolver-hkrnt7ft.js → formatter-0ks8sfjc.js} +33 -33
  14. package/dist/chunks/{model-resolver-pkmmfap2.js → formatter-0qf1t2tf.js} +9 -9
  15. package/dist/chunks/{model-resolver-tmvkcy0b.js → formatter-0tqctwjc.js} +21 -21
  16. package/dist/chunks/{model-resolver-b1acbdmy.js → formatter-176yg0jf.js} +12 -12
  17. package/dist/chunks/{model-resolver-w4pg5caa.js → formatter-180ps155.js} +28 -28
  18. package/dist/chunks/{model-resolver-1ep2p91f.js → formatter-1ep2p91f.js} +2 -2
  19. package/dist/chunks/{model-resolver-6551djh0.js → formatter-1eqvcz7d.js} +21 -21
  20. package/dist/chunks/{model-resolver-1kn6jdkn.js → formatter-1kn6jdkn.js} +1 -1
  21. package/dist/chunks/{model-resolver-6d7x7hha.js → formatter-1tz3dvpf.js} +28 -28
  22. package/dist/chunks/{model-resolver-1x2knyw4.js → formatter-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{model-resolver-1yq9hg58.js → formatter-1yq9hg58.js} +1 -1
  24. package/dist/chunks/{model-resolver-204s3925.js → formatter-204s3925.js} +1 -1
  25. package/dist/chunks/{model-resolver-08h64782.js → formatter-206jryat.js} +36 -36
  26. package/dist/chunks/{model-resolver-h7gvp0tv.js → formatter-27bs79w9.js} +2 -2
  27. package/dist/chunks/{model-resolver-810xvjsv.js → formatter-2br6b2v9.js} +7 -7
  28. package/dist/chunks/{model-resolver-1eg9cpxp.js → formatter-2jexqb4b.js} +17 -17
  29. package/dist/chunks/{model-resolver-7s7rdm9s.js → formatter-2saggmey.js} +22 -22
  30. package/dist/chunks/{model-resolver-c1p828ba.js → formatter-2vjv0qpa.js} +20 -20
  31. package/dist/chunks/{model-resolver-s857ash9.js → formatter-2xwkyk0m.js} +5 -5
  32. package/dist/chunks/{model-resolver-jh74jycr.js → formatter-2zp5a6yg.js} +3 -3
  33. package/dist/chunks/{model-resolver-pc07gvhs.js → formatter-30wq98rm.js} +17 -17
  34. package/dist/chunks/{model-resolver-bk7xq8bh.js → formatter-31wms35x.js} +8 -8
  35. package/dist/chunks/{model-resolver-8pd54nv5.js → formatter-34b2q3dm.js} +27 -27
  36. package/dist/chunks/{model-resolver-wtt1w7za.js → formatter-35zt77b2.js} +24 -24
  37. package/dist/chunks/{model-resolver-xetz8apg.js → formatter-3gbv69k7.js} +32 -32
  38. package/dist/chunks/{model-resolver-n3vkcfay.js → formatter-3h9jmy66.js} +27 -27
  39. package/dist/chunks/{model-resolver-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{model-resolver-vxfbx2fx.js → formatter-3jw91zxn.js} +22 -22
  41. package/dist/chunks/{model-resolver-dbmp929s.js → formatter-3kdbrncp.js} +5 -5
  42. package/dist/chunks/{model-resolver-3nnrz6f6.js → formatter-3nnrz6f6.js} +1 -1
  43. package/dist/chunks/{model-resolver-zfjyz62k.js → formatter-3qgpmfb2.js} +25 -25
  44. package/dist/chunks/{model-resolver-gjvqgy9h.js → formatter-3ykedks4.js} +13 -13
  45. package/dist/chunks/{model-resolver-wy5mgfg9.js → formatter-3ysmapca.js} +71 -71
  46. package/dist/chunks/{model-resolver-0yd77tsv.js → formatter-3zjnpbwd.js} +30 -30
  47. package/dist/chunks/{model-resolver-40za9wsf.js → formatter-40za9wsf.js} +2 -2
  48. package/dist/chunks/{model-resolver-z5c5swc0.js → formatter-4e1keyg1.js} +17 -17
  49. package/dist/chunks/{model-resolver-zebg8dr3.js → formatter-4k8v9b7f.js} +4 -4
  50. package/dist/chunks/{model-resolver-4pyp9zr9.js → formatter-4pyp9zr9.js} +1 -1
  51. package/dist/chunks/{model-resolver-4v008n1t.js → formatter-4v008n1t.js} +1 -1
  52. package/dist/chunks/{model-resolver-ahzfx2tk.js → formatter-4vxvd6mv.js} +6 -6
  53. package/dist/chunks/{model-resolver-r119az03.js → formatter-54bnvst0.js} +37 -37
  54. package/dist/chunks/{model-resolver-8anaanvs.js → formatter-54ptjt3c.js} +6 -6
  55. package/dist/chunks/{model-resolver-22frdqra.js → formatter-58t0t45t.js} +17 -17
  56. package/dist/chunks/{model-resolver-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{model-resolver-5x26af84.js → formatter-5x26af84.js} +4 -4
  58. package/dist/chunks/{model-resolver-stbdvqqm.js → formatter-60g5e9a4.js} +15 -15
  59. package/dist/chunks/{model-resolver-7j5kte3m.js → formatter-65f11974.js} +9 -9
  60. package/dist/chunks/{model-resolver-jv8ma802.js → formatter-65q9xmpy.js} +19 -19
  61. package/dist/chunks/{model-resolver-bnfkacme.js → formatter-67dmgvxj.js} +15 -15
  62. package/dist/chunks/{model-resolver-cg5ng5tz.js → formatter-6add78pk.js} +33 -33
  63. package/dist/chunks/{model-resolver-p9fz6enw.js → formatter-6asz9jay.js} +11 -11
  64. package/dist/chunks/{model-resolver-5a5y8bey.js → formatter-6dra8ttr.js} +38 -38
  65. package/dist/chunks/{model-resolver-6esdw8yj.js → formatter-6esdw8yj.js} +1 -1
  66. package/dist/chunks/{model-resolver-7dz079pe.js → formatter-6rt7ts86.js} +2 -2
  67. package/dist/chunks/{model-resolver-4sy33n8r.js → formatter-6t1z78dt.js} +27 -27
  68. package/dist/chunks/{model-resolver-edqmm4mg.js → formatter-6td4j3g2.js} +4 -4
  69. package/dist/chunks/formatter-6tn508k7.js +257 -0
  70. package/dist/chunks/{model-resolver-q6vrwb3q.js → formatter-6v5r3k3y.js} +35 -35
  71. package/dist/chunks/{model-resolver-1hcx3tbe.js → formatter-70agar2m.js} +2 -2
  72. package/dist/chunks/{model-resolver-6pvfyazw.js → formatter-75evnb93.js} +9 -9
  73. package/dist/chunks/{model-resolver-76cb1hcw.js → formatter-76cb1hcw.js} +1 -1
  74. package/dist/chunks/{model-resolver-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{model-resolver-jszp152f.js → formatter-7hmjb961.js} +17 -17
  76. package/dist/chunks/{model-resolver-qc8cfte5.js → formatter-7hqt66pc.js} +25 -25
  77. package/dist/chunks/{model-resolver-zt8d8h0y.js → formatter-7ngzeq25.js} +6 -6
  78. package/dist/chunks/{model-resolver-7w2ypzdf.js → formatter-7w2ypzdf.js} +1 -1
  79. package/dist/chunks/{model-resolver-mxjcs2d4.js → formatter-7ye1cp98.js} +12 -12
  80. package/dist/chunks/{model-resolver-crafzxe9.js → formatter-80kvr5bw.js} +8 -8
  81. package/dist/chunks/{model-resolver-4zqw3v5h.js → formatter-8430rgvc.js} +8 -8
  82. package/dist/chunks/{model-resolver-p4j4rdzm.js → formatter-8843840p.js} +3 -3
  83. package/dist/chunks/{model-resolver-8jztxfpf.js → formatter-8jztxfpf.js} +1 -1
  84. package/dist/chunks/{model-resolver-74xmswmc.js → formatter-8phszwmc.js} +11 -11
  85. package/dist/chunks/{model-resolver-dgc1n24t.js → formatter-8qnchk02.js} +51 -51
  86. package/dist/chunks/{model-resolver-8wtp7s3z.js → formatter-8wtp7s3z.js} +1 -1
  87. package/dist/chunks/{model-resolver-q4fcarhy.js → formatter-8yhc7zrg.js} +9 -9
  88. package/dist/chunks/{model-resolver-pnwsrq7c.js → formatter-8ykqf5wm.js} +8 -8
  89. package/dist/chunks/{model-resolver-q5mn4ggq.js → formatter-8ymr7d4s.js} +15 -15
  90. package/dist/chunks/{model-resolver-90zstvax.js → formatter-90zstvax.js} +1 -1
  91. package/dist/chunks/{model-resolver-txtenhwq.js → formatter-91za51b6.js} +11 -11
  92. package/dist/chunks/{model-resolver-wz5dzc00.js → formatter-95qeadzf.js} +25 -25
  93. package/dist/chunks/{model-resolver-dy0t2s89.js → formatter-9can0ppv.js} +10 -10
  94. package/dist/chunks/{model-resolver-7dh73bnv.js → formatter-9ctbbx4t.js} +2 -2
  95. package/dist/chunks/{model-resolver-8xq2wskz.js → formatter-9k3wnwh3.js} +9 -9
  96. package/dist/chunks/{model-resolver-s2pfznc4.js → formatter-9nkjg9qd.js} +6 -6
  97. package/dist/chunks/{model-resolver-9r0x1bva.js → formatter-9r0x1bva.js} +2 -2
  98. package/dist/chunks/{model-resolver-xg4yp5ky.js → formatter-9t0k5eya.js} +11 -11
  99. package/dist/chunks/{model-resolver-30q9anfd.js → formatter-9tacn0cp.js} +2 -2
  100. package/dist/chunks/{model-resolver-trw4ad51.js → formatter-9v0dawq3.js} +13 -13
  101. package/dist/chunks/{model-resolver-ahzmq0a0.js → formatter-9zcxsq7k.js} +12 -12
  102. package/dist/chunks/{model-resolver-x634fp5p.js → formatter-a609rjt8.js} +9 -9
  103. package/dist/chunks/{model-resolver-j2xzb38w.js → formatter-a9atne55.js} +11 -11
  104. package/dist/chunks/{model-resolver-p1d2jd5s.js → formatter-advnjzs0.js} +28 -28
  105. package/dist/chunks/{model-resolver-rvyhr33k.js → formatter-afbxbw72.js} +11 -11
  106. package/dist/chunks/{model-resolver-nd9ab5g5.js → formatter-afhdzj43.js} +27 -27
  107. package/dist/chunks/{model-resolver-vngnyhcg.js → formatter-ay20v4cr.js} +4 -4
  108. package/dist/chunks/{model-resolver-ayjs7tqn.js → formatter-ayjs7tqn.js} +2 -2
  109. package/dist/chunks/{model-resolver-djh43rh9.js → formatter-az02dgt5.js} +23 -23
  110. package/dist/chunks/{model-resolver-48a83rgb.js → formatter-b5rjhvjd.js} +9 -9
  111. package/dist/chunks/{model-resolver-b6vsg801.js → formatter-b6vsg801.js} +2 -2
  112. package/dist/chunks/{model-resolver-dndg0yrt.js → formatter-b727e2mf.js} +20 -20
  113. package/dist/chunks/{model-resolver-5k083j4m.js → formatter-bc4s7aac.js} +12 -12
  114. package/dist/chunks/{model-resolver-rrad2nt9.js → formatter-bjhzkqyk.js} +4 -4
  115. package/dist/chunks/{model-resolver-gnzrdma1.js → formatter-bph6tfhv.js} +11 -11
  116. package/dist/chunks/{model-resolver-mef9jdgh.js → formatter-brwf83f1.js} +20 -20
  117. package/dist/chunks/formatter-brxvtjfc.js +26 -0
  118. package/dist/chunks/{model-resolver-bstexjd6.js → formatter-bstexjd6.js} +1 -1
  119. package/dist/chunks/{model-resolver-n3bkb5q1.js → formatter-c2gy53he.js} +8 -8
  120. package/dist/chunks/{model-resolver-f01y088k.js → formatter-c46s9eb3.js} +5 -5
  121. package/dist/chunks/{model-resolver-7fpmdzjk.js → formatter-c6qe9nk0.js} +17 -17
  122. package/dist/chunks/{model-resolver-86xcj867.js → formatter-c9hwcyhb.js} +14 -14
  123. package/dist/chunks/{model-resolver-d2887f8n.js → formatter-c9t2ty9q.js} +4 -4
  124. package/dist/chunks/{model-resolver-vtc2wvc2.js → formatter-chgm1tby.js} +1 -1
  125. package/dist/chunks/{model-resolver-20xwdmdm.js → formatter-cjce029x.js} +31 -31
  126. package/dist/chunks/{model-resolver-cwrgdav8.js → formatter-cwrgdav8.js} +2 -2
  127. package/dist/chunks/{model-resolver-ds91jzkj.js → formatter-cxx4120z.js} +20 -20
  128. package/dist/chunks/{model-resolver-htryym1w.js → formatter-cymxkkyw.js} +30 -30
  129. package/dist/chunks/{model-resolver-d4v9tmah.js → formatter-d4v9tmah.js} +2 -2
  130. package/dist/chunks/{model-resolver-2gmf4cwd.js → formatter-da1nsxc2.js} +12 -12
  131. package/dist/chunks/{model-resolver-dt77769w.js → formatter-dt77769w.js} +1 -1
  132. package/dist/chunks/{model-resolver-yxbkj6h6.js → formatter-e5qfbzbw.js} +11 -11
  133. package/dist/chunks/{model-resolver-e834z07m.js → formatter-e834z07m.js} +1 -1
  134. package/dist/chunks/{model-resolver-vwa15b14.js → formatter-ec29h8ha.js} +49 -49
  135. package/dist/chunks/{model-resolver-hyn2hf34.js → formatter-enj9pb4k.js} +9 -9
  136. package/dist/chunks/{model-resolver-jd9t7fpz.js → formatter-envv585q.js} +54 -54
  137. package/dist/chunks/{model-resolver-pje2jx9t.js → formatter-enxh4fyk.js} +13 -13
  138. package/dist/chunks/{model-resolver-emg3vk42.js → formatter-fahcx4cp.js} +80 -80
  139. package/dist/chunks/{model-resolver-bjyz8pkd.js → formatter-fdthysjs.js} +26 -26
  140. package/dist/chunks/{model-resolver-fffv3p7h.js → formatter-fffv3p7h.js} +1 -1
  141. package/dist/chunks/{model-resolver-fg9p65nk.js → formatter-fg9p65nk.js} +2 -2
  142. package/dist/chunks/{model-resolver-5yypp707.js → formatter-fmt2zjvb.js} +17 -17
  143. package/dist/chunks/{model-resolver-2jz3h0mg.js → formatter-fnac5zc8.js} +13 -13
  144. package/dist/chunks/{model-resolver-x05mt2vr.js → formatter-fq6avx26.js} +31 -31
  145. package/dist/chunks/{model-resolver-ee456nc6.js → formatter-g3enaqm9.js} +16 -16
  146. package/dist/chunks/{model-resolver-qd123m2a.js → formatter-g6wkcjn2.js} +5 -5
  147. package/dist/chunks/{model-resolver-4dmkk8ef.js → formatter-g7gshgt7.js} +4 -4
  148. package/dist/chunks/{model-resolver-reccgsd2.js → formatter-g9jxkka8.js} +11 -11
  149. package/dist/chunks/{model-resolver-mznqryyf.js → formatter-gc1mvsnx.js} +8 -8
  150. package/dist/chunks/{model-resolver-bn4d6q1b.js → formatter-ge85sm10.js} +26 -26
  151. package/dist/chunks/{model-resolver-gg8p9cgs.js → formatter-gg8p9cgs.js} +3 -3
  152. package/dist/chunks/{model-resolver-axj80nt7.js → formatter-ghfyfjkc.js} +16 -16
  153. package/dist/chunks/{model-resolver-1c18fjk2.js → formatter-grv0jex9.js} +11 -11
  154. package/dist/chunks/{model-resolver-mbv30hgw.js → formatter-gsrcb0q9.js} +31 -31
  155. package/dist/chunks/{model-resolver-bhvs01y7.js → formatter-h4p3pyf8.js} +6 -6
  156. package/dist/chunks/{model-resolver-e2ber9ej.js → formatter-h659ea78.js} +4 -4
  157. package/dist/chunks/{model-resolver-bc7wy6df.js → formatter-hbdn8m45.js} +34 -34
  158. package/dist/chunks/{model-resolver-7ktdj9mm.js → formatter-hdfrs5mg.js} +9 -9
  159. package/dist/chunks/{model-resolver-c7r1w9rw.js → formatter-hgd7c2hz.js} +13 -13
  160. package/dist/chunks/{model-resolver-h88vzpmf.js → formatter-hhe1ee49.js} +3 -3
  161. package/dist/chunks/{model-resolver-02912v3r.js → formatter-hn3gdjg3.js} +37 -37
  162. package/dist/chunks/{model-resolver-e9fd3qhg.js → formatter-hp39vnpe.js} +38 -38
  163. package/dist/chunks/{model-resolver-hpg1pkwy.js → formatter-hpg1pkwy.js} +1 -1
  164. package/dist/chunks/{model-resolver-99vf0hqv.js → formatter-htx3sbcr.js} +24 -24
  165. package/dist/chunks/{model-resolver-dt8bs7ka.js → formatter-hvkex31a.js} +11 -11
  166. package/dist/chunks/{model-resolver-mpe6qr53.js → formatter-hx6gesf1.js} +8 -8
  167. package/dist/chunks/{model-resolver-y872wdn3.js → formatter-hyaynvgx.js} +25 -25
  168. package/dist/chunks/{model-resolver-mdmwbg8j.js → formatter-hz5mdqd1.js} +8 -8
  169. package/dist/chunks/{model-resolver-g75vtk68.js → formatter-j9revkc6.js} +41 -41
  170. package/dist/chunks/{model-resolver-jfaecv01.js → formatter-jfaecv01.js} +1 -1
  171. package/dist/chunks/{model-resolver-yw72hv1j.js → formatter-jq9280ps.js} +4 -4
  172. package/dist/chunks/{model-resolver-jtnps1zs.js → formatter-jtnps1zs.js} +2 -2
  173. package/dist/chunks/{model-resolver-wmv5c24e.js → formatter-jvcwjysj.js} +197 -197
  174. package/dist/chunks/{model-resolver-72dm1bvs.js → formatter-jwxccdg8.js} +3 -3
  175. package/dist/chunks/{model-resolver-cyy83wr4.js → formatter-k00f7hr2.js} +19 -19
  176. package/dist/chunks/{model-resolver-259dfg4a.js → formatter-k15fpqjy.js} +17 -17
  177. package/dist/chunks/{model-resolver-p2f2xnf4.js → formatter-k4d71d02.js} +8 -8
  178. package/dist/chunks/{model-resolver-q6jh4k34.js → formatter-k63k4b1f.js} +24 -24
  179. package/dist/chunks/{model-resolver-k814nvkf.js → formatter-k814nvkf.js} +1 -1
  180. package/dist/chunks/{model-resolver-m0rc5tkg.js → formatter-ka1bgm7s.js} +41 -41
  181. package/dist/chunks/{model-resolver-wgdwbctn.js → formatter-kgzzqqhe.js} +9 -9
  182. package/dist/chunks/{model-resolver-5ser1zg9.js → formatter-kjjfjqy3.js} +12 -12
  183. package/dist/chunks/{model-resolver-kt3bjfbg.js → formatter-kt3bjfbg.js} +1 -1
  184. package/dist/chunks/{model-resolver-s4wznsg5.js → formatter-kz7z5vjf.js} +9 -9
  185. package/dist/chunks/{model-resolver-n8jrpgc8.js → formatter-m0azqb84.js} +14 -14
  186. package/dist/chunks/{model-resolver-m1714858.js → formatter-m1714858.js} +1 -1
  187. package/dist/chunks/{model-resolver-w4wn8erh.js → formatter-m7fwq7c0.js} +22 -22
  188. package/dist/chunks/{model-resolver-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{model-resolver-y00x4xpa.js → formatter-mgcsgjq4.js} +4 -4
  190. package/dist/chunks/{model-resolver-dh6wd5j1.js → formatter-mjz2tdxa.js} +19 -19
  191. package/dist/chunks/{model-resolver-9615vp9a.js → formatter-mpswt61j.js} +1 -1
  192. package/dist/chunks/{model-resolver-akhh771z.js → formatter-mq5znjk8.js} +13 -13
  193. package/dist/chunks/{model-resolver-ejjd5knb.js → formatter-mwq3mt8e.js} +35 -35
  194. package/dist/chunks/{model-resolver-qjxc6f6y.js → formatter-mwx8k457.js} +20 -20
  195. package/dist/chunks/{model-resolver-mbwkpxg7.js → formatter-n8p4chj2.js} +2 -2
  196. package/dist/chunks/{model-resolver-mrsvesd2.js → formatter-n98b5x95.js} +1 -1
  197. package/dist/chunks/{model-resolver-nah043kf.js → formatter-nah043kf.js} +1 -1
  198. package/dist/chunks/{model-resolver-wx4czxg4.js → formatter-ngxbkp8v.js} +3 -3
  199. package/dist/chunks/{model-resolver-77gzjyfx.js → formatter-npbdyff7.js} +32 -32
  200. package/dist/chunks/{model-resolver-1wnedb0q.js → formatter-nrv1y2q0.js} +5 -5
  201. package/dist/chunks/{model-resolver-d94amd98.js → formatter-nsevj23t.js} +13 -13
  202. package/dist/chunks/{model-resolver-p015t6z3.js → formatter-p015t6z3.js} +2 -2
  203. package/dist/chunks/{model-resolver-9vjgnb2r.js → formatter-pa0ex826.js} +9 -9
  204. package/dist/chunks/{model-resolver-70q4g7fy.js → formatter-pd78jttv.js} +13 -13
  205. package/dist/chunks/{model-resolver-69zcgx44.js → formatter-pkh3c91y.js} +25 -25
  206. package/dist/chunks/{model-resolver-pknna89w.js → formatter-pknna89w.js} +1 -1
  207. package/dist/chunks/{model-resolver-6eh6zpt5.js → formatter-pt7m923m.js} +3 -3
  208. package/dist/chunks/{model-resolver-t4139yy5.js → formatter-pwzrj9r4.js} +27 -27
  209. package/dist/chunks/{model-resolver-r2d4vn47.js → formatter-q2zh2gwm.js} +19 -19
  210. package/dist/chunks/{model-resolver-92p41aee.js → formatter-q35sm1em.js} +1 -1
  211. package/dist/chunks/{model-resolver-9ndb8058.js → formatter-q39rmv9p.js} +93 -93
  212. package/dist/chunks/{model-resolver-q63cb7ap.js → formatter-q63cb7ap.js} +3 -3
  213. package/dist/chunks/{model-resolver-qp7r0hxv.js → formatter-qp7r0hxv.js} +1 -1
  214. package/dist/chunks/{model-resolver-3ryz99p0.js → formatter-qqg9c0kv.js} +4 -4
  215. package/dist/chunks/{model-resolver-fmxr4jhz.js → formatter-qw68mmce.js} +5 -5
  216. package/dist/chunks/{model-resolver-nq2cxg20.js → formatter-r0pbn82r.js} +9 -9
  217. package/dist/chunks/{model-resolver-r0yr0wbs.js → formatter-r0yr0wbs.js} +1 -1
  218. package/dist/chunks/{model-resolver-4s4jqh0r.js → formatter-r2h6cvw2.js} +3 -3
  219. package/dist/chunks/{model-resolver-r542h3bh.js → formatter-r542h3bh.js} +1 -1
  220. package/dist/chunks/{model-resolver-00vhvht6.js → formatter-r85hedwm.js} +9 -9
  221. package/dist/chunks/{model-resolver-rb9dy4dg.js → formatter-rb9dy4dg.js} +1 -1
  222. package/dist/chunks/{model-resolver-s0pcnr2w.js → formatter-rc57nzph.js} +15 -15
  223. package/dist/chunks/{model-resolver-xwjvc1xc.js → formatter-re90sanf.js} +9 -9
  224. package/dist/chunks/{model-resolver-rt5dr6hb.js → formatter-rt5dr6hb.js} +1 -1
  225. package/dist/chunks/{model-resolver-0yjd96ev.js → formatter-rvbdf6ee.js} +14 -14
  226. package/dist/chunks/{model-resolver-6bsbxh19.js → formatter-s3g9ecv2.js} +24 -24
  227. package/dist/chunks/{model-resolver-9q8g9sv8.js → formatter-s7kyse9r.js} +4 -4
  228. package/dist/chunks/{model-resolver-e2ne77ac.js → formatter-s7xmnr8t.js} +8 -8
  229. package/dist/chunks/{model-resolver-ejmp5hdk.js → formatter-s7zt2hwe.js} +32 -32
  230. package/dist/chunks/{model-resolver-sa3fpqfw.js → formatter-sa3fpqfw.js} +2 -2
  231. package/dist/chunks/{model-resolver-kk6hjsv6.js → formatter-sjchwnp0.js} +22 -22
  232. package/dist/chunks/{model-resolver-sqjzf8x2.js → formatter-sqjzf8x2.js} +1 -1
  233. package/dist/chunks/{model-resolver-gzdqjbk7.js → formatter-ssnx7b4e.js} +45 -45
  234. package/dist/chunks/{model-resolver-svcy3p9a.js → formatter-svcy3p9a.js} +1 -1
  235. package/dist/chunks/{model-resolver-cd00wddm.js → formatter-t0dansjm.js} +5 -5
  236. package/dist/chunks/{model-resolver-9y0knddb.js → formatter-t2z71z34.js} +5 -5
  237. package/dist/chunks/{model-resolver-7re6vdtc.js → formatter-t87050pk.js} +5 -5
  238. package/dist/chunks/{model-resolver-dx3ks3p5.js → formatter-tbhy4r12.js} +4 -4
  239. package/dist/chunks/{model-resolver-tczq8hjw.js → formatter-tczq8hjw.js} +1 -1
  240. package/dist/chunks/{model-resolver-kmzgegqq.js → formatter-tg1vr1qt.js} +8 -8
  241. package/dist/chunks/{model-resolver-0e6cmbb1.js → formatter-thvf23q9.js} +7 -7
  242. package/dist/chunks/{model-resolver-c5jkhswj.js → formatter-tknbc31d.js} +4 -4
  243. package/dist/chunks/{model-resolver-x8c03df4.js → formatter-tmd438dm.js} +3 -3
  244. package/dist/chunks/{model-resolver-n70b5eav.js → formatter-tmpv8qhk.js} +9 -9
  245. package/dist/chunks/{model-resolver-gqa9d39q.js → formatter-tp0wxn7d.js} +5 -5
  246. package/dist/chunks/{model-resolver-twssxy5n.js → formatter-twssxy5n.js} +2 -2
  247. package/dist/chunks/{model-resolver-v2r1d0zg.js → formatter-v2r1d0zg.js} +1 -1
  248. package/dist/chunks/{model-resolver-a8pfnwqf.js → formatter-v519ksy7.js} +46 -46
  249. package/dist/chunks/{model-resolver-k4003xxm.js → formatter-v6z303eq.js} +28 -28
  250. package/dist/chunks/{model-resolver-26x8chrq.js → formatter-vaq1yek0.js} +6 -6
  251. package/dist/chunks/formatter-vdh3rgac.js +18 -0
  252. package/dist/chunks/{model-resolver-veqvce7d.js → formatter-veqvce7d.js} +1 -1
  253. package/dist/chunks/{model-resolver-8vkd6pwc.js → formatter-vjbxdeb8.js} +12 -12
  254. package/dist/chunks/{model-resolver-g7esga4v.js → formatter-vmfhgzt5.js} +5 -5
  255. package/dist/chunks/{model-resolver-gcjdgkn2.js → formatter-vrcsa8qx.js} +9 -9
  256. package/dist/chunks/{model-resolver-t8vm8f3g.js → formatter-vrx9q2v9.js} +12 -12
  257. package/dist/chunks/{model-resolver-5ect6tx9.js → formatter-vx3jgdek.js} +3 -3
  258. package/dist/chunks/{model-resolver-k9zkdd2y.js → formatter-w307e9wj.js} +4 -4
  259. package/dist/chunks/{model-resolver-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{model-resolver-b6z35kmf.js → formatter-w687dnns.js} +4 -4
  261. package/dist/chunks/{model-resolver-wakvkjy4.js → formatter-wakvkjy4.js} +1 -1
  262. package/dist/chunks/{model-resolver-wd87259q.js → formatter-wd87259q.js} +1 -1
  263. package/dist/chunks/{model-resolver-03p96rzt.js → formatter-we007nbv.js} +25 -25
  264. package/dist/chunks/{model-resolver-yzg01fn7.js → formatter-whtafen9.js} +10 -10
  265. package/dist/chunks/{model-resolver-06bhh52d.js → formatter-wkztgnzq.js} +41 -41
  266. package/dist/chunks/{model-resolver-wnhgecwx.js → formatter-wnhgecwx.js} +1 -1
  267. package/dist/chunks/{model-resolver-j99dhamb.js → formatter-wtn2pt4a.js} +6 -6
  268. package/dist/chunks/{model-resolver-bpeyfd4s.js → formatter-wxrt44b6.js} +34 -34
  269. package/dist/chunks/{model-resolver-we6d48z7.js → formatter-x7gm0ha8.js} +5 -5
  270. package/dist/chunks/{model-resolver-heqsf106.js → formatter-xwc4j8ee.js} +12 -12
  271. package/dist/chunks/{model-resolver-bxkqm08j.js → formatter-xwyda8kd.js} +6 -6
  272. package/dist/chunks/{model-resolver-vdvshhtc.js → formatter-xzqqj5cv.js} +10 -10
  273. package/dist/chunks/{model-resolver-a8xdst61.js → formatter-xzwcmcya.js} +9 -9
  274. package/dist/chunks/{model-resolver-1tte1mx1.js → formatter-y03y2908.js} +13 -13
  275. package/dist/chunks/{model-resolver-yara3q77.js → formatter-yara3q77.js} +2 -2
  276. package/dist/chunks/{model-resolver-3j6nq55v.js → formatter-yb13j5xb.js} +5 -5
  277. package/dist/chunks/{model-resolver-yb20nhc3.js → formatter-yb20nhc3.js} +1 -1
  278. package/dist/chunks/{model-resolver-t7qjyp6j.js → formatter-yh2xpw0b.js} +20 -20
  279. package/dist/chunks/{model-resolver-xkpx6s0s.js → formatter-yhcrwr1f.js} +13 -13
  280. package/dist/chunks/{model-resolver-h9tajytd.js → formatter-yhn7d48k.js} +8 -8
  281. package/dist/chunks/{model-resolver-2mbjfaxd.js → formatter-yqveydy6.js} +4 -4
  282. package/dist/chunks/{model-resolver-dem1p0gt.js → formatter-yy19he2s.js} +38 -38
  283. package/dist/chunks/{model-resolver-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{model-resolver-z38nccrw.js → formatter-z38nccrw.js} +1 -1
  285. package/dist/chunks/{model-resolver-8qp8tat4.js → formatter-z4rk52fe.js} +22 -22
  286. package/dist/chunks/{model-resolver-20yqreeg.js → formatter-zayt27d7.js} +20 -20
  287. package/dist/chunks/{model-resolver-0wjsrq6g.js → formatter-ze827wmr.js} +35 -35
  288. package/dist/chunks/{model-resolver-7qjfmraz.js → formatter-zg5q7ejm.js} +59 -59
  289. package/dist/chunks/{model-resolver-aafmq595.js → formatter-zj8xsvef.js} +24 -24
  290. package/dist/chunks/{model-resolver-rq55acke.js → formatter-zma8xknj.js} +15 -15
  291. package/dist/chunks/{model-resolver-5h3ym5d6.js → formatter-znaw7jdf.js} +8 -8
  292. package/dist/chunks/{model-resolver-68aa2d0k.js → formatter-zv35kxex.js} +36 -36
  293. package/dist/chunks/{model-resolver-smna7vm8.js → formatter-zwjwjj82.js} +16 -16
  294. package/dist/chunks/{model-resolver-83sq6nks.js → formatter-zzg16z9m.js} +11 -11
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +9 -9
  297. package/dist/codemode/tool.js +3 -3
  298. package/dist/codemode/web.js +1 -1
  299. package/dist/command.js +89 -89
  300. package/dist/config/discovery.js +90 -90
  301. package/dist/config/integration.js +3 -3
  302. package/dist/config/markdown.js +1 -1
  303. package/dist/config/normalize.js +107 -107
  304. package/dist/config/plugin/agent.js +119 -119
  305. package/dist/config/plugin/command.js +219 -219
  306. package/dist/config/plugin/compaction.js +162 -162
  307. package/dist/config/plugin/compatibility.js +142 -142
  308. package/dist/config/plugin/entry-observer.js +1 -1
  309. package/dist/config/plugin/formatter.js +122 -122
  310. package/dist/config/plugin/image.js +121 -121
  311. package/dist/config/plugin/instruction.js +121 -121
  312. package/dist/config/plugin/location-watcher.js +121 -121
  313. package/dist/config/plugin/mcp.js +128 -128
  314. package/dist/config/plugin/policy.js +123 -123
  315. package/dist/config/plugin/provider.js +122 -122
  316. package/dist/config/plugin/reference.js +123 -123
  317. package/dist/config/plugin/shell.js +121 -121
  318. package/dist/config/plugin/skill-file.js +138 -138
  319. package/dist/config/plugin/skill-scan.js +1 -1
  320. package/dist/config/plugin/skill.js +143 -143
  321. package/dist/config/plugin/snapshot.js +121 -121
  322. package/dist/config/plugin/source.js +120 -120
  323. package/dist/config/plugin/tool-output.js +122 -122
  324. package/dist/config/plugin/websearch.js +120 -120
  325. package/dist/config/plugin/worktree.js +123 -123
  326. package/dist/config/variable.js +1 -1
  327. package/dist/config/watch.js +1 -1
  328. package/dist/config.js +120 -120
  329. package/dist/console-access.js +1 -1
  330. package/dist/credential/sql.js +2 -2
  331. package/dist/credential.js +89 -89
  332. package/dist/database/database.js +72 -72
  333. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  334. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  335. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  336. package/dist/database/drizzle/index.js +13 -13
  337. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  340. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  348. package/dist/database/drizzle.js +14 -14
  349. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  350. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  351. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  352. package/dist/database/migration/20260225215848_workspace.js +1 -1
  353. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  354. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  355. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  356. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  357. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  358. package/dist/database/migration/20260323234822_events.js +1 -1
  359. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  360. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  361. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  362. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  363. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  364. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  365. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  366. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  367. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  368. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  369. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  370. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  371. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  372. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  373. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  374. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  375. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  376. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  377. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  378. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  379. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  380. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  381. package/dist/database/migration/20260611035744_credential.js +1 -1
  382. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  383. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  384. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  385. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  386. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  387. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  388. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  389. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  390. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  391. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  392. package/dist/database/migration/20260812213948_worktree.js +1 -1
  393. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  394. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  395. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  396. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  397. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  398. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  399. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  400. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  401. package/dist/database/migration/20261025123711_blob.js +1 -1
  402. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  403. package/dist/database/migration.gen.js +55 -55
  404. package/dist/database/migration.js +57 -57
  405. package/dist/database/path.js +2 -2
  406. package/dist/database/schema.gen.js +1 -1
  407. package/dist/database/schema.sql.js +1 -1
  408. package/dist/database/sqlite.bun.js +1 -1
  409. package/dist/database/sqlite.js +1 -1
  410. package/dist/database/sqlite.node.js +1 -1
  411. package/dist/database/sqlite.workerd.js +1 -1
  412. package/dist/database/v1-migration.bun.js +100 -100
  413. package/dist/database/v1-migration.js +1 -1
  414. package/dist/effect/app-node-builder.js +381 -381
  415. package/dist/effect/app-node-platform.js +2 -2
  416. package/dist/effect/keyed-mutex.js +1 -1
  417. package/dist/effect/websocket-constructor.js +1 -1
  418. package/dist/environment/driver.js +1 -1
  419. package/dist/environment/environment.js +101 -101
  420. package/dist/environment/exec-defaults.js +2 -2
  421. package/dist/environment/files.js +1 -1
  422. package/dist/environment/index.js +103 -103
  423. package/dist/environment/local.js +2 -2
  424. package/dist/environment/memory.js +2 -2
  425. package/dist/environment/unavailable.js +3 -3
  426. package/dist/event/sql.js +1 -1
  427. package/dist/event-logger.js +80 -80
  428. package/dist/file-access.js +148 -148
  429. package/dist/file-mutation.js +98 -98
  430. package/dist/file-retention.js +1 -1
  431. package/dist/filesystem/fff.bun.js +2 -2
  432. package/dist/filesystem/fff.js +1 -1
  433. package/dist/filesystem/fff.node.js +2 -2
  434. package/dist/filesystem/fff.workerd.js +2 -2
  435. package/dist/filesystem/file-watch.js +84 -84
  436. package/dist/filesystem/location-watcher-policy.js +6 -6
  437. package/dist/filesystem/location-watcher.js +232 -232
  438. package/dist/filesystem/protected.js +1 -1
  439. package/dist/filesystem/search.js +107 -107
  440. package/dist/filesystem/watcher-binding.js +1 -1
  441. package/dist/filesystem/watcher.js +7 -7
  442. package/dist/filesystem.js +112 -112
  443. package/dist/form.js +88 -88
  444. package/dist/formatter/builtins.js +4 -4
  445. package/dist/formatter.js +95 -95
  446. package/dist/generate.js +113 -113
  447. package/dist/git.js +11 -11
  448. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  449. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  450. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  451. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  452. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  453. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  454. package/dist/github-copilot/copilot-provider.js +17 -17
  455. package/dist/github-copilot/models.js +107 -107
  456. package/dist/github-copilot/openai-compatible-error.js +1 -1
  457. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  458. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  459. package/dist/github-copilot/responses/openai-error.js +1 -1
  460. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  461. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  462. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  463. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  464. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  467. package/dist/image/photon-normalize.js +1 -1
  468. package/dist/image/photon-worker.js +1 -1
  469. package/dist/image/photon.js +4 -4
  470. package/dist/image.js +6 -6
  471. package/dist/instance/service.js +5 -5
  472. package/dist/instance.js +372 -372
  473. package/dist/instruction-discovery.js +90 -90
  474. package/dist/instructions/builtins.js +95 -95
  475. package/dist/instructions/index.js +1 -1
  476. package/dist/integration/connection.js +3 -3
  477. package/dist/integration.js +95 -95
  478. package/dist/job.js +84 -84
  479. package/dist/kv/sql.js +2 -2
  480. package/dist/kv.js +79 -79
  481. package/dist/location-activity.js +164 -164
  482. package/dist/location-lifecycle.js +142 -142
  483. package/dist/location-service-map.js +94 -94
  484. package/dist/location-services.js +369 -369
  485. package/dist/location.js +97 -97
  486. package/dist/managed-policy.js +3 -3
  487. package/dist/mcp/client.js +99 -99
  488. package/dist/mcp/index.js +115 -115
  489. package/dist/mcp/instructions.js +166 -166
  490. package/dist/mcp/oauth.js +84 -84
  491. package/dist/mcp/socket-client.js +1 -1
  492. package/dist/mcp/stdio.js +98 -98
  493. package/dist/mime.js +1 -1
  494. package/dist/modal/models.js +107 -107
  495. package/dist/model-resolver.js +107 -107
  496. package/dist/model-retry.js +1 -1
  497. package/dist/model.js +102 -102
  498. package/dist/models-dev/v1.js +1 -1
  499. package/dist/models-dev.js +116 -116
  500. package/dist/oauth/page.js +1 -1
  501. package/dist/permission/saved.js +84 -84
  502. package/dist/permission/sql.js +5 -5
  503. package/dist/permission.js +143 -143
  504. package/dist/persistent-pty/binary.bun.js +1 -1
  505. package/dist/persistent-pty/daemon.js +1 -1
  506. package/dist/persistent-pty/index.js +96 -96
  507. package/dist/persistent-pty/pty-binding.js +1 -1
  508. package/dist/persistent-pty.js +81 -81
  509. package/dist/plugin/agent.js +80 -80
  510. package/dist/plugin/command.js +108 -108
  511. package/dist/plugin/hooks.js +5 -5
  512. package/dist/plugin/host.js +227 -227
  513. package/dist/plugin/identity.js +5 -5
  514. package/dist/plugin/instance.js +5 -5
  515. package/dist/plugin/internal.js +342 -342
  516. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  517. package/dist/plugin/models-dev.js +105 -105
  518. package/dist/plugin/module.js +121 -121
  519. package/dist/plugin/optimize.js +4 -4
  520. package/dist/plugin/plan.js +136 -136
  521. package/dist/plugin/promise.js +1 -1
  522. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  523. package/dist/plugin/provider/azure.js +121 -121
  524. package/dist/plugin/provider/cerebras.js +1 -1
  525. package/dist/plugin/provider/chatgpt.js +121 -121
  526. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  527. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  528. package/dist/plugin/provider/cohere.js +2 -2
  529. package/dist/plugin/provider/configured.js +117 -117
  530. package/dist/plugin/provider/databricks.js +1 -1
  531. package/dist/plugin/provider/digitalocean.js +101 -101
  532. package/dist/plugin/provider/dynamic.js +2 -2
  533. package/dist/plugin/provider/factory.js +1 -1
  534. package/dist/plugin/provider/github-copilot.js +103 -103
  535. package/dist/plugin/provider/gitlab.js +101 -101
  536. package/dist/plugin/provider/google-vertex.js +118 -118
  537. package/dist/plugin/provider/kilo.js +1 -1
  538. package/dist/plugin/provider/llmgateway.js +84 -84
  539. package/dist/plugin/provider/lmstudio.js +128 -128
  540. package/dist/plugin/provider/local.js +127 -127
  541. package/dist/plugin/provider/modal.js +100 -100
  542. package/dist/plugin/provider/neon.js +1 -1
  543. package/dist/plugin/provider/nvidia.js +1 -1
  544. package/dist/plugin/provider/ollama.js +130 -130
  545. package/dist/plugin/provider/openai-context-caps.js +98 -98
  546. package/dist/plugin/provider/openai.js +123 -123
  547. package/dist/plugin/provider/opencode.js +124 -124
  548. package/dist/plugin/provider/openrouter.js +99 -99
  549. package/dist/plugin/provider/perplexity.js +2 -2
  550. package/dist/plugin/provider/poe.js +85 -85
  551. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  552. package/dist/plugin/provider/sap-ai-core.js +99 -99
  553. package/dist/plugin/provider/sdk-factory.js +1 -1
  554. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  555. package/dist/plugin/provider/vercel.js +98 -98
  556. package/dist/plugin/provider/vllm.js +128 -128
  557. package/dist/plugin/provider/xai.js +99 -99
  558. package/dist/plugin/provider/zenmux.js +1 -1
  559. package/dist/plugin/provider.js +175 -175
  560. package/dist/plugin/sdk.js +82 -82
  561. package/dist/plugin/service.js +3 -3
  562. package/dist/plugin/skill.js +139 -139
  563. package/dist/plugin/source-directory.js +1 -1
  564. package/dist/plugin/supervisor.js +357 -357
  565. package/dist/plugin/tool-input-repair.js +4 -4
  566. package/dist/plugin/update.js +2 -2
  567. package/dist/plugin/vcs/git.js +94 -94
  568. package/dist/plugin/vcs/hg.js +94 -94
  569. package/dist/plugin/verbosity.js +101 -101
  570. package/dist/plugin/warming.js +117 -117
  571. package/dist/plugin/websearch/exa.js +7 -7
  572. package/dist/plugin/websearch/firecrawl.js +8 -8
  573. package/dist/plugin/websearch/index.js +9 -9
  574. package/dist/plugin/websearch/mcp.js +2 -2
  575. package/dist/plugin/websearch/parallel.js +8 -8
  576. package/dist/plugin/websearch/tavily.js +6 -6
  577. package/dist/plugin/websearch/tinyfish.js +8 -8
  578. package/dist/plugin.js +232 -232
  579. package/dist/project/icon.js +5 -5
  580. package/dist/project/schema.js +8 -8
  581. package/dist/project/sql.js +4 -4
  582. package/dist/project.js +98 -98
  583. package/dist/provider.js +101 -101
  584. package/dist/pty/protocol.js +1 -1
  585. package/dist/pty/ticket.js +1 -1
  586. package/dist/pty.js +104 -104
  587. package/dist/reference/instructions.js +94 -94
  588. package/dist/reference.js +96 -96
  589. package/dist/repository-cache.js +88 -88
  590. package/dist/repository.js +1 -1
  591. package/dist/ripgrep/binary.js +2 -2
  592. package/dist/ripgrep.js +103 -103
  593. package/dist/rpc.js +94 -94
  594. package/dist/schema.js +1 -1
  595. package/dist/session/affinity.js +1 -1
  596. package/dist/session/blob.js +120 -120
  597. package/dist/session/command.js +80 -80
  598. package/dist/session/compaction.js +162 -162
  599. package/dist/session/context.js +188 -188
  600. package/dist/session/diff.js +96 -96
  601. package/dist/session/environment.js +5 -5
  602. package/dist/session/error.js +5 -5
  603. package/dist/session/event.js +1 -1
  604. package/dist/session/execution/restart.js +231 -231
  605. package/dist/session/execution.js +150 -150
  606. package/dist/session/generate.js +188 -188
  607. package/dist/session/history.js +127 -127
  608. package/dist/session/inbox.js +136 -136
  609. package/dist/session/info.js +3 -3
  610. package/dist/session/instruction-entry.js +85 -85
  611. package/dist/session/instruction-state.js +8 -8
  612. package/dist/session/instructions.js +132 -132
  613. package/dist/session/message-updater.js +2 -2
  614. package/dist/session/message.js +1 -1
  615. package/dist/session/model-request.js +155 -155
  616. package/dist/session/model-transport.js +9 -9
  617. package/dist/session/move.js +156 -156
  618. package/dist/session/projector.js +134 -134
  619. package/dist/session/prompt.js +140 -140
  620. package/dist/session/recent-text.js +1 -1
  621. package/dist/session/revert.js +130 -130
  622. package/dist/session/run-coordinator.js +3 -3
  623. package/dist/session/runner/index.js +3 -3
  624. package/dist/session/runner/llm.js +238 -238
  625. package/dist/session/runner/max-steps.js +1 -1
  626. package/dist/session/runner/model.js +104 -104
  627. package/dist/session/runner/publish-llm-event.js +141 -141
  628. package/dist/session/runner/retry.js +5 -5
  629. package/dist/session/runner/step.js +152 -152
  630. package/dist/session/runner/to-llm-message.js +128 -128
  631. package/dist/session/schema.js +5 -5
  632. package/dist/session/session.js +172 -172
  633. package/dist/session/shell.js +135 -135
  634. package/dist/session/skill.js +139 -139
  635. package/dist/session/sql.js +5 -5
  636. package/dist/session/stats.js +79 -79
  637. package/dist/session/store.js +133 -133
  638. package/dist/session/stored.js +2 -2
  639. package/dist/session/subagent-completion.js +1 -1
  640. package/dist/session/subagent-job.js +215 -215
  641. package/dist/session/system-prompt.js +3 -3
  642. package/dist/session/title.js +190 -190
  643. package/dist/session/to-session-error.js +140 -140
  644. package/dist/session/transfer.js +227 -227
  645. package/dist/session/usage.js +1 -1
  646. package/dist/session.js +223 -223
  647. package/dist/shell/parse.js +6 -6
  648. package/dist/shell/result.js +1 -1
  649. package/dist/shell/scan.js +1 -1
  650. package/dist/shell/select.js +7 -7
  651. package/dist/shell.js +137 -137
  652. package/dist/skill/discovery.js +6 -6
  653. package/dist/skill/instructions.js +143 -143
  654. package/dist/skill.js +148 -148
  655. package/dist/snapshot.js +97 -97
  656. package/dist/state.js +1 -1
  657. package/dist/tool/html-markdown.js +1 -1
  658. package/dist/tool/http-body.js +1 -1
  659. package/dist/tool/mcp.js +165 -165
  660. package/dist/tool/plugin/edit.js +156 -156
  661. package/dist/tool/plugin/file-diff.js +1 -1
  662. package/dist/tool/plugin/glob.js +160 -160
  663. package/dist/tool/plugin/grep.js +158 -158
  664. package/dist/tool/plugin/mcp-resource.js +154 -154
  665. package/dist/tool/plugin/opencode.js +153 -153
  666. package/dist/tool/plugin/patch.js +158 -158
  667. package/dist/tool/plugin/question.js +140 -140
  668. package/dist/tool/plugin/read.js +161 -161
  669. package/dist/tool/plugin/shell.js +222 -222
  670. package/dist/tool/plugin/skill.js +147 -147
  671. package/dist/tool/plugin/subagent.js +226 -226
  672. package/dist/tool/plugin/todo.js +145 -145
  673. package/dist/tool/plugin/webfetch.js +147 -147
  674. package/dist/tool/plugin/websearch.js +145 -145
  675. package/dist/tool/plugin/write.js +158 -158
  676. package/dist/tool/read-filesystem.js +108 -108
  677. package/dist/tool/runtime.js +1 -1
  678. package/dist/tool-output.js +7 -7
  679. package/dist/tool.js +14 -14
  680. package/dist/usage-limits.js +95 -95
  681. package/dist/util/error-summary.js +1 -1
  682. package/dist/util/git-executable.js +3 -3
  683. package/dist/util/lazy.js +1 -1
  684. package/dist/util/slug.js +1 -1
  685. package/dist/util/token.js +1 -1
  686. package/dist/util/which.js +1 -1
  687. package/dist/util/wildcard.js +1 -1
  688. package/dist/v1/config/agent.js +5 -5
  689. package/dist/v1/config/command.js +3 -3
  690. package/dist/v1/config/mcp.js +4 -4
  691. package/dist/v1/config/migrate.js +100 -100
  692. package/dist/v1/config/permission.js +3 -3
  693. package/dist/v1/config/plugin.js +1 -1
  694. package/dist/v1/config/provider-options.js +1 -1
  695. package/dist/v1/config/provider.js +4 -4
  696. package/dist/variant.js +99 -99
  697. package/dist/vcs/patch.js +1 -1
  698. package/dist/vcs.js +97 -97
  699. package/dist/voice.js +90 -90
  700. package/dist/websearch.js +90 -90
  701. package/dist/wellknown/plugin.js +82 -82
  702. package/dist/wellknown.js +81 -81
  703. package/dist/workspace/driver.js +5 -5
  704. package/dist/workspace/sql.js +1 -1
  705. package/dist/workspace.js +88 -88
  706. package/dist/worktree/directory.js +2 -2
  707. package/dist/worktree/git.js +11 -11
  708. package/dist/worktree/sql.js +5 -5
  709. package/dist/worktree/strategies.js +97 -97
  710. package/dist/worktree.js +104 -104
  711. package/package.json +8 -8
  712. package/dist/chunks/model-resolver-0rvmmz3p.js +0 -511
  713. package/dist/chunks/model-resolver-6zjm2phc.js +0 -18
  714. package/dist/chunks/model-resolver-ean10rq4.js +0 -26
  715. package/dist/chunks/model-resolver-ft16aaq7.js +0 -257
  716. /package/dist/chunks/{model-resolver-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
  717. /package/dist/chunks/{model-resolver-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
  718. /package/dist/chunks/{model-resolver-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
  719. /package/dist/chunks/{model-resolver-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
  720. /package/dist/chunks/{model-resolver-1jakw16s.js → formatter-1jakw16s.js} +0 -0
  721. /package/dist/chunks/{model-resolver-24dcb14g.js → formatter-24dcb14g.js} +0 -0
  722. /package/dist/chunks/{model-resolver-2710q6r3.js → formatter-2710q6r3.js} +0 -0
  723. /package/dist/chunks/{model-resolver-2bv980vf.js → formatter-2bv980vf.js} +0 -0
  724. /package/dist/chunks/{model-resolver-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
  725. /package/dist/chunks/{model-resolver-359p4xyc.js → formatter-359p4xyc.js} +0 -0
  726. /package/dist/chunks/{model-resolver-3asan66x.js → formatter-3asan66x.js} +0 -0
  727. /package/dist/chunks/{model-resolver-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
  728. /package/dist/chunks/{model-resolver-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
  729. /package/dist/chunks/{model-resolver-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
  730. /package/dist/chunks/{model-resolver-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
  731. /package/dist/chunks/{model-resolver-4m86bj6y.js → formatter-4m86bj6y.js} +0 -0
  732. /package/dist/chunks/{model-resolver-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
  733. /package/dist/chunks/{model-resolver-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
  734. /package/dist/chunks/{model-resolver-53557ph1.js → formatter-53557ph1.js} +0 -0
  735. /package/dist/chunks/{model-resolver-550bvhaj.js → formatter-550bvhaj.js} +0 -0
  736. /package/dist/chunks/{model-resolver-5w3e23ze.js → formatter-5w3e23ze.js} +0 -0
  737. /package/dist/chunks/{model-resolver-6prwharc.js → formatter-6prwharc.js} +0 -0
  738. /package/dist/chunks/{model-resolver-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
  739. /package/dist/chunks/{model-resolver-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
  740. /package/dist/chunks/{model-resolver-7m9af43g.js → formatter-7m9af43g.js} +0 -0
  741. /package/dist/chunks/{model-resolver-822emrt2.js → formatter-822emrt2.js} +0 -0
  742. /package/dist/chunks/{model-resolver-84wd9syh.js → formatter-84wd9syh.js} +0 -0
  743. /package/dist/chunks/{model-resolver-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
  744. /package/dist/chunks/{model-resolver-8n3pysct.js → formatter-8n3pysct.js} +0 -0
  745. /package/dist/chunks/{model-resolver-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
  746. /package/dist/chunks/{model-resolver-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
  747. /package/dist/chunks/{model-resolver-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
  748. /package/dist/chunks/{model-resolver-a058387c.js → formatter-a058387c.js} +0 -0
  749. /package/dist/chunks/{model-resolver-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
  750. /package/dist/chunks/{model-resolver-af5trqkr.js → formatter-af5trqkr.js} +0 -0
  751. /package/dist/chunks/{model-resolver-afrmfg78.js → formatter-afrmfg78.js} +0 -0
  752. /package/dist/chunks/{model-resolver-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
  753. /package/dist/chunks/{model-resolver-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
  754. /package/dist/chunks/{model-resolver-beh6qq61.js → formatter-beh6qq61.js} +0 -0
  755. /package/dist/chunks/{model-resolver-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
  756. /package/dist/chunks/{model-resolver-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
  757. /package/dist/chunks/{model-resolver-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
  758. /package/dist/chunks/{model-resolver-cqv5kn06.js → formatter-cqv5kn06.js} +0 -0
  759. /package/dist/chunks/{model-resolver-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
  760. /package/dist/chunks/{model-resolver-d9fn303g.js → formatter-d9fn303g.js} +0 -0
  761. /package/dist/chunks/{model-resolver-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
  762. /package/dist/chunks/{model-resolver-dajrwvna.js → formatter-dajrwvna.js} +0 -0
  763. /package/dist/chunks/{model-resolver-dap0rakb.js → formatter-dap0rakb.js} +0 -0
  764. /package/dist/chunks/{model-resolver-df08tz66.js → formatter-df08tz66.js} +0 -0
  765. /package/dist/chunks/{model-resolver-dy18nga0.js → formatter-dy18nga0.js} +0 -0
  766. /package/dist/chunks/{model-resolver-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
  767. /package/dist/chunks/{model-resolver-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
  768. /package/dist/chunks/{model-resolver-ec1grn59.js → formatter-ec1grn59.js} +0 -0
  769. /package/dist/chunks/{model-resolver-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
  770. /package/dist/chunks/{model-resolver-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
  771. /package/dist/chunks/{model-resolver-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
  772. /package/dist/chunks/{model-resolver-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
  773. /package/dist/chunks/{model-resolver-faypxj3z.js → formatter-faypxj3z.js} +0 -0
  774. /package/dist/chunks/{model-resolver-fd410y7t.js → formatter-fd410y7t.js} +0 -0
  775. /package/dist/chunks/{model-resolver-fkpq3x5p.js → formatter-fkpq3x5p.js} +0 -0
  776. /package/dist/chunks/{model-resolver-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
  777. /package/dist/chunks/{model-resolver-g86h250q.js → formatter-g86h250q.js} +0 -0
  778. /package/dist/chunks/{model-resolver-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
  779. /package/dist/chunks/{model-resolver-gftt206x.js → formatter-gftt206x.js} +0 -0
  780. /package/dist/chunks/{model-resolver-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
  781. /package/dist/chunks/{model-resolver-hk9envan.js → formatter-hk9envan.js} +0 -0
  782. /package/dist/chunks/{model-resolver-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
  783. /package/dist/chunks/{model-resolver-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
  784. /package/dist/chunks/{model-resolver-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
  785. /package/dist/chunks/{model-resolver-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
  786. /package/dist/chunks/{model-resolver-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
  787. /package/dist/chunks/{model-resolver-jwr30sdr.js → formatter-jwr30sdr.js} +0 -0
  788. /package/dist/chunks/{model-resolver-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
  789. /package/dist/chunks/{model-resolver-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
  790. /package/dist/chunks/{model-resolver-m18g726c.js → formatter-m18g726c.js} +0 -0
  791. /package/dist/chunks/{model-resolver-mp448xyj.js → formatter-mp448xyj.js} +0 -0
  792. /package/dist/chunks/{model-resolver-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
  793. /package/dist/chunks/{model-resolver-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
  794. /package/dist/chunks/{model-resolver-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
  795. /package/dist/chunks/{model-resolver-ncqqe42p.js → formatter-ncqqe42p.js} +0 -0
  796. /package/dist/chunks/{model-resolver-njntx4h6.js → formatter-njntx4h6.js} +0 -0
  797. /package/dist/chunks/{model-resolver-p71gwv9c.js → formatter-p71gwv9c.js} +0 -0
  798. /package/dist/chunks/{model-resolver-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
  799. /package/dist/chunks/{model-resolver-q74kybfr.js → formatter-q74kybfr.js} +0 -0
  800. /package/dist/chunks/{model-resolver-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
  801. /package/dist/chunks/{model-resolver-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
  802. /package/dist/chunks/{model-resolver-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
  803. /package/dist/chunks/{model-resolver-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
  804. /package/dist/chunks/{model-resolver-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
  805. /package/dist/chunks/{model-resolver-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
  806. /package/dist/chunks/{model-resolver-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
  807. /package/dist/chunks/{model-resolver-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
  808. /package/dist/chunks/{model-resolver-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
  809. /package/dist/chunks/{model-resolver-w803qqfp.js → formatter-w803qqfp.js} +0 -0
  810. /package/dist/chunks/{model-resolver-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
  811. /package/dist/chunks/{model-resolver-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
  812. /package/dist/chunks/{model-resolver-wtztk69x.js → formatter-wtztk69x.js} +0 -0
  813. /package/dist/chunks/{model-resolver-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
  814. /package/dist/chunks/{model-resolver-x61499pn.js → formatter-x61499pn.js} +0 -0
  815. /package/dist/chunks/{model-resolver-y44na4kk.js → formatter-y44na4kk.js} +0 -0
  816. /package/dist/chunks/{model-resolver-y8f7s663.js → formatter-y8f7s663.js} +0 -0
  817. /package/dist/chunks/{model-resolver-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
  818. /package/dist/chunks/{model-resolver-ym463w8f.js → formatter-ym463w8f.js} +0 -0
  819. /package/dist/chunks/{model-resolver-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
  820. /package/dist/chunks/{model-resolver-z9919s4g.js → formatter-z9919s4g.js} +0 -0
@@ -1,14 +1,14 @@
1
1
  import {
2
- Service84,
3
- node87
4
- } from "./model-resolver-0yjd96ev.js";
2
+ Service85,
3
+ node89
4
+ } from "./formatter-rvbdf6ee.js";
5
5
  import {
6
6
  changes2,
7
7
  create3
8
- } from "./model-resolver-204s3925.js";
8
+ } from "./formatter-204s3925.js";
9
9
  import {
10
10
  __export
11
- } from "./model-resolver-9rqn6x4v.js";
11
+ } from "./formatter-9rqn6x4v.js";
12
12
 
13
13
  // src/agent.ts
14
14
  var exports_agent3 = {};
@@ -16,27 +16,27 @@ __export(exports_agent3, {
16
16
  Agent: () => exports_agent3,
17
17
  Color: () => Color2,
18
18
  Event: () => Event12,
19
- ID: () => ID8,
19
+ ID: () => ID10,
20
20
  Info: () => Info14,
21
21
  Name: () => Name3,
22
- Service: () => Service62,
22
+ Service: () => Service68,
23
23
  defaultID: () => defaultID2,
24
- node: () => node65
24
+ node: () => node72
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Event as Event12 } from "@opencode/schema/agent";
30
- var ID8 = Agent.ID;
30
+ var ID10 = Agent.ID;
31
31
  var Name3 = Agent.Name;
32
- var defaultID2 = ID8.make("build");
32
+ var defaultID2 = ID10.make("build");
33
33
  var Color2 = Agent.Color;
34
34
  var Info14 = Agent.Info;
35
35
 
36
- class Service62 extends Context.Service()("@opencode/Agent") {
36
+ class Service68 extends Context.Service()("@opencode/Agent") {
37
37
  }
38
- var layer = Layer.effect(Service62, Effect.gen(function* () {
39
- const bus = yield* Service84;
38
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
39
+ const bus = yield* Service85;
40
40
  const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
41
41
  const selectedDefault = (data) => {
42
42
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
80
80
  }),
81
81
  notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
82
82
  });
83
- return Service62.of({
83
+ return Service68.of({
84
84
  transform: state.transform,
85
85
  reload: state.reload,
86
86
  get: Effect.fn("Agent.get")(function* (id) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
88
88
  }),
89
89
  resolve: Effect.fnUntraced(function* (id) {
90
90
  if (id !== undefined)
91
- return state.get().agents.get(ID8.make(id));
91
+ return state.get().agents.get(ID10.make(id));
92
92
  return selectedDefault(state.get());
93
93
  }),
94
94
  select: Effect.fn("Agent.select")(function* (id) {
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
102
102
  })
103
103
  });
104
104
  }));
105
- var node65 = makeLocationNode({ service: Service62, layer, deps: [node87] });
105
+ var node72 = makeLocationNode({ service: Service68, layer, deps: [node89] });
106
106
 
107
- export { ID8, Name3, defaultID2, Color2, Info14, Service62, node65, exports_agent3, Event12 };
107
+ export { ID10, Name3, defaultID2, Color2, Info14, Service68, node72, exports_agent3, Event12 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service84
3
- } from "./model-resolver-0yjd96ev.js";
2
+ Service85
3
+ } from "./formatter-rvbdf6ee.js";
4
4
  import {
5
- Service80
6
- } from "./model-resolver-dy0t2s89.js";
5
+ Service72
6
+ } from "./formatter-9can0ppv.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  changes2,
12
12
  inherit2
13
- } from "./model-resolver-204s3925.js";
13
+ } from "./formatter-204s3925.js";
14
14
  import {
15
- Service26,
15
+ Service25,
16
16
  awaitActivation2
17
- } from "./model-resolver-6zjm2phc.js";
17
+ } from "./formatter-vdh3rgac.js";
18
18
  import {
19
- make12,
19
+ make11,
20
20
  requirements3,
21
21
  storage2
22
- } from "./model-resolver-wmv5c24e.js";
22
+ } from "./formatter-jvcwjysj.js";
23
23
  import {
24
24
  __export
25
- } from "./model-resolver-9rqn6x4v.js";
25
+ } from "./formatter-9rqn6x4v.js";
26
26
 
27
27
  // src/plugin.ts
28
28
  var exports_plugin2 = {};
@@ -30,23 +30,23 @@ __export(exports_plugin2, {
30
30
  Event: () => Event2,
31
31
  GuiBundle: () => GuiBundle2,
32
32
  ID: () => ID2,
33
- Info: () => Info4,
33
+ Info: () => Info3,
34
34
  Plugin: () => exports_plugin2,
35
- Service: () => Service26,
35
+ Service: () => Service25,
36
36
  Source: () => Source2,
37
37
  State: () => State2,
38
38
  awaitActivation: () => awaitActivation2,
39
- node: () => node20
39
+ node: () => node18
40
40
  });
41
- import { Event as Event2, GuiBundle as GuiBundle2, ID as ID2, Info as Info4, Source as Source2, State as State2 } from "@opencode/schema/plugin";
41
+ import { Event as Event2, GuiBundle as GuiBundle2, ID as ID2, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
42
42
  import { readFile } from "node:fs/promises";
43
43
  import { fileURLToPath } from "node:url";
44
44
  import { Plugin } from "@opencode/schema/plugin";
45
45
  import { Node } from "@opencode/util/effect/app-node";
46
46
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
47
- var layer = Layer.effect(Service26, Effect.gen(function* () {
48
- const bus = yield* Service84;
49
- const kv = yield* Service80;
47
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
48
+ const bus = yield* Service85;
49
+ const kv = yield* Service72;
50
50
  const scope = yield* Scope.make();
51
51
  const active = new Map;
52
52
  const lock = Semaphore.makeUnsafe(1);
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
79
79
  const code = yield* Effect.promise(() => readFile(fileURLToPath(gui.file), "utf8"));
80
80
  return { code, revision: gui.revision, options: gui.options };
81
81
  });
82
- const host = yield* make12({ list });
82
+ const host = yield* make11({ list });
83
83
  const load = Effect.fnUntraced(function* (plugin) {
84
84
  const activation = { plugin, scope: yield* Scope.fork(scope) };
85
85
  const inherit = yield* inherit2();
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
214
214
  yield* shutdown2(Scope.close(scope, exit));
215
215
  }));
216
216
  yield* Effect.addFinalizer(close);
217
- return Service26.of({
217
+ return Service25.of({
218
218
  activate,
219
219
  close,
220
220
  awaitActivation: ready.await,
@@ -232,10 +232,10 @@ function slotInfo(slot) {
232
232
  features: slot.plugin.features ?? { server: true }
233
233
  };
234
234
  }
235
- var node20 = Node.makeLocationNode({
236
- service: Service26,
235
+ var node18 = Node.makeLocationNode({
236
+ service: Service25,
237
237
  layer,
238
238
  deps: [requirements3]
239
239
  });
240
240
 
241
- export { node20, exports_plugin2, Event2, GuiBundle2, ID2, Info4, Source2, State2 };
241
+ export { node18, exports_plugin2, Event2, GuiBundle2, ID2, Info3, Source2, State2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- Service84
3
- } from "./model-resolver-0yjd96ev.js";
2
+ Service85
3
+ } from "./formatter-rvbdf6ee.js";
4
4
  import {
5
- ID17,
6
- Event20,
7
- Service83
8
- } from "./model-resolver-20xwdmdm.js";
5
+ ID16,
6
+ Event18,
7
+ Service78
8
+ } from "./formatter-cjce029x.js";
9
9
  import {
10
- ID11
11
- } from "./model-resolver-wtt1w7za.js";
10
+ ID13
11
+ } from "./formatter-35zt77b2.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./model-resolver-7dz079pe.js";
14
+ } from "./formatter-6rt7ts86.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -43,8 +43,8 @@ var GoogleVertexPlugin2 = define({
43
43
  id: "opencode.provider.google.vertex",
44
44
  effect: Effect.fn(function* (ctx) {
45
45
  const fs = yield* FSUtil.Service;
46
- const credentials = yield* Service83;
47
- const bus = yield* Service84;
46
+ const credentials = yield* Service78;
47
+ const bus = yield* Service85;
48
48
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
49
49
  return;
50
50
  }));
@@ -53,7 +53,7 @@ var GoogleVertexPlugin2 = define({
53
53
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
54
54
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
55
55
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
56
- const configured = (yield* configuredSettings2(ID11.googleVertex)) ?? {};
56
+ const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
57
57
  const projects = Array.from(new Set([
58
58
  resolveProject(configured),
59
59
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -67,8 +67,8 @@ var GoogleVertexPlugin2 = define({
67
67
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
68
68
  ]));
69
69
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
70
- const connection = yield* ctx.integration.connection.active(ID11.googleVertex);
71
- const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
70
+ const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
71
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
72
72
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
73
73
  return {};
74
74
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -76,15 +76,15 @@ var GoogleVertexPlugin2 = define({
76
76
  const selected = { settings: yield* load() };
77
77
  const settingsFor = (provider) => ({
78
78
  ...provider.settings,
79
- ...(provider.integrationID ?? provider.id) === ID11.googleVertex ? selected.settings : {}
79
+ ...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
80
80
  });
81
81
  yield* ctx.integration.transform((editor) => {
82
82
  editor.method.update({
83
- integrationID: ID11.googleVertex,
83
+ integrationID: ID13.googleVertex,
84
84
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
85
85
  });
86
86
  editor.method.update({
87
- integrationID: ID11.googleVertex,
87
+ integrationID: ID13.googleVertex,
88
88
  method: {
89
89
  id: ADC_METHOD,
90
90
  type: "external",
@@ -122,7 +122,7 @@ var GoogleVertexPlugin2 = define({
122
122
  });
123
123
  yield* ctx.provider.transform((evt) => {
124
124
  for (const item of evt.list()) {
125
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
125
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
126
126
  continue;
127
127
  const settings = settingsFor(item.provider);
128
128
  const project = resolveProject(settings);
@@ -141,7 +141,7 @@ var GoogleVertexPlugin2 = define({
141
141
  });
142
142
  yield* ctx.model.transform((models) => {
143
143
  for (const item of models.provider.list()) {
144
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
144
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
145
145
  continue;
146
146
  const settings = settingsFor(item.provider);
147
147
  const project = resolveProject(settings);
@@ -159,7 +159,7 @@ var GoogleVertexPlugin2 = define({
159
159
  }
160
160
  }
161
161
  });
162
- yield* bus.subscribe([Event20.Updated, Event20.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
162
+ yield* bus.subscribe([Event18.Updated, Event18.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
163
163
  const next = yield* load();
164
164
  if (JSON.stringify(next) === JSON.stringify(selected.settings))
165
165
  return;
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./model-resolver-eh3zwz77.js";
3
+ } from "./formatter-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./model-resolver-e73j6tqm.js";
6
+ } from "./formatter-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./model-resolver-3wcehsnq.js";
9
+ } from "./formatter-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./model-resolver-dap0rakb.js";
12
+ } from "./formatter-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./model-resolver-4y7fprxs.js";
15
+ } from "./formatter-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  which2
3
- } from "./model-resolver-qaymkmh1.js";
3
+ } from "./formatter-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/process";
8
8
  import { isRecord } from "@opencode/util/record";
9
- function make9(input) {
9
+ function make10(input) {
10
10
  const disabled = false;
11
11
  const findExecutable = (name) => which2(name, undefined, input.bin);
12
12
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
259
259
  return isRecord(input[field]) && key in input[field];
260
260
  }
261
261
 
262
- export { make9 };
262
+ export { make10 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service77,
3
- node80
4
- } from "./model-resolver-dgc1n24t.js";
2
+ Service83,
3
+ node87
4
+ } from "./formatter-8qnchk02.js";
5
5
  import {
6
6
  __export
7
- } from "./model-resolver-9rqn6x4v.js";
7
+ } from "./formatter-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info23,
12
+ Info: () => Info28,
13
13
  Location: () => exports_location,
14
- Ref: () => Ref4,
15
- Service: () => Service76,
14
+ Ref: () => Ref5,
15
+ Service: () => Service82,
16
16
  boundNode: () => boundNode2,
17
- node: () => node79,
17
+ node: () => node86,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info23, Ref as Ref4, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info28, Ref as Ref5, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service76 extends Context.Service()("@opencode/Location") {
24
+ class Service82 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node79 = LayerNode.unbound(Service76, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service76, Effect.gen(function* () {
28
- const project = yield* Service77;
26
+ var node86 = LayerNode.unbound(Service82, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
28
+ const project = yield* Service83;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service76.of({
30
+ return Service82.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service76, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service76,
38
+ service: Service82,
39
39
  layer: layer(ref),
40
- deps: [node80]
40
+ deps: [node87]
41
41
  });
42
42
 
43
- export { Info23, Ref4, response2, Service76, node79, boundNode2, exports_location };
43
+ export { Info28, Ref5, response2, Service82, node86, boundNode2, exports_location };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service72,
10
- node: () => node75
9
+ Service: () => Service73,
10
+ node: () => node77
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service72 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service73 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service72, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service72.of({ has, register, trigger });
57
+ return Service73.of({ has, register, trigger });
58
58
  }));
59
- var node75 = makeLocationNode({ service: Service72, layer, deps: [] });
59
+ var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
60
60
 
61
- export { Service72, node75, exports_hooks };
61
+ export { Service73, node77, exports_hooks };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service84,
3
- node87
4
- } from "./model-resolver-0yjd96ev.js";
2
+ Service85,
3
+ node89
4
+ } from "./formatter-rvbdf6ee.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./model-resolver-bstexjd6.js";
11
+ } from "./formatter-bstexjd6.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./model-resolver-z5v4ffb3.js";
14
+ } from "./formatter-z5v4ffb3.js";
15
15
  import {
16
- Service35,
17
- node38
18
- } from "./model-resolver-qjxc6f6y.js";
16
+ Service49,
17
+ node51
18
+ } from "./formatter-mwx8k457.js";
19
19
  import {
20
20
  changes2,
21
21
  create3
22
- } from "./model-resolver-204s3925.js";
22
+ } from "./formatter-204s3925.js";
23
23
  import {
24
24
  __export
25
- } from "./model-resolver-9rqn6x4v.js";
25
+ } from "./formatter-9rqn6x4v.js";
26
26
 
27
27
  // src/reference.ts
28
28
  var exports_reference2 = {};
29
29
  __export(exports_reference2, {
30
- Event: () => Event4,
30
+ Event: () => Event9,
31
31
  GitSource: () => GitSource2,
32
- Info: () => Info7,
32
+ Info: () => Info9,
33
33
  LocalSource: () => LocalSource2,
34
34
  Reference: () => exports_reference2,
35
- Service: () => Service34,
35
+ Service: () => Service48,
36
36
  Source: () => Source3,
37
- node: () => node37
37
+ node: () => node50
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import { Context, Effect, Layer, Scope } from "effect";
41
41
  import { Reference } from "@opencode/schema/reference";
42
42
  import { Global } from "@opencode/util/global";
43
- import { Event as Event4 } from "@opencode/schema/reference";
43
+ import { Event as Event9 } from "@opencode/schema/reference";
44
44
  var LocalSource2 = Reference.LocalSource;
45
45
  var GitSource2 = Reference.GitSource;
46
46
  var Source3 = Reference.Source;
47
- var Info7 = Reference.Info;
47
+ var Info9 = Reference.Info;
48
48
 
49
- class Service34 extends Context.Service()("@opencode/Reference") {
49
+ class Service48 extends Context.Service()("@opencode/Reference") {
50
50
  }
51
- var layer = Layer.effect(Service34, Effect.gen(function* () {
51
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
52
52
  const global = yield* Global.Service;
53
- const bus = yield* Service84;
54
- const cache = yield* Service35;
53
+ const bus = yield* Service85;
54
+ const cache = yield* Service49;
55
55
  const scope = yield* Scope.Scope;
56
56
  const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
57
57
  const info = {
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
61
61
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
62
62
  };
63
63
  if (source.type === "local")
64
- return [Info7.make({ ...info, path: source.path })];
64
+ return [Info9.make({ ...info, path: source.path })];
65
65
  const repository = parse4(source.repository);
66
66
  if (!repository || !isRemote2(repository))
67
67
  return [];
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
73
73
  }
74
74
  }
75
75
  return [
76
- Info7.make({
76
+ Info9.make({
77
77
  ...info,
78
78
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
79
79
  })
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
105
105
  }))
106
106
  });
107
107
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
108
- return Service34.of({
108
+ return Service48.of({
109
109
  transform: state.transform,
110
110
  reload: state.reload,
111
111
  list: Effect.fn("Reference.list")(function* () {
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
113
113
  })
114
114
  });
115
115
  }));
116
- var node37 = makeLocationNode({
117
- service: Service34,
116
+ var node50 = makeLocationNode({
117
+ service: Service48,
118
118
  layer,
119
- deps: [Global.node, node87, node38]
119
+ deps: [Global.node, node89, node51]
120
120
  });
121
121
 
122
- export { LocalSource2, GitSource2, Source3, Info7, Service34, node37, exports_reference2, Event4 };
122
+ export { LocalSource2, GitSource2, Source3, Info9, Service48, node50, exports_reference2, Event9 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service84,
3
- node87
4
- } from "./model-resolver-0yjd96ev.js";
2
+ Service85,
3
+ node89
4
+ } from "./formatter-rvbdf6ee.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./model-resolver-204s3925.js";
8
+ } from "./formatter-204s3925.js";
9
9
  import {
10
10
  key2
11
- } from "./model-resolver-rrad2nt9.js";
12
- import {
13
- ID15,
14
- Service81,
15
- node84,
16
- Event18
17
- } from "./model-resolver-x05mt2vr.js";
11
+ } from "./formatter-bjhzkqyk.js";
18
12
  import {
13
+ ID14,
19
14
  Service76,
20
- node79
21
- } from "./model-resolver-pc07gvhs.js";
15
+ node80,
16
+ Event16
17
+ } from "./formatter-fq6avx26.js";
18
+ import {
19
+ Service82,
20
+ node86
21
+ } from "./formatter-30wq98rm.js";
22
22
  import {
23
23
  __export
24
- } from "./model-resolver-9rqn6x4v.js";
24
+ } from "./formatter-9rqn6x4v.js";
25
25
 
26
26
  // src/provider.ts
27
27
  var exports_provider3 = {};
@@ -32,7 +32,7 @@ __export(exports_provider3, {
32
32
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
33
33
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
34
34
  Event: () => Event15,
35
- ID: () => ID11,
35
+ ID: () => ID13,
36
36
  Info: () => Info22,
37
37
  LoadError: () => LoadError3,
38
38
  Provider: () => exports_provider3,
@@ -49,7 +49,7 @@ __export(exports_provider3, {
49
49
  mergeOverlay: () => mergeOverlay2,
50
50
  modelSettings: () => modelSettings2,
51
51
  nativeSettings: () => nativeSettings2,
52
- node: () => node78,
52
+ node: () => node79,
53
53
  packageName: () => packageName2,
54
54
  timeout: () => timeout2,
55
55
  timeouts: () => timeouts2
@@ -333,7 +333,7 @@ var decode = Schema.decodeUnknownSync(Legacy);
333
333
 
334
334
  // src/provider.ts
335
335
  import { Event as Event15 } from "@opencode/schema/provider";
336
- var ID11 = Provider.ID;
336
+ var ID13 = Provider.ID;
337
337
  var AISDK_PREFIX2 = "aisdk:";
338
338
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
339
339
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -588,9 +588,9 @@ function index(providerID, models) {
588
588
  return result;
589
589
  }
590
590
  var layer = Layer.effect(Service75, Effect2.gen(function* () {
591
- const bus = yield* Service84;
592
- const integrations = yield* Service81;
593
- const location = yield* Service76;
591
+ const bus = yield* Service85;
592
+ const integrations = yield* Service76;
593
+ const location = yield* Service82;
594
594
  const state = create3({
595
595
  name: "provider",
596
596
  initial: () => new Map,
@@ -682,7 +682,7 @@ var layer = Layer.effect(Service75, Effect2.gen(function* () {
682
682
  const available = Array.from(records.values()).filter((record) => {
683
683
  if (record.provider.activation === "disabled")
684
684
  return false;
685
- const integration = byID.get(record.provider.integrationID ?? ID15.make(record.provider.id));
685
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
686
686
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
687
687
  return false;
688
688
  if (record.provider.activation === "enabled")
@@ -708,7 +708,7 @@ var layer = Layer.effect(Service75, Effect2.gen(function* () {
708
708
  location: { directory: location.directory, workspaceID: location.workspaceID }
709
709
  });
710
710
  });
711
- yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
711
+ yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
712
712
  return Service75.of({
713
713
  transform: state.transform,
714
714
  reload: state.reload,
@@ -718,7 +718,7 @@ var layer = Layer.effect(Service75, Effect2.gen(function* () {
718
718
  snapshot
719
719
  });
720
720
  }));
721
- var node78 = makeLocationNode({ service: Service75, layer, deps: [node87, node84, node79] });
721
+ var node79 = makeLocationNode({ service: Service75, layer, deps: [node89, node80, node86] });
722
722
  var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
723
723
  const module = yield* Effect2.tryPromise({
724
724
  try: () => {
@@ -740,4 +740,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
740
740
  return module;
741
741
  });
742
742
 
743
- export { rewrite2, native2, exports_aisdk_native, ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info22, Service75, node78, exports_provider3, Event15 };
743
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Cache2, Transport2, Settings2, Info22, Service75, node79, exports_provider3, Event15 };