@opencode/core 0.0.0-dev-19710 → 0.0.0-dev-19711

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{integration-ze3my9xb.js → worktree-0230e1kb.js} +7 -7
  8. package/dist/chunks/{integration-036p5t1s.js → worktree-0en0hh3r.js} +4 -4
  9. package/dist/chunks/{integration-8m62krp8.js → worktree-0hpyxh65.js} +32 -32
  10. package/dist/chunks/{integration-kp8q1t60.js → worktree-0jq9fyba.js} +9 -9
  11. package/dist/chunks/{integration-2k8khapm.js → worktree-0jwsre1p.js} +5 -5
  12. package/dist/chunks/{integration-vfwezysy.js → worktree-0npqrrz9.js} +3 -3
  13. package/dist/chunks/{integration-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{integration-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{integration-dfe8djrf.js → worktree-0v53mg2y.js} +4 -4
  16. package/dist/chunks/{integration-k6me36ee.js → worktree-0xm04epx.js} +32 -32
  17. package/dist/chunks/{integration-97p40ssa.js → worktree-0y8zxexa.js} +9 -9
  18. package/dist/chunks/{integration-38dcbtyf.js → worktree-1010tx7k.js} +4 -4
  19. package/dist/chunks/{integration-e0zdfgpc.js → worktree-170wnync.js} +11 -11
  20. package/dist/chunks/{integration-q2jz15ea.js → worktree-17996mr8.js} +48 -48
  21. package/dist/chunks/{integration-zhq6vg7a.js → worktree-19w9qk9n.js} +1 -1
  22. package/dist/chunks/{integration-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{integration-vhr1vhg9.js → worktree-1ezrspvn.js} +12 -12
  24. package/dist/chunks/{integration-6efrd1bz.js → worktree-1mayy0ne.js} +11 -11
  25. package/dist/chunks/{integration-1gsc2sjq.js → worktree-1t3e0y0p.js} +30 -30
  26. package/dist/chunks/{integration-0wf2tqk0.js → worktree-2018kd55.js} +25 -25
  27. package/dist/chunks/{integration-5e30vc75.js → worktree-20djd28m.js} +30 -30
  28. package/dist/chunks/{integration-21r38tys.js → worktree-21r38tys.js} +1 -1
  29. package/dist/chunks/{integration-nrcejn5p.js → worktree-24afheyq.js} +64 -64
  30. package/dist/chunks/{integration-eq20eqwv.js → worktree-2844r4n4.js} +9 -9
  31. package/dist/chunks/{integration-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{integration-wq70x3f2.js → worktree-2dbhpjrh.js} +11 -11
  33. package/dist/chunks/{integration-ngw33wy2.js → worktree-2ecm7k5x.js} +16 -16
  34. package/dist/chunks/{integration-rtfv33p7.js → worktree-2hn9d9f8.js} +21 -21
  35. package/dist/chunks/{integration-1rq7khgm.js → worktree-2hszhs49.js} +5 -5
  36. package/dist/chunks/{integration-0v7gp0te.js → worktree-2t4v8nsv.js} +175 -175
  37. package/dist/chunks/{integration-h0g5brtk.js → worktree-2zfaeqj9.js} +18 -18
  38. package/dist/chunks/{integration-qz3twj3m.js → worktree-34gxdjay.js} +11 -11
  39. package/dist/chunks/{integration-evbgk2k8.js → worktree-37s12vcn.js} +5 -5
  40. package/dist/chunks/{integration-s4rfjbhr.js → worktree-38a6tnxe.js} +27 -27
  41. package/dist/chunks/{integration-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{integration-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{integration-pbtfs0fk.js → worktree-3rcc0r2v.js} +44 -44
  44. package/dist/chunks/{integration-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{integration-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{integration-xcq5wtpt.js → worktree-3v1n839j.js} +29 -29
  47. package/dist/chunks/{integration-58rmb8nn.js → worktree-3z1ybf3s.js} +10 -10
  48. package/dist/chunks/worktree-3z6f7pb8.js +65 -0
  49. package/dist/chunks/{integration-1grerm3k.js → worktree-3zwsa50c.js} +11 -11
  50. package/dist/chunks/{integration-bd2xdacg.js → worktree-43xg0xp9.js} +6 -6
  51. package/dist/chunks/{integration-h6r3nrb9.js → worktree-4dgbcxzg.js} +4 -4
  52. package/dist/chunks/{integration-20sd5k6h.js → worktree-4ea00b8w.js} +15 -15
  53. package/dist/chunks/{integration-ys3hhbzx.js → worktree-4kb8nfbq.js} +20 -20
  54. package/dist/chunks/{integration-wwgzd70h.js → worktree-4mg2myvn.js} +22 -22
  55. package/dist/chunks/{integration-gj2gcseg.js → worktree-4nep509d.js} +10 -10
  56. package/dist/chunks/{integration-68tc3g1n.js → worktree-4t2g0ek8.js} +42 -42
  57. package/dist/chunks/{integration-yd22jjp7.js → worktree-4zzvgtjt.js} +20 -20
  58. package/dist/chunks/{integration-rjs4w6st.js → worktree-5089mcsz.js} +18 -18
  59. package/dist/chunks/{integration-g190xswt.js → worktree-50mzsvk4.js} +4 -4
  60. package/dist/chunks/{integration-aamtrqep.js → worktree-57ez7d0k.js} +9 -9
  61. package/dist/chunks/{integration-beb887a4.js → worktree-58ymd9wj.js} +11 -11
  62. package/dist/chunks/{integration-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  63. package/dist/chunks/{integration-bvntf8rg.js → worktree-5df007sy.js} +22 -22
  64. package/dist/chunks/{integration-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{integration-3pm9bks8.js → worktree-5za9a44f.js} +3 -3
  66. package/dist/chunks/{integration-svf3t0g9.js → worktree-63czgv3m.js} +30 -30
  67. package/dist/chunks/{integration-n34s70pn.js → worktree-65h9d7h0.js} +14 -14
  68. package/dist/chunks/{integration-669tq793.js → worktree-669tq793.js} +1 -1
  69. package/dist/chunks/{integration-jkfbzspm.js → worktree-67tsegz1.js} +8 -8
  70. package/dist/chunks/{integration-2402vzrj.js → worktree-6h73sxmp.js} +5 -5
  71. package/dist/chunks/{integration-6fv08nd3.js → worktree-6hk05hg4.js} +55 -55
  72. package/dist/chunks/{integration-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  73. package/dist/chunks/worktree-6r3amyyd.js +4 -0
  74. package/dist/chunks/{integration-hq1qm27k.js → worktree-6s7tjjvr.js} +35 -35
  75. package/dist/chunks/{integration-em6yeas4.js → worktree-6xkw5tt3.js} +8 -8
  76. package/dist/chunks/{integration-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{integration-9n16tggd.js → worktree-7de2s2df.js} +11 -11
  78. package/dist/chunks/{integration-177enxgr.js → worktree-7h1yv2z1.js} +28 -28
  79. package/dist/chunks/{integration-5d5383gp.js → worktree-7j92jdde.js} +4 -4
  80. package/dist/chunks/{integration-c3cy3464.js → worktree-7k1xdcvp.js} +17 -17
  81. package/dist/chunks/{integration-5vr8b22m.js → worktree-7k3pveqf.js} +12 -12
  82. package/dist/chunks/{integration-qa3qhgw8.js → worktree-7sbkp4xb.js} +4 -4
  83. package/dist/chunks/{integration-bepjw9yn.js → worktree-7sp2vdb0.js} +7 -7
  84. package/dist/chunks/{integration-bpbjfb9b.js → worktree-7tg4tqbg.js} +9 -9
  85. package/dist/chunks/{integration-jexxy024.js → worktree-7xmz7frw.js} +3 -3
  86. package/dist/chunks/{integration-5c0f1prt.js → worktree-81czwxpn.js} +4 -4
  87. package/dist/chunks/{integration-k1gvekgg.js → worktree-83dcqrsd.js} +30 -30
  88. package/dist/chunks/{integration-89znhe33.js → worktree-89znhe33.js} +1 -1
  89. package/dist/chunks/{integration-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{integration-m5vjhj8j.js → worktree-8g6scpm2.js} +3 -3
  91. package/dist/chunks/{integration-8p4f9s12.js → worktree-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{integration-jjx8nex0.js → worktree-8zjetqqg.js} +24 -24
  93. package/dist/chunks/{integration-a3r4dcrj.js → worktree-90b858qz.js} +2 -2
  94. package/dist/chunks/{integration-8p3jdhrw.js → worktree-91zq4d2j.js} +15 -15
  95. package/dist/chunks/{integration-5vewfdfe.js → worktree-9jysh8tn.js} +28 -28
  96. package/dist/chunks/worktree-9pb540j7.js +26 -0
  97. package/dist/chunks/{integration-r5vp9y24.js → worktree-9qzpdwkp.js} +5 -5
  98. package/dist/chunks/{integration-fz7v89dg.js → worktree-9rqqtf5r.js} +13 -13
  99. package/dist/chunks/{integration-a1bz86dw.js → worktree-a1bz86dw.js} +3 -3
  100. package/dist/chunks/{integration-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  101. package/dist/chunks/{integration-hy0bh2cv.js → worktree-ad58ka5n.js} +43 -43
  102. package/dist/chunks/{integration-d2aac7k2.js → worktree-af04s6ss.js} +5 -5
  103. package/dist/chunks/{integration-65j9yajg.js → worktree-afnx0wnx.js} +47 -47
  104. package/dist/chunks/{integration-fa5vrs7t.js → worktree-av68cqnf.js} +33 -33
  105. package/dist/chunks/{integration-g417z324.js → worktree-b01jnyv4.js} +31 -31
  106. package/dist/chunks/{integration-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{integration-nwk86703.js → worktree-b7krtsvq.js} +51 -51
  108. package/dist/chunks/{integration-hfdr1yjj.js → worktree-bajakh74.js} +4 -4
  109. package/dist/chunks/{integration-mn7g0fj4.js → worktree-bfh368mz.js} +31 -31
  110. package/dist/chunks/{integration-nkqjxf7y.js → worktree-bfrw9c16.js} +11 -11
  111. package/dist/chunks/{integration-2ehxpneg.js → worktree-bkdff2qy.js} +12 -12
  112. package/dist/chunks/{integration-gnvk75y5.js → worktree-bthbky82.js} +23 -23
  113. package/dist/chunks/{integration-3daac4ec.js → worktree-c0szj6gh.js} +8 -8
  114. package/dist/chunks/{integration-fy8e00qg.js → worktree-c2r7a6ev.js} +22 -22
  115. package/dist/chunks/{integration-bbcx7f9q.js → worktree-c8g19qcp.js} +26 -26
  116. package/dist/chunks/{integration-ykzpy18q.js → worktree-caaa7gb9.js} +13 -13
  117. package/dist/chunks/{integration-bvapxesr.js → worktree-caf4s13y.js} +6 -6
  118. package/dist/chunks/{integration-mm8erg11.js → worktree-cbsmg7zv.js} +9 -9
  119. package/dist/chunks/{integration-8jg8ek5x.js → worktree-cdea582g.js} +17 -17
  120. package/dist/chunks/{integration-cfpkc3c9.js → worktree-cfpkc3c9.js} +2 -2
  121. package/dist/chunks/{integration-z04d3x8e.js → worktree-cj605r6v.js} +4 -4
  122. package/dist/chunks/{integration-rey5gbxv.js → worktree-cwa6csj7.js} +9 -9
  123. package/dist/chunks/{integration-jvcsw0eb.js → worktree-d380kj32.js} +11 -11
  124. package/dist/chunks/{integration-ybhbtxjg.js → worktree-d5wtg2df.js} +6 -6
  125. package/dist/chunks/{integration-2tb6fqrv.js → worktree-d6z8az9q.js} +13 -13
  126. package/dist/chunks/{integration-gb08tagh.js → worktree-d7ehg0cy.js} +11 -11
  127. package/dist/chunks/{integration-wdk8b0jw.js → worktree-dnepjbkk.js} +17 -17
  128. package/dist/chunks/{integration-231knzcm.js → worktree-dnkx6etr.js} +35 -35
  129. package/dist/chunks/{integration-drwq78ky.js → worktree-drwq78ky.js} +1 -1
  130. package/dist/chunks/{integration-86me6zzc.js → worktree-e11m5cn3.js} +19 -19
  131. package/dist/chunks/{integration-4q64j22s.js → worktree-e5kbttzp.js} +18 -18
  132. package/dist/chunks/{integration-rp8jz6x1.js → worktree-e6hd9jay.js} +4 -4
  133. package/dist/chunks/{integration-9k3sg66h.js → worktree-e70fzpwb.js} +35 -35
  134. package/dist/chunks/{integration-1dq8jzyn.js → worktree-eaerxtz5.js} +2 -2
  135. package/dist/chunks/{integration-4evxzfd7.js → worktree-ebqt6dkv.js} +95 -95
  136. package/dist/chunks/{integration-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{integration-k6wrbde1.js → worktree-efswfzpf.js} +23 -23
  138. package/dist/chunks/{integration-vv290ek6.js → worktree-efyxdhp4.js} +24 -24
  139. package/dist/chunks/{integration-ejn9vktr.js → worktree-ej2x38fw.js} +16 -16
  140. package/dist/chunks/{integration-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{integration-7rce4ag1.js → worktree-ezy28dwm.js} +11 -11
  142. package/dist/chunks/{integration-wej2e5j2.js → worktree-f2497b3s.js} +25 -25
  143. package/dist/chunks/{integration-1mvse44m.js → worktree-f5jkzqkr.js} +5 -5
  144. package/dist/chunks/{integration-f828m53h.js → worktree-f828m53h.js} +2 -2
  145. package/dist/chunks/{integration-rc200j0g.js → worktree-f8520a7c.js} +6 -6
  146. package/dist/chunks/{integration-3pe7sts8.js → worktree-fhs97t90.js} +9 -9
  147. package/dist/chunks/{integration-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{integration-2svdb8be.js → worktree-g3happs1.js} +301 -301
  149. package/dist/chunks/{integration-zfs2vqh8.js → worktree-g9b0yvmz.js} +17 -17
  150. package/dist/chunks/{integration-pp90atm6.js → worktree-gcp4fqq7.js} +30 -30
  151. package/dist/chunks/{integration-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{integration-0tmgye68.js → worktree-gr1f03ws.js} +9 -9
  153. package/dist/chunks/{integration-wqg02fh2.js → worktree-grff790k.js} +11 -11
  154. package/dist/chunks/{integration-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/worktree-gyce5qg1.js +18 -0
  156. package/dist/chunks/{integration-h03wrkyp.js → worktree-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{integration-y12ar3nc.js → worktree-h3jg7y6c.js} +9 -9
  158. package/dist/chunks/{integration-73w3apwg.js → worktree-h55255v8.js} +21 -21
  159. package/dist/chunks/{integration-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{integration-0zjhxtck.js → worktree-h6zkevjm.js} +8 -8
  161. package/dist/chunks/{integration-b5p2j6p0.js → worktree-h82mr5fe.js} +87 -87
  162. package/dist/chunks/{integration-mvdf8d0b.js → worktree-hfqbnt06.js} +25 -25
  163. package/dist/chunks/{integration-pcbvmd8f.js → worktree-hhv32xm1.js} +12 -12
  164. package/dist/chunks/{integration-z4bwa3qe.js → worktree-hptad3cj.js} +8 -8
  165. package/dist/chunks/{integration-43bw3pmb.js → worktree-hrmdcqyf.js} +11 -11
  166. package/dist/chunks/{integration-bw9zjykr.js → worktree-hwe7x4em.js} +6 -6
  167. package/dist/chunks/{integration-8bqxprts.js → worktree-hx07tmjt.js} +35 -35
  168. package/dist/chunks/{integration-z9cechv3.js → worktree-hyp0yes1.js} +21 -21
  169. package/dist/chunks/{integration-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  170. package/dist/chunks/{integration-k3c624dm.js → worktree-k3c624dm.js} +3 -3
  171. package/dist/chunks/{integration-e07jsa65.js → worktree-k3fznmea.js} +17 -17
  172. package/dist/chunks/{integration-k3gnzxs0.js → worktree-k3gnzxs0.js} +2 -2
  173. package/dist/chunks/{integration-5tabw72p.js → worktree-k5jjawww.js} +4 -4
  174. package/dist/chunks/{integration-0sh1nr9y.js → worktree-kdnytvmd.js} +4 -4
  175. package/dist/chunks/{integration-aqex15s7.js → worktree-kf58x7p8.js} +18 -18
  176. package/dist/chunks/{integration-mpbpxyqm.js → worktree-kf7vjh8k.js} +27 -27
  177. package/dist/chunks/{integration-0ejpa9z4.js → worktree-kh3vq3v6.js} +21 -21
  178. package/dist/chunks/{integration-npfcha2j.js → worktree-kkysd6gj.js} +8 -8
  179. package/dist/chunks/{integration-fkjmw100.js → worktree-knb7evpn.js} +6 -6
  180. package/dist/chunks/{integration-zee1rnkq.js → worktree-kne8f3cn.js} +4 -4
  181. package/dist/chunks/{integration-3nd13y92.js → worktree-ksztttm6.js} +4 -4
  182. package/dist/chunks/{integration-tsj15wq9.js → worktree-kwpf6cbb.js} +10 -10
  183. package/dist/chunks/{integration-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{integration-a79cn4dv.js → worktree-m3sr29v9.js} +26 -26
  185. package/dist/chunks/{integration-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{integration-5b66h8r4.js → worktree-mc9zg8nb.js} +19 -19
  187. package/dist/chunks/{integration-tdk79w0v.js → worktree-md16tndp.js} +5 -5
  188. package/dist/chunks/{integration-mfqp6xfm.js → worktree-mfqp6xfm.js} +2 -2
  189. package/dist/chunks/{integration-mvfsc1pv.js → worktree-mhkvc446.js} +3 -3
  190. package/dist/chunks/{integration-3mdxeew8.js → worktree-mjryszr1.js} +40 -40
  191. package/dist/chunks/{integration-dbvre6p0.js → worktree-mpm0nhxe.js} +1 -1
  192. package/dist/chunks/{integration-7fyhb82m.js → worktree-mq9b79x9.js} +5 -5
  193. package/dist/chunks/{integration-jyap2m5y.js → worktree-n1se7dz6.js} +5 -5
  194. package/dist/chunks/{integration-pc872h1m.js → worktree-n2rqx0tz.js} +22 -22
  195. package/dist/chunks/{integration-gk9qjeyz.js → worktree-n68akk4h.js} +6 -6
  196. package/dist/chunks/{integration-818pfwc9.js → worktree-nbzsj80d.js} +8 -8
  197. package/dist/chunks/{integration-r3490575.js → worktree-npt9980d.js} +23 -23
  198. package/dist/chunks/{integration-eys57y9b.js → worktree-p37cw4rj.js} +8 -8
  199. package/dist/chunks/{integration-ywe2m5gj.js → worktree-p8ghq9hh.js} +4 -4
  200. package/dist/chunks/{integration-31mppqh5.js → worktree-phcx6ke7.js} +24 -24
  201. package/dist/chunks/{integration-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{integration-pknna89w.js → worktree-pknna89w.js} +1 -1
  203. package/dist/chunks/{integration-ypb6hbzx.js → worktree-pqkgg4rt.js} +9 -9
  204. package/dist/chunks/{integration-p9gzpnzn.js → worktree-prvhm99j.js} +18 -18
  205. package/dist/chunks/{integration-6kqbn47c.js → worktree-py26wd2m.js} +11 -11
  206. package/dist/chunks/{integration-m9dbm90w.js → worktree-q8y36nbv.js} +32 -32
  207. package/dist/chunks/{integration-g5vga603.js → worktree-q980a1ys.js} +17 -17
  208. package/dist/chunks/{integration-b0nxs32q.js → worktree-qa8hdfea.js} +8 -8
  209. package/dist/chunks/{integration-5nz6ax1n.js → worktree-qc6a7nr8.js} +18 -18
  210. package/dist/chunks/{integration-csec10jd.js → worktree-qepg3hej.js} +19 -19
  211. package/dist/chunks/{integration-pz7qgrhk.js → worktree-qg87rn1s.js} +8 -8
  212. package/dist/chunks/{integration-y8pjebad.js → worktree-qj9fam2n.js} +13 -13
  213. package/dist/chunks/{integration-repb58am.js → worktree-qk0gpxf2.js} +8 -8
  214. package/dist/chunks/{integration-qn4ba14w.js → worktree-qn4ba14w.js} +2 -2
  215. package/dist/chunks/{integration-7gmh2wfv.js → worktree-qnmg5nvf.js} +47 -47
  216. package/dist/chunks/{integration-h3a5bynx.js → worktree-qpz1kkwg.js} +72 -72
  217. package/dist/chunks/{integration-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  218. package/dist/chunks/{integration-m9wy7qrr.js → worktree-qsxf26yz.js} +4 -4
  219. package/dist/chunks/{integration-m0p0vxaq.js → worktree-r1zfwvff.js} +12 -12
  220. package/dist/chunks/{integration-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  221. package/dist/chunks/worktree-rhs8pca3.js +252 -0
  222. package/dist/chunks/{integration-00x4qneg.js → worktree-rmdyxgmk.js} +8 -8
  223. package/dist/chunks/{integration-p44z6ga6.js → worktree-rnx68x6k.js} +4 -4
  224. package/dist/chunks/{integration-wbx2513r.js → worktree-rq8k8p5a.js} +25 -25
  225. package/dist/chunks/{integration-7wmyjdq5.js → worktree-rrdqyp65.js} +17 -17
  226. package/dist/chunks/{integration-59zmnph4.js → worktree-rsss4qf7.js} +11 -11
  227. package/dist/chunks/{integration-bda137kz.js → worktree-rtw8xa1t.js} +1 -1
  228. package/dist/chunks/{integration-mnv40ja6.js → worktree-rzs6nh5d.js} +23 -23
  229. package/dist/chunks/{integration-qmf9b8yn.js → worktree-s0443v51.js} +34 -34
  230. package/dist/chunks/{integration-7atgh4d8.js → worktree-sfswfqfx.js} +22 -22
  231. package/dist/chunks/{integration-dyvybp4g.js → worktree-spnnfxkd.js} +9 -9
  232. package/dist/chunks/{integration-07afz3z6.js → worktree-sq6g32t3.js} +3 -3
  233. package/dist/chunks/{integration-ad16xee0.js → worktree-svt8q2xz.js} +41 -41
  234. package/dist/chunks/{integration-ts1a4cmw.js → worktree-t05795gg.js} +16 -16
  235. package/dist/chunks/{integration-s8d7rejh.js → worktree-t550f9t1.js} +4 -4
  236. package/dist/chunks/{integration-a6z4j4k6.js → worktree-ta5sp2nd.js} +12 -12
  237. package/dist/chunks/{integration-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{integration-tdstcens.js → worktree-tdstcens.js} +1 -1
  239. package/dist/chunks/{integration-4w5f3qm5.js → worktree-thjxzeng.js} +8 -8
  240. package/dist/chunks/{integration-s6kmca70.js → worktree-tmmgzrnt.js} +15 -15
  241. package/dist/chunks/{integration-wzntpgpt.js → worktree-tmqffpxk.js} +48 -48
  242. package/dist/chunks/{integration-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  243. package/dist/chunks/{integration-3j12nn08.js → worktree-v057vym3.js} +33 -33
  244. package/dist/chunks/{integration-s1vqdbhv.js → worktree-v4881naz.js} +36 -36
  245. package/dist/chunks/{integration-zxahscqd.js → worktree-vbcd8shf.js} +5 -5
  246. package/dist/chunks/{integration-4nyxymxc.js → worktree-vdenjeyk.js} +10 -10
  247. package/dist/chunks/{integration-hk4abz9t.js → worktree-vdrskp9d.js} +23 -23
  248. package/dist/chunks/{integration-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  249. package/dist/chunks/{integration-1g783q47.js → worktree-vpwtksfj.js} +22 -22
  250. package/dist/chunks/{integration-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{integration-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{integration-yxvydm2y.js → worktree-w59x44tx.js} +13 -13
  253. package/dist/chunks/{integration-wd87259q.js → worktree-wd87259q.js} +1 -1
  254. package/dist/chunks/{integration-wz5tj16h.js → worktree-wr7ps67x.js} +5 -5
  255. package/dist/chunks/{integration-kadzdddt.js → worktree-wvesw99d.js} +4 -4
  256. package/dist/chunks/{integration-e9fp0pfc.js → worktree-x1a42kg1.js} +9 -9
  257. package/dist/chunks/{integration-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{integration-j5f9ftm1.js → worktree-x1k3d8vr.js} +5 -5
  259. package/dist/chunks/{integration-gqe03ern.js → worktree-x5cfpxw5.js} +43 -43
  260. package/dist/chunks/{integration-9njw1pbg.js → worktree-x5sjtarf.js} +19 -19
  261. package/dist/chunks/{integration-jqgpz7cn.js → worktree-x7cagxvm.js} +37 -37
  262. package/dist/chunks/{integration-khdb1k9v.js → worktree-xbkhyrvs.js} +3 -3
  263. package/dist/chunks/{integration-50635kd6.js → worktree-xcgm0ws5.js} +14 -14
  264. package/dist/chunks/{integration-0z6w7vfv.js → worktree-xm1e10md.js} +12 -12
  265. package/dist/chunks/{integration-5y8n8k4h.js → worktree-xn2m3856.js} +5 -5
  266. package/dist/chunks/{integration-zhepfts0.js → worktree-xrv44ghv.js} +7 -7
  267. package/dist/chunks/{integration-hn951e2s.js → worktree-xs2gg3ph.js} +11 -11
  268. package/dist/chunks/{integration-vff0mh3b.js → worktree-xtzqjyy0.js} +6 -6
  269. package/dist/chunks/{integration-vte0rfzv.js → worktree-xwyqxccg.js} +46 -46
  270. package/dist/chunks/{integration-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{integration-znsgg7xb.js → worktree-y69j51hy.js} +13 -13
  272. package/dist/chunks/{integration-y71avatq.js → worktree-y71avatq.js} +1 -1
  273. package/dist/chunks/{integration-hj7a6ch5.js → worktree-ye6h68qm.js} +15 -15
  274. package/dist/chunks/{integration-r8xr0va3.js → worktree-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{integration-z8z657gb.js → worktree-yrb04hz8.js} +20 -20
  276. package/dist/chunks/{integration-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{integration-yrznvahk.js → worktree-yrznvahk.js} +2 -2
  278. package/dist/chunks/{integration-80scg3y3.js → worktree-z0aj456m.js} +4 -4
  279. package/dist/chunks/{integration-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{integration-z63w68vq.js → worktree-z63w68vq.js} +2 -2
  281. package/dist/chunks/{integration-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{integration-wp6sy7k7.js → worktree-zjd7s1bk.js} +15 -15
  283. package/dist/chunks/{integration-5bgttvnk.js → worktree-zpqb3spp.js} +3 -3
  284. package/dist/chunks/{integration-zq6stcrg.js → worktree-zq6stcrg.js} +2 -2
  285. package/dist/chunks/{integration-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{integration-sb9nptgk.js → worktree-zrhgkfkj.js} +35 -35
  287. package/dist/chunks/{integration-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +82 -82
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +124 -124
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +122 -122
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +141 -141
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +123 -123
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +121 -121
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +82 -82
  322. package/dist/database/database.js +69 -69
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +366 -366
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +73 -73
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +226 -226
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +105 -105
  427. package/dist/form.js +81 -81
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +96 -96
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +90 -90
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +357 -357
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +82 -82
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +134 -134
  465. package/dist/location-lifecycle.js +105 -105
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +88 -88
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +101 -101
  472. package/dist/mcp/instructions.js +127 -127
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +97 -97
  478. package/dist/model.js +101 -101
  479. package/dist/models-dev.js +106 -106
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +81 -81
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +110 -110
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +85 -85
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +5 -5
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +119 -119
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +119 -119
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +71 -71
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +138 -138
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +345 -345
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +118 -118
  546. package/dist/plugin/websearch/exa.js +3 -3
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +222 -222
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +89 -89
  557. package/dist/provider.js +98 -98
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +95 -95
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +90 -90
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +96 -96
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +133 -133
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +223 -223
  578. package/dist/session/execution.js +125 -125
  579. package/dist/session/generate.js +150 -150
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +89 -89
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +76 -76
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +5 -5
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +230 -230
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +113 -113
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +171 -171
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +74 -74
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +155 -155
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +222 -222
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +217 -217
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +15 -15
  623. package/dist/shell.js +139 -139
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +106 -106
  626. package/dist/skill.js +105 -105
  627. package/dist/snapshot.js +86 -86
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +124 -124
  632. package/dist/tool/plugin/edit.js +119 -119
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +113 -113
  635. package/dist/tool/plugin/grep.js +123 -123
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +121 -121
  638. package/dist/tool/plugin/question.js +102 -102
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +214 -214
  641. package/dist/tool/plugin/skill.js +110 -110
  642. package/dist/tool/plugin/subagent.js +218 -218
  643. package/dist/tool/plugin/webfetch.js +109 -109
  644. package/dist/tool/plugin/websearch.js +111 -111
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +16 -16
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/formatter.js +3 -3
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +3 -3
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +2 -2
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +92 -92
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +82 -82
  679. package/dist/websearch.js +79 -79
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +80 -80
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +95 -95
  690. package/package.json +8 -8
  691. package/dist/chunks/integration-4tq96d62.js +0 -252
  692. package/dist/chunks/integration-cvbhgv12.js +0 -65
  693. package/dist/chunks/integration-gbadjzag.js +0 -4
  694. package/dist/chunks/integration-gnc8cbnn.js +0 -26
  695. package/dist/chunks/integration-q509s3k3.js +0 -18
  696. /package/dist/chunks/{integration-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{integration-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{integration-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{integration-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{integration-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{integration-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{integration-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{integration-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{integration-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{integration-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{integration-3asan66x.js → worktree-3asan66x.js} +0 -0
  707. /package/dist/chunks/{integration-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{integration-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{integration-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{integration-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{integration-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{integration-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{integration-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{integration-53557ph1.js → worktree-53557ph1.js} +0 -0
  715. /package/dist/chunks/{integration-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{integration-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
  717. /package/dist/chunks/{integration-6prwharc.js → worktree-6prwharc.js} +0 -0
  718. /package/dist/chunks/{integration-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{integration-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{integration-822emrt2.js → worktree-822emrt2.js} +0 -0
  721. /package/dist/chunks/{integration-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{integration-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{integration-922hggd3.js → worktree-922hggd3.js} +0 -0
  724. /package/dist/chunks/{integration-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{integration-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{integration-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{integration-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{integration-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{integration-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{integration-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{integration-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{integration-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{integration-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{integration-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{integration-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{integration-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{integration-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{integration-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{integration-df08tz66.js → worktree-df08tz66.js} +0 -0
  740. /package/dist/chunks/{integration-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{integration-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{integration-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{integration-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{integration-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{integration-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{integration-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{integration-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{integration-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{integration-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{integration-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  751. /package/dist/chunks/{integration-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{integration-g86h250q.js → worktree-g86h250q.js} +0 -0
  753. /package/dist/chunks/{integration-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{integration-gftt206x.js → worktree-gftt206x.js} +0 -0
  755. /package/dist/chunks/{integration-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  756. /package/dist/chunks/{integration-hk9envan.js → worktree-hk9envan.js} +0 -0
  757. /package/dist/chunks/{integration-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{integration-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{integration-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{integration-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{integration-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{integration-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{integration-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{integration-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{integration-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{integration-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{integration-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{integration-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{integration-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{integration-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{integration-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{integration-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{integration-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{integration-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{integration-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{integration-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{integration-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  778. /package/dist/chunks/{integration-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{integration-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  780. /package/dist/chunks/{integration-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{integration-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{integration-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{integration-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{integration-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{integration-x61499pn.js → worktree-x61499pn.js} +0 -0
  786. /package/dist/chunks/{integration-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{integration-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  788. /package/dist/chunks/{integration-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{integration-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{integration-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{integration-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  latest2,
3
- Service50
4
- } from "./integration-vte0rfzv.js";
3
+ Service38
4
+ } from "./worktree-xwyqxccg.js";
5
5
  import {
6
6
  __export
7
- } from "./integration-9rqn6x4v.js";
7
+ } from "./worktree-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
@@ -22,7 +22,7 @@ var defaults = {
22
22
  var Plugin31 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service50;
25
+ const config = yield* Service38;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -1,17 +1,17 @@
1
1
  import {
2
- Ref3
3
- } from "./integration-zfs2vqh8.js";
2
+ Ref4
3
+ } from "./worktree-g9b0yvmz.js";
4
4
  import {
5
5
  __export
6
- } from "./integration-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service71,
12
+ Service: () => Service60,
13
13
  canonical: () => canonical3,
14
- node: () => node75,
14
+ node: () => node63,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service71 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service60 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service71, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service60, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node75 = LayerNode.unbound(Service71, Node.tags.values.global);
27
+ var node63 = LayerNode.unbound(Service60, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service71;
29
+ const locations = yield* Service60;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -39,10 +39,10 @@ var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
39
39
  yield* Effect.logInfo("location services reloaded", { count: refs.length });
40
40
  });
41
41
  function canonical3(ref) {
42
- return Ref3.make({
42
+ return Ref4.make({
43
43
  directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
44
44
  workspaceID: ref.workspaceID
45
45
  });
46
46
  }
47
47
 
48
- export { Service71, node75, reload2, canonical3, exports_location_service_map };
48
+ export { Service60, node63, reload2, canonical3, exports_location_service_map };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./integration-y71avatq.js";
3
+ } from "./worktree-y71avatq.js";
4
4
  import {
5
- Service82,
6
- node86
7
- } from "./integration-ngw33wy2.js";
5
+ Service79,
6
+ node83
7
+ } from "./worktree-2ecm7k5x.js";
8
8
  import {
9
- Event21,
10
- Service80,
11
- node84
12
- } from "./integration-qmf9b8yn.js";
9
+ Event18,
10
+ Service72,
11
+ node76
12
+ } from "./worktree-s0443v51.js";
13
13
  import {
14
- Service75,
15
- node79
16
- } from "./integration-zfs2vqh8.js";
14
+ Service76,
15
+ node80
16
+ } from "./worktree-g9b0yvmz.js";
17
17
  import {
18
- Service56,
19
- node60
20
- } from "./integration-jjx8nex0.js";
18
+ Service64,
19
+ node67
20
+ } from "./worktree-8zjetqqg.js";
21
21
  import {
22
- ID17,
23
- Service79,
24
- node83
25
- } from "./integration-bbcx7f9q.js";
22
+ ID15,
23
+ Service73,
24
+ node77
25
+ } from "./worktree-c8g19qcp.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./integration-rdw6cm16.js";
29
+ } from "./worktree-rdw6cm16.js";
30
30
  import {
31
- ID16,
31
+ ID13,
32
32
  MethodID2,
33
- Service78,
34
- node82
35
- } from "./integration-pp90atm6.js";
33
+ Service71,
34
+ node75
35
+ } from "./worktree-gcp4fqq7.js";
36
36
  import {
37
37
  __export
38
- } from "./integration-9rqn6x4v.js";
38
+ } from "./worktree-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
44
+ NotFoundError: () => NotFoundError2,
45
45
  Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service29,
53
+ Service: () => Service28,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
56
  configured: () => configured3,
57
57
  layer: () => layer14,
58
- node: () => node32
58
+ node: () => node31
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -92,7 +92,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
92
92
  var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var cloneConfig = (config) => structuredClone(config);
94
94
 
95
- class Service29 extends Context.Service()("@opencode/MCP") {
95
+ class Service28 extends Context.Service()("@opencode/MCP") {
96
96
  }
97
97
  var Options3 = Schema.Struct({
98
98
  clientInfo: Schema.optional(Schema.Struct({
@@ -100,13 +100,13 @@ var Options3 = Schema.Struct({
100
100
  version: Schema.String
101
101
  }))
102
102
  });
103
- var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
104
- const location = yield* Service75;
105
- const environment = yield* Service56;
106
- const bus = yield* Service82;
107
- const forms = yield* Service79;
108
- const integration = yield* Service78;
109
- const credentials = yield* Service80;
103
+ var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
104
+ const location = yield* Service76;
105
+ const environment = yield* Service64;
106
+ const bus = yield* Service79;
107
+ const forms = yield* Service73;
108
+ const integration = yield* Service71;
109
+ const credentials = yield* Service72;
110
110
  const root = yield* Effect.scope;
111
111
  const fork = yield* FiberSet.makeRuntime();
112
112
  const entries = new Map;
@@ -118,7 +118,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
118
118
  return;
119
119
  const remote = entry.config;
120
120
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
121
- const integrationID = ID16.make(suffix);
121
+ const integrationID = ID13.make(suffix);
122
122
  entry.integrationID = integrationID;
123
123
  owned.add(integrationID);
124
124
  const methodID = MethodID2.make(suffix);
@@ -134,7 +134,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
134
134
  method: { id: methodID, type: "oauth", label: name },
135
135
  authorize: () => Effect.gen(function* () {
136
136
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
137
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service80, credentials));
137
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service72, credentials));
138
138
  })
139
139
  });
140
140
  }).pipe(Scope.provide(scope));
@@ -143,19 +143,19 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
143
143
  const name = ServerName2.make(server);
144
144
  const entry = entries.get(name);
145
145
  if (!entry)
146
- return yield* new NotFoundError3({ server: name });
146
+ return yield* new NotFoundError2({ server: name });
147
147
  return { name, entry };
148
148
  });
149
149
  const connectProvider = Effect.fnUntraced(function* (entry) {
150
150
  if (entry.config.type !== "remote" || !entry.integrationID)
151
151
  return;
152
152
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
153
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service80, credentials));
153
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service72, credentials));
154
154
  });
155
155
  const elicitation = {
156
156
  create: (input) => Effect.gen(function* () {
157
157
  if (input.params.mode === "url") {
158
- const formID = ID17.create();
158
+ const formID = ID15.create();
159
159
  const elicitationID = input.params.elicitationId;
160
160
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
161
161
  if (key)
@@ -239,7 +239,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
239
239
  entry.scope = scope;
240
240
  const authProvider = yield* connectProvider(entry);
241
241
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
242
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service56, environment), Scope.provide(scope), Effect.exit);
242
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service64, environment), Scope.provide(scope), Effect.exit);
243
243
  if (Exit.isSuccess(result)) {
244
244
  entry.client = result.value.connection;
245
245
  entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
@@ -363,7 +363,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
363
363
  yield* startServer(name, entry);
364
364
  }).pipe(locks.withLock(name));
365
365
  });
366
- fork(bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
366
+ fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
367
367
  const state = create3({
368
368
  name: "mcp",
369
369
  initial: () => ({
@@ -389,7 +389,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
389
389
  }),
390
390
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
391
391
  });
392
- return Service29.of({
392
+ return Service28.of({
393
393
  transform: state.transform,
394
394
  reload: state.reload,
395
395
  servers: Effect.fn("MCP.servers")(function* () {
@@ -510,12 +510,12 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
510
510
  }));
511
511
  function configured3(options) {
512
512
  return makeLocationNode({
513
- service: Service29,
513
+ service: Service28,
514
514
  layer: layer14(options),
515
- deps: [node79, node60, node86, node83, node82, node84]
515
+ deps: [node80, node67, node83, node77, node75, node76]
516
516
  });
517
517
  }
518
- var node32 = configured3();
518
+ var node31 = configured3();
519
519
  function toElicitationField(key, property, required) {
520
520
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
521
521
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
566
566
  }
567
567
  }
568
568
 
569
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service29, Options3, layer14, configured3, node32, exports_mcp4 };
569
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service28, Options3, layer14, configured3, node31, exports_mcp4 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./integration-5c0f1prt.js";
4
+ } from "./worktree-81czwxpn.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./integration-2a5m3afh.js";
5
+ } from "./worktree-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./integration-9rqn6x4v.js";
8
+ } from "./worktree-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID13,
2
+ ID12,
3
3
  mergeOverlay2
4
- } from "./integration-3j12nn08.js";
4
+ } from "./worktree-v057vym3.js";
5
5
  import {
6
- ID12,
6
+ ID10,
7
7
  VariantID2,
8
- Info26,
8
+ Info22,
9
9
  compatibility2
10
- } from "./integration-9k3sg66h.js";
10
+ } from "./worktree-e70fzpwb.js";
11
11
  import {
12
12
  __export
13
- } from "./integration-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models2 = {};
@@ -22,7 +22,7 @@ __export(exports_models2, {
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID12.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID12.make(item.id);
78
+ const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID10.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info26.make({
98
- ...Info26.default(providerID, id),
97
+ return Info22.make({
98
+ ...Info22.default(providerID, id),
99
99
  id,
100
- modelID: ID12.make(remote.id),
100
+ modelID: ID10.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./integration-7rce4ag1.js";
3
+ } from "./worktree-ezy28dwm.js";
4
4
  import {
5
5
  OAuth3,
6
- Service80
7
- } from "./integration-qmf9b8yn.js";
6
+ Service72
7
+ } from "./worktree-s0443v51.js";
8
8
  import {
9
- ID16,
9
+ ID13,
10
10
  MethodID2
11
- } from "./integration-pp90atm6.js";
11
+ } from "./worktree-gcp4fqq7.js";
12
12
  import {
13
- ID13
14
- } from "./integration-3j12nn08.js";
13
+ ID12
14
+ } from "./worktree-v057vym3.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
23
23
  var pollingSafetyMargin = 3000;
24
24
  var browserMethodID = MethodID2.make("browser");
25
25
  var deviceMethodID = MethodID2.make("device");
26
- var providerID = ID13.make("xai");
26
+ var providerID = ID12.make("xai");
27
27
  var Token = Schema.Struct({
28
28
  access_token: Schema.String,
29
29
  refresh_token: Schema.optional(Schema.String),
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
43
43
  });
44
44
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
45
45
  var device = (app) => ({
46
- integrationID: ID16.make("xai"),
46
+ integrationID: ID13.make("xai"),
47
47
  method: {
48
48
  id: deviceMethodID,
49
49
  type: "oauth",
@@ -68,8 +68,8 @@ var device = (app) => ({
68
68
  var XAIPlugin2 = define({
69
69
  id: "opencode.provider.xai",
70
70
  effect: Effect.fn(function* (ctx) {
71
- const credentials = yield* Service80;
72
- yield* Effect.forEach(yield* credentials.list(ID16.make("xai")), (credential) => {
71
+ const credentials = yield* Service72;
72
+ yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
73
73
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
74
74
  return Effect.void;
75
75
  return credentials.update(credential.id, {
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./integration-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
- Service75,
6
- node79
7
- } from "./integration-zfs2vqh8.js";
5
+ Service76,
6
+ node80
7
+ } from "./worktree-g9b0yvmz.js";
8
8
  import {
9
- Service55,
10
- node59
11
- } from "./integration-aqex15s7.js";
9
+ Service63,
10
+ node66
11
+ } from "./worktree-kf58x7p8.js";
12
12
  import {
13
13
  isHome2,
14
14
  names4
15
- } from "./integration-89znhe33.js";
15
+ } from "./worktree-89znhe33.js";
16
16
  import {
17
17
  __export
18
- } from "./integration-9rqn6x4v.js";
18
+ } from "./worktree-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options10,
25
- Service: () => Service54,
26
- configured: () => configured10,
24
+ Options: () => Options9,
25
+ Service: () => Service62,
26
+ configured: () => configured9,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer21,
29
- node: () => node58,
28
+ layer: () => layer24,
29
+ node: () => node65,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options10 = Schema.Struct({
38
+ var Options9 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service54 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service62 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service54, Effect.gen(function* () {
62
- const location = yield* Service75;
63
- const ripgrep = yield* Service55;
61
+ var ripgrepLayer2 = Layer.effect(Service62, Effect.gen(function* () {
62
+ const location = yield* Service76;
63
+ const ripgrep = yield* Service63;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service54, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service54.of({
108
+ return Service62.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service54, Effect.gen(function* () {
116
- const location = yield* Service75;
115
+ var fffLayer2 = Layer.effect(Service62, Effect.gen(function* () {
116
+ const location = yield* Service76;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service54, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service54.of({
129
+ return Service62.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service54.of({
134
+ return Service62.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service54, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer21 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service75;
177
+ var layer24 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service76;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured10(options) {
186
- return makeLocationNode({ service: Service54, layer: layer21(options), deps: [node79, node59] });
185
+ function configured9(options) {
186
+ return makeLocationNode({ service: Service62, layer: layer24(options), deps: [node80, node66] });
187
187
  }
188
- var node58 = configured10();
188
+ var node65 = configured9();
189
189
 
190
- export { Options10, Service54, ripgrepLayer2, fffLayer2, layer21, configured10, node58, exports_search };
190
+ export { Options9, Service62, ripgrepLayer2, fffLayer2, layer24, configured9, node65, exports_search };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service51,
3
- node55
4
- } from "./integration-7atgh4d8.js";
2
+ Service39,
3
+ node43
4
+ } from "./worktree-sfswfqfx.js";
5
5
  import {
6
- Service75,
7
- node79
8
- } from "./integration-zfs2vqh8.js";
6
+ Service76,
7
+ node80
8
+ } from "./worktree-g9b0yvmz.js";
9
9
  import {
10
- Service50,
11
- node54
12
- } from "./integration-vte0rfzv.js";
10
+ Service38,
11
+ node42
12
+ } from "./worktree-xwyqxccg.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./integration-zxq2ej10.js";
16
+ } from "./worktree-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./integration-9rqn6x4v.js";
19
+ } from "./worktree-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service3,
25
+ Service: () => Service2,
26
26
  empty: () => empty2,
27
27
  layer: () => layer4,
28
- node: () => node4
28
+ node: () => node3
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer4 = Layer.effect(Service3, Effect.gen(function* () {
39
- const config = yield* Service50;
40
- const watcher = yield* Service51;
38
+ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
39
+ const config = yield* Service38;
40
+ const watcher = yield* Service39;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service75;
42
+ const location = yield* Service76;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service3.of({
61
+ return Service2.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node4 = makeLocationNode({
74
- service: Service3,
73
+ var node3 = makeLocationNode({
74
+ service: Service2,
75
75
  layer: layer4,
76
- deps: [node54, FSUtil.node, node55, node79]
76
+ deps: [node42, FSUtil.node, node43, node80]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service3,
80
- layer: Layer.succeed(Service3, Service3.of({
79
+ service: Service2,
80
+ layer: Layer.succeed(Service2, Service2.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service3, layer4, node4, empty2, exports_source };
140
+ export { Service2, layer4, node3, empty2, exports_source };