@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
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service79
|
|
14
|
+
} from "./formatter-twkrdnw7.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-z3yc4nfw.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin25,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin25 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service79;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin25, exports_git };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./formatter-whhqcvh8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service54,
|
|
17
|
+
node56
|
|
18
|
+
} from "./formatter-tsyk5zzk.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
29
|
Event: () => Event9,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service53,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node55
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
@@ -42,15 +42,15 @@ import { Global } from "@opencode/util/global";
|
|
|
42
42
|
import { Event as Event9 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service53 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service82;
|
|
53
|
+
const cache = yield* Service54;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service53.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node55 = makeLocationNode({
|
|
116
|
+
service: Service53,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node85, node56]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info9, Service53, node55, exports_reference2, Event9 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./formatter-whhqcvh8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./formatter-twkrdnw7.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
9
|
Service36
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-b72rtwfy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin30
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin30 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
199
|
+
const location = yield* Service79;
|
|
200
200
|
const mcp = yield* Service36;
|
|
201
|
-
const bus = yield*
|
|
201
|
+
const bus = yield* Service82;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin30, exports_command2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./formatter-twkrdnw7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./formatter-crrxh0px.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-kvesanzg.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin14
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin14 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service62;
|
|
35
|
+
const location = yield* Service79;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin14, exports_reference };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./formatter-crrxh0px.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service85,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-dwf3tdgd.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin6
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin6 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service62;
|
|
34
|
+
const managed = yield* Service85;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -69,4 +69,4 @@ var Plugin34 = define({
|
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Plugin6, exports_policy };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./formatter-crrxh0px.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service6
|
|
6
|
+
} from "./formatter-qvcdsk4b.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin5
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin5 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service62;
|
|
26
|
+
const compaction = yield* Service6;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin31 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin5, exports_compaction };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service11,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service11.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service11, node13, exports_discovery };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./formatter-gg15nyhh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./formatter-crrxh0px.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service65;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service62);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./formatter-whhqcvh8.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service67,
|
|
9
|
+
node70
|
|
10
|
+
} from "./formatter-je4aj9kh.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-gqtdsdt7.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-pxs52935.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event14,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
40
|
ID: () => ID9,
|
|
41
41
|
Info: () => Info18,
|
|
@@ -45,8 +45,8 @@ __export(exports_integration, {
|
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service66,
|
|
49
|
+
node: () => node69
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
71
|
+
import { Event as Event14 } from "@opencode/schema/integration";
|
|
72
72
|
var ID9 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -107,14 +107,14 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service66 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service67;
|
|
117
|
+
const bus = yield* Service82;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service66.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node69 = makeLocationNode({
|
|
633
|
+
service: Service66,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node70, node85, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info18, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3,
|
|
638
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info18, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service66, node69, exports_integration, Event14 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ID16,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-7g29pkaf.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent2 = {};
|
|
12
|
+
__export(exports_agent2, {
|
|
13
|
+
AgentPlugin: () => exports_agent2,
|
|
14
|
+
Plugin: () => Plugin31
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -81,7 +81,7 @@ Rules:
|
|
|
81
81
|
- Never ask questions or add new questions
|
|
82
82
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
83
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
84
|
+
var Plugin31 = define({
|
|
85
85
|
id: "opencode.agent",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
87
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -127,4 +127,4 @@ var Plugin15 = define({
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { Plugin31, exports_agent2 };
|