@opencode/core 0.0.0-dev-19566 → 0.0.0-dev-19568

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{skill-64kphnzf.js → filesystem-06dxphr1.js} +4 -4
  9. package/dist/chunks/{skill-bhyfhjgb.js → filesystem-0b51tgne.js} +25 -25
  10. package/dist/chunks/{skill-s4mq18h8.js → filesystem-0ezsa6vy.js} +43 -43
  11. package/dist/chunks/{skill-bshpke5g.js → filesystem-0jsm5b6f.js} +19 -19
  12. package/dist/chunks/{skill-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{skill-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{skill-kma7g2g6.js → filesystem-0yf7gmgh.js} +3 -3
  15. package/dist/chunks/{skill-wcbkr9bz.js → filesystem-0z4swx6k.js} +13 -13
  16. package/dist/chunks/{skill-rhraev7y.js → filesystem-1acjjqhc.js} +4 -4
  17. package/dist/chunks/{skill-7mhgqmsq.js → filesystem-1b5k9ny0.js} +12 -12
  18. package/dist/chunks/{skill-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{skill-ff09sh13.js → filesystem-1q26ypmg.js} +16 -16
  20. package/dist/chunks/{skill-f6b2zhhx.js → filesystem-1xzg4q7f.js} +8 -8
  21. package/dist/chunks/{skill-21r38tys.js → filesystem-21r38tys.js} +1 -1
  22. package/dist/chunks/{skill-2402vzrj.js → filesystem-2402vzrj.js} +1 -1
  23. package/dist/chunks/{skill-5qmpf8x7.js → filesystem-27fbez5x.js} +9 -9
  24. package/dist/chunks/{skill-kwj6ym9a.js → filesystem-298asx42.js} +19 -19
  25. package/dist/chunks/{skill-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{skill-1tp8ewbt.js → filesystem-2ah6ycde.js} +26 -26
  27. package/dist/chunks/{skill-syy1fpb7.js → filesystem-2b6sywcb.js} +10 -10
  28. package/dist/chunks/{skill-h7ygw6q4.js → filesystem-2bt6bea8.js} +9 -9
  29. package/dist/chunks/{skill-cq37gk0t.js → filesystem-2tfmgkzg.js} +4 -4
  30. package/dist/chunks/{skill-1ygqh575.js → filesystem-33w4ejhs.js} +6 -6
  31. package/dist/chunks/{skill-peg0jxnw.js → filesystem-3723sw29.js} +5 -5
  32. package/dist/chunks/{skill-4bj2dz2y.js → filesystem-3bxse654.js} +11 -11
  33. package/dist/chunks/{skill-zhr8w949.js → filesystem-3e73f7fn.js} +20 -20
  34. package/dist/chunks/{skill-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{skill-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{skill-gdh82427.js → filesystem-3p9h8pr0.js} +8 -8
  37. package/dist/chunks/{skill-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{skill-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{skill-gthtp8p8.js → filesystem-4as8h3gg.js} +15 -15
  40. package/dist/chunks/{skill-z3s2t8bt.js → filesystem-4f8bfcxm.js} +13 -13
  41. package/dist/chunks/{skill-0xnv56ea.js → filesystem-4f92c8s9.js} +18 -18
  42. package/dist/chunks/{skill-9dck95a9.js → filesystem-4fbncvv5.js} +8 -8
  43. package/dist/chunks/{skill-zk96wdqc.js → filesystem-4mwvkeyx.js} +8 -8
  44. package/dist/chunks/{skill-fw0cvrc3.js → filesystem-4p7x74p9.js} +9 -9
  45. package/dist/chunks/{skill-tsxna0y7.js → filesystem-4skj9pjn.js} +4 -4
  46. package/dist/chunks/{skill-nxn2kzp1.js → filesystem-4v46yx8e.js} +7 -7
  47. package/dist/chunks/{skill-kk00bynn.js → filesystem-50mzsvk4.js} +21 -21
  48. package/dist/chunks/{skill-06v35k2r.js → filesystem-5762gc32.js} +30 -30
  49. package/dist/chunks/{skill-4pvvh4dq.js → filesystem-57v6fmny.js} +16 -16
  50. package/dist/chunks/{skill-a1bz86dw.js → filesystem-5c4hm403.js} +3 -3
  51. package/dist/chunks/{skill-8rhfg1k0.js → filesystem-5ctrep3m.js} +8 -8
  52. package/dist/chunks/{skill-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
  53. package/dist/chunks/{skill-bfc4vy4d.js → filesystem-5m7h1hre.js} +6 -6
  54. package/dist/chunks/{skill-1q5awywt.js → filesystem-5nrew705.js} +5 -5
  55. package/dist/chunks/{skill-an7cqtb7.js → filesystem-5q02cxx3.js} +4 -4
  56. package/dist/chunks/{skill-ngjd88mv.js → filesystem-5rjrjdee.js} +3 -3
  57. package/dist/chunks/{skill-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{skill-c5743v3q.js → filesystem-5whwrpxa.js} +11 -11
  59. package/dist/chunks/{skill-fcrkznn8.js → filesystem-607tc6va.js} +5 -5
  60. package/dist/chunks/{skill-pz8tvbwy.js → filesystem-631045jg.js} +26 -26
  61. package/dist/chunks/{skill-fgg7zh81.js → filesystem-64ddj6v7.js} +1 -1
  62. package/dist/chunks/{skill-669tq793.js → filesystem-669tq793.js} +1 -1
  63. package/dist/chunks/{skill-t1m7vjmh.js → filesystem-696tvegr.js} +32 -32
  64. package/dist/chunks/{skill-7fd2zyfz.js → filesystem-6gwpwpyd.js} +21 -21
  65. package/dist/chunks/{skill-bqnadhhv.js → filesystem-6gypj2re.js} +25 -25
  66. package/dist/chunks/{skill-er3fk19c.js → filesystem-6j4fq2cq.js} +11 -11
  67. package/dist/chunks/filesystem-6kdq0pjd.js +4 -0
  68. package/dist/chunks/{skill-ssnweha5.js → filesystem-6kkxyhkv.js} +4 -4
  69. package/dist/chunks/{skill-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{skill-asbst37a.js → filesystem-6qxnajbz.js} +30 -30
  71. package/dist/chunks/{skill-m6rgwa12.js → filesystem-6zp4xm1r.js} +24 -24
  72. package/dist/chunks/{skill-7m5f9412.js → filesystem-703jyx7f.js} +8 -8
  73. package/dist/chunks/{skill-8kx13bg7.js → filesystem-7061gxvt.js} +18 -18
  74. package/dist/chunks/{skill-71q4at8m.js → filesystem-71q4at8m.js} +1 -1
  75. package/dist/chunks/{skill-sp8nzrcy.js → filesystem-72jmdy6r.js} +28 -28
  76. package/dist/chunks/{skill-xsbvjmfr.js → filesystem-75va9qk2.js} +11 -11
  77. package/dist/chunks/{skill-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{skill-m2manvsf.js → filesystem-7bnzk546.js} +6 -6
  79. package/dist/chunks/{skill-90shr1wy.js → filesystem-7krdaasy.js} +4 -4
  80. package/dist/chunks/{skill-yvj9xk3b.js → filesystem-7nwp8zja.js} +11 -11
  81. package/dist/chunks/{skill-znzt4zz9.js → filesystem-7pqa36gv.js} +5 -5
  82. package/dist/chunks/{skill-vyrd71eq.js → filesystem-7rrn560x.js} +11 -11
  83. package/dist/chunks/{skill-rsym84ch.js → filesystem-81swgkk7.js} +7 -7
  84. package/dist/chunks/{skill-kz70mmnm.js → filesystem-84r56gr5.js} +1 -1
  85. package/dist/chunks/{skill-thw967m6.js → filesystem-85c4hbm5.js} +22 -22
  86. package/dist/chunks/{skill-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
  87. package/dist/chunks/{skill-ar4krswx.js → filesystem-8aabwx5n.js} +20 -20
  88. package/dist/chunks/{skill-hqyqh6rn.js → filesystem-8akv9m9x.js} +16 -16
  89. package/dist/chunks/{skill-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{skill-gr15z38v.js → filesystem-8et7pj57.js} +13 -13
  91. package/dist/chunks/{skill-wrb0wsfb.js → filesystem-8m5v51r2.js} +49 -49
  92. package/dist/chunks/{skill-dmpqr52q.js → filesystem-9104srmq.js} +22 -22
  93. package/dist/chunks/{skill-f879qf3m.js → filesystem-975yhv65.js} +25 -25
  94. package/dist/chunks/{skill-gzbkpp9m.js → filesystem-9c1k5ss1.js} +9 -9
  95. package/dist/chunks/{skill-twvspynz.js → filesystem-9d82za01.js} +13 -13
  96. package/dist/chunks/{skill-9pmg1ryd.js → filesystem-9j5jfgtr.js} +24 -24
  97. package/dist/chunks/{skill-q6jtrfjv.js → filesystem-9qpqmwv0.js} +11 -11
  98. package/dist/chunks/{skill-wtjfe85z.js → filesystem-9s312kc4.js} +6 -6
  99. package/dist/chunks/{skill-j4f4j9dg.js → filesystem-9v1c99ce.js} +85 -85
  100. package/dist/chunks/{skill-vwj2k05g.js → filesystem-a2hw0sqp.js} +51 -51
  101. package/dist/chunks/{skill-hm6af37m.js → filesystem-a3r4dcrj.js} +2 -2
  102. package/dist/chunks/{skill-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
  103. package/dist/chunks/{skill-mzf2r8yt.js → filesystem-akfg16cj.js} +4 -4
  104. package/dist/chunks/{skill-5t719cx6.js → filesystem-arpbwta6.js} +26 -26
  105. package/dist/chunks/{skill-mczb9836.js → filesystem-b1tz6w3s.js} +31 -31
  106. package/dist/chunks/{skill-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{skill-s4paccff.js → filesystem-b762qnyw.js} +32 -32
  108. package/dist/chunks/{skill-qyppqm7x.js → filesystem-bjbm878y.js} +5 -5
  109. package/dist/chunks/{skill-jkhmv1yj.js → filesystem-bp0xbca5.js} +43 -43
  110. package/dist/chunks/{skill-1q3whged.js → filesystem-bs4q3tqg.js} +6 -6
  111. package/dist/chunks/{skill-reqevd7p.js → filesystem-c8266qxr.js} +13 -13
  112. package/dist/chunks/{skill-htfb37gq.js → filesystem-cerc8atz.js} +20 -20
  113. package/dist/chunks/{skill-1g3v23b5.js → filesystem-cpcnfgyy.js} +33 -33
  114. package/dist/chunks/{skill-rb3w3mf5.js → filesystem-d979a45b.js} +5 -5
  115. package/dist/chunks/{skill-nv5vn7qx.js → filesystem-da6kr1wx.js} +2 -2
  116. package/dist/chunks/{skill-8p4f9s12.js → filesystem-dj2t23y0.js} +2 -2
  117. package/dist/chunks/{skill-n0p3acfp.js → filesystem-dn7swrv3.js} +35 -35
  118. package/dist/chunks/{skill-jwcy2c2z.js → filesystem-dpkg50ah.js} +4 -4
  119. package/dist/chunks/{skill-zr8dax7v.js → filesystem-dq26kvy6.js} +18 -18
  120. package/dist/chunks/{skill-q2xm8ywb.js → filesystem-dzhcmde1.js} +9 -9
  121. package/dist/chunks/{skill-6zq5hsb7.js → filesystem-e0tp7zzd.js} +20 -20
  122. package/dist/chunks/{skill-e5nv3ght.js → filesystem-e5nv3ght.js} +2 -2
  123. package/dist/chunks/{skill-t7tn9nzb.js → filesystem-e7tx2v0e.js} +12 -12
  124. package/dist/chunks/{skill-r9cxq18p.js → filesystem-e99qm4q4.js} +9 -9
  125. package/dist/chunks/{skill-rhjbct0v.js → filesystem-eaj1djv9.js} +8 -8
  126. package/dist/chunks/{skill-5vxfv4v1.js → filesystem-eb2yma87.js} +9 -9
  127. package/dist/chunks/{skill-e8jk0evy.js → filesystem-eb4y5yy0.js} +37 -37
  128. package/dist/chunks/{skill-majvaz3t.js → filesystem-ecd1f3mq.js} +2 -2
  129. package/dist/chunks/{skill-0bm6edds.js → filesystem-ecfkvkmx.js} +22 -22
  130. package/dist/chunks/{skill-tjb84e6a.js → filesystem-ee5p72rr.js} +10 -10
  131. package/dist/chunks/{skill-cr2jjdjc.js → filesystem-efttx8x1.js} +6 -6
  132. package/dist/chunks/{skill-t5300mbg.js → filesystem-epn31rr5.js} +7 -7
  133. package/dist/chunks/{skill-4mb6vwcb.js → filesystem-erhcz2jb.js} +25 -25
  134. package/dist/chunks/{skill-4x245b0q.js → filesystem-es5dr4fw.js} +8 -8
  135. package/dist/chunks/{skill-qbg098tt.js → filesystem-ethbh4z7.js} +16 -16
  136. package/dist/chunks/{skill-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{skill-fpmq6gma.js → filesystem-evbgk2k8.js} +5 -5
  138. package/dist/chunks/{skill-wvpq0bw3.js → filesystem-ez02qrbp.js} +1 -1
  139. package/dist/chunks/{skill-dtsq3qdh.js → filesystem-f7ehr2sm.js} +9 -9
  140. package/dist/chunks/{skill-rbww1jty.js → filesystem-fc5gyn3k.js} +9 -9
  141. package/dist/chunks/{skill-wshm9q8m.js → filesystem-fgsjaxv0.js} +3 -3
  142. package/dist/chunks/{skill-5026zm2d.js → filesystem-fm98w790.js} +17 -17
  143. package/dist/chunks/{skill-qga0ccjf.js → filesystem-fpnq3hwf.js} +15 -15
  144. package/dist/chunks/{skill-4pgsdndd.js → filesystem-fsma24dd.js} +5 -5
  145. package/dist/chunks/{skill-mbt93z0x.js → filesystem-ftyr94h4.js} +18 -18
  146. package/dist/chunks/{skill-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{skill-dk7ppdwd.js → filesystem-fyvhdr9h.js} +9 -9
  148. package/dist/chunks/{skill-30s937mt.js → filesystem-ga5yzwkb.js} +15 -15
  149. package/dist/chunks/{skill-cy946kxe.js → filesystem-gb4851xq.js} +32 -32
  150. package/dist/chunks/{skill-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{skill-06tybfx6.js → filesystem-gea7vc3h.js} +2 -2
  152. package/dist/chunks/{skill-2nbt55tc.js → filesystem-gft05b0a.js} +8 -8
  153. package/dist/chunks/{skill-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{skill-h03wrkyp.js → filesystem-h03wrkyp.js} +2 -2
  155. package/dist/chunks/{skill-mpy89vrd.js → filesystem-h0vwgry8.js} +9 -9
  156. package/dist/chunks/{skill-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{skill-84n3z6xx.js → filesystem-haa1g6we.js} +35 -35
  158. package/dist/chunks/{skill-f828m53h.js → filesystem-hdnk95c8.js} +2 -2
  159. package/dist/chunks/{skill-hthaaz5q.js → filesystem-hfk3zaat.js} +11 -11
  160. package/dist/chunks/{skill-nhy5jxhy.js → filesystem-hjt4xg1x.js} +4 -4
  161. package/dist/chunks/{skill-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
  162. package/dist/chunks/{skill-7wdjtyr9.js → filesystem-jexxy024.js} +3 -3
  163. package/dist/chunks/{skill-xw56ns46.js → filesystem-jjf0vtdq.js} +7 -7
  164. package/dist/chunks/{skill-s7w3bkgd.js → filesystem-jxn345vr.js} +17 -17
  165. package/dist/chunks/{skill-yrzv9673.js → filesystem-k1j6gk9a.js} +8 -8
  166. package/dist/chunks/{skill-10z84w3c.js → filesystem-k2qtg38n.js} +32 -32
  167. package/dist/chunks/{skill-5x00wpxg.js → filesystem-k6z5z3xm.js} +2 -2
  168. package/dist/chunks/{skill-7eq0pkzk.js → filesystem-ka7bdmkm.js} +49 -49
  169. package/dist/chunks/{skill-95rjbf83.js → filesystem-kdsged9e.js} +9 -9
  170. package/dist/chunks/{skill-e9w3b6g9.js → filesystem-kfs8rg3h.js} +2 -2
  171. package/dist/chunks/{skill-kg06axw8.js → filesystem-kg06axw8.js} +1 -1
  172. package/dist/chunks/{skill-nvwek7ap.js → filesystem-ky7as88a.js} +20 -20
  173. package/dist/chunks/{skill-cfpkc3c9.js → filesystem-m0jqrx5p.js} +2 -2
  174. package/dist/chunks/{skill-kcpx2cv0.js → filesystem-m87kjwf8.js} +11 -11
  175. package/dist/chunks/{skill-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{skill-mhkvc446.js → filesystem-mhkvc446.js} +1 -1
  177. package/dist/chunks/{skill-gkgcazrf.js → filesystem-mmgf1rqt.js} +9 -9
  178. package/dist/chunks/{skill-zzy75p67.js → filesystem-mrjzwcm0.js} +25 -25
  179. package/dist/chunks/{skill-t3x2aywx.js → filesystem-mtd6x72z.js} +4 -4
  180. package/dist/chunks/{skill-s2a7ms73.js → filesystem-myekw2gp.js} +12 -12
  181. package/dist/chunks/{skill-s68jd7zp.js → filesystem-mz2wz6jn.js} +24 -24
  182. package/dist/chunks/{skill-aaa44gqz.js → filesystem-mzhavs24.js} +41 -41
  183. package/dist/chunks/{skill-ej62hn28.js → filesystem-n7ghmjtx.js} +9 -9
  184. package/dist/chunks/{skill-psseg6gz.js → filesystem-n8v6jt5n.js} +18 -18
  185. package/dist/chunks/{skill-2d4xjm6v.js → filesystem-nbvvbhgb.js} +93 -93
  186. package/dist/chunks/{skill-646p19dj.js → filesystem-nhj3pk2g.js} +17 -17
  187. package/dist/chunks/{skill-33hfc43a.js → filesystem-nm2epvtw.js} +16 -16
  188. package/dist/chunks/{skill-0d176nsj.js → filesystem-nrtb1m71.js} +13 -13
  189. package/dist/chunks/{skill-q23w5e56.js → filesystem-nyr44rzh.js} +47 -47
  190. package/dist/chunks/{skill-aqk6aqtx.js → filesystem-p0hmzt3n.js} +7 -7
  191. package/dist/chunks/{skill-8baymvr8.js → filesystem-p0ydpdje.js} +1 -1
  192. package/dist/chunks/{skill-5v53trz0.js → filesystem-p5w9prz9.js} +18 -18
  193. package/dist/chunks/{skill-59350cgc.js → filesystem-p6j6tyky.js} +15 -15
  194. package/dist/chunks/{skill-j935v87r.js → filesystem-paphc93g.js} +2 -2
  195. package/dist/chunks/{skill-cw8m5w0x.js → filesystem-pbky73a2.js} +1 -1
  196. package/dist/chunks/{skill-f90chkmn.js → filesystem-pecb0brz.js} +5 -5
  197. package/dist/chunks/{skill-zqedtey4.js → filesystem-pge2bfmc.js} +18 -18
  198. package/dist/chunks/{skill-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{skill-pknna89w.js → filesystem-pknna89w.js} +1 -1
  200. package/dist/chunks/{skill-f00vsxd1.js → filesystem-px514bpm.js} +28 -28
  201. package/dist/chunks/filesystem-q509s3k3.js +18 -0
  202. package/dist/chunks/{skill-8p7fpmkf.js → filesystem-qen1jmg8.js} +37 -37
  203. package/dist/chunks/{skill-p1nm93x7.js → filesystem-qjnxxf51.js} +5 -5
  204. package/dist/chunks/{skill-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
  205. package/dist/chunks/{skill-r9mregkx.js → filesystem-r9mregkx.js} +2 -2
  206. package/dist/chunks/{skill-cqsw9wfb.js → filesystem-re9amv7g.js} +158 -158
  207. package/dist/chunks/{skill-v881kzw6.js → filesystem-rfp29srv.js} +31 -31
  208. package/dist/chunks/{skill-sge1r8v3.js → filesystem-rgrjgzhx.js} +22 -22
  209. package/dist/chunks/{skill-srrwg402.js → filesystem-rgyfsfc5.js} +40 -40
  210. package/dist/chunks/filesystem-rh7ezj45.js +26 -0
  211. package/dist/chunks/{skill-5mgjh8kn.js → filesystem-rk9hj1v7.js} +48 -48
  212. package/dist/chunks/{skill-br51dzet.js → filesystem-rnfn6xxq.js} +32 -32
  213. package/dist/chunks/{skill-p0b4ytnr.js → filesystem-rph3zd4r.js} +6 -6
  214. package/dist/chunks/{skill-mgqq0b40.js → filesystem-rr25vpab.js} +10 -10
  215. package/dist/chunks/{skill-2ag9ma2b.js → filesystem-rvzfv4w1.js} +8 -8
  216. package/dist/chunks/{skill-ckezr5c7.js → filesystem-rxdk16p3.js} +14 -14
  217. package/dist/chunks/{skill-xbh0n0bt.js → filesystem-rxjvbk8n.js} +1 -1
  218. package/dist/chunks/{skill-t85epm91.js → filesystem-s9q5j7ef.js} +38 -38
  219. package/dist/chunks/{skill-twemh9fr.js → filesystem-sf0gthgt.js} +12 -12
  220. package/dist/chunks/{skill-93gaenk7.js → filesystem-t000jqpf.js} +20 -20
  221. package/dist/chunks/{skill-5kptn8c0.js → filesystem-t0x5rdq8.js} +9 -9
  222. package/dist/chunks/{skill-t31e2ene.js → filesystem-t15xvjkv.js} +12 -12
  223. package/dist/chunks/{skill-vj2aakfx.js → filesystem-t7nbeyr2.js} +13 -13
  224. package/dist/chunks/{skill-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{skill-7xypaa9t.js → filesystem-tdk2wfqj.js} +9 -9
  226. package/dist/chunks/{skill-tdstcens.js → filesystem-tdstcens.js} +1 -1
  227. package/dist/chunks/{skill-1bs1spav.js → filesystem-thcje0ms.js} +16 -16
  228. package/dist/chunks/{skill-ft86xs6z.js → filesystem-tj8y1zy0.js} +19 -19
  229. package/dist/chunks/{skill-a46v4e4v.js → filesystem-tkmwgdpd.js} +7 -7
  230. package/dist/chunks/{skill-xzrhk1ha.js → filesystem-tm94zk3c.js} +32 -32
  231. package/dist/chunks/{skill-671z00ac.js → filesystem-tryb73nk.js} +6 -6
  232. package/dist/chunks/{skill-ttxbat7j.js → filesystem-tv2fxbte.js} +9 -9
  233. package/dist/chunks/{skill-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
  234. package/dist/chunks/{skill-x3et2xth.js → filesystem-v4hmzr0r.js} +8 -8
  235. package/dist/chunks/{skill-evt2jh61.js → filesystem-v7t6t3ee.js} +25 -25
  236. package/dist/chunks/filesystem-v8z7968n.js +247 -0
  237. package/dist/chunks/{skill-w0zssjna.js → filesystem-vcybtvp5.js} +8 -8
  238. package/dist/chunks/{skill-mtg9yx94.js → filesystem-vd431jt0.js} +8 -8
  239. package/dist/chunks/{skill-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
  240. package/dist/chunks/{skill-9cgwn6m2.js → filesystem-vjstzn3j.js} +10 -10
  241. package/dist/chunks/{skill-1wxqst5x.js → filesystem-vm9edkyf.js} +17 -17
  242. package/dist/chunks/{skill-01375378.js → filesystem-vywwb7xw.js} +2 -2
  243. package/dist/chunks/{skill-ypahpsfj.js → filesystem-vz4k8wbp.js} +12 -12
  244. package/dist/chunks/{skill-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{skill-7sp9s905.js → filesystem-w2w9rvzr.js} +29 -29
  246. package/dist/chunks/{skill-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{skill-4gkbfhep.js → filesystem-w7cks01r.js} +14 -14
  248. package/dist/chunks/{skill-w5mj437j.js → filesystem-wbcpzrvz.js} +4 -4
  249. package/dist/chunks/{skill-xdqzyjdf.js → filesystem-wcft5t0g.js} +22 -22
  250. package/dist/chunks/{skill-1eh4gn3y.js → filesystem-wcy83pfm.js} +13 -13
  251. package/dist/chunks/{skill-wd87259q.js → filesystem-wd87259q.js} +1 -1
  252. package/dist/chunks/{skill-03nven2r.js → filesystem-wprd8xj9.js} +18 -18
  253. package/dist/chunks/{skill-6fd1ezmz.js → filesystem-wqntmd11.js} +6 -6
  254. package/dist/chunks/{skill-zzx2b7cx.js → filesystem-x1cde7tm.js} +11 -11
  255. package/dist/chunks/{skill-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{skill-gyr9n4f3.js → filesystem-x6h9ntm8.js} +35 -35
  257. package/dist/chunks/{skill-1zkmxa9g.js → filesystem-xb3nqwnp.js} +58 -58
  258. package/dist/chunks/{skill-1jtrbqfx.js → filesystem-xb7w47hd.js} +8 -8
  259. package/dist/chunks/{skill-gxkfm4fc.js → filesystem-xbv0k4ba.js} +43 -43
  260. package/dist/chunks/{skill-njz5ccbp.js → filesystem-xez80017.js} +23 -23
  261. package/dist/chunks/{skill-0axr4kr0.js → filesystem-xg954myy.js} +4 -4
  262. package/dist/chunks/{skill-2wkv1t8b.js → filesystem-xrr0m7w9.js} +13 -13
  263. package/dist/chunks/{skill-2evyaa68.js → filesystem-xwwz9aqf.js} +4 -4
  264. package/dist/chunks/{skill-fhnehbw5.js → filesystem-xxj3pgp3.js} +1 -1
  265. package/dist/chunks/{skill-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{skill-mkgrvnvv.js → filesystem-y3xz725g.js} +32 -32
  267. package/dist/chunks/{skill-terbmby9.js → filesystem-y45wrhxb.js} +8 -8
  268. package/dist/chunks/{skill-db79f6jy.js → filesystem-y80z5qnm.js} +23 -23
  269. package/dist/chunks/{skill-a4se06gq.js → filesystem-y9mn02hf.js} +19 -19
  270. package/dist/chunks/{skill-t072myer.js → filesystem-yawef6kw.js} +4 -4
  271. package/dist/chunks/{skill-6e08fkqj.js → filesystem-ypz4327q.js} +4 -4
  272. package/dist/chunks/{skill-1nfpt5r1.js → filesystem-yqtqx2tb.js} +1 -1
  273. package/dist/chunks/{skill-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{skill-cm0mcd2y.js → filesystem-yrr26vyh.js} +32 -32
  275. package/dist/chunks/{skill-enks4xxx.js → filesystem-yrz8q0k0.js} +1 -1
  276. package/dist/chunks/{skill-s4enseaf.js → filesystem-yrznvahk.js} +2 -2
  277. package/dist/chunks/{skill-qe1nvdxq.js → filesystem-yvrn8c55.js} +12 -12
  278. package/dist/chunks/{skill-4ybtfae2.js → filesystem-yx6mkdzk.js} +57 -57
  279. package/dist/chunks/{skill-q5xvhvda.js → filesystem-yzpfgjrz.js} +6 -6
  280. package/dist/chunks/{skill-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{skill-2hac07k5.js → filesystem-z2708axn.js} +15 -15
  282. package/dist/chunks/{skill-29x78va6.js → filesystem-z63w68vq.js} +6 -6
  283. package/dist/chunks/filesystem-zb3fmyt6.js +466 -0
  284. package/dist/chunks/{skill-3ne75qq3.js → filesystem-zdx06d9s.js} +30 -30
  285. package/dist/chunks/{skill-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{skill-6d94346x.js → filesystem-zqngs88h.js} +11 -11
  287. package/dist/chunks/{skill-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{skill-ahp3rcdq.js → filesystem-zshj55xc.js} +28 -28
  289. package/dist/chunks/{skill-k76fn4kw.js → filesystem-zvt5dnpc.js} +4 -4
  290. package/dist/chunks/{skill-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +19 -19
  298. package/dist/config/plugin/agent.js +117 -117
  299. package/dist/config/plugin/command.js +208 -208
  300. package/dist/config/plugin/compaction.js +157 -157
  301. package/dist/config/plugin/compatibility.js +135 -135
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +119 -119
  304. package/dist/config/plugin/image.js +117 -117
  305. package/dist/config/plugin/instruction.js +87 -87
  306. package/dist/config/plugin/location-watcher.js +117 -117
  307. package/dist/config/plugin/mcp.js +126 -126
  308. package/dist/config/plugin/policy.js +116 -116
  309. package/dist/config/plugin/provider.js +113 -113
  310. package/dist/config/plugin/reference.js +119 -119
  311. package/dist/config/plugin/shell.js +118 -118
  312. package/dist/config/plugin/skill-file.js +99 -99
  313. package/dist/config/plugin/skill.js +136 -136
  314. package/dist/config/plugin/snapshot.js +117 -117
  315. package/dist/config/plugin/source.js +117 -117
  316. package/dist/config/plugin/tool-output.js +119 -119
  317. package/dist/config/plugin/websearch.js +115 -115
  318. package/dist/config/plugin/worktree.js +120 -120
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +121 -121
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +364 -364
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +90 -90
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +92 -92
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +101 -101
  414. package/dist/file-mutation.js +91 -91
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.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/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +222 -222
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +106 -106
  429. package/dist/form.js +79 -79
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +94 -94
  433. package/dist/git.js +8 -8
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +7 -7
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +355 -355
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +84 -84
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +133 -133
  467. package/dist/location-mutation.js +101 -101
  468. package/dist/location-service-map.js +83 -83
  469. package/dist/location-services.js +352 -352
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +88 -88
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +122 -122
  474. package/dist/mcp/oauth.js +3 -3
  475. package/dist/mcp/stdio.js +87 -87
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +7 -7
  478. package/dist/model-resolver.js +87 -87
  479. package/dist/model.js +4 -4
  480. package/dist/models-dev.js +87 -87
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +77 -77
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +108 -108
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +99 -99
  491. package/dist/plugin/command.js +96 -96
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +215 -215
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +326 -326
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +76 -76
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +99 -99
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/alibaba.js +2 -2
  503. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  504. package/dist/plugin/provider/azure.js +120 -120
  505. package/dist/plugin/provider/cerebras.js +2 -2
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +116 -116
  510. package/dist/plugin/provider/digitalocean.js +80 -80
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +81 -81
  515. package/dist/plugin/provider/gitlab.js +3 -3
  516. package/dist/plugin/provider/google-vertex.js +2 -2
  517. package/dist/plugin/provider/kilo.js +2 -2
  518. package/dist/plugin/provider/llmgateway.js +77 -77
  519. package/dist/plugin/provider/lmstudio.js +119 -119
  520. package/dist/plugin/provider/modal.js +80 -80
  521. package/dist/plugin/provider/nvidia.js +2 -2
  522. package/dist/plugin/provider/ollama.js +119 -119
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +79 -79
  525. package/dist/plugin/provider/opencode.js +80 -80
  526. package/dist/plugin/provider/openrouter.js +3 -3
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +3 -3
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +2 -2
  534. package/dist/plugin/provider/vllm.js +119 -119
  535. package/dist/plugin/provider/xai.js +78 -78
  536. package/dist/plugin/provider/zenmux.js +2 -2
  537. package/dist/plugin/provider.js +158 -158
  538. package/dist/plugin/sdk.js +73 -73
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +135 -135
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +343 -343
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +4 -4
  545. package/dist/plugin/vcs/git.js +83 -83
  546. package/dist/plugin/vcs/hg.js +83 -83
  547. package/dist/plugin/warming.js +114 -114
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +226 -226
  556. package/dist/project/schema.js +6 -6
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +85 -85
  559. package/dist/provider.js +3 -3
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +94 -94
  564. package/dist/reference/instructions.js +86 -86
  565. package/dist/reference.js +84 -84
  566. package/dist/repository-cache.js +78 -78
  567. package/dist/repository.js +1 -1
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +95 -95
  570. package/dist/rpc.js +83 -83
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +125 -125
  574. package/dist/session/context.js +149 -149
  575. package/dist/session/diff.js +85 -85
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +222 -222
  580. package/dist/session/execution.js +126 -126
  581. package/dist/session/generate.js +150 -150
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +87 -87
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +78 -78
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +90 -90
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +115 -115
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +128 -128
  593. package/dist/session/projector.js +85 -85
  594. package/dist/session/prompt.js +102 -102
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +87 -87
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +227 -227
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +87 -87
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +110 -110
  604. package/dist/session/runner/step.js +121 -121
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +171 -171
  608. package/dist/session/shell.js +133 -133
  609. package/dist/session/skill.js +100 -100
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +72 -72
  612. package/dist/session/store.js +86 -86
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +206 -206
  615. package/dist/session/system-prompt.js +3 -3
  616. package/dist/session/title.js +149 -149
  617. package/dist/session/to-session-error.js +109 -109
  618. package/dist/session/transfer.js +218 -218
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +216 -216
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +15 -15
  625. package/dist/shell.js +135 -135
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +104 -104
  628. package/dist/skill.js +107 -107
  629. package/dist/snapshot.js +90 -90
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +121 -121
  634. package/dist/tool/plugin/edit.js +117 -117
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +120 -120
  637. package/dist/tool/plugin/grep.js +122 -122
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +115 -115
  640. package/dist/tool/plugin/question.js +98 -98
  641. package/dist/tool/plugin/read.js +117 -117
  642. package/dist/tool/plugin/shell.js +213 -213
  643. package/dist/tool/plugin/skill.js +102 -102
  644. package/dist/tool/plugin/subagent.js +217 -217
  645. package/dist/tool/plugin/webfetch.js +107 -107
  646. package/dist/tool/plugin/websearch.js +109 -109
  647. package/dist/tool/plugin/write.js +119 -119
  648. package/dist/tool/read-filesystem.js +98 -98
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +15 -15
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +7 -7
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/formatter.js +7 -7
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +5 -5
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +4 -4
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +86 -86
  679. package/dist/websearch.js +81 -81
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +80 -80
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/refresh.js +344 -344
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +93 -93
  690. package/package.json +8 -8
  691. package/dist/chunks/skill-0mesazry.js +0 -4
  692. package/dist/chunks/skill-5mkcfzsp.js +0 -247
  693. package/dist/chunks/skill-h1dp9edv.js +0 -26
  694. package/dist/chunks/skill-ht5y0zrb.js +0 -18
  695. package/dist/chunks/skill-ms5tmnxy.js +0 -466
  696. /package/dist/chunks/{skill-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{skill-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{skill-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{skill-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{skill-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{skill-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{skill-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{skill-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{skill-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{skill-3asan66x.js → filesystem-3asan66x.js} +0 -0
  706. /package/dist/chunks/{skill-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{skill-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{skill-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{skill-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{skill-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{skill-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{skill-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{skill-53557ph1.js → filesystem-53557ph1.js} +0 -0
  714. /package/dist/chunks/{skill-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{skill-6prwharc.js → filesystem-6prwharc.js} +0 -0
  716. /package/dist/chunks/{skill-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{skill-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{skill-822emrt2.js → filesystem-822emrt2.js} +0 -0
  719. /package/dist/chunks/{skill-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{skill-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{skill-922hggd3.js → filesystem-922hggd3.js} +0 -0
  722. /package/dist/chunks/{skill-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{skill-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{skill-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{skill-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{skill-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{skill-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{skill-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{skill-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{skill-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{skill-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{skill-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{skill-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{skill-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{skill-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{skill-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{skill-df08tz66.js → filesystem-df08tz66.js} +0 -0
  738. /package/dist/chunks/{skill-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{skill-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{skill-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{skill-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{skill-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{skill-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{skill-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{skill-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{skill-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{skill-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{skill-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{skill-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{skill-g86h250q.js → filesystem-g86h250q.js} +0 -0
  751. /package/dist/chunks/{skill-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{skill-gftt206x.js → filesystem-gftt206x.js} +0 -0
  753. /package/dist/chunks/{skill-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{skill-hk9envan.js → filesystem-hk9envan.js} +0 -0
  755. /package/dist/chunks/{skill-hrnqkpcd.js → filesystem-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{skill-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{skill-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{skill-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{skill-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{skill-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{skill-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{skill-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{skill-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{skill-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{skill-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{skill-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{skill-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{skill-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{skill-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{skill-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{skill-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{skill-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{skill-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{skill-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{skill-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{skill-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{skill-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{skill-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{skill-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{skill-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{skill-x61499pn.js → filesystem-x61499pn.js} +0 -0
  782. /package/dist/chunks/{skill-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{skill-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{skill-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{skill-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{skill-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{skill-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./skill-5t3nmthw.js";
3
+ } from "./filesystem-5t3nmthw.js";
4
4
  import {
5
- Service56,
6
- node61
7
- } from "./skill-7sp9s905.js";
5
+ Service48,
6
+ node52
7
+ } from "./filesystem-w2w9rvzr.js";
8
8
  import {
9
9
  __export
10
- } from "./skill-9rqn6x4v.js";
10
+ } from "./filesystem-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate2 = {};
14
- __export(exports_generate2, {
15
- Generate: () => exports_generate2,
13
+ var exports_generate = {};
14
+ __export(exports_generate, {
15
+ Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service49,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer19,
20
- node: () => node55
17
+ Service: () => Service13,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer8,
20
+ node: () => node17
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service49 extends Context.Service()("@opencode/Generate") {
36
+ class Service13 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer19 = Layer.effect(Service49, Effect.gen(function* () {
38
+ var layer8 = Layer.effect(Service13, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service56;
40
+ const resolver = yield* Service48;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -47,28 +47,28 @@ var layer19 = Layer.effect(Service49, Effect.gen(function* () {
47
47
  "SessionRunnerModel.UnresolvedProviderVariablesError",
48
48
  "SessionRunnerModel.UnsupportedCompactionError"
49
49
  ], (error) => {
50
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
50
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
51
51
  return Effect.fail(mapped);
52
52
  }));
53
53
  if (!resolved)
54
54
  return yield* new ModelSelectionError2({
55
55
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
56
56
  });
57
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
57
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
58
58
  message: error.message,
59
59
  service: resolved.ref.providerID
60
60
  })));
61
61
  return response.text;
62
62
  });
63
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
63
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service49.of({ text });
66
+ return Service13.of({ text });
67
67
  }));
68
- var node55 = makeLocationNode({
69
- service: Service49,
70
- layer: layer19,
71
- deps: [node61, llmClient2]
68
+ var node17 = makeLocationNode({
69
+ service: Service13,
70
+ layer: layer8,
71
+ deps: [node52, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError3, Service49, layer19, node55, exports_generate2 };
74
+ export { ModelSelectionError2, UnavailableError2, Service13, layer8, node17, exports_generate };
@@ -1,52 +1,52 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./skill-ypahpsfj.js";
2
+ Service79,
3
+ node84
4
+ } from "./filesystem-vz4k8wbp.js";
5
5
  import {
6
- node76
7
- } from "./skill-m6rgwa12.js";
6
+ node37
7
+ } from "./filesystem-6zp4xm1r.js";
8
8
  import {
9
- Service11,
10
- node14
11
- } from "./skill-4mb6vwcb.js";
9
+ Service10,
10
+ node13
11
+ } from "./filesystem-erhcz2jb.js";
12
12
  import {
13
- Service28
14
- } from "./skill-ht5y0zrb.js";
13
+ Service25
14
+ } from "./filesystem-q509s3k3.js";
15
15
  import {
16
- node24,
17
- ID3
18
- } from "./skill-sge1r8v3.js";
16
+ node16,
17
+ ID2
18
+ } from "./filesystem-rgrjgzhx.js";
19
19
  import {
20
- Service4,
21
- node7
22
- } from "./skill-x3et2xth.js";
20
+ Service8,
21
+ node11
22
+ } from "./filesystem-v4hmzr0r.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./skill-ms5tmnxy.js";
26
+ } from "./filesystem-zb3fmyt6.js";
27
27
  import {
28
- make4,
28
+ make7,
29
29
  LoadError2
30
- } from "./skill-terbmby9.js";
30
+ } from "./filesystem-y45wrhxb.js";
31
31
  import {
32
32
  Updated2,
33
- Service5,
34
- node8
35
- } from "./skill-7mhgqmsq.js";
33
+ Service7,
34
+ node10
35
+ } from "./filesystem-1b5k9ny0.js";
36
36
  import {
37
- Service3,
38
- node6
39
- } from "./skill-dtsq3qdh.js";
37
+ Service4,
38
+ node7
39
+ } from "./filesystem-f7ehr2sm.js";
40
40
  import {
41
41
  __export
42
- } from "./skill-9rqn6x4v.js";
42
+ } from "./filesystem-9rqn6x4v.js";
43
43
 
44
44
  // src/plugin/supervisor.ts
45
45
  var exports_supervisor = {};
46
46
  __export(exports_supervisor, {
47
47
  PluginSupervisor: () => exports_supervisor,
48
48
  layer: () => layer4,
49
- node: () => node5
49
+ node: () => node6
50
50
  });
51
51
  import { Event } from "@opencode/schema/config";
52
52
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
115
115
  failures: [
116
116
  ...failures.values(),
117
117
  ...ordered.filter(duplicate).map((plugin) => ({
118
- id: ID3.make(plugin.id),
118
+ id: ID2.make(plugin.id),
119
119
  source: plugin.source ?? { type: "builtin" },
120
120
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
121
121
  features: { server: true, ...plugin.features }
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  };
126
126
  });
127
127
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service28;
129
- const sdk = yield* Service5;
130
- const instance = yield* Service4;
131
- const sources = yield* Service11;
132
- const modules = yield* make4();
133
- const bus = yield* Service77;
134
- const updates = yield* Service3;
128
+ const registry = yield* Service25;
129
+ const sdk = yield* Service7;
130
+ const instance = yield* Service8;
131
+ const sources = yield* Service10;
132
+ const modules = yield* make7();
133
+ const bus = yield* Service79;
134
+ const updates = yield* Service4;
135
135
  const internal = yield* list2();
136
136
  let release = yield* registry.hold();
137
137
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
206
206
  })), Effect.forkScoped({ startImmediately: true }));
207
207
  }));
208
208
  var nodeDeps = [
209
- node24,
210
- node8,
209
+ node16,
210
+ node10,
211
+ node11,
212
+ node13,
211
213
  node7,
212
- node14,
213
- node6,
214
- node82,
214
+ node84,
215
215
  Npm.node,
216
- node76,
216
+ node37,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -221,6 +221,6 @@ function pluginSource(target) {
221
221
  return { type: "local", path: target };
222
222
  return { type: "package", target };
223
223
  }
224
- var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
224
+ var node6 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
225
225
 
226
- export { layer4, node5, exports_supervisor };
226
+ export { layer4, node6, exports_supervisor };
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service74,
3
- node79
4
- } from "./skill-qbg098tt.js";
2
+ Service76,
3
+ node81
4
+ } from "./filesystem-ethbh4z7.js";
5
5
  import {
6
- Key3,
7
- make20,
6
+ Key4,
7
+ make21,
8
8
  combine2
9
- } from "./skill-rhjbct0v.js";
9
+ } from "./filesystem-eaj1djv9.js";
10
10
  import {
11
11
  __export
12
- } from "./skill-9rqn6x4v.js";
12
+ } from "./filesystem-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service36,
19
- node: () => node40
18
+ Service: () => Service29,
19
+ node: () => node33
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service36 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service29 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service36, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service74;
29
- return Service36.of({
28
+ const location = yield* Service76;
29
+ return Service29.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
- make20({
32
- key: Key3.make("core/environment"),
31
+ make21({
32
+ key: Key4.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
35
35
  "<env>",
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
49
49
  `)
50
50
  }
51
51
  }),
52
- make20({
53
- key: Key3.make("core/date"),
52
+ make21({
53
+ key: Key4.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
56
56
  render: {
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node40 = makeLocationNode({ service: Service36, layer, deps: [Global.node, node79] });
64
+ var node33 = makeLocationNode({ service: Service29, layer, deps: [Global.node, node81] });
65
65
 
66
- export { Service36, node40, exports_builtins };
66
+ export { Service29, node33, exports_builtins };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./skill-q23w5e56.js";
3
+ } from "./filesystem-nyr44rzh.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./skill-twg0f83k.js";
6
+ } from "./filesystem-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./skill-9rqn6x4v.js";
9
+ } from "./filesystem-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service77
3
- } from "./skill-ypahpsfj.js";
2
+ Service79
3
+ } from "./filesystem-vz4k8wbp.js";
4
4
  import {
5
- Service74
6
- } from "./skill-qbg098tt.js";
5
+ Service76
6
+ } from "./filesystem-ethbh4z7.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service33
10
- } from "./skill-vwj2k05g.js";
9
+ Service28
10
+ } from "./filesystem-a2hw0sqp.js";
11
11
  import {
12
12
  __export
13
- } from "./skill-9rqn6x4v.js";
13
+ } from "./filesystem-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command = {};
17
17
  __export(exports_command, {
18
18
  CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin14
19
+ Plugin: () => Plugin25
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin14 = define({
196
+ var Plugin25 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service74;
200
- const mcp = yield* Service33;
201
- const bus = yield* Service77;
199
+ const location = yield* Service76;
200
+ const mcp = yield* Service28;
201
+ const bus = yield* Service79;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
204
204
  loaded.prompts = yield* mcp.prompts();
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin14, exports_command };
283
+ export { Plugin25, exports_command };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make19
9
+ make: () => make17
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make19 = (options) => Effect.gen(function* () {
12
+ var make17 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make19 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make19, exports_run_coordinator };
92
+ export { make17, exports_run_coordinator };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service77,
4
- node82
5
- } from "./skill-ypahpsfj.js";
3
+ Service79,
4
+ node84
5
+ } from "./filesystem-vz4k8wbp.js";
6
6
  import {
7
7
  __export
8
- } from "./skill-9rqn6x4v.js";
8
+ } from "./filesystem-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service5,
14
+ Service: () => Service7,
15
15
  Updated: () => Updated2,
16
16
  layer: () => layer5,
17
- node: () => node8
17
+ node: () => node10
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service5 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service7 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer5 = Layer.effect(Service5, Effect.gen(function* () {
26
- const bus = yield* Service77;
25
+ var layer5 = Layer.effect(Service7, Effect.gen(function* () {
26
+ const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service5.of({
29
+ return Service7.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node8 = makeGlobalNode({ service: Service5, layer: layer5, deps: [node82] });
36
+ var node10 = makeGlobalNode({ service: Service7, layer: layer5, deps: [node84] });
37
37
 
38
- export { Updated2, Service5, layer5, node8, exports_sdk };
38
+ export { Updated2, Service7, layer5, node10, exports_sdk };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./skill-2a5m3afh.js";
5
+ } from "./filesystem-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./skill-9rqn6x4v.js";
8
+ } from "./filesystem-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service64
3
- } from "./skill-r9cxq18p.js";
2
+ Service39
3
+ } from "./filesystem-e99qm4q4.js";
4
4
  import {
5
- Service53
6
- } from "./skill-m2manvsf.js";
5
+ Service46
6
+ } from "./filesystem-7bnzk546.js";
7
7
  import {
8
8
  detect2
9
- } from "./skill-3smtnn6g.js";
9
+ } from "./filesystem-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./skill-ht5y0zrb.js";
12
+ } from "./filesystem-q509s3k3.js";
13
13
  import {
14
- Service65
15
- } from "./skill-f6b2zhhx.js";
14
+ Service58
15
+ } from "./filesystem-1xzg4q7f.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./skill-q2xm8ywb.js";
19
+ } from "./filesystem-dzhcmde1.js";
20
20
  import {
21
21
  prepare3,
22
- Service58
23
- } from "./skill-5t719cx6.js";
22
+ Service35
23
+ } from "./filesystem-arpbwta6.js";
24
24
  import {
25
25
  __export
26
- } from "./skill-9rqn6x4v.js";
26
+ } from "./filesystem-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service53;
42
+ const instances = yield* Service46;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service65;
45
+ const hooks = yield* Service58;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service58;
64
+ const skillService = yield* Service35;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
125
125
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
126
126
  if (!mime.startsWith("image/"))
127
127
  return { data: Base64.make(data), mime };
128
- const image = yield* Service64;
128
+ const image = yield* Service39;
129
129
  const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
130
130
  const content = { uri: label, content: data, encoding: "base64", mime };
131
131
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service65,
10
- node: () => node70
9
+ Service: () => Service58,
10
+ node: () => node62
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service65 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service58 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service65, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service65.of({ has, register, trigger });
57
+ return Service58.of({ has, register, trigger });
58
58
  }));
59
- var node70 = makeLocationNode({ service: Service65, layer, deps: [] });
59
+ var node62 = makeLocationNode({ service: Service58, layer, deps: [] });
60
60
 
61
- export { Service65, node70, exports_hooks };
61
+ export { Service58, node62, exports_hooks };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service70
3
- } from "./skill-wrb0wsfb.js";
2
+ Service32
3
+ } from "./filesystem-8m5v51r2.js";
4
4
  import {
5
5
  match2
6
- } from "./skill-y1fvbwt7.js";
6
+ } from "./filesystem-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./skill-qsdy395h.js";
9
+ } from "./filesystem-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./skill-9rqn6x4v.js";
12
+ } from "./filesystem-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin41
18
+ Plugin: () => Plugin37
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin41 = define({
22
+ var Plugin37 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service70;
25
+ const config = yield* Service32;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
27
27
  yield* ctx.catalog.transform((catalog) => {
28
28
  const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
@@ -35,4 +35,4 @@ var Plugin41 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin41, exports_policy };
38
+ export { Plugin37, exports_policy };