@opencode/core 0.0.0-dev-21765 → 0.0.0-dev-21768

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -81
  3. package/dist/aisdk-native.js +93 -92
  4. package/dist/aisdk.js +99 -98
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +78 -77
  7. package/dist/chunks/{schema-w1y9pf93.js → snapshot-07zxw3m2.js} +35 -35
  8. package/dist/chunks/{schema-f42znsbm.js → snapshot-0afx89r7.js} +18 -18
  9. package/dist/chunks/{schema-kn8m031n.js → snapshot-0jx32ymp.js} +8 -8
  10. package/dist/chunks/{schema-hskrfeat.js → snapshot-0ks2n9jf.js} +6 -6
  11. package/dist/chunks/{schema-t3ctqk3p.js → snapshot-0mknfzxa.js} +38 -38
  12. package/dist/chunks/{schema-fe9r35x6.js → snapshot-0mqb07fh.js} +14 -14
  13. package/dist/chunks/{schema-2f6bhtqc.js → snapshot-0q5k0gn3.js} +7 -7
  14. package/dist/chunks/{schema-8bc2ahr8.js → snapshot-0ss1ygn7.js} +3 -3
  15. package/dist/chunks/{schema-2wcgdjv5.js → snapshot-0tqn2axw.js} +18 -18
  16. package/dist/chunks/{schema-tqx9c315.js → snapshot-160yv0cs.js} +8 -8
  17. package/dist/chunks/{schema-4dh6ns0s.js → snapshot-161ma9d9.js} +29 -29
  18. package/dist/chunks/{schema-mp5c1e99.js → snapshot-1pxy83dc.js} +20 -20
  19. package/dist/chunks/{schema-eq3fc1qc.js → snapshot-1vdntpm3.js} +5 -5
  20. package/dist/chunks/{schema-4f1nz0wt.js → snapshot-1vmrpj2e.js} +2 -2
  21. package/dist/chunks/{schema-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{schema-p7vhpwh8.js → snapshot-1yq9hg58.js} +5 -5
  23. package/dist/chunks/{schema-1ep2p91f.js → snapshot-27w5k9zf.js} +2 -2
  24. package/dist/chunks/snapshot-2chvth3d.js +26 -0
  25. package/dist/chunks/{schema-jxqzyhg3.js → snapshot-2nrtgzx4.js} +5 -5
  26. package/dist/chunks/{schema-2862db0g.js → snapshot-2qskh4pz.js} +67 -67
  27. package/dist/chunks/{schema-2z1j29yd.js → snapshot-2z1j29yd.js} +1 -1
  28. package/dist/chunks/{schema-hjv5rhcs.js → snapshot-2zgywwsc.js} +21 -21
  29. package/dist/chunks/{schema-3mgb105e.js → snapshot-32s59e8p.js} +9 -9
  30. package/dist/chunks/{schema-ythty13s.js → snapshot-3783nsyn.js} +47 -47
  31. package/dist/chunks/{schema-154zyqc4.js → snapshot-3b9ys5we.js} +7 -7
  32. package/dist/chunks/{schema-ayjs7tqn.js → snapshot-3cbjf1nt.js} +2 -2
  33. package/dist/chunks/{schema-617kavm2.js → snapshot-3favxqg0.js} +14 -14
  34. package/dist/chunks/{schema-nveqws5b.js → snapshot-3gkrqpaa.js} +9 -9
  35. package/dist/chunks/{schema-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{schema-3nfpgkj0.js → snapshot-3nfpgkj0.js} +1 -1
  37. package/dist/chunks/{schema-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
  38. package/dist/chunks/{schema-7wrq6vcn.js → snapshot-3t7xf6wx.js} +17 -17
  39. package/dist/chunks/{schema-6cz5w7zs.js → snapshot-3tgdgf4b.js} +27 -27
  40. package/dist/chunks/{schema-gsb3pfjx.js → snapshot-3zvnpf2b.js} +12 -12
  41. package/dist/chunks/{schema-qq9hzn5s.js → snapshot-478wn43b.js} +28 -28
  42. package/dist/chunks/{schema-143qq2q9.js → snapshot-48kw51zw.js} +3 -3
  43. package/dist/chunks/{schema-hvvf9qw8.js → snapshot-4bwthz3m.js} +6 -6
  44. package/dist/chunks/{schema-5w8m9xv3.js → snapshot-4dfrgdyk.js} +11 -11
  45. package/dist/chunks/{schema-y0e96tr8.js → snapshot-4p58h6jm.js} +12 -12
  46. package/dist/chunks/{schema-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
  47. package/dist/chunks/{schema-hfnfqmbj.js → snapshot-4x5ne6q5.js} +6 -6
  48. package/dist/chunks/{schema-4xvmh7wp.js → snapshot-4xvmh7wp.js} +3 -3
  49. package/dist/chunks/{schema-pazpeg33.js → snapshot-4xx69gcw.js} +36 -36
  50. package/dist/chunks/{schema-3a63316c.js → snapshot-4zqx17cs.js} +4 -4
  51. package/dist/chunks/{schema-ywtc9m4k.js → snapshot-554c643k.js} +14 -14
  52. package/dist/chunks/{schema-jtp66jv1.js → snapshot-59me87h3.js} +15 -15
  53. package/dist/chunks/{schema-c9qwnmqv.js → snapshot-5bs3z6bh.js} +42 -42
  54. package/dist/chunks/{schema-1j2pc25j.js → snapshot-5dz07wyn.js} +24 -24
  55. package/dist/chunks/{schema-en8vfsd2.js → snapshot-5fmag65v.js} +9 -9
  56. package/dist/chunks/{schema-7dm1knrr.js → snapshot-5jkk73vw.js} +25 -25
  57. package/dist/chunks/{schema-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{schema-aqhppgmk.js → snapshot-5tcfg9sy.js} +11 -11
  59. package/dist/chunks/{schema-d61b7cet.js → snapshot-632f3s68.js} +5 -5
  60. package/dist/chunks/{schema-6esdw8yj.js → snapshot-6esdw8yj.js} +1 -1
  61. package/dist/chunks/{schema-6pjqjmy2.js → snapshot-6pjqjmy2.js} +1 -1
  62. package/dist/chunks/{schema-vby0kevs.js → snapshot-6qfg9wn6.js} +13 -13
  63. package/dist/chunks/{schema-mhe28zdf.js → snapshot-6racwe75.js} +16 -16
  64. package/dist/chunks/{schema-a4bkh64k.js → snapshot-6s0qp0k1.js} +13 -13
  65. package/dist/chunks/{schema-z0sad13k.js → snapshot-6s3kc1tw.js} +8 -8
  66. package/dist/chunks/{schema-3k4jc8v0.js → snapshot-7193gb3b.js} +5 -5
  67. package/dist/chunks/{schema-r70bhzar.js → snapshot-74yqxf1n.js} +12 -12
  68. package/dist/chunks/{schema-p76b1cdr.js → snapshot-7656gdbc.js} +11 -11
  69. package/dist/chunks/{schema-nah043kf.js → snapshot-770pw0s1.js} +4 -4
  70. package/dist/chunks/{schema-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{schema-q7qmtw9h.js → snapshot-7f2cmxte.js} +8 -8
  72. package/dist/chunks/{schema-rv8h40hz.js → snapshot-7h9ebnn9.js} +35 -35
  73. package/dist/chunks/{schema-30e1bg64.js → snapshot-7rp7gb9w.js} +5 -5
  74. package/dist/chunks/{schema-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
  75. package/dist/chunks/{schema-dtavj5d7.js → snapshot-7ym71xjb.js} +17 -17
  76. package/dist/chunks/{schema-1616ycsj.js → snapshot-84jtdjdd.js} +16 -16
  77. package/dist/chunks/{schema-rhj80mra.js → snapshot-8evycx1g.js} +17 -17
  78. package/dist/chunks/{schema-fqvwz6ma.js → snapshot-8p0yah29.js} +23 -23
  79. package/dist/chunks/{schema-wmn93bqx.js → snapshot-8qs5em9k.js} +4 -7
  80. package/dist/chunks/{schema-tw8zr1ps.js → snapshot-8r6n0qax.js} +7 -2
  81. package/dist/chunks/{schema-6twctan0.js → snapshot-8rdjrrqn.js} +8 -8
  82. package/dist/chunks/{schema-hxmh1k5n.js → snapshot-8w8z7rxz.js} +14 -14
  83. package/dist/chunks/{schema-qzvs526t.js → snapshot-8wkh25h8.js} +12 -12
  84. package/dist/chunks/{schema-1tjn92rn.js → snapshot-8wt0jx50.js} +13 -13
  85. package/dist/chunks/{schema-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
  86. package/dist/chunks/{schema-fy3nfdcy.js → snapshot-918127jg.js} +4 -4
  87. package/dist/chunks/{schema-91rj84md.js → snapshot-91rj84md.js} +1 -1
  88. package/dist/chunks/{schema-acdmrrd1.js → snapshot-9437wt4d.js} +8 -8
  89. package/dist/chunks/{schema-9yy9tn8q.js → snapshot-9a56t16a.js} +11 -11
  90. package/dist/chunks/{schema-x9cacsyk.js → snapshot-9r6p4a7y.js} +19 -19
  91. package/dist/chunks/{schema-gt2s4m1s.js → snapshot-9rvt699m.js} +5 -5
  92. package/dist/chunks/{schema-4266znvz.js → snapshot-9whsknsx.js} +48 -48
  93. package/dist/chunks/{schema-7pnkfavj.js → snapshot-a06fcy8f.js} +44 -44
  94. package/dist/chunks/{schema-g6t8g6yx.js → snapshot-a0ytzaqj.js} +11 -11
  95. package/dist/chunks/{schema-mc6n2qdv.js → snapshot-a6ads23x.js} +11 -11
  96. package/dist/chunks/{schema-w67s4ywc.js → snapshot-agqd6nxz.js} +8 -8
  97. package/dist/chunks/{schema-034tev2y.js → snapshot-aj7mw0zk.js} +2 -2
  98. package/dist/chunks/{schema-07nbdp2k.js → snapshot-ap337mx5.js} +10 -10
  99. package/dist/chunks/{schema-b0mv4wxm.js → snapshot-b0mv4wxm.js} +2 -2
  100. package/dist/chunks/{schema-8x737kf8.js → snapshot-b1wg801n.js} +24 -24
  101. package/dist/chunks/{schema-szcgc7h4.js → snapshot-b50rsrab.js} +5 -5
  102. package/dist/chunks/{schema-787db2tc.js → snapshot-b55dtq98.js} +9 -9
  103. package/dist/chunks/{schema-gkmddht3.js → snapshot-b8n432y4.js} +15 -15
  104. package/dist/chunks/{schema-s7r97j0a.js → snapshot-bdb3z5a5.js} +19 -19
  105. package/dist/chunks/{schema-mmd0w5me.js → snapshot-bfn6rm7j.js} +19 -19
  106. package/dist/chunks/{schema-24tftcpc.js → snapshot-c1na6ymh.js} +59 -59
  107. package/dist/chunks/{schema-aktgv3ye.js → snapshot-c3cfh5w6.js} +9 -9
  108. package/dist/chunks/{schema-0t098hqn.js → snapshot-c5c0bz0t.js} +5 -5
  109. package/dist/chunks/{schema-mtkfycnh.js → snapshot-c9t2ty9q.js} +4 -4
  110. package/dist/chunks/{schema-88118qy8.js → snapshot-ca57szg8.js} +27 -27
  111. package/dist/chunks/{schema-v8mhp7pp.js → snapshot-cfn4qz40.js} +3 -3
  112. package/dist/chunks/snapshot-cqv5kn06.js +13 -0
  113. package/dist/chunks/{schema-cwz77rcy.js → snapshot-ct8g3krm.js} +11 -11
  114. package/dist/chunks/{schema-6m5m35mz.js → snapshot-d2adx8zd.js} +13 -13
  115. package/dist/chunks/{schema-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
  116. package/dist/chunks/{schema-pcgkddtj.js → snapshot-dbtpmnnk.js} +5 -5
  117. package/dist/chunks/{schema-a1y47zhx.js → snapshot-dbtvxfav.js} +6 -6
  118. package/dist/chunks/{schema-pkyv6v7h.js → snapshot-dbztejgq.js} +1 -0
  119. package/dist/chunks/{schema-4aq7en99.js → snapshot-dhbr53va.js} +38 -38
  120. package/dist/chunks/{schema-m0ddkrak.js → snapshot-djhjvjkg.js} +14 -14
  121. package/dist/chunks/snapshot-djx9kma8.js +257 -0
  122. package/dist/chunks/{schema-329weprz.js → snapshot-dp1xx99d.js} +30 -30
  123. package/dist/chunks/{schema-nck61317.js → snapshot-dqepbaw5.js} +6 -6
  124. package/dist/chunks/{schema-6qzhxdk4.js → snapshot-dqxkzd40.js} +37 -37
  125. package/dist/chunks/{schema-yw3vvjb2.js → snapshot-dsh5f6xc.js} +4 -4
  126. package/dist/chunks/{schema-e834z07m.js → snapshot-e834z07m.js} +1 -1
  127. package/dist/chunks/{schema-y71ps8e5.js → snapshot-efrfrvhc.js} +11 -11
  128. package/dist/chunks/{schema-t1w3prdq.js → snapshot-ek03k2mw.js} +49 -49
  129. package/dist/chunks/{schema-3amvxph1.js → snapshot-emdcpk1s.js} +13 -13
  130. package/dist/chunks/{schema-va1ca6nr.js → snapshot-erqmr9xw.js} +25 -25
  131. package/dist/chunks/{schema-1m98x74e.js → snapshot-esgnsm48.js} +4 -4
  132. package/dist/chunks/{schema-2s3mabk8.js → snapshot-eyf085y9.js} +21 -21
  133. package/dist/chunks/{schema-hwf3rsyj.js → snapshot-f5xfaq7p.js} +24 -24
  134. package/dist/chunks/{schema-b6h084j4.js → snapshot-f7g8c4vr.js} +29 -29
  135. package/dist/chunks/{schema-rxgngg14.js → snapshot-f92mf0c3.js} +5 -5
  136. package/dist/chunks/{schema-t73qb0f8.js → snapshot-f99q6c7d.js} +9 -9
  137. package/dist/chunks/{schema-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
  138. package/dist/chunks/{schema-thszvhrd.js → snapshot-ffg477kt.js} +18 -18
  139. package/dist/chunks/{schema-wb4h2peq.js → snapshot-fkej6bfb.js} +26 -26
  140. package/dist/chunks/{schema-e1crchvn.js → snapshot-fnacy21v.js} +9 -9
  141. package/dist/chunks/{schema-p3r0srm5.js → snapshot-frasnx5s.js} +15 -15
  142. package/dist/chunks/{schema-99g6fqdz.js → snapshot-frqypeq5.js} +11 -11
  143. package/dist/chunks/{schema-er4ejzeq.js → snapshot-fwsg17hw.js} +24 -24
  144. package/dist/chunks/{schema-998yhzzq.js → snapshot-fy5bjxgv.js} +4 -3
  145. package/dist/chunks/{schema-g5h9c0rr.js → snapshot-g5h9c0rr.js} +2 -2
  146. package/dist/chunks/{schema-11e7b702.js → snapshot-gmekvemz.js} +7 -7
  147. package/dist/chunks/{schema-tsdrbga6.js → snapshot-gmfp6b6n.js} +4 -4
  148. package/dist/chunks/{schema-v13bak37.js → snapshot-gng52mc6.js} +18 -18
  149. package/dist/chunks/{schema-tdtvh78f.js → snapshot-gwbj699h.js} +45 -45
  150. package/dist/chunks/{schema-ncctsns8.js → snapshot-gyxnj4a1.js} +9 -9
  151. package/dist/chunks/{schema-c5kjsz6q.js → snapshot-h0rg6s60.js} +4 -4
  152. package/dist/chunks/{schema-tynj833s.js → snapshot-h3hsakfm.js} +17 -17
  153. package/dist/chunks/{schema-1zdtg2jw.js → snapshot-hec7qnqj.js} +36 -36
  154. package/dist/chunks/{schema-5e3hd4xw.js → snapshot-hhtjdena.js} +11 -11
  155. package/dist/chunks/{schema-4d9qj03b.js → snapshot-hnygc6fd.js} +19 -19
  156. package/dist/chunks/{schema-0nhvm0pw.js → snapshot-hr369vr2.js} +22 -22
  157. package/dist/chunks/{schema-j113cymg.js → snapshot-j113cymg.js} +1 -1
  158. package/dist/chunks/{schema-rt1c7dae.js → snapshot-j3vp7afh.js} +18 -18
  159. package/dist/chunks/{schema-524rwz3q.js → snapshot-jb8nybd6.js} +192 -192
  160. package/dist/chunks/{schema-nrxnrznw.js → snapshot-jdrspvzz.js} +25 -25
  161. package/dist/chunks/{schema-rbpahh6n.js → snapshot-jdt45pkr.js} +41 -41
  162. package/dist/chunks/{schema-r5f8nyhj.js → snapshot-jh79xrzs.js} +29 -29
  163. package/dist/chunks/{schema-h5qan5zz.js → snapshot-jj9caqwr.js} +8 -8
  164. package/dist/chunks/{schema-fs3bfktd.js → snapshot-jw8a3tk7.js} +51 -51
  165. package/dist/chunks/{schema-ztkwxhgh.js → snapshot-jxxfxajf.js} +343 -343
  166. package/dist/chunks/{schema-hzcppzhp.js → snapshot-k2fsx1xy.js} +16 -16
  167. package/dist/chunks/{schema-5ryvfs0w.js → snapshot-k61v1qy1.js} +23 -23
  168. package/dist/chunks/{schema-khc0hv5f.js → snapshot-k7509am1.js} +11 -11
  169. package/dist/chunks/{schema-k814nvkf.js → snapshot-k814nvkf.js} +1 -1
  170. package/dist/chunks/{schema-8mh45d2n.js → snapshot-kptvbxr8.js} +10 -10
  171. package/dist/chunks/{schema-18g90bpv.js → snapshot-kqd6y5bm.js} +9 -9
  172. package/dist/chunks/{schema-7ejbfbtt.js → snapshot-ktzyfvz3.js} +55 -51
  173. package/dist/chunks/{schema-1hcmr4yw.js → snapshot-kwx7hjqx.js} +30 -30
  174. package/dist/chunks/{schema-m1714858.js → snapshot-m1714858.js} +1 -1
  175. package/dist/chunks/{schema-92fa10hr.js → snapshot-m2gmtjby.js} +28 -28
  176. package/dist/chunks/{schema-eqmd2tfz.js → snapshot-m37sd98t.js} +7 -7
  177. package/dist/chunks/{schema-e8gd4gpa.js → snapshot-m42exb13.js} +13 -13
  178. package/dist/chunks/{schema-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{schema-j77g158z.js → snapshot-m9xapfg3.js} +8 -8
  180. package/dist/chunks/{schema-gpnpzavh.js → snapshot-ma30nhqm.js} +35 -35
  181. package/dist/chunks/{schema-282ey04p.js → snapshot-mae97aqp.js} +22 -22
  182. package/dist/chunks/{schema-jck87qnb.js → snapshot-mag6tw2x.js} +20 -20
  183. package/dist/chunks/{schema-maspj1v3.js → snapshot-maspj1v3.js} +1 -1
  184. package/dist/chunks/{schema-jc1zpzm6.js → snapshot-mdf86mky.js} +11 -11
  185. package/dist/chunks/{schema-00v1n14z.js → snapshot-me9mw9zy.js} +4 -4
  186. package/dist/chunks/{schema-7a1enj4j.js → snapshot-mj1vn29f.js} +8 -8
  187. package/dist/chunks/{schema-3p1ty9zs.js → snapshot-mjcjq7n6.js} +9 -9
  188. package/dist/chunks/{schema-11j43tsy.js → snapshot-mprydjd2.js} +10 -10
  189. package/dist/chunks/{schema-81vtq34g.js → snapshot-mtvest2f.js} +25 -22
  190. package/dist/chunks/{schema-z28xy0wc.js → snapshot-mw9adcng.js} +24 -24
  191. package/dist/chunks/{schema-n0p0277s.js → snapshot-n0p0277s.js} +1 -1
  192. package/dist/chunks/{schema-4qz42npy.js → snapshot-n1vgbqet.js} +17 -17
  193. package/dist/chunks/{schema-eqzmv0k0.js → snapshot-nbe9sb46.js} +16 -16
  194. package/dist/chunks/{schema-g0wye5yh.js → snapshot-nfcfs4v2.js} +47 -47
  195. package/dist/chunks/{schema-j1ehcwpj.js → snapshot-nse1zspn.js} +9 -9
  196. package/dist/chunks/{schema-1zn3aj1m.js → snapshot-nw01bwqe.js} +1 -1
  197. package/dist/chunks/{schema-hxrfbvam.js → snapshot-nwrg9pc7.js} +25 -25
  198. package/dist/chunks/{schema-p015t6z3.js → snapshot-p015t6z3.js} +2 -2
  199. package/dist/chunks/{schema-qqg9c0kv.js → snapshot-p0tsr9h6.js} +4 -4
  200. package/dist/chunks/{schema-eda149f3.js → snapshot-pakkxr1m.js} +54 -54
  201. package/dist/chunks/{schema-fkbdg6tg.js → snapshot-pc6sxnpy.js} +15 -15
  202. package/dist/chunks/{schema-9rc4as14.js → snapshot-pcjc0zbx.js} +86 -86
  203. package/dist/chunks/{schema-7gf3pvgw.js → snapshot-pd5nnvfb.js} +40 -40
  204. package/dist/chunks/{schema-2nbqrcwe.js → snapshot-pdpcsrtk.js} +11 -11
  205. package/dist/chunks/{schema-pknna89w.js → snapshot-pknna89w.js} +1 -1
  206. package/dist/chunks/{schema-b6vsg801.js → snapshot-prazahgm.js} +4 -2
  207. package/dist/chunks/{schema-h0nnq31c.js → snapshot-psxjadar.js} +12 -12
  208. package/dist/chunks/{schema-w448494y.js → snapshot-pz2xf62m.js} +43 -43
  209. package/dist/chunks/{schema-xhh0m2wy.js → snapshot-q220t63m.js} +5 -5
  210. package/dist/chunks/{schema-ypv38js4.js → snapshot-qbn6ccz0.js} +15 -15
  211. package/dist/chunks/{schema-mx1kx71f.js → snapshot-qbx5df9y.js} +33 -33
  212. package/dist/chunks/{schema-3h9mmrds.js → snapshot-qe4aeyz4.js} +18 -18
  213. package/dist/chunks/snapshot-qmh7vbk2.js +18 -0
  214. package/dist/chunks/{schema-s2rkq84g.js → snapshot-qqmk40fq.js} +26 -26
  215. package/dist/chunks/{schema-3vkndy7n.js → snapshot-qsesa4qj.js} +30 -30
  216. package/dist/chunks/{schema-9vnq5g15.js → snapshot-qtscts2y.js} +10 -10
  217. package/dist/chunks/{schema-8nyb9b1r.js → snapshot-qyhc4eyf.js} +6 -6
  218. package/dist/chunks/{schema-r0yr0wbs.js → snapshot-r0yr0wbs.js} +1 -1
  219. package/dist/chunks/{schema-fc6c4hv8.js → snapshot-r4nkww26.js} +3 -2
  220. package/dist/chunks/{schema-fv09tp7k.js → snapshot-r9xj5tzw.js} +15 -15
  221. package/dist/chunks/{schema-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
  222. package/dist/chunks/{schema-8jvj9h14.js → snapshot-rbtdbek8.js} +11 -11
  223. package/dist/chunks/{schema-fp1f4q9g.js → snapshot-rhm0ky60.js} +20 -20
  224. package/dist/chunks/{schema-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
  225. package/dist/chunks/{schema-ar2j3j0f.js → snapshot-rwp901jg.js} +4 -4
  226. package/dist/chunks/{schema-fzkeq8f8.js → snapshot-s26mdd2t.js} +20 -20
  227. package/dist/chunks/{schema-ypw7dra2.js → snapshot-s5c25evq.js} +9 -9
  228. package/dist/chunks/{schema-c99atrka.js → snapshot-s70bqh3x.js} +22 -22
  229. package/dist/chunks/{schema-sa3fpqfw.js → snapshot-sa3fpqfw.js} +2 -2
  230. package/dist/chunks/{schema-n2c4zg0x.js → snapshot-sfcybhq1.js} +25 -25
  231. package/dist/chunks/{schema-st9narvh.js → snapshot-sna83kbb.js} +32 -32
  232. package/dist/chunks/{schema-sqjzf8x2.js → snapshot-sqjzf8x2.js} +1 -1
  233. package/dist/chunks/{schema-ne1w8t8k.js → snapshot-sqvjjq52.js} +35 -35
  234. package/dist/chunks/{schema-520chd1c.js → snapshot-st099mnc.js} +17 -17
  235. package/dist/chunks/{schema-hnnjehxc.js → snapshot-swa2cp8j.js} +21 -21
  236. package/dist/chunks/{schema-dfay5gjp.js → snapshot-t5w1645e.js} +15 -15
  237. package/dist/chunks/{schema-6sdvvr9a.js → snapshot-tbkt3wx3.js} +11 -11
  238. package/dist/chunks/{schema-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
  239. package/dist/chunks/{schema-5xz4c498.js → snapshot-tprjhv81.js} +12 -12
  240. package/dist/chunks/{schema-jwddjk3q.js → snapshot-trmmr9ep.js} +3 -3
  241. package/dist/chunks/{schema-twv2r8f4.js → snapshot-twv2r8f4.js} +2 -2
  242. package/dist/chunks/{schema-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
  243. package/dist/chunks/{schema-3fn32fyw.js → snapshot-v7h4xrvh.js} +2 -2
  244. package/dist/chunks/{schema-jy6n1kda.js → snapshot-v7smbder.js} +22 -22
  245. package/dist/chunks/{schema-2yrt0cx2.js → snapshot-vas1r7h6.js} +11 -11
  246. package/dist/chunks/{schema-vd3b3yk9.js → snapshot-vd3b3yk9.js} +1 -1
  247. package/dist/chunks/{schema-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  248. package/dist/chunks/{schema-m33z69w0.js → snapshot-vgp1wa39.js} +16 -16
  249. package/dist/chunks/{schema-npjxp3nk.js → snapshot-vwnxacd1.js} +23 -23
  250. package/dist/chunks/{schema-a422z98d.js → snapshot-vwqhz761.js} +19 -19
  251. package/dist/chunks/{schema-5enarcya.js → snapshot-w2eysc6j.js} +6 -6
  252. package/dist/chunks/{schema-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{schema-x3t8twyd.js → snapshot-w6szjrsy.js} +37 -37
  254. package/dist/chunks/{schema-76cb1hcw.js → snapshot-w8qtt4th.js} +4 -4
  255. package/dist/chunks/{schema-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
  256. package/dist/chunks/{schema-a7p56gbj.js → snapshot-wbhrv0fr.js} +9 -9
  257. package/dist/chunks/{schema-wd87259q.js → snapshot-wd87259q.js} +1 -1
  258. package/dist/chunks/{schema-yx3vrw5p.js → snapshot-wgr1c5ms.js} +3 -3
  259. package/dist/chunks/{schema-7werj5s1.js → snapshot-whn2866m.js} +11 -11
  260. package/dist/chunks/{schema-jgeyayk8.js → snapshot-wk2qmfnq.js} +11 -11
  261. package/dist/chunks/{schema-dtg24jm0.js → snapshot-wqh0bfav.js} +94 -94
  262. package/dist/chunks/{schema-qv7y9773.js → snapshot-wqscedq8.js} +4 -4
  263. package/dist/chunks/{schema-wr3re1en.js → snapshot-wr3re1en.js} +1 -1
  264. package/dist/chunks/{schema-7df12zw2.js → snapshot-wz1vecj1.js} +18 -18
  265. package/dist/chunks/{schema-7m47pp9z.js → snapshot-x9vn6nqh.js} +22 -22
  266. package/dist/chunks/{schema-xd9cc171.js → snapshot-xd9cc171.js} +1 -1
  267. package/dist/chunks/{schema-vg66cxah.js → snapshot-xhmkx1jn.js} +22 -22
  268. package/dist/chunks/{schema-59zf53qd.js → snapshot-xm3gk7bk.js} +1 -1
  269. package/dist/chunks/{schema-yqhw68ry.js → snapshot-xzbs9p6d.js} +24 -24
  270. package/dist/chunks/{schema-y2tacs4v.js → snapshot-y2tacs4v.js} +1 -1
  271. package/dist/chunks/{schema-sdm20d6g.js → snapshot-y7gd4w3h.js} +38 -38
  272. package/dist/chunks/{schema-029wrt9s.js → snapshot-y953en34.js} +4 -4
  273. package/dist/chunks/{schema-w6veeby1.js → snapshot-y96gz3a5.js} +23 -23
  274. package/dist/chunks/{schema-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
  275. package/dist/chunks/{schema-a3brrxmc.js → snapshot-ydwpppea.js} +5 -5
  276. package/dist/chunks/{schema-g5m9rhne.js → snapshot-yev68cen.js} +19 -19
  277. package/dist/chunks/{schema-69akfaf3.js → snapshot-yfm7n3f0.js} +32 -32
  278. package/dist/chunks/{schema-4c4ax3zv.js → snapshot-yh2w88yz.js} +4 -4
  279. package/dist/chunks/{schema-xccxprzd.js → snapshot-yqhvfk7a.js} +1 -1
  280. package/dist/chunks/{schema-axrk0dbh.js → snapshot-ywdc1z9p.js} +1 -1
  281. package/dist/chunks/{schema-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{schema-z38nccrw.js → snapshot-z38nccrw.js} +1 -1
  283. package/dist/chunks/{schema-gvefjbhs.js → snapshot-z41z05dk.js} +6 -6
  284. package/dist/chunks/{schema-cnpyaq5p.js → snapshot-z6gzjb8d.js} +11 -11
  285. package/dist/chunks/{schema-nxykchda.js → snapshot-zaapkpfq.js} +30 -30
  286. package/dist/chunks/{schema-xsvq7cjt.js → snapshot-zgmrepvs.js} +4 -4
  287. package/dist/chunks/{schema-8dbgzqh1.js → snapshot-zgmx74c0.js} +13 -13
  288. package/dist/chunks/{schema-zkg84ctx.js → snapshot-zkg84ctx.js} +1 -1
  289. package/dist/chunks/{schema-aq1t7e1s.js → snapshot-zy7n2dwb.js} +7 -7
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +80 -79
  295. package/dist/config/discovery.js +88 -87
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +103 -102
  298. package/dist/config/plugin/agent.js +117 -116
  299. package/dist/config/plugin/command.js +213 -212
  300. package/dist/config/plugin/compaction.js +156 -155
  301. package/dist/config/plugin/compatibility.js +136 -135
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +118 -117
  304. package/dist/config/plugin/image.js +117 -116
  305. package/dist/config/plugin/instruction.js +117 -116
  306. package/dist/config/plugin/location-watcher.js +117 -116
  307. package/dist/config/plugin/mcp.js +124 -123
  308. package/dist/config/plugin/policy.js +118 -117
  309. package/dist/config/plugin/provider.js +117 -116
  310. package/dist/config/plugin/reference.js +119 -118
  311. package/dist/config/plugin/shell.js +119 -118
  312. package/dist/config/plugin/skill-file.js +106 -105
  313. package/dist/config/plugin/skill-scan.js +3 -3
  314. package/dist/config/plugin/skill.js +139 -138
  315. package/dist/config/plugin/snapshot.js +117 -116
  316. package/dist/config/plugin/source.js +114 -113
  317. package/dist/config/plugin/tool-output.js +118 -117
  318. package/dist/config/plugin/websearch.js +118 -117
  319. package/dist/config/plugin/worktree.js +119 -118
  320. package/dist/config/variable.js +1 -1
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +120 -119
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -81
  325. package/dist/database/database.js +75 -74
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  391. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  392. package/dist/database/migration/20261024002554_session_allowance.js +6 -0
  393. package/dist/database/migration.gen.js +52 -51
  394. package/dist/database/migration.js +54 -53
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +96 -95
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +371 -370
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +97 -96
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +97 -96
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +77 -76
  418. package/dist/file-access.js +108 -107
  419. package/dist/file-mutation.js +98 -97
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +222 -221
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -102
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +9 -9
  431. package/dist/filesystem.js +106 -105
  432. package/dist/form.js +85 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +91 -90
  435. package/dist/generate.js +109 -108
  436. package/dist/git.js +11 -11
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +103 -102
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +362 -361
  460. package/dist/instruction-discovery.js +87 -86
  461. package/dist/instructions/builtins.js +91 -90
  462. package/dist/instructions/index.js +1 -1
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +90 -89
  465. package/dist/job.js +81 -80
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +76 -75
  468. package/dist/location-activity.js +160 -159
  469. package/dist/location-lifecycle.js +111 -110
  470. package/dist/location-service-map.js +90 -89
  471. package/dist/location-services.js +359 -358
  472. package/dist/location.js +91 -90
  473. package/dist/managed-policy.js +8 -8
  474. package/dist/mcp/client.js +95 -94
  475. package/dist/mcp/index.js +113 -112
  476. package/dist/mcp/instructions.js +140 -139
  477. package/dist/mcp/oauth.js +81 -80
  478. package/dist/mcp/socket-client.js +1 -1
  479. package/dist/mcp/stdio.js +94 -93
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +103 -102
  482. package/dist/model-resolver.js +103 -102
  483. package/dist/model-retry.js +1 -1
  484. package/dist/model.js +104 -103
  485. package/dist/models-dev.js +111 -110
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +81 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +109 -108
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +89 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +78 -77
  495. package/dist/plugin/agent.js +77 -76
  496. package/dist/plugin/command.js +104 -103
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -218
  499. package/dist/plugin/identity.js +5 -5
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +333 -332
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +100 -99
  504. package/dist/plugin/module.js +116 -115
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +106 -105
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +94 -93
  509. package/dist/plugin/provider/azure.js +117 -116
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +117 -116
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -113
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -113
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +113 -112
  516. package/dist/plugin/provider/databricks.js +1 -1
  517. package/dist/plugin/provider/digitalocean.js +97 -96
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/github-copilot.js +99 -98
  521. package/dist/plugin/provider/gitlab.js +97 -96
  522. package/dist/plugin/provider/google-vertex.js +114 -113
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +81 -80
  525. package/dist/plugin/provider/lmstudio.js +124 -123
  526. package/dist/plugin/provider/local.js +123 -122
  527. package/dist/plugin/provider/modal.js +96 -95
  528. package/dist/plugin/provider/neon.js +1 -1
  529. package/dist/plugin/provider/nvidia.js +1 -1
  530. package/dist/plugin/provider/ollama.js +124 -123
  531. package/dist/plugin/provider/openai-context-caps.js +94 -93
  532. package/dist/plugin/provider/openai.js +119 -118
  533. package/dist/plugin/provider/opencode.js +102 -101
  534. package/dist/plugin/provider/openrouter.js +95 -94
  535. package/dist/plugin/provider/perplexity.js +2 -2
  536. package/dist/plugin/provider/poe.js +82 -81
  537. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  538. package/dist/plugin/provider/sap-ai-core.js +95 -94
  539. package/dist/plugin/provider/sdk-factory.js +1 -1
  540. package/dist/plugin/provider/snowflake-cortex.js +116 -115
  541. package/dist/plugin/provider/vercel.js +94 -93
  542. package/dist/plugin/provider/vllm.js +126 -125
  543. package/dist/plugin/provider/xai.js +95 -94
  544. package/dist/plugin/provider/zenmux.js +1 -1
  545. package/dist/plugin/provider.js +169 -168
  546. package/dist/plugin/sdk.js +77 -76
  547. package/dist/plugin/service.js +3 -3
  548. package/dist/plugin/skill.js +135 -134
  549. package/dist/plugin/source-directory.js +1 -1
  550. package/dist/plugin/supervisor.js +348 -347
  551. package/dist/plugin/tool-input-repair.js +4 -4
  552. package/dist/plugin/update.js +6 -6
  553. package/dist/plugin/vcs/git.js +90 -89
  554. package/dist/plugin/vcs/hg.js +90 -89
  555. package/dist/plugin/verbosity.js +97 -96
  556. package/dist/plugin/warming.js +115 -114
  557. package/dist/plugin/websearch/exa.js +7 -7
  558. package/dist/plugin/websearch/firecrawl.js +8 -8
  559. package/dist/plugin/websearch/index.js +9 -9
  560. package/dist/plugin/websearch/mcp.js +4 -4
  561. package/dist/plugin/websearch/parallel.js +8 -8
  562. package/dist/plugin/websearch/tavily.js +6 -6
  563. package/dist/plugin/websearch/tinyfish.js +6 -6
  564. package/dist/plugin.js +230 -229
  565. package/dist/project/schema.js +8 -8
  566. package/dist/project/sql.js +4 -4
  567. package/dist/project.js +92 -91
  568. package/dist/provider.js +103 -102
  569. package/dist/pty/protocol.js +1 -1
  570. package/dist/pty/ticket.js +1 -1
  571. package/dist/pty.js +102 -101
  572. package/dist/reference/instructions.js +91 -90
  573. package/dist/reference.js +95 -94
  574. package/dist/repository-cache.js +85 -84
  575. package/dist/repository.js +1 -1
  576. package/dist/ripgrep/binary.js +2 -2
  577. package/dist/ripgrep.js +99 -98
  578. package/dist/rpc.js +90 -89
  579. package/dist/schema.js +1 -1
  580. package/dist/session/affinity.js +1 -1
  581. package/dist/session/command.js +77 -76
  582. package/dist/session/compaction.js +138 -137
  583. package/dist/session/context.js +166 -165
  584. package/dist/session/diff.js +92 -91
  585. package/dist/session/environment.js +5 -5
  586. package/dist/session/error.js +5 -5
  587. package/dist/session/event.js +1 -1
  588. package/dist/session/execution/restart.js +225 -224
  589. package/dist/session/execution.js +132 -131
  590. package/dist/session/generate.js +166 -165
  591. package/dist/session/history.js +13 -13
  592. package/dist/session/inbox.js +96 -95
  593. package/dist/session/info.js +3 -3
  594. package/dist/session/instruction-entry.js +82 -81
  595. package/dist/session/instruction-state.js +8 -8
  596. package/dist/session/instructions.js +101 -100
  597. package/dist/session/message-updater.js +2 -2
  598. package/dist/session/message.js +1 -1
  599. package/dist/session/model-request.js +124 -123
  600. package/dist/session/model-transport.js +9 -9
  601. package/dist/session/move.js +134 -133
  602. package/dist/session/projector.js +92 -91
  603. package/dist/session/prompt.js +109 -108
  604. package/dist/session/recent-text.js +1 -1
  605. package/dist/session/revert.js +98 -97
  606. package/dist/session/run-coordinator.js +3 -3
  607. package/dist/session/runner/index.js +3 -3
  608. package/dist/session/runner/llm.js +230 -229
  609. package/dist/session/runner/max-steps.js +1 -1
  610. package/dist/session/runner/model.js +104 -103
  611. package/dist/session/runner/publish-llm-event.js +117 -117
  612. package/dist/session/runner/retry.js +5 -5
  613. package/dist/session/runner/step.js +128 -127
  614. package/dist/session/runner/to-llm-message.js +14 -14
  615. package/dist/session/schema.js +5 -5
  616. package/dist/session/session.js +166 -165
  617. package/dist/session/shell.js +131 -130
  618. package/dist/session/skill.js +107 -106
  619. package/dist/session/sql.js +5 -5
  620. package/dist/session/stats.js +76 -75
  621. package/dist/session/store.js +88 -87
  622. package/dist/session/subagent-completion.js +1 -1
  623. package/dist/session/subagent-job.js +213 -212
  624. package/dist/session/system-prompt.js +5 -5
  625. package/dist/session/title.js +164 -163
  626. package/dist/session/to-session-error.js +116 -115
  627. package/dist/session/transfer.js +223 -221
  628. package/dist/session/usage.js +1 -1
  629. package/dist/session.js +217 -216
  630. package/dist/shell/parse.js +8 -8
  631. package/dist/shell/result.js +1 -1
  632. package/dist/shell/scan.js +1 -1
  633. package/dist/shell/select.js +11 -11
  634. package/dist/shell.js +133 -132
  635. package/dist/skill/discovery.js +6 -6
  636. package/dist/skill/instructions.js +111 -110
  637. package/dist/skill.js +116 -115
  638. package/dist/snapshot.js +95 -94
  639. package/dist/state.js +1 -1
  640. package/dist/tool/html-markdown.js +1 -1
  641. package/dist/tool/http-body.js +1 -1
  642. package/dist/tool/mcp.js +141 -140
  643. package/dist/tool/plugin/edit.js +124 -123
  644. package/dist/tool/plugin/file-diff.js +1 -1
  645. package/dist/tool/plugin/glob.js +128 -127
  646. package/dist/tool/plugin/grep.js +120 -119
  647. package/dist/tool/plugin/mcp-resource.js +128 -127
  648. package/dist/tool/plugin/opencode.js +113 -112
  649. package/dist/tool/plugin/patch.js +126 -125
  650. package/dist/tool/plugin/question.js +107 -106
  651. package/dist/tool/plugin/read.js +127 -126
  652. package/dist/tool/plugin/shell.js +218 -217
  653. package/dist/tool/plugin/skill.js +111 -110
  654. package/dist/tool/plugin/subagent.js +220 -219
  655. package/dist/tool/plugin/todo.js +139 -138
  656. package/dist/tool/plugin/webfetch.js +117 -116
  657. package/dist/tool/plugin/websearch.js +118 -117
  658. package/dist/tool/plugin/write.js +126 -125
  659. package/dist/tool/read-filesystem.js +106 -105
  660. package/dist/tool/runtime.js +1 -1
  661. package/dist/tool-output.js +7 -7
  662. package/dist/tool.js +12 -12
  663. package/dist/types/database/migration/20261024002554_session_allowance.d.ts +3 -0
  664. package/dist/types/session/history.d.ts +2 -0
  665. package/dist/types/session/runner/publish-llm-event.d.ts +4 -1
  666. package/dist/types/session/schema.d.ts +5 -0
  667. package/dist/types/session/sql.d.ts +16 -0
  668. package/dist/types/session/transfer.d.ts +10 -0
  669. package/dist/types/session/usage.d.ts +2 -0
  670. package/dist/util/error-summary.js +1 -1
  671. package/dist/util/git-executable.js +3 -3
  672. package/dist/util/lazy.js +1 -1
  673. package/dist/util/slug.js +1 -1
  674. package/dist/util/token.js +1 -1
  675. package/dist/util/which.js +1 -1
  676. package/dist/util/wildcard.js +1 -1
  677. package/dist/v1/config/agent.js +5 -5
  678. package/dist/v1/config/command.js +3 -3
  679. package/dist/v1/config/mcp.js +4 -4
  680. package/dist/v1/config/migrate.js +96 -95
  681. package/dist/v1/config/permission.js +3 -3
  682. package/dist/v1/config/plugin.js +3 -3
  683. package/dist/v1/config/provider-options.js +1 -1
  684. package/dist/v1/config/provider.js +4 -4
  685. package/dist/variant.js +95 -94
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +93 -92
  688. package/dist/voice.js +91 -90
  689. package/dist/websearch.js +85 -84
  690. package/dist/wellknown/plugin.js +79 -78
  691. package/dist/wellknown.js +82 -81
  692. package/dist/workspace/driver.js +3 -3
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +85 -84
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +11 -11
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +93 -92
  699. package/dist/worktree.js +104 -103
  700. package/package.json +8 -8
  701. package/dist/chunks/schema-6cfsdsjt.js +0 -26
  702. package/dist/chunks/schema-g6nq203h.js +0 -257
  703. package/dist/chunks/schema-n3r3rt18.js +0 -18
  704. /package/dist/chunks/{schema-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{schema-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{schema-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{schema-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{schema-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{schema-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{schema-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
  711. /package/dist/chunks/{schema-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{schema-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{schema-3asan66x.js → snapshot-3asan66x.js} +0 -0
  714. /package/dist/chunks/{schema-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{schema-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{schema-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{schema-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{schema-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{schema-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{schema-53557ph1.js → snapshot-53557ph1.js} +0 -0
  721. /package/dist/chunks/{schema-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{schema-5fjb7ams.js → snapshot-5fjb7ams.js} +0 -0
  723. /package/dist/chunks/{schema-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
  724. /package/dist/chunks/{schema-6prwharc.js → snapshot-6prwharc.js} +0 -0
  725. /package/dist/chunks/{schema-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
  726. /package/dist/chunks/{schema-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{schema-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{schema-822emrt2.js → snapshot-822emrt2.js} +0 -0
  729. /package/dist/chunks/{schema-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
  730. /package/dist/chunks/{schema-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{schema-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{schema-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{schema-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{schema-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{schema-a058387c.js → snapshot-a058387c.js} +0 -0
  736. /package/dist/chunks/{schema-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{schema-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{schema-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{schema-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{schema-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{schema-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{schema-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{schema-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{schema-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{schema-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{schema-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{schema-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{schema-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{schema-df08tz66.js → snapshot-df08tz66.js} +0 -0
  750. /package/dist/chunks/{schema-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{schema-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{schema-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{schema-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{schema-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{schema-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{schema-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{schema-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{schema-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{schema-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{schema-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{schema-g86h250q.js → snapshot-g86h250q.js} +0 -0
  762. /package/dist/chunks/{schema-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{schema-gftt206x.js → snapshot-gftt206x.js} +0 -0
  764. /package/dist/chunks/{schema-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
  765. /package/dist/chunks/{schema-hk9envan.js → snapshot-hk9envan.js} +0 -0
  766. /package/dist/chunks/{schema-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{schema-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{schema-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{schema-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{schema-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{schema-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
  772. /package/dist/chunks/{schema-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{schema-m18g726c.js → snapshot-m18g726c.js} +0 -0
  774. /package/dist/chunks/{schema-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{schema-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{schema-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{schema-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{schema-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{schema-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{schema-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{schema-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{schema-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{schema-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{schema-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{schema-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{schema-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{schema-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{schema-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{schema-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
  790. /package/dist/chunks/{schema-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{schema-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{schema-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{schema-wjj7prxr.js → snapshot-wjj7prxr.js} +0 -0
  794. /package/dist/chunks/{schema-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{schema-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{schema-x61499pn.js → snapshot-x61499pn.js} +0 -0
  797. /package/dist/chunks/{schema-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{schema-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{schema-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{schema-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{schema-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
  802. /package/dist/chunks/{schema-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./schema-z5v4ffb3.js";
4
+ } from "./snapshot-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service80,
9
- node84
10
- } from "./schema-qzvs526t.js";
8
+ Service84,
9
+ node87
10
+ } from "./snapshot-8wkh25h8.js";
11
11
  import {
12
- Service78,
13
- node82
14
- } from "./schema-1616ycsj.js";
12
+ Service82,
13
+ node85
14
+ } from "./snapshot-84jtdjdd.js";
15
15
  import {
16
16
  create3
17
- } from "./schema-vd3b3yk9.js";
17
+ } from "./snapshot-vd3b3yk9.js";
18
18
  import {
19
19
  __export
20
- } from "./schema-9rqn6x4v.js";
20
+ } from "./snapshot-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error3,
26
- ID: () => ID3,
27
- Service: () => Service33,
26
+ ID: () => ID11,
27
+ Service: () => Service69,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node36,
30
- noopLayer: () => noopLayer2
29
+ node: () => node71,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  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 ID3 } from "@opencode/schema/snapshot";
37
+ import { ID as ID11 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
39
  class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service33 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service69 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service33, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service80;
50
+ const git = yield* Service84;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service82;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID3.make(tree);
99
+ return ID11.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) {
@@ -152,14 +152,14 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
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 Service33.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
155
+ return Service69.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
156
  }).pipe(Effect.withSpan("Snapshot.boot")));
157
- var node36 = makeLocationNode({
158
- service: Service33,
157
+ var node71 = makeLocationNode({
158
+ service: Service69,
159
159
  layer,
160
- deps: [FSUtil.node, node84, Global.node, node82]
160
+ deps: [FSUtil.node, node87, Global.node, node85]
161
161
  });
162
- var noopLayer2 = Layer.succeed(Service33, Service33.of({
162
+ var noopLayer3 = Layer.succeed(Service69, Service69.of({
163
163
  transform: () => Effect.succeed({ dispose: Effect.void }),
164
164
  reload: () => Effect.void,
165
165
  capture: () => Effect.undefined,
@@ -177,4 +177,4 @@ function failure(operation, cause) {
177
177
  });
178
178
  }
179
179
 
180
- export { ID3, Error3, Service33, node36, noopLayer2, exports_snapshot2 };
180
+ export { ID11, Error3, Service69, node71, noopLayer3, exports_snapshot2 };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service86,
3
- node90
4
- } from "./schema-jc1zpzm6.js";
3
+ node89
4
+ } from "./snapshot-mdf86mky.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./schema-eqzmv0k0.js";
9
- import {
10
- Service84,
6
+ Service85,
11
7
  node88
12
- } from "./schema-m33z69w0.js";
8
+ } from "./snapshot-nbe9sb46.js";
9
+ import {
10
+ Service45,
11
+ node47
12
+ } from "./snapshot-vgp1wa39.js";
13
13
  import {
14
- Service40,
15
- node42
16
- } from "./schema-hvvf9qw8.js";
14
+ Service42,
15
+ node44
16
+ } from "./snapshot-4bwthz3m.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./schema-ec1grn59.js";
19
+ } from "./snapshot-ec1grn59.js";
20
20
  import {
21
- make15
22
- } from "./schema-mtkfycnh.js";
21
+ make16
22
+ } from "./snapshot-c9t2ty9q.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service38
26
- } from "./schema-c5kjsz6q.js";
25
+ Service40
26
+ } from "./snapshot-h0rg6s60.js";
27
27
  import {
28
- Service75,
29
- node79
30
- } from "./schema-6m5m35mz.js";
28
+ Service79,
29
+ node82
30
+ } from "./snapshot-d2adx8zd.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./schema-jxqzyhg3.js";
33
+ } from "./snapshot-2nrtgzx4.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./schema-8x737kf8.js";
36
+ } from "./snapshot-b1wg801n.js";
37
37
  import {
38
38
  __export
39
- } from "./schema-9rqn6x4v.js";
39
+ } from "./snapshot-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service37,
44
+ Service: () => Service39,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer15,
47
- node: () => node40,
48
- noopLayer: () => noopLayer3,
46
+ layer: () => layer18,
47
+ node: () => node42,
48
+ noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service37 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service39 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer15 = Layer.effect(Service37, Effect.gen(function* () {
63
- const store = yield* Service75;
64
- const instances = yield* Service40;
65
- const bus = yield* Service83;
66
- const jobs = yield* Service84;
62
+ var layer18 = Layer.effect(Service39, Effect.gen(function* () {
63
+ const store = yield* Service79;
64
+ const instances = yield* Service42;
65
+ const bus = yield* Service85;
66
+ const jobs = yield* Service45;
67
67
  const db = (yield* Service86).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service40.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make15({
86
+ const coordinator = yield* make16({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service37.of({
107
+ return Service39.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node40 = makeGlobalNode({
127
- service: Service37,
128
- layer: layer15,
129
- deps: [node79, node42, node87, node90, node88]
126
+ var node42 = makeGlobalNode({
127
+ service: Service39,
128
+ layer: layer18,
129
+ deps: [node82, node44, node88, node89, node47]
130
130
  });
131
- var noopLayer3 = Layer.succeed(Service37, Service37.of({
131
+ var noopLayer2 = Layer.succeed(Service39, Service39.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service37, Service37.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service37, terminal2, layer15, node40, noopLayer3, exports_execution };
140
+ export { Service39, terminal2, layer18, node42, noopLayer2, exports_execution };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./schema-eqzmv0k0.js";
2
+ Service85,
3
+ node88
4
+ } from "./snapshot-nbe9sb46.js";
5
5
  import {
6
6
  parse5,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./schema-xd9cc171.js";
11
+ } from "./snapshot-xd9cc171.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./schema-z5v4ffb3.js";
14
+ } from "./snapshot-z5v4ffb3.js";
15
15
  import {
16
- Service44,
17
- node46
18
- } from "./schema-fp1f4q9g.js";
16
+ Service71,
17
+ node73
18
+ } from "./snapshot-rhm0ky60.js";
19
19
  import {
20
20
  create3
21
- } from "./schema-vd3b3yk9.js";
21
+ } from "./snapshot-vd3b3yk9.js";
22
22
  import {
23
23
  __export
24
- } from "./schema-9rqn6x4v.js";
24
+ } from "./snapshot-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event3,
29
+ Event: () => Event17,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info6,
31
+ Info: () => Info22,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service30,
35
- Source: () => Source3,
36
- node: () => node33
34
+ Service: () => Service70,
35
+ Source: () => Source4,
36
+ node: () => node72
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event3 } from "@opencode/schema/reference";
42
+ import { Event as Event17 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
46
- var Info6 = Reference.Info;
45
+ var Source4 = Reference.Source;
46
+ var Info22 = Reference.Info;
47
47
 
48
- class Service30 extends Context.Service()("@opencode/Reference") {
48
+ class Service70 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service30, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service83;
53
- const cache = yield* Service44;
52
+ const bus = yield* Service85;
53
+ const cache = yield* Service71;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info6.make({ ...info, path: source.path })];
63
+ return [Info22.make({ ...info, path: source.path })];
64
64
  const repository = parse5(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info6.make({
75
+ Info22.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service30.of({
107
+ return Service70.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node33 = makeLocationNode({
116
- service: Service30,
115
+ var node72 = makeLocationNode({
116
+ service: Service70,
117
117
  layer,
118
- deps: [Global.node, node87, node46]
118
+ deps: [Global.node, node88, node73]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info6, Service30, node33, exports_reference2, Event3 };
121
+ export { LocalSource2, GitSource2, Source4, Info22, Service70, node72, exports_reference2, Event17 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./schema-z5v4ffb3.js";
3
+ } from "./snapshot-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info15
7
- } from "./schema-qv7y9773.js";
6
+ Info12
7
+ } from "./snapshot-wqscedq8.js";
8
8
  import {
9
9
  __export
10
- } from "./schema-9rqn6x4v.js";
10
+ } from "./snapshot-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
13
  var exports_agent3 = {};
14
14
  __export(exports_agent3, {
15
15
  ConfigAgentV1: () => exports_agent3,
16
- Info: () => Info14
16
+ Info: () => Info11
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info15)
48
+ permission: Schema.optional(Info12)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info14 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info11 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info14, exports_agent3 };
72
+ export { Info11, exports_agent3 };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./schema-eqzmv0k0.js";
2
+ Service85,
3
+ node88
4
+ } from "./snapshot-nbe9sb46.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./schema-1616ycsj.js";
6
+ Service82,
7
+ node85
8
+ } from "./snapshot-84jtdjdd.js";
9
9
  import {
10
- Service58,
11
- node61
12
- } from "./schema-yqhw68ry.js";
10
+ Service75,
11
+ node77
12
+ } from "./snapshot-xzbs9p6d.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./schema-tczq8hjw.js";
15
+ } from "./snapshot-tczq8hjw.js";
16
16
  import {
17
- Service60,
17
+ Service52,
18
18
  args2,
19
- node64
20
- } from "./schema-fv09tp7k.js";
19
+ node54
20
+ } from "./snapshot-r9xj5tzw.js";
21
21
  import {
22
- Service77,
23
- node81
24
- } from "./schema-j77g158z.js";
22
+ Service81,
23
+ node84
24
+ } from "./snapshot-m9xapfg3.js";
25
25
  import {
26
- Service56,
27
- node59
28
- } from "./schema-7a1enj4j.js";
26
+ Service48,
27
+ node50
28
+ } from "./snapshot-mj1vn29f.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./schema-143qq2q9.js";
31
+ } from "./snapshot-48kw51zw.js";
32
32
  import {
33
33
  latest2,
34
- Service61,
35
- node65
36
- } from "./schema-t1w3prdq.js";
34
+ Service56,
35
+ node58
36
+ } from "./snapshot-ek03k2mw.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./schema-cwz77rcy.js";
40
+ } from "./snapshot-ct8g3krm.js";
41
41
  import {
42
42
  __export
43
- } from "./schema-9rqn6x4v.js";
43
+ } from "./snapshot-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError7,
49
+ NotFoundError: () => NotFoundError4,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service55,
51
+ Service: () => Service47,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node58
54
+ node: () => node49
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service55 extends Context.Service()("@opencode/Shell") {
74
+ class Service47 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service55, Effect.gen(function* () {
91
- const bus = yield* Service83;
92
- const location = yield* Service78;
90
+ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
91
+ const bus = yield* Service85;
92
+ const location = yield* Service82;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service60;
95
- const environment = yield* Service58;
96
- const hooks = yield* Service77;
97
- const environments = yield* Service56;
98
- const config = yield* Service61;
94
+ const shell = yield* Service52;
95
+ const environment = yield* Service75;
96
+ const hooks = yield* Service81;
97
+ const environments = yield* Service48;
98
+ const config = yield* Service56;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service55, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError7({ id });
119
+ return yield* new NotFoundError4({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service55, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError7({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError4({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  if (command.info.status === "running")
135
135
  yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service55, Effect.gen(function* () {
336
336
  const command = yield* Deferred.await(ready);
337
337
  return command.info;
338
338
  });
339
- return Service55.of({ create, list, get, wait, result, timeout, output, remove });
339
+ return Service47.of({ create, list, get, wait, result, timeout, output, remove });
340
340
  }));
341
- var node58 = makeLocationNode({
342
- service: Service55,
341
+ var node49 = makeLocationNode({
342
+ service: Service47,
343
343
  layer: layer(),
344
344
  deps: [
345
- node87,
346
- node82,
345
+ node88,
346
+ node85,
347
347
  Global.node,
348
- node64,
349
- node61,
350
- node81,
351
- node59,
352
- node65,
348
+ node54,
349
+ node77,
350
+ node84,
351
+ node50,
352
+ node58,
353
353
  cleanupNode
354
354
  ]
355
355
  });
356
356
 
357
- export { NotFoundError7, RETENTION2, DIRECTORY2, Service55, cleanup2, node58, exports_shell4 };
357
+ export { NotFoundError4, RETENTION2, DIRECTORY2, Service47, cleanup2, node49, exports_shell4 };