@opencode/core 0.0.0-dev-20704 → 0.0.0-dev-20706

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{git-wf3cm873.js → kv-00w27fcx.js} +16 -16
  8. package/dist/chunks/{git-dyymvp0r.js → kv-08bcstag.js} +10 -10
  9. package/dist/chunks/{git-ew029xcz.js → kv-08fvh0y0.js} +19 -19
  10. package/dist/chunks/{git-6qa8gc7n.js → kv-08rpdwx4.js} +10 -10
  11. package/dist/chunks/{git-24mvnw1a.js → kv-0ckgj15w.js} +9 -9
  12. package/dist/chunks/{git-rs59bnnz.js → kv-0f20k6pp.js} +30 -30
  13. package/dist/chunks/{git-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{git-0vbcp93d.js → kv-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{git-f454xj3h.js → kv-0veeapjn.js} +33 -33
  16. package/dist/chunks/{git-6fay8h1c.js → kv-1a80t7w5.js} +11 -11
  17. package/dist/chunks/{git-1acjjqhc.js → kv-1acjjqhc.js} +1 -1
  18. package/dist/chunks/{git-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{git-1dvck2a7.js → kv-1dvck2a7.js} +2 -2
  20. package/dist/chunks/{git-sjesw609.js → kv-1kyt7r1x.js} +1 -1
  21. package/dist/chunks/{git-q6yya7b3.js → kv-1nwxscpy.js} +5 -5
  22. package/dist/chunks/{git-52rdeedc.js → kv-1rs5fgfe.js} +21 -21
  23. package/dist/chunks/{git-m5jcjszt.js → kv-1xb40zjp.js} +3 -3
  24. package/dist/chunks/{git-8k05bbzn.js → kv-1z3cmke4.js} +4 -4
  25. package/dist/chunks/{git-f1vyh6xp.js → kv-234nbg4f.js} +11 -11
  26. package/dist/chunks/{git-2yc0zydp.js → kv-288p0v1r.js} +12 -12
  27. package/dist/chunks/{git-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{git-57tfmtnt.js → kv-2b8t21r7.js} +9 -9
  29. package/dist/chunks/{git-g1wj236p.js → kv-2e0v8dqt.js} +11 -11
  30. package/dist/chunks/{git-8kys6q5k.js → kv-2gsjgsvq.js} +9 -9
  31. package/dist/chunks/{git-0jwsre1p.js → kv-2k8khapm.js} +5 -5
  32. package/dist/chunks/{git-qmqgtz8f.js → kv-2sejkfem.js} +9 -9
  33. package/dist/chunks/{git-28y8jcrp.js → kv-2xht268b.js} +13 -13
  34. package/dist/chunks/{git-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{git-0d38zc5x.js → kv-3gn1dknw.js} +27 -27
  36. package/dist/chunks/{git-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{git-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{git-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{git-4mqfmj50.js → kv-3v8c1w4b.js} +47 -47
  40. package/dist/chunks/{git-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{git-x25mmpq9.js → kv-457yfqc6.js} +32 -32
  42. package/dist/chunks/{git-mgtegeff.js → kv-48gkkds6.js} +30 -30
  43. package/dist/chunks/{git-6fmx122w.js → kv-4bj8jcy7.js} +45 -45
  44. package/dist/chunks/{git-8wbfwab3.js → kv-4hz677r7.js} +5 -5
  45. package/dist/chunks/{git-3sj8yt8v.js → kv-4j4tgtq5.js} +4 -4
  46. package/dist/chunks/{git-f95575pt.js → kv-4m324s0n.js} +21 -21
  47. package/dist/chunks/{git-th9ajxgn.js → kv-4qwntyt1.js} +17 -17
  48. package/dist/chunks/{git-4ts7tf6z.js → kv-4ts7tf6z.js} +2 -2
  49. package/dist/chunks/{git-rxa84y3y.js → kv-4xx8kwb6.js} +5 -5
  50. package/dist/chunks/{git-f92ay7ys.js → kv-53m8p96n.js} +2 -2
  51. package/dist/chunks/{git-54ma36ye.js → kv-54ma36ye.js} +1 -1
  52. package/dist/chunks/{git-56gdpj1q.js → kv-56gdpj1q.js} +2 -2
  53. package/dist/chunks/{git-rtywqqeh.js → kv-574ntss7.js} +48 -48
  54. package/dist/chunks/{git-q8n1maba.js → kv-5ecqt7pj.js} +7 -7
  55. package/dist/chunks/{git-pasgpr7w.js → kv-5fg2c6dr.js} +28 -28
  56. package/dist/chunks/{git-ccqm7fdh.js → kv-5h9wxczm.js} +11 -11
  57. package/dist/chunks/{git-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{git-0h7w1762.js → kv-5p38meqn.js} +11 -11
  59. package/dist/chunks/{git-2n0tmftt.js → kv-5q2fn97h.js} +24 -24
  60. package/dist/chunks/{git-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{git-t6t5zza9.js → kv-6ka0h752.js} +5 -5
  62. package/dist/chunks/{git-9881wf2t.js → kv-6p005ac1.js} +47 -47
  63. package/dist/chunks/{git-veqfhemw.js → kv-6pjkfqz1.js} +6 -6
  64. package/dist/chunks/{git-bfm9jnc4.js → kv-6s020tfb.js} +19 -19
  65. package/dist/chunks/{git-6xb47vfp.js → kv-6xb47vfp.js} +1 -1
  66. package/dist/chunks/{git-71az546q.js → kv-71az546q.js} +2 -2
  67. package/dist/chunks/{git-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{git-a6jsgks7.js → kv-7hnzakx1.js} +35 -35
  69. package/dist/chunks/{git-jztmdpvv.js → kv-7sd1dgnk.js} +32 -32
  70. package/dist/chunks/{git-84txncab.js → kv-84txncab.js} +1 -1
  71. package/dist/chunks/{git-5dwry08k.js → kv-88hxfsjr.js} +23 -23
  72. package/dist/chunks/{git-rn9fzfgr.js → kv-88q2ebn1.js} +27 -27
  73. package/dist/chunks/{git-4rmr8y37.js → kv-8bzaj4y6.js} +19 -19
  74. package/dist/chunks/{git-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
  75. package/dist/chunks/{git-8m6m0r52.js → kv-8m6m0r52.js} +1 -1
  76. package/dist/chunks/{git-pz27sgs1.js → kv-8p4e1768.js} +57 -57
  77. package/dist/chunks/{git-472np96h.js → kv-8x61za70.js} +4 -4
  78. package/dist/chunks/{git-ejaazq2g.js → kv-93jjy7g6.js} +11 -11
  79. package/dist/chunks/{git-tn5xx32x.js → kv-94y1ce4f.js} +18 -18
  80. package/dist/chunks/{git-n31r56j8.js → kv-97e5dsxn.js} +7 -7
  81. package/dist/chunks/{git-2r3cr5cb.js → kv-9810vrw4.js} +11 -11
  82. package/dist/chunks/{git-n3y58kt3.js → kv-98sjfq8w.js} +20 -20
  83. package/dist/chunks/{git-9e5bzkjp.js → kv-9e5bzkjp.js} +3 -3
  84. package/dist/chunks/{git-dz1d0362.js → kv-9s4w6678.js} +22 -22
  85. package/dist/chunks/{git-n45dgdc0.js → kv-a4ej30zk.js} +49 -49
  86. package/dist/chunks/{git-5p7bz5xh.js → kv-a5b72kjc.js} +33 -33
  87. package/dist/chunks/{git-aaet6srn.js → kv-aaet6srn.js} +2 -2
  88. package/dist/chunks/{git-wxrj95wz.js → kv-actz9mky.js} +17 -17
  89. package/dist/chunks/{git-82pkvj7n.js → kv-afsbbk9j.js} +40 -40
  90. package/dist/chunks/{git-ecrxx57p.js → kv-ahjsc8b3.js} +22 -22
  91. package/dist/chunks/{git-8h1kyr3w.js → kv-anjf4pq9.js} +321 -321
  92. package/dist/chunks/{git-s53tfnwn.js → kv-anqyrr7e.js} +48 -48
  93. package/dist/chunks/{git-xeafnbe6.js → kv-ar3b8wje.js} +9 -9
  94. package/dist/chunks/{git-ed2ev5p7.js → kv-as4zy6vm.js} +6 -6
  95. package/dist/chunks/{git-vqje4rkm.js → kv-ayyfe2vv.js} +32 -32
  96. package/dist/chunks/{git-f4qzsran.js → kv-b50f2kde.js} +18 -18
  97. package/dist/chunks/{git-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{git-pzpx8774.js → kv-b867g38b.js} +36 -36
  99. package/dist/chunks/{git-d1gs5a5j.js → kv-bk14xq48.js} +6 -6
  100. package/dist/chunks/{git-1gfgk62c.js → kv-bnmr3cva.js} +8 -8
  101. package/dist/chunks/{git-brmpb9yt.js → kv-bsxr6xw6.js} +27 -27
  102. package/dist/chunks/{git-kaeshj5g.js → kv-bv6dpjj9.js} +25 -25
  103. package/dist/chunks/{git-xntdcqfp.js → kv-bw4hp2nt.js} +16 -16
  104. package/dist/chunks/{git-90yarghs.js → kv-bydbe1tb.js} +25 -25
  105. package/dist/chunks/{git-5aps1zy9.js → kv-bydnjh3t.js} +9 -9
  106. package/dist/chunks/{git-bkpe843v.js → kv-c80dvqx3.js} +3 -3
  107. package/dist/chunks/{git-kcwew1je.js → kv-c9qdm93h.js} +3 -3
  108. package/dist/chunks/{git-6jmsbqrr.js → kv-cc1s16n5.js} +21 -21
  109. package/dist/chunks/{git-et51fp32.js → kv-cc33m1te.js} +16 -16
  110. package/dist/chunks/{git-3p01mmvj.js → kv-cfcvtgjj.js} +24 -24
  111. package/dist/chunks/{git-b4twkq7r.js → kv-cfsekr6v.js} +6 -6
  112. package/dist/chunks/{git-br0tr5aq.js → kv-cmwkp3r5.js} +8 -8
  113. package/dist/chunks/{git-kmtwqyfg.js → kv-czmgsrjp.js} +25 -25
  114. package/dist/chunks/{git-fqb2p7cx.js → kv-d216944b.js} +7 -7
  115. package/dist/chunks/{git-dwq6ryhm.js → kv-d383cjmk.js} +5 -5
  116. package/dist/chunks/{git-ddbjfjsc.js → kv-d9fchvd7.js} +19 -19
  117. package/dist/chunks/{git-z9tda7av.js → kv-dak8nfej.js} +15 -15
  118. package/dist/chunks/{git-gyw7sedy.js → kv-db892a83.js} +18 -18
  119. package/dist/chunks/{git-e9dvv37v.js → kv-df2b2txv.js} +11 -11
  120. package/dist/chunks/{git-t3xq634j.js → kv-dfnf4hnh.js} +16 -16
  121. package/dist/chunks/{git-xkntkrq7.js → kv-dmqcgk4z.js} +5 -5
  122. package/dist/chunks/{git-nxm207yx.js → kv-dpkg50ah.js} +4 -4
  123. package/dist/chunks/{git-g8p0vbj8.js → kv-dq7cta1c.js} +6 -6
  124. package/dist/chunks/{git-rcqna60j.js → kv-dty6m16y.js} +31 -31
  125. package/dist/chunks/{git-v2zvec27.js → kv-dvqt6t9r.js} +8 -8
  126. package/dist/chunks/kv-dxj72tfx.js +18 -0
  127. package/dist/chunks/{git-atacd640.js → kv-dz6tmfs3.js} +55 -55
  128. package/dist/chunks/{git-5w6ne2rj.js → kv-e90xp1j4.js} +11 -11
  129. package/dist/chunks/{git-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{git-6xaf5kjd.js → kv-eh582pmn.js} +5 -5
  131. package/dist/chunks/{git-watzg3w7.js → kv-ep2gjrq7.js} +20 -20
  132. package/dist/chunks/{git-kvy3eq26.js → kv-eqccndzz.js} +32 -32
  133. package/dist/chunks/{git-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{git-kq4vwj2t.js → kv-evn9fjyr.js} +15 -15
  135. package/dist/chunks/{git-zxs6a24a.js → kv-f5gy8qwh.js} +8 -8
  136. package/dist/chunks/{git-6yfhzeyn.js → kv-f6k3fjvq.js} +15 -15
  137. package/dist/chunks/{git-a1c3m0fn.js → kv-f82zxh5r.js} +11 -11
  138. package/dist/chunks/{git-tj6x4h0k.js → kv-fcrnmcwp.js} +4 -4
  139. package/dist/chunks/{git-wbh0epq5.js → kv-ffhfmgbk.js} +24 -24
  140. package/dist/chunks/{git-r8z5hn3t.js → kv-fhga94j3.js} +4 -4
  141. package/dist/chunks/{git-5e1pzs32.js → kv-fmcqyzhx.js} +9 -9
  142. package/dist/chunks/{git-2wrq52sr.js → kv-fvng9505.js} +32 -32
  143. package/dist/chunks/{git-gh5z95q3.js → kv-g31erja1.js} +9 -9
  144. package/dist/chunks/{git-g5w8qwbj.js → kv-g5w8qwbj.js} +1 -1
  145. package/dist/chunks/{git-pc80jw58.js → kv-g7cbhhhp.js} +4 -4
  146. package/dist/chunks/{git-4e6k6dfb.js → kv-gb8qjzsb.js} +15 -15
  147. package/dist/chunks/{git-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
  148. package/dist/chunks/kv-geww8j0h.js +26 -0
  149. package/dist/chunks/{git-kb3dycrr.js → kv-gq4499pe.js} +36 -36
  150. package/dist/chunks/{git-m09mwcgx.js → kv-gs8hzdmj.js} +13 -13
  151. package/dist/chunks/{git-34cxmcg0.js → kv-gzgmd4g2.js} +13 -13
  152. package/dist/chunks/{git-h2b79v29.js → kv-h2b79v29.js} +2 -2
  153. package/dist/chunks/{git-b7b4ctej.js → kv-h4z1mxff.js} +5 -5
  154. package/dist/chunks/{git-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{git-tqzf399c.js → kv-hdx2fg5a.js} +15 -15
  156. package/dist/chunks/{git-sh3a6ya8.js → kv-hmdjj37r.js} +25 -25
  157. package/dist/chunks/{git-wax0z6gf.js → kv-hqewxzsv.js} +13 -13
  158. package/dist/chunks/{git-vtsdwepb.js → kv-hwb2cd6d.js} +8 -8
  159. package/dist/chunks/{git-r10ym7h9.js → kv-hxx7h192.js} +45 -45
  160. package/dist/chunks/{git-ktv3m1r0.js → kv-j0kr7ve5.js} +36 -36
  161. package/dist/chunks/{git-dm3wfn5k.js → kv-j0s3asbe.js} +5 -5
  162. package/dist/chunks/{git-h2my2rg3.js → kv-j1kvtq4g.js} +1 -1
  163. package/dist/chunks/{git-j56e64zr.js → kv-j56e64zr.js} +1 -1
  164. package/dist/chunks/{git-p7a39gy5.js → kv-j5w2yx54.js} +6 -6
  165. package/dist/chunks/{git-drfybefv.js → kv-j61dcfxa.js} +5 -5
  166. package/dist/chunks/{git-mq67z803.js → kv-jf6fwzw7.js} +9 -9
  167. package/dist/chunks/{git-hkc5vpms.js → kv-jkn1artj.js} +18 -18
  168. package/dist/chunks/{git-ncvrjp5d.js → kv-jrakssr7.js} +15 -15
  169. package/dist/chunks/{git-jecez823.js → kv-jwe4n390.js} +22 -22
  170. package/dist/chunks/{git-5qwkxp89.js → kv-k3sn4jay.js} +4 -4
  171. package/dist/chunks/{git-0nvn360z.js → kv-k5n7mtkn.js} +11 -11
  172. package/dist/chunks/{git-xs2jnxkj.js → kv-ka6d0enw.js} +8 -8
  173. package/dist/chunks/{git-x4c7a9hn.js → kv-kc60t1h7.js} +35 -35
  174. package/dist/chunks/{git-vrrxywxv.js → kv-kd6snqvx.js} +32 -32
  175. package/dist/chunks/{git-4cnb2xys.js → kv-kerva2hh.js} +17 -17
  176. package/dist/chunks/{git-10623zx4.js → kv-kg6zc3nd.js} +21 -21
  177. package/dist/chunks/{git-f892jb6s.js → kv-kgxbbynp.js} +10 -10
  178. package/dist/chunks/{git-8awjb79p.js → kv-kpmrtfr0.js} +3 -3
  179. package/dist/chunks/{git-vysh9dgc.js → kv-kstagjq1.js} +13 -13
  180. package/dist/chunks/{git-ppvk6b39.js → kv-m0q3pq57.js} +4 -4
  181. package/dist/chunks/{git-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{git-e34n4qn9.js → kv-m49v3nds.js} +5 -5
  183. package/dist/chunks/{git-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{git-4cg8anvm.js → kv-mb113xka.js} +24 -24
  185. package/dist/chunks/{git-wecqtg5s.js → kv-mha52fg8.js} +5 -5
  186. package/dist/chunks/{git-x8bpv305.js → kv-mhszn66f.js} +11 -11
  187. package/dist/chunks/{git-xdcanj78.js → kv-mj5m566m.js} +21 -21
  188. package/dist/chunks/kv-mvx1ynq4.js +253 -0
  189. package/dist/chunks/{git-148p72g5.js → kv-n5bdarja.js} +24 -24
  190. package/dist/chunks/{git-gqx2rq7f.js → kv-neb52m9y.js} +9 -9
  191. package/dist/chunks/{git-t3e4w3tq.js → kv-nmvft4bx.js} +10 -10
  192. package/dist/chunks/{git-mjymc32g.js → kv-nrdmrqsx.js} +4 -4
  193. package/dist/chunks/{git-r18vxgt1.js → kv-ntg0w9y6.js} +8 -8
  194. package/dist/chunks/{git-ex4azxym.js → kv-p1cpmwyf.js} +19 -19
  195. package/dist/chunks/{git-3txpt5y2.js → kv-pc5y6z3k.js} +47 -47
  196. package/dist/chunks/{git-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{git-pknna89w.js → kv-pknna89w.js} +1 -1
  198. package/dist/chunks/{git-as7cf5zz.js → kv-pkqb68ka.js} +4 -4
  199. package/dist/chunks/{git-d038dv6g.js → kv-pqh8twss.js} +28 -28
  200. package/dist/chunks/{git-3bn7dahb.js → kv-pt3ymptt.js} +3 -3
  201. package/dist/chunks/{git-s4gp803s.js → kv-pw763beg.js} +7 -7
  202. package/dist/chunks/{git-q0xm7vwc.js → kv-q0xm7vwc.js} +2 -2
  203. package/dist/chunks/{git-jyc5rva5.js → kv-q92qsvh7.js} +20 -20
  204. package/dist/chunks/{git-wj76ss2k.js → kv-qbqbaz6q.js} +4 -4
  205. package/dist/chunks/{git-69j91c1q.js → kv-qe26s0zb.js} +8 -8
  206. package/dist/chunks/{git-vmxqwdc7.js → kv-qm5w4ck1.js} +31 -31
  207. package/dist/chunks/{git-fkw9s7y9.js → kv-qn0888tw.js} +12 -12
  208. package/dist/chunks/{git-qnc92qwc.js → kv-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{git-qsdy395h.js → kv-qsdy395h.js} +1 -1
  210. package/dist/chunks/{git-v0xmac3n.js → kv-qv2kdkkf.js} +2 -2
  211. package/dist/chunks/{git-emr6ve0k.js → kv-qvvzy23e.js} +20 -20
  212. package/dist/chunks/{git-1fr8qzyd.js → kv-qvx95482.js} +13 -13
  213. package/dist/chunks/{git-qxjc9qry.js → kv-qxjc9qry.js} +3 -3
  214. package/dist/chunks/{git-vajzw01v.js → kv-r3d2gp7w.js} +17 -17
  215. package/dist/chunks/{git-7yh4e7ss.js → kv-r5x6zcsm.js} +3 -3
  216. package/dist/chunks/{git-p0wnex98.js → kv-r7r6evz9.js} +9 -9
  217. package/dist/chunks/{git-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{git-7pvn9ar0.js → kv-rh7085wj.js} +16 -16
  219. package/dist/chunks/{git-2shrwg0p.js → kv-rprdxe1w.js} +44 -44
  220. package/dist/chunks/{git-k7rgc2fp.js → kv-rqg7ey2p.js} +77 -77
  221. package/dist/chunks/{git-db5vm63h.js → kv-rs3p2sy1.js} +4 -4
  222. package/dist/chunks/{git-bv3r9y5q.js → kv-rskfjht6.js} +92 -92
  223. package/dist/chunks/{git-830fnc2g.js → kv-rv19fb0y.js} +11 -11
  224. package/dist/chunks/{git-03xyy9gs.js → kv-ryd2rdzb.js} +8 -8
  225. package/dist/chunks/{git-sq5fjz5k.js → kv-s7w531zz.js} +5 -5
  226. package/dist/chunks/{git-8x3sg3yv.js → kv-sa36s7k8.js} +41 -41
  227. package/dist/chunks/{git-6ak8scqv.js → kv-sbn6y6e4.js} +34 -34
  228. package/dist/chunks/{git-p5hf1vyv.js → kv-sddrg0qg.js} +38 -38
  229. package/dist/chunks/{git-kvbgpx4j.js → kv-sv62tj1p.js} +24 -24
  230. package/dist/chunks/{git-55pe6j01.js → kv-sv8d62mz.js} +4 -4
  231. package/dist/chunks/{git-kta98k5n.js → kv-t7vhwsk3.js} +32 -32
  232. package/dist/chunks/{git-yqnpmjq6.js → kv-t9vfzymz.js} +38 -38
  233. package/dist/chunks/{git-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{git-jzfaq73r.js → kv-tbdhs184.js} +8 -8
  235. package/dist/chunks/{git-89znhe33.js → kv-tcezcvh9.js} +4 -4
  236. package/dist/chunks/{git-2dx3b0tq.js → kv-tdm3x0qj.js} +23 -23
  237. package/dist/chunks/{git-tdstcens.js → kv-tdstcens.js} +1 -1
  238. package/dist/chunks/{git-r01t9b5y.js → kv-tjkqs24a.js} +6 -6
  239. package/dist/chunks/{git-ddt2bs9e.js → kv-tz4n1mmd.js} +4 -4
  240. package/dist/chunks/{git-fpecnkgp.js → kv-v0es1rhs.js} +9 -9
  241. package/dist/chunks/{git-dwh2kmq1.js → kv-v65kh6x6.js} +13 -13
  242. package/dist/chunks/{git-veqvce7d.js → kv-veqvce7d.js} +1 -1
  243. package/dist/chunks/{git-g5jg60e9.js → kv-vqgwv8rr.js} +11 -11
  244. package/dist/chunks/{git-9kpsa33c.js → kv-vrqmtr6g.js} +29 -29
  245. package/dist/chunks/{git-amkm9g4e.js → kv-vvh4e611.js} +8 -8
  246. package/dist/chunks/{git-vzs5sf6e.js → kv-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{git-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{git-9p810e6v.js → kv-w852j5tj.js} +40 -40
  249. package/dist/chunks/{git-mnhrm2h8.js → kv-wa7c4epq.js} +6 -6
  250. package/dist/chunks/{git-pqnznyp6.js → kv-wby8cgaa.js} +20 -20
  251. package/dist/chunks/{git-mfpttc98.js → kv-wd2863v9.js} +20 -20
  252. package/dist/chunks/{git-5v8s61nm.js → kv-wd3pvakk.js} +22 -22
  253. package/dist/chunks/{git-wd87259q.js → kv-wd87259q.js} +1 -1
  254. package/dist/chunks/{git-wh6zw745.js → kv-wh6zw745.js} +2 -2
  255. package/dist/chunks/{git-nrjza425.js → kv-wjntykwn.js} +22 -22
  256. package/dist/chunks/{git-3gs028xv.js → kv-wjvvj26y.js} +8 -8
  257. package/dist/chunks/{git-hp4h0j0h.js → kv-wsv0jzdv.js} +5 -5
  258. package/dist/chunks/{git-pqyr69kh.js → kv-wt701nev.js} +185 -185
  259. package/dist/chunks/{git-rhjbct0v.js → kv-wv396vej.js} +8 -8
  260. package/dist/chunks/{git-667z5wzd.js → kv-wxneth2m.js} +6 -6
  261. package/dist/chunks/{git-2c4qqt40.js → kv-x9a2mm45.js} +19 -19
  262. package/dist/chunks/{git-7gnynpnq.js → kv-xaprkrff.js} +12 -12
  263. package/dist/chunks/{git-vxz3rty8.js → kv-xjrjv723.js} +7 -7
  264. package/dist/chunks/{git-a2dq8wfv.js → kv-xrp3va4r.js} +88 -88
  265. package/dist/chunks/{git-5w9yjztw.js → kv-xt4njr3s.js} +1 -1
  266. package/dist/chunks/{git-2em0gr1z.js → kv-xy6g9gcn.js} +9 -9
  267. package/dist/chunks/{git-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{git-qnxqf0m0.js → kv-y26tmspt.js} +2 -2
  269. package/dist/chunks/{git-zd543wtv.js → kv-y4pmanjw.js} +18 -18
  270. package/dist/chunks/{git-knevfgda.js → kv-y5rf7nzv.js} +4 -4
  271. package/dist/chunks/{git-q8ejgrh7.js → kv-ycw2k4m5.js} +11 -11
  272. package/dist/chunks/{git-p8jt97qf.js → kv-yczy7d20.js} +24 -24
  273. package/dist/chunks/{git-bx0gyb4h.js → kv-ygdna4kr.js} +5 -5
  274. package/dist/chunks/{git-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{git-p5zfrphm.js → kv-z0mc20ww.js} +24 -24
  276. package/dist/chunks/{git-9tp863pf.js → kv-z0x0rghn.js} +8 -8
  277. package/dist/chunks/{git-jyns8p4a.js → kv-z5ekhhn6.js} +30 -30
  278. package/dist/chunks/{git-74b6gs10.js → kv-z9bdxcxd.js} +11 -11
  279. package/dist/chunks/{git-enz4yr2b.js → kv-zaegb42g.js} +22 -22
  280. package/dist/chunks/{git-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{git-x661k3y3.js → kv-zw2hpfmh.js} +4 -4
  282. package/dist/chunks/{git-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{git-b1hvjmy2.js → kv-zxz1qwjg.js} +13 -13
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +114 -114
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +116 -116
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +113 -113
  310. package/dist/config/plugin/tool-output.js +115 -115
  311. package/dist/config/plugin/websearch.js +115 -115
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +70 -70
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +79 -79
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +3 -3
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +13 -13
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +103 -103
  466. package/dist/mcp/instructions.js +127 -127
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +100 -100
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +82 -82
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +111 -111
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +88 -88
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +74 -74
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +100 -100
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +94 -94
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -341
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +5 -5
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +6 -6
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +101 -101
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +97 -97
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +82 -82
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +162 -162
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +75 -75
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +155 -155
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +216 -216
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +114 -114
  623. package/dist/snapshot.js +91 -91
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +116 -116
  631. package/dist/tool/plugin/grep.js +122 -122
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +208 -208
  638. package/dist/tool/plugin/skill.js +111 -111
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +104 -104
  641. package/dist/tool/plugin/websearch.js +110 -110
  642. package/dist/tool/plugin/write.js +114 -114
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +2 -2
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +93 -93
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +80 -80
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +78 -78
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +8 -8
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +94 -94
  679. package/package.json +8 -8
  680. package/dist/chunks/git-5gzkp3ws.js +0 -26
  681. package/dist/chunks/git-pf31ssb9.js +0 -18
  682. package/dist/chunks/git-vvedr2c9.js +0 -253
  683. /package/dist/chunks/{git-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{git-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{git-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{git-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{git-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{git-24dcb14g.js → kv-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{git-2710q6r3.js → kv-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{git-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{git-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{git-34c7v6d4.js → kv-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{git-359p4xyc.js → kv-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{git-3asan66x.js → kv-3asan66x.js} +0 -0
  695. /package/dist/chunks/{git-3t0ybcrp.js → kv-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{git-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{git-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{git-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{git-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{git-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{git-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{git-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{git-53557ph1.js → kv-53557ph1.js} +0 -0
  704. /package/dist/chunks/{git-550bvhaj.js → kv-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{git-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
  706. /package/dist/chunks/{git-6prwharc.js → kv-6prwharc.js} +0 -0
  707. /package/dist/chunks/{git-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{git-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{git-7m9af43g.js → kv-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{git-822emrt2.js → kv-822emrt2.js} +0 -0
  711. /package/dist/chunks/{git-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{git-8n3pysct.js → kv-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{git-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{git-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{git-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{git-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{git-af5trqkr.js → kv-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{git-afrmfg78.js → kv-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{git-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{git-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{git-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{git-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{git-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{git-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{git-d9fn303g.js → kv-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{git-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{git-dajrwvna.js → kv-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{git-dap0rakb.js → kv-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{git-df08tz66.js → kv-df08tz66.js} +0 -0
  730. /package/dist/chunks/{git-dy18nga0.js → kv-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{git-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{git-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{git-ec1grn59.js → kv-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{git-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{git-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{git-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{git-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{git-faypxj3z.js → kv-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{git-fd410y7t.js → kv-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{git-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{git-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{git-g86h250q.js → kv-g86h250q.js} +0 -0
  743. /package/dist/chunks/{git-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{git-gftt206x.js → kv-gftt206x.js} +0 -0
  745. /package/dist/chunks/{git-hk9envan.js → kv-hk9envan.js} +0 -0
  746. /package/dist/chunks/{git-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{git-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{git-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{git-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{git-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{git-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{git-mp448xyj.js → kv-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{git-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{git-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{git-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{git-njntx4h6.js → kv-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{git-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{git-q74kybfr.js → kv-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{git-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{git-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{git-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{git-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{git-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{git-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{git-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{git-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{git-w803qqfp.js → kv-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{git-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{git-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{git-wtztk69x.js → kv-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{git-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{git-x61499pn.js → kv-x61499pn.js} +0 -0
  773. /package/dist/chunks/{git-y44na4kk.js → kv-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{git-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{git-y8f7s663.js → kv-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{git-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{git-ym463w8f.js → kv-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{git-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{git-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./git-z5v4ffb3.js";
3
+ } from "./kv-z5v4ffb3.js";
4
4
  import {
5
- Info13,
6
- ID5,
5
+ Info6,
6
+ ID3,
7
7
  Name2
8
- } from "./git-rs59bnnz.js";
8
+ } from "./kv-0f20k6pp.js";
9
9
  import {
10
- Service45
11
- } from "./git-n45dgdc0.js";
10
+ Service49
11
+ } from "./kv-a4ej30zk.js";
12
12
  import {
13
13
  __export
14
- } from "./git-9rqn6x4v.js";
14
+ } from "./kv-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill3 = {};
18
18
  __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin45,
21
+ Plugin: () => Plugin41,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill3
24
24
  });
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin45 = define({
428
+ var Plugin41 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info13.make({
434
- id: ID5.make("opencode"),
433
+ editor.add(Info6.make({
434
+ id: ID3.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info13.make({
441
- id: ID5.make("report"),
440
+ editor.add(Info6.make({
441
+ id: ID3.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service45;
469
+ const config = yield* Service49;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin45, exports_skill3 };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin41, exports_skill3 };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./git-xntdcqfp.js";
2
+ Service80,
3
+ node84
4
+ } from "./kv-bw4hp2nt.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./git-84txncab.js";
11
+ } from "./kv-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./git-z5v4ffb3.js";
14
+ } from "./kv-z5v4ffb3.js";
15
15
  import {
16
- Service44,
17
- node46
18
- } from "./git-pqnznyp6.js";
16
+ Service55,
17
+ node59
18
+ } from "./kv-wby8cgaa.js";
19
19
  import {
20
20
  create3
21
- } from "./git-rdw6cm16.js";
21
+ } from "./kv-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./git-9rqn6x4v.js";
24
+ } from "./kv-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event7,
29
+ Event: () => Event9,
30
30
  GitSource: () => GitSource2,
31
31
  Info: () => Info7,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service43,
35
- Source: () => Source3,
36
- node: () => node45
34
+ Service: () => Service46,
35
+ Source: () => Source4,
36
+ node: () => node49
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 Event7 } from "@opencode/schema/reference";
42
+ import { Event as Event9 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
45
+ var Source4 = Reference.Source;
46
46
  var Info7 = Reference.Info;
47
47
 
48
- class Service43 extends Context.Service()("@opencode/Reference") {
48
+ class Service46 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service43, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service83;
53
- const cache = yield* Service44;
52
+ const bus = yield* Service80;
53
+ const cache = yield* Service55;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service43.of({
107
+ return Service46.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(Service43, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node45 = makeLocationNode({
116
- service: Service43,
115
+ var node49 = makeLocationNode({
116
+ service: Service46,
117
117
  layer,
118
- deps: [Global.node, node87, node46]
118
+ deps: [Global.node, node84, node59]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info7, Service43, node45, exports_reference2, Event7 };
121
+ export { LocalSource2, GitSource2, Source4, Info7, Service46, node49, exports_reference2, Event9 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./git-g5jg60e9.js";
2
+ Service81,
3
+ node85
4
+ } from "./kv-vqgwv8rr.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./git-3hepkmqq.js";
7
+ } from "./kv-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./git-9rqn6x4v.js";
10
+ } from "./kv-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service73,
17
- node: () => node76
16
+ Service: () => Service67,
17
+ node: () => node71
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service73 extends Context.Service()("@opencode/KV") {
22
+ class Service67 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service73, Effect.gen(function* () {
25
- const db = (yield* Service84).db;
26
- return Service73.of({
24
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
25
+ const db = (yield* Service81).db;
26
+ return Service67.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node76 = makeGlobalNode({ service: Service73, layer, deps: [node88] });
54
+ var node71 = makeGlobalNode({ service: Service67, layer, deps: [node85] });
55
55
 
56
- export { Service73, node76, exports_kv };
56
+ export { Service67, node71, exports_kv };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./git-gftt206x.js";
3
+ } from "./kv-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./git-m5jcjszt.js";
6
+ } from "./kv-1xb40zjp.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./git-veqfhemw.js";
9
+ } from "./kv-6pjkfqz1.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./git-rhjbct0v.js";
13
+ } from "./kv-wv396vej.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./git-9e5bzkjp.js";
16
+ } from "./kv-9e5bzkjp.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./git-as7cf5zz.js";
20
+ } from "./kv-pkqb68ka.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./git-3sj8yt8v.js";
25
+ } from "./kv-4j4tgtq5.js";
26
26
  import {
27
27
  __export
28
- } from "./git-9rqn6x4v.js";
28
+ } from "./kv-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID18,
3
- Service82
4
- } from "./git-2n0tmftt.js";
2
+ ID15,
3
+ Service75
4
+ } from "./kv-5q2fn97h.js";
5
5
  import {
6
6
  Ref2,
7
- Service74
8
- } from "./git-5p7bz5xh.js";
7
+ Service60
8
+ } from "./kv-a5b72kjc.js";
9
9
  import {
10
10
  latest2,
11
- Service45
12
- } from "./git-n45dgdc0.js";
11
+ Service49
12
+ } from "./kv-a4ej30zk.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./git-m5jcjszt.js";
15
+ } from "./kv-1xb40zjp.js";
16
16
  import {
17
- Service49
18
- } from "./git-t3xq634j.js";
17
+ Service42
18
+ } from "./kv-dfnf4hnh.js";
19
19
  import {
20
20
  evaluate2,
21
- Service64
22
- } from "./git-atacd640.js";
21
+ Service71
22
+ } from "./kv-dz6tmfs3.js";
23
23
  import {
24
- Service17
25
- } from "./git-bv3r9y5q.js";
24
+ Service20
25
+ } from "./kv-rskfjht6.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./git-6xb47vfp.js";
28
+ } from "./kv-6xb47vfp.js";
29
29
  import {
30
- make5
31
- } from "./git-g1wj236p.js";
30
+ make6
31
+ } from "./kv-2e0v8dqt.js";
32
32
  import {
33
33
  __export
34
- } from "./git-9rqn6x4v.js";
34
+ } from "./kv-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input10,
40
- Output: () => Output6,
41
- Plugin: () => Plugin12,
39
+ Input: () => Input8,
40
+ Output: () => Output5,
41
+ Plugin: () => Plugin10,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description4,
44
- name: () => name10
43
+ description: () => description5,
44
+ name: () => name8
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name10 = "subagent";
48
+ var name8 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input10 = Schema.Struct({
59
+ var Input8 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output6 = Schema.Struct({
75
+ var Output5 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description4 = [
80
+ var description5 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description4 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin12 = {
89
+ var Plugin10 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service17;
93
- const jobs = yield* Service49;
94
- const agents = yield* Service82;
95
- const config = yield* Service45;
96
- const permission = yield* Service64;
97
- const models = yield* Service74;
98
- const subagents = yield* make5;
92
+ const sessions = yield* Service20;
93
+ const jobs = yield* Service42;
94
+ const agents = yield* Service75;
95
+ const config = yield* Service49;
96
+ const permission = yield* Service71;
97
+ const models = yield* Service60;
98
+ const subagents = yield* make6;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin12 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name10,
118
+ name: name8,
119
119
  options: { codemode: false },
120
- description: description4,
121
- input: Input10,
122
- output: Output6,
120
+ description: description5,
121
+ input: Input8,
122
+ output: Output5,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin12 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name10,
142
+ action: name8,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin12 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID18.make(input.agent),
171
+ agent: ID15.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name10 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name8 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name10];
233
+ const tool = event.tools[name8];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name10, Input10, Output6, description4, Plugin12, exports_subagent };
256
+ export { name8, Input8, Output5, description5, Plugin10, exports_subagent };
@@ -1,59 +1,59 @@
1
- import {
2
- Service83,
3
- node87
4
- } from "./git-xntdcqfp.js";
5
- import {
6
- Service77,
7
- node81
8
- } from "./git-rn9fzfgr.js";
9
1
  import {
10
2
  Service80,
11
3
  node84
12
- } from "./git-6fmx122w.js";
4
+ } from "./kv-bw4hp2nt.js";
5
+ import {
6
+ Service76,
7
+ node80
8
+ } from "./kv-88q2ebn1.js";
9
+ import {
10
+ Service78,
11
+ node82
12
+ } from "./kv-4bj8jcy7.js";
13
13
  import {
14
14
  Ref4,
15
- Service79,
16
- node83
17
- } from "./git-wf3cm873.js";
15
+ Service74,
16
+ node78
17
+ } from "./kv-00w27fcx.js";
18
18
  import {
19
19
  canonical3
20
- } from "./git-p0wnex98.js";
20
+ } from "./kv-r7r6evz9.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./git-ec1grn59.js";
23
+ } from "./kv-ec1grn59.js";
24
24
  import {
25
- Service64,
26
- node66
27
- } from "./git-atacd640.js";
25
+ Service71,
26
+ node75
27
+ } from "./kv-dz6tmfs3.js";
28
28
  import {
29
- Service62,
30
- node64
31
- } from "./git-f4qzsran.js";
29
+ Service17,
30
+ node20
31
+ } from "./kv-b50f2kde.js";
32
32
  import {
33
33
  __export
34
- } from "./git-9rqn6x4v.js";
34
+ } from "./kv-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: () => Service61,
41
- node: () => node63
40
+ Service: () => Service16,
41
+ node: () => node18
42
42
  });
43
43
  import { Context, 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 Service61 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service16 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service61, Effect.gen(function* () {
51
- const bus = yield* Service83;
52
- const location = yield* Service79;
53
- const permission = yield* Service64;
54
- const forms = yield* Service77;
55
- const rpc = yield* Service62;
56
- const project = yield* Service80;
50
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
51
+ const bus = yield* Service80;
52
+ const location = yield* Service74;
53
+ const permission = yield* Service71;
54
+ const forms = yield* Service76;
55
+ const rpc = yield* Service17;
56
+ const project = yield* Service78;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
75
75
  location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
76
76
  });
77
77
  }).pipe(Effect.uninterruptible));
78
- return Service61.of({
78
+ return Service16.of({
79
79
  isClosed: () => closed,
80
80
  shutdown
81
81
  });
82
82
  }));
83
- var node63 = makeLocationNode({
84
- service: Service61,
83
+ var node18 = makeLocationNode({
84
+ service: Service16,
85
85
  layer,
86
- deps: [node87, node83, node66, node84, node81, node64]
86
+ deps: [node84, node78, node75, node82, node80, node20]
87
87
  });
88
88
 
89
- export { Service61, node63, exports_location_lifecycle };
89
+ export { Service16, node18, exports_location_lifecycle };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./git-x4c7a9hn.js";
2
+ ID7
3
+ } from "./kv-kc60t1h7.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -36,15 +36,15 @@ var AmazonBedrockPlugin2 = define({
36
36
  const sources = paths.map((file) => file.startsWith(Global.Path.home + path.sep) ? `~${file.slice(Global.Path.home.length)}` : file).join(" and ");
37
37
  yield* ctx.integration.transform((editor) => {
38
38
  editor.method.update({
39
- integrationID: ID12.amazonBedrock,
39
+ integrationID: ID7.amazonBedrock,
40
40
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
41
41
  });
42
42
  editor.method.update({
43
- integrationID: ID12.amazonBedrock,
43
+ integrationID: ID7.amazonBedrock,
44
44
  method: { type: "key", label: "Bedrock API key" }
45
45
  });
46
46
  editor.method.update({
47
- integrationID: ID12.amazonBedrock,
47
+ integrationID: ID7.amazonBedrock,
48
48
  method: {
49
49
  id: "aws-profile",
50
50
  type: "external",
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./git-qnxqf0m0.js";
5
+ } from "./kv-y26tmspt.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service38,
10
- node: () => node40
9
+ Service: () => Service36,
10
+ node: () => node38
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service38 extends Context.Service()("@opencode/Instance") {
16
+ class Service36 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node40 = LayerNode.unbound(Service38, Node.tags.values.global);
18
+ var node38 = LayerNode.unbound(Service36, Node.tags.values.global);
19
19
 
20
- export { Service38, node40, exports_service2 };
20
+ export { Service36, node38, exports_service2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID12
3
- } from "./git-x4c7a9hn.js";
2
+ ID7
3
+ } from "./kv-kc60t1h7.js";
4
4
  import {
5
5
  iife2
6
- } from "./git-1kg9ymc8.js";
6
+ } from "./kv-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./git-667z5wzd.js";
9
+ } from "./kv-wxneth2m.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID12.make("cloudflare-workers-ai");
15
+ var providerID = ID7.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {