@opencode/core 0.0.0-dev-19282 → 0.0.0-dev-19285
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 +75 -75
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +2 -2
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{bus-1dfhrqqs.js → reference-0hpxrkyb.js} +5 -5
- package/dist/chunks/{bus-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
- package/dist/chunks/{bus-749mk3f5.js → reference-18s2crhv.js} +18 -18
- package/dist/chunks/{bus-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-t9atnbvs.js → reference-1hx3a7j4.js} +25 -25
- package/dist/chunks/{bus-4yd2q2gq.js → reference-1j68e3we.js} +6 -6
- package/dist/chunks/{bus-yrm8zfgt.js → reference-1n1re824.js} +19 -19
- package/dist/chunks/{bus-nx25f60x.js → reference-1s85ea80.js} +15 -15
- package/dist/chunks/{bus-4pc0t7v2.js → reference-1vbqt11h.js} +12 -12
- package/dist/chunks/{bus-21r38tys.js → reference-21r38tys.js} +1 -1
- package/dist/chunks/{bus-qrtv3c58.js → reference-21tjen5n.js} +16 -16
- package/dist/chunks/{bus-ekxn0p07.js → reference-231s2dv0.js} +17 -17
- package/dist/chunks/{bus-qdd4vj03.js → reference-24p0y6dv.js} +20 -20
- package/dist/chunks/{bus-zfaxcb8h.js → reference-26n19ak3.js} +4 -4
- package/dist/chunks/{bus-6sg4x804.js → reference-27kr68t2.js} +4 -4
- package/dist/chunks/{bus-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-p0cja4mf.js → reference-2atv2341.js} +5 -5
- package/dist/chunks/{bus-hmy5m0zn.js → reference-2bcpzs2r.js} +23 -23
- package/dist/chunks/{bus-01nje3d7.js → reference-2mpb3c7h.js} +6 -6
- package/dist/chunks/{bus-qaed280k.js → reference-2q8hwwwc.js} +11 -11
- package/dist/chunks/{bus-pf6z3403.js → reference-3222fpmk.js} +5 -5
- package/dist/chunks/{bus-k0h28rmr.js → reference-35pawy1v.js} +17 -17
- package/dist/chunks/{bus-y7whqpt3.js → reference-3g06hv1z.js} +10 -10
- package/dist/chunks/{bus-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-zxgnc9zk.js → reference-3jf7jxvk.js} +1 -1
- package/dist/chunks/{bus-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-j4zenrww.js → reference-3wqf40ez.js} +7 -7
- package/dist/chunks/{bus-yn80fmw6.js → reference-43vjkkh2.js} +24 -24
- package/dist/chunks/{bus-5hk4b2g6.js → reference-4c2df9zx.js} +8 -8
- package/dist/chunks/{bus-6ez8fd9t.js → reference-4dp2399g.js} +47 -47
- package/dist/chunks/{bus-710w2ech.js → reference-4fk03y38.js} +1 -1
- package/dist/chunks/{bus-gdvdcvqc.js → reference-4gpvdk2f.js} +12 -12
- package/dist/chunks/{bus-e39t2h66.js → reference-4q4p5end.js} +11 -11
- package/dist/chunks/{bus-m08xmbhd.js → reference-4rh3z4xh.js} +13 -13
- package/dist/chunks/{bus-7s03h6w8.js → reference-4zn0r1r4.js} +18 -18
- package/dist/chunks/{bus-kz255f3e.js → reference-525hap2p.js} +9 -9
- package/dist/chunks/{bus-8qk9tw02.js → reference-54gn6h9v.js} +1 -1
- package/dist/chunks/{bus-wmbchhnn.js → reference-56pr6y5x.js} +8 -8
- package/dist/chunks/{bus-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-5kx2m9j7.js → reference-5vb8t1df.js} +11 -11
- package/dist/chunks/{bus-rgdf5anz.js → reference-636mnkjh.js} +15 -15
- package/dist/chunks/{bus-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{bus-2z7mxnbp.js → reference-6dxje0nq.js} +16 -16
- package/dist/chunks/{bus-6h73sxmp.js → reference-6h73sxmp.js} +1 -1
- package/dist/chunks/{bus-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-ffx4mq6v.js → reference-6q0ssdw5.js} +1 -1
- package/dist/chunks/{bus-bha4atvq.js → reference-6tt5evqq.js} +4 -4
- package/dist/chunks/{bus-whbvmyya.js → reference-6xg3k3v3.js} +27 -27
- package/dist/chunks/{bus-xxcpn45b.js → reference-6ykfmbhh.js} +23 -23
- package/dist/chunks/{bus-71q4at8m.js → reference-71q4at8m.js} +1 -1
- package/dist/chunks/{bus-f5ckxc6k.js → reference-73mg2vtt.js} +10 -10
- package/dist/chunks/{bus-x8d28zyr.js → reference-742bzcdy.js} +18 -18
- package/dist/chunks/{bus-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-kdc4anf3.js → reference-7edp414f.js} +2 -2
- package/dist/chunks/{bus-5ahfvgqs.js → reference-7gc0xae5.js} +157 -157
- package/dist/chunks/{bus-jmvyb28c.js → reference-7jmqxgxn.js} +20 -20
- package/dist/chunks/{bus-nnchxen3.js → reference-7jshreb6.js} +46 -46
- package/dist/chunks/{bus-527n8bmw.js → reference-7k65wcnh.js} +32 -32
- package/dist/chunks/{bus-wk58jv74.js → reference-7zdm33ac.js} +10 -10
- package/dist/chunks/{bus-4etzfxb1.js → reference-7zz35dhy.js} +26 -26
- package/dist/chunks/{bus-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-8p4f9s12.js → reference-8p4f9s12.js} +2 -2
- package/dist/chunks/{bus-fjmrr6sh.js → reference-8w9tvb25.js} +9 -9
- package/dist/chunks/{bus-5cry39zx.js → reference-8xx08dm0.js} +25 -25
- package/dist/chunks/{bus-49t4jawx.js → reference-94ty58yj.js} +22 -22
- package/dist/chunks/{bus-k8ebjhqy.js → reference-95b6ghe6.js} +18 -18
- package/dist/chunks/reference-99pkb00s.js +247 -0
- package/dist/chunks/{bus-0e6zaxnc.js → reference-9fkctmz4.js} +4 -4
- package/dist/chunks/{bus-c2q1mjgh.js → reference-9h2tqn78.js} +8 -8
- package/dist/chunks/{bus-vgjt9c5s.js → reference-9kcb9bfn.js} +3 -3
- package/dist/chunks/{bus-81swgkk7.js → reference-9pv0dm11.js} +9 -9
- package/dist/chunks/{bus-2f04pwep.js → reference-9vs0xtad.js} +3 -3
- package/dist/chunks/{bus-3fqa324q.js → reference-a1b3c13m.js} +18 -18
- package/dist/chunks/{bus-a1bz86dw.js → reference-a1bz86dw.js} +3 -3
- package/dist/chunks/{bus-58mjts13.js → reference-a3re5se6.js} +24 -24
- package/dist/chunks/{bus-wmshdsxh.js → reference-a9m3pnym.js} +19 -19
- package/dist/chunks/{bus-zardaqg6.js → reference-aa5yzmg3.js} +11 -11
- package/dist/chunks/{bus-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-3r5z9a2m.js → reference-aagvpmpk.js} +20 -20
- package/dist/chunks/{bus-arcj627b.js → reference-aerscydv.js} +3 -3
- package/dist/chunks/{bus-1ajrde1x.js → reference-amv9spzy.js} +11 -11
- package/dist/chunks/{bus-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-8ey7957k.js → reference-b7r85zma.js} +15 -15
- package/dist/chunks/{bus-zmgyev29.js → reference-b89n2hrw.js} +23 -23
- package/dist/chunks/{bus-3dkb1mkq.js → reference-c07ppws4.js} +35 -35
- package/dist/chunks/{bus-w81afp83.js → reference-c8qcwh7c.js} +8 -8
- package/dist/chunks/{bus-e47b9zhk.js → reference-cf7t4tbm.js} +1 -1
- package/dist/chunks/{bus-cfpkc3c9.js → reference-cfpkc3c9.js} +2 -2
- package/dist/chunks/{bus-s7xtjryh.js → reference-d2kbg34c.js} +1 -1
- package/dist/chunks/{bus-1w4paq8s.js → reference-d688schs.js} +23 -23
- package/dist/chunks/{bus-50tgre74.js → reference-dee1kvxx.js} +20 -20
- package/dist/chunks/{bus-zpp4pmky.js → reference-dwajp34v.js} +5 -5
- package/dist/chunks/{bus-ahpydw3r.js → reference-dxahnrqk.js} +35 -35
- package/dist/chunks/{bus-sqevgg1x.js → reference-dyyz5283.js} +6 -6
- package/dist/chunks/{bus-frwpyczr.js → reference-e6jkap1f.js} +4 -4
- package/dist/chunks/{bus-9j23snw0.js → reference-e7066wh1.js} +10 -10
- package/dist/chunks/{bus-w3seh447.js → reference-e9q2tff6.js} +24 -24
- package/dist/chunks/{bus-cvb05pnf.js → reference-eb08dgxh.js} +19 -19
- package/dist/chunks/{bus-35s1r081.js → reference-ed80ss5w.js} +41 -41
- package/dist/chunks/{bus-0vqg61vt.js → reference-eej0jtf5.js} +20 -20
- package/dist/chunks/{bus-n8acapy8.js → reference-eghhz9w3.js} +6 -6
- package/dist/chunks/{bus-kj0cw3p7.js → reference-ehah1z4y.js} +33 -33
- package/dist/chunks/{bus-csec5e4m.js → reference-ek2ekg50.js} +9 -9
- package/dist/chunks/{bus-mvfsc1pv.js → reference-eq1pz5kg.js} +3 -3
- package/dist/chunks/{bus-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-fa0cr6zp.js → reference-ewkfaene.js} +3 -3
- package/dist/chunks/{bus-at3ejqj0.js → reference-f2n7c6vf.js} +10 -10
- package/dist/chunks/{bus-k2h4r4s0.js → reference-f3ngv102.js} +4 -4
- package/dist/chunks/{bus-jny78evx.js → reference-f74zpcfx.js} +50 -50
- package/dist/chunks/{bus-f828m53h.js → reference-f828m53h.js} +2 -2
- package/dist/chunks/{bus-mnrz82hq.js → reference-f8gmmhdx.js} +5 -5
- package/dist/chunks/{bus-3sx2gfrt.js → reference-fbh8gv2m.js} +30 -30
- package/dist/chunks/{bus-1qfm9ec4.js → reference-fdhnxwqq.js} +15 -15
- package/dist/chunks/reference-fnzccmjb.js +22 -0
- package/dist/chunks/{bus-vyjzrkx0.js → reference-fschjpvb.js} +9 -9
- package/dist/chunks/{bus-nx8jdvz1.js → reference-fsg64sxd.js} +33 -33
- package/dist/chunks/{bus-0w62qmxp.js → reference-ftdzjz2b.js} +6 -6
- package/dist/chunks/{bus-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-750rpxws.js → reference-g0fwp05y.js} +3 -3
- package/dist/chunks/{bus-9ffmp1f5.js → reference-g0h581t9.js} +10 -10
- package/dist/chunks/{bus-zq6w5y0q.js → reference-g7yd2vxk.js} +13 -13
- package/dist/chunks/{bus-41tqqwbx.js → reference-gabjygxp.js} +9 -9
- package/dist/chunks/{bus-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-gdvy8fx6.js → reference-gdvy8fx6.js} +1 -1
- package/dist/chunks/{bus-brzgr68a.js → reference-gj7hfxsf.js} +25 -25
- package/dist/chunks/{bus-xfbp7vg3.js → reference-gk1e73sc.js} +20 -20
- package/dist/chunks/{bus-91ewnwxd.js → reference-gxretbwa.js} +32 -32
- package/dist/chunks/{bus-1pv26y79.js → reference-gxy528pw.js} +32 -32
- package/dist/chunks/{bus-5kxxz5p9.js → reference-gzedjxr8.js} +22 -22
- package/dist/chunks/{bus-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
- package/dist/chunks/{bus-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-gsx0ryk4.js → reference-h7ygw6q4.js} +9 -9
- package/dist/chunks/{bus-n7myrqvg.js → reference-hdcwm5yn.js} +11 -11
- package/dist/chunks/{bus-renqy12v.js → reference-hdthj1pw.js} +8 -8
- package/dist/chunks/{bus-k7d0894y.js → reference-hj2q4vx8.js} +6 -6
- package/dist/chunks/{bus-hpd8f1qh.js → reference-hx9b9j3y.js} +6 -6
- package/dist/chunks/reference-hxa7m5za.js +4 -0
- package/dist/chunks/{bus-yv5atzv7.js → reference-j460kft3.js} +16 -16
- package/dist/chunks/{bus-mctj3t5d.js → reference-j4dwrdg1.js} +17 -17
- package/dist/chunks/{bus-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-095cpp92.js → reference-jtxfv8d5.js} +33 -33
- package/dist/chunks/{bus-6zhe6btj.js → reference-jzrkhfnx.js} +34 -34
- package/dist/chunks/{bus-n0xr8ydk.js → reference-k3fk1xw0.js} +30 -30
- package/dist/chunks/reference-k99e1z30.js +462 -0
- package/dist/chunks/{bus-jvq7qv7z.js → reference-k9hy4w8j.js} +28 -28
- package/dist/chunks/{bus-t9dh7k1x.js → reference-kcqzyg21.js} +16 -16
- package/dist/chunks/{bus-9v7msvga.js → reference-kd62wyh6.js} +13 -13
- package/dist/chunks/{bus-nk7ds145.js → reference-kdsmfbp6.js} +15 -15
- package/dist/chunks/{bus-abqnwdt9.js → reference-kf4f65v3.js} +33 -33
- package/dist/chunks/{bus-kg06axw8.js → reference-kg06axw8.js} +1 -1
- package/dist/chunks/{bus-k0vm1vsh.js → reference-kmdd4s7w.js} +11 -11
- package/dist/chunks/{bus-xhmq8qgk.js → reference-kpvyk30t.js} +9 -9
- package/dist/chunks/{bus-84zmkpg3.js → reference-kvssg87c.js} +46 -46
- package/dist/chunks/{bus-0gaj4617.js → reference-kxpygcw9.js} +6 -6
- package/dist/chunks/{bus-8292cgjf.js → reference-m0zxgcxr.js} +4 -4
- package/dist/chunks/{bus-ve2nztfh.js → reference-m17xag3b.js} +10 -10
- package/dist/chunks/{bus-2vgzs72b.js → reference-m64xvjj1.js} +5 -5
- package/dist/chunks/{bus-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-kycn6yts.js → reference-mdt4q1c1.js} +6 -6
- package/dist/chunks/{bus-56gdpj1q.js → reference-mfqp6xfm.js} +6 -6
- package/dist/chunks/{bus-s2pmvhcg.js → reference-mgqqkg93.js} +22 -22
- package/dist/chunks/{bus-mkcjrzeh.js → reference-mkcjrzeh.js} +1 -1
- package/dist/chunks/{bus-mm6hcqyy.js → reference-mp0hvknf.js} +17 -17
- package/dist/chunks/{bus-zc9t3nk1.js → reference-mr7fas37.js} +20 -20
- package/dist/chunks/{bus-31nc7ye1.js → reference-mwdyx115.js} +18 -18
- package/dist/chunks/{bus-h03br4j9.js → reference-n8aw8tzz.js} +16 -16
- package/dist/chunks/{bus-j5208yae.js → reference-ndqtf2h8.js} +5 -5
- package/dist/chunks/{bus-47gsdddb.js → reference-nhy5jxhy.js} +5 -5
- package/dist/chunks/{bus-xjr4j2j6.js → reference-npqmz80p.js} +46 -46
- package/dist/chunks/{bus-1g0hxw53.js → reference-p8fr87mf.js} +41 -41
- package/dist/chunks/{bus-w1k39n5e.js → reference-paegk39x.js} +4 -4
- package/dist/chunks/{bus-2gqyg9n5.js → reference-pcbr6txn.js} +15 -15
- package/dist/chunks/{bus-gsy9mqvk.js → reference-pch1g4ac.js} +8 -8
- package/dist/chunks/{bus-2rrdrtgw.js → reference-pgpmnqk3.js} +3 -3
- package/dist/chunks/reference-phz3h32g.js +18 -0
- package/dist/chunks/{bus-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-vn9qcck8.js → reference-pk0537y5.js} +36 -36
- package/dist/chunks/{bus-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{bus-93495grw.js → reference-pxw0hmvn.js} +7 -7
- package/dist/chunks/{bus-4mjzz0d5.js → reference-q14xand4.js} +30 -30
- package/dist/chunks/{bus-dc76j9wz.js → reference-q280h65c.js} +8 -8
- package/dist/chunks/{bus-ntazn48k.js → reference-q4t8wpc5.js} +86 -86
- package/dist/chunks/{bus-0tm0kv5t.js → reference-q815m6cj.js} +24 -24
- package/dist/chunks/{bus-19vf66h0.js → reference-qa3qhgw8.js} +4 -4
- package/dist/chunks/{bus-ywkmcjzw.js → reference-qd5n9004.js} +4 -4
- package/dist/chunks/{bus-a9ab9jmj.js → reference-qfjjv7cg.js} +5 -5
- package/dist/chunks/{bus-7dqw4kz8.js → reference-qgn6gcr1.js} +5 -5
- package/dist/chunks/{bus-a4r18kjz.js → reference-qgvsjnwz.js} +2 -2
- package/dist/chunks/{bus-gwp5w4wb.js → reference-qhcd119y.js} +9 -9
- package/dist/chunks/{bus-z9e6b7he.js → reference-qnsz7nh9.js} +5 -5
- package/dist/chunks/{bus-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-jzvr1g73.js → reference-r0jrqcv3.js} +15 -15
- package/dist/chunks/{bus-0v53mg2y.js → reference-r98e92ep.js} +4 -4
- package/dist/chunks/{bus-111gxffx.js → reference-rabzzrj7.js} +6 -6
- package/dist/chunks/{bus-wccq2216.js → reference-rm18f88d.js} +9 -9
- package/dist/chunks/{bus-rpsfnwf3.js → reference-rqwtk8m6.js} +31 -31
- package/dist/chunks/{bus-8madsdx3.js → reference-rrb33fnm.js} +11 -11
- package/dist/chunks/{bus-gezb754f.js → reference-rrct5g06.js} +11 -11
- package/dist/chunks/{bus-jdmm99th.js → reference-ryf7tq05.js} +10 -10
- package/dist/chunks/{bus-rvyv87x2.js → reference-s1dejaz5.js} +4 -4
- package/dist/chunks/{bus-0g3tnqy3.js → reference-s89drx3k.js} +25 -25
- package/dist/chunks/{bus-eaj1djv9.js → reference-s8d7rejh.js} +6 -6
- package/dist/chunks/{bus-d2aac7k2.js → reference-s8zy8myc.js} +5 -5
- package/dist/chunks/{bus-ve6nm2s5.js → reference-s90d8d6b.js} +6 -6
- package/dist/chunks/{bus-nw2nz702.js → reference-sej7e0cf.js} +4 -4
- package/dist/chunks/{bus-yms512cs.js → reference-sewx0d8k.js} +11 -11
- package/dist/chunks/{bus-xtx0ppn2.js → reference-shrxzsvg.js} +13 -13
- package/dist/chunks/{bus-yxfbxqnd.js → reference-sj6nvtnr.js} +17 -17
- package/dist/chunks/{bus-fxdzhz3a.js → reference-ss5t5285.js} +43 -43
- package/dist/chunks/{bus-9qn3qky1.js → reference-t37txjkj.js} +6 -6
- package/dist/chunks/{bus-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-15qsbqmq.js → reference-tc3b2xqh.js} +25 -25
- package/dist/chunks/{bus-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{bus-gv6a8nnw.js → reference-th5km1p3.js} +5 -5
- package/dist/chunks/{bus-anhc60mz.js → reference-tmx7d2y0.js} +4 -4
- package/dist/chunks/{bus-c78bbtc9.js → reference-tn0aqsam.js} +5 -5
- package/dist/chunks/{bus-tvtrv512.js → reference-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-p72z5xx6.js → reference-tx1bbn1t.js} +2 -2
- package/dist/chunks/{bus-k6gg2q9r.js → reference-v0tcdknz.js} +16 -16
- package/dist/chunks/{bus-1wsj65et.js → reference-v1adv2wp.js} +22 -22
- package/dist/chunks/{bus-dgj0dq1g.js → reference-v4hmzr0r.js} +8 -8
- package/dist/chunks/{bus-fw00bc85.js → reference-v7y6kmxs.js} +27 -27
- package/dist/chunks/{bus-x227z7gv.js → reference-v9p2d0aj.js} +12 -12
- package/dist/chunks/{bus-e8bm4rm7.js → reference-vbbvjejc.js} +14 -14
- package/dist/chunks/{bus-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-knth1fvs.js → reference-vgtqdgcp.js} +18 -18
- package/dist/chunks/{bus-0ch8tq9c.js → reference-vz98v2b4.js} +11 -11
- package/dist/chunks/{bus-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-t9e6e84n.js → reference-w4ysxmd8.js} +1 -1
- package/dist/chunks/{bus-2ee18q3c.js → reference-w6y4jrtq.js} +11 -11
- package/dist/chunks/{bus-rfnzy394.js → reference-w79zsp0s.js} +1 -1
- package/dist/chunks/{bus-atw9v79g.js → reference-w9m4vsw7.js} +21 -21
- package/dist/chunks/{bus-edsk2t6a.js → reference-w9xvayee.js} +9 -9
- package/dist/chunks/{bus-qte5z7bc.js → reference-wbkyxrgf.js} +5 -5
- package/dist/chunks/{bus-b66t5cb8.js → reference-wcsysscr.js} +9 -9
- package/dist/chunks/{bus-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{bus-y8qpbdny.js → reference-we9eyqjp.js} +7 -7
- package/dist/chunks/{bus-5fm2rry0.js → reference-wec9kj0s.js} +10 -10
- package/dist/chunks/{bus-tfym5c4x.js → reference-wg42tg3h.js} +4 -4
- package/dist/chunks/{bus-6b30g155.js → reference-wk3sjerj.js} +17 -17
- package/dist/chunks/{bus-8e0dmvmv.js → reference-wr1hnkrb.js} +10 -10
- package/dist/chunks/{bus-kfxc74n2.js → reference-x0ts5zjw.js} +15 -15
- package/dist/chunks/{bus-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-x43y2vfs.js → reference-x43y2vfs.js} +2 -2
- package/dist/chunks/{bus-gxnpxzy4.js → reference-x9qzeg26.js} +30 -30
- package/dist/chunks/{bus-jkvdn3cn.js → reference-xbvr7qd3.js} +35 -35
- package/dist/chunks/{bus-vmmc4gn1.js → reference-xc6qfj0x.js} +32 -32
- package/dist/chunks/{bus-0khbs0qs.js → reference-xn1g4e4n.js} +3 -3
- package/dist/chunks/{bus-zcrspsvn.js → reference-xw0r27ex.js} +4 -4
- package/dist/chunks/{bus-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-mykmszv9.js → reference-y3501xtg.js} +9 -9
- package/dist/chunks/{bus-zex37ywk.js → reference-y397pytd.js} +5 -5
- package/dist/chunks/{bus-27rw376c.js → reference-y4h8j882.js} +85 -85
- package/dist/chunks/{bus-kxxjg53x.js → reference-y5carwhs.js} +56 -56
- package/dist/chunks/{bus-y71avatq.js → reference-y71avatq.js} +1 -1
- package/dist/chunks/{bus-xkvztyjm.js → reference-yb4w2300.js} +4 -4
- package/dist/chunks/{bus-gcx2w7qz.js → reference-yhx7fnrq.js} +27 -27
- package/dist/chunks/{bus-mkyh9633.js → reference-ymxzgkec.js} +40 -40
- package/dist/chunks/{bus-yp2x3t23.js → reference-yp2x3t23.js} +1 -1
- package/dist/chunks/{bus-vwqs12jy.js → reference-ypgwc49d.js} +15 -15
- package/dist/chunks/{bus-e406nj4k.js → reference-ypt602pg.js} +6 -6
- package/dist/chunks/{bus-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-yrznvahk.js → reference-yrznvahk.js} +2 -2
- package/dist/chunks/{bus-fjta8say.js → reference-yvdpqkmv.js} +20 -20
- package/dist/chunks/{bus-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-qr92006n.js → reference-z2vp0ram.js} +11 -11
- package/dist/chunks/{bus-nnmhqe7b.js → reference-z4bnc0k3.js} +14 -14
- package/dist/chunks/{bus-z63w68vq.js → reference-z63w68vq.js} +2 -2
- package/dist/chunks/{bus-3fvkbj1e.js → reference-z8d4gyxr.js} +54 -54
- package/dist/chunks/{bus-wjc2s1ba.js → reference-zag8ssnp.js} +24 -24
- package/dist/chunks/{bus-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-d21tpfeg.js → reference-zqcfszr7.js} +4 -4
- package/dist/chunks/{bus-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-r1mjw3sd.js → reference-zrgpjm4k.js} +14 -14
- package/dist/chunks/{bus-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- 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 +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- 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 +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/bus-0mesazry.js +0 -4
- package/dist/chunks/bus-92fxycsj.js +0 -247
- package/dist/chunks/bus-cptd71b8.js +0 -462
- package/dist/chunks/bus-qc068m1q.js +0 -18
- package/dist/chunks/bus-ypn041zc.js +0 -22
- /package/dist/chunks/{bus-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → reference-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a1tpkmh4.js → reference-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-hrnqkpcd.js → reference-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-paphc93g.js → reference-paphc93g.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → reference-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service49,
|
|
6
|
+
node52
|
|
7
|
+
} from "./reference-jzrkhfnx.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service32,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer15,
|
|
20
|
+
node: () => node35
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service32 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer15 = Layer.effect(Service32, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service49;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -61,12 +61,12 @@ var layer9 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
61
61
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service32.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node35 = makeLocationNode({
|
|
67
|
+
service: Service32,
|
|
68
|
+
layer: layer15,
|
|
69
|
+
deps: [node52, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError2, Service32, layer15, node35, exports_generate2 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service56
|
|
7
|
+
} from "./reference-ss5t5285.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service60
|
|
13
|
+
} from "./reference-43vjkkh2.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service42
|
|
16
|
+
} from "./reference-35pawy1v.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service68
|
|
19
|
+
} from "./reference-4dp2399g.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service65,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-95b6ghe6.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./reference-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service77,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./reference-a9m3pnym.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError4,
|
|
36
|
+
Service45
|
|
37
|
+
} from "./reference-npqmz80p.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service13
|
|
40
|
+
} from "./reference-y4h8j882.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./reference-qd5n9004.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./reference-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input4,
|
|
53
|
+
Plugin: () => Plugin34,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name4
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name4 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input4 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin34 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service13;
|
|
122
|
+
const jobs = yield* Service42;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service60;
|
|
125
|
+
const access = yield* Service65;
|
|
126
|
+
const shell = yield* Service45;
|
|
127
|
+
const shellSelect = yield* Service77;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service68;
|
|
130
|
+
const config = yield* Service56;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin12 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name4,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin12 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name4,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input4,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin12 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name4,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name4];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin34, exports_shell2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service75,
|
|
9
|
+
node80
|
|
10
|
+
} from "./reference-7zdm33ac.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service73,
|
|
13
|
+
node78
|
|
14
|
+
} from "./reference-j460kft3.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./reference-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID3,
|
|
27
|
+
Service: () => Service33,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID3 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service33 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service75;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service73;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID3.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service33.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node36 = makeLocationNode({
|
|
139
|
+
service: Service33,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node80, Global.node, node78]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer3 = Layer.succeed(
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service33, Service33.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service52, Service52.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error3({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID3, Error3, Service33, node36, noopLayer3, exports_snapshot2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git3 = {};
|
|
@@ -15,11 +15,11 @@ __export(exports_git3, {
|
|
|
15
15
|
Git: () => exports_git3,
|
|
16
16
|
OperationError: () => OperationError3,
|
|
17
17
|
Repository: () => Repository2,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service75,
|
|
19
19
|
TreeID: () => TreeID2,
|
|
20
20
|
Worktree: () => Worktree2,
|
|
21
21
|
WorktreeError: () => WorktreeError2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node80
|
|
23
23
|
});
|
|
24
24
|
import path from "path";
|
|
25
25
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class Service75 extends Context.Service()("@opencode/Git") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
90
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
91
91
|
const fs = yield* FSUtil.Service;
|
|
92
92
|
const proc = yield* AppProcess.Service;
|
|
93
93
|
const locks = makeUnsafe2();
|
|
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
409
409
|
kind: index === 0 ? "main" : "linked"
|
|
410
410
|
}));
|
|
411
411
|
});
|
|
412
|
-
return
|
|
412
|
+
return Service75.of({
|
|
413
413
|
repo: { discover, clone, create },
|
|
414
414
|
remote: { get: remote },
|
|
415
415
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}));
|
|
428
|
-
var
|
|
428
|
+
var node80 = makeGlobalNode({ service: Service75, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
429
429
|
function run(cwd, proc, args) {
|
|
430
430
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
431
431
|
}
|
|
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
|
|
|
450
450
|
return path.resolve(cwd, normalized);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
453
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service75, node80, exports_git3 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-aerscydv.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node66
|
|
12
|
+
} from "./reference-ftdzjz2b.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info22,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service61,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured9,
|
|
30
|
+
node: () => node65
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID10 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info22 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID10,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info25 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID10,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service61 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service61,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node66]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info22({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service61.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID10.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node65 = configured9();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID10, Info22, NotFound3, CreateConflict2, Service61, configured9, node65, exports_workspace };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service5.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node8 = makeLocationNode({ service: Service5, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service5, node8, exports_location_watcher_policy };
|