@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,83 +1,83 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node86
|
|
4
|
+
} from "./formatter-wsvg2szn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node85
|
|
8
|
+
} from "./formatter-whhqcvh8.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
ID16,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service76,
|
|
15
|
+
node79
|
|
16
|
+
} from "./formatter-7g29pkaf.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-775gj3j1.js";
|
|
20
20
|
import {
|
|
21
21
|
Service64,
|
|
22
22
|
node67
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-v3ttaphs.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./formatter-f29mbr7f.js";
|
|
36
36
|
import {
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./formatter-0nfx68vs.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./formatter-q5e7cmwt.js";
|
|
42
42
|
import {
|
|
43
43
|
outputLimit2,
|
|
44
44
|
baseTranscript2,
|
|
45
45
|
unsupportedParts2,
|
|
46
46
|
boundImages2,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service30,
|
|
48
|
+
node34
|
|
49
|
+
} from "./formatter-fg1z6pp1.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service41,
|
|
52
|
+
node43
|
|
53
|
+
} from "./formatter-qvwq1zvz.js";
|
|
54
54
|
import {
|
|
55
55
|
isRetryable2,
|
|
56
56
|
policy2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./formatter-scgrse2b.js";
|
|
58
58
|
import {
|
|
59
59
|
toSessionError2,
|
|
60
60
|
contentFilterError2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./formatter-akvc5q3a.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./formatter-tdstcens.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./formatter-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
73
73
|
__export(exports_compaction2, {
|
|
74
|
-
Service: () =>
|
|
74
|
+
Service: () => Service6,
|
|
75
75
|
SessionCompaction: () => exports_compaction2,
|
|
76
76
|
buildPrompt: () => buildPrompt2,
|
|
77
77
|
estimateContext: () => estimateContext2,
|
|
78
78
|
estimatePrompt: () => estimatePrompt2,
|
|
79
|
-
layer: () =>
|
|
80
|
-
node: () =>
|
|
79
|
+
layer: () => layer7,
|
|
80
|
+
node: () => node8,
|
|
81
81
|
recentUserMessages: () => recentUserMessages2
|
|
82
82
|
});
|
|
83
83
|
import {
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "@opencode/ai";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
95
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
96
|
-
class
|
|
96
|
+
class Service6 extends Context.Service()("@opencode/SessionCompaction") {
|
|
97
97
|
}
|
|
98
98
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
99
99
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -172,14 +172,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
172
172
|
};
|
|
173
173
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
174
174
|
var LEGACY_HEADING = "## Additional Context";
|
|
175
|
-
var
|
|
176
|
-
const agents = yield*
|
|
177
|
-
const bus = yield*
|
|
175
|
+
var layer7 = Layer.effect(Service6, Effect.gen(function* () {
|
|
176
|
+
const agents = yield* Service76;
|
|
177
|
+
const bus = yield* Service82;
|
|
178
178
|
const llm = yield* LLMClient.Service;
|
|
179
179
|
const catalog = yield* Service64;
|
|
180
|
-
const models = yield*
|
|
181
|
-
const db = (yield*
|
|
182
|
-
const requests = yield*
|
|
180
|
+
const models = yield* Service41;
|
|
181
|
+
const db = (yield* Service83).db;
|
|
182
|
+
const requests = yield* Service30;
|
|
183
183
|
const state = create3({
|
|
184
184
|
name: "session-compaction",
|
|
185
185
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -473,16 +473,16 @@ ${text}`;
|
|
|
473
473
|
}, { metadata: outcome.metadata });
|
|
474
474
|
return { status: "completed" };
|
|
475
475
|
});
|
|
476
|
-
return
|
|
476
|
+
return Service6.of({
|
|
477
477
|
transform: state.transform,
|
|
478
478
|
reload: state.reload,
|
|
479
479
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
480
480
|
});
|
|
481
481
|
}));
|
|
482
|
-
var
|
|
483
|
-
service:
|
|
484
|
-
layer:
|
|
485
|
-
deps: [
|
|
482
|
+
var node8 = makeLocationNode({
|
|
483
|
+
service: Service6,
|
|
484
|
+
layer: layer7,
|
|
485
|
+
deps: [node79, node85, node86, llmClient2, node67, node34, node43]
|
|
486
486
|
});
|
|
487
487
|
var previousCompaction = (messages) => {
|
|
488
488
|
const [first] = messages;
|
|
@@ -696,4 +696,4 @@ var estimateMedia = (mime) => {
|
|
|
696
696
|
return 0;
|
|
697
697
|
};
|
|
698
698
|
|
|
699
|
-
export {
|
|
699
|
+
export { Service6, buildPrompt2, layer7, node8, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service59,
|
|
3
|
+
node62
|
|
4
|
+
} from "./formatter-rjerygwq.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-48kw51zw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service41,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node43,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service41 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service59;
|
|
59
|
+
return Service41.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node43 = makeLocationNode({ service: Service41, layer, deps: [node62] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service41, resolved2, node43, exports_model };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin21
|
|
3
|
+
} from "./formatter-tx6qfw4f.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin26
|
|
6
|
+
} from "./formatter-ygtkbg8j.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin23
|
|
9
|
+
} from "./formatter-50gtqem5.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin22
|
|
12
|
+
} from "./formatter-d6h3yzf0.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin20
|
|
15
|
+
} from "./formatter-fqbxrgf0.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin21,
|
|
20
|
+
Plugin26,
|
|
21
|
+
Plugin23,
|
|
22
|
+
Plugin22,
|
|
23
|
+
Plugin20
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service44,
|
|
3
|
+
node46
|
|
4
|
+
} from "./formatter-av61pe84.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service25,
|
|
7
|
+
node28
|
|
8
|
+
} from "./formatter-bc2z15ca.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-6xb47vfp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service8,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node10
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service8 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service25;
|
|
30
|
+
const jobs = yield* Service44;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service8.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node10 = Node.makeGlobalNode({
|
|
68
|
+
service: Service8,
|
|
69
|
+
layer: Layer.effect(Service8, make),
|
|
70
|
+
deps: [node28, node46]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service8, node10, exports_subagent_job };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/affinity.ts
|
|
6
6
|
var exports_affinity = {};
|
|
7
7
|
__export(exports_affinity, {
|
|
8
8
|
SessionAffinity: () => exports_affinity,
|
|
9
|
-
get: () =>
|
|
9
|
+
get: () => get4
|
|
10
10
|
});
|
|
11
|
-
var
|
|
11
|
+
var get4 = (session) => session.parentID ?? session.fork?.sessionID ?? session.id;
|
|
12
12
|
|
|
13
|
-
export {
|
|
13
|
+
export { get4, exports_affinity };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-rj3eygr5.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options7,
|
|
15
|
+
Service: () => Service50,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured7,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node52,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options7 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service50 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve3.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service50.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured7(options) {
|
|
210
|
+
return makeLocationNode({ service: Service50, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node52 = configured7();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options7, Service50, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured7, node52, exports_select };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service66,
|
|
4
|
+
node69
|
|
5
|
+
} from "./formatter-ntvjbsjw.js";
|
|
6
6
|
import {
|
|
7
7
|
ID8,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service65,
|
|
19
|
+
node68
|
|
20
|
+
} from "./formatter-gg15nyhh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service60,
|
|
23
|
+
node63
|
|
24
|
+
} from "./formatter-q5eaxa6y.js";
|
|
25
25
|
import {
|
|
26
26
|
ID7,
|
|
27
27
|
VariantID2,
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
Service64,
|
|
30
30
|
node67,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./formatter-v3ttaphs.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./formatter-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service59,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer22,
|
|
52
|
+
node: () => node62,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service59 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -271,12 +271,12 @@ var causeMessage = (cause) => {
|
|
|
271
271
|
};
|
|
272
272
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
273
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var
|
|
275
|
-
const providers = yield*
|
|
274
|
+
var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
275
|
+
const providers = yield* Service65;
|
|
276
276
|
const models = yield* Service64;
|
|
277
|
-
const integrations = yield*
|
|
277
|
+
const integrations = yield* Service66;
|
|
278
278
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
279
|
+
const aisdk = yield* Service60;
|
|
280
280
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
281
|
const provider = yield* providers.get(selected.providerID);
|
|
282
282
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
|
|
@@ -306,7 +306,7 @@ var layer25 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
306
306
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
|
-
return
|
|
309
|
+
return Service59.of({
|
|
310
310
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
311
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
312
312
|
if (!selected)
|
|
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
323
323
|
const name = packageName2(packageName);
|
|
324
324
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
service:
|
|
328
|
-
layer:
|
|
329
|
-
deps: [
|
|
326
|
+
var node62 = makeLocationNode({
|
|
327
|
+
service: Service59,
|
|
328
|
+
layer: layer22,
|
|
329
|
+
deps: [node68, node67, node69, Npm.node, node63]
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
332
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service59, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node62, exports_model_resolver };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|