@opencode/core 0.0.0-dev-158 → 0.0.0-dev-163

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 (811) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/{formatter-034tev2y.js → skill-034tev2y.js} +2 -2
  8. package/dist/chunks/{formatter-6qazmz99.js → skill-05ew005d.js} +12 -12
  9. package/dist/chunks/{formatter-xppfe2fc.js → skill-0a5dxn0x.js} +6 -6
  10. package/dist/chunks/{formatter-zgd8t41s.js → skill-0anyt1n6.js} +9 -9
  11. package/dist/chunks/{formatter-5ryxmec5.js → skill-0ep44wk4.js} +6 -6
  12. package/dist/chunks/{formatter-hmr6cy4x.js → skill-14zytdp5.js} +24 -24
  13. package/dist/chunks/{formatter-q0zr1qvh.js → skill-19sn1tff.js} +29 -29
  14. package/dist/chunks/{formatter-1ep2p91f.js → skill-1ep2p91f.js} +2 -2
  15. package/dist/chunks/{formatter-dxx03d8y.js → skill-1k90x68w.js} +15 -15
  16. package/dist/chunks/{formatter-xt0z8zst.js → skill-1kn6jdkn.js} +4 -4
  17. package/dist/chunks/{formatter-zxf918eb.js → skill-1rjhx841.js} +16 -16
  18. package/dist/chunks/{formatter-1x2knyw4.js → skill-1x2knyw4.js} +1 -1
  19. package/dist/chunks/{formatter-mvfz5wz8.js → skill-1yphnjpe.js} +31 -31
  20. package/dist/chunks/{formatter-204s3925.js → skill-204s3925.js} +1 -1
  21. package/dist/chunks/{formatter-2eqy3gj5.js → skill-2bvfvv2f.js} +11 -11
  22. package/dist/chunks/{formatter-6qzks2cs.js → skill-2dfqqm60.js} +30 -30
  23. package/dist/chunks/{formatter-p8047wat.js → skill-2h215caw.js} +6 -6
  24. package/dist/chunks/{formatter-9axz1114.js → skill-2kg89srt.js} +4 -4
  25. package/dist/chunks/{formatter-932fxf16.js → skill-2kr5775s.js} +22 -22
  26. package/dist/chunks/{formatter-4mppp49g.js → skill-30nyfavy.js} +3 -3
  27. package/dist/chunks/{formatter-bmvsb49w.js → skill-32jh04q0.js} +22 -22
  28. package/dist/chunks/{formatter-d0d9kmtc.js → skill-37vw2nj8.js} +25 -25
  29. package/dist/chunks/{formatter-r1gtje4t.js → skill-3f40a73m.js} +48 -48
  30. package/dist/chunks/{formatter-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{formatter-haf3v3hy.js → skill-3j1m3tq4.js} +5 -5
  32. package/dist/chunks/{formatter-d9jhw6m8.js → skill-3jcbynxa.js} +10 -10
  33. package/dist/chunks/{formatter-3nnrz6f6.js → skill-3nnrz6f6.js} +1 -1
  34. package/dist/chunks/{formatter-veq51cxc.js → skill-3rrjy1gv.js} +9 -9
  35. package/dist/chunks/{formatter-tpjvtcx1.js → skill-3vjmwmxb.js} +9 -9
  36. package/dist/chunks/{formatter-njz5cw42.js → skill-405qk1h7.js} +14 -14
  37. package/dist/chunks/{formatter-tc1bwtzj.js → skill-4az1a8cs.js} +6 -6
  38. package/dist/chunks/{formatter-43d5xc6d.js → skill-4cse8p3m.js} +19 -19
  39. package/dist/chunks/{formatter-te7zt5ht.js → skill-4j373htp.js} +25 -25
  40. package/dist/chunks/{formatter-ntxfz25d.js → skill-4np0zqes.js} +11 -11
  41. package/dist/chunks/{formatter-4pyp9zr9.js → skill-4pyp9zr9.js} +1 -1
  42. package/dist/chunks/{formatter-4v008n1t.js → skill-4v008n1t.js} +1 -1
  43. package/dist/chunks/{formatter-fzfqydht.js → skill-4wwq8aee.js} +12 -12
  44. package/dist/chunks/{formatter-dyqb2r8n.js → skill-55k6j35k.js} +11 -11
  45. package/dist/chunks/{formatter-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
  46. package/dist/chunks/{formatter-8k57btrj.js → skill-5mnzh5sc.js} +10 -10
  47. package/dist/chunks/{formatter-wbgzj0hw.js → skill-5pshy8sw.js} +2 -2
  48. package/dist/chunks/{formatter-bj9smzzw.js → skill-5qnntnk2.js} +1 -1
  49. package/dist/chunks/{formatter-yb49ndda.js → skill-5s40rnay.js} +14 -14
  50. package/dist/chunks/{formatter-kyy1rfta.js → skill-5wcw8brx.js} +14 -14
  51. package/dist/chunks/{formatter-vh9ps45p.js → skill-5wxa8xqp.js} +29 -29
  52. package/dist/chunks/{formatter-pbbktnbz.js → skill-5x26af84.js} +4 -4
  53. package/dist/chunks/{formatter-bjhzkqyk.js → skill-61ennm6n.js} +4 -4
  54. package/dist/chunks/{formatter-g9wm4gaf.js → skill-61qx5y3q.js} +41 -41
  55. package/dist/chunks/{formatter-xqwysx3w.js → skill-6ap3eaze.js} +21 -21
  56. package/dist/chunks/{formatter-6esdw8yj.js → skill-6esdw8yj.js} +1 -1
  57. package/dist/chunks/{formatter-w97d1ng8.js → skill-6mtbmyr8.js} +93 -93
  58. package/dist/chunks/{formatter-yj5kgc24.js → skill-6p4z6825.js} +2 -2
  59. package/dist/chunks/{formatter-tted8b2w.js → skill-6pzwfz31.js} +19 -19
  60. package/dist/chunks/{formatter-0ah4y9r0.js → skill-6y7j79mm.js} +6 -6
  61. package/dist/chunks/{formatter-2q4pnacr.js → skill-73bccqdv.js} +3 -3
  62. package/dist/chunks/{formatter-w8qtt4th.js → skill-76cb1hcw.js} +4 -4
  63. package/dist/chunks/{formatter-nah043kf.js → skill-770pw0s1.js} +4 -4
  64. package/dist/chunks/{formatter-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{formatter-daz8d7a2.js → skill-7bx2zmjp.js} +7 -7
  66. package/dist/chunks/{formatter-kykpneqp.js → skill-7gywx03k.js} +35 -35
  67. package/dist/chunks/{formatter-928cg9e5.js → skill-7rqmk5w1.js} +16 -16
  68. package/dist/chunks/{formatter-7w2ypzdf.js → skill-7w2ypzdf.js} +1 -1
  69. package/dist/chunks/{formatter-h1pm2szr.js → skill-8035m94h.js} +34 -34
  70. package/dist/chunks/skill-86pkm0fq.js +26 -0
  71. package/dist/chunks/{formatter-xwbhabkb.js → skill-89q2nt0d.js} +18 -18
  72. package/dist/chunks/{formatter-rte3fk8q.js → skill-8fx14zah.js} +11 -11
  73. package/dist/chunks/{formatter-11hfp36g.js → skill-8jztxfpf.js} +4 -4
  74. package/dist/chunks/{formatter-3qx04rj6.js → skill-8qkh3bqb.js} +11 -11
  75. package/dist/chunks/{formatter-8wtp7s3z.js → skill-8wtp7s3z.js} +1 -1
  76. package/dist/chunks/{formatter-90zstvax.js → skill-90zstvax.js} +1 -1
  77. package/dist/chunks/{formatter-n7pbqev4.js → skill-913wjczz.js} +1 -1
  78. package/dist/chunks/{formatter-fghrgnwr.js → skill-91kh0p1x.js} +12 -12
  79. package/dist/chunks/{formatter-8x6dz44a.js → skill-9437wt4d.js} +5 -5
  80. package/dist/chunks/{formatter-1543h8d7.js → skill-97vq97zw.js} +12 -12
  81. package/dist/chunks/{formatter-hy59nt95.js → skill-98qreggg.js} +8 -8
  82. package/dist/chunks/{formatter-exxfv8pa.js → skill-9a8sby2n.js} +10 -10
  83. package/dist/chunks/{formatter-ydnwtp95.js → skill-9beykft8.js} +2 -2
  84. package/dist/chunks/{formatter-wefmyskm.js → skill-9ca2rzpk.js} +43 -43
  85. package/dist/chunks/{formatter-bf446n6z.js → skill-9cxh8y9p.js} +6 -6
  86. package/dist/chunks/{formatter-bqm8vams.js → skill-9fvg35k7.js} +32 -32
  87. package/dist/chunks/{formatter-2pxa8g39.js → skill-9k7nxg7x.js} +13 -13
  88. package/dist/chunks/{formatter-aedwt843.js → skill-9kg5w032.js} +8 -8
  89. package/dist/chunks/{formatter-yq3rxhjy.js → skill-9nmb08f7.js} +15 -15
  90. package/dist/chunks/{formatter-dm6ksgvz.js → skill-9r049acs.js} +8 -8
  91. package/dist/chunks/{formatter-t6gnwazt.js → skill-a03n3gm8.js} +45 -45
  92. package/dist/chunks/{formatter-bxe49cp6.js → skill-a54tt8tb.js} +12 -12
  93. package/dist/chunks/{formatter-g1mxmsmn.js → skill-afqm4g5m.js} +9 -9
  94. package/dist/chunks/{formatter-e2ne77ac.js → skill-agqd6nxz.js} +4 -4
  95. package/dist/chunks/{formatter-a52hhzb9.js → skill-aj5e77t9.js} +19 -19
  96. package/dist/chunks/{formatter-vfp0pkkd.js → skill-am9yzy1e.js} +45 -45
  97. package/dist/chunks/{formatter-8sm9cepf.js → skill-aq94p1jm.js} +7 -7
  98. package/dist/chunks/{formatter-1k41bg7a.js → skill-arbe3xjc.js} +24 -24
  99. package/dist/chunks/{formatter-0gb5rjdd.js → skill-aygdtr2v.js} +24 -24
  100. package/dist/chunks/{formatter-ayjs7tqn.js → skill-ayjs7tqn.js} +2 -2
  101. package/dist/chunks/{formatter-knjx9f3g.js → skill-b29fyxt2.js} +26 -26
  102. package/dist/chunks/{formatter-5ff5nded.js → skill-b3d7ny6a.js} +18 -18
  103. package/dist/chunks/{formatter-8m1jxte5.js → skill-b61v6d5c.js} +21 -21
  104. package/dist/chunks/{formatter-394cy0eq.js → skill-b6j6r4ej.js} +17 -17
  105. package/dist/chunks/{formatter-b6vsg801.js → skill-b6vsg801.js} +2 -2
  106. package/dist/chunks/{formatter-1gnb2fcg.js → skill-bamxkp5g.js} +33 -33
  107. package/dist/chunks/{formatter-jyhg77x6.js → skill-ban6zjwx.js} +8 -8
  108. package/dist/chunks/{formatter-46ka2acm.js → skill-bcdcevt1.js} +1 -1
  109. package/dist/chunks/{formatter-8a2eg3tn.js → skill-bgt8yv0k.js} +5 -5
  110. package/dist/chunks/{formatter-7a1enj4j.js → skill-bmw1c1w2.js} +8 -8
  111. package/dist/chunks/{formatter-bstexjd6.js → skill-bstexjd6.js} +1 -1
  112. package/dist/chunks/{formatter-0n41t4zq.js → skill-btb3pt6y.js} +23 -23
  113. package/dist/chunks/{formatter-bvjg0ay9.js → skill-bvczkwhn.js} +6 -6
  114. package/dist/chunks/{formatter-03v86jt2.js → skill-c8r01r98.js} +20 -20
  115. package/dist/chunks/{formatter-t211gxpv.js → skill-cpvd08na.js} +4 -4
  116. package/dist/chunks/{formatter-cwrgdav8.js → skill-cwrgdav8.js} +2 -2
  117. package/dist/chunks/{formatter-d2887f8n.js → skill-d2887f8n.js} +1 -1
  118. package/dist/chunks/{formatter-gtz8ev1y.js → skill-d390zwf3.js} +8 -8
  119. package/dist/chunks/{formatter-d4v9tmah.js → skill-d4v9tmah.js} +2 -2
  120. package/dist/chunks/{formatter-j7v80qje.js → skill-d8bep251.js} +14 -14
  121. package/dist/chunks/{formatter-24jfnbzz.js → skill-ddfxq7x3.js} +22 -22
  122. package/dist/chunks/{formatter-n2ppx7kr.js → skill-ddmr4kyb.js} +6 -6
  123. package/dist/chunks/{formatter-f46kh10v.js → skill-dpv3c7v6.js} +18 -18
  124. package/dist/chunks/{formatter-dt77769w.js → skill-dt77769w.js} +1 -1
  125. package/dist/chunks/{formatter-52eavcth.js → skill-e44cxw6m.js} +24 -24
  126. package/dist/chunks/{formatter-snrj9yj5.js → skill-e7rv6cb7.js} +13 -13
  127. package/dist/chunks/{formatter-e834z07m.js → skill-e834z07m.js} +1 -1
  128. package/dist/chunks/{formatter-tgt0ac12.js → skill-eb8kyfw1.js} +18 -18
  129. package/dist/chunks/{formatter-avpbktef.js → skill-ee9g468w.js} +14 -14
  130. package/dist/chunks/{formatter-jvta4zhp.js → skill-en8b94nd.js} +8 -8
  131. package/dist/chunks/{formatter-qgndh80m.js → skill-epat7ra2.js} +14 -14
  132. package/dist/chunks/{formatter-7jgy946c.js → skill-epvvzesw.js} +9 -9
  133. package/dist/chunks/{formatter-wyenqtwf.js → skill-eqz11q1g.js} +4 -4
  134. package/dist/chunks/{formatter-4pev1txy.js → skill-essbs1k7.js} +13 -13
  135. package/dist/chunks/{formatter-spsvk66e.js → skill-f8hh9n1c.js} +3 -3
  136. package/dist/chunks/{formatter-6vygy4ry.js → skill-fab4ec1x.js} +15 -15
  137. package/dist/chunks/{formatter-fffv3p7h.js → skill-fffv3p7h.js} +1 -1
  138. package/dist/chunks/skill-fg9gx7xd.js +257 -0
  139. package/dist/chunks/{formatter-prq7xxp2.js → skill-fg9p65nk.js} +6 -6
  140. package/dist/chunks/{formatter-1628er8f.js → skill-fmc822pf.js} +10 -10
  141. package/dist/chunks/{formatter-6cycb20b.js → skill-fvjhjrzf.js} +30 -30
  142. package/dist/chunks/{formatter-9qcg53ez.js → skill-g1ay4zd8.js} +9 -9
  143. package/dist/chunks/{formatter-33nja2we.js → skill-ga0fj4ee.js} +14 -14
  144. package/dist/chunks/{formatter-n7bnkb3p.js → skill-gcjdgkn2.js} +9 -9
  145. package/dist/chunks/{formatter-gg8p9cgs.js → skill-gg8p9cgs.js} +3 -3
  146. package/dist/chunks/{formatter-4h077zh3.js → skill-gs87gpdt.js} +11 -11
  147. package/dist/chunks/{formatter-ezm560et.js → skill-h03fjw9b.js} +25 -25
  148. package/dist/chunks/{formatter-wkhea23b.js → skill-hbjf5446.js} +17 -17
  149. package/dist/chunks/{formatter-c5kjsz6q.js → skill-hd3k4wz8.js} +4 -4
  150. package/dist/chunks/{formatter-hdfrs5mg.js → skill-hdfrs5mg.js} +2 -2
  151. package/dist/chunks/{formatter-pqf7d7qx.js → skill-hmk43ts9.js} +28 -28
  152. package/dist/chunks/{formatter-hpg1pkwy.js → skill-hpg1pkwy.js} +1 -1
  153. package/dist/chunks/{formatter-71wc3kpp.js → skill-hqkbkg9n.js} +23 -23
  154. package/dist/chunks/{formatter-ga1rq104.js → skill-j2enqxax.js} +17 -17
  155. package/dist/chunks/{formatter-b954wvww.js → skill-j6684nar.js} +6 -6
  156. package/dist/chunks/{formatter-szcgc7h4.js → skill-ja63h2sr.js} +5 -5
  157. package/dist/chunks/{formatter-hhp2fdnq.js → skill-jchw1kv4.js} +18 -18
  158. package/dist/chunks/{formatter-jfaecv01.js → skill-jfaecv01.js} +1 -1
  159. package/dist/chunks/{formatter-p4yppz28.js → skill-jsw35a0h.js} +22 -22
  160. package/dist/chunks/{formatter-jtnps1zs.js → skill-jtnps1zs.js} +2 -2
  161. package/dist/chunks/{formatter-8zkf5cgt.js → skill-k3cw2t6y.js} +6 -6
  162. package/dist/chunks/{formatter-g9rrt98n.js → skill-k4krbr57.js} +4 -4
  163. package/dist/chunks/{formatter-tee81xg3.js → skill-k4nkwk6k.js} +28 -28
  164. package/dist/chunks/{formatter-k814nvkf.js → skill-k814nvkf.js} +1 -1
  165. package/dist/chunks/{formatter-snb901t2.js → skill-k9zkdd2y.js} +4 -4
  166. package/dist/chunks/{formatter-r6cac6pk.js → skill-kewetrmz.js} +17 -17
  167. package/dist/chunks/{formatter-dqkdjpwm.js → skill-kmhtvf6k.js} +91 -91
  168. package/dist/chunks/{formatter-tc4kyz8e.js → skill-ks317rcp.js} +2 -2
  169. package/dist/chunks/{formatter-kt3bjfbg.js → skill-kt3bjfbg.js} +1 -1
  170. package/dist/chunks/{formatter-m1714858.js → skill-m1714858.js} +1 -1
  171. package/dist/chunks/{formatter-djt3gtf7.js → skill-m29vy67z.js} +33 -33
  172. package/dist/chunks/{formatter-g7esga4v.js → skill-m37sd98t.js} +7 -7
  173. package/dist/chunks/{formatter-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{formatter-5yg7bvsq.js → skill-mn0e9cd8.js} +29 -29
  175. package/dist/chunks/{formatter-gzq9abr2.js → skill-mpn128rf.js} +49 -49
  176. package/dist/chunks/{formatter-t2ad8a1g.js → skill-ms1wawne.js} +21 -21
  177. package/dist/chunks/{formatter-q4fqeak2.js → skill-mx8m5z6n.js} +36 -36
  178. package/dist/chunks/{formatter-sqkx7p5n.js → skill-n1dbvrxa.js} +15 -15
  179. package/dist/chunks/{formatter-19qgrets.js → skill-n6nq4z64.js} +4 -4
  180. package/dist/chunks/{formatter-7jhpt6w3.js → skill-n85dj6ja.js} +25 -25
  181. package/dist/chunks/{formatter-g9w27t38.js → skill-nd2dg6zm.js} +4 -4
  182. package/dist/chunks/{formatter-bsh8r5kc.js → skill-ndec2g7f.js} +9 -9
  183. package/dist/chunks/{formatter-10vw2nd8.js → skill-ng1eyj3g.js} +2 -2
  184. package/dist/chunks/{formatter-na9deryv.js → skill-ngz6cn3c.js} +16 -16
  185. package/dist/chunks/{formatter-j6wmqcnw.js → skill-njmbjpvg.js} +13 -13
  186. package/dist/chunks/{formatter-qxdpy5f9.js → skill-nkd8v4pa.js} +6 -6
  187. package/dist/chunks/{formatter-kddgr42t.js → skill-nkraqmq3.js} +13 -13
  188. package/dist/chunks/{formatter-45ggea5m.js → skill-nr1dehp0.js} +35 -35
  189. package/dist/chunks/{formatter-6rr0vdf1.js → skill-ntadaps1.js} +18 -18
  190. package/dist/chunks/{formatter-485n4jd3.js → skill-nvhett0n.js} +21 -21
  191. package/dist/chunks/{formatter-p015t6z3.js → skill-p015t6z3.js} +2 -2
  192. package/dist/chunks/{formatter-k9dfpmz2.js → skill-p6dffgb0.js} +17 -17
  193. package/dist/chunks/{formatter-p7vhpwh8.js → skill-p7vhpwh8.js} +1 -1
  194. package/dist/chunks/{formatter-yxrr31d8.js → skill-pae7shj2.js} +9 -9
  195. package/dist/chunks/{formatter-nk8ph50s.js → skill-pjvr3qb3.js} +26 -26
  196. package/dist/chunks/{formatter-pknna89w.js → skill-pknna89w.js} +1 -1
  197. package/dist/chunks/{formatter-me7kxg3j.js → skill-pm3q2zxn.js} +8 -8
  198. package/dist/chunks/{formatter-xvmzfnq9.js → skill-pmyeg67v.js} +26 -26
  199. package/dist/chunks/{formatter-7a92ptrh.js → skill-pq0kc3ar.js} +29 -29
  200. package/dist/chunks/{formatter-61a4qrs4.js → skill-pr5m753x.js} +5 -5
  201. package/dist/chunks/{formatter-7zczqtrc.js → skill-pss36gg9.js} +11 -11
  202. package/dist/chunks/{formatter-fw94v8hy.js → skill-q2qaf7wx.js} +9 -9
  203. package/dist/chunks/{formatter-q63cb7ap.js → skill-q63cb7ap.js} +3 -3
  204. package/dist/chunks/{formatter-qkkhqeq2.js → skill-qdndt55z.js} +32 -32
  205. package/dist/chunks/{formatter-p8rfhtpq.js → skill-qk1k47zm.js} +32 -32
  206. package/dist/chunks/{formatter-nrtygxmh.js → skill-qnqasnye.js} +6 -6
  207. package/dist/chunks/{formatter-qp7r0hxv.js → skill-qp7r0hxv.js} +1 -1
  208. package/dist/chunks/{formatter-7m2ptj4e.js → skill-qw96sn3j.js} +25 -25
  209. package/dist/chunks/{formatter-av82cvsk.js → skill-qz3x11k1.js} +159 -159
  210. package/dist/chunks/{formatter-fwsczgrj.js → skill-qz8ywq1d.js} +11 -11
  211. package/dist/chunks/{formatter-cgn6nf8q.js → skill-qzsrq0m2.js} +2 -2
  212. package/dist/chunks/{formatter-r0yr0wbs.js → skill-r0yr0wbs.js} +1 -1
  213. package/dist/chunks/{formatter-m0kgc17n.js → skill-r2rkpkst.js} +4 -4
  214. package/dist/chunks/{formatter-r542h3bh.js → skill-r542h3bh.js} +1 -1
  215. package/dist/chunks/{formatter-28hr9nbt.js → skill-r7eqq3d9.js} +51 -51
  216. package/dist/chunks/{formatter-mvyy6qpx.js → skill-rag25emf.js} +34 -34
  217. package/dist/chunks/{formatter-p1njj0by.js → skill-raytzsm9.js} +9 -9
  218. package/dist/chunks/{formatter-rb9dy4dg.js → skill-rb9dy4dg.js} +1 -1
  219. package/dist/chunks/{formatter-hkv4p8qn.js → skill-rby3wm67.js} +23 -23
  220. package/dist/chunks/{formatter-ygqxcxbg.js → skill-rfk05w8t.js} +7 -7
  221. package/dist/chunks/{formatter-3n5jkvcw.js → skill-rfy1qsv0.js} +5 -5
  222. package/dist/chunks/{formatter-w4psgs9e.js → skill-rmpw1pc8.js} +32 -32
  223. package/dist/chunks/{formatter-grfya7tj.js → skill-rmv4btrj.js} +13 -13
  224. package/dist/chunks/{formatter-txf773fv.js → skill-rpmrbcva.js} +4 -4
  225. package/dist/chunks/{formatter-rt5dr6hb.js → skill-rt5dr6hb.js} +1 -1
  226. package/dist/chunks/{formatter-q3g8wbya.js → skill-rxe7p33y.js} +11 -11
  227. package/dist/chunks/{formatter-t2k4jjyh.js → skill-s25y11dt.js} +5 -5
  228. package/dist/chunks/{formatter-6v3s9y2a.js → skill-s7wsa77y.js} +27 -27
  229. package/dist/chunks/{formatter-sa3fpqfw.js → skill-sa3fpqfw.js} +2 -2
  230. package/dist/chunks/{formatter-jy1r7v62.js → skill-sgzfd5gg.js} +18 -18
  231. package/dist/chunks/{formatter-8vhprsgd.js → skill-sp9dvky5.js} +19 -19
  232. package/dist/chunks/{formatter-sqjzf8x2.js → skill-sqjzf8x2.js} +1 -1
  233. package/dist/chunks/{formatter-svcy3p9a.js → skill-svcy3p9a.js} +1 -1
  234. package/dist/chunks/{formatter-96te9d4b.js → skill-sykc9y4a.js} +5 -5
  235. package/dist/chunks/{formatter-tczq8hjw.js → skill-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{formatter-g8jkqxma.js → skill-tfmd9fwy.js} +50 -50
  237. package/dist/chunks/{formatter-wmaqz1y8.js → skill-tjsmtshz.js} +29 -29
  238. package/dist/chunks/{formatter-re939ggz.js → skill-tk2afw03.js} +39 -39
  239. package/dist/chunks/{formatter-stdt3xb1.js → skill-trcq3z22.js} +11 -11
  240. package/dist/chunks/{formatter-aj89322e.js → skill-ttqtdfz1.js} +5 -5
  241. package/dist/chunks/{formatter-sg8xjaz5.js → skill-tvmvfkbc.js} +27 -27
  242. package/dist/chunks/{formatter-twssxy5n.js → skill-twssxy5n.js} +2 -2
  243. package/dist/chunks/{formatter-v2r1d0zg.js → skill-v2r1d0zg.js} +1 -1
  244. package/dist/chunks/{formatter-dxb8mgza.js → skill-v9cr40x8.js} +12 -12
  245. package/dist/chunks/{formatter-dr3tmh6a.js → skill-v9wmh59m.js} +15 -15
  246. package/dist/chunks/{formatter-df6rebg4.js → skill-vaw3dvy1.js} +54 -54
  247. package/dist/chunks/{formatter-vg0erq9k.js → skill-vb80j1wh.js} +3 -3
  248. package/dist/chunks/{formatter-22ajefah.js → skill-vnycbc10.js} +21 -21
  249. package/dist/chunks/{formatter-c5zneedc.js → skill-vq14rzh9.js} +20 -20
  250. package/dist/chunks/{formatter-pyzjd10w.js → skill-vtgxp655.js} +2 -2
  251. package/dist/chunks/{formatter-gy6xyr2j.js → skill-vzv6y601.js} +27 -27
  252. package/dist/chunks/{formatter-5enarcya.js → skill-w2eysc6j.js} +6 -6
  253. package/dist/chunks/{formatter-z96chytr.js → skill-w2fpj83c.js} +35 -35
  254. package/dist/chunks/{formatter-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{formatter-wakvkjy4.js → skill-wakvkjy4.js} +1 -1
  256. package/dist/chunks/{formatter-56xn1hkj.js → skill-wcx1pj5t.js} +28 -28
  257. package/dist/chunks/{formatter-wd87259q.js → skill-wd87259q.js} +1 -1
  258. package/dist/chunks/{formatter-5vtsbcft.js → skill-wdyn1ab2.js} +11 -11
  259. package/dist/chunks/{formatter-7a3gzg35.js → skill-wer98kyb.js} +8 -8
  260. package/dist/chunks/{formatter-0fgefsmm.js → skill-wf6trj2q.js} +15 -15
  261. package/dist/chunks/{formatter-aprzax25.js → skill-wg6jstvf.js} +20 -20
  262. package/dist/chunks/{formatter-xjpxpj55.js → skill-wkw52rsc.js} +14 -14
  263. package/dist/chunks/{formatter-wnhgecwx.js → skill-wnhgecwx.js} +1 -1
  264. package/dist/chunks/{formatter-w687dnns.js → skill-wr3re1en.js} +4 -4
  265. package/dist/chunks/{formatter-w670rhyr.js → skill-wzy85xvx.js} +24 -24
  266. package/dist/chunks/{formatter-m6ha5htp.js → skill-xdf117h8.js} +331 -331
  267. package/dist/chunks/{formatter-taahtb0c.js → skill-xe5v3ymg.js} +6 -6
  268. package/dist/chunks/{formatter-fng6wk28.js → skill-xm8wrjs5.js} +11 -11
  269. package/dist/chunks/{formatter-51s5kn8z.js → skill-xpadfym9.js} +18 -18
  270. package/dist/chunks/{formatter-zs0e4nbm.js → skill-xybtmwwq.js} +23 -23
  271. package/dist/chunks/{formatter-cfa85z7t.js → skill-y0ha8pg7.js} +37 -37
  272. package/dist/chunks/{formatter-3ga08nvd.js → skill-yamg44ys.js} +11 -11
  273. package/dist/chunks/{formatter-yara3q77.js → skill-yara3q77.js} +2 -2
  274. package/dist/chunks/{formatter-yb20nhc3.js → skill-yb20nhc3.js} +1 -1
  275. package/dist/chunks/{formatter-4dn49050.js → skill-yhxq0ph1.js} +30 -30
  276. package/dist/chunks/{formatter-pakndkhn.js → skill-ymz7p2c9.js} +3 -3
  277. package/dist/chunks/{formatter-q28pv36z.js → skill-yptr342z.js} +38 -38
  278. package/dist/chunks/{formatter-6q4pe2tt.js → skill-yqh7zqgy.js} +11 -11
  279. package/dist/chunks/{formatter-5cn8xe5s.js → skill-z0b8nnqv.js} +18 -18
  280. package/dist/chunks/{formatter-z38nccrw.js → skill-z38nccrw.js} +1 -1
  281. package/dist/chunks/{formatter-fe32wyxe.js → skill-z6yfre4a.js} +12 -12
  282. package/dist/chunks/skill-z7bdqmx5.js +18 -0
  283. package/dist/chunks/{formatter-n7s957jj.js → skill-z7efmy73.js} +10 -10
  284. package/dist/chunks/{formatter-dht0teee.js → skill-zccn1z3t.js} +5 -5
  285. package/dist/chunks/{formatter-txvbkf9b.js → skill-zec3dvrx.js} +51 -51
  286. package/dist/chunks/{formatter-d8p3t516.js → skill-zgmrepvs.js} +4 -4
  287. package/dist/chunks/{formatter-408rv1ek.js → skill-zjsdvc9v.js} +77 -77
  288. package/dist/chunks/{formatter-5rf46hdm.js → skill-znk3jx2t.js} +25 -25
  289. package/dist/chunks/{formatter-0dyf8jqq.js → skill-ztwsgc1d.js} +60 -60
  290. package/dist/chunks/{formatter-pf9gr1ec.js → skill-zvp0bfyt.js} +3 -3
  291. package/dist/chunks/{formatter-mk6v4p35.js → skill-zxv2n26m.js} +13 -13
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +92 -92
  298. package/dist/config/integration.js +3 -3
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +107 -107
  301. package/dist/config/plugin/agent.js +121 -121
  302. package/dist/config/plugin/command.js +219 -219
  303. package/dist/config/plugin/compaction.js +162 -162
  304. package/dist/config/plugin/compatibility.js +142 -142
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +122 -122
  307. package/dist/config/plugin/image.js +121 -121
  308. package/dist/config/plugin/instruction.js +121 -121
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +128 -128
  311. package/dist/config/plugin/policy.js +123 -123
  312. package/dist/config/plugin/provider.js +122 -122
  313. package/dist/config/plugin/reference.js +123 -123
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +138 -138
  316. package/dist/config/plugin/skill-scan.js +3 -3
  317. package/dist/config/plugin/skill.js +145 -145
  318. package/dist/config/plugin/snapshot.js +121 -121
  319. package/dist/config/plugin/source.js +124 -124
  320. package/dist/config/plugin/tool-output.js +122 -122
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +123 -123
  323. package/dist/config/variable.js +1 -1
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +124 -124
  326. package/dist/console-access.js +1 -1
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +87 -87
  329. package/dist/database/database.js +76 -76
  330. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  332. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  333. package/dist/database/drizzle/index.js +15 -15
  334. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  337. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  345. package/dist/database/drizzle.js +16 -16
  346. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  347. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  348. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  349. package/dist/database/migration/20260225215848_workspace.js +1 -1
  350. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  351. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  352. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  353. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  354. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  355. package/dist/database/migration/20260323234822_events.js +1 -1
  356. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  357. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  358. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  359. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  360. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  361. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  362. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  363. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  364. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  365. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  366. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  367. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  368. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  369. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  370. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  371. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  372. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  373. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  374. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  375. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  376. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  377. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  378. package/dist/database/migration/20260611035744_credential.js +1 -1
  379. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  380. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  381. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  382. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  383. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  384. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  385. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  386. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  387. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  388. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  389. package/dist/database/migration/20260812213948_worktree.js +1 -1
  390. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  391. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  392. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  393. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  394. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  395. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  396. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  397. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  398. package/dist/database/migration/20261025123711_blob.js +1 -1
  399. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  400. package/dist/database/migration.gen.js +55 -55
  401. package/dist/database/migration.js +57 -57
  402. package/dist/database/path.js +2 -2
  403. package/dist/database/schema.gen.js +1 -1
  404. package/dist/database/schema.sql.js +1 -1
  405. package/dist/database/sqlite.bun.js +1 -1
  406. package/dist/database/sqlite.js +1 -1
  407. package/dist/database/sqlite.node.js +1 -1
  408. package/dist/database/sqlite.workerd.js +1 -1
  409. package/dist/database/v1-migration.bun.js +98 -98
  410. package/dist/database/v1-migration.js +1 -1
  411. package/dist/effect/app-node-builder.js +377 -377
  412. package/dist/effect/app-node-platform.js +2 -2
  413. package/dist/effect/keyed-mutex.js +3 -3
  414. package/dist/effect/websocket-constructor.js +1 -1
  415. package/dist/environment/driver.js +1 -1
  416. package/dist/environment/environment.js +101 -101
  417. package/dist/environment/exec-defaults.js +2 -2
  418. package/dist/environment/files.js +1 -1
  419. package/dist/environment/index.js +103 -103
  420. package/dist/environment/local.js +2 -2
  421. package/dist/environment/memory.js +2 -2
  422. package/dist/environment/unavailable.js +3 -3
  423. package/dist/event/sql.js +1 -1
  424. package/dist/event-logger.js +80 -80
  425. package/dist/file-access.js +148 -148
  426. package/dist/file-mutation.js +102 -102
  427. package/dist/file-retention.js +1 -1
  428. package/dist/filesystem/fff.bun.js +2 -2
  429. package/dist/filesystem/fff.js +1 -1
  430. package/dist/filesystem/fff.node.js +2 -2
  431. package/dist/filesystem/fff.workerd.js +2 -2
  432. package/dist/filesystem/file-watch.js +86 -86
  433. package/dist/filesystem/location-watcher-policy.js +6 -6
  434. package/dist/filesystem/location-watcher.js +234 -234
  435. package/dist/filesystem/protected.js +3 -3
  436. package/dist/filesystem/search.js +107 -107
  437. package/dist/filesystem/watcher-binding.js +1 -1
  438. package/dist/filesystem/watcher.js +11 -11
  439. package/dist/filesystem.js +110 -110
  440. package/dist/form.js +86 -86
  441. package/dist/formatter/builtins.js +4 -4
  442. package/dist/formatter.js +95 -95
  443. package/dist/generate.js +111 -111
  444. package/dist/git.js +11 -11
  445. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  446. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  447. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  448. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  449. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  450. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  451. package/dist/github-copilot/copilot-provider.js +17 -17
  452. package/dist/github-copilot/models.js +99 -99
  453. package/dist/github-copilot/openai-compatible-error.js +1 -1
  454. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  455. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  456. package/dist/github-copilot/responses/openai-error.js +1 -1
  457. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  458. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  459. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  460. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  461. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  462. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  463. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  464. package/dist/image/photon-normalize.js +1 -1
  465. package/dist/image/photon-worker.js +1 -1
  466. package/dist/image/photon.js +4 -4
  467. package/dist/image.js +6 -6
  468. package/dist/instance/service.js +5 -5
  469. package/dist/instance.js +368 -368
  470. package/dist/instruction-discovery.js +90 -90
  471. package/dist/instructions/builtins.js +95 -95
  472. package/dist/instructions/index.js +3 -3
  473. package/dist/integration/connection.js +3 -3
  474. package/dist/integration.js +91 -91
  475. package/dist/job.js +82 -82
  476. package/dist/kv/sql.js +2 -2
  477. package/dist/kv.js +79 -79
  478. package/dist/location-activity.js +166 -166
  479. package/dist/location-lifecycle.js +142 -142
  480. package/dist/location-service-map.js +94 -94
  481. package/dist/location-services.js +365 -365
  482. package/dist/location.js +93 -93
  483. package/dist/managed-policy.js +3 -3
  484. package/dist/mcp/client.js +99 -99
  485. package/dist/mcp/index.js +115 -115
  486. package/dist/mcp/instructions.js +168 -168
  487. package/dist/mcp/oauth.js +84 -84
  488. package/dist/mcp/socket-client.js +1 -1
  489. package/dist/mcp/stdio.js +98 -98
  490. package/dist/mime.js +1 -1
  491. package/dist/modal/models.js +99 -99
  492. package/dist/model-resolver.js +107 -107
  493. package/dist/model-retry.js +1 -1
  494. package/dist/model.js +106 -106
  495. package/dist/models-dev/v1.js +1 -1
  496. package/dist/models-dev.js +116 -116
  497. package/dist/oauth/page.js +1 -1
  498. package/dist/permission/saved.js +88 -88
  499. package/dist/permission/sql.js +5 -5
  500. package/dist/permission.js +147 -147
  501. package/dist/persistent-pty/binary.bun.js +1 -1
  502. package/dist/persistent-pty/daemon.js +1 -1
  503. package/dist/persistent-pty/index.js +96 -96
  504. package/dist/persistent-pty/pty-binding.js +1 -1
  505. package/dist/persistent-pty.js +81 -81
  506. package/dist/plugin/agent.js +80 -80
  507. package/dist/plugin/command.js +108 -108
  508. package/dist/plugin/hooks.js +5 -5
  509. package/dist/plugin/host.js +227 -227
  510. package/dist/plugin/identity.js +5 -5
  511. package/dist/plugin/instance.js +5 -5
  512. package/dist/plugin/internal.js +338 -338
  513. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  514. package/dist/plugin/models-dev.js +105 -105
  515. package/dist/plugin/module.js +123 -123
  516. package/dist/plugin/optimize.js +2 -2
  517. package/dist/plugin/plan.js +138 -138
  518. package/dist/plugin/promise.js +1 -1
  519. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  520. package/dist/plugin/provider/azure.js +121 -121
  521. package/dist/plugin/provider/cerebras.js +1 -1
  522. package/dist/plugin/provider/chatgpt.js +121 -121
  523. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  524. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  525. package/dist/plugin/provider/configured.js +117 -117
  526. package/dist/plugin/provider/databricks.js +1 -1
  527. package/dist/plugin/provider/digitalocean.js +101 -101
  528. package/dist/plugin/provider/dynamic.js +2 -2
  529. package/dist/plugin/provider/github-copilot.js +103 -103
  530. package/dist/plugin/provider/gitlab.js +101 -101
  531. package/dist/plugin/provider/google-vertex.js +118 -118
  532. package/dist/plugin/provider/kilo.js +1 -1
  533. package/dist/plugin/provider/llmgateway.js +84 -84
  534. package/dist/plugin/provider/lmstudio.js +130 -130
  535. package/dist/plugin/provider/local.js +127 -127
  536. package/dist/plugin/provider/modal.js +100 -100
  537. package/dist/plugin/provider/neon.js +1 -1
  538. package/dist/plugin/provider/nvidia.js +1 -1
  539. package/dist/plugin/provider/ollama.js +130 -130
  540. package/dist/plugin/provider/openai-context-caps.js +98 -98
  541. package/dist/plugin/provider/openai.js +121 -121
  542. package/dist/plugin/provider/opencode.js +124 -124
  543. package/dist/plugin/provider/openrouter.js +99 -99
  544. package/dist/plugin/provider/poe.js +85 -85
  545. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  546. package/dist/plugin/provider/sap-ai-core.js +99 -99
  547. package/dist/plugin/provider/sdk-factory.js +1 -1
  548. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  549. package/dist/plugin/provider/vllm.js +130 -130
  550. package/dist/plugin/provider/xai.js +99 -99
  551. package/dist/plugin/provider/zenmux.js +1 -1
  552. package/dist/plugin/provider.js +171 -171
  553. package/dist/plugin/sdk.js +82 -82
  554. package/dist/plugin/service.js +3 -3
  555. package/dist/plugin/skill.js +141 -141
  556. package/dist/plugin/source-directory.js +1 -1
  557. package/dist/plugin/supervisor.js +357 -357
  558. package/dist/plugin/tool-input-repair.js +4 -4
  559. package/dist/plugin/update.js +6 -6
  560. package/dist/plugin/vcs/git.js +94 -94
  561. package/dist/plugin/vcs/hg.js +94 -94
  562. package/dist/plugin/verbosity.js +101 -101
  563. package/dist/plugin/warming.js +119 -119
  564. package/dist/plugin/websearch/exa.js +5 -5
  565. package/dist/plugin/websearch/firecrawl.js +6 -6
  566. package/dist/plugin/websearch/index.js +9 -9
  567. package/dist/plugin/websearch/mcp.js +4 -4
  568. package/dist/plugin/websearch/parallel.js +8 -8
  569. package/dist/plugin/websearch/tavily.js +4 -4
  570. package/dist/plugin/websearch/tinyfish.js +8 -8
  571. package/dist/plugin.js +236 -236
  572. package/dist/project/icon.js +5 -5
  573. package/dist/project/schema.js +2 -2
  574. package/dist/project/sql.js +4 -4
  575. package/dist/project.js +92 -92
  576. package/dist/provider.js +105 -105
  577. package/dist/pty/protocol.js +1 -1
  578. package/dist/pty/ticket.js +1 -1
  579. package/dist/pty.js +106 -106
  580. package/dist/reference/instructions.js +96 -96
  581. package/dist/reference.js +98 -98
  582. package/dist/repository-cache.js +88 -88
  583. package/dist/repository.js +1 -1
  584. package/dist/ripgrep/binary.js +2 -2
  585. package/dist/ripgrep.js +105 -105
  586. package/dist/rpc.js +94 -94
  587. package/dist/schema.js +1 -1
  588. package/dist/session/affinity.js +1 -1
  589. package/dist/session/blob.js +120 -120
  590. package/dist/session/command.js +80 -80
  591. package/dist/session/compaction.js +162 -162
  592. package/dist/session/context.js +188 -188
  593. package/dist/session/diff.js +96 -96
  594. package/dist/session/environment.js +5 -5
  595. package/dist/session/error.js +5 -5
  596. package/dist/session/event.js +1 -1
  597. package/dist/session/execution/restart.js +231 -231
  598. package/dist/session/execution.js +152 -152
  599. package/dist/session/generate.js +188 -188
  600. package/dist/session/history.js +127 -127
  601. package/dist/session/inbox.js +136 -136
  602. package/dist/session/info.js +3 -3
  603. package/dist/session/instruction-entry.js +85 -85
  604. package/dist/session/instruction-state.js +8 -8
  605. package/dist/session/instructions.js +132 -132
  606. package/dist/session/message-updater.js +2 -2
  607. package/dist/session/message.js +1 -1
  608. package/dist/session/model-request.js +155 -155
  609. package/dist/session/model-transport.js +9 -9
  610. package/dist/session/move.js +156 -156
  611. package/dist/session/projector.js +134 -134
  612. package/dist/session/prompt.js +140 -140
  613. package/dist/session/recent-text.js +1 -1
  614. package/dist/session/revert.js +130 -130
  615. package/dist/session/run-coordinator.js +1 -1
  616. package/dist/session/runner/index.js +3 -3
  617. package/dist/session/runner/llm.js +238 -238
  618. package/dist/session/runner/max-steps.js +1 -1
  619. package/dist/session/runner/model.js +108 -108
  620. package/dist/session/runner/publish-llm-event.js +141 -141
  621. package/dist/session/runner/retry.js +5 -5
  622. package/dist/session/runner/step.js +154 -154
  623. package/dist/session/runner/to-llm-message.js +128 -128
  624. package/dist/session/schema.js +3 -3
  625. package/dist/session/session.js +170 -170
  626. package/dist/session/shell.js +135 -135
  627. package/dist/session/skill.js +139 -139
  628. package/dist/session/sql.js +5 -5
  629. package/dist/session/stats.js +81 -81
  630. package/dist/session/store.js +133 -133
  631. package/dist/session/stored.js +4 -4
  632. package/dist/session/subagent-completion.js +1 -1
  633. package/dist/session/subagent-job.js +219 -219
  634. package/dist/session/system-prompt.js +5 -5
  635. package/dist/session/title.js +192 -192
  636. package/dist/session/to-session-error.js +140 -140
  637. package/dist/session/transfer.js +230 -230
  638. package/dist/session/usage.js +1 -1
  639. package/dist/session.js +223 -223
  640. package/dist/shell/parse.js +8 -8
  641. package/dist/shell/result.js +1 -1
  642. package/dist/shell/scan.js +1 -1
  643. package/dist/shell/select.js +13 -13
  644. package/dist/shell.js +137 -137
  645. package/dist/skill/discovery.js +6 -6
  646. package/dist/skill/instructions.js +143 -143
  647. package/dist/skill.js +150 -150
  648. package/dist/snapshot.js +99 -99
  649. package/dist/state.js +1 -1
  650. package/dist/tool/html-markdown.js +1 -1
  651. package/dist/tool/http-body.js +1 -1
  652. package/dist/tool/mcp.js +167 -167
  653. package/dist/tool/plugin/edit.js +156 -156
  654. package/dist/tool/plugin/file-diff.js +1 -1
  655. package/dist/tool/plugin/glob.js +160 -160
  656. package/dist/tool/plugin/grep.js +160 -160
  657. package/dist/tool/plugin/mcp-resource.js +154 -154
  658. package/dist/tool/plugin/opencode.js +153 -153
  659. package/dist/tool/plugin/patch.js +156 -156
  660. package/dist/tool/plugin/question.js +140 -140
  661. package/dist/tool/plugin/read.js +161 -161
  662. package/dist/tool/plugin/shell.js +224 -224
  663. package/dist/tool/plugin/skill.js +149 -149
  664. package/dist/tool/plugin/subagent.js +226 -226
  665. package/dist/tool/plugin/todo.js +145 -145
  666. package/dist/tool/plugin/webfetch.js +143 -143
  667. package/dist/tool/plugin/websearch.js +143 -143
  668. package/dist/tool/plugin/write.js +152 -152
  669. package/dist/tool/read-filesystem.js +110 -110
  670. package/dist/tool/runtime.js +1 -1
  671. package/dist/tool-output.js +7 -7
  672. package/dist/tool.js +14 -14
  673. package/dist/usage-limits.js +95 -95
  674. package/dist/util/error-summary.js +1 -1
  675. package/dist/util/git-executable.js +3 -3
  676. package/dist/util/lazy.js +1 -1
  677. package/dist/util/slug.js +1 -1
  678. package/dist/util/token.js +1 -1
  679. package/dist/util/which.js +1 -1
  680. package/dist/util/wildcard.js +1 -1
  681. package/dist/v1/config/agent.js +5 -5
  682. package/dist/v1/config/command.js +3 -3
  683. package/dist/v1/config/mcp.js +4 -4
  684. package/dist/v1/config/migrate.js +100 -100
  685. package/dist/v1/config/permission.js +3 -3
  686. package/dist/v1/config/plugin.js +1 -1
  687. package/dist/v1/config/provider-options.js +1 -1
  688. package/dist/v1/config/provider.js +4 -4
  689. package/dist/variant.js +101 -101
  690. package/dist/vcs/patch.js +1 -1
  691. package/dist/vcs.js +97 -97
  692. package/dist/voice.js +92 -92
  693. package/dist/websearch.js +88 -88
  694. package/dist/wellknown/plugin.js +82 -82
  695. package/dist/wellknown.js +85 -85
  696. package/dist/workspace/driver.js +7 -7
  697. package/dist/workspace/sql.js +1 -1
  698. package/dist/workspace.js +88 -88
  699. package/dist/worktree/directory.js +2 -2
  700. package/dist/worktree/git.js +11 -11
  701. package/dist/worktree/sql.js +5 -5
  702. package/dist/worktree/strategies.js +97 -97
  703. package/dist/worktree.js +108 -108
  704. package/package.json +8 -8
  705. package/dist/chunks/formatter-3zat5gdw.js +0 -26
  706. package/dist/chunks/formatter-a885h41h.js +0 -257
  707. package/dist/chunks/formatter-k62y2wy8.js +0 -18
  708. /package/dist/chunks/{formatter-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
  709. /package/dist/chunks/{formatter-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
  710. /package/dist/chunks/{formatter-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
  711. /package/dist/chunks/{formatter-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
  712. /package/dist/chunks/{formatter-1jakw16s.js → skill-1jakw16s.js} +0 -0
  713. /package/dist/chunks/{formatter-24dcb14g.js → skill-24dcb14g.js} +0 -0
  714. /package/dist/chunks/{formatter-2710q6r3.js → skill-2710q6r3.js} +0 -0
  715. /package/dist/chunks/{formatter-2bv980vf.js → skill-2bv980vf.js} +0 -0
  716. /package/dist/chunks/{formatter-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
  717. /package/dist/chunks/{formatter-359p4xyc.js → skill-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{formatter-3asan66x.js → skill-3asan66x.js} +0 -0
  719. /package/dist/chunks/{formatter-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{formatter-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{formatter-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{formatter-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{formatter-4m86bj6y.js → skill-4m86bj6y.js} +0 -0
  724. /package/dist/chunks/{formatter-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{formatter-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{formatter-53557ph1.js → skill-53557ph1.js} +0 -0
  727. /package/dist/chunks/{formatter-550bvhaj.js → skill-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{formatter-5w3e23ze.js → skill-5w3e23ze.js} +0 -0
  729. /package/dist/chunks/{formatter-6prwharc.js → skill-6prwharc.js} +0 -0
  730. /package/dist/chunks/{formatter-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
  731. /package/dist/chunks/{formatter-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
  732. /package/dist/chunks/{formatter-7m9af43g.js → skill-7m9af43g.js} +0 -0
  733. /package/dist/chunks/{formatter-822emrt2.js → skill-822emrt2.js} +0 -0
  734. /package/dist/chunks/{formatter-84wd9syh.js → skill-84wd9syh.js} +0 -0
  735. /package/dist/chunks/{formatter-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
  736. /package/dist/chunks/{formatter-8n3pysct.js → skill-8n3pysct.js} +0 -0
  737. /package/dist/chunks/{formatter-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
  738. /package/dist/chunks/{formatter-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
  739. /package/dist/chunks/{formatter-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
  740. /package/dist/chunks/{formatter-a058387c.js → skill-a058387c.js} +0 -0
  741. /package/dist/chunks/{formatter-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
  742. /package/dist/chunks/{formatter-af5trqkr.js → skill-af5trqkr.js} +0 -0
  743. /package/dist/chunks/{formatter-afrmfg78.js → skill-afrmfg78.js} +0 -0
  744. /package/dist/chunks/{formatter-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
  745. /package/dist/chunks/{formatter-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
  746. /package/dist/chunks/{formatter-beh6qq61.js → skill-beh6qq61.js} +0 -0
  747. /package/dist/chunks/{formatter-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
  748. /package/dist/chunks/{formatter-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
  749. /package/dist/chunks/{formatter-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
  750. /package/dist/chunks/{formatter-cqv5kn06.js → skill-cqv5kn06.js} +0 -0
  751. /package/dist/chunks/{formatter-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
  752. /package/dist/chunks/{formatter-d9fn303g.js → skill-d9fn303g.js} +0 -0
  753. /package/dist/chunks/{formatter-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
  754. /package/dist/chunks/{formatter-dajrwvna.js → skill-dajrwvna.js} +0 -0
  755. /package/dist/chunks/{formatter-dap0rakb.js → skill-dap0rakb.js} +0 -0
  756. /package/dist/chunks/{formatter-df08tz66.js → skill-df08tz66.js} +0 -0
  757. /package/dist/chunks/{formatter-dy18nga0.js → skill-dy18nga0.js} +0 -0
  758. /package/dist/chunks/{formatter-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
  759. /package/dist/chunks/{formatter-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
  760. /package/dist/chunks/{formatter-ec1grn59.js → skill-ec1grn59.js} +0 -0
  761. /package/dist/chunks/{formatter-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
  762. /package/dist/chunks/{formatter-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
  763. /package/dist/chunks/{formatter-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
  764. /package/dist/chunks/{formatter-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
  765. /package/dist/chunks/{formatter-faypxj3z.js → skill-faypxj3z.js} +0 -0
  766. /package/dist/chunks/{formatter-fd410y7t.js → skill-fd410y7t.js} +0 -0
  767. /package/dist/chunks/{formatter-fkpq3x5p.js → skill-fkpq3x5p.js} +0 -0
  768. /package/dist/chunks/{formatter-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
  769. /package/dist/chunks/{formatter-g86h250q.js → skill-g86h250q.js} +0 -0
  770. /package/dist/chunks/{formatter-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
  771. /package/dist/chunks/{formatter-gftt206x.js → skill-gftt206x.js} +0 -0
  772. /package/dist/chunks/{formatter-hcxmzztb.js → skill-hcxmzztb.js} +0 -0
  773. /package/dist/chunks/{formatter-hk9envan.js → skill-hk9envan.js} +0 -0
  774. /package/dist/chunks/{formatter-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
  775. /package/dist/chunks/{formatter-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
  776. /package/dist/chunks/{formatter-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
  777. /package/dist/chunks/{formatter-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
  778. /package/dist/chunks/{formatter-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
  779. /package/dist/chunks/{formatter-jwr30sdr.js → skill-jwr30sdr.js} +0 -0
  780. /package/dist/chunks/{formatter-jze0r7bz.js → skill-jze0r7bz.js} +0 -0
  781. /package/dist/chunks/{formatter-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
  782. /package/dist/chunks/{formatter-m18g726c.js → skill-m18g726c.js} +0 -0
  783. /package/dist/chunks/{formatter-mp448xyj.js → skill-mp448xyj.js} +0 -0
  784. /package/dist/chunks/{formatter-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
  785. /package/dist/chunks/{formatter-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
  786. /package/dist/chunks/{formatter-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
  787. /package/dist/chunks/{formatter-ncqqe42p.js → skill-ncqqe42p.js} +0 -0
  788. /package/dist/chunks/{formatter-njntx4h6.js → skill-njntx4h6.js} +0 -0
  789. /package/dist/chunks/{formatter-p71gwv9c.js → skill-p71gwv9c.js} +0 -0
  790. /package/dist/chunks/{formatter-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
  791. /package/dist/chunks/{formatter-q74kybfr.js → skill-q74kybfr.js} +0 -0
  792. /package/dist/chunks/{formatter-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
  793. /package/dist/chunks/{formatter-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
  794. /package/dist/chunks/{formatter-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
  795. /package/dist/chunks/{formatter-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
  796. /package/dist/chunks/{formatter-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
  797. /package/dist/chunks/{formatter-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
  798. /package/dist/chunks/{formatter-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
  799. /package/dist/chunks/{formatter-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
  800. /package/dist/chunks/{formatter-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
  801. /package/dist/chunks/{formatter-w803qqfp.js → skill-w803qqfp.js} +0 -0
  802. /package/dist/chunks/{formatter-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
  803. /package/dist/chunks/{formatter-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
  804. /package/dist/chunks/{formatter-wtztk69x.js → skill-wtztk69x.js} +0 -0
  805. /package/dist/chunks/{formatter-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
  806. /package/dist/chunks/{formatter-x61499pn.js → skill-x61499pn.js} +0 -0
  807. /package/dist/chunks/{formatter-y44na4kk.js → skill-y44na4kk.js} +0 -0
  808. /package/dist/chunks/{formatter-y8f7s663.js → skill-y8f7s663.js} +0 -0
  809. /package/dist/chunks/{formatter-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
  810. /package/dist/chunks/{formatter-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
  811. /package/dist/chunks/{formatter-z9919s4g.js → skill-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./formatter-z5v4ffb3.js";
4
+ } from "./skill-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service84,
9
- node88
10
- } from "./formatter-6qazmz99.js";
8
+ Service83,
9
+ node87
10
+ } from "./skill-05ew005d.js";
11
11
  import {
12
- Service82,
13
- node86
14
- } from "./formatter-njz5cw42.js";
12
+ Service81,
13
+ node85
14
+ } from "./skill-405qk1h7.js";
15
15
  import {
16
16
  create3
17
- } from "./formatter-204s3925.js";
17
+ } from "./skill-204s3925.js";
18
18
  import {
19
19
  __export
20
- } from "./formatter-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: () => Error2,
26
- ID: () => ID7,
27
- Service: () => Service50,
25
+ Error: () => Error5,
26
+ ID: () => ID16,
27
+ Service: () => Service80,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node53,
29
+ node: () => node84,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Clock, 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 ID7 } from "@opencode/schema/snapshot";
37
+ import { ID as ID16 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error5 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 Service50 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service80 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service50, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service84;
50
+ const git = yield* Service83;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service82;
52
+ const location = yield* Service81;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service50, 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 Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error5({ 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)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID7.make(tree);
99
+ return ID16.make(tree);
100
100
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
101
101
  });
102
102
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
141
141
  for (const [file, snapshot] of input.files) {
142
142
  const absolute = path.resolve(worktree, file);
143
143
  if (!FSUtil.contains(worktree, absolute))
144
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
144
+ return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
145
145
  files.set(file, TreeID2.make(snapshot));
146
146
  }
147
147
  return files;
148
148
  });
149
149
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
150
150
  if (!enabled())
151
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
151
+ return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
152
152
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
153
153
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  });
155
- return Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
155
+ return Service80.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
156
  }).pipe(Effect.withSpan("Snapshot.boot")));
157
- var node53 = makeLocationNode({
158
- service: Service50,
157
+ var node84 = makeLocationNode({
158
+ service: Service80,
159
159
  layer,
160
- deps: [FSUtil.node, node88, Global.node, node86]
160
+ deps: [FSUtil.node, node87, Global.node, node85]
161
161
  });
162
- var noopLayer3 = Layer.succeed(Service50, Service50.of({
162
+ var noopLayer3 = Layer.succeed(Service80, Service80.of({
163
163
  transform: () => Effect.succeed({ dispose: Effect.void }),
164
164
  reload: () => Effect.void,
165
165
  capture: () => Effect.undefined,
@@ -168,13 +168,13 @@ var noopLayer3 = Layer.succeed(Service50, Service50.of({
168
168
  restore: () => Effect.void
169
169
  }));
170
170
  function failure(operation, cause) {
171
- if (cause instanceof Error2 && cause.operation === operation)
171
+ if (cause instanceof Error5 && cause.operation === operation)
172
172
  return cause;
173
- return new Error2({
173
+ return new Error5({
174
174
  operation,
175
175
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
176
176
  cause
177
177
  });
178
178
  }
179
179
 
180
- export { ID7, Error2, Service50, node53, noopLayer3, exports_snapshot2 };
180
+ export { ID16, Error5, Service80, node84, noopLayer3, exports_snapshot2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service47,
3
- node50,
2
+ Service53,
3
+ node55,
4
4
  canonical3
5
- } from "./formatter-bsh8r5kc.js";
5
+ } from "./skill-ndec2g7f.js";
6
6
  import {
7
- Service41,
8
- node44
9
- } from "./formatter-8zkf5cgt.js";
7
+ Service38,
8
+ node40
9
+ } from "./skill-k3cw2t6y.js";
10
10
  import {
11
- Service16
12
- } from "./formatter-q4fqeak2.js";
11
+ Service13
12
+ } from "./skill-mx8m5z6n.js";
13
13
  import {
14
14
  layer2
15
- } from "./formatter-a885h41h.js";
15
+ } from "./skill-fg9gx7xd.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service47, Effect.gen(function* () {
20
+ return Layer.effect(Service53, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service16);
30
+ const lifecycle = Context.get(exit.value, Service13);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -58,11 +58,11 @@ function buildLocationServiceMap2(replacements = []) {
58
58
  }).pipe(Effect.uninterruptible)
59
59
  };
60
60
  const bindings = [
61
- node44.replace(Layer.succeed(Service41, {
61
+ node40.replace(Layer.succeed(Service38, {
62
62
  provide: (session) => Effect.provide(map.get(session.location))
63
63
  })),
64
64
  ...replacements,
65
- node50.replace(Layer.succeed(Service47, map))
65
+ node55.replace(Layer.succeed(Service53, map))
66
66
  ];
67
67
  return map;
68
68
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./formatter-bxe49cp6.js";
3
+ } from "./skill-a54tt8tb.js";
4
4
 
5
5
  // src/plugin/provider/ollama.ts
6
6
  import { Effect, Schema } from "effect";
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
34
34
  model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
35
35
  });
36
36
  var shows = new Map;
37
- var make7 = createLocalProviderPlugin2({
37
+ var make8 = createLocalProviderPlugin2({
38
38
  id: "opencode.provider.ollama",
39
39
  providerID: "ollama",
40
40
  name: "Ollama",
@@ -67,6 +67,6 @@ var make7 = createLocalProviderPlugin2({
67
67
  context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
68
68
  })
69
69
  });
70
- var OllamaPlugin2 = make7();
70
+ var OllamaPlugin2 = make8();
71
71
 
72
- export { make7, OllamaPlugin2 };
72
+ export { make8, OllamaPlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./skill-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -2,31 +2,31 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service34
6
- } from "./formatter-gzq9abr2.js";
5
+ Service31
6
+ } from "./skill-mpn128rf.js";
7
7
  import {
8
- Service42
9
- } from "./formatter-g8jkqxma.js";
8
+ Service64
9
+ } from "./skill-tfmd9fwy.js";
10
10
  import {
11
11
  MEDIA_MIMES2
12
- } from "./formatter-tted8b2w.js";
12
+ } from "./skill-6pzwfz31.js";
13
13
  import {
14
14
  __export
15
- } from "./formatter-9rqn6x4v.js";
15
+ } from "./skill-9rqn6x4v.js";
16
16
 
17
17
  // src/tool/plugin/mcp-resource.ts
18
18
  var exports_mcp_resource = {};
19
19
  __export(exports_mcp_resource, {
20
20
  McpResourceTools: () => exports_mcp_resource,
21
- Plugin: () => Plugin37
21
+ Plugin: () => Plugin6
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai/effect";
24
24
  import { Effect, Schema } from "effect";
25
- var Plugin37 = {
25
+ var Plugin6 = {
26
26
  id: "opencode.tools.mcp-resources",
27
27
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
28
- const mcp = yield* Service34;
29
- const permission = yield* Service42;
28
+ const mcp = yield* Service31;
29
+ const permission = yield* Service64;
30
30
  yield* ctx.tool.transform((editor) => {
31
31
  editor.add({
32
32
  name: "list_mcp_resources",
@@ -96,4 +96,4 @@ var Plugin37 = {
96
96
  })
97
97
  };
98
98
 
99
- export { Plugin37, exports_mcp_resource };
99
+ export { Plugin6, exports_mcp_resource };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./formatter-n7pbqev4.js";
5
+ } from "./skill-913wjczz.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make23,
9
+ make24,
10
10
  makeWithDefaults2
11
- } from "./formatter-xppfe2fc.js";
11
+ } from "./skill-0a5dxn0x.js";
12
12
  import {
13
13
  __export
14
- } from "./formatter-9rqn6x4v.js";
14
+ } from "./skill-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make23,
25
+ make: () => make24,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./formatter-z5v4ffb3.js";
3
+ } from "./skill-z5v4ffb3.js";
4
4
  import {
5
- Service82
6
- } from "./formatter-njz5cw42.js";
5
+ Service81
6
+ } from "./skill-405qk1h7.js";
7
7
  import {
8
8
  NotFound3
9
- } from "./formatter-svcy3p9a.js";
9
+ } from "./skill-svcy3p9a.js";
10
10
  import {
11
- Service15
12
- } from "./formatter-7m2ptj4e.js";
11
+ Service17
12
+ } from "./skill-qw96sn3j.js";
13
13
  import {
14
- Service10
15
- } from "./formatter-932fxf16.js";
14
+ Service6
15
+ } from "./skill-2kr5775s.js";
16
16
  import {
17
17
  BinaryFileError2,
18
18
  MediaIngestLimitError2,
@@ -22,26 +22,26 @@ import {
22
22
  FileContent2,
23
23
  TextPage2,
24
24
  ListPage2,
25
- Service33
26
- } from "./formatter-tted8b2w.js";
25
+ Service26
26
+ } from "./skill-6pzwfz31.js";
27
27
  import {
28
28
  __export
29
- } from "./formatter-9rqn6x4v.js";
29
+ } from "./skill-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/plugin/read.ts
32
32
  var exports_read = {};
33
33
  __export(exports_read, {
34
- Input: () => Input13,
35
- Plugin: () => Plugin50,
34
+ Input: () => Input7,
35
+ Plugin: () => Plugin9,
36
36
  ReadTool: () => exports_read,
37
- name: () => name13,
38
- toModelContent: () => toModelContent6
37
+ name: () => name7,
38
+ toModelContent: () => toModelContent5
39
39
  });
40
40
  import { basename, dirname, join } from "path";
41
41
  import { ToolFailure } from "@opencode/ai/effect";
42
42
  import { Effect, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
- var name13 = "read";
44
+ var name7 = "read";
45
45
  var FILENAME = "AGENTS.md";
46
46
  var LocationInput = Schema.Struct({
47
47
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
52
52
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
53
53
  })
54
54
  });
55
- var Input13 = LocationInput;
55
+ var Input7 = LocationInput;
56
56
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
57
- var Plugin50 = {
57
+ var Plugin9 = {
58
58
  id: "opencode.tool.read",
59
59
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
60
- const reader = yield* Service33;
61
- const access = yield* Service15;
62
- const sessionInstructions = yield* Service10;
60
+ const reader = yield* Service26;
61
+ const access = yield* Service17;
62
+ const sessionInstructions = yield* Service6;
63
63
  const fs = yield* FSUtil.Service;
64
- const location = yield* Service82;
64
+ const location = yield* Service81;
65
65
  yield* ctx.tool.transform((editor) => editor.add({
66
- name: name13,
66
+ name: name7,
67
67
  options: { codemode: false },
68
68
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
69
- input: Input13,
69
+ input: Input7,
70
70
  output: Output,
71
71
  execute: (input, context) => {
72
72
  return Effect.gen(function* () {
@@ -110,7 +110,7 @@ var Plugin50 = {
110
110
  return { output: result.content, path: result.path };
111
111
  }).pipe(Effect.map((result) => ({
112
112
  output: result.output,
113
- content: toModelContent6(result.path, input.offset, result.output),
113
+ content: toModelContent5(result.path, input.offset, result.output),
114
114
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
115
115
  })), Effect.mapError((error) => {
116
116
  if (error instanceof ToolFailure)
@@ -143,7 +143,7 @@ ${suggestions.join(`
143
143
  });
144
144
  })
145
145
  };
146
- var toModelContent6 = (path, offset, output) => {
146
+ var toModelContent5 = (path, offset, output) => {
147
147
  if (output.type === "file" && output.encoding === "base64")
148
148
  return [
149
149
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -179,4 +179,4 @@ var toModelContent6 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name13, Input13, Plugin50, toModelContent6, exports_read };
182
+ export { name7, Input7, Plugin9, toModelContent5, exports_read };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  lazy2
3
- } from "./formatter-88xbtdfr.js";
3
+ } from "./skill-88xbtdfr.js";
4
4
  import {
5
5
  which2
6
- } from "./formatter-qaymkmh1.js";
6
+ } from "./skill-qaymkmh1.js";
7
7
 
8
8
  // src/util/git-executable.ts
9
9
  import { existsSync, realpathSync } from "node:fs";
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./formatter-bjhzkqyk.js";
3
+ } from "./skill-61ennm6n.js";
4
4
  import {
5
- Service85
6
- } from "./formatter-na9deryv.js";
5
+ Service84
6
+ } from "./skill-ngz6cn3c.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./formatter-5yg7bvsq.js";
9
+ Event19
10
+ } from "./skill-mn0e9cd8.js";
11
11
  import {
12
12
  ID13,
13
13
  MethodID2
14
- } from "./formatter-knjx9f3g.js";
14
+ } from "./skill-b29fyxt2.js";
15
15
  import {
16
16
  ID12,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service76
20
- } from "./formatter-wmaqz1y8.js";
19
+ Service75
20
+ } from "./skill-tjsmtshz.js";
21
21
  import {
22
22
  ID11
23
- } from "./formatter-tee81xg3.js";
23
+ } from "./skill-k4nkwk6k.js";
24
24
  import {
25
25
  load3,
26
26
  derive2
27
- } from "./formatter-taahtb0c.js";
27
+ } from "./skill-xe5v3ymg.js";
28
28
  import {
29
29
  useragent2
30
- } from "./formatter-3qx04rj6.js";
30
+ } from "./skill-8qkh3bqb.js";
31
31
  import {
32
- ID8
33
- } from "./formatter-p4yppz28.js";
32
+ ID9
33
+ } from "./skill-jsw35a0h.js";
34
34
  import {
35
35
  get5
36
- } from "./formatter-3nnrz6f6.js";
36
+ } from "./skill-3nnrz6f6.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { isRecord } from "@opencode/util/record";
@@ -164,8 +164,8 @@ var oauth = (app) => ({
164
164
  var GithubCopilotPlugin2 = define({
165
165
  id: "opencode.provider.github.copilot",
166
166
  effect: Effect.fn(function* (ctx) {
167
- const providers = yield* Service76;
168
- const bus = yield* Service85;
167
+ const providers = yield* Service75;
168
+ const bus = yield* Service84;
169
169
  const loading = Semaphore.makeUnsafe(1);
170
170
  const loaded = {};
171
171
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
238
238
  }
239
239
  });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  yield* refresh().pipe(Effect.forkScoped);
243
243
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
244
244
  if (evt.model.providerID !== ID12.githubCopilot)
@@ -266,7 +266,7 @@ var GithubCopilotPlugin2 = define({
266
266
  return;
267
267
  if (!loaded.baseURL || !loaded.token || !loaded.models)
268
268
  return;
269
- const agent = yield* ctx.agent.get({ agentID: ID8.make("title") }).pipe(Effect.orElseSucceed(() => {
269
+ const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
270
270
  return;
271
271
  }));
272
272
  if (agent?.data.model)
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service46,
3
- node49
4
- } from "./formatter-yb49ndda.js";
2
+ Service55,
3
+ node57
4
+ } from "./skill-5s40rnay.js";
5
5
  import {
6
- Service22,
7
- node25
8
- } from "./formatter-w97d1ng8.js";
6
+ Service20,
7
+ node23
8
+ } from "./skill-6mtbmyr8.js";
9
9
  import {
10
10
  text2,
11
11
  deliver2
12
- } from "./formatter-sqjzf8x2.js";
12
+ } from "./skill-sqjzf8x2.js";
13
13
  import {
14
14
  __export
15
- } from "./formatter-9rqn6x4v.js";
15
+ } from "./skill-9rqn6x4v.js";
16
16
 
17
17
  // src/session/subagent-job.ts
18
18
  var exports_subagent_job = {};
19
19
  __export(exports_subagent_job, {
20
- Service: () => Service9,
20
+ Service: () => Service7,
21
21
  SubagentJob: () => exports_subagent_job,
22
- node: () => node11
22
+ node: () => node9
23
23
  });
24
24
  import { Context, Effect, Layer, Scope } from "effect";
25
25
  import { Node } from "@opencode/util/effect/app-node";
26
- class Service9 extends Context.Service()("@opencode/SubagentJob") {
26
+ class Service7 extends Context.Service()("@opencode/SubagentJob") {
27
27
  }
28
28
  var make = Effect.gen(function* () {
29
- const sessions = yield* Service22;
30
- const jobs = yield* Service46;
29
+ const sessions = yield* Service20;
30
+ const jobs = yield* Service55;
31
31
  const scope = yield* Scope.Scope;
32
32
  const context = yield* Effect.context();
33
33
  const notifications = new Set;
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
42
42
  yield* deliver2(sessions, jobs, { ...info, recovery });
43
43
  }).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
44
44
  });
45
- return Service9.of({
45
+ return Service7.of({
46
46
  start: (recovery) => jobs.start({
47
47
  id: recovery.childSessionID,
48
48
  type: "subagent",
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
64
64
  notify
65
65
  });
66
66
  });
67
- var node11 = Node.makeGlobalNode({
68
- service: Service9,
69
- layer: Layer.effect(Service9, make),
70
- deps: [node25, node49]
67
+ var node9 = Node.makeGlobalNode({
68
+ service: Service7,
69
+ layer: Layer.effect(Service7, make),
70
+ deps: [node23, node57]
71
71
  });
72
72
 
73
- export { Service9, node11, exports_subagent_job };
73
+ export { Service7, node9, exports_subagent_job };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./skill-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./skill-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./formatter-eh3zwz77.js";
3
+ } from "./skill-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./formatter-e73j6tqm.js";
6
+ } from "./skill-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./formatter-3wcehsnq.js";
9
+ } from "./skill-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./formatter-dap0rakb.js";
12
+ } from "./skill-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./formatter-4y7fprxs.js";
15
+ } from "./skill-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./skill-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};