@opencode/core 0.0.0-dev-20825 → 0.0.0-dev-20826

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/skill-03ajtf4e.js +513 -0
  8. package/dist/chunks/{model-resolver-66c2wr2a.js → skill-054kg9dc.js} +10 -10
  9. package/dist/chunks/{model-resolver-rk9k7afq.js → skill-07pmza7h.js} +3 -3
  10. package/dist/chunks/{model-resolver-aw7rh1ww.js → skill-0arqgfa8.js} +28 -28
  11. package/dist/chunks/{model-resolver-c7cb53f3.js → skill-0dvrkg93.js} +14 -14
  12. package/dist/chunks/{model-resolver-x2m64zns.js → skill-0e0n583m.js} +21 -21
  13. package/dist/chunks/{model-resolver-q0xm7vwc.js → skill-0j77ygfz.js} +6 -6
  14. package/dist/chunks/{model-resolver-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{model-resolver-kxvb3car.js → skill-0ps23nn8.js} +18 -18
  16. package/dist/chunks/{model-resolver-hyay7qq8.js → skill-0r5qpn88.js} +8 -8
  17. package/dist/chunks/{model-resolver-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{model-resolver-cxm67pkc.js → skill-0ysm00nq.js} +5 -5
  19. package/dist/chunks/{model-resolver-msk51jxa.js → skill-14p185v2.js} +21 -21
  20. package/dist/chunks/{model-resolver-mt7m3ya6.js → skill-1eyc1ny5.js} +11 -11
  21. package/dist/chunks/{model-resolver-ds4xae65.js → skill-1j9g6qpp.js} +8 -8
  22. package/dist/chunks/{model-resolver-q2t1kx4r.js → skill-1npvdhb2.js} +2 -2
  23. package/dist/chunks/{model-resolver-c9b6c6br.js → skill-1pxbf3bj.js} +46 -46
  24. package/dist/chunks/{model-resolver-2khnwfma.js → skill-21amjazn.js} +23 -23
  25. package/dist/chunks/{model-resolver-fptw13bf.js → skill-2251p17f.js} +19 -19
  26. package/dist/chunks/{model-resolver-1gpb38yh.js → skill-22f357wt.js} +9 -9
  27. package/dist/chunks/{model-resolver-zkqkkjp9.js → skill-26pzwsv6.js} +26 -26
  28. package/dist/chunks/{model-resolver-btz0t88h.js → skill-2ayzmxba.js} +24 -24
  29. package/dist/chunks/{model-resolver-4ts7tf6z.js → skill-2ccvkpx1.js} +2 -2
  30. package/dist/chunks/{model-resolver-r4yqrmdq.js → skill-2cmv458r.js} +5 -5
  31. package/dist/chunks/{model-resolver-z525se4v.js → skill-2g5ha180.js} +20 -20
  32. package/dist/chunks/{model-resolver-kc9gjmg8.js → skill-2hehr5w2.js} +10 -10
  33. package/dist/chunks/{model-resolver-2vvh33eb.js → skill-2vvh33eb.js} +2 -2
  34. package/dist/chunks/{model-resolver-8ss8m2w6.js → skill-39kmpgmc.js} +24 -24
  35. package/dist/chunks/{model-resolver-v7shq5xq.js → skill-3bd8wwbe.js} +24 -24
  36. package/dist/chunks/{model-resolver-vk084q95.js → skill-3cssazbk.js} +34 -34
  37. package/dist/chunks/{model-resolver-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{model-resolver-vwt8phtz.js → skill-3gz7g27y.js} +13 -13
  39. package/dist/chunks/{model-resolver-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{model-resolver-3hwn7j4h.js → skill-3hwn7j4h.js} +2 -2
  41. package/dist/chunks/{model-resolver-9mk6smr7.js → skill-3qgttbb0.js} +18 -18
  42. package/dist/chunks/{model-resolver-am4ys6ej.js → skill-3rmahs5y.js} +11 -11
  43. package/dist/chunks/{model-resolver-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{model-resolver-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{model-resolver-qkn9n2ht.js → skill-3xy6x5g1.js} +19 -19
  46. package/dist/chunks/{model-resolver-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{model-resolver-5fn8kb1m.js → skill-402svr2v.js} +36 -36
  48. package/dist/chunks/{model-resolver-vwvxcq06.js → skill-43gkm62x.js} +5 -5
  49. package/dist/chunks/{model-resolver-bs6f72ms.js → skill-48mwqm8s.js} +10 -10
  50. package/dist/chunks/{model-resolver-tnwk7je0.js → skill-4chbmmjy.js} +11 -11
  51. package/dist/chunks/{model-resolver-rx9sw936.js → skill-4epvxwgg.js} +30 -30
  52. package/dist/chunks/{model-resolver-e8pe5bs3.js → skill-4gdef2r3.js} +37 -37
  53. package/dist/chunks/{model-resolver-4zj9c7sr.js → skill-4gned8ya.js} +22 -22
  54. package/dist/chunks/{model-resolver-gd3ka9py.js → skill-4sxh5q7f.js} +4 -4
  55. package/dist/chunks/{model-resolver-3e06xrhq.js → skill-4w3w3gnk.js} +27 -27
  56. package/dist/chunks/{model-resolver-zsr4wwhv.js → skill-4z58m4b4.js} +4 -4
  57. package/dist/chunks/{model-resolver-1ggxa6t4.js → skill-4z692haj.js} +90 -90
  58. package/dist/chunks/{model-resolver-f7nkyddb.js → skill-51b9494h.js} +9 -9
  59. package/dist/chunks/{model-resolver-zp6x4rdv.js → skill-54ck4wf0.js} +11 -11
  60. package/dist/chunks/{model-resolver-r94pvvab.js → skill-54ma36ye.js} +4 -4
  61. package/dist/chunks/{model-resolver-rm0y65ew.js → skill-5az9f6e7.js} +5 -5
  62. package/dist/chunks/{model-resolver-j6sex83x.js → skill-5h6rggsk.js} +4 -4
  63. package/dist/chunks/{model-resolver-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
  64. package/dist/chunks/{model-resolver-vq8v8vez.js → skill-5n34a961.js} +4 -4
  65. package/dist/chunks/{model-resolver-nveymbys.js → skill-5s674n18.js} +3 -3
  66. package/dist/chunks/{model-resolver-j5cam5cc.js → skill-67st221m.js} +87 -87
  67. package/dist/chunks/{model-resolver-7qy5krn4.js → skill-6fjww8gn.js} +48 -48
  68. package/dist/chunks/{model-resolver-1zsq2bqn.js → skill-6ktj5znq.js} +11 -11
  69. package/dist/chunks/{model-resolver-8xshesq6.js → skill-6wk66kgs.js} +4 -4
  70. package/dist/chunks/{model-resolver-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
  71. package/dist/chunks/{model-resolver-drnf6xwf.js → skill-706phk7x.js} +2 -2
  72. package/dist/chunks/{model-resolver-hxrx80a3.js → skill-74bhg78j.js} +35 -35
  73. package/dist/chunks/{model-resolver-00mvmxfh.js → skill-74gxmjd3.js} +12 -12
  74. package/dist/chunks/{model-resolver-58hng72m.js → skill-782zrs06.js} +5 -5
  75. package/dist/chunks/{model-resolver-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{model-resolver-f6vfcazt.js → skill-7d3cke9g.js} +15 -15
  77. package/dist/chunks/{model-resolver-0jwsre1p.js → skill-7dqw4kz8.js} +5 -5
  78. package/dist/chunks/{model-resolver-vv44hwmw.js → skill-7gra0nqm.js} +12 -12
  79. package/dist/chunks/{model-resolver-8zda0nf7.js → skill-7j0yeb1q.js} +3 -3
  80. package/dist/chunks/{model-resolver-tmzvxbcr.js → skill-7kgd0s0x.js} +13 -13
  81. package/dist/chunks/{model-resolver-s4xtvnse.js → skill-7nh3rdxx.js} +32 -32
  82. package/dist/chunks/{model-resolver-952eaccn.js → skill-7nk17e7j.js} +19 -19
  83. package/dist/chunks/{model-resolver-9zjswjmw.js → skill-7tf38zkw.js} +8 -8
  84. package/dist/chunks/{model-resolver-1xyzrv88.js → skill-7x669gbt.js} +15 -15
  85. package/dist/chunks/{model-resolver-3j5kk4r4.js → skill-7zpre7y5.js} +55 -55
  86. package/dist/chunks/{model-resolver-fcxqfe59.js → skill-80r7tq9c.js} +10 -10
  87. package/dist/chunks/{model-resolver-f8w4kezf.js → skill-893xt8a4.js} +15 -15
  88. package/dist/chunks/{model-resolver-4a5ztk63.js → skill-8hy12zsj.js} +42 -42
  89. package/dist/chunks/{model-resolver-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
  90. package/dist/chunks/{model-resolver-0yvp6fqs.js → skill-8nraxkww.js} +32 -32
  91. package/dist/chunks/{model-resolver-czz8a252.js → skill-8sbx5588.js} +22 -22
  92. package/dist/chunks/{model-resolver-z6xnm1hd.js → skill-8v5x19vh.js} +24 -24
  93. package/dist/chunks/{model-resolver-j09zfasm.js → skill-91qna3x0.js} +3 -3
  94. package/dist/chunks/{model-resolver-hejxbgj7.js → skill-96tre5n4.js} +20 -20
  95. package/dist/chunks/{model-resolver-rzs3gq0x.js → skill-99xay3p1.js} +8 -8
  96. package/dist/chunks/{model-resolver-d07a65d0.js → skill-9svpk271.js} +27 -27
  97. package/dist/chunks/{model-resolver-mpr1ppnz.js → skill-9x0gz91n.js} +154 -154
  98. package/dist/chunks/{model-resolver-1y24xx8v.js → skill-a7rk3z6b.js} +33 -33
  99. package/dist/chunks/{model-resolver-qeay7bfp.js → skill-a7xy3v5h.js} +50 -50
  100. package/dist/chunks/{model-resolver-9q2dymh5.js → skill-a8f7ngtz.js} +47 -47
  101. package/dist/chunks/{model-resolver-thxhb584.js → skill-af0a6jtc.js} +6 -6
  102. package/dist/chunks/{model-resolver-7gegkexy.js → skill-ah8e0mas.js} +3 -3
  103. package/dist/chunks/{model-resolver-z64e08bt.js → skill-aj7xfzf8.js} +11 -11
  104. package/dist/chunks/{model-resolver-mdgny2h2.js → skill-arrqykze.js} +69 -69
  105. package/dist/chunks/{model-resolver-v2xp8k5w.js → skill-atxg8vat.js} +4 -4
  106. package/dist/chunks/{model-resolver-spzmyp0d.js → skill-b130te7a.js} +3 -3
  107. package/dist/chunks/{model-resolver-shc06m3c.js → skill-b79wvxw5.js} +34 -34
  108. package/dist/chunks/{model-resolver-8445zpne.js → skill-bak53rn6.js} +17 -17
  109. package/dist/chunks/{model-resolver-t8h80vnj.js → skill-bbycbt8h.js} +27 -27
  110. package/dist/chunks/{model-resolver-0cyezpg7.js → skill-bqdn68pr.js} +7 -7
  111. package/dist/chunks/{model-resolver-0z2tybs7.js → skill-bsszbsx0.js} +4 -4
  112. package/dist/chunks/{model-resolver-6b3rp9xb.js → skill-bt0f8rxp.js} +25 -25
  113. package/dist/chunks/skill-bt91ab93.js +253 -0
  114. package/dist/chunks/{model-resolver-438mmgwp.js → skill-bwkhxzqp.js} +1 -1
  115. package/dist/chunks/{model-resolver-skhz7g2d.js → skill-bwkj1qe0.js} +16 -16
  116. package/dist/chunks/{model-resolver-es1vcfrp.js → skill-c1fqxshp.js} +3 -3
  117. package/dist/chunks/{model-resolver-0j1h8p53.js → skill-c9h1akpe.js} +24 -24
  118. package/dist/chunks/{model-resolver-d9kycxq3.js → skill-ce1ww0hn.js} +9 -9
  119. package/dist/chunks/{model-resolver-5yzzbxa7.js → skill-cmwkp3r5.js} +8 -8
  120. package/dist/chunks/{model-resolver-gqvee6ey.js → skill-cp5p6fab.js} +18 -18
  121. package/dist/chunks/{model-resolver-zehn0qfn.js → skill-cz59gfa5.js} +42 -42
  122. package/dist/chunks/{model-resolver-cpneeje0.js → skill-d4he2qe1.js} +5 -5
  123. package/dist/chunks/{model-resolver-ykvkrf63.js → skill-d8f39z64.js} +3 -3
  124. package/dist/chunks/{model-resolver-62dx9yxp.js → skill-dft3wafc.js} +35 -35
  125. package/dist/chunks/{model-resolver-e052d1q0.js → skill-dpb9t3y1.js} +27 -27
  126. package/dist/chunks/{model-resolver-n8anjzen.js → skill-drxm696w.js} +35 -35
  127. package/dist/chunks/{model-resolver-gzk07654.js → skill-dxkygmqf.js} +44 -44
  128. package/dist/chunks/{model-resolver-dxy7xx6d.js → skill-dyzdawcw.js} +7 -7
  129. package/dist/chunks/{model-resolver-yfkx0eqm.js → skill-dzvr5812.js} +24 -24
  130. package/dist/chunks/{model-resolver-8asyfh9s.js → skill-e1pxbzej.js} +9 -9
  131. package/dist/chunks/{model-resolver-5qd3pb7m.js → skill-e3qxr5gk.js} +2 -2
  132. package/dist/chunks/{model-resolver-7x4tntjh.js → skill-e6kjdzrx.js} +1 -1
  133. package/dist/chunks/{model-resolver-nma959mg.js → skill-e80seqcp.js} +3 -3
  134. package/dist/chunks/{model-resolver-25tpx51f.js → skill-e89fcy78.js} +10 -10
  135. package/dist/chunks/{model-resolver-eej6y6fw.js → skill-eej6y6fw.js} +2 -2
  136. package/dist/chunks/{model-resolver-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{model-resolver-x8yzxsbj.js → skill-ewrq5sv8.js} +10 -10
  138. package/dist/chunks/{model-resolver-0rs8myd8.js → skill-ezh22ty2.js} +21 -21
  139. package/dist/chunks/{model-resolver-yav78m6g.js → skill-f1ezxx24.js} +13 -13
  140. package/dist/chunks/{model-resolver-y15vpdnr.js → skill-f58gpcny.js} +9 -9
  141. package/dist/chunks/{model-resolver-vk4601vm.js → skill-f5bajshz.js} +18 -18
  142. package/dist/chunks/{model-resolver-r3dvpv5z.js → skill-f7s93m2y.js} +24 -24
  143. package/dist/chunks/{model-resolver-3an6bgbg.js → skill-fh4jabks.js} +15 -15
  144. package/dist/chunks/{model-resolver-n2rv9ytx.js → skill-fppa4v5t.js} +12 -12
  145. package/dist/chunks/{model-resolver-7428vhhy.js → skill-fxh7jspe.js} +17 -17
  146. package/dist/chunks/{model-resolver-brqa01n9.js → skill-fyd44fq0.js} +23 -23
  147. package/dist/chunks/{model-resolver-7atybeme.js → skill-g0adnnrh.js} +18 -18
  148. package/dist/chunks/{model-resolver-4xdpab2z.js → skill-g686f6pq.js} +9 -9
  149. package/dist/chunks/{model-resolver-8e78msr1.js → skill-g6x62smh.js} +14 -14
  150. package/dist/chunks/{model-resolver-3j6qp9bc.js → skill-g77fasqp.js} +15 -15
  151. package/dist/chunks/{model-resolver-he27pt63.js → skill-gd0tnyjc.js} +1 -1
  152. package/dist/chunks/{model-resolver-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{model-resolver-e73g0wvd.js → skill-gf6hnvga.js} +4 -4
  154. package/dist/chunks/{model-resolver-gk8qb678.js → skill-gk8qb678.js} +1 -1
  155. package/dist/chunks/{model-resolver-k5dc2vmd.js → skill-gq5nnmhs.js} +9 -9
  156. package/dist/chunks/{model-resolver-xmkm7fbj.js → skill-h0j2zbgz.js} +27 -27
  157. package/dist/chunks/{model-resolver-rjmj41vv.js → skill-h3mfw8ha.js} +4 -4
  158. package/dist/chunks/{model-resolver-pqf191vy.js → skill-h5enmkp2.js} +17 -17
  159. package/dist/chunks/{model-resolver-yy2bf7rf.js → skill-h6r382m4.js} +11 -11
  160. package/dist/chunks/{model-resolver-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{model-resolver-xpffpww7.js → skill-h6w6ry4f.js} +11 -11
  162. package/dist/chunks/{model-resolver-31xfzrxg.js → skill-h7s7r6s9.js} +5 -5
  163. package/dist/chunks/{model-resolver-2rehhz5t.js → skill-h8wx7fmz.js} +11 -11
  164. package/dist/chunks/{model-resolver-hgz4x7wa.js → skill-hgz4x7wa.js} +1 -1
  165. package/dist/chunks/{model-resolver-jdz4qjxc.js → skill-hkffa77z.js} +4 -4
  166. package/dist/chunks/{model-resolver-t2vkhgbg.js → skill-hpr7fteq.js} +18 -18
  167. package/dist/chunks/{model-resolver-0epwncsf.js → skill-hrz9kmjx.js} +3 -3
  168. package/dist/chunks/{model-resolver-gfhy63hj.js → skill-j4prh3qw.js} +20 -20
  169. package/dist/chunks/{model-resolver-j56e64zr.js → skill-j56e64zr.js} +1 -1
  170. package/dist/chunks/{model-resolver-0br3sbwn.js → skill-j8m1p4p1.js} +4 -4
  171. package/dist/chunks/{model-resolver-00hydevz.js → skill-jchv0x1t.js} +16 -16
  172. package/dist/chunks/{model-resolver-4qaehj67.js → skill-jekxgysa.js} +3 -3
  173. package/dist/chunks/{model-resolver-ph842b28.js → skill-jewzahs7.js} +4 -4
  174. package/dist/chunks/{model-resolver-pbfwh0cy.js → skill-jfqtm2ew.js} +7 -7
  175. package/dist/chunks/{model-resolver-hthjksz6.js → skill-jpehgbjb.js} +26 -26
  176. package/dist/chunks/skill-jqh9b0xq.js +18 -0
  177. package/dist/chunks/{model-resolver-e8m77gve.js → skill-jwf9y0a3.js} +10 -10
  178. package/dist/chunks/{model-resolver-jepehhcn.js → skill-jxznacnn.js} +9 -9
  179. package/dist/chunks/{model-resolver-z5z78jza.js → skill-jyfpsn8b.js} +18 -18
  180. package/dist/chunks/{model-resolver-s76dkkvr.js → skill-k14vxfxf.js} +18 -18
  181. package/dist/chunks/{model-resolver-rsmgkfp3.js → skill-k5y15yet.js} +10 -10
  182. package/dist/chunks/{model-resolver-wr9zkec4.js → skill-k6t42hw0.js} +14 -14
  183. package/dist/chunks/{model-resolver-9h7c1aps.js → skill-kgrdg1t7.js} +16 -16
  184. package/dist/chunks/{model-resolver-hq3c8me3.js → skill-khmqacep.js} +4 -4
  185. package/dist/chunks/{model-resolver-8nzb5d0e.js → skill-khxhje02.js} +5 -5
  186. package/dist/chunks/{model-resolver-97aeaand.js → skill-kqv3x6rj.js} +9 -9
  187. package/dist/chunks/{model-resolver-wkw6304r.js → skill-m1y3ev3f.js} +14 -14
  188. package/dist/chunks/{model-resolver-nsep0bnj.js → skill-m3tby6h3.js} +7 -7
  189. package/dist/chunks/{model-resolver-n61013np.js → skill-m6rbnapp.js} +11 -11
  190. package/dist/chunks/{model-resolver-pm617sjb.js → skill-m8amn440.js} +11 -11
  191. package/dist/chunks/{model-resolver-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{model-resolver-rbr6e3az.js → skill-mn2jssd1.js} +46 -46
  193. package/dist/chunks/{model-resolver-p0x6m6cr.js → skill-mnpwv5rr.js} +32 -32
  194. package/dist/chunks/{model-resolver-b8zkqphn.js → skill-mszddwga.js} +16 -16
  195. package/dist/chunks/{model-resolver-my4zabxr.js → skill-n7d88tpn.js} +2 -2
  196. package/dist/chunks/{model-resolver-repb58am.js → skill-nd37ta7v.js} +8 -8
  197. package/dist/chunks/{model-resolver-x7srd6wz.js → skill-nv3yves8.js} +10 -10
  198. package/dist/chunks/{model-resolver-89be0nvq.js → skill-p382tw6g.js} +15 -15
  199. package/dist/chunks/{model-resolver-52ghtah7.js → skill-p97g2b6e.js} +5 -5
  200. package/dist/chunks/{model-resolver-21hptw97.js → skill-pfeqy1xz.js} +32 -32
  201. package/dist/chunks/{model-resolver-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{model-resolver-pknna89w.js → skill-pknna89w.js} +1 -1
  203. package/dist/chunks/{model-resolver-qfxdb210.js → skill-pmedcct5.js} +8 -8
  204. package/dist/chunks/{model-resolver-xfwgz2sz.js → skill-pt5qpz7e.js} +11 -11
  205. package/dist/chunks/{model-resolver-6pc27hjz.js → skill-py3kkmfq.js} +6 -6
  206. package/dist/chunks/{model-resolver-wev7e6ck.js → skill-qb0wp3nz.js} +13 -13
  207. package/dist/chunks/{model-resolver-k9byjnss.js → skill-qbp5w25r.js} +8 -8
  208. package/dist/chunks/{model-resolver-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{model-resolver-wpdtsyf6.js → skill-qscw1svz.js} +22 -22
  210. package/dist/chunks/{model-resolver-qsdy395h.js → skill-qsdy395h.js} +1 -1
  211. package/dist/chunks/{model-resolver-20vh3zss.js → skill-r0bjqnxp.js} +13 -13
  212. package/dist/chunks/{model-resolver-37ex1wq2.js → skill-r8yh9gsk.js} +3 -3
  213. package/dist/chunks/{model-resolver-g3pjsnhq.js → skill-ra1jf175.js} +22 -22
  214. package/dist/chunks/{model-resolver-jxr5ks98.js → skill-rc1szs54.js} +6 -6
  215. package/dist/chunks/{model-resolver-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{model-resolver-tkb22qbm.js → skill-rert0e01.js} +2 -2
  217. package/dist/chunks/{model-resolver-pj2kjhp4.js → skill-rg26e3dg.js} +19 -19
  218. package/dist/chunks/{model-resolver-arvc38t3.js → skill-rg4v0xfm.js} +5 -5
  219. package/dist/chunks/{model-resolver-c41wscbt.js → skill-rj3eygr5.js} +2 -2
  220. package/dist/chunks/{model-resolver-znvvnn0n.js → skill-rjq8wmvv.js} +14 -14
  221. package/dist/chunks/{model-resolver-9g0x53p6.js → skill-rpf7afex.js} +22 -22
  222. package/dist/chunks/{model-resolver-6hjx5zpb.js → skill-s1kvmffy.js} +9 -9
  223. package/dist/chunks/{model-resolver-x6v0h5p6.js → skill-s3fcqr35.js} +11 -11
  224. package/dist/chunks/{model-resolver-mr56bpwe.js → skill-s3qjw1pn.js} +11 -11
  225. package/dist/chunks/{model-resolver-qwjmgwmn.js → skill-s5met55r.js} +8 -8
  226. package/dist/chunks/{model-resolver-eaj1djv9.js → skill-s8d7rejh.js} +6 -6
  227. package/dist/chunks/{model-resolver-c8ax2afj.js → skill-sa8ekw3f.js} +2 -2
  228. package/dist/chunks/{model-resolver-wat9ccs0.js → skill-sdaj4hze.js} +16 -16
  229. package/dist/chunks/{model-resolver-1v7d8dyr.js → skill-sn1ft31v.js} +11 -11
  230. package/dist/chunks/{model-resolver-dg7e64je.js → skill-srvasj4s.js} +10 -10
  231. package/dist/chunks/{model-resolver-syv4x271.js → skill-syv4x271.js} +1 -1
  232. package/dist/chunks/{model-resolver-mh95raz8.js → skill-t1ppkja0.js} +23 -23
  233. package/dist/chunks/{model-resolver-n3qtygy3.js → skill-t3c1w11q.js} +7 -7
  234. package/dist/chunks/{model-resolver-fg0se8bt.js → skill-t3dyfpts.js} +25 -25
  235. package/dist/chunks/{model-resolver-rwm5vee1.js → skill-t7n9q6bq.js} +4 -4
  236. package/dist/chunks/{model-resolver-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{model-resolver-prmgem5b.js → skill-tcay1cqt.js} +6 -6
  238. package/dist/chunks/{model-resolver-89znhe33.js → skill-tcezcvh9.js} +4 -4
  239. package/dist/chunks/{model-resolver-tdstcens.js → skill-tdstcens.js} +1 -1
  240. package/dist/chunks/{model-resolver-ve4j09ev.js → skill-tm8n2dag.js} +34 -34
  241. package/dist/chunks/{model-resolver-evq0a796.js → skill-tvqjvqh2.js} +53 -53
  242. package/dist/chunks/{model-resolver-tyytaxap.js → skill-tyytaxap.js} +1 -1
  243. package/dist/chunks/{model-resolver-0bg0bx69.js → skill-v0es1rhs.js} +5 -5
  244. package/dist/chunks/{model-resolver-v7p4zvkq.js → skill-v7p4zvkq.js} +2 -2
  245. package/dist/chunks/{model-resolver-ns4jf56n.js → skill-vb779x36.js} +31 -31
  246. package/dist/chunks/{model-resolver-veqvce7d.js → skill-veqvce7d.js} +1 -1
  247. package/dist/chunks/{model-resolver-267qws5w.js → skill-vk71ktyq.js} +18 -18
  248. package/dist/chunks/{model-resolver-j043eqhj.js → skill-vvejrkfj.js} +24 -24
  249. package/dist/chunks/{model-resolver-yesxfxzm.js → skill-vw9y7nsp.js} +14 -14
  250. package/dist/chunks/{model-resolver-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{model-resolver-84txncab.js → skill-w1eejvng.js} +5 -5
  252. package/dist/chunks/{model-resolver-dssbfrwz.js → skill-w2h15q85.js} +5 -5
  253. package/dist/chunks/{model-resolver-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{model-resolver-75qns3nc.js → skill-w9ryxck0.js} +29 -29
  255. package/dist/chunks/{model-resolver-2z1sbxkm.js → skill-wam8kafv.js} +16 -16
  256. package/dist/chunks/{model-resolver-hcc7h0se.js → skill-waq359tg.js} +29 -29
  257. package/dist/chunks/{model-resolver-wd87259q.js → skill-wd87259q.js} +1 -1
  258. package/dist/chunks/{model-resolver-b3f8fkhc.js → skill-wecqtg5s.js} +5 -5
  259. package/dist/chunks/{model-resolver-j5xf5m5x.js → skill-whrvwyny.js} +29 -29
  260. package/dist/chunks/{model-resolver-jaawwjdn.js → skill-wvpwbqrt.js} +33 -33
  261. package/dist/chunks/{model-resolver-x2qxvyvc.js → skill-wwmzx8zk.js} +28 -28
  262. package/dist/chunks/{model-resolver-addxnjmp.js → skill-x661k3y3.js} +4 -4
  263. package/dist/chunks/{model-resolver-t57shhp7.js → skill-xd5zg08j.js} +18 -18
  264. package/dist/chunks/{model-resolver-wvnxh5mx.js → skill-xe0rr0dc.js} +18 -18
  265. package/dist/chunks/{model-resolver-drwq78ky.js → skill-xfkkasph.js} +4 -4
  266. package/dist/chunks/{model-resolver-kxrk9wqg.js → skill-xk38kzjr.js} +9 -9
  267. package/dist/chunks/skill-xn7erqew.js +26 -0
  268. package/dist/chunks/{model-resolver-hsnz0d85.js → skill-xtev3e47.js} +14 -14
  269. package/dist/chunks/{model-resolver-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{model-resolver-y71avatq.js → skill-y71avatq.js} +1 -1
  271. package/dist/chunks/{model-resolver-mjwve1nx.js → skill-y8mn00j4.js} +42 -42
  272. package/dist/chunks/{model-resolver-w0n5n1pn.js → skill-yejprgqt.js} +13 -13
  273. package/dist/chunks/{model-resolver-j62t34ty.js → skill-yn3z4aa5.js} +4 -4
  274. package/dist/chunks/{model-resolver-r8xr0va3.js → skill-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{model-resolver-fz112egw.js → skill-yr7javwp.js} +5 -5
  276. package/dist/chunks/{model-resolver-bjx1sjef.js → skill-ywt8jp22.js} +9 -9
  277. package/dist/chunks/{model-resolver-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{model-resolver-6kzp9tjq.js → skill-z6c3x22d.js} +5 -5
  279. package/dist/chunks/{model-resolver-ytm23z63.js → skill-zd9qesfz.js} +20 -20
  280. package/dist/chunks/{model-resolver-9h1rq4nb.js → skill-zmt4xjv0.js} +14 -14
  281. package/dist/chunks/{model-resolver-q0zbnr5v.js → skill-zqwxztna.js} +4 -4
  282. package/dist/chunks/{model-resolver-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{model-resolver-bezqnnbp.js → skill-zvq5hknc.js} +13 -13
  284. package/dist/chunks/{model-resolver-qgy4cpjv.js → skill-zvqtgt76.js} +9 -9
  285. package/dist/chunks/{model-resolver-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +83 -83
  291. package/dist/config/discovery.js +86 -86
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +120 -120
  295. package/dist/config/plugin/command.js +209 -209
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +118 -118
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +118 -118
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +120 -120
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +139 -139
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +121 -121
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +119 -119
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +123 -123
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +83 -83
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  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 +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +95 -95
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +3 -3
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +72 -72
  412. package/dist/file-access.js +106 -106
  413. package/dist/file-mutation.js +96 -96
  414. package/dist/file-retention.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/location-watcher-policy.js +4 -4
  420. package/dist/filesystem/location-watcher.js +220 -220
  421. package/dist/filesystem/protected.js +3 -3
  422. package/dist/filesystem/search.js +105 -105
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +108 -108
  426. package/dist/form.js +86 -86
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +107 -107
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +93 -93
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +87 -87
  455. package/dist/instructions/builtins.js +89 -89
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +83 -83
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +75 -75
  462. package/dist/location-activity.js +133 -133
  463. package/dist/location-lifecycle.js +109 -109
  464. package/dist/location-service-map.js +88 -88
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +87 -87
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +111 -111
  470. package/dist/mcp/instructions.js +131 -131
  471. package/dist/mcp/oauth.js +80 -80
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +93 -93
  475. package/dist/model-resolver.js +96 -96
  476. package/dist/model.js +102 -102
  477. package/dist/models-dev.js +109 -109
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +84 -84
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +115 -115
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +88 -88
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +78 -78
  488. package/dist/plugin/command.js +104 -104
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +119 -119
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +127 -127
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +127 -127
  523. package/dist/plugin/provider/openai.js +97 -97
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +127 -127
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +78 -78
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +136 -136
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +350 -350
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +6 -6
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +220 -220
  556. package/dist/project/schema.js +4 -4
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +86 -86
  559. package/dist/provider.js +95 -95
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +99 -99
  563. package/dist/reference/instructions.js +91 -91
  564. package/dist/reference.js +91 -91
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +99 -99
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +3 -3
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +137 -137
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +216 -216
  580. package/dist/session/execution.js +129 -129
  581. package/dist/session/generate.js +156 -156
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +92 -92
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +79 -79
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +4 -4
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +122 -122
  591. package/dist/session/model-transport.js +7 -7
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +4 -4
  604. package/dist/session/runner/step.js +127 -127
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +3 -3
  607. package/dist/session/session.js +166 -166
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +107 -107
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +89 -89
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +207 -207
  615. package/dist/session/system-prompt.js +3 -3
  616. package/dist/session/title.js +159 -159
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +210 -210
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +213 -213
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +15 -15
  625. package/dist/shell.js +134 -134
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +112 -112
  629. package/dist/snapshot.js +93 -93
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +130 -130
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +126 -126
  637. package/dist/tool/plugin/grep.js +126 -126
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +105 -105
  642. package/dist/tool/plugin/read.js +127 -127
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +113 -113
  645. package/dist/tool/plugin/subagent.js +212 -212
  646. package/dist/tool/plugin/webfetch.js +114 -114
  647. package/dist/tool/plugin/websearch.js +116 -116
  648. package/dist/tool/plugin/write.js +122 -122
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +93 -93
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +78 -78
  676. package/dist/wellknown.js +83 -83
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +84 -84
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +8 -8
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +96 -96
  685. package/package.json +8 -8
  686. package/dist/chunks/model-resolver-1y150ee2.js +0 -26
  687. package/dist/chunks/model-resolver-f9qvt350.js +0 -513
  688. package/dist/chunks/model-resolver-qdb1nj2v.js +0 -253
  689. package/dist/chunks/model-resolver-rap9a73h.js +0 -18
  690. /package/dist/chunks/{model-resolver-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{model-resolver-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{model-resolver-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{model-resolver-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{model-resolver-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{model-resolver-24dcb14g.js → skill-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{model-resolver-2710q6r3.js → skill-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{model-resolver-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{model-resolver-2bv980vf.js → skill-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{model-resolver-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{model-resolver-359p4xyc.js → skill-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{model-resolver-3asan66x.js → skill-3asan66x.js} +0 -0
  702. /package/dist/chunks/{model-resolver-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
  703. /package/dist/chunks/{model-resolver-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{model-resolver-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{model-resolver-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{model-resolver-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{model-resolver-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{model-resolver-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{model-resolver-53557ph1.js → skill-53557ph1.js} +0 -0
  710. /package/dist/chunks/{model-resolver-550bvhaj.js → skill-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{model-resolver-6prwharc.js → skill-6prwharc.js} +0 -0
  712. /package/dist/chunks/{model-resolver-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{model-resolver-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{model-resolver-7m9af43g.js → skill-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{model-resolver-822emrt2.js → skill-822emrt2.js} +0 -0
  716. /package/dist/chunks/{model-resolver-84wd9syh.js → skill-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{model-resolver-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{model-resolver-8n3pysct.js → skill-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{model-resolver-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{model-resolver-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{model-resolver-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{model-resolver-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{model-resolver-af5trqkr.js → skill-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{model-resolver-afrmfg78.js → skill-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{model-resolver-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{model-resolver-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{model-resolver-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{model-resolver-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{model-resolver-bw78ga2c.js → skill-bw78ga2c.js} +0 -0
  730. /package/dist/chunks/{model-resolver-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{model-resolver-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{model-resolver-d9fn303g.js → skill-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{model-resolver-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{model-resolver-dajrwvna.js → skill-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{model-resolver-dap0rakb.js → skill-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{model-resolver-df08tz66.js → skill-df08tz66.js} +0 -0
  737. /package/dist/chunks/{model-resolver-dy18nga0.js → skill-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{model-resolver-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{model-resolver-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{model-resolver-ec1grn59.js → skill-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{model-resolver-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{model-resolver-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{model-resolver-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{model-resolver-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{model-resolver-faypxj3z.js → skill-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{model-resolver-fd410y7t.js → skill-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{model-resolver-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{model-resolver-g86h250q.js → skill-g86h250q.js} +0 -0
  749. /package/dist/chunks/{model-resolver-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{model-resolver-gftt206x.js → skill-gftt206x.js} +0 -0
  751. /package/dist/chunks/{model-resolver-hk9envan.js → skill-hk9envan.js} +0 -0
  752. /package/dist/chunks/{model-resolver-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{model-resolver-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{model-resolver-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{model-resolver-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{model-resolver-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{model-resolver-jze0r7bz.js → skill-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{model-resolver-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{model-resolver-m18g726c.js → skill-m18g726c.js} +0 -0
  760. /package/dist/chunks/{model-resolver-mp448xyj.js → skill-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{model-resolver-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{model-resolver-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{model-resolver-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{model-resolver-njntx4h6.js → skill-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{model-resolver-pkyv6v7h.js → skill-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{model-resolver-pyv0edze.js → skill-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{model-resolver-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{model-resolver-q74kybfr.js → skill-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{model-resolver-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{model-resolver-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{model-resolver-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{model-resolver-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{model-resolver-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{model-resolver-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{model-resolver-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{model-resolver-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{model-resolver-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{model-resolver-w803qqfp.js → skill-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{model-resolver-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{model-resolver-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{model-resolver-wtztk69x.js → skill-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{model-resolver-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{model-resolver-x61499pn.js → skill-x61499pn.js} +0 -0
  784. /package/dist/chunks/{model-resolver-y44na4kk.js → skill-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{model-resolver-y8f7s663.js → skill-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{model-resolver-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{model-resolver-ym463w8f.js → skill-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{model-resolver-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{model-resolver-z9919s4g.js → skill-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./skill-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse4,
16
+ parse: () => parse5,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse4(input) {
42
+ function parse5(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse4(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse4(input);
75
+ const reference = parse5(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./skill-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./skill-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info8,
12
+ Info: () => Info17,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info8 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info17 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info8, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info17, exports_mcp5 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./model-resolver-emrn6kk6.js";
4
+ } from "./skill-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service57
3
- } from "./model-resolver-v7shq5xq.js";
2
+ Service53
3
+ } from "./skill-3bd8wwbe.js";
4
4
  import {
5
- Service56,
5
+ Service27,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./model-resolver-20vh3zss.js";
8
+ } from "./skill-r0bjqnxp.js";
9
9
  import {
10
- Service14
11
- } from "./model-resolver-f8w4kezf.js";
10
+ Service16
11
+ } from "./skill-893xt8a4.js";
12
12
  import {
13
- Service66
14
- } from "./model-resolver-3j5kk4r4.js";
13
+ Service62
14
+ } from "./skill-7zpre7y5.js";
15
15
  import {
16
- Service15
17
- } from "./model-resolver-7atybeme.js";
16
+ Service14
17
+ } from "./skill-g0adnnrh.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./model-resolver-6prwharc.js";
20
+ } from "./skill-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./model-resolver-9rqn6x4v.js";
23
+ } from "./skill-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input11,
29
- Output: () => Output7,
30
- Plugin: () => Plugin28,
28
+ Input: () => Input12,
29
+ Output: () => Output8,
30
+ Plugin: () => Plugin33,
31
31
  WriteTool: () => exports_write,
32
- name: () => name11,
32
+ name: () => name12,
33
33
  toModelContent: () => toModelContent6
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name11 = "write";
39
- var Input11 = Schema.Struct({
38
+ var name12 = "write";
39
+ var Input12 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output7 = Schema.Struct({
45
+ var Output8 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
51
  var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin28 = {
52
+ var Plugin33 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service15;
56
- const fileMutation = yield* Service56;
57
- const environment = yield* Service57;
58
- const formatter = yield* Service14;
59
- const permission = yield* Service66;
55
+ const access = yield* Service14;
56
+ const fileMutation = yield* Service27;
57
+ const environment = yield* Service53;
58
+ const formatter = yield* Service16;
59
+ const permission = yield* Service62;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name11,
61
+ name: name12,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input11,
69
- output: Output7,
68
+ input: Input12,
69
+ output: Output8,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
98
98
  })
99
99
  };
100
100
 
101
- export { name11, Input11, Output7, toModelContent6, Plugin28, exports_write };
101
+ export { name12, Input12, Output8, toModelContent6, Plugin33, exports_write };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service85
3
- } from "./model-resolver-8zda0nf7.js";
3
+ } from "./skill-7j0yeb1q.js";
4
4
  import {
5
- Service64
6
- } from "./model-resolver-prmgem5b.js";
5
+ Service48
6
+ } from "./skill-tcay1cqt.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./model-resolver-rap9a73h.js";
9
+ } from "./skill-jqh9b0xq.js";
10
10
  import {
11
11
  provenance2
12
- } from "./model-resolver-zsr4wwhv.js";
12
+ } from "./skill-4z58m4b4.js";
13
13
  import {
14
14
  preview2
15
- } from "./model-resolver-pm617sjb.js";
15
+ } from "./skill-m8amn440.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./model-resolver-ns4jf56n.js";
18
+ } from "./skill-vb779x36.js";
19
19
  import {
20
- Service25
21
- } from "./model-resolver-1ggxa6t4.js";
20
+ Service31
21
+ } from "./skill-4z692haj.js";
22
22
  import {
23
23
  __export
24
- } from "./model-resolver-9rqn6x4v.js";
24
+ } from "./skill-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate2 = {};
28
- __export(exports_generate2, {
29
- SessionGenerate: () => exports_generate2,
27
+ var exports_generate = {};
28
+ __export(exports_generate, {
29
+ SessionGenerate: () => exports_generate,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service64;
35
+ const instances = yield* Service48;
36
36
  const database = yield* Service85;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service25;
40
+ const context = yield* Service31;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate2 };
74
+ export { generate2, exports_generate };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-resolver-z5v4ffb3.js";
4
+ } from "./skill-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
+ Service83,
9
+ node87
10
+ } from "./skill-7gra0nqm.js";
11
+ import {
8
12
  Service81,
9
13
  node85
10
- } from "./model-resolver-vv44hwmw.js";
11
- import {
12
- Service79,
13
- node83
14
- } from "./model-resolver-8e78msr1.js";
14
+ } from "./skill-g6x62smh.js";
15
15
  import {
16
16
  create3
17
- } from "./model-resolver-rdw6cm16.js";
17
+ } from "./skill-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./model-resolver-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,
25
+ Error: () => Error5,
26
26
  ID: () => ID5,
27
- Service: () => Service46,
27
+ Service: () => Service59,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node50,
30
- noopLayer: () => noopLayer2
29
+ node: () => node63,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID5 } 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 Service46 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service59 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service46, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
50
+ const git = yield* Service83;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service79;
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(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 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(Service46, 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;
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
136
136
  for (const [file, snapshot] of input.files) {
137
137
  const absolute = path.resolve(worktree, file);
138
138
  if (!FSUtil.contains(worktree, absolute))
139
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
139
+ return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
140
140
  files.set(file, TreeID2.make(snapshot));
141
141
  }
142
142
  return files;
143
143
  });
144
144
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
145
145
  if (!enabled())
146
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
146
+ return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
147
147
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
148
148
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
149
149
  });
150
- return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
150
+ return Service59.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
151
151
  }).pipe(Effect.withSpan("Snapshot.boot")));
152
- var node50 = makeLocationNode({
153
- service: Service46,
152
+ var node63 = makeLocationNode({
153
+ service: Service59,
154
154
  layer,
155
- deps: [FSUtil.node, node85, Global.node, node83]
155
+ deps: [FSUtil.node, node87, Global.node, node85]
156
156
  });
157
- var noopLayer2 = Layer.succeed(Service46, Service46.of({
157
+ var noopLayer3 = Layer.succeed(Service59, Service59.of({
158
158
  transform: () => Effect.succeed({ dispose: Effect.void }),
159
159
  reload: () => Effect.void,
160
160
  capture: () => Effect.undefined,
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service46, Service46.of({
163
163
  restore: () => Effect.void
164
164
  }));
165
165
  function failure(operation, cause) {
166
- if (cause instanceof Error2 && cause.operation === operation)
166
+ if (cause instanceof Error5 && cause.operation === operation)
167
167
  return cause;
168
- return new Error2({
168
+ return new Error5({
169
169
  operation,
170
170
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
171
171
  cause
172
172
  });
173
173
  }
174
174
 
175
- export { ID5, Error2, Service46, node50, noopLayer2, exports_snapshot2 };
175
+ export { ID5, Error5, Service59, node63, noopLayer3, exports_snapshot2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./model-resolver-emrn6kk6.js";
4
+ } from "./skill-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./model-resolver-ec1grn59.js";
3
+ } from "./skill-ec1grn59.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./skill-9rqn6x4v.js";
7
7
 
8
8
  // src/session/runner/retry.ts
9
9
  var exports_retry = {};
10
10
  __export(exports_retry, {
11
11
  SessionRunnerRetry: () => exports_retry,
12
12
  isRetryable: () => isRetryable2,
13
- make: () => make10,
13
+ make: () => make4,
14
14
  policy: () => policy2
15
15
  });
16
16
  import { isRetryable as isRetryable2 } from "@opencode/ai";
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
60
60
  return { retry: true, attempt, delay: normalized };
61
61
  });
62
62
  });
63
- var make10 = (bus, sessionID) => Effect.gen(function* () {
63
+ var make4 = (bus, sessionID) => Effect.gen(function* () {
64
64
  const decide = yield* policy2(sessionID);
65
65
  const wait = (input) => Effect.gen(function* () {
66
66
  const scheduled = yield* Clock.currentTimeMillis;
@@ -77,4 +77,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
77
77
  return { decide, wait };
78
78
  });
79
79
 
80
- export { isRetryable2, policy2, make10, exports_retry };
80
+ export { isRetryable2, policy2, make4, exports_retry };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./model-resolver-vq8v8vez.js";
4
+ } from "./skill-5n34a961.js";
5
5
  import {
6
- Service28,
7
- node31
8
- } from "./model-resolver-7qy5krn4.js";
6
+ Service39,
7
+ node42
8
+ } from "./skill-6fjww8gn.js";
9
9
  import {
10
- Service66,
11
- node70
12
- } from "./model-resolver-3j5kk4r4.js";
10
+ Service62,
11
+ node66
12
+ } from "./skill-7zpre7y5.js";
13
13
  import {
14
- Service47,
15
- node51
16
- } from "./model-resolver-8ss8m2w6.js";
14
+ Service51,
15
+ node54
16
+ } from "./skill-39kmpgmc.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./skill-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service27,
26
- layer: () => layer12,
27
- name: () => name13,
25
+ Service: () => Service38,
26
+ layer: () => layer16,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node30
29
+ node: () => node41
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service27 extends Context.Service()("@opencode/McpTool") {
38
+ class Service38 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer12 = Layer.effect(Service27, Effect.gen(function* () {
41
- const mcp = yield* Service28;
42
- const tools = yield* Service47;
40
+ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
41
+ const mcp = yield* Service39;
42
+ const tools = yield* Service51;
43
43
  const bus = yield* Service84;
44
- const permission = yield* Service66;
44
+ const permission = yield* Service62;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name13(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service27.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service38.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node30 = makeLocationNode({
124
- service: Service27,
125
- layer: layer12,
126
- deps: [node51, node31, node88, node70]
123
+ var node41 = makeLocationNode({
124
+ service: Service38,
125
+ layer: layer16,
126
+ deps: [node54, node42, node88, node66]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service27, layer12, node30, exports_mcp3 };
129
+ export { namespace2, name14, Service38, layer16, node41, exports_mcp3 };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./model-resolver-vq8v8vez.js";
4
+ } from "./skill-5n34a961.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./model-resolver-yfkx0eqm.js";
6
+ Service77,
7
+ node81
8
+ } from "./skill-dzvr5812.js";
9
9
  import {
10
- Service80,
11
- node84
12
- } from "./model-resolver-d07a65d0.js";
10
+ Service82,
11
+ node86
12
+ } from "./skill-9svpk271.js";
13
13
  import {
14
14
  Ref4,
15
- Service79,
16
- node83
17
- } from "./model-resolver-8e78msr1.js";
15
+ Service81,
16
+ node85
17
+ } from "./skill-g6x62smh.js";
18
18
  import {
19
19
  canonical3
20
- } from "./model-resolver-d9kycxq3.js";
20
+ } from "./skill-ce1ww0hn.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./model-resolver-ec1grn59.js";
23
+ } from "./skill-ec1grn59.js";
24
24
  import {
25
- Service66,
26
- node70
27
- } from "./model-resolver-3j5kk4r4.js";
25
+ Service62,
26
+ node66
27
+ } from "./skill-7zpre7y5.js";
28
28
  import {
29
- Service49,
30
- node53
31
- } from "./model-resolver-1xyzrv88.js";
29
+ Service28,
30
+ node31
31
+ } from "./skill-7x669gbt.js";
32
32
  import {
33
33
  __export
34
- } from "./model-resolver-9rqn6x4v.js";
34
+ } from "./skill-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service16,
41
- node: () => node18
40
+ Service: () => Service15,
41
+ node: () => node17
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service16 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service15 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service16, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
51
51
  const bus = yield* Service84;
52
- const location = yield* Service79;
53
- const permission = yield* Service66;
54
- const forms = yield* Service78;
55
- const rpc = yield* Service49;
56
- const project = yield* Service80;
52
+ const location = yield* Service81;
53
+ const permission = yield* Service62;
54
+ const forms = yield* Service77;
55
+ const rpc = yield* Service28;
56
+ const project = yield* Service82;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service16.of({
83
+ return Service15.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
- var node18 = makeLocationNode({
89
- service: Service16,
88
+ var node17 = makeLocationNode({
89
+ service: Service15,
90
90
  layer,
91
- deps: [node88, node83, node70, node84, node82, node53]
91
+ deps: [node88, node85, node66, node86, node81, node31]
92
92
  });
93
93
 
94
- export { Service16, node18, exports_location_lifecycle };
94
+ export { Service15, node17, exports_location_lifecycle };