@opencode/core 0.0.0-dev-21034 → 0.0.0-dev-21044
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{permission-xqsvy1tg.js → worktree-0296bd6c.js} +11 -11
- package/dist/chunks/{permission-arz7hw7x.js → worktree-08rawchj.js} +3 -3
- package/dist/chunks/{permission-1baefqf3.js → worktree-09kdszyw.js} +13 -13
- package/dist/chunks/{permission-dc2bfpf9.js → worktree-0fr5sr31.js} +17 -17
- package/dist/chunks/{permission-sryhev4y.js → worktree-0hpfwc9a.js} +11 -11
- package/dist/chunks/{permission-q0xm7vwc.js → worktree-0j77ygfz.js} +6 -6
- package/dist/chunks/{permission-ep1dxfdr.js → worktree-0jp2gd70.js} +4 -4
- package/dist/chunks/{permission-z3bm8755.js → worktree-0mm9aq32.js} +9 -9
- package/dist/chunks/{permission-ha8d3m37.js → worktree-0nxfewx3.js} +15 -15
- package/dist/chunks/{permission-d1qanby1.js → worktree-0sjgtn60.js} +4 -4
- package/dist/chunks/{permission-0vbcp93d.js → worktree-0vbcp93d.js} +2 -2
- package/dist/chunks/{permission-bvddf8vf.js → worktree-0vrkd98v.js} +4 -4
- package/dist/chunks/{permission-0hc7hhgr.js → worktree-0xezf9n7.js} +21 -21
- package/dist/chunks/{permission-g8kx0h9e.js → worktree-14z0575r.js} +15 -15
- package/dist/chunks/{permission-rkwes2ma.js → worktree-1bfvb0c5.js} +5 -5
- package/dist/chunks/{permission-e89xj288.js → worktree-1cfb3ja4.js} +5 -5
- package/dist/chunks/{permission-wrr44y83.js → worktree-1cnr1ze3.js} +45 -45
- package/dist/chunks/{permission-1ffvrpkg.js → worktree-1ffvrpkg.js} +2 -2
- package/dist/chunks/{permission-waskdk5r.js → worktree-1j6m29mr.js} +9 -9
- package/dist/chunks/{permission-z8ny8jx3.js → worktree-1qpfn3tg.js} +17 -17
- package/dist/chunks/{permission-r2ah3mqq.js → worktree-20kcyg4f.js} +47 -47
- package/dist/chunks/{permission-7j40s2r4.js → worktree-274sxbd4.js} +11 -11
- package/dist/chunks/{permission-1dx3f2q5.js → worktree-2enf78eb.js} +23 -23
- package/dist/chunks/{permission-x3tt2f5j.js → worktree-2fzw7nf3.js} +20 -20
- package/dist/chunks/worktree-2jnbd3f3.js +253 -0
- package/dist/chunks/{permission-qgn6gcr1.js → worktree-2k8khapm.js} +5 -5
- package/dist/chunks/{permission-tj1csd6t.js → worktree-2t5j91cv.js} +9 -9
- package/dist/chunks/{permission-ttpkrh20.js → worktree-2t8wq7t2.js} +17 -17
- package/dist/chunks/{permission-3m6xk0bp.js → worktree-35c3zvez.js} +29 -29
- package/dist/chunks/{permission-zrhtmc5e.js → worktree-39ed28yb.js} +34 -34
- package/dist/chunks/{permission-zntx85zg.js → worktree-3b80bnbc.js} +10 -10
- package/dist/chunks/{permission-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-d5r8dnpk.js → worktree-3gdnc4sn.js} +17 -17
- package/dist/chunks/{permission-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-3hwn7j4h.js → worktree-3hwn7j4h.js} +2 -2
- package/dist/chunks/{permission-spt5yz3s.js → worktree-3nnccxaq.js} +9 -9
- package/dist/chunks/{permission-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-fjrq0cmg.js → worktree-3v09aqcm.js} +5 -5
- package/dist/chunks/{permission-2n5svhne.js → worktree-3y3fsy4j.js} +3 -3
- package/dist/chunks/{permission-4b7ybz5b.js → worktree-3z45eq7z.js} +16 -16
- package/dist/chunks/{permission-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-6kbd2zbs.js → worktree-431wf54f.js} +14 -14
- package/dist/chunks/{permission-2ghdqs35.js → worktree-4mg6ayqp.js} +20 -20
- package/dist/chunks/{permission-1csb2yrm.js → worktree-4sh0xj3w.js} +28 -28
- package/dist/chunks/{permission-er72b08t.js → worktree-52zw37wk.js} +5 -5
- package/dist/chunks/{permission-54ma36ye.js → worktree-54ma36ye.js} +1 -1
- package/dist/chunks/{permission-7bzkc1rr.js → worktree-56sxvxk2.js} +32 -32
- package/dist/chunks/{permission-7j2pqq7h.js → worktree-59phwr7n.js} +29 -29
- package/dist/chunks/{permission-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{permission-2th8mz0v.js → worktree-5pm97va6.js} +16 -16
- package/dist/chunks/{permission-t9440qjv.js → worktree-5qdw7c1w.js} +7 -7
- package/dist/chunks/{permission-dkkmrv04.js → worktree-5qzk5w75.js} +7 -7
- package/dist/chunks/{permission-3rjtyjd2.js → worktree-5t75nmpp.js} +4 -4
- package/dist/chunks/{permission-14ep8ry0.js → worktree-667j1n9q.js} +35 -35
- package/dist/chunks/{permission-xg7ezs5d.js → worktree-69yp9mph.js} +3 -3
- package/dist/chunks/{permission-jk540des.js → worktree-6g107h22.js} +2 -2
- package/dist/chunks/{permission-a9wjkxfh.js → worktree-6gp0zckj.js} +11 -11
- package/dist/chunks/{permission-cxt8x7ww.js → worktree-6mvtkawg.js} +13 -13
- package/dist/chunks/{permission-dvehvma1.js → worktree-6n0c97dh.js} +4 -4
- package/dist/chunks/{permission-ktqjqn2m.js → worktree-6ts6ce7s.js} +16 -16
- package/dist/chunks/{permission-6xb47vfp.js → worktree-6xb47vfp.js} +1 -1
- package/dist/chunks/{permission-xtc9s16z.js → worktree-716nhc93.js} +11 -11
- package/dist/chunks/{permission-775gj3j1.js → worktree-775gj3j1.js} +2 -2
- package/dist/chunks/{permission-4tafczye.js → worktree-7ab1jc12.js} +20 -20
- package/dist/chunks/{permission-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-1p07q0wb.js → worktree-7fkffz83.js} +2 -2
- package/dist/chunks/{permission-td3rcjyz.js → worktree-7gra0nqm.js} +12 -12
- package/dist/chunks/{permission-se0j3x8r.js → worktree-7jfpk3vs.js} +20 -20
- package/dist/chunks/{permission-vc9ae3va.js → worktree-7ttgb0nd.js} +50 -50
- package/dist/chunks/{permission-p1j7vwh1.js → worktree-7yr5d591.js} +19 -19
- package/dist/chunks/{permission-w7wtcht5.js → worktree-849efwnp.js} +20 -20
- package/dist/chunks/{permission-84txncab.js → worktree-84txncab.js} +1 -1
- package/dist/chunks/{permission-rag5a5h8.js → worktree-867vdmc0.js} +10 -10
- package/dist/chunks/{permission-tcezcvh9.js → worktree-89znhe33.js} +4 -4
- package/dist/chunks/{permission-wx6ysfrr.js → worktree-8f1339w9.js} +5 -5
- package/dist/chunks/{permission-5h6ge2fr.js → worktree-8jmcdnh7.js} +19 -19
- package/dist/chunks/{permission-8m6m0r52.js → worktree-8m6m0r52.js} +1 -1
- package/dist/chunks/{permission-r13tw487.js → worktree-8qc83v7e.js} +4 -4
- package/dist/chunks/{permission-ajc8at71.js → worktree-8v8p5ge9.js} +14 -14
- package/dist/chunks/{permission-648gm199.js → worktree-8zg9y4xf.js} +55 -55
- package/dist/chunks/{permission-q8bf1f5m.js → worktree-95sqqx4e.js} +21 -21
- package/dist/chunks/{permission-gzmh2jz2.js → worktree-95xk19wm.js} +26 -26
- package/dist/chunks/{permission-tpw6cwsb.js → worktree-9hn6k4tm.js} +8 -8
- package/dist/chunks/{permission-8pkvpwbj.js → worktree-9jkjpzrk.js} +37 -37
- package/dist/chunks/{permission-rwe9ykvx.js → worktree-9py6qxwx.js} +10 -10
- package/dist/chunks/{permission-r1bja6w2.js → worktree-9q7v2qnn.js} +13 -13
- package/dist/chunks/{permission-9sgsjpgv.js → worktree-9sgsjpgv.js} +2 -2
- package/dist/chunks/{permission-h7aq57jg.js → worktree-a42z6xrr.js} +11 -11
- package/dist/chunks/{permission-bbbn9fzd.js → worktree-a8kyzpnb.js} +13 -13
- package/dist/chunks/{permission-xgs0xwn0.js → worktree-aeef67my.js} +17 -17
- package/dist/chunks/{permission-sfd48vvp.js → worktree-b3c2e4qp.js} +5 -5
- package/dist/chunks/{permission-scgrse2b.js → worktree-b3f8fkhc.js} +5 -5
- package/dist/chunks/{permission-zd58mz13.js → worktree-b6k8njs9.js} +11 -11
- package/dist/chunks/{permission-maff1z3r.js → worktree-b9gd63k6.js} +13 -13
- package/dist/chunks/{permission-d21twn6y.js → worktree-beed7hnt.js} +83 -83
- package/dist/chunks/{permission-kcmhn17p.js → worktree-bevb4k0a.js} +6 -6
- package/dist/chunks/{permission-efe6kghm.js → worktree-bgtxx6qd.js} +30 -30
- package/dist/chunks/{permission-et7yaydb.js → worktree-bh2h312c.js} +11 -11
- package/dist/chunks/{permission-5zwedtnq.js → worktree-bk8ezkk0.js} +26 -26
- package/dist/chunks/{permission-92t7a21n.js → worktree-bsszwgw7.js} +32 -32
- package/dist/chunks/{permission-rfp1373t.js → worktree-c0gtsr28.js} +57 -57
- package/dist/chunks/{permission-c1fqxshp.js → worktree-c1fqxshp.js} +3 -3
- package/dist/chunks/{permission-23264cxh.js → worktree-c7a7nq54.js} +28 -28
- package/dist/chunks/{permission-b3kkr7qp.js → worktree-c8dwdg4v.js} +25 -25
- package/dist/chunks/{permission-8kdcfzk2.js → worktree-d21xt1cm.js} +13 -13
- package/dist/chunks/{permission-53jpvkec.js → worktree-deq11mm3.js} +17 -17
- package/dist/chunks/{permission-kne8f3cn.js → worktree-dhmh7aw6.js} +4 -4
- package/dist/chunks/{permission-g0n95j50.js → worktree-dn07pamb.js} +10 -10
- package/dist/chunks/{permission-dqxsqydv.js → worktree-dqxsqydv.js} +1 -1
- package/dist/chunks/{permission-7z8gvswz.js → worktree-dsxmv375.js} +9 -9
- package/dist/chunks/{permission-5qd3pb7m.js → worktree-e3qxr5gk.js} +2 -2
- package/dist/chunks/{permission-f43bd211.js → worktree-e9s73vyg.js} +20 -20
- package/dist/chunks/{permission-z0y96w2z.js → worktree-ecb605w9.js} +11 -11
- package/dist/chunks/{permission-mxjpgj4j.js → worktree-ee7eyq7w.js} +8 -8
- package/dist/chunks/{permission-89bb6baa.js → worktree-eeaf82dq.js} +8 -8
- package/dist/chunks/{permission-eej6y6fw.js → worktree-eej6y6fw.js} +2 -2
- package/dist/chunks/{permission-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-b6m4cby7.js → worktree-etsgmb9a.js} +317 -317
- package/dist/chunks/{permission-5vf61gew.js → worktree-fby0yz3e.js} +36 -36
- package/dist/chunks/{permission-dmyyeg6p.js → worktree-ffy7j4h9.js} +19 -19
- package/dist/chunks/{permission-x0c96f0p.js → worktree-fj921hw4.js} +22 -22
- package/dist/chunks/{permission-bda0f28w.js → worktree-fkwcg6pt.js} +11 -11
- package/dist/chunks/{permission-cwa6csj7.js → worktree-ft3hqk2c.js} +9 -9
- package/dist/chunks/{permission-bcq02gdz.js → worktree-fzgjsfgc.js} +30 -30
- package/dist/chunks/{permission-x9t96n0e.js → worktree-g2f11mr5.js} +19 -19
- package/dist/chunks/{permission-9sfdxggx.js → worktree-g3gfrvz4.js} +32 -32
- package/dist/chunks/{permission-5g1sze8q.js → worktree-g6kap4fx.js} +3 -3
- package/dist/chunks/{permission-pkmyvcfm.js → worktree-g71v19aa.js} +25 -25
- package/dist/chunks/{permission-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-nvvt7nj2.js → worktree-grz2r9kj.js} +33 -33
- package/dist/chunks/{permission-r45epcsw.js → worktree-gs51cq9s.js} +9 -9
- package/dist/chunks/{permission-shah6846.js → worktree-gt06s37z.js} +15 -15
- package/dist/chunks/{permission-dhk68jr1.js → worktree-gv9ar1vg.js} +11 -11
- package/dist/chunks/{permission-tpsw7xgg.js → worktree-gyf50hgr.js} +18 -18
- package/dist/chunks/{permission-vx38rsfq.js → worktree-h1vatst2.js} +11 -11
- package/dist/chunks/{permission-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-h7s7r6s9.js → worktree-h7s7r6s9.js} +2 -2
- package/dist/chunks/{permission-g6yfr6ja.js → worktree-h83xjv7f.js} +5 -5
- package/dist/chunks/{permission-yrcj3v3g.js → worktree-h9wp8z5w.js} +4 -4
- package/dist/chunks/{permission-99yn9h4a.js → worktree-h9yqbyhm.js} +6 -6
- package/dist/chunks/{permission-jj72jhew.js → worktree-had4kgfk.js} +6 -6
- package/dist/chunks/{permission-xcanf8j4.js → worktree-hde47968.js} +6 -6
- package/dist/chunks/{permission-8m77a02w.js → worktree-hf9tmbh5.js} +25 -25
- package/dist/chunks/{permission-tgwcphfy.js → worktree-hgwtmp3d.js} +14 -14
- package/dist/chunks/{permission-hgz4x7wa.js → worktree-hgz4x7wa.js} +1 -1
- package/dist/chunks/{permission-j09zfasm.js → worktree-j09zfasm.js} +3 -3
- package/dist/chunks/{permission-dabcn3s5.js → worktree-j3eh7efd.js} +11 -11
- package/dist/chunks/{permission-2gwccfbm.js → worktree-j8kg77fh.js} +28 -28
- package/dist/chunks/{permission-nz6nrzam.js → worktree-jfxk8smp.js} +16 -16
- package/dist/chunks/{permission-909p1r3q.js → worktree-jkp0d30b.js} +6 -6
- package/dist/chunks/{permission-742gqgh1.js → worktree-jt30ntq0.js} +24 -24
- package/dist/chunks/{permission-j8s9ab9g.js → worktree-k185drda.js} +9 -9
- package/dist/chunks/{permission-tm6m41eq.js → worktree-k5qw4hft.js} +8 -8
- package/dist/chunks/{permission-t8bfn5pj.js → worktree-k61z228s.js} +15 -15
- package/dist/chunks/{permission-xm1cm3hv.js → worktree-k6nq8rg4.js} +19 -19
- package/dist/chunks/{permission-tgs1p1xc.js → worktree-ke97j4hd.js} +8 -8
- package/dist/chunks/{permission-egjkkfp9.js → worktree-kh8z24c7.js} +32 -32
- package/dist/chunks/{permission-khmqacep.js → worktree-khmqacep.js} +1 -1
- package/dist/chunks/{permission-kqx1b4hy.js → worktree-kqx1b4hy.js} +4 -4
- package/dist/chunks/{permission-thm23b5q.js → worktree-ksgsanrq.js} +11 -11
- package/dist/chunks/{permission-j9wm7hm3.js → worktree-kt3sjp1b.js} +7 -7
- package/dist/chunks/{permission-kzc3h1h3.js → worktree-kzc3h1h3.js} +1 -1
- package/dist/chunks/{permission-t9cx4xn0.js → worktree-m365tgky.js} +31 -31
- package/dist/chunks/{permission-5nsgr0gj.js → worktree-m5f219rb.js} +21 -21
- package/dist/chunks/{permission-dat9v65c.js → worktree-m6pmp8dy.js} +1 -1
- package/dist/chunks/{permission-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-maspj1v3.js → worktree-maspj1v3.js} +1 -1
- package/dist/chunks/{permission-d5by9a6x.js → worktree-mf27tnfq.js} +24 -24
- package/dist/chunks/{permission-c0qy4m0j.js → worktree-mpngx6ag.js} +33 -33
- package/dist/chunks/{permission-tz1tcexv.js → worktree-neqgramr.js} +18 -18
- package/dist/chunks/{permission-gs3s1a1g.js → worktree-ngts6ef0.js} +8 -8
- package/dist/chunks/{permission-0996nyz8.js → worktree-njhqdk9p.js} +8 -8
- package/dist/chunks/{permission-22erkmks.js → worktree-nkzytket.js} +32 -32
- package/dist/chunks/{permission-4h1gcyaj.js → worktree-nrv3sj1v.js} +29 -29
- package/dist/chunks/{permission-gtwdv3mg.js → worktree-p51f681n.js} +2 -2
- package/dist/chunks/{permission-g8v9wvba.js → worktree-p5vn9pc0.js} +41 -41
- package/dist/chunks/{permission-ytfgcw1m.js → worktree-pcb6a8b5.js} +16 -16
- package/dist/chunks/{permission-0xz6yqwx.js → worktree-pd9fs73p.js} +17 -17
- package/dist/chunks/{permission-7k4why36.js → worktree-pg7j9xfd.js} +5 -5
- package/dist/chunks/{permission-rpf1qvc3.js → worktree-pgp1nwjn.js} +4 -4
- package/dist/chunks/{permission-bkxyw0dr.js → worktree-ph20cxtq.js} +9 -9
- package/dist/chunks/{permission-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{permission-x3yz0wp2.js → worktree-pq1r7b9t.js} +10 -10
- package/dist/chunks/{permission-zaknb5bk.js → worktree-ptx3q924.js} +10 -10
- package/dist/chunks/worktree-qjepztct.js +26 -0
- package/dist/chunks/{permission-qnc92qwc.js → worktree-qnc92qwc.js} +1 -1
- package/dist/chunks/{permission-57b9ws8p.js → worktree-qqeeq2t9.js} +4 -4
- package/dist/chunks/{permission-py3hn6da.js → worktree-qryth85y.js} +5 -5
- package/dist/chunks/{permission-4k4yh3eh.js → worktree-qsadzg18.js} +42 -42
- package/dist/chunks/{permission-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-syt365hw.js → worktree-qx9v9416.js} +9 -9
- package/dist/chunks/{permission-ys73z5xj.js → worktree-qxnzw82z.js} +51 -51
- package/dist/chunks/{permission-wbrh8mmr.js → worktree-qyqa3c06.js} +7 -7
- package/dist/chunks/{permission-e80seqcp.js → worktree-r2z489rp.js} +3 -3
- package/dist/chunks/{permission-g686f6pq.js → worktree-r70na3yp.js} +9 -9
- package/dist/chunks/{permission-t2fc4mz5.js → worktree-ratrq7cm.js} +4 -4
- package/dist/chunks/{permission-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-rert0e01.js → worktree-rert0e01.js} +2 -2
- package/dist/chunks/{permission-mymc06dv.js → worktree-rgpeez64.js} +8 -8
- package/dist/chunks/{permission-rhjbct0v.js → worktree-rhjbct0v.js} +1 -1
- package/dist/chunks/{permission-rj3eygr5.js → worktree-rj3eygr5.js} +2 -2
- package/dist/chunks/{permission-wavnys1r.js → worktree-rm813vtq.js} +8 -8
- package/dist/chunks/{permission-60yjs5dy.js → worktree-rsdk20j4.js} +47 -47
- package/dist/chunks/{permission-mjjd50hp.js → worktree-rw3by220.js} +11 -11
- package/dist/chunks/{permission-pzvfe581.js → worktree-s2enf5ej.js} +13 -13
- package/dist/chunks/{permission-sa8ekw3f.js → worktree-sa8ekw3f.js} +2 -2
- package/dist/chunks/{permission-wg6qbvzk.js → worktree-sdqwrm6h.js} +20 -20
- package/dist/chunks/{permission-4t1p4zp6.js → worktree-sh5ssvt8.js} +11 -11
- package/dist/chunks/{permission-kmgc3kat.js → worktree-smyxharx.js} +26 -26
- package/dist/chunks/{permission-a4kqnag4.js → worktree-sq3q4x2m.js} +4 -4
- package/dist/chunks/{permission-xwek5b6q.js → worktree-sqj96g7w.js} +13 -13
- package/dist/chunks/{permission-syv4x271.js → worktree-syv4x271.js} +1 -1
- package/dist/chunks/{permission-2887bapx.js → worktree-t01nhfnz.js} +24 -24
- package/dist/chunks/{permission-ak6f91g9.js → worktree-t215hqkg.js} +6 -6
- package/dist/chunks/{permission-b8h9y7f5.js → worktree-t6hfbk19.js} +20 -20
- package/dist/chunks/{permission-cx5300j9.js → worktree-tafr0n6k.js} +21 -21
- package/dist/chunks/{permission-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{permission-tm0kqsz3.js → worktree-tm0kqsz3.js} +1 -1
- package/dist/chunks/{permission-153d154m.js → worktree-tpnh9f3m.js} +15 -15
- package/dist/chunks/{permission-938tk9nf.js → worktree-ttng27y8.js} +1 -1
- package/dist/chunks/{permission-tyytaxap.js → worktree-tyytaxap.js} +1 -1
- package/dist/chunks/{permission-pmzgey83.js → worktree-v08nt5ja.js} +12 -12
- package/dist/chunks/{permission-4434d9q2.js → worktree-v0es1rhs.js} +9 -9
- package/dist/chunks/worktree-v1faaxn9.js +18 -0
- package/dist/chunks/{permission-v7p4zvkq.js → worktree-v7p4zvkq.js} +2 -2
- package/dist/chunks/{permission-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-4mq2q23e.js → worktree-vfmvmnac.js} +34 -34
- package/dist/chunks/{permission-45awh1kf.js → worktree-vm0yw9fx.js} +18 -18
- package/dist/chunks/{permission-z1k9g4m5.js → worktree-vnshx00a.js} +3 -3
- package/dist/chunks/{permission-rz5nsjsp.js → worktree-vp59edv1.js} +15 -15
- package/dist/chunks/{permission-hzdwag85.js → worktree-vwsjj8ea.js} +38 -38
- package/dist/chunks/{permission-1wdnxaaj.js → worktree-vyxp6c24.js} +43 -43
- package/dist/chunks/{permission-x1bfa1ah.js → worktree-vz11k4k8.js} +85 -85
- package/dist/chunks/{permission-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-g9ft5mjf.js → worktree-w8zenwda.js} +25 -25
- package/dist/chunks/{permission-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{permission-j2mwqrk9.js → worktree-wkcmpner.js} +6 -6
- package/dist/chunks/{permission-ms78wxrz.js → worktree-wmdkv8mg.js} +3 -3
- package/dist/chunks/{permission-8gh9ssjf.js → worktree-ws86dct2.js} +67 -67
- package/dist/chunks/{permission-xk6srgdn.js → worktree-wypjq10p.js} +22 -22
- package/dist/chunks/{permission-y8wpa335.js → worktree-x2cz5peg.js} +18 -18
- package/dist/chunks/{permission-yxverjr8.js → worktree-x2dmkytt.js} +20 -20
- package/dist/chunks/{permission-dys7k0s0.js → worktree-x5wrmng7.js} +11 -11
- package/dist/chunks/{permission-3y377wv9.js → worktree-x661k3y3.js} +4 -4
- package/dist/chunks/{permission-vk03cjtq.js → worktree-xh7gbsvn.js} +3 -3
- package/dist/chunks/{permission-6k18ajg3.js → worktree-xjje6j52.js} +20 -20
- package/dist/chunks/{permission-1gf2gmws.js → worktree-xjsyyfzz.js} +18 -18
- package/dist/chunks/{permission-qyxmprj2.js → worktree-xr554603.js} +4 -4
- package/dist/chunks/{permission-zcpv5rz7.js → worktree-xrz5dacv.js} +10 -10
- package/dist/chunks/{permission-fm34v9xh.js → worktree-y0qqvbvy.js} +32 -32
- package/dist/chunks/{permission-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-tfkv0wmz.js → worktree-y1z7wqjc.js} +18 -18
- package/dist/chunks/{permission-mn8j277p.js → worktree-y4jcqa2s.js} +17 -17
- package/dist/chunks/{permission-5kbjjhnf.js → worktree-y692y4sj.js} +11 -11
- package/dist/chunks/{permission-y71avatq.js → worktree-y71avatq.js} +1 -1
- package/dist/chunks/{permission-z0yxrh1z.js → worktree-y7v3dsdp.js} +32 -32
- package/dist/chunks/{permission-ck2gdpfz.js → worktree-y7vpfhcb.js} +186 -186
- package/dist/chunks/{permission-34jyn7hz.js → worktree-ybv9y61q.js} +43 -43
- package/dist/chunks/{permission-xk8jcm0s.js → worktree-yc95rny5.js} +46 -46
- package/dist/chunks/{permission-yp2x3t23.js → worktree-yp2x3t23.js} +1 -1
- package/dist/chunks/{permission-pnzf6mjf.js → worktree-yqc6bamn.js} +1 -1
- package/dist/chunks/{permission-rr3czjrw.js → worktree-yr3ekt3k.js} +9 -9
- package/dist/chunks/{permission-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-x1ztzwvb.js → worktree-z341r0zt.js} +17 -17
- package/dist/chunks/{permission-x2k0j4yz.js → worktree-z3v3p3gc.js} +24 -24
- package/dist/chunks/{permission-33298kgb.js → worktree-zb83g9fx.js} +11 -11
- package/dist/chunks/{permission-ffkb5zj3.js → worktree-zev2zscf.js} +8 -8
- package/dist/chunks/{permission-nqxj0yn4.js → worktree-zfme70y8.js} +2 -2
- package/dist/chunks/{permission-xj1aydcy.js → worktree-zjtrsxny.js} +5 -5
- package/dist/chunks/{permission-b674v2dg.js → worktree-zmr78fwr.js} +5 -5
- package/dist/chunks/{permission-1qvp4azq.js → worktree-znkwv8d1.js} +9 -9
- package/dist/chunks/{permission-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-sapmxwcf.js → worktree-zr47jkhm.js} +4 -4
- package/dist/chunks/{permission-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +2 -2
- 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 +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -87
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +76 -76
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/permission-9sh4wc5j.js +0 -18
- package/dist/chunks/permission-qr6jqbwf.js +0 -253
- package/dist/chunks/permission-wzdeabzg.js +0 -26
- /package/dist/chunks/{permission-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2bv980vf.js → worktree-2bv980vf.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3t0ybcrp.js → worktree-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-84wd9syh.js → worktree-84wd9syh.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-m18g726c.js → worktree-m18g726c.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-pkyv6v7h.js → worktree-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{permission-pyv0edze.js → worktree-pyv0edze.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wjj7prxr.js → worktree-wjj7prxr.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options8,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service81
|
|
13
|
+
} from "./worktree-pd9fs73p.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-tafr0n6k.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin16,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin16 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service81;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin16, exports_hg };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node82
|
|
9
|
+
} from "./worktree-z3v3p3gc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./worktree-vfmvmnac.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service2,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node3,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service2 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service79;
|
|
335
|
+
return Service2.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node3 = makeLocationNode({ service: Service2, layer, deps: [node82] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service2, read2, node3, exports_read_filesystem };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-0vrkd98v.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-k61z228s.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Options: () => Options5,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service51,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured6,
|
|
26
|
+
layer: () => layer21,
|
|
27
|
+
node: () => node54
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,25 +35,25 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
39
|
+
var Options5 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service51 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service51, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service84;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service51.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer21 = makeLayer();
|
|
263
|
+
var configured6 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service51,
|
|
265
|
+
layer: options === undefined ? layer21 : makeLayer(options),
|
|
266
266
|
deps: [node88, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node54 = configured6();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options5, UnavailableError2, NotFoundError6, Service51, layer21, configured6, node54, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-0vrkd98v.js";
|
|
5
|
+
import {
|
|
6
|
+
Service75,
|
|
7
|
+
node78
|
|
8
|
+
} from "./worktree-mf27tnfq.js";
|
|
5
9
|
import {
|
|
6
10
|
Service82,
|
|
7
11
|
node86
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service79,
|
|
11
|
-
node83
|
|
12
|
-
} from "./permission-xk8jcm0s.js";
|
|
12
|
+
} from "./worktree-yc95rny5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
14
|
+
Ref4,
|
|
15
|
+
Service81,
|
|
16
|
+
node85
|
|
17
|
+
} from "./worktree-pd9fs73p.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-716nhc93.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service58,
|
|
26
|
+
node61
|
|
27
|
+
} from "./worktree-c0gtsr28.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service21,
|
|
30
|
+
node24
|
|
31
|
+
} from "./worktree-2fzw7nf3.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./worktree-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service18,
|
|
41
|
+
node: () => node20
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service18 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service84;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
52
|
+
const location = yield* Service81;
|
|
53
|
+
const permission = yield* Service58;
|
|
54
|
+
const forms = yield* Service75;
|
|
55
|
+
const rpc = yield* Service21;
|
|
56
|
+
const project = yield* Service82;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -76,19 +76,19 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
76
76
|
yield* forms.close;
|
|
77
77
|
yield* rpc.close;
|
|
78
78
|
yield* bus.publish(LocationEvent.Shutdown, {}, {
|
|
79
|
-
location:
|
|
79
|
+
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service18.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node20 = makeLocationNode({
|
|
89
|
+
service: Service18,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node88,
|
|
91
|
+
deps: [node88, node85, node61, node86, node78, node24]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service18, node20, exports_location_lifecycle };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-y1fvbwt7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service50,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer20,
|
|
15
|
+
node: () => node53,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service50 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer20 = Layer.effect(Service50, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service50.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node53 = makeGlobalNode({ service: Service50, layer: layer20, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service50, layer20, node53, statements2, decision2, exports_managed_policy };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./worktree-pd9fs73p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./worktree-20kcyg4f.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./worktree-tpnh9f3m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make9
|
|
12
|
+
} from "./worktree-r2z489rp.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin40
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin40 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service63;
|
|
36
|
+
const formatter = yield* Service15;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service81;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin45 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make9({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin40, exports_formatter };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./worktree-jkp0d30b.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-v1faaxn9.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-k185drda.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service36
|
|
12
|
+
} from "./worktree-smyxharx.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service48;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-k185drda.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-c0gtsr28.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-j8kg77fh.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-vyxp6c24.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-9q7v2qnn.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./worktree-m365tgky.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID11.make("gpt-5-chat-latest"), ID11.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|