@opencode/core 0.0.0-dev-19937 → 0.0.0-dev-19959

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{persistent-pty-9tx45s8b.js → worktree-00npq5hg.js} +42 -42
  8. package/dist/chunks/{persistent-pty-0zkrmmra.js → worktree-03513dpk.js} +15 -15
  9. package/dist/chunks/{persistent-pty-6zthmp17.js → worktree-0ahhqjdx.js} +22 -22
  10. package/dist/chunks/{persistent-pty-sqdxss6w.js → worktree-0edr8emb.js} +11 -11
  11. package/dist/chunks/{persistent-pty-fvanntqq.js → worktree-0ft9cg2j.js} +6 -6
  12. package/dist/chunks/{persistent-pty-eaj1djv9.js → worktree-0gdmqesm.js} +8 -8
  13. package/dist/chunks/{persistent-pty-4pxrwfad.js → worktree-0mkssq3p.js} +24 -24
  14. package/dist/chunks/{persistent-pty-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{persistent-pty-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{persistent-pty-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{persistent-pty-s4mb84p1.js → worktree-1mq78cxw.js} +34 -34
  18. package/dist/chunks/{persistent-pty-xjbekv6e.js → worktree-1nd760hn.js} +12 -12
  19. package/dist/chunks/{persistent-pty-wayd1cz3.js → worktree-1p2ds4p0.js} +14 -14
  20. package/dist/chunks/{persistent-pty-kftvnv3j.js → worktree-1qsv2vsq.js} +21 -21
  21. package/dist/chunks/{persistent-pty-6tr59r50.js → worktree-1r0y6anp.js} +27 -27
  22. package/dist/chunks/{persistent-pty-69cccy7z.js → worktree-1sfwps64.js} +18 -18
  23. package/dist/chunks/{persistent-pty-cv5frkqy.js → worktree-21cb4yfq.js} +1 -1
  24. package/dist/chunks/{persistent-pty-21r38tys.js → worktree-21r38tys.js} +1 -1
  25. package/dist/chunks/{persistent-pty-9h0hyds4.js → worktree-22da35st.js} +14 -14
  26. package/dist/chunks/{persistent-pty-zsphfh87.js → worktree-27w3txew.js} +21 -21
  27. package/dist/chunks/{persistent-pty-jfcm29bp.js → worktree-28d8znnm.js} +4 -4
  28. package/dist/chunks/{persistent-pty-r5zvm12r.js → worktree-2993mdqz.js} +5 -5
  29. package/dist/chunks/{persistent-pty-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{persistent-pty-hds23wzw.js → worktree-2hz0qpna.js} +20 -22
  31. package/dist/chunks/{persistent-pty-qryrftmh.js → worktree-2k92p94a.js} +51 -51
  32. package/dist/chunks/{persistent-pty-xjebcb6c.js → worktree-2w250fb9.js} +9 -9
  33. package/dist/chunks/{persistent-pty-hnac9jpe.js → worktree-2yyeacqq.js} +12 -12
  34. package/dist/chunks/{persistent-pty-d0fsejzd.js → worktree-2zj1evwc.js} +30 -30
  35. package/dist/chunks/{persistent-pty-tbgyadps.js → worktree-32g4c5x7.js} +8 -8
  36. package/dist/chunks/{persistent-pty-tnasdg6y.js → worktree-33gh8jtn.js} +28 -28
  37. package/dist/chunks/{persistent-pty-56gdpj1q.js → worktree-33w4ejhs.js} +6 -6
  38. package/dist/chunks/{persistent-pty-zq3sp2de.js → worktree-36g34y2m.js} +28 -28
  39. package/dist/chunks/{persistent-pty-6p5ms1em.js → worktree-3885gykz.js} +27 -27
  40. package/dist/chunks/{persistent-pty-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{persistent-pty-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  42. package/dist/chunks/worktree-3p652h0e.js +26 -0
  43. package/dist/chunks/{persistent-pty-ybhbtxjg.js → worktree-3s810fg1.js} +3 -3
  44. package/dist/chunks/{persistent-pty-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{persistent-pty-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{persistent-pty-ab8cnxkj.js → worktree-421r5d5v.js} +12 -12
  47. package/dist/chunks/{persistent-pty-v4px02z6.js → worktree-45hwf2ve.js} +20 -20
  48. package/dist/chunks/{persistent-pty-jcz9anth.js → worktree-46dahfew.js} +47 -47
  49. package/dist/chunks/{persistent-pty-rvt9ga0f.js → worktree-486a1zpr.js} +14 -14
  50. package/dist/chunks/{persistent-pty-tfxzrdmk.js → worktree-4947sgj4.js} +3 -3
  51. package/dist/chunks/{persistent-pty-bsgfsq91.js → worktree-4wx50nne.js} +16 -16
  52. package/dist/chunks/{persistent-pty-7fmgbjr3.js → worktree-51a1jr9z.js} +9 -9
  53. package/dist/chunks/{persistent-pty-13f6jh0f.js → worktree-54h1gy1n.js} +28 -28
  54. package/dist/chunks/{persistent-pty-71vt42kc.js → worktree-58rxp6d3.js} +5 -5
  55. package/dist/chunks/{persistent-pty-5c4hm403.js → worktree-5c4hm403.js} +3 -3
  56. package/dist/chunks/{persistent-pty-gb9jw3zf.js → worktree-5ca5497x.js} +6 -6
  57. package/dist/chunks/{persistent-pty-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  58. package/dist/chunks/{persistent-pty-grhxn6he.js → worktree-5dmcr3b1.js} +25 -25
  59. package/dist/chunks/{persistent-pty-k1gkpfdk.js → worktree-5eer2xf9.js} +8 -8
  60. package/dist/chunks/{persistent-pty-a3r4dcrj.js → worktree-5frpvc34.js} +2 -2
  61. package/dist/chunks/{persistent-pty-t808dn5w.js → worktree-5gq0j8y6.js} +40 -40
  62. package/dist/chunks/{persistent-pty-5h8807ma.js → worktree-5gvw5jwx.js} +20 -20
  63. package/dist/chunks/{persistent-pty-brg56pc6.js → worktree-5kq5qec8.js} +26 -26
  64. package/dist/chunks/{persistent-pty-h6r3nrb9.js → worktree-5mtzsd3b.js} +4 -4
  65. package/dist/chunks/{persistent-pty-65w3833t.js → worktree-5pdqrmgg.js} +13 -13
  66. package/dist/chunks/{persistent-pty-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{persistent-pty-r4wc6fxm.js → worktree-5w1b7248.js} +3 -3
  68. package/dist/chunks/worktree-619r8v3y.js +18 -0
  69. package/dist/chunks/{persistent-pty-669tq793.js → worktree-669tq793.js} +1 -1
  70. package/dist/chunks/{persistent-pty-epqb7qpy.js → worktree-6f8fr4j0.js} +5 -5
  71. package/dist/chunks/{persistent-pty-1g2zd6q9.js → worktree-6ggbzja4.js} +5 -5
  72. package/dist/chunks/{persistent-pty-2402vzrj.js → worktree-6h73sxmp.js} +5 -5
  73. package/dist/chunks/{persistent-pty-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{persistent-pty-h6jr292a.js → worktree-6rjq4ad6.js} +4 -4
  75. package/dist/chunks/{persistent-pty-r2w5wzr7.js → worktree-6rywya1e.js} +10 -10
  76. package/dist/chunks/{persistent-pty-mg83pbjr.js → worktree-6wg7wrda.js} +8 -8
  77. package/dist/chunks/{persistent-pty-0ke265bw.js → worktree-6x0h2hvg.js} +9 -9
  78. package/dist/chunks/{persistent-pty-hmp6wt3x.js → worktree-6xtgx1bn.js} +3 -3
  79. package/dist/chunks/worktree-6ysrkrkr.js +28 -0
  80. package/dist/chunks/{persistent-pty-yqz4sd6t.js → worktree-77aa2ptm.js} +5 -5
  81. package/dist/chunks/{persistent-pty-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{persistent-pty-2k8khapm.js → worktree-7dqw4kz8.js} +5 -5
  83. package/dist/chunks/{persistent-pty-4z7tbtat.js → worktree-7jx0v3wz.js} +11 -11
  84. package/dist/chunks/{persistent-pty-xcrk435t.js → worktree-7k8hwkm4.js} +16 -16
  85. package/dist/chunks/{persistent-pty-axwsqknt.js → worktree-7x8vr9wx.js} +32 -32
  86. package/dist/chunks/{persistent-pty-6n88yxkj.js → worktree-818pfwc9.js} +8 -8
  87. package/dist/chunks/{persistent-pty-ta417yjh.js → worktree-83da929p.js} +33 -33
  88. package/dist/chunks/{persistent-pty-0rqdjtcb.js → worktree-87tqv0m9.js} +4 -4
  89. package/dist/chunks/{persistent-pty-mbgq0mmx.js → worktree-899bmpw2.js} +6 -6
  90. package/dist/chunks/{persistent-pty-9ex8f1cq.js → worktree-8aaqm6qj.js} +8 -8
  91. package/dist/chunks/{persistent-pty-jpxb4059.js → worktree-8c88k4y9.js} +11 -11
  92. package/dist/chunks/{persistent-pty-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{persistent-pty-w18y63wv.js → worktree-8dged86n.js} +24 -24
  94. package/dist/chunks/{persistent-pty-jexxy024.js → worktree-8q7cq0y1.js} +3 -3
  95. package/dist/chunks/{persistent-pty-qt5mdn6g.js → worktree-940d36ge.js} +15 -15
  96. package/dist/chunks/{persistent-pty-hv2snex1.js → worktree-97qjdx9c.js} +37 -20
  97. package/dist/chunks/{persistent-pty-de5mzfxd.js → worktree-9aeamryp.js} +26 -26
  98. package/dist/chunks/{persistent-pty-encztx8n.js → worktree-9ftphk66.js} +24 -24
  99. package/dist/chunks/{persistent-pty-s83kg3p0.js → worktree-9vmxtf8m.js} +15 -15
  100. package/dist/chunks/{persistent-pty-4kg54np8.js → worktree-9wg8f7rp.js} +19 -19
  101. package/dist/chunks/{persistent-pty-r72bb3g5.js → worktree-9yk5tkmn.js} +8 -8
  102. package/dist/chunks/{persistent-pty-deq2z4hf.js → worktree-a3w3ek2p.js} +5 -5
  103. package/dist/chunks/{persistent-pty-fwft7q1r.js → worktree-a70dqpwr.js} +5 -5
  104. package/dist/chunks/{persistent-pty-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  105. package/dist/chunks/{persistent-pty-6vrsc7tt.js → worktree-ab5e65y7.js} +18 -18
  106. package/dist/chunks/{persistent-pty-ytqvkck2.js → worktree-adrjdcdv.js} +5 -5
  107. package/dist/chunks/{persistent-pty-xaftkv44.js → worktree-ae05hxc9.js} +49 -49
  108. package/dist/chunks/{persistent-pty-bph3v013.js → worktree-ag8e42mr.js} +30 -30
  109. package/dist/chunks/{persistent-pty-cdq49ytp.js → worktree-akvwcqv3.js} +23 -23
  110. package/dist/chunks/{persistent-pty-cwtvnkts.js → worktree-anv5cbp8.js} +8 -8
  111. package/dist/chunks/{persistent-pty-75q2ps1k.js → worktree-asqy4pdp.js} +1 -1
  112. package/dist/chunks/{persistent-pty-2y34zzjz.js → worktree-awaee7qt.js} +6 -6
  113. package/dist/chunks/{persistent-pty-0akym11d.js → worktree-az11wfvr.js} +16 -16
  114. package/dist/chunks/{persistent-pty-wk2ay995.js → worktree-b04n12yt.js} +42 -42
  115. package/dist/chunks/{persistent-pty-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{persistent-pty-patgj9rf.js → worktree-b6xy6jda.js} +9 -9
  117. package/dist/chunks/{persistent-pty-82ahnwkf.js → worktree-bc773w9a.js} +20 -20
  118. package/dist/chunks/{persistent-pty-gnx4ytbv.js → worktree-bg2gq5qa.js} +4 -4
  119. package/dist/chunks/{persistent-pty-p0h2c1j9.js → worktree-bw8gdwks.js} +10 -10
  120. package/dist/chunks/{persistent-pty-sz24j28z.js → worktree-c282yhkm.js} +41 -41
  121. package/dist/chunks/{persistent-pty-n36xcpgr.js → worktree-ccenzmm6.js} +10 -10
  122. package/dist/chunks/{persistent-pty-yt0fqk68.js → worktree-cr07tj7n.js} +5 -5
  123. package/dist/chunks/{persistent-pty-jzphxtev.js → worktree-d5z19hk1.js} +10 -10
  124. package/dist/chunks/{persistent-pty-4yy5d4qw.js → worktree-d96qny3q.js} +5 -5
  125. package/dist/chunks/{persistent-pty-mfs5sj5t.js → worktree-depwh34e.js} +9 -9
  126. package/dist/chunks/{persistent-pty-9c77jpjf.js → worktree-dg6kkwqt.js} +3 -3
  127. package/dist/chunks/{persistent-pty-dj2t23y0.js → worktree-dj2t23y0.js} +2 -2
  128. package/dist/chunks/{persistent-pty-q8pxfdwq.js → worktree-dn7365jx.js} +4 -4
  129. package/dist/chunks/{persistent-pty-p513dnzd.js → worktree-dnjvrtng.js} +175 -175
  130. package/dist/chunks/{persistent-pty-dpkg50ah.js → worktree-dpkg50ah.js} +1 -1
  131. package/dist/chunks/{persistent-pty-xfkkasph.js → worktree-drwq78ky.js} +4 -4
  132. package/dist/chunks/{persistent-pty-ysfwx83j.js → worktree-dvxrp605.js} +8 -8
  133. package/dist/chunks/{persistent-pty-4e13r3ts.js → worktree-e01ptnw8.js} +4 -4
  134. package/dist/chunks/{persistent-pty-2rnnjxth.js → worktree-e47wcd5s.js} +7 -7
  135. package/dist/chunks/{persistent-pty-gxr7q3nf.js → worktree-ebmcp6jg.js} +20 -20
  136. package/dist/chunks/{persistent-pty-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{persistent-pty-e84rd1xk.js → worktree-efqd9j5j.js} +32 -32
  138. package/dist/chunks/{persistent-pty-qw85ht6d.js → worktree-epqzss3m.js} +31 -31
  139. package/dist/chunks/{persistent-pty-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
  140. package/dist/chunks/{persistent-pty-tvtydw96.js → worktree-esh8snah.js} +43 -43
  141. package/dist/chunks/{persistent-pty-7s8gb34t.js → worktree-etkky4xb.js} +26 -26
  142. package/dist/chunks/{persistent-pty-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{persistent-pty-3w0fmcng.js → worktree-evbgk2k8.js} +5 -5
  144. package/dist/chunks/{persistent-pty-r2a07nrz.js → worktree-evq1m25b.js} +13 -13
  145. package/dist/chunks/{persistent-pty-nm55ymfc.js → worktree-ex22b358.js} +22 -22
  146. package/dist/chunks/{persistent-pty-jvekhsax.js → worktree-f7ehr1hv.js} +6 -6
  147. package/dist/chunks/{persistent-pty-bz85s9hh.js → worktree-fch79rh9.js} +1 -1
  148. package/dist/chunks/{persistent-pty-68tggvtb.js → worktree-fd7j5y5t.js} +11 -11
  149. package/dist/chunks/{persistent-pty-44ke2mar.js → worktree-fkjmw100.js} +6 -6
  150. package/dist/chunks/{persistent-pty-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{persistent-pty-j9vp638d.js → worktree-g0jbnnkv.js} +37 -37
  152. package/dist/chunks/{persistent-pty-k2h4r4s0.js → worktree-g190xswt.js} +4 -4
  153. package/dist/chunks/{persistent-pty-74fmk9vn.js → worktree-g2swn6b7.js} +23 -23
  154. package/dist/chunks/{persistent-pty-w6qqzf7t.js → worktree-g2xawn2z.js} +2 -2
  155. package/dist/chunks/{persistent-pty-wcycnpg6.js → worktree-g3jdw4qe.js} +11 -11
  156. package/dist/chunks/{persistent-pty-k6w2t1ya.js → worktree-g91wcgpj.js} +4 -4
  157. package/dist/chunks/{persistent-pty-w65z2jz3.js → worktree-g9p6zv33.js} +8 -8
  158. package/dist/chunks/{persistent-pty-2ym62d1y.js → worktree-ganm2r9k.js} +3 -3
  159. package/dist/chunks/{persistent-pty-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{persistent-pty-x38sqvf4.js → worktree-gdexxn2e.js} +3 -3
  161. package/dist/chunks/{persistent-pty-nyacxbzj.js → worktree-gsnqjxmg.js} +40 -40
  162. package/dist/chunks/{persistent-pty-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{persistent-pty-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{persistent-pty-hdnk95c8.js → worktree-hdnk95c8.js} +2 -2
  165. package/dist/chunks/{persistent-pty-1w7qre35.js → worktree-hepbeetm.js} +29 -29
  166. package/dist/chunks/{persistent-pty-td55jj2j.js → worktree-hjxmeyjq.js} +22 -22
  167. package/dist/chunks/{persistent-pty-8hz3g5y0.js → worktree-hmcspfjz.js} +10 -10
  168. package/dist/chunks/{persistent-pty-kkzayper.js → worktree-hxmf60ar.js} +23 -23
  169. package/dist/chunks/{persistent-pty-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  170. package/dist/chunks/{persistent-pty-5rfwsh5d.js → worktree-j6fv3d6x.js} +3 -3
  171. package/dist/chunks/{persistent-pty-554knveg.js → worktree-j6q6f4de.js} +36 -35
  172. package/dist/chunks/{persistent-pty-3fs6smyb.js → worktree-j7fts5t0.js} +11 -11
  173. package/dist/chunks/{persistent-pty-vncycja5.js → worktree-j83byb14.js} +4 -4
  174. package/dist/chunks/{persistent-pty-4113bgx8.js → worktree-jc7s5yzp.js} +11 -11
  175. package/dist/chunks/{persistent-pty-yr8p71ks.js → worktree-jpz4t714.js} +17 -17
  176. package/dist/chunks/{persistent-pty-4acetgwp.js → worktree-jqjs9tcv.js} +4 -4
  177. package/dist/chunks/{persistent-pty-j58c5xyq.js → worktree-jzzy94zk.js} +9 -9
  178. package/dist/chunks/worktree-k75g3hfp.js +60 -0
  179. package/dist/chunks/{persistent-pty-92xv3hjf.js → worktree-k7xvw3dw.js} +15 -15
  180. package/dist/chunks/{persistent-pty-afdssyjb.js → worktree-kne8f3cn.js} +4 -4
  181. package/dist/chunks/{persistent-pty-wngp58at.js → worktree-kqhyc4a5.js} +24 -24
  182. package/dist/chunks/{persistent-pty-63mpdmm6.js → worktree-kw4nys0v.js} +26 -26
  183. package/dist/chunks/{persistent-pty-m0jqrx5p.js → worktree-m0jqrx5p.js} +2 -2
  184. package/dist/chunks/{persistent-pty-5rt7pep6.js → worktree-m2ma7v7h.js} +3 -3
  185. package/dist/chunks/{persistent-pty-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{persistent-pty-x5x7kcgs.js → worktree-m3qcd0gh.js} +8 -8
  187. package/dist/chunks/{persistent-pty-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{persistent-pty-57sn279e.js → worktree-mc0tbgbx.js} +10 -10
  189. package/dist/chunks/{persistent-pty-s8cev9wy.js → worktree-mdk3y3z1.js} +22 -22
  190. package/dist/chunks/{persistent-pty-06dxphr1.js → worktree-mfhfdr54.js} +4 -4
  191. package/dist/chunks/{persistent-pty-mvfsc1pv.js → worktree-mhkvc446.js} +3 -3
  192. package/dist/chunks/{persistent-pty-qr405v0d.js → worktree-mps7kt98.js} +10 -10
  193. package/dist/chunks/{persistent-pty-tegs1ycp.js → worktree-mx9vqzsb.js} +6 -6
  194. package/dist/chunks/{persistent-pty-1p0trksj.js → worktree-n2k8kfr2.js} +10 -10
  195. package/dist/chunks/{persistent-pty-n4j23rry.js → worktree-nbhvjqq0.js} +16 -16
  196. package/dist/chunks/{persistent-pty-6yh2fsej.js → worktree-nce5244k.js} +24 -24
  197. package/dist/chunks/{persistent-pty-qsx6xwjc.js → worktree-njzmkv4t.js} +18 -18
  198. package/dist/chunks/{persistent-pty-m2d0j7c0.js → worktree-nq7qbqzc.js} +9 -9
  199. package/dist/chunks/{persistent-pty-nqyhrfcc.js → worktree-nqyhrfcc.js} +1 -1
  200. package/dist/chunks/{persistent-pty-k3c624dm.js → worktree-nzks3jc8.js} +3 -3
  201. package/dist/chunks/{persistent-pty-tbz0fdvh.js → worktree-p28j5sbe.js} +5 -5
  202. package/dist/chunks/{persistent-pty-jsqr29s7.js → worktree-pgd96ws3.js} +29 -29
  203. package/dist/chunks/{persistent-pty-s9ax1raf.js → worktree-phvc5gz1.js} +33 -33
  204. package/dist/chunks/{persistent-pty-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{persistent-pty-5531r29v.js → worktree-pk05hrqc.js} +28 -28
  206. package/dist/chunks/{persistent-pty-pknna89w.js → worktree-pknna89w.js} +1 -1
  207. package/dist/chunks/{persistent-pty-jsx9wcxe.js → worktree-pnbzcb80.js} +11 -11
  208. package/dist/chunks/{persistent-pty-twca9fjq.js → worktree-q3brf889.js} +7 -7
  209. package/dist/chunks/{persistent-pty-ze9ygk7z.js → worktree-q7b8tk1j.js} +15 -15
  210. package/dist/chunks/{persistent-pty-vg6ckggx.js → worktree-q9em23va.js} +59 -59
  211. package/dist/chunks/{persistent-pty-b27vhd2z.js → worktree-qm0v3jhh.js} +7 -7
  212. package/dist/chunks/{persistent-pty-d4he2qe1.js → worktree-qmqgtz8f.js} +9 -9
  213. package/dist/chunks/{persistent-pty-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  214. package/dist/chunks/{persistent-pty-bmcyf7gj.js → worktree-qtp3z5jz.js} +20 -20
  215. package/dist/chunks/{persistent-pty-e8qyrgb1.js → worktree-qvreyy9g.js} +5 -5
  216. package/dist/chunks/{persistent-pty-btpphd88.js → worktree-qy3x5fkw.js} +30 -30
  217. package/dist/chunks/{persistent-pty-61h0qsnp.js → worktree-qzj3p1a8.js} +17 -17
  218. package/dist/chunks/{persistent-pty-mmmrdbr8.js → worktree-r4xk7wzn.js} +11 -11
  219. package/dist/chunks/{persistent-pty-jdvrzx2t.js → worktree-r9dtcy7v.js} +11 -11
  220. package/dist/chunks/{persistent-pty-p84dsdfh.js → worktree-rbykwf8h.js} +8 -8
  221. package/dist/chunks/{persistent-pty-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{persistent-pty-t4nhm12y.js → worktree-rfw8gvq9.js} +7 -7
  223. package/dist/chunks/{persistent-pty-rr6jacvf.js → worktree-rr0tph7c.js} +41 -41
  224. package/dist/chunks/{persistent-pty-431eg44t.js → worktree-rr5qrs97.js} +13 -13
  225. package/dist/chunks/{persistent-pty-ffw5jcp2.js → worktree-rw0j17jy.js} +17 -17
  226. package/dist/chunks/{persistent-pty-ytpw4txd.js → worktree-ryvvaahd.js} +14 -14
  227. package/dist/chunks/{persistent-pty-2gbsvbx5.js → worktree-rzt5b11j.js} +12 -12
  228. package/dist/chunks/{persistent-pty-vcdb3gbk.js → worktree-s003wxah.js} +3 -3
  229. package/dist/chunks/{persistent-pty-yppwdz7t.js → worktree-s4m6wqxh.js} +9 -9
  230. package/dist/chunks/worktree-s58zdxfq.js +503 -0
  231. package/dist/chunks/{persistent-pty-b7r080c3.js → worktree-sa6gj9bw.js} +15 -15
  232. package/dist/chunks/{persistent-pty-rya495mf.js → worktree-sbwttkaf.js} +11 -11
  233. package/dist/chunks/{persistent-pty-n2eg1d0h.js → worktree-spdrvks9.js} +22 -22
  234. package/dist/chunks/{persistent-pty-edwvx061.js → worktree-stz8t2v6.js} +4 -4
  235. package/dist/chunks/{persistent-pty-h4eh15d6.js → worktree-swxr5sk9.js} +20 -20
  236. package/dist/chunks/{persistent-pty-q3j5ebgq.js → worktree-t1np0tqc.js} +17 -17
  237. package/dist/chunks/{persistent-pty-8y3s9r1h.js → worktree-t2ebar3s.js} +6 -6
  238. package/dist/chunks/{persistent-pty-tvc0b3mj.js → worktree-t3m7g1te.js} +5 -5
  239. package/dist/chunks/{persistent-pty-2hsgj57k.js → worktree-t6191ead.js} +30 -30
  240. package/dist/chunks/{persistent-pty-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{persistent-pty-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{persistent-pty-tdstcens.js → worktree-tdstcens.js} +1 -1
  243. package/dist/chunks/{persistent-pty-jtwa0aj6.js → worktree-tpj75mzy.js} +17 -17
  244. package/dist/chunks/{persistent-pty-br0tr5aq.js → worktree-tpw6cwsb.js} +8 -8
  245. package/dist/chunks/{persistent-pty-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  246. package/dist/chunks/{persistent-pty-z52a6mw5.js → worktree-twn8y427.js} +15 -15
  247. package/dist/chunks/{persistent-pty-90y57r1y.js → worktree-v1szefp9.js} +21 -21
  248. package/dist/chunks/{persistent-pty-dtwkq6be.js → worktree-v731dxt6.js} +13 -13
  249. package/dist/chunks/{persistent-pty-4vdcjjmt.js → worktree-v7j76yb7.js} +13 -13
  250. package/dist/chunks/{persistent-pty-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  251. package/dist/chunks/{persistent-pty-xcjhgh37.js → worktree-vfnexndp.js} +6 -6
  252. package/dist/chunks/{persistent-pty-3gs18der.js → worktree-vrd7bw94.js} +22 -22
  253. package/dist/chunks/{persistent-pty-3ewed21c.js → worktree-vycw7md4.js} +4 -4
  254. package/dist/chunks/{persistent-pty-t71v2ka4.js → worktree-vykevjvn.js} +5 -5
  255. package/dist/chunks/{persistent-pty-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{persistent-pty-6p7zr8ep.js → worktree-w049avsm.js} +23 -23
  257. package/dist/chunks/{persistent-pty-mnaz46m9.js → worktree-w2a0me0w.js} +88 -88
  258. package/dist/chunks/{persistent-pty-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{persistent-pty-p52j3anj.js → worktree-wb2290kd.js} +36 -36
  260. package/dist/chunks/{persistent-pty-wd87259q.js → worktree-wd87259q.js} +1 -1
  261. package/dist/chunks/{persistent-pty-aba8dj31.js → worktree-wg3ah9vk.js} +15 -15
  262. package/dist/chunks/{persistent-pty-r449bwkw.js → worktree-wt3fns9r.js} +11 -11
  263. package/dist/chunks/{persistent-pty-hq654dja.js → worktree-wzhchsdw.js} +23 -23
  264. package/dist/chunks/{persistent-pty-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{persistent-pty-s4b84khr.js → worktree-x2bnk29x.js} +9 -9
  266. package/dist/chunks/{persistent-pty-p4a5cx5p.js → worktree-x2r5cysr.js} +15 -15
  267. package/dist/chunks/worktree-x9psk7ht.js +252 -0
  268. package/dist/chunks/{persistent-pty-41ssmn02.js → worktree-xrhwvysg.js} +85 -85
  269. package/dist/chunks/{persistent-pty-vmnj2x1v.js → worktree-y0fk3wmz.js} +12 -12
  270. package/dist/chunks/{persistent-pty-2wzrjk5c.js → worktree-y19g1g3c.js} +24 -24
  271. package/dist/chunks/{persistent-pty-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{persistent-pty-78b8afjy.js → worktree-yaf95dqt.js} +11 -11
  273. package/dist/chunks/{persistent-pty-kfgf5fep.js → worktree-yd28dp38.js} +22 -22
  274. package/dist/chunks/{persistent-pty-qdwxcfza.js → worktree-ydcyakjt.js} +9 -9
  275. package/dist/chunks/{persistent-pty-ace40s22.js → worktree-yhc2vnw0.js} +10 -10
  276. package/dist/chunks/{persistent-pty-qn4ba14w.js → worktree-yjptyezs.js} +5 -5
  277. package/dist/chunks/{persistent-pty-rhraev7y.js → worktree-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{persistent-pty-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{persistent-pty-yrznvahk.js → worktree-yrznvahk.js} +2 -2
  280. package/dist/chunks/{persistent-pty-va45f1s8.js → worktree-yxy08kjz.js} +32 -32
  281. package/dist/chunks/{persistent-pty-sxn79y37.js → worktree-yyk09s5y.js} +6 -6
  282. package/dist/chunks/{persistent-pty-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{persistent-pty-z63w68vq.js → worktree-z63w68vq.js} +2 -2
  284. package/dist/chunks/{persistent-pty-p3x7gx7a.js → worktree-z6s2ptjh.js} +23 -23
  285. package/dist/chunks/{persistent-pty-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{persistent-pty-5dbxvay1.js → worktree-zfjnvatg.js} +22 -22
  287. package/dist/chunks/{persistent-pty-26v7198b.js → worktree-zqerkhaz.js} +30 -30
  288. package/dist/chunks/{persistent-pty-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{persistent-pty-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +82 -82
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +123 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +125 -125
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +101 -101
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +220 -220
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +103 -103
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +82 -82
  432. package/dist/generate.js +102 -102
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +360 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +68 -68
  466. package/dist/location-activity.js +129 -129
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +101 -101
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +357 -356
  471. package/dist/location.js +86 -86
  472. package/dist/managed-policy.js +10 -0
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +107 -107
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +98 -98
  480. package/dist/model-resolver.js +95 -95
  481. package/dist/model.js +101 -101
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +77 -77
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +102 -102
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +85 -85
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +103 -103
  493. package/dist/plugin/command.js +100 -100
  494. package/dist/plugin/compaction.js +132 -132
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +333 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +93 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +159 -158
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +140 -140
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +346 -345
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +224 -224
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +89 -89
  562. package/dist/provider.js +98 -98
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +85 -85
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +218 -218
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +152 -152
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +89 -89
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +76 -76
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +92 -92
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +228 -228
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +123 -123
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +82 -82
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +149 -149
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +216 -216
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +217 -217
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +137 -137
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +111 -111
  632. package/dist/snapshot.js +92 -92
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +121 -121
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +1 -1
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +100 -100
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +214 -214
  646. package/dist/tool/plugin/skill.js +110 -110
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +107 -107
  649. package/dist/tool/plugin/websearch.js +111 -111
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  655. package/dist/types/config/plugin/policy.d.ts +2 -1
  656. package/dist/types/managed-policy.d.ts +19 -0
  657. package/dist/types/plugin/internal.d.ts +4 -2
  658. package/dist/types/plugin/provider/opencode.d.ts +2 -1
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +91 -91
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +90 -90
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +88 -88
  688. package/dist/websearch.js +77 -77
  689. package/dist/wellknown/plugin.js +75 -75
  690. package/dist/wellknown.js +80 -80
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +79 -79
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +88 -88
  698. package/dist/worktree.js +95 -95
  699. package/package.json +8 -8
  700. package/dist/chunks/persistent-pty-7h3cdw3p.js +0 -252
  701. package/dist/chunks/persistent-pty-a7qcy6v8.js +0 -26
  702. package/dist/chunks/persistent-pty-dxj72tfx.js +0 -18
  703. package/dist/chunks/persistent-pty-fsy2n4n3.js +0 -49
  704. package/dist/chunks/persistent-pty-mj93e3gy.js +0 -492
  705. /package/dist/chunks/{persistent-pty-0mesazry.js → worktree-0mesazry.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-24dcb14g.js → worktree-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-3asan66x.js → worktree-3asan66x.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-53557ph1.js → worktree-53557ph1.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-6prwharc.js → worktree-6prwharc.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-822emrt2.js → worktree-822emrt2.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-922hggd3.js → worktree-922hggd3.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-df08tz66.js → worktree-df08tz66.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-g86h250q.js → worktree-g86h250q.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-gftt206x.js → worktree-gftt206x.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-hk9envan.js → worktree-hk9envan.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-x61499pn.js → worktree-x61499pn.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{persistent-pty-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{persistent-pty-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{persistent-pty-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{persistent-pty-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-78b8afjy.js";
3
+ } from "./worktree-yaf95dqt.js";
4
4
  import {
5
5
  Service82
6
- } from "./persistent-pty-4e13r3ts.js";
6
+ } from "./worktree-e01ptnw8.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./persistent-pty-btpphd88.js";
9
+ Event17
10
+ } from "./worktree-qy3x5fkw.js";
11
11
  import {
12
- ID14,
12
+ ID13,
13
13
  MethodID2
14
- } from "./persistent-pty-jsqr29s7.js";
14
+ } from "./worktree-pgd96ws3.js";
15
15
  import {
16
16
  which2
17
- } from "./persistent-pty-qaymkmh1.js";
17
+ } from "./worktree-qaymkmh1.js";
18
18
  import {
19
- ID13
20
- } from "./persistent-pty-2hsgj57k.js";
19
+ ID12
20
+ } from "./worktree-t6191ead.js";
21
21
  import {
22
22
  iife2
23
- } from "./persistent-pty-1kg9ymc8.js";
23
+ } from "./worktree-1kg9ymc8.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./persistent-pty-mbgq0mmx.js";
26
+ } from "./worktree-899bmpw2.js";
27
27
 
28
28
  // src/plugin/provider/azure.ts
29
29
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -43,7 +43,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
43
43
  var AzurePlugin2 = define({
44
44
  id: "opencode.provider.azure",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const configured = yield* configuredSettings2(ID13.azure);
46
+ const configured = yield* configuredSettings2(ID12.azure);
47
47
  const processes = yield* AppProcess.Service;
48
48
  const bus = yield* Service82;
49
49
  const tokens = new Map;
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
79
79
  });
80
80
  yield* ctx.integration.transform((editor) => {
81
81
  editor.method.update({
82
- integrationID: ID13.azure,
82
+ integrationID: ID12.azure,
83
83
  method: { type: "key", label: "API key", form: form() }
84
84
  });
85
85
  if (!available)
86
86
  return;
87
87
  editor.method.update({
88
- integrationID: ID13.azure,
88
+ integrationID: ID12.azure,
89
89
  method: {
90
90
  id: methodID,
91
91
  type: "oauth",
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
117
117
  });
118
118
  });
119
119
  const load = Effect.fn("AzurePlugin.load")(function* () {
120
- const connection = yield* ctx.integration.connection.active(ID13.azure);
120
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
121
121
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
122
122
  return;
123
123
  })) : undefined;
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  yield* load();
132
132
  yield* ctx.provider.transform((evt) => {
133
133
  for (const item of evt.list()) {
134
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
134
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
135
135
  continue;
136
136
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
137
137
  const websocket = responsesWebSocketCapable(item.provider);
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
149
149
  });
150
150
  yield* ctx.model.transform((models) => {
151
151
  for (const item of models.provider.list()) {
152
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
152
+ if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
153
153
  continue;
154
154
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
155
155
  for (const model of models.list(item.provider.id)) {
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
- const connection = yield* ctx.integration.connection.active(ID13.azure);
166
+ const connection = yield* ctx.integration.connection.active(ID12.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
168
168
  return;
169
169
  })) : undefined;
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
175
175
  return `Bearer ${current.access}`;
176
176
  });
177
177
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
178
- if (evt.model.providerID !== ID13.azure)
178
+ if (evt.model.providerID !== ID12.azure)
179
179
  return;
180
180
  const authorization = yield* bearer(evt.request.url);
181
181
  if (!authorization)
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", authorization);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID13.azure });
187
+ }), { providerID: ID12.azure });
188
188
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
189
- if (evt.model.providerID !== ID13.azure)
189
+ if (evt.model.providerID !== ID12.azure)
190
190
  return;
191
191
  const authorization = yield* bearer(evt.url);
192
192
  if (!authorization)
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
195
195
  delete evt.headers["x-api-key"];
196
196
  evt.headers.authorization = authorization;
197
197
  evt.headers["user-agent"] = useragent2(ctx.app);
198
- }), { providerID: ID13.azure });
198
+ }), { providerID: ID12.azure });
199
199
  })
200
200
  });
201
201
  function resolveResourceName(settings, fallback) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./persistent-pty-emrn6kk6.js";
4
+ } from "./worktree-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./persistent-pty-twca9fjq.js";
7
+ } from "./worktree-q3brf889.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service54
4
- } from "./persistent-pty-rr6jacvf.js";
3
+ Service49
4
+ } from "./worktree-rr0tph7c.js";
5
5
  import {
6
- Service52
7
- } from "./persistent-pty-zsphfh87.js";
6
+ Service55
7
+ } from "./worktree-27w3txew.js";
8
8
  import {
9
9
  observe2
10
- } from "./persistent-pty-qsdy395h.js";
10
+ } from "./worktree-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
16
  var exports_shell2 = {};
17
17
  __export(exports_shell2, {
18
18
  ConfigShellPlugin: () => exports_shell2,
19
- Plugin: () => Plugin31
19
+ Plugin: () => Plugin32
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin31 = define({
23
+ var Plugin32 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service54;
27
- const shell = yield* Service52;
26
+ const config = yield* Service49;
27
+ const shell = yield* Service55;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin31 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin31, exports_shell2 };
37
+ export { Plugin32, exports_shell2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./persistent-pty-zsphfh87.js";
3
+ } from "./worktree-27w3txew.js";
4
4
  import {
5
5
  lazy2
6
- } from "./persistent-pty-88xbtdfr.js";
6
+ } from "./worktree-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./persistent-pty-y1fvbwt7.js";
9
+ } from "./worktree-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./persistent-pty-9rqn6x4v.js";
12
+ } from "./worktree-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service40
3
- } from "./persistent-pty-nm55ymfc.js";
2
+ Service51
3
+ } from "./worktree-ex22b358.js";
4
4
  import {
5
- Service60
6
- } from "./persistent-pty-tegs1ycp.js";
5
+ Service45
6
+ } from "./worktree-mx9vqzsb.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./persistent-pty-dxj72tfx.js";
9
+ } from "./worktree-619r8v3y.js";
10
10
  import {
11
11
  __export
12
- } from "./persistent-pty-9rqn6x4v.js";
12
+ } from "./worktree-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service60;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
22
+ const instances = yield* Service45;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./persistent-pty-2hsgj57k.js";
2
+ ID12
3
+ } from "./worktree-t6191ead.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.integration.transform((editor) => {
20
20
  editor.method.update({
21
- integrationID: ID13.amazonBedrock,
21
+ integrationID: ID12.amazonBedrock,
22
22
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
23
23
  });
24
24
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./persistent-pty-emrn6kk6.js";
3
+ } from "./worktree-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./persistent-pty-twca9fjq.js";
6
+ } from "./worktree-q3brf889.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./persistent-pty-75q2ps1k.js";
9
+ } from "./worktree-asqy4pdp.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./persistent-pty-4e13r3ts.js";
4
+ } from "./worktree-e01ptnw8.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./persistent-pty-n4j23rry.js";
6
+ Service77,
7
+ node81
8
+ } from "./worktree-nbhvjqq0.js";
9
9
  import {
10
- Service48,
11
- node52
12
- } from "./persistent-pty-4pxrwfad.js";
10
+ Service67,
11
+ node69
12
+ } from "./worktree-0mkssq3p.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./persistent-pty-gd4qta3r.js";
15
+ } from "./worktree-gd4qta3r.js";
16
16
  import {
17
- Service52,
17
+ Service55,
18
18
  args2,
19
19
  node57
20
- } from "./persistent-pty-zsphfh87.js";
20
+ } from "./worktree-27w3txew.js";
21
21
  import {
22
- Service68,
23
- node72
24
- } from "./persistent-pty-k1gkpfdk.js";
22
+ Service66,
23
+ node68
24
+ } from "./worktree-5eer2xf9.js";
25
25
  import {
26
- Service47,
27
- node51
28
- } from "./persistent-pty-9ex8f1cq.js";
26
+ Service48,
27
+ node50
28
+ } from "./worktree-8aaqm6qj.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./persistent-pty-jexxy024.js";
31
+ } from "./worktree-8q7cq0y1.js";
32
32
  import {
33
33
  latest2,
34
- Service54,
35
- node59
36
- } from "./persistent-pty-rr6jacvf.js";
34
+ Service49,
35
+ node51
36
+ } from "./worktree-rr0tph7c.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./persistent-pty-2gbsvbx5.js";
40
+ } from "./worktree-rzt5b11j.js";
41
41
  import {
42
42
  __export
43
- } from "./persistent-pty-9rqn6x4v.js";
43
+ } from "./worktree-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
@@ -48,10 +48,10 @@ __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
49
  NotFoundError: () => NotFoundError6,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service46,
51
+ Service: () => Service47,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node50
54
+ node: () => node49
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service46 extends Context.Service()("@opencode/Shell") {
73
+ class Service47 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service46, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
90
90
  const bus = yield* Service82;
91
- const location = yield* Service78;
91
+ const location = yield* Service77;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service52;
94
- const environment = yield* Service48;
95
- const hooks = yield* Service68;
96
- const environments = yield* Service47;
97
- const config = yield* Service54;
93
+ const shell = yield* Service55;
94
+ const environment = yield* Service67;
95
+ const hooks = yield* Service66;
96
+ const environments = yield* Service48;
97
+ const config = yield* Service49;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service46, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service46.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service47.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node50 = makeLocationNode({
320
- service: Service46,
319
+ var node49 = makeLocationNode({
320
+ service: Service47,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node86,
324
- node82,
324
+ node81,
325
325
  Global.node,
326
326
  node57,
327
- node52,
328
- node72,
327
+ node69,
328
+ node68,
329
+ node50,
329
330
  node51,
330
- node59,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError6, RETENTION2, DIRECTORY2, Service46, cleanup2, node50, exports_shell4 };
335
+ export { NotFoundError6, RETENTION2, DIRECTORY2, Service47, cleanup2, node49, exports_shell4 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./worktree-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./persistent-pty-qfa1cgps.js";
3
+ } from "./worktree-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./persistent-pty-dj2t23y0.js";
6
+ } from "./worktree-dj2t23y0.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service83
3
- } from "./persistent-pty-hmp6wt3x.js";
3
+ } from "./worktree-6xtgx1bn.js";
4
4
  import {
5
5
  Service82
6
- } from "./persistent-pty-4e13r3ts.js";
6
+ } from "./worktree-e01ptnw8.js";
7
7
  import {
8
- Service60
9
- } from "./persistent-pty-tegs1ycp.js";
8
+ Service45
9
+ } from "./worktree-mx9vqzsb.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./persistent-pty-fxbjtjnd.js";
12
+ } from "./worktree-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./persistent-pty-gftt206x.js";
15
+ } from "./worktree-gftt206x.js";
16
16
  import {
17
17
  NotFoundError9,
18
18
  PromptConflictError2,
@@ -20,55 +20,55 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./persistent-pty-ybhbtxjg.js";
23
+ } from "./worktree-3s810fg1.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./persistent-pty-ec1grn59.js";
26
+ } from "./worktree-ec1grn59.js";
27
27
  import {
28
28
  Service64
29
- } from "./persistent-pty-x5x7kcgs.js";
29
+ } from "./worktree-m3qcd0gh.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service59
34
- } from "./persistent-pty-2wzrjk5c.js";
33
+ Service44
34
+ } from "./worktree-y19g1g3c.js";
35
35
  import {
36
- Service57
37
- } from "./persistent-pty-p52j3anj.js";
36
+ Service42
37
+ } from "./worktree-wb2290kd.js";
38
38
  import {
39
39
  prepare2
40
- } from "./persistent-pty-0akym11d.js";
40
+ } from "./worktree-az11wfvr.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./persistent-pty-v4px02z6.js";
45
+ } from "./worktree-45hwf2ve.js";
46
46
  import {
47
47
  start2
48
- } from "./persistent-pty-yppwdz7t.js";
48
+ } from "./worktree-s4m6wqxh.js";
49
49
  import {
50
50
  get4
51
- } from "./persistent-pty-s4b84khr.js";
51
+ } from "./worktree-x2bnk29x.js";
52
52
  import {
53
53
  __export
54
- } from "./persistent-pty-9rqn6x4v.js";
54
+ } from "./worktree-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make13
60
+ make: () => make12
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make13 = Effect.fn("Session.make")(function* () {
65
+ var make12 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service82;
67
67
  const database = yield* Service83;
68
68
  const store = yield* Service64;
69
- const instances = yield* Service60;
70
- const execution = yield* Service57;
71
- const admission = yield* Service59;
69
+ const instances = yield* Service45;
70
+ const execution = yield* Service42;
71
+ const admission = yield* Service44;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service60, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service45, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service60, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service60, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service60, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service60, instances), Effect.provideService(Service82, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service82, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make13, exports_session2 };
325
+ export { make12, exports_session2 };