@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,33 +1,33 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./model-resolver-atny4vj3.js";
2
+ Service80,
3
+ node85
4
+ } from "./file-access-t9jk0gx5.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./model-resolver-dpkg50ah.js";
7
+ } from "./file-access-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node83
12
- } from "./model-resolver-ydgy0jv4.js";
11
+ node76
12
+ } from "./file-access-07770t2t.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./model-resolver-faypxj3z.js";
15
+ } from "./file-access-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./file-access-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID18,
25
- Info: () => Info33,
24
+ ID: () => ID12,
25
+ Info: () => Info26,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service78,
27
+ Service: () => Service71,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured12,
30
- node: () => node82
29
+ configured: () => configured10,
30
+ node: () => node75
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID18 = Workspace.ID;
38
+ var ID12 = Workspace.ID;
39
39
 
40
- class Info33 extends Schema.Class("Workspace.Info")({
41
- id: ID18,
40
+ class Info26 extends Schema.Class("Workspace.Info")({
41
+ id: ID12,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,25 +46,25 @@ class Info33 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID18 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID12 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID18,
53
+ workspaceID: ID12,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service78 extends Context.Service()("@opencode/Workspace") {
59
+ class Service71 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured12 = (options = {}) => makeGlobalNode({
62
- service: Service78,
61
+ var configured10 = (options = {}) => makeGlobalNode({
62
+ service: Service71,
63
63
  layer: layer(options),
64
- deps: [node84, node83]
64
+ deps: [node85, node76]
65
65
  });
66
- var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
67
- const db = (yield* Service79).db;
66
+ var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
67
+ const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
70
70
  const connections = new Map;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info33({
83
+ const info = (row, binding) => new Info26({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service78.of({
157
+ return Service71.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID18.create();
159
+ const workspaceID = input.id ?? ID12.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node82 = configured12();
224
+ var node75 = configured10();
225
225
 
226
- export { ID18, Info33, NotFound3, CreateConflict2, Service78, configured12, node82, exports_workspace };
226
+ export { ID12, Info26, NotFound3, CreateConflict2, Service71, configured10, node75, exports_workspace };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./model-resolver-1ygqh575.js";
3
+ } from "./file-access-mfqp6xfm.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin5,
11
+ Plugin: () => Plugin25,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint5
13
+ endpoint: () => endpoint4
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint5 = "https://mcp.exa.ai/mcp";
18
+ var endpoint4 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin5 = define({
30
+ var Plugin25 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin5 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint5);
52
+ const url = new URL(endpoint4);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint5, Plugin5, exports_exa };
83
+ export { endpoint4, Plugin25, exports_exa };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service27
3
- } from "./model-resolver-5v85fpgj.js";
2
+ Service43
3
+ } from "./file-access-rvpq5vnx.js";
4
4
  import {
5
- Service47
6
- } from "./model-resolver-vvccsdf3.js";
5
+ Service49
6
+ } from "./file-access-0bps82y7.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./model-resolver-qdyb70sk.js";
9
+ } from "./file-access-jqh9b0xq.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./file-access-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service47;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service27), instances.provide(input.session));
22
+ const instances = yield* Service49;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./model-resolver-ec1grn59.js";
3
+ } from "./file-access-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./model-resolver-zpkbxaqd.js";
6
+ } from "./file-access-r1hceb3x.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./file-access-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make8,
16
+ make: () => make9,
17
17
  policy: () => policy2,
18
18
  transient: () => transient2
19
19
  });
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
96
96
  return true;
97
97
  })
98
98
  });
99
- var make8 = (bus, sessionID) => Effect.gen(function* () {
99
+ var make9 = (bus, sessionID) => Effect.gen(function* () {
100
100
  const decide = yield* policy2(sessionID);
101
101
  const wait = (input) => Effect.gen(function* () {
102
102
  const scheduled = yield* Clock.currentTimeMillis;
@@ -113,4 +113,4 @@ var make8 = (bus, sessionID) => Effect.gen(function* () {
113
113
  return { decide, wait };
114
114
  });
115
115
 
116
- export { isRetryable2, policy2, transient2, make8, exports_retry };
116
+ export { isRetryable2, policy2, transient2, make9, exports_retry };
@@ -1,59 +1,59 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./model-resolver-atny4vj3.js";
2
+ Service80,
3
+ node85
4
+ } from "./file-access-t9jk0gx5.js";
5
5
  import {
6
- Service77,
7
- node81
8
- } from "./model-resolver-csz4k5km.js";
6
+ Service78,
7
+ node83
8
+ } from "./file-access-kntbkpw6.js";
9
9
  import {
10
- Service48,
11
- node51
12
- } from "./model-resolver-h4q9s1ny.js";
10
+ Service50,
11
+ node54
12
+ } from "./file-access-2wgyfjx6.js";
13
13
  import {
14
- Service47,
15
- node50
16
- } from "./model-resolver-vvccsdf3.js";
14
+ Service49,
15
+ node53
16
+ } from "./file-access-0bps82y7.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./model-resolver-ec1grn59.js";
19
+ } from "./file-access-ec1grn59.js";
20
20
  import {
21
- make17
22
- } from "./model-resolver-1acjjqhc.js";
21
+ make18
22
+ } from "./file-access-r8xr0va3.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service45
26
- } from "./model-resolver-t7n9q6bq.js";
25
+ Service46
26
+ } from "./file-access-dhmh7aw6.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./model-resolver-qwkytnft.js";
29
+ } from "./file-access-qd8wwfxt.js";
30
30
  import {
31
- Service70,
32
- node74
33
- } from "./model-resolver-nv6fkpt4.js";
31
+ Service55,
32
+ node59
33
+ } from "./file-access-8p576cyw.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./model-resolver-zpkbxaqd.js";
36
+ } from "./file-access-r1hceb3x.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./model-resolver-079cv0ze.js";
39
+ } from "./file-access-2eywq100.js";
40
40
  import {
41
41
  __export
42
- } from "./model-resolver-9rqn6x4v.js";
42
+ } from "./file-access-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service43,
47
+ Service: () => Service45,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer18,
50
- node: () => node47,
49
+ layer: () => layer20,
50
+ node: () => node50,
51
51
  noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service43 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service45 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer18 = Layer.effect(Service43, Effect.gen(function* () {
69
- const store = yield* Service70;
70
- const instances = yield* Service47;
71
- const bus = yield* Service77;
72
- const jobs = yield* Service48;
73
- const db = (yield* Service79).db;
68
+ var layer20 = Layer.effect(Service45, Effect.gen(function* () {
69
+ const store = yield* Service55;
70
+ const instances = yield* Service49;
71
+ const bus = yield* Service78;
72
+ const jobs = yield* Service50;
73
+ const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
76
76
  commit: () => store.claim(sessionID)
@@ -82,13 +82,13 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service45.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service46.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make17({
91
+ const coordinator = yield* make18({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service43.of({
112
+ return Service45.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node47 = makeGlobalNode({
132
- service: Service43,
133
- layer: layer18,
134
- deps: [node74, node50, node81, node84, node51]
131
+ var node50 = makeGlobalNode({
132
+ service: Service45,
133
+ layer: layer20,
134
+ deps: [node59, node53, node83, node85, node54]
135
135
  });
136
- var noopLayer2 = Layer.succeed(Service43, Service43.of({
136
+ var noopLayer2 = Layer.succeed(Service45, Service45.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service43, Service43.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service43, terminal2, layer18, node47, noopLayer2, exports_execution };
145
+ export { Service45, terminal2, layer20, node50, noopLayer2, exports_execution };
@@ -1,70 +1,70 @@
1
1
  import {
2
- Service77,
3
- node81
4
- } from "./model-resolver-csz4k5km.js";
2
+ Service78,
3
+ node83
4
+ } from "./file-access-kntbkpw6.js";
5
5
  import {
6
- Service74,
7
- node78
8
- } from "./model-resolver-7fys8geh.js";
6
+ Service75,
7
+ node80
8
+ } from "./file-access-bap3gy1s.js";
9
9
  import {
10
- ID14,
11
- Service72,
12
- node76
13
- } from "./model-resolver-0vvagabw.js";
10
+ ID8,
11
+ Service57,
12
+ node61
13
+ } from "./file-access-zsmcd3bd.js";
14
14
  import {
15
- NotFoundError9
16
- } from "./model-resolver-qwkytnft.js";
15
+ NotFoundError7
16
+ } from "./file-access-qd8wwfxt.js";
17
17
  import {
18
- Service70,
19
- node74
20
- } from "./model-resolver-nv6fkpt4.js";
18
+ Service55,
19
+ node59
20
+ } from "./file-access-8p576cyw.js";
21
21
  import {
22
22
  match2
23
- } from "./model-resolver-y1fvbwt7.js";
23
+ } from "./file-access-y1fvbwt7.js";
24
24
  import {
25
- Service71,
26
- node75
27
- } from "./model-resolver-74w3tna1.js";
25
+ Service56,
26
+ node60
27
+ } from "./file-access-a82vvkn3.js";
28
28
  import {
29
29
  Service73,
30
- node77
31
- } from "./model-resolver-121k57vw.js";
30
+ node78
31
+ } from "./file-access-jj63jgrn.js";
32
32
  import {
33
33
  __export
34
- } from "./model-resolver-9rqn6x4v.js";
34
+ } from "./file-access-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission2 = {};
38
- __export(exports_permission2, {
37
+ var exports_permission = {};
38
+ __export(exports_permission, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event18,
46
- ID: () => ID12,
47
- NotFoundError: () => NotFoundError8,
48
- Permission: () => exports_permission2,
49
- Reply: () => Reply3,
45
+ Event: () => Event12,
46
+ ID: () => ID6,
47
+ NotFoundError: () => NotFoundError6,
48
+ Permission: () => exports_permission,
49
+ Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request3,
52
- Rule: () => Rule3,
51
+ Request: () => Request2,
52
+ Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service69,
54
+ Service: () => Service54,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node73
58
+ node: () => node58
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event18 } from "@opencode/schema/permission";
63
+ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event12 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID12 = Permission.ID;
67
+ var ID6 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request3 = Permission.Request;
78
- var Reply3 = Permission.Reply;
77
+ var Request2 = Permission.Request;
78
+ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID12.pipe(Schema.optional),
80
+ id: ID6.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID14.pipe(Schema.optional)
82
+ agent: ID8.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID12,
86
- reply: Reply3,
85
+ requestID: ID6,
86
+ reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID12,
90
+ id: ID6,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID12
113
+ class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID6
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,14 +125,14 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service69 extends Context.Service()("@opencode/Permission") {
128
+ class Service54 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service69, Effect.gen(function* () {
131
- const bus = yield* Service77;
132
- const location = yield* Service74;
133
- const agents = yield* Service72;
134
- const sessions = yield* Service70;
135
- const saved = yield* Service71;
130
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
131
+ const bus = yield* Service78;
132
+ const location = yield* Service75;
133
+ const agents = yield* Service57;
134
+ const sessions = yield* Service55;
135
+ const saved = yield* Service56;
136
136
  const hooks = yield* Service73;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError9({ sessionID });
153
+ return yield* new NotFoundError7({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID12.create(),
183
+ id: input.id ?? ID6.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError8({ requestID: input.requestID });
231
+ return yield* new NotFoundError6({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service69.of({ ask, assert, reply, get, forSession, list });
286
+ return Service54.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node73 = makeLocationNode({
289
- service: Service69,
288
+ var node58 = makeLocationNode({
289
+ service: Service54,
290
290
  layer,
291
- deps: [node81, node78, node76, node74, node75, node77]
291
+ deps: [node83, node80, node61, node59, node60, node78]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID12, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service69, node73, exports_permission2, Rule3, Ruleset2, Event18 };
294
+ export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service54, node58, exports_permission, Rule2, Ruleset2, Event12 };
@@ -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/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};