@opencode/core 0.0.0-dev-21614 → 0.0.0-dev-21631

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{wellknown-wnvqne7d.js → workspace-02ggbb5g.js} +26 -26
  8. package/dist/chunks/{wellknown-aj7mw0zk.js → workspace-034tev2y.js} +2 -2
  9. package/dist/chunks/{wellknown-gcc7dp33.js → workspace-067bn7k9.js} +12 -12
  10. package/dist/chunks/{wellknown-rbhxz4gb.js → workspace-0x14psyd.js} +36 -36
  11. package/dist/chunks/{wellknown-tgppvydt.js → workspace-0ygh9k6m.js} +21 -21
  12. package/dist/chunks/{wellknown-htb7qhsb.js → workspace-0zcnfd18.js} +11 -11
  13. package/dist/chunks/{wellknown-tfztb0br.js → workspace-0zwx71ns.js} +24 -24
  14. package/dist/chunks/{wellknown-6ca4ym0t.js → workspace-10nvmenf.js} +26 -26
  15. package/dist/chunks/{wellknown-6ysjzz3p.js → workspace-1216qybz.js} +31 -31
  16. package/dist/chunks/{wellknown-27w5k9zf.js → workspace-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{wellknown-n9a7rh5w.js → workspace-1pzczgek.js} +4 -4
  18. package/dist/chunks/{wellknown-mj6xf4g5.js → workspace-1vf54b5a.js} +21 -21
  19. package/dist/chunks/{wellknown-cjqg7s82.js → workspace-1vwr1yzz.js} +13 -13
  20. package/dist/chunks/{wellknown-3vvv9mv5.js → workspace-1wct354y.js} +12 -12
  21. package/dist/chunks/{wellknown-1x2knyw4.js → workspace-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{wellknown-pa73zsyv.js → workspace-1xvjm3kc.js} +15 -15
  23. package/dist/chunks/{wellknown-s7kyse9r.js → workspace-1y0wdj51.js} +9 -9
  24. package/dist/chunks/{wellknown-n9n70ej9.js → workspace-22yhmnjg.js} +11 -11
  25. package/dist/chunks/{wellknown-dmg81fze.js → workspace-2g8e9hha.js} +11 -11
  26. package/dist/chunks/{wellknown-r9eyfrc3.js → workspace-2hntn1k8.js} +16 -16
  27. package/dist/chunks/{wellknown-j693j56p.js → workspace-2hxpq778.js} +7 -7
  28. package/dist/chunks/{wellknown-p0tsr9h6.js → workspace-2jq4ff38.js} +4 -4
  29. package/dist/chunks/{wellknown-hnc1mdqv.js → workspace-2xea8x11.js} +16 -16
  30. package/dist/chunks/{wellknown-2z1j29yd.js → workspace-2z1j29yd.js} +1 -1
  31. package/dist/chunks/{wellknown-8xmmsc9p.js → workspace-32mwzrrd.js} +10 -10
  32. package/dist/chunks/{wellknown-9a61gpeh.js → workspace-38vyv955.js} +5 -5
  33. package/dist/chunks/{wellknown-tkmwn4n3.js → workspace-3bnf6a24.js} +9 -9
  34. package/dist/chunks/{wellknown-c6gg2d7g.js → workspace-3ge5rx21.js} +11 -11
  35. package/dist/chunks/{wellknown-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{wellknown-yt87mgee.js → workspace-3k5f8s26.js} +2 -2
  37. package/dist/chunks/{wellknown-3kdbrncp.js → workspace-3kdbrncp.js} +2 -2
  38. package/dist/chunks/{wellknown-beqsqb4f.js → workspace-3nh05435.js} +1 -1
  39. package/dist/chunks/{wellknown-ee49148j.js → workspace-3paf0x2w.js} +18 -18
  40. package/dist/chunks/{wellknown-f8brgmmr.js → workspace-3wmzcy16.js} +1 -1
  41. package/dist/chunks/{wellknown-yaqxkf8p.js → workspace-3z36edkt.js} +8 -8
  42. package/dist/chunks/{wellknown-jtx0gzs1.js → workspace-48qd1d8y.js} +10 -10
  43. package/dist/chunks/{wellknown-zns6ke8q.js → workspace-4hhqfxrb.js} +14 -14
  44. package/dist/chunks/{wellknown-wqj0b1m2.js → workspace-4hrd0f0s.js} +176 -176
  45. package/dist/chunks/{wellknown-r711frth.js → workspace-4rk46c4y.js} +10 -10
  46. package/dist/chunks/{wellknown-x0m7sghc.js → workspace-4txypjtm.js} +42 -42
  47. package/dist/chunks/{wellknown-4v008n1t.js → workspace-4v008n1t.js} +1 -1
  48. package/dist/chunks/{wellknown-4xvmh7wp.js → workspace-4xvmh7wp.js} +3 -3
  49. package/dist/chunks/{wellknown-qjwcge9s.js → workspace-4z3n7x5k.js} +3 -3
  50. package/dist/chunks/{wellknown-9vbx93zb.js → workspace-5083qcyj.js} +30 -30
  51. package/dist/chunks/{wellknown-sr7feaek.js → workspace-5445pja8.js} +29 -29
  52. package/dist/chunks/{wellknown-fzrg86r1.js → workspace-57zfgywe.js} +10 -10
  53. package/dist/chunks/{wellknown-25zhe1e5.js → workspace-59rjxnhk.js} +14 -14
  54. package/dist/chunks/{wellknown-kv86bdab.js → workspace-5agv5pnb.js} +9 -9
  55. package/dist/chunks/{wellknown-jx89vj1k.js → workspace-5crety7g.js} +3 -3
  56. package/dist/chunks/{wellknown-41b3382c.js → workspace-5f9y7f7a.js} +9 -9
  57. package/dist/chunks/{wellknown-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{wellknown-x5b2bey3.js → workspace-5pk0xbgp.js} +27 -27
  59. package/dist/chunks/{wellknown-e3qxr5gk.js → workspace-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{wellknown-ayxev8a3.js → workspace-5qjar1cd.js} +2 -2
  61. package/dist/chunks/{wellknown-wfa1ttd4.js → workspace-5w9qrcma.js} +14 -14
  62. package/dist/chunks/{wellknown-fyzdnt29.js → workspace-66c7hxbd.js} +16 -16
  63. package/dist/chunks/{wellknown-wy65z4t5.js → workspace-6c1s406r.js} +9 -9
  64. package/dist/chunks/{wellknown-6esdw8yj.js → workspace-6esdw8yj.js} +1 -1
  65. package/dist/chunks/{wellknown-6pjqjmy2.js → workspace-6pjqjmy2.js} +1 -1
  66. package/dist/chunks/{wellknown-10e9m0pt.js → workspace-6qbtkmgq.js} +17 -17
  67. package/dist/chunks/{wellknown-c3v55vft.js → workspace-6qjs3j48.js} +13 -13
  68. package/dist/chunks/{wellknown-17m52qnf.js → workspace-6wx80czs.js} +18 -18
  69. package/dist/chunks/{wellknown-zwj0rqkv.js → workspace-75cp5h68.js} +23 -23
  70. package/dist/chunks/{wellknown-gm2e9k17.js → workspace-75sznh19.js} +16 -16
  71. package/dist/chunks/{wellknown-76cb1hcw.js → workspace-76cb1hcw.js} +1 -1
  72. package/dist/chunks/{wellknown-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{wellknown-9v7dz4xn.js → workspace-7en38gq0.js} +12 -12
  74. package/dist/chunks/{wellknown-r06a3q58.js → workspace-7j753ka9.js} +18 -18
  75. package/dist/chunks/{wellknown-d9rjxn1q.js → workspace-7scgcvrf.js} +13 -13
  76. package/dist/chunks/{wellknown-v9see6sy.js → workspace-7vpzw89w.js} +21 -21
  77. package/dist/chunks/{wellknown-7w2ypzdf.js → workspace-7w2ypzdf.js} +1 -1
  78. package/dist/chunks/{wellknown-ffp3ehby.js → workspace-811sm8q5.js} +15 -15
  79. package/dist/chunks/{wellknown-8wtp7s3z.js → workspace-8wtp7s3z.js} +1 -1
  80. package/dist/chunks/{wellknown-fhpwcnq5.js → workspace-8xgvjc3j.js} +21 -21
  81. package/dist/chunks/{wellknown-cwqd4yek.js → workspace-8y2wmcqs.js} +9 -9
  82. package/dist/chunks/{wellknown-91rj84md.js → workspace-91rj84md.js} +1 -1
  83. package/dist/chunks/{wellknown-dvj9ct8m.js → workspace-998yhzzq.js} +3 -3
  84. package/dist/chunks/{wellknown-8sqhc7vc.js → workspace-9ahp1agz.js} +6 -6
  85. package/dist/chunks/{wellknown-3hw3272a.js → workspace-9djkex7c.js} +8 -8
  86. package/dist/chunks/{wellknown-am41y27b.js → workspace-9jh1w38s.js} +11 -11
  87. package/dist/chunks/{wellknown-k97tdqzj.js → workspace-9qg9bmww.js} +3 -3
  88. package/dist/chunks/{wellknown-4pw98qd4.js → workspace-9tvpxs1q.js} +4 -4
  89. package/dist/chunks/{wellknown-a5y3wh5q.js → workspace-9y24x8tm.js} +5 -5
  90. package/dist/chunks/{wellknown-pgeh2d1w.js → workspace-a710j6jq.js} +17 -17
  91. package/dist/chunks/{wellknown-8ykqf5wm.js → workspace-a7hcemwv.js} +11 -11
  92. package/dist/chunks/{wellknown-nt8bw4me.js → workspace-actym6sp.js} +6 -6
  93. package/dist/chunks/{wellknown-ek216raq.js → workspace-af16rb46.js} +4 -4
  94. package/dist/chunks/{wellknown-8v3etk6p.js → workspace-amv93mrg.js} +14 -14
  95. package/dist/chunks/{wellknown-e5azydyz.js → workspace-as4kdtne.js} +7 -7
  96. package/dist/chunks/{wellknown-9smwdb2z.js → workspace-at43vtwn.js} +13 -13
  97. package/dist/chunks/{wellknown-k8w4kbf3.js → workspace-avpraz00.js} +47 -47
  98. package/dist/chunks/{wellknown-34s5tdcd.js → workspace-ay6kp039.js} +4 -4
  99. package/dist/chunks/{wellknown-3cbjf1nt.js → workspace-ayjs7tqn.js} +2 -2
  100. package/dist/chunks/{wellknown-b0mv4wxm.js → workspace-b0mv4wxm.js} +2 -2
  101. package/dist/chunks/{wellknown-r7hn3bee.js → workspace-b6ejp4av.js} +34 -34
  102. package/dist/chunks/{wellknown-5nnwax6m.js → workspace-b6vsg801.js} +5 -5
  103. package/dist/chunks/{wellknown-qaz4f448.js → workspace-bqwdyg2t.js} +9 -9
  104. package/dist/chunks/{wellknown-9dtj3gwf.js → workspace-bx934t5c.js} +12 -12
  105. package/dist/chunks/{wellknown-tvbkyf9p.js → workspace-c80g5ddr.js} +17 -17
  106. package/dist/chunks/{wellknown-ssfehs1z.js → workspace-c9t2ty9q.js} +4 -4
  107. package/dist/chunks/{wellknown-6xcwddbm.js → workspace-cjkc2yd9.js} +28 -28
  108. package/dist/chunks/{wellknown-7nkdcysn.js → workspace-cq3z49j9.js} +30 -30
  109. package/dist/chunks/workspace-csdtf696.js +26 -0
  110. package/dist/chunks/{wellknown-ctz21g80.js → workspace-ctyy7ctv.js} +10 -10
  111. package/dist/chunks/{wellknown-h9zzwr9p.js → workspace-cwyfam04.js} +4 -4
  112. package/dist/chunks/{wellknown-xs6gfkjp.js → workspace-d01ndws9.js} +45 -45
  113. package/dist/chunks/{wellknown-385mwvv9.js → workspace-d1bhb9nv.js} +10 -10
  114. package/dist/chunks/{wellknown-d4v9tmah.js → workspace-d4v9tmah.js} +2 -2
  115. package/dist/chunks/{wellknown-jdv93er6.js → workspace-d5agj1pv.js} +34 -34
  116. package/dist/chunks/{wellknown-xc76h6b6.js → workspace-d8wk2jpt.js} +54 -54
  117. package/dist/chunks/{wellknown-6wdcbwmk.js → workspace-dcdr9dg7.js} +11 -11
  118. package/dist/chunks/{wellknown-wsccfv8x.js → workspace-dhjhcs6c.js} +4 -4
  119. package/dist/chunks/{wellknown-17d0ztjt.js → workspace-dhndgb5g.js} +5 -5
  120. package/dist/chunks/{wellknown-cfkc8wvf.js → workspace-dk5xnaxx.js} +4 -4
  121. package/dist/chunks/{wellknown-p7q4x3ve.js → workspace-e1my15k2.js} +34 -34
  122. package/dist/chunks/{wellknown-wwsd659t.js → workspace-e48jzpsf.js} +18 -18
  123. package/dist/chunks/{wellknown-cdehd1dv.js → workspace-e5fabfm1.js} +13 -13
  124. package/dist/chunks/{wellknown-x9720knc.js → workspace-e6xa1h83.js} +19 -19
  125. package/dist/chunks/{wellknown-e834z07m.js → workspace-e834z07m.js} +1 -1
  126. package/dist/chunks/{wellknown-5nrmz00j.js → workspace-edxck1ff.js} +30 -30
  127. package/dist/chunks/{wellknown-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{wellknown-w9704mzh.js → workspace-ep3cfgsw.js} +2 -2
  129. package/dist/chunks/{wellknown-gj8x1tda.js → workspace-eq3fc1qc.js} +5 -5
  130. package/dist/chunks/{wellknown-dcbbhpwf.js → workspace-esf33pnx.js} +17 -17
  131. package/dist/chunks/{wellknown-vxjbe68y.js → workspace-esgjzs5t.js} +17 -17
  132. package/dist/chunks/{wellknown-mz3hfnzx.js → workspace-ey8jy4js.js} +28 -28
  133. package/dist/chunks/{wellknown-ebhqaeer.js → workspace-eyamc8wk.js} +20 -20
  134. package/dist/chunks/{wellknown-b30fx7c5.js → workspace-f2zvcq77.js} +21 -21
  135. package/dist/chunks/{wellknown-k9cky2s3.js → workspace-f5wtb4x0.js} +11 -11
  136. package/dist/chunks/{wellknown-r8f6rk3c.js → workspace-fbjqxkhq.js} +8 -8
  137. package/dist/chunks/{wellknown-fffv3p7h.js → workspace-fffv3p7h.js} +1 -1
  138. package/dist/chunks/{wellknown-1yj5qhdy.js → workspace-fg9knja8.js} +4 -4
  139. package/dist/chunks/{wellknown-schbm4ma.js → workspace-fk80w04t.js} +44 -44
  140. package/dist/chunks/{wellknown-b0t89xxr.js → workspace-fkjz51h9.js} +46 -46
  141. package/dist/chunks/{wellknown-s9qqqswp.js → workspace-fy7vwem6.js} +18 -18
  142. package/dist/chunks/{wellknown-g5h9c0rr.js → workspace-g5h9c0rr.js} +2 -2
  143. package/dist/chunks/{wellknown-vmfhgzt5.js → workspace-g7esga4v.js} +5 -5
  144. package/dist/chunks/{wellknown-qrpbmy32.js → workspace-gc7zkq2j.js} +15 -15
  145. package/dist/chunks/{wellknown-vrcsa8qx.js → workspace-gcjdgkn2.js} +9 -9
  146. package/dist/chunks/{wellknown-nk7afy6y.js → workspace-gcs2fc5m.js} +16 -16
  147. package/dist/chunks/{wellknown-my2wpxcm.js → workspace-geys63pa.js} +23 -23
  148. package/dist/chunks/{wellknown-msqmy3gp.js → workspace-gjzbapea.js} +4 -4
  149. package/dist/chunks/{wellknown-z9hy4jc9.js → workspace-gmkqkmgg.js} +13 -13
  150. package/dist/chunks/{wellknown-qffbzpjd.js → workspace-gnqppa8v.js} +33 -33
  151. package/dist/chunks/{wellknown-t79pfcy2.js → workspace-gphf8qkn.js} +11 -11
  152. package/dist/chunks/{wellknown-210p74nv.js → workspace-gpnxvr2a.js} +6 -6
  153. package/dist/chunks/{wellknown-mchcfyvf.js → workspace-gq1ys0xw.js} +340 -340
  154. package/dist/chunks/{wellknown-k6wk3r5t.js → workspace-gxhbx1gv.js} +35 -35
  155. package/dist/chunks/{wellknown-gcj3kjtw.js → workspace-hr99w7g5.js} +14 -14
  156. package/dist/chunks/{wellknown-1aykj8gn.js → workspace-hzrfc1p4.js} +3 -3
  157. package/dist/chunks/{wellknown-j113cymg.js → workspace-j113cymg.js} +1 -1
  158. package/dist/chunks/{wellknown-e5dqjz6v.js → workspace-jchrqzf6.js} +4 -4
  159. package/dist/chunks/{wellknown-axjrj1bz.js → workspace-jf7rv2bq.js} +18 -18
  160. package/dist/chunks/{wellknown-cmceae6s.js → workspace-jhx8zsag.js} +21 -21
  161. package/dist/chunks/{wellknown-7pcsvk8m.js → workspace-jpff4b81.js} +22 -22
  162. package/dist/chunks/{wellknown-aqc37f1k.js → workspace-k1q14wnz.js} +31 -31
  163. package/dist/chunks/{wellknown-ebqxajpa.js → workspace-k4rvgcwk.js} +8 -8
  164. package/dist/chunks/{wellknown-k814nvkf.js → workspace-k814nvkf.js} +1 -1
  165. package/dist/chunks/{wellknown-27dh21s1.js → workspace-ka29x1p3.js} +17 -17
  166. package/dist/chunks/{wellknown-k4t14cac.js → workspace-ka3ebb26.js} +10 -10
  167. package/dist/chunks/{wellknown-ae027wx8.js → workspace-kfh17eq6.js} +12 -12
  168. package/dist/chunks/{wellknown-8682byc1.js → workspace-kgq6c069.js} +6 -6
  169. package/dist/chunks/{wellknown-txwdtw55.js → workspace-kmr8mv8d.js} +11 -11
  170. package/dist/chunks/{wellknown-dcxf72cj.js → workspace-kncbdffz.js} +11 -11
  171. package/dist/chunks/{wellknown-kf4k70c8.js → workspace-kp0f5nz1.js} +29 -29
  172. package/dist/chunks/{wellknown-bmd0we0e.js → workspace-kqf87fk8.js} +21 -21
  173. package/dist/chunks/{wellknown-qkc3z5ds.js → workspace-ky596kc3.js} +4 -4
  174. package/dist/chunks/{wellknown-m1714858.js → workspace-m1714858.js} +1 -1
  175. package/dist/chunks/{wellknown-8vttfty6.js → workspace-m4smrk82.js} +13 -13
  176. package/dist/chunks/{wellknown-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{wellknown-maspj1v3.js → workspace-maspj1v3.js} +1 -1
  178. package/dist/chunks/{wellknown-ressjymw.js → workspace-mb90wd2d.js} +27 -27
  179. package/dist/chunks/{wellknown-n0p0277s.js → workspace-n0p0277s.js} +1 -1
  180. package/dist/chunks/{wellknown-nfha22dk.js → workspace-n0tvgbk4.js} +11 -11
  181. package/dist/chunks/{wellknown-8qkyrtnb.js → workspace-n3795dyb.js} +28 -28
  182. package/dist/chunks/{wellknown-6dmetk4g.js → workspace-n3mhfr60.js} +18 -18
  183. package/dist/chunks/workspace-n3r3rt18.js +18 -0
  184. package/dist/chunks/{wellknown-8hzjd0j9.js → workspace-n823y48s.js} +21 -21
  185. package/dist/chunks/{wellknown-nah043kf.js → workspace-nah043kf.js} +1 -1
  186. package/dist/chunks/{wellknown-9g4cv0f3.js → workspace-ngyanjke.js} +5 -5
  187. package/dist/chunks/{wellknown-e94x7tnv.js → workspace-nv2qnfza.js} +11 -11
  188. package/dist/chunks/{wellknown-p015t6z3.js → workspace-p015t6z3.js} +2 -2
  189. package/dist/chunks/{wellknown-q27fbm3z.js → workspace-p1fymgqq.js} +4 -4
  190. package/dist/chunks/{wellknown-mw1fpszq.js → workspace-p3rr1xh3.js} +41 -41
  191. package/dist/chunks/{wellknown-1yq9hg58.js → workspace-p7vhpwh8.js} +5 -5
  192. package/dist/chunks/{wellknown-b692ze95.js → workspace-p83ne5gv.js} +10 -10
  193. package/dist/chunks/{wellknown-zre18969.js → workspace-p9aj7t6q.js} +11 -11
  194. package/dist/chunks/{wellknown-mtxwg59p.js → workspace-paepwcm2.js} +6 -6
  195. package/dist/chunks/{wellknown-pknna89w.js → workspace-pknna89w.js} +1 -1
  196. package/dist/chunks/{wellknown-076c863b.js → workspace-pm22z908.js} +35 -35
  197. package/dist/chunks/{wellknown-ypqhzgty.js → workspace-py09vape.js} +11 -11
  198. package/dist/chunks/{wellknown-skywmwjb.js → workspace-py5bb3qg.js} +6 -6
  199. package/dist/chunks/{wellknown-7w8fhshn.js → workspace-q0wxm0f4.js} +26 -26
  200. package/dist/chunks/{wellknown-et702fqy.js → workspace-q5ksxkha.js} +6 -6
  201. package/dist/chunks/{wellknown-5tpm11qt.js → workspace-q86pf388.js} +45 -45
  202. package/dist/chunks/{wellknown-vq3ad26g.js → workspace-q9nya8vj.js} +24 -24
  203. package/dist/chunks/{wellknown-b5tvc8h0.js → workspace-qgarn9by.js} +8 -8
  204. package/dist/chunks/{wellknown-8jztxfpf.js → workspace-qjgzc4b4.js} +4 -4
  205. package/dist/chunks/{wellknown-z4y6rart.js → workspace-qw2pz74r.js} +5 -5
  206. package/dist/chunks/{wellknown-gpgh1ne9.js → workspace-qwn3jvah.js} +16 -16
  207. package/dist/chunks/{wellknown-r0yr0wbs.js → workspace-r0yr0wbs.js} +1 -1
  208. package/dist/chunks/{wellknown-s4vbyw3x.js → workspace-r10bp8tk.js} +20 -20
  209. package/dist/chunks/{wellknown-0gka690g.js → workspace-r1k9m3eb.js} +8 -8
  210. package/dist/chunks/{wellknown-fmt9wnsp.js → workspace-r23mryza.js} +32 -32
  211. package/dist/chunks/{wellknown-vbhy04yp.js → workspace-r4zhn8a3.js} +7 -7
  212. package/dist/chunks/{wellknown-2vk9k41n.js → workspace-r9ycgn4k.js} +9 -9
  213. package/dist/chunks/{wellknown-rb9dy4dg.js → workspace-rb9dy4dg.js} +1 -1
  214. package/dist/chunks/{wellknown-cqf8794w.js → workspace-rfshxc0v.js} +20 -20
  215. package/dist/chunks/{wellknown-y906m0ew.js → workspace-rmm45jmv.js} +5 -5
  216. package/dist/chunks/{wellknown-s626qfae.js → workspace-rrad2nt9.js} +4 -4
  217. package/dist/chunks/{wellknown-rt5dr6hb.js → workspace-rt5dr6hb.js} +1 -1
  218. package/dist/chunks/{wellknown-1aqx0n7f.js → workspace-rtq7m3w5.js} +52 -52
  219. package/dist/chunks/{wellknown-zteftdt1.js → workspace-rv0yz615.js} +5 -5
  220. package/dist/chunks/{wellknown-6vhvgjh4.js → workspace-rvqdw07f.js} +18 -18
  221. package/dist/chunks/{wellknown-6vqxkcd0.js → workspace-rvqxvq6d.js} +11 -11
  222. package/dist/chunks/{wellknown-gbnff0zv.js → workspace-rxrz6b15.js} +2 -2
  223. package/dist/chunks/{wellknown-tmpacpwf.js → workspace-scvn2zk3.js} +25 -25
  224. package/dist/chunks/{wellknown-mkg5me76.js → workspace-sg9szeyg.js} +19 -19
  225. package/dist/chunks/{wellknown-k6n8wf1h.js → workspace-sh8baf55.js} +13 -13
  226. package/dist/chunks/{wellknown-z704znn1.js → workspace-skb5eq6z.js} +24 -24
  227. package/dist/chunks/{wellknown-sv14dtn5.js → workspace-sphke738.js} +50 -50
  228. package/dist/chunks/{wellknown-sqjzf8x2.js → workspace-sqjzf8x2.js} +1 -1
  229. package/dist/chunks/{wellknown-14ywxsr7.js → workspace-sy8vt3wj.js} +29 -29
  230. package/dist/chunks/{wellknown-t3zdfkz5.js → workspace-t01mmk0e.js} +10 -10
  231. package/dist/chunks/{wellknown-zk32jm74.js → workspace-t1sb82cf.js} +2 -2
  232. package/dist/chunks/{wellknown-0ks2n9jf.js → workspace-tasvem1v.js} +6 -6
  233. package/dist/chunks/{wellknown-tczq8hjw.js → workspace-tczq8hjw.js} +1 -1
  234. package/dist/chunks/{wellknown-h4qn0q0n.js → workspace-tdbp9pqc.js} +24 -24
  235. package/dist/chunks/{wellknown-ksj071wv.js → workspace-tge03dzs.js} +28 -28
  236. package/dist/chunks/{wellknown-dzbgzh8d.js → workspace-tgqd2fy6.js} +15 -15
  237. package/dist/chunks/{wellknown-3nnrz6f6.js → workspace-tmc7xdjs.js} +4 -4
  238. package/dist/chunks/{wellknown-aa2zaxkm.js → workspace-tmsfm4tn.js} +5 -5
  239. package/dist/chunks/{wellknown-6c5cd6ez.js → workspace-tpm1qpxt.js} +9 -9
  240. package/dist/chunks/{wellknown-ydkqfst9.js → workspace-trnc4ezg.js} +13 -13
  241. package/dist/chunks/{wellknown-xw56b1c2.js → workspace-ts03qaq4.js} +43 -43
  242. package/dist/chunks/{wellknown-tw8zr1ps.js → workspace-tw8zr1ps.js} +1 -1
  243. package/dist/chunks/{wellknown-twv2r8f4.js → workspace-twv2r8f4.js} +2 -2
  244. package/dist/chunks/{wellknown-em09g0j4.js → workspace-ty5gqdvp.js} +14 -14
  245. package/dist/chunks/{wellknown-v2r1d0zg.js → workspace-v2r1d0zg.js} +1 -1
  246. package/dist/chunks/{wellknown-z5axs658.js → workspace-v6hd4jx6.js} +7 -7
  247. package/dist/chunks/{wellknown-vd3b3yk9.js → workspace-vd3b3yk9.js} +1 -1
  248. package/dist/chunks/{wellknown-6gbmgfj5.js → workspace-vdcmvetk.js} +5 -5
  249. package/dist/chunks/{wellknown-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  250. package/dist/chunks/{wellknown-xvs7wkqm.js → workspace-vjeddzcj.js} +9 -9
  251. package/dist/chunks/{wellknown-srwcj12q.js → workspace-vsbjkqn0.js} +19 -19
  252. package/dist/chunks/{wellknown-w2eysc6j.js → workspace-w2eysc6j.js} +2 -2
  253. package/dist/chunks/{wellknown-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/workspace-w4nncpsp.js +257 -0
  255. package/dist/chunks/{wellknown-wr3re1en.js → workspace-w687dnns.js} +4 -4
  256. package/dist/chunks/{wellknown-vcvnp0q3.js → workspace-w8xq4g1c.js} +4 -4
  257. package/dist/chunks/{wellknown-1dbgwwb0.js → workspace-w9geygzy.js} +44 -44
  258. package/dist/chunks/{wellknown-wakvkjy4.js → workspace-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{wellknown-e0977wyg.js → workspace-wd1ggha8.js} +15 -15
  260. package/dist/chunks/{wellknown-772qq538.js → workspace-wd649kc4.js} +23 -23
  261. package/dist/chunks/{wellknown-wd87259q.js → workspace-wd87259q.js} +1 -1
  262. package/dist/chunks/{wellknown-v8vd993n.js → workspace-we1bjw9z.js} +8 -8
  263. package/dist/chunks/{wellknown-2ka2xw9j.js → workspace-wr22rtgw.js} +33 -33
  264. package/dist/chunks/{wellknown-5vcjq1d8.js → workspace-wvsk6hkh.js} +7 -7
  265. package/dist/chunks/{wellknown-6bssvd5f.js → workspace-wy92yfz2.js} +28 -28
  266. package/dist/chunks/{wellknown-6q5pcj1n.js → workspace-x6vkv6xs.js} +10 -10
  267. package/dist/chunks/{wellknown-pmxxkv03.js → workspace-x95sfgj8.js} +3 -3
  268. package/dist/chunks/{wellknown-1afthse9.js → workspace-xbjtm4mb.js} +76 -76
  269. package/dist/chunks/{wellknown-w0s8kcs1.js → workspace-xbp4jbh1.js} +33 -33
  270. package/dist/chunks/{wellknown-j9sfyafe.js → workspace-xbt735bc.js} +25 -25
  271. package/dist/chunks/{wellknown-xd9cc171.js → workspace-xd9cc171.js} +1 -1
  272. package/dist/chunks/{wellknown-p900kj0g.js → workspace-xjcqxx9h.js} +67 -67
  273. package/dist/chunks/{wellknown-7dwrvf5h.js → workspace-xk4x8fp8.js} +1 -1
  274. package/dist/chunks/{wellknown-ge2s7166.js → workspace-xmss3g6h.js} +21 -21
  275. package/dist/chunks/{wellknown-xbf8tvh1.js → workspace-xr5njmxy.js} +3 -3
  276. package/dist/chunks/{wellknown-wbbgvkty.js → workspace-xtr5ejb8.js} +25 -25
  277. package/dist/chunks/{wellknown-pj7zvz06.js → workspace-xv6vex0v.js} +16 -16
  278. package/dist/chunks/{wellknown-r8bt6dxp.js → workspace-xxfhxe4r.js} +28 -28
  279. package/dist/chunks/{wellknown-xrbr151j.js → workspace-xxzvbbkc.js} +85 -85
  280. package/dist/chunks/{wellknown-yb20nhc3.js → workspace-yb20nhc3.js} +1 -1
  281. package/dist/chunks/{wellknown-v5hpj9dd.js → workspace-ydsespw1.js} +8 -8
  282. package/dist/chunks/{wellknown-6yzvmzd3.js → workspace-yp2qyq5j.js} +15 -15
  283. package/dist/chunks/{wellknown-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{wellknown-z38nccrw.js → workspace-z38nccrw.js} +1 -1
  285. package/dist/chunks/{wellknown-t5x9ax0g.js → workspace-z885xrfv.js} +4 -4
  286. package/dist/chunks/{wellknown-1bgqzpz0.js → workspace-zjwxeyqe.js} +2 -2
  287. package/dist/chunks/{wellknown-zkg84ctx.js → workspace-zkg84ctx.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +11 -11
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +212 -212
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +102 -102
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +91 -91
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +155 -155
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +91 -91
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +95 -94
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +136 -136
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +93 -93
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +100 -100
  482. package/dist/models-dev.js +109 -109
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +115 -115
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +88 -88
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +76 -76
  493. package/dist/plugin/command.js +102 -102
  494. package/dist/plugin/hooks.js +3 -3
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +332 -332
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai.js +118 -118
  529. package/dist/plugin/provider/opencode.js +103 -103
  530. package/dist/plugin/provider/openrouter.js +93 -93
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +81 -81
  533. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  534. package/dist/plugin/provider/sap-ai-core.js +93 -93
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  537. package/dist/plugin/provider/vercel.js +92 -92
  538. package/dist/plugin/provider/vllm.js +125 -125
  539. package/dist/plugin/provider/xai.js +93 -93
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +170 -170
  542. package/dist/plugin/sdk.js +78 -78
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +132 -132
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +351 -351
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +88 -88
  550. package/dist/plugin/vcs/hg.js +88 -88
  551. package/dist/plugin/verbosity.js +95 -95
  552. package/dist/plugin/warming.js +114 -114
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +6 -6
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +2 -2
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +229 -229
  561. package/dist/project/schema.js +8 -8
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +92 -92
  564. package/dist/provider.js +99 -99
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +101 -101
  568. package/dist/reference/instructions.js +91 -91
  569. package/dist/reference.js +93 -93
  570. package/dist/repository-cache.js +83 -83
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +88 -88
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +3 -3
  577. package/dist/session/command.js +76 -76
  578. package/dist/session/compaction.js +138 -138
  579. package/dist/session/context.js +164 -164
  580. package/dist/session/diff.js +90 -90
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +220 -220
  585. package/dist/session/execution.js +128 -128
  586. package/dist/session/generate.js +166 -166
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +91 -91
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +81 -81
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +99 -99
  593. package/dist/session/message-updater.js +4 -4
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +122 -122
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +132 -132
  598. package/dist/session/projector.js +91 -91
  599. package/dist/session/prompt.js +107 -107
  600. package/dist/session/recent-text.js +1 -1
  601. package/dist/session/revert.js +96 -96
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +101 -101
  607. package/dist/session/runner/publish-llm-event.js +116 -116
  608. package/dist/session/runner/retry.js +5 -5
  609. package/dist/session/runner/step.js +128 -128
  610. package/dist/session/runner/to-llm-message.js +14 -14
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +163 -163
  613. package/dist/session/shell.js +130 -130
  614. package/dist/session/skill.js +107 -107
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +75 -75
  617. package/dist/session/store.js +85 -85
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +212 -212
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +168 -168
  622. package/dist/session/to-session-error.js +114 -114
  623. package/dist/session/transfer.js +217 -217
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +216 -216
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +9 -9
  630. package/dist/shell.js +132 -132
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +114 -114
  634. package/dist/snapshot.js +91 -91
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +137 -137
  639. package/dist/tool/plugin/edit.js +122 -122
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +126 -126
  642. package/dist/tool/plugin/grep.js +126 -126
  643. package/dist/tool/plugin/mcp-resource.js +126 -126
  644. package/dist/tool/plugin/opencode.js +111 -111
  645. package/dist/tool/plugin/patch.js +124 -124
  646. package/dist/tool/plugin/question.js +105 -105
  647. package/dist/tool/plugin/read.js +127 -127
  648. package/dist/tool/plugin/shell.js +217 -217
  649. package/dist/tool/plugin/skill.js +115 -115
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/todo.js +138 -138
  652. package/dist/tool/plugin/webfetch.js +111 -111
  653. package/dist/tool/plugin/websearch.js +116 -116
  654. package/dist/tool/plugin/write.js +124 -124
  655. package/dist/tool/read-filesystem.js +104 -104
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +7 -7
  658. package/dist/tool.js +12 -12
  659. package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +2 -2
  660. package/dist/types/image/photon-wasm.bun.d.ts +1 -1
  661. package/dist/types/mcp/client.d.ts +1 -279
  662. package/dist/types/session/history.d.ts +269 -269
  663. package/dist/types/shell/parser-wasm.bun.d.ts +3 -3
  664. package/dist/types/v1/config/migrate.d.ts +1 -1
  665. package/dist/util/error-summary.js +1 -1
  666. package/dist/util/git-executable.js +2 -2
  667. package/dist/util/lazy.js +1 -1
  668. package/dist/util/slug.js +1 -1
  669. package/dist/util/token.js +1 -1
  670. package/dist/util/which.js +1 -1
  671. package/dist/util/wildcard.js +1 -1
  672. package/dist/v1/config/agent.js +7 -7
  673. package/dist/v1/config/command.js +3 -3
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +94 -94
  676. package/dist/v1/config/permission.js +7 -7
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +2 -2
  680. package/dist/variant.js +93 -93
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +91 -91
  683. package/dist/voice.js +90 -90
  684. package/dist/websearch.js +86 -86
  685. package/dist/wellknown/plugin.js +78 -78
  686. package/dist/wellknown.js +81 -81
  687. package/dist/workspace/driver.js +5 -5
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +84 -84
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +91 -91
  694. package/dist/worktree.js +102 -102
  695. package/package.json +13 -12
  696. package/dist/chunks/wellknown-9cmrt7xy.js +0 -26
  697. package/dist/chunks/wellknown-d2bq0fh0.js +0 -257
  698. package/dist/chunks/wellknown-ezna1kdx.js +0 -18
  699. /package/dist/chunks/{wellknown-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{wellknown-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{wellknown-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{wellknown-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{wellknown-24dcb14g.js → workspace-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{wellknown-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{wellknown-2bv980vf.js → workspace-2bv980vf.js} +0 -0
  706. /package/dist/chunks/{wellknown-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{wellknown-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{wellknown-3asan66x.js → workspace-3asan66x.js} +0 -0
  709. /package/dist/chunks/{wellknown-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{wellknown-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{wellknown-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{wellknown-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{wellknown-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{wellknown-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{wellknown-53557ph1.js → workspace-53557ph1.js} +0 -0
  716. /package/dist/chunks/{wellknown-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{wellknown-5fjb7ams.js → workspace-5fjb7ams.js} +0 -0
  718. /package/dist/chunks/{wellknown-6prwharc.js → workspace-6prwharc.js} +0 -0
  719. /package/dist/chunks/{wellknown-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
  720. /package/dist/chunks/{wellknown-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{wellknown-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{wellknown-822emrt2.js → workspace-822emrt2.js} +0 -0
  723. /package/dist/chunks/{wellknown-84wd9syh.js → workspace-84wd9syh.js} +0 -0
  724. /package/dist/chunks/{wellknown-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{wellknown-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{wellknown-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
  727. /package/dist/chunks/{wellknown-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{wellknown-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{wellknown-a058387c.js → workspace-a058387c.js} +0 -0
  730. /package/dist/chunks/{wellknown-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{wellknown-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{wellknown-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{wellknown-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{wellknown-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{wellknown-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{wellknown-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{wellknown-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{wellknown-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{wellknown-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{wellknown-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{wellknown-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{wellknown-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{wellknown-df08tz66.js → workspace-df08tz66.js} +0 -0
  744. /package/dist/chunks/{wellknown-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{wellknown-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{wellknown-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{wellknown-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{wellknown-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{wellknown-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{wellknown-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{wellknown-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{wellknown-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{wellknown-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{wellknown-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{wellknown-g86h250q.js → workspace-g86h250q.js} +0 -0
  756. /package/dist/chunks/{wellknown-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{wellknown-gftt206x.js → workspace-gftt206x.js} +0 -0
  758. /package/dist/chunks/{wellknown-hcxmzztb.js → workspace-hcxmzztb.js} +0 -0
  759. /package/dist/chunks/{wellknown-hk9envan.js → workspace-hk9envan.js} +0 -0
  760. /package/dist/chunks/{wellknown-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{wellknown-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{wellknown-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{wellknown-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{wellknown-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{wellknown-jze0r7bz.js → workspace-jze0r7bz.js} +0 -0
  766. /package/dist/chunks/{wellknown-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{wellknown-m18g726c.js → workspace-m18g726c.js} +0 -0
  768. /package/dist/chunks/{wellknown-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{wellknown-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{wellknown-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{wellknown-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{wellknown-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{wellknown-pkyv6v7h.js → workspace-pkyv6v7h.js} +0 -0
  774. /package/dist/chunks/{wellknown-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{wellknown-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{wellknown-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{wellknown-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{wellknown-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{wellknown-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{wellknown-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{wellknown-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{wellknown-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{wellknown-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{wellknown-ve7vex1e.js → workspace-ve7vex1e.js} +0 -0
  785. /package/dist/chunks/{wellknown-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{wellknown-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{wellknown-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{wellknown-wjj7prxr.js → workspace-wjj7prxr.js} +0 -0
  789. /package/dist/chunks/{wellknown-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{wellknown-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{wellknown-x61499pn.js → workspace-x61499pn.js} +0 -0
  792. /package/dist/chunks/{wellknown-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{wellknown-y8f7s663.js → workspace-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{wellknown-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{wellknown-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{wellknown-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
  797. /package/dist/chunks/{wellknown-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./wellknown-gftt206x.js";
3
+ } from "./workspace-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./wellknown-1aykj8gn.js";
6
+ } from "./workspace-hzrfc1p4.js";
7
7
  import {
8
8
  __export
9
- } from "./wellknown-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error = {};
@@ -20,7 +20,7 @@ __export(exports_error, {
20
20
  InvalidListCursorError: () => InvalidListCursorError2,
21
21
  MessageDecodeError: () => MessageDecodeError2,
22
22
  MessageNotFoundError: () => MessageNotFoundError2,
23
- NotFoundError: () => NotFoundError10,
23
+ NotFoundError: () => NotFoundError9,
24
24
  PromptConflictError: () => PromptConflictError2,
25
25
  SessionErrors: () => exports_error,
26
26
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError10 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError10, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
126
+ export { NotFoundError9, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./wellknown-h9zzwr9p.js";
4
+ } from "./workspace-cwyfam04.js";
5
5
  import {
6
- Event15,
7
- Service72,
8
- node76
9
- } from "./wellknown-6bssvd5f.js";
6
+ Event20,
7
+ Service84,
8
+ node88
9
+ } from "./workspace-wy92yfz2.js";
10
10
  import {
11
- Service68,
12
- node72
13
- } from "./wellknown-s4vbyw3x.js";
11
+ Service58,
12
+ node60
13
+ } from "./workspace-r10bp8tk.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./wellknown-z5v4ffb3.js";
16
+ } from "./workspace-z5v4ffb3.js";
17
17
  import {
18
- Service79,
19
- node83
20
- } from "./wellknown-pgeh2d1w.js";
18
+ Service76,
19
+ node80
20
+ } from "./workspace-a710j6jq.js";
21
21
  import {
22
22
  substitute2
23
- } from "./wellknown-7w2ypzdf.js";
23
+ } from "./workspace-7w2ypzdf.js";
24
24
  import {
25
25
  normalize2
26
- } from "./wellknown-fyzdnt29.js";
26
+ } from "./workspace-66c7hxbd.js";
27
27
  import {
28
28
  names4,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./wellknown-zteftdt1.js";
31
+ } from "./workspace-rv0yz615.js";
32
32
  import {
33
33
  plan2
34
- } from "./wellknown-1x2knyw4.js";
34
+ } from "./workspace-1x2knyw4.js";
35
35
  import {
36
- Service73,
37
- Event16,
38
- node77
39
- } from "./wellknown-6dmetk4g.js";
36
+ Service79,
37
+ Event17,
38
+ node83
39
+ } from "./workspace-n3mhfr60.js";
40
40
  import {
41
41
  __export
42
- } from "./wellknown-9rqn6x4v.js";
42
+ } from "./workspace-9rqn6x4v.js";
43
43
 
44
44
  // src/config.ts
45
45
  var exports_config = {};
46
46
  __export(exports_config, {
47
47
  Config: () => exports_config,
48
- Options: () => Options7,
49
- Service: () => Service67,
48
+ Options: () => Options6,
49
+ Service: () => Service57,
50
50
  Test: () => Test2,
51
- configured: () => configured10,
51
+ configured: () => configured7,
52
52
  latest: () => latest2,
53
- layer: () => layer24,
54
- node: () => node71,
53
+ layer: () => layer20,
54
+ node: () => node59,
55
55
  testLayer: () => testLayer2
56
56
  });
57
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
67
67
  function latest2(entries, key) {
68
68
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
69
69
  }
70
- var Options7 = Schema.Struct({
70
+ var Options6 = Schema.Struct({
71
71
  project: Schema.optional(Schema.Boolean),
72
72
  global: Schema.optional(Schema.Boolean),
73
73
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -76,7 +76,7 @@ var Options7 = Schema.Struct({
76
76
  content: Schema.optional(Schema.String)
77
77
  });
78
78
 
79
- class Service67 extends Context.Service()("@opencode/Config") {
79
+ class Service57 extends Context.Service()("@opencode/Config") {
80
80
  }
81
81
 
82
82
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
94
94
  setEntries: (next) => Ref.set(entries, next),
95
95
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
96
96
  });
97
- return Context.empty().pipe(Context.add(Service67, service), Context.add(Test2, service));
97
+ return Context.empty().pipe(Context.add(Service57, service), Context.add(Test2, service));
98
98
  }));
99
- var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
99
+ var layer20 = (options) => Layer.effect(Service57, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service79;
102
- const watcher = yield* Service68;
101
+ const location = yield* Service76;
102
+ const watcher = yield* Service58;
103
103
  const bus = yield* Service85;
104
- const credentials = yield* Service72;
104
+ const credentials = yield* Service84;
105
105
  const globalService = yield* Global.Service;
106
- const wellknown = yield* Service73;
106
+ const wellknown = yield* Service79;
107
107
  const processes = yield* AppProcess.Service;
108
108
  const reloadLock = Semaphore.makeUnsafe(1);
109
109
  const updateLock = Semaphore.makeUnsafe(1);
@@ -254,8 +254,8 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
254
254
  }, (effect) => reloadLock.withPermit(effect));
255
255
  const pendingReloads = yield* PubSub.subscribe(reloads);
256
256
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
- yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
+ yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
259
259
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
260
260
  if (!wellknown.snapshot().length)
261
261
  return Effect.void;
@@ -283,7 +283,7 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
283
283
  `);
284
284
  yield* requestReload;
285
285
  }, (effect) => updateLock.withPermit(effect));
286
- return Service67.of({
286
+ return Service57.of({
287
287
  entries: Effect.fnUntraced(function* () {
288
288
  return configs;
289
289
  }),
@@ -295,22 +295,22 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
295
295
  update
296
296
  });
297
297
  }));
298
- function configured10(options) {
298
+ function configured7(options) {
299
299
  return makeLocationNode({
300
- service: Service67,
301
- layer: layer24(options),
300
+ service: Service57,
301
+ layer: layer20(options),
302
302
  deps: [
303
- node72,
303
+ node60,
304
304
  node89,
305
305
  FSUtil.node,
306
306
  Global.node,
307
+ node80,
308
+ node88,
307
309
  node83,
308
- node76,
309
- node77,
310
310
  AppProcess.node
311
311
  ]
312
312
  });
313
313
  }
314
- var node71 = configured10();
314
+ var node59 = configured7();
315
315
 
316
- export { latest2, Options7, Service67, Test2, testLayer2, layer24, configured10, node71, exports_config };
316
+ export { latest2, Options6, Service57, Test2, testLayer2, layer20, configured7, node59, exports_config };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./wellknown-p015t6z3.js";
3
+ } from "./workspace-p015t6z3.js";
4
4
  import {
5
- ID14,
6
- Service71,
7
- node75
8
- } from "./wellknown-8qkyrtnb.js";
5
+ ID16,
6
+ Service82,
7
+ node86
8
+ } from "./workspace-n3795dyb.js";
9
9
  import {
10
10
  __export
11
- } from "./wellknown-9rqn6x4v.js";
11
+ } from "./workspace-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service18,
18
- UnavailableError: () => UnavailableError3,
17
+ Service: () => Service81,
18
+ UnavailableError: () => UnavailableError4,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer10,
21
- node: () => node21
20
+ layer: () => layer26,
21
+ node: () => node85
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,19 +31,19 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError3 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError4 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service18 extends Context.Service()("@opencode/Voice") {
40
+ class Service81 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer10 = Layer.effect(Service18, Effect.gen(function* () {
42
+ var layer26 = Layer.effect(Service81, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service71;
44
+ const integrations = yield* Service82;
45
45
  let hosted;
46
- const findConnection = (provider) => integrations.get(ID14.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
46
+ const findConnection = (provider) => integrations.get(ID16.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
47
47
  const models = Effect.fn("Voice.models")(function* () {
48
48
  const host = hosted;
49
49
  const list = yield* Effect.forEach(Realtime.engines, (engine) => host?.models.includes(engine.model) ? Effect.succeed({
@@ -70,13 +70,13 @@ var layer10 = Layer.effect(Service18, Effect.gen(function* () {
70
70
  if (hosted?.models.includes(input.model))
71
71
  return yield* hosted.session(input);
72
72
  const connection = yield* findConnection(engine.provider);
73
- const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ service: engine.provider, message: error.message }))) : undefined;
73
+ const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ service: engine.provider, message: error.message }))) : undefined;
74
74
  if (credential?.type !== "key")
75
- return yield* new UnavailableError3({
75
+ return yield* new UnavailableError4({
76
76
  service: engine.provider,
77
77
  message: missingKeyMessage[engine.provider]
78
78
  });
79
- const transport = yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: engine.provider })));
79
+ const transport = yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: engine.provider })));
80
80
  return { transport };
81
81
  });
82
82
  const instruct = Effect.fn("Voice.instruct")(function* (input) {
@@ -84,7 +84,7 @@ var layer10 = Layer.effect(Service18, Effect.gen(function* () {
84
84
  return yield* new InvalidRequestError2({ message: "Only hosted voice sessions take instructions" });
85
85
  return yield* hosted.instruct(input);
86
86
  });
87
- return Service18.of({
87
+ return Service81.of({
88
88
  models,
89
89
  session,
90
90
  instruct,
@@ -93,10 +93,10 @@ var layer10 = Layer.effect(Service18, Effect.gen(function* () {
93
93
  })
94
94
  });
95
95
  }));
96
- var node21 = makeLocationNode({
97
- service: Service18,
98
- layer: layer10,
99
- deps: [node75, requestExecutor2]
96
+ var node85 = makeLocationNode({
97
+ service: Service81,
98
+ layer: layer26,
99
+ deps: [node86, requestExecutor2]
100
100
  });
101
101
  var missingKeyMessage = {
102
102
  openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
@@ -104,4 +104,4 @@ var missingKeyMessage = {
104
104
  google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
105
105
  };
106
106
 
107
- export { InvalidRequestError2, UnavailableError3, Service18, layer10, node21, exports_voice };
107
+ export { InvalidRequestError2, UnavailableError4, Service81, layer26, node85, exports_voice };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./wellknown-dmg81fze.js";
3
+ } from "./workspace-2g8e9hha.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin36,
11
+ Plugin: () => Plugin41,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint3
13
+ endpoint: () => endpoint6
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
18
- var endpoint3 = "https://api.tavily.com/search";
18
+ var endpoint6 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin36 = define({
32
+ var Plugin41 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin36 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin36 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint3, Plugin36, exports_tavily };
80
+ export { endpoint6, Plugin41, exports_tavily };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make23,
9
+ make: () => make22,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make23 = () => Effect.sync(makeUnsafe2);
29
+ var make22 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make23, exports_keyed_mutex };
31
+ export { makeUnsafe2, make22, exports_keyed_mutex };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./wellknown-6bssvd5f.js";
3
+ } from "./workspace-wy92yfz2.js";
4
4
  import {
5
- ID14,
5
+ ID16,
6
6
  MethodID2
7
- } from "./wellknown-8qkyrtnb.js";
7
+ } from "./workspace-n3795dyb.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./wellknown-yb20nhc3.js";
11
+ } from "./workspace-yb20nhc3.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
17
- var integrationID = ID14.make("poe");
17
+ var integrationID = ID16.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./wellknown-pgeh2d1w.js";
2
+ Service76,
3
+ node80
4
+ } from "./workspace-a710j6jq.js";
5
5
  import {
6
6
  Key3,
7
- make20,
7
+ make19,
8
8
  combine2
9
- } from "./wellknown-e5dqjz6v.js";
9
+ } from "./workspace-jchrqzf6.js";
10
10
  import {
11
11
  __export
12
- } from "./wellknown-9rqn6x4v.js";
12
+ } from "./workspace-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service25,
19
- node: () => node28
18
+ Service: () => Service29,
19
+ node: () => node32
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service25 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service29 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service25, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service79;
29
- return Service25.of({
28
+ const location = yield* Service76;
29
+ return Service29.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make20({
31
+ make19({
32
32
  key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make20({
40
+ make19({
41
41
  key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node28 = makeLocationNode({ service: Service25, layer, deps: [Global.node, node83] });
63
+ var node32 = makeLocationNode({ service: Service29, layer, deps: [Global.node, node80] });
64
64
 
65
- export { Service25, node28, exports_builtins };
65
+ export { Service29, node32, exports_builtins };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  lazy2
3
- } from "./wellknown-88xbtdfr.js";
3
+ } from "./workspace-88xbtdfr.js";
4
4
  import {
5
- load5
6
- } from "./wellknown-e3qxr5gk.js";
5
+ load4
6
+ } from "./workspace-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./wellknown-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Native: () => Native3,
15
- Service: () => Service68,
15
+ Service: () => Service58,
16
16
  Test: () => Test3,
17
17
  Watcher: () => exports_watcher,
18
- configured: () => configured11,
18
+ configured: () => configured8,
19
19
  hasNativeBinding: () => hasNativeBinding2,
20
- layer: () => layer25,
20
+ layer: () => layer21,
21
21
  nativeLayer: () => nativeLayer2,
22
- node: () => node72,
22
+ node: () => node60,
23
23
  testLayer: () => testLayer3
24
24
  });
25
25
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -31,7 +31,7 @@ import path from "path";
31
31
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
32
32
  var watcher = lazy2(() => {
33
33
  try {
34
- return createWrapper(load5());
34
+ return createWrapper(load4());
35
35
  } catch {
36
36
  return;
37
37
  }
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
49
49
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
50
50
  }
51
51
 
52
- class Service68 extends Context.Service()("@opencode/Watcher") {
52
+ class Service58 extends Context.Service()("@opencode/Watcher") {
53
53
  }
54
54
 
55
55
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
56
56
  }
57
- var layer25 = (options) => Layer.effect(Service68, Effect.gen(function* () {
57
+ var layer21 = (options) => Layer.effect(Service58, Effect.gen(function* () {
58
58
  if (options?.enabled === false) {
59
- return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
59
+ return Service58.of({ subscribe: () => Effect.succeed(Stream.empty) });
60
60
  }
61
61
  const native = yield* Native3;
62
62
  const watchers = yield* RcMap.make({
@@ -97,7 +97,7 @@ var layer25 = (options) => Layer.effect(Service68, Effect.gen(function* () {
97
97
  return Stream.fromSubscription(subscription);
98
98
  }));
99
99
  });
100
- return Service68.of({ subscribe });
100
+ return Service58.of({ subscribe });
101
101
  }));
102
102
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
103
103
  const subscriptions = [];
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
121
121
  };
122
122
  })
123
123
  });
124
- const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
124
+ const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
125
125
  const test = Test3.of({
126
- subscribe: Context.get(context, Service68).subscribe,
126
+ subscribe: Context.get(context, Service58).subscribe,
127
127
  emit: (update) => Effect.sync(() => {
128
128
  const target = path.resolve(update.path);
129
129
  active.forEach((matches, publish) => {
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
133
133
  }),
134
134
  subscriptions: () => Effect.sync(() => [...subscriptions])
135
135
  });
136
- return Context.empty().pipe(Context.add(Service68, test), Context.add(Test3, test));
136
+ return Context.empty().pipe(Context.add(Service58, test), Context.add(Test3, test));
137
137
  }));
138
138
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
139
139
  subscribe: (input) => {
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
156
156
  }
157
157
  }));
158
158
  var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
159
- function configured11(options) {
160
- return makeGlobalNode({ service: Service68, layer: layer25(options), deps: [nativeNode] });
159
+ function configured8(options) {
160
+ return makeGlobalNode({ service: Service58, layer: layer21(options), deps: [nativeNode] });
161
161
  }
162
- var node72 = configured11();
162
+ var node60 = configured8();
163
163
  function subscribeDirectory(native, backend, directory, ignore, publish) {
164
164
  if (!native || !backend) {
165
165
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
179
179
  }).pipe(Effect.as(undefined))));
180
180
  }
181
181
 
182
- export { hasNativeBinding2, Native3, Service68, Test3, layer25, testLayer3, nativeLayer2, configured11, node72, exports_watcher };
182
+ export { hasNativeBinding2, Native3, Service58, Test3, layer21, testLayer3, nativeLayer2, configured8, node60, exports_watcher };
@@ -1,9 +1,9 @@
1
1
  import {
2
- render3
3
- } from "./wellknown-vmfhgzt5.js";
2
+ render2
3
+ } from "./workspace-g7esga4v.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin3,
16
+ OpenAIPlugin: () => OpenAIPlugin2,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
424
424
  const system = event.system[0];
425
425
  if (!system)
426
426
  return;
427
- const rendered = render3(template, Object.keys(event.tools));
427
+ const rendered = render2(template, Object.keys(event.tools));
428
428
  const text = mode === "append" ? `${system.text}
429
429
 
430
430
  ${rendered}` : rendered;
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };