@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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service84,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node88
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service84 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service84.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node88 = makeLocationNode({
|
|
137
|
+
service: Service84,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service84, node88, exports_tool_output2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./formatter-pxs52935.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./formatter-b0f1bdm2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service68;
|
|
57
|
+
const permission = yield* Service73;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export { name13, description6,
|
|
120
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-a346vg2z.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-f26e9619.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
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
|
+
Service16
|
|
9
|
+
} from "./formatter-c2gyfhkp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./formatter-es3cq489.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service10
|
|
27
|
+
} from "./formatter-fmzzfcx7.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
|
+
Plugin: () => Plugin36,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name2,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name2 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input2 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin36 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service10;
|
|
62
|
+
const access = yield* Service16;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name2,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input2,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin42 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent2 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name2, Input2, Plugin36, toModelContent2, exports_read };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./formatter-whhqcvh8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
Event17
|
|
7
|
+
} from "./formatter-y8ay14br.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin49,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin49 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service82;
|
|
24
|
+
const wellknown = yield* Service70;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin2 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin49, exports_plugin };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make19,
|
|
14
|
+
node: () => node60,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make19 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node60 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node60, exports_driver };
|
|
@@ -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
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-wc72y96k.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node82
|
|
16
|
+
} from "./formatter-twkrdnw7.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info5,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service24,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node27
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service24 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service79;
|
|
62
|
+
const bus = yield* Service82;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service24.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node27 = makeLocationNode({
|
|
191
|
+
service: Service24,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node82, node85]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service24, node27, exports_vcs };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
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/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info15,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info15 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info9 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info15, exports_provider2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service77,
|
|
10
|
+
node: () => node80
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service77 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service77.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node80 = makeLocationNode({ service: Service77, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service77, node80, exports_hooks };
|