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

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 (822) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +81 -81
  7. package/dist/chunks/{vcs-nd2tnrer.js → model-resolver-00j2jq49.js} +21 -21
  8. package/dist/chunks/{vcs-b0sg3wpe.js → model-resolver-00vhvht6.js} +9 -9
  9. package/dist/chunks/{vcs-w40n4gsv.js → model-resolver-02912v3r.js} +23 -23
  10. package/dist/chunks/{vcs-034tev2y.js → model-resolver-034tev2y.js} +2 -2
  11. package/dist/chunks/{vcs-rkmk5vwv.js → model-resolver-03p96rzt.js} +23 -23
  12. package/dist/chunks/{vcs-gym2h9a5.js → model-resolver-06bhh52d.js} +37 -37
  13. package/dist/chunks/{vcs-rba8nkkd.js → model-resolver-08h64782.js} +31 -31
  14. package/dist/chunks/{vcs-nyvrwfsp.js → model-resolver-0e6cmbb1.js} +7 -7
  15. package/dist/chunks/model-resolver-0rvmmz3p.js +511 -0
  16. package/dist/chunks/{vcs-qnx4qqef.js → model-resolver-0wjsrq6g.js} +32 -32
  17. package/dist/chunks/{vcs-e5nq3gw7.js → model-resolver-0yd77tsv.js} +32 -32
  18. package/dist/chunks/{vcs-vmb9fjk7.js → model-resolver-0yjd96ev.js} +14 -14
  19. package/dist/chunks/{vcs-1c18fjk2.js → model-resolver-1c18fjk2.js} +3 -3
  20. package/dist/chunks/{vcs-avnfhq9f.js → model-resolver-1eg9cpxp.js} +18 -18
  21. package/dist/chunks/{vcs-1ep2p91f.js → model-resolver-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{vcs-8n846smm.js → model-resolver-1hcx3tbe.js} +2 -2
  23. package/dist/chunks/{vcs-1kn6jdkn.js → model-resolver-1kn6jdkn.js} +1 -1
  24. package/dist/chunks/{vcs-nq68ds7k.js → model-resolver-1tte1mx1.js} +13 -13
  25. package/dist/chunks/{vcs-pm2h99rs.js → model-resolver-1wnedb0q.js} +5 -5
  26. package/dist/chunks/{vcs-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{vcs-1yq9hg58.js → model-resolver-1yq9hg58.js} +1 -1
  28. package/dist/chunks/{vcs-204s3925.js → model-resolver-204s3925.js} +1 -1
  29. package/dist/chunks/{vcs-3643rqcq.js → model-resolver-20xwdmdm.js} +31 -31
  30. package/dist/chunks/{vcs-4dc0m2yj.js → model-resolver-20yqreeg.js} +19 -19
  31. package/dist/chunks/{vcs-zvcf8251.js → model-resolver-22frdqra.js} +17 -17
  32. package/dist/chunks/{vcs-gqw7tsj2.js → model-resolver-259dfg4a.js} +17 -17
  33. package/dist/chunks/{vcs-vsqvcqta.js → model-resolver-26x8chrq.js} +6 -6
  34. package/dist/chunks/{vcs-pp35y9ja.js → model-resolver-2gmf4cwd.js} +14 -14
  35. package/dist/chunks/{vcs-40wjcqjb.js → model-resolver-2jz3h0mg.js} +13 -13
  36. package/dist/chunks/{vcs-prd8gnhb.js → model-resolver-2mbjfaxd.js} +4 -4
  37. package/dist/chunks/{vcs-e7ncz2ep.js → model-resolver-30q9anfd.js} +2 -2
  38. package/dist/chunks/{vcs-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{vcs-cgcy5cf3.js → model-resolver-3j6nq55v.js} +5 -5
  40. package/dist/chunks/{vcs-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
  41. package/dist/chunks/{vcs-c6x7d2ts.js → model-resolver-3ryz99p0.js} +4 -4
  42. package/dist/chunks/{vcs-w2eysc6j.js → model-resolver-40za9wsf.js} +9 -9
  43. package/dist/chunks/{vcs-e7a6aess.js → model-resolver-48a83rgb.js} +11 -11
  44. package/dist/chunks/{vcs-xk9q3ejh.js → model-resolver-4dmkk8ef.js} +4 -4
  45. package/dist/chunks/{vcs-4pyp9zr9.js → model-resolver-4pyp9zr9.js} +1 -1
  46. package/dist/chunks/{vcs-qbbn7fzb.js → model-resolver-4s4jqh0r.js} +3 -3
  47. package/dist/chunks/{vcs-ttq9z2mv.js → model-resolver-4sy33n8r.js} +29 -29
  48. package/dist/chunks/{vcs-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
  49. package/dist/chunks/{vcs-xddcb79t.js → model-resolver-4zqw3v5h.js} +8 -8
  50. package/dist/chunks/{vcs-7eybfgds.js → model-resolver-5a5y8bey.js} +37 -37
  51. package/dist/chunks/{vcs-vpm8vpz0.js → model-resolver-5ect6tx9.js} +3 -3
  52. package/dist/chunks/{vcs-qvp421yx.js → model-resolver-5h3ym5d6.js} +12 -12
  53. package/dist/chunks/{vcs-zpmqt7v6.js → model-resolver-5k083j4m.js} +12 -12
  54. package/dist/chunks/{vcs-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{vcs-7fqk2rn8.js → model-resolver-5ser1zg9.js} +12 -12
  56. package/dist/chunks/{vcs-5x26af84.js → model-resolver-5x26af84.js} +4 -4
  57. package/dist/chunks/{vcs-qzvrv7jr.js → model-resolver-5yypp707.js} +20 -20
  58. package/dist/chunks/{vcs-9px9s5en.js → model-resolver-6551djh0.js} +21 -21
  59. package/dist/chunks/{vcs-cjbgqqwx.js → model-resolver-68aa2d0k.js} +34 -34
  60. package/dist/chunks/{vcs-b7pj09ek.js → model-resolver-69zcgx44.js} +24 -24
  61. package/dist/chunks/{vcs-5671gcv1.js → model-resolver-6bsbxh19.js} +24 -24
  62. package/dist/chunks/{vcs-49n1pyc7.js → model-resolver-6d7x7hha.js} +26 -26
  63. package/dist/chunks/{vcs-6xxsd0pz.js → model-resolver-6eh6zpt5.js} +3 -3
  64. package/dist/chunks/{vcs-6esdw8yj.js → model-resolver-6esdw8yj.js} +1 -1
  65. package/dist/chunks/{vcs-01vd1a4d.js → model-resolver-6pvfyazw.js} +9 -9
  66. package/dist/chunks/model-resolver-6zjm2phc.js +18 -0
  67. package/dist/chunks/{vcs-hstvx0fp.js → model-resolver-70q4g7fy.js} +13 -13
  68. package/dist/chunks/{vcs-g1sr3cxe.js → model-resolver-72dm1bvs.js} +6 -6
  69. package/dist/chunks/{vcs-2jzrs42d.js → model-resolver-74xmswmc.js} +11 -11
  70. package/dist/chunks/{vcs-76cb1hcw.js → model-resolver-76cb1hcw.js} +1 -1
  71. package/dist/chunks/{vcs-bhy91ayb.js → model-resolver-77gzjyfx.js} +30 -30
  72. package/dist/chunks/{vcs-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{vcs-xa3f19ed.js → model-resolver-7dh73bnv.js} +5 -5
  74. package/dist/chunks/{vcs-r2tmvqhf.js → model-resolver-7dz079pe.js} +4 -4
  75. package/dist/chunks/{vcs-gd9bhszy.js → model-resolver-7fpmdzjk.js} +18 -18
  76. package/dist/chunks/{vcs-4fp9at6s.js → model-resolver-7j5kte3m.js} +9 -9
  77. package/dist/chunks/{vcs-hdfrs5mg.js → model-resolver-7ktdj9mm.js} +9 -9
  78. package/dist/chunks/{vcs-yqdscqzd.js → model-resolver-7qjfmraz.js} +60 -60
  79. package/dist/chunks/{vcs-rxr97xxp.js → model-resolver-7re6vdtc.js} +5 -5
  80. package/dist/chunks/{vcs-bekv3p3z.js → model-resolver-7s7rdm9s.js} +22 -22
  81. package/dist/chunks/{vcs-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
  82. package/dist/chunks/{vcs-4g637f85.js → model-resolver-810xvjsv.js} +13 -13
  83. package/dist/chunks/{vcs-hzkgd62h.js → model-resolver-83sq6nks.js} +10 -10
  84. package/dist/chunks/{vcs-vqyvghz1.js → model-resolver-86xcj867.js} +14 -14
  85. package/dist/chunks/{vcs-bdbkn0ax.js → model-resolver-8anaanvs.js} +6 -6
  86. package/dist/chunks/{vcs-11hfp36g.js → model-resolver-8jztxfpf.js} +4 -4
  87. package/dist/chunks/{vcs-phvm2phv.js → model-resolver-8pd54nv5.js} +29 -29
  88. package/dist/chunks/{vcs-s3d0e3hj.js → model-resolver-8qp8tat4.js} +22 -22
  89. package/dist/chunks/{vcs-d85wcx0m.js → model-resolver-8vkd6pwc.js} +14 -14
  90. package/dist/chunks/{vcs-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
  91. package/dist/chunks/{vcs-445zs8vc.js → model-resolver-8xq2wskz.js} +9 -9
  92. package/dist/chunks/{vcs-90zstvax.js → model-resolver-90zstvax.js} +1 -1
  93. package/dist/chunks/{vcs-a9czvbcv.js → model-resolver-92p41aee.js} +1 -1
  94. package/dist/chunks/{vcs-2338945t.js → model-resolver-9615vp9a.js} +1 -1
  95. package/dist/chunks/{vcs-j183yw35.js → model-resolver-99vf0hqv.js} +25 -25
  96. package/dist/chunks/{vcs-4ygfw4eq.js → model-resolver-9ndb8058.js} +89 -89
  97. package/dist/chunks/{vcs-w35wzz9x.js → model-resolver-9q8g9sv8.js} +4 -4
  98. package/dist/chunks/{vcs-mfpkpefx.js → model-resolver-9r0x1bva.js} +9 -9
  99. package/dist/chunks/{vcs-g5dwm102.js → model-resolver-9vjgnb2r.js} +9 -9
  100. package/dist/chunks/{vcs-rfy1qsv0.js → model-resolver-9y0knddb.js} +5 -5
  101. package/dist/chunks/{vcs-b8r1m2ts.js → model-resolver-a8pfnwqf.js} +56 -45
  102. package/dist/chunks/{vcs-y1d2ygm2.js → model-resolver-a8xdst61.js} +9 -9
  103. package/dist/chunks/{vcs-afpnaekc.js → model-resolver-aafmq595.js} +22 -22
  104. package/dist/chunks/{vcs-xaz3vqte.js → model-resolver-ahzfx2tk.js} +4 -4
  105. package/dist/chunks/{vcs-36nwmxg8.js → model-resolver-ahzmq0a0.js} +12 -12
  106. package/dist/chunks/{vcs-h4fbvc3r.js → model-resolver-akhh771z.js} +16 -16
  107. package/dist/chunks/{vcs-nqr97zc9.js → model-resolver-axj80nt7.js} +28 -28
  108. package/dist/chunks/{vcs-ayjs7tqn.js → model-resolver-ayjs7tqn.js} +2 -2
  109. package/dist/chunks/{vcs-ete78w2g.js → model-resolver-b1acbdmy.js} +21 -21
  110. package/dist/chunks/{vcs-b6vsg801.js → model-resolver-b6vsg801.js} +2 -2
  111. package/dist/chunks/{vcs-wr3re1en.js → model-resolver-b6z35kmf.js} +4 -4
  112. package/dist/chunks/{vcs-z7qjx3kd.js → model-resolver-bc7wy6df.js} +33 -33
  113. package/dist/chunks/{vcs-7epxgbgt.js → model-resolver-bhvs01y7.js} +6 -6
  114. package/dist/chunks/{vcs-e8c50cbj.js → model-resolver-bjyz8pkd.js} +26 -26
  115. package/dist/chunks/{vcs-6cahmqzr.js → model-resolver-bk7xq8bh.js} +8 -8
  116. package/dist/chunks/{vcs-18m8fffx.js → model-resolver-bn4d6q1b.js} +26 -26
  117. package/dist/chunks/{vcs-mayam77x.js → model-resolver-bnfkacme.js} +27 -27
  118. package/dist/chunks/{vcs-hembwb5d.js → model-resolver-bpeyfd4s.js} +34 -34
  119. package/dist/chunks/{vcs-bstexjd6.js → model-resolver-bstexjd6.js} +1 -1
  120. package/dist/chunks/{vcs-c7zhh4za.js → model-resolver-bxkqm08j.js} +6 -6
  121. package/dist/chunks/{vcs-8052wv3e.js → model-resolver-c1p828ba.js} +20 -20
  122. package/dist/chunks/{vcs-vx6ny987.js → model-resolver-c5jkhswj.js} +4 -4
  123. package/dist/chunks/{vcs-dpq8g4fp.js → model-resolver-c7r1w9rw.js} +6 -6
  124. package/dist/chunks/{vcs-texq708e.js → model-resolver-cd00wddm.js} +5 -5
  125. package/dist/chunks/{vcs-f62xyz39.js → model-resolver-cg5ng5tz.js} +43 -43
  126. package/dist/chunks/{vcs-psx2s2js.js → model-resolver-crafzxe9.js} +5 -5
  127. package/dist/chunks/{vcs-cwrgdav8.js → model-resolver-cwrgdav8.js} +2 -2
  128. package/dist/chunks/{vcs-1z2ee6fc.js → model-resolver-cyy83wr4.js} +21 -21
  129. package/dist/chunks/{vcs-ssfehs1z.js → model-resolver-d2887f8n.js} +4 -4
  130. package/dist/chunks/{vcs-d4v9tmah.js → model-resolver-d4v9tmah.js} +2 -2
  131. package/dist/chunks/{vcs-xj4wy132.js → model-resolver-d94amd98.js} +17 -17
  132. package/dist/chunks/{vcs-3kdbrncp.js → model-resolver-dbmp929s.js} +5 -5
  133. package/dist/chunks/{vcs-hcw7brhb.js → model-resolver-dem1p0gt.js} +38 -38
  134. package/dist/chunks/{vcs-fkdj66dg.js → model-resolver-dgc1n24t.js} +51 -51
  135. package/dist/chunks/{vcs-cy4s1jp1.js → model-resolver-dh6wd5j1.js} +19 -19
  136. package/dist/chunks/{vcs-jh7yqtmb.js → model-resolver-djh43rh9.js} +21 -21
  137. package/dist/chunks/{vcs-xp4gxavp.js → model-resolver-dndg0yrt.js} +20 -20
  138. package/dist/chunks/{vcs-jppd208a.js → model-resolver-ds91jzkj.js} +20 -20
  139. package/dist/chunks/{vcs-dt77769w.js → model-resolver-dt77769w.js} +1 -1
  140. package/dist/chunks/{vcs-xxtgb6sa.js → model-resolver-dt8bs7ka.js} +3 -3
  141. package/dist/chunks/{vcs-q6x07d23.js → model-resolver-dx3ks3p5.js} +4 -4
  142. package/dist/chunks/{vcs-tnh07hxx.js → model-resolver-dy0t2s89.js} +10 -10
  143. package/dist/chunks/{vcs-31zrf5rt.js → model-resolver-e2ber9ej.js} +4 -4
  144. package/dist/chunks/{vcs-7sdtxe0n.js → model-resolver-e2ne77ac.js} +2 -2
  145. package/dist/chunks/{vcs-e834z07m.js → model-resolver-e834z07m.js} +1 -1
  146. package/dist/chunks/{vcs-7874zhk8.js → model-resolver-e9fd3qhg.js} +38 -38
  147. package/dist/chunks/model-resolver-ean10rq4.js +26 -0
  148. package/dist/chunks/{vcs-an9k1q61.js → model-resolver-edqmm4mg.js} +4 -4
  149. package/dist/chunks/{vcs-6zmsqwr6.js → model-resolver-ee456nc6.js} +14 -14
  150. package/dist/chunks/{vcs-5d4ztx9q.js → model-resolver-ejjd5knb.js} +35 -35
  151. package/dist/chunks/{vcs-whphkcrj.js → model-resolver-ejmp5hdk.js} +30 -30
  152. package/dist/chunks/{vcs-2qjpg97e.js → model-resolver-emg3vk42.js} +77 -77
  153. package/dist/chunks/{vcs-ds7r37yp.js → model-resolver-f01y088k.js} +5 -5
  154. package/dist/chunks/{vcs-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
  155. package/dist/chunks/{vcs-fg9p65nk.js → model-resolver-fg9p65nk.js} +2 -2
  156. package/dist/chunks/{vcs-0rxw2bhj.js → model-resolver-fmxr4jhz.js} +5 -5
  157. package/dist/chunks/model-resolver-ft16aaq7.js +257 -0
  158. package/dist/chunks/{vcs-z6shv5en.js → model-resolver-g1rms717.js} +55 -55
  159. package/dist/chunks/{vcs-fzqd52s1.js → model-resolver-g75vtk68.js} +37 -37
  160. package/dist/chunks/{vcs-xnh55p1t.js → model-resolver-g7esga4v.js} +4 -4
  161. package/dist/chunks/{vcs-smfcvx02.js → model-resolver-gcjdgkn2.js} +9 -9
  162. package/dist/chunks/{vcs-gg8p9cgs.js → model-resolver-gg8p9cgs.js} +3 -3
  163. package/dist/chunks/{vcs-0xkwsahe.js → model-resolver-gjvqgy9h.js} +18 -18
  164. package/dist/chunks/{vcs-hq2efw4x.js → model-resolver-gnzrdma1.js} +17 -17
  165. package/dist/chunks/{vcs-d206m7xv.js → model-resolver-gqa9d39q.js} +5 -5
  166. package/dist/chunks/{vcs-bpnannhc.js → model-resolver-gzdqjbk7.js} +45 -45
  167. package/dist/chunks/{vcs-7yect7x1.js → model-resolver-h7gvp0tv.js} +2 -2
  168. package/dist/chunks/{vcs-2cgj4t74.js → model-resolver-h88vzpmf.js} +3 -3
  169. package/dist/chunks/{vcs-48g74nrn.js → model-resolver-h9tajytd.js} +12 -12
  170. package/dist/chunks/{vcs-snefxbbk.js → model-resolver-heqsf106.js} +17 -17
  171. package/dist/chunks/{vcs-fm7mve24.js → model-resolver-hkrnt7ft.js} +25 -25
  172. package/dist/chunks/{vcs-hpg1pkwy.js → model-resolver-hpg1pkwy.js} +1 -1
  173. package/dist/chunks/{vcs-8y5149m8.js → model-resolver-htryym1w.js} +32 -32
  174. package/dist/chunks/{vcs-k4a4wn9h.js → model-resolver-hyn2hf34.js} +5 -5
  175. package/dist/chunks/{vcs-tkpvnbjr.js → model-resolver-j2xzb38w.js} +8 -8
  176. package/dist/chunks/{vcs-hpfdwx7h.js → model-resolver-j99dhamb.js} +6 -6
  177. package/dist/chunks/{vcs-v0ry4a9f.js → model-resolver-jd9t7fpz.js} +54 -54
  178. package/dist/chunks/{vcs-jfaecv01.js → model-resolver-jfaecv01.js} +1 -1
  179. package/dist/chunks/{vcs-vb80j1wh.js → model-resolver-jh74jycr.js} +3 -3
  180. package/dist/chunks/{vcs-mtph0mrj.js → model-resolver-jszp152f.js} +19 -19
  181. package/dist/chunks/{vcs-jtnps1zs.js → model-resolver-jtnps1zs.js} +2 -2
  182. package/dist/chunks/{vcs-y0nndy60.js → model-resolver-jv8ma802.js} +19 -19
  183. package/dist/chunks/{vcs-zzt9btdd.js → model-resolver-k4003xxm.js} +28 -28
  184. package/dist/chunks/{vcs-k814nvkf.js → model-resolver-k814nvkf.js} +1 -1
  185. package/dist/chunks/{vcs-k9zkdd2y.js → model-resolver-k9zkdd2y.js} +1 -1
  186. package/dist/chunks/{vcs-etk98kh7.js → model-resolver-kk6hjsv6.js} +54 -25
  187. package/dist/chunks/{vcs-9kg5w032.js → model-resolver-kmzgegqq.js} +8 -8
  188. package/dist/chunks/{vcs-kt3bjfbg.js → model-resolver-kt3bjfbg.js} +1 -1
  189. package/dist/chunks/{vcs-d93zgrjq.js → model-resolver-m0rc5tkg.js} +43 -43
  190. package/dist/chunks/{vcs-m1714858.js → model-resolver-m1714858.js} +1 -1
  191. package/dist/chunks/{vcs-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{vcs-f0kndmgd.js → model-resolver-mbv30hgw.js} +25 -25
  193. package/dist/chunks/{vcs-bxp5xmbx.js → model-resolver-mbwkpxg7.js} +7 -7
  194. package/dist/chunks/{vcs-w68dkr85.js → model-resolver-mdmwbg8j.js} +14 -14
  195. package/dist/chunks/{vcs-4g7evqcq.js → model-resolver-mef9jdgh.js} +13 -13
  196. package/dist/chunks/{vcs-zrhp7mek.js → model-resolver-mfc2a6rt.js} +33 -33
  197. package/dist/chunks/{vcs-mpe6qr53.js → model-resolver-mpe6qr53.js} +1 -1
  198. package/dist/chunks/{vcs-n0bgtmah.js → model-resolver-mrsvesd2.js} +4 -4
  199. package/dist/chunks/{vcs-fzvj6npn.js → model-resolver-mxjcs2d4.js} +12 -12
  200. package/dist/chunks/{vcs-dr0gyvs8.js → model-resolver-mznqryyf.js} +13 -13
  201. package/dist/chunks/{vcs-fbjqxkhq.js → model-resolver-n3bkb5q1.js} +8 -8
  202. package/dist/chunks/{vcs-yya0ytvb.js → model-resolver-n3vkcfay.js} +27 -27
  203. package/dist/chunks/{vcs-95knjzp6.js → model-resolver-n70b5eav.js} +7 -7
  204. package/dist/chunks/{vcs-jf5qn0eb.js → model-resolver-n8jrpgc8.js} +7 -7
  205. package/dist/chunks/{vcs-nah043kf.js → model-resolver-nah043kf.js} +1 -1
  206. package/dist/chunks/{vcs-yps7hgha.js → model-resolver-nd9ab5g5.js} +29 -29
  207. package/dist/chunks/{vcs-m2dzna08.js → model-resolver-nq2cxg20.js} +11 -11
  208. package/dist/chunks/{vcs-p015t6z3.js → model-resolver-p015t6z3.js} +2 -2
  209. package/dist/chunks/{vcs-qega9mgr.js → model-resolver-p1d2jd5s.js} +32 -32
  210. package/dist/chunks/{vcs-30fw0aaf.js → model-resolver-p2f2xnf4.js} +8 -8
  211. package/dist/chunks/{vcs-yynrf4vj.js → model-resolver-p4j4rdzm.js} +3 -3
  212. package/dist/chunks/{vcs-srn70nxn.js → model-resolver-p9fz6enw.js} +11 -11
  213. package/dist/chunks/{vcs-6tznm3hm.js → model-resolver-pc07gvhs.js} +17 -17
  214. package/dist/chunks/{vcs-ckhqsxvy.js → model-resolver-pje2jx9t.js} +16 -16
  215. package/dist/chunks/{vcs-3x3z7tjb.js → model-resolver-pkmmfap2.js} +11 -11
  216. package/dist/chunks/{vcs-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  217. package/dist/chunks/{vcs-9t2khtsw.js → model-resolver-pnwsrq7c.js} +8 -8
  218. package/dist/chunks/{vcs-zgd8t41s.js → model-resolver-q4fcarhy.js} +9 -9
  219. package/dist/chunks/{vcs-d1zgnyfs.js → model-resolver-q5mn4ggq.js} +16 -16
  220. package/dist/chunks/{vcs-zgkm4kzm.js → model-resolver-q63cb7ap.js} +4 -4
  221. package/dist/chunks/{vcs-yefmbngg.js → model-resolver-q6jh4k34.js} +24 -24
  222. package/dist/chunks/{vcs-2kf70v8x.js → model-resolver-q6vrwb3q.js} +33 -33
  223. package/dist/chunks/{vcs-0gybmwtw.js → model-resolver-qc8cfte5.js} +28 -28
  224. package/dist/chunks/{vcs-f27me0yd.js → model-resolver-qd123m2a.js} +12 -12
  225. package/dist/chunks/{vcs-5mam38w3.js → model-resolver-qjxc6f6y.js} +20 -20
  226. package/dist/chunks/{vcs-qp7r0hxv.js → model-resolver-qp7r0hxv.js} +1 -1
  227. package/dist/chunks/{vcs-r0yr0wbs.js → model-resolver-r0yr0wbs.js} +1 -1
  228. package/dist/chunks/{vcs-ckwa8jkx.js → model-resolver-r119az03.js} +40 -40
  229. package/dist/chunks/{vcs-6xwsggmf.js → model-resolver-r2d4vn47.js} +19 -19
  230. package/dist/chunks/{vcs-r542h3bh.js → model-resolver-r542h3bh.js} +1 -1
  231. package/dist/chunks/{vcs-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
  232. package/dist/chunks/{vcs-df75hh45.js → model-resolver-reccgsd2.js} +11 -11
  233. package/dist/chunks/{vcs-ppb36cfr.js → model-resolver-rq55acke.js} +15 -15
  234. package/dist/chunks/{vcs-bjhzkqyk.js → model-resolver-rrad2nt9.js} +4 -4
  235. package/dist/chunks/{vcs-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
  236. package/dist/chunks/{vcs-cbc4taa6.js → model-resolver-rvyhr33k.js} +11 -11
  237. package/dist/chunks/{vcs-8n62zpbp.js → model-resolver-s0pcnr2w.js} +17 -17
  238. package/dist/chunks/{vcs-k3cw2t6y.js → model-resolver-s2pfznc4.js} +6 -6
  239. package/dist/chunks/{vcs-0py4zw7v.js → model-resolver-s4wznsg5.js} +9 -9
  240. package/dist/chunks/{vcs-1q5awywt.js → model-resolver-s857ash9.js} +5 -5
  241. package/dist/chunks/{vcs-sa3fpqfw.js → model-resolver-sa3fpqfw.js} +2 -2
  242. package/dist/chunks/{vcs-sh7z0vsf.js → model-resolver-smna7vm8.js} +16 -16
  243. package/dist/chunks/{vcs-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
  244. package/dist/chunks/{vcs-jnpgd2qz.js → model-resolver-stbdvqqm.js} +15 -15
  245. package/dist/chunks/{vcs-svcy3p9a.js → model-resolver-svcy3p9a.js} +1 -1
  246. package/dist/chunks/{vcs-5r0vv638.js → model-resolver-t4139yy5.js} +25 -25
  247. package/dist/chunks/{vcs-tamjj6bd.js → model-resolver-t7qjyp6j.js} +20 -20
  248. package/dist/chunks/{vcs-dz8d6p0s.js → model-resolver-t8vm8f3g.js} +12 -12
  249. package/dist/chunks/{vcs-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
  250. package/dist/chunks/{vcs-fcs1vx3s.js → model-resolver-tmvkcy0b.js} +22 -22
  251. package/dist/chunks/{vcs-qxt327x0.js → model-resolver-trw4ad51.js} +13 -13
  252. package/dist/chunks/{vcs-twssxy5n.js → model-resolver-twssxy5n.js} +2 -2
  253. package/dist/chunks/{vcs-hyj4a2ag.js → model-resolver-txtenhwq.js} +13 -13
  254. package/dist/chunks/{vcs-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
  255. package/dist/chunks/{vcs-ysprf8xe.js → model-resolver-vdvshhtc.js} +10 -10
  256. package/dist/chunks/{vcs-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  257. package/dist/chunks/{vcs-55pzwtf4.js → model-resolver-vngnyhcg.js} +4 -4
  258. package/dist/chunks/{vcs-nhfnx0yz.js → model-resolver-vtc2wvc2.js} +4 -4
  259. package/dist/chunks/{vcs-ym045bap.js → model-resolver-vwa15b14.js} +31 -31
  260. package/dist/chunks/{vcs-bayttsv6.js → model-resolver-vxfbx2fx.js} +24 -24
  261. package/dist/chunks/{vcs-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{vcs-6eerc732.js → model-resolver-w4pg5caa.js} +44 -44
  263. package/dist/chunks/{vcs-ccky80qd.js → model-resolver-w4wn8erh.js} +22 -22
  264. package/dist/chunks/{vcs-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
  265. package/dist/chunks/{vcs-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  266. package/dist/chunks/{vcs-0g7k9xcb.js → model-resolver-we6d48z7.js} +5 -5
  267. package/dist/chunks/{vcs-zeckgh37.js → model-resolver-wgdwbctn.js} +9 -9
  268. package/dist/chunks/{vcs-g4p48r8x.js → model-resolver-wmv5c24e.js} +188 -188
  269. package/dist/chunks/{vcs-wnhgecwx.js → model-resolver-wnhgecwx.js} +1 -1
  270. package/dist/chunks/{vcs-zr0s6khg.js → model-resolver-wtt1w7za.js} +25 -25
  271. package/dist/chunks/{vcs-39g43sx8.js → model-resolver-wx4czxg4.js} +5 -5
  272. package/dist/chunks/{vcs-4h5f6qna.js → model-resolver-wy5mgfg9.js} +71 -71
  273. package/dist/chunks/{vcs-c8qdcmh0.js → model-resolver-wz5dzc00.js} +25 -25
  274. package/dist/chunks/{vcs-bq2x6ppg.js → model-resolver-x05mt2vr.js} +31 -31
  275. package/dist/chunks/{vcs-6e8fzyj6.js → model-resolver-x634fp5p.js} +11 -11
  276. package/dist/chunks/{vcs-jmg6ybda.js → model-resolver-x8c03df4.js} +3 -3
  277. package/dist/chunks/{vcs-9nckg20m.js → model-resolver-xetz8apg.js} +35 -35
  278. package/dist/chunks/{vcs-78tx5zvz.js → model-resolver-xg4yp5ky.js} +11 -11
  279. package/dist/chunks/{vcs-bmx1m787.js → model-resolver-xkpx6s0s.js} +15 -15
  280. package/dist/chunks/{vcs-kfg4vbkh.js → model-resolver-xwjvc1xc.js} +9 -9
  281. package/dist/chunks/{vcs-dds9zz6p.js → model-resolver-y00x4xpa.js} +4 -4
  282. package/dist/chunks/{vcs-cadx8dpa.js → model-resolver-y872wdn3.js} +25 -25
  283. package/dist/chunks/{vcs-yara3q77.js → model-resolver-yara3q77.js} +2 -2
  284. package/dist/chunks/{vcs-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
  285. package/dist/chunks/{vcs-ymz7p2c9.js → model-resolver-ymz7p2c9.js} +3 -3
  286. package/dist/chunks/{vcs-t0kxd7r7.js → model-resolver-yw72hv1j.js} +4 -4
  287. package/dist/chunks/{vcs-sme6xn3k.js → model-resolver-yxbkj6h6.js} +11 -11
  288. package/dist/chunks/{vcs-7fg5f906.js → model-resolver-yzg01fn7.js} +12 -12
  289. package/dist/chunks/{vcs-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  290. package/dist/chunks/{vcs-z38nccrw.js → model-resolver-z38nccrw.js} +1 -1
  291. package/dist/chunks/{vcs-h5qv78he.js → model-resolver-z5c5swc0.js} +18 -18
  292. package/dist/chunks/{vcs-t0jmwydf.js → model-resolver-zebg8dr3.js} +6 -6
  293. package/dist/chunks/{vcs-j989h8xf.js → model-resolver-zfjyz62k.js} +25 -25
  294. package/dist/chunks/{vcs-nh3dh1yv.js → model-resolver-zt8d8h0y.js} +8 -8
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +5 -5
  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 +1 -1
  302. package/dist/config/markdown.js +1 -1
  303. package/dist/config/normalize.js +107 -107
  304. package/dist/config/plugin/agent.js +123 -123
  305. package/dist/config/plugin/command.js +221 -221
  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 +130 -130
  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 +145 -145
  321. package/dist/config/plugin/snapshot.js +121 -121
  322. package/dist/config/plugin/source.js +124 -124
  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 +14 -14
  334. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  335. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  336. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +3 -3
  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 +101 -101
  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 +102 -102
  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 +86 -86
  436. package/dist/filesystem/location-watcher-policy.js +6 -6
  437. package/dist/filesystem/location-watcher.js +228 -228
  438. package/dist/filesystem/protected.js +1 -1
  439. package/dist/filesystem/search.js +105 -105
  440. package/dist/filesystem/watcher-binding.js +1 -1
  441. package/dist/filesystem/watcher.js +7 -7
  442. package/dist/filesystem.js +110 -110
  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 +4 -4
  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 +166 -166
  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 +117 -117
  489. package/dist/mcp/instructions.js +168 -168
  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 +105 -105
  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 +86 -86
  502. package/dist/permission/sql.js +5 -5
  503. package/dist/permission.js +145 -145
  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 +92 -92
  507. package/dist/persistent-pty/pty-binding.js +1 -1
  508. package/dist/persistent-pty.js +81 -81
  509. package/dist/plugin/agent.js +82 -82
  510. package/dist/plugin/command.js +110 -110
  511. package/dist/plugin/hooks.js +5 -5
  512. package/dist/plugin/host.js +225 -225
  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 +123 -123
  519. package/dist/plugin/optimize.js +2 -2
  520. package/dist/plugin/plan.js +138 -138
  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 +130 -130
  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 +121 -121
  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 +130 -130
  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 +141 -141
  563. package/dist/plugin/source-directory.js +1 -1
  564. package/dist/plugin/supervisor.js +361 -361
  565. package/dist/plugin/tool-input-repair.js +4 -4
  566. package/dist/plugin/update.js +6 -6
  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 +119 -119
  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 +6 -6
  575. package/dist/plugin/websearch/parallel.js +8 -8
  576. package/dist/plugin/websearch/tavily.js +4 -4
  577. package/dist/plugin/websearch/tinyfish.js +8 -8
  578. package/dist/plugin.js +236 -236
  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 +96 -96
  588. package/dist/reference.js +98 -98
  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 +1 -1
  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 +154 -154
  606. package/dist/session/generate.js +188 -188
  607. package/dist/session/history.js +127 -127
  608. package/dist/session/inbox.js +138 -138
  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 +128 -128
  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 +108 -108
  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 +154 -154
  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 +192 -192
  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 +225 -225
  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 +3 -3
  651. package/dist/shell.js +131 -131
  652. package/dist/skill/discovery.js +6 -6
  653. package/dist/skill/instructions.js +143 -143
  654. package/dist/skill.js +150 -150
  655. package/dist/snapshot.js +101 -101
  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 +160 -160
  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 +156 -156
  667. package/dist/tool/plugin/question.js +136 -136
  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 +149 -149
  671. package/dist/tool/plugin/subagent.js +218 -218
  672. package/dist/tool/plugin/todo.js +145 -145
  673. package/dist/tool/plugin/webfetch.js +149 -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 +110 -110
  677. package/dist/tool/runtime.js +1 -1
  678. package/dist/tool-output.js +3 -3
  679. package/dist/tool.js +14 -14
  680. package/dist/types/permission.d.ts +2 -0
  681. package/dist/types/tool/plugin/webfetch.d.ts +1 -0
  682. package/dist/usage-limits.js +95 -95
  683. package/dist/util/error-summary.js +1 -1
  684. package/dist/util/git-executable.js +3 -3
  685. package/dist/util/lazy.js +1 -1
  686. package/dist/util/slug.js +1 -1
  687. package/dist/util/token.js +1 -1
  688. package/dist/util/which.js +1 -1
  689. package/dist/util/wildcard.js +1 -1
  690. package/dist/v1/config/agent.js +5 -5
  691. package/dist/v1/config/command.js +3 -3
  692. package/dist/v1/config/mcp.js +4 -4
  693. package/dist/v1/config/migrate.js +100 -100
  694. package/dist/v1/config/permission.js +3 -3
  695. package/dist/v1/config/plugin.js +1 -1
  696. package/dist/v1/config/provider-options.js +1 -1
  697. package/dist/v1/config/provider.js +4 -4
  698. package/dist/variant.js +99 -99
  699. package/dist/vcs/patch.js +1 -1
  700. package/dist/vcs.js +97 -97
  701. package/dist/voice.js +90 -90
  702. package/dist/websearch.js +88 -88
  703. package/dist/wellknown/plugin.js +82 -82
  704. package/dist/wellknown.js +85 -85
  705. package/dist/workspace/driver.js +3 -3
  706. package/dist/workspace/sql.js +1 -1
  707. package/dist/workspace.js +88 -88
  708. package/dist/worktree/directory.js +2 -2
  709. package/dist/worktree/git.js +11 -11
  710. package/dist/worktree/sql.js +5 -5
  711. package/dist/worktree/strategies.js +97 -97
  712. package/dist/worktree.js +106 -106
  713. package/package.json +8 -8
  714. package/dist/chunks/vcs-2dkjcnxp.js +0 -18
  715. package/dist/chunks/vcs-3wfcjg2y.js +0 -257
  716. package/dist/chunks/vcs-d4p81mds.js +0 -26
  717. package/dist/chunks/vcs-gkt07kmn.js +0 -511
  718. /package/dist/chunks/{vcs-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  719. /package/dist/chunks/{vcs-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  720. /package/dist/chunks/{vcs-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  721. /package/dist/chunks/{vcs-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  722. /package/dist/chunks/{vcs-1jakw16s.js → model-resolver-1jakw16s.js} +0 -0
  723. /package/dist/chunks/{vcs-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  724. /package/dist/chunks/{vcs-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  725. /package/dist/chunks/{vcs-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  726. /package/dist/chunks/{vcs-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  727. /package/dist/chunks/{vcs-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  728. /package/dist/chunks/{vcs-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  729. /package/dist/chunks/{vcs-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  730. /package/dist/chunks/{vcs-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  731. /package/dist/chunks/{vcs-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  732. /package/dist/chunks/{vcs-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  733. /package/dist/chunks/{vcs-4m86bj6y.js → model-resolver-4m86bj6y.js} +0 -0
  734. /package/dist/chunks/{vcs-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  735. /package/dist/chunks/{vcs-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  736. /package/dist/chunks/{vcs-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  737. /package/dist/chunks/{vcs-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  738. /package/dist/chunks/{vcs-5w3e23ze.js → model-resolver-5w3e23ze.js} +0 -0
  739. /package/dist/chunks/{vcs-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  740. /package/dist/chunks/{vcs-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  741. /package/dist/chunks/{vcs-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  742. /package/dist/chunks/{vcs-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  743. /package/dist/chunks/{vcs-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  744. /package/dist/chunks/{vcs-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  745. /package/dist/chunks/{vcs-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  746. /package/dist/chunks/{vcs-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  747. /package/dist/chunks/{vcs-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  748. /package/dist/chunks/{vcs-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  749. /package/dist/chunks/{vcs-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  750. /package/dist/chunks/{vcs-a058387c.js → model-resolver-a058387c.js} +0 -0
  751. /package/dist/chunks/{vcs-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  752. /package/dist/chunks/{vcs-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  753. /package/dist/chunks/{vcs-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  754. /package/dist/chunks/{vcs-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  755. /package/dist/chunks/{vcs-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  756. /package/dist/chunks/{vcs-beh6qq61.js → model-resolver-beh6qq61.js} +0 -0
  757. /package/dist/chunks/{vcs-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  758. /package/dist/chunks/{vcs-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  759. /package/dist/chunks/{vcs-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  760. /package/dist/chunks/{vcs-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
  761. /package/dist/chunks/{vcs-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  762. /package/dist/chunks/{vcs-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  763. /package/dist/chunks/{vcs-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  764. /package/dist/chunks/{vcs-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  765. /package/dist/chunks/{vcs-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  766. /package/dist/chunks/{vcs-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  767. /package/dist/chunks/{vcs-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  768. /package/dist/chunks/{vcs-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  769. /package/dist/chunks/{vcs-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  770. /package/dist/chunks/{vcs-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  771. /package/dist/chunks/{vcs-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  772. /package/dist/chunks/{vcs-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  773. /package/dist/chunks/{vcs-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  774. /package/dist/chunks/{vcs-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  775. /package/dist/chunks/{vcs-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  776. /package/dist/chunks/{vcs-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  777. /package/dist/chunks/{vcs-fkpq3x5p.js → model-resolver-fkpq3x5p.js} +0 -0
  778. /package/dist/chunks/{vcs-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  779. /package/dist/chunks/{vcs-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  780. /package/dist/chunks/{vcs-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  781. /package/dist/chunks/{vcs-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  782. /package/dist/chunks/{vcs-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  783. /package/dist/chunks/{vcs-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  784. /package/dist/chunks/{vcs-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  785. /package/dist/chunks/{vcs-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  786. /package/dist/chunks/{vcs-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  787. /package/dist/chunks/{vcs-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  788. /package/dist/chunks/{vcs-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  789. /package/dist/chunks/{vcs-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
  790. /package/dist/chunks/{vcs-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
  791. /package/dist/chunks/{vcs-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  792. /package/dist/chunks/{vcs-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  793. /package/dist/chunks/{vcs-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  794. /package/dist/chunks/{vcs-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  795. /package/dist/chunks/{vcs-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  796. /package/dist/chunks/{vcs-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  797. /package/dist/chunks/{vcs-ncqqe42p.js → model-resolver-ncqqe42p.js} +0 -0
  798. /package/dist/chunks/{vcs-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  799. /package/dist/chunks/{vcs-p71gwv9c.js → model-resolver-p71gwv9c.js} +0 -0
  800. /package/dist/chunks/{vcs-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  801. /package/dist/chunks/{vcs-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  802. /package/dist/chunks/{vcs-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  803. /package/dist/chunks/{vcs-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  804. /package/dist/chunks/{vcs-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  805. /package/dist/chunks/{vcs-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  806. /package/dist/chunks/{vcs-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  807. /package/dist/chunks/{vcs-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  808. /package/dist/chunks/{vcs-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  809. /package/dist/chunks/{vcs-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  810. /package/dist/chunks/{vcs-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  811. /package/dist/chunks/{vcs-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  812. /package/dist/chunks/{vcs-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  813. /package/dist/chunks/{vcs-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  814. /package/dist/chunks/{vcs-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  815. /package/dist/chunks/{vcs-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  816. /package/dist/chunks/{vcs-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  817. /package/dist/chunks/{vcs-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  818. /package/dist/chunks/{vcs-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  819. /package/dist/chunks/{vcs-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  820. /package/dist/chunks/{vcs-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  821. /package/dist/chunks/{vcs-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  822. /package/dist/chunks/{vcs-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/config/integration.ts
6
6
  var exports_integration = {};
@@ -1,47 +1,48 @@
1
1
  import {
2
2
  isTextual2
3
- } from "./vcs-4pyp9zr9.js";
3
+ } from "./model-resolver-4pyp9zr9.js";
4
4
  import {
5
- Service52
6
- } from "./vcs-b8r1m2ts.js";
5
+ Service59
6
+ } from "./model-resolver-a8pfnwqf.js";
7
7
  import {
8
8
  MAX_MARKDOWN_BYTES2,
9
9
  convertHTMLToMarkdown2
10
- } from "./vcs-4vcrnpx2.js";
10
+ } from "./model-resolver-4vcrnpx2.js";
11
11
  import {
12
12
  collectBoundedResponseBody2
13
- } from "./vcs-3v8g72cx.js";
13
+ } from "./model-resolver-3v8g72cx.js";
14
14
  import {
15
15
  __export
16
- } from "./vcs-9rqn6x4v.js";
16
+ } from "./model-resolver-9rqn6x4v.js";
17
17
 
18
18
  // src/tool/plugin/webfetch.ts
19
19
  var exports_webfetch = {};
20
20
  __export(exports_webfetch, {
21
21
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
22
- Input: () => Input9,
23
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
22
+ Input: () => Input8,
23
+ MAX_REDIRECTS: () => MAX_REDIRECTS2,
24
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
24
25
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
25
- Plugin: () => Plugin29,
26
+ Plugin: () => Plugin44,
26
27
  WebFetchTool: () => exports_webfetch,
27
28
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
28
29
  description: () => description4,
29
30
  extractTextFromHTML: () => extractTextFromHTML2,
30
- name: () => name9
31
+ name: () => name8
31
32
  });
32
33
  import { ToolFailure } from "@opencode/ai/effect";
33
34
  import { Duration, Effect, Schema } from "effect";
34
- import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
35
+ import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
35
36
  import { Parser } from "htmlparser2";
36
- var name9 = "webfetch";
37
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
37
+ var name8 = "webfetch";
38
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
38
39
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
39
40
  var MAX_TIMEOUT_SECONDS2 = 120;
40
41
  var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
41
42
 
42
43
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
43
44
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
44
- var Input9 = Schema.Struct({
45
+ var Input8 = Schema.Struct({
45
46
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
46
47
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
47
48
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -51,7 +52,7 @@ var Input9 = Schema.Struct({
51
52
  var Output = Schema.Struct({
52
53
  url: Schema.String,
53
54
  contentType: Schema.String,
54
- format: Input9.fields.format,
55
+ format: Input8.fields.format,
55
56
  output: Schema.String
56
57
  });
57
58
  var acceptHeader = (format) => {
@@ -71,7 +72,7 @@ var headers = (format, userAgent) => ({
71
72
  });
72
73
  var openCodeUserAgent = "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; OpenCode-User/1.0; +https://opencode.ai";
73
74
  var isCloudflareChallenge = (error) => {
74
- if (error.reason._tag !== "StatusCodeError")
75
+ if (!HttpClientError.isHttpClientError(error) || error.reason._tag !== "StatusCodeError")
75
76
  return false;
76
77
  const response = error.reason.response;
77
78
  return response.status === 403 && response.headers["cf-mitigated"] === "challenge";
@@ -81,8 +82,28 @@ var assertHttpUrl = (url) => {
81
82
  if (url.protocol !== "http:" && url.protocol !== "https:")
82
83
  throw new Error("URL must use http:// or https://");
83
84
  };
84
- var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
85
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
85
+ var MAX_REDIRECTS2 = 10;
86
+ var redirectStatuses = new Set([301, 302, 303, 307, 308]);
87
+ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirects = 0) => http.execute(request(url, format, userAgent)).pipe(Effect.provideService(FetchHttpClient.RequestInit, { redirect: "manual" }), Effect.flatMap((response) => {
88
+ const location = response.headers.location;
89
+ if (!redirectStatuses.has(response.status) || !location)
90
+ return HttpClientResponse.filterStatusOk(response);
91
+ if (redirects >= MAX_REDIRECTS2)
92
+ return Effect.fail(new Error(`Too many redirects (more than ${MAX_REDIRECTS2})`));
93
+ return Effect.gen(function* () {
94
+ const next = yield* Effect.try({
95
+ try: () => {
96
+ const target = new URL(location, url);
97
+ assertHttpUrl(target);
98
+ return target.href;
99
+ },
100
+ catch: (error) => error instanceof Error ? error : new Error(String(error))
101
+ });
102
+ yield* check(next);
103
+ return yield* execute(http, check, next, format, userAgent, redirects + 1);
104
+ });
105
+ }));
106
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
86
107
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
87
108
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
88
109
  var convert = (content, contentType, format) => {
@@ -94,16 +115,16 @@ var convert = (content, contentType, format) => {
94
115
  return extractTextFromHTML2(content);
95
116
  return content;
96
117
  };
97
- var Plugin29 = {
118
+ var Plugin44 = {
98
119
  id: "opencode.tool.webfetch",
99
120
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
100
121
  const http = yield* HttpClient.HttpClient;
101
- const permission = yield* Service52;
122
+ const permission = yield* Service59;
102
123
  yield* ctx.tool.transform((editor) => editor.add({
103
- name: name9,
124
+ name: name8,
104
125
  options: { codemode: false },
105
126
  description: description4,
106
- input: Input9,
127
+ input: Input8,
107
128
  output: Output,
108
129
  execute: (input, context) => Effect.gen(function* () {
109
130
  yield* Effect.try({
@@ -111,7 +132,7 @@ var Plugin29 = {
111
132
  catch: (error) => error
112
133
  });
113
134
  yield* permission.assert({
114
- action: name9,
135
+ action: name8,
115
136
  resources: [input.url],
116
137
  save: ["*"],
117
138
  metadata: input,
@@ -120,7 +141,15 @@ var Plugin29 = {
120
141
  source: { type: "tool", messageID: context.messageID, id: context.id }
121
142
  });
122
143
  const { body, contentType } = yield* Effect.gen(function* () {
123
- const response = yield* execute(http, input.url, input.format).pipe(Effect.catchIf(isCloudflareChallenge, () => execute(http, input.url, input.format, "opencode")));
144
+ const check = (url) => permission.assertNotDenied({
145
+ action: name8,
146
+ resources: [url],
147
+ metadata: { ...input, url },
148
+ sessionID: context.sessionID,
149
+ agent: context.agent,
150
+ source: { type: "tool", messageID: context.messageID, id: context.id }
151
+ });
152
+ const response = yield* execute(http, check, input.url, input.format).pipe(Effect.catchIf(isCloudflareChallenge, () => execute(http, check, input.url, input.format, "opencode")));
124
153
  const contentType = response.headers["content-type"] || "";
125
154
  const mime = mimeFrom(contentType);
126
155
  if (isImageAttachment(mime))
@@ -169,4 +198,4 @@ function extractTextFromHTML2(html) {
169
198
  parser.end();
170
199
  return text.trim();
171
200
  }
172
- export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin29, extractTextFromHTML2, exports_webfetch };
201
+ export { name8, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input8, MAX_REDIRECTS2, Plugin44, extractTextFromHTML2, exports_webfetch };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-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: () => Service11,
9
+ Service: () => Service2,
10
10
  bound: () => bound2,
11
- node: () => node13
11
+ node: () => node3
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service11 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service2 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node13 = makeLocationNode({
19
- service: Service11,
18
+ var node3 = makeLocationNode({
19
+ service: Service2,
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(Service11, Service11.of({ all: () => stamped }));
29
+ return Layer.succeed(Service2, Service2.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service11, node13, bound2, exports_instance2 };
32
+ export { Service2, node3, bound2, exports_instance2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/console-access.ts
6
6
  var exports_console_access = {};
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./vcs-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./vcs-dz8d6p0s.js";
6
+ } from "./model-resolver-t8vm8f3g.js";
7
7
  import {
8
8
  Slug2
9
- } from "./vcs-gebd4c9n.js";
9
+ } from "./model-resolver-gebd4c9n.js";
10
10
  import {
11
11
  Service86,
12
12
  node90
13
- } from "./vcs-6xxsd0pz.js";
13
+ } from "./model-resolver-6eh6zpt5.js";
14
14
  import {
15
- Service85,
16
- node89
17
- } from "./vcs-vmb9fjk7.js";
15
+ Service84,
16
+ node87
17
+ } from "./model-resolver-0yjd96ev.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./vcs-034tev2y.js";
20
+ } from "./model-resolver-034tev2y.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./vcs-ayjs7tqn.js";
23
+ } from "./model-resolver-ayjs7tqn.js";
24
24
  import {
25
- ID17,
26
- NotFoundError12
27
- } from "./vcs-fkdj66dg.js";
25
+ ID12,
26
+ NotFoundError11
27
+ } from "./model-resolver-dgc1n24t.js";
28
28
  import {
29
- Ref5
30
- } from "./vcs-6tznm3hm.js";
29
+ Ref4
30
+ } from "./model-resolver-pc07gvhs.js";
31
31
  import {
32
- Service46,
33
- node48
34
- } from "./vcs-78tx5zvz.js";
32
+ Service57,
33
+ node60
34
+ } from "./model-resolver-xg4yp5ky.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./vcs-d4v9tmah.js";
38
+ } from "./model-resolver-d4v9tmah.js";
39
39
  import {
40
- Service19
41
- } from "./vcs-nd2tnrer.js";
40
+ Service56
41
+ } from "./model-resolver-00j2jq49.js";
42
42
  import {
43
43
  __export
44
- } from "./vcs-9rqn6x4v.js";
44
+ } from "./model-resolver-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event5,
53
- Info: () => Info6,
52
+ Event: () => Event10,
53
+ Info: () => Info12,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
- ListEntry: () => ListEntry2,
56
+ ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service18,
59
+ Service: () => Service55,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node21
64
+ node: () => node58
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
76
  var CreateInput3 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info6 = Worktree.Info;
78
+ var Info12 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
- var ListEntry2 = Worktree.ListEntry;
80
+ var ListEntry3 = Worktree.ListEntry;
81
81
 
82
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
82
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID12, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
84
84
 
85
85
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event5 = Worktree.Event;
93
+ var Event10 = Worktree.Event;
94
94
 
95
- class Service18 extends Context.Service()("@opencode/Worktree") {
95
+ class Service55 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service18, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service86;
100
100
  const db = database.db;
101
- const bus = yield* Service85;
101
+ const bus = yield* Service84;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service46;
103
+ const locations = yield* Service57;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
107
- return yield* new NotFoundError12({ projectID });
107
+ return yield* new NotFoundError11({ projectID });
108
108
  return row;
109
109
  });
110
110
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
113
113
  if (current?.directory === directory)
114
114
  return current.get();
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
- const context = yield* locations.contextEffect(Ref5.make({ directory }));
116
+ const context = yield* locations.contextEffect(Ref4.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service19).get();
118
+ return Context.get(context, Service56).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event5.Updated, { projectID });
122
+ yield* bus.publish(Event10.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service18.of({
249
+ return Service55.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node21 = Node.makeGlobalNode({
260
- service: Service18,
259
+ var node58 = Node.makeGlobalNode({
260
+ service: Service55,
261
261
  layer,
262
- deps: [FSUtil.node, node89, node90, AppProcess.node, node48]
262
+ deps: [FSUtil.node, node87, node90, AppProcess.node, node60]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput3, RemoveInput2, Info6, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service18, node21, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput3, RemoveInput2, Info12, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event10, Service55, node58, exports_worktree2, OperationError2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./vcs-emrn6kk6.js";
7
+ } from "./model-resolver-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,32 +1,32 @@
1
- import {
2
- Service85,
3
- node89
4
- } from "./vcs-vmb9fjk7.js";
5
1
  import {
6
2
  Service84,
7
- node88
8
- } from "./vcs-dz8d6p0s.js";
3
+ node87
4
+ } from "./model-resolver-0yjd96ev.js";
5
+ import {
6
+ Service78,
7
+ node81
8
+ } from "./model-resolver-t8vm8f3g.js";
9
9
  import {
10
- Service82,
11
- node86
12
- } from "./vcs-6tznm3hm.js";
10
+ Service76,
11
+ node79
12
+ } from "./model-resolver-pc07gvhs.js";
13
13
  import {
14
- Service71,
15
- node74
16
- } from "./vcs-w68dkr85.js";
14
+ Service70,
15
+ node73
16
+ } from "./model-resolver-mdmwbg8j.js";
17
17
  import {
18
18
  awaitActivation2
19
- } from "./vcs-2dkjcnxp.js";
19
+ } from "./model-resolver-6zjm2phc.js";
20
20
  import {
21
- node19
22
- } from "./vcs-bekv3p3z.js";
21
+ node20
22
+ } from "./model-resolver-7s7rdm9s.js";
23
23
  import {
24
- Service12,
25
- node14
26
- } from "./vcs-zgd8t41s.js";
24
+ Service11,
25
+ node13
26
+ } from "./model-resolver-q4fcarhy.js";
27
27
  import {
28
28
  __export
29
- } from "./vcs-9rqn6x4v.js";
29
+ } from "./model-resolver-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher2 = {};
@@ -43,12 +43,12 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  class Service10 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
45
  var layer = Layer.effect(Service10, Effect.gen(function* () {
46
- const location = yield* Service82;
47
- const watcher = yield* Service71;
48
- const bus = yield* Service85;
46
+ const location = yield* Service76;
47
+ const watcher = yield* Service70;
48
+ const bus = yield* Service84;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service84;
51
- const policy = yield* Service12;
50
+ const git = yield* Service78;
51
+ const policy = yield* Service11;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
105
105
  var node12 = makeLocationNode({
106
106
  service: Service10,
107
107
  layer,
108
- deps: [node74, FSUtil.node, node86, node88, node89, node19, node14]
108
+ deps: [node73, FSUtil.node, node79, node81, node87, node20, node13]
109
109
  });
110
110
 
111
111
  export { Service10, node12, exports_location_watcher2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service70
4
- } from "./vcs-f62xyz39.js";
3
+ Service69
4
+ } from "./model-resolver-cg5ng5tz.js";
5
5
  import {
6
6
  __export
7
- } from "./vcs-9rqn6x4v.js";
7
+ } from "./model-resolver-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin45,
12
+ Plugin: () => Plugin17,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin45 = define({
22
+ var Plugin17 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service70;
25
+ const config = yield* Service69;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -115,4 +115,4 @@ var Plugin45 = define({
115
115
  })
116
116
  });
117
117
 
118
- export { Plugin45, exports_warming };
118
+ export { Plugin17, exports_warming };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  lazy2
3
- } from "./vcs-88xbtdfr.js";
3
+ } from "./model-resolver-88xbtdfr.js";
4
4
  import {
5
5
  load6
6
- } from "./vcs-ncqqe42p.js";
6
+ } from "./model-resolver-ncqqe42p.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Native: () => Native3,
15
- Service: () => Service71,
15
+ Service: () => Service70,
16
16
  Test: () => Test3,
17
17
  Watcher: () => exports_watcher,
18
18
  configured: () => configured10,
19
19
  hasNativeBinding: () => hasNativeBinding2,
20
20
  layer: () => layer26,
21
21
  nativeLayer: () => nativeLayer2,
22
- node: () => node74,
22
+ node: () => node73,
23
23
  testLayer: () => testLayer3
24
24
  });
25
25
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
49
49
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
50
50
  }
51
51
 
52
- class Service71 extends Context.Service()("@opencode/Watcher") {
52
+ class Service70 extends Context.Service()("@opencode/Watcher") {
53
53
  }
54
54
 
55
55
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
56
56
  }
57
- var layer26 = (options) => Layer.effect(Service71, Effect.gen(function* () {
57
+ var layer26 = (options) => Layer.effect(Service70, Effect.gen(function* () {
58
58
  if (options?.enabled === false) {
59
- return Service71.of({ subscribe: () => Effect.succeed(Stream.empty) });
59
+ return Service70.of({ subscribe: () => Effect.succeed(Stream.empty) });
60
60
  }
61
61
  const native = yield* Native3;
62
62
  const watchers = yield* RcMap.make({
@@ -97,7 +97,7 @@ var layer26 = (options) => Layer.effect(Service71, Effect.gen(function* () {
97
97
  return Stream.fromSubscription(subscription);
98
98
  }));
99
99
  });
100
- return Service71.of({ subscribe });
100
+ return Service70.of({ subscribe });
101
101
  }));
102
102
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
103
103
  const subscriptions = [];
@@ -123,7 +123,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
123
123
  });
124
124
  const context = yield* Layer.build(layer26().pipe(Layer.provide(Layer.succeed(Native3, native))));
125
125
  const test = Test3.of({
126
- subscribe: Context.get(context, Service71).subscribe,
126
+ subscribe: Context.get(context, Service70).subscribe,
127
127
  emit: (update) => Effect.sync(() => {
128
128
  const target = path.resolve(update.path);
129
129
  active.forEach((matches, publish) => {
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
133
133
  }),
134
134
  subscriptions: () => Effect.sync(() => [...subscriptions])
135
135
  });
136
- return Context.empty().pipe(Context.add(Service71, test), Context.add(Test3, test));
136
+ return Context.empty().pipe(Context.add(Service70, test), Context.add(Test3, test));
137
137
  }));
138
138
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
139
139
  subscribe: (input) => {
@@ -156,9 +156,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
156
156
  }));
157
157
  var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
158
158
  function configured10(options) {
159
- return makeGlobalNode({ service: Service71, layer: layer26(options), deps: [nativeNode] });
159
+ return makeGlobalNode({ service: Service70, layer: layer26(options), deps: [nativeNode] });
160
160
  }
161
- var node74 = configured10();
161
+ var node73 = configured10();
162
162
  function subscribeDirectory(native, backend, directory, ignore, publish) {
163
163
  if (!native || !backend) {
164
164
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -178,4 +178,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
178
178
  }).pipe(Effect.as(undefined))));
179
179
  }
180
180
 
181
- export { hasNativeBinding2, Native3, Service71, Test3, layer26, testLayer3, nativeLayer2, configured10, node74, exports_watcher };
181
+ export { hasNativeBinding2, Native3, Service70, Test3, layer26, testLayer3, nativeLayer2, configured10, node73, exports_watcher };