@opencode/core 0.0.0-dev-21040 → 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/{mime-8m6gnkp5.js → worktree-0296bd6c.js} +11 -11
- package/dist/chunks/{mime-m5jcjszt.js → worktree-08rawchj.js} +2 -2
- package/dist/chunks/{mime-p6ax3407.js → worktree-09kdszyw.js} +11 -11
- package/dist/chunks/{mime-1bn046zq.js → worktree-0fr5sr31.js} +17 -17
- package/dist/chunks/{mime-74sj64d5.js → worktree-0hpfwc9a.js} +13 -13
- package/dist/chunks/{mime-q0xm7vwc.js → worktree-0j77ygfz.js} +6 -6
- package/dist/chunks/{mime-050xtdf8.js → worktree-0jp2gd70.js} +4 -4
- package/dist/chunks/{mime-qhexs5yx.js → worktree-0mm9aq32.js} +18 -18
- package/dist/chunks/{mime-07965hzr.js → worktree-0nxfewx3.js} +18 -18
- package/dist/chunks/{mime-w56fr51s.js → worktree-0sjgtn60.js} +4 -4
- package/dist/chunks/{mime-0vbcp93d.js → worktree-0vbcp93d.js} +2 -2
- package/dist/chunks/{mime-sg7jdfe4.js → worktree-0vrkd98v.js} +4 -4
- package/dist/chunks/{mime-ejcpmtps.js → worktree-0xezf9n7.js} +27 -27
- package/dist/chunks/{mime-78s9dq41.js → worktree-14z0575r.js} +15 -15
- package/dist/chunks/{mime-q7ttfbsd.js → worktree-1bfvb0c5.js} +5 -5
- package/dist/chunks/{mime-dfzjqex4.js → worktree-1cfb3ja4.js} +5 -5
- package/dist/chunks/{mime-kay1zs2t.js → worktree-1cnr1ze3.js} +45 -45
- package/dist/chunks/{mime-bjx1sjef.js → worktree-1ffvrpkg.js} +6 -6
- package/dist/chunks/{mime-txm3e8qz.js → worktree-1j6m29mr.js} +9 -9
- package/dist/chunks/{mime-0vjek7f6.js → worktree-1qpfn3tg.js} +17 -17
- package/dist/chunks/{mime-ta0smedg.js → worktree-20kcyg4f.js} +45 -45
- package/dist/chunks/{mime-d4kct8rx.js → worktree-274sxbd4.js} +14 -14
- package/dist/chunks/{mime-0x1pdtng.js → worktree-2enf78eb.js} +23 -23
- package/dist/chunks/{mime-a1gprgvs.js → worktree-2fzw7nf3.js} +15 -15
- package/dist/chunks/worktree-2jnbd3f3.js +253 -0
- package/dist/chunks/{mime-7dqw4kz8.js → worktree-2k8khapm.js} +5 -5
- package/dist/chunks/{mime-ba2ek88a.js → worktree-2t5j91cv.js} +9 -9
- package/dist/chunks/{mime-984f2ybn.js → worktree-2t8wq7t2.js} +17 -17
- package/dist/chunks/{mime-qe9cja5v.js → worktree-35c3zvez.js} +24 -24
- package/dist/chunks/{mime-25bf223w.js → worktree-39ed28yb.js} +25 -25
- package/dist/chunks/{mime-15rpx8aj.js → worktree-3b80bnbc.js} +10 -10
- package/dist/chunks/{mime-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-109ybz4f.js → worktree-3gdnc4sn.js} +13 -13
- package/dist/chunks/{mime-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-3hwn7j4h.js → worktree-3hwn7j4h.js} +2 -2
- package/dist/chunks/{mime-xbr5rkwb.js → worktree-3nnccxaq.js} +9 -9
- package/dist/chunks/{mime-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-pz5b1pah.js → worktree-3v09aqcm.js} +5 -5
- package/dist/chunks/{mime-nhqmpqry.js → worktree-3y3fsy4j.js} +3 -3
- package/dist/chunks/{mime-0p8e2j75.js → worktree-3z45eq7z.js} +16 -16
- package/dist/chunks/{mime-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-y2vzq5h6.js → worktree-431wf54f.js} +16 -16
- package/dist/chunks/{mime-vesg7vyr.js → worktree-4mg6ayqp.js} +20 -20
- package/dist/chunks/{mime-a465zkn0.js → worktree-4sh0xj3w.js} +30 -30
- package/dist/chunks/{mime-mqb0p7pg.js → worktree-52zw37wk.js} +5 -5
- package/dist/chunks/{mime-54ma36ye.js → worktree-54ma36ye.js} +1 -1
- package/dist/chunks/{mime-nncd61c2.js → worktree-56sxvxk2.js} +32 -32
- package/dist/chunks/{mime-jh86bj30.js → worktree-59phwr7n.js} +29 -29
- package/dist/chunks/{mime-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{mime-fxsx3k7c.js → worktree-5pm97va6.js} +16 -16
- package/dist/chunks/{mime-z5w93em6.js → worktree-5qdw7c1w.js} +14 -14
- package/dist/chunks/{mime-a3a1kd57.js → worktree-5qzk5w75.js} +7 -7
- package/dist/chunks/{mime-v0fktwpp.js → worktree-5t75nmpp.js} +4 -4
- package/dist/chunks/{mime-wy8qa55f.js → worktree-667j1n9q.js} +33 -33
- package/dist/chunks/{mime-gaffhmcy.js → worktree-69yp9mph.js} +3 -3
- package/dist/chunks/{mime-jk540des.js → worktree-6g107h22.js} +2 -2
- package/dist/chunks/{mime-6k3mcxsj.js → worktree-6gp0zckj.js} +11 -11
- package/dist/chunks/{mime-826e8q9w.js → worktree-6mvtkawg.js} +13 -13
- package/dist/chunks/{mime-7ny7wjsd.js → worktree-6n0c97dh.js} +4 -4
- package/dist/chunks/{mime-rpesnf7a.js → worktree-6ts6ce7s.js} +18 -18
- package/dist/chunks/{mime-6xb47vfp.js → worktree-6xb47vfp.js} +1 -1
- package/dist/chunks/{mime-wswphd9c.js → worktree-716nhc93.js} +9 -9
- package/dist/chunks/{mime-775gj3j1.js → worktree-775gj3j1.js} +2 -2
- package/dist/chunks/{mime-bh8ytvkx.js → worktree-7ab1jc12.js} +23 -23
- package/dist/chunks/{mime-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-8sze2n9a.js → worktree-7fkffz83.js} +8 -8
- package/dist/chunks/{mime-fqwbcgn7.js → worktree-7gra0nqm.js} +12 -12
- package/dist/chunks/{mime-6a6nq1pp.js → worktree-7jfpk3vs.js} +17 -17
- package/dist/chunks/{mime-7sc8a7ge.js → worktree-7ttgb0nd.js} +50 -50
- package/dist/chunks/{mime-5684rj21.js → worktree-7yr5d591.js} +19 -19
- package/dist/chunks/{mime-39kjv65j.js → worktree-849efwnp.js} +23 -23
- package/dist/chunks/{mime-w1eejvng.js → worktree-84txncab.js} +5 -5
- package/dist/chunks/{mime-7war8x1d.js → worktree-867vdmc0.js} +10 -10
- package/dist/chunks/{mime-tcezcvh9.js → worktree-89znhe33.js} +4 -4
- package/dist/chunks/{mime-2xntw82p.js → worktree-8f1339w9.js} +5 -5
- package/dist/chunks/{mime-jbnd8fp8.js → worktree-8jmcdnh7.js} +19 -19
- package/dist/chunks/{mime-8m6m0r52.js → worktree-8m6m0r52.js} +1 -1
- package/dist/chunks/{mime-4d7s1pf1.js → worktree-8qc83v7e.js} +4 -4
- package/dist/chunks/{mime-h7c27e8q.js → worktree-8v8p5ge9.js} +14 -14
- package/dist/chunks/{mime-3m85peyz.js → worktree-8zg9y4xf.js} +51 -51
- package/dist/chunks/{mime-hxevttss.js → worktree-95sqqx4e.js} +21 -21
- package/dist/chunks/{mime-n2ky5gkf.js → worktree-95xk19wm.js} +24 -24
- package/dist/chunks/{mime-5yzzbxa7.js → worktree-9hn6k4tm.js} +8 -8
- package/dist/chunks/{mime-wwp51aqn.js → worktree-9jkjpzrk.js} +22 -22
- package/dist/chunks/{mime-emv6g1k7.js → worktree-9py6qxwx.js} +10 -10
- package/dist/chunks/{mime-9thd8pbs.js → worktree-9q7v2qnn.js} +13 -13
- package/dist/chunks/{mime-0y2vcsp3.js → worktree-9sgsjpgv.js} +11 -11
- package/dist/chunks/{mime-6yprj1qa.js → worktree-a42z6xrr.js} +11 -11
- package/dist/chunks/{mime-q8pcrqed.js → worktree-a8kyzpnb.js} +11 -11
- package/dist/chunks/{mime-dd2pvs9r.js → worktree-aeef67my.js} +22 -22
- package/dist/chunks/{mime-w30cgv0b.js → worktree-b3c2e4qp.js} +5 -5
- package/dist/chunks/{mime-b3f8fkhc.js → worktree-b3f8fkhc.js} +2 -2
- package/dist/chunks/{mime-ce0rpsvc.js → worktree-b6k8njs9.js} +11 -11
- package/dist/chunks/{mime-d4mkpxw9.js → worktree-b9gd63k6.js} +13 -13
- package/dist/chunks/{mime-kghccary.js → worktree-beed7hnt.js} +87 -87
- package/dist/chunks/{mime-y2rpf3m1.js → worktree-bevb4k0a.js} +8 -8
- package/dist/chunks/{mime-ka7th2ed.js → worktree-bgtxx6qd.js} +33 -33
- package/dist/chunks/{mime-7zkbhs7g.js → worktree-bh2h312c.js} +11 -11
- package/dist/chunks/{mime-vxa6qxmv.js → worktree-bk8ezkk0.js} +28 -28
- package/dist/chunks/{mime-e7d0aeaq.js → worktree-bsszwgw7.js} +21 -21
- package/dist/chunks/{mime-ga8mg7ng.js → worktree-c0gtsr28.js} +51 -51
- package/dist/chunks/{mime-c1fqxshp.js → worktree-c1fqxshp.js} +3 -3
- package/dist/chunks/{mime-b6bc02an.js → worktree-c7a7nq54.js} +28 -28
- package/dist/chunks/{mime-mdqph4s0.js → worktree-c8dwdg4v.js} +25 -25
- package/dist/chunks/{mime-qc91r9hq.js → worktree-d21xt1cm.js} +19 -19
- package/dist/chunks/{mime-63jkwkyz.js → worktree-deq11mm3.js} +17 -17
- package/dist/chunks/{mime-8gxqpgph.js → worktree-dhmh7aw6.js} +4 -4
- package/dist/chunks/{mime-wbt7h3w0.js → worktree-dn07pamb.js} +10 -10
- package/dist/chunks/{mime-dqxsqydv.js → worktree-dqxsqydv.js} +1 -1
- package/dist/chunks/{mime-gpab4zxm.js → worktree-dsxmv375.js} +9 -9
- package/dist/chunks/{mime-5qd3pb7m.js → worktree-e3qxr5gk.js} +2 -2
- package/dist/chunks/{mime-yfmm3r9p.js → worktree-e9s73vyg.js} +20 -20
- package/dist/chunks/{mime-wsyn0rjs.js → worktree-ecb605w9.js} +11 -11
- package/dist/chunks/{mime-87f36h6m.js → worktree-ee7eyq7w.js} +8 -8
- package/dist/chunks/{mime-w3x9v1nk.js → worktree-eeaf82dq.js} +8 -8
- package/dist/chunks/{mime-eej6y6fw.js → worktree-eej6y6fw.js} +2 -2
- package/dist/chunks/{mime-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/worktree-etsgmb9a.js +513 -0
- package/dist/chunks/{mime-rr32njry.js → worktree-fby0yz3e.js} +36 -36
- package/dist/chunks/{mime-ym12zjx9.js → worktree-ffy7j4h9.js} +25 -25
- package/dist/chunks/{mime-epnnc93h.js → worktree-fj921hw4.js} +22 -22
- package/dist/chunks/{mime-jbax71gz.js → worktree-fkwcg6pt.js} +11 -11
- package/dist/chunks/{mime-djszqvmq.js → worktree-ft3hqk2c.js} +9 -9
- package/dist/chunks/{mime-jn7vh711.js → worktree-fzgjsfgc.js} +30 -30
- package/dist/chunks/{mime-n0yzpgaz.js → worktree-g2f11mr5.js} +21 -21
- package/dist/chunks/{mime-svc4qe25.js → worktree-g3gfrvz4.js} +32 -32
- package/dist/chunks/{mime-dpxxne8d.js → worktree-g6kap4fx.js} +6 -6
- package/dist/chunks/{mime-p24hwdax.js → worktree-g71v19aa.js} +25 -25
- package/dist/chunks/{mime-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-43rv0vt2.js → worktree-grz2r9kj.js} +34 -34
- package/dist/chunks/{mime-1y2xvrc2.js → worktree-gs51cq9s.js} +9 -9
- package/dist/chunks/{mime-345etsgx.js → worktree-gt06s37z.js} +15 -15
- package/dist/chunks/{mime-hwt4zdf0.js → worktree-gv9ar1vg.js} +11 -11
- package/dist/chunks/{mime-205wgd7n.js → worktree-gyf50hgr.js} +18 -18
- package/dist/chunks/{mime-4n1kryv0.js → worktree-h1vatst2.js} +11 -11
- package/dist/chunks/{mime-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-31xfzrxg.js → worktree-h7s7r6s9.js} +5 -5
- package/dist/chunks/{mime-g6yfr6ja.js → worktree-h83xjv7f.js} +5 -5
- package/dist/chunks/{mime-yrcj3v3g.js → worktree-h9wp8z5w.js} +4 -4
- package/dist/chunks/{mime-tq4zrfhc.js → worktree-h9yqbyhm.js} +3 -3
- package/dist/chunks/{mime-rxcdjwh1.js → worktree-had4kgfk.js} +6 -6
- package/dist/chunks/{mime-p3vvxz2w.js → worktree-hde47968.js} +6 -6
- package/dist/chunks/{mime-wb86ees7.js → worktree-hf9tmbh5.js} +20 -20
- package/dist/chunks/{mime-7henczxa.js → worktree-hgwtmp3d.js} +14 -14
- package/dist/chunks/{mime-hgz4x7wa.js → worktree-hgz4x7wa.js} +1 -1
- package/dist/chunks/{mime-91qna3x0.js → worktree-j09zfasm.js} +3 -3
- package/dist/chunks/{mime-3wad62ms.js → worktree-j3eh7efd.js} +11 -11
- package/dist/chunks/{mime-w9n24aqy.js → worktree-j8kg77fh.js} +30 -30
- package/dist/chunks/{mime-32tazwv6.js → worktree-jfxk8smp.js} +16 -16
- package/dist/chunks/{mime-hdab2k61.js → worktree-jkp0d30b.js} +6 -6
- package/dist/chunks/{mime-15q8m5cs.js → worktree-jt30ntq0.js} +24 -24
- package/dist/chunks/{mime-z2jd07rd.js → worktree-k185drda.js} +7 -7
- package/dist/chunks/{mime-ng3918dk.js → worktree-k5qw4hft.js} +8 -8
- package/dist/chunks/{mime-62e165w1.js → worktree-k61z228s.js} +16 -16
- package/dist/chunks/{mime-xbhefgk3.js → worktree-k6nq8rg4.js} +27 -27
- package/dist/chunks/{mime-3trpv21a.js → worktree-ke97j4hd.js} +8 -8
- package/dist/chunks/{mime-ws5ka3n2.js → worktree-kh8z24c7.js} +30 -30
- package/dist/chunks/{mime-fxaymqdw.js → worktree-khmqacep.js} +4 -4
- package/dist/chunks/{mime-sg61y373.js → worktree-kqx1b4hy.js} +4 -4
- package/dist/chunks/{mime-7rkx4gms.js → worktree-ksgsanrq.js} +8 -8
- package/dist/chunks/{mime-edm94f7d.js → worktree-kt3sjp1b.js} +5 -5
- package/dist/chunks/{mime-277eer69.js → worktree-kzc3h1h3.js} +4 -4
- package/dist/chunks/{mime-mzvkzawb.js → worktree-m365tgky.js} +33 -33
- package/dist/chunks/{mime-rpp8qasa.js → worktree-m5f219rb.js} +21 -21
- package/dist/chunks/{mime-3bzm20zk.js → worktree-m6pmp8dy.js} +1 -1
- package/dist/chunks/{mime-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-maspj1v3.js → worktree-maspj1v3.js} +1 -1
- package/dist/chunks/{mime-78bqkphs.js → worktree-mf27tnfq.js} +22 -22
- package/dist/chunks/{mime-9rwfab3m.js → worktree-mpngx6ag.js} +31 -31
- package/dist/chunks/{mime-8mptw0yh.js → worktree-neqgramr.js} +18 -18
- package/dist/chunks/{mime-8ank75fn.js → worktree-ngts6ef0.js} +8 -8
- package/dist/chunks/{mime-prq7hedt.js → worktree-njhqdk9p.js} +9 -9
- package/dist/chunks/{mime-vatybvvw.js → worktree-nkzytket.js} +21 -21
- package/dist/chunks/{mime-f593gmc1.js → worktree-nrv3sj1v.js} +25 -25
- package/dist/chunks/{mime-7fkngs2v.js → worktree-p51f681n.js} +2 -2
- package/dist/chunks/{mime-ygmyzbnp.js → worktree-p5vn9pc0.js} +42 -42
- package/dist/chunks/{mime-dt81vr0m.js → worktree-pcb6a8b5.js} +18 -18
- package/dist/chunks/{mime-kjejtsqg.js → worktree-pd9fs73p.js} +16 -16
- package/dist/chunks/{mime-a1p7dyg9.js → worktree-pg7j9xfd.js} +5 -5
- package/dist/chunks/{mime-8wbxkt1z.js → worktree-pgp1nwjn.js} +4 -4
- package/dist/chunks/{mime-2003xh4j.js → worktree-ph20cxtq.js} +9 -9
- package/dist/chunks/{mime-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{mime-n24hx9b9.js → worktree-pq1r7b9t.js} +10 -10
- package/dist/chunks/{mime-nkmznbth.js → worktree-ptx3q924.js} +10 -10
- package/dist/chunks/worktree-qjepztct.js +26 -0
- package/dist/chunks/{mime-qnc92qwc.js → worktree-qnc92qwc.js} +1 -1
- package/dist/chunks/{mime-xfkkasph.js → worktree-qqeeq2t9.js} +7 -7
- package/dist/chunks/{mime-2rnpn95x.js → worktree-qryth85y.js} +5 -5
- package/dist/chunks/{mime-hdq1afwm.js → worktree-qsadzg18.js} +45 -45
- package/dist/chunks/{mime-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-kmajrsye.js → worktree-qx9v9416.js} +2 -2
- package/dist/chunks/{mime-mfgyg3rw.js → worktree-qxnzw82z.js} +50 -50
- package/dist/chunks/{mime-41qawrfa.js → worktree-qyqa3c06.js} +7 -7
- package/dist/chunks/{mime-r2z489rp.js → worktree-r2z489rp.js} +1 -1
- package/dist/chunks/{mime-1jdt266a.js → worktree-r70na3yp.js} +9 -9
- package/dist/chunks/{mime-qm0v3jhh.js → worktree-ratrq7cm.js} +7 -7
- package/dist/chunks/{mime-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-rert0e01.js → worktree-rert0e01.js} +2 -2
- package/dist/chunks/{mime-9hshahkt.js → worktree-rgpeez64.js} +18 -18
- package/dist/chunks/{mime-eaj1djv9.js → worktree-rhjbct0v.js} +8 -8
- package/dist/chunks/{mime-rj3eygr5.js → worktree-rj3eygr5.js} +2 -2
- package/dist/chunks/{mime-t1qqdzsn.js → worktree-rm813vtq.js} +8 -8
- package/dist/chunks/{mime-qwd8z7en.js → worktree-rsdk20j4.js} +47 -47
- package/dist/chunks/{mime-rwmkx81w.js → worktree-rw3by220.js} +11 -11
- package/dist/chunks/{mime-ypj40ynd.js → worktree-s2enf5ej.js} +17 -17
- package/dist/chunks/{mime-sa8ekw3f.js → worktree-sa8ekw3f.js} +2 -2
- package/dist/chunks/{mime-z4x74e20.js → worktree-sdqwrm6h.js} +16 -16
- package/dist/chunks/{mime-htfaj60w.js → worktree-sh5ssvt8.js} +7 -7
- package/dist/chunks/{mime-my1befea.js → worktree-smyxharx.js} +26 -26
- package/dist/chunks/{mime-cwc6qd5v.js → worktree-sq3q4x2m.js} +4 -4
- package/dist/chunks/{mime-hhvx8q4y.js → worktree-sqj96g7w.js} +13 -13
- package/dist/chunks/{mime-syv4x271.js → worktree-syv4x271.js} +1 -1
- package/dist/chunks/{mime-ev50a1gv.js → worktree-t01nhfnz.js} +24 -24
- package/dist/chunks/{mime-s6s64s2j.js → worktree-t215hqkg.js} +6 -6
- package/dist/chunks/{mime-70jpvrmq.js → worktree-t6hfbk19.js} +18 -18
- package/dist/chunks/{mime-k2wgnsn0.js → worktree-tafr0n6k.js} +21 -21
- package/dist/chunks/{mime-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{mime-tm0kqsz3.js → worktree-tm0kqsz3.js} +1 -1
- package/dist/chunks/{mime-f4x800jg.js → worktree-tpnh9f3m.js} +7 -7
- package/dist/chunks/{mime-j52fadta.js → worktree-ttng27y8.js} +1 -1
- package/dist/chunks/{mime-tyytaxap.js → worktree-tyytaxap.js} +1 -1
- package/dist/chunks/{mime-p42maxsr.js → worktree-v08nt5ja.js} +22 -22
- package/dist/chunks/{mime-6c4cp2wz.js → worktree-v0es1rhs.js} +9 -9
- package/dist/chunks/worktree-v1faaxn9.js +18 -0
- package/dist/chunks/{mime-v7p4zvkq.js → worktree-v7p4zvkq.js} +2 -2
- package/dist/chunks/{mime-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-h62rqyvr.js → worktree-vfmvmnac.js} +34 -34
- package/dist/chunks/{mime-sszm17mh.js → worktree-vm0yw9fx.js} +18 -18
- package/dist/chunks/{mime-tfgrxbbg.js → worktree-vnshx00a.js} +5 -5
- package/dist/chunks/{mime-m01n3hyd.js → worktree-vp59edv1.js} +15 -15
- package/dist/chunks/{mime-qw8rpmjb.js → worktree-vwsjj8ea.js} +36 -36
- package/dist/chunks/{mime-vp964jq4.js → worktree-vyxp6c24.js} +45 -45
- package/dist/chunks/{mime-rrz55b2p.js → worktree-vz11k4k8.js} +87 -87
- package/dist/chunks/{mime-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
- package/dist/chunks/{mime-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-7qrghndb.js → worktree-w8zenwda.js} +25 -25
- package/dist/chunks/{mime-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{mime-nym9wyb3.js → worktree-wkcmpner.js} +6 -6
- package/dist/chunks/{mime-0nsxtbsr.js → worktree-wmdkv8mg.js} +3 -3
- package/dist/chunks/{mime-rykdsr0g.js → worktree-ws86dct2.js} +59 -59
- package/dist/chunks/{mime-7ej9kcre.js → worktree-wypjq10p.js} +22 -22
- package/dist/chunks/{mime-2frssyxc.js → worktree-x2cz5peg.js} +23 -23
- package/dist/chunks/{mime-sgspe6rh.js → worktree-x2dmkytt.js} +24 -24
- package/dist/chunks/{mime-2r1j4600.js → worktree-x5wrmng7.js} +11 -11
- package/dist/chunks/{mime-azwe5p1w.js → worktree-x661k3y3.js} +4 -4
- package/dist/chunks/{mime-11bjrp3g.js → worktree-xh7gbsvn.js} +3 -3
- package/dist/chunks/{mime-v7kctqng.js → worktree-xjje6j52.js} +33 -33
- package/dist/chunks/{mime-rm7werhc.js → worktree-xjsyyfzz.js} +24 -24
- package/dist/chunks/{mime-w81spx5m.js → worktree-xr554603.js} +4 -4
- package/dist/chunks/{mime-skk0c0bv.js → worktree-xrz5dacv.js} +10 -10
- package/dist/chunks/{mime-sps5w11b.js → worktree-y0qqvbvy.js} +34 -34
- package/dist/chunks/{mime-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-fmycb6r9.js → worktree-y1z7wqjc.js} +18 -18
- package/dist/chunks/{mime-46c3m50y.js → worktree-y4jcqa2s.js} +17 -17
- package/dist/chunks/{mime-gd540jsm.js → worktree-y692y4sj.js} +11 -11
- package/dist/chunks/{mime-dpkg50ah.js → worktree-y71avatq.js} +4 -4
- package/dist/chunks/{mime-esxexcce.js → worktree-y7v3dsdp.js} +34 -34
- package/dist/chunks/{mime-3zgffv18.js → worktree-y7vpfhcb.js} +188 -188
- package/dist/chunks/{mime-hrtv8xrh.js → worktree-ybv9y61q.js} +43 -43
- package/dist/chunks/{mime-9cexasrx.js → worktree-yc95rny5.js} +46 -46
- package/dist/chunks/{mime-yp2x3t23.js → worktree-yp2x3t23.js} +1 -1
- package/dist/chunks/{mime-pnzf6mjf.js → worktree-yqc6bamn.js} +1 -1
- package/dist/chunks/{mime-f169yh43.js → worktree-yr3ekt3k.js} +17 -17
- package/dist/chunks/{mime-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-3t0rsrrn.js → worktree-z341r0zt.js} +17 -17
- package/dist/chunks/{mime-21tzjh1m.js → worktree-z3v3p3gc.js} +24 -24
- package/dist/chunks/{mime-jkbjgekk.js → worktree-zb83g9fx.js} +11 -11
- package/dist/chunks/{mime-vynfj1qm.js → worktree-zev2zscf.js} +8 -8
- package/dist/chunks/{mime-v0xmac3n.js → worktree-zfme70y8.js} +2 -2
- package/dist/chunks/{mime-58hng72m.js → worktree-zjtrsxny.js} +5 -5
- package/dist/chunks/{mime-ygdna4kr.js → worktree-zmr78fwr.js} +5 -5
- package/dist/chunks/{mime-gd07dkrx.js → worktree-znkwv8d1.js} +9 -9
- package/dist/chunks/{mime-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-p7v2masw.js → worktree-zr47jkhm.js} +4 -4
- package/dist/chunks/{mime-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 +87 -87
- 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 +120 -120
- 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 +121 -121
- 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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +3 -3
- 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 +3 -3
- 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 +222 -222
- 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 +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +85 -85
- package/dist/generate.js +105 -105
- 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 +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- 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 +105 -105
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- 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 +131 -131
- 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 +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +99 -99
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +3 -3
- 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 +4 -4
- 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 +120 -120
- 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 +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- 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 +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- 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 +135 -135
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- 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 +224 -224
- 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 +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +89 -89
- 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 +128 -128
- package/dist/tool/plugin/edit.js +116 -116
- 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 +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- 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 +5 -5
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- 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/mime-12710b3q.js +0 -26
- package/dist/chunks/mime-67npv2yq.js +0 -253
- package/dist/chunks/mime-jqh9b0xq.js +0 -18
- package/dist/chunks/mime-pw8wyqgn.js +0 -513
- /package/dist/chunks/{mime-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2bv980vf.js → worktree-2bv980vf.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3t0ybcrp.js → worktree-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-84wd9syh.js → worktree-84wd9syh.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-m18g726c.js → worktree-m18g726c.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-pkyv6v7h.js → worktree-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{mime-pyv0edze.js → worktree-pyv0edze.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wjj7prxr.js → worktree-wjj7prxr.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-0vrkd98v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./worktree-pd9fs73p.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID8,
|
|
11
|
+
Service61,
|
|
12
|
+
node64
|
|
13
|
+
} from "./worktree-t01nhfnz.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError8
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-k185drda.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service60,
|
|
19
|
+
node63
|
|
20
|
+
} from "./worktree-431wf54f.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-y1fvbwt7.js";
|
|
24
|
+
import {
|
|
25
|
+
Service59,
|
|
26
|
+
node62
|
|
27
|
+
} from "./worktree-z341r0zt.js";
|
|
24
28
|
import {
|
|
25
29
|
Service62,
|
|
26
30
|
node65
|
|
27
|
-
} from "./
|
|
28
|
-
import {
|
|
29
|
-
Service74,
|
|
30
|
-
node77
|
|
31
|
-
} from "./mime-8ank75fn.js";
|
|
31
|
+
} from "./worktree-ngts6ef0.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./worktree-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
45
|
+
Event: () => Event11,
|
|
46
|
+
ID: () => ID6,
|
|
47
47
|
NotFoundError: () => NotFoundError7,
|
|
48
|
-
Permission: () =>
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service58,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node61
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event11 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID6 = Permission.ID;
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID6.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID8.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID6,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID6,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID6
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service58 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service84;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service81;
|
|
133
|
+
const agents = yield* Service61;
|
|
134
|
+
const sessions = yield* Service60;
|
|
135
|
+
const saved = yield* Service59;
|
|
136
|
+
const hooks = yield* Service62;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID6.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID6.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service58.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node61 = makeLocationNode({
|
|
303
|
+
service: Service58,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node88,
|
|
305
|
+
deps: [node88, node85, node64, node63, node62, node65]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service58, node61, exports_permission, Rule2, Ruleset2, Event11 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-rj3eygr5.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service85,
|
|
9
9
|
node89
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-wmdkv8mg.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node84
|
|
18
|
+
} from "./worktree-had4kgfk.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID16,
|
|
31
|
+
Info: () => Info26,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service80,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured11,
|
|
36
|
+
node: () => node83
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID16 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info26 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID16,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info24 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID16,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service80 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service80,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node89,
|
|
70
|
+
deps: [node89, node84]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service85).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info26({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service80.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID16.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node83 = configured11();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID16, Info26, NotFound2, CreateConflict2, Service80, configured11, node83, exports_workspace };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-pyv0edze.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-j09zfasm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service44,
|
|
17
|
+
node48
|
|
18
|
+
} from "./worktree-ph20cxtq.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service62,
|
|
21
|
+
node65
|
|
22
|
+
} from "./worktree-ngts6ef0.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
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service37,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node40
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error2, 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 Service37 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(Service37, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service62;
|
|
58
|
+
const image = yield* Service44;
|
|
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(Service73, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service37.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 node40 = makeLocationNode({
|
|
277
|
+
service: Service37,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node65, node48]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service37, node40, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./worktree-pd9fs73p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key3,
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-rhjbct0v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service30,
|
|
19
|
+
node: () => node33
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service81;
|
|
29
|
+
return Service30.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make20({
|
|
32
|
+
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
35
35
|
render: {
|
|
@@ -37,8 +37,8 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
41
|
-
key:
|
|
40
|
+
make20({
|
|
41
|
+
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
44
44
|
"<env>",
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node33 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node85] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service30, node33, exports_builtins };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-0296bd6c.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-0vrkd98v.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service74
|
|
11
|
+
} from "./worktree-4sh0xj3w.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service73
|
|
16
|
+
} from "./worktree-j8kg77fh.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./worktree-fzgjsfgc.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-hde47968.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID12.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID13.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service74;
|
|
57
|
+
const integrations = yield* Service73;
|
|
58
58
|
const bus = yield* Service84;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service46,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service46 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service46, exports_runner };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service81
|
|
14
|
+
} from "./worktree-pd9fs73p.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-tafr0n6k.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin15,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin15 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service81;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin15, exports_git };
|