@opencode/core 0.0.0-dev-20677 → 0.0.0-dev-20678

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/{agent-4kmwdp9k.js → worktree-08em3ee9.js} +28 -28
  8. package/dist/chunks/{agent-bmmeg5sm.js → worktree-0ezpynm7.js} +15 -15
  9. package/dist/chunks/{agent-vykevjvn.js → worktree-0gapa1rm.js} +5 -5
  10. package/dist/chunks/{agent-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{agent-zd30eb5w.js → worktree-0ryd0fps.js} +5 -5
  12. package/dist/chunks/{agent-0vbcp93d.js → worktree-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{agent-z99e7jc7.js → worktree-124pajz9.js} +33 -33
  14. package/dist/chunks/{agent-r9p2yfma.js → worktree-15560esq.js} +8 -8
  15. package/dist/chunks/{agent-61tzzxsr.js → worktree-17m7e5yb.js} +33 -33
  16. package/dist/chunks/{agent-5ymje97q.js → worktree-17we2qek.js} +6 -6
  17. package/dist/chunks/{agent-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{agent-apvampct.js → worktree-1f35zj2n.js} +22 -22
  19. package/dist/chunks/{agent-db62y6bp.js → worktree-1sdf2zn9.js} +27 -27
  20. package/dist/chunks/{agent-03xyy9gs.js → worktree-1tbv6vyw.js} +8 -8
  21. package/dist/chunks/{agent-jmxsfgen.js → worktree-20k90jn5.js} +9 -9
  22. package/dist/chunks/{agent-emb8t02r.js → worktree-20qzy3kz.js} +24 -24
  23. package/dist/chunks/{agent-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{agent-4a0nv7mx.js → worktree-2eegacq4.js} +8 -8
  25. package/dist/chunks/{agent-6waraj69.js → worktree-2gec4brg.js} +30 -30
  26. package/dist/chunks/{agent-mktej9kf.js → worktree-2kn5e7ew.js} +11 -11
  27. package/dist/chunks/{agent-n4r3xatb.js → worktree-2vs2nh1n.js} +4 -4
  28. package/dist/chunks/{agent-xswen0y0.js → worktree-30s1jqhr.js} +5 -5
  29. package/dist/chunks/{agent-3cegwx68.js → worktree-3cegwx68.js} +2 -2
  30. package/dist/chunks/{agent-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{agent-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{agent-xb54y55j.js → worktree-3n65r2sc.js} +60 -60
  33. package/dist/chunks/{agent-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{agent-9nb94ttp.js → worktree-3t7b0x40.js} +26 -26
  35. package/dist/chunks/{agent-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{agent-3tvp0d45.js → worktree-3v3tg56d.js} +17 -17
  37. package/dist/chunks/{agent-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{agent-shqrd0p7.js → worktree-43g4wmcb.js} +5 -5
  39. package/dist/chunks/{agent-c1fbq4kv.js → worktree-4hwsr2c7.js} +36 -36
  40. package/dist/chunks/{agent-m4twzpdx.js → worktree-4jeef9x8.js} +46 -46
  41. package/dist/chunks/{agent-nzq7ck9f.js → worktree-4mwpykj0.js} +6 -6
  42. package/dist/chunks/{agent-4617ttsa.js → worktree-4p3293aj.js} +25 -25
  43. package/dist/chunks/{agent-h7znadvr.js → worktree-4tfbnah3.js} +8 -8
  44. package/dist/chunks/{agent-4ts7tf6z.js → worktree-4ts7tf6z.js} +2 -2
  45. package/dist/chunks/{agent-adt5jcng.js → worktree-4wc52ngv.js} +19 -19
  46. package/dist/chunks/{agent-w39jehkq.js → worktree-4xpgt2w9.js} +5 -5
  47. package/dist/chunks/{agent-mjymc32g.js → worktree-50mzsvk4.js} +4 -4
  48. package/dist/chunks/{agent-54ma36ye.js → worktree-54ma36ye.js} +1 -1
  49. package/dist/chunks/{agent-9pst789e.js → worktree-554ppjqe.js} +9 -9
  50. package/dist/chunks/{agent-d3pa2dt1.js → worktree-55dytp5r.js} +24 -24
  51. package/dist/chunks/{agent-56gdpj1q.js → worktree-56gdpj1q.js} +2 -2
  52. package/dist/chunks/{agent-b6crebg4.js → worktree-59f3e3ff.js} +17 -17
  53. package/dist/chunks/{agent-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  54. package/dist/chunks/{agent-r5ypt5d9.js → worktree-5g5j2e1n.js} +11 -11
  55. package/dist/chunks/{agent-xd0zgs67.js → worktree-5hw3kh65.js} +24 -24
  56. package/dist/chunks/{agent-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{agent-1bv2kaf1.js → worktree-5nn9b30n.js} +20 -20
  58. package/dist/chunks/{agent-hcg5kpq6.js → worktree-5t0megjy.js} +32 -32
  59. package/dist/chunks/{agent-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{agent-x14d6wr9.js → worktree-5xepet72.js} +76 -76
  61. package/dist/chunks/{agent-wyjka35g.js → worktree-5zzwt5g1.js} +31 -31
  62. package/dist/chunks/{agent-d93aaqkk.js → worktree-60ag5qjy.js} +4 -4
  63. package/dist/chunks/{agent-drnf6xwf.js → worktree-63db42yp.js} +2 -2
  64. package/dist/chunks/{agent-pmf7a4gp.js → worktree-6evnp53q.js} +95 -95
  65. package/dist/chunks/{agent-w1vqmw9z.js → worktree-6gde23dc.js} +29 -29
  66. package/dist/chunks/{agent-emcb384r.js → worktree-6gmc3kzw.js} +8 -8
  67. package/dist/chunks/{agent-m1jewsve.js → worktree-6nwqebjc.js} +9 -9
  68. package/dist/chunks/{agent-pxstbhnf.js → worktree-6rd4tpzh.js} +44 -44
  69. package/dist/chunks/{agent-6xb47vfp.js → worktree-6xb47vfp.js} +1 -1
  70. package/dist/chunks/{agent-cvsve72h.js → worktree-6xjbkn91.js} +19 -19
  71. package/dist/chunks/{agent-ky1e5nsp.js → worktree-73c0qt40.js} +9 -9
  72. package/dist/chunks/{agent-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{agent-pm6p0qfa.js → worktree-7c77ewax.js} +28 -28
  74. package/dist/chunks/{agent-ddd3v19d.js → worktree-7csx5nx0.js} +11 -11
  75. package/dist/chunks/{agent-7dqw4kz8.js → worktree-7dqw4kz8.js} +1 -1
  76. package/dist/chunks/{agent-j7dp57tw.js → worktree-7ds11y3c.js} +9 -9
  77. package/dist/chunks/{agent-xw8dfwaj.js → worktree-7gb06545.js} +20 -20
  78. package/dist/chunks/{agent-jnyg353g.js → worktree-7hctjrk6.js} +23 -23
  79. package/dist/chunks/{agent-w5zzhgd0.js → worktree-7qq3ahcc.js} +6 -6
  80. package/dist/chunks/{agent-7yh4e7ss.js → worktree-7yh4e7ss.js} +1 -1
  81. package/dist/chunks/{agent-bhhppv72.js → worktree-8284y6xq.js} +8 -8
  82. package/dist/chunks/{agent-84h8c373.js → worktree-84h8c373.js} +2 -2
  83. package/dist/chunks/{agent-84kwgfzz.js → worktree-87bb084g.js} +24 -24
  84. package/dist/chunks/{agent-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{agent-541dm475.js → worktree-8g79wser.js} +3 -3
  86. package/dist/chunks/{agent-672xc31r.js → worktree-8hq66769.js} +7 -7
  87. package/dist/chunks/{agent-webf11ha.js → worktree-8rg4pjtz.js} +3 -3
  88. package/dist/chunks/{agent-b6mnpgpe.js → worktree-8sfbsvhp.js} +26 -26
  89. package/dist/chunks/{agent-cfsekr6v.js → worktree-8sze2n9a.js} +6 -6
  90. package/dist/chunks/{agent-8v6pyhej.js → worktree-8v6pyhej.js} +1 -1
  91. package/dist/chunks/{agent-6feta9cj.js → worktree-8vz7v9xx.js} +21 -21
  92. package/dist/chunks/{agent-j01xwkjw.js → worktree-8w291pm7.js} +21 -21
  93. package/dist/chunks/{agent-848sxtqq.js → worktree-944zhfh4.js} +14 -14
  94. package/dist/chunks/{agent-37jae8a1.js → worktree-97anc7e4.js} +11 -11
  95. package/dist/chunks/{agent-ftxvqbsg.js → worktree-980jbebj.js} +11 -11
  96. package/dist/chunks/{agent-abmjs3wp.js → worktree-9bbn03rq.js} +26 -26
  97. package/dist/chunks/{agent-299ygcnd.js → worktree-9cwy2jha.js} +22 -22
  98. package/dist/chunks/{agent-pber7d37.js → worktree-9da98haa.js} +11 -11
  99. package/dist/chunks/{agent-rp55dayf.js → worktree-9e73zybw.js} +24 -24
  100. package/dist/chunks/{agent-d3f2prkd.js → worktree-9jn3z3yz.js} +44 -44
  101. package/dist/chunks/{agent-0w51wpsa.js → worktree-a2fssteg.js} +3 -3
  102. package/dist/chunks/{agent-8n5zbqyh.js → worktree-a6bra8ct.js} +7 -7
  103. package/dist/chunks/{agent-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  104. package/dist/chunks/{agent-bxfxz57t.js → worktree-abze2epy.js} +22 -22
  105. package/dist/chunks/{agent-cc8cknna.js → worktree-ah48gt2j.js} +42 -42
  106. package/dist/chunks/{agent-x7rh3hnq.js → worktree-ak05m9d7.js} +23 -23
  107. package/dist/chunks/{agent-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{agent-fd8908de.js → worktree-bb1b8k90.js} +15 -15
  109. package/dist/chunks/worktree-by5v678g.js +18 -0
  110. package/dist/chunks/{agent-0e4zfx6z.js → worktree-c2j3xy4g.js} +8 -8
  111. package/dist/chunks/{agent-g6q9qykm.js → worktree-c765mh8b.js} +9 -9
  112. package/dist/chunks/{agent-5b3yx2mr.js → worktree-cfbwxe1g.js} +1 -1
  113. package/dist/chunks/{agent-fswrwyfk.js → worktree-cftk923j.js} +6 -6
  114. package/dist/chunks/{agent-x2nf5h0k.js → worktree-cjtxsq47.js} +18 -18
  115. package/dist/chunks/{agent-f9kekh7f.js → worktree-cnr2fbcv.js} +11 -11
  116. package/dist/chunks/{agent-44a7phry.js → worktree-cprp9kwr.js} +35 -35
  117. package/dist/chunks/{agent-seefsy74.js → worktree-cyczn8d8.js} +32 -32
  118. package/dist/chunks/{agent-j9pgxxd7.js → worktree-d0fqnv22.js} +17 -17
  119. package/dist/chunks/{agent-xsz0k8gc.js → worktree-d34h28nh.js} +28 -28
  120. package/dist/chunks/{agent-61bbtbmc.js → worktree-d96ycdxj.js} +27 -27
  121. package/dist/chunks/{agent-z0hr7r87.js → worktree-d9zcp3x2.js} +30 -30
  122. package/dist/chunks/{agent-cb89hyx5.js → worktree-da0z8qs1.js} +5 -5
  123. package/dist/chunks/{agent-addxnjmp.js → worktree-db2wf4at.js} +4 -4
  124. package/dist/chunks/{agent-984m73yw.js → worktree-dejvf9w0.js} +18 -18
  125. package/dist/chunks/{agent-nxm207yx.js → worktree-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{agent-760hrz28.js → worktree-dqwk5426.js} +38 -38
  127. package/dist/chunks/{agent-1gpb38yh.js → worktree-e8vwfchq.js} +6 -6
  128. package/dist/chunks/{agent-gjzmqfxe.js → worktree-e9ddm36m.js} +10 -10
  129. package/dist/chunks/{agent-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{agent-wmvjsdxp.js → worktree-emqscpbc.js} +22 -22
  131. package/dist/chunks/{agent-knevfgda.js → worktree-espax8zg.js} +4 -4
  132. package/dist/chunks/{agent-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{agent-hfetwrmg.js → worktree-ex5gm711.js} +22 -22
  134. package/dist/chunks/{agent-ghde90aw.js → worktree-f1fpav69.js} +6 -6
  135. package/dist/chunks/{agent-zsr4wwhv.js → worktree-f29mbr7f.js} +4 -4
  136. package/dist/chunks/{agent-ygz1yfbt.js → worktree-f2mw6jyj.js} +11 -11
  137. package/dist/chunks/{agent-f75zav2x.js → worktree-f75zav2x.js} +2 -2
  138. package/dist/chunks/{agent-9zj3ww2h.js → worktree-fa24ys4h.js} +11 -11
  139. package/dist/chunks/{agent-59c10ypj.js → worktree-fbv57nyx.js} +4 -4
  140. package/dist/chunks/{agent-1gq97tmn.js → worktree-fhr46ct7.js} +182 -182
  141. package/dist/chunks/{agent-hh1fe6b7.js → worktree-fn9txvmy.js} +35 -35
  142. package/dist/chunks/{agent-ftjf86m5.js → worktree-fqcgpcra.js} +9 -9
  143. package/dist/chunks/{agent-wdbnpmn3.js → worktree-ftdt7j28.js} +16 -16
  144. package/dist/chunks/{agent-v3v4sgpm.js → worktree-ftw06dxe.js} +3 -3
  145. package/dist/chunks/{agent-9hrc7yhg.js → worktree-fz1ega6x.js} +11 -11
  146. package/dist/chunks/{agent-gs91af73.js → worktree-g7px2a66.js} +92 -92
  147. package/dist/chunks/{agent-k2025ghf.js → worktree-g8hmyp2d.js} +13 -13
  148. package/dist/chunks/{agent-pjvcp6pt.js → worktree-gbzg285s.js} +34 -34
  149. package/dist/chunks/{agent-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{agent-bx0gyb4h.js → worktree-gj71zhbs.js} +5 -5
  151. package/dist/chunks/{agent-htb94n32.js → worktree-gt84n3fs.js} +14 -14
  152. package/dist/chunks/{agent-qpbc7zwf.js → worktree-gv66gg0x.js} +5 -5
  153. package/dist/chunks/{agent-ptyashkp.js → worktree-gvwrdnb7.js} +3 -3
  154. package/dist/chunks/{agent-3afxxhd7.js → worktree-gwb0ctjv.js} +50 -50
  155. package/dist/chunks/{agent-3tm29b2b.js → worktree-h0mpfvff.js} +327 -327
  156. package/dist/chunks/{agent-96f2n6ah.js → worktree-h4aqnj6c.js} +12 -12
  157. package/dist/chunks/{agent-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{agent-zcps5b4x.js → worktree-hckh89c1.js} +3 -3
  159. package/dist/chunks/{agent-m938ztfj.js → worktree-hf0f0s02.js} +32 -32
  160. package/dist/chunks/{agent-2sradmzs.js → worktree-hnq9bmna.js} +28 -28
  161. package/dist/chunks/{agent-egsf10bm.js → worktree-j203rygf.js} +11 -11
  162. package/dist/chunks/{agent-3ze65hfa.js → worktree-j2c9memp.js} +29 -29
  163. package/dist/chunks/{agent-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  164. package/dist/chunks/{agent-we2jpmnd.js → worktree-j9c73dve.js} +15 -15
  165. package/dist/chunks/{agent-3ewed21c.js → worktree-jewzahs7.js} +4 -4
  166. package/dist/chunks/{agent-sz4assh2.js → worktree-jpzbbj13.js} +5 -5
  167. package/dist/chunks/{agent-fqmwv32j.js → worktree-jqfnw3hv.js} +8 -8
  168. package/dist/chunks/{agent-qagkqpcw.js → worktree-k1qrnqst.js} +8 -8
  169. package/dist/chunks/{agent-sxcgg9pv.js → worktree-k2pcze7v.js} +4 -4
  170. package/dist/chunks/{agent-kb9j3d72.js → worktree-kb9j3d72.js} +3 -3
  171. package/dist/chunks/{agent-cx89qeg3.js → worktree-kc86bjfa.js} +6 -6
  172. package/dist/chunks/{agent-mc5gsmcy.js → worktree-khzvsr9n.js} +16 -16
  173. package/dist/chunks/{agent-mx1sahds.js → worktree-kpy4tq5x.js} +21 -21
  174. package/dist/chunks/{agent-237z5p4t.js → worktree-ksg1aq7r.js} +18 -18
  175. package/dist/chunks/{agent-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{agent-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{agent-myj39cz3.js → worktree-mad84jxc.js} +48 -48
  178. package/dist/chunks/{agent-8j0012y3.js → worktree-mfa4e2dy.js} +29 -29
  179. package/dist/chunks/{agent-x0bgzv0s.js → worktree-mfg7hkjp.js} +1 -1
  180. package/dist/chunks/{agent-e2erybrn.js → worktree-mp95dmdx.js} +11 -11
  181. package/dist/chunks/{agent-9zrkfg92.js → worktree-mvfv6g31.js} +37 -37
  182. package/dist/chunks/{agent-4c701q23.js → worktree-mvmnyn7n.js} +35 -35
  183. package/dist/chunks/{agent-y57vdypc.js → worktree-n143kkat.js} +45 -45
  184. package/dist/chunks/{agent-33ds9rj3.js → worktree-n30jecw5.js} +11 -11
  185. package/dist/chunks/{agent-md2j7y0e.js → worktree-nps7pa21.js} +20 -20
  186. package/dist/chunks/{agent-tzhfy6rd.js → worktree-ns15zm60.js} +6 -6
  187. package/dist/chunks/{agent-xgemm4h5.js → worktree-pdf4nf1w.js} +11 -11
  188. package/dist/chunks/{agent-bf9mzw80.js → worktree-pft5j206.js} +2 -2
  189. package/dist/chunks/{agent-84tzk9gr.js → worktree-pgvafq4z.js} +22 -22
  190. package/dist/chunks/{agent-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{agent-pknna89w.js → worktree-pknna89w.js} +1 -1
  192. package/dist/chunks/{agent-f0wnr75e.js → worktree-pt9pzmkj.js} +29 -29
  193. package/dist/chunks/{agent-q0xm7vwc.js → worktree-q0xm7vwc.js} +2 -2
  194. package/dist/chunks/{agent-ej7nfns1.js → worktree-q1d18pxx.js} +20 -20
  195. package/dist/chunks/{agent-vbh50phm.js → worktree-q58mka6k.js} +9 -9
  196. package/dist/chunks/{agent-he27pt63.js → worktree-q5e7cmwt.js} +1 -1
  197. package/dist/chunks/{agent-3xdvdhsm.js → worktree-qcxtzrkv.js} +16 -16
  198. package/dist/chunks/{agent-bmr4b0kb.js → worktree-qhbw5a4b.js} +9 -9
  199. package/dist/chunks/{agent-9k8khh75.js → worktree-qkn6xzgz.js} +10 -10
  200. package/dist/chunks/{agent-a4rged5n.js → worktree-qm27jccq.js} +13 -13
  201. package/dist/chunks/{agent-qnc92qwc.js → worktree-qnc92qwc.js} +1 -1
  202. package/dist/chunks/{agent-ynpe6tcd.js → worktree-qqrjxc2w.js} +12 -12
  203. package/dist/chunks/{agent-eyq9c17f.js → worktree-qr3e8w20.js} +15 -15
  204. package/dist/chunks/{agent-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  205. package/dist/chunks/{agent-jqyc2fxa.js → worktree-qtjwvqnb.js} +4 -4
  206. package/dist/chunks/{agent-gdyt3gj6.js → worktree-qvzmz2hd.js} +11 -11
  207. package/dist/chunks/{agent-qxjc9qry.js → worktree-qxjc9qry.js} +3 -3
  208. package/dist/chunks/{agent-5n1rr6qj.js → worktree-r2t9nb79.js} +12 -12
  209. package/dist/chunks/{agent-phrn0hnn.js → worktree-rb0yz7b3.js} +47 -47
  210. package/dist/chunks/{agent-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{agent-dkkan8mq.js → worktree-rk26t4bh.js} +17 -17
  212. package/dist/chunks/{agent-3xx70s67.js → worktree-rtbx6p6s.js} +15 -15
  213. package/dist/chunks/{agent-mt48d8bc.js → worktree-ryvhqdqz.js} +33 -33
  214. package/dist/chunks/worktree-s29k18d1.js +26 -0
  215. package/dist/chunks/{agent-5xzzfr73.js → worktree-s3sb1ad7.js} +22 -22
  216. package/dist/chunks/{agent-vx4kd0j3.js → worktree-sj5387ee.js} +15 -15
  217. package/dist/chunks/{agent-rx9ava5n.js → worktree-sqvzcy4n.js} +4 -4
  218. package/dist/chunks/{agent-8a6ws7jr.js → worktree-srq8z0b0.js} +9 -9
  219. package/dist/chunks/{agent-my4zabxr.js → worktree-ss358qx3.js} +3 -3
  220. package/dist/chunks/{agent-26mk346k.js → worktree-t3mstrkb.js} +25 -25
  221. package/dist/chunks/{agent-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  222. package/dist/chunks/{agent-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  223. package/dist/chunks/{agent-tdstcens.js → worktree-tdstcens.js} +1 -1
  224. package/dist/chunks/{agent-8dpqntaq.js → worktree-tnf1wecr.js} +27 -27
  225. package/dist/chunks/{agent-afjydgk3.js → worktree-tx92n959.js} +4 -4
  226. package/dist/chunks/{agent-6hk2686f.js → worktree-tznhj0ze.js} +46 -46
  227. package/dist/chunks/{agent-v0es1rhs.js → worktree-v0es1rhs.js} +2 -2
  228. package/dist/chunks/{agent-tkmwgdpd.js → worktree-v5dkyp31.js} +5 -5
  229. package/dist/chunks/{agent-35q2em60.js → worktree-v60n4k93.js} +25 -25
  230. package/dist/chunks/{agent-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  231. package/dist/chunks/{agent-d28w4k3h.js → worktree-vf88kmda.js} +17 -17
  232. package/dist/chunks/{agent-1a721rxg.js → worktree-vgp7e6pk.js} +5 -5
  233. package/dist/chunks/{agent-6rcj2hr5.js → worktree-vgwdt6gq.js} +28 -28
  234. package/dist/chunks/{agent-212y0zje.js → worktree-vhxw02v1.js} +10 -10
  235. package/dist/chunks/{agent-ckt1a3xt.js → worktree-vj5pc5q1.js} +12 -12
  236. package/dist/chunks/{agent-4mp2bwzd.js → worktree-vn3s1ht6.js} +13 -13
  237. package/dist/chunks/{agent-nw12y3df.js → worktree-vrm0t447.js} +11 -11
  238. package/dist/chunks/{agent-682b4fx6.js → worktree-vtmyt3zh.js} +11 -11
  239. package/dist/chunks/{agent-64jy87jm.js → worktree-vy6tct52.js} +54 -54
  240. package/dist/chunks/{agent-v6mpbx6v.js → worktree-vyfh7cqh.js} +37 -37
  241. package/dist/chunks/{agent-27rataxe.js → worktree-vzhe4zg6.js} +15 -15
  242. package/dist/chunks/{agent-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{agent-84txncab.js → worktree-w1eejvng.js} +5 -5
  244. package/dist/chunks/{agent-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{agent-7j2qha59.js → worktree-w49382pb.js} +8 -8
  246. package/dist/chunks/{agent-rzem9bwq.js → worktree-w95j1aag.js} +5 -5
  247. package/dist/chunks/{agent-vasdvhx2.js → worktree-w9778aye.js} +8 -8
  248. package/dist/chunks/{agent-wd87259q.js → worktree-wd87259q.js} +1 -1
  249. package/dist/chunks/{agent-md04j19x.js → worktree-we3yb86z.js} +1 -1
  250. package/dist/chunks/{agent-r8jtv4kk.js → worktree-wn0425kx.js} +5 -5
  251. package/dist/chunks/{agent-s8d7rejh.js → worktree-wv396vej.js} +8 -8
  252. package/dist/chunks/{agent-508esqyf.js → worktree-x73za9sf.js} +35 -35
  253. package/dist/chunks/{agent-qhbttv6z.js → worktree-x90t23kx.js} +24 -24
  254. package/dist/chunks/{agent-btdzdyts.js → worktree-x995py8c.js} +10 -10
  255. package/dist/chunks/{agent-z20ctxjw.js → worktree-xcbn40rf.js} +12 -12
  256. package/dist/chunks/{agent-8dcer5qr.js → worktree-xfaszaq1.js} +13 -13
  257. package/dist/chunks/{agent-g5w8qwbj.js → worktree-xfkkasph.js} +4 -4
  258. package/dist/chunks/{agent-fvbmtwra.js → worktree-xh3pt0hh.js} +13 -13
  259. package/dist/chunks/{agent-zdamgzkx.js → worktree-xk6gwbtw.js} +5 -5
  260. package/dist/chunks/{agent-xkntkrq7.js → worktree-xkntkrq7.js} +2 -2
  261. package/dist/chunks/{agent-ysr5vm6y.js → worktree-xqrtg09m.js} +15 -15
  262. package/dist/chunks/{agent-asw8c91m.js → worktree-y127w3hy.js} +4 -4
  263. package/dist/chunks/{agent-64vpcbr9.js → worktree-y1dpn6q8.js} +5 -5
  264. package/dist/chunks/{agent-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/worktree-y8fy98eq.js +253 -0
  266. package/dist/chunks/{agent-v0yfz79w.js → worktree-yd1hyy78.js} +9 -9
  267. package/dist/chunks/{agent-rgvftgaz.js → worktree-ye7asgrj.js} +33 -33
  268. package/dist/chunks/{agent-cdhr69tv.js → worktree-yertzaey.js} +11 -11
  269. package/dist/chunks/{agent-r8xr0va3.js → worktree-yp2x3t23.js} +4 -4
  270. package/dist/chunks/{agent-angdxrpd.js → worktree-ype5ssfh.js} +16 -16
  271. package/dist/chunks/{agent-7bvtnfyz.js → worktree-yv32pxkv.js} +20 -20
  272. package/dist/chunks/{agent-xc7fr0n8.js → worktree-ywvdrxjw.js} +33 -33
  273. package/dist/chunks/{agent-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{agent-j422692e.js → worktree-z3zxqg9g.js} +7 -7
  275. package/dist/chunks/{agent-3dx6e5mz.js → worktree-z736p80b.js} +25 -25
  276. package/dist/chunks/{agent-vnb5qef4.js → worktree-zd8n3m20.js} +1 -1
  277. package/dist/chunks/{agent-95dtjqf2.js → worktree-zdz72ay5.js} +4 -4
  278. package/dist/chunks/{agent-8kzy5fr5.js → worktree-zgwqe4kw.js} +11 -11
  279. package/dist/chunks/{agent-cz4pebbb.js → worktree-zm5574p5.js} +58 -58
  280. package/dist/chunks/{agent-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{agent-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{agent-wecqtg5s.js → worktree-zyk1yjk8.js} +5 -5
  283. package/dist/chunks/{agent-m8n59xp2.js → worktree-zyp8ka10.js} +8 -8
  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 +82 -82
  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 +116 -116
  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 +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  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 +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  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 +119 -119
  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 +360 -360
  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 +1 -1
  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 +2 -2
  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 +91 -91
  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 +81 -81
  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 +133 -133
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +84 -84
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +129 -129
  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 +91 -91
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +102 -102
  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 +113 -113
  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 +1 -1
  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 +102 -102
  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 +93 -93
  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 +114 -114
  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 +114 -114
  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 +70 -70
  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 +8 -8
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +84 -84
  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 +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +91 -91
  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 +133 -133
  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 +90 -90
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  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 +3 -3
  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 +164 -164
  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 +3 -3
  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 +15 -15
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +112 -112
  623. package/dist/snapshot.js +89 -89
  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 +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  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 +120 -120
  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 +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +108 -108
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +120 -120
  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 +12 -12
  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 +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  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 +1 -1
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  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 +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/agent-f81tjggh.js +0 -18
  681. package/dist/chunks/agent-v8hbtvfc.js +0 -26
  682. package/dist/chunks/agent-vden9jcp.js +0 -253
  683. /package/dist/chunks/{agent-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{agent-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{agent-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{agent-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{agent-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{agent-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{agent-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{agent-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{agent-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{agent-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{agent-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{agent-3asan66x.js → worktree-3asan66x.js} +0 -0
  695. /package/dist/chunks/{agent-3t0ybcrp.js → worktree-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{agent-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{agent-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{agent-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{agent-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{agent-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{agent-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{agent-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{agent-53557ph1.js → worktree-53557ph1.js} +0 -0
  704. /package/dist/chunks/{agent-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{agent-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
  706. /package/dist/chunks/{agent-6prwharc.js → worktree-6prwharc.js} +0 -0
  707. /package/dist/chunks/{agent-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{agent-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{agent-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{agent-822emrt2.js → worktree-822emrt2.js} +0 -0
  711. /package/dist/chunks/{agent-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{agent-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{agent-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{agent-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{agent-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{agent-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{agent-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{agent-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{agent-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{agent-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{agent-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{agent-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{agent-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{agent-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{agent-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{agent-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{agent-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{agent-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{agent-df08tz66.js → worktree-df08tz66.js} +0 -0
  730. /package/dist/chunks/{agent-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{agent-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{agent-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{agent-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{agent-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{agent-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{agent-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{agent-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{agent-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{agent-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{agent-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{agent-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{agent-g86h250q.js → worktree-g86h250q.js} +0 -0
  743. /package/dist/chunks/{agent-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{agent-gftt206x.js → worktree-gftt206x.js} +0 -0
  745. /package/dist/chunks/{agent-hk9envan.js → worktree-hk9envan.js} +0 -0
  746. /package/dist/chunks/{agent-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{agent-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{agent-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{agent-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{agent-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{agent-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{agent-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{agent-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{agent-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{agent-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{agent-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{agent-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{agent-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{agent-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{agent-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{agent-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{agent-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{agent-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{agent-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{agent-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{agent-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{agent-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{agent-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{agent-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{agent-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{agent-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{agent-x61499pn.js → worktree-x61499pn.js} +0 -0
  773. /package/dist/chunks/{agent-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{agent-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{agent-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{agent-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{agent-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{agent-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{agent-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./agent-x0bgzv0s.js";
5
+ } from "./worktree-mfg7hkjp.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make23,
9
+ make24,
10
10
  makeWithDefaults2
11
- } from "./agent-cx89qeg3.js";
11
+ } from "./worktree-kc86bjfa.js";
12
12
  import {
13
13
  __export
14
- } from "./agent-9rqn6x4v.js";
14
+ } from "./worktree-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make23,
25
+ make: () => make24,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,65 +1,65 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./agent-e2erybrn.js";
2
+ Service84,
3
+ node88
4
+ } from "./worktree-mp95dmdx.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./agent-mc5gsmcy.js";
6
+ Service80,
7
+ node84
8
+ } from "./worktree-khzvsr9n.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./agent-pknna89w.js";
11
+ } from "./worktree-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./agent-3zsf4n22.js";
14
+ } from "./worktree-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./agent-9rqn6x4v.js";
17
+ } from "./worktree-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
23
+ Event: () => Event17,
24
24
  External: () => External2,
25
- ID: () => ID15,
26
- Info: () => Info25,
27
- Key: () => Key4,
25
+ ID: () => ID11,
26
+ Info: () => Info21,
27
+ Key: () => Key3,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service77,
29
+ Service: () => Service70,
30
30
  Value: () => Value2,
31
- node: () => node81
31
+ node: () => node74
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
35
35
  import { Credential } from "@opencode/schema/credential";
36
36
  import { Integration } from "@opencode/schema/integration";
37
37
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
38
- var ID15 = Credential.ID;
38
+ var ID11 = Credential.ID;
39
39
  var OAuth3 = Credential.OAuth;
40
- var Key4 = Credential.Key;
40
+ var Key3 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
- var Event19 = Credential.Event;
43
+ var Event17 = Credential.Event;
44
44
 
45
- class Info25 extends Schema.Class("Credential.Info")({
46
- id: ID15,
45
+ class Info21 extends Schema.Class("Credential.Info")({
46
+ id: ID11,
47
47
  integrationID: Integration.ID,
48
48
  label: Schema.String,
49
49
  value: Value2
50
50
  }) {
51
51
  }
52
52
 
53
- class Service77 extends Context.Service()("@opencode/Credential") {
53
+ class Service70 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
- var layer = Layer.effect(Service77, Effect.gen(function* () {
56
- const db = (yield* Service83).db;
57
- const bus = yield* Service81;
55
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
56
+ const db = (yield* Service84).db;
57
+ const bus = yield* Service80;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
61
61
  return;
62
- return new Info25({
62
+ return new Info21({
63
63
  id: row.id,
64
64
  integrationID: row.integration_id,
65
65
  label: row.label,
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
70
70
  const credential = stored(row);
71
71
  return credential ? [credential] : [];
72
72
  });
73
- return Service77.of({
73
+ return Service70.of({
74
74
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
75
75
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  get: Effect.fn("Credential.get")(function* (id) {
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
78
78
  return row ? stored(row) : undefined;
79
79
  }),
80
80
  create: Effect.fn("Credential.create")(function* (input) {
81
- const credential = new Info25({
82
- id: input.id ?? ID15.create(),
81
+ const credential = new Info21({
82
+ id: input.id ?? ID11.create(),
83
83
  integrationID: input.integrationID,
84
84
  label: input.label ?? "default",
85
85
  value: input.value
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
110
110
  type: credential.value.type,
111
111
  active: activated
112
112
  });
113
- yield* bus.publish(Event19.Updated, {}, { global: true });
113
+ yield* bus.publish(Event17.Updated, {}, { global: true });
114
114
  if (activated)
115
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
115
+ yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
116
  return credential;
117
117
  }),
118
118
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
132
132
  })), Effect.orDie);
133
133
  if (integrationID) {
134
134
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
135
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
135
+ yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
136
136
  }
137
137
  }),
138
138
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
164
164
  labelChanged: updates.label !== undefined && updates.label !== credential.label
165
165
  });
166
166
  if (updates.label !== undefined && updates.label !== credential.label)
167
- yield* bus.publish(Event19.Updated, {}, { global: true });
167
+ yield* bus.publish(Event17.Updated, {}, { global: true });
168
168
  }),
169
169
  remove: Effect.fn("Credential.remove")(function* (id) {
170
170
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
197
197
  active: removed.switched,
198
198
  ...removed.switched ? { replacementID: removed.credentialID } : {}
199
199
  });
200
- yield* bus.publish(Event19.Updated, {}, { global: true });
200
+ yield* bus.publish(Event17.Updated, {}, { global: true });
201
201
  if (removed.switched)
202
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
202
+ yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
203
  })
204
204
  });
205
205
  }));
206
- var node81 = makeGlobalNode({ service: Service77, layer, deps: [node87, node85] });
206
+ var node74 = makeGlobalNode({ service: Service70, layer, deps: [node88, node84] });
207
207
 
208
- export { ID15, OAuth3, Key4, External2, Value2, Event19, Info25, Service77, node81, exports_credential };
208
+ export { ID11, OAuth3, Key3, External2, Value2, Event17, Info21, Service70, node74, exports_credential };
@@ -1,82 +1,82 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./agent-e2erybrn.js";
2
+ Service84,
3
+ node88
4
+ } from "./worktree-mp95dmdx.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./agent-mc5gsmcy.js";
6
+ Service80,
7
+ node84
8
+ } from "./worktree-khzvsr9n.js";
9
9
  import {
10
10
  create3
11
- } from "./agent-rdw6cm16.js";
11
+ } from "./worktree-rdw6cm16.js";
12
12
  import {
13
- ID11,
14
- Service71,
15
- node74
16
- } from "./agent-rp55dayf.js";
13
+ ID15,
14
+ Service76,
15
+ node80
16
+ } from "./worktree-9e73zybw.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./agent-5t3nmthw.js";
19
+ } from "./worktree-5t3nmthw.js";
20
20
  import {
21
- Service74,
22
- node78
23
- } from "./agent-hh1fe6b7.js";
21
+ Service67,
22
+ node71
23
+ } from "./worktree-fn9txvmy.js";
24
24
  import {
25
25
  estimate2
26
- } from "./agent-h6vf3j39.js";
26
+ } from "./worktree-h6vf3j39.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./agent-ec1grn59.js";
29
+ } from "./worktree-ec1grn59.js";
30
30
  import {
31
31
  provenance2,
32
32
  compatible2,
33
33
  isCheckpoint2,
34
34
  encode2
35
- } from "./agent-zsr4wwhv.js";
35
+ } from "./worktree-f29mbr7f.js";
36
36
  import {
37
37
  load5
38
- } from "./agent-h7znadvr.js";
38
+ } from "./worktree-4tfbnah3.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./agent-he27pt63.js";
41
+ } from "./worktree-q5e7cmwt.js";
42
42
  import {
43
43
  baseTranscript2,
44
44
  unsupportedParts2,
45
45
  boundImages2,
46
- Service33,
47
- node37
48
- } from "./agent-wyjka35g.js";
46
+ Service30,
47
+ node34
48
+ } from "./worktree-5zzwt5g1.js";
49
49
  import {
50
- Service61,
51
- node64
52
- } from "./agent-fvbmtwra.js";
50
+ Service42,
51
+ node44
52
+ } from "./worktree-xh3pt0hh.js";
53
53
  import {
54
54
  isRetryable2,
55
55
  policy2
56
- } from "./agent-wecqtg5s.js";
56
+ } from "./worktree-zyk1yjk8.js";
57
57
  import {
58
58
  toSessionError2,
59
59
  contentFilterError2
60
- } from "./agent-r8jtv4kk.js";
60
+ } from "./worktree-wn0425kx.js";
61
61
  import {
62
62
  calculateCost2,
63
63
  record2,
64
64
  add2
65
- } from "./agent-tdstcens.js";
65
+ } from "./worktree-tdstcens.js";
66
66
  import {
67
67
  __export
68
- } from "./agent-9rqn6x4v.js";
68
+ } from "./worktree-9rqn6x4v.js";
69
69
 
70
70
  // src/session/compaction.ts
71
71
  var exports_compaction2 = {};
72
72
  __export(exports_compaction2, {
73
- Service: () => Service7,
73
+ Service: () => Service8,
74
74
  SessionCompaction: () => exports_compaction2,
75
75
  buildPrompt: () => buildPrompt2,
76
76
  estimateContext: () => estimateContext2,
77
77
  estimatePrompt: () => estimatePrompt2,
78
78
  layer: () => layer6,
79
- node: () => node9,
79
+ node: () => node10,
80
80
  recentUserMessages: () => recentUserMessages2
81
81
  });
82
82
  import {
@@ -92,7 +92,7 @@ import {
92
92
  } from "@opencode/ai";
93
93
  import { makeLocationNode } from "@opencode/util/effect/app-node";
94
94
  import { Context, Effect, Layer, Result, Stream } from "effect";
95
- class Service7 extends Context.Service()("@opencode/SessionCompaction") {
95
+ class Service8 extends Context.Service()("@opencode/SessionCompaction") {
96
96
  }
97
97
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
98
98
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
171
171
  };
172
172
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
173
173
  var LEGACY_HEADING = "## Additional Context";
174
- var layer6 = Layer.effect(Service7, Effect.gen(function* () {
175
- const agents = yield* Service71;
176
- const bus = yield* Service81;
174
+ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
175
+ const agents = yield* Service76;
176
+ const bus = yield* Service80;
177
177
  const llm = yield* LLMClient.Service;
178
- const catalog = yield* Service74;
179
- const models = yield* Service61;
180
- const db = (yield* Service83).db;
181
- const requests = yield* Service33;
178
+ const catalog = yield* Service67;
179
+ const models = yield* Service42;
180
+ const db = (yield* Service84).db;
181
+ const requests = yield* Service30;
182
182
  const state = create3({
183
183
  name: "session-compaction",
184
184
  initial: () => ({ auto: true, keep: 15000 }),
@@ -196,7 +196,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
196
196
  if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
197
197
  return { status: "skipped" };
198
198
  const native = context.model.compaction?.type === "native";
199
- const agent = native ? undefined : yield* agents.get(ID11.make("compaction"));
199
+ const agent = native ? undefined : yield* agents.get(ID15.make("compaction"));
200
200
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
201
201
  return;
202
202
  })))) ?? context.model;
@@ -472,16 +472,16 @@ ${text}`;
472
472
  }, { metadata: outcome.metadata });
473
473
  return { status: "completed" };
474
474
  });
475
- return Service7.of({
475
+ return Service8.of({
476
476
  transform: state.transform,
477
477
  reload: state.reload,
478
478
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
479
479
  });
480
480
  }));
481
- var node9 = makeLocationNode({
482
- service: Service7,
481
+ var node10 = makeLocationNode({
482
+ service: Service8,
483
483
  layer: layer6,
484
- deps: [node74, node85, node87, llmClient2, node78, node37, node64]
484
+ deps: [node80, node84, node88, llmClient2, node71, node34, node44]
485
485
  });
486
486
  var previousCompaction = (messages) => {
487
487
  const [first] = messages;
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
686
686
  return 0;
687
687
  };
688
688
 
689
- export { Service7, buildPrompt2, layer6, node9, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
689
+ export { Service8, buildPrompt2, layer6, node10, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./worktree-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: () => Service62,
10
- node: () => node65
9
+ Service: () => Service43,
10
+ node: () => node45
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 Service62 extends Context.Service()("@opencode/Instance") {
16
+ class Service43 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node65 = LayerNode.unbound(Service62, Node.tags.values.global);
18
+ var node45 = LayerNode.unbound(Service43, Node.tags.values.global);
19
19
 
20
- export { Service62, node65, exports_service2 };
20
+ export { Service43, node45, exports_service2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make21,
4
+ make22,
5
5
  diffByKey2
6
- } from "./agent-s8d7rejh.js";
6
+ } from "./worktree-wv396vej.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./agent-cz4pebbb.js";
9
+ } from "./worktree-zm5574p5.js";
10
10
  import {
11
- Service38,
12
- node42
13
- } from "./agent-64jy87jm.js";
11
+ Service33,
12
+ node37
13
+ } from "./worktree-vy6tct52.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./agent-seefsy74.js";
16
+ name13
17
+ } from "./worktree-cyczn8d8.js";
18
18
  import {
19
19
  __export
20
- } from "./agent-9rqn6x4v.js";
20
+ } from "./worktree-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions2 = {};
24
- __export(exports_instructions2, {
25
- McpInstructions: () => exports_instructions2,
26
- Service: () => Service32,
27
- layer: () => layer12,
28
- node: () => node36
23
+ var exports_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
+ Service: () => Service28,
27
+ layer: () => layer9,
28
+ node: () => node32
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,14 +61,14 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service32 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service28 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer12 = Layer.effect(Service32, Effect.gen(function* () {
67
- const mcp = yield* Service38;
68
- return Service32.of({
66
+ var layer9 = Layer.effect(Service28, Effect.gen(function* () {
67
+ const mcp = yield* Service33;
68
+ return Service28.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make21({
71
- key: Key3.make("core/mcp-guidance"),
70
+ const source = (value) => make22({
71
+ key: Key4.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
74
74
  render: {
@@ -86,7 +86,7 @@ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
86
86
  const codemode = owned[0]?.codemode !== false;
87
87
  if (codemode && !canExecute)
88
88
  return [];
89
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
89
+ if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
90
90
  return [];
91
91
  return [
92
92
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -96,6 +96,6 @@ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node36 = makeLocationNode({ service: Service32, layer: layer12, deps: [node42] });
99
+ var node32 = makeLocationNode({ service: Service28, layer: layer9, deps: [node37] });
100
100
 
101
- export { Service32, layer12, node36, exports_instructions2 };
101
+ export { Service28, layer9, node32, exports_instructions4 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./agent-gftt206x.js";
3
+ } from "./worktree-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./agent-my4zabxr.js";
6
+ } from "./worktree-ss358qx3.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./agent-1gpb38yh.js";
9
+ } from "./worktree-e8vwfchq.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./agent-s8d7rejh.js";
13
+ } from "./worktree-wv396vej.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./agent-kb9j3d72.js";
16
+ } from "./worktree-kb9j3d72.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./agent-rx9ava5n.js";
20
+ } from "./worktree-sqvzcy4n.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./agent-zsr4wwhv.js";
25
+ } from "./worktree-f29mbr7f.js";
26
26
  import {
27
27
  __export
28
- } from "./agent-9rqn6x4v.js";
28
+ } from "./worktree-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./agent-q0xm7vwc.js";
3
+ } from "./worktree-q0xm7vwc.js";
4
4
  import {
5
5
  __export
6
- } from "./agent-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./agent-mktej9kf.js";
3
+ } from "./worktree-2kn5e7ew.js";
4
4
  import {
5
- Service81
6
- } from "./agent-mc5gsmcy.js";
5
+ Service80
6
+ } from "./worktree-khzvsr9n.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19,
10
- Service77
11
- } from "./agent-c1fbq4kv.js";
9
+ Event17,
10
+ Service70
11
+ } from "./worktree-4hwsr2c7.js";
12
12
  import {
13
- ID14,
13
+ ID10,
14
14
  MethodID2,
15
- Service76
16
- } from "./agent-rgvftgaz.js";
15
+ Service69
16
+ } from "./worktree-ye7asgrj.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./agent-pjvnvgmy.js";
20
+ } from "./worktree-pjvnvgmy.js";
21
21
  import {
22
- ID13
23
- } from "./agent-44a7phry.js";
22
+ ID9
23
+ } from "./worktree-cprp9kwr.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./agent-fswrwyfk.js";
26
+ } from "./worktree-cftk923j.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID13.make("snowflake-cortex");
34
- var integrationID = ID14.make(providerID);
33
+ var providerID = ID9.make("snowflake-cortex");
34
+ var integrationID = ID10.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service77;
57
- const integrations = yield* Service76;
58
- const bus = yield* Service81;
56
+ const credentials = yield* Service70;
57
+ const integrations = yield* Service69;
58
+ const bus = yield* Service80;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./agent-z5v4ffb3.js";
3
+ } from "./worktree-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./agent-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info9,
12
+ Info: () => Info13,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info9 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info9, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };