@opencode/core 0.0.0-dev-21592 → 0.0.0-dev-21603

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 (794) 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/{model-jx89vj1k.js → filesystem-033a0jkt.js} +3 -3
  8. package/dist/chunks/{model-aj7mw0zk.js → filesystem-034tev2y.js} +2 -2
  9. package/dist/chunks/{model-5z2mzmdm.js → filesystem-0kew33c2.js} +7 -7
  10. package/dist/chunks/{model-vssrn3v8.js → filesystem-0s34gk3x.js} +8 -8
  11. package/dist/chunks/{model-jgp3dhd9.js → filesystem-0t2efqex.js} +45 -45
  12. package/dist/chunks/{model-x78b4590.js → filesystem-116ca35p.js} +24 -24
  13. package/dist/chunks/{model-g56hrhg3.js → filesystem-1byvm3vx.js} +9 -9
  14. package/dist/chunks/{model-t25nhsq0.js → filesystem-1c8e1z5t.js} +5 -5
  15. package/dist/chunks/{model-27w5k9zf.js → filesystem-1ep2p91f.js} +2 -2
  16. package/dist/chunks/{model-4qc2xvk6.js → filesystem-1tpn6myv.js} +36 -36
  17. package/dist/chunks/{model-vmwcq5xv.js → filesystem-1w51vxkz.js} +13 -13
  18. package/dist/chunks/{model-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
  19. package/dist/chunks/{model-wqscedq8.js → filesystem-1y0wdj51.js} +4 -4
  20. package/dist/chunks/{model-s2gphw67.js → filesystem-22qxr633.js} +19 -19
  21. package/dist/chunks/{model-b5q9zetx.js → filesystem-2bxs16p1.js} +47 -47
  22. package/dist/chunks/{model-ggyjb5de.js → filesystem-2f3z3cr8.js} +337 -337
  23. package/dist/chunks/{model-ct02k7de.js → filesystem-2j6zzxrf.js} +5 -5
  24. package/dist/chunks/{model-k1whs75x.js → filesystem-2n0h6mem.js} +11 -11
  25. package/dist/chunks/{model-8xsxb202.js → filesystem-2q14gge3.js} +27 -27
  26. package/dist/chunks/{model-gwprnrgv.js → filesystem-2qc03bdv.js} +14 -14
  27. package/dist/chunks/{model-4txkrg0g.js → filesystem-2xm0hnd3.js} +11 -11
  28. package/dist/chunks/{model-2z1j29yd.js → filesystem-2z1j29yd.js} +1 -1
  29. package/dist/chunks/{model-srsshwrf.js → filesystem-32tacxf9.js} +4 -4
  30. package/dist/chunks/{model-df6r7s43.js → filesystem-3af2h6f6.js} +18 -18
  31. package/dist/chunks/{model-0q0he6s7.js → filesystem-3dedk1s0.js} +28 -28
  32. package/dist/chunks/{model-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{model-egmw08v6.js → filesystem-3k4jc8v0.js} +5 -5
  34. package/dist/chunks/{model-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
  35. package/dist/chunks/{model-9g5n6tdw.js → filesystem-3trpca19.js} +12 -12
  36. package/dist/chunks/{model-8jxvmzrw.js → filesystem-3v1362xg.js} +25 -25
  37. package/dist/chunks/{model-d2r51erv.js → filesystem-43jry69q.js} +8 -8
  38. package/dist/chunks/{model-4hwp5n1a.js → filesystem-4ap0d51q.js} +6 -6
  39. package/dist/chunks/{model-wb79839p.js → filesystem-4b4zxyy8.js} +9 -9
  40. package/dist/chunks/{model-g88zdbhx.js → filesystem-4ef8bwn9.js} +14 -14
  41. package/dist/chunks/{model-pngkbba6.js → filesystem-4k0n4aqd.js} +31 -31
  42. package/dist/chunks/{model-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
  43. package/dist/chunks/{model-4xvmh7wp.js → filesystem-4xvmh7wp.js} +3 -3
  44. package/dist/chunks/{model-gprpk8mk.js → filesystem-4y366mta.js} +4 -4
  45. package/dist/chunks/{model-a49bexj4.js → filesystem-57r3w4mg.js} +35 -35
  46. package/dist/chunks/{model-5jp10723.js → filesystem-5ajak8ts.js} +45 -45
  47. package/dist/chunks/{model-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
  48. package/dist/chunks/{model-hnbfgrzz.js → filesystem-5s0q14pj.js} +8 -8
  49. package/dist/chunks/{model-g4y1xy0d.js → filesystem-5wkrvrk3.js} +24 -24
  50. package/dist/chunks/{model-5zrxpy3q.js → filesystem-5zrxpy3q.js} +1 -1
  51. package/dist/chunks/{model-f1nzbf19.js → filesystem-61g7nd3s.js} +9 -9
  52. package/dist/chunks/{model-w47q07ee.js → filesystem-65k60evq.js} +5 -5
  53. package/dist/chunks/{model-5bj5kag9.js → filesystem-6825m99s.js} +20 -20
  54. package/dist/chunks/{model-5zfr5p9e.js → filesystem-6cxhfye1.js} +28 -28
  55. package/dist/chunks/{model-6esdw8yj.js → filesystem-6esdw8yj.js} +1 -1
  56. package/dist/chunks/{model-67zb0nc8.js → filesystem-6je74zf0.js} +16 -16
  57. package/dist/chunks/{model-6pjqjmy2.js → filesystem-6pjqjmy2.js} +1 -1
  58. package/dist/chunks/{model-x0n658k6.js → filesystem-6w1z0afp.js} +120 -48
  59. package/dist/chunks/{model-cw8gdmwg.js → filesystem-6xsqtwm9.js} +38 -38
  60. package/dist/chunks/{model-nah043kf.js → filesystem-770pw0s1.js} +4 -4
  61. package/dist/chunks/{model-q39pt7dd.js → filesystem-79yxn91x.js} +17 -17
  62. package/dist/chunks/{model-zgmrepvs.js → filesystem-7ag3s6hb.js} +4 -4
  63. package/dist/chunks/{model-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{model-e88dgn8f.js → filesystem-7csthhj8.js} +4 -4
  65. package/dist/chunks/{model-6vm2p5a1.js → filesystem-7e5ts14b.js} +18 -18
  66. package/dist/chunks/{model-a6strf84.js → filesystem-7f5nwzj1.js} +20 -20
  67. package/dist/chunks/{model-kw3tz860.js → filesystem-7fvw33xg.js} +12 -12
  68. package/dist/chunks/{model-6nb4ea3p.js → filesystem-7h2wc5qt.js} +16 -16
  69. package/dist/chunks/{model-ts1rzmt6.js → filesystem-7he63rq2.js} +5 -5
  70. package/dist/chunks/{model-mr3cdd38.js → filesystem-7k3s3q4g.js} +32 -32
  71. package/dist/chunks/{model-tq4xd5v5.js → filesystem-7kvsvhsr.js} +8 -8
  72. package/dist/chunks/{model-chrqa3e7.js → filesystem-7n2s0hvn.js} +5 -5
  73. package/dist/chunks/{model-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
  74. package/dist/chunks/{model-czhx5hsv.js → filesystem-7zaqb5eb.js} +11 -11
  75. package/dist/chunks/{model-5newpn23.js → filesystem-81852ppe.js} +28 -28
  76. package/dist/chunks/filesystem-87sqwm80.js +18 -0
  77. package/dist/chunks/{model-mvthmwjs.js → filesystem-8fg642az.js} +5 -5
  78. package/dist/chunks/{model-q0qwz8mp.js → filesystem-8j62s4y7.js} +32 -32
  79. package/dist/chunks/{model-99h9c51m.js → filesystem-8k7htary.js} +7 -7
  80. package/dist/chunks/{model-tjfc794x.js → filesystem-8p2axgtb.js} +14 -14
  81. package/dist/chunks/{model-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
  82. package/dist/chunks/{model-s64sqv58.js → filesystem-8wxy6m1c.js} +10 -10
  83. package/dist/chunks/{model-nv65jaj5.js → filesystem-8xs7txxn.js} +1 -1
  84. package/dist/chunks/{model-91rj84md.js → filesystem-91rj84md.js} +1 -1
  85. package/dist/chunks/{model-741bc9hj.js → filesystem-93cw99tk.js} +43 -43
  86. package/dist/chunks/{model-bkswmhj3.js → filesystem-942936k7.js} +48 -48
  87. package/dist/chunks/{model-dvj9ct8m.js → filesystem-998yhzzq.js} +3 -3
  88. package/dist/chunks/{model-vvf0vm2n.js → filesystem-9d47vacw.js} +17 -17
  89. package/dist/chunks/{model-fhzt8j0q.js → filesystem-9dzxay90.js} +20 -20
  90. package/dist/chunks/{model-a1bvjvf9.js → filesystem-9e4mvsvc.js} +43 -43
  91. package/dist/chunks/filesystem-9jjtdp7g.js +26 -0
  92. package/dist/chunks/{model-20d9rxq1.js → filesystem-a0pqy3jv.js} +11 -11
  93. package/dist/chunks/{model-j2gfe9ae.js → filesystem-a9mr4pbf.js} +29 -29
  94. package/dist/chunks/{model-wtgq8nqm.js → filesystem-an558sqv.js} +7 -7
  95. package/dist/chunks/{model-q9g9j9gh.js → filesystem-axbw4nz1.js} +21 -21
  96. package/dist/chunks/{model-3cbjf1nt.js → filesystem-ayjs7tqn.js} +2 -2
  97. package/dist/chunks/{model-4k6phjpp.js → filesystem-azwwy65a.js} +16 -16
  98. package/dist/chunks/{model-b0mv4wxm.js → filesystem-b0mv4wxm.js} +2 -2
  99. package/dist/chunks/{model-gtndzxs8.js → filesystem-b4rme3tx.js} +6 -6
  100. package/dist/chunks/{model-mrmbr746.js → filesystem-b55rpsr5.js} +4 -4
  101. package/dist/chunks/{model-qgeehj15.js → filesystem-b6kqqew2.js} +5 -5
  102. package/dist/chunks/{model-b6vsg801.js → filesystem-b6vsg801.js} +2 -2
  103. package/dist/chunks/{model-01j7rzmr.js → filesystem-bcrvt9qa.js} +63 -63
  104. package/dist/chunks/{model-nyzphh1c.js → filesystem-be4y46ka.js} +15 -15
  105. package/dist/chunks/{model-78q1pp3f.js → filesystem-bhk5af8b.js} +19 -19
  106. package/dist/chunks/{model-2eqnzn4s.js → filesystem-bmk2h0av.js} +10 -10
  107. package/dist/chunks/{model-321ec0g4.js → filesystem-bmz6t6pq.js} +16 -16
  108. package/dist/chunks/{model-zw8we4s7.js → filesystem-bps13hr4.js} +13 -13
  109. package/dist/chunks/{model-bstexjd6.js → filesystem-bstexjd6.js} +1 -1
  110. package/dist/chunks/{model-nar1vcx8.js → filesystem-c1xd845s.js} +11 -11
  111. package/dist/chunks/{model-zrcjrc8a.js → filesystem-c3mghmzq.js} +21 -21
  112. package/dist/chunks/{model-pn50smkw.js → filesystem-c3rhye5x.js} +21 -21
  113. package/dist/chunks/{model-fzj23b6d.js → filesystem-cash41ab.js} +17 -17
  114. package/dist/chunks/{model-rb6ke7kq.js → filesystem-cc5x4asw.js} +22 -22
  115. package/dist/chunks/{model-8633aewc.js → filesystem-cd9vvngm.js} +2 -2
  116. package/dist/chunks/{model-fa339sjc.js → filesystem-cp6v88n8.js} +28 -28
  117. package/dist/chunks/{model-anx7ry72.js → filesystem-d0adv3wn.js} +4 -4
  118. package/dist/chunks/{model-szqbbbee.js → filesystem-d4r2kcv6.js} +44 -44
  119. package/dist/chunks/{model-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
  120. package/dist/chunks/{model-gy8yxpp1.js → filesystem-d5rem3a1.js} +10 -10
  121. package/dist/chunks/{model-wzdjcsat.js → filesystem-dt3jkxpv.js} +15 -15
  122. package/dist/chunks/{model-p4h2267x.js → filesystem-dvebtgfn.js} +18 -18
  123. package/dist/chunks/{model-e834z07m.js → filesystem-e834z07m.js} +1 -1
  124. package/dist/chunks/{model-gxtyjb3d.js → filesystem-ea8rv3yk.js} +19 -19
  125. package/dist/chunks/{model-bn4a103g.js → filesystem-ed5h55sq.js} +19 -19
  126. package/dist/chunks/{model-r07gp9b9.js → filesystem-edpv0694.js} +4 -4
  127. package/dist/chunks/{model-g8vb2scg.js → filesystem-edvrbgb7.js} +9 -9
  128. package/dist/chunks/{model-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{model-hhwb3rx0.js → filesystem-ek8mq45z.js} +20 -20
  130. package/dist/chunks/{model-b67zw2j5.js → filesystem-epqb75p6.js} +10 -10
  131. package/dist/chunks/{model-953xbrr3.js → filesystem-eq3fc1qc.js} +5 -5
  132. package/dist/chunks/{model-bzr0y705.js → filesystem-esjx5599.js} +13 -13
  133. package/dist/chunks/{model-adpvjdsc.js → filesystem-ewt411c3.js} +24 -24
  134. package/dist/chunks/{model-c1hv1ece.js → filesystem-exnmcfra.js} +14 -14
  135. package/dist/chunks/{model-4w20wkzz.js → filesystem-f17hsh48.js} +14 -14
  136. package/dist/chunks/{model-mbqkgzdb.js → filesystem-f2de68n6.js} +3 -3
  137. package/dist/chunks/{model-vd89anp8.js → filesystem-f5pe5xbd.js} +11 -11
  138. package/dist/chunks/{model-pa0vwm8c.js → filesystem-fartem3k.js} +17 -17
  139. package/dist/chunks/{model-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
  140. package/dist/chunks/{model-na88mdda.js → filesystem-fjqbqs01.js} +17 -17
  141. package/dist/chunks/{model-gc9zf11p.js → filesystem-fx5d1n8y.js} +2 -2
  142. package/dist/chunks/{model-0h8y3ex8.js → filesystem-fznmdakp.js} +4 -4
  143. package/dist/chunks/{model-fsq1pbsz.js → filesystem-g1sdaffb.js} +30 -30
  144. package/dist/chunks/{model-g5h9c0rr.js → filesystem-g5h9c0rr.js} +2 -2
  145. package/dist/chunks/{model-yqveydy6.js → filesystem-gc4rcfsx.js} +4 -4
  146. package/dist/chunks/{model-5cm23gk5.js → filesystem-ggdzy5vb.js} +13 -13
  147. package/dist/chunks/{model-51481qqa.js → filesystem-ggm2jm67.js} +12 -12
  148. package/dist/chunks/{model-tvs942hr.js → filesystem-gkkwf9ek.js} +23 -23
  149. package/dist/chunks/{model-vfpfqbnz.js → filesystem-gmxp0tf2.js} +32 -32
  150. package/dist/chunks/filesystem-h15n1nxh.js +257 -0
  151. package/dist/chunks/{model-tee140je.js → filesystem-hj2jsaw9.js} +21 -22
  152. package/dist/chunks/{model-jfb254mg.js → filesystem-hw3tvpxd.js} +13 -13
  153. package/dist/chunks/{model-pkax9v1w.js → filesystem-hx2kfbk2.js} +7 -7
  154. package/dist/chunks/{model-j113cymg.js → filesystem-j113cymg.js} +1 -1
  155. package/dist/chunks/{model-072q16cb.js → filesystem-jghabtcw.js} +28 -28
  156. package/dist/chunks/{model-d6gm4j52.js → filesystem-jgmj0zrj.js} +43 -43
  157. package/dist/chunks/{model-jfgmzhvh.js → filesystem-jhe7xhev.js} +36 -36
  158. package/dist/chunks/{model-jchrqzf6.js → filesystem-jneg3k74.js} +4 -4
  159. package/dist/chunks/{model-z6g09nf1.js → filesystem-jr7k77qs.js} +3 -3
  160. package/dist/chunks/{model-vrmm9ccr.js → filesystem-jx3jy26a.js} +14 -14
  161. package/dist/chunks/{model-sxj6qfjf.js → filesystem-jzckctm7.js} +27 -27
  162. package/dist/chunks/{model-5g6946ns.js → filesystem-k0rz3mv5.js} +21 -21
  163. package/dist/chunks/{model-g154atg6.js → filesystem-k2swmk98.js} +18 -18
  164. package/dist/chunks/{model-72g5xjtf.js → filesystem-k4p9vzj4.js} +6 -6
  165. package/dist/chunks/{model-k814nvkf.js → filesystem-k814nvkf.js} +1 -1
  166. package/dist/chunks/{model-8zzv4zj8.js → filesystem-kmx603z6.js} +50 -50
  167. package/dist/chunks/{model-9kg5w032.js → filesystem-kmzgegqq.js} +8 -8
  168. package/dist/chunks/{model-mkrzd24w.js → filesystem-kw88awxx.js} +22 -22
  169. package/dist/chunks/{model-3vq194ty.js → filesystem-kybr559y.js} +18 -18
  170. package/dist/chunks/{model-0xg995h5.js → filesystem-m07e8bkf.js} +18 -18
  171. package/dist/chunks/{model-m1714858.js → filesystem-m1714858.js} +1 -1
  172. package/dist/chunks/{model-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{model-66r9f6z1.js → filesystem-ma48de29.js} +5 -5
  174. package/dist/chunks/{model-maspj1v3.js → filesystem-maspj1v3.js} +1 -1
  175. package/dist/chunks/{model-m1wmrjqx.js → filesystem-mgd76wh1.js} +15 -15
  176. package/dist/chunks/{model-dqgvvwe0.js → filesystem-mmkbt6v3.js} +9 -9
  177. package/dist/chunks/{model-qxerc9ee.js → filesystem-mqqgcg93.js} +4 -4
  178. package/dist/chunks/{model-c9t2ty9q.js → filesystem-mtkfycnh.js} +4 -4
  179. package/dist/chunks/{model-cbvv1y68.js → filesystem-my4zabxr.js} +3 -3
  180. package/dist/chunks/{model-n0p0277s.js → filesystem-n0p0277s.js} +1 -1
  181. package/dist/chunks/{model-7ye4ae45.js → filesystem-nad4mkqt.js} +8 -8
  182. package/dist/chunks/{model-wtnsyy90.js → filesystem-ndfn0p5e.js} +24 -24
  183. package/dist/chunks/{model-92m6938h.js → filesystem-nftmt6w7.js} +18 -18
  184. package/dist/chunks/{model-784fke7s.js → filesystem-nh58hc9m.js} +83 -83
  185. package/dist/chunks/{model-ddq31bgq.js → filesystem-nt6ka9fm.js} +15 -15
  186. package/dist/chunks/{model-99frgwf9.js → filesystem-ntshrafh.js} +19 -19
  187. package/dist/chunks/{model-54bbrvq7.js → filesystem-nv7qnqx3.js} +11 -11
  188. package/dist/chunks/{model-jj73fkkr.js → filesystem-nzhn8ym0.js} +18 -18
  189. package/dist/chunks/{model-p015t6z3.js → filesystem-p015t6z3.js} +2 -2
  190. package/dist/chunks/{model-0n48jksk.js → filesystem-p1qvkr9d.js} +32 -32
  191. package/dist/chunks/{model-hwbsae6b.js → filesystem-p53t1m50.js} +32 -32
  192. package/dist/chunks/{model-d1rt1382.js → filesystem-p6brcwvv.js} +5 -5
  193. package/dist/chunks/{model-15v1gk62.js → filesystem-pe681sea.js} +32 -32
  194. package/dist/chunks/{model-pknna89w.js → filesystem-pknna89w.js} +1 -1
  195. package/dist/chunks/{model-c6sr2qh2.js → filesystem-pmr385ej.js} +11 -11
  196. package/dist/chunks/{model-3pj39t0e.js → filesystem-ps833y8c.js} +6 -6
  197. package/dist/chunks/{model-9437wt4d.js → filesystem-pta84ypa.js} +8 -8
  198. package/dist/chunks/{model-vf0zxygw.js → filesystem-pvg6n8yd.js} +26 -26
  199. package/dist/chunks/{model-63jssr0d.js → filesystem-pyeqa8z9.js} +15 -15
  200. package/dist/chunks/{model-4v9wqr06.js → filesystem-q0d1t4r8.js} +24 -24
  201. package/dist/chunks/{model-c3zdnxfx.js → filesystem-q45ckesn.js} +31 -31
  202. package/dist/chunks/{model-8jztxfpf.js → filesystem-qjgzc4b4.js} +4 -4
  203. package/dist/chunks/{model-q1nnka74.js → filesystem-qjhdweq9.js} +8 -8
  204. package/dist/chunks/{model-9nw8ck4g.js → filesystem-qmhe942t.js} +4 -4
  205. package/dist/chunks/{model-272c0xdt.js → filesystem-qnm4ee5f.js} +3 -3
  206. package/dist/chunks/{model-n4qksct9.js → filesystem-qxd0vyyx.js} +9 -9
  207. package/dist/chunks/{model-r0yr0wbs.js → filesystem-r0yr0wbs.js} +1 -1
  208. package/dist/chunks/{model-se9dn7rd.js → filesystem-r2skbm8f.js} +9 -9
  209. package/dist/chunks/{model-w2eysc6j.js → filesystem-r41sfy63.js} +6 -6
  210. package/dist/chunks/{model-6jpgtjve.js → filesystem-r5q168xg.js} +54 -54
  211. package/dist/chunks/{model-z0s5rknz.js → filesystem-r66x192s.js} +35 -35
  212. package/dist/chunks/{model-dkq45v8d.js → filesystem-r6wgv8c9.js} +2 -2
  213. package/dist/chunks/{model-gn6ba7xn.js → filesystem-r7bm2ta5.js} +6 -6
  214. package/dist/chunks/{model-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
  215. package/dist/chunks/{model-qq9tt1td.js → filesystem-rbj8gs5v.js} +3 -3
  216. package/dist/chunks/{model-vdakd0pn.js → filesystem-rfytqs76.js} +86 -86
  217. package/dist/chunks/{model-xet4rz3q.js → filesystem-rhkbbz1f.js} +6 -6
  218. package/dist/chunks/{model-prv1cyb1.js → filesystem-rntrk4q6.js} +18 -18
  219. package/dist/chunks/{model-zba5tm1j.js → filesystem-rrad2nt9.js} +4 -4
  220. package/dist/chunks/{model-g8bt1dca.js → filesystem-rs61zdpp.js} +9 -9
  221. package/dist/chunks/{model-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
  222. package/dist/chunks/{model-bq891ma8.js → filesystem-s0jq7590.js} +17 -17
  223. package/dist/chunks/{model-wsjw5zph.js → filesystem-s1w5fnqx.js} +21 -21
  224. package/dist/chunks/{model-6hfnb0rs.js → filesystem-s4s6vne1.js} +7 -7
  225. package/dist/chunks/{model-sysqhah2.js → filesystem-shzcewxt.js} +14 -14
  226. package/dist/chunks/{model-jj9caqwr.js → filesystem-spa8vgy8.js} +5 -5
  227. package/dist/chunks/{model-sqjzf8x2.js → filesystem-sqjzf8x2.js} +1 -1
  228. package/dist/chunks/{model-n6v2b7cw.js → filesystem-szcgc7h4.js} +5 -5
  229. package/dist/chunks/{model-0e0jgjy9.js → filesystem-t0861qrz.js} +11 -11
  230. package/dist/chunks/{model-t656wjzj.js → filesystem-t2wr9q9z.js} +13 -13
  231. package/dist/chunks/{model-9nkjg9qd.js → filesystem-t7e7c0ah.js} +6 -6
  232. package/dist/chunks/{model-8sxdqgb0.js → filesystem-tasvem1v.js} +6 -6
  233. package/dist/chunks/{model-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
  234. package/dist/chunks/{model-tw8zr1ps.js → filesystem-tw8zr1ps.js} +1 -1
  235. package/dist/chunks/{model-twv2r8f4.js → filesystem-twv2r8f4.js} +2 -2
  236. package/dist/chunks/{model-340hmagq.js → filesystem-ty2sm10g.js} +2 -2
  237. package/dist/chunks/{model-kgex5j78.js → filesystem-v11fj23z.js} +11 -11
  238. package/dist/chunks/{model-me5bcav6.js → filesystem-v2r1d0zg.js} +2 -2
  239. package/dist/chunks/{model-1r91ydea.js → filesystem-v6ssz0w4.js} +4 -4
  240. package/dist/chunks/{model-7bjqyjrs.js → filesystem-v714my2j.js} +36 -36
  241. package/dist/chunks/{model-6f9z7j1v.js → filesystem-v7ecd1j3.js} +17 -17
  242. package/dist/chunks/{model-kmfx2698.js → filesystem-vck145x8.js} +17 -17
  243. package/dist/chunks/{model-vd3b3yk9.js → filesystem-vd3b3yk9.js} +1 -1
  244. package/dist/chunks/{model-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
  245. package/dist/chunks/{model-eqh43b5v.js → filesystem-vgk61ywp.js} +9 -9
  246. package/dist/chunks/{model-m37sd98t.js → filesystem-vmfhgzt5.js} +4 -4
  247. package/dist/chunks/{model-sztxty7m.js → filesystem-vq1p6kkc.js} +23 -23
  248. package/dist/chunks/{model-rjnacbrz.js → filesystem-vrcsa8qx.js} +9 -9
  249. package/dist/chunks/{model-g1ay4zd8.js → filesystem-vzmjdaw1.js} +9 -9
  250. package/dist/chunks/{model-35s4j9cr.js → filesystem-w0ng8sb4.js} +14 -14
  251. package/dist/chunks/{model-zf6q9j4p.js → filesystem-w3hdzqmq.js} +9 -9
  252. package/dist/chunks/{model-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{model-r6h7fdbc.js → filesystem-w4ey5q3y.js} +21 -21
  254. package/dist/chunks/{model-4pr8e29t.js → filesystem-w65kmk12.js} +15 -15
  255. package/dist/chunks/{model-jg5w3cjw.js → filesystem-w6e33p3k.js} +12 -12
  256. package/dist/chunks/{model-w8qtt4th.js → filesystem-w8qtt4th.js} +1 -1
  257. package/dist/chunks/{model-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
  258. package/dist/chunks/{model-wd87259q.js → filesystem-wd87259q.js} +1 -1
  259. package/dist/chunks/{model-6r1yb0s4.js → filesystem-wh56f0xg.js} +14 -14
  260. package/dist/chunks/{model-9zpxcqdf.js → filesystem-wxf6pp3z.js} +32 -32
  261. package/dist/chunks/{model-5fsc8n82.js → filesystem-xcspg1bc.js} +10 -10
  262. package/dist/chunks/{model-0b8de6ew.js → filesystem-xh3hzw7q.js} +8 -8
  263. package/dist/chunks/{model-mq0mqgjr.js → filesystem-xrd94v26.js} +11 -11
  264. package/dist/chunks/{model-nfaaxv4r.js → filesystem-xs9f9c89.js} +18 -18
  265. package/dist/chunks/{model-raktd10s.js → filesystem-xw9sjbq7.js} +23 -23
  266. package/dist/chunks/{model-m7jmd0hd.js → filesystem-xxecem69.js} +26 -26
  267. package/dist/chunks/{model-0canpjbz.js → filesystem-xxwqbg00.js} +30 -30
  268. package/dist/chunks/{model-bhzsakrn.js → filesystem-y6v2r02b.js} +104 -62
  269. package/dist/chunks/{model-ttdgtk4q.js → filesystem-y9xrhqjb.js} +4 -4
  270. package/dist/chunks/{model-zvrj69sk.js → filesystem-ya1e3r6x.js} +20 -20
  271. package/dist/chunks/{model-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
  272. package/dist/chunks/{model-n8hmsfpk.js → filesystem-yjzq9vex.js} +29 -29
  273. package/dist/chunks/{model-21vv1a77.js → filesystem-ypxm9172.js} +4 -4
  274. package/dist/chunks/{model-vkkc8t8a.js → filesystem-yyn8wt6y.js} +9 -9
  275. package/dist/chunks/{model-td85jp64.js → filesystem-yznjjmbw.js} +192 -192
  276. package/dist/chunks/{model-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{model-891v6h49.js → filesystem-z2g46f5b.js} +4 -4
  278. package/dist/chunks/{model-z38nccrw.js → filesystem-z38nccrw.js} +1 -1
  279. package/dist/chunks/{model-xeaspr23.js → filesystem-z5hhap5m.js} +7 -7
  280. package/dist/chunks/{model-w8a1jqtz.js → filesystem-ze4vdf9h.js} +1 -1
  281. package/dist/chunks/{model-nxv9x1zm.js → filesystem-zj8h54zn.js} +7 -7
  282. package/dist/chunks/{model-pz0r8h4k.js → filesystem-zjbp7710.js} +35 -35
  283. package/dist/chunks/{model-zkg84ctx.js → filesystem-zkg84ctx.js} +1 -1
  284. package/dist/chunks/{model-7bw1g6gn.js → filesystem-zkgq49d1.js} +4 -4
  285. package/dist/chunks/{model-1w4vqh2t.js → filesystem-zmwx25fz.js} +2 -2
  286. package/dist/chunks/{model-j9qw6n70.js → filesystem-zqe6np9v.js} +42 -42
  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 +87 -87
  292. package/dist/config/discovery.js +84 -84
  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 +116 -116
  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 +118 -118
  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 +117 -117
  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 +117 -117
  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 +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  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 +95 -95
  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 +6 -6
  422. package/dist/filesystem/location-watcher.js +225 -225
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +99 -99
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +9 -9
  427. package/dist/filesystem.js +104 -104
  428. package/dist/form.js +72 -72
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +105 -105
  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 +101 -101
  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 +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +91 -91
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +73 -73
  464. package/dist/location-activity.js +156 -156
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  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 +112 -105
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +140 -140
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/socket-client.js +71 -0
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  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 +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +111 -111
  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 +88 -88
  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 +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  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 +116 -116
  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 +7 -7
  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 +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +90 -90
  563. package/dist/provider.js +101 -101
  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 +91 -91
  568. package/dist/reference.js +89 -89
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  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 +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +134 -134
  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 +128 -128
  585. package/dist/session/generate.js +164 -164
  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 +120 -120
  595. package/dist/session/model-transport.js +7 -7
  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 +5 -5
  611. package/dist/session/session.js +165 -165
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  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 +3 -3
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +216 -216
  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 +110 -110
  633. package/dist/snapshot.js +93 -93
  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 +139 -139
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  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 +125 -125
  647. package/dist/tool/plugin/shell.js +217 -217
  648. package/dist/tool/plugin/skill.js +115 -115
  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 +107 -107
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +104 -104
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/types/mcp/client.d.ts +7 -2
  659. package/dist/types/mcp/index.d.ts +8 -1
  660. package/dist/types/mcp/socket-client.d.ts +28 -0
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +3 -3
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +1 -1
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +86 -86
  680. package/dist/websearch.js +84 -84
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +3 -3
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +82 -82
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +100 -100
  691. package/package.json +8 -8
  692. package/dist/chunks/model-6f6jf5mb.js +0 -26
  693. package/dist/chunks/model-grzehpz7.js +0 -18
  694. package/dist/chunks/model-wvqgfgh4.js +0 -257
  695. /package/dist/chunks/{model-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{model-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{model-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{model-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{model-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{model-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{model-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{model-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{model-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{model-3asan66x.js → filesystem-3asan66x.js} +0 -0
  705. /package/dist/chunks/{model-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{model-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{model-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{model-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{model-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{model-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{model-53557ph1.js → filesystem-53557ph1.js} +0 -0
  712. /package/dist/chunks/{model-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{model-5fjb7ams.js → filesystem-5fjb7ams.js} +0 -0
  714. /package/dist/chunks/{model-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{model-6prwharc.js → filesystem-6prwharc.js} +0 -0
  716. /package/dist/chunks/{model-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{model-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{model-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{model-822emrt2.js → filesystem-822emrt2.js} +0 -0
  720. /package/dist/chunks/{model-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{model-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{model-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{model-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{model-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{model-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{model-a058387c.js → filesystem-a058387c.js} +0 -0
  727. /package/dist/chunks/{model-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{model-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{model-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{model-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{model-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{model-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{model-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{model-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{model-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{model-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{model-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{model-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{model-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{model-df08tz66.js → filesystem-df08tz66.js} +0 -0
  741. /package/dist/chunks/{model-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{model-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{model-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{model-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{model-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{model-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{model-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{model-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{model-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{model-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{model-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{model-g86h250q.js → filesystem-g86h250q.js} +0 -0
  753. /package/dist/chunks/{model-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{model-gftt206x.js → filesystem-gftt206x.js} +0 -0
  755. /package/dist/chunks/{model-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{model-hk9envan.js → filesystem-hk9envan.js} +0 -0
  757. /package/dist/chunks/{model-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{model-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{model-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{model-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{model-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{model-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{model-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{model-m18g726c.js → filesystem-m18g726c.js} +0 -0
  765. /package/dist/chunks/{model-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{model-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{model-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{model-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{model-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{model-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{model-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{model-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{model-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{model-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{model-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{model-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{model-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{model-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{model-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{model-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{model-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{model-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{model-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{model-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{model-wjj7prxr.js → filesystem-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{model-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{model-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{model-x61499pn.js → filesystem-x61499pn.js} +0 -0
  789. /package/dist/chunks/{model-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{model-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{model-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{model-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{model-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{model-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -2,31 +2,31 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service36
6
- } from "./model-x0n658k6.js";
5
+ Service27
6
+ } from "./filesystem-6w1z0afp.js";
7
7
  import {
8
- Service57
9
- } from "./model-d6gm4j52.js";
8
+ Service67
9
+ } from "./filesystem-jgmj0zrj.js";
10
10
  import {
11
11
  MEDIA_MIMES2
12
- } from "./model-gxtyjb3d.js";
12
+ } from "./filesystem-ea8rv3yk.js";
13
13
  import {
14
14
  __export
15
- } from "./model-9rqn6x4v.js";
15
+ } from "./filesystem-9rqn6x4v.js";
16
16
 
17
17
  // src/tool/plugin/mcp-resource.ts
18
18
  var exports_mcp_resource = {};
19
19
  __export(exports_mcp_resource, {
20
20
  McpResourceTools: () => exports_mcp_resource,
21
- Plugin: () => Plugin31
21
+ Plugin: () => Plugin11
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
- var Plugin31 = {
25
+ var Plugin11 = {
26
26
  id: "opencode.tools.mcp-resources",
27
27
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
28
- const mcp = yield* Service36;
29
- const permission = yield* Service57;
28
+ const mcp = yield* Service27;
29
+ const permission = yield* Service67;
30
30
  yield* ctx.tool.transform((editor) => {
31
31
  editor.add({
32
32
  name: "list_mcp_resources",
@@ -96,4 +96,4 @@ var Plugin31 = {
96
96
  })
97
97
  };
98
98
 
99
- export { Plugin31, exports_mcp_resource };
99
+ export { Plugin11, exports_mcp_resource };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./model-a1bvjvf9.js";
2
+ Service80,
3
+ node84
4
+ } from "./filesystem-9e4mvsvc.js";
5
5
  import {
6
6
  __export
7
- } from "./model-9rqn6x4v.js";
7
+ } from "./filesystem-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info26,
12
+ Info: () => Info23,
13
13
  Location: () => exports_location,
14
- Ref: () => Ref4,
15
- Service: () => Service81,
14
+ Ref: () => Ref3,
15
+ Service: () => Service79,
16
16
  boundNode: () => boundNode2,
17
- node: () => node85,
17
+ node: () => node83,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info26, Ref as Ref4, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info23, Ref as Ref3, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service81 extends Context.Service()("@opencode/Location") {
24
+ class Service79 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node85 = LayerNode.unbound(Service81, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
28
- const project = yield* Service82;
26
+ var node83 = LayerNode.unbound(Service79, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
28
+ const project = yield* Service80;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service81.of({
30
+ return Service79.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service81,
38
+ service: Service79,
39
39
  layer: layer(ref),
40
- deps: [node86]
40
+ deps: [node84]
41
41
  });
42
42
 
43
- export { Info26, Ref4, response2, Service81, node85, boundNode2, exports_location };
43
+ export { Info23, Ref3, response2, Service79, node83, boundNode2, exports_location };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service49
3
- } from "./model-4k6phjpp.js";
2
+ Service52
3
+ } from "./filesystem-azwwy65a.js";
4
4
  import {
5
- Service81
6
- } from "./model-pa0vwm8c.js";
5
+ Service79
6
+ } from "./filesystem-fartem3k.js";
7
7
  import {
8
- Service48
9
- } from "./model-j9qw6n70.js";
8
+ Service51
9
+ } from "./filesystem-zqe6np9v.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./model-jchrqzf6.js";
12
+ } from "./filesystem-jneg3k74.js";
13
13
  import {
14
14
  File2,
15
- Service55
16
- } from "./model-tvs942hr.js";
15
+ Service76
16
+ } from "./filesystem-gkkwf9ek.js";
17
17
  import {
18
18
  __export
19
- } from "./model-9rqn6x4v.js";
19
+ } from "./filesystem-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin17
25
+ Plugin: () => Plugin46
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin17 = define({
34
+ var Plugin46 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service55;
37
+ const discovery = yield* Service76;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service48;
39
+ const config = yield* Service51;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service81;
44
- const watcher = yield* Service49;
43
+ const location = yield* Service79;
44
+ const watcher = yield* Service52;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -174,4 +174,4 @@ function isUrl(source) {
174
174
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
175
175
  }
176
176
 
177
- export { Plugin17, exports_instruction };
177
+ export { Plugin46, exports_instruction };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  kept2
3
- } from "./model-me5bcav6.js";
3
+ } from "./filesystem-v2r1d0zg.js";
4
4
  import {
5
5
  NativeWindow2
6
- } from "./model-99h9c51m.js";
6
+ } from "./filesystem-8k7htary.js";
7
7
 
8
8
  // src/session/runner/to-llm-message.ts
9
9
  import {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/unavailable.ts
6
6
  var exports_unavailable = {};
7
7
  __export(exports_unavailable, {
8
8
  EnvironmentUnavailable: () => exports_unavailable,
9
- layer: () => layer7,
9
+ layer: () => layer5,
10
10
  spawner: () => spawner2
11
11
  });
12
12
  import { Effect, Layer, PlatformError } from "effect";
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
17
17
  method: "spawn",
18
18
  description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
19
19
  })));
20
- var layer7 = Layer.succeed(ChildProcessSpawner, spawner2);
20
+ var layer5 = Layer.succeed(ChildProcessSpawner, spawner2);
21
21
 
22
- export { spawner2, layer7, exports_unavailable };
22
+ export { spawner2, layer5, exports_unavailable };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./model-z5v4ffb3.js";
5
+ } from "./filesystem-z5v4ffb3.js";
6
6
  import {
7
- Service81,
8
- node85
9
- } from "./model-pa0vwm8c.js";
7
+ Service79,
8
+ node83
9
+ } from "./filesystem-fartem3k.js";
10
10
  import {
11
- Service65,
12
- node67
13
- } from "./model-g4y1xy0d.js";
11
+ Service61,
12
+ node64
13
+ } from "./filesystem-5wkrvrk3.js";
14
14
  import {
15
15
  __export
16
- } from "./model-9rqn6x4v.js";
16
+ } from "./filesystem-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event13,
27
+ Event: () => Event10,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError10,
34
- Service: () => Service64,
33
+ NotFoundError: () => NotFoundError7,
34
+ Service: () => Service60,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node66
37
+ node: () => node63
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event13 = FileSystem.Event;
95
+ var Event10 = FileSystem.Event;
96
96
 
97
- class Service64 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service60 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service64, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service60, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service81;
102
- const search = yield* Service65;
101
+ const location = yield* Service79;
102
+ const search = yield* Service61;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service64, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError10({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError7({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError10({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError7({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError10({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError7({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service64.of({
121
+ return Service60.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError10({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError7({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service64, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError10({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError7({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service64, Effect.gen(function* () {
158
158
  })
159
159
  });
160
160
  }));
161
- var node66 = makeLocationNode({
162
- service: Service64,
161
+ var node63 = makeLocationNode({
162
+ service: Service60,
163
163
  layer: baseLayer,
164
- deps: [FSUtil.node, node85, node67]
164
+ deps: [FSUtil.node, node83, node64]
165
165
  });
166
166
 
167
- export { FindInput2, Write2, NotFoundError10, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event13, Service64, node66, exports_filesystem, Entry2, Match2, Submatch2 };
167
+ export { FindInput2, Write2, NotFoundError7, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event10, Service60, node63, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./model-zkg84ctx.js";
5
+ } from "./filesystem-zkg84ctx.js";
6
6
  import {
7
7
  __export
8
- } from "./model-9rqn6x4v.js";
8
+ } from "./filesystem-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service43,
9
+ Service: () => Service31,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service43 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service31 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service43, exports_runner };
18
+ export { DrainResult2, Service31, exports_runner };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  batch2
3
- } from "./model-vd3b3yk9.js";
3
+ } from "./filesystem-vd3b3yk9.js";
4
4
  import {
5
- Service48
6
- } from "./model-j9qw6n70.js";
5
+ Service51
6
+ } from "./filesystem-zqe6np9v.js";
7
7
  import {
8
8
  match2
9
- } from "./model-z38nccrw.js";
9
+ } from "./filesystem-z38nccrw.js";
10
10
  import {
11
- Service16,
11
+ Service14,
12
12
  statements2,
13
13
  decision2
14
- } from "./model-f1nzbf19.js";
14
+ } from "./filesystem-61g7nd3s.js";
15
15
  import {
16
16
  observe2
17
- } from "./model-6pjqjmy2.js";
17
+ } from "./filesystem-6pjqjmy2.js";
18
18
  import {
19
19
  __export
20
- } from "./model-9rqn6x4v.js";
20
+ } from "./filesystem-9rqn6x4v.js";
21
21
 
22
22
  // src/config/plugin/policy.ts
23
23
  var exports_policy = {};
24
24
  __export(exports_policy, {
25
25
  ConfigPolicyPlugin: () => exports_policy,
26
- Plugin: () => Plugin14
26
+ Plugin: () => Plugin35
27
27
  });
28
28
  import { define } from "@opencode/plugin/effect/plugin";
29
29
  import { Effect, Stream } from "effect";
30
- var Plugin14 = define({
30
+ var Plugin35 = define({
31
31
  id: "opencode.config.policy",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service48;
34
- const managed = yield* Service16;
33
+ const config = yield* Service51;
34
+ const managed = yield* Service14;
35
35
  const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
36
36
  const loaded = yield* observe2(config, ctx.event, reload);
37
37
  yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
@@ -76,4 +76,4 @@ var Plugin14 = define({
76
76
  })
77
77
  });
78
78
 
79
- export { Plugin14, exports_policy };
79
+ export { Plugin35, exports_policy };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-qq9tt1td.js";
4
+ } from "./filesystem-rbj8gs5v.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./model-dvj9ct8m.js";
8
+ } from "./filesystem-998yhzzq.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
11
  load5
12
- } from "./model-99h9c51m.js";
12
+ } from "./filesystem-8k7htary.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./model-1w4vqh2t.js";
15
+ } from "./filesystem-zmwx25fz.js";
16
16
  import {
17
17
  __export
18
- } from "./model-9rqn6x4v.js";
18
+ } from "./filesystem-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput3,
24
- Service: () => Service59,
24
+ Service: () => Service68,
25
25
  SessionStore: () => exports_store,
26
- node: () => node61
26
+ node: () => node72
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -53,11 +53,11 @@ var ListProjectInput = Schema.Struct({
53
53
  var ListAllInput = Schema.Struct(ListInputBase);
54
54
  var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
55
55
 
56
- class Service59 extends Context.Service()("@opencode/SessionStore") {
56
+ class Service68 extends Context.Service()("@opencode/SessionStore") {
57
57
  }
58
- var layer = Layer.effect(Service59, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
59
59
  const { db } = yield* Service86;
60
- return Service59.of({
60
+ return Service68.of({
61
61
  get: Effect.fnUntraced(function* (sessionID) {
62
62
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
63
63
  return row ? fromRow2(row) : undefined;
@@ -128,6 +128,6 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
128
128
  })
129
129
  });
130
130
  }));
131
- var node61 = makeGlobalNode({ service: Service59, layer, deps: [node90] });
131
+ var node72 = makeGlobalNode({ service: Service68, layer, deps: [node90] });
132
132
 
133
- export { ListInput3, Service59, node61, exports_store };
133
+ export { ListInput3, Service68, node72, exports_store };
@@ -2,32 +2,32 @@ import {
2
2
  ephemeral2,
3
3
  Service85,
4
4
  node89
5
- } from "./model-r07gp9b9.js";
5
+ } from "./filesystem-edpv0694.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make19,
10
+ make21,
11
11
  diffByKey2
12
- } from "./model-jchrqzf6.js";
12
+ } from "./filesystem-jneg3k74.js";
13
13
  import {
14
14
  create3
15
- } from "./model-vd3b3yk9.js";
15
+ } from "./filesystem-vd3b3yk9.js";
16
16
  import {
17
17
  __export
18
- } from "./model-9rqn6x4v.js";
18
+ } from "./filesystem-9rqn6x4v.js";
19
19
 
20
20
  // src/instruction-discovery.ts
21
21
  var exports_instruction_discovery = {};
22
22
  __export(exports_instruction_discovery, {
23
- Event: () => Event9,
23
+ Event: () => Event14,
24
24
  File: () => File2,
25
25
  InstructionDiscovery: () => exports_instruction_discovery,
26
- Options: () => Options7,
27
- Service: () => Service55,
28
- configured: () => configured7,
29
- layer: () => layer22,
30
- node: () => node57
26
+ Options: () => Options8,
27
+ Service: () => Service76,
28
+ configured: () => configured11,
29
+ layer: () => layer26,
30
+ node: () => node80
31
31
  });
32
32
  import { Context, Effect, Layer, Schema } from "effect";
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,17 +39,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
39
39
  }
40
40
  var Files = Schema.Array(File2);
41
41
  var key = Key3.make("core/instructions");
42
- var Event9 = {
42
+ var Event14 = {
43
43
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
44
44
  };
45
- var Options7 = Schema.Struct({
45
+ var Options8 = Schema.Struct({
46
46
  project: Schema.optional(Schema.Boolean),
47
47
  global: Schema.optional(Schema.Boolean)
48
48
  });
49
49
 
50
- class Service55 extends Context.Service()("@opencode/InstructionDiscovery") {
50
+ class Service76 extends Context.Service()("@opencode/InstructionDiscovery") {
51
51
  }
52
- var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
52
+ var layer26 = (options) => Layer.effect(Service76, Effect.gen(function* () {
53
53
  const bus = yield* Service85;
54
54
  const state = create3({
55
55
  name: "instruction-discovery",
@@ -69,9 +69,9 @@ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
69
69
  editor.available = false;
70
70
  }
71
71
  }),
72
- notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
72
+ notify: () => bus.publish(Event14.Updated, {}).pipe(Effect.asVoid)
73
73
  });
74
- const source = (value) => make19({
74
+ const source = (value) => make21({
75
75
  key,
76
76
  codec: Schema.toCodecJson(Files),
77
77
  read: Effect.succeed(value),
@@ -87,7 +87,7 @@ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
87
87
  return unavailable3;
88
88
  return Array.from(current.files.values());
89
89
  });
90
- return Service55.of({
90
+ return Service76.of({
91
91
  project: options?.project !== false,
92
92
  global: options?.global !== false,
93
93
  transform: state.transform,
@@ -101,14 +101,14 @@ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- function configured7(options) {
104
+ function configured11(options) {
105
105
  return makeLocationNode({
106
- service: Service55,
107
- layer: layer22(options),
106
+ service: Service76,
107
+ layer: layer26(options),
108
108
  deps: [node89]
109
109
  });
110
110
  }
111
- var node57 = configured7();
111
+ var node80 = configured11();
112
112
  function render(files) {
113
113
  return files.map((file) => `Instructions from: ${file.path}
114
114
  ${file.content}`).join(`
@@ -139,4 +139,4 @@ ${render([after])}`;
139
139
  `);
140
140
  }
141
141
 
142
- export { File2, Event9, Options7, Service55, layer22, configured7, node57, exports_instruction_discovery };
142
+ export { File2, Event14, Options8, Service76, layer26, configured11, node80, exports_instruction_discovery };