@opencode/core 0.0.0-dev-21009 → 0.0.0-dev-21013
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 +77 -77
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{state-fv0c2at4.js → formatter-015f3c81.js} +15 -15
- package/dist/chunks/{state-eaj1djv9.js → formatter-02nrjc1r.js} +4 -4
- package/dist/chunks/{state-whtn744p.js → formatter-04frbxpp.js} +77 -77
- package/dist/chunks/{state-6vcva7hs.js → formatter-08035mxz.js} +9 -9
- package/dist/chunks/{state-9mxpbgmg.js → formatter-0d2vgyq6.js} +22 -22
- package/dist/chunks/{state-enztmqw1.js → formatter-0h27695m.js} +12 -12
- package/dist/chunks/{state-sw0cpgwh.js → formatter-0nfx68vs.js} +8 -8
- package/dist/chunks/{state-0vbcp93d.js → formatter-0vbcp93d.js} +2 -2
- package/dist/chunks/{state-x28btc3q.js → formatter-0x81qgcv.js} +25 -25
- package/dist/chunks/{state-3wfkz6s1.js → formatter-19nx87eh.js} +14 -14
- package/dist/chunks/{state-s2a95s6w.js → formatter-1edxb1vv.js} +15 -15
- package/dist/chunks/{state-d7mw2e25.js → formatter-1h867pj6.js} +15 -15
- package/dist/chunks/{state-qv9j2mcm.js → formatter-1qh5f7t0.js} +17 -17
- package/dist/chunks/{state-syfte0ky.js → formatter-2353axak.js} +30 -30
- package/dist/chunks/{state-f747k6ef.js → formatter-283jaw88.js} +16 -16
- package/dist/chunks/formatter-2tm8sjbk.js +253 -0
- package/dist/chunks/{state-zcrspsvn.js → formatter-2vs2nh1n.js} +4 -4
- package/dist/chunks/{state-as456vm3.js → formatter-2wh84egx.js} +3 -3
- package/dist/chunks/{state-31xfzrxg.js → formatter-31xfzrxg.js} +2 -2
- package/dist/chunks/{state-yntsa6by.js → formatter-332njvv8.js} +18 -18
- package/dist/chunks/{state-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-tjx18q08.js → formatter-3frqz641.js} +31 -31
- package/dist/chunks/{state-rxqq4vmb.js → formatter-3hdbdc9p.js} +24 -24
- package/dist/chunks/{state-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-t5br7zt2.js → formatter-3hnj3vj9.js} +50 -50
- package/dist/chunks/{state-3hwn7j4h.js → formatter-3hwn7j4h.js} +2 -2
- package/dist/chunks/{state-36zsp7wt.js → formatter-3m9w5d4q.js} +6 -6
- package/dist/chunks/{state-461nxmbv.js → formatter-3n40wvxh.js} +5 -5
- package/dist/chunks/{state-vgmdqk35.js → formatter-3p7s2r2p.js} +78 -78
- package/dist/chunks/{state-wvce6prw.js → formatter-3rj6f3np.js} +25 -25
- package/dist/chunks/{state-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
- package/dist/chunks/{state-4mwpykj0.js → formatter-4mwpykj0.js} +1 -1
- package/dist/chunks/{state-s8nse3sh.js → formatter-4s59bs54.js} +36 -36
- package/dist/chunks/{state-pn82kknm.js → formatter-4sfwg2ck.js} +17 -17
- package/dist/chunks/{state-4xpgt2w9.js → formatter-4xpgt2w9.js} +2 -2
- package/dist/chunks/{state-wtag1fy8.js → formatter-50gtqem5.js} +9 -9
- package/dist/chunks/{state-kwft1sg7.js → formatter-55t91gwp.js} +2 -2
- package/dist/chunks/{state-cczz7jj2.js → formatter-56hry5jr.js} +1 -1
- package/dist/chunks/{state-1trdtce6.js → formatter-5aj6czy3.js} +11 -11
- package/dist/chunks/{state-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{state-ebee5761.js → formatter-5z5kbpps.js} +22 -22
- package/dist/chunks/{state-4scw7yhd.js → formatter-662wwg4x.js} +18 -18
- package/dist/chunks/{state-4z23ab3a.js → formatter-6kskhkf1.js} +5 -5
- package/dist/chunks/{state-mkk9p8j3.js → formatter-6p31tnqt.js} +41 -41
- package/dist/chunks/{state-j34bs4nz.js → formatter-6t4hr8r6.js} +4 -4
- package/dist/chunks/{state-cy6fv8hx.js → formatter-6vyn749n.js} +36 -36
- package/dist/chunks/{state-6xb47vfp.js → formatter-6xb47vfp.js} +1 -1
- package/dist/chunks/{state-a4hhctr7.js → formatter-6xhm7n2c.js} +10 -10
- package/dist/chunks/{state-y6877jmf.js → formatter-6zddjdst.js} +20 -20
- package/dist/chunks/{state-775gj3j1.js → formatter-775gj3j1.js} +2 -2
- package/dist/chunks/{state-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-s9n56xqt.js → formatter-7c576772.js} +19 -19
- package/dist/chunks/{state-mc9ntjar.js → formatter-7ccd9sgx.js} +17 -17
- package/dist/chunks/{state-d5fw341f.js → formatter-7ejdeqms.js} +8 -8
- package/dist/chunks/{state-9hwsx7sz.js → formatter-7f82f210.js} +46 -46
- package/dist/chunks/{state-39v2tedr.js → formatter-7g29pkaf.js} +13 -13
- package/dist/chunks/{state-0459jf51.js → formatter-7qbbv60v.js} +22 -22
- package/dist/chunks/{state-nfyst927.js → formatter-7wnqvywx.js} +20 -20
- package/dist/chunks/{state-w1eejvng.js → formatter-84txncab.js} +5 -5
- package/dist/chunks/{state-zw7vdsjy.js → formatter-899eqk77.js} +16 -16
- package/dist/chunks/{state-q1tvsgae.js → formatter-8c2qsf3t.js} +12 -12
- package/dist/chunks/{state-z4vev6b8.js → formatter-8hac7c6g.js} +11 -11
- package/dist/chunks/{state-8m6m0r52.js → formatter-8m6m0r52.js} +1 -1
- package/dist/chunks/{state-tjntatma.js → formatter-8svxbds8.js} +10 -10
- package/dist/chunks/{state-91qna3x0.js → formatter-91qna3x0.js} +3 -3
- package/dist/chunks/{state-qnbwvk35.js → formatter-9ddcqjst.js} +1 -1
- package/dist/chunks/formatter-9sh4wc5j.js +18 -0
- package/dist/chunks/{state-qcmwxm77.js → formatter-a346vg2z.js} +7 -7
- package/dist/chunks/{state-0pnnt7d9.js → formatter-a6rx491g.js} +2 -2
- package/dist/chunks/{state-0ssmrtzc.js → formatter-ab3n2c3a.js} +26 -26
- package/dist/chunks/{state-dkyft7f8.js → formatter-ad7qy436.js} +9 -9
- package/dist/chunks/{state-pck7vvdx.js → formatter-adfh29v0.js} +5 -5
- package/dist/chunks/{state-qjk7rny4.js → formatter-afe0v1cd.js} +11 -11
- package/dist/chunks/{state-6hjx5zpb.js → formatter-ajdjch6h.js} +9 -9
- package/dist/chunks/{state-55t5gfwz.js → formatter-ajp2d162.js} +11 -11
- package/dist/chunks/{state-cccpa7j0.js → formatter-akvc5q3a.js} +5 -5
- package/dist/chunks/{state-bst6928h.js → formatter-aqbj56nq.js} +13 -13
- package/dist/chunks/{state-6s0n9v0f.js → formatter-av61pe84.js} +14 -14
- package/dist/chunks/{state-zk57ev3y.js → formatter-b0f1bdm2.js} +36 -36
- package/dist/chunks/{state-e0ynfkzs.js → formatter-b0w5rcd3.js} +9 -9
- package/dist/chunks/{state-k1441ryq.js → formatter-b72rtwfy.js} +33 -33
- package/dist/chunks/{state-mdqzwza3.js → formatter-bc2z15ca.js} +85 -85
- package/dist/chunks/{state-sm965ndy.js → formatter-be7qvw84.js} +8 -8
- package/dist/chunks/{state-q8t4c571.js → formatter-bgmkc152.js} +26 -26
- package/dist/chunks/{state-mfzxjtt0.js → formatter-bs1j93w2.js} +48 -11
- package/dist/chunks/{state-x004tdjz.js → formatter-bsysq0ez.js} +17 -17
- package/dist/chunks/{state-c1fqxshp.js → formatter-c1fqxshp.js} +3 -3
- package/dist/chunks/{state-jxzdswa4.js → formatter-c1kp7gpd.js} +44 -44
- package/dist/chunks/{state-ex0n3awc.js → formatter-c2gyfhkp.js} +18 -18
- package/dist/chunks/{state-hbk0ph6g.js → formatter-c9wbyant.js} +4 -4
- package/dist/chunks/{state-qwtxsz6h.js → formatter-cb1kb5zz.js} +17 -17
- package/dist/chunks/{state-wk4eqn65.js → formatter-cc6b32k2.js} +1 -1
- package/dist/chunks/{state-71f49j0g.js → formatter-ccr708e6.js} +13 -13
- package/dist/chunks/{state-svcw9x3w.js → formatter-cd6h4nzs.js} +12 -12
- package/dist/chunks/{state-4z92mb94.js → formatter-cp57n86a.js} +32 -32
- package/dist/chunks/{state-t96xapfm.js → formatter-crrxh0px.js} +46 -46
- package/dist/chunks/{state-hqqj3jg8.js → formatter-cz2py90e.js} +3 -3
- package/dist/chunks/{state-6zgzw1pt.js → formatter-d6h3yzf0.js} +8 -8
- package/dist/chunks/{state-ws9zqs95.js → formatter-d796kbef.js} +34 -34
- package/dist/chunks/{state-1xk6wedh.js → formatter-d9b0f5kc.js} +7 -7
- package/dist/chunks/{state-8b6w8cc4.js → formatter-dqgx37xb.js} +8 -8
- package/dist/chunks/{state-dqxsqydv.js → formatter-dqxsqydv.js} +1 -1
- package/dist/chunks/{state-xfkkasph.js → formatter-drwq78ky.js} +4 -4
- package/dist/chunks/{state-aw5wphbn.js → formatter-dsdg21fa.js} +16 -16
- package/dist/chunks/{state-t32deht2.js → formatter-dwf3tdgd.js} +10 -10
- package/dist/chunks/{state-zf0999f0.js → formatter-dxxkxqr1.js} +36 -36
- package/dist/chunks/{state-dvep9rg9.js → formatter-dzw83ac5.js} +9 -9
- package/dist/chunks/{state-xahyd3q0.js → formatter-e4kb0nq8.js} +4 -4
- package/dist/chunks/{state-nma959mg.js → formatter-e80seqcp.js} +3 -3
- package/dist/chunks/{state-eej6y6fw.js → formatter-eej6y6fw.js} +2 -2
- package/dist/chunks/{state-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-28dwcykx.js → formatter-es3cq489.js} +22 -22
- package/dist/chunks/{state-hmj70r58.js → formatter-ev42yzt1.js} +6 -6
- package/dist/chunks/{state-mt9qx574.js → formatter-ex4y3cq4.js} +8 -8
- package/dist/chunks/{state-4kvet074.js → formatter-f0bxardp.js} +16 -16
- package/dist/chunks/{state-teqqnftj.js → formatter-f224v0b1.js} +17 -17
- package/dist/chunks/{state-x4k5jtsf.js → formatter-f26e9619.js} +1 -1
- package/dist/chunks/{state-gw7cjrad.js → formatter-f29mbr7f.js} +4 -4
- package/dist/chunks/{state-2910nsk0.js → formatter-f3cxnthp.js} +130 -130
- package/dist/chunks/{state-fcrkznn8.js → formatter-fcrkznn8.js} +1 -1
- package/dist/chunks/{state-k1df0snj.js → formatter-fg1z6pp1.js} +33 -33
- package/dist/chunks/{state-mkrpb653.js → formatter-fjgg99jy.js} +10 -10
- package/dist/chunks/{state-psw8jam6.js → formatter-fmzzfcx7.js} +15 -15
- package/dist/chunks/{state-n51ng4sf.js → formatter-fqbxrgf0.js} +12 -12
- package/dist/chunks/{state-r2m716tb.js → formatter-ft3hqk2c.js} +9 -9
- package/dist/chunks/{state-axe469zx.js → formatter-g1qebd0t.js} +19 -19
- package/dist/chunks/{state-jsd15znb.js → formatter-g33e3t29.js} +14 -14
- package/dist/chunks/{state-gdqt70vf.js → formatter-g4t5e3me.js} +30 -30
- package/dist/chunks/{state-bybntgg6.js → formatter-gbc8mqyx.js} +6 -6
- package/dist/chunks/{state-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-x5y4snx4.js → formatter-gg15nyhh.js} +342 -320
- package/dist/chunks/{state-gqtdsdt7.js → formatter-gqtdsdt7.js} +1 -1
- package/dist/chunks/{state-rdd5jy1e.js → formatter-gs412db5.js} +22 -22
- package/dist/chunks/{state-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-bfegkxfd.js → formatter-hcv80w8f.js} +8 -8
- package/dist/chunks/{state-hgz4x7wa.js → formatter-hgz4x7wa.js} +1 -1
- package/dist/chunks/{state-r5n5j0f6.js → formatter-hjkq67zn.js} +3 -3
- package/dist/chunks/{state-233w7mxv.js → formatter-hkczk8bw.js} +17 -17
- package/dist/chunks/{state-fxaymqdw.js → formatter-hq3c8me3.js} +4 -4
- package/dist/chunks/{state-m2gc894p.js → formatter-hvzrs0xr.js} +56 -56
- package/dist/chunks/{state-hwms0995.js → formatter-hxrpfe82.js} +1 -1
- package/dist/chunks/{state-bbb0pzjs.js → formatter-j26nqjmz.js} +22 -22
- package/dist/chunks/{state-j45y3r9x.js → formatter-j7mctfem.js} +3 -3
- package/dist/chunks/{state-62mp1sb5.js → formatter-ja2emt1d.js} +6 -6
- package/dist/chunks/{state-3nfzk0qa.js → formatter-je4aj9kh.js} +26 -26
- package/dist/chunks/{state-dtvsbb8r.js → formatter-jfqkz3as.js} +11 -11
- package/dist/chunks/{state-h1rgn063.js → formatter-jh6atg41.js} +11 -11
- package/dist/chunks/{state-jk540des.js → formatter-jk540des.js} +2 -2
- package/dist/chunks/{state-n4pbfpj5.js → formatter-jkfbaykb.js} +32 -32
- package/dist/chunks/{state-y71avatq.js → formatter-jwcy2c2z.js} +4 -4
- package/dist/chunks/{state-bsvaasas.js → formatter-jzrhc3ay.js} +28 -28
- package/dist/chunks/{state-vjvwfxwz.js → formatter-k9jhr1nj.js} +17 -17
- package/dist/chunks/{state-ypb1yt5b.js → formatter-kan5fc59.js} +1 -1
- package/dist/chunks/{state-en8t5366.js → formatter-kfgdhbhb.js} +11 -11
- package/dist/chunks/{state-6hj0q4cz.js → formatter-kh11x27a.js} +10 -10
- package/dist/chunks/{state-kyabj12g.js → formatter-kvesanzg.js} +29 -29
- package/dist/chunks/{state-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-maspj1v3.js → formatter-maspj1v3.js} +1 -1
- package/dist/chunks/{state-sdtdanhm.js → formatter-mfd36709.js} +14 -14
- package/dist/chunks/{state-kcrfwvke.js → formatter-mpmevjqk.js} +13 -13
- package/dist/chunks/{state-412yfsac.js → formatter-mvtm0qmf.js} +13 -13
- package/dist/chunks/{state-mcj02nxj.js → formatter-n4hpj17r.js} +11 -11
- package/dist/chunks/{state-bxqk5pf5.js → formatter-nd4tfyg0.js} +9 -9
- package/dist/chunks/{state-2ncd5bhh.js → formatter-nrd63j21.js} +6 -6
- package/dist/chunks/{state-b69axjbw.js → formatter-ntvjbsjw.js} +23 -23
- package/dist/chunks/{state-3f2m75s5.js → formatter-nxm27acf.js} +8 -8
- package/dist/chunks/{state-3q7f1x34.js → formatter-p0gzq3ww.js} +18 -18
- package/dist/chunks/{state-yfgf9xhk.js → formatter-p2zvaqmw.js} +28 -28
- package/dist/chunks/{state-g0445xdp.js → formatter-p37cw4rj.js} +8 -8
- package/dist/chunks/{state-1baxmn5d.js → formatter-p53nntgz.js} +13 -13
- package/dist/chunks/{state-akbvn2q2.js → formatter-p6tk73t3.js} +15 -15
- package/dist/chunks/{state-japjqhmp.js → formatter-pdf019mb.js} +17 -17
- package/dist/chunks/{state-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{state-mswaxh11.js → formatter-pxs52935.js} +15 -15
- package/dist/chunks/{state-n5xbav3a.js → formatter-pzxf2myn.js} +31 -31
- package/dist/chunks/{state-q0xm7vwc.js → formatter-q0xm7vwc.js} +2 -2
- package/dist/chunks/{state-y15tw7vc.js → formatter-q1f4s60w.js} +11 -11
- package/dist/chunks/{state-qbxb7qd6.js → formatter-q1kj48yt.js} +17 -17
- package/dist/chunks/{state-kpk4pj14.js → formatter-q45ag0p8.js} +27 -27
- package/dist/chunks/{state-7zt5x37y.js → formatter-q5e7cmwt.js} +1 -1
- package/dist/chunks/{state-b7tca0vw.js → formatter-q5eaxa6y.js} +9 -9
- package/dist/chunks/{state-tkmwgdpd.js → formatter-qa3qhgw8.js} +7 -7
- package/dist/chunks/{state-ypy7t2zt.js → formatter-qhvzx7pk.js} +24 -24
- package/dist/chunks/{state-sgfwww2a.js → formatter-qhw583k0.js} +11 -11
- package/dist/chunks/{state-qnc92qwc.js → formatter-qnc92qwc.js} +1 -1
- package/dist/chunks/{state-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{state-gychpwz0.js → formatter-qvcdsk4b.js} +43 -43
- package/dist/chunks/{state-mbganbbe.js → formatter-qvwq1zvz.js} +13 -13
- package/dist/chunks/formatter-qz7awyd3.js +26 -0
- package/dist/chunks/{state-f24gb5bq.js → formatter-r65g850v.js} +19 -19
- package/dist/chunks/{state-54ma36ye.js → formatter-r94pvvab.js} +4 -4
- package/dist/chunks/{state-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-rert0e01.js → formatter-rert0e01.js} +2 -2
- package/dist/chunks/{state-jsfpkejg.js → formatter-rhy9k1rp.js} +18 -18
- package/dist/chunks/{state-rj3eygr5.js → formatter-rj3eygr5.js} +2 -2
- package/dist/chunks/{state-86e23919.js → formatter-rjerygwq.js} +25 -25
- package/dist/chunks/{state-8sze2n9a.js → formatter-rkprpv83.js} +6 -6
- package/dist/chunks/{state-1q5awywt.js → formatter-rmm45jmv.js} +5 -5
- package/dist/chunks/{state-37gkaztk.js → formatter-rptf7q9a.js} +7 -7
- package/dist/chunks/{state-rqa1jxse.js → formatter-rqa1jxse.js} +2 -2
- package/dist/chunks/{state-7rtv58sh.js → formatter-rz47h1na.js} +325 -325
- package/dist/chunks/{state-8xrzt693.js → formatter-s5q76w4b.js} +11 -11
- package/dist/chunks/{state-sa8ekw3f.js → formatter-sa8ekw3f.js} +2 -2
- package/dist/chunks/{state-b3f8fkhc.js → formatter-scgrse2b.js} +5 -5
- package/dist/chunks/{state-fatn83ad.js → formatter-sn62p56x.js} +11 -11
- package/dist/chunks/{state-caywxy8s.js → formatter-sq4kkv30.js} +18 -18
- package/dist/chunks/{state-syv4x271.js → formatter-syv4x271.js} +1 -1
- package/dist/chunks/{state-8raxsvkz.js → formatter-sz4t6e64.js} +4 -4
- package/dist/chunks/{state-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-7zy47b61.js → formatter-tcetyb9j.js} +4 -4
- package/dist/chunks/{state-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{state-bap0endh.js → formatter-te3mz5kp.js} +5 -5
- package/dist/chunks/{state-w53s0d5e.js → formatter-th3em6jy.js} +4 -4
- package/dist/chunks/{state-tm0kqsz3.js → formatter-tm0kqsz3.js} +1 -1
- package/dist/chunks/{state-gbt3zgba.js → formatter-tsyk5zzk.js} +23 -23
- package/dist/chunks/{state-2sfc2842.js → formatter-twkrdnw7.js} +14 -14
- package/dist/chunks/{state-699dywbp.js → formatter-twpzn2hm.js} +27 -27
- package/dist/chunks/{state-twwzjqdf.js → formatter-twwzjqdf.js} +3 -3
- package/dist/chunks/{state-hsjvmpjh.js → formatter-tx6qfw4f.js} +8 -8
- package/dist/chunks/{state-bmr56wjg.js → formatter-txm3e8qz.js} +4 -4
- package/dist/chunks/{state-tyytaxap.js → formatter-tyytaxap.js} +1 -1
- package/dist/chunks/{state-bc42rdv0.js → formatter-v0267kdd.js} +20 -20
- package/dist/chunks/{state-v0es1rhs.js → formatter-v0es1rhs.js} +2 -2
- package/dist/chunks/{state-bwpn7kg9.js → formatter-v3651974.js} +6 -6
- package/dist/chunks/{state-9rpz2hw9.js → formatter-v3ttaphs.js} +26 -26
- package/dist/chunks/{state-zws9m538.js → formatter-v6c6rcwe.js} +14 -14
- package/dist/chunks/{state-v7p4zvkq.js → formatter-v7p4zvkq.js} +2 -2
- package/dist/chunks/{state-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{state-ndtd5qrz.js → formatter-vjv51mvx.js} +32 -32
- package/dist/chunks/{state-468w6mzd.js → formatter-vxspw9yr.js} +4 -4
- package/dist/chunks/{state-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
- package/dist/chunks/{state-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-kre9xjyw.js → formatter-wc72y96k.js} +28 -28
- package/dist/chunks/{state-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{state-adv4y98c.js → formatter-wg6fdgtk.js} +16 -16
- package/dist/chunks/{state-btc7z31r.js → formatter-wg7azwjh.js} +19 -19
- package/dist/chunks/{state-vxrbht7e.js → formatter-whhqcvh8.js} +18 -18
- package/dist/chunks/{state-bjx1sjef.js → formatter-wjr9rjd7.js} +6 -6
- package/dist/chunks/{state-dkh8aq6g.js → formatter-wr0g8n2t.js} +32 -32
- package/dist/chunks/{state-xc05z2m7.js → formatter-wsgnknpb.js} +25 -25
- package/dist/chunks/{state-3sn1tjkz.js → formatter-wsvg2szn.js} +15 -15
- package/dist/chunks/{state-mrh1dx2s.js → formatter-wwt5dmw6.js} +5 -5
- package/dist/chunks/{state-hrqq7wtc.js → formatter-x3c01j44.js} +41 -41
- package/dist/chunks/{state-cy4fvjtm.js → formatter-x40w4ms9.js} +14 -14
- package/dist/chunks/{state-xwmagqs5.js → formatter-x9269a9z.js} +36 -36
- package/dist/chunks/{state-gxn02pch.js → formatter-xgaedbr8.js} +15 -15
- package/dist/chunks/{state-e197ggya.js → formatter-xk0yahwt.js} +2 -2
- package/dist/chunks/{state-b1kaysck.js → formatter-xxtm58em.js} +27 -27
- package/dist/chunks/{state-pxfcehez.js → formatter-xzdszenr.js} +3 -3
- package/dist/chunks/{state-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-ph842b28.js → formatter-y6mhz57t.js} +4 -4
- package/dist/chunks/{state-7tdp8yk2.js → formatter-y8ay14br.js} +21 -21
- package/dist/chunks/{state-mzmrm6vj.js → formatter-yb185ac2.js} +35 -35
- package/dist/chunks/{state-29gc7pfd.js → formatter-ybqwpdwm.js} +14 -14
- package/dist/chunks/{state-44swrvp1.js → formatter-ygfnawd1.js} +16 -16
- package/dist/chunks/{state-wvdx2ek6.js → formatter-ygtkbg8j.js} +9 -9
- package/dist/chunks/{state-c60ns7m9.js → formatter-ygz1yfbt.js} +11 -11
- package/dist/chunks/{state-n5b2wwq8.js → formatter-ykgvx44j.js} +11 -11
- package/dist/chunks/{state-yp2x3t23.js → formatter-yp2x3t23.js} +1 -1
- package/dist/chunks/{state-mpkqfp7v.js → formatter-ysftav9z.js} +6 -6
- package/dist/chunks/{state-26j8sc83.js → formatter-yvgxm2n5.js} +27 -27
- package/dist/chunks/{state-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-96pr1f0k.js → formatter-z1bgcsag.js} +12 -12
- package/dist/chunks/{state-eq20ba7x.js → formatter-z2qvtray.js} +6 -6
- package/dist/chunks/{state-rfh5dkmr.js → formatter-z3yc4nfw.js} +24 -24
- package/dist/chunks/{state-ygdna4kr.js → formatter-z6c3x22d.js} +5 -5
- package/dist/chunks/{state-a2qe2ev9.js → formatter-ze75yzft.js} +8 -8
- package/dist/chunks/{state-4zchtw5z.js → formatter-zpa94q1q.js} +40 -40
- package/dist/chunks/{state-zfwgv53e.js → formatter-zpcg010g.js} +33 -33
- package/dist/chunks/{state-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-tdgts0x2.js → formatter-zw5d2dnw.js} +32 -32
- package/dist/chunks/{state-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +98 -98
- package/dist/models-dev.js +109 -109
- 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 +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +90 -90
- 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 +219 -219
- package/dist/session/execution.js +127 -127
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +122 -122
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/provider.d.ts +2 -0
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/state-1dtj47kj.js +0 -253
- package/dist/chunks/state-5ykcsxae.js +0 -26
- package/dist/chunks/state-by5v678g.js +0 -18
- /package/dist/chunks/{state-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3t0ybcrp.js → formatter-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-48kw51zw.js → formatter-48kw51zw.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-5qd3pb7m.js → formatter-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{state-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{state-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-pkyv6v7h.js → formatter-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{state-pyv0edze.js → formatter-pyv0edze.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wjj7prxr.js → formatter-wjj7prxr.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID16,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service76
|
|
4
|
+
} from "./formatter-7g29pkaf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./formatter-twkrdnw7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service62
|
|
10
|
+
} from "./formatter-crrxh0px.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service50,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-rhy9k1rp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service25
|
|
17
|
+
} from "./formatter-bc2z15ca.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./formatter-r65g850v.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-8m6m0r52.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin9
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin9 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service62;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin36 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service50;
|
|
60
|
+
const sessions = yield* Service25;
|
|
61
|
+
const agents = yield* Service76;
|
|
62
|
+
const subagents = yield* Service8;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin9, exports_command };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-gg15nyhh.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-v3ttaphs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -81,11 +81,18 @@ var openaiResponses = (_, support) => {
|
|
|
81
81
|
var responsesEffort = (effort) => ({
|
|
82
82
|
settings: { reasoningEffort: effort, reasoningSummary: "auto", include: ENCRYPTED_REASONING }
|
|
83
83
|
});
|
|
84
|
-
var
|
|
84
|
+
var openResponses = (_, support) => {
|
|
85
85
|
if (support.type !== "effort")
|
|
86
86
|
return [];
|
|
87
87
|
return efforts(support.values ?? EFFORTS, responsesEffort);
|
|
88
88
|
};
|
|
89
|
+
var googleInteractions = (_, support) => {
|
|
90
|
+
if (support.type !== "effort")
|
|
91
|
+
return [];
|
|
92
|
+
return efforts(support.values ?? EFFORTS, (effort) => ({
|
|
93
|
+
settings: { thinkingLevel: effort, thinkingSummaries: "auto" }
|
|
94
|
+
}));
|
|
95
|
+
};
|
|
89
96
|
var cloudflareAIGateway = (model, support) => {
|
|
90
97
|
const id = modelID(model);
|
|
91
98
|
if (id.startsWith("openai/"))
|
|
@@ -400,16 +407,19 @@ var vercelGateway = (model, support) => {
|
|
|
400
407
|
if (id.startsWith("openai/gpt-"))
|
|
401
408
|
return openaiResponses(model, support);
|
|
402
409
|
if (id.startsWith("spacexai/grok-"))
|
|
403
|
-
return
|
|
404
|
-
|
|
405
|
-
|
|
410
|
+
return openResponses(model, support);
|
|
411
|
+
return vercelMessages(model, support);
|
|
412
|
+
};
|
|
413
|
+
var vercelResponses = (model, support) => modelID(model).startsWith("openai/gpt-") ? openaiResponses(model, support) : openResponses(model, support);
|
|
414
|
+
var vercelMessages = (model, support) => modelID(model).startsWith("anthropic/") ? anthropicMessages(model, support) : vercelChat(model, support);
|
|
415
|
+
var vercelChat = (model, support) => {
|
|
406
416
|
switch (support.type) {
|
|
407
417
|
case "effort":
|
|
408
418
|
return openaiChat(model, support);
|
|
409
419
|
case "toggle":
|
|
410
420
|
return toggle({ settings: { thinking: { type: "disabled" } } }, { settings: { thinking: { type: "adaptive" } } });
|
|
411
421
|
case "budget_tokens":
|
|
412
|
-
return budgets(model, support, (tokens) => ({ settings: { thinking: { type: "enabled", budgetTokens: tokens } } }),
|
|
422
|
+
return budgets(model, support, (tokens) => ({ settings: { thinking: { type: "enabled", budgetTokens: tokens } } }), modelID(model).startsWith("alibaba/") ? ALIBABA_THINKING_BUDGET_MAX : model.limit.output);
|
|
413
423
|
}
|
|
414
424
|
};
|
|
415
425
|
var sapAICore = (model, support) => {
|
|
@@ -486,17 +496,30 @@ var gitlab = (model, support) => {
|
|
|
486
496
|
};
|
|
487
497
|
var PROTOCOLS = {
|
|
488
498
|
"@opencode/ai/providers/openai": openaiResponses,
|
|
499
|
+
"@opencode/ai/providers/openai/responses": openaiResponses,
|
|
500
|
+
"@opencode/ai/providers/azure": openaiResponses,
|
|
489
501
|
"@opencode/ai/providers/azure/responses": openaiResponses,
|
|
490
|
-
"@opencode/ai/providers/amazon-bedrock/mantle
|
|
502
|
+
"@opencode/ai/providers/amazon-bedrock/mantle": openaiResponses,
|
|
491
503
|
"@opencode/ai/providers/amazon-bedrock/mantle/responses": openaiResponses,
|
|
504
|
+
"@opencode/ai/providers/amazon-bedrock-mantle": openaiResponses,
|
|
492
505
|
"@opencode/ai/providers/alibaba/responses": openaiResponses,
|
|
506
|
+
"@opencode/ai/providers/meta": openaiResponses,
|
|
493
507
|
"@opencode/ai/providers/meta/responses": openaiResponses,
|
|
494
508
|
"@opencode/ai/providers/minimax/responses": openaiResponses,
|
|
495
509
|
"@opencode/ai/providers/moonshot/responses": openaiResponses,
|
|
496
510
|
"@opencode/ai/providers/zai-coding-plan/responses": openaiResponses,
|
|
511
|
+
"@opencode/ai/providers/openai-compatible/responses": openResponses,
|
|
512
|
+
"@opencode/ai/providers/openai-compatible-responses": openResponses,
|
|
513
|
+
"@opencode/ai/providers/google-vertex/responses": openResponses,
|
|
514
|
+
"@opencode/ai/providers/google-vertex-responses": openResponses,
|
|
515
|
+
"@opencode/ai/providers/xai": openResponses,
|
|
497
516
|
"@opencode/ai/providers/openai-compatible": openaiCompatible,
|
|
517
|
+
"@opencode/ai/providers/openai/chat": openaiChat,
|
|
498
518
|
"@opencode/ai/providers/azure/chat": openaiChat,
|
|
519
|
+
"@opencode/ai/providers/amazon-bedrock/mantle/chat": openaiChat,
|
|
499
520
|
"@opencode/ai/providers/google-vertex/chat": vertexChat,
|
|
521
|
+
"@opencode/ai/providers/google-vertex-chat": vertexChat,
|
|
522
|
+
"@opencode/ai/providers/alibaba": alibabaChat,
|
|
500
523
|
"@opencode/ai/providers/alibaba/chat": alibabaChat,
|
|
501
524
|
"@opencode/ai/providers/baseten": basetenChat,
|
|
502
525
|
"@opencode/ai/providers/cerebras": openaiChat,
|
|
@@ -510,28 +533,42 @@ var PROTOCOLS = {
|
|
|
510
533
|
"@opencode/ai/providers/meta/chat": openaiChat,
|
|
511
534
|
"@opencode/ai/providers/minimax/chat": openaiChat,
|
|
512
535
|
"@opencode/ai/providers/mistral": openaiChat,
|
|
536
|
+
"@opencode/ai/providers/google-vertex/mistral": openaiChat,
|
|
537
|
+
"@opencode/ai/providers/google-vertex-mistral": openaiChat,
|
|
538
|
+
"@opencode/ai/providers/moonshot": moonshotChat,
|
|
513
539
|
"@opencode/ai/providers/moonshot/chat": moonshotChat,
|
|
514
540
|
"@opencode/ai/providers/togetherai": openaiChat,
|
|
515
541
|
"@opencode/ai/providers/venice": veniceChat,
|
|
516
|
-
"@opencode/ai/providers/
|
|
542
|
+
"@opencode/ai/providers/zai": zaiChat,
|
|
517
543
|
"@opencode/ai/providers/zai/chat": zaiChat,
|
|
544
|
+
"@opencode/ai/providers/zai-coding-plan": zaiChat,
|
|
518
545
|
"@opencode/ai/providers/zai-coding-plan/chat": zaiChat,
|
|
519
546
|
"@opencode/ai/providers/anthropic": anthropicMessages,
|
|
547
|
+
"@opencode/ai/providers/anthropic-compatible": anthropicMessages,
|
|
548
|
+
"@opencode/ai/providers/amazon-bedrock/mantle/messages": anthropicMessages,
|
|
520
549
|
"@opencode/ai/providers/google-vertex/messages": anthropicMessages,
|
|
521
|
-
"@opencode/ai/providers/google-vertex
|
|
550
|
+
"@opencode/ai/providers/google-vertex-messages": anthropicMessages,
|
|
522
551
|
"@opencode/ai/providers/alibaba/messages": alibabaMessages,
|
|
523
552
|
"@opencode/ai/providers/meta/messages": anthropicMessages,
|
|
553
|
+
"@opencode/ai/providers/minimax": minimaxMessages,
|
|
524
554
|
"@opencode/ai/providers/minimax/messages": minimaxMessages,
|
|
525
555
|
"@opencode/ai/providers/moonshot/messages": moonshotMessages,
|
|
526
556
|
"@opencode/ai/providers/zai-coding-plan/messages": zaiMessages,
|
|
527
557
|
"@opencode/ai/providers/google": gemini,
|
|
528
558
|
"@opencode/ai/providers/google-vertex": gemini,
|
|
559
|
+
"@opencode/ai/providers/google-vertex/gemini": gemini,
|
|
560
|
+
"@opencode/ai/providers/google/interactions": googleInteractions,
|
|
561
|
+
"@opencode/ai/providers/google-vertex/interactions": googleInteractions,
|
|
562
|
+
"@opencode/ai/providers/google-vertex-interactions": googleInteractions,
|
|
529
563
|
"@opencode/ai/providers/amazon-bedrock": bedrockConverse,
|
|
530
564
|
"@opencode/ai/providers/cohere": cohere,
|
|
531
565
|
"@opencode/ai/providers/openrouter": openrouter,
|
|
532
566
|
[aisdk2("venice-ai-sdk-provider")]: veniceChat,
|
|
533
567
|
"@opencode/ai/providers/cloudflare-ai-gateway": cloudflareAIGateway,
|
|
534
568
|
"@opencode/ai/providers/vercel-ai-gateway": vercelGateway,
|
|
569
|
+
"@opencode/ai/providers/vercel-ai-gateway/chat": vercelChat,
|
|
570
|
+
"@opencode/ai/providers/vercel-ai-gateway/messages": vercelMessages,
|
|
571
|
+
"@opencode/ai/providers/vercel-ai-gateway/responses": vercelResponses,
|
|
535
572
|
[aisdk2("@ai-sdk/gateway")]: vercelGateway,
|
|
536
573
|
[aisdk2("@jerome-benoit/sap-ai-provider-v2")]: sapAICore,
|
|
537
574
|
[aisdk2("gitlab-ai-provider")]: gitlab
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID16
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-7g29pkaf.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info11
|
|
9
|
+
} from "./formatter-hcv80w8f.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-th3em6jy.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service62
|
|
16
|
+
} from "./formatter-crrxh0px.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-8m6m0r52.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./formatter-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin2
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin2 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service62;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin2, exports_agent };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-rj3eygr5.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./formatter-whhqcvh8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node66
|
|
7
|
+
} from "./formatter-f0bxardp.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service2,
|
|
10
|
+
node3
|
|
11
|
+
} from "./formatter-q45ag0p8.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service85
|
|
14
|
+
} from "./formatter-dwf3tdgd.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service32
|
|
17
|
+
} from "./formatter-9sh4wc5j.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
node23,
|
|
20
|
+
ID3
|
|
21
|
+
} from "./formatter-gs412db5.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service4,
|
|
24
|
+
node5
|
|
25
|
+
} from "./formatter-p37cw4rj.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-rz47h1na.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make3,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-g33e3t29.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
+
Service5,
|
|
38
|
+
node6
|
|
39
|
+
} from "./formatter-aqbj56nq.js";
|
|
40
|
+
import {
|
|
37
41
|
Service3,
|
|
38
42
|
node4
|
|
39
|
-
} from "./
|
|
40
|
-
import {
|
|
41
|
-
Service4,
|
|
42
|
-
node5
|
|
43
|
-
} from "./state-6hjx5zpb.js";
|
|
43
|
+
} from "./formatter-ajdjch6h.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./formatter-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
50
50
|
__export(exports_supervisor, {
|
|
51
51
|
PluginSupervisor: () => exports_supervisor,
|
|
52
52
|
layer: () => layer3,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node2
|
|
54
54
|
});
|
|
55
55
|
import { Event } from "@opencode/schema/config";
|
|
56
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
127
127
|
failures: [
|
|
128
128
|
...failures.values(),
|
|
129
129
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
130
|
-
id:
|
|
130
|
+
id: ID3.make(plugin.id),
|
|
131
131
|
source: plugin.source ?? { type: "builtin" },
|
|
132
132
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
133
133
|
features: { server: true, ...plugin.features }
|
|
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
139
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
146
|
-
const bus = yield*
|
|
147
|
-
const updates = yield*
|
|
140
|
+
const managed = yield* Service85;
|
|
141
|
+
const registry = yield* Service32;
|
|
142
|
+
const sdk = yield* Service5;
|
|
143
|
+
const instance = yield* Service4;
|
|
144
|
+
const sources = yield* Service2;
|
|
145
|
+
const modules = yield* make3();
|
|
146
|
+
const bus = yield* Service82;
|
|
147
|
+
const updates = yield* Service3;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -220,14 +220,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
224
|
-
node4,
|
|
223
|
+
node23,
|
|
225
224
|
node6,
|
|
226
|
-
node9,
|
|
227
225
|
node5,
|
|
228
|
-
|
|
226
|
+
node3,
|
|
227
|
+
node4,
|
|
228
|
+
node85,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node66,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -235,6 +235,6 @@ function pluginSource(target) {
|
|
|
235
235
|
return { type: "local", path: target };
|
|
236
236
|
return { type: "package", target };
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
239
239
|
|
|
240
|
-
export { layer3,
|
|
240
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-wc72y96k.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node82
|
|
10
|
+
} from "./formatter-twkrdnw7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service73,
|
|
13
|
+
node76
|
|
14
|
+
} from "./formatter-b0f1bdm2.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service16,
|
|
26
|
+
node: () => node18,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service16 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service79;
|
|
55
|
+
const permission = yield* Service73;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service16.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node18 = makeLocationNode({ service: Service16, layer, deps: [FSUtil.node, node82, node76] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service16, resolvePath2, node18, exports_file_access };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-02nrjc1r.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-c1fqxshp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node86
|
|
4
|
+
} from "./formatter-wsvg2szn.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ID: () => ID14,
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
17
|
+
Info: () => Info24,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service75,
|
|
21
|
+
node: () => node78
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,8 +26,8 @@ import { Project } from "@opencode/schema/project";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID14 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var Info24 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service75 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service83).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service75.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node78 = makeGlobalNode({ service: Service75, layer, deps: [node86] });
|
|
72
72
|
|
|
73
|
-
export { ID14,
|
|
73
|
+
export { ID14, Info24, ListInput5, AddInput2, Service75, node78, exports_saved };
|