@opencode/core 2.0.0 → 2.0.1

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 +76 -76
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{aisdk-native-3wx0ktdp.js → repository-02dev0ez.js} +15 -15
  9. package/dist/chunks/{aisdk-native-hj31wtn3.js → repository-0k3t14ts.js} +10 -10
  10. package/dist/chunks/{aisdk-native-76xfeaks.js → repository-0k7wafs3.js} +28 -28
  11. package/dist/chunks/{aisdk-native-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{aisdk-native-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{aisdk-native-e6hmchc5.js → repository-0r7yqxbf.js} +5 -5
  14. package/dist/chunks/{aisdk-native-0fm13a2s.js → repository-0wjw63yk.js} +26 -26
  15. package/dist/chunks/{aisdk-native-n88zggmf.js → repository-0xfnng1h.js} +18 -18
  16. package/dist/chunks/{aisdk-native-tpbhnsa4.js → repository-0zkv00cg.js} +29 -29
  17. package/dist/chunks/{aisdk-native-jz5sxy2v.js → repository-10jtetaj.js} +6 -6
  18. package/dist/chunks/{aisdk-native-s0hza5ac.js → repository-18e56dsp.js} +4 -4
  19. package/dist/chunks/{aisdk-native-kwn61asm.js → repository-19c2b9rb.js} +11 -11
  20. package/dist/chunks/{aisdk-native-mhkvc446.js → repository-1bbkgx8g.js} +3 -3
  21. package/dist/chunks/{aisdk-native-81rrwt6s.js → repository-1bvekr7f.js} +6 -6
  22. package/dist/chunks/{aisdk-native-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{aisdk-native-ykq8g6tf.js → repository-1g6ktzxp.js} +46 -46
  24. package/dist/chunks/{aisdk-native-7zdm33ac.js → repository-1gnhqkth.js} +10 -10
  25. package/dist/chunks/{aisdk-native-v6yxqhem.js → repository-1j4qb6e1.js} +8 -8
  26. package/dist/chunks/{aisdk-native-6yxvt9sa.js → repository-1jnd8eq9.js} +16 -16
  27. package/dist/chunks/{aisdk-native-smbad60v.js → repository-1n274c67.js} +15 -15
  28. package/dist/chunks/{aisdk-native-40s62c95.js → repository-1t2s0wry.js} +5 -5
  29. package/dist/chunks/{aisdk-native-9r7q4bhe.js → repository-1tjfkw5v.js} +25 -25
  30. package/dist/chunks/{aisdk-native-h7ch2b13.js → repository-20q8k894.js} +9 -9
  31. package/dist/chunks/{aisdk-native-n0xcs1rn.js → repository-213v9py0.js} +6 -6
  32. package/dist/chunks/{aisdk-native-21r38tys.js → repository-21r38tys.js} +1 -1
  33. package/dist/chunks/{aisdk-native-2402vzrj.js → repository-2402vzrj.js} +1 -1
  34. package/dist/chunks/{aisdk-native-kns4vs3f.js → repository-27wgnz1z.js} +8 -8
  35. package/dist/chunks/{aisdk-native-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{aisdk-native-fex1jrgj.js → repository-2cgm8dc1.js} +8 -8
  37. package/dist/chunks/{aisdk-native-ynnjbwyb.js → repository-2fbr18f9.js} +43 -43
  38. package/dist/chunks/{aisdk-native-607tc6va.js → repository-2k8khapm.js} +5 -5
  39. package/dist/chunks/{aisdk-native-ge3a0kr9.js → repository-2m84dfka.js} +18 -18
  40. package/dist/chunks/{aisdk-native-2se0afp6.js → repository-2v08kgv1.js} +23 -23
  41. package/dist/chunks/{aisdk-native-nhqh66qs.js → repository-2yv9jfkc.js} +12 -12
  42. package/dist/chunks/{aisdk-native-8a24hghq.js → repository-36564s8r.js} +29 -29
  43. package/dist/chunks/{aisdk-native-v2ctr6fa.js → repository-386j3b86.js} +15 -15
  44. package/dist/chunks/{aisdk-native-g27wjat6.js → repository-39fveamk.js} +24 -24
  45. package/dist/chunks/{aisdk-native-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{aisdk-native-qx0n0hnh.js → repository-3ke3s58r.js} +13 -13
  47. package/dist/chunks/{aisdk-native-ms882c9x.js → repository-3mdgf1e2.js} +24 -24
  48. package/dist/chunks/{aisdk-native-deehc0cj.js → repository-3seenrp7.js} +9 -9
  49. package/dist/chunks/{aisdk-native-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{aisdk-native-ackkwfcq.js → repository-3tamc9js.js} +23 -23
  51. package/dist/chunks/{aisdk-native-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{aisdk-native-3x8gcmrs.js → repository-3x8gcmrs.js} +3 -3
  53. package/dist/chunks/{aisdk-native-es98n7aa.js → repository-3yetcf2r.js} +49 -49
  54. package/dist/chunks/{aisdk-native-15rsv8cs.js → repository-47vy4edm.js} +5 -5
  55. package/dist/chunks/{aisdk-native-xbrnje9f.js → repository-4e540xxx.js} +5 -5
  56. package/dist/chunks/{aisdk-native-hf4q8sgp.js → repository-4emgtgzt.js} +22 -22
  57. package/dist/chunks/{aisdk-native-4y66k410.js → repository-4y66k410.js} +2 -2
  58. package/dist/chunks/{aisdk-native-rqysayyh.js → repository-51cmmk6m.js} +83 -83
  59. package/dist/chunks/{aisdk-native-mfqp6xfm.js → repository-56gdpj1q.js} +6 -6
  60. package/dist/chunks/{aisdk-native-23279rje.js → repository-5892jdtn.js} +8 -8
  61. package/dist/chunks/{aisdk-native-4b9mceyk.js → repository-58e8mpmb.js} +15 -15
  62. package/dist/chunks/{aisdk-native-fggaw9y4.js → repository-59j62b79.js} +11 -11
  63. package/dist/chunks/{aisdk-native-6g46d628.js → repository-5b88mxz1.js} +7 -7
  64. package/dist/chunks/{aisdk-native-xv61b48b.js → repository-5cy52y0z.js} +6 -6
  65. package/dist/chunks/{aisdk-native-5daktx2q.js → repository-5daktx2q.js} +1 -1
  66. package/dist/chunks/{aisdk-native-ch22x6z2.js → repository-5n0sh9d6.js} +7 -7
  67. package/dist/chunks/{aisdk-native-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{aisdk-native-686tv8fb.js → repository-5y5h33xd.js} +8 -8
  69. package/dist/chunks/{aisdk-native-669tq793.js → repository-669tq793.js} +1 -1
  70. package/dist/chunks/{aisdk-native-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{aisdk-native-dk95gbn1.js → repository-6tpt9h9q.js} +60 -60
  72. package/dist/chunks/{aisdk-native-6fyvx278.js → repository-6wjjjhy6.js} +17 -17
  73. package/dist/chunks/{aisdk-native-71q4at8m.js → repository-71q4at8m.js} +1 -1
  74. package/dist/chunks/{aisdk-native-8qr4v3ea.js → repository-72ds7gf6.js} +32 -32
  75. package/dist/chunks/{aisdk-native-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{aisdk-native-as4zy6vm.js → repository-7zs56f9j.js} +6 -6
  77. package/dist/chunks/{aisdk-native-8qqh30s3.js → repository-84czwvzw.js} +18 -18
  78. package/dist/chunks/{aisdk-native-9zvzf66v.js → repository-87v8z91d.js} +8 -8
  79. package/dist/chunks/{aisdk-native-g5eyeasx.js → repository-88zp0tbv.js} +10 -10
  80. package/dist/chunks/{aisdk-native-0pb75hch.js → repository-8c7y8dn0.js} +5 -5
  81. package/dist/chunks/{aisdk-native-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{aisdk-native-0nzv5c2w.js → repository-8db04et3.js} +8 -8
  83. package/dist/chunks/{aisdk-native-q5az2q1p.js → repository-8gs4w1fy.js} +30 -30
  84. package/dist/chunks/{aisdk-native-06x8he3q.js → repository-8gxqpgph.js} +4 -4
  85. package/dist/chunks/{aisdk-native-vfccn5yp.js → repository-8m31s27t.js} +11 -11
  86. package/dist/chunks/{aisdk-native-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{aisdk-native-82asvwff.js → repository-8vg4n516.js} +14 -14
  88. package/dist/chunks/{aisdk-native-wbvqwd2e.js → repository-9rs4eqfv.js} +20 -20
  89. package/dist/chunks/{aisdk-native-rd6pz67j.js → repository-9xb0s4b9.js} +26 -26
  90. package/dist/chunks/{aisdk-native-xrekznn2.js → repository-9yhr46n3.js} +22 -22
  91. package/dist/chunks/{aisdk-native-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
  92. package/dist/chunks/{aisdk-native-vy36sswr.js → repository-a3n1dpj2.js} +9 -9
  93. package/dist/chunks/{aisdk-native-qm5vd5ej.js → repository-a5h5qkjp.js} +35 -35
  94. package/dist/chunks/{aisdk-native-82j2mrwz.js → repository-a8ygtzbq.js} +13 -13
  95. package/dist/chunks/{aisdk-native-b00gradr.js → repository-aa4x36r7.js} +47 -47
  96. package/dist/chunks/{aisdk-native-aaet6srn.js → repository-aaet6srn.js} +2 -2
  97. package/dist/chunks/{aisdk-native-b09hzw3k.js → repository-b09hzw3k.js} +2 -2
  98. package/dist/chunks/{aisdk-native-rga4dawr.js → repository-b0sf2pns.js} +6 -6
  99. package/dist/chunks/{aisdk-native-x0v86zgp.js → repository-b5n11jz6.js} +15 -15
  100. package/dist/chunks/{aisdk-native-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{aisdk-native-35wynegs.js → repository-b6hy6gkz.js} +2 -2
  102. package/dist/chunks/{aisdk-native-cvtmmhw6.js → repository-bbarxbyb.js} +1 -1
  103. package/dist/chunks/{aisdk-native-y6jb2tes.js → repository-bejabbw1.js} +33 -33
  104. package/dist/chunks/{aisdk-native-d1g6sxjm.js → repository-bkhh0yw4.js} +21 -21
  105. package/dist/chunks/{aisdk-native-h6t842eb.js → repository-c13f7gjw.js} +36 -36
  106. package/dist/chunks/{aisdk-native-sjbct61y.js → repository-c968x2fe.js} +8 -8
  107. package/dist/chunks/{aisdk-native-qjwa214h.js → repository-c9wtqnwj.js} +11 -11
  108. package/dist/chunks/{aisdk-native-v5dw3fed.js → repository-cabt264k.js} +14 -14
  109. package/dist/chunks/{aisdk-native-9z45pttg.js → repository-cedwm630.js} +47 -47
  110. package/dist/chunks/{aisdk-native-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
  111. package/dist/chunks/{aisdk-native-0artwwxx.js → repository-cg1ew3t4.js} +3 -3
  112. package/dist/chunks/{aisdk-native-844ef7ks.js → repository-cmwkp3r5.js} +4 -4
  113. package/dist/chunks/{aisdk-native-cq37gk0t.js → repository-cq37gk0t.js} +4 -4
  114. package/dist/chunks/{aisdk-native-st09aja5.js → repository-csp720wb.js} +25 -25
  115. package/dist/chunks/{aisdk-native-wf1cyng1.js → repository-ct93djtc.js} +9 -9
  116. package/dist/chunks/{aisdk-native-ajy029q4.js → repository-d75w7jnc.js} +18 -18
  117. package/dist/chunks/{aisdk-native-sxnsykqc.js → repository-de42ff3x.js} +36 -36
  118. package/dist/chunks/{aisdk-native-t0fxg8b9.js → repository-dj9sq318.js} +5 -5
  119. package/dist/chunks/{aisdk-native-jx8g4evx.js → repository-drknmmyh.js} +9 -9
  120. package/dist/chunks/{aisdk-native-4exee4de.js → repository-ehajtz8g.js} +11 -11
  121. package/dist/chunks/{aisdk-native-xpf9b544.js → repository-eprkdeyt.js} +16 -16
  122. package/dist/chunks/{aisdk-native-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  123. package/dist/chunks/{aisdk-native-3v5c85g8.js → repository-evxnsm19.js} +6 -6
  124. package/dist/chunks/{aisdk-native-gbt8yvwm.js → repository-ext3js1z.js} +16 -16
  125. package/dist/chunks/{aisdk-native-bp3wckns.js → repository-ezbaq0hv.js} +4 -4
  126. package/dist/chunks/{aisdk-native-mz6ae2yf.js → repository-eztf1wzg.js} +1 -1
  127. package/dist/chunks/{aisdk-native-361ty1x8.js → repository-f78hydwg.js} +3 -3
  128. package/dist/chunks/{aisdk-native-f828m53h.js → repository-f828m53h.js} +2 -2
  129. package/dist/chunks/{aisdk-native-qfw56etf.js → repository-fcgysgr5.js} +11 -11
  130. package/dist/chunks/{aisdk-native-k8z4brtb.js → repository-ff9w6xrb.js} +6 -6
  131. package/dist/chunks/{aisdk-native-gd0e60kd.js → repository-fmdgzt8c.js} +45 -45
  132. package/dist/chunks/{aisdk-native-h251t0cq.js → repository-fmpkkhtn.js} +18 -18
  133. package/dist/chunks/{aisdk-native-bqe1qhvg.js → repository-fmvngk0a.js} +26 -26
  134. package/dist/chunks/{aisdk-native-v9kga7nj.js → repository-fmykz272.js} +7 -7
  135. package/dist/chunks/{aisdk-native-hamfyrt4.js → repository-fv2d43cy.js} +28 -28
  136. package/dist/chunks/{aisdk-native-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
  137. package/dist/chunks/{aisdk-native-k996mbzp.js → repository-g0dr00md.js} +32 -32
  138. package/dist/chunks/{aisdk-native-mjymc32g.js → repository-g190xswt.js} +4 -4
  139. package/dist/chunks/{aisdk-native-1jdcek6j.js → repository-g4kbd5hn.js} +22 -22
  140. package/dist/chunks/{aisdk-native-fdv30zvt.js → repository-g8d3gcyj.js} +4 -4
  141. package/dist/chunks/{aisdk-native-a5fqa70n.js → repository-g8mks886.js} +11 -11
  142. package/dist/chunks/{aisdk-native-wh6nx8gk.js → repository-g9cr3d5v.js} +4 -4
  143. package/dist/chunks/{aisdk-native-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{aisdk-native-3fc6dm20.js → repository-gdvy8fx6.js} +4 -4
  145. package/dist/chunks/{aisdk-native-r4kwqy5f.js → repository-gtm8txn9.js} +28 -28
  146. package/dist/chunks/{aisdk-native-th5km1p3.js → repository-gv6a8nnw.js} +5 -5
  147. package/dist/chunks/{aisdk-native-axpme2c5.js → repository-gxgjkd0x.js} +17 -17
  148. package/dist/chunks/{aisdk-native-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{aisdk-native-aqpgmyrr.js → repository-h0gkjmvb.js} +13 -13
  150. package/dist/chunks/{aisdk-native-bxz5a0az.js → repository-h1rn3ct5.js} +87 -87
  151. package/dist/chunks/{aisdk-native-fjc0rzqy.js → repository-h4e6z68e.js} +15 -15
  152. package/dist/chunks/{aisdk-native-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{aisdk-native-jwx4y25k.js → repository-h71w788e.js} +9 -9
  154. package/dist/chunks/{aisdk-native-83s1p0p4.js → repository-h90k734v.js} +9 -9
  155. package/dist/chunks/{aisdk-native-vcmavarf.js → repository-haj0byqn.js} +4 -4
  156. package/dist/chunks/{aisdk-native-bqaq7pjn.js → repository-he3792rk.js} +29 -29
  157. package/dist/chunks/{aisdk-native-xkq70t77.js → repository-hj2f0bzq.js} +7 -7
  158. package/dist/chunks/{aisdk-native-e82z9tr0.js → repository-hjt4xg1x.js} +7 -7
  159. package/dist/chunks/{aisdk-native-rsym84ch.js → repository-hqjg1cx1.js} +9 -9
  160. package/dist/chunks/{aisdk-native-mb3974r6.js → repository-hrncarcf.js} +1 -1
  161. package/dist/chunks/{aisdk-native-twwx0ekz.js → repository-j38hs89b.js} +21 -21
  162. package/dist/chunks/{aisdk-native-cjg4xdhd.js → repository-j4z2qnee.js} +11 -11
  163. package/dist/chunks/{aisdk-native-62zc03d1.js → repository-j5346eb1.js} +170 -170
  164. package/dist/chunks/{aisdk-native-j56e64zr.js → repository-j56e64zr.js} +1 -1
  165. package/dist/chunks/{aisdk-native-yppnjwr8.js → repository-j5xt7epv.js} +12 -12
  166. package/dist/chunks/{aisdk-native-zzabxn0f.js → repository-j83byb14.js} +4 -4
  167. package/dist/chunks/{aisdk-native-pvvztgda.js → repository-j8g7a3j8.js} +8 -8
  168. package/dist/chunks/{aisdk-native-v3hym01v.js → repository-jby58kjs.js} +13 -13
  169. package/dist/chunks/{aisdk-native-fx1wdxnv.js → repository-je6c5z5p.js} +9 -9
  170. package/dist/chunks/repository-jqh9b0xq.js +18 -0
  171. package/dist/chunks/{aisdk-native-rrbca1ec.js → repository-jwjk52g2.js} +4 -4
  172. package/dist/chunks/{aisdk-native-rmbt0h7x.js → repository-jzksghxf.js} +28 -28
  173. package/dist/chunks/{aisdk-native-kg06axw8.js → repository-kg06axw8.js} +1 -1
  174. package/dist/chunks/{aisdk-native-467byya2.js → repository-kkdm9ajw.js} +5 -5
  175. package/dist/chunks/{aisdk-native-1xqm2dzv.js → repository-ksjan0t5.js} +13 -13
  176. package/dist/chunks/{aisdk-native-9jdakqgh.js → repository-ky16kd9n.js} +12 -12
  177. package/dist/chunks/{aisdk-native-xekzrwwc.js → repository-m2d0j7c0.js} +5 -5
  178. package/dist/chunks/{aisdk-native-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{aisdk-native-rdzxvy4m.js → repository-me4pxbk2.js} +32 -32
  180. package/dist/chunks/{aisdk-native-ra3qct3x.js → repository-mgx963cj.js} +8 -8
  181. package/dist/chunks/{aisdk-native-whczfbjh.js → repository-mhbk2b8a.js} +15 -15
  182. package/dist/chunks/repository-mppgq2kn.js +462 -0
  183. package/dist/chunks/{aisdk-native-21sebrtn.js → repository-mqsc2h20.js} +24 -24
  184. package/dist/chunks/{aisdk-native-msq0jde0.js → repository-msq0jde0.js} +1 -1
  185. package/dist/chunks/{aisdk-native-n09f2zd2.js → repository-mw6spqsr.js} +17 -17
  186. package/dist/chunks/{aisdk-native-2sqe2en6.js → repository-my7gf51c.js} +71 -71
  187. package/dist/chunks/{aisdk-native-s5ga8gke.js → repository-n4a6bgqk.js} +11 -11
  188. package/dist/chunks/{aisdk-native-94s48bjb.js → repository-nrk5vjbf.js} +5 -5
  189. package/dist/chunks/{aisdk-native-jghsd1wz.js → repository-nxamnhdf.js} +12 -12
  190. package/dist/chunks/{aisdk-native-p33ejz0k.js → repository-p33ejz0k.js} +1 -1
  191. package/dist/chunks/{aisdk-native-dgf53888.js → repository-p6v0vyws.js} +20 -20
  192. package/dist/chunks/{aisdk-native-3175eqdp.js → repository-pctvcs1g.js} +16 -16
  193. package/dist/chunks/{aisdk-native-a1a50ys5.js → repository-pecb0brz.js} +5 -5
  194. package/dist/chunks/{aisdk-native-265kqrgy.js → repository-peejr10p.js} +1 -1
  195. package/dist/chunks/{aisdk-native-5pkvz399.js → repository-penaav09.js} +30 -30
  196. package/dist/chunks/{aisdk-native-9sjxd60t.js → repository-petjzngd.js} +11 -11
  197. package/dist/chunks/{aisdk-native-wavq5vqb.js → repository-pjrv1sn1.js} +1 -1
  198. package/dist/chunks/{aisdk-native-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{aisdk-native-pknna89w.js → repository-pknna89w.js} +1 -1
  200. package/dist/chunks/{aisdk-native-y9f55719.js → repository-pn143qvt.js} +19 -19
  201. package/dist/chunks/{aisdk-native-qv308p2a.js → repository-ppq9etn0.js} +35 -35
  202. package/dist/chunks/{aisdk-native-svw2bsx3.js → repository-pvp1cs2e.js} +18 -18
  203. package/dist/chunks/{aisdk-native-pt1wzm9p.js → repository-pwf15mvc.js} +4 -4
  204. package/dist/chunks/{aisdk-native-33n3bzdy.js → repository-pye8sh6e.js} +6 -6
  205. package/dist/chunks/{aisdk-native-6aywe8nf.js → repository-pzjh8mr9.js} +15 -15
  206. package/dist/chunks/{aisdk-native-wggajky5.js → repository-q8bcy8ws.js} +2 -2
  207. package/dist/chunks/{aisdk-native-45smdebh.js → repository-q8rd9qhs.js} +24 -24
  208. package/dist/chunks/repository-qapv375x.js +4 -0
  209. package/dist/chunks/repository-qec2v6cx.js +247 -0
  210. package/dist/chunks/{aisdk-native-bfexjxds.js → repository-qfmvv2sm.js} +3 -3
  211. package/dist/chunks/{aisdk-native-219neeqh.js → repository-qkrnz1pz.js} +5 -5
  212. package/dist/chunks/{aisdk-native-ybc7xzk8.js → repository-qrj9d2ct.js} +22 -22
  213. package/dist/chunks/{aisdk-native-qsdy395h.js → repository-qsdy395h.js} +1 -1
  214. package/dist/chunks/{aisdk-native-33f8ypwy.js → repository-qt3bdkqw.js} +22 -22
  215. package/dist/chunks/{aisdk-native-wb8tnnnp.js → repository-r14cnnrw.js} +8 -8
  216. package/dist/chunks/{aisdk-native-wvvbdh4b.js → repository-r2dfp6se.js} +37 -37
  217. package/dist/chunks/{aisdk-native-w4arg62q.js → repository-r33ff4dw.js} +6 -6
  218. package/dist/chunks/{aisdk-native-yp2x3t23.js → repository-r8xr0va3.js} +4 -4
  219. package/dist/chunks/{aisdk-native-8y0t5gr9.js → repository-r94mrtfv.js} +13 -13
  220. package/dist/chunks/{aisdk-native-r9mregkx.js → repository-r9mregkx.js} +2 -2
  221. package/dist/chunks/{aisdk-native-vv78xzwk.js → repository-rg2zvvyz.js} +11 -11
  222. package/dist/chunks/{aisdk-native-0cpfncfh.js → repository-rgmexsye.js} +11 -11
  223. package/dist/chunks/{aisdk-native-rhjbct0v.js → repository-rhjbct0v.js} +1 -1
  224. package/dist/chunks/{aisdk-native-c8k0fn6w.js → repository-rsbh8q26.js} +51 -51
  225. package/dist/chunks/{aisdk-native-b5vcnazb.js → repository-s2t8c8fj.js} +4 -4
  226. package/dist/chunks/{aisdk-native-km19zyfq.js → repository-seps633m.js} +21 -21
  227. package/dist/chunks/{aisdk-native-w69f1nhp.js → repository-sgk3431w.js} +27 -27
  228. package/dist/chunks/{aisdk-native-39dcxt5x.js → repository-shg3amz7.js} +22 -22
  229. package/dist/chunks/repository-sj51pd9c.js +22 -0
  230. package/dist/chunks/{aisdk-native-xbfgt74t.js → repository-sksn9mf1.js} +13 -13
  231. package/dist/chunks/{aisdk-native-87j3jmrh.js → repository-sm236kpq.js} +11 -11
  232. package/dist/chunks/{aisdk-native-y9tfvs3x.js → repository-smnv2tch.js} +46 -46
  233. package/dist/chunks/{aisdk-native-111hscse.js → repository-sztg2hv4.js} +33 -33
  234. package/dist/chunks/{aisdk-native-t0x5rdq8.js → repository-t0x5rdq8.js} +2 -2
  235. package/dist/chunks/{aisdk-native-qh3awkqg.js → repository-t2x602yk.js} +18 -18
  236. package/dist/chunks/{aisdk-native-4kkrbspp.js → repository-t59s3hhv.js} +42 -42
  237. package/dist/chunks/{aisdk-native-z7tgbaqx.js → repository-tat7nwhe.js} +12 -12
  238. package/dist/chunks/{aisdk-native-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{aisdk-native-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{aisdk-native-tdstcens.js → repository-tdstcens.js} +1 -1
  241. package/dist/chunks/{aisdk-native-wzcb8dk1.js → repository-tkvvdtgj.js} +5 -5
  242. package/dist/chunks/{aisdk-native-tvtrv512.js → repository-tvtrv512.js} +1 -1
  243. package/dist/chunks/{aisdk-native-6kyz0a76.js → repository-tx9qvpbt.js} +8 -8
  244. package/dist/chunks/{aisdk-native-gfewnhh8.js → repository-txzqvs6q.js} +22 -22
  245. package/dist/chunks/{aisdk-native-9vfhq93a.js → repository-v3v5frkk.js} +31 -31
  246. package/dist/chunks/{aisdk-native-veqvce7d.js → repository-veqvce7d.js} +1 -1
  247. package/dist/chunks/{aisdk-native-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{aisdk-native-y3z1zdtj.js → repository-w0cvk6jr.js} +22 -22
  249. package/dist/chunks/{aisdk-native-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{aisdk-native-4ns3h2re.js → repository-w4axh9wz.js} +4 -4
  251. package/dist/chunks/{aisdk-native-ghjjbadh.js → repository-w4wc2211.js} +34 -34
  252. package/dist/chunks/{aisdk-native-83nmqw0w.js → repository-w75dnx21.js} +43 -43
  253. package/dist/chunks/{aisdk-native-rn79xn25.js → repository-w96k05dy.js} +8 -8
  254. package/dist/chunks/{aisdk-native-wd87259q.js → repository-wd87259q.js} +1 -1
  255. package/dist/chunks/{aisdk-native-hyq5kv93.js → repository-wxpch4dk.js} +32 -32
  256. package/dist/chunks/{aisdk-native-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{aisdk-native-znwg340w.js → repository-x384g1hs.js} +15 -15
  258. package/dist/chunks/{aisdk-native-11nvngjf.js → repository-x6rcf4cj.js} +16 -16
  259. package/dist/chunks/{aisdk-native-pwb5z5tv.js → repository-xhhmv89y.js} +4 -4
  260. package/dist/chunks/{aisdk-native-vhbgy75s.js → repository-xjmr3883.js} +6 -6
  261. package/dist/chunks/{aisdk-native-cxvbe4d1.js → repository-xp6wb0v9.js} +23 -23
  262. package/dist/chunks/{aisdk-native-21vc9929.js → repository-xqzn0vp7.js} +9 -9
  263. package/dist/chunks/{aisdk-native-em766tcz.js → repository-y1b098n8.js} +9 -9
  264. package/dist/chunks/{aisdk-native-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{aisdk-native-btm2ep20.js → repository-y5pstp70.js} +6 -6
  266. package/dist/chunks/{aisdk-native-y71avatq.js → repository-y71avatq.js} +1 -1
  267. package/dist/chunks/{aisdk-native-tmmjahvp.js → repository-y973e7aq.js} +13 -13
  268. package/dist/chunks/{aisdk-native-2scecyhc.js → repository-yahs3f01.js} +43 -43
  269. package/dist/chunks/{aisdk-native-2q85qjqp.js → repository-yjknk9j9.js} +3 -3
  270. package/dist/chunks/{aisdk-native-h05a6ep0.js → repository-ykpr0q7c.js} +38 -38
  271. package/dist/chunks/{aisdk-native-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{aisdk-native-yrznvahk.js → repository-yrznvahk.js} +2 -2
  273. package/dist/chunks/{aisdk-native-qb9gpeer.js → repository-yz39bey7.js} +27 -27
  274. package/dist/chunks/{aisdk-native-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{aisdk-native-xmvvg8ty.js → repository-z0xnky3q.js} +29 -29
  276. package/dist/chunks/{aisdk-native-z63w68vq.js → repository-z63w68vq.js} +2 -2
  277. package/dist/chunks/{aisdk-native-p2fyeaa4.js → repository-za4pw5w1.js} +8 -8
  278. package/dist/chunks/{aisdk-native-70d2s7af.js → repository-zc2xj3qj.js} +1 -1
  279. package/dist/chunks/{aisdk-native-as531t2x.js → repository-zdwyj9y5.js} +37 -37
  280. package/dist/chunks/{aisdk-native-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{aisdk-native-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{aisdk-native-hzekcpqj.js → repository-zr3d0gxg.js} +19 -19
  283. package/dist/chunks/{aisdk-native-dp3vq9x5.js → repository-ztky2hbm.js} +18 -18
  284. package/dist/chunks/{aisdk-native-cry8ta6n.js → repository-ztwfyng4.js} +4 -4
  285. package/dist/chunks/{aisdk-native-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +3 -3
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +80 -80
  290. package/dist/config/discovery.js +78 -78
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +19 -19
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +208 -208
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +118 -118
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +86 -86
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +115 -115
  303. package/dist/config/plugin/provider.js +114 -114
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +117 -117
  306. package/dist/config/plugin/skill-file.js +98 -98
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +118 -118
  310. package/dist/config/plugin/tool-output.js +116 -116
  311. package/dist/config/plugin/websearch.js +114 -114
  312. package/dist/config/plugin/worktree.js +119 -119
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +120 -120
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +82 -82
  318. package/dist/database/database.js +69 -69
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration.gen.js +48 -48
  383. package/dist/database/migration.js +50 -50
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +78 -78
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +361 -361
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +89 -89
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +91 -91
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +73 -73
  407. package/dist/file-access.js +100 -100
  408. package/dist/file-mutation.js +90 -90
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +2 -2
  417. package/dist/filesystem/location-watcher.js +217 -217
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +100 -100
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +97 -97
  423. package/dist/form.js +83 -83
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +83 -83
  426. package/dist/generate.js +92 -92
  427. package/dist/git.js +7 -7
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +3 -3
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +352 -352
  452. package/dist/instruction-discovery.js +82 -82
  453. package/dist/instructions/builtins.js +83 -83
  454. package/dist/instructions/index.js +1 -1
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +87 -87
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +72 -72
  460. package/dist/location-activity.js +134 -134
  461. package/dist/location-mutation.js +100 -100
  462. package/dist/location-service-map.js +84 -84
  463. package/dist/location-services.js +349 -349
  464. package/dist/location.js +85 -85
  465. package/dist/mcp/client.js +87 -87
  466. package/dist/mcp/index.js +102 -102
  467. package/dist/mcp/instructions.js +121 -121
  468. package/dist/mcp/oauth.js +3 -3
  469. package/dist/mcp/stdio.js +86 -86
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +3 -3
  472. package/dist/model-resolver.js +87 -87
  473. package/dist/model.js +8 -8
  474. package/dist/models-dev.js +87 -87
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +75 -75
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +101 -101
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +87 -87
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +74 -74
  484. package/dist/plugin/agent.js +98 -98
  485. package/dist/plugin/command.js +95 -95
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +214 -214
  488. package/dist/plugin/instance.js +3 -3
  489. package/dist/plugin/internal.js +323 -323
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +76 -76
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +98 -98
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/alibaba.js +2 -2
  497. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  498. package/dist/plugin/provider/azure.js +119 -119
  499. package/dist/plugin/provider/cerebras.js +2 -2
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +115 -115
  504. package/dist/plugin/provider/digitalocean.js +80 -80
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +81 -81
  509. package/dist/plugin/provider/gitlab.js +3 -3
  510. package/dist/plugin/provider/google-vertex.js +2 -2
  511. package/dist/plugin/provider/kilo.js +2 -2
  512. package/dist/plugin/provider/llmgateway.js +77 -77
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/modal.js +80 -80
  515. package/dist/plugin/provider/nvidia.js +2 -2
  516. package/dist/plugin/provider/ollama.js +118 -118
  517. package/dist/plugin/provider/openai-compatible.js +1 -1
  518. package/dist/plugin/provider/openai.js +81 -81
  519. package/dist/plugin/provider/opencode.js +80 -80
  520. package/dist/plugin/provider/openrouter.js +3 -3
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +77 -77
  523. package/dist/plugin/provider/sap-ai-core.js +3 -3
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  526. package/dist/plugin/provider/venice.js +2 -2
  527. package/dist/plugin/provider/vercel.js +2 -2
  528. package/dist/plugin/provider/vllm.js +118 -118
  529. package/dist/plugin/provider/xai.js +78 -78
  530. package/dist/plugin/provider/zenmux.js +2 -2
  531. package/dist/plugin/provider.js +157 -157
  532. package/dist/plugin/sdk.js +75 -75
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +342 -342
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/variant.js +4 -4
  539. package/dist/plugin/vcs/git.js +83 -83
  540. package/dist/plugin/vcs/hg.js +83 -83
  541. package/dist/plugin/warming.js +113 -113
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +8 -8
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +6 -6
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin.js +225 -225
  549. package/dist/project/schema.js +8 -8
  550. package/dist/project/sql.js +4 -4
  551. package/dist/project.js +86 -86
  552. package/dist/provider.js +5 -5
  553. package/dist/pty/protocol.js +1 -1
  554. package/dist/pty/schema.js +3 -3
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +95 -95
  557. package/dist/reference/instructions.js +85 -85
  558. package/dist/reference.js +87 -87
  559. package/dist/repository-cache.js +77 -77
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +94 -94
  563. package/dist/rpc.js +82 -82
  564. package/dist/schema.js +1 -1
  565. package/dist/session/command.js +73 -73
  566. package/dist/session/compaction.js +128 -128
  567. package/dist/session/context.js +148 -148
  568. package/dist/session/environment.js +5 -5
  569. package/dist/session/error.js +3 -3
  570. package/dist/session/event.js +1 -1
  571. package/dist/session/execution/restart.js +220 -220
  572. package/dist/session/execution.js +125 -125
  573. package/dist/session/generate.js +147 -147
  574. package/dist/session/history.js +13 -13
  575. package/dist/session/inbox.js +87 -87
  576. package/dist/session/info.js +3 -3
  577. package/dist/session/instruction-entry.js +78 -78
  578. package/dist/session/instruction-state.js +8 -8
  579. package/dist/session/instructions.js +89 -89
  580. package/dist/session/message-updater.js +2 -2
  581. package/dist/session/message.js +1 -1
  582. package/dist/session/model-request.js +114 -114
  583. package/dist/session/model-transport.js +9 -9
  584. package/dist/session/move.js +127 -127
  585. package/dist/session/projector.js +85 -85
  586. package/dist/session/prompt.js +101 -101
  587. package/dist/session/provider-context.js +1 -1
  588. package/dist/session/revert.js +86 -86
  589. package/dist/session/run-coordinator.js +3 -3
  590. package/dist/session/runner/index.js +3 -3
  591. package/dist/session/runner/llm.js +226 -226
  592. package/dist/session/runner/max-steps.js +1 -1
  593. package/dist/session/runner/model.js +87 -87
  594. package/dist/session/runner/publish-llm-event.js +3 -3
  595. package/dist/session/runner/retry.js +111 -111
  596. package/dist/session/runner/step.js +122 -122
  597. package/dist/session/runner/to-llm-message.js +2 -2
  598. package/dist/session/schema.js +1 -1
  599. package/dist/session/session.js +170 -170
  600. package/dist/session/shell.js +132 -132
  601. package/dist/session/skill.js +99 -99
  602. package/dist/session/sql.js +5 -5
  603. package/dist/session/stats.js +74 -74
  604. package/dist/session/store.js +84 -84
  605. package/dist/session/subagent-completion.js +1 -1
  606. package/dist/session/subagent-job.js +204 -204
  607. package/dist/session/system-prompt.js +5 -5
  608. package/dist/session/title.js +152 -152
  609. package/dist/session/to-session-error.js +108 -108
  610. package/dist/session/transfer.js +217 -217
  611. package/dist/session/usage.js +1 -1
  612. package/dist/session.js +206 -206
  613. package/dist/shell/parse.js +6 -6
  614. package/dist/shell/result.js +1 -1
  615. package/dist/shell/scan.js +1 -1
  616. package/dist/shell/select.js +9 -9
  617. package/dist/shell.js +134 -134
  618. package/dist/skill/discovery.js +4 -4
  619. package/dist/skill/instructions.js +103 -103
  620. package/dist/skill.js +106 -106
  621. package/dist/snapshot.js +89 -89
  622. package/dist/state.js +1 -1
  623. package/dist/tool/html-markdown.js +1 -1
  624. package/dist/tool/http-body.js +1 -1
  625. package/dist/tool/mcp.js +116 -116
  626. package/dist/tool/plugin/edit.js +116 -116
  627. package/dist/tool/plugin/file-diff.js +1 -1
  628. package/dist/tool/plugin/glob.js +121 -121
  629. package/dist/tool/plugin/grep.js +117 -117
  630. package/dist/tool/plugin/opencode.js +3 -3
  631. package/dist/tool/plugin/patch.js +118 -118
  632. package/dist/tool/plugin/question.js +99 -99
  633. package/dist/tool/plugin/read.js +122 -122
  634. package/dist/tool/plugin/shell.js +211 -211
  635. package/dist/tool/plugin/skill.js +109 -109
  636. package/dist/tool/plugin/subagent.js +215 -215
  637. package/dist/tool/plugin/webfetch.js +104 -104
  638. package/dist/tool/plugin/websearch.js +108 -108
  639. package/dist/tool/plugin/write.js +118 -118
  640. package/dist/tool/read-filesystem.js +97 -97
  641. package/dist/tool/runtime.js +1 -1
  642. package/dist/tool-output.js +8 -8
  643. package/dist/tool.js +13 -13
  644. package/dist/util/error-summary.js +1 -1
  645. package/dist/util/error.js +1 -1
  646. package/dist/util/iife.js +1 -1
  647. package/dist/util/lazy.js +1 -1
  648. package/dist/util/slug.js +1 -1
  649. package/dist/util/token.js +1 -1
  650. package/dist/util/which.js +1 -1
  651. package/dist/util/wildcard.js +1 -1
  652. package/dist/v1/config/agent.js +5 -5
  653. package/dist/v1/config/attachment.js +4 -4
  654. package/dist/v1/config/command.js +3 -3
  655. package/dist/v1/config/config.js +16 -16
  656. package/dist/v1/config/error.js +2 -2
  657. package/dist/v1/config/formatter.js +5 -5
  658. package/dist/v1/config/layout.js +1 -1
  659. package/dist/v1/config/lsp.js +5 -5
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +4 -4
  662. package/dist/v1/config/permission.js +3 -3
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/v1/config/server.js +2 -2
  667. package/dist/v1/config/skills.js +3 -3
  668. package/dist/v1/permission.js +1 -1
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +86 -86
  671. package/dist/websearch.js +83 -83
  672. package/dist/wellknown/plugin.js +75 -75
  673. package/dist/wellknown.js +78 -78
  674. package/dist/workspace/driver.js +3 -3
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +79 -79
  677. package/dist/worktree/directory.js +4 -4
  678. package/dist/worktree/git.js +7 -7
  679. package/dist/worktree/refresh.js +341 -341
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree.js +92 -92
  682. package/package.json +8 -8
  683. package/dist/chunks/aisdk-native-0mesazry.js +0 -4
  684. package/dist/chunks/aisdk-native-1x11rq2a.js +0 -18
  685. package/dist/chunks/aisdk-native-ees1bheg.js +0 -22
  686. package/dist/chunks/aisdk-native-sembr0kd.js +0 -462
  687. package/dist/chunks/aisdk-native-zzet69ff.js +0 -247
  688. /package/dist/chunks/{aisdk-native-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{aisdk-native-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{aisdk-native-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{aisdk-native-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{aisdk-native-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{aisdk-native-2710q6r3.js → repository-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{aisdk-native-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{aisdk-native-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{aisdk-native-359p4xyc.js → repository-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{aisdk-native-3asan66x.js → repository-3asan66x.js} +0 -0
  698. /package/dist/chunks/{aisdk-native-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{aisdk-native-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{aisdk-native-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{aisdk-native-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{aisdk-native-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{aisdk-native-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{aisdk-native-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{aisdk-native-53557ph1.js → repository-53557ph1.js} +0 -0
  706. /package/dist/chunks/{aisdk-native-550bvhaj.js → repository-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{aisdk-native-6prwharc.js → repository-6prwharc.js} +0 -0
  708. /package/dist/chunks/{aisdk-native-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{aisdk-native-7m9af43g.js → repository-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{aisdk-native-822emrt2.js → repository-822emrt2.js} +0 -0
  711. /package/dist/chunks/{aisdk-native-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{aisdk-native-8n3pysct.js → repository-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{aisdk-native-922hggd3.js → repository-922hggd3.js} +0 -0
  714. /package/dist/chunks/{aisdk-native-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{aisdk-native-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{aisdk-native-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{aisdk-native-af5trqkr.js → repository-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{aisdk-native-afrmfg78.js → repository-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{aisdk-native-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{aisdk-native-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{aisdk-native-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{aisdk-native-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{aisdk-native-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{aisdk-native-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{aisdk-native-d9fn303g.js → repository-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{aisdk-native-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{aisdk-native-dajrwvna.js → repository-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{aisdk-native-dap0rakb.js → repository-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{aisdk-native-df08tz66.js → repository-df08tz66.js} +0 -0
  730. /package/dist/chunks/{aisdk-native-dy18nga0.js → repository-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{aisdk-native-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{aisdk-native-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{aisdk-native-ec1grn59.js → repository-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{aisdk-native-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{aisdk-native-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{aisdk-native-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{aisdk-native-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{aisdk-native-faypxj3z.js → repository-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{aisdk-native-fd410y7t.js → repository-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{aisdk-native-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{aisdk-native-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{aisdk-native-g86h250q.js → repository-g86h250q.js} +0 -0
  743. /package/dist/chunks/{aisdk-native-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{aisdk-native-gftt206x.js → repository-gftt206x.js} +0 -0
  745. /package/dist/chunks/{aisdk-native-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{aisdk-native-hk9envan.js → repository-hk9envan.js} +0 -0
  747. /package/dist/chunks/{aisdk-native-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
  748. /package/dist/chunks/{aisdk-native-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{aisdk-native-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{aisdk-native-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{aisdk-native-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{aisdk-native-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{aisdk-native-mp448xyj.js → repository-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{aisdk-native-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{aisdk-native-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{aisdk-native-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{aisdk-native-njntx4h6.js → repository-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{aisdk-native-paphc93g.js → repository-paphc93g.js} +0 -0
  759. /package/dist/chunks/{aisdk-native-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{aisdk-native-q74kybfr.js → repository-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{aisdk-native-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{aisdk-native-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{aisdk-native-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{aisdk-native-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{aisdk-native-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{aisdk-native-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{aisdk-native-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  768. /package/dist/chunks/{aisdk-native-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{aisdk-native-twg0f83k.js → repository-twg0f83k.js} +0 -0
  770. /package/dist/chunks/{aisdk-native-w803qqfp.js → repository-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{aisdk-native-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{aisdk-native-wtztk69x.js → repository-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{aisdk-native-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{aisdk-native-x61499pn.js → repository-x61499pn.js} +0 -0
  775. /package/dist/chunks/{aisdk-native-y44na4kk.js → repository-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{aisdk-native-y6f0p4jw.js → repository-y6f0p4jw.js} +0 -0
  777. /package/dist/chunks/{aisdk-native-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{aisdk-native-y8f7s663.js → repository-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{aisdk-native-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{aisdk-native-ym463w8f.js → repository-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{aisdk-native-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./aisdk-native-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service35
7
- } from "./aisdk-native-y9tfvs3x.js";
6
+ Service44
7
+ } from "./repository-smnv2tch.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./aisdk-native-2a5m3afh.js";
10
+ } from "./repository-2a5m3afh.js";
11
11
  import {
12
- Service71
13
- } from "./aisdk-native-ms882c9x.js";
12
+ Service65
13
+ } from "./repository-3mdgf1e2.js";
14
14
  import {
15
- Service46
16
- } from "./aisdk-native-n09f2zd2.js";
15
+ Service54
16
+ } from "./repository-mw6spqsr.js";
17
17
  import {
18
- Service59
19
- } from "./aisdk-native-h05a6ep0.js";
18
+ Service58
19
+ } from "./repository-ykpr0q7c.js";
20
20
  import {
21
- Service17,
21
+ Service19,
22
22
  resolvePath2
23
- } from "./aisdk-native-svw2bsx3.js";
23
+ } from "./repository-pvp1cs2e.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./aisdk-native-fxbjtjnd.js";
29
+ } from "./repository-fxbjtjnd.js";
30
30
  import {
31
- Service78,
31
+ Service57,
32
32
  name15
33
- } from "./aisdk-native-qx0n0hnh.js";
33
+ } from "./repository-3ke3s58r.js";
34
34
  import {
35
- NotFoundError4,
36
- Service32
37
- } from "./aisdk-native-c8k0fn6w.js";
35
+ NotFoundError5,
36
+ Service42
37
+ } from "./repository-rsbh8q26.js";
38
38
  import {
39
- Service19
40
- } from "./aisdk-native-rqysayyh.js";
39
+ Service26
40
+ } from "./repository-51cmmk6m.js";
41
41
  import {
42
42
  scan2
43
- } from "./aisdk-native-wh6nx8gk.js";
43
+ } from "./repository-g9cr3d5v.js";
44
44
  import {
45
45
  __export
46
- } from "./aisdk-native-9rqn6x4v.js";
46
+ } from "./repository-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input2,
53
- Plugin: () => Plugin33,
52
+ Input: () => Input7,
53
+ Plugin: () => Plugin24,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name2
55
+ name: () => name7
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name2 = "shell";
59
+ var name7 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input2 = Schema.Struct({
73
+ var Input7 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin33 = {
118
+ var Plugin24 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service19;
122
- const jobs = yield* Service46;
121
+ const sessions = yield* Service26;
122
+ const jobs = yield* Service54;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service71;
125
- const access = yield* Service17;
126
- const shell = yield* Service32;
127
- const shellSelect = yield* Service78;
124
+ const environment = yield* Service65;
125
+ const access = yield* Service19;
126
+ const shell = yield* Service42;
127
+ const shellSelect = yield* Service57;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service59;
130
- const config = yield* Service35;
129
+ const permission = yield* Service58;
130
+ const config = yield* Service44;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin33 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name2,
149
+ action: name7,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin33 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name2,
186
+ name: name7,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input2,
189
+ input: Input7,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin33 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError4({ id: info.id });
208
+ return yield* new NotFoundError5({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name2,
222
+ type: name7,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
252
- const tool = event.tools[name2];
252
+ const tool = event.tools[name7];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
257
257
  })
258
258
  };
259
259
 
260
- export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin33, exports_shell2 };
260
+ export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin24, exports_shell2 };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./aisdk-native-mb3974r6.js";
5
+ } from "./repository-hrncarcf.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make23,
10
10
  makeWithDefaults2
11
- } from "./aisdk-native-361ty1x8.js";
11
+ } from "./repository-f78hydwg.js";
12
12
  import {
13
13
  __export
14
- } from "./aisdk-native-9rqn6x4v.js";
14
+ } from "./repository-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./aisdk-native-11nvngjf.js";
2
+ Service78,
3
+ node83
4
+ } from "./repository-x6rcf4cj.js";
5
5
  import {
6
- Service73,
7
- node78
8
- } from "./aisdk-native-6fyvx278.js";
6
+ Service66,
7
+ node70
8
+ } from "./repository-6wjjjhy6.js";
9
9
  import {
10
10
  ID9,
11
- Service62,
12
- node66
13
- } from "./aisdk-native-x0v86zgp.js";
14
- import {
15
- NotFoundError7
16
- } from "./aisdk-native-3x8gcmrs.js";
17
- import {
18
11
  Service61,
19
12
  node65
20
- } from "./aisdk-native-smbad60v.js";
13
+ } from "./repository-b5n11jz6.js";
21
14
  import {
22
- match2
23
- } from "./aisdk-native-y1fvbwt7.js";
15
+ NotFoundError7
16
+ } from "./repository-3x8gcmrs.js";
24
17
  import {
25
18
  Service60,
26
19
  node64
27
- } from "./aisdk-native-8y0t5gr9.js";
20
+ } from "./repository-1n274c67.js";
21
+ import {
22
+ match2
23
+ } from "./repository-y1fvbwt7.js";
28
24
  import {
29
- Service63,
30
- node67
31
- } from "./aisdk-native-ra3qct3x.js";
25
+ Service59,
26
+ node63
27
+ } from "./repository-r94mrtfv.js";
28
+ import {
29
+ Service62,
30
+ node66
31
+ } from "./repository-mgx963cj.js";
32
32
  import {
33
33
  __export
34
- } from "./aisdk-native-9rqn6x4v.js";
34
+ } from "./repository-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,7 +42,7 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event14,
45
+ Event: () => Event13,
46
46
  ID: () => ID7,
47
47
  NotFoundError: () => NotFoundError6,
48
48
  Permission: () => exports_permission2,
@@ -51,17 +51,17 @@ __export(exports_permission2, {
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service59,
54
+ Service: () => Service58,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node63
58
+ node: () => node62
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
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event14 } from "@opencode/schema/permission";
64
+ import { Event as Event13 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
67
  var ID7 = Permission.ID;
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service59 extends Context.Service()("@opencode/Permission") {
128
+ class Service58 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service59, Effect.gen(function* () {
131
- const bus = yield* Service79;
132
- const location = yield* Service73;
133
- const agents = yield* Service62;
134
- const sessions = yield* Service61;
135
- const saved = yield* Service60;
136
- const hooks = yield* Service63;
130
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
131
+ const bus = yield* Service78;
132
+ const location = yield* Service66;
133
+ const agents = yield* Service61;
134
+ const sessions = yield* Service60;
135
+ const saved = yield* Service59;
136
+ const hooks = yield* Service62;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service59, 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 Service59.of({ ask, assert, reply, get, forSession, list });
286
+ return Service58.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node63 = makeLocationNode({
289
- service: Service59,
288
+ var node62 = makeLocationNode({
289
+ service: Service58,
290
290
  layer,
291
- deps: [node84, node78, node66, node65, node64, node67]
291
+ deps: [node83, node70, node65, node64, node63, node66]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service59, node63, exports_permission2, Rule3, Ruleset2, Event14 };
294
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service58, node62, exports_permission2, Rule3, Ruleset2, Event13 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./aisdk-native-ym463w8f.js";
3
+ } from "./repository-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./aisdk-native-z63w68vq.js";
3
+ } from "./repository-z63w68vq.js";
4
4
  import {
5
5
  __export
6
- } from "./aisdk-native-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./aisdk-native-11nvngjf.js";
2
+ Service78,
3
+ node83
4
+ } from "./repository-x6rcf4cj.js";
5
5
  import {
6
6
  __export
7
- } from "./aisdk-native-9rqn6x4v.js";
7
+ } from "./repository-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID14,
20
- Info: () => Info27,
19
+ ID: () => ID18,
20
+ Info: () => Info33,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError8,
23
+ NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service68,
25
+ Service: () => Service77,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer24,
29
- node: () => node72,
28
+ layer: () => layer25,
29
+ node: () => node82,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID14 = Form.ID;
39
- var Info27 = Form.Info;
38
+ var ID18 = Form.ID;
39
+ var Info33 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID14
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID18
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID14
56
+ id: ID18
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID14
64
+ id: ID18
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID14,
72
+ id: ID18,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service68 extends Context.Service()("@opencode/Form") {
82
+ class Service77 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer24 = Layer.effect(Service68, Effect.gen(function* () {
85
- const bus = yield* Service79;
84
+ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
85
+ const bus = yield* Service78;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID14.create();
92
+ const id = input.id ?? ID18.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -153,9 +153,9 @@ var layer24 = Layer.effect(Service68, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service68.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service77.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node72 = makeLocationNode({ service: Service68, layer: layer24, deps: [node84] });
158
+ var node82 = makeLocationNode({ service: Service77, layer: layer25, deps: [node83] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID14, Info27, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service68, layer24, node72, validateAnswer2, validateFields2, exports_form, Event19 };
310
+ export { ID18, Info33, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer25, node82, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./aisdk-native-ym463w8f.js";
3
+ } from "./repository-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./aisdk-native-11nvngjf.js";
2
+ Service78,
3
+ node83
4
+ } from "./repository-x6rcf4cj.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./aisdk-native-2402vzrj.js";
11
+ } from "./repository-2402vzrj.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./aisdk-native-922hggd3.js";
14
+ } from "./repository-922hggd3.js";
15
15
  import {
16
- Service47,
17
- node50
18
- } from "./aisdk-native-dgf53888.js";
16
+ Service56,
17
+ node60
18
+ } from "./repository-p6v0vyws.js";
19
19
  import {
20
20
  create3
21
- } from "./aisdk-native-kg06axw8.js";
21
+ } from "./repository-kg06axw8.js";
22
22
  import {
23
23
  __export
24
- } from "./aisdk-native-9rqn6x4v.js";
24
+ } from "./repository-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event6,
29
+ Event: () => Event12,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info16,
31
+ Info: () => Info19,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service44,
35
- Source: () => Source3,
36
- node: () => node47
34
+ Service: () => Service55,
35
+ Source: () => Source4,
36
+ node: () => node59
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event6 } from "@opencode/schema/reference";
42
+ import { Event as Event12 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
46
- var Info16 = Reference.Info;
45
+ var Source4 = Reference.Source;
46
+ var Info19 = Reference.Info;
47
47
 
48
- class Service44 extends Context.Service()("@opencode/Reference") {
48
+ class Service55 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service44, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service79;
53
- const cache = yield* Service47;
52
+ const bus = yield* Service78;
53
+ const cache = yield* Service56;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info16.make({ ...info, path: source.path })];
63
+ return [Info19.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info16.make({
75
+ Info19.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service44.of({
107
+ return Service55.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node47 = makeLocationNode({
116
- service: Service44,
115
+ var node59 = makeLocationNode({
116
+ service: Service55,
117
117
  layer,
118
- deps: [Global.node, node84, node50]
118
+ deps: [Global.node, node83, node60]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info16, Service44, node47, exports_reference2, Event6 };
121
+ export { LocalSource2, GitSource2, Source4, Info19, Service55, node59, exports_reference2, Event12 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./aisdk-native-2axfhc9x.js";
3
+ } from "./repository-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./aisdk-native-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
9
  var exports_error = {};