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

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 (808) 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 +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{workspace-d5agj1pv.js → filesystem-009tt1tc.js} +29 -29
  8. package/dist/chunks/filesystem-00ve6mdn.js +18 -0
  9. package/dist/chunks/{workspace-034tev2y.js → filesystem-034tev2y.js} +2 -2
  10. package/dist/chunks/{workspace-sphke738.js → filesystem-0cjz94q6.js} +50 -50
  11. package/dist/chunks/{workspace-9djkex7c.js → filesystem-0d5pkr3t.js} +5 -5
  12. package/dist/chunks/{workspace-5w9qrcma.js → filesystem-0m63avf2.js} +11 -11
  13. package/dist/chunks/{workspace-1vf54b5a.js → filesystem-0mt6tx3t.js} +25 -25
  14. package/dist/chunks/{workspace-p83ne5gv.js → filesystem-0pcpg2vk.js} +10 -10
  15. package/dist/chunks/{workspace-tgqd2fy6.js → filesystem-0rk2tx64.js} +20 -20
  16. package/dist/chunks/{workspace-48qd1d8y.js → filesystem-0v552w6g.js} +10 -10
  17. package/dist/chunks/{workspace-0zcnfd18.js → filesystem-0zwy0wgk.js} +11 -11
  18. package/dist/chunks/{workspace-gcjdgkn2.js → filesystem-18g90bpv.js} +9 -9
  19. package/dist/chunks/{workspace-1ep2p91f.js → filesystem-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{workspace-5f9y7f7a.js → filesystem-1n1y95ae.js} +9 -9
  21. package/dist/chunks/{workspace-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{workspace-esf33pnx.js → filesystem-1zaw68ze.js} +18 -18
  23. package/dist/chunks/{workspace-f2zvcq77.js → filesystem-2wyfsdtp.js} +21 -21
  24. package/dist/chunks/{workspace-2z1j29yd.js → filesystem-2z1j29yd.js} +1 -1
  25. package/dist/chunks/{workspace-jf7rv2bq.js → filesystem-356ycsz0.js} +10 -10
  26. package/dist/chunks/{workspace-pm22z908.js → filesystem-36nwec3d.js} +35 -35
  27. package/dist/chunks/{workspace-ty5gqdvp.js → filesystem-3e0wzh8b.js} +12 -12
  28. package/dist/chunks/{workspace-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  29. package/dist/chunks/{workspace-tmc7xdjs.js → filesystem-3nnrz6f6.js} +4 -4
  30. package/dist/chunks/{workspace-p3rr1xh3.js → filesystem-3spxaejg.js} +40 -40
  31. package/dist/chunks/{workspace-kqf87fk8.js → filesystem-4d5fcr8w.js} +21 -21
  32. package/dist/chunks/{workspace-xbp4jbh1.js → filesystem-4h7a260j.js} +35 -35
  33. package/dist/chunks/{workspace-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
  34. package/dist/chunks/{workspace-zjwxeyqe.js → filesystem-4whg3jbc.js} +2 -2
  35. package/dist/chunks/{workspace-4xvmh7wp.js → filesystem-4xvmh7wp.js} +3 -3
  36. package/dist/chunks/{workspace-geys63pa.js → filesystem-4zdy853b.js} +23 -23
  37. package/dist/chunks/{workspace-kfh17eq6.js → filesystem-51r6w5tg.js} +12 -12
  38. package/dist/chunks/{workspace-af16rb46.js → filesystem-51x4aarj.js} +4 -4
  39. package/dist/chunks/{workspace-gmkqkmgg.js → filesystem-53ehtthp.js} +13 -13
  40. package/dist/chunks/{workspace-1wct354y.js → filesystem-58me5448.js} +14 -14
  41. package/dist/chunks/{workspace-ay6kp039.js → filesystem-5cn61jve.js} +4 -4
  42. package/dist/chunks/{workspace-ep3cfgsw.js → filesystem-5crs9zmq.js} +4 -4
  43. package/dist/chunks/{workspace-cjkc2yd9.js → filesystem-5j88v3fz.js} +30 -30
  44. package/dist/chunks/{workspace-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
  45. package/dist/chunks/{workspace-22yhmnjg.js → filesystem-5pn4ypd0.js} +11 -11
  46. package/dist/chunks/{workspace-mb90wd2d.js → filesystem-5q1nw5b2.js} +28 -28
  47. package/dist/chunks/{workspace-bqwdyg2t.js → filesystem-5qv54f7z.js} +9 -9
  48. package/dist/chunks/{workspace-fkjz51h9.js → filesystem-5s5rpxk9.js} +51 -50
  49. package/dist/chunks/{workspace-rv0yz615.js → filesystem-5t0hnzkm.js} +10 -10
  50. package/dist/chunks/{workspace-r4zhn8a3.js → filesystem-5xy94632.js} +8 -8
  51. package/dist/chunks/{workspace-k4rvgcwk.js → filesystem-68fc5fjq.js} +8 -8
  52. package/dist/chunks/{workspace-6esdw8yj.js → filesystem-6esdw8yj.js} +1 -1
  53. package/dist/chunks/{workspace-t01mmk0e.js → filesystem-6kjtmk7q.js} +10 -10
  54. package/dist/chunks/{workspace-2hntn1k8.js → filesystem-6kzpt8m6.js} +16 -16
  55. package/dist/chunks/{workspace-gnqppa8v.js → filesystem-6mf4mhq6.js} +30 -30
  56. package/dist/chunks/{workspace-rtq7m3w5.js → filesystem-6mw02xdg.js} +52 -52
  57. package/dist/chunks/{workspace-6pjqjmy2.js → filesystem-6pjqjmy2.js} +1 -1
  58. package/dist/chunks/{workspace-xk4x8fp8.js → filesystem-6rvpfmay.js} +5 -5
  59. package/dist/chunks/{workspace-k1q14wnz.js → filesystem-6vawrx7p.js} +31 -31
  60. package/dist/chunks/{workspace-q0wxm0f4.js → filesystem-6vgp65ky.js} +28 -28
  61. package/dist/chunks/{workspace-66c7hxbd.js → filesystem-74z5myxc.js} +18 -18
  62. package/dist/chunks/{workspace-nah043kf.js → filesystem-770pw0s1.js} +4 -4
  63. package/dist/chunks/{workspace-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{workspace-10nvmenf.js → filesystem-7jc9rsv4.js} +17 -17
  65. package/dist/chunks/{workspace-cwyfam04.js → filesystem-7qh21x13.js} +4 -4
  66. package/dist/chunks/{workspace-c80g5ddr.js → filesystem-7qzzp3th.js} +17 -17
  67. package/dist/chunks/{workspace-qgarn9by.js → filesystem-7rh6cm1k.js} +8 -8
  68. package/dist/chunks/{workspace-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
  69. package/dist/chunks/{workspace-3kdbrncp.js → filesystem-7xg2jm5b.js} +5 -5
  70. package/dist/chunks/{workspace-vjeddzcj.js → filesystem-7zfzjnyd.js} +9 -9
  71. package/dist/chunks/{workspace-rvqxvq6d.js → filesystem-89hkn2ck.js} +14 -14
  72. package/dist/chunks/{workspace-kp0f5nz1.js → filesystem-8d63q4vm.js} +24 -24
  73. package/dist/chunks/{workspace-edxck1ff.js → filesystem-8j8gppkv.js} +23 -23
  74. package/dist/chunks/{workspace-1216qybz.js → filesystem-8kvpvnp7.js} +29 -29
  75. package/dist/chunks/{workspace-02ggbb5g.js → filesystem-8mm41x9v.js} +26 -26
  76. package/dist/chunks/{workspace-z885xrfv.js → filesystem-8n969cs1.js} +4 -4
  77. package/dist/chunks/{workspace-rmm45jmv.js → filesystem-8ryk0bb9.js} +5 -5
  78. package/dist/chunks/{workspace-xbjtm4mb.js → filesystem-8tv6we1q.js} +84 -84
  79. package/dist/chunks/{workspace-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
  80. package/dist/chunks/{workspace-91rj84md.js → filesystem-91rj84md.js} +1 -1
  81. package/dist/chunks/{workspace-0zwx71ns.js → filesystem-96t1we0v.js} +24 -24
  82. package/dist/chunks/{workspace-e48jzpsf.js → filesystem-98mxgbz2.js} +18 -18
  83. package/dist/chunks/{workspace-r1k9m3eb.js → filesystem-997dsrmm.js} +6 -6
  84. package/dist/chunks/{workspace-998yhzzq.js → filesystem-998yhzzq.js} +3 -3
  85. package/dist/chunks/{workspace-eq3fc1qc.js → filesystem-9b28cy4d.js} +5 -5
  86. package/dist/chunks/{workspace-rxrz6b15.js → filesystem-9dk4f4hb.js} +2 -2
  87. package/dist/chunks/{workspace-vsbjkqn0.js → filesystem-9fcy9jas.js} +19 -19
  88. package/dist/chunks/{workspace-kgq6c069.js → filesystem-9nkjg9qd.js} +6 -6
  89. package/dist/chunks/filesystem-9ycsyq8d.js +257 -0
  90. package/dist/chunks/{workspace-ey8jy4js.js → filesystem-9zhqcg1r.js} +25 -25
  91. package/dist/chunks/{workspace-ts03qaq4.js → filesystem-ae59h7aq.js} +43 -43
  92. package/dist/chunks/{workspace-ngyanjke.js → filesystem-amdzwm80.js} +5 -5
  93. package/dist/chunks/{workspace-x6vkv6xs.js → filesystem-ap3xe38h.js} +10 -10
  94. package/dist/chunks/{workspace-7vpzw89w.js → filesystem-ar426sjr.js} +16 -16
  95. package/dist/chunks/{workspace-3wmzcy16.js → filesystem-arsn7stx.js} +1 -1
  96. package/dist/chunks/{workspace-1pzczgek.js → filesystem-avbcnn8s.js} +4 -4
  97. package/dist/chunks/{workspace-ayjs7tqn.js → filesystem-ayjs7tqn.js} +2 -2
  98. package/dist/chunks/{workspace-wd1ggha8.js → filesystem-b0e0ha1k.js} +17 -17
  99. package/dist/chunks/{workspace-b0mv4wxm.js → filesystem-b0mv4wxm.js} +2 -2
  100. package/dist/chunks/{workspace-0ygh9k6m.js → filesystem-b59295hw.js} +23 -23
  101. package/dist/chunks/{workspace-b6vsg801.js → filesystem-b6vsg801.js} +2 -2
  102. package/dist/chunks/{workspace-n3795dyb.js → filesystem-bchnzv4a.js} +28 -28
  103. package/dist/chunks/{workspace-e5fabfm1.js → filesystem-bdsrgrhy.js} +15 -15
  104. package/dist/chunks/{workspace-n823y48s.js → filesystem-bhxt7mnn.js} +21 -21
  105. package/dist/chunks/{workspace-rfshxc0v.js → filesystem-bkna9k4r.js} +23 -23
  106. package/dist/chunks/{workspace-hr99w7g5.js → filesystem-brp8afje.js} +20 -20
  107. package/dist/chunks/{workspace-xd9cc171.js → filesystem-bstexjd6.js} +5 -5
  108. package/dist/chunks/{workspace-qwn3jvah.js → filesystem-bvkwt3vh.js} +13 -13
  109. package/dist/chunks/{workspace-n3mhfr60.js → filesystem-bx21rrrk.js} +20 -20
  110. package/dist/chunks/{workspace-xxfhxe4r.js → filesystem-bxr1hg8m.js} +28 -28
  111. package/dist/chunks/{workspace-3z36edkt.js → filesystem-c4h1hzvn.js} +8 -8
  112. package/dist/chunks/{workspace-vdcmvetk.js → filesystem-c5093bv4.js} +5 -5
  113. package/dist/chunks/{workspace-2g8e9hha.js → filesystem-c6mtb9s1.js} +10 -10
  114. package/dist/chunks/{workspace-tasvem1v.js → filesystem-c8666r4c.js} +6 -6
  115. package/dist/chunks/{workspace-9jh1w38s.js → filesystem-c8j7dx8q.js} +11 -11
  116. package/dist/chunks/{workspace-2hxpq778.js → filesystem-c9vjxdk9.js} +7 -7
  117. package/dist/chunks/{workspace-0x14psyd.js → filesystem-chey27p8.js} +43 -43
  118. package/dist/chunks/{workspace-xr5njmxy.js → filesystem-cq8031fv.js} +3 -3
  119. package/dist/chunks/{workspace-8xgvjc3j.js → filesystem-d1cerpfm.js} +21 -21
  120. package/dist/chunks/{workspace-c9t2ty9q.js → filesystem-d2887f8n.js} +4 -4
  121. package/dist/chunks/{workspace-1y0wdj51.js → filesystem-d2dx6a7h.js} +4 -4
  122. package/dist/chunks/{workspace-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
  123. package/dist/chunks/{workspace-r10bp8tk.js → filesystem-d6xvjcm1.js} +18 -18
  124. package/dist/chunks/{workspace-qw2pz74r.js → filesystem-d70em1ty.js} +5 -5
  125. package/dist/chunks/{workspace-a7hcemwv.js → filesystem-d8qd4w10.js} +8 -8
  126. package/dist/chunks/{workspace-xmss3g6h.js → filesystem-d9nsghbd.js} +32 -32
  127. package/dist/chunks/{workspace-skb5eq6z.js → filesystem-dbkw9y8f.js} +43 -43
  128. package/dist/chunks/{workspace-dk5xnaxx.js → filesystem-dk5xnaxx.js} +4 -4
  129. package/dist/chunks/{workspace-rvqdw07f.js → filesystem-dnmtmk4w.js} +19 -19
  130. package/dist/chunks/{workspace-gxhbx1gv.js → filesystem-dztq030m.js} +37 -37
  131. package/dist/chunks/{workspace-e834z07m.js → filesystem-e834z07m.js} +1 -1
  132. package/dist/chunks/{workspace-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{workspace-fbjqxkhq.js → filesystem-efr9f7w8.js} +5 -5
  134. package/dist/chunks/{workspace-4txypjtm.js → filesystem-etk19sk0.js} +36 -36
  135. package/dist/chunks/{workspace-7j753ka9.js → filesystem-f33ds01d.js} +18 -18
  136. package/dist/chunks/{workspace-py09vape.js → filesystem-f9ntwk7j.js} +11 -11
  137. package/dist/chunks/{workspace-kncbdffz.js → filesystem-f9r434at.js} +11 -11
  138. package/dist/chunks/{workspace-f5wtb4x0.js → filesystem-ffejy4wd.js} +4 -4
  139. package/dist/chunks/{workspace-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
  140. package/dist/chunks/{workspace-cq3z49j9.js → filesystem-fn89k98g.js} +32 -32
  141. package/dist/chunks/{workspace-sg9szeyg.js → filesystem-fwbqpq8p.js} +17 -17
  142. package/dist/chunks/{workspace-ky596kc3.js → filesystem-fwp9mfc9.js} +4 -4
  143. package/dist/chunks/{workspace-n0tvgbk4.js → filesystem-fwvkg7a4.js} +11 -11
  144. package/dist/chunks/{workspace-w687dnns.js → filesystem-fznmdakp.js} +4 -4
  145. package/dist/chunks/{workspace-g5h9c0rr.js → filesystem-g5h9c0rr.js} +2 -2
  146. package/dist/chunks/{workspace-g7esga4v.js → filesystem-g7esga4v.js} +1 -1
  147. package/dist/chunks/{workspace-fg9knja8.js → filesystem-gj87f6s9.js} +4 -4
  148. package/dist/chunks/{workspace-x95sfgj8.js → filesystem-gmjwgw4f.js} +3 -3
  149. package/dist/chunks/{workspace-ka29x1p3.js → filesystem-grrps705.js} +17 -17
  150. package/dist/chunks/{workspace-sy8vt3wj.js → filesystem-gsdn6242.js} +31 -31
  151. package/dist/chunks/{workspace-38vyv955.js → filesystem-gv029hbs.js} +5 -5
  152. package/dist/chunks/{workspace-1xvjm3kc.js → filesystem-gxpe1m6c.js} +15 -15
  153. package/dist/chunks/{workspace-gjzbapea.js → filesystem-gyabndjg.js} +4 -4
  154. package/dist/chunks/{workspace-ctyy7ctv.js → filesystem-h0d2nkz7.js} +7 -7
  155. package/dist/chunks/{workspace-6wx80czs.js → filesystem-hfc7xfzf.js} +19 -19
  156. package/dist/chunks/{workspace-j113cymg.js → filesystem-j113cymg.js} +1 -1
  157. package/dist/chunks/{workspace-sh8baf55.js → filesystem-j3228jtb.js} +15 -15
  158. package/dist/chunks/{workspace-esgjzs5t.js → filesystem-j4jzjbre.js} +23 -23
  159. package/dist/chunks/{workspace-xbt735bc.js → filesystem-jawcrgg3.js} +26 -26
  160. package/dist/chunks/{workspace-gpnxvr2a.js → filesystem-jbszwdvq.js} +6 -6
  161. package/dist/chunks/{workspace-jchrqzf6.js → filesystem-jchrqzf6.js} +1 -1
  162. package/dist/chunks/{workspace-e6xa1h83.js → filesystem-jfm4fjtg.js} +17 -17
  163. package/dist/chunks/{workspace-d01ndws9.js → filesystem-jg76350t.js} +47 -47
  164. package/dist/chunks/{workspace-a710j6jq.js → filesystem-jk3vvd6z.js} +17 -17
  165. package/dist/chunks/{workspace-p1fymgqq.js → filesystem-jmf5ej32.js} +7 -7
  166. package/dist/chunks/{workspace-r23mryza.js → filesystem-jpvfv4j9.js} +33 -33
  167. package/dist/chunks/{workspace-amv93mrg.js → filesystem-jqefqkzj.js} +14 -14
  168. package/dist/chunks/{workspace-gc7zkq2j.js → filesystem-jwndhsk1.js} +15 -15
  169. package/dist/chunks/{workspace-gphf8qkn.js → filesystem-jz901ekc.js} +11 -11
  170. package/dist/chunks/{workspace-d8wk2jpt.js → filesystem-jzdzfwts.js} +50 -50
  171. package/dist/chunks/{workspace-3paf0x2w.js → filesystem-k7zas86q.js} +20 -20
  172. package/dist/chunks/{workspace-k814nvkf.js → filesystem-k814nvkf.js} +1 -1
  173. package/dist/chunks/{workspace-6qbtkmgq.js → filesystem-kba41hf4.js} +16 -16
  174. package/dist/chunks/{workspace-nv2qnfza.js → filesystem-kphdvy8n.js} +8 -8
  175. package/dist/chunks/{workspace-e1my15k2.js → filesystem-kpjnnt0y.js} +34 -34
  176. package/dist/chunks/{workspace-9qg9bmww.js → filesystem-krc69tyh.js} +6 -6
  177. package/dist/chunks/{workspace-at43vtwn.js → filesystem-kw6yrzx1.js} +12 -12
  178. package/dist/chunks/{workspace-m1714858.js → filesystem-m1714858.js} +1 -1
  179. package/dist/chunks/{workspace-hzrfc1p4.js → filesystem-m5jcjszt.js} +2 -2
  180. package/dist/chunks/{workspace-5083qcyj.js → filesystem-m7sf20d3.js} +29 -29
  181. package/dist/chunks/{workspace-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{workspace-maspj1v3.js → filesystem-maspj1v3.js} +1 -1
  183. package/dist/chunks/filesystem-mpdatzvn.js +26 -0
  184. package/dist/chunks/{workspace-actym6sp.js → filesystem-mz3a5edd.js} +6 -6
  185. package/dist/chunks/{workspace-n0p0277s.js → filesystem-n0p0277s.js} +1 -1
  186. package/dist/chunks/{workspace-tdbp9pqc.js → filesystem-n32wkzbx.js} +33 -33
  187. package/dist/chunks/{workspace-trnc4ezg.js → filesystem-n4d18xwc.js} +13 -13
  188. package/dist/chunks/{workspace-811sm8q5.js → filesystem-n5q96v35.js} +13 -13
  189. package/dist/chunks/{workspace-7scgcvrf.js → filesystem-n8gn2k8w.js} +9 -9
  190. package/dist/chunks/{workspace-3nh05435.js → filesystem-nd5d6z5j.js} +1 -1
  191. package/dist/chunks/{workspace-fk80w04t.js → filesystem-nk6d3n00.js} +40 -40
  192. package/dist/chunks/{workspace-59rjxnhk.js → filesystem-nm4qwr9s.js} +11 -11
  193. package/dist/chunks/{workspace-4rk46c4y.js → filesystem-nnv5zz39.js} +12 -12
  194. package/dist/chunks/{workspace-xtr5ejb8.js → filesystem-nq8bay0y.js} +27 -27
  195. package/dist/chunks/{workspace-9tvpxs1q.js → filesystem-nttn14j9.js} +4 -4
  196. package/dist/chunks/{workspace-dhndgb5g.js → filesystem-nvexje8a.js} +5 -5
  197. package/dist/chunks/{workspace-6c1s406r.js → filesystem-nxdk44b7.js} +6 -6
  198. package/dist/chunks/{workspace-p015t6z3.js → filesystem-p015t6z3.js} +2 -2
  199. package/dist/chunks/{workspace-2jq4ff38.js → filesystem-p0tsr9h6.js} +4 -4
  200. package/dist/chunks/{workspace-p7vhpwh8.js → filesystem-p7vhpwh8.js} +1 -1
  201. package/dist/chunks/{workspace-wd649kc4.js → filesystem-padq4g58.js} +23 -23
  202. package/dist/chunks/{workspace-5crety7g.js → filesystem-pc1v25hk.js} +3 -3
  203. package/dist/chunks/{workspace-pknna89w.js → filesystem-pknna89w.js} +1 -1
  204. package/dist/chunks/{workspace-gcs2fc5m.js → filesystem-pkyesxg1.js} +16 -16
  205. package/dist/chunks/{workspace-q86pf388.js → filesystem-pvrft5am.js} +46 -46
  206. package/dist/chunks/{workspace-4z3n7x5k.js → filesystem-qg8qtdad.js} +3 -3
  207. package/dist/chunks/{workspace-paepwcm2.js → filesystem-qh4tvjey.js} +4 -4
  208. package/dist/chunks/{workspace-qjgzc4b4.js → filesystem-qjgzc4b4.js} +1 -1
  209. package/dist/chunks/{workspace-yp2qyq5j.js → filesystem-qtm30naq.js} +18 -18
  210. package/dist/chunks/{workspace-q9nya8vj.js → filesystem-r0dtc59e.js} +19 -19
  211. package/dist/chunks/{workspace-r0yr0wbs.js → filesystem-r0yr0wbs.js} +1 -1
  212. package/dist/chunks/{workspace-w9geygzy.js → filesystem-r1esf721.js} +45 -45
  213. package/dist/chunks/{workspace-75cp5h68.js → filesystem-r3f67wnp.js} +28 -28
  214. package/dist/chunks/{workspace-w2eysc6j.js → filesystem-r41sfy63.js} +6 -6
  215. package/dist/chunks/{workspace-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
  216. package/dist/chunks/{workspace-2xea8x11.js → filesystem-rfg9rte0.js} +16 -16
  217. package/dist/chunks/{workspace-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
  218. package/dist/chunks/{workspace-d1bhb9nv.js → filesystem-rvmjpzp1.js} +9 -9
  219. package/dist/chunks/{workspace-tmsfm4tn.js → filesystem-s1rp2hzf.js} +14 -14
  220. package/dist/chunks/{workspace-eyamc8wk.js → filesystem-s3jvwajm.js} +16 -16
  221. package/dist/chunks/{workspace-7en38gq0.js → filesystem-s4r347cv.js} +12 -12
  222. package/dist/chunks/{workspace-rrad2nt9.js → filesystem-s626qfae.js} +4 -4
  223. package/dist/chunks/{workspace-b6ejp4av.js → filesystem-s9v9gzsc.js} +36 -36
  224. package/dist/chunks/{workspace-py5bb3qg.js → filesystem-sdcxcfrs.js} +6 -6
  225. package/dist/chunks/{workspace-6qjs3j48.js → filesystem-sejvc57q.js} +15 -15
  226. package/dist/chunks/{workspace-4hrd0f0s.js → filesystem-sm3pn1yy.js} +177 -177
  227. package/dist/chunks/{workspace-wvsk6hkh.js → filesystem-spsj76tb.js} +7 -7
  228. package/dist/chunks/{workspace-sqjzf8x2.js → filesystem-sqjzf8x2.js} +1 -1
  229. package/dist/chunks/{workspace-5445pja8.js → filesystem-st4qtcsw.js} +28 -28
  230. package/dist/chunks/{workspace-v6hd4jx6.js → filesystem-sz9hkbm4.js} +9 -9
  231. package/dist/chunks/{workspace-r9ycgn4k.js → filesystem-t271sy58.js} +12 -12
  232. package/dist/chunks/{workspace-dcdr9dg7.js → filesystem-t3gbfrqn.js} +11 -11
  233. package/dist/chunks/{workspace-t1sb82cf.js → filesystem-t3rfzc0n.js} +2 -2
  234. package/dist/chunks/{workspace-wy92yfz2.js → filesystem-t6cdgaq6.js} +28 -28
  235. package/dist/chunks/{workspace-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{workspace-xv6vex0v.js → filesystem-tfeyr919.js} +14 -14
  237. package/dist/chunks/{workspace-75sznh19.js → filesystem-tg0gd36c.js} +18 -18
  238. package/dist/chunks/{workspace-wr22rtgw.js → filesystem-tj5yfdht.js} +35 -35
  239. package/dist/chunks/{workspace-tpm1qpxt.js → filesystem-tpm1qpxt.js} +2 -2
  240. package/dist/chunks/{workspace-tw8zr1ps.js → filesystem-tw8zr1ps.js} +1 -1
  241. package/dist/chunks/{workspace-twv2r8f4.js → filesystem-twv2r8f4.js} +2 -2
  242. package/dist/chunks/{workspace-p9aj7t6q.js → filesystem-tx3h81rw.js} +14 -14
  243. package/dist/chunks/{workspace-xxzvbbkc.js → filesystem-tzkvb7j5.js} +76 -76
  244. package/dist/chunks/{workspace-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
  245. package/dist/chunks/{workspace-3bnf6a24.js → filesystem-v44g1jae.js} +9 -9
  246. package/dist/chunks/{workspace-ydsespw1.js → filesystem-v5hpj9dd.js} +8 -8
  247. package/dist/chunks/{workspace-4hhqfxrb.js → filesystem-v81ymy3c.js} +14 -14
  248. package/dist/chunks/{workspace-m4smrk82.js → filesystem-v93w9dtv.js} +13 -13
  249. package/dist/chunks/{workspace-ka3ebb26.js → filesystem-vbcm6ahj.js} +12 -12
  250. package/dist/chunks/{workspace-vd3b3yk9.js → filesystem-vd3b3yk9.js} +1 -1
  251. package/dist/chunks/{workspace-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
  252. package/dist/chunks/{workspace-3ge5rx21.js → filesystem-vgqfs1n2.js} +11 -11
  253. package/dist/chunks/{workspace-tge03dzs.js → filesystem-vnxwgqtp.js} +24 -24
  254. package/dist/chunks/{workspace-we1bjw9z.js → filesystem-vq1ppevj.js} +8 -8
  255. package/dist/chunks/{workspace-xjcqxx9h.js → filesystem-vq9exjc4.js} +69 -69
  256. package/dist/chunks/{workspace-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{workspace-76cb1hcw.js → filesystem-w8qtt4th.js} +4 -4
  258. package/dist/chunks/{workspace-5pk0xbgp.js → filesystem-w96mkmzg.js} +27 -27
  259. package/dist/chunks/{workspace-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
  260. package/dist/chunks/{workspace-3k5f8s26.js → filesystem-wckc0zrx.js} +4 -4
  261. package/dist/chunks/{workspace-fy7vwem6.js → filesystem-wcsf77ep.js} +7 -7
  262. package/dist/chunks/{workspace-wd87259q.js → filesystem-wd87259q.js} +1 -1
  263. package/dist/chunks/{workspace-bx934t5c.js → filesystem-wzfzr50j.js} +12 -12
  264. package/dist/chunks/{workspace-32mwzrrd.js → filesystem-x6h7fa0f.js} +13 -13
  265. package/dist/chunks/{workspace-dhjhcs6c.js → filesystem-x934s5n8.js} +4 -4
  266. package/dist/chunks/{workspace-5agv5pnb.js → filesystem-xggf8f2k.js} +9 -9
  267. package/dist/chunks/{workspace-avpraz00.js → filesystem-xnj8czy5.js} +38 -38
  268. package/dist/chunks/{workspace-jpff4b81.js → filesystem-xqg92hb0.js} +27 -27
  269. package/dist/chunks/{workspace-w8xq4g1c.js → filesystem-y2sesghw.js} +4 -4
  270. package/dist/chunks/{workspace-57zfgywe.js → filesystem-yawxmpnv.js} +20 -19
  271. package/dist/chunks/{workspace-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
  272. package/dist/chunks/filesystem-ym2fpx9j.js +523 -0
  273. package/dist/chunks/{workspace-9ahp1agz.js → filesystem-ymrtwgat.js} +3 -3
  274. package/dist/chunks/{workspace-1vwr1yzz.js → filesystem-ytj9cq62.js} +13 -13
  275. package/dist/chunks/{workspace-q5ksxkha.js → filesystem-ytxs1176.js} +3 -3
  276. package/dist/chunks/{workspace-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{workspace-067bn7k9.js → filesystem-z0dwbekb.js} +18 -18
  278. package/dist/chunks/{workspace-jhx8zsag.js → filesystem-z0qqz9cx.js} +19 -19
  279. package/dist/chunks/{workspace-kmr8mv8d.js → filesystem-z1448dy0.js} +11 -11
  280. package/dist/chunks/{workspace-z38nccrw.js → filesystem-z38nccrw.js} +1 -1
  281. package/dist/chunks/{workspace-9y24x8tm.js → filesystem-zgjcgapj.js} +3 -3
  282. package/dist/chunks/{workspace-scvn2zk3.js → filesystem-zj4f4v9r.js} +20 -20
  283. package/dist/chunks/{workspace-zkg84ctx.js → filesystem-zkg84ctx.js} +1 -1
  284. package/dist/chunks/{workspace-as4kdtne.js → filesystem-zqz3yng3.js} +7 -7
  285. package/dist/chunks/{workspace-5qjar1cd.js → filesystem-ztmrs8ra.js} +5 -5
  286. package/dist/chunks/{workspace-8y2wmcqs.js → filesystem-zwqbvap5.js} +11 -11
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +5 -5
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +214 -214
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +85 -85
  322. package/dist/database/database.js +68 -68
  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/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +154 -86
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +364 -364
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +2 -2
  422. package/dist/filesystem/location-watcher.js +227 -227
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +106 -106
  428. package/dist/form.js +84 -84
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +109 -109
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.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 +360 -360
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +91 -91
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +153 -153
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +84 -84
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +91 -91
  469. package/dist/managed-policy.js +6 -6
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +138 -138
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/socket-client.js +1 -1
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +101 -101
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +105 -105
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +82 -82
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +109 -109
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +90 -90
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +115 -115
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +103 -103
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +170 -170
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +223 -223
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +97 -97
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +87 -87
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +3 -3
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +136 -136
  578. package/dist/session/context.js +164 -164
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +130 -130
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +95 -95
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +132 -132
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +3 -3
  611. package/dist/session/session.js +163 -163
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +107 -107
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +214 -214
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +214 -214
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +95 -95
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +137 -137
  638. package/dist/tool/plugin/edit.js +120 -120
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +215 -215
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +111 -111
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +118 -118
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/types/database/v1-migration.bun.d.ts +4 -2
  659. package/dist/types/job.d.ts +1 -4
  660. package/dist/types/permission.d.ts +0 -1
  661. package/dist/types/persistent-pty/daemon.d.ts +0 -6
  662. package/dist/types/project.d.ts +6 -2
  663. package/dist/types/session/diff.d.ts +0 -1
  664. package/dist/types/session/error.d.ts +6 -16
  665. package/dist/types/session/inbox.d.ts +1 -1
  666. package/dist/types/session/runner/model.d.ts +0 -1
  667. package/dist/types/session/schema.d.ts +6 -12
  668. package/dist/types/session/stats.d.ts +12 -11
  669. package/dist/types/session/store.d.ts +0 -6
  670. package/dist/types/session/transfer.d.ts +19 -25
  671. package/dist/types/session.d.ts +0 -6
  672. package/dist/types/tool/plugin/opencode.d.ts +0 -2
  673. package/dist/types/tool/plugin/subagent.d.ts +0 -2
  674. package/dist/util/error-summary.js +1 -1
  675. package/dist/util/git-executable.js +2 -2
  676. package/dist/util/lazy.js +1 -1
  677. package/dist/util/slug.js +1 -1
  678. package/dist/util/token.js +1 -1
  679. package/dist/util/which.js +1 -1
  680. package/dist/util/wildcard.js +1 -1
  681. package/dist/v1/config/agent.js +5 -5
  682. package/dist/v1/config/command.js +3 -3
  683. package/dist/v1/config/mcp.js +4 -4
  684. package/dist/v1/config/migrate.js +94 -94
  685. package/dist/v1/config/permission.js +3 -3
  686. package/dist/v1/config/plugin.js +1 -1
  687. package/dist/v1/config/provider-options.js +1 -1
  688. package/dist/v1/config/provider.js +4 -4
  689. package/dist/variant.js +95 -95
  690. package/dist/vcs/patch.js +1 -1
  691. package/dist/vcs.js +91 -91
  692. package/dist/voice.js +88 -88
  693. package/dist/websearch.js +84 -84
  694. package/dist/wellknown/plugin.js +78 -78
  695. package/dist/wellknown.js +83 -83
  696. package/dist/workspace/driver.js +5 -5
  697. package/dist/workspace/sql.js +1 -1
  698. package/dist/workspace.js +84 -84
  699. package/dist/worktree/directory.js +2 -2
  700. package/dist/worktree/git.js +8 -8
  701. package/dist/worktree/sql.js +5 -5
  702. package/dist/worktree/strategies.js +91 -91
  703. package/dist/worktree.js +100 -100
  704. package/package.json +8 -8
  705. package/dist/chunks/workspace-csdtf696.js +0 -26
  706. package/dist/chunks/workspace-gq1ys0xw.js +0 -523
  707. package/dist/chunks/workspace-n3r3rt18.js +0 -18
  708. package/dist/chunks/workspace-w4nncpsp.js +0 -257
  709. /package/dist/chunks/{workspace-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  710. /package/dist/chunks/{workspace-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  711. /package/dist/chunks/{workspace-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  712. /package/dist/chunks/{workspace-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  713. /package/dist/chunks/{workspace-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
  714. /package/dist/chunks/{workspace-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  715. /package/dist/chunks/{workspace-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
  716. /package/dist/chunks/{workspace-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  717. /package/dist/chunks/{workspace-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{workspace-3asan66x.js → filesystem-3asan66x.js} +0 -0
  719. /package/dist/chunks/{workspace-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{workspace-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{workspace-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{workspace-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{workspace-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{workspace-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{workspace-53557ph1.js → filesystem-53557ph1.js} +0 -0
  726. /package/dist/chunks/{workspace-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{workspace-5fjb7ams.js → filesystem-5fjb7ams.js} +0 -0
  728. /package/dist/chunks/{workspace-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
  729. /package/dist/chunks/{workspace-6prwharc.js → filesystem-6prwharc.js} +0 -0
  730. /package/dist/chunks/{workspace-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
  731. /package/dist/chunks/{workspace-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  732. /package/dist/chunks/{workspace-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  733. /package/dist/chunks/{workspace-822emrt2.js → filesystem-822emrt2.js} +0 -0
  734. /package/dist/chunks/{workspace-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
  735. /package/dist/chunks/{workspace-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  736. /package/dist/chunks/{workspace-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  737. /package/dist/chunks/{workspace-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
  738. /package/dist/chunks/{workspace-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  739. /package/dist/chunks/{workspace-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  740. /package/dist/chunks/{workspace-a058387c.js → filesystem-a058387c.js} +0 -0
  741. /package/dist/chunks/{workspace-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  742. /package/dist/chunks/{workspace-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  743. /package/dist/chunks/{workspace-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  744. /package/dist/chunks/{workspace-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  745. /package/dist/chunks/{workspace-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  746. /package/dist/chunks/{workspace-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  747. /package/dist/chunks/{workspace-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  748. /package/dist/chunks/{workspace-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  749. /package/dist/chunks/{workspace-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  750. /package/dist/chunks/{workspace-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  751. /package/dist/chunks/{workspace-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  752. /package/dist/chunks/{workspace-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  753. /package/dist/chunks/{workspace-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  754. /package/dist/chunks/{workspace-df08tz66.js → filesystem-df08tz66.js} +0 -0
  755. /package/dist/chunks/{workspace-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  756. /package/dist/chunks/{workspace-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  757. /package/dist/chunks/{workspace-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  758. /package/dist/chunks/{workspace-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  759. /package/dist/chunks/{workspace-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  760. /package/dist/chunks/{workspace-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  761. /package/dist/chunks/{workspace-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  762. /package/dist/chunks/{workspace-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  763. /package/dist/chunks/{workspace-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  764. /package/dist/chunks/{workspace-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  765. /package/dist/chunks/{workspace-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  766. /package/dist/chunks/{workspace-g86h250q.js → filesystem-g86h250q.js} +0 -0
  767. /package/dist/chunks/{workspace-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  768. /package/dist/chunks/{workspace-gftt206x.js → filesystem-gftt206x.js} +0 -0
  769. /package/dist/chunks/{workspace-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
  770. /package/dist/chunks/{workspace-hk9envan.js → filesystem-hk9envan.js} +0 -0
  771. /package/dist/chunks/{workspace-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  772. /package/dist/chunks/{workspace-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  773. /package/dist/chunks/{workspace-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
  774. /package/dist/chunks/{workspace-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  775. /package/dist/chunks/{workspace-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  776. /package/dist/chunks/{workspace-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
  777. /package/dist/chunks/{workspace-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  778. /package/dist/chunks/{workspace-m18g726c.js → filesystem-m18g726c.js} +0 -0
  779. /package/dist/chunks/{workspace-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  780. /package/dist/chunks/{workspace-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  781. /package/dist/chunks/{workspace-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  782. /package/dist/chunks/{workspace-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  783. /package/dist/chunks/{workspace-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  784. /package/dist/chunks/{workspace-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
  785. /package/dist/chunks/{workspace-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  786. /package/dist/chunks/{workspace-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  787. /package/dist/chunks/{workspace-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  788. /package/dist/chunks/{workspace-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  789. /package/dist/chunks/{workspace-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  790. /package/dist/chunks/{workspace-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
  791. /package/dist/chunks/{workspace-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  792. /package/dist/chunks/{workspace-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  793. /package/dist/chunks/{workspace-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  794. /package/dist/chunks/{workspace-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  795. /package/dist/chunks/{workspace-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
  796. /package/dist/chunks/{workspace-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  797. /package/dist/chunks/{workspace-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
  798. /package/dist/chunks/{workspace-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  799. /package/dist/chunks/{workspace-wjj7prxr.js → filesystem-wjj7prxr.js} +0 -0
  800. /package/dist/chunks/{workspace-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  801. /package/dist/chunks/{workspace-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  802. /package/dist/chunks/{workspace-x61499pn.js → filesystem-x61499pn.js} +0 -0
  803. /package/dist/chunks/{workspace-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  804. /package/dist/chunks/{workspace-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  805. /package/dist/chunks/{workspace-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  806. /package/dist/chunks/{workspace-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
  807. /package/dist/chunks/{workspace-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
  808. /package/dist/chunks/{workspace-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service62
3
- } from "./workspace-0zwx71ns.js";
2
+ Service72
3
+ } from "./filesystem-96t1we0v.js";
4
4
  import {
5
- Service61,
5
+ Service17,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./workspace-gmkqkmgg.js";
8
+ } from "./filesystem-53ehtthp.js";
9
9
  import {
10
- Service44
11
- } from "./workspace-gc7zkq2j.js";
10
+ Service15
11
+ } from "./filesystem-jwndhsk1.js";
12
12
  import {
13
- Service65
14
- } from "./workspace-avpraz00.js";
13
+ Service60
14
+ } from "./filesystem-xnj8czy5.js";
15
15
  import {
16
- Service13
17
- } from "./workspace-067bn7k9.js";
16
+ Service21
17
+ } from "./filesystem-z0dwbekb.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./workspace-6prwharc.js";
20
+ } from "./filesystem-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./workspace-9rqn6x4v.js";
23
+ } from "./filesystem-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
28
  Input: () => Input8,
29
29
  Output: () => Output5,
30
- Plugin: () => Plugin9,
30
+ Plugin: () => Plugin8,
31
31
  WriteTool: () => exports_write,
32
32
  name: () => name8,
33
- toModelContent: () => toModelContent3
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
@@ -48,15 +48,15 @@ var Output5 = Schema.Struct({
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin9 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin8 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service13;
56
- const fileMutation = yield* Service61;
57
- const environment = yield* Service62;
58
- const formatter = yield* Service44;
59
- const permission = yield* Service65;
55
+ const access = yield* Service21;
56
+ const fileMutation = yield* Service17;
57
+ const environment = yield* Service72;
58
+ const formatter = yield* Service15;
59
+ const permission = yield* Service60;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
61
  name: name8,
62
62
  options: { codemode: false, permission: "edit" },
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name8, Input8, Output5, toModelContent3, Plugin9, exports_write };
101
+ export { name8, Input8, Output5, toModelContent4, Plugin8, exports_write };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service86
3
- } from "./workspace-4z3n7x5k.js";
3
+ } from "./filesystem-qg8qtdad.js";
4
4
  import {
5
5
  Service85
6
- } from "./workspace-cwyfam04.js";
6
+ } from "./filesystem-7qh21x13.js";
7
7
  import {
8
- Service55
9
- } from "./workspace-kgq6c069.js";
8
+ Service45
9
+ } from "./filesystem-9nkjg9qd.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./workspace-k814nvkf.js";
12
+ } from "./filesystem-k814nvkf.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./workspace-gftt206x.js";
15
+ } from "./filesystem-gftt206x.js";
16
16
  import {
17
17
  NotFoundError9,
18
18
  PromptConflictError2,
@@ -20,37 +20,37 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./workspace-q5ksxkha.js";
23
+ } from "./filesystem-ytxs1176.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./workspace-ec1grn59.js";
26
+ } from "./filesystem-ec1grn59.js";
27
27
  import {
28
- Service66
29
- } from "./workspace-at43vtwn.js";
28
+ Service62
29
+ } from "./filesystem-kw6yrzx1.js";
30
30
  import {
31
31
  SyntheticPayload2,
32
- Service53
33
- } from "./workspace-tgqd2fy6.js";
32
+ Service43
33
+ } from "./filesystem-0rk2tx64.js";
34
34
  import {
35
- Service51
36
- } from "./workspace-gxhbx1gv.js";
35
+ Service41
36
+ } from "./filesystem-dztq030m.js";
37
37
  import {
38
38
  prepare2
39
- } from "./workspace-gcs2fc5m.js";
39
+ } from "./filesystem-pkyesxg1.js";
40
40
  import {
41
41
  stage2,
42
42
  clear2,
43
43
  commit2
44
- } from "./workspace-2xea8x11.js";
44
+ } from "./filesystem-rfg9rte0.js";
45
45
  import {
46
46
  start2
47
- } from "./workspace-vjeddzcj.js";
47
+ } from "./filesystem-7zfzjnyd.js";
48
48
  import {
49
- get5
50
- } from "./workspace-kfh17eq6.js";
49
+ get4
50
+ } from "./filesystem-51r6w5tg.js";
51
51
  import {
52
52
  __export
53
- } from "./workspace-9rqn6x4v.js";
53
+ } from "./filesystem-9rqn6x4v.js";
54
54
 
55
55
  // src/session/session.ts
56
56
  var exports_session2 = {};
@@ -64,10 +64,10 @@ import { FSUtil } from "@opencode/util/fs-util";
64
64
  var make13 = Effect.fn("Session.make")(function* () {
65
65
  const bus = yield* Service85;
66
66
  const database = yield* Service86;
67
- const store = yield* Service66;
68
- const instances = yield* Service55;
69
- const execution = yield* Service51;
70
- const admission = yield* Service53;
67
+ const store = yield* Service62;
68
+ const instances = yield* Service45;
69
+ const execution = yield* Service41;
70
+ const admission = yield* Service43;
71
71
  const fs = yield* FSUtil.Service;
72
72
  const scope = yield* Scope.Scope;
73
73
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -146,7 +146,7 @@ var make13 = Effect.fn("Session.make")(function* () {
146
146
  });
147
147
  if (existing)
148
148
  return existing;
149
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service55, instances), Effect.provideService(FSUtil.Service, fs)));
149
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service45, instances), Effect.provideService(FSUtil.Service, fs)));
150
150
  if (session.revert)
151
151
  yield* commit2(bus, session);
152
152
  return yield* admission.admit({
@@ -162,7 +162,7 @@ var make13 = Effect.fn("Session.make")(function* () {
162
162
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
163
163
  const session = yield* get(sessionID);
164
164
  const running = yield* Effect.gen(function* () {
165
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service55, instances), Effect.tapError((error) => synthetic(sessionID, {
165
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
166
166
  text: `User shell command failed to start:
167
167
  ${input.command}
168
168
 
@@ -191,7 +191,7 @@ ${error.message}`,
191
191
  });
192
192
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
193
193
  const session = yield* get(sessionID);
194
- const skill = yield* get5({ session, skill: input.skill }).pipe(Effect.provideService(Service55, instances));
194
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
195
195
  yield* bus.publish(SessionEvent2.Skill.Activated, {
196
196
  sessionID,
197
197
  id: skill.id,
@@ -248,13 +248,13 @@ ${error.message}`,
248
248
  const session = yield* get(sessionID);
249
249
  if (yield* execution.isActive(sessionID))
250
250
  return yield* new BusyError2({ sessionID });
251
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service55, instances), Effect.provideService(Service86, database), Effect.provideService(Service85, bus));
251
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service86, database), Effect.provideService(Service85, bus));
252
252
  });
253
253
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
254
254
  const session = yield* get(sessionID);
255
255
  if (yield* execution.isActive(sessionID))
256
256
  return yield* new BusyError2({ sessionID });
257
- yield* clear2(session).pipe(Effect.provideService(Service55, instances), Effect.provideService(Service85, bus));
257
+ yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service85, bus));
258
258
  return yield* execution.wake(sessionID);
259
259
  });
260
260
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./workspace-p015t6z3.js";
3
+ } from "./filesystem-p015t6z3.js";
4
4
  import {
5
- Service70,
6
- node72
7
- } from "./workspace-0x14psyd.js";
5
+ Service52,
6
+ node54
7
+ } from "./filesystem-chey27p8.js";
8
8
  import {
9
9
  retry2
10
- } from "./workspace-n0p0277s.js";
10
+ } from "./filesystem-n0p0277s.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./filesystem-9rqn6x4v.js";
14
14
 
15
15
  // src/generate.ts
16
- var exports_generate2 = {};
17
- __export(exports_generate2, {
18
- Generate: () => exports_generate2,
16
+ var exports_generate = {};
17
+ __export(exports_generate, {
18
+ Generate: () => exports_generate,
19
19
  ModelSelectionError: () => ModelSelectionError2,
20
- Service: () => Service63,
21
- UnavailableError: () => UnavailableError3,
22
- layer: () => layer23,
23
- node: () => node65
20
+ Service: () => Service14,
21
+ UnavailableError: () => UnavailableError2,
22
+ layer: () => layer9,
23
+ node: () => node17
24
24
  });
25
25
  import { LLM, LLMClient } from "@opencode/ai";
26
26
  import { SessionID } from "@opencode/schema/session-id";
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
34
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service63 extends Context.Service()("@opencode/Generate") {
40
+ class Service14 extends Context.Service()("@opencode/Generate") {
41
41
  }
42
- var layer23 = Layer.effect(Service63, Effect.gen(function* () {
42
+ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
43
43
  const llm = yield* LLMClient.Service;
44
- const resolver = yield* Service70;
44
+ const resolver = yield* Service52;
45
45
  const runText = Effect.fn("Generate.text")(function* (input) {
46
46
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
47
47
  "SessionRunnerModel.VariantUnavailableError",
@@ -51,7 +51,7 @@ var layer23 = Layer.effect(Service63, Effect.gen(function* () {
51
51
  "SessionRunnerModel.UnresolvedProviderVariablesError",
52
52
  "SessionRunnerModel.UnsupportedCompactionError"
53
53
  ], (error) => {
54
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
54
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
55
55
  return Effect.fail(mapped);
56
56
  }));
57
57
  if (!resolved)
@@ -62,21 +62,21 @@ var layer23 = Layer.effect(Service63, Effect.gen(function* () {
62
62
  model: resolved.model,
63
63
  prompt: input.prompt,
64
64
  http: { headers: { "x-opencode-session": SessionID.create() } }
65
- })).pipe(retry2, Effect.mapError((error) => new UnavailableError3({
65
+ })).pipe(retry2, Effect.mapError((error) => new UnavailableError2({
66
66
  message: error.message,
67
67
  service: resolved.ref.providerID
68
68
  })));
69
69
  return response.text;
70
70
  });
71
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
71
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
72
72
  message: "Generation credentials are unavailable"
73
73
  })));
74
- return Service63.of({ text });
74
+ return Service14.of({ text });
75
75
  }));
76
- var node65 = makeLocationNode({
77
- service: Service63,
78
- layer: layer23,
79
- deps: [node72, llmClient2]
76
+ var node17 = makeLocationNode({
77
+ service: Service14,
78
+ layer: layer9,
79
+ deps: [node54, llmClient2]
80
80
  });
81
81
 
82
- export { ModelSelectionError2, UnavailableError3, Service63, layer23, node65, exports_generate2 };
82
+ export { ModelSelectionError2, UnavailableError2, Service14, layer9, node17, exports_generate };
@@ -2,18 +2,18 @@ import {
2
2
  provider2,
3
3
  model2,
4
4
  compatibleModel2
5
- } from "./workspace-j113cymg.js";
5
+ } from "./filesystem-j113cymg.js";
6
6
  import {
7
7
  aisdk2,
8
8
  packageName2
9
- } from "./workspace-tge03dzs.js";
9
+ } from "./filesystem-vnxwgqtp.js";
10
10
  import {
11
11
  Capabilities2,
12
12
  compatibility2
13
- } from "./workspace-mb90wd2d.js";
13
+ } from "./filesystem-5q1nw5b2.js";
14
14
  import {
15
15
  __export
16
- } from "./workspace-9rqn6x4v.js";
16
+ } from "./filesystem-9rqn6x4v.js";
17
17
 
18
18
  // src/v1/config/migrate.ts
19
19
  var exports_migrate = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./workspace-eh3zwz77.js";
3
+ } from "./filesystem-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./workspace-e73j6tqm.js";
6
+ } from "./filesystem-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./workspace-3wcehsnq.js";
9
+ } from "./filesystem-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./workspace-dap0rakb.js";
12
+ } from "./filesystem-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./workspace-4y7fprxs.js";
15
+ } from "./filesystem-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,115 +1,115 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./workspace-4z3n7x5k.js";
4
+ } from "./filesystem-qg8qtdad.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./workspace-a710j6jq.js";
6
+ Service80,
7
+ node83
8
+ } from "./filesystem-jk3vvd6z.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref2,
12
- Service71,
13
- node73
14
- } from "./workspace-mb90wd2d.js";
12
+ Service74,
13
+ node77
14
+ } from "./filesystem-5q1nw5b2.js";
15
15
  import {
16
- ID10,
17
- Service69,
18
- node71
19
- } from "./workspace-rvqdw07f.js";
16
+ ID17,
17
+ Service83,
18
+ node86
19
+ } from "./filesystem-dnmtmk4w.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./workspace-q5ksxkha.js";
22
+ } from "./filesystem-ytxs1176.js";
23
23
  import {
24
24
  combine2
25
- } from "./workspace-jchrqzf6.js";
25
+ } from "./filesystem-jchrqzf6.js";
26
26
  import {
27
27
  entriesForRunner2
28
- } from "./workspace-ctyy7ctv.js";
28
+ } from "./filesystem-h0d2nkz7.js";
29
29
  import {
30
- Service66,
31
- node68
32
- } from "./workspace-at43vtwn.js";
30
+ Service62,
31
+ node64
32
+ } from "./filesystem-kw6yrzx1.js";
33
33
  import {
34
34
  merge2
35
- } from "./workspace-avpraz00.js";
35
+ } from "./filesystem-xnj8czy5.js";
36
36
  import {
37
37
  make15
38
- } from "./workspace-fy7vwem6.js";
38
+ } from "./filesystem-wcsf77ep.js";
39
39
  import {
40
- Service40,
41
- node43
42
- } from "./workspace-kqf87fk8.js";
40
+ Service47,
41
+ node49
42
+ } from "./filesystem-4d5fcr8w.js";
43
43
  import {
44
- Service29,
45
- node32
46
- } from "./workspace-qwn3jvah.js";
44
+ Service27,
45
+ node31
46
+ } from "./filesystem-bvkwt3vh.js";
47
+ import {
48
+ Service68,
49
+ node70
50
+ } from "./filesystem-0mt6tx3t.js";
51
+ import {
52
+ Service32,
53
+ node35
54
+ } from "./filesystem-6vawrx7p.js";
55
+ import {
56
+ Service31,
57
+ node34
58
+ } from "./filesystem-kba41hf4.js";
47
59
  import {
48
60
  Service35,
49
61
  node38
50
- } from "./workspace-1vf54b5a.js";
51
- import {
52
- Service25,
53
- node28
54
- } from "./workspace-k1q14wnz.js";
62
+ } from "./filesystem-356ycsz0.js";
55
63
  import {
56
64
  Service24,
57
65
  node27
58
- } from "./workspace-6qbtkmgq.js";
66
+ } from "./filesystem-tg0gd36c.js";
59
67
  import {
60
- Service28,
61
- node31
62
- } from "./workspace-jf7rv2bq.js";
63
- import {
64
- Service30,
65
- node33
66
- } from "./workspace-75sznh19.js";
68
+ Service26,
69
+ node30
70
+ } from "./filesystem-n5q96v35.js";
67
71
  import {
68
- Service20,
69
- node24
70
- } from "./workspace-811sm8q5.js";
71
- import {
72
- Service21,
73
- node25
74
- } from "./workspace-sy8vt3wj.js";
72
+ Service29,
73
+ node32
74
+ } from "./filesystem-gsdn6242.js";
75
75
  import {
76
- Service54,
77
- node56
78
- } from "./workspace-1vwr1yzz.js";
76
+ Service44,
77
+ node46
78
+ } from "./filesystem-ytj9cq62.js";
79
79
  import {
80
80
  __export
81
- } from "./workspace-9rqn6x4v.js";
81
+ } from "./filesystem-9rqn6x4v.js";
82
82
 
83
83
  // src/session/context.ts
84
84
  var exports_context = {};
85
85
  __export(exports_context, {
86
- Service: () => Service19,
86
+ Service: () => Service23,
87
87
  SessionContext: () => exports_context,
88
- node: () => node23
88
+ node: () => node26
89
89
  });
90
90
  import { Context, Effect, Layer } from "effect";
91
91
  import { makeLocationNode } from "@opencode/util/effect/app-node";
92
- class Service19 extends Context.Service()("@opencode/SessionContext") {
92
+ class Service23 extends Context.Service()("@opencode/SessionContext") {
93
93
  }
94
- var layer = Layer.effect(Service19, Effect.gen(function* () {
95
- const agents = yield* Service69;
96
- const builtins = yield* Service29;
97
- const model = yield* Service71;
94
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
95
+ const agents = yield* Service83;
96
+ const builtins = yield* Service27;
97
+ const model = yield* Service74;
98
98
  const db = (yield* Service86).db;
99
- const discovery = yield* Service40;
100
- const entries = yield* Service20;
101
- const location = yield* Service76;
102
- const mcpInstructions = yield* Service24;
103
- const mcpTools = yield* Service25;
104
- const models = yield* Service54;
105
- const request = yield* Service21;
106
- const referenceInstructions = yield* Service28;
107
- const skillInstructions = yield* Service30;
108
- const store = yield* Service66;
109
- const registry = yield* Service35;
99
+ const discovery = yield* Service47;
100
+ const entries = yield* Service26;
101
+ const location = yield* Service80;
102
+ const mcpInstructions = yield* Service31;
103
+ const mcpTools = yield* Service32;
104
+ const models = yield* Service44;
105
+ const request = yield* Service29;
106
+ const referenceInstructions = yield* Service35;
107
+ const skillInstructions = yield* Service24;
108
+ const store = yield* Service62;
109
+ const registry = yield* Service68;
110
110
  const resolveModel = (session) => models.resolve(session, model.available);
111
111
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
112
- const agent = yield* agents.get(ID10.make("title"));
112
+ const agent = yield* agents.get(ID17.make("title"));
113
113
  if (!agent)
114
114
  return;
115
115
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
191
191
  tools: selection.tools
192
192
  };
193
193
  });
194
- return Service19.of({ select, load, resolveModel, selectTitle, request });
194
+ return Service23.of({ select, load, resolveModel, selectTitle, request });
195
195
  }));
196
196
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
197
197
  var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
199
199
  const rank = (id) => info.variants.findIndex((item) => item.id === id);
200
200
  return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
201
201
  };
202
- var node23 = makeLocationNode({
203
- service: Service19,
202
+ var node26 = makeLocationNode({
203
+ service: Service23,
204
204
  layer,
205
205
  deps: [
206
- node71,
207
- node73,
206
+ node86,
207
+ node77,
208
208
  node90,
209
+ node31,
210
+ node49,
211
+ node30,
212
+ node83,
213
+ node34,
214
+ node35,
215
+ node38,
216
+ node46,
209
217
  node32,
210
- node43,
211
- node24,
212
- node80,
218
+ node64,
213
219
  node27,
214
- node28,
215
- node31,
216
- node56,
217
- node25,
218
- node68,
219
- node33,
220
- node38
220
+ node70
221
221
  ]
222
222
  });
223
223
 
224
- export { Service19, node23, exports_context };
224
+ export { Service23, node26, exports_context };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};