@opencode/core 0.0.0-dev-20583 → 0.0.0-dev-20587

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 +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{file-mutation-fbck328a.js → reference-0a424z4m.js} +24 -24
  8. package/dist/chunks/{file-mutation-tmjgp03p.js → reference-0dh5pvxp.js} +37 -37
  9. package/dist/chunks/{file-mutation-zkpkevqb.js → reference-0fmqyjny.js} +17 -17
  10. package/dist/chunks/{file-mutation-q0xm7vwc.js → reference-0j77ygfz.js} +6 -6
  11. package/dist/chunks/{file-mutation-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{file-mutation-eea3fma5.js → reference-0te1aq7m.js} +29 -29
  13. package/dist/chunks/{file-mutation-j4k4y6cp.js → reference-0v0fh1f4.js} +44 -44
  14. package/dist/chunks/{file-mutation-0vbcp93d.js → reference-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{file-mutation-rpfmaskv.js → reference-0w7ej8g6.js} +86 -86
  16. package/dist/chunks/reference-0yw8jrmx.js +26 -0
  17. package/dist/chunks/{file-mutation-2cwknq7w.js → reference-13st69t8.js} +11 -11
  18. package/dist/chunks/{file-mutation-rzg0yy35.js → reference-18pd0k8w.js} +11 -11
  19. package/dist/chunks/{file-mutation-1r1edwa1.js → reference-1ahxm6sd.js} +33 -33
  20. package/dist/chunks/{file-mutation-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{file-mutation-1dvck2a7.js → reference-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{file-mutation-sazhseep.js → reference-1hj56dzs.js} +13 -13
  23. package/dist/chunks/{file-mutation-g1epjwmz.js → reference-1jy03gaj.js} +10 -7
  24. package/dist/chunks/{file-mutation-ts23464c.js → reference-1p07q0wb.js} +2 -2
  25. package/dist/chunks/{file-mutation-5s0bmr25.js → reference-1qnvanna.js} +21 -21
  26. package/dist/chunks/{file-mutation-97jxdyep.js → reference-1sx5ttk3.js} +45 -45
  27. package/dist/chunks/{file-mutation-47qpzrds.js → reference-1tdshpj3.js} +41 -41
  28. package/dist/chunks/{file-mutation-r6s1zymw.js → reference-1v231d3m.js} +35 -35
  29. package/dist/chunks/{file-mutation-8hkfkb27.js → reference-1xxd6k95.js} +8 -8
  30. package/dist/chunks/{file-mutation-9n9hgcd8.js → reference-276fgt7k.js} +18 -18
  31. package/dist/chunks/{file-mutation-cwsxj1fy.js → reference-28at9kpj.js} +16 -16
  32. package/dist/chunks/{file-mutation-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{file-mutation-10t9a2f3.js → reference-2c7hjkzv.js} +13 -13
  34. package/dist/chunks/{file-mutation-4ts7tf6z.js → reference-2ccvkpx1.js} +2 -2
  35. package/dist/chunks/{file-mutation-6hbe8yta.js → reference-2ghygp50.js} +10 -10
  36. package/dist/chunks/{file-mutation-qgn6gcr1.js → reference-2k8khapm.js} +5 -5
  37. package/dist/chunks/{file-mutation-f73rjn58.js → reference-2vs2nh1n.js} +4 -4
  38. package/dist/chunks/{file-mutation-wtr910ek.js → reference-2z6nk9rc.js} +17 -17
  39. package/dist/chunks/{file-mutation-77hgjsk3.js → reference-33vkvr6x.js} +32 -32
  40. package/dist/chunks/{file-mutation-rk1r2hx8.js → reference-3556dn8t.js} +1 -1
  41. package/dist/chunks/{file-mutation-g31erja1.js → reference-3cd9n481.js} +9 -9
  42. package/dist/chunks/{file-mutation-anfj9sc3.js → reference-3dptaw0d.js} +11 -11
  43. package/dist/chunks/{file-mutation-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{file-mutation-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{file-mutation-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{file-mutation-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{file-mutation-dzbkcwn2.js → reference-3v047kxf.js} +16 -16
  48. package/dist/chunks/{file-mutation-d7y24xev.js → reference-3yp4znr7.js} +13 -13
  49. package/dist/chunks/{file-mutation-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{file-mutation-dx2gcj3s.js → reference-40etmpxy.js} +20 -20
  51. package/dist/chunks/{file-mutation-ayb65py8.js → reference-4bevpzhv.js} +6 -6
  52. package/dist/chunks/{file-mutation-x48v3pqg.js → reference-4dq32q0a.js} +8 -8
  53. package/dist/chunks/{file-mutation-qpjyd557.js → reference-4h0sqrpn.js} +15 -15
  54. package/dist/chunks/{file-mutation-ehn96ckv.js → reference-4jrcr0tk.js} +17 -17
  55. package/dist/chunks/{file-mutation-93ygb5af.js → reference-4mwpykj0.js} +6 -6
  56. package/dist/chunks/{file-mutation-608kr7kb.js → reference-4n407jcq.js} +10 -10
  57. package/dist/chunks/{file-mutation-12wrqg79.js → reference-4rzegzkw.js} +20 -20
  58. package/dist/chunks/{file-mutation-w48dyk57.js → reference-4tbp73he.js} +11 -11
  59. package/dist/chunks/{file-mutation-ceetf7sw.js → reference-4ttn132a.js} +8 -8
  60. package/dist/chunks/{file-mutation-f29mbr7f.js → reference-4z58m4b4.js} +4 -4
  61. package/dist/chunks/{file-mutation-1kprmeav.js → reference-51r1ga28.js} +35 -35
  62. package/dist/chunks/{file-mutation-54ma36ye.js → reference-54ma36ye.js} +1 -1
  63. package/dist/chunks/{file-mutation-mfqp6xfm.js → reference-56gdpj1q.js} +6 -6
  64. package/dist/chunks/{file-mutation-w19d8598.js → reference-57b9ws8p.js} +4 -4
  65. package/dist/chunks/{file-mutation-2w5dyyz8.js → reference-57e9z27j.js} +8 -8
  66. package/dist/chunks/{file-mutation-gbdpq833.js → reference-5cqz128n.js} +16 -16
  67. package/dist/chunks/{file-mutation-5daktx2q.js → reference-5daktx2q.js} +1 -1
  68. package/dist/chunks/{file-mutation-q752a12t.js → reference-5e1anv4t.js} +22 -22
  69. package/dist/chunks/{file-mutation-v03f7qed.js → reference-5eqgw8nb.js} +8 -8
  70. package/dist/chunks/{file-mutation-dsq8k9r4.js → reference-5ga8pmy8.js} +33 -33
  71. package/dist/chunks/{file-mutation-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
  72. package/dist/chunks/{file-mutation-e2t1g78s.js → reference-5w2vcsqn.js} +180 -180
  73. package/dist/chunks/{file-mutation-7q62a8nt.js → reference-5w6ne2rj.js} +11 -11
  74. package/dist/chunks/{file-mutation-tfj6v96f.js → reference-60zx66yq.js} +46 -45
  75. package/dist/chunks/{file-mutation-dra5cftj.js → reference-6121h2h6.js} +2 -2
  76. package/dist/chunks/{file-mutation-s1wxmayf.js → reference-62rnp32c.js} +10 -10
  77. package/dist/chunks/{file-mutation-2j93mrye.js → reference-62txs9jh.js} +11 -11
  78. package/dist/chunks/{file-mutation-669tq793.js → reference-669tq793.js} +1 -1
  79. package/dist/chunks/{file-mutation-exm9kzsb.js → reference-6apts7gk.js} +5 -5
  80. package/dist/chunks/{file-mutation-94mz8ebf.js → reference-6jw82w3c.js} +25 -25
  81. package/dist/chunks/{file-mutation-0t7934bj.js → reference-6n0c2nxw.js} +37 -37
  82. package/dist/chunks/{file-mutation-6xb47vfp.js → reference-6xb47vfp.js} +1 -1
  83. package/dist/chunks/{file-mutation-71az546q.js → reference-71az546q.js} +2 -2
  84. package/dist/chunks/{file-mutation-sxsdhb2f.js → reference-75c7h6s3.js} +19 -19
  85. package/dist/chunks/{file-mutation-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{file-mutation-bx1kzrbd.js → reference-7mnt2941.js} +24 -24
  87. package/dist/chunks/{file-mutation-zy0jt0ey.js → reference-7r0707g4.js} +37 -37
  88. package/dist/chunks/{file-mutation-skq3snf0.js → reference-7zy8br1g.js} +3 -3
  89. package/dist/chunks/{file-mutation-84txncab.js → reference-84txncab.js} +1 -1
  90. package/dist/chunks/{file-mutation-wzpg4398.js → reference-89anvpvk.js} +5 -5
  91. package/dist/chunks/{file-mutation-6a6378pm.js → reference-8c1ypbfp.js} +23 -23
  92. package/dist/chunks/{file-mutation-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/reference-8eazr78z.js +253 -0
  94. package/dist/chunks/{file-mutation-166kng33.js → reference-8mbscqky.js} +8 -8
  95. package/dist/chunks/{file-mutation-gka6nvrt.js → reference-8zs2xvcx.js} +17 -17
  96. package/dist/chunks/{file-mutation-90hpmr2t.js → reference-906tg66d.js} +11 -11
  97. package/dist/chunks/{file-mutation-5cz6gggr.js → reference-9707ta7n.js} +24 -24
  98. package/dist/chunks/{file-mutation-vkt86nx4.js → reference-9bzydxt0.js} +21 -21
  99. package/dist/chunks/{file-mutation-9e5bzkjp.js → reference-9e5bzkjp.js} +3 -3
  100. package/dist/chunks/{file-mutation-sznyev98.js → reference-9eh6sf6d.js} +5 -5
  101. package/dist/chunks/{file-mutation-g5krbyz9.js → reference-9f35bx3k.js} +15 -15
  102. package/dist/chunks/{file-mutation-9qwqd80z.js → reference-9nxp2j1r.js} +12 -12
  103. package/dist/chunks/{file-mutation-cdbfhxhg.js → reference-9q26wnhp.js} +17 -17
  104. package/dist/chunks/reference-9sh4wc5j.js +18 -0
  105. package/dist/chunks/{file-mutation-93t1mf90.js → reference-9sqgpkz6.js} +11 -11
  106. package/dist/chunks/{file-mutation-ft0c77xz.js → reference-a2xqkxgc.js} +18 -18
  107. package/dist/chunks/{file-mutation-48cwc0wb.js → reference-a7ykahx8.js} +22 -22
  108. package/dist/chunks/{file-mutation-aaet6srn.js → reference-aaet6srn.js} +2 -2
  109. package/dist/chunks/{file-mutation-gqtdsdt7.js → reference-addxnjmp.js} +4 -4
  110. package/dist/chunks/{file-mutation-79ajbfyg.js → reference-ae75as9k.js} +4 -4
  111. package/dist/chunks/{file-mutation-7tt1yyek.js → reference-aen5yss8.js} +20 -20
  112. package/dist/chunks/{file-mutation-eqv7r0bw.js → reference-as4zy6vm.js} +6 -6
  113. package/dist/chunks/{file-mutation-yjx32v1s.js → reference-as7cf5zz.js} +4 -4
  114. package/dist/chunks/{file-mutation-n9vhqagr.js → reference-avw4htaf.js} +26 -26
  115. package/dist/chunks/{file-mutation-49exe669.js → reference-axs6pdy0.js} +5 -5
  116. package/dist/chunks/{file-mutation-gapccta5.js → reference-axsdja44.js} +20 -20
  117. package/dist/chunks/{file-mutation-s1gjyzhy.js → reference-b5hvc6g6.js} +4 -4
  118. package/dist/chunks/{file-mutation-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
  119. package/dist/chunks/{file-mutation-qvb3nf84.js → reference-be7qvw84.js} +8 -8
  120. package/dist/chunks/{file-mutation-0qtgexh9.js → reference-bgjpcfh1.js} +46 -46
  121. package/dist/chunks/{file-mutation-w7w59cfp.js → reference-bk2zmp9c.js} +13 -13
  122. package/dist/chunks/{file-mutation-btbmdjwj.js → reference-bp8fbaqn.js} +4 -4
  123. package/dist/chunks/{file-mutation-pa8pe2x7.js → reference-br0tr5aq.js} +8 -8
  124. package/dist/chunks/{file-mutation-9kr929zm.js → reference-brt5an88.js} +7 -7
  125. package/dist/chunks/{file-mutation-4rt0ga34.js → reference-bydnjh3t.js} +9 -9
  126. package/dist/chunks/{file-mutation-gez6wwhh.js → reference-c02d881x.js} +15 -15
  127. package/dist/chunks/{file-mutation-a8bn8zg0.js → reference-c20khjev.js} +21 -21
  128. package/dist/chunks/{file-mutation-zx95ftzb.js → reference-c2sed5cq.js} +3 -3
  129. package/dist/chunks/{file-mutation-vc6v0gj3.js → reference-c384rd0k.js} +4 -4
  130. package/dist/chunks/{file-mutation-xz8rcs7k.js → reference-cfypbh6h.js} +25 -25
  131. package/dist/chunks/{file-mutation-0swngr03.js → reference-ckapse2z.js} +24 -24
  132. package/dist/chunks/{file-mutation-vxmhavab.js → reference-cpna35qm.js} +10 -10
  133. package/dist/chunks/{file-mutation-m1khtztb.js → reference-crdrr85v.js} +5 -5
  134. package/dist/chunks/{file-mutation-px76j0pk.js → reference-csmvz898.js} +9 -9
  135. package/dist/chunks/{file-mutation-awnyytxj.js → reference-d5m53j50.js} +36 -32
  136. package/dist/chunks/{file-mutation-w22zc6e5.js → reference-da456p6f.js} +28 -28
  137. package/dist/chunks/{file-mutation-zrtb0087.js → reference-dkr6ry3g.js} +10 -10
  138. package/dist/chunks/{file-mutation-nxm207yx.js → reference-dpkg50ah.js} +4 -4
  139. package/dist/chunks/{file-mutation-qykvrrtg.js → reference-e3cpgeff.js} +11 -11
  140. package/dist/chunks/{file-mutation-5qd3pb7m.js → reference-e3qxr5gk.js} +2 -2
  141. package/dist/chunks/{file-mutation-e2k83wgv.js → reference-e51et464.js} +5 -5
  142. package/dist/chunks/{file-mutation-72p9t9gb.js → reference-e8mb8cqx.js} +31 -31
  143. package/dist/chunks/{file-mutation-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{file-mutation-capa8hmm.js → reference-ek9c5stx.js} +8 -8
  145. package/dist/chunks/{file-mutation-58mk5nmy.js → reference-eptmzqw1.js} +15 -15
  146. package/dist/chunks/{file-mutation-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
  147. package/dist/chunks/{file-mutation-68cfq5az.js → reference-ez6c34s8.js} +20 -20
  148. package/dist/chunks/{file-mutation-3gepn018.js → reference-f0k10bmp.js} +8 -8
  149. package/dist/chunks/{file-mutation-k1qrnqst.js → reference-f5gy8qwh.js} +8 -8
  150. package/dist/chunks/{file-mutation-bmdr62wy.js → reference-f65bz2q7.js} +5 -5
  151. package/dist/chunks/{file-mutation-bj8e23yz.js → reference-f79gec3w.js} +24 -24
  152. package/dist/chunks/{file-mutation-9xb4p3aq.js → reference-f9a4pn72.js} +7 -7
  153. package/dist/chunks/{file-mutation-th8qagft.js → reference-fedq4t26.js} +8 -8
  154. package/dist/chunks/{file-mutation-hh8qm7ej.js → reference-fmt1hs8y.js} +19 -19
  155. package/dist/chunks/{file-mutation-v0es1rhs.js → reference-fpecnkgp.js} +9 -9
  156. package/dist/chunks/{file-mutation-x6n59cg4.js → reference-ftyfyfhe.js} +14 -14
  157. package/dist/chunks/{file-mutation-9txt07q0.js → reference-fzztmtyv.js} +86 -86
  158. package/dist/chunks/{file-mutation-zqcjw91e.js → reference-g047z55c.js} +15 -15
  159. package/dist/chunks/{file-mutation-ab0bv3vs.js → reference-g7xeyaj0.js} +10 -10
  160. package/dist/chunks/{file-mutation-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{file-mutation-ceze7etz.js → reference-gnw3t1dc.js} +3 -3
  162. package/dist/chunks/{file-mutation-93cdtzk6.js → reference-gqpz8759.js} +11 -11
  163. package/dist/chunks/{file-mutation-6b9m9qth.js → reference-gwcpdn4r.js} +8 -8
  164. package/dist/chunks/{file-mutation-m80q8nre.js → reference-h1wh6nnm.js} +4 -4
  165. package/dist/chunks/{file-mutation-pwk6y6g7.js → reference-h26940z0.js} +30 -30
  166. package/dist/chunks/{file-mutation-h2b79v29.js → reference-h2b79v29.js} +2 -2
  167. package/dist/chunks/{file-mutation-h0tn9bp1.js → reference-h2tzc275.js} +21 -21
  168. package/dist/chunks/{file-mutation-cdy1429m.js → reference-h4pjr44c.js} +17 -17
  169. package/dist/chunks/{file-mutation-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{file-mutation-nkh7czpt.js → reference-h9353qrc.js} +24 -24
  171. package/dist/chunks/{file-mutation-f56msdte.js → reference-hasf9nkd.js} +48 -48
  172. package/dist/chunks/{file-mutation-6s812hbs.js → reference-hdrn7jtd.js} +24 -24
  173. package/dist/chunks/{file-mutation-f27gt3fb.js → reference-hggj5nbt.js} +67 -67
  174. package/dist/chunks/{file-mutation-123xm1e3.js → reference-hneefbm4.js} +9 -9
  175. package/dist/chunks/{file-mutation-2st2vgs8.js → reference-hnn8dgg2.js} +24 -24
  176. package/dist/chunks/{file-mutation-bygr0fca.js → reference-hryntbm6.js} +42 -42
  177. package/dist/chunks/{file-mutation-84xy7cmd.js → reference-j02h87v3.js} +3 -3
  178. package/dist/chunks/{file-mutation-j56e64zr.js → reference-j56e64zr.js} +1 -1
  179. package/dist/chunks/{file-mutation-ybtvq2mj.js → reference-jax8j6c6.js} +13 -13
  180. package/dist/chunks/{file-mutation-ftmsc343.js → reference-jh2kc7t1.js} +17 -17
  181. package/dist/chunks/{file-mutation-gxxtbefb.js → reference-jk02jdk9.js} +26 -26
  182. package/dist/chunks/{file-mutation-w6pb9j5w.js → reference-jt8tan63.js} +14 -14
  183. package/dist/chunks/{file-mutation-3xe73pcq.js → reference-k16ae6jh.js} +26 -26
  184. package/dist/chunks/{file-mutation-7y74vpaj.js → reference-k8r11mjf.js} +18 -18
  185. package/dist/chunks/{file-mutation-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{file-mutation-ngt3qdhm.js → reference-m74y07zs.js} +5 -5
  187. package/dist/chunks/{file-mutation-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{file-mutation-y5beyqvm.js → reference-mb14aw74.js} +2 -2
  189. package/dist/chunks/{file-mutation-8ne23mfp.js → reference-merhc0f7.js} +15 -15
  190. package/dist/chunks/{file-mutation-peptrfgf.js → reference-mkh9k1h6.js} +24 -24
  191. package/dist/chunks/{file-mutation-d2vx756y.js → reference-mm5yq9f6.js} +6 -6
  192. package/dist/chunks/{file-mutation-en7r6a3x.js → reference-mr4yzd1n.js} +11 -11
  193. package/dist/chunks/{file-mutation-g8srsgrp.js → reference-msxdz3am.js} +5 -5
  194. package/dist/chunks/{file-mutation-a1gpj94z.js → reference-mvfsc1pv.js} +3 -3
  195. package/dist/chunks/{file-mutation-kb6vbnxp.js → reference-mwwxnxty.js} +4 -4
  196. package/dist/chunks/{file-mutation-wjmj7svf.js → reference-mzw9gwxy.js} +21 -21
  197. package/dist/chunks/{file-mutation-aawfa1p8.js → reference-mzzkv1b5.js} +1 -1
  198. package/dist/chunks/{file-mutation-c779czcw.js → reference-n21nhzwg.js} +9 -9
  199. package/dist/chunks/{file-mutation-24wzahvd.js → reference-n7szyvye.js} +18 -18
  200. package/dist/chunks/{file-mutation-mbrh99t5.js → reference-n90frd9p.js} +5 -5
  201. package/dist/chunks/{file-mutation-b6nfqgtw.js → reference-nh77y64w.js} +10 -10
  202. package/dist/chunks/{file-mutation-z39s51pd.js → reference-nxpdv9mh.js} +22 -22
  203. package/dist/chunks/{file-mutation-7jvbf81s.js → reference-p5wc048m.js} +33 -33
  204. package/dist/chunks/{file-mutation-s7h584sa.js → reference-pj1gdqhf.js} +9 -9
  205. package/dist/chunks/{file-mutation-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{file-mutation-pknna89w.js → reference-pknna89w.js} +1 -1
  207. package/dist/chunks/{file-mutation-6136cgh5.js → reference-q0a6wh5g.js} +54 -54
  208. package/dist/chunks/{file-mutation-7zkbhs7g.js → reference-q9099wq0.js} +9 -9
  209. package/dist/chunks/{file-mutation-ryr25ayn.js → reference-qa3qhgw8.js} +4 -4
  210. package/dist/chunks/{file-mutation-39kj94aj.js → reference-qapy5d55.js} +13 -13
  211. package/dist/chunks/{file-mutation-05j2y7x7.js → reference-qjy48y5a.js} +9 -9
  212. package/dist/chunks/{file-mutation-cwa6csj7.js → reference-qmqgtz8f.js} +9 -9
  213. package/dist/chunks/{file-mutation-qnc92qwc.js → reference-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{file-mutation-qsdy395h.js → reference-qsdy395h.js} +1 -1
  215. package/dist/chunks/{file-mutation-t6fvfsyt.js → reference-qz5yzqrb.js} +1 -1
  216. package/dist/chunks/{file-mutation-ep44p4pe.js → reference-r44petzp.js} +12 -12
  217. package/dist/chunks/{file-mutation-j8k9xj39.js → reference-r9zdjfxd.js} +30 -30
  218. package/dist/chunks/{file-mutation-a9bm1b1m.js → reference-rarzp9d6.js} +45 -45
  219. package/dist/chunks/{file-mutation-awzyrsce.js → reference-rcz0qr92.js} +9 -9
  220. package/dist/chunks/{file-mutation-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{file-mutation-wv396vej.js → reference-rhjbct0v.js} +8 -8
  222. package/dist/chunks/{file-mutation-180jb965.js → reference-rt8ggq5v.js} +16 -16
  223. package/dist/chunks/{file-mutation-f3d9psnk.js → reference-rvwrtnmj.js} +36 -36
  224. package/dist/chunks/{file-mutation-v5azp370.js → reference-rx5v959s.js} +48 -48
  225. package/dist/chunks/{file-mutation-jpqsftmp.js → reference-s489hxh6.js} +36 -36
  226. package/dist/chunks/{file-mutation-wyahmztr.js → reference-s48prvxc.js} +5 -5
  227. package/dist/chunks/{file-mutation-j4dpp98w.js → reference-s8262drx.js} +27 -27
  228. package/dist/chunks/{file-mutation-yeav80qa.js → reference-sexz0h36.js} +17 -17
  229. package/dist/chunks/{file-mutation-yvd37te7.js → reference-sfq2mayw.js} +19 -19
  230. package/dist/chunks/{file-mutation-k09a0f44.js → reference-sjcrvc3z.js} +12 -12
  231. package/dist/chunks/reference-smgnyfxh.js +507 -0
  232. package/dist/chunks/{file-mutation-xtqdhsn8.js → reference-t52a3v9d.js} +3 -3
  233. package/dist/chunks/{file-mutation-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{file-mutation-y6mhz57t.js → reference-tbmac1c7.js} +4 -4
  235. package/dist/chunks/{file-mutation-jcvj30yp.js → reference-tbv9z12t.js} +16 -16
  236. package/dist/chunks/{file-mutation-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{file-mutation-2w56afta.js → reference-td76xh55.js} +4 -4
  238. package/dist/chunks/{file-mutation-tdstcens.js → reference-tdstcens.js} +1 -1
  239. package/dist/chunks/{file-mutation-5qrrcsc2.js → reference-tedbzwbh.js} +9 -9
  240. package/dist/chunks/{file-mutation-mbgxsypk.js → reference-tgjyt6x8.js} +31 -31
  241. package/dist/chunks/{file-mutation-6nwe3trr.js → reference-vaaeps5c.js} +10 -10
  242. package/dist/chunks/{file-mutation-j3qw8rc6.js → reference-vaws9nke.js} +23 -23
  243. package/dist/chunks/{file-mutation-g60yh954.js → reference-vbdbrvqk.js} +33 -33
  244. package/dist/chunks/{file-mutation-40bnz8b2.js → reference-vcyfbsct.js} +11 -11
  245. package/dist/chunks/{file-mutation-veqvce7d.js → reference-veqvce7d.js} +1 -1
  246. package/dist/chunks/{file-mutation-a026aj5z.js → reference-vh4dbhj0.js} +34 -34
  247. package/dist/chunks/{file-mutation-d3gcvv3k.js → reference-vhtvrbyw.js} +10 -10
  248. package/dist/chunks/{file-mutation-agrw7dk4.js → reference-vkp904sp.js} +11 -11
  249. package/dist/chunks/{file-mutation-21kzj585.js → reference-vqkrcv5y.js} +12 -12
  250. package/dist/chunks/{file-mutation-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{file-mutation-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{file-mutation-dssbfrwz.js → reference-w2h15q85.js} +5 -5
  253. package/dist/chunks/{file-mutation-94qxd8wt.js → reference-w36x1trb.js} +3 -3
  254. package/dist/chunks/{file-mutation-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{file-mutation-7jdtyktx.js → reference-w9z1evgj.js} +9 -9
  256. package/dist/chunks/{file-mutation-5h9mcdhs.js → reference-wadaxy67.js} +25 -25
  257. package/dist/chunks/{file-mutation-wd87259q.js → reference-wd87259q.js} +1 -1
  258. package/dist/chunks/{file-mutation-d15mmqf3.js → reference-wf5a3he0.js} +11 -11
  259. package/dist/chunks/{file-mutation-qkrdv68w.js → reference-x6xjy9sr.js} +26 -26
  260. package/dist/chunks/{file-mutation-d9ygp6ze.js → reference-xasgz6m5.js} +7 -7
  261. package/dist/chunks/{file-mutation-xkntkrq7.js → reference-xkntkrq7.js} +2 -2
  262. package/dist/chunks/{file-mutation-8k1b3hgn.js → reference-xkwk6fd6.js} +24 -24
  263. package/dist/chunks/{file-mutation-a81dbpn4.js → reference-xwjbp7xw.js} +51 -51
  264. package/dist/chunks/{file-mutation-j4jm9w3p.js → reference-xwz313q0.js} +23 -23
  265. package/dist/chunks/{file-mutation-qxjc9qry.js → reference-xyafkbt0.js} +3 -3
  266. package/dist/chunks/{file-mutation-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{file-mutation-9z4end1d.js → reference-y1pgr5ms.js} +13 -13
  268. package/dist/chunks/{file-mutation-0pzykd19.js → reference-yc4mm6dw.js} +32 -32
  269. package/dist/chunks/{file-mutation-2sq0rgeb.js → reference-ydm7tw01.js} +26 -26
  270. package/dist/chunks/{file-mutation-5w26m471.js → reference-yeezw0cj.js} +11 -11
  271. package/dist/chunks/{file-mutation-43mj7s4s.js → reference-yn6nbke9.js} +11 -11
  272. package/dist/chunks/{file-mutation-r8xr0va3.js → reference-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{file-mutation-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{file-mutation-kc6n47mc.js → reference-z493x013.js} +6 -6
  275. package/dist/chunks/{file-mutation-ygdna4kr.js → reference-z6c3x22d.js} +5 -5
  276. package/dist/chunks/{file-mutation-w7n29mqq.js → reference-z6sqrxtq.js} +6 -6
  277. package/dist/chunks/{file-mutation-8gqyy45k.js → reference-z91awrxv.js} +18 -18
  278. package/dist/chunks/{file-mutation-kzrvy21g.js → reference-zcatgnda.js} +12 -12
  279. package/dist/chunks/{file-mutation-k66mh8t8.js → reference-zn5p4xjj.js} +4 -4
  280. package/dist/chunks/{file-mutation-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{file-mutation-1qxsyfe0.js → reference-zwc3pnar.js} +25 -25
  282. package/dist/chunks/{file-mutation-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{file-mutation-wecqtg5s.js → reference-zyk1yjk8.js} +5 -5
  284. package/dist/chunks/{file-mutation-6wz7chbs.js → reference-zzrgx2qg.js} +3 -3
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  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 +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  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 +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  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 +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +97 -97
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +102 -102
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +101 -101
  427. package/dist/git.js +10 -10
  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 +91 -91
  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/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +87 -87
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +103 -101
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +115 -115
  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 +84 -84
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +95 -95
  510. package/dist/plugin/provider/gitlab.js +93 -93
  511. package/dist/plugin/provider/google-vertex.js +90 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +78 -78
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +115 -115
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +115 -115
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  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 +343 -343
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +218 -218
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +90 -90
  554. package/dist/provider.js +101 -101
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +93 -93
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +91 -91
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +95 -95
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +135 -135
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +214 -214
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +90 -90
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +123 -123
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +164 -164
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +155 -155
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +210 -210
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +207 -207
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +15 -15
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +112 -112
  624. package/dist/snapshot.js +93 -93
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +126 -126
  629. package/dist/tool/plugin/edit.js +118 -118
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +103 -103
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +204 -204
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +112 -112
  642. package/dist/tool/plugin/websearch.js +112 -112
  643. package/dist/tool/plugin/write.js +118 -118
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +5 -5
  647. package/dist/tool.js +14 -14
  648. package/dist/types/model.d.ts +1 -0
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +93 -93
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +89 -89
  670. package/dist/websearch.js +82 -82
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +79 -79
  673. package/dist/workspace/driver.js +7 -7
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +80 -80
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +96 -96
  681. package/package.json +8 -8
  682. package/dist/chunks/file-mutation-2r7ew65j.js +0 -26
  683. package/dist/chunks/file-mutation-8fke18e1.js +0 -253
  684. package/dist/chunks/file-mutation-kjjjense.js +0 -507
  685. package/dist/chunks/file-mutation-rap9a73h.js +0 -18
  686. /package/dist/chunks/{file-mutation-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{file-mutation-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{file-mutation-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{file-mutation-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{file-mutation-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{file-mutation-24dcb14g.js → reference-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{file-mutation-2710q6r3.js → reference-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{file-mutation-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{file-mutation-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{file-mutation-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{file-mutation-359p4xyc.js → reference-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{file-mutation-3asan66x.js → reference-3asan66x.js} +0 -0
  698. /package/dist/chunks/{file-mutation-3t0ybcrp.js → reference-3t0ybcrp.js} +0 -0
  699. /package/dist/chunks/{file-mutation-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{file-mutation-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{file-mutation-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{file-mutation-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{file-mutation-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{file-mutation-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{file-mutation-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{file-mutation-53557ph1.js → reference-53557ph1.js} +0 -0
  707. /package/dist/chunks/{file-mutation-550bvhaj.js → reference-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{file-mutation-6prwharc.js → reference-6prwharc.js} +0 -0
  709. /package/dist/chunks/{file-mutation-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{file-mutation-7m9af43g.js → reference-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{file-mutation-822emrt2.js → reference-822emrt2.js} +0 -0
  712. /package/dist/chunks/{file-mutation-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{file-mutation-8n3pysct.js → reference-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{file-mutation-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{file-mutation-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{file-mutation-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{file-mutation-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{file-mutation-af5trqkr.js → reference-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{file-mutation-afrmfg78.js → reference-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{file-mutation-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{file-mutation-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{file-mutation-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{file-mutation-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{file-mutation-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{file-mutation-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{file-mutation-d9fn303g.js → reference-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{file-mutation-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{file-mutation-dajrwvna.js → reference-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{file-mutation-dap0rakb.js → reference-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{file-mutation-df08tz66.js → reference-df08tz66.js} +0 -0
  731. /package/dist/chunks/{file-mutation-dy18nga0.js → reference-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{file-mutation-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{file-mutation-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{file-mutation-ec1grn59.js → reference-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{file-mutation-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{file-mutation-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{file-mutation-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{file-mutation-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{file-mutation-faypxj3z.js → reference-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{file-mutation-fd410y7t.js → reference-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{file-mutation-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{file-mutation-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{file-mutation-g86h250q.js → reference-g86h250q.js} +0 -0
  744. /package/dist/chunks/{file-mutation-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{file-mutation-gftt206x.js → reference-gftt206x.js} +0 -0
  746. /package/dist/chunks/{file-mutation-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{file-mutation-hk9envan.js → reference-hk9envan.js} +0 -0
  748. /package/dist/chunks/{file-mutation-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{file-mutation-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{file-mutation-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{file-mutation-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{file-mutation-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{file-mutation-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{file-mutation-mp448xyj.js → reference-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{file-mutation-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{file-mutation-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{file-mutation-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{file-mutation-njntx4h6.js → reference-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{file-mutation-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{file-mutation-q74kybfr.js → reference-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{file-mutation-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{file-mutation-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{file-mutation-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{file-mutation-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{file-mutation-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{file-mutation-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{file-mutation-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{file-mutation-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{file-mutation-w803qqfp.js → reference-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{file-mutation-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{file-mutation-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{file-mutation-wtztk69x.js → reference-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{file-mutation-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{file-mutation-x61499pn.js → reference-x61499pn.js} +0 -0
  775. /package/dist/chunks/{file-mutation-y44na4kk.js → reference-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{file-mutation-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{file-mutation-y8f7s663.js → reference-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{file-mutation-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{file-mutation-ym463w8f.js → reference-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{file-mutation-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{file-mutation-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-mutation-94qxd8wt.js";
4
+ } from "./reference-w36x1trb.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./file-mutation-s1gjyzhy.js";
8
+ } from "./reference-b5hvc6g6.js";
9
9
  import {
10
- Service60,
11
- node63
12
- } from "./file-mutation-93ygb5af.js";
10
+ Service43,
11
+ node45
12
+ } from "./reference-4mwpykj0.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./file-mutation-z5v4ffb3.js";
16
+ } from "./reference-z5v4ffb3.js";
17
17
  import {
18
- Service81,
19
- node85
20
- } from "./file-mutation-bygr0fca.js";
18
+ Service80,
19
+ node84
20
+ } from "./reference-hryntbm6.js";
21
21
  import {
22
22
  Ref4
23
- } from "./file-mutation-jcvj30yp.js";
23
+ } from "./reference-tbv9z12t.js";
24
24
  import {
25
- Service77,
26
- node81
27
- } from "./file-mutation-5qrrcsc2.js";
25
+ Service54,
26
+ node57
27
+ } from "./reference-tedbzwbh.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./file-mutation-gftt206x.js";
30
+ } from "./reference-gftt206x.js";
31
31
  import {
32
32
  NotFoundError9
33
- } from "./file-mutation-9kr929zm.js";
33
+ } from "./reference-brt5an88.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./file-mutation-ec1grn59.js";
36
+ } from "./reference-ec1grn59.js";
37
37
  import {
38
- Service57
39
- } from "./file-mutation-f73rjn58.js";
38
+ Service40
39
+ } from "./reference-2vs2nh1n.js";
40
40
  import {
41
- Service74,
42
- node78
43
- } from "./file-mutation-gbdpq833.js";
41
+ Service58,
42
+ node61
43
+ } from "./reference-5cqz128n.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service58,
48
- node61,
47
+ Service41,
48
+ node43,
49
49
  moveIDs2
50
- } from "./file-mutation-5cz6gggr.js";
50
+ } from "./reference-9707ta7n.js";
51
51
  import {
52
- Service56,
53
- node60
54
- } from "./file-mutation-0t7934bj.js";
52
+ Service39,
53
+ node42
54
+ } from "./reference-6n0c2nxw.js";
55
55
  import {
56
- node29
57
- } from "./file-mutation-180jb965.js";
56
+ node30
57
+ } from "./reference-rt8ggq5v.js";
58
58
  import {
59
59
  __export
60
- } from "./file-mutation-9rqn6x4v.js";
60
+ } from "./reference-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service25,
68
+ Service: () => Service26,
69
69
  SessionMove: () => exports_move,
70
- node: () => node28
70
+ node: () => node29
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,17 +83,17 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service25 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service26 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service25, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service81;
92
- const locations = yield* Service77;
93
- const store = yield* Service74;
94
- const execution = yield* Service56;
95
- const instances = yield* Service60;
96
- const admission = yield* Service58;
91
+ const projects = yield* Service80;
92
+ const locations = yield* Service54;
93
+ const store = yield* Service58;
94
+ const execution = yield* Service39;
95
+ const instances = yield* Service43;
96
+ const admission = yield* Service41;
97
97
  const database = yield* Service84;
98
98
  const bus = yield* Service83;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service57.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service40.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service25.of({
136
+ return Service26.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node28 = makeGlobalNode({
167
- service: Service25,
166
+ var node29 = makeGlobalNode({
167
+ service: Service26,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node85,
173
- node81,
174
- node78,
175
- node60,
176
- node63,
172
+ node84,
173
+ node57,
177
174
  node61,
175
+ node42,
176
+ node45,
177
+ node43,
178
178
  node88,
179
179
  node87,
180
- node29
180
+ node30
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node28, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service26, node29, exports_move };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service72
3
- } from "./file-mutation-6136cgh5.js";
2
+ Service57
3
+ } from "./reference-q0a6wh5g.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./file-mutation-4vcrnpx2.js";
7
+ } from "./reference-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./file-mutation-3v8g72cx.js";
10
+ } from "./reference-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./file-mutation-9rqn6x4v.js";
13
+ } from "./reference-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input11,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
19
+ Input: () => Input8,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin48,
22
+ Plugin: () => Plugin28,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description5,
25
+ description: () => description3,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name11
27
+ name: () => name8
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name11 = "webfetch";
34
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
33
+ var name8 = "webfetch";
34
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input11 = Schema.Struct({
41
+ var Input8 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input11 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input11.fields.format,
51
+ format: Input8.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin48 = {
95
+ var Plugin28 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service72;
99
+ const permission = yield* Service57;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name11,
101
+ name: name8,
102
102
  options: { codemode: false },
103
- description: description5,
104
- input: Input11,
103
+ description: description3,
104
+ input: Input8,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin48 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name11,
112
+ action: name8,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name11, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin48, extractTextFromHTML2, exports_webfetch };
170
+ export { name8, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input8, Plugin28, extractTextFromHTML2, exports_webfetch };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./file-mutation-3w5fmr99.js";
4
+ } from "./reference-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./file-mutation-m3fdjcah.js";
8
+ } from "./reference-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./file-mutation-9rqn6x4v.js";
11
+ } from "./reference-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-z5v4ffb3.js";
3
+ } from "./reference-z5v4ffb3.js";
4
4
  import {
5
- Service80
6
- } from "./file-mutation-jcvj30yp.js";
5
+ Service79
6
+ } from "./reference-tbv9z12t.js";
7
7
  import {
8
- Service43
9
- } from "./file-mutation-47qpzrds.js";
8
+ Service64
9
+ } from "./reference-1tdshpj3.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./file-mutation-2sq0rgeb.js";
13
+ } from "./reference-ydm7tw01.js";
14
14
  import {
15
15
  observe2
16
- } from "./file-mutation-qsdy395h.js";
16
+ } from "./reference-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./file-mutation-9rqn6x4v.js";
19
+ } from "./reference-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin9
25
+ Plugin: () => Plugin16
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin9 = define({
31
+ var Plugin16 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service43;
35
- const location = yield* Service80;
34
+ const config = yield* Service64;
35
+ const location = yield* Service79;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin9, exports_reference };
75
+ export { Plugin16, exports_reference };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./file-mutation-gqtdsdt7.js";
3
+ } from "./reference-addxnjmp.js";
4
4
  import {
5
5
  Service83
6
- } from "./file-mutation-s1gjyzhy.js";
6
+ } from "./reference-b5hvc6g6.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./file-mutation-pwk6y6g7.js";
9
+ Event19
10
+ } from "./reference-h26940z0.js";
11
11
  import {
12
- ID8,
12
+ ID14,
13
13
  MethodID2
14
- } from "./file-mutation-j8k9xj39.js";
14
+ } from "./reference-r9zdjfxd.js";
15
15
  import {
16
- ID7,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service66
20
- } from "./file-mutation-77hgjsk3.js";
19
+ Service75
20
+ } from "./reference-33vkvr6x.js";
21
21
  import {
22
- ID6
23
- } from "./file-mutation-awnyytxj.js";
22
+ ID12
23
+ } from "./reference-d5m53j50.js";
24
24
  import {
25
25
  load3,
26
26
  derive3
27
- } from "./file-mutation-w48dyk57.js";
27
+ } from "./reference-4tbp73he.js";
28
28
  import {
29
29
  useragent2
30
- } from "./file-mutation-7q62a8nt.js";
30
+ } from "./reference-5w6ne2rj.js";
31
31
  import {
32
- ID14
33
- } from "./file-mutation-wjmj7svf.js";
32
+ ID11
33
+ } from "./reference-mzw9gwxy.js";
34
34
  import {
35
35
  get5
36
- } from "./file-mutation-54ma36ye.js";
36
+ } from "./reference-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID8.make("github-copilot"),
68
+ integrationID: ID14.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,7 +163,7 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service66;
166
+ const providers = yield* Service75;
167
167
  const bus = yield* Service83;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID7.githubCopilot);
183
+ const provider = yield* providers.get(ID13.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
185
  try: () => load3(url, {
186
186
  ...provider?.headers,
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID7.githubCopilot);
205
+ const item = evt.get(ID13.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
222
222
  }
223
223
  });
224
224
  yield* ctx.model.transform((models) => {
225
- if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
226
- models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
225
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
226
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
227
227
  model.enabled = false;
228
228
  });
229
229
  }
230
230
  });
231
231
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
232
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
232
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
233
233
  yield* refresh().pipe(Effect.forkScoped);
234
234
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
235
- if (evt.model.providerID !== ID7.githubCopilot)
235
+ if (evt.model.providerID !== ID13.githubCopilot)
236
236
  return;
237
237
  if (evt.package !== "@ai-sdk/github-copilot")
238
238
  return;
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
241
241
  evt.sdk = mod.createOpenaiCompatible(evt.options);
242
242
  }));
243
243
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
244
- if (evt.model.providerID !== ID7.githubCopilot)
244
+ if (evt.model.providerID !== ID13.githubCopilot)
245
245
  return;
246
246
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
247
247
  return;
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
251
251
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
252
252
  if (interaction !== "conversation-agent")
253
253
  evt.headers["x-initiator"] = "agent";
254
- }), { providerID: ID7.githubCopilot });
254
+ }), { providerID: ID13.githubCopilot });
255
255
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
256
- if (evt.model.providerID !== ID7.githubCopilot)
256
+ if (evt.model.providerID !== ID13.githubCopilot)
257
257
  return;
258
258
  if (!loaded.baseURL || !loaded.token || !loaded.models)
259
259
  return;
260
- const agent = yield* ctx.agent.get({ agentID: ID14.make("title") }).pipe(Effect.orElseSucceed(() => {
260
+ const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
261
261
  return;
262
262
  }));
263
263
  if (agent?.data.model)
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
268
268
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
- }), { providerID: ID7.githubCopilot });
271
+ }), { providerID: ID13.githubCopilot });
272
272
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
273
- if (evt.model.providerID !== ID7.githubCopilot)
273
+ if (evt.model.providerID !== ID13.githubCopilot)
274
274
  return;
275
275
  const token = evt.request.headers.get("x-api-key");
276
276
  if (!token)
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
278
278
  const text = yield* Effect.promise(() => evt.request.clone().text());
279
279
  const body = Option.getOrUndefined(decodeBody(text));
280
280
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
281
- }), { providerID: ID7.githubCopilot });
281
+ }), { providerID: ID13.githubCopilot });
282
282
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
283
- if (evt.model.providerID !== ID7.githubCopilot)
283
+ if (evt.model.providerID !== ID13.githubCopilot)
284
284
  return;
285
285
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
286
286
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-mutation-s1gjyzhy.js";
4
+ } from "./reference-b5hvc6g6.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./file-mutation-84txncab.js";
11
+ } from "./reference-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./file-mutation-z5v4ffb3.js";
14
+ } from "./reference-z5v4ffb3.js";
15
15
  import {
16
- Service39,
17
- node42
18
- } from "./file-mutation-7tt1yyek.js";
16
+ Service71,
17
+ node74
18
+ } from "./reference-aen5yss8.js";
19
19
  import {
20
20
  create3
21
- } from "./file-mutation-rdw6cm16.js";
21
+ } from "./reference-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./file-mutation-9rqn6x4v.js";
24
+ } from "./reference-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event7,
29
+ Event: () => Event13,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info6,
31
+ Info: () => Info19,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service38,
35
- Source: () => Source3,
36
- node: () => node41
34
+ Service: () => Service70,
35
+ Source: () => Source5,
36
+ node: () => node73
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 Event7 } from "@opencode/schema/reference";
42
+ import { Event as Event13 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
46
- var Info6 = Reference.Info;
45
+ var Source5 = Reference.Source;
46
+ var Info19 = Reference.Info;
47
47
 
48
- class Service38 extends Context.Service()("@opencode/Reference") {
48
+ class Service70 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service38, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service83;
53
- const cache = yield* Service39;
53
+ const cache = yield* Service71;
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(Service38, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info6.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(Service38, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info6.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(Service38, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service38.of({
107
+ return Service70.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(Service38, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node41 = makeLocationNode({
116
- service: Service38,
115
+ var node73 = makeLocationNode({
116
+ service: Service70,
117
117
  layer,
118
- deps: [Global.node, node87, node42]
118
+ deps: [Global.node, node87, node74]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info6, Service38, node41, exports_reference2, Event7 };
121
+ export { LocalSource2, GitSource2, Source5, Info19, Service70, node73, exports_reference2, Event13 };