@opencode/core 0.0.0-beta-19500 → 0.0.0-beta-19507

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +4 -4
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{model-resolver-3kafhsr8.js → file-access-057tqkc7.js} +22 -22
  9. package/dist/chunks/file-access-05fbhmag.js +22 -0
  10. package/dist/chunks/{model-resolver-4kmhmgeg.js → file-access-074en4ea.js} +166 -166
  11. package/dist/chunks/{model-resolver-ydgy0jv4.js → file-access-07770t2t.js} +4 -4
  12. package/dist/chunks/{model-resolver-0g6mfyfr.js → file-access-092yf68v.js} +54 -54
  13. package/dist/chunks/{model-resolver-vvccsdf3.js → file-access-0bps82y7.js} +6 -6
  14. package/dist/chunks/{model-resolver-8yrnm0fa.js → file-access-0f9s97z0.js} +18 -18
  15. package/dist/chunks/{model-resolver-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{model-resolver-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{model-resolver-kvffe9p6.js → file-access-0qnveg08.js} +20 -20
  18. package/dist/chunks/{model-resolver-mwnd972w.js → file-access-0sxmdcx0.js} +36 -36
  19. package/dist/chunks/{model-resolver-prp52c5q.js → file-access-0wqa8qs0.js} +11 -11
  20. package/dist/chunks/{model-resolver-87mnny1s.js → file-access-162fttv1.js} +16 -16
  21. package/dist/chunks/{model-resolver-26jcn8kh.js → file-access-16hg2h50.js} +12 -12
  22. package/dist/chunks/{model-resolver-3gjfrb28.js → file-access-19kp6pf8.js} +27 -27
  23. package/dist/chunks/{model-resolver-789bpvq4.js → file-access-1bagj3va.js} +11 -11
  24. package/dist/chunks/{model-resolver-27596drg.js → file-access-1ct3cw4h.js} +26 -26
  25. package/dist/chunks/{model-resolver-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{model-resolver-j12k6d1r.js → file-access-1p1yz3k5.js} +36 -36
  27. package/dist/chunks/{model-resolver-kxpygcw9.js → file-access-1tq060df.js} +6 -6
  28. package/dist/chunks/{model-resolver-x1avke2d.js → file-access-1ve8gnt4.js} +92 -92
  29. package/dist/chunks/{model-resolver-hya8ywrc.js → file-access-1yag4scb.js} +73 -73
  30. package/dist/chunks/{model-resolver-21r38tys.js → file-access-21r38tys.js} +1 -1
  31. package/dist/chunks/{model-resolver-2402vzrj.js → file-access-2402vzrj.js} +1 -1
  32. package/dist/chunks/{model-resolver-ewbqqj16.js → file-access-289rv1w6.js} +15 -15
  33. package/dist/chunks/{model-resolver-htk69tte.js → file-access-29qf8dn7.js} +7 -7
  34. package/dist/chunks/{model-resolver-z63w68vq.js → file-access-29x78va6.js} +6 -6
  35. package/dist/chunks/{model-resolver-mrsqtdpn.js → file-access-29ypnx2x.js} +36 -36
  36. package/dist/chunks/{model-resolver-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
  37. package/dist/chunks/{model-resolver-wf4bebac.js → file-access-2a9f2qq7.js} +14 -14
  38. package/dist/chunks/{model-resolver-079cv0ze.js → file-access-2eywq100.js} +26 -26
  39. package/dist/chunks/{model-resolver-0pm1m3w8.js → file-access-2hhnmqep.js} +13 -13
  40. package/dist/chunks/{model-resolver-2k8khapm.js → file-access-2k8khapm.js} +1 -1
  41. package/dist/chunks/{model-resolver-g5rnekq0.js → file-access-2ve45fd6.js} +5 -5
  42. package/dist/chunks/{model-resolver-xs8g0vg3.js → file-access-2w1d5hqx.js} +6 -6
  43. package/dist/chunks/{model-resolver-h4q9s1ny.js → file-access-2wgyfjx6.js} +17 -17
  44. package/dist/chunks/{model-resolver-s534qmrw.js → file-access-2wyjv582.js} +4 -4
  45. package/dist/chunks/{model-resolver-z7dhx1kn.js → file-access-36d0e9rd.js} +24 -24
  46. package/dist/chunks/{model-resolver-gdvy8fx6.js → file-access-3fc6dm20.js} +4 -4
  47. package/dist/chunks/{model-resolver-ck6gmqc6.js → file-access-3h3mykw7.js} +39 -39
  48. package/dist/chunks/{model-resolver-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{model-resolver-vncycja5.js → file-access-3j8sdtpz.js} +4 -4
  50. package/dist/chunks/{model-resolver-3q1jyqhd.js → file-access-3jp54z3r.js} +1 -1
  51. package/dist/chunks/{model-resolver-021ffpa0.js → file-access-3m9xbvw6.js} +19 -19
  52. package/dist/chunks/{model-resolver-z2b5d6zb.js → file-access-3p9gq7xw.js} +6 -6
  53. package/dist/chunks/{model-resolver-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
  54. package/dist/chunks/{model-resolver-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
  55. package/dist/chunks/{model-resolver-dqyg47hv.js → file-access-4786se8r.js} +1 -1
  56. package/dist/chunks/{model-resolver-gkv3re89.js → file-access-4r4fb002.js} +8 -8
  57. package/dist/chunks/{model-resolver-4y66k410.js → file-access-4y66k410.js} +2 -2
  58. package/dist/chunks/{model-resolver-ggj3dvvh.js → file-access-50m2c0q3.js} +15 -15
  59. package/dist/chunks/{model-resolver-8abbabsk.js → file-access-50wkfpjr.js} +24 -24
  60. package/dist/chunks/{model-resolver-rj9a996t.js → file-access-54r5fgfq.js} +9 -9
  61. package/dist/chunks/{model-resolver-sdcezsxk.js → file-access-55nxwdxq.js} +17 -17
  62. package/dist/chunks/{model-resolver-07cx4w7f.js → file-access-5bjhkrjj.js} +6 -6
  63. package/dist/chunks/{model-resolver-5daktx2q.js → file-access-5daktx2q.js} +1 -1
  64. package/dist/chunks/{model-resolver-0jwvfzzp.js → file-access-5kn1j1nt.js} +23 -23
  65. package/dist/chunks/{model-resolver-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
  66. package/dist/chunks/file-access-64h6ppck.js +247 -0
  67. package/dist/chunks/{model-resolver-669tq793.js → file-access-669tq793.js} +1 -1
  68. package/dist/chunks/{model-resolver-e86807kd.js → file-access-6b41461m.js} +92 -92
  69. package/dist/chunks/{model-resolver-70xr52zc.js → file-access-6fywv4en.js} +24 -24
  70. package/dist/chunks/{model-resolver-jwazx1ed.js → file-access-6hjqy50w.js} +36 -36
  71. package/dist/chunks/{model-resolver-h7ygw6q4.js → file-access-6jnybvqn.js} +9 -9
  72. package/dist/chunks/file-access-6kdq0pjd.js +4 -0
  73. package/dist/chunks/{model-resolver-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{model-resolver-vnv2t9ht.js → file-access-6s8fgxzr.js} +4 -4
  75. package/dist/chunks/{model-resolver-epzffrx8.js → file-access-6ybvw0w7.js} +25 -25
  76. package/dist/chunks/{model-resolver-h2fnsspk.js → file-access-6ymtkfzb.js} +11 -11
  77. package/dist/chunks/{model-resolver-m4hypjkm.js → file-access-6zwbw4we.js} +11 -11
  78. package/dist/chunks/{model-resolver-71q4at8m.js → file-access-71q4at8m.js} +1 -1
  79. package/dist/chunks/{model-resolver-4grgn5v0.js → file-access-798sgk8w.js} +11 -11
  80. package/dist/chunks/{model-resolver-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{model-resolver-8p2zvf0d.js → file-access-7hbsyrtj.js} +31 -31
  82. package/dist/chunks/{model-resolver-7z7az0f5.js → file-access-7j92jdde.js} +4 -4
  83. package/dist/chunks/{model-resolver-0wmmprtc.js → file-access-7jrfegz8.js} +30 -30
  84. package/dist/chunks/{model-resolver-rtkh6q4b.js → file-access-7k68m5b6.js} +11 -11
  85. package/dist/chunks/{model-resolver-xtzwr8pq.js → file-access-7vczhnf2.js} +11 -11
  86. package/dist/chunks/{model-resolver-aztjpt51.js → file-access-7w5qhqhs.js} +18 -18
  87. package/dist/chunks/{model-resolver-ryr25ayn.js → file-access-806j49yq.js} +4 -4
  88. package/dist/chunks/{model-resolver-rsym84ch.js → file-access-81swgkk7.js} +7 -7
  89. package/dist/chunks/{model-resolver-rq6dswfj.js → file-access-833eac0h.js} +10 -10
  90. package/dist/chunks/{model-resolver-581kfnqp.js → file-access-85b01qar.js} +18 -18
  91. package/dist/chunks/{model-resolver-qyxt0tsw.js → file-access-8a0b7fze.js} +4 -4
  92. package/dist/chunks/{model-resolver-s2whfhf8.js → file-access-8cw6nfrt.js} +23 -23
  93. package/dist/chunks/{model-resolver-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{model-resolver-k6h76ggr.js → file-access-8mc8s27z.js} +25 -25
  95. package/dist/chunks/{model-resolver-8p4f9s12.js → file-access-8p4f9s12.js} +2 -2
  96. package/dist/chunks/{model-resolver-nv6fkpt4.js → file-access-8p576cyw.js} +17 -17
  97. package/dist/chunks/{model-resolver-kk8h1mek.js → file-access-8t1wrec1.js} +8 -8
  98. package/dist/chunks/{model-resolver-8p8b376s.js → file-access-8v86gz5j.js} +27 -27
  99. package/dist/chunks/{model-resolver-3tq8bdpm.js → file-access-8wccq5jz.js} +13 -13
  100. package/dist/chunks/{model-resolver-87qnmf38.js → file-access-92a7scs5.js} +35 -35
  101. package/dist/chunks/{model-resolver-j7wq2tw5.js → file-access-93hpb89x.js} +3 -3
  102. package/dist/chunks/{model-resolver-k6556a45.js → file-access-954vm9zf.js} +6 -6
  103. package/dist/chunks/{model-resolver-bq4vzaks.js → file-access-9655radm.js} +46 -46
  104. package/dist/chunks/{model-resolver-yjv2keaj.js → file-access-98yekt2h.js} +37 -37
  105. package/dist/chunks/{model-resolver-rctyp4y4.js → file-access-9998dwsd.js} +24 -24
  106. package/dist/chunks/{model-resolver-djmbsxn3.js → file-access-99yaft7y.js} +9 -9
  107. package/dist/chunks/{model-resolver-p52p41ww.js → file-access-9b1t164c.js} +14 -14
  108. package/dist/chunks/{model-resolver-cbg8bv93.js → file-access-9d8v8ke2.js} +10 -10
  109. package/dist/chunks/{model-resolver-qn8ypmg1.js → file-access-9pf502c0.js} +12 -12
  110. package/dist/chunks/{model-resolver-a1bz86dw.js → file-access-a1bz86dw.js} +3 -3
  111. package/dist/chunks/{model-resolver-twy35tz0.js → file-access-a5gt7g2r.js} +9 -9
  112. package/dist/chunks/{model-resolver-74w3tna1.js → file-access-a82vvkn3.js} +18 -18
  113. package/dist/chunks/{model-resolver-sph8ksss.js → file-access-a9h2vqbk.js} +9 -9
  114. package/dist/chunks/{model-resolver-aaet6srn.js → file-access-aaet6srn.js} +2 -2
  115. package/dist/chunks/{model-resolver-wj9n5p3k.js → file-access-ad0pt644.js} +5 -5
  116. package/dist/chunks/{model-resolver-37s12vcn.js → file-access-ag9w8cw1.js} +5 -5
  117. package/dist/chunks/{model-resolver-6jcw83n3.js → file-access-avdg492x.js} +47 -47
  118. package/dist/chunks/{model-resolver-kbn8346a.js → file-access-awx7v7h5.js} +11 -11
  119. package/dist/chunks/{model-resolver-75evgfh8.js → file-access-ayfrx99c.js} +15 -15
  120. package/dist/chunks/{model-resolver-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{model-resolver-7fys8geh.js → file-access-bap3gy1s.js} +16 -16
  122. package/dist/chunks/{model-resolver-xg9t41r3.js → file-access-be40ghdv.js} +2 -2
  123. package/dist/chunks/{model-resolver-s5wnyv46.js → file-access-bh9xqmdb.js} +32 -32
  124. package/dist/chunks/{model-resolver-gw82nkc3.js → file-access-c1fhravq.js} +32 -32
  125. package/dist/chunks/{model-resolver-r9ghxtsk.js → file-access-c3jkddnq.js} +6 -6
  126. package/dist/chunks/{model-resolver-b22gj5xn.js → file-access-c6npeh2h.js} +32 -32
  127. package/dist/chunks/{model-resolver-a2cfvfg1.js → file-access-c7q2zwp5.js} +20 -20
  128. package/dist/chunks/{model-resolver-9stj6zpb.js → file-access-ca64vat9.js} +32 -32
  129. package/dist/chunks/{model-resolver-0wbgnjtz.js → file-access-ccxygkss.js} +5 -5
  130. package/dist/chunks/{model-resolver-cfpkc3c9.js → file-access-cfpkc3c9.js} +2 -2
  131. package/dist/chunks/{model-resolver-qa6ytjmd.js → file-access-cmrf6j2e.js} +15 -15
  132. package/dist/chunks/{model-resolver-dv1qgsyq.js → file-access-cmwkp3r5.js} +8 -8
  133. package/dist/chunks/{model-resolver-1hc11dc4.js → file-access-csf2jhsg.js} +4 -4
  134. package/dist/chunks/{model-resolver-tp3xxvx5.js → file-access-ct0crnq6.js} +43 -43
  135. package/dist/chunks/{model-resolver-0334ef0p.js → file-access-cza9j1er.js} +1 -1
  136. package/dist/chunks/{model-resolver-mg5mchpt.js → file-access-d09g07f5.js} +28 -28
  137. package/dist/chunks/{model-resolver-d2aac7k2.js → file-access-d2aac7k2.js} +2 -2
  138. package/dist/chunks/{model-resolver-2cshb6bs.js → file-access-d2nsem9c.js} +26 -26
  139. package/dist/chunks/{model-resolver-gwfcx2m0.js → file-access-d6ppqdhn.js} +22 -22
  140. package/dist/chunks/{model-resolver-n37c4crj.js → file-access-depwzj9d.js} +9 -9
  141. package/dist/chunks/{model-resolver-t7n9q6bq.js → file-access-dhmh7aw6.js} +4 -4
  142. package/dist/chunks/{model-resolver-me88hgte.js → file-access-dpnaqgym.js} +23 -23
  143. package/dist/chunks/{model-resolver-b77arecc.js → file-access-drbmzzp6.js} +26 -26
  144. package/dist/chunks/{model-resolver-98kgw1j6.js → file-access-dw1fjyb0.js} +5 -5
  145. package/dist/chunks/{model-resolver-mz60zy6e.js → file-access-dyw6ca8r.js} +18 -18
  146. package/dist/chunks/{model-resolver-vhj1rs6k.js → file-access-e0wvz8qy.js} +22 -22
  147. package/dist/chunks/{model-resolver-9rzqjwaz.js → file-access-e17bkqjz.js} +1 -1
  148. package/dist/chunks/{model-resolver-e6fygs6z.js → file-access-e2tvng7c.js} +23 -23
  149. package/dist/chunks/{model-resolver-erhkyex8.js → file-access-e3nd4ayr.js} +4 -4
  150. package/dist/chunks/{model-resolver-wrjeysgp.js → file-access-ea8nv0r7.js} +2 -2
  151. package/dist/chunks/{model-resolver-1gqabzhy.js → file-access-ebz469zm.js} +18 -18
  152. package/dist/chunks/{model-resolver-q91t8a1k.js → file-access-eh8n39qf.js} +18 -18
  153. package/dist/chunks/{model-resolver-f8xc4yre.js → file-access-ehknnwyx.js} +29 -29
  154. package/dist/chunks/{model-resolver-mb5a7wwz.js → file-access-epa61trx.js} +8 -8
  155. package/dist/chunks/{model-resolver-gwnxf6ch.js → file-access-eqpk83eg.js} +6 -6
  156. package/dist/chunks/{model-resolver-0mywzg06.js → file-access-etca44vv.js} +25 -25
  157. package/dist/chunks/{model-resolver-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
  158. package/dist/chunks/{model-resolver-s1vvg2cq.js → file-access-f4mxeny4.js} +7 -7
  159. package/dist/chunks/{model-resolver-f828m53h.js → file-access-f828m53h.js} +2 -2
  160. package/dist/chunks/{model-resolver-23sxaqwc.js → file-access-fjvydvzm.js} +5 -5
  161. package/dist/chunks/{model-resolver-9y7khav7.js → file-access-fpkam962.js} +15 -15
  162. package/dist/chunks/{model-resolver-f8zs2stk.js → file-access-fpv6qd1b.js} +8 -8
  163. package/dist/chunks/{model-resolver-spr8pf2r.js → file-access-fx94a4xa.js} +6 -6
  164. package/dist/chunks/{model-resolver-fxbjtjnd.js → file-access-fxbjtjnd.js} +1 -1
  165. package/dist/chunks/{model-resolver-jbe1bvhn.js → file-access-fxtmjajv.js} +31 -31
  166. package/dist/chunks/{model-resolver-1ptmpf20.js → file-access-g14zqp48.js} +8 -8
  167. package/dist/chunks/{model-resolver-3hgg98pr.js → file-access-g3r1njd0.js} +28 -28
  168. package/dist/chunks/{model-resolver-774n8a20.js → file-access-g6ech2dm.js} +9 -9
  169. package/dist/chunks/{model-resolver-z2kz5700.js → file-access-gbhfcamq.js} +17 -17
  170. package/dist/chunks/{model-resolver-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
  171. package/dist/chunks/{model-resolver-gv6a8nnw.js → file-access-gv6a8nnw.js} +2 -2
  172. package/dist/chunks/{model-resolver-h03wrkyp.js → file-access-h03wrkyp.js} +2 -2
  173. package/dist/chunks/{model-resolver-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
  174. package/dist/chunks/{model-resolver-pvvs7m8f.js → file-access-h83x8fry.js} +13 -13
  175. package/dist/chunks/{model-resolver-wwmx33bt.js → file-access-h8sjebh6.js} +5 -5
  176. package/dist/chunks/{model-resolver-d2fv866c.js → file-access-h9wq4q8z.js} +13 -13
  177. package/dist/chunks/{model-resolver-fxqygnfa.js → file-access-hc7n3jk5.js} +4 -4
  178. package/dist/chunks/{model-resolver-d880b0y6.js → file-access-hgsea5z3.js} +30 -30
  179. package/dist/chunks/{model-resolver-zf0svfz5.js → file-access-hgyq9xg3.js} +18 -18
  180. package/dist/chunks/{model-resolver-z2qr9twd.js → file-access-hzmns3wg.js} +1 -1
  181. package/dist/chunks/{model-resolver-j56e64zr.js → file-access-j56e64zr.js} +1 -1
  182. package/dist/chunks/{model-resolver-paphc93g.js → file-access-j935v87r.js} +2 -2
  183. package/dist/chunks/{model-resolver-qdcfe15v.js → file-access-jeanpfns.js} +1 -1
  184. package/dist/chunks/{model-resolver-2verbhpp.js → file-access-jgwtszpa.js} +37 -37
  185. package/dist/chunks/{model-resolver-mz65vdgf.js → file-access-jhcd8dwt.js} +20 -20
  186. package/dist/chunks/{model-resolver-121k57vw.js → file-access-jj63jgrn.js} +4 -4
  187. package/dist/chunks/file-access-jqh9b0xq.js +18 -0
  188. package/dist/chunks/{model-resolver-4bfepadc.js → file-access-k1yeadxq.js} +4 -4
  189. package/dist/chunks/{model-resolver-hwap2x7x.js → file-access-k5rs1z8v.js} +22 -22
  190. package/dist/chunks/{model-resolver-kg06axw8.js → file-access-kg06axw8.js} +1 -1
  191. package/dist/chunks/{model-resolver-g190xswt.js → file-access-kk00bynn.js} +21 -21
  192. package/dist/chunks/{model-resolver-csz4k5km.js → file-access-kntbkpw6.js} +18 -18
  193. package/dist/chunks/{model-resolver-aczsg4vg.js → file-access-m0bw0e4m.js} +28 -28
  194. package/dist/chunks/{model-resolver-98a0b00a.js → file-access-m7y3f53v.js} +4 -4
  195. package/dist/chunks/{model-resolver-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
  196. package/dist/chunks/{model-resolver-a4vx34cq.js → file-access-m9wxyjft.js} +11 -11
  197. package/dist/chunks/{model-resolver-fdc0z0c3.js → file-access-mce70z9k.js} +2 -2
  198. package/dist/chunks/{model-resolver-1ygqh575.js → file-access-mfqp6xfm.js} +6 -6
  199. package/dist/chunks/{model-resolver-shqnjwtb.js → file-access-mqt7ckw4.js} +21 -21
  200. package/dist/chunks/{model-resolver-r532bney.js → file-access-mtegq6tq.js} +4 -4
  201. package/dist/chunks/{model-resolver-mhkvc446.js → file-access-mvfsc1pv.js} +3 -3
  202. package/dist/chunks/{model-resolver-dkck3j8g.js → file-access-n747g3fh.js} +5 -5
  203. package/dist/chunks/{model-resolver-drknmmyh.js → file-access-n7qjkrfm.js} +9 -9
  204. package/dist/chunks/{model-resolver-0hf448nj.js → file-access-n990e9jc.js} +8 -8
  205. package/dist/chunks/{model-resolver-x940zq77.js → file-access-nbddwgy7.js} +10 -10
  206. package/dist/chunks/{model-resolver-818pfwc9.js → file-access-ndzempgb.js} +11 -11
  207. package/dist/chunks/{model-resolver-mhdwrqr0.js → file-access-nfvsp598.js} +3 -3
  208. package/dist/chunks/{model-resolver-e82z9tr0.js → file-access-nhy5jxhy.js} +7 -7
  209. package/dist/chunks/{model-resolver-wgf958fy.js → file-access-nsva66p3.js} +30 -30
  210. package/dist/chunks/{model-resolver-6kyz0a76.js → file-access-nv5vn7qx.js} +4 -4
  211. package/dist/chunks/{model-resolver-3nxeqbj3.js → file-access-p49w4vfv.js} +16 -16
  212. package/dist/chunks/{model-resolver-vy514hgv.js → file-access-pgyeg8d2.js} +9 -9
  213. package/dist/chunks/{model-resolver-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{model-resolver-pknna89w.js → file-access-pknna89w.js} +1 -1
  215. package/dist/chunks/{model-resolver-am89cgs6.js → file-access-pkpqbj6e.js} +12 -12
  216. package/dist/chunks/{model-resolver-g6fkknnq.js → file-access-px5bqy57.js} +26 -26
  217. package/dist/chunks/{model-resolver-bcbgj7m0.js → file-access-q1gv8zwg.js} +18 -18
  218. package/dist/chunks/{model-resolver-csz41kxq.js → file-access-q1yd4tcg.js} +5 -5
  219. package/dist/chunks/{model-resolver-trk3y68z.js → file-access-q6jpwyt1.js} +61 -61
  220. package/dist/chunks/{model-resolver-qwkytnft.js → file-access-qd8wwfxt.js} +9 -9
  221. package/dist/chunks/{model-resolver-xdk7tsve.js → file-access-qmy7xtej.js} +1 -1
  222. package/dist/chunks/{model-resolver-6wxzvafn.js → file-access-qny2rjqg.js} +11 -11
  223. package/dist/chunks/{model-resolver-y94qkjj7.js → file-access-qs55kqfs.js} +10 -10
  224. package/dist/chunks/{model-resolver-qsdy395h.js → file-access-qsdy395h.js} +1 -1
  225. package/dist/chunks/{model-resolver-qn4ba14w.js → file-access-qte5z7bc.js} +5 -5
  226. package/dist/chunks/{model-resolver-6xt4p4wv.js → file-access-qxj3mjt1.js} +9 -9
  227. package/dist/chunks/{model-resolver-zpkbxaqd.js → file-access-r1hceb3x.js} +4 -4
  228. package/dist/chunks/{model-resolver-h3k867zz.js → file-access-r4k1wyhr.js} +5 -5
  229. package/dist/chunks/{model-resolver-1acjjqhc.js → file-access-r8xr0va3.js} +4 -4
  230. package/dist/chunks/{model-resolver-r9mregkx.js → file-access-r9mregkx.js} +2 -2
  231. package/dist/chunks/{model-resolver-7cwz0yjz.js → file-access-rd8fjvyy.js} +17 -17
  232. package/dist/chunks/{model-resolver-5v1cn1j1.js → file-access-reqevd7p.js} +15 -15
  233. package/dist/chunks/{model-resolver-02nrjc1r.js → file-access-rhjbct0v.js} +6 -6
  234. package/dist/chunks/{model-resolver-532bqssk.js → file-access-rhqq9sj2.js} +13 -13
  235. package/dist/chunks/{model-resolver-t6gatd88.js → file-access-rq0v4azk.js} +48 -48
  236. package/dist/chunks/{model-resolver-ghej9zy6.js → file-access-rs20ccms.js} +19 -19
  237. package/dist/chunks/{model-resolver-5v85fpgj.js → file-access-rvpq5vnx.js} +25 -25
  238. package/dist/chunks/{model-resolver-03s1nxke.js → file-access-rvyy05ds.js} +11 -11
  239. package/dist/chunks/{model-resolver-942176fc.js → file-access-rzxs471t.js} +8 -8
  240. package/dist/chunks/{model-resolver-yrznvahk.js → file-access-s4enseaf.js} +2 -2
  241. package/dist/chunks/{model-resolver-t9e5d74p.js → file-access-s8aab4ga.js} +9 -9
  242. package/dist/chunks/{model-resolver-1zkr721w.js → file-access-sqb2tzxk.js} +16 -16
  243. package/dist/chunks/{model-resolver-kx6yd4vg.js → file-access-sthbbwkd.js} +35 -35
  244. package/dist/chunks/{model-resolver-atny4vj3.js → file-access-t9jk0gx5.js} +11 -11
  245. package/dist/chunks/{model-resolver-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
  246. package/dist/chunks/{model-resolver-dktryzc1.js → file-access-tb22s7pw.js} +26 -26
  247. package/dist/chunks/{model-resolver-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
  248. package/dist/chunks/{model-resolver-tdstcens.js → file-access-tdstcens.js} +1 -1
  249. package/dist/chunks/{model-resolver-x6geafsy.js → file-access-tgqjfyja.js} +3 -3
  250. package/dist/chunks/{model-resolver-pqg5898n.js → file-access-tn359hwq.js} +12 -12
  251. package/dist/chunks/{model-resolver-tvtrv512.js → file-access-tvtrv512.js} +1 -1
  252. package/dist/chunks/{model-resolver-rd8pgjwx.js → file-access-vcp78m62.js} +20 -20
  253. package/dist/chunks/{model-resolver-veqvce7d.js → file-access-veqvce7d.js} +1 -1
  254. package/dist/chunks/{model-resolver-y3fea29m.js → file-access-vkg1qcnj.js} +18 -18
  255. package/dist/chunks/{model-resolver-hwxt52gm.js → file-access-vv3eqyfe.js} +5 -5
  256. package/dist/chunks/{model-resolver-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{model-resolver-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{model-resolver-t82489yp.js → file-access-wbqd4jb4.js} +35 -35
  259. package/dist/chunks/{model-resolver-wd87259q.js → file-access-wd87259q.js} +1 -1
  260. package/dist/chunks/{model-resolver-24e6cc3r.js → file-access-we88g5cm.js} +7 -7
  261. package/dist/chunks/{model-resolver-0sp60s5d.js → file-access-weg980m4.js} +20 -20
  262. package/dist/chunks/{model-resolver-pm4pe4yk.js → file-access-wh2r9z7p.js} +29 -29
  263. package/dist/chunks/{model-resolver-rav9e4bf.js → file-access-wh3mwy9y.js} +8 -8
  264. package/dist/chunks/{model-resolver-64at0fy0.js → file-access-wk64ntyb.js} +8 -8
  265. package/dist/chunks/{model-resolver-8y92rm17.js → file-access-wqg2ybf7.js} +6 -6
  266. package/dist/chunks/{model-resolver-6fvs6bkh.js → file-access-x175c4wg.js} +43 -43
  267. package/dist/chunks/{model-resolver-q87s0xy8.js → file-access-x1cybn0h.js} +60 -60
  268. package/dist/chunks/{model-resolver-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{model-resolver-fvf9sjjr.js → file-access-x95hc271.js} +43 -43
  270. package/dist/chunks/{model-resolver-djqd3v5p.js → file-access-xjcerejp.js} +35 -35
  271. package/dist/chunks/{model-resolver-psjem9sa.js → file-access-xrs7w8df.js} +10 -10
  272. package/dist/chunks/{model-resolver-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{model-resolver-6hzp91we.js → file-access-y5g8bess.js} +7 -7
  274. package/dist/chunks/{model-resolver-dpkg50ah.js → file-access-y71avatq.js} +4 -4
  275. package/dist/chunks/{model-resolver-vxp3kcg3.js → file-access-ykczf8eq.js} +5 -5
  276. package/dist/chunks/{model-resolver-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{model-resolver-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{model-resolver-zceb237h.js → file-access-z2qkwvnb.js} +13 -13
  279. package/dist/chunks/{model-resolver-s72x8wcp.js → file-access-zbgzbq8q.js} +23 -23
  280. package/dist/chunks/{model-resolver-zeh9ct20.js → file-access-zeh9ct20.js} +2 -2
  281. package/dist/chunks/file-access-zka7qpah.js +462 -0
  282. package/dist/chunks/{model-resolver-0k7hqrra.js → file-access-zmvq2rqz.js} +22 -22
  283. package/dist/chunks/{model-resolver-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{model-resolver-htx7jtvk.js → file-access-zrk6752y.js} +22 -22
  285. package/dist/chunks/{model-resolver-0vvagabw.js → file-access-zsmcd3bd.js} +27 -27
  286. package/dist/chunks/{model-resolver-g53r2hff.js → file-access-zttfg7sr.js} +41 -41
  287. package/dist/chunks/{model-resolver-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +82 -82
  292. package/dist/config/discovery.js +78 -78
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +210 -210
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +118 -118
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +117 -117
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +118 -118
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +114 -114
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +120 -120
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +84 -84
  320. package/dist/database/database.js +69 -69
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +73 -73
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +223 -223
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +101 -101
  425. package/dist/form.js +81 -81
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +83 -83
  428. package/dist/generate.js +94 -94
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +82 -82
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +83 -83
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +132 -132
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +82 -82
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +83 -83
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +106 -106
  469. package/dist/mcp/instructions.js +123 -123
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +83 -83
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +87 -87
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +113 -113
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +87 -87
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +100 -100
  487. package/dist/plugin/command.js +97 -97
  488. package/dist/plugin/hooks.js +3 -3
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +116 -116
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -118
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +79 -79
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +118 -118
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +340 -340
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +113 -113
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +6 -6
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin.js +221 -221
  551. package/dist/project/schema.js +6 -6
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +84 -84
  554. package/dist/provider.js +7 -7
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +93 -93
  559. package/dist/reference/instructions.js +85 -85
  560. package/dist/reference.js +83 -83
  561. package/dist/repository-cache.js +77 -77
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +94 -94
  565. package/dist/rpc.js +82 -82
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -73
  568. package/dist/session/compaction.js +128 -128
  569. package/dist/session/context.js +148 -148
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +7 -7
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +220 -220
  574. package/dist/session/execution.js +123 -123
  575. package/dist/session/generate.js +149 -149
  576. package/dist/session/history.js +15 -15
  577. package/dist/session/inbox.js +87 -87
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +78 -78
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +93 -93
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +114 -114
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +127 -127
  587. package/dist/session/projector.js +85 -85
  588. package/dist/session/prompt.js +101 -101
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +86 -86
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +226 -226
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +87 -87
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +111 -111
  598. package/dist/session/runner/step.js +122 -122
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +170 -170
  602. package/dist/session/shell.js +132 -132
  603. package/dist/session/skill.js +99 -99
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +74 -74
  606. package/dist/session/store.js +84 -84
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +204 -204
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +152 -152
  611. package/dist/session/to-session-error.js +108 -108
  612. package/dist/session/transfer.js +219 -219
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +214 -214
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +134 -134
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +101 -101
  622. package/dist/skill.js +106 -106
  623. package/dist/snapshot.js +85 -85
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +120 -120
  628. package/dist/tool/plugin/edit.js +116 -116
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +117 -117
  631. package/dist/tool/plugin/grep.js +121 -121
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +118 -118
  634. package/dist/tool/plugin/question.js +99 -99
  635. package/dist/tool/plugin/read.js +120 -120
  636. package/dist/tool/plugin/shell.js +211 -211
  637. package/dist/tool/plugin/skill.js +107 -107
  638. package/dist/tool/plugin/subagent.js +213 -213
  639. package/dist/tool/plugin/webfetch.js +106 -106
  640. package/dist/tool/plugin/websearch.js +108 -108
  641. package/dist/tool/plugin/write.js +118 -118
  642. package/dist/tool/read-filesystem.js +97 -97
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +15 -15
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +7 -7
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +3 -3
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +4 -4
  659. package/dist/v1/config/formatter.js +3 -3
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +5 -5
  662. package/dist/v1/config/mcp.js +2 -2
  663. package/dist/v1/config/migrate.js +4 -4
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +1 -1
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +3 -3
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +86 -86
  673. package/dist/websearch.js +83 -83
  674. package/dist/wellknown/plugin.js +75 -75
  675. package/dist/wellknown.js +80 -80
  676. package/dist/workspace/driver.js +3 -3
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +79 -79
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +7 -7
  681. package/dist/worktree/refresh.js +341 -341
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +92 -92
  684. package/package.json +8 -8
  685. package/dist/chunks/model-resolver-fbf46f8y.js +0 -462
  686. package/dist/chunks/model-resolver-hjw1g3kj.js +0 -247
  687. package/dist/chunks/model-resolver-j2k1bkn8.js +0 -22
  688. package/dist/chunks/model-resolver-qapv375x.js +0 -4
  689. package/dist/chunks/model-resolver-qdyb70sk.js +0 -18
  690. /package/dist/chunks/{model-resolver-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{model-resolver-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{model-resolver-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{model-resolver-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{model-resolver-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{model-resolver-2710q6r3.js → file-access-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{model-resolver-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{model-resolver-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{model-resolver-359p4xyc.js → file-access-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{model-resolver-3asan66x.js → file-access-3asan66x.js} +0 -0
  700. /package/dist/chunks/{model-resolver-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{model-resolver-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{model-resolver-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{model-resolver-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{model-resolver-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{model-resolver-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{model-resolver-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{model-resolver-53557ph1.js → file-access-53557ph1.js} +0 -0
  708. /package/dist/chunks/{model-resolver-550bvhaj.js → file-access-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{model-resolver-6prwharc.js → file-access-6prwharc.js} +0 -0
  710. /package/dist/chunks/{model-resolver-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{model-resolver-7m9af43g.js → file-access-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{model-resolver-822emrt2.js → file-access-822emrt2.js} +0 -0
  713. /package/dist/chunks/{model-resolver-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{model-resolver-8n3pysct.js → file-access-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{model-resolver-922hggd3.js → file-access-922hggd3.js} +0 -0
  716. /package/dist/chunks/{model-resolver-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{model-resolver-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{model-resolver-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{model-resolver-af5trqkr.js → file-access-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{model-resolver-afrmfg78.js → file-access-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{model-resolver-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{model-resolver-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{model-resolver-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{model-resolver-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{model-resolver-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{model-resolver-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{model-resolver-d9fn303g.js → file-access-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{model-resolver-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{model-resolver-dajrwvna.js → file-access-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{model-resolver-dap0rakb.js → file-access-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{model-resolver-df08tz66.js → file-access-df08tz66.js} +0 -0
  732. /package/dist/chunks/{model-resolver-dy18nga0.js → file-access-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{model-resolver-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{model-resolver-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{model-resolver-ec1grn59.js → file-access-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{model-resolver-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{model-resolver-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{model-resolver-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{model-resolver-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{model-resolver-faypxj3z.js → file-access-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{model-resolver-fd410y7t.js → file-access-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{model-resolver-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{model-resolver-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{model-resolver-g86h250q.js → file-access-g86h250q.js} +0 -0
  745. /package/dist/chunks/{model-resolver-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{model-resolver-gftt206x.js → file-access-gftt206x.js} +0 -0
  747. /package/dist/chunks/{model-resolver-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{model-resolver-hk9envan.js → file-access-hk9envan.js} +0 -0
  749. /package/dist/chunks/{model-resolver-hrnqkpcd.js → file-access-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{model-resolver-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{model-resolver-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{model-resolver-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{model-resolver-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{model-resolver-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{model-resolver-mp448xyj.js → file-access-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{model-resolver-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{model-resolver-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{model-resolver-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{model-resolver-njntx4h6.js → file-access-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{model-resolver-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{model-resolver-q74kybfr.js → file-access-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{model-resolver-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{model-resolver-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{model-resolver-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{model-resolver-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{model-resolver-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{model-resolver-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{model-resolver-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{model-resolver-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{model-resolver-twg0f83k.js → file-access-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{model-resolver-w803qqfp.js → file-access-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{model-resolver-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{model-resolver-wtztk69x.js → file-access-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{model-resolver-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{model-resolver-x61499pn.js → file-access-x61499pn.js} +0 -0
  776. /package/dist/chunks/{model-resolver-y44na4kk.js → file-access-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{model-resolver-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{model-resolver-y8f7s663.js → file-access-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{model-resolver-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{model-resolver-ym463w8f.js → file-access-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{model-resolver-z9919s4g.js → file-access-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service77,
4
- node81
5
- } from "./model-resolver-csz4k5km.js";
3
+ Service78,
4
+ node83
5
+ } from "./file-access-kntbkpw6.js";
6
6
  import {
7
- Service66,
8
- node70
9
- } from "./model-resolver-d2fv866c.js";
7
+ Service79,
8
+ node84
9
+ } from "./file-access-h9wq4q8z.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./file-access-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event11,
19
+ Event: () => Event18,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service58,
22
+ Service: () => Service69,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node61,
26
- resolve: () => resolve3
25
+ node: () => node73,
26
+ resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service58 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service69 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event18 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service58, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service66;
81
- const bus = yield* Service77;
80
+ const kv = yield* Service79;
81
+ const bus = yield* Service78;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event18.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service58.of({
115
+ return Service69.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event11.Updated, {});
128
+ yield* bus.publish(Event18.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event18.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node61 = makeGlobalNode({ service: Service58, layer, deps: [httpClient, node70, node81] });
146
+ var node73 = makeGlobalNode({ service: Service69, layer, deps: [httpClient, node84, node83] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service58, Event11, inspect2, resolve3, node61, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service69, Event18, inspect2, resolve2, node73, exports_wellknown };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./file-access-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -0,0 +1,462 @@
1
+ import {
2
+ Service78,
3
+ node83
4
+ } from "./file-access-kntbkpw6.js";
5
+ import {
6
+ Service57,
7
+ node61
8
+ } from "./file-access-zsmcd3bd.js";
9
+ import {
10
+ Service74,
11
+ node79
12
+ } from "./file-access-0sxmdcx0.js";
13
+ import {
14
+ Service62,
15
+ node66
16
+ } from "./file-access-19kp6pf8.js";
17
+ import {
18
+ Service61,
19
+ node65
20
+ } from "./file-access-ehknnwyx.js";
21
+ import {
22
+ Service60,
23
+ node64
24
+ } from "./file-access-tb22s7pw.js";
25
+ import {
26
+ Service43,
27
+ node47
28
+ } from "./file-access-rvpq5vnx.js";
29
+ import {
30
+ Service68,
31
+ node72
32
+ } from "./file-access-50wkfpjr.js";
33
+ import {
34
+ Service75,
35
+ node80
36
+ } from "./file-access-bap3gy1s.js";
37
+ import {
38
+ Service79,
39
+ node84
40
+ } from "./file-access-h9wq4q8z.js";
41
+ import {
42
+ Service69,
43
+ node73
44
+ } from "./file-access-zbgzbq8q.js";
45
+ import {
46
+ Service67,
47
+ node71
48
+ } from "./file-access-9655radm.js";
49
+ import {
50
+ Plugin17
51
+ } from "./file-access-0qnveg08.js";
52
+ import {
53
+ Service50,
54
+ node54
55
+ } from "./file-access-2wgyfjx6.js";
56
+ import {
57
+ Service54,
58
+ node58
59
+ } from "./file-access-x1cybn0h.js";
60
+ import {
61
+ Service40,
62
+ node44
63
+ } from "./file-access-drbmzzp6.js";
64
+ import {
65
+ Service70,
66
+ node74
67
+ } from "./file-access-36d0e9rd.js";
68
+ import {
69
+ Service39,
70
+ node43
71
+ } from "./file-access-092yf68v.js";
72
+ import {
73
+ Service52,
74
+ node56
75
+ } from "./file-access-n7qjkrfm.js";
76
+ import {
77
+ Service51,
78
+ node55
79
+ } from "./file-access-e2tvng7c.js";
80
+ import {
81
+ Service41,
82
+ node45
83
+ } from "./file-access-8cw6nfrt.js";
84
+ import {
85
+ Service44,
86
+ node48
87
+ } from "./file-access-1ct3cw4h.js";
88
+ import {
89
+ Plugin45
90
+ } from "./file-access-6zwbw4we.js";
91
+ import {
92
+ Service63,
93
+ node67
94
+ } from "./file-access-6fywv4en.js";
95
+ import {
96
+ Service72,
97
+ node77
98
+ } from "./file-access-3m9xbvw6.js";
99
+ import {
100
+ Service66,
101
+ node70
102
+ } from "./file-access-16hg2h50.js";
103
+ import {
104
+ Service64,
105
+ node68
106
+ } from "./file-access-rq0v4azk.js";
107
+ import {
108
+ Service27,
109
+ node31
110
+ } from "./file-access-1ve8gnt4.js";
111
+ import {
112
+ Plugin7
113
+ } from "./file-access-d2nsem9c.js";
114
+ import {
115
+ Service8,
116
+ node11
117
+ } from "./file-access-7hbsyrtj.js";
118
+ import {
119
+ Plugin2
120
+ } from "./file-access-0wqa8qs0.js";
121
+ import {
122
+ Service14,
123
+ node17
124
+ } from "./file-access-ayfrx99c.js";
125
+ import {
126
+ Plugin9
127
+ } from "./file-access-rd8fjvyy.js";
128
+ import {
129
+ Plugin4
130
+ } from "./file-access-7k68m5b6.js";
131
+ import {
132
+ Plugin11
133
+ } from "./file-access-fpkam962.js";
134
+ import {
135
+ Service7,
136
+ node9
137
+ } from "./file-access-a5gt7g2r.js";
138
+ import {
139
+ Plugin14
140
+ } from "./file-access-9b1t164c.js";
141
+ import {
142
+ Plugin10
143
+ } from "./file-access-2hhnmqep.js";
144
+ import {
145
+ Plugin15
146
+ } from "./file-access-99yaft7y.js";
147
+ import {
148
+ Plugin16
149
+ } from "./file-access-a9h2vqbk.js";
150
+ import {
151
+ Plugin5
152
+ } from "./file-access-h83x8fry.js";
153
+ import {
154
+ Plugin12
155
+ } from "./file-access-m9wxyjft.js";
156
+ import {
157
+ Plugin18
158
+ } from "./file-access-qny2rjqg.js";
159
+ import {
160
+ Service10,
161
+ node13
162
+ } from "./file-access-6jnybvqn.js";
163
+ import {
164
+ Plugin8
165
+ } from "./file-access-k5rs1z8v.js";
166
+ import {
167
+ Plugin6
168
+ } from "./file-access-awx7v7h5.js";
169
+ import {
170
+ Plugin3
171
+ } from "./file-access-rzxs471t.js";
172
+ import {
173
+ Service23,
174
+ node27
175
+ } from "./file-access-x95hc271.js";
176
+ import {
177
+ Plugin13
178
+ } from "./file-access-289rv1w6.js";
179
+ import {
180
+ Service26,
181
+ node30
182
+ } from "./file-access-q1gv8zwg.js";
183
+ import {
184
+ Service21,
185
+ node25
186
+ } from "./file-access-8wccq5jz.js";
187
+ import {
188
+ Service17,
189
+ node20
190
+ } from "./file-access-ebz469zm.js";
191
+ import {
192
+ Service15,
193
+ node18
194
+ } from "./file-access-6ybvw0w7.js";
195
+ import {
196
+ Service12,
197
+ node15
198
+ } from "./file-access-6hjqy50w.js";
199
+ import {
200
+ Service20,
201
+ node24
202
+ } from "./file-access-d09g07f5.js";
203
+ import {
204
+ Service11,
205
+ node14
206
+ } from "./file-access-057tqkc7.js";
207
+ import {
208
+ Plugin44
209
+ } from "./file-access-29ypnx2x.js";
210
+ import {
211
+ Plugin40
212
+ } from "./file-access-c6npeh2h.js";
213
+ import {
214
+ Plugin43
215
+ } from "./file-access-g3r1njd0.js";
216
+ import {
217
+ Plugin41
218
+ } from "./file-access-sthbbwkd.js";
219
+ import {
220
+ Plugin33
221
+ } from "./file-access-2wyjv582.js";
222
+ import {
223
+ Service13,
224
+ node16
225
+ } from "./file-access-gbhfcamq.js";
226
+ import {
227
+ Plugin35
228
+ } from "./file-access-9998dwsd.js";
229
+ import {
230
+ Plugin38
231
+ } from "./file-access-ct0crnq6.js";
232
+ import {
233
+ Plugin34
234
+ } from "./file-access-etca44vv.js";
235
+ import {
236
+ Plugin39
237
+ } from "./file-access-1p1yz3k5.js";
238
+ import {
239
+ Plugin42
240
+ } from "./file-access-vcp78m62.js";
241
+ import {
242
+ Plugin37
243
+ } from "./file-access-px5bqy57.js";
244
+ import {
245
+ Plugin36
246
+ } from "./file-access-ca64vat9.js";
247
+ import {
248
+ Plugin30
249
+ } from "./file-access-50m2c0q3.js";
250
+ import {
251
+ Plugin27
252
+ } from "./file-access-sqb2tzxk.js";
253
+ import {
254
+ Plugin31
255
+ } from "./file-access-q1yd4tcg.js";
256
+ import {
257
+ ModelsDevPlugin2
258
+ } from "./file-access-n990e9jc.js";
259
+ import {
260
+ Plugin32
261
+ } from "./file-access-7j92jdde.js";
262
+ import {
263
+ ProviderPlugins2
264
+ } from "./file-access-c1fhravq.js";
265
+ import {
266
+ WebSearchPlugins2
267
+ } from "./file-access-05fbhmag.js";
268
+ import {
269
+ Plugin28
270
+ } from "./file-access-dyw6ca8r.js";
271
+ import {
272
+ Plugin22
273
+ } from "./file-access-pgyeg8d2.js";
274
+ import {
275
+ Plugins2
276
+ } from "./file-access-nv5vn7qx.js";
277
+ import {
278
+ Plugin20
279
+ } from "./file-access-ccxygkss.js";
280
+ import {
281
+ Plugin21
282
+ } from "./file-access-54r5fgfq.js";
283
+ import {
284
+ Plugin29
285
+ } from "./file-access-we88g5cm.js";
286
+ import {
287
+ Plugin19
288
+ } from "./file-access-tn359hwq.js";
289
+ import {
290
+ __export
291
+ } from "./file-access-9rqn6x4v.js";
292
+
293
+ // src/plugin/internal.ts
294
+ var exports_internal = {};
295
+ __export(exports_internal, {
296
+ PluginInternal: () => exports_internal,
297
+ list: () => list2,
298
+ requirements: () => requirements2
299
+ });
300
+ import { LayerNode } from "@opencode/util/effect/layer-node";
301
+ import { httpClient } from "@opencode/util/effect/app-node-platform";
302
+ import { AppProcess } from "@opencode/util/process";
303
+ import { Context, Effect } from "effect";
304
+ import { HttpClient } from "effect/unstable/http";
305
+ import { FSUtil } from "@opencode/util/fs-util";
306
+ import { Global } from "@opencode/util/global";
307
+ import { Npm } from "@opencode/util/npm";
308
+ import BrowserPlugin from "@opencode/plugin-browser";
309
+ var services = [
310
+ Service57,
311
+ AppProcess.Service,
312
+ Service60,
313
+ Service43,
314
+ Service67,
315
+ Service74,
316
+ Service78,
317
+ Service70,
318
+ Service26,
319
+ Service21,
320
+ Service14,
321
+ Service7,
322
+ Service15,
323
+ FSUtil.Service,
324
+ Global.Service,
325
+ HttpClient.HttpClient,
326
+ Service52,
327
+ Service40,
328
+ Service61,
329
+ Service50,
330
+ Service79,
331
+ Service75,
332
+ Service12,
333
+ Service39,
334
+ Npm.Service,
335
+ Service54,
336
+ Service62,
337
+ Service13,
338
+ Service41,
339
+ Service20,
340
+ Service17,
341
+ Service27,
342
+ Service8,
343
+ Service11,
344
+ Service64,
345
+ Service72,
346
+ Service63,
347
+ Service44,
348
+ Service10,
349
+ Service51,
350
+ Service66,
351
+ Service68,
352
+ Service69,
353
+ Service23
354
+ ];
355
+ var requirements2 = LayerNode.group([
356
+ node61,
357
+ AppProcess.node,
358
+ node64,
359
+ node47,
360
+ node71,
361
+ node79,
362
+ node83,
363
+ node74,
364
+ node30,
365
+ node25,
366
+ node17,
367
+ node9,
368
+ node18,
369
+ FSUtil.node,
370
+ Global.node,
371
+ httpClient,
372
+ node56,
373
+ node44,
374
+ node65,
375
+ node54,
376
+ node84,
377
+ node80,
378
+ node15,
379
+ node43,
380
+ Npm.node,
381
+ node58,
382
+ node66,
383
+ node16,
384
+ node45,
385
+ node24,
386
+ node20,
387
+ node31,
388
+ node11,
389
+ node14,
390
+ node68,
391
+ node77,
392
+ node67,
393
+ node48,
394
+ node13,
395
+ node55,
396
+ node70,
397
+ node72,
398
+ node73,
399
+ node27
400
+ ]);
401
+ var pre = [
402
+ BrowserPlugin,
403
+ Plugin10,
404
+ Plugin32,
405
+ Plugin19,
406
+ Plugin21,
407
+ Plugin30,
408
+ Plugin31,
409
+ Plugin27,
410
+ Plugin28,
411
+ Plugin22,
412
+ ModelsDevPlugin2,
413
+ ...ProviderPlugins2,
414
+ ...WebSearchPlugins2,
415
+ Plugin44,
416
+ ...Plugins2,
417
+ Plugin40,
418
+ Plugin43,
419
+ Plugin41,
420
+ Plugin33,
421
+ Plugin45,
422
+ Plugin35,
423
+ Plugin38,
424
+ Plugin34,
425
+ Plugin39,
426
+ Plugin42,
427
+ Plugin37,
428
+ Plugin36,
429
+ Plugin29
430
+ ];
431
+ var post = [
432
+ Plugin11,
433
+ Plugin5,
434
+ Plugin17,
435
+ Plugin7,
436
+ Plugin2,
437
+ Plugin9,
438
+ Plugin4,
439
+ Plugin14,
440
+ Plugin12,
441
+ Plugin18,
442
+ Plugin6,
443
+ Plugin8,
444
+ Plugin15,
445
+ Plugin3,
446
+ Plugin13,
447
+ Plugin20,
448
+ Plugin16
449
+ ];
450
+ var list2 = Effect.fn("PluginInternal.list")(function* () {
451
+ const context = Context.pick(...services)(yield* Effect.context());
452
+ const resolve = (plugins) => plugins.map((plugin) => ({
453
+ id: plugin.id,
454
+ effect: (host) => plugin.effect(host).pipe(Effect.provide(context))
455
+ }));
456
+ return {
457
+ pre: resolve(pre),
458
+ post: resolve(post)
459
+ };
460
+ });
461
+
462
+ export { requirements2, list2, exports_internal };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./file-access-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./model-resolver-g190xswt.js";
6
+ } from "./file-access-kk00bynn.js";
7
7
  import {
8
- Info15
9
- } from "./model-resolver-818pfwc9.js";
8
+ Info20
9
+ } from "./file-access-ndzempgb.js";
10
10
  import {
11
- Info10
12
- } from "./model-resolver-37s12vcn.js";
11
+ Info22
12
+ } from "./file-access-ag9w8cw1.js";
13
13
  import {
14
- Info11
15
- } from "./model-resolver-ryr25ayn.js";
14
+ Info21
15
+ } from "./file-access-806j49yq.js";
16
16
  import {
17
17
  Info18
18
- } from "./model-resolver-d2aac7k2.js";
18
+ } from "./file-access-d2aac7k2.js";
19
19
  import {
20
20
  Spec2
21
- } from "./model-resolver-2k8khapm.js";
21
+ } from "./file-access-2k8khapm.js";
22
22
  import {
23
- Info12
24
- } from "./model-resolver-qn4ba14w.js";
23
+ Info19
24
+ } from "./file-access-qte5z7bc.js";
25
25
  import {
26
- Info9
27
- } from "./model-resolver-ck6gmqc6.js";
26
+ Info16
27
+ } from "./file-access-3h3mykw7.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./model-resolver-98a0b00a.js";
36
+ } from "./file-access-m7y3f53v.js";
37
37
  import {
38
38
  __export
39
- } from "./model-resolver-9rqn6x4v.js";
39
+ } from "./file-access-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info16.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info10, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info22, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info21, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info20, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info20, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info12, raw, path, diagnostics);
424
+ const provider = decodeValue(Info19, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};