@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-9mv39jdx.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-16nrxpzh.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
NotFoundError: () => NotFoundError4,
|
|
20
|
-
Options: () =>
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
22
|
+
Service: () => Service23,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured4,
|
|
25
25
|
layer: () => layer10,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node26
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,9 +35,9 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
@@ -47,9 +47,9 @@ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError",
|
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service23 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service23.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -256,16 +256,16 @@ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* (
|
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
258
|
var layer10 = makeLayer();
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var configured4 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service23,
|
|
261
261
|
layer: options === undefined ? layer10 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node26 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError4, Service23, layer10, configured4, node26, exports_persistent_pty, Handoff2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./git-e7fged3g.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./git-ncqa4rgx.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service60
|
|
13
|
+
} from "./git-t1t9n6y4.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service50
|
|
16
|
+
} from "./git-ffk3tnaf.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service69
|
|
19
|
+
} from "./git-4v7yaj9r.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service19,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-s3j81f4a.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service59,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./git-16nrxpzh.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service53
|
|
37
|
+
} from "./git-nr9pd330.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service28
|
|
40
|
+
} from "./git-mbfyshdn.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./git-rnnxe44a.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./git-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input7,
|
|
53
|
+
Plugin: () => Plugin44,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name7
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name7 = "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. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
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 Input7 = 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."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin44 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service28;
|
|
123
|
+
const jobs = yield* Service50;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service60;
|
|
126
|
+
const access = yield* Service19;
|
|
127
|
+
const shell = yield* Service53;
|
|
128
|
+
const shellSelect = yield* Service59;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service69;
|
|
131
|
+
const config = yield* Service55;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin38 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name7,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin38 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name7,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input7,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin38 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name7,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name7];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin44, exports_shell2 };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-9mv39jdx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service9,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer7,
|
|
17
|
+
node: () => node11
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service9 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service83;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service9.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node11 = makeGlobalNode({ service: Service9, layer: layer7, deps: [node87] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service9, layer7, node11, exports_sdk };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info31,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info31 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info31, Status3, key2, exports_connection };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer16,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node47,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make21(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer16 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer16(input), deps: [] });
|
|
33
|
+
var node47 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer16, configured6, node47, exports_app };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-9mv39jdx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./git-eqvftjbn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID18,
|
|
11
|
+
Service82,
|
|
12
|
+
node86
|
|
13
|
+
} from "./git-apyybb6c.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError9
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-vjjxy6yb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service71,
|
|
19
|
+
node75
|
|
20
|
+
} from "./git-z6p0ftv1.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service70,
|
|
26
|
+
node74
|
|
27
|
+
} from "./git-rsdkdfjj.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service72,
|
|
30
|
+
node76
|
|
31
|
+
} from "./git-4w5f3qm5.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./git-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,8 +42,8 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
45
|
+
Event: () => Event15,
|
|
46
|
+
ID: () => ID9,
|
|
47
47
|
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
@@ -51,21 +51,21 @@ __export(exports_permission2, {
|
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service69,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node73
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event15 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID9 = Permission.ID;
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID9.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID18.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID9,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID9,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID9
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service69 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service76;
|
|
133
|
+
const agents = yield* Service82;
|
|
134
|
+
const sessions = yield* Service71;
|
|
135
|
+
const saved = yield* Service70;
|
|
136
|
+
const hooks = yield* Service72;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID9.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID9.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service69.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node73 = makeLocationNode({
|
|
303
|
+
service: Service69,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node87,
|
|
305
|
+
deps: [node87, node80, node86, node75, node74, node76]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID9, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service69, node73, exports_permission2, Rule3, Ruleset2, Event15 };
|