@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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{persistent-pty-9tx45s8b.js → worktree-00npq5hg.js} +42 -42
- package/dist/chunks/{persistent-pty-0zkrmmra.js → worktree-03513dpk.js} +15 -15
- package/dist/chunks/{persistent-pty-6zthmp17.js → worktree-0ahhqjdx.js} +22 -22
- package/dist/chunks/{persistent-pty-sqdxss6w.js → worktree-0edr8emb.js} +11 -11
- package/dist/chunks/{persistent-pty-fvanntqq.js → worktree-0ft9cg2j.js} +6 -6
- package/dist/chunks/{persistent-pty-eaj1djv9.js → worktree-0gdmqesm.js} +8 -8
- package/dist/chunks/{persistent-pty-4pxrwfad.js → worktree-0mkssq3p.js} +24 -24
- package/dist/chunks/{persistent-pty-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-s4mb84p1.js → worktree-1mq78cxw.js} +34 -34
- package/dist/chunks/{persistent-pty-xjbekv6e.js → worktree-1nd760hn.js} +12 -12
- package/dist/chunks/{persistent-pty-wayd1cz3.js → worktree-1p2ds4p0.js} +14 -14
- package/dist/chunks/{persistent-pty-kftvnv3j.js → worktree-1qsv2vsq.js} +21 -21
- package/dist/chunks/{persistent-pty-6tr59r50.js → worktree-1r0y6anp.js} +27 -27
- package/dist/chunks/{persistent-pty-69cccy7z.js → worktree-1sfwps64.js} +18 -18
- package/dist/chunks/{persistent-pty-cv5frkqy.js → worktree-21cb4yfq.js} +1 -1
- package/dist/chunks/{persistent-pty-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-9h0hyds4.js → worktree-22da35st.js} +14 -14
- package/dist/chunks/{persistent-pty-zsphfh87.js → worktree-27w3txew.js} +21 -21
- package/dist/chunks/{persistent-pty-jfcm29bp.js → worktree-28d8znnm.js} +4 -4
- package/dist/chunks/{persistent-pty-r5zvm12r.js → worktree-2993mdqz.js} +5 -5
- package/dist/chunks/{persistent-pty-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-hds23wzw.js → worktree-2hz0qpna.js} +20 -22
- package/dist/chunks/{persistent-pty-qryrftmh.js → worktree-2k92p94a.js} +51 -51
- package/dist/chunks/{persistent-pty-xjebcb6c.js → worktree-2w250fb9.js} +9 -9
- package/dist/chunks/{persistent-pty-hnac9jpe.js → worktree-2yyeacqq.js} +12 -12
- package/dist/chunks/{persistent-pty-d0fsejzd.js → worktree-2zj1evwc.js} +30 -30
- package/dist/chunks/{persistent-pty-tbgyadps.js → worktree-32g4c5x7.js} +8 -8
- package/dist/chunks/{persistent-pty-tnasdg6y.js → worktree-33gh8jtn.js} +28 -28
- package/dist/chunks/{persistent-pty-56gdpj1q.js → worktree-33w4ejhs.js} +6 -6
- package/dist/chunks/{persistent-pty-zq3sp2de.js → worktree-36g34y2m.js} +28 -28
- package/dist/chunks/{persistent-pty-6p5ms1em.js → worktree-3885gykz.js} +27 -27
- package/dist/chunks/{persistent-pty-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/worktree-3p652h0e.js +26 -0
- package/dist/chunks/{persistent-pty-ybhbtxjg.js → worktree-3s810fg1.js} +3 -3
- package/dist/chunks/{persistent-pty-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-ab8cnxkj.js → worktree-421r5d5v.js} +12 -12
- package/dist/chunks/{persistent-pty-v4px02z6.js → worktree-45hwf2ve.js} +20 -20
- package/dist/chunks/{persistent-pty-jcz9anth.js → worktree-46dahfew.js} +47 -47
- package/dist/chunks/{persistent-pty-rvt9ga0f.js → worktree-486a1zpr.js} +14 -14
- package/dist/chunks/{persistent-pty-tfxzrdmk.js → worktree-4947sgj4.js} +3 -3
- package/dist/chunks/{persistent-pty-bsgfsq91.js → worktree-4wx50nne.js} +16 -16
- package/dist/chunks/{persistent-pty-7fmgbjr3.js → worktree-51a1jr9z.js} +9 -9
- package/dist/chunks/{persistent-pty-13f6jh0f.js → worktree-54h1gy1n.js} +28 -28
- package/dist/chunks/{persistent-pty-71vt42kc.js → worktree-58rxp6d3.js} +5 -5
- package/dist/chunks/{persistent-pty-5c4hm403.js → worktree-5c4hm403.js} +3 -3
- package/dist/chunks/{persistent-pty-gb9jw3zf.js → worktree-5ca5497x.js} +6 -6
- package/dist/chunks/{persistent-pty-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-grhxn6he.js → worktree-5dmcr3b1.js} +25 -25
- package/dist/chunks/{persistent-pty-k1gkpfdk.js → worktree-5eer2xf9.js} +8 -8
- package/dist/chunks/{persistent-pty-a3r4dcrj.js → worktree-5frpvc34.js} +2 -2
- package/dist/chunks/{persistent-pty-t808dn5w.js → worktree-5gq0j8y6.js} +40 -40
- package/dist/chunks/{persistent-pty-5h8807ma.js → worktree-5gvw5jwx.js} +20 -20
- package/dist/chunks/{persistent-pty-brg56pc6.js → worktree-5kq5qec8.js} +26 -26
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → worktree-5mtzsd3b.js} +4 -4
- package/dist/chunks/{persistent-pty-65w3833t.js → worktree-5pdqrmgg.js} +13 -13
- package/dist/chunks/{persistent-pty-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-r4wc6fxm.js → worktree-5w1b7248.js} +3 -3
- package/dist/chunks/worktree-619r8v3y.js +18 -0
- package/dist/chunks/{persistent-pty-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-epqb7qpy.js → worktree-6f8fr4j0.js} +5 -5
- package/dist/chunks/{persistent-pty-1g2zd6q9.js → worktree-6ggbzja4.js} +5 -5
- package/dist/chunks/{persistent-pty-2402vzrj.js → worktree-6h73sxmp.js} +5 -5
- package/dist/chunks/{persistent-pty-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-h6jr292a.js → worktree-6rjq4ad6.js} +4 -4
- package/dist/chunks/{persistent-pty-r2w5wzr7.js → worktree-6rywya1e.js} +10 -10
- package/dist/chunks/{persistent-pty-mg83pbjr.js → worktree-6wg7wrda.js} +8 -8
- package/dist/chunks/{persistent-pty-0ke265bw.js → worktree-6x0h2hvg.js} +9 -9
- package/dist/chunks/{persistent-pty-hmp6wt3x.js → worktree-6xtgx1bn.js} +3 -3
- package/dist/chunks/worktree-6ysrkrkr.js +28 -0
- package/dist/chunks/{persistent-pty-yqz4sd6t.js → worktree-77aa2ptm.js} +5 -5
- package/dist/chunks/{persistent-pty-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-2k8khapm.js → worktree-7dqw4kz8.js} +5 -5
- package/dist/chunks/{persistent-pty-4z7tbtat.js → worktree-7jx0v3wz.js} +11 -11
- package/dist/chunks/{persistent-pty-xcrk435t.js → worktree-7k8hwkm4.js} +16 -16
- package/dist/chunks/{persistent-pty-axwsqknt.js → worktree-7x8vr9wx.js} +32 -32
- package/dist/chunks/{persistent-pty-6n88yxkj.js → worktree-818pfwc9.js} +8 -8
- package/dist/chunks/{persistent-pty-ta417yjh.js → worktree-83da929p.js} +33 -33
- package/dist/chunks/{persistent-pty-0rqdjtcb.js → worktree-87tqv0m9.js} +4 -4
- package/dist/chunks/{persistent-pty-mbgq0mmx.js → worktree-899bmpw2.js} +6 -6
- package/dist/chunks/{persistent-pty-9ex8f1cq.js → worktree-8aaqm6qj.js} +8 -8
- package/dist/chunks/{persistent-pty-jpxb4059.js → worktree-8c88k4y9.js} +11 -11
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-w18y63wv.js → worktree-8dged86n.js} +24 -24
- package/dist/chunks/{persistent-pty-jexxy024.js → worktree-8q7cq0y1.js} +3 -3
- package/dist/chunks/{persistent-pty-qt5mdn6g.js → worktree-940d36ge.js} +15 -15
- package/dist/chunks/{persistent-pty-hv2snex1.js → worktree-97qjdx9c.js} +37 -20
- package/dist/chunks/{persistent-pty-de5mzfxd.js → worktree-9aeamryp.js} +26 -26
- package/dist/chunks/{persistent-pty-encztx8n.js → worktree-9ftphk66.js} +24 -24
- package/dist/chunks/{persistent-pty-s83kg3p0.js → worktree-9vmxtf8m.js} +15 -15
- package/dist/chunks/{persistent-pty-4kg54np8.js → worktree-9wg8f7rp.js} +19 -19
- package/dist/chunks/{persistent-pty-r72bb3g5.js → worktree-9yk5tkmn.js} +8 -8
- package/dist/chunks/{persistent-pty-deq2z4hf.js → worktree-a3w3ek2p.js} +5 -5
- package/dist/chunks/{persistent-pty-fwft7q1r.js → worktree-a70dqpwr.js} +5 -5
- package/dist/chunks/{persistent-pty-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-6vrsc7tt.js → worktree-ab5e65y7.js} +18 -18
- package/dist/chunks/{persistent-pty-ytqvkck2.js → worktree-adrjdcdv.js} +5 -5
- package/dist/chunks/{persistent-pty-xaftkv44.js → worktree-ae05hxc9.js} +49 -49
- package/dist/chunks/{persistent-pty-bph3v013.js → worktree-ag8e42mr.js} +30 -30
- package/dist/chunks/{persistent-pty-cdq49ytp.js → worktree-akvwcqv3.js} +23 -23
- package/dist/chunks/{persistent-pty-cwtvnkts.js → worktree-anv5cbp8.js} +8 -8
- package/dist/chunks/{persistent-pty-75q2ps1k.js → worktree-asqy4pdp.js} +1 -1
- package/dist/chunks/{persistent-pty-2y34zzjz.js → worktree-awaee7qt.js} +6 -6
- package/dist/chunks/{persistent-pty-0akym11d.js → worktree-az11wfvr.js} +16 -16
- package/dist/chunks/{persistent-pty-wk2ay995.js → worktree-b04n12yt.js} +42 -42
- package/dist/chunks/{persistent-pty-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-patgj9rf.js → worktree-b6xy6jda.js} +9 -9
- package/dist/chunks/{persistent-pty-82ahnwkf.js → worktree-bc773w9a.js} +20 -20
- package/dist/chunks/{persistent-pty-gnx4ytbv.js → worktree-bg2gq5qa.js} +4 -4
- package/dist/chunks/{persistent-pty-p0h2c1j9.js → worktree-bw8gdwks.js} +10 -10
- package/dist/chunks/{persistent-pty-sz24j28z.js → worktree-c282yhkm.js} +41 -41
- package/dist/chunks/{persistent-pty-n36xcpgr.js → worktree-ccenzmm6.js} +10 -10
- package/dist/chunks/{persistent-pty-yt0fqk68.js → worktree-cr07tj7n.js} +5 -5
- package/dist/chunks/{persistent-pty-jzphxtev.js → worktree-d5z19hk1.js} +10 -10
- package/dist/chunks/{persistent-pty-4yy5d4qw.js → worktree-d96qny3q.js} +5 -5
- package/dist/chunks/{persistent-pty-mfs5sj5t.js → worktree-depwh34e.js} +9 -9
- package/dist/chunks/{persistent-pty-9c77jpjf.js → worktree-dg6kkwqt.js} +3 -3
- package/dist/chunks/{persistent-pty-dj2t23y0.js → worktree-dj2t23y0.js} +2 -2
- package/dist/chunks/{persistent-pty-q8pxfdwq.js → worktree-dn7365jx.js} +4 -4
- package/dist/chunks/{persistent-pty-p513dnzd.js → worktree-dnjvrtng.js} +175 -175
- package/dist/chunks/{persistent-pty-dpkg50ah.js → worktree-dpkg50ah.js} +1 -1
- package/dist/chunks/{persistent-pty-xfkkasph.js → worktree-drwq78ky.js} +4 -4
- package/dist/chunks/{persistent-pty-ysfwx83j.js → worktree-dvxrp605.js} +8 -8
- package/dist/chunks/{persistent-pty-4e13r3ts.js → worktree-e01ptnw8.js} +4 -4
- package/dist/chunks/{persistent-pty-2rnnjxth.js → worktree-e47wcd5s.js} +7 -7
- package/dist/chunks/{persistent-pty-gxr7q3nf.js → worktree-ebmcp6jg.js} +20 -20
- package/dist/chunks/{persistent-pty-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-e84rd1xk.js → worktree-efqd9j5j.js} +32 -32
- package/dist/chunks/{persistent-pty-qw85ht6d.js → worktree-epqzss3m.js} +31 -31
- package/dist/chunks/{persistent-pty-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-tvtydw96.js → worktree-esh8snah.js} +43 -43
- package/dist/chunks/{persistent-pty-7s8gb34t.js → worktree-etkky4xb.js} +26 -26
- package/dist/chunks/{persistent-pty-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-3w0fmcng.js → worktree-evbgk2k8.js} +5 -5
- package/dist/chunks/{persistent-pty-r2a07nrz.js → worktree-evq1m25b.js} +13 -13
- package/dist/chunks/{persistent-pty-nm55ymfc.js → worktree-ex22b358.js} +22 -22
- package/dist/chunks/{persistent-pty-jvekhsax.js → worktree-f7ehr1hv.js} +6 -6
- package/dist/chunks/{persistent-pty-bz85s9hh.js → worktree-fch79rh9.js} +1 -1
- package/dist/chunks/{persistent-pty-68tggvtb.js → worktree-fd7j5y5t.js} +11 -11
- package/dist/chunks/{persistent-pty-44ke2mar.js → worktree-fkjmw100.js} +6 -6
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-j9vp638d.js → worktree-g0jbnnkv.js} +37 -37
- package/dist/chunks/{persistent-pty-k2h4r4s0.js → worktree-g190xswt.js} +4 -4
- package/dist/chunks/{persistent-pty-74fmk9vn.js → worktree-g2swn6b7.js} +23 -23
- package/dist/chunks/{persistent-pty-w6qqzf7t.js → worktree-g2xawn2z.js} +2 -2
- package/dist/chunks/{persistent-pty-wcycnpg6.js → worktree-g3jdw4qe.js} +11 -11
- package/dist/chunks/{persistent-pty-k6w2t1ya.js → worktree-g91wcgpj.js} +4 -4
- package/dist/chunks/{persistent-pty-w65z2jz3.js → worktree-g9p6zv33.js} +8 -8
- package/dist/chunks/{persistent-pty-2ym62d1y.js → worktree-ganm2r9k.js} +3 -3
- package/dist/chunks/{persistent-pty-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-x38sqvf4.js → worktree-gdexxn2e.js} +3 -3
- package/dist/chunks/{persistent-pty-nyacxbzj.js → worktree-gsnqjxmg.js} +40 -40
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-hdnk95c8.js → worktree-hdnk95c8.js} +2 -2
- package/dist/chunks/{persistent-pty-1w7qre35.js → worktree-hepbeetm.js} +29 -29
- package/dist/chunks/{persistent-pty-td55jj2j.js → worktree-hjxmeyjq.js} +22 -22
- package/dist/chunks/{persistent-pty-8hz3g5y0.js → worktree-hmcspfjz.js} +10 -10
- package/dist/chunks/{persistent-pty-kkzayper.js → worktree-hxmf60ar.js} +23 -23
- package/dist/chunks/{persistent-pty-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-5rfwsh5d.js → worktree-j6fv3d6x.js} +3 -3
- package/dist/chunks/{persistent-pty-554knveg.js → worktree-j6q6f4de.js} +36 -35
- package/dist/chunks/{persistent-pty-3fs6smyb.js → worktree-j7fts5t0.js} +11 -11
- package/dist/chunks/{persistent-pty-vncycja5.js → worktree-j83byb14.js} +4 -4
- package/dist/chunks/{persistent-pty-4113bgx8.js → worktree-jc7s5yzp.js} +11 -11
- package/dist/chunks/{persistent-pty-yr8p71ks.js → worktree-jpz4t714.js} +17 -17
- package/dist/chunks/{persistent-pty-4acetgwp.js → worktree-jqjs9tcv.js} +4 -4
- package/dist/chunks/{persistent-pty-j58c5xyq.js → worktree-jzzy94zk.js} +9 -9
- package/dist/chunks/worktree-k75g3hfp.js +60 -0
- package/dist/chunks/{persistent-pty-92xv3hjf.js → worktree-k7xvw3dw.js} +15 -15
- package/dist/chunks/{persistent-pty-afdssyjb.js → worktree-kne8f3cn.js} +4 -4
- package/dist/chunks/{persistent-pty-wngp58at.js → worktree-kqhyc4a5.js} +24 -24
- package/dist/chunks/{persistent-pty-63mpdmm6.js → worktree-kw4nys0v.js} +26 -26
- package/dist/chunks/{persistent-pty-m0jqrx5p.js → worktree-m0jqrx5p.js} +2 -2
- package/dist/chunks/{persistent-pty-5rt7pep6.js → worktree-m2ma7v7h.js} +3 -3
- package/dist/chunks/{persistent-pty-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-x5x7kcgs.js → worktree-m3qcd0gh.js} +8 -8
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-57sn279e.js → worktree-mc0tbgbx.js} +10 -10
- package/dist/chunks/{persistent-pty-s8cev9wy.js → worktree-mdk3y3z1.js} +22 -22
- package/dist/chunks/{persistent-pty-06dxphr1.js → worktree-mfhfdr54.js} +4 -4
- package/dist/chunks/{persistent-pty-mvfsc1pv.js → worktree-mhkvc446.js} +3 -3
- package/dist/chunks/{persistent-pty-qr405v0d.js → worktree-mps7kt98.js} +10 -10
- package/dist/chunks/{persistent-pty-tegs1ycp.js → worktree-mx9vqzsb.js} +6 -6
- package/dist/chunks/{persistent-pty-1p0trksj.js → worktree-n2k8kfr2.js} +10 -10
- package/dist/chunks/{persistent-pty-n4j23rry.js → worktree-nbhvjqq0.js} +16 -16
- package/dist/chunks/{persistent-pty-6yh2fsej.js → worktree-nce5244k.js} +24 -24
- package/dist/chunks/{persistent-pty-qsx6xwjc.js → worktree-njzmkv4t.js} +18 -18
- package/dist/chunks/{persistent-pty-m2d0j7c0.js → worktree-nq7qbqzc.js} +9 -9
- package/dist/chunks/{persistent-pty-nqyhrfcc.js → worktree-nqyhrfcc.js} +1 -1
- package/dist/chunks/{persistent-pty-k3c624dm.js → worktree-nzks3jc8.js} +3 -3
- package/dist/chunks/{persistent-pty-tbz0fdvh.js → worktree-p28j5sbe.js} +5 -5
- package/dist/chunks/{persistent-pty-jsqr29s7.js → worktree-pgd96ws3.js} +29 -29
- package/dist/chunks/{persistent-pty-s9ax1raf.js → worktree-phvc5gz1.js} +33 -33
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-5531r29v.js → worktree-pk05hrqc.js} +28 -28
- package/dist/chunks/{persistent-pty-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-jsx9wcxe.js → worktree-pnbzcb80.js} +11 -11
- package/dist/chunks/{persistent-pty-twca9fjq.js → worktree-q3brf889.js} +7 -7
- package/dist/chunks/{persistent-pty-ze9ygk7z.js → worktree-q7b8tk1j.js} +15 -15
- package/dist/chunks/{persistent-pty-vg6ckggx.js → worktree-q9em23va.js} +59 -59
- package/dist/chunks/{persistent-pty-b27vhd2z.js → worktree-qm0v3jhh.js} +7 -7
- package/dist/chunks/{persistent-pty-d4he2qe1.js → worktree-qmqgtz8f.js} +9 -9
- package/dist/chunks/{persistent-pty-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-bmcyf7gj.js → worktree-qtp3z5jz.js} +20 -20
- package/dist/chunks/{persistent-pty-e8qyrgb1.js → worktree-qvreyy9g.js} +5 -5
- package/dist/chunks/{persistent-pty-btpphd88.js → worktree-qy3x5fkw.js} +30 -30
- package/dist/chunks/{persistent-pty-61h0qsnp.js → worktree-qzj3p1a8.js} +17 -17
- package/dist/chunks/{persistent-pty-mmmrdbr8.js → worktree-r4xk7wzn.js} +11 -11
- package/dist/chunks/{persistent-pty-jdvrzx2t.js → worktree-r9dtcy7v.js} +11 -11
- package/dist/chunks/{persistent-pty-p84dsdfh.js → worktree-rbykwf8h.js} +8 -8
- package/dist/chunks/{persistent-pty-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-t4nhm12y.js → worktree-rfw8gvq9.js} +7 -7
- package/dist/chunks/{persistent-pty-rr6jacvf.js → worktree-rr0tph7c.js} +41 -41
- package/dist/chunks/{persistent-pty-431eg44t.js → worktree-rr5qrs97.js} +13 -13
- package/dist/chunks/{persistent-pty-ffw5jcp2.js → worktree-rw0j17jy.js} +17 -17
- package/dist/chunks/{persistent-pty-ytpw4txd.js → worktree-ryvvaahd.js} +14 -14
- package/dist/chunks/{persistent-pty-2gbsvbx5.js → worktree-rzt5b11j.js} +12 -12
- package/dist/chunks/{persistent-pty-vcdb3gbk.js → worktree-s003wxah.js} +3 -3
- package/dist/chunks/{persistent-pty-yppwdz7t.js → worktree-s4m6wqxh.js} +9 -9
- package/dist/chunks/worktree-s58zdxfq.js +503 -0
- package/dist/chunks/{persistent-pty-b7r080c3.js → worktree-sa6gj9bw.js} +15 -15
- package/dist/chunks/{persistent-pty-rya495mf.js → worktree-sbwttkaf.js} +11 -11
- package/dist/chunks/{persistent-pty-n2eg1d0h.js → worktree-spdrvks9.js} +22 -22
- package/dist/chunks/{persistent-pty-edwvx061.js → worktree-stz8t2v6.js} +4 -4
- package/dist/chunks/{persistent-pty-h4eh15d6.js → worktree-swxr5sk9.js} +20 -20
- package/dist/chunks/{persistent-pty-q3j5ebgq.js → worktree-t1np0tqc.js} +17 -17
- package/dist/chunks/{persistent-pty-8y3s9r1h.js → worktree-t2ebar3s.js} +6 -6
- package/dist/chunks/{persistent-pty-tvc0b3mj.js → worktree-t3m7g1te.js} +5 -5
- package/dist/chunks/{persistent-pty-2hsgj57k.js → worktree-t6191ead.js} +30 -30
- package/dist/chunks/{persistent-pty-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-jtwa0aj6.js → worktree-tpj75mzy.js} +17 -17
- package/dist/chunks/{persistent-pty-br0tr5aq.js → worktree-tpw6cwsb.js} +8 -8
- package/dist/chunks/{persistent-pty-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-z52a6mw5.js → worktree-twn8y427.js} +15 -15
- package/dist/chunks/{persistent-pty-90y57r1y.js → worktree-v1szefp9.js} +21 -21
- package/dist/chunks/{persistent-pty-dtwkq6be.js → worktree-v731dxt6.js} +13 -13
- package/dist/chunks/{persistent-pty-4vdcjjmt.js → worktree-v7j76yb7.js} +13 -13
- package/dist/chunks/{persistent-pty-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-xcjhgh37.js → worktree-vfnexndp.js} +6 -6
- package/dist/chunks/{persistent-pty-3gs18der.js → worktree-vrd7bw94.js} +22 -22
- package/dist/chunks/{persistent-pty-3ewed21c.js → worktree-vycw7md4.js} +4 -4
- package/dist/chunks/{persistent-pty-t71v2ka4.js → worktree-vykevjvn.js} +5 -5
- package/dist/chunks/{persistent-pty-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-6p7zr8ep.js → worktree-w049avsm.js} +23 -23
- package/dist/chunks/{persistent-pty-mnaz46m9.js → worktree-w2a0me0w.js} +88 -88
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-p52j3anj.js → worktree-wb2290kd.js} +36 -36
- package/dist/chunks/{persistent-pty-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-aba8dj31.js → worktree-wg3ah9vk.js} +15 -15
- package/dist/chunks/{persistent-pty-r449bwkw.js → worktree-wt3fns9r.js} +11 -11
- package/dist/chunks/{persistent-pty-hq654dja.js → worktree-wzhchsdw.js} +23 -23
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-s4b84khr.js → worktree-x2bnk29x.js} +9 -9
- package/dist/chunks/{persistent-pty-p4a5cx5p.js → worktree-x2r5cysr.js} +15 -15
- package/dist/chunks/worktree-x9psk7ht.js +252 -0
- package/dist/chunks/{persistent-pty-41ssmn02.js → worktree-xrhwvysg.js} +85 -85
- package/dist/chunks/{persistent-pty-vmnj2x1v.js → worktree-y0fk3wmz.js} +12 -12
- package/dist/chunks/{persistent-pty-2wzrjk5c.js → worktree-y19g1g3c.js} +24 -24
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-78b8afjy.js → worktree-yaf95dqt.js} +11 -11
- package/dist/chunks/{persistent-pty-kfgf5fep.js → worktree-yd28dp38.js} +22 -22
- package/dist/chunks/{persistent-pty-qdwxcfza.js → worktree-ydcyakjt.js} +9 -9
- package/dist/chunks/{persistent-pty-ace40s22.js → worktree-yhc2vnw0.js} +10 -10
- package/dist/chunks/{persistent-pty-qn4ba14w.js → worktree-yjptyezs.js} +5 -5
- package/dist/chunks/{persistent-pty-rhraev7y.js → worktree-yp2x3t23.js} +4 -4
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-va45f1s8.js → worktree-yxy08kjz.js} +32 -32
- package/dist/chunks/{persistent-pty-sxn79y37.js → worktree-yyk09s5y.js} +6 -6
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-p3x7gx7a.js → worktree-z6s2ptjh.js} +23 -23
- package/dist/chunks/{persistent-pty-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-5dbxvay1.js → worktree-zfjnvatg.js} +22 -22
- package/dist/chunks/{persistent-pty-26v7198b.js → worktree-zqerkhaz.js} +30 -30
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +129 -129
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -356
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +10 -0
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/config/plugin/policy.d.ts +2 -1
- package/dist/types/managed-policy.d.ts +19 -0
- package/dist/types/plugin/internal.d.ts +4 -2
- package/dist/types/plugin/provider/opencode.d.ts +2 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-7h3cdw3p.js +0 -252
- package/dist/chunks/persistent-pty-a7qcy6v8.js +0 -26
- package/dist/chunks/persistent-pty-dxj72tfx.js +0 -18
- package/dist/chunks/persistent-pty-fsy2n4n3.js +0 -49
- package/dist/chunks/persistent-pty-mj93e3gy.js +0 -492
- /package/dist/chunks/{persistent-pty-0mesazry.js → worktree-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info16
|
|
6
|
+
} from "./worktree-g190xswt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info15
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info16)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info15, exports_agent3 };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./worktree-421r5d5v.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service77,
|
|
13
|
+
node81
|
|
14
|
+
} from "./worktree-nbhvjqq0.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service56,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node58,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service56 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service79;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service77;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service56.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node58 = makeLocationNode({
|
|
144
|
+
service: Service56,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, Global.node, node81]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service56, Service56.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service34, Service34.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service56, node58, noopLayer3, exports_snapshot2 };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-3s810fg1.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-1mq78cxw.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-pgd96ws3.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-evq1m25b.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./worktree-t6191ead.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service49
|
|
7
|
+
} from "./worktree-rr0tph7c.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service71;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service49);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service48,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node50
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service48 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service48, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service48.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service47, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node50 = makeGlobalNode({ service: Service48, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service48, node50, exports_environment };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./worktree-spdrvks9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./worktree-rr0tph7c.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-5ca5497x.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin45
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin45 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service49;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service50;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin20 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin45, exports_compatibility };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-nzks3jc8.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service59,
|
|
17
|
+
node61
|
|
18
|
+
} from "./worktree-b6xy6jda.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service66,
|
|
21
|
+
node68
|
|
22
|
+
} from "./worktree-5eer2xf9.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service58,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node60
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service58 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service66;
|
|
58
|
+
const image = yield* Service59;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service58.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node60 = makeLocationNode({
|
|
277
|
+
service: Service58,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node68, node61]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service58, node60, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID9 = Session.ID;
|
|
5
|
+
var Info22 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID9, Info22, SessionSchema2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID17,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-1qsv2vsq.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-1mq78cxw.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin30
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin30 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin44 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID17.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID17.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin44 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID17.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID17.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID17.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin44 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin30, exports_agent };
|