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

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 (785) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{shell-y6vkn53y.js → skill-01375378.js} +2 -2
  9. package/dist/chunks/{shell-3t75jh19.js → skill-03nven2r.js} +18 -18
  10. package/dist/chunks/{shell-tjn88awr.js → skill-06tybfx6.js} +5 -5
  11. package/dist/chunks/{shell-nt9efg4s.js → skill-06v35k2r.js} +34 -34
  12. package/dist/chunks/{shell-m1xnp8jy.js → skill-0axr4kr0.js} +8 -8
  13. package/dist/chunks/{shell-jzmeek8x.js → skill-0bm6edds.js} +18 -18
  14. package/dist/chunks/{shell-kn1ewh61.js → skill-0d176nsj.js} +13 -13
  15. package/dist/chunks/{shell-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{shell-0q0f95c6.js → skill-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{shell-he81y1nr.js → skill-0xnv56ea.js} +15 -15
  18. package/dist/chunks/{shell-nxwydvzq.js → skill-10z84w3c.js} +29 -29
  19. package/dist/chunks/{shell-0p1crd9d.js → skill-1bs1spav.js} +20 -20
  20. package/dist/chunks/{shell-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{shell-0kb3qxfv.js → skill-1eh4gn3y.js} +13 -13
  22. package/dist/chunks/{shell-e9ctdnam.js → skill-1g3v23b5.js} +33 -33
  23. package/dist/chunks/{shell-2s58e736.js → skill-1jtrbqfx.js} +11 -11
  24. package/dist/chunks/{shell-hr87xv3p.js → skill-1nfpt5r1.js} +1 -1
  25. package/dist/chunks/{shell-6ea2fwcg.js → skill-1q3whged.js} +8 -8
  26. package/dist/chunks/{shell-ma15yhyh.js → skill-1q5awywt.js} +5 -5
  27. package/dist/chunks/{shell-gsa21a22.js → skill-1tp8ewbt.js} +26 -26
  28. package/dist/chunks/{shell-yedr9c85.js → skill-1wxqst5x.js} +17 -17
  29. package/dist/chunks/{shell-56gdpj1q.js → skill-1ygqh575.js} +9 -9
  30. package/dist/chunks/{shell-ssybasmv.js → skill-1zkmxa9g.js} +59 -59
  31. package/dist/chunks/{shell-21r38tys.js → skill-21r38tys.js} +1 -1
  32. package/dist/chunks/{shell-2402vzrj.js → skill-2402vzrj.js} +1 -1
  33. package/dist/chunks/{shell-z63w68vq.js → skill-29x78va6.js} +6 -6
  34. package/dist/chunks/{shell-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{shell-5r0fea1g.js → skill-2ag9ma2b.js} +8 -8
  36. package/dist/chunks/{shell-t7295w2z.js → skill-2d4xjm6v.js} +90 -90
  37. package/dist/chunks/{shell-jva4mgym.js → skill-2evyaa68.js} +4 -4
  38. package/dist/chunks/{shell-tvqztyf1.js → skill-2hac07k5.js} +22 -22
  39. package/dist/chunks/{shell-hr5bc81f.js → skill-2nbt55tc.js} +8 -8
  40. package/dist/chunks/{shell-yyqmvdec.js → skill-2wkv1t8b.js} +16 -16
  41. package/dist/chunks/{shell-498f1par.js → skill-30s937mt.js} +17 -17
  42. package/dist/chunks/{shell-wk8z1bqt.js → skill-33hfc43a.js} +27 -27
  43. package/dist/chunks/{shell-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{shell-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{shell-wd8n4s43.js → skill-3ne75qq3.js} +36 -36
  46. package/dist/chunks/{shell-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{shell-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{shell-5hpynvw8.js → skill-4bj2dz2y.js} +11 -11
  49. package/dist/chunks/{shell-wrjtwt5e.js → skill-4gkbfhep.js} +18 -18
  50. package/dist/chunks/{shell-g114gkg7.js → skill-4mb6vwcb.js} +27 -27
  51. package/dist/chunks/{shell-sbrky0je.js → skill-4pgsdndd.js} +5 -5
  52. package/dist/chunks/{shell-frgtas0g.js → skill-4pvvh4dq.js} +12 -12
  53. package/dist/chunks/{shell-3bqh7sdc.js → skill-4x245b0q.js} +8 -8
  54. package/dist/chunks/{shell-wnxjx791.js → skill-4ybtfae2.js} +57 -57
  55. package/dist/chunks/{shell-ew149jxv.js → skill-5026zm2d.js} +15 -15
  56. package/dist/chunks/{shell-92d8765r.js → skill-59350cgc.js} +22 -22
  57. package/dist/chunks/{shell-5daktx2q.js → skill-5daktx2q.js} +1 -1
  58. package/dist/chunks/{shell-t0x5rdq8.js → skill-5kptn8c0.js} +9 -9
  59. package/dist/chunks/{shell-50q5na77.js → skill-5mgjh8kn.js} +62 -62
  60. package/dist/chunks/skill-5mkcfzsp.js +247 -0
  61. package/dist/chunks/{shell-40nnwqw1.js → skill-5qmpf8x7.js} +9 -9
  62. package/dist/chunks/{shell-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{shell-hwcbwms2.js → skill-5t719cx6.js} +26 -26
  64. package/dist/chunks/{shell-00sskvcy.js → skill-5v53trz0.js} +28 -28
  65. package/dist/chunks/{shell-v38hr624.js → skill-5vxfv4v1.js} +9 -9
  66. package/dist/chunks/{shell-ffnvdd3a.js → skill-5x00wpxg.js} +4 -4
  67. package/dist/chunks/{shell-s594x3a1.js → skill-646p19dj.js} +15 -15
  68. package/dist/chunks/{shell-w1k39n5e.js → skill-64kphnzf.js} +4 -4
  69. package/dist/chunks/{shell-669tq793.js → skill-669tq793.js} +1 -1
  70. package/dist/chunks/{shell-wrnhm9vn.js → skill-671z00ac.js} +6 -6
  71. package/dist/chunks/{shell-3ax3r0kt.js → skill-6d94346x.js} +14 -14
  72. package/dist/chunks/{shell-dx67ej23.js → skill-6e08fkqj.js} +4 -4
  73. package/dist/chunks/{shell-hhsefzea.js → skill-6fd1ezmz.js} +6 -6
  74. package/dist/chunks/{shell-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{shell-2drtf3nf.js → skill-6zq5hsb7.js} +25 -25
  76. package/dist/chunks/{shell-71q4at8m.js → skill-71q4at8m.js} +1 -1
  77. package/dist/chunks/{shell-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{shell-svh6bksy.js → skill-7eq0pkzk.js} +51 -51
  79. package/dist/chunks/{shell-s24xwzhn.js → skill-7fd2zyfz.js} +27 -27
  80. package/dist/chunks/{shell-757464b7.js → skill-7m5f9412.js} +8 -8
  81. package/dist/chunks/{shell-q7y6yj4h.js → skill-7mhgqmsq.js} +9 -9
  82. package/dist/chunks/{shell-84znd991.js → skill-7sp9s905.js} +43 -43
  83. package/dist/chunks/{shell-j7wq2tw5.js → skill-7wdjtyr9.js} +3 -3
  84. package/dist/chunks/{shell-gy297mxz.js → skill-7xypaa9t.js} +9 -9
  85. package/dist/chunks/{shell-y27npyv3.js → skill-84n3z6xx.js} +32 -32
  86. package/dist/chunks/{shell-zqhama0g.js → skill-8baymvr8.js} +1 -1
  87. package/dist/chunks/{shell-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{shell-vmtg2jww.js → skill-8kx13bg7.js} +29 -29
  89. package/dist/chunks/{shell-8p4f9s12.js → skill-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{shell-a4bf359j.js → skill-8p7fpmkf.js} +35 -35
  91. package/dist/chunks/{shell-hcn7vb16.js → skill-8rhfg1k0.js} +8 -8
  92. package/dist/chunks/{shell-aqh0ftsf.js → skill-90shr1wy.js} +6 -6
  93. package/dist/chunks/{shell-3msn02vx.js → skill-93gaenk7.js} +20 -20
  94. package/dist/chunks/{shell-f3b3gm2h.js → skill-95rjbf83.js} +9 -9
  95. package/dist/chunks/{shell-jqzha493.js → skill-9cgwn6m2.js} +13 -13
  96. package/dist/chunks/{shell-8hpa1fbg.js → skill-9dck95a9.js} +8 -8
  97. package/dist/chunks/{shell-c9de5jy7.js → skill-9pmg1ryd.js} +24 -24
  98. package/dist/chunks/{shell-a1bz86dw.js → skill-a1bz86dw.js} +3 -3
  99. package/dist/chunks/{shell-fm2qvscf.js → skill-a46v4e4v.js} +4 -4
  100. package/dist/chunks/{shell-r2j209s7.js → skill-a4se06gq.js} +19 -19
  101. package/dist/chunks/{shell-9n54j36e.js → skill-aaa44gqz.js} +41 -41
  102. package/dist/chunks/{shell-aaet6srn.js → skill-aaet6srn.js} +2 -2
  103. package/dist/chunks/{shell-90debe3t.js → skill-ahp3rcdq.js} +28 -28
  104. package/dist/chunks/{shell-ve4pfa0n.js → skill-an7cqtb7.js} +4 -4
  105. package/dist/chunks/{shell-39nqk1vw.js → skill-aqk6aqtx.js} +7 -7
  106. package/dist/chunks/{shell-vm5yje8t.js → skill-ar4krswx.js} +12 -12
  107. package/dist/chunks/{shell-gds7y9rb.js → skill-asbst37a.js} +30 -30
  108. package/dist/chunks/{shell-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{shell-barpxaxt.js → skill-bfc4vy4d.js} +15 -15
  110. package/dist/chunks/{shell-qp1sevpr.js → skill-bhyfhjgb.js} +22 -22
  111. package/dist/chunks/{shell-g6etydj3.js → skill-bqnadhhv.js} +27 -27
  112. package/dist/chunks/{shell-zwxne7nm.js → skill-br51dzet.js} +33 -33
  113. package/dist/chunks/{shell-xegjm1yz.js → skill-bshpke5g.js} +19 -19
  114. package/dist/chunks/{shell-zgda001e.js → skill-c5743v3q.js} +11 -11
  115. package/dist/chunks/{shell-cfpkc3c9.js → skill-cfpkc3c9.js} +2 -2
  116. package/dist/chunks/{shell-pfx2qrrs.js → skill-ckezr5c7.js} +20 -20
  117. package/dist/chunks/{shell-6dgetf94.js → skill-cm0mcd2y.js} +30 -30
  118. package/dist/chunks/{shell-bha4atvq.js → skill-cq37gk0t.js} +4 -4
  119. package/dist/chunks/{shell-b4yscnm6.js → skill-cqsw9wfb.js} +173 -168
  120. package/dist/chunks/{shell-cwae0t4a.js → skill-cr2jjdjc.js} +6 -6
  121. package/dist/chunks/{shell-3dn8q124.js → skill-cw8m5w0x.js} +3 -3
  122. package/dist/chunks/{shell-cgfvx4w1.js → skill-cy946kxe.js} +30 -30
  123. package/dist/chunks/{shell-n0mh3p3r.js → skill-db79f6jy.js} +23 -23
  124. package/dist/chunks/{shell-g7845yqx.js → skill-dk7ppdwd.js} +9 -9
  125. package/dist/chunks/{shell-eh4y4983.js → skill-dmpqr52q.js} +22 -22
  126. package/dist/chunks/{shell-b8b3f19r.js → skill-dtsq3qdh.js} +9 -9
  127. package/dist/chunks/{shell-e5nv3ght.js → skill-e5nv3ght.js} +2 -2
  128. package/dist/chunks/{shell-fxb8x6py.js → skill-e8jk0evy.js} +41 -41
  129. package/dist/chunks/{shell-7wvqhqmf.js → skill-e9w3b6g9.js} +2 -2
  130. package/dist/chunks/{shell-6sdmw969.js → skill-ej62hn28.js} +9 -9
  131. package/dist/chunks/{shell-txmzda4v.js → skill-enks4xxx.js} +5 -5
  132. package/dist/chunks/{shell-79at1x9v.js → skill-er3fk19c.js} +11 -11
  133. package/dist/chunks/{shell-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{shell-7dqea38v.js → skill-evt2jh61.js} +27 -27
  135. package/dist/chunks/{shell-c6gt1vgb.js → skill-f00vsxd1.js} +25 -25
  136. package/dist/chunks/{shell-vyt7er0z.js → skill-f6b2zhhx.js} +8 -8
  137. package/dist/chunks/{shell-f828m53h.js → skill-f828m53h.js} +2 -2
  138. package/dist/chunks/{shell-ye4pzvdc.js → skill-f879qf3m.js} +27 -27
  139. package/dist/chunks/{shell-7gvwkz6m.js → skill-f90chkmn.js} +5 -5
  140. package/dist/chunks/{shell-2k8khapm.js → skill-fcrkznn8.js} +5 -5
  141. package/dist/chunks/{shell-tjvj2ye7.js → skill-ff09sh13.js} +16 -16
  142. package/dist/chunks/{shell-5cd5fjqe.js → skill-fgg7zh81.js} +1 -1
  143. package/dist/chunks/{shell-2arervvz.js → skill-fhnehbw5.js} +1 -1
  144. package/dist/chunks/{shell-evbgk2k8.js → skill-fpmq6gma.js} +5 -5
  145. package/dist/chunks/{shell-jgs86n5s.js → skill-ft86xs6z.js} +19 -19
  146. package/dist/chunks/{shell-ybb32c7q.js → skill-fw0cvrc3.js} +11 -11
  147. package/dist/chunks/{shell-fxbjtjnd.js → skill-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{shell-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{shell-ym00f2st.js → skill-gdh82427.js} +10 -10
  150. package/dist/chunks/{shell-tb2t6pfk.js → skill-gkgcazrf.js} +11 -11
  151. package/dist/chunks/{shell-5t1bt779.js → skill-gr15z38v.js} +15 -15
  152. package/dist/chunks/{shell-ekxg4hsx.js → skill-gthtp8p8.js} +15 -15
  153. package/dist/chunks/{shell-gv6a8nnw.js → skill-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{shell-zqw1zjbk.js → skill-gxkfm4fc.js} +46 -46
  155. package/dist/chunks/{shell-r8tp4xng.js → skill-gyr9n4f3.js} +35 -35
  156. package/dist/chunks/{shell-j8zzr2am.js → skill-gzbkpp9m.js} +6 -6
  157. package/dist/chunks/{shell-h03wrkyp.js → skill-h03wrkyp.js} +2 -2
  158. package/dist/chunks/skill-h1dp9edv.js +26 -0
  159. package/dist/chunks/{shell-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{shell-2bt6bea8.js → skill-h7ygw6q4.js} +9 -9
  161. package/dist/chunks/{shell-xg9t41r3.js → skill-hm6af37m.js} +2 -2
  162. package/dist/chunks/{shell-v261m4vn.js → skill-hqyqh6rn.js} +14 -14
  163. package/dist/chunks/skill-ht5y0zrb.js +18 -0
  164. package/dist/chunks/{shell-98wx3ph6.js → skill-htfb37gq.js} +17 -17
  165. package/dist/chunks/{shell-mjyvg60v.js → skill-hthaaz5q.js} +11 -11
  166. package/dist/chunks/{shell-e01x8cvy.js → skill-j4f4j9dg.js} +86 -86
  167. package/dist/chunks/{shell-j56e64zr.js → skill-j56e64zr.js} +1 -1
  168. package/dist/chunks/{shell-paphc93g.js → skill-j935v87r.js} +2 -2
  169. package/dist/chunks/{shell-qse8x9va.js → skill-jkhmv1yj.js} +43 -43
  170. package/dist/chunks/{shell-dpkg50ah.js → skill-jwcy2c2z.js} +4 -4
  171. package/dist/chunks/{shell-gst7axd9.js → skill-k76fn4kw.js} +4 -4
  172. package/dist/chunks/{shell-epf086r6.js → skill-kcpx2cv0.js} +11 -11
  173. package/dist/chunks/{shell-kg06axw8.js → skill-kg06axw8.js} +1 -1
  174. package/dist/chunks/{shell-3t8eac1t.js → skill-kk00bynn.js} +21 -21
  175. package/dist/chunks/{shell-dgyag7b9.js → skill-kma7g2g6.js} +3 -3
  176. package/dist/chunks/{shell-5cwpbnzf.js → skill-kwj6ym9a.js} +22 -22
  177. package/dist/chunks/{shell-na9d8qqg.js → skill-kz70mmnm.js} +1 -1
  178. package/dist/chunks/{shell-qfzde7bh.js → skill-m2manvsf.js} +6 -6
  179. package/dist/chunks/{shell-qfehbndj.js → skill-m6rgwa12.js} +22 -22
  180. package/dist/chunks/{shell-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{shell-k6n7t8rh.js → skill-majvaz3t.js} +4 -4
  182. package/dist/chunks/{shell-1rmp5py1.js → skill-mbt93z0x.js} +32 -32
  183. package/dist/chunks/{shell-y6cbkzy7.js → skill-mczb9836.js} +31 -31
  184. package/dist/chunks/{shell-2xsz5w2j.js → skill-mgqq0b40.js} +10 -10
  185. package/dist/chunks/{shell-73tb2d7t.js → skill-mhkvc446.js} +3 -3
  186. package/dist/chunks/{shell-e275f37r.js → skill-mkgrvnvv.js} +26 -26
  187. package/dist/chunks/{shell-ajf5b5m2.js → skill-mpy89vrd.js} +11 -11
  188. package/dist/chunks/{shell-8behwj1p.js → skill-ms5tmnxy.js} +300 -300
  189. package/dist/chunks/{shell-mzg5sf4x.js → skill-mtg9yx94.js} +10 -10
  190. package/dist/chunks/{shell-hqzvbh4h.js → skill-mzf2r8yt.js} +4 -4
  191. package/dist/chunks/{shell-a1cqmkke.js → skill-n0p3acfp.js} +29 -29
  192. package/dist/chunks/{shell-bkpbcw5z.js → skill-ngjd88mv.js} +6 -6
  193. package/dist/chunks/{shell-nhy5jxhy.js → skill-nhy5jxhy.js} +1 -1
  194. package/dist/chunks/{shell-hxbwmv2e.js → skill-njz5ccbp.js} +23 -23
  195. package/dist/chunks/{shell-nv5vn7qx.js → skill-nv5vn7qx.js} +2 -2
  196. package/dist/chunks/{shell-csvt3qn2.js → skill-nvwek7ap.js} +17 -17
  197. package/dist/chunks/{shell-r8m16k99.js → skill-nxn2kzp1.js} +7 -7
  198. package/dist/chunks/{shell-23pqda6t.js → skill-p0b4ytnr.js} +6 -6
  199. package/dist/chunks/{shell-hnr5yq9h.js → skill-p1nm93x7.js} +5 -5
  200. package/dist/chunks/{shell-x7pryeww.js → skill-peg0jxnw.js} +5 -5
  201. package/dist/chunks/{shell-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{shell-pknna89w.js → skill-pknna89w.js} +1 -1
  203. package/dist/chunks/{shell-5t96p4mv.js → skill-psseg6gz.js} +14 -14
  204. package/dist/chunks/{shell-4j2free1.js → skill-pz8tvbwy.js} +29 -29
  205. package/dist/chunks/{shell-w5e0rffm.js → skill-q23w5e56.js} +47 -47
  206. package/dist/chunks/{shell-1vr0zdnx.js → skill-q2xm8ywb.js} +9 -9
  207. package/dist/chunks/{shell-mypwhdkk.js → skill-q5xvhvda.js} +6 -6
  208. package/dist/chunks/{shell-yp48q4z8.js → skill-q6jtrfjv.js} +11 -11
  209. package/dist/chunks/{shell-zgavb9cq.js → skill-qbg098tt.js} +14 -14
  210. package/dist/chunks/{shell-170g143j.js → skill-qe1nvdxq.js} +12 -12
  211. package/dist/chunks/{shell-anjgpdmv.js → skill-qga0ccjf.js} +15 -15
  212. package/dist/chunks/{shell-qsdy395h.js → skill-qsdy395h.js} +1 -1
  213. package/dist/chunks/{shell-5j1hak98.js → skill-qyppqm7x.js} +5 -5
  214. package/dist/chunks/{shell-t89hfesc.js → skill-r9cxq18p.js} +9 -9
  215. package/dist/chunks/{shell-r9mregkx.js → skill-r9mregkx.js} +2 -2
  216. package/dist/chunks/{shell-6ff0ccqs.js → skill-rb3w3mf5.js} +5 -5
  217. package/dist/chunks/{shell-qdvd9fa3.js → skill-rbww1jty.js} +9 -9
  218. package/dist/chunks/{shell-t97t2t7r.js → skill-reqevd7p.js} +11 -11
  219. package/dist/chunks/{shell-eaj1djv9.js → skill-rhjbct0v.js} +8 -8
  220. package/dist/chunks/{shell-f2n192rq.js → skill-rhraev7y.js} +4 -4
  221. package/dist/chunks/{shell-cntxze1n.js → skill-rsym84ch.js} +5 -5
  222. package/dist/chunks/{shell-e5nx0vxc.js → skill-s2a7ms73.js} +17 -17
  223. package/dist/chunks/{shell-yrznvahk.js → skill-s4enseaf.js} +2 -2
  224. package/dist/chunks/{shell-8330sdex.js → skill-s4mq18h8.js} +35 -35
  225. package/dist/chunks/{shell-9axecy8x.js → skill-s4paccff.js} +32 -32
  226. package/dist/chunks/{shell-cvacbsd4.js → skill-s68jd7zp.js} +24 -24
  227. package/dist/chunks/{shell-ds7hspst.js → skill-s7w3bkgd.js} +19 -19
  228. package/dist/chunks/{shell-vag79jb7.js → skill-sge1r8v3.js} +18 -18
  229. package/dist/chunks/{shell-zfj5hy1g.js → skill-sp8nzrcy.js} +32 -32
  230. package/dist/chunks/{shell-g9x8z6es.js → skill-srrwg402.js} +36 -36
  231. package/dist/chunks/{shell-z76rvear.js → skill-ssnweha5.js} +4 -4
  232. package/dist/chunks/{shell-pe83jqzf.js → skill-syy1fpb7.js} +11 -11
  233. package/dist/chunks/{shell-1jygqsyg.js → skill-t072myer.js} +4 -4
  234. package/dist/chunks/{shell-fb1d3fys.js → skill-t1m7vjmh.js} +32 -32
  235. package/dist/chunks/{shell-58mrke4p.js → skill-t31e2ene.js} +15 -15
  236. package/dist/chunks/{shell-x3d4jfyq.js → skill-t3x2aywx.js} +6 -6
  237. package/dist/chunks/{shell-h5a39vxc.js → skill-t5300mbg.js} +7 -7
  238. package/dist/chunks/{shell-gqcgtd7m.js → skill-t7tn9nzb.js} +12 -12
  239. package/dist/chunks/{shell-785qyyg3.js → skill-t85epm91.js} +26 -26
  240. package/dist/chunks/{shell-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{shell-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{shell-tdstcens.js → skill-tdstcens.js} +1 -1
  243. package/dist/chunks/{shell-j2x4pfpm.js → skill-terbmby9.js} +5 -5
  244. package/dist/chunks/{shell-xh2y7gdn.js → skill-thw967m6.js} +19 -19
  245. package/dist/chunks/{shell-83c1hrrs.js → skill-tjb84e6a.js} +5 -5
  246. package/dist/chunks/{shell-cdb3968r.js → skill-tsxna0y7.js} +4 -4
  247. package/dist/chunks/{shell-jx66ev93.js → skill-ttxbat7j.js} +9 -9
  248. package/dist/chunks/{shell-tvtrv512.js → skill-tvtrv512.js} +1 -1
  249. package/dist/chunks/{shell-h3gtxjhp.js → skill-twemh9fr.js} +18 -18
  250. package/dist/chunks/{shell-sba7bcww.js → skill-twvspynz.js} +22 -22
  251. package/dist/chunks/{shell-7hnvxcfq.js → skill-v881kzw6.js} +31 -31
  252. package/dist/chunks/{shell-veqvce7d.js → skill-veqvce7d.js} +1 -1
  253. package/dist/chunks/{shell-7smec0s7.js → skill-vj2aakfx.js} +13 -13
  254. package/dist/chunks/{shell-we16zy36.js → skill-vwj2k05g.js} +52 -52
  255. package/dist/chunks/{shell-srhw5zxk.js → skill-vyrd71eq.js} +11 -11
  256. package/dist/chunks/{shell-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{shell-2gg8k579.js → skill-w0zssjna.js} +11 -11
  258. package/dist/chunks/{shell-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{shell-h9ah0y31.js → skill-w5mj437j.js} +4 -4
  260. package/dist/chunks/{shell-2dhdmezd.js → skill-wcbkr9bz.js} +16 -16
  261. package/dist/chunks/{shell-wd87259q.js → skill-wd87259q.js} +1 -1
  262. package/dist/chunks/{shell-dnyx0jag.js → skill-wrb0wsfb.js} +46 -46
  263. package/dist/chunks/{shell-2130zj7j.js → skill-wshm9q8m.js} +3 -3
  264. package/dist/chunks/{shell-9k5ea8vn.js → skill-wtjfe85z.js} +9 -9
  265. package/dist/chunks/{shell-5se65zms.js → skill-wvpq0bw3.js} +1 -1
  266. package/dist/chunks/{shell-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{shell-asmz7wyz.js → skill-x3et2xth.js} +8 -8
  268. package/dist/chunks/{shell-pczwz8kr.js → skill-xbh0n0bt.js} +1 -1
  269. package/dist/chunks/{shell-gmqwtf9m.js → skill-xdqzyjdf.js} +20 -20
  270. package/dist/chunks/{shell-sp5ebaa4.js → skill-xsbvjmfr.js} +11 -11
  271. package/dist/chunks/{shell-r7wttt38.js → skill-xw56ns46.js} +14 -14
  272. package/dist/chunks/{shell-1k2dysg5.js → skill-xzrhk1ha.js} +33 -33
  273. package/dist/chunks/{shell-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{shell-tsmdsbrt.js → skill-ypahpsfj.js} +12 -12
  275. package/dist/chunks/{shell-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{shell-fwex87m5.js → skill-yrzv9673.js} +8 -8
  277. package/dist/chunks/{shell-sccxx93j.js → skill-yvj9xk3b.js} +11 -11
  278. package/dist/chunks/{shell-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{shell-v7n01w8h.js → skill-z3s2t8bt.js} +13 -13
  280. package/dist/chunks/{shell-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{shell-2wy29r93.js → skill-zhr8w949.js} +30 -30
  282. package/dist/chunks/{shell-vyzzed90.js → skill-zk96wdqc.js} +10 -10
  283. package/dist/chunks/{shell-bq71cpr0.js → skill-znzt4zz9.js} +10 -10
  284. package/dist/chunks/{shell-pyajk535.js → skill-zqedtey4.js} +18 -18
  285. package/dist/chunks/{shell-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{shell-maj69pyd.js → skill-zr8dax7v.js} +18 -18
  287. package/dist/chunks/{shell-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{shell-mhke193m.js → skill-zzx2b7cx.js} +11 -11
  289. package/dist/chunks/{shell-3q16w0pe.js → skill-zzy75p67.js} +24 -24
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +79 -79
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +119 -119
  298. package/dist/config/plugin/command.js +212 -212
  299. package/dist/config/plugin/compaction.js +157 -157
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +119 -119
  303. package/dist/config/plugin/image.js +117 -117
  304. package/dist/config/plugin/instruction.js +87 -87
  305. package/dist/config/plugin/location-watcher.js +117 -117
  306. package/dist/config/plugin/mcp.js +128 -128
  307. package/dist/config/plugin/policy.js +116 -116
  308. package/dist/config/plugin/provider.js +115 -115
  309. package/dist/config/plugin/reference.js +119 -119
  310. package/dist/config/plugin/shell.js +120 -120
  311. package/dist/config/plugin/skill-file.js +99 -99
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +117 -117
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +119 -119
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +120 -120
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +364 -364
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +90 -90
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +92 -92
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +101 -101
  413. package/dist/file-mutation.js +91 -91
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +222 -222
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +100 -100
  428. package/dist/form.js +85 -85
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +84 -84
  431. package/dist/generate.js +92 -92
  432. package/dist/git.js +8 -8
  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 +7 -7
  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/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +355 -355
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +84 -84
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +133 -133
  466. package/dist/location-mutation.js +101 -101
  467. package/dist/location-service-map.js +83 -83
  468. package/dist/location-services.js +352 -352
  469. package/dist/location.js +82 -82
  470. package/dist/mcp/client.js +88 -88
  471. package/dist/mcp/index.js +105 -105
  472. package/dist/mcp/instructions.js +124 -124
  473. package/dist/mcp/oauth.js +3 -3
  474. package/dist/mcp/stdio.js +87 -87
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +7 -7
  477. package/dist/model-resolver.js +87 -87
  478. package/dist/model.js +6 -6
  479. package/dist/models-dev.js +87 -87
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +79 -79
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +114 -114
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +215 -215
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +326 -326
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +76 -76
  497. package/dist/plugin/module.js +5 -5
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +99 -99
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  503. package/dist/plugin/provider/azure.js +120 -120
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +116 -116
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +119 -119
  519. package/dist/plugin/provider/modal.js +80 -80
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +119 -119
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +79 -79
  524. package/dist/plugin/provider/opencode.js +80 -80
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +119 -119
  534. package/dist/plugin/provider/xai.js +78 -78
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +71 -71
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +135 -135
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +343 -343
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +83 -83
  545. package/dist/plugin/vcs/hg.js +83 -83
  546. package/dist/plugin/warming.js +114 -114
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +220 -220
  555. package/dist/project/schema.js +4 -4
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +81 -81
  558. package/dist/provider.js +7 -7
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +92 -92
  563. package/dist/reference/instructions.js +84 -84
  564. package/dist/reference.js +86 -86
  565. package/dist/repository-cache.js +78 -78
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +93 -93
  569. package/dist/rpc.js +83 -83
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +149 -149
  574. package/dist/session/diff.js +85 -85
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +222 -222
  579. package/dist/session/execution.js +126 -126
  580. package/dist/session/generate.js +148 -148
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +89 -89
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +76 -76
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +94 -94
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +115 -115
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +128 -128
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +102 -102
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +87 -87
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +225 -225
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +87 -87
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +112 -112
  603. package/dist/session/runner/step.js +121 -121
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +169 -169
  607. package/dist/session/shell.js +133 -133
  608. package/dist/session/skill.js +100 -100
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +72 -72
  611. package/dist/session/store.js +84 -84
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +208 -208
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +147 -147
  616. package/dist/session/to-session-error.js +109 -109
  617. package/dist/session/transfer.js +218 -218
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +216 -216
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +135 -135
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +104 -104
  627. package/dist/skill.js +107 -107
  628. package/dist/snapshot.js +90 -90
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +123 -123
  633. package/dist/tool/plugin/edit.js +117 -117
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +122 -122
  636. package/dist/tool/plugin/grep.js +122 -122
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +117 -117
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +123 -123
  641. package/dist/tool/plugin/shell.js +215 -215
  642. package/dist/tool/plugin/skill.js +106 -106
  643. package/dist/tool/plugin/subagent.js +217 -217
  644. package/dist/tool/plugin/webfetch.js +103 -103
  645. package/dist/tool/plugin/websearch.js +111 -111
  646. package/dist/tool/plugin/write.js +117 -117
  647. package/dist/tool/read-filesystem.js +98 -98
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +13 -13
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +7 -7
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/formatter.js +5 -5
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +4 -4
  669. package/dist/v1/config/permission.js +7 -7
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +86 -86
  678. package/dist/websearch.js +83 -83
  679. package/dist/wellknown/plugin.js +75 -75
  680. package/dist/wellknown.js +78 -78
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +79 -79
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +8 -8
  686. package/dist/worktree/refresh.js +342 -342
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree.js +91 -91
  689. package/package.json +8 -8
  690. package/dist/chunks/shell-4v7qdvcn.js +0 -18
  691. package/dist/chunks/shell-951egb0q.js +0 -26
  692. package/dist/chunks/shell-bra2cn2r.js +0 -247
  693. /package/dist/chunks/{shell-0mesazry.js → skill-0mesazry.js} +0 -0
  694. /package/dist/chunks/{shell-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{shell-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{shell-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{shell-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{shell-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{shell-2710q6r3.js → skill-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{shell-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{shell-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{shell-359p4xyc.js → skill-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{shell-3asan66x.js → skill-3asan66x.js} +0 -0
  704. /package/dist/chunks/{shell-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{shell-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{shell-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{shell-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{shell-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{shell-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{shell-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{shell-53557ph1.js → skill-53557ph1.js} +0 -0
  712. /package/dist/chunks/{shell-550bvhaj.js → skill-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{shell-6prwharc.js → skill-6prwharc.js} +0 -0
  714. /package/dist/chunks/{shell-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{shell-7m9af43g.js → skill-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{shell-822emrt2.js → skill-822emrt2.js} +0 -0
  717. /package/dist/chunks/{shell-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{shell-8n3pysct.js → skill-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{shell-922hggd3.js → skill-922hggd3.js} +0 -0
  720. /package/dist/chunks/{shell-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{shell-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{shell-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{shell-af5trqkr.js → skill-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{shell-afrmfg78.js → skill-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{shell-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{shell-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{shell-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{shell-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{shell-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{shell-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{shell-d9fn303g.js → skill-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{shell-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{shell-dajrwvna.js → skill-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{shell-dap0rakb.js → skill-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{shell-df08tz66.js → skill-df08tz66.js} +0 -0
  736. /package/dist/chunks/{shell-dy18nga0.js → skill-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{shell-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{shell-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{shell-ec1grn59.js → skill-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{shell-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{shell-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{shell-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{shell-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{shell-faypxj3z.js → skill-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{shell-fd410y7t.js → skill-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{shell-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{shell-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{shell-g86h250q.js → skill-g86h250q.js} +0 -0
  749. /package/dist/chunks/{shell-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{shell-gftt206x.js → skill-gftt206x.js} +0 -0
  751. /package/dist/chunks/{shell-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
  752. /package/dist/chunks/{shell-hk9envan.js → skill-hk9envan.js} +0 -0
  753. /package/dist/chunks/{shell-hrnqkpcd.js → skill-hrnqkpcd.js} +0 -0
  754. /package/dist/chunks/{shell-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{shell-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{shell-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{shell-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{shell-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{shell-mp448xyj.js → skill-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{shell-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{shell-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{shell-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{shell-njntx4h6.js → skill-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{shell-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{shell-q74kybfr.js → skill-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{shell-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{shell-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{shell-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{shell-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{shell-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{shell-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{shell-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{shell-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{shell-twg0f83k.js → skill-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{shell-w803qqfp.js → skill-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{shell-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{shell-wtztk69x.js → skill-wtztk69x.js} +0 -0
  778. /package/dist/chunks/{shell-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
  779. /package/dist/chunks/{shell-x61499pn.js → skill-x61499pn.js} +0 -0
  780. /package/dist/chunks/{shell-y44na4kk.js → skill-y44na4kk.js} +0 -0
  781. /package/dist/chunks/{shell-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
  782. /package/dist/chunks/{shell-y8f7s663.js → skill-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{shell-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{shell-ym463w8f.js → skill-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{shell-z9919s4g.js → skill-z9919s4g.js} +0 -0
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./shell-922hggd3.js";
4
+ } from "./skill-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service75,
9
- node80
10
- } from "./shell-zgda001e.js";
8
+ Service76,
9
+ node81
10
+ } from "./skill-c5743v3q.js";
11
11
  import {
12
- Service73,
13
- node78
14
- } from "./shell-zgavb9cq.js";
12
+ Service74,
13
+ node79
14
+ } from "./skill-qbg098tt.js";
15
15
  import {
16
16
  create3
17
- } from "./shell-kg06axw8.js";
17
+ } from "./skill-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./shell-9rqn6x4v.js";
20
+ } from "./skill-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID4,
27
- Service: () => Service46,
25
+ Error: () => Error3,
26
+ ID: () => ID5,
27
+ Service: () => Service39,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node49,
30
- noopLayer: () => noopLayer3
29
+ node: () => node43,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID4 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service46 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service39 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service46, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service75;
50
+ const git = yield* Service76;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service73;
52
+ const location = yield* Service74;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID4.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service39.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node49 = makeLocationNode({
144
- service: Service46,
143
+ var node43 = makeLocationNode({
144
+ service: Service39,
145
145
  layer,
146
- deps: [FSUtil.node, node80, Global.node, node78]
146
+ deps: [FSUtil.node, node81, Global.node, node79]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service46, Service46.of({
148
+ var noopLayer2 = Layer.succeed(Service39, Service39.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service46, Service46.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error4 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error4({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID4, Error4, Service46, node49, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error3, Service39, node43, noopLayer2, exports_snapshot2 };
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service73,
3
- node78
4
- } from "./shell-zgavb9cq.js";
2
+ Service74,
3
+ node79
4
+ } from "./skill-qbg098tt.js";
5
5
  import {
6
- Key4,
7
- make21,
6
+ Key3,
7
+ make20,
8
8
  combine2
9
- } from "./shell-eaj1djv9.js";
9
+ } from "./skill-rhjbct0v.js";
10
10
  import {
11
11
  __export
12
- } from "./shell-9rqn6x4v.js";
12
+ } from "./skill-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: () => Service22,
19
- node: () => node26
18
+ Service: () => Service36,
19
+ node: () => node40
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 Service22 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service36 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service22, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service73;
29
- return Service22.of({
28
+ const location = yield* Service74;
29
+ return Service36.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
- make21({
32
- key: Key4.make("core/environment"),
31
+ make20({
32
+ key: Key3.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(Service22, Effect.gen(function* () {
49
49
  `)
50
50
  }
51
51
  }),
52
- make21({
53
- key: Key4.make("core/date"),
52
+ make20({
53
+ key: Key3.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(Service22, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node26 = makeLocationNode({ service: Service22, layer, deps: [Global.node, node78] });
64
+ var node40 = makeLocationNode({ service: Service36, layer, deps: [Global.node, node79] });
65
65
 
66
- export { Service22, node26, exports_builtins };
66
+ export { Service36, node40, exports_builtins };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./shell-922hggd3.js";
4
+ } from "./skill-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./shell-dpkg50ah.js";
7
+ } from "./skill-jwcy2c2z.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./shell-tazgh4e4.js";
12
+ } from "./skill-tazgh4e4.js";
13
13
  import {
14
14
  __export
15
- } from "./shell-9rqn6x4v.js";
15
+ } from "./skill-9rqn6x4v.js";
16
16
 
17
17
  // src/git.ts
18
18
  var exports_git3 = {};
@@ -20,11 +20,11 @@ __export(exports_git3, {
20
20
  Git: () => exports_git3,
21
21
  OperationError: () => OperationError3,
22
22
  Repository: () => Repository2,
23
- Service: () => Service75,
23
+ Service: () => Service76,
24
24
  TreeID: () => TreeID2,
25
25
  Worktree: () => Worktree2,
26
26
  WorktreeError: () => WorktreeError2,
27
- node: () => node80
27
+ node: () => node81
28
28
  });
29
29
  import path from "path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -90,9 +90,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
90
90
  }) {
91
91
  }
92
92
 
93
- class Service75 extends Context.Service()("@opencode/Git") {
93
+ class Service76 extends Context.Service()("@opencode/Git") {
94
94
  }
95
- var layer = Layer.effect(Service75, Effect.gen(function* () {
95
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
96
96
  const fs = yield* FSUtil.Service;
97
97
  const proc = yield* AppProcess.Service;
98
98
  const locks = makeUnsafe2();
@@ -416,7 +416,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
416
416
  kind: index === 0 ? "main" : "linked"
417
417
  }));
418
418
  });
419
- return Service75.of({
419
+ return Service76.of({
420
420
  repo: { discover, clone, create },
421
421
  remote: { get: remote },
422
422
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -432,7 +432,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
432
432
  }
433
433
  });
434
434
  }));
435
- var node80 = makeGlobalNode({ service: Service75, layer, deps: [FSUtil.node, AppProcess.node] });
435
+ var node81 = makeGlobalNode({ service: Service76, layer, deps: [FSUtil.node, AppProcess.node] });
436
436
  function run(cwd, proc, args) {
437
437
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
438
438
  }
@@ -460,4 +460,4 @@ function resolvePath(cwd, value) {
460
460
  return path.resolve(cwd, normalized);
461
461
  }
462
462
 
463
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service75, node80, exports_git3 };
463
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service76, node81, exports_git3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./shell-6msgmcgs.js";
3
+ } from "./skill-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./shell-8p4f9s12.js";
6
+ } from "./skill-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID18
3
- } from "./shell-s24xwzhn.js";
2
+ ID10
3
+ } from "./skill-7fd2zyfz.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./shell-922hggd3.js";
6
+ } from "./skill-922hggd3.js";
7
7
  import {
8
- Info20
9
- } from "./shell-srhw5zxk.js";
8
+ Info23
9
+ } from "./skill-vyrd71eq.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./shell-cdb3968r.js";
12
+ } from "./skill-tsxna0y7.js";
13
13
  import {
14
14
  latest2,
15
- Service61
16
- } from "./shell-dnyx0jag.js";
15
+ Service70
16
+ } from "./skill-wrb0wsfb.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./shell-5daktx2q.js";
19
+ } from "./skill-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./shell-9rqn6x4v.js";
22
+ } from "./skill-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent = {};
26
- __export(exports_agent, {
27
- ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin17
25
+ var exports_agent2 = {};
26
+ __export(exports_agent2, {
27
+ ConfigAgentPlugin: () => exports_agent2,
28
+ Plugin: () => Plugin37
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info20);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info23);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin17 = define({
47
+ var Plugin37 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service61;
50
+ const config = yield* Service70;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin17 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID18.make(configuredDefault));
79
+ editor.default(ID10.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID18.make(id);
85
+ const agentID = ID10.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin17, exports_agent };
164
+ export { Plugin37, exports_agent2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./shell-922hggd3.js";
3
+ } from "./skill-922hggd3.js";
4
4
  import {
5
- Service73,
6
- node78
7
- } from "./shell-zgavb9cq.js";
5
+ Service74,
6
+ node79
7
+ } from "./skill-qbg098tt.js";
8
8
  import {
9
- Service17,
10
- node20
11
- } from "./shell-5t96p4mv.js";
9
+ Service18,
10
+ node21
11
+ } from "./skill-psseg6gz.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./shell-tcezcvh9.js";
15
+ } from "./skill-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./shell-9rqn6x4v.js";
18
+ } from "./skill-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options3,
25
- Service: () => Service16,
26
- configured: () => configured3,
24
+ Options: () => Options2,
25
+ Service: () => Service14,
26
+ configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer9,
29
- node: () => node19,
28
+ layer: () => layer8,
29
+ node: () => node17,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options3 = Schema.Struct({
38
+ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service16 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service14 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
62
- const location = yield* Service73;
63
- const ripgrep = yield* Service17;
61
+ var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
62
+ const location = yield* Service74;
63
+ const ripgrep = yield* Service18;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service16.of({
108
+ return Service14.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
116
- const location = yield* Service73;
115
+ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
116
+ const location = yield* Service74;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service16.of({
129
+ return Service14.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service16.of({
134
+ return Service14.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service73;
177
+ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service74;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured3(options) {
186
- return makeLocationNode({ service: Service16, layer: layer9(options), deps: [node78, node20] });
185
+ function configured2(options) {
186
+ return makeLocationNode({ service: Service14, layer: layer8(options), deps: [node79, node21] });
187
187
  }
188
- var node19 = configured3();
188
+ var node17 = configured2();
189
189
 
190
- export { Options3, Service16, ripgrepLayer2, fffLayer2, layer9, configured3, node19, exports_search };
190
+ export { Options2, Service14, ripgrepLayer2, fffLayer2, layer8, configured2, node17, exports_search };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./shell-eaj1djv9.js";
8
+ } from "./skill-rhjbct0v.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./shell-ec1grn59.js";
11
+ } from "./skill-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./shell-a1bz86dw.js";
15
+ } from "./skill-a1bz86dw.js";
16
16
  import {
17
17
  __export
18
- } from "./shell-9rqn6x4v.js";
18
+ } from "./skill-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};