@opencode/core 0.0.0-dev-20386 → 0.0.0-dev-20388
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{bus-hbpa88t1.js → git-02v793tm.js} +23 -23
- package/dist/chunks/{bus-n8m4h8vv.js → git-09tmqmb5.js} +23 -23
- package/dist/chunks/{bus-c52sabfa.js → git-0c0695j7.js} +19 -19
- package/dist/chunks/{bus-4zxcbstk.js → git-0dzy3033.js} +33 -33
- package/dist/chunks/{bus-kxpygcw9.js → git-0ft9cg2j.js} +4 -4
- package/dist/chunks/{bus-c8ahp79r.js → git-0hbfp3rh.js} +25 -25
- package/dist/chunks/{bus-3nyxp4kt.js → git-0kv8bc90.js} +20 -20
- package/dist/chunks/{bus-abem9yh0.js → git-0kznb05v.js} +17 -17
- package/dist/chunks/{bus-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-mr56zc53.js → git-0sz4mzf8.js} +23 -23
- package/dist/chunks/{bus-zzmzhkbe.js → git-10r550b7.js} +34 -34
- package/dist/chunks/{bus-pp173efe.js → git-154cngd0.js} +9 -9
- package/dist/chunks/{bus-4pbr4a79.js → git-16nrxpzh.js} +19 -19
- package/dist/chunks/{bus-1acjjqhc.js → git-1acjjqhc.js} +1 -1
- package/dist/chunks/{bus-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-187kn7r0.js → git-1pbwcgwx.js} +309 -309
- package/dist/chunks/{bus-yhyck5ts.js → git-1vbhmq04.js} +23 -23
- package/dist/chunks/{bus-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{bus-k9jhqx46.js → git-27nk4x6p.js} +10 -10
- package/dist/chunks/{bus-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-1g8mdag0.js → git-2ekc3v9w.js} +10 -10
- package/dist/chunks/{bus-gxjy6dfa.js → git-2fzws0g4.js} +5 -5
- package/dist/chunks/{bus-0mpp7kje.js → git-2j9rgn65.js} +11 -11
- package/dist/chunks/{bus-qgn6gcr1.js → git-2k8khapm.js} +5 -5
- package/dist/chunks/{bus-j0vmqhvn.js → git-2tv7gqmx.js} +11 -11
- package/dist/chunks/{bus-87ayqzvj.js → git-2wrdwt9m.js} +20 -20
- package/dist/chunks/{bus-t69extwx.js → git-2wrfgpms.js} +6 -6
- package/dist/chunks/{bus-8arr1g8f.js → git-2x16c9ep.js} +40 -40
- package/dist/chunks/{bus-w9c7z483.js → git-39c3xmeq.js} +21 -21
- package/dist/chunks/{bus-qm58jeay.js → git-3ern9qn7.js} +3 -3
- package/dist/chunks/{bus-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-cyqrzhgj.js → git-3g22mkwe.js} +17 -17
- package/dist/chunks/{bus-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-knpd28bd.js → git-3j60ppqf.js} +11 -11
- package/dist/chunks/{bus-qhmaerxs.js → git-3n913fej.js} +41 -41
- package/dist/chunks/{bus-y7x142mt.js → git-3pbjq009.js} +8 -8
- package/dist/chunks/{bus-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-er3kxcsq.js → git-3z8t007d.js} +21 -21
- package/dist/chunks/{bus-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{bus-cjtbz79v.js → git-45y17pkn.js} +5 -5
- package/dist/chunks/{bus-12yh3v9m.js → git-4792e2b2.js} +43 -43
- package/dist/chunks/{bus-btjm13ym.js → git-48tzy520.js} +10 -10
- package/dist/chunks/{bus-dnxkq42g.js → git-4ch7j1sz.js} +4 -4
- package/dist/chunks/{bus-jgjn4qh1.js → git-4ev7smc3.js} +11 -11
- package/dist/chunks/{bus-0gjptt89.js → git-4v7yaj9r.js} +47 -47
- package/dist/chunks/{bus-4a0nv7mx.js → git-4w5f3qm5.js} +8 -8
- package/dist/chunks/{bus-fjakxwt0.js → git-4xyzmsba.js} +9 -9
- package/dist/chunks/{bus-jva0abwr.js → git-4y1xccvm.js} +13 -13
- package/dist/chunks/{bus-3y3ca60k.js → git-52d0p3cg.js} +3 -3
- package/dist/chunks/{bus-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{bus-ff50tnq2.js → git-5bdh3vp3.js} +20 -20
- package/dist/chunks/{bus-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-mvksx64m.js → git-5xpznt2d.js} +4 -4
- package/dist/chunks/{bus-a4n3shsa.js → git-640hrwp9.js} +28 -28
- package/dist/chunks/{bus-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{bus-awaqrqtp.js → git-675a9rqf.js} +27 -27
- package/dist/chunks/{bus-8ywrnqjj.js → git-6b56byp1.js} +18 -18
- package/dist/chunks/{bus-sj42pf2p.js → git-6etexda4.js} +9 -9
- package/dist/chunks/{bus-8y86t981.js → git-6j9qywme.js} +11 -11
- package/dist/chunks/{bus-m5k1y86b.js → git-6m45rye6.js} +11 -11
- package/dist/chunks/{bus-6msgmcgs.js → git-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-nkxydt3a.js → git-6rhp9f1h.js} +31 -31
- package/dist/chunks/{bus-9g3kc011.js → git-6t298p2h.js} +12 -12
- package/dist/chunks/{bus-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/git-7fj5dwt0.js +18 -0
- package/dist/chunks/{bus-pphvfzc9.js → git-7jxfk54w.js} +18 -18
- package/dist/chunks/{bus-g5agzp2h.js → git-7pr2hkwv.js} +5 -5
- package/dist/chunks/{bus-v46pt5zw.js → git-7tw9ghjr.js} +14 -14
- package/dist/chunks/{bus-hagpnyr2.js → git-7ty99mn5.js} +5 -5
- package/dist/chunks/{bus-mphgtbj1.js → git-7v81x33d.js} +9 -9
- package/dist/chunks/{bus-1bbkgx8g.js → git-7yh4e7ss.js} +3 -3
- package/dist/chunks/git-804fgeth.js +26 -0
- package/dist/chunks/{bus-84txncab.js → git-84txncab.js} +1 -1
- package/dist/chunks/{bus-453dwvt0.js → git-879n19st.js} +177 -177
- package/dist/chunks/{bus-m708tn22.js → git-87wwy8za.js} +15 -15
- package/dist/chunks/{bus-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/git-8k2g2mjs.js +252 -0
- package/dist/chunks/{bus-825bw704.js → git-8kmdq9aq.js} +40 -40
- package/dist/chunks/{bus-qt2a3bcw.js → git-8m0ba7zt.js} +11 -11
- package/dist/chunks/{bus-kpack14v.js → git-8mn6a01z.js} +4 -4
- package/dist/chunks/{bus-98pprt8f.js → git-8rgxcejn.js} +13 -13
- package/dist/chunks/{bus-py3kkmfq.js → git-8sze2n9a.js} +6 -6
- package/dist/chunks/{bus-9hn6k4tm.js → git-8v6pyhej.js} +8 -8
- package/dist/chunks/{bus-94ek1h2f.js → git-94ek1h2f.js} +2 -2
- package/dist/chunks/{bus-1g721s8n.js → git-97w4v05c.js} +3 -3
- package/dist/chunks/{bus-e8npv53b.js → git-9gm387jw.js} +22 -22
- package/dist/chunks/{bus-jbg63639.js → git-9mv39jdx.js} +4 -4
- package/dist/chunks/{bus-92ssfs48.js → git-9qq5qbrb.js} +24 -24
- package/dist/chunks/{bus-46gydz25.js → git-9snwjxvr.js} +42 -42
- package/dist/chunks/{bus-x62hmsgp.js → git-9xkcece5.js} +11 -11
- package/dist/chunks/{bus-ft6sq6ge.js → git-9yta650y.js} +12 -12
- package/dist/chunks/{bus-nps70g5m.js → git-a149k0pw.js} +23 -23
- package/dist/chunks/{bus-ky3seynh.js → git-a3r4dcrj.js} +2 -2
- package/dist/chunks/{bus-7ehz94ke.js → git-a5ttg10t.js} +12 -12
- package/dist/chunks/{bus-hkagz2yt.js → git-a8htrd82.js} +6 -6
- package/dist/chunks/{bus-vwjrrz0m.js → git-aab22j0c.js} +22 -22
- package/dist/chunks/{bus-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-9r1zvxbf.js → git-ad37gnpt.js} +4 -4
- package/dist/chunks/{bus-f35csz83.js → git-adzwmyxf.js} +18 -18
- package/dist/chunks/{bus-eqhv3z84.js → git-apyybb6c.js} +21 -21
- package/dist/chunks/{bus-awaee7qt.js → git-awaee7qt.js} +1 -1
- package/dist/chunks/{bus-jg5vcgv5.js → git-awpnsnap.js} +81 -81
- package/dist/chunks/{bus-9eg4jjgq.js → git-b04b8x2j.js} +5 -5
- package/dist/chunks/{bus-5gre4vbt.js → git-b2gx3txk.js} +2 -2
- package/dist/chunks/{bus-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-dfe8djrf.js → git-bct739vz.js} +4 -4
- package/dist/chunks/{bus-k2cd168e.js → git-bdp9qg1w.js} +15 -15
- package/dist/chunks/{bus-xapvk9pt.js → git-bj6x105w.js} +13 -13
- package/dist/chunks/{bus-4bj1y1rr.js → git-bk9c1rhb.js} +36 -36
- package/dist/chunks/{bus-v7z2bvyd.js → git-btbmdjwj.js} +4 -4
- package/dist/chunks/{bus-kw3tvbv2.js → git-btd0ftk7.js} +39 -39
- package/dist/chunks/{bus-dbq3dcxy.js → git-c1ezrmqj.js} +20 -20
- package/dist/chunks/{bus-7zqrex6v.js → git-cc3z3mm8.js} +16 -16
- package/dist/chunks/{bus-crsj3ebw.js → git-cee3pda0.js} +4 -4
- package/dist/chunks/{bus-ckecvw8r.js → git-ckecvw8r.js} +2 -2
- package/dist/chunks/{bus-kape24d0.js → git-cv9jj7zm.js} +10 -10
- package/dist/chunks/{bus-h0sz092a.js → git-d10sr3ce.js} +10 -10
- package/dist/chunks/{bus-nxrqtpaw.js → git-d15sf6mv.js} +18 -18
- package/dist/chunks/{bus-hng35392.js → git-d2fqyxj9.js} +34 -34
- package/dist/chunks/{bus-x37017eb.js → git-d9s1mk97.js} +7 -7
- package/dist/chunks/{bus-edc927t6.js → git-dagryq3b.js} +14 -14
- package/dist/chunks/{bus-96mdvajj.js → git-dbpe2207.js} +24 -24
- package/dist/chunks/{bus-cm3spbj7.js → git-dbzhd3wq.js} +1 -1
- package/dist/chunks/{bus-4m9tr61w.js → git-dcvjtemh.js} +16 -16
- package/dist/chunks/{bus-baaqp4zd.js → git-dhmh7aw6.js} +4 -4
- package/dist/chunks/{bus-ht29xtmx.js → git-dk17fbv1.js} +12 -12
- package/dist/chunks/{bus-xjj8bw77.js → git-e7fged3g.js} +25 -23
- package/dist/chunks/{bus-1egn70ga.js → git-ebt03znt.js} +34 -34
- package/dist/chunks/{bus-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-xgmmm5ws.js → git-eg3dg4pc.js} +8 -8
- package/dist/chunks/{bus-48dkvn4f.js → git-eh8a8tjn.js} +12 -12
- package/dist/chunks/{bus-h9t1bzna.js → git-em054f3j.js} +26 -26
- package/dist/chunks/{bus-32sa0c0w.js → git-eqvftjbn.js} +17 -17
- package/dist/chunks/{bus-840n79mv.js → git-esp7reb4.js} +20 -20
- package/dist/chunks/{bus-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-dj9sq318.js → git-evbgk2k8.js} +5 -5
- package/dist/chunks/{bus-n6hmrgxn.js → git-f37yrtqa.js} +7 -6
- package/dist/chunks/{bus-a8bn8zg0.js → git-f3ngv102.js} +4 -4
- package/dist/chunks/{bus-fq8xtrbp.js → git-ffk3tnaf.js} +17 -17
- package/dist/chunks/{bus-j3s2z371.js → git-fhs97t90.js} +9 -9
- package/dist/chunks/{bus-j36k01a4.js → git-ftq5wxdn.js} +8 -8
- package/dist/chunks/{bus-cdwjrg5z.js → git-g04a706a.js} +9 -9
- package/dist/chunks/{bus-9j1htrj5.js → git-g1bwmzbp.js} +3 -3
- package/dist/chunks/{bus-dn8m779r.js → git-g2xmb77m.js} +71 -71
- package/dist/chunks/{bus-cpneeje0.js → git-g6q9qykm.js} +9 -9
- package/dist/chunks/{bus-qvf0fb0d.js → git-g7jkrskj.js} +18 -18
- package/dist/chunks/{bus-8c24f6ff.js → git-gbhc6ywe.js} +17 -17
- package/dist/chunks/{bus-kb6gw2zp.js → git-gc4fb455.js} +4 -4
- package/dist/chunks/{bus-5ehga51n.js → git-gcvc8aqa.js} +3 -3
- package/dist/chunks/{bus-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-af88mf9m.js → git-gh46k75h.js} +28 -28
- package/dist/chunks/{bus-qbx0tcre.js → git-gss037cc.js} +32 -32
- package/dist/chunks/{bus-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
- package/dist/chunks/{bus-syf57q56.js → git-gw7cjrad.js} +4 -4
- package/dist/chunks/{bus-2e474cp7.js → git-gxz3as52.js} +19 -19
- package/dist/chunks/{bus-7vq335ge.js → git-gzjdj5j0.js} +26 -26
- package/dist/chunks/{bus-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-y5dj3dxk.js → git-ha607pgt.js} +6 -6
- package/dist/chunks/{bus-cjmb3pa7.js → git-hg9h6169.js} +4 -4
- package/dist/chunks/{bus-rh8c4axs.js → git-hgkqfzfv.js} +11 -11
- package/dist/chunks/{bus-2ta68rf2.js → git-hncv6x49.js} +7 -7
- package/dist/chunks/{bus-sm965ndy.js → git-hpfvhvya.js} +8 -8
- package/dist/chunks/{bus-qeqbv4aj.js → git-hrtjndpd.js} +11 -11
- package/dist/chunks/{bus-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-xxynqx5z.js → git-jexxy024.js} +2 -2
- package/dist/chunks/{bus-057z78dy.js → git-jgb2hz60.js} +28 -28
- package/dist/chunks/{bus-0jkw1j53.js → git-jkp0d30b.js} +6 -6
- package/dist/chunks/{bus-dyf2220y.js → git-jy3rwz12.js} +27 -27
- package/dist/chunks/{bus-8hbfdwcy.js → git-k0nnq3t9.js} +8 -8
- package/dist/chunks/{bus-k3c624dm.js → git-k3c624dm.js} +3 -3
- package/dist/chunks/{bus-ax6ghwwf.js → git-k6k470b6.js} +31 -31
- package/dist/chunks/{bus-mxbrm02f.js → git-k9gchh7r.js} +9 -9
- package/dist/chunks/{bus-mksw1wy2.js → git-kavy5er9.js} +8 -8
- package/dist/chunks/{bus-78dcfyc2.js → git-kfn1shxw.js} +15 -15
- package/dist/chunks/{bus-2k71kv7p.js → git-m0r31qfn.js} +4 -4
- package/dist/chunks/{bus-jesf17xq.js → git-m0s4j0vx.js} +40 -40
- package/dist/chunks/{bus-m9fjd327.js → git-m11dv875.js} +32 -32
- package/dist/chunks/{bus-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{bus-m58kmhef.js → git-m58kmhef.js} +2 -2
- package/dist/chunks/{bus-k1qrnqst.js → git-m6f3t844.js} +8 -8
- package/dist/chunks/{bus-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-29jjt28q.js → git-mbfyshdn.js} +86 -86
- package/dist/chunks/{bus-1ygqh575.js → git-mfqp6xfm.js} +6 -6
- package/dist/chunks/{bus-w0j0ze2a.js → git-mqpkp4kz.js} +20 -20
- package/dist/chunks/{bus-w22vg6hf.js → git-n8d4mbxn.js} +13 -13
- package/dist/chunks/{bus-bddt2pqj.js → git-nap39a15.js} +14 -14
- package/dist/chunks/{bus-8wy1n625.js → git-ncqa4rgx.js} +43 -43
- package/dist/chunks/{bus-8qp06k83.js → git-ngcyazz8.js} +8 -8
- package/dist/chunks/{bus-bavs97tk.js → git-nr9pd330.js} +47 -47
- package/dist/chunks/{bus-0b4yhjxs.js → git-pfk2n936.js} +48 -48
- package/dist/chunks/{bus-3w2p8hyx.js → git-phesrcgj.js} +21 -21
- package/dist/chunks/{bus-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-gsr3rt87.js → git-pk48rez6.js} +17 -17
- package/dist/chunks/{bus-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{bus-fzyjevma.js → git-pq3e229m.js} +17 -17
- package/dist/chunks/{bus-1sf8sswz.js → git-pztav6qe.js} +16 -16
- package/dist/chunks/{bus-0dhvyftb.js → git-q8gb9q10.js} +32 -32
- package/dist/chunks/{bus-sedacm6d.js → git-qc5tbdym.js} +7 -7
- package/dist/chunks/{bus-vcwt96gk.js → git-qcekwvdg.js} +10 -10
- package/dist/chunks/{bus-8t16g276.js → git-qfgc2m2j.js} +25 -25
- package/dist/chunks/{bus-6nt1sgah.js → git-qfm24y6p.js} +22 -22
- package/dist/chunks/{bus-w5v07rgg.js → git-qjfqjtp6.js} +5 -5
- package/dist/chunks/{bus-4tk06fn7.js → git-qmwqscpd.js} +28 -28
- package/dist/chunks/{bus-80s1qpja.js → git-qq2m58t1.js} +18 -18
- package/dist/chunks/{bus-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-4n607a2z.js → git-qvreyy9g.js} +5 -5
- package/dist/chunks/{bus-8c50268e.js → git-qyj0qkkq.js} +5 -5
- package/dist/chunks/{bus-zrb90v6x.js → git-r2mgmrrq.js} +19 -19
- package/dist/chunks/{bus-2txne078.js → git-ra0ft92r.js} +8 -8
- package/dist/chunks/{bus-894m4bqb.js → git-rantnw5e.js} +8 -8
- package/dist/chunks/{bus-d135fm4j.js → git-rd9ts5sq.js} +54 -54
- package/dist/chunks/{bus-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-q17z9dx8.js → git-rf80fxgj.js} +5 -5
- package/dist/chunks/{bus-0b07cytw.js → git-rnnxe44a.js} +4 -4
- package/dist/chunks/{bus-bhqygd8k.js → git-rsdkdfjj.js} +17 -17
- package/dist/chunks/{bus-3y6qv6fa.js → git-s3dmvxak.js} +34 -34
- package/dist/chunks/{bus-gw3qt7kb.js → git-s3j81f4a.js} +17 -17
- package/dist/chunks/{bus-b26wtfeh.js → git-s5fmfqw4.js} +20 -20
- package/dist/chunks/{bus-b1nmpyb4.js → git-s7xn4jw7.js} +17 -17
- package/dist/chunks/{bus-rhjbct0v.js → git-s8d7rejh.js} +4 -4
- package/dist/chunks/{bus-af04s6ss.js → git-s8zy8myc.js} +5 -5
- package/dist/chunks/{bus-aw4ks25e.js → git-sbpew2a6.js} +13 -13
- package/dist/chunks/{bus-6ktds10y.js → git-t18acs6r.js} +15 -15
- package/dist/chunks/{bus-nmt80txx.js → git-t1t9n6y4.js} +24 -24
- package/dist/chunks/{bus-7hk1a9kn.js → git-t32n9cga.js} +15 -15
- package/dist/chunks/{bus-fym2qhys.js → git-t5qhm49b.js} +1 -1
- package/dist/chunks/{bus-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{bus-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{bus-g8d3gcyj.js → git-tkmwgdpd.js} +4 -4
- package/dist/chunks/{bus-3rg5dt53.js → git-tm9mtfcm.js} +20 -20
- package/dist/chunks/{bus-gfnd1j1q.js → git-tpmcqqx3.js} +5 -5
- package/dist/chunks/{bus-137fdrk4.js → git-ts95b2w6.js} +8 -8
- package/dist/chunks/{bus-tvtrv512.js → git-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-62hy5w4k.js → git-v5fh98v6.js} +11 -11
- package/dist/chunks/{bus-rq0cynag.js → git-vavepvbb.js} +9 -9
- package/dist/chunks/{bus-t5ymyahf.js → git-ve3qrhhk.js} +22 -22
- package/dist/chunks/{bus-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-aj9wrhbp.js → git-vjjxy6yb.js} +3 -3
- package/dist/chunks/{bus-bm36gav2.js → git-vkf44a78.js} +3 -3
- package/dist/chunks/{bus-bv7gpt9b.js → git-vptfm5hv.js} +9 -9
- package/dist/chunks/{bus-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{bus-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-qjnxxf51.js → git-wbkyxrgf.js} +5 -5
- package/dist/chunks/{bus-wd3x2cqz.js → git-wd3x2cqz.js} +2 -2
- package/dist/chunks/{bus-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{bus-fdms3n6w.js → git-wk5z6jzv.js} +9 -9
- package/dist/chunks/{bus-pyc5j42v.js → git-wt2stqwd.js} +35 -35
- package/dist/chunks/{bus-fwvczyet.js → git-wvjdx0nk.js} +20 -20
- package/dist/chunks/{bus-427t97hr.js → git-wxyynt4w.js} +1 -1
- package/dist/chunks/{bus-cxzq7vxy.js → git-wzyvzam6.js} +24 -24
- package/dist/chunks/{bus-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-x2z7greh.js → git-x8sg340m.js} +41 -41
- package/dist/chunks/{bus-ppbeg2ft.js → git-xa1geypd.js} +37 -37
- package/dist/chunks/{bus-xfkkasph.js → git-xfkkasph.js} +1 -1
- package/dist/chunks/{bus-c7w8kqar.js → git-xjqdvhz2.js} +4 -4
- package/dist/chunks/{bus-dmqcgk4z.js → git-xkntkrq7.js} +5 -5
- package/dist/chunks/{bus-f9rm78b5.js → git-xnd5ej3q.js} +5 -5
- package/dist/chunks/{bus-vefpeqf1.js → git-xqq4j1ks.js} +12 -12
- package/dist/chunks/{bus-dc6tzc5b.js → git-xxhb4jr7.js} +9 -9
- package/dist/chunks/{bus-m0jez0qq.js → git-xzcsrrr7.js} +10 -10
- package/dist/chunks/{bus-8h0ahnmn.js → git-y0k7ncdy.js} +22 -22
- package/dist/chunks/{bus-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-j6peaycv.js → git-y6se903k.js} +11 -11
- package/dist/chunks/{bus-y71avatq.js → git-y71avatq.js} +1 -1
- package/dist/chunks/{bus-r9t00hsy.js → git-yg6nt6v4.js} +8 -8
- package/dist/chunks/{bus-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-yrznvahk.js → git-yrznvahk.js} +2 -2
- package/dist/chunks/{bus-k4z41wd4.js → git-ysypevm1.js} +8 -8
- package/dist/chunks/{bus-7vqcmx4q.js → git-yxf2kahc.js} +9 -9
- package/dist/chunks/{bus-ps6629h5.js → git-yztfb3pz.js} +26 -26
- package/dist/chunks/{bus-z07pqspn.js → git-z07pqspn.js} +3 -3
- package/dist/chunks/{bus-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-z63w68vq.js → git-z63w68vq.js} +2 -2
- package/dist/chunks/{bus-26qjdhj3.js → git-z6p0ftv1.js} +14 -14
- package/dist/chunks/{bus-xzne595f.js → git-z7agxk7e.js} +15 -15
- package/dist/chunks/{bus-x6wr6p94.js → git-z8bsjf0y.js} +3 -3
- package/dist/chunks/{bus-zeh9ct20.js → git-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-2y7xnc52.js → git-zfx54h0g.js} +9 -9
- package/dist/chunks/{bus-nf7503gn.js → git-zmdb4gxh.js} +5 -5
- package/dist/chunks/{bus-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-7q81yew2.js → git-zw63bdmn.js} +12 -12
- package/dist/chunks/{bus-zxq2ej10.js → git-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 +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +122 -122
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +102 -102
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- 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 +78 -78
- package/dist/formatter/builtins.js +4 -4
- 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 +99 -99
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- 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 +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +230 -230
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +120 -120
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +114 -114
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +122 -122
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +1 -1
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/bus-axpe2ek8.js +0 -252
- package/dist/chunks/bus-k62abecv.js +0 -26
- package/dist/chunks/bus-rap9a73h.js +0 -18
- /package/dist/chunks/{bus-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-34c7v6d4.js → git-34c7v6d4.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → git-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin27,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin27 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin16 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin27, exports_identity };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-9mv39jdx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node59
|
|
7
|
+
} from "./git-ve3qrhhk.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
Service4,
|
|
10
10
|
node6
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-a149k0pw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service38
|
|
14
|
+
} from "./git-7fj5dwt0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node25,
|
|
17
|
+
ID3
|
|
18
|
+
} from "./git-wvjdx0nk.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service10,
|
|
21
|
+
node12
|
|
22
|
+
} from "./git-8v6pyhej.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./git-1pbwcgwx.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make4,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./git-ra0ft92r.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service9,
|
|
35
|
+
node11
|
|
36
|
+
} from "./git-48tzy520.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service5,
|
|
39
|
+
node7
|
|
40
|
+
} from "./git-wk5z6jzv.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./git-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer4,
|
|
50
|
+
node: () => node5
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
116
116
|
failures: [
|
|
117
117
|
...failures.values(),
|
|
118
118
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
119
|
-
id:
|
|
119
|
+
id: ID3.make(plugin.id),
|
|
120
120
|
source: plugin.source ?? { type: "builtin" },
|
|
121
121
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
122
122
|
features: { server: true, ...plugin.features }
|
|
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
pending: [...pending]
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
|
-
var
|
|
129
|
-
const registry = yield*
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
128
|
+
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
+
const registry = yield* Service38;
|
|
130
|
+
const sdk = yield* Service9;
|
|
131
|
+
const instance = yield* Service10;
|
|
132
|
+
const sources = yield* Service4;
|
|
133
|
+
const modules = yield* make4();
|
|
134
134
|
const bus = yield* Service83;
|
|
135
|
-
const updates = yield*
|
|
135
|
+
const updates = yield* Service5;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
210
|
+
node25,
|
|
211
|
+
node11,
|
|
212
|
+
node12,
|
|
213
213
|
node6,
|
|
214
|
-
|
|
214
|
+
node7,
|
|
215
215
|
node87,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node59,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export {
|
|
227
|
+
export { layer4, node5, exports_supervisor };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node82
|
|
10
|
+
} from "./git-6t298p2h.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node80
|
|
14
|
+
} from "./git-eqvftjbn.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-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: () => Error4,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service51,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node54,
|
|
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 ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 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 Service51 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service61, 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 Error4({ 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(Service61, 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 Error4({ 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(Service61, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service51.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node54 = makeLocationNode({
|
|
144
|
+
service: Service51,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node82, Global.node, node80]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service51, Service51.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service61, Service61.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error4({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error4, Service51, node54, noopLayer3, exports_snapshot2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service18,
|
|
10
|
+
node: () => node20
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service18 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service18, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service18.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var node20 = makeGlobalNode({ service: Service18, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service18, node20, exports_managed_policy };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID11,
|
|
3
|
-
|
|
3
|
+
Info25,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-jexxy024.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-gcvc8aqa.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-9mv39jdx.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node81
|
|
21
|
+
} from "./git-btd0ftk7.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service48,
|
|
24
|
+
node51
|
|
25
|
+
} from "./git-jkp0d30b.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./git-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./git-z07pqspn.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node50
|
|
34
|
+
} from "./git-c1ezrmqj.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./git-5xpznt2d.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./git-6etexda4.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./git-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node33
|
|
47
|
+
} from "./git-adzwmyxf.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node47
|
|
51
|
+
} from "./git-4ev7smc3.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./git-vjjxy6yb.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service71,
|
|
68
|
+
node75
|
|
69
|
+
} from "./git-z6p0ftv1.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service50,
|
|
72
|
+
node53
|
|
73
|
+
} from "./git-ffk3tnaf.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service45,
|
|
76
|
+
node49
|
|
77
|
+
} from "./git-10r550b7.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./git-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service37,
|
|
83
|
+
node41
|
|
84
|
+
} from "./git-154cngd0.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./git-pztav6qe.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./git-eg3dg4pc.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service67,
|
|
93
|
+
node71
|
|
94
|
+
} from "./git-y6se903k.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service29,
|
|
100
|
+
node32
|
|
101
|
+
} from "./git-rd9ts5sq.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service54,
|
|
104
|
+
node57
|
|
105
|
+
} from "./git-hpfvhvya.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make13
|
|
108
|
+
} from "./git-k6k470b6.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./git-hgkqfzfv.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./git-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -125,20 +125,20 @@ __export(exports_session, {
|
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
126
|
ID: () => ID11,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info25,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
133
|
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service28,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node31
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput3 =
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput5;
|
|
152
|
+
class Service28 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service77;
|
|
160
|
+
const execution = yield* Service45;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
162
|
+
const transport = yield* Service37;
|
|
163
|
+
const store = yield* Service71;
|
|
164
|
+
const instances = yield* Service48;
|
|
165
|
+
const moves = yield* Service29;
|
|
166
|
+
const jobs = yield* Service50;
|
|
167
|
+
const environments = yield* Service54;
|
|
168
|
+
const locations = yield* Service67;
|
|
169
|
+
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service28.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service48, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node31 = Node.makeGlobalNode({
|
|
331
|
+
service: Service28,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node53,
|
|
335
|
+
node57,
|
|
336
336
|
node88,
|
|
337
337
|
node87,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
338
|
+
node81,
|
|
339
|
+
node49,
|
|
340
|
+
node41,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node75,
|
|
343
|
+
node51,
|
|
344
|
+
node50,
|
|
345
|
+
node32,
|
|
346
|
+
node33,
|
|
347
|
+
node71,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node47
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service28, node31, exports_session };
|